PageSourceSearch

https://www.tropipay.com/assets/vendor-Ch-OQvtK.js

js tropipay.com collected 2026-10-03 19:12:36 UTC 3,762,542 bytes, 848 lines download raw bytes

vendor: 6,208 bytes, lines 1-6
1var Ng=Object.defineProperty;var gm=Yi=>{throw TypeError(Yi)};var Ug=(Yi,eo,to)=>eo in Yi?Ng(Yi,eo,{enumerable:!0,configurable:!0,writable:!0,value:to}):Yi[eo]=to;var As=(Yi,eo,to)=>Ug(Yi,typeof eo!="symbol"?eo+"":eo,to),jg=(Yi,eo,to)=>eo.has(Yi)||gm("Cannot "+to);var Bs=(Yi,eo,to)=>(jg(Yi,eo,"read from private field"),to?to.call(Yi):eo.get(Yi)),rf=(Yi,eo,to)=>eo.has(Yi)?gm("Cannot add the same private member more than once"):eo instanceof WeakSet?eo.add(Yi):eo.set(Yi,to);(function(){try{var Yi=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};Yi.SENTRY_RELEASE={id:"v0.1263"};var eo=new Yi.Error().stack;eo&&(Yi._sentryDebugIds=Yi._sentryDebugIds||{},Yi._sentryDebugIds[eo]="8656c6c9-fe7b-4073-9156-644a5e2deb2c",Yi._sentryDebugIdIdentifier="sentry-dbid-8656c6c9-fe7b-4073-9156-644a5e2deb2c")}catch{}})();function _mergeNamespaces(Yi,eo){for(var to=0;to<eo.length;to++){const ro=eo[to];if(typeof ro!="string"&&!Array.isArray(ro)){for(const no in ro)if(no!=="default"&&!(no in Yi)){const io=Object.getOwnPropertyDescriptor(ro,no);io&&Object.defineProperty(Yi,no,io.get?io:{enumerable:!0,get:()=>ro[no]})}}}return Object.freeze(Object.defineProperty(Yi,Symbol.toStringTag,{value:"Module"}))}var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(Yi){return Yi&&Yi.__esModule&&Object.prototype.hasOwnProperty.call(Yi,"default")?Yi.default:Yi}function getAugmentedNamespace(Yi){if(Yi.__esModule)return Yi;var eo=Yi.default;if(typeof eo=="function"){var to=function ro(){return this instanceof ro?Reflect.construct(eo,arguments,this.constructor):eo.apply(this,arguments)};to.prototype=eo.prototype}else to={};return Object.defineProperty(to,"__esModule",{value:!0}),Object.keys(Yi).forEach(function(ro){var no=Object.getOwnPropertyDescriptor(Yi,ro);Object.defineProperty(to,ro,no.get?no:{enumerable:!0,get:function(){return Yi[ro]}})}),to}var buffer={},base64Js={};base64Js.byteLength=byteLength;base64Js.toByteArray=toByteArray;base64Js.fromByteArray=fromByteArray;var lookup$5=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var i$8=0,len=code.length;i$8<len;++i$8)lookup$5[i$8]=code[i$8],revLookup[code.charCodeAt(i$8)]=i$8;revLookup[45]=62;revLookup[95]=63;function getLens(Yi){var eo=Yi.length;if(eo%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var to=Yi.indexOf("=");to===-1&&(to=eo);var ro=to===eo?0:4-to%4;return[to,ro]}function byteLength(Yi){var eo=getLens(Yi),to=eo[0],ro=eo[1];return(to+ro)*3/4-ro}function _byteLength(Yi,eo,to){return(eo+to)*3/4-to}function toByteArray(Yi){var eo,to=getLens(Yi),ro=to[0],no=to[1],io=new Arr(_byteLength(Yi,ro,no)),oo=0,ao=no>0?ro-4:ro,so;for(so=0;so<ao;so+=4)eo=revLookup[Yi.charCodeAt(so)]<<18|revLookup[Yi.charCodeAt(so+1)]<<12|revLookup[Yi.charCodeAt(so+2)]<<6|revLookup[Yi.charCodeAt(so+3)],io[oo++]=eo>>16&255,io[oo++]=eo>>8&255,io[oo++]=eo&255;return no===2&&(eo=revLookup[Yi.charCodeAt(so)]<<2|revLookup[Yi.charCodeAt(so+1)]>>4,io[oo++]=eo&255),no===1&&(eo=revLookup[Yi.charCodeAt(so)]<<10|revLookup[Yi.charCodeAt(so+1)]<<4|revLookup[Yi.charCodeAt(so+2)]>>2,io[oo++]=eo>>8&255,io[oo++]=eo&255),io}function tripletToBase64(Yi){return lookup$5[Yi>>18&63]+lookup$5[Yi>>12&63]+lookup$5[Yi>>6&63]+lookup$5[Yi&63]}function encodeChunk(Yi,eo,to){for(var ro,no=[],io=eo;io<to;io+=3)ro=(Yi[io]<<16&16711680)+(Yi[io+1]<<8&65280)+(Yi[io+2]&255),no.push(tripletToBase64(ro));return no.join("")}function fromByteArray(Yi){for(var eo,to=Yi.length,ro=to%3,no=[],io=16383,oo=0,ao=to-ro;oo<ao;oo+=io)no.push(encodeChunk(Yi,oo,oo+io>ao?ao:oo+io));return ro===1?(eo=Yi[to-1],no.push(lookup$5[eo>>2]+lookup$5[eo<<4&63]+"==")):ro===2&&(eo=(Yi[to-2]<<8)+Yi[to-1],no.push(lookup$5[eo>>10]+lookup$5[eo>>4&63]+lookup$5[eo<<2&63]+"=")),no.join("")}var ieee754={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ieee754.read=function(Yi,eo,to,ro,no){var io,oo,ao=no*8-ro-1,so=(1<<ao)-1,lo=so>>1,co=-7,uo=to?no-1:0,fo=to?-1:1,ho=Yi[eo+uo];for(uo+=fo,io=ho&(1<<-co)-1,ho>>=-co,co+=ao;co>0;io=io*256+Yi[eo+uo],uo+=fo,co-=8);for(oo=io&(1<<-co)-1,io>>=-co,co+=ro;co>0;oo=oo*256+Yi[eo+uo],uo+=fo,co-=8);if(io===0)io=1-lo;else{if(io===so)return oo?NaN:(ho?-1:1)*(1/0);oo=oo+Math.pow(2,ro),io=io-lo}return(ho?-1:1)*oo*Math.pow(2,io-ro)};ieee754.write=function(Yi,eo,to,ro,no,io){var oo,ao,so,lo=io*8-no-1,co=(1<<lo)-1,uo=co>>1,fo=no===23?Math.pow(2,-24)-Math.pow(2,-77):0,ho=ro?0:io-1,mo=ro?1:-1,vo=eo<0||eo===0&&1/eo<0?1:0;for(eo=Math.abs(eo),isNaN(eo)||eo===1/0?(ao=isNaN(eo)?1:0,oo=co):(oo=Math.floor(Math.log(eo)/Math.LN2),eo*(so=Math.pow(2,-oo))<1&&(oo--,so*=2),oo+uo>=1?eo+=fo/so:eo+=fo*Math.pow(2,1-uo),eo*so>=2&&(oo++,so/=2),oo+uo>=co?(ao=0,oo=co):oo+uo>=1?(ao=(eo*so-1)*Math.pow(2,no),oo=oo+uo):(ao=eo*Math.pow(2,uo-1)*Math.pow(2,no),oo=0));no>=8;Yi[to+ho]=ao&255,ho+=mo,ao/=256,no-=8);for(oo=oo<<no|ao,lo+=no;lo>0;Yi[to+ho]=oo&255,ho+=mo,oo/=256,lo-=8);Yi[to+ho-mo]|=vo*128};/*!
2 * The buffer module from node.js, for the browser.
3 *
4 * @author   Feross Aboukhadijeh <https://feross.org>
5 * @license  MIT
6 */(function(Yi){const eo=base64Js,to=ieee754,ro=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Yi.Buffer=ao,Yi.SlowBuffer=wo,Yi.INSPECT_MAX_BYTES=50;const no=2147483647;Yi.kMaxLength=no,ao.TYPED_ARRAY_SUPPORT=io(),!ao.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&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.");function io(){try{const ia=new Uint8Array(1),Ko={foo:function(){return 42}};return Object.setPrototypeOf(Ko,Uint8Array.prototype),Object.setPrototypeOf(ia,Ko),ia.foo()===42}catch{return!1}}Object.defineProperty(ao.prototype,"parent",{enumerable:!0,get:function(){if(ao.isBuffer(this))return this.buffer}}),Object.defineProperty(ao.prototype,"offset",{enumerable:!0,get:function(){if(ao.isBuffer(this))return this.byteOffset}});function oo(ia){if(ia>
vendor: 19,331 bytes, line 6
6no)throw new RangeError('The value "'+ia+'" is invalid for option "size"');const Ko=new Uint8Array(ia);return Object.setPrototypeOf(Ko,ao.prototype),Ko}function ao(ia,Ko,Yo){if(typeof ia=="number"){if(typeof Ko=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return uo(ia)}return so(ia,Ko,Yo)}ao.poolSize=8192;function so(ia,Ko,Yo){if(typeof ia=="string")return fo(ia,Ko);if(ArrayBuffer.isView(ia))return mo(ia);if(ia==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ia);if(Ta(ia,ArrayBuffer)||ia&&Ta(ia.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ta(ia,SharedArrayBuffer)||ia&&Ta(ia.buffer,SharedArrayBuffer)))return vo(ia,Ko,Yo);if(typeof ia=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const ma=ia.valueOf&&ia.valueOf();if(ma!=null&&ma!==ia)return ao.from(ma,Ko,Yo);const ga=Co(ia);if(ga)return ga;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ia[Symbol.toPrimitive]=="function")return ao.from(ia[Symbol.toPrimitive]("string"),Ko,Yo);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ia)}ao.from=function(ia,Ko,Yo){return so(ia,Ko,Yo)},Object.setPrototypeOf(ao.prototype,Uint8Array.prototype),Object.setPrototypeOf(ao,Uint8Array);function lo(ia){if(typeof ia!="number")throw new TypeError('"size" argument must be of type number');if(ia<0)throw new RangeError('The value "'+ia+'" is invalid for option "size"')}function co(ia,Ko,Yo){return lo(ia),ia<=0?oo(ia):Ko!==void 0?typeof Yo=="string"?oo(ia).fill(Ko,Yo):oo(ia).fill(Ko):oo(ia)}ao.alloc=function(ia,Ko,Yo){return co(ia,Ko,Yo)};function uo(ia){return lo(ia),oo(ia<0?0:bo(ia)|0)}ao.allocUnsafe=function(ia){return uo(ia)},ao.allocUnsafeSlow=function(ia){return uo(ia)};function fo(ia,Ko){if((typeof Ko!="string"||Ko==="")&&(Ko="utf8"),!ao.isEncoding(Ko))throw new TypeError("Unknown encoding: "+Ko);const Yo=yo(ia,Ko)|0;let ma=oo(Yo);const ga=ma.write(ia,Ko);return ga!==Yo&&(ma=ma.slice(0,ga)),ma}function ho(ia){const Ko=ia.length<0?0:bo(ia.length)|0,Yo=oo(Ko);for(let ma=0;ma<Ko;ma+=1)Yo[ma]=ia[ma]&255;return Yo}function mo(ia){if(Ta(ia,Uint8Array)){const Ko=new Uint8Array(ia);return vo(Ko.buffer,Ko.byteOffset,Ko.byteLength)}return ho(ia)}function vo(ia,Ko,Yo){if(Ko<0||ia.byteLength<Ko)throw new RangeError('"offset" is outside of buffer bounds');if(ia.byteLength<Ko+(Yo||0))throw new RangeError('"length" is outside of buffer bounds');let ma;return Ko===void 0&&Yo===void 0?ma=new Uint8Array(ia):Yo===void 0?ma=new Uint8Array(ia,Ko):ma=new Uint8Array(ia,Ko,Yo),Object.setPrototypeOf(ma,ao.prototype),ma}function Co(ia){if(ao.isBuffer(ia)){const Ko=bo(ia.length)|0,Yo=oo(Ko);return Yo.length===0||ia.copy(Yo,0,0,Ko),Yo}if(ia.length!==void 0)return typeof ia.length!="number"||va(ia.length)?oo(0):ho(ia);if(ia.type==="Buffer"&&Array.isArray(ia.data))return ho(ia.data)}function bo(ia){if(ia>=no)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+no.toString(16)+" bytes");return ia|0}function wo(ia){return+ia!=ia&&(ia=0),ao.alloc(+ia)}ao.isBuffer=function(Ko){return Ko!=null&&Ko._isBuffer===!0&&Ko!==ao.prototype},ao.compare=function(Ko,Yo){if(Ta(Ko,Uint8Array)&&(Ko=ao.from(Ko,Ko.offset,Ko.byteLength)),Ta(Yo,Uint8Array)&&(Yo=ao.from(Yo,Yo.offset,Yo.byteLength)),!ao.isBuffer(Ko)||!ao.isBuffer(Yo))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Ko===Yo)return 0;let ma=Ko.length,ga=Yo.length;for(let Fa=0,ja=Math.min(ma,ga);Fa<ja;++Fa)if(Ko[Fa]!==Yo[Fa]){ma=Ko[Fa],ga=Yo[Fa];break}return ma<ga?-1:ga<ma?1:0},ao.isEncoding=function(Ko){switch(String(Ko).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}},ao.concat=function(Ko,Yo){if(!Array.isArray(Ko))throw new TypeError('"list" argument must be an Array of Buffers');if(Ko.length===0)return ao.alloc(0);let ma;if(Yo===void 0)for(Yo=0,ma=0;ma<Ko.length;++ma)Yo+=Ko[ma].length;const ga=ao.allocUnsafe(Yo);let Fa=0;for(ma=0;ma<Ko.length;++ma){let ja=Ko[ma];if(Ta(ja,Uint8Array))Fa+ja.length>ga.length?(ao.isBuffer(ja)||(ja=ao.from(ja)),ja.copy(ga,Fa)):Uint8Array.prototype.set.call(ga,ja,Fa);else if(ao.isBuffer(ja))ja.copy(ga,Fa);else throw new TypeError('"list" argument must be an Array of Buffers');Fa+=ja.length}return ga};function yo(ia,Ko){if(ao.isBuffer(ia))return ia.length;if(ArrayBuffer.isView(ia)||Ta(ia,ArrayBuffer))return ia.byteLength;if(typeof ia!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof ia);const Yo=ia.length,ma=arguments.length>2&&arguments[2]===!0;if(!ma&&Yo===0)return 0;let ga=!1;for(;;)switch(Ko){case"ascii":case"latin1":case"binary":return Yo;case"utf8":case"utf-8":return Pa(ia).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Yo*2;case"hex":return Yo>>>1;case"base64":return Sa(ia).length;default:if(ga)return ma?-1:Pa(ia).length;Ko=(""+Ko).toLowerCase(),ga=!0}}ao.byteLength=yo;function Eo(ia,Ko,Yo){let ma=!1;if((Ko===void 0||Ko<0)&&(Ko=0),Ko>this.length||((Yo===void 0||Yo>this.length)&&(Yo=this.length),Yo<=0)||(Yo>>>=0,Ko>>>=0,Yo<=Ko))return"";for(ia||(ia="utf8");;)switch(ia){case"hex":return Fo(this,Ko,Yo);case"utf8":case"utf-8":return Uo(this,Ko,Yo);case"ascii":return ko(this,Ko,Yo);case"latin1":case"binary":return Bo(this,Ko,Yo);case"base64":return Lo(this,Ko,Yo);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Qo(this,Ko,Yo);default:if(ma)throw new TypeError("Unknown encoding: "+ia);ia=(ia+"").toLowerCase(),ma=!0}}ao.prototype._isBuffer=!0;function xo(ia,Ko,Yo){const ma=ia[Ko];ia[Ko]=ia[Yo],ia[Yo]=ma}ao.prototype.swap16=function(){const Ko=this.length;if(Ko%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let Yo=0;Yo<Ko;Yo+=2)xo(this,Yo,Yo+1);return this},ao.prototype.swap32=function(){const Ko=this.length;if(Ko%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let Yo=0;Yo<Ko;Yo+=4)xo(this,Yo,Yo+3),xo(this,Yo+1,Yo+2);return this},ao.prototype.swap64=function(){const Ko=this.length;if(Ko%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let Yo=0;Yo<Ko;Yo+=8)xo(this,Yo,Yo+7),xo(this,Yo+1,Yo+6),xo(this,Yo+2,Yo+5),xo(this,Yo+3,Yo+4);return this},ao.prototype.toString=function(){const Ko=this.length;return Ko===0?"":arguments.length===0?Uo(this,0,Ko):Eo.apply(this,arguments)},ao.prototype.toLocaleString=ao.prototype.toString,ao.prototype.equals=function(Ko){if(!ao.isBuffer(Ko))throw new TypeError("Argument must be a Buffer");return this===Ko?!0:ao.compare(this,Ko)===0},ao.prototype.inspect=function(){let Ko="";const Yo=Yi.INSPECT_MAX_BYTES;return Ko=this.toString("hex",0,Yo).replace(/(.{2})/g,"$1 ").trim(),this.length>Yo&&(Ko+=" ... "),"<Buffer "+Ko+">"},ro&&(ao.prototype[ro]=ao.prototype.inspect),ao.prototype.compare=function(Ko,Yo,ma,ga,Fa){if(Ta(Ko,Uint8Array)&&(Ko=ao.from(Ko,Ko.offset,Ko.byteLength)),!ao.isBuffer(Ko))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Ko);if(Yo===void 0&&(Yo=0),ma===void 0&&(ma=Ko?Ko.length:0),ga===void 0&&(ga=0),Fa===void 0&&(Fa=this.length),Yo<0||ma>Ko.length||ga<0||Fa>this.length)throw new RangeError("out of range index");if(ga>=Fa&&Yo>=ma)return 0;if(ga>=Fa)return-1;if(Yo>=ma)return 1;if(Yo>>>=0,ma>>>=0,ga>>>=0,Fa>>>=0,this===Ko)return 0;let ja=Fa-ga,Ga=ma-Yo;const Va=Math.min(ja,Ga),qa=this.slice(ga,Fa),us=Ko.slice(Yo,ma);for(let as=0;as<Va;++as)if(qa[as]!==us[as]){ja=qa[as],Ga=us[as];break}return ja<Ga?-1:Ga<ja?1:0};function So(ia,Ko,Yo,ma,ga){if(ia.length===0)return-1;if(typeof Yo=="string"?(ma=Yo,Yo=0):Yo>2147483647?Yo=2147483647:Yo<-2147483648&&(Yo=-2147483648),Yo=+Yo,va(Yo)&&(Yo=ga?0:ia.length-1),Yo<0&&(Yo=ia.length+Yo),Yo>=ia.length){if(ga)return-1;Yo=ia.length-1}else if(Yo<0)if(ga)Yo=0;else return-1;if(typeof Ko=="string"&&(Ko=ao.from(Ko,ma)),ao.isBuffer(Ko))return Ko.length===0?-1:To(ia,Ko,Yo,ma,ga);if(typeof Ko=="number")return Ko=Ko&255,typeof Uint8Array.prototype.indexOf=="function"?ga?Uint8Array.prototype.indexOf.call(ia,Ko,Yo):Uint8Array.prototype.lastIndexOf.call(ia,Ko,Yo):To(ia,[Ko],Yo,ma,ga);throw new TypeError("val must be string, number or Buffer")}function To(ia,Ko,Yo,ma,ga){let Fa=1,ja=ia.length,Ga=Ko.length;if(ma!==void 0&&(ma=String(ma).toLowerCase(),ma==="ucs2"||ma==="ucs-2"||ma==="utf16le"||ma==="utf-16le")){if(ia.length<2||Ko.length<2)return-1;Fa=2,ja/=2,Ga/=2,Yo/=2}function Va(us,as){return Fa===1?us[as]:us.readUInt16BE(as*Fa)}let qa;if(ga){let us=-1;for(qa=Yo;qa<ja;qa++)if(Va(ia,qa)===Va(Ko,us===-1?0:qa-us)){if(us===-1&&(us=qa),qa-us+1===Ga)return us*Fa}else us!==-1&&(qa-=qa-us),us=-1}else for(Yo+Ga>ja&&(Yo=ja-Ga),qa=Yo;qa>=0;qa--){let us=!0;for(let as=0;as<Ga;as++)if(Va(ia,qa+as)!==Va(Ko,as)){us=!1;break}if(us)return qa}return-1}ao.prototype.includes=function(Ko,Yo,ma){return this.indexOf(Ko,Yo,ma)!==-1},ao.prototype.indexOf=function(Ko,Yo,ma){return So(this,Ko,Yo,ma,!0)},ao.prototype.lastIndexOf=function(Ko,Yo,ma){return So(this,Ko,Yo,ma,!1)};function Ro(ia,Ko,Yo,ma){Yo=Number(Yo)||0;const ga=ia.length-Yo;ma?(ma=Number(ma),ma>ga&&(ma=ga)):ma=ga;const Fa=Ko.length;ma>Fa/2&&(ma=Fa/2);let ja;for(ja=0;ja<ma;++ja){const Ga=parseInt(Ko.substr(ja*2,2),16);if(va(Ga))return ja;ia[Yo+ja]=Ga}return ja}function Po(ia,Ko,Yo,ma){return Ia(Pa(Ko,ia.length-Yo),ia,Yo,ma)}function zo(ia,Ko,Yo,ma){return Ia(aa(Ko),ia,Yo,ma)}function Ho(ia,Ko,Yo,ma){return Ia(Sa(Ko),ia,Yo,ma)}function Vo(ia,Ko,Yo,ma){return Ia(Ca(Ko,ia.length-Yo),ia,Yo,ma)}ao.prototype.write=function(Ko,Yo,ma,ga){if(Yo===void 0)ga="utf8",ma=this.length,Yo=0;else if(ma===void 0&&typeof Yo=="string")ga=Yo,ma=this.length,Yo=0;else if(isFinite(Yo))Yo=Yo>>>0,isFinite(ma)?(ma=ma>>>0,ga===void 0&&(ga="utf8")):(ga=ma,ma=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Fa=this.length-Yo;if((ma===void 0||ma>Fa)&&(ma=Fa),Ko.length>0&&(ma<0||Yo<0)||Yo>this.length)throw new RangeError("Attempt to write outside buffer bounds");ga||(ga="utf8");let ja=!1;for(;;)switch(ga){case"hex":return Ro(this,Ko,Yo,ma);case"utf8":case"utf-8":return Po(this,Ko,Yo,ma);case"ascii":case"latin1":case"binary":return zo(this,Ko,Yo,ma);case"base64":return Ho(this,Ko,Yo,ma);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Vo(this,Ko,Yo,ma);default:if(ja)throw new TypeError("Unknown encoding: "+ga);ga=(""+ga).toLowerCase(),ja=!0}},ao.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Lo(ia,Ko,Yo){return Ko===0&&Yo===ia.length?eo.fromByteArray(ia):eo.fromByteArray(ia.slice(Ko,Yo))}function Uo(ia,Ko,Yo){Yo=Math.min(ia.length,Yo);const ma=[];let ga=Ko;for(;ga<Yo;){const Fa=ia[ga];let ja=null,Ga=Fa>239?4:Fa>223?3:Fa>191?2:1;if(ga+Ga<=Yo){let Va,qa,us,as;switch(Ga){case 1:Fa<128&&(ja=Fa);break;case 2:Va=ia[ga+1],(Va&192)===128&&(as=(Fa&31)<<6|Va&63,as>127&&(ja=as));break;case 3:Va=ia[ga+1],qa=ia[ga+2],(Va&192)===128&&(qa&192)===128&&(as=(Fa&15)<<12|(Va&63)<<6|qa&63,as>2047&&(as<55296||as>57343)&&(ja=as));break;case 4:Va=ia[ga+1],qa=ia[ga+2],us=ia[ga+3],(Va&192)===128&&(qa&192)===128&&(us&192)===128&&(as=(Fa&15)<<18|(Va&63)<<12|(qa&63)<<6|us&63,as>65535&&as<1114112&&(ja=as))}}ja===null?(ja=65533,Ga=1):ja>65535&&(ja-=65536,ma.push(ja>>>10&1023|55296),ja=56320|ja&1023),ma.push(ja),ga+=Ga}return Oo(ma)}const Do=4096;function Oo(ia){const Ko=ia.length;if(Ko<=Do)return String.fromCharCode.apply(String,ia);let Yo="",ma=0;for(;ma<Ko;)Yo+=String.fromCharCode.apply(String,ia.slice(ma,ma+=Do));return Yo}function ko(ia,Ko,Yo){let ma="";Yo=Math.min(ia.length,Yo);for(let ga=Ko;ga<Yo;++ga)ma+=String.fromCharCode(ia[ga]&127);return ma}function Bo(ia,Ko,Yo){let ma="";Yo=Math.min(ia.length,Yo);for(let ga=Ko;ga<Yo;++ga)ma+=String.fromCharCode(ia[ga]);return ma}function Fo(ia,Ko,Yo){const ma=ia.length;(!Ko||Ko<0)&&(Ko=0),(!Yo||Yo<0||Yo>ma)&&(Yo=ma);let ga="";for(let Fa=Ko;Fa<Yo;++Fa)ga+=xa[ia[Fa]];return ga}function Qo(ia,Ko,Yo){const ma=ia.slice(Ko,Yo);let ga="";for(let Fa=0;Fa<ma.length-1;Fa+=2)ga+=String.fromCharCode(ma[Fa]+ma[Fa+1]*256);return ga}ao.prototype.slice=function(Ko,Yo){const ma=this.length;Ko=~~Ko,Yo=Yo===void 0?ma:~~Yo,Ko<0?(Ko+=ma,Ko<0&&(Ko=0)):Ko>ma&&(Ko=ma),Yo<0?(Yo+=ma,Yo<0&&(Yo=0)):Yo>ma&&(Yo=ma),Yo<Ko&&(Yo=Ko);const ga=this.subarray(Ko,Yo);return Object.setPrototypeOf(ga,ao.prototype),ga};function jo(ia,Ko,Yo){if(ia%1!==0||ia<0)throw new RangeError("offset is not uint");if(ia+Ko>Yo)throw new RangeError("Trying to access beyond buffer length")}ao.prototype.readUintLE=ao.prototype.readUIntLE=function(Ko,Yo,ma){Ko=Ko>>>0,Yo=Yo>>>0,ma||jo(Ko,Yo,this.length);let ga=this[Ko],Fa=1,ja=0;for(;++ja<Yo&&(Fa*=256);)ga+=this[Ko+ja]*Fa;return ga},ao.prototype.readUintBE=ao.prototype.readUIntBE=function(Ko,Yo,ma){Ko=Ko>>>0,Yo=Yo>>>0,ma||jo(Ko,Yo,this.length);let ga=this[Ko+--Yo],Fa=1;for(;Yo>0&&(Fa*=256);)ga+=this[Ko+--Yo]*Fa;return ga},ao.prototype.readUint8=ao.prototype.readUInt8=function(Ko,Yo){return Ko=Ko>>>0,Yo||jo(Ko,1,this.length),this[Ko]},ao.prototype.readUint16LE=ao.prototype.readUInt16LE=function(Ko,Yo){return Ko=Ko>>>0,Yo||jo(Ko,2,this.length),this[Ko]|this[Ko+1]<<8},ao.prototype.readUint16BE=ao.prototype.readUInt16BE=function(Ko,Yo){return Ko=Ko>>>0,Yo||jo(Ko,2,this.length),this[Ko]<<8|this[Ko+1]},ao.prototype.readUint32LE=ao.prototype.readUInt32LE=function(Ko,Yo){return Ko=Ko>>>0,Yo||jo(Ko,4,this.length),(this[Ko]|this[Ko+1]<<8|this[Ko+2]<<16)+this[Ko+3]*16777216},ao.prototype.readUint32BE=ao.prototype.readUInt32BE=function(Ko,Yo){return Ko=Ko>>>0,Yo||jo(Ko,4,this.length),this[Ko]*16777216+(this[Ko+1]<<16|this[Ko+2]<<8|this[Ko+3])},ao.prototype.readBigUInt64LE=Oa(function(Ko){Ko=Ko>>>0,oa(Ko,"offset");const Yo=this[Ko],ma=this[Ko+7];(Yo===void 0||ma===void 0)&&la(Ko,this.length-8);const ga=Yo+this[++Ko]*2**8+this[++Ko]*2**16+this[++Ko]*2**24,Fa=this[++Ko]+this[++Ko]*2**8+this[++Ko]*2**16+ma*2**24;return BigInt(ga)+(BigInt(Fa)<<BigInt(32))}),ao.prototype.readBigUInt64BE=Oa(function(Ko){Ko=Ko>>>0,oa(Ko,"offset");const Yo=this[Ko],ma=this[Ko+7];(Yo===void 0||ma===void 0)&&la(Ko,this.length-8);const ga=Yo*2**24+this[++Ko]*2**16+this[++Ko]*2**8+this[++Ko],Fa=this[++Ko]*2**24+this[++Ko]*2**16+this[++Ko]*2**8+ma;return(BigInt(ga)<<BigInt(32))+BigInt(Fa)}),ao.prototype.readIntLE=function(Ko,Yo,ma){Ko=Ko>>>0,Yo=Yo>>>0,ma||jo(Ko,Yo,this.length);let ga=this[Ko],Fa=1,ja=0;for(;++ja<Yo&&(Fa*=256);)ga+=this[Ko+ja]*Fa;return Fa*=128,ga>=Fa&&(ga-=Math.pow(2,8*Yo)),ga},ao.prototype.readIntBE=function(Ko,Yo,ma){Ko=Ko>>>0,Yo=Yo>>>0,ma||jo(Ko,Yo,this.length);let ga=Yo,Fa=1,ja=this[Ko+--ga];for(;ga>0&&(Fa*=256);)ja+=this[Ko+--ga]*Fa;return Fa*=128,ja>=Fa&&(ja-=Math.pow(2,8*Yo)),ja},ao.prototype.readInt8=function(Ko,Yo){return Ko=Ko>>>0,Yo||jo(Ko,1,this.length),this[Ko]&128?(255-this[Ko]+1)*-1:this[Ko]},ao.prototype.readInt16LE=function(Ko,Yo){Ko=Ko>>>0,Yo||jo(Ko,2,this.length);const ma=this[Ko]|this[Ko+1]<<8;return ma&32768?ma|4294901760:ma},ao.prototype.readInt16BE=function(Ko,Yo){Ko=Ko>>>0,Yo||jo(Ko,2,this.length);const ma=this[Ko+1]|this[Ko]<<8;return ma&32768?ma|4294901760:ma},ao.prototype.readInt32LE=function(Ko,Yo){return Ko=Ko>>>0,Yo||jo(Ko,4,this.length),this[Ko]|this[Ko+1]<<8|this[Ko+2]<<16|this[Ko+3]<<24},ao.prototype.readInt32BE=function(Ko,Yo){return Ko=Ko>>>0,Yo||jo(Ko,4,this.length),this[Ko]<<24|this[Ko+1]<<16|this[Ko+2]<<8|this[Ko+3]},ao.prototype.readBigInt64LE=Oa(function(Ko){Ko=Ko>>>0,oa(Ko,"offset");const Yo=this[Ko],ma=this[Ko+7];(Yo===void 0||ma===void 0)&&la(Ko,this.length-8);const ga=this[Ko+4]+this[Ko+5]*2**8+this[Ko+6]*2**16+(ma<<24);return(BigInt(ga)<<BigInt(32))+BigInt(Yo+this[++Ko]*2**8+this[++Ko]*2**16+this[++Ko]*2**24)}),ao.prototype.readBigInt64BE=Oa(function(Ko){Ko=Ko>>>0,oa(Ko,"offset");const Yo=this[Ko],ma=this[Ko+7];(Yo===void 0||ma===void 0)&&la(Ko,this.length-8);const ga=(Yo<<24)+this[++Ko]*2**16+this[++Ko]*2**8+this[++Ko];return(BigInt(ga)<<BigInt(32))+BigInt(this[++Ko]*2**24+this[++Ko]*2**16+this[++Ko]*2**8+ma)}),ao.prototype.readFloatLE=function(Ko,Yo){return Ko=Ko>>>0,Yo||jo(Ko,4,this.length),to.read(this,Ko,!0,23,4)},ao.prototype.readFloatBE=function(Ko,Yo){return Ko=Ko>>>0,Yo||jo(Ko,4,this.length),to.read(this,Ko,!1,23,4)},ao.prototype.readDoubleLE=function(Ko,Yo){return Ko=Ko>>>0,Yo||jo(Ko,8,this.length),to.read(this,Ko,!0,52,8)},ao.prototype.readDoubleBE=function(Ko,Yo){return Ko=Ko>>>0,Yo||jo(Ko,8,this.length),to.read(this,Ko,!1,52,8)};function Xo(ia,Ko,Yo,ma,ga,Fa){if(!ao.isBuffer(ia))throw new TypeError('"buffer" argument must be a Buffer instance');if(Ko>ga||Ko<Fa)throw new RangeError('"value" argument is out of bounds');if(Yo+ma>ia.length)throw new RangeError("Index out of range")}ao.prototype.writeUintLE=ao.prototype.writeUIntLE=function(Ko,Yo,ma,ga){if(Ko=+Ko,Yo=Yo>>>0,ma=ma>>>0,!ga){const Ga=Math.pow(2,8*ma)-1;Xo(this,Ko,Yo,ma,Ga,0)}let Fa=1,ja=0;for(this[Yo]=Ko&255;++ja<ma&&(Fa*=256);)this[Yo+ja]=Ko/Fa&255;return Yo+ma},ao.prototype.writeUintBE=ao.prototype.writeUIntBE=function(Ko,Yo,ma,ga){if(Ko=+Ko,Yo=Yo>>>0,ma=ma>>>0,!ga){const Ga=Math.pow(2,8*ma)-1;Xo(this,Ko,Yo,ma,Ga,0)}let Fa=ma-1,ja=1;for(this[Yo+Fa]=Ko&255;--Fa>=0&&(ja*=256);)this[Yo+Fa]=Ko/ja&255;return Yo+ma},ao.prototype.writeUint8=ao.prototype.writeUInt8=function(Ko,Yo,ma){return Ko=+Ko,Yo=Yo>>>0,ma||Xo(this,Ko,Yo,1,255,0),this[Yo]=Ko&255,Yo+1},ao.prototype.writeUint16LE=ao.prototype.writeUInt16LE=function(Ko,Yo,ma){return Ko=+Ko,Yo=Yo>>>0,ma||Xo(this,Ko,Yo,2,65535,0),this[Yo]=Ko&255,this[Yo+1]=Ko>>>8,Yo+2},ao.prototype.writeUint16BE=ao.prototype.writeUInt16BE=function(Ko,Yo,ma){return Ko=+Ko,Yo=Yo>>>0,ma||Xo(this,Ko,Yo,2,65535,0),this[Yo]=Ko>>>8,this[Yo+1]=Ko&255,Yo+2},ao.prototype.writeUint32LE=ao.prototype.writeUInt32LE=function(Ko,Yo,ma){return Ko=+Ko,Yo=Yo>>>0,ma||Xo(this,Ko,Yo,4,4294967295,0),this[Yo+3]=Ko>>>24,this[Yo+2]=Ko>>>16,this[Yo+1]=Ko>>>8,this[Yo]=Ko&255,Yo+4},ao.prototype.writeUint32BE=ao.prototype.writeUInt32BE=function(Ko,Yo,ma){return Ko=+Ko,Yo=Yo>>>0,ma||Xo(this,Ko,Yo,4,4294967295,0),this[Yo]=Ko>>>24,this[Yo+1]=Ko>>>16,this[Yo+2]=Ko>>>8,this[Yo+3]=Ko&255,Yo+4};function Zo(ia,Ko,Yo,ma,ga){ea(Ko,ma,ga,ia,Yo,7);let Fa=Number(Ko&BigInt(4294967295));ia[Yo++]=Fa,Fa=Fa>>8,ia[Yo++]=Fa,Fa=Fa>>8,ia[Yo++]=Fa,Fa=Fa>>8,ia[Yo++]=Fa;let ja=Number(Ko>>BigInt(32)&BigInt(4294967295));return ia[Yo++]=ja,ja=ja>>8,ia[Yo++]=ja,ja=ja>>8,ia[Yo++]=ja,ja=ja>>8,ia[Yo++]=ja,Yo}function Wo(ia,Ko,Yo,ma,ga){ea(Ko,ma,ga,ia,Yo,7);let Fa=Number(Ko&BigInt(4294967295));ia[Yo+7]=Fa,Fa=Fa>>8,ia[Yo+6]=Fa,Fa=Fa>>8,ia[Yo+5]=Fa,Fa=Fa>>8,ia[Yo+4]=Fa;let ja=Number(Ko>>BigInt(32)&BigInt(4294967295));return ia[Yo+3]=ja,ja=ja>>8,ia[Yo+2]=ja,ja=ja>>8,ia[Yo+1]=ja,ja=ja>>8,ia[Yo]=ja,Yo+8}ao.prototype.writeBigUInt64LE=Oa(function(Ko,Yo=0){return Zo(this,Ko,Yo,BigInt(0),BigInt("0xffffffffffffffff"))}),ao.prototype.writeBigUInt64BE=Oa(function(Ko,Yo=0){return Wo(this,Ko,Yo,BigInt(0),BigInt("0xffffffffffffffff"))}),ao.prototype.writeIntLE=function(Ko,Yo,ma,ga){if(Ko=+Ko,Yo=Yo>>>0,!ga){const Va=Math.pow(2,8*ma-1);Xo(this,Ko,Yo,ma,Va-1,-Va)}let Fa=0,ja=1,Ga=0;for(this[Yo]=Ko&255;
vendor: 5,867 bytes, line 6
6++Fa<ma&&(ja*=256);)Ko<0&&Ga===0&&this[Yo+Fa-1]!==0&&(Ga=1),this[Yo+Fa]=(Ko/ja>>0)-Ga&255;return Yo+ma},ao.prototype.writeIntBE=function(Ko,Yo,ma,ga){if(Ko=+Ko,Yo=Yo>>>0,!ga){const Va=Math.pow(2,8*ma-1);Xo(this,Ko,Yo,ma,Va-1,-Va)}let Fa=ma-1,ja=1,Ga=0;for(this[Yo+Fa]=Ko&255;--Fa>=0&&(ja*=256);)Ko<0&&Ga===0&&this[Yo+Fa+1]!==0&&(Ga=1),this[Yo+Fa]=(Ko/ja>>0)-Ga&255;return Yo+ma},ao.prototype.writeInt8=function(Ko,Yo,ma){return Ko=+Ko,Yo=Yo>>>0,ma||Xo(this,Ko,Yo,1,127,-128),Ko<0&&(Ko=255+Ko+1),this[Yo]=Ko&255,Yo+1},ao.prototype.writeInt16LE=function(Ko,Yo,ma){return Ko=+Ko,Yo=Yo>>>0,ma||Xo(this,Ko,Yo,2,32767,-32768),this[Yo]=Ko&255,this[Yo+1]=Ko>>>8,Yo+2},ao.prototype.writeInt16BE=function(Ko,Yo,ma){return Ko=+Ko,Yo=Yo>>>0,ma||Xo(this,Ko,Yo,2,32767,-32768),this[Yo]=Ko>>>8,this[Yo+1]=Ko&255,Yo+2},ao.prototype.writeInt32LE=function(Ko,Yo,ma){return Ko=+Ko,Yo=Yo>>>0,ma||Xo(this,Ko,Yo,4,2147483647,-2147483648),this[Yo]=Ko&255,this[Yo+1]=Ko>>>8,this[Yo+2]=Ko>>>16,this[Yo+3]=Ko>>>24,Yo+4},ao.prototype.writeInt32BE=function(Ko,Yo,ma){return Ko=+Ko,Yo=Yo>>>0,ma||Xo(this,Ko,Yo,4,2147483647,-2147483648),Ko<0&&(Ko=4294967295+Ko+1),this[Yo]=Ko>>>24,this[Yo+1]=Ko>>>16,this[Yo+2]=Ko>>>8,this[Yo+3]=Ko&255,Yo+4},ao.prototype.writeBigInt64LE=Oa(function(Ko,Yo=0){return Zo(this,Ko,Yo,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),ao.prototype.writeBigInt64BE=Oa(function(Ko,Yo=0){return Wo(this,Ko,Yo,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ta(ia,Ko,Yo,ma,ga,Fa){if(Yo+ma>ia.length)throw new RangeError("Index out of range");if(Yo<0)throw new RangeError("Index out of range")}function ra(ia,Ko,Yo,ma,ga){return Ko=+Ko,Yo=Yo>>>0,ga||ta(ia,Ko,Yo,4),to.write(ia,Ko,Yo,ma,23,4),Yo+4}ao.prototype.writeFloatLE=function(Ko,Yo,ma){return ra(this,Ko,Yo,!0,ma)},ao.prototype.writeFloatBE=function(Ko,Yo,ma){return ra(this,Ko,Yo,!1,ma)};function da(ia,Ko,Yo,ma,ga){return Ko=+Ko,Yo=Yo>>>0,ga||ta(ia,Ko,Yo,8),to.write(ia,Ko,Yo,ma,52,8),Yo+8}ao.prototype.writeDoubleLE=function(Ko,Yo,ma){return da(this,Ko,Yo,!0,ma)},ao.prototype.writeDoubleBE=function(Ko,Yo,ma){return da(this,Ko,Yo,!1,ma)},ao.prototype.copy=function(Ko,Yo,ma,ga){if(!ao.isBuffer(Ko))throw new TypeError("argument should be a Buffer");if(ma||(ma=0),!ga&&ga!==0&&(ga=this.length),Yo>=Ko.length&&(Yo=Ko.length),Yo||(Yo=0),ga>0&&ga<ma&&(ga=ma),ga===ma||Ko.length===0||this.length===0)return 0;if(Yo<0)throw new RangeError("targetStart out of bounds");if(ma<0||ma>=this.length)throw new RangeError("Index out of range");if(ga<0)throw new RangeError("sourceEnd out of bounds");ga>this.length&&(ga=this.length),Ko.length-Yo<ga-ma&&(ga=Ko.length-Yo+ma);const Fa=ga-ma;return this===Ko&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(Yo,ma,ga):Uint8Array.prototype.set.call(Ko,this.subarray(ma,ga),Yo),Fa},ao.prototype.fill=function(Ko,Yo,ma,ga){if(typeof Ko=="string"){if(typeof Yo=="string"?(ga=Yo,Yo=0,ma=this.length):typeof ma=="string"&&(ga=ma,ma=this.length),ga!==void 0&&typeof ga!="string")throw new TypeError("encoding must be a string");if(typeof ga=="string"&&!ao.isEncoding(ga))throw new TypeError("Unknown encoding: "+ga);if(Ko.length===1){const ja=Ko.charCodeAt(0);(ga==="utf8"&&ja<128||ga==="latin1")&&(Ko=ja)}}else typeof Ko=="number"?Ko=Ko&255:typeof Ko=="boolean"&&(Ko=Number(Ko));if(Yo<0||this.length<Yo||this.length<ma)throw new RangeError("Out of range index");if(ma<=Yo)return this;Yo=Yo>>>0,ma=ma===void 0?this.length:ma>>>0,Ko||(Ko=0);let Fa;if(typeof Ko=="number")for(Fa=Yo;Fa<ma;++Fa)this[Fa]=Ko;else{const ja=ao.isBuffer(Ko)?Ko:ao.from(Ko,ga),Ga=ja.length;if(Ga===0)throw new TypeError('The value "'+Ko+'" is invalid for argument "value"');for(Fa=0;Fa<ma-Yo;++Fa)this[Fa+Yo]=ja[Fa%Ga]}return this};const pa={};function sa(ia,Ko,Yo){pa[ia]=class extends Yo{constructor(){super(),Object.defineProperty(this,"message",{value:Ko.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${ia}]`,this.stack,delete this.name}get code(){return ia}set code(ga){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:ga,writable:!0})}toString(){return`${this.name} [${ia}]: ${this.message}`}}}sa("ERR_BUFFER_OUT_OF_BOUNDS",function(ia){return ia?`${ia} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),sa("ERR_INVALID_ARG_TYPE",function(ia,Ko){return`The "${ia}" argument must be of type number. Received type ${typeof Ko}`},TypeError),sa("ERR_OUT_OF_RANGE",function(ia,Ko,Yo){let ma=`The value of "${ia}" is out of range.`,ga=Yo;return Number.isInteger(Yo)&&Math.abs(Yo)>2**32?ga=ya(String(Yo)):typeof Yo=="bigint"&&(ga=String(Yo),(Yo>BigInt(2)**BigInt(32)||Yo<-(BigInt(2)**BigInt(32)))&&(ga=ya(ga)),ga+="n"),ma+=` It must be ${Ko}. Received ${ga}`,ma},RangeError);function ya(ia){let Ko="",Yo=ia.length;const ma=ia[0]==="-"?1:0;for(;Yo>=ma+4;Yo-=3)Ko=`_${ia.slice(Yo-3,Yo)}${Ko}`;return`${ia.slice(0,Yo)}${Ko}`}function na(ia,Ko,Yo){oa(Ko,"offset"),(ia[Ko]===void 0||ia[Ko+Yo]===void 0)&&la(Ko,ia.length-(Yo+1))}function ea(ia,Ko,Yo,ma,ga,Fa){if(ia>Yo||ia<Ko){const ja=typeof Ko=="bigint"?"n":"";let Ga;throw Ko===0||Ko===BigInt(0)?Ga=`>= 0${ja} and < 2${ja} ** ${(Fa+1)*8}${ja}`:Ga=`>= -(2${ja} ** ${(Fa+1)*8-1}${ja}) and < 2 ** ${(Fa+1)*8-1}${ja}`,new pa.ERR_OUT_OF_RANGE("value",Ga,ia)}na(ma,ga,Fa)}function oa(ia,Ko){if(typeof ia!="number")throw new pa.ERR_INVALID_ARG_TYPE(Ko,"number",ia)}function la(ia,Ko,Yo){throw Math.floor(ia)!==ia?(oa(ia,Yo),new pa.ERR_OUT_OF_RANGE("offset","an integer",ia)):Ko<0?new pa.ERR_BUFFER_OUT_OF_BOUNDS:new pa.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${Ko}`,ia)}const _a=/[^+/0-9A-Za-z-_]/g;function Ea(ia){if(ia=ia.split("=")[0],ia=ia.trim().replace(_a,""),ia.length<2)return"";for(;ia.length%4!==0;)ia=ia+"=";return ia}function Pa(ia,Ko){Ko=Ko||1/0;let Yo;const ma=ia.length;let ga=null;const Fa=[];for(let ja=0;ja<ma;
vendor: 4,670 bytes, line 6
6++ja){if(Yo=ia.charCodeAt(ja),Yo>55295&&Yo<57344){if(!ga){if(Yo>56319){(Ko-=3)>-1&&Fa.push(239,191,189);continue}else if(ja+1===ma){(Ko-=3)>-1&&Fa.push(239,191,189);continue}ga=Yo;continue}if(Yo<56320){(Ko-=3)>-1&&Fa.push(239,191,189),ga=Yo;continue}Yo=(ga-55296<<10|Yo-56320)+65536}else ga&&(Ko-=3)>-1&&Fa.push(239,191,189);if(ga=null,Yo<128){if((Ko-=1)<0)break;Fa.push(Yo)}else if(Yo<2048){if((Ko-=2)<0)break;Fa.push(Yo>>6|192,Yo&63|128)}else if(Yo<65536){if((Ko-=3)<0)break;Fa.push(Yo>>12|224,Yo>>6&63|128,Yo&63|128)}else if(Yo<1114112){if((Ko-=4)<0)break;Fa.push(Yo>>18|240,Yo>>12&63|128,Yo>>6&63|128,Yo&63|128)}else throw new Error("Invalid code point")}return Fa}function aa(ia){const Ko=[];for(let Yo=0;Yo<ia.length;++Yo)Ko.push(ia.charCodeAt(Yo)&255);return Ko}function Ca(ia,Ko){let Yo,ma,ga;const Fa=[];for(let ja=0;ja<ia.length&&!((Ko-=2)<0);++ja)Yo=ia.charCodeAt(ja),ma=Yo>>8,ga=Yo%256,Fa.push(ga),Fa.push(ma);return Fa}function Sa(ia){return eo.toByteArray(Ea(ia))}function Ia(ia,Ko,Yo,ma){let ga;for(ga=0;ga<ma&&!(ga+Yo>=Ko.length||ga>=ia.length);++ga)Ko[ga+Yo]=ia[ga];return ga}function Ta(ia,Ko){return ia instanceof Ko||ia!=null&&ia.constructor!=null&&ia.constructor.name!=null&&ia.constructor.name===Ko.name}function va(ia){return ia!==ia}const xa=(function(){const ia="0123456789abcdef",Ko=new Array(256);for(let Yo=0;Yo<16;++Yo){const ma=Yo*16;for(let ga=0;ga<16;++ga)Ko[ma+ga]=ia[Yo]+ia[ga]}return Ko})();function Oa(ia){return typeof BigInt>"u"?Da:ia}function Da(){throw new Error("BigInt not supported")}})(buffer);var browser$3={exports:{}},process$1=browser$3.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{cachedClearTimeout=defaultClearTimeout}})();function runTimeout(Yi){if(cachedSetTimeout===setTimeout)return setTimeout(Yi,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(Yi,0);try{return cachedSetTimeout(Yi,0)}catch{try{return cachedSetTimeout.call(null,Yi,0)}catch{return cachedSetTimeout.call(this,Yi,0)}}}function runClearTimeout(Yi){if(cachedClearTimeout===clearTimeout)return clearTimeout(Yi);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(Yi);try{return cachedClearTimeout(Yi)}catch{try{return cachedClearTimeout.call(null,Yi)}catch{return cachedClearTimeout.call(this,Yi)}}}var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var Yi=runTimeout(cleanUpNextTick);draining=!0;for(var eo=queue.length;eo;){for(currentQueue=queue,queue=[];++queueIndex<eo;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,eo=queue.length}currentQueue=null,draining=!1,runClearTimeout(Yi)}}process$1.nextTick=function(Yi){var eo=new Array(arguments.length-1);if(arguments.length>1)for(var to=1;to<arguments.length;to++)eo[to-1]=arguments[to];queue.push(new Item(Yi,eo)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(Yi,eo){this.fun=Yi,this.array=eo}Item.prototype.run=function(){this.fun.apply(null,this.array)};process$1.title="browser";process$1.browser=!0;process$1.env={};process$1.argv=[];process$1.version="";process$1.versions={};function noop$9(){}process$1.on=noop$9;process$1.addListener=noop$9;process$1.once=noop$9;process$1.off=noop$9;process$1.removeListener=noop$9;process$1.removeAllListeners=noop$9;process$1.emit=noop$9;process$1.prependListener=noop$9;process$1.prependOnceListener=noop$9;process$1.listeners=function(Yi){return[]};process$1.binding=function(Yi){throw new Error("process.binding is not supported")};process$1.cwd=function(){return"/"};process$1.chdir=function(Yi){throw new Error("process.chdir is not supported")};process$1.umask=function(){return 0};var browserExports$1=browser$3.exports;const process$2=getDefaultExportFromCjs(browserExports$1),scriptRel="modulepreload",assetsURL=function(Yi){return"/"+Yi},seen={},__vitePreload=function(eo,to,ro){let no=Promise.resolve();if(to&&to.length>0){let oo=function(lo){return Promise.all(lo.map(co=>Promise.resolve(co).then(uo=>({status:"fulfilled",value:uo}
vendor: 5,551 bytes, lines 6-14
6),uo=>({status:"rejected",reason:uo}))))};document.getElementsByTagName("link");const ao=document.querySelector("meta[property=csp-nonce]"),so=(ao==null?void 0:ao.nonce)||(ao==null?void 0:ao.getAttribute("nonce"));no=oo(to.map(lo=>{if(lo=assetsURL(lo),lo in seen)return;seen[lo]=!0;const co=lo.endsWith(".css"),uo=co?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${lo}"]${uo}`))return;const fo=document.createElement("link");if(fo.rel=co?"stylesheet":scriptRel,co||(fo.as="script"),fo.crossOrigin="",fo.href=lo,so&&fo.setAttribute("nonce",so),document.head.appendChild(fo),co)return new Promise((ho,mo)=>{fo.addEventListener("load",ho),fo.addEventListener("error",()=>mo(new Error(`Unable to preload CSS for ${lo}`)))})}))}function io(oo){const ao=new Event("vite:preloadError",{cancelable:!0});if(ao.payload=oo,window.dispatchEvent(ao),!ao.defaultPrevented)throw oo}return no.then(oo=>{for(const ao of oo||[])ao.status==="rejected"&&io(ao.reason);return eo().catch(io)})};var jsxRuntime={exports:{}},reactJsxRuntime_production_min={},react={exports:{}},react_production_min={};/**
7 * @license React
8 * react.production.min.js
9 *
10 * Copyright (c) Facebook, Inc. and its affiliates.
11 *
12 * This source code is licensed under the MIT license found in the
13 * LICENSE file in the root directory of this source tree.
14 */var hasRequiredReact_production_min;function requireReact_production_min(){if(hasRequiredReact_production_min)return react_production_min;hasRequiredReact_production_min=1;var Yi=Symbol.for("react.element"),eo=Symbol.for("react.portal"),to=Symbol.for("react.fragment"),ro=Symbol.for("react.strict_mode"),no=Symbol.for("react.profiler"),io=Symbol.for("react.provider"),oo=Symbol.for("react.context"),ao=Symbol.for("react.forward_ref"),so=Symbol.for("react.suspense"),lo=Symbol.for("react.memo"),co=Symbol.for("react.lazy"),uo=Symbol.iterator;function fo(jo){return jo===null||typeof jo!="object"?null:(jo=uo&&jo[uo]||jo["@@iterator"],typeof jo=="function"?jo:null)}var ho={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},mo=Object.assign,vo={};function Co(jo,Xo,Zo){this.props=jo,this.context=Xo,this.refs=vo,this.updater=Zo||ho}Co.prototype.isReactComponent={},Co.prototype.setState=function(jo,Xo){if(typeof jo!="object"&&typeof jo!="function"&&jo!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,jo,Xo,"setState")},Co.prototype.forceUpdate=function(jo){this.updater.enqueueForceUpdate(this,jo,"forceUpdate")};function bo(){}bo.prototype=Co.prototype;function wo(jo,Xo,Zo){this.props=jo,this.context=Xo,this.refs=vo,this.updater=Zo||ho}var yo=wo.prototype=new bo;yo.constructor=wo,mo(yo,Co.prototype),yo.isPureReactComponent=!0;var Eo=Array.isArray,xo=Object.prototype.hasOwnProperty,So={current:null},To={key:!0,ref:!0,__self:!0,__source:!0};function Ro(jo,Xo,Zo){var Wo,ta={},ra=null,da=null;if(Xo!=null)for(Wo in Xo.ref!==void 0&&(da=Xo.ref),Xo.key!==void 0&&(ra=""+Xo.key),Xo)xo.call(Xo,Wo)&&!To.hasOwnProperty(Wo)&&(ta[Wo]=Xo[Wo]);var pa=arguments.length-2;if(pa===1)ta.children=Zo;else if(1<pa){for(var sa=Array(pa),ya=0;ya<pa;ya++)sa[ya]=arguments[ya+2];ta.children=sa}if(jo&&jo.defaultProps)for(Wo in pa=jo.defaultProps,pa)ta[Wo]===void 0&&(ta[Wo]=pa[Wo]);return{$$typeof:Yi,type:jo,key:ra,ref:da,props:ta,_owner:So.current}}function Po(jo,Xo){return{$$typeof:Yi,type:jo.type,key:Xo,ref:jo.ref,props:jo.props,_owner:jo._owner}}function zo(jo){return typeof jo=="object"&&jo!==null&&jo.$$typeof===Yi}function Ho(jo){var Xo={"=":"=0",":":"=2"};return"$"+jo.replace(/[=:]/g,function(Zo){return Xo[Zo]})}var Vo=/\/+/g;function Lo(jo,Xo){return typeof jo=="object"&&jo!==null&&jo.key!=null?Ho(""+jo.key):Xo.toString(36)}function Uo(jo,Xo,Zo,Wo,ta){var ra=typeof jo;(ra==="undefined"||ra==="boolean")&&(jo=null);var da=!1;if(jo===null)da=!0;else switch(ra){case"string":case"number":da=!0;break;case"object":switch(jo.$$typeof){case Yi:case eo:da=!0}}if(da)return da=jo,ta=ta(da),jo=Wo===""?"."+Lo(da,0):Wo,Eo(ta)?(Zo="",jo!=null&&(Zo=jo.replace(Vo,"$&/")+"/"),Uo(ta,Xo,Zo,"",function(ya){return ya})):ta!=null&&(zo(ta)&&(ta=Po(ta,Zo+(!ta.key||da&&da.key===ta.key?"":(""+ta.key).replace(Vo,"$&/")+"/")+jo)),Xo.push(ta)),1;if(da=0,Wo=Wo===""?".":Wo+":",Eo(jo))for(var pa=0;pa<jo.length;pa++){ra=jo[pa];var sa=Wo+Lo(ra,pa);da+=Uo(ra,Xo,Zo,sa,ta)}else if(sa=fo(jo),typeof sa=="function")for(jo=sa.call(jo),pa=0;!(ra=jo.next()).done;)ra=ra.value,sa=Wo+Lo(ra,pa++),da+=Uo(ra,Xo,Zo,sa,ta);else if(ra==="object")throw Xo=String(jo),Error("Objects are not valid as a React child (found: "+(Xo==="[object Object]"?"object with keys {"+Object.keys(jo).join(", ")+"}":Xo)+"). If you meant to render a collection of children, use an array instead.");return da}function Do(jo,Xo,Zo){if(jo==null)return jo;var Wo=[],ta=0;return Uo(jo,Wo,"","",function(ra){return Xo.call(Zo,ra,ta++)}),Wo}function Oo(jo){if(jo._status===-1){var Xo=jo._result;Xo=Xo(),Xo.then(function(Zo){(jo._status===0||jo._status===-1)&&(jo._status=1,jo._result=Zo)},function(Zo){(jo._status===0||jo._status===-1)&&(jo._status=2,jo._result=Zo)}),jo._status===-1&&(jo._status=0,jo._result=Xo)}if(jo._status===1)return jo._result.default;throw jo._result}var ko={current:null},Bo={transition:null},Fo={ReactCurrentDispatcher:ko,ReactCurrentBatchConfig:Bo,ReactCurrentOwner:So};function Qo(){throw Error("act(...) is not supported in production builds of React.")}
vendor: 4,413 bytes, lines 14-22
14return react_production_min.Children={map:Do,forEach:function(jo,Xo,Zo){Do(jo,function(){Xo.apply(this,arguments)},Zo)},count:function(jo){var Xo=0;return Do(jo,function(){Xo++}),Xo},toArray:function(jo){return Do(jo,function(Xo){return Xo})||[]},only:function(jo){if(!zo(jo))throw Error("React.Children.only expected to receive a single React element child.");return jo}},react_production_min.Component=Co,react_production_min.Fragment=to,react_production_min.Profiler=no,react_production_min.PureComponent=wo,react_production_min.StrictMode=ro,react_production_min.Suspense=so,react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Fo,react_production_min.act=Qo,react_production_min.cloneElement=function(jo,Xo,Zo){if(jo==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+jo+".");var Wo=mo({},jo.props),ta=jo.key,ra=jo.ref,da=jo._owner;if(Xo!=null){if(Xo.ref!==void 0&&(ra=Xo.ref,da=So.current),Xo.key!==void 0&&(ta=""+Xo.key),jo.type&&jo.type.defaultProps)var pa=jo.type.defaultProps;for(sa in Xo)xo.call(Xo,sa)&&!To.hasOwnProperty(sa)&&(Wo[sa]=Xo[sa]===void 0&&pa!==void 0?pa[sa]:Xo[sa])}var sa=arguments.length-2;if(sa===1)Wo.children=Zo;else if(1<sa){pa=Array(sa);for(var ya=0;ya<sa;ya++)pa[ya]=arguments[ya+2];Wo.children=pa}return{$$typeof:Yi,type:jo.type,key:ta,ref:ra,props:Wo,_owner:da}},react_production_min.createContext=function(jo){return jo={$$typeof:oo,_currentValue:jo,_currentValue2:jo,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},jo.Provider={$$typeof:io,_context:jo},jo.Consumer=jo},react_production_min.createElement=Ro,react_production_min.createFactory=function(jo){var Xo=Ro.bind(null,jo);return Xo.type=jo,Xo},react_production_min.createRef=function(){return{current:null}},react_production_min.forwardRef=function(jo){return{$$typeof:ao,render:jo}},react_production_min.isValidElement=zo,react_production_min.lazy=function(jo){return{$$typeof:co,_payload:{_status:-1,_result:jo},_init:Oo}},react_production_min.memo=function(jo,Xo){return{$$typeof:lo,type:jo,compare:Xo===void 0?null:Xo}},react_production_min.startTransition=function(jo){var Xo=Bo.transition;Bo.transition={};try{jo()}finally{Bo.transition=Xo}},react_production_min.unstable_act=Qo,react_production_min.useCallback=function(jo,Xo){return ko.current.useCallback(jo,Xo)},react_production_min.useContext=function(jo){return ko.current.useContext(jo)},react_production_min.useDebugValue=function(){},react_production_min.useDeferredValue=function(jo){return ko.current.useDeferredValue(jo)},react_production_min.useEffect=function(jo,Xo){return ko.current.useEffect(jo,Xo)},react_production_min.useId=function(){return ko.current.useId()},react_production_min.useImperativeHandle=function(jo,Xo,Zo){return ko.current.useImperativeHandle(jo,Xo,Zo)},react_production_min.useInsertionEffect=function(jo,Xo){return ko.current.useInsertionEffect(jo,Xo)},react_production_min.useLayoutEffect=function(jo,Xo){return ko.current.useLayoutEffect(jo,Xo)},react_production_min.useMemo=function(jo,Xo){return ko.current.useMemo(jo,Xo)},react_production_min.useReducer=function(jo,Xo,Zo){return ko.current.useReducer(jo,Xo,Zo)},react_production_min.useRef=function(jo){return ko.current.useRef(jo)},react_production_min.useState=function(jo){return ko.current.useState(jo)},react_production_min.useSyncExternalStore=function(jo,Xo,Zo){return ko.current.useSyncExternalStore(jo,Xo,Zo)},react_production_min.useTransition=function(){return ko.current.useTransition()},react_production_min.version="18.3.1",react_production_min}react.exports=requireReact_production_min();var reactExports=react.exports;const React$1F=getDefaultExportFromCjs(reactExports),React$1G=_mergeNamespaces({__proto__:null,default:React$1F},[reactExports]);/**
15 * @license React
16 * react-jsx-runtime.production.min.js
17 *
18 * Copyright (c) Facebook, Inc. and its affiliates.
19 *
20 * This source code is licensed under the MIT license found in the
21 * LICENSE file in the root directory of this source tree.
22 */var hasRequiredReactJsxRuntime_production_min;function requireReactJsxRuntime_production_min(){if(hasRequiredReactJsxRuntime_production_min)return reactJsxRuntime_production_min;hasRequiredReactJsxRuntime_production_min=1;var Yi=reactExports,eo=Symbol.for("react.element"),to=Symbol.for("react.fragment"),ro=Object.prototype.hasOwnProperty,no=Yi.__SECRET_INT
22ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,io={key:!0,ref:!0,__self:!0,__source:!0};function oo(ao,so,lo){var co,uo={},fo=null,ho=null;lo!==void 0&&(fo=""+lo),so.key!==void 0&&(fo=""+so.key),so.ref!==void 0&&(ho=so.ref);for(co in so)ro.call(so,co)&&!io.hasOwnProperty(co)&&(uo[co]=so[co]);if(ao&&ao.defaultProps)for(co in so=ao.defaultProps,so)uo[co]===void 0&&(uo[co]=so[co]);return{$$typeof:eo,type:ao,key:fo,ref:ho,props:uo,_owner:no.current}}return reactJsxRuntime_production_min.Fragment=to,reactJsxRuntime_production_min.jsx=oo,reactJsxRuntime_production_min.jsxs=oo,reactJsxRuntime_production_min}jsxRuntime.exports=requireReactJsxRuntime_production_min();var jsxRuntimeExports=jsxRuntime.exports;const Sp="sentry.span.source",DEBUG_BUILD$5=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,GLOBAL_OBJ$2=globalThis,SDK_VERSION$3="10.64.0";function getMainCarrier$2(){return getSentryCarrier$2(GLOBAL_OBJ$2),GLOBAL_OBJ$2}function getSentryCarrier$2(Yi){const eo=Yi.__SENTRY__=Yi.__SENTRY__||{};return eo.version=eo.version||SDK_VERSION$3,eo[SDK_VERSION$3]=eo[SDK_VERSION$3]||{}}function getGlobalSingleton$2(Yi,eo,to=GLOBAL_OBJ$2){const ro=to.__SENTRY__=to.__SENTRY__||{},no=ro[SDK_VERSION$3]=ro[SDK_VERSION$3]||{};return no[Yi]||(no[Yi]=eo())}const CONSOLE_LEVELS$1=["debug","info","warn","error","log","assert","trace"],PREFIX$3="Sentry Logger ",originalConsoleMethods$2={};function consoleSandbox$2(Yi){if(!("console"in GLOBAL_OBJ$2))return Yi();const eo=GLOBAL_OBJ$2.console,to={},ro=Object.keys(originalConsoleMethods$2);ro.forEach(no=>{const io=originalConsoleMethods$2[no];to[no]=eo[no],eo[no]=io});try{return Yi()}finally{ro.forEach(no=>{eo[no]=to[no]})}}function enable$2(){_getLoggerSettings$2().enabled=!0}function disable$2(){_getLoggerSettings$2().enabled=!1}function isEnabled$3(){return _getLoggerSettings$2().enabled}function log$3(...Yi){_maybeLog$2("log",...Yi)}function warn$7(...Yi){_maybeLog$2("warn",...Yi)}function error$2(...Yi){_maybeLog$2("error",...Yi)}function _maybeLog$2(Yi,...eo){DEBUG_BUILD$5&&isEnabled$3()&&consoleSandbox$2(()=>{GLOBAL_OBJ$2.console[Yi](`${PREFIX$3}[${Yi}]:`,...eo)})}function _getLoggerSettings$2(){return DEBUG_BUILD$5?getGlobalSingleton$2("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const debug$5={enable:enable$2,disable:disable$2,isEnabled:isEnabled$3,log:log$3,warn:warn$7,error:error$2},STACKTRACE_FRAME_LIMIT=50,UNKNOWN_FUNCTION="?",WEBPACK_ERROR_REGEXP=/\(error: (.*)\)/,STRIP_FRAME_REGEXP=/captureMessage|captureException/;function createStackParser(...Yi){const eo=Yi.sort((to,ro)=>to[0]-ro[0]).map(to=>to[1]);return(to,ro=0,no=0)=>{const io=[],oo=to.split(`
23`);for(let ao=ro;ao<oo.length;ao++){let so=oo[ao];so.length>1024&&(so=so.slice(0,1024));const lo=WEBPACK_ERROR_REGEXP.test(so)?so.replace(WEBPACK_ERROR_REGEXP,"$1"):so;if(!lo.includes("Error: ")){for(const co of eo){const uo=co(lo);if(uo){io.push(uo);break}}if(io.length>=STACKTRACE_FRAME_LIMIT+no)break}}return stripSentryFramesAndReverse(io.slice(no))}}function stackParserFromStackParserOptions(Yi){return Array.isArray(Yi)?createStackParser(...Yi):Yi}function stripSentryFramesAndReverse(Yi){if(!Yi.length)return[];const eo=Array.from(Yi);return/sentryWrapped/.test(getLastStackFrame(eo).function||"")&&eo.pop(),eo.reverse(),STRIP_FRAME_REGEXP.test(getLastStackFrame(eo).function||"")&&(eo.pop(),STRIP_FRAME_REGEXP.test(getLastStackFrame(eo).function||"")&&eo.pop()),eo.slice(0,STACKTRACE_FRAME_LIMIT).map(to=>({...to,filename:to.filename||getLastStackFrame(eo).filename,function:to.function||UNKNOWN_FUNCTION}))}function getLastStackFrame(Yi){return Yi[Yi.length-1]||{}}const defaultFunctionName$2="<anonymous>";function getFunctionName$2(Yi){try{return!Yi||typeof Yi!="function"?defaultFunctionName$2:Yi.name||defaultFunctionName$2}catch{return defaultFunctionName$2}}function getFramesFromEvent(Yi){const eo=Yi.exception;if(eo){const to=[];try{return eo.values.forEach(ro=>{ro.stacktrace.frames&&to.push(...ro.stacktrace.frames)}),to}catch{return}}}const handlers$3={},instrumented$2={};function addHandler$2(Yi,eo){return handlers$3[Yi]=handlers$3[Yi]||[],handlers$3[Yi].push(eo),()=>{const to=handlers$3[Yi];if(to){const ro=to.indexOf(eo);ro!==-1&&to.splice(ro,1)}}}function maybeInstrument$1(Yi,eo){if(!instrumented$2[Yi]){instrumented$2[Yi]=!0;try{eo()}catch(to){DEBUG_BUILD$5&&debug$5.error(`Error while instrumenting ${Yi}`,to)}}}function triggerHandlers$2(Yi,eo){const to=Yi&&handlers$3[Yi];if(to)for(const ro of to)try{ro(eo)}catch(no){DEBUG_BUILD$5&&debug$5.error(`Error while triggering instrumentation handler.
24Type: ${Yi}
25Name: ${getFunctionName$2(ro)}
26Error:`,no)}}let _oldOnErrorHandler=null;function addGlobalErrorInstrumentationHandler(Yi){const eo="error";addHandler$2(eo,Yi),maybeInstrument$1(eo,instrumentError)}function instrumentError(){_oldOnErrorHandler=GLOBAL_OBJ$2.onerror,GLOBAL_OBJ$2.onerror=function(Yi,eo,to,ro,no){return triggerHandlers$2("error",{column:ro,error:no,line:to,msg:Yi,url:eo}),_oldOnErrorHandler?_oldOnErrorHandler.apply(this,arguments):!1},GLOBAL_OBJ$2.onerror.__SENTRY_INSTRUMENTED__=!0}let _oldOnUnhandledRejectionHandler=null;function addGlobalUnhandledRejectionInstrumentationHandler(Yi){const eo="unhandledrejection";addHandler$2(eo,Yi),maybeInstrument$1(eo,instrumentUnhandledRejection)}function instrumentUnhandledRejection(){_oldOnUnhandledRejectionHandler=GLOBAL_OBJ$2.onunhandledrejection,GLOBAL_OBJ$2.onunhandledrejection=function(Yi){return triggerHandlers$2("unhandledrejection",Yi),_oldOnUnhandledRejectionHandler?_oldOnUnhandledRejectionHandler.apply(this,arguments):!0},GLOBAL_OBJ$2.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const objectToString$4=Object.prototype.toString;function isError$1(Yi){switch(objectToString$4.call(Yi)){case"[object Error]":case"[object E
26xception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return isInstanceOf$1(Yi,Error)}}function isBuiltin$2(Yi,eo){return objectToString$4.call(Yi)===`[object ${eo}]`}function isErrorEvent$2(Yi){return isBuiltin$2(Yi,"ErrorEvent")}function isDOMError(Yi){return isBuiltin$2(Yi,"DOMError")}function isDOMException(Yi){return isBuiltin$2(Yi,"DOMException")}function isString$5(Yi){return isBuiltin$2(Yi,"String")}function isParameterizedString$1(Yi){return typeof Yi=="object"&&Yi!==null&&"__sentry_template_string__"in Yi&&"__sentry_template_values__"in Yi}function isPrimitive$2(Yi){return Yi===null||isParameterizedString$1(Yi)||typeof Yi!="object"&&typeof Yi!="function"}function isPlainObject$9(Yi){return isBuiltin$2(Yi,"Object")}function isEvent$1(Yi){return typeof Event<"u"&&isInstanceOf$1(Yi,Event)}function isRegExp$2(Yi){return isBuiltin$2(Yi,"RegExp")}function isThenable$2(Yi){return!!(Yi!=null&&Yi.then&&typeof Yi.then=="function")}function isInstanceOf$1(Yi,eo){try{return Yi instanceof eo}catch{return!1}}function isRequest(Yi){return typeof Request<"u"&&isInstanceOf$1(Yi,Request)}function fill$2(Yi,eo,to){if(!(eo in Yi))return;const ro=Yi[eo];if(typeof ro!="function")return;const no=to(ro);typeof no=="function"&&markFunctionWrapped$2(no,ro);try{Yi[eo]=no}catch{DEBUG_BUILD$5&&debug$5.log(`Failed to replace method "${eo}" in object`,Yi)}}function addNonEnumerableProperty$2(Yi,eo,to){try{Object.defineProperty(Yi,eo,{value:to,writable:!0,configurable:!0})}catch{DEBUG_BUILD$5&&debug$5.log(`Failed to add non-enumerable property "${String(eo)}" to object`,Yi)}}function markFunctionWrapped$2(Yi,eo){try{const to=eo.prototype||{};Yi.prototype=eo.prototype=to,addNonEnumerableProperty$2(Yi,"__sentry_original__",eo)}catch{}}function getOriginalFunction(Yi){return Yi.__sentry_original__}function convertToPlainObject$1(Yi){if(isError$1(Yi))return{message:Yi.message,name:Yi.name,stack:Yi.stack,...getOwnProperties$1(Yi)};if(isEvent$1(Yi)){const{type:eo,target:to,currentTarget:ro,detail:no}=Yi;return{type:eo,target:to,currentTarget:ro,...no?{detail:no}:{},...getOwnProperties$1(Yi)}}return Yi}function getOwnProperties$1(Yi){return typeof Yi=="object"&&Yi!==null?Object.fromEntries(Object.entries(Yi)):{}}function extractExceptionKeysForMessage(Yi){const eo=Object.keys(convertToPlainObject$1(Yi));return eo.sort(),eo[0]?eo.join(", "):"[object has no keys]"}let RESOLVED_RUNNER$2;function withRandomSafeContext$2(Yi){if(RESOLVED_RUNNER$2!==void 0)return RESOLVED_RUNNER$2?RESOLVED_RUNNER$2(Yi):Yi();const eo=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),to=GLOBAL_OBJ$2;return eo in to&&typeof to[eo]=="function"?(RESOLVED_RUNNER$2=to[eo],RESOLVED_RUNNER$2(Yi)):(RESOLVED_RUNNER$2=null,Yi())}function safeMathRandom$2(){return withRandomSafeContext$2(()=>Math.random())}function safeDateNow$2(){return withRandomSafeContext$2(()=>Date.now())}const SENTRY_SKIP_NORMALIZATION$1=Symbol.for("sentry.skipNormalization"),SENTRY_OVERRIDE_NORMALIZATION_DEPTH$1=Symbol.for("sentry.overrideNormalizationDepth");function hasSkipNormalizationHint$1(Yi){return!!Yi[SENTRY_SKIP_NORMALIZATION$1]}function getNormalizationDepthOverrideHint$1(Yi){const eo=Yi[SENTRY_OVERRIDE_NORMALIZATION_DEPTH$1];return typeof eo=="number"?eo:void 0}let stringifier$1;function setNormalizeStringifier(Yi){stringifier$1=Yi}function normalize$2(Yi,eo=100,to=1/0){try{return visit$1("",Yi,eo,to)}catch(ro){return{ERROR:`**non-serializable** (${ro})`}}}function normalizeToSize(Yi,eo=3,to=100*1024){const ro=normalize$2(Yi,eo);return jsonSize(ro)>to?normalizeToSize(Yi,eo-1,to):ro}function visit$1(Yi,eo,to=1/0,ro=1/0,no=memoBuilder$1()){const[io,oo]=no;if(eo==null||["boolean","string"].includes(typeof eo)||typeof eo=="number"&&Number.isFinite(eo))return eo;const ao=stringifyValue$1(Yi,eo);if(!ao.startsWith("[object "))return ao;if(hasSkipNormalizationHint$1(eo))return eo;const so=getNormalizationDepthOverrideHint$1(eo),lo=so!==void 0?so:to;if(lo===0)return ao.replace("object ","");if(io(eo))return"[Circular ~]";const co=eo;if(co&&typeof co.toJSON=="function")try{const mo=co.toJSON();return visit$1("",mo,lo-1,ro,no)}catch{}const uo=Array.isArray(eo)?[]:{};let fo=0;const ho=convertToPlainObject$1(eo);
26for(const mo in ho){if(!Object.prototype.hasOwnProperty.call(ho,mo))continue;if(fo>=ro){uo[mo]="[MaxProperties ~]";break}const vo=ho[mo];uo[mo]=visit$1(mo,vo,lo-1,ro,no),fo++}return oo(eo),uo}function stringifyValue$1(Yi,eo){try{if(stringifier$1){const ro=stringifier$1(eo);if(ro)return ro}return typeof global<"u"&&eo===global?"[Global]":typeof eo=="number"&&!Number.isFinite(eo)?`[${eo}]`:typeof eo=="function"?`[Function: ${getFunctionName$2(eo)}]`:typeof eo=="symbol"?`[${String(eo)}]`:typeof eo=="bigint"?`[BigInt: ${String(eo)}]`:`[object ${getConstructorName$2(eo)}]`}catch(to){return`**non-serializable** (${to})`}}function getConstructorName$2(Yi){const eo=Object.getPrototypeOf(Yi);return eo!=null&&eo.constructor?eo.constructor.name:"null prototype"}function utf8Length(Yi){return~-encodeURI(Yi).split(/%..|./).length}function jsonSize(Yi){return utf8Length(JSON.stringify(Yi))}function memoBuilder$1(){const Yi=new WeakSet;function eo(ro){return Yi.has(ro)?!0:(Yi.add(ro),!1)}function to(ro){Yi.delete(ro)}return[eo,to]}function truncate$3(Yi,eo=0){return typeof Yi!="string"||eo===0||Yi.length<=eo?Yi:`${Yi.slice(0,eo)}...`}function safeJoin(Yi,eo){if(!Array.isArray(Yi))return"";const to=[];for(let ro=0;ro<Yi.length;ro++){const no=Yi[ro];isPrimitive$2(no)?to.push(String(no)):no instanceof Error?to.push(no.message?`${no.name}: ${no.message}`:no.name):to.push(stringifyValue$1(void 0,no))}return to.join(eo)}function isMatchingPattern$2(Yi,eo,to=!1){return isString$5(Yi)?isRegExp$2(eo)?eo.test(Yi):isString$5(eo)?to?Yi===eo:Yi.includes(eo):typeof eo=="function"?eo(Yi):!1:!1}function stringMatchesSomePattern$2(Yi,eo=[],to=!1){for(const ro of eo)if(isMatchingPattern$2(Yi,ro,to))return!0;return!1}function getCrypto$2(){const Yi=GLOBAL_OBJ$2;return Yi.crypto||Yi.msCrypto}let emptyUuid$2;function getRandomByte$2(){return safeMathRandom$2()*16}function uuid4$2(Yi=getCrypto$2()){try{if(Yi!=null&&Yi.randomUUID)return withRandomSafeContext$2(()=>Yi.randomUUID()).replace(/-/g,"")}catch{}return emptyUuid$2||(emptyUuid$2="10000000100040008000"+1e11),emptyUuid$2.replace(/[018]/g,eo=>(eo^(getRandomByte$2()&15)>>eo/4).toString(16))}function getFirstException$1(Yi){var eo,to;return(to=(eo=Yi.exception)==null?void 0:eo.values)==null?void 0:to[0]}function getEventDescription(Yi){const{message:eo,event_id:to}=Yi;if(eo)return eo;const ro=getFirstException$1(Yi);return ro?ro.type&&ro.value?`${ro.type}: ${ro.value}`:ro.type||ro.value||to||"<unknown>":to||"<unknown>"}function addExceptionTypeValue(Yi,eo,to){const ro=Yi.exception=Yi.exception||{},no=ro.values=ro.values||[],io=no[0]=no[0]||{};io.value||(io.value=eo||""),io.type||(io.type="Error")}function addExceptionMechanism$1(Yi,eo){const to=getFirstException$1(Yi);if(!to)return;const ro={type:"generic",handled:!0},no=to.mechanism;if(to.mechanism={...ro,...no,...eo},eo&&"data"in eo){const io={...no==null?void 0:no.data,...eo.data};to.mechanism.data=io}}function checkOrSetAlreadyCaught(Yi){if(isAlreadyCaptured(Yi))return!0;try{addNonEnumerableProperty$2(Yi,"__sentry_captured__",!0)}catch{}return!1}function isAlreadyCaptured(Yi){try{return Yi.__sentry_captured__}catch{}}const ONE_SECOND_IN_MS$2=1e3;function dateTimestampInSeconds$2(){return safeDateNow$2()/ONE_SECOND_IN_MS$2}function createUnixTimestampInSecondsFunc$2(){const{performance:Yi}=GLOBAL_OBJ$2;if(!(Yi!=null&&Yi.now)||!Yi.timeOrigin)return dateTimestampInSeconds$2;const eo=Yi.timeOrigin;return()=>(eo+withRandomSafeContext$2(()=>Yi.now()))/ONE_SECOND_IN_MS$2}let _cachedTimestampInSeconds$2;function timestampInSeconds$2(){return(_cachedTimestampInSeconds$2??(_cachedTimestampInSeconds$2=createUnixTimestampInSecondsFunc$2()))()}let cachedTimeOrigin$2=null;function getBrowserTimeOrigin$2(){var oo;const{performance:Yi}=GLOBAL_OBJ$2;if(!(Yi!=null&&Yi.now))return;const eo=3e5,to=withRandomSafeContext$2(()=>Yi.now()),ro=safeDateNow$2(),no=Yi.timeOrigin;if(typeof no=="number"&&Math.abs(no+to-ro)<eo)return no;const io=(oo=Yi.timing)==null?void 0:oo.navigationStart;return typeof io=="number"&&Math.abs(io+to-ro)<eo?io:ro-to}function browserPerformanceTimeOrigin$2(){return cachedTimeOrigin$2===null&&(cachedTimeOrigin$2=getBrowserTimeOrigin$2()),cachedTimeOrigin$2}function makeSession$1(Yi){const eo=timestampInSeconds$2(),to={sid:uuid4$2(),init:!0,timestamp:eo,started:eo,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>sessionToJSON(to)};return Yi&&updateSession$2(to,Yi),to}function updateSession$2(Yi,eo={}){if(eo.user&&(!Yi.ipAddress&&eo.user.ip_address&&(Yi.ipAddress=eo.user.ip_address),!Yi.did&&!eo.did&&(Yi.did=eo.user.id||eo.user.email||eo.user.username)),Yi.timestamp=eo.timestamp||timestampInSeconds$2(),eo.abnormal_mechanism&&(Yi.abnormal_mechanism=eo.abnormal_mechanism),eo.ignoreDuration&&(Yi.ignoreDuration=eo.ignoreDuration),eo.sid&&(Yi.sid=eo.sid.length===32?eo.sid:uuid4$2()),eo.init!==void 0&&(Yi.init=eo.init),!Yi.did&&eo.did&&(Yi.did=`${eo.did}`),typeof eo.started=="number"&&(Yi.started=eo.started),Yi.ignoreDuration)Yi.duration=void 0;else if(typeof eo.duration=="number")Yi.duration=eo.duration;else{const to=Yi.timestamp-Yi.started;Yi.duration=to>=0?to:0}eo.release&&(Yi.release=eo.release),eo.environment&&(Yi.environment=eo.environment),!Yi.ipAddress&&eo.ipAddress&&(Yi.ipAddress=eo.ipAddress),!Yi.userAgent&&eo.userAgent&&(Yi.userAgent=eo.userAgent),t
vendor: 7,427 bytes, line 26
26ypeof eo.errors=="number"&&(Yi.errors=eo.errors),eo.status&&(Yi.status=eo.status)}function closeSession(Yi,eo){let to={};Yi.status==="ok"&&(to={status:"exited"}),updateSession$2(Yi,to)}function sessionToJSON(Yi){return{sid:`${Yi.sid}`,init:Yi.init,started:new Date(Yi.started*1e3).toISOString(),timestamp:new Date(Yi.timestamp*1e3).toISOString(),status:Yi.status,errors:Yi.errors,did:typeof Yi.did=="number"||typeof Yi.did=="string"?`${Yi.did}`:void 0,duration:Yi.duration,abnormal_mechanism:Yi.abnormal_mechanism,attrs:{release:Yi.release,environment:Yi.environment,ip_address:Yi.ipAddress,user_agent:Yi.userAgent}}}function merge$3(Yi,eo,to=2){if(!eo||typeof eo!="object"||to<=0)return eo;if(Yi&&Object.keys(eo).length===0)return Yi;const ro={...Yi};for(const no in eo)Object.prototype.hasOwnProperty.call(eo,no)&&(ro[no]=merge$3(ro[no],eo[no],to-1));return ro}function generateTraceId$2(){return uuid4$2()}function generateSpanId$2(){return uuid4$2().substring(16)}function makeWeakRef$2(Yi){try{const eo=GLOBAL_OBJ$2.WeakRef;if(typeof eo=="function")return new eo(Yi)}catch{}return Yi}function derefWeakRef$2(Yi){if(Yi){if(typeof Yi=="object"&&"deref"in Yi&&typeof Yi.deref=="function")try{return Yi.deref()}catch{return}return Yi}}const SCOPE_SPAN_FIELD$2="_sentrySpan";function _setSpanForScope$2(Yi,eo){eo?addNonEnumerableProperty$2(Yi,SCOPE_SPAN_FIELD$2,makeWeakRef$2(eo)):delete Yi[SCOPE_SPAN_FIELD$2]}function _getSpanForScope$2(Yi){return derefWeakRef$2(Yi[SCOPE_SPAN_FIELD$2])}const DEFAULT_MAX_BREADCRUMBS$2=100;let Scope$3=class eA{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:generateTraceId$2(),sampleRand:safeMathRandom$2()}}clone(){const eo=new eA;return eo._breadcrumbs=[...this._breadcrumbs],eo._tags={...this._tags},eo._attributes={...this._attributes},eo._extra={...this._extra},eo._contexts={...this._contexts},this._contexts.flags&&(eo._contexts.flags={values:[...this._contexts.flags.values]}),eo._user=this._user,eo._level=this._level,eo._session=this._session,eo._transactionName=this._transactionName,eo._fingerprint=this._fingerprint,eo._eventProcessors=[...this._eventProcessors],eo._attachments=[...this._attachments],eo._sdkProcessingMetadata={...this._sdkProcessingMetadata},eo._propagationContext={...this._propagationContext},eo._client=this._client,eo._lastEventId=this._lastEventId,eo._conversationId=this._conversationId,_setSpanForScope$2(eo,_getSpanForScope$2(this)),eo}setClient(eo){this._client=eo}setLastEventId(eo){this._lastEventId=eo}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(eo){this._scopeListeners.push(eo)}addEventProcessor(eo){return this._eventProcessors.push(eo),this}setUser(eo){return this._user=eo||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&updateSession$2(this._session,{user:eo}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(eo){return this._conversationId=eo||void 0,this._notifyScopeListeners(),this}setTags(eo){return this._tags={...this._tags,...eo},this._notifyScopeListeners(),this}setTag(eo,to){return this.setTags({[eo]:to})}setAttributes(eo){return this._attributes={...this._attributes,...eo},this._notifyScopeListeners(),this}setAttribute(eo,to){return this.setAttributes({[eo]:to})}removeAttribute(eo){return eo in this._attributes&&(delete this._attributes[eo],this._notifyScopeListeners()),this}setExtras(eo){return this._extra={...this._extra,...eo},this._notifyScopeListeners(),this}setExtra(eo,to){return this._extra={...this._extra,[eo]:to},this._notifyScopeListeners(),this}setFingerprint(eo){return this._fingerprint=eo,this._notifyScopeListeners(),this}setLevel(eo){return this._level=eo,this._notifyScopeListeners(),this}setTransactionName(eo){return this._transactionName=eo,this._notifyScopeListeners(),this}setContext(eo,to){return to===null?delete this._contexts[eo]:this._contexts[eo]=to,this._notifyScopeListeners(),this}setSession(eo){return eo?this._session=eo:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(eo){if(!eo)return this;const to=typeof eo=="function"?eo(this):eo,ro=to instanceof eA?to.getScopeData():isPlainObject$9(to)?eo:void 0,{tags:no,attributes:io,extra:oo,user:ao,contexts:so,level:lo,fingerprint:co=[],propagationContext:uo,conversationId:fo}=ro||{};return this._tags={...this._tags,...no},this._attributes={...this._attributes,...io},this._extra={...this._extra,...oo},this._contexts={...this._contexts,...so},ao&&Object.keys(ao).length&&(this._user=ao),lo&&(this._level=lo),co.length&&(this._fingerprint=co),uo&&(this._propagationContext=uo),fo&&(this._conversationId=fo),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,_setSpanForScope$2(this,void 0),this._attachments=[],this.setPropagationContext({traceId:generateTraceId$2(),sampleRand:safeMathRandom$2()}),this._notifyScopeListeners(),this}addBreadcrumb(eo,to){var io;const ro=typeof to=="number"?to:DEFAULT_MAX_BREADCRUMBS$2;if(ro<=0)return this;const no={timestamp:dateTimestampInSeconds$2(),...eo,message:eo.message?truncate$3(eo.message,2048):eo.message};return this._breadcrumbs.push(no),this._breadcrumbs.length>ro&&(this._breadcrumbs=this._breadcrumbs.slice(-ro),(io=this._client)==null||io.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(eo){return this._attachments.push(eo),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:_getSpanForScope$2(this),conversationId:this._conversationId}}setSDKProcessingMetadata(eo){return this._sdkProcessingMetadata=merge$3(this._sdkProcessingMetadata,eo,2),this}setPropagationContext(eo){return this._propagationContext=eo,this}getPropagationContext(){return this._propagationContext}captureException(eo,to){const ro=(to==null?void 0:to.event_id)||uuid4$2();if(!this._client)return DEBUG_BUILD$5&&debug$5.warn("No client configured on scope - will not capture exception!"),ro;const no=new Error("Sentry syntheticException");return this._client.captureException(eo,{originalException:eo,syntheticException:no,...to,event_id:ro},this),ro}captureMessage(eo,to,ro){const no=(ro==null?void 0:ro.event_id)||uuid4$2();if(!this._client)return DEBUG_BUILD$5&&debug$5.warn("No client configured on scope - will not capture message!"),no;const io=(ro==null?void 0:ro.syntheticException)??new Error(eo);return this._client.captureMessage(eo,to,{originalException:eo,syntheticException:io,...ro,event_id:no},this),no}
26captureEvent(eo,to){const ro=eo.event_id||(to==null?void 0:to.event_id)||uuid4$2();return this._client?(this._client.captureEvent(eo,{...to,event_id:ro},this),ro):(DEBUG_BUILD$5&&debug$5.warn("No client configured on scope - will not capture event!"),ro)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(eo=>{eo(this)}),this._notifyingListeners=!1)}};function getDefaultCurrentScope$2(){return getGlobalSingleton$2("defaultCurrentScope",()=>new Scope$3)}function getDefaultIsolationScope$2(){return getGlobalSingleton$2("defaultIsolationScope",()=>new Scope$3)}const isActualPromise$2=Yi=>Yi instanceof Promise&&!Yi[kChainedCopy$2],kChainedCopy$2=Symbol("chained PromiseLike"),chainAndCopyPromiseLike$2=(Yi,eo,to)=>{const ro=Yi.then(no=>(eo(no),no),no=>{throw to(no),no});return isActualPromise$2(ro)&&isActualPromise$2(Yi)?ro:copyProps$2(Yi,ro)},copyProps$2=(Yi,eo)=>{if(!eo)return Yi;let to=!1;for(const ro in Yi){if(ro in eo)continue;to=!0;const no=Yi[ro];typeof no=="function"?Object.defineProperty(eo,ro,{value:(...io)=>no.apply(Yi,io),enumerable:!0,configurable:!0,writable:!0}):eo[ro]=no}return to&&Object.assign(eo,{[kChainedCopy$2]:!0}),eo};let AsyncContextStack$2=class{constructor(eo,to){let ro;eo?ro=eo:ro=new Scope$3;let no;to?no=to:no=new Scope$3,this._stack=[{scope:ro}],this._isolationScope=no}withScope(eo){const to=this._pushScope();let ro;try{ro=eo(to)}catch(no){throw this._popScope(),no}return isThenable$2(ro)?chainAndCopyPromiseLike$2(ro,()=>this._popScope(),()=>this._popScope()):(this._popScope(),ro)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const eo=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:eo}),eo}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}};function getAsyncContextStack$2(){const Yi=getMainCarrier$2(),eo=getSentryCarrier$2(Yi);return eo.stack=eo.stack||new AsyncContextStack$2(getDefaultCurrentScope$2(),getDefaultIsolationScope$2())}function withScope$4(Yi){return getAsyncContextStack$2().withScope(Yi)}function withSetScope$2(Yi,eo){const to=getAsyncContextStack$2();return to.withScope(()=>(to.getStackTop().scope=Yi,eo(Yi)))}function withIsolationScope$2(Yi){return getAsyncContextStack$2().withScope(()=>Yi(getAsyncContextStack$2().getIsolationScope()))}function getStackAsyncContextStrategy$2(){return{withIsolationScope:withIsolationScope$2,withScope:withScope$4,withSetScope:withSetScope$2,withSetIsolationScope:(Yi,eo)=>withIsolationScope$2(eo),getCurrentScope:()=>getAsyncContextStack$2().getScope(),getIsolationScope:()=>getAsyncContextStack$2().getIsolationScope()}}function getAsyncContextStrategy$2(Yi){const eo=getSentryCarrier$2(Yi);return eo.acs?eo.acs:getStackAsyncContextStrategy$2()}function isAttributeObject(Yi){return typeof Yi=="object"&&Yi!=null&&!Array.isArray(Yi)&&Object.keys(Yi).includes("value")}function attributeValueToTypedAttributeValue(Yi,eo){const{value:to,unit:ro}=isAttributeObject(Yi)?Yi:{value:Yi,unit:void 0},no=getTypedAttributeValue(to),io=ro&&typeof ro=="string"?{unit:ro}:{};if(no)return{...no,...io};if(!eo||eo==="skip-undefined"&&to===void 0)return;let oo="";try{oo=JSON.stringify(to)??""}catch{}return{value:oo,type:"string",...io}}function serializeAttributes(Yi,eo=!1){const to={};for(const[ro,no]of Object.entries(Yi??{})){const io=attributeValueToTypedAttributeValue(no,eo);io&&(to[ro]=io)}return to}function getTypedAttributeValue(Yi){if(Array.isArray(Yi))return{value:Yi,type:"array"};const eo=typeof Yi=="string"?"string":typeof Yi=="boolean"?"boolean":typeof Yi=="number"&&!Number.isNaN(Yi)?Number.isInteger(Yi)?"integer":"double":null;if(eo)return{value:Yi,type:eo}}function getCurrentScope$3(){const Yi=getMainCarrier$2();return getAsyncContextStrategy$2(Yi).getCurrentScope()}function getIsolationScope$2(){const Yi=getMainCarrier$2();return getAsyncContextStrategy$2(Yi).getIsolationScope()}function getGlobalScope$1(){return getGlobalSingleton$2("globalScope",()=>new Scope$3)}function withScope$3(...Yi){const eo=getMainCarrier$2(),to=getAsyncContextStrategy$2(eo);if(Yi.length===2){const[ro,no]=Yi;return ro?to.withSetScope(ro,no):to.withScope(no)}return to.withScope(Yi[0])}function getClient$2(){return getCurrentScope$3().getClient()}function getTraceContextFromScope(Yi){const eo=Yi.getPropagationContext(),{traceId:to,parentSpanId:ro,prop
26agationSpanId:no}=eo,io={trace_id:to,span_id:no||generateSpanId$2()};return ro&&(io.parent_span_id=ro),io}const SEMANTIC_ATTRIBUTE_SENTRY_SOURCE$2="sentry.source",SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE$2="sentry.sample_rate",SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE$2="sentry.previous_trace_sample_rate",SEMANTIC_ATTRIBUTE_SENTRY_OP$2="sentry.op",SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$2="sentry.origin",SEMANTIC_ATTRIBUTE_SENTRY_STATUS_MESSAGE$1="sentry.status.message",SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON="sentry.idle_span_finish_reason",SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT$1="sentry.measurement_unit",SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE$1="sentry.measurement_value",SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME$1="sentry.custom_span_name",SEMANTIC_ATTRIBUTE_PROFILE_ID$1="sentry.profile_id",SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME$1="sentry.exclusive_time",SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE="sentry.link.type",GEN_AI_CONVERSATION_ID_ATTRIBUTE="gen_ai.conversation.id",SPAN_STATUS_UNSET$2=0,SPAN_STATUS_OK$2=1,SPAN_STATUS_ERROR=2;function getSpanStatusFromHttpCode(Yi){if(Yi<400&&Yi>=100)return{code:SPAN_STATUS_OK$2};if(Yi>=400&&Yi<500)switch(Yi){case 401:return{code:SPAN_STATUS_ERROR,message:"unauthenticated"};case 403:return{code:SPAN_STATUS_ERROR,message:"permission_denied"};case 404:return{code:SPAN_STATUS_ERROR,message:"not_found"};case 409:return{code:SPAN_STATUS_ERROR,message:"already_exists"};case 413:return{code:SPAN_STATUS_ERROR,message:"failed_precondition"};case 429:return{code:SPAN_STATUS_ERROR,message:"resource_exhausted"};case 499:return{code:SPAN_STATUS_ERROR,message:"cancelled"};default:return{code:SPAN_STATUS_ERROR,message:"invalid_argument"}}if(Yi>=500&&Yi<600)switch(Yi){case 501:return{code:SPAN_STATUS_ERROR,message:"unimplemented"};case 503:return{code:SPAN_STATUS_ERROR,message:"unavailable"};case 504:return{code:SPAN_STATUS_ERROR,message:"deadline_exceeded"};default:return{code:SPAN_STATUS_ERROR,message:"internal_error"}}return{code:SPAN_STATUS_ERROR,message:"internal_error"}}function setHttpStatus(Yi,eo){Yi.setAttribute("http.response.status_code",eo);const to=getSpanStatusFromHttpCode(eo);to.message!=="unknown_error"&&Yi.setStatus(to)}const SCOPE_ON_START_SPAN_FIELD$2="_sentryScope",ISOLATION_SCOPE_ON_START_SPAN_FIELD$2="_sentryIsolationScope",OTEL_SOURCE_INFERENCE_SPAN_FIELD$1=Symbol.for("sentry.otelSourceInference"),OTEL_SOURCE_EXPLICITLY_SET_SPAN_FIELD$1=Symbol.for("sentry.otelSourceExplicitlySet"),TRACER_PROVIDER_SPAN_FIELD$1=Symbol.for("sentry.tracerProviderSpan");function setCapturedScopesOnSpan$1(Yi,eo,to){Yi&&(addNonEnumerableProperty$2(Yi,ISOLATION_SCOPE_ON_START_SPAN_FIELD$2,makeWeakRef$2(to)),addNonEnumerableProperty$2(Yi,SCOPE_ON_START_SPAN_FIELD$2,eo))}function getCapturedScopesOnSpan$2(Yi){const eo=Yi;return{scope:eo[SCOPE_ON_START_SPAN_FIELD$2],isolationScope:derefWeakRef$2(eo[ISOLATION_SCOPE_ON_START_SPAN_FIELD$2])}}function spanShouldInferOtelSource$1(Yi){return Yi[OTEL_SOURCE_INFERENCE_SPAN_FIELD$1]===!0}function markSpanSourceAsExplicit$1(Yi){addNonEnumerableProperty$2(Yi,OTEL_SOURCE_EXPLICITLY_SET_SPAN_FIELD$1,!0)}function spanIsTracerProviderSpan$1(Yi){return Yi[TRACER_PROVIDER_SPAN_FIELD$1]===!0}const SENTRY_BAGGAGE_KEY_PREFIX$2="sentry-",MAX_BAGGAGE_STRING_LENGTH=8192;function baggageHeaderToDynamicSamplingContext$2(Yi){const eo=parseBaggageHeader$2(Yi);if(!eo)return;const to=Object.entries(eo).reduce((ro,[no,io])=>{if(no.startsWith(SENTRY_BAGGAGE_KEY_PREFIX$2)){const oo=no.slice(SENTRY_BAGGAGE_KEY_PREFIX$2.length);ro[oo]=io}return ro},{});if(Object.keys(to).length>0)return to}function dynamicSamplingContextToSentryBaggageHeader(Yi){if(!Yi)return;const eo=Object.entries(Yi).reduce((to,[ro,no])=>(no&&(to[`${SENTRY_BAGGAGE_KEY_PREFIX$2}${ro}`]=no),to),{});return objectToBaggageHeader(eo)}function parseBaggageHeader$2(Yi){if(!(!Yi||!isString$5(Yi)&&!Array.isArray(Yi)))return Array.isArray(Yi)?Yi.reduce((eo,to)=>{const ro=baggageHeaderToObject$2(to);return Object.entries(ro).forEach(([no,io])=>{eo[no]=io}),eo},{}):baggageHeaderToObject$2(Yi)}function baggageHeaderToObject$2(Yi){return Yi.split(",").map(eo=>{const to=eo.indexOf("=");if(to===-1)return[];const ro=eo.slice(0,to),no=eo.slice(to+1);return[ro,no].map(io=>{try{return decodeURIComponent(io.trim())}catch{return}})}).reduce((eo,[to,ro])=>(to&&ro&&(eo[to]=ro),eo),{})}function objectToBaggageHeader(Yi){if(Object.keys(Yi).length!==0)return Object.entries(Yi).reduce((eo,[to,ro],no)=>{const io=`${encodeURIComponent(to)}=${encodeURIComponent(ro)}`,oo=no===0?io:`${eo},${io}`;return oo.length>MAX_BAGGAGE_STRING_LENGTH?(DEBUG_BUILD$5&&debug$5.warn(`Not adding key: ${to} with val: ${ro} to baggage header due to exceeding baggage size limits.`),eo):oo},"")}const ORG_ID_REGEX$2=/^o(\d+)\./,DSN_REGEX=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function isValidProtocol(Yi){return Yi==="http"||Yi==="https"}function dsnToString$2(Yi,eo=!1){const{host:to,path:ro,pass:no,port:io,projectId:oo,protocol:ao,publicKey:so}=Yi;return`${ao}://${so}${eo&&no?`:${no}`:""}@${to}${io?`:${io}`:""}/${ro&&`${ro}/`}${oo}`}function dsnFromString(Yi){const eo=DSN_REGEX.exec(Yi);if(!eo){consoleSandbox$2(()=>{console.error(`Invalid Sentry Dsn: ${Yi}`)});return}const[to,ro,no="",io="",oo="",ao=""]=eo.slice(1);let so="",lo=ao;const co=lo.split("/");if(co.length>1&&(so=co.slice(0,-1).join("/"),lo=co.pop()),lo){const uo=lo.match(/^\d+/);uo&&(lo=uo[0])}return dsnFromComponents({host:io,pass:no,path:so,projectId:lo,port:oo,protocol:to,publicKey:ro})}function dsnFromComponents(Yi){return{protocol:Yi.protocol,publicKey:Yi.publicKey||"",pass:Yi.pass||"",host:Yi.host,port:Yi.port||"",path:Yi.path||"",projectId:Yi.projectId}}function validateDsn(Yi){if(!DEBUG_BUILD$5)return!0;const{port:eo,projectId:to,protocol:ro}=Yi;return["protocol","publicKey","host","projectId"].find(oo=>Yi[oo]?!1:(debug$5.error(`Invalid Sentry Dsn: ${oo} missing`),!0))?!1:to.match(/^\d+$/)?isValidProtocol(ro)?eo&&isNaN(parseInt(eo,10))?(debug$5.error(`Invalid Sentry Dsn: Invalid port ${eo}`),!1):!0:(debug$5.error(`Invalid Sentry Dsn: Invalid protocol ${ro}`),!1):(debug$5.error(`Invalid Sentry Dsn: Invalid projectId ${to}`),!1)}function extractOrgIdFromDsnHost$2(Yi){const eo=Yi.match(ORG_ID_REGEX$2);return eo==null?void 0:eo[1]}function extractOrgIdFromClient$2(Yi){const eo=Yi.getOptions(),{host:to}=Yi.getDsn()||{};let ro;return eo.orgId?ro=String(eo.orgId):to&&(ro=extractOrgIdFromDsnHost$2(to)),ro}function makeDsn(Yi){const eo=typeof Yi=="string"?dsnFromString(Yi):dsnFromComponents(Yi);if(!(!eo||!validateDsn(eo)))return eo}function parseSampleRate$2(Yi){if(typeof Yi=="boolean")return Number(Yi);const eo=typeof Yi=="string"?parseFloat(Yi):Yi;if(!(typeof eo!="number"||isNaN(eo)||eo<0||eo>1))return eo}const TRACEPARENT_REGEXP=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function extractTraceparentData(Yi){if(!Yi)return;const eo=Yi.match(TRACEPARENT_REGEXP);if(!eo)return;let to;return eo[3]==="1"?to=!0:eo[3]==="0"&&(to=!1),{traceId:eo[1],parentSampled:to,parentSpanId:eo[2]}}function propagationContextFromHeaders(Yi,eo){const to=extractTraceparentData(Yi),ro=baggageHeaderToDynamicSamplingContext$2(eo);if(!(to!=null&&to.traceId))return{traceId:generateTraceId$2(),sampleRand:safeMathRandom$2()};const no=getSampleRandFromTraceparentAndDsc(to,ro);ro&&(ro.sample_rand=no.toString());const{traceId:io,parentSpanId:oo,parentSampled:ao}=to;return{traceId:io,parentSpanId:oo,sampled:ao,dsc:ro||{},sampleRand:no}}function generateSentryTraceHeader(Yi=generateTraceId$2(),eo=generateSpanId$2(),to){let ro="";return to!==void 0&&(ro=to?"-1":"-0"),`${Yi}-${eo}${ro}`}function generateTraceparentHeader(Yi=generateTraceId$2(),eo=generateSpanId$2(),to){return`00-${Yi}-${eo}-${to?"01":"00"}`}function getSampleRandFromTraceparentAndDsc(Yi,eo){const to=parseSampleRate$2(eo==null?void 0:eo.sample_rand);if(to!==void 0)return to;const ro=parseSampleRate$2(eo==null?void 0:eo.sample_rate);return ro&&(Yi==null?void 0:Yi.parentSampled)!==void 0?Yi.parentSampled?safeMathRandom$2()*ro:ro+safeMathRandom$2()*(1-ro):safeMathRandom$2()}const TRACE_FLAG_NONE$1=0,TRACE_FLAG_SAMPLED$2=1;let hasShownSpanDropWarning$1=!1;function spanToTransactionTraceContext$1(Yi){const{spanId:eo,traceId:to}=Yi.spanContext(),{data:ro,op:no,parent_span_id:io,status:oo,origin:ao,links:so}=spanToJSON$2(Yi);return{parent_span_id:io,span_id:eo,trace_id:to,data:ro,op:no,status:oo,origin:ao,links:so}}function spanToTraceContext$1(Yi){const{spanId:eo,traceId:to,isRemote:ro}=Yi.spanContext(),no=ro?eo:spanToJSON$2(Yi).parent_span_id,io=getCapturedScopesOnSpan$2(Yi).scope,oo=ro?(io==null?void 0:io.getPropagationContext().propagationSpanId)||generateSpanId$2():eo;return{parent_span_id:no,span_id:oo,trace_id:to}}function spanToTraceHeader(Yi){const{traceId:eo,spanId:to}=Yi.spanContext(),ro=spanIsSampled$2(Yi);return generateSentryTraceHeader(eo,to,ro)}function spanToTraceparentHeader(Yi){const{traceId:eo,spanId:to}=Yi.spanContext(),ro=spanIsSampled$2(Yi);return generateTraceparentHeader(eo,to,ro)}
26function convertSpanLinksForEnvelope$2(Yi){if(Yi&&Yi.length>0)return Yi.map(({context:{spanId:eo,traceId:to,traceFlags:ro,...no},attributes:io})=>({span_id:eo,trace_id:to,sampled:ro===TRACE_FLAG_SAMPLED$2,attributes:io,...no}))}function getStreamedSpanLinks$1(Yi){if(Yi!=null&&Yi.length)return Yi.map(({context:{spanId:eo,traceId:to,traceFlags:ro},attributes:no})=>({span_id:eo,trace_id:to,sampled:ro===TRACE_FLAG_SAMPLED$2,attributes:no}))}function spanTimeInputToSeconds$2(Yi){return typeof Yi=="number"?ensureTimestampInSeconds$2(Yi):Array.isArray(Yi)?Yi[0]+Yi[1]/1e9:Yi instanceof Date?ensureTimestampInSeconds$2(Yi.getTime()):timestampInSeconds$2()}function ensureTimestampInSeconds$2(Yi){return Yi>9999999999?Yi/1e3:Yi}function spanToJSON$2(Yi){if(spanIsSentrySpan$2(Yi))return Yi.getSpanJSON();const{spanId:eo,traceId:to}=Yi.spanContext();if(spanIsOpenTelemetrySdkTraceBaseSpan$2(Yi)){const{attributes:ro,startTime:no,name:io,endTime:oo,status:ao,links:so}=Yi;return{span_id:eo,trace_id:to,data:ro,description:io,parent_span_id:getOtelParentSpanId$2(Yi),start_timestamp:spanTimeInputToSeconds$2(no),timestamp:spanTimeInputToSeconds$2(oo)||void 0,status:getStatusMessage$2(ao),op:ro[SEMANTIC_ATTRIBUTE_SENTRY_OP$2],origin:ro[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$2],links:convertSpanLinksForEnvelope$2(so)}}return{span_id:eo,trace_id:to,start_timestamp:0,data:{}}}function getOtelParentSpanId$2(Yi){var eo;return"parentSpanId"in Yi?Yi.parentSpanId:"parentSpanContext"in Yi?(eo=Yi.parentSpanContext)==null?void 0:eo.spanId:void 0}function streamedSpanJsonToSerializedSpan(Yi){var eo;return{...Yi,attributes:serializeAttributes(Yi.attributes),links:(eo=Yi.links)==null?void 0:eo.map(to=>({...to,attributes:serializeAttributes(to.attributes)}))}}function spanIsOpenTelemetrySdkTraceBaseSpan$2(Yi){const eo=Yi;return!!eo.attributes&&!!eo.startTime&&!!eo.name&&!!eo.endTime&&!!eo.status}function spanIsSentrySpan$2(Yi){return typeof Yi.getSpanJSON=="function"}function spanIsSampled$2(Yi){const{traceFlags:eo}=Yi.spanContext();return eo===TRACE_FLAG_SAMPLED$2}function getStatusMessage$2(Yi){if(!(!Yi||Yi.code===SPAN_STATUS_UNSET$2))return Yi.code===SPAN_STATUS_OK$2?"ok":Yi.message||"internal_error"}function getSimpleStatus$1(Yi){return!Yi||Yi.code===SPAN_STATUS_OK$2||Yi.code===SPAN_STATUS_UNSET$2||Yi.message==="cancelled"?"ok":"error"}function addStatusMessageAttribute$1(Yi,eo){const to=getSimpleStatus$1(eo)==="error"?eo==null?void 0:eo.message:void 0;return{...to&&{[SEMANTIC_ATTRIBUTE_SENTRY_STATUS_MESSAGE$1]:to},...Yi}}const CHILD_SPANS_FIELD$1="_sentryChildSpans",ROOT_SPAN_FIELD$2="_sentryRootSpan";function addChildSpanToSpan$1(Yi,eo){const to=Yi[ROOT_SPAN_FIELD$2]||Yi;addNonEnumerableProperty$2(eo,ROOT_SPAN_FIELD$2,to),Yi[CHILD_SPANS_FIELD$1]?Yi[CHILD_SPANS_FIELD$1].add(eo):addNonEnumerableProperty$2(Yi,CHILD_SPANS_FIELD$1,new Set([eo]))}function removeChildSpanFromSpan(Yi,eo){Yi[CHILD_SPANS_FIELD$1]&&Yi[CHILD_SPANS_FIELD$1].delete(eo)}function getSpanDescendants$1(Yi){const eo=new Set;function to(ro){if(!eo.has(ro)&&spanIsSampled$2(ro)){eo.add(ro);const no=ro[CHILD_SPANS_FIELD$1]?Array.from(ro[CHILD_SPANS_FIELD$1]):[];for(const io of no)to(io)}}return to(Yi),Array.from(eo)}const getRootSpan$2=INTERNAL_getSegmentSpan$2;function INTERNAL_getSegmentSpan$2(Yi){return Yi[ROOT_SPAN_FIELD$2]||Yi}function getActiveSpan$2(){const Yi=getMainCarrier$2(),eo=getAsyncContextStrategy$2(Yi);return eo.getActiveSpan?eo.getActiveSpan():_getSpanForScope$2(getCurrentScope$3())}function showSpanDropWarning$1(){hasShownSpanDropWarning$1||(consoleSandbox$2(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),hasShownSpanDropWarning$1=!0)}let errorsInstrumented=!1;function registerSpanErrorInstrumentation(){if(errorsInstrumented)return;function Yi(){const eo=getActiveSpan$2(),to=eo&&getRootSpan$2(eo);if(to){const ro="internal_error";DEBUG_BUILD$5&&debug$5.log(`[Tracing] Root span: ${ro} -> Global error occurred`),to.setStatus({code:SPAN_STATUS_ERROR,message:ro})}}errorsInstrumented=!0,addGlobalErrorInstrumentationHandler(Yi),addGlobalUnhandledRejectionInstrumentationHandler(Yi)}function hasSpansEnabled$2(Yi){var to;
26if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const eo=Yi||((to=getClient$2())==null?void 0:to.getOptions());return!!eo&&(eo.tracesSampleRate!=null||!!eo.tracesSampler)}function logIgnoredSpan$1(Yi){debug$5.log(`Ignoring span ${Yi.op} - ${Yi.description} because it matches \`ignoreSpans\`.`)}function shouldIgnoreSpan$1(Yi,eo){if(!(eo!=null&&eo.length))return!1;for(const to of eo){if(isStringOrRegExp$1(to)){if(Yi.description&&isMatchingPattern$2(Yi.description,to))return DEBUG_BUILD$5&&logIgnoredSpan$1(Yi),!0;continue}const ro=!!to.attributes&&Object.keys(to.attributes).length>0;if(!to.name&&!to.op&&!ro)continue;const no=to.name?Yi.description&&isMatchingPattern$2(Yi.description,to.name):!0,io=to.op?Yi.op&&isMatchingPattern$2(Yi.op,to.op):!0,oo=to.attributes?Object.entries(to.attributes).every(([ao,so])=>{var lo;return _matchesAttributeValue$1((lo=Yi.attributes)==null?void 0:lo[ao],so)}):!0;if(no&&io&&oo)return DEBUG_BUILD$5&&logIgnoredSpan$1(Yi),!0}return!1}function _matchesAttributeValue$1(Yi,eo){return typeof Yi=="string"&&(typeof eo=="string"||eo instanceof RegExp)?isMatchingPattern$2(Yi,eo):Array.isArray(Yi)&&Array.isArray(eo)?Yi.length===eo.length&&Yi.every((to,ro)=>to===eo[ro]):Yi===eo}function reparentChildSpans(Yi,eo){const to=eo.parent_span_id,ro=eo.span_id;if(to)for(const no of Yi)no.parent_span_id===ro&&(no.parent_span_id=to)}function isStringOrRegExp$1(Yi){return typeof Yi=="string"||Yi instanceof RegExp}const NON_RECORDING_SPAN_FIELD$2=Symbol.for("sentry.nonRecordingSpan");let SentryNonRecordingSpan$1=class{constructor(eo={}){this._traceId=eo.traceId||generateTraceId$2(),this._spanId=eo.spanId||generateSpanId$2(),this.dropReason=eo.dropReason,addNonEnumerableProperty$2(this,NON_RECORDING_SPAN_FIELD$2,!0)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:TRACE_FLAG_NONE$1}}end(eo){}setAttribute(eo,to){return this}setAttributes(eo){return this}setStatus(eo){return this}updateName(eo){return this}isRecording(){return!1}addEvent(eo,to,ro){return this}addLink(eo){return this}addLinks(eo){return this}recordException(eo,to){}};function spanIsNonRecordingSpan$2(Yi){return!!Yi&&Yi[NON_RECORDING_SPAN_FIELD$2]===!0}const DEFAULT_ENVIRONMENT$2="production",FROZEN_DSC_FIELD$2="_frozenDsc";function freezeDscOnSpan$1(Yi,eo){addNonEnumerableProperty$2(Yi,FROZEN_DSC_FIELD$2,eo)}function getDynamicSamplingContextFromClient$2(Yi,eo){const to=eo.getOptions(),{publicKey:ro}=eo.getDsn()||{},no={environment:to.environment||DEFAULT_ENVIRONMENT$2,release:to.release,public_key:ro,trace_id:Yi,org_id:extractOrgIdFromClient$2(eo)};return eo.emit("createDsc",no),no}function getDynamicSamplingContextFromScope$2(Yi,eo){const to=eo.getPropagationContext();return to.dsc||getDynamicSamplingContextFromClient$2(to.traceId,Yi)}function getDynamicSamplingContextFromSpan$2(Yi){var mo;const eo=getClient$2();if(!eo)return{};const to=getRootSpan$2(Yi),ro=spanToJSON$2(to),no=ro.data,io=to.spanContext().traceState,oo=(io==null?void 0:io.get("sentry.sample_rate"))??no[SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE$2]??no[SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE$2];function ao(vo){return(typeof oo=="number"||typeof oo=="string")&&(vo.sample_rate=`${oo}`),vo}const so=to[FROZEN_DSC_FIELD$2];if(so)return ao(so);if(spanIsNonRecordingSpan$2(to)&&!hasSpansEnabled$2(eo.getOptions())){const vo=getCapturedScopesOnSpan$2(to).scope;if(vo)return ao({...getDynamicSamplingContextFromScope$2(eo,vo)})}const lo=io==null?void 0:io.get("sentry.dsc"),co=lo&&baggageHeaderToDynamicSamplingContext$2(lo);if(co)return ao(co);const uo=getDynamicSamplingContextFromClient$2(Yi.spanContext().traceId,eo),fo=no[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE$2]??no[Sp],ho=ro.description;return fo!=="url"&&ho&&(uo.transaction=ho),hasSpansEnabled$2()&&(uo.sampled=String(spanIsSampled$2(to)),uo.sample_rand=(io==null?void 0:io.get("sentry.sample_rand"))??((mo=getCapturedScopesOnSpan$2(to).scope)==null?void 0:mo.getPropagationContext().sampleRand.toString())),ao(uo),eo.emit("createDsc",uo,to),uo}function isStreamedBeforeSendSpanCallback$1(Yi){return!!Yi&&typeof Yi=="function"&&"_streamed"in Yi&&!!Yi._streamed}function createEnvelope$2(Yi,eo=[]){return[Yi,eo]}function addItemToEnvelope(Yi,eo){const[to,ro]=Yi;return[to,[...ro,eo]]}function forEachEnvelopeItem(Yi,eo){const to=Yi[1];for(const ro of to){const no=ro[0].type;if(eo(ro,no))return!0}return!1}function envelopeContainsItemType(Yi,eo){return forEachEnvelopeItem(Yi,(to,ro)=>eo.includes(ro))}function encodeUTF8(Yi){const eo=getSentryCarrier$2(GLOBAL_OBJ$2);return eo.encodePolyfill?eo.encodePolyfill(Yi):new TextEncoder().encode(Yi)}function serializeEnvelope(Yi){const[eo,to]=Yi;let ro=JSON.stringify(eo);function no(io){typeof ro=="string"?ro=typeof io=="string"?ro+io:[encodeUTF8(ro),io]:ro.push(typeof io=="string"?encodeUTF8(io):io)}for(const io of to){const[oo,ao]=io;if(no(`
27${JSON.stringify(oo)}
28`),typeof ao=="string"||ao instanceof Uint8Array)no(ao);else{let so;try{so=JSON.stringify(ao)}catch{so=JSON.stringify(normalize$2(ao))}no(so)}}return typeof ro=="string"?ro:concatBuffers(ro)}
28function concatBuffers(Yi){const eo=Yi.reduce((no,io)=>no+io.length,0),to=new Uint8Array(eo);let ro=0;for(const no of Yi)to.set(no,ro),ro+=no.length;return to}function createSpanEnvelopeItem$1(Yi){return[{type:"span"},Yi]}function createAttachmentEnvelopeItem(Yi){const eo=typeof Yi.data=="string"?encodeUTF8(Yi.data):Yi.data;return[{type:"attachment",length:eo.length,filename:Yi.filename,content_type:Yi.contentType,attachment_type:Yi.attachmentType},eo]}const DATA_CATEGORY_OVERRIDES={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function _isOverriddenType(Yi){return Yi in DATA_CATEGORY_OVERRIDES}function envelopeItemTypeToDataCategory(Yi){return _isOverriddenType(Yi)?DATA_CATEGORY_OVERRIDES[Yi]:Yi}function getSdkMetadataForEnvelopeHeader$1(Yi){if(!(Yi!=null&&Yi.sdk))return;const{name:eo,version:to}=Yi.sdk;return{name:eo,version:to}}function createEventEnvelopeHeaders$1(Yi,eo,to,ro){var io;const no=(io=Yi.sdkProcessingMetadata)==null?void 0:io.dynamicSamplingContext;return{event_id:Yi.event_id,sent_at:new Date(safeDateNow$2()).toISOString(),...eo&&{sdk:eo},...!!to&&ro&&{dsn:dsnToString$2(ro)},...no&&{trace:no}}}function _enhanceEventWithSdkInfo(Yi,eo){var ro,no,io,oo;if(!eo)return Yi;const to=Yi.sdk||{};return Yi.sdk={...to,name:to.name||eo.name,version:to.version||eo.version,integrations:[...((ro=Yi.sdk)==null?void 0:ro.integrations)||[],...eo.integrations||[]],packages:[...((no=Yi.sdk)==null?void 0:no.packages)||[],...eo.packages||[]],settings:(io=Yi.sdk)!=null&&io.settings||eo.settings?{...(oo=Yi.sdk)==null?void 0:oo.settings,...eo.settings}:void 0},Yi}function createSessionEnvelope(Yi,eo,to,ro){const no=getSdkMetadataForEnvelopeHeader$1(to),io={sent_at:new Date(safeDateNow$2()).toISOString(),...no&&{sdk:no},...!!ro&&eo&&{dsn:dsnToString$2(eo)}},oo="aggregates"in Yi?[{type:"sessions"},Yi]:[{type:"session"},Yi.toJSON()];return createEnvelope$2(io,[oo])}function createEventEnvelope(Yi,eo,to,ro){const no=getSdkMetadataForEnvelopeHeader$1(to),io=Yi.type&&Yi.type!=="replay_event"?Yi.type:"event";_enhanceEventWithSdkInfo(Yi,to==null?void 0:to.sdk);const oo=createEventEnvelopeHeaders$1(Yi,no,ro,eo);return delete Yi.sdkProcessingMetadata,createEnvelope$2(oo,[[{type:io},Yi]])}function createSpanEnvelope$1(Yi,eo){function to(ho){return!!ho.trace_id&&!!ho.public_key}const ro=getDynamicSamplingContextFromSpan$2(Yi[0]),no=eo==null?void 0:eo.getDsn(),io=eo==null?void 0:eo.getOptions().tunnel,oo={sent_at:new Date(safeDateNow$2()).toISOString(),...to(ro)&&{trace:ro},...!!io&&no&&{dsn:dsnToString$2(no)}},{beforeSendSpan:ao,ignoreSpans:so}=(eo==null?void 0:eo.getOptions())||{},lo=so!=null&&so.length?Yi.filter(ho=>{const mo=spanToJSON$2(ho);return!shouldIgnoreSpan$1({description:mo.description,op:mo.op,attributes:mo.data},so)}):Yi,co=Yi.length-lo.length;co&&(eo==null||eo.recordDroppedEvent("before_send","span",co));const uo=ao?ho=>{const mo=spanToJSON$2(ho),vo=isStreamedBeforeSendSpanCallback$1(ao)?mo:ao(mo);return vo||(showSpanDropWarning$1(),mo)}:spanToJSON$2,fo=[];for(const ho of lo){const mo=uo(ho);mo&&fo.push(createSpanEnvelopeItem$1(mo))}return createEnvelope$2(oo,fo)}function logSpanStart$1(Yi){if(!DEBUG_BUILD$5)return;const{description:eo="< unknown name >",op:to="< unknown op >",parent_span_id:ro}=spanToJSON$2(Yi),{spanId:no}=Yi.spanContext(),io=spanIsSampled$2(Yi),oo=getRootSpan$2(Yi),ao=oo===Yi,so=`[Tracing] Starting ${io?"sampled":"unsampled"} ${ao?"root ":""}span`,lo=[`op: ${to}`,`name: ${eo}`,`ID: ${no}`];if(ro&&lo.push(`parent ID: ${ro}`),!ao){const{op:co,description:uo}=spanToJSON$2(oo);lo.push(`root ID: ${oo.spanContext().spanId}`),co&&lo.push(`root op: ${co}`),uo&&lo.push(`root description: ${uo}`)}debug$5.log(`${so}
29  ${lo.join(`
30  `)}`)}function logSpanEnd$1(Yi){if(!DEBUG_BUILD$5)return;const{description:eo="< unknown name >",op:to="< unknown op >"}=spanToJSON$2(Yi),{spanId:ro}=Yi.spanContext(),io=getRootSpan$2(Yi)===Yi,oo=`[Tracing] Finishing "${to}" ${io?"root ":""}span "${eo}" with ID ${ro}`;debug$5.log(oo)}function timedEventsToMeasurements$1(Yi){if(!Yi||Yi.length===0)return;const eo={};
30return Yi.forEach(to=>{const ro=to.attributes||{},no=ro[SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT$1],io=ro[SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE$1];typeof no=="string"&&typeof io=="number"&&(eo[to.name]={value:io,unit:no})}),eo}function getSegmentSpanCaptureStrategy$1(){return getSentryCarrier$2(getMainCarrier$2()).segmentSpanCaptureStrategy}function hasSpanStreamingEnabled$1(Yi){return Yi.getOptions().traceLifecycle==="stream"}const MAX_SPAN_COUNT$1=1e3;let SentrySpan$1=class{constructor(eo={}){this._traceId=eo.traceId||generateTraceId$2(),this._spanId=eo.spanId||generateSpanId$2(),this._startTime=eo.startTimestamp||timestampInSeconds$2(),this._links=eo.links,this._attributes={},this.setAttributes({[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$2]:"manual",[SEMANTIC_ATTRIBUTE_SENTRY_OP$2]:eo.op,...eo.attributes}),this._name=eo.name,eo.parentSpanId&&(this._parentSpanId=eo.parentSpanId),"sampled"in eo&&(this._sampled=eo.sampled),eo.endTimestamp&&(this._endTime=eo.endTimestamp),this._events=[],this._isStandaloneSpan=eo.isStandalone,this._endTime&&this._onSpanEnded()}addLink(eo){return this._frozen?this:(this._links?this._links.push(eo):this._links=[eo],this)}addLinks(eo){return this._frozen?this:(this._links?this._links.push(...eo):this._links=eo,this)}recordException(eo,to){}spanContext(){const{_spanId:eo,_traceId:to,_sampled:ro}=this;return{spanId:eo,traceId:to,traceFlags:ro?TRACE_FLAG_SAMPLED$2:TRACE_FLAG_NONE$1}}setAttribute(eo,to){return this._frozen?this:(to===void 0?delete this._attributes[eo]:this._attributes[eo]=to,eo===SEMANTIC_ATTRIBUTE_SENTRY_SOURCE$2&&to!==void 0&&spanShouldInferOtelSource$1(this)&&markSpanSourceAsExplicit$1(this),this)}setAttributes(eo){return Object.keys(eo).forEach(to=>this.setAttribute(to,eo[to])),this}updateStartTime(eo){this._frozen||(this._startTime=spanTimeInputToSeconds$2(eo))}setStatus(eo){return this._frozen?this:(this._status=eo,this)}updateName(eo){return this._frozen?this:(this._name=eo,spanShouldInferOtelSource$1(this)||this.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SOURCE$2,"custom"),this)}end(eo){if(this._endTime){this._frozen=spanIsTracerProviderSpan$1(this);return}this._endTime=spanTimeInputToSeconds$2(eo),logSpanEnd$1(this),this._onSpanEnded(),this._frozen=spanIsTracerProviderSpan$1(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_OP$2],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:getStatusMessage$2(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$2],profile_id:this._attributes[SEMANTIC_ATTRIBUTE_PROFILE_ID$1],exclusive_time:this._attributes[SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME$1],measurements:timedEventsToMeasurements$1(this._events),is_segment:this._isStandaloneSpan&&getRootSpan$2(this)===this||void 0,segment_id:this._isStandaloneSpan?getRootSpan$2(this).spanContext().spanId:void 0,links:convertSpanLinksForEnvelope$2(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===getRootSpan$2(this),status:getSimpleStatus$1(this._status),attributes:addStatusMessageAttribute$1(this._attributes,this._status),links:getStreamedSpanLinks$1(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(eo,to,ro){if(this._frozen)return this;DEBUG_BUILD$5&&debug$5.log("[Tracing] Adding an event to span:",eo);const no=isSpanTimeInput$1(to)?to:ro||timestampInSeconds$2(),io=isSpanTimeInput$1(to)?{}:to||{},oo={name:eo,time:spanTimeInputToSeconds$2(no),attributes:io};return this._events.push(oo),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const eo=getClient$2();eo&&(eo.emit("spanEnd",this),this._isStandaloneSpan||eo.emit("afterSpanEnd",this));const to=getRootSpan$2(this),ro=this._isStandaloneSpan||this===to;if(this._isStandaloneSpan){this._sampled?sendSpanEnvelope$1(createSpanEnvelope$1([this],eo)):(DEBUG_BUILD$5&&debug$5.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),eo&&eo.recordDroppedEvent("sample_rate","span"));return}if(!ro){const oo=getSegmentSpanCaptureStrategy$1();if(oo){const ao=getCapturedScopesOnSpan$2(this).scope||getCurrentScope$3();oo.onChildSpanEnded(this,to,so=>this._convertSpanToTransaction(so),ao)}return}
30if(eo&&hasSpanStreamingEnabled$1(eo)){eo.emit("afterSegmentSpanEnd",this);return}const no=getCapturedScopesOnSpan$2(this).scope||getCurrentScope$3(),io=getSegmentSpanCaptureStrategy$1();if(io)io.onSegmentSpanEnded(oo=>this._convertSpanToTransaction(oo),no);else{const oo=this._convertSpanToTransaction();oo&&no.captureEvent(oo)}}_convertSpanToTransaction(eo={}){var uo,fo,ho,mo;if(!isFullFinishedSpan$1(spanToJSON$2(this)))return;this._name||(DEBUG_BUILD$5&&debug$5.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:to,isolationScope:ro}=getCapturedScopesOnSpan$2(this),no=(uo=to==null?void 0:to.getScopeData().sdkProcessingMetadata)==null?void 0:uo.normalizedRequest;if(this._sampled!==!0)return;(fo=eo.onSpanCaptured)==null||fo.call(eo,this);const io=[];for(const vo of getSpanDescendants$1(this)){if(vo===this||isStandaloneSpan$1(vo)||(ho=eo.isSpanAlreadyCaptured)!=null&&ho.call(eo,vo))continue;const Co=spanToJSON$2(vo);isFullFinishedSpan$1(Co)&&((mo=eo.onSpanCaptured)==null||mo.call(eo,vo),io.push(Co))}const oo=this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE$2];delete this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME$1];let ao=!1;io.forEach(vo=>{var Co;delete vo.data[SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME$1],(Co=vo.op)!=null&&Co.startsWith("gen_ai.")&&(ao=!0)});const so={contexts:{trace:spanToTransactionTraceContext$1(this)},spans:io.length>MAX_SPAN_COUNT$1?io.sort((vo,Co)=>vo.start_timestamp-Co.start_timestamp).slice(0,MAX_SPAN_COUNT$1):io,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:to,capturedSpanIsolationScope:ro,dynamicSamplingContext:getDynamicSamplingContextFromSpan$2(this),hasGenAiSpans:ao},request:no,...oo&&{transaction_info:{source:oo}}},lo=timedEventsToMeasurements$1(this._events);return lo&&Object.keys(lo).length&&(DEBUG_BUILD$5&&debug$5.log("[Measurements] Adding measurements to transaction event",JSON.stringify(lo,void 0,2)),so.measurements=lo),so}};function isSpanTimeInput$1(Yi){return Yi&&typeof Yi=="number"||Yi instanceof Date||Array.isArray(Yi)}function isFullFinishedSpan$1(Yi){return!!Yi.start_timestamp&&!!Yi.timestamp&&!!Yi.span_id&&!!Yi.trace_id}function isStandaloneSpan$1(Yi){return Yi instanceof SentrySpan$1&&Yi.isStandaloneSpan()}function sendSpanEnvelope$1(Yi){const eo=getClient$2();if(!eo)return;const to=Yi[1];if(!to||to.length===0){eo.recordDroppedEvent("before_send","span");return}eo.sendEnvelope(Yi)}function sampleSpan$1(Yi,eo,to){if(!hasSpansEnabled$2(Yi))return[!1];let ro,no;typeof Yi.tracesSampler=="function"?(no=Yi.tracesSampler({...eo,inheritOrSampleWith:ao=>typeof eo.parentSampleRate=="number"?eo.parentSampleRate:typeof eo.parentSampled=="boolean"?Number(eo.parentSampled):ao}),ro=!0):eo.parentSampled!==void 0?no=eo.parentSampled:typeof Yi.tracesSampleRate<"u"&&(no=Yi.tracesSampleRate,ro=!0);const io=parseSampleRate$2(no);if(io===void 0)return DEBUG_BUILD$5&&debug$5.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(no)} of type ${JSON.stringify(typeof no)}.`),[!1];if(!io)return DEBUG_BUILD$5&&debug$5.log(`[Tracing] Discarding transaction because ${typeof Yi.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,io,ro];const oo=to<io;return oo||DEBUG_BUILD$5&&debug$5.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(no)})`),[oo,io,ro]}const SUPPRESS_TRACING_KEY$1="__SENTRY_SUPPRESS_TRACING__";function startInactiveSpan$1(Yi){const eo=getAcs$1();return eo.startInactiveSpan?eo.startInactiveSpan(Yi):_startInactiveSpanImpl$1(Yi)}function _startInactiveSpanImpl$1(Yi){const eo=parseSentrySpanArguments$1(Yi),{forceTransaction:to,parentSpan:ro}=Yi;return(Yi.scope?io=>withScope$3(Yi.scope,io):ro!==void 0?io=>withActiveSpan$1(ro,io):io=>io())(()=>{const io=getCurrentScope$3(),oo=getParentSpan$1(io,ro),ao=getClient$2();return Yi.onlyIfParent&&!oo?startMissingRequiredParentSpan$1(io,ao):createChildOrRootSpan$1({parentSpan:oo,spanArguments:eo,forceTransaction:to,scope:io})})}function withActiveSpan$1(Yi,eo){const to=getAcs$1();return to.withActiveSpan?to.withActiveSpan(Yi,eo):withScope$3(ro=>(_setSpanForScope$2(ro,Yi||void 0),eo(ro)))}function isTracingSuppressed$1(Yi=getCurrentScope$3()){const eo=getAcs$1();return eo.isTracingSuppressed?eo.isTracingSuppressed(Yi):Yi.getScopeData().sdkProcessingMetadata[SUPPRESS_TRACING_KEY$1]===!0}function startMissingRequiredParentSpan$1(Yi,eo){eo==null||eo.recordDroppedEvent("no_parent_span","span");const to=new SentryNonRecordingSpan$1({traceId:Yi.getPropagationContext().traceId});return setCapturedScopesOnSpan$1(to,Yi,getIsolationScope$2()),to}function createChildOrRootSpan$1({parentSpan:Yi,spanArguments:eo,forceTransaction:to,scope:ro}){const no=getIsolationScope$2();if(!hasSpansEnabled$2()){const ao={...no.getPropagationContext(),...ro.getPropagationContext()},so=Yi?Yi.spanContext().traceId:ao.traceId,lo=new SentryNonRecordingSpan$1({traceId:so});return Yi&&!to&&addChildSpanToSpan$1(Yi,lo),setCapturedScopesOnSpan$1(lo,ro,no),lo}const io=getClient$2();if(_shouldIgnoreStreamedSpan$1(io,eo)){isTracingSuppressed$1(ro)||io==null||io.recordDroppedEvent("ignored","span");const ao=new SentryNonRecordingSpan$1({dropReason:"ignored",traceId:(Yi==null?void 0:Yi.spanContext().traceId)??ro.getPropagationContext().traceId});return setCapturedScopesOnSpan$1(ao,ro,no),ao}let oo;if(Yi&&!to)oo=_startChildSpan$1(Yi,ro,eo,no),addChildSpanToSpan$1(Yi,oo);else if(Yi){const ao=getDynamicSamplingContextFromSpan$2(Yi),{traceId:so,spanId:lo}=Yi.spanContext(),co=spanIsSampled$2(Yi);oo=_startRootSpan$1({traceId:so,parentSpanId:lo,...eo},ro,no,co),freezeDscOnSpan$1(oo,ao)}else{const{traceId:ao,dsc:so,parentSpanId:lo,sampled:co}={...no.getPropagationContext(),...ro.getPropagationContext()};oo=_startRootSpan$1({traceId:ao,parentSpanId:lo,...eo},ro,no,co),so&&freezeDscOnSpan$1(oo,so)}return logSpanStart$1(oo),oo}function parseSentrySpanArguments$1(Yi){const to={isStandalone:(Yi.experimental||{}).standalone,...Yi};if(Yi.startTime){const ro={...to};return ro.startTimestamp=spanTimeInputToSeconds$2(Yi.startTime),delete ro.startTime,ro}return to}function getAcs$1(){const Yi=getMainCarrier$2();return getAsyncContextStrategy$2(Yi)}function _startRootSpan$1(Yi,eo,to,ro){var Co;const no=getClient$2(),io=(no==null?void 0:no.getOptions())||{},{name:oo=""}=Yi,ao={spanAttributes:{...Yi.attributes},spanName:oo,parentSampled:ro};no==null||no.emit("beforeSampling",ao,{decision:!1});const so=ao.parentSampled??ro,lo=ao.spanAttributes,co=eo.getPropagationContext(),uo=isTracingSuppressed$1(eo),[fo,ho,mo]=uo?[!1]:sampleSpan$1(io,{name:oo,parentSampled:so,attributes:lo,normalizedRequest:to.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:parseSampleRate$2((Co=co.dsc)==null?void 0:Co.sample_rate)},co.sampleRand),vo=new SentrySpan$1({...Yi,attributes:{[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE$2]:"custom",[SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE$2]:ho!==void 0&&mo?ho:void 0,...lo}
30,sampled:fo});return!fo&&no&&!uo&&(DEBUG_BUILD$5&&debug$5.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),no.recordDroppedEvent("sample_rate",hasSpanStreamingEnabled$1(no)?"span":"transaction")),setCapturedScopesOnSpan$1(vo,eo,to),no&&no.emit("spanStart",vo),vo}function _startChildSpan$1(Yi,eo,to,ro){const{spanId:no,traceId:io}=Yi.spanContext(),oo=isTracingSuppressed$1(eo),ao=oo?!1:spanIsSampled$2(Yi),so=ao?new SentrySpan$1({...to,parentSpanId:no,traceId:io,sampled:ao}):new SentryNonRecordingSpan$1({traceId:io});addChildSpanToSpan$1(Yi,so),setCapturedScopesOnSpan$1(so,eo,ro);const lo=getClient$2();return lo&&(hasSpanStreamingEnabled$1(lo)&&spanIsNonRecordingSpan$2(so)&&(spanIsNonRecordingSpan$2(Yi)&&Yi.dropReason?(so.dropReason=Yi.dropReason,lo.recordDroppedEvent(Yi.dropReason,"span")):oo||(so.dropReason="sample_rate",lo.recordDroppedEvent("sample_rate","span"))),lo.emit("spanStart",so),to.endTimestamp&&(lo.emit("spanEnd",so),lo.emit("afterSpanEnd",so))),so}function getParentSpan$1(Yi,eo){if(eo)return eo;if(eo===null)return;const to=_getSpanForScope$2(Yi);if(!to)return;const ro=getClient$2();return(ro?ro.getOptions():{}).parentSpanIsAlwaysRootSpan?getRootSpan$2(to):to}function _shouldIgnoreStreamedSpan$1(Yi,eo){var ro;const to=Yi==null?void 0:Yi.getOptions().ignoreSpans;return!Yi||!hasSpanStreamingEnabled$1(Yi)||!(to!=null&&to.length)?!1:shouldIgnoreSpan$1({description:eo.name||"",op:((ro=eo.attributes)==null?void 0:ro[SEMANTIC_ATTRIBUTE_SENTRY_OP$2])||eo.op,attributes:eo.attributes},to)}const TRACING_DEFAULTS={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},FINISH_REASON_HEARTBEAT_FAILED="heartbeatFailed",FINISH_REASON_IDLE_TIMEOUT="idleTimeout",FINISH_REASON_FINAL_TIMEOUT="finalTimeout",FINISH_REASON_EXTERNAL_FINISH="externalFinish";function startIdleSpan(Yi,eo={}){const to=new Map;let ro=!1,no,io=FINISH_REASON_EXTERNAL_FINISH,oo=!eo.disableAutoFinish;const ao=[],{idleTimeout:so=TRACING_DEFAULTS.idleTimeout,finalTimeout:lo=TRACING_DEFAULTS.finalTimeout,childSpanTimeout:co=TRACING_DEFAULTS.childSpanTimeout,beforeSpanEnd:uo,trimIdleSpanEndTimestamp:fo=!0}=eo,ho=getClient$2(),mo=getCurrentScope$3();if(!ho||!hasSpansEnabled$2()){const To=new SentryNonRecordingSpan$1({traceId:mo.getPropagationContext().traceId});return setCapturedScopesOnSpan$1(To,mo,getIsolationScope$2()),To}const vo=getActiveSpan$2(),Co=_startIdleSpan(Yi);Co.end=new Proxy(Co.end,{apply(To,Ro,Po){if(uo&&uo(Co),spanIsNonRecordingSpan$2(Ro))return;const[zo,...Ho]=Po,Vo=zo||timestampInSeconds$2(),Lo=spanTimeInputToSeconds$2(Vo),Uo=getSpanDescendants$1(Co).filter(Qo=>Qo!==Co),Do=spanToJSON$2(Co);if(!Uo.length||!fo)return So(Lo),Reflect.apply(To,Ro,[Lo,...Ho]);const Oo=ho.getOptions().ignoreSpans,ko=Uo==null?void 0:Uo.reduce((Qo,jo)=>{const Xo=spanToJSON$2(jo);return!Xo.timestamp||Oo&&shouldIgnoreSpan$1({description:Xo.description,op:Xo.op,attributes:Xo.data},Oo)?Qo:Qo?Math.max(Qo,Xo.timestamp):Xo.timestamp},void 0),Bo=Do.start_timestamp,Fo=Math.min(Bo?Bo+lo/1e3:1/0,Math.max(Bo||-1/0,Math.min(Lo,ko||1/0)));return So(Fo),Reflect.apply(To,Ro,[Fo,...Ho])}});function bo(){no&&(clearTimeout(no),no=void 0)}function wo(To){bo(),no=setTimeout(()=>{!ro&&to.size===0&&oo&&(io=FINISH_REASON_IDLE_TIMEOUT,Co.end(To))},so)}function yo(To){no=setTimeout(()=>{!ro&&oo&&(io=FINISH_REASON_HEARTBEAT_FAILED,Co.end(To))},co)}function Eo(To){bo(),to.set(To,!0);const Ro=timestampInSeconds$2();yo(Ro+co/1e3)}function xo(To){if(to.has(To)&&to.delete(To),to.size===0){const Ro=timestampInSeconds$2();wo(Ro+so/1e3)}}function So(To){ro=!0,to.clear(),ao.forEach(Uo=>Uo()),_setSpanForScope$2(mo,vo);const Ro=spanToJSON$2(Co),{start_timestamp:Po}=Ro;if(!Po)return;Ro.data[SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON]||Co.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,io);const Ho=Ro.status;(!Ho||Ho==="unknown")&&Co.setStatus({code:SPAN_STATUS_OK$2}),debug$5.log(`[Tracing] Idle span "${Ro.op}" finished`);const Vo=getSpanDescendants$1(Co).filter(Uo=>Uo!==Co);let Lo=0;Vo.forEach(Uo=>{Uo.isRecording()&&(Uo.setStatus({code:SPAN_STATUS_ERROR,message:"cancelled"}),Uo.end(To),DEBUG_BUILD$5&&debug$5.log("[Tracing] Cancelling span since span ended early",JSON.stringify(Uo,void 0,2)));const Do=spanToJSON$2(Uo),{timestamp:Oo=0,start_timestamp:ko=0}=Do,Bo=ko<=To,Fo=(lo+so)/1e3,Qo=Oo-ko<=Fo;if(DEBUG_BUILD$5){const jo=JSON.stringify(Uo,void 0,2);Bo?Qo||debug$5.log("[Tracing] Discarding span since it finished after idle span final timeout",jo):debug$5.log("[Tracing] Discarding span since it happened after idle span was finished",jo)}(!Qo||!Bo)&&(removeChildSpanFromSpan(Co,Uo),Lo++)}),Lo>0&&Co.setAttribute("sentry.idle_span_discarded_spans",Lo)}return ao.push(ho.on("spanStart",To=>
30{if(ro||To===Co||spanToJSON$2(To).timestamp||To instanceof SentrySpan$1&&To.isStandaloneSpan())return;getSpanDescendants$1(Co).includes(To)&&Eo(To.spanContext().spanId)})),ao.push(ho.on("spanEnd",To=>{ro||xo(To.spanContext().spanId)})),ao.push(ho.on("idleSpanEnableAutoFinish",To=>{To===Co&&(oo=!0,wo(),to.size&&yo())})),eo.disableAutoFinish||wo(),setTimeout(()=>{ro||(Co.setStatus({code:SPAN_STATUS_ERROR,message:"deadline_exceeded"}),io=FINISH_REASON_FINAL_TIMEOUT,Co.end())},lo),Co}function _startIdleSpan(Yi){const eo=startInactiveSpan$1(Yi);return _setSpanForScope$2(getCurrentScope$3(),eo),DEBUG_BUILD$5&&debug$5.log("[Tracing] Started span is an idle span"),eo}function applyScopeDataToEvent$1(Yi,eo){const{fingerprint:to,span:ro,breadcrumbs:no,sdkProcessingMetadata:io}=eo;applyDataToEvent$1(Yi,eo),ro&&applySpanToEvent$1(Yi,ro),applyFingerprintToEvent$1(Yi,to),applyBreadcrumbsToEvent$1(Yi,no),applySdkMetadataToEvent$1(Yi,io)}function mergeScopeData$1(Yi,eo){const{extra:to,tags:ro,attributes:no,user:io,contexts:oo,level:ao,sdkProcessingMetadata:so,breadcrumbs:lo,fingerprint:co,eventProcessors:uo,attachments:fo,propagationContext:ho,transactionName:mo,span:vo}=eo;mergeAndOverwriteScopeData$1(Yi,"extra",to),mergeAndOverwriteScopeData$1(Yi,"tags",ro),mergeAndOverwriteScopeData$1(Yi,"attributes",no),mergeAndOverwriteScopeData$1(Yi,"user",io),mergeAndOverwriteScopeData$1(Yi,"contexts",oo),Yi.sdkProcessingMetadata=merge$3(Yi.sdkProcessingMetadata,so,2),ao&&(Yi.level=ao),mo&&(Yi.transactionName=mo),vo&&(Yi.span=vo),lo.length&&(Yi.breadcrumbs=[...Yi.breadcrumbs,...lo]),co.length&&(Yi.fingerprint=[...Yi.fingerprint,...co]),uo.length&&(Yi.eventProcessors=[...Yi.eventProcessors,...uo]),fo.length&&(Yi.attachments=[...Yi.attachments,...fo]),Yi.propagationContext={...Yi.propagationContext,...ho}}function mergeAndOverwriteScopeData$1(Yi,eo,to){Yi[eo]=merge$3(Yi[eo],to,1)}function getCombinedScopeData$1(Yi,eo){const to=getGlobalScope$1().getScopeData();return Yi&&mergeScopeData$1(to,Yi.getScopeData()),eo&&mergeScopeData$1(to,eo.getScopeData()),to}function applyDataToEvent$1(Yi,eo){const{extra:to,tags:ro,user:no,contexts:io,level:oo,transactionName:ao}=eo;Object.keys(to).length&&(Yi.extra={...to,...Yi.extra}),Object.keys(ro).length&&(Yi.tags={...ro,...Yi.tags}),Object.keys(no).length&&(Yi.user={...no,...Yi.user}),Object.keys(io).length&&(Yi.contexts={...io,...Yi.contexts}),oo&&(Yi.level=oo),ao&&Yi.type!=="transaction"&&(Yi.transaction=ao)}function applyBreadcrumbsToEvent$1(Yi,eo){const to=[...Yi.breadcrumbs||[],...eo];Yi.breadcrumbs=to.length?to:void 0}function applySdkMetadataToEvent$1(Yi,eo){Yi.sdkProcessingMetadata={...Yi.sdkProcessingMetadata,...eo}}function applySpanToEvent$1(Yi,eo){Yi.contexts={trace:spanToTraceContext$1(eo),...Yi.contexts},Yi.sdkProcessingMetadata={dynamicSamplingContext:getDynamicSamplingContextFromSpan$2(eo),...Yi.sdkProcessingMetadata};const to=getRootSpan$2(eo),ro=spanToJSON$2(to).description;ro&&!Yi.transaction&&Yi.type==="transaction"&&(Yi.transaction=ro)}function applyFingerprintToEvent$1(Yi,eo){Yi.fingerprint=Yi.fingerprint?Array.isArray(Yi.fingerprint)?Yi.fingerprint:[Yi.fingerprint]:[],eo&&(Yi.fingerprint=Yi.fingerprint.concat(eo)),Yi.fingerprint.length||delete Yi.fingerprint}function safeSetSpanJSONAttributes$1(Yi,eo){const to=Yi.attributes??(Yi.attributes={});Object.entries(eo).forEach(([ro,no])=>{no!=null&&!(ro in to)&&(to[ro]=no)})}const STATE_PENDING$1=0,STATE_RESOLVED$1=1,STATE_REJECTED$1=2;function resolvedSyncPromise$1(Yi){return new SyncPromise$1(eo=>{eo(Yi)})}function rejectedSyncPromise$1(Yi){return new SyncPromise$1((eo,to)=>{to(Yi)})}let SyncPromise$1=class tA{constructor(eo){this._state=STATE_PENDING$1,this._handlers=[],this._runExecutor(eo)}then(eo,to){return new tA((ro,no)=>{this._handlers.push([!1,io=>{if(!eo)ro(io);else try{ro(eo(io))}catch(oo){no(oo)}},io=>{if(!to)no(io);else try{ro(to(io))}catch(oo){no(oo)}}]),this._executeHandlers()})}catch(eo){return this.then(to=>to,eo)}finally(eo){return new tA((to,ro)=>{let no,io;return this.then(oo=>{io=!1,no=oo,eo&&eo()},oo=>{io=!0,no=oo,eo&&eo()}).then(()=>
vendor: 4,243 bytes, line 30
30{if(io){ro(no);return}to(no)})})}_executeHandlers(){if(this._state===STATE_PENDING$1)return;const eo=this._handlers.slice();this._handlers=[],eo.forEach(to=>{to[0]||(this._state===STATE_RESOLVED$1&&to[1](this._value),this._state===STATE_REJECTED$1&&to[2](this._value),to[0]=!0)})}_runExecutor(eo){const to=(io,oo)=>{if(this._state===STATE_PENDING$1){if(isThenable$2(oo)){oo.then(ro,no);return}this._state=io,this._value=oo,this._executeHandlers()}},ro=io=>{to(STATE_RESOLVED$1,io)},no=io=>{to(STATE_REJECTED$1,io)};try{eo(ro,no)}catch(io){no(io)}}};function notifyEventProcessors$1(Yi,eo,to,ro=0){try{const no=_notifyEventProcessors$1(eo,to,Yi,ro);return isThenable$2(no)?no:resolvedSyncPromise$1(no)}catch(no){return rejectedSyncPromise$1(no)}}function _notifyEventProcessors$1(Yi,eo,to,ro){const no=to[ro];if(!Yi||!no)return Yi;const io=no({...Yi},eo);return DEBUG_BUILD$5&&io===null&&debug$5.log(`Event processor "${no.id||"?"}" dropped event`),isThenable$2(io)?io.then(oo=>_notifyEventProcessors$1(oo,eo,to,ro+1)):_notifyEventProcessors$1(io,eo,to,ro+1)}let parsedStackResults$1,lastSentryKeysCount$1,lastNativeKeysCount$1,cachedFilenameDebugIds$1;function getFilenameToDebugIdMap$1(Yi){const eo=GLOBAL_OBJ$2._sentryDebugIds,to=GLOBAL_OBJ$2._debugIds;if(!eo&&!to)return{};const ro=eo?Object.keys(eo):[],no=to?Object.keys(to):[];if(cachedFilenameDebugIds$1&&ro.length===lastSentryKeysCount$1&&no.length===lastNativeKeysCount$1)return cachedFilenameDebugIds$1;lastSentryKeysCount$1=ro.length,lastNativeKeysCount$1=no.length,cachedFilenameDebugIds$1={},parsedStackResults$1||(parsedStackResults$1={});const io=(oo,ao)=>{for(const so of oo){const lo=ao[so],co=parsedStackResults$1==null?void 0:parsedStackResults$1[so];if(co&&cachedFilenameDebugIds$1&&lo)cachedFilenameDebugIds$1[co[0]]=lo,parsedStackResults$1&&(parsedStackResults$1[so]=[co[0],lo]);else if(lo){const uo=Yi(so);for(let fo=uo.length-1;fo>=0;fo--){const ho=uo[fo],mo=ho==null?void 0:ho.filename;if(mo&&cachedFilenameDebugIds$1&&parsedStackResults$1){cachedFilenameDebugIds$1[mo]=lo,parsedStackResults$1[so]=[mo,lo];break}}}}};return eo&&io(ro,eo),to&&io(no,to),cachedFilenameDebugIds$1}function prepareEvent$1(Yi,eo,to,ro,no,io){const{normalizeDepth:oo=3,normalizeMaxBreadth:ao=1e3}=Yi,so={...eo,event_id:eo.event_id||to.event_id||uuid4$2(),timestamp:eo.timestamp||dateTimestampInSeconds$2()},lo=to.integrations||Yi.integrations.map(bo=>bo.name);applyClientOptions$1(so,Yi),applyIntegrationsMetadata$1(so,lo),no&&no.emit("applyFrameMetadata",eo),eo.type===void 0&&applyDebugIds$1(so,Yi.stackParser);const co=getFinalScope$1(ro,to.captureContext);to.mechanism&&addExceptionMechanism$1(so,to.mechanism);const uo=no?no.getEventProcessors():[],fo=getCombinedScopeData$1(io,co),ho=[...to.attachments||[],...fo.attachments];ho.length&&(to.attachments=ho),applyScopeDataToEvent$1(so,fo);const mo=[...uo,...fo.eventProcessors];return(to.data&&to.data.__sentry__===!0?resolvedSyncPromise$1(so):notifyEventProcessors$1(mo,so,to)).then(bo=>(bo&&applyDebugMeta$1(bo),typeof oo=="number"&&oo>0?normalizeEvent$1(bo,oo,ao):bo))}function applyClientOptions$1(Yi,eo){var ao,so;const{environment:to,release:ro,dist:no,maxValueLength:io}=eo;Yi.environment=Yi.environment||to||DEFAULT_ENVIRONMENT$2,!Yi.release&&ro&&(Yi.release=ro),!Yi.dist&&no&&(Yi.dist=no);const oo=Yi.request;oo!=null&&oo.url&&io&&(oo.url=truncate$3(oo.url,io)),io&&((so=(ao=Yi.exception)==null?void 0:ao.values)==null||so.forEach(lo=>{lo.value&&(lo.value=truncate$3(lo.value,io))}))}function applyDebugIds$1(Yi,eo){var ro,no;const to=getFilenameToDebugIdMap$1(eo);(no=(ro=Yi.exception)==null?void 0:ro.values)==null||no.forEach(io=>{var oo,ao;(ao=(oo=io.stacktrace)==null?void 0:oo.frames)==null||ao.forEach(so=>{so.filename&&(so.debug_id=to[so.filename])})})}function applyDebugMeta$1(Yi){var ro,no;const eo={};if((no=(ro=Yi.exception)==null?void 0:ro.values)==null||no.forEach(io=>{var oo,ao;(ao=(oo=io.stacktrace)==null?void 0:oo.frames)==null||ao.forEach(so=>{so.debug_id&&(so.abs_path?eo[so.abs_path]=so.debug_id:so.filename&&(eo[so.filename]=so.debug_id),delete so.debug_id)})}),Object.keys(eo).length===0)return;Yi.debug_meta=Yi.debug_meta||{},Yi.debug_meta.images=Yi.debug_meta.images||[];const to=Yi.debug_meta.images;
30Object.entries(eo).forEach(([io,oo])=>{to.push({type:"sourcemap",code_file:io,debug_id:oo})})}function applyIntegrationsMetadata$1(Yi,eo){eo.length>0&&(Yi.sdk=Yi.sdk||{},Yi.sdk.integrations=[...Yi.sdk.integrations||[],...eo])}function normalizeEvent$1(Yi,eo,to){var no,io;if(!Yi)return null;const ro={...Yi,...Yi.breadcrumbs&&{breadcrumbs:Yi.breadcrumbs.map(oo=>({...oo,...oo.data&&{data:normalize$2(oo.data,eo,to)}}))},...Yi.user&&{user:normalize$2(Yi.user,eo,to)},...Yi.contexts&&{contexts:normalize$2(Yi.contexts,eo,to)},...Yi.extra&&{extra:normalize$2(Yi.extra,eo,to)}};return(no=Yi.contexts)!=null&&no.trace&&ro.contexts&&(ro.contexts.trace=Yi.contexts.trace,Yi.contexts.trace.data&&(ro.contexts.trace.data=normalize$2(Yi.contexts.trace.data,eo,to))),Yi.spans&&(ro.spans=Yi.spans.map(oo=>({...oo,...oo.data&&{data:normalize$2(oo.data,eo,to)}}))),(io=Yi.contexts)!=null&&io.flags&&ro.contexts&&(ro.contexts.flags=normalize$2(Yi.contexts.flags,3,to)),ro}function getFinalScope$1(Yi,eo){if(!eo)return Yi;const to=Yi?Yi.clone():new Scope$3;return to.update(eo),to}function parseEventHintOrCaptureContext$1(Yi){if(Yi)return hintIsScopeOrFunction$1(Yi)?{captureContext:Yi}:hintIsScopeContext$1(Yi)?{captureContext:Yi}:Yi}function hintIsScopeOrFunction$1(Yi){return Yi instanceof Scope$3||typeof Yi=="function"}const captureContextKeys$1=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function hintIsScopeContext$1(Yi){return Object.keys(Yi).some(eo=>captureContextKeys$1.includes(eo))}function captureException$1(Yi,eo){return getCurrentScope$3().captureException(Yi,parseEventHintOrCaptureContext$1(eo))}function captureEvent(Yi,eo){return getCurrentScope$3().captureEvent(Yi,eo)}function setContext$1(Yi,eo){getIsolationScope$2().setContext(Yi,eo)}function isEnabled$2(){const Yi=getClient$2();return(Yi==null?void 0:Yi.getOptions().enabled)!==!1&&!!(Yi!=null&&Yi.getTransport())}function startSession(Yi){const eo=getIsolationScope$2(),{user:to}=getCombinedScopeData$1(eo,getCurrentScope$3()),{userAgent:ro}=GLOBAL_OBJ$2.navigator||{},no=makeSession$1({user:to,...ro&&{userAgent:ro},...Yi}),io=eo.getSession();return(io==null?void 0:io.status)==="ok"&&updateSession$2(io,{status:"exited"}),endSession(),eo.setSession(no),no}function endSession(){const Yi=getIsolationScope$2(),to=getCurrentScope$3().getSession()||Yi.getSession();to&&closeSession(to),_sendSessionUpdate(),Yi.setSession()}function _sendSessionUpdate(){const Yi=getIsolationScope$2(),eo=getClient$2(),to=Yi.getSession();to&&eo&&eo.captureSession(to)}function captureSession(Yi=!1){if(Yi){endSession();return}_sendSessionUpdate()}function safeUnref(Yi){return typeof Yi=="object"&&typeof Yi.unref=="function"&&Yi.unref(),Yi}const SENTRY_API_VERSION="7";function getBaseApiEndpoint(Yi){const eo=Yi.protocol?`${Yi.protocol}:`:"",to=Yi.port?`:${Yi.port}`:"";return`${eo}//${Yi.host}${to}${Yi.path?`/${Yi.path}`:""}/api/`}function _getIngestEndpoint(Yi){return`${getBaseApiEndpoint(Yi)}${Yi.projectId}/envelope/`}function _encodedAuth(Yi,eo){const to={sentry_version:SENTRY_API_VERSION};return Yi.publicKey&&(to.sentry_key=Yi.publicKey),eo&&(to.sentry_client=`${eo.name}/${eo.version}`),new URLSearchParams(to).toString()}function getEnvelopeEndpointWithUrlEncodedAuth(Yi,eo,to){return eo||`${_getIngestEndpoint(Yi)}?${_encodedAuth(Yi,to)}`}const installedIntegrations=[];function filterDuplicates(Yi){const eo={};return Yi.forEach(to=>{const{name:ro}=to,no=eo[ro];no&&!no.isDefaultInstance&&to.isDefaultInstance||(eo[ro]=to)}),Object.values(eo)}function getIntegrationsToSetup(Yi){const eo=Yi.defaultIntegrations||[],to=Yi.integrations;eo.forEach(no=>{no.isDefaultInstance=!0});let ro;if(Array.isArray(to))ro=[...eo,...to];else if(typeof to=="function"){const no=to(eo);ro=Array.isArray(no)?no:[no]}else ro=eo;return filterDuplicates(ro)}function setupIntegrations(Yi,eo){const to={};return eo.forEach(ro=>{ro!=null&&ro.beforeSetup&&ro.beforeSetup(Yi)}),eo.forEach(ro=>{ro&&setupIntegration(Yi,ro,to)}),to}function afterSetupIntegrations(Yi,eo){for(const to of eo)to!=null&&to.afterAllSetup&&to.afterAllSetup(Yi)}function setupIntegration(Yi,eo,to){if(to[eo.name]){DEBUG_BUILD$5&&debug$5.log(`Integration skipped because it was already installed: ${eo.name}`);return}if(to[eo.name]=eo,!installedIntegrations.includes(eo.name)&&typeof eo.setupOnce=="function"&&(eo.setupOnce(),installedIntegrations.push(eo.name)),eo.setup&&typeof eo.setup=="function"&&eo.setup(Yi),typeof eo.preprocessEvent=="function"){const ro=eo.preprocessEvent.bind(eo);Yi.on("preprocessEvent",(no,io)=>ro(no,io,Yi))}if(typeof eo.processEvent=="function"){const ro=eo.processEvent.bind(eo),no=Object.assign((io,oo)=>ro(io,oo,Yi),{id:eo.name});Yi.addEventProcessor(no)}["processSpan","processSegmentSpan"].forEach(ro=>{const no=eo[ro];typeof no=="function"&&Yi.on(ro,io=>no.call(eo,io,Yi))}),DEBUG_BUILD$5&&debug$5.log(`Integration installed: ${eo.name}`)}function defineIntegration(Yi){return Yi}
30function isBrowserBundle$2(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function getSDKSource(){/*! __SENTRY_SDK_SOURCE__ */return"npm"}function isNodeEnv$2(){return!isBrowserBundle$2()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function isBrowser$5(){return typeof window<"u"&&(!isNodeEnv$2()||isElectronNodeRenderer$2())}function isElectronNodeRenderer$2(){const Yi=GLOBAL_OBJ$2.process;return(Yi==null?void 0:Yi.type)==="renderer"}function createLogContainerEnvelopeItem(Yi,eo){const to=eo?"auto":"never";return[{type:"log",item_count:Yi.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...isBrowser$5()&&{ingest_settings:{infer_ip:to,infer_user_agent:to}},items:Yi}]}function createLogEnvelope(Yi,eo,to,ro,no){const io={};return eo!=null&&eo.sdk&&(io.sdk={name:eo.sdk.name,version:eo.sdk.version}),to&&ro&&(io.dsn=dsnToString$2(ro)),createEnvelope$2(io,[createLogContainerEnvelopeItem(Yi,no)])}function _INTERNAL_flushLogsBuffer(Yi,eo){const to=eo??_INTERNAL_getLogBuffer(Yi)??[];if(to.length===0)return;const ro=Yi.getOptions(),no=createLogEnvelope(to,ro._metadata,ro.tunnel,Yi.getDsn(),Yi.getDataCollectionOptions().userInfo);_getBufferMap$1().set(Yi,[]),Yi.emit("flushLogs"),Yi.sendEnvelope(no)}function _INTERNAL_getLogBuffer(Yi){return _getBufferMap$1().get(Yi)}function _getBufferMap$1(){return getGlobalSingleton$2("clientToLogBufferMap",()=>new WeakMap)}function createMetricContainerEnvelopeItem(Yi,eo){const to=eo?"auto":"never";return[{type:"trace_metric",item_count:Yi.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...isBrowser$5()&&{ingest_settings:{infer_ip:to,infer_user_agent:to}},items:Yi}]}function createMetricEnvelope(Yi,eo,to,ro,no){const io={};return eo!=null&&eo.sdk&&(io.sdk={name:eo.sdk.name,version:eo.sdk.version}),to&&ro&&(io.dsn=dsnToString$2(ro)),createEnvelope$2(io,[createMetricContainerEnvelopeItem(Yi,no)])}function _INTERNAL_flushMetricsBuffer(Yi,eo){const to=eo??_INTERNAL_getMetricBuffer(Yi)??[];if(to.length===0)return;const ro=Yi.getOptions(),no=createMetricEnvelope(to,ro._metadata,ro.tunnel,Yi.getDsn(),Yi.getDataCollectionOptions().userInfo);_getBufferMap().set(Yi,[]),Yi.emit("flushMetrics"),Yi.sendEnvelope(no)}function _INTERNAL_getMetricBuffer(Yi){return _getBufferMap().get(Yi)}function _getBufferMap(){return getGlobalSingleton$2("clientToMetricBufferMap",()=>new WeakMap)}function spanJsonToSerializedStreamedSpan(Yi){const eo={trace_id:Yi.trace_id,span_id:Yi.span_id,parent_span_id:Yi.parent_span_id,name:Yi.description||"",start_timestamp:Yi.start_timestamp,end_timestamp:Yi.timestamp||Yi.start_timestamp,status:!Yi.status||Yi.status==="ok"||Yi.status==="cancelled"?"ok":"error",is_segment:!1,attributes:{...Yi.data},links:Yi.links};return streamedSpanJsonToSerializedSpan(eo)}function extractGenAiSpansFromEvent(Yi,eo){var io,oo,ao;if(Yi.type!=="transaction"||!((io=Yi.spans)!=null&&io.length)||!((oo=Yi.sdkProcessingMetadata)!=null&&oo.hasGenAiSpans)||eo.getOptions().streamGenAiSpans===!1||hasSpanStreamingEnabled$1(eo))return;const to=[],ro=[];for(const so of Yi.spans)(ao=so.op)!=null&&ao.startsWith("gen_ai.")?to.push(spanJsonToSerializedStreamedSpan(so)):ro.push(so);if(to.length===0)return;Yi.spans=ro;const no=eo.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:to.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,...isBrowser$5()&&{ingest_settings:{infer_ip:no,infer_user_agent:no}},items:to}]}const SENTRY_BUFFER_FULL_ERROR=Symbol.for("SentryBufferFullError");function makePromiseBuffer(Yi=100){const eo=new Set;function to(){return eo.size<Yi}function ro(oo){eo.delete(oo)}function no(oo){if(!to())return rejectedSyncPromise$1(SENTRY_BUFFER_FULL_ERROR);const ao=oo();return eo.add(ao),ao.then(()=>ro(ao),()=>ro(ao)),ao}function io(oo){if(!eo.size)return resolvedSyncPromise$1(!0);const ao=Promise.allSettled(Array.from(eo)).then(()=>!0);if(!oo)return ao;const so=[ao,new Promise(lo=>safeUnref(setTimeout(()=>lo(!1),oo)))];return Promise.race(so)}return{get $(){return Array.from(eo)},add:no,drain:io}}const DEFAULT_RETRY_AFTER$1=60*1e3;function parseRetryAfterHeader$1(Yi,eo=safeDateNow$2()){const to=parseInt(`${Yi}`,10);if(!isNaN(to))return to*1e3;const ro=Date.parse(`${Yi}`);return isNaN(ro)?DEFAULT_RETRY_AFTER$1:ro-eo}function disabledUntil$1(Yi,eo){return Yi[eo]||Yi.all||0}function isRateLimited$1(Yi,eo,to=safeDateNow$2()){return disabledUntil$1(Yi,eo)>to}function updateRateLimits$1(Yi,{statusCode:eo,headers:to},ro=safeDateNow$2()){const no={...Yi},io=to==null?void 0:to["x-sentry-rate-limits"],oo=to==null?void 0:to["retry-after"];if(io)for(const ao of io.trim().split(",")){const[so,lo,,,co]=ao.split(":",5),uo=parseInt(so,10),fo=(isNaN(uo)?60:uo)*1e3;if(!lo)no.all=ro+fo;else for(const ho of lo.split(";"))ho==="metric_bucket"?(!co||co.split(";").includes("custom"))&&(no[ho]=ro+fo):no[ho]=ro+fo}else oo?no.all=ro+parseRetryAfterHeader$1(oo,ro):eo===429&&(no.all=ro+60*1e3);return no}const DEFAULT_TRANSPORT_BUFFER_SIZE=64;function createTransport(Yi,eo,to=makePromiseBuffer(Yi.bufferSize||DEFAULT_TRANSPORT_BUFFER_SIZE)){let ro={};const no=oo=>to.drain(oo);function io(oo){const ao=[];if(forEachEnvelopeItem(oo,(uo,fo)=>{const ho=envelopeItemTypeToDataCategory(fo);isRateLimited$1(ro,ho)?Yi.recordDroppedEvent("ratelimit_backoff",ho):ao.push(uo)}),ao.length===0)return Promise.resolve({});const so=createEnvelope$2(oo[0],ao),lo=uo=>{if(envelopeContainsItemType(so,["client_report"])){DEBUG_BUILD$5&&debug$5.warn(`Dropping client report. Will not send outcomes (reason: ${uo}).`);return}forEachEnvelopeItem(so,(fo,ho)=>{Yi.recordDroppedEvent(uo,envelopeItemTypeToDataCategory(ho))})},co=()=>eo({body:serializeEnvelope(so)}).then(uo=>uo.statusCode===413?(DEBUG_BUILD$5&&debug$5.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),lo("send_error"),uo):(DEBUG_BUILD$5&&uo.statusCode!==void 0&&(uo.statusCode<200||uo.statusCode>=300)&&debug$5.warn(`Sentry responded with status code ${uo.statusCode} to sent event.`),ro=updateRateLimits$1(ro,uo),uo),uo=>{throw lo("network_error"),DEBUG_BUILD$5&&debug$5.error("Encountered error running transport request:",uo),uo});return to.add(co).then(uo=>uo,uo=>{if(uo===SENTRY_BUFFER_FULL_ERROR)return DEBUG_BUILD$5&&debug$5.error("Skipped sending event because buffer is full."),lo("queue_overflow"),Promise.resolve({});throw uo})}return{send:io,flush:no}}function createClientReportEnvelope(Yi,eo,to){const ro=[{type:"client_report"},{timestamp:dateTimestampInSeconds$2(),discarded_events:Yi}];return createEnvelope$2(eo?{dsn:eo}:{},[ro])}function getPossibleEventMessages(Yi){const eo=[];Yi.message&&eo.push(Yi.message);try{const to=Yi.exception.values[Yi.exception.values.length-1];to!=null&&to.value&&(eo.push(to.value),to.type&&eo.push(`${to.type}: ${to.value}`))}catch{}return eo}function convertTransactionEventToSpanJson(Yi){var so;const{trace_id:eo,parent_span_id:to,span_id:ro,status:no,origin:io,data:oo,op:ao}=((so=Yi.contexts)==null?void 0:so.trace)??{};return{data:oo??{},description:Yi.transaction,op:ao,parent_span_id:to,span_id:ro??"",start_timestamp:Yi.start_timestamp??0,status:no,timestamp:Yi.timestamp,trace_id:eo??"",origin:io,profile_id:oo==null?void 0:oo[SEMANTIC_ATTRIBUTE_PROFILE_ID$1],exclusive_time:oo==null?void 0:oo[SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME$1],measurements:Yi.measurements,is_segment:!0}}function convertSpanJsonToTransactionEvent(Yi){return{type:"transaction",timestamp:Yi.timestamp,start_timestamp:Yi.start_timestamp,transaction:Yi.description,contexts:{trace:{trace_id:Yi.trace_id,span_id:Yi.span_id,parent_span_id:Yi.parent_span_id,op:Yi.op,status:Yi.status,origin:Yi.origin,data:{...Yi.data,...Yi.profile_id&&{[SEMANTIC_ATTRIBUTE_PROFILE_ID$1]:Yi.profile_id},...Yi.exclusive_time&&{[SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME$1]:Yi.exclusive_time}}}},measurements:Yi.measurements}}const PII_HEADER_SNIPPETS=["forwarded","-ip","remote-","via","-user"];function defaultPiiToCollectionOptions(Yi){return Yi===!0?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],queryParams:!0,genAI:{inputs:!0,outputs:!0}
30,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:PII_HEADER_SNIPPETS},httpHeaders:{request:{deny:PII_HEADER_SNIPPETS},response:{deny:PII_HEADER_SNIPPETS}},httpBodies:[],queryParams:{deny:PII_HEADER_SNIPPETS},genAI:{inputs:!1,outputs:!1},stackFrameVariables:!0,frameContextLines:7}}const DEFAULTS={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],queryParams:!0,genAI:{inputs:!0,outputs:!0},stackFrameVariables:!0,frameContextLines:5};function resolveDataCollectionOptions(Yi){var ro,no,io,oo;const eo=Yi.dataCollection!=null?DEFAULTS:defaultPiiToCollectionOptions(Yi.sendDefaultPii),to=Yi.dataCollection??{};return{userInfo:to.userInfo??eo.userInfo,cookies:to.cookies??eo.cookies,httpHeaders:{request:((ro=to.httpHeaders)==null?void 0:ro.request)??eo.httpHeaders.request,response:((no=to.httpHeaders)==null?void 0:no.response)??eo.httpHeaders.response},httpBodies:to.httpBodies??eo.httpBodies,queryParams:to.queryParams??eo.queryParams,genAI:{inputs:((io=to.genAI)==null?void 0:io.inputs)??eo.genAI.inputs,outputs:((oo=to.genAI)==null?void 0:oo.outputs)??eo.genAI.outputs},stackFrameVariables:to.stackFrameVariables??eo.stackFrameVariables,frameContextLines:to.frameContextLines??eo.frameContextLines}}const ALREADY_SEEN_ERROR="Not capturing exception because it's already been captured.",MISSING_RELEASE_FOR_SESSION_ERROR="Discarded session because of missing or non-string release",INTERNAL_ERROR_SYMBOL=Symbol.for("SentryInternalError"),DO_NOT_SEND_EVENT_SYMBOL=Symbol.for("SentryDoNotSendEventError"),DEFAULT_FLUSH_INTERVAL=5e3;function _makeInternalError(Yi){return{message:Yi,[INTERNAL_ERROR_SYMBOL]:!0}}function _makeDoNotSendEventError(Yi){return{message:Yi,[DO_NOT_SEND_EVENT_SYMBOL]:!0}}function _isInternalError(Yi){return!!Yi&&typeof Yi=="object"&&INTERNAL_ERROR_SYMBOL in Yi}function _isDoNotSendEventError(Yi){return!!Yi&&typeof Yi=="object"&&DO_NOT_SEND_EVENT_SYMBOL in Yi}function setupWeightBasedFlushing(Yi,eo,to,ro,no){let io=0,oo,ao=!1;Yi.on(to,()=>{io=0,clearTimeout(oo),ao=!1}),Yi.on(eo,so=>{if(io+=ro(so),io>=8e5)no(Yi);else if(!ao){const lo=Yi.getOptions()._flushInterval??DEFAULT_FLUSH_INTERVAL;lo>0&&(ao=!0,oo=safeUnref(setTimeout(()=>{no(Yi)},lo)))}}),Yi.on("flush",()=>{no(Yi)})}class Client{constructor(eo){var ro,no,io;if(this._options=eo,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=makePromiseBuffer(((ro=eo.transportOptions)==null?void 0:ro.bufferSize)??DEFAULT_TRANSPORT_BUFFER_SIZE),this._dataCollection=resolveDataCollectionOptions(eo),eo.dsn?this._dsn=makeDsn(eo.dsn):DEBUG_BUILD$5&&debug$5.warn("No DSN provided, client will not send events."),this._dsn){const oo=getEnvelopeEndpointWithUrlEncodedAuth(this._dsn,eo.tunnel,eo._metadata?eo._metadata.sdk:void 0);this._transport=eo.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...eo.transportOptions,url:oo})}this._options.enableLogs=this._options.enableLogs??((no=this._options._experiments)==null?void 0:no.enableLogs),this._options.enableLogs&&setupWeightBasedFlushing(this,"afterCaptureLog","flushLogs",estimateLogSizeInBytes,_INTERNAL_flushLogsBuffer),(this._options.enableMetrics??((io=this._options._experiments)==null?void 0:io.enableMetrics)??!0)&&setupWeightBasedFlushing(this,"afterCaptureMetric","flushMetrics",estimateMetricSizeInBytes,_INTERNAL_flushMetricsBuffer)}captureException(eo,to,ro){const no=uuid4$2();if(checkOrSetAlreadyCaught(eo))return DEBUG_BUILD$5&&debug$5.log(ALREADY_SEEN_ERROR),no;const io={event_id:no,...to};return this._process(()=>this.eventFromException(eo,io).then(oo=>this._captureEvent(oo,io,ro)).then(oo=>oo),"error"),io.event_id}captureMessage(eo,to,ro,no){const io={event_id:uuid4$2(),...ro},oo=isParameterizedString$1(eo)?eo:String(eo),ao=isPrimitive$2(eo),so=ao?this.eventFromMessage(oo,to,io):this.eventFromException(eo,io);return this._process(()=>so.then(lo=>this._captureEvent(lo,io,no)),ao?"unknown":"error"),io.event_id}captureEvent(eo,to,ro){const no=uuid4$2();if(to!=null&&to.originalException&&checkOrSetAlreadyCaught(to.originalException))return DEBUG_BUILD$5&&debug$5.log(ALREADY_SEEN_E
30RROR),no;const io={event_id:no,...to},oo=eo.sdkProcessingMetadata||{},ao=oo.capturedSpanScope,so=oo.capturedSpanIsolationScope,lo=getDataCategoryByType(eo.type);return this._process(()=>this._captureEvent(eo,io,ao||ro,so),lo),io.event_id}captureSession(eo){this.sendSession(eo),updateSession$2(eo,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(eo){const to=this._transport;if(this.emit("flush"),!to)return!0;const ro=await this._isClientDoneProcessing(eo),no=await to.flush(eo);return ro&&no}async close(eo){_INTERNAL_flushLogsBuffer(this);const to=await this.flush(eo);return this.getOptions().enabled=!1,this.emit("close"),to}getEventProcessors(){return this._eventProcessors}addEventProcessor(eo){this._eventProcessors.push(eo)}init(){(this._isEnabled()||this._options.integrations.some(({name:eo})=>eo.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(eo){return this._integrations[eo]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(eo){const to=this._integrations[eo.name];!to&&eo.beforeSetup&&eo.beforeSetup(this),setupIntegration(this,eo,this._integrations),to||afterSetupIntegrations(this,[eo])}sendEvent(eo,to={}){this.emit("beforeSendEvent",eo,to);const ro=extractGenAiSpansFromEvent(eo,this);let no=createEventEnvelope(eo,this._dsn,this._options._metadata,this._options.tunnel);for(const io of to.attachments||[])no=addItemToEnvelope(no,createAttachmentEnvelopeItem(io));ro&&(no=addItemToEnvelope(no,ro)),this.sendEnvelope(no).then(io=>
30this.emit("afterSendEvent",eo,io))}sendSession(eo){const{release:to,environment:ro=DEFAULT_ENVIRONMENT$2}=this._options;if("aggregates"in eo){const io=eo.attrs||{};if(!io.release&&!to){DEBUG_BUILD$5&&debug$5.warn(MISSING_RELEASE_FOR_SESSION_ERROR);return}io.release=io.release||to,io.environment=io.environment||ro,eo.attrs=io}else{if(!eo.release&&!to){DEBUG_BUILD$5&&debug$5.warn(MISSING_RELEASE_FOR_SESSION_ERROR);return}eo.release=eo.release||to,eo.environment=eo.environment||ro}this.emit("beforeSendSession",eo);const no=createSessionEnvelope(eo,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(no)}recordDroppedEvent(eo,to,ro=1){if(this._options.sendClientReports){const no=`${eo}:${to}`;DEBUG_BUILD$5&&debug$5.log(`Recording outcome: "${no}"${ro>1?` (${ro} times)`:""}`),this._outcomes[no]=(this._outcomes[no]||0)+ro}}on(eo,to){const ro=this._hooks[eo]=this._hooks[eo]||new Set,no=(...io)=>to(...io);return ro.add(no),()=>{ro.delete(no)}}emit(eo,...to){const ro=this._hooks[eo];ro&&ro.forEach(no=>no(...to))}async sendEnvelope(eo){if(this.emit("beforeEnvelope",eo),this._isEnabled()&&this._transport)try{return await this._transport.send(eo)}catch(to){return DEBUG_BUILD$5&&debug$5.error("Error while sending envelope:",to),{}}return DEBUG_BUILD$5&&debug$5.error("Transport disabled"),{}}registerCleanup(eo){}dispose(){}_setupIntegrations(){const{integrations:eo}=this._options;this._integrations=setupIntegrations(this,eo),afterSetupIntegrations(this,eo)}_updateSessionFromEvent(eo,to){var so,lo;let ro=to.level==="fatal",no=!1;const io=(so=to.exception)==null?void 0:so.values;if(io){no=!0,ro=!1;for(const co of io)if(((lo=co.mechanism)==null?void 0:lo.handled)===!1){ro=!0;break}}const oo=eo.status==="ok";(oo&&eo.errors===0||oo&&ro)&&(updateSession$2(eo,{...ro&&{status:"crashed"},errors:eo.errors||Number(no||ro)}),this.captureSession(eo))}async _isClientDoneProcessing(eo){let to=0;for(;!eo||to<eo;){if(await new Promise(ro=>setTimeout(ro,1)),!this._numProcessing)return!0;to++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(eo,to,ro,no){const io=this.getOptions(),oo=this.getIntegrationNames();return!to.integrations&&oo.length&&(to.integrations=oo),this.emit("preprocessEvent",eo,to),eo.type||no.setLastEventId(eo.event_id||to.event_id),prepareEvent$1(io,eo,to,ro,this,no).then(ao=>{var lo;if(ao===null)return ao;this.emit("postprocessEvent",ao,to),ao.contexts={trace:{...(lo=ao.contexts)==null?void 0:lo.trace,...getTraceContextFromScope(ro)},...ao.contexts};const so=getDynamicSamplingContextFromScope$2(this,ro);return ao.sdkProcessingMetadata={dynamicSamplingContext:so,...ao.sdkProcessingMetadata},ao})}_captureEvent(eo,to={},ro=getCurrentScope$3(),no=getIsolationScope$2()){return DEBUG_BUILD$5&&isErrorEvent$1(eo)&&debug$5.log(`Captured error event \`${getPossibleEventMessages(eo)[0]||"<unknown>"}\``),this._processEvent(eo,to,ro,no).then(io=>io.event_id,io=>{DEBUG_BUILD$5&&(_isDoNotSendEventError(io)?debug$5.log(io.message):_isInternalError(io)?debug$5.warn(io.message):debug$5.warn(io))})}_processEvent(eo,to,ro,no){const io=this.getOptions(),{sampleRate:oo}=io,ao=isTransactionEvent$1(eo),so=isErrorEvent$1(eo),co=`before send for type \`${eo.type||"error"}\``,uo=typeof oo>"u"?void 0:parseSampleRate$2(oo);if(so&&typeof uo=="number"&&safeMathRandom$2()>uo)return this.recordDroppedEvent("sample_rate","error"),rejectedSyncPromise$1(_makeDoNotSendEventError(`Discarding event because it's not included in the random sample (sampling rate = ${oo})`));const fo=getDataCategoryByType(eo.type);return this._prepareEvent(eo,to,ro,no).then(ho=>{var Co;if(ho===null)throw this.recordDroppedEvent("event_processor",fo),_makeDoNotSendEventError("An event processor returned `null`, will not send event.");if(((Co=to.data)==null?void 0:Co.__sentry__)===!0)return ho;const vo=processBeforeSend(this,io,ho,to);return _validateBeforeSendResult(vo,co)}).then(ho=>{var Co;if(ho===null){if(this.recordDroppedEvent("before_send",fo),ao){const wo=1+(eo.spans||[]).length;this.recordDroppedEvent("before_send","span",wo)}throw _makeDoNotSendEventError(`${co} returned \`null\`, will not send event.`)}const mo=ro.getSession()||no.getSession();if(so&&mo&&this._updateSessionFromEvent(mo,ho),ao){const bo=((Co=ho.sdkProcessingMetadata)==null?void 0:Co.spanCountBeforeProcessing)||0,wo=ho.spans?ho.spans.length:0,yo=bo-wo;yo>0&&this.recordDroppedEvent("before_send","span",yo)}const vo=ho.transaction_info;if(ao&&vo&&ho.transaction!==eo.transaction){const bo="custom";ho.transaction_info={...vo,source:bo}}return this.sendEvent(ho,to),ho}).then(null,ho=>{throw _isDoNotSendEventError(ho)||_isInternalError(ho)?ho:(this.captureException(ho,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:ho}),_makeInternalError(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
31Reason: ${ho}`))})}_process(eo,to){this._numProcessing++,this._promiseBuffer.add(eo).then(ro=>(this._numProcessing--,ro),ro=>(this._numProcessing--,ro===SENTRY_BUFFER_FULL_ERROR&&this.recordDroppedEvent("queue_overflow",to),ro))}_clearOutcomes(){const eo=this._outcomes;return this._outcomes={},Object.entries(eo).map(([to,ro])=>{const[no,io]=to.split(":");return{reason:no,category:io,quantity:ro}})}_flushOutcomes(){DEBUG_BUILD$5&&debug$5.log("Flushing outcomes...");const eo=this._clearOutcomes();if(eo.length===0){DEBUG_BUILD$5&&debug$5.log("No outcomes to send");return}if(!this._dsn){DEBUG_BUILD$5&&debug$5.log("No dsn provided, will not send outcomes");return}DEBUG_BUILD$5&&debug$5.log("Sending outcomes:",eo);const to=createClientReportEnvelope(eo,this._options.tunnel&&dsnToString$2(this._dsn));this.sendEnvelope(to)}}function getDataCategoryByType(Yi){return Yi==="replay_event"?"replay":Yi||"error"}function _validateBeforeSendResult(Yi,eo){const to=`${eo} must return \`null\` or a valid event.`;if(isThenable$2(Yi))return Yi.then(ro=>{if(!isPlainObject$9(ro)&&ro!==null)throw _makeInternalError(to);return ro},ro=>{throw _makeInternalError(`${eo} rejected with ${ro}`)});if(!isPlainObject$9(Yi)&&Yi!==null)throw _makeInternalError(to);return Yi}function processBeforeSend(Yi,eo,to,ro){const{beforeSend:no,beforeSendTransaction:io,ignoreSpans:oo}=eo,ao=!isStreamedBeforeSendSpanCallback$1(eo.beforeSendSpan)&&eo.beforeSendSpan;let so=to;if(isErrorEvent$1(so)&&no)return no(so,ro);if(isTransactionEvent$1(so)){if(ao||oo){const lo=convertTransactionEventToSpanJson(so);if(oo!=null&&oo.length&&shouldIgnoreSpan$1({description:lo.description,op:lo.op,attributes:lo.data},oo))return null;if(ao){const co=ao(lo);co?so=merge$3(to,convertSpanJsonToTransactionEvent(co)):showSpanDropWarning$1()}if(so.spans){const co=[],uo=so.spans;for(const ho of uo){if(oo!=null&&oo.length&&shouldIgnoreSpan$1({description:ho.description,op:ho.op,attributes:ho.data},oo)){reparentChildSpans(uo,ho);continue}if(ao){const mo=ao(ho);mo?co.push(mo):(showSpanDropWarning$1(),co.push(ho))}else co.push(ho)}const fo=so.spans.length-co.length;fo&&Yi.recordDroppedEvent("before_send","span",fo),so.spans=co}}
31if(io){if(so.spans){const lo=so.spans.length;so.sdkProcessingMetadata={...to.sdkProcessingMetadata,spanCountBeforeProcessing:lo}}return io(so,ro)}}return so}function isErrorEvent$1(Yi){return Yi.type===void 0}function isTransactionEvent$1(Yi){return Yi.type==="transaction"}function estimateMetricSizeInBytes(Yi){let eo=0;return Yi.name&&(eo+=Yi.name.length*2),eo+=8,eo+estimateAttributesSizeInBytes(Yi.attributes)}function estimateLogSizeInBytes(Yi){let eo=0;return Yi.message&&(eo+=Yi.message.length*2),eo+estimateAttributesSizeInBytes(Yi.attributes)}function estimateAttributesSizeInBytes(Yi){if(!Yi)return 0;let eo=0;return Object.values(Yi).forEach(to=>{Array.isArray(to)?eo+=to.length*estimatePrimitiveSizeInBytes(to[0]):isPrimitive$2(to)?eo+=estimatePrimitiveSizeInBytes(to):eo+=100}),eo}function estimatePrimitiveSizeInBytes(Yi){return typeof Yi=="string"?Yi.length*2:typeof Yi=="number"?8:typeof Yi=="boolean"?4:0}function initAndBind(Yi,eo){eo.debug===!0&&(DEBUG_BUILD$5?debug$5.enable():consoleSandbox$2(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),getCurrentScope$3().update(eo.initialScope);const ro=new Yi(eo);return setCurrentClient(ro),ro.init(),ro}function setCurrentClient(Yi){getCurrentScope$3().setClient(Yi)}const DEFAULT_BASE_URL$1="thismessage:/";function isURLObjectRelative$1(Yi){return"isRelative"in Yi}function parseStringToURLObject$1(Yi,eo){const to=Yi.indexOf("://")<=0&&Yi.indexOf("//")!==0,ro=to?DEFAULT_BASE_URL$1:void 0;try{if("canParse"in URL&&!URL.canParse(Yi,ro))return;const no=new URL(Yi,ro);return to?{isRelative:to,pathname:no.pathname,search:no.search,hash:no.hash}:no}catch{}}function getSanitizedUrlStringFromUrlObject(Yi){if(isURLObjectRelative$1(Yi))return Yi.pathname;const eo=new URL(Yi);return eo.search="",eo.hash="",["80","443"].includes(eo.port)&&(eo.port=""),eo.password&&(eo.password="%filtered%"),eo.username&&(eo.username="%filtered%"),eo.toString()}function parseUrl$1(Yi){if(!Yi)return{};const eo=Yi.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!eo)return{};const to=eo[6]||"",ro=eo[8]||"";return{host:eo[4],path:eo[5],protocol:eo[2],search:to,hash:ro,relative:eo[5]+to+ro}}function stripUrlQueryAndFragment(Yi){return Yi.split(/[?#]/,1)[0]}function stripDataUrlContent(Yi,eo=!0){if(Yi.startsWith("data:")){const to=Yi.match(/^data:([^;,]+)/),ro=to?to[1]:"text/plain",no=Yi.includes(";base64,"),io=Yi.indexOf(",");let oo="";if(eo&&io!==-1){const ao=Yi.slice(io+1);oo=ao.length>10?`${ao.slice(0,10)}... [truncated]`:ao}return`data:${ro}${no?",base64":""}${oo?`,${oo}`:""}`}return Yi}function addAutoIpAddressToSession(Yi){var eo;"aggregates"in Yi?((eo=Yi.attrs)==null?void 0:eo.ip_address)===void 0&&(Yi.attrs={...Yi.attrs,ip_address:"{{auto}}"}):Yi.ipAddress===void 0&&(Yi.ipAddress="{{auto}}")}function applySdkMetadata$1(Yi,eo,to=[eo],ro="npm"){const no=(Yi._metadata=Yi._metadata||{}).sdk=Yi._metadata.sdk||{};no.name||(no.name=`sentry.javascript.${eo}`,no.packages=to.map(io=>({name:`${ro}:@sentry/${io}`,version:SDK_VERSION$3})),no.version=SDK_VERSION$3)}function getTraceData(Yi={}){const eo=Yi.client||getClient$2();if(!isEnabled$2()||!eo)return{};const to=getMainCarrier$2(),ro=getAsyncContextStrategy$2(to);if(ro.getTraceData)return ro.getTraceData(Yi);const no=Yi.scope||getCurrentScope$3(),io=Yi.span||getActiveSpan$2(),oo=spanIsNonRecordingSpan$2(io)&&!hasSpansEnabled$2(eo.getOptions()),ao=io&&!oo?spanToTraceHeader(io):scopeToTraceHeader(no),so=io?getDynamicSamplingContextFromSpan$2(io):getDynamicSamplingContextFromScope$2(eo,no),lo=dynamicSamplingContextToSentryBaggageHeader(so);if(!TRACEPARENT_REGEXP.test(ao))return debug$5.warn("Invalid sentry-trace data. Cannot generate trace data"),{};const uo={"sentry-trace":ao,baggage:lo};return Yi.propagateTraceparent&&(uo.traceparent=io&&!oo?spanToTraceparentHeader(io):scopeToTraceparentHeader(no)),uo}function scopeToTraceHeader(Yi){const{traceId:eo,sampled:to,propagationSpanId:ro}=Yi.getPropagationContext();return generateSentryTraceHeader(eo,ro,to)}function scopeToTraceparentHeader(Yi){const{traceId:eo,sampled:to,propagationSpanId:ro}=Yi.getPropagationContext();return generateTraceparentHeader(eo,ro,to)}const DEFAULT_BREADCRUMBS$1=100;function addBreadcrumb$1(Yi,eo){const to=getClient$2(),ro=getIsolationScope$2();if(!to)return;const{beforeBreadcrumb:no=null,maxBreadcrumbs:io=DEFAULT_BREADCRUMBS$1}=to.getOptions();if(io<=0)return;const ao={timestamp:dateTimestampInSeconds$2(),...Yi},so=no?consoleSandbox$2(()=>no(ao,eo)):ao;so!==null&&(to.emit&&to.emit("beforeAddBreadcrumb",so,eo),ro.addBreadcrumb(so,io))}let originalFunctionToString;const INTEGRATION_NAME$8="FunctionToString",SETUP_CLIENTS=new WeakMap,_functionToStringIntegration=(()=>({name:INTEGRATION_NAME$8,setupOnce(){originalFunctionToString=Function.prototype.toString;try{Function.prototype.toString=function(...Yi){const eo=getOriginalFunction(this),to=SETUP_CLIENTS.has(getClient$2())&&eo!==void 0?eo:this;return originalFunctionToString.apply(to,Yi)}}catch{}},setup(Yi){SETUP_CLIENTS.set(Yi,!0)}})),functionToStringIntegration=_functionToStringIntegration,DEFAULT_IGNORE_E
vendor: 4,450 bytes, lines 31-38
31RRORS=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/],INTEGRATION_NAME$7="EventFilters",eventFiltersIntegration=(Yi={})=>{let eo;return{name:INTEGRATION_NAME$7,setup(to){const ro=to.getOptions();eo=_mergeOptions(Yi,ro)},processEvent(to,ro,no){if(!eo){const io=no.getOptions();eo=_mergeOptions(Yi,io)}return _shouldDropEvent$1(to,eo)?null:to}}},inboundFiltersIntegration=((Yi={})=>({...eventFiltersIntegration(Yi),name:"InboundFilters"}));function _mergeOptions(Yi={},eo={}){return{allowUrls:[...Yi.allowUrls||[],...eo.allowUrls||[]],denyUrls:[...Yi.denyUrls||[],...eo.denyUrls||[]],ignoreErrors:[...Yi.ignoreErrors||[],...eo.ignoreErrors||[],...Yi.disableErrorDefaults?[]:DEFAULT_IGNORE_ERRORS],ignoreTransactions:[...Yi.ignoreTransactions||[],...eo.ignoreTransactions||[]]}}function _shouldDropEvent$1(Yi,eo){if(Yi.type){if(Yi.type==="transaction"&&_isIgnoredTransaction(Yi,eo.ignoreTransactions))return DEBUG_BUILD$5&&debug$5.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
32Event: ${getEventDescription(Yi)}`),!0}else{if(_isIgnoredError(Yi,eo.ignoreErrors))return DEBUG_BUILD$5&&debug$5.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
33Event: ${getEventDescription(Yi)}`),!0;if(_isUselessError(Yi))return DEBUG_BUILD$5&&debug$5.warn(`Event dropped due to not having an error message, error type or stacktrace.
34Event: ${getEventDescription(Yi)}`),!0;if(_isDeniedUrl(Yi,eo.denyUrls))return DEBUG_BUILD$5&&debug$5.warn(`Event dropped due to being matched by \`denyUrls\` option.
35Event: ${getEventDescription(Yi)}.
36Url: ${_getEventFilterUrl(Yi)}`),!0;if(!_isAllowedUrl(Yi,eo.allowUrls))return DEBUG_BUILD$5&&debug$5.warn(`Event dropped due to not being matched by \`allowUrls\` option.
37Event: ${getEventDescription(Yi)}.
38Url: ${_getEventFilterUrl(Yi)}`),!0}return!1}function _isIgnoredError(Yi,eo){return eo!=null&&eo.length?getPossibleEventMessages(Yi).some(to=>stringMatchesSomePattern$2(to,eo)):!1}function _isIgnoredTransaction(Yi,eo){if(!(eo!=null&&eo.length))return!1;const to=Yi.transaction;return to?stringMatchesSomePattern$2(to,eo):!1}function _isDeniedUrl(Yi,eo){if(!(eo!=null&&eo.length))return!1;const to=_getEventFilterUrl(Yi);return to?stringMatchesSomePattern$2(to,eo):!1}function _isAllowedUrl(Yi,eo){if(!(eo!=null&&eo.length))return!0;const to=_getEventFilterUrl(Yi);return to?stringMatchesSomePattern$2(to,eo):!0}function _getLastValidUrl(Yi=[]){for(let eo=Yi.length-1;eo>=0;eo--){const to=Yi[eo];if(to&&to.filename!=="<anonymous>"&&to.filename!=="[native code]")return to.filename||null}return null}function _getEventFilterUrl(Yi){var eo,to;try{const ro=[...((eo=Yi.exception)==null?void 0:eo.values)??[]].reverse().find(io=>{var oo,ao,so;return((oo=io.mechanism)==null?void 0:oo.parent_id)===void 0&&((so=(ao=io.stacktrace)==null?void 0:ao.frames)==null?void 0:so.length)}),no=(to=ro==null?void 0:ro.stacktrace)==null?void 0:to.frames;return no?_getLastValidUrl(no):null}catch{return DEBUG_BUILD$5&&debug$5.error(`Cannot extract url for event ${getEventDescription(Yi)}`),null}}function _isUselessError(Yi){var eo,to;return(to=(eo=Yi.exception)==null?void 0:eo.values)!=null&&to.length?!Yi.message&&!Yi.exception.values.some(ro=>ro.stacktrace||ro.type&&ro.type!=="Error"||ro.value):!1}function applyAggregateErrorsToEvent(Yi,eo,to,ro,no,io){var ao;if(!((ao=no.exception)!=null&&ao.values)||!io||!isInstanceOf$1(io.originalException,Error))return;const oo=no.exception.values.length>0?no.exception.values[no.exception.values.length-1]:void 0;oo&&(no.exception.values=aggregateExceptionsFromError(Yi,eo,ro,io.originalException,to,no.exception.values,oo,0))}function aggregateExceptionsFromError(Yi,eo,to,ro,no,io,oo,ao){if(io.length>=to+1)return io;let so=[...io];if(isInstanceOf$1(ro[no],Error)){applyExceptionGroupFieldsForParentException(oo,ao,ro);const lo=Yi(eo,ro[no]),co=so.length;applyExceptionGroupFieldsForChildException(lo,no,co,ao),so=aggregateExceptionsFromError(Yi,eo,to,ro[no],no,[lo,...so],lo,co)}
38return isExceptionGroup(ro)&&ro.errors.forEach((lo,co)=>{if(isInstanceOf$1(lo,Error)){applyExceptionGroupFieldsForParentException(oo,ao,ro);const uo=Yi(eo,lo),fo=so.length;applyExceptionGroupFieldsForChildException(uo,`errors[${co}]`,fo,ao),so=aggregateExceptionsFromError(Yi,eo,to,lo,no,[uo,...so],uo,fo)}}),so}function isExceptionGroup(Yi){return Array.isArray(Yi.errors)}function applyExceptionGroupFieldsForParentException(Yi,eo,to){Yi.mechanism={handled:!0,type:"auto.core.linked_errors",...isExceptionGroup(to)&&{is_exception_group:!0},...Yi.mechanism,exception_id:eo}}function applyExceptionGroupFieldsForChildException(Yi,eo,to,ro){Yi.mechanism={handled:!0,...Yi.mechanism,type:"chained",source:eo,exception_id:to,parent_id:ro}}function hasSentryFetchUrlHost(Yi){return isError$1(Yi)&&"__sentry_fetch_url_host__"in Yi&&typeof Yi.__sentry_fetch_url_host__=="string"}function _enhanceErrorWithSentryInfo(Yi){return hasSentryFetchUrlHost(Yi)?`${Yi.message} (${Yi.__sentry_fetch_url_host__})`:Yi.message}const _filter=new Set([]);function addConsoleInstrumentationHandler(Yi){const eo="console",to=addHandler$2(eo,Yi);return maybeInstrument$1(eo,instrumentConsole),to}function instrumentConsole(){"console"in GLOBAL_OBJ$2&&CONSOLE_LEVELS$1.forEach(function(Yi){Yi in GLOBAL_OBJ$2.console&&fill$2(GLOBAL_OBJ$2.console,Yi,function(eo){return originalConsoleMethods$2[Yi]=eo,function(...to){const ro=to[0],no=originalConsoleMethods$2[Yi],io=_filter.size&&typeof ro=="string"&&stringMatchesSomePattern$2(ro,_filter);io||triggerHandlers$2("console",{args:to,level:Yi}),(!io||DEBUG_BUILD$5&&debug$5.isEnabled())&&(no==null||no.apply(GLOBAL_OBJ$2.console,to))}})})}function severityLevelFromString$1(Yi){return Yi==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(Yi)?Yi:"log"}const INTEGRATION_NAME$6="Dedupe",_dedupeIntegration=(()=>{let Yi;return{name:INTEGRATION_NAME$6,processEvent(eo){if(eo.type)return eo;try{if(_shouldDropEvent(eo,Yi))return DEBUG_BUILD$5&&debug$5.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return Yi=eo}}}),dedupeIntegration=_dedupeIntegration;function _shouldDropEvent(Yi,eo){return eo?!!(_isSameMessageEvent(Yi,eo)||_isSameExceptionEvent(Yi,eo)):!1}function _isSameMessageEvent(Yi,eo){const to=Yi.message,ro=eo.message;return!(!to&&!ro||to&&!ro||!to&&ro||to!==ro||!_isSameFingerprint(Yi,eo)||!_isSameStacktrace(Yi,eo))}function _isSameExceptionEvent(Yi,eo){const to=_getExceptionFromEvent(eo),ro=_getExceptionFromEvent(Yi);return!(!to||!ro||to.type!==ro.type||to.value!==ro.value||!_isSameFingerprint(Yi,eo)||!_isSameStacktrace(Yi,eo))}function _isSameStacktrace(Yi,eo){let to=getFramesFromEvent(Yi),ro=getFramesFromEvent(eo);if(!to&&!ro)return!0;if(to&&!ro||!to&&ro||(to=to,ro=ro,ro.length!==to.length))return!1;for(let no=0;no<ro.length;no++){const io=ro[no],oo=to[no];if(io.filename!==oo.filename||io.lineno!==oo.lineno||io.colno!==oo.colno||io.function!==oo.function)return!1}return!0}function _isSameFingerprint(Yi,eo){let to=Yi.fingerprint,ro=eo.fingerprint;if(!to&&!ro)return!0;if(to&&!ro||!to&&ro)return!1;to=to,ro=ro;try{return to.join("")===ro.join("")}catch{return!1}}function _getExceptionFromEvent(Yi){var eo,to;return(to=(eo=Yi.exception)==null?void 0:eo.values)==null?void 0:to[0]}const INTEGRATION_NAME$5="ConversationId",_conversationIdIntegration=(()=>({name:INTEGRATION_NAME$5,setup(Yi){Yi.on("spanStart",eo=>{const to=getCurrentScope$3().getScopeData(),ro=getIsolationScope$2().getScopeData(),no=to.conversationId||ro.conversationId;if(no){const{op:io,data:oo,description:ao}=spanToJSON$2(eo);if(!(io!=null&&io.startsWith("gen_ai."))&&!oo["ai.operationId"]&&!(ao!=null&&ao.startsWith("ai.")))return;eo.setAttribute(GEN_AI_CONVERSATION_ID_ATTRIBUTE,no)}})}})),conversationIdIntegration=_conversationIdIntegration;function instrumentFetchRequest(Yi,eo,to,ro,no){if(!Yi.fetchData)return;const{method:io,url:oo}=Yi.fetchData,ao=hasSpansEnabled$2()&&eo(oo);if(Yi.endTimestamp){const mo=Yi.fetchData.__span;if(!mo)return;const vo=ro[mo];vo&&(ao&&(endSpan(vo,Yi),_callOnRequestSpanEnd(vo,Yi,no)),delete ro[mo]);return}const{spanOrigin:so="auto.http.browser",propagateTraceparent:lo=!1}=typeof no=="object"?no:{spanOrigin:no},co=getClient$2(),fo=!!getActiveSpan$2()||!!co&&hasSpanStreamingEnabled$1(co),ho=ao&&fo?startInactiveSpan$1(getSpanStartOptions(oo,io,so)):new SentryNonRecordingSpan$1;if(ao&&!fo&&(co==null||co.recordDroppedEvent("no_parent_span","span")),Yi.fetchData.__span=ho.spanContext().spanId,ro[ho.spanContext().spanId]=ho,to(Yi.fetchData.url)){const mo=Yi.args[0],vo={...Yi.args[1]||{}},Co=_INTERNAL_getTracingHeadersForFetchRequest(mo,vo,hasSpansEnabled$2()&&fo?ho:void 0,lo);Co&&(Yi.args[1]=vo,vo.headers=Co)}
38if(co){const mo={input:Yi.args,response:Yi.response,startTimestamp:Yi.startTimestamp,endTimestamp:Yi.endTimestamp};co.emit("beforeOutgoingRequestSpan",ho,mo)}return ho}function _callOnRequestSpanEnd(Yi,eo,to){var no;const ro=typeof to=="object"&&to!==null?to.onRequestSpanEnd:void 0;ro==null||ro(Yi,{headers:(no=eo.response)==null?void 0:no.headers,error:eo.error})}function _INTERNAL_getTracingHeadersForFetchRequest(Yi,eo,to,ro){const no=getTraceData({span:to,propagateTraceparent:ro}),io=no["sentry-trace"],oo=no.baggage,ao=no.traceparent;if(!io)return;const so=eo.headers||(isRequest(Yi)?Yi.headers:void 0);if(so)if(isHeaders(so)){const lo=new Headers(so);if(lo.get("sentry-trace")||lo.set("sentry-trace",io),ro&&ao&&!lo.get("traceparent")&&lo.set("traceparent",ao),oo){const co=lo.get("baggage");co?baggageHeaderHasSentryBaggageValues(co)||lo.set("baggage",`${co},${oo}`):lo.set("baggage",oo)}return lo}else if(isHeadersInitTupleArray(so)){const lo=[...so];lo.find(uo=>uo[0]==="sentry-trace")||lo.push(["sentry-trace",io]),ro&&ao&&!lo.find(uo=>uo[0]==="traceparent")&&lo.push(["traceparent",ao]);const co=so.find(uo=>uo[0]==="baggage"&&typeof uo[1]=="string"&&baggageHeaderHasSentryBaggageValues(uo[1]));return oo&&!co&&lo.push(["baggage",oo]),lo}else{const lo="sentry-trace"in so?so["sentry-trace"]:void 0,co="traceparent"in so?so.traceparent:void 0,uo="baggage"in so?so.baggage:void 0,fo=uo?Array.isArray(uo)?[...uo]:[uo]:[],ho=uo&&(Array.isArray(uo)?uo.find(vo=>baggageHeaderHasSentryBaggageValues(vo)):baggageHeaderHasSentryBaggageValues(uo));oo&&!ho&&fo.push(oo);const mo=Object.assign({},so,{"sentry-trace":lo??io,baggage:fo.length>0?fo.join(","):void 0});return ro&&ao&&!co&&(mo.traceparent=ao),mo}else return{...no}}function endSpan(Yi,eo){var to,ro;if(eo.response){setHttpStatus(Yi,eo.response.status);const no=(ro=(to=eo.response)==null?void 0:to.headers)==null?void 0:ro.get("content-length");if(no){const io=parseInt(no);io>0&&Yi.setAttribute("http.response_content_length",io)}}else eo.error&&Yi.setStatus({code:SPAN_STATUS_ERROR,message:"internal_error"});Yi.end()}function baggageHeaderHasSentryBaggageValues(Yi){return typeof Yi!="string"?!1:Yi.split(",").some(eo=>eo.trim().startsWith(SENTRY_BAGGAGE_KEY_PREFIX$2))}function isHeaders(Yi){return typeof Headers<"u"&&isInstanceOf$1(Yi,Headers)}function isHeadersInitTupleArray(Yi){return Array.isArray(Yi)?Yi.every(eo=>Array.isArray(eo)&&eo.length===2&&typeof eo[0]=="string"):!1}function getSpanStartOptions(Yi,eo,to){if(Yi.startsWith("data:")){const io=stripDataUrlContent(Yi);return{name:`${eo} ${io}`,attributes:getFetchSpanAttributes(Yi,void 0,eo,to)}}const ro=parseStringToURLObject$1(Yi),no=ro?getSanitizedUrlStringFromUrlObject(ro):Yi;return{name:`${eo} ${no}`,attributes:getFetchSpanAttributes(Yi,ro,eo,to)}}function getFetchSpanAttributes(Yi,eo,to,ro){const no={url:stripDataUrlContent(Yi),type:"fetch","http.method":to,[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$2]:ro,[SEMANTIC_ATTRIBUTE_SENTRY_OP$2]:"http.client"};return eo&&(isURLObjectRelative$1(eo)||(no["http.url"]=stripDataUrlContent(eo.href),no["server.address"]=eo.host),eo.search&&(no["http.query"]=eo.search),eo.hash&&(no["http.fragment"]=eo.hash)),no}function getBreadcrumbLogLevelFromHttpStatusCode(Yi){if(Yi!==void 0)return Yi>=400&&Yi<500?"warning":Yi>=500?"error":void 0}const WINDOW$7=GLOBAL_OBJ$2;function _isFetchSupported(){if(!("fetch"in WINDOW$7))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function isNativeFunction$1(Yi){return Yi&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(Yi.toString())}function supportsNativeFetch(){var to;if(typeof EdgeRuntime=="string")return!0;if(!_isFetchSupported())return!1;if(isNativeFunction$1(WINDOW$7.fetch))return!0;let Yi=!1;const eo=WINDOW$7.document;if(eo&&typeof eo.createElement=="function")try{const ro=eo.createElement("iframe");ro.hidden=!0,eo.head.appendChild(ro),(to=ro.contentWindow)!=null&&to.fetch&&(Yi=isNativeFunction$1(ro.contentWindow.fetch)),eo.head.removeChild(ro)}catch(ro){DEBUG_BUILD$5&&debug$5.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",ro)}return Yi}function addFetchInstrumentationHandler(Yi,eo){const to="fetch",ro=addHandler$2(to,Yi);return maybeInstrument$1(to,()=>instrumentFetch(void 0,eo)),ro}function addFetchEndInstrumentationHandler(Yi){const eo="fetch-body-resolved",to=addHandler$2(eo,Yi);return maybeInstrument$1(eo,()=>instrumentFetch(streamHandler)),to}function instrumentFetch(Yi,eo=!1){eo&&!supportsNativeFetch()||fill$2(GLOBAL_OBJ$2,"fetch",function(to){return function(...ro){const no=new Error,{method:io,url:oo}=parseFetchArgs(ro),ao={args:ro,fetchData:{method:io,url:oo},startTimestamp:timestampInSeconds$2()*1e3,virtualError:no,headers:getHeadersFromFetchArgs(ro)};return Yi||triggerHandlers$2("fetch",{...ao}),to.apply(GLOBAL_OBJ$2,ro).then(async so=>(Yi?Yi(so):triggerHandlers$2("fetch",{...ao,endTimestamp:timestampInSeconds$2()*1e3,response:so}),so),so=>{triggerHandlers$2("fetch",{...ao,endTimestamp:timestampInSeconds$2()*1e3,error:so}),isError$1(so)&&so.stack===void 0&&(so.stack=no.stack,addNonEnumerableProperty$2(so,"framesToPop",1));
38const lo=getClient$2(),co=(lo==null?void 0:lo.getOptions().enhanceFetchErrorMessages)??"always";if(co!==!1&&so instanceof TypeError&&(so.message==="Failed to fetch"||so.message==="Load failed"||so.message==="NetworkError when attempting to fetch resource."))try{const ho=new URL(ao.fetchData.url).host;co==="always"?so.message=`${so.message} (${ho})`:addNonEnumerableProperty$2(so,"__sentry_fetch_url_host__",ho)}catch{}throw so})}})}async function resolveResponse(Yi,eo){if(Yi!=null&&Yi.body){const to=Yi.body,ro=to.getReader(),no=setTimeout(()=>{to.cancel().then(null,()=>{})},90*1e3);let io=!0;for(;io;){let oo;try{oo=setTimeout(()=>{to.cancel().then(null,()=>{})},5e3);const{done:ao}=await ro.read();clearTimeout(oo),ao&&(eo(),io=!1)}catch{io=!1}finally{clearTimeout(oo)}}clearTimeout(no),ro.releaseLock(),to.cancel().then(null,()=>{})}}function streamHandler(Yi){let eo;try{eo=Yi.clone()}catch{return}resolveResponse(eo,()=>{triggerHandlers$2("fetch-body-resolved",{endTimestamp:timestampInSeconds$2()*1e3,response:Yi})})}function hasProp$1(Yi,eo){return!!Yi&&typeof Yi=="object"&&!!Yi[eo]}function getUrlFromResource(Yi){return typeof Yi=="string"?Yi:Yi?hasProp$1(Yi,"url")?Yi.url:Yi.toString?Yi.toString():"":""}function parseFetchArgs(Yi){if(Yi.length===0)return{method:"GET",url:""};if(Yi.length===2){const[to,ro]=Yi;return{url:getUrlFromResource(to),method:hasProp$1(ro,"method")?String(ro.method).toUpperCase():isRequest(to)&&hasProp$1(to,"method")?String(to.method).toUpperCase():"GET"}}const eo=Yi[0];return{url:getUrlFromResource(eo),method:hasProp$1(eo,"method")?String(eo.method).toUpperCase():"GET"}}function getHeadersFromFetchArgs(Yi){const[eo,to]=Yi;try{if(typeof to=="object"&&to!==null&&"headers"in to&&to.headers)return new Headers(to.headers);if(isRequest(eo))return new Headers(eo.headers)}catch{}}const WINDOW$6=GLOBAL_OBJ$2;function getLocationHref$1(){try{return WINDOW$6.document.location.href}catch{return""}}function getComponentName$1(Yi,eo=5){if(!WINDOW$6.HTMLElement)return null;let to=Yi;for(let ro=0;ro<eo;ro++){if(!to)return null;if(to instanceof HTMLElement){if(to.dataset.sentryComponent)return to.dataset.sentryComponent;if(to.dataset.sentryElement)return to.dataset.sentryElement}to=to.parentNode}return null}const WINDOW$5=GLOBAL_OBJ$2;let ignoreOnError=0;function shouldIgnoreOnError(){return ignoreOnError>0}function ignoreNextOnError(){ignoreOnError++,setTimeout(()=>{ignoreOnError--})}function wrap(Yi,eo={}){function to(no){return typeof no=="function"}if(!to(Yi))return Yi;try{if(Object.prototype.hasOwnProperty.call(Yi,"__sentry_wrapped__")){const io=Yi.__sentry_wrapped__;return typeof io=="function"?io:Yi}if(getOriginalFunction(Yi))return Yi}catch{return Yi}const ro=function(...no){GLOBAL_OBJ$2._sentryWrappedDepth=(GLOBAL_OBJ$2._sentryWrappedDepth||0)+1;try{const io=no.map(oo=>wrap(oo,eo));return Yi.apply(this,io)}catch(io){throw ignoreNextOnError(),withScope$3(oo=>{oo.addEventProcessor(ao=>(eo.mechanism&&(addExceptionTypeValue(ao,void 0),addExceptionMechanism$1(ao,eo.mechanism)),ao.extra={...ao.extra,arguments:no},ao)),captureException$1(io)}),io}finally{GLOBAL_OBJ$2._sentryWrappedDepth=(GLOBAL_OBJ$2._sentryWrappedDepth||0)-1}};try{for(const no in Yi)Object.prototype.hasOwnProperty.call(Yi,no
vendor: 4,068 bytes, line 38
38)&&(ro[no]=Yi[no])}catch{}markFunctionWrapped$2(ro,Yi),addNonEnumerableProperty$2(Yi,"__sentry_wrapped__",ro);try{Object.getOwnPropertyDescriptor(ro,"name").configurable&&Object.defineProperty(ro,"name",{get(){return Yi.name}})}catch{}return ro}function getHttpRequestData(){const Yi=getLocationHref$1(),{referrer:eo}=WINDOW$5.document||{},{userAgent:to}=WINDOW$5.navigator||{},ro={...eo&&{Referer:eo},...to&&{"User-Agent":to}};return{url:Yi,headers:ro}}function exceptionFromError(Yi,eo){const to=parseStackFrames(Yi,eo),ro={type:extractType(eo),value:extractMessage(eo)};return to.length&&(ro.stacktrace={frames:to}),ro.type===void 0&&ro.value===""&&(ro.value="Unrecoverable error caught"),ro}function eventFromPlainObject(Yi,eo,to,ro){const no=getClient$2(),io=no==null?void 0:no.getOptions().normalizeDepth,oo=getErrorPropertyFromObject(eo),ao={__serialized__:normalizeToSize(eo,io)};if(oo)return{exception:{values:[exceptionFromError(Yi,oo)]},extra:ao};const so={exception:{values:[{type:isEvent$1(eo)?eo.constructor.name:ro?"UnhandledRejection":"Error",value:getNonErrorObjectExceptionValue(eo,{isUnhandledRejection:ro})}]},extra:ao};if(to){const lo=parseStackFrames(Yi,to);lo.length&&(so.exception.values[0].stacktrace={frames:lo})}return so}function eventFromError(Yi,eo){return{exception:{values:[exceptionFromError(Yi,eo)]}}}function parseStackFrames(Yi,eo){const to=eo.stacktrace||eo.stack||"",ro=getSkipFirstStackStringLines(eo),no=getPopFirstTopFrames(eo);try{return Yi(to,ro,no)}catch{}return[]}const reactMinifiedRegexp=/Minified React error #\d+;/i;function getSkipFirstStackStringLines(Yi){return Yi&&reactMinifiedRegexp.test(Yi.message)?1:0}function getPopFirstTopFrames(Yi){return typeof Yi.framesToPop=="number"?Yi.framesToPop:0}function isWebAssemblyException(Yi){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?Yi instanceof WebAssembly.Exception:!1}function extractType(Yi){const eo=Yi==null?void 0:Yi.name;return!eo&&isWebAssemblyException(Yi)?Yi.message&&Array.isArray(Yi.message)&&Yi.message.length==2?Yi.message[0]:"WebAssembly.Exception":eo}function extractMessage(Yi){const eo=Yi==null?void 0:Yi.message;return isWebAssemblyException(Yi)?Array.isArray(Yi.message)&&Yi.message.length==2?Yi.message[1]:"wasm exception":eo?eo.error&&typeof eo.error.message=="string"?_enhanceErrorWithSentryInfo(eo.error):_enhanceErrorWithSentryInfo(Yi):"No error message"}function eventFromException(Yi,eo,to,ro){const no=(to==null?void 0:to.syntheticException)||void 0,io=eventFromUnknownInput(Yi,eo,no,ro);return addExceptionMechanism$1(io),io.level="error",to!=null&&to.event_id&&(io.event_id=to.event_id),resolvedSyncPromise$1(io)}function eventFromMessage(Yi,eo,to="info",ro,no){const io=(ro==null?void 0:ro.syntheticException)||void 0,oo=eventFromString(Yi,eo,io,no);return oo.level=to,ro!=null&&ro.event_id&&(oo.event_id=ro.event_id),resolvedSyncPromise$1(oo)}function eventFromUnknownInput(Yi,eo,to,ro,no){var oo,ao;let io;if(isErrorEvent$2(eo)&&eo.error)return eventFromError(Yi,eo.error);if(isDOMError(eo)||isDOMException(eo)){const so=eo;if("stack"in eo){io=eventFromError(Yi,eo);const lo=(ao=(oo=io.exception)==null?void 0:oo.values)==null?void 0:ao[0];if(ro&&to&&lo&&!lo.stacktrace){const co=parseStackFrames(Yi,to);co.length&&(lo.stacktrace={frames:co},addExceptionMechanism$1(io,{synthetic:!0}))}}else{const lo=so.name||(isDOMError(so)?"DOMError":"DOMException"),co=so.message?`${lo}: ${so.message}`:lo;io=eventFromString(Yi,co,to,ro),addExceptionTypeValue(io,co)}return"code"in so&&(io.tags={...io.tags,"DOMException.code":`${so.code}`}),io}return isError$1(eo)?eventFromError(Yi,eo):isPlainObject$9(eo)||isEvent$1(eo)?(io=eventFromPlainObject(Yi,eo,to,no),addExceptionMechanism$1(io,{synthetic:!0}),io):(io=eventFromString(Yi,eo,to,ro),addExceptionTypeValue(io,`${eo}`),addExceptionMechanism$1(io,{synthetic:!0}),io)}function eventFromString(Yi,eo,to,ro){const no={};if(ro&&to){const io=parseStackFrames(Yi,to);io.length&&(no.exception={values:[{value:eo,stacktrace:{frames:io}}]}),addExceptionMechanism$1(no,{synthetic:!0})}
38if(isParameterizedString$1(eo)){const{__sentry_template_string__:io,__sentry_template_values__:oo}=eo;return no.logentry={message:io,params:oo},no}return no.message=eo,no}function getNonErrorObjectExceptionValue(Yi,{isUnhandledRejection:eo}){const to=extractExceptionKeysForMessage(Yi),ro=eo?"promise rejection":"exception";return isErrorEvent$2(Yi)?`Event \`ErrorEvent\` captured as ${ro} with message \`${Yi.message}\``:isEvent$1(Yi)?`Event \`${getObjectClassName(Yi)}\` (type=${Yi.type}) captured as ${ro}`:`Object captured as ${ro} with keys: ${to}`}function getObjectClassName(Yi){try{const eo=Object.getPrototypeOf(Yi);return eo?eo.constructor.name:void 0}catch{}}function getErrorPropertyFromObject(Yi){return Object.values(Yi).find(eo=>eo instanceof Error)}class BrowserClient extends Client{constructor(eo){var oo;const to=applyDefaultOptions(eo),ro=WINDOW$5.SENTRY_SDK_SOURCE||getSDKSource();applySdkMetadata$1(to,"browser",["browser"],ro),super(to);const{userInfo:no}=this.getDataCollectionOptions();(oo=to._metadata)!=null&&oo.sdk&&(to._metadata.sdk.settings={infer_ip:no?"auto":"never",...to._metadata.sdk.settings});const{sendClientReports:io}=this._options;WINDOW$5.document&&WINDOW$5.document.addEventListener("visibilitychange",()=>{WINDOW$5.document.visibilityState==="hidden"&&(io&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),no&&this.on("beforeSendSession",addAutoIpAddressToSession)}eventFromException(eo,to){return eventFromException(this._options.stackParser,eo,to,this._options.attachStacktrace)}eventFromMessage(eo,to="info",ro){return eventFromMessage(this._options.stackParser,eo,to,ro,this._options.attachStacktrace)}_prepareEvent(eo,to,ro,no){return eo.platform=eo.platform||"javascript",super._prepareEvent(eo,to,ro,no)}}function applyDefaultOptions(Yi){var eo;return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:(eo=WINDOW$5.SENTRY_RELEASE)==null?void 0:eo.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...Yi}}const DEBUG_BUILD$4=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,GLOBAL_OBJ$1=globalThis,SDK_VERSION$2="10.64.0";function getMainCarrier$1(){return getSentryCarrier$1(GLOBAL_OBJ$1),GLOBAL_OBJ$1}function getSentryCarrier$1(Yi){const eo=Yi.__SENTRY__=Yi.__SENTRY__||{};return eo.version=eo.version||SDK_VERSION$2,eo[SDK_VERSION$2]=eo[SDK_VERSION$2]||{}}function getGlobalSingleton$1(Yi,eo,to=GLOBAL_OBJ$1){const ro=to.__SENTRY__=to.__SENTRY__||{},no=ro[SDK_VERSION$2]=ro[SDK_VERSION$2]||{};return no[Yi]||(no[Yi]=eo())}const PREFIX$2="Sentry Logger ",originalConsoleMethods$1={};function consoleSandbox$1(Yi){if(!("console"in GLOBAL_OBJ$1))return Yi();const eo=GLOBAL_OBJ$1.console,to={},ro=Object.keys(originalConsoleMethods$1);ro.forEach(no=>{const io=originalConsoleMethods$1[no];to[no]=eo[no],eo[no]=io});try{return Yi()}finally{ro.forEach(no=>{eo[no]=to[no]})}}function enable$1(){_getLoggerSettings$1().enabled=!0}function disable$1(){_getLoggerSettings$1().enabled=!1}function isEnabled$1(){return _getLoggerSettings$1().enabled}function log$2(...Yi){_maybeLog$1("log",...Yi)}function warn$6(...Yi){_maybeLog$1("warn",...Yi)}function error$1(...Yi){_maybeLog$1("error",...Yi)}function _maybeLog$1(Yi,...eo){DEBUG_BUILD$4&&isEnabled$1()&&consoleSandbox$1(()=>{GLOBAL_OBJ$1.console[Yi](`${PREFIX$2}[${Yi}]:`,...eo)})}function _getLoggerSettings$1(){return DEBUG_BUILD$4?getGlobalSingleton$1("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const debug$4={enable:enable$1,disable:disable$1,isEnabled:isEnabled$1,log:log$2,warn:warn$6,error:error$1},defaultFunctionName$1="<anonymous>";function getFunctionName$1(Yi){try{return!Yi||typeof Yi!="function"?defaultFunctionName$1:Yi.name||defaultFunctionName$1}catch{return defaultFunctionName$1}}const handlers$2={},instrumented$1={};function addHandler$1(Yi,eo){return handlers$2[Yi]=handlers$2[Yi]||[],handlers$2[Yi].push(eo),()=>{const to=handlers$2[Yi];if(to){const ro=to.indexOf(eo);ro!==-1&&to.splice(ro,1)}}}function maybeInstrument(Yi,eo){if(!instrumented$1[Yi]){instrumented$1[Yi]=!0;try{eo()}catch(to){DEBUG_BUILD$4&&debug$4.error(`Error while instrumenting ${Yi}`,to)}}}function triggerHandlers$1(Yi,eo){const to=Yi&&handlers$2[Yi];if(to)for(const ro of to)try{ro(eo)}catch(no){DEBUG_BUILD$4&&debug$4.error(`Error while triggering instrumentation handler.
39Type: ${Yi}
40Name: ${getFunctionName$1(ro)}
41Error:`,no)}}const objectToString$3=Object.prototype.toString;function isBuiltin$1(Yi,eo){return objectToString$3.call(Yi)===`[object ${eo}]`}function isString$4(Yi){return isBuiltin$1(Yi,"String")}function isParameterizedString(Yi){return typeof Yi=="object"&&Yi!==null&&"__sentry_template_str
41ing__"in Yi&&"__sentry_template_values__"in Yi}function isPrimitive$1(Yi){return Yi===null||isParameterizedString(Yi)||typeof Yi!="object"&&typeof Yi!="function"}function isPlainObject$8(Yi){return isBuiltin$1(Yi,"Object")}function isRegExp$1(Yi){return isBuiltin$1(Yi,"RegExp")}function isThenable$1(Yi){return!!(Yi!=null&&Yi.then&&typeof Yi.then=="function")}function fill$1(Yi,eo,to){if(!(eo in Yi))return;const ro=Yi[eo];if(typeof ro!="function")return;const no=to(ro);typeof no=="function"&&markFunctionWrapped$1(no,ro);try{Yi[eo]=no}catch{DEBUG_BUILD$4&&debug$4.log(`Failed to replace method "${eo}" in object`,Yi)}}function addNonEnumerableProperty$1(Yi,eo,to){try{Object.defineProperty(Yi,eo,{value:to,writable:!0,configurable:!0})}catch{DEBUG_BUILD$4&&debug$4.log(`Failed to add non-enumerable property "${String(eo)}" to object`,Yi)}}function markFunctionWrapped$1(Yi,eo){try{const to=eo.prototype||{};Yi.prototype=eo.prototype=to,addNonEnumerableProperty$1(Yi,"__sentry_original__",eo)}catch{}}let RESOLVED_RUNNER$1;function withRandomSafeContext$1(Yi){if(RESOLVED_RUNNER$1!==void 0)return RESOLVED_RUNNER$1?RESOLVED_RUNNER$1(Yi):Yi();const eo=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),to=GLOBAL_OBJ$1;return eo in to&&typeof to[eo]=="function"?(RESOLVED_RUNNER$1=to[eo],RESOLVED_RUNNER$1(Yi)):(RESOLVED_RUNNER$1=null,Yi())}function safeMathRandom$1(){return withRandomSafeContext$1(()=>Math.random())}function safeDateNow$1(){return withRandomSafeContext$1(()=>Date.now())}function truncate$2(Yi,eo=0){return typeof Yi!="string"||eo===0||Yi.length<=eo?Yi:`${Yi.slice(0,eo)}...`}function isMatchingPattern$1(Yi,eo,to=!1){return isString$4(Yi)?isRegExp$1(eo)?eo.test(Yi):isString$4(eo)?to?Yi===eo:Yi.includes(eo):typeof eo=="function"?eo(Yi):!1:!1}function stringMatchesSomePattern$1(Yi,eo=[],to=!1){for(const ro of eo)if(isMatchingPattern$1(Yi,ro,to))return!0;return!1}function getCrypto$1(){const Yi=GLOBAL_OBJ$1;return Yi.crypto||Yi.msCrypto}let emptyUuid$1;function getRandomByte$1(){return safeMathRandom$1()*16}function uuid4$1(Yi=getCrypto$1()){try{if(Yi!=null&&Yi.randomUUID)return withRandomSafeContext$1(()=>Yi.randomUUID()).replace(/-/g,"")}catch{}return emptyUuid$1||(emptyUuid$1="10000000100040008000"+1e11),emptyUuid$1.replace(/[018]/g,eo=>(eo^(getRandomByte$1()&15)>>eo/4).toString(16))}const ONE_SECOND_IN_MS$1=1e3;function dateTimestampInSeconds$1(){return safeDateNow$1()/ONE_SECOND_IN_MS$1}function createUnixTimestampInSecondsFunc$1(){const{performance:Yi}=GLOBAL_OBJ$1;if(!(Yi!=null&&Yi.now)||!Yi.timeOrigin)return dateTimestampInSeconds$1;const eo=Yi.timeOrigin;return()=>(eo+withRandomSafeContext$1(()=>Yi.now()))/ONE_SECOND_IN_MS$1}let _cachedTimestampInSeconds$1;function timestampInSeconds$1(){return(_cachedTimestampInSeconds$1??(_cachedTimestampInSeconds$1=createUnixTimestampInSecondsFunc$1()))()}let cachedTimeOrigin$1=null;function getBrowserTimeOrigin$1(){var oo;const{performance:Yi}=GLOBAL_OBJ$1;if(!(Yi!=null&&Yi.now))return;const eo=3e5,to=withRandomSafeContext$1(()=>Yi.now()),ro=safeDateNow$1(),no=Yi.timeOrigin;if(typeof no=="number"&&Math.abs(no+to-ro)<eo)return no;const io=(oo=Yi.timing)==null?void 0:oo.navigationStart;return typeof io=="number"&&Math.abs(io+to-ro)<eo?io:ro-to}function browserPerformanceTimeOrigin$1(){return cachedTimeOrigin$1===null&&(cachedTimeOrigin$1=getBrowserTimeOrigin$1()),cachedTimeOrigin$1}function updateSession$1(Yi,eo={}){if(eo.user&&(!Yi.ipAddress&&eo.user.ip_address&&(Yi.ipAddress=eo.user.ip_address),!Yi.did&&!eo.did&&(Yi.did=eo.user.id||eo.user.email||eo.user.username)),Yi.timestamp=eo.timestamp||timestampInSeconds$1(),eo.abnormal_mechanism&&(Yi.abnormal_mechanism=eo.abnormal_mechanism),eo.ignoreDuration&&(Yi.ignoreDuration=eo.ignoreDuration),eo.sid&&(Yi.sid=eo.sid.length===32?eo.sid:uuid4$1()),eo.init!==void 0&&(Yi.init=eo.init),!Yi.did&&eo.did&&(Yi.did=`${eo.did}`),typeof eo.started=="number"&&(Yi.started=eo.started),Yi.ignoreDuration)Yi.duration=void 0;else if(typeof eo.duration=="number")Yi.duration=eo.duration;else{const to=Yi.timestamp-Yi.started;Yi.duration=to>=0?to:0}eo.release&&(Yi.release=eo.release),eo.environment&&(Yi.environment=eo.environment),!Yi.ipAddress&&eo.ipAddress&&(Yi.ipAddress=eo.ipAddress),!Yi.userAgent&&eo.userAgent&&(Yi.userAgent=eo.userAgent),t
vendor: 6,892 bytes, line 41
41ypeof eo.errors=="number"&&(Yi.errors=eo.errors),eo.status&&(Yi.status=eo.status)}function merge$2(Yi,eo,to=2){if(!eo||typeof eo!="object"||to<=0)return eo;if(Yi&&Object.keys(eo).length===0)return Yi;const ro={...Yi};for(const no in eo)Object.prototype.hasOwnProperty.call(eo,no)&&(ro[no]=merge$2(ro[no],eo[no],to-1));return ro}function generateTraceId$1(){return uuid4$1()}function generateSpanId$1(){return uuid4$1().substring(16)}function makeWeakRef$1(Yi){try{const eo=GLOBAL_OBJ$1.WeakRef;if(typeof eo=="function")return new eo(Yi)}catch{}return Yi}function derefWeakRef$1(Yi){if(Yi){if(typeof Yi=="object"&&"deref"in Yi&&typeof Yi.deref=="function")try{return Yi.deref()}catch{return}return Yi}}const SCOPE_SPAN_FIELD$1="_sentrySpan";function _setSpanForScope$1(Yi,eo){eo?addNonEnumerableProperty$1(Yi,SCOPE_SPAN_FIELD$1,makeWeakRef$1(eo)):delete Yi[SCOPE_SPAN_FIELD$1]}function _getSpanForScope$1(Yi){return derefWeakRef$1(Yi[SCOPE_SPAN_FIELD$1])}const DEFAULT_MAX_BREADCRUMBS$1=100;let Scope$2=class rA{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:generateTraceId$1(),sampleRand:safeMathRandom$1()}}clone(){const eo=new rA;return eo._breadcrumbs=[...this._breadcrumbs],eo._tags={...this._tags},eo._attributes={...this._attributes},eo._extra={...this._extra},eo._contexts={...this._contexts},this._contexts.flags&&(eo._contexts.flags={values:[...this._contexts.flags.values]}),eo._user=this._user,eo._level=this._level,eo._session=this._session,eo._transactionName=this._transactionName,eo._fingerprint=this._fingerprint,eo._eventProcessors=[...this._eventProcessors],eo._attachments=[...this._attachments],eo._sdkProcessingMetadata={...this._sdkProcessingMetadata},eo._propagationContext={...this._propagationContext},eo._client=this._client,eo._lastEventId=this._lastEventId,eo._conversationId=this._conversationId,_setSpanForScope$1(eo,_getSpanForScope$1(this)),eo}setClient(eo){this._client=eo}setLastEventId(eo){this._lastEventId=eo}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(eo){this._scopeListeners.push(eo)}addEventProcessor(eo){return this._eventProcessors.push(eo),this}setUser(eo){return this._user=eo||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&updateSession$1(this._session,{user:eo}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(eo){return this._conversationId=eo||void 0,this._notifyScopeListeners(),this}setTags(eo){return this._tags={...this._tags,...eo},this._notifyScopeListeners(),this}setTag(eo,to){return this.setTags({[eo]:to})}setAttributes(eo){return this._attributes={...this._attributes,...eo},this._notifyScopeListeners(),this}setAttribute(eo,to){return this.setAttributes({[eo]:to})}removeAttribute(eo){return eo in this._attributes&&(delete this._attributes[eo],this._notifyScopeListeners()),this}setExtras(eo){return this._extra={...this._extra,...eo},this._notifyScopeListeners(),this}setExtra(eo,to){return this._extra={...this._extra,[eo]:to},this._notifyScopeListeners(),this}setFingerprint(eo){return this._fingerprint=eo,this._notifyScopeListeners(),this}setLevel(eo){return this._level=eo,this._notifyScopeListeners(),this}setTransactionName(eo){return this._transactionName=eo,this._notifyScopeListeners(),this}setContext(eo,to){return to===null?delete this._contexts[eo]:this._contexts[eo]=to,this._notifyScopeListeners(),this}setSession(eo){return eo?this._session=eo:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(eo){if(!eo)return this;const to=typeof eo=="function"?eo(this):eo,ro=to instanceof rA?to.getScopeData():isPlainObject$8(to)?eo:void 0,{tags:no,attributes:io,extra:oo,user:ao,contexts:so,level:lo,fingerprint:co=[],propagationContext:uo,conversationId:fo}=ro||{};return this._tags={...this._tags,...no},this._attributes={...this._attributes,...io},this._extra={...this._extra,...oo},this._contexts={...this._contexts,...so},ao&&Object.keys(ao).length&&(this._user=ao),lo&&(this._level=lo),co.length&&(this._fingerprint=co),uo&&(this._propagationContext=uo),fo&&(this._conversationId=fo),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,_setSpanForScope$1(this,void 0),this._attachments=[],this.setPropagationContext({traceId:generateTraceId$1(),sampleRand:safeMathRandom$1()}),this._notifyScopeListeners(),this}addBreadcrumb(eo,to){var io;const ro=typeof to=="number"?to:DEFAULT_MAX_BREADCRUMBS$1;if(ro<=0)return this;const no={timestamp:dateTimestampInSeconds$1(),...eo,message:eo.message?truncate$2(eo.message,2048):eo.message};return this._breadcrumbs.push(no),this._breadcrumbs.length>ro&&(this._breadcrumbs=this._breadcrumbs.slice(-ro),(io=this._client)==null||io.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(eo){return this._attachments.push(eo),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:_getSpanForScope$1(this),conversationId:this._conversationId}}setSDKProcessingMetadata(eo){return this._sdkProcessingMetadata=merge$2(this._sdkProcessingMetadata,eo,2),this}setPropagationContext(eo){return this._propagationContext=eo,this}getPropagationContext(){return this._propagationContext}captureException(eo,to){const ro=(to==null?void 0:to.event_id)||uuid4$1();if(!this._client)return DEBUG_BUILD$4&&debug$4.warn("No client configured on scope - will not capture exception!"),ro;const no=new Error("Sentry syntheticException");return this._client.captureException(eo,{originalException:eo,syntheticException:no,...to,event_id:ro},this),ro}captureMessage(eo,to,ro){const no=(ro==null?void 0:ro.event_id)||uuid4$1();if(!this._client)return DEBUG_BUILD$4&&debug$4.warn("No client configured on scope - will not capture message!"),no;const io=(ro==null?void 0:ro.syntheticException)??new Error(eo);return this._client.captureMessage(eo,to,{originalException:eo,syntheticException:io,...ro,event_id:no},this),no}
41captureEvent(eo,to){const ro=eo.event_id||(to==null?void 0:to.event_id)||uuid4$1();return this._client?(this._client.captureEvent(eo,{...to,event_id:ro},this),ro):(DEBUG_BUILD$4&&debug$4.warn("No client configured on scope - will not capture event!"),ro)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(eo=>{eo(this)}),this._notifyingListeners=!1)}};function getDefaultCurrentScope$1(){return getGlobalSingleton$1("defaultCurrentScope",()=>new Scope$2)}function getDefaultIsolationScope$1(){return getGlobalSingleton$1("defaultIsolationScope",()=>new Scope$2)}const isActualPromise$1=Yi=>Yi instanceof Promise&&!Yi[kChainedCopy$1],kChainedCopy$1=Symbol("chained PromiseLike"),chainAndCopyPromiseLike$1=(Yi,eo,to)=>{const ro=Yi.then(no=>(eo(no),no),no=>{throw to(no),no});return isActualPromise$1(ro)&&isActualPromise$1(Yi)?ro:copyProps$1(Yi,ro)},copyProps$1=(Yi,eo)=>{if(!eo)return Yi;let to=!1;for(const ro in Yi){if(ro in eo)continue;to=!0;const no=Yi[ro];typeof no=="function"?Object.defineProperty(eo,ro,{value:(...io)=>no.apply(Yi,io),enumerable:!0,configurable:!0,writable:!0}):eo[ro]=no}return to&&Object.assign(eo,{[kChainedCopy$1]:!0}),eo};let AsyncContextStack$1=class{constructor(eo,to){let ro;eo?ro=eo:ro=new Scope$2;let no;to?no=to:no=new Scope$2,this._stack=[{scope:ro}],this._isolationScope=no}withScope(eo){const to=this._pushScope();let ro;try{ro=eo(to)}catch(no){throw this._popScope(),no}return isThenable$1(ro)?chainAndCopyPromiseLike$1(ro,()=>this._popScope(),()=>this._popScope()):(this._popScope(),ro)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const eo=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:eo}),eo}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}};function getAsyncContextStack$1(){const Yi=getMainCarrier$1(),eo=getSentryCarrier$1(Yi);return eo.stack=eo.stack||new AsyncContextStack$1(getDefaultCurrentScope$1(),getDefaultIsolationScope$1())}function withScope$2(Yi){return getAsyncContextStack$1().withScope(Yi)}function withSetScope$1(Yi,eo){const to=getAsyncContextStack$1();return to.withScope(()=>(to.getStackTop().scope=Yi,eo(Yi)))}function withIsolationScope$1(Yi){return getAsyncContextStack$1().withScope(()=>Yi(getAsyncContextStack$1().getIsolationScope()))}function getStackAsyncContextStrategy$1(){return{withIsolationScope:withIsolationScope$1,withScope:withScope$2,withSetScope:withSetScope$1,withSetIsolationScope:(Yi,eo)=>withIsolationScope$1(eo),getCurrentScope:()=>getAsyncContextStack$1().getScope(),getIsolationScope:()=>getAsyncContextStack$1().getIsolationScope()}}function getAsyncContextStrategy$1(Yi){const eo=getSentryCarrier$1(Yi);return eo.acs?eo.acs:getStackAsyncContextStrategy$1()}function getCurrentScope$2(){const Yi=getMainCarrier$1();return getAsyncContextStrategy$1(Yi).getCurrentScope()}function getIsolationScope$1(){const Yi=getMainCarrier$1();return getAsyncContextStrategy$1(Yi).getIsolationScope()}function withScope$1(...Yi){const eo=getMainCarrier$1(),to=getAsyncContextStrategy$1(eo);if(Yi.length===2){const[ro,no]=Yi;return ro?to.withSetScope(ro,no):to.withScope(no)}return to.withScope(Yi[0])}function getClient$1(){return getCurrentScope$2().getClient()}const SEMANTIC_ATTRIBUTE_SENTRY_SOURCE$1="sentry.source",SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE$1="sentry.sample_rate",SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE$1="sentry.previous_trace_sample_rate",SEMANTIC_ATTRIBUTE_SENTRY_OP$1="sentry.op",SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$1="sentry.origin",SEMANTIC_ATTRIBUTE_SENTRY_STATUS_MESSAGE="sentry.status.message",SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT="sentry.measurement_unit",SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE="sentry.measurement_value",SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME="sentry.custom_span_name",SEMANTIC_ATTRIBUTE_PROFILE_ID="sentry.profile_id",SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME="sentry.exclusive_time",SEMANTIC_ATTRIBUTE_URL_FULL="url.full",SPAN_STATUS_UNSET$1=0,SPAN_STATUS_OK$1=1,SCOPE_ON_START_SPAN_FIELD$1="_sentryScope",ISOLATION_SCOPE_ON_START_SPAN_FIELD$1="_sentryIsolationScope",OTEL_SOURCE_INFERENCE_SPAN_FIELD=Symbol.for("sentry.otelSourceInference"),OTEL_SOURCE_EXPLICITLY_SET_SPAN_FIELD=Symbol.for("sentry.otelSourceExplicitlySet"),TRACER_PROVIDER_SPAN_FIELD=Symbol.for("sentry.tracerProviderSpan");function setCapturedScopesOnSpan(Yi,eo,to){Yi&&(addNonEnumerableProperty$1(Yi,ISOLATION_SCOPE_ON_START_SPAN_FIELD$1,makeWeakRef$1(to)),addNonEnumerableProperty$1(Yi,SCOPE_ON_START_SPAN_FIELD$1,eo))}function getCapturedScopesOnSpan$1(Yi){const eo=Yi;return{scope:eo[SCOPE_ON_START_SPAN_FIELD$1],isolationScope:derefWeakRef$1(eo[ISOLATION_SCOPE_ON_START_SPAN_FIELD$1])}}function spanShouldInferOtelSource(Yi){return Yi[OTEL_SOURCE_INFERENCE_SPAN_FIELD]===!0}function markSpanSourceAsExplicit(Yi){addNonEnumerableProperty$1(Yi,OTEL_SOURCE_EXPLICITLY_SET_SPAN_FIELD,!0)}function spanIsTracerProviderSpan(Yi){return Yi[TRACER_PROVIDER_SPAN_FIELD]===!0}const SENTRY_BAGGAGE_KEY_PREFIX$1="sentry-";function baggageHeaderToDynamicSamplingContext$1(Yi){const eo=parseBaggageHeader$1(Yi);if(!eo)return;const to=Object.entries(eo).reduce((ro,[no,io])=>{if(no.startsWith(SENTRY_BAGGAGE_KEY_PREFIX$1)){const oo=no.slice(SENTRY_BAGGAGE_KEY_PREFIX$1.length);ro[oo]=io}return ro},{});if(Object.keys(to).length>0)return to}function parseBaggageHeader$1(Yi){if(!(!Yi||!isString$4(Yi)&&!Array.isArray(Yi)))return Array.isArray(Yi)?Yi.reduce((eo,to)=>{const ro=baggageHeaderToObject$1(to);
41return Object.entries(ro).forEach(([no,io])=>{eo[no]=io}),eo},{}):baggageHeaderToObject$1(Yi)}function baggageHeaderToObject$1(Yi){return Yi.split(",").map(eo=>{const to=eo.indexOf("=");if(to===-1)return[];const ro=eo.slice(0,to),no=eo.slice(to+1);return[ro,no].map(io=>{try{return decodeURIComponent(io.trim())}catch{return}})}).reduce((eo,[to,ro])=>(to&&ro&&(eo[to]=ro),eo),{})}const ORG_ID_REGEX$1=/^o(\d+)\./;function dsnToString$1(Yi,eo=!1){const{host:to,path:ro,pass:no,port:io,projectId:oo,protocol:ao,publicKey:so}=Yi;return`${ao}://${so}${eo&&no?`:${no}`:""}@${to}${io?`:${io}`:""}/${ro&&`${ro}/`}${oo}`}function extractOrgIdFromDsnHost$1(Yi){const eo=Yi.match(ORG_ID_REGEX$1);return eo==null?void 0:eo[1]}function extractOrgIdFromClient$1(Yi){const eo=Yi.getOptions(),{host:to}=Yi.getDsn()||{};let ro;return eo.orgId?ro=String(eo.orgId):to&&(ro=extractOrgIdFromDsnHost$1(to)),ro}function parseSampleRate$1(Yi){if(typeof Yi=="boolean")return Number(Yi);const eo=typeof Yi=="string"?parseFloat(Yi):Yi;if(!(typeof eo!="number"||isNaN(eo)||eo<0||eo>1))return eo}const TRACE_FLAG_NONE=0,TRACE_FLAG_SAMPLED$1=1;let hasShownSpanDropWarning=!1;function spanToTransactionTraceContext(Yi){const{spanId:eo,traceId:to}=Yi.spanContext(),{data:ro,op:no,parent_span_id:io,status:oo,origin:ao,links:so}=spanToJSON$1(Yi);return{parent_span_id:io,span_id:eo,trace_id:to,data:ro,op:no,status:oo,origin:ao,links:so}}function convertSpanLinksForEnvelope$1(Yi){if(Yi&&Yi.length>0)return Yi.map(({context:{spanId:eo,traceId:to,traceFlags:ro,...no},attributes:io})=>({span_id:eo,trace_id:to,sampled:ro===TRACE_FLAG_SAMPLED$1,attributes:io,...no}))}function getStreamedSpanLinks(Yi){if(Yi!=null&&Yi.length)return Yi.map(({context:{spanId:eo,traceId:to,traceFlags:ro},attributes:no})=>({span_id:eo,trace_id:to,sampled:ro===TRACE_FLAG_SAMPLED$1,attributes:no}))}function spanTimeInputToSeconds$1(Yi){return typeof Yi=="number"?ensureTimestampInSeconds$1(Yi):Array.isArray(Yi)?Yi[0]+Yi[1]/1e9:Yi instanceof Date?ensureTimestampInSeconds$1(Yi.getTime()):timestampInSeconds$1()}function ensureTimestampInSeconds$1(Yi){return Yi>9999999999?Yi/1e3:Yi}function spanToJSON$1(Yi){if(spanIsSentrySpan$1(Yi))return Yi.getSpanJSON();const{spanId:eo,traceId:to}=Yi.spanContext();if(spanIsOpenTelemetrySdkTraceBaseSpan$1(Yi)){const{attributes:ro,startTime:no,name:io,endTime:oo,status:ao,links:so}=Yi;return{span_id:eo,trace_id:to,data:ro,description:io,parent_span_id:getOtelParentSpanId$1(Yi),start_timestamp:spanTimeInputToSeconds$1(no),timestamp:spanTimeInputToSeconds$1(oo)||void 0,status:getStatusMessage$1(ao),op:ro[SEMANTIC_ATTRIBUTE_SENTRY_OP$1],origin:ro[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$1],links:convertSpanLinksForEnvelope$1(so)}}return{span_id:eo,trace_id:to,start_timestamp:0,data:{}}}function spanToStreamedSpanJSON(Yi){if(spanIsSentrySpan$1(Yi))return Yi.getStreamedSpanJSON();const{spanId:eo,traceId:to}=Yi.spanContext();if(spanIsOpenTelemetrySdkTraceBaseSpan$1(Yi)){const{attributes:ro,startTime:no,name:io,endTime:oo,status:ao,links:so}=Yi;return{name:io,span_id:eo,trace_id:to,parent_span_id:getOtelParentSpanId$1(Yi),start_timestamp:spanTimeInputToSeconds$1(no),end_timestamp:spanTimeInputToSeconds$1(oo),is_segment:Yi===INTERNAL_getSegmentSpan$1(Yi),status:getSimpleStatus(ao),attributes:addStatusMessageAttribute(ro,ao),links:getStreamedSpanLinks(so)}}return{span_id:eo,trace_id:to,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:Yi===INTERNAL_getSegmentSpan$1(Yi)}}function getOtelParentSpanId$1(Yi){var eo;return"parentSpanId"in Yi?Yi.parentSpanId:"parentSpanContext"in Yi?(eo=Yi.parentSpanContext)==null?void 0:eo.spanId:void 0}function spanIsOpenTelemetrySdkTraceBaseSpan$1(Yi){const eo=Yi;return!!eo.attributes&&!!eo.startTime&&!!eo.name&&!!eo.endTime&&!!eo.status}function spanIsSentrySpan$1(Yi){return typeof Yi.getSpanJSON=="function"}function spanIsSampled$1(Yi){const{traceFlags:eo}=Yi.spanContext();return eo===TRACE_FLAG_SAMPLED$1}function getStatusMessage$1(Yi){if(!(!Yi||Yi.code===SPAN_STATUS_UNSET$1))return Yi.code===SPAN_STATUS_OK$1?"ok":Yi.message||"internal_error"}function getSimpleStatus(Yi){return!Yi||Yi.code===SPAN_STATUS_OK$1||Yi.code===SPAN_STATUS_UNSET$1||Yi.message==="cancelled"?"ok":"error"}function addStatusMessageAttribute(Yi,eo){const to=getSimpleStatus(eo)==="error"?eo==null?void 0:eo.message:void 0;return{...to&&{[SEMANTIC_ATTRIBUTE_SENTRY_STATUS_MESSAGE]:to},...Yi}}const CHILD_SPANS_FIELD="_sentryChildSpans",ROOT_SPAN_FIELD$1="_sentryRootSpan";function addChildSpanToSpan(Yi,eo){const to=Yi[ROOT_SPAN_FIELD$1]||Yi;addNonEnumerableProperty$1(eo,ROOT_SPAN_FIELD$1,to),Yi[CHILD_SPANS_FIELD]?Yi[CHILD_SPANS_FIELD].add(eo):addNonEnumerableProperty$1(Yi,CHILD_SPANS_FIELD,new Set([eo]))}function getSpanDescendants(Yi){const eo=new Set;function to(ro){if(!eo.has(ro)&&spanIsSampled$1(ro)){eo.add(ro);const no=ro[CHILD_SPANS_FIELD]?Array.from(ro[CHILD_SPANS_FIELD]):[];for(const io of no)to(io)}}return to(Yi),Array.from(eo)}
41const getRootSpan$1=INTERNAL_getSegmentSpan$1;function INTERNAL_getSegmentSpan$1(Yi){return Yi[ROOT_SPAN_FIELD$1]||Yi}function getActiveSpan$1(){const Yi=getMainCarrier$1(),eo=getAsyncContextStrategy$1(Yi);return eo.getActiveSpan?eo.getActiveSpan():_getSpanForScope$1(getCurrentScope$2())}function showSpanDropWarning(){hasShownSpanDropWarning||(consoleSandbox$1(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),hasShownSpanDropWarning=!0)}function hasSpansEnabled$1(Yi){var to;if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const eo=Yi||((to=getClient$1())==null?void 0:to.getOptions());return!!eo&&(eo.tracesSampleRate!=null||!!eo.tracesSampler)}function logIgnoredSpan(Yi){debug$4.log(`Ignoring span ${Yi.op} - ${Yi.description} because it matches \`ignoreSpans\`.`)}function shouldIgnoreSpan(Yi,eo){if(!(eo!=null&&eo.length))return!1;for(const to of eo){if(isStringOrRegExp(to)){if(Yi.description&&isMatchingPattern$1(Yi.description,to))return DEBUG_BUILD$4&&logIgnoredSpan(Yi),!0;continue}const ro=!!to.attributes&&Object.keys(to.attributes).length>0;if(!to.name&&!to.op&&!ro)continue;const no=to.name?Yi.description&&isMatchingPattern$1(Yi.description,to.name):!0,io=to.op?Yi.op&&isMatchingPattern$1(Yi.op,to.op):!0,oo=to.attributes?Object.entries(to.attributes).every(([ao,so])=>{var lo;return _matchesAttributeValue((lo=Yi.attributes)==null?void 0:lo[ao],so)}):!0;if(no&&io&&oo)return DEBUG_BUILD$4&&logIgnoredSpan(Yi),!0}return!1}function _matchesAttributeValue(Yi,eo){return typeof Yi=="string"&&(typeof eo=="string"||eo instanceof RegExp)?isMatchingPattern$1(Yi,eo):Array.isArray(Yi)&&Array.isArray(eo)?Yi.length===eo.length&&Yi.every((to,ro)=>to===eo[ro]):Yi===eo}function isStringOrRegExp(Yi){return typeof Yi=="string"||Yi instanceof RegExp}const NON_RECORDING_SPAN_FIELD$1=Symbol.for("sentry.nonRecordingSpan");class SentryNonRecordingSpan{constructor(eo={}){this._traceId=eo.traceId||generateTraceId$1(),this._spanId=eo.spanId||generateSpanId$1(),this.dropReason=eo.dropReason,addNonEnumerableProperty$1(this,NON_RECORDING_SPAN_FIELD$1,!0)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:TRACE_FLAG_NONE}}end(eo){}setAttribute(eo,to){return this}setAttributes(eo){return this}setStatus(eo){return this}updateName(eo){return this}isRecording(){return!1}addEvent(eo,to,ro){return this}addLink(eo){return this}addLinks(eo){return this}recordException(eo,to){}}function spanIsNonRecordingSpan$1(Yi){return!!Yi&&Yi[NON_RECORDING_SPAN_FIELD$1]===!0}const DEFAULT_ENVIRONMENT$1="production",FROZEN_DSC_FIELD$1="_frozenDsc";function freezeDscOnSpan(Yi,eo){addNonEnumerableProperty$1(Yi,FROZEN_DSC_FIELD$1,eo)}function getDynamicSamplingContextFromClient$1(Yi,eo){const to=eo.getOptions(),{publicKey:ro}=eo.getDsn()||{},no={environment:to.environment||DEFAULT_ENVIRONMENT$1,release:to.release,public_key:ro,trace_id:Yi,org_id:extractOrgIdFromClient$1(eo)};return eo.emit("createDsc",no),no}function getDynamicSamplingContextFromScope$1(Yi,eo){const to=eo.getPropagationContext();return to.dsc||getDynamicSamplingContextFromClient$1(to.traceId,Yi)}function getDynamicSamplingContextFromSpan$1(Yi){var mo;const eo=getClient$1();if(!eo)return{};const to=getRootSpan$1(Yi),ro=spanToJSON$1(to),no=ro.data,io=to.spanContext().traceState,oo=(io==null?void 0:io.get("sentry.sample_rate"))??no[SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE$1]??no[SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE$1];function ao(vo){return(typeof oo=="number"||typeof oo=="string")&&(vo.sample_rate=`${oo}`),vo}const so=to[FROZEN_DSC_FIELD$1];if(so)return ao(so);if(spanIsNonRecordingSpan$1(to)&&!hasSpansEnabled$1(eo.getOptions())){const vo=getCapturedScopesOnSpan$1(to).scope;if(vo)return ao({...getDynamicSamplingContextFromScope$1(eo,vo)})}const lo=io==null?void 0:io.get("sentry.dsc"),co=lo&&baggageHeaderToDynamicSamplingContext$1(lo);if(co)return ao(co);const uo=getDynamicSamplingContextFromClient$1(Yi.spanContext().traceId,eo),fo=no[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE$1]??no[Sp],ho=ro.description;return fo!=="url"&&ho&&(uo.transaction=ho),hasSpansEnabled$1()&&(uo.sampled=String(spanIsSampled$1(to)),uo.sample_rand=(io==null?void 0:io.get("sentry.sample_rand"))??((mo=getCapturedScopesOnSpan$1(to).scope)==null?void 0:mo.getPropagationContext().sampleRand.toString())),ao(uo),eo.emit("createDsc",uo,to),uo}function isStreamedBeforeSendSpanCallback(Yi){return!!Yi&&typeof Yi=="function"&&"_streamed"in Yi&&!!Yi._streamed}function createEnvelope$1(Yi,eo=[]){return[Yi,eo]}function createSpanEnvelopeItem(Yi){return[{type:"span"},Yi]}function createSpanEnvelope(Yi,eo){function to(ho){return!!ho.trace_id&&!!ho.public_key}const ro=getDynamicSamplingContextFromSpan$1(Yi[0]),no=eo==null?void 0:eo.getDsn(),io=eo==null?void 0:eo.getOptions().tunnel,oo={sent_at:new Date(safeDateNow$1()).toISOString(),...to(ro)&&{trace:ro},...!!io&&no&&{dsn:dsnToString$1(no)}},{beforeSendSpan:ao,ignoreSpans:so}=(eo==null?void 0:eo.getOptions())||{},lo=so!=null&&so.length?Yi.filter(ho=>{const mo=spanToJSON$1(ho);return!shouldIgnoreSpan({description:mo.description,op:mo.op,attributes:mo.data},so)}):Yi,co=Yi.length-lo.length;
41co&&(eo==null||eo.recordDroppedEvent("before_send","span",co));const uo=ao?ho=>{const mo=spanToJSON$1(ho),vo=isStreamedBeforeSendSpanCallback(ao)?mo:ao(mo);return vo||(showSpanDropWarning(),mo)}:spanToJSON$1,fo=[];for(const ho of lo){const mo=uo(ho);mo&&fo.push(createSpanEnvelopeItem(mo))}return createEnvelope$1(oo,fo)}function logSpanStart(Yi){if(!DEBUG_BUILD$4)return;const{description:eo="< unknown name >",op:to="< unknown op >",parent_span_id:ro}=spanToJSON$1(Yi),{spanId:no}=Yi.spanContext(),io=spanIsSampled$1(Yi),oo=getRootSpan$1(Yi),ao=oo===Yi,so=`[Tracing] Starting ${io?"sampled":"unsampled"} ${ao?"root ":""}span`,lo=[`op: ${to}`,`name: ${eo}`,`ID: ${no}`];if(ro&&lo.push(`parent ID: ${ro}`),!ao){const{op:co,description:uo}=spanToJSON$1(oo);lo.push(`root ID: ${oo.spanContext().spanId}`),co&&lo.push(`root op: ${co}`),uo&&lo.push(`root description: ${uo}`)}debug$4.log(`${so}
42  ${lo.join(`
43  `)}`)}function logSpanEnd(Yi){if(!DEBUG_BUILD$4)return;const{description:eo="< unknown name >",op:to="< unknown op >"}=spanToJSON$1(Yi),{spanId:ro}=Yi.spanContext(),io=getRootSpan$1(Yi)===Yi,oo=`[Tracing] Finishing "${to}" ${io?"root ":""}span "${eo}" with ID ${ro}`;debug$4.log(oo)}function setMeasurement(Yi,eo,to,ro=getActiveSpan$1()){const no=ro&&getRootSpan$1(ro);no&&(DEBUG_BUILD$4&&debug$4.log(`[Measurement] Setting measurement on root span: ${Yi} = ${eo} ${to}`),no.addEvent(Yi,{[SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:eo,[SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:to}))}function timedEventsToMeasurements(Yi){if(!Yi||Yi.length===0)return;const eo={};return Yi.forEach(to=>{const ro=to.attributes||{},no=ro[SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT],io=ro[SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE];typeof no=="string"&&typeof io=="number"&&(eo[to.name]={value:io,unit:no})}),eo}function getSegmentSpanCaptureStrategy(){return getSentryCarrier$1(getMainCarrier$1()).segmentSpanCaptureStrategy}function hasSpanStreamingEnabled(Yi){return Yi.getOptions().traceLifecycle==="stream"}const MAX_SPAN_COUNT=1e3;class SentrySpan{constructor(eo={}){this._traceId=eo.traceId||generateTraceId$1(),this._spanId=eo.spanId||generateSpanId$1(),this._startTime=eo.startTimestamp||timestampInSeconds$1(),this._links=eo.links,this._attributes={},this.setAttributes({[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$1]:"manual",[SEMANTIC_ATTRIBUTE_SENTRY_OP$1]:eo.op,...eo.attributes}),this._name=eo.name,eo.parentSpanId&&(this._parentSpanId=eo.parentSpanId),"sampled"in eo&&(this._sampled=eo.sampled),eo.endTimestamp&&(this._endTime=eo.endTimestamp),this._events=[],this._isStandaloneSpan=eo.isStandalone,this._endTime&&this._onSpanEnded()}addLink(eo){return this._frozen?this:(this._links?this._links.push(eo):this._links=[eo],this)}addLinks(eo){return this._frozen?this:(this._links?this._links.push(...eo):this._links=eo,this)}recordException(eo,to){}spanContext(){const{_spanId:eo,_traceId:to,_sampled:ro}=this;return{spanId:eo,traceId:to,traceFlags:ro?TRACE_FLAG_SAMPLED$1:TRACE_FLAG_NONE}}setAttribute(eo,to){return this._frozen?this:(to===void 0?delete this._attributes[eo]:this._attributes[eo]=to,eo===SEMANTIC_ATTRIBUTE_SENTRY_SOURCE$1&&to!==void 0&&spanShouldInferOtelSource(this)&&markSpanSourceAsExplicit(this),this)}setAttributes(eo){return Object.keys(eo).forEach(to=>this.setAttribute(to,eo[to])),this}updateStartTime(eo){this._frozen||(this._startTime=spanTimeInputToSeconds$1(eo))}setStatus(eo){return this._frozen?this:(this._status=eo,this)}updateName(eo){return this._frozen?this:(this._name=eo,spanShouldInferOtelSource(this)||this.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SOURCE$1,"custom"),this)}end(eo){if(this._endTime){this._frozen=spanIsTracerProviderSpan(this);return}this._endTime=spanTimeInputToSeconds$1(eo),logSpanEnd(this),this._onSpanEnded(),this._frozen=spanIsTracerProviderSpan(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_OP$1],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:getStatusMessage$1(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$1],profile_id:this._attributes[SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:this._attributes[SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:timedEventsToMeasurements(this._events),is_segment:this._isStandaloneSpan&&getRootSpan$1(this)===this||void 0,segment_id:this._isStandaloneSpan?getRootSpan$1(this).spanContext().spanId:void 0,links:convertSpanLinksForEnvelope$1(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===getRootSpan$1(this),status:getSimpleStatus(this._status),attributes:addStatusMessageAttribute(this._attributes,this._status),links:getStreamedSpanLinks(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}
43addEvent(eo,to,ro){if(this._frozen)return this;DEBUG_BUILD$4&&debug$4.log("[Tracing] Adding an event to span:",eo);const no=isSpanTimeInput(to)?to:ro||timestampInSeconds$1(),io=isSpanTimeInput(to)?{}:to||{},oo={name:eo,time:spanTimeInputToSeconds$1(no),attributes:io};return this._events.push(oo),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const eo=getClient$1();eo&&(eo.emit("spanEnd",this),this._isStandaloneSpan||eo.emit("afterSpanEnd",this));const to=getRootSpan$1(this),ro=this._isStandaloneSpan||this===to;if(this._isStandaloneSpan){this._sampled?sendSpanEnvelope(createSpanEnvelope([this],eo)):(DEBUG_BUILD$4&&debug$4.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),eo&&eo.recordDroppedEvent("sample_rate","span"));return}if(!ro){const oo=getSegmentSpanCaptureStrategy();if(oo){const ao=getCapturedScopesOnSpan$1(this).scope||getCurrentScope$2();oo.onChildSpanEnded(this,to,so=>this._convertSpanToTransaction(so),ao)}return}if(eo&&hasSpanStreamingEnabled(eo)){eo.emit("afterSegmentSpanEnd",this);return}const no=getCapturedScopesOnSpan$1(this).scope||getCurrentScope$2(),io=getSegmentSpanCaptureStrategy();if(io)io.onSegmentSpanEnded(oo=>this._convertSpanToTransaction(oo),no);else{const oo=this._convertSpanToTransaction();oo&&no.captureEvent(oo)}}_convertSpanToTransaction(eo={}){var uo,fo,ho,mo;if(!isFullFinishedSpan(spanToJSON$1(this)))return;this._name||(DEBUG_BUILD$4&&debug$4.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:to,isolationScope:ro}=getCapturedScopesOnSpan$1(this),no=(uo=to==null?void 0:to.getScopeData().sdkProcessingMetadata)==null?void 0:uo.normalizedRequest;if(this._sampled!==!0)return;(fo=eo.onSpanCaptured)==null||fo.call(eo,this);const io=[];for(const vo of getSpanDescendants(this)){if(vo===this||isStandaloneSpan(vo)||(ho=eo.isSpanAlreadyCaptured)!=null&&ho.call(eo,vo))continue;const Co=spanToJSON$1(vo);isFullFinishedSpan(Co)&&((mo=eo.onSpanCaptured)==null||mo.call(eo,vo),io.push(Co))}const oo=this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE$1];delete this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME];let ao=!1;io.forEach(vo=>{var Co;delete vo.data[SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME],(Co=vo.op)!=null&&Co.startsWith("gen_ai.")&&(ao=!0)});const so={contexts:{trace:spanToTransactionTraceContext(this)},spans:io.length>MAX_SPAN_COUNT?io.sort((vo,Co)=>vo.start_timestamp-Co.start_timestamp).slice(0,MAX_SPAN_COUNT):io,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:to,capturedSpanIsolationScope:ro,dynamicSamplingContext:getDynamicSamplingContextFromSpan$1(this),hasGenAiSpans:ao},request:no,...oo&&{transaction_info:{source:oo}}},lo=timedEventsToMeasurements(this._events);return lo&&Object.keys(lo).length&&(DEBUG_BUILD$4&&debug$4.log("[Measurements] Adding measurements to transaction event",JSON.stringify(lo,void 0,2)),so.measurements=lo),so}}function isSpanTimeInput(Yi){return Yi&&typeof Yi=="number"||Yi instanceof Date||Array.isArray(Yi)}function isFullFinishedSpan(Yi){return!!Yi.start_timestamp&&!!Yi.timestamp&&!!Yi.span_id&&!!Yi.trace_id}function isStandaloneSpan(Yi){return Yi instanceof SentrySpan&&Yi.isStandaloneSpan()}function sendSpanEnvelope(Yi){const eo=getClient$1();if(!eo)return;const to=Yi[1];if(!to||to.length===0){eo.recordDroppedEvent("before_send","span");return}eo.sendEnvelope(Yi)}function sampleSpan(Yi,eo,to){if(!hasSpansEnabled$1(Yi))return[!1];let ro,no;typeof Yi.tracesSampler=="function"?(no=Yi.tracesSampler({...eo,inheritOrSampleWith:ao=>typeof eo.parentSampleRate=="number"?eo.parentSampleRate:typeof eo.parentSampled=="boolean"?Number(eo.parentSampled):ao}),ro=!0):eo.parentSampled!==void 0?no=eo.parentSampled:typeof Yi.tracesSampleRate<"u"&&(no=Yi.tracesSampleRate,ro=!0);const io=parseSampleRate$1(no);if(io===void 0)return DEBUG_BUILD$4&&debug$4.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(no)} of type ${JSON.stringify(typeof no)}.`),[!1];if(!io)return DEBUG_BUILD$4&&debug$4.log(`[Tracing] Discarding transaction because ${typeof Yi.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,io,ro];const oo=to<io;return oo||DEBUG_BUILD$4&&debug$4.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(no)})`),[oo,io,ro]}const SUPPRESS_TRACING_KEY="__SENTRY_SUPPRESS_TRACING__";function startInactiveSpan(Yi){const eo=getAcs();return eo.startInactiveSpan?eo.startInactiveSpan(Yi):_startInactiveSpanImpl(Yi)}function _startInactiveSpanImpl(Yi){const eo=parseSentrySpanArguments(Yi),{forceTransaction:to,parentSpan:ro}=Yi;return(Yi.scope?io=>withScope$1(Yi.scope,io):ro!==void 0?io=>withActiveSpan(ro,io):io=>io())(()=>{const io=getCurrentScope$2(),oo=getParentSpan(io,ro),ao=getClient$1();return Yi.onlyIfParent&&!oo?startMissingRequiredParentSpan(io,ao):createChildOrRootSpan({parentSpan:oo,spanArguments:eo,forceTransaction:to,scope:io})})}function withActiveSpan(Yi,eo){const to=getAcs();return to.withActiveSpan?to.withActiveSpan(Yi,eo):withScope$1(ro=>
43(_setSpanForScope$1(ro,Yi||void 0),eo(ro)))}function isTracingSuppressed(Yi=getCurrentScope$2()){const eo=getAcs();return eo.isTracingSuppressed?eo.isTracingSuppressed(Yi):Yi.getScopeData().sdkProcessingMetadata[SUPPRESS_TRACING_KEY]===!0}function startMissingRequiredParentSpan(Yi,eo){eo==null||eo.recordDroppedEvent("no_parent_span","span");const to=new SentryNonRecordingSpan({traceId:Yi.getPropagationContext().traceId});return setCapturedScopesOnSpan(to,Yi,getIsolationScope$1()),to}function createChildOrRootSpan({parentSpan:Yi,spanArguments:eo,forceTransaction:to,scope:ro}){const no=getIsolationScope$1();if(!hasSpansEnabled$1()){const ao={...no.getPropagationContext(),...ro.getPropagationContext()},so=Yi?Yi.spanContext().traceId:ao.traceId,lo=new SentryNonRecordingSpan({traceId:so});return Yi&&!to&&addChildSpanToSpan(Yi,lo),setCapturedScopesOnSpan(lo,ro,no),lo}const io=getClient$1();if(_shouldIgnoreStreamedSpan(io,eo)){isTracingSuppressed(ro)||io==null||io.recordDroppedEvent("ignored","span");const ao=new SentryNonRecordingSpan({dropReason:"ignored",traceId:(Yi==null?void 0:Yi.spanContext().traceId)??ro.getPropagationContext().traceId});return setCapturedScopesOnSpan(ao,ro,no),ao}let oo;if(Yi&&!to)oo=_startChildSpan(Yi,ro,eo,no),addChildSpanToSpan(Yi,oo);else if(Yi){const ao=getDynamicSamplingContextFromSpan$1(Yi),{traceId:so,spanId:lo}=Yi.spanContext(),co=spanIsSampled$1(Yi);oo=_startRootSpan({traceId:so,parentSpanId:lo,...eo},ro,no,co),freezeDscOnSpan(oo,ao)}else{const{traceId:ao,dsc:so,parentSpanId:lo,sampled:co}={...no.getPropagationContext(),...ro.getPropagationContext()};oo=_startRootSpan({traceId:ao,parentSpanId:lo,...eo},ro,no,co),so&&freezeDscOnSpan(oo,so)}return logSpanStart(oo),oo}function parseSentrySpanArguments(Yi){const to={isStandalone:(Yi.experimental||{}).standalone,...Yi};if(Yi.startTime){const ro={...to};return ro.startTimestamp=spanTimeInputToSeconds$1(Yi.startTime),delete ro.startTime,ro}return to}function getAcs(){const Yi=getMainCarrier$1();return getAsyncContextStrategy$1(Yi)}function _startRootSpan(Yi,eo,to,ro){var Co;const no=getClient$1(),io=(no==null?void 0:no.getOptions())||{},{name:oo=""}=Yi,ao={spanAttributes:{...Yi.attributes},spanName:oo,parentSampled:ro};no==null||no.emit("beforeSampling",ao,{decision:!1});const so=ao.parentSampled??ro,lo=ao.spanAttributes,co=eo.getPropagationContext(),uo=isTracingSuppressed(eo),[fo,ho,mo]=uo?[!1]:sampleSpan(io,{name:oo,parentSampled:so,attributes:lo,normalizedRequest:to.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:parseSampleRate$1((Co=co.dsc)==null?void 0:Co.sample_rate)},co.sampleRand),vo=new SentrySpan({...Yi,attributes:{[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE$1]:"custom",[SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE$1]:ho!==void 0&&mo?ho:void 0,...lo},sampled:fo});return!fo&&no&&!uo&&(DEBUG_BUILD$4&&debug$4.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),no.recordDroppedEvent("sample_rate",hasSpanStreamingEnabled(no)?"span":"transaction")),setCapturedScopesOnSpan(vo,eo,to),no&&no.emit("spanStart",vo),vo}function _startChildSpan(Yi,eo,to,ro){const{spanId:no,traceId:io}=Yi.spanContext(),oo=isTracingSuppressed(eo),ao=oo?!1:spanIsSampled$1(Yi),so=ao?new SentrySpan({...to,parentSpanId:no,traceId:io,sampled:ao}):new SentryNonRecordingSpan({traceId:io});addChildSpanToSpan(Yi,so),setCapturedScopesOnSpan(so,eo,ro);const lo=getClient$1();return lo&&(hasSpanStreamingEnabled(lo)&&spanIsNonRecordingSpan$1(so)&&(spanIsNonRecordingSpan$1(Yi)&&Yi.dropReason?(so.dropReason=Yi.dropReason,lo.recordDroppedEvent(Yi.dropReason,"span")):oo||(so.dropReason="sample_rate",lo.recordDroppedEvent("sample_rate","span"))),lo.emit("spanStart",so),to.endTimestamp&&(lo.emit("spanEnd",so),lo.emit("afterSpanEnd",so))),so}function getParentSpan(Yi,eo){if(eo)return eo;if(eo===null)return;const to=_getSpanForScope$1(Yi);if(!to)return;const ro=getClient$1();return(ro?ro.getOptions():{}).parentSpanIsAlwaysRootSpan?getRootSpan$1(to):to}function _shouldIgnoreStreamedSpan(Yi,eo){var ro;const to=Yi==null?void 0:Yi.getOptions().ignoreSpans;return!Yi||!hasSpanStreamingEnabled(Yi)||!(to!=null&&to.length)?!1:shouldIgnoreSpan({description:eo.name||"",op:((ro=eo.attributes)==null?void 0:ro[SEMANTIC_ATTRIBUTE_SENTRY_OP$1])||eo.op,attributes:eo.attributes},to)}
43function isBrowserBundle$1(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function isNodeEnv$1(){return!isBrowserBundle$1()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function isBrowser$4(){return typeof window<"u"&&(!isNodeEnv$1()||isElectronNodeRenderer$1())}function isElectronNodeRenderer$1(){const Yi=GLOBAL_OBJ$1.process;return(Yi==null?void 0:Yi.type)==="renderer"}function parseUrl(Yi){if(!Yi)return{};const eo=Yi.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!eo)return{};const to=eo[6]||"",ro=eo[8]||"";return{host:eo[4],path:eo[5],protocol:eo[2],search:to,hash:ro,relative:eo[5]+to+ro}}const WINDOW$4=GLOBAL_OBJ$1;function supportsHistory(){return"history"in WINDOW$4&&!!WINDOW$4.history}function isNativeFunction(Yi){return Yi&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(Yi.toString())}const WINDOW$3=GLOBAL_OBJ$1;function getComponentName(Yi,eo=5){if(!WINDOW$3.HTMLElement)return null;let to=Yi;for(let ro=0;ro<eo;ro++){if(!to)return null;if(to instanceof HTMLElement){if(to.dataset.sentryComponent)return to.dataset.sentryComponent;if(to.dataset.sentryElement)return to.dataset.sentryElement}to=to.parentNode}return null}const DEBUG_BUILD$3=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,WINDOW$2=GLOBAL_OBJ$1,getRating=(Yi,eo)=>Yi>eo[1]?"poor":Yi>eo[0]?"needs-improvement":"good",bindReporter=(Yi,eo,to,ro)=>{let no,io;return oo=>{eo.value>=0&&(oo||ro)&&(io=eo.value-(no??0),(io||no===void 0)&&(no=eo.value,eo.delta=io,eo.rating=getRating(eo.value,to),Yi(eo)))}},getNavigationEntry=(Yi=!0)=>{var to,ro;const eo=(ro=(to=WINDOW$2.performance)==null?void 0:to.getEntriesByType)==null?void 0:ro.call(to,"navigation")[0];if(!Yi||eo&&eo.responseStart>0&&eo.responseStart<performance.now())return eo},getActivationStart=()=>{const Yi=getNavigationEntry();return(Yi==null?void 0:Yi.activationStart)??0};function addPageListener(Yi,eo,to){WINDOW$2.document&&WINDOW$2.addEventListener(Yi,eo,to)}function removePageListener(Yi,eo,to){WINDOW$2.document&&WINDOW$2.removeEventListener(Yi,eo,to)}let firstHiddenTime=-1;const onHiddenFunctions=new Set,initHiddenTime=()=>{var Yi,eo;return((Yi=WINDOW$2.document)==null?void 0:Yi.visibilityState)==="hidden"&&!((eo=WINDOW$2.document)!=null&&eo.prerendering)?0:1/0},onVisibilityUpdate=Yi=>{if(isPageHidden(Yi)&&firstHiddenTime>-1){if(Yi.type==="visibilitychange"||Yi.type==="pagehide")for(const eo of onHiddenFunctions)eo();isFinite(firstHiddenTime)||(firstHiddenTime=Yi.type==="visibilitychange"?Yi.timeStamp:0,removePageListener("prerenderingchange",onVisibilityUpdate,!0))}},getVisibilityWatcher=()=>{var Yi;if(WINDOW$2.document&&firstHiddenTime<0){const eo=getActivationStart();firstHiddenTime=(WINDOW$2.document.prerendering||(Yi=globalThis.performance.getEntriesByType("visibility-state").filter(ro=>ro.name==="hidden"&&ro.startTime>eo)[0])==null?void 0:Yi.startTime)??initHiddenTime(),addPageListener("visibilitychange",onVisibilityUpdate,!0),addPageListener("pagehide",onVisibilityUpdate,!0),addPageListener("prerenderingchange",onVisibilityUpdate,!0)}return{get firstHiddenTime(){return firstHiddenTime},onHidden(eo){onHiddenFunctions.add(eo)}}};function isPageHidden(Yi){var eo;return Yi.type==="pagehide"||((eo=WINDOW$2.document)==null?void 0:eo.visibilityState)==="hidden"}const generateUniqueID=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,initMetric=(Yi,eo=-1)=>{var io,oo;const to=getNavigationEntry();let ro="navigate";return to&&((io=WINDOW$2.document)!=null&&io.prerendering||getActivationStart()>0?ro="prerender":(oo=WINDOW$2.document)!=null&&oo.wasDiscarded?ro="restore":to.type&&(ro=to.type.replace(/_/g,"-"))),{name:Yi,value:eo,rating:"good",delta:0,entries:[],id:generateUniqueID(),navigationType:ro}},instanceMap=new WeakMap;function initUnique(Yi,eo){try{return instanceMap.get(Yi)||instanceMap.set(Yi,new eo),instanceMap.get(Yi)}catch{return new eo}}class LayoutShiftManager{constructor(){this._sessionValue=0,this._sessionEntries=[]}_processEntry(eo){var no;if(eo.hadRecentInput)return;const to=this._sessionEntries[0],ro=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&to&&ro&&eo.startTime-ro.startTime<1e3&&eo.startTime-to.startTime<5e3?(this._sessionValue+=eo.value,this._sessionEntries.push(eo)):(this._sessionValue=eo.value,this._sessionEntries=[eo]),(no=this._onAfterProcessingUnexpectedShift)==null||no.call(this,eo)}}const observe=(Yi,eo,to={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(Yi)){const ro=new PerformanceObserver(no=>{Promise.resolve().then(()=>{eo(no.getEntries())})});return ro.observe({type:Yi,buffered:!0,...to}),ro}}catch{}},runOnce=Yi=>{let eo=!1;return()=>{eo||(Yi(),eo=!0)}},whenActivated=Yi=>{var eo;(eo=WINDOW$2.document)!=null&&eo.prerendering?addEventListener("prerenderingchange",()=>Yi(),!0):Yi()},FCPThresholds=[1800,3e3],onFCP=(Yi,eo={})=>{whenActivated(()=>{const to=getVisibilityWatcher(),ro=initMetric("FCP");let no;const oo=observe("paint",ao=>{for(const so of ao)so.name==="first-contentful-paint"&&(oo.disconnect(),so.startTime<to.firstHiddenTime&&(ro.value=Math.max(so.startTime-getActivationStart(),0),ro.entries.push(so),no(!0)))});oo&&(no=bindReporter(Yi,ro,FCPThresholds,eo.reportAllChanges))})},CLSThresholds=[.1,.25],onCLS=(Yi,eo={})=>{onFCP(runOnce(()=>{var so;const to=initMetric("CLS",0);let ro;const no=getVisibilityWatcher(),io=initUnique(eo,LayoutShiftManager),oo=lo=>{for(const co of lo)io._processEntry(co);io._sessionValue>to.value&&(to.value=io._sessionValue,to.entries=io._sessionEntries,ro())},ao=observe("layout-shift",oo);ao&&(ro=bindReporter(Yi,to,CLSThresholds,eo.reportAllChanges),no.onHidden(()=>{oo(ao.takeRecords()),ro(!0)}),(so=WINDOW$2==null?void 0:WINDOW$2.setTimeout)==null||so.call(WINDOW$2,ro))}))};let interactionCountEstimate=0,minKnownInteractionId=1/0,maxKnownInteractionId=0;const updateEstimate=Yi=>
43{Yi.forEach(eo=>{eo.interactionId&&(minKnownInteractionId=Math.min(minKnownInteractionId,eo.interactionId),maxKnownInteractionId=Math.max(maxKnownInteractionId,eo.interactionId),interactionCountEstimate=maxKnownInteractionId?(maxKnownInteractionId-minKnownInteractionId)/7+1:0)})};let po;const getInteractionCount=()=>po?interactionCountEstimate:performance.interactionCount||0,initInteractionCountPolyfill=()=>{"interactionCount"in performance||po||(po=observe("event",updateEstimate,{type:"event",buffered:!0,durationThreshold:0}))},MAX_INTERACTIONS_TO_CONSIDER=10;let prevInteractionCount=0;const getInteractionCountForNavigation=()=>getInteractionCount()-prevInteractionCount;class InteractionManager{constructor(){this._longestInteractionList=[],this._longestInteractionMap=new Map}_resetInteractions(){prevInteractionCount=getInteractionCount(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const eo=Math.min(this._longestInteractionList.length-1,Math.floor(getInteractionCountForNavigation()/50));return this._longestInteractionList[eo]}_processEntry(eo){var no,io;if((no=this._onBeforeProcessingEntry)==null||no.call(this,eo),!(eo.interactionId||eo.entryType==="first-input"))return;const to=this._longestInteractionList.at(-1);let ro=this._longestInteractionMap.get(eo.interactionId);if(ro||this._longestInteractionList.length<MAX_INTERACTIONS_TO_CONSIDER||eo.duration>to._latency){if(ro?eo.duration>ro._latency?(ro.entries=[eo],ro._latency=eo.duration):eo.duration===ro._latency&&eo.startTime===ro.entries[0].startTime&&ro.entries.push(eo):(ro={id:eo.interactionId,entries:[eo],_latency:eo.duration},this._longestInteractionMap.set(ro.id,ro),this._longestInteractionList.push(ro)),this._longestInteractionList.sort((oo,ao)=>ao._latency-oo._latency),this._longestInteractionList.length>MAX_INTERACTIONS_TO_CONSIDER){const oo=this._longestInteractionList.splice(MAX_INTERACTIONS_TO_CONSIDER);for(const ao of oo)this._longestInteractionMap.delete(ao.id)}(io=this._onAfterProcessingINPCandidate)==null||io.call(this,ro)}}}const whenIdleOrHidden=Yi=>{var to;const eo=WINDOW$2.requestIdleCallback||WINDOW$2.setTimeout;((to=WINDOW$2.document)==null?void 0:to.visibilityState)==="hidden"?Yi():(Yi=runOnce(Yi),addPageListener("visibilitychange",Yi,{once:!0,capture:!0}),addPageListener("pagehide",Yi,{once:!0,capture:!0}),eo(()=>{Yi(),removePageListener("visibilitychange",Yi,{capture:!0}),removePageListener("pagehide",Yi,{capture:!0})}))},INPThresholds=[200,500],DEFAULT_DURATION_THRESHOLD=40,onINP=(Yi,eo={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;const to=getVisibilityWatcher();whenActivated(()=>{initInteractionCountPolyfill();const ro=initMetric("INP");let no;const io=initUnique(eo,InteractionManager),oo=so=>{whenIdleOrHidden(()=>{for(const co of so)io._processEntry(co);const lo=io._estimateP98LongestInteraction();lo&&lo._latency!==ro.value&&(ro.value=lo._latency,ro.entries=lo.entries,no())})},ao=observe("event",oo,{durationThreshold:eo.durationThreshold??DEFAULT_DURATION_THRESHOLD});no=bindReporter(Yi,ro,INPThresholds,eo.reportAllChanges),ao&&(ao.observe({type:"first-input",buffered:!0}),to.onHidden(()=>{oo(ao.takeRecords()),no(!0)}))})};class LCPEntryManager{_processEntry(eo){var to;(to=this._onBeforeProcessingEntry)==null||to.call(this,eo)}}const LCPThresholds=[2500,4e3],onLCP=(Yi,eo={})=>{whenActivated(()=>{const to=getVisibilityWatcher(),ro=initMetric("LCP");let no;const io=initUnique(eo,LCPEntryManager),oo=so=>{eo.reportAllChanges||(so=so.slice(-1));for(const lo of so)io._processEntry(lo),lo.startTime<to.firstHiddenTime&&(ro.value=Math.max(lo.startTime-getActivationStart(),0),ro.entries=[lo],no())},ao=observe("largest-contentful-paint",oo);if(ao){no=bindReporter(Yi,ro,LCPThresholds,eo.reportAllChanges);const so=runOnce(()=>{oo(ao.takeRecords()),ao.disconnect(),no(!0)}),lo=co=>{co.isTrusted&&(whenIdleOrHidden(so),removePageListener(co.type,lo,{capture:!0}))};for(const co of["keydown","click","visibilitychange"])addPageListener(co,lo,{capture:!0})}})},TTFBThresholds=[800,1800],whenReady=Yi=>{var eo,to;(eo=WINDOW$2.document)!=null&&eo.prerendering?whenActivated(()=>whenReady(Yi)):((to=WINDOW$2.document)==null?void 0:to.readyState)!=="complete"?addEventListener("load",()=>whenReady(Yi),!0):setTimeout(Yi)},onTTFB=(Yi,eo={})=>{const to=initMetric("TTFB"),ro=bindReporter(Yi,to,TTFBThresholds,eo.reportAllChanges);whenReady(()=>{const no=getNavigationEntry();no&&(to.value=Math.max(no.responseStart-getActivationStart(),0),to.entries=[no],ro(!0))})},handlers$1={},instrumented={};let _previousCls,_previousLcp,_previousTtfb,_previousInp;function addClsInstrumentationHandler(Yi,eo=!1){return addMetricObserver("cls",Yi,instrumentCls,_previousCls,eo)}function addLcpInstrumentationHandler(Yi,eo=!1){return addMetricObserver("lcp",Yi,instrumentLcp,_previousLcp,eo)}function addTtfbInstrumentationHandler(Yi){return addMetricObserver("ttfb",Yi,instrumentTtfb,_previousTtfb)}function addInpInstrumentationHandler(Yi){return addMetricObserver("inp",Yi,instrumentInp,_previousInp)}function addPerformanceInstrumentationHandler(Yi,eo){return addHandler(Yi,eo),instrumented[Yi]||(instrumentPerformanceObserver(Yi),instrumented[Yi]=!0),getCleanupCallback(Yi,eo)}function triggerHandlers(Yi,eo){const to=handlers$1[Yi];if(to!=null&&to.length)for(const ro of to)try{ro(eo)}catch(no){DEBUG_BUILD$3&&debug$4.error(`Error while triggering instrumentation handler.
44Type: ${Yi}
45Name: ${getFunctionName$1(ro)}
46Error:`,no)}}function instrumentCls(){return onCLS(Yi=>{triggerHandlers("cls",{metric:Yi}),_previousCls=Yi},{reportAllChanges:!0})}function instrumentLcp(){return onLCP(Yi=>{triggerHandlers("lcp",{metric:Yi}),_previousLcp=Yi},{reportAllChanges:!0})}function instrumentTtfb(){return onTTFB(Yi=>{triggerHandlers("ttfb",{metric:Yi}),_previousTtfb=Yi})}function instrumentInp(){return onINP(Yi=>{triggerHandlers("inp",{metric:Yi}),_previousInp=Yi})}function addMetricObserver(Yi,eo,to,ro,no=!1){addHandler(Yi,eo);let io;return instrumented[Yi]||(io=to(),instrumented[Yi]=!0),ro&&eo({metric:ro}),getCleanupCallback(Yi,eo,no?io:void 0)}function instrumentPerformanceObserver(Yi){const eo={};Yi==="event"&&(eo.durationThreshold=0),observe(Yi,to=>{triggerHandlers(Yi,{entries:to})},eo)}function addHandler(Yi,eo){handlers$1[Yi]=handlers$1[Yi]||[],handlers$1[Yi].push(eo)}function getCleanupCallback(Yi,eo,to){return()=>{to&&to();const ro=handlers$1[Yi];if(!ro)return;const no=ro.indexOf(eo);
46no!==-1&&ro.splice(no,1)}}function isPerformanceEventTiming(Yi){return"duration"in Yi}const DEFAULT_MAX_STRING_LENGTH=80,accessors={};try{typeof Node<"u"&&(accessors.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),typeof Element<"u"&&(accessors.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,accessors.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,accessors.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,accessors.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<"u"&&(accessors.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch{}function _safeRead(Yi,eo,to){const ro=accessors[eo];if(ro)try{return ro.call(Yi,to)}catch{}const no=Yi[eo];return typeof no=="function"?no.call(Yi,to):no}function htmlTreeAsString(Yi,eo={}){if(!Yi)return"<unknown>";try{let to=Yi;const ro=5,no=[];let io=0,oo=0;const ao=" > ",so=ao.length;let lo;const co=Array.isArray(eo)?eo:eo.keyAttrs,uo=!Array.isArray(eo)&&eo.maxStringLength||DEFAULT_MAX_STRING_LENGTH;for(;to&&io++<ro&&(lo=_htmlElementAsString(to,co),!(lo==="html"||io>1&&oo+no.length*so+lo.length>=uo));)no.push(lo),oo+=lo.length,to=_safeRead(to,"parentNode");return no.reverse().join(ao)}catch{return"<unknown>"}}function _htmlElementAsString(Yi,eo){const to=[],ro=_safeRead(Yi,"tagName");if(!ro)return"";if(typeof HTMLElement<"u"&&Yi instanceof HTMLElement){const io=_safeRead(Yi,"dataset");if(io){if(io.sentryComponent)return io.sentryComponent;if(io.sentryElement)return io.sentryElement}}to.push(ro.toLowerCase());const no=eo!=null&&eo.length?eo.filter(io=>_safeRead(Yi,"getAttribute",io)).map(io=>[io,_safeRead(Yi,"getAttribute",io)]):null;if(no!=null&&no.length)no.forEach(io=>{to.push(`[${io[0]}="${io[1]}"]`)});else{const io=_safeRead(Yi,"id");io&&to.push(`#${io}`);const oo=_safeRead(Yi,"className");if(oo&&isString$4(oo)){const ao=oo.split(/\s+/);for(const so of ao)to.push(`.${so}`)}}for(const io of["aria-label","type","name","title","alt"]){const oo=_safeRead(Yi,"getAttribute",io);oo&&to.push(`[${io}="${oo}"]`)}return to.join("")}const onHidden=Yi=>{const eo=to=>{var ro;(to.type==="pagehide"||((ro=WINDOW$2.document)==null?void 0:ro.visibilityState)==="hidden")&&Yi(to)};addPageListener("visibilitychange",eo,{capture:!0,once:!0}),addPageListener("pagehide",eo,{capture:!0,once:!0})};function isMeasurementValue(Yi){return typeof Yi=="number"&&isFinite(Yi)}function startAndEndSpan(Yi,eo,to,{...ro}){const no=spanToJSON$1(Yi).start_timestamp;return no&&no>eo&&typeof Yi.updateStartTime=="function"&&Yi.updateStartTime(eo),withActiveSpan(Yi,()=>{const io=startInactiveSpan({startTime:eo,...ro});return io&&io.end(to),io})}function startStandaloneWebVitalSpan(Yi){var Co;const eo=getClient$1();if(!eo)return;const{name:to,transaction:ro,attributes:no,startTime:io}=Yi,{release:oo,environment:ao}=eo.getOptions(),{userInfo:so}=eo.getDataCollectionOptions(),lo=eo.getIntegrationByName("Replay"),co=lo==null?void 0:lo.getReplayId(),uo=getCurrentScope$2(),fo=uo.getUser(),ho=fo!==void 0?fo.email||fo.id||fo.ip_address:void 0;let mo;try{mo=uo.getScopeData().contexts.profile.profile_id}catch{}const vo={release:oo,environment:ao,user:ho||void 0,profile_id:mo||void 0,replay_id:co||void 0,transaction:ro,"user_agent.original":(Co=WINDOW$2.navigator)==null?void 0:Co.userAgent,"client.address":so?"{{auto}}":void 0,...no};return startInactiveSpan({name:to,attributes:vo,startTime:io,experimental:{standalone:!0}})}function getBrowserPerformanceAPI(){return WINDOW$2.addEventListener&&WINDOW$2.performance}function msToSec(Yi){return Yi/1e3}function extractNetworkProtocol(Yi){let eo="unknown",to="unknown",ro="";
46for(const no of Yi){if(no==="/"){[eo,to]=Yi.split("/");break}if(!isNaN(Number(no))){eo=ro==="h"?"http":ro,to=Yi.split(ro)[1];break}ro+=no}return ro===Yi&&(eo=ro),{name:eo,version:to}}function supportsWebVital(Yi){try{return PerformanceObserver.supportedEntryTypes.includes(Yi)}catch{return!1}}function listenForWebVitalReportEvents(Yi,eo){let to,ro=!1;function no(ao){!ro&&to&&eo(ao,to.spanContext().spanId,to),ro=!0}onHidden(()=>{no("pagehide")});const io=Yi.on("beforeStartNavigationSpan",(ao,so)=>{so!=null&&so.isRedirect||(no("navigation"),io(),oo())}),oo=Yi.on("afterStartPageLoadSpan",ao=>{to=ao,oo()})}function trackClsAsStandaloneSpan(Yi){let eo=0,to;if(!supportsWebVital("layout-shift"))return;const ro=addClsInstrumentationHandler(({metric:no})=>{const io=no.entries[no.entries.length-1];io&&(eo=no.value,to=io)},!0);listenForWebVitalReportEvents(Yi,(no,io)=>{_sendStandaloneClsSpan(eo,to,io,no),ro()})}function _sendStandaloneClsSpan(Yi,eo,to,ro){var lo;DEBUG_BUILD$3&&debug$4.log(`Sending CLS span (${Yi})`);const no=eo?msToSec((browserPerformanceTimeOrigin$1()||0)+eo.startTime):timestampInSeconds$1(),io=getCurrentScope$2().getScopeData().transactionName,oo=eo?htmlTreeAsString((lo=eo.sources[0])==null?void 0:lo.node):"Layout shift",ao={[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$1]:"auto.http.browser.cls",[SEMANTIC_ATTRIBUTE_SENTRY_OP$1]:"ui.webvital.cls",[SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,"sentry.pageload.span_id":to,"sentry.report_event":ro};eo!=null&&eo.sources&&eo.sources.forEach((co,uo)=>{ao[`cls.source.${uo+1}`]=htmlTreeAsString(co.node)});const so=startStandaloneWebVitalSpan({name:oo,transaction:io,attributes:ao,startTime:no});so&&(so.addEvent("cls",{[SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"",[SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:Yi}),so.end(no))}const MAX_PLAUSIBLE_LCP_DURATION=6e4;function isValidLcpMetric(Yi){return Yi!=null&&Yi>0&&Yi<=MAX_PLAUSIBLE_LCP_DURATION}function trackLcpAsStandaloneSpan(Yi){let eo=0,to;if(!supportsWebVital("largest-contentful-paint"))return;const ro=addLcpInstrumentationHandler(({metric:no})=>{const io=no.entries[no.entries.length-1];!io||!isValidLcpMetric(no.value)||(eo=no.value,to=io)},!0);listenForWebVitalReportEvents(Yi,(no,io)=>{_sendStandaloneLcpSpan(eo,to,io,no),ro()})}function _sendStandaloneLcpSpan(Yi,eo,to,ro){if(!isValidLcpMetric(Yi))return;DEBUG_BUILD$3&&debug$4.log(`Sending LCP span (${Yi})`);const no=msToSec((browserPerformanceTimeOrigin$1()||0)+((eo==null?void 0:eo.startTime)||0)),io=getCurrentScope$2().getScopeData().transactionName,oo=eo?htmlTreeAsString(eo.element):"Largest contentful paint",ao={[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$1]:"auto.http.browser.lcp",[SEMANTIC_ATTRIBUTE_SENTRY_OP$1]:"ui.webvital.lcp",[SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,"sentry.pageload.span_id":to,"sentry.report_event":ro};eo&&(eo.element&&(ao["lcp.element"]=htmlTreeAsString(eo.element)),eo.id&&(ao["lcp.id"]=eo.id),eo.url&&(ao["lcp.url"]=eo.url),eo.loadTime!=null&&(ao["lcp.loadTime"]=eo.loadTime),eo.renderTime!=null&&(ao["lcp.renderTime"]=eo.renderTime),eo.size!=null&&(ao["lcp.size"]=eo.size));const so=startStandaloneWebVitalSpan({name:oo,transaction:io,attributes:ao,startTime:no});so&&(so.addEvent("lcp",{[SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:Yi}),so.end(no))}function getAbsoluteTime$1(Yi){return Yi&&((browserPerformanceTimeOrigin$1()||performance.timeOrigin)+Yi)/1e3}function resourceTimingToSpanAttributes(Yi){var to;const eo={};if(Yi.nextHopProtocol!=null){const{name:ro,version:no}=extractNetworkProtocol(Yi.nextHopProtocol);eo["network.protocol.version"]=no,eo["network.protocol.name"]=ro}return browserPerformanceTimeOrigin$1()||(to=getBrowserPerformanceAPI())!=null&&to.timeOrigin?dropUndefinedKeysFromObject({...eo,"http.request.redirect_start":getAbsoluteTime$1(Yi.redirectStart),"http.request.redirect_end":getAbsoluteTime$1(Yi.redirectEnd),"http.request.worker_start":getAbsoluteTime$1(Yi.workerStart),"http.request.fetch_start":getAbsoluteTime$1(Yi.fetchStart),"http.request.domain_lookup_start":getAbsoluteTime$1(Yi.domainLookupStart),"http.request.domain_lookup_end":getAbsoluteTime$1(Yi.domainLookupEnd),"http.request.connect_start":getAbsoluteTime$1(Yi.connectStart),"http.request.secure_connection_start":getAbsoluteTime$1(Yi.secureConnectionStart),"http.request.connection_end":getAbsoluteTime$1(Yi.connectEnd),"http.request.request_start":getAbsoluteTime$1(Yi.requestStart),"http.request.response_start":getAbsoluteTime$1(Yi.responseStart),"http.request.response_end":getAbsoluteTime$1(Yi.responseEnd),"http.request.time_to_first_byte":Yi.responseStart!=null?Yi.responseStart/1e3:void 0}):eo}function dropUndefinedKeysFromObject(Yi){return Object.fromEntries(Object.entries(Yi).filter(([,eo])=>eo!=null))}const MAX_INT_AS_BYTES=2147483647;let _performanceCursor=0,_measurements={},_lcpEntry,_clsEntry;function startTrackingWebVitals({recordClsStandaloneSpans:Yi,recordLcpStandaloneSpans:eo,client:to}){const ro=getBrowserPerformanceAPI();if(ro&&browserPerformanceTimeOrigin$1()){ro.mark&&WINDOW$2.performance.mark("sentry-tracing-init");const no=eo?trackLcpAsStandaloneSpan(to):eo===!1?_trackLCP():void 0,io=Yi?trackClsAsStandaloneSpan(to):Yi===!1?_trackCLS():void 0,oo=_trackTtfb(),ao=_trackFpFcp();return()=>{oo(),ao(),no==null||no(),io==null||io()}}return()=>{}}function startTrackingLongTasks(){addPerformanceInstrumentationHandler("longtask",({entries:Yi})=>{const eo=getActiveSpan$1();if(!eo)return;const{op:to,start_timestamp:ro}=spanToJSON$1(eo);for(const no of Yi){const io=msToSec(browserPerformanceTimeOrigin$1()+no.startTime),oo=msToSec(no.duration);to==="navigation"&&ro&&io<ro||startAndEndSpan(eo,io,io+oo,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$1]:"auto.ui.browser.metrics"}})}})}function startTrackingLongAnimationFrames(){new PerformanceObserver(eo=>{const to=getActiveSpan$1();if(to)for(const ro of eo.getEntries()){if(!ro.scripts[0])continue;const no=msToSec(browserPerformanceTimeOrigin$1()+ro.startTime),{start_timestamp:io,op:oo}=spanToJSON$1(to);if(oo==="navigation"&&io&&no<io)continue;const ao=msToSec(ro.duration),so={[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$1]:"auto.ui.browser.metrics"},lo=ro.scripts[0],{invoker:co,invokerType:uo,sourceURL:fo,sourceFunctionName:ho,sourceCharPosition:mo}=lo;so["browser.script.invoker"]=co,so["browser.script.invoker_type"]=uo,fo&&(so["code.filepath"]=fo),ho&&(so["code.function"]=ho),mo!==-1&&(so["browser.script.source_char_position"]=mo),startAndEndSpan(to,no,no+ao,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:so})}}).observe({type:"long-animation-frame",buffered:!0})}function startTrackingInteractions(){addPerformanceInstrumentationHandler("event",({entries:Yi})=>{const eo=getActiveSpan$1();if(eo){for(const to of Yi)if(to.name==="click"){const ro=msToSec(browserPerformanceTimeOrigin$1()+to.startTime),no=msToSec(to.duration),io={name:htmlTreeAsString(to.target),op:`ui.interaction.${to.name}`,startTime:ro,attributes:{[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$1]:"auto.ui.browser.metrics"}},oo=getComponentName(to.target);oo&&(io.attributes["ui.component_name"]=oo),startAndEndSpan(eo,ro,ro+no,io)}}})}function _trackCLS(){return addClsInstrumentationHandler(({metric:Yi})=>{const eo=Yi.entries[Yi.entries.length-1];eo&&(_measurements.cls={value:Yi.value,unit:""},_clsEntry=eo)},!0)}function _trackLCP(){return addLcpInstrumentationHandler(({metric:Yi})=>{const eo=Yi.entries[Yi.entries.length-1];!eo||!isValidLcpMetric(Yi.value)||(_measurements.lcp={value:Yi.value,unit:"millisecond"},_lcpEntry=eo)},!0)}function _trackTtfb(){return addTtfbInstrumentationHandler(({metric:Yi})=>{Yi.entries[Yi.entries.length-1]&&(_measurements.ttfb={value:Yi.value,unit:"millisecond"})})}function _trackFpFcp(){return addPerformanceInstrumentationHandler("paint",({entries:Yi})=>{const eo=getVisibilityWatcher();for(const to of Yi){const ro=to.startTime<eo.firstHiddenTime;to.name==="first-paint"&&ro&&(_measurements.fp={value:to.startTime,unit:"millisecond"}),to.name==="first-contentful-paint"&&ro&&(_measurements.fcp={value:to.startTime,unit:"millisecond"})}})}function addPerformanceEntries(Yi,eo){const to=getBrowserPerformanceAPI(),ro=browserPerformanceTimeOrigin$1();if(!(to!=null&&to.getEntries)||!ro)return;const{spanStreamingEnabled:no,ignorePerformanceApiSpans:io,ignoreResourceSpans:oo}=eo,ao=msToSec(ro),so=to.getEntries(),{op:lo,start_timestamp:co}=spanToJSON$1(Yi);so.slice(_performanceCursor).forEach(uo=>{const fo=msToSec(uo.startTime),ho=msToSec(Math.max(0,uo.duration));if(!(lo==="navigation"&&co&&ao+fo<co))switch(uo.entryType){case"navigation":{_addNavigationSpans(Yi,uo,ao);break}case"mark":case"paint":case"measure":{_addMeasureSpans(Yi,uo,fo,ho,ao,io);break}case"resource":{_addResourceSpans(Yi,uo,uo.name,fo,ho,ao,oo);break}}}),_performanceCursor=Math.max(so.length-1,0),_trackNavigator(Yi,no
46)}function addWebVitalsToSpan(Yi,eo){var ao;const to=browserPerformanceTimeOrigin$1();if(!((ao=getBrowserPerformanceAPI())!=null&&ao.getEntries)||!to){resetWebVitalState();return}const{spanStreamingEnabled:ro,recordClsOnPageloadSpan:no,recordLcpOnPageloadSpan:io}=eo,oo=msToSec(to);if(spanToJSON$1(Yi).op==="pageload"){if(_addTtfbRequestTimeToMeasurements(_measurements),ro){const so=(lo,co,uo)=>{const fo=uo??`browser.web_vital.${lo}.value`;Yi.setAttribute(fo,co),DEBUG_BUILD$3&&debug$4.log("Setting web vital attribute",{[fo]:co},"on pageload span")};["ttfb","fp","fcp"].forEach(lo=>{_measurements[lo]&&so(lo,_measurements[lo].value)}),_measurements["ttfb.requestTime"]&&so("ttfb.requestTime",_measurements["ttfb.requestTime"].value,"browser.web_vital.ttfb.request_time")}else no||delete _measurements.cls,io||delete _measurements.lcp,Object.entries(_measurements).forEach(([so,lo])=>{setMeasurement(so,lo.value,lo.unit,Yi)}),_setWebVitalAttributes(Yi,eo);Yi.setAttribute(ro?"browser.performance.time_origin":"performance.timeOrigin",oo),Yi.setAttribute(ro?"browser.performance.navigation.activation_start":"performance.activationStart",getActivationStart())}resetWebVitalState()}function resetWebVitalState(){_lcpEntry=void 0,_clsEntry=void 0,_measurements={}}function isReact19MeasureEntry(Yi){if((Yi==null?void 0:Yi.entryType)==="measure")try{return Yi.detail.devtools.track==="Components ⚛"}catch{return}}function _addMeasureSpans(Yi,eo,to,ro,no,io){if(isReact19MeasureEntry(eo)||["mark","measure"].includes(eo.entryType)&&stringMatchesSomePattern$1(eo.name,io))return;const oo=getNavigationEntry(!1),ao=msToSec(oo?oo.requestStart:0),so=no+Math.max(to,ao),lo=no+to,co=lo+ro,uo={[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$1]:"auto.resource.browser.metrics"};so!==lo&&(uo["sentry.browser.measure_happened_before_request"]=!0,uo["sentry.browser.measure_start_time"]=so),_addDetailToSpanAttributes(uo,eo),so<=co&&startAndEndSpan(Yi,so,co,{name:eo.name,op:eo.entryType,attributes:uo})}function _addDetailToSpanAttributes(Yi,eo){try{const to=eo.detail;if(!to)return;if(typeof to=="object"){for(const[ro,no]of Object.entries(to))if(no&&isPrimitive$1(no))Yi[`sentry.browser.measure.detail.${ro}`]=no;else if(no!==void 0)try{Yi[`sentry.browser.measure.detail.${ro}`]=JSON.stringify(no)}catch{}return}if(isPrimitive$1(to)){Yi["sentry.browser.measure.detail"]=to;return}try{Yi["sentry.browser.measure.detail"]=JSON.stringify(to)}catch{}}catch{}}function _addNavigationSpans(Yi,eo,to){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(ro=>{_addPerformanceNavigationTiming(Yi,eo,ro,to)}),_addPerformanceNavigationTiming(Yi,eo,"secureConnection",to,"TLS/SSL"),_addPerformanceNavigationTiming(Yi,eo,"fetch",to,"cache"),_addPerformanceNavigationTiming(Yi,eo,"domainLookup",to,"DNS"),_addRequest(Yi,eo,to)}function _addPerformanceNavigationTiming(Yi,eo,to,ro,no=to){const io=_getEndPropertyNameForNavigationTiming(to),oo=eo[io],ao=eo[`${to}Start`];!ao||!oo||startAndEndSpan(Yi,ro+msToSec(ao),ro+msToSec(oo),{op:`browser.${no}`,name:eo.name,attributes:{[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$1]:"auto.ui.browser.metrics",...to==="redirect"&&eo.redirectCount!=null?{"http.redirect_count":eo.redirectCount}:{}}})}function _getEndPropertyNameForNavigationTiming(Yi){return Yi==="secureConnection"?"connectEnd":Yi==="fetch"?"domainLookupStart":`${Yi}End`}function _addRequest(Yi,eo,to){const ro=to+msToSec(eo.requestStart),no=to+msToSec(eo.responseEnd),io=to+msToSec(eo.responseStart);eo.responseEnd&&(startAndEndSpan(Yi,ro,no,{op:"browser.request",name:eo.name,attributes:{[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$1]:"auto.ui.browser.metrics"}}),startAndEndSpan(Yi,io,no,{op:"browser.response",name:eo.name,attributes:{[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$1]:"auto.ui.browser.metrics"}}))}function _addResourceSpans(Yi,eo,to,ro,no,io,oo){if(eo.initiatorType==="xmlhttprequest"||eo.initiatorType==="fetch")return;const ao=eo.initiatorType?`resource.${eo.initiatorType}`:"resource.other";if(oo!=null&&oo.includes(ao))return;const so={[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$1]:"auto.resource.browser.metrics"},lo=parseUrl(to);lo.protocol&&(so["url.scheme"]=lo.protocol.split(":").pop()),lo.host&&(so["server.address"]=lo.host),so["url.same_origin"]=to.includes(WINDOW$2.location.origin),so[SEMANTIC_ATTRIBUTE_URL_FULL]=to,_setResourceRequestAttributes(eo,so,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);const co={...so,...resourceTimingToSpanAttributes(eo)},uo=io+ro,fo=uo+no;startAndEndSpan(Yi,uo,fo,{name:to.replace(WINDOW$2.location.origin,""),op:ao,attributes:co})}function _trackNavigator(Yi,eo){const to=WINDOW$2.navigator;if(!to)return;const ro=to.connection;ro&&(ro.effectiveType&&Yi.setAttribute(eo?"network.connection.effective_type":"effectiveConnectionType",ro.effectiveType),ro.t
46ype&&Yi.setAttribute(eo?"network.connection.type":"connectionType",ro.type),isMeasurementValue(ro.rtt)&&(eo?Yi.setAttribute("network.connection.rtt",ro.rtt):spanToJSON$1(Yi).op==="pageload"&&setMeasurement("connection.rtt",ro.rtt,"millisecond"))),isMeasurementValue(to.deviceMemory)&&(eo?Yi.setAttribute("device.memory.estimated_capacity",to.deviceMemory):Yi.setAttribute("deviceMemory",`${to.deviceMemory} GB`)),isMeasurementValue(to.hardwareConcurrency)&&(eo?Yi.setAttribute("device.processor_count",to.hardwareConcurrency):Yi.setAttribute("hardwareConcurrency",String(to.hardwareConcurrency)))}function _setWebVitalAttributes(Yi,eo){_lcpEntry&&eo.recordLcpOnPageloadSpan&&(_lcpEntry.element&&Yi.setAttribute("lcp.element",htmlTreeAsString(_lcpEntry.element)),_lcpEntry.id&&Yi.setAttribute("lcp.id",_lcpEntry.id),_lcpEntry.url&&Yi.setAttribute("lcp.url",_lcpEntry.url.trim().slice(0,200)),_lcpEntry.loadTime!=null&&Yi.setAttribute("lcp.loadTime",_lcpEntry.loadTime),_lcpEntry.renderTime!=null&&Yi.setAttribute("lcp.renderTime",_lcpEntry.renderTime),Yi.setAttribute("lcp.size",_lcpEntry.size)),_clsEntry!=null&&_clsEntry.sources&&eo.recordClsOnPageloadSpan&&_clsEntry.sources.forEach((to,ro)=>Yi.setAttribute(`cls.source.${ro+1}`,htmlTreeAsString(to.node)))}function _setResourceRequestAttributes(Yi,eo,to){to.forEach(([ro,no])=>{const io=Yi[ro];io!=null&&(typeof io=="number"&&io<MAX_INT_AS_BYTES||typeof io=="string")&&(eo[no]=io)})}function _addTtfbRequestTimeToMeasurements(Yi){const eo=getNavigationEntry(!1);if(!eo)return;const{responseStart:to,requestStart:ro}=eo;ro<=to&&(Yi["ttfb.requestTime"]={value:to-ro,unit:"millisecond"})}const LAST_INTERACTIONS=[],INTERACTIONS_SPAN_MAP=new Map,ELEMENT_NAME_TIMESTAMP_MAP=new Map,MAX_PLAUSIBLE_INP_DURATION=60;function startTrackingINP(){if(getBrowserPerformanceAPI()&&browserPerformanceTimeOrigin$1()){const eo=_trackINP();return()=>{eo()}}return()=>{}}const INP_ENTRY_MAP={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function _trackINP(){return addInpInstrumentationHandler(_onInp)}const _onInp=({metric:Yi})=>{if(Yi.value==null)return;const eo=msToSec(Yi.value);if(eo>MAX_PLAUSIBLE_INP_DURATION)return;const to=Yi.entries.find(mo=>mo.duration===Yi.value&&INP_ENTRY_MAP[mo.name]);if(!to)return;const{interactionId:ro}=to,no=INP_ENTRY_MAP[to.name],io=msToSec(browserPerformanceTimeOrigin$1()+to.startTime),oo=getActiveSpan$1(),ao=oo?getRootSpan$1(oo):void 0,so=ro!=null?INTERACTIONS_SPAN_MAP.get(ro):void 0,lo=(so==null?void 0:so.span)||ao,co=lo?spanToJSON$1(lo).description:getCurrentScope$2().getScopeData().transactionName,uo=(so==null?void 0:so.elementName)||htmlTreeAsString(to.target),fo={[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$1]:"auto.http.browser.inp",[SEMANTIC_ATTRIBUTE_SENTRY_OP$1]:`ui.interaction.${no}`,[SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:to.duration},ho=startStandaloneWebVitalSpan({name:uo,transaction:co,attributes:fo,startTime:io});ho&&(ho.addEvent("inp",{[SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:Yi.value}),ho.end(io+eo))};function getCachedInteractionContext(Yi){return Yi!=null?INTERACTIONS_SPAN_MAP.get(Yi):void 0}function registerInpInteractionListener(){const Yi=Object.keys(INP_ENTRY_MAP);isBrowser$4()&&Yi.forEach(no=>{WINDOW$2.addEventListener(no,eo,{capture:!0,passive:!0})});function eo(no){const io=no.target;if(!io)return;const oo=htmlTreeAsString(io),ao=Math.round(no.timeStamp);if(ELEMENT_NAME_TIMESTAMP_MAP.set(ao,oo),ELEMENT_NAME_TIMESTAMP_MAP.size>50){const so=ELEMENT_NAME_TIMESTAMP_MAP.keys().next().value;so!==void 0&&ELEMENT_NAME_TIMESTAMP_MAP.delete(so)}}function to(no){const io=Math.round(no.startTime);let oo=ELEMENT_NAME_TIMESTAMP_MAP.get(io);if(!oo)for(let ao=-5;ao<=5;ao++){const so=ELEMENT_NAME_TIMESTAMP_MAP.get(io+ao);if(so){oo=so;break}}return oo||"<unknown>"}const ro=({entries:no})=>{const io=getActiveSpan$1(),oo=io&&getRootSpan$1(io);
46no.forEach(ao=>{if(!isPerformanceEventTiming(ao))return;const so=ao.interactionId;if(so==null||INTERACTIONS_SPAN_MAP.has(so))return;const lo=ao.target?htmlTreeAsString(ao.target):to(ao);if(LAST_INTERACTIONS.length>10){const co=LAST_INTERACTIONS.shift();INTERACTIONS_SPAN_MAP.delete(co)}LAST_INTERACTIONS.push(so),INTERACTIONS_SPAN_MAP.set(so,{span:oo,elementName:lo})})};addPerformanceInstrumentationHandler("event",ro),addPerformanceInstrumentationHandler("first-input",ro)}function _emitWebVitalSpan(Yi){var mo,vo;const{name:eo,op:to,origin:ro,metricName:no,value:io,attributes:oo,parentSpan:ao,reportEvent:so,startTime:lo,endTime:co}=Yi,uo=getCurrentScope$2().getScopeData().transactionName,fo={[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$1]:ro,[SEMANTIC_ATTRIBUTE_SENTRY_OP$1]:to,[SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,[`browser.web_vital.${no}.value`]:io,"sentry.transaction":uo,"user_agent.original":(mo=WINDOW$2.navigator)==null?void 0:mo.userAgent,...oo};ao&&((vo=spanToStreamedSpanJSON(ao).attributes)==null?void 0:vo[SEMANTIC_ATTRIBUTE_SENTRY_OP$1])==="pageload"&&(fo["sentry.pageload.span_id"]=ao.spanContext().spanId),so&&(fo[`browser.web_vital.${no}.report_event`]=so);const ho=startInactiveSpan({name:eo,attributes:fo,startTime:lo,parentSpan:ao});ho&&ho.end(co??lo)}function trackLcpAsSpan(Yi){let eo=0,to;if(!supportsWebVital("largest-contentful-paint"))return;const ro=addLcpInstrumentationHandler(({metric:no})=>{const io=no.entries[no.entries.length-1];!io||!isValidLcpMetric(no.value)||(eo=no.value,to=io)},!0);listenForWebVitalReportEvents(Yi,(no,io,oo)=>{_sendLcpSpan(eo,to,oo,no),ro()})}function _sendLcpSpan(Yi,eo,to,ro){if(!isValidLcpMetric(Yi))return;DEBUG_BUILD$3&&debug$4.log(`Sending LCP span (${Yi})`);const no=browserPerformanceTimeOrigin$1()||0,io=msToSec(no),oo=msToSec(no+((eo==null?void 0:eo.startTime)||0)),ao=eo?htmlTreeAsString(eo.element):"Largest contentful paint",so={};eo!=null&&eo.element&&(so["browser.web_vital.lcp.element"]=htmlTreeAsString(eo.element)),eo!=null&&eo.id&&(so["browser.web_vital.lcp.id"]=eo.id),eo!=null&&eo.url&&(so["browser.web_vital.lcp.url"]=eo.url),(eo==null?void 0:eo.loadTime)!=null&&(so["browser.web_vital.lcp.load_time"]=eo.loadTime),(eo==null?void 0:eo.renderTime)!=null&&(so["browser.web_vital.lcp.render_time"]=eo.renderTime),(eo==null?void 0:eo.size)!=null&&(so["browser.web_vital.lcp.size"]=eo.size),_emitWebVitalSpan({name:ao,op:"ui.webvital.lcp",origin:"auto.http.browser.lcp",metricName:"lcp",value:Yi,attributes:so,parentSpan:to,reportEvent:ro,startTime:io,endTime:oo})}function trackClsAsSpan(Yi){let eo=0,to;if(!supportsWebVital("layout-shift"))return;const ro=addClsInstrumentationHandler(({metric:no})=>{const io=no.entries[no.entries.length-1];io&&(eo=no.value,to=io)},!0);listenForWebVitalReportEvents(Yi,(no,io,oo)=>{_sendClsSpan(eo,to,oo,no),ro()})}function _sendClsSpan(Yi,eo,to,ro){var ao;DEBUG_BUILD$3&&debug$4.log(`Sending CLS span (${Yi})`);const no=eo?msToSec((browserPerformanceTimeOrigin$1()||0)+eo.startTime):timestampInSeconds$1(),io=eo?htmlTreeAsString((ao=eo.sources[0])==null?void 0:ao.node):"Layout shift",oo={};eo!=null&&eo.sources&&eo.sources.forEach((so,lo)=>{oo[`browser.web_vital.cls.source.${lo+1}`]=htmlTreeAsString(so.node)}),_emitWebVitalSpan({name:io,op:"ui.webvital.cls",origin:"auto.http.browser.cls",metricName:"cls",value:Yi,attributes:oo,parentSpan:to,reportEvent:ro,startTime:no})}function trackInpAsSpan(){if(!getBrowserPerformanceAPI()||!browserPerformanceTimeOrigin$1())return;addInpInstrumentationHandler(({metric:to})=>{if(to.value==null||msToSec(to.value)>MAX_PLAUSIBLE_INP_DURATION)return;const no=to.entries.find(io=>io.duration===to.value&&INP_ENTRY_MAP[io.name]);no&&_sendInpSpan(to.value,no)})}function _sendInpSpan(Yi,eo){DEBUG_BUILD$3&&debug$4.log(`Sending INP span (${Yi})`);const to=msToSec(browserPerformanceTimeOrigin$1()+eo.startTime),ro=msToSec(Yi),no=INP_ENTRY_MAP[eo.name],io=getCachedInteractionContext(eo.interactionId),oo=getActiveSpan$1(),ao=oo?getRootSpan$1(oo):void 0,so=(io==null?void 0:io.span)||ao,lo=so?spanToStreamedSpanJSON(so).name:getCurrentScope$2().getScopeData().transactionName,co=(io==null?void 0:io.elementName)||htmlTreeAsString(eo.target);_emitWebVitalSpan({name:co,op:`ui.interaction.${no}`,origin:"auto.http.browser.inp",metricName:"inp",value:Yi,attributes:{[SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:eo.duration,"sentry.transaction":lo},startTime:to,endTime:to+ro,parentSpan:so})}const DEBOUNCE_DURATION=1e3;let debounceTimerID,lastCapturedEventType,lastCapturedEventTargetId;function addClickKeypressInstrumentationHandler(Yi){addHandler$1("dom",Yi),maybeInstrument("dom",instrumentDOM)}function instrumentDOM(){if(!WINDOW$2.document)return;const Yi=triggerHandlers$1.bind(null,"dom"),eo=makeDOMEventHandler(Yi,!0);WINDOW$2.document.addEventListener("click",eo,!1),WINDOW$2.document.addEventListener("keypress",eo,!1),["EventTarget","Node"].forEach(to=>{var io,oo;const no=(io=WINDOW$2[to])==null?void 0:io.prototype;(oo=no==null?void 0:no.hasOwnProperty)!=null&&oo.call(no,"addEventListener")&&(fill$1(no,"addEventListener",function(ao){return function(so,lo,co){if(so==="click"||so=="keypress")try{const uo=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},fo=uo[so]=uo[so]||{refCount:0};if(!fo.handler){const ho=makeDOMEventHandler(Yi);fo.handler=ho,ao.call(this,so,ho,co)}fo.refCount++}catch{}return ao.call(this,so,lo,co)}}),fill$1(no,"removeEventListener",function(ao){return function(so,lo,co){if(so==="click"||so=="keypress")try{const uo=this.__sentry_instrumentation_handlers__||{},fo=uo[so];fo&&(fo.refCount--,fo.refCount<=0&&(ao.call(this,so,fo.handler,co),fo.handler=void 0,delete uo[so]),Object.keys(uo).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return ao.call(this,so,lo,co)}}))})}
46function isSimilarToLastCapturedEvent(Yi){if(Yi.type!==lastCapturedEventType)return!1;try{if(!Yi.target||Yi.target._sentryId!==lastCapturedEventTargetId)return!1}catch{}return!0}function shouldSkipDOMEvent(Yi,eo){return Yi!=="keypress"?!1:eo!=null&&eo.tagName?!(eo.tagName==="INPUT"||eo.tagName==="TEXTAREA"||eo.isContentEditable):!0}function makeDOMEventHandler(Yi,eo=!1){return to=>{if(!to||to._sentryCaptured)return;const ro=getEventTarget$1(to);if(shouldSkipDOMEvent(to.type,ro))return;addNonEnumerableProperty$1(to,"_sentryCaptured",!0),ro&&!ro._sentryId&&addNonEnumerableProperty$1(ro,"_sentryId",uuid4$1());const no=to.type==="keypress"?"input":to.type;isSimilarToLastCapturedEvent(to)||(Yi({event:to,name:no,global:eo}),lastCapturedEventType=to.type,lastCapturedEventTargetId=ro?ro._sentryId:void 0),clearTimeout(debounceTimerID),debounceTimerID=WINDOW$2.setTimeout(()=>{lastCapturedEventTargetId=void 0,lastCapturedEventType=void 0},DEBOUNCE_DURATION)}}function getEventTarget$1(Yi){try{return Yi.target}catch{return null}}let lastHref;function addHistoryInstrumentationHandler(Yi){const eo="history";addHandler$1(eo,Yi),maybeInstrument(eo,instrumentHistory)}function instrumentHistory(){if(WINDOW$2.addEventListener("popstate",()=>{const eo=WINDOW$2.location.href,to=lastHref;if(lastHref=eo,to===eo)return;triggerHandlers$1("history",{from:to,to:eo})}),!supportsHistory())return;function Yi(eo){return function(...to){const ro=to.length>2?to[2]:void 0;if(ro){const no=lastHref,io=getAbsoluteUrl(String(ro));if(lastHref=io,no===io)return eo.apply(this,to);triggerHandlers$1("history",{from:no,to:io})}return eo.apply(this,to)}}fill$1(WINDOW$2.history,"pushState",Yi),fill$1(WINDOW$2.history,"replaceState",Yi)}function getAbsoluteUrl(Yi){try{return new URL(Yi,WINDOW$2.location.origin).toString()}catch{return Yi}}const cachedImplementations$2={};function getNativeImplementation(Yi){const eo=cachedImplementations$2[Yi];if(eo)return eo;let to=WINDOW$2[Yi];if(isNativeFunction(to))return cachedImplementations$2[Yi]=to.bind(WINDOW$2);const ro=WINDOW$2.document;if(ro&&typeof ro.createElement=="function")try{const no=ro.createElement("iframe");no.hidden=!0,ro.head.appendChild(no);const io=no.contentWindow;io!=null&&io[Yi]&&(to=io[Yi]),ro.head.removeChild(no)}catch(no){DEBUG_BUILD$3&&debug$4.warn(`Could not create sandbox iframe for ${Yi} check, bailing to window.${Yi}: `,no)}return to&&(cachedImplementations$2[Yi]=to.bind(WINDOW$2))}function clearCachedImplementation(Yi){cachedImplementations$2[Yi]=void 0}function setTimeout$3(...Yi){return getNativeImplementation("setTimeout")(...Yi)}const SENTRY_XHR_DATA_KEY="__sentry_xhr_v3__";function addXhrInstrumentationHandler(Yi){addHandler$1("xhr",Yi),maybeInstrument("xhr",instrumentXHR)}function instrumentXHR(){if(!WINDOW$2.XMLHttpRequest)return;const Yi=XMLHttpRequest.prototype;Yi.open=new Proxy(Yi.open,{apply(eo,to,ro){const no=new Error,io=timestampInSeconds$1()*1e3,oo=isString$4(ro[0])?ro[0].toUpperCase():void 0,ao=parseXhrUrlArg(ro[1]);if(!oo||!ao)return eo.apply(to,ro);to[SENTRY_XHR_DATA_KEY]={method:oo,url:ao,request_headers:{}},oo==="POST"&&ao.match(/sentry_key/)&&(to.__sentry_own_request__=!0);const so=()=>{const lo=to[SENTRY_XHR_DATA_KEY];if(lo&&to.readyState===4){try{lo.status_code=to.status}catch{}const co={endTimestamp:timestampInSeconds$1()*1e3,startTimestamp:io,xhr:to,virtualError:no};triggerHandlers$1("xhr",co)}};return"onreadystatechange"in to&&typeof to.onreadystatechange=="function"?to.onreadystatechange=new Proxy(to.onreadystatechange,{apply(lo,co,uo){return so(),lo.apply(co,uo)}}):to.addEventListener("readystatechange",so),to.setRequestHeader=new Proxy(to.setRequestHeader,{apply(lo,co,uo){const[fo,ho]=uo,mo=co[SENTRY_XHR_DATA_KEY];return mo&&isString$4(fo)&&isString$4(ho)&&(mo.request_headers[fo.toLowerCase()]=ho),lo.apply(co,uo)}}),eo.apply(to,ro)}}),Yi.send=new Proxy(Yi.send,{apply(eo,to,ro){const no=to[SENTRY_XHR_DATA_KEY];if(!no)return eo.apply(to,ro);ro[0]!==void 0&&(no.body=ro[0]);const io={startTimestamp:timestampInSeconds$1()*1e3,xhr:to};return triggerHandlers$1("xhr",io),eo.apply(to,ro)}})}function parseXhrUrlArg(Yi){if(isString$4(Yi))return Yi;try{return Yi.toString()}catch{}}const ORIGINAL_REQ_BODY=Symbol.for("sentry__originalRequestBody");function serializeFormData(Yi){return new URLSearchParams(Yi).toString()}function getBodyString(Yi,eo=debug$4){try{if(typeof Yi=="string")return[Yi];if(Yi instanceof URLSearchParams)return[Yi.toString()];if(Yi instanceof FormData)return[serializeFormData(Yi)];if(!Yi)return[void 0]}catch(to){return DEBUG_BUILD$3&&eo.error(to,"Failed to serialize body",Yi),[void 0,"BODY_PARSE_ERROR"]}return DEBUG_BUILD$3&&eo.log("Skipping network body because of body type",Yi),[void 0,"UNPARSEABLE_BODY_TYPE"]}function getFetchRequestArgBody(Yi=[]){if(Yi.length>=2&&Yi[1]&&typeof Yi[1]=="object"&&"body"in Yi[1])return Yi[1].body;if(Yi.length>=1&&Yi[0]instanceof Request){const to=Yi[0][ORIGINAL_REQ_BODY];return to!==void 0?to:void 0}}function parseXhrResponseHeaders(Yi){let eo;try{eo=Yi.getAllResponseHeaders()}catch(to){return DEBUG_BUILD$3&&debug$4.error(to,"Failed to get xhr response headers",Yi),{}}return eo?eo.split(`\r
47`).reduce((to,ro)=>{const[no,io]=ro.split(": ");return io&&(to[no.toLowerCase()]=io),to},{}):{}}function isElement$3(Yi){if(typeof Element>"u")return!1;try{return Yi instanceof Element}catch{return!1}}const DEFAULT_BROWSER_TRANSPORT_BUFFER_SIZE=40;function makeFetchTransport(Yi,eo=getNativeImplementation("fetch")){let to=0,ro=0;async function no(io){const oo=io.body.length;to+=oo,ro++;
vendor: 5,582 bytes, line 47
47const ao={body:io.body,method:"POST",referrerPolicy:"strict-origin",headers:Yi.headers,keepalive:to<=6e4&&ro<15,...Yi.fetchOptions};try{const so=await eo(Yi.url,ao);return{statusCode:so.status,headers:{"x-sentry-rate-limits":so.headers.get("X-Sentry-Rate-Limits"),"retry-after":so.headers.get("Retry-After")}}}catch(so){throw clearCachedImplementation("fetch"),so}finally{to-=oo,ro--}}return createTransport(Yi,no,makePromiseBuffer(Yi.bufferSize||DEFAULT_BROWSER_TRANSPORT_BUFFER_SIZE))}const DEBUG_BUILD$2=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,CHROME_PRIORITY=30,GECKO_PRIORITY=50;function createFrame(Yi,eo,to,ro){const no={filename:Yi,function:eo==="<anonymous>"?UNKNOWN_FUNCTION:eo,in_app:!0};return to!==void 0&&(no.lineno=to),ro!==void 0&&(no.colno=ro),no}const chromeRegexNoFnName=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,chromeRegex=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,chromeEvalRegex=/\((\S*)(?::(\d+))(?::(\d+))\)/,chromeDataUriRegex=/at (.+?) ?\(data:(.+?),/,chromeStackParserFn=Yi=>{var no;const eo=Yi.match(chromeDataUriRegex);if(eo)return{filename:`<data:${eo[2]}>`,function:eo[1]};const to=chromeRegexNoFnName.exec(Yi);if(to){const[,io,oo,ao]=to;return createFrame(io,UNKNOWN_FUNCTION,+oo,+ao)}const ro=chromeRegex.exec(Yi);if(ro){if(((no=ro[2])==null?void 0:no.indexOf("eval"))===0){const so=chromeEvalRegex.exec(ro[2]);so&&(ro[2]=so[1],ro[3]=so[2],ro[4]=so[3])}const[oo,ao]=extractSafariExtensionDetails(ro[1]||UNKNOWN_FUNCTION,ro[2]);return createFrame(ao,oo,ro[3]?+ro[3]:void 0,ro[4]?+ro[4]:void 0)}},chromeStackLineParser=[CHROME_PRIORITY,chromeStackParserFn],geckoREgex=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,geckoEvalRegex=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,gecko=Yi=>{const eo=geckoREgex.exec(Yi);if(eo){if(eo[3]&&eo[3].indexOf(" > eval")>-1){const io=geckoEvalRegex.exec(eo[3]);io&&(eo[1]=eo[1]||"eval",eo[3]=io[1],eo[4]=io[2],eo[5]="")}let ro=eo[3],no=eo[1]||UNKNOWN_FUNCTION;return[no,ro]=extractSafariExtensionDetails(no,ro),createFrame(ro,no,eo[4]?+eo[4]:void 0,eo[5]?+eo[5]:void 0)}},geckoStackLineParser=[GECKO_PRIORITY,gecko],defaultStackLineParsers=[chromeStackLineParser,geckoStackLineParser],defaultStackParser=createStackParser(...defaultStackLineParsers),extractSafariExtensionDetails=(Yi,eo)=>{const to=Yi.indexOf("safari-extension")!==-1,ro=Yi.indexOf("safari-web-extension")!==-1;return to||ro?[Yi.indexOf("@")!==-1?Yi.split("@")[0]:UNKNOWN_FUNCTION,to?`safari-extension:${eo}`:`safari-web-extension:${eo}`]:[Yi,eo]},MAX_ALLOWED_STRING_LENGTH=1024,INTEGRATION_NAME$4="Breadcrumbs",_breadcrumbsIntegration=((Yi={})=>{const eo={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...Yi};return{name:INTEGRATION_NAME$4,setup(to){eo.console&&addConsoleInstrumentationHandler(_getConsoleBreadcrumbHandler(to)),eo.dom&&addClickKeypressInstrumentationHandler(_getDomBreadcrumbHandler(to,eo.dom)),eo.xhr&&addXhrInstrumentationHandler(_getXhrBreadcrumbHandler(to)),eo.fetch&&addFetchInstrumentationHandler(_getFetchBreadcrumbHandler(to)),eo.history&&addHistoryInstrumentationHandler(_getHistoryBreadcrumbHandler(to)),eo.sentry&&to.on("beforeSendEvent",_getSentryBreadcrumbHandler(to))}}}),breadcrumbsIntegration=_breadcrumbsIntegration;function _getSentryBreadcrumbHandler(Yi){return function(to){getClient$2()===Yi&&addBreadcrumb$1({category:`sentry.${to.type==="transaction"?"transaction":"event"}`,event_id:to.event_id,level:to.level,message:getEventDescription(to)},{event:to})}}function _getDomBreadcrumbHandler(Yi,eo){return function(ro){if(getClient$2()!==Yi)return;let no,io,oo=typeof eo=="object"?eo.serializeAttribute:void 0,ao=typeof eo=="object"&&typeof eo.maxStringLength=="number"?eo.maxStringLength:void 0;ao&&ao>MAX_ALLOWED_STRING_LENGTH&&(DEBUG_BUILD$2&&debug$5.warn(`\`dom.maxStringLength\` cannot exceed ${MAX_ALLOWED_STRING_LENGTH}, but a value of ${ao} was configured. Sentry will use ${MAX_ALLOWED_STRING_LENGTH} instead.`),ao=MAX_ALLOWED_STRING_LENGTH),typeof oo=="string"&&(oo=[oo]);try{const lo=ro.event,co=_isEvent(lo)?lo.target:lo;no=htmlTreeAsString(co,{keyAttrs:oo,maxStringLength:ao}),io=getComponentName$1(co)}catch{no="<unknown>"}if(no.length===0)return;const so={category:`ui.${ro.name}`,message:no};io&&(so.data={"ui.component_name":io}),addBreadcrumb$1(so,{event:ro.event,name:ro.name,global:ro.global})}}function _getConsoleBreadcrumbHandler(Yi){return function(to){if(getClient$2()!==Yi)return;const ro={category:"console",data:{arguments:to.args,logger:"console"},level:severityLevelFromString$1(to.level),message:safeJoin(to.args," ")};if(to.level==="assert")if(to.args[0]===!1)ro.message=`Assertion failed: ${safeJoin(to.args.slice(1)," ")||"console.assert"}`,ro.data.arguments=to.args.slice(1);else return;addBreadcrumb$1(ro,{input:to.args,level:to.level})}}function _getXhrBreadcrumbHandler(Yi){return function(to){if(getClient$2()!==Yi)return;const{startTimestamp:ro,endTimestamp:no}=to,io=to.xhr[SENTRY_XHR_DATA_KEY];if(!ro||!no||!io)return;const{method:oo,url:ao,status_code:so,body:lo}=io,co={method:oo,url:ao,status_code:so},uo={xhr:to.xhr,input:lo,startTimestamp:ro,endTimestamp:no},fo={category:"xhr",data:co,type:"http",level:getBreadcrumbLogLevelFromHttpStatusCode(so)};Yi.emit("beforeOutgoingRequestBreadcrumb",fo,uo),addBreadcrumb$1(fo,uo)}}function _getFetchBreadcrumbHandler(Yi){return function(to){if(getClient$2()!==Yi)return;const{startTimestamp:ro,endTimestamp:no}=to;
47if(no&&!(to.fetchData.url.match(/sentry_key/)&&to.fetchData.method==="POST"))if(to.error){const io={data:to.error,input:to.args,startTimestamp:ro,endTimestamp:no},oo={category:"fetch",data:to.fetchData,level:"error",type:"http"};Yi.emit("beforeOutgoingRequestBreadcrumb",oo,io),addBreadcrumb$1(oo,io)}else{const io=to.response,oo={...to.fetchData,status_code:io==null?void 0:io.status},ao={input:to.args,response:io,startTimestamp:ro,endTimestamp:no},so={category:"fetch",data:oo,type:"http",level:getBreadcrumbLogLevelFromHttpStatusCode(oo.status_code)};Yi.emit("beforeOutgoingRequestBreadcrumb",so,ao),addBreadcrumb$1(so,ao)}}}function _getHistoryBreadcrumbHandler(Yi){return function(to){if(getClient$2()!==Yi)return;let ro=to.from,no=to.to;const io=parseUrl$1(WINDOW$5.location.href);let oo=ro?parseUrl$1(ro):void 0;const ao=parseUrl$1(no);oo!=null&&oo.path||(oo=io),io.protocol===ao.protocol&&io.host===ao.host&&(no=ao.relative),io.protocol===oo.protocol&&io.host===oo.host&&(ro=oo.relative),addBreadcrumb$1({category:"navigation",data:{from:ro,to:no}})}}function _isEvent(Yi){return!!Yi&&!!Yi.target}const DEFAULT_EVENT_TARGET="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","),INTEGRATION_NAME$3="BrowserApiErrors",_browserApiErrorsIntegration=((Yi={})=>{const eo={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...Yi};return{name:INTEGRATION_NAME$3,setupOnce(){eo.setTimeout&&fill$2(WINDOW$5,"setTimeout",_wrapTimeFunction),eo.setInterval&&fill$2(WINDOW$5,"setInterval",_wrapTimeFunction),eo.requestAnimationFrame&&fill$2(WINDOW$5,"requestAnimationFrame",_wrapRAF),eo.XMLHttpRequest&&"XMLHttpRequest"in WINDOW$5&&fill$2(XMLHttpRequest.prototype,"send",_wrapXHR);const to=eo.eventTarget;to&&(Array.isArray(to)?to:DEFAULT_EVENT_TARGET).forEach(no=>_wrapEventTarget(no,eo))}}}),browserApiErrorsIntegration=_browserApiErrorsIntegration;function _wrapTimeFunction(Yi){return function(...eo){const to=eo[0];return eo[0]=wrap(to,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${getFunctionName$2(Yi)}`}}),Yi.apply(this,eo)}}function _wrapRAF(Yi){return function(eo){return Yi.apply(this,[wrap(eo,{mechanism:{data:{handler:getFunctionName$2(Yi)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function _wrapXHR(Yi){return function(...eo){const to=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(no=>{no in to&&typeof to[no]=="function"&&fill$2(to,no,function(io){const oo={mechanism:{data:{handler:getFunctionName$2(io)},handled:!1,type:`auto.browser.browserapierrors.xhr.${no}`}},ao=getOriginalFunction(io);return ao&&(oo.mechanism.data.handler=getFunctionName$2(ao)),wrap(io,oo)})}),Yi.apply(this,eo)}}function _wrapEventTarget(Yi,eo){var no,io;const ro=(no=WINDOW$5[Yi])==null?void 0:no.prototype;(io=ro==null?void 0:ro.hasOwnProperty)!=null&&io.call(ro,"addEventListener")&&(fill$2(ro,"addEventListener",function(oo){return function(ao,so,lo){try{isEventListenerObject(so)&&(so.handleEvent=wrap(so.handleEvent,{mechanism:{data:{handler:getFunctionName$2(so),target:Yi},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return eo.unregisterOriginalCallbacks&&unregisterOriginalCallback(this,ao,so),oo.apply(this,[ao,wrap(so,{mechanism:{data:{handler:getFunctionName$2(so),target:Yi},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),lo])}}),fill$2(ro,"removeEventListener",function(oo){return function(ao,so,lo){try{if(Object.prototype.hasOwnProperty.call(so,"__sentry_wrapped__")){const co=so.__sentry_wrapped__;co&&oo.call(this,ao,co,lo)}}catch{}return oo.call(this,ao,so,lo)}}))}function isEventListenerObject(Yi){return typeof Yi.handleEvent=="function"}function unregisterOriginalCallback(Yi,eo,to){Yi&&typeof Yi=="object"&&"removeEventListener"in Yi&&typeof Yi.removeEventListener=="function"&&Yi.removeEventListener(eo,to)}const browserSessionIntegration=(Yi={})=>{const eo=Yi.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(typeof WINDOW$5.document>"u"){DEBUG_BUILD$2&&debug$5.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}startSession({ignoreDuration:!0});let to=!1;whenIdleOrHidden(()=>{to||(captureSession(),to=!0)});const ro=getIsolationScope$2();let no=ro.getUser();ro.addScopeListener(io=>{const oo=io.getUser();((no==null?void 0:no.id)!==(oo==null?void 0:oo.id)||(no==null?void 0:no.ip_address)!==(oo==null?void 0:oo.ip_address))&&(no=oo,to&&captureSession())}),eo==="route"&&addHistoryInstrumentationHandler(({from:io,to:oo})=>{io!==oo&&(startSession({ignoreDuration:!0}),captureSession(),to=!0)})}}},INTEGRATION_NAME$2="CultureContext",_cultureContextIntegration=(()=>({name:INTEGRATION_NAME$2,preprocessEvent(Yi){var to;const eo=getCultureContext();eo&&(Yi.contexts={...Yi.contexts,culture:{...eo,...(to=Yi.contexts)==null?void 0:to.culture}})},processSegmentSpan(Yi){const eo=getCultureContext();eo&&safeSetSpanJSONAttributes$1(Yi,{"culture.locale":eo.locale,"culture.timezone":eo.timezone,"culture.calendar":eo.calendar})}})),cultureContextIntegration=_cultureContextIntegration;function getCultureContext(){try{const Yi=WINDOW$5.Intl;if(!Yi)return;const eo=Yi.DateTimeFormat().resolvedOptions();return{locale:eo.locale,timezone:eo.timeZone,calendar:eo.calendar}}catch{return}}const INTEGRATION_NAME$1="GlobalHandlers",_globalHandlersIntegration=((Yi={})=>{const eo={onerror:!0,onunhandledrejection:!0,...Yi};return{name:INTEGRATION_NAME$1,setupOnce(){Error.stackTraceLimit=50},setup(to){eo.onerror&&(_installGlobalOnErrorHandler(to),globalHandlerLog("onerror")),eo.onunhandledrejection&&(_installGlobalOnUnhandledRejectionHandler(to),globalHandlerLog("onunhandledrejection"))}}}),globalHandlersIntegration=_globalHandlersIntegration;function _installGlobalOnErrorHandler(Yi){addGlobalErrorInstrumentationHandler(eo=>{const{stackParser:to,attachStacktrace:ro}=getOptions$2();if(getClient$2()!==Yi||shouldIgnoreOnError())return;const{msg:no,url:io,line:oo,column:ao,error:so}=eo,lo=_enhanceEventWithInitialFrame(eventFromUnknownInput(to,so||no,void 0,ro,!1),io,oo,ao);lo.level="error",captureEvent(lo,{originalException:so,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function _installGlobalOnUnhandledRejectionHandler(Yi){addGlobalUnhandledRejectionInstrumentationHandler(eo=>{const{stackParser:to,attachStacktrace:ro}=getOptions$2();if(getClient$2()!==Yi||shouldIgnoreOnError())return;const no=_getUnhandledRejectionError(eo),io=isPrimitive$2(no)?_eventFromRejectionWithPrimitive(no):eventFromUnknownInput(to,no,void 0,ro,!0);io.level="error",captureEvent(io,{originalException:no,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function _getUnhandledRejectionError(Yi){if(isPrimitive$2(Yi))return Yi;try{if("reason"in Yi)return Yi.reason;if("detail"in Yi&&"reason"in Yi.detail)return Yi.detail.reason}catch{}return Yi}function _eventFromRejectionWithPrimitive(Yi){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(Yi)}`}]}}}function _enhanceEventWithInitialFrame(Yi,eo,to,ro){const no=Yi.exception=Yi.exception||{},io=no.values=no.values||[],oo=io[0]=io[0]||{},ao=oo.stacktrace=oo.stacktrace||{},so=ao.frames=ao.frames||[];return so.length===0&&so.push({colno:ro,lineno:to,filename:getFilenameFromUrl(eo)??getLocationHref$1(),function:UNKNOWN_FUNCTION,in_app:!0}),Yi}function globalHandlerLog(Yi){DEBUG_BUILD$2&&debug$5.log(`Global Handler attached: ${Yi}`)}function getOptions$2(){const Yi=getClient$2();return(Yi==null?void 0:Yi.getOptions())||{stackParser:()=>[],attachStacktrace:!1}}function getFilenameFromUrl(Yi){if(!(!isString$5(Yi)||Yi.length===0))return Yi.startsWith("data:")?`<${stripDataUrlContent(Y
47i,!1)}>`:Yi}const httpContextIntegration=()=>({name:"HttpContext",preprocessEvent(Yi){var ro;if(!WINDOW$5.navigator&&!WINDOW$5.location&&!WINDOW$5.document)return;const eo=getHttpRequestData(),to={...eo.headers,...(ro=Yi.request)==null?void 0:ro.headers};Yi.request={...eo,...Yi.request,headers:to}},processSegmentSpan(Yi){var ro;const eo=(ro=Yi.attributes)==null?void 0:ro[SEMANTIC_ATTRIBUTE_SENTRY_OP$2];if(!WINDOW$5.navigator&&!WINDOW$5.location&&!WINDOW$5.document)return;const to=getHttpRequestData();safeSetSpanJSONAttributes$1(Yi,{"url.full":eo!=="http.client"?to.url:void 0,"http.request.header.user_agent":to.headers["User-Agent"],"http.request.header.referer":to.headers.Referer})}}),DEFAULT_KEY="cause",DEFAULT_LIMIT=5,INTEGRATION_NAME="LinkedErrors",_linkedErrorsIntegration=((Yi={})=>{const eo=Yi.limit||DEFAULT_LIMIT,to=Yi.key||DEFAULT_KEY;return{name:INTEGRATION_NAME,preprocessEvent(ro,no,io){const oo=io.getOptions();applyAggregateErrorsToEvent(exceptionFromError,oo.stackParser,to,eo,ro,no)}}}),linkedErrorsIntegration=_linkedErrorsIntegration,HTML_ELEMENT_CONSTRUCTOR_NAME_REGEX=/^HTML(\w*)Element$/;function normalizeStringifyValue(Yi){if(typeof window<"u"&&Yi===window)return"[Window]";if(typeof document<"u"&&Yi===document)return"[Document]";if(isElement$3(Yi)){const eo=getConstructorName$1(Yi);if(HTML_ELEMENT_CONSTRUCTOR_NAME_REGEX.test(eo))return`[HTMLElement: ${htmlTreeAsString(Yi)}]`}}function getConstructorName$1(Yi){const eo=Object.getPrototypeOf(Yi);return eo!=null&&eo.constructor?eo.constructor.name:"null prototype"}function checkAndWarnIfIsEmbeddedBrowserExtension(){return _isEmbeddedBrowserExtension()?(DEBUG_BUILD$2&&consoleSandbox$2(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0):!1}function _isEmbeddedBrowserExtension(){var no;if(typeof WINDOW$5.window>"u")return!1;const Yi=WINDOW$5;if(Yi.nw)return!1;const eo=Yi.chrome||Yi.browser;if(!((no=eo==null?void 0:eo.runtime)!=null&&no.id))return!1;const to=getLocationHref$1();return!(WINDOW$5===WINDOW$5.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(to))}function getDefaultIntegrations(Yi){return[inboundFiltersIntegration(),functionToStringIntegration(),conversationIdIntegration(),browserApiErrorsIntegration(),breadcrumbsIntegration(),globalHandlersIntegration(),linkedErrorsIntegration(),dedupeIntegration(),httpContextIntegration(),cultureContextIntegration(),browserSessionIntegration()]}function init$1(Yi={}){const eo=!Yi.skipBrowserExtensionCheck&&checkAndWarnIfIsEmbeddedBrowserExtension();let to=Yi.defaultIntegrations==null?getDefaultIntegrations():Yi.defaultIntegrations;const ro={...Yi,enabled:eo?!1:Yi.enabled,stackParser:stackParserFromStackParserOptions(Yi.stackParser||defaultStackParser),integrations:getIntegrationsToSetup({integrations:Yi.integrations,defaultIntegrations:to}),transport:Yi.transport||makeFetchTransport};return setNormalizeStringifier(normalizeStringifyValue),initAndBind(BrowserClient,ro)}const DEBUG_BUILD$1=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,GLOBAL_OBJ=globalThis,SDK_VERSION$1="10.64.0";function getMainCarrier(){return getSentryCarrier(GLOBAL_OBJ),GLOBAL_OBJ}function getSentryCarrier(Yi){const eo=Yi.__SENTRY__=Yi.__SENTRY__||{};return eo.version=eo.version||SDK_VERSION$1,eo[SDK_VERSION$1]=eo[SDK_VERSION$1]||{}}function getGlobalSingleton(Yi,eo,to=GLOBAL_OBJ){const ro=to.__SENTRY__=to.__SENTRY__||{},no=ro[SDK_VERSION$1]=ro[SDK_VERSION$1]||{};return no[Yi]||(no[Yi]=eo())}const PREFIX$1="Sentry Logger ",originalConsoleMethods={};function consoleSandbox(Yi){if(!("console"in GLOBAL_OBJ))return Yi();const eo=GLOBAL_OBJ.console,to={},ro=Object.keys(originalConsoleMethods);ro.forEach(no=>{const io=originalConsoleMethods[no];to[no]=eo[no],eo[no]=io});try{return Yi()}finally{ro.forEach(no=>{eo[no]=to[no]})}}function enable(){_getLoggerSettings().enabled=!0}function disable(){_getLoggerSettings().enabled=!1}function isEnabled(){return _getLoggerSettings().enabled}function log$1(...Yi){_maybeLog("log",...Yi)}function warn$5(...Yi){_maybeLog("warn",...Yi)}function error(...Yi){_maybeLog("error",...Yi)}function _maybeLog(Yi,...eo){DEBUG_BUILD$1&&isEnabled()&&consoleSandbox(()=>{GLOBAL_OBJ.console[Yi](`${PREFIX$1}[${Yi}]:`,...eo)})}function _getLoggerSettings(){return DEBUG_BUILD$1?getGlobalSingleton("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const debug$3={enable,disable,isEnabled,log:log$1,warn:warn$5,error},defaultFunctionName="<anonymous>";function getFunctionName(Yi){try{return!Yi||typeof Yi!="function"?defaultFunctionName:Yi.name||defaultFunctionName}catch{return defaultFunctionName}}const objectToString$2=Object.prototype.toString;function isError(Yi){switch(objectToString$2.call(Yi)){case"[object Error]":case"[object E
47xception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return isInstanceOf(Yi,Error)}}function isBuiltin(Yi,eo){return objectToString$2.call(Yi)===`[object ${eo}]`}function isString$3(Yi){return isBuiltin(Yi,"String")}function isPlainObject$7(Yi){return isBuiltin(Yi,"Object")}function isEvent(Yi){return typeof Event<"u"&&isInstanceOf(Yi,Event)}function isRegExp(Yi){return isBuiltin(Yi,"RegExp")}function isThenable(Yi){return!!(Yi!=null&&Yi.then&&typeof Yi.then=="function")}function isInstanceOf(Yi,eo){try{return Yi instanceof eo}catch{return!1}}function fill(Yi,eo,to){if(!(eo in Yi))return;const ro=Yi[eo];if(typeof ro!="function")return;const no=to(ro);typeof no=="function"&&markFunctionWrapped(no,ro);try{Yi[eo]=no}catch{DEBUG_BUILD$1&&debug$3.log(`Failed to replace method "${eo}" in object`,Yi)}}function addNonEnumerableProperty(Yi,eo,to){try{Object.defineProperty(Yi,eo,{value:to,writable:!0,configurable:!0})}catch{DEBUG_BUILD$1&&debug$3.log(`Failed to add non-enumerable property "${String(eo)}" to object`,Yi)}}function markFunctionWrapped(Yi,eo){try{const to=eo.prototype||{};Yi.prototype=eo.prototype=to,addNonEnumerableProperty(Yi,"__sentry_original__",eo)}catch{}}function convertToPlainObject(Yi){if(isError(Yi))return{message:Yi.message,name:Yi.name,stack:Yi.stack,...getOwnProperties(Yi)};if(isEvent(Yi)){const{type:eo,target:to,currentTarget:ro,detail:no}=Yi;return{type:eo,target:to,currentTarget:ro,...no?{detail:no}:{},...getOwnProperties(Yi)}}return Yi}function getOwnProperties(Yi){return typeof Yi=="object"&&Yi!==null?Object.fromEntries(Object.entries(Yi)):{}}let RESOLVED_RUNNER;function withRandomSafeContext(Yi){if(RESOLVED_RUNNER!==void 0)return RESOLVED_RUNNER?RESOLVED_RUNNER(Yi):Yi();const eo=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),to=GLOBAL_OBJ;return eo in to&&typeof to[eo]=="function"?(RESOLVED_RUNNER=to[eo],RESOLVED_RUNNER(Yi)):(RESOLVED_RUNNER=null,Yi())}function safeMathRandom(){return withRandomSafeContext(()=>Math.random())}function safeDateNow(){return withRandomSafeContext(()=>Date.now())}const SENTRY_SKIP_NORMALIZATION=Symbol.for("sentry.skipNormalization"),SENTRY_OVERRIDE_NORMALIZATION_DEPTH=Symbol.for("sentry.overrideNormalizationDepth");function hasSkipNormalizationHint(Yi){return!!Yi[SENTRY_SKIP_NORMALIZATION]}function getNormalizationDepthOverrideHint(Yi){const eo=Yi[SENTRY_OVERRIDE_NORMALIZATION_DEPTH];return typeof eo=="number"?eo:void 0}let stringifier;function normalize$1(Yi,eo=100,to=1/0){try{return visit("",Yi,eo,to)}catch(ro){return{ERROR:`**non-serializable** (${ro})`}}}function visit(Yi,eo,to=1/0,ro=1/0,no=memoBuilder()){const[io,oo]=no;if(eo==null||["boolean","string"].includes(typeof eo)||typeof eo=="number"&&Number.isFinite(eo))return eo;const ao=stringifyValue(Yi,eo);if(!ao.startsWith("[object "))return ao;if(hasSkipNormalizationHint(eo))return eo;const so=getNormalizationDepthOverrideHint(eo),lo=so!==void 0?so:to;if(lo===0)return ao.replace("object ","");if(io(eo))return"[Circular ~]";const co=eo;if(co&&typeof co.toJSON=="function")try{const mo=co.toJSON();return visit("",mo,lo-1,ro,no)}catch{}const uo=Array.isArray(eo)?[]:{};let fo=0;const ho=convertToPlainObject(eo);for(const mo in ho){if(!Object.prototype.hasOwnProperty.call(ho,mo))continue;if(fo>=ro){uo[mo]="[MaxProperties ~]";break}const vo=ho[mo];uo[mo]=visit(mo,vo,lo-1,ro,no),fo++}return oo(eo),uo}function stringifyValue(Yi,eo){try{return typeof global<"u"&&eo===global?"[Global]":typeof eo=="number"&&!Number.isFinite(eo)?`[${eo}]`:typeof eo=="function"?`[Function: ${getFunctionName(eo)}]`:typeof eo=="symbol"?`[${String(eo)}]`:typeof eo=="bigint"?`[BigInt: ${String(eo)}]`:`[object ${getConstructorName(eo)}]`}catch(to){return`**non-serializable** (${to})`}}function getConstructorName(Yi){const eo=Object.getPrototypeOf(Yi);return eo!=null&&eo.constructor?eo.constructor.name:"null prototype"}function memoBuilder(){const Yi=new WeakSet;function eo(ro){return Yi.has(ro)?!0:(Yi.add(ro),!1)}function to(ro){Yi.delete(ro)}return[eo,to]}function truncate$1(Yi,eo=0){return typeof Yi!="string"||eo===0||Yi.length<=eo?Yi:`${Yi.slice(0,eo)}...`}function isMatchingPattern(Yi,eo,to=!1){return isString$3(Yi)?isRegExp(eo)?eo.test(Yi):isString$3(eo)?to?Yi===eo:Yi.includes(eo):typeof eo=="function"?eo(Yi):!1:!1}function stringMatchesSomePattern(Yi,eo=[],to=!1){for(const ro of eo)if(isMatchingPattern(Yi,ro,to))return!0;return!1}function getCrypto(){const Yi=GLOBAL_OBJ;return Yi.crypto||Yi.msCrypto}let emptyUuid;function getRandomByte(){return safeMathRandom()*16}
vendor: 9,384 bytes, line 47
47function uuid4(Yi=getCrypto()){try{if(Yi!=null&&Yi.randomUUID)return withRandomSafeContext(()=>Yi.randomUUID()).replace(/-/g,"")}catch{}return emptyUuid||(emptyUuid="10000000100040008000"+1e11),emptyUuid.replace(/[018]/g,eo=>(eo^(getRandomByte()&15)>>eo/4).toString(16))}function getFirstException(Yi){var eo,to;return(to=(eo=Yi.exception)==null?void 0:eo.values)==null?void 0:to[0]}function addExceptionMechanism(Yi,eo){const to=getFirstException(Yi);if(!to)return;const ro={type:"generic",handled:!0},no=to.mechanism;if(to.mechanism={...ro,...no,...eo},eo&&"data"in eo){const io={...no==null?void 0:no.data,...eo.data};to.mechanism.data=io}}const ONE_SECOND_IN_MS=1e3;function dateTimestampInSeconds(){return safeDateNow()/ONE_SECOND_IN_MS}function createUnixTimestampInSecondsFunc(){const{performance:Yi}=GLOBAL_OBJ;if(!(Yi!=null&&Yi.now)||!Yi.timeOrigin)return dateTimestampInSeconds;const eo=Yi.timeOrigin;return()=>(eo+withRandomSafeContext(()=>Yi.now()))/ONE_SECOND_IN_MS}let _cachedTimestampInSeconds;function timestampInSeconds(){return(_cachedTimestampInSeconds??(_cachedTimestampInSeconds=createUnixTimestampInSecondsFunc()))()}let cachedTimeOrigin=null;function getBrowserTimeOrigin(){var oo;const{performance:Yi}=GLOBAL_OBJ;if(!(Yi!=null&&Yi.now))return;const eo=3e5,to=withRandomSafeContext(()=>Yi.now()),ro=safeDateNow(),no=Yi.timeOrigin;if(typeof no=="number"&&Math.abs(no+to-ro)<eo)return no;const io=(oo=Yi.timing)==null?void 0:oo.navigationStart;return typeof io=="number"&&Math.abs(io+to-ro)<eo?io:ro-to}function browserPerformanceTimeOrigin(){return cachedTimeOrigin===null&&(cachedTimeOrigin=getBrowserTimeOrigin()),cachedTimeOrigin}function updateSession(Yi,eo={}){if(eo.user&&(!Yi.ipAddress&&eo.user.ip_address&&(Yi.ipAddress=eo.user.ip_address),!Yi.did&&!eo.did&&(Yi.did=eo.user.id||eo.user.email||eo.user.username)),Yi.timestamp=eo.timestamp||timestampInSeconds(),eo.abnormal_mechanism&&(Yi.abnormal_mechanism=eo.abnormal_mechanism),eo.ignoreDuration&&(Yi.ignoreDuration=eo.ignoreDuration),eo.sid&&(Yi.sid=eo.sid.length===32?eo.sid:uuid4()),eo.init!==void 0&&(Yi.init=eo.init),!Yi.did&&eo.did&&(Yi.did=`${eo.did}`),typeof eo.started=="number"&&(Yi.started=eo.started),Yi.ignoreDuration)Yi.duration=void 0;else if(typeof eo.duration=="number")Yi.duration=eo.duration;else{const to=Yi.timestamp-Yi.started;Yi.duration=to>=0?to:0}eo.release&&(Yi.release=eo.release),eo.environment&&(Yi.environment=eo.environment),!Yi.ipAddress&&eo.ipAddress&&(Yi.ipAddress=eo.ipAddress),!Yi.userAgent&&eo.userAgent&&(Yi.userAgent=eo.userAgent),typeof eo.errors=="number"&&(Yi.errors=eo.errors),eo.status&&(Yi.status=eo.status)}function merge$1(Yi,eo,to=2){if(!eo||typeof eo!="object"||to<=0)return eo;if(Yi&&Object.keys(eo).length===0)return Yi;const ro={...Yi};for(const no in eo)Object.prototype.hasOwnProperty.call(eo,no)&&(ro[no]=merge$1(ro[no],eo[no],to-1));return ro}function generateTraceId(){return uuid4()}function generateSpanId(){return uuid4().substring(16)}function makeWeakRef(Yi){try{const eo=GLOBAL_OBJ.WeakRef;if(typeof eo=="function")return new eo(Yi)}catch{}return Yi}function derefWeakRef(Yi){if(Yi){if(typeof Yi=="object"&&"deref"in Yi&&typeof Yi.deref=="function")try{return Yi.deref()}catch{return}return Yi}}const SCOPE_SPAN_FIELD="_sentrySpan";function _setSpanForScope(Yi,eo){eo?addNonEnumerableProperty(Yi,SCOPE_SPAN_FIELD,makeWeakRef(eo)):delete Yi[SCOPE_SPAN_FIELD]}function _getSpanForScope(Yi){return derefWeakRef(Yi[SCOPE_SPAN_FIELD])}const DEFAULT_MAX_BREADCRUMBS=100;let Scope$1=class nA{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:generateTraceId(),sampleRand:safeMathRandom()}}clone(){const eo=new nA;return eo._breadcrumbs=[...this._breadcrumbs],eo._tags={...this._tags},eo._attributes={...this._attributes},eo._extra={...this._extra},eo._contexts={...this._contexts},this._contexts.flags&&(eo._contexts.flags={values:[...this._contexts.flags.values]}),eo._user=this._user,eo._level=this._level,eo._session=this._session,eo._transactionName=this._transactionName,eo._fingerprint=this._fingerprint,eo._eventProcessors=[...this._eventProcessors],eo._attachments=[...this._attachments],eo._sdkProcessingMetadata={...this._sdkProcessingMetadata},eo._propagationContext={...this._propagationContext},eo._client=this._client,eo._lastEventId=this._lastEventId,eo._conversationId=this._conversationId,_setSpanForScope(eo,_getSpanForScope(this)),eo}setClient(eo){this._client=eo}setLastEventId(eo){this._lastEventId=eo}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(eo){this._scopeListeners.push(eo)}addEventProcessor(eo){return this._eventProcessors.push(eo),this}setUser(eo){return this._user=eo||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&updateSession(this._session,{user:eo}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(eo){return this._conversationId=eo||void 0,this._notifyScopeListeners(),this}setTags(eo){return this._tags={...this._tags,...eo},this._notifyScopeListeners(),this}setTag(eo,to){return this.setTags({[eo]:to})}setAttributes(eo){return this._attributes={...this._attributes,...eo},this._notifyScopeListeners(),this}setAttribute(eo,to){return this.setAttributes({[eo]:to})}removeAttribute(eo){return eo in this._attributes&&(delete this._attributes[eo],this._notifyScopeListeners()),this}setExtras(eo){return this._extra={...this._extra,...eo},this._notifyScopeListeners(),this}setExtra(eo,to){return this._extra={...this._extra,[eo]:to},this._notifyScopeListeners(),this}setFingerprint(eo){return this._fingerprint=eo,this._notifyScopeListeners(),this}setLevel(eo){return this._level=eo,this._notifyScopeListeners(),this}setTransactionName(eo){return this._transactionName=eo,this._notifyScopeListeners(),this}setContext(eo,to){return to===null?delete this._contexts[eo]:this._contexts[eo]=to,this._notifyScopeListeners(),this}setSession(eo){return eo?this._session=eo:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(eo){if(!eo)return this;const to=typeof eo=="function"?eo(this):eo,ro=to instanceof nA?to.getScopeData():isPlainObject$7(to)?eo:void 0,{tags:no,attributes:io,extra:oo,user:ao,contexts:so,level:lo,fingerprint:co=[],propagationContext:uo,conversationId:fo}=ro||{};return this._tags={...this._tags,...no},this._attributes={...this._attributes,...io},this._extra={...this._extra,...oo},this._contexts={...this._contexts,...so},ao&&Object.keys(ao).length&&(this._user=ao),lo&&(this._level=lo),co.length&&(this._fingerprint=co),uo&&(this._propagationContext=uo),fo&&(this._conversationId=fo),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,_setSpanForScope(this,void 0),this._attachments=[],this.setPropagationContext({traceId:generateTraceId(),sampleRand:safeMathRandom()}),this._notifyScopeListeners(),this}addBreadcrumb(eo,to){var io;const ro=typeof to=="number"?to:DEFAULT_MAX_BREADCRUMBS;if(ro<=0)return this;const no={timestamp:dateTimestampInSeconds(),...eo,message:eo.message?truncate$1(eo.message,2048):eo.message};return this._breadcrumbs.push(no),this._breadcrumbs.length>ro&&(this._breadcrumbs=this._breadcrumbs.slice(-ro),(io=this._client)==null||io.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(eo){return this._attachments.push(eo),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:_getSpanForScope(this),conversationId:this._conversationId}}setSDKProcessingMetadata(eo){return this._sdkProcessingMetadata=merge$1(this._sdkProcessingMetadata,eo,2),this}setPropagationContext(eo){return this._propagationContext=eo,this}getPropagationContext(){return this._propagationContext}captureException(eo,to){const ro=(to==null?void 0:to.event_id)||uuid4();if(!this._client)return DEBUG_BUILD$1&&debug$3.warn("No client configured on scope - will not capture exception!"),ro;const no=new Error("Sentry syntheticException");return this._client.captureException(eo,{originalException:eo,syntheticException:no,...to,event_id:ro},this),ro}captureMessage(eo,to,ro){const no=(ro==null?void 0:ro.event_id)||uuid4();if(!this._client)return DEBUG_BUILD$1&&debug$3.warn("No client configured on scope - will not capture message!"),no;const io=(ro==null?void 0:ro.syntheticException)??new Error(eo);return this._client.captureMessage(eo,to,{originalException:eo,syntheticException:io,...ro,event_id:no},this),no}
47captureEvent(eo,to){const ro=eo.event_id||(to==null?void 0:to.event_id)||uuid4();return this._client?(this._client.captureEvent(eo,{...to,event_id:ro},this),ro):(DEBUG_BUILD$1&&debug$3.warn("No client configured on scope - will not capture event!"),ro)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(eo=>{eo(this)}),this._notifyingListeners=!1)}};function getDefaultCurrentScope(){return getGlobalSingleton("defaultCurrentScope",()=>new Scope$1)}function getDefaultIsolationScope(){return getGlobalSingleton("defaultIsolationScope",()=>new Scope$1)}const isActualPromise=Yi=>Yi instanceof Promise&&!Yi[kChainedCopy],kChainedCopy=Symbol("chained PromiseLike"),chainAndCopyPromiseLike=(Yi,eo,to)=>{const ro=Yi.then(no=>(eo(no),no),no=>{throw to(no),no});return isActualPromise(ro)&&isActualPromise(Yi)?ro:copyProps(Yi,ro)},copyProps=(Yi,eo)=>{if(!eo)return Yi;let to=!1;for(const ro in Yi){if(ro in eo)continue;to=!0;const no=Yi[ro];typeof no=="function"?Object.defineProperty(eo,ro,{value:(...io)=>no.apply(Yi,io),enumerable:!0,configurable:!0,writable:!0}):eo[ro]=no}return to&&Object.assign(eo,{[kChainedCopy]:!0}),eo};class AsyncContextStack{constructor(eo,to){let ro;eo?ro=eo:ro=new Scope$1;let no;to?no=to:no=new Scope$1,this._stack=[{scope:ro}],this._isolationScope=no}withScope(eo){const to=this._pushScope();let ro;try{ro=eo(to)}catch(no){throw this._popScope(),no}return isThenable(ro)?chainAndCopyPromiseLike(ro,()=>this._popScope(),()=>this._popScope()):(this._popScope(),ro)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const eo=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:eo}),eo}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function getAsyncContextStack(){const Yi=getMainCarrier(),eo=getSentryCarrier(Yi);return eo.stack=eo.stack||new AsyncContextStack(getDefaultCurrentScope(),getDefaultIsolationScope())}function withScope(Yi){return getAsyncContextStack().withScope(Yi)}function withSetScope(Yi,eo){const to=getAsyncContextStack();return to.withScope(()=>(to.getStackTop().scope=Yi,eo(Yi)))}function withIsolationScope(Yi){return getAsyncContextStack().withScope(()=>Yi(getAsyncContextStack().getIsolationScope()))}function getStackAsyncContextStrategy(){return{withIsolationScope,withScope,withSetScope,withSetIsolationScope:(Yi,eo)=>withIsolationScope(eo),getCurrentScope:()=>getAsyncContextStack().getScope(),getIsolationScope:()=>getAsyncContextStack().getIsolationScope()}}function getAsyncContextStrategy(Yi){const eo=getSentryCarrier(Yi);return eo.acs?eo.acs:getStackAsyncContextStrategy()}function getCurrentScope$1(){const Yi=getMainCarrier();return getAsyncContextStrategy(Yi).getCurrentScope()}function getIsolationScope(){const Yi=getMainCarrier();return getAsyncContextStrategy(Yi).getIsolationScope()}function getGlobalScope(){return getGlobalSingleton("globalScope",()=>new Scope$1)}function getClient(){return getCurrentScope$1().getClient()}const SEMANTIC_ATTRIBUTE_SENTRY_SOURCE="sentry.source",SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE="sentry.sample_rate",SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE="sentry.previous_trace_sample_rate",SEMANTIC_ATTRIBUTE_SENTRY_OP="sentry.op",SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN="sentry.origin",SPAN_STATUS_UNSET=0,SPAN_STATUS_OK=1,SCOPE_ON_START_SPAN_FIELD="_sentryScope",ISOLATION_SCOPE_ON_START_SPAN_FIELD="_sentryIsolationScope";function getCapturedScopesOnSpan(Yi){const eo=Yi;return{scope:eo[SCOPE_ON_START_SPAN_FIELD],isolationScope:derefWeakRef(eo[ISOLATION_SCOPE_ON_START_SPAN_FIELD])}}const SENTRY_BAGGAGE_KEY_PREFIX="sentry-";function baggageHeaderToDynamicSamplingContext(Yi){const eo=parseBaggageHeader(Yi);if(!eo)return;const to=Object.entries(eo).reduce((ro,[no,io])=>{if(no.startsWith(SENTRY_BAGGAGE_KEY_PREFIX)){const oo=no.slice(SENTRY_BAGGAGE_KEY_PREFIX.length);ro[oo]=io}return ro},{});if(Object.keys(to).length>0)return to}function parseBaggageHeader(Yi){if(!(!Yi||!isString$3(Yi)&&!Array.isArray(Yi)))return Array.isArray(Yi)?Yi.reduce((eo,to)=>{const ro=baggageHeaderToObject(to);
vendor: 9,012 bytes, line 47
47return Object.entries(ro).forEach(([no,io])=>{eo[no]=io}),eo},{}):baggageHeaderToObject(Yi)}function baggageHeaderToObject(Yi){return Yi.split(",").map(eo=>{const to=eo.indexOf("=");if(to===-1)return[];const ro=eo.slice(0,to),no=eo.slice(to+1);return[ro,no].map(io=>{try{return decodeURIComponent(io.trim())}catch{return}})}).reduce((eo,[to,ro])=>(to&&ro&&(eo[to]=ro),eo),{})}const ORG_ID_REGEX=/^o(\d+)\./;function dsnToString(Yi,eo=!1){const{host:to,path:ro,pass:no,port:io,projectId:oo,protocol:ao,publicKey:so}=Yi;return`${ao}://${so}${eo&&no?`:${no}`:""}@${to}${io?`:${io}`:""}/${ro&&`${ro}/`}${oo}`}function extractOrgIdFromDsnHost(Yi){const eo=Yi.match(ORG_ID_REGEX);return eo==null?void 0:eo[1]}function extractOrgIdFromClient(Yi){const eo=Yi.getOptions(),{host:to}=Yi.getDsn()||{};let ro;return eo.orgId?ro=String(eo.orgId):to&&(ro=extractOrgIdFromDsnHost(to)),ro}function parseSampleRate(Yi){if(typeof Yi=="boolean")return Number(Yi);const eo=typeof Yi=="string"?parseFloat(Yi):Yi;if(!(typeof eo!="number"||isNaN(eo)||eo<0||eo>1))return eo}const TRACE_FLAG_SAMPLED=1;function spanToTraceContext(Yi){const{spanId:eo,traceId:to,isRemote:ro}=Yi.spanContext(),no=ro?eo:spanToJSON(Yi).parent_span_id,io=getCapturedScopesOnSpan(Yi).scope,oo=ro?(io==null?void 0:io.getPropagationContext().propagationSpanId)||generateSpanId():eo;return{parent_span_id:no,span_id:oo,trace_id:to}}function convertSpanLinksForEnvelope(Yi){if(Yi&&Yi.length>0)return Yi.map(({context:{spanId:eo,traceId:to,traceFlags:ro,...no},attributes:io})=>({span_id:eo,trace_id:to,sampled:ro===TRACE_FLAG_SAMPLED,attributes:io,...no}))}function spanTimeInputToSeconds(Yi){return typeof Yi=="number"?ensureTimestampInSeconds(Yi):Array.isArray(Yi)?Yi[0]+Yi[1]/1e9:Yi instanceof Date?ensureTimestampInSeconds(Yi.getTime()):timestampInSeconds()}function ensureTimestampInSeconds(Yi){return Yi>9999999999?Yi/1e3:Yi}function spanToJSON(Yi){if(spanIsSentrySpan(Yi))return Yi.getSpanJSON();const{spanId:eo,traceId:to}=Yi.spanContext();if(spanIsOpenTelemetrySdkTraceBaseSpan(Yi)){const{attributes:ro,startTime:no,name:io,endTime:oo,status:ao,links:so}=Yi;return{span_id:eo,trace_id:to,data:ro,description:io,parent_span_id:getOtelParentSpanId(Yi),start_timestamp:spanTimeInputToSeconds(no),timestamp:spanTimeInputToSeconds(oo)||void 0,status:getStatusMessage(ao),op:ro[SEMANTIC_ATTRIBUTE_SENTRY_OP],origin:ro[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],links:convertSpanLinksForEnvelope(so)}}return{span_id:eo,trace_id:to,start_timestamp:0,data:{}}}function getOtelParentSpanId(Yi){var eo;return"parentSpanId"in Yi?Yi.parentSpanId:"parentSpanContext"in Yi?(eo=Yi.parentSpanContext)==null?void 0:eo.spanId:void 0}function spanIsOpenTelemetrySdkTraceBaseSpan(Yi){const eo=Yi;return!!eo.attributes&&!!eo.startTime&&!!eo.name&&!!eo.endTime&&!!eo.status}function spanIsSentrySpan(Yi){return typeof Yi.getSpanJSON=="function"}function spanIsSampled(Yi){const{traceFlags:eo}=Yi.spanContext();return eo===TRACE_FLAG_SAMPLED}function getStatusMessage(Yi){if(!(!Yi||Yi.code===SPAN_STATUS_UNSET))return Yi.code===SPAN_STATUS_OK?"ok":Yi.message||"internal_error"}const ROOT_SPAN_FIELD="_sentryRootSpan",getRootSpan=INTERNAL_getSegmentSpan;function INTERNAL_getSegmentSpan(Yi){return Yi[ROOT_SPAN_FIELD]||Yi}function getActiveSpan(){const Yi=getMainCarrier(),eo=getAsyncContextStrategy(Yi);return eo.getActiveSpan?eo.getActiveSpan():_getSpanForScope(getCurrentScope$1())}function hasSpansEnabled(Yi){var to;if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const eo=Yi||((to=getClient())==null?void 0:to.getOptions());return!!eo&&(eo.tracesSampleRate!=null||!!eo.tracesSampler)}const NON_RECORDING_SPAN_FIELD=Symbol.for("sentry.nonRecordingSpan");function spanIsNonRecordingSpan(Yi){return!!Yi&&Yi[NON_RECORDING_SPAN_FIELD]===!0}const DEFAULT_ENVIRONMENT="production",FROZEN_DSC_FIELD="_frozenDsc";function getDynamicSamplingContextFromClient(Yi,eo){const to=eo.getOptions(),{publicKey:ro}=eo.getDsn()||{},no={environment:to.environment||DEFAULT_ENVIRONMENT,release:to.release,public_key:ro,trace_id:Yi,org_id:extractOrgIdFromClient(eo)};return eo.emit("createDsc",no),no}function getDynamicSamplingContextFromScope(Yi,eo){const to=eo.getPropagationContext();return to.dsc||getDynamicSamplingContextFromClient(to.traceId,Yi)}function getDynamicSamplingContextFromSpan(Yi){var mo;const eo=getClient();if(!eo)return{};const to=getRootSpan(Yi),ro=spanToJSON(to),no=ro.data,io=to.spanContext().traceState,oo=(io==null?void 0:io.get("sentry.sample_rate"))??no[SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]??no[SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE];function ao(vo){return(typeof oo=="number"||typeof oo=="string")&&(vo.sample_rate=`${oo}`),vo}const so=to[FROZEN_DSC_FIELD];if(so)return ao(so);if(spanIsNonRecordingSpan(to)&&!hasSpansEnabled(eo.getOptions())){const vo=getCapturedScopesOnSpan(to).scope;if(vo)return ao({...getDynamicSamplingContextFromScope(eo,vo)})}const lo=io==null?void 0:io.get("sentry.dsc"),co=lo&&baggageHeaderToDynamicSamplingContext(lo);if(co)return ao(co);const uo=getDynamicSamplingContextFromClient(Yi.spanContext().traceId,eo),fo=no[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]??no[Sp],ho=ro.description;return fo!=="url"&&ho&&(uo.transaction=ho),hasSpansEnabled()&&(uo.sampled=String(spanIsSampled(to)),uo.sample_rand=(io==null?void 0:io.get("sentry.sample_rand"))??((mo=getCapturedScopesOnSpan(to).scope)==null?void 0:mo.getPropagationContext().sampleRand.toString())),ao(uo),eo.emit("createDsc",uo,to),uo}function createEnvelope(Yi,eo=[]){return[Yi,eo]}function getSdkMetadataForEnvelopeHeader(Yi){if(!(Yi!=null&&Yi.sdk))return;const{name:eo,version:to}=Yi.sdk;return{name:eo,version:to}}function createEventEnvelopeHeaders(Yi,eo,to,ro){var io;const no=(io=Yi.sdkProcessingMetadata)==null?void 0:io.dynamicSamplingContext;return{event_id:Yi.event_id,sent_at:new Date(safeDateNow()).toISOString(),...eo&&{sdk:eo},...!!to&&ro&&{dsn:dsnToString(ro)},...no&&{trace:no}}}function debounce$6(Yi,eo,to){let ro,no,io;const oo=to!=null&&to.maxWait?Math.max(to.maxWait,eo):0,ao=(to==null?void 0:to.setTimeoutImpl)||setTimeout;function so(){return lo(),ro=Yi(),ro}function lo(){no!==void 0&&clearTimeout(no),io!==void 0&&clearTimeout(io),no=io=void 0}function co(){return no!==void 0||io!==void 0?so():ro}function uo(){return no&&clearTimeout(no),no=ao(so,eo),oo&&io===void 0&&(io=ao(so,oo)),ro}return uo.cancel=lo,uo.flush=co,uo}function applyScopeDataToEvent(Yi,eo){const{fingerprint:to,span:ro,breadcrumbs:no,sdkProcessingMetadata:io}=eo;applyDataToEvent(Yi,eo),ro&&applySpanToEvent(Yi,ro),applyFingerprintToEvent(Yi,to),applyBreadcrumbsToEvent(Yi,no),applySdkMetadataToEvent(Yi,io)}function mergeScopeData(Yi,eo){const{extra:to,tags:ro,attributes:no,user:io,contexts:oo,level:ao,sdkProcessingMetadata:so,breadcrumbs:lo,fingerprint:co,eventProcessors:uo,attachments:fo,propagationContext:ho,transactionName:mo,span:vo}=eo;mergeAndOverwriteScopeData(Yi,"extra",to),mergeAndOverwriteScopeData(Yi,"tags",ro),mergeAndOverwriteScopeData(Yi,"attributes",no),mergeAndOverwriteScopeData(Yi,"user",io),mergeAndOverwriteScopeData(Yi,"contexts",oo),Yi.sdkProcessingMetadata=merge$1(Yi.sdkProcessingMetadata,so,2),ao&&(Yi.level=ao),mo&&(Yi.transactionName=mo),vo&&(Yi.span=vo),lo.length&&(Yi.breadcrumbs=[...Yi.breadcrumbs,...lo]),co.length&&(Yi.fingerprint=[...Yi.fingerprint,...co]),uo.length&&(Yi.eventProcessors=[...Yi.eventProcessors,...uo]),fo.length&&(Yi.attachments=[...Yi.attachments,...fo]),Yi.propagationContext={...Yi.propagationContext,...ho}}function mergeAndOverwriteScopeData(Yi,eo,to){Yi[eo]=merge$1(Yi[eo],to,1)}function getCombinedScopeData(Yi,eo){const to=getGlobalScope().getScopeData();return Yi&&mergeScopeData(to,Yi.getScopeData()),eo&&mergeScopeData(to,eo.getScopeData()),to}function applyDataToEvent(Yi,eo){const{extra:to,tags:ro,user:no,contexts:io,level:oo,transactionName:ao}=eo;Object.keys(to).length&&(Yi.extra={...to,...Yi.extra}),Object.keys(ro).length&&(Yi.tags={...ro,...Yi.tags}),Object.keys(no).length&&(Yi.user={...no,...Yi.user}),Object.keys(io).length&&(Yi.contexts={...io,...Yi.contexts}),oo&&(Yi.level=oo),ao&&Yi.type!=="transaction"&&(Yi.transaction=ao)}function applyBreadcrumbsToEvent(Yi,eo){const to=[...Yi.breadcrumbs||[],...eo];Yi.breadcrumbs=to.length?to:void 0}function applySdkMetadataToEvent(Yi,eo){Yi.sdkProcessingMetadata={...Yi.sdkProcessingMetadata,...eo}}function applySpanToEvent(Yi,eo){Yi.contexts={trace:spanToTraceContext(eo),...Yi.contexts},Yi.sdkProcessingMetadata={dynamicSamplingContext:getDynamicSamplingContextFromSpan(eo),...Yi.sdkProcessingMetadata};const to=getRootSpan(eo),ro=spanToJSON(to).description;ro&&!Yi.transaction&&Yi.type==="transaction"&&(Yi.transaction=ro)}function applyFingerprintToEvent(Yi,eo){Yi.fingerprint=Yi.fingerprint?Array.isArray(Yi.fingerprint)?Yi.fingerprint:[Yi.fingerprint]:[],eo&&(Yi.fingerprint=Yi.fingerprint.concat(eo)),Yi.fingerprint.length||delete Yi.fingerprint}function safeSetSpanJSONAttributes(Yi,eo){const to=Yi.attributes??(Yi.attributes={});
vendor: 4,221 bytes, line 47
47Object.entries(eo).forEach(([ro,no])=>{no!=null&&!(ro in to)&&(to[ro]=no)})}const STATE_PENDING=0,STATE_RESOLVED=1,STATE_REJECTED=2;function resolvedSyncPromise(Yi){return new SyncPromise(eo=>{eo(Yi)})}function rejectedSyncPromise(Yi){return new SyncPromise((eo,to)=>{to(Yi)})}class SyncPromise{constructor(eo){this._state=STATE_PENDING,this._handlers=[],this._runExecutor(eo)}then(eo,to){return new SyncPromise((ro,no)=>{this._handlers.push([!1,io=>{if(!eo)ro(io);else try{ro(eo(io))}catch(oo){no(oo)}},io=>{if(!to)no(io);else try{ro(to(io))}catch(oo){no(oo)}}]),this._executeHandlers()})}catch(eo){return this.then(to=>to,eo)}finally(eo){return new SyncPromise((to,ro)=>{let no,io;return this.then(oo=>{io=!1,no=oo,eo&&eo()},oo=>{io=!0,no=oo,eo&&eo()}).then(()=>{if(io){ro(no);return}to(no)})})}_executeHandlers(){if(this._state===STATE_PENDING)return;const eo=this._handlers.slice();this._handlers=[],eo.forEach(to=>{to[0]||(this._state===STATE_RESOLVED&&to[1](this._value),this._state===STATE_REJECTED&&to[2](this._value),to[0]=!0)})}_runExecutor(eo){const to=(io,oo)=>{if(this._state===STATE_PENDING){if(isThenable(oo)){oo.then(ro,no);return}this._state=io,this._value=oo,this._executeHandlers()}},ro=io=>{to(STATE_RESOLVED,io)},no=io=>{to(STATE_REJECTED,io)};try{eo(ro,no)}catch(io){no(io)}}}function notifyEventProcessors(Yi,eo,to,ro=0){try{const no=_notifyEventProcessors(eo,to,Yi,ro);return isThenable(no)?no:resolvedSyncPromise(no)}catch(no){return rejectedSyncPromise(no)}}function _notifyEventProcessors(Yi,eo,to,ro){const no=to[ro];if(!Yi||!no)return Yi;const io=no({...Yi},eo);return DEBUG_BUILD$1&&io===null&&debug$3.log(`Event processor "${no.id||"?"}" dropped event`),isThenable(io)?io.then(oo=>_notifyEventProcessors(oo,eo,to,ro+1)):_notifyEventProcessors(io,eo,to,ro+1)}let parsedStackResults,lastSentryKeysCount,lastNativeKeysCount,cachedFilenameDebugIds;function getFilenameToDebugIdMap(Yi){const eo=GLOBAL_OBJ._sentryDebugIds,to=GLOBAL_OBJ._debugIds;if(!eo&&!to)return{};const ro=eo?Object.keys(eo):[],no=to?Object.keys(to):[];if(cachedFilenameDebugIds&&ro.length===lastSentryKeysCount&&no.length===lastNativeKeysCount)return cachedFilenameDebugIds;lastSentryKeysCount=ro.length,lastNativeKeysCount=no.length,cachedFilenameDebugIds={},parsedStackResults||(parsedStackResults={});const io=(oo,ao)=>{for(const so of oo){const lo=ao[so],co=parsedStackResults==null?void 0:parsedStackResults[so];if(co&&cachedFilenameDebugIds&&lo)cachedFilenameDebugIds[co[0]]=lo,parsedStackResults&&(parsedStackResults[so]=[co[0],lo]);else if(lo){const uo=Yi(so);for(let fo=uo.length-1;fo>=0;fo--){const ho=uo[fo],mo=ho==null?void 0:ho.filename;if(mo&&cachedFilenameDebugIds&&parsedStackResults){cachedFilenameDebugIds[mo]=lo,parsedStackResults[so]=[mo,lo];break}}}}};return eo&&io(ro,eo),to&&io(no,to),cachedFilenameDebugIds}function prepareEvent(Yi,eo,to,ro,no,io){const{normalizeDepth:oo=3,normalizeMaxBreadth:ao=1e3}=Yi,so={...eo,event_id:eo.event_id||to.event_id||uuid4(),timestamp:eo.timestamp||dateTimestampInSeconds()},lo=to.integrations||Yi.integrations.map(bo=>bo.name);applyClientOptions(so,Yi),applyIntegrationsMetadata(so,lo),no&&no.emit("applyFrameMetadata",eo),eo.type===void 0&&applyDebugIds(so,Yi.stackParser);const co=getFinalScope(ro,to.captureContext);to.mechanism&&addExceptionMechanism(so,to.mechanism);const uo=no?no.getEventProcessors():[],fo=getCombinedScopeData(io,co),ho=[...to.attachments||[],...fo.attachments];ho.length&&(to.attachments=ho),applyScopeDataToEvent(so,fo);const mo=[...uo,...fo.eventProcessors];return(to.data&&to.data.__sentry__===!0?resolvedSyncPromise(so):notifyEventProcessors(mo,so,to)).then(bo=>(bo&&applyDebugMeta(bo),typeof oo=="number"&&oo>0?normalizeEvent(bo,oo,ao):bo))}function applyClientOptions(Yi,eo){var ao,so;const{environment:to,release:ro,dist:no,maxValueLength:io}=eo;Yi.environment=Yi.environment||to||DEFAULT_ENVIRONMENT,!Yi.release&&ro&&(Yi.release=ro),!Yi.dist&&no&&(Yi.dist=no);const oo=Yi.request;oo!=null&&oo.url&&io&&(oo.url=truncate$1(oo.url,io)),io&&((so=(ao=Yi.exception)==null?void 0:ao.values)==null||so.forEach(lo=>{lo.value&&(lo.value=truncate$1(lo.value,io))}))}function applyDebugIds(Yi,eo){var ro,no;const to=getFilenameToDebugIdMap(eo);
vendor: 3,625 bytes, line 47
47(no=(ro=Yi.exception)==null?void 0:ro.values)==null||no.forEach(io=>{var oo,ao;(ao=(oo=io.stacktrace)==null?void 0:oo.frames)==null||ao.forEach(so=>{so.filename&&(so.debug_id=to[so.filename])})})}function applyDebugMeta(Yi){var ro,no;const eo={};if((no=(ro=Yi.exception)==null?void 0:ro.values)==null||no.forEach(io=>{var oo,ao;(ao=(oo=io.stacktrace)==null?void 0:oo.frames)==null||ao.forEach(so=>{so.debug_id&&(so.abs_path?eo[so.abs_path]=so.debug_id:so.filename&&(eo[so.filename]=so.debug_id),delete so.debug_id)})}),Object.keys(eo).length===0)return;Yi.debug_meta=Yi.debug_meta||{},Yi.debug_meta.images=Yi.debug_meta.images||[];const to=Yi.debug_meta.images;Object.entries(eo).forEach(([io,oo])=>{to.push({type:"sourcemap",code_file:io,debug_id:oo})})}function applyIntegrationsMetadata(Yi,eo){eo.length>0&&(Yi.sdk=Yi.sdk||{},Yi.sdk.integrations=[...Yi.sdk.integrations||[],...eo])}function normalizeEvent(Yi,eo,to){var no,io;if(!Yi)return null;const ro={...Yi,...Yi.breadcrumbs&&{breadcrumbs:Yi.breadcrumbs.map(oo=>({...oo,...oo.data&&{data:normalize$1(oo.data,eo,to)}}))},...Yi.user&&{user:normalize$1(Yi.user,eo,to)},...Yi.contexts&&{contexts:normalize$1(Yi.contexts,eo,to)},...Yi.extra&&{extra:normalize$1(Yi.extra,eo,to)}};return(no=Yi.contexts)!=null&&no.trace&&ro.contexts&&(ro.contexts.trace=Yi.contexts.trace,Yi.contexts.trace.data&&(ro.contexts.trace.data=normalize$1(Yi.contexts.trace.data,eo,to))),Yi.spans&&(ro.spans=Yi.spans.map(oo=>({...oo,...oo.data&&{data:normalize$1(oo.data,eo,to)}}))),(io=Yi.contexts)!=null&&io.flags&&ro.contexts&&(ro.contexts.flags=normalize$1(Yi.contexts.flags,3,to)),ro}function getFinalScope(Yi,eo){if(!eo)return Yi;const to=Yi?Yi.clone():new Scope$1;return to.update(eo),to}function parseEventHintOrCaptureContext(Yi){if(Yi)return hintIsScopeOrFunction(Yi)?{captureContext:Yi}:hintIsScopeContext(Yi)?{captureContext:Yi}:Yi}function hintIsScopeOrFunction(Yi){return Yi instanceof Scope$1||typeof Yi=="function"}const captureContextKeys=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function hintIsScopeContext(Yi){return Object.keys(Yi).some(eo=>captureContextKeys.includes(eo))}function captureException(Yi,eo){return getCurrentScope$1().captureException(Yi,parseEventHintOrCaptureContext(eo))}function setContext(Yi,eo){getIsolationScope().setContext(Yi,eo)}function addEventProcessor(Yi){getIsolationScope().addEventProcessor(Yi)}function isBrowserBundle(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function isNodeEnv(){return!isBrowserBundle()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function isBrowser$3(){return typeof window<"u"&&(!isNodeEnv()||isElectronNodeRenderer())}function isElectronNodeRenderer(){const Yi=GLOBAL_OBJ.process;return(Yi==null?void 0:Yi.type)==="renderer"}const DEFAULT_RETRY_AFTER=60*1e3;function parseRetryAfterHeader(Yi,eo=safeDateNow()){const to=parseInt(`${Yi}`,10);if(!isNaN(to))return to*1e3;const ro=Date.parse(`${Yi}`);return isNaN(ro)?DEFAULT_RETRY_AFTER:ro-eo}function disabledUntil(Yi,eo){return Yi[eo]||Yi.all||0}function isRateLimited(Yi,eo,to=safeDateNow()){return disabledUntil(Yi,eo)>to}function updateRateLimits(Yi,{statusCode:eo,headers:to},ro=safeDateNow()){const no={...Yi},io=to==null?void 0:to["x-sentry-rate-limits"],oo=to==null?void 0:to["retry-after"];if(io)for(const ao of io.trim().split(",")){const[so,lo,,,co]=ao.split(":",5),uo=parseInt(so,10),fo=(isNaN(uo)?60:uo)*1e3;if(!lo)no.all=ro+fo;else for(const ho of lo.split(";"))ho==="metric_bucket"?(!co||co.split(";").includes("custom"))&&(no[ho]=ro+fo):no[ho]=ro+fo}
47else oo?no.all=ro+parseRetryAfterHeader(oo,ro):eo===429&&(no.all=ro+60*1e3);return no}const DEFAULT_BASE_URL="thismessage:/";function isURLObjectRelative(Yi){return"isRelative"in Yi}function parseStringToURLObject(Yi,eo){const to=Yi.indexOf("://")<=0&&Yi.indexOf("//")!==0,ro=to?DEFAULT_BASE_URL:void 0;try{if("canParse"in URL&&!URL.canParse(Yi,ro))return;const no=new URL(Yi,ro);return to?{isRelative:to,pathname:no.pathname,search:no.search,hash:no.hash}:no}catch{}}function isSentryRequestUrl(Yi,eo){const to=eo==null?void 0:eo.getDsn(),ro=eo==null?void 0:eo.getOptions().tunnel;return checkDsn(Yi,to)||checkTunnel(Yi,ro)}function checkTunnel(Yi,eo){return eo?removeTrailingSlash(Yi)===removeTrailingSlash(eo):!1}function checkDsn(Yi,eo){const to=parseStringToURLObject(Yi);return!to||isURLObjectRelative(to)||!eo?!1:hostnameMatchesDsnHost(to.hostname,eo.host)&&/(^|&|\?)sentry_key=/.test(to.search)}function hostnameMatchesDsnHost(Yi,eo){return Yi===eo||eo.length>0&&Yi.endsWith(`.${eo}`)}function removeTrailingSlash(Yi){return Yi[Yi.length-1]==="/"?Yi.slice(0,-1):Yi}const DEFAULT_BREADCRUMBS=100;function addBreadcrumb(Yi,eo){const to=getClient(),ro=getIsolationScope();if(!to)return;const{beforeBreadcrumb:no=null,maxBreadcrumbs:io=DEFAULT_BREADCRUMBS}=to.getOptions();if(io<=0)return;const ao={timestamp:dateTimestampInSeconds(),...Yi},so=no?consoleSandbox(()=>no(ao,eo)):ao;so!==null&&(to.emit&&to.emit("beforeAddBreadcrumb",so,eo),ro.addBreadcrumb(so,io))}function severityLevelFromString(Yi){return Yi==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(Yi)?Yi:"log"}const WINDOW$1=GLOBAL_OBJ;function getLocationHref(){try{return WINDOW$1.document.location.href}catch{return""}}const WINDOW=GLOBAL_OBJ,REPLAY_SESSION_KEY="sentryReplaySession",REPLAY_EVENT_NAME="replay_event",UNABLE_TO_SEND_REPLAY="Unable to send Replay",SESSION_IDLE_PAUSE_DURATION=3e5,SESSION_IDLE_EXPIRE_DURATION=9e5,DEFAULT_FLUSH_MIN_DELAY=5e3,DEFAULT_FLUSH_MAX_DELAY=5500,BUFFER_CHECKOUT_TIME=6e4,RETRY_BASE_INTERVAL=5e3,RETRY_MAX_COUNT=3,NETWORK_BODY_MAX_SIZE=15e4,CONSOLE_ARG_MAX_SIZE=5e3,SLOW_CLICK_THRESHOLD=3e3,SLOW_CLICK_SCROLL_TIMEOUT=300,REPLAY_MAX_EVENT_BUFFER_SIZE=2e7,MIN_REPLAY_DURATION=4999,MIN_REPLAY_DURATION_LIMIT=5e4,MAX_REPLAY_DURATION=36e5;var __defProp$2=Object.defineProperty,__defNormalProp$1=(Yi,eo,to)=>eo in Yi?__defProp$2(Yi,eo,{enumerable:!0,configurable:!0,writable:!0,value:to}):Yi[eo]=to,__publicField=(Yi,eo,to)=>
47__defNormalProp$1(Yi,typeof eo!="symbol"?eo+"":eo,to),NodeType$1=(Yi=>(Yi[Yi.Document=0]="Document",Yi[Yi.DocumentType=1]="DocumentType",Yi[Yi.Element=2]="Element",Yi[Yi.Text=3]="Text",Yi[Yi.CDATA=4]="CDATA",Yi[Yi.Comment=5]="Comment",Yi))(NodeType$1||{});function isElement$1(Yi){return Yi.nodeType===Yi.ELEMENT_NODE}function isShadowRoot$1(Yi){const eo=Yi==null?void 0:Yi.host;return(eo==null?void 0:eo.shadowRoot)===Yi}function isNativeShadowDom(Yi){return Object.prototype.toString.call(Yi)==="[object ShadowRoot]"}function fixBrowserCompatibilityIssuesInCSS(Yi){return Yi.includes(" background-clip: text;")&&!Yi.includes(" -webkit-background-clip: text;")&&(Yi=Yi.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),Yi}function escapeImportStatement(Yi){const{cssText:eo}=Yi;if(eo.split('"').length<3)return eo;const to=["@import",`url(${JSON.stringify(Yi.href)})`];return Yi.layerName===""?to.push("layer"):Yi.layerName&&to.push(`layer(${Yi.layerName})`),Yi.supportsText&&to.push(`supports(${Yi.supportsText})`),Yi.media.length&&to.push(Yi.media.mediaText),to.join(" ")+";"}function stringifyStylesheet(Yi){try{const eo=Yi.rules||Yi.cssRules;return eo?fixBrowserCompatibilityIssuesInCSS(Array.from(eo,stringifyRule).join("")):null}catch{return null}}function fixAllCssProperty(Yi){let eo="";for(let to=0;to<Yi.style.length;to++){const ro=Yi.style,no=ro[to],io=ro.getPropertyPriority(no);eo+=`${no}:${ro.getPropertyValue(no)}${io?" !important":""};`}return`${Yi.selectorText} { ${eo} }`}function stringifyRule(Yi){let eo;if(isCSSImportRule(Yi))try{eo=stringifyStylesheet(Yi.styleSheet)||escapeImportStatement(Yi)}catch{}else if(isCSSStyleRule(Yi)){let to=Yi.cssText;const ro=Yi.selectorText.includes(":"),no=typeof Yi.style.all=="string"&&Yi.style.all;if(no&&(to=fixAllCssProperty(Yi)),ro&&(to=fixSafariColons(to)),ro||no)return to}return eo||Yi.cssText}function fixSafariColons(Yi){const eo=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return Yi.replace(eo,"$1\\$2")}function isCSSImportRule(Yi){return"styleSheet"in Yi}function isCSSStyleRule(Yi){return"selectorText"in Yi}class Mirror{constructor(){__publicField(this,"idNodeMap",new Map),__publicField(this,"nodeMetaMap",new WeakMap)}getId(eo){var ro;return eo?((ro=this.getMeta(eo))==null?void 0:ro.id)??-1:-1}getNode(eo){return this.idNodeMap.get(eo)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(eo){return this.nodeMetaMap.get(eo)||null}removeNodeFromMap(eo){const to=this.getId(eo);this.idNodeMap.delete(to),eo.childNodes&&eo.childNodes.forEach(ro=>this.removeNodeFromMap(ro))}has(eo){return this.idNodeMap.has(eo)}hasNode(eo){return this.nodeMetaMap.has(eo)}add(eo,to){const ro=to.id;this.idNodeMap.set(ro,eo),this.nodeMetaMap.set(eo,to)}replace(eo,to){const ro=this.getNode(eo);if(ro){const no=this.nodeMetaMap.get(ro);no&&this.nodeMetaMap.set(to,no)}this.idNodeMap.set(eo,to)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function createMirror(){return new Mirror}function shouldMaskInput({maskInputOptions:Yi,tagName:eo,type:to}){return eo==="OPTION"&&(eo="SELECT"),!!(Yi[eo.toLowerCase()]||to&&Yi[to]||to==="password"||eo==="INPUT"&&!to&&Yi.text)}function maskInputValue({isMasked:Yi,element:eo,value:to,maskInputFn:ro}){let no=to||"";return Yi?(ro&&(no=ro(no,eo)),"*".repeat(no.length)):no}function toLowerCase(Yi){return Yi.toLowerCase()}function toUpperCase(Yi){return Yi.toUpperCase()}const ORIGINAL_ATTRIBUTE_NAME="__rrweb_original__";function is2DCanvasBlank(Yi){const eo=Yi.getContext("2d");if(!eo)return!0;const to=50;for(let ro=0;ro<Yi.width;ro+=to)for(let no=0;no<Yi.height;no+=to){const io=eo.getImageData,oo=ORIGINAL_ATTRIBUTE_NAME in io?io[ORIGINAL_ATTRIBUTE_NAME]:io;
47if(new Uint32Array(oo.call(eo,ro,no,Math.min(to,Yi.width-ro),Math.min(to,Yi.height-no)).data.buffer).some(so=>so!==0))return!1}return!0}function getInputType(Yi){const eo=Yi.type;return Yi.hasAttribute("data-rr-is-password")?"password":eo?toLowerCase(eo):null}function getInputValue$1(Yi,eo,to){return eo==="INPUT"&&(to==="radio"||to==="checkbox")?Yi.getAttribute("value")||"":Yi.value}function extractFileExtension(Yi,eo){let to;try{to=new URL(Yi,eo??window.location.href)}catch{return null}const ro=/\.([0-9a-z]+)(?:$)/i,no=to.pathname.match(ro);return(no==null?void 0:no[1])??null}const cachedImplementations$1={};function getImplementation$1(Yi){const eo=cachedImplementations$1[Yi];if(eo)return eo;const to=window.document;let ro=window[Yi];if(to&&typeof to.createElement=="function")try{const no=to.createElement("iframe");no.hidden=!0,to.head.appendChild(no);const io=no.contentWindow;io&&io[Yi]&&(ro=io[Yi]),to.head.removeChild(no)}catch{}return cachedImplementations$1[Yi]=ro.bind(window)}function setTimeout$1(...Yi){return getImplementation$1("setTimeout")(...Yi)}function clearTimeout$1(...Yi){return getImplementation$1("clearTimeout")(...Yi)}function getIFrameContentDocument$1(Yi){try{return Yi.contentDocument}catch{}}function getIFrameContentWindow$1(Yi){try{return Yi.contentWindow}catch{}}let _id=1;const tagNameRegex=new RegExp("[^a-z0-9-_:]"),IGNORED_NODE=-2;function genId(){return _id++}function getValidTagName(Yi){if(Yi instanceof HTMLFormElement)return"form";const eo=toLowerCase(Yi.tagName);return tagNameRegex.test(eo)?"div":eo}function extractOrigin(Yi){let eo="";return Yi.indexOf("//")>-1?eo=Yi.split("/").slice(0,3).join("/"):eo=Yi.split("/")[0],eo=eo.split("?")[0],eo}let canvasService,canvasCtx;const URL_IN_CSS_REF=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,URL_PROTOCOL_MATCH=/^(?:[a-z+]+:)?\/\//i,URL_WWW_MATCH=/^www\..*/i,DATA_URI=/^(data:)([^,]*),(.*)/i;function filterCSSPropertiesFromInlineStyle(Yi,eo){if(!Yi||eo.size===0)return Yi;try{const to=Yi.split(";"),ro=[];for(let no of to){if(no=no.trim(),!no)continue;const io=no.indexOf(":");if(io===-1){ro.push(no);continue}const oo=no.slice(0,io).trim();eo.has(oo)||ro.push(no)}return ro.join("; ")+(ro.length>0&&Yi.endsWith(";")?";":"")}catch(to){return console.warn("Error filtering CSS properties:",to),Yi}}function absoluteToStylesheet(Yi,eo){return(Yi||"").replace(URL_IN_CSS_REF,(to,ro,no,io,oo,ao)=>{const so=no||oo||ao,lo=ro||io||"";if(!so)return to;if(URL_PROTOCOL_MATCH.test(so)||URL_WWW_MATCH.test(so))return`url(${lo}${so}${lo})`;if(DATA_URI.test(so))return`url(${lo}${so}${lo})`;if(so[0]==="/")return`url(${lo}${extractOrigin(eo)+so}${lo})`;const co=eo.split("/"),uo=so.split("/");co.pop();for(const fo of uo)fo!=="."&&(fo===".."?co.pop():co.push(fo));return`url(${lo}${co.join("/")}${lo})`})}const SRCSET_NOT_SPACES=/^[^ \t\n\r\u000c]+/,SRCSET_COMMAS_OR_SPACES=/^[, \t\n\r\u000c]+/;function getAbsoluteSrcsetString(Yi,eo){if(eo.trim()==="")return eo;let to=0;function ro(io){let oo;const ao=io.exec(eo.substring(to));return ao?(oo=ao[0],to+=oo.length,oo):""}const no=[];for(;ro(SRCSET_COMMAS_OR_SPACES),!(to>=eo.length);){let io=ro(SRCSET_NOT_SPACES);if(io.slice(-1)===",")io=absoluteToDoc(Yi,io.substring(0,io.length-1)),no.push(io);else{let oo="";io=absoluteToDoc(Yi,io);let ao=!1;for(;;){const so=eo.charAt(to);if(so===""){no.push((io+oo).trim());break}else if(ao)so===")"&&(ao=!1);else if(so===","){to+=1,no.push((io+oo).trim());break}else so==="("&&(ao=!0);oo+=so,to+=1}}}return no.join(", ")}const cachedDocument=new WeakMap;function absoluteToDoc(Yi,eo){return!eo||eo.trim()===""?eo:getHref(Yi,eo)}function isSVGElement$1(Yi){return!!(Yi.tagName==="svg"||Yi.ownerSVGElement)}function getHref(Yi,eo){let to=cachedDocument.get(Yi);if(to||(to=Yi.createElement("a"),cachedDocument.set(Yi,to)),!eo)eo="";else if(eo.startsWith("blob:")||eo.startsWith("data:"))return eo;return to.setAttribute("href",eo),to.href}function transformAttribute(Yi,eo,to,ro,no,io,oo){if(!ro)return ro;if(to==="src"||to==="href"&&!(eo==="use"&&ro[0]==="#"))return absoluteToDoc(Yi,ro);if(to==="xlink:href"&&ro[0]!=="#")return absoluteToDoc(Yi,ro);if(to==="background"&&(eo==="table"||eo==="td"||eo==="th"))return absoluteToDoc(Yi,ro);if(to==="srcset")return getAbsoluteSrcsetString(Yi,ro);if(to==="style"){let ao=absoluteToStylesheet(ro,getHref(Yi));return oo&&oo.size>0&&(ao=filterCSSPropertiesFromInlineStyle(ao,oo)),ao}else if(eo==="object"&&to==="data")return absoluteToDoc(Yi,ro);return typeof io=="function"?io(to,ro,no):ro}function ignoreAttribute(Yi,eo,to){return(Yi==="video"||Yi==="audio")&&eo==="autoplay"}
47function _isBlockedElement(Yi,eo,to,ro){try{if(ro&&Yi.matches(ro))return!1;if(typeof eo=="string"){if(Yi.classList.contains(eo))return!0}else for(let no=Yi.classList.length;no--;){const io=Yi.classList[no];if(eo.test(io))return!0}if(to)return Yi.matches(to)}catch{}return!1}function elementClassMatchesRegex(Yi,eo){for(let to=Yi.classList.length;to--;){const ro=Yi.classList[to];if(eo.test(ro))return!0}return!1}function distanceToMatch(Yi,eo,to=1/0,ro=0){return!Yi||Yi.nodeType!==Yi.ELEMENT_NODE||ro>to?-1:eo(Yi)?ro:distanceToMatch(Yi.parentNode,eo,to,ro+1)}function createMatchPredicate(Yi,eo){return to=>{const ro=to;if(ro===null)return!1;try{if(Yi){if(typeof Yi=="string"){if(ro.matches(`.${Yi}`))return!0}else if(elementClassMatchesRegex(ro,Yi))return!0}return!!(eo&&ro.matches(eo))}catch{return!1}}}function needMaskingText(Yi,eo,to,ro,no,io){try{const oo=Yi.nodeType===Yi.ELEMENT_NODE?Yi:Yi.parentElement;if(oo===null)return!1;if(oo.tagName==="INPUT"){const lo=oo.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(lo))return!0}let ao=-1,so=-1;if(io){if(so=distanceToMatch(oo,createMatchPredicate(ro,no)),so<0)return!0;ao=distanceToMatch(oo,createMatchPredicate(eo,to),so>=0?so:1/0)}else{if(ao=distanceToMatch(oo,createMatchPredicate(eo,to)),ao<0)return!1;so=distanceToMatch(oo,createMatchPredicate(ro,no),ao>=0?ao:1/0)}return ao>=0?so>=0?ao<=so:!0:so>=0?!1:!!io}catch{}return!!io}function onceIframeLoaded(Yi,eo,to){const ro=getIFrameContentWindow$1(Yi);if(!ro)return;let no=!1,io;try{io=ro.document.readyState}catch{return}if(io!=="complete"){const ao=setTimeout$1(()=>{no||(eo(),no=!0)},to);Yi.addEventListener("load",()=>{clearTimeout$1(ao),no=!0,eo()});return}const oo="about:blank";if(ro.location.href!==oo||Yi.src===oo||Yi.src==="")return setTimeout$1(eo,0),Yi.addEventListener("load",eo);Yi.addEventListener("load",eo)}function onceStylesheetLoaded(Yi,eo,to){let ro=!1,no;try{no=Yi.sheet}catch{no=null}if(no)return;const io=setTimeout$1(()=>{ro||(eo(),ro=!0)},to);Yi.addEventListener("load",()=>{clearTimeout$1(io),ro=!0,eo()})}function serializeNode(Yi,eo){const{doc:to,mirror:ro,blockClass:no,blockSelector:io,unblockSelector:oo,maskAllText:ao,maskAttributeFn:so,maskTextClass:lo,unmaskTextClass:co,maskTextSelector:uo,unmaskTextSelector:fo,inlineStylesheet:ho,maskInputOptions:mo={},maskTextFn:vo,maskInputFn:Co,dataURLOptions:bo={},inlineImages:wo,recordCanvas:yo,keepIframeSrcFn:Eo,newlyAddedElement:xo=!1,ignoreCSSAttributes:So}=eo,To=getRootId(to,ro);switch(Yi.nodeType){case Yi.DOCUMENT_NODE:return Yi.compatMode!=="CSS1Compat"?{type:NodeType$1.Document,childNodes:[],compatMode:Yi.compatMode}:{type:NodeType$1.Document,childNodes:[]};case Yi.DOCUMENT_TYPE_NODE:return{type:NodeType$1.DocumentType,name:Yi.name,publicId:Yi.publicId,systemId:Yi.systemId,rootId:To};case Yi.ELEMENT_NODE:return serializeElementNode(Yi,{doc:to,blockClass:no,blockSelector:io,unblockSelector:oo,inlineStylesheet:ho,maskAttributeFn:so,maskInputOptions:mo,maskInputFn:Co,dataURLOptions:bo,inlineImages:wo,recordCanvas:yo,keepIframeSrcFn:Eo,newlyAddedElement:xo,rootId:To,maskTextClass:lo,unmaskTextClass:co,maskTextSelector:uo,unmaskTextSelector:fo,ignoreCSSAttributes:So});case Yi.TEXT_NODE:return serializeTextNode(Yi,{doc:to,maskAllText:ao,maskTextClass:lo,unmaskTextClass:co,maskTextSelector:uo,unmaskTextSelector:fo,maskTextFn:vo,maskInputOptions:mo,maskInputFn:Co,rootId:To});case Yi.CDATA_SECTION_NODE:return{type:NodeType$1.CDATA,textContent:"",rootId:To};case Yi.COMMENT_NODE:return{type:NodeType$1.Comment,textContent:Yi.textContent||"",rootId:To};default:return!1}}function getRootId(Yi,eo){if(!eo.hasNode(Yi))return;const to=eo.getId(Yi);return to===1?void 0:to}function serializeTextNode(Yi,eo){var bo;const{maskAllText:to,maskTextClass:ro,unmaskTextClass:no,maskTextSelector:io,unmaskTextSelector:oo,maskTextFn:ao,maskInputOptions:so,maskInputFn:lo,rootId:co}=eo,uo=Yi.parentNode&&Yi.parentNode.tagName;let fo=Yi.textContent;const ho=uo==="STYLE"?!0:void 0,mo=uo==="SCRIPT"?!0:void 0,vo=uo==="TEXTAREA"?!0:void 0;if(ho&&fo){try{Yi.nextSibling||Yi.previousSibling||(bo=Yi.parentNode.sheet)!=null&&bo.cssRules&&(fo=stringifyStylesheet(Yi.parentNode.sheet))}catch(wo){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${wo}`,Yi)}fo=absoluteToStylesheet(fo,getHref(eo.doc))}mo&&(fo="SCRIPT_PLACEHOLDER");const Co=needMaskingText(Yi,ro,io,no,oo,to);if(!ho&&!mo&&!vo&&fo&&Co&&(fo=ao?ao(fo,Yi.parentElement):fo.replace(/[\S]/g,"*")),vo&&fo&&(so.textarea||Co)&&(fo=lo?lo(fo,Yi.parentNode):fo.replace(/[\S]/g,"*")),uo==="OPTION"&&fo){const wo=shouldMaskInput({type:null,tagName:uo,maskInputOptions:so});fo=maskInputValue({isMasked:needMaskingText(Yi,ro,io,no,oo,wo),element:Yi,value:fo,maskInputFn:lo})}return{type:NodeType$1.Text,textContent:fo||"",isStyle:ho,rootId:co}}function serializeElementNode(Yi,eo){const{doc:to,blockClass:ro,blockSelector:no,unblockSelector:io,inlineStylesheet:oo,maskInputOptions:ao={},maskAttributeFn:so,maskInputFn:lo,dataURLOptions:co={},inlineImages:uo,recordCanvas:fo,keepIframeSrcFn:ho,newlyAddedElement:mo=!1,rootId:vo,maskTextClass:Co,unmaskTextClass:bo,maskTextSelector:wo,unmaskTextSelector:yo,ignoreCSSAttributes:Eo}
47=eo,xo=_isBlockedElement(Yi,ro,no,io),So=getValidTagName(Yi);let To={};const Ro=Yi.attributes.length;for(let zo=0;zo<Ro;zo++){const Ho=Yi.attributes[zo];Ho.name&&!ignoreAttribute(So,Ho.name,Ho.value)&&(To[Ho.name]=transformAttribute(to,So,toLowerCase(Ho.name),Ho.value,Yi,so,Eo))}if(So==="link"&&oo){const zo=Array.from(to.styleSheets).find(Vo=>Vo.href===Yi.href);let Ho=null;zo&&(Ho=stringifyStylesheet(zo)),Ho&&(To.rel=null,To.href=null,To.crossorigin=null,To._cssText=absoluteToStylesheet(Ho,zo.href))}if(So==="style"&&Yi.sheet&&!(Yi.innerText||Yi.textContent||"").trim().length){const zo=stringifyStylesheet(Yi.sheet);zo&&(To._cssText=absoluteToStylesheet(zo,getHref(to)))}if(So==="input"||So==="textarea"||So==="select"||So==="option"){const zo=Yi,Ho=getInputType(zo),Vo=getInputValue$1(zo,toUpperCase(So),Ho),Lo=zo.checked;if(Ho!=="submit"&&Ho!=="button"&&Vo){const Uo=needMaskingText(zo,Co,wo,bo,yo,shouldMaskInput({type:Ho,tagName:toUpperCase(So),maskInputOptions:ao}));To.value=maskInputValue({isMasked:Uo,element:zo,value:Vo,maskInputFn:lo})}Lo&&(To.checked=Lo)}if(So==="option"&&(Yi.selected&&!ao.select?To.selected=!0:delete To.selected),So==="canvas"&&fo){if(Yi.__context==="2d")is2DCanvasBlank(Yi)||(To.rr_dataURL=Yi.toDataURL(co.type,co.quality));else if(!("__context"in Yi)){const zo=Yi.toDataURL(co.type,co.quality),Ho=to.createElement("canvas");Ho.width=Yi.width,Ho.height=Yi.height;const Vo=Ho.toDataURL(co.type,co.quality);zo!==Vo&&(To.rr_dataURL=zo)}}if(So==="img"&&uo){canvasService||(canvasService=to.createElement("canvas"),canvasCtx=canvasService.getContext("2d"));const zo=Yi,Ho=zo.currentSrc||zo.getAttribute("src")||"<unknown-src>",Vo=zo.crossOrigin,Lo=()=>{zo.removeEventListener("load",Lo);try{canvasService.width=zo.naturalWidth,canvasService.height=zo.naturalHeight,canvasCtx.drawImage(zo,0,0),To.rr_dataURL=canvasService.toDataURL(co.type,co.quality)}catch(Uo){if(zo.crossOrigin!=="anonymous"){zo.crossOrigin="anonymous",zo.complete&&zo.naturalWidth!==0?Lo():zo.addEventListener("load",Lo);return}else console.warn(`Cannot inline img src=${Ho}! Error: ${Uo}`)}zo.crossOrigin==="anonymous"&&(Vo?To.crossOrigin=Vo:zo.removeAttribute("crossorigin"))};zo.complete&&zo.naturalWidth!==0?Lo():zo.addEventListener("load",Lo)}if((So==="audio"||So==="video")&&(To.rr_mediaState=Yi.paused?"paused":"played",To.rr_mediaCurrentTime=Yi.currentTime),mo||(Yi.scrollLeft&&(To.rr_scrollLeft=Yi.scrollLeft),Yi.scrollTop&&(To.rr_scrollTop=Yi.scrollTop)),xo){const{width:zo,height:Ho}=Yi.getBoundingClientRect();To={class:To.class,rr_width:`${zo}px`,rr_height:`${Ho}px`}}So==="iframe"&&!ho(To.src)&&(!xo&&!getIFrameContentDocument$1(Yi)&&(To.rr_src=To.src),delete To.src);let Po;try{customElements.get(So)&&(Po=!0)}catch{}return{type:NodeType$1.Element,tagName:So,attributes:To,childNodes:[],isSVG:isSVGElement$1(Yi)||void 0,needBlock:xo,rootId:vo,isCustom:Po}}function lowerIfExists(Yi){return Yi==null?"":Yi.toLowerCase()}function slimDOMExcluded(Yi,eo){if(eo.comment&&Yi.type===NodeType$1.Comment)return!0;if(Yi.type===NodeType$1.Element){if(eo.script&&(Yi.tagName==="script"||Yi.tagName==="link"&&(Yi.attributes.rel==="preload"||Yi.attributes.rel==="modulepreload")||Yi.tagName==="link"&&Yi.attributes.rel==="prefetch"&&typeof Yi.attributes.href=="string"&&extractFileExtension(Yi.attributes.href)==="js"))return!0;if(eo.headFavicon&&(Yi.tagName==="link"&&Yi.attributes.rel==="shortcut icon"||Yi.tagName==="meta"&&(lowerIfExists(Yi.attributes.name).match(/^msapplication-tile(image|color)$/)||lowerIfExists(Yi.attributes.name)==="application-name"||lowerIfExists(Yi.attributes.rel)==="icon"||lowerIfExists(Yi.attributes.rel)==="apple-touch-icon"||lowerIfExists(Yi.attributes.rel)==="shortcut icon")))return!0;if(Yi.tagName==="meta"){if(eo.headMetaDescKeywords&&lowerIfExists(Yi.attributes.name).match(/^description|keywords$/))return!0;if(eo.headMetaSocial&&(lowerIfExists(Yi.attributes.property).match(/^(og|twitter|fb):/)||lowerIfExists(Yi.attributes.name).match(/^(og|twitter):/)||lowerIfExists(Yi.attributes.name)==="pinterest"))return!0;if(eo.headMetaRobots&&(lowerIfExists(Yi.attributes.name)==="robots"||lowerIfExists(Yi.attributes.name)==="googlebot"||lowerIfExists(Yi.attributes.name)==="bingbot"))return!0;
47if(eo.headMetaHttpEquiv&&Yi.attributes["http-equiv"]!==void 0)return!0;if(eo.headMetaAuthorship&&(lowerIfExists(Yi.attributes.name)==="author"||lowerIfExists(Yi.attributes.name)==="generator"||lowerIfExists(Yi.attributes.name)==="framework"||lowerIfExists(Yi.attributes.name)==="publisher"||lowerIfExists(Yi.attributes.name)==="progid"||lowerIfExists(Yi.attributes.property).match(/^article:/)||lowerIfExists(Yi.attributes.property).match(/^product:/)))return!0;if(eo.headMetaVerification&&(lowerIfExists(Yi.attributes.name)==="google-site-verification"||lowerIfExists(Yi.attributes.name)==="yandex-verification"||lowerIfExists(Yi.attributes.name)==="csrf-token"||lowerIfExists(Yi.attributes.name)==="p:domain_verify"||lowerIfExists(Yi.attributes.name)==="verify-v1"||lowerIfExists(Yi.attributes.name)==="verification"||lowerIfExists(Yi.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function serializeNodeWithId(Yi,eo){const{doc:to,mirror:ro,blockClass:no,blockSelector:io,unblockSelector:oo,maskAllText:ao,maskTextClass:so,unmaskTextClass:lo,maskTextSelector:co,unmaskTextSelector:uo,skipChild:fo=!1,inlineStylesheet:ho=!0,maskInputOptions:mo={},maskAttributeFn:vo,maskTextFn:Co,maskInputFn:bo,slimDOMOptions:wo,dataURLOptions:yo={},inlineImages:Eo=!1,recordCanvas:xo=!1,onSerialize:So,onIframeLoad:To,iframeLoadTimeout:Ro=5e3,onBlockedImageLoad:Po,onStylesheetLoad:zo,stylesheetLoadTimeout:Ho=5e3,keepIframeSrcFn:Vo=()=>!1,newlyAddedElement:Lo=!1,ignoreCSSAttributes:Uo}=eo;let{preserveWhiteSpace:Do=!0}=eo;const Oo=serializeNode(Yi,{doc:to,mirror:ro,blockClass:no,blockSelector:io,maskAllText:ao,unblockSelector:oo,maskTextClass:so,unmaskTextClass:lo,maskTextSelector:co,unmaskTextSelector:uo,inlineStylesheet:ho,maskInputOptions:mo,maskAttributeFn:vo,maskTextFn:Co,maskInputFn:bo,dataURLOptions:yo,inlineImages:Eo,recordCanvas:xo,keepIframeSrcFn:Vo,newlyAddedElement:Lo,ignoreCSSAttributes:Uo});if(!Oo)return console.warn(Yi,"not serialized"),null;let ko;ro.hasNode(Yi)?ko=ro.getId(Yi):slimDOMExcluded(Oo,wo)||!Do&&Oo.type===NodeType$1.Text&&!Oo.isStyle&&!Oo.textContent.trim().length?ko=IGNORED_NODE:ko=genId();const Bo=Object.assign(Oo,{id:ko});if(ro.add(Yi,Bo),ko===IGNORED_NODE)return null;So&&So(Yi);let Fo=!fo;if(Bo.type===NodeType$1.Element){Fo=Fo&&!Bo.needBlock;const Qo=Yi.shadowRoot;Qo&&isNativeShadowDom(Qo)&&(Bo.isShadowHost=!0)}if((Bo.type===NodeType$1.Document||Bo.type===NodeType$1.Element)&&Fo){wo.headWhitespace&&Bo.type===NodeType$1.Element&&Bo.tagName==="head"&&(Do=!1);const Qo={doc:to,mirror:ro,blockClass:no,blockSelector:io,maskAllText:ao,unblockSelector:oo,maskTextClass:so,unmaskTextClass:lo,maskTextSelector:co,unmaskTextSelector:uo,skipChild:fo,inlineStylesheet:ho,maskInputOptions:mo,maskAttributeFn:vo,maskTextFn:Co,maskInputFn:bo,slimDOMOptions:wo,dataURLOptions:yo,inlineImages:Eo,recordCanvas:xo,preserveWhiteSpace:Do,onSerialize:So,onIframeLoad:To,iframeLoadTimeout:Ro,onBlockedImageLoad:Po,onStylesheetLoad:zo,stylesheetLoadTimeout:Ho,keepIframeSrcFn:Vo,ignoreCSSAttributes:Uo},jo=Yi.childNodes?Array.from(Yi.childNodes):[];for(const Xo of jo){const Zo=serializeNodeWithId(Xo,Qo);Zo&&Bo.childNodes.push(Zo)}if(isElement$1(Yi)&&Yi.shadowRoot)for(const Xo of Array.from(Yi.shadowRoot.childNodes)){const Zo=serializeNodeWithId(Xo,Qo);Zo&&(isNativeShadowDom(Yi.shadowRoot)&&(Zo.isShadow=!0),Bo.childNodes.push(Zo))}}if(Yi.parentNode&&isShadowRoot$1(Yi.parentNode)&&isNativeShadowDom(Yi.parentNode)&&(Bo.isShadow=!0),Bo.type===NodeType$1.Element&&Bo.tagName==="iframe"&&!Bo.needBlock&&onceIframeLoaded(Yi,()=>{const Qo=getIFrameContentDocument$1(Yi);if(Qo&&To){const jo=serializeNodeWithId(Qo,{doc:Qo,mirror:ro,blockClass:no,blockSelector:io,unblockSelector:oo,maskAllText:ao,maskTextClass:so,unmaskTextClass:lo,maskTextSelector:co,unmaskTextSelector:uo,skipChild:!1,inlineStylesheet:ho,maskInputOptions:mo,maskAttributeFn:vo,maskTextFn:Co,maskInputFn:bo,slimDOMOptions:wo,dataURLOptions:yo,inlineImages:Eo,recordCanvas:xo,preserveWhiteSpace:Do,onSerialize:So,onIframeLoad:To,iframeLoadTimeout:Ro,onStylesheetLoad:zo,stylesheetLoadTimeout:Ho,keepIframeSrcFn:Vo,ignoreCSSAttributes:Uo});jo&&To(Yi,jo)}},Ro),Bo.type===NodeType$1.Element&&Bo.tagName==="img"&&!Yi.complete&&Bo.needBlock){const Qo=Yi,jo=()=>
vendor: 4,132 bytes, lines 47-49
47{if(Qo.isConnected&&!Qo.complete&&Po)try{const Xo=Qo.getBoundingClientRect();Xo.width>0&&Xo.height>0&&Po(Qo,Bo,Xo)}catch{}Qo.removeEventListener("load",jo)};Qo.isConnected&&Qo.addEventListener("load",jo)}return Bo.type===NodeType$1.Element&&Bo.tagName==="link"&&typeof Bo.attributes.rel=="string"&&(Bo.attributes.rel==="stylesheet"||Bo.attributes.rel==="preload"&&typeof Bo.attributes.href=="string"&&extractFileExtension(Bo.attributes.href)==="css")&&onceStylesheetLoaded(Yi,()=>{if(zo){const Qo=serializeNodeWithId(Yi,{doc:to,mirror:ro,blockClass:no,blockSelector:io,unblockSelector:oo,maskAllText:ao,maskTextClass:so,unmaskTextClass:lo,maskTextSelector:co,unmaskTextSelector:uo,skipChild:!1,inlineStylesheet:ho,maskInputOptions:mo,maskAttributeFn:vo,maskTextFn:Co,maskInputFn:bo,slimDOMOptions:wo,dataURLOptions:yo,inlineImages:Eo,recordCanvas:xo,preserveWhiteSpace:Do,onSerialize:So,onIframeLoad:To,iframeLoadTimeout:Ro,onStylesheetLoad:zo,stylesheetLoadTimeout:Ho,keepIframeSrcFn:Vo,ignoreCSSAttributes:Uo});Qo&&zo(Yi,Qo)}},Ho),Bo.type===NodeType$1.Element&&delete Bo.needBlock,Bo}function snapshot(Yi,eo){const{mirror:to=new Mirror,blockClass:ro="rr-block",blockSelector:no=null,unblockSelector:io=null,maskAllText:oo=!1,maskTextClass:ao="rr-mask",unmaskTextClass:so=null,maskTextSelector:lo=null,unmaskTextSelector:co=null,inlineStylesheet:uo=!0,inlineImages:fo=!1,recordCanvas:ho=!1,maskAllInputs:mo=!1,maskAttributeFn:vo,maskTextFn:Co,maskInputFn:bo,slimDOM:wo=!1,dataURLOptions:yo,preserveWhiteSpace:Eo,onSerialize:xo,onIframeLoad:So,iframeLoadTimeout:To,onBlockedImageLoad:Ro,onStylesheetLoad:Po,stylesheetLoadTimeout:zo,keepIframeSrcFn:Ho=()=>!1,ignoreCSSAttributes:Vo=new Set([])}=eo||{};return serializeNodeWithId(Yi,{doc:Yi,mirror:to,blockClass:ro,blockSelector:no,unblockSelector:io,maskAllText:oo,maskTextClass:ao,unmaskTextClass:so,maskTextSelector:lo,unmaskTextSelector:co,skipChild:!1,inlineStylesheet:uo,maskInputOptions:mo===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:mo===!1?{}:mo,maskAttributeFn:vo,maskTextFn:Co,maskInputFn:bo,slimDOMOptions:wo===!0||wo==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:wo==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:wo===!1?{}:wo,dataURLOptions:yo,inlineImages:fo,recordCanvas:ho,preserveWhiteSpace:Eo,onSerialize:xo,onIframeLoad:So,iframeLoadTimeout:To,onBlockedImageLoad:Ro,onStylesheetLoad:Po,stylesheetLoadTimeout:zo,keepIframeSrcFn:Ho,newlyAddedElement:!1,ignoreCSSAttributes:Vo})}function on$1(Yi,eo,to=document){const ro={capture:!0,passive:!0};return to.addEventListener(Yi,eo,ro),()=>to.removeEventListener(Yi,eo,ro)}const DEPARTED_MIRROR_ACCESS_WARNING=`Please stop import mirror directly. Instead of that,\r
48now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
49or you can use record.mirror to access the mirror instance during recording.`;let _mirror={map:{},getId(){return console.error(DEPARTED_MIRROR_ACCESS_WARNING),-1},getNode(){return console.error(DEPARTED_MIRROR_ACCESS_WARNING),null},removeNodeFromMap(){console.error(DEPARTED_MIRROR_ACCESS_WARNING)},has(){return console.error(DEPARTED_MIRROR_ACCESS_WARNING),!1},reset(){console.error(DEPARTED_MIRROR_ACCESS_WARNING)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(_mirror=new Proxy(_mirror,{get(Yi,eo,to){return eo==="map"&&console.error(DEPARTED_MIRROR_ACCESS_WARNING),Reflect.get(Yi,eo,to)}}));function throttle$1$1(Yi,eo,to={}){let ro=null,no=0;return function(...io){const oo=Date.now();!no&&to.leading===!1&&(no=oo);const ao=eo-(oo-no),so=this;ao<=0||ao>eo?(ro&&(clearTimeout$2(ro),ro=null),no=oo,Yi.apply(so,io)):!ro&&to.trailing!==!1&&(ro=setTimeout$2(()=>{no=to.leading===!1?0:Date.now(),ro=null,Yi.apply(so,io)},ao))}}function hookSetter(Yi,eo,to,ro,no=window){const io=no.Object.getOwnPropertyDescriptor(Yi,eo);return no.Object.defineProperty(Yi,eo,ro?to:{set(oo){setTimeout$2(()=>{to.set.call(this,oo)},0),io&&io.set&&io.set.call(this,oo)}}),()=>
49hookSetter(Yi,eo,io||{},!0)}function patch(Yi,eo,to){try{if(!(eo in Yi))return()=>{};const ro=Yi[eo],no=to(ro);return typeof no=="function"&&(no.prototype=no.prototype||{},Object.defineProperties(no,{__rrweb_original__:{enumerable:!1,value:ro}})),Yi[eo]=no,()=>{Yi[eo]=ro}}catch{return()=>{}}}let nowTimestamp=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(nowTimestamp=()=>new Date().getTime());function getWindowScroll$1(Yi){var to,ro,no,io,oo,ao;const eo=Yi.document;return{left:eo.scrollingElement?eo.scrollingElement.scrollLeft:Yi.pageXOffset!==void 0?Yi.pageXOffset:(eo==null?void 0:eo.documentElement.scrollLeft)||((ro=(to=eo==null?void 0:eo.body)==null?void 0:to.parentElement)==null?void 0:ro.scrollLeft)||((no=eo==null?void 0:eo.body)==null?void 0:no.scrollLeft)||0,top:eo.scrollingElement?eo.scrollingElement.scrollTop:Yi.pageYOffset!==void 0?Yi.pageYOffset:(eo==null?void 0:eo.documentElement.scrollTop)||((oo=(io=eo==null?void 0:eo.body)==null?void 0:io.parentElement)==null?void 0:oo.scrollTop)||((ao=eo==null?void 0:eo.body)==null?void 0:ao.scrollTop)||0}}function getWindowHeight(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function getWindowWidth(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function closestElementOfNode$1(Yi){if(!Yi)return null;try{return Yi.nodeType===Yi.ELEMENT_NODE?Yi:Yi.parentElement}catch{return null}}function isBlocked(Yi,eo,to,ro,no){if(!Yi)return!1;const io=closestElementOfNode$1(Yi);if(!io)return!1;const oo=createMatchPredicate(eo,to);if(!no){const lo=ro&&io.matches(ro);return oo(io)&&!lo}const ao=distanceToMatch(io,oo);let so=-1;return ao<0?!1:(ro&&(so=distanceToMatch(io,createMatchPredicate(null,ro))),ao>-1&&so<0?!0:ao<so)}function isSerialized(Yi,eo){return eo.getId(Yi)!==-1}function isIgnored(Yi,eo){return eo.getId(Yi)===IGNORED_NODE}function isAncestorRemoved(Yi,eo){if(isShadowRoot$1(Yi))return!1;const to=eo.getId(Yi);return eo.has(to)?Yi.parentNode&&Yi.parentNode.nodeType===Yi.DOCUMENT_NODE?!1:Yi.parentNode?isAncestorRemoved(Yi.parentNode,eo):!0:!0}function legacy_isTouchEvent(Yi){return!!Yi.changedTouches}function polyfill$1(Yi=window){"NodeList"in Yi&&!Yi.NodeList.prototype.forEach&&(Yi.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in Yi&&!Yi.DOMTokenList.prototype.forEach&&(Yi.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...eo)=>{let to=eo[0];if(!(0 in eo))throw new TypeError("1 argument is required");do if(this===to)return!0;while(to=to&&to.parentNode);return!1})}function isSerializedIframe(Yi,eo){return!!(Yi.nodeName==="IFRAME"&&eo.getMeta(Yi))}function isSerializedStylesheet(Yi,eo){return!!(Yi.nodeName==="LINK"&&Yi.nodeType===Yi.ELEMENT_NODE&&Yi.getAttribute&&Yi.getAttribute("rel")==="stylesheet"&&eo.getMeta(Yi))}function hasShadowRoot(Yi){return!!(Yi!=null&&Yi.shadowRoot)}class StyleSheetMirror{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(eo){return this.styleIDMap.get(eo)??-1}has(eo){return this.styleIDMap.has(eo)}add(eo,to){if(this.has(eo))return this.getId(eo);let ro;return to===void 0?ro=this.id++:ro=to,this.styleIDMap.set(eo,ro),this.idStyleMap.set(ro,eo),ro}getStyle(eo){return this.idStyleMap.get(eo)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function getShadowHost(Yi){var to,ro;let eo=null;return((ro=(to=Yi.getRootNode)==null?void 0:to.call(Yi))==null?void 0:ro.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&Yi.getRootNode().host&&(eo=Yi.getRootNode().host),eo}function getRootShadowHost(Yi){let eo=Yi,to;for(;to=getShadowHost(eo);)eo=to;return eo}function shadowHostInDom(Yi){const eo=Yi.ownerDocument;if(!eo)return!1;const to=getRootShadowHost(Yi);return eo.contains(to)}function inDom(Yi){const eo=Yi.ownerDocument;return eo?eo.contains(Yi)||shadowHostInDom(Yi):!1}const cachedImplementations={};function getImplementation(Yi){const eo=cachedImplementations[Yi];if(eo)return eo;const to=window.document;let ro=window[Yi];if(to&&typeof to.createElement=="function")try{const no=to.createElement("iframe");no.hidden=!0,to.head.appendChild(no);const io=no.contentWindow;io&&io[Yi]&&(ro=io[Yi]),to.head.removeChild(no)}catch{}return cachedImplementations[Yi]=ro.bind(window)}function onRequestAnimationFrame(...Yi){return getImplementation("requestAnimationFrame")(...Yi)}function setTimeout$2(...Yi){return getImplementation("setTimeout")(...Yi)}function clearTimeout$2(...Yi){return getImplementation("clearTimeout")(...Yi)}var EventType=(Yi=>
49(Yi[Yi.DomContentLoaded=0]="DomContentLoaded",Yi[Yi.Load=1]="Load",Yi[Yi.FullSnapshot=2]="FullSnapshot",Yi[Yi.IncrementalSnapshot=3]="IncrementalSnapshot",Yi[Yi.Meta=4]="Meta",Yi[Yi.Custom=5]="Custom",Yi[Yi.Plugin=6]="Plugin",Yi))(EventType||{}),IncrementalSource=(Yi=>(Yi[Yi.Mutation=0]="Mutation",Yi[Yi.MouseMove=1]="MouseMove",Yi[Yi.MouseInteraction=2]="MouseInteraction",Yi[Yi.Scroll=3]="Scroll",Yi[Yi.ViewportResize=4]="ViewportResize",Yi[Yi.Input=5]="Input",Yi[Yi.TouchMove=6]="TouchMove",Yi[Yi.MediaInteraction=7]="MediaInteraction",Yi[Yi.StyleSheetRule=8]="StyleSheetRule",Yi[Yi.CanvasMutation=9]="CanvasMutation",Yi[Yi.Font=10]="Font",Yi[Yi.Log=11]="Log",Yi[Yi.Drag=12]="Drag",Yi[Yi.StyleDeclaration=13]="StyleDeclaration",Yi[Yi.Selection=14]="Selection",Yi[Yi.AdoptedStyleSheet=15]="AdoptedStyleSheet",Yi[Yi.CustomElement=16]="CustomElement",Yi))(IncrementalSource||{}),MouseInteractions=(Yi=>(Yi[Yi.MouseUp=0]="MouseUp",Yi[Yi.MouseDown=1]="MouseDown",Yi[Yi.Click=2]="Click",Yi[Yi.ContextMenu=3]="ContextMenu",Yi[Yi.DblClick=4]="DblClick",Yi[Yi.Focus=5]="Focus",Yi[Yi.Blur=6]="Blur",Yi[Yi.TouchStart=7]="TouchStart",Yi[Yi.TouchMove_Departed=8]="TouchMove_Departed",Yi[Yi.TouchEnd=9]="TouchEnd",Yi[Yi.TouchCancel=10]="TouchCancel",Yi))(MouseInteractions||{}),PointerTypes=(Yi=>(Yi[Yi.Mouse=0]="Mouse",Yi[Yi.Pen=1]="Pen",Yi[Yi.Touch=2]="Touch",Yi))(PointerTypes||{}),MediaInteractions=(Yi=>(Yi[Yi.Play=0]="Play",Yi[Yi.Pause=1]="Pause",Yi[Yi.Seeked=2]="Seeked",Yi[Yi.VolumeChange=3]="VolumeChange",Yi[Yi.RateChange=4]="RateChange",Yi))(MediaInteractions||{});let errorHandler;function registerErrorHandler(Yi){errorHandler=Yi}function unregisterErrorHandler(){errorHandler=void 0}const callbackWrapper=Yi=>errorHandler?((...to)=>{try{return Yi(...to)}catch(ro){if(errorHandler&&errorHandler(ro)===!0)return()=>{};throw ro}}):Yi;var chars$5="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lookup$4=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var i$7=0;i$7<chars$5.length;i$7++)lookup$4[chars$5.charCodeAt(i$7)]=i$7;class CanvasManagerNoop{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}function getIFrameContentDocument(Yi){try{return Yi.contentDocument}catch{}}function getIFrameContentWindow(Yi){try{return Yi.contentWindow}catch{}}class StyleDeclarationParser{constructor(eo){this.doc=eo,this.unattachedDoc=null}parse(eo){return this.parseWithConstructableStylesheet(eo)||this.parseWithDetachedElement(eo)}parseWithConstructableStylesheet(eo){if(typeof CSSStyleSheet>"u"||typeof CSSStyleSheet.prototype.replaceSync!="function")return null;try{const to=new CSSStyleSheet;to.replaceSync(`x { ${eo} }`);const ro=to.cssRules[0];return!ro||ro.type!==CSSRule.STYLE_RULE?null:ro.style}catch{return null}}parseWithDetachedElement(eo){const to=this.getUnattachedDoc().createElement("span");return to.setAttribute("style",eo),to.style}getUnattachedDoc(){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}return this.unattachedDoc}}function isNodeInLinkedList(Yi){return"__ln"in Yi}class DoubleLinkedList{constructor(){this.length=0,this.head=null,this.tail=null}get(eo){if(eo>=this.length)throw new Error("Position outside of list range");let to=this.head;for(let ro=0;ro<eo;ro++)to=(to==null?void 0:to.next)||null;return to}addNode(eo){const to={value:eo,previous:null,next:null};if(eo.__ln=to,eo.previousSibling&&isNodeInLinkedList(eo.previousSibling)){const ro=eo.previousSibling.__ln.next;to.next=ro,to.previous=eo.previousSibling.__ln,eo.previousSibling.__ln.next=to,ro&&(ro.previous=to)}else if(eo.nextSibling&&isNodeInLinkedList(eo.nextSibling)&&eo.nextSibling.__ln.previous){const ro=eo.nextSibling.__ln.previous;to.previous=ro,to.next=eo.nextSibling.__ln,eo.nextSibling.__ln.previous=to,ro&&(ro.next=to)}else this.head&&(this.head.previous=to),to.next=this.head,this.head=to;to.next===null&&(this.tail=to),this.length++}removeNode(eo){const to=eo.__ln;this.head&&(to.previous?(to.previous.next=to.next,to.next?to.next.previous=to.previous:this.tail=to.previous):(this.head=to.next,this.head?this.head.previous=null:this.tail=null),eo.__ln&&delete eo.__ln,this.length--)}}const moveKey=(Yi,eo)=>`${Yi}@${eo}`;class MutationBuffer{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=eo=>
vendor: 9,823 bytes, line 49
49{eo.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const eo=[],to=new Set,ro=new DoubleLinkedList,no=so=>{let lo=so,co=IGNORED_NODE;for(;co===IGNORED_NODE;)lo=lo&&lo.nextSibling,co=lo&&this.mirror.getId(lo);return co},io=so=>{if(!so.parentNode||!inDom(so))return;const lo=isShadowRoot$1(so.parentNode)?this.mirror.getId(getShadowHost(so)):this.mirror.getId(so.parentNode),co=no(so);if(lo===-1||co===-1)return ro.addNode(so);const uo=serializeNodeWithId(so,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:fo=>{isSerializedIframe(fo,this.mirror)&&!isBlocked(fo,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(fo),isSerializedStylesheet(fo,this.mirror)&&this.stylesheetManager.trackLinkElement(fo),hasShadowRoot(so)&&this.shadowDomManager.addShadowRoot(so.shadowRoot,this.doc)},onIframeLoad:(fo,ho)=>{if(isBlocked(fo,this.blockClass,this.blockSelector,this.unblockSelector,!1))return;this.iframeManager.attachIframe(fo,ho);const mo=getIFrameContentWindow(fo);mo&&this.canvasManager.addWindow(mo),this.shadowDomManager.observeAttachShadow(fo)},onStylesheetLoad:(fo,ho)=>{this.stylesheetManager.attachLinkElement(fo,ho)},onBlockedImageLoad:(fo,ho,{width:mo,height:vo})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:ho.id,attributes:{style:{width:`${mo}px`,height:`${vo}px`}}}]})},ignoreCSSAttributes:this.ignoreCSSAttributes});uo&&(eo.push({parentId:lo,nextId:co,node:uo}),to.add(uo.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const so of this.movedSet)isParentRemoved(this.removes,so,this.mirror)&&!this.movedSet.has(so.parentNode)||io(so);for(const so of this.addedSet)!isAncestorInSet(this.droppedSet,so)&&!isParentRemoved(this.removes,so,this.mirror)||isAncestorInSet(this.movedSet,so)?io(so):this.droppedSet.add(so);let oo=null;for(;ro.length;){let so=null;if(oo){const lo=this.mirror.getId(oo.value.parentNode),co=no(oo.value);lo!==-1&&co!==-1&&(so=oo)}if(!so){let lo=ro.tail;for(;lo;){const co=lo;if(lo=lo.previous,co){const uo=this.mirror.getId(co.value.parentNode);if(no(co.value)===-1)continue;if(uo!==-1){so=co;break}else{const ho=co.value;if(ho.parentNode&&ho.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const mo=ho.parentNode.host;if(this.mirror.getId(mo)!==-1){so=co;break}}}}}}if(!so){for(;ro.head;)ro.removeNode(ro.head.value);break}oo=so.previous,ro.removeNode(so.value),io(so.value)}const ao={texts:this.texts.map(so=>({id:this.mirror.getId(so.node),value:so.value})).filter(so=>!to.has(so.id)).filter(so=>this.mirror.has(so.id)),attributes:this.attributes.map(so=>{const{attributes:lo}=so;if(typeof lo.style=="string"){const co=JSON.stringify(so.styleDiff),uo=JSON.stringify(so._unchangedStyles);co.length<lo.style.length&&(co+uo).split("var(").length===lo.style.split("var(").length&&(lo.style=so.styleDiff)}return{id:this.mirror.getId(so.node),attributes:lo}}).filter(so=>!to.has(so.id)).filter(so=>this.mirror.has(so.id)),removes:this.removes,adds:eo};!ao.texts.length&&!ao.attributes.length&&!ao.removes.length&&!ao.adds.length||(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(ao))},this.processMutation=eo=>{if(!isIgnored(eo.target,this.mirror))switch(eo.type){case"characterData":{const to=eo.target.textContent;!isBlocked(eo.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&to!==eo.oldValue&&this.texts.push({value:needMaskingText(eo.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&to?this.maskTextFn?this.maskTextFn(to,closestElementOfNode$1(eo.target)):to.replace(/[\S]/g,"*"):to,node:eo.target});break}case"attributes":{const to=eo.target;let ro=eo.attributeName,no=eo.target.getAttribute(ro);if(ro==="value"){const oo=getInputType(to),ao=to.tagName;no=getInputValue$1(to,ao,oo);const so=shouldMaskInput({maskInputOptions:this.maskInputOptions,tagName:ao,type:oo}),lo=needMaskingText(eo.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,so);no=maskInputValue({isMasked:lo,element:to,value:no,maskInputFn:this.maskInputFn})}if(isBlocked(eo.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||no===eo.oldValue)return;let io=this.attributeMap.get(eo.target);if(to.tagName==="IFRAME"&&ro==="src"&&!this.keepIframeSrcFn(no))if(!getIFrameContentDocument(to))ro="rr_src";else return;if(io||(io={node:eo.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(io),this.attributeMap.set(eo.target,io)),ro==="type"&&to.tagName==="INPUT"&&(eo.oldValue||"").toLowerCase()==="password"&&to.setAttribute("data-rr-is-password","true"),!ignoreAttribute(to.tagName,ro)&&(io.attributes[ro]=transformAttribute(this.doc,toLowerCase(to.tagName),toLowerCase(ro),no,to,this.maskAttributeFn),ro==="style")){const oo=eo.oldValue?this.styleDeclarationParser.parse(eo.oldValue):null;for(const ao of Array.from(to.style)){const so=to.style.getPropertyValue(ao),lo=to.style.getPropertyPriority(ao);so!==((oo==null?void 0:oo.getPropertyValue(ao))||"")||lo!==((oo==null?void 0:oo.getPropertyPriority(ao))||"")?lo===""?io.styleDiff[ao]=so:io.styleDiff[ao]=[so,lo]:io._unchangedStyles[ao]=[so,lo]}if(oo)for(const ao of Array.from(oo))to.style.getPropertyValue(ao)===""&&(io.styleDiff[ao]=!1)}break}case"childList":{if(isBlocked(eo.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;eo.addedNodes.forEach(to=>this.genAdds(to,eo.target)),eo.removedNodes.forEach(to=>{const ro=this.mirror.getId(to),no=isShadowRoot$1(eo.target)?this.mirror.getId(eo.target.host):this.mirror.getId(eo.target);isBlocked(eo.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||isIgnored(to,this.mirror)||!isSerialized(to,this.mirror)||(this.addedSet.has(to)?(deepDelete(this.addedSet,to),this.droppedSet.add(to)):this.addedSet.has(eo.target)&&ro===-1||isAncestorRemoved(eo.target,this.mirror)||(this.movedSet.has(to)&&this.movedMap[moveKey(ro,no)]?deepDelete(this.movedSet,to):this.removes.push({parentId:no,id:ro,isShadow:isShadowRoot$1(eo.target)&&isNativeShadowDom(eo.target)?!0:void 0})),this.mapRemoves.push(to))});break}}},this.genAdds=(eo,to)=>{if(!this.processedNodeManager.inOtherBuffer(eo,this)&&!(this.addedSet.has(eo)||this.movedSet.has(eo))){if(this.mirror.hasNode(eo)){if(isIgnored(eo,this.mirror))return;this.movedSet.add(eo);let ro=null;to&&this.mirror.hasNode(to)&&(ro=this.mirror.getId(to)),ro&&ro!==-1&&(this.movedMap[moveKey(this.mirror.getId(eo),ro)]=!0)}else this.addedSet.add(eo),this.droppedSet.delete(eo);isBlocked(eo,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(eo.childNodes&&eo.childNodes.forEach(ro=>this.genAdds(ro)),hasShadowRoot(eo)&&eo.shadowRoot.childNodes.forEach(ro=>{this.processedNodeManager.add(ro,this),this.genAdds(ro,eo)}))}}}init(eo){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager","ignoreCSSAttributes"].forEach(to=>{this[to]=eo[to]}),this.styleDeclarationParser=new StyleDeclarationParser(this.doc)}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function deepDelete(Yi,eo){var to;Yi.delete(eo),(to=eo.childNodes)==null||to.forEach(ro=>deepDelete(Yi,ro))}function isParentRemoved(Yi,eo,to){return Yi.length===0?!1:_isParentRemoved(Yi,eo,to)}function _isParentRemoved(Yi,eo,to){let ro=eo.parentNode;for(;ro;){const no=to.getId(ro);if(Yi.some(io=>io.id===no))return!0;ro=ro.parentNode}return!1}function isAncestorInSet(Yi,eo){return Yi.size===0?!1:_isAncestorInSet(Yi,eo)}function _isAncestorInSet(Yi,eo){const{parentNode:to}=eo;return to?Yi.has(to)?!0:_isAncestorInSet(Yi,to):!1}const mutationBuffers=[];function getEventTarget(Yi){try{if("composedPath"in Yi){const eo=Yi.composedPath();if(eo.length)return eo[0]}else if("path"in Yi&&Yi.path.length)return Yi.path[0]}catch{}return Yi&&Yi.target}function initMutationObserver(Yi,eo){var oo,ao;const to=new MutationBuffer;mutationBuffers.push(to),to.init(Yi);let ro=window.MutationObserver||window.__rrMutationObserver;const no=(ao=(oo=window==null?void 0:window.Zone)==null?void 0:oo.__symbol__)==null?void 0:ao.call(oo,"MutationObserver");no&&window[no]&&(ro=window[no]);const io=new ro(callbackWrapper(so=>{Yi.onMutation&&Yi.onMutation(so)===!1||to.processMutations.bind(to)(so)}));return io.observe(eo,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),io}function initMoveObserver({mousemoveCb:Yi,sampling:eo,doc:to,mirror:ro}
vendor: 3,728 bytes, line 49
49){if(eo.mousemove===!1)return()=>{};const no=typeof eo.mousemove=="number"?eo.mousemove:50,io=typeof eo.mousemoveCallback=="number"?eo.mousemoveCallback:500;let oo=[],ao;const so=throttle$1$1(callbackWrapper(uo=>{const fo=Date.now()-ao;Yi(oo.map(ho=>(ho.timeOffset-=fo,ho)),uo),oo=[],ao=null}),io),lo=callbackWrapper(throttle$1$1(callbackWrapper(uo=>{const fo=getEventTarget(uo),{clientX:ho,clientY:mo}=legacy_isTouchEvent(uo)?uo.changedTouches[0]:uo;ao||(ao=nowTimestamp()),oo.push({x:ho,y:mo,id:ro.getId(fo),timeOffset:nowTimestamp()-ao}),so(typeof DragEvent<"u"&&uo instanceof DragEvent?IncrementalSource.Drag:uo instanceof MouseEvent?IncrementalSource.MouseMove:IncrementalSource.TouchMove)}),no,{trailing:!1})),co=[on$1("mousemove",lo,to),on$1("touchmove",lo,to),on$1("drag",lo,to)];return callbackWrapper(()=>{co.forEach(uo=>uo())})}function initMouseInteractionObserver({mouseInteractionCb:Yi,doc:eo,mirror:to,blockClass:ro,blockSelector:no,unblockSelector:io,sampling:oo}){if(oo.mouseInteraction===!1)return()=>{};const ao=oo.mouseInteraction===!0||oo.mouseInteraction===void 0?{}:oo.mouseInteraction,so=[];let lo=null;const co=uo=>fo=>{const ho=getEventTarget(fo);if(isBlocked(ho,ro,no,io,!0))return;let mo=null,vo=uo;if("pointerType"in fo){switch(fo.pointerType){case"mouse":mo=PointerTypes.Mouse;break;case"touch":mo=PointerTypes.Touch;break;case"pen":mo=PointerTypes.Pen;break}mo===PointerTypes.Touch?MouseInteractions[uo]===MouseInteractions.MouseDown?vo="TouchStart":MouseInteractions[uo]===MouseInteractions.MouseUp&&(vo="TouchEnd"):PointerTypes.Pen}else legacy_isTouchEvent(fo)&&(mo=PointerTypes.Touch);mo!==null?(lo=mo,(vo.startsWith("Touch")&&mo===PointerTypes.Touch||vo.startsWith("Mouse")&&mo===PointerTypes.Mouse)&&(mo=null)):MouseInteractions[uo]===MouseInteractions.Click&&(mo=lo,lo=null);const Co=legacy_isTouchEvent(fo)?fo.changedTouches[0]:fo;if(!Co)return;const bo=to.getId(ho),{clientX:wo,clientY:yo}=Co;callbackWrapper(Yi)({type:MouseInteractions[vo],id:bo,x:wo,y:yo,...mo!==null&&{pointerType:mo}})};return Object.keys(MouseInteractions).filter(uo=>Number.isNaN(Number(uo))&&!uo.endsWith("_Departed")&&ao[uo]!==!1).forEach(uo=>{let fo=toLowerCase(uo);const ho=co(uo);if(window.PointerEvent)switch(MouseInteractions[uo]){case MouseInteractions.MouseDown:case MouseInteractions.MouseUp:fo=fo.replace("mouse","pointer");break;case MouseInteractions.TouchStart:case MouseInteractions.TouchEnd:return}so.push(on$1(fo,ho,eo))}),callbackWrapper(()=>{so.forEach(uo=>uo())})}function initScrollObserver({scrollCb:Yi,doc:eo,mirror:to,blockClass:ro,blockSelector:no,unblockSelector:io,sampling:oo}){const ao=callbackWrapper(throttle$1$1(callbackWrapper(so=>{const lo=getEventTarget(so);if(!lo||isBlocked(lo,ro,no,io,!0))return;const co=to.getId(lo);if(lo===eo&&eo.defaultView){const uo=getWindowScroll$1(eo.defaultView);Yi({id:co,x:uo.left,y:uo.top})}else Yi({id:co,x:lo.scrollLeft,y:lo.scrollTop})}),oo.scroll||100));return on$1("scroll",ao,eo)}function initViewportResizeObserver({viewportResizeCb:Yi},{win:eo}){let to=-1,ro=-1;const no=callbackWrapper(throttle$1$1(callbackWrapper(()=>{const io=getWindowHeight(),oo=getWindowWidth();(to!==io||ro!==oo)&&(Yi({width:Number(oo),height:Number(io)}),to=io,ro=oo)}),200));return on$1("resize",no,eo)}const INPUT_TAGS=["INPUT","TEXTAREA","SELECT"],lastInputValueMap=new WeakMap;function initInputObserver({inputCb:Yi,doc:eo,mirror:to,blockClass:ro,blockSelector:no,unblockSelector:io,ignoreClass:oo,ignoreSelector:ao,maskInputOptions:so,maskInputFn:lo,sampling:co,userTriggeredOnInput:uo,maskTextClass:fo,unmaskTextClass:ho,maskTextSelector:mo,unmaskTextSelector:vo}){function Co(To){let Ro=getEventTarget(To);const Po=To.isTrusted,zo=Ro&&toUpperCase(Ro.tagName);
vendor: 4,237 bytes, line 49
49if(zo==="OPTION"&&(Ro=Ro.parentElement),!Ro||!zo||INPUT_TAGS.indexOf(zo)<0||isBlocked(Ro,ro,no,io,!0))return;const Ho=Ro;if(Ho.classList.contains(oo)||ao&&Ho.matches(ao))return;const Vo=getInputType(Ro);let Lo=getInputValue$1(Ho,zo,Vo),Uo=!1;const Do=shouldMaskInput({maskInputOptions:so,tagName:zo,type:Vo}),Oo=needMaskingText(Ro,fo,mo,ho,vo,Do);(Vo==="radio"||Vo==="checkbox")&&(Uo=Ro.checked),Lo=maskInputValue({isMasked:Oo,element:Ro,value:Lo,maskInputFn:lo}),bo(Ro,uo?{text:Lo,isChecked:Uo,userTriggered:Po}:{text:Lo,isChecked:Uo});const ko=Ro.name;Vo==="radio"&&ko&&Uo&&eo.querySelectorAll(`input[type="radio"][name="${ko}"]`).forEach(Bo=>{if(Bo!==Ro){const Fo=maskInputValue({isMasked:Oo,element:Bo,value:getInputValue$1(Bo,zo,Vo),maskInputFn:lo});bo(Bo,uo?{text:Fo,isChecked:!Uo,userTriggered:!1}:{text:Fo,isChecked:!Uo})}})}function bo(To,Ro){const Po=lastInputValueMap.get(To);if(!Po||Po.text!==Ro.text||Po.isChecked!==Ro.isChecked){lastInputValueMap.set(To,Ro);const zo=to.getId(To);callbackWrapper(Yi)({...Ro,id:zo})}}const yo=(co.input==="last"?["change"]:["input","change"]).map(To=>on$1(To,callbackWrapper(Co),eo)),Eo=eo.defaultView;if(!Eo)return()=>{yo.forEach(To=>To())};const xo=Eo.Object.getOwnPropertyDescriptor(Eo.HTMLInputElement.prototype,"value"),So=[[Eo.HTMLInputElement.prototype,"value"],[Eo.HTMLInputElement.prototype,"checked"],[Eo.HTMLSelectElement.prototype,"value"],[Eo.HTMLTextAreaElement.prototype,"value"],[Eo.HTMLSelectElement.prototype,"selectedIndex"],[Eo.HTMLOptionElement.prototype,"selected"]];return xo&&xo.set&&yo.push(...So.map(To=>hookSetter(To[0],To[1],{set(){callbackWrapper(Co)({target:this,isTrusted:!1})}},!1,Eo))),callbackWrapper(()=>{yo.forEach(To=>To())})}function getNestedCSSRulePositions(Yi){const eo=[];function to(ro,no){if(hasNestedCSSRule("CSSGroupingRule")&&ro.parentRule instanceof CSSGroupingRule||hasNestedCSSRule("CSSMediaRule")&&ro.parentRule instanceof CSSMediaRule||hasNestedCSSRule("CSSSupportsRule")&&ro.parentRule instanceof CSSSupportsRule||hasNestedCSSRule("CSSConditionRule")&&ro.parentRule instanceof CSSConditionRule){const oo=Array.from(ro.parentRule.cssRules).indexOf(ro);no.unshift(oo)}else if(ro.parentStyleSheet){const oo=Array.from(ro.parentStyleSheet.cssRules).indexOf(ro);no.unshift(oo)}return no}return to(Yi,eo)}function getIdAndStyleId(Yi,eo,to){let ro,no;return Yi?(Yi.ownerNode?ro=eo.getId(Yi.ownerNode):no=to.getId(Yi),{styleId:no,id:ro}):{}}function initStyleSheetObserver({styleSheetRuleCb:Yi,mirror:eo,stylesheetManager:to},{win:ro}){if(!ro.CSSStyleSheet||!ro.CSSStyleSheet.prototype)return()=>{};const no=ro.CSSStyleSheet.prototype.insertRule;ro.CSSStyleSheet.prototype.insertRule=new Proxy(no,{apply:callbackWrapper((co,uo,fo)=>{const[ho,mo]=fo,{id:vo,styleId:Co}=getIdAndStyleId(uo,eo,to.styleMirror);return(vo&&vo!==-1||Co&&Co!==-1)&&Yi({id:vo,styleId:Co,adds:[{rule:ho,index:mo}]}),co.apply(uo,fo)})});const io=ro.CSSStyleSheet.prototype.deleteRule;ro.CSSStyleSheet.prototype.deleteRule=new Proxy(io,{apply:callbackWrapper((co,uo,fo)=>{const[ho]=fo,{id:mo,styleId:vo}=getIdAndStyleId(uo,eo,to.styleMirror);return(mo&&mo!==-1||vo&&vo!==-1)&&Yi({id:mo,styleId:vo,removes:[{index:ho}]}),co.apply(uo,fo)})});let oo;ro.CSSStyleSheet.prototype.replace&&(oo=ro.CSSStyleSheet.prototype.replace,ro.CSSStyleSheet.prototype.replace=new Proxy(oo,{apply:callbackWrapper((co,uo,fo)=>{const[ho]=fo,{id:mo,styleId:vo}=getIdAndStyleId(uo,eo,to.styleMirror);return(mo&&mo!==-1||vo&&vo!==-1)&&Yi({id:mo,styleId:vo,replace:ho}),co.apply(uo,fo)})}));let ao;ro.CSSStyleSheet.prototype.replaceSync&&(ao=ro.CSSStyleSheet.prototype.replaceSync,ro.CSSStyleSheet.prototype.replaceSync=new Proxy(ao,{apply:callbackWrapper((co,uo,fo)=>{const[ho]=fo,{id:mo,styleId:vo}=getIdAndStyleId(uo,eo,to.styleMirror);return(mo&&mo!==-1||vo&&vo!==-1)&&Yi({id:mo,styleId:vo,replaceSync:ho}),co.apply(uo,fo)})}));const so={};canMonkeyPatchNestedCSSRule("CSSGroupingRule")?so.CSSGroupingRule=ro.CSSGroupingRule:(canMonkeyPatchNestedCSSRule("CSSMediaRule")&&(so.CSSMediaRule=ro.CSSMediaRule),canMonkeyPatchNestedCSSRule("CSSConditionRule")&&(so.CSSConditionRule=ro.CSSConditionRule),canMonkeyPatchNestedCSSRule("CSSSupportsRule")&&(so.CSSSupportsRule=ro.CSSSupportsRule));const lo={};
vendor: 4,249 bytes, line 49
49return Object.entries(so).forEach(([co,uo])=>{lo[co]={insertRule:uo.prototype.insertRule,deleteRule:uo.prototype.deleteRule},uo.prototype.insertRule=new Proxy(lo[co].insertRule,{apply:callbackWrapper((fo,ho,mo)=>{const[vo,Co]=mo,{id:bo,styleId:wo}=getIdAndStyleId(ho.parentStyleSheet,eo,to.styleMirror);return(bo&&bo!==-1||wo&&wo!==-1)&&Yi({id:bo,styleId:wo,adds:[{rule:vo,index:[...getNestedCSSRulePositions(ho),Co||0]}]}),fo.apply(ho,mo)})}),uo.prototype.deleteRule=new Proxy(lo[co].deleteRule,{apply:callbackWrapper((fo,ho,mo)=>{const[vo]=mo,{id:Co,styleId:bo}=getIdAndStyleId(ho.parentStyleSheet,eo,to.styleMirror);return(Co&&Co!==-1||bo&&bo!==-1)&&Yi({id:Co,styleId:bo,removes:[{index:[...getNestedCSSRulePositions(ho),vo]}]}),fo.apply(ho,mo)})})}),callbackWrapper(()=>{ro.CSSStyleSheet.prototype.insertRule=no,ro.CSSStyleSheet.prototype.deleteRule=io,oo&&(ro.CSSStyleSheet.prototype.replace=oo),ao&&(ro.CSSStyleSheet.prototype.replaceSync=ao),Object.entries(so).forEach(([co,uo])=>{uo.prototype.insertRule=lo[co].insertRule,uo.prototype.deleteRule=lo[co].deleteRule})})}function initAdoptedStyleSheetObserver({mirror:Yi,stylesheetManager:eo},to){var oo,ao,so;let ro=null;to.nodeName==="#document"?ro=Yi.getId(to):ro=Yi.getId(to.host);const no=to.nodeName==="#document"?(oo=to.defaultView)==null?void 0:oo.Document:(so=(ao=to.ownerDocument)==null?void 0:ao.defaultView)==null?void 0:so.ShadowRoot,io=no!=null&&no.prototype?Object.getOwnPropertyDescriptor(no==null?void 0:no.prototype,"adoptedStyleSheets"):void 0;return ro===null||ro===-1||!no||!io?()=>{}:(Object.defineProperty(to,"adoptedStyleSheets",{configurable:io.configurable,enumerable:io.enumerable,get(){var lo;return(lo=io.get)==null?void 0:lo.call(this)},set(lo){var uo;const co=(uo=io.set)==null?void 0:uo.call(this,lo);if(ro!==null&&ro!==-1)try{eo.adoptStyleSheets(lo,ro)}catch{}return co}}),callbackWrapper(()=>{Object.defineProperty(to,"adoptedStyleSheets",{configurable:io.configurable,enumerable:io.enumerable,get:io.get,set:io.set})}))}function initStyleDeclarationObserver({styleDeclarationCb:Yi,mirror:eo,ignoreCSSAttributes:to,stylesheetManager:ro},{win:no}){const io=no.CSSStyleDeclaration.prototype.setProperty;no.CSSStyleDeclaration.prototype.setProperty=new Proxy(io,{apply:callbackWrapper((ao,so,lo)=>{var vo;const[co,uo,fo]=lo;if(to.has(co))return io.apply(so,[co,uo,fo]);const{id:ho,styleId:mo}=getIdAndStyleId((vo=so.parentRule)==null?void 0:vo.parentStyleSheet,eo,ro.styleMirror);return(ho&&ho!==-1||mo&&mo!==-1)&&Yi({id:ho,styleId:mo,set:{property:co,value:uo,priority:fo},index:getNestedCSSRulePositions(so.parentRule)}),ao.apply(so,lo)})});const oo=no.CSSStyleDeclaration.prototype.removeProperty;return no.CSSStyleDeclaration.prototype.removeProperty=new Proxy(oo,{apply:callbackWrapper((ao,so,lo)=>{var ho;const[co]=lo;if(to.has(co))return oo.apply(so,[co]);const{id:uo,styleId:fo}=getIdAndStyleId((ho=so.parentRule)==null?void 0:ho.parentStyleSheet,eo,ro.styleMirror);return(uo&&uo!==-1||fo&&fo!==-1)&&Yi({id:uo,styleId:fo,remove:{property:co},index:getNestedCSSRulePositions(so.parentRule)}),ao.apply(so,lo)})}),callbackWrapper(()=>{no.CSSStyleDeclaration.prototype.setProperty=io,no.CSSStyleDeclaration.prototype.removeProperty=oo})}function initMediaInteractionObserver({mediaInteractionCb:Yi,blockClass:eo,blockSelector:to,unblockSelector:ro,mirror:no,sampling:io,doc:oo}){const ao=callbackWrapper(lo=>throttle$1$1(callbackWrapper(co=>{const uo=getEventTarget(co);if(!uo||isBlocked(uo,eo,to,ro,!0))return;const{currentTime:fo,volume:ho,muted:mo,playbackRate:vo}=uo;Yi({type:lo,id:no.getId(uo),currentTime:fo,volume:ho,muted:mo,playbackRate:vo})}),io.media||500)),so=[on$1("play",ao(MediaInteractions.Play),oo),on$1("pause",ao(MediaInteractions.Pause),oo),on$1("seeked",ao(MediaInteractions.Seeked),oo),on$1("volumechange",ao(MediaInteractions.VolumeChange),oo),on$1("ratechange",ao(MediaInteractions.RateChange),oo)];return callbackWrapper(()=>{so.forEach(lo=>lo())})}function initFontObserver({fontCb:Yi,doc:eo}){const to=eo.defaultView;if(!to)return()=>{};const ro=[],no=new WeakMap,io=to.FontFace;to.FontFace=function(so,lo,co){const uo=new io(so,lo,co);return no.set(uo,{family:so,buffer:typeof lo!="string",descriptors:co,fontSource:typeof lo=="str
49ing"?lo:JSON.stringify(Array.from(new Uint8Array(lo)))}),uo};const oo=patch(eo.fonts,"add",function(ao){return function(so){return setTimeout$2(callbackWrapper(()=>{const lo=no.get(so);lo&&(Yi(lo),no.delete(so))}),0),ao.apply(this,[so])}});return ro.push(()=>{to.FontFace=io}),ro.push(oo),callbackWrapper(()=>{ro.forEach(ao=>ao())})}function initSelectionObserver(Yi){const{doc:eo,mirror:to,blockClass:ro,blockSelector:no,unblockSelector:io,selectionCb:oo}=Yi;let ao=!0;const so=callbackWrapper(()=>{const lo=eo.getSelection();if(!lo||ao&&(lo!=null&&lo.isCollapsed))return;ao=lo.isCollapsed||!1;const co=[],uo=lo.rangeCount||0;for(let fo=0;fo<uo;fo++){const ho=lo.getRangeAt(fo),{startContainer:mo,startOffset:vo,endContainer:Co,endOffset:bo}=ho;isBlocked(mo,ro,no,io,!0)||isBlocked(Co,ro,no,io,!0)||co.push({start:to.getId(mo),startOffset:vo,end:to.getId(Co),endOffset:bo})}oo({ranges:co})});return so(),on$1("selectionchange",so)}function initCustomElementObserver({doc:Yi,customElementCb:eo}){const to=Yi.defaultView;return!to||!to.customElements?()=>{}:patch(to.customElements,"define",function(no){return function(io,oo,ao){try{eo({define:{name:io}})}catch{}return no.apply(this,[io,oo,ao])}})}function initObservers(Yi,eo={}){const to=Yi.doc.defaultView;if(!to)return()=>{};let ro;Yi.recordDOM&&(ro=initMutationObserver(Yi,Yi.doc));const no=initMoveObserver(Yi),io=initMouseInteractionObserver(Yi),oo=initScrollObserver(Yi),ao=initViewportResizeObserver(Yi,{win:to}),so=initInputObserver(Yi),lo=initMediaInteractionObserver(Yi);let co=()=>{},uo=()=>{},fo=()=>{},ho=()=>{};Yi.recordDOM&&(co=initStyleSheetObserver(Yi,{win:to}),uo=initAdoptedStyleSheetObserver(Yi,Yi.doc),fo=initStyleDeclarationObserver(Yi,{win:to}),Yi.collectFonts&&(ho=initFontObserver(Yi)));const mo=initSelectionObserver(Yi),vo=initCustomElementObserver(Yi),
vendor: 15,162 bytes, line 49
49Co=[];for(const bo of Yi.plugins)Co.push(bo.observer(bo.callback,to,bo.options));return callbackWrapper(()=>{mutationBuffers.forEach(bo=>bo.reset()),ro==null||ro.disconnect(),no(),io(),oo(),ao(),so(),lo(),co(),uo(),fo(),ho(),mo(),vo(),Co.forEach(bo=>bo())})}function hasNestedCSSRule(Yi){return typeof window[Yi]<"u"}function canMonkeyPatchNestedCSSRule(Yi){return!!(typeof window[Yi]<"u"&&window[Yi].prototype&&"insertRule"in window[Yi].prototype&&"deleteRule"in window[Yi].prototype)}class CrossOriginIframeMirror{constructor(eo){this.generateIdFn=eo,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(eo,to,ro,no){const io=ro||this.getIdToRemoteIdMap(eo),oo=no||this.getRemoteIdToIdMap(eo);let ao=io.get(to);return ao||(ao=this.generateIdFn(),io.set(to,ao),oo.set(ao,to)),ao}getIds(eo,to){const ro=this.getIdToRemoteIdMap(eo),no=this.getRemoteIdToIdMap(eo);return to.map(io=>this.getId(eo,io,ro,no))}getRemoteId(eo,to,ro){const no=ro||this.getRemoteIdToIdMap(eo);if(typeof to!="number")return to;const io=no.get(to);return io||-1}getRemoteIds(eo,to){const ro=this.getRemoteIdToIdMap(eo);return to.map(no=>this.getRemoteId(eo,no,ro))}reset(eo){if(!eo){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(eo),this.iframeRemoteIdToIdMap.delete(eo)}getIdToRemoteIdMap(eo){let to=this.iframeIdToRemoteIdMap.get(eo);return to||(to=new Map,this.iframeIdToRemoteIdMap.set(eo,to)),to}getRemoteIdToIdMap(eo){let to=this.iframeRemoteIdToIdMap.get(eo);return to||(to=new Map,this.iframeRemoteIdToIdMap.set(eo,to)),to}}class IframeManagerNoop{constructor(){this.crossOriginIframeMirror=new CrossOriginIframeMirror(genId),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class IframeManager{constructor(eo){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new CrossOriginIframeMirror(genId),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=eo.mutationCb,this.wrappedEmit=eo.wrappedEmit,this.stylesheetManager=eo.stylesheetManager,this.recordCrossOriginIframes=eo.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new CrossOriginIframeMirror(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=eo.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(eo){this.iframes.set(eo,!0);const to=getIFrameContentWindow(eo);to&&this.crossOriginIframeMap.set(to,eo)}addLoadListener(eo){this.loadListener=eo}attachIframe(eo,to){var no,io;this.mutationCb({adds:[{parentId:this.mirror.getId(eo),nextId:null,node:to}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&((no=getIFrameContentWindow(eo))==null||no.addEventListener("message",this.handleMessage.bind(this))),(io=this.loadListener)==null||io.call(this,eo);const ro=getIFrameContentDocument(eo);ro&&ro.adoptedStyleSheets&&ro.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(ro.adoptedStyleSheets,this.mirror.getId(ro))}handleMessage(eo){const to=eo;if(to.data.type!=="rrweb"||to.origin!==to.data.origin||!eo.source)return;const no=this.crossOriginIframeMap.get(eo.source);if(!no)return;const io=this.transformCrossOriginEvent(no,to.data.event);io&&this.wrappedEmit(io,to.data.isCheckout)}transformCrossOriginEvent(eo,to){var ro;switch(to.type){case EventType.FullSnapshot:{this.crossOriginIframeMirror.reset(eo),this.crossOriginIframeStyleMirror.reset(eo),this.replaceIdOnNode(to.data.node,eo);const no=to.data.node.id;return this.crossOriginIframeRootIdMap.set(eo,no),this.patchRootIdOnNode(to.data.node,no),{timestamp:to.timestamp,type:EventType.IncrementalSnapshot,data:{source:IncrementalSource.Mutation,adds:[{parentId:this.mirror.getId(eo),nextId:null,node:to.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case EventType.Meta:case EventType.Load:case EventType.DomContentLoaded:return!1;case EventType.Plugin:return to;case EventType.Custom:return this.replaceIds(to.data.payload,eo,["id","parentId","previousId","nextId"]),to;case EventType.IncrementalSnapshot:switch(to.data.source){case IncrementalSource.Mutation:return to.data.adds.forEach(no=>{this.replaceIds(no,eo,["parentId","nextId","previousId"]),this.replaceIdOnNode(no.node,eo);const io=this.crossOriginIframeRootIdMap.get(eo);io&&this.patchRootIdOnNode(no.node,io)}),to.data.removes.forEach(no=>{this.replaceIds(no,eo,["parentId","id"])}),to.data.attributes.forEach(no=>{this.replaceIds(no,eo,["id"])}),to.data.texts.forEach(no=>{this.replaceIds(no,eo,["id"])}),to;case IncrementalSource.Drag:case IncrementalSource.TouchMove:case IncrementalSource.MouseMove:return to.data.positions.forEach(no=>{this.replaceIds(no,eo,["id"])}),to;case IncrementalSource.ViewportResize:return!1;case IncrementalSource.MediaInteraction:case IncrementalSource.MouseInteraction:case IncrementalSource.Scroll:case IncrementalSource.CanvasMutation:case IncrementalSource.Input:return this.replaceIds(to.data,eo,["id"]),to;case IncrementalSource.StyleSheetRule:case IncrementalSource.StyleDeclaration:return this.replaceIds(to.data,eo,["id"]),this.replaceStyleIds(to.data,eo,["styleId"]),to;case IncrementalSource.Font:return to;case IncrementalSource.Selection:return to.data.ranges.forEach(no=>{this.replaceIds(no,eo,["start","end"])}),to;case IncrementalSource.AdoptedStyleSheet:return this.replaceIds(to.data,eo,["id"]),this.replaceStyleIds(to.data,eo,["styleIds"]),(ro=to.data.styles)==null||ro.forEach(no=>{this.replaceStyleIds(no,eo,["styleId"])}),to}}return!1}replace(eo,to,ro,no){for(const io of no)!Array.isArray(to[io])&&typeof to[io]!="number"||(Array.isArray(to[io])?to[io]=eo.getIds(ro,to[io]):to[io]=eo.getId(ro,to[io]));return to}replaceIds(eo,to,ro){return this.replace(this.crossOriginIframeMirror,eo,to,ro)}replaceStyleIds(eo,to,ro){return this.replace(this.crossOriginIframeStyleMirror,eo,to,ro)}replaceIdOnNode(eo,to){this.replaceIds(eo,to,["id","rootId"]),"childNodes"in eo&&eo.childNodes.forEach(ro=>{this.replaceIdOnNode(ro,to)})}patchRootIdOnNode(eo,to){eo.type!==NodeType$1.Document&&!eo.rootId&&(eo.rootId=to),"childNodes"in eo&&eo.childNodes.forEach(ro=>{this.patchRootIdOnNode(ro,to)})}}class ShadowDomManagerNoop{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class ShadowDomManager{constructor(eo){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=eo.mutationCb,this.scrollCb=eo.scrollCb,this.bypassOptions=eo.bypassOptions,this.mirror=eo.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(eo,to){if(!isNativeShadowDom(eo)||this.shadowDoms.has(eo))return;this.shadowDoms.add(eo),this.bypassOptions.canvasManager.addShadowRoot(eo);const ro=initMutationObserver({...this.bypassOptions,doc:to,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},eo);this.restoreHandlers.push(()=>ro.disconnect()),this.restoreHandlers.push(initScrollObserver({...this.bypassOptions,scrollCb:this.scrollCb,doc:eo,mirror:this.mirror})),setTimeout$2(()=>{eo.adoptedStyleSheets&&eo.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(eo.adoptedStyleSheets,this.mirror.getId(eo.host)),this.restoreHandlers.push(initAdoptedStyleSheetObserver({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},eo))},0)}observeAttachShadow(eo){const to=getIFrameContentDocument(eo),ro=getIFrameContentWindow(eo);!to||!ro||this.patchAttachShadow(ro.Element,to)}patchAttachShadow(eo,to){const ro=this;this.restoreHandlers.push(patch(eo.prototype,"attachShadow",function(no){return function(io){const oo=no.call(this,io);return this.shadowRoot&&inDom(this)&&ro.addShadowRoot(this.shadowRoot,to),oo}}))}reset(){this.restoreHandlers.forEach(eo=>{try{eo()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}class StylesheetManager{constructor(eo){this.trackedLinkElements=new WeakSet,this.styleMirror=new StyleSheetMirror,this.mutationCb=eo.mutationCb,this.adoptedStyleSheetCb=eo.adoptedStyleSheetCb}attachLinkElement(eo,to){"_cssText"in to.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:to.id,attributes:to.attributes}]}),this.trackLinkElement(eo)}trackLinkElement(eo){this.trackedLinkElements.has(eo)||(this.trackedLinkElements.add(eo),this.trackStylesheetInLinkElement(eo))}adoptStyleSheets(eo,to){if(eo.length===0)return;const ro={id:to,styleIds:[]},no=[];for(const io of eo){let oo;this.styleMirror.has(io)?oo=this.styleMirror.getId(io):(oo=this.styleMirror.add(io),no.push({styleId:oo,rules:Array.from(io.rules||CSSRule,(ao,so)=>({rule:stringifyRule(ao),index:so}))})),ro.styleIds.push(oo)}no.length>0&&(ro.styles=no),this.adoptedStyleSheetCb(ro)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(eo){}}class ProcessedNodeManager{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(eo,to){const ro=this.nodeMap.get(eo);return ro&&Array.from(ro).some(no=>no!==to)}add(eo,to){this.active||(this.active=!0,onRequestAnimationFrame(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(eo,(this.nodeMap.get(eo)||new Set).add(to))}destroy(){}}let wrappedEmit,_takeFullSnapshot;var vm;try{if(Array.from([1],Yi=>Yi*2)[0]!==2){const Yi=document.createElement("iframe");document.body.appendChild(Yi),Array.from=((vm=Yi.contentWindow)==null?void 0:vm.Array.from)||Array.from,document.body.removeChild(Yi)}}catch(Yi){console.debug("Unable to override Array.from",Yi)}const mirror=createMirror();function record(Yi={}){const{emit:eo,checkoutEveryNms:to,checkoutEveryNth:ro,blockClass:no="rr-block",blockSelector:io=null,unblockSelector:oo=null,ignoreClass:ao="rr-ignore",ignoreSelector:so=null,maskAllText:lo=!1,maskTextClass:co="rr-mask",unmaskTextClass:uo=null,maskTextSelector:fo=null,unmaskTextSelector:ho=null,inlineStylesheet:mo=!0,maskAllInputs:vo,maskInputOptions:Co,slimDOMOptions:bo,maskAttributeFn:wo,maskInputFn:yo,maskTextFn:Eo,maxCanvasSize:xo=null,packFn:So,sampling:To={},dataURLOptions:Ro={},mousemoveWait:Po,recordDOM:zo=!0,recordCanvas:Ho=!1,recordCrossOriginIframes:Vo=!1,recordAfter:Lo=Yi.recordAfter==="DOMContentLoaded"?Yi.recordAfter:"load",userTriggeredOnInput:Uo=!1,collectFonts:Do=!1,inlineImages:Oo=!1,plugins:ko,keepIframeSrcFn:Bo=()=>!1,ignoreCSSAttributes:Fo=new Set([]),errorHandler:Qo,onMutation:jo,getCanvasManager:Xo}=Yi;registerErrorHandler(Qo);const Zo=Vo?window.parent===window:!0;let Wo=!1;if(!Zo)try{window.parent.document&&(Wo=!1)}catch{Wo=!0}if(Zo&&!eo)throw new Error("emit function is required");if(!Zo&&!Wo)return()=>{};Po!==void 0&&To.mousemove===void 0&&(To.mousemove=Po),mirror.reset();const ta=vo===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:Co!==void 0?Co:{},ra=bo===!0||bo==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:bo==="all",headMetaDescKeywords:bo==="all"}:bo||{};polyfill$1();let da,pa=0;const sa=Sa=>{for(const Ia of ko||[])Ia.eventProcessor&&(Sa=Ia.eventProcessor(Sa));return So&&!Wo&&(Sa=So(Sa)),Sa};wrappedEmit=(Sa,Ia)=>{var va;const Ta=Sa;if(Ta.timestamp=nowTimestamp(),(va=mutationBuffers[0])!=null&&va.isFrozen()&&Ta.type!==EventType.FullSnapshot&&!(Ta.type===EventType.IncrementalSnapshot&&Ta.data.source===IncrementalSource.Mutation)&&mutationBuffers.forEach(xa=>xa.unfreeze()),Zo)eo==null||eo(sa(Ta),Ia);else if(Wo){const xa={type:"rrweb",event:sa(Ta),origin:window.location.origin,isCheckout:Ia};window.parent.postMessage(xa,"*")}if(Ta.type===EventType.FullSnapshot)da=Ta,pa=0;else if(Ta.type===EventType.IncrementalSnapshot){if(Ta.data.source===IncrementalSource.Mutation&&Ta.data.isAttachIframe)return;pa++;const xa=ro&&pa>=ro,Oa=to&&da&&Ta.timestamp-da.timestamp>to;(xa||Oa)&&Ca(!0)}};const ya=Sa=>{wrappedEmit({type:EventType.IncrementalSnapshot,data:{source:IncrementalSource.Mutation,...Sa}})},na=Sa=>wrappedEmit({type:EventType.IncrementalSnapshot,data:{source:IncrementalSource.Scroll,...Sa}}),ea=Sa=>wrappedEmit({type:EventType.IncrementalSnapshot,data:{source:IncrementalSource.CanvasMutation,...Sa}}),oa=Sa=>wrappedEmit({type:EventType.IncrementalSnapshot,data:{source:IncrementalSource.AdoptedStyleSheet,...Sa}}),la=new StylesheetManager({mutationCb:ya,adoptedStyleSheetCb:oa}),_a=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&&__RRWEB_EXCLUDE_IFRAME__?new IframeManagerNoop:new IframeManager({mirror,mutationCb:ya,stylesheetManager:la,recordCrossOriginIframes:Vo,wrappedEmit});for(const Sa of ko||[])Sa.getMirror&&Sa.getMirror({nodeMirror:mirror,crossOriginIframeMirror:_a.crossOriginIframeMirror,crossOriginIframeStyleMirror:_a.crossOriginIframeStyleMirror});const Ea=new ProcessedNodeManager,Pa=_getCanvasManager(Xo,{mirror,win:window,mutationCb:Sa=>wrappedEmit({type:EventType.IncrementalSnapshot,data:{source:IncrementalSource.CanvasMutation,...Sa}}),recordCanvas:Ho,blockClass:no,blockSelector:io,unblockSelector:oo,maxCanvasSize:xo,sampling:To.canvas,dataURLOptions:Ro,errorHandler:Qo}),aa=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&&__RRWEB_EXCLUDE_SHADOW_DOM__?new ShadowDomManagerNoop:new ShadowDomManager({mutationCb:ya,scrollCb:na,bypassOptions:{onMutation:jo,blockClass:no,blockSelector:io,unblockSelector:oo,maskAllText:lo,maskTextClass:co,unmaskTextClass:uo,maskTextSelector:fo,unmaskTextSelector:ho,inlineStylesheet:mo,maskInputOptions:ta,dataURLOptions:Ro,maskAttributeFn:wo,maskTextFn:Eo,maskInputFn:yo,recordCanvas:Ho,inlineImages:Oo,sampling:To,slimDOMOptions:ra,iframeManager:_a,stylesheetManager:la,canvasManager:Pa,keepIframeSrcFn:Bo,processedNodeManager:Ea,ignoreCSSAttributes:Fo},mirror}),Ca=(Sa=!1)=>{if(!zo)return;wrappedEmit({type:EventType.Meta,data:{href:window.location.href,width:getWindowWidth(),height:getWindowHeight()}},Sa),la.reset(),aa.init(),mutationBuffers.forEach(Ta=>Ta.lock());const Ia=snapshot(document,{mirror,blockClass:no,blockSelector:io,unblockSelector:oo,maskAllText:lo,maskTextClass:co,unmaskTextClass:uo,maskTextSelector:fo,unmaskTextSelector:ho,inlineStylesheet:mo,maskAllInputs:ta,maskAttributeFn:wo,maskInputFn:yo,maskTextFn:Eo,slimDOM:ra,dataURLOptions:Ro,recordCanvas:Ho,inlineImages:Oo,onSerialize:Ta=>{isSerializedIframe(Ta,mirror)&&_a.addIframe(Ta),isSerializedStylesheet(Ta,mirror)&&la.trackLinkElement(Ta),hasShadowRoot(Ta)&&aa.addShadowRoot(Ta.shadowRoot,document)},onIframeLoad:(Ta,va)=>{_a.attachIframe(Ta,va);const xa=getIFrameContentWindow(Ta);xa&&Pa.addWindow(xa),aa.observeAttachShadow(Ta)},onStylesheetLoad:(Ta,va)=>{la.attachLinkElement(Ta,va)},onBlockedImageLoad:(Ta,va,{width:xa,height:Oa})=>{ya({adds:[],removes:[],texts:[],attributes:[{id:va.id,attributes:{style:{width:`${xa}px`,height:`${Oa}px`}}}]})},keepIframeSrcFn:Bo,ignoreCSSAttributes:Fo});if(!Ia)return console.warn("Failed to snapshot the document");wrappedEmit({type:EventType.FullSnapshot,data:{node:Ia,initialOffset:getWindowScroll$1(window)}}
49),mutationBuffers.forEach(Ta=>Ta.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&la.adoptStyleSheets(document.adoptedStyleSheets,mirror.getId(document))};_takeFullSnapshot=Ca;try{const Sa=[],Ia=va=>{var xa;return callbackWrapper(initObservers)({onMutation:jo,mutationCb:ya,mousemoveCb:(Oa,Da)=>wrappedEmit({type:EventType.IncrementalSnapshot,data:{source:Da,positions:Oa}}),mouseInteractionCb:Oa=>wrappedEmit({type:EventType.IncrementalSnapshot,data:{source:IncrementalSource.MouseInteraction,...Oa}}),scrollCb:na,viewportResizeCb:Oa=>wrappedEmit({type:EventType.IncrementalSnapshot,data:{source:IncrementalSource.ViewportResize,...Oa}}),inputCb:Oa=>wrappedEmit({type:EventType.IncrementalSnapshot,data:{source:IncrementalSource.Input,...Oa}}),mediaInteractionCb:Oa=>wrappedEmit({type:EventType.IncrementalSnapshot,data:{source:IncrementalSource.MediaInteraction,...Oa}}),styleSheetRuleCb:Oa=>wrappedEmit({type:EventType.IncrementalSnapshot,data:{source:IncrementalSource.StyleSheetRule,...Oa}}),styleDeclarationCb:Oa=>wrappedEmit({type:EventType.IncrementalSnapshot,data:{source:IncrementalSource.StyleDeclaration,...Oa}}),canvasMutationCb:ea,fontCb:Oa=>wrappedEmit({type:EventType.IncrementalSnapshot,data:{source:IncrementalSource.Font,...Oa}}),selectionCb:Oa=>{wrappedEmit({type:EventType.IncrementalSnapshot,data:{source:IncrementalSource.Selection,...Oa}})},customElementCb:Oa=>{wrappedEmit({type:EventType.IncrementalSnapshot,data:{source:IncrementalSource.CustomElement,...Oa}})},blockClass:no,ignoreClass:ao,ignoreSelector:so,maskAllText:lo,maskTextClass:co,unmaskTextClass:uo,maskTextSelector:fo,unmaskTextSelector:ho,maskInputOptions:ta,inlineStylesheet:mo,sampling:To,recordDOM:zo,recordCanvas:Ho,inlineImages:Oo,userTriggeredOnInput:Uo,collectFonts:Do,doc:va,maskAttributeFn:wo,maskInputFn:yo,maskTextFn:Eo,keepIframeSrcFn:Bo,blockSelector:io,unblockSelector:oo,slimDOMOptions:ra,dataURLOptions:Ro,mirror,iframeManager:_a,stylesheetManager:la,shadowDomManager:aa,processedNodeManager:Ea,canvasManager:Pa,ignoreCSSAttributes:Fo,plugins:((xa=ko==null?void 0:ko.filter(Oa=>Oa.observer))==null?void 0:xa.map(Oa=>({observer:Oa.observer,options:Oa.options,callback:Da=>wrappedEmit({type:EventType.Plugin,data:{plugin:Oa.name,payload:Da}})})))||[]},{})};_a.addLoadListener(va=>{try{Sa.push(Ia(va.contentDocument))}catch(xa){console.warn(xa)}});const Ta=()=>{Ca(),Sa.push(Ia(document))};return document.readyState==="interactive"||document.readyState==="complete"?Ta():(Sa.push(on$1("DOMContentLoaded",()=>{wrappedEmit({type:EventType.DomContentLoaded,data:{}}),Lo==="DOMContentLoaded"&&Ta()})),Sa.push(on$1("load",()=>{wrappedEmit({type:EventType.Load,data:{}}),Lo==="load"&&Ta()},window))),()=>{Sa.forEach(va=>va()),Ea.destroy(),_takeFullSnapshot=void 0,unregisterErrorHandler()}}catch(Sa){console.warn(Sa)}}function takeFullSnapshot(Yi){if(!_takeFullSnapshot)throw new Error("please take full snapshot after start recording");_takeFullSnapshot(Yi)}record.mirror=mirror;record.takeFullSnapshot=takeFullSnapshot;function _getCanvasManager(Yi,eo){try{return Yi?Yi(eo):new CanvasManagerNoop}catch{return console.warn("Unable to initialize CanvasManager"),new CanvasManagerNoop}}var n$2;(function(Yi){Yi[Yi.NotStarted=0]="NotStarted",Yi[Yi.Running=1]="Running",Yi[Yi.Stopped=2]="Stopped"})(n$2||(n$2={}));const ReplayEventTypeIncrementalSnapshot=3,ReplayEventTypeCustom=5;function timestampToMs(Yi){return Yi>9999999999?Yi:Yi*1e3}function timestampToS(Yi){return Yi>9999999999?Yi/1e3:Yi}function addBreadcrumbEvent(Yi,eo){eo.category!=="sentry.transaction"&&(["ui.click","ui.input"].includes(eo.category)?Yi.triggerUserActivity():Yi.checkAndHandleExpiredSession(),Yi.addUpdate(()=>(Yi.throttledAddEvent({type:EventType.Custom,timestamp:(eo.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:normalize$1(eo,10,1e3)}}),eo.category==="console")))}const INTERACTIVE_SELECTOR="button,a";function getClosestInteractive(Yi){return Yi.closest(INTERACTIVE_SELECTOR)||Yi}function getClickTargetNode(Yi){const eo=getTargetNode(Yi);return!eo||!(eo instanceof Element)?eo:getClosestInteractive(eo)}function getTargetNode(Yi){return isEventWithTarget(Yi)?Yi.target:Yi}function isEventWithTarget(Yi){return typeof Yi=="object"&&!!Yi&&"target"in Yi}let handlers;function onWindowOpen(Yi){return handlers||(handlers=[],monkeyPatchWindowOpen()),handlers.push(Yi),(
49)=>{const eo=handlers?handlers.indexOf(Yi):-1;eo>-1&&handlers.splice(eo,1)}}function monkeyPatchWindowOpen(){fill(WINDOW,"open",function(Yi){return function(...eo){if(handlers)try{handlers.forEach(to=>to())}catch{}return Yi.apply(WINDOW,eo)}})}const IncrementalMutationSources=new Set([IncrementalSource.Mutation,IncrementalSource.StyleSheetRule,IncrementalSource.StyleDeclaration,IncrementalSource.AdoptedStyleSheet,IncrementalSource.CanvasMutation,IncrementalSource.Selection,IncrementalSource.MediaInteraction]);function handleClick(Yi,eo,to){Yi.handleClick(eo,to)}class ClickDetector{constructor(eo,to,ro=addBreadcrumbEvent){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=to.timeout/1e3,this._threshold=to.threshold/1e3,this._scrollTimeout=to.scrollTimeout/1e3,this._replay=eo,this._ignoreSelector=to.ignoreSelector,this._addBreadcrumbEvent=ro}addListeners(){const eo=onWindowOpen(()=>{this._lastMutation=nowInSeconds()});this._teardown=()=>{eo(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(eo,to){if(ignoreElement(to,this._ignoreSelector)||!isClickBreadcrumb(eo))return;const ro={timestamp:timestampToS(eo.timestamp),clickBreadcrumb:eo,clickCount:0,node:to};this._clicks.some(no=>no.node===ro.node&&Math.abs(no.timestamp-ro.timestamp)<1)||(this._clicks.push(ro),this._clicks.length===1&&this._scheduleCheckClicks())}registerMutation(eo=Date.now()){this._lastMutation=timestampToS(eo)}registerScroll(eo=Date.now()){this._lastScroll=timestampToS(eo)}registerClick(eo){const to=getClosestInteractive(eo);this._handleMultiClick(to)}_handleMultiClick(eo){this._getClicks(eo).forEach(to=>{to.clickCount++})}_getClicks(eo){return this._clicks.filter(to=>to.node===eo)}_checkClicks(){const eo=[],to=nowInSeconds();this._clicks.forEach(ro=>{!ro.mutationAfter&&this._lastMutation&&(ro.mutationAfter=ro.timestamp<=this._lastMutation?this._lastMutation-ro.timestamp:void 0),!ro.scrollAfter&&this._lastScroll&&(ro.scrollAfter=ro.timestamp<=this._lastScroll?this._lastScroll-ro.timestamp:void 0),ro.timestamp+this._timeout<=to&&eo.push(ro)});for(const ro of eo){const no=this._clicks.indexOf(ro);no>-1&&(this._generateBreadcrumbs(ro),this._clicks.splice(no,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(eo){const to=this._replay,ro=eo.scrollAfter&&eo.scrollAfter<=this._scrollTimeout,no=eo.mutationAfter&&eo.mutationAfter<=this._threshold,io=!ro&&!no,{clickCount:oo,clickBreadcrumb:ao}=eo;if(io){const so=Math.min(eo.mutationAfter||this._timeout,this._timeout)*1e3,lo=so<this._timeout*1e3?"mutation":"timeout",co={type:"default",message:ao.message,timestamp:ao.timestamp,category:"ui.slowClickDetected",data:{...ao.data,url:WINDOW.location.href,route:to.getCurrentRoute(),timeAfterClickMs:so,endReason:lo,clickCount:oo||1}};this._addBreadcrumbEvent(to,co);return}if(oo>1){const so={type:"default",message:ao.message,timestamp:ao.timestamp,category:"ui.multiClick",data:{...ao.data,url:WINDOW.location.href,route:to.getCurrentRoute(),clickCount:oo,metric:!0}};this._addBreadcrumbEvent(to,so)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout$3(()=>this._checkClicks(),1e3)}}const SLOW_CLICK_TAGS=["A","BUTTON","INPUT"];function ignoreElement(Yi,eo){return!!(!SLOW_CLICK_TAGS.includes(Yi.tagName)||Yi.tagName==="INPUT"&&!["submit","button"].includes(Yi.getAttribute("type")||"")||Yi.tagName==="A"&&(Yi.hasAttribute("download")||Yi.hasAttribute("target")&&Yi.getAttribute("target")!=="_self")||eo&&Yi.matches(eo))}function isClickBreadcrumb(Yi){return!!(Yi.data&&typeof Yi.data.nodeId=="number"&&Yi.timestamp)}function nowInSeconds(){return Date.now()/1e3}function updateClickDetectorForRecordingEvent(Yi,eo){try{if(!isIncrementalEvent(eo))return;const{source:to}=eo.data;if(IncrementalMutationSources.has(to)&&Yi.registerMutation(eo.timestamp),to===IncrementalSource.Scroll&&Yi.registerScroll(eo.timestamp),isIncrementalMouseInteraction(eo)){const{type:ro,id:no}=eo.data,io=record.mirror.getNode(no);io instanceof HTMLElement&&ro===MouseInteractions.Click&&Yi.registerClick(io)}}catch{}}function isIncrementalEvent(Yi){return Yi.type===ReplayEventTypeIncrementalSnapshot}function isIncrementalMouseInteraction(Yi){return Yi.data.source===IncrementalSource.MouseInteraction}function createBreadcrumb(Yi){return{timestamp:Date.now()/1e3,type:"default",...Yi}}var NodeType=(Yi=>(Yi[Yi.Document=0]="Document",Yi[Yi.DocumentType=1]="DocumentType",Yi[Yi.Element=2]="Element",Yi[Yi.Text=3]="Text",Yi[Yi.CDATA=4]="CDATA",Yi[Yi.Comment=5]="Comment",Yi))(NodeType||{});const ATTRIBUTES_TO_RECORD=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function getAttributesToRecord(Yi){const eo={};!Yi["data-sentry-component"]&&Yi["data-sentry-element"]&&(Yi["data-sentry-component"]=Yi["data-sentry-element"]);for(const to in Yi)if(ATTRIBUTES_TO_RECORD.has(to)){let ro=to;(to==="data-testid"||to==="data-test-id")&&(ro="testId"),eo[ro]=Yi[to]}return eo}const handleDomListener=Yi=>eo=>{if(!Yi.isEnabled())return;const to=handleDom(eo);if(!to)return;const ro=eo.name==="click",no=ro?eo.event:void 0;ro&&Yi.clickDetector&&(no!=null&&no.target)&&!no.altKey&&!no.metaKey&&!no.ctrlKey&&!no.shiftKey&&handleClick(Yi.clickDetector,to,getClickTargetNode(eo.event)),addBreadcrumbEvent(Yi,to)};function getBaseDomBreadcrumb(Yi,eo){const to=record.mirror.getId(Yi),ro=to&&record.mirror.getNode(to),no=ro&&record.mirror.getMeta(ro),io=no&&isElement$2(no)?no:null;return{message:eo,data:io?{nodeId:to,node:{id:to,tagName:io.tagName,textContent:Array.from(io.childNodes).map(oo=>
49oo.type===NodeType.Text&&oo.textContent).filter(Boolean).map(oo=>oo.trim()).join(""),attributes:getAttributesToRecord(io.attributes)}}:{}}}function handleDom(Yi){const{target:eo,message:to}=getDomTarget(Yi);return createBreadcrumb({category:`ui.${Yi.name}`,...getBaseDomBreadcrumb(eo,to)})}function getDomTarget(Yi){const eo=Yi.name==="click";let to,ro=null;try{ro=eo?getClickTargetNode(Yi.event):getTargetNode(Yi.event),to=htmlTreeAsString(ro,{maxStringLength:200})||"<unknown>"}catch{to="<unknown>"}return{target:ro,message:to}}function isElement$2(Yi){return Yi.type===NodeType.Element}function handleKeyboardEvent(Yi,eo){if(!Yi.isEnabled())return;Yi.updateUserActivity();const to=getKeyboardBreadcrumb(eo);to&&addBreadcrumbEvent(Yi,to)}function getKeyboardBreadcrumb(Yi){const{metaKey:eo,shiftKey:to,ctrlKey:ro,altKey:no,key:io,target:oo}=Yi;if(!oo||isInputElement$1(oo)||!io)return null;const ao=eo||ro||no,so=io.length===1;if(!ao&&so)return null;const lo=htmlTreeAsString(oo,{maxStringLength:200})||"<unknown>",co=getBaseDomBreadcrumb(oo,lo);return createBreadcrumb({category:"ui.keyDown",message:lo,data:{...co.data,metaKey:eo,shiftKey:to,ctrlKey:ro,altKey:no,key:io}})}function isInputElement$1(Yi){return Yi.tagName==="INPUT"||Yi.tagName==="TEXTAREA"||Yi.isContentEditable}const ENTRY_TYPES={resource:createResourceEntry,paint:createPaintEntry,navigation:createNavigationEntry};function webVitalHandler(Yi,eo){return({metric:to})=>void eo.replayPerformanceEntries.push(Yi(to))}function createPerformanceEntries(Yi){return Yi.map(createPerformanceEntry).filter(Boolean)}function createPerformanceEntry(Yi){const eo=ENTRY_TYPES[Yi.entryType];return eo?eo(Yi):null}function getAbsoluteTime(Yi){return((browserPerformanceTimeOrigin()||WINDOW.performance.timeOrigin)+Yi)/1e3}function createPaintEntry(Yi){const{duration:eo,entryType:to,name:ro,startTime:no}=Yi,io=getAbsoluteTime(no);return{type:to,name:ro,start:io,end:io+eo,data:void 0}}function createNavigationEntry(Yi){const{entryType:eo,name:to,decodedBodySize:ro,duration:no,domComplete:io,encodedBodySize:oo,domContentLoadedEventStart:ao,domContentLoadedEventEnd:so,domInteractive:lo,loadEventStart:co,loadEventEnd:uo,redirectCount:fo,startTime:ho,transferSize:mo,type:vo}=Yi;return no===0?null:{type:`${eo}.${vo}`,start:getAbsoluteTime(ho),end:getAbsoluteTime(io),name:to,data:{size:mo,decodedBodySize:ro,encodedBodySize:oo,duration:no,domInteractive:lo,domContentLoadedEventStart:ao,domContentLoadedEventEnd:so,loadEventStart:co,loadEventEnd:uo,domComplete:io,redirectCount:fo}}}function createResourceEntry(Yi){const{entryType:eo,initiatorType:to,name:ro,responseEnd:no,startTime:io,decodedBodySize:oo,encodedBodySize:ao,responseStatus:so,transferSize:lo}=Yi;return["fetch","xmlhttprequest"].includes(to)?null:{type:`${eo}.${to}`,start:getAbsoluteTime(io),end:getAbsoluteTime(no),name:ro,data:{size:lo,statusCode:so,decodedBodySize:oo,encodedBodySize:ao}}}function getLargestContentfulPaint(Yi){const eo=Yi.entries[Yi.entries.length-1],to=eo!=null&&eo.element?[eo.element]:void 0;return getWebVital(Yi,"largest-contentful-paint",to)}function isLayoutShift(Yi){return Yi.sources!==void 0}function getCumulativeLayoutShift(Yi){const eo=[],to=[];for(const ro of Yi.entries)if(isLayoutShift(ro)){const no=[];for(const io of ro.sources)if(io.node){to.push(io.node);const oo=record.mirror.getId(io.node);oo&&no.push(oo)}eo.push({value:ro.value,nodeIds:no.length?no:void 0})}return getWebVital(Yi,"cumulative-layout-shift",to,eo)}function getInteractionToNextPaint(Yi){const eo=Yi.entries[Yi.entries.length-1],to=eo!=null&&eo.target?[eo.target]:void 0;return getWebVital(Yi,"interaction-to-next-paint",to)}function getWebVital(Yi,eo,to,ro){const no=Yi.value,io=Yi.rating,oo=getAbsoluteTime(no);return{type:"web-vital",name:eo,start:oo,end:oo,data:{value:no,size:no,rating:io,nodeIds:to?to.map(ao=>record.mirror.getId(ao)):void 0,attributions:ro}}}function setupPerformanceObserver(Yi){function eo(no){Yi.performanceEntries.includes(no)||Yi.performanceEntries.push(no)}function to({entries:no}){no.forEach(eo)}const ro=[];return["navigation","paint","resource"].forEach(no=>{ro.push(addPerformanceInstrumentationHandler(no,to))}),ro.push(addLcpInstrumentationHandler(webVitalHandler(getLargestContentfulPaint,Yi)),addClsInstrumentationHandler(webVitalHandler(getCumulativeLayoutShift,Yi)),addInpInstrumentationHandler(webVitalHandler(getInteractionToNextPaint,Yi))),()=>{ro.forEach(no=>no())}}const DEBUG_BUILD=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,r$3='
vendor: 10,329 bytes, line 49
49var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,s=0,a=new n(r);s<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},_=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},x=function(r,e){for(var i=[],s=0;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort(function(t,n){return t.f-n.f}),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<<y;for(o.sort(function(t,n){return p[n.s]-p[t.s]||t.f-n.f});s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[s[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=e+=r[a];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]<<A^s[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(s[j+Q]==s[j+Q-W]){for(var $=0;$<Z&&s[j+$]==s[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(s),32768),this.s.z=n.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,s=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),a=s.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(s,n),O(s,a-8,r.d()),O(s,a-4,e),s}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){j.prototype.flush.call(this)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(G)return G.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;o<e;++o){if(s+5>i.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J((t,n)=>{this.deflate.push(t,n)}),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}}),postMessage({id:void 0,method:"init",success:!0,response:void 0});
49';function e$4(){const Yi=new Blob([r$3]);return URL.createObjectURL(Yi)}const CONSOLE_LEVELS=["log","warn","error"],PREFIX="[Replay] ";function _addBreadcrumb(Yi,eo="info"){addBreadcrumb({category:"console",data:{logger:"replay"},level:eo,message:`${PREFIX}${Yi}`},{level:eo})}function makeReplayDebugLogger(){let Yi=!1,eo=!1;const to={exception:()=>{},infoTick:()=>{},setConfig:ro=>{Yi=!!ro.captureExceptions,eo=!!ro.traceInternals}};return DEBUG_BUILD?(CONSOLE_LEVELS.forEach(ro=>{to[ro]=(...no)=>{debug$3[ro](PREFIX,...no),eo&&_addBreadcrumb(no.join(""),severityLevelFromString(ro))}}),to.exception=(ro,...no)=>{no.length&&to.error&&to.error(...no),debug$3.error(PREFIX,ro),Yi?captureException(ro,{mechanism:{handled:!0,type:"auto.function.replay.debug"}}):eo&&_addBreadcrumb(ro,"error")},to.infoTick=(...ro)=>{debug$3.log(PREFIX,...ro),eo&&setTimeout(()=>_addBreadcrumb(ro[0]),0)}):CONSOLE_LEVELS.forEach(ro=>{to[ro]=()=>{}}),to}const debug$2=makeReplayDebugLogger();class EventBufferSizeExceededError extends Error{constructor(){super(`Event buffer exceeded maximum size of ${REPLAY_MAX_EVENT_BUFFER_SIZE}.`)}}class EventBufferArray{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(eo){const to=JSON.stringify(eo).length;if(this._totalSize+=to,this._totalSize>REPLAY_MAX_EVENT_BUFFER_SIZE)throw new EventBufferSizeExceededError;this.events.push(eo)}finish(){return new Promise(eo=>{const to=this.events;this.clear(),eo(JSON.stringify(to))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let eo=null;for(const{timestamp:to}of this.events)(eo===null||to<eo)&&(eo=to);return eo===null?eo:timestampToMs(eo)}}class WorkerHandler{constructor(eo){this._onMessage=({data:to})=>{const ro=to;if(typeof ro.id!="number")return;const no=this._pending.get(ro.id);if(!(!no||no.method!==ro.method)){if(this._pending.delete(ro.id),!ro.success){DEBUG_BUILD&&debug$2.error("Error in compression worker: ",ro.response),no.reject(new Error("Error in compression worker"));return}no.resolve(ro.response)}},this._worker=eo,this._id=0,this._pending=new Map,this._worker.addEventListener("message",this._onMessage)}ensureReady(){return this._ensureReadyPromise?this._ensureReadyPromise:(this._ensureReadyPromise=new Promise((eo,to)=>{this._worker.addEventListener("message",({data:ro})=>{ro.success?eo():(DEBUG_BUILD&&debug$2.warn("Received worker message with unsuccessful status",ro),to(new Error("Received worker message with unsuccessful status")))},{once:!0}),this._worker.addEventListener("error",ro=>{DEBUG_BUILD&&debug$2.warn("Failed to load Replay compression worker",ro),to(new Error(`Failed to load Replay compression worker: ${ro instanceof ErrorEvent&&ro.message?ro.message:"Unknown error. This can happen due to CSP policy restrictions, network issues, or the worker script failing to load."}`))},{once:!0})}),this._ensureReadyPromise)}destroy(){DEBUG_BUILD&&debug$2.log("Destroying compression worker"),this._worker.removeEventListener("message",this._onMessage),this._pending.forEach(eo=>eo.reject(new Error("Worker destroyed"))),this._pending.clear(),this._worker.terminate()}postMessage(eo,to){const ro=this._getAndIncrementId();return new Promise((no,io)=>{this._pending.set(ro,{method:eo,resolve:no,reject:io});try{this._worker.postMessage({id:ro,method:eo,arg:to})}catch(oo){this._pending.delete(ro),io(oo)}})}_getAndIncrementId(){return this._id++}}class EventBufferCompressionWorker{constructor(eo){this._worker=new WorkerHandler(eo),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(eo){const to=timestampToMs(eo.timestamp);(!this._earliestTimestamp||to<this._earliestTimestamp)&&(this._earliestTimestamp=to);const ro=JSON.stringify(eo);return this._totalSize+=ro.length,this._totalSize>REPLAY_MAX_EVENT_BUFFER_SIZE?Promise.reject(new EventBufferSizeExceededError):this._sendEventToWorker(ro)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,eo=>{DEBUG_BUILD&&debug$2.exception(eo,'Sending "clear" message to worker failed',eo)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(eo){return this._worker.postMessage("addEvent",eo)}async _finishRequest(){const eo=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,eo}}class EventBufferProxy{constructor(eo){this._fallback=new EventBufferArray,this._compression=new EventBufferCompressionWorker(eo),this._used=this._fallback,this._ensureWorkerIsLoadedProm
49ise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(eo){this._used.hasCheckout=eo}set waitForCheckout(eo){this._used.waitForCheckout=eo}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(eo){return this._used.addEvent(eo)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(eo){DEBUG_BUILD&&debug$2.exception(eo,"Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:eo,hasCheckout:to,waitForCheckout:ro}=this._fallback,no=[];for(const io of eo)no.push(this._compression.addEvent(io));this._compression.hasCheckout=to,this._compression.waitForCheckout=ro,this._used=this._compression;try{await Promise.all(no),this._fallback.clear()}catch(io){DEBUG_BUILD&&debug$2.exception(io,"Failed to add events when switching buffers.")}}}function createEventBuffer({useCompression:Yi,workerUrl:eo}){if(Yi&&window.Worker){const to=_loadWorker(eo);if(to)return to}return DEBUG_BUILD&&debug$2.log("Using simple buffer"),new EventBufferArray}function _loadWorker(Yi){try{const eo=Yi||_getWorkerUrl();if(!eo)return;DEBUG_BUILD&&debug$2.log(`Using compression worker${Yi?` from ${Yi}`:""}`);const to=new Worker(eo);return new EventBufferProxy(to)}catch(eo){DEBUG_BUILD&&debug$2.exception(eo,"Failed to create compression worker")}}function _getWorkerUrl(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?e$4():""}function hasSessionStorage(){try{return"sessionStorage"in WINDOW&&!!WINDOW.sessionStorage}catch{return!1}}function clearSession(Yi){deleteSession(),Yi.session=void 0}function deleteSession(){if(hasSessionStorage())try{WINDOW.sessionStorage.removeItem(REPLAY_SESSION_KEY)}catch{}}function isSampled(Yi){return Yi===void 0?!1:Math.random()<Yi}function saveSession(Yi){if(hasSessionStorage())try{WINDOW.sessionStorage.setItem(REPLAY_SESSION_KEY,JSON.stringify(Yi))}catch{}}function makeSession(Yi){const eo=Date.now(),to=Yi.id||uuid4(),ro=Yi.started||eo,no=Yi.lastActivity||eo,io=Yi.segmentId||0,oo=Yi.sampled,ao=Yi.previousSessionId,so=Yi.dirty||!1;return{id:to,started:ro,lastActivity:no,segmentId:io,sampled:oo,previousSessionId:ao,dirty:so}}function getSessionSampleType(Yi,eo){return isSampled(Yi)?"session":eo?"buffer":!1}function createSession({sessionSampleRate:Yi,allowBuffering:eo,stickySession:to=!1},{previousSessionId:ro}={}){const no=getSessionSampleType(Yi,eo),io=makeSession({sampled:no,previousSessionId:ro});return to&&saveSession(io),io}function fetchSession(){if(!hasSessionStorage())return null;try{const Yi=WINDOW.sessionStorage.getItem(REPLAY_SESSION_KEY);if(!Yi)return null;const eo=JSON.parse(Yi);return DEBUG_BUILD&&debug$2.infoTick("Loading existing session"),makeSession(eo)}catch{return null}}function isExpired(Yi,eo,to=+new Date){return Yi===null||eo===void 0||eo<0?!0:eo===0?!1:Yi+eo<=to}function isSessionExpired(Yi,{maxReplayDuration:eo,sessionIdleExpire:to,targetTime:ro=Date.now()}){return isExpired(Yi.started,eo,ro)||isExpired(Yi.lastActivity,to,ro)}function shouldRefreshSession(Yi,{sessionIdleExpire:eo,maxReplayDuration:to}){return!(!isSessionExpired(Yi,{sessionIdleExpire:eo,maxReplayDuration:to})||Yi.sampled==="buffer"&&Yi.segmentId===0)}function loadOrCreateSession({sessionIdleExpire:Yi,maxReplayDuration:eo,previousSessionId:to},ro){const no=ro.stickySession&&fetchSession();return no?shouldRefreshSession(no,{sessionIdleExpire:Yi,maxReplayDuration:eo})?(DEBUG_BUILD&&debug$2.infoTick("Session in sessionStorage is expired, creating new one..."),createSession(ro,{previousSessionId:no.id})):no:(DEBUG_BUILD&&debug$2.infoTick("Creating new session"),createSession(ro,{previousSessionId:to}))}function isCustomEvent(Yi){return Yi.type===EventType.Custom}function addEventSync(Yi,eo,to){return shouldAddEvent(Yi,eo)?(_addEvent(Yi,eo,to),!0):!1}function addEvent(Yi,eo,to){return shouldAddEvent(Yi,eo)?_addEvent(Yi,eo,to):Promise.resolve(null)}async function _addEvent(Yi,eo,to){const{eventBuffer:ro}=Yi;if(!ro||ro.waitForCheckout&&!to)return null;const no=Yi.recordingMode==="buffer";try{to&&no&&ro.clear(),to&&(ro.hasCheckout=!0,ro.waitForCheckout=!1);const io=Yi.getOptions(),oo=maybeApplyCallback(eo,io.beforeAddRecordingEvent);return oo?await ro.addEvent(oo):void 0}catch(io){const oo=io&&io instanceof EventBufferSizeExceededError,ao=oo?"eventBufferOverflow":"eventBufferError",so=getClient();if(so){const lo=oo?"buffer_overflow":"internal_sdk_error";so.recordDroppedEvent(lo,"replay")}
49if(oo&&no)return ro.clear(),ro.waitForCheckout=!0,null;Yi.handleException(io),await Yi.stop({reason:ao})}}function shouldAddEvent(Yi,eo){if(!Yi.eventBuffer||Yi.isPaused()||!Yi.isEnabled())return!1;const to=timestampToMs(eo.timestamp);return to+Yi.timeouts.sessionIdlePause<Date.now()?!1:to>Yi.getContext().initialTimestamp+Yi.getOptions().maxReplayDuration?(DEBUG_BUILD&&debug$2.infoTick(`Skipping event with timestamp ${to} because it is after maxReplayDuration`),!1):!0}function maybeApplyCallback(Yi,eo){try{if(typeof eo=="function"&&isCustomEvent(Yi))return eo(Yi)}catch(to){return DEBUG_BUILD&&debug$2.exception(to,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return Yi}const MAX_CONTEXT_VALUES=100;function addSegmentDetailsToContext(Yi,eo,to){const ro=Yi.getContext();eo&&ro.traceIds.size<MAX_CONTEXT_VALUES&&ro.traceIds.add(eo),to&&ro.segmentNames.size<MAX_CONTEXT_VALUES&&ro.segmentNames.add(to)}function handleProcessSegmentSpan(Yi){return eo=>{Yi.isEnabled()&&addSegmentDetailsToContext(Yi,eo.trace_id,eo.name||void 0)}}function isErrorEvent(Yi){return!Yi.type}function isTransactionEvent(Yi){return Yi.type==="transaction"}function isReplayEvent(Yi){return Yi.type==="replay_event"}function isFeedbackEvent(Yi){return Yi.type==="feedback"}function handleAfterSendEvent(Yi){return(eo,to)=>{if(!Yi.isEnabled()||!isErrorEvent(eo)&&!isTransactionEvent(eo))return;const ro=to.statusCode;if(!(!ro||ro<200||ro>=300)){if(isTransactionEvent(eo)){handleTransactionEvent(Yi,eo);return}handleErrorEvent(Yi,eo)}}}function handleTransactionEvent(Yi,eo){var to,ro;addSegmentDetailsToContext(Yi,(ro=(to=eo.contexts)==null?void 0:to.trace)==null?void 0:ro.trace_id,eo.transaction)}function handleErrorEvent(Yi,eo){var no;const to=Yi.getContext();if(eo.event_id&&to.errorIds.size<100&&to.errorIds.add(eo.event_id),Yi.recordingMode!=="buffer"||!((no=eo.tags)!=null&&no.replayId))return;const{beforeErrorSampling:ro}=Yi.getOptions();typeof ro=="function"&&!ro(eo)||setTimeout$3(async()=>{try{await Yi.sendBufferedReplayOrFlush()}catch(io){Yi.handleException(io)}})}function handleBeforeSendEvent(Yi){return eo=>{!Yi.isEnabled()||!isErrorEvent(eo)||handleHydrationError(Yi,eo)}}function handleHydrationError(Yi,eo){var ro,no,io;const to=(io=(no=(ro=eo.exception)==null?void 0:ro.values)==null?void 0:no[0])==null?void 0:io.value;if(typeof to=="string"&&(to.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||to.match(/(does not match server-rendered HTML|Hydration failed because)/i))){const oo=createBreadcrumb({category:"replay.hydrate-error",data:{url:getLocationHref()}});addBreadcrumbEvent(Yi,oo)}}function handleBreadcrumbs(Yi){const eo=getClient();eo&&eo.on("beforeAddBreadcrumb",to=>beforeAddBreadcrumb(Yi,to))}function beforeAddBreadcrumb(Yi,eo){if(!Yi.isEnabled()||!isBreadcrumbWithCategory(eo))return;const to=normalizeBreadcrumb(eo);to&&addBreadcrumbEvent(Yi,to)}function normalizeBreadcrumb(Yi){return!isBreadcrumbWithCategory(Yi)||["fetch","xhr","sentry.event","sentry.transaction"].includes(Yi.category)||Yi.category.startsWith("ui.")?null:Yi.category==="console"?normalizeConsoleBreadcrumb(Yi):createBreadcrumb(Yi)}function normalizeConsoleBreadcrumb(Yi){var no;const eo=(no=Yi.data)==null?void 0:no.arguments;if(!Array.isArray(eo)||eo.length===0)return createBreadcrumb(Yi);let to=!1;const ro=eo.map(io=>{if(!io)return io;if(typeof io=="string")return io.length>CONSOLE_ARG_MAX_SIZE?(to=!0,`${io.slice(0,CONSOLE_ARG_MAX_SIZE)}…`):io;if(typeof io=="object")try{const oo=normalize$1(io,7);return JSON.stringify(oo).length>CONSOLE_ARG_MAX_SIZE?(to=!0,`${JSON.stringify(oo,null,2).slice(0,CONSOLE_ARG_MAX_SIZE)}…`):oo}catch{}return io});return createBreadcrumb({...Yi,data:{...Yi.data,arguments:ro,...to?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function isBreadcrumbWithCategory(Yi){return!!Yi.category}function isRrwebError(Yi,eo){var to,ro,no;return Yi.type||!((ro=(to=Yi.exception)==null?void 0:to.values)!=null&&ro.length)?!1:!!((no=eo.originalException)!=null&&no.__rrweb__)}function resetReplayIdOnDynamicSamplingContext(){const Yi=getCurrentScope$1().getPropagationContext().dsc;Yi&&delete Yi.replay_id;const eo=getActiveSpan();if(eo){const to=getDynamicSamplingContextFromSpan(eo);delete to.replay_id}}function setReplayIdOnDynamicSamplingContext(Yi){const eo=getCurrentScope$1().getPropagationContext().dsc;eo&&(eo.replay_id=Yi);const to=getActiveSpan();if(to){const ro=getDynamicSamplingContextFromSpan(to);ro.replay_id=Yi}}function addFeedbackBreadcrumb(Yi,eo){Yi.triggerUserActivity(),Yi.addUpdate(()=>eo.timestamp?(Yi.throttledAddEvent({type:EventType.Custom,timestamp:eo.timestamp*1e3,data:{tag:"breadcrumb",payload:{timestamp:eo.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:eo.event_id}}}}),!1):!0)}function shouldSampleForBufferEvent(Yi,eo){return Yi.recordingMode!=="buffer"||eo.message===UNABLE_TO_SEND_REPLAY||!eo.exception||eo.type?!1:isSampled(Yi.getOptions().errorSampleRate)}function handleGlobalEventListener(Yi){return Object.assign((eo,to)=>{var oo;if(Yi.session&&shouldRefreshSession(Yi.session,{maxReplayDuration:Yi.getOptions().maxReplayDuration,sessionIdleExpire:Yi.timeouts.sessionIdleExpire})&&resetReplayIdOnDynamicSamplingContext(),!Yi.isEnabled()||Yi.isPaused())return eo;if(isReplayEvent(eo))return delete eo.breadcrumbs,eo;if(!isErrorEvent(eo)&&!isTransactionEvent(eo)&&!isFeedbackEvent(eo))return eo;if(!Yi.checkAndHandleExpiredSession())return resetReplayIdOnDynamicSamplingContext(),eo;if(isFeedbackEvent(eo))return Yi.flush(),eo.contexts.feedback.replay_id=Yi.getSessionId(),addFeedbackBreadcrumb(Yi,eo),eo;if(isRrwebError(eo,to)&&!Yi.getOptions()._experiments.captureExceptions)return DEBUG_BUILD&&debug$2.log("Ignoring error from rrweb internals",eo),null;const no=shouldSampleForBufferEvent(Yi,eo);if((no||Yi.recordingMode==="session")&&(eo.tags={...eo.tags,replayId:Yi.getSessionId()}),no&&Yi.recordingMode==="buffer"&&((oo=Yi.session)==null?void 0:oo.sampled)==="buffer"){const ao=Yi.session;ao.dirty=!0,Yi.getOptions().stickySession&&saveSession(ao)}return eo},{id:"Replay"})}function createPerformanceSpans(Yi,eo){return eo.map(({type:to,start:ro,end:no,name:io,data:oo})=>{const ao=Yi.throttledAddEvent({type:EventType.Custom,timestamp:ro,data:{tag:"performanceSpan",payload:{op:to,description:io,startTimestamp:ro,endTimestamp:no,data:oo}}});return typeof ao=="string"?Promise.resolve(null):ao})}function handleHistory(Yi){const{from:eo,to}=Yi,ro=Date.now()/1e3;return{type:"navigation.push",start:ro,end:ro,name:to,data:{previous:eo}}}function handleHistorySpanListener(Yi){return eo=>{if(!Yi.isEnabled())return;const to=handleHistory(eo);to!==null&&(Yi.getContext().urls.push(to.name),Yi.triggerUserActivity(),Yi.addUpdate(()=>(createPerformanceSpans(Yi,[to]),!1)))}}
49function shouldFilterRequest(Yi,eo){return DEBUG_BUILD&&Yi.getOptions()._experiments.traceInternals?!1:isSentryRequestUrl(eo,getClient())}function addNetworkBreadcrumb(Yi,eo){Yi.isEnabled()&&eo!==null&&(shouldFilterRequest(Yi,eo.name)||Yi.addUpdate(()=>(createPerformanceSpans(Yi,[eo]),!0)))}function getBodySize(Yi){if(!Yi)return;const eo=new TextEncoder;try{if(typeof Yi=="string")return eo.encode(Yi).length;if(Yi instanceof URLSearchParams)return eo.encode(Yi.toString()).length;if(Yi instanceof FormData){const to=serializeFormData(Yi);return eo.encode(to).length}if(Yi instanceof Blob)return Yi.size;if(Yi instanceof ArrayBuffer)return Yi.byteLength}catch{}}function parseContentLengthHeader(Yi){if(!Yi)return;const eo=parseInt(Yi,10);return isNaN(eo)?void 0:eo}function mergeWarning(Yi,eo){if(!Yi)return{headers:{},size:void 0,_meta:{warnings:[eo]}};const to={...Yi._meta},ro=to.warnings||[];return to.warnings=[...ro,eo],Yi._meta=to,Yi}function makeNetworkReplayBreadcrumb(Yi,eo){if(!eo)return null;const{startTimestamp:to,endTimestamp:ro,url:no,method:io,statusCode:oo,request:ao,response:so}=eo;return{type:Yi,start:to/1e3,end:ro/1e3,name:no,data:{method:io,statusCode:oo,request:ao,response:so}}}function buildSkippedNetworkRequestOrResponse(Yi){return{headers:{},size:Yi,_meta:{warnings:["URL_SKIPPED"]}}}function buildNetworkRequestOrResponse(Yi,eo,to){if(!eo&&Object.keys(Yi).length===0)return;if(!eo)return{headers:Yi};if(!to)return{headers:Yi,size:eo};const ro={headers:Yi,size:eo},{body:no,warnings:io}=normalizeNetworkBody(to);return ro.body=no,io!=null&&io.length&&(ro._meta={warnings:io}),ro}function getAllowedHeaders(Yi,eo){return Object.entries(Yi).reduce((to,[ro,no])=>{const io=ro.toLowerCase();return eo.includes(io)&&Yi[ro]&&(to[io]=no),to},{})}function normalizeNetworkBody(Yi){if(!Yi||typeof Yi!="string")return{body:Yi};const eo=Yi.length>NETWORK_BODY_MAX_SIZE,to=_strIsProbablyJson(Yi);if(eo){const ro=Yi.slice(0,NETWORK_BODY_MAX_SIZE);return to?{body:ro,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${ro}…`,warnings:["TEXT_TRUNCATED"]}}if(to)try{return{body:JSON.parse(Yi)}}catch{}return{body:Yi}}function _strIsProbablyJson(Yi){const eo=Yi[0],to=Yi[Yi.length-1];return eo==="["&&to==="]"||eo==="{"&&to==="}"}function urlMatches(Yi,eo){const to=getFullUrl(Yi);return stringMatchesSomePattern(to,eo)}function getFullUrl(Yi,eo=WINDOW.document.baseURI){if(Yi.startsWith("http://")||Yi.startsWith("https://")||Yi.startsWith(WINDOW.location.origin))return Yi;const to=new URL(Yi,eo);if(to.origin!==new URL(eo).origin)return Yi;const ro=to.href;return!Yi.endsWith("/")&&ro.endsWith("/")?ro.slice(0,-1):ro}async function captureFetchBreadcrumbToReplay(Yi,eo,to){try{const ro=await _prepareFetchData(Yi,eo,to),no=makeNetworkReplayBreadcrumb("resource.fetch",ro);addNetworkBreadcrumb(to.replay,no)}catch(ro){DEBUG_BUILD&&debug$2.exception(ro,"Failed to capture fetch breadcrumb")}}function enrichFetchBreadcrumb(Yi,eo){const{input:to,response:ro}=eo,no=to?getFetchRequestArgBody(to):void 0,io=getBodySize(no),oo=ro?parseContentLengthHeader(ro.headers.get("content-length")):void 0;io!==void 0&&(Yi.data.request_body_size=io),oo!==void 0&&(Yi.data.response_body_size=oo)}async function _prepareFetchData(Yi,eo,to){const ro=Date.now(),{startTimestamp:no=ro,endTimestamp:io=ro}=eo,{url:oo,method:ao,status_code:so=0,request_body_size:lo,response_body_size:co}=Yi.data,uo=urlMatches(oo,to.networkDetailAllowUrls)&&!urlMatches(oo,to.networkDetailDenyUrls),fo=uo?_getRequestInfo(to,eo.input,lo):buildSkippedNetworkRequestOrResponse(lo),ho=await _getResponseInfo(uo,to,eo.response,co);return{startTimestamp:no,endTimestamp:io,url:oo,method:ao,statusCode:so,request:fo,response:ho}}function _getRequestInfo({networkCaptureBodies:Yi,networkRequestHeaders:eo},to,ro){const no=to?getRequestHeaders(to,eo):{};if(!Yi)return buildNetworkRequestOrResponse(no,ro,void 0);const io=getFetchRequestArgBody(to),[oo,ao]=getBodyString(io,debug$2),so=buildNetworkRequestOrResponse(no,ro,oo);return ao?mergeWarning(so,ao):so}async function _getResponseInfo(Yi,{networkCaptureBodies:eo,networkResponseHeaders:to}
49,ro,no){if(!Yi&&no!==void 0)return buildSkippedNetworkRequestOrResponse(no);const io=ro?getAllHeaders(ro.headers,to):{};if(!ro||!eo&&no!==void 0)return buildNetworkRequestOrResponse(io,no,void 0);const[oo,ao]=await _parseFetchResponseBody(ro),so=getResponseData(oo,{networkCaptureBodies:eo,responseBodySize:no,captureDetails:Yi,headers:io});return ao?mergeWarning(so,ao):so}function getResponseData(Yi,{networkCaptureBodies:eo,responseBodySize:to,captureDetails:ro,headers:no}){try{const io=Yi!=null&&Yi.length&&to===void 0?getBodySize(Yi):to;return ro?eo?buildNetworkRequestOrResponse(no,io,Yi):buildNetworkRequestOrResponse(no,io,void 0):buildSkippedNetworkRequestOrResponse(io)}catch(io){return DEBUG_BUILD&&debug$2.exception(io,"Failed to serialize response body"),buildNetworkRequestOrResponse(no,to,void 0)}}async function _parseFetchResponseBody(Yi){const eo=_tryCloneResponse(Yi);if(!eo)return[void 0,"BODY_PARSE_ERROR"];try{return[await _tryGetResponseText(eo)]}catch(to){return to instanceof Error&&to.message.indexOf("Timeout")>-1?(DEBUG_BUILD&&debug$2.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"]):(DEBUG_BUILD&&debug$2.exception(to,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"])}}function getAllHeaders(Yi,eo){const to={};return eo.forEach(ro=>{Yi.get(ro)&&(to[ro]=Yi.get(ro))}),to}function getRequestHeaders(Yi,eo){return Yi.length===1&&typeof Yi[0]!="string"?getHeadersFromOptions(Yi[0],eo):Yi.length===2?getHeadersFromOptions(Yi[1],eo):{}}function getHeadersFromOptions(Yi,eo){if(!Yi)return{};const to=Yi.headers;return to?to instanceof Headers?getAllHeaders(to,eo):Array.isArray(to)?{}:getAllowedHeaders(to,eo):{}}function _tryCloneResponse(Yi){try{return Yi.clone()}catch(eo){DEBUG_BUILD&&debug$2.exception(eo,"Failed to clone response body")}}function _tryGetResponseText(Yi){return new Promise((eo,to)=>{const ro=setTimeout$3(()=>to(new Error("Timeout while trying to read response body")),500);_getResponseText(Yi).then(no=>eo(no),no=>to(no)).finally(()=>clearTimeout(ro))})}async function _getResponseText(Yi){return await Yi.text()}async function captureXhrBreadcrumbToReplay(Yi,eo,to){try{const ro=_prepareXhrData(Yi,eo,to),no=makeNetworkReplayBreadcrumb("resource.xhr",ro);addNetworkBreadcrumb(to.replay,no)}catch(ro){DEBUG_BUILD&&debug$2.exception(ro,"Failed to capture xhr breadcrumb")}}function enrichXhrBreadcrumb(Yi,eo){const{xhr:to,input:ro}=eo;if(!to)return;const no=getBodySize(ro),io=to.getResponseHeader("content-length")?parseContentLengthHeader(to.getResponseHeader("content-length")):_getBodySize(to.response,to.responseType);no!==void 0&&(Yi.data.request_body_size=no),io!==void 0&&(Yi.data.response_body_size=io)}function _prepareXhrData(Yi,eo,to){const ro=Date.now(),{startTimestamp:no=ro,endTimestamp:io=ro,input:oo,xhr:ao}=eo,{url:so,method:lo,status_code:co=0,request_body_size:uo,response_body_size:fo}=Yi.data;if(!so)return null;if(!ao||!urlMatches(so,to.networkDetailAllowUrls)||urlMatches(so,to.networkDetailDenyUrls)){const So=buildSkippedNetworkRequestOrResponse(uo),To=buildSkippedNetworkRequestOrResponse(fo);return{startTimestamp:no,endTimestamp:io,url:so,method:lo,statusCode:co,request:So,response:To}}const ho=ao[SENTRY_XHR_DATA_KEY],mo=ho?getAllowedHeaders(ho.request_headers,to.networkRequestHeaders):{},vo=getAllowedHeaders(parseXhrResponseHeaders(ao),to.networkResponseHeaders),[Co,bo]=to.networkCaptureBodies?getBodyString(oo,debug$2):[void 0],[wo,yo]=to.networkCaptureBodies?_getXhrResponseBody(ao):[void 0],Eo=buildNetworkRequestOrResponse(mo,uo,Co),xo=buildNetworkRequestOrResponse(vo,fo,wo);return{startTimestamp:no,endTimestamp:io,url:so,method:lo,statusCode:co,request:bo?mergeWarning(Eo,bo):Eo,response:yo?mergeWarning(xo,yo):xo}}function _getXhrResponseBody(Yi){const eo=[];try{return[Yi.responseText]}catch(to){eo.push(to)}try{return _parseXhrResponse(Yi.response,Yi.responseType)}catch(to){eo.push(to)}return DEBUG_BUILD&&debug$2.warn("Failed to get xhr response body",...eo),[void 0]}function _parseXhrResponse(Yi,eo){try{if(typeof Yi=="string")return[Yi];if(Yi instanceof Document)return[Yi.body.outerHTML];if(eo==="json"&&Yi&&typeof Yi=="object")return[JSON.stringify(Yi)];if(!Yi)return[void 0]}catch(to){return DEBUG_BUILD&&debug$2.exception(to,"Failed to serialize body",Yi),[void 0,"BODY_PARSE_ERROR"]}return DEBUG_BUILD&&debug$2.log("Skipping network body because of body type",Yi),[void 0,"UNPARSEABLE_BODY_TYPE"]}function _getBodySize(Yi,eo){try{const to=eo==="json"&&Yi&&typeof Yi=="object"?JSON.stringify(Yi):Yi;return getBodySize(to)}catch{return}}function handleNetworkBreadcrumbs(Yi){const eo=getClient();try{const{networkDetailAllowUrls:to,networkDetailDenyUrls:ro,networkCaptureBodies:no,networkRequestHeaders:io,networkResponseHeaders:oo}=Yi.getOptions(),ao={replay:Yi,networkDetailAllowUrls:to,networkDetailDenyUrls:ro,networkCaptureBodies:no,networkRequestHeaders:io,networkResponseHeaders:oo};eo&&eo.on("beforeAddBreadcrumb",(so,lo)=>beforeAddNetworkBreadcrumb(ao,so,lo))}catch{}}function beforeAddNetworkBreadcrumb(Yi,eo,to){if(eo.data)try{_isXhrBreadcrumb(eo)&&_isXhrHint(to)&&(enrichXhrBreadcrumb(eo,to),captureXhrBreadcrumbToReplay(eo,to,Yi)),_isFetchBreadcrumb(eo)&&_isFetchHint(to)&&(enrichFetchBreadcrumb(eo,to),captureFetchBreadcrumbToReplay(eo,to,Yi))}catch(ro){DEBUG_BUILD&&debug$2.exception(ro,"Error when enriching network breadcrumb")}}function _isXhrBreadcrumb(Yi){return Yi.category==="xhr"}function _isFetchBreadcrumb(Yi){return Yi.category==="fetch"}function _isXhrHint(Yi){return Yi==null?void 0:Yi.xhr}function _isFetchHint(Yi){return(Yi==null?void 0:Yi.input)!==void 0}function addGlobalListeners(Yi){const eo=getClient();addClickKeypressInstrumentationHandler(handleDomListener(Yi)),addHistoryInstrumentationHandler(handleHistorySpanListener(Yi)),handleBreadcrumbs(Yi),handleNetworkBreadcrumbs(Yi);const to=handleGlobalEventListener(Yi);addEventProcessor(to),eo&&(eo.on("beforeSendEvent",handleBeforeSendEvent(Yi)),eo.on("afterSendEvent",handleAfterSendEvent(Yi)),eo.on("createDsc",ro=>{const no=Yi.getSessionId();no&&Yi.isEnabled()&&Yi.recordingMode==="session"&&Yi.checkAndHandleExpiredSession()&&(ro.replay_id=no)}),eo.on("processSegmentSpan",handleProcessSegmentSpan(Yi)),eo.on("spanStart",ro=>{Yi.lastActiveSpan=ro}),eo.on("spanEnd",ro=>{Yi.lastActiveSpan=ro}),eo.on("beforeSendFeedback",async(ro,no)=>{var oo;const io=Yi.getSessionId();no!=null&&no.includeReplay&&Yi.isEnabled()&&io&&((oo=ro.contexts)!=null&&oo.feedback)&&(ro.contexts.feedback.source==="api"&&await Yi.sendBufferedReplayOrFlush(),ro.contexts.feedback.replay_id=io)}),eo.on("openFeedbackWidget",async()=>{await Yi.sendBufferedReplayOrFlush()}))}async function addMemoryEntry(Yi){try{return Promise.all(createPerformanceSpans(Yi,[createMemoryEntry(WINDOW.performance.memory)]))}catch{return[]}}function createMemoryEntry(Yi){const{jsHeapSizeLimit:eo,totalJSHeapSize:to,usedJSHeapSize:ro}=Yi,no=Date.now()/1e3;return{type:"memory",name:"memory",start:no,end:no,data:{memory:{jsHeapSizeLimit:eo,totalJSHeapSize:to,usedJSHeapSize:ro}}}}function debounce$5(Yi,eo,to){return debounce$6(Yi,eo,{...to,setTimeoutImpl:setTimeout$3})}const NAVIGATOR=GLOBAL_OBJ.navigator;function getRecordingSamplingOptions(){return/iPhone|iPad|iPod/i.test((NAVIGATOR==null?void 0:NAVIGATOR.userAgent)??"")||/Macintosh/i.test((NAVIGATOR==null?void 0:NAVIGATOR.userAgent)??"")&&(NAVIGATOR!=null&&NAVIGATOR.maxTouchPoints)&&(NAVIGATOR==null?void 0:NAVIGATOR.maxTouchPoints)>1?{sampling:{mousemove:!1}}:{}}function getHandleRecordingEmit(Yi){let eo=!1;return(to,ro)=>{if(!Yi.checkAndHandleExpiredSession()){DEBUG_BUILD&&debug$2.warn("Received replay event after session expired.");return}const no=ro||!eo;eo=!0,syncMirrorAttributesFromMutationEvent(to),Yi.clickDetector&&updateClickDetectorForRecordingEvent(Yi.clickDetector,to),Yi.addUpdate(()=>{if(Yi.recordingMode==="buffer"&&no&&Yi.setInitialState(),!addEventSync(Yi,to,no))return!0;
49if(!no)return!1;const io=Yi.session;if(addSettingsEvent(Yi,no),Yi.recordingMode==="buffer"&&io&&Yi.eventBuffer&&!io.dirty){const oo=Yi.eventBuffer.getEarliestTimestamp();oo&&(DEBUG_BUILD&&debug$2.log(`Updating session start time to earliest event in buffer to ${new Date(oo)}`),io.started=oo,Yi.getOptions().stickySession&&saveSession(io))}return io!=null&&io.previousSessionId||Yi.recordingMode==="session"&&Yi.flush(),!0})}}function syncMirrorAttributesFromMutationEvent(Yi){const eo=Yi.data;if(!(Yi.type!==EventType.IncrementalSnapshot||!eo||typeof eo!="object"||!("source"in eo)||eo.source!==IncrementalSource.Mutation||!("attributes"in eo)||!Array.isArray(eo.attributes)))for(const to of eo.attributes){const ro=record.mirror.getNode(to.id),no=ro&&record.mirror.getMeta(ro);if((no==null?void 0:no.type)===NodeType.Element)for(const[io,oo]of Object.entries(to.attributes))oo===null?delete no.attributes[io]:no.attributes[io]=oo}}function createOptionsEvent(Yi){const eo=Yi.getOptions();return{type:EventType.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:Yi.isRecordingCanvas(),sessionSampleRate:eo.sessionSampleRate,errorSampleRate:eo.errorSampleRate,useCompressionOption:eo.useCompression,blockAllMedia:eo.blockAllMedia,maskAllText:eo.maskAllText,maskAllInputs:eo.maskAllInputs,useCompression:Yi.eventBuffer?Yi.eventBuffer.type==="worker":!1,networkDetailHasUrls:eo.networkDetailAllowUrls.length>0,networkCaptureBodies:eo.networkCaptureBodies,networkRequestHasHeaders:eo.networkRequestHeaders.length>0,networkResponseHasHeaders:eo.networkResponseHeaders.length>0}}}}function addSettingsEvent(Yi,eo){var to;!eo||((to=Yi.session)==null?void 0:to.segmentId)!==0||addEventSync(Yi,createOptionsEvent(Yi),!1)}function closestElementOfNode(Yi){if(!Yi)return null;try{return Yi.nodeType===Yi.ELEMENT_NODE?Yi:Yi.parentElement}catch{return null}}function createReplayEnvelope(Yi,eo,to,ro){return createEnvelope(createEventEnvelopeHeaders(Yi,getSdkMetadataForEnvelopeHeader(Yi),ro,to),[[{type:"replay_event"},Yi],[{type:"replay_recording",length:typeof eo=="string"?new TextEncoder().encode(eo).length:eo.length},eo]])}function prepareRecordingData({recordingData:Yi,headers:eo}){let to;const ro=`${JSON.stringify(eo)}
50`;if(typeof Yi=="string")to=`${ro}${Yi}`;else{const io=new TextEncoder().encode(ro);to=new Uint8Array(io.length+Yi.length),to.set(io),to.set(Yi,io.length)}return to}async function prepareReplayEvent({client:Yi,scope:eo,replayId:to,event:ro}){const no=typeof Yi._integrations=="object"&&Yi._integrations!==null&&!Array.isArray(Yi._integrations)?Object.keys(Yi._integrations):void 0,io={event_id:to,integrations:no};Yi.emit("preprocessEvent",ro,io);const oo=await prepareEvent(Yi.getOptions(),ro,io,eo,Yi,getIsolationScope());if(!oo)return null;Yi.emit("postprocessEvent",oo,io),oo.platform=oo.platform||"javascript";const ao=Yi.getSdkMetadata(),{name:so,version:lo,settings:co}=(ao==null?void 0:ao.sdk)||{};return oo.sdk={...oo.sdk,name:so||"sentry.javascript.unknown",version:lo||"0.0.0",settings:co},oo}async function sendReplayRequest({recordingData:Yi,replayId:eo,segmentId:to,eventContext:ro,timestamp:no,session:io}){const oo=prepareRecordingData({recordingData:Yi,headers:{segment_id:to}}),{urls:ao,errorIds:so,traceIds:lo,segmentNames:co,initialTimestamp:uo}=ro,fo=getClient(),ho=getCurrentScope$1(),mo=fo==null?void 0:fo.getTransport(),vo=fo==null?void 0:fo.getDsn();if(!fo||!mo||!vo||!io.sampled)return Promise.resolve({});const Co={type:REPLAY_EVENT_NAME,replay_start_timestamp:uo/1e3,timestamp:no/1e3,error_ids:so,trace_ids:lo,segment_names:co,urls:ao,replay_id:eo,segment_id:to,replay_type:io.sampled},bo=await prepareReplayEvent({scope:ho,client:fo,replayId:eo,event:Co});if(!bo)return fo.recordDroppedEvent("event_processor","replay"),DEBUG_BUILD&&debug$2.log("An event processor returned `null`, will not send event."),Promise.resolve({});delete bo.sdkProcessingMetadata;const wo=createReplayEnvelope(bo,oo,vo,fo.getOptions().tunnel);let yo;try{yo=await mo.send(wo)}catch(xo){const So=new Error(UNABLE_TO_SEND_REPLAY);try{So.cause=xo}catch{}throw So}const Eo=updateRateLimits({},yo);if(isRateLimited(Eo,"replay"))throw new RateLimitError(Eo);if(typeof yo.statusCode=="number"&&(yo.statusCode<200||yo.statusCode>=300))throw new TransportStatusCodeError(yo.statusCode);return yo}
50class TransportStatusCodeError extends Error{constructor(eo){super(`Transport returned status code ${eo}`)}}class RateLimitError extends Error{constructor(eo){super("Rate limit hit"),this.rateLimits=eo}}class ReplayDurationLimitError extends Error{constructor(){super("Session is too long, not sending replay")}}async function sendReplay(Yi,eo={count:0,interval:RETRY_BASE_INTERVAL}){const{recordingData:to,onError:ro}=Yi;if(to.length)try{return await sendReplayRequest(Yi),!0}catch(no){if(no instanceof TransportStatusCodeError||no instanceof RateLimitError)throw no;if(setContext("Replays",{_retryCount:eo.count}),ro&&ro(no),eo.count>=RETRY_MAX_COUNT){const io=new Error(`${UNABLE_TO_SEND_REPLAY} - max retries exceeded`);try{io.cause=no}catch{}throw io}return eo.interval*=++eo.count,new Promise((io,oo)=>{setTimeout$3(async()=>{try{await sendReplay(Yi,eo),io(!0)}catch(ao){oo(ao)}},eo.interval)})}}const THROTTLED="__THROTTLED",SKIPPED="__SKIPPED";function throttle$2(Yi,eo,to){const ro=new Map,no=ao=>{const so=ao-to;ro.forEach((lo,co)=>{co<so&&ro.delete(co)})},io=()=>[...ro.values()].reduce((ao,so)=>ao+so,0);let oo=!1;return(...ao)=>{const so=Math.floor(Date.now()/1e3);if(no(so),io()>=eo){const co=oo;return oo=!0,co?SKIPPED:THROTTLED}oo=!1;const lo=ro.get(so)||0;return ro.set(so,lo+1),Yi(...ao)}}class ReplayContainer{constructor({options:eo,recordingOptions:to}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:SESSION_IDLE_PAUSE_DURATION,sessionIdleExpire:SESSION_IDLE_EXPIRE_DURATION},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,segmentNames:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=to,this._options=eo,this._debouncedFlush=debounce$5(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=throttle$2((oo,ao)=>addEvent(this,oo,ao),300,5);const{slowClickTimeout:ro,slowClickIgnoreSelectors:no}=this.getOptions(),io=ro?{threshold:Math.min(SLOW_CLICK_THRESHOLD,ro),timeout:ro,scrollTimeout:SLOW_CLICK_SCROLL_TIMEOUT,ignoreSelector:no?no.join(","):""}:void 0;if(io&&(this.clickDetector=new ClickDetector(this,io)),DEBUG_BUILD){const oo=eo._experiments;debug$2.setConfig({captureExceptions:!!oo.captureExceptions,traceInternals:!!oo.traceInternals})}this._handleVisibilityChange=()=>{WINDOW.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{const oo=createBreadcrumb({category:"ui.blur"});this._doChangeToBackgroundTasks(oo)},this._handleWindowFocus=()=>{const oo=createBreadcrumb({category:"ui.focus"});this._doChangeToForegroundTasks(oo)},this._handleKeyboardEvent=oo=>{handleKeyboardEvent(this,oo)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(eo){DEBUG_BUILD&&debug$2.exception(eo),this._options.onError&&this._options.onError(eo)}initializeSampling(eo){const{errorSampleRate:to,sessionSampleRate:ro}=this._options,no=to<=0&&ro<=0;if(this._requiresManualStart=no,!no){if(this._initializeSessionForSampling(eo),!this.session){DEBUG_BUILD&&debug$2.exception(new Error("Unable to initialize and create session"));return}this.session.sampled!==!1&&(this.recordingMode=this.session.sampled==="buffer"&&this.session.segmentId===0?"buffer":"session",DEBUG_BUILD&&debug$2.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&this.recordingMode==="session"){DEBUG_BUILD&&debug$2.log("Recording is already in progress");return}if(this._isEnabled&&this.recordingMode==="buffer"){DEBUG_BUILD&&debug$2.log("Buffering is in progress, call `flush()` to save the replay");return}DEBUG_BUILD&&debug$2.infoTick("Starting replay in session mode"),this._updateUserActivity();const eo=loadOrCreateSession({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=eo,this.recordingMode="session",this._initializeRecording()}
50startBuffering(){if(this._isEnabled){DEBUG_BUILD&&debug$2.log("Buffering is in progress, call `flush()` to save the replay");return}DEBUG_BUILD&&debug$2.infoTick("Starting replay in buffer mode");const eo=loadOrCreateSession({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=eo,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const eo=this._canvas;this._stopRecording=record({...this._recordingOptions,...this.recordingMode==="buffer"?{checkoutEveryNms:BUFFER_CHECKOUT_TIME}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:getHandleRecordingEmit(this),...getRecordingSamplingOptions(),onMutation:this._onMutationHandler.bind(this),...eo?{recordCanvas:eo.recordCanvas,getCanvasManager:eo.getCanvasManager,sampling:eo.sampling,dataURLOptions:eo.dataURLOptions}:{}})}catch(eo){this.handleException(eo)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(eo){return this.handleException(eo),!1}}async stop({forceFlush:eo=!1,reason:to}={}){var no,io,oo;if(!this._isEnabled)return;this._isEnabled=!1,this.recordingMode="buffer";const ro=to??"manual";(io=getClient())==null||io.emit("replayEnd",{sessionId:(no=this.session)==null?void 0:no.id,reason:ro});try{DEBUG_BUILD&&debug$2.log(`Stopping Replay triggered by ${ro}`),resetReplayIdOnDynamicSamplingContext(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),eo&&await this._flush({force:!0}),(oo=this.eventBuffer)==null||oo.destroy(),this.eventBuffer=null,clearSession(this)}catch(ao){this.handleException(ao)}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),DEBUG_BUILD&&debug$2.log("Pausing replay"))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),DEBUG_BUILD&&debug$2.log("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:eo=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();const to=Date.now();DEBUG_BUILD&&debug$2.log("Converting buffer to session"),await this.flushImmediate();const ro=this.stopRecording();!eo||!ro||this.recordingMode!=="session"&&(this.recordingMode="session",this.session&&(this.session.dirty=!1,this._updateUserActivity(to),this._updateSessionActivity(to),this._maybeSaveSession(),setReplayIdOnDynamicSamplingContext(this.session.id)),this.startRecording())}addUpdate(eo){const to=eo();this.recordingMode==="buffer"||!this._isEnabled||to!==!0&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return this.recordingMode==="buffer"?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(eo){var to,ro;if(!(eo&&((to=this.session)==null?void 0:to.sampled)===!1))return(ro=this.session)==null?void 0:ro.id}checkAndHandleExpiredSession(){var eo;if(this._lastActivity&&isExpired(this._lastActivity,this.timeouts.sessionIdlePause)&&((eo=this.session)==null?void 0:eo.sampled)==="session"){this.pause();return}return!!this._checkSession()}setInitialState(){const eo=`${WINDOW.location.pathname}${WINDOW.location.hash}${WINDOW.location.search}`,to=`${WINDOW.location.origin}${eo}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=to,this._context.initialTimestamp=Date.now(),this._context.urls.push(to)}throttledAddEvent(eo,to){const ro=this._throttledAddEvent(eo,to);if(ro===THROTTLED){const no=createBreadcrumb({category:"replay.throttled"});this.addUpdate(()=>!addEventSync(this,{type:ReplayEventTypeCustom,timestamp:no.timestamp||0,data:{tag:"breadcrumb",payload:no,metric:!0}}))}return ro}getCurrentRoute(){const eo=this.lastActiveSpan||getActiveSpan(),to=eo&&getRootSpan(eo),no=(to&&spanToJSON(to).data||{})[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];if(!(!to||!no||!["route","custom"].includes(no)))return spanToJSON(to).description}_initializeRecording(){var eo;this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=createEventBuffer({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.session&&((eo=getClient())==null||eo.emit("replayStart",{sessionId:this.session.id,recordingMode:this.recordingMode})),this.startRecording(),this.recordingMode==="session"&&this.session&&setReplayIdOnDynamicSamplingContext(this.session.id)}_initializeSessionForSampling(eo){const to=this._options.errorSampleRate>0,ro=loadOrCreateSession({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:eo},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:to});this.session=ro}_checkSession(){if(!this.session)return!1;const eo=this.session;return shouldRefreshSession(eo,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})?(this._refreshSession(eo),!1):!0}async _refreshSession(eo){this._isEnabled&&(await this.stop({reason:"sessionExpired"}),this.initializeSampling(eo.id))}_addListeners(){try{WINDOW.document.addEventListener("visibilitychange",this._handleVisibilityChange),WINDOW.addEventListener("blur",this._handleWindowBlur),WINDOW.addEventListener("focus",this._handleWindowFocus),WINDOW.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(addGlobalListeners(this),this._hasInitializedCoreListeners=!0)}catch(eo){this.handleException(eo)}this._performanceCleanupCallback=setupPerformanceObserver(this)}_removeListeners(){try{WINDOW.document.removeEventListener("visibilitychange",this._handleVisibilityChange),WINDOW.removeEventListener("blur",this._handleWindowBlur),WINDOW.removeEventListener("focus",this._handleWindowFocus),WINDOW.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(eo){this.handleException(eo)}}
50_doChangeToBackgroundTasks(eo){if(!this.session)return;if(shouldRefreshSession(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})){resetReplayIdOnDynamicSamplingContext();return}eo&&this._createCustomBreadcrumb(eo),this.conditionalFlush()}_doChangeToForegroundTasks(eo){if(!this.session)return;if(!this.checkAndHandleExpiredSession()){DEBUG_BUILD&&debug$2.log("Document has become active, but session has expired");return}eo&&this._createCustomBreadcrumb(eo)}_updateUserActivity(eo=Date.now()){this._lastActivity=eo}_updateSessionActivity(eo=Date.now()){this.session&&(this.session.lastActivity=eo,this._maybeSaveSession())}_createCustomBreadcrumb(eo){this.addUpdate(()=>{this.throttledAddEvent({type:EventType.Custom,timestamp:eo.timestamp||0,data:{tag:"breadcrumb",payload:eo}})})}_addPerformanceEntries(){let eo=createPerformanceEntries(this.performanceEntries).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){const to=this._context.initialTimestamp/1e3;eo=eo.filter(ro=>ro.start>=to)}return Promise.all(createPerformanceSpans(this,eo))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.segmentNames.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:eo,eventBuffer:to}=this;if(!eo||!to||this._requiresManualStart||eo.segmentId)return;const ro=to.getEarliestTimestamp();ro&&ro<this._context.initialTimestamp&&(this._context.initialTimestamp=ro)}_popEventContext(){const eo={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),segmentNames:Array.from(this._context.segmentNames),urls:this._context.urls};return this._clearContext(),eo}async _runFlush(){var to;const eo=this.getSessionId();if(!this.session||!this.eventBuffer||!eo){DEBUG_BUILD&&debug$2.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),!!((to=this.eventBuffer)!=null&&to.hasEvents)&&(await addMemoryEntry(this),!!this.eventBuffer&&eo===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const ro=Date.now();if(ro-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new ReplayDurationLimitError;const no=this._popEventContext(),io=this.session.segmentId++;this._maybeSaveSession();const oo=await this.eventBuffer.finish();await sendReplay({replayId:eo,recordingData:oo,segmentId:io,eventContext:no,session:this.session,timestamp:ro,onError:ao=>this.handleException(ao)})}catch(ro){this.handleException(ro),this.stop({reason:"sendError"});const no=getClient();if(no){let io;ro instanceof RateLimitError?io="ratelimit_backoff":ro instanceof ReplayDurationLimitError?io="invalid":io="send_error",no.recordDroppedEvent(io,"replay")}}}async _flush({force:eo=!1}={}){if(!this._isEnabled&&!eo)return;if(!this.checkAndHandleExpiredSession()){DEBUG_BUILD&&debug$2.error("Attempting to finish replay event after session expired.");return}if(!this.session)return;const to=this.session.started,no=Date.now()-to;this._debouncedFlush.cancel();const io=no<this._options.minReplayDuration,oo=no>this._options.maxReplayDuration+5e3;if(io||oo){DEBUG_BUILD&&debug$2.log(`Session duration (${Math.floor(no/1e3)}s) is too ${io?"short":"long"}, not sending replay.`),io&&this._debouncedFlush();return}const ao=this.eventBuffer;ao&&this.session.segmentId===0&&!ao.hasCheckout&&DEBUG_BUILD&&debug$2.log("Flushing initial segment without checkout.");const so=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(lo){this.handleException(lo)}finally{this._flushLock=void 0,so&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&saveSession(this.session)}_onMutationHandler(eo){const{ignoreMutations:to}=this._options._experiments;if(to!=null&&to.length&&eo.some(ao=>{const so=closestElementOfNode(ao.target),lo=to.join(",");return so==null?void 0:so.matches(lo)}))return!1;const ro=eo.length,no=this._options.mutationLimit,io=this._options.mutationBreadcrumbLimit,oo=no&&ro>no;if(ro>io||oo){const ao=createBreadcrumb({category:"replay.mutations",data:{count:ro,limit:oo}});this._createCustomBreadcrumb(ao)}return oo?(this.stop({reason:"mutationLimit",forceFlush:this.recordingMode==="session"}),!1):!0}}function getOption(Yi,eo){return[...Yi,...eo].join(",")}function getPrivacyOptions({mask:Yi,unmask:eo,block:to,unblock:ro,ignore:no}
50){const io=["base","iframe[srcdoc]:not([src])"],oo=getOption(Yi,[".sentry-mask","[data-sentry-mask]"]),ao=getOption(eo,[]);return{maskTextSelector:oo,unmaskTextSelector:ao,blockSelector:getOption(to,[".sentry-block","[data-sentry-block]",...io]),unblockSelector:getOption(ro,[]),ignoreSelector:getOption(no,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}function maskAttribute({el:Yi,key:eo,maskAttributes:to,maskAllText:ro,privacyOptions:no,value:io}){if(no.unmaskTextSelector&&Yi.matches(no.unmaskTextSelector))return io;const oo=to.includes(eo),ao=ro&&eo==="value"&&Yi.tagName==="INPUT"&&["submit","button"].includes(Yi.getAttribute("type")||"");return oo||ao?io.replace(/[\S]/g,"*"):io}const MEDIA_SELECTORS='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',DEFAULT_NETWORK_HEADERS=["content-length","content-type","accept"],ORIGINAL_BODY=Symbol.for("sentry__originalRequestBody");let _initialized=!1,_isRequestInstrumented=!1;function _INTERNAL_instrumentRequestInterface(){if(typeof Request>"u"||_isRequestInstrumented)return;const Yi=Request;try{const eo=function(to,ro){const no=new Yi(to,ro);return(ro==null?void 0:ro.body)!=null&&(no[ORIGINAL_BODY]=ro.body),no};eo.prototype=Yi.prototype,GLOBAL_OBJ.Request=eo,_isRequestInstrumented=!0}catch{}}const replayIntegration=(Yi=>new Replay(Yi));class Replay{constructor({flushMinDelay:eo=DEFAULT_FLUSH_MIN_DELAY,flushMaxDelay:to=DEFAULT_FLUSH_MAX_DELAY,minReplayDuration:ro=MIN_REPLAY_DURATION,maxReplayDuration:no=MAX_REPLAY_DURATION,stickySession:io=!0,useCompression:oo=!0,workerUrl:ao,_experiments:so={},maskAllText:lo=!0,maskAllInputs:co=!0,blockAllMedia:uo=!0,mutationBreadcrumbLimit:fo=750,mutationLimit:ho=1e4,slowClickTimeout:mo=7e3,slowClickIgnoreSelectors:vo=[],networkDetailAllowUrls:Co=[],networkDetailDenyUrls:bo=[],networkCaptureBodies:wo=!0,networkRequestHeaders:yo=[],networkResponseHeaders:Eo=[],mask:xo=[],maskAttributes:So=["title","placeholder","aria-label"],unmask:To=[],block:Ro=[],unblock:Po=[],ignore:zo=[],maskFn:Ho,beforeAddRecordingEvent:Vo,beforeErrorSampling:Lo,onError:Uo,attachRawBodyFromRequest:Do=!1}={}){this.name="Replay";const Oo=getPrivacyOptions({mask:xo,unmask:To,block:Ro,unblock:Po,ignore:zo});if(this._recordingOptions={maskAllInputs:co,maskAllText:lo,maskInputOptions:{password:!0},maskTextFn:Ho,maskInputFn:Ho,maskAttributeFn:(ko,Bo,Fo)=>maskAttribute({maskAttributes:So,maskAllText:lo,privacyOptions:Oo,key:ko,value:Bo,el:Fo}),...Oo,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:ko=>{try{ko.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!so.recordCrossOriginIframes},this._initialOptions={flushMinDelay:eo,flushMaxDelay:to,minReplayDuration:Math.min(ro,MIN_REPLAY_DURATION_LIMIT),maxReplayDuration:Math.min(no,MAX_REPLAY_DURATION),stickySession:io,useCompression:oo,workerUrl:ao,blockAllMedia:uo,maskAllInputs:co,maskAllText:lo,mutationBreadcrumbLimit:fo,mutationLimit:ho,slowClickTimeout:mo,slowClickIgnoreSelectors:vo,networkDetailAllowUrls:Co,networkDetailDenyUrls:bo,networkCaptureBodies:wo,networkRequestHeaders:_getMergedNetworkHeaders(yo),networkResponseHeaders:_getMergedNetworkHeaders(Eo),beforeAddRecordingEvent:Vo,beforeErrorSampling:Lo,onError:Uo,attachRawBodyFromRequest:Do,_experiments:so},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${MEDIA_SELECTORS}`:MEDIA_SELECTORS,this._recordingOptions.ignoreCSSAttributes=new Set(["background-image"])),this._isInitialized&&isBrowser$3())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return _initialized}set _isInitialized(eo){_initialized=eo}afterAllSetup(eo){!isBrowser$3()||this._replay||(this._initialOptions.attachRawBodyFromRequest&&_INTERNAL_instrumentRequestInterface(),this._setup(eo),this._initialize(eo))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:this._replay.recordingMode==="session",reason:"manual"}):Promise.resolve()}flush(eo){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(eo):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(eo){var to;
50if((to=this._replay)!=null&&to.isEnabled())return this._replay.getSessionId(eo)}getRecordingMode(){var eo;if((eo=this._replay)!=null&&eo.isEnabled())return this._replay.recordingMode}processSpan(eo){const to=this.getReplayId(!0);to&&(safeSetSpanJSONAttributes(eo,{"sentry.replay_id":to}),this.getRecordingMode()==="buffer"&&safeSetSpanJSONAttributes(eo,{"sentry._internal.replay_is_buffering":!0}))}_initialize(eo){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(eo),this._replay.initializeSampling())}_setup(eo){const to=loadReplayOptionsFromClient(this._initialOptions,eo);this._replay=new ReplayContainer({options:to,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(eo){try{const to=eo.getIntegrationByName("ReplayCanvas");if(!to)return;this._replay._canvas=to.getOptions()}catch{}}}function loadReplayOptionsFromClient(Yi,eo){const to=eo.getOptions(),ro={sessionSampleRate:0,errorSampleRate:0,...Yi},no=parseSampleRate(to.replaysSessionSampleRate),io=parseSampleRate(to.replaysOnErrorSampleRate);return no==null&&io==null&&consoleSandbox(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),no!=null&&(ro.sessionSampleRate=no),io!=null&&(ro.errorSampleRate=io),ro}function _getMergedNetworkHeaders(Yi){return[...DEFAULT_NETWORK_HEADERS,...Yi.map(eo=>eo.toLowerCase())]}function baggageHeaderHasSentryValues(Yi){return Yi.split(",").some(eo=>eo.trim().startsWith("sentry-"))}function getFullURL(Yi){try{return new URL(Yi,WINDOW$5.location.origin).href}catch{return}}function isPerformanceResourceTiming(Yi){return Yi.entryType==="resource"&&"initiatorType"in Yi&&typeof Yi.nextHopProtocol=="string"&&(Yi.initiatorType==="fetch"||Yi.initiatorType==="xmlhttprequest")}function createHeadersSafely(Yi){try{return new Headers(Yi)}catch{return}}const defaultRequestInstrumentationOptions={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function instrumentOutgoingRequests(Yi,eo){const{traceFetch:to,traceXHR:ro,shouldCreateSpanForRequest:no,enableHTTPTimings:io,tracePropagationTargets:oo,onRequestSpanStart:ao,onRequestSpanEnd:so}={...defaultRequestInstrumentationOptions,...eo},lo=typeof no=="function"?no:ho=>!0,co=ho=>shouldAttachHeaders(ho,oo),uo={},fo=Yi.getOptions().propagateTraceparent;to&&addFetchInstrumentationHandler(ho=>{const mo=instrumentFetchRequest(ho,lo,co,uo,{propagateTraceparent:fo,onRequestSpanEnd:so});if(mo){const vo=getFullURL(ho.fetchData.url),Co=vo?parseUrl$1(vo).host:void 0,bo=vo?stripDataUrlContent(vo):void 0;mo.setAttributes({"http.url":bo,"url.full":bo,"server.address":Co}),io&&addHTTPTimings(mo,Yi),ao==null||ao(mo,{headers:ho.headers})}}),ro&&addXhrInstrumentationHandler(ho=>{var vo;const mo=xhrCallback(ho,lo,co,uo,fo,so);mo&&(io&&addHTTPTimings(mo,Yi),ao==null||ao(mo,{headers:createHeadersSafely((vo=ho.xhr.__sentry_xhr_v3__)==null?void 0:vo.request_headers)}))})}const HTTP_TIMING_WAIT_MS=300;function addHTTPTimings(Yi,eo){const{url:to}=spanToJSON$2(Yi).data;if(!to||typeof to!="string")return;let ro=()=>void setTimeout(no);if(hasSpanStreamingEnabled$1(eo)){const io=Yi.end.bind(Yi);Yi.end=oo=>{const ao=oo??timestampInSeconds$2();let so=!1;const lo=()=>{so||(so=!0,setTimeout(no),io(ao),clearTimeout(co))};ro=lo;const co=setTimeout(lo,HTTP_TIMING_WAIT_MS)}}const no=addPerformanceInstrumentationHandler("resource",({entries:io})=>{io.forEach(oo=>{isPerformanceResourceTiming(oo)&&oo.name.endsWith(to)&&(Yi.setAttributes(resourceTimingToSpanAttributes(oo)),ro())})})}function shouldAttachHeaders(Yi,eo){const to=getLocationHref$1();if(to){let ro,no;try{ro=new URL(Yi,to),no=new URL(to).origin}catch{return!1}const io=ro.origin===no;return eo?stringMatchesSomePattern$2(ro.toString(),eo)||io&&stringMatchesSomePattern$2(ro.pathname,eo):io}else{const ro=!!Yi.match(/^\/(?!\/)/);return eo?stringMatchesSomePattern$2(Yi,eo):ro}}function xhrCallback(Yi,eo,to,ro,no,io){const oo=Yi.xhr,ao=oo==null?void 0:oo[SENTRY_XHR_DATA_KEY];if(!oo||oo.__sentry_own_request__||!ao)return;const{url:so,method:lo}=ao,co=hasSpansEnabled$2()&&eo(so);if(Yi.endTimestamp){const yo=oo.__sentry_xhr_span_id__;if(!yo)return;const Eo=ro[yo];Eo&&(co&&ao.status_code!==void 0&&(setHttpStatus(Eo,ao.status_code),Eo.end(),io==null||io(Eo,{headers:createHeadersSafely(parseXhrResponseHeaders(oo)),error:Yi.error})),delete ro[yo]);return}const uo=getFullURL(so),fo=parseUrl$1(uo||so),ho=uo?stripDataUrlContent(uo):void 0,mo=stripDataUrlContent(stripUrlQueryAndFragment(so)),vo=getClient$2(),bo=!!getActiveSpan$2()||!!vo&&hasS
50panStreamingEnabled$1(vo),wo=co&&bo?startInactiveSpan$1({name:`${lo} ${mo}`,attributes:{url:stripDataUrlContent(so),type:"xhr","http.method":lo,"http.url":ho,"url.full":ho,"server.address":fo==null?void 0:fo.host,[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$2]:"auto.http.browser",[SEMANTIC_ATTRIBUTE_SENTRY_OP$2]:"http.client",...(fo==null?void 0:fo.search)&&{"http.query":fo==null?void 0:fo.search},...(fo==null?void 0:fo.hash)&&{"http.fragment":fo==null?void 0:fo.hash}}}):new SentryNonRecordingSpan$1;return co&&!bo&&(vo==null||vo.recordDroppedEvent("no_parent_span","span")),oo.__sentry_xhr_span_id__=wo.spanContext().spanId,ro[oo.__sentry_xhr_span_id__]=wo,to(so)&&addTracingHeadersToXhrRequest(oo,hasSpansEnabled$2()&&bo?wo:void 0,no),vo&&vo.emit("beforeOutgoingRequestSpan",wo,Yi),wo}function addTracingHeadersToXhrRequest(Yi,eo,to){const{"sentry-trace":ro,baggage:no,traceparent:io}=getTraceData({span:eo,propagateTraceparent:to});ro&&setHeaderOnXhr(Yi,ro,no,io)}function setHeaderOnXhr(Yi,eo,to,ro){var io;const no=(io=Yi.__sentry_xhr_v3__)==null?void 0:io.request_headers;if(!(no!=null&&no["sentry-trace"]||!Yi.setRequestHeader))try{if(Yi.setRequestHeader("sentry-trace",eo),ro&&!(no!=null&&no.traceparent)&&Yi.setRequestHeader("traceparent",ro),to){const oo=no==null?void 0:no.baggage;(!oo||!baggageHeaderHasSentryValues(oo))&&Yi.setRequestHeader("baggage",to)}}catch{}}const responseToStreamSpan=new WeakMap,responseToFallbackTimeout=new WeakMap,STREAM_RESOLVE_FALLBACK_MS=9e4,STREAMING_CONTENT_TYPES=["text/event-stream","application/x-ndjson","application/stream+json"],fetchStreamPerformanceIntegration=()=>({name:"FetchStreamPerformance",setup(){addFetchEndInstrumentationHandler(Yi=>{if(Yi.response){const eo=responseToStreamSpan.get(Yi.response);if(eo&&Yi.endTimestamp){eo.end(Yi.endTimestamp);const to=responseToFallbackTimeout.get(Yi.response);to&&clearTimeout(to)}}}),addFetchInstrumentationHandler(Yi=>{var eo,to,ro,no;if(Yi.endTimestamp&&Yi.response){const io=((eo=Yi.response.headers)==null?void 0:eo.get("content-type"))||"";if((to=Yi.response.headers)!=null&&to.get("content-length")||!STREAMING_CONTENT_TYPES.some(fo=>io.startsWith(fo)))return;const oo=((ro=Yi.fetchData)==null?void 0:ro.url)||"",ao=((no=Yi.fetchData)==null?void 0:no.method)||"GET",so=parseStringToURLObject$1(oo),lo=oo.startsWith("data:")?stripDataUrlContent(oo):so?getSanitizedUrlStringFromUrlObject(so):oo,co=startInactiveSpan$1({name:`${ao} ${lo}`,startTime:Yi.endTimestamp,attributes:{url:stripDataUrlContent(oo),"http.method":ao,type:"fetch",[SEMANTIC_ATTRIBUTE_SENTRY_OP$2]:"http.client.stream",[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$2]:"auto.http.browser.stream"}});responseToStreamSpan.set(Yi.response,co);const uo=setTimeout(()=>{co.isRecording()&&co.end()},STREAM_RESOLVE_FALLBACK_MS);responseToFallbackTimeout.set(Yi.response,uo)}})}}),WEB_VITALS_INTEGRATION_NAME="WebVitals",webVitalsIntegration=(Yi={})=>{const eo=new Set(Yi.ignore??[]);return{name:WEB_VITALS_INTEGRATION_NAME,setup(to){const ro=hasSpanStreamingEnabled$1(to),{enableStandaloneClsSpans:no,enableStandaloneLcpSpans:io}=Yi._experiments??{},oo=ro||eo.has("cls")?void 0:no||!1,ao=ro||eo.has("lcp")?void 0:io||!1,so=startTrackingWebVitals({recordClsStandaloneSpans:oo,recordLcpStandaloneSpans:ao,client:to}),lo=new WeakSet;to.on("afterStartPageLoadSpan",co=>{lo.add(co)}),to.on("spanEnd",co=>{lo.delete(co)&&(so(),addWebVitalsToSpan(co,{recordClsOnPageloadSpan:oo===!1,recordLcpOnPageloadSpan:ao===!1,spanStreamingEnabled:ro}))}),ro?(eo.has("lcp")||trackLcpAsSpan(to),eo.has("cls")||trackClsAsSpan(to),eo.has("inp")||trackInpAsSpan()):eo.has("inp")||startTrackingINP()},afterAllSetup(){eo.has("inp")||registerInpInteractionListener()}}};function registerBackgroundTabDetection(){WINDOW$5.document?WINDOW$5.document.addEventListener("visibilitychange",()=>{const Yi=getActiveSpan$2();if(!Yi)return;const eo=getRootSpan$2(Yi);if(WINDOW$5.document.hidden&&eo){const to="cancelled",{op:ro,status:no}=spanToJSON$2(eo);DEBUG_BUILD$2&&debug$5.log(`[Tracing] Transaction: ${to} -> since tab moved to the background, op: ${ro}`),no||eo.setStatus({code:SPAN_STATUS_ERROR,message:to}),eo.setAttribute("sentry.cancellation_reason","document.hidden"),eo.end()}}):DEBUG_BUILD$2&&debug$5.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const PREVIOUS_TRACE_MAX_DURATION=3600,PREVIOUS_TRACE_KEY="sentry_previous_trace",PREVIOUS_TRACE_TMP_SPAN_ATTRIBUTE="sentry.previous_trace";function linkTraces(Yi,{linkPreviousTrace:eo,consistentTraceSampling:to}){const ro=eo==="session-storage";let no=ro?getPreviousTraceFromSessionStorage():void 0;Yi.on("spanStart",oo=>{if(getRootSpan$2(oo)!==oo)return;const ao=getCurrentScope$3().getPropagationContext();no=addPreviousTraceSpanLink(no,oo,ao),ro&&storePreviousTraceInSessionStorage(no)});let io=!0;to&&Yi.on("beforeSampling",oo=>{if(!no)return;const ao=getCurrentScope$3(),so=ao.getPropagationContext();if(io&&so.parentSpanId){io=!1;return}ao.setPropagationContext({...so,dsc:{...so.dsc,sample_rate:String(no.sampleRate),sampled:String(spanContextSampled(no.spanContext))},sampleRand:no.sampleRand}),oo.parentSampled=spanContextSampled(no.spanContext),oo.parentSampleRate=no.sampleRate,oo.spanAttributes={...oo.spanAttributes,[SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE$2]:no.sampleRate}})}
50function addPreviousTraceSpanLink(Yi,eo,to){const ro=spanToJSON$2(eo);function no(){var ao,so;try{const lo=Number(((ao=ro.data)==null?void 0:ao[SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE$2])??((so=to.dsc)==null?void 0:so.sample_rate));return Number.isNaN(lo)?0:lo}catch{return 0}}const io={spanContext:eo.spanContext(),startTimestamp:ro.start_timestamp,sampleRate:no(),sampleRand:to.sampleRand};if(!Yi)return io;const oo=Yi.spanContext;return oo.traceId===ro.trace_id?Yi:(Date.now()/1e3-Yi.startTimestamp<=PREVIOUS_TRACE_MAX_DURATION&&(DEBUG_BUILD$2&&debug$5.log(`Adding previous_trace \`${JSON.stringify(oo)}\` link to span \`${JSON.stringify({op:ro.op,...eo.spanContext()})}\``),eo.addLink({context:oo,attributes:{[SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]:"previous_trace"}}),eo.setAttribute(PREVIOUS_TRACE_TMP_SPAN_ATTRIBUTE,`${oo.traceId}-${oo.spanId}-${spanContextSampled(oo)?1:0}`)),io)}function storePreviousTraceInSessionStorage(Yi){try{WINDOW$5.sessionStorage.setItem(PREVIOUS_TRACE_KEY,JSON.stringify(Yi))}catch(eo){DEBUG_BUILD$2&&debug$5.warn("Could not store previous trace in sessionStorage",eo)}}function getPreviousTraceFromSessionStorage(){var Yi;try{const eo=(Yi=WINDOW$5.sessionStorage)==null?void 0:Yi.getItem(PREVIOUS_TRACE_KEY);return JSON.parse(eo)}catch{return}}function spanContextSampled(Yi){return Yi.traceFlags===1}const BROWSER_TRACING_INTEGRATION_ID="BrowserTracing",BOT_USER_AGENT_RE=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i;function isBotUserAgent(){const Yi=WINDOW$5.navigator;return Yi!=null&&Yi.userAgent?BOT_USER_AGENT_RE.test(Yi.userAgent):!1}const DEFAULT_BROWSER_TRACING_OPTIONS={...TRACING_DEFAULTS,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...defaultRequestInstrumentationOptions},browserTracingIntegration=((Yi={})=>{"enableElementTiming"in Yi&&consoleSandbox$2(()=>{console.warn("[Sentry] `enableElementTiming` is deprecated and no longer has any effect. Use the standalone `elementTimingIntegration` instead.")});const eo={name:void 0,source:void 0},to=WINDOW$5.document,{enableInp:ro,enableLongTask:no,enableLongAnimationFrame:io,_experiments:{enableInteractions:oo,enableStandaloneClsSpans:ao,enableStandaloneLcpSpans:so},beforeStartSpan:lo,idleTimeout:co,finalTimeout:uo,childSpanTimeout:fo,markBackgroundSpan:ho,traceFetch:mo,traceXHR:vo,trackFetchStreamPerformance:Co,shouldCreateSpanForRequest:bo,enableHTTPTimings:wo,ignoreResourceSpans:yo,ignorePerformanceApiSpans:Eo,instrumentPageLoad:xo,instrumentNavigation:So,detectRedirects:To,linkPreviousTrace:Ro,consistentTraceSampling:Po,enableReportPageLoaded:zo,onRequestSpanStart:Ho,onRequestSpanEnd:Vo}={...DEFAULT_BROWSER_TRACING_OPTIONS,...Yi},Lo=isBotUserAgent();let Uo,Do;function Oo(ko,Bo,Fo=!0){const Qo=Bo.op==="pageload",jo=Bo.name,Xo=lo?lo(Bo):Bo,Zo=Xo.attributes||{};if(jo!==Xo.name&&(Zo[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE$2]="custom",Xo.attributes=Zo),!Fo){const ra=dateTimestampInSeconds$2();startInactiveSpan$1({...Xo,startTime:ra}).end(ra);return}eo.name=Xo.name,eo.source=Zo[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE$2];const Wo=startIdleSpan(Xo,{idleTimeout:co,finalTimeout:uo,childSpanTimeout:fo,disableAutoFinish:Qo,beforeSpanEnd:ra=>{addPerformanceEntries(ra,{ignoreResourceSpans:yo,ignorePerformanceApiSpans:Eo,spanStreamingEnabled:hasSpanStreamingEnabled$1(ko)}),setActiveIdleSpan(ko,void 0);const da=getCurrentScope$3(),pa=da.getPropagationContext();da.setPropagationContext({...pa,traceId:Wo.spanContext().traceId,sampled:spanIsSampled$2(Wo),dsc:getDynamicSamplingContextFromSpan$2(ra)}),Qo&&(Do=void 0)},trimIdleSpanEndTimestamp:!zo});Qo&&zo&&(Do=Wo),setActiveIdleSpan(ko,Wo);function ta(){to&&["interactive","complete"].includes(to.readyState)&&(ko.emit("idleSpanEnableAutoFinish",Wo),to.removeEventListener("readystatechange",ta))}Qo&&!zo&&to&&(to.addEventListener("readystatechange",ta),ta())}return{name:BROWSER_TRACING_INTEGRATION_ID,setup(ko){var Fo;if(Lo){DEBUG_BUILD$2&&debug$5.log("[Tracing] Skipping browserTracingIntegration setup for bot user agent.");return}if(registerSpanErrorInstrumentation(),io&&GLOBAL_OBJ$2.PerformanceObserver&&((Fo=PerformanceObserver.supportedEntryTypes)!=null&&Fo.includes("long-animation-frame"))?startTrackingLongAnimationFrames():no&&startTrackingLongTasks(),oo&&startTrackingInteractions(),To&&to){const Qo=()=>{Uo=timestampInSeconds$2()};addEventListener("click",Qo,{capture:!0}),addEventListener("keydown",Qo,{capture:!0,passive:!0})}function Bo(){const Qo=getActiveIdleSpan(ko);Qo&&!spanToJSON$2(Qo).timestamp&&(DEBUG_BUILD$2&&debug$5.log(`[Tracing] Finishing current active span with op: ${spanToJSON$2(Qo).op}`),Qo.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"cancelled"),Qo.end())}ko.on("startNavigationSpan",(Qo,jo)=>{if(getClient$2()!==ko)return;if(jo!=null&&jo.isRedirect){DEBUG_BUILD$2&&debug$5.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),Oo(ko,{op:"navigation.redirect",...Qo},!1);return}Uo=void 0,Bo(),getIsolationScope$2().setPropagationContext({traceId:generateTraceId$2(),sampleRand:Math.random(),propagationSpanId:h
50asSpansEnabled$2()?void 0:generateSpanId$2()});const Xo=getCurrentScope$3();Xo.setPropagationContext({traceId:generateTraceId$2(),sampleRand:Math.random(),propagationSpanId:hasSpansEnabled$2()?void 0:generateSpanId$2()}),Xo.setSDKProcessingMetadata({normalizedRequest:void 0}),Oo(ko,{op:"navigation",...Qo,parentSpan:null,forceTransaction:!0})}),ko.on("startPageLoadSpan",(Qo,jo={})=>{if(getClient$2()!==ko)return;Bo();const Xo=jo.sentryTrace||getMetaContent("sentry-trace")||getServerTiming("sentry-trace"),Zo=jo.baggage||getMetaContent("baggage")||getServerTiming("baggage"),Wo=propagationContextFromHeaders(Xo,Zo),ta=getCurrentScope$3();ta.setPropagationContext(Wo),hasSpansEnabled$2()||(ta.getPropagationContext().propagationSpanId=generateSpanId$2()),ta.setSDKProcessingMetadata({normalizedRequest:getHttpRequestData()}),Oo(ko,{op:"pageload",...Qo})}),ko.on("endPageloadSpan",()=>{zo&&Do&&(Do.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"reportPageLoaded"),Do.end())})},afterAllSetup(ko){var Fo;if(Lo)return;ko.addIntegration&&!((Fo=ko.getIntegrationByName)!=null&&Fo.call(ko,WEB_VITALS_INTEGRATION_NAME))&&ko.addIntegration(webVitalsIntegration({ignore:ro?[]:["inp"],_experiments:{enableStandaloneClsSpans:ao,enableStandaloneLcpSpans:so}}));let Bo=getLocationHref$1();if(Ro!=="off"&&linkTraces(ko,{linkPreviousTrace:Ro,consistentTraceSampling:Po}),WINDOW$5.location){if(xo){const Qo=browserPerformanceTimeOrigin$2();startBrowserTracingPageLoadSpan(ko,{name:WINDOW$5.location.pathname,startTime:Qo?Qo/1e3:void 0,attributes:{[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE$2]:"url",[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$2]:"auto.pageload.browser"}})}So&&addHistoryInstrumentationHandler(({to:Qo,from:jo})=>{if(jo===void 0&&(Bo==null?void 0:Bo.indexOf(Qo))!==-1){Bo=void 0;return}Bo=void 0;const Xo=parseStringToURLObject$1(Qo),Zo=getActiveIdleSpan(ko),Wo=Zo&&To&&isRedirect(Zo,Uo);startBrowserTracingNavigationSpan(ko,{name:(Xo==null?void 0:Xo.pathname)||WINDOW$5.location.pathname,attributes:{[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE$2]:"url",[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN$2]:"auto.navigation.browser"}},{url:Qo,isRedirect:Wo})})}ho&&registerBackgroundTabDetection(),oo&&registerInteractionListener(ko,co,uo,fo,eo),instrumentOutgoingRequests(ko,{traceFetch:mo,traceXHR:vo,tracePropagationTargets:ko.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:bo,enableHTTPTimings:wo,onRequestSpanStart:Ho,onRequestSpanEnd:Vo}),Co&&ko.addIntegration(fetchStreamPerformanceIntegration())}}});function startBrowserTracingPageLoadSpan(Yi,eo,to){Yi.emit("startPageLoadSpan",eo,to),getCurrentScope$3().setTransactionName(eo.name);const ro=getActiveIdleSpan(Yi);return ro&&Yi.emit("afterStartPageLoadSpan",ro),ro}function startBrowserTracingNavigationSpan(Yi,eo,to){const{url:ro,isRedirect:no}=to||{};Yi.emit("beforeStartNavigationSpan",eo,{isRedirect:no}),Yi.emit("startNavigationSpan",eo,{isRedirect:no});const io=getCurrentScope$3();return io.setTransactionName(eo.name),ro&&!no&&io.setSDKProcessingMetadata({normalizedRequest:{...getHttpRequestData(),url:ro}}),getActiveIdleSpan(Yi)}function getMetaContent(Yi){const eo=WINDOW$5.document,to=eo==null?void 0:eo.querySelector(`meta[name=${Yi}]`);return(to==null?void 0:to.getAttribute("content"))||void 0}function getServerTiming(Yi){var ro,no,io;const eo=(no=(ro=WINDOW$5.performance)==null?void 0:ro.getEntriesByType)==null?void 0:no.call(ro,"navigation")[0],to=(io=eo==null?void 0:eo.serverTiming)==null?void 0:io.find(oo=>oo.name===Yi);return to==null?void 0:to.description}function registerInteractionListener(Yi,eo,to,ro,no){const io=WINDOW$5.document;let oo;const ao=()=>{const so="ui.action.click",lo=getActiveIdleSpan(Yi);if(lo){const co=spanToJSON$2(lo).op;if(["navigation","pageload"].includes(co)){DEBUG_BUILD$2&&debug$5.warn(`[Tracing] Did not create ${so} span because a pageload or navigation span is in progress.`);return}}if(oo&&(oo.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"interactionInterrupted"),oo.end(),oo=void 0),!no.name){DEBUG_BUILD$2&&debug$5.warn(`[Tracing] Did not create ${so} transaction because _latestRouteName is missing.`);return}oo=startIdleSpan({name:no.name,op:so,attributes:{[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE$2]:no.source||"url"}},{idleTimeout:eo,finalTimeout:to,childSpanTimeout:ro})};io&&addEventListener("click",ao,{capture:!0})}const ACTIVE_IDLE_SPAN_PROPERTY="_sentry_idleSpan";function getActiveIdleSpan(Yi){return Yi[ACTIVE_IDLE_SPAN_PROPERTY]}function setActiveIdleSpan(Yi,eo){addNonEnumerableProperty$2(Yi,ACTIVE_IDLE_SPAN_PROPERTY,eo)}const REDIRECT_THRESHOLD=1.5;function isRedirect(Yi,eo){const to=spanToJSON$2(Yi),ro=dateTimestampInSeconds$2(),no=to.start_timestamp;return!(ro-no>REDIRECT_THRESHOLD||eo&&ro-eo<=REDIRECT_THRESHOLD)}const SDK_VERSION="10.64.0";function applySdkMetadata(Yi,eo,to=[eo],ro="npm"){const no=(Yi._metadata=Yi._metadata||{}).sdk=Yi._metadata.sdk||{};
50no.name||(no.name=`sentry.javascript.${eo}`,no.packages=to.map(io=>({name:`${ro}:@sentry/${io}`,version:SDK_VERSION})),no.version=SDK_VERSION)}function init(Yi){const eo={...Yi};return applySdkMetadata(eo,"react"),setContext$1("react",{version:reactExports.version}),init$1(eo)}const common={black:"#000",white:"#fff"},red={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},purple={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},blue={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},lightBlue={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},green={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},orange={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},grey={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function formatMuiErrorMessage$1(Yi){let eo="https://mui.com/production-error/?code="+Yi;for(let to=1;to<arguments.length;to+=1)eo+="&args[]="+encodeURIComponent(arguments[to]);return"Minified MUI error #"+Yi+"; visit "+eo+" for the full message."}const THEME_ID="$$material";function _extends$2c(){return _extends$2c=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)({}).hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$2c.apply(null,arguments)}function memoize$6(Yi){var eo=Object.create(null);return function(to){return eo[to]===void 0&&(eo[to]=Yi(to)),eo[to]}}var reactPropsRegex=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,isPropValid=memoize$6(function(Yi){return reactPropsRegex.test(Yi)||Yi.charCo
vendor: 1,372 bytes, line 50
50deAt(0)===111&&Yi.charCodeAt(1)===110&&Yi.charCodeAt(2)<91});function sheetForTag(Yi){if(Yi.sheet)return Yi.sheet;for(var eo=0;eo<document.styleSheets.length;eo++)if(document.styleSheets[eo].ownerNode===Yi)return document.styleSheets[eo]}function createStyleElement(Yi){var eo=document.createElement("style");return eo.setAttribute("data-emotion",Yi.key),Yi.nonce!==void 0&&eo.setAttribute("nonce",Yi.nonce),eo.appendChild(document.createTextNode("")),eo.setAttribute("data-s",""),eo}var StyleSheet$1=(function(){function Yi(to){var ro=this;this._insertTag=function(no){var io;ro.tags.length===0?ro.insertionPoint?io=ro.insertionPoint.nextSibling:ro.prepend?io=ro.container.firstChild:io=ro.before:io=ro.tags[ro.tags.length-1].nextSibling,ro.container.insertBefore(no,io),ro.tags.push(no)},this.isSpeedy=to.speedy===void 0?!0:to.speedy,this.tags=[],this.ctr=0,this.nonce=to.nonce,this.key=to.key,this.container=to.container,this.prepend=to.prepend,this.insertionPoint=to.insertionPoint,this.before=null}var eo=Yi.prototype;return eo.hydrate=function(ro){ro.forEach(this._insertTag)},eo.insert=function(ro){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(createStyleElement(this));var no=this.tags[this.tags.length-1];if(this.isSpeedy){var io=sheetForTag(no);try{io.insertRule(ro,io.cssRules.length)}catch{}}else no.appendChild(document.createTextNode(ro));this.ctr++}
vendor: 17,153 bytes, lines 50-57
50,eo.flush=function(){this.tags.forEach(function(ro){var no;return(no=ro.parentNode)==null?void 0:no.removeChild(ro)}),this.tags=[],this.ctr=0},Yi})(),MS="-ms-",MOZ="-moz-",WEBKIT="-webkit-",COMMENT="comm",RULESET="rule",DECLARATION="decl",IMPORT="@import",KEYFRAMES="@keyframes",LAYER="@layer",abs=Math.abs,from=String.fromCharCode,assign=Object.assign;function hash$3(Yi,eo){return charat(Yi,0)^45?(((eo<<2^charat(Yi,0))<<2^charat(Yi,1))<<2^charat(Yi,2))<<2^charat(Yi,3):0}function trim(Yi){return Yi.trim()}function match$3(Yi,eo){return(Yi=eo.exec(Yi))?Yi[0]:Yi}function replace(Yi,eo,to){return Yi.replace(eo,to)}function indexof(Yi,eo){return Yi.indexOf(eo)}function charat(Yi,eo){return Yi.charCodeAt(eo)|0}function substr(Yi,eo,to){return Yi.slice(eo,to)}function strlen(Yi){return Yi.length}function sizeof(Yi){return Yi.length}function append$1(Yi,eo){return eo.push(Yi),Yi}function combine(Yi,eo){return Yi.map(eo).join("")}var line=1,column=1,length=0,position$1=0,character=0,characters="";function node(Yi,eo,to,ro,no,io,oo){return{value:Yi,root:eo,parent:to,type:ro,props:no,children:io,line,column,length:oo,return:""}}function copy$3(Yi,eo){return assign(node("",null,null,"",null,null,0),Yi,{length:-Yi.length},eo)}function char(){return character}function prev(){return character=position$1>0?charat(characters,--position$1):0,column--,character===10&&(column=1,line--),character}function next(){return character=position$1<length?charat(characters,position$1++):0,column++,character===10&&(column=1,line++),character}function peek$1(){return charat(characters,position$1)}function caret(){return position$1}function slice(Yi,eo){return substr(characters,Yi,eo)}function token(Yi){switch(Yi){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function alloc(Yi){return line=column=1,length=strlen(characters=Yi),position$1=0,[]}function dealloc(Yi){return characters="",Yi}function delimit(Yi){return trim(slice(position$1-1,delimiter(Yi===91?Yi+2:Yi===40?Yi+1:Yi)))}function whitespace(Yi){for(;(character=peek$1())&&character<33;)next();return token(Yi)>2||token(character)>3?"":" "}function escaping(Yi,eo){for(;--eo&&next()&&!(character<48||character>102||character>57&&character<65||character>70&&character<97););return slice(Yi,caret()+(eo<6&&peek$1()==32&&next()==32))}function delimiter(Yi){for(;next();)switch(character){case Yi:return position$1;case 34:case 39:Yi!==34&&Yi!==39&&delimiter(character);break;case 40:Yi===41&&delimiter(Yi);break;case 92:next();break}return position$1}function commenter(Yi,eo){for(;next()&&Yi+character!==57;)if(Yi+character===84&&peek$1()===47)break;return"/*"+slice(eo,position$1-1)+"*"+from(Yi===47?Yi:next())}function identifier(Yi){for(;!token(peek$1());)next();return slice(Yi,position$1)}function compile(Yi){return dealloc(parse$4("",null,null,null,[""],Yi=alloc(Yi),0,[0],Yi))}function parse$4(Yi,eo,to,ro,no,io,oo,ao,so){for(var lo=0,co=0,uo=oo,fo=0,ho=0,mo=0,vo=1,Co=1,bo=1,wo=0,yo="",Eo=no,xo=io,So=ro,To=yo;Co;)switch(mo=wo,wo=next()){case 40:if(mo!=108&&charat(To,uo-1)==58){indexof(To+=replace(delimit(wo),"&","&\f"),"&\f")!=-1&&(bo=-1);break}case 34:case 39:case 91:To+=delimit(wo);break;case 9:case 10:case 13:case 32:To+=whitespace(mo);break;case 92:To+=escaping(caret()-1,7);continue;case 47:switch(peek$1()){case 42:case 47:append$1(comment(commenter(next(),caret()),eo,to),so);break;default:To+="/"}break;case 123*vo:ao[lo++]=strlen(To)*bo;case 125*vo:case 59:case 0:switch(wo){case 0:case 125:Co=0;case 59+co:bo==-1&&(To=replace(To,/\f/g,"")),ho>0&&strlen(To)-uo&&append$1(ho>32?declaration(To+";",ro,to,uo-1):declaration(replace(To," ","")+";",ro,to,uo-2),so);break;case 59:To+=";";default:if(append$1(So=ruleset(To,eo,to,lo,co,no,ao,yo,Eo=[],xo=[],uo),io),wo===123)if(co===0)parse$4(To,eo,So,So,Eo,io,uo,ao,xo);else switch(fo===99&&charat(To,3)===110?100:fo){case 100:case 108:case 109:case 115:parse$4(Yi,So,So,ro&&append$1(ruleset(Yi,So,So,0,0,no,ao,yo,no,Eo=[],uo),xo),no,xo,uo,ao,ro?Eo:xo);break;default:parse$4(To,So,So,So,[""],xo,0,ao,xo)}}lo=co=ho=0,vo=bo=1,yo=To="",uo=oo;break;case 58:uo=1+strlen(To),ho=mo;default:if(vo<1){if(wo==123)--vo;else if(wo==125&&vo++==0&&prev()==125)continue}switch(To+=from(wo),wo*vo){case 38:bo=co>0?1:(To+="\f",-1);break;case 44:ao[lo++]=(strlen(To)-1)*bo,bo=1;break;case 64:peek$1()===45&&(To+=delimit(next())),fo=peek$1(),co=uo=strlen(yo=To+=identifier(caret())),wo++;break;case 45:mo===45&&strlen(To)==2&&(vo=0)}}return io}function ruleset(Yi,eo,to,ro,no,io,oo,ao,so,lo,co){for(var uo=no-1,fo=no===0?io:[""],ho=sizeof(fo),mo=0,vo=0,Co=0;mo<ro;++mo)for(var bo=0,wo=substr(Yi,uo+1,uo=abs(vo=oo[mo])),yo=Yi;bo<ho;++bo)(yo=trim(vo>0?fo[bo]+" "+wo:replace(wo,/&\f/g,fo[bo])))&&(so[Co++]=yo);return node(Yi,eo,to,no===0?RULESET:ao,so,lo,co)}function comment(Yi,eo,to){return node(Yi,eo,to,COMMENT,from(char()),substr(Yi,2,-2),0)}function declaration(Yi,eo,to,ro){return node(Yi,eo,to,DECLARATION,substr(Yi,0,ro),substr(Yi,ro+1,-1),ro)}function serialize$1(Yi,eo){for(var to="",ro=sizeof(Yi),no=0;no<ro;no++)to+=eo(Yi[no],no,Yi,eo)||"";return to}function stringify(Yi,eo,to,ro){switch(Yi.type){case LAYER:if(Yi.children.length)break;case IMPORT:case DECLARATION:return Yi.return=Yi.return||Yi.value;case COMMENT:return"";case KEYFRAMES:return Yi.return=Yi.value+"{"+serialize$1(Yi.children,ro)+"}";case RULESET:Yi.value=Yi.props.join(",")}return strlen(to=serialize$1(Yi.children,ro))?Yi.return=Yi.value+"{"+to+"}":""}function middleware(Yi){var eo=sizeof(Yi);return function(to,ro,no,io){for(var oo="",ao=0;ao<eo;ao++)oo+=Yi[ao](to,ro,no,io)||"";return oo}}function rulesheet(Yi){return function(eo){eo.root||(eo=eo.return)&&Yi(eo)}}var identifierWithPointTracking=function(eo,to,ro){for(var no=0,io=0;no=io,io=peek$1(),no===38&&io===12&&(to[ro]=1),!token(io);)next();return slice(eo,position$1)},toRules=function(eo,to){var ro=-1,no=44;do switch(token(no)){case 0:no===38&&peek$1()===12&&(to[ro]=1),eo[ro]+=identifierWithPointTracking(position$1-1,to,ro);break;case 2:eo[ro]+=delimit(no);break;case 4:if(no===44){eo[++ro]=peek$1()===58?"&\f":"",to[ro]=eo[ro].length;break}default:eo[ro]+=from(no)}while(no=next());return eo},getRules=function(eo,to){return dealloc(toRules(alloc(eo),to))},fixedElements=new WeakMap,compat=function(eo){if(!(eo.type!=="rule"||!eo.parent||eo.length<1)){for(var to=eo.value,ro=eo.parent,no=eo.column===ro.column&&eo.line===ro.line;ro.type!=="rule";)if(ro=ro.parent,!ro)return;if(!(eo.props.length===1&&to.charCodeAt(0)!==58&&!fixedElements.get(ro))&&!no){fixedElements.set(eo,!0);for(var io=[],oo=getRules(to,io),ao=ro.props,so=0,lo=0;so<oo.length;so++)for(var co=0;co<ao.length;co++,lo++)eo.props[lo]=io[so]?oo[so].replace(/&\f/g,ao[co]):ao[co]+" "+oo[so]}}},removeLabel=function(eo){if(eo.type==="decl"){var to=eo.value;to.charCodeAt(0)===108&&to.charCodeAt(2)===98&&(eo.return="",eo.value="")}};function prefix$2(Yi,eo){switch(hash$3(Yi,eo)){case 5103:return WEBKIT+"print-"+Yi+Yi;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return WEBKIT+Yi+Yi;case 5349:case 4246:case 4810:case 6968:case 2756:return WEBKIT+Yi+MOZ+Yi+MS+Yi+Yi;case 6828:case 4268:return WEBKIT+Yi+MS+Yi+Yi;case 6165:return WEBKIT+Yi+MS+"flex-"+Yi+Yi;case 5187:return WEBKIT+Yi+replace(Yi,/(\w+).+(:[^]+)/,WEBKIT+"box-$1$2"+MS+"flex-$1$2")+Yi;case 5443:return WEBKIT+Yi+MS+"flex-item-"+replace(Yi,/flex-|-self/,"")+Yi;case 4675:return WEBKIT+Yi+MS+"flex-line-pack"+replace(Yi,/align-content|flex-|-self/,"")+Yi;case 5548:return WEBKIT+Yi+MS+replace(Yi,"shrink","negative")+Yi;case 5292:return WEBKIT+Yi+MS+replace(Yi,"basis","preferred-size")+Yi;case 6060:return WEBKIT+"box-"+replace(Yi,"-grow","")+WEBKIT+Yi+MS+replace(Yi,"grow","positive")+Yi;case 4554:return WEBKIT+replace(Yi,/([^-])(transform)/g,"$1"+WEBKIT+"$2")+Yi;case 6187:return replace(replace(replace(Yi,/(zoom-|grab)/,WEBKIT+"$1"),/(image-set)/,WEBKIT+"$1"),Yi,"")+Yi;case 5495:case 3959:return replace(Yi,/(image-set\([^]*)/,WEBKIT+"$1$`$1");case 4968:return replace(replace(Yi,/(.+:)(flex-)?(.*)/,WEBKIT+"box-pack:$3"+MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+WEBKIT+Yi+Yi;case 4095:case 3583:case 4068:case 2532:return replace(Yi,/(.+)-inline(.+)/,WEBKIT+"$1$2")+Yi;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(strlen(Yi)-1-eo>6)switch(charat(Yi,eo+1)){case 109:if(charat(Yi,eo+4)!==45)break;case 102:return replace(Yi,/(.+:)(.+)-([^]+)/,"$1"+WEBKIT+"$2-$3$1"+MOZ+(charat(Yi,eo+3)==108?"$3":"$2-$3"))+Yi;case 115:return~indexof(Yi,"stretch")?prefix$2(replace(Yi,"stretch","fill-available"),eo)+Yi:Yi}break;case 4949:if(charat(Yi,eo+1)!==115)break;case 6444:switch(charat(Yi,strlen(Yi)-3-(~indexof(Yi,"!important")&&10))){case 107:return replace(Yi,":",":"+WEBKIT)+Yi;case 101:return replace(Yi,/(.+:)([^;!]+)(;|!.+)?/,"$1"+WEBKIT+(charat(Yi,14)===45?"inline-":"")+"box$3$1"+WEBKIT+"$2$3$1"+MS+"$2box$3")+Yi}break;case 5936:switch(charat(Yi,eo+11)){case 114:return WEBKIT+Yi+MS+replace(Yi,/[svh]\w+-[tblr]{2}/,"tb")+Yi;case 108:return WEBKIT+Yi+MS+replace(Yi,/[svh]\w+-[tblr]{2}/,"tb-rl")+Yi;case 45:return WEBKIT+Yi+MS+replace(Yi,/[svh]\w+-[tblr]{2}/,"lr")+Yi}return WEBKIT+Yi+MS+Yi+Yi}return Yi}var prefixer=function(eo,to,ro,no){if(eo.length>-1&&!eo.return)switch(eo.type){case DECLARATION:eo.return=prefix$2(eo.value,eo.length);break;case KEYFRAMES:return serialize$1([copy$3(eo,{value:replace(eo.value,"@","@"+WEBKIT)})],no);case RULESET:if(eo.length)return combine(eo.props,function(io){switch(match$3(io,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return serialize$1([copy$3(eo,{props:[replace(io,/:(read-\w+)/,":"+MOZ+"$1")]})],no);case"::placeholder":return serialize$1([copy$3(eo,{props:[replace(io,/:(plac\w+)/,":"+WEBKIT+"input-$1")]}),copy$3(eo,{props:[replace(io,/:(plac\w+)/,":"+MOZ+"$1")]}),copy$3(eo,{props:[replace(io,/:(plac\w+)/,MS+"input-$1")]})],no)}return""})}},defaultStylisPlugins=[prefixer],createCache=function(eo){var to=eo.key;if(to==="css"){var ro=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(ro,function(vo){var Co=vo.getAttribute("data-emotion");Co.indexOf(" ")!==-1&&(document.head.appendChild(vo),vo.setAttribute("data-s",""))})}var no=eo.stylisPlugins||defaultStylisPlugins,io={},oo,ao=[];oo=eo.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+to+' "]'),function(vo){for(var Co=vo.getAttribute("data-emotion").split(" "),bo=1;bo<Co.length;bo++)io[Co[bo]]=!0;ao.push(vo)});var so,lo=[compat,removeLabel];{var co,uo=[stringify,rulesheet(function(vo){co.insert(vo)})],fo=middleware(lo.concat(no,uo)),ho=function(Co){return serialize$1(compile(Co),fo)};so=function(Co,bo,wo,yo){co=wo,ho(Co?Co+"{"+bo.styles+"}":bo.styles),yo&&(mo.inserted[bo.name]=!0)}}var mo={key:to,sheet:new StyleSheet$1({key:to,container:oo,nonce:eo.nonce,speedy:eo.speedy,prepend:eo.prepend,insertionPoint:eo.insertionPoint}),nonce:eo.nonce,inserted:io,registered:{},insert:so};return mo.sheet.hydrate(ao),mo},reactIs$2={exports:{}},reactIs_production_min$1={};/** @license React v16.13.1
51 * react-is.production.min.js
52 *
53 * Copyright (c) Facebook, Inc. and its affiliates.
54 *
55 * This source code is licensed under the MIT license found in the
56 * LICENSE file in the root directory of this source tree.
57 */var hasRequiredReactIs_production_min$1;function requireReactIs_production_min$1(){if(hasRequiredReactIs_production_min$1)return reactIs_production_min$1;hasRequiredReactIs_production_min$1=1;var Yi=typeof Symbol=="function"&&Symbol.for,eo=Yi?Symbol.for("react.element"):60103,to=Yi?Symbol.for("react.portal"):60106,ro=Yi?Symbol.for("react.fragment"):60107,no=Yi?Symbol.for("react.strict_mode"):60108,io=Yi?Symbol.for("react.profiler"):60114,oo=Yi?Symbol.for("react.provider"):60109,ao=Yi?Symbol.for("react.context"):60110,so=Yi?Symbol.for("react.async_mode"):60111,lo=Yi?Symbol.for("react.concurrent_mode"):60111,co=Yi?Symbol.for("react.forward_ref"):60112,uo=Yi?Symbol.for("react.suspense"):60113,fo=Yi?Symbol.for("react.suspense_list"):60120,ho=Yi?Symbol.for("react.memo"):60115,mo=Yi?Symbol.for("react.lazy"):60116,vo=Yi?Symbol.for("react.block"):60121,Co=Yi?Symbol.for("react.fundamental"):60117,bo=Yi?Symbol.for("react.responder"):60118,wo=Yi?Symbol.for("react.scope"):60119;function yo(xo){if(typeof xo=="object"&&xo!==null){var So=xo.$$typeof;switch(So){case eo:switch(xo=xo.type,xo){case so:case lo:case ro:case io:case no:case uo:return xo;default:switch(xo=xo&&xo.$$typeof,xo){case ao:case co:case mo:case ho:case oo:return xo;default:return So}}case to:return So}}}function Eo(xo){return yo(xo)===lo}return reactIs_production_min$1.AsyncMode=so,reactIs_production_min$1.ConcurrentMode=lo,reactIs_production_min$1.ContextConsumer=ao,reactIs_production_min$1.ContextProvider=oo,reactIs_production_min$1.Element=eo,reactIs_production_min$1.ForwardRef=co,reactIs_production_min$1.Fragment=ro,reactIs_production_min$1.Lazy=mo,reactIs_production_min$1.Memo=ho,reactIs_production_min$1.Portal=to,reactIs_production_min$1.Profiler=io,reactIs_production_min$1.StrictMode=no,reactIs_production_min$1.Suspense=uo,reactIs_production_min$1.isAsyncMode=function(xo){return Eo(xo)||yo(xo)===so},reactIs_production_min$1.isConcurrentMode=Eo,reactIs_production_min$1.isContextConsumer=function(xo){return yo(xo)===ao},reactIs_production_min$1.isContextProvider=function(xo){return yo(xo)===oo},reactIs_production_min$1.isElement=function(xo){return typeof xo=="object"&&xo!==null&&xo.$$typeof===eo},reactIs_production_min$1.isForwardRef=function(xo){return yo(xo)===co},reactIs_production_min$1.isFragment=function(xo){return yo(xo)===ro},reactIs_production_min$1.isLazy=function(xo){return yo(xo)===mo},reactIs_production_min$1.isMemo=function(xo){return yo(xo)===ho},reactIs_production_min$1.isPortal=function(xo){return yo(xo)===to},reactIs_production_min$1.isProfiler=function(xo){return yo(xo)===io},reactIs_production_min$1.isStrictMode=function(xo){return yo(xo)===no},reactIs_production_min$1.isSuspense=function(xo){return yo(xo)===uo},reactIs_production_min$1.isValidElementType=function(xo){return typeof xo=="string"||typeof xo=="function"||xo===ro||xo===lo||xo===io||xo===no||xo===uo||xo===fo||typeof xo=="object"&&xo!==null&&(xo.$$typeof===mo||xo.$$typeof===ho||xo.$$typeof===oo||xo.$$typeof===ao||xo.$$typeof===co||xo.$$typeof===Co||xo.$$typeof===bo||xo.$$typeof===wo||xo.$$typeof===vo)},reactIs_production_min$1.typeOf=yo,reactIs_production_min$1}reactIs$2.exports=requireReactIs_production_min$1();var reactIsExports$1=reactIs$2.exports,reactIs$1=reactIsExports$1,REACT_STATICS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},KNOWN_STATICS={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},FORWARD_REF_STATICS={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},MEMO_STATICS={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},TYPE_STATICS={};TYPE_STATICS[reactIs$1.ForwardRef]=FORWARD_REF_STATICS;TYPE_STATICS[reactIs$1.Memo]=MEMO_STATICS;function getStatics(Yi){return reactIs$1.isMemo(Yi)?MEMO_STATICS:TYPE_STATICS[Yi.$$typeof]||REACT_STATICS}var defineProperty$3=Object.defineProperty,getOwnPropertyNames$1=Object.getOwnPropertyNames,getOwnPropertySymbols$2=Object.getOwnPropertySymbols,getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,getPrototypeOf$1=Object.getPrototypeOf,objectPrototype=Object.prototype;function hoistNonReactStatics(Yi,eo,to){if(typeof eo!="string"){if(objectPrototype){var ro=getPrototypeOf$1(eo);ro&&ro!==objectPrototype&&hoistNonReactStatics(Yi,ro,to)}var no=getOwnPropertyNames$1(eo);getOwnPropertySymbols$2&&(no=no.concat(getOwnPropertySymbols$2(eo)));for(var io=getStatics(Yi),oo=getStatics(eo),ao=0;ao<no.length;++ao){var so=no[ao];if(!KNOWN_STATICS[so]&&!(to&&to[so])&&!(oo&&oo[so])&&!(io&&io[so])){var lo=getOwnPropertyDescriptor$1(eo,so);try{defineProperty$3(Yi,so,lo)}catch{}}}}return Yi}var hoistNonReactStatics_cjs=hoistNonReactStatics;const hoistNonReactStatics$1=getDefaultExportFromCjs(hoistNonReactStatics_cjs);var isBrowser$2=!0;function getRegisteredStyles(Yi,eo,to){var ro="";return to.split(" ").forEach(function(no){Yi[no]!==void 0?eo.push(Yi[no]+";"):no&&(ro+=no+" ")}),ro}var registerStyles=function(eo,to,ro){var no=eo.key+"-"+to.name;(ro===!1||isBrowser$2===!1)&&eo.registered[no]===void 0&&(eo.registered[no]=to.styles)},insertStyles=function(eo,to,ro){registerStyles(eo,to,ro);var no=eo.key+"-"+to.name;if(eo.inserted[to.name]===void 0){var io=to;do eo.insert(to===io?"."+no:"",io,eo.sheet,!0),io=io.next;while(io!==void 0)}};function murmur2(Yi){for(var eo=0,to,ro=0,no=Yi.length;no>=4;
vendor: 4,494 bytes, line 57
57++ro,no-=4)to=Yi.charCodeAt(ro)&255|(Yi.charCodeAt(++ro)&255)<<8|(Yi.charCodeAt(++ro)&255)<<16|(Yi.charCodeAt(++ro)&255)<<24,to=(to&65535)*1540483477+((to>>>16)*59797<<16),to^=to>>>24,eo=(to&65535)*1540483477+((to>>>16)*59797<<16)^(eo&65535)*1540483477+((eo>>>16)*59797<<16);switch(no){case 3:eo^=(Yi.charCodeAt(ro+2)&255)<<16;case 2:eo^=(Yi.charCodeAt(ro+1)&255)<<8;case 1:eo^=Yi.charCodeAt(ro)&255,eo=(eo&65535)*1540483477+((eo>>>16)*59797<<16)}return eo^=eo>>>13,eo=(eo&65535)*1540483477+((eo>>>16)*59797<<16),((eo^eo>>>15)>>>0).toString(36)}var unitlessKeys={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},hyphenateRegex=/[A-Z]|^ms/g,animationRegex=/_EMO_([^_]+?)_([^]*?)_EMO_/g,isCustomProperty=function(eo){return eo.charCodeAt(1)===45},isProcessableValue=function(eo){return eo!=null&&typeof eo!="boolean"},processStyleName=memoize$6(function(Yi){return isCustomProperty(Yi)?Yi:Yi.replace(hyphenateRegex,"-$&").toLowerCase()}),processStyleValue=function(eo,to){switch(eo){case"animation":case"animationName":if(typeof to=="string")return to.replace(animationRegex,function(ro,no,io){return cursor={name:no,styles:io,next:cursor},no})}return unitlessKeys[eo]!==1&&!isCustomProperty(eo)&&typeof to=="number"&&to!==0?to+"px":to};function handleInterpolation(Yi,eo,to){if(to==null)return"";var ro=to;if(ro.__emotion_styles!==void 0)return ro;switch(typeof to){case"boolean":return"";case"object":{var no=to;if(no.anim===1)return cursor={name:no.name,styles:no.styles,next:cursor},no.name;var io=to;if(io.styles!==void 0){var oo=io.next;if(oo!==void 0)for(;oo!==void 0;)cursor={name:oo.name,styles:oo.styles,next:cursor},oo=oo.next;var ao=io.styles+";";return ao}return createStringFromObject(Yi,eo,to)}case"function":{if(Yi!==void 0){var so=cursor,lo=to(Yi);return cursor=so,handleInterpolation(Yi,eo,lo)}break}}var co=to;if(eo==null)return co;var uo=eo[co];return uo!==void 0?uo:co}function createStringFromObject(Yi,eo,to){var ro="";if(Array.isArray(to))for(var no=0;no<to.length;no++)ro+=handleInterpolation(Yi,eo,to[no])+";";else for(var io in to){var oo=to[io];if(typeof oo!="object"){var ao=oo;eo!=null&&eo[ao]!==void 0?ro+=io+"{"+eo[ao]+"}":isProcessableValue(ao)&&(ro+=processStyleName(io)+":"+processStyleValue(io,ao)+";")}else if(Array.isArray(oo)&&typeof oo[0]=="string"&&(eo==null||eo[oo[0]]===void 0))for(var so=0;so<oo.length;so++)isProcessableValue(oo[so])&&(ro+=processStyleName(io)+":"+processStyleValue(io,oo[so])+";");else{var lo=handleInterpolation(Yi,eo,oo);switch(io){case"animation":case"animationName":{ro+=processStyleName(io)+":"+lo+";";break}default:ro+=io+"{"+lo+"}"}}}return ro}var labelPattern=/label:\s*([^\s;{]+)\s*(;|$)/g,cursor;function serializeStyles(Yi,eo,to){if(Yi.length===1&&typeof Yi[0]=="object"&&Yi[0]!==null&&Yi[0].styles!==void 0)return Yi[0];var ro=!0,no="";cursor=void 0;var io=Yi[0];if(io==null||io.raw===void 0)ro=!1,no+=handleInterpolation(to,eo,io);else{var oo=io;no+=oo[0]}for(var ao=1;ao<Yi.length;ao++)if(no+=handleInterpolation(to,eo,Yi[ao]),ro){var so=io;no+=so[ao]}labelPattern.lastIndex=0;for(var lo="",co;(co=labelPattern.exec(no))!==null;)lo+="-"+co[1];var uo=murmur2(no)+lo;return{name:uo,styles:no,next:cursor}}var syncFallback=function(eo){return eo()},useInsertionEffect=React$1G.useInsertionEffect?React$1G.useInsertionEffect:!1,useInsertionEffectAlwaysWithSyncFallback=useInsertionEffect||syncFallback,useInsertionEffectWithLayoutFallback=useInsertionEffect||reactExports.useLayoutEffect,EmotionCacheContext=reactExports.createContext(typeof HTMLElement<"u"?createCache({key:"css"}):null),CacheProvider=EmotionCacheContext.Provider,withEmotionCache=function(eo){return reactExports.forwardRef(function(to,ro){var no=reactExports.useContext(EmotionCacheContext);return eo(to,no,ro)})},ThemeContext$2=reactExports.createContext({}),Global$1=withEmotionCache(function(Yi,eo){var to=Yi.styles,ro=serializeStyles([to
vendor: 4,639 bytes, line 57
57],void 0,reactExports.useContext(ThemeContext$2)),no=reactExports.useRef();return useInsertionEffectWithLayoutFallback(function(){var io=eo.key+"-global",oo=new eo.sheet.constructor({key:io,nonce:eo.sheet.nonce,container:eo.sheet.container,speedy:eo.sheet.isSpeedy}),ao=!1,so=document.querySelector('style[data-emotion="'+io+" "+ro.name+'"]');return eo.sheet.tags.length&&(oo.before=eo.sheet.tags[0]),so!==null&&(ao=!0,so.setAttribute("data-emotion",io),oo.hydrate([so])),no.current=[oo,ao],function(){oo.flush()}},[eo]),useInsertionEffectWithLayoutFallback(function(){var io=no.current,oo=io[0],ao=io[1];if(ao){io[1]=!1;return}if(ro.next!==void 0&&insertStyles(eo,ro.next,!0),oo.tags.length){var so=oo.tags[oo.tags.length-1].nextElementSibling;oo.before=so,oo.flush()}eo.insert("",ro,oo,!1)},[eo,ro.name]),null});function css$1(){for(var Yi=arguments.length,eo=new Array(Yi),to=0;to<Yi;to++)eo[to]=arguments[to];return serializeStyles(eo)}var keyframes=function(){var eo=css$1.apply(void 0,arguments),to="animation-"+eo.name;return{name:to,styles:"@keyframes "+to+"{"+eo.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},testOmitPropsOnStringTag=isPropValid,testOmitPropsOnComponent=function(eo){return eo!=="theme"},getDefaultShouldForwardProp=function(eo){return typeof eo=="string"&&eo.charCodeAt(0)>96?testOmitPropsOnStringTag:testOmitPropsOnComponent},composeShouldForwardProps=function(eo,to,ro){var no;if(to){var io=to.shouldForwardProp;no=eo.__emotion_forwardProp&&io?function(oo){return eo.__emotion_forwardProp(oo)&&io(oo)}:io}return typeof no!="function"&&ro&&(no=eo.__emotion_forwardProp),no},Insertion=function(eo){var to=eo.cache,ro=eo.serialized,no=eo.isStringTag;return registerStyles(to,ro,no),useInsertionEffectAlwaysWithSyncFallback(function(){return insertStyles(to,ro,no)}),null},createStyled$1=function Yi(eo,to){var ro=eo.__emotion_real===eo,no=ro&&eo.__emotion_base||eo,io,oo;to!==void 0&&(io=to.label,oo=to.target);var ao=composeShouldForwardProps(eo,to,ro),so=ao||getDefaultShouldForwardProp(no),lo=!so("as");return function(){var co=arguments,uo=ro&&eo.__emotion_styles!==void 0?eo.__emotion_styles.slice(0):[];if(io!==void 0&&uo.push("label:"+io+";"),co[0]==null||co[0].raw===void 0)uo.push.apply(uo,co);else{uo.push(co[0][0]);for(var fo=co.length,ho=1;ho<fo;ho++)uo.push(co[ho],co[0][ho])}var mo=withEmotionCache(function(vo,Co,bo){var wo=lo&&vo.as||no,yo="",Eo=[],xo=vo;if(vo.theme==null){xo={};for(var So in vo)xo[So]=vo[So];xo.theme=reactExports.useContext(ThemeContext$2)}typeof vo.className=="string"?yo=getRegisteredStyles(Co.registered,Eo,vo.className):vo.className!=null&&(yo=vo.className+" ");var To=serializeStyles(uo.concat(Eo),Co.registered,xo);yo+=Co.key+"-"+To.name,oo!==void 0&&(yo+=" "+oo);var Ro=lo&&ao===void 0?getDefaultShouldForwardProp(wo):so,Po={};for(var zo in vo)lo&&zo==="as"||Ro(zo)&&(Po[zo]=vo[zo]);return Po.className=yo,bo&&(Po.ref=bo),reactExports.createElement(reactExports.Fragment,null,reactExports.createElement(Insertion,{cache:Co,serialized:To,isStringTag:typeof wo=="string"}),reactExports.createElement(wo,Po))});return mo.displayName=io!==void 0?io:"Styled("+(typeof no=="string"?no:no.displayName||no.name||"Component")+")",mo.defaultProps=eo.defaultProps,mo.__emotion_real=mo,mo.__emotion_base=no,mo.__emotion_styles=uo,mo.__emotion_forwardProp=ao,Object.defineProperty(mo,"toString",{value:function(){return"."+oo}}),mo.withComponent=function(vo,Co){return Yi(vo,_extends$2c({},to,Co,{shouldForwardProp:composeShouldForwardProps(mo,Co,!0)})).apply(void 0,uo)},mo}},tags=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],newStyled=createStyled$1.bind();
57tags.forEach(function(Yi){newStyled[Yi]=newStyled(Yi)});var propTypes={exports:{}};/*
58object-assign
59(c) Sindre Sorhus
60@license MIT
61*/var getOwnPropertySymbols$1=Object.getOwnPropertySymbols,hasOwnProperty$c=Object.prototype.hasOwnProperty,propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(Yi){if(Yi==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(Yi)}function shouldUseNative(){try{if(!Object.assign)return!1;var Yi=new String("abc");if(Yi[5]="de",Object.getOwnPropertyNames(Yi)[0]==="5")return!1;for(var eo={},to=0;to<10;to++)eo["_"+String.fromCharCode(to)]=to;var ro=Object.getOwnPropertyNames(eo).map(function(io){return eo[io]});if(ro.join("")!=="0123456789")return!1;var no={};return"abcdefghijklmnopqrst".split("").forEach(function(io){no[io]=io}),Object.keys(Object.assign({},no)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var objectAssign=shouldUseNative()?Object.assign:function(Yi,eo){for(var to,ro=toObject(Yi),no,io=1;io<arguments.length;io++){to=Object(arguments[io]);for(var oo in to)hasOwnProperty$c.call(to,oo)&&(ro[oo]=to[oo]);if(getOwnPropertySymbols$1){no=getOwnPropertySymbols$1(to);for(var ao=0;ao<no.length;ao++)propIsEnumerable.call(to,no[ao])&&(ro[no[ao]]=to[no[ao]])}}return ro};const objectAssign$1=getDefaultExportFromCjs(objectAssign);var ReactPropTypesSecret_1,hasRequiredReactPropTypesSecret;function requireReactPropTypesSecret(){if(hasRequiredReactPropTypesSecret)return ReactPropTypesSecret_1;hasRequiredReactPropTypesSecret=1;var Yi="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ReactPropTypesSecret_1=Yi,ReactPropTypesSecret_1}var factoryWithThrowingShims,hasRequiredFactoryWithThrowingShims;function requireFactoryWithThrowingShims(){if(hasRequiredFactoryWithThrowingShims)return factoryWithThrowingShims;hasRequiredFactoryWithThrowingShims=1;var Yi=requireReactPropTypesSecret();function eo(){}function to(){}return to.resetWarningCache=eo,factoryWithThrowingShims=function(){function ro(oo,ao,so,lo,co,uo){if(uo!==Yi){var fo=new 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 fo.name="Invariant Violation",fo}}ro.isRequired=ro;function no(){return ro}var io={array:ro,bigint:ro,bool:ro,func:ro,number:ro,object:ro,string:ro,symbol:ro,any:ro,arrayOf:no,element:ro,elementType:ro,instanceOf:no,node:ro,objectOf:no,oneOf:no,oneOfType:no,shape:no,exact:no,checkPropTypes:to,resetWarningCache:eo};return io.PropTypes=io,io},factoryWithThrowingShims}propTypes.exports=requireFactoryWithThrowingShims()();var propTypesExports=propTypes.exports;const PropTypes=getDefaultExportFromCjs(propTypesExports);let cache$3;typeof document=="object"&&(cache$3=createCache({key:"css",prepend:!0}));function StyledEngineProvider(Yi){const{injectFirst:eo,children:to}=Yi;return eo&&cache$3?jsxRuntimeExports.jsx(CacheProvider,{value:cache$3,children:to}):to}function isEmpty$3(Yi){return Yi==null||Object.keys(Yi).length===0}function GlobalStyles$3(Yi){const{styles:eo,defaultTheme:to={}}=Yi,ro=typeof eo=="function"?no=>eo(isEmpty$3(no)?to:no):eo;return jsxRuntimeExports.jsx(Global$1,{styles:ro})}function styled$2(Yi,eo){return newStyled(Yi,eo)}const internal_processStyles=(Yi,eo)=>{Array.isArray(Yi.__emotion_styles)&&(Yi.__emotion_styles=eo(Yi.__emotion_styles))};function isPlainObject$6(Yi){if(typeof Yi!="object"||Yi===null)return!1;const eo=Object.getPrototypeOf(Yi);return(eo===null||eo===Object.prototype||Object.getPrototypeOf(eo)===null)&&!(Symbol.toStringTag in Yi)&&!(Symbol.iterator in Yi)}function deepClone$1(Yi){if(!isPlainObject$6(Yi))return Yi;const eo={};return Object.keys(Yi).forEach(to=>{eo[to]=deepClone$1(Yi[to])}),eo}function deepmerge$1(Yi,eo,to={clone:!0}){const ro=to.clone?{...Yi}:Yi;return isPlainObject$6(Yi)&&isPlainObject$6(eo)&&Object.keys(eo).forEach(no=>{isPlainObject$6(eo[no])&&Object.prototype.hasOwnProperty.call(Yi,no
vendor: 4,350 bytes, line 61
61)&&isPlainObject$6(Yi[no])?ro[no]=deepmerge$1(Yi[no],eo[no],to):to.clone?ro[no]=isPlainObject$6(eo[no])?deepClone$1(eo[no]):eo[no]:ro[no]=eo[no]}),ro}const sortBreakpointsValues=Yi=>{const eo=Object.keys(Yi).map(to=>({key:to,val:Yi[to]}))||[];return eo.sort((to,ro)=>to.val-ro.val),eo.reduce((to,ro)=>({...to,[ro.key]:ro.val}),{})};function createBreakpoints(Yi){const{values:eo={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:to="px",step:ro=5,...no}=Yi,io=sortBreakpointsValues(eo),oo=Object.keys(io);function ao(fo){return`@media (min-width:${typeof eo[fo]=="number"?eo[fo]:fo}${to})`}function so(fo){return`@media (max-width:${(typeof eo[fo]=="number"?eo[fo]:fo)-ro/100}${to})`}function lo(fo,ho){const mo=oo.indexOf(ho);return`@media (min-width:${typeof eo[fo]=="number"?eo[fo]:fo}${to}) and (max-width:${(mo!==-1&&typeof eo[oo[mo]]=="number"?eo[oo[mo]]:ho)-ro/100}${to})`}function co(fo){return oo.indexOf(fo)+1<oo.length?lo(fo,oo[oo.indexOf(fo)+1]):ao(fo)}function uo(fo){const ho=oo.indexOf(fo);return ho===0?ao(oo[1]):ho===oo.length-1?so(oo[ho]):lo(fo,oo[oo.indexOf(fo)+1]).replace("@media","@media not all and")}return{keys:oo,values:io,up:ao,down:so,between:lo,only:co,not:uo,unit:to,...no}}function sortContainerQueries(Yi,eo){if(!Yi.containerQueries)return eo;const to=Object.keys(eo).filter(ro=>ro.startsWith("@container")).sort((ro,no)=>{var oo,ao;const io=/min-width:\s*([0-9.]+)/;return+(((oo=ro.match(io))==null?void 0:oo[1])||0)-+(((ao=no.match(io))==null?void 0:ao[1])||0)});return to.length?to.reduce((ro,no)=>{const io=eo[no];return delete ro[no],ro[no]=io,ro},{...eo}):eo}function isCqShorthand(Yi,eo){return eo==="@"||eo.startsWith("@")&&(Yi.some(to=>eo.startsWith(`@${to}`))||!!eo.match(/^@\d/))}function getContainerQuery(Yi,eo){const to=eo.match(/^@([^/]+)?\/?(.+)?$/);if(!to)return null;const[,ro,no]=to,io=Number.isNaN(+ro)?ro||0:+ro;return Yi.containerQueries(no).up(io)}function cssContainerQueries(Yi){const eo=(io,oo)=>io.replace("@media",oo?`@container ${oo}`:"@container");function to(io,oo){io.up=(...ao)=>eo(Yi.breakpoints.up(...ao),oo),io.down=(...ao)=>eo(Yi.breakpoints.down(...ao),oo),io.between=(...ao)=>eo(Yi.breakpoints.between(...ao),oo),io.only=(...ao)=>eo(Yi.breakpoints.only(...ao),oo),io.not=(...ao)=>{const so=eo(Yi.breakpoints.not(...ao),oo);return so.includes("not all and")?so.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):so}}const ro={},no=io=>(to(ro,io),ro);return to(no),{...Yi,containerQueries:no}}const shape={borderRadius:4};function merge(Yi,eo){return eo?deepmerge$1(Yi,eo,{clone:!1}):Yi}const values$1={xs:0,sm:600,md:900,lg:1200,xl:1536},defaultBreakpoints={keys:["xs","sm","md","lg","xl"],up:Yi=>`@media (min-width:${values$1[Yi]}px)`},defaultContainerQueries={containerQueries:Yi=>({up:eo=>{let to=typeof eo=="number"?eo:values$1[eo]||eo;return typeof to=="number"&&(to=`${to}px`),Yi?`@container ${Yi} (min-width:${to})`:`@container (min-width:${to})`}})};function handleBreakpoints(Yi,eo,to){const ro=Yi.theme||{};if(Array.isArray(eo)){const io=ro.breakpoints||defaultBreakpoints;return eo.reduce((oo,ao,so)=>(oo[io.up(io.keys[so])]=to(eo[so]),oo),{})}if(typeof eo=="object"){const io=ro.breakpoints||defaultBreakpoints;return Object.keys(eo).reduce((oo,ao)=>{if(isCqShorthand(io.keys,ao)){const so=getContainerQuery(ro.containerQueries?ro:defaultContainerQueries,ao);so&&(oo[so]=to(eo[ao],ao))}else if(Object.keys(io.values||values$1).includes(ao)){const so=io.up(ao);oo[so]=to(eo[ao],ao)}else{const so=ao;oo[so]=eo[so]}return oo},{})}return to(eo)}function createEmptyBreakpointObject(Yi={}){var to;return((to=Yi.keys)==null?void 0:to.reduce((ro,no)=>{const io=Yi.up(no);return ro[io]={},ro},{}))||{}}function removeUnusedBreakpoints(Yi,eo){return Yi.reduce((to,ro)=>{const no=to[ro];return(!no||Object.keys(no).length===0)&&delete to[ro],to},eo)}function mergeBreakpointsInOrder(Yi,...eo){const to=createEmptyBreakpointObject(Yi),ro=[to,...eo].reduce((no,io)=>deepmerge$1(no,io),{});return removeUnusedBreakpoints(Object.keys(to),ro)}function computeBreakpointsBase(Yi,eo){if(typeof Yi!="object")return{};const to={},ro=Object.keys(eo);return Array.isArray(Yi)?ro.forEach((no,io)=>{io<Yi.length&&(to[no]=!0)}):ro.forEach(no=>{Yi[no]!=null&&(to[no]=!0)}),to}function resolveBreakpointValues({values:Yi,breakpoints:eo,base:to}
61){const ro=to||computeBreakpointsBase(Yi,eo),no=Object.keys(ro);if(no.length===0)return Yi;let io;return no.reduce((oo,ao,so)=>(Array.isArray(Yi)?(oo[ao]=Yi[so]!=null?Yi[so]:Yi[io],io=so):typeof Yi=="object"?(oo[ao]=Yi[ao]!=null?Yi[ao]:Yi[io],io=ao):oo[ao]=Yi,oo),{})}function capitalize$3(Yi){if(typeof Yi!="string")throw new Error(formatMuiErrorMessage$1(7));return Yi.charAt(0).toUpperCase()+Yi.slice(1)}function getPath$3(Yi,eo,to=!0){if(!eo||typeof eo!="string")return null;if(Yi&&Yi.vars&&to){const ro=`vars.${eo}`.split(".").reduce((no,io)=>no&&no[io]?no[io]:null,Yi);if(ro!=null)return ro}return eo.split(".").reduce((ro,no)=>ro&&ro[no]!=null?ro[no]:null,Yi)}function getStyleValue$1(Yi,eo,to,ro=to){let no;return typeof Yi=="function"?no=Yi(to):Array.isArray(Yi)?no=Yi[to]||ro:no=getPath$3(Yi,to)||ro,eo&&(no=eo(no,ro,Yi)),no}function style$3(Yi){const{prop:eo,cssProperty:to=Yi.prop,themeKey:ro,transform:no}=Yi,io=oo=>{if(oo[eo]==null)return null;const ao=oo[eo],so=oo.theme,lo=getPath$3(so,ro)||{};return handleBreakpoints(oo,ao,uo=>{let fo=getStyleValue$1(lo,no,uo);return uo===fo&&typeof uo=="string"&&(fo=getStyleValue$1(lo,no,`${eo}${uo==="default"?"":capitalize$3(uo)}`,uo)),to===!1?fo:{[to]:fo}})};return io.propTypes={},io.filterProps=[eo],io}function memoize$5(Yi){const eo={};return to=>(eo[to]===void 0&&(eo[to]=Yi(to)),eo[to])}const properties={m:"margin",p:"padding"},directions={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},aliases={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},getCssProperties=memoize$5(Yi=>{if(Yi.length>2)if(aliases[Yi])Yi=aliases[Yi];else return[Yi];const[eo,to]=Yi.split(""),ro=properties[eo],no=directions[to]||"";return Array.isArray(no)?no.map(io=>ro+io):[ro+no]}),marginKeys=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],paddingKeys=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...marginKeys,...paddingKeys];function createUnaryUnit(Yi,eo,to,ro){const no=getPath$3(Yi,eo,!0)??to;return typeof no=="number"||typeof no=="string"?io=>typeof io=="string"?io:typeof no=="string"?`calc(${io} * ${no})`:no*io:Array.isArray(no)?io=>{if(typeof io=="string")return io;const oo=Math.abs(io),ao=no[oo];return io>=0?ao:typeof ao=="number"?-ao:`-${ao}`}:typeof no=="function"?no:()=>{}}function createUnarySpacing(Yi){return createUnaryUnit(Yi,"spacing",8)}function getValue$2(Yi,eo){return typeof eo=="string"||eo==null?eo:Yi(eo)}function getStyleFromPropValue(Yi,eo){return to=>Yi.reduce((ro,no)=>(ro[no]=getValue$2(eo,to),ro),{})}function resolveCssProperty(Yi,eo,to,ro){if(!eo.includes(to))return null;const no=getCssProperties(to),io=getStyleFromPropValue(no,ro),oo=Yi[to];return handleBreakpoints(Yi,oo,io)}function style$2(Yi,eo){const to=createUnarySpacing(Yi.theme);return Object.keys(Yi).map(ro=>resolveCssProperty(Yi,eo,ro,to)).reduce(merge,{})}function margin(Yi){return style$2(Yi,marginKeys)}margin.propTypes={};margin.filterProps=marginKeys;function padding(Yi){return style$2(Yi,paddingKeys)}padding.propTypes={};padding.filterProps=paddingKeys;function createSpacing(Yi=8,eo=createUnarySpacing({spacing:Yi})){if(Yi.mui)return Yi;const to=(...ro)=>(ro.length===0?[1]:ro).map(io=>{const oo=eo(io);return typeof oo=="number"?`${oo}px`:oo}).join(" ");return to.mui=!0,to}function compose$2(...Yi){const eo=Yi.reduce((ro,no)=>(no.filterProps.forEach(io=>{ro[io]=no}),ro),{}),to=ro=>Object.keys(ro).reduce((no,io)=>eo[io]?merge(no,eo[io](ro)):no,{});return to.propTypes={},to.filterProps=Yi.reduce((ro,no)=>ro.concat(no.filterProps),[]),to}function borderTransform(Yi){return typeof Yi!="number"?Yi:`${Yi}px solid`}function createBorderStyle(Yi,eo){return style$3({prop:Yi,themeKey:"borders",transform:eo})}const border=createBorderStyle("border",borderTransform),borderTop=createBorderStyle("borderTop",borderTransform),borderRight=createBorderStyle("borderRight",borderTransform),borderBottom=createBorderStyle("borderBottom",borderTransform),borderLeft=createBorderStyle("borderLeft",borderTransform),borderColor=createBorderStyle("borderColor"),borderTopColor$1=createBorderStyle("borderTopColor"),borderRightColor$1=createBorderStyle("borderRightColor"),borderBottomColor$1=createBorderStyle("borderBottomColor"),borderLeftColor$1=createBorderStyle("borderLeftColor"),outline=createBorderStyle("outline",borderTransform),outlineColor=createBorderStyle("outlineColor"),borderRadius=Yi=>{if(Yi.borderRadius!==void 0&&Yi.borderRadius!==null){const eo=createUnaryUnit(Yi.theme,"shape.borderRadius",4),to=ro=>({borderRadius:getValue$2(eo,ro)});return handleBreakpoints(Yi,Yi.borderRadius,to)}return null};borderRadius.propTypes={};borderRadius.filterProps=["borderRadius"];compose$2(border,borderTop,borderRight,borderBottom,borderLeft,borderColor,borderTopColor$1,borderRightColor$1,borderBottomColor$1,borderLeftColor$1,borderRadius,outline,outlineColor);const gap=Yi=>{if(Yi.gap!==void 0&&Yi.gap!==null){const eo=createUnaryUnit(Yi.theme,"spacing",8),to=ro=>({gap:getValue$2(eo,ro)});return handleBreakpoints(Yi,Yi.gap,to)}return null};gap.propTypes={};gap.filterProps=["gap"];const columnGap=Yi=>{if(Yi.columnGap!==void 0&&Yi.columnGap!==null){const eo=createUnaryUnit(Yi.theme,"spacing",8),to=ro=>({columnGap:getValue$2(eo,ro)});return handleBreakpoints(Yi,Yi.columnGap,to)}return null};columnGap.propTypes={};columnGap.filterProps=["columnGap"];const rowGap=Yi=>{if(Yi.rowGap!==void 0&&Yi.rowGap!==null){const eo=createUnaryUnit(Yi.theme,"spacing",8),to=ro=>({rowGap:getValue$2(eo,ro)});return handleBreakpoints(Yi,Yi.rowGap,to)}return null};rowGap.propTypes={};rowGap.filterProps=["rowGap"];const gridColumn=style$3({prop:"gridColumn"}),gridRow=style$3({prop:"gridRow"}),gridAutoFlow=style$3({prop:"gridAutoFlow"}),gridAutoColumns=style$3({prop:"gridAutoColumns"}),gridAutoRows=style$3({prop:"gridAutoRows"}),gridTemplateColumns=style$3({prop:"gridTemplateColumns"}),gridTemplateRows=style$3({prop:"gridTemplateRows"}),gridTemplateAreas=style$3({prop:"gridTemplateAreas"}),gridArea=style$3({prop:"gridArea"});compose$2(gap,columnGap,rowGap,gridColumn,gridRow,gridAutoFlow,gridAutoColumns,gridAutoRows,gridTemplateColumns,gridTemplateRows,gridTemplateAreas,gridArea);function paletteTransform(Yi,eo){return eo==="grey"?eo:Yi}const color$3=style$3({prop:"color",themeKey:"palette",transform:paletteTransform}),bgcolor=style$3({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:paletteTransform}),backgroundColor$1=style$3({prop:"backgroundColor",themeKey:"palette",transform:paletteTransform});compose$2(color$3,bgcolor,backgroundColor$1);function sizingTransform(Yi){return Yi<=1&&Yi!==0?`${Yi*100}
61%`:Yi}const width=style$3({prop:"width",transform:sizingTransform}),maxWidth=Yi=>{if(Yi.maxWidth!==void 0&&Yi.maxWidth!==null){const eo=to=>{var no,io,oo,ao,so;const ro=((oo=(io=(no=Yi.theme)==null?void 0:no.breakpoints)==null?void 0:io.values)==null?void 0:oo[to])||values$1[to];return ro?((so=(ao=Yi.theme)==null?void 0:ao.breakpoints)==null?void 0:so.unit)!=="px"?{maxWidth:`${ro}${Yi.theme.breakpoints.unit}`}:{maxWidth:ro}:{maxWidth:sizingTransform(to)}};return handleBreakpoints(Yi,Yi.maxWidth,eo)}return null};maxWidth.filterProps=["maxWidth"];const minWidth=style$3({prop:"minWidth",transform:sizingTransform}),height=style$3({prop:"height",transform:sizingTransform}),maxHeight=style$3({prop:"maxHeight",transform:sizingTransform}),minHeight=style$3({prop:"minHeight",transform:sizingTransform});style$3({prop:"size",cssProperty:"width",transform:sizingTransform});style$3({prop:"size",cssProperty:"height",transform:sizingTransform});const boxSizing=style$3({prop:"boxSizing"});compose$2(width,maxWidth,minWidth,height,maxHeight,minHeight,boxSizing);const defaultSxConfig={border:{themeKey:"borders",transform:borderTransform},borderTop:{themeKey:"borders",transform:borderTransform},borderRight:{themeKey:"borders",transform:borderTransform},borderBottom:{themeKey:"borders",transform:borderTransform},borderLeft:{themeKey:"borders",transform:borderTransform},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:borderTransform},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:borderRadius},color:{themeKey:"palette",transform:paletteTransform},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:paletteTransform},backgroundColor:{themeKey:"palette",transform:paletteTransform},p:{style:padding},pt:{style:padding},pr:{style:padding},pb:{style:padding},pl:{style:padding},px:{style:padding},py:{style:padding},padding:{style:padding},paddingTop:{style:padding},paddingRight:{style:padding},paddingBottom:{style:padding},paddingLeft:{style:padding},paddingX:{style:padding},paddingY:{style:padding},paddingInline:{style:padding},paddingInlineStart:{style:padding},paddingInlineEnd:{style:padding},paddingBlock:{style:padding},paddingBlockStart:{style:padding},paddingBlockEnd:{style:padding},m:{style:margin},mt:{style:margin},mr:{style:margin},mb:{style:margin},ml:{style:margin},mx:{style:margin},my:{style:margin},margin:{style:margin},marginTop:{style:margin},marginRight:{style:margin},marginBottom:{style:margin},marginLeft:{style:margin},marginX:{style:margin},marginY:{style:margin},marginInline:{style:margin},marginInlineStart:{style:margin},marginInlineEnd:{style:margin},marginBlock:{style:margin},marginBlockStart:{style:margin},marginBlockEnd:{style:margin},displayPrint:{cssProperty:!1,transform:Yi=>({"@media print":{display:Yi}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:gap},rowGap:{style:rowGap},columnGap:{style:columnGap},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:sizingTransform},maxWidth:{style:maxWidth},minWidth:{transform:sizingTransform},height:{transform:sizingTransform},maxHeight:{transform:sizingTransform},minHeight:{transform:sizingTransform},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function objectsHaveSameKeys(...Yi){const eo=Yi.reduce((ro,no)=>ro.concat(Object.keys(no)),[]),to=new Set(eo);return Yi.every(ro=>to.size===Object.keys(ro).length)}function callIfFn(Yi,eo){return typeof Yi=="function"?Yi(eo):Yi}function unstable_createStyleFunctionSx(){function Yi(to,ro,no,io){const oo={[to]:ro,theme:no},ao=io[to];if(!ao)return{[to]:ro};const{cssProperty:so=to,themeKey:lo,transform:co,style:uo}=ao;if(ro==null)return null;if(lo==="typography"&&ro==="inherit")return{[to]:ro};const fo=getPath$3(no,lo)||{};return uo?uo(oo):handleBreakpoints(oo,ro,mo=>{let vo=getStyleValue$1(fo,co,mo);
61return mo===vo&&typeof mo=="string"&&(vo=getStyleValue$1(fo,co,`${to}${mo==="default"?"":capitalize$3(mo)}`,mo)),so===!1?vo:{[so]:vo}})}function eo(to){const{sx:ro,theme:no={}}=to||{};if(!ro)return null;const io=no.unstable_sxConfig??defaultSxConfig;function oo(ao){let so=ao;if(typeof ao=="function")so=ao(no);else if(typeof ao!="object")return ao;if(!so)return null;const lo=createEmptyBreakpointObject(no.breakpoints),co=Object.keys(lo);let uo=lo;return Object.keys(so).forEach(fo=>{const ho=callIfFn(so[fo],no);if(ho!=null)if(typeof ho=="object")if(io[fo])uo=merge(uo,Yi(fo,ho,no,io));else{const mo=handleBreakpoints({theme:no},ho,vo=>({[fo]:vo}));objectsHaveSameKeys(mo,ho)?uo[fo]=eo({sx:ho,theme:no}):uo=merge(uo,mo)}else uo=merge(uo,Yi(fo,ho,no,io))}),sortContainerQueries(no,removeUnusedBreakpoints(co,uo))}return Array.isArray(ro)?ro.map(oo):oo(ro)}return eo}const styleFunctionSx=unstable_createStyleFunctionSx();styleFunctionSx.filterProps=["sx"];function applyStyles$2(Yi,eo){var ro;const to=this;if(to.vars){if(!((ro=to.colorSchemes)!=null&&ro[Yi])||typeof to.getColorSchemeSelector!="function")return{};let no=to.getColorSchemeSelector(Yi);return(no.includes("data-")||no.includes("."))&&(no=`*:where(${no.replace(/\s*&$/,"")}) &`),{[no]:eo}}return to.palette.mode===Yi?eo:{}}function createTheme$1(Yi={},...eo){const{breakpoints:to={},palette:ro={},spacing:no,shape:io={},...oo}=Yi,ao=createBreakpoints(to),so=createSpacing(no);let lo=deepmerge$1({breakpoints:ao,direction:"ltr",components:{},palette:{mode:"light",...ro},spacing:so,shape:{...shape,...io}},oo);return lo=cssContainerQueries(lo),lo.applyStyles=applyStyles$2,lo=eo.reduce((co,uo)=>deepmerge$1(co,uo),lo),lo.unstable_sxConfig={...defaultSxConfig,...oo==null?void 0:oo.unstable_sxConfig},lo.unstable_sx=function(uo){return styleFunctionSx({sx:uo,theme:this})},lo}function isObjectEmpty$1(Yi){return Object.keys(Yi).length===0}function useTheme$5(Yi=null){const eo=reactExports.useContext(ThemeContext$2);return!eo||isObjectEmpty$1(eo)?Yi:eo}const systemDefaultTheme$1=createTheme$1();function useTheme$4(Yi=systemDefaultTheme$1){return useTheme$5(Yi)}function GlobalStyles$2({styles:Yi,themeId:eo,defaultTheme:to={}}){const ro=useTheme$4(to),no=typeof Yi=="function"?Yi(eo&&ro[eo]||ro):Yi;return jsxRuntimeExports.jsx(GlobalStyles$3,{styles:no})}const splitProps=Yi=>{var ro;const eo={systemProps:{},otherProps:{}},to=((ro=Yi==null?void 0:Yi.theme)==null?void 0:ro.unstable_sxConfig)??defaultSxConfig;return Object.keys(Yi).forEach(no=>{to[no]?eo.systemProps[no]=Yi[no]:eo.otherProps[no]=Yi[no]}),eo};function extendSxProp$1(Yi){const{sx:eo,...to}=Yi,{systemProps:ro,otherProps:no}=splitProps(to);let io;return Array.isArray(eo)?io=[ro,...eo]:typeof eo=="function"?io=(...oo)=>{const ao=eo(...oo);return isPlainObject$6(ao)?{...ro,...ao}:ro}:io={...ro,...eo},{...no,sx:io}}const defaultGenerator=Yi=>Yi,createClassNameGenerator=()=>{let Yi=defaultGenerator;return{configure(eo){Yi=eo},generate(eo){return Yi(eo)},reset(){Yi=defaultGenerator}}},ClassNameGenerator=createClassNameGenerator();function r$2(Yi){var eo,to,ro="";if(typeof Yi=="string"||typeof Yi=="number")ro+=Yi;else if(typeof Yi=="object")if(Array.isArray(Yi)){var no=Yi.length;for(eo=0;eo<no;eo++)Yi[eo]&&(to=r$2(Yi[eo]))&&(ro&&(ro+=" "),ro+=to)}else for(to in Yi)Yi[to]&&(ro&&(ro+=" "),ro+=to);return ro}function clsx(){for(var Yi,eo,to=0,ro="",no=arguments.length;to<no;to++)(Yi=arguments[to])&&(eo=r$2(Yi))&&(ro&&(ro+=" "),ro+=eo);return ro}function createBox(Yi={}){const{themeId:eo,defaultTheme:to,defaultClassName:ro="MuiBox-root",generateClassName:no}=Yi,io=styled$2("div",{shouldForwardProp:ao=>ao!=="theme"&&ao!=="sx"&&ao!=="as"})(styleFunctionSx);return reactExports.forwardRef(function(so,lo){const co=useTheme$4(to),{className:uo,component:fo="div",...ho}=extendSxProp$1(so);return jsxRuntimeExports.jsx(io,{as:fo,ref:lo,className:clsx(uo,no?no(ro):ro),theme:eo&&co[eo]||co,...ho})})}const globalStateClasses={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function generateUtilityClass(Yi,eo,to="Mui"){const ro=globalStateClasses[eo];return ro?`${to}-${ro}`:`${ClassNameGenerator.generate(Yi)}-${eo}`}function generateUtilityClasses(Yi,eo,to="Mui"){const ro={};return eo.forEach(no=>{ro[no]=generateUtilityClass(Yi,no,to)}),ro}var reactIs={exports:{}},reactIs_production_min={};/**
62 * @license React
63 * react-is.production.min.js
64 *
65 * Copyright (c) Facebook, Inc. and its affiliates.
66 *
67 * This source code is licensed under the MIT license found in the
68 * LICENSE file in the root directory of this source tree.
69 */var hasRequiredReactIs_production_min;function requireReactIs_production_min(){if(hasRequiredReactIs_production_min)return reactIs_production_min;hasRequiredReactIs_production_min=1;var Yi=Symbol.for("react.element"),eo=Symbol.for("react.portal"),to=Symbol.for("react.fragment"),ro=Symbol.for("react.strict_mode"),no=Symbol.for("react.profiler"),io=Symbol.for("react.provider"),oo=Symbol.for("react.context"),ao=Symbol.for("react.server_context"),so=Symbol.for("react.forward_ref"),lo=Symbol.for("react.suspense"),co=Symbol.for("react.suspense_list"),uo=Symbol.for("react.memo"),fo=Symbol.for("react.lazy"),ho=Symbol.for("react.offscreen"),mo;mo=Symbol.for("react.module.reference");function vo(Co){if(typeof Co=="object"&&Co!==null){var bo=Co.$$typeof;switch(bo){case Yi:switch(Co=Co.type,Co){case to:case no:case ro:case lo:case co:return Co;default:switch(Co=Co&&Co.$$typeof,Co){case ao:case oo:case so:case fo:case uo:case io:return Co;default:return bo}}case eo:return bo}}}return reactIs_production_min.ContextConsumer=oo,reactIs_production_min.ContextProvider=io,reactIs_production_min.Element=Yi,reactIs_production_min.ForwardRef=so,reactIs_production_min.Fragment=to,reactIs_production_min.Lazy=fo,reactIs_production_min.Memo=uo,reactIs_production_min.Portal=eo,reactIs_production_min.Profiler=no,reactIs_production_min.StrictMode=ro,reactIs_production_min.Suspense=lo,reactIs_production_min.SuspenseList=co,reactIs_production_min.isAsyncMode=function(){return!1},reactIs_production_min.isConcurrentMode=function(){return!1},reactIs_production_min.isContextConsumer=function(Co){return vo(Co)===oo},reactIs_production_min.isContextProvider=function(Co){return vo(Co)===io},reactIs_production_min.isElement=function(Co){return typeof Co=="object"&&Co!==null&&Co.$$typeof===Yi},reactIs_production_min.isForwardRef=function(Co){return vo(Co)===so},reactIs_production_min.isFragment=function(Co){return vo(Co)===to},reactIs_production_min.isLazy=function(Co){return vo(Co)===fo},reactIs_production_min.isMemo=function(Co){return vo(Co)===uo},reactIs_production_min.isPortal=function(Co){return vo(Co)===eo},reactIs_production_min.isProfiler=function(Co){return vo(Co)===no},reactIs_production_min.isStrictMode=function(Co){return vo(Co)===ro},reactIs_production_min.isSuspense=function(Co){return vo(Co)===lo},reactIs_production_min.isSuspenseList=function(Co){return vo(Co)===co},reactIs_production_min.isValidElementType=function(Co){return typeof Co=="string"||typeof Co=="function"||Co===to||Co===no||Co===ro||Co===lo||Co===co||Co===ho||typeof Co=="object"&&Co!==null&&(Co.$$typeof===fo||Co.$$typeof===uo||Co.$$typeof===io||Co.$$typeof===oo||Co.$$typeof===so||Co.$$typeof===mo||Co.getModuleId!==void 0)},reactIs_production_min.typeOf=vo,reactIs_production_min}reactIs.exports=requireReactIs_production_min();var reactIsExports=reactIs.exports;const systemDefaultTheme=createTheme$1();function shouldForwardProp(Yi){return Yi!=="ownerState"&&Yi!=="theme"&&Yi!=="s
69x"&&Yi!=="as"}function resolveTheme(Yi,eo,to){return isObjectEmpty(eo)?to:eo[Yi]||eo}const PROCESSED_PROPS=Symbol("mui.processed_props");function attachTheme(Yi,eo,to){if(PROCESSED_PROPS in Yi)return Yi[PROCESSED_PROPS];const ro={...Yi,theme:resolveTheme(eo,Yi.theme,to)};return Yi[PROCESSED_PROPS]=ro,ro[PROCESSED_PROPS]=ro,ro}function defaultOverridesResolver(Yi){return Yi?(eo,to)=>to[Yi]:null}function processStyle(Yi,eo){var ro;const to=typeof Yi=="function"?Yi(eo):Yi;if(Array.isArray(to))return to.flatMap(no=>processStyle(no,eo));if(Array.isArray(to==null?void 0:to.variants)){const{variants:no,...io}=to;let oo=io,ao;e:for(let so=0;so<no.length;so+=1){const lo=no[so];if(typeof lo.props=="function"){if(ao??(ao={...eo,...eo.ownerState,ownerState:eo.ownerState}),!lo.props(ao))continue}else for(const co in lo.props)if(eo[co]!==lo.props[co]&&((ro=eo.ownerState)==null?void 0:ro[co])!==lo.props[co])continue e;Array.isArray(oo)||(oo=[oo]),typeof lo.style=="function"?(ao??(ao={...eo,...eo.ownerState,ownerState:eo.ownerState}),oo.push(lo.style(ao))):oo.push(lo.style)}return oo}return to}function createStyled(Yi={}){const{themeId:eo,defaultTheme:to=systemDefaultTheme,rootShouldForwardProp:ro=shouldForwardProp,slotShouldForwardProp:no=shouldForwardProp}=Yi,io=ao=>styleFunctionSx(attachTheme(ao,eo,to));return io.__mui_systemSx=!0,(ao,so={})=>{internal_processStyles(ao,So=>So.filter(To=>!(To!=null&&To.__mui_systemSx)));const{name:lo,slot:co,skipVariantsResolver:uo,skipSx:fo,overridesResolver:ho=defaultOverridesResolver(lowercaseFirstLetter(co)),...mo}=so,vo=uo!==void 0?uo:co&&co!=="Root"&&co!=="root"||!1,Co=fo||!1;let bo,wo=shouldForwardProp;co==="Root"||co==="root"?wo=ro:co?wo=no:isStringTag(ao)&&(wo=void 0);const yo=styled$2(ao,{shouldForwardProp:wo,label:bo,...mo}),Eo=So=>typeof So=="function"&&So.__emotion_real!==So||isPlainObject$6(So)?To=>processStyle(So,attachTheme(To,eo,to)):So,xo=(So,...To)=>{let Ro=Eo(So);const Po=To?To.map(Eo):[];lo&&ho&&Po.push(Vo=>{const Lo=resolveTheme(eo,Vo.theme,to);if(!Lo.components||!Lo.components[lo]||!Lo.components[lo].styleOverrides)return null;const Uo=Lo.components[lo].styleOverrides,Do={},Oo=attachTheme(Vo,eo,to);for(const ko in Uo)Do[ko]=processStyle(Uo[ko],Oo);return ho(Vo,Do)}),lo&&!vo&&Po.push(Vo=>{var Do,Oo;const Lo=resolveTheme(eo,Vo.theme,to),Uo=(Oo=(Do=Lo==null?void 0:Lo.components)==null?void 0:Do[lo])==null?void 0:Oo.variants;return Uo?processStyle({variants:Uo},attachTheme(Vo,eo,to)):null}),Co||Po.push(io);const zo=Po.length-To.length;if(Array.isArray(So)&&zo>0){const Vo=new Array(zo).fill("");Ro=[...So,...Vo],Ro.raw=[...So.raw,...Vo]}const Ho=yo(Ro,...Po);return ao.muiName&&(Ho.muiName=ao.muiName),Ho};return yo.withConfig&&(xo.withConfig=yo.withConfig),xo}}function isObjectEmpty(Yi){for(const eo in Yi)return!1;return!0}function isStringTag(Yi){return typeof Yi=="string"&&Yi.charCodeAt(0)>96}function lowercaseFirstLetter(Yi){return Yi&&Yi.charAt(0).toLowerCase()+Yi.slice(1)}const styled$1=createStyled();function resolveProps(Yi,eo){const to={...eo};for(const ro in Yi)if(Object.prototype.hasOwnProperty.call(Yi,ro)){const no=ro;if(no==="components"||no==="slots")to[no]={...Yi[no],...to[no]};else if(no==="componentsProps"||no==="slotProps"){const io=Yi[no],oo=eo[no];if(!oo)to[no]=io||{};else if(!io)to[no]=oo;else{to[no]={...oo};for(const ao in io)if(Object.prototype.hasOwnProperty.call(io,ao)){const so=ao;to[no][so]=resolveProps(io[so],oo[so])}}}else to[no]===void 0&&(to[no]=Yi[no])}return to}function getThemeProps$2(Yi){const{theme:eo,name:to,props:ro}=Yi;return!eo||!eo.components||!eo.components[to]||!eo.components[to].defaultProps?ro:resolveProps(eo.components[to].defaultProps,ro)}function useThemeProps$1({props:Yi,name:eo,defaultTheme:to,themeId:ro}){let no=useTheme$4(to);return ro&&(no=no[ro]||no),getThemeProps$2({theme:no,name:eo,props:Yi})}const useEnhancedEffect=typeof window<"u"?reactExports.useLayoutEffect:reactExports.useEffect;function useMediaQueryOld(Yi,eo,to,ro,no){const[io,oo]=reactExports.useState(()=>no&&to?to(Yi).matches:ro?ro(Yi).matches:eo);return useEnhancedEffect(()=>{if(!to)return;const ao=to(Yi),so=()=>{oo(ao.matches)};return so(),ao.addEventListener("change",so),()=>{ao.removeEventListener("change",so)}},[Yi,to]),io}const maybeReactUseSyncExternalStore=reactExports.useSyncExternalStore;
69function useMediaQueryNew(Yi,eo,to,ro,no){const io=reactExports.useCallback(()=>eo,[eo]),oo=reactExports.useMemo(()=>{if(no&&to)return()=>to(Yi).matches;if(ro!==null){const{matches:co}=ro(Yi);return()=>co}return io},[io,Yi,ro,no,to]),[ao,so]=reactExports.useMemo(()=>{if(to===null)return[io,()=>()=>{}];const co=to(Yi);return[()=>co.matches,uo=>(co.addEventListener("change",uo),()=>{co.removeEventListener("change",uo)})]},[io,to,Yi]);return maybeReactUseSyncExternalStore(so,ao,oo)}function useMediaQuery(Yi,eo={}){const to=useTheme$5(),ro=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:no=!1,matchMedia:io=ro?window.matchMedia:null,ssrMatchMedia:oo=null,noSsr:ao=!1}=getThemeProps$2({name:"MuiUseMediaQuery",props:eo,theme:to});let so=typeof Yi=="function"?Yi(to):Yi;return so=so.replace(/^@media( ?)/m,""),(maybeReactUseSyncExternalStore!==void 0?useMediaQueryNew:useMediaQueryOld)(so,no,io,oo,ao)}function clamp(Yi,eo=Number.MIN_SAFE_INTEGER,to=Number.MAX_SAFE_INTEGER){return Math.max(eo,Math.min(Yi,to))}function clampWrapper(Yi,eo=0,to=1){return clamp(Yi,eo,to)}function hexToRgb(Yi){Yi=Yi.slice(1);const eo=new RegExp(`.{1,${Yi.length>=6?2:1}}`,"g");let to=Yi.match(eo);return to&&to[0].length===1&&(to=to.map(ro=>ro+ro)),to?`rgb${to.length===4?"a":""}(${to.map((ro,no)=>no<3?parseInt(ro,16):Math.round(parseInt(ro,16)/255*1e3)/1e3).join(", ")})`:""}
69function decomposeColor(Yi){if(Yi.type)return Yi;if(Yi.charAt(0)==="#")return decomposeColor(hexToRgb(Yi));const eo=Yi.indexOf("("),to=Yi.substring(0,eo);if(!["rgb","rgba","hsl","hsla","color"].includes(to))throw new Error(formatMuiErrorMessage$1(9,Yi));let ro=Yi.substring(eo+1,Yi.length-1),no;if(to==="color"){if(ro=ro.split(" "),no=ro.shift(),ro.length===4&&ro[3].charAt(0)==="/"&&(ro[3]=ro[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(no))throw new Error(formatMuiErrorMessage$1(10,no))}else ro=ro.split(",");return ro=ro.map(io=>parseFloat(io)),{type:to,values:ro,colorSpace:no}}const colorChannel=Yi=>{const eo=decomposeColor(Yi);return eo.values.slice(0,3).map((to,ro)=>eo.type.includes("hsl")&&ro!==0?`${to}%`:to).join(" ")},private_safeColorChannel=(Yi,eo)=>{try{return colorChannel(Yi)}catch{return Yi}};function recomposeColor(Yi){const{type:eo,colorSpace:to}=Yi;let{values:ro}=Yi;return eo.includes("rgb")?ro=ro.map((no,io)=>io<3?parseInt(no,10):no):eo.includes("hsl")&&(ro[1]=`${ro[1]}%`,ro[2]=`${ro[2]}%`),eo.includes("color")?ro=`${to} ${ro.join(" ")}`:ro=`${ro.join(", ")}`,`${eo}(${ro})`}function hslToRgb(Yi){Yi=decomposeColor(Yi);const{values:eo}=Yi,to=eo[0],ro=eo[1]/100,no=eo[2]/100,io=ro*Math.min(no,1-no),oo=(lo,co=(lo+to/30)%12)=>no-io*Math.max(Math.min(co-3,9-co,1),-1);let ao="rgb";const so=[Math.round(oo(0)*255),Math.round(oo(8)*255),Math.round(oo(4)*255)];return Yi.type==="hsla"&&(ao+="a",so.push(eo[3])),recomposeColor({type:ao,values:so})}function getLuminance(Yi){Yi=decomposeColor(Yi);let eo=Yi.type==="hsl"||Yi.type==="hsla"?decomposeColor(hslToRgb(Yi)).values:Yi.values;return eo=eo.map(to=>(Yi.type!=="color"&&(to/=255),to<=.03928?to/12.92:((to+.055)/1.055)**2.4)),Number((.2126*eo[0]+.7152*eo[1]+.0722*eo[2]).toFixed(3))}function getContrastRatio(Yi,eo){const to=getLuminance(Yi),ro=getLuminance(eo);return(Math.max(to,ro)+.05)/(Math.min(to,ro)+.05)}function alpha$1(Yi,eo){return Yi=decomposeColor(Yi),eo=clampWrapper(eo),(Yi.type==="rgb"||Yi.type==="hsl")&&(Yi.type+="a"),Yi.type==="color"?Yi.values[3]=`/${eo}`:Yi.values[3]=eo,recomposeColor(Yi)}function private_safeAlpha(Yi,eo,to){try{return alpha$1(Yi,eo)}catch{return Yi}}function darken(Yi,eo){if(Yi=decomposeColor(Yi),eo=clampWrapper(eo),Yi.type.includes("hsl"))Yi.values[2]*=1-eo;else if(Yi.type.includes("rgb")||Yi.type.includes("color"))for(let to=0;to<3;to+=1)Yi.values[to]*=1-eo;return recomposeColor(Yi)}function private_safeDarken(Yi,eo,to){try{return darken(Yi,eo)}catch{return Yi}}function lighten(Yi,eo){if(Yi=decomposeColor(Yi),eo=clampWrapper(eo),Yi.type.includes("hsl"))Yi.values[2]+=(100-Yi.values[2])*eo;else if(Yi.type.includes("rgb"))for(let to=0;to<3;to+=1)Yi.values[to]+=(255-Yi.values[to])*eo;else if(Yi.type.includes("color"))for(let to=0;to<3;to+=1)Yi.values[to]+=(1-Yi.values[to])*eo;return recomposeColor(Yi)}function private_safeLighten(Yi,eo,to){try{return lighten(Yi,eo)}catch{return Yi}}function emphasize(Yi,eo=.15){return getLuminance(Yi)>.5?darken(Yi,eo):lighten(Yi,eo)}function private_safeEmphasize(Yi,eo,to){try{return emphasize(Yi,eo)}catch{return Yi}}function createChainedFunction(...Yi){return Yi.reduce((eo,to)=>to==null?eo:function(...no){eo.apply(this,no),to.apply(this,no)},()=>{})}function debounce$4(Yi,eo=166){let to;function ro(...no){const io=()=>{Yi.apply(this,no)};clearTimeout(to),to=setTimeout(io,eo)}return ro.clear=()=>{clearTimeout(to)},ro}function deprecatedPropType(Yi,eo){return()=>null}function isMuiElement(Yi,eo){var to,ro,no;return reactExports.isValidElement(Yi)&&eo.indexOf(Yi.type.muiName??((no=(ro=(to=Yi.type)==null?void 0:to._payload)==null?void 0:ro.value)==null?void 0:no.muiName))!==-1}function ownerDocument(Yi){return Yi&&Yi.ownerDocument||document}function ownerWindow(Yi){return ownerDocument(Yi).defaultView||window}function requirePropFactory(Yi,eo){return()=>null}function setRef(Yi,eo){typeof Yi=="function"?Yi(eo):Yi&&(Yi.current=eo)}let globalId=0;function useGlobalId(Yi){const[eo,to]=reactExports.useState(Yi),ro=Yi||eo;return reactExports.useEffect(()=>{eo==null&&(globalId+=1,to(`mui-${globalId}`))},[eo]),ro}const maybeReactUseId=React$1G.useId;function useId(Yi){if(maybeReactUseId!==void 0){const eo=maybeReactUseId();return Yi??eo}return useGlobalId(Yi)}function unsupportedProp(Yi,eo,to,ro,no){return null}function useControlled({controlled:Yi,default:eo,name:to,state:ro="value"}){const{current:no}=reactExports.useRef(Yi!==void 0),[io,oo]=reactExports.useState(eo),ao=no?Yi:io,so=reactExports.useCallback(lo=>{no||oo(lo)},[]);return[ao,so]}function useEventCallback(Yi){const eo=reactExports.useRef(Yi);return useEnhancedEffect(()=>{eo.current=Yi}),reactExports.useRef((...to)=>(0,eo.current)(...to)).current}function useForkRef(...Yi){return reactExports.useMemo(()=>Yi.every(eo=>eo==null)?null:eo=>
69{Yi.forEach(to=>{setRef(to,eo)})},Yi)}const UNINITIALIZED={};function useLazyRef(Yi,eo){const to=reactExports.useRef(UNINITIALIZED);return to.current===UNINITIALIZED&&(to.current=Yi(eo)),to}const EMPTY=[];function useOnMount(Yi){reactExports.useEffect(Yi,EMPTY)}class Timeout{constructor(){As(this,"currentId",null);As(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});As(this,"disposeEffect",()=>this.clear)}static create(){return new Timeout}start(eo,to){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,to()},eo)}}function useTimeout(){const Yi=useLazyRef(Timeout.create).current;return useOnMount(Yi.disposeEffect),Yi}function isFocusVisible(Yi){try{return Yi.matches(":focus-visible")}catch{}return!1}function getScrollbarSize(Yi){const eo=Yi.documentElement.clientWidth;return Math.abs(window.innerWidth-eo)}const usePreviousProps=Yi=>{const eo=reactExports.useRef({});return reactExports.useEffect(()=>{eo.current=Yi}),eo.current},visuallyHidden={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function composeClasses(Yi,eo,to=void 0){const ro={};for(const no in Yi){const io=Yi[no];let oo="";for(let ao=0;ao<io.length;ao+=1){const so=io[ao];so&&(oo+=eo(so)+" ",to&&to[so]&&(oo+=to[so]+" "))}ro[no]=oo}return ro}function isHostComponent$1(Yi){return typeof Yi=="string"}function appendOwnerState(Yi,eo,to){return Yi===void 0||isHostComponent$1(Yi)?eo:{...eo,ownerState:{...eo.ownerState,...to}}}function extractEventHandlers(Yi,eo=[]){if(Yi===void 0)return{};const to={};return Object.keys(Yi).filter(ro=>ro.match(/^on[A-Z]/)&&typeof Yi[ro]=="function"&&!eo.includes(ro)).forEach(ro=>{to[ro]=Yi[ro]}),to}function omitEventHandlers(Yi){if(Yi===void 0)return{};const eo={};return Object.keys(Yi).filter(to=>!(to.match(/^on[A-Z]/)&&typeof Yi[to]=="function")).forEach(to=>{eo[to]=Yi[to]}),eo}function mergeSlotProps(Yi){const{getSlotProps:eo,additionalProps:to,externalSlotProps:ro,externalForwardedProps:no,className:io}=Yi;if(!eo){const ho=clsx(to==null?void 0:to.className,io,no==null?void 0:no.className,ro==null?void 0:ro.className),mo={...to==null?void 0:to.style,...no==null?void 0:no.style,...ro==null?void 0:ro.style},vo={...to,...no,...ro};return ho.length>0&&(vo.className=ho),Object.keys(mo).length>0&&(vo.style=mo),{props:vo,internalRef:void 0}}const oo=extractEventHandlers({...no,...ro}),ao=omitEventHandlers(ro),so=omitEventHandlers(no),lo=eo(oo),co=clsx(lo==null?void 0:lo.className,to==null?void 0:to.className,io,no==null?void 0:no.className,ro==null?void 0:ro.className),uo={...lo==null?void 0:lo.style,...to==null?void 0:to.style,...no==null?void 0:no.style,...ro==null?void 0:ro.style},fo={...lo,...to,...so,...ao};return co.length>0&&(fo.className=co),Object.keys(uo).length>0&&(fo.style=uo),{props:fo,internalRef:lo.ref}}function resolveComponentProps(Yi,eo,to){return typeof Yi=="function"?Yi(eo,to):Yi}function useSlotProps(Yi){var uo;const{elementType:eo,externalSlotProps:to,ownerState:ro,skipResolvingSlotProps:no=!1,...io}=Yi,oo=no?{}:resolveComponentProps(to,ro),{props:ao,internalRef:so}=mergeSlotProps({...io,externalSlotProps:oo}),lo=useForkRef(so,oo==null?void 0:oo.ref,(uo=Yi.additionalProps)==null?void 0:uo.ref);return appendOwnerState(eo,{...ao,ref:lo},ro)}function getReactNodeRef(Yi){return!Yi||!reactExports.isValidElement(Yi)?null:Yi.props.propertyIsEnumerable("ref")?Yi.props.ref:Yi.ref}const ThemeContext$1=reactExports.createContext(null);function useTheme$3(){return reactExports.useContext(ThemeContext$1)}const hasSymbol$1=typeof Symbol=="function"&&Symbol.for,nested$1=hasSymbol$1?Symbol.for("mui.nested"):"__THEME_NESTED__";function mergeOuterLocalTheme(Yi,eo){return typeof eo=="function"?eo(Yi):{...Yi,...eo}}function ThemeProvider$2(Yi){const{children:eo,theme:to}=Yi,ro=useTheme$3(),no=reactExports.useMemo(()=>{const io=ro===null?{...to}:mergeOuterLocalTheme(ro,to);return io!=null&&(io[nested$1]=ro!==null),io},[to,ro]);return jsxRuntimeExports.jsx(ThemeContext$1.Provider,{value:no,children:eo})}const RtlContext=reactExports.createContext();function RtlProvider({value:Yi,...eo}){return jsxRuntimeExports.jsx(RtlContext.Provider,{value:Yi??!0,...eo})}const useRtl=()=>reactExports.useContext(RtlContext)??!1,PropsContext=reactExports.createContext(void 0);function DefaultPropsProvider({value:Yi,children:eo}){return jsxRuntimeExports.jsx(PropsContext.Provider,{value:Yi,children:eo})}function getThemeProps$1(Yi){const{theme:eo,name:to,props:ro}=Yi;if(!eo||!eo.components||!eo.components[to])return ro;const no=eo.components[to];return no.defaultProps?resolveProps(no.defaultProps,ro):!no.styleOverrides&&!no.variants?resolveProps(no,ro):ro}function useDefaultProps$1({props:Yi,name:eo}){const to=reactExports.useContext(PropsContext);return getThemeProps$1({props:Yi,name:eo,theme:{components:to}})}const EMPTY_THEME={};function useThemeScoping(Yi,eo,to,ro=!1){return reactExports.useMemo(()=>{const no=Yi&&eo[Yi]||eo;if(typeof to=="function"){const io=to(no),oo=Yi?{...eo,[Yi]:io}:io;return ro?()=>oo:oo}return Yi?{...eo,[Yi]:to}:{...eo,...to}},[Yi,eo,to,ro])}function ThemeProvider$1(Yi){const{children:eo,theme:to,themeId:ro}=Yi,no=useTheme$5(EMPTY_THEME),io=useTheme$3()||EMPTY_THEME,oo=useThemeScoping(ro,no,to),ao=useThemeScoping(ro,io,to,!0),so=oo.direction==="rtl";return jsxRuntimeExports.jsx(ThemeProvider$2,{theme:ao,children:jsxRuntimeExports.jsx(ThemeContext$2.Provider,{value:oo,children:jsxRuntimeExports.jsx(RtlProvider,{value:so,children:jsxRuntimeExports.jsx(DefaultPropsProvider,{value:oo==null?void 0:oo.components,children:eo})})})})}const DEFAULT_MODE_STORAGE_KEY="mode",DEFAULT_COLOR_SCHEME_STORAGE_KEY="color-scheme",DEFAULT_ATTRIBUTE="data-color-scheme";function InitColorSchemeScript(Yi){const{defaultLightColorScheme:eo="light",defaultDar
69kColorScheme:to="dark",modeStorageKey:ro=DEFAULT_MODE_STORAGE_KEY,colorSchemeStorageKey:no=DEFAULT_COLOR_SCHEME_STORAGE_KEY,attribute:io=DEFAULT_ATTRIBUTE,colorSchemeNode:oo="document.documentElement",nonce:ao}=Yi||{};let so="",lo=io;if(io==="class"&&(lo=".%s"),io==="data"&&(lo="[data-%s]"),lo.startsWith(".")){const uo=lo.substring(1);so+=`${oo}.classList.remove('${uo}'.replace('%s', light), '${uo}'.replace('%s', dark));
70      ${oo}.classList.add('${uo}'.replace('%s', colorScheme));`}const co=lo.match(/\[([^\]]+)\]/);if(co){const[uo,fo]=co[1].split("=");fo||(so+=`${oo}.removeAttribute('${uo}'.replace('%s', light));
71      ${oo}.removeAttribute('${uo}'.replace('%s', dark));`),so+=`
72      ${oo}.setAttribute('${uo}'.replace('%s', colorScheme), ${fo?`${fo}.replace('%s', colorScheme)`:'""'});`}else so+=`${oo}.setAttribute('${lo}', colorScheme);`;return jsxRuntimeExports.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?ao:"",dangerouslySetInnerHTML:{__html:`(function() {
73try {
74  var mode = localStorage.getItem('${ro}') || 'system';
75  var colorScheme = '';
76  var dark = localStorage.getItem('${no}-dark') || '${to}';
77  var light = localStorage.getItem('${no}-light') || '${eo}';
78  if (mode === 'system') {
79    // handle system mode
80    var mql = window.matchMedia('(prefers-color-scheme: dark)');
81    if (mql.matches) {
82      colorScheme = dark
83    } else {
84      colorScheme = light
85    }
86  }
87  if (mode === 'light') {
88    colorScheme = light;
89  }
90  if (mode === 'dark') {
91    colorScheme = dark;
92  }
93  if (colorScheme) {
94    ${so}
95  }
96} catch(e){}})();`}},"mui-color-scheme-init")}function getSystemMode(Yi){if(typeof window<"u"&&typeof window.matchMedia=="function"&&Yi==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function processState(Yi,eo){if(Yi.mode==="light"||Yi.mode==="system"&&Yi.systemMode==="light")return eo("light");if(Yi.mode==="dark"||Yi.mode==="system"&&Yi.systemMode==="dark")return eo("dark")}function getColorScheme(Yi){return processState(Yi,eo=>{if(eo==="light")return Yi.lightColorScheme;if(eo==="dark")return Yi.darkColorScheme})}function initializeValue(Yi,eo){if(typeof window>"u")return;let to;try{to=localStorage.getItem(Yi)||void 0,to||localStorage.setItem(Yi,eo)}catch{}return to||eo}function useCurrentColorScheme(Yi){const{defaultMode:eo="light",defaultLightColorScheme:to,defaultDarkColorScheme:ro,supportedColorSchemes:no=[],modeStorageKey:io=DEFAULT_MODE_STORAGE_KEY,colorSchemeStorageKey:oo=DEFAULT_COLOR_SCHEME_STORAGE_KEY,storageWindow:ao=typeof window>"u"?void 0:window}=Yi,so=no.join(","),lo=no.length>1,[co,uo]=reactExports.useState(()=>{const yo=initializeValue(io,eo),Eo=initializeValue(`${oo}-light`,to),xo=initializeValue(`${oo}-dark`,ro);return{mode:yo,systemMode:getSystemMode(yo),lightColorScheme:Eo,darkColorScheme:xo}}),[,fo]=reactExports.useState(!1),ho=reactExports.useRef(!1);reactExports.useEffect(()=>{lo&&fo(!0),ho.current=!0},[lo]);const mo=getColorScheme(co),vo=reactExports.useCallback(yo=>{uo(Eo=>{if(yo===Eo.mode)return Eo;const xo=yo??eo;try{localStorage.setItem(io,xo)}catch{}return{...Eo,mode:xo,systemMode:getSystemMode(xo)}})},[io,eo]),Co=reactExports.useCallback(yo=>{yo?typeof yo=="string"?yo&&!so.includes(yo)?console.error(`\`${yo}\` does not exist in \`theme.colorSchemes\`.`):uo(Eo=>{const xo={...Eo};return processState(Eo,So=>{try{localStorage.setItem(`${oo}-${So}`,yo)}catch{}So==="light"&&(xo.lightColorScheme=yo),So==="dark"&&(xo.darkColorScheme=yo)}),xo}):uo(Eo=>{const xo={...Eo},So=yo.light===null?to:yo.light,To=yo.dark===null?ro:yo.dark;if(So)if(!so.includes(So))console.error(`\`${So}\` does not exist in \`theme.colorSchemes\`.`);else{xo.lightColorScheme=So;try{localStorage.setItem(`${oo}-light`,So)}catch{}}if(To)if(!so.includes(To))console.error(`\`${To}\` does not exist in \`theme.colorSchemes\`.`);else{xo.darkColorScheme=To;try{localStorage.setItem(`${oo}-dark`,To)}catch{}}return xo}):uo(Eo=>{try{localStorage.setItem(`${oo}-light`,to),localStorage.setItem(`${oo}-dark`,ro)}catch{}return{...Eo,lightColorScheme:to,darkColorScheme:ro}})},[so,oo,to,ro]),bo=reactExports.useCallback(yo=>{co.mode==="system"&&uo(Eo=>
96{const xo=yo!=null&&yo.matches?"dark":"light";return Eo.systemMode===xo?Eo:{...Eo,systemMode:xo}})},[co.mode]),wo=reactExports.useRef(bo);return wo.current=bo,reactExports.useEffect(()=>{if(typeof window.matchMedia!="function"||!lo)return;const yo=(...xo)=>wo.current(...xo),Eo=window.matchMedia("(prefers-color-scheme: dark)");return Eo.addListener(yo),yo(Eo),()=>{Eo.removeListener(yo)}},[lo]),reactExports.useEffect(()=>{if(ao&&lo){const yo=Eo=>{const xo=Eo.newValue;typeof Eo.key=="string"&&Eo.key.startsWith(oo)&&(!xo||so.match(xo))&&(Eo.key.endsWith("light")&&Co({light:xo}),Eo.key.endsWith("dark")&&Co({dark:xo})),Eo.key===io&&(!xo||["light","dark","system"].includes(xo))&&vo(xo||eo)};return ao.addEventListener("storage",yo),()=>{ao.removeEventListener("storage",yo)}}},[Co,vo,io,oo,so,eo,ao,lo]),{...co,mode:ho.current||!lo?co.mode:void 0,systemMode:ho.current||!lo?co.systemMode:void 0,colorScheme:ho.current||!lo?mo:void 0,setMode:vo,setColorScheme:Co}}const DISABLE_CSS_TRANSITION="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function createCssVarsProvider(Yi){const{themeId:eo,theme:to={},modeStorageKey:ro=DEFAULT_MODE_STORAGE_KEY,colorSchemeStorageKey:no=DEFAULT_COLOR_SCHEME_STORAGE_KEY,disableTransitionOnChange:io=!1,defaultColorScheme:oo,resolveTheme:ao}=Yi,so={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},lo=reactExports.createContext(void 0),co=()=>reactExports.useContext(lo)||so;function uo(vo){var Ia,Ta,va,xa,Oa;const{children:Co,theme:bo,modeStorageKey:wo=ro,colorSchemeStorageKey:yo=no,disableTransitionOnChange:Eo=io,storageWindow:xo=typeof window>"u"?void 0:window,documentNode:So=typeof document>"u"?void 0:document,colorSchemeNode:To=typeof document>"u"?void 0:document.documentElement,disableNestedContext:Ro=!1,disableStyleSheetGeneration:Po=!1}=vo,zo=reactExports.useRef(!1),Ho=useTheme$3(),Vo=reactExports.useContext(lo),Lo=!!Vo&&!Ro,Uo=reactExports.useMemo(()=>bo||(typeof to=="function"?to():to),[bo]),Do=Uo[eo],{colorSchemes:Oo={},components:ko={},cssVarPrefix:Bo,...Fo}=Do||Uo,Qo=Object.keys(Oo).filter(Da=>!!Oo[Da]).join(","),jo=reactExports.useMemo(()=>Qo.split(","),[Qo]),Xo=typeof oo=="string"?oo:oo.light,Zo=typeof oo=="string"?oo:oo.dark,Wo=Oo[Xo]&&Oo[Zo]?"system":((Ta=(Ia=Oo[Fo.defaultColorScheme])==null?void 0:Ia.palette)==null?void 0:Ta.mode)||((va=Fo.palette)==null?void 0:va.mode),{mode:ta,setMode:ra,systemMode:da,lightColorScheme:pa,darkColorScheme:sa,colorScheme:ya,setColorScheme:na}=useCurrentColorScheme({supportedColorSchemes:jo,defaultLightColorScheme:Xo,defaultDarkColorScheme:Zo,modeStorageKey:wo,colorSchemeStorageKey:yo,defaultMode:Wo,storageWindow:xo});let ea=ta,oa=ya;Lo&&(ea=Vo.mode,oa=Vo.colorScheme);const la=oa||Fo.defaultColorScheme,_a=((xa=Fo.generateThemeVars)==null?void 0:xa.call(Fo))||Fo.vars,Ea={...Fo,components:ko,colorSchemes:Oo,cssVarPrefix:Bo,vars:_a};if(typeof Ea.generateSpacing=="function"&&(Ea.spacing=Ea.generateSpacing()),la){const Da=Oo[la];Da&&typeof Da=="object"&&Object.keys(Da).forEach(ia=>{Da[ia]&&typeof Da[ia]=="object"?Ea[ia]={...Ea[ia],...Da[ia]}:Ea[ia]=Da[ia]})}const Pa=Fo.colorSchemeSelector;reactExports.useEffect(()=>{if(oa&&To&&Pa&&Pa!=="media"){const Da=Pa;let ia=Pa;if(Da==="class"&&(ia=".%s"),Da==="data"&&(ia="[data-%s]"),Da!=null&&Da.startsWith("data-")&&!Da.includes("%s")&&(ia=`[${Da}="%s"]`),ia.startsWith("."))To.classList.remove(...jo.map(Ko=>ia.substring(1).replace("%s",Ko))),To.classList.add(ia.substring(1).replace("%s",oa));else{const Ko=ia.replace("%s",oa).match(/\[([^\]]+)\]/);if(Ko){const[Yo,ma]=Ko[1].split("=");ma||jo.forEach(ga=>{To.removeAttribute(Yo.replace(oa,ga))}),To.setAttribute(Yo,ma?ma.replace(/"|'/g,""):"")}else To.setAttribute(ia,oa)}}},[oa,Pa,To,jo]),reactExports.useEffect(()=>{let Da;if(Eo&&zo.current&&So){const ia=So.createElement("style");ia.appendChild(So.createTextNode(DISABLE_CSS_TRANSITION)),So.head.appendChild(ia),window.getComputedStyle(So.body),Da=setTimeout(()=>{So.head.removeChild(ia)},1)}return()=>{clearTimeout(Da)}},[oa,Eo,So]),reactExports.useEffect(()=>(zo.current=!0,()=>{zo.current=!1}),[]);const aa=reactExports.useMemo(()=>({allColorSchemes:jo,colorScheme:oa,darkColorScheme:sa,lightColorScheme:pa,mode:ea,setColorScheme:na,setMode:ra,systemMode:da}),[jo,oa,sa,pa,ea,na,ra,da]);let Ca=!0;(Po||Fo.cssVariables===!1||Lo&&(Ho==null?void 0:Ho.cssVarPrefix)===Bo)&&(Ca=!1);const Sa=jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[Ca&&jsxRuntimeExports.jsx(reactExports.Fragment,{children:(((Oa=Ea.generateStyleSheets)==null?void 0:Oa.call(Ea))||[]).map((Da,ia)=>jsxRuntimeExports.jsx(GlobalStyles$3,{styles:Da},ia))}),jsxRuntimeExports.jsx(ThemeProvider$1,{themeId:Do?eo:void 0,theme:ao?ao(Ea):Ea,children:Co})]});return Lo?Sa:jsxRuntimeExports.jsx(lo.Provider,{value:aa,children:Sa})}const fo=typeof oo=="string"?oo:oo.light,ho=typeof oo=="string"?oo:oo.dark;
vendor: 5,127 bytes, line 96
96return{CssVarsProvider:uo,useColorScheme:co,getInitColorSchemeScript:vo=>InitColorSchemeScript({colorSchemeStorageKey:no,defaultLightColorScheme:fo,defaultDarkColorScheme:ho,modeStorageKey:ro,...vo})}}function createGetCssVar$1(Yi=""){function eo(...ro){if(!ro.length)return"";const no=ro[0];return typeof no=="string"&&!no.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${Yi?`${Yi}-`:""}${no}${eo(...ro.slice(1))})`:`, ${no}`}return(ro,...no)=>`var(--${Yi?`${Yi}-`:""}${ro}${eo(...no)})`}const assignNestedKeys=(Yi,eo,to,ro=[])=>{let no=Yi;eo.forEach((io,oo)=>{oo===eo.length-1?Array.isArray(no)?no[Number(io)]=to:no&&typeof no=="object"&&(no[io]=to):no&&typeof no=="object"&&(no[io]||(no[io]=ro.includes(io)?[]:{}),no=no[io])})},walkObjectDeep=(Yi,eo,to)=>{function ro(no,io=[],oo=[]){Object.entries(no).forEach(([ao,so])=>{(!to||to&&!to([...io,ao]))&&so!=null&&(typeof so=="object"&&Object.keys(so).length>0?ro(so,[...io,ao],Array.isArray(so)?[...oo,ao]:oo):eo([...io,ao],so,oo))})}ro(Yi)},getCssValue=(Yi,eo)=>typeof eo=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(ro=>Yi.includes(ro))||Yi[Yi.length-1].toLowerCase().indexOf("opacity")>=0?eo:`${eo}px`:eo;function cssVarsParser(Yi,eo){const{prefix:to,shouldSkipGeneratingVar:ro}=eo||{},no={},io={},oo={};return walkObjectDeep(Yi,(ao,so,lo)=>{if((typeof so=="string"||typeof so=="number")&&(!ro||!ro(ao,so))){const co=`--${to?`${to}-`:""}${ao.join("-")}`,uo=getCssValue(ao,so);Object.assign(no,{[co]:uo}),assignNestedKeys(io,ao,`var(${co})`,lo),assignNestedKeys(oo,ao,`var(${co}, ${uo})`,lo)}},ao=>ao[0]==="vars"),{css:no,vars:io,varsWithDefaults:oo}}function prepareCssVars(Yi,eo={}){const{getSelector:to=Co,disableCssColorScheme:ro,colorSchemeSelector:no}=eo,{colorSchemes:io={},components:oo,defaultColorScheme:ao="light",...so}=Yi,{vars:lo,css:co,varsWithDefaults:uo}=cssVarsParser(so,eo);let fo=uo;const ho={},{[ao]:mo,...vo}=io;if(Object.entries(vo||{}).forEach(([yo,Eo])=>{const{vars:xo,css:So,varsWithDefaults:To}=cssVarsParser(Eo,eo);fo=deepmerge$1(fo,To),ho[yo]={css:So,vars:xo}}),mo){const{css:yo,vars:Eo,varsWithDefaults:xo}=cssVarsParser(mo,eo);fo=deepmerge$1(fo,xo),ho[ao]={css:yo,vars:Eo}}function Co(yo,Eo){var So,To;let xo=no;if(no==="class"&&(xo=".%s"),no==="data"&&(xo="[data-%s]"),no!=null&&no.startsWith("data-")&&!no.includes("%s")&&(xo=`[${no}="%s"]`),yo){if(xo==="media")return Yi.defaultColorScheme===yo?":root":{[`@media (prefers-color-scheme: ${((To=(So=io[yo])==null?void 0:So.palette)==null?void 0:To.mode)||yo})`]:{":root":Eo}};if(xo)return Yi.defaultColorScheme===yo?`:root, ${xo.replace("%s",String(yo))}`:xo.replace("%s",String(yo))}return":root"}return{vars:fo,generateThemeVars:()=>{let yo={...lo};return Object.entries(ho).forEach(([,{vars:Eo}])=>{yo=deepmerge$1(yo,Eo)}),yo},generateStyleSheets:()=>{var Ro,Po;const yo=[],Eo=Yi.defaultColorScheme||"light";function xo(zo,Ho){Object.keys(Ho).length&&yo.push(typeof zo=="string"?{[zo]:{...Ho}}:zo)}xo(to(void 0,{...co}),co);const{[Eo]:So,...To}=ho;if(So){const{css:zo}=So,Ho=(Po=(Ro=io[Eo])==null?void 0:Ro.palette)==null?void 0:Po.mode,Vo=!ro&&Ho?{colorScheme:Ho,...zo}:{...zo};xo(to(Eo,{...Vo}),Vo)}return Object.entries(To).forEach(([zo,{css:Ho}])=>{var Uo,Do;const Vo=(Do=(Uo=io[zo])==null?void 0:Uo.palette)==null?void 0:Do.mode,Lo=!ro&&Vo?{colorScheme:Vo,...Ho}:{...Ho};xo(to(zo,{...Lo}),Lo)}),yo}}}function createGetColorSchemeSelector(Yi){return function(to){return Yi==="media"?`@media (prefers-color-scheme: ${to})`:Yi?Yi.startsWith("data-")&&!Yi.includes("%s")?`[${Yi}="${to}"] &`:Yi==="class"?`.${to} &`:Yi==="data"?`[data-${to}] &`:`${Yi.replace("%s",to)} &`:"&"}}const defaultTheme$2=createTheme$1(),defaultCreateStyledComponent=styled$1("div",{name:"MuiStack",slot:"Root",overridesResolver:(Yi,eo)=>eo.root});function useThemePropsDefault(Yi){return useThemeProps$1({props:Yi,name:"MuiStack",defaultTheme:defaultTheme$2})}function joinChildren(Yi,eo){const to=reactExports.Children.toArray(Yi).filter(Boolean);return to.reduce((ro,no,io)=>(ro.push(no),io<to.length-1&&ro.push(reactExports.cloneElement(eo,{key:`separator-${io}`})),ro),[])}const getSideFromDirection=Yi=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[Yi],style$1=({ownerState:Yi,theme:eo})=>{let to={display:"flex",flexDirection:"column",...handleBreakpoints({theme:eo},resolveBreakpointValues({values:Yi.direction,breakpoints:eo.breakpoints.values}),ro=>({flexDirection:ro}))};if(Yi.spacing){const ro=createUnarySpacing(eo),no=Object.keys(eo.breakpoints.values).reduce((so,lo)=>((typeof Yi.spacing=="object"&&Yi.spacing[lo]!=null||typeof Yi.direction=="object"&&Yi.direction[lo]!=null)&&(so[lo]=!0),so),{}),io=resolveBreakpointValues({values:Yi.direction,base:no}),oo=resolveBreakpointValues({values:Yi.spacing,base:no});typeof io=="object"&&Object.keys(io).forEach((so,lo,co)=>{if(!io[so]){const fo=lo>0?io[co[lo-1]]:"column";io[so]=fo}}),to=deepmerge$1(to,handleBreakpoints({theme:eo},oo,(so,lo)=>Yi.useFlexGap?{gap:getValue$2(ro,so)}:{"& > :not(style):not(style)":{margin:0},"& >
96 :not(style) ~ :not(style)":{[`margin${getSideFromDirection(lo?io[lo]:Yi.direction)}`]:getValue$2(ro,so)}}))}return to=mergeBreakpointsInOrder(eo.breakpoints,to),to};function createStack(Yi={}){const{createStyledComponent:eo=defaultCreateStyledComponent,useThemeProps:to=useThemePropsDefault,componentName:ro="MuiStack"}=Yi,no=()=>composeClasses({root:["root"]},so=>generateUtilityClass(ro,so),{}),io=eo(style$1);return reactExports.forwardRef(function(so,lo){const co=to(so),uo=extendSxProp$1(co),{component:fo="div",direction:ho="column",spacing:mo=0,divider:vo,children:Co,className:bo,useFlexGap:wo=!1,...yo}=uo,Eo={direction:ho,spacing:mo,useFlexGap:wo},xo=no();return jsxRuntimeExports.jsx(io,{as:fo,ownerState:Eo,ref:lo,className:clsx(xo.root,bo),...yo,children:vo?joinChildren(Co,vo):Co})})}const light={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:common.white,default:common.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},dark={text:{primary:common.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:common.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function addLightOrDark(Yi,eo,to,ro){const no=ro.light||ro,io=ro.dark||ro*1.5;Yi[eo]||(Yi.hasOwnProperty(to)?Yi[eo]=Yi[to]:eo==="light"?Yi.light=lighten(Yi.main,no):eo==="dark"&&(Yi.dark=darken(Yi.main,io)))}function getDefaultPrimary(Yi="light"){return Yi==="dark"?{main:blue[200],light:blue[50],dark:blue[400]}:{main:blue[700],light:blue[400],dark:blue[800]}}function getDefaultSecondary(Yi="light"){return Yi==="dark"?{main:purple[200],light:purple[50],dark:purple[400]}:{main:purple[500],light:purple[300],dark:purple[700]}}function getDefaultError(Yi="light"){return Yi==="dark"?{main:red[500],light:red[300],dark:red[700]}:{main:red[700],light:red[400],dark:red[800]}}function getDefaultInfo(Yi="light"){return Yi==="dark"?{main:lightBlue[400],light:lightBlue[300],dark:lightBlue[700]}:{main:lightBlue[700],light:lightBlue[500],dark:lightBlue[900]}}function getDefaultSuccess(Yi="light"){return Yi==="dark"?{main:green[400],light:green[300],dark:green[700]}:{main:green[800],light:green[500],dark:green[900]}}function getDefaultWarning(Yi="light"){return Yi==="dark"?{main:orange[400],light:orange[300],dark:orange[700]}:{main:"#ed6c02",light:orange[500],dark:orange[900]}}function createPalette(Yi){const{mode:eo="light",contrastThreshold:to=3,tonalOffset:ro=.2,...no}=Yi,io=Yi.primary||getDefaultPrimary(eo),oo=Yi.secondary||getDefaultSecondary(eo),ao=Yi.error||getDefaultError(eo),so=Yi.info||getDefaultInfo(eo),lo=Yi.success||getDefaultSuccess(eo),co=Yi.warning||getDefaultWarning(eo);function uo(vo){return getContrastRatio(vo,dark.text.primary)>=to?dark.text.primary:light.text.primary}const fo=({color:vo,name:Co,mainShade:bo=500,lightShade:wo=300,darkShade:yo=700})=>{if(vo={...vo},!vo.main&&vo[bo]&&(vo.main=vo[bo]),!vo.hasOwnProperty("main"))throw new Error(formatMuiErrorMessage$1(11,Co?` (${Co})`:"",bo));if(typeof vo.main!="string")throw new Error(formatMuiErrorMessage$1(12,Co?` (${Co})`:"",JSON.stringify(vo.main)));return addLightOrDark(vo,"light",wo,ro),addLightOrDark(vo,"dark",yo,ro),vo.contrastText||(vo.contrastText=uo(vo.main)),vo},ho={dark,light};return deepmerge$1({common:{...common},mode:eo,primary:fo({color:io,name:"primary"}),secondary:fo({color:oo,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:fo({color:ao,name:"error"}),warning:fo({color:co,name:"warning"}),info:fo({color:so,name:"info"}),success:fo({color:lo,name:"success"}),grey,contrastThreshold:to,getContrastText:uo,augmentColor:fo,tonalOffset:ro,...ho[eo]},no)}function prepareTypographyVars(Yi){const eo={};
96return Object.entries(Yi).forEach(ro=>{const[no,io]=ro;typeof io=="object"&&(eo[no]=`${io.fontStyle?`${io.fontStyle} `:""}${io.fontVariant?`${io.fontVariant} `:""}${io.fontWeight?`${io.fontWeight} `:""}${io.fontStretch?`${io.fontStretch} `:""}${io.fontSize||""}${io.lineHeight?`/${io.lineHeight} `:""}${io.fontFamily||""}`)}),eo}function createMixins(Yi,eo){return{toolbar:{minHeight:56,[Yi.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[Yi.up("sm")]:{minHeight:64}},...eo}}function round$4(Yi){return Math.round(Yi*1e5)/1e5}const caseAllCaps={textTransform:"uppercase"},defaultFontFamily='"Roboto", "Helvetica", "Arial", sans-serif';function createTypography(Yi,eo){const{fontFamily:to=defaultFontFamily,fontSize:ro=14,fontWeightLight:no=300,fontWeightRegular:io=400,fontWeightMedium:oo=500,fontWeightBold:ao=700,htmlFontSize:so=16,allVariants:lo,pxToRem:co,...uo}=typeof eo=="function"?eo(Yi):eo,fo=ro/14,ho=co||(Co=>`${Co/so*fo}rem`),mo=(Co,bo,wo,yo,Eo)=>({fontFamily:to,fontWeight:Co,fontSize:ho(bo),lineHeight:wo,...to===defaultFontFamily?{letterSpacing:`${round$4(yo/bo)}em`}:{},...Eo,...lo}),vo={h1:mo(no,96,1.167,-1.5),h2:mo(no,60,1.2,-.5),h3:mo(io,48,1.167,0),h4:mo(io,34,1.235,.25),h5:mo(io,24,1.334,0),h6:mo(oo,20,1.6,.15),subtitle1:mo(io,16,1.75,.15),subtitle2:mo(oo,14,1.57,.1),body1:mo(io,16,1.5,.15),body2:mo(io,14,1.43,.15),button:mo(oo,14,1.75,.4,caseAllCaps),caption:mo(io,12,1.66,.4),overline:mo(io,12,2.66,1,caseAllCaps),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return deepmerge$1({htmlFontSize:so,pxToRem:ho,fontFamily:to,fontSize:ro,fontWeightLight:no,fontWeightRegular:io,fontWeightMedium:oo,fontWeightBold:ao,...vo},uo,{clone:!1})}const shadowKeyUmbraOpacity=.2,shadowKeyPenumbraOpacity=.14,shadowAmbientShadowOpacity=.12;function createShadow(...Yi){return[`${Yi[0]}px ${Yi[1]}px ${Yi[2]}px ${Yi[3]}px rgba(0,0,0,${shadowKeyUmbraOpacity})`,`${Yi[4]}px ${Yi[5]}px ${Yi[6]}px ${Yi[7]}px rgba(0,0,0,${shadowKeyPenumbraOpacity})`,`${Yi[8]}px ${Yi[9]}px ${Yi[10]}px ${Yi[11]}px rgba(0,0,0,${shadowAmbientShadowOpacity})`].join(",")}const shadows=["none",createShadow(0,2,1,-1,0,1,1,0,0,1,3,0),createShadow(0,3,1,-2,0,2,2,0,0,1,5,0),createShadow(0,3,3,-2,0,3,4,0,0,1,8,0),createShadow(0,2,4,-1,0,4,5,0,0,1,10,0),createShadow(0,3,5,-1,0,5,8,0,0,1,14,0),createShadow(0,3,5,-1,0,6,10,0,0,1,18,0),createShadow(0,4,5,-2,0,7,10,1,0,2,16,1),createShadow(0,5,5,-3,0,8,10,1,0,3,14,2),createShadow(0,5,6,-3,0,9,12,1,0,3,16,2),createShadow(0,6,6,-3,0,10,14,1,0,4,18,3),createShadow(0,6,7,-4,0,11,15,1,0,4,20,3),createShadow(0,7,8,-4,0,12,17,2,0,5,22,4),createShadow(0,7,8,-4,0,13,19,2,0,5,24,4),createShadow(0,7,9,-4,0,14,21,2,0,5,26,4),createShadow(0,8,9,-5,0,15,22,2,0,6,28,5),createShadow(0,8,10,-5,0,16,24,2,0,6,30,5),createShadow(0,8,11,-5,0,17,26,2,0,6,32,5),createShadow(0,9,11,-5,0,18,28,2,0,7,34,6),createShadow(0,9,12,-6,0,19,29,2,0,7,36,6),createShadow(0,10,13,-6,0,20,31,3,0,8,38,7),createShadow(0,10,13,-6,0,21,33,3,0,8,40,7),createShadow(0,10,14,-6,0,22,35,3,0,8,42,7),createShadow(0,11,14,-7,0,23,36,3,0,9,44,8),createShadow(0,11,15,-7,0,24,38,3,0,9,46,8)],easing={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},duration$1={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function formatMs(Yi){return`${Math.round(Yi)}ms`}function getAutoHeightDuration(Yi){if(!Yi)return 0;const eo=Yi/36;return Math.min(Math.round((4+15*eo**.25+eo/5)*10),3e3)}function createTransitions(Yi){const eo={...easing,...Yi.easing},to={...duration$1,...Yi.duration};return{getAutoHeightDuration,create:(no=["all"],io={})=>{const{duration:oo=to.standard,easing:ao=eo.easeInOut,delay:so=0,...lo}=io;return(Array.isArray(no)?no:[no]).map(co=>`${co} ${typeof oo=="string"?oo:formatMs(oo)} ${ao} ${typeof so=="string"?so:formatMs(so)}`).join(",")},...Yi,easing:eo,duration:to}}const zIndex$1={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function createThemeNoVars(Yi={},...eo){const{breakpoints:to,mixins:ro={},spacing:no,palette:io={},transitions:oo={},typography:ao={},shape:so,...lo}
96=Yi;if(Yi.vars)throw new Error(formatMuiErrorMessage$1(20));const co=createPalette(io),uo=createTheme$1(Yi);let fo=deepmerge$1(uo,{mixins:createMixins(uo.breakpoints,ro),palette:co,shadows:shadows.slice(),typography:createTypography(co,ao),transitions:createTransitions(oo),zIndex:{...zIndex$1}});return fo=deepmerge$1(fo,lo),fo=eo.reduce((ho,mo)=>deepmerge$1(ho,mo),fo),fo.unstable_sxConfig={...defaultSxConfig,...lo==null?void 0:lo.unstable_sxConfig},fo.unstable_sx=function(mo){return styleFunctionSx({sx:mo,theme:this})},fo}function getOverlayAlpha(Yi){let eo;return Yi<1?eo=5.11916*Yi**2:eo=4.5*Math.log(Yi+1)+2,Math.round(eo*10)/1e3}const defaultDarkOverlays=[...Array(25)].map((Yi,eo)=>{if(eo===0)return;const to=getOverlayAlpha(eo);return`linear-gradient(rgba(255 255 255 / ${to}), rgba(255 255 255 / ${to}))`});function getOpacity(Yi){return{inputPlaceholder:Yi==="dark"?.5:.42,inputUnderline:Yi==="dark"?.7:.42,switchTrackDisabled:Yi==="dark"?.2:.12,switchTrack:Yi==="dark"?.3:.38}}function getOverlays(Yi){return Yi==="dark"?defaultDarkOverlays:[]}function createColorScheme(Yi){const{palette:eo={mode:"light"},opacity:to,overlays:ro,...no}=Yi,io=createPalette(eo);return{palette:io,opacity:{...getOpacity(io.mode),...to},overlays:ro||getOverlays(io.mode),...no}}function shouldSkipGeneratingVar(Yi){var eo;return!!Yi[0].match(/(cssVarPrefix|colorSchemeSelector|typography|mixins|breakpoints|direction|transitions)/)||!!Yi[0].match(/sxConfig$/)||Yi[0]==="palette"&&!!((eo=Yi[1])!=null&&eo.match(/(mode|contrastThreshold|tonalOffset)/))}const excludeVariablesFromRoot=Yi=>[...[...Array(24)].map((eo,to)=>`--${Yi?`${Yi}-`:""}overlays-${to+1}`),`--${Yi?`${Yi}-`:""}palette-AppBar-darkBg`,`--${Yi?`${Yi}-`:""}palette-AppBar-darkColor`],defaultGetSelector=(Yi=>(eo,to)=>{const ro=Yi.colorSchemeSelector;let no=ro;if(ro==="class"&&(no=".%s"),ro==="data"&&(no="[data-%s]"),ro!=null&&ro.startsWith("data-")&&!ro.includes("%s")&&(no=`[${ro}="%s"]`),Yi.defaultColorScheme===eo){if(eo==="dark"){const io={};return excludeVariablesFromRoot(Yi.cssVarPrefix).forEach(oo=>{io[oo]=to[oo],delete to[oo]}),no==="media"?{":root":to,"@media (prefers-color-scheme: dark)":{":root":io}}:no?{[no.replace("%s",eo)]:io,[`:root, ${no.replace("%s",eo)}`]:to}:{":root":{...to,...io}}}if(no&&no!=="media")return`:root, ${no.replace("%s",String(eo))}`}else if(eo){if(no==="media")return{[`@media (prefers-color-scheme: ${String(eo)})`]:{":root":to}};if(no)return no.replace("%s",String(eo))}return":root"});function isSerializable(Yi){return isPlainObject$6(Yi)||typeof Yi>"u"||typeof Yi=="string"||typeof Yi=="boolean"||typeof Yi=="number"||Array.isArray(Yi)}function stringifyTheme(Yi={}){const eo={...Yi};function to(ro){const no=Object.entries(ro);for(let io=0;io<no.length;io++){const[oo,ao]=no[io];!isSerializable(ao)||oo.startsWith("unstable_")?delete ro[oo]:isPlainObject$6(ao)&&(ro[oo]={...ao},to(ro[oo]))}}return to(eo),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
97
98const theme = ${JSON.stringify(eo,null,2)};
99
100theme.breakpoints = createBreakpoints(theme.breakpoints || {});
101theme.transitions = createTransitions(theme.transitions || {});
102
103export default theme;`}function assignNode(Yi,eo){eo.forEach(to=>{Yi[to]||(Yi[to]={})})}function setColor(Yi,eo,to){!Yi[eo]&&to&&(Yi[eo]=to)}function toRgb(Yi){return!Yi||!Yi.startsWith("hsl")?Yi:hslToRgb(Yi)}function setColorChannel(Yi,eo){`${eo}Channel`in Yi||(Yi[`${eo}Channel`]=private_safeColorChannel(toRgb(Yi[eo])))}function getSpacingVal(Yi){return typeof Yi=="number"?`${Yi}px`:typeof Yi=="string"||typeof Yi=="function"||Array.isArray(Yi)?Yi:"8px"}const silent=Yi=>{try{return Yi()}catch{}},createGetCssVar=(Yi="mui")=>createGetCssVar$1(Yi);function attachColorScheme$1(Yi,eo,to,ro){if(!eo)return;eo=eo===!0?{}:eo;const no=ro==="dark"?"dark":"light";if(!to){Yi[ro]=createColorScheme({...eo,palette:{mode:no,...eo==null?void 0:eo.palette}});return}const{palette:io,...oo}=createThemeNoVars({...to,palette:{mode:no,...eo==null?void 0:eo.palette}});return Yi[ro]={...eo,palette:io,opacity:{...getOpacity(no),...eo==null?void 0:eo.opacity},overlays:(eo==null?void 0:eo.overlays)||getOverlays(no)},oo}function createThemeWithVars(Yi={},...eo){const{colorSchemes:to={light:!0},defaultColorScheme:ro,disableCssColorScheme:no=!1,cssVarPrefix:io="mui",shouldSkipGeneratingVar:oo=shouldSkipGeneratingVar,colorSchemeSelector:ao=to.light&&to.dark?"media":void 0,...so}=Yi,lo=Object.keys(to)[0],co=ro||(to.light&&lo!=="light"?"light":lo),uo=createGetCssVar(io),{[co]:fo,light:ho,dark:mo,...vo}=to,Co={...vo};let bo=fo;if((co==="dark"&&!("dark"in to)||co==="light"&&!("light"in to))&&(bo=!0),!bo)throw new Error(formatMuiErrorMessage$1(21,co));const wo=attachColorScheme$1(Co,bo,so,co);ho&&!Co.light&&attachColorScheme$1(Co,ho,void 0,"light"),mo&&!Co.dark&&attachColorScheme$1(Co,mo,void 0,"dark");
103let yo={defaultColorScheme:co,...wo,cssVarPrefix:io,colorSchemeSelector:ao,getCssVar:uo,colorSchemes:Co,font:{...prepareTypographyVars(wo.typography),...wo.font},spacing:getSpacingVal(so.spacing)};Object.keys(yo.colorSchemes).forEach(Ro=>{const Po=yo.colorSchemes[Ro].palette,zo=Ho=>{const Vo=Ho.split("-"),Lo=Vo[1],Uo=Vo[2];return uo(Ho,Po[Lo][Uo])};if(Po.mode==="light"&&(setColor(Po.common,"background","#fff"),setColor(Po.common,"onBackground","#000")),Po.mode==="dark"&&(setColor(Po.common,"background","#000"),setColor(Po.common,"onBackground","#fff")),assignNode(Po,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),Po.mode==="light"){setColor(Po.Alert,"errorColor",private_safeDarken(Po.error.light,.6)),setColor(Po.Alert,"infoColor",private_safeDarken(Po.info.light,.6)),setColor(Po.Alert,"successColor",private_safeDarken(Po.success.light,.6)),setColor(Po.Alert,"warningColor",private_safeDarken(Po.warning.light,.6)),setColor(Po.Alert,"errorFilledBg",zo("palette-error-main")),setColor(Po.Alert,"infoFilledBg",zo("palette-info-main")),setColor(Po.Alert,"successFilledBg",zo("palette-success-main")),setColor(Po.Alert,"warningFilledBg",zo("palette-warning-main")),setColor(Po.Alert,"errorFilledColor",silent(()=>Po.getContrastText(Po.error.main))),setColor(Po.Alert,"infoFilledColor",silent(()=>Po.getContrastText(Po.info.main))),setColor(Po.Alert,"successFilledColor",silent(()=>Po.getContrastText(Po.success.main))),setColor(Po.Alert,"warningFilledColor",silent(()=>Po.getContrastText(Po.warning.main))),setColor(Po.Alert,"errorStandardBg",private_safeLighten(Po.error.light,.9)),setColor(Po.Alert,"infoStandardBg",private_safeLighten(Po.info.light,.9)),setColor(Po.Alert,"successStandardBg",private_safeLighten(Po.success.light,.9)),setColor(Po.Alert,"warningStandardBg",private_safeLighten(Po.warning.light,.9)),setColor(Po.Alert,"errorIconColor",zo("palette-error-main")),setColor(Po.Alert,"infoIconColor",zo("palette-info-main")),setColor(Po.Alert,"successIconColor",zo("palette-success-main")),setColor(Po.Alert,"warningIconColor",zo("palette-warning-main")),setColor(Po.AppBar,"defaultBg",zo("palette-grey-100")),setColor(Po.Avatar,"defaultBg",zo("palette-grey-400")),setColor(Po.Button,"inheritContainedBg",zo("palette-grey-300")),setColor(Po.Button,"inheritContainedHoverBg",zo("palette-grey-A100")),setColor(Po.Chip,"defaultBorder",zo("palette-grey-400")),setColor(Po.Chip,"defaultAvatarColor",zo("palette-grey-700")),setColor(Po.Chip,"defaultIconColor",zo("palette-grey-700")),setColor(Po.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),setColor(Po.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),setColor(Po.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),setColor(Po.LinearProgress,"primaryBg",private_safeLighten(Po.primary.main,.62)),setColor(Po.LinearProgress,"secondaryBg",private_safeLighten(Po.secondary.main,.62)),setColor(Po.LinearProgress,"errorBg",private_safeLighten(Po.error.main,.62)),setColor(Po.LinearProgress,"infoBg",private_safeLighten(Po.info.main,.62)),setColor(Po.LinearProgress,"successBg",private_safeLighten(Po.success.main,.62)),setColor(Po.LinearProgress,"warningBg",private_safeLighten(Po.warning.main,.62)),setColor(Po.Skeleton,"bg",`rgba(${zo("palette-text-primaryChannel")} / 0.11)`),setColor(Po.Slider,"primaryTrack",private_safeLighten(Po.primary.main,.62)),setColor(Po.Slider,"secondaryTrack",private_safeLighten(Po.secondary.main,.62)),setColor(Po.Slider,"errorTrack",private_safeLighten(Po.error.main,.62)),setColor(Po.Slider,"infoTrack",private_safeLighten(Po.info.main,.62)),setColor(Po.Slider,"successTrack",private_safeLighten(Po.success.main,.62)),setColor(Po.Slider,"warningTrack",private_safeLighten(Po.warning.main,.62));const Ho=private_safeEmphasize(Po.background.default,.8);setColor(Po.SnackbarContent,"bg",Ho),setColor(Po.SnackbarContent,"color",silent(()=>Po.getContrastText(Ho))),setColor(Po.SpeedDialAction,"fabHoverBg",private_safeEmphasize(Po.background.paper,.15)),setColor(Po.StepConnector,"border",zo("palette-grey-400")),setColor(Po.StepContent,"border",zo("palette-grey-400")),setColor(Po.Switch,"defaultColor",zo("palette-common-white")),setColor(Po.Switch,"defaultDisabledColor",zo("palette-grey-100")),setColor(Po.Switch,"primaryDisabledColor",private_safeLighten(Po.primary.main,.62)),setColor(Po.Switch,"secondary
103DisabledColor",private_safeLighten(Po.secondary.main,.62)),setColor(Po.Switch,"errorDisabledColor",private_safeLighten(Po.error.main,.62)),setColor(Po.Switch,"infoDisabledColor",private_safeLighten(Po.info.main,.62)),setColor(Po.Switch,"successDisabledColor",private_safeLighten(Po.success.main,.62)),setColor(Po.Switch,"warningDisabledColor",private_safeLighten(Po.warning.main,.62)),setColor(Po.TableCell,"border",private_safeLighten(private_safeAlpha(Po.divider,1),.88)),setColor(Po.Tooltip,"bg",private_safeAlpha(Po.grey[700],.92))}if(Po.mode==="dark"){setColor(Po.Alert,"errorColor",private_safeLighten(Po.error.light,.6)),setColor(Po.Alert,"infoColor",private_safeLighten(Po.info.light,.6)),setColor(Po.Alert,"successColor",private_safeLighten(Po.success.light,.6)),setColor(Po.Alert,"warningColor",private_safeLighten(Po.warning.light,.6)),setColor(Po.Alert,"errorFilledBg",zo("palette-error-dark")),setColor(Po.Alert,"infoFilledBg",zo("palette-info-dark")),setColor(Po.Alert,"successFilledBg",zo("palette-success-dark")),setColor(Po.Alert,"warningFilledBg",zo("palette-warning-dark")),setColor(Po.Alert,"errorFilledColor",silent(()=>Po.getContrastText(Po.error.dark))),setColor(Po.Alert,"infoFilledColor",silent(()=>Po.getContrastText(Po.info.dark))),setColor(Po.Alert,"successFilledColor",silent(()=>Po.getContrastText(Po.success.dark))),setColor(Po.Alert,"warningFilledColor",silent(()=>Po.getContrastText(Po.warning.dark))),setColor(Po.Alert,"errorStandardBg",private_safeDarken(Po.error.light,.9)),setColor(Po.Alert,"infoStandardBg",private_safeDarken(Po.info.light,.9)),setColor(Po.Alert,"successStandardBg",private_safeDarken(Po.success.light,.9)),setColor(Po.Alert,"warningStandardBg",private_safeDarken(Po.warning.light,.9)),setColor(Po.Alert,"errorIconColor",zo("palette-error-main")),setColor(Po.Alert,"infoIconColor",zo("palette-info-main")),setColor(Po.Alert,"successIconColor",zo("palette-success-main")),setColor(Po.Alert,"warningIconColor",zo("palette-warning-main")),setColor(Po.AppBar,"defaultBg",zo("palette-grey-900")),setColor(Po.AppBar,"darkBg",zo("palette-background-paper")),setColor(Po.AppBar,"darkColor",zo("palette-text-primary")),setColor(Po.Avatar,"defaultBg",zo("palette-grey-600")),setColor(Po.Button,"inheritContainedBg",zo("palette-grey-800")),setColor(Po.Button,"inheritContainedHoverBg",zo("palette-grey-700")),setColor(Po.Chip,"defaultBorder",zo("palette-grey-700")),setColor(Po.Chip,"defaultAvatarColor",zo("palette-grey-300")),setColor(Po.Chip,"defaultIconColor",zo("palette-grey-300")),setColor(Po.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),setColor(Po.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),setColor(Po.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),setColor(Po.LinearProgress,"primaryBg",private_safeDarken(Po.primary.main,.5)),setColor(Po.LinearProgress,"secondaryBg",private_safeDarken(Po.secondary.main,.5)),setColor(Po.LinearProgress,"errorBg",private_safeDarken(Po.error.main,.5)),setColor(Po.LinearProgress,"infoBg",private_safeDarken(Po.info.main,.5)),setColor(Po.LinearProgress,"successBg",private_safeDarken(Po.success.main,.5)),setColor(Po.LinearProgress,"warningBg",private_safeDarken(Po.warning.main,.5)),setColor(Po.Skeleton,"bg",`rgba(${zo("palette-text-primaryChannel")} / 0.13)`),setColor(Po.Slider,"primaryTrack",private_safeDarken(Po.primary.main,.5)),setColor(Po.Slider,"secondaryTrack",private_safeDarken(Po.secondary.main,.5)),setColor(Po.Slider,"errorTrack",private_safeDarken(Po.error.main,.5)),setColor(Po.Slider,"infoTrack",private_safeDarken(Po.info.main,.5)),setColor(Po.Slider,"successTrack",private_safeDarken(Po.success.main,.5)),setColor(Po.Slider,"warningTrack",private_safeDarken(Po.warning.main,.5));const Ho=private_safeEmphasize(Po.background.default,.98);setColor(Po.SnackbarContent,"bg",Ho),setColor(Po.SnackbarContent,"color",silent(()=>Po.getContrastText(Ho))),setColor(Po.SpeedDialAction,"fabHoverBg",private_safeEmphasize(Po.background.paper,.15)),setColor(Po.StepConnector,"border",zo("palette-grey-600")),setColor(Po.StepContent,"border",zo("palette-grey-600")),setColor(Po.Switch,"defaultColor",zo("palette-grey-300")),setColor(Po.Switch,"defaultDisabledColor",zo("palette-grey-600")),setColor(Po.Switch,"primaryDisabledColor",private_safeDarken(Po.primary.main,.55)),setColor(Po.Switch,"secondary
103DisabledColor",private_safeDarken(Po.secondary.main,.55)),setColor(Po.Switch,"errorDisabledColor",private_safeDarken(Po.error.main,.55)),setColor(Po.Switch,"infoDisabledColor",private_safeDarken(Po.info.main,.55)),setColor(Po.Switch,"successDisabledColor",private_safeDarken(Po.success.main,.55)),setColor(Po.Switch,"warningDisabledColor",private_safeDarken(Po.warning.main,.55)),setColor(Po.TableCell,"border",private_safeDarken(private_safeAlpha(Po.divider,1),.68)),setColor(Po.Tooltip,"bg",private_safeAlpha(Po.grey[700],.92))}setColorChannel(Po.background,"default"),setColorChannel(Po.background,"paper"),setColorChannel(Po.common,"background"),setColorChannel(Po.common,"onBackground"),setColorChannel(Po,"divider"),Object.keys(Po).forEach(Ho=>{const Vo=Po[Ho];Vo&&typeof Vo=="object"&&(Vo.main&&setColor(Po[Ho],"mainChannel",private_safeColorChannel(toRgb(Vo.main))),Vo.light&&setColor(Po[Ho],"lightChannel",private_safeColorChannel(toRgb(Vo.light))),Vo.dark&&setColor(Po[Ho],"darkChannel",private_safeColorChannel(toRgb(Vo.dark))),Vo.contrastText&&setColor(Po[Ho],"contrastTextChannel",private_safeColorChannel(toRgb(Vo.contrastText))),Ho==="text"&&(setColorChannel(Po[Ho],"primary"),setColorChannel(Po[Ho],"secondary")),Ho==="action"&&(Vo.active&&setColorChannel(Po[Ho],"active"),Vo.selected&&setColorChannel(Po[Ho],"selected")))})}),yo=eo.reduce((Ro,Po)=>deepmerge$1(Ro,Po),yo);const Eo={prefix:io,disableCssColorScheme:no,shouldSkipGeneratingVar:oo,getSelector:defaultGetSelector(yo)},{vars:xo,generateThemeVars:So,generateStyleSheets:To}=prepareCssVars(yo,Eo);return yo.vars=xo,Object.entries(yo.colorSchemes[yo.defaultColorScheme]).forEach(([Ro,Po])=>{yo[Ro]=Po}),yo.generateThemeVars=So,yo.generateStyleSheets=To,yo.generateSpacing=function(){return createSpacing(so.spacing,createUnarySpacing(this))},yo.getColorSchemeSelector=createGetColorSchemeSelector(ao),yo.spacing=yo.generateSpacing(),yo.shouldSkipGeneratingVar=oo,yo.unstable_sxConfig={...defaultSxConfig,...so==null?void 0:so.unstable_sxConfig},yo.unstable_sx=function(Po){return styleFunctionSx({sx:Po,theme:this})},yo.toRuntimeSource=stringifyTheme,yo}function attachColorScheme(Yi,eo,to){Yi.colorSchemes&&to&&(Yi.colorSchemes[eo]={...to!==!0&&to,palette:createPalette({...to===!0?{}:to,mode:eo})})}function createTheme(Yi={},...eo){const{palette:to,cssVariables:ro=!1,colorSchemes:no=to?void 0:{light:!0},defaultColorScheme:io=to==null?void 0:to.mode,...oo}=Yi,ao=io||"light",so=no==null?void 0:no[ao],lo={...no,...to?{[ao]:{...typeof so!="boolean"&&so,palette:to}}:void 0};if(ro===!1){const co=createThemeNoVars(Yi,...eo);return"colorSchemes"in Yi&&(co.defaultColorScheme=ao,co.colorSchemes=lo,co.palette.mode==="light"&&(co.colorSchemes.light={palette:co.palette},attachColorScheme(co,"dark",lo.dark)),co.palette.mode==="dark"&&(co.colorSchemes.dark={palette:co.palette},attachColorScheme(co,"light",lo.light))),co}return createThemeWithVars({...oo,colorSchemes:lo,defaultColorScheme:ao,...typeof ro!="boolean"&&ro},...eo)}function getUnit(Yi){return String(Yi).match(/[\d.\-+]*\s*(.*)/)[1]||""}function toUnitless(Yi){return parseFloat(Yi)}const defaultTheme$1=createTheme();function useTheme$2(){const Yi=useTheme$4(defaultTheme$1);return Yi[THEME_ID]||Yi}function useThemeProps({props:Yi,name:eo}){return useThemeProps$1({props:Yi,name:eo,defaultTheme:defaultTheme$1,themeId:THEME_ID})}function slotShouldForwardProp(Yi){return Yi!=="ownerState"&&Yi!=="theme"&&Yi!=="sx"&&Yi!=="as"}const rootShouldForwardProp=Yi=>slotShouldForwardProp(Yi)&&Yi!=="classes",styled=createStyled({themeId:THEME_ID,defaultTheme:defaultTheme$1,rootShouldForwardProp});function ThemeProviderNoVars({theme:Yi,...eo}){const to=THEME_ID in Yi?Yi[THEME_ID]:void 0;return jsxRuntimeExports.jsx(ThemeProvider$1,{...eo,themeId:to?THEME_ID:void 0,theme:to||Yi})}const defaultConfig={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:InternalCssVarsProvider}=createCssVarsProvider({themeId:THEME_ID,theme:()=>createTheme({cssVariables:!0}),colorSchemeStorageKey:defaultConfig.colorSchemeStorageKey,modeStorageKey:defaultConfig.modeStorageKey,defaultColorScheme:{light:defaultConfig.defaultLightColorScheme,dark:defaultConfig.defaultDar
103kColorScheme},resolveTheme:Yi=>{const eo={...Yi,typography:createTypography(Yi.palette,Yi.typography)};return eo.unstable_sx=function(ro){return styleFunctionSx({sx:ro,theme:this})},eo}}),CssVarsProvider=InternalCssVarsProvider;function ThemeProvider({theme:Yi,...eo}){return typeof Yi=="function"?jsxRuntimeExports.jsx(ThemeProviderNoVars,{theme:Yi,...eo}):"colorSchemes"in(THEME_ID in Yi?Yi[THEME_ID]:Yi)?jsxRuntimeExports.jsx(CssVarsProvider,{theme:Yi,...eo}):jsxRuntimeExports.jsx(ThemeProviderNoVars,{theme:Yi,...eo})}function GlobalStyles$1(Yi){return jsxRuntimeExports.jsx(GlobalStyles$2,{...Yi,defaultTheme:defaultTheme$1,themeId:THEME_ID})}function globalCss(Yi){return function(to){return jsxRuntimeExports.jsx(GlobalStyles$1,{styles:typeof Yi=="function"?ro=>Yi({theme:ro,...to}):Yi})}}function internal_createExtendSxProp(){return extendSxProp$1}const arg={theme:void 0};function memoTheme(Yi){let eo,to;return ro=>{let no=eo;return(no===void 0||ro.theme!==to)&&(arg.theme=ro.theme,no=Yi(arg),eo=no,to=ro.theme),no}}function useDefaultProps(Yi){return useDefaultProps$1(Yi)}function getSvgIconUtilityClass(Yi){return generateUtilityClass("MuiSvgIcon",Yi)}generateUtilityClasses("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const useUtilityClasses$1l=Yi=>{const{color:eo,fontSize:to,classes:ro}=Yi,no={root:["root",eo!=="inherit"&&`color${capitalize$3(eo)}`,`fontSize${capitalize$3(to)}`]};return composeClasses(no,getSvgIconUtilityClass,ro)},SvgIconRoot=styled("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.color!=="inherit"&&eo[`color${capitalize$3(to.color)}`],eo[`fontSize${capitalize$3(to.fontSize)}`]]}})(memoTheme(({theme:Yi})=>{var eo,to,ro,no,io,oo,ao,so,lo,co,uo,fo,ho,mo;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(no=(eo=Yi.transitions)==null?void 0:eo.create)==null?void 0:no.call(eo,"fill",{duration:(ro=(to=(Yi.vars??Yi).transitions)==null?void 0:to.duration)==null?void 0:ro.shorter}),variants:[{props:vo=>!vo.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((oo=(io=Yi.typography)==null?void 0:io.pxToRem)==null?void 0:oo.call(io,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((so=(ao=Yi.typography)==null?void 0:ao.pxToRem)==null?void 0:so.call(ao,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((co=(lo=Yi.typography)==null?void 0:lo.pxToRem)==null?void 0:co.call(lo,35))||"2.1875rem"}},...Object.entries((Yi.vars??Yi).palette).filter(([,vo])=>vo&&vo.main).map(([vo])=>{var Co,bo;return{props:{color:vo},style:{color:(bo=(Co=(Yi.vars??Yi).palette)==null?void 0:Co[vo])==null?void 0:bo.main}}}),{props:{color:"action"},style:{color:(fo=(uo=(Yi.vars??Yi).palette)==null?void 0:uo.action)==null?void 0:fo.active}},{props:{color:"disabled"},style:{color:(mo=(ho=(Yi.vars??Yi).palette)==null?void 0:ho.action)==null?void 0:mo.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),SvgIcon=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiSvgIcon"}),{children:no,className:io,color:oo="inherit",component:ao="svg",fontSize:so="medium",htmlColor:lo,inheritViewBox:co=!1,titleAccess:uo,viewBox:fo="0 0 24 24",...ho}=ro,mo=reactExports.isValidElement(no)&&no.type==="svg",vo={...ro,color:oo,component:ao,fontSize:so,instanceFontSize:eo.fontSize,inheritViewBox:co,viewBox:fo,hasSvgAsChild:mo},Co={};co||(Co.viewBox=fo);const bo=useUtilityClasses$1l(vo);return jsxRuntimeExports.jsxs(SvgIconRoot,{as:ao,className:clsx(bo.root,io),focusable:"false",color:lo,"aria-hidden":uo?void 0:!0,role:uo?"img":void 0,ref:to,...Co,...ho,...mo&&no.props,ownerState:vo,children:[mo?no.props.children:no,uo?jsxRuntimeExports.jsx("title",{children:uo}):null]})});SvgIcon&&(SvgIcon.muiName="SvgIcon");function createSvgIcon$1(Yi,eo){function to(ro,no){return jsxRuntimeExports.jsx(SvgIcon,{"data-testid":`${eo}Icon`,ref:no,...ro,children:Yi})}return to.muiName=SvgIcon.muiName,reactExports.memo(reactExports.forwardRef(to))}const unstable_ClassNameGenerator={configure:Yi=>{ClassNameGenerator.configure(Yi)}},utils$4=Object.freeze(Object.defineProperty({__proto__:null,capitalize:capitalize$3,createChainedFunction,createSvgIcon:createSvgIcon$1,debounce:debounce$4,deprecatedPropType,isMuiElement,ownerDocument,ownerWindow,requirePropFactory,setRef,unstable_ClassNameGenerator,unstable_useEnhancedEffect:useEnhancedEffect,unstable_useId:useId,unsupportedProp,useControlled,useEventCallback,useForkRef},Symbol.toStringTag,{value:"Module"}));function _objectWithoutPropertiesLoose$k(Yi,eo){if(Yi==null)return{};var to={};for(var ro in Yi)if({}.hasOwnProperty.call(Yi,ro)){if(eo.indexOf(ro)!==-1)continue;to[ro]=Yi[ro]}return to}function _setPrototypeOf$j(Yi,eo){return _setPrototypeOf$j=Object.
vendor: 4,331 bytes, lines 103-111
103setPrototypeOf?Object.setPrototypeOf.bind():function(to,ro){return to.__proto__=ro,to},_setPrototypeOf$j(Yi,eo)}function _inheritsLoose$3(Yi,eo){Yi.prototype=Object.create(eo.prototype),Yi.prototype.constructor=Yi,_setPrototypeOf$j(Yi,eo)}var reactDom={exports:{}},reactDom_production_min={},scheduler={exports:{}},scheduler_production_min={};/**
104 * @license React
105 * scheduler.production.min.js
106 *
107 * Copyright (c) Facebook, Inc. and its affiliates.
108 *
109 * This source code is licensed under the MIT license found in the
110 * LICENSE file in the root directory of this source tree.
111 */var hasRequiredScheduler_production_min;function requireScheduler_production_min(){return hasRequiredScheduler_production_min||(hasRequiredScheduler_production_min=1,(function(Yi){function eo(Bo,Fo){var Qo=Bo.length;Bo.push(Fo);e:for(;0<Qo;){var jo=Qo-1>>>1,Xo=Bo[jo];if(0<no(Xo,Fo))Bo[jo]=Fo,Bo[Qo]=Xo,Qo=jo;else break e}}function to(Bo){return Bo.length===0?null:Bo[0]}function ro(Bo){if(Bo.length===0)return null;var Fo=Bo[0],Qo=Bo.pop();if(Qo!==Fo){Bo[0]=Qo;e:for(var jo=0,Xo=Bo.length,Zo=Xo>>>1;jo<Zo;){var Wo=2*(jo+1)-1,ta=Bo[Wo],ra=Wo+1,da=Bo[ra];if(0>no(ta,Qo))ra<Xo&&0>no(da,ta)?(Bo[jo]=da,Bo[ra]=Qo,jo=ra):(Bo[jo]=ta,Bo[Wo]=Qo,jo=Wo);else if(ra<Xo&&0>no(da,Qo))Bo[jo]=da,Bo[ra]=Qo,jo=ra;else break e}}return Fo}function no(Bo,Fo){var Qo=Bo.sortIndex-Fo.sortIndex;return Qo!==0?Qo:Bo.id-Fo.id}if(typeof performance=="object"&&typeof performance.now=="function"){var io=performance;Yi.unstable_now=function(){return io.now()}}else{var oo=Date,ao=oo.now();Yi.unstable_now=function(){return oo.now()-ao}}var so=[],lo=[],co=1,uo=null,fo=3,ho=!1,mo=!1,vo=!1,Co=typeof setTimeout=="function"?setTimeout:null,bo=typeof clearTimeout=="function"?clearTimeout:null,wo=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function yo(Bo){for(var Fo=to(lo);Fo!==null;){if(Fo.callback===null)ro(lo);else if(Fo.startTime<=Bo)ro(lo),Fo.sortIndex=Fo.expirationTime,eo(so,Fo);else break;Fo=to(lo)}}function Eo(Bo){if(vo=!1,yo(Bo),!mo)if(to(so)!==null)mo=!0,Oo(xo);else{var Fo=to(lo);Fo!==null&&ko(Eo,Fo.startTime-Bo)}}function xo(Bo,Fo){mo=!1,vo&&(vo=!1,bo(Ro),Ro=-1),ho=!0;var Qo=fo;try{for(yo(Fo),uo=to(so);uo!==null&&(!(uo.expirationTime>Fo)||Bo&&!Ho());){var jo=uo.callback;if(typeof jo=="function"){uo.callback=null,fo=uo.priorityLevel;var Xo=jo(uo.expirationTime<=Fo);Fo=Yi.unstable_now(),typeof Xo=="function"?uo.callback=Xo:uo===to(so)&&ro(so),yo(Fo)}else ro(so);uo=to(so)}if(uo!==null)var Zo=!0;else{var Wo=to(lo);Wo!==null&&ko(Eo,Wo.startTime-Fo),Zo=!1}return Zo}finally{uo=null,fo=Qo,ho=!1}}var So=!1,To=null,Ro=-1,Po=5,zo=-1;function Ho(){return!(Yi.unstable_now()-zo<Po)}function Vo(){if(To!==null){var Bo=Yi.unstable_now();zo=Bo;var Fo=!0;try{Fo=To(!0,Bo)}finally{Fo?Lo():(So=!1,To=null)}}else So=!1}var Lo;if(typeof wo=="function")Lo=function(){wo(Vo)};else if(typeof MessageChannel<"u"){var Uo=new MessageChannel,Do=Uo.port2;Uo.port1.onmessage=Vo,Lo=function(){Do.postMessage(null)}}else Lo=function(){Co(Vo,0)};function Oo(Bo){To=Bo,So||(So=!0,Lo())}function ko(Bo,Fo){Ro=Co(function(){Bo(Yi.unstable_now())},Fo)}Yi.unstable_IdlePriority=5,Yi.unstable_ImmediatePriority=1,Yi.unstable_LowPriority=4,Yi.unstable_NormalPriority=3,Yi.unstable_Profiling=null,Yi.unstable_UserBlockingPriority=2,Yi.unstable_cancelCallback=function(Bo){Bo.callback=null},Yi.unstable_continueExecution=function(){mo||ho||(mo=!0,Oo(xo))},Yi.unstable_forceFrameRate=function(Bo){0>Bo||125<Bo?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Po=0<Bo?Math.floor(1e3/Bo):5},Yi.unstable_getCurrentPriorityLevel=function(){return fo},Yi.unstable_getFirstCallbackNode=function(){return to(so)},Yi.unstable_next=function(Bo){switch(fo){case 1:case 2:case 3:var Fo=3;break;default:Fo=fo}var Qo=fo;fo=Fo;try{return Bo()}finally{fo=Qo}},Yi.unstable_pauseExecution=function(){},Yi.unstable_requestPaint=function(){},Yi.unstable_runWithPriority=function(Bo,Fo){switch(Bo){case 1:case 2:case 3:case 4:case 5:break;default:Bo=3}var Qo=fo;fo=Bo;try{return Fo()}finally{fo=Qo}},Yi.unstable_scheduleCallback=function(Bo,Fo,Qo){var jo=Yi.unstable_now();
vendor: 4,344 bytes, lines 111-119
111switch(typeof Qo=="object"&&Qo!==null?(Qo=Qo.delay,Qo=typeof Qo=="number"&&0<Qo?jo+Qo:jo):Qo=jo,Bo){case 1:var Xo=-1;break;case 2:Xo=250;break;case 5:Xo=1073741823;break;case 4:Xo=1e4;break;default:Xo=5e3}return Xo=Qo+Xo,Bo={id:co++,callback:Fo,priorityLevel:Bo,startTime:Qo,expirationTime:Xo,sortIndex:-1},Qo>jo?(Bo.sortIndex=Qo,eo(lo,Bo),to(so)===null&&Bo===to(lo)&&(vo?(bo(Ro),Ro=-1):vo=!0,ko(Eo,Qo-jo))):(Bo.sortIndex=Xo,eo(so,Bo),mo||ho||(mo=!0,Oo(xo))),Bo},Yi.unstable_shouldYield=Ho,Yi.unstable_wrapCallback=function(Bo){var Fo=fo;return function(){var Qo=fo;fo=Fo;try{return Bo.apply(this,arguments)}finally{fo=Qo}}}})(scheduler_production_min)),scheduler_production_min}var hasRequiredScheduler;function requireScheduler(){return hasRequiredScheduler||(hasRequiredScheduler=1,scheduler.exports=requireScheduler_production_min()),scheduler.exports}/**
112 * @license React
113 * react-dom.production.min.js
114 *
115 * Copyright (c) Facebook, Inc. and its affiliates.
116 *
117 * This source code is licensed under the MIT license found in the
118 * LICENSE file in the root directory of this source tree.
119 */var hasRequiredReactDom_production_min;function requireReactDom_production_min(){if(hasRequiredReactDom_production_min)return reactDom_production_min;hasRequiredReactDom_production_min=1;var Yi=reactExports,eo=requireScheduler();function to(Ao){for(var go="https://reactjs.org/docs/error-decoder.html?invariant="+Ao,$o=1;$o<arguments.length;$o++)go+="&args[]="+encodeURIComponent(arguments[$o]);return"Minified React error #"+Ao+"; visit "+go+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var ro=new Set,no={};function io(Ao,go){oo(Ao,go),oo(Ao+"Capture",go)}function oo(Ao,go){for(no[Ao]=go,Ao=0;Ao<go.length;Ao++)ro.add(go[Ao])}var ao=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),so=Object.prototype.hasOwnProperty,lo=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,co={},uo={};function fo(Ao){return so.call(uo,Ao)?!0:so.call(co,Ao)?!1:lo.test(Ao)?uo[Ao]=!0:(co[Ao]=!0,!1)}function ho(Ao,go,$o,Mo){if($o!==null&&$o.type===0)return!1;switch(typeof go){case"function":case"symbol":return!0;case"boolean":return Mo?!1:$o!==null?!$o.acceptsBooleans:(Ao=Ao.toLowerCase().slice(0,5),Ao!=="data-"&&Ao!=="aria-");default:return!1}}function mo(Ao,go,$o,Mo){if(go===null||typeof go>"u"||ho(Ao,go,$o,Mo))return!0;if(Mo)return!1;if($o!==null)switch($o.type){case 3:return!go;case 4:return go===!1;case 5:return isNaN(go);case 6:return isNaN(go)||1>go}return!1}function vo(Ao,go,$o,Mo,Go,Jo,ha){this.acceptsBooleans=go===2||go===3||go===4,this.attributeName=Mo,this.attributeNamespace=Go,this.mustUseProperty=$o,this.propertyName=Ao,this.type=go,this.sanitizeURL=Jo,this.removeEmptyString=ha}var Co={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(Ao){Co[Ao]=new vo(Ao,0,!1,Ao,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(Ao){var go=Ao[0];Co[go]=new vo(go,1,!1,Ao[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(Ao){Co[Ao]=new vo(Ao,2,!1,Ao.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(Ao){Co[Ao]=new vo(Ao,2,!1,Ao,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(Ao){Co[Ao]=new vo(Ao,3,!1,Ao.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(Ao){Co[Ao]=new vo(Ao,3,!0,Ao,null,!1,!1)}),["capture","download"].forEach(function(Ao){Co[Ao]=new vo(Ao,4,!1,Ao,null,!1,!1)}),["cols","rows","size","span"].forEach(function(Ao){Co[Ao]=new vo(Ao,6,!1,Ao,null,!1,!1)}
vendor: 36,545 bytes, lines 119-123
119),["rowSpan","start"].forEach(function(Ao){Co[Ao]=new vo(Ao,5,!1,Ao.toLowerCase(),null,!1,!1)});var bo=/[\-:]([a-z])/g;function wo(Ao){return Ao[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(Ao){var go=Ao.replace(bo,wo);Co[go]=new vo(go,1,!1,Ao,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(Ao){var go=Ao.replace(bo,wo);Co[go]=new vo(go,1,!1,Ao,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(Ao){var go=Ao.replace(bo,wo);Co[go]=new vo(go,1,!1,Ao,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(Ao){Co[Ao]=new vo(Ao,1,!1,Ao.toLowerCase(),null,!1,!1)}),Co.xlinkHref=new vo("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(Ao){Co[Ao]=new vo(Ao,1,!1,Ao.toLowerCase(),null,!0,!0)});function yo(Ao,go,$o,Mo){var Go=Co.hasOwnProperty(go)?Co[go]:null;(Go!==null?Go.type!==0:Mo||!(2<go.length)||go[0]!=="o"&&go[0]!=="O"||go[1]!=="n"&&go[1]!=="N")&&(mo(go,$o,Go,Mo)&&($o=null),Mo||Go===null?fo(go)&&($o===null?Ao.removeAttribute(go):Ao.setAttribute(go,""+$o)):Go.mustUseProperty?Ao[Go.propertyName]=$o===null?Go.type===3?!1:"":$o:(go=Go.attributeName,Mo=Go.attributeNamespace,$o===null?Ao.removeAttribute(go):(Go=Go.type,$o=Go===3||Go===4&&$o===!0?"":""+$o,Mo?Ao.setAttributeNS(Mo,go,$o):Ao.setAttribute(go,$o))))}var Eo=Yi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,xo=Symbol.for("react.element"),So=Symbol.for("react.portal"),To=Symbol.for("react.fragment"),Ro=Symbol.for("react.strict_mode"),Po=Symbol.for("react.profiler"),zo=Symbol.for("react.provider"),Ho=Symbol.for("react.context"),Vo=Symbol.for("react.forward_ref"),Lo=Symbol.for("react.suspense"),Uo=Symbol.for("react.suspense_list"),Do=Symbol.for("react.memo"),Oo=Symbol.for("react.lazy"),ko=Symbol.for("react.offscreen"),Bo=Symbol.iterator;function Fo(Ao){return Ao===null||typeof Ao!="object"?null:(Ao=Bo&&Ao[Bo]||Ao["@@iterator"],typeof Ao=="function"?Ao:null)}var Qo=Object.assign,jo;function Xo(Ao){if(jo===void 0)try{throw Error()}catch($o){var go=$o.stack.trim().match(/\n( *(at )?)/);jo=go&&go[1]||""}return`
120`+jo+Ao}var Zo=!1;function Wo(Ao,go){if(!Ao||Zo)return"";Zo=!0;var $o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(go)if(go=function(){throw Error()},Object.defineProperty(go.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(go,[])}catch(Wa){var Mo=Wa}Reflect.construct(Ao,[],go)}else{try{go.call()}catch(Wa){Mo=Wa}Ao.call(go.prototype)}else{try{throw Error()}catch(Wa){Mo=Wa}Ao()}}catch(Wa){if(Wa&&Mo&&typeof Wa.stack=="string"){for(var Go=Wa.stack.split(`
121`),Jo=Mo.stack.split(`
122`),ha=Go.length-1,$a=Jo.length-1;1<=ha&&0<=$a&&Go[ha]!==Jo[$a];)$a--;for(;1<=ha&&0<=$a;ha--,$a--)if(Go[ha]!==Jo[$a]){if(ha!==1||$a!==1)do if(ha--,$a--,0>$a||Go[ha]!==Jo[$a]){var Ma=`
123`+Go[ha].replace(" at new "," at ");return Ao.displayName&&Ma.includes("<anonymous>")&&(Ma=Ma.replace("<anonymous>",Ao.displayName)),Ma}while(1<=ha&&0<=$a);break}}}finally{Zo=!1,Error.prepareStackTrace=$o}return(Ao=Ao?Ao.displayName||Ao.name:"")?Xo(Ao):""}function ta(Ao){switch(Ao.tag){case 5:return Xo(Ao.type);case 16:return Xo("Lazy");case 13:return Xo("Suspense");case 19:return Xo("SuspenseList");case 0:case 2:case 15:return Ao=Wo(Ao.type,!1),Ao;case 11:return Ao=Wo(Ao.type.render,!1),Ao;case 1:return Ao=Wo(Ao.type,!0),Ao;default:return""}}function ra(Ao){if(Ao==null)return null;if(typeof Ao=="function")return Ao.displayName||Ao.name||null;if(typeof Ao=="string")return Ao;switch(Ao){case To:return"Fragment";case So:return"Portal";case Po:return"Profiler";case Ro:return"StrictMode";case Lo:return"Suspense";case Uo:return"SuspenseList"}if(typeof Ao=="object")switch(Ao.$$typeof){case Ho:return(Ao.displayName||"Context")+".Consumer";case zo:return(Ao._context.displayName||"Context")+".Provider";case Vo:var go=Ao.render;return Ao=Ao.displayName,Ao||(Ao=go.displayName||go.name||"",Ao=Ao!==""?"ForwardRef("+Ao+")":"ForwardRef"),Ao;case Do:return go=Ao.displayName||null,go!==null?go:ra(Ao.type)||"Memo";case Oo:go=Ao._payload,Ao=Ao._init;try{return ra(Ao(go))}catch{}}return null}function da(Ao){var go=Ao.type;switch(Ao.tag){case 24:return"Cache";case 9:return(go.displayName||"Context")+".Consumer";case 10:return(go._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return Ao=go.render,Ao=Ao.displayName||Ao.name||"",go.displayName||(Ao!==""?"ForwardRef("+Ao+")":"ForwardRef");case 7:return"Fragment";case 5:return go;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ra(go);case 8:return go===Ro?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof go=="function")return go.displayName||go.name||null;if(typeof go=="string")return go}return null}function pa(Ao){switch(typeof Ao){case"boolean":case"number":case"string":case"undefined":return Ao;case"object":return Ao;default:return""}}function sa(Ao){var go=Ao.type;return(Ao=Ao.nodeName)&&Ao.toLowerCase()==="input"&&(go==="checkbox"||go==="radio")}function ya(Ao){var go=sa(Ao)?"checked":"value",$o=Object.getOwnPropertyDescriptor(Ao.constructor.prototype,go),Mo=""+Ao[go];if(!Ao.hasOwnProperty(go)&&typeof $o<"u"&&typeof $o.get=="function"&&typeof $o.set=="function"){var Go=$o.get,Jo=$o.set;return Object.defineProperty(Ao,go,{configurable:!0,get:function(){return Go.call(this)},set:function(ha){Mo=""+ha,Jo.call(this,ha)}}),Object.defineProperty(Ao,go,{enumerable:$o.enumerable}),{getValue:function(){return Mo},setValue:function(ha){Mo=""+ha},stopTracking:function(){Ao._valueTracker=null,delete Ao[go]}}}}function na(Ao){Ao._valueTracker||(Ao._valueTracker=ya(Ao))}function ea(Ao){if(!Ao)return!1;var go=Ao._valueTracker;if(!go)return!0;var $o=go.getValue(),Mo="";return Ao&&(Mo=sa(Ao)?Ao.checked?"true":"false":Ao.value),Ao=Mo,Ao!==$o?(go.setValue(Ao),!0):!1}function oa(Ao){if(Ao=Ao||(typeof document<"u"?document:void 0),typeof Ao>"u")return null;try{return Ao.activeElement||Ao.body}catch{return Ao.body}}function la(Ao,go){var $o=go.checked;return Qo({},go,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:$o??Ao._wrapperState.initialChecked})}function _a(Ao,go){var $o=go.defaultValue==null?"":go.defaultValue,Mo=go.checked!=null?go.checked:go.defaultChecked;$o=pa(go.value!=null?go.value:$o),Ao._wrapperState={initialChecked:Mo,initialValue:$o,controlled:go.type==="checkbox"||go.type==="radio"?go.checked!=null:go.value!=null}}function Ea(Ao,go){go=go.checked,go!=null&&yo(Ao,"checked",go,!1)}function Pa(Ao,go){Ea(Ao,go);var $o=pa(go.value),Mo=go.type;if($o!=null)Mo==="number"?($o===0&&Ao.value===""||Ao.value!=$o)&&(Ao.value=""+$o):Ao.value!==""+$o&&(Ao.value=""+$o);else if(Mo==="submit"||Mo==="reset"){Ao.removeAttribute("value");return}go.hasOwnProperty("value")?Ca(Ao,go.type,$o):go.hasOwnProperty("defaultValue")&&Ca(Ao,go.type,pa(go.defaultValue)),go.checked==null&&go.defaultChecked!=null&&(Ao.defaultChecked=!!go.defaultChecked)}function aa(Ao,go,$o){if(go.hasOwnProperty("value")||go.hasOwnProperty("defaultValue")){var Mo=go.type;if(!(Mo!=="submit"&&Mo!=="reset"||go.value!==void 0&&go.value!==null))return;go=""+Ao._wrapperState.initialValue,$o||go===Ao.value||(Ao.value=go),Ao.defaultValue=go}$o=Ao.name,$o!==""&&(Ao.name=""),Ao.defaultChecked=!!Ao._wrapperState.initialChecked,$o!==""&&(Ao.name=$o)}function Ca(Ao,go,$o){(go!=="number"||oa(Ao.ownerDocument)!==Ao)&&($o==null?Ao.defaultValue=""+Ao._wrapperState.initialValue:Ao.defaultValue!==""+$o&&(Ao.defaultValue=""+$o))}var Sa=Array.isArray;function Ia(Ao,go,$o,Mo){if(Ao=Ao.options,go){go={};for(var Go=0;Go<$o.length;Go++)go["$"+$o[Go]]=!0;for($o=0;$o<Ao.length;$o++)Go=go.hasOwnProperty("$"+Ao[$o].value),Ao[$o].selected!==Go&&(Ao[$o].selected=Go),Go&&Mo&&(Ao[$o].defaultSelected=!0)}else{for($o=""+pa($o),go=null,Go=0;Go<Ao.length;Go++){if(Ao[Go].value===$o){Ao[Go].selected=!0,Mo&&(Ao[Go].defaultSelected=!0);return}go!==null||Ao[Go].disabled||(go=Ao[Go])}go!==null&&(go.selected=!0)}}function Ta(Ao,go){if(go.dangerouslySetInnerHTML!=null)throw Error(to(91));return Qo({},go,{value:void 0,defaultValue:void 0,children:""+Ao._wrapperState.initialValue})}function va(Ao,go){var $o=go.value;if($o==null){if($o=go.children,go=go.defaultValue,$o!=null){if(go!=null)throw Error(to(92));if(Sa($o)){if(1<$o.length)throw Error(to(93));$o=$o[0]}go=$o}go==null&&(go=""),$o=go}Ao._wrapperState={initialValue:pa($o)}}function xa(Ao,go){var $o=pa(go.value),Mo=pa(go.defaultValue);$o!=null&&($o=""+$o,$o!==Ao.value&&(Ao.value=$o),go.defaultValue==null&&Ao.defaultValue!==$o&&(Ao.defaultValue=$o)),Mo!=null&&(Ao.defaultValue=""+Mo)}function Oa(Ao){var go=Ao.textContent;go===Ao._wrapperState.initialValue&&go!==""&&go!==null&&(Ao.value=go)}function Da(Ao){switch(Ao){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ia(Ao,go){return Ao==null||Ao==="http://www.w3.org/1999/xhtml"?Da(go):Ao==="http://www.w3.org/2000/svg"&&go==="foreignObject"?"http://www.w3.org/1999/xhtml":Ao}var Ko,Yo=(function(Ao){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(go,$o,Mo,Go){MSApp.execUnsafeLocalFunction(function(){return Ao(go,$o,Mo,Go)})}:Ao})(function(Ao,go){if(Ao.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in Ao)Ao.innerHTML=go;else{for(Ko=Ko||document.createElement("div"),Ko.innerHTML="<svg>"+go.valueOf().toString()+"</svg>",go=Ko.firstChild;Ao.firstChild;)Ao.removeChild(Ao.firstChild);for(;go.firstChild;)Ao.appendChild(go.firstChild)}});function ma(Ao,go){if(go){var $o=Ao.firstChild;if($o&&$o===Ao.lastChild&&$o.nodeType===3){$o.nodeValue=go;return}}Ao.textContent=go}var ga={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Fa=["Webkit","ms","Moz","O"];Object.keys(ga).forEach(function(Ao){Fa.forEach(function(go){go=go+Ao.charAt(0).toUpperCase()+Ao.substring(1),ga[go]=ga[Ao]})});function ja(Ao,go,$o){return go==null||typeof go=="boolean"||go===""?"":$o||typeof go!="number"||go===0||ga.hasOwnProperty(Ao)&&ga[Ao]?(""+go).trim():go+"px"}function Ga(Ao,go){Ao=Ao.style;for(var $o in go)if(go.hasOwnProperty($o)){var Mo=$o.indexOf("--")===0,Go=ja($o,go[$o],Mo);$o==="float"&&($o="cssFloat"),Mo?Ao.setProperty($o,Go):Ao[$o]=Go}}var Va=Qo({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function qa(Ao,go){if(go){if(Va[Ao]&&(go.children!=null||go.dangerouslySetInnerHTML!=null))throw Error(to(137,Ao));if(go.dangerouslySetInnerHTML!=null){if(go.children!=null)throw Error(to(60));if(typeof go.dangerouslySetInnerHTML!="object"||!("__html"in go.dangerouslySetInnerHTML))throw Error(to(61))}if(go.style!=null&&typeof go.style!="object")throw Error(to(62))}}function us(Ao,go){if(Ao.indexOf("-")===-1)return typeof go.is=="string";switch(Ao){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var as=null;function ps(Ao){return Ao=Ao.target||Ao.srcElement||window,Ao.correspondingUseElement&&(Ao=Ao.correspondingUseElement),Ao.nodeType===3?Ao.parentNode:Ao}var Rs=null,Ps=null,vs=null;function Ts(Ao){if(Ao=hf(Ao)){if(typeof Rs!="function")throw Error(to(280));var go=Ao.stateNode;go&&(go=jf(go),Rs(Ao.stateNode,Ao.type,go))}}function hs(Ao){Ps?vs?vs.push(Ao):vs=[Ao]:Ps=Ao}function ol(){if(Ps){var Ao=Ps,go=vs;if(vs=Ps=null,Ts(Ao),go)for(Ao=0;Ao<go.length;Ao++)Ts(go[Ao])}}function Zs(Ao,go){return Ao(go)}function $s(){}var al=!1;function Rl(Ao,go,$o){if(al)return Ao(go,$o);al=!0;try{return Zs(Ao,go,$o)}finally{al=!1,(Ps!==null||vs!==null)&&($s(),ol())}}function El(Ao,go){var $o=Ao.stateNode;if($o===null)return null;var Mo=jf($o);if(Mo===null)return null;$o=Mo[go];e:switch(go){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(Mo=!Mo.disabled)||(Ao=Ao.type,Mo=!(Ao==="button"||Ao==="input"||Ao==="select"||Ao==="textarea")),Ao=!Mo;break e;default:Ao=!1}if(Ao)return null;if($o&&typeof $o!="function")throw Error(to(231,go,typeof $o));return $o}var Sl=!1;if(ao)try{var xl={};Object.defineProperty(xl,"passive",{get:function(){Sl=!0}}),window.addEventListener("test",xl,xl),window.removeEventListener("test",xl,xl)}catch{Sl=!1}function yc(Ao,go,$o,Mo,Go,Jo,ha,$a,Ma){var Wa=Array.prototype.slice.call(arguments,3);try{go.apply($o,Wa)}catch(ls){this.onError(ls)}}var Ll=!1,kl=null,Vl=!1,Ql=null,cl={onError:function(Ao){Ll=!0,kl=Ao}};function sl(Ao,go,$o,Mo,Go,Jo,ha,$a,Ma){Ll=!1,kl=null,yc.apply(cl,arguments)}function qs(Ao,go,$o,Mo,Go,Jo,ha,$a,Ma){if(sl.apply(this,arguments),Ll){if(Ll){var Wa=kl;Ll=!1,kl=null}else throw Error(to(198));Vl||(Vl=!0,Ql=Wa)}}function Ya(Ao){var go=Ao,$o=Ao;if(Ao.alternate)for(;go.return;)go=go.return;else{Ao=go;do go=Ao,(go.flags&4098)!==0&&($o=go.return),Ao=go.return;while(Ao)}return go.tag===3?$o:null}function Ka(Ao){if(Ao.tag===13){var go=Ao.memoizedState;if(go===null&&(Ao=Ao.alternate,Ao!==null&&(go=Ao.memoizedState)),go!==null)return go.dehydrated}return null}function ys(Ao){if(Ya(Ao)!==Ao)throw Error(to(188))}function Ls(Ao){var go=Ao.alternate;if(!go){if(go=Ya(Ao),go===null)throw Error(to(188));return go!==Ao?null:Ao}for(var $o=Ao,Mo=go;;){var Go=$o.return;if(Go===null)break;var Jo=Go.alternate;if(Jo===null){if(Mo=Go.return,Mo!==null){$o=Mo;continue}break}if(Go.child===Jo.child){for(Jo=Go.child;Jo;){if(Jo===$o)return ys(Go),Ao;if(Jo===Mo)return ys(Go),go;Jo=Jo.sibling}throw Error(to(188))}if($o.return!==Mo.return)$o=Go,Mo=Jo;else{for(var ha=!1,$a=Go.child;$a;){if($a===$o){ha=!0,$o=Go,Mo=Jo;break}if($a===Mo){ha=!0,Mo=Go,$o=Jo;break}$a=$a.sibling}if(!ha){for($a=Jo.child;$a;){if($a===$o){ha=!0,$o=Jo,Mo=Go;break}if($a===Mo){ha=!0,Mo=Jo,$o=Go;break}$a=$a.sibling}if(!ha)throw Error(to(189))}}if($o.alternate!==Mo)throw Error(to(190))}if($o.tag!==3)throw Error(to(188));return $o.stateNode.current===$o?Ao:go}function Ns(Ao){return Ao=Ls(Ao),Ao!==null?tl(Ao):null}function tl(Ao){if(Ao.tag===5||Ao.tag===6)return Ao;for(Ao=Ao.child;Ao!==null;){var go=tl(Ao);if(go!==null)return go;Ao=Ao.sibling}return null}var Qs=eo.unstable_scheduleCallback,$l=eo.unstable_cancelCallback,bc=eo.unstable_shouldYield,tu=eo.unstable_requestPaint,il=eo.unstable_now,Pc=eo.unstable_getCurrentPriorityLevel,Yl=eo.unstable_ImmediatePriority,sc=eo.unstable_UserBlockingPriority,Xl=eo.unstable_NormalPriority,gs=eo.unstable_LowPriority,Vs=eo.unstable_IdlePriority,Ys=null,dl=null;function zl(Ao){if(dl&&typeof dl.onCommitFiberRoot=="function")try{dl.onCommitFiberRoot(Ys,Ao,void 0,(Ao.current.flags&128)===128)}catch{}}var Bl=Math.clz32?Math.clz32:nu,ru=Math.log,Us=Math.LN2;function nu(Ao){return Ao>>>=0,Ao===0?32:31-(ru(Ao)/Us|0)|0}var Rc=64,Nl=4194304;function vl(Ao){switch(Ao&-Ao){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return Ao&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return Ao&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return Ao}}function _c(Ao,go){var $o=Ao.pendingLanes;if($o===0)return 0;var Mo=0,Go=Ao.suspendedLanes,Jo=Ao.pingedLanes,ha=$o&268435455;if(ha!==0){var $a=ha&~Go;$a!==0?Mo=vl($a):(Jo&=ha,Jo!==0&&(Mo=vl(Jo)))}else ha=$o&~Go,ha!==0?Mo=vl(ha):Jo!==0&&(Mo=vl(Jo));if(Mo===0)return 0;if(go!==0&&go!==Mo&&(go&Go)===0&&(Go=Mo&-Mo,Jo=go&-go,Go>=Jo||Go===16&&(Jo&4194240)!==0))return go;if((Mo&4)!==0&&(Mo|=$o&16),go=Ao.entangledLanes,go!==0)for(Ao=Ao.entanglements,go&=Mo;0<go;)$o=31-Bl(go),Go=1<<$o,Mo|=Ao[$o],go&=~Go;return Mo}function Oc(Ao,go){switch(Ao){case 1:case 2:case 4:return go+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return go+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Sc(Ao,go){for(var $o=Ao.suspendedLanes,Mo=Ao.pingedLanes,Go=Ao.expirationTimes,Jo=Ao.pendingLanes;0<Jo;){var ha=31-Bl(Jo),$a=1<<ha,Ma=Go[ha];Ma===-1?(($a&$o)===0||($a&Mo)!==0)&&(Go[ha]=Oc($a,go)):Ma<=go&&(Ao.expiredLanes|=$a),Jo&=~$a}}function Cc(Ao){return Ao=Ao.pendingLanes&-1073741825,Ao!==0?Ao:Ao&1073741824?1073741824:0}function iu(){var Ao=Rc;return Rc<<=1,(Rc&4194240)===0&&(Rc=64),Ao}function jc(Ao){for(var go=[],$o=0;31>$o;$o++)go.push(Ao);return go}function yl(Ao,go,$o){Ao.pendingLanes|=go,go!==536870912&&(Ao.suspendedLanes=0,Ao.pingedLanes=0),Ao=Ao.eventTimes,go=31-Bl(go),Ao[go]=$o}function ul(Ao,go){var $o=Ao.pendingLanes&~go;Ao.pendingLanes=go,Ao.suspendedLanes=0,Ao.pingedLanes=0,Ao.expiredLanes&=go,Ao.mutableReadLanes&=go,Ao.entangledLanes&=go,go=Ao.entanglements;var Mo=Ao.eventTimes;for(Ao=Ao.expirationTimes;0<$o;){var Go=31-Bl($o),Jo=1<<Go;go[Go]=0,Mo[Go]=-1,Ao[Go]=-1,$o&=~Jo}}function pc(Ao,go){var $o=Ao.entangledLanes|=go;for(Ao=Ao.entanglements;$o;){var Mo=31-Bl($o),Go=1<<Mo;Go&go|Ao[Mo]&go&&(Ao[Mo]|=go),$o&=~Go}}var Ws=0;function Wl(Ao){return Ao&=-Ao,1<Ao?4<Ao?(Ao&268435455)!==0?16:536870912:4:1}var Es,kc,rc,nc,Ac,ua=!1,ba=[],Aa=null,_o=null,Io=null,No=new Map,qo=new Map,fa=[],wa="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ra(Ao,go){switch(Ao){case"focusin":case"focusout":Aa=null;break;case"dragenter":case"dragleave":_o=null;break;case"mouseover":case"mouseout":Io=null;break;case"pointerover":case"pointerout":No.delete(go.pointerId);break;case"gotpointercapture":case"lostpointercapture":qo.delete(go.pointerId)}}function Ua(Ao,go,$o,Mo,Go,Jo){return Ao===null||Ao.nativeEvent!==Jo?(Ao={blockedOn:go,domEventName:$o,eventSystemFlags:Mo,nativeEvent:Jo,targetContainers:[Go]},go!==null&&(go=hf(go),go!==null&&kc(go)),Ao):(Ao.eventSystemFlags|=Mo,go=Ao.targetContainers,Go!==null&&go.indexOf(Go)===-1&&go.push(Go),Ao)}function Na(Ao,go,$o,Mo,Go){switch(go){case"focusin":return Aa=Ua(Aa,Ao,go,$o,Mo,Go),!0;case"dragenter":return _o=Ua(_o,Ao,go,$o,Mo,Go),!0;case"mouseover":return Io=Ua(Io,Ao,go,$o,Mo,Go),!0;case"pointerover":var Jo=Go.pointerId;return No.set(Jo,Ua(No.get(Jo)||null,Ao,go,$o,Mo,Go)),!0;case"gotpointercapture":return Jo=Go.pointerId,qo.set(Jo,Ua(qo.get(Jo)||null,Ao,go,$o,Mo,Go)),!0}return!1}function Ja(Ao){var go=Su(Ao.target);if(go!==null){var $o=Ya(go);if($o!==null){if(go=$o.tag,go===13){if(go=Ka($o),go!==null){Ao.blockedOn=go,Ac(Ao.priority,function(){rc($o)});return}}else if(go===3&&$o.stateNode.current.memoizedState.isDehydrated){Ao.blockedOn=$o.tag===3?$o.stateNode.containerInfo:null;return}}}Ao.blockedOn=null}function Za(Ao){if(Ao.blockedOn!==null)return!1;for(var go=Ao.targetContainers;0<go.length;){var $o=Wc(Ao.domEventName,Ao.eventSystemFlags,go[0],Ao.nativeEvent);if($o===null){$o=Ao.nativeEvent;var Mo=new $o.constructor($o.type,$o);as=Mo,$o.target.dispatchEvent(Mo),as=null}else return go=hf($o),go!==null&&kc(go),Ao.blockedOn=$o,!1;go.shift()}return!0}function Ss(Ao,go,$o){Za(Ao)&&$o.delete(go)}function Gs(){ua=!1,Aa!==null&&Za(Aa)&&(Aa=null),_o!==null&&Za(_o)&&(_o=null),Io!==null&&Za(Io)&&(Io=null),No.forEach(Ss),qo.forEach(Ss)}function rl(Ao,go){Ao.blockedOn===go&&(Ao.blockedOn=null,ua||(ua=!0,eo.unstable_scheduleCallback(eo.unstable_NormalPriority,Gs)))}function zs(Ao){function go(Go){return rl(Go,Ao)}if(0<ba.length){rl(ba[0],Ao);for(var $o=1;$o<ba.length;$o++){var Mo=ba[$o];Mo.blockedOn===Ao&&(Mo.blockedOn=null)}}for(Aa!==null&&rl(Aa,Ao),_o!==null&&rl(_o,Ao),Io!==null&&rl(Io,Ao),No.forEach(go),qo.forEach(go),$o=0;$o<fa.length;$o++)Mo=fa[$o],Mo.blockedOn===Ao&&(Mo.blockedOn=null);for(;0<fa.length&&($o=fa[0],$o.blockedOn===null);)Ja($o),$o.blockedOn===null&&fa.shift()}var Fl=Eo.ReactCurrentBatchConfig,bl=!0;function Gl(Ao,go,$o,Mo){var Go=Ws,Jo=Fl.transition;Fl.transition=null;try{Ws=1,wc(Ao,go,$o,Mo)}finally{Ws=Go,Fl.transition=Jo}}function bu(Ao,go,$o,Mo){var Go=Ws,Jo=Fl.transition;Fl.transition=null;try{Ws=4,wc(Ao,go,$o,Mo)}finally{Ws=Go,Fl.transition=Jo}}function wc(Ao,go,$o,Mo){if(bl){var Go=Wc(Ao,go,$o,Mo);if(Go===null)Hd(Ao,go,Mo,ou,$o),Ra(Ao,Mo);else if(Na(Go,Ao,go,$o,Mo))Mo.stopPropagation();else if(Ra(Ao,Mo),go&4&&-1<wa.indexOf(Ao)){for(;Go!==null;){var Jo=hf(Go);if(Jo!==null&&Es(Jo),Jo=Wc(Ao,go,$o,Mo),Jo===null&&Hd(Ao,go,Mo,ou,$o),Jo===Go)break;Go=Jo}Go!==null&&Mo.stopPropagation()}else Hd(Ao,go,Mo,null,$o)}}var ou=null;function Wc(Ao,go,$o,Mo){if(ou=null,Ao=ps(Mo),Ao=Su(Ao),Ao!==null)if(go=Ya(Ao),go===null)Ao=null;else if($o=go.tag,$o===13){if(Ao=Ka(go),Ao!==null)return Ao;Ao=null}else if($o===3){if(go.stateNode.current.memoizedState.isDehydrated)return go.tag===3?go.stateNode.containerInfo:null;Ao=null}else go!==Ao&&(Ao=null);return ou=Ao,null}function ku(Ao){switch(Ao){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Pc()){case Yl:return 1;case sc:return 4;case Xl:case gs:return 16;case Vs:return 536870912;default:return 16}default:return 16}}var hc=null,ca=null,Ba=null;function za(){if(Ba)return Ba;var Ao,go=ca,$o=go.length,Mo,Go="value"in hc?hc.value:hc.textContent,Jo=Go.length;for(Ao=0;Ao<$o&&go[Ao]===Go[Ao];Ao++);var ha=$o-Ao;for(Mo=1;Mo<=ha&&go[$o-Mo]===Go[Jo-Mo];Mo++);return Ba=Go.slice(Ao,1<Mo?1-Mo:void 0)}function Xa(Ao){var go=Ao.keyCode;return"charCode"in Ao?(Ao=Ao.charCode,Ao===0&&go===13&&(Ao=13)):Ao=go,Ao===10&&(Ao=13),32<=Ao||Ao===13?Ao:0}function fs(){return!0}function Os(){return!1}function bs(Ao){function go($o,Mo,Go,Jo,ha){this._reactName=$o,this._targetInst=Go,this.type=Mo,this.nativeEvent=Jo,this.target=ha,this.currentTarget=null;for(var $a in Ao)Ao.hasOwnProperty($a)&&($o=Ao[$a],this[$a]=$o?$o(Jo):Jo[$a]);return this.isDefaultPrevented=(Jo.defaultPrevented!=null?Jo.defaultPrevented:Jo.returnValue===!1)?fs:Os,this.isPropagationStopped=Os,this}return Qo(go.prototype,{preventDefault:function(){this.defaultPrevented=!0;var $o=this.nativeEvent;$o&&($o.preventDefault?$o.preventDefault():typeof $o.returnValue!="unknown"&&($o.returnValue=!1),this.isDefaultPrevented=fs)},stopPropagation:function(){var $o=this.nativeEvent;$o&&($o.stopPropagation?$o.stopPropagation():typeof $o.cancelBubble!="unknown"&&($o.cancelBubble=!0),this.isPropagationStopped=fs)},persist:function(){},isPersistent:fs}),go}var Ms={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(Ao){return Ao.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ks=bs(Ms),Xs=Qo({},Ms,{view:0,detail:0}),pl=bs(Xs),ll,fl,Al,Il=Qo({},Xs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pd,button:0,buttons:0,relatedTarget:function(Ao){return Ao.relatedTarget===void 0?Ao.fromElement===Ao.srcElement?Ao.toElement:Ao.fromElement:Ao.relatedTarget},movementX:function(Ao){return"movementX"in Ao?Ao.movementX:(Ao!==Al&&(Al&&Ao.type==="mousemove"?(ll=Ao.screenX-Al.screenX,fl=Ao.screenY-Al.screenY):fl=ll=0,Al=Ao),ll)},movementY:function(Ao){return"movementY"in Ao?Ao.movementY:fl}}),_u=bs(Il),of=Qo({},Il,{dataTransfer:0}),Rf=bs(of),Id=Qo({},Xs,{relatedTarget:0}),Fu=bs(Id),Td=Qo({},Ms,{animationName:0,elapsedTime:0,pseudoElement:0}),Of=bs(Td),Bd=Qo({},Ms,{clipboardData:function(Ao){return"clipboardData"in Ao?Ao.clipboardData:window.clipboardData}}),ym=bs(Bd),bm=Qo({},Ms,{data:0}),oA=bs(bm),_m={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sm={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Cm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function wm(Ao){var go=this.nativeEvent;return go.getModifierState?go.getModifierState(Ao):(Ao=Cm[Ao])?!!go[Ao]:!1}function Pd(){return wm}var Em=Qo({},Xs,{key:function(Ao){if(Ao.key){var go=_m[Ao.key]||Ao.key;if(go!=="Unidentified")return go}return Ao.type==="keypress"?(Ao=Xa(Ao),Ao===13?"Enter":String.fromCharCode(Ao)):Ao.type==="keydown"||Ao.type==="keyup"?Sm[Ao.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pd,charCode:function(Ao){return Ao.type==="keypress"?Xa(Ao):0},keyCode:function(Ao){return Ao.type==="keydown"||Ao.type==="keyup"?Ao.keyCode:0},which:function(Ao){return Ao.type==="keypress"?Xa(Ao):Ao.type==="keydown"||Ao.type==="keyup"?Ao.keyCode:0}}),xm=bs(Em),$m=Qo({},Il,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),aA=bs($m),Im=Qo({},Xs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pd}),Tm=bs(Im),Bm=Qo({},Ms,{propertyName:0,elapsedTime:0,pseudoElement:0}),Pm=bs(Bm),Rm=Qo({},Il,{deltaX:function(Ao){return"deltaX"in Ao?Ao.deltaX:"wheelDeltaX"in Ao?-Ao.wheelDeltaX:0},deltaY:function(Ao){return"deltaY"in Ao?Ao.deltaY:"wheelDeltaY"in Ao?-Ao.wheelDeltaY:"wheelDelta"in Ao?-Ao.wheelDelta:0},deltaZ:0,deltaMode:0}),Om=bs(Rm),km=[9,13,27,32],Rd=ao&&"CompositionEvent"in window,af=null;ao&&"documentMode"in document&&(af=document.documentMode);var Fm=ao&&"TextEvent"in window&&!af,sA=ao&&(!Rd||af&&8<af&&11>=af),lA=" ",cA=!1;function uA(Ao,go){switch(Ao){case"keyup":return km.indexOf(go.keyCode)!==-1;case"keydown":return go.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fA(Ao){return Ao=Ao.detail,typeof Ao=="object"&&"data"in Ao?Ao.data:null}var Mu=!1;function Mm(Ao,go){switch(Ao){case"compositionend":return fA(go);case"keypress":return go.which!==32?null:(cA=!0,lA);case"textInput":return Ao=go.data,Ao===lA&&cA?null:Ao;default:return null}}function Dm(Ao,go){if(Mu)return Ao==="compositionend"||!Rd&&uA(Ao,go)?(Ao=za(),Ba=ca=hc=null,Mu=!1,Ao):null;switch(Ao){case"paste":return null;case"keypress":if(!(go.ctrlKey||go.altKey||go.metaKey)||go.ctrlKey&&go.altKey){if(go.char&&1<go.char.length)return go.char;if(go.which)return String.fromCharCode(go.which)}return null;case"compositionend":return sA&&go.locale!=="ko"?null:go.data;default:return null}}var Lm={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function dA(Ao){var go=Ao&&Ao.nodeName&&Ao.nodeName.toLowerCase();return go==="input"?!!Lm[Ao.type]:go==="textarea"}function pA(Ao,go,$o,Mo){hs(Mo),go=Lf(go,"onChange"),0<go.length&&($o=new Ks("onChange","change",null,$o,Mo),Ao.push({event:$o,listeners:go}))}var sf=null,lf=null;function Nm(Ao){OA(Ao,0)}function kf(Ao){var go=ju(Ao);if(ea(go))return Ao}function Um(Ao,go){if(Ao==="change")return go}var AA=!1;if(ao){var Od;if(ao){var kd="oninput"in document;if(!kd){var hA=document.createElement("div");hA.setAttribute("oninput","return;"),kd=typeof hA.oninput=="function"}Od=kd}else Od=!1;AA=Od&&(!document.documentMode||9<document.documentMode)}function mA(){sf&&(sf.detachEvent("onpropertychange",gA),lf=sf=null)}function gA(Ao){if(Ao.propertyName==="value"&&kf(lf)){var go=[];pA(go,lf,Ao,ps(Ao)),Rl(Nm,go)}}function jm(Ao,go,$o){Ao==="focusin"?(mA(),sf=go,lf=$o,sf.attachEvent("onpropertychange",gA)):Ao==="focusout"&&mA()}function Hm(Ao){if(Ao==="selectionchange"||Ao==="keyup"||Ao==="keydown")return kf(lf)}function Vm(Ao,go){if(Ao==="click")return kf(go)}function Qm(Ao,go){if(Ao==="input"||Ao==="change")return kf(go)}function zm(Ao,go){return Ao===go&&(Ao!==0||1/Ao===1/go)||Ao!==Ao&&go!==go}var Fc=typeof Object.is=="function"?Object.is:zm;function cf(Ao,go){if(Fc(Ao,go))return!0;if(typeof Ao!="object"||Ao===null||typeof go!="object"||go===null)return!1;var $o=Object.keys(Ao),Mo=Object.keys(go);if($o.length!==Mo.length)return!1;for(Mo=0;Mo<$o.length;Mo++){var Go=$o[Mo];if(!so.call(go,Go)||!Fc(Ao[Go],go[Go]))return!1}return!0}function vA(Ao){for(;Ao&&Ao.firstChild;)Ao=Ao.firstChild;return Ao}function yA(Ao,go){var $o=vA(Ao);Ao=0;for(var Mo;$o;){if($o.nodeType===3){if(Mo=Ao+$o.textContent.length,Ao<=go&&Mo>=go)return{node:$o,offset:go-Ao};Ao=Mo}e:{for(;$o;){if($o.nextSibling){$o=$o.nextSibling;break e}$o=$o.parentNode}$o=void 0}$o=vA($o)}}function bA(Ao,go){return Ao&&go?Ao===go?!0:Ao&&Ao.nodeType===3?!1:go&&go.nodeType===3?bA(Ao,go.parentNode):"contains"in Ao?Ao.contains(go):Ao.compareDocumentPosition?!!(Ao.compareDocumentPosition(go)&16):!1:!1}function _A(){for(var Ao=window,go=oa();go instanceof Ao.HTMLIFrameElement;){try{var $o=typeof go.contentWindow.location.href=="string"}catch{$o=!1}if($o)Ao=go.contentWindow;else break;go=oa(Ao.document)}return go}function Fd(Ao){var go=Ao&&Ao.nodeName&&Ao.nodeName.toLowerCase();return go&&(go==="input"&&(Ao.type==="text"||Ao.type==="search"||Ao.type==="tel"||Ao.type==="url"||Ao.type==="password")||go==="textarea"||Ao.contentEditable==="true")}function Wm(Ao){var go=_A(),$o=Ao.focusedElem,Mo=Ao.selectionRange;if(go!==$o&&$o&&$o.ownerDocument&&bA($o.ownerDocument.documentElement,$o)){if(Mo!==null&&Fd($o)){if(go=Mo.start,Ao=Mo.end,Ao===void 0&&(Ao=go),"selectionStart"in $o)$o.selectionStart=go,$o.selectionEnd=Math.min(Ao,$o.value.length);else if(Ao=(go=$o.ownerDocument||document)&&go.defaultView||window,Ao.getSelection){Ao=Ao.getSelection();var Go=$o.textContent.length,Jo=Math.min(Mo.start,Go);Mo=Mo.end===void 0?Jo:Math.min(Mo.end,Go),!Ao.extend&&Jo>Mo&&(Go=Mo,Mo=Jo,Jo=Go),Go=yA($o,Jo);var ha=yA($o,Mo);Go&&ha&&(Ao.rangeCount!==1||Ao.anchorNode!==Go.node||Ao.anchorOffset!==Go.offset||Ao.focusNode!==ha.node||Ao.focusOffset!==ha.offset)&&(go=go.createRange(),go.setStart(Go.node,Go.offset),Ao.removeAllRanges(),Jo>Mo?(Ao.addRange(go),Ao.extend(ha.node,ha.offset)):(go.setEnd(ha.node,ha.offset),Ao.addRange(go)))}}for(go=[],Ao=$o;Ao=Ao.parentNode;)Ao.nodeType===1&&go.push({element:Ao,left:Ao.scrollLeft,top:Ao.scrollTop});for(typeof $o.focus=="function"&&$o.focus(),$o=0;$o<go.length;$o++)Ao=go[$o],Ao.element.scrollLeft=Ao.left,Ao.element.scrollTop=Ao.top}}var Gm=ao&&"documentMode"in document&&11>=document.documentMode,Du=null,Md=null,uf=null,Dd=!1;function CA(Ao,go,$o){var Mo=$o.window===$o?$o.document:$o.nodeType===9?$o:$o.ownerDocument;Dd||Du==null||Du!==oa(Mo)||(Mo=Du,"selectionStart"in Mo&&Fd(Mo)?Mo={start:Mo.selectionStart,end:Mo.selectionEnd}:(Mo=(Mo.ownerDocument&&Mo.ownerDocument.defaultView||window).getSelection(),Mo={anchorNode:Mo.anchorNode,anchorOffset:Mo.anchorOffset,focusNode:Mo.focusNode,focusOffset:Mo.focusOffset}),uf&&cf(uf,Mo)||(uf=Mo,Mo=Lf(Md,"onSelect"),0<Mo.length&&(go=new Ks("onSelect","select",null,go,$o),Ao.push({event:go,listeners:Mo}),go.target=Du)))}function Ff(Ao,go){var $o={};return $o[Ao.toLowerCase()]=go.toLowerCase(),$o["Webkit"+Ao]="webkit"+go,$o["Moz"+Ao]="moz"+go,$o}var Lu={animationend:Ff("Animation","AnimationEnd"),animationiteration:Ff("Animation","AnimationIteration"),animationstart:Ff("Animation","AnimationStart"),transitionend:Ff("Transition","TransitionEnd")},Ld={},wA={};ao&&(wA=document.createElement("div").style,"AnimationEvent"in window||(delete Lu.animationend.animation,delete Lu.animationiteration.animation,delete Lu.animationstart.animation),"TransitionEvent"in window||delete Lu.transitionend.transition);function Mf(Ao){if(Ld[Ao])return Ld[Ao];if(!Lu[Ao])return Ao;var go=Lu[Ao],$o;for($o in go)if(go.hasOwnProperty($o)&&$o in wA)return Ld[Ao]=go[$o];return Ao}var EA=Mf("animationend"),xA=Mf("animationiteration"),$A=Mf("animationstart"),IA=Mf("transitionend"),TA=new Map,PA="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function au(Ao,go){TA.set(Ao,go),io(go,[Ao])}for(var Nd=0;Nd<PA.length;Nd++){var Ud=PA[Nd],Km=Ud.toLowerCase(),qm=Ud[0].toUpperCase()+Ud.slice(1);au(Km,"on"+qm)}au(EA,"onAnimationEnd"),au(xA,"onAnimationIteration"),au($A,"onAnimationStart"),au("dblclick","onDoubleClick"),au("focusin","onFocus"),au("focusout","onBlur"),au(IA,"onTransitionEnd"),oo("onMouseEnter",["mouseout","mouseover"]),oo("onMouseLeave",["mouseout","mouseover"]),oo("onPointerEnter",["pointerout","pointerover"]),oo("onPointerLeave",["pointerout","pointerover"]),io("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),io("onSelect","focusout contextmenu dragend focu
123sin keydown keyup mousedown mouseup selectionchange".split(" ")),io("onBeforeInput",["compositionend","keypress","textInput","paste"]),io("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),io("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),io("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ff="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ym=new Set("cancel close invalid load scroll toggle".split(" ").concat(ff));function RA(Ao,go,$o){var Mo=Ao.type||"unknown-event";Ao.currentTarget=$o,qs(Mo,go,void 0,Ao),Ao.currentTarget=null}function OA(Ao,go){go=(go&4)!==0;for(var $o=0;$o<Ao.length;$o++){var Mo=Ao[$o],Go=Mo.event;Mo=Mo.listeners;e:{var Jo=void 0;if(go)for(var ha=Mo.length-1;0<=ha;ha--){var $a=Mo[ha],Ma=$a.instance,Wa=$a.currentTarget;if($a=$a.listener,Ma!==Jo&&Go.isPropagationStopped())break e;RA(Go,$a,Wa),Jo=Ma}else for(ha=0;ha<Mo.length;ha++){if($a=Mo[ha],Ma=$a.instance,Wa=$a.currentTarget,$a=$a.listener,Ma!==Jo&&Go.isPropagationStopped())break e;RA(Go,$a,Wa),Jo=Ma}}}
vendor: 10,175 bytes, lines 123-124
123if(Vl)throw Ao=Ql,Vl=!1,Ql=null,Ao}function ml(Ao,go){var $o=go[Kd];$o===void 0&&($o=go[Kd]=new Set);var Mo=Ao+"__bubble";$o.has(Mo)||(kA(go,Ao,2,!1),$o.add(Mo))}function jd(Ao,go,$o){var Mo=0;go&&(Mo|=4),kA($o,Ao,Mo,go)}var Df="_reactListening"+Math.random().toString(36).slice(2);function df(Ao){if(!Ao[Df]){Ao[Df]=!0,ro.forEach(function($o){$o!=="selectionchange"&&(Ym.has($o)||jd($o,!1,Ao),jd($o,!0,Ao))});var go=Ao.nodeType===9?Ao:Ao.ownerDocument;go===null||go[Df]||(go[Df]=!0,jd("selectionchange",!1,go))}}function kA(Ao,go,$o,Mo){switch(ku(go)){case 1:var Go=Gl;break;case 4:Go=bu;break;default:Go=wc}$o=Go.bind(null,go,$o,Ao),Go=void 0,!Sl||go!=="touchstart"&&go!=="touchmove"&&go!=="wheel"||(Go=!0),Mo?Go!==void 0?Ao.addEventListener(go,$o,{capture:!0,passive:Go}):Ao.addEventListener(go,$o,!0):Go!==void 0?Ao.addEventListener(go,$o,{passive:Go}):Ao.addEventListener(go,$o,!1)}function Hd(Ao,go,$o,Mo,Go){var Jo=Mo;if((go&1)===0&&(go&2)===0&&Mo!==null)e:for(;;){if(Mo===null)return;var ha=Mo.tag;if(ha===3||ha===4){var $a=Mo.stateNode.containerInfo;if($a===Go||$a.nodeType===8&&$a.parentNode===Go)break;if(ha===4)for(ha=Mo.return;ha!==null;){var Ma=ha.tag;if((Ma===3||Ma===4)&&(Ma=ha.stateNode.containerInfo,Ma===Go||Ma.nodeType===8&&Ma.parentNode===Go))return;ha=ha.return}for(;$a!==null;){if(ha=Su($a),ha===null)return;if(Ma=ha.tag,Ma===5||Ma===6){Mo=Jo=ha;continue e}$a=$a.parentNode}}Mo=Mo.return}Rl(function(){var Wa=Jo,ls=ps($o),cs=[];e:{var os=TA.get(Ao);if(os!==void 0){var _s=Ks,ws=Ao;switch(Ao){case"keypress":if(Xa($o)===0)break e;case"keydown":case"keyup":_s=xm;break;case"focusin":ws="focus",_s=Fu;break;case"focusout":ws="blur",_s=Fu;break;case"beforeblur":case"afterblur":_s=Fu;break;case"click":if($o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":_s=_u;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":_s=Rf;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":_s=Tm;break;case EA:case xA:case $A:_s=Of;break;case IA:_s=Pm;break;case"scroll":_s=pl;break;case"wheel":_s=Om;break;case"copy":case"cut":case"paste":_s=ym;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":_s=aA}var xs=(go&4)!==0,Pl=!xs&&Ao==="scroll",Ha=xs?os!==null?os+"Capture":null:os;xs=[];for(var La=Wa,Qa;La!==null;){Qa=La;var ds=Qa.stateNode;if(Qa.tag===5&&ds!==null&&(Qa=ds,Ha!==null&&(ds=El(La,Ha),ds!=null&&xs.push(pf(La,ds,Qa)))),Pl)break;La=La.return}0<xs.length&&(os=new _s(os,ws,null,$o,ls),cs.push({event:os,listeners:xs}))}}if((go&7)===0){e:{if(os=Ao==="mouseover"||Ao==="pointerover",_s=Ao==="mouseout"||Ao==="pointerout",os&&$o!==as&&(ws=$o.relatedTarget||$o.fromElement)&&(Su(ws)||ws[Gc]))break e;if((_s||os)&&(os=ls.window===ls?ls:(os=ls.ownerDocument)?os.defaultView||os.parentWindow:window,_s?(ws=$o.relatedTarget||$o.toElement,_s=Wa,ws=ws?Su(ws):null,ws!==null&&(Pl=Ya(ws),ws!==Pl||ws.tag!==5&&ws.tag!==6)&&(ws=null)):(_s=null,ws=Wa),_s!==ws)){if(xs=_u,ds="onMouseLeave",Ha="onMouseEnter",La="mouse",(Ao==="pointerout"||Ao==="pointerover")&&(xs=aA,ds="onPointerLeave",Ha="onPointerEnter",La="pointer"),Pl=_s==null?os:ju(_s),Qa=ws==null?os:ju(ws),os=new xs(ds,La+"leave",_s,$o,ls),os.target=Pl,os.relatedTarget=Qa,ds=null,Su(ls)===Wa&&(xs=new xs(Ha,La+"enter",ws,$o,ls),xs.target=Qa,xs.relatedTarget=Pl,ds=xs),Pl=ds,_s&&ws)t:{for(xs=_s,Ha=ws,La=0,Qa=xs;Qa;Qa=Nu(Qa))La++;for(Qa=0,ds=Ha;ds;ds=Nu(ds))Qa++;for(;0<La-Qa;)xs=Nu(xs),La--;for(;0<Qa-La;)Ha=Nu(Ha),Qa--;for(;La--;){if(xs===Ha||Ha!==null&&xs===Ha.alternate)break t;xs=Nu(xs),Ha=Nu(Ha)}xs=null}else xs=null;_s!==null&&FA(cs,os,_s,xs,!1),ws!==null&&Pl!==null&&FA(cs,Pl,ws,xs,!0)}}e:{if(os=Wa?ju(Wa):window,_s=os.nodeName&&os.nodeName.toLowerCase(),_s==="select"||_s==="input"&&os.type==="file")var Is=Um;else if(dA(os))if(AA)Is=Qm;else{Is=Hm;var ks=jm}else(_s=os.nodeName)&&_s.toLowerCase()==="input"&&(os.type==="checkbox"||os.type==="radio")&&(Is=Vm);if(Is&&(Is=Is(Ao,Wa))){pA(cs,Is,$o,ls);break e}ks&&ks(Ao,os,Wa),Ao==="focusout"&&(ks=os._wrapperState)&&ks.controlled&&os.type==="number"&&Ca(os,"number",os.value)}switch(ks=Wa?ju(Wa):window,Ao){case"focusin":(dA(ks)||ks.contentEditable==="true")&&(Du=ks,Md=Wa,uf=null);break;case"focusout":uf=Md=Du=null;break;case"mousedown":Dd=!0;break;case"contextmenu":case"mouseup":case"dragend":Dd=!1,CA(cs,$o,ls);break;case"selectionchange":if(Gm)break;case"keydown":case"keyup":CA(cs,$o,ls)}var Fs;if(Rd)e:{switch(Ao){case"compositionstart":var Hs="onCompositionStart";break e;case"compositionend":Hs="onCompositionEnd";break e;case"compositionupdate":Hs="onCompositionUpdate";break e}Hs=void 0}else Mu?uA(Ao,$o)&&(Hs="onCompositionEnd"):Ao==="keydown"&&$o.keyCode===229&&(Hs="onCompositionStart");Hs&&(sA&&$o.locale!=="ko"&&(Mu||Hs!=="onCompositionStart"?Hs==="onCompositionEnd"&&Mu&&(Fs=za()):(hc=ls,ca="value"in hc?hc.value:hc.textContent,Mu=!0)),ks=Lf(Wa,Hs),0<ks.length&&(Hs=new oA(Hs,Ao,null,$o,ls),cs.push({event:Hs,listeners:ks}),Fs?Hs.data=Fs:(Fs=fA($o),Fs!==null&&(Hs.data=Fs)))),(Fs=Fm?Mm(Ao,$o):Dm(Ao,$o))&&(Wa=Lf(Wa,"onBeforeInput"),0<Wa.length&&(ls=new oA("onBeforeInput","beforeinput",null,$o,ls),cs.push({event:ls,listeners:Wa}),ls.data=Fs))}OA(cs,go)})}function pf(Ao,go,$o){return{instance:Ao,listener:go,currentTarget:$o}}function Lf(Ao,go){for(var $o=go+"Capture",Mo=[];Ao!==null;){var Go=Ao,Jo=Go.stateNode;Go.tag===5&&Jo!==null&&(Go=Jo,Jo=El(Ao,$o),Jo!=null&&Mo.unshift(pf(Ao,Jo,Go)),Jo=El(Ao,go),Jo!=null&&Mo.push(pf(Ao,Jo,Go))),Ao=Ao.return}return Mo}function Nu(Ao){if(Ao===null)return null;do Ao=Ao.return;while(Ao&&Ao.tag!==5);return Ao||null}function FA(Ao,go,$o,Mo,Go){for(var Jo=go._reactName,ha=[];$o!==null&&$o!==Mo;){var $a=$o,Ma=$a.alternate,Wa=$a.stateNode;if(Ma!==null&&Ma===Mo)break;$a.tag===5&&Wa!==null&&($a=Wa,Go?(Ma=El($o,Jo),Ma!=null&&ha.unshift(pf($o,Ma,$a))):Go||(Ma=El($o,Jo),Ma!=null&&ha.push(pf($o,Ma,$a)))),$o=$o.return}ha.length!==0&&Ao.push({event:go,listeners:ha})}var Xm=/\r\n?/g,Jm=/\u0000|\uFFFD/g;function MA(Ao){return(typeof Ao=="string"?Ao:""+Ao).replace(Xm,`
124`).replace(Jm,"")}function Nf(Ao,go,$o){if(go=MA(go),MA(Ao)!==go&&$o)throw Error(to(425))}function Uf(){}var Vd=null,Qd=null;function zd(Ao,go){return Ao==="textarea"||Ao==="noscript"||typeof go.children=="string"||typeof go.children=="number"||typeof go.dangerouslySetInnerHTML=="object"&&go.dangerouslySetInnerHTML!==null&&go.dangerouslySetInnerHTML.__html!=null}var Wd=typeof setTimeout=="function"?setTimeout:void 0,Zm=typeof clearTimeout=="function"?clearTimeout:void 0,DA=typeof Promise=="function"?Promise:void 0,eg=typeof queueMicrotask=="function"?queueMicrotask:typeof DA<"u"?function(Ao){return DA.resolve(null).then(Ao).catch(tg)}:Wd;function tg(Ao){setTimeout(function(){throw Ao})}function Gd(Ao,go){var $o=go,Mo=0;do{var Go=$o.nextSibling;if(Ao.removeChild($o),Go&&Go.nodeType===8)if($o=Go.data,$o==="/$"){if(Mo===0){Ao.removeChild(Go),zs(go);return}Mo--}else $o!=="$"&&$o!=="$?"&&$o!=="$!"||Mo++;$o=Go}while($o);zs(go)}function su(Ao){for(;Ao!=null;Ao=Ao.nextSibling){var go=Ao.nodeType;if(go===1||go===3)break;if(go===8){if(go=Ao.data,go==="$"||go==="$!"||go==="$?")break;if(go==="/$")return null}}return Ao}function LA(Ao){Ao=Ao.previousSibling;for(var go=0;Ao;){if(Ao.nodeType===8){var $o=Ao.data;if($o==="$"||$o==="$!"||$o==="$?"){if(go===0)return Ao;go--}else $o==="/$"&&go++}Ao=Ao.previousSibling}return null}var Uu=Math.random().toString(36).slice(2),Hc="__reactFiber$"+Uu,Af="__reactProps$"+Uu,Gc="__reactContainer$"+Uu,Kd="__reactEvents$"+Uu,rg="__reactListeners$"+Uu,ng="__reactHandles$"+Uu;function Su(Ao){var go=Ao[Hc];if(go)return go;for(var $o=Ao.parentNode;$o;){if(go=$o[Gc]||$o[Hc]){if($o=go.alternate,go.child!==null||$o!==null&&$o.child!==null)for(Ao=LA(Ao);Ao!==null;){if($o=Ao[Hc])return $o;Ao=LA(Ao)}return go}Ao=$o,$o=Ao.parentNode}return null}function hf(Ao){return Ao=Ao[Hc]||Ao[Gc],!Ao||Ao.tag!==5&&Ao.tag!==6&&Ao.tag!==13&&Ao.tag!==3?null:Ao}function ju(Ao){if(Ao.tag===5||Ao.tag===6)return Ao.stateNode;throw Error(to(33))}function jf(Ao){return Ao[Af]||null}var qd=[],Hu=-1;function lu(Ao){return{current:Ao}}function gl(Ao){0>Hu||(Ao.current=qd[Hu],qd[Hu]=null,Hu--)}function hl(Ao,go){Hu++,qd[Hu]=Ao.current,Ao.current=go}var cu={},Jl=lu(cu),lc=lu(!1),Cu=cu;function Vu(Ao,go){var $o=Ao.type.contextTypes;if(!$o)return cu;var Mo=Ao.stateNode;if(Mo&&Mo.__reactInternalMemoizedUnmaskedChildContext===go)return Mo.__reactInternalMemoizedMaskedChildContext;var Go={},Jo;for(Jo in $o)Go[Jo]=go[Jo];return Mo&&(Ao=Ao.stateNode,Ao.__reactInternalMemoizedUnmaskedChildContext=go,Ao.__reactInternalMemoizedMaskedChildContext=Go),Go}function cc(Ao){return Ao=Ao.childContextTypes,Ao!=null}function Hf(){gl(lc),gl(Jl)}function NA(Ao,go,$o){if(Jl.current!==cu)throw Error(to(168));hl(Jl,go),hl(lc,$o)}function UA(Ao,go,$o){var Mo=Ao.stateNode;if(go=go.childContextTypes,typeof Mo.getChildContext!="function")return $o;Mo=Mo.getChildContext();for(var Go in Mo)if(!(Go in go))throw Error(to(108,da(Ao)||"Unknown",Go));return Qo({},$o,Mo)}function Vf(Ao){return Ao=(Ao=Ao.stateNode)&&Ao.__reactInternalMemoizedMergedChildContext||cu,Cu=Jl.current,hl(Jl,Ao),hl(lc,lc.current),!0}function jA(Ao,go,$o){var Mo=Ao.stateNode;if(!Mo)throw Error(to(169));$o?(Ao=UA(Ao,go,Cu),Mo.__reactInternalMemoizedMergedChildContext=Ao,gl(lc),gl(Jl),hl(Jl,Ao)):gl(lc),hl(lc,$o)}var Kc=null,Qf=!1,Yd=!1;function HA(Ao){Kc===null?Kc=[Ao]:Kc.push(Ao)}function ig(Ao){Qf=!0,HA(Ao)}function uu(){if(!Yd&&Kc!==null){Yd=!0;var Ao=0,go=Ws;try{var $o=Kc;for(Ws=1;Ao<$o.length;Ao++){var Mo=$o[Ao];do Mo=Mo(!0);while(Mo!==null)}Kc=null,Qf=!1}catch(Go){throw Kc!==null&&(Kc=Kc.slice(Ao+1)),Qs(Yl,uu),Go}finally{Ws=go,Yd=!1}}return null}var Qu=[],zu=0,zf=null,Wf=0,Ec=[],xc=0,wu=null,qc=1,Yc="";function Eu(Ao,go){Qu[zu++]=Wf,Qu[zu++]=zf,zf=Ao,Wf=go}function VA(Ao,go,$o){Ec[xc++]=qc,Ec[xc++]=Yc,Ec[xc++]=wu,wu=Ao;var Mo=qc;Ao=Yc;var Go=32-Bl(Mo)-1;Mo&=~(1<<Go),$o+=1;var Jo=32-Bl(go)+Go;if(30<Jo){var ha=Go-Go%5;Jo=(Mo&(1<<ha)-1).toString(32),Mo>>
vendor: 3,002 bytes, line 124
124=ha,Go-=ha,qc=1<<32-Bl(go)+Go|$o<<Go|Mo,Yc=Jo+Ao}else qc=1<<Jo|$o<<Go|Mo,Yc=Ao}function Xd(Ao){Ao.return!==null&&(Eu(Ao,1),VA(Ao,1,0))}function Jd(Ao){for(;Ao===zf;)zf=Qu[--zu],Qu[zu]=null,Wf=Qu[--zu],Qu[zu]=null;for(;Ao===wu;)wu=Ec[--xc],Ec[xc]=null,Yc=Ec[--xc],Ec[xc]=null,qc=Ec[--xc],Ec[xc]=null}var mc=null,gc=null,_l=!1,Mc=null;function QA(Ao,go){var $o=Bc(5,null,null,0);$o.elementType="DELETED",$o.stateNode=go,$o.return=Ao,go=Ao.deletions,go===null?(Ao.deletions=[$o],Ao.flags|=16):go.push($o)}function zA(Ao,go){switch(Ao.tag){case 5:var $o=Ao.type;return go=go.nodeType!==1||$o.toLowerCase()!==go.nodeName.toLowerCase()?null:go,go!==null?(Ao.stateNode=go,mc=Ao,gc=su(go.firstChild),!0):!1;case 6:return go=Ao.pendingProps===""||go.nodeType!==3?null:go,go!==null?(Ao.stateNode=go,mc=Ao,gc=null,!0):!1;case 13:return go=go.nodeType!==8?null:go,go!==null?($o=wu!==null?{id:qc,overflow:Yc}:null,Ao.memoizedState={dehydrated:go,treeContext:$o,retryLane:1073741824},$o=Bc(18,null,null,0),$o.stateNode=go,$o.return=Ao,Ao.child=$o,mc=Ao,gc=null,!0):!1;default:return!1}}function Zd(Ao){return(Ao.mode&1)!==0&&(Ao.flags&128)===0}function ep(Ao){if(_l){var go=gc;if(go){var $o=go;if(!zA(Ao,go)){if(Zd(Ao))throw Error(to(418));go=su($o.nextSibling);var Mo=mc;go&&zA(Ao,go)?QA(Mo,$o):(Ao.flags=Ao.flags&-4097|2,_l=!1,mc=Ao)}}else{if(Zd(Ao))throw Error(to(418));Ao.flags=Ao.flags&-4097|2,_l=!1,mc=Ao}}}function WA(Ao){for(Ao=Ao.return;Ao!==null&&Ao.tag!==5&&Ao.tag!==3&&Ao.tag!==13;)Ao=Ao.return;mc=Ao}function Gf(Ao){if(Ao!==mc)return!1;if(!_l)return WA(Ao),_l=!0,!1;var go;if((go=Ao.tag!==3)&&!(go=Ao.tag!==5)&&(go=Ao.type,go=go!=="head"&&go!=="body"&&!zd(Ao.type,Ao.memoizedProps)),go&&(go=gc)){if(Zd(Ao))throw GA(),Error(to(418));for(;go;)QA(Ao,go),go=su(go.nextSibling)}if(WA(Ao),Ao.tag===13){if(Ao=Ao.memoizedState,Ao=Ao!==null?Ao.dehydrated:null,!Ao)throw Error(to(317));e:{for(Ao=Ao.nextSibling,go=0;Ao;){if(Ao.nodeType===8){var $o=Ao.data;if($o==="/$"){if(go===0){gc=su(Ao.nextSibling);break e}go--}else $o!=="$"&&$o!=="$!"&&$o!=="$?"||go++}Ao=Ao.nextSibling}gc=null}}else gc=mc?su(Ao.stateNode.nextSibling):null;return!0}function GA(){for(var Ao=gc;Ao;)Ao=su(Ao.nextSibling)}function Wu(){gc=mc=null,_l=!1}function tp(Ao){Mc===null?Mc=[Ao]:Mc.push(Ao)}var og=Eo.ReactCurrentBatchConfig;function mf(Ao,go,$o){if(Ao=$o.ref,Ao!==null&&typeof Ao!="function"&&typeof Ao!="object"){if($o._owner){if($o=$o._owner,$o){if($o.tag!==1)throw Error(to(309));var Mo=$o.stateNode}if(!Mo)throw Error(to(147,Ao));var Go=Mo,Jo=""+Ao;return go!==null&&go.ref!==null&&typeof go.ref=="function"&&go.ref._stringRef===Jo?go.ref:(go=function(ha){var $a=Go.refs;ha===null?delete $a[Jo]:$a[Jo]=ha},go._stringRef=Jo,go)}if(typeof Ao!="string")throw Error(to(284));if(!$o._owner)throw Error(to(290,Ao))}return Ao}function Kf(Ao,go){throw Ao=Object.prototype.toString.call(go),Error(to(31,Ao==="[object Object]"?"object with keys {"+Object.keys(go).join(", ")+"}":Ao))}function KA(Ao){var go=Ao._init;return go(Ao._payload)}
vendor: 4,095 bytes, line 124
124function qA(Ao){function go(Ha,La){if(Ao){var Qa=Ha.deletions;Qa===null?(Ha.deletions=[La],Ha.flags|=16):Qa.push(La)}}function $o(Ha,La){if(!Ao)return null;for(;La!==null;)go(Ha,La),La=La.sibling;return null}function Mo(Ha,La){for(Ha=new Map;La!==null;)La.key!==null?Ha.set(La.key,La):Ha.set(La.index,La),La=La.sibling;return Ha}function Go(Ha,La){return Ha=vu(Ha,La),Ha.index=0,Ha.sibling=null,Ha}function Jo(Ha,La,Qa){return Ha.index=Qa,Ao?(Qa=Ha.alternate,Qa!==null?(Qa=Qa.index,Qa<La?(Ha.flags|=2,La):Qa):(Ha.flags|=2,La)):(Ha.flags|=1048576,La)}function ha(Ha){return Ao&&Ha.alternate===null&&(Ha.flags|=2),Ha}function $a(Ha,La,Qa,ds){return La===null||La.tag!==6?(La=Kp(Qa,Ha.mode,ds),La.return=Ha,La):(La=Go(La,Qa),La.return=Ha,La)}function Ma(Ha,La,Qa,ds){var Is=Qa.type;return Is===To?ls(Ha,La,Qa.props.children,ds,Qa.key):La!==null&&(La.elementType===Is||typeof Is=="object"&&Is!==null&&Is.$$typeof===Oo&&KA(Is)===La.type)?(ds=Go(La,Qa.props),ds.ref=mf(Ha,La,Qa),ds.return=Ha,ds):(ds=vd(Qa.type,Qa.key,Qa.props,null,Ha.mode,ds),ds.ref=mf(Ha,La,Qa),ds.return=Ha,ds)}function Wa(Ha,La,Qa,ds){return La===null||La.tag!==4||La.stateNode.containerInfo!==Qa.containerInfo||La.stateNode.implementation!==Qa.implementation?(La=qp(Qa,Ha.mode,ds),La.return=Ha,La):(La=Go(La,Qa.children||[]),La.return=Ha,La)}function ls(Ha,La,Qa,ds,Is){return La===null||La.tag!==7?(La=Ou(Qa,Ha.mode,ds,Is),La.return=Ha,La):(La=Go(La,Qa),La.return=Ha,La)}function cs(Ha,La,Qa){if(typeof La=="string"&&La!==""||typeof La=="number")return La=Kp(""+La,Ha.mode,Qa),La.return=Ha,La;if(typeof La=="object"&&La!==null){switch(La.$$typeof){case xo:return Qa=vd(La.type,La.key,La.props,null,Ha.mode,Qa),Qa.ref=mf(Ha,null,La),Qa.return=Ha,Qa;case So:return La=qp(La,Ha.mode,Qa),La.return=Ha,La;case Oo:var ds=La._init;return cs(Ha,ds(La._payload),Qa)}if(Sa(La)||Fo(La))return La=Ou(La,Ha.mode,Qa,null),La.return=Ha,La;Kf(Ha,La)}return null}function os(Ha,La,Qa,ds){var Is=La!==null?La.key:null;if(typeof Qa=="string"&&Qa!==""||typeof Qa=="number")return Is!==null?null:$a(Ha,La,""+Qa,ds);if(typeof Qa=="object"&&Qa!==null){switch(Qa.$$typeof){case xo:return Qa.key===Is?Ma(Ha,La,Qa,ds):null;case So:return Qa.key===Is?Wa(Ha,La,Qa,ds):null;case Oo:return Is=Qa._init,os(Ha,La,Is(Qa._payload),ds)}if(Sa(Qa)||Fo(Qa))return Is!==null?null:ls(Ha,La,Qa,ds,null);Kf(Ha,Qa)}return null}function _s(Ha,La,Qa,ds,Is){if(typeof ds=="string"&&ds!==""||typeof ds=="number")return Ha=Ha.get(Qa)||null,$a(La,Ha,""+ds,Is);if(typeof ds=="object"&&ds!==null){switch(ds.$$typeof){case xo:return Ha=Ha.get(ds.key===null?Qa:ds.key)||null,Ma(La,Ha,ds,Is);case So:return Ha=Ha.get(ds.key===null?Qa:ds.key)||null,Wa(La,Ha,ds,Is);case Oo:var ks=ds._init;return _s(Ha,La,Qa,ks(ds._payload),Is)}if(Sa(ds)||Fo(ds))return Ha=Ha.get(Qa)||null,ls(La,Ha,ds,Is,null);Kf(La,ds)}return null}function ws(Ha,La,Qa,ds){for(var Is=null,ks=null,Fs=La,Hs=La=0,Hl=null;Fs!==null&&Hs<Qa.length;Hs++){Fs.index>Hs?(Hl=Fs,Fs=null):Hl=Fs.sibling;var nl=os(Ha,Fs,Qa[Hs],ds);if(nl===null){Fs===null&&(Fs=Hl);break}Ao&&Fs&&nl.alternate===null&&go(Ha,Fs),La=Jo(nl,La,Hs),ks===null?Is=nl:ks.sibling=nl,ks=nl,Fs=Hl}if(Hs===Qa.length)return $o(Ha,Fs),_l&&Eu(Ha,Hs),Is;if(Fs===null){for(;Hs<Qa.length;Hs++)Fs=cs(Ha,Qa[Hs],ds),Fs!==null&&(La=Jo(Fs,La,Hs),ks===null?Is=Fs:ks.sibling=Fs,ks=Fs);return _l&&Eu(Ha,Hs),Is}for(Fs=Mo(Ha,Fs);Hs<Qa.length;Hs++)Hl=_s(Fs,Ha,Hs,Qa[Hs],ds),Hl!==null&&(Ao&&Hl.alternate!==null&&Fs.delete(Hl.key===null?Hs:Hl.key),La=Jo(Hl,La,Hs),ks===null?Is=Hl:ks.sibling=Hl,ks=Hl);return Ao&&Fs.forEach(function(yu){return go(Ha,yu)}),_l&&Eu(Ha,Hs),Is}function xs(Ha,La,Qa,ds){var Is=Fo(Qa);if(typeof Is!="function")throw Error(to(150));if(Qa=Is.call(Qa),Qa==null)throw Error(to(151));for(var ks=Is=null,Fs=La,Hs=La=0,Hl=null,nl=Qa.next();Fs!==null&&!nl.done;Hs++,nl=Qa.next()){Fs.index>Hs?(Hl=Fs,Fs=null):Hl=Fs.sibling;var yu=os(Ha,Fs,nl.value,ds);if(yu===null){Fs===null&&(Fs=Hl);break}Ao&&Fs&&yu.alternate===null&&go(Ha,Fs),La=Jo(yu,La,Hs),ks===null?Is=yu:ks.sibling=yu,ks=yu,Fs=Hl}if(nl.done)return $o(Ha,Fs),_l&&Eu(Ha,Hs),Is;if(Fs===null){for(;!nl.done;
vendor: 11,653 bytes, line 124
124Hs++,nl=Qa.next())nl=cs(Ha,nl.value,ds),nl!==null&&(La=Jo(nl,La,Hs),ks===null?Is=nl:ks.sibling=nl,ks=nl);return _l&&Eu(Ha,Hs),Is}for(Fs=Mo(Ha,Fs);!nl.done;Hs++,nl=Qa.next())nl=_s(Fs,Ha,Hs,nl.value,ds),nl!==null&&(Ao&&nl.alternate!==null&&Fs.delete(nl.key===null?Hs:nl.key),La=Jo(nl,La,Hs),ks===null?Is=nl:ks.sibling=nl,ks=nl);return Ao&&Fs.forEach(function(Lg){return go(Ha,Lg)}),_l&&Eu(Ha,Hs),Is}function Pl(Ha,La,Qa,ds){if(typeof Qa=="object"&&Qa!==null&&Qa.type===To&&Qa.key===null&&(Qa=Qa.props.children),typeof Qa=="object"&&Qa!==null){switch(Qa.$$typeof){case xo:e:{for(var Is=Qa.key,ks=La;ks!==null;){if(ks.key===Is){if(Is=Qa.type,Is===To){if(ks.tag===7){$o(Ha,ks.sibling),La=Go(ks,Qa.props.children),La.return=Ha,Ha=La;break e}}else if(ks.elementType===Is||typeof Is=="object"&&Is!==null&&Is.$$typeof===Oo&&KA(Is)===ks.type){$o(Ha,ks.sibling),La=Go(ks,Qa.props),La.ref=mf(Ha,ks,Qa),La.return=Ha,Ha=La;break e}$o(Ha,ks);break}else go(Ha,ks);ks=ks.sibling}Qa.type===To?(La=Ou(Qa.props.children,Ha.mode,ds,Qa.key),La.return=Ha,Ha=La):(ds=vd(Qa.type,Qa.key,Qa.props,null,Ha.mode,ds),ds.ref=mf(Ha,La,Qa),ds.return=Ha,Ha=ds)}return ha(Ha);case So:e:{for(ks=Qa.key;La!==null;){if(La.key===ks)if(La.tag===4&&La.stateNode.containerInfo===Qa.containerInfo&&La.stateNode.implementation===Qa.implementation){$o(Ha,La.sibling),La=Go(La,Qa.children||[]),La.return=Ha,Ha=La;break e}else{$o(Ha,La);break}else go(Ha,La);La=La.sibling}La=qp(Qa,Ha.mode,ds),La.return=Ha,Ha=La}return ha(Ha);case Oo:return ks=Qa._init,Pl(Ha,La,ks(Qa._payload),ds)}if(Sa(Qa))return ws(Ha,La,Qa,ds);if(Fo(Qa))return xs(Ha,La,Qa,ds);Kf(Ha,Qa)}return typeof Qa=="string"&&Qa!==""||typeof Qa=="number"?(Qa=""+Qa,La!==null&&La.tag===6?($o(Ha,La.sibling),La=Go(La,Qa),La.return=Ha,Ha=La):($o(Ha,La),La=Kp(Qa,Ha.mode,ds),La.return=Ha,Ha=La),ha(Ha)):$o(Ha,La)}return Pl}var Gu=qA(!0),YA=qA(!1),qf=lu(null),Yf=null,Ku=null,rp=null;function np(){rp=Ku=Yf=null}function ip(Ao){var go=qf.current;gl(qf),Ao._currentValue=go}function op(Ao,go,$o){for(;Ao!==null;){var Mo=Ao.alternate;if((Ao.childLanes&go)!==go?(Ao.childLanes|=go,Mo!==null&&(Mo.childLanes|=go)):Mo!==null&&(Mo.childLanes&go)!==go&&(Mo.childLanes|=go),Ao===$o)break;Ao=Ao.return}}function qu(Ao,go){Yf=Ao,rp=Ku=null,Ao=Ao.dependencies,Ao!==null&&Ao.firstContext!==null&&((Ao.lanes&go)!==0&&(uc=!0),Ao.firstContext=null)}function $c(Ao){var go=Ao._currentValue;if(rp!==Ao)if(Ao={context:Ao,memoizedValue:go,next:null},Ku===null){if(Yf===null)throw Error(to(308));Ku=Ao,Yf.dependencies={lanes:0,firstContext:Ao}}else Ku=Ku.next=Ao;return go}var xu=null;function ap(Ao){xu===null?xu=[Ao]:xu.push(Ao)}function XA(Ao,go,$o,Mo){var Go=go.interleaved;return Go===null?($o.next=$o,ap(go)):($o.next=Go.next,Go.next=$o),go.interleaved=$o,Xc(Ao,Mo)}function Xc(Ao,go){Ao.lanes|=go;var $o=Ao.alternate;for($o!==null&&($o.lanes|=go),$o=Ao,Ao=Ao.return;Ao!==null;)Ao.childLanes|=go,$o=Ao.alternate,$o!==null&&($o.childLanes|=go),$o=Ao,Ao=Ao.return;return $o.tag===3?$o.stateNode:null}var fu=!1;function sp(Ao){Ao.updateQueue={baseState:Ao.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function JA(Ao,go){Ao=Ao.updateQueue,go.updateQueue===Ao&&(go.updateQueue={baseState:Ao.baseState,firstBaseUpdate:Ao.firstBaseUpdate,lastBaseUpdate:Ao.lastBaseUpdate,shared:Ao.shared,effects:Ao.effects})}function Jc(Ao,go){return{eventTime:Ao,lane:go,tag:0,payload:null,callback:null,next:null}}function du(Ao,go,$o){var Mo=Ao.updateQueue;if(Mo===null)return null;if(Mo=Mo.shared,(Js&2)!==0){var Go=Mo.pending;return Go===null?go.next=go:(go.next=Go.next,Go.next=go),Mo.pending=go,Xc(Ao,$o)}return Go=Mo.interleaved,Go===null?(go.next=go,ap(Mo)):(go.next=Go.next,Go.next=go),Mo.interleaved=go,Xc(Ao,$o)}function Xf(Ao,go,$o){if(go=go.updateQueue,go!==null&&(go=go.shared,($o&4194240)!==0)){var Mo=go.lanes;Mo&=Ao.pendingLanes,$o|=Mo,go.lanes=$o,pc(Ao,$o)}}function ZA(Ao,go){var $o=Ao.updateQueue,Mo=Ao.alternate;if(Mo!==null&&(Mo=Mo.updateQueue,$o===Mo)){var Go=null,Jo=null;if($o=$o.firstBaseUpdate,$o!==null){do{var ha={eventTime:$o.eventTime,lane:$o.lane,tag:$o.tag,payload:$o.payload,callback:$o.callback,next:null};Jo===null?Go=Jo=ha:Jo=Jo.next=ha,$o=$o.next}while($o!==null);Jo===null?Go=Jo=go:Jo=Jo.next=go}else Go=Jo=go;$o={baseState:Mo.baseState,firstBaseUpdate:Go,lastBaseUpdate:Jo,shared:Mo.shared,effects:Mo.effects},Ao.updateQueue=$o;return}Ao=$o.lastBaseUpdate,Ao===null?$o.firstBaseUpdate=go:Ao.next=go,$o.lastBaseUpdate=go}function Jf(Ao,go,$o,Mo){var Go=Ao.updateQueue;fu=!1;var Jo=Go.firstBaseUpdate,ha=Go.lastBaseUpdate,$a=Go.shared.pending;if($a!==null){Go.shared.pending=null;var Ma=$a,Wa=Ma.next;Ma.next=null,ha===null?Jo=Wa:ha.next=Wa,ha=Ma;var ls=Ao.alternate;ls!==null&&(ls=ls.updateQueue,$a=ls.lastBaseUpdate,$a!==ha&&($a===null?ls.firstBaseUpdate=Wa:$a.next=Wa,ls.lastBaseUpdate=Ma))}if(Jo!==null){var cs=Go.baseState;ha=0,ls=Wa=Ma=null,$a=Jo;do{var os=$a.lane,_s=$a.eventTime;if((Mo&os)===os){ls!==null&&(ls=ls.next={eventTime:_s,lane:0,tag:$a.tag,payload:$a.payload,callback:$a.callback,next:null});e:{var ws=Ao,xs=$a;switch(os=go,_s=$o,xs.tag){case 1:if(ws=xs.payload,typeof ws=="function"){cs=ws.call(_s,cs,os);break e}cs=ws;break e;case 3:ws.flags=ws.flags&-65537|128;case 0:if(ws=xs.payload,os=typeof ws=="function"?ws.call(_s,cs,os):ws,os==null)break e;cs=Qo({},cs,os);break e;case 2:fu=!0}}$a.callback!==null&&$a.lane!==0&&(Ao.flags|=64,os=Go.effects,os===null?Go.effects=[$a]:os.push($a))}else _s={eventTime:_s,lane:os,tag:$a.tag,payload:$a.payload,callback:$a.callback,next:null},ls===null?(Wa=ls=_s,Ma=cs):ls=ls.next=_s,ha|=os;if($a=$a.next,$a===null){if($a=Go.shared.pending,$a===null)break;os=$a,$a=os.next,os.next=null,Go.lastBaseUpdate=os,Go.shared.pending=null}}while(!0);if(ls===null&&(Ma=cs),Go.baseState=Ma,Go.firstBaseUpdate=Wa,Go.lastBaseUpdate=ls,go=Go.shared.interleaved,go!==null){Go=go;do ha|=Go.lane,Go=Go.next;while(Go!==go)}else Jo===null&&(Go.shared.lanes=0);Tu|=ha,Ao.lanes=ha,Ao.memoizedState=cs}}function eh(Ao,go,$o){if(Ao=go.effects,go.effects=null,Ao!==null)for(go=0;go<Ao.length;go++){var Mo=Ao[go],Go=Mo.callback;if(Go!==null){if(Mo.callback=null,Mo=$o,typeof Go!="function")throw Error(to(191,Go));Go.call(Mo)}}}var gf={},Vc=lu(gf),vf=lu(gf),yf=lu(gf);function $u(Ao){if(Ao===gf)throw Error(to(174));return Ao}function lp(Ao,go){switch(hl(yf,go),hl(vf,Ao),hl(Vc,gf),Ao=go.nodeType,Ao){case 9:case 11:go=(go=go.documentElement)?go.namespaceURI:ia(null,"");break;default:Ao=Ao===8?go.parentNode:go,go=Ao.namespaceURI||null,Ao=Ao.tagName,go=ia(go,Ao)}gl(Vc),hl(Vc,go)}function Yu(){gl(Vc),gl(vf),gl(yf)}function th(Ao){$u(yf.current);var go=$u(Vc.current),$o=ia(go,Ao.type);go!==$o&&(hl(vf,Ao),hl(Vc,$o))}function cp(Ao){vf.current===Ao&&(gl(Vc),gl(vf))}var Cl=lu(0);function Zf(Ao){for(var go=Ao;go!==null;){if(go.tag===13){var $o=go.memoizedState;if($o!==null&&($o=$o.dehydrated,$o===null||$o.data==="$?"||$o.data==="$!"))return go}else if(go.tag===19&&go.memoizedProps.revealOrder!==void 0){if((go.flags&128)!==0)return go}else if(go.child!==null){go.child.return=go,go=go.child;continue}if(go===Ao)break;for(;go.sibling===null;){if(go.return===null||go.return===Ao)return null;go=go.return}go.sibling.return=go.return,go=go.sibling}return null}var up=[];function fp(){for(var Ao=0;Ao<up.length;Ao++)up[Ao]._workInProgressVersionPrimary=null;up.length=0}var ed=Eo.ReactCurrentDispatcher,dp=Eo.ReactCurrentBatchConfig,Iu=0,wl=null,Ml=null,Ul=null,td=!1,bf=!1,_f=0,ag=0;function Zl(){throw Error(to(321))}function Ap(Ao,go){if(go===null)return!1;for(var $o=0;$o<go.length&&$o<Ao.length;$o++)if(!Fc(Ao[$o],go[$o]))return!1;return!0}function hp(Ao,go,$o,Mo,Go,Jo){if(Iu=Jo,wl=go,go.memoizedState=null,go.updateQueue=null,go.lanes=0,ed.current=Ao===null||Ao.memoizedState===null?ug:fg,Ao=$o(Mo,Go),bf){Jo=0;do{if(bf=!1,_f=0,25<=Jo)throw Error(to(301));Jo+=1,Ul=Ml=null,go.updateQueue=null,ed.current=dg,Ao=$o(Mo,Go)}while(bf)}if(ed.current=id,go=Ml!==null&&Ml.next!==null,Iu=0,Ul=Ml=wl=null,td=!1,go)throw Error(to(300));return Ao}function mp(){var Ao=_f!==0;return _f=0,Ao}function Qc(){var Ao={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ul===null?wl.memoizedState=Ul=Ao:Ul=Ul.next=Ao,Ul}function Ic(){if(Ml===null){var Ao=wl.alternate;Ao=Ao!==null?Ao.memoizedState:null}else Ao=Ml.next;var go=Ul===null?wl.memoizedState:Ul.next;if(go!==null)Ul=go,Ml=Ao;else{if(Ao===null)throw Error(to(310));Ml=Ao,Ao={memoizedState:Ml.memoizedState,baseState:Ml.baseState,baseQueue:Ml.baseQueue,queue:Ml.queue,next:null},Ul===null?wl.memoizedState=Ul=Ao:Ul=Ul.next=Ao}return Ul}function Sf(Ao,go){return typeof go=="function"?go(Ao):go}function gp(Ao){var go=Ic(),$o=go.queue;if($o===null)throw Error(to(311));$o.lastRenderedReducer=Ao;var Mo=Ml,Go=Mo.baseQueue,Jo=$o.pending;if(Jo!==null){if(Go!==null){var ha=Go.next;Go.next=Jo.next,Jo.next=ha}Mo.baseQueue=Go=Jo,$o.pending=null}if(Go!==null){Jo=Go.next,Mo=Mo.baseState;var $a=ha=null,Ma=null,Wa=Jo;do{var ls=Wa.lane;if((Iu&ls)===ls)Ma!==null&&(Ma=Ma.next={lane:0,action:Wa.action,hasEagerState:Wa.hasEagerState,eagerState:Wa.eagerState,next:null}),Mo=Wa.hasEagerState?Wa.eagerState:Ao(Mo,Wa.action);else{var cs={lane:ls,action:Wa.action,hasEagerState:Wa.hasEagerState,eagerState:Wa.eagerState,next:null};Ma===null?($a=Ma=cs,ha=Mo):Ma=Ma.next=cs,wl.lanes|=ls,Tu|=ls}Wa=Wa.next}while(Wa!==null&&Wa!==Jo);Ma===null?ha=Mo:Ma.next=$a,Fc(Mo,go.memoizedState)||(uc=!0),go.memoizedState=Mo,go.baseState=ha,go.baseQueue=Ma,$o.lastRenderedState=Mo}if(Ao=$o.interleaved,Ao!==null){Go=Ao;do Jo=Go.lane,wl.lanes|=Jo,Tu|=Jo,Go=Go.next;while(Go!==Ao)}else Go===null&&($o.lanes=0);return[go.memoizedState,$o.dispatch]}function vp(Ao){var go=Ic(),$o=go.queue;if($o===null)throw Error(to(311));$o.lastRenderedReducer=Ao;var Mo=$o.dispatch,Go=$o.pending,Jo=go.memoizedState;if(Go!==null){$o.pending=null;var ha=Go=Go.next;do Jo=Ao(Jo,ha.action),ha=ha.next;while(ha!==Go);Fc(Jo,go.memoizedState)||(uc=!0),go.memoizedState=Jo,go.baseQueue===null&&(go.baseState=Jo),$o.lastRenderedState=Jo}return[Jo,Mo]}function rh(){}function nh(Ao,go){var $o=wl,Mo=Ic(),Go=go(),Jo=!Fc(Mo.memoizedState,Go);if(Jo&&(Mo.memoizedState=Go,uc=!0),Mo=Mo.queue,yp(ah.bind(null,$o,Mo,Ao),[Ao]),Mo.getSnapshot!==go||Jo||Ul!==null&&Ul.memoizedState.tag&1){if($o.flags|=2048,Cf(9,oh.bind(null,$o,Mo,Go,go),void 0,null),jl===null)throw Error(to(349));(Iu&30)!==0||ih($o,go,Go)}return Go}function ih(Ao,go,$o){Ao.flags|=16384,Ao={getSnapshot:go,value:$o},go=wl.updateQueue,go===null?(go={lastEffect:null,stores:null},wl.updateQueue=go,go.stores=[Ao]):($o=go.stores,$o===null?go.stores=[Ao]:$o.push(Ao))}function oh(Ao,go,$o,Mo){go.value=$o,go.getSnapshot=Mo,sh(go)&&lh(Ao)}function ah(Ao,go,$o){return $o(function(){sh(go)&&lh(Ao)})}function sh(Ao){var go=Ao.getSnapshot;Ao=Ao.value;try{var $o=go();return!Fc(Ao,$o)}catch{return!0}}function lh(Ao){var go=Xc(Ao,1);go!==null&&Uc(go,Ao,1,-1)}function ch(Ao){var go=Qc();return typeof Ao=="function"&&(Ao=Ao()),go.memoizedState=go.baseState=Ao,Ao={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Sf,lastRenderedState:Ao},go.queue=Ao,Ao=Ao.dispatch=cg.bind(null,wl,Ao),[go.memoizedState,Ao]}function Cf(Ao,go,$o,Mo){return Ao={tag:Ao,create:go,destroy:$o,deps:Mo,next:null},go=wl.updateQueue,go===null?(go={lastEffect:null,stores:null},wl.updateQueue=go,go.lastEffect=Ao.next=Ao):($o=go.lastEffect,$o===null?go.lastEffect=Ao.next=Ao:(Mo=$o.next,$o.next=Ao,Ao.next=Mo,go.lastEffect=Ao)),Ao}function uh(){return Ic().memoizedState}function rd(Ao,go,$o,Mo){var Go=Qc();wl.flags|=Ao,Go.memoizedState=Cf(1|go,$o,void 0,Mo===void 0?null:Mo)}
vendor: 5,052 bytes, line 124
124function nd(Ao,go,$o,Mo){var Go=Ic();Mo=Mo===void 0?null:Mo;var Jo=void 0;if(Ml!==null){var ha=Ml.memoizedState;if(Jo=ha.destroy,Mo!==null&&Ap(Mo,ha.deps)){Go.memoizedState=Cf(go,$o,Jo,Mo);return}}wl.flags|=Ao,Go.memoizedState=Cf(1|go,$o,Jo,Mo)}function fh(Ao,go){return rd(8390656,8,Ao,go)}function yp(Ao,go){return nd(2048,8,Ao,go)}function dh(Ao,go){return nd(4,2,Ao,go)}function ph(Ao,go){return nd(4,4,Ao,go)}function Ah(Ao,go){if(typeof go=="function")return Ao=Ao(),go(Ao),function(){go(null)};if(go!=null)return Ao=Ao(),go.current=Ao,function(){go.current=null}}function hh(Ao,go,$o){return $o=$o!=null?$o.concat([Ao]):null,nd(4,4,Ah.bind(null,go,Ao),$o)}function bp(){}function mh(Ao,go){var $o=Ic();go=go===void 0?null:go;var Mo=$o.memoizedState;return Mo!==null&&go!==null&&Ap(go,Mo[1])?Mo[0]:($o.memoizedState=[Ao,go],Ao)}function gh(Ao,go){var $o=Ic();go=go===void 0?null:go;var Mo=$o.memoizedState;return Mo!==null&&go!==null&&Ap(go,Mo[1])?Mo[0]:(Ao=Ao(),$o.memoizedState=[Ao,go],Ao)}function vh(Ao,go,$o){return(Iu&21)===0?(Ao.baseState&&(Ao.baseState=!1,uc=!0),Ao.memoizedState=$o):(Fc($o,go)||($o=iu(),wl.lanes|=$o,Tu|=$o,Ao.baseState=!0),go)}function sg(Ao,go){var $o=Ws;Ws=$o!==0&&4>$o?$o:4,Ao(!0);var Mo=dp.transition;dp.transition={};try{Ao(!1),go()}finally{Ws=$o,dp.transition=Mo}}function yh(){return Ic().memoizedState}function lg(Ao,go,$o){var Mo=mu(Ao);if($o={lane:Mo,action:$o,hasEagerState:!1,eagerState:null,next:null},bh(Ao))_h(go,$o);else if($o=XA(Ao,go,$o,Mo),$o!==null){var Go=oc();Uc($o,Ao,Mo,Go),Sh($o,go,Mo)}}function cg(Ao,go,$o){var Mo=mu(Ao),Go={lane:Mo,action:$o,hasEagerState:!1,eagerState:null,next:null};if(bh(Ao))_h(go,Go);else{var Jo=Ao.alternate;if(Ao.lanes===0&&(Jo===null||Jo.lanes===0)&&(Jo=go.lastRenderedReducer,Jo!==null))try{var ha=go.lastRenderedState,$a=Jo(ha,$o);if(Go.hasEagerState=!0,Go.eagerState=$a,Fc($a,ha)){var Ma=go.interleaved;Ma===null?(Go.next=Go,ap(go)):(Go.next=Ma.next,Ma.next=Go),go.interleaved=Go;return}}catch{}finally{}$o=XA(Ao,go,Go,Mo),$o!==null&&(Go=oc(),Uc($o,Ao,Mo,Go),Sh($o,go,Mo))}}function bh(Ao){var go=Ao.alternate;return Ao===wl||go!==null&&go===wl}function _h(Ao,go){bf=td=!0;var $o=Ao.pending;$o===null?go.next=go:(go.next=$o.next,$o.next=go),Ao.pending=go}function Sh(Ao,go,$o){if(($o&4194240)!==0){var Mo=go.lanes;Mo&=Ao.pendingLanes,$o|=Mo,go.lanes=$o,pc(Ao,$o)}}var id={readContext:$c,useCallback:Zl,useContext:Zl,useEffect:Zl,useImperativeHandle:Zl,useInsertionEffect:Zl,useLayoutEffect:Zl,useMemo:Zl,useReducer:Zl,useRef:Zl,useState:Zl,useDebugValue:Zl,useDeferredValue:Zl,useTransition:Zl,useMutableSource:Zl,useSyncExternalStore:Zl,useId:Zl,unstable_isNewReconciler:!1},ug={readContext:$c,useCallback:function(Ao,go){return Qc().memoizedState=[Ao,go===void 0?null:go],Ao},useContext:$c,useEffect:fh,useImperativeHandle:function(Ao,go,$o){return $o=$o!=null?$o.concat([Ao]):null,rd(4194308,4,Ah.bind(null,go,Ao),$o)},useLayoutEffect:function(Ao,go){return rd(4194308,4,Ao,go)},useInsertionEffect:function(Ao,go){return rd(4,2,Ao,go)},useMemo:function(Ao,go){var $o=Qc();return go=go===void 0?null:go,Ao=Ao(),$o.memoizedState=[Ao,go],Ao},useReducer:function(Ao,go,$o){var Mo=Qc();return go=$o!==void 0?$o(go):go,Mo.memoizedState=Mo.baseState=go,Ao={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ao,lastRenderedState:go},Mo.queue=Ao,Ao=Ao.dispatch=lg.bind(null,wl,Ao),[Mo.memoizedState,Ao]},useRef:function(Ao){var go=Qc();return Ao={current:Ao},go.memoizedState=Ao},useState:ch,useDebugValue:bp,useDeferredValue:function(Ao){return Qc().memoizedState=Ao},useTransition:function(){var Ao=ch(!1),go=Ao[0];return Ao=sg.bind(null,Ao[1]),Qc().memoizedState=Ao,[go,Ao]},useMutableSource:function(){},useSyncExternalStore:function(Ao,go,$o){var Mo=wl,Go=Qc();if(_l){if($o===void 0)throw Error(to(407));$o=$o()}else{if($o=go(),jl===null)throw Error(to(349));(Iu&30)!==0||ih(Mo,go,$o)}Go.memoizedState=$o;var Jo={value:$o,getSnapshot:go};return Go.queue=Jo,fh(ah.bind(null,Mo,Jo,Ao),[Ao]),Mo.flags|=2048,Cf(9,oh.bind(null,Mo,Jo,$o,go),void 0,null),$o},useId:function(){var Ao=Qc(),go=jl.identifierPrefix;if(_l){var $o=Yc,Mo=qc;$o=(Mo&~(1<<32-Bl(Mo)-1)).toString(32)+$o,go=":"+go+"R"+$o,$o=_f++,0<$o&&(go+="H"+$o.toString(32)),go+=":"}else $o=ag++,go=":"+go+"r"+$o.toString(32)+":";return Ao.memoizedState=go},unstable_isNewReconciler:!1},fg={readContext:$c,useCallback:mh,useContext:$c,useEffect:yp,useImperativeHandle:hh,useInsertionEffect:dh,useLayoutEffect:ph,useMemo:gh,useReducer:gp,useRef:uh,useState:function(){return gp(Sf)},useDebugValue:bp,useDeferredValue:function(Ao){var go=Ic();return vh(go,Ml.memoizedState,Ao)},useTransition:function(){var Ao=gp(Sf)[0],go=Ic().memoizedState;return[Ao,go]},useMutableSource:rh,useSyncExternalStore:nh,useId:yh,unstable_isNewReconciler:!1},dg={readContext:$c,useCallback:mh,useContext:$c,useEffect:yp,useImperativeHandle:hh,useInsertionEffect:dh,useLayoutEffect:ph,useMemo:gh,useReducer:vp,useRef:uh,useState:function(){return vp(Sf)},useDebugValue:bp,useDeferredValue:function(Ao){var go=Ic();
vendor: 6,502 bytes, lines 124-126
124return Ml===null?go.memoizedState=Ao:vh(go,Ml.memoizedState,Ao)},useTransition:function(){var Ao=vp(Sf)[0],go=Ic().memoizedState;return[Ao,go]},useMutableSource:rh,useSyncExternalStore:nh,useId:yh,unstable_isNewReconciler:!1};function Dc(Ao,go){if(Ao&&Ao.defaultProps){go=Qo({},go),Ao=Ao.defaultProps;for(var $o in Ao)go[$o]===void 0&&(go[$o]=Ao[$o]);return go}return go}function _p(Ao,go,$o,Mo){go=Ao.memoizedState,$o=$o(Mo,go),$o=$o==null?go:Qo({},go,$o),Ao.memoizedState=$o,Ao.lanes===0&&(Ao.updateQueue.baseState=$o)}var od={isMounted:function(Ao){return(Ao=Ao._reactInternals)?Ya(Ao)===Ao:!1},enqueueSetState:function(Ao,go,$o){Ao=Ao._reactInternals;var Mo=oc(),Go=mu(Ao),Jo=Jc(Mo,Go);Jo.payload=go,$o!=null&&(Jo.callback=$o),go=du(Ao,Jo,Go),go!==null&&(Uc(go,Ao,Go,Mo),Xf(go,Ao,Go))},enqueueReplaceState:function(Ao,go,$o){Ao=Ao._reactInternals;var Mo=oc(),Go=mu(Ao),Jo=Jc(Mo,Go);Jo.tag=1,Jo.payload=go,$o!=null&&(Jo.callback=$o),go=du(Ao,Jo,Go),go!==null&&(Uc(go,Ao,Go,Mo),Xf(go,Ao,Go))},enqueueForceUpdate:function(Ao,go){Ao=Ao._reactInternals;var $o=oc(),Mo=mu(Ao),Go=Jc($o,Mo);Go.tag=2,go!=null&&(Go.callback=go),go=du(Ao,Go,Mo),go!==null&&(Uc(go,Ao,Mo,$o),Xf(go,Ao,Mo))}};function Ch(Ao,go,$o,Mo,Go,Jo,ha){return Ao=Ao.stateNode,typeof Ao.shouldComponentUpdate=="function"?Ao.shouldComponentUpdate(Mo,Jo,ha):go.prototype&&go.prototype.isPureReactComponent?!cf($o,Mo)||!cf(Go,Jo):!0}function wh(Ao,go,$o){var Mo=!1,Go=cu,Jo=go.contextType;return typeof Jo=="object"&&Jo!==null?Jo=$c(Jo):(Go=cc(go)?Cu:Jl.current,Mo=go.contextTypes,Jo=(Mo=Mo!=null)?Vu(Ao,Go):cu),go=new go($o,Jo),Ao.memoizedState=go.state!==null&&go.state!==void 0?go.state:null,go.updater=od,Ao.stateNode=go,go._reactInternals=Ao,Mo&&(Ao=Ao.stateNode,Ao.__reactInternalMemoizedUnmaskedChildContext=Go,Ao.__reactInternalMemoizedMaskedChildContext=Jo),go}function Eh(Ao,go,$o,Mo){Ao=go.state,typeof go.componentWillReceiveProps=="function"&&go.componentWillReceiveProps($o,Mo),typeof go.UNSAFE_componentWillReceiveProps=="function"&&go.UNSAFE_componentWillReceiveProps($o,Mo),go.state!==Ao&&od.enqueueReplaceState(go,go.state,null)}function Cp(Ao,go,$o,Mo){var Go=Ao.stateNode;Go.props=$o,Go.state=Ao.memoizedState,Go.refs={},sp(Ao);var Jo=go.contextType;typeof Jo=="object"&&Jo!==null?Go.context=$c(Jo):(Jo=cc(go)?Cu:Jl.current,Go.context=Vu(Ao,Jo)),Go.state=Ao.memoizedState,Jo=go.getDerivedStateFromProps,typeof Jo=="function"&&(_p(Ao,go,Jo,$o),Go.state=Ao.memoizedState),typeof go.getDerivedStateFromProps=="function"||typeof Go.getSnapshotBeforeUpdate=="function"||typeof Go.UNSAFE_componentWillMount!="function"&&typeof Go.componentWillMount!="function"||(go=Go.state,typeof Go.componentWillMount=="function"&&Go.componentWillMount(),typeof Go.UNSAFE_componentWillMount=="function"&&Go.UNSAFE_componentWillMount(),go!==Go.state&&od.enqueueReplaceState(Go,Go.state,null),Jf(Ao,$o,Go,Mo),Go.state=Ao.memoizedState),typeof Go.componentDidMount=="function"&&(Ao.flags|=4194308)}function Xu(Ao,go){try{var $o="",Mo=go;do $o+=ta(Mo),Mo=Mo.return;while(Mo);var Go=$o}catch(Jo){Go=`
125Error generating stack: `+Jo.message+`
126`+Jo.stack}return{value:Ao,source:go,stack:Go,digest:null}}function wp(Ao,go,$o){return{value:Ao,source:null,stack:$o??null,digest:go??null}}function Ep(Ao,go){try{console.error(go.value)}catch($o){setTimeout(function(){throw $o})}}var pg=typeof WeakMap=="function"?WeakMap:Map;function xh(Ao,go,$o){$o=Jc(-1,$o),$o.tag=3,$o.payload={element:null};var Mo=go.value;return $o.callback=function(){dd||(dd=!0,Up=Mo),Ep(Ao,go)},$o}function $h(Ao,go,$o){$o=Jc(-1,$o),$o.tag=3;var Mo=Ao.type.getDerivedStateFromError;if(typeof Mo=="function"){var Go=go.value;$o.payload=function(){return Mo(Go)},$o.callback=function(){Ep(Ao,go)}}var Jo=Ao.stateNode;return Jo!==null&&typeof Jo.componentDidCatch=="function"&&($o.callback=function(){Ep(Ao,go),typeof Mo!="function"&&(Au===null?Au=new Set([this]):Au.add(this));var ha=go.stack;this.componentDidCatch(go.value,{componentStack:ha!==null?ha:""})}),$o}function Ih(Ao,go,$o){var Mo=Ao.pingCache;if(Mo===null){Mo=Ao.pingCache=new pg;var Go=new Set;Mo.set(go,Go)}else Go=Mo.get(go),Go===void 0&&(Go=new Set,Mo.set(go,Go));Go.has($o)||(Go.add($o),Ao=$g.bind(null,Ao,go,$o),go.then(Ao,Ao))}function Th(Ao){do{var go;if((go=Ao.tag===13)&&(go=Ao.memoizedState,go=go!==null?go.dehydrated!==null:!0),go)return Ao;Ao=Ao.return}while(Ao!==null);return null}function Bh(Ao,go,$o,Mo,Go){return(Ao.mode&1)===0?(Ao===go?Ao.flags|=65536:(Ao.flags|=128,$o.flags|=131072,$o.flags&=-52805,$o.tag===1&&($o.alternate===null?$o.tag=17:(go=Jc(-1,1),go.tag=2,du($o,go,1))),$o.lanes|=1),Ao):(Ao.flags|=65536,Ao.lanes=Go,Ao)}var Ag=Eo.ReactCurrentOwner,uc=!1;function ic(Ao,go,$o,Mo){go.child=Ao===null?YA(go,null,$o,Mo):Gu(go,Ao.child,$o,Mo)}function Ph(Ao,go,$o,Mo,Go){$o=$o.render;var Jo=go.ref;return qu(go,Go),Mo=hp(Ao,go,$o,Mo,Jo,Go),$o=mp(),Ao!==null&&!uc?(go.updateQueue=Ao.updateQueue,go.flags&=-2053,Ao.lanes&=~Go,Zc(Ao,go,Go)):(_l&&$o&&Xd(go),go.flags|=1,ic(Ao,go,Mo,Go),go.child)}function Rh(Ao,go,$o,Mo,Go){if(Ao===null){var Jo=$o.type;return typeof Jo=="function"&&!Gp(Jo)&&Jo.defaultProps===void 0&&$o.compare===null&&$o.defaultProps===void 0?(go.tag=15,go.type=Jo,Oh(Ao,go,Jo,Mo,Go)):(Ao=vd($o.type,null,Mo,go,go.mode,Go),Ao.ref=go.ref,Ao.return=go,go.child=Ao)}if(Jo=Ao.child,(Ao.lanes&Go)===0){var ha=Jo.memoizedProps;if($o=$o.compare,$o=$o!==null?$o:cf,$o(ha,Mo)&&Ao.ref===go.ref)return Zc(Ao,go,Go)}return go.flags|=1,Ao=vu(Jo,Mo),Ao.ref=go.ref,Ao.return=go,go.child=Ao}function Oh(Ao,go,$o,Mo,Go){if(Ao!==null){var Jo=Ao.memoizedProps;if(cf(Jo,Mo)&&Ao.ref===go.ref)if(uc=!1,go.pendingProps=Mo=Jo,(Ao.lanes&Go)!==0)(Ao.flags&131072)!==0&&(uc=!0);else return go.lanes=Ao.lanes,Zc(Ao,go,Go)}return xp(Ao,go,$o,Mo,Go)}function kh(Ao,go,$o){var Mo=go.pendingProps,Go=Mo.children,Jo=Ao!==null?Ao.memoizedState:null;if(Mo.mode==="hidden")if((go.mode&1)===0)go.memoizedState={baseLanes:0,cachePool:null,transitions:null},hl(Zu,vc),vc|=$o;else{if(($o&1073741824)===0)return Ao=Jo!==null?Jo.baseLanes|$o:$o,go.lanes=go.childLanes=1073741824,go.memoizedState={baseLanes:Ao,cachePool:null,transitions:null},go.updateQueue=null,hl(Zu,vc),vc|=Ao,null;go.memoizedState={baseLanes:0,cachePool:null,transitions:null},Mo=Jo!==null?Jo.baseLanes:$o,hl(Zu,vc),vc|=Mo}else Jo!==null?(Mo=Jo.baseLanes|$o,go.memoizedState=null):Mo=$o,hl(Zu,vc),vc|=Mo;return ic(Ao,go,Go,$o),go.child}function Fh(Ao,go){var $o=go.ref;(Ao===null&&$o!==null||Ao!==null&&Ao.ref!==$o)&&(go.flags|=512,go.flags|=2097152)}
vendor: 11,714 bytes, line 126
126function xp(Ao,go,$o,Mo,Go){var Jo=cc($o)?Cu:Jl.current;return Jo=Vu(go,Jo),qu(go,Go),$o=hp(Ao,go,$o,Mo,Jo,Go),Mo=mp(),Ao!==null&&!uc?(go.updateQueue=Ao.updateQueue,go.flags&=-2053,Ao.lanes&=~Go,Zc(Ao,go,Go)):(_l&&Mo&&Xd(go),go.flags|=1,ic(Ao,go,$o,Go),go.child)}function Mh(Ao,go,$o,Mo,Go){if(cc($o)){var Jo=!0;Vf(go)}else Jo=!1;if(qu(go,Go),go.stateNode===null)sd(Ao,go),wh(go,$o,Mo),Cp(go,$o,Mo,Go),Mo=!0;else if(Ao===null){var ha=go.stateNode,$a=go.memoizedProps;ha.props=$a;var Ma=ha.context,Wa=$o.contextType;typeof Wa=="object"&&Wa!==null?Wa=$c(Wa):(Wa=cc($o)?Cu:Jl.current,Wa=Vu(go,Wa));var ls=$o.getDerivedStateFromProps,cs=typeof ls=="function"||typeof ha.getSnapshotBeforeUpdate=="function";cs||typeof ha.UNSAFE_componentWillReceiveProps!="function"&&typeof ha.componentWillReceiveProps!="function"||($a!==Mo||Ma!==Wa)&&Eh(go,ha,Mo,Wa),fu=!1;var os=go.memoizedState;ha.state=os,Jf(go,Mo,ha,Go),Ma=go.memoizedState,$a!==Mo||os!==Ma||lc.current||fu?(typeof ls=="function"&&(_p(go,$o,ls,Mo),Ma=go.memoizedState),($a=fu||Ch(go,$o,$a,Mo,os,Ma,Wa))?(cs||typeof ha.UNSAFE_componentWillMount!="function"&&typeof ha.componentWillMount!="function"||(typeof ha.componentWillMount=="function"&&ha.componentWillMount(),typeof ha.UNSAFE_componentWillMount=="function"&&ha.UNSAFE_componentWillMount()),typeof ha.componentDidMount=="function"&&(go.flags|=4194308)):(typeof ha.componentDidMount=="function"&&(go.flags|=4194308),go.memoizedProps=Mo,go.memoizedState=Ma),ha.props=Mo,ha.state=Ma,ha.context=Wa,Mo=$a):(typeof ha.componentDidMount=="function"&&(go.flags|=4194308),Mo=!1)}else{ha=go.stateNode,JA(Ao,go),$a=go.memoizedProps,Wa=go.type===go.elementType?$a:Dc(go.type,$a),ha.props=Wa,cs=go.pendingProps,os=ha.context,Ma=$o.contextType,typeof Ma=="object"&&Ma!==null?Ma=$c(Ma):(Ma=cc($o)?Cu:Jl.current,Ma=Vu(go,Ma));var _s=$o.getDerivedStateFromProps;(ls=typeof _s=="function"||typeof ha.getSnapshotBeforeUpdate=="function")||typeof ha.UNSAFE_componentWillReceiveProps!="function"&&typeof ha.componentWillReceiveProps!="function"||($a!==cs||os!==Ma)&&Eh(go,ha,Mo,Ma),fu=!1,os=go.memoizedState,ha.state=os,Jf(go,Mo,ha,Go);var ws=go.memoizedState;$a!==cs||os!==ws||lc.current||fu?(typeof _s=="function"&&(_p(go,$o,_s,Mo),ws=go.memoizedState),(Wa=fu||Ch(go,$o,Wa,Mo,os,ws,Ma)||!1)?(ls||typeof ha.UNSAFE_componentWillUpdate!="function"&&typeof ha.componentWillUpdate!="function"||(typeof ha.componentWillUpdate=="function"&&ha.componentWillUpdate(Mo,ws,Ma),typeof ha.UNSAFE_componentWillUpdate=="function"&&ha.UNSAFE_componentWillUpdate(Mo,ws,Ma)),typeof ha.componentDidUpdate=="function"&&(go.flags|=4),typeof ha.getSnapshotBeforeUpdate=="function"&&(go.flags|=1024)):(typeof ha.componentDidUpdate!="function"||$a===Ao.memoizedProps&&os===Ao.memoizedState||(go.flags|=4),typeof ha.getSnapshotBeforeUpdate!="function"||$a===Ao.memoizedProps&&os===Ao.memoizedState||(go.flags|=1024),go.memoizedProps=Mo,go.memoizedState=ws),ha.props=Mo,ha.state=ws,ha.context=Ma,Mo=Wa):(typeof ha.componentDidUpdate!="function"||$a===Ao.memoizedProps&&os===Ao.memoizedState||(go.flags|=4),typeof ha.getSnapshotBeforeUpdate!="function"||$a===Ao.memoizedProps&&os===Ao.memoizedState||(go.flags|=1024),Mo=!1)}return $p(Ao,go,$o,Mo,Jo,Go)}function $p(Ao,go,$o,Mo,Go,Jo){Fh(Ao,go);var ha=(go.flags&128)!==0;if(!Mo&&!ha)return Go&&jA(go,$o,!1),Zc(Ao,go,Jo);Mo=go.stateNode,Ag.current=go;var $a=ha&&typeof $o.getDerivedStateFromError!="function"?null:Mo.render();return go.flags|=1,Ao!==null&&ha?(go.child=Gu(go,Ao.child,null,Jo),go.child=Gu(go,null,$a,Jo)):ic(Ao,go,$a,Jo),go.memoizedState=Mo.state,Go&&jA(go,$o,!0),go.child}function Dh(Ao){var go=Ao.stateNode;go.pendingContext?NA(Ao,go.pendingContext,go.pendingContext!==go.context):go.context&&NA(Ao,go.context,!1),lp(Ao,go.containerInfo)}function Lh(Ao,go,$o,Mo,Go){return Wu(),tp(Go),go.flags|=256,ic(Ao,go,$o,Mo),go.child}var Ip={dehydrated:null,treeContext:null,retryLane:0};function Tp(Ao){return{baseLanes:Ao,cachePool:null,transitions:null}}function Nh(Ao,go,$o){var Mo=go.pendingProps,Go=Cl.current,Jo=!1,ha=(go.flags&128)!==0,$a;if(($a=ha)||($a=Ao!==null&&Ao.memoizedState===null?!1:(Go&2)!==0),$a?(Jo=!0,go.flags&=-129):(Ao===null||Ao.memoizedState!==null)&&(Go|=1),hl(Cl,Go&1),Ao===null)return ep(go),Ao=go.memoizedState,Ao!==null&&(Ao=Ao.dehydrated,Ao!==null)?((go.mode&1)===0?go.lanes=1:Ao.data==="$!"?go.lanes=8:go.lanes=1073741824,null):(ha=Mo.children,Ao=Mo.fallback,Jo?(Mo=go.mode,Jo=go.child,ha={mode:"hidden",children:ha},(Mo&1)===0&&Jo!==null?(Jo.childLanes=0,Jo.pendingProps=ha):Jo=yd(ha,Mo,0,null),Ao=Ou(Ao,Mo,$o,null),Jo.return=go,Ao.return=go,Jo.sibling=Ao,go.child=Jo,go.child.memoizedState=Tp($o),go.memoizedState=Ip,Ao):Bp(go,ha));if(Go=Ao.memoizedState,Go!==null&&($a=Go.dehydrated,$a!==null))return hg(Ao,go,ha,Mo,$a,Go,$o);if(Jo){Jo=Mo.fallback,ha=go.mode,Go=Ao.child,$a=Go.sibling;var Ma={mode:"hidden",children:Mo.children};return(ha&1)===0&&go.child!==Go?(Mo=go.child,Mo.childLanes=0,Mo.pendingProps=Ma,go.deletions=null):(Mo=vu(Go,Ma),Mo.subtreeFlags=Go.subtreeFlags&14680064),$a!==null?Jo=vu($a,Jo):(Jo=Ou(Jo,ha,$o,null),Jo.flags|=2),Jo.return=go,Mo.return=go,Mo.sibling=Jo,go.child=Mo,Mo=Jo,Jo=go.child,ha=Ao.child.memoizedState,ha=ha===null?Tp($o):{baseLanes:ha.baseLanes|$o,cachePool:null,transitions:ha.transitions},Jo.memoizedState=ha,Jo.childLanes=Ao.childLanes&~$o,go.memoizedState=Ip,Mo}return Jo=Ao.child,Ao=Jo.sibling,Mo=vu(Jo,{mode:"visible",children:Mo.children}),(go.mode&1)===0&&(Mo.lanes=$o),Mo.return=go,Mo.sibling=null,Ao!==null&&($o=go.deletions,$o===null?(go.deletions=[Ao],go.flags|=16):$o.push(Ao)),go.child=Mo,go.memoizedState=null,Mo}function Bp(Ao,go){return go=yd({mode:"visible",children:go},Ao.mode,0,null),go.return=Ao,Ao.child=go}function ad(Ao,go,$o,Mo){return Mo!==null&&tp(Mo),Gu(go,Ao.child,null,$o),Ao=Bp(go,go.pendingProps.children),Ao.flags|=2,go.memoizedState=null,Ao}function hg(Ao,go,$o,Mo,Go,Jo,ha){if($o)return go.flags&256?(go.flags&=-257,Mo=wp(Error(to(422))),ad(Ao,go,ha,Mo)):go.memoizedState!==null?(go.child=Ao.child,go.flags|=128,null):(Jo=Mo.fallback,Go=go.mode,Mo=yd({mode:"visible",children:Mo.children},Go,0,null),Jo=Ou(Jo,Go,ha,null),Jo.flags|=2,Mo.return=go,Jo.return=go,Mo.sibling=Jo,go.child=Mo,(go.mode&1)!==0&&Gu(go,Ao.child,null,ha),go.child.memoizedState=Tp(ha),go.memoizedState=Ip,Jo);if((go.mode&1)===0)return ad(Ao,go,ha,null);if(Go.data==="$!"){if(Mo=Go.nextSibling&&Go.nextSibling.dataset,Mo)var $a=Mo.dgst;return Mo=$a,Jo=Error(to(419)),Mo=wp(Jo,Mo,void 0),ad(Ao,go,ha,Mo)}if($a=(ha&Ao.childLanes)!==0,uc||$a){if(Mo=jl,Mo!==null){switch(ha&-ha){case 4:Go=2;break;case 16:Go=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:Go=32;break;case 536870912:Go=268435456;break;default:Go=0}Go=(Go&(Mo.suspendedLanes|ha))!==0?0:Go,Go!==0&&Go!==Jo.retryLane&&(Jo.retryLane=Go,Xc(Ao,Go),Uc(Mo,Ao,Go,-1))}return Wp(),Mo=wp(Error(to(421))),ad(Ao,go,ha,Mo)}return Go.data==="$?"?(go.flags|=128,go.child=Ao.child,go=Ig.bind(null,Ao),Go._reactRetry=go,null):(Ao=Jo.treeContext,gc=su(Go.nextSibling),mc=go,_l=!0,Mc=null,Ao!==null&&(Ec[xc++]=qc,Ec[xc++]=Yc,Ec[xc++]=wu,qc=Ao.id,Yc=Ao.overflow,wu=go),go=Bp(go,Mo.children),go.flags|=4096,go)}function Uh(Ao,go,$o){Ao.lanes|=go;var Mo=Ao.alternate;Mo!==null&&(Mo.lanes|=go),op(Ao.return,go,$o)}function Pp(Ao,go,$o,Mo,Go){var Jo=Ao.memoizedState;Jo===null?Ao.memoizedState={isBackwards:go,rendering:null,renderingStartTime:0,last:Mo,tail:$o,tailMode:Go}:(Jo.isBackwards=go,Jo.rendering=null,Jo.renderingStartTime=0,Jo.last=Mo,Jo.tail=$o,Jo.tailMode=Go)}function jh(Ao,go,$o){var Mo=go.pendingProps,Go=Mo.revealOrder,Jo=Mo.tail;if(ic(Ao,go,Mo.children,$o),Mo=Cl.current,(Mo&2)!==0)Mo=Mo&1|2,go.flags|=128;else{if(Ao!==null&&(Ao.flags&128)!==0)e:for(Ao=go.child;Ao!==null;){if(Ao.tag===13)Ao.memoizedState!==null&&Uh(Ao,$o,go);else if(Ao.tag===19)Uh(Ao,$o,go);else if(Ao.child!==null){Ao.child.return=Ao,Ao=Ao.child;continue}if(Ao===go)break e;for(;Ao.sibling===null;){if(Ao.return===null||Ao.return===go)break e;Ao=Ao.return}Ao.sibling.return=Ao.return,Ao=Ao.sibling}Mo&=1}if(hl(Cl,Mo),(go.mode&1)===0)go.memoizedState=null;else switch(Go){case"forwards":for($o=go.child,Go=null;$o!==null;)Ao=$o.alternate,Ao!==null&&Zf(Ao)===null&&(Go=$o),$o=$o.sibling;$o=Go,$o===null?(Go=go.child,go.child=null):(Go=$o.sibling,$o.sibling=null),Pp(go,!1,Go,$o,Jo);break;case"backwards":for($o=null,Go=go.child,go.child=null;Go!==null;){if(Ao=Go.alternate,Ao!==null&&Zf(Ao)===null){go.child=Go;break}Ao=Go.sibling,Go.sibling=$o,$o=Go,Go=Ao}Pp(go,!0,$o,null,Jo);break;case"together":Pp(go,!1,null,null,void 0);break;default:go.memoizedState=null}return go.child}function sd(Ao,go){(go.mode&1)===0&&Ao!==null&&(Ao.alternate=null,go.alternate=null,go.flags|=2)}function Zc(Ao,go,$o){if(Ao!==null&&(go.dependencies=Ao.dependencies),Tu|=go.lanes,($o&go.childLanes)===0)return null;if(Ao!==null&&go.child!==Ao.child)throw Error(to(153));if(go.child!==null){for(Ao=go.child,$o=vu(Ao,Ao.pendingProps),go.child=$o,$o.return=go;Ao.sibling!==null;)Ao=Ao.sibling,$o=$o.sibling=vu(Ao,Ao.pendingProps),$o.return=go;$o.sibling=null}return go.child}function mg(Ao,go,$o){switch(go.tag){case 3:Dh(go),Wu();break;case 5:th(go);break;case 1:cc(go.type)&&Vf(go);break;case 4:lp(go,go.stateNode.containerInfo);break;case 10:var Mo=go.type._context,Go=go.memoizedProps.value;hl(qf,Mo._currentValue),Mo._currentValue=Go;break;case 13:if(Mo=go.memoizedState,Mo!==null)return Mo.dehydrated!==null?(hl(Cl,Cl.current&1),go.flags|=128,null):($o&go.child.childLanes)!==0?Nh(Ao,go,$o):(hl(Cl,Cl.current&1),Ao=Zc(Ao,go,$o),Ao!==null?Ao.sibling:null);hl(Cl,Cl.current&1);break;case 19:if(Mo=($o&go.childLanes)!==0,(Ao.flags&128)!==0){if(Mo)return jh(Ao,go,$o);go.flags|=128}if(Go=go.memoizedState,Go!==null&&(Go.rendering=null,Go.tail=null,Go.lastEffect=null),hl(Cl,Cl.current),Mo)break;return null;case 22:case 23:return go.lanes=0,kh(Ao,go,$o)}return Zc(Ao,go,$o)}var Hh,Rp,Vh,Qh;Hh=function(Ao,go){for(var $o=go.child;$o!==null;){if($o.tag===5||$o.tag===6)Ao.appendChild($o.stateNode);else if($o.tag!==4&&$o.child!==null){$o.child.return=$o,$o=$o.child;continue}if($o===go)break;for(;$o.sibling===null;){if($o.return===null||$o.return===go)return;$o=$o.return}$o.sibling.return=$o.return,$o=$o.sibling}},Rp=function(){},Vh=function(Ao,go,$o,Mo){var Go=Ao.memoizedProps;if(Go!==Mo){Ao=go.stateNode,$u(Vc.current);var Jo=null;switch($o){case"input":Go=la(Ao,Go),Mo=la(Ao,Mo),Jo=[];break;case"select":Go=Qo({},Go,{value:void 0}),Mo=Qo({},Mo,{value:void 0}),Jo=[];break;case"textarea":Go=Ta(Ao,Go),Mo=Ta(Ao,Mo),Jo=[];break;default:typeof Go.onClick!="function"&&typeof Mo.onClick=="function"&&(Ao.onclick=Uf)}qa($o,Mo);var ha;$o=null;for(Wa in Go)if(!Mo.hasOwnProperty(Wa)&&Go.hasOwnProperty(Wa)&&Go[Wa]!=null)if(Wa==="style"){var $a=Go[Wa];for(ha in $a)$a.hasOwnProperty(ha)&&($o||($o={}),$o[ha]="")}else Wa!=="dangerouslySetInnerHTML"&&Wa!=="children"&&Wa!=="suppressContentEditableWarning"&&Wa!=="suppressHydrationWarning"&&Wa!=="autoFocus"&&(no.hasOwnProperty(Wa)?Jo||(Jo=[]):(Jo=Jo||[]).push(Wa,null));for(Wa in Mo){var Ma=Mo[Wa];if($a=Go!=null?Go[Wa]:void 0,Mo.hasOwnProperty(Wa)&&Ma!==$a&&(Ma!=null||$a!=null))if(Wa==="style")if($a){for(ha in $a)!$a.hasOwnProperty(ha)||Ma&&Ma.hasOwnProperty(ha)||($o||($o={}),$o[ha]="");for(ha in Ma)Ma.hasOwnProperty(ha)&&$a[ha]!==Ma[ha]&&($o||($o={}),$o[ha]=Ma[ha])}else $o||(Jo||(Jo=[]),Jo.push(Wa,$o)),$o=Ma;else Wa==="dangerouslySetInnerHTML"?(Ma=Ma?Ma.__html:void 0,$a=$a?$a.__html:void 0,Ma!=null&&$a!==Ma&&(Jo=Jo||[]).push(Wa,Ma)):Wa==="children"?typeof Ma!="str
126ing"&&typeof Ma!="number"||(Jo=Jo||[]).push(Wa,""+Ma):Wa!=="suppressContentEditableWarning"&&Wa!=="suppressHydrationWarning"&&(no.hasOwnProperty(Wa)?(Ma!=null&&Wa==="onScroll"&&ml("scroll",Ao),Jo||$a===Ma||(Jo=[])):(Jo=Jo||[]).push(Wa,Ma))}$o&&(Jo=Jo||[]).push("style",$o);var Wa=Jo;(go.updateQueue=Wa)&&(go.flags|=4)}},Qh=function(Ao,go,$o,Mo){$o!==Mo&&(go.flags|=4)};function wf(Ao,go){if(!_l)switch(Ao.tailMode){case"hidden":go=Ao.tail;for(var $o=null;go!==null;)go.alternate!==null&&($o=go),go=go.sibling;$o===null?Ao.tail=null:$o.sibling=null;break;case"collapsed":$o=Ao.tail;for(var Mo=null;$o!==null;)$o.alternate!==null&&(Mo=$o),$o=$o.sibling;Mo===null?go||Ao.tail===null?Ao.tail=null:Ao.tail.sibling=null:Mo.sibling=null}}function ec(Ao){var go=Ao.alternate!==null&&Ao.alternate.child===Ao.child,$o=0,Mo=0;if(go)for(var Go=Ao.child;Go!==null;)$o|=Go.lanes|Go.childLanes,Mo|=Go.subtreeFlags&14680064,Mo|=Go.flags&14680064,Go.return=Ao,Go=Go.sibling;else for(Go=Ao.child;Go!==null;)$o|=Go.lanes|Go.childLanes,Mo|=Go.subtreeFlags,Mo|=Go.flags,Go.return=Ao,Go=Go.sibling;return Ao.subtreeFlags|=Mo,Ao.childLanes=$o,go}function gg(Ao,go,$o){var Mo=go.pendingProps;switch(Jd(go),go.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ec(go),null;case 1:return cc(go.type)&&Hf(),ec(go),null;case 3:return Mo=go.stateNode,Yu(),gl(lc),gl(Jl),fp(),Mo.pendingContext&&(Mo.context=Mo.pendingContext,Mo.pendingContext=null),(Ao===null||Ao.child===null)&&(Gf(go)?go.flags|=4:Ao===null||Ao.memoizedState.isDehydrated&&(go.flags&256)===0||(go.flags|=1024,Mc!==null&&(Vp(Mc),Mc=null))),Rp(Ao,go),ec(go),null;case 5:cp(go);var Go=$u(yf.current);if($o=go.type,Ao!==null&&go.stateNode!=null)Vh(Ao,go,$o,Mo,Go),Ao.ref!==go.ref&&(go.flags|=512,go.flags|=2097152);else{if(!Mo){if(go.stateNode===null)throw Error(to(166));return ec(go),null}if(Ao=$u(Vc.current),Gf(go)){Mo=go.stateNode,$o=go.type;var Jo=go.memoizedProps;switch(Mo[Hc]=go,Mo[Af]=Jo,Ao=(go.mode&1)!==0,$o){case"dialog":ml("cancel",Mo),ml("close",Mo);break;case"iframe":case"object":case"embed":ml("load",Mo);break;case"video":case"audio":for(Go=0;Go<ff.length;Go++)ml(ff[Go],Mo);break;case"source":ml("error",Mo);break;case"img":case"image":case"link":ml("error",Mo),ml("load",Mo);break;case"details":ml("toggle",Mo);break;case"input":_a(Mo,Jo),ml("invalid",Mo);break;case"select":Mo._wrapperState={wasMultiple:!!Jo.multiple},ml("invalid",Mo);break;case"textarea":va(Mo,Jo),ml("invalid",Mo)}qa($o,Jo),Go=null;for(var ha in Jo)if(Jo.hasOwnProperty(ha)){var $a=Jo[ha];ha==="children"?typeof $a=="string"?Mo.textContent!==$a&&(Jo.suppressHydrationWarning!==!0&&Nf(Mo.textContent,$a,Ao),Go=["children",$a]):typeof $a=="number"&&Mo.textContent!==""+$a&&(Jo.suppressHydrationWarning!==!0&&Nf(Mo.textContent,$a,Ao),Go=["children",""+$a]):no.hasOwnProperty(ha)&&$a!=null&&ha==="onScroll"&&ml("scroll",Mo)}switch($o){case"input":na(Mo),aa(Mo,Jo,!0);break;case"textarea":na(Mo),Oa(Mo);break;case"select":case"option":break;default:typeof Jo.onClick=="function"&&(Mo.onclick=Uf)}Mo=Go,go.updateQueue=Mo,Mo!==null&&(go.flags|=4)}else{ha=Go.nodeType===9?Go:Go.ownerDocument,Ao==="http://www.w3.org/1999/xhtml"&&(Ao=Da($o)),Ao==="http://www.w3.org/1999/xhtml"?$o==="script"?(Ao=ha.createElement("div"),Ao.innerHTML="<script><\/script>",Ao=Ao.removeChild(Ao.firstChild)):typeof Mo.is=="string"?Ao=ha.createElement($o,{is:Mo.is}):(Ao=ha.createElement($o),$o==="select"&&(ha=Ao,Mo.multiple?ha.multiple=!0:Mo.size&&(ha.size=Mo.size))):Ao=ha.createElementNS(Ao,$o),Ao[Hc]=go,Ao[Af]=Mo,Hh(Ao,go,!1,!1),go.stateNode=Ao;e:{switch(ha=us($o,Mo),$o){case"dialog":ml("cancel",Ao),ml("close",Ao),Go=Mo;break;case"iframe":case"object":case"embed":ml("load",Ao),Go=Mo;break;case"video":case"audio":for(Go=0;Go<ff.length;Go++)ml(ff[Go],Ao);Go=Mo;break;case"source":ml("error",Ao),Go=Mo;break;case"img":case"image":case"link":ml("error",Ao),ml("load",Ao),Go=Mo;break;case"details":ml("toggle",Ao),Go=Mo;break;case"input":_a(Ao,Mo),Go=la(Ao,Mo),ml("invalid",Ao);break;case"option":Go=Mo;break;case"select":Ao._wrapperState={wasMultiple:!!Mo.multiple},Go=Qo({},Mo,{value:void 0}),ml("invalid",Ao);break;case"textarea":va(Ao,Mo),Go=Ta(Ao,Mo),ml("invalid",Ao);break;default:Go=Mo}qa($o,Go),$a=Go;for(Jo in $a)if($a.hasOwnProperty(Jo)){var Ma=$a[Jo];Jo==="style"?Ga(Ao,Ma):Jo==="dangerouslySetInnerHTML"?(Ma=Ma?Ma.__html:void 0,Ma!=null&&Yo(Ao,Ma)):Jo==="children"?typeof Ma=="string"?($o!=="textarea"||Ma!=="")&&ma(Ao,Ma):typeof Ma=="number"&&ma(Ao,""+Ma):Jo!=="suppressContentEditableWarning"&&Jo!=="suppressHydrationWarning"&&Jo!=="autoFocus"&&(no.hasOwnProperty(Jo)?Ma!=null&&Jo==="onScroll"&&ml("scroll",Ao):Ma!=null&&yo(Ao,Jo,Ma,ha))}switch($o){case"input":na(Ao),aa(Ao,Mo,!1);break;case"textarea":na(Ao),Oa(Ao);break;
vendor: 26,034 bytes, line 126
126case"option":Mo.value!=null&&Ao.setAttribute("value",""+pa(Mo.value));break;case"select":Ao.multiple=!!Mo.multiple,Jo=Mo.value,Jo!=null?Ia(Ao,!!Mo.multiple,Jo,!1):Mo.defaultValue!=null&&Ia(Ao,!!Mo.multiple,Mo.defaultValue,!0);break;default:typeof Go.onClick=="function"&&(Ao.onclick=Uf)}switch($o){case"button":case"input":case"select":case"textarea":Mo=!!Mo.autoFocus;break e;case"img":Mo=!0;break e;default:Mo=!1}}Mo&&(go.flags|=4)}go.ref!==null&&(go.flags|=512,go.flags|=2097152)}return ec(go),null;case 6:if(Ao&&go.stateNode!=null)Qh(Ao,go,Ao.memoizedProps,Mo);else{if(typeof Mo!="string"&&go.stateNode===null)throw Error(to(166));if($o=$u(yf.current),$u(Vc.current),Gf(go)){if(Mo=go.stateNode,$o=go.memoizedProps,Mo[Hc]=go,(Jo=Mo.nodeValue!==$o)&&(Ao=mc,Ao!==null))switch(Ao.tag){case 3:Nf(Mo.nodeValue,$o,(Ao.mode&1)!==0);break;case 5:Ao.memoizedProps.suppressHydrationWarning!==!0&&Nf(Mo.nodeValue,$o,(Ao.mode&1)!==0)}Jo&&(go.flags|=4)}else Mo=($o.nodeType===9?$o:$o.ownerDocument).createTextNode(Mo),Mo[Hc]=go,go.stateNode=Mo}return ec(go),null;case 13:if(gl(Cl),Mo=go.memoizedState,Ao===null||Ao.memoizedState!==null&&Ao.memoizedState.dehydrated!==null){if(_l&&gc!==null&&(go.mode&1)!==0&&(go.flags&128)===0)GA(),Wu(),go.flags|=98560,Jo=!1;else if(Jo=Gf(go),Mo!==null&&Mo.dehydrated!==null){if(Ao===null){if(!Jo)throw Error(to(318));if(Jo=go.memoizedState,Jo=Jo!==null?Jo.dehydrated:null,!Jo)throw Error(to(317));Jo[Hc]=go}else Wu(),(go.flags&128)===0&&(go.memoizedState=null),go.flags|=4;ec(go),Jo=!1}else Mc!==null&&(Vp(Mc),Mc=null),Jo=!0;if(!Jo)return go.flags&65536?go:null}return(go.flags&128)!==0?(go.lanes=$o,go):(Mo=Mo!==null,Mo!==(Ao!==null&&Ao.memoizedState!==null)&&Mo&&(go.child.flags|=8192,(go.mode&1)!==0&&(Ao===null||(Cl.current&1)!==0?Dl===0&&(Dl=3):Wp())),go.updateQueue!==null&&(go.flags|=4),ec(go),null);case 4:return Yu(),Rp(Ao,go),Ao===null&&df(go.stateNode.containerInfo),ec(go),null;case 10:return ip(go.type._context),ec(go),null;case 17:return cc(go.type)&&Hf(),ec(go),null;case 19:if(gl(Cl),Jo=go.memoizedState,Jo===null)return ec(go),null;if(Mo=(go.flags&128)!==0,ha=Jo.rendering,ha===null)if(Mo)wf(Jo,!1);else{if(Dl!==0||Ao!==null&&(Ao.flags&128)!==0)for(Ao=go.child;Ao!==null;){if(ha=Zf(Ao),ha!==null){for(go.flags|=128,wf(Jo,!1),Mo=ha.updateQueue,Mo!==null&&(go.updateQueue=Mo,go.flags|=4),go.subtreeFlags=0,Mo=$o,$o=go.child;$o!==null;)Jo=$o,Ao=Mo,Jo.flags&=14680066,ha=Jo.alternate,ha===null?(Jo.childLanes=0,Jo.lanes=Ao,Jo.child=null,Jo.subtreeFlags=0,Jo.memoizedProps=null,Jo.memoizedState=null,Jo.updateQueue=null,Jo.dependencies=null,Jo.stateNode=null):(Jo.childLanes=ha.childLanes,Jo.lanes=ha.lanes,Jo.child=ha.child,Jo.subtreeFlags=0,Jo.deletions=null,Jo.memoizedProps=ha.memoizedProps,Jo.memoizedState=ha.memoizedState,Jo.updateQueue=ha.updateQueue,Jo.type=ha.type,Ao=ha.dependencies,Jo.dependencies=Ao===null?null:{lanes:Ao.lanes,firstContext:Ao.firstContext}),$o=$o.sibling;return hl(Cl,Cl.current&1|2),go.child}Ao=Ao.sibling}Jo.tail!==null&&il()>ef&&(go.flags|=128,Mo=!0,wf(Jo,!1),go.lanes=4194304)}else{if(!Mo)if(Ao=Zf(ha),Ao!==null){if(go.flags|=128,Mo=!0,$o=Ao.updateQueue,$o!==null&&(go.updateQueue=$o,go.flags|=4),wf(Jo,!0),Jo.tail===null&&Jo.tailMode==="hidden"&&!ha.alternate&&!_l)return ec(go),null}else 2*il()-Jo.renderingStartTime>ef&&$o!==1073741824&&(go.flags|=128,Mo=!0,wf(Jo,!1),go.lanes=4194304);Jo.isBackwards?(ha.sibling=go.child,go.child=ha):($o=Jo.last,$o!==null?$o.sibling=ha:go.child=ha,Jo.last=ha)}return Jo.tail!==null?(go=Jo.tail,Jo.rendering=go,Jo.tail=go.sibling,Jo.renderingStartTime=il(),go.sibling=null,$o=Cl.current,hl(Cl,Mo?$o&1|2:$o&1),go):(ec(go),null);case 22:case 23:return zp(),Mo=go.memoizedState!==null,Ao!==null&&Ao.memoizedState!==null!==Mo&&(go.flags|=8192),Mo&&(go.mode&1)!==0?(vc&1073741824)!==0&&(ec(go),go.subtreeFlags&6&&(go.flags|=8192)):ec(go),null;case 24:return null;case 25:return null}throw Error(to(156,go.tag))}function vg(Ao,go){switch(Jd(go),go.tag){case 1:return cc(go.type)&&Hf(),Ao=go.flags,Ao&65536?(go.flags=Ao&-65537|128,go):null;case 3:return Yu(),gl(lc),gl(Jl),fp(),Ao=go.flags,(Ao&65536)!==0&&(Ao&128)===0?(go.flags=Ao&-65537|128,go):null;case 5:return cp(go),null;case 13:if(gl(Cl),Ao=go.memoizedState,Ao!==null&&Ao.dehydrated!==null){if(go.alternate===null)throw Error(to(340));Wu()}return Ao=go.flags,Ao&65536?(go.flags=Ao&-65537|128,go):null;case 19:return gl(Cl),null;case 4:return Yu(),null;case 10:return ip(go.type._context),null;case 22:case 23:return zp(),null;case 24:return null;default:return null}}var ld=!1,tc=!1,yg=typeof WeakSet=="function"?WeakSet:Set,Cs=null;function Ju(Ao,go){var $o=Ao.ref;if($o!==null)if(typeof $o=="function")try{$o(null)}catch(Mo){Tl(Ao,go,Mo)}else $o.current=null}function Op(Ao,go,$o){try{$o()}catch(Mo){Tl(Ao,go,Mo)}}var zh=!1;function bg(Ao,go){if(Vd=bl,Ao=_A(),Fd(Ao)){if("selectionStart"in Ao)var $o={start:Ao.selectionStart,end:Ao.selectionEnd};else e:{$o=($o=Ao.ownerDocument)&&$o.defaultView||window;var Mo=$o.getSelection&&$o.getSelection();if(Mo&&Mo.rangeCount!==0){$o=Mo.anchorNode;var Go=Mo.anchorOffset,Jo=Mo.focusNode;Mo=Mo.focusOffset;try{$o.nodeType,Jo.nodeType}catch{$o=null;break e}var ha=0,$a=-1,Ma=-1,Wa=0,ls=0,cs=Ao,os=null;t:for(;;){for(var _s;cs!==$o||Go!==0&&cs.nodeType!==3||($a=ha+Go),cs!==Jo||Mo!==0&&cs.nodeType!==3||(Ma=ha+Mo),cs.nodeType===3&&(ha+=cs.nodeValue.length),(_s=cs.firstChild)!==null;)os=cs,cs=_s;for(;;){if(cs===Ao)break t;if(os===$o&&++Wa===Go&&($a=ha),os===Jo&&++ls===Mo&&(Ma=ha),(_s=cs.nextSibling)!==null)break;cs=os,os=cs.parentNode}cs=_s}$o=$a===-1||Ma===-1?null:{start:$a,end:Ma}}else $o=null}$o=$o||{start:0,end:0}}else $o=null;for(Qd={focusedElem:Ao,selectionRange:$o},bl=!1,Cs=go;Cs!==null;)if(go=Cs,Ao=go.child,(go.subtreeFlags&1028)!==0&&Ao!==null)Ao.return=go,Cs=Ao;else for(;Cs!==null;){go=Cs;try{var ws=go.alternate;if((go.flags&1024)!==0)switch(go.tag){case 0:case 11:case 15:break;case 1:if(ws!==null){var xs=ws.memoizedProps,Pl=ws.memoizedState,Ha=go.stateNode,La=Ha.getSnapshotBeforeUpdate(go.elementType===go.type?xs:Dc(go.type,xs),Pl);Ha.__reactInternalSnapshotBeforeUpdate=La}break;case 3:var Qa=go.stateNode.containerInfo;Qa.nodeType===1?Qa.textContent="":Qa.nodeType===9&&Qa.documentElement&&Qa.removeChild(Qa.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(to(163))}}catch(ds){Tl(go,go.return,ds)}if(Ao=go.sibling,Ao!==null){Ao.return=go.return,Cs=Ao;break}Cs=go.return}return ws=zh,zh=!1,ws}function Ef(Ao,go,$o){var Mo=go.updateQueue;if(Mo=Mo!==null?Mo.lastEffect:null,Mo!==null){var Go=Mo=Mo.next;do{if((Go.tag&Ao)===Ao){var Jo=Go.destroy;Go.destroy=void 0,Jo!==void 0&&Op(go,$o,Jo)}Go=Go.next}while(Go!==Mo)}}function cd(Ao,go){if(go=go.updateQueue,go=go!==null?go.lastEffect:null,go!==null){var $o=go=go.next;do{if(($o.tag&Ao)===Ao){var Mo=$o.create;$o.destroy=Mo()}$o=$o.next}while($o!==go)}}function kp(Ao){var go=Ao.ref;if(go!==null){var $o=Ao.stateNode;switch(Ao.tag){case 5:Ao=$o;break;default:Ao=$o}typeof go=="function"?go(Ao):go.current=Ao}}function Wh(Ao){var go=Ao.alternate;go!==null&&(Ao.alternate=null,Wh(go)),Ao.child=null,Ao.deletions=null,Ao.sibling=null,Ao.tag===5&&(go=Ao.stateNode,go!==null&&(delete go[Hc],delete go[Af],delete go[Kd],delete go[rg],delete go[ng])),Ao.stateNode=null,Ao.return=null,Ao.dependencies=null,Ao.memoizedProps=null,Ao.memoizedState=null,Ao.pendingProps=null,Ao.stateNode=null,Ao.updateQueue=null}function Gh(Ao){return Ao.tag===5||Ao.tag===3||Ao.tag===4}function Kh(Ao){e:for(;;){for(;Ao.sibling===null;){if(Ao.return===null||Gh(Ao.return))return null;Ao=Ao.return}for(Ao.sibling.return=Ao.return,Ao=Ao.sibling;Ao.tag!==5&&Ao.tag!==6&&Ao.tag!==18;){if(Ao.flags&2||Ao.child===null||Ao.tag===4)continue e;Ao.child.return=Ao,Ao=Ao.child}if(!(Ao.flags&2))return Ao.stateNode}}function Fp(Ao,go,$o){var Mo=Ao.tag;if(Mo===5||Mo===6)Ao=Ao.stateNode,go?$o.nodeType===8?$o.parentNode.insertBefore(Ao,go):$o.insertBefore(Ao,go):($o.nodeType===8?(go=$o.parentNode,go.insertBefore(Ao,$o)):(go=$o,go.appendChild(Ao)),$o=$o._reactRootContainer,$o!=null||go.onclick!==null||(go.onclick=Uf));else if(Mo!==4&&(Ao=Ao.child,Ao!==null))for(Fp(Ao,go,$o),Ao=Ao.sibling;Ao!==null;)Fp(Ao,go,$o),Ao=Ao.sibling}function Mp(Ao,go,$o){var Mo=Ao.tag;if(Mo===5||Mo===6)Ao=Ao.stateNode,go?$o.insertBefore(Ao,go):$o.appendChild(Ao);else if(Mo!==4&&(Ao=Ao.child,Ao!==null))for(Mp(Ao,go,$o),Ao=Ao.sibling;Ao!==null;)Mp(Ao,go,$o),Ao=Ao.sibling}var Kl=null,Lc=!1;function pu(Ao,go,$o){for($o=$o.child;$o!==null;)qh(Ao,go,$o),$o=$o.sibling}function qh(Ao,go,$o){if(dl&&typeof dl.onCommitFiberUnmount=="function")try{dl.onCommitFiberUnmount(Ys,$o)}catch{}switch($o.tag){case 5:tc||Ju($o,go);case 6:var Mo=Kl,Go=Lc;Kl=null,pu(Ao,go,$o),Kl=Mo,Lc=Go,Kl!==null&&(Lc?(Ao=Kl,$o=$o.stateNode,Ao.nodeType===8?Ao.parentNode.removeChild($o):Ao.removeChild($o)):Kl.removeChild($o.stateNode));break;case 18:Kl!==null&&(Lc?(Ao=Kl,$o=$o.stateNode,Ao.nodeType===8?Gd(Ao.parentNode,$o):Ao.nodeType===1&&Gd(Ao,$o),zs(Ao)):Gd(Kl,$o.stateNode));break;case 4:Mo=Kl,Go=Lc,Kl=$o.stateNode.containerInfo,Lc=!0,pu(Ao,go,$o),Kl=Mo,Lc=Go;break;case 0:case 11:case 14:case 15:if(!tc&&(Mo=$o.updateQueue,Mo!==null&&(Mo=Mo.lastEffect,Mo!==null))){Go=Mo=Mo.next;do{var Jo=Go,ha=Jo.destroy;Jo=Jo.tag,ha!==void 0&&((Jo&2)!==0||(Jo&4)!==0)&&Op($o,go,ha),Go=Go.next}while(Go!==Mo)}pu(Ao,go,$o);break;case 1:if(!tc&&(Ju($o,go),Mo=$o.stateNode,typeof Mo.componentWillUnmount=="function"))try{Mo.props=$o.memoizedProps,Mo.state=$o.memoizedState,Mo.componentWillUnmount()}catch($a){Tl($o,go,$a)}pu(Ao,go,$o);break;case 21:pu(Ao,go,$o);break;case 22:$o.mode&1?(tc=(Mo=tc)||$o.memoizedState!==null,pu(Ao,go,$o),tc=Mo):pu(Ao,go,$o);break;default:pu(Ao,go,$o)}}function Yh(Ao){var go=Ao.updateQueue;if(go!==null){Ao.updateQueue=null;var $o=Ao.stateNode;$o===null&&($o=Ao.stateNode=new yg),go.forEach(function(Mo){var Go=Tg.bind(null,Ao,Mo);$o.has(Mo)||($o.add(Mo),Mo.then(Go,Go))})}}function Nc(Ao,go){var $o=go.deletions;if($o!==null)for(var Mo=0;Mo<$o.length;Mo++){var Go=$o[Mo];try{var Jo=Ao,ha=go,$a=ha;e:for(;$a!==null;){switch($a.tag){case 5:Kl=$a.stateNode,Lc=!1;break e;case 3:Kl=$a.stateNode.containerInfo,Lc=!0;break e;case 4:Kl=$a.stateNode.containerInfo,Lc=!0;break e}$a=$a.return}if(Kl===null)throw Error(to(160));qh(Jo,ha,Go),Kl=null,Lc=!1;var Ma=Go.alternate;Ma!==null&&(Ma.return=null),Go.return=null}catch(Wa){Tl(Go,go,Wa)}}if(go.subtreeFlags&12854)for(go=go.child;go!==null;)Xh(go,Ao),go=go.sibling}function Xh(Ao,go){var $o=Ao.alternate,Mo=Ao.flags;switch(Ao.tag){case 0:case 11:case 14:case 15:if(Nc(go,Ao),zc(Ao),Mo&4){try{Ef(3,Ao,Ao.return),cd(3,Ao)}catch(xs){Tl(Ao,Ao.return,xs)}try{Ef(5,Ao,Ao.return)}catch(xs){Tl(Ao,Ao.return,xs)}}break;case 1:Nc(go,Ao),zc(Ao),Mo&512&&$o!==null&&Ju($o,$o.return);break;case 5:if(Nc(go,Ao),zc(Ao),Mo&512&&$o!==null&&Ju($o,$o.return),Ao.flags&32){var Go=Ao.stateNode;try{ma(Go,"")}catch(xs){Tl(Ao,Ao.return,xs)}}if(Mo&4&&(Go=Ao.stateNode,Go!=null)){var Jo=Ao.memoizedProps,ha=$o!==null?$o.memoizedProps:Jo,$a=Ao.type,Ma=Ao.updateQueue;if(Ao.updateQueue=null,Ma!==null)try{$a==="input"&&Jo.type==="radio"&&Jo.name!=null&&Ea(Go,Jo),us($a,ha);var Wa=us($a,Jo);for(ha=0;ha<Ma.length;ha+=2){var ls=Ma[ha],cs=Ma[ha+1];ls==="style"?Ga(Go,cs):ls==="dangerouslySetInnerHTML"?Yo(Go,cs):ls==="children"?ma(Go,cs):yo(Go,ls,cs,Wa)}switch($a){case"input":Pa(Go,Jo);break;case"textarea":xa(Go,Jo);break;case"select":var os=Go._wrapperState.wasMultiple;Go._wrapperState.wasMultiple=!!Jo.multiple;var _s=Jo.value;_s!=null?Ia(Go,!!Jo.multiple,_s,!1):os!==!!Jo.multiple&&(Jo.defaultValue!=null?Ia(Go,!!Jo.multiple,Jo.defaultValue,!0):Ia(Go,!!Jo.multiple,Jo.multiple?[]:"",!1))}Go[Af]=Jo}catch(xs){Tl(Ao,Ao.return,xs)}}break;case 6:if(Nc(go,Ao),zc(Ao),Mo&4){if(Ao.stateNode===null)throw Error(to(162));Go=Ao.stateNode,Jo=Ao.memoizedProps;try{Go.nodeValue=Jo}catch(xs){Tl(Ao,Ao.return,xs)}}break;case 3:if(Nc(go,Ao),zc(Ao),Mo&4&&$o!==null&&$o.memoizedState.isDehydrated)try{zs(go.containerInfo)}catch(xs){Tl(Ao,Ao.return,xs)}break;case 4:Nc(go,Ao),zc(Ao);break;case 13:Nc(go,Ao),zc(Ao),Go=Ao.child,Go.flags&8192&&(Jo=Go.memoizedState!==null,Go.stateNode.isHidden=Jo,!Jo||Go.alternate!==null&&Go.alternate.memoizedState!==null||(Np=il())),Mo&4&&Yh(Ao);break;case 22:if(ls=$o!==null&&$o.memoizedState!==null,Ao.mode&1?(tc=(Wa=tc)||ls,Nc(go,Ao),tc=Wa):Nc(go,Ao),zc(Ao),Mo&8192){if(Wa=Ao.memoizedState!==null,(Ao.stateNode.isHidden=Wa)&&!ls&&(Ao.mode&1)!==0)for(Cs=Ao,ls=Ao.child;ls!==null;){for(cs=Cs=ls;Cs!==null;){switch(os=Cs,_s=os.child,os.tag){case 0:case 11:case 14:case 15:Ef(4,os,os.return);break;case 1:Ju(os,os.return);var ws=os.stateNode;if(typeof ws.componentWillUnmount=="function"){Mo=os,$o=os.return;try{go=Mo,ws.props=go.memoizedProps,ws.state=go.memoizedState,ws.componentWillUnmount()}catch(xs){Tl(Mo,$o,xs)}}break;case 5:Ju(os,os.return);break;case 22:if(os.memoizedState!==null){em(cs);continue}}_s!==null?(_s.return=os,Cs=_s):em(cs)}ls=ls.sibling}e:for(ls=null,cs=Ao;;){if(cs.tag===5){if(ls===null){ls=cs;try{Go=cs.stateNode,Wa?(Jo=Go.style,typeof Jo.setProperty=="function"?Jo.setProperty("display","none","important"):Jo.display="none"):($a=cs.stateNode,Ma=cs.memoizedProps.style,ha=Ma!=null&&Ma.hasOwnProperty("display")?Ma.display:null,$a.style.display=ja("display",ha))}catch(xs){Tl(Ao,Ao.return,xs)}}}else if(cs.tag===6){if(ls===null)try{cs.stateNode.nodeValue=Wa?"":cs.memoizedProps}catch(xs){Tl(Ao,Ao.return,xs)}}else if((cs.tag!==22&&cs.tag!==23||cs.memoizedState===null||cs===Ao)&&cs.child!==null){cs.child.return=cs,cs=cs.child;continue}if(cs===Ao)break e;for(;cs.sibling===null;){if(cs.return===null||cs.return===Ao)break e;ls===cs&&(ls=null),cs=cs.return}ls===cs&&(ls=null),cs.sibling.return=cs.return,cs=cs.sibling}}break;case 19:Nc(go,Ao),zc(Ao),Mo&4&&Yh(Ao);break;case 21:break;default:Nc(go,Ao),zc(Ao)}}function zc(Ao){var go=Ao.flags;if(go&2){try{e:{for(var $o=Ao.return;$o!==null;){if(Gh($o)){var Mo=$o;break e}$o=$o.return}throw Error(to(160))}switch(Mo.tag){case 5:var Go=Mo.stateNode;Mo.flags&32&&(ma(Go,""),Mo.flags&=-33);var Jo=Kh(Ao);Mp(Ao,Jo,Go);break;case 3:case 4:var ha=Mo.stateNode.containerInfo,$a=Kh(Ao);Fp(Ao,$a,ha);break;default:throw Error(to(161))}}catch(Ma){Tl(Ao,Ao.return,Ma)}Ao.flags&=-3}go&4096&&(Ao.flags&=-4097)}function _g(Ao,go,$o){Cs=Ao,Jh(Ao)}function Jh(Ao,go,$o){for(var Mo=(Ao.mode&1)!==0;Cs!==null;){var Go=Cs,Jo=Go.child;if(Go.tag===22&&Mo){var ha=Go.memoizedState!==null||ld;if(!ha){var $a=Go.alternate,Ma=$a!==null&&$a.memoizedState!==null||tc;$a=ld;var Wa=tc;if(ld=ha,(tc=Ma)&&!Wa)for(Cs=Go;Cs!==null;)ha=Cs,Ma=ha.child,ha.tag===22&&ha.memoizedState!==null?tm(Go):Ma!==null?(Ma.return=ha,Cs=Ma):tm(Go);for(;Jo!==null;)Cs=Jo,Jh(Jo),Jo=Jo.sibling;Cs=Go,ld=$a,tc=Wa}Zh(Ao)}else(Go.subtreeFlags&8772)!==0&&Jo!==null?(Jo.return=Go,Cs=Jo):Zh(Ao)}}function Zh(Ao){for(;Cs!==null;){var go=Cs;if((go.flags&8772)!==0){var $o=go.alternate;try{if((go.flags&8772)!==0)switch(go.tag){case 0:case 11:case 15:tc||cd(5,go);break;case 1:var Mo=go.stateNode;if(go.flags&4&&!tc)if($o===null)Mo.componentDidMount();else{var Go=go.elementType===go.type?$o.memoizedProps:Dc(go.type,$o.memoizedProps);Mo.componentDidUpdate(Go,$o.memoizedState,Mo.__reactInternalSnapshotBeforeUpdate)}var Jo=go.updateQueue;Jo!==null&&eh(go,Jo,Mo);break;case 3:var ha=go.updateQueue;if(ha!==null){if($o=null,go.child!==null)switch(go.child.tag){case 5:$o=go.child.stateNode;break;case 1:$o=go.child.stateNode}eh(go,ha,$o)}break;case 5:var $a=go.stateNode;if($o===null&&go.flags&4){$o=$a;var Ma=go.memoizedProps;switch(go.type){case"button":case"input":case"select":case"textarea":Ma.autoFocus&&$o.focus();break;case"img":Ma.src&&($o.src=Ma.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(go.memoizedState===null){var Wa=go.alternate;if(Wa!==null){var ls=Wa.memoizedState;if(ls!==null){var cs=ls.dehydrated;cs!==null&&zs(cs)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(to(163))}tc||go.flags&512&&kp(go)}catch(os){Tl(go,go.return,os)}}if(go===Ao){Cs=null;break}if($o=go.sibling,$o!==null){$o.return=go.return,Cs=$o;break}Cs=go.return}}function em(Ao){for(;Cs!==null;){var go=Cs;if(go===Ao){Cs=null;break}var $o=go.sibling;if($o!==null){$o.return=go.return,Cs=$o;break}Cs=go.return}}function tm(Ao){for(;Cs!==null;){var go=Cs;try{switch(go.tag){case 0:case 11:case 15:var $o=go.return;try{cd(4,go)}catch(Ma){Tl(go,$o,Ma)}break;case 1:var Mo=go.stateNode;if(typeof Mo.componentDidMount=="function"){var Go=go.return;try{Mo.componentDidMount()}catch(Ma){Tl(go,Go,Ma)}}var Jo=go.return;try{kp(go)}catch(Ma){Tl(go,Jo,Ma)}break;case 5:var ha=go.return;try{kp(go)}catch(Ma){Tl(go,ha,Ma)}}}catch(Ma){Tl(go,go.return,Ma)}if(go===Ao){Cs=null;break}var $a=go.sibling;if($a!==null){$a.return=go.return,Cs=$a;break}Cs=go.return}}var Sg=Math.ceil,ud=Eo.ReactCurrentDispatcher,Dp=Eo.ReactCurrentOwner,Tc=Eo.ReactCurrentBatchConfig,Js=0,jl=null,Ol=null,ql=0,vc=0,Zu=lu(0),Dl=0,xf=null,Tu=0,fd=0,Lp=0,$f=null,fc=null,Np=0,ef=1/0,eu=null,dd=!1,Up=null,Au=null,pd=!1,hu=null,Ad=0,If=0,jp=null,hd=-1,md=0;function oc(){return(Js&6)!==0?il():hd!==-1?hd:hd=il()}function mu(Ao){return(Ao.mode&1)===0?1:(Js&2)!==0&&ql!==0?ql&-ql:og.transition!==null?(md===0&&(md=iu()),md):(Ao=Ws,Ao!==0||(Ao=window.event,Ao=Ao===void 0?16:ku(Ao.type)),Ao)}function Uc(Ao,go,$o,Mo){if(50<If)throw If=0,jp=null,Error(to(185));yl(Ao,$o,Mo),((Js&2)===0||Ao!==jl)&&(Ao===jl&&((Js&2)===0&&(fd|=$o),Dl===4&&gu(Ao,ql)),dc(Ao,Mo),$o===1&&Js===0&&(go.mode&1)===0&&(ef=il()+500,Qf&&uu()))}function dc(Ao,go){var $o=Ao.callbackNode;Sc(Ao,go);var Mo=_c(Ao,Ao===jl?ql:0);if(Mo===0)$o!==null&&$l($o),Ao.callbackNode=null,Ao.callbackPriority=0;else if(go=Mo&-Mo,Ao.callbackPriority!==go){if($o!=null&&$l($o),go===1)Ao.tag===0?ig(nm.bind(null,Ao)):HA(nm.bind(null,Ao)),eg(function(){(Js&6)===0&&uu()}),$o=null;else{switch(Wl(Mo)){case 1:$o=Yl;break;case 4:$o=sc;break;case 16:$o=Xl;break;case 536870912:$o=Vs;break;default:$o=Xl}$o=fm($o,rm.bind(null,Ao))}Ao.callbackPriority=go,Ao.callbackNode=$o}}function rm(Ao,go){if(hd=-1,md=0,(Js&6)!==0)throw Error(to(327));var $o=Ao.callbackNode;if(tf()&&Ao.callbackNode!==$o)return null;var Mo=_c(Ao,Ao===jl?ql:0);if(Mo===0)return null;if((Mo&30)!==0||(Mo&Ao.expiredLanes)!==0||go)go=gd(Ao,Mo);else{go=Mo;var Go=Js;Js|=2;var Jo=om();(jl!==Ao||ql!==go)&&(eu=null,ef=il()+500,Pu(Ao,go));do try{Eg();break}catch($a){im(Ao,$a)}while(!0);np(),ud.current=Jo,Js=Go,Ol!==null?go=0:(jl=null,ql=0,go=Dl)}if(go!==0){if(go===2&&(Go=Cc(Ao),Go!==0&&(Mo=Go,go=Hp(Ao,Go))),go===1)throw $o=xf,Pu(Ao,0),gu(Ao,Mo),dc(Ao,il()),$o;if(go===6)gu(Ao,Mo);else{if(Go=Ao.current.alternate,(Mo&30)===0&&!Cg(Go)&&(go=gd(Ao,Mo),go===2&&(Jo=Cc(Ao),Jo!==0&&(Mo=Jo,go=Hp(Ao,Jo))),go===1))throw $o=xf,Pu(Ao,0),gu(Ao,Mo),dc(Ao,il()),$o;switch(Ao.finishedWork=Go,Ao.finishedLanes=Mo,go){case 0:case 1:throw Error(to(345));case 2:Ru(Ao,fc,eu);break;case 3:if(gu(Ao,Mo),(Mo&130023424)===Mo&&(go=Np+500-il(),10<go)){if(_c(Ao,0)!==0)break;if(Go=Ao.suspendedLanes,(Go&Mo)!==Mo){oc(),Ao.pingedLanes|=Ao.suspendedLanes&Go;break}Ao.timeoutHandle=Wd(Ru.bind(null,Ao,fc,eu),go);break}Ru(Ao,fc,eu);break;case 4:if(gu(Ao,Mo),(Mo&4194240)===Mo)break;for(go=Ao.eventTimes,Go=-1;0<Mo;){var ha=31-Bl(Mo);Jo=1<<ha,ha=go[ha],ha>Go&&(Go=ha),Mo&=~Jo}if(Mo=Go,Mo=il()-Mo,Mo=(120>Mo?120:480>Mo?480:1080>Mo?1080:1920>Mo?1920:3e3>Mo?3e3:4320>Mo?4320:1960*Sg(Mo/1960))-Mo,10<Mo){Ao.timeoutHandle=Wd(Ru.bind(null,Ao,fc,eu),Mo);break}Ru(Ao,fc,eu);break;case 5:Ru(Ao,fc,eu);break;default:throw Error(to(329))}}}return dc(Ao,il()),Ao.callbackNode===$o?rm.bind(null,Ao):null}function Hp(Ao,go){var $o=$f;return Ao.current.memoizedState.isDehydrated&&(Pu(Ao,go).flags|=256),Ao=gd(Ao,go),Ao!==2&&(go=fc,fc=$o,go!==null&&Vp(go)),Ao}function Vp(Ao){fc===null?fc=Ao:fc.push.apply(fc,Ao)}function Cg(Ao){for(var go=Ao;;){if(go.flags&16384){var $o=go.updateQueue;if($o!==null&&($o=$o.stores,$o!==null))for(var Mo=0;Mo<$o.length;Mo++){var Go=$o[Mo],Jo=Go.getSnapshot;Go=Go.value;try{if(!Fc(Jo(),Go))return!1}catch{return!1}}}if($o=go.child,go.subtreeFlags&16384&&$o!==null)$o.return=go,go=$o;else{if(go===Ao)break;for(;go.sibling===null;){if(go.return===null||go.return===Ao)return!0;go=go.return}go.sibling.return=go.return,go=go.sibling}}return!0}function gu(Ao,go){for(go&=~Lp,go&=~fd,Ao.suspendedLanes|=go,Ao.pingedLanes&=~go,Ao=Ao.expirationTimes;0<go;){var $o=31-Bl(go),Mo=1<<$o;Ao[$o]=-1,go&=~Mo}}function nm(Ao){if((Js&6)!==0)throw Error(to(327));tf();var go=_c(Ao,0);if((go&1)===0)return dc(Ao,il()),null;var $o=gd(Ao,go);if(Ao.tag!==0&&$o===2){var Mo=Cc(Ao);Mo!==0&&(go=Mo,$o=Hp(Ao,Mo))}if($o===1)throw $o=xf,Pu(Ao,0),gu(Ao,go),dc(Ao,il()),$o;if($o===6)throw Error(to(345));return Ao.finishedWork=Ao.current.alternate,Ao.finishedLanes=go,Ru(Ao,fc,eu),dc(Ao,il()),null}function Qp(Ao,go){var $o=Js;Js|=1;try{return Ao(go)}finally{Js=$o,Js===0&&(ef=il()+500,Qf&&uu())}}function Bu(Ao){hu!==null&&hu.tag===0&&(Js&6)===0&&tf();var go=Js;Js|=1;var $o=Tc.transition,Mo=Ws;try{if(Tc.transition=null,Ws=1,Ao)return Ao()}finally{Ws=Mo,Tc.transition=$o,Js=go,(Js&6)===0&&uu()}}function zp(){vc=Zu.current,gl(Zu)}function Pu(Ao,go){Ao.finishedWork=null,Ao.finishedLanes=0;var $o=Ao.timeoutHandle;if($o!==-1&&(Ao.timeoutHandle=-1,Zm($o)),Ol!==null)for($o=Ol.return;$o!==null;){var Mo=$o;switch(Jd(Mo),Mo.tag){case 1:Mo=Mo.type.childContextTypes,Mo!=null&&Hf();break;case 3:Yu(),gl(lc),gl(Jl),fp();break;case 5:cp(Mo);break;case 4:Yu();break;case 13:gl(Cl);break;case 19:gl(Cl);break;case 10:ip(Mo.type._context);break;case 22:case 23:zp()}$o=$o.return}if(jl=Ao,Ol=Ao=vu(Ao.current,null),ql=vc=go,Dl=0,xf=null,Lp=fd=Tu=0,fc=$f=null,xu!==null){for(go=0;go<xu.length;go++)if($o=xu[go],Mo=$o.interleaved,Mo!==null){$o.interleaved=null;var Go=Mo.next,Jo=$o.pending;if(Jo!==null){var ha=Jo.next;Jo.next=Go,Mo.next=ha}$o.pending=Mo}xu=null}return Ao}function im(Ao,go){do{var $o=Ol;try{if(np(),ed.current=id,td){for(var Mo=wl.memoizedState;Mo!==null;){var Go=Mo.queue;Go!==null&&(Go.pending=null),Mo=Mo.next}td=!1}if(Iu=0,Ul=Ml=wl=null,bf=!1,_f=0,Dp.current=null,$o===null||$o.return===null){Dl=1,xf=go,Ol=null;break}e:{var Jo=Ao,ha=$o.return,$a=$o,Ma=go;if(go=ql,$a.flags|=32768,Ma!==null&&typeof Ma=="object"&&typeof Ma.then=="function"){var Wa=Ma,ls=$a,cs=ls.tag;if((ls.mode&1)===0&&(cs===0||cs===11||cs===15)){var os=ls.alternate;os?(ls.updateQueue=os.updateQueue,ls.memoizedState=os.memoizedState,ls.lanes=os.lanes):(ls.updateQueue=null,ls.memoizedState=null)}var _s=Th(ha);if(_s!==null){_s.flags&=-257,Bh(_s,ha,$a,Jo,go),_s.mode&1&&Ih(Jo,Wa,go),go=_s,Ma=Wa;var ws=go.updateQueue;if(ws===null){var xs=new Set;xs.add(Ma),go.updateQueue=xs}else ws.add(Ma);break e}else{if((go&1)===0){Ih(Jo,Wa,go),Wp();break e}Ma=Error(to(426))}}else if(_l&&$a.mode&1){var Pl=Th(ha);if(Pl!==null){(Pl.flags&65536)===0&&(Pl.flags|=256),Bh(Pl,ha,$a,Jo,go),tp(Xu(Ma,$a));break e}}Jo=Ma=Xu(Ma,$a),Dl!==4&&(Dl=2),$f===null?$f=[Jo]:$f.push(Jo),Jo=ha;do{switch(Jo.tag){case 3:Jo.flags|=65536,go&=-go,Jo.lanes|=go;var Ha=xh(Jo,Ma,go);ZA(Jo,Ha);break e;case 1:$a=Ma;var La=Jo.type,Qa=Jo.stateNode;if((Jo.flags&128)===0&&(typeof La.getDerivedStateFromError=="function"||Qa!==null&&typeof Qa.componentDidCatch=="function"&&(Au===null||!Au.has(Qa)))){Jo.flags|=65536,go&=-go,Jo.lanes|=go;var ds=$h(Jo,$a,go);ZA(Jo,ds);break e}}Jo=Jo.return}while(Jo!==null)}sm($o)}catch(Is){go=Is,Ol===$o&&$o!==null&&(Ol=$o=$o.return);continue}break}while(!0)}function om(){var Ao=ud.current;return ud.current=id,Ao===null?id:Ao}function Wp(){(Dl===0||Dl===3||Dl===2)&&(Dl=4),jl===null||(Tu&268435455)===0&&(fd&268435455)===0||gu(jl,ql)}function gd(Ao,go){var $o=Js;Js|=2;var Mo=om();(jl!==Ao||ql!==go)&&(eu=null,Pu(Ao,go));do try{wg();break}catch(Go){im(Ao,Go)}while(!0);if(np(),Js=$o,ud.current=Mo,Ol!==null)throw Error(to(261));return jl=null,ql=0,Dl}function wg(){for(;Ol!==null;)am(Ol)}function Eg(){for(;Ol!==null&&!bc();)am(Ol)}function am(Ao){var go=um(Ao.alternate,Ao,vc);Ao.memoizedProps=Ao.pendingProps,go===null?sm(Ao):Ol=go,Dp.current=null}function sm(Ao){var go=Ao;do{var $o=go.alternate;if(Ao=go.return,(go.flags&32768)===0){if($o=gg($o,go,vc),$o!==null){Ol=$o;return}}else{if($o=vg($o,go),$o!==null){$o.flags&=32767,Ol=$o;return}if(Ao!==null)Ao.flags|=32768,Ao.subtreeFlags=0,Ao.deletions=null;else{Dl=6,Ol=null;return}}if(go=go.sibling,go!==null){Ol=go;return}Ol=go=Ao}while(go!==null);Dl===0&&(Dl=5)}function Ru(Ao,go,$o){var Mo=Ws,Go=Tc.transition;try{Tc.transition=null,Ws=1,xg(Ao,go,$o,Mo)}finally{Tc.transition=Go,Ws=Mo}return null}function xg(Ao,go,$o,Mo){do tf();while(hu!==null);if((Js&6)!==0)throw Error(to(327));$o=Ao.finishedWork;var Go=Ao.finishedLanes;if($o===null)return null;if(Ao.finishedWork=null,Ao.finishedLanes=0,$o===Ao.current)throw Error(to(177));Ao.callbackNode=null,Ao.callbackPriority=0;var Jo=$o.lanes|$o.childLanes;if(ul(Ao,Jo),Ao===jl&&(Ol=jl=null,ql=0),($o.subtreeFlags&2064)===0&&($o.flags&2064)===0||pd||(pd=!0,fm(Xl,function(){return tf(),null})),Jo=($o.flags&15990)!==0,($o.subtreeFlags&15990)!==0||Jo){Jo=Tc.transition,Tc.transition=null;var ha=Ws;Ws=1;var $a=Js;Js|=4,Dp.current=null,bg(Ao,$o),Xh($o,Ao),Wm(Qd),bl=!!Vd,Qd=Vd=null,Ao.current=$o,_g($o),tu(),Js=$a,Ws=ha,Tc.transition=Jo}else Ao.current=$o;if(pd&&(pd=!1,hu=Ao,Ad=Go),Jo=Ao.pendingLanes,Jo===0&&(Au=null),zl($o.stateNode),dc(Ao,il()),go!==null)for(Mo=Ao.onRecoverableError,$o=0;$o<go.length;$o++)Go=go[$o],Mo(Go.value,{componentStack:Go.stack,digest:Go.digest});if(dd)throw dd=!1,Ao=Up,Up=null,Ao;return(Ad&1)!==0&&Ao.tag!==0&&tf(),Jo=Ao.pendingLanes,(Jo&1)!==0?Ao===jp?If++:(If=0,jp=Ao):If=0,uu(),null}function tf(){if(hu!==null){var Ao=Wl(Ad),go=Tc.transition,$o=Ws;try{if(Tc.transition=null,Ws=16>Ao?16:Ao,hu===null)var Mo=!1;else{if(Ao=hu,hu=null,Ad=0,(Js&6)!==0)throw Error(to(331));var Go=Js;for(Js|=4,Cs=Ao.current;Cs!==null;){var Jo=Cs,ha=Jo.child;if((Cs.flags&16)!==0){var $a=Jo.deletions;if($a!==null){for(var Ma=0;Ma<$a.length;Ma++){var Wa=$a[Ma];for(Cs=Wa;Cs!==null;){var ls=Cs;switch(ls.tag){case 0:case 11:case 15:Ef(8,ls,Jo)}var cs=ls.child;if(cs!==null)cs.return=ls,Cs=cs;else for(;Cs!==null;){ls=Cs;
vendor: 6,014 bytes, line 126
126var os=ls.sibling,_s=ls.return;if(Wh(ls),ls===Wa){Cs=null;break}if(os!==null){os.return=_s,Cs=os;break}Cs=_s}}}var ws=Jo.alternate;if(ws!==null){var xs=ws.child;if(xs!==null){ws.child=null;do{var Pl=xs.sibling;xs.sibling=null,xs=Pl}while(xs!==null)}}Cs=Jo}}if((Jo.subtreeFlags&2064)!==0&&ha!==null)ha.return=Jo,Cs=ha;else e:for(;Cs!==null;){if(Jo=Cs,(Jo.flags&2048)!==0)switch(Jo.tag){case 0:case 11:case 15:Ef(9,Jo,Jo.return)}var Ha=Jo.sibling;if(Ha!==null){Ha.return=Jo.return,Cs=Ha;break e}Cs=Jo.return}}var La=Ao.current;for(Cs=La;Cs!==null;){ha=Cs;var Qa=ha.child;if((ha.subtreeFlags&2064)!==0&&Qa!==null)Qa.return=ha,Cs=Qa;else e:for(ha=La;Cs!==null;){if($a=Cs,($a.flags&2048)!==0)try{switch($a.tag){case 0:case 11:case 15:cd(9,$a)}}catch(Is){Tl($a,$a.return,Is)}if($a===ha){Cs=null;break e}var ds=$a.sibling;if(ds!==null){ds.return=$a.return,Cs=ds;break e}Cs=$a.return}}if(Js=Go,uu(),dl&&typeof dl.onPostCommitFiberRoot=="function")try{dl.onPostCommitFiberRoot(Ys,Ao)}catch{}Mo=!0}return Mo}finally{Ws=$o,Tc.transition=go}}return!1}function lm(Ao,go,$o){go=Xu($o,go),go=xh(Ao,go,1),Ao=du(Ao,go,1),go=oc(),Ao!==null&&(yl(Ao,1,go),dc(Ao,go))}function Tl(Ao,go,$o){if(Ao.tag===3)lm(Ao,Ao,$o);else for(;go!==null;){if(go.tag===3){lm(go,Ao,$o);break}else if(go.tag===1){var Mo=go.stateNode;if(typeof go.type.getDerivedStateFromError=="function"||typeof Mo.componentDidCatch=="function"&&(Au===null||!Au.has(Mo))){Ao=Xu($o,Ao),Ao=$h(go,Ao,1),go=du(go,Ao,1),Ao=oc(),go!==null&&(yl(go,1,Ao),dc(go,Ao));break}}go=go.return}}function $g(Ao,go,$o){var Mo=Ao.pingCache;Mo!==null&&Mo.delete(go),go=oc(),Ao.pingedLanes|=Ao.suspendedLanes&$o,jl===Ao&&(ql&$o)===$o&&(Dl===4||Dl===3&&(ql&130023424)===ql&&500>il()-Np?Pu(Ao,0):Lp|=$o),dc(Ao,go)}function cm(Ao,go){go===0&&((Ao.mode&1)===0?go=1:(go=Nl,Nl<<=1,(Nl&130023424)===0&&(Nl=4194304)));var $o=oc();Ao=Xc(Ao,go),Ao!==null&&(yl(Ao,go,$o),dc(Ao,$o))}function Ig(Ao){var go=Ao.memoizedState,$o=0;go!==null&&($o=go.retryLane),cm(Ao,$o)}function Tg(Ao,go){var $o=0;switch(Ao.tag){case 13:var Mo=Ao.stateNode,Go=Ao.memoizedState;Go!==null&&($o=Go.retryLane);break;case 19:Mo=Ao.stateNode;break;default:throw Error(to(314))}Mo!==null&&Mo.delete(go),cm(Ao,$o)}var um;um=function(Ao,go,$o){if(Ao!==null)if(Ao.memoizedProps!==go.pendingProps||lc.current)uc=!0;else{if((Ao.lanes&$o)===0&&(go.flags&128)===0)return uc=!1,mg(Ao,go,$o);uc=(Ao.flags&131072)!==0}else uc=!1,_l&&(go.flags&1048576)!==0&&VA(go,Wf,go.index);switch(go.lanes=0,go.tag){case 2:var Mo=go.type;sd(Ao,go),Ao=go.pendingProps;var Go=Vu(go,Jl.current);qu(go,$o),Go=hp(null,go,Mo,Ao,Go,$o);var Jo=mp();return go.flags|=1,typeof Go=="object"&&Go!==null&&typeof Go.render=="function"&&Go.$$typeof===void 0?(go.tag=1,go.memoizedState=null,go.updateQueue=null,cc(Mo)?(Jo=!0,Vf(go)):Jo=!1,go.memoizedState=Go.state!==null&&Go.state!==void 0?Go.state:null,sp(go),Go.updater=od,go.stateNode=Go,Go._reactInternals=go,Cp(go,Mo,Ao,$o),go=$p(null,go,Mo,!0,Jo,$o)):(go.tag=0,_l&&Jo&&Xd(go),ic(null,go,Go,$o),go=go.child),go;case 16:Mo=go.elementType;e:{switch(sd(Ao,go),Ao=go.pendingProps,Go=Mo._init,Mo=Go(Mo._payload),go.type=Mo,Go=go.tag=Pg(Mo),Ao=Dc(Mo,Ao),Go){case 0:go=xp(null,go,Mo,Ao,$o);break e;case 1:go=Mh(null,go,Mo,Ao,$o);break e;case 11:go=Ph(null,go,Mo,Ao,$o);break e;case 14:go=Rh(null,go,Mo,Dc(Mo.type,Ao),$o);break e}throw Error(to(306,Mo,""))}return go;case 0:return Mo=go.type,Go=go.pendingProps,Go=go.elementType===Mo?Go:Dc(Mo,Go),xp(Ao,go,Mo,Go,$o);case 1:return Mo=go.type,Go=go.pendingProps,Go=go.elementType===Mo?Go:Dc(Mo,Go),Mh(Ao,go,Mo,Go,$o);case 3:e:{if(Dh(go),Ao===null)throw Error(to(387));Mo=go.pendingProps,Jo=go.memoizedState,Go=Jo.element,JA(Ao,go),Jf(go,Mo,null,$o);var ha=go.memoizedState;if(Mo=ha.element,Jo.isDehydrated)if(Jo={element:Mo,isDehydrated:!1,cache:ha.cache,pendingSuspenseBoundaries:ha.pendingSuspenseBoundaries,transitions:ha.transitions},go.updateQueue.baseState=Jo,go.memoizedState=Jo,go.flags&256){Go=Xu(Error(to(423)),go),go=Lh(Ao,go,Mo,$o,Go);break e}else if(Mo!==Go){Go=Xu(Error(to(424)),go),go=Lh(Ao,go,Mo,$o,Go);break e}else for(gc=su(go.stateNode.containerInfo.firstChild),mc=go,_l=!0,Mc=null,$o=YA(go,null,Mo,$o),go.child=$o;$o;)$o.flags=$o.flags&-3|4096,$o=$o.sibling;else{if(Wu(),Mo===Go){go=Zc(Ao,go,$o);break e}ic(Ao,go,Mo,$o)}go=go.child}return go;case 5:return th(go),Ao===null&&ep(go),Mo=go.type,Go=go.pendingProps,Jo=Ao!==null?Ao.memoizedProps:null,ha=Go.children,zd(Mo,Go)?ha=null:Jo!==null&&zd(Mo,Jo)&&(go.flags|=32),Fh(Ao,go),ic(Ao,go,ha,$o),go.child;case 6:return Ao===null&&ep(go),null;case 13:return Nh(Ao,go,$o);case 4:return lp(go,go.stateNode.containerInfo),Mo=go.pendingProps,Ao===null?go.child=Gu(go,null,Mo,$o):ic(Ao,go,Mo,$o),go.child;case 11:return Mo=go.type,Go=go.pendingProps,Go=go.elementType===Mo?Go:Dc(Mo,Go),Ph(Ao,go,Mo,Go,$o);case 7:return ic(Ao,go,go.pendingProps,$o),go.child;case 8:return ic(Ao,go,go.pendingProps.children,$o),go.child;case 12:return ic(Ao,go,go.pendingProps.children,$o),go.child;case 10:e:{if(Mo=go.type._context,Go=go.pendingProps,Jo=go.memoizedProps,ha=Go.value,hl(qf,Mo._currentValue),Mo._currentValue=ha,Jo!==null)if(Fc(Jo.value,ha)){if(Jo.children===Go.children&&!lc.current){go=Zc(Ao,go,$o);break e}}else for(Jo=go.child,Jo!==null&&(Jo.return=go);Jo!==null;){var $a=Jo.dependencies;if($a!==null){ha=Jo.child;for(var Ma=$a.firstContext;Ma!==null;){if(Ma.context===Mo){if(Jo.tag===1){Ma=Jc(-1,$o&-$o),Ma.tag=2;var Wa=Jo.updateQueue;if(Wa!==null){Wa=Wa.shared;var ls=Wa.pending;ls===null?Ma.next=Ma:(Ma.next=ls.next,ls.next=Ma),Wa.pending=Ma}}Jo.lanes|=$o,Ma=Jo.alternate,Ma!==null&&(Ma.lanes|=$o),op(Jo.return,$o,go),$a.lanes|=$o;break}Ma=Ma.next}}else if(Jo.tag===10)ha=Jo.type===go.type?null:Jo.child;else if(Jo.tag===18){if(ha=Jo.return,ha===null)throw Error(to(341));ha.lanes|=$o,$a=ha.alternate,$a!==null&&($a.lanes|=$o),op(ha,$o,go),ha=Jo.sibling}else ha=Jo.child;if(ha!==null)ha.return=Jo;else for(ha=Jo;ha!==null;){if(ha===go){ha=null;break}if(Jo=ha.sibling,Jo!==null){Jo.return=ha.return,ha=Jo;break}
vendor: 5,695 bytes, line 126
126ha=ha.return}Jo=ha}ic(Ao,go,Go.children,$o),go=go.child}return go;case 9:return Go=go.type,Mo=go.pendingProps.children,qu(go,$o),Go=$c(Go),Mo=Mo(Go),go.flags|=1,ic(Ao,go,Mo,$o),go.child;case 14:return Mo=go.type,Go=Dc(Mo,go.pendingProps),Go=Dc(Mo.type,Go),Rh(Ao,go,Mo,Go,$o);case 15:return Oh(Ao,go,go.type,go.pendingProps,$o);case 17:return Mo=go.type,Go=go.pendingProps,Go=go.elementType===Mo?Go:Dc(Mo,Go),sd(Ao,go),go.tag=1,cc(Mo)?(Ao=!0,Vf(go)):Ao=!1,qu(go,$o),wh(go,Mo,Go),Cp(go,Mo,Go,$o),$p(null,go,Mo,!0,Ao,$o);case 19:return jh(Ao,go,$o);case 22:return kh(Ao,go,$o)}throw Error(to(156,go.tag))};function fm(Ao,go){return Qs(Ao,go)}function Bg(Ao,go,$o,Mo){this.tag=Ao,this.key=$o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=go,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=Mo,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Bc(Ao,go,$o,Mo){return new Bg(Ao,go,$o,Mo)}function Gp(Ao){return Ao=Ao.prototype,!(!Ao||!Ao.isReactComponent)}function Pg(Ao){if(typeof Ao=="function")return Gp(Ao)?1:0;if(Ao!=null){if(Ao=Ao.$$typeof,Ao===Vo)return 11;if(Ao===Do)return 14}return 2}function vu(Ao,go){var $o=Ao.alternate;return $o===null?($o=Bc(Ao.tag,go,Ao.key,Ao.mode),$o.elementType=Ao.elementType,$o.type=Ao.type,$o.stateNode=Ao.stateNode,$o.alternate=Ao,Ao.alternate=$o):($o.pendingProps=go,$o.type=Ao.type,$o.flags=0,$o.subtreeFlags=0,$o.deletions=null),$o.flags=Ao.flags&14680064,$o.childLanes=Ao.childLanes,$o.lanes=Ao.lanes,$o.child=Ao.child,$o.memoizedProps=Ao.memoizedProps,$o.memoizedState=Ao.memoizedState,$o.updateQueue=Ao.updateQueue,go=Ao.dependencies,$o.dependencies=go===null?null:{lanes:go.lanes,firstContext:go.firstContext},$o.sibling=Ao.sibling,$o.index=Ao.index,$o.ref=Ao.ref,$o}function vd(Ao,go,$o,Mo,Go,Jo){var ha=2;if(Mo=Ao,typeof Ao=="function")Gp(Ao)&&(ha=1);else if(typeof Ao=="string")ha=5;else e:switch(Ao){case To:return Ou($o.children,Go,Jo,go);case Ro:ha=8,Go|=8;break;case Po:return Ao=Bc(12,$o,go,Go|2),Ao.elementType=Po,Ao.lanes=Jo,Ao;case Lo:return Ao=Bc(13,$o,go,Go),Ao.elementType=Lo,Ao.lanes=Jo,Ao;case Uo:return Ao=Bc(19,$o,go,Go),Ao.elementType=Uo,Ao.lanes=Jo,Ao;case ko:return yd($o,Go,Jo,go);default:if(typeof Ao=="object"&&Ao!==null)switch(Ao.$$typeof){case zo:ha=10;break e;case Ho:ha=9;break e;case Vo:ha=11;break e;case Do:ha=14;break e;case Oo:ha=16,Mo=null;break e}throw Error(to(130,Ao==null?Ao:typeof Ao,""))}return go=Bc(ha,$o,go,Go),go.elementType=Ao,go.type=Mo,go.lanes=Jo,go}function Ou(Ao,go,$o,Mo){return Ao=Bc(7,Ao,Mo,go),Ao.lanes=$o,Ao}function yd(Ao,go,$o,Mo){return Ao=Bc(22,Ao,Mo,go),Ao.elementType=ko,Ao.lanes=$o,Ao.stateNode={isHidden:!1},Ao}function Kp(Ao,go,$o){return Ao=Bc(6,Ao,null,go),Ao.lanes=$o,Ao}function qp(Ao,go,$o){return go=Bc(4,Ao.children!==null?Ao.children:[],Ao.key,go),go.lanes=$o,go.stateNode={containerInfo:Ao.containerInfo,pendingChildren:null,implementation:Ao.implementation},go}function Rg(Ao,go,$o,Mo,Go){this.tag=go,this.containerInfo=Ao,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=jc(0),this.expirationTimes=jc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jc(0),this.identifierPrefix=Mo,this.onRecoverableError=Go,this.mutableSourceEagerHydrationData=null}function Yp(Ao,go,$o,Mo,Go,Jo,ha,$a,Ma){return Ao=new Rg(Ao,go,$o,$a,Ma),go===1?(go=1,Jo===!0&&(go|=8)):go=0,Jo=Bc(3,null,null,go),Ao.current=Jo,Jo.stateNode=Ao,Jo.memoizedState={element:Mo,isDehydrated:$o,cache:null,transitions:null,pendingSuspenseBoundaries:null},sp(Jo),Ao}function Og(Ao,go,$o){var Mo=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:So,key:Mo==null?null:""+Mo,children:Ao,containerInfo:go,implementation:$o}}function dm(Ao){if(!Ao)return cu;Ao=Ao._reactInternals;e:{if(Ya(Ao)!==Ao||Ao.tag!==1)throw Error(to(170));var go=Ao;do{switch(go.tag){case 3:go=go.stateNode.context;break e;case 1:if(cc(go.type)){go=go.stateNode.__reactInternalMemoizedMergedChildContext;break e}}go=go.return}while(go!==null);throw Error(to(171))}if(Ao.tag===1){var $o=Ao.type;if(cc($o))return UA(Ao,$o,go)}return go}function pm(Ao,go,$o,Mo,Go,Jo,ha,$a,Ma){return Ao=Yp($o,Mo,!0,Ao,Go,Jo,ha,$a,Ma),Ao.context=dm(null),$o=Ao.current,Mo=oc(),Go=mu($o),Jo=Jc(Mo,Go),Jo.callback=go??null,du($o,Jo,Go),Ao.current.lanes=Go,yl(Ao,Go,Mo),dc(Ao,Mo),Ao}function bd(Ao,go,$o,Mo){var Go=go.current,Jo=oc(),ha=mu(Go);return $o=dm($o),go.context===null?go.context=$o:go.pendingContext=$o,go=Jc(Jo,ha),go.payload={element:Ao},Mo=Mo===void 0?null:Mo,Mo!==null&&(go.callback=Mo),Ao=du(Go,go,ha),Ao!==null&&(Uc(Ao,Go,ha,Jo),Xf(Ao,Go,ha)),ha}function _d(Ao){if(Ao=Ao.current,!Ao.child)return null;switch(Ao.child.tag){case 5:return Ao.child.stateNode;default:return Ao.child.stateNode}}function Am(Ao,go){if(Ao=Ao.memoizedState,Ao!==null&&Ao.dehydrated!==null){var $o=Ao.retryLane;Ao.retryLane=$o!==0&&$o<go?$o:go}}function Xp(Ao,go){Am(Ao,go),(Ao=Ao.alternate)&&Am(Ao,go)}function kg(){return null}var hm=typeof reportError=="function"?reportError:function(Ao){console.error(Ao)};function Jp(Ao){this._internalRoot=Ao}Sd.prototype.render=Jp.prototype.render=function(Ao){var go=this._internalRoot;if(go===null)throw Error(to(409));bd(Ao,go,null,null)},Sd.prototype.unmount=Jp.prototype.unmount=function(){var Ao=this._internalRoot;if(Ao!==null){this._internalRoot=null;var go=Ao.containerInfo;
vendor: 6,459 bytes, line 126
126Bu(function(){bd(null,Ao,null,null)}),go[Gc]=null}};function Sd(Ao){this._internalRoot=Ao}Sd.prototype.unstable_scheduleHydration=function(Ao){if(Ao){var go=nc();Ao={blockedOn:null,target:Ao,priority:go};for(var $o=0;$o<fa.length&&go!==0&&go<fa[$o].priority;$o++);fa.splice($o,0,Ao),$o===0&&Ja(Ao)}};function Zp(Ao){return!(!Ao||Ao.nodeType!==1&&Ao.nodeType!==9&&Ao.nodeType!==11)}function Cd(Ao){return!(!Ao||Ao.nodeType!==1&&Ao.nodeType!==9&&Ao.nodeType!==11&&(Ao.nodeType!==8||Ao.nodeValue!==" react-mount-point-unstable "))}function mm(){}function Fg(Ao,go,$o,Mo,Go){if(Go){if(typeof Mo=="function"){var Jo=Mo;Mo=function(){var Wa=_d(ha);Jo.call(Wa)}}var ha=pm(go,Mo,Ao,0,null,!1,!1,"",mm);return Ao._reactRootContainer=ha,Ao[Gc]=ha.current,df(Ao.nodeType===8?Ao.parentNode:Ao),Bu(),ha}for(;Go=Ao.lastChild;)Ao.removeChild(Go);if(typeof Mo=="function"){var $a=Mo;Mo=function(){var Wa=_d(Ma);$a.call(Wa)}}var Ma=Yp(Ao,0,!1,null,null,!1,!1,"",mm);return Ao._reactRootContainer=Ma,Ao[Gc]=Ma.current,df(Ao.nodeType===8?Ao.parentNode:Ao),Bu(function(){bd(go,Ma,$o,Mo)}),Ma}function wd(Ao,go,$o,Mo,Go){var Jo=$o._reactRootContainer;if(Jo){var ha=Jo;if(typeof Go=="function"){var $a=Go;Go=function(){var Ma=_d(ha);$a.call(Ma)}}bd(go,ha,Ao,Go)}else ha=Fg($o,go,Ao,Go,Mo);return _d(ha)}Es=function(Ao){switch(Ao.tag){case 3:var go=Ao.stateNode;if(go.current.memoizedState.isDehydrated){var $o=vl(go.pendingLanes);$o!==0&&(pc(go,$o|1),dc(go,il()),(Js&6)===0&&(ef=il()+500,uu()))}break;case 13:Bu(function(){var Mo=Xc(Ao,1);if(Mo!==null){var Go=oc();Uc(Mo,Ao,1,Go)}}),Xp(Ao,1)}},kc=function(Ao){if(Ao.tag===13){var go=Xc(Ao,134217728);if(go!==null){var $o=oc();Uc(go,Ao,134217728,$o)}Xp(Ao,134217728)}},rc=function(Ao){if(Ao.tag===13){var go=mu(Ao),$o=Xc(Ao,go);if($o!==null){var Mo=oc();Uc($o,Ao,go,Mo)}Xp(Ao,go)}},nc=function(){return Ws},Ac=function(Ao,go){var $o=Ws;try{return Ws=Ao,go()}finally{Ws=$o}},Rs=function(Ao,go,$o){switch(go){case"input":if(Pa(Ao,$o),go=$o.name,$o.type==="radio"&&go!=null){for($o=Ao;$o.parentNode;)$o=$o.parentNode;for($o=$o.querySelectorAll("input[name="+JSON.stringify(""+go)+'][type="radio"]'),go=0;go<$o.length;go++){var Mo=$o[go];if(Mo!==Ao&&Mo.form===Ao.form){var Go=jf(Mo);if(!Go)throw Error(to(90));ea(Mo),Pa(Mo,Go)}}}break;case"textarea":xa(Ao,$o);break;case"select":go=$o.value,go!=null&&Ia(Ao,!!$o.multiple,go,!1)}},Zs=Qp,$s=Bu;var Mg={usingClientEntryPoint:!1,Events:[hf,ju,jf,hs,ol,Qp]},Tf={findFiberByHostInstance:Su,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Dg={bundleType:Tf.bundleType,version:Tf.version,rendererPackageName:Tf.rendererPackageName,rendererConfig:Tf.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Eo.ReactCurrentDispatcher,findHostInstanceByFiber:function(Ao){return Ao=Ns(Ao),Ao===null?null:Ao.stateNode},findFiberByHostInstance:Tf.findFiberByHostInstance||kg,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ed=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ed.isDisabled&&Ed.supportsFiber)try{Ys=Ed.inject(Dg),dl=Ed}catch{}}return reactDom_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Mg,reactDom_production_min.createPortal=function(Ao,go){var $o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Zp(go))throw Error(to(200));return Og(Ao,go,null,$o)},reactDom_production_min.createRoot=function(Ao,go){if(!Zp(Ao))throw Error(to(299));var $o=!1,Mo="",Go=hm;return go!=null&&(go.unstable_strictMode===!0&&($o=!0),go.identifierPrefix!==void 0&&(Mo=go.identifierPrefix),go.onRecoverableError!==void 0&&(Go=go.onRecoverableError)),go=Yp(Ao,1,!1,null,null,$o,!1,Mo,Go),Ao[Gc]=go.current,df(Ao.nodeType===8?Ao.parentNode:Ao),new Jp(go)},reactDom_production_min.findDOMNode=function(Ao){if(Ao==null)return null;if(Ao.nodeType===1)return Ao;var go=Ao._reactInternals;if(go===void 0)throw typeof Ao.render=="function"?Error(to(188)):(Ao=Object.keys(Ao).join(","),Error(to(268,Ao)));return Ao=Ns(go),Ao=Ao===null?null:Ao.stateNode,Ao},reactDom_production_min.flushSync=function(Ao){return Bu(Ao)},reactDom_production_min.hydrate=function(Ao,go,$o){if(!Cd(go))throw Error(to(200));return wd(null,Ao,go,!0,$o)},reactDom_production_min.hydrateRoot=function(Ao,go,$o){if(!Zp(Ao))throw Error(to(405));var Mo=$o!=null&&$o.hydratedSources||null,Go=!1,Jo="",ha=hm;if($o!=null&&($o.unstable_strictMode===!0&&(Go=!0),$o.identifierPrefix!==void 0&&(Jo=$o.identifierPrefix),$o.onRecoverableError!==void 0&&(ha=$o.onRecoverableError)),go=pm(go,null,Ao,1,$o??null,Go,!1,Jo,ha),Ao[Gc]=go.current,df(Ao),Mo)for(Ao=0;Ao<Mo.length;Ao++)$o=Mo[Ao],Go=$o._getVersion,Go=Go($o._source),go.mutableSourceEagerHydrationData==null?go.mutableSourceEagerHydrationData=[$o,Go]:go.mutableSourceEagerHydrationData.push($o,Go);return new Sd(go)},reactDom_production_min.render=function(Ao,go,$o){if(!Cd(go))throw Error(to(200));return wd(null,Ao,go,!1,$o)},reactDom_production_min.unmountComponentAtNode=function(Ao){if(!Cd(Ao))throw Error(to(40));return Ao._reactRootContainer?(Bu(function(){wd(null,null,Ao,!1,function(){Ao._reactRootContainer=null,Ao[Gc]=null})}),!0):!1},reactDom_production_min.unstable_batchedUpdates=Qp,reactDom_production_min.unstable_renderSubtreeIntoContainer=function(Ao,go,$o,Mo){if(!Cd($o))throw Error(to(200));if(Ao==null||Ao._reactInternals===void 0)throw Error(to(38));return wd(Ao,go,$o,!1,Mo)},reactDom_production_min.version="18.3.1-next-f1338f8080-20240426",reactDom_production_min}function checkDCE(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE)}catch(Yi){console.error(Yi)}}checkDCE(),reactDom.exports=requireReactDom_production_min();var reactDomExports=reactDom.exports;const ReactDOM=getDefaultExportFromCjs(reactDomExports),config$1={disabled:!1},TransitionGroupContext=React$1F.createContext(null);var forceReflow=function(eo){return eo.scrollTop},UNMOUNTED="unmounted",EXITED="exited",ENTERING="entering",ENTERED="entered",EXITING="exiting",Transition=(function(Yi){_inheritsLoose$3(eo,Yi);function eo(ro,no){var io;io=Yi.call(this,ro,no)||this;
vendor: 4,248 bytes, line 126
126var oo=no,ao=oo&&!oo.isMounting?ro.enter:ro.appear,so;return io.appearStatus=null,ro.in?ao?(so=EXITED,io.appearStatus=ENTERING):so=ENTERED:ro.unmountOnExit||ro.mountOnEnter?so=UNMOUNTED:so=EXITED,io.state={status:so},io.nextCallback=null,io}eo.getDerivedStateFromProps=function(no,io){var oo=no.in;return oo&&io.status===UNMOUNTED?{status:EXITED}:null};var to=eo.prototype;return to.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},to.componentDidUpdate=function(no){var io=null;if(no!==this.props){var oo=this.state.status;this.props.in?oo!==ENTERING&&oo!==ENTERED&&(io=ENTERING):(oo===ENTERING||oo===ENTERED)&&(io=EXITING)}this.updateStatus(!1,io)},to.componentWillUnmount=function(){this.cancelNextCallback()},to.getTimeouts=function(){var no=this.props.timeout,io,oo,ao;return io=oo=ao=no,no!=null&&typeof no!="number"&&(io=no.exit,oo=no.enter,ao=no.appear!==void 0?no.appear:oo),{exit:io,enter:oo,appear:ao}},to.updateStatus=function(no,io){if(no===void 0&&(no=!1),io!==null)if(this.cancelNextCallback(),io===ENTERING){if(this.props.unmountOnExit||this.props.mountOnEnter){var oo=this.props.nodeRef?this.props.nodeRef.current:ReactDOM.findDOMNode(this);oo&&forceReflow(oo)}this.performEnter(no)}else this.performExit();else this.props.unmountOnExit&&this.state.status===EXITED&&this.setState({status:UNMOUNTED})},to.performEnter=function(no){var io=this,oo=this.props.enter,ao=this.context?this.context.isMounting:no,so=this.props.nodeRef?[ao]:[ReactDOM.findDOMNode(this),ao],lo=so[0],co=so[1],uo=this.getTimeouts(),fo=ao?uo.appear:uo.enter;if(!no&&!oo||config$1.disabled){this.safeSetState({status:ENTERED},function(){io.props.onEntered(lo)});return}this.props.onEnter(lo,co),this.safeSetState({status:ENTERING},function(){io.props.onEntering(lo,co),io.onTransitionEnd(fo,function(){io.safeSetState({status:ENTERED},function(){io.props.onEntered(lo,co)})})})},to.performExit=function(){var no=this,io=this.props.exit,oo=this.getTimeouts(),ao=this.props.nodeRef?void 0:ReactDOM.findDOMNode(this);if(!io||config$1.disabled){this.safeSetState({status:EXITED},function(){no.props.onExited(ao)});return}this.props.onExit(ao),this.safeSetState({status:EXITING},function(){no.props.onExiting(ao),no.onTransitionEnd(oo.exit,function(){no.safeSetState({status:EXITED},function(){no.props.onExited(ao)})})})},to.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},to.safeSetState=function(no,io){io=this.setNextCallback(io),this.setState(no,io)},to.setNextCallback=function(no){var io=this,oo=!0;return this.nextCallback=function(ao){oo&&(oo=!1,io.nextCallback=null,no(ao))},this.nextCallback.cancel=function(){oo=!1},this.nextCallback},to.onTransitionEnd=function(no,io){this.setNextCallback(io);var oo=this.props.nodeRef?this.props.nodeRef.current:ReactDOM.findDOMNode(this),ao=no==null&&!this.props.addEndListener;if(!oo||ao){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var so=this.props.nodeRef?[this.nextCallback]:[oo,this.nextCallback],lo=so[0],co=so[1];this.props.addEndListener(lo,co)}no!=null&&setTimeout(this.nextCallback,no)},to.render=function(){var no=this.state.status;if(no===UNMOUNTED)return null;var io=this.props,oo=io.children;io.in,io.mountOnEnter,io.unmountOnExit,io.appear,io.enter,io.exit,io.timeout,io.addEndListener,io.onEnter,io.onEntering,io.onEntered,io.onExit,io.onExiting,io.onExited,io.nodeRef;var ao=_objectWithoutPropertiesLoose$k(io,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return React$1F.createElement(TransitionGroupContext.Provider,{value:null},typeof oo=="function"?oo(no,ao):React$1F.cloneElement(React$1F.Children.only(oo),ao))},eo})(React$1F.Component);Transition.contextType=TransitionGroupContext;Transition.propTypes={};function noop$8(){}Transition.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:noop$8,onEntering:noop$8,onEntered:noop$8,onExit:noop$8,onExiting:noop$8,onExited:noop$8};Transition.UNMOUNTED=UNMOUNTED;Transition.EXITED=EXITED;Transition.ENTERING=ENTERING;Transition.ENTERED=ENTERED;Transition.EXITING=EXITING;
vendor: 9,552 bytes, line 126
126function _assertThisInitialized$j(Yi){if(Yi===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yi}function getChildMapping(Yi,eo){var to=function(io){return eo&&reactExports.isValidElement(io)?eo(io):io},ro=Object.create(null);return Yi&&reactExports.Children.map(Yi,function(no){return no}).forEach(function(no){ro[no.key]=to(no)}),ro}function mergeChildMappings(Yi,eo){Yi=Yi||{},eo=eo||{};function to(co){return co in eo?eo[co]:Yi[co]}var ro=Object.create(null),no=[];for(var io in Yi)io in eo?no.length&&(ro[io]=no,no=[]):no.push(io);var oo,ao={};for(var so in eo){if(ro[so])for(oo=0;oo<ro[so].length;oo++){var lo=ro[so][oo];ao[ro[so][oo]]=to(lo)}ao[so]=to(so)}for(oo=0;oo<no.length;oo++)ao[no[oo]]=to(no[oo]);return ao}function getProp(Yi,eo,to){return to[eo]!=null?to[eo]:Yi.props[eo]}function getInitialChildMapping(Yi,eo){return getChildMapping(Yi.children,function(to){return reactExports.cloneElement(to,{onExited:eo.bind(null,to),in:!0,appear:getProp(to,"appear",Yi),enter:getProp(to,"enter",Yi),exit:getProp(to,"exit",Yi)})})}function getNextChildMapping(Yi,eo,to){var ro=getChildMapping(Yi.children),no=mergeChildMappings(eo,ro);return Object.keys(no).forEach(function(io){var oo=no[io];if(reactExports.isValidElement(oo)){var ao=io in eo,so=io in ro,lo=eo[io],co=reactExports.isValidElement(lo)&&!lo.props.in;so&&(!ao||co)?no[io]=reactExports.cloneElement(oo,{onExited:to.bind(null,oo),in:!0,exit:getProp(oo,"exit",Yi),enter:getProp(oo,"enter",Yi)}):!so&&ao&&!co?no[io]=reactExports.cloneElement(oo,{in:!1}):so&&ao&&reactExports.isValidElement(lo)&&(no[io]=reactExports.cloneElement(oo,{onExited:to.bind(null,oo),in:lo.props.in,exit:getProp(oo,"exit",Yi),enter:getProp(oo,"enter",Yi)}))}}),no}var values=Object.values||function(Yi){return Object.keys(Yi).map(function(eo){return Yi[eo]})},defaultProps$3={component:"div",childFactory:function(eo){return eo}},TransitionGroup=(function(Yi){_inheritsLoose$3(eo,Yi);function eo(ro,no){var io;io=Yi.call(this,ro,no)||this;var oo=io.handleExited.bind(_assertThisInitialized$j(io));return io.state={contextValue:{isMounting:!0},handleExited:oo,firstRender:!0},io}var to=eo.prototype;return to.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},to.componentWillUnmount=function(){this.mounted=!1},eo.getDerivedStateFromProps=function(no,io){var oo=io.children,ao=io.handleExited,so=io.firstRender;return{children:so?getInitialChildMapping(no,ao):getNextChildMapping(no,oo,ao),firstRender:!1}},to.handleExited=function(no,io){var oo=getChildMapping(this.props.children);no.key in oo||(no.props.onExited&&no.props.onExited(io),this.mounted&&this.setState(function(ao){var so=_extends$2c({},ao.children);return delete so[no.key],{children:so}}))},to.render=function(){var no=this.props,io=no.component,oo=no.childFactory,ao=_objectWithoutPropertiesLoose$k(no,["component","childFactory"]),so=this.state.contextValue,lo=values(this.state.children).map(oo);return delete ao.appear,delete ao.enter,delete ao.exit,io===null?React$1F.createElement(TransitionGroupContext.Provider,{value:so},lo):React$1F.createElement(TransitionGroupContext.Provider,{value:so},React$1F.createElement(io,ao,lo))},eo})(React$1F.Component);TransitionGroup.propTypes={};TransitionGroup.defaultProps=defaultProps$3;const reflow=Yi=>Yi.scrollTop;function getTransitionProps(Yi,eo){const{timeout:to,easing:ro,style:no={}}=Yi;return{duration:no.transitionDuration??(typeof to=="number"?to:to[eo.mode]||0),easing:no.transitionTimingFunction??(typeof ro=="object"?ro[eo.mode]:ro),delay:no.transitionDelay}}function getCollapseUtilityClass(Yi){return generateUtilityClass("MuiCollapse",Yi)}generateUtilityClasses("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const useUtilityClasses$1k=Yi=>{const{orientation:eo,classes:to}=Yi,ro={root:["root",`${eo}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${eo}`],wrapperInner:["wrapperInner",`${eo}`]};return composeClasses(ro,getCollapseUtilityClass,to)},CollapseRoot=styled("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,eo[to.orientation],to.state==="entered"&&eo.entered,to.state==="exited"&&!to.in&&to.collapsedSize==="0px"&&eo.hidden]}})(memoTheme(({theme:Yi})=>({height:0,overflow:"hidden",transition:Yi.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:Yi.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:eo})=>eo.state==="exited"&&!eo.in&&eo.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),CollapseWrapper=styled("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(Yi,eo)=>eo.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),CollapseWrapperInner=styled("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(Yi,eo)=>eo.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Collapse=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiCollapse"}),{addEndListener:no,children:io,className:oo,collapsedSize:ao="0px",component:so,easing:lo,in:co,onEnter:uo,onEntered:fo,onEntering:ho,onExit:mo,onExited:vo,onExiting:Co,orientation:bo="vertical",style:wo,timeout:yo=duration$1.standard,TransitionComponent:Eo=Transition,...xo}=ro,So={...ro,orientation:bo,collapsedSize:ao},To=useUtilityClasses$1k(So),Ro=useTheme$2(),Po=useTimeout(),zo=reactExports.useRef(null),Ho=reactExports.useRef(),Vo=typeof ao=="number"?`${ao}px`:ao,Lo=bo==="horizontal",Uo=Lo?"width":"height",Do=reactExports.useRef(null),Oo=useForkRef(to,Do),ko=ra=>da=>{if(ra){const pa=Do.current;da===void 0?ra(pa):ra(pa,da)}},Bo=()=>zo.current?zo.current[Lo?"clientWidth":"clientHeight"]:0,Fo=ko((ra,da)=>{zo.current&&Lo&&(zo.current.style.position="absolute"),ra.style[Uo]=Vo,uo&&uo(ra,da)}),Qo=ko((ra,da)=>{const pa=Bo();zo.current&&Lo&&(zo.current.style.position="");const{duration:sa,easing:ya}=getTransitionProps({style:wo,timeout:yo,easing:lo},{mode:"enter"});if(yo==="auto"){const na=Ro.transitions.getAutoHeightDuration(pa);ra.style.transitionDuration=`${na}ms`,Ho.current=na}else ra.style.transitionDuration=typeof sa=="string"?sa:`${sa}ms`;ra.style[Uo]=`${pa}px`,ra.style.transitionTimingFunction=ya,ho&&ho(ra,da)}),jo=ko((ra,da)=>{ra.style[Uo]="auto",fo&&fo(ra,da)}),Xo=ko(ra=>{ra.style[Uo]=`${Bo()}px`,mo&&mo(ra)}),Zo=ko(vo),Wo=ko(ra=>{const da=Bo(),{duration:pa,easing:sa}=getTransitionProps({style:wo,timeout:yo,easing:lo},{mode:"exit"});if(yo==="auto"){const ya=Ro.transitions.getAutoHeightDuration(da);ra.style.transitionDuration=`${ya}ms`,Ho.current=ya}else ra.style.transitionDuration=typeof pa=="string"?pa:`${pa}ms`;ra.style[Uo]=Vo,ra.style.transitionTimingFunction=sa,Co&&Co(ra)}),ta=ra=>{yo==="auto"&&Po.start(Ho.current||0,ra),no&&no(Do.current,ra)};return jsxRuntimeExports.jsx(Eo,{in:co,onEnter:Fo,onEntered:jo,onEntering:Qo,onExit:Xo,onExited:Zo,onExiting:Wo,addEndListener:ta,nodeRef:Do,timeout:yo==="auto"?null:yo,...xo,children:(ra,da)=>jsxRuntimeExports.jsx(CollapseRoot,{as:so,className:clsx(To.root,oo,{entered:To.entered,exited:!co&&Vo==="0px"&&To.hidden}[ra]),style:{[Lo?"minWidth":"minHeight"]:Vo,...wo},ref:Oo,...da,ownerState:{...So,state:ra},children:jsxRuntimeExports.jsx(CollapseWrapper,{ownerState:{...So,state:ra},className:To.wrapper,ref:zo,children:jsxRuntimeExports.jsx(CollapseWrapperInner,{ownerState:{...So,state:ra},className:To.wrapperInner,children:io})})})})});Collapse&&(Collapse.muiSupportAuto=!0);function getPaperUtilityClass(Yi){return generateUtilityClass("MuiPaper",Yi)}generateUtilityClasses("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const useUtilityClasses$1j=Yi=>{const{square:eo,elevation:to,variant:ro,classes:no}=Yi,io={root:["root",ro,!eo&&"rounded",ro==="elevation"&&`elevation${to}`]};return composeClasses(io,getPaperUtilityClass,no)},PaperRoot=styled("div",{name:"MuiPaper",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,eo[to.variant],!to.square&&eo.rounded,to.variant==="elevation"&&eo[`elevation${to.elevation}`]]}})(memoTheme(({theme:Yi})=>({backgroundColor:(Yi.vars||Yi).palette.background.paper,color:(Yi.vars||Yi).palette.text.primary,transition:Yi.transitions.create("box-shadow"),variants:[{props:({ownerState:eo})=>!eo.square,style:{borderRadius:Yi.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(Yi.vars||Yi).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Paper=reactExports.forwardRef(function(eo,to){var ho;const ro=useDefaultProps({props:eo,name:"MuiPaper"}),no=useTheme$2(),{className:io,component:oo="div",elevation:ao=1,square:so=!1,variant:lo="elevation",...co}=ro,uo={...ro,component:oo,elevation:ao,square:so,variant:lo},fo=useUtilityClasses$1j(uo);return jsxRuntimeExports.jsx(PaperRoot,{as:oo,ownerState:uo,className:clsx(fo.root,
126io),ref:to,...co,style:{...lo==="elevation"&&{"--Paper-shadow":(no.vars||no).shadows[ao],...no.vars&&{"--Paper-overlay":(ho=no.vars.overlays)==null?void 0:ho[ao]},...!no.vars&&no.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${alpha$1("#fff",getOverlayAlpha(ao))}, ${alpha$1("#fff",getOverlayAlpha(ao))})`}},...co.style}})}),AccordionContext=reactExports.createContext({});function useSlot(Yi,eo){const{className:to,elementType:ro,ownerState:no,externalForwardedProps:io,getSlotOwnerState:oo,internalForwardedProps:ao,...so}=eo,{component:lo,slots:co={[Yi]:void 0},slotProps:uo={[Yi]:void 0},...fo}=io,ho=co[Yi]||ro,mo=resolveComponentProps(uo[Yi],no),{props:{component:vo,...Co},internalRef:bo}=mergeSlotProps({className:to,...so,externalForwardedProps:Yi==="root"?fo:void 0,externalSlotProps:mo}),wo=useForkRef(bo,mo==null?void 0:mo.ref,eo.ref),yo=oo?oo(Co):{},Eo={...no,...yo},xo=Yi==="root"?vo||lo:vo,So=appendOwnerState(ho,{...Yi==="root"&&!lo&&!co[Yi]&&ao,...Yi!=="root"&&!co[Yi]&&ao,...Co,...xo&&{as:xo},ref:wo},Eo);return Object.keys(yo).forEach(To=>{delete So[To]}),[ho,So]}function getAccordionUtilityClass(Yi){return generateUtilityClass("MuiAccordion",Yi)}const accordionClasses=generateUtilityClasses("MuiAccordion",["root","heading","rounded","expanded","disabled","gutters","region"]),useUtilityClasses$1i=Yi=>{const{classes:eo,square:to,expanded:ro,disabled:no,disableGutters:io}=Yi;return composeClasses({root:["root",!to&&"rounded",ro&&"expanded",no&&"disabled",!io&&"gutters"],heading:["heading"],region:["region"]},getAccordionUtilityClass,eo)},AccordionRoot=styled(Paper,{name:"MuiAccordion",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[{[`& .${accordionClasses.region}`]:eo.region},eo.root,!to.square&&eo.rounded,!to.disableGutters&&eo.gutters]}})(memoTheme(({theme:Yi})=>{const eo={duration:Yi.transitions.duration.shortest};return{position:"relative",transition:Yi.transitions.create(["margin"],eo),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(Yi.vars||Yi).palette.divider,transition:Yi.transitions.create(["opacity","background-color"],eo)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${accordionClasses.expanded}`]:{"&::before":{opacity:0}
126,"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${accordionClasses.disabled}`]:{backgroundColor:(Yi.vars||Yi).palette.action.disabledBackground}}}),memoTheme(({theme:Yi})=>({variants:[{props:eo=>!eo.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(Yi.vars||Yi).shape.borderRadius,borderTopRightRadius:(Yi.vars||Yi).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(Yi.vars||Yi).shape.borderRadius,borderBottomRightRadius:(Yi.vars||Yi).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:eo=>!eo.disableGutters,style:{[`&.${accordionClasses.expanded}`]:{margin:"16px 0"}}}]}))),AccordionHeading=styled("h3",{name:"MuiAccordion",slot:"Heading",overridesResolver:(Yi,eo)=>eo.heading})({all:"unset"}),Accordion=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiAccordion"}),{children:no,className:io,defaultExpanded:oo=!1,disabled:ao=!1,disableGutters:so=!1,expanded:lo,onChange:co,square:uo=!1,slots:fo={},slotProps:ho={},TransitionComponent:mo,TransitionProps:vo,...Co}=ro,[bo,wo]=useControlled({controlled:lo,default:oo,name:"Accordion",state:"expanded"}),yo=reactExports.useCallback(Oo=>{wo(!bo),co&&co(Oo,!bo)},[bo,co,wo]),[Eo,...xo]=reactExports.Children.toArray(no),So=reactExports.useMemo(()=>({expanded:bo,disabled:ao,disableGutters:so,toggle:yo}),[bo,ao,so,yo]),To={...ro,square:uo,disabled:ao,disableGutters:so,expanded:bo},Ro=useUtilityClasses$1i(To),Po={transition:mo,...fo},zo={transition:vo,...ho},Ho={slots:Po,slotProps:zo},[Vo,Lo]=useSlot("heading",{elementType:AccordionHeading,externalForwardedProps:Ho,className:Ro.heading,ownerState:To}),[Uo,Do]=useSlot("transition",{elementType:Collapse,externalForwardedProps:Ho,ownerState:To});return jsxRuntimeExports.jsxs(AccordionRoot,{className:clsx(Ro.root,io),ref:to,ownerState:To,square:uo,...Co,children:[jsxRuntimeExports.jsx(Vo,{...Lo,children:jsxRuntimeExports.jsx(AccordionContext.Provider,{value:So,children:Eo})}),jsxRuntimeExports.jsx(Uo,{in:bo,timeout:"auto",...Do,children:jsxRuntimeExports.jsx("div",{"aria-labelledby":Eo.props.id,id:Eo.props["aria-controls"],role:"region",className:Ro.region,children:xo})})]})});function getAccordionDetailsUtilityClass(Yi){return generateUtilityClass("MuiAccordionDetails",Yi)}generateUtilityClasses("MuiAccordionDetails",["root"]);const useUtilityClasses$1h=Yi=>{const{classes:eo}=Yi;return composeClasses({root:["root"]},getAccordionDetailsUtilityClass,eo)},AccordionDetailsRoot=styled("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(Yi,eo)=>eo.root})(memoTheme(({theme:Yi})=>({padding:Yi.spacing(1,2,2)}))),AccordionDetails=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiAccordionDetails"}),{className:no,...io}=ro,oo=ro,ao=useUtilityClasses$1h(oo);return jsxRuntimeExports.jsx(AccordionDetailsRoot,{className:clsx(ao.root,no),ref:to,ownerState:oo,...io})});class LazyRipple{constructor(){As(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new LazyRipple}static use(){const eo=useLazyRef(LazyRipple.create).current,[to,ro]=reactExports.useState(!1);return eo.shouldMount=to,eo.setShouldMount=ro,reactExports.useEffect(eo.mountEffect,[to]),eo}mount(){return this.mounted||(this.mounted=createControlledPromise(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...eo){this.mount().then(()=>{var to;return(to=this.ref.current)==null?void 0:to.start(...eo)})}stop(...eo){this.mount().then(()=>{var to;return(to=this.ref.current)==null?void 0:to.stop(...eo)})}pulsate(...eo){this.mount().then(()=>{var to;return(to=this.ref.current)==null?void 0:to.pulsate(...eo)})}}function useLazyRipple(){return LazyRipple.use()}function createControlledPromise(){let Yi,eo;const to=new Promise((ro,no)=>{Yi=ro,eo=no});return to.resolve=Yi,to.reject=eo,to}function Ripple(Yi){const{className:eo,classes:to,pulsate:ro=!1,rippleX:no,rippleY:io,rippleSize:oo,in:ao,onExited:so,timeout:lo}=Yi,[co,uo]=reactExports.useState(!1),fo=clsx(eo,to.ripple,to.rippleVisible,ro&&to.ripplePulsate),ho={width:oo,height:oo,top:-(oo/2)+io,left:-(oo/2)+no}
126,mo=clsx(to.child,co&&to.childLeaving,ro&&to.childPulsate);return!ao&&!co&&uo(!0),reactExports.useEffect(()=>{if(!ao&&so!=null){const vo=setTimeout(so,lo);return()=>{clearTimeout(vo)}}},[so,ao,lo]),jsxRuntimeExports.jsx("span",{className:fo,style:ho,children:jsxRuntimeExports.jsx("span",{className:mo})})}const touchRippleClasses=generateUtilityClasses("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),DURATION=550,DELAY_RIPPLE=80,enterKeyframe=keyframes`
127  0% {
128    transform: scale(0);
129    opacity: 0.1;
130  }
131
132  100% {
133    transform: scale(1);
134    opacity: 0.3;
135  }
136`,exitKeyframe=keyframes`
137  0% {
138    opacity: 1;
139  }
140
141  100% {
142    opacity: 0;
143  }
144`,pulsateKeyframe=keyframes`
145  0% {
146    transform: scale(1);
147  }
148
149  50% {
150    transform: scale(0.92);
151  }
152
153  100% {
154    transform: scale(1);
155  }
156`,TouchRippleRoot=styled("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),TouchRippleRipple=styled(Ripple,{name:"MuiTouchRipple",slot:"Ripple"})`
157  opacity: 0;
158  position: absolute;
159
160  &.${touchRippleClasses.rippleVisible} {
161    opacity: 0.3;
162    transform: scale(1);
163    animation-name: ${enterKeyframe};
164    animation-duration: ${DURATION}ms;
165    animation-timing-function: ${({theme:Yi})=>Yi.transitions.easing.easeInOut};
166  }
167
168  &.${touchRippleClasses.ripplePulsate} {
169    animation-duration: ${({theme:Yi})=>Yi.transitions.duration.shorter}ms;
170  }
171
172  & .${touchRippleClasses.child} {
173    opacity: 1;
174    display: block;
175    width: 100%;
176    height: 100%;
177    border-radius: 50%;
178    background-color: currentColor;
179  }
180
181  & .${touchRippleClasses.childLeaving} {
182    opacity: 0;
183    animation-name: ${exitKeyframe};
184    animation-duration: ${DURATION}ms;
185    animation-timing-function: ${({theme:Yi})=>Yi.transitions.easing.easeInOut};
186  }
187
188  & .${touchRippleClasses.childPulsate} {
189    position: absolute;
190    /* @noflip */
191    left: 0px;
192    top: 0;
193    animation-name: ${pulsateKeyframe};
194    animation-duration: 2500ms;
195    animation-timing-function: ${({theme:Yi})=>Yi.transitions.easing.easeInOut};
196    animation-iteration-count: infinite;
197    animation-delay: 200ms;
198  }
199`,TouchRipple=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiTouchRipple"}),{center:no=!1,classes:io={},className:oo,...ao}=ro,[so,lo]=reactExports.useState([]),co=reactExports.useRef(0),uo=reactExports.useRef(null);reactExports.useEffect(()=>{uo.current&&(uo.current(),uo.current=null)},[so]);const fo=reactExports.useRef(!1),ho=useTimeout(),mo=reactExports.useRef(null),vo=reactExports.useRef(null),Co=reactExports.useCallback(Eo=>{const{pulsate:xo,rippleX:So,rippleY:To,rippleSize:Ro,cb:Po}=Eo;lo(zo=>[...zo,jsxRuntimeExports.jsx(TouchRippleRipple,{classes:{ripple:clsx(io.ripple,touchRippleClasses.ripple),rippleVisible:clsx(io.rippleVisible,touchRippleClasses.rippleVisible),ripplePulsate:clsx(io.ripplePulsate,touchRippleClasses.ripplePulsate),child:clsx(io.child,touchRippleClasses.child),childLeaving:clsx(io.childLeaving,touchRippleClasses.childLeaving),childPulsate:clsx(io.childPulsate,touchRippleClasses.childPulsate)},timeout:DURATION,pulsate:xo,rippleX:So,rippleY:To,rippleSize:Ro},co.current)]),co.current+=1,uo.current=Po},[io]),bo=reactExports.useCallback((Eo={},xo={},So=()=>{})=>{const{pulsate:To=!1,center:Ro=no||xo.pulsate,fakeElement:Po=!1}=xo;if((Eo==null?void 0:Eo.type)==="mousedown"&&fo.current){fo.current=!1;return}(Eo==null?void 0:Eo.type)==="touchstart"&&(fo.current=!0);const zo=Po?null:vo.current,Ho=zo?zo.getBoundingClientRect():{width:0,height:0,left:0,top:0};let Vo,Lo,Uo;if(Ro||Eo===void 0||Eo.clientX===0&&Eo.clientY===0||!Eo.clientX&&!Eo.touches)Vo=Math.round(Ho.width/2),Lo=Math.round(Ho.height/2);else{const{clientX:Do,clientY:Oo}=Eo.touches&&Eo.touches.length>0?Eo.touches[0]:Eo;Vo=Math.round(Do-Ho.left),Lo=Math.round(Oo-Ho.top)}if(Ro)Uo=Math.sqrt((2*Ho.width**2+Ho.height**2)/3),Uo%2===0&&(Uo+=1);else{const Do=Math.max(Math.abs((zo?zo.clientWidth:0)-Vo),Vo)*2+2,Oo=Math.max(Math.abs((zo?zo.clientHeight:0)-Lo),Lo)*2+2;Uo=Math.sqrt(Do**2+Oo**2)}
vendor: 25,082 bytes, line 199
199Eo!=null&&Eo.touches?mo.current===null&&(mo.current=()=>{Co({pulsate:To,rippleX:Vo,rippleY:Lo,rippleSize:Uo,cb:So})},ho.start(DELAY_RIPPLE,()=>{mo.current&&(mo.current(),mo.current=null)})):Co({pulsate:To,rippleX:Vo,rippleY:Lo,rippleSize:Uo,cb:So})},[no,Co,ho]),wo=reactExports.useCallback(()=>{bo({},{pulsate:!0})},[bo]),yo=reactExports.useCallback((Eo,xo)=>{if(ho.clear(),(Eo==null?void 0:Eo.type)==="touchend"&&mo.current){mo.current(),mo.current=null,ho.start(0,()=>{yo(Eo,xo)});return}mo.current=null,lo(So=>So.length>0?So.slice(1):So),uo.current=xo},[ho]);return reactExports.useImperativeHandle(to,()=>({pulsate:wo,start:bo,stop:yo}),[wo,bo,yo]),jsxRuntimeExports.jsx(TouchRippleRoot,{className:clsx(touchRippleClasses.root,io.root,oo),ref:vo,...ao,children:jsxRuntimeExports.jsx(TransitionGroup,{component:null,exit:!0,children:so})})});function getButtonBaseUtilityClass(Yi){return generateUtilityClass("MuiButtonBase",Yi)}const buttonBaseClasses=generateUtilityClasses("MuiButtonBase",["root","disabled","focusVisible"]),useUtilityClasses$1g=Yi=>{const{disabled:eo,focusVisible:to,focusVisibleClassName:ro,classes:no}=Yi,oo=composeClasses({root:["root",eo&&"disabled",to&&"focusVisible"]},getButtonBaseUtilityClass,no);return to&&ro&&(oo.root+=` ${ro}`),oo},ButtonBaseRoot=styled("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(Yi,eo)=>eo.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${buttonBaseClasses.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ButtonBase=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiButtonBase"}),{action:no,centerRipple:io=!1,children:oo,className:ao,component:so="button",disabled:lo=!1,disableRipple:co=!1,disableTouchRipple:uo=!1,focusRipple:fo=!1,focusVisibleClassName:ho,LinkComponent:mo="a",onBlur:vo,onClick:Co,onContextMenu:bo,onDragLeave:wo,onFocus:yo,onFocusVisible:Eo,onKeyDown:xo,onKeyUp:So,onMouseDown:To,onMouseLeave:Ro,onMouseUp:Po,onTouchEnd:zo,onTouchMove:Ho,onTouchStart:Vo,tabIndex:Lo=0,TouchRippleProps:Uo,touchRippleRef:Do,type:Oo,...ko}=ro,Bo=reactExports.useRef(null),Fo=useLazyRipple(),Qo=useForkRef(Fo.ref,Do),[jo,Xo]=reactExports.useState(!1);lo&&jo&&Xo(!1),reactExports.useImperativeHandle(no,()=>({focusVisible:()=>{Xo(!0),Bo.current.focus()}}),[]);const Zo=Fo.shouldMount&&!co&&!lo;reactExports.useEffect(()=>{jo&&fo&&!co&&Fo.pulsate()},[co,fo,jo,Fo]);function Wo(va,xa,Oa=uo){return useEventCallback(Da=>(xa&&xa(Da),Oa||Fo[va](Da),!0))}const ta=Wo("start",To),ra=Wo("stop",bo),da=Wo("stop",wo),pa=Wo("stop",Po),sa=Wo("stop",va=>{jo&&va.preventDefault(),Ro&&Ro(va)}),ya=Wo("start",Vo),na=Wo("stop",zo),ea=Wo("stop",Ho),oa=Wo("stop",va=>{isFocusVisible(va.target)||Xo(!1),vo&&vo(va)},!1),la=useEventCallback(va=>{Bo.current||(Bo.current=va.currentTarget),isFocusVisible(va.target)&&(Xo(!0),Eo&&Eo(va)),yo&&yo(va)}),_a=()=>{const va=Bo.current;return so&&so!=="button"&&!(va.tagName==="A"&&va.href)},Ea=useEventCallback(va=>{fo&&!va.repeat&&jo&&va.key===" "&&Fo.stop(va,()=>{Fo.start(va)}),va.target===va.currentTarget&&_a()&&va.key===" "&&va.preventDefault(),xo&&xo(va),va.target===va.currentTarget&&_a()&&va.key==="Enter"&&!lo&&(va.preventDefault(),Co&&Co(va))}),Pa=useEventCallback(va=>{fo&&va.key===" "&&jo&&!va.defaultPrevented&&Fo.stop(va,()=>{Fo.pulsate(va)}),So&&So(va),Co&&va.target===va.currentTarget&&_a()&&va.key===" "&&!va.defaultPrevented&&Co(va)});let aa=so;aa==="button"&&(ko.href||ko.to)&&(aa=mo);const Ca={};aa==="button"?(Ca.type=Oo===void 0?"button":Oo,Ca.disabled=lo):(!ko.href&&!ko.to&&(Ca.role="button"),lo&&(Ca["aria-disabled"]=lo));const Sa=useForkRef(to,Bo),Ia={...ro,centerRipple:io,component:so,disabled:lo,disableRipple:co,disableTouchRipple:uo,focusRipple:fo,tabIndex:Lo,focusVisible:jo},Ta=useUtilityClasses$1g(Ia);return jsxRuntimeExports.jsxs(ButtonBaseRoot,{as:aa,className:clsx(Ta.root,ao),ownerState:Ia,onBlur:oa,onClick:Co,onContextMenu:ra,onFocus:la,onKeyDown:Ea,onKeyUp:Pa,onMouseDown:ta,onMouseLeave:sa,onMouseUp:pa,onDragLeave:da,onTouchEnd:na,onTouchMove:ea,onTouchStart:ya,ref:Sa,tabIndex:lo?-1:Lo,type:Oo,...Ca,...ko,children:[oo,Zo?jsxRuntimeExports.jsx(TouchRipple,{ref:Qo,center:io,...Uo}):null]})});function getAccordionSummaryUtilityClass(Yi){return generateUtilityClass("MuiAccordionSummary",Yi)}const accordionSummaryClasses=generateUtilityClasses("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),useUtilityClasses$1f=Yi=>{const{classes:eo,expanded:to,disabled:ro,disableGutters:no}=Yi;return composeClasses({root:["root",to&&"expanded",ro&&"disabled",!no&&"gutters"],focusVisible:["focusVisible"],content:["content",to&&"expanded",!no&&"contentGutters"],expandIconWrapper:["expandIconWrapper",to&&"expanded"]},getAccordionSummaryUtilityClass,eo)},AccordionSummaryRoot=styled(ButtonBase,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(Yi,eo)=>eo.root})(memoTheme(({theme:Yi})=>{const eo={duration:Yi.transitions.duration.shortest};return{display:"flex",minHeight:48,padding:Yi.spacing(0,2),transition:Yi.transitions.create(["min-height","background-color"],eo),[`&.${accordionSummaryClasses.focusVisible}`]:{backgroundColor:(Yi.vars||Yi).palette.action.focus},[`&.${accordionSummaryClasses.disabled}`]:{opacity:(Yi.vars||Yi).palette.action.disabledOpacity},[`&:hover:not(.${accordionSummaryClasses.disabled})`]:{cursor:"pointer"},variants:[{props:to=>!to.disableGutters,style:{[`&.${accordionSummaryClasses.expanded}`]:{minHeight:64}}}]}})),AccordionSummaryContent=styled("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(Yi,eo)=>eo.content})(memoTheme(({theme:Yi})=>({display:"flex",flexGrow:1,margin:"12px 0",variants:[{props:eo=>!eo.disableGutters,style:{transition:Yi.transitions.create(["margin"],{duration:Yi.transitions.duration.shortest}),[`&.${accordionSummaryClasses.expanded}`]:{margin:"20px 0"}}}]}))),AccordionSummaryExpandIconWrapper=styled("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(Yi,eo)=>eo.expandIconWrapper})(memoTheme(({theme:Yi})=>({display:"flex",color:(Yi.vars||Yi).palette.action.active,transform:"rotate(0deg)",transition:Yi.transitions.create("transform",{duration:Yi.transitions.duration.shortest}),[`&.${accordionSummaryClasses.expanded}`]:{transform:"rotate(180deg)"}}))),AccordionSummary=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiAccordionSummary"}),{children:no,className:io,expandIcon:oo,focusVisibleClassName:ao,onClick:so,...lo}=ro,{disabled:co=!1,disableGutters:uo,expanded:fo,toggle:ho}=reactExports.useContext(AccordionContext),mo=bo=>{ho&&ho(bo),so&&so(bo)},vo={...ro,expanded:fo,disabled:co,disableGutters:uo},Co=useUtilityClasses$1f(vo);return jsxRuntimeExports.jsxs(AccordionSummaryRoot,{focusRipple:!1,disableRipple:!0,disabled:co,component:"div","aria-expanded":fo,className:clsx(Co.root,io),focusVisibleClassName:clsx(Co.focusVisible,ao),onClick:mo,ref:to,ownerState:vo,...lo,children:[jsxRuntimeExports.jsx(AccordionSummaryContent,{className:Co.content,ownerState:vo,children:no}),oo&&jsxRuntimeExports.jsx(AccordionSummaryExpandIconWrapper,{className:Co.expandIconWrapper,ownerState:vo,children:oo})]})});function getAlertUtilityClass(Yi){return generateUtilityClass("MuiAlert",Yi)}const alertClasses=generateUtilityClasses("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function getIconButtonUtilityClass(Yi){return generateUtilityClass("MuiIconButton",Yi)}const iconButtonClasses=generateUtilityClasses("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),useUtilityClasses$1e=Yi=>{const{classes:eo,disabled:to,color:ro,edge:no,size:io}=Yi,oo={root:["root",to&&"disabled",ro!=="default"&&`color${capitalize$3(ro)}`,no&&`edge${capitalize$3(no)}`,`size${capitalize$3(io)}`]};return composeClasses(oo,getIconButtonUtilityClass,eo)},IconButtonRoot=styled(ButtonBase,{name:"MuiIconButton",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.color!=="default"&&eo[`color${capitalize$3(to.color)}`],to.edge&&eo[`edge${capitalize$3(to.edge)}`],eo[`size${capitalize$3(to.size)}`]]}})(memoTheme(({theme:Yi})=>({textAlign:"center",flex:"0 0 auto",fontSize:Yi.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(Yi.vars||Yi).palette.action.active,transition:Yi.transitions.create("background-color",{duration:Yi.transitions.duration.shortest}),variants:[{props:{disableRipple:!1},style:{"&:hover":{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette.action.activeChannel} / ${Yi.vars.palette.action.hoverOpacity})`:alpha$1(Yi.palette.action.active,Yi.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),memoTheme(({theme:Yi})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main).map(([eo])=>({props:{color:eo},style:{color:(Yi.vars||Yi).palette[eo].main}})),...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main).map(([eo])=>({props:{color:eo,disableRipple:!1},style:{"&:hover":{backgroundColor:Yi.vars?`rgba(${(Yi.vars||Yi).palette[eo].mainChannel} / ${Yi.vars.palette.action.hoverOpacity})`:alpha$1((Yi.vars||Yi).palette[eo].main,Yi.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}})),{props:{size:"small"},style:{padding:5,fontSize:Yi.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:Yi.typography.pxToRem(28)}}],[`&.${iconButtonClasses.disabled}`]:{backgroundColor:"transparent",color:(Yi.vars||Yi).palette.action.disabled}}))),IconButton=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiIconButton"}),{edge:no=!1,children:io,className:oo,color:ao="default",disabled:so=!1,disableFocusRipple:lo=!1,disableRipple:co=!1,size:uo="medium",...fo}=ro,ho={...ro,edge:no,color:ao,disabled:so,disableFocusRipple:lo,disableRipple:co,size:uo},mo=useUtilityClasses$1e(ho);return jsxRuntimeExports.jsx(IconButtonRoot,{className:clsx(mo.root,oo),centerRipple:!0,focusRipple:!lo,disabled:so,disableRipple:co,ref:to,...fo,ownerState:ho,children:io})}),SuccessOutlinedIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),ReportProblemOutlinedIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),ErrorOutlineIcon$1=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),InfoOutlinedIcon$1=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),ClearIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),useUtilityClasses$1d=Yi=>{const{variant:eo,color:to,severity:ro,classes:no}=Yi,io={root:["root",`color${capitalize$3(to||ro)}`,`${eo}${capitalize$3(to||ro)}`,`${eo}`],icon:["icon"],message:["message"],action:["action"]};return composeClasses(io,getAlertUtilityClass,no)},AlertRoot=styled(Paper,{name:"MuiAlert",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,eo[to.variant],eo[`${to.variant}${capitalize$3(to.color||to.severity)}`]]}})(memoTheme(({theme:Yi})=>{const eo=Yi.palette.mode==="light"?darken:lighten,to=Yi.palette.mode==="light"?lighten:darken;return{...Yi.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(Yi.palette).filter(([,ro])=>ro&&ro.main&&ro.light).map(([ro])=>({props:{colorSeverity:ro,variant:"standard"},style:{color:Yi.vars?Yi.vars.palette.Alert[`${ro}Color`]:eo(Yi.palette[ro].light,.6),backgroundColor:Yi.vars?Yi.vars.palette.Alert[`${ro}StandardBg`]:to(Yi.palette[ro].light,.9),[`& .${alertClasses.icon}`]:Yi.vars?{color:Yi.vars.palette.Alert[`${ro}IconColor`]}:{color:Yi.palette[ro].main}}})),...Object.entries(Yi.palette).filter(([,ro])=>ro&&ro.main&&ro.light).map(([ro])=>({props:{colorSeverity:ro,variant:"outlined"},style:{color:Yi.vars?Yi.vars.palette.Alert[`${ro}Color`]:eo(Yi.palette[ro].light,.6),border:`1px solid ${(Yi.vars||Yi).palette[ro].light}`,[`& .${alertClasses.icon}`]:Yi.vars?{color:Yi.vars.palette.Alert[`${ro}IconColor`]}:{color:Yi.palette[ro].main}}})),...Object.entries(Yi.palette).filter(([,ro])=>ro&&ro.main&&ro.dark).map(([ro])=>({props:{colorSeverity:ro,variant:"filled"},style:{fontWeight:Yi.typography.fontWeightMedium,...Yi.vars?{color:Yi.vars.palette.Alert[`${ro}FilledColor`],backgroundColor:Yi.vars.palette.Alert[`${ro}FilledBg`]}:{backgroundColor:Yi.palette.mode==="dark"?Yi.palette[ro].dark:Yi.palette[ro].main,color:Yi.palette.getContrastText(Yi.palette[ro].main)}}}))]}})),AlertIcon$3=styled("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(Yi,eo)=>eo.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),AlertMessage=styled("div",{name:"MuiAlert",slot:"Message",overridesResolver:(Yi,eo)=>eo.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),AlertAction=styled("div",{name:"MuiAlert",slot:"Action",overridesResolver:(Yi,eo)=>eo.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),defaultIconMapping={success:jsxRuntimeExports.jsx(SuccessOutlinedIcon,{fontSize:"inherit"}),warning:jsxRuntimeExports.jsx(ReportProblemOutlinedIcon,{fontSize:"inherit"}),error:jsxRuntimeExports.jsx(ErrorOutlineIcon$1,{fontSize:"inherit"}),info:jsxRuntimeExports.jsx(InfoOutlinedIcon$1,{fontSize:"inherit"})},Alert=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiAlert"}),{action:no,children:io,className:oo,closeText:ao="Close",color:so,components:lo={},componentsProps:co={},icon:uo,iconMapping:fo=defaultIconMapping,onClose:ho,role:mo="alert",severity:vo="success",slotProps:Co={},slots:bo={},variant:wo="standard",...yo}=ro,Eo={...ro,color:so,severity:vo,variant:wo,colorSeverity:so||vo},xo=useUtilityClasses$1d(Eo),So={slots:{closeButton:lo.CloseButton,closeIcon:lo.CloseIcon,...bo},slotProps:{...co,...Co}},[To,Ro]=useSlot("closeButton",{elementType:IconButton,externalForwardedProps:So,ownerState:Eo}),[Po,zo]=useSlot("closeIcon",{elementType:ClearIcon,externalForwardedProps:So,ownerState:Eo});return jsxRuntimeExports.jsxs(AlertRoot,{role:mo,elevation:0,ownerState:Eo,className:clsx(xo.root,oo),ref:to,...yo,children:[uo!==!1?jsxRuntimeExports.jsx(AlertIcon$3,{ownerState:Eo,className:xo.icon,children:uo||fo[vo]||defaultIconMapping[vo]}):null,jsxRuntimeExports.jsx(AlertMessage,{ownerState:Eo,className:xo.message,children:io}),no!=null?jsxRuntimeExports.jsx(AlertAction,{ownerState:Eo,className:xo.action,children:no}):null,no==null&&ho?jsxRuntimeExports.jsx(AlertAction,{ownerState:Eo,className:xo.action,children:jsxRuntimeExports.jsx(To,{size:"small","aria-label":ao,title:ao,color:"inherit",onClick:ho,...Ro,children:jsxRuntimeExports.jsx(Po,{fontSize:"small",...zo})})}):null]})});function getTypographyUtilityClass(Yi){return generateUtilityClass("MuiTypography",Yi)}const typographyClasses=generateUtilityClasses("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),v6Colors$1={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},extendSxProp=internal_createExtendSxProp(),useUtilityClasses$1c=Yi=>{const{align:eo,gutterBottom:to,noWrap:ro,paragraph:no,variant:io,classes:oo}=Yi,ao={root:["root",io,Yi.align!=="inherit"&&`align${capitalize$3(eo)}`,to&&"gutterBottom",ro&&"noWrap",no&&"paragraph"]};return composeClasses(ao,getTypographyUtilityClass,oo)},TypographyRoot=styled("span",{name:"MuiTypography",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.variant&&eo[to.variant],to.align!=="inherit"&&eo[`align${capitalize$3(to.align)}`],to.noWrap&&eo.noWrap,to.gutterBottom&&eo.gutterBottom,to.paragraph&&eo.paragraph]}})(memoTheme(({theme:Yi})=>{var eo;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(Yi.typography).filter(([to,ro])=>to!=="inherit"&&ro&&typeof ro=="object").map(([to,ro])=>({props:{variant:to},style:ro})),...Object.entries(Yi.palette).filter(([,to])=>to&&to.main).map(([to])=>({props:{color:to},style:{color:(Yi.vars||Yi).palette[to].main}})),...Object.entries(((eo=Yi.palette)==null?void 0:eo.text)||{}).filter(([,to])=>typeof to=="string").map(([to])=>({props:{color:`text${capitalize$3(to)}`},style:{color:(Yi.vars||Yi).palette.text[to]}})),{props:({ownerState:to})=>to.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:to})=>to.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:to})=>to.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:to})=>to.paragraph,style:{marginBottom:16}}]}})),defaultVariantMapping={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Typography=reactExports.forwardRef(function(eo,to){const{color:ro,...no}=useDefaultProps({props:eo,name:"MuiTypography"}),io=!v6Colors$1[ro],oo=extendSxProp({...no,...io&&{color:ro}}),{align:ao="inherit",className:so,component:lo,gutterBottom:co=!1,noWrap:uo=!1,paragraph:fo=!1,variant:ho="body1",variantMapping:mo=defaultVariantMapping,...vo}=oo,Co={...oo,align:ao,color:ro,className:so,component:lo,gutterBottom:co,noWrap:uo,paragraph:fo,variant:ho,variantMapping:mo},bo=lo||(fo?"p":mo[ho]||defaultVariantMapping[ho])||"span",wo=useUtilityClasses$1c(Co);return jsxRuntimeExports.jsx(TypographyRoot,{as:bo,ref:to,className:clsx(wo.root,so),...vo,ownerState:Co,style:{...ao!=="inherit"&&{"--Typography-textAlign":ao},...vo.style}})});function getAppBarUtilityClass(Yi){return generateUtilityClass("MuiAppBar",Yi)}generateUtilityClasses("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const useUtilityClasses$1b=Yi=>{const{color:eo,position:to,classes:ro}=Yi,no={root:["root",`color${capitalize$3(eo)}`,`position${capitalize$3(to)}`]};return composeClasses(no,getAppBarUtilityClass,ro)},joinVars=(Yi,eo)=>Yi?`${Yi==null?void 0:Yi.replace(")","")}, ${eo})`:eo,AppBarRoot=styled(Paper,{name:"MuiAppBar",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,eo[`position${capitalize$3(to.position)}`],eo[`color${capitalize$3(to.color)}`]]}})(memoTheme(({theme:Yi})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(Yi.vars||Yi).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(Yi.vars||Yi).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(Yi.vars||Yi).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":Yi.vars?Yi.vars.palette.AppBar.defaultBg:Yi.palette.grey[100],"--AppBar-color":Yi.vars?Yi.vars.palette.text.primary:Yi.palette.getContrastText(Yi.palette.grey[100]),...Yi.applyStyles("dark",{"--AppBar-background":Yi.vars?Yi.vars.palette.AppBar.defaultBg:Yi.palette.grey[900],"--AppBar-color":Yi.vars?Yi.vars.palette.text.primary:Yi.palette.getContrastText(Yi.palette.grey[900])})}},...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main&&eo.contrastText).map(([eo])=>({props:{color:eo},style:{"--AppBar-background":(Yi.vars??Yi).palette[eo].main,"--AppBar-color":(Yi.vars??Yi).palette[eo].contrastText}})),{props:eo=>eo.enableColorOnDark===!0&&!["inherit","transparent"].includes(eo.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:eo=>eo.enableColorOnDark===!1&&!["inherit","transparent"].includes(eo.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...Yi.applyStyles("dark",{backgroundColor:Yi.vars?joinVars(Yi.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:Yi.vars?joinVars(Yi.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...Yi.applyStyles("dark",{backgroundImage:"none"})}}]}))),AppBar=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiAppBar"}),{className:no,color:io="primary",enableColorOnDark:oo=!1,position:ao="fixed",...so}=ro,lo={...ro,color:io,position:ao,enableColorOnDark:oo},co=useUtilityClasses$1b(lo);return jsxRuntimeExports.jsx(AppBarRoot,{square:!0,component:"header",ownerState:lo,elevation:4,className:clsx(co.root,no,ao==="fixed"&&"mui-fixed"),ref:to,...so})});function stripDiacritics(Yi){return Yi.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function createFilterOptions(Yi={}){const{ignoreAccents:eo=!0,ignoreCase:to=!0,limit:ro,matchFrom:no="any",stringify:io,trim:oo=!1}=Yi;return(ao,{inputValue:so,getOptionLabel:lo})=>{let co=oo?so.trim():so;to&&(co=co.toLowerCase()),eo&&(co=stripDiacritics(co));const uo=co?ao.filter(fo=>{let ho=(io||lo)(fo);return to&&(ho=ho.toLowerCase()),eo&&(ho=stripDiacritics(ho)),no==="start"?ho.indexOf(co)===0:ho.indexOf(co)>-1}):ao;return typeof ro=="number"?uo.slice(0,ro):uo}}const defaultFilterOptions=createFilterOptions(),pageSize=5,defaultIsActiveElementInListbox=Yi=>{var eo;return Yi.current!==null&&((eo=Yi.current.parentElement)==null?void 0:eo.contains(document.activeElement))},MULTIPLE_DEFAULT_VALUE=[];function useAutocomplete(Yi){const{unstable_isActiveElementInListbox:eo=defaultIsActiveElementInListbox,unstable_classNamePrefix:to="Mui",autoComplete:ro=!1,autoHighlight:no=!1,autoSelect:io=!1,blurOnSelect:oo=!1,clearOnBlur:ao=!Yi.freeSolo,clearOnEscape:so=!1,componentName:lo="useAutocomplete",defaultValue:co=Yi.multiple?MULTIPLE_DEFAULT_VALUE:null,disableClearable:uo=!1,disableCloseOnSelect:fo=!1,disabled:ho,disabledItemsFocusable:mo=!1,disableListWrap:vo=!1,filterOptions:Co=defaultFilterOptions,filterSelectedOptions:bo=!1,freeSolo:wo=!1,getOptionDisabled:yo,getOptionKey:Eo,getOptionLabel:xo=Ya=>Ya.label??Ya,groupBy:So,handleHomeEndKeys:To=!Yi.freeSolo,id:Ro,includeInputInList:Po=!1,inputValue:zo,isOptionEqualToValue:Ho=(Ya,Ka)=>Ya===Ka,multiple:Vo=!1,onChange:Lo,onClose:Uo,onHighlightChange:Do,onInputChange:Oo,onOpen:ko,open:Bo,openOnFocus:Fo=!1,options:Qo,readOnly:jo=!1,selectOnFocus:Xo=!Yi.freeSolo,value:Zo}=Yi,Wo=useId(Ro);let ta=xo;ta=Ya=>{const Ka=xo(Ya);return typeof Ka!="string"?String(Ka):Ka};const ra=reactExports.useRef(!1),da=reactExports.useRef(!0),pa=reactExports.useRef(null),sa=reactExports.useRef(null),[ya,na]=reactExports.useState(null),[ea,oa]=reactExports.useState(-1),la=no?0:-1,_a=reactExports.useRef(la),[Ea,Pa]=useControlled({controlled:Zo,default:co,name:lo}),[aa,Ca]=useControlled({controlled:zo,default:"",name:lo,state:"inputValue"}),[Sa,Ia]=reactExports.useState(!1),Ta=reactExports.useCallback((Ya,Ka,ys)=>
vendor: 11,142 bytes, line 199
199{if(!(Vo?Ea.length<Ka.length:Ka!==null)&&!ao)return;let Ns;if(Vo)Ns="";else if(Ka==null)Ns="";else{const tl=ta(Ka);Ns=typeof tl=="string"?tl:""}aa!==Ns&&(Ca(Ns),Oo&&Oo(Ya,Ns,ys))},[ta,aa,Vo,Oo,Ca,ao,Ea]),[va,xa]=useControlled({controlled:Bo,default:!1,name:lo,state:"open"}),[Oa,Da]=reactExports.useState(!0),ia=!Vo&&Ea!=null&&aa===ta(Ea),Ko=va&&!jo,Yo=Ko?Co(Qo.filter(Ya=>!(bo&&(Vo?Ea:[Ea]).some(Ka=>Ka!==null&&Ho(Ya,Ka)))),{inputValue:ia&&Oa?"":aa,getOptionLabel:ta}):[],ma=usePreviousProps({filteredOptions:Yo,value:Ea,inputValue:aa});reactExports.useEffect(()=>{const Ya=Ea!==ma.value;Sa&&!Ya||wo&&!Ya||Ta(null,Ea,"reset")},[Ea,Ta,Sa,ma.value,wo]);const ga=va&&Yo.length>0&&!jo,Fa=useEventCallback(Ya=>{Ya===-1?pa.current.focus():ya.querySelector(`[data-tag-index="${Ya}"]`).focus()});reactExports.useEffect(()=>{Vo&&ea>Ea.length-1&&(oa(-1),Fa(-1))},[Ea,Vo,ea,Fa]);function ja(Ya,Ka){if(!sa.current||Ya<0||Ya>=Yo.length)return-1;let ys=Ya;for(;;){const Ls=sa.current.querySelector(`[data-option-index="${ys}"]`),Ns=mo?!1:!Ls||Ls.disabled||Ls.getAttribute("aria-disabled")==="true";if(Ls&&Ls.hasAttribute("tabindex")&&!Ns)return ys;if(Ka==="next"?ys=(ys+1)%Yo.length:ys=(ys-1+Yo.length)%Yo.length,ys===Ya)return-1}}const Ga=useEventCallback(({event:Ya,index:Ka,reason:ys="auto"})=>{if(_a.current=Ka,Ka===-1?pa.current.removeAttribute("aria-activedescendant"):pa.current.setAttribute("aria-activedescendant",`${Wo}-option-${Ka}`),Do&&Do(Ya,Ka===-1?null:Yo[Ka],ys),!sa.current)return;const Ls=sa.current.querySelector(`[role="option"].${to}-focused`);Ls&&(Ls.classList.remove(`${to}-focused`),Ls.classList.remove(`${to}-focusVisible`));let Ns=sa.current;if(sa.current.getAttribute("role")!=="listbox"&&(Ns=sa.current.parentElement.querySelector('[role="listbox"]')),!Ns)return;if(Ka===-1){Ns.scrollTop=0;return}const tl=sa.current.querySelector(`[data-option-index="${Ka}"]`);if(tl&&(tl.classList.add(`${to}-focused`),ys==="keyboard"&&tl.classList.add(`${to}-focusVisible`),Ns.scrollHeight>Ns.clientHeight&&ys!=="mouse"&&ys!=="touch")){const Qs=tl,$l=Ns.clientHeight+Ns.scrollTop,bc=Qs.offsetTop+Qs.offsetHeight;bc>$l?Ns.scrollTop=bc-Ns.clientHeight:Qs.offsetTop-Qs.offsetHeight*(So?1.3:0)<Ns.scrollTop&&(Ns.scrollTop=Qs.offsetTop-Qs.offsetHeight*(So?1.3:0))}}),Va=useEventCallback(({event:Ya,diff:Ka,direction:ys="next",reason:Ls="auto"})=>{if(!Ko)return;const tl=ja((()=>{const Qs=Yo.length-1;if(Ka==="reset")return la;if(Ka==="start")return 0;if(Ka==="end")return Qs;const $l=_a.current+Ka;return $l<0?$l===-1&&Po?-1:vo&&_a.current!==-1||Math.abs(Ka)>1?0:Qs:$l>Qs?$l===Qs+1&&Po?-1:vo||Math.abs(Ka)>1?Qs:0:$l})(),ys);if(Ga({index:tl,reason:Ls,event:Ya}),ro&&Ka!=="reset")if(tl===-1)pa.current.value=aa;else{const Qs=ta(Yo[tl]);pa.current.value=Qs,Qs.toLowerCase().indexOf(aa.toLowerCase())===0&&aa.length>0&&pa.current.setSelectionRange(aa.length,Qs.length)}}),qa=()=>{const Ya=(Ka,ys)=>{const Ls=Ka?ta(Ka):"",Ns=ys?ta(ys):"";return Ls===Ns};if(_a.current!==-1&&ma.filteredOptions&&ma.filteredOptions.length!==Yo.length&&ma.inputValue===aa&&(Vo?Ea.length===ma.value.length&&ma.value.every((Ka,ys)=>ta(Ea[ys])===ta(Ka)):Ya(ma.value,Ea))){const Ka=ma.filteredOptions[_a.current];if(Ka)return Yo.findIndex(ys=>ta(ys)===ta(Ka))}return-1},us=reactExports.useCallback(()=>{if(!Ko)return;const Ya=qa();if(Ya!==-1){_a.current=Ya;return}const Ka=Vo?Ea[0]:Ea;if(Yo.length===0||Ka==null){Va({diff:"reset"});return}if(sa.current){if(Ka!=null){const ys=Yo[_a.current];if(Vo&&ys&&Ea.findIndex(Ns=>Ho(ys,Ns))!==-1)return;const Ls=Yo.findIndex(Ns=>Ho(Ns,Ka));Ls===-1?Va({diff:"reset"}):Ga({index:Ls});return}if(_a.current>=Yo.length-1){Ga({index:Yo.length-1});return}Ga({index:_a.current})}},[Yo.length,Vo?!1:Ea,bo,Va,Ga,Ko,aa,Vo]),as=useEventCallback(Ya=>{setRef(sa,Ya),Ya&&us()});reactExports.useEffect(()=>{us()},[us]);const ps=Ya=>{va||(xa(!0),Da(!0),ko&&ko(Ya))},Rs=(Ya,Ka)=>{va&&(xa(!1),Uo&&Uo(Ya,Ka))},Ps=(Ya,Ka,ys,Ls)=>{if(Vo){if(Ea.length===Ka.length&&Ea.every((Ns,tl)=>Ns===Ka[tl]))return}else if(Ea===Ka)return;Lo&&Lo(Ya,Ka,ys,Ls),Pa(Ka)},vs=reactExports.useRef(!1),Ts=(Ya,Ka,ys="selectOption",Ls="options")=>{let Ns=ys,tl=Ka;if(Vo){tl=Array.isArray(Ea)?Ea.slice():[];const Qs=tl.findIndex($l=>Ho(Ka,$l));Qs===-1?tl.push(Ka):Ls!=="freeSolo"&&(tl.splice(Qs,1),Ns="removeOption")}Ta(Ya,tl,Ns),Ps(Ya,tl,Ns,{option:Ka}),!fo&&(!Ya||!Ya.ctrlKey&&!Ya.metaKey)&&Rs(Ya,Ns),(oo===!0||oo==="touch"&&vs.current||oo==="mouse"&&!vs.current)&&pa.current.blur()};function hs(Ya,Ka){if(Ya===-1)return-1;let ys=Ya;for(;;){if(Ka==="next"&&ys===Ea.length||Ka==="previous"&&ys===-1)return-1;const Ls=ya.querySelector(`[data-tag-index="${ys}"]`);if(!Ls||!Ls.hasAttribute("tabindex")||Ls.disabled||Ls.getAttribute("aria-disabled")==="true")ys+=Ka==="next"?1:-1;else return ys}}const ol=(Ya,Ka)=>{if(!Vo)return;aa===""&&Rs(Ya,"toggleInput");let ys=ea;ea===-1?aa===""&&Ka==="previous"&&(ys=Ea.length-1):(ys+=Ka==="next"?1:-1,ys<0&&(ys=0),ys===Ea.length&&(ys=-1)),ys=hs(ys,Ka),oa(ys),Fa(ys)},Zs=Ya=>{ra.current=!0,Ca(""),Oo&&Oo(Ya,"","clear"),Ps(Ya,Vo?[]:null,"clear")},$s=Ya=>Ka=>{if(Ya.onKeyDown&&Ya.onKeyDown(Ka),!Ka.defaultMuiPrevented&&(ea!==-1&&["ArrowLeft","ArrowRight"].indexOf(Ka.key)===-1&&(oa(-1),Fa(-1)),Ka.which!==229))switch(Ka.key){case"Home":Ko&&To&&(Ka.preventDefault(),Va({diff:"start",direction:"next",reason:"keyboard",event:Ka}));break;case"End":Ko&&To&&(Ka.preventDefault(),Va({diff:"end",direction:"previous",reason:"keyboard",event:Ka}));break;case"PageUp":Ka.preventDefault(),Va({diff:-pageSize,direction:"previous",reason:"keyboard",event:Ka}),ps(Ka);break;case"PageDown":Ka.preventDefault(),Va({diff:pageSize,direction:"next",reason:"keyboard",event:Ka}),ps(Ka);break;case"ArrowDown":Ka.preventDefault(),Va({diff:1,direction:"next",reason:"keyboard",event:Ka}),ps(Ka);break;case"ArrowUp":Ka.preventDefault(),Va({diff:-1,direction:"previous",reason:"keyboard",event:Ka}),ps(Ka);break;case"ArrowLeft":ol(Ka,"previous");break;case"ArrowRight":ol(Ka,"next");break;case"Enter":if(_a.current!==-1&&Ko){const ys=Yo[_a.current],Ls=yo?yo(ys):!1;if(Ka.preventDefault(),Ls)return;Ts(Ka,ys,"selectOption"),ro&&pa.current.setSelectionRange(pa.current.value.length,pa.current.value.length)}else wo&&aa!==""&&ia===!1&&(Vo&&Ka.preventDefault(),Ts(Ka,aa,"createOption","freeSolo"));break;case"Escape":Ko?(Ka.preventDefault(),Ka.stopPropagation(),Rs(Ka,"escape")):so&&(aa!==""||Vo&&Ea.length>0)&&(Ka.preventDefault(),Ka.stopPropagation(),Zs(Ka));break;case"Backspace":if(Vo&&!jo&&aa===""&&Ea.length>0){const ys=ea===-1?Ea.length-1:ea,Ls=Ea.slice();Ls.splice(ys,1),Ps(Ka,Ls,"removeOption",{option:Ea[ys]})}break;case"Delete":if(Vo&&!jo&&aa===""&&Ea.length>0&&ea!==-1){const ys=ea,Ls=Ea.slice();Ls.splice(ys,1),Ps(Ka,Ls,"removeOption",{option:Ea[ys]})}break}},al=Ya=>{Ia(!0),Fo&&!ra.current&&ps(Ya)},Rl=Ya=>{if(eo(sa)){pa.current.focus();return}Ia(!1),da.current=!0,ra.current=!1,io&&_a.current!==-1&&Ko?Ts(Ya,Yo[_a.current],"blur"):io&&wo&&aa!==""?Ts(Ya,aa,"blur","freeSolo"):ao&&Ta(Ya,Ea,"blur"),Rs(Ya,"blur")},El=Ya=>{const Ka=Ya.target.value;aa!==Ka&&(Ca(Ka),Da(!1),Oo&&Oo(Ya,Ka,"input")),Ka===""?!uo&&!Vo&&Ps(Ya,null,"clear"):ps(Ya)},Sl=Ya=>{const Ka=Number(Ya.currentTarget.getAttribute("data-option-index"));_a.current!==Ka&&Ga({event:Ya,index:Ka,reason:"mouse"})},xl=Ya=>{Ga({event:Ya,index:Number(Ya.currentTarget.getAttribute("data-option-index")),reason:"touch"}),vs.current=!0},yc=Ya=>{const Ka=Number(Ya.currentTarget.getAttribute("data-option-index"));Ts(Ya,Yo[Ka],"selectOption"),vs.current=!1},Ll=Ya=>Ka=>{const ys=Ea.slice();ys.splice(Ya,1),Ps(Ka,ys,"removeOption",{option:Ea[Ya]})},kl=Ya=>{va?Rs(Ya,"toggleInput"):ps(Ya)},Vl=Ya=>{Ya.currentTarget.contains(Ya.target)&&Ya.target.getAttribute("id")!==Wo&&Ya.preventDefault()},Ql=Ya=>{Ya.currentTarget.contains(Ya.target)&&(pa.current.focus(),Xo&&da.current&&pa.current.selectionEnd-pa.current.selectionStart===0&&pa.current.select(),da.current=!1)},cl=Ya=>{!ho&&(aa===""||!va)&&kl(Ya)};let sl=wo&&aa.length>0;sl=sl||(Vo?Ea.length>0:Ea!==null);let qs=Yo;return So&&(qs=Yo.reduce((Ya,Ka,ys)=>{const Ls=So(Ka);return Ya.length>0&&Ya[Ya.length-1].group===Ls?Ya[Ya.length-1].options.push(Ka):Ya.push({key:ys,index:ys,group:Ls,options:[Ka]}),Ya},[])),ho&&Sa&&Rl(),{getRootProps:(Ya={})=>({"aria-owns":ga?`${Wo}-listbox`:null,...Ya,onKeyDown:$s(Ya),onMouseDown:Vl,onClick:Ql}),getInputLabelProps:()=>({id:`${Wo}-label`,htmlFor:Wo}),getInputProps:()=>({id:Wo,value:aa,onBlur:Rl,onFocus:al,onChange:El,onMouseDown:cl,"aria-activedescendant":Ko?"":null,"aria-autocomplete":ro?"both":"list","aria-controls":ga?`${Wo}-listbox`:void 0,"aria-expanded":ga,autoComplete:"off",ref:pa,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:ho}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Zs}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:kl}),getTagProps:({index:Ya})=>({key:Ya,"data-tag-index":Ya,tabIndex:-1,...!jo&&{onDelete:Ll(Ya)}}),getListboxProps:()=>({role:"listbox",id:`${Wo}-listbox`,"aria-labelledby":`${Wo}-label`,ref:as,onMouseDown:Ya=>{Ya.preventDefault()}}),getOptionProps:({index:Ya,option:Ka})=>{const ys=(Vo?Ea:[Ea]).some(Ns=>Ns!=null&&Ho(Ka,Ns)),Ls=yo?yo(Ka):!1;return{key:(Eo==null?void 0:Eo(Ka))??ta(Ka),tabIndex:-1,role:"option",id:`${Wo}-option-${Ya}`,onMouseMove:Sl,onClick:yc,onTouchStart:xl,"data-option-index":Ya,"aria-disabled":Ls,"aria-selected":ys}},id:Wo,inputValue:aa,value:Ea,dirty:sl,expanded:Ko&&ya,popupOpen:Ko,focused:Sa||ea!==-1,anchorEl:ya,setAnchorEl:na,focusedTag:ea,groupedOptions:qs}}var top="top",bottom="bottom",right="right",left="left",auto="auto",basePlacements=[top,bottom,right,left],start="start",end="end",clippingParents="clippingParents",viewport="viewport",popper="popper",reference="reference",variationPlacements=basePlacements.reduce(function(Yi,eo){return Yi.concat([eo+"-"+start,eo+"-"+end])},[]),placements=[].concat(basePlacements,[auto]).reduce(function(Yi,eo){return Yi.concat([eo,eo+"-"+start,eo+"-"+end])},[]),beforeRead="beforeRead",read="read",afterRead="afterRead",beforeMain="beforeMain",main="main",afterMain="afterMain",beforeWrite="beforeWrite",write="write",afterWrite="afterWrite",modifierPhases=[beforeRead,read,afterRead,beforeMain,main,afterMain,beforeWrite,write,afterWrite];function getNodeName(Yi){return Yi?(Yi.nodeName||"").toLowerCase():null}function getWindow(Yi){if(Yi==null)return window;if(Yi.toString()!=="[object Window]"){var eo=Yi.ownerDocument;return eo&&eo.defaultView||window}return Yi}function isElement(Yi){var eo=getWindow(Yi).Element;return Yi instanceof eo||Yi instanceof Element}function isHTMLElement$3(Yi){var eo=getWindow(Yi).HTMLElement;return Yi instanceof eo||Yi instanceof HTMLElement}function isShadowRoot(Yi){if(typeof ShadowRoot>"u")return!1;var eo=getWindow(Yi).ShadowRoot;return Yi instanceof eo||Yi instanceof ShadowRoot}function applyStyles(Yi){var eo=Yi.state;Object.keys(eo.elements).forEach(function(to){var ro=eo.styles[to]||{},no=eo.attributes[to]||{},io=eo.elements[to];!isHTMLElement$3(io)||!getNodeName(io)||(Object.assign(io.style,ro),Object.keys(no).forEach(function(oo){var ao=no[oo];ao===!1?io.removeAttribute(oo):io.setAttribute(oo,ao===!0?"":ao)}
vendor: 21,508 bytes, line 199
199))})}function effect$2(Yi){var eo=Yi.state,to={popper:{position:eo.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(eo.elements.popper.style,to.popper),eo.styles=to,eo.elements.arrow&&Object.assign(eo.elements.arrow.style,to.arrow),function(){Object.keys(eo.elements).forEach(function(ro){var no=eo.elements[ro],io=eo.attributes[ro]||{},oo=Object.keys(eo.styles.hasOwnProperty(ro)?eo.styles[ro]:to[ro]),ao=oo.reduce(function(so,lo){return so[lo]="",so},{});!isHTMLElement$3(no)||!getNodeName(no)||(Object.assign(no.style,ao),Object.keys(io).forEach(function(so){no.removeAttribute(so)}))})}}const applyStyles$1={name:"applyStyles",enabled:!0,phase:"write",fn:applyStyles,effect:effect$2,requires:["computeStyles"]};function getBasePlacement(Yi){return Yi.split("-")[0]}var max$3=Math.max,min$3=Math.min,round$3=Math.round;function getUAString(){var Yi=navigator.userAgentData;return Yi!=null&&Yi.brands&&Array.isArray(Yi.brands)?Yi.brands.map(function(eo){return eo.brand+"/"+eo.version}).join(" "):navigator.userAgent}function isLayoutViewport(){return!/^((?!chrome|android).)*safari/i.test(getUAString())}function getBoundingClientRect(Yi,eo,to){eo===void 0&&(eo=!1),to===void 0&&(to=!1);var ro=Yi.getBoundingClientRect(),no=1,io=1;eo&&isHTMLElement$3(Yi)&&(no=Yi.offsetWidth>0&&round$3(ro.width)/Yi.offsetWidth||1,io=Yi.offsetHeight>0&&round$3(ro.height)/Yi.offsetHeight||1);var oo=isElement(Yi)?getWindow(Yi):window,ao=oo.visualViewport,so=!isLayoutViewport()&&to,lo=(ro.left+(so&&ao?ao.offsetLeft:0))/no,co=(ro.top+(so&&ao?ao.offsetTop:0))/io,uo=ro.width/no,fo=ro.height/io;return{width:uo,height:fo,top:co,right:lo+uo,bottom:co+fo,left:lo,x:lo,y:co}}function getLayoutRect(Yi){var eo=getBoundingClientRect(Yi),to=Yi.offsetWidth,ro=Yi.offsetHeight;return Math.abs(eo.width-to)<=1&&(to=eo.width),Math.abs(eo.height-ro)<=1&&(ro=eo.height),{x:Yi.offsetLeft,y:Yi.offsetTop,width:to,height:ro}}function contains$1(Yi,eo){var to=eo.getRootNode&&eo.getRootNode();if(Yi.contains(eo))return!0;if(to&&isShadowRoot(to)){var ro=eo;do{if(ro&&Yi.isSameNode(ro))return!0;ro=ro.parentNode||ro.host}while(ro)}return!1}function getComputedStyle$2(Yi){return getWindow(Yi).getComputedStyle(Yi)}function isTableElement(Yi){return["table","td","th"].indexOf(getNodeName(Yi))>=0}function getDocumentElement(Yi){return((isElement(Yi)?Yi.ownerDocument:Yi.document)||window.document).documentElement}function getParentNode(Yi){return getNodeName(Yi)==="html"?Yi:Yi.assignedSlot||Yi.parentNode||(isShadowRoot(Yi)?Yi.host:null)||getDocumentElement(Yi)}function getTrueOffsetParent(Yi){return!isHTMLElement$3(Yi)||getComputedStyle$2(Yi).position==="fixed"?null:Yi.offsetParent}function getContainingBlock(Yi){var eo=/firefox/i.test(getUAString()),to=/Trident/i.test(getUAString());if(to&&isHTMLElement$3(Yi)){var ro=getComputedStyle$2(Yi);if(ro.position==="fixed")return null}var no=getParentNode(Yi);for(isShadowRoot(no)&&(no=no.host);isHTMLElement$3(no)&&["html","body"].indexOf(getNodeName(no))<0;){var io=getComputedStyle$2(no);if(io.transform!=="none"||io.perspective!=="none"||io.contain==="paint"||["transform","perspective"].indexOf(io.willChange)!==-1||eo&&io.willChange==="filter"||eo&&io.filter&&io.filter!=="none")return no;no=no.parentNode}return null}function getOffsetParent(Yi){for(var eo=getWindow(Yi),to=getTrueOffsetParent(Yi);to&&isTableElement(to)&&getComputedStyle$2(to).position==="static";)to=getTrueOffsetParent(to);return to&&(getNodeName(to)==="html"||getNodeName(to)==="body"&&getComputedStyle$2(to).position==="static")?eo:to||getContainingBlock(Yi)||eo}function getMainAxisFromPlacement(Yi){return["top","bottom"].indexOf(Yi)>=0?"x":"y"}function within(Yi,eo,to){return max$3(Yi,min$3(eo,to))}function withinMaxClamp(Yi,eo,to){var ro=within(Yi,eo,to);return ro>to?to:ro}function getFreshSideObject(){return{top:0,right:0,bottom:0,left:0}}function mergePaddingObject(Yi){return Object.assign({},getFreshSideObject(),Yi)}function expandToHashMap(Yi,eo){return eo.reduce(function(to,ro){return to[ro]=Yi,to},{})}var toPaddingObject=function(eo,to){return eo=typeof eo=="function"?eo(Object.assign({},to.rects,{placement:to.placement})):eo,mergePaddingObject(typeof eo!="number"?eo:expandToHashMap(eo,basePlacements))};function arrow(Yi){var eo,to=Yi.state,ro=Yi.name,no=Yi.options,io=to.elements.arrow,oo=to.modifiersData.popperOffsets,ao=getBasePlacement(to.placement),so=getMainAxisFromPlacement(ao),lo=[left,right].indexOf(ao)>=0,co=lo?"height":"width";if(!(!io||!oo)){var uo=toPaddingObject(no.padding,to),fo=getLayoutRect(io),ho=so==="y"?top:left,mo=so==="y"?bottom:right,vo=to.rects.reference[co]+to.rects.reference[so]-oo[so]-to.rects.popper[co],Co=oo[so]-to.rects.reference[so],bo=getOffsetParent(io),wo=bo?so==="y"?bo.clientHeight||0:bo.clientWidth||0:0,yo=vo/2-Co/2,Eo=uo[ho],xo=wo-fo[co]-uo[mo],So=wo/2-fo[co]/2+yo,To=within(Eo,So,xo),Ro=so;to.modifiersData[ro]=(eo={},eo[Ro]=To,eo.centerOffset=To-So,eo)}}function effect$1(Yi){var eo=Yi.state,to=Yi.options,ro=to.element,no=ro===void 0?"[data-popper-arrow]":ro;no!=null&&(typeof no=="string"&&(no=eo.elements.popper.querySelector(no),!no)||contains$1(eo.elements.popper,no)&&(eo.elements.arrow=no))}const arrow$1={name:"arrow",enabled:!0,phase:"main",fn:arrow,effect:effect$1,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function getVariation(Yi){return Yi.split("-")[1]}var unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function roundOffsetsByDPR(Yi,eo){var to=Yi.x,ro=Yi.y,no=eo.devicePixelRatio||1;return{x:round$3(to*no)/no||0,y:round$3(ro*no)/no||0}}function mapToStyles(Yi){var eo,to=Yi.popper,ro=Yi.popperRect,no=Yi.placement,io=Yi.variation,oo=Yi.offsets,ao=Yi.position,so=Yi.gpuAcceleration,lo=Yi.adaptive,co=Yi.roundOffsets,uo=Yi.isFixed,fo=oo.x,ho=fo===void 0?0:fo,mo=oo.y,vo=mo===void 0?0:mo,Co=typeof co=="function"?co({x:ho,y:vo}):{x:ho,y:vo};ho=Co.x,vo=Co.y;var bo=oo.hasOwnProperty("x"),wo=oo.hasOwnProperty("y"),yo=left,Eo=top,xo=window;if(lo){var So=getOffsetParent(to),To="clientHeight",Ro="clientWidth";if(So===getWindow(to)&&(So=getDocumentElement(to),getComputedStyle$2(So).position!=="static"&&ao==="absolute"&&(To="scrollHeight",Ro="scrollWidth")),So=So,no===top||(no===left||no===right)&&io===end){Eo=bottom;var Po=uo&&So===xo&&xo.visualViewport?xo.visualViewport.height:So[To];vo-=Po-ro.height,vo*=so?1:-1}if(no===left||(no===top||no===bottom)&&io===end){yo=right;var zo=uo&&So===xo&&xo.visualViewport?xo.visualViewport.width:So[Ro];ho-=zo-ro.width,ho*=so?1:-1}}var Ho=Object.assign({position:ao},lo&&unsetSides),Vo=co===!0?roundOffsetsByDPR({x:ho,y:vo},getWindow(to)):{x:ho,y:vo};if(ho=Vo.x,vo=Vo.y,so){var Lo;return Object.assign({},Ho,(Lo={},Lo[Eo]=wo?"0":"",Lo[yo]=bo?"0":"",Lo.transform=(xo.devicePixelRatio||1)<=1?"translate("+ho+"px, "+vo+"px)":"translate3d("+ho+"px, "+vo+"px, 0)",Lo))}return Object.assign({},Ho,(eo={},eo[Eo]=wo?vo+"px":"",eo[yo]=bo?ho+"px":"",eo.transform="",eo))}function computeStyles(Yi){var eo=Yi.state,to=Yi.options,ro=to.gpuAcceleration,no=ro===void 0?!0:ro,io=to.adaptive,oo=io===void 0?!0:io,ao=to.roundOffsets,so=ao===void 0?!0:ao,lo={placement:getBasePlacement(eo.placement),variation:getVariation(eo.placement),popper:eo.elements.popper,popperRect:eo.rects.popper,gpuAcceleration:no,isFixed:eo.options.strategy==="fixed"};eo.modifiersData.popperOffsets!=null&&(eo.styles.popper=Object.assign({},eo.styles.popper,mapToStyles(Object.assign({},lo,{offsets:eo.modifiersData.popperOffsets,position:eo.options.strategy,adaptive:oo,roundOffsets:so})))),eo.modifiersData.arrow!=null&&(eo.styles.arrow=Object.assign({},eo.styles.arrow,mapToStyles(Object.assign({},lo,{offsets:eo.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:so})))),eo.attributes.popper=Object.assign({},eo.attributes.popper,{"data-popper-placement":eo.placement})}const computeStyles$1={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:computeStyles,data:{}};var passive={passive:!0};function effect(Yi){var eo=Yi.state,to=Yi.instance,ro=Yi.options,no=ro.scroll,io=no===void 0?!0:no,oo=ro.resize,ao=oo===void 0?!0:oo,so=getWindow(eo.elements.popper),lo=[].concat(eo.scrollParents.reference,eo.scrollParents.popper);return io&&lo.forEach(function(co){co.addEventListener("scroll",to.update,passive)}),ao&&so.addEventListener("resize",to.update,passive),function(){io&&lo.forEach(function(co){co.removeEventListener("scroll",to.update,passive)}),ao&&so.removeEventListener("resize",to.update,passive)}}const eventListeners={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect,data:{}};var hash$2={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(Yi){return Yi.replace(/left|right|bottom|top/g,function(eo){return hash$2[eo]})}var hash$1={start:"end",end:"start"};function getOppositeVariationPlacement(Yi){return Yi.replace(/start|end/g,function(eo){return hash$1[eo]})}function getWindowScroll(Yi){var eo=getWindow(Yi),to=eo.pageXOffset,ro=eo.pageYOffset;return{scrollLeft:to,scrollTop:ro}}function getWindowScrollBarX(Yi){return getBoundingClientRect(getDocumentElement(Yi)).left+getWindowScroll(Yi).scrollLeft}function getViewportRect(Yi,eo){var to=getWindow(Yi),ro=getDocumentElement(Yi),no=to.visualViewport,io=ro.clientWidth,oo=ro.clientHeight,ao=0,so=0;if(no){io=no.width,oo=no.height;var lo=isLayoutViewport();(lo||!lo&&eo==="fixed")&&(ao=no.offsetLeft,so=no.offsetTop)}return{width:io,height:oo,x:ao+getWindowScrollBarX(Yi),y:so}}function getDocumentRect(Yi){var eo,to=getDocumentElement(Yi),ro=getWindowScroll(Yi),no=(eo=Yi.ownerDocument)==null?void 0:eo.body,io=max$3(to.scrollWidth,to.clientWidth,no?no.scrollWidth:0,no?no.clientWidth:0),oo=max$3(to.scrollHeight,to.clientHeight,no?no.scrollHeight:0,no?no.clientHeight:0),ao=-ro.scrollLeft+getWindowScrollBarX(Yi),so=-ro.scrollTop;return getComputedStyle$2(no||to).direction==="rtl"&&(ao+=max$3(to.clientWidth,no?no.clientWidth:0)-io),{width:io,height:oo,x:ao,y:so}}function isScrollParent(Yi){var eo=getComputedStyle$2(Yi),to=eo.overflow,ro=eo.overflowX,no=eo.overflowY;return/auto|scroll|overlay|hidden/.test(to+no+ro)}function getScrollParent(Yi){return["html","body","#document"].indexOf(getNodeName(Yi))>=0?Yi.ownerDocument.body:isHTMLElement$3(Yi)&&isScrollParent(Yi)?Yi:getScrollParent(getParentNode(Yi))}function listScrollParents(Yi,eo){var to;eo===void 0&&(eo=[]);var ro=getScrollParent(Yi),no=ro===((to=Yi.ownerDocument)==null?void 0:to.body),io=getWindow(ro),oo=no?[io].concat(io.visualViewport||[],isScrollParent(ro)?ro:[]):ro,ao=eo.concat(oo);return no?ao:ao.concat(listScrollParents(getParentNode(oo)))}function rectToClientRect(Yi){return Object.assign({},Yi,{left:Yi.x,top:Yi.y,right:Yi.x+Yi.width,bottom:Yi.y+Yi.height})}function getInnerBoundingClientRect(Yi,eo){var to=getBoundingClientRect(Yi,!1,eo==="fixed");return to.top=to.top+Yi.clientTop,to.left=to.left+Yi.clientLeft,to.bottom=to.top+Yi.clientHeight,to.right=to.left+Yi.clientWidth,to.width=Yi.clientWidth,to.height=Yi.clientHeight,to.x=to.left,to.y=to.top,to}function getClientRectFromMixedType(Yi,eo,to){return eo===viewport?rectToClientRect(getViewportRect(Yi,to)):isElement(eo)?getInnerBoundingClientRect(eo,to):rectToClientRect(getDocumentRect(getDocumentElement(Yi)))}function getClippingParents(Yi){var eo=listScrollParents(getParentNode(Yi)),to=["absolute","fixed"].indexOf(getComputedStyle$2(Yi).position)>=0,ro=to&&isHTMLElement$3(Yi)?getOffsetParent(Yi):Yi;return isElement(ro)?eo.filter(function(no){return isElement(no)&&contains$1(no,ro)&&getNodeName(no)!=="body"}):[]}function getClippingRect(Yi,eo,to,ro){var no=eo==="clippingParents"?getClippingParents(Yi):[].concat(eo),io=[].concat(no,[to]),oo=io[0],ao=io.reduce(function(so,lo){var co=getClientRectFromMixedType(Yi,lo,ro);return so.top=max$3(co.top,so.top),so.right=min$3(co.right,so.right),so.bottom=min$3(co.bottom,so.bottom),so.left=max$3(co.left,so.left),so},getClientRectFromMixedType(Yi,oo,ro));return ao.width=ao.right-ao.left,ao.height=ao.bottom-ao.top,ao.x=ao.left,ao.y=ao.top,ao}function computeOffsets(Yi){var eo=Yi.reference,to=Yi.element,ro=Yi.placement,no=ro?getBasePlacement(ro):null,io=ro?getVariation(ro):null,oo=eo.x+eo.width/2-to.width/2,ao=eo.y+eo.height/2-to.height/2,so;switch(no){case top:so={x:oo,y:eo.y-to.height};break;case bottom:so={x:oo,y:eo.y+eo.height};break;case right:so={x:eo.x+eo.width,y:ao};break;case left:so={x:eo.x-to.width,y:ao};break;default:so={x:eo.x,y:eo.y}}var lo=no?getMainAxisFromPlacement(no):null;if(lo!=null){var co=lo==="y"?"height":"width";switch(io){case start:so[lo]=so[lo]-(eo[co]/2-to[co]/2);break;case end:so[lo]=so[lo]+(eo[co]/2-to[co]/2);break}}return so}function detectOverflow(Yi,eo){eo===void 0&&(eo={});var to=eo,ro=to.placement,no=ro===void 0?Yi.placement:ro,io=to.strategy,oo=io===void 0?Yi.strategy:io,ao=to.boundary,so=ao===void 0?clippingParents:ao,lo=to.rootBoundary,co=lo===void 0?viewport:lo,uo=to.elementContext,fo=uo===void 0?popper:uo,ho=to.altBoundary,mo=ho===void 0?!1:ho,vo=to.padding,Co=vo===void 0?0:vo,bo=mergePaddingObject(typeof Co!="number"?Co:expandToHashMap(Co,basePlacements)),wo=fo===popper?reference:popper,yo=Yi.rects.popper,Eo=Yi.elements[mo?wo:fo],xo=getClippingRect(isElement(Eo)?Eo:Eo.contextElement||getDocumentElement(Yi.elements.popper),so,co,oo),So=getBoundingClientRect(Yi.elements.reference),To=computeOffsets({reference:So,element:yo,placement:no}),Ro=rectToClientRect(Object.assign({},yo,To)),Po=fo===popper?Ro:So,zo={top:xo.top-Po.top+bo.top,bottom:Po.bottom-xo.bottom+bo.bottom,left:xo.left-Po.left+bo.left,right:Po.right-xo.right+bo.right},Ho=Yi.modifiersData.offset;if(fo===popper&&Ho){var Vo=Ho[no];Object.keys(zo).forEach(function(Lo){var Uo=[right,bottom].indexOf(Lo)>=0?1:-1,Do=[top,bottom].indexOf(Lo)>=0?"y":"x";zo[Lo]+=Vo[Do]*Uo})}return zo}function computeAutoPlacement(Yi,eo){eo===void 0&&(eo={});var to=eo,ro=to.placement,no=to.boundary,io=to.rootBoundary,oo=to.padding,ao=to.flipVariations,so=to.allowedAutoPlacements,lo=so===void 0?placements:so,co=getVariation(ro),uo=co?ao?variationPlacements:variationPlacements.filter(function(mo){return getVariation(mo)===co}):basePlacements,fo=uo.filter(function(mo){return lo.indexOf(mo)>=0});fo.length===0&&(fo=uo);var ho=fo.reduce(function(mo,vo){return mo[vo]=detectOverflow(Yi,{placement:vo,boundary:no,rootBoundary:io,padding:oo})[getBasePlacement(vo)],mo},{});return Object.keys(ho).sort(function(mo,vo){return ho[mo]-ho[vo]})}function getExpandedFallbackPlacements(Yi){if(getBasePlacement(Yi)===auto)return[];var eo=getOppositePlacement(Yi);return[getOppositeVariationPlacement(Yi),eo,getOppositeVariationPlacement(eo)]}function flip(Yi){var eo=Yi.state,to=Yi.options,ro=Yi.name;if(!eo.modifiersData[ro]._skip){for(var no=to.mainAxis,io=no===void 0?!0:no,oo=to.altAxis,ao=oo===void 0?!0:oo,so=to.fallbackPlacements,lo=to.padding,co=to.boundary,uo=to.rootBoundary,fo=to.altBoundary,ho=to.flipVariations,mo=ho===void 0?!0:ho,vo=to.allowedAutoPlacements,Co=eo.options.placement,bo=getBasePlacement(Co),wo=bo===Co,yo=so||(wo||!mo?[getOppositePlacement(Co)]:getExpandedFallbackPlacements(Co)),Eo=[Co].concat(yo).reduce(function(Wo,ta){return Wo.concat(getBasePlacement(ta)===auto?computeAutoPlacement(eo,{placement:ta,boundary:co,rootBoundary:uo,padding:lo,flipVariations:mo,allowedAutoPlacements:vo}):ta)},[]),xo=eo.rects.reference,So=eo.rects.popper,To=new Map,Ro=!0,Po=Eo[0],zo=0;zo<Eo.length;zo++){var Ho=Eo[zo],Vo=getBasePlacement(Ho),Lo=getVariation(Ho)===start,Uo=[top,bottom].indexOf(Vo)>=0,Do=Uo?"width":"height",Oo=detectOverflow(eo,{placement:Ho,boundary:co,rootBoundary:uo,altBoundary:fo,padding:lo}),ko=Uo?Lo?right:left:Lo?bottom:top;xo[Do]>So[Do]&&(ko=getOppositePlacement(ko));var Bo=getOppositePlacement(ko),Fo=[];if(io&&Fo.push(Oo[Vo]<=0),ao&&Fo.push(Oo[ko]<=0,Oo[Bo]<=0),Fo.every(function(Wo){return Wo})){Po=Ho,Ro=!1;break}To.set(Ho,Fo)}if(Ro)for(var Qo=mo?3:1,jo=function(ta){var ra=Eo.find(function(da){var pa=To.get(da);if(pa)return pa.slice(0,ta).every(function(sa){return sa})});if(ra)return Po=ra,"break"},Xo=Qo;Xo>0;Xo--){var Zo=jo(Xo);if(Zo==="break")break}eo.placement!==Po&&(eo.modifiersData[ro]._skip=!0,eo.placement=Po,eo.reset=!0)}}const flip$1={name:"flip",enabled:!0,phase:"main",fn:flip,requiresIfExists:["offset"],data:{_skip:!1}};function getSideOffsets(Yi,eo,to){return to===void 0&&(to={x:0,y:0}),{top:Yi.top-eo.height-to.y,right:Yi.right-eo.width+to.x,bottom:Yi.bottom-eo.height+to.y,left:Yi.left-eo.width-to.x}}function isAnySideFullyClipped(Yi){return[top,right,bottom,left].some(function(eo){return Yi[eo]>=0})}function hide(Yi){var eo=Yi.state,to=Yi.name,ro=eo.rects.reference,no=eo.rects.popper,io=eo.modifiersData.preventOverflow,oo=detectOverflow(eo,{elementContext:"reference"}),ao=detectOverflow(eo,{altBoundary:!0}),so=getSideOffsets(oo,ro),lo=getSideOffsets(ao,no,io),co=isAnySideFullyClipped(so),uo=isAnySideFullyClipped(lo);eo.modifiersData[to]={referenceClippingOffsets:so,popperEscapeOffsets:lo,isReferenceHidden:co,hasPopperEscaped:uo},eo.attributes.popper=Object.assign({},eo.attributes.popper,{"data-popper-reference-hidden":co,"data-popper-escaped":uo})}const hide$1={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hide};function distanceAndSkiddingToXY(Yi,eo,to){var ro=getBasePlacement(Yi),no=[left,top].indexOf(ro)>=0?-1:1,io=typeof to=="function"?to(Object.assign({},eo,{placement:Yi})):to,oo=io[0],ao=io[1];return oo=oo||0,ao=(ao||0)*no,[left,right].indexOf(ro)>=0?{x:ao,y:oo}:{x:oo,y:ao}}function offset(Yi){var eo=Yi.state,to=Yi.options,ro=Yi.name,no=to.offset,io=no===void 0?[0,0]:no,oo=placements.reduce(function(co,uo){return co[uo]=distanceAndSkiddingToXY(uo,eo.rects,io),co},{}),ao=oo[eo.placement],so=ao.x,lo=ao.y;eo.modifiersData.popperOffsets!=null&&(eo.modifiersData.popperOffsets.x+=so,eo.modifiersData.popperOffsets.y+=lo),eo.modifiersData[ro]=oo}const offset$1={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:offset};function popperOffsets(Yi){var eo=Yi.state,to=Yi.name;eo.modifiersData[to]=computeOffsets({reference:eo.rects.reference,element:eo.rects.popper,placement:eo.placement})}const popperOffsets$1={name:"popperOffsets",enabled:!0,phase:"read",fn:popperOffsets,data:{}};function getAltAxis(Yi){return Yi==="x"?"y":"x"}function preventOverflow(Yi){var eo=Yi.state,to=Yi.options,ro=Yi.name,no=to.mainAxis,io=no===void 0?!0:no,oo=to.altAxis,ao=oo===void 0?!1:oo,so=to.boundary,lo=to.rootBoundary,co=to.altBoundary,uo=to.padding,fo=to.tether,ho=fo===void 0?!0:fo,mo=to.tetherOffset,vo=mo===void 0?0:mo,Co=detectOverflow(eo,{boundary:so,rootBoundary:lo,padding:uo,altBoundary:co}),bo=getBasePlacement(eo.placement),wo=getVariation(eo.placement),yo=!wo,Eo=getMainAxisFromPlacement(bo),xo=getAltAxis(Eo),So=eo.modifiersData.popperOffsets,To=eo.rects.reference,Ro=eo.rects.popper,Po=typeof vo=="function"?vo(Object.assign({},eo.rects,{placement:eo.placement})):vo,zo=typeof Po=="number"?{mainAxis:Po,altAxis:Po}:Object.assign({mainAxis:0,altAxis:0},Po),Ho=eo.modifiersData.offset?eo.modifiersData.offset[eo.placement]:null,Vo={x:0,y:0};if(So){if(io){var Lo,Uo=Eo==="y"?top:left,Do=Eo==="y"?bottom:right,Oo=Eo==="y"?"height":"width",ko=So[Eo],Bo=ko+Co[Uo],Fo=ko-Co[Do],Qo=ho?-Ro[Oo]/2:0,jo=wo===start?To[Oo]:Ro[Oo],Xo=wo===start?-Ro[Oo]:-To[Oo],Zo=eo.elements.arrow,Wo=ho&&Zo?getLayoutRect(Zo):{width:0,height:0},ta=eo.modifiersData["arrow#persistent"]?eo.modifiersData["arrow#persistent"].padding:getFreshSideObject(),ra=ta[Uo],da=ta[Do],pa=within(0,To[Oo],Wo[Oo]),sa=yo?To[Oo]/2-Qo-pa-ra-zo.mainAxis:jo-pa-ra-zo.mainAxis,ya=yo?-To[Oo]/2+Qo+pa+da+zo.mainAxis:Xo+pa+da+zo.mainAxis,na=eo.elements.arrow&&getOffsetParent(eo.elements.arrow),ea=na?Eo==="y"?na.clientTop||0:na.clientLeft||0:0,oa=(Lo=Ho==null?void 0:Ho[Eo])!=null?Lo:0,la=ko+sa-oa-ea,_a=ko+ya-oa,Ea=within(ho?min$3(Bo,la):Bo,ko,ho?max$3(Fo,_a):Fo);So[Eo]=Ea,Vo[Eo]=Ea-ko}if(ao){var Pa,aa=Eo==="x"?top:left,Ca=Eo==="x"?bottom:right,Sa=So[xo],Ia=xo==="y"?"height":"width",Ta=Sa+Co[aa],va=Sa-Co[Ca],xa=[top,left].indexOf(bo)!==-1,Oa=(Pa=Ho==null?void 0:Ho[xo])!=null?Pa:0,Da=xa?Ta:Sa-To[Ia]-Ro[Ia]-Oa+zo.altAxis,ia=xa?Sa+To[Ia]+Ro[Ia]-Oa-zo.altAxis:va,Ko=ho&&xa?withinMaxClamp(Da,Sa,ia):within(ho?Da:Ta,Sa,ho?ia:va);So[xo]=Ko,Vo[xo]=Ko-Sa}eo.modifiersData[ro]=Vo}}const preventOverflow$1={name:"preventOverflow",enabled:!0,phase:"main",fn:preventOverflow,requiresIfExists:["offset"]};function getHTMLElementScroll(Yi){return{scrollLeft:Yi.scrollLeft,scrollTop:Yi.scrollTop}}function getNodeScroll(Yi){return Yi===getWindow(Yi)||!isHTMLElement$3(Yi)?getWindowScroll(Yi):getHTMLElementScroll(Yi)}function isElementScaled(Yi){var eo=Yi.getBoundingClientRect(),to=round$3(eo.width)/Yi.offsetWidth||1,ro=round$3(eo.height)/Yi.offsetHeight||1;return to!==1||ro!==1}function getCompositeRect(Yi,eo,to){to===void 0&&(to=!1);var ro=isHTMLElement$3(eo),no=isHTMLElement$3(eo)&&isElementScaled(eo),io=getDocumentElement(eo),oo=getBoundingClientRect(Yi,no,to),ao={scrollLeft:0,scrollTop:0},so={x:0,y:0};return(ro||!ro&&!to)&&((getNodeName(eo)!=="body"||isScrollParent(io))&&(ao=getNodeScroll(eo)),isHTMLElement$3(eo)?(so=getBoundingClientRect(eo,!0),so.x+=eo.clientLeft,so.y+=eo.clientTop):io&&(so.x=getWindowScrollBarX(io))),{x:oo.left+ao.scrollLeft-so.x,y:oo.top+ao.scrollTop-so.y,width:oo.width,height:oo.height}}function order(Yi){var eo=new Map,to=new Set,ro=[];Yi.forEach(function(io){eo.set(io.name,io)});function no(io){to.add(io.name);var oo=[].concat(io.requires||[],io.requiresIfExists||[]);
vendor: 13,740 bytes, line 199
199oo.forEach(function(ao){if(!to.has(ao)){var so=eo.get(ao);so&&no(so)}}),ro.push(io)}return Yi.forEach(function(io){to.has(io.name)||no(io)}),ro}function orderModifiers(Yi){var eo=order(Yi);return modifierPhases.reduce(function(to,ro){return to.concat(eo.filter(function(no){return no.phase===ro}))},[])}function debounce$3(Yi){var eo;return function(){return eo||(eo=new Promise(function(to){Promise.resolve().then(function(){eo=void 0,to(Yi())})})),eo}}function mergeByName(Yi){var eo=Yi.reduce(function(to,ro){var no=to[ro.name];return to[ro.name]=no?Object.assign({},no,ro,{options:Object.assign({},no.options,ro.options),data:Object.assign({},no.data,ro.data)}):ro,to},{});return Object.keys(eo).map(function(to){return eo[to]})}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var Yi=arguments.length,eo=new Array(Yi),to=0;to<Yi;to++)eo[to]=arguments[to];return!eo.some(function(ro){return!(ro&&typeof ro.getBoundingClientRect=="function")})}function popperGenerator(Yi){Yi===void 0&&(Yi={});var eo=Yi,to=eo.defaultModifiers,ro=to===void 0?[]:to,no=eo.defaultOptions,io=no===void 0?DEFAULT_OPTIONS:no;return function(ao,so,lo){lo===void 0&&(lo=io);var co={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,io),modifiersData:{},elements:{reference:ao,popper:so},attributes:{},styles:{}},uo=[],fo=!1,ho={state:co,setOptions:function(bo){var wo=typeof bo=="function"?bo(co.options):bo;vo(),co.options=Object.assign({},io,co.options,wo),co.scrollParents={reference:isElement(ao)?listScrollParents(ao):ao.contextElement?listScrollParents(ao.contextElement):[],popper:listScrollParents(so)};var yo=orderModifiers(mergeByName([].concat(ro,co.options.modifiers)));return co.orderedModifiers=yo.filter(function(Eo){return Eo.enabled}),mo(),ho.update()},forceUpdate:function(){if(!fo){var bo=co.elements,wo=bo.reference,yo=bo.popper;if(areValidElements(wo,yo)){co.rects={reference:getCompositeRect(wo,getOffsetParent(yo),co.options.strategy==="fixed"),popper:getLayoutRect(yo)},co.reset=!1,co.placement=co.options.placement,co.orderedModifiers.forEach(function(zo){return co.modifiersData[zo.name]=Object.assign({},zo.data)});for(var Eo=0;Eo<co.orderedModifiers.length;Eo++){if(co.reset===!0){co.reset=!1,Eo=-1;continue}var xo=co.orderedModifiers[Eo],So=xo.fn,To=xo.options,Ro=To===void 0?{}:To,Po=xo.name;typeof So=="function"&&(co=So({state:co,options:Ro,name:Po,instance:ho})||co)}}}},update:debounce$3(function(){return new Promise(function(Co){ho.forceUpdate(),Co(co)})}),destroy:function(){vo(),fo=!0}};if(!areValidElements(ao,so))return ho;ho.setOptions(lo).then(function(Co){!fo&&lo.onFirstUpdate&&lo.onFirstUpdate(Co)});function mo(){co.orderedModifiers.forEach(function(Co){var bo=Co.name,wo=Co.options,yo=wo===void 0?{}:wo,Eo=Co.effect;if(typeof Eo=="function"){var xo=Eo({state:co,name:bo,instance:ho,options:yo}),So=function(){};uo.push(xo||So)}})}function vo(){uo.forEach(function(Co){return Co()}),uo=[]}return ho}}var defaultModifiers=[eventListeners,popperOffsets$1,computeStyles$1,applyStyles$1,offset$1,flip$1,preventOverflow$1,arrow$1,hide$1],createPopper=popperGenerator({defaultModifiers});function getContainer$1(Yi){return typeof Yi=="function"?Yi():Yi}const Portal=reactExports.forwardRef(function(eo,to){const{children:ro,container:no,disablePortal:io=!1}=eo,[oo,ao]=reactExports.useState(null),so=useForkRef(getReactNodeRef(ro),to);if(useEnhancedEffect(()=>{io||ao(getContainer$1(no)||document.body)},[no,io]),useEnhancedEffect(()=>{if(oo&&!io)return setRef(to,oo),()=>{setRef(to,null)}},[to,oo,io]),io){if(reactExports.isValidElement(ro)){const lo={ref:so};return reactExports.cloneElement(ro,lo)}return jsxRuntimeExports.jsx(reactExports.Fragment,{children:ro})}return jsxRuntimeExports.jsx(reactExports.Fragment,{children:oo&&reactDomExports.createPortal(ro,oo)})});function getPopperUtilityClass(Yi){return generateUtilityClass("MuiPopper",Yi)}generateUtilityClasses("MuiPopper",["root"]);function flipPlacement(Yi,eo){if(eo==="ltr")return Yi;switch(Yi){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return Yi}}function resolveAnchorEl$1(Yi){return typeof Yi=="function"?Yi():Yi}function isHTMLElement$2(Yi){return Yi.nodeType!==void 0}const useUtilityClasses$1a=Yi=>{const{classes:eo}=Yi;return composeClasses({root:["root"]},getPopperUtilityClass,eo)},defaultPopperOptions={},PopperTooltip=reactExports.forwardRef(function(eo,to){const{anchorEl:ro,children:no,direction:io,disablePortal:oo,modifiers:ao,open:so,placement:lo,popperOptions:co,popperRef:uo,slotProps:fo={},slots:ho={},TransitionProps:mo,ownerState:vo,...Co}=eo,bo=reactExports.useRef(null),wo=useForkRef(bo,to),yo=reactExports.useRef(null),Eo=useForkRef(yo,uo),xo=reactExports.useRef(Eo);useEnhancedEffect(()=>{xo.current=Eo},[Eo]),reactExports.useImperativeHandle(uo,()=>yo.current,[]);const So=flipPlacement(lo,io),[To,Ro]=reactExports.useState(So),[Po,zo]=reactExports.useState(resolveAnchorEl$1(ro));reactExports.useEffect(()=>{yo.current&&yo.current.forceUpdate()}),reactExports.useEffect(()=>{ro&&zo(resolveAnchorEl$1(ro))},[ro]),useEnhancedEffect(()=>{if(!Po||!so)return;const Do=Bo=>{Ro(Bo.placement)};let Oo=[{name:"preventOverflow",options:{altBoundary:oo}},{name:"flip",options:{altBoundary:oo}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:Bo})=>{Do(Bo)}}];ao!=null&&(Oo=Oo.concat(ao)),co&&co.modifiers!=null&&(Oo=Oo.concat(co.modifiers));const ko=createPopper(Po,bo.current,{placement:So,...co,modifiers:Oo});return xo.current(ko),()=>{ko.destroy(),xo.current(null)}},[Po,oo,ao,so,co,So]);const Ho={placement:To};mo!==null&&(Ho.TransitionProps=mo);const Vo=useUtilityClasses$1a(eo),Lo=ho.root??"div",Uo=useSlotProps({elementType:Lo,externalSlotProps:fo.root,externalForwardedProps:Co,additionalProps:{role:"tooltip",ref:wo},ownerState:eo,className:Vo.root});return jsxRuntimeExports.jsx(Lo,{...Uo,children:typeof no=="function"?no(Ho):no})}),Popper$1=reactExports.forwardRef(function(eo,to){const{anchorEl:ro,children:no,container:io,direction:oo="ltr",disablePortal:ao=!1,keepMounted:so=!1,modifiers:lo,open:co,placement:uo="bottom",popperOptions:fo=defaultPopperOptions,popperRef:ho,style:mo,transition:vo=!1,slotProps:Co={},slots:bo={},...wo}=eo,[yo,Eo]=reactExports.useState(!0),xo=()=>{Eo(!1)},So=()=>{Eo(!0)};if(!so&&!co&&(!vo||yo))return null;let To;if(io)To=io;else if(ro){const zo=resolveAnchorEl$1(ro);To=zo&&isHTMLElement$2(zo)?ownerDocument(zo).body:ownerDocument(null).body}const Ro=!co&&so&&(!vo||yo)?"none":void 0,Po=vo?{in:co,onEnter:xo,onExited:So}:void 0;return jsxRuntimeExports.jsx(Portal,{disablePortal:ao,container:To,children:jsxRuntimeExports.jsx(PopperTooltip,{anchorEl:ro,direction:oo,disablePortal:ao,modifiers:lo,ref:to,open:vo?!yo:co,placement:uo,popperOptions:fo,popperRef:ho,slotProps:Co,slots:bo,...wo,style:{position:"fixed",top:0,left:0,display:Ro,...mo},TransitionProps:Po,children:no})})}),PopperRoot=styled(Popper$1,{name:"MuiPopper",slot:"Root",overridesResolver:(Yi,eo)=>eo.root})({}),Popper=reactExports.forwardRef(function(eo,to){const ro=useRtl(),no=useDefaultProps({props:eo,name:"MuiPopper"}),{anchorEl:io,component:oo,components:ao,componentsProps:so,container:lo,disablePortal:co,keepMounted:uo,modifiers:fo,open:ho,placement:mo,popperOptions:vo,popperRef:Co,transition:bo,slots:wo,slotProps:yo,...Eo}=no,xo=(wo==null?void 0:wo.root)??(ao==null?void 0:ao.Root),So={anchorEl:io,container:lo,disablePortal:co,keepMounted:uo,modifiers:fo,open:ho,placement:mo,popperOptions:vo,popperRef:Co,transition:bo,...Eo};return jsxRuntimeExports.jsx(PopperRoot,{as:oo,direction:ro?"rtl":"ltr",slots:{root:xo},slotProps:yo??so,...So,ref:to})});function getListSubheaderUtilityClass(Yi){return generateUtilityClass("MuiListSubheader",Yi)}generateUtilityClasses("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const useUtilityClasses$19=Yi=>{const{classes:eo,color:to,disableGutters:ro,inset:no,disableSticky:io}=Yi,oo={root:["root",to!=="default"&&`color${capitalize$3(to)}`,!ro&&"gutters",no&&"inset",!io&&"sticky"]};return composeClasses(oo,getListSubheaderUtilityClass,eo)},ListSubheaderRoot=styled("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.color!=="default"&&eo[`color${capitalize$3(to.color)}`],!to.disableGutters&&eo.gutters,to.inset&&eo.inset,!to.disableSticky&&eo.sticky]}})(memoTheme(({theme:Yi})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(Yi.vars||Yi).palette.text.secondary,fontFamily:Yi.typography.fontFamily,fontWeight:Yi.typography.fontWeightMedium,fontSize:Yi.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(Yi.vars||Yi).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:eo})=>!eo.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:eo})=>eo.inset,style:{paddingLeft:72}},{props:({ownerState:eo})=>!eo.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(Yi.vars||Yi).palette.background.paper}}]}))),ListSubheader=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiListSubheader"}),{className:no,color:io="default",component:oo="li",disableGutters:ao=!1,disableSticky:so=!1,inset:lo=!1,...co}=ro,uo={...ro,color:io,component:oo,disableGutters:ao,disableSticky:so,inset:lo},fo=useUtilityClasses$19(uo);return jsxRuntimeExports.jsx(ListSubheaderRoot,{as:oo,className:clsx(fo.root,no),ref:to,ownerState:uo,...co})});ListSubheader&&(ListSubheader.muiSkipListHighlight=!0);const CancelIcon$3=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function getChipUtilityClass(Yi){return generateUtilityClass("MuiChip",Yi)}const chipClasses=generateUtilityClasses("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),useUtilityClasses$18=Yi=>{const{classes:eo,disabled:to,size:ro,color:no,iconColor:io,onDelete:oo,clickable:ao,variant:so}=Yi,lo={root:["root",so,to&&"disabled",`size${capitalize$3(ro)}`,`color${capitalize$3(no)}`,ao&&"clickable",ao&&`clickableColor${capitalize$3(no)}`,oo&&"deletable",oo&&`deletableColor${capitalize$3(no)}`,`${so}${capitalize$3(no)}`],label:["label",`label${capitalize$3(ro)}`],avatar:["avatar",`avatar${capitalize$3(ro)}`,`avatarColor${capitalize$3(no)}`],icon:["icon",`icon${capitalize$3(ro)}`,`iconColor${capitalize$3(io)}`],deleteIcon:["deleteIcon",`deleteIcon${capitalize$3(ro)}`,`deleteIconColor${capitalize$3(no)}`,`deleteIcon${capitalize$3(so)}Color${capitalize$3(no)}`]};return composeClasses(lo,getChipUtilityClass,eo)},ChipRoot=styled("div",{name:"MuiChip",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi,{color:ro,iconColor:no,clickable:io,onDelete:oo,size:ao,variant:so}=to;return[{[`& .${chipClasses.avatar}`]:eo.avatar},{[`& .${chipClasses.avatar}`]:eo[`avatar${capitalize$3(ao)}`]},{[`& .${chipClasses.avatar}`]:eo[`avatarColor${capitalize$3(ro)}`]},{[`& .${chipClasses.icon}`]:eo.icon},{[`& .${chipClasses.icon}`]:eo[`icon${capitalize$3(ao)}`]},{[`& .${chipClasses.icon}`]:eo[`iconColor${capitalize$3(no)}`]},{[`& .${chipClasses.deleteIcon}`]:eo.deleteIcon},{[`& .${chipClasses.deleteIcon}`]:eo[`deleteIcon${capitalize$3(ao)}`]},{[`& .${chipClasses.deleteIcon}`]:eo[`deleteIconColor${capitalize$3(ro)}`]},{[`& .${chipClasses.deleteIcon}`]:eo[`deleteIcon${capitalize$3(so)}Color${capitalize$3(ro)}`]},eo.root,eo[`size${capitalize$3(ao)}`],eo[`color${capitalize$3(ro)}`],io&&eo.clickable,io&&ro!=="default"&&eo[`clickableColor${capitalize$3(ro)})`],oo&&eo.deletable,oo&&ro!=="default"&&eo[`deletableColor${capitalize$3(ro)}`],eo[so],eo[`${so}${capitalize$3(ro)}`]]}})(memoTheme(({theme:Yi})=>{const eo=Yi.palette.mode==="light"?Yi.palette.grey[700]:Yi.palette.grey[300];return{maxWidth:"100%",fontFamily:Yi.typography.fontFamily,fontSize:Yi.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(Yi.vars||Yi).palette.text.primary,backgroundColor:(Yi.vars||Yi).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:Yi.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${chipClasses.disabled}`]:{opacity:(Yi.vars||Yi).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${chipClasses.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:Yi.vars?Yi.vars.palette.Chip.defaultAvatarColor:eo,fontSize:Yi.typography.pxToRem(12)},[`& .${chipClasses.avatarColorPrimary}`]:{color:(Yi.vars||Yi).palette.primary.contrastText,backgroundColor:(Yi.vars||Yi).palette.primary.dark},[`& .${chipClasses.avatarColorSecondary}
199`]:{color:(Yi.vars||Yi).palette.secondary.contrastText,backgroundColor:(Yi.vars||Yi).palette.secondary.dark},[`& .${chipClasses.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:Yi.typography.pxToRem(10)},[`& .${chipClasses.icon}`]:{marginLeft:5,marginRight:-6},[`& .${chipClasses.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:Yi.vars?`rgba(${Yi.vars.palette.text.primaryChannel} / 0.26)`:alpha$1(Yi.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:Yi.vars?`rgba(${Yi.vars.palette.text.primaryChannel} / 0.4)`:alpha$1(Yi.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${chipClasses.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${chipClasses.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(Yi.palette).filter(([,to])=>to&&to.main&&to.contrastText).map(([to])=>({props:{color:to},style:{backgroundColor:(Yi.vars||Yi).palette[to].main,color:(Yi.vars||Yi).palette[to].contrastText,[`& .${chipClasses.deleteIcon}`]:{color:Yi.vars?`rgba(${Yi.vars.palette[to].contrastTextChannel} / 0.7)`:alpha$1(Yi.palette[to].contrastText,.7),"&:hover, &:active":{color:(Yi.vars||Yi).palette[to].contrastText}}}})),{props:to=>to.iconColor===to.color,style:{[`& .${chipClasses.icon}`]:{color:Yi.vars?Yi.vars.palette.Chip.defaultIconColor:eo}}},{props:to=>to.iconColor===to.color&&to.color!=="default",style:{[`& .${chipClasses.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${chipClasses.focusVisible}`]:{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette.action.selectedChannel} / calc(${Yi.vars.palette.action.selectedOpacity} + ${Yi.vars.palette.action.focusOpacity}))`:alpha$1(Yi.palette.action.selected,Yi.palette.action.selectedOpacity+Yi.palette.action.focusOpacity)}}},...Object.entries(Yi.palette).filter(([,to])=>to&&to.dark).map(([to])=>({props:{color:to,onDelete:!0},style:{[`&.${chipClasses.focusVisible}`]:{background:(Yi.vars||Yi).palette[to].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette.action.selectedChannel} / calc(${Yi.vars.palette.action.selectedOpacity} + ${Yi.vars.palette.action.hoverOpacity}))`:alpha$1(Yi.palette.action.selected,Yi.palette.action.selectedOpacity+Yi.palette.action.hoverOpacity)},[`&.${chipClasses.focusVisible}`]:{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette.action.selectedChannel} / calc(${Yi.vars.palette.action.selectedOpacity} + ${Yi.vars.palette.action.focusOpacity}))`:alpha$1(Yi.palette.action.selected,Yi.palette.action.selectedOpacity+Yi.palette.action.focusOpacity)},"&:active":{boxShadow:(Yi.vars||Yi).shadows[1]}}},...Object.entries(Yi.palette).filter(([,to])=>to&&to.dark).map(([to])=>({props:{color:to,clickable:!0},style:{[`&:hover, &.${chipClasses.focusVisible}`]:{backgroundColor:(Yi.vars||Yi).palette[to].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:Yi.vars?`1px solid ${Yi.vars.palette.Chip.defaultBorder}`:`1px solid ${Yi.palette.mode==="light"?Yi.palette.grey[400]:Yi.palette.grey[700]}`,[`&.${chipClasses.clickable}:hover`]:{backgroundColor:(Yi.vars||Yi).palette.action.hover},[`&.${chipClasses.focusVisible}`]:{backgroundColor:(Yi.vars||Yi).palette.action.focus},[`& .${chipClasses.avatar}`]:{marginLeft:4},[`& .${chipClasses.avatarSmall}`]:{marginLeft:2},[`& .${chipClasses.icon}`]:{marginLeft:4},[`& .${chipClasses.iconSmall}`]:{marginLeft:2},[`& .${chipClasses.deleteIcon}`]:{marginRight:5},[`& .${chipClasses.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(Yi.palette).filter(([,to])=>to&&to.main).map(([to])=>({props:{variant:"outlined",color:to},style:{color:(Yi.vars||Yi).palette[to].main,border:`1px solid ${Yi.vars?`rgba(${Yi.vars.palette[to].mainChannel} / 0.7)`:alpha$1(Yi.palette[to].main,.7)}`,[`&.${chipClasses.clickable}:hover`]:{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette[to].mainChannel} / ${Yi.vars.palette.action.hoverOpacity})`:alpha$1(Yi.palette[to].main,Yi.palette.action.hoverOpacity)},[`&.${chipClasses.focusVisible}`]:{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette[to].mainChannel} / ${Yi.vars.palette.action.focusOpacity})`:alpha$1(Yi.palette[to].main,Yi.palette.action.focusOpacity)},[`& .${chipClasses.deleteIcon}`]:{color:Yi.vars?`rgba(${Yi.vars.palette[to].mainChannel} / 0.7)`:alpha$1(Yi.palette[to].main,.7),"&:hover, &:active":{color:(Yi.vars||Yi).palette[to].main}}}}))]}})),ChipLabel=styled("span",{name:"MuiChip",slot:"Label",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi,{size:ro}=to;return[eo.label,eo[`label${capitalize$3(ro)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function isDeleteKeyboardEvent(Yi){return Yi.key==="Backspace"||Yi.key==="Delete"}const Chip=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiChip"}),{avatar:no,className:io,clickable:oo,color:ao="default",component:so,deleteIcon:lo,disabled:co=!1,icon:uo,label:fo,onClick:ho,onDelete:mo,onKeyDown:vo,onKeyUp:Co,size:bo="medium",variant:wo="filled",tabIndex:yo,skipFocusWhenDisabled:Eo=!1,...xo}=ro,So=reactExports.useRef(null),To=useForkRef(So,to),Ro=Fo=>{Fo.stopPropagation(),mo&&mo(Fo)},Po=Fo=>{Fo.currentTarget===Fo.target&&isDeleteKeyboardEvent(Fo)&&Fo.preventDefault(),vo&&vo(Fo)},zo=Fo=>{Fo.currentTarget===Fo.target&&mo&&isDeleteKeyboardEvent(Fo)&&mo(Fo),Co&&Co(Fo)},Ho=oo!==!1&&ho?!0:oo,Vo=Ho||mo?ButtonBase:so||"div",Lo={...ro,component:Vo,disabled:co,size:bo,color:ao,iconColor:reactExports.isValidElement(uo)&&uo.props.color||ao,onDelete:!!mo,clickable:Ho,variant:wo},Uo=useUtilityClasses$18(Lo),Do=Vo===ButtonBase?{component:so||"div",focu
199sVisibleClassName:Uo.focusVisible,...mo&&{disableRipple:!0}}:{};let Oo=null;mo&&(Oo=lo&&reactExports.isValidElement(lo)?reactExports.cloneElement(lo,{className:clsx(lo.props.className,Uo.deleteIcon),onClick:Ro}):jsxRuntimeExports.jsx(CancelIcon$3,{className:clsx(Uo.deleteIcon),onClick:Ro}));let ko=null;no&&reactExports.isValidElement(no)&&(ko=reactExports.cloneElement(no,{className:clsx(Uo.avatar,no.props.className)}));let Bo=null;return uo&&reactExports.isValidElement(uo)&&(Bo=reactExports.cloneElement(uo,{className:clsx(Uo.icon,uo.props.className)})),jsxRuntimeExports.jsxs(ChipRoot,{as:Vo,className:clsx(Uo.root,io),disabled:Ho&&co?!0:void 0,onClick:ho,onKeyDown:Po,onKeyUp:zo,ref:To,tabIndex:Eo&&co?-1:yo,ownerState:Lo,...Do,...xo,children:[ko||Bo,jsxRuntimeExports.jsx(ChipLabel,{className:clsx(Uo.label),ownerState:Lo,children:fo}),Oo]})});function getStyleValue(Yi){return parseInt(Yi,10)||0}const styles$4={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function isEmpty$2(Yi){return Yi==null||Object.keys(Yi).length===0||Yi.outerHeightStyle===0&&!Yi.overflowing}const TextareaAutosize=reactExports.forwardRef(function(eo,to){const{onChange:ro,maxRows:no,minRows:io=1,style:oo,value:ao,...so}=eo,{current:lo}=reactExports.useRef(ao!=null),co=reactExports.useRef(null),uo=useForkRef(to,co),fo=reactExports.useRef(null),ho=reactExports.useRef(null),mo=reactExports.useCallback(()=>{const bo=co.current,yo=ownerWindow(bo).getComputedStyle(bo);if(yo.width==="0px")return{outerHeightStyle:0,overflowing:!1};const Eo=ho.current;Eo.style.width=yo.width,Eo.value=bo.value||eo.placeholder||"x",Eo.value.slice(-1)===`
200`&&(Eo.value+=" ");const xo=yo.boxSizing,So=getStyleValue(yo.paddingBottom)+getStyleValue(yo.paddingTop),To=getStyleValue(yo.borderBottomWidth)+getStyleValue(yo.borderTopWidth),Ro=Eo.scrollHeight;Eo.value="x";const Po=Eo.scrollHeight;let zo=Ro;io&&(zo=Math.max(Number(io)*Po,zo)),no&&(zo=Math.min(Number(no)*Po,zo)),zo=Math.max(zo,Po);const Ho=zo+(xo==="border-box"?So+To:0),Vo=Math.abs(zo-Ro)<=1;return{outerHeightStyle:Ho,overflowing:Vo}},[no,io,eo.placeholder]),vo=reactExports.useCallback(()=>{const bo=mo();if(isEmpty$2(bo))return;const wo=bo.outerHeightStyle,yo=co.current;fo.current!==wo&&(fo.current=wo,yo.style.height=`${wo}px`),yo.style.overflow=bo.overflowing?"hidden":""},[mo]);useEnhancedEffect(()=>{const bo=()=>{vo()};let wo;const yo=debounce$4(bo),Eo=co.current,xo=ownerWindow(Eo);xo.addEventListener("resize",yo);let So;return typeof ResizeObserver<"u"&&(So=new ResizeObserver(bo),So.observe(Eo)),()=>{yo.clear(),cancelAnimationFrame(wo),xo.removeEventListener("resize",yo),So&&So.disconnect()}},[mo,vo]),useEnhancedEffect(()=>{vo()});const Co=bo=>{lo||vo(),ro&&ro(bo)};return jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[jsxRuntimeExports.jsx("textarea",{value:ao,onChange:Co,ref:uo,rows:io,style:oo,...so}),jsxRuntimeExports.jsx("textarea",{"aria-hidden":!0,className:eo.className,readOnly:!0,ref:ho,tabIndex:-1,style:{...styles$4.shadow,...oo,paddingTop:0,paddingBottom:0}})]})});function isHostComponent(Yi){return typeof Yi=="string"}function formControlState({props:Yi,states:eo,muiFormControl:to}){return eo.reduce((ro,no)=>(ro[no]=Yi[no],to&&typeof Yi[no]>"u"&&(ro[no]=to[no]),ro),{})}const FormControlContext=reactExports.createContext(void 0);function useFormControl(){return reactExports.useContext(FormControlContext)}function hasValue(Yi){return Yi!=null&&!(Array.isArray(Yi)&&Yi.length===0)}function isFilled(Yi,eo=!1){return Yi&&(hasValue(Yi.value)&&Yi.value!==""||eo&&hasValue(Yi.defaultValue)&&Yi.defaultValue!=="")}function isAdornedStart(Yi){return Yi.startAdornment}function getInputBaseUtilityClass(Yi){return generateUtilityClass("MuiInputBase",Yi)}const inputBaseClasses=generateUtilityClasses("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var _InputGlobalStyles;const rootOverridesResolver=(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.formControl&&eo.formControl,to.startAdornment&&eo.adornedStart,to.endAdornment&&eo.adornedEnd,to.error&&eo.error,to.size==="small"&&eo.sizeSmall,to.multiline&&eo.multiline,to.color&&eo[`color${capitalize$3(to.color)}`],to.fullWidth&&eo.fullWidth,to.hiddenLabel&&eo.hiddenLabel]},inputOverridesResolver=(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.input,to.size==="small"&&eo.inputSizeSmall,to.multiline&&eo.inputMultiline,to.type==="search"&&eo.inputTypeSearch,to.startAdornment&&eo.inputAdornedStart,to.endAdornment&&eo.inputAdornedEnd,to.hiddenLabel&&eo.inputHiddenLabel]},useUtilityClasses$17=Yi=>{const{classes:eo,color:to,disabled:ro,error:no,endAdornment:io,focused:oo,formControl:ao,fullWidth:so,hiddenLabel:lo,multiline:co,readOnly:uo,size:fo,startAdornment:ho,type:mo}=Yi,vo={root:["root",`color${capitalize$3(to)}`,ro&&"disabled",no&&"error",so&&"fullWidth",oo&&"focused",ao&&"formControl",fo&&fo!=="medium"&&`size${capitalize$3(fo)}`,co&&"multiline",ho&&"adornedStart",io&&"adornedEnd",lo&&"hiddenLabel",uo&&"readOnly"],input:["input",ro&&"disabled",mo==="search"&&"inputTypeSearch",co&&"inputMultiline",fo==="small"&&"inputSizeSmall",lo&&"inputHiddenLabel",ho&&"inputAdornedStart",io&&"inputAdornedEnd",uo&&"readOnly"]};return composeClasses(vo,getInputBaseUtilityClass,eo)},InputBaseRoot=styled("div",{name:"MuiInputBase",slot:"Root",overridesResolver:rootOverridesResolver})(memoTheme(({theme:Yi})=>({...Yi.typography.body1,color:(Yi.vars||Yi).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",curs
vendor: 5,613 bytes, line 200
200or:"text",display:"inline-flex",alignItems:"center",[`&.${inputBaseClasses.disabled}`]:{color:(Yi.vars||Yi).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:eo})=>eo.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:eo,size:to})=>eo.multiline&&to==="small",style:{paddingTop:1}},{props:({ownerState:eo})=>eo.fullWidth,style:{width:"100%"}}]}))),InputBaseInput=styled("input",{name:"MuiInputBase",slot:"Input",overridesResolver:inputOverridesResolver})(memoTheme(({theme:Yi})=>{const eo=Yi.palette.mode==="light",to={color:"currentColor",...Yi.vars?{opacity:Yi.vars.opacity.inputPlaceholder}:{opacity:eo?.42:.5},transition:Yi.transitions.create("opacity",{duration:Yi.transitions.duration.shorter})},ro={opacity:"0 !important"},no=Yi.vars?{opacity:Yi.vars.opacity.inputPlaceholder}:{opacity:eo?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":to,"&::-moz-placeholder":to,"&::-ms-input-placeholder":to,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${inputBaseClasses.formControl} &`]:{"&::-webkit-input-placeholder":ro,"&::-moz-placeholder":ro,"&::-ms-input-placeholder":ro,"&:focus::-webkit-input-placeholder":no,"&:focus::-moz-placeholder":no,"&:focus::-ms-input-placeholder":no},[`&.${inputBaseClasses.disabled}`]:{opacity:1,WebkitTextFillColor:(Yi.vars||Yi).palette.text.disabled},variants:[{props:({ownerState:io})=>!io.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:io})=>io.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),InputGlobalStyles=globalCss({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),InputBase=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiInputBase"}),{"aria-describedby":no,autoComplete:io,autoFocus:oo,className:ao,color:so,components:lo={},componentsProps:co={},defaultValue:uo,disabled:fo,disableInjectingGlobalStyles:ho,endAdornment:mo,error:vo,fullWidth:Co=!1,id:bo,inputComponent:wo="input",inputProps:yo={},inputRef:Eo,margin:xo,maxRows:So,minRows:To,multiline:Ro=!1,name:Po,onBlur:zo,onChange:Ho,onClick:Vo,onFocus:Lo,onKeyDown:Uo,onKeyUp:Do,placeholder:Oo,readOnly:ko,renderSuffix:Bo,rows:Fo,size:Qo,slotProps:jo={},slots:Xo={},startAdornment:Zo,type:Wo="text",value:ta,...ra}=ro,da=yo.value!=null?yo.value:ta,{current:pa}=reactExports.useRef(da!=null),sa=reactExports.useRef(),ya=reactExports.useCallback(ga=>{},[]),na=useForkRef(sa,Eo,yo.ref,ya),[ea,oa]=reactExports.useState(!1),la=useFormControl(),_a=formControlState({props:ro,muiFormControl:la,states:["color","disabled","error","hiddenLabel","size","required","filled"]});_a.focused=la?la.focused:ea,reactExports.useEffect(()=>{!la&&fo&&ea&&(oa(!1),zo&&zo())},[la,fo,ea,zo]);const Ea=la&&la.onFilled,Pa=la&&la.onEmpty,aa=reactExports.useCallback(ga=>{isFilled(ga)?Ea&&Ea():Pa&&Pa()},[Ea,Pa]);useEnhancedEffect(()=>{pa&&aa({value:da})},[da,aa,pa]);const Ca=ga=>{Lo&&Lo(ga),yo.onFocus&&yo.onFocus(ga),la&&la.onFocus?la.onFocus(ga):oa(!0)},Sa=ga=>{zo&&zo(ga),yo.onBlur&&yo.onBlur(ga),la&&la.onBlur?la.onBlur(ga):oa(!1)},Ia=(ga,...Fa)=>{if(!pa){const ja=ga.target||sa.current;if(ja==null)throw new Error(formatMuiErrorMessage$1(1));aa({value:ja.value})}yo.onChange&&yo.onChange(ga,...Fa),Ho&&Ho(ga,...Fa)};reactExports.useEffect(()=>{aa(sa.current)},[]);const Ta=ga=>{sa.current&&ga.currentTarget===ga.target&&sa.current.focus(),Vo&&Vo(ga)};let va=wo,xa=yo;Ro&&va==="input"&&(Fo?xa={type:void 0,minRows:Fo,maxRows:Fo,...xa}:xa={type:void 0,maxRows:So,minRows:To,...xa},va=TextareaAutosize);const Oa=ga=>{aa(ga.animationName==="mui-auto-fill-cancel"?sa.current:{value:"x"})};reactExports.useEffect(()=>{la&&la.setAdornedStart(!!Zo)},[la,Zo]);const Da={...ro,color:_a.color||"primary",disabled:_a.disabled,endAdornment:mo,error:_a.error,focused:_a.focused,formControl:la,fullWidth:Co,hiddenLabel:_a.hiddenLabel,multiline:Ro,size:_a.size,startAdornment:Zo,type:Wo},ia=useUtilityClasses$17(Da),Ko=Xo.root||lo.Root||InputBaseRoot,Yo=jo.root||co.root||{},ma=Xo.input||lo.Input||InputBaseInput;return xa={...xa,...jo.input??co.input},jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[!ho&&typeof InputGlobalStyles=="function"&&(_InputGlobalStyles||(_InputGlobalStyles=jsxRuntimeExports.jsx(InputGlobalStyles,{}))),jsxRuntimeExports.jsxs(Ko,{...Yo,ref:to,onClick:Ta,...ra,...!isHostComponent(Ko)&&{ownerState:{...Da,...Yo.ownerState}},className:clsx(ia.root,Yo.className,ao,ko&&"MuiInputBase-readOnly"),children:[Zo,jsxRuntimeExports.jsx(FormControlContext.Provider,{value:null,children:jsxRuntimeExports.jsx(ma,{"aria-invalid":_a.error,"aria-describedby":no,autoComplete:io,autoFocus:oo,defaultValue:uo,disabled:_a.disabled,id:bo,onAnimationStart:Oa,name:Po,placeholder:Oo,readOnly:ko,required:_a.required,rows:Fo,value:da,onKeyDown:Uo,onKeyUp:Do,type:Wo,...xa,...!isHostComponent(ma)&&{as:va,ownerState:{...Da,...xa.ownerState}},ref:na,className:clsx(ia.input,xa.className,ko&&"MuiInputBase-readOnly"),onBlur:Sa,onChange:Ia,onFocus:Ca})}),mo,Bo?Bo({..._a,startAdornment:Zo}):null]})]})});
200function getInputUtilityClass(Yi){return generateUtilityClass("MuiInput",Yi)}const inputClasses={...inputBaseClasses,...generateUtilityClasses("MuiInput",["root","underline","input"])};function getOutlinedInputUtilityClass(Yi){return generateUtilityClass("MuiOutlinedInput",Yi)}const outlinedInputClasses={...inputBaseClasses,...generateUtilityClasses("MuiOutlinedInput",["root","notchedOutline","input"])};function getFilledInputUtilityClass(Yi){return generateUtilityClass("MuiFilledInput",Yi)}const filledInputClasses={...inputBaseClasses,...generateUtilityClasses("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},ArrowDropDownIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function getAutocompleteUtilityClass(Yi){return generateUtilityClass("MuiAutocomplete",Yi)}const autocompleteClasses=generateUtilityClasses("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","
200input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var _ClearIcon,_ArrowDropDownIcon;const useUtilityClasses$16=Yi=>{const{classes:eo,disablePortal:to,expanded:ro,focused:no,fullWidth:io,hasClearIcon:oo,hasPopupIcon:ao,inputFocused:so,popupOpen:lo,size:co}=Yi,uo={root:["root",ro&&"expanded",no&&"focused",io&&"fullWidth",oo&&"hasClearIcon",ao&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",so&&"inputFocused"],tag:["tag",`tagSize${capitalize$3(co)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",lo&&"popupIndicatorOpen"],popper:["popper",to&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return composeClasses(uo,getAutocompleteUtilityClass,eo)},AutocompleteRoot=styled("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi,{fullWidth:ro,hasClearIcon:no,hasPopupIcon:io,inputFocused:oo,size:ao}=to;return[{[`& .${autocompleteClasses.tag}`]:eo.tag},{[`& .${autocompleteClasses.tag}`]:eo[`tagSize${capitalize$3(ao)}`]},{[`& .${autocompleteClasses.inputRoot}`]:eo.inputRoot},{[`& .${autocompleteClasses.input}`]:eo.input},{[`& .${autocompleteClasses.input}`]:oo&&eo.inputFocused},eo.root,ro&&eo.fullWidth,io&&eo.hasPopupIcon,no&&eo.hasClearIcon]}})({[`&.${autocompleteClasses.focused} .${autocompleteClasses.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${autocompleteClasses.clearIndicator}`]:{visibility:"visible"}},[`& .${autocompleteClasses.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${autocompleteClasses.inputRoot}`]:{[`.${autocompleteClasses.hasPopupIcon}&, .${autocompleteClasses.hasClearIcon}&`]:{paddingRight:30},[`.${autocompleteClasses.hasPopupIcon}.${autocompleteClasses.hasClearIcon}&`]:{paddingRight:56},[`& .${autocompleteClasses.input}`]:{width:0,minWidth:30}},[`& .${inputClasses.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${inputClasses.root}.${inputBaseClasses.sizeSmall}`]:{[`& .${inputClasses.input}`]:{padding:"2px 4px 3px 0"}},[`& .${outlinedInputClasses.root}`]:{padding:9,[`.${autocompleteClasses.hasPopupIcon}&, .${autocompleteClasses.hasClearIcon}&`]:{paddingRight:39},[`.${autocompleteClasses.hasPopupIcon}.${autocompleteClasses.hasClearIcon}&`]:{paddingRight:65},[`& .${autocompleteClasses.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${autocompleteClasses.endAdornment}`]:{right:9}},[`& .${outlinedInputClasses.root}.${inputBaseClasses.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${autocompleteClasses.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${filledInputClasses.root}`]:{paddingTop:19,paddingLeft:8,[`.${autocompleteClasses.hasPopupIcon}&, .${autocompleteClasses.hasClearIcon}&`]:{paddingRight:39},[`.${autocompleteClasses.hasPopupIcon}.${autocompleteClasses.hasClearIcon}&`]:{paddingRight:65},[`& .${filledInputClasses.input}`]:{padding:"7px 4px"},[`& .${autocompleteClasses.endAdornment}`]:{right:9}},[`& .${filledInputClasses.root}.${inputBaseClasses.sizeSmall}`]:{paddingBottom:1,[`& .${filledInputClasses.input}`]:{padding:"2.5px 4px"}},[`& .${inputBaseClasses.hiddenLabel}`]:{paddingTop:8},[`& .${filledInputClasses.root}.${inputBaseClasses.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${autocompleteClasses.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${filledInputClasses.root}.${inputBaseClasses.hiddenLabel}.${inputBaseClasses.sizeSmall}`]:{[`& .${autocompleteClasses.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${autocompleteClasses.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0}
vendor: 9,647 bytes, line 200
200,variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${autocompleteClasses.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${autocompleteClasses.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${autocompleteClasses.inputRoot}`]:{flexWrap:"wrap"}}}]}),AutocompleteEndAdornment=styled("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(Yi,eo)=>eo.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),AutocompleteClearIndicator=styled(IconButton,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(Yi,eo)=>eo.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),AutocompletePopupIndicator=styled(IconButton,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:Yi},eo)=>({...eo.popupIndicator,...Yi.popupOpen&&eo.popupIndicatorOpen})})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),AutocompletePopper=styled(Popper,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[{[`& .${autocompleteClasses.option}`]:eo.option},eo.popper,to.disablePortal&&eo.popperDisablePortal]}})(memoTheme(({theme:Yi})=>({zIndex:(Yi.vars||Yi).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),AutocompletePaper=styled(Paper,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(Yi,eo)=>eo.paper})(memoTheme(({theme:Yi})=>({...Yi.typography.body1,overflow:"auto"}))),AutocompleteLoading=styled("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(Yi,eo)=>eo.loading})(memoTheme(({theme:Yi})=>({color:(Yi.vars||Yi).palette.text.secondary,padding:"14px 16px"}))),AutocompleteNoOptions=styled("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(Yi,eo)=>eo.noOptions})(memoTheme(({theme:Yi})=>({color:(Yi.vars||Yi).palette.text.secondary,padding:"14px 16px"}))),AutocompleteListbox=styled("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(Yi,eo)=>eo.listbox})(memoTheme(({theme:Yi})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${autocompleteClasses.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[Yi.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${autocompleteClasses.focused}`]:{backgroundColor:(Yi.vars||Yi).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(Yi.vars||Yi).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${autocompleteClasses.focusVisible}`]:{backgroundColor:(Yi.vars||Yi).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette.primary.mainChannel} / ${Yi.vars.palette.action.selectedOpacity})`:alpha$1(Yi.palette.primary.main,Yi.palette.action.selectedOpacity),[`&.${autocompleteClasses.focused}`]:{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette.primary.mainChannel} / calc(${Yi.vars.palette.action.selectedOpacity} + ${Yi.vars.palette.action.hoverOpacity}))`:alpha$1(Yi.palette.primary.main,Yi.palette.action.selectedOpacity+Yi.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(Yi.vars||Yi).palette.action.selected}},[`&.${autocompleteClasses.focusVisible}`]:{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette.primary.mainChannel} / calc(${Yi.vars.palette.action.selectedOpacity} + ${Yi.vars.palette.action.focusOpacity}))`:alpha$1(Yi.palette.primary.main,Yi.palette.action.selectedOpacity+Yi.palette.action.focusOpacity)}}}}))),AutocompleteGroupLabel=styled(ListSubheader,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(Yi,eo)=>eo.groupLabel})(memoTheme(({theme:Yi})=>({backgroundColor:(Yi.vars||Yi).palette.background.paper,top:-8}))),AutocompleteGroupUl=styled("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(Yi,eo)=>eo.groupUl})({padding:0,[`& .${autocompleteClasses.option}`]:{paddingLeft:24}}),Autocomplete=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiAutocomplete"}),{autoComplete:no=!1,autoHighlight:io=!1,autoSelect:oo=!1,blurOnSelect:ao=!1,ChipProps:so,className:lo,clearIcon:co=_ClearIcon||(_ClearIcon=jsxRuntimeExports.jsx(ClearIcon,{fontSize:"small"})),clearOnBlur:uo=!ro.freeSolo,clearOnEscape:fo=!1,clearText:ho="Clear",closeText:mo="Close",componentsProps:vo,defaultValue:Co=ro.multiple?[]:null,disableClearable:bo=!1,disableCloseOnSelect:wo=!1,disabled:yo=!1,disabledItemsFocusable:Eo=!1,disableListWrap:xo=!1,disablePortal:So=!1,filterOptions:To,filterSelectedOptions:Ro=!1,forcePopupIcon:Po="auto",freeSolo:zo=!1,fullWidth:Ho=!1,getLimitTagsText:Vo=Vs=>`+${Vs}`,getOptionDisabled:Lo,getOptionKey:Uo,getOptionLabel:Do,isOptionEqualToValue:Oo,groupBy:ko,handleHomeEndKeys:Bo=!ro.freeSolo,id:Fo,includeInputInList:Qo=!1,inputValue:jo,limitTags:Xo=-1,ListboxComponent:Zo,ListboxProps:Wo,loading:ta=!1,loadingText:ra="Loading…",multiple:da=!1,noOptionsText:pa="No options",onChange:sa,onClose:ya,onHighlightChange:na,onInputChange:ea,onOpen:oa,open:la,openOnFocus:_a=!1,openText:Ea="Open",options:Pa,PaperComponent:aa,PopperComponent:Ca,popupIcon:Sa=_ArrowDropDownIcon||(_ArrowDropDownIcon=jsxRuntimeExports.jsx(ArrowDropDownIcon,{})),readOnly:Ia=!1,renderGroup:Ta,renderInput:va,renderOption:xa,renderTags:Oa,selectOnFocus:Da=!ro.freeSolo,size:ia="medium",slots:Ko={},slotProps:Yo={},value:ma,...ga}=ro,{getRootProps:Fa,getInputProps:ja,getInputLabelProps:Ga,getPopupIndicatorProps:Va,getClearProps:qa,getTagProps:us,getListboxProps:as,getOptionProps:ps,value:Rs,dirty:Ps,expanded:vs,id:Ts,popupOpen:hs,focused:ol,focusedTag:Zs,anchorEl:$s,setAnchorEl:al,inputValue:Rl,groupedOptions:El}=useAutocomplete({...ro,componentName:"Autocomplete"}),Sl=!bo&&!yo&&Ps&&!Ia,xl=(!zo||Po===!0)&&Po!==!1,{onMouseDown:yc}=ja(),{ref:Ll,...kl}=as(),Ql=Do||(Vs=>Vs.label??Vs),cl={...ro,disablePortal:So,expanded:vs,focused:ol,fullWidth:Ho,getOptionLabel:Ql,hasClearIcon:Sl,hasPopupIcon:xl,inputFocused:Zs===-1,popupOpen:hs,size:ia},sl=useUtilityClasses$16(cl),qs={slots:{listbox:Zo,paper:aa,popper:Ca,...Ko},slotProps:{chip:so,listbox:Wo,...vo,...Yo}},[Ya,Ka]=useSlot("listbox",{elementType:"ul",externalForwardedProps:qs,ownerState:cl,className:sl.listbox,additionalProps:kl,ref:Ll}),[ys,Ls]=useSlot("paper",{elementType:Paper,externalForwardedProps:qs,ownerState:cl,className:sl.paper}),[Ns,tl]=useSlot("popper",{elementType:Popper,externalForwardedProps:qs,ownerState:cl,className:sl.popper,additionalProps:{disablePortal:So,style:{width:$s?$s.clientWidth:null},role:"presentation",anchorEl:$s,open:hs}});let Qs;if(da&&Rs.length>0){const Vs=Ys=>({className:sl.tag,disabled:yo,...us(Ys)});Oa?Qs=Oa(Rs,Vs,cl):Qs=Rs.map((Ys,dl)=>{const{key:zl,...Bl}=Vs({index:dl});return jsxRuntimeExports.jsx(Chip,{label:Ql(Ys),size:ia,...Bl,...qs.slotProps.chip},zl)})}if(Xo>-1&&Array.isArray(Qs)){const Vs=Qs.length-Xo;!ol&&Vs>0&&(Qs=Qs.splice(0,Xo),Qs.push(jsxRuntimeExports.jsx("span",{className:sl.tag,children:Vo(Vs)},Qs.length)))}const bc=Ta||(Vs=>jsxRuntimeExports.jsxs("li",{children:[jsxRuntimeExports.jsx(AutocompleteGroupLabel,{className:sl.groupLabel,ownerState:cl,component:"div",children:Vs.group}),jsxRuntimeExports.jsx(AutocompleteGroupUl,{className:sl.groupUl,ownerState:cl,children:Vs.children})]},Vs.key)),il=xa||((Vs,Ys)=>{const{key:dl,...zl}=Vs;return jsxRuntimeExports.jsx("li",{...zl,children:Ql(Ys)},dl)}),Pc=(Vs,Ys)=>{const dl=ps({option:Vs,index:Ys});return il({...dl,className:sl.option},Vs,{selected:dl["aria-selected"],index:Ys,inputValue:Rl},cl)},Yl=qs.slotProps.clearIndicator,sc=qs.slotProps.popupIndicator,Xl=Vs=>jsxRuntimeExports.jsx(AutocompletePopper,{as:Ns,...tl,children:jsxRuntimeExports.jsx(AutocompletePaper,{as:ys,...Ls,children:Vs})});let gs=null;return El.length>0?gs=Xl(jsxRuntimeExports.jsx(AutocompleteListbox,{as:Ya,...Ka,children:El.map((Vs,Ys)=>ko?bc({key:Vs.key,group:Vs.group,children:Vs.options.map((dl,zl)=>Pc(dl,Vs.index+zl))}):Pc(Vs,Ys))})):ta&&El.length===0?gs=Xl(jsxRuntimeExports.jsx(AutocompleteLoading,{className:sl.loading,ownerState:cl,children:ra})):El.length===0&&!zo&&!ta&&(gs=Xl(jsxRuntimeExports.jsx(AutocompleteNoOptions,{className:sl.noOptions,ownerState:cl,role:"presentation",onMouseDown:Vs=>{Vs.preventDefault()},children:pa}))),jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[jsxRuntimeExports.jsx(AutocompleteRoot,{ref:to,className:clsx(sl.root,lo),ownerState:cl,...Fa(ga),children:va({id:Ts,disabled:yo,fullWidth:!0,size:ia==="small"?"small":void 0,InputLabelProps:Ga(),InputProps:{ref:al,className:sl.inputRoot,startAdornment:Qs,onClick:Vs=>{Vs.target===Vs.currentTarget&&yc(Vs)},...(Sl||xl)&&{endAdornment:jsxRuntimeExports.jsxs(AutocompleteEndAdornment,{className:sl.endAdornment,ownerState:cl,children:[Sl?jsxRuntimeExports.jsx(AutocompleteClearIndicator,{...qa(),"aria-label":ho,title:ho,ownerState:cl,...Yl,className:clsx(sl.clearIndicator,Yl==null?void 0:Yl.className),children:co}):null,xl?jsxRuntimeExports.jsx(AutocompletePopupIndicator,{...Va(),disabled:yo,"aria-label":hs?mo:Ea,title:hs?mo:Ea,ownerState:cl,...sc,className:clsx(sl.popupIndicator,sc==null?void 0:sc.className),children:Sa}):null]})}},inputProps:{className:sl.input,disabled:yo,readOnly:Ia,...ja()}})}),$s?gs:null]})}),Person=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");
200function getAvatarUtilityClass(Yi){return generateUtilityClass("MuiAvatar",Yi)}generateUtilityClasses("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const useUtilityClasses$15=Yi=>{const{classes:eo,variant:to,colorDefault:ro}=Yi;return composeClasses({root:["root",to,ro&&"colorDefault"],img:["img"],fallback:["fallback"]},getAvatarUtilityClass,eo)},AvatarRoot=styled("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,eo[to.variant],to.colorDefault&&eo.colorDefault]}})(memoTheme(({theme:Yi})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:Yi.typography.fontFamily,fontSize:Yi.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(Yi.vars||Yi).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(Yi.vars||Yi).palette.background.default,...Yi.vars?{backgroundColor:Yi.vars.palette.Avatar.defaultBg}:{backgroundColor:Yi.palette.grey[400],...Yi.applyStyles("dark",{backgroundColor:Yi.palette.grey[600]})}}}]}))),AvatarImg=styled("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(Yi,eo)=>eo.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),AvatarFallback=styled(Person,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(Yi,eo)=>eo.fallback})({width:"75%",height:"75%"});function useLoaded({crossOrigin:Yi,referrerPolicy:eo,src:to,srcSet:ro}){const[no,io]=reactExports.useState(!1);return reactExports.useEffect(()=>{if(!to&&!ro)return;io(!1);let oo=!0;const ao=new Image;return ao.onload=()=>{oo&&io("loaded")},ao.onerror=()=>{oo&&io("error")},ao.crossOrigin=Yi,ao.referrerPolicy=eo,ao.src=to,ro&&(ao.srcset=ro),()=>{oo=!1}},[Yi,eo,to,ro]),no}const Avatar=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiAvatar"}),{alt:no,children:io,className:oo,component:ao="div",slots:so={},slotProps:lo={},imgProps:co,sizes:uo,src:fo,srcSet:ho,variant:mo="circular",...vo}=ro;let Co=null;const bo=useLoaded({...co,src:fo,srcSet:ho}),wo=fo||ho,yo=wo&&bo!=="error",Eo={...ro,colorDefault:!yo,component:ao,variant:mo};delete Eo.ownerState;const xo=useUtilityClasses$15(Eo),[So,To]=useSlot("img",{className:xo.img,elementType:AvatarImg,externalForwardedProps:{slots:so,slotProps:{img:{...co,...lo.img}}},additionalProps:{alt:no,src:fo,srcSet:ho,sizes:uo},ownerState:Eo});return yo?Co=jsxRuntimeExports.jsx(So,{...To}):io||io===0?Co=io:wo&&no?Co=no[0]:Co=jsxRuntimeExports.jsx(AvatarFallback,{ownerState:Eo,className:xo.fallback}),jsxRuntimeExports.jsx(AvatarRoot,{as:ao,className:clsx(xo.root,oo),ref:to,...vo,ownerState:Eo,children:Co})}),styles$3={entering:{opacity:1},entered:{opacity:1}},Fade=reactExports.forwardRef(function(eo,to){const ro=useTheme$2(),no={enter:ro.transitions.duration.enteringScreen,exit:ro.transitions.duration.leavingScreen},{addEndListener:io,appear:oo=!0,children:ao,easing:so,in:lo,onEnter:co,onEntered:uo,onEntering:fo,onExit:ho,onExited:mo,onExiting:vo,style:Co,timeout:bo=no,TransitionComponent:wo=Transition,...yo}=eo,Eo=reactExports.useRef(null),xo=useForkRef(Eo,getReactNodeRef(ao),to),So=Uo=>Do=>{if(Uo){const Oo=Eo.current;Do===void 0?Uo(Oo):Uo(Oo,Do)}},To=So(fo),Ro=So((Uo,Do)=>{reflow(Uo);const Oo=getTransitionProps({style:Co,timeout:bo,easing:so},{mode:"enter"});Uo.style.webkitTransition=ro.transitions.create("opacity",Oo),Uo.style.transition=ro.transitions.create("opacity",Oo),co&&co(Uo,Do)}),Po=So(uo),zo=So(vo),Ho=So(Uo=>{const Do=getTransitionProps({style:Co,timeout:bo,easing:so},{mode:"exit"});Uo.style.webkitTransition=ro.transitions.create("opacity",Do),Uo.style.transition=ro.transitions.create("opacity",Do),ho&&ho(Uo)}),Vo=So(mo),Lo=Uo=>{io&&io(Eo.current,Uo)};return jsxRuntimeExports.jsx(wo,{appear:oo,in:lo,nodeRef:Eo,onEnter:Ro,onEntered:Po,onEntering:To,onExit:Ho,onExited:Vo,onExiting:zo,addEndListener:Lo,timeout:bo,...yo,children:(Uo,Do)=>reactExports.cloneElement(ao,{style:{opacity:0,visibility:Uo==="exited"&&!lo?"hidden":void 0,...styles$3[Uo],...Co,...ao.props.style},ref:xo,...Do})})});
200function getBackdropUtilityClass(Yi){return generateUtilityClass("MuiBackdrop",Yi)}generateUtilityClasses("MuiBackdrop",["root","invisible"]);const useUtilityClasses$14=Yi=>{const{classes:eo,invisible:to}=Yi;return composeClasses({root:["root",to&&"invisible"]},getBackdropUtilityClass,eo)},BackdropRoot=styled("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.invisible&&eo.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),Backdrop=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiBackdrop"}),{children:no,className:io,component:oo="div",invisible:ao=!1,open:so,components:lo={},componentsProps:co={},slotProps:uo={},slots:fo={},TransitionComponent:ho,transitionDuration:mo,...vo}=ro,Co={...ro,component:oo,invisible:ao},bo=useUtilityClasses$14(Co),wo={transition:ho,root:lo.Root,...fo},yo={...co,...uo},Eo={slots:wo,slotProps:yo},[xo,So]=useSlot("root",{elementType:BackdropRoot,externalForwardedProps:Eo,className:clsx(bo.root,io),ownerState:Co}),[To,Ro]=useSlot("transition",{elementType:Fade,externalForwardedProps:Eo,ownerState:Co});return delete Ro.ownerState,jsxRuntimeExports.jsx(To,{in:so,timeout:mo,...vo,...Ro,children:jsxRuntimeExports.jsx(xo,{"aria-hidden":!0,...So,classes:bo,ref:to,children:no})})});function useBadge(Yi){const{badgeContent:eo,invisible:to=!1,max:ro=99,showZero:no=!1}=Yi,io=usePreviousProps({badgeContent:eo,max:ro});let oo=to;to===!1&&eo===0&&!no&&(oo=!0);const{badgeContent:ao,max:so=ro}=oo?io:Yi,lo=ao&&Number(ao)>so?`${so}+`:ao;return{badgeContent:ao,invisible:oo,max:so,displayValue:lo}}function getBadgeUtilityClass(Yi){return generateUtilityClass("MuiBadge",Yi)}const badgeClasses=generateUtilityClasses("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),RADIUS_STANDARD=10,RADIUS_DOT=4,useUtilityClasses$13=Yi=>{const{color:eo,anchorOrigin:to,invisible:ro,overlap:no,variant:io,classes:oo={}}=Yi,ao={root:["root"],badge:["badge",io,ro&&"invisible",`anchorOrigin${capitalize$3(to.vertical)}${capitalize$3(to.horizontal)}`,`anchorOrigin${capitalize$3(to.vertical)}${capitalize$3(to.horizontal)}${capitalize$3(no)}`,`overlap${capitalize$3(no)}`,eo!=="default"&&`color${capitalize$3(eo)}`]};return composeClasses(ao,getBadgeUtilityClass,oo)},BadgeRoot=styled("span",{name:"MuiBadge",slot:"Root",overridesResolver:(Yi,eo)=>eo.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),BadgeBadge=styled("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.badge,eo[to.variant],eo[`anchorOrigin${capitalize$3(to.anchorOrigin.vertical)}${capitalize$3(to.anchorOrigin.horizontal)}${capitalize$3(to.overlap)}`],to.color!=="default"&&eo[`color${capitalize$3(to.color)}`],to.invisible&&eo.invisible]}})(memoTheme(({theme:Yi})=>({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:Yi.typography.fontFamily,fontWeight:Yi.typography.fontWeightMedium,fontSize:Yi.typography.pxToRem(12),minWidth:RADIUS_STANDARD*2,lineHeight:1,padding:"0 6px",height:RADIUS_STANDARD*2,borderRadius:RADIUS_STANDARD,zIndex:1,transition:Yi.transitions.create("transform",{easing:Yi.transitions.easing.easeInOut,duration:Yi.transitions.duration.enteringScreen}),variants:[...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main&&eo.contrastText).map(([eo])=>({props:{color:eo},style:{backgroundColor:(Yi.vars||Yi).palette[eo].main,color:(Yi.vars||Yi).palette[eo].contrastText}})),{props:{variant:"dot"},style:{borderRadius:RADIUS_DOT,height:RADIUS_DOT*2,minWidth:RADIUS_DOT*2,padding:0}},{props:({ownerState:eo})=>
200eo.anchorOrigin.vertical==="top"&&eo.anchorOrigin.horizontal==="right"&&eo.overlap==="rectangular",style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${badgeClasses.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:eo})=>eo.anchorOrigin.vertical==="bottom"&&eo.anchorOrigin.horizontal==="right"&&eo.overlap==="rectangular",style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${badgeClasses.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:eo})=>eo.anchorOrigin.vertical==="top"&&eo.anchorOrigin.horizontal==="left"&&eo.overlap==="rectangular",style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${badgeClasses.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:eo})=>eo.anchorOrigin.vertical==="bottom"&&eo.anchorOrigin.horizontal==="left"&&eo.overlap==="rectangular",style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${badgeClasses.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:eo})=>eo.anchorOrigin.vertical==="top"&&eo.anchorOrigin.horizontal==="right"&&eo.overlap==="circular",style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${badgeClasses.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:eo})=>eo.anchorOrigin.vertical==="bottom"&&eo.anchorOrigin.horizontal==="right"&&eo.overlap==="circular",style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${badgeClasses.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:eo})=>eo.anchorOrigin.vertical==="top"&&eo.anchorOrigin.horizontal==="left"&&eo.overlap==="circular",style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${badgeClasses.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:eo})=>eo.anchorOrigin.vertical==="bottom"&&eo.anchorOrigin.horizontal==="left"&&eo.overlap==="circular",style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${badgeClasses.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:Yi.transitions.create("transform",{easing:Yi.transitions.easing.easeInOut,duration:Yi.transitions.duration.leavingScreen})}}]}))),Badge=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiBadge"}),{anchorOrigin:no={vertical:"top",horizontal:"right"},className:io,classes:oo,component:ao,components:so={},componentsProps:lo={},children:co,overlap:uo="rectangular",color:fo="default",invisible:ho=!1,max:mo=99,badgeContent:vo,slots:Co,slotProps:bo,showZero:wo=!1,variant:yo="standard",...Eo}=ro,{badgeContent:xo,invisible:So,max:To,displayValue:Ro}=useBadge({max:mo,invisible:ho,badgeContent:vo,showZero:wo}),Po=usePreviousProps({anchorOrigin:no,color:fo,overlap:uo,variant:yo,badgeContent:vo}),zo=So||xo==null&&yo!=="dot",{color:Ho=fo,overlap:Vo=uo,anchorOrigin:Lo=no,variant:Uo=yo}=zo?Po:ro,Do=Uo!=="dot"?Ro:void 0,Oo={...ro,badgeContent:xo,invisible:zo,max:To,displayValue:Do,showZero:wo,anchorOrigin:Lo,color:Ho,overlap:Vo,variant:Uo},ko=useUtilityClasses$13(Oo),Bo=(Co==null?void 0:Co.root)??so.Root??BadgeRoot,Fo=(Co==null?void 0:Co.badge)??so.Badge??BadgeBadge,Qo=(bo==null?void 0:bo.root)??lo.root,jo=(bo==null?void 0:bo.badge)??lo.badge,Xo=useSlotProps({elementType:Bo,externalSlotProps:Qo,externalForwardedProps:Eo,additionalProps:{ref:to,as:ao},ownerState:Oo,className:clsx(Qo==null?void 0:Qo.className,ko.root,io)}),Zo=useSlotProps({elementType:Fo,externalSlotProps:jo,ownerState:Oo,className:clsx(ko.badge,jo==null?void 0:jo.className)});return jsxRuntimeExports.jsxs(Bo,{...Xo,children:[co,jsxRuntimeExports.jsx(Fo,{...Zo,children:Do})]})});function getBottomNavigationUtilityClass(Yi){return generateUtilityClass("MuiBottomN
200avigation",Yi)}generateUtilityClasses("MuiBottomNavigation",["root"]);const useUtilityClasses$12=Yi=>{const{classes:eo}=Yi;return composeClasses({root:["root"]},getBottomNavigationUtilityClass,eo)},BottomNavigationRoot=styled("div",{name:"MuiBottomNavigation",slot:"Root",overridesResolver:(Yi,eo)=>eo.root})(memoTheme(({theme:Yi})=>({display:"flex",justifyContent:"center",height:56,backgroundColor:(Yi.vars||Yi).palette.background.paper}))),BottomNavigation=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiBottomNavigation"}),{children:no,className:io,component:oo="div",onChange:ao,showLabels:so=!1,value:lo,...co}=ro,uo={...ro,component:oo,showLabels:so},fo=useUtilityClasses$12(uo);return jsxRuntimeExports.jsx(BottomNavigationRoot,{as:oo,className:clsx(fo.root,io),ref:to,ownerState:uo,...co,children:reactExports.Children.map(no,(ho,mo)=>{if(!reactExports.isValidElement(ho))return null;const vo=ho.props.value===void 0?mo:ho.props.value;return reactExports.cloneElement(ho,{selected:vo===lo,showLabel:ho.props.showLabel!==void 0?ho.props.showLabel:so,value:vo,onChange:ao})})})});function getBottomNavigationActionUtilityClass(Yi){return generateUtilityClass("MuiBottomN
200avigationAction",Yi)}const bottomNavigationActionClasses=generateUtilityClasses("MuiBottomNavigationAction",["root","iconOnly","selected","label"]),useUtilityClasses$11=Yi=>{const{classes:eo,showLabel:to,selected:ro}=Yi;return composeClasses({root:["root",!to&&!ro&&"iconOnly",ro&&"selected"],label:["label",!to&&!ro&&"iconOnly",ro&&"selected"]},getBottomNavigationActionUtilityClass,eo)},BottomNavigationActionRoot=styled(ButtonBase,{name:"MuiBottomNavigationAction",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,!to.showLabel&&!to.selected&&eo.iconOnly]}})(memoTheme(({theme:Yi})=>({transition:Yi.transitions.create(["color","padding-top"],{duration:Yi.transitions.duration.short}),padding:"0px 12px",minWidth:80,maxWidth:168,color:(Yi.vars||Yi).palette.text.secondary,flexDirection:"column",flex:"1",[`&.${bottomNavigationActionClasses.selected}`]:{color:(Yi.vars||Yi).palette.primary.main},variants:[{props:({showLabel:eo,selected:to})=>!eo&&!to,style:{paddingTop:14}},{props:({showLabel:eo,selected:to,label:ro})=>!eo&&!to&&!ro,style:{paddingTop:0}}]}))),BottomNavigationActionLabel=styled("span",{name:"MuiBottomNavigationAction",slot:"Label",overridesResolver:(Yi,eo)=>eo.label})(memoTheme(({theme:Yi})=>({fontFamily:Yi.typography.fontFamily,fontSize:Yi.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s",[`&.${bottomNavigationActionClasses.selected}`]:{fontSize:Yi.typography.pxToRem(14)},variants:[{props:({showLabel:eo,selected:to})=>!eo&&!to,style:{opacity:0,transitionDelay:"0s"}}]}))),BottomNavigationAction=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiBottomNavigationAction"}),{className:no,icon:io,label:oo,onChange:ao,onClick:so,selected:lo,showLabel:co,value:uo,...fo}=ro,ho=ro,mo=useUtilityClasses$11(ho),vo=Co=>{ao&&ao(Co,uo),so&&so(Co)};return jsxRuntimeExports.jsxs(BottomNavigationActionRoot,{ref:to,className:clsx(mo.root,no),focusRipple:!0,onClick:vo,ownerState:ho,...fo,children:[io,jsxRuntimeExports.jsx(BottomNavigationActionLabel,{className:mo.label,ownerState:ho,children:oo})]})}),boxClasses=generateUtilityClasses("MuiBox",["root"]),defaultTheme=createTheme(),Box=createBox({themeId:THEME_ID,defaultTheme,defaultClassName:boxClasses.root,generateClassName:ClassNameGenerator.generate});function getButtonUtilityClass(Yi){return generateUtilityClass("MuiButton",Yi)}const buttonClasses=generateUtilityClasses("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),ButtonGroupContext=reactExports.createContext({}),ButtonGroupButtonContext=reactExports.createContext(void 0),useUtilityClasses$10=Yi=>{const{color:eo,disableElevation:to,fullWidth:ro,size:no,variant:io,classes:oo}=Yi,ao={root:["root",io,`${io}${capitalize$3(eo)}`,`size${capitalize$3(no)}`,`${io}Size${capitalize$3(no)}`,`color${capitalize$3(eo)}`,to&&"disableElevation",ro&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${capitalize$3(no)}`],endIcon:["icon","endIcon",`iconSize${capitalize$3(no)}`]},so=composeClasses(ao,getButtonUtilityClass,oo);return{...oo,...so}},commonIconStyles=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],ButtonRoot=styled(ButtonBase,{shouldForwardProp:Yi=>rootShouldForwardProp(Yi)||Yi==="classes",name:"MuiButton",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,eo[to.variant],eo[`${to.variant}${capitalize$3(to.color)}`],eo[`size${capitalize$3(to.size)}`],eo[`${to.variant}Size${capitalize$3(to.size)}`],to.color==="inherit"&&eo.colorInherit,to.disableElevation&&eo.disableElevation,to.fullWidth&&eo.fullWidth]}})(memoTheme(({theme:Yi})=>{var ro,no;const eo=Yi.palette.mode==="light"?Yi.palette.grey[300]:Yi.palette.grey[800],to=Yi.palette.mode==="light"?Yi.palette.grey.A100:Yi.palette.grey[700];return{...Yi.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(Yi.vars||Yi).shape.borderRadius,transition:Yi.transitions.create(["background-color","box-shadow","border-color","color"],{duration:Yi.transitions.duration.short}),"&:hover":{textDecoration:"none"}
vendor: 4,886 bytes, line 200
200,[`&.${buttonClasses.disabled}`]:{color:(Yi.vars||Yi).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(Yi.vars||Yi).shadows[2],"&:hover":{boxShadow:(Yi.vars||Yi).shadows[4],"@media (hover: none)":{boxShadow:(Yi.vars||Yi).shadows[2]}},"&:active":{boxShadow:(Yi.vars||Yi).shadows[8]},[`&.${buttonClasses.focusVisible}`]:{boxShadow:(Yi.vars||Yi).shadows[6]},[`&.${buttonClasses.disabled}`]:{color:(Yi.vars||Yi).palette.action.disabled,boxShadow:(Yi.vars||Yi).shadows[0],backgroundColor:(Yi.vars||Yi).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${buttonClasses.disabled}`]:{border:`1px solid ${(Yi.vars||Yi).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(Yi.palette).filter(([,io])=>io&&io.main&&io.dark&&io.contrastText).map(([io])=>({props:{color:io},style:{"--variant-textColor":(Yi.vars||Yi).palette[io].main,"--variant-outlinedColor":(Yi.vars||Yi).palette[io].main,"--variant-outlinedBorder":Yi.vars?`rgba(${Yi.vars.palette[io].mainChannel} / 0.5)`:alpha$1(Yi.palette[io].main,.5),"--variant-containedColor":(Yi.vars||Yi).palette[io].contrastText,"--variant-containedBg":(Yi.vars||Yi).palette[io].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(Yi.vars||Yi).palette[io].dark,"--variant-textBg":Yi.vars?`rgba(${Yi.vars.palette[io].mainChannel} / ${Yi.vars.palette.action.hoverOpacity})`:alpha$1(Yi.palette[io].main,Yi.palette.action.hoverOpacity),"--variant-outlinedBorder":(Yi.vars||Yi).palette[io].main,"--variant-outlinedBg":Yi.vars?`rgba(${Yi.vars.palette[io].mainChannel} / ${Yi.vars.palette.action.hoverOpacity})`:alpha$1(Yi.palette[io].main,Yi.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{"--variant-containedColor":Yi.vars?Yi.vars.palette.text.primary:(no=(ro=Yi.palette).getContrastText)==null?void 0:no.call(ro,eo),"--variant-containedBg":Yi.vars?Yi.vars.palette.Button.inheritContainedBg:eo,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":Yi.vars?Yi.vars.palette.Button.inheritContainedHoverBg:to,"--variant-textBg":Yi.vars?`rgba(${Yi.vars.palette.text.primaryChannel} / ${Yi.vars.palette.action.hoverOpacity})`:alpha$1(Yi.palette.text.primary,Yi.palette.action.hoverOpacity),"--variant-outlinedBg":Yi.vars?`rgba(${Yi.vars.palette.text.primaryChannel} / ${Yi.vars.palette.action.hoverOpacity})`:alpha$1(Yi.palette.text.primary,Yi.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:Yi.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:Yi.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:Yi.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:Yi.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:Yi.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:Yi.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${buttonClasses.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${buttonClasses.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),ButtonStartIcon=styled("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.startIcon,eo[`iconSize${capitalize$3(to.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...commonIconStyles]}),ButtonEndIcon=styled("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.endIcon,eo[`iconSize${capitalize$3(to.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...commonIconStyles]}),Button=reactExports.forwardRef(function(eo,to){const ro=reactExports.useContext(ButtonGroupContext),no=reactExports.useContext(ButtonGroupButtonContext),io=resolveProps(ro,eo),oo=useDefaultProps({props:io,name:"MuiButton"}),{children:ao,color:so="primary",component:lo="button",className:co,disabled:uo=!1,disableElevation:fo=!1,disableFocusRipple:ho=!1,endIcon:mo,focusVisibleClassName:vo,fullWidth:Co=!1,size:bo="medium",startIcon:wo,type:yo,variant:Eo="text",...xo}=oo,So={...oo,color:so,component:lo,disabled:uo,disableElevation:fo,disableFocusRipple:ho,fullWidth:Co,size:bo,type:yo,variant:Eo}
200,To=useUtilityClasses$10(So),Ro=wo&&jsxRuntimeExports.jsx(ButtonStartIcon,{className:To.startIcon,ownerState:So,children:wo}),Po=mo&&jsxRuntimeExports.jsx(ButtonEndIcon,{className:To.endIcon,ownerState:So,children:mo}),zo=no||"";return jsxRuntimeExports.jsxs(ButtonRoot,{ownerState:So,className:clsx(ro.className,To.root,co,zo),component:lo,disabled:uo,focusRipple:!ho,focusVisibleClassName:clsx(To.focusVisible,vo),ref:to,type:yo,...xo,classes:To,children:[Ro,ao,Po]})});function getCardUtilityClass(Yi){return generateUtilityClass("MuiCard",Yi)}generateUtilityClasses("MuiCard",["root"]);const useUtilityClasses$$=Yi=>{const{classes:eo}=Yi;return composeClasses({root:["root"]},getCardUtilityClass,eo)},CardRoot=styled(Paper,{name:"MuiCard",slot:"Root",overridesResolver:(Yi,eo)=>eo.root})({overflow:"hidden"}),Card=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiCard"}),{className:no,raised:io=!1,...oo}=ro,ao={...ro,raised:io},so=useUtilityClasses$$(ao);return jsxRuntimeExports.jsx(CardRoot,{className:clsx(so.root,no),elevation:io?8:void 0,ref:to,ownerState:ao,...oo})});function getCardActionAreaUtilityClass(Yi){return generateUtilityClass("MuiCardActionArea",Yi)}const cardActionAreaClasses=generateUtilityClasses("MuiCardActionArea",["root","focusVisible","focusHighlight"]),useUtilityClasses$_=Yi=>{const{classes:eo}=Yi;return composeClasses({root:["root"],focusHighlight:["focusHighlight"]},getCardActionAreaUtilityClass,eo)},CardActionAreaRoot=styled(ButtonBase,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(Yi,eo)=>eo.root})(memoTheme(({theme:Yi})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${cardActionAreaClasses.focusHighlight}`]:{opacity:(Yi.vars||Yi).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${cardActionAreaClasses.focusVisible} .${cardActionAreaClasses.focusHighlight}`]:{opacity:(Yi.vars||Yi).palette.action.focusOpacity}}))),CardActionAreaFocusHighlight=styled("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(Yi,eo)=>eo.focusHighlight})(memoTheme(({theme:Yi})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:Yi.transitions.create("opacity",{duration:Yi.transitions.duration.short})}))),CardActionArea=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiCardActionArea"}),{children:no,className:io,focusVisibleClassName:oo,...ao}=ro,so=ro,lo=useUtilityClasses$_(so);return jsxRuntimeExports.jsxs(CardActionAreaRoot,{className:clsx(lo.root,io),focusVisibleClassName:clsx(oo,lo.focusVisible),ref:to,ownerState:so,...ao,children:[no,jsxRuntimeExports.jsx(CardActionAreaFocusHighlight,{className:lo.focusHighlight,ownerState:so})]})});function getCardContentUtilityClass(Yi){return generateUtilityClass("MuiCardContent",Yi)}generateUtilityClasses("MuiCardContent",["root"]);const useUtilityClasses$Z=Yi=>{const{classes:eo}=Yi;return composeClasses({root:["root"]},getCardContentUtilityClass,eo)},CardContentRoot=styled("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(Yi,eo)=>eo.root})({padding:16,"&:last-child":{paddingBottom:24}}),CardContent=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiCardContent"}),{className:no,component:io="div",...oo}=ro,ao={...ro,component:io},so=useUtilityClasses$Z(ao);return jsxRuntimeExports.jsx(CardContentRoot,{as:io,className:clsx(so.root,no),ownerState:ao,ref:to,...oo})});function getCardMediaUtilityClass(Yi){return generateUtilityClass("MuiCardMedia",Yi)}generateUtilityClasses("MuiCardMedia",["root","media","img"]);const useUtilityClasses$Y=Yi=>{const{classes:eo,isMediaComponent:to,isImageComponent:ro}=Yi;return composeClasses({root:["root",to&&"media",ro&&"img"]},getCardMediaUtilityClass,eo)},CardMediaRoot=styled("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi,{isMediaComponent:ro,isImageComponent:no}=to;return[eo.root,ro&&eo.media,no&&eo.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),MEDIA_COMPONENTS=["video","audio","picture","iframe","img"],IMAGE_COMPONENTS=["picture","img"],CardMedia=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiCardMedia"}),{children:no,className:io,component:oo="div",image:ao,src:so,style:lo,...co}=ro,uo=MEDIA_COMPONENTS.includes(oo),fo=!uo&&ao?{backgroundImage:`url("${ao}")`,...lo}:lo,ho={...ro,component:oo,isMediaComponent:uo,isImageComponent:IMAGE_COMPONENTS.includes(oo)}
200,mo=useUtilityClasses$Y(ho);return jsxRuntimeExports.jsx(CardMediaRoot,{className:clsx(mo.root,io),as:oo,role:!uo&&ao?"img":void 0,ref:to,style:fo,ownerState:ho,src:uo?ao||so:void 0,...co,children:no})});function getSwitchBaseUtilityClass(Yi){return generateUtilityClass("PrivateSwitchBase",Yi)}generateUtilityClasses("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const useUtilityClasses$X=Yi=>{const{classes:eo,checked:to,disabled:ro,edge:no}=Yi,io={root:["root",to&&"checked",ro&&"disabled",no&&`edge${capitalize$3(no)}`],input:["input"]};return composeClasses(io,getSwitchBaseUtilityClass,eo)},SwitchBaseRoot=styled(ButtonBase)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:Yi,ownerState:eo})=>Yi==="start"&&eo.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:Yi,ownerState:eo})=>Yi==="end"&&eo.size!=="small",style:{marginRight:-12}}]}),SwitchBaseInput=styled("input",{shouldForwardProp:rootShouldForwardProp})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),SwitchBase=reactExports.forwardRef(function(eo,to){const{autoFocus:ro,checked:no,checkedIcon:io,className:oo,defaultChecked:ao,disabled:so,disableFocusRipple:lo=!1,edge:co=!1,icon:uo,id:fo,inputProps:ho,inputRef:mo,name:vo,onBlur:Co,onChange:bo,onFocus:wo,readOnly:yo,required:Eo=!1,tabIndex:xo,type:So,value:To,...Ro}=eo,[Po,zo]=useControlled({controlled:no,default:!!ao,name:"SwitchBase",state:"checked"}),Ho=useFormControl(),Vo=Fo=>{wo&&wo(Fo),Ho&&Ho.onFocus&&Ho.onFocus(Fo)},Lo=Fo=>{Co&&Co(Fo),Ho&&Ho.onBlur&&Ho.onBlur(Fo)},Uo=Fo=>{if(Fo.nativeEvent.defaultPrevented)return;const Qo=Fo.target.checked;zo(Qo),bo&&bo(Fo,Qo)};let Do=so;Ho&&typeof Do>"u"&&(Do=Ho.disabled);const Oo=So==="checkbox"||So==="radio",ko={...eo,checked:Po,disabled:Do,disableFocusRipple:lo,edge:co},Bo=useUtilityClasses$X(ko);return jsxRuntimeExports.jsxs(SwitchBaseRoot,{component:"span",className:clsx(Bo.root,oo),centerRipple:!0,focusRipple:!lo,disabled:Do,tabIndex:null,role:void 0,onFocus:Vo,onBlur:Lo,ownerState:ko,ref:to,...Ro,children:[jsxRuntimeExports.jsx(SwitchBaseInput,{autoFocus:ro,checked:no,defaultChecked:ao,className:Bo.input,disabled:Do,id:Oo?fo:void 0,name:vo,onChange:Uo,readOnly:yo,ref:mo,required:Eo,ownerState:ko,tabIndex:xo,type:So,...So==="checkbox"&&To===void 0?{}:{value:To},...ho}),Po?io:uo]})}),CheckBoxOutlineBlankIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),CheckBoxIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),IndeterminateCheckBoxIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function getCheckboxUtilityClass(Yi){return generateUtilityClass("MuiCheckbox",Yi)}const checkboxClasses=generateUtilityClasses("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),useUtilityClasses$W=Yi=>{const{classes:eo,indeterminate:to,color:ro,size:no}=Yi,io={root:["root",to&&"indeterminate",`color${capitalize$3(ro)}`,`size${capitalize$3(no)}`]},oo=composeClasses(io,getCheckboxUtilityClass,eo);return{...eo,...oo}},CheckboxRoot=styled(SwitchBase,{shouldForwardProp:Yi=>rootShouldForwardProp(Yi)||Yi==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.indeterminate&&eo.indeterminate,eo[`size${capitalize$3(to.size)}`],to.color!=="default"&&eo[`color${capitalize$3(to.color)}`]]}})(memoTheme(({theme:Yi})=>({color:(Yi.vars||Yi).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette.action.activeChannel} / ${Yi.vars.palette.action.hoverOpacity})`:alpha$1(Yi.palette.action.active,Yi.palette.action.hoverOpacity)}}},...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main).map(([eo])=>({props:{color:eo,disableRipple:!1},style:{"&:hover":{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette[eo].mainChannel} / ${Yi.vars.palette.action.hoverOpacity})`:alpha$1(Yi.palette[eo].main,Yi.palette.action.hoverOpacity)}}})),...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main).map(([eo])=>({props:{color:eo},style:{[`&.${checkboxClasses.checked}, &.${checkboxClasses.indeterminate}`]:{color:(Yi.vars||Yi).palette[eo].main},[`&.${checkboxClasses.disabled}`]:{color:(Yi.vars||Yi).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),defaultCheckedIcon$1=jsxRuntimeExports.jsx(CheckBoxIcon,{}),defaultIcon$1=jsxRuntimeExports.jsx(CheckBoxOutlineBlankIcon,{}),defaultIndeterminateIcon=jsxRuntimeExports.jsx(IndeterminateCheckBoxIcon,{}),Checkbox=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiCheckbox"}
vendor: 4,300 bytes, lines 200-227
200),{checkedIcon:no=defaultCheckedIcon$1,color:io="primary",icon:oo=defaultIcon$1,indeterminate:ao=!1,indeterminateIcon:so=defaultIndeterminateIcon,inputProps:lo,size:co="medium",disableRipple:uo=!1,className:fo,...ho}=ro,mo=ao?so:oo,vo=ao?so:no,Co={...ro,disableRipple:uo,color:io,indeterminate:ao,size:co},bo=useUtilityClasses$W(Co);return jsxRuntimeExports.jsx(CheckboxRoot,{type:"checkbox",inputProps:{"data-indeterminate":ao,...lo},icon:reactExports.cloneElement(mo,{fontSize:mo.props.fontSize??co}),checkedIcon:reactExports.cloneElement(vo,{fontSize:vo.props.fontSize??co}),ownerState:Co,ref:to,className:clsx(bo.root,fo),...ho,classes:bo})});function getCircularProgressUtilityClass(Yi){return generateUtilityClass("MuiCircularProgress",Yi)}generateUtilityClasses("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const SIZE$1=44,circularRotateKeyframe=keyframes`
201  0% {
202    transform: rotate(0deg);
203  }
204
205  100% {
206    transform: rotate(360deg);
207  }
208`,circularDashKeyframe=keyframes`
209  0% {
210    stroke-dasharray: 1px, 200px;
211    stroke-dashoffset: 0;
212  }
213
214  50% {
215    stroke-dasharray: 100px, 200px;
216    stroke-dashoffset: -15px;
217  }
218
219  100% {
220    stroke-dasharray: 100px, 200px;
221    stroke-dashoffset: -125px;
222  }
223`,rotateAnimation=typeof circularRotateKeyframe!="string"?css$1`
224        animation: ${circularRotateKeyframe} 1.4s linear infinite;
225      `:null,dashAnimation=typeof circularDashKeyframe!="string"?css$1`
226        animation: ${circularDashKeyframe} 1.4s ease-in-out infinite;
227      `:null,useUtilityClasses$V=Yi=>{const{classes:eo,variant:to,color:ro,disableShrink:no}=Yi,io={root:["root",to,`color${capitalize$3(ro)}`],svg:["svg"],circle:["circle",`circle${capitalize$3(to)}`,no&&"circleDisableShrink"]};return composeClasses(io,getCircularProgressUtilityClass,eo)},CircularProgressRoot=styled("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,eo[to.variant],eo[`color${capitalize$3(to.color)}`]]}})(memoTheme(({theme:Yi})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:Yi.transitions.create("transform")}},{props:{variant:"indeterminate"},style:rotateAnimation||{animation:`${circularRotateKeyframe} 1.4s linear infinite`}},...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main).map(([eo])=>({props:{color:eo},style:{color:(Yi.vars||Yi).palette[eo].main}}))]}))),CircularProgressSVG=styled("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(Yi,eo)=>eo.svg})({display:"block"}),CircularProgressCircle=styled("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.circle,eo[`circle${capitalize$3(to.variant)}`],to.disableShrink&&eo.circleDisableShrink]}})(memoTheme(({theme:Yi})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:Yi.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:eo})=>eo.variant==="indeterminate"&&!eo.disableShrink,style:dashAnimation||{animation:`${circularDashKeyframe} 1.4s ease-in-out infinite`}}]}))),CircularProgress=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiCircularProgress"}),{className:no,color:io="primary",disableShrink:oo=!1,size:ao=40,style:so,thickness:lo=3.6,value:co=0,variant:uo="indeterminate",...fo}=ro,ho={...ro,color:io,disableShrink:oo,size:ao,thickness:lo,value:co,variant:uo},mo=useUtilityClasses$V(ho),vo={},Co={},bo={};if(uo==="determinate"){const wo=2*Math.PI*((SIZE$1-lo)/2);vo.strokeDasharray=wo.toFixed(3),bo["aria-valuenow"]=Math.round(co),vo.strokeDashoffset=`${((100-co)/100*wo).toFixed(3)}px`,Co.transform="rotate(-90deg)"}return jsxRuntimeExports.jsx(CircularProgressRoot,{className:clsx(mo.root,no),style:{width:ao,height:ao,...Co,...so},ownerState:ho,ref:to,role:"progressbar",...bo,...fo,children:jsxRuntimeExports.jsx(CircularProgressSVG,{className:mo.svg,ownerState:ho,viewBox:`${SIZE$1/2} ${SIZE$1/2} ${SIZE$1} ${SIZE$1}`,children:jsxRuntimeExports.jsx(CircularProgressCircle,{className:mo.circle,style:vo,ownerState:ho,cx:SIZE$1,cy:SIZE$1,r
227:(SIZE$1-lo)/2,fill:"none",strokeWidth:lo})})})});function mapEventPropToEvent(Yi){return Yi.substring(2).toLowerCase()}function clickedRootScrollbar(Yi,eo){return eo.documentElement.clientWidth<Yi.clientX||eo.documentElement.clientHeight<Yi.clientY}function ClickAwayListener(Yi){const{children:eo,disableReactTree:to=!1,mouseEvent:ro="onClick",onClickAway:no,touchEvent:io="onTouchEnd"}=Yi,oo=reactExports.useRef(!1),ao=reactExports.useRef(null),so=reactExports.useRef(!1),lo=reactExports.useRef(!1);reactExports.useEffect(()=>(setTimeout(()=>{so.current=!0},0),()=>{so.current=!1}),[]);const co=useForkRef(getReactNodeRef(eo),ao),uo=useEventCallback(mo=>{const vo=lo.current;lo.current=!1;const Co=ownerDocument(ao.current);if(!so.current||!ao.current||"clientX"in mo&&clickedRootScrollbar(mo,Co))return;if(oo.current){oo.current=!1;return}let bo;mo.composedPath?bo=mo.composedPath().indexOf(ao.current)>-1:bo=!Co.documentElement.contains(mo.target)||ao.current.contains(mo.target),!bo&&(to||!vo)&&no(mo)}),fo=mo=>vo=>{lo.current=!0;const Co=eo.props[mo];Co&&Co(vo)},ho={ref:co};return io!==!1&&(ho[io]=fo(io)),reactExports.useEffect(()=>{if(io!==!1){const mo=mapEventPropToEvent(io),vo=ownerDocument(ao.current),Co=()=>{oo.current=!0};return vo.addEventListener(mo,uo),vo.addEventListener("touchmove",Co),()=>{vo.removeEventListener(mo,uo),vo.removeEventListener("touchmove",Co)}}},[uo,io]),ro!==!1&&(ho[ro]=fo(ro)),reactExports.useEffect(()=>{if(ro!==!1){const mo=mapEventPropToEvent(ro),vo=ownerDocument(ao.current);return vo.addEventListener(mo,uo),()=>{vo.removeEventListener(mo,uo)}}},[uo,ro]),jsxRuntimeExports.jsx(reactExports.Fragment,{children:reactExports.cloneElement(eo,ho)})}const isDynamicSupport=typeof globalCss({})=="function",html=(Yi,eo)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...eo&&!Yi.vars&&{colorScheme:Yi.palette.mode}}),body=Yi=>({color:(Yi.vars||Yi).palette.text.primary,...Yi.typography.body1,backgroundColor:(Yi.vars||Yi).palette.background.default,"@media print":{backgroundColor:(Yi.vars||Yi).palette.common.white}}),styles$2=(Yi,eo=!1)=>{var io,oo;const to={};eo&&Yi.colorSchemes&&typeof Yi.getColorSchemeSelector=="function"&&Object.entries(Yi.colorSchemes).forEach(([ao,so])=>{var co,uo;const lo=Yi.getColorSchemeSelector(ao);lo.startsWith("@")?to[lo]={":root":{colorScheme:(co=so.palette)==null?void 0:co.mode}}:to[lo.replace(/\s*&/,"")]={colorScheme:(uo=so.palette)==null?void 0:uo.mode}});let ro={html:html(Yi,eo),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:Yi.typography.fontWeightBold},body:{margin:0,...body(Yi),"&::backdrop":{backgroundColor:(Yi.vars||Yi).palette.background.default}},...to};const no=(oo=(io=Yi.components)==null?void 0:io.MuiCssBaseline)==null?void 0:oo.styleOverrides;return no&&(ro=[ro,no]),ro},SELECTOR="mui-ecs",staticStyles=Yi=>{const eo=styles$2(Yi,!1),to=Array.isArray(eo)?eo[0]:eo;return!Yi.vars&&to&&(to.html[`:root:has(${SELECTOR})`]={colorScheme:Yi.palette.mode}),Yi.colorSchemes&&Object.entries(Yi.colorSchemes).forEach(([ro,no])=>{var oo,ao;const io=Yi.getColorSchemeSelector(ro);io.startsWith("@")?to[io]={[`:root:not(:has(.${SELECTOR}))`]:{colorScheme:(oo=no.palette)==null?void 0:oo.mode}}:to[io.replace(/\s*&/,"")]={[`&:not(:has(.${SELECTOR}))`]:{colorScheme:(ao=no.palette)==null?void 0:ao.mode}}}),eo},GlobalStyles=globalCss(isDynamicSupport?({theme:Yi,enableColorScheme:eo})=>styles$2(Yi,eo):({theme:Yi})=>staticStyles(Yi));function CssBaseline(Yi){const eo=useDefaultProps({props:Yi,name:"MuiCssBaseline"}),{children:to,enableColorScheme:ro=!1}=eo;return jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[isDynamicSupport&&jsxRuntimeExports.jsx(GlobalStyles,{enableColorScheme:ro}),!isDynamicSupport&&!ro&&jsxRuntimeExports.jsx("span",{className:SELECTOR,style:{display:"none"}}),to]})}function isOverflowing(Yi){const eo=ownerDocument(Yi);return eo.body===Yi?ownerWindow(Yi).innerWidth>eo.documentElement.clientWidth:Yi.scrollHeight>Yi.clientHeight}function ariaHidden(Yi,eo){eo?Yi.setAttribute("aria-hidden","true"):Yi.removeAttribute("aria-hidden")}function getPaddingRight(Yi){return parseInt(ownerWindow(Yi).getComputedStyle(Yi).paddingRight,10)||0}
vendor: 4,850 bytes, line 227
227function isAriaHiddenForbiddenOnElement(Yi){const to=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(Yi.tagName)!==-1,ro=Yi.tagName==="INPUT"&&Yi.getAttribute("type")==="hidden";return to||ro}function ariaHiddenSiblings(Yi,eo,to,ro,no){const io=[eo,to,...ro];[].forEach.call(Yi.children,oo=>{const ao=io.indexOf(oo)===-1,so=!isAriaHiddenForbiddenOnElement(oo);ao&&so&&ariaHidden(oo,no)})}function findIndexOf(Yi,eo){let to=-1;return Yi.some((ro,no)=>eo(ro)?(to=no,!0):!1),to}function handleContainer(Yi,eo){const to=[],ro=Yi.container;if(!eo.disableScrollLock){if(isOverflowing(ro)){const oo=getScrollbarSize(ownerDocument(ro));to.push({value:ro.style.paddingRight,property:"padding-right",el:ro}),ro.style.paddingRight=`${getPaddingRight(ro)+oo}px`;const ao=ownerDocument(ro).querySelectorAll(".mui-fixed");[].forEach.call(ao,so=>{to.push({value:so.style.paddingRight,property:"padding-right",el:so}),so.style.paddingRight=`${getPaddingRight(so)+oo}px`})}let io;if(ro.parentNode instanceof DocumentFragment)io=ownerDocument(ro).body;else{const oo=ro.parentElement,ao=ownerWindow(ro);io=(oo==null?void 0:oo.nodeName)==="HTML"&&ao.getComputedStyle(oo).overflowY==="scroll"?oo:ro}to.push({value:io.style.overflow,property:"overflow",el:io},{value:io.style.overflowX,property:"overflow-x",el:io},{value:io.style.overflowY,property:"overflow-y",el:io}),io.style.overflow="hidden"}return()=>{to.forEach(({value:io,el:oo,property:ao})=>{io?oo.style.setProperty(ao,io):oo.style.removeProperty(ao)})}}function getHiddenSiblings(Yi){const eo=[];return[].forEach.call(Yi.children,to=>{to.getAttribute("aria-hidden")==="true"&&eo.push(to)}),eo}class ModalManager{constructor(){this.modals=[],this.containers=[]}add(eo,to){let ro=this.modals.indexOf(eo);if(ro!==-1)return ro;ro=this.modals.length,this.modals.push(eo),eo.modalRef&&ariaHidden(eo.modalRef,!1);const no=getHiddenSiblings(to);ariaHiddenSiblings(to,eo.mount,eo.modalRef,no,!0);const io=findIndexOf(this.containers,oo=>oo.container===to);return io!==-1?(this.containers[io].modals.push(eo),ro):(this.containers.push({modals:[eo],container:to,restore:null,hiddenSiblings:no}),ro)}mount(eo,to){const ro=findIndexOf(this.containers,io=>io.modals.indexOf(eo)!==-1),no=this.containers[ro];no.restore||(no.restore=handleContainer(no,to))}remove(eo,to=!0){const ro=this.modals.indexOf(eo);if(ro===-1)return ro;const no=findIndexOf(this.containers,oo=>oo.modals.indexOf(eo)!==-1),io=this.containers[no];if(io.modals.splice(io.modals.indexOf(eo),1),this.modals.splice(ro,1),io.modals.length===0)io.restore&&io.restore(),eo.modalRef&&ariaHidden(eo.modalRef,to),ariaHiddenSiblings(io.container,eo.mount,eo.modalRef,io.hiddenSiblings,!1),this.containers.splice(no,1);else{const oo=io.modals[io.modals.length-1];oo.modalRef&&ariaHidden(oo.modalRef,!1)}return ro}isTopModal(eo){return this.modals.length>0&&this.modals[this.modals.length-1]===eo}}const candidatesSelector=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function getTabIndex(Yi){const eo=parseInt(Yi.getAttribute("tabindex")||"",10);return Number.isNaN(eo)?Yi.contentEditable==="true"||(Yi.nodeName==="AUDIO"||Yi.nodeName==="VIDEO"||Yi.nodeName==="DETAILS")&&Yi.getAttribute("tabindex")===null?0:Yi.tabIndex:eo}function isNonTabbableRadio(Yi){if(Yi.tagName!=="INPUT"||Yi.type!=="radio"||!Yi.name)return!1;const eo=ro=>Yi.ownerDocument.querySelector(`input[type="radio"]${ro}`);let to=eo(`[name="${Yi.name}"]:checked`);return to||(to=eo(`[name="${Yi.name}"]`)),to!==Yi}function isNodeMatchingSelectorFocusable(Yi){return!(Yi.disabled||Yi.tagName==="INPUT"&&Yi.type==="hidden"||isNonTabbableRadio(Yi))}function defaultGetTabbable(Yi){const eo=[],to=[];return Array.from(Yi.querySelectorAll(candidatesSelector)).forEach((ro,no)=>{const io=getTabIndex(ro);io===-1||!isNodeMatchingSelectorFocusable(ro)||(io===0?eo.push(ro):to.push({documentOrder:no,tabIndex:io,node:ro}))}),to.sort((ro,no)=>ro.tabIndex===no.tabIndex?ro.documentOrder-no.documentOrder:ro.tabIndex-no.tabIndex).map(ro=>ro.node).concat(eo)}function defaultIsEnabled(){return!0}function FocusTrap(Yi){const{children:eo,disableAutoFocus:to=!1,disableEnforceFocus:ro=!1,disableRestoreFocus:no=!1,getTabbable:io=defaultGetTabbable,isEnabled:oo=defaultIsEnabled,open:ao}=Yi,so=reactExports.useRef(!1),lo=reactExports.useRef(null),co=reactExports.useRef(null),uo=reactExports.useRef(null),fo=reactExports.useRef(null),ho=reactExports.useRef(!1),mo=reactExports.useRef(null),vo=useForkRef(getReactNodeRef(eo),mo),Co=reactExports.useRef(null);reactExports.useEffect(()=>{!ao||!mo.current||(ho.current=!to)},[to,ao]),reactExports.useEffect(()=>{if(!ao||!mo.current)return;const yo=ownerDocument(mo.current);
227return mo.current.contains(yo.activeElement)||(mo.current.hasAttribute("tabIndex")||mo.current.setAttribute("tabIndex","-1"),ho.current&&mo.current.focus()),()=>{no||(uo.current&&uo.current.focus&&(so.current=!0,uo.current.focus()),uo.current=null)}},[ao]),reactExports.useEffect(()=>{if(!ao||!mo.current)return;const yo=ownerDocument(mo.current),Eo=To=>{Co.current=To,!(ro||!oo()||To.key!=="Tab")&&yo.activeElement===mo.current&&To.shiftKey&&(so.current=!0,co.current&&co.current.focus())},xo=()=>{var Po,zo;const To=mo.current;if(To===null)return;if(!yo.hasFocus()||!oo()||so.current){so.current=!1;return}if(To.contains(yo.activeElement)||ro&&yo.activeElement!==lo.current&&yo.activeElement!==co.current)return;if(yo.activeElement!==fo.current)fo.current=null;else if(fo.current!==null)return;if(!ho.current)return;let Ro=[];if((yo.activeElement===lo.current||yo.activeElement===co.current)&&(Ro=io(mo.current)),Ro.length>0){const Ho=!!((Po=Co.current)!=null&&Po.shiftKey&&((zo=Co.current)==null?void 0:zo.key)==="Tab"),Vo=Ro[0],Lo=Ro[Ro.length-1];typeof Vo!="string"&&typeof Lo!="string"&&(Ho?Lo.focus():Vo.focus())}else To.focus()};yo.addEventListener("focusin",xo),yo.addEventListener("keydown",Eo,!0);const So=setInterval(()=>{yo.activeElement&&yo.activeElement.tagName==="BODY"&&xo()},50);return()=>{clearInterval(So),yo.removeEventListener("focusin",xo),yo.removeEventListener("keydown",Eo,!0)}},[to,ro,no,oo,ao,io]);const bo=yo=>{uo.current===null&&(uo.current=yo.relatedTarget),ho.current=!0,fo.current=yo.target;const Eo=eo.props.onFocus;Eo&&Eo(yo)},wo=yo=>{uo.current===null&&(uo.current=yo.relatedTarget),ho.current=!0};return jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[jsxRuntimeExports.jsx("div",{tabIndex:ao?0:-1,onFocus:wo,ref:lo,"data-testid":"sentinelStart"}),reactExports.cloneElement(eo,{ref:vo,onFocus:bo}),jsxRuntimeExports.jsx("div",{tabIndex:ao?0:-1,onFocus:wo,ref:co,"data-testid":"sentinelEnd"})]})}function getContainer(Yi){return typeof Yi=="function"?Yi():Yi}function getHasTransition(Yi){return Yi?Yi.props.hasOwnProperty("in"):!1}const defaultManager=new ModalManager;function useModal(Yi){const{container:eo,disableEscapeKeyDown:to=!1,disableScrollLock:ro=!1,manager:no=defaultManager,closeAfterTransition:io=!1,onTransitionEnter:oo,onTransitionExited:ao,children:so,onClose:lo,open:co,rootRef:uo}=Yi,fo=reactExports.useRef({}),ho=reactExports.useRef(null),mo=reactExports.useRef(null),vo=useForkRef(mo,uo),[Co,bo]=reactExports.useState(!co),wo=getHasTransition(so);let yo=!0;(Yi["aria-hidden"]==="false"||Yi["aria-hidden"]===!1)&&(yo=!1);const Eo=()=>ownerDocument(ho.current),xo=()=>(fo.current.modalRef=mo.current,fo.current.mount=ho.current,fo.current),So=()=>{no.mount(xo(),{disableScrollLock:ro}),mo.current&&(mo.current.scrollTop=0)},To=useEventCallback(()=>{const Oo=getContainer(eo)||Eo().body;no.add(xo(),Oo),mo.current&&So()}),Ro=reactExports.useCallback(()=>no.isTopModal(xo()),[no]),Po=useEventCallback(Oo=>{ho.current=Oo,Oo&&(co&&Ro()?So():mo.current&&ariaHidden(mo.current,yo))}),zo=reactExports.useCallback(()=>{no.remove(xo(),yo)},[yo,no]);reactExports.useEffect(()=>()=>{zo()},[zo]),reactExports.useEffect(()=>{co?To():(!wo||!io)&&zo()},[co,zo,wo,io,To]);const Ho=Oo=>ko=>{var Bo;(Bo=Oo.onKeyDown)==null||Bo.call(Oo,ko),!(ko.key!=="Escape"||ko.which===229||!Ro())&&(to||(ko.stopPropagation(),lo&&lo(ko,"escapeKeyDown")))},Vo=Oo=>ko=>{var Bo;(Bo=Oo.onClick)==null||Bo.call(Oo,ko),ko.target===ko.currentTarget&&lo&&lo(ko,"backdropClick")};return{getRootProps:(Oo={})=>{const ko=extractEventHandlers(Yi);delete ko.onTransitionEnter,delete ko.onTransitionExited;const Bo={...ko,...Oo};return{role:"presentation",...Bo,onKeyDown:Ho(Bo),ref:vo}},getBackdropProps:(Oo={})=>{const ko=Oo;return{"aria-hidden":!0,...ko,onClick:Vo(ko),open:co}},getTransitionProps:()=>{const Oo=()=>{bo(!1),oo&&oo()},ko=()=>{bo(!0),ao&&ao(),io&&zo()};return{onEnter:createChainedFunction(Oo,so==null?void 0:so.props.onEnter),onExited:createChainedFunction(ko,so==null?void 0:so.props.onExited)}},rootRef:vo,portalRef:Po,isTopModal:Ro,exited:Co,hasTransition:wo}}
227function getModalUtilityClass(Yi){return generateUtilityClass("MuiModal",Yi)}generateUtilityClasses("MuiModal",["root","hidden","backdrop"]);const useUtilityClasses$U=Yi=>{const{open:eo,exited:to,classes:ro}=Yi;return composeClasses({root:["root",!eo&&to&&"hidden"],backdrop:["backdrop"]},getModalUtilityClass,ro)},ModalRoot=styled("div",{name:"MuiModal",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,!to.open&&to.exited&&eo.hidden]}})(memoTheme(({theme:Yi})=>({position:"fixed",zIndex:(Yi.vars||Yi).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:eo})=>!eo.open&&eo.exited,style:{visibility:"hidden"}}]}))),ModalBackdrop=styled(Backdrop,{name:"MuiModal",slot:"Backdrop",overridesResolver:(Yi,eo)=>eo.backdrop})({zIndex:-1}),Modal=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({name:"MuiModal",props:eo}),{BackdropComponent:no=ModalBackdrop,BackdropProps:io,classes:oo,className:ao,closeAfterTransition:so=!1,children:lo,container:co,component:uo,components:fo={},componentsProps:ho={},disableAutoFocus:mo=!1,disableEnforceFocus:vo=!1,disableEscapeKeyDown:Co=!1,disablePortal:bo=!1,disableRestoreFocus:wo=!1,disableScrollLock:yo=!1,hideBackdrop:Eo=!1,keepMounted:xo=!1,onBackdropClick:So,onClose:To,onTransitionEnter:Ro,onTransitionExited:Po,open:zo,slotProps:Ho={},slots:Vo={},theme:Lo,...Uo}=ro,Do={...ro,closeAfterTransition:so,disableAutoFocus:mo,disableEnforceFocus:vo,disableEscapeKeyDown:Co,disablePortal:bo,disableRestoreFocus:wo,disableScrollLock:yo,hideBackdrop:Eo,keepMounted:xo},{getRootProps:Oo,getBackdropProps:ko,getTransitionProps:Bo,portalRef:Fo,isTopModal:Qo,exited:jo,hasTransition:Xo}=useModal({...Do,rootRef:to}),Zo={...Do,exited:jo},Wo=useUtilityClasses$U(Zo),ta={};if(lo.props.tabIndex===void 0&&(ta.tabIndex="-1"),Xo){const{onEnter:ea,onExited:oa}=Bo();ta.onEnter=ea,ta.onExited=oa}const ra={slots:{root:fo.Root,backdrop:fo.Backdrop,...Vo},slotProps:{...ho,...Ho}},[da,pa]=useSlot("root",{elementType:ModalRoot,externalForwardedProps:ra,getSlotProps:Oo,additionalProps:{ref:to,as:uo},ownerState:Zo,className:clsx(ao,Wo==null?void 0:Wo.root,!Zo.open&&Zo.exited&&(Wo==null?void 0:Wo.hidden))}),[sa,ya]=useSlot("backdrop",{elementType:no,externalForwardedProps:ra,additionalProps:io,getSlotProps:ea=>ko({...ea,onClick:oa=>{So&&So(oa),ea!=null&&ea.onClick&&ea.onClick(oa)}}),className:clsx(io==null?void 0:io.className,Wo==null?void 0:Wo.backdrop),ownerState:Zo}),na=useForkRef(io==null?void 0:io.ref,ya.ref);return!xo&&!zo&&(!Xo||jo)?null:jsxRuntimeExports.jsx(Portal,{ref:Fo,container:co,disablePortal:bo,children:jsxRuntimeExports.jsxs(da,{...pa,...Uo,children:[!Eo&&no?jsxRuntimeExports.jsx(sa,{...ya,ref:na}):null,jsxRuntimeExports.jsx(FocusTrap,{disableEnforceFocus:vo,disableAutoFocus:mo,disableRestoreFocus:wo,isEnabled:Qo,open:zo,children:reactExports.cloneElement(lo,ta)})]})})});function getDialogUtilityClass(Yi){return generateUtilityClass("MuiDialog",Yi)}const dialogClasses=generateUtilityClasses("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),DialogContext=reactExports.createContext({}),DialogBackdrop=styled(Backdrop,{name:"MuiDialog",slot:"Backdrop",overrides:(Yi,eo)=>eo.backdrop})({zIndex:-1}),useUtilityClasses$T=Yi=>{const{classes:eo,scroll:to,maxWidth:ro,fullWidth:no,fullScreen:io}=Yi,oo={root:["root"],container:["container",`scroll${capitalize$3(to)}`],paper:["paper",`paperScroll${capitalize$3(to)}`,`paperWidth${capitalize$3(String(ro))}`,no&&"paperFullWidth",io&&"paperFullScreen"]};return composeClasses(oo,getDialogUtilityClass,eo)},DialogRoot=styled(Modal,{name:"MuiDialog",slot:"Root",overridesResolver:(Yi,eo)=>eo.root})({"@media print":{position:"absolute !important"}}),DialogContainer=styled("div",{name:"MuiDialog",slot:"Container",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.container,eo[`scroll${capitalize$3(to.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',dis
vendor: 10,345 bytes, line 227
227play:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),DialogPaper=styled(Paper,{name:"MuiDialog",slot:"Paper",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.paper,eo[`scrollPaper${capitalize$3(to.scroll)}`],eo[`paperWidth${capitalize$3(String(to.maxWidth))}`],to.fullWidth&&eo.paperFullWidth,to.fullScreen&&eo.paperFullScreen]}})(memoTheme(({theme:Yi})=>({margin:32,position:"relative","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:eo})=>!eo.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:Yi.breakpoints.unit==="px"?Math.max(Yi.breakpoints.values.xs,444):`max(${Yi.breakpoints.values.xs}${Yi.breakpoints.unit}, 444px)`,[`&.${dialogClasses.paperScrollBody}`]:{[Yi.breakpoints.down(Math.max(Yi.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(Yi.breakpoints.values).filter(eo=>eo!=="xs").map(eo=>({props:{maxWidth:eo},style:{maxWidth:`${Yi.breakpoints.values[eo]}${Yi.breakpoints.unit}`,[`&.${dialogClasses.paperScrollBody}`]:{[Yi.breakpoints.down(Yi.breakpoints.values[eo]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:eo})=>eo.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:eo})=>eo.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${dialogClasses.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),Dialog=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiDialog"}),no=useTheme$2(),io={enter:no.transitions.duration.enteringScreen,exit:no.transitions.duration.leavingScreen},{"aria-describedby":oo,"aria-labelledby":ao,BackdropComponent:so,BackdropProps:lo,children:co,className:uo,disableEscapeKeyDown:fo=!1,fullScreen:ho=!1,fullWidth:mo=!1,maxWidth:vo="sm",onBackdropClick:Co,onClick:bo,onClose:wo,open:yo,PaperComponent:Eo=Paper,PaperProps:xo={},scroll:So="paper",TransitionComponent:To=Fade,transitionDuration:Ro=io,TransitionProps:Po,...zo}=ro,Ho={...ro,disableEscapeKeyDown:fo,fullScreen:ho,fullWidth:mo,maxWidth:vo,scroll:So},Vo=useUtilityClasses$T(Ho),Lo=reactExports.useRef(),Uo=Bo=>{Lo.current=Bo.target===Bo.currentTarget},Do=Bo=>{bo&&bo(Bo),Lo.current&&(Lo.current=null,Co&&Co(Bo),wo&&wo(Bo,"backdropClick"))},Oo=useId(ao),ko=reactExports.useMemo(()=>({titleId:Oo}),[Oo]);return jsxRuntimeExports.jsx(DialogRoot,{className:clsx(Vo.root,uo),closeAfterTransition:!0,components:{Backdrop:DialogBackdrop},componentsProps:{backdrop:{transitionDuration:Ro,as:so,...lo}},disableEscapeKeyDown:fo,onClose:wo,open:yo,ref:to,onClick:Do,ownerState:Ho,...zo,children:jsxRuntimeExports.jsx(To,{appear:!0,in:yo,timeout:Ro,role:"presentation",...Po,children:jsxRuntimeExports.jsx(DialogContainer,{className:clsx(Vo.container),onMouseDown:Uo,ownerState:Ho,children:jsxRuntimeExports.jsx(DialogPaper,{as:Eo,elevation:24,role:"dialog","aria-describedby":oo,"aria-labelledby":Oo,...xo,className:clsx(Vo.paper,xo.className),ownerState:Ho,children:jsxRuntimeExports.jsx(DialogContext.Provider,{value:ko,children:co})})})})})});function getDialogContentUtilityClass(Yi){return generateUtilityClass("MuiDialogContent",Yi)}generateUtilityClasses("MuiDialogContent",["root","dividers"]);function getDialogTitleUtilityClass(Yi){return generateUtilityClass("MuiDialogTitle",Yi)}const dialogTitleClasses=generateUtilityClasses("MuiDialogTitle",["root"]),useUtilityClasses$S=Yi=>{const{classes:eo,dividers:to}=Yi;return composeClasses({root:["root",to&&"dividers"]},getDialogContentUtilityClass,eo)},DialogContentRoot=styled("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.dividers&&eo.dividers]}})(memoTheme(({theme:Yi})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:eo})=>eo.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(Yi.vars||Yi).palette.divider}`,borderBottom:`1px solid ${(Yi.vars||Yi).palette.divider}`}},{props:({ownerState:eo})=>!eo.dividers,style:{[`.${dialogTitleClasses.root} + &`]:{paddingTop:0}}}]}))),DialogContent=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiDialogContent"}),{className:no,dividers:io=!1,...oo}=ro,ao={...ro,dividers:io},so=useUtilityClasses$S(ao);return jsxRuntimeExports.jsx(DialogContentRoot,{className:clsx(so.root,no),ownerState:ao,ref:to,...oo})}),useUtilityClasses$R=Yi=>{const{classes:eo}=Yi;return composeClasses({root:["root"]},getDialogTitleUtilityClass,eo)},DialogTitleRoot=styled(Typography,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(Yi,eo)=>eo.root})({padding:"16px 24px",flex:"0 0 auto"}),DialogTitle=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiDialogTitle"}),{className:no,id:io,...oo}=ro,ao=ro,so=useUtilityClasses$R(ao),{titleId:lo=io}=reactExports.useContext(DialogContext);return jsxRuntimeExports.jsx(DialogTitleRoot,{component:"h2",className:clsx(so.root,no),ownerState:ao,ref:to,variant:"h6",id:io??lo,...oo})});function getDividerUtilityClass(Yi){return generateUtilityClass("MuiDivider",Yi)}const dividerClasses=generateUtilityClasses("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),useUtilityClasses$Q=Yi=>{const{absolute:eo,children:to,classes:ro,flexItem:no,light:io,orientation:oo,textAlign:ao,variant:so}=Yi;return composeClasses({root:["root",eo&&"absolute",so,io&&"light",oo==="vertical"&&"vertical",no&&"flexItem",to&&"withChildren",to&&oo==="vertical"&&"withChildrenVertical",ao==="right"&&oo!=="vertical"&&"textAlignRight",ao==="left"&&oo!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",oo==="vertical"&&"wrapperVertical"]},getDividerUtilityClass,ro)},DividerRoot=styled("div",{name:"MuiDivider",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.absolute&&eo.absolute,eo[to.variant],to.light&&eo.light,to.orientation==="vertical"&&eo.vertical,to.flexItem&&eo.flexItem,to.children&&eo.withChildren,to.children&&to.orientation==="vertical"&&eo.withChildrenVertical,to.textAlign==="right"&&to.orientation!=="vertical"&&eo.textAlignRight,to.textAlign==="left"&&to.orientation!=="vertical"&&eo.textAlignLeft]}})(memoTheme(({theme:Yi})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(Yi.vars||Yi).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:Yi.vars?`rgba(${Yi.vars.palette.dividerChannel} / 0.08)`:alpha$1(Yi.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:Yi.spacing(2),marginRight:Yi.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:Yi.spacing(1),marginBottom:Yi.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:eo})=>!!eo.children,style:{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:eo})=>eo.children&&eo.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(Yi.vars||Yi).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:eo})=>eo.orientation==="vertical"&&eo.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(Yi.vars||Yi).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:eo})=>eo.textAlign==="right"&&eo.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:eo})=>eo.textAlign==="left"&&eo.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),DividerWrapper=styled("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.wrapper,to.orientation==="vertical"&&eo.wrapperVertical]}})(memoTheme(({theme:Yi})=>({display:"inline-block",paddingLeft:`calc(${Yi.spacing(1)} * 1.2)`,paddingRight:`calc(${Yi.spacing(1)} * 1.2)`,variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${Yi.spacing(1)} * 1.2)`,paddingBottom:`calc(${Yi.spacing(1)} * 1.2)`}}]}))),Divider=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiDivider"}),{absolute:no=!1,children:io,className:oo,orientation:ao="horizontal",component:so=io||ao==="vertical"?"div":"hr",flexItem:lo=!1,light:co=!1,role:uo=so!=="hr"?"separator":void 0,textAlign:fo="center",variant:ho="fullWidth",...mo}=ro,vo={...ro,absolute:no,component:so,flexItem:lo,light:co,orientation:ao,role:uo,textAlign:fo,variant:ho},Co=useUtilityClasses$Q(vo);return jsxRuntimeExports.jsx(DividerRoot,{as:so,className:clsx(Co.root,oo),role:uo,ref:to,ownerState:vo,"aria-orientation":uo==="separator"&&(so!=="hr"||ao==="vertical")?ao:void 0,...mo,children:io?jsxRuntimeExports.jsx(DividerWrapper,{className:Co.wrapper,ownerState:vo,children:io}):null})});Divider&&(Divider.muiSkipListHighlight=!0);function getTranslateValue(Yi,eo,to){const ro=eo.getBoundingClientRect(),no=to&&to.getBoundingClientRect(),io=ownerWindow(eo);let oo;if(eo.fakeTransform)oo=eo.fakeTransform;else{const lo=io.getComputedStyle(eo);oo=lo.getPropertyValue("-webkit-transform")||lo.getPropertyValue("transform")}let ao=0,so=0;if(oo&&oo!=="none"&&typeof oo=="string"){const lo=oo.split("(")[1].split(")")[0].split(",");ao=parseInt(lo[4],10),so=parseInt(lo[5],10)}return Yi==="left"?no?`translateX(${no.right+ao-ro.left}px)`:`translateX(${io.innerWidth+ao-ro.left}px)`:Yi==="right"?no?`translateX(-${ro.right-no.left-ao}px)`:`translateX(-${ro.left+ro.width-ao}px)`:Yi==="up"?no?`translateY(${no.bottom+so-ro.top}px)`:`translateY(${io.innerHeight+so-ro.top}px)`:no?`translateY(-${ro.top-no.top+ro.height-so}px)`:`translateY(-${ro.top+ro.height-so}px)`}
227function resolveContainer(Yi){return typeof Yi=="function"?Yi():Yi}function setTranslateValue(Yi,eo,to){const ro=resolveContainer(to),no=getTranslateValue(Yi,eo,ro);no&&(eo.style.webkitTransform=no,eo.style.transform=no)}const Slide=reactExports.forwardRef(function(eo,to){const ro=useTheme$2(),no={enter:ro.transitions.easing.easeOut,exit:ro.transitions.easing.sharp},io={enter:ro.transitions.duration.enteringScreen,exit:ro.transitions.duration.leavingScreen},{addEndListener:oo,appear:ao=!0,children:so,container:lo,direction:co="down",easing:uo=no,in:fo,onEnter:ho,onEntered:mo,onEntering:vo,onExit:Co,onExited:bo,onExiting:wo,style:yo,timeout:Eo=io,TransitionComponent:xo=Transition,...So}=eo,To=reactExports.useRef(null),Ro=useForkRef(getReactNodeRef(so),To,to),Po=Bo=>Fo=>{Bo&&(Fo===void 0?Bo(To.current):Bo(To.current,Fo))},zo=Po((Bo,Fo)=>{setTranslateValue(co,Bo,lo),reflow(Bo),ho&&ho(Bo,Fo)}),Ho=Po((Bo,Fo)=>{const Qo=getTransitionProps({timeout:Eo,style:yo,easing:uo},{mode:"enter"});Bo.style.webkitTransition=ro.transitions.create("-webkit-transform",{...Qo}),Bo.style.transition=ro.transitions.create("transform",{...Qo}),Bo.style.webkitTransform="none",Bo.style.transform="none",vo&&vo(Bo,Fo)}),Vo=Po(mo),Lo=Po(wo),Uo=Po(Bo=>{const Fo=getTransitionProps({timeout:Eo,style:yo,easing:uo},{mode:"exit"});Bo.style.webkitTransition=ro.transitions.create("-webkit-transform",Fo),Bo.style.transition=ro.transitions.create("transform",Fo),setTranslateValue(co,Bo,lo),Co&&Co(Bo)}),Do=Po(Bo=>{Bo.style.webkitTransition="",Bo.style.transition="",bo&&bo(Bo)}),Oo=Bo=>{oo&&oo(To.current,Bo)},ko=reactExports.useCallback(()=>{To.current&&setTranslateValue(co,To.current,lo)},[co,lo]);return reactExports.useEffect(()=>{if(fo||co==="down"||co==="right")return;const Bo=debounce$4(()=>{To.current&&setTranslateValue(co,To.current,lo)}),Fo=ownerWindow(To.current);return Fo.addEventListener("resize",Bo),()=>{Bo.clear(),Fo.removeEventListener("resize",Bo)}},[co,fo,lo]),reactExports.useEffect(()=>{fo||ko()},[fo,ko]),jsxRuntimeExports.jsx(xo,{nodeRef:To,onEnter:zo,onEntered:Vo,onEntering:Ho,onExit:Uo,onExited:Do,onExiting:Lo,addEndListener:Oo,appear:ao,in:fo,timeout:Eo,...So,children:(Bo,Fo)=>reactExports.cloneElement(so,{ref:Ro,style:{visibility:Bo==="exited"&&!fo?"hidden":void 0,...yo,...so.props.style},...Fo})})});function getDrawerUtilityClass(Yi){return generateUtilityClass("MuiDrawer",Yi)}generateUtilityClasses("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const overridesResolver$4=(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,(to.variant==="permanent"||to.variant==="persistent")&&eo.docked,eo.modal]},useUtilityClasses$P=Yi=>{const{classes:eo,anchor:to,variant:ro}=Yi,no={root:["root"],docked:[(ro==="permanent"||ro==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${capitalize$3(to)}`,ro!=="temporary"&&`paperAnchorDocked${capitalize$3(to)}`]};return composeClasses(no,getDrawerUtilityClass,eo)},DrawerRoot=styled(Modal,{name:"MuiDrawer",slot:"Root",overridesResolver:overridesResolver$4})(memoTheme(({theme:Yi})=>({zIndex:(Yi.vars||Yi).zIndex.drawer}))),DrawerDockedRoot=styled("div",{shouldForwardProp:rootShouldForwardProp,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:overridesResolver$4})({flex:"0 0 auto"}),DrawerPaper=styled(Paper,{name:"MuiDrawer",slot:"Paper",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.paper,eo[`paperAnchor${capitalize$3(to.anchor)}`],to.variant!=="temporary"&&eo[`paperAnchorDocked${capitalize$3(to.anchor)}`]]}})(memoTheme(({theme:Yi})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(Yi.vars||Yi).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"}
227,style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:eo})=>eo.anchor==="left"&&eo.variant!=="temporary",style:{borderRight:`1px solid ${(Yi.vars||Yi).palette.divider}`}},{props:({ownerState:eo})=>eo.anchor==="top"&&eo.variant!=="temporary",style:{borderBottom:`1px solid ${(Yi.vars||Yi).palette.divider}`}},{props:({ownerState:eo})=>eo.anchor==="right"&&eo.variant!=="temporary",style:{borderLeft:`1px solid ${(Yi.vars||Yi).palette.divider}`}},{props:({ownerState:eo})=>eo.anchor==="bottom"&&eo.variant!=="temporary",style:{borderTop:`1px solid ${(Yi.vars||Yi).palette.divider}`}}]}))),oppositeDirection={left:"right",right:"left",top:"down",bottom:"up"};function isHorizontal(Yi){return["left","right"].includes(Yi)}function getAnchor({direction:Yi},eo){return Yi==="rtl"&&isHorizontal(eo)?oppositeDirection[eo]:eo}const Drawer=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiDrawer"}),no=useTheme$2(),io=useRtl(),oo={enter:no.transitions.duration.enteringScreen,exit:no.transitions.duration.leavingScreen},{anchor:ao="left",BackdropProps:so,children:lo,className:co,elevation:uo=16,hideBackdrop:fo=!1,ModalProps:{BackdropProps:ho,...mo}={},onClose:vo,open:Co=!1,PaperProps:bo={},SlideProps:wo,TransitionComponent:yo=Slide,transitionDuration:Eo=oo,variant:xo="temporary",...So}=ro,To=reactExports.useRef(!1);reactExports.useEffect(()=>{To.current=!0},[]);const Ro=getAnchor({direction:io?"rtl":"ltr"},ao),zo={...ro,anchor:ao,elevation:uo,open:Co,variant:xo,...So},Ho=useUtilityClasses$P(zo),Vo=jsxRuntimeExports.jsx(DrawerPaper,{elevation:xo==="temporary"?uo:0,square:!0,...bo,className:clsx(Ho.paper,bo.className),ownerState:zo,children:lo});if(xo==="permanent")return jsxRuntimeExports.jsx(DrawerDockedRoot,{className:clsx(Ho.root,Ho.docked,co),ownerState:zo,ref:to,...So,children:Vo});const Lo=jsxRuntimeExports.jsx(yo,{in:Co,direction:oppositeDirection[Ro],timeout:Eo,appear:To.current,...wo,children:Vo});return xo==="persistent"?jsxRuntimeExports.jsx(DrawerDockedRoot,{className:clsx(Ho.root,Ho.docked,co),ownerState:zo,ref:to,...So,children:Lo}):jsxRuntimeExports.jsx(DrawerRoot,{BackdropProps:{...so,...ho,transitionDuration:Eo},className:clsx(Ho.root,Ho.modal,co),open:Co,ownerState:zo,onClose:vo,hideBackdrop:fo,ref:to,...So,...mo,children:Lo})});function getFabUtilityClass(Yi){return generateUtilityClass("MuiFab",Yi)}const fabClasses=generateUtilityClasses("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),useUtilityClasses$O=Yi=>{const{color:eo,variant:to,classes:ro,size:no}=Yi,io={root:["root",to,`size${capitalize$3(no)}`,eo==="inherit"?"colorInherit":eo]},oo=composeClasses(io,getFabUtilityClass,ro);return{...ro,...oo}},FabRoot=styled(ButtonBase,{name:"MuiFab",slot:"Root",shouldForwardProp:Yi=>rootShouldForwardProp(Yi)||Yi==="classes",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,eo[to.variant],eo[`size${capitalize$3(to.size)}`],to.color==="inherit"&&eo.colorInherit,eo[capitalize$3(to.size)],eo[to.color]]}})(memoTheme(({theme:Yi})=>{var eo,to;return{...Yi.typography.button,minHeight:36,transition:Yi.transitions.create(["background-color","box-shadow","border-color"],{duration:Yi.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(Yi.vars||Yi).zIndex.fab,boxShadow:(Yi.vars||Yi).shadows[6],"&:active":{boxShadow:(Yi.vars||Yi).shadows[12]},color:Yi.vars?Yi.vars.palette.text.primary:(to=(eo=Yi.palette).getContrastText)==null?void 0:to.call(eo,Yi.palette.grey[300]),backgroundColor:(Yi.vars||Yi).palette.grey[300],"&:hover":{backgroundColor:(Yi.vars||Yi).palette.grey.A100,"@media (hover: none)":{backgroundColor:(Yi.vars||Yi).palette.grey[300]},textDecoration:"none"},[`&.${fabClasses.focusVisible}`]:{boxShadow:(Yi.vars||Yi).shadows[6]},variants:[{props:{size:"small"},style:{width:40,height:40}},{props:{size:"medium"},style:{width:48,height:48}},{props:{variant:"extended"}
vendor: 6,632 bytes, line 227
227,style:{borderRadius:48/2,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48}},{props:{variant:"extended",size:"small"},style:{width:"auto",padding:"0 8px",borderRadius:34/2,minWidth:34,height:34}},{props:{variant:"extended",size:"medium"},style:{width:"auto",padding:"0 16px",borderRadius:40/2,minWidth:40,height:40}},{props:{color:"inherit"},style:{color:"inherit"}}]}}),memoTheme(({theme:Yi})=>({variants:[...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main&&eo.dark&&eo.contrastText).map(([eo])=>({props:{color:eo},style:{color:(Yi.vars||Yi).palette[eo].contrastText,backgroundColor:(Yi.vars||Yi).palette[eo].main,"&:hover":{backgroundColor:(Yi.vars||Yi).palette[eo].dark,"@media (hover: none)":{backgroundColor:(Yi.vars||Yi).palette[eo].main}}}}))]})),memoTheme(({theme:Yi})=>({[`&.${fabClasses.disabled}`]:{color:(Yi.vars||Yi).palette.action.disabled,boxShadow:(Yi.vars||Yi).shadows[0],backgroundColor:(Yi.vars||Yi).palette.action.disabledBackground}}))),Fab=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiFab"}),{children:no,className:io,color:oo="default",component:ao="button",disabled:so=!1,disableFocusRipple:lo=!1,focusVisibleClassName:co,size:uo="large",variant:fo="circular",...ho}=ro,mo={...ro,color:oo,component:ao,disabled:so,disableFocusRipple:lo,size:uo,variant:fo},vo=useUtilityClasses$O(mo);return jsxRuntimeExports.jsx(FabRoot,{className:clsx(vo.root,io),component:ao,disabled:so,focusRipple:!lo,focusVisibleClassName:clsx(vo.focusVisible,co),ownerState:mo,ref:to,...ho,classes:vo,children:no})}),useUtilityClasses$N=Yi=>{const{classes:eo,disableUnderline:to,startAdornment:ro,endAdornment:no,size:io,hiddenLabel:oo,multiline:ao}=Yi,so={root:["root",!to&&"underline",ro&&"adornedStart",no&&"adornedEnd",io==="small"&&`size${capitalize$3(io)}`,oo&&"hiddenLabel",ao&&"multiline"],input:["input"]},lo=composeClasses(so,getFilledInputUtilityClass,eo);return{...eo,...lo}},FilledInputRoot=styled(InputBaseRoot,{shouldForwardProp:Yi=>rootShouldForwardProp(Yi)||Yi==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[...rootOverridesResolver(Yi,eo),!to.disableUnderline&&eo.underline]}})(memoTheme(({theme:Yi})=>{const eo=Yi.palette.mode==="light",to=eo?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",ro=eo?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",no=eo?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",io=eo?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:Yi.vars?Yi.vars.palette.FilledInput.bg:ro,borderTopLeftRadius:(Yi.vars||Yi).shape.borderRadius,borderTopRightRadius:(Yi.vars||Yi).shape.borderRadius,transition:Yi.transitions.create("background-color",{duration:Yi.transitions.duration.shorter,easing:Yi.transitions.easing.easeOut}),"&:hover":{backgroundColor:Yi.vars?Yi.vars.palette.FilledInput.hoverBg:no,"@media (hover: none)":{backgroundColor:Yi.vars?Yi.vars.palette.FilledInput.bg:ro}},[`&.${filledInputClasses.focused}`]:{backgroundColor:Yi.vars?Yi.vars.palette.FilledInput.bg:ro},[`&.${filledInputClasses.disabled}`]:{backgroundColor:Yi.vars?Yi.vars.palette.FilledInput.disabledBg:io},variants:[{props:({ownerState:oo})=>!oo.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:Yi.transitions.create("transform",{duration:Yi.transitions.duration.shorter,easing:Yi.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${filledInputClasses.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${filledInputClasses.error}`]:{"&::before, &::after":{borderBottomColor:(Yi.vars||Yi).palette.error.main}},"&::before":{borderBottom:`1px solid ${Yi.vars?`rgba(${Yi.vars.palette.common.onBackgroundChannel} / ${Yi.vars.opacity.inputUnderline})`:to}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:Yi.transitions.create("border-bottom-color",{duration:Yi.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${filledInputClasses.disabled}, .${filledInputClasses.error}):before`]:{borderBottom:`1px solid ${(Yi.vars||Yi).palette.text.primary}`},[`&.${filledInputClasses.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(Yi.palette).filter(([,oo])=>oo&&oo.main).map(([oo])=>{var ao;return{props:{disableUnderline:!1,color:oo},style:{"&::after":{borderBottom:`2px solid ${(ao=(Yi.vars||Yi).palette[oo])==null?void 0:ao.main}`}}}}),{props:({ownerState:oo})=>oo.startAdornment,style:{paddingLeft:12}},{props:({ownerState:oo})=>oo.endAdornment,style:{paddingRight:12}},{props:({ownerState:oo})=>oo.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:oo,size:ao})=>oo.multiline&&ao==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:oo})=>oo.multiline&&oo.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:oo})=>oo.multiline&&oo.hiddenLabel&&oo.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),FilledInputInput=styled(InputBaseInput,{name:"MuiFilledInput",slot:"Input",overridesResolver:inputOverridesResolver})(memoTheme(({theme:Yi})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!Yi.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:Yi.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:Yi.palette.mode==="light"?null:"#fff",caretColor:Yi.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...Yi.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[Yi.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:eo})=>eo.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:eo})=>eo.startAdornment,style:{paddingLeft:0}},{props:({ownerState:eo})=>eo.endAdornment,style:{paddingRight:0}},{props:({ownerState:eo})=>eo.hiddenLabel&&eo.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:eo})=>eo.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),FilledInput=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiFilledInput"}),{disableUnderline:no=!1,components:io={},componentsProps:oo,fullWidth:ao=!1,hiddenLabel:so,inputComponent:lo="input",multiline:co=!1,slotProps:uo,slots:fo={},type:ho="text",...mo}=ro,vo={...ro,disableUnderline:no,fullWidth:ao,inputComponent:lo,multiline:co,type:ho},Co=useUtilityClasses$N(ro),bo={root:{ownerState:vo}
227,input:{ownerState:vo}},wo=uo??oo?deepmerge$1(bo,uo??oo):bo,yo=fo.root??io.Root??FilledInputRoot,Eo=fo.input??io.Input??FilledInputInput;return jsxRuntimeExports.jsx(InputBase,{slots:{root:yo,input:Eo},componentsProps:wo,fullWidth:ao,inputComponent:lo,multiline:co,ref:to,type:ho,...mo,classes:Co})});FilledInput&&(FilledInput.muiName="Input");function getFormControlUtilityClasses(Yi){return generateUtilityClass("MuiFormControl",Yi)}generateUtilityClasses("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const useUtilityClasses$M=Yi=>{const{classes:eo,margin:to,fullWidth:ro}=Yi,no={root:["root",to!=="none"&&`margin${capitalize$3(to)}`,ro&&"fullWidth"]};return composeClasses(no,getFormControlUtilityClasses,eo)},FormControlRoot=styled("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:Yi},eo)=>({...eo.root,...eo[`margin${capitalize$3(Yi.margin)}`],...Yi.fullWidth&&eo.fullWidth})})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),FormControl=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiFormControl"}),{children:no,className:io,color:oo="primary",component:ao="div",disabled:so=!1,error:lo=!1,focused:co,fullWidth:uo=!1,hiddenLabel:fo=!1,margin:ho="none",required:mo=!1,size:vo="medium",variant:Co="outlined",...bo}=ro,wo={...ro,color:oo,component:ao,disabled:so,error:lo,fullWidth:uo,hiddenLabel:fo,margin:ho,required:mo,size:vo,variant:Co},yo=useUtilityClasses$M(wo),[Eo,xo]=reactExports.useState(()=>{let Lo=!1;return no&&reactExports.Children.forEach(no,Uo=>{if(!isMuiElement(Uo,["Input","Select"]))return;const Do=isMuiElement(Uo,["Select"])?Uo.props.input:Uo;Do&&isAdornedStart(Do.props)&&(Lo=!0)}),Lo}),[So,To]=reactExports.useState(()=>{let Lo=!1;return no&&reactExports.Children.forEach(no,Uo=>{isMuiElement(Uo,["Input","Select"])&&(isFilled(Uo.props,!0)||isFilled(Uo.props.inputProps,!0))&&(Lo=!0)}),Lo}),[Ro,Po]=reactExports.useState(!1);so&&Ro&&Po(!1);const zo=co!==void 0&&!so?co:Ro;let Ho;const Vo=reactExports.useMemo(()=>({adornedStart:Eo,setAdornedStart:xo,color:oo,disabled:so,error:lo,filled:So,focused:zo,fullWidth:uo,hiddenLabel:fo,size:vo,onBlur:()=>{Po(!1)},onEmpty:()=>{To(!1)},onFilled:()=>{To(!0)},onFocus:()=>{Po(!0)},registerEffect:Ho,required:mo,variant:Co}),[Eo,oo,so,lo,So,zo,uo,fo,Ho,mo,vo,Co]);return jsxRuntimeExports.jsx(FormControlContext.Provider,{value:Vo,children:jsxRuntimeExports.jsx(FormControlRoot,{as:ao,ownerState:wo,className:clsx(yo.root,io),ref:to,...bo,children:no})})});function getFormControlLabelUtilityClasses(Yi){return generateUtilityClass("MuiFormControlLabel",Yi)}const formControlLabelClasses=generateUtilityClasses("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),useUtilityClasses$L=Yi=>{const{classes:eo,disabled:to,labelPlacement:ro,error:no,required:io}=Yi,oo={root:["root",to&&"disabled",`labelPlacement${capitalize$3(ro)}`,no&&"error",io&&"required"],label:["label",to&&"disabled"],asterisk:["asterisk",no&&"error"]};return composeClasses(oo,getFormControlLabelUtilityClasses,eo)},FormControlLabelRoot=styled("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[{[`& .${formControlLabelClasses.label}`]:eo.label},eo.root,eo[`labelPlacement${capitalize$3(to.labelPlacement)}`]]}})(memoTheme(({theme:Yi})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${formControlLabelClasses.disabled}`]:{cursor:"default"},[`& .${formControlLabelClasses.label}`]:{[`&.${formControlLabelClasses.disabled}`]:{color:(Yi.vars||Yi).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:eo})=>eo==="start"||eo==="top"||eo==="bottom",style:{marginLeft:16}}]}
227))),AsteriskComponent$1=styled("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(Yi,eo)=>eo.asterisk})(memoTheme(({theme:Yi})=>({[`&.${formControlLabelClasses.error}`]:{color:(Yi.vars||Yi).palette.error.main}}))),FormControlLabel=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiFormControlLabel"}),{checked:no,className:io,componentsProps:oo={},control:ao,disabled:so,disableTypography:lo,inputRef:co,label:uo,labelPlacement:fo="end",name:ho,onChange:mo,required:vo,slots:Co={},slotProps:bo={},value:wo,...yo}=ro,Eo=useFormControl(),xo=so??ao.props.disabled??(Eo==null?void 0:Eo.disabled),So=vo??ao.props.required,To={disabled:xo,required:So};["checked","name","onChange","value","inputRef"].forEach(Do=>{typeof ao.props[Do]>"u"&&typeof ro[Do]<"u"&&(To[Do]=ro[Do])});const Ro=formControlState({props:ro,muiFormControl:Eo,states:["error"]}),Po={...ro,disabled:xo,labelPlacement:fo,required:So,error:Ro.error},zo=useUtilityClasses$L(Po),Ho={slots:Co,slotProps:{...oo,...bo}},[Vo,Lo]=useSlot("typography",{elementType:Typography,externalForwardedProps:Ho,ownerState:Po});let Uo=uo;return Uo!=null&&Uo.type!==Typography&&!lo&&(Uo=jsxRuntimeExports.jsx(Vo,{component:"span",...Lo,className:clsx(zo.label,Lo==null?void 0:Lo.className),children:Uo})),jsxRuntimeExports.jsxs(FormControlLabelRoot,{className:clsx(zo.root,io),ownerState:Po,ref:to,...yo,children:[reactExports.cloneElement(ao,To),So?jsxRuntimeExports.jsxs("div",{children:[Uo,jsxRuntimeExports.jsxs(AsteriskComponent$1,{ownerState:Po,"aria-hidden":!0,className:zo.asterisk,children:[" ","*"]})]}):Uo]})});function getFormGroupUtilityClass(Yi){return generateUtilityClass("MuiFormGroup",Yi)}generateUtilityClasses("MuiFormGroup",["root","row","error"]);const useUtilityClasses$K=Yi=>{const{classes:eo,row:to,error:ro}=Yi;return composeClasses({root:["root",to&&"row",ro&&"error"]},getFormGroupUtilityClass,eo)},FormGroupRoot=styled("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.row&&eo.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),FormGroup=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiFormGroup"}),{className:no,row:io=!1,...oo}=ro,ao=useFormControl(),so=formControlState({props:ro,muiFormControl:ao,states:["error"]}),lo={...ro,row:io,error:so.error},co=useUtilityClasses$K(lo);return jsxRuntimeExports.jsx(FormGroupRoot,{className:clsx(co.root,no),ownerState:lo,ref:to,...oo})});function getFormHelperTextUtilityClasses(Yi){return generateUtilityClass("MuiFormHelperText",Yi)}const formHelperTextClasses=generateUtilityClasses("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var _span$3;const useUtilityClasses$J=Yi=>{const{classes:eo,contained:to,size:ro,disabled:no,error:io,filled:oo,focused:ao,required:so}=Yi,lo={root:["root",no&&"disabled",io&&"error",ro&&`size${capitalize$3(ro)}`,to&&"contained",ao&&"focused",oo&&"filled",so&&"required"]};return composeClasses(lo,getFormHelperTextUtilityClasses,eo)},FormHelperTextRoot=styled("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.size&&eo[`size${capitalize$3(to.size)}`],to.contained&&eo.contained,to.filled&&eo.filled]}})(memoTheme(({theme:Yi})=>({color:(Yi.vars||Yi).palette.text.secondary,...Yi.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${formHelperTextClasses.disabled}`]:{color:(Yi.vars||Yi).palette.text.disabled},[`&.${formHelperTextClasses.error}`]:{color:(Yi.vars||Yi).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:eo})=>eo.contained,style:{marginLeft:14,marginRight:14}}]}))),FormHelperText=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiFormHelperText"}),{children:no,className:io,component:oo="p",disabled:ao,error:so,filled:lo,focused:co,margin:uo,required:fo,variant:ho,...mo}=ro,vo=useFormControl(),Co=formControlState({props:ro,muiFormControl:vo,states:["variant","size","disabled","error","filled","focused","required"]}),bo={...ro,component:oo,contained:Co.variant==="filled"||Co.variant==="outlined",variant:Co.variant,size:Co.size,disabled:Co.disabled,error:Co.error,filled:Co.filled,focused:Co.focused,required:Co.required};delete bo.ownerState;const wo=useUtilityClasses$J(bo);return jsxRuntimeExports.jsx(FormHelperTextRoot,{as:oo,className:clsx(wo.root,io),ref:to,...mo,ownerState:bo,children:no===" "?_span$3||(_span$3=jsxRuntimeExports.jsx("span",{className:"notranslate",children:"​"})):no})});function getFormLabelUtilityClasses(Yi){return generateUtilityClass("MuiFormLabel",Yi)}const formLabelClasses=generateUtilityClasses("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),useUtilityClasses$I=Yi=>{const{classes:eo,color:to,focused:ro,disabled:no,error:io,filled:oo,required:ao}=Yi,so={root:["root",`color${capitalize$3(to)}
227`,no&&"disabled",io&&"error",oo&&"filled",ro&&"focused",ao&&"required"],asterisk:["asterisk",io&&"error"]};return composeClasses(so,getFormLabelUtilityClasses,eo)},FormLabelRoot=styled("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:Yi},eo)=>({...eo.root,...Yi.color==="secondary"&&eo.colorSecondary,...Yi.filled&&eo.filled})})(memoTheme(({theme:Yi})=>({color:(Yi.vars||Yi).palette.text.secondary,...Yi.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main).map(([eo])=>({props:{color:eo},style:{[`&.${formLabelClasses.focused}`]:{color:(Yi.vars||Yi).palette[eo].main}}})),{props:{},style:{[`&.${formLabelClasses.disabled}`]:{color:(Yi.vars||Yi).palette.text.disabled},[`&.${formLabelClasses.error}`]:{color:(Yi.vars||Yi).palette.error.main}}}]}))),AsteriskComponent=styled("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(Yi,eo)=>eo.asterisk})(memoTheme(({theme:Yi})=>({[`&.${formLabelClasses.error}`]:{color:(Yi.vars||Yi).palette.error.main}}))),FormLabel=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiFormLabel"}),{children:no,className:io,color:oo,component:ao="label",disabled:so,error:lo,filled:co,focused:uo,required:fo,...ho}=ro,mo=useFormControl(),vo=formControlState({props:ro,muiFormControl:mo,states:["color","required","focused","disabled","error","filled"]}),Co={...ro,color:vo.color||"primary",component:ao,disabled:vo.disabled,error:vo.error,filled:vo.filled,focused:vo.focused,required:vo.required},bo=useUtilityClasses$I(Co);return jsxRuntimeExports.jsxs(FormLabelRoot,{as:ao,ownerState:Co,className:clsx(bo.root,io),ref:to,...ho,children:[no,vo.required&&jsxRuntimeExports.jsxs(AsteriskComponent,{ownerState:Co,"aria-hidden":!0,className:bo.asterisk,children:[" ","*"]})]})});function getScale(Yi){return`scale(${Yi}, ${Yi**2})`}const styles$1={entering:{opacity:1,transform:getScale(1)},entered:{opacity:1,transform:"none"}},isWebKit154=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Grow=reactExports.forwardRef(function(eo,to){const{addEndListener:ro,appear:no=!0,children:io,easing:oo,in:ao,onEnter:so,onEntered:lo,onEntering:co,onExit:uo,onExited:fo,onExiting:ho,style:mo,timeout:vo="auto",TransitionComponent:Co=Transition,...bo}=eo,wo=useTimeout(),yo=reactExports.useRef(),Eo=useTheme$2(),xo=reactExports.useRef(null),So=useForkRef(xo,getReactNodeRef(io),to),To=Do=>Oo=>{if(Do){const ko=xo.current;Oo===void 0?Do(ko):Do(ko,Oo)}},Ro=To(co),Po=To((Do,Oo)=>{reflow(Do);const{duration:ko,delay:Bo,easing:Fo}=getTransitionProps({style:mo,timeout:vo,easing:oo},{mode:"enter"});let Qo;vo==="auto"?(Qo=Eo.transitions.getAutoHeightDuration(Do.clientHeight),yo.current=Qo):Qo=ko,Do.style.transition=[Eo.transitions.create("opacity",{duration:Qo,delay:Bo}),Eo.transitions.create("transform",{duration:isWebKit154?Qo:Qo*.666,delay:Bo,easing:Fo})].join(","),so&&so(Do,Oo)}),zo=To(lo),Ho=To(ho),Vo=To(Do=>{const{duration:Oo,delay:ko,easing:Bo}=getTransitionProps({style:mo,timeout:vo,easing:oo},{mode:"exit"});let Fo;vo==="auto"?(Fo=Eo.transitions.getAutoHeightDuration(Do.clientHeight),yo.current=Fo):Fo=Oo,Do.style.transition=[Eo.transitions.create("opacity",{duration:Fo,delay:ko}),Eo.transitions.create("transform",{duration:isWebKit154?Fo:Fo*.666,delay:isWebKit154?ko:ko||Fo*.333,easing:Bo})].join(","),Do.style.opacity=0,Do.style.transform=getScale(.75),uo&&uo(Do)}),Lo=To(fo),Uo=Do=>{vo==="auto"&&wo.start(yo.current||0,Do),ro&&ro(xo.current,Do)};return jsxRuntimeExports.jsx(Co,{appear:no,in:ao,nodeRef:xo,onEnter:Po,onEntered:zo,onEntering:Ro,onExit:Vo,onExited:Lo,onExiting:Ho,addEndListener:Uo,timeout:vo==="auto"?null:vo,...bo,children:(Do,Oo)=>reactExports.cloneElement(io,{style:{opacity:0,transform:getScale(.75),visibility:Do==="exited"&&!ao?"hidden":void 0,...styles$1[Do],...mo,...io.props.style},ref:So,...Oo})})});Grow&&(Grow.muiSupportAuto=!0);const breakpointKeys=["xs","sm","md","lg","xl"],isWidthUp=(Yi,eo,to=!0)=>to?breakpointKeys.indexOf(Yi)<=breakpointKeys.indexOf(eo):breakpointKeys.indexOf(Yi)<breakpointKeys.indexOf(eo),isWidthDown=(Yi,eo,to=!1)=>to?breakpointKeys.indexOf(eo)<=breakpointKeys.indexOf(Yi):breakpointKeys.indexOf(eo)<breakpointKeys.indexOf(Yi),withWidth=(Yi={})=>eo=>{const{withTheme:to=!1,noSSR:ro=!1,initialWidth:no}=Yi;function io(oo){const ao=useTheme$2(),so=oo.theme||ao,{initialWidth:lo,width:co,...uo}=getThemeProps$2({theme:so,name:"MuiWithWidth",props:oo}),[fo,ho]=reactExports.useState(!1);useEnhancedEffect(()=>{ho(!0)},[]);const vo=so.breakpoints.keys.slice().reverse().reduce((bo,wo)=>{const yo=useMediaQuery(so.breakpoints.up(wo));return!bo&&yo?wo:bo},null),Co={width:co||(fo||ro?vo:void 0)||lo||no,...to?{theme:so}:{},...uo};return Co.width===void 0?null:jsxRuntimeExports.jsx(eo,{...Co})}return io};function HiddenJs(Yi){const{children:eo,only:to,width:ro}=Yi,no=useTheme$2();let io=!0;if(to)if(Array.isArray(to))for(let oo=0;oo<to.length;oo+=1){const ao=to[oo];if(ro===ao){io=!1;break}}else to&&ro===to&&(io=!1);if(io)for(let oo=0;oo<no.breakpoints.keys.length;oo+=1){const ao=no.breakpoints.keys[oo],so=Yi[`${ao}Up`],lo=Yi[`${ao}Down`];if(so&&isWidthUp(ao,ro)||lo&&isWidthDown(ao,ro)){io=!1;break}}return io?jsxRuntimeExports.jsx(reactExports.Fragment,{children:eo}):null}const HiddenJs$1=withWidth()(HiddenJs);
227function getHiddenCssUtilityClass(Yi){return generateUtilityClass("PrivateHiddenCss",Yi)}generateUtilityClasses("PrivateHiddenCss",["root","xlDown","xlUp","onlyXl","lgDown","lgUp","onlyLg","mdDown","mdUp","onlyMd","smDown","smUp","onlySm","xsDown","xsUp","onlyXs"]);const useUtilityClasses$H=Yi=>{const{classes:eo,breakpoints:to}=Yi,ro={root:["root",...to.map(({breakpoint:no,dir:io})=>io==="only"?`${io}${capitalize$3(no)}`:`${no}${capitalize$3(io)}`)]};return composeClasses(ro,getHiddenCssUtilityClass,eo)},HiddenCssRoot=styled("div",{name:"PrivateHiddenCss",slot:"Root"})(({theme:Yi,ownerState:eo})=>{const to={display:"none"};return{...eo.breakpoints.map(({breakpoint:ro,dir:no})=>no==="only"?{[Yi.breakpoints.only(ro)]:to}:no==="up"?{[Yi.breakpoints.up(ro)]:to}:{[Yi.breakpoints.down(ro)]:to}).reduce((ro,no)=>(Object.keys(no).forEach(io=>{ro[io]=no[io]}),ro),{})}});function HiddenCss(Yi){const{children:eo,className:to,only:ro,...no}=Yi,io=useTheme$2(),oo=[];for(let lo=0;lo<io.breakpoints.keys.length;lo+=1){const co=io.breakpoints.keys[lo],uo=no[`${co}Up`],fo=no[`${co}Down`];uo&&oo.push({breakpoint:co,dir:"up"}),fo&&oo.push({breakpoint:co,dir:"down"})}ro&&(Array.isArray(ro)?ro:[ro]).forEach(co=>{oo.push({breakpoint:co,dir:"only"})});const ao={...Yi,breakpoints:oo},so=useUtilityClasses$H(ao);return jsxRuntimeExports.jsx(HiddenCssRoot,{className:clsx(so.root,to),ownerState:ao,children:eo})}function Hidden(Yi){const{implementation:eo="js",lgDown:to=!1,lgUp:ro=!1,mdDown:no=!1,mdUp:io=!1,smDown:oo=!1,smUp:ao=!1,xlDown:so=!1,xlUp:lo=!1,xsDown:co=!1,xsUp:uo=!1,...fo}=Yi;return eo==="js"?jsxRuntimeExports.jsx(HiddenJs$1,{lgDown:to,lgUp:ro,mdDown:no,mdUp:io,smDown:oo,smUp:ao,xlDown:so,xlUp:lo,xsDown:co,xsUp:uo,...fo}):jsxRuntimeExports.jsx(HiddenCss,{lgDown:to,lgUp:ro,mdDown:no,mdUp:io,smDown:oo,smUp:ao,xlDown:so,xlUp:lo,xsDown:co,xsUp:uo,...fo})}const useUtilityClasses$G=Yi=>{const{classes:eo,disableUnderline:to}=Yi,no=composeClasses({root:["root",!to&&"underline"],input:["input"]},getInputUtilityClass,eo);return{...eo,...no}},InputRoot=styled(InputBaseRoot,{shouldForwardProp:Yi=>rootShouldForwardProp(Yi)||Yi==="classes",name:"MuiInput",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[...rootOverridesResolver(Yi,eo),!to.disableUnderline&&eo.underline]}})(memoTheme(({theme:Yi})=>{let to=Yi.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return Yi.vars&&(to=`rgba(${Yi.vars.palette.common.onBackgroundChannel} / ${Yi.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:ro})=>ro.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:ro})=>!ro.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:Yi.transitions.create("transform",{duration:Yi.transitions.duration.shorter,easing:Yi.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${inputClasses.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${inputClasses.error}`]:{"&::before, &::after":{borderBottomColor:(Yi.vars||Yi).palette.error.main}},"&::before":{borderBottom:`1px solid ${to}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:Yi.transitions.create("border-bottom-color",{duration:Yi.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${inputClasses.disabled}, .${inputClasses.error}):before`]:{borderBottom:`2px solid ${(Yi.vars||Yi).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${to}`}},[`&.${inputClasses.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(Yi.palette).filter(([,ro])=>ro&&ro.main).map(([ro])=>({props:{color:ro,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(Yi.vars||Yi).palette[ro].main}`}}}))]}})),InputInput=styled(InputBaseInput,{name:"MuiInput",slot:"Input",overridesResolver:inputOverridesResolver})({}),Input=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiInput"}),{disableUnderline:no=!1,components:io={},componentsProps:oo,fullWidth:ao=!1,inputComponent:so="input",multiline:lo=!1,slotProps:co,slots:uo={},type:fo="text",...ho}=ro,mo=useUtilityClasses$G(ro),Co={root:{ownerState:{disableUnderline:no}}},bo=co??oo?deepmerge$1(co??oo,Co):Co,wo=uo.root??io.Root??InputRoot,yo=uo.input??io.Input??InputInput;return jsxRuntimeExports.jsx(InputBase,{slots:{root:wo,input:yo},slotProps:bo,fullWidth:ao,inputComponent:so,multiline:lo,ref:to,type:fo,...ho,classes:mo})});Input&&(Input.muiName="Input");
227function getInputAdornmentUtilityClass(Yi){return generateUtilityClass("MuiInputAdornment",Yi)}const inputAdornmentClasses=generateUtilityClasses("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var _span$2;const overridesResolver$3=(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,eo[`position${capitalize$3(to.position)}`],to.disablePointerEvents===!0&&eo.disablePointerEvents,eo[to.variant]]},useUtilityClasses$F=Yi=>{const{classes:eo,disablePointerEvents:to,hiddenLabel:ro,position:no,size:io,variant:oo}=Yi,ao={root:["root",to&&"disablePointerEvents",no&&`position${capitalize$3(no)}`,oo,ro&&"hiddenLabel",io&&`size${capitalize$3(io)}`]};return composeClasses(ao,getInputAdornmentUtilityClass,eo)},InputAdornmentRoot=styled("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:overridesResolver$3})(memoTheme(({theme:Yi})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(Yi.vars||Yi).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${inputAdornmentClasses.positionStart}&:not(.${inputAdornmentClasses.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),InputAdornment=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiInputAdornment"}),{children:no,className:io,component:oo="div",disablePointerEvents:ao=!1,disableTypography:so=!1,position:lo,variant:co,...uo}=ro,fo=useFormControl()||{};let ho=co;co&&fo.variant,fo&&!ho&&(ho=fo.variant);const mo={...ro,hiddenLabel:fo.hiddenLabel,size:fo.size,disablePointerEvents:ao,position:lo,variant:ho},vo=useUtilityClasses$F(mo);return jsxRuntimeExports.jsx(FormControlContext.Provider,{value:null,children:jsxRuntimeExports.jsx(InputAdornmentRoot,{as:oo,ownerState:mo,className:clsx(vo.root,io),ref:to,...uo,children:typeof no=="string"&&!so?jsxRuntimeExports.jsx(Typography,{color:"textSecondary",children:no}):jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[lo==="start"?_span$2||(_span$2=jsxRuntimeExports.jsx("span",{className:"notranslate",children:"​"})):null,no]})})})});function getInputLabelUtilityClasses(Yi){return generateUtilityClass("MuiInputLabel",Yi)}generateUtilityClasses("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const useUtilityClasses$E=Yi=>{const{classes:eo,formControl:to,size:ro,shrink:no,disableAnimation:io,variant:oo,required:ao}=Yi,so={root:["root",to&&"formControl",!io&&"animated",no&&"shrink",ro&&ro!=="normal"&&`size${capitalize$3(ro)}`,oo],asterisk:[ao&&"asterisk"]},lo=composeClasses(so,getInputLabelUtilityClasses,eo);return{...eo,...lo}},InputLabelRoot=styled(FormLabel,{shouldForwardProp:Yi=>rootShouldForwardProp(Yi)||Yi==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[{[`& .${formLabelClasses.asterisk}`]:eo.asterisk},eo.root,to.formControl&&eo.formControl,to.size==="small"&&eo.sizeSmall,to.shrink&&eo.shrink,!to.disableAnimation&&eo.animated,to.focused&&eo.focused,eo[to.variant]]}})(memoTheme(({theme:Yi})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:eo})=>eo.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:eo})=>eo.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:eo})=>!eo.disableAnimation,style:{transition:Yi.transitions.create(["color","transform","max-width"],{duration:Yi.transitions.duration.shorter,easing:Yi.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:eo,ownerState:to})=>eo==="filled"&&to.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7
227px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:eo,ownerState:to,size:ro})=>eo==="filled"&&to.shrink&&ro==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:eo,ownerState:to})=>eo==="outlined"&&to.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),InputLabel=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({name:"MuiInputLabel",props:eo}),{disableAnimation:no=!1,margin:io,shrink:oo,variant:ao,className:so,...lo}=ro,co=useFormControl();let uo=oo;typeof uo>"u"&&co&&(uo=co.filled||co.focused||co.adornedStart);const fo=formControlState({props:ro,muiFormControl:co,states:["size","variant","required","focused"]}),ho={...ro,disableAnimation:no,formControl:co,shrink:uo,size:fo.size,variant:fo.variant,required:fo.required,focused:fo.focused}
227,mo=useUtilityClasses$E(ho);return jsxRuntimeExports.jsx(InputLabelRoot,{"data-shrink":uo,ref:to,className:clsx(mo.root,so),...lo,ownerState:ho,classes:mo})});function getLinearProgressUtilityClass(Yi){return generateUtilityClass("MuiLinearProgress",Yi)}generateUtilityClasses("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const TRANSITION_DURATION=4,indeterminate1Keyframe=keyframes`
228  0% {
229    left: -35%;
230    right: 100%;
231  }
232
233  60% {
234    left: 100%;
235    right: -90%;
236  }
237
238  100% {
239    left: 100%;
240    right: -90%;
241  }
242`,indeterminate1Animation=typeof indeterminate1Keyframe!="string"?css$1`
243        animation: ${indeterminate1Keyframe} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
244      `:null,indeterminate2Keyframe=keyframes`
245  0% {
246    left: -200%;
247    right: 100%;
248  }
249
250  60% {
251    left: 107%;
252    right: -8%;
253  }
254
255  100% {
256    left: 107%;
257    right: -8%;
258  }
259`,indeterminate2Animation=typeof indeterminate2Keyframe!="string"?css$1`
260        animation: ${indeterminate2Keyframe} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
261      `:null,bufferKeyframe=keyframes`
262  0% {
263    opacity: 1;
264    background-position: 0 -23px;
265  }
266
267  60% {
268    opacity: 0;
269    background-position: 0 -23px;
270  }
271
272  100% {
273    opacity: 1;
274    background-position: -200px -23px;
275  }
276`,bufferAnimation=typeof bufferKeyframe!="string"?css$1`
277        animation: ${bufferKeyframe} 3s infinite linear;
278      `:null,useUtilityClasses$D=Yi=>{const{classes:eo,variant:to,color:ro}=Yi,no={root:["root",`color${capitalize$3(ro)}`,to],dashed:["dashed",`dashedColor${capitalize$3(ro)}`],bar1:["bar",`barColor${capitalize$3(ro)}`,(to==="indeterminate"||to==="query")&&"bar1Indeterminate",to==="determinate"&&"bar1Determinate",to==="buffer"&&"bar1Buffer"],bar2:["bar",to!=="buffer"&&`barColor${capitalize$3(ro)}`,to==="buffer"&&`color${capitalize$3(ro)}`,(to==="indeterminate"||to==="query")&&"bar2Indeterminate",to==="buffer"&&"bar2Buffer"]};return composeClasses(no,getLinearProgressUtilityClass,eo)},getColorShade=(Yi,eo)=>Yi.vars?Yi.vars.palette.LinearProgress[`${eo}Bg`]:Yi.palette.mode==="light"?lighten(Yi.palette[eo].main,.62):darken(Yi.palette[eo].main,.5),LinearProgressRoot=styled("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,eo[`color${capitalize$3(to.color)}`],eo[to.variant]]}})(memoTheme(({theme:Yi})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main).map(([eo])=>({props:{color:eo},style:{backgroundColor:getColorShade(Yi,eo)}})),{props:({ownerState:eo})=>eo.color==="inherit"&&eo.variant!=="buffer",style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]}))),LinearProgressDashed=styled("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.dashed,eo[`dashedColor${capitalize$3(to.color)}`]]}})(memoTheme(({theme:Yi})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main).map(([eo])=>{const to=getColorShade(Yi,eo);return{props:{color:eo},style:{backgroundImage:`radial-gradient(${to} 0%, ${to} 16%, transparent 42%)`}}})]})),bufferAnimation||{animation:`${bufferKeyframe} 3s infinite linear`}),LinearProgressBar1=styled("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.bar,eo[`barColor${capitalize$3(to.color)}`],(to.variant==="indeterminate"||to.variant==="query")&&eo.bar1Indeterminate,to.variant==="determinate"&&eo.bar1Determinate,to.variant==="buffer"&&eo.bar1Buffer]}})(memoTheme(({theme:Yi})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main).map(([eo])=>({props:{color:eo},style:{backgroundColor:(Yi.vars||Yi).palette[eo].main}})),{props:{variant:"determinate"},style:{transition:`transform .${TRANSITION_DURATION}s linear`}},{props:{variant:"buffer"},style:{zIndex:1,transition:`transform .${TRANSITION_DURATION}s linear`}},{props:({ownerState:eo})=>eo.variant==="indeterminate"||eo.variant==="query",style:{width:"auto"}},{props:({ownerState:eo})=>eo.variant==="indeterminate"||eo.variant==="query",style:indeterminate1Animation||{animation:`${indeterminate1Keyframe} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),LinearProgressBar2=styled("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.bar,eo[`barColor${capitalize$3(to.color)}`],(to.variant==="indeterminate"||to.variant==="query")&&eo.bar2Indeterminate,to.variant==="buffer"&&eo.bar2Buffer]}})(memoTheme(({theme:Yi})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main).map(([eo])=>({props:{color:eo},style:{"--LinearProgressBar2-barColor":(Yi.vars||Yi).palette[eo].main}})),{props:({ownerState:eo})=>eo.variant!=="buffer"&&eo.color!=="inherit",style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main).map(([eo])=>({props:{color:eo,variant:"buffer"},style:{backgroundColor:getColorShade(Yi,eo),transition:`transform .${TRANSITION_DURATION}s linear`}})),{props:({ownerState:eo})=>eo.variant==="indeterminate"||eo.variant==="query",style:{width:"auto"}},{props:({ownerState:eo})=>eo.variant==="indeterminate"||eo.variant==="query",style:indeterminate2Animation||{animation:`${indeterminate2Keyframe} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),LinearProgress=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiLinearProgress"}),{className:no,color:io="primary",value:oo,valueBuffer:ao,variant:so="indeterminate",...lo}=ro,co={...ro,color:io,variant:so}
278,uo=useUtilityClasses$D(co),fo=useRtl(),ho={},mo={bar1:{},bar2:{}};if((so==="determinate"||so==="buffer")&&oo!==void 0){ho["aria-valuenow"]=Math.round(oo),ho["aria-valuemin"]=0,ho["aria-valuemax"]=100;let vo=oo-100;fo&&(vo=-vo),mo.bar1.transform=`translateX(${vo}%)`}if(so==="buffer"&&ao!==void 0){let vo=(ao||0)-100;fo&&(vo=-vo),mo.bar2.transform=`translateX(${vo}%)`}return jsxRuntimeExports.jsxs(LinearProgressRoot,{className:clsx(uo.root,no),ownerState:co,role:"progressbar",...ho,ref:to,...lo,children:[so==="buffer"?jsxRuntimeExports.jsx(LinearProgressDashed,{className:uo.dashed,ownerState:co}):null,jsxRuntimeExports.jsx(LinearProgressBar1,{className:uo.bar1,ownerState:co,style:mo.bar1}),so==="determinate"?null:jsxRuntimeExports.jsx(LinearProgressBar2,{className:uo.bar2,ownerState:co,style:mo.bar2})]})});function getLinkUtilityClass(Yi){return generateUtilityClass("MuiLink",Yi)}const linkClasses=generateUtilityClasses("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),getTextDecoration=({theme:Yi,ownerState:eo})=>{const to=eo.color,ro=getPath$3(Yi,`palette.${to}`,!1)||eo.color,no=getPath$3(Yi,`palette.${to}Channel`);return"vars"in Yi&&no?`rgba(${no} / 0.4)`:alpha$1(ro,.4)},v6Colors={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},useUtilityClasses$C=Yi=>{const{classes:eo,component:to,focusVisible:ro,underline:no}=Yi,io={root:["root",`underline${capitalize$3(no)}`,to==="button"&&"button",ro&&"focusVisible"]};return composeClasses(io,getLinkUtilityClass,eo)},LinkRoot=styled(Typography,{name:"MuiLink",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,eo[`underline${capitalize$3(to.underline)}`],to.component==="button"&&eo.button]}})(memoTheme(({theme:Yi})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:eo,ownerState:to})=>eo==="always"&&to.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main).map(([eo])=>({props:{underline:"always",color:eo},style:{"--Link-underlineColor":Yi.vars?`rgba(${Yi.vars.palette[eo].mainChannel} / 0.4)`:alpha$1(Yi.palette[eo].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":Yi.vars?`rgba(${Yi.vars.palette.text.primaryChannel} / 0.4)`:alpha$1(Yi.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":Yi.vars?`rgba(${Yi.vars.palette.text.secondaryChannel} / 0.4)`:alpha$1(Yi.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(Yi.vars||Yi).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${linkClasses.focusVisible}`]:{outline:"auto"}}}]}))),Link$1=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiLink"}),no=useTheme$2(),{className:io,color:oo="primary",component:ao="a",onBlur:so,onFocus:lo,TypographyClasses:co,underline:uo="always",variant:fo="inherit",sx:ho,...mo}=ro,[vo,Co]=reactExports.useState(!1),bo=xo=>{isFocusVisible(xo.target)||Co(!1),so&&so(xo)},wo=xo=>{isFocusVisible(xo.target)&&Co(!0),lo&&lo(xo)},yo={...ro,color:oo,component:ao,focusVisible:vo,underline:uo,variant:fo},Eo=useUtilityClasses$C(yo);return jsxRuntimeExports.jsx(LinkRoot,{color:oo,className:clsx(Eo.root,io),classes:co,component:ao,onBlur:bo,onFocus:wo,ref:to,ownerState:yo,variant:fo,...mo,sx:[...v6Colors[oo]===void 0?[{color:oo}]:[],...Array.isArray(ho)?ho:[ho]],style:{...mo.style,...uo==="always"&&oo!=="inherit"&&!v6Colors[oo]&&{"--Link-underlineColor":getTextDecoration({theme:no,ownerState:yo})}}})}),ListContext=reactExports.createContext({});
vendor: 15,029 bytes, line 278
278function getListUtilityClass(Yi){return generateUtilityClass("MuiList",Yi)}generateUtilityClasses("MuiList",["root","padding","dense","subheader"]);const useUtilityClasses$B=Yi=>{const{classes:eo,disablePadding:to,dense:ro,subheader:no}=Yi;return composeClasses({root:["root",!to&&"padding",ro&&"dense",no&&"subheader"]},getListUtilityClass,eo)},ListRoot=styled("ul",{name:"MuiList",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,!to.disablePadding&&eo.padding,to.dense&&eo.dense,to.subheader&&eo.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:Yi})=>!Yi.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:Yi})=>Yi.subheader,style:{paddingTop:0}}]}),List$1=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiList"}),{children:no,className:io,component:oo="ul",dense:ao=!1,disablePadding:so=!1,subheader:lo,...co}=ro,uo=reactExports.useMemo(()=>({dense:ao}),[ao]),fo={...ro,component:oo,dense:ao,disablePadding:so},ho=useUtilityClasses$B(fo);return jsxRuntimeExports.jsx(ListContext.Provider,{value:uo,children:jsxRuntimeExports.jsxs(ListRoot,{as:oo,className:clsx(ho.root,io),ref:to,ownerState:fo,...co,children:[lo,no]})})});function getListItemUtilityClass(Yi){return generateUtilityClass("MuiListItem",Yi)}generateUtilityClasses("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function getListItemButtonUtilityClass(Yi){return generateUtilityClass("MuiListItemButton",Yi)}const listItemButtonClasses=generateUtilityClasses("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),overridesResolver$2=(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.dense&&eo.dense,to.alignItems==="flex-start"&&eo.alignItemsFlexStart,to.divider&&eo.divider,!to.disableGutters&&eo.gutters]},useUtilityClasses$A=Yi=>{const{alignItems:eo,classes:to,dense:ro,disabled:no,disableGutters:io,divider:oo,selected:ao}=Yi,lo=composeClasses({root:["root",ro&&"dense",!io&&"gutters",oo&&"divider",no&&"disabled",eo==="flex-start"&&"alignItemsFlexStart",ao&&"selected"]},getListItemButtonUtilityClass,to);return{...to,...lo}},ListItemButtonRoot=styled(ButtonBase,{shouldForwardProp:Yi=>rootShouldForwardProp(Yi)||Yi==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:overridesResolver$2})(memoTheme(({theme:Yi})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:Yi.transitions.create("background-color",{duration:Yi.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(Yi.vars||Yi).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${listItemButtonClasses.selected}`]:{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette.primary.mainChannel} / ${Yi.vars.palette.action.selectedOpacity})`:alpha$1(Yi.palette.primary.main,Yi.palette.action.selectedOpacity),[`&.${listItemButtonClasses.focusVisible}`]:{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette.primary.mainChannel} / calc(${Yi.vars.palette.action.selectedOpacity} + ${Yi.vars.palette.action.focusOpacity}))`:alpha$1(Yi.palette.primary.main,Yi.palette.action.selectedOpacity+Yi.palette.action.focusOpacity)}},[`&.${listItemButtonClasses.selected}:hover`]:{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette.primary.mainChannel} / calc(${Yi.vars.palette.action.selectedOpacity} + ${Yi.vars.palette.action.hoverOpacity}))`:alpha$1(Yi.palette.primary.main,Yi.palette.action.selectedOpacity+Yi.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette.primary.mainChannel} / ${Yi.vars.palette.action.selectedOpacity})`:alpha$1(Yi.palette.primary.main,Yi.palette.action.selectedOpacity)}},[`&.${listItemButtonClasses.focusVisible}`]:{backgroundColor:(Yi.vars||Yi).palette.action.focus},[`&.${listItemButtonClasses.disabled}`]:{opacity:(Yi.vars||Yi).palette.action.disabledOpacity},variants:[{props:({ownerState:eo})=>eo.divider,style:{borderBottom:`1px solid ${(Yi.vars||Yi).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:eo})=>!eo.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:eo})=>eo.dense,style:{paddingTop:4,paddingBottom:4}}]}))),ListItemButton=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiListItemButton"}),{alignItems:no="center",autoFocus:io=!1,component:oo="div",children:ao,dense:so=!1,disableGutters:lo=!1,divider:co=!1,focusVisibleClassName:uo,selected:fo=!1,className:ho,...mo}=ro,vo=reactExports.useContext(ListContext),Co=reactExports.useMemo(()=>({dense:so||vo.dense||!1,alignItems:no,disableGutters:lo}),[no,vo.dense,so,lo]),bo=reactExports.useRef(null);useEnhancedEffect(()=>{io&&bo.current&&bo.current.focus()},[io]);const wo={...ro,alignItems:no,dense:Co.dense,disableGutters:lo,divider:co,selected:fo},yo=useUtilityClasses$A(wo),Eo=useForkRef(bo,to);return jsxRuntimeExports.jsx(ListContext.Provider,{value:Co,children:jsxRuntimeExports.jsx(ListItemButtonRoot,{ref:Eo,href:mo.href||mo.to,component:(mo.href||mo.to)&&oo==="div"?"button":oo,focusVisibleClassName:clsx(yo.focusVisible,uo),ownerState:wo,className:clsx(yo.root,ho),...mo,classes:yo,children:ao})})});function getListItemSecondaryActionClassesUtilityClass(Yi){return generateUtilityClass("MuiListItemSecondaryAction",Yi)}generateUtilityClasses("MuiListItemSecondaryAction",["root","disableGutters"]);const useUtilityClasses$z=Yi=>{const{disableGutters:eo,classes:to}=Yi;return composeClasses({root:["root",eo&&"disableGutters"]},getListItemSecondaryActionClassesUtilityClass,to)},ListItemSecondaryActionRoot=styled("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.disableGutters&&eo.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:Yi})=>Yi.disableGutters,style:{right:0}}]}),ListItemSecondaryAction=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiListItemSecondaryAction"}),{className:no,...io}=ro,oo=reactExports.useContext(ListContext),ao={...ro,disableGutters:oo.disableGutters},so=useUtilityClasses$z(ao);return jsxRuntimeExports.jsx(ListItemSecondaryActionRoot,{className:clsx(so.root,no),ownerState:ao,ref:to,...io})});ListItemSecondaryAction.muiName="ListItemSecondaryAction";const overridesResolver$1=(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.dense&&eo.dense,to.alignItems==="flex-start"&&eo.alignItemsFlexStart,to.divider&&eo.divider,!to.disableGutters&&eo.gutters,!to.disablePadding&&eo.padding,to.hasSecondaryAction&&eo.secondaryAction]},useUtilityClasses$y=Yi=>{const{alignItems:eo,classes:to,dense:ro,disableGutters:no,disablePadding:io,divider:oo,hasSecondaryAction:ao}=Yi;return composeClasses({root:["root",ro&&"dense",!no&&"gutters",!io&&"padding",oo&&"divider",eo==="flex-start"&&"alignItemsFlexStart",ao&&"secondaryAction"],container:["container"]},getListItemUtilityClass,to)},ListItemRoot=styled("div",{name:"MuiListItem",slot:"Root",overridesResolver:overridesResolver$1})(memoTheme(({theme:Yi})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:eo})=>!eo.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:eo})=>!eo.disablePadding&&eo.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:eo})=>!eo.disablePadding&&!eo.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:eo})=>!eo.disablePadding&&!!eo.secondaryAction,style:{paddingRight:48}},{props:({ownerState:eo})=>!!eo.secondaryAction,style:{[`& > .${listItemButtonClasses.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:eo})=>eo.divider,style:{borderBottom:`1px solid ${(Yi.vars||Yi).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:eo})=>eo.button,style:{transition:Yi.transitions.create("background-color",{duration:Yi.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(Yi.vars||Yi).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:eo})=>eo.hasSecondaryAction,style:{paddingRight:48}}]}))),ListItemContainer=styled("li",{name:"MuiListItem",slot:"Container",overridesResolver:(Yi,eo)=>eo.container})({position:"relative"}),ListItem=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiListItem"}),{alignItems:no="center",children:io,className:oo,component:ao,components:so={},componentsProps:lo={},ContainerComponent:co="li",ContainerProps:{className:uo,...fo}={},dense:ho=!1,disableGutters:mo=!1,disablePadding:vo=!1,divider:Co=!1,secondaryAction:bo,slotProps:wo={},slots:yo={},...Eo}=ro,xo=reactExports.useContext(ListContext),So=reactExports.useMemo(()=>({dense:ho||xo.dense||!1,alignItems:no,disableGutters:mo}),[no,xo.dense,ho,mo]),To=reactExports.useRef(null),Ro=reactExports.Children.toArray(io),Po=Ro.length&&isMuiElement(Ro[Ro.length-1],["ListItemSecondaryAction"]),zo={...ro,alignItems:no,dense:So.dense,disableGutters:mo,disablePadding:vo,divider:Co,hasSecondaryAction:Po},Ho=useUtilityClasses$y(zo),Vo=useForkRef(To,to),Lo=yo.root||so.Root||ListItemRoot,Uo=wo.root||lo.root||{},Do={className:clsx(Ho.root,Uo.className,oo),...Eo};let Oo=ao||"li";return Po?(Oo=!Do.component&&!ao?"div":Oo,co==="li"&&(Oo==="li"?Oo="div":Do.component==="li"&&(Do.component="div")),jsxRuntimeExports.jsx(ListContext.Provider,{value:So,children:jsxRuntimeExports.jsxs(ListItemContainer,{as:co,className:clsx(Ho.container,uo),ref:Vo,ownerState:zo,...fo,children:[jsxRuntimeExports.jsx(Lo,{...Uo,...!isHostComponent(Lo)&&{as:Oo,ownerState:{...zo,...Uo.ownerState}},...Do,children:Ro}),Ro.pop()]})})):jsxRuntimeExports.jsx(ListContext.Provider,{value:So,children:jsxRuntimeExports.jsxs(Lo,{...Uo,as:Oo,ref:Vo,...!isHostComponent(Lo)&&{ownerState:{...zo,...Uo.ownerState}},...Do,children:[Ro,bo&&jsxRuntimeExports.jsx(ListItemSecondaryAction,{children:bo})]})})});function getListItemIconUtilityClass(Yi){return generateUtilityClass("MuiListItemIcon",Yi)}const listItemIconClasses=generateUtilityClasses("MuiListItemIcon",["root","alignItemsFlexStart"]),useUtilityClasses$x=Yi=>{const{alignItems:eo,classes:to}=Yi;return composeClasses({root:["root",eo==="flex-start"&&"alignItemsFlexStart"]},getListItemIconUtilityClass,to)},ListItemIconRoot=styled("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.alignItems==="flex-start"&&eo.alignItemsFlexStart]}})(memoTheme(({theme:Yi})=>({minWidth:56,color:(Yi.vars||Yi).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),ListItemIcon=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiListItemIcon"}),{className:no,...io}=ro,oo=reactExports.useContext(ListContext),ao={...ro,alignItems:oo.alignItems},so=useUtilityClasses$x(ao);return jsxRuntimeExports.jsx(ListItemIconRoot,{className:clsx(so.root,no),ownerState:ao,ref:to,...io})});function getListItemTextUtilityClass(Yi){return generateUtilityClass("MuiListItemText",Yi)}const listItemTextClasses=generateUtilityClasses("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),useUtilityClasses$w=Yi=>{const{classes:eo,inset:to,primary:ro,secondary:no,dense:io}=Yi;return composeClasses({root:["root",to&&"inset",io&&"dense",ro&&no&&"multiline"],primary:["primary"],secondary:["secondary"]},getListItemTextUtilityClass,eo)},ListItemTextRoot=styled("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[{[`& .${listItemTextClasses.primary}`]:eo.primary},{[`& .${listItemTextClasses.secondary}`]:eo.secondary},eo.root,to.inset&&eo.inset,to.primary&&to.secondary&&eo.multiline,to.dense&&eo.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${typographyClasses.root}:where(& .${listItemTextClasses.primary})`]:{display:"block"},[`.${typographyClasses.root}:where(& .${listItemTextClasses.secondary})`]:{display:"block"},variants:[{props:({ownerState:Yi})=>Yi.primary&&Yi.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:Yi})=>Yi.inset,style:{paddingLeft:56}}]}),ListItemText=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiListItemText"}),{children:no,className:io,disableTypography:oo=!1,inset:ao=!1,primary:so,primaryTypographyProps:lo,secondary:co,secondaryTypographyProps:uo,...fo}=ro,{dense:ho}=reactExports.useContext(ListContext);let mo=so??no,vo=co;const Co={...ro,disableTypography:oo,inset:ao,primary:!!mo,secondary:!!vo,dense:ho},bo=useUtilityClasses$w(Co);return mo!=null&&mo.type!==Typography&&!oo&&(mo=jsxRuntimeExports.jsx(Typography,{variant:ho?"body2":"body1",className:bo.primary,component:lo!=null&&lo.variant?void 0:"span",...lo,children:mo})),vo!=null&&vo.type!==Typography&&!oo&&(vo=jsxRuntimeExports.jsx(Typography,{variant:"body2",className:bo.secondary,color:"textSecondary",...uo,children:vo})),jsxRuntimeExports.jsxs(ListItemTextRoot,{className:clsx(bo.root,io),ownerState:Co,ref:to,...fo,children:[mo,vo]})});function nextItem$1(Yi,eo,to){return Yi===eo?Yi.firstChild:eo&&eo.nextElementSibling?eo.nextElementSibling:to?null:Yi.firstChild}function previousItem$1(Yi,eo,to){return Yi===eo?to?Yi.firstChild:Yi.lastChild:eo&&eo.previousElementSibling?eo.previousElementSibling:to?null:Yi.lastChild}function textCriteriaMatches(Yi,eo){if(eo===void 0)return!0;let to=Yi.innerText;return to===void 0&&(to=Yi.textContent),to=to.trim().toLowerCase(),to.length===0?!1:eo.repeating?to[0]===eo.keys[0]:to.startsWith(eo.keys.join(""))}function moveFocus$1(Yi,eo,to,ro,no,io){let oo=!1,ao=no(Yi,eo,eo?to:!1);for(;ao;){if(ao===Yi.firstChild){if(oo)return!1;oo=!0}const so=ro?!1:ao.disabled||ao.getAttribute("aria-disabled")==="true";if(!ao.hasAttribute("tabindex")||!textCriteriaMatches(ao,io)||so)ao=no(Yi,ao,to);else return ao.focus(),!0}return!1}const MenuList=reactExports.forwardRef(function(eo,to){const{actions:ro,autoFocus:no=!1,autoFocusItem:io=!1,children:oo,className:ao,disabledItemsFocusable:so=!1,disableListWrap:lo=!1,onKeyDown:co,variant:uo="selectedMenu",...fo}=eo,ho=reactExports.useRef(null),mo=reactExports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});useEnhancedEffect(()=>{no&&ho.current.focus()},[no]),reactExports.useImperativeHandle(ro,()=>({adjustStyleForScrollbar:(yo,{direction:Eo})=>{const xo=!ho.current.style.width;if(yo.clientHeight<ho.current.clientHeight&&xo){const So=`${getScrollbarSize(ownerDocument(yo))}
278px`;ho.current.style[Eo==="rtl"?"paddingLeft":"paddingRight"]=So,ho.current.style.width=`calc(100% + ${So})`}return ho.current}}),[]);const vo=yo=>{const Eo=ho.current,xo=yo.key,So=ownerDocument(Eo).activeElement;if(xo==="ArrowDown")yo.preventDefault(),moveFocus$1(Eo,So,lo,so,nextItem$1);else if(xo==="ArrowUp")yo.preventDefault(),moveFocus$1(Eo,So,lo,so,previousItem$1);else if(xo==="Home")yo.preventDefault(),moveFocus$1(Eo,null,lo,so,nextItem$1);else if(xo==="End")yo.preventDefault(),moveFocus$1(Eo,null,lo,so,previousItem$1);else if(xo.length===1){const To=mo.current,Ro=xo.toLowerCase(),Po=performance.now();To.keys.length>0&&(Po-To.lastTime>500?(To.keys=[],To.repeating=!0,To.previousKeyMatched=!0):To.repeating&&Ro!==To.keys[0]&&(To.repeating=!1)),To.lastTime=Po,To.keys.push(Ro);const zo=So&&!To.repeating&&textCriteriaMatches(So,To);To.previousKeyMatched&&(zo||moveFocus$1(Eo,So,!1,so,nextItem$1,To))?yo.preventDefault():To.previousKeyMatched=!1}co&&co(yo)},Co=useForkRef(ho,to);let bo=-1;reactExports.Children.forEach(oo,(yo,Eo)=>{if(!reactExports.isValidElement(yo)){bo===Eo&&(bo+=1,bo>=oo.length&&(bo=-1));return}yo.props.disabled||(uo==="selectedMenu"&&yo.props.selected||bo===-1)&&(bo=Eo),bo===Eo&&(yo.props.disabled||yo.props.muiSkipListHighlight||yo.type.muiSkipListHighlight)&&(bo+=1,bo>=oo.length&&(bo=-1))});const wo=reactExports.Children.map(oo,(yo,Eo)=>{if(Eo===bo){const xo={};return io&&(xo.autoFocus=!0),yo.props.tabIndex===void 0&&uo==="selectedMenu"&&(xo.tabIndex=0),reactExports.cloneElement(yo,xo)}return yo});return jsxRuntimeExports.jsx(List$1,{role:"menu",ref:Co,className:ao,onKeyDown:vo,tabIndex:no?0:-1,...fo,children:wo})});function getPopoverUtilityClass(Yi){return generateUtilityClass("MuiPopover",Yi)}generateUtilityClasses("MuiPopover",["root","paper"]);function getOffsetTop(Yi,eo){let to=0;return typeof eo=="number"?to=eo:eo==="center"?to=Yi.height/2:eo==="bottom"&&(to=Yi.height),to}function getOffsetLeft(Yi,eo){let to=0;return typeof eo=="number"?to=eo:eo==="center"?to=Yi.width/2:eo==="right"&&(to=Yi.width),to}function getTransformOriginValue(Yi){return[Yi.horizontal,Yi.vertical].map(eo=>typeof eo=="number"?`${eo}px`:eo).join(" ")}function resolveAnchorEl(Yi){return typeof Yi=="function"?Yi():Yi}const useUtilityClasses$v=Yi=>{const{classes:eo}=Yi;return composeClasses({root:["root"],paper:["paper"]},getPopoverUtilityClass,eo)},PopoverRoot=styled(Modal,{name:"MuiPopover",slot:"Root",overridesResolver:(Yi,eo)=>eo.root})({}),PopoverPaper=styled(Paper,{name:"MuiPopover",slot:"Paper",overridesResolver:(Yi,eo)=>eo.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Popover=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiPopover"}),{action:no,anchorEl:io,anchorOrigin:oo={vertical:"top",horizontal:"left"},anchorPosition:ao,anchorReference:so="anchorEl",children:lo,className:co,container:uo,elevation:fo=8,marginThreshold:ho=16,open:mo,PaperProps:vo={},slots:Co={},slotProps:bo={},transformOrigin:wo={vertical:"top",horizontal:"left"},TransitionComponent:yo=Grow,transitionDuration:Eo="auto",TransitionProps:{onEntering:xo,...So}={},disableScrollLock:To=!1,...Ro}=ro,Po=(bo==null?void 0:bo.paper)??vo,zo=reactExports.useRef(),Ho={...ro,anchorOrigin:oo,anchorReference:so,elevation:fo,marginThreshold:ho,externalPaperSlotProps:Po,transformOrigin:wo,TransitionComponent:yo,transitionDuration:Eo,TransitionProps:So},Vo=useUtilityClasses$v(Ho),Lo=reactExports.useCallback(()=>{if(so==="anchorPosition")return ao;const ya=resolveAnchorEl(io),ea=(ya&&ya.nodeType===1?ya:ownerDocument(zo.current).body).getBoundingClientRect();return{top:ea.top+getOffsetTop(ea,oo.vertical),left:ea.left+getOffsetLeft(ea,oo.horizontal)}},[io,oo.horizontal,oo.vertical,ao,so]),Uo=reactExports.useCallback(ya=>({vertical:getOffsetTop(ya,wo.vertical),horizontal:getOffsetLeft(ya,wo.horizontal)}),[wo.horizontal,wo.vertical]),Do=reactExports.useCallback(ya=>{const na={width:ya.offsetWidth,height:ya.offsetHeight},ea=Uo(na);if(so==="none")return{top:null,left:null,transformOrigin:getTransformOriginValue(ea)};const oa=Lo();let la=oa.top-ea.vertical,_a=oa.left-ea.horizontal;const Ea=la+na.height,Pa=_a+na.width,aa=ownerWindow(resolveAnchorEl(io)),Ca=aa.innerHeight-ho,Sa=aa.innerWidth-ho;if(ho!==null&&la<ho){const Ia=la-ho;la-=Ia,ea.vertical+=Ia}else if(ho!==null&&Ea>Ca){const Ia=Ea-Ca;la-=Ia,ea.vertical+=Ia}if(ho!==null&&_a<ho){const Ia=_a-ho;_a-=Ia,ea.horizontal+=Ia}else if(Pa>Sa){const Ia=Pa-Sa;_a-=Ia,ea.horizontal+=Ia}return{top:`${Math.round(la)}px`,left:`${Math.round(_a)}px`,transformOrigin:getTransformOriginValue(ea)}},[io,so,Lo,Uo,ho]),[Oo,ko]=reactExports.useState(mo),Bo=reactExports.useCallback(()=>{const ya=zo.current;if(!ya)return;const na=Do(ya);na.top!==null&&(ya.style.top=na.top),na.left!==null&&(ya.style.left=na.left),ya.style.transformOrigin=na.transformOrigin,ko(!0)},[Do]);reactExports.useEffect(()=>(To&&window.addEventListener("scroll",Bo),()=>window.removeEventListener("scroll",Bo)),[io,To,Bo]);const Fo=(ya,na)=>{xo&&xo(ya,na),Bo()},Qo=()=>{ko(!1)};reactExports.useEffect(()=>{mo&&Bo()}),reactExports.useImperativeHandle(no,()=>mo?{updatePosition:()=>{Bo()}}:null,[mo,Bo]),reactExports.useEffect(()=>{if(!mo)return;const ya=debounce$4(()=>{Bo()}),na=ownerWindow(io);return na.addEventListener("resize",ya),()=>{ya.clear(),na.removeEventListener("resize",ya)}},[io,mo,Bo]);let jo=Eo;Eo==="auto"&&!yo.muiSupportAuto&&(jo=void 0);const Xo=uo||(io?ownerDocument(resolveAnchorEl(io)).body:void 0),Zo={slots:Co,slotProps:{...bo,paper:Po}},[Wo,ta]=useSlot("paper",{elementType:PopoverPaper,externalForwardedProps:Zo,additionalProps:{elevation:fo,className:clsx(Vo.paper,Po==null?void 0:Po.className),style:Oo?Po.style:{...Po.style,opacity:0}
vendor: 14,671 bytes, line 278
278},ownerState:Ho}),[ra,{slotProps:da,...pa}]=useSlot("root",{elementType:PopoverRoot,externalForwardedProps:Zo,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:Xo,open:mo},ownerState:Ho,className:clsx(Vo.root,co)}),sa=useForkRef(zo,ta.ref);return jsxRuntimeExports.jsx(ra,{...pa,...!isHostComponent(ra)&&{slotProps:da,disableScrollLock:To},...Ro,ref:to,children:jsxRuntimeExports.jsx(yo,{appear:!0,in:mo,onEntering:Fo,onExited:Qo,timeout:jo,...So,children:jsxRuntimeExports.jsx(Wo,{...ta,ref:sa,children:lo})})})});function getMenuUtilityClass(Yi){return generateUtilityClass("MuiMenu",Yi)}generateUtilityClasses("MuiMenu",["root","paper","list"]);const RTL_ORIGIN={vertical:"top",horizontal:"right"},LTR_ORIGIN={vertical:"top",horizontal:"left"},useUtilityClasses$u=Yi=>{const{classes:eo}=Yi;return composeClasses({root:["root"],paper:["paper"],list:["list"]},getMenuUtilityClass,eo)},MenuRoot=styled(Popover,{shouldForwardProp:Yi=>rootShouldForwardProp(Yi)||Yi==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(Yi,eo)=>eo.root})({}),MenuPaper=styled(PopoverPaper,{name:"MuiMenu",slot:"Paper",overridesResolver:(Yi,eo)=>eo.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),MenuMenuList=styled(MenuList,{name:"MuiMenu",slot:"List",overridesResolver:(Yi,eo)=>eo.list})({outline:0}),Menu$1=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiMenu"}),{autoFocus:no=!0,children:io,className:oo,disableAutoFocusItem:ao=!1,MenuListProps:so={},onClose:lo,open:co,PaperProps:uo={},PopoverClasses:fo,transitionDuration:ho="auto",TransitionProps:{onEntering:mo,...vo}={},variant:Co="selectedMenu",slots:bo={},slotProps:wo={},...yo}=ro,Eo=useRtl(),xo={...ro,autoFocus:no,disableAutoFocusItem:ao,MenuListProps:so,onEntering:mo,PaperProps:uo,transitionDuration:ho,TransitionProps:vo,variant:Co},So=useUtilityClasses$u(xo),To=no&&!ao&&co,Ro=reactExports.useRef(null),Po=(Oo,ko)=>{Ro.current&&Ro.current.adjustStyleForScrollbar(Oo,{direction:Eo?"rtl":"ltr"}),mo&&mo(Oo,ko)},zo=Oo=>{Oo.key==="Tab"&&(Oo.preventDefault(),lo&&lo(Oo,"tabKeyDown"))};let Ho=-1;reactExports.Children.map(io,(Oo,ko)=>{reactExports.isValidElement(Oo)&&(Oo.props.disabled||(Co==="selectedMenu"&&Oo.props.selected||Ho===-1)&&(Ho=ko))});const Vo=bo.paper??MenuPaper,Lo=wo.paper??uo,Uo=useSlotProps({elementType:bo.root,externalSlotProps:wo.root,ownerState:xo,className:[So.root,oo]}),Do=useSlotProps({elementType:Vo,externalSlotProps:Lo,ownerState:xo,className:So.paper});return jsxRuntimeExports.jsx(MenuRoot,{onClose:lo,anchorOrigin:{vertical:"bottom",horizontal:Eo?"right":"left"},transformOrigin:Eo?RTL_ORIGIN:LTR_ORIGIN,slots:{paper:Vo,root:bo.root},slotProps:{root:Uo,paper:Do},open:co,ref:to,transitionDuration:ho,TransitionProps:{onEntering:Po,...vo},ownerState:xo,...yo,classes:fo,children:jsxRuntimeExports.jsx(MenuMenuList,{onKeyDown:zo,actions:Ro,autoFocus:no&&(Ho===-1||ao),autoFocusItem:To,variant:Co,...so,className:clsx(So.list,so.className),children:io})})});function getMenuItemUtilityClass(Yi){return generateUtilityClass("MuiMenuItem",Yi)}const menuItemClasses=generateUtilityClasses("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),overridesResolver=(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.dense&&eo.dense,to.divider&&eo.divider,!to.disableGutters&&eo.gutters]},useUtilityClasses$t=Yi=>{const{disabled:eo,dense:to,divider:ro,disableGutters:no,selected:io,classes:oo}=Yi,so=composeClasses({root:["root",to&&"dense",eo&&"disabled",!no&&"gutters",ro&&"divider",io&&"selected"]},getMenuItemUtilityClass,oo);return{...oo,...so}},MenuItemRoot=styled(ButtonBase,{shouldForwardProp:Yi=>rootShouldForwardProp(Yi)||Yi==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver})(memoTheme(({theme:Yi})=>({...Yi.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(Yi.vars||Yi).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${menuItemClasses.selected}`]:{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette.primary.mainChannel} / ${Yi.vars.palette.action.selectedOpacity})`:alpha$1(Yi.palette.primary.main,Yi.palette.action.selectedOpacity),[`&.${menuItemClasses.focusVisible}`]:{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette.primary.mainChannel} / calc(${Yi.vars.palette.action.selectedOpacity} + ${Yi.vars.palette.action.focusOpacity}))`:alpha$1(Yi.palette.primary.main,Yi.palette.action.selectedOpacity+Yi.palette.action.focusOpacity)}},[`&.${menuItemClasses.selected}:hover`]:{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette.primary.mainChannel} / calc(${Yi.vars.palette.action.selectedOpacity} + ${Yi.vars.palette.action.hoverOpacity}))`:alpha$1(Yi.palette.primary.main,Yi.palette.action.selectedOpacity+Yi.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette.primary.mainChannel} / ${Yi.vars.palette.action.selectedOpacity})`:alpha$1(Yi.palette.primary.main,Yi.palette.action.selectedOpacity)}},[`&.${menuItemClasses.focusVisible}`]:{backgroundColor:(Yi.vars||Yi).palette.action.focus},[`&.${menuItemClasses.disabled}`]:{opacity:(Yi.vars||Yi).palette.action.disabledOpacity},[`& + .${dividerClasses.root}`]:{marginTop:Yi.spacing(1),marginBottom:Yi.spacing(1)},[`& + .${dividerClasses.inset}`]:{marginLeft:52},[`& .${listItemTextClasses.root}`]:{marginTop:0,marginBottom:0},[`& .${listItemTextClasses.inset}`]:{paddingLeft:36},[`& .${listItemIconClasses.root}`]:{minWidth:36},variants:[{props:({ownerState:eo})=>!eo.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:eo})=>eo.divider,style:{borderBottom:`1px solid ${(Yi.vars||Yi).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:eo})=>!eo.dense,style:{[Yi.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:eo})=>eo.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...Yi.typography.body2,[`& .${listItemIconClasses.root} svg`]:{fontSize:"1.25rem"}}}]}))),MenuItem=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiMenuItem"}),{autoFocus:no=!1,component:io="li",dense:oo=!1,divider:ao=!1,disableGutters:so=!1,focusVisibleClassName:lo,role:co="menuitem",tabIndex:uo,className:fo,...ho}=ro,mo=reactExports.useContext(ListContext),vo=reactExports.useMemo(()=>({dense:oo||mo.dense||!1,disableGutters:so}),[mo.dense,oo,so]),Co=reactExports.useRef(null);useEnhancedEffect(()=>{no&&Co.current&&Co.current.focus()},[no]);const bo={...ro,dense:vo.dense,divider:ao,disableGutters:so},wo=useUtilityClasses$t(ro),yo=useForkRef(Co,to);let Eo;return ro.disabled||(Eo=uo!==void 0?uo:-1),jsxRuntimeExports.jsx(ListContext.Provider,{value:vo,children:jsxRuntimeExports.jsx(MenuItemRoot,{ref:yo,role:co,tabIndex:Eo,component:io,focusVisibleClassName:clsx(wo.focusVisible,lo),className:clsx(wo.root,fo),...ho,ownerState:bo,classes:wo})})});function getNativeSelectUtilityClasses(Yi){return generateUtilityClass("MuiNativeSelect",Yi)}const nativeSelectClasses=generateUtilityClasses("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),useUtilityClasses$s=Yi=>{const{classes:eo,variant:to,disabled:ro,multiple:no,open:io,error:oo}=Yi,ao={select:["select",to,ro&&"disabled",no&&"multiple",oo&&"error"],icon:["icon",`icon${capitalize$3(to)}`,io&&"iconOpen",ro&&"disabled"]};return composeClasses(ao,getNativeSelectUtilityClasses,eo)},StyledSelectSelect=styled("select")(({theme:Yi})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${nativeSelectClasses.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(Yi.vars||Yi).palette.background.paper},variants:[{props:({ownerState:eo})=>eo.variant!=="filled"&&eo.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(Yi.vars||Yi).shape.borderRadius,"&:focus":{borderRadius:(Yi.vars||Yi).shape.borderRadius},"&&&":{paddingRight:32}}}]})),NativeSelectSelect=styled(StyledSelectSelect,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:rootShouldForwardProp,overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.select,eo[to.variant],to.error&&eo.error,{[`&.${nativeSelectClasses.multiple}`]:eo.multiple}]}})({}),StyledSelectIcon=styled("svg")(({theme:Yi})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(Yi.vars||Yi).palette.action.active,[`&.${nativeSelectClasses.disabled}`]:{color:(Yi.vars||Yi).palette.action.disabled},variants:[{props:({ownerState:eo})=>eo.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),NativeSelectIcon=styled(StyledSelectIcon,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.icon,to.variant&&eo[`icon${capitalize$3(to.variant)}`],to.open&&eo.iconOpen]}})({}),NativeSelectInput=reactExports.forwardRef(function(eo,to){const{className:ro,disabled:no,error:io,IconComponent:oo,inputRef:ao,variant:so="standard",...lo}=eo,co={...eo,disabled:no,variant:so,error:io},uo=useUtilityClasses$s(co);return jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[jsxRuntimeExports.jsx(NativeSelectSelect,{ownerState:co,className:clsx(uo.select,ro),disabled:no,ref:ao||to,...lo}),eo.multiple?null:jsxRuntimeExports.jsx(NativeSelectIcon,{as:oo,ownerState:co,className:uo.icon})]})});var _span$1;const NotchedOutlineRoot$1=styled("fieldset",{shouldForwardProp:rootShouldForwardProp})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),NotchedOutlineLegend=styled("legend",{shouldForwardProp:rootShouldForwardProp})(memoTheme(({theme:Yi})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:eo})=>!eo.withLabel,style:{padding:0,lineHeight:"11px",transition:Yi.transitions.create("width",{duration:150,easing:Yi.transitions.easing.easeOut})}},{props:({ownerState:eo})=>eo.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:Yi.transitions.create("max-width",{duration:50,easing:Yi.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:eo})=>eo.withLabel&&eo.notched,style:{maxWidth:"100%",transition:Yi.transitions.create("max-width",{duration:100,easing:Yi.transitions.easing.easeOut,delay:50})}}]})));function NotchedOutline(Yi){const{children:eo,classes:to,className:ro,label:no,notched:io,...oo}=Yi,ao=no!=null&&no!=="",so={...Yi,notched:io,withLabel:ao};return jsxRuntimeExports.jsx(NotchedOutlineRoot$1,{"aria-hidden":!0,className:ro,ownerState:so,...oo,children:jsxRuntimeExports.jsx(NotchedOutlineLegend,{ownerState:so,children:ao?jsxRuntimeExports.jsx("span",{children:no}):_span$1||(_span$1=jsxRuntimeExports.jsx("span",{className:"notranslate",children:"​"}))})})}const useUtilityClasses$r=Yi=>{const{classes:eo}=Yi,ro=composeClasses({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},getOutlinedInputUtilityClass,eo);return{...eo,...ro}},OutlinedInputRoot=styled(InputBaseRoot,{shouldForwardProp:Yi=>rootShouldForwardProp(Yi)||Yi==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:rootOverridesResolver})(memoTheme(({theme:Yi})=>{const eo=Yi.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(Yi.vars||Yi).shape.borderRadius,[`&:hover .${outlinedInputClasses.notchedOutline}`]:{borderColor:(Yi.vars||Yi).palette.text.primary},[`&.${outlinedInputClasses.focused} .${outlinedInputClasses.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(Yi.palette).filter(([,to])=>to&&to.main).map(([to])=>({props:{color:to},style:{[`&.${outlinedInputClasses.focused} .${outlinedInputClasses.notchedOutline}`]:{borderColor:(Yi.vars||Yi).palette[to].main}}})),{props:{},style:{"@media (hover: none)":{[`&:hover .${outlinedInputClasses.notchedOutline}`]:{borderColor:Yi.vars?`rgba(${Yi.vars.palette.common.onBackgroundChannel} / 0.23)`:eo}},[`&.${outlinedInputClasses.error} .${outlinedInputClasses.notchedOutline}`]:{borderColor:(Yi.vars||Yi).palette.error.main},[`&.${outlinedInputClasses.disabled} .${outlinedInputClasses.notchedOutline}`]:{borderColor:(Yi.vars||Yi).palette.action.disabled}}},{props:({ownerState:to})=>to.startAdornment,style:{paddingLeft:14}},{props:({ownerState:to})=>to.endAdornment,style:{paddingRight:14}},{props:({ownerState:to})=>to.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:to,size:ro})=>to.multiline&&ro==="small",style:{padding:"8.5px 14px"}}]}})),NotchedOutlineRoot=styled(NotchedOutline,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(Yi,eo)=>eo.notchedOutline})(memoTheme(({theme:Yi})=>{const eo=Yi.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:Yi.vars?`rgba(${Yi.vars.palette.common.onBackgroundChannel} / 0.23)`:eo}})),OutlinedInputInput=styled(InputBaseInput,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:inputOverridesResolver})(memoTheme(({theme:Yi})=>({padding:"16.5px 14px",...!Yi.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:Yi.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:Yi.palette.mode==="light"?null:"#fff",caretColor:Yi.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...Yi.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[Yi.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:eo})=>eo.multiline,style:{padding:0}},{props:({ownerState:eo})=>eo.startAdornment,style:{paddingLeft:0}},{props:({ownerState:eo})=>eo.endAdornment,style:{paddingRight:0}}]}))),OutlinedInput=reactExports.forwardRef(function(eo,to){var ro;const no=useDefaultProps({props:eo,name:"MuiOutlinedInput"}),{components:io={},fullWidth:oo=!1,inputComponent:ao="input",label:so,multiline:lo=!1,notched:co,slots:uo={},type:fo="text",...ho}
278=no,mo=useUtilityClasses$r(no),vo=useFormControl(),Co=formControlState({props:no,muiFormControl:vo,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),bo={...no,color:Co.color||"primary",disabled:Co.disabled,error:Co.error,focused:Co.focused,formControl:vo,fullWidth:oo,hiddenLabel:Co.hiddenLabel,multiline:lo,size:Co.size,type:fo},wo=uo.root??io.Root??OutlinedInputRoot,yo=uo.input??io.Input??OutlinedInputInput;return jsxRuntimeExports.jsx(InputBase,{slots:{root:wo,input:yo},renderSuffix:Eo=>jsxRuntimeExports.jsx(NotchedOutlineRoot,{ownerState:bo,className:mo.notchedOutline,label:so!=null&&so!==""&&Co.required?ro||(ro=jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[so," ","*"]})):so,notched:typeof co<"u"?co:!!(Eo.startAdornment||Eo.filled||Eo.focused)}),fullWidth:oo,inputComponent:ao,multiline:lo,ref:to,type:fo,...ho,classes:{...mo,notchedOutline:null}})});OutlinedInput&&(OutlinedInput.muiName="Input");const RadioButtonUncheckedIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),RadioButtonCheckedIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),RadioButtonIconRoot=styled("span",{shouldForwardProp:rootShouldForwardProp})({position:"relative",display:"flex"}),RadioButtonIconBackground=styled(RadioButtonUncheckedIcon)({transform:"scale(1)"}),RadioButtonIconDot=styled(RadioButtonCheckedIcon)(memoTheme(({theme:Yi})=>({left:0,position:"absolute",transform:"scale(0)",transition:Yi.transitions.create("transform",{easing:Yi.transitions.easing.easeIn,duration:Yi.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:Yi.transitions.create("transform",{easing:Yi.transitions.easing.easeOut,duration:Yi.transitions.duration.shortest})}}]})));function RadioButtonIcon(Yi){const{checked:eo=!1,classes:to={},fontSize:ro}=Yi,no={...Yi,checked:eo};return jsxRuntimeExports.jsxs(RadioButtonIconRoot,{className:to.root,ownerState:no,children:[jsxRuntimeExports.jsx(RadioButtonIconBackground,{fontSize:ro,className:to.background,ownerState:no}),jsxRuntimeExports.jsx(RadioButtonIconDot,{fontSize:ro,className:to.dot,ownerState:no})]})}const RadioGroupContext=reactExports.createContext(void 0);function useRadioGroup(){return reactExports.useContext(RadioGroupContext)}function getRadioUtilityClass(Yi){return generateUtilityClass("MuiRadio",Yi)}const radioClasses=generateUtilityClasses("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),useUtilityClasses$q=Yi=>{const{classes:eo,color:to,size:ro}=Yi,no={root:["root",`color${capitalize$3(to)}`,ro!=="medium"&&`size${capitalize$3(ro)}`]};return{...eo,...composeClasses(no,getRadioUtilityClass,eo)}},RadioRoot=styled(SwitchBase,{shouldForwardProp:Yi=>rootShouldForwardProp(Yi)||Yi==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.size!=="medium"&&eo[`size${capitalize$3(to.size)}`],eo[`color${capitalize$3(to.color)}`]]}})(memoTheme(({theme:Yi})=>({color:(Yi.vars||Yi).palette.text.secondary,[`&.${radioClasses.disabled}`]:{color:(Yi.vars||Yi).palette.action.disabled},variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette.action.activeChannel} / ${Yi.vars.palette.action.hoverOpacity})`:alpha$1(Yi.palette.action.active,Yi.palette.action.hoverOpacity)}}},...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main).map(([eo])=>({props:{color:eo,disableRipple:!1},style:{"&:hover":{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette[eo].mainChannel} / ${Yi.vars.palette.action.hoverOpacity})`:alpha$1(Yi.palette[eo].main,Yi.palette.action.hoverOpacity)}}})),...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main).map(([eo])=>({props:{color:eo},style:{[`&.${radioClasses.checked}`]:{color:(Yi.vars||Yi).palette[eo].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function areEqualValues$1(Yi,eo){return typeof eo=="object"&&eo!==null?Yi===eo:String(Yi)===String(eo)}const defaultCheckedIcon=jsxRuntimeExports.jsx(RadioButtonIcon,{checked:!0}),defaultIcon=jsxRuntimeExports.jsx(RadioButtonIcon,{}),Radio=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiRadio"}),{checked:no,checkedIcon:io=defaultCheckedIcon,color:oo="primary",icon:ao=defaultIcon,name:so,onChange:lo,size:co="medium",className:uo,disableRipple:fo=!1,...ho}=ro,mo={...ro,disableRipple:fo,color:oo,size:co},vo=useUtilityClasses$q(mo),Co=useRadioGroup();let bo=no;
278const wo=createChainedFunction(lo,Co&&Co.onChange);let yo=so;return Co&&(typeof bo>"u"&&(bo=areEqualValues$1(Co.value,ro.value)),typeof yo>"u"&&(yo=Co.name)),jsxRuntimeExports.jsx(RadioRoot,{type:"radio",icon:reactExports.cloneElement(ao,{fontSize:defaultIcon.props.fontSize??co}),checkedIcon:reactExports.cloneElement(io,{fontSize:defaultCheckedIcon.props.fontSize??co}),ownerState:mo,classes:vo,name:yo,checked:bo,onChange:wo,ref:to,className:clsx(vo.root,uo),...ho})});function getRadioGroupUtilityClass(Yi){return generateUtilityClass("MuiRadioGroup",Yi)}generateUtilityClasses("MuiRadioGroup",["root","row","error"]);const useUtilityClasses$p=Yi=>{const{classes:eo,row:to,error:ro}=Yi;return composeClasses({root:["root",to&&"row",ro&&"error"]},getRadioGroupUtilityClass,eo)},RadioGroup=reactExports.forwardRef(function(eo,to){const{actions:ro,children:no,className:io,defaultValue:oo,name:ao,onChange:so,value:lo,...co}=eo,uo=reactExports.useRef(null),fo=useUtilityClasses$p(eo),[ho,mo]=useControlled({controlled:lo,default:oo,name:"RadioGroup"});reactExports.useImperativeHandle(ro,()=>({focus:()=>{let wo=uo.current.querySelector("input:not(:disabled):checked");wo||(wo=uo.current.querySelector("input:not(:disabled)")),wo&&wo.focus()}}),[]);const vo=useForkRef(to,uo),Co=useId(ao),bo=reactExports.useMemo(()=>({name:Co,onChange(wo){mo(wo.target.value),so&&so(wo,wo.target.value)},value:ho}),[Co,so,mo,ho]);return jsxRuntimeExports.jsx(RadioGroupContext.Provider,{value:bo,children:jsxRuntimeExports.jsx(FormGroup,{role:"radiogroup",ref:vo,className:clsx(fo.root,io),...co,children:no})})});function getSelectUtilityClasses(Yi){return generateUtilityClass("MuiSelect",Yi)}const selectClasses=generateUtilityClasses("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var _span;const SelectSelect=styled(StyledSelectSelect,{name:"MuiSelect",slot:"Select",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[{[`&.${selectClasses.select}`]:eo.select},{[`&.${selectClasses.select}`]:eo[to.variant]},{[`&.${selectClasses.error}`]:eo.error},{[`&.${selectClasses.multiple}`]:eo.multiple}]}})({[`&.${selectClasses.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),SelectIcon=styled(StyledSelectIcon,{name:"MuiSelect",slot:"Icon",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.icon,to.variant&&eo[`icon${capitalize$3(to.variant)}`],to.open&&eo.iconOpen]}})({}),SelectNativeInput=styled("input",{shouldForwardProp:Yi=>slotShouldForwardProp(Yi)&&Yi!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(Yi,eo)=>eo.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function areEqualValues(Yi,eo){return typeof eo=="object"&&eo!==null?Yi===eo:String(Yi)===String(eo)}function isEmpty$1(Yi){return Yi==null||typeof Yi=="string"&&!Yi.trim()}const useUtilityClasses$o=Yi=>{const{classes:eo,variant:to,disabled:ro,multiple:no,open:io,error:oo}=Yi,ao={select:["select",to,ro&&"disabled",no&&"multiple",oo&&"error"],icon:["icon",`icon${capitalize$3(to)}`,io&&"iconOpen",ro&&"disabled"],nativeInput:["nativeInput"]};return composeClasses(ao,getSelectUtilityClasses,eo)},SelectInput=reactExports.forwardRef(function(eo,to){var ja;const{"aria-describedby":ro,"aria-label":no,autoFocus:io,autoWidth:oo,children:ao,className:so,defaultOpen:lo,defaultValue:co,disabled:uo,displayEmpty:fo,error:ho=!1,IconComponent:mo,inputRef:vo,labelId:Co,MenuProps:bo={},multiple:wo,name:yo,onBlur:Eo,onChange:xo,onClose:So,onFocus:To,onOpen:Ro,open:Po,readOnly:zo,renderValue:Ho,SelectDisplayProps:Vo={},tabIndex:Lo,type:Uo,value:Do,variant:Oo="standard",...ko}=eo,[Bo,Fo]=useControlled({controlled:Do,default:co,name:"Select"}),[Qo,jo]=useControlled({controlled:Po,default:lo,name:"Select"}),Xo=reactExports.useRef(null),Zo=reactExports.useRef(null),[Wo,ta]=reactExports.useState(null),{current:ra}=reactExports.useRef(Po!=null),[da,pa]=reactExports.useState(),sa=useForkRef(to,vo),ya=reactExports.useCallback(Ga=>{Zo.current=Ga,Ga&&ta(Ga)},[]),na=Wo==null?void 0:Wo.parentNode;reactExports.useImperativeHandle(sa,()=>({focus:()=>{Zo.current.focus()}
vendor: 4,168 bytes, line 278
278,node:Xo.current,value:Bo}),[Bo]),reactExports.useEffect(()=>{lo&&Qo&&Wo&&!ra&&(pa(oo?null:na.clientWidth),Zo.current.focus())},[Wo,oo]),reactExports.useEffect(()=>{io&&Zo.current.focus()},[io]),reactExports.useEffect(()=>{if(!Co)return;const Ga=ownerDocument(Zo.current).getElementById(Co);if(Ga){const Va=()=>{getSelection().isCollapsed&&Zo.current.focus()};return Ga.addEventListener("click",Va),()=>{Ga.removeEventListener("click",Va)}}},[Co]);const ea=(Ga,Va)=>{Ga?Ro&&Ro(Va):So&&So(Va),ra||(pa(oo?null:na.clientWidth),jo(Ga))},oa=Ga=>{Ga.button===0&&(Ga.preventDefault(),Zo.current.focus(),ea(!0,Ga))},la=Ga=>{ea(!1,Ga)},_a=reactExports.Children.toArray(ao),Ea=Ga=>{const Va=_a.find(qa=>qa.props.value===Ga.target.value);Va!==void 0&&(Fo(Va.props.value),xo&&xo(Ga,Va))},Pa=Ga=>Va=>{let qa;if(Va.currentTarget.hasAttribute("tabindex")){if(wo){qa=Array.isArray(Bo)?Bo.slice():[];const us=Bo.indexOf(Ga.props.value);us===-1?qa.push(Ga.props.value):qa.splice(us,1)}else qa=Ga.props.value;if(Ga.props.onClick&&Ga.props.onClick(Va),Bo!==qa&&(Fo(qa),xo)){const us=Va.nativeEvent||Va,as=new us.constructor(us.type,us);Object.defineProperty(as,"target",{writable:!0,value:{value:qa,name:yo}}),xo(as,Ga)}wo||ea(!1,Va)}},aa=Ga=>{zo||[" ","ArrowUp","ArrowDown","Enter"].includes(Ga.key)&&(Ga.preventDefault(),ea(!0,Ga))},Ca=Wo!==null&&Qo,Sa=Ga=>{!Ca&&Eo&&(Object.defineProperty(Ga,"target",{writable:!0,value:{value:Bo,name:yo}}),Eo(Ga))};delete ko["aria-invalid"];let Ia,Ta;const va=[];let xa=!1;(isFilled({value:Bo})||fo)&&(Ho?Ia=Ho(Bo):xa=!0);const Oa=_a.map(Ga=>{if(!reactExports.isValidElement(Ga))return null;let Va;if(wo){if(!Array.isArray(Bo))throw new Error(formatMuiErrorMessage$1(2));Va=Bo.some(qa=>areEqualValues(qa,Ga.props.value)),Va&&xa&&va.push(Ga.props.children)}else Va=areEqualValues(Bo,Ga.props.value),Va&&xa&&(Ta=Ga.props.children);return reactExports.cloneElement(Ga,{"aria-selected":Va?"true":"false",onClick:Pa(Ga),onKeyUp:qa=>{qa.key===" "&&qa.preventDefault(),Ga.props.onKeyUp&&Ga.props.onKeyUp(qa)},role:"option",selected:Va,value:void 0,"data-value":Ga.props.value})});xa&&(wo?va.length===0?Ia=null:Ia=va.reduce((Ga,Va,qa)=>(Ga.push(Va),qa<va.length-1&&Ga.push(", "),Ga),[]):Ia=Ta);let Da=da;!oo&&ra&&Wo&&(Da=na.clientWidth);let ia;typeof Lo<"u"?ia=Lo:ia=uo?null:0;const Ko=Vo.id||(yo?`mui-component-select-${yo}`:void 0),Yo={...eo,variant:Oo,value:Bo,open:Ca,error:ho},ma=useUtilityClasses$o(Yo),ga={...bo.PaperProps,...(ja=bo.slotProps)==null?void 0:ja.paper},Fa=useId();return jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[jsxRuntimeExports.jsx(SelectSelect,{as:"div",ref:ya,tabIndex:ia,role:"combobox","aria-controls":Fa,"aria-disabled":uo?"true":void 0,"aria-expanded":Ca?"true":"false","aria-haspopup":"listbox","aria-label":no,"aria-labelledby":[Co,Ko].filter(Boolean).join(" ")||void 0,"aria-describedby":ro,onKeyDown:aa,onMouseDown:uo||zo?null:oa,onBlur:Sa,onFocus:To,...Vo,ownerState:Yo,className:clsx(Vo.className,ma.select,so),id:Ko,children:isEmpty$1(Ia)?_span||(_span=jsxRuntimeExports.jsx("span",{className:"notranslate",children:"​"})):Ia}),jsxRuntimeExports.jsx(SelectNativeInput,{"aria-invalid":ho,value:Array.isArray(Bo)?Bo.join(","):Bo,name:yo,ref:Xo,"aria-hidden":!0,onChange:Ea,tabIndex:-1,disabled:uo,className:ma.nativeInput,autoFocus:io,...ko,ownerState:Yo}),jsxRuntimeExports.jsx(SelectIcon,{as:mo,className:ma.icon,ownerState:Yo}),jsxRuntimeExports.jsx(Menu$1,{id:`menu-${yo||""}`,anchorEl:na,open:Ca,onClose:la,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...bo,MenuListProps:{"aria-labelledby":Co,role:"listbox","aria-multiselectable":wo?"true":void 0,disableListWrap:!0,id:Fa,...bo.MenuListProps},slotProps:{...bo.slotProps,paper:{...ga,style:{minWidth:Da,...ga!=null?ga.style:null}}},children:Oa})]})}),useUtilityClasses$n=Yi=>{const{classes:eo}=Yi;return eo},styledRootConfig={name:"MuiSelect",overridesResolver:(Yi,eo)=>eo.root,shouldForwardProp:Yi=>rootShouldForwardProp(Yi)&&Yi!=="variant",slot:"Root"},StyledInput=styled(Input,styledRootConfig)(""),StyledOutlinedInput=styled(OutlinedInput,styledRootConfig)(""),StyledFilledInput=styled(
vendor: 8,015 bytes, lines 278-312
278FilledInput,styledRootConfig)(""),Select=reactExports.forwardRef(function(eo,to){const ro=useThemeProps({name:"MuiSelect",props:eo}),{autoWidth:no=!1,children:io,classes:oo={},className:ao,defaultOpen:so=!1,displayEmpty:lo=!1,IconComponent:co=ArrowDropDownIcon,id:uo,input:fo,inputProps:ho,label:mo,labelId:vo,MenuProps:Co,multiple:bo=!1,native:wo=!1,onClose:yo,onOpen:Eo,open:xo,renderValue:So,SelectDisplayProps:To,variant:Ro="outlined",...Po}=ro,zo=wo?NativeSelectInput:SelectInput,Ho=useFormControl(),Vo=formControlState({props:ro,muiFormControl:Ho,states:["variant","error"]}),Lo=Vo.variant||Ro,Uo={...ro,variant:Lo,classes:oo},Do=useUtilityClasses$n(Uo),{root:Oo,...ko}=Do,Bo=fo||{standard:jsxRuntimeExports.jsx(StyledInput,{ownerState:Uo}),outlined:jsxRuntimeExports.jsx(StyledOutlinedInput,{label:mo,ownerState:Uo}),filled:jsxRuntimeExports.jsx(StyledFilledInput,{ownerState:Uo})}[Lo],Fo=useForkRef(to,getReactNodeRef(Bo));return jsxRuntimeExports.jsx(reactExports.Fragment,{children:reactExports.cloneElement(Bo,{inputComponent:zo,inputProps:{children:io,error:Vo.error,IconComponent:co,variant:Lo,type:void 0,multiple:bo,...wo?{id:uo}:{autoWidth:no,defaultOpen:so,displayEmpty:lo,labelId:vo,MenuProps:Co,onClose:yo,onOpen:Eo,open:xo,renderValue:So,SelectDisplayProps:{id:uo,...To}},...ho,classes:ho?deepmerge$1(ko,ho.classes):ko,...fo?fo.props.inputProps:{}},...(bo&&wo||lo)&&Lo==="outlined"?{notched:!0}:{},ref:Fo,className:clsx(Bo.props.className,ao,Do.root),...!fo&&{variant:Lo},...Po})})});Select.muiName="Select";function getSkeletonUtilityClass(Yi){return generateUtilityClass("MuiSkeleton",Yi)}generateUtilityClasses("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const useUtilityClasses$m=Yi=>{const{classes:eo,variant:to,animation:ro,hasChildren:no,width:io,height:oo}=Yi;return composeClasses({root:["root",to,ro,no&&"withChildren",no&&!io&&"fitContent",no&&!oo&&"heightAuto"]},getSkeletonUtilityClass,eo)},pulseKeyframe=keyframes`
279  0% {
280    opacity: 1;
281  }
282
283  50% {
284    opacity: 0.4;
285  }
286
287  100% {
288    opacity: 1;
289  }
290`,waveKeyframe=keyframes`
291  0% {
292    transform: translateX(-100%);
293  }
294
295  50% {
296    /* +0.5s of delay between each loop */
297    transform: translateX(100%);
298  }
299
300  100% {
301    transform: translateX(100%);
302  }
303`,pulseAnimation=typeof pulseKeyframe!="string"?css$1`
304        animation: ${pulseKeyframe} 2s ease-in-out 0.5s infinite;
305      `:null,waveAnimation=typeof waveKeyframe!="string"?css$1`
306        animation: ${waveKeyframe} 2s linear 0.5s infinite;
307      `:null,SkeletonRoot=styled("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,eo[to.variant],to.animation!==!1&&eo[to.animation],to.hasChildren&&eo.withChildren,to.hasChildren&&!to.width&&eo.fitContent,to.hasChildren&&!to.height&&eo.heightAuto]}})(memoTheme(({theme:Yi})=>{const eo=getUnit(Yi.shape.borderRadius)||"px",to=toUnitless(Yi.shape.borderRadius);return{display:"block",backgroundColor:Yi.vars?Yi.vars.palette.Skeleton.bg:alpha$1(Yi.palette.text.primary,Yi.palette.mode==="light"?.11:.13),height:"1.2em",variants:[{props:{variant:"text"},style:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${to}${eo}/${Math.round(to/.6*10)/10}${eo}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(Yi.vars||Yi).shape.borderRadius}},{props:({ownerState:ro})=>ro.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:ro})=>ro.hasChildren&&!ro.width,style:{maxWidth:"fit-content"}},{props:({ownerState:ro})=>ro.hasChildren&&!ro.height,style:{height:"auto"}},{props:{animation:"pulse"},style:pulseAnimation||{animation:`${pulseKeyframe} 2s ease-in-out 0.5s infinite`}},{props:{animation:"wave"},style:{position:"relative",overflow:"hidden",WebkitMaskImage:"-webkit-radial-gradient(white, black)","&::after":{background:`linear-gradient(
308                90deg,
309                transparent,
310                ${(Yi.vars||Yi).palette.action.hover},
311                transparent
312              )`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:waveAnimation||{animation:`${waveKeyframe} 2s linear 0.5s infinite`}}]}})),Skeleton=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiSkeleton"}),{animation:no="pulse",className:io,component:oo="span",height:ao,style:so,variant:lo="text",width:co,...uo}=ro,fo={...ro,animation:no,component:oo,variant:lo,hasChildren:!!uo.children},ho=useUtilityClasses$m(fo);return jsxRuntimeExports.jsx(SkeletonRoot,{as:oo,ref:to,className:clsx(ho.root,io),ownerState:fo,...uo,style:{width:co,height:ao,...so}})});function areArraysEqual$1(Yi,eo,to=(ro,no)=>ro===no){return Yi.length===eo.length&&Yi.every((ro,no)=>to(ro,eo[no]))}const INTENTIONAL_DRAG_COUNT_THRESHOLD=2;function asc(Yi,eo){return Yi-eo}function findClosest(Yi,eo){const{index:to}=Yi.reduce((ro,no,io)=>{const oo=Math.abs(eo-no);return ro===null||oo<ro.distance||oo===ro.distance?{distance:oo,index:io}:ro},null)??{};return to}function trackFinger(Yi,eo){if(eo.current!==void 0&&Yi.changedTouches){const to=Yi;for(let ro=0;ro<to.changedTouches.length;ro+=1){const no=to.changedTouches[ro];if(no.identifier===eo.current)return{x:no.clientX,y:no.clientY}}return!1}return{x:Yi.clientX,y:Yi.clientY}}function valueToPercent(Yi,eo,to){return(Yi-eo)*100/(to-eo)}function percentToValue(Yi,eo,to){return(to-eo)*Yi+eo}function getDecimalPrecision(Yi){if(Math.abs(Yi)<1){const to=Yi.toExponential().split("e-"),ro=to[0].split(".")[1];return(ro?ro.length:0)+parseInt(to[1],10)}const eo=Yi.toString().split(".")[1];return eo?eo.length:0}function roundValueToStep(Yi,eo,to){const ro=Math.round((Yi-to)/eo)*eo+to;return Number(ro.toFixed(getDecimalPrecision(eo)))}function setValueIndex({values:Yi,newValue:eo,index:to}){const ro=Yi.slice();return ro[to]=eo,ro.sort(asc)}function focusThumb({sliderRef:Yi,activeIndex:eo,setActive:to}){var no,io,oo;const ro=ownerDocument(Yi.current);(!((no=Yi.current)!=null&&no.contains(ro.activeElement))||Number((io=ro==null?void 0:ro.activeElement)==null?void 0:io.getAttribute("data-index"))!==eo)&&((oo=Yi.current)==null||oo.querySelector(`[type="range"][data-index="${eo}"]`).focus()),to&&to(eo)}function areValuesEqual(Yi,eo){return typeof Yi=="number"&&typeof eo=="number"?Yi===eo:typeof Yi=="object"&&typeof eo=="object"?areArraysEqual$1(Yi,eo):!1}const axisProps={horizontal:{offset:Yi=>({left:`${Yi}%`}),leap:Yi=>({width:`${Yi}%`})},"horizontal-reverse":{offset:Yi=>({right:`${Yi}%`}),leap:Yi=>({width:`${Yi}%`})},vertical:{offset:Yi=>({bottom:`${Yi}%`}),leap:Yi=>({height:`${Yi}%`})}},Identity$1=Yi=>Yi;let cachedSupportsTouchActionNone;function doesSupportTouchActionNone(){return cachedSupportsTouchActionNone===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?cachedSupportsTouchActionNone=CSS.supports("touch-action","none"):cachedSupportsTouchActionNone=!0),cachedSupportsTouchActionNone}function useSlider(Yi){const{"aria-labelledby":eo,defaultValue:to,disabled:ro=!1,disableSwap:no=!1,isRtl:io=!1,marks:oo=!1,max:ao=100,min:so=0,name:lo,onChange:co,onChangeCommitted:uo,orientation:fo="horizontal",rootRef:ho,scale:mo=Identity$1,step:vo=1,shiftStep:Co=10,tabIndex:bo,value:wo}=Yi,yo=reactExports.useRef(void 0),[Eo,xo]=reactExports.useState(-1),[So,To]=reactExports.useState(-1),[Ro,Po]=reactExports.useState(!1),zo=reactExports.useRef(0),[Ho,Vo]=useControlled({controlled:wo,default:to??so,name:"Slider"}),Lo=co&&((va,xa,Oa)=>{const Da=va.nativeEvent||va,ia=new Da.constructor(Da.type,Da);Object.defineProperty(ia,"target",{writable:!0,value:{value:xa,name:lo}}),co(ia,xa,Oa)}),Uo=Array.isArray(Ho);let Do=Uo?Ho.slice().sort(asc):[Ho];Do=Do.map(va=>va==null?so:clamp(va,so,ao));const Oo=oo===!0&&vo!==null?[...Array(Math.floor((ao-so)/vo)+1)].map((va,xa)=>({value:so+vo*xa}
312)):oo||[],ko=Oo.map(va=>va.value),[Bo,Fo]=reactExports.useState(-1),Qo=reactExports.useRef(null),jo=useForkRef(ho,Qo),Xo=va=>xa=>{var Da;const Oa=Number(xa.currentTarget.getAttribute("data-index"));isFocusVisible(xa.target)&&Fo(Oa),To(Oa),(Da=va==null?void 0:va.onFocus)==null||Da.call(va,xa)},Zo=va=>xa=>{var Oa;isFocusVisible(xa.target)||Fo(-1),To(-1),(Oa=va==null?void 0:va.onBlur)==null||Oa.call(va,xa)},Wo=(va,xa)=>{const Oa=Number(va.currentTarget.getAttribute("data-index")),Da=Do[Oa],ia=ko.indexOf(Da);let Ko=xa;if(Oo&&vo==null){const Yo=ko[ko.length-1];Ko>Yo?Ko=Yo:Ko<ko[0]?Ko=ko[0]:Ko=Ko<Da?ko[ia-1]:ko[ia+1]}if(Ko=clamp(Ko,so,ao),Uo){no&&(Ko=clamp(Ko,Do[Oa-1]||-1/0,Do[Oa+1]||1/0));const Yo=Ko;Ko=setValueIndex({values:Do,newValue:Ko,index:Oa});let ma=Oa;no||(ma=Ko.indexOf(Yo)),focusThumb({sliderRef:Qo,activeIndex:ma})}Vo(Ko),Fo(Oa),Lo&&!areValuesEqual(Ko,Ho)&&Lo(va,Ko,Oa),uo&&uo(va,Ko)},ta=va=>xa=>{var Oa;if(vo!==null){const Da=Number(xa.currentTarget.getAttribute("data-index")),ia=Do[Da];let Ko=null;(xa.key==="ArrowLeft"||xa.key==="ArrowDown")&&xa.shiftKey||xa.key==="PageDown"?Ko=Math.max(ia-Co,so):((xa.key==="ArrowRight"||xa.key==="ArrowUp")&&xa.shiftKey||xa.key==="PageUp")&&(Ko=Math.min(ia+Co,ao)),Ko!==null&&(Wo(xa,Ko),xa.preventDefault())}(Oa=va==null?void 0:va.onKeyDown)==null||Oa.call(va,xa)};useEnhancedEffect(()=>{var va;ro&&Qo.current.contains(document.activeElement)&&((va=document.activeElement)==null||va.blur())},[ro]),ro&&Eo!==-1&&xo(-1),ro&&Bo!==-1&&Fo(-1);const ra=va=>xa=>{var Oa;(Oa=va.onChange)==null||Oa.call(va,xa),Wo(xa,xa.target.valueAsNumber)},da=reactExports.useRef(void 0);let pa=fo;io&&fo==="horizontal"&&(pa+="-reverse");const sa=({finger:va,move:xa=!1})=>{const{current:Oa}=Qo,{width:Da,height:ia,bottom:Ko,left:Yo}=Oa.getBoundingClientRect();let ma;pa.indexOf("vertical")===0?ma=(Ko-va.y)/ia:ma=(va.x-Yo)/Da,pa.indexOf("-reverse")!==-1&&(ma=1-ma);let ga;if(ga=percentToValue(ma,so,ao),vo)ga=roundValueToStep(ga,vo,so);else{const ja=findClosest(ko,ga);ga=ko[ja]}ga=clamp(ga,so,ao);let Fa=0;if(Uo){xa?Fa=da.current:Fa=findClosest(Do,ga),no&&(ga=clamp(ga,Do[Fa-1]||-1/0,Do[Fa+1]||1/0));const ja=ga;ga=setValueIndex({values:Do,newValue:ga,index:Fa}),no&&xa||(Fa=ga.indexOf(ja),da.current=Fa)}return{newValue:ga,activeIndex:Fa}},ya=useEventCallback(va=>{const xa=trackFinger(va,yo);if(!xa)return;if(zo.current+=1,va.type==="mousemove"&&va.buttons===0){na(va);return}const{newValue:Oa,activeIndex:Da}=sa({finger:xa,move:!0});focusThumb({sliderRef:Qo,activeIndex:Da,setActive:xo}),Vo(Oa),!Ro&&zo.current>INTENTIONAL_DRAG_COUNT_THRESHOLD&&Po(!0),Lo&&!areValuesEqual(Oa,Ho)&&Lo(va,Oa,Da)}),na=useEventCallback(va=>{const xa=trackFinger(va,yo);if(Po(!1),!xa)return;const{newValue:Oa}=sa({finger:xa,move:!0});xo(-1),va.type==="touchend"&&To(-1),uo&&uo(va,Oa),yo.current=void 0,oa()}),ea=useEventCallback(va=>{if(ro)return;doesSupportTouchActionNone()||va.preventDefault();const xa=va.changedTouches[0];xa!=null&&(yo.current=xa.identifier);const Oa=trackFinger(va,yo);if(Oa!==!1){const{newValue:ia,activeIndex:Ko}=sa({finger:Oa});focusThumb({sliderRef:Qo,activeIndex:Ko,setActive:xo}),Vo(ia),Lo&&!areValuesEqual(ia,Ho)&&Lo(va,ia,Ko)}zo.current=0;const Da=ownerDocument(Qo.current);Da.addEventListener("touchmove",ya,{passive:!0}),Da.addEventListener("touchend",na,{passive:!0})}),oa=reactExports.useCallback(()=>{const va=ownerDocument(Qo.current);va.removeEventListener("mousemove",ya),va.removeEventListener("mouseup",na),va.removeEventListener("touchmove",ya),va.removeEventListener("touchend",na)},[na,ya]);reactExports.useEffect(()=>{const{current:va}=Qo;return va.addEventListener("touchstart",ea,{passive:doesSupportTouchActionNone()}),()=>{va.removeEventListener("touchstart",ea),oa()}},[oa,ea]),reactExports.useEffect(()=>{ro&&oa()},[ro,oa]);const la=va=>xa=>{var ia;if((ia=va.onMouseDown)==null||ia.call(va,xa),ro||xa.defaultPrevented||xa.button!==0)return;xa.preventDefault();const Oa=trackFinger(xa,yo);if(Oa!==!1){const{newValue:Ko,activeIndex:Yo}=sa({finger:Oa});focusThumb({sliderRef:Qo,activeIndex:Yo,setActive:xo}),Vo(Ko),Lo&&!areValuesEqual(Ko,Ho)&&Lo(xa,Ko,Yo)}zo.current=0;const Da=ownerDocument(Qo.current);Da.addEventListener("mousemove",ya,{passive:!0}),Da.addEventListener("mouseup",na)}
vendor: 10,325 bytes, line 312
312,_a=valueToPercent(Uo?Do[0]:so,so,ao),Ea=valueToPercent(Do[Do.length-1],so,ao)-_a,Pa=(va={})=>{const xa=extractEventHandlers(va),Oa={onMouseDown:la(xa||{})},Da={...xa,...Oa};return{...va,ref:jo,...Da}},aa=va=>xa=>{var Da;(Da=va.onMouseOver)==null||Da.call(va,xa);const Oa=Number(xa.currentTarget.getAttribute("data-index"));To(Oa)},Ca=va=>xa=>{var Oa;(Oa=va.onMouseLeave)==null||Oa.call(va,xa),To(-1)};return{active:Eo,axis:pa,axisProps,dragging:Ro,focusedThumbIndex:Bo,getHiddenInputProps:(va={})=>{const xa=extractEventHandlers(va),Oa={onChange:ra(xa||{}),onFocus:Xo(xa||{}),onBlur:Zo(xa||{}),onKeyDown:ta(xa||{})},Da={...xa,...Oa};return{tabIndex:bo,"aria-labelledby":eo,"aria-orientation":fo,"aria-valuemax":mo(ao),"aria-valuemin":mo(so),name:lo,type:"range",min:Yi.min,max:Yi.max,step:Yi.step===null&&Yi.marks?"any":Yi.step??void 0,disabled:ro,...va,...Da,style:{...visuallyHidden,direction:io?"rtl":"ltr",width:"100%",height:"100%"}}},getRootProps:Pa,getThumbProps:(va={})=>{const xa=extractEventHandlers(va),Oa={onMouseOver:aa(xa||{}),onMouseLeave:Ca(xa||{})};return{...va,...xa,...Oa}},marks:Oo,open:So,range:Uo,rootRef:jo,trackLeap:Ea,trackOffset:_a,values:Do,getThumbStyle:va=>({pointerEvents:Eo!==-1&&Eo!==va?"none":void 0})}}const shouldSpreadAdditionalProps=Yi=>!Yi||!isHostComponent(Yi);function getSliderUtilityClass(Yi){return generateUtilityClass("MuiSlider",Yi)}const sliderClasses=generateUtilityClasses("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),useValueLabelClasses=Yi=>{const{open:eo}=Yi;return{offset:clsx(eo&&sliderClasses.valueLabelOpen),circle:sliderClasses.valueLabelCircle,label:sliderClasses.valueLabelLabel}};function SliderValueLabel$1(Yi){const{children:eo,className:to,value:ro}=Yi,no=useValueLabelClasses(Yi);return eo?reactExports.cloneElement(eo,{className:clsx(eo.props.className)},jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[eo.props.children,jsxRuntimeExports.jsx("span",{className:clsx(no.offset,to),"aria-hidden":!0,children:jsxRuntimeExports.jsx("span",{className:no.circle,children:jsxRuntimeExports.jsx("span",{className:no.label,children:ro})})})]})):null}function Identity(Yi){return Yi}const SliderRoot=styled("span",{name:"MuiSlider",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,eo[`color${capitalize$3(to.color)}`],to.size!=="medium"&&eo[`size${capitalize$3(to.size)}`],to.marked&&eo.marked,to.orientation==="vertical"&&eo.vertical,to.track==="inverted"&&eo.trackInverted,to.track===!1&&eo.trackFalse]}})(memoTheme(({theme:Yi})=>({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${sliderClasses.disabled}`]:{pointerEvents:"none",cursor:"default",color:(Yi.vars||Yi).palette.grey[400]},[`&.${sliderClasses.dragging}`]:{[`& .${sliderClasses.thumb}, & .${sliderClasses.track}`]:{transition:"none"}},variants:[...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main).map(([eo])=>({props:{color:eo},style:{color:(Yi.vars||Yi).palette[eo].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}))),SliderRail=styled("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(Yi,eo)=>eo.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),SliderTrack=styled("span",{name:"MuiSlider",slot:"Track",overridesResolver:(Yi,eo)=>eo.track})(memoTheme(({theme:Yi})=>({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:Yi.transitions.create(["left","width","bottom","height"],{duration:Yi.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main).map(([eo])=>({props:{color:eo,track:"inverted"},style:{...Yi.vars?{backgroundColor:Yi.vars.palette.Slider[`${eo}Track`],borderColor:Yi.vars.palette.Slider[`${eo}Track`]}:{backgroundColor:lighten(Yi.palette[eo].main,.62),borderColor:lighten(Yi.palette[eo].main,.62),...Yi.applyStyles("dark",{backgroundColor:darken(Yi.palette[eo].main,.5)}),...Yi.applyStyles("dark",{borderColor:darken(Yi.palette[eo].main,.5)})}}}))]}))),SliderThumb=styled("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.thumb,eo[`thumbColor${capitalize$3(to.color)}`],to.size!=="medium"&&eo[`thumbSize${capitalize$3(to.size)}`]]}})(memoTheme(({theme:Yi})=>({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:Yi.transitions.create(["box-shadow","left","bottom"],{duration:Yi.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(Yi.vars||Yi).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${sliderClasses.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main).map(([eo])=>({props:{color:eo},style:{[`&:hover, &.${sliderClasses.focusVisible}`]:{...Yi.vars?{boxShadow:`0px 0px 0px 8px rgba(${Yi.vars.palette[eo].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${alpha$1(Yi.palette[eo].main,.16)}`},"@media (hover: none)":{boxShadow:"none"}},[`&.${sliderClasses.active}`]:{...Yi.vars?{boxShadow:`0px 0px 0px 14px rgba(${Yi.vars.palette[eo].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${alpha$1(Yi.palette[eo].main,.16)}`}}}}))]}))),SliderValueLabel=styled(SliderValueLabel$1,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(Yi,eo)=>eo.valueLabel})(memoTheme(({theme:Yi})=>({zIndex:1,whiteSpace:"nowrap",...Yi.typography.body2,fontWeight:500,transition:Yi.transitions.create(["transform"],{duration:Yi.transitions.duration.shortest}),position:"absolute",backgroundColor:(Yi.vars||Yi).palette.grey[600],borderRadius:2,color:(Yi.vars||Yi).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${sliderClasses.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${sliderClasses.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:Yi.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]}))),SliderMark=styled("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:Yi=>slotShouldForwardProp(Yi)&&Yi!=="markActive",overridesResolver:(Yi,eo)=>{const{markActive:to}=Yi;return[eo.mark,to&&eo.markActive]}})(memoTheme(({theme:Yi})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(Yi.vars||Yi).palette.background.paper,opacity:.8}}]}))),SliderMarkLabel=styled("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:Yi=>slotShouldForwardProp(Yi)&&Yi!=="markLabelActive",overridesResolver:(Yi,eo)=>eo.markLabel})(memoTheme(({theme:Yi})=>({...Yi.typography.body2,color:(Yi.vars||Yi).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(Yi.vars||Yi).palette.text.primary}}]}))),useUtilityClasses$l=Yi=>{const{disabled:eo,dragging:to,marked:ro,orientation:no,track:io,classes:oo,color:ao,size:so}=Yi,lo={root:["root",eo&&"disabled",to&&"dragging",ro&&"marked",no==="vertical"&&"vertical",io==="inverted"&&"trackInverted",io===!1&&"trackFalse",ao&&`color${capitalize$3(ao)}`,so&&`size${capitalize$3(so)}
312`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",eo&&"disabled",so&&`thumbSize${capitalize$3(so)}`,ao&&`thumbColor${capitalize$3(ao)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return composeClasses(lo,getSliderUtilityClass,oo)},Forward=({children:Yi})=>Yi,Slider=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiSlider"}),no=useRtl(),{"aria-label":io,"aria-valuetext":oo,"aria-labelledby":ao,component:so="span",components:lo={},componentsProps:co={},color:uo="primary",classes:fo,className:ho,disableSwap:mo=!1,disabled:vo=!1,getAriaLabel:Co,getAriaValueText:bo,marks:wo=!1,max:yo=100,min:Eo=0,name:xo,onChange:So,onChangeCommitted:To,orientation:Ro="horizontal",shiftStep:Po=10,size:zo="medium",step:Ho=1,scale:Vo=Identity,slotProps:Lo,slots:Uo,tabIndex:Do,track:Oo="normal",value:ko,valueLabelDisplay:Bo="off",valueLabelFormat:Fo=Identity,...Qo}=ro,jo={...ro,isRtl:no,max:yo,min:Eo,classes:fo,disabled:vo,disableSwap:mo,orientation:Ro,marks:wo,color:uo,size:zo,step:Ho,shiftStep:Po,scale:Vo,track:Oo,valueLabelDisplay:Bo,valueLabelFormat:Fo},{axisProps:Xo,getRootProps:Zo,getHiddenInputProps:Wo,getThumbProps:ta,open:ra,active:da,axis:pa,focusedThumbIndex:sa,range:ya,dragging:na,marks:ea,values:oa,trackOffset:la,trackLeap:_a,getThumbStyle:Ea}=useSlider({...jo,rootRef:to});jo.marked=ea.length>0&&ea.some(vs=>vs.label),jo.dragging=na,jo.focusedThumbIndex=sa;const Pa=useUtilityClasses$l(jo),aa=(Uo==null?void 0:Uo.root)??lo.Root??SliderRoot,Ca=(Uo==null?void 0:Uo.rail)??lo.Rail??SliderRail,Sa=(Uo==null?void 0:Uo.track)??lo.Track??SliderTrack,Ia=(Uo==null?void 0:Uo.thumb)??lo.Thumb??SliderThumb,Ta=(Uo==null?void 0:Uo.valueLabel)??lo.ValueLabel??SliderValueLabel,va=(Uo==null?void 0:Uo.mark)??lo.Mark??SliderMark,xa=(Uo==null?void 0:Uo.markLabel)??lo.MarkLabel??SliderMarkLabel,Oa=(Uo==null?void 0:Uo.input)??lo.Input??"input",Da=(Lo==null?void 0:Lo.root)??co.root,ia=(Lo==null?void 0:Lo.rail)??co.rail,Ko=(Lo==null?void 0:Lo.track)??co.track,Yo=(Lo==null?void 0:Lo.thumb)??co.thumb,ma=(Lo==null?void 0:Lo.valueLabel)??co.valueLabel,ga=(Lo==null?void 0:Lo.mark)??co.mark,Fa=(Lo==null?void 0:Lo.markLabel)??co.markLabel,ja=(Lo==null?void 0:Lo.input)??co.input,Ga=useSlotProps({elementType:aa,getSlotProps:Zo,externalSlotProps:Da,externalForwardedProps:Qo,additionalProps:{...shouldSpreadAdditionalProps(aa)&&{as:so}},ownerState:{...jo,...Da==null?void 0:Da.ownerState},className:[Pa.root,ho]}),Va=useSlotProps({elementType:Ca,externalSlotProps:ia,ownerState:jo,className:Pa.rail}),qa=useSlotProps({elementType:Sa,externalSlotProps:Ko,additionalProps:{style:{...Xo[pa].offset(la),...Xo[pa].leap(_a)}},ownerState:{...jo,...Ko==null?void 0:Ko.ownerState},className:Pa.track}),us=useSlotProps({elementType:Ia,getSlotProps:ta,externalSlotProps:Yo,ownerState:{...jo,...Yo==null?void 0:Yo.ownerState},className:Pa.thumb}),as=useSlotProps({elementType:Ta,externalSlotProps:ma,ownerState:{...jo,...ma==null?void 0:ma.ownerState},className:Pa.valueLabel}),ps=useSlotProps({elementType:va,externalSlotProps:ga,ownerState:jo,className:Pa.mark}),Rs=useSlotProps({elementType:xa,externalSlotProps:Fa,ownerState:jo,className:Pa.markLabel}),Ps=useSlotProps({elementType:Oa,getSlotProps:Wo,externalSlotProps:ja,ownerState:jo});return jsxRuntimeExports.jsxs(aa,{...Ga,children:[jsxRuntimeExports.jsx(Ca,{...Va}),jsxRuntimeExports.jsx(Sa,{...qa}),ea.filter(vs=>vs.value>=Eo&&vs.value<=yo).map((vs,Ts)=>{const hs=valueToPercent(vs.value,Eo,yo),ol=Xo[pa].offset(hs);let Zs;return Oo===!1?Zs=oa.includes(vs.value):Zs=Oo==="normal"&&(ya?vs.value>=oa[0]&&vs.value<=oa[oa.length-1]:vs.value<=oa[0])||Oo==="inverted"&&(ya?vs.value<=oa[0]||vs.value>=oa[oa.length-1]:vs.value>=oa[0]),jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[jsxRuntimeExports.jsx(va,{"data-index":Ts,...ps,...!isHostComponent(va)&&{markActive:Zs},style:{...ol,...ps.style},className:clsx(ps.className,Zs&&Pa.markActive)}),vs.label!=null?jsxRuntimeExports.jsx(xa,{"aria-hidden":!0,"data-index":Ts,...Rs,...!isHostComponent(xa)&&{markLabelActive:Zs},style:{...ol,...Rs.style},className:clsx(Pa.markLabel,Rs.className,Zs&&Pa.markLabelActive),children:vs.label}):null]},Ts)}),oa.map((vs,Ts)=>{const hs=valueToPercent(vs,Eo,yo),ol=Xo[pa].offset(hs),Zs=Bo==="off"?Forward:Ta;return jsxRuntimeExports.jsx(Zs,{...!isHostComponent(Zs)&&{valueLabelFormat:Fo,valueLabelDisplay:Bo,value:typeof Fo=="function"?Fo(Vo(vs),Ts):Fo,index:Ts,open:ra===Ts||da===Ts||Bo==="on",disabled:vo},...as,children:jsxRuntimeExports.jsx(Ia,{"data-index":Ts,...us,className:clsx(Pa.thumb,us.className,da===Ts&&Pa.active,sa===Ts&&Pa.focusVisible),style:{...ol,...Ea(Ts),...us.style},children:jsxRuntimeExports.jsx(Oa,{"data-index":Ts,"aria-label":Co?Co(Ts):io,"aria-valuenow":Vo(vs),"aria-labelledby":ao,"aria-valuetext":bo?bo(Vo(vs),Ts):oo,value:oa[Ts],...Ps})})},Ts)})]})});function useSnackbar(Yi={}){const{autoHideDuration:eo=null,disableWindowBlurListener:to=!1,onClose:ro,open:no,resumeHideDuration:io}=Yi,oo=useTimeout();reactExports.useEffect(()=>{if(!no)return;function bo(wo){wo.defaultPrevented||wo.key==="Escape"&&(ro==null||ro(wo,"escapeKeyDown"))}return document.addEventListener("keydown",bo),()=>{document.removeEventListener("keydown",bo)}},[no,ro]);const ao=useEventCallback((bo,wo)=>{ro==null||ro(bo,wo)}),so=useEventCallback(bo=>{!ro||bo==null||oo.start(bo,()=>{ao(null,"timeout")})});reactExports.useEffect(()=>(no&&so(eo),oo.clear),[no,eo,so,oo]);const lo=bo=>{ro==null||ro(bo,"clickaway")},co=oo.clear,uo=reactExports.useCallback(()=>{eo!=null&&so(io??eo*.5)},[eo,io,so]),fo=bo=>wo=>{const yo=bo.onBlur;yo==null||yo(wo),uo()},ho=bo=>wo=>{const yo=bo.onFocus;yo==null||yo(wo),co()},mo=bo=>wo=>{const yo=bo.onMouseEnter;yo==null||yo(wo),co()},vo=bo=>wo=>{const yo=bo.onMouseLeave;yo==null||yo(wo),uo()};return reactExports.useEffect(()=>{if(!to&&no)return window.addEventListener("focus",uo),window.addEventListener("blur",co),()=>{window.removeEventListener("focus",uo),window.removeEventListener("blur",co)}},[to,no,uo,co]),{getRootProps:(bo={})=>{const wo={...extractEventHandlers(Yi),...extractEventHandlers(bo)};return{role:"presentation",...bo,...wo,onBlur:fo(wo),onFocus:ho(wo),onMouseEnter:mo(wo),onMouseLeave:vo(wo)}},onClickAway:lo}}
312function getSnackbarContentUtilityClass(Yi){return generateUtilityClass("MuiSnackbarContent",Yi)}generateUtilityClasses("MuiSnackbarContent",["root","message","action"]);const useUtilityClasses$k=Yi=>{const{classes:eo}=Yi;return composeClasses({root:["root"],action:["action"],message:["message"]},getSnackbarContentUtilityClass,eo)},SnackbarContentRoot=styled(Paper,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(Yi,eo)=>eo.root})(memoTheme(({theme:Yi})=>{const eo=Yi.palette.mode==="light"?.8:.98,to=emphasize(Yi.palette.background.default,eo);return{...Yi.typography.body2,color:Yi.vars?Yi.vars.palette.SnackbarContent.color:Yi.palette.getContrastText(to),backgroundColor:Yi.vars?Yi.vars.palette.SnackbarContent.bg:to,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(Yi.vars||Yi).shape.borderRadius,flexGrow:1,[Yi.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),SnackbarContentMessage=styled("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(Yi,eo)=>eo.message})({padding:"8px 0"}),SnackbarContentAction=styled("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(Yi,eo)=>eo.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),SnackbarContent=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiSnackbarContent"}),{action:no,className:io,message:oo,role:ao="alert",...so}=ro,lo=ro,co=useUtilityClasses$k(lo);return jsxRuntimeExports.jsxs(SnackbarContentRoot,{role:ao,square:!0,elevation:6,className:clsx(co.root,io),ownerState:lo,ref:to,...so,children:[jsxRuntimeExports.jsx(SnackbarContentMessage,{className:co.message,ownerState:lo,children:oo}),no?jsxRuntimeExports.jsx(SnackbarContentAction,{className:co.action,ownerState:lo,children:no}):null]})});function getSnackbarUtilityClass(Yi){return generateUtilityClass("MuiSnackbar",Yi)}generateUtilityClasses("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const useUtilityClasses$j=Yi=>{const{classes:eo,anchorOrigin:to}=Yi,ro={root:["root",`anchorOrigin${capitalize$3(to.vertical)}${capitalize$3(to.horizontal)}`]};return composeClasses(ro,getSnackbarUtilityClass,eo)},SnackbarRoot=styled("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,eo[`anchorOrigin${capitalize$3(to.anchorOrigin.vertical)}${capitalize$3(to.anchorOrigin.horizontal)}`]]}})(memoTheme(({theme:Yi})=>({zIndex:(Yi.vars||Yi).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:eo})=>eo.anchorOrigin.vertical==="top",style:{top:8,[Yi.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:eo})=>eo.anchorOrigin.vertical!=="top",style:{bottom:8,[Yi.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:eo})=>eo.anchorOrigin.horizontal==="left",style:{justifyContent:"flex-start",[Yi.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:eo})=>eo.anchorOrigin.horizontal==="right",style:{justifyContent:"flex-end",[Yi.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:eo})=>eo.anchorOrigin.horizontal==="center",style:{[Yi.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),Snackbar=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiSnackbar"}),no=useTheme$2(),io={enter:no.transitions.duration.enteringScreen,exit:no.transitions.duration.leavingScreen},{action:oo,anchorOrigin:{vertical:ao,horizontal:so}={vertical:"bottom",horizontal:"left"},autoHideDuration:lo=null,children:co,className:uo,ClickAwayListenerProps:fo,ContentProps:ho,disableWindowBlurListener:mo=!1,message:vo,onBlur:Co,onClose:bo,onFocus:wo,onMouseEnter:yo,onMouseLeave:Eo,open:xo,resumeHideDuration:So,TransitionComponent:To=Grow,transitionDuration:Ro=io,TransitionProps:{onEnter:Po,onExited:zo,...Ho}={},...Vo}=ro,Lo={...ro,anchorOrigin:{vertical:ao,horizontal:so},autoHideDuration:lo,disableWindowBlurListener:mo,TransitionComponent:To,transitionDuration:Ro},Uo=useUtilityClasses$j(Lo),{getRootProps:Do,onClickAway:Oo}=useSnackbar({...Lo}),[ko,Bo]=reactExports.useState(!0),Fo=useSlotProps({elementType:SnackbarRoot,getSlotProps:Do,externalForwardedProps:Vo,ownerState:Lo,additionalProps:{ref:to},className:[Uo.root,uo]}),Qo=Xo=>{Bo(!0),zo&&zo(Xo)},jo=(Xo,Zo)=>{Bo(!1),Po&&Po(Xo,Zo)};return!xo&&ko?null:jsxRuntimeExports.jsx(ClickAwayListener,{onClickAway:Oo,...fo,children:jsxRuntimeExports.jsx(SnackbarRoot,{...Fo,children:jsxRuntimeExports.jsx(To,{appear:!0,in:xo,timeout:Ro,direction:ao==="top"?"down":"up",onEnter:jo,onExited:Qo,...Ho,children:co||jsxRuntimeExports.jsx(SnackbarContent,{message:vo,action:oo,...ho})})})})});
vendor: 6,101 bytes, line 312
312function getTooltipUtilityClass(Yi){return generateUtilityClass("MuiTooltip",Yi)}const tooltipClasses=generateUtilityClasses("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function round$2(Yi){return Math.round(Yi*1e5)/1e5}const useUtilityClasses$i=Yi=>{const{classes:eo,disableInteractive:to,arrow:ro,touch:no,placement:io}=Yi,oo={popper:["popper",!to&&"popperInteractive",ro&&"popperArrow"],tooltip:["tooltip",ro&&"tooltipArrow",no&&"touch",`tooltipPlacement${capitalize$3(io.split("-")[0])}`],arrow:["arrow"]};return composeClasses(oo,getTooltipUtilityClass,eo)},TooltipPopper=styled(Popper,{name:"MuiTooltip",slot:"Popper",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.popper,!to.disableInteractive&&eo.popperInteractive,to.arrow&&eo.popperArrow,!to.open&&eo.popperClose]}})(memoTheme(({theme:Yi})=>({zIndex:(Yi.vars||Yi).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:eo})=>!eo.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:eo})=>!eo,style:{pointerEvents:"none"}},{props:({ownerState:eo})=>eo.arrow,style:{[`&[data-popper-placement*="bottom"] .${tooltipClasses.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${tooltipClasses.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${tooltipClasses.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${tooltipClasses.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:eo})=>eo.arrow&&!eo.isRtl,style:{[`&[data-popper-placement*="right"] .${tooltipClasses.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:eo})=>eo.arrow&&!!eo.isRtl,style:{[`&[data-popper-placement*="right"] .${tooltipClasses.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:eo})=>eo.arrow&&!eo.isRtl,style:{[`&[data-popper-placement*="left"] .${tooltipClasses.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:eo})=>eo.arrow&&!!eo.isRtl,style:{[`&[data-popper-placement*="left"] .${tooltipClasses.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),TooltipTooltip=styled("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.tooltip,to.touch&&eo.touch,to.arrow&&eo.tooltipArrow,eo[`tooltipPlacement${capitalize$3(to.placement.split("-")[0])}`]]}})(memoTheme(({theme:Yi})=>({backgroundColor:Yi.vars?Yi.vars.palette.Tooltip.bg:alpha$1(Yi.palette.grey[700],.92),borderRadius:(Yi.vars||Yi).shape.borderRadius,color:(Yi.vars||Yi).palette.common.white,fontFamily:Yi.typography.fontFamily,padding:"4px 8px",fontSize:Yi.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:Yi.typography.fontWeightMedium,[`.${tooltipClasses.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${tooltipClasses.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${tooltipClasses.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${tooltipClasses.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:eo})=>eo.arrow,style:{position:"relative",margin:0}},{props:({ownerState:eo})=>eo.touch,style:{padding:"8px 16px",fontSize:Yi.typography.pxToRem(14),lineHeight:`${round$2(16/14)}em`,fontWeight:Yi.typography.fontWeightRegular}},{props:({ownerState:eo})=>!eo.isRtl,style:{[`.${tooltipClasses.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${tooltipClasses.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:eo})=>!eo.isRtl&&eo.touch,style:{[`.${tooltipClasses.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${tooltipClasses.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:eo})=>!!eo.isRtl,style:{[`.${tooltipClasses.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${tooltipClasses.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:eo})=>!!eo.isRtl&&eo.touch,style:{[`.${tooltipClasses.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${tooltipClasses.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:eo})=>eo.touch,style:{[`.${tooltipClasses.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:eo})=>eo.touch,style:{[`.${tooltipClasses.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),TooltipArrow=styled("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(Yi,eo)=>eo.arrow})(memoTheme(({theme:Yi})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:Yi.vars?Yi.vars.palette.Tooltip.bg:alpha$1(Yi.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let hystersisOpen=!1;const hystersisTimer=new Timeout;let cursorPosition={x:0,y:0};function composeEventHandler(Yi,eo){return(to,...ro)=>{eo&&eo(to,...ro),Yi(to,...ro)}}const Tooltip$1=reactExports.forwardRef(function(eo,to){var hs,ol,Zs;const ro=useDefaultProps({props:eo,name:"MuiTooltip"}),{arrow:no=!1,children:io,classes:oo,components:ao={},componentsProps:so={},describeChild:lo=!1,disableFocusListener:co=!1,disableHoverListener:uo=!1,disableInteractive:fo=!1,disableTouchListener:ho=!1,enterDelay:mo=100,enterNextDelay:vo=0,enterTouchDelay:Co=700,followCursor:bo=!1,id:wo,leaveDelay:yo=0,leaveTouchDelay:Eo=1500,onClose:xo,onOpen:So,open:To,placement:Ro="bottom",PopperComponent:Po,PopperProps:zo={},slotProps:Ho={},slots:Vo={},title:Lo,TransitionComponent:Uo=Grow,TransitionProps:Do,...Oo}=ro,ko=reactExports.isValidElement(io)?io:jsxRuntimeExports.jsx("span",{children:io}
vendor: 4,459 bytes, line 312
312),Bo=useTheme$2(),Fo=useRtl(),[Qo,jo]=reactExports.useState(),[Xo,Zo]=reactExports.useState(null),Wo=reactExports.useRef(!1),ta=fo||bo,ra=useTimeout(),da=useTimeout(),pa=useTimeout(),sa=useTimeout(),[ya,na]=useControlled({controlled:To,default:!1,name:"Tooltip",state:"open"});let ea=ya;const oa=useId(wo),la=reactExports.useRef(),_a=useEventCallback(()=>{la.current!==void 0&&(document.body.style.WebkitUserSelect=la.current,la.current=void 0),sa.clear()});reactExports.useEffect(()=>_a,[_a]);const Ea=$s=>{hystersisTimer.clear(),hystersisOpen=!0,na(!0),So&&!ea&&So($s)},Pa=useEventCallback($s=>{hystersisTimer.start(800+yo,()=>{hystersisOpen=!1}),na(!1),xo&&ea&&xo($s),ra.start(Bo.transitions.duration.shortest,()=>{Wo.current=!1})}),aa=$s=>{Wo.current&&$s.type!=="touchstart"||(Qo&&Qo.removeAttribute("title"),da.clear(),pa.clear(),mo||hystersisOpen&&vo?da.start(hystersisOpen?vo:mo,()=>{Ea($s)}):Ea($s))},Ca=$s=>{da.clear(),pa.start(yo,()=>{Pa($s)})},[,Sa]=reactExports.useState(!1),Ia=$s=>{isFocusVisible($s.target)||(Sa(!1),Ca($s))},Ta=$s=>{Qo||jo($s.currentTarget),isFocusVisible($s.target)&&(Sa(!0),aa($s))},va=$s=>{Wo.current=!0;const al=ko.props;al.onTouchStart&&al.onTouchStart($s)},xa=$s=>{va($s),pa.clear(),ra.clear(),_a(),la.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",sa.start(Co,()=>{document.body.style.WebkitUserSelect=la.current,aa($s)})},Oa=$s=>{ko.props.onTouchEnd&&ko.props.onTouchEnd($s),_a(),pa.start(Eo,()=>{Pa($s)})};reactExports.useEffect(()=>{if(!ea)return;function $s(al){al.key==="Escape"&&Pa(al)}return document.addEventListener("keydown",$s),()=>{document.removeEventListener("keydown",$s)}},[Pa,ea]);const Da=useForkRef(getReactNodeRef(ko),jo,to);!Lo&&Lo!==0&&(ea=!1);const ia=reactExports.useRef(),Ko=$s=>{const al=ko.props;al.onMouseMove&&al.onMouseMove($s),cursorPosition={x:$s.clientX,y:$s.clientY},ia.current&&ia.current.update()},Yo={},ma=typeof Lo=="string";lo?(Yo.title=!ea&&ma&&!uo?Lo:null,Yo["aria-describedby"]=ea?oa:null):(Yo["aria-label"]=ma?Lo:null,Yo["aria-labelledby"]=ea&&!ma?oa:null);const ga={...Yo,...Oo,...ko.props,className:clsx(Oo.className,ko.props.className),onTouchStart:va,ref:Da,...bo?{onMouseMove:Ko}:{}},Fa={};ho||(ga.onTouchStart=xa,ga.onTouchEnd=Oa),uo||(ga.onMouseOver=composeEventHandler(aa,ga.onMouseOver),ga.onMouseLeave=composeEventHandler(Ca,ga.onMouseLeave),ta||(Fa.onMouseOver=aa,Fa.onMouseLeave=Ca)),co||(ga.onFocus=composeEventHandler(Ta,ga.onFocus),ga.onBlur=composeEventHandler(Ia,ga.onBlur),ta||(Fa.onFocus=Ta,Fa.onBlur=Ia));const ja=reactExports.useMemo(()=>{var al;let $s=[{name:"arrow",enabled:!!Xo,options:{element:Xo,padding:4}}];return(al=zo.popperOptions)!=null&&al.modifiers&&($s=$s.concat(zo.popperOptions.modifiers)),{...zo.popperOptions,modifiers:$s}},[Xo,zo]),Ga={...ro,isRtl:Fo,arrow:no,disableInteractive:ta,placement:Ro,PopperComponentProp:Po,touch:Wo.current},Va=useUtilityClasses$i(Ga),qa=Vo.popper??ao.Popper??TooltipPopper,us=Vo.transition??ao.Transition??Uo??Grow,as=Vo.tooltip??ao.Tooltip??TooltipTooltip,ps=Vo.arrow??ao.Arrow??TooltipArrow,Rs=appendOwnerState(qa,{...zo,...Ho.popper??so.popper,className:clsx(Va.popper,zo==null?void 0:zo.className,(hs=Ho.popper??so.popper)==null?void 0:hs.className)},Ga),Ps=appendOwnerState(us,{...Do,...Ho.transition??so.transition},Ga),vs=appendOwnerState(as,{...Ho.tooltip??so.tooltip,className:clsx(Va.tooltip,(ol=Ho.tooltip??so.tooltip)==null?void 0:ol.className)},Ga),Ts=appendOwnerState(ps,{...Ho.arrow??so.arrow,className:clsx(Va.arrow,(Zs=Ho.arrow??so.arrow)==null?void 0:Zs.className)},Ga);return jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[reactExports.cloneElement(ko,ga),jsxRuntimeExports.jsx(qa,{as:Po??Popper,placement:Ro,anchorEl:bo?{getBoundingClientRect:()=>({top:cursorPosition.y,left:cursorPosition.x,right:cursorPosition.x,bottom:cursorPosition.y,width:0,height:0})}:Qo,popperRef:ia,open:Qo?ea:!1,id:oa,transition:!0,...Fa,...Rs,popperOptions:ja,children:({TransitionProps:$s})=>jsxRuntimeExports.jsx(us,{timeout:Bo.transitions.duration.shorter,...$s,...Ps,children:jsxRuntimeExports.jsxs(as,{...vs,children:[Lo,no?jsxRuntimeExports.jsx(ps,{...Ts,ref:Zo}):null]})})})]})}),Stack$3=createStack({createStyledComponent:styled("div",{name:"MuiStack",slot:"Root",overridesResolver:(Yi,eo)=>eo.root}),useThemeProps:Yi=>useThemeProps({props:Yi,name:"MuiStack"})}),StepperContext=reactExports.createContext({}),StepContext=reactExports.createContext({});
312function getStepUtilityClass(Yi){return generateUtilityClass("MuiStep",Yi)}generateUtilityClasses("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]);const useUtilityClasses$h=Yi=>{const{classes:eo,orientation:to,alternativeLabel:ro,completed:no}=Yi;return composeClasses({root:["root",to,ro&&"alternativeLabel",no&&"completed"]},getStepUtilityClass,eo)},StepRoot=styled("div",{name:"MuiStep",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,eo[to.orientation],to.alternativeLabel&&eo.alternativeLabel,to.completed&&eo.completed]}})({variants:[{props:{orientation:"horizontal"},style:{paddingLeft:8,paddingRight:8}},{props:{alternativeLabel:!0},style:{flex:1,position:"relative"}}]}),Step$1=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiStep"}),{active:no,children:io,className:oo,component:ao="div",completed:so,disabled:lo,expanded:co=!1,index:uo,last:fo,...ho}=ro,{activeStep:mo,connector:vo,alternativeLabel:Co,orientation:bo,nonLinear:wo}=reactExports.useContext(StepperContext);let[yo=!1,Eo=!1,xo=!1]=[no,so,lo];mo===uo?yo=no!==void 0?no:!0:!wo&&mo>uo?Eo=so!==void 0?so:!0:!wo&&mo<uo&&(xo=lo!==void 0?lo:!0);const So=reactExports.useMemo(()=>({index:uo,last:fo,expanded:co,icon:uo+1,active:yo,completed:Eo,disabled:xo}),[uo,fo,co,yo,Eo,xo]),To={...ro,active:yo,orientation:bo,alternativeLabel:Co,completed:Eo,disabled:xo,expanded:co,component:ao},Ro=useUtilityClasses$h(To),Po=jsxRuntimeExports.jsxs(StepRoot,{as:ao,className:clsx(Ro.root,oo),ref:to,ownerState:To,...ho,children:[vo&&Co&&uo!==0?vo:null,io]});return jsxRuntimeExports.jsx(StepContext.Provider,{value:So,children:vo&&!Co&&uo!==0?jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[vo,Po]}):Po})}),CheckCircle$2=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),Warning=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M1 21h22L12 2 
3121 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");function getStepIconUtilityClass(Yi){return generateUtilityClass("MuiStepIcon",Yi)}const stepIconClasses=generateUtilityClasses("MuiStepIcon",["root","active","completed","error","text"]);var _circle;const useUtilityClasses$g=Yi=>{const{classes:eo,active:to,completed:ro,error:no}=Yi;return composeClasses({root:["root",to&&"active",ro&&"completed",no&&"error"],text:["text"]},getStepIconUtilityClass,eo)},StepIconRoot=styled(SvgIcon,{name:"MuiStepIcon",slot:"Root",overridesResolver:(Yi,eo)=>eo.root})(memoTheme(({theme:Yi})=>({display:"block",transition:Yi.transitions.create("color",{duration:Yi.transitions.duration.shortest}),color:(Yi.vars||Yi).palette.text.disabled,[`&.${stepIconClasses.completed}`]:{color:(Yi.vars||Yi).palette.primary.main},[`&.${stepIconClasses.active}`]:{color:(Yi.vars||Yi).palette.primary.main},[`&.${stepIconClasses.error}`]:{color:(Yi.vars||Yi).palette.error.main}}))),StepIconText=styled("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(Yi,eo)=>eo.text})(memoTheme(({theme:Yi})=>({fill:(Yi.vars||Yi).palette.primary.contrastText,fontSize:Yi.typography.caption.fontSize,fontFamily:Yi.typography.fontFamily}))),StepIcon=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiStepIcon"}),{active:no=!1,className:io,completed:oo=!1,error:ao=!1,icon:so,...lo}=ro,co={...ro,active:no,completed:oo,error:ao},uo=useUtilityClasses$g(co);if(typeof so=="number"||typeof so=="string"){const fo=clsx(io,uo.root);return ao?jsxRuntimeExports.jsx(StepIconRoot,{as:Warning,className:fo,ref:to,ownerState:co,...lo}):oo?jsxRuntimeExports.jsx(StepIconRoot,{as:CheckCircle$2,className:fo,ref:to,ownerState:co,...lo}):jsxRuntimeExports.jsxs(StepIconRoot,{className:fo,ref:to,ownerState:co,...lo,children:[_circle||(_circle=jsxRuntimeExports.jsx("circle",{cx:"12",cy:"12",r:"12"})),jsxRuntimeExports.jsx(StepIconText,{className:uo.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:co,children:so})]})}return so});function getStepLabelUtilityClass(Yi){return generateUtilityClass("MuiStepLabel",Yi)}const stepLabelClasses=generateUtilityClasses("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),useUtilityClasses$f=Yi=>{const{classes:eo,orientation:to,active:ro,completed:no,error:io,disabled:oo,alternativeLabel:ao}=Yi;return composeClasses({root:["root",to,io&&"error",oo&&"disabled",ao&&"alternativeLabel"],label:["label",ro&&"active",no&&"completed",io&&"error",oo&&"disabled",ao&&"alternativeLabel"],iconContainer:["iconContainer",ro&&"active",no&&"completed",io&&"error",oo&&"disabled",ao&&"alternativeLabel"],labelContainer:["labelContainer",ao&&"alternativeLabel"]},getStepLabelUtilityClass,eo)},StepLabelRoot=styled("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,eo[to.orientation]]}})({display:"flex",alignItems:"center",[`&.${stepLabelClasses.alternativeLabel}`]:{flexDirection:"column"},[`&.${stepLabelClasses.disabled}`]:{cursor:"default"},variants:[{props:{orientation:"vertical"},style:{textAlign:"left",padding:"8px 0"}}]}),StepLabelLabel=styled("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(Yi,eo)=>eo.label})(memoTheme(({theme:Yi})=>({...Yi.typography.body2,display:"block",transition:Yi.transitions.create("color",{duration:Yi.transitions.duration.shortest}),[`&.${stepLabelClasses.active}`]:{color:(Yi.vars||Yi).palette.text.primary,fontWeight:500},[`&.${stepLabelClasses.completed}`]:{color:(Yi.vars||Yi).palette.text.primary,fontWeight:500},[`&.${stepLabelClasses.alternativeLabel}`]:{marginTop:16},[`&.${stepLabelClasses.error}`]:{color:(Yi.vars||Yi).palette.error.main}}))),StepLabelIconContainer=styled("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(Yi,eo)=>eo.iconContainer})({flexShrink:0,display:"flex",paddingRight:8,[`&.${stepLabelClasses.alternativeLabel}`]:{paddingRight:0}}),StepLabelLabelContainer=styled("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(Yi,eo)=>eo.labelContainer})(memoTheme(({theme:Yi})=>({width:"100%",color:(Yi.vars||Yi).palette.text.secondary,[`&.${stepLabelClasses.alternativeLabel}`]:{textAlign:"center"}}))),StepLabel=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiStepLabel"}),{children:no,className:io,componentsProps:oo={}
312,error:ao=!1,icon:so,optional:lo,slots:co={},slotProps:uo={},StepIconComponent:fo,StepIconProps:ho,...mo}=ro,{alternativeLabel:vo,orientation:Co}=reactExports.useContext(StepperContext),{active:bo,disabled:wo,completed:yo,icon:Eo}=reactExports.useContext(StepContext),xo=so||Eo;let So=fo;xo&&!So&&(So=StepIcon);const To={...ro,active:bo,alternativeLabel:vo,completed:yo,disabled:wo,error:ao,orientation:Co},Ro=useUtilityClasses$f(To),Po={slots:co,slotProps:{stepIcon:ho,...oo,...uo}},[zo,Ho]=useSlot("label",{elementType:StepLabelLabel,externalForwardedProps:Po,ownerState:To}),[Vo,Lo]=useSlot("stepIcon",{elementType:So,externalForwardedProps:Po,ownerState:To});return jsxRuntimeExports.jsxs(StepLabelRoot,{className:clsx(Ro.root,io),ref:to,ownerState:To,...mo,children:[xo||Vo?jsxRuntimeExports.jsx(StepLabelIconContainer,{className:Ro.iconContainer,ownerState:To,children:jsxRuntimeExports.jsx(Vo,{completed:yo,active:bo,error:ao,icon:xo,...Lo})}):null,jsxRuntimeExports.jsxs(StepLabelLabelContainer,{className:Ro.labelContainer,ownerState:To,children:[no?jsxRuntimeExports.jsx(zo,{...Ho,className:clsx(Ro.label,Ho==null?void 0:Ho.className),children:no}):null,lo]})]})});StepLabel&&(StepLabel.muiName="StepLabel");function getStepConnectorUtilityClass(Yi){return generateUtilityClass("MuiStepConnector",Yi)}generateUtilityClasses("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]);const useUtilityClasses$e=Yi=>{const{classes:eo,orientation:to,alternativeLabel:ro,active:no,completed:io,disabled:oo}=Yi,ao={root:["root",to,ro&&"alternativeLabel",no&&"active",io&&"completed",oo&&"disabled"],line:["line",`line${capitalize$3(to)}`]};return composeClasses(ao,getStepConnectorUtilityClass,eo)},StepConnectorRoot=styled("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,eo[to.orientation],to.alternativeLabel&&eo.alternativeLabel,to.completed&&eo.completed]}})({flex:"1 1 auto",variants:[{props:{orientation:"vertical"},style:{marginLeft:12}},{props:{alternativeLabel:!0},style:{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"}}]}),StepConnectorLine=styled("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.line,eo[`line${capitalize$3(to.orientation)}`]]}})(memoTheme(({theme:Yi})=>{const eo=Yi.palette.mode==="light"?Yi.palette.grey[400]:Yi.palette.grey[600];return{display:"block",borderColor:Yi.vars?Yi.vars.palette.StepConnector.border:eo,variants:[{props:{orientation:"horizontal"},style:{borderTopStyle:"solid",borderTopWidth:1}},{props:{orientation:"vertical"},style:{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24}}]}})),StepConnector=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiStepConnector"}),{className:no,...io}=ro,{alternativeLabel:oo,orientation:ao="horizontal"}=reactExports.useContext(StepperContext),{active:so,disabled:lo,completed:co}=reactExports.useContext(StepContext),uo={...ro,alternativeLabel:oo,orientation:ao,active:so,completed:co,disabled:lo},fo=useUtilityClasses$e(uo);return jsxRuntimeExports.jsx(StepConnectorRoot,{className:clsx(fo.root,no),ref:to,ownerState:uo,...io,children:jsxRuntimeExports.jsx(StepConnectorLine,{className:fo.line,ownerState:uo})})});function getStepContentUtilityClass(Yi){return generateUtilityClass("MuiStepContent",Yi)}generateUtilityClasses("MuiStepContent",["root","last","transition"]);const useUtilityClasses$d=Yi=>{const{classes:eo,last:to}=Yi;return composeClasses({root:["root",to&&"last"],transition:["transition"]},getStepContentUtilityClass,eo)},StepContentRoot=styled("div",{name:"MuiStepContent",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.last&&eo.last]}})(memoTheme(({theme:Yi})=>({marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:Yi.vars?`1px solid ${Yi.vars.palette.StepContent.border}`:`1px solid ${Yi.palette.mode==="light"?Yi.palette.grey[400]:Yi.palette.grey[600]}`,variants:[{props:{last:!0},style:{borderLeft:"none"}}]}))),StepContentTransition=styled(Collapse,{name:"MuiStepContent",slot:"Transition",overridesResolver:(Yi,eo)=>eo.transition})({}),StepContent=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiStepContent"}),{children:no,className:io,TransitionComponent:oo=Collapse,transitionDuration:ao="auto",TransitionProps:so,...lo}
vendor: 5,918 bytes, line 312
312=ro,{orientation:co}=reactExports.useContext(StepperContext),{active:uo,last:fo,expanded:ho}=reactExports.useContext(StepContext),mo={...ro,last:fo},vo=useUtilityClasses$d(mo);let Co=ao;return ao==="auto"&&!oo.muiSupportAuto&&(Co=void 0),jsxRuntimeExports.jsx(StepContentRoot,{className:clsx(vo.root,io),ref:to,ownerState:mo,...lo,children:jsxRuntimeExports.jsx(StepContentTransition,{as:oo,in:uo||ho,className:vo.transition,ownerState:mo,timeout:Co,unmountOnExit:!0,...so,children:no})})});function getStepperUtilityClass(Yi){return generateUtilityClass("MuiStepper",Yi)}generateUtilityClasses("MuiStepper",["root","horizontal","vertical","nonLinear","alternativeLabel"]);const useUtilityClasses$c=Yi=>{const{orientation:eo,nonLinear:to,alternativeLabel:ro,classes:no}=Yi;return composeClasses({root:["root",eo,to&&"nonLinear",ro&&"alternativeLabel"]},getStepperUtilityClass,no)},StepperRoot=styled("div",{name:"MuiStepper",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,eo[to.orientation],to.alternativeLabel&&eo.alternativeLabel,to.nonLinear&&eo.nonLinear]}})({display:"flex",variants:[{props:{orientation:"horizontal"},style:{flexDirection:"row",alignItems:"center"}},{props:{orientation:"vertical"},style:{flexDirection:"column"}},{props:{alternativeLabel:!0},style:{alignItems:"flex-start"}}]}),defaultConnector=jsxRuntimeExports.jsx(StepConnector,{}),Stepper=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiStepper"}),{activeStep:no=0,alternativeLabel:io=!1,children:oo,className:ao,component:so="div",connector:lo=defaultConnector,nonLinear:co=!1,orientation:uo="horizontal",...fo}=ro,ho={...ro,nonLinear:co,alternativeLabel:io,orientation:uo,component:so},mo=useUtilityClasses$c(ho),vo=reactExports.Children.toArray(oo).filter(Boolean),Co=vo.map((wo,yo)=>reactExports.cloneElement(wo,{index:yo,last:yo+1===vo.length,...wo.props})),bo=reactExports.useMemo(()=>({activeStep:no,alternativeLabel:io,connector:lo,nonLinear:co,orientation:uo}),[no,io,lo,co,uo]);return jsxRuntimeExports.jsx(StepperContext.Provider,{value:bo,children:jsxRuntimeExports.jsx(StepperRoot,{as:so,ownerState:ho,className:clsx(mo.root,ao),ref:to,...fo,children:Co})})});function getSwitchUtilityClass(Yi){return generateUtilityClass("MuiSwitch",Yi)}const switchClasses=generateUtilityClasses("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),useUtilityClasses$b=Yi=>{const{classes:eo,edge:to,size:ro,color:no,checked:io,disabled:oo}=Yi,ao={root:["root",to&&`edge${capitalize$3(to)}`,`size${capitalize$3(ro)}`],switchBase:["switchBase",`color${capitalize$3(no)}`,io&&"checked",oo&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},so=composeClasses(ao,getSwitchUtilityClass,eo);return{...eo,...so}},SwitchRoot=styled("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.edge&&eo[`edge${capitalize$3(to.edge)}`],eo[`size${capitalize$3(to.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${switchClasses.thumb}`]:{width:16,height:16},[`& .${switchClasses.switchBase}`]:{padding:4,[`&.${switchClasses.checked}`]:{transform:"translateX(16px)"}}}}]}),SwitchSwitchBase=styled(SwitchBase,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.switchBase,{[`& .${switchClasses.input}`]:eo.input},to.color!=="default"&&eo[`color${capitalize$3(to.color)}`]]}})(memoTheme(({theme:Yi})=>({position:"absolute",top:0,left:0,zIndex:1,color:Yi.vars?Yi.vars.palette.Switch.defaultColor:`${Yi.palette.mode==="light"?Yi.palette.common.white:Yi.palette.grey[300]}`,transition:Yi.transitions.create(["left","transform"],{duration:Yi.transitions.duration.shortest}),[`&.${switchClasses.checked}`]:{transform:"translateX(20px)"},[`&.${switchClasses.disabled}`]:{color:Yi.vars?Yi.vars.palette.Switch.defaultDisabledColor:`${Yi.palette.mode==="light"?Yi.palette.grey[100]:Yi.palette.grey[600]}`},[`&.${switchClasses.checked} + .${switchClasses.track}`]:{opacity:.5},[`&.${switchClasses.disabled} + .${switchClasses.track}`]:{opacity:Yi.vars?Yi.vars.opacity.switchTrackDisabled:`${Yi.palette.mode==="light"?.12:.2}`},[`& .${switchClasses.input}`]:{left:"-100%",width:"300%"}})),memoTheme(({theme:Yi})=>({"&:hover":{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette.action.activeChannel} / ${Yi.vars.palette.action.hoverOpacity})`:alpha$1(Yi.palette.action.active,Yi.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(Yi.palette).filter(([,eo])=>eo&&eo.main&&eo.light).map(([eo])=>({props:{color:eo},style:{[`&.${switchClasses.checked}`]:{color:(Yi.vars||Yi).palette[eo].main,"&:hover":{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette[eo].mainChannel} / ${Yi.vars.palette.action.hoverOpacity})`:alpha$1(Yi.palette[eo].main,Yi.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${switchClasses.disabled}`]:{color:Yi.vars?Yi.vars.palette.Switch[`${eo}DisabledColor`]:`${Yi.palette.mode==="light"?lighten(Yi.palette[eo].main,.62):darken(Yi.palette[eo].main,.55)}`}},[`&.${switchClasses.checked} + .${switchClasses.track}`]:{backgroundColor:(Yi.vars||Yi).palette[eo].main}}}))]}))),SwitchTrack=styled("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(Yi,eo)=>eo.track})(memoTheme(({theme:Yi})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:Yi.transitions.create(["opacity","background-color"],{duration:Yi.transitions.duration.shortest}
vendor: 5,047 bytes, line 312
312),backgroundColor:Yi.vars?Yi.vars.palette.common.onBackground:`${Yi.palette.mode==="light"?Yi.palette.common.black:Yi.palette.common.white}`,opacity:Yi.vars?Yi.vars.opacity.switchTrack:`${Yi.palette.mode==="light"?.38:.3}`}))),SwitchThumb=styled("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(Yi,eo)=>eo.thumb})(memoTheme(({theme:Yi})=>({boxShadow:(Yi.vars||Yi).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),Switch=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiSwitch"}),{className:no,color:io="primary",edge:oo=!1,size:ao="medium",sx:so,...lo}=ro,co={...ro,color:io,edge:oo,size:ao},uo=useUtilityClasses$b(co),fo=jsxRuntimeExports.jsx(SwitchThumb,{className:uo.thumb,ownerState:co});return jsxRuntimeExports.jsxs(SwitchRoot,{className:clsx(uo.root,no),sx:so,ownerState:co,children:[jsxRuntimeExports.jsx(SwitchSwitchBase,{type:"checkbox",icon:fo,checkedIcon:fo,ref:to,ownerState:co,...lo,classes:{...uo,root:uo.switchBase}}),jsxRuntimeExports.jsx(SwitchTrack,{className:uo.track,ownerState:co})]})});function getTabUtilityClass(Yi){return generateUtilityClass("MuiTab",Yi)}const tabClasses=generateUtilityClasses("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),useUtilityClasses$a=Yi=>{const{classes:eo,textColor:to,fullWidth:ro,wrapped:no,icon:io,label:oo,selected:ao,disabled:so}=Yi,lo={root:["root",io&&oo&&"labelIcon",`textColor${capitalize$3(to)}`,ro&&"fullWidth",no&&"wrapped",ao&&"selected",so&&"disabled"],icon:["iconWrapper","icon"]};return composeClasses(lo,getTabUtilityClass,eo)},TabRoot=styled(ButtonBase,{name:"MuiTab",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.label&&to.icon&&eo.labelIcon,eo[`textColor${capitalize$3(to.textColor)}`],to.fullWidth&&eo.fullWidth,to.wrapped&&eo.wrapped,{[`& .${tabClasses.iconWrapper}`]:eo.iconWrapper},{[`& .${tabClasses.icon}`]:eo.icon}]}})(memoTheme(({theme:Yi})=>({...Yi.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:eo})=>eo.label&&(eo.iconPosition==="top"||eo.iconPosition==="bottom"),style:{flexDirection:"column"}},{props:({ownerState:eo})=>eo.label&&eo.iconPosition!=="top"&&eo.iconPosition!=="bottom",style:{flexDirection:"row"}},{props:({ownerState:eo})=>eo.icon&&eo.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:eo,iconPosition:to})=>eo.icon&&eo.label&&to==="top",style:{[`& > .${tabClasses.icon}`]:{marginBottom:6}}},{props:({ownerState:eo,iconPosition:to})=>eo.icon&&eo.label&&to==="bottom",style:{[`& > .${tabClasses.icon}`]:{marginTop:6}}},{props:({ownerState:eo,iconPosition:to})=>eo.icon&&eo.label&&to==="start",style:{[`& > .${tabClasses.icon}`]:{marginRight:Yi.spacing(1)}}},{props:({ownerState:eo,iconPosition:to})=>eo.icon&&eo.label&&to==="end",style:{[`& > .${tabClasses.icon}`]:{marginLeft:Yi.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${tabClasses.selected}`]:{opacity:1},[`&.${tabClasses.disabled}`]:{opacity:(Yi.vars||Yi).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(Yi.vars||Yi).palette.text.secondary,[`&.${tabClasses.selected}`]:{color:(Yi.vars||Yi).palette.primary.main},[`&.${tabClasses.disabled}`]:{color:(Yi.vars||Yi).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(Yi.vars||Yi).palette.text.secondary,[`&.${tabClasses.selected}`]:{color:(Yi.vars||Yi).palette.secondary.main},[`&.${tabClasses.disabled}`]:{color:(Yi.vars||Yi).palette.text.disabled}}},{props:({ownerState:eo})=>eo.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:eo})=>eo.wrapped,style:{fontSize:Yi.typography.pxToRem(12)}}]}))),Tab=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiTab"}),{className:no,disabled:io=!1,disableFocusRipple:oo=!1,fullWidth:ao,icon:so,iconPosition:lo="top",indicator:co,label:uo,onChange:fo,onClick:ho,onFocus:mo,selected:vo,selectionFollowsFocus:Co,textColor:bo="inherit",value:wo,wrapped:yo=!1,...Eo}=ro,xo={...ro,disabled:io,disableFocusRipple:oo,selected:vo,icon:!!so,iconPosition:lo,label:!!uo,fullWidth:ao,textColor:bo,wrapped:yo},So=useUtilityClasses$a(xo),To=so&&uo&&reactExports.isValidElement(so)?reactExports.cloneElement(so,{className:clsx(So.icon,so.props.className)}):so,Ro=zo=>{!vo&&fo&&fo(zo,wo),ho&&ho(zo)},Po=zo=>{Co&&!vo&&fo&&fo(zo,wo),mo&&mo(zo)};return jsxRuntimeExports.jsxs(TabRoot,{focusRipple:!oo,className:clsx(So.root,no),ref:to,role:"tab","aria-selected":vo,disabled:io,onClick:Ro,onFocus:Po,ownerState:xo,tabIndex:vo?0:-1,...Eo,children:[lo==="top"||lo==="start"?jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[To,uo]}):jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[uo,To]}),co]})}),TableContext=reactExports.createContext();
312function getTableUtilityClass(Yi){return generateUtilityClass("MuiTable",Yi)}generateUtilityClasses("MuiTable",["root","stickyHeader"]);const useUtilityClasses$9=Yi=>{const{classes:eo,stickyHeader:to}=Yi;return composeClasses({root:["root",to&&"stickyHeader"]},getTableUtilityClass,eo)},TableRoot=styled("table",{name:"MuiTable",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.stickyHeader&&eo.stickyHeader]}})(memoTheme(({theme:Yi})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...Yi.typography.body2,padding:Yi.spacing(2),color:(Yi.vars||Yi).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:eo})=>eo.stickyHeader,style:{borderCollapse:"separate"}}]}))),defaultComponent$3="table",Table=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiTable"}),{className:no,component:io=defaultComponent$3,padding:oo="normal",size:ao="medium",stickyHeader:so=!1,...lo}=ro,co={...ro,component:io,padding:oo,size:ao,stickyHeader:so}
312,uo=useUtilityClasses$9(co),fo=reactExports.useMemo(()=>({padding:oo,size:ao,stickyHeader:so}),[oo,ao,so]);return jsxRuntimeExports.jsx(TableContext.Provider,{value:fo,children:jsxRuntimeExports.jsx(TableRoot,{as:io,role:io===defaultComponent$3?null:"table",ref:to,className:clsx(uo.root,no),ownerState:co,...lo})})}),Tablelvl2Context=reactExports.createContext();function getTableBodyUtilityClass(Yi){return generateUtilityClass("MuiTableBody",Yi)}generateUtilityClasses("MuiTableBody",["root"]);const useUtilityClasses$8=Yi=>{const{classes:eo}=Yi;return composeClasses({root:["root"]},getTableBodyUtilityClass,eo)},TableBodyRoot=styled("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(Yi,eo)=>eo.root})({display:"table-row-group"}),tablelvl2$1={variant:"body"},defaultComponent$2="tbody",TableBody=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiTableBody"}),{className:no,component:io=defaultComponent$2,...oo}=ro,ao={...ro,component:io},so=useUtilityClasses$8(ao);return jsxRuntimeExports.jsx(Tablelvl2Context.Provider,{value:tablelvl2$1,children:jsxRuntimeExports.jsx(TableBodyRoot,{className:clsx(so.root,no),as:io,ref:to,role:io===defaultComponent$2?null:"rowgroup",ownerState:ao,...oo})})});function getTableCellUtilityClass(Yi){return generateUtilityClass("MuiTableCell",Yi)}const tableCellClasses=generateUtilityClasses("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),useUtilityClasses$7=Yi=>{const{classes:eo,variant:to,align:ro,padding:no,size:io,stickyHeader:oo}=Yi,ao={root:["root",to,oo&&"stickyHeader",ro!=="inherit"&&`align${capitalize$3(ro)}`,no!=="normal"&&`padding${capitalize$3(no)}`,`size${capitalize$3(io)}`]};return composeClasses(ao,getTableCellUtilityClass,eo)},TableCellRoot=styled("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,eo[to.variant],eo[`size${capitalize$3(to.size)}`],to.padding!=="normal"&&eo[`padding${capitalize$3(to.padding)}`],to.align!=="inherit"&&eo[`align${capitalize$3(to.align)}`],to.stickyHeader&&eo.stickyHeader]}})(memoTheme(({theme:Yi})=>({...Yi.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:Yi.vars?`1px solid ${Yi.vars.palette.TableCell.border}`:`1px solid
313    ${Yi.palette.mode==="light"?lighten(alpha$1(Yi.palette.divider,1),.88):darken(alpha$1(Yi.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(Yi.vars||Yi).palette.text.primary,lineHeight:Yi.typography.pxToRem(24),fontWeight:Yi.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(Yi.vars||Yi).palette.text.primary}},{props:{variant:"footer"},style:{color:(Yi.vars||Yi).palette.text.secondary,lineHeight:Yi.typography.pxToRem(21),fontSize:Yi.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${tableCellClasses.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:eo})=>eo.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(Yi.vars||Yi).palette.background.default}}]}))),TableCell=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiTableCell"}),{align:no="inherit",className:io,component:oo,padding:ao,scope:so,size:lo,sortDirection:co,variant:uo,...fo}=ro,ho=reactExports.useContext(TableContext),mo=reactExports.useContext(Tablelvl2Context),vo=mo&&mo.variant==="head";let Co;oo?Co=oo:Co=vo?"th":"td";let bo=so;Co==="td"?bo=void 0:!bo&&vo&&(bo="col");const wo=uo||mo&&mo.variant,yo={...ro,align:no,component:Co,padding:ao||(ho&&ho.padding?ho.padding:"normal"),size:lo||(ho&&ho.size?ho.size:"medium"),sortDirection:co,stickyHeader:wo==="head"&&ho&&ho.stickyHeader,variant:wo},Eo=useUtilityClasses$7(yo);let xo=null;return co&&(xo=co==="asc"?"ascending":"descending"),jsxRuntimeExports.jsx(TableCellRoot,{as:Co,ref:to,className:clsx(Eo.root,io),"aria-sort":xo,scope:bo,ownerState:yo,...fo})});
vendor: 4,719 bytes, line 313
313function getTableContainerUtilityClass(Yi){return generateUtilityClass("MuiTableContainer",Yi)}generateUtilityClasses("MuiTableContainer",["root"]);const useUtilityClasses$6=Yi=>{const{classes:eo}=Yi;return composeClasses({root:["root"]},getTableContainerUtilityClass,eo)},TableContainerRoot=styled("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(Yi,eo)=>eo.root})({width:"100%",overflowX:"auto"}),TableContainer=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiTableContainer"}),{className:no,component:io="div",...oo}=ro,ao={...ro,component:io},so=useUtilityClasses$6(ao);return jsxRuntimeExports.jsx(TableContainerRoot,{ref:to,as:io,className:clsx(so.root,no),ownerState:ao,...oo})});function getTableHeadUtilityClass(Yi){return generateUtilityClass("MuiTableHead",Yi)}generateUtilityClasses("MuiTableHead",["root"]);const useUtilityClasses$5=Yi=>{const{classes:eo}=Yi;return composeClasses({root:["root"]},getTableHeadUtilityClass,eo)},TableHeadRoot=styled("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(Yi,eo)=>eo.root})({display:"table-header-group"}),tablelvl2={variant:"head"},defaultComponent$1="thead",TableHead=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiTableHead"}),{className:no,component:io=defaultComponent$1,...oo}=ro,ao={...ro,component:io},so=useUtilityClasses$5(ao);return jsxRuntimeExports.jsx(Tablelvl2Context.Provider,{value:tablelvl2,children:jsxRuntimeExports.jsx(TableHeadRoot,{as:io,className:clsx(so.root,no),ref:to,role:io===defaultComponent$1?null:"rowgroup",ownerState:ao,...oo})})});function getToolbarUtilityClass(Yi){return generateUtilityClass("MuiToolbar",Yi)}generateUtilityClasses("MuiToolbar",["root","gutters","regular","dense"]);const useUtilityClasses$4=Yi=>{const{classes:eo,disableGutters:to,variant:ro}=Yi;return composeClasses({root:["root",!to&&"gutters",ro]},getToolbarUtilityClass,eo)},ToolbarRoot=styled("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,!to.disableGutters&&eo.gutters,eo[to.variant]]}})(memoTheme(({theme:Yi})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:eo})=>!eo.disableGutters,style:{paddingLeft:Yi.spacing(2),paddingRight:Yi.spacing(2),[Yi.breakpoints.up("sm")]:{paddingLeft:Yi.spacing(3),paddingRight:Yi.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:Yi.mixins.toolbar}]}))),Toolbar=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiToolbar"}),{className:no,component:io="div",disableGutters:oo=!1,variant:ao="regular",...so}=ro,lo={...ro,component:io,disableGutters:oo,variant:ao},co=useUtilityClasses$4(lo);return jsxRuntimeExports.jsx(ToolbarRoot,{as:io,className:clsx(co.root,no),ref:to,ownerState:lo,...so})}),KeyboardArrowLeft=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),KeyboardArrowRight=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function getTableRowUtilityClass(Yi){return generateUtilityClass("MuiTableRow",Yi)}const tableRowClasses=generateUtilityClasses("MuiTableRow",["root","selected","hover","head","footer"]),useUtilityClasses$3=Yi=>{const{classes:eo,selected:to,hover:ro,head:no,footer:io}=Yi;return composeClasses({root:["root",to&&"selected",ro&&"hover",no&&"head",io&&"footer"]},getTableRowUtilityClass,eo)},TableRowRoot=styled("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.head&&eo.head,to.footer&&eo.footer]}})(memoTheme(({theme:Yi})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${tableRowClasses.hover}:hover`]:{backgroundColor:(Yi.vars||Yi).palette.action.hover},[`&.${tableRowClasses.selected}`]:{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette.primary.mainChannel} / ${Yi.vars.palette.action.selectedOpacity})`:alpha$1(Yi.palette.primary.main,Yi.palette.action.selectedOpacity),"&:hover":{backgroundColor:Yi.vars?`rgba(${Yi.vars.palette.primary.mainChannel} / calc(${Yi.vars.palette.action.selectedOpacity} + ${Yi.vars.palette.action.hoverOpacity}))`:alpha$1(Yi.palette.primary.main,Yi.palette.action.selectedOpacity+Yi.palette.action.hoverOpacity)}}}))),defaultComponent="tr",TableRow=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiTableRow"}),{className:no,component:io=defaultComponent,hover:oo=!1,selected:ao=!1,...so}=ro,lo=reactExports.useContext(Tablelvl2Context),co={...ro,component:io,hover:oo,selected:ao,head:lo&&lo.variant==="head",footer
313:lo&&lo.variant==="footer"},uo=useUtilityClasses$3(co);return jsxRuntimeExports.jsx(TableRowRoot,{as:io,ref:to,className:clsx(uo.root,no),role:io===defaultComponent?null:"row",ownerState:co,...so})});function easeInOutSin(Yi){return(1+Math.sin(Math.PI*Yi-Math.PI/2))/2}function animate(Yi,eo,to,ro={},no=()=>{}){const{ease:io=easeInOutSin,duration:oo=300}=ro;let ao=null;const so=eo[Yi];let lo=!1;const co=()=>{lo=!0},uo=fo=>{if(lo){no(new Error("Animation cancelled"));return}ao===null&&(ao=fo);const ho=Math.min(1,(fo-ao)/oo);if(eo[Yi]=io(ho)*(to-so)+so,ho>=1){requestAnimationFrame(()=>{no(null)});return}requestAnimationFrame(uo)};return so===to?(no(new Error("Element already at target position")),co):(requestAnimationFrame(uo),co)}const styles={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function ScrollbarSize(Yi){const{onChange:eo,...to}=Yi,ro=reactExports.useRef(),no=reactExports.useRef(null),io=()=>{ro.current=no.current.offsetHeight-no.current.clientHeight};return useEnhancedEffect(()=>{const oo=debounce$4(()=>{const so=ro.current;io(),so!==ro.current&&eo(ro.current)}),ao=ownerWindow(no.current);return ao.addEventListener("resize",oo),()=>{oo.clear(),ao.removeEventListener("resize",oo)}},[eo]),reactExports.useEffect(()=>{io(),eo(ro.current)},[eo]),jsxRuntimeExports.jsx("div",{style:styles,ref:no,...to})}function getTabScrollButtonUtilityClass(Yi){return generateUtilityClass("MuiTabScrollButton",Yi)}const tabScrollButtonClasses=generateUtilityClasses("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),useUtilityClasses$2=Yi=>{const{classes:eo,orientation:to,disabled:ro}=Yi;return composeClasses({root:["root",to,ro&&"disabled"]},getTabScrollButtonUtilityClass,eo)},TabScrollButtonRoot=styled(ButtonBase,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.root,to.orientation&&eo[to.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${tabScrollButtonClasses.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),TabScrollButton=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiTabScrollButton"}),{className:no,slots:io={},slotProps:oo={},direction:ao,orientation:so,disabled:lo,...co}=ro,uo=useRtl(),fo={isRtl:uo,...ro},ho=useUtilityClasses$2(fo),mo=io.StartScrollButtonIcon??KeyboardArrowLeft,vo=io.EndScrollButtonIcon??KeyboardArrowRight,Co=useSlotProps({elementType:mo,externalSlotProps:oo.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:fo}),bo=useSlotProps({elementType:vo,externalSlotProps:oo.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:fo});return jsxRuntimeExports.jsx(TabScrollButtonRoot,{component:"div",className:clsx(ho.root,no),ref:to,role:null,ownerState:fo,tabIndex:null,...co,style:{...co.style,...so==="vertical"&&{"--TabScrollButton-svgRotate":`rotate(${uo?-90:90}deg)`}},children:ao==="left"?jsxRuntimeExports.jsx(mo,{...Co}):jsxRuntimeExports.jsx(vo,{...bo})})});function getTabsUtilityClass(Yi){return generateUtilityClass("MuiTabs",Yi)}const tabsClasses=generateUtilityClasses("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","
313indicator"]),nextItem=(Yi,eo)=>Yi===eo?Yi.firstChild:eo&&eo.nextElementSibling?eo.nextElementSibling:Yi.firstChild,previousItem=(Yi,eo)=>Yi===eo?Yi.lastChild:eo&&eo.previousElementSibling?eo.previousElementSibling:Yi.lastChild,moveFocus=(Yi,eo,to)=>{let ro=!1,no=to(Yi,eo);for(;no;){if(no===Yi.firstChild){if(ro)return;ro=!0}const io=no.disabled||no.getAttribute("aria-disabled")==="true";if(!no.hasAttribute("tabindex")||io)no=to(Yi,no);else{no.focus();return}}},useUtilityClasses$1=Yi=>{const{vertical:eo,fixed:to,hideScrollbar:ro,scrollableX:no,scrollableY:io,centered:oo,scrollButtonsHideMobile:ao,classes:so}=Yi;return composeClasses({root:["root",eo&&"vertical"],scroller:["scroller",to&&"fixed",ro&&"hideScrollbar",no&&"scrollableX",io&&"scrollableY"],flexContainer:["flexContainer",eo&&"flexContainerVertical",oo&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",ao&&"scrollButtonsHideMobile"],scrollableX:[no&&"scrollableX"],hideScrollbar:[ro&&"hideScrollbar"]},getTabsUtilityClass,so)},TabsRoot=styled("div",{name:"MuiTabs",slot:"Root",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[{[`& .${tabsClasses.scrollButtons}`]:eo.scrollButtons},{[`& .${tabsClasses.scrollButtons}`]:to.scrollButtonsHideMobile&&eo.scrollButtonsHideMobile},eo.root,to.vertical&&eo.vertical]}})(memoTheme(({theme:Yi})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:eo})=>eo.vertical,style:{flexDirection:"column"}},{props:({ownerState:eo})=>eo.scrollButtonsHideMobile,style:{[`& .${tabsClasses.scrollButtons}`]:{[Yi.breakpoints.down("sm")]:{display:"none"}}}}]}))),TabsScroller=styled("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.scroller,to.fixed&&eo.fixed,to.hideScrollbar&&eo.hideScrollbar,to.scrollableX&&eo.scrollableX,to.scrollableY&&eo.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:Yi})=>Yi.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:Yi})=>Yi.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:Yi})=>Yi.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:Yi})=>Yi.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),FlexContainer=styled("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(Yi,eo)=>{const{ownerState:to}=Yi;return[eo.flexContainer,to.vertical&&eo.flexContainerVertical,to.centered&&eo.centered]}})({display:"flex",variants:[{props:({ownerState:Yi})=>Yi.vertical,style:{flexDirection:"column"}},{props:({ownerState:Yi})=>Yi.centered,style:{justifyContent:"center"}}]}),TabsIndicator=styled("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(Yi,eo)=>eo.indicator})(memoTheme(({theme:Yi})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:Yi.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(Yi.vars||Yi).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(Yi.vars||Yi).palette.secondary.main}},{props:({ownerState:eo})=>eo.vertical,style:{height:"100%",width:2,right:0}}]}))),TabsScrollbarSize=styled(ScrollbarSize)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),defaultIndicatorStyle={},Tabs=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiTabs"}),no=useTheme$2(),io=useRtl(),{"aria-label":oo,"aria-labelledby":ao,action:so,centered:lo=!1,children:co,className:uo,component:fo="div",allowScrollButtonsMobile:ho=!1,indicatorColor:mo="primary",onChange:vo,orientation:Co="horizontal",ScrollButtonComponent:bo=TabScrollButton,scrollButtons:wo="auto",selectionFollowsFocus:yo,slots:Eo={},slotProps:xo={},TabIndicatorProps:So={},TabScrollButtonProps:To={},textColor:Ro="primary",value:Po,variant:zo="standard",visibleScrollbar:Ho=!1,...Vo}=ro,Lo=zo==="scrollable",Uo=Co==="vertical",Do=Uo?"scrollTop":"scrollLeft",Oo=Uo?"top":"left",ko=Uo?"bottom":"right",Bo=Uo?"clientHeight":"clientWidth",Fo=Uo?"height":"width",Qo={...ro,component:fo,allowScrollButtonsMobile:ho,indicatorColor:mo,orientation:Co,vertical:Uo,scrollButtons:wo,textColor:Ro,variant:zo,visibleScrollbar:Ho,fixed:!Lo,hideScrollbar:Lo&&!Ho,scrollableX:Lo&&!Uo,scrollableY:Lo&&Uo,centered:lo&&!Lo,scrollButtonsHideMobile:!ho},jo=useUtilityClasses$1(Qo),Xo=useSlotProps({elementType:Eo.StartScrollButtonIcon,externalSlotProps:xo.startScrollButtonIcon,ownerState:Qo}),Zo=useSlotProps({elementType:Eo.EndScrollButtonIcon,externalSlotProps:xo.endScrollButtonIcon,ownerState:Qo}),[Wo,ta]=reactExports.useState(!1),[ra,da]=reactExports.useState(defaultIndicatorStyle),[pa,sa]=reactExports.useState(!1),[ya,na]=reactExports.useState(!1),[ea,oa]=reactExports.useState(!1),[la,_a]=reactExports.useState({overflow:"hidden",scrollbarWidth:0}),Ea=new Map,Pa=reactExports.useRef(null),aa=reactExports.useRef(null),Ca=()=>{const Va=Pa.current;let qa;if(Va){const as=Va.getBoundingClientRect();qa={clientWidth:Va.clientWidth,scrollLeft:Va.scrollLeft,scrollTop:Va.scrollTop,scrollWidth:Va.scrollWidth,top:as.top,bottom:as.bottom,left:as.left,right:as.right}}let us;if(Va&&Po!==!1){const as=aa.current.children;if(as.length>0){const ps=as[Ea.get(Po)];us=ps?ps.getBoundingClientRect():null}}return{tabsMeta:qa,tabMeta:us}},Sa=useEventCallback(()=>{const{tabsMeta:Va,tabMeta:qa}=Ca();let us=0,as;Uo?(as="top",qa&&Va&&(us=qa.top-Va.top+Va.scrollTop)):(as=io?"right":"left",qa&&Va&&(us=(io?-1:1)*(qa[as]-Va[as]+Va.scrollLeft)));const ps={[as]:us,[Fo]:qa?qa[Fo]:0};if(typeof ra[as]!="number"||typeof ra[Fo]!="number")da(ps);else{const Rs=Math.abs(ra[as]-ps[as]),Ps=Math.abs(ra[Fo]-ps[Fo]);(Rs>=1||Ps>=1)&&da(ps)}}),Ia=(Va,{animation:qa=!0}={})=>{qa?animate(Do,Pa.current,Va,{duration:no.transitions.duration.standard}):Pa.current[Do]=Va},Ta=Va=>{let qa=Pa.current[Do];Uo?qa+=Va:qa+=Va*(io?-1:1),Ia(qa)},va=()=>{const Va=Pa.current[Bo];let qa=0;const us=Array.from(aa.current.children);for(let as=0;as<us.length;as+=1){const ps=us[as];if(qa+ps[Bo]>Va){as===0&&(qa=Va);break}qa+=ps[Bo]}return qa},xa=()=>{Ta(-1*va())},Oa=()=>{Ta(va())},Da=reactExports.useCallback(Va=>{_a({overflow:null,scrollbarWidth:Va})},[]),ia=()=>{const Va={};Va.scrollbarSizeListener=Lo?jsxRuntimeExports.jsx(TabsScrollbarSize,{onChange:Da,className:clsx(jo.scrollableX,jo.hideScrollbar)}):null;const us=Lo&&(wo==="auto"&&(pa||ya)||wo===!0);return Va.scrollButtonStart=us?jsxRuntimeExports.jsx(bo,{slots:{StartScrollButtonIcon:Eo.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:Xo},orientation:Co,direction:io?"right":"left",onClick:xa,disabled:!pa,...To,className:clsx(jo.scrollButtons,To.className)}):null,Va.scrollButtonEnd=us?jsxRuntimeExports.jsx(bo,{slots:{EndScrollButtonIcon:Eo.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:Zo},orientation:Co,direction:io?"left":"right",onClick:Oa,disabled:!ya,...To,className:clsx(jo.scrollButtons,To.className)}):null,Va},Ko=useEventCallback(Va=>{const{tabsMeta:qa,tabMeta:us}=Ca();if(!(!us||!qa)){if(us[Oo]<qa[Oo]){const as=qa[Do]+(us[Oo]-qa[Oo]);Ia(as,{animation:Va})}else if(us[ko]>qa[ko]){const as=qa[Do]+(us[ko]-qa[ko]);Ia(as,{animation:Va})}}}),Yo=useEventCallback(()=>{Lo&&wo!==!1&&oa(!ea)});reactExports.useEffect(()=>{const Va=debounce$4(()=>{Pa.current&&Sa()});let qa;const us=Rs=>{Rs.forEach(Ps=>
313{Ps.removedNodes.forEach(vs=>{qa==null||qa.unobserve(vs)}),Ps.addedNodes.forEach(vs=>{qa==null||qa.observe(vs)})}),Va(),Yo()},as=ownerWindow(Pa.current);as.addEventListener("resize",Va);let ps;return typeof ResizeObserver<"u"&&(qa=new ResizeObserver(Va),Array.from(aa.current.children).forEach(Rs=>{qa.observe(Rs)})),typeof MutationObserver<"u"&&(ps=new MutationObserver(us),ps.observe(aa.current,{childList:!0})),()=>{Va.clear(),as.removeEventListener("resize",Va),ps==null||ps.disconnect(),qa==null||qa.disconnect()}},[Sa,Yo]),reactExports.useEffect(()=>{const Va=Array.from(aa.current.children),qa=Va.length;if(typeof IntersectionObserver<"u"&&qa>0&&Lo&&wo!==!1){const us=Va[0],as=Va[qa-1],ps={root:Pa.current,threshold:.99},Rs=hs=>{sa(!hs[0].isIntersecting)},Ps=new IntersectionObserver(Rs,ps);Ps.observe(us);const vs=hs=>{na(!hs[0].isIntersecting)},Ts=new IntersectionObserver(vs,ps);return Ts.observe(as),()=>{Ps.disconnect(),Ts.disconnect()}}},[Lo,wo,ea,co==null?void 0:co.length]),reactExports.useEffect(()=>{ta(!0)},[]),reactExports.useEffect(()=>{Sa()}),reactExports.useEffect(()=>{Ko(defaultIndicatorStyle!==ra)},[Ko,ra]),reactExports.useImperativeHandle(so,()=>({updateIndicator:Sa,updateScrollButtons:Yo}),[Sa,Yo]);const ma=jsxRuntimeExports.jsx(TabsIndicator,{...So,className:clsx(jo.indicator,So.className),ownerState:Qo,style:{...ra,...So.style}});let ga=0;const Fa=reactExports.Children.map(co,Va=>{if(!reactExports.isValidElement(Va))return null;const qa=Va.props.value===void 0?ga:Va.props.value;Ea.set(qa,ga);const us=qa===Po;return ga+=1,reactExports.cloneElement(Va,{fullWidth:zo==="fullWidth",indicator:us&&!Wo&&ma,selected:us,selectionFollowsFocus:yo,onChange:vo,textColor:Ro,value:qa,...ga===1&&Po===!1&&!Va.props.tabIndex?{tabIndex:0}:{}})}),ja=Va=>{const qa=aa.current,us=ownerDocument(qa).activeElement;if(us.getAttribute("role")!=="tab")return;let ps=Co==="horizontal"?"ArrowLeft":"ArrowUp",Rs=Co==="horizontal"?"ArrowRight":"ArrowDown";switch(Co==="horizontal"&&io&&(ps="ArrowRight",Rs="ArrowLeft"),Va.key){case ps:Va.preventDefault(),moveFocus(qa,us,previousItem);break;case Rs:Va.preventDefault(),moveFocus(qa,us,nextItem);break;case"Home":Va.preventDefault(),moveFocus(qa,null,nextItem);break;case"End":Va.preventDefault(),moveFocus(qa,null,previousItem);break}},Ga=ia();return jsxRuntimeExports.jsxs(TabsRoot,{className:clsx(jo.root,uo),ownerState:Qo,ref:to,as:fo,...Vo,children:[Ga.scrollButtonStart,Ga.scrollbarSizeListener,jsxRuntimeExports.jsxs(TabsScroller,{className:jo.scroller,ownerState:Qo,style:{overflow:la.overflow,[Uo?`margin${io?"Left":"Right"}`:"marginBottom"]:Ho?void 0:-la.scrollbarWidth},ref:Pa,children:[jsxRuntimeExports.jsx(FlexContainer,{"aria-label":oo,"aria-labelledby":ao,"aria-orientation":Co==="vertical"?"vertical":null,className:jo.flexContainer,ownerState:Qo,onKeyDown:ja,ref:aa,role:"tablist",children:Fa}),Wo&&ma]}),Ga.scrollButtonEnd]})});function getTextFieldUtilityClass(Yi){return generateUtilityClass("MuiTextField",Yi)}const textFieldClasses=generateUtilityClasses("MuiTextField",["root"]),variantComponent={standard:Input,filled:FilledInput,outlined:OutlinedInput},useUtilityClasses=Yi=>{const{classes:eo}=Yi;return composeClasses({root:["root"]},getTextFieldUtilityClass,eo)},TextFieldRoot=styled(FormControl,{name:"MuiTextField",slot:"Root",overridesResolver:(Yi,eo)=>eo.root})({}),TextField$1=reactExports.forwardRef(function(eo,to){const ro=useDefaultProps({props:eo,name:"MuiTextField"}),{autoComplete:no,autoFocus:io=!1,children:oo,className:ao,color:so="primary",defaultValue:lo,disabled:co=!1,error:uo=!1,FormHelperTextProps:fo,fullWidth:ho=!1,helperText:mo,id:vo,InputLabelProps:Co,inputProps:bo,InputProps:wo,inputRef:yo,label:Eo,maxRows:xo,minRows:So,multiline:To=!1,name:Ro,onBlur:Po,onChange:zo,onFocus:Ho,placeholder:Vo,required:Lo=!1,rows:Uo,select:Do=!1,SelectProps:Oo,slots:ko={},slotProps:Bo={},type:Fo,value:Qo,variant:jo="outlined",...Xo}=ro,Zo={...ro,autoFocus:io,color:so,disabled:co,error:uo,fullWidth:ho,multiline:To,required:Lo,select:Do,variant:jo},Wo=useUtilityClasses(Zo),ta=useId(vo),ra=mo&&ta?`${ta}-helper-text`:void 0,da=Eo&&ta?`${ta}-label`:void 0,pa=variantComponent[jo],sa={slots:ko,slotProps:{input:wo,inputLabel:Co,htmlInput:bo,formHelperText:fo,select:Oo,...Bo}},ya={},na=sa.slotProps.inputLabel;jo==="outlined"&&(na&&typeof na.shrink<"u"&&(ya.notched=na.shrink),ya.label=Eo),Do&&((!Oo||!Oo.native)&&(ya.id=void 0),ya["aria-describedby"]=void 0);const[ea,oa]=useSlot("input",{elementType:pa,externalForwardedProps:sa,additionalProps:ya,ownerState:Zo}),[la,_a]=useSlot("inputLabel",{elementType:InputLabel,externalForwardedProps:sa,ownerState:Zo}),[Ea,Pa]=useSlot("htmlInput",{elementType:"input",externalForwardedProps:sa,ownerState:Zo}),[aa,Ca]=useSlot("formHelperText",{elementType:FormHelperText,externalForwardedProps:sa,ownerState:Zo}),[Sa,Ia]=useSlot("select",{elementType:Select,externalForwardedProps:sa,ownerState:Zo}),Ta=jsxRuntimeExports.jsx(ea,{"aria-describedby":ra,autoComplete:no,autoFocus:io,defaultValue:lo,fullWidth:ho,multiline:To,name:Ro,rows:Uo,maxRows:xo,minRows:So,type:Fo,value:Qo,id:ta,inputRef:yo,onBlur:Po,onChange:zo,onFocus:Ho,placeholder:Vo,inputProps:Pa,slots:{input:ko.htmlInput?Ea:void 0},...oa});return jsxRuntimeExports.jsxs(TextFieldRoot,{className:clsx(Wo.root,ao),disabled:co,error:uo,fullWidth:ho,ref:to,required:Lo,color:so,variant:jo,ownerState:Zo,...Xo,children:[Eo!=null&&Eo!==""&&jsxRuntimeExports.jsx(la,{htmlFor:ta,id:da,..._a,children:Eo}),Do?jsxRuntimeExports.jsx(Sa,{"aria-describedby":ra,id:ta,labelId:da,value:Qo,input
313:Ta,...Ia,children:oo}):Ta,mo&&jsxRuntimeExports.jsx(aa,{id:ra,...Ca,children:mo})]})}),TextField=Object.freeze(Object.defineProperty({__proto__:null,default:TextField$1,getTextFieldUtilityClass,textFieldClasses},Symbol.toStringTag,{value:"Module"}));function useLoadGsiScript(Yi={}){const{nonce:eo,onScriptLoadSuccess:to,onScriptLoadError:ro}=Yi,[no,io]=reactExports.useState(!1),oo=reactExports.useRef(to);oo.current=to;const ao=reactExports.useRef(ro);return ao.current=ro,reactExports.useEffect(()=>{const so=document.createElement("script");return so.src="https://accounts.google.com/gsi/client",so.async=!0,so.defer=!0,so.nonce=eo,so.onload=()=>{var lo;io(!0),(lo=oo.current)===null||lo===void 0||lo.call(oo)},so.onerror=()=>{var lo;io(!1),(lo=ao.current)===null||lo===void 0||lo.call(ao)},document.body.appendChild(so),()=>{document.body.removeChild(so)}},[eo]),no}const GoogleOAuthContext=reactExports.createContext(null);function GoogleOAuthProvider({clientId:Yi,nonce:eo,onScriptLoadSuccess:to,onScriptLoadError:ro,children:no}){const io=useLoadGsiScript({nonce:eo,onScriptLoadSuccess:to,onScriptLoadError:ro}),oo=reactExports.useMemo(()=>({clientId:Yi,scriptLoadedSuccessfully:io}),[Yi,io]);return React$1F.createElement(GoogleOAuthContext.Provider,{value:oo},no)}function useGoogleOAuth(){const Yi=reactExports.useContext(GoogleOAuthContext);if(!Yi)throw new Error("Google OAuth components must be used within GoogleOAuthProvider");return Yi}function useGoogleLogin({flow:Yi="implicit",scope:eo="",onSuccess:to,onError:ro,onNonOAuthError:no,overrideScope:io,state:oo,...ao}){const{clientId:so,scriptLoadedSuccessfully:lo}=useGoogleOAuth(),co=reactExports.useRef(),uo=reactExports.useRef(to);uo.current=to;const fo=reactExports.useRef(ro);fo.current=ro;const ho=reactExports.useRef(no);ho.current=no,reactExports.useEffect(()=>{var Co,bo;if(!lo)return;const wo=Yi==="implicit"?"initTokenClient":"initCodeClient",yo=(bo=(Co=window==null?void 0:window.google)===null||Co===void 0?void 0:Co.accounts)===null||bo===void 0?void 0:bo.oauth2[wo]({client_id:so,scope:io?eo:`openid profile email ${eo}`,callback:Eo=>{var xo,So;if(Eo.error)return(xo=fo.current)===null||xo===void 0?void 0:xo.call(fo,Eo);(So=uo.current)===null||So===void 0||So.call(uo,Eo)},error_callback:Eo=>{var xo;(xo=ho.current)===null||xo===void 0||xo.call(ho,Eo)},state:oo,...ao});co.current=yo},[so,lo,Yi,eo,oo]);const mo=reactExports.useCallback(Co=>{var bo;return(bo=co.current)===null||bo===void 0?void 0:bo.requestAccessToken(Co)},[]),vo=reactExports.useCallback(()=>{var Co;return(Co=co.current)===null||Co===void 0?void 0:Co.requestCode()},[]);return Yi==="implicit"?mo:vo}var client={},m$2=reactDomExports;client.createRoot=m$2.createRoot,client.hydrateRoot=m$2.hydrateRoot;var warn$4={};Object.defineProperty(warn$4,"__esModule",{value:!0});var warn$3=function(eo){console.warn("[react-gtm]",eo)};warn$4.default=warn$3;var _warn=warn$4,_warn2=_interopRequireDefault$P(_warn);function _interopRequireDefault$P(Yi){return Yi&&Yi.__esModule?Yi:{default:Yi}}var Snippets={tags:function(eo){var to=eo.id,ro=eo.events,no=eo.dataLayer,io=eo.dataLayerName,oo=eo.preview,ao=eo.auth,so="&gtm_auth="+ao,lo="&gtm_preview="+oo;to||(0,_warn2.default)("GTM Id is required");var co=`
314      <iframe src="https://www.googletagmanager.com/ns.html?id=`+to+so+lo+`&gtm_cookies_win=x"
315        height="0" width="0" style="display:none;visibility:hidden" id="tag-manager"></iframe>`,uo=`
316      (function(w,d,s,l,i){w[l]=w[l]||[];
317        w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js', `+JSON.stringify(ro).slice(1,-1)+`});
318        var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';
319        j.async=true;
319j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl+'`+so+lo+`&gtm_cookies_win=x';
320        f.parentNode.insertBefore(j,f);
321      })(window,document,'script','`+io+"','"+to+"');",fo=this.dataLayer(no,io);return{iframe:co,script:uo,dataLayerVar:fo}},dataLayer:function(eo,to){return`
322      window.`+to+" = window."+to+` || [];
323      window.`+to+".push("+JSON.stringify(eo)+")"}},Snippets_1=Snippets,_Snippets=Snippets_1,_Snippets2=_interopRequireDefault$O(_Snippets);function _interopRequireDefault$O(Yi){return Yi&&Yi.__esModule?Yi:{default:Yi}}var TagManager$1={dataScript:function(eo){var to=document.createElement("script");return to.innerHTML=eo,to},gtm:function(eo){var to=_Snippets2.default.tags(eo),ro=function(){var ao=document.createElement("noscript");return ao.innerHTML=to.iframe,ao},no=function(){var ao=document.createElement("script");return ao.innerHTML=to.script,ao},io=this.dataScript(to.dataLayerVar);return{noScript:ro,script:no,dataScript:io}},initialize:function(eo){var to=eo.gtmId,ro=eo.events,no=ro===void 0?{}:ro,io=eo.dataLayer,oo=eo.dataLayerName,ao=oo===void 0?"dataLayer":oo,so=eo.auth,lo=so===void 0?"":so,co=eo.preview,uo=co===void 0?"":co,fo=this.gtm({id:to,events:no,dataLayer:io||void 0,dataLayerName:ao,auth:lo,preview:uo});io&&document.head.appendChild(fo.dataScript),document.head.insertBefore(fo.script(),document.head.childNodes[0]),document.body.insertBefore(fo.noScript(),document.body.childNodes[0])},dataLayer:function(eo){var to=eo.dataLayer,ro=eo.dataLayerName,no=ro===void 0?"dataLayer":ro;if(window[no])return window[no].push(to);var io=_Snippets2.default.dataLayer(to,no),oo=this.dataScript(io);document.head.insertBefore(oo,document.head.childNodes[0])}},TagManager_1=TagManager$1,_TagManager=TagManager_1,_TagManager2=_interopRequireDefault$N(_TagManager);function _interopRequireDefault$N(Yi){return Yi&&Yi.__esModule?Yi:{default:Yi}}var dist$2=_TagManager2.default;const TagManager=getDefaultExportFromCjs(dist$2);var cookie$1={},cookie={};/*!
324 * cookie
325 * Copyright(c) 2012-2014 Roman Shtylman
326 * Copyright(c) 2015 Douglas Christopher Wilson
327 * MIT Licensed
328 */cookie.parse=parse$3;cookie.serialize=serialize;var decode$2=decodeURIComponent,encode=encodeURIComponent,pairSplitRegExp=/; */,fieldContentRegExp=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function parse$3(Yi,eo){if(typeof Yi!="string")throw new TypeError("argument str must be a string");for(var to={},ro=eo||{},no=Yi.split(pairSplitRegExp),io=ro.decode||decode$2,oo=0;oo<no.length;oo++){var ao=no[oo],so=ao.indexOf("=");if(!(so<0)){var lo=ao.substr(0,so).trim(),co=ao.substr(++so,ao.length).trim();co[0]=='"'&&(co=co.slice(1,-1)),to[lo]==null&&(to[lo]=tryDecode(co,io))}}return to}function serialize(Yi,eo,to){var ro=to||{},no=ro.encode||encode;if(typeof no!="function")throw new TypeError("option encode is invalid");if(!fieldContentRegExp.test(Yi))throw new TypeError("argument name is invalid");var io=no(eo);if(io&&!fieldContentRegExp.test(io))throw new TypeError("argument val is invalid");var oo=Yi+"="+io;if(ro.maxAge!=null){var ao=ro.maxAge-0;if(isNaN(ao))throw new Error("maxAge should be a Number");oo+="; Max-Age="+Math.floor(ao)}if(ro.domain){if(!fieldContentRegExp.test(ro.domain))throw new TypeError("option domain is invalid");oo+="; Domain="+ro.domain}if(ro.path){if(!fieldContentRegExp.test(ro.path))throw new TypeError("option path is invalid");oo+="; Path="+ro.path}if(ro.expires){if(typeof ro.expires.toUTCString!="function")throw new TypeError("option expires is invali
328d");oo+="; Expires="+ro.expires.toUTCString()}if(ro.httpOnly&&(oo+="; HttpOnly"),ro.secure&&(oo+="; Secure"),ro.sameSite){var so=typeof ro.sameSite=="string"?ro.sameSite.toLowerCase():ro.sameSite;switch(so){case!0:oo+="; SameSite=Strict";break;case"lax":oo+="; SameSite=Lax";break;case"strict":oo+="; SameSite=Strict";break;default:throw new TypeError("option sameSite is invalid")}}return oo}function tryDecode(Yi,eo){try{return eo(Yi)}catch{return Yi}}var define_process_env_default$2={};Object.defineProperty(cookie$1,"__esModule",{value:!0});var _typeof$M=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Yi){return typeof Yi}:function(Yi){return Yi&&typeof Symbol=="function"&&Yi.constructor===Symbol&&Yi!==Symbol.prototype?"symbol":typeof Yi};cookie$1.load=load$1;cookie$1.loadAll=loadAll;cookie$1.select=select;cookie$1.save=save;cookie$1.remove=remove;cookie$1.setRawCookie=setRawCookie;cookie$1.plugToRequest=plugToRequest;var _cookie=cookie,_cookie2=_interopRequireDefault$M(_cookie),_objectAssign=objectAssign,_objectAssign2=_interopRequireDefault$M(_objectAssign);function _interopRequireDefault$M(Yi){return Yi&&Yi.__esModule?Yi:{default:Yi}}var IS_NODE=typeof document>"u"||typeof process<"u"&&define_process_env_default$2&&!1,_rawCookie={},_res=void 0;function _isResWritable(){return _res&&!_res.headersSent}function load$1(Yi,eo){var to=IS_NODE?_rawCookie:_cookie2.default.parse(document.cookie),ro=to&&to[Yi];if(typeof eo>"u"&&(eo=!ro||ro[0]!=="{"&&ro[0]!=="["),!eo)try{ro=JSON.parse(ro)}catch{}return ro}function loadAll(Yi){var eo=IS_NODE?_rawCookie:_cookie2.default.parse(document.cookie),to=eo;if(typeof Yi>"u"&&(Yi=!to||to[0]!=="{"&&to[0]!=="["),!Yi)try{to=JSON.parse(to)}catch{}return to}function select(Yi){var eo=IS_NODE?_rawCookie:_cookie2.default.parse(document.cookie);return eo?Yi?Object.keys(eo).reduce(function(to,ro){if(!Yi.test(ro))return to;var no={};return no[ro]=eo[ro],(0,_objectAssign2.default)({},to,no)},{}):eo:{}}function save(Yi,eo,to){_rawCookie[Yi]=eo,(typeof eo>"u"?"undefined":_typeof$M(eo))==="object"&&(_rawCookie[Yi]=JSON.stringify(eo)),IS_NODE||(document.cookie=_cookie2.default.serialize(Yi,_rawCookie[Yi],to)),_isResWritable()&&_res.cookie&&_res.cookie(Yi,eo,to)}function remove(Yi,eo){delete _rawCookie[Yi],typeof eo>"u"?eo={}:typeof eo=="string"?eo={path:eo}:eo=(0,_objectAssign2.default)({},eo),typeof document<"u"&&(eo.expires=new Date(1970,1,1,0,0,1),eo.maxAge=0,document.cookie=_cookie2.default.serialize(Yi,"",eo)),_isResWritable()&&_res.clearCookie&&_res.clearCookie(Yi,eo)}function setRawCookie(Yi){Yi?_rawCookie=_cookie2.default.parse(Yi):_rawCookie={}}function plugToRequest(Yi,eo){return Yi.cookie?_rawCookie=Yi.cookie:Yi.cookies?_rawCookie=Yi.cookies:Yi.headers&&Yi.headers.cookie?setRawCookie(Yi.headers.cookie):_rawCookie={},_res=eo,function(){_res=null,_rawCookie={}}}var _default$4=cookie$1.default={setRawCookie,load:load$1,loadAll,select,save,remove,plugToRequest};function formatProdErrorMessage$1(Yi){return`Minified Redux error #${Yi}; visit https://redux.js.org/Errors?code=${Yi} for the full message or use the non-minified dev environment for full errors. `}var $$observable=typeof Symbol=="function"&&Symbol.observable||"@@observable",symbol_observable_default=$$observable,randomString=()=>Math.random().toString(36).substring(7).split("").join("."),ActionTypes={INIT:`@@redux/INIT${randomString()}`,REPLACE:`@@redux/REPLACE${randomString()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${randomString()}`},actionTypes_default=ActionTypes;function isPlainObject$5(Yi){if(typeof Yi!="object"||Yi===null)return!1;let eo=Yi;for(;Object.getPrototypeOf(eo)!==null;)eo=Object.getPrototypeOf(eo);return Object.getPrototypeOf(Yi)===eo||Object.getPrototypeOf(Yi)===null}function createStore(Yi,eo,to){if(typeof Yi!="function")throw new Error(formatProdErrorMessage$1(2));if(typeof eo=="function"&&typeof to=="function"||typeof to=="function"&&typeof arguments[3]=="function")throw new Error(formatProdErrorMessage$1(0));if(typeof eo=="function"&&typeof to>"u"&&(to=eo,eo=void 0),typeof to<"u"){if(typeof to!="function")throw new Error(formatProdErrorMessage$1(1));return to(createStore)(Yi,eo)}let ro=Yi,no=eo,io=new Map,oo=io,ao=0,so=!1;
328function lo(){oo===io&&(oo=new Map,io.forEach((Co,bo)=>{oo.set(bo,Co)}))}function co(){if(so)throw new Error(formatProdErrorMessage$1(3));return no}function uo(Co){if(typeof Co!="function")throw new Error(formatProdErrorMessage$1(4));if(so)throw new Error(formatProdErrorMessage$1(5));let bo=!0;lo();const wo=ao++;return oo.set(wo,Co),function(){if(bo){if(so)throw new Error(formatProdErrorMessage$1(6));bo=!1,lo(),oo.delete(wo),io=null}}}function fo(Co){if(!isPlainObject$5(Co))throw new Error(formatProdErrorMessage$1(7));if(typeof Co.type>"u")throw new Error(formatProdErrorMessage$1(8));if(typeof Co.type!="string")throw new Error(formatProdErrorMessage$1(17));if(so)throw new Error(formatProdErrorMessage$1(9));try{so=!0,no=ro(no,Co)}finally{so=!1}return(io=oo).forEach(wo=>{wo()}),Co}function ho(Co){if(typeof Co!="function")throw new Error(formatProdErrorMessage$1(10));ro=Co,fo({type:actionTypes_default.REPLACE})}function mo(){const Co=uo;return{subscribe(bo){if(typeof bo!="object"||bo===null)throw new Error(formatProdErrorMessage$1(11));function wo(){const Eo=bo;Eo.next&&Eo.next(co())}return wo(),{unsubscribe:Co(wo)}},[symbol_observable_default](){return this}}}return fo({type:actionTypes_default.INIT}),{dispatch:fo,subscribe:uo,getState:co,replaceReducer:ho,[symbol_observable_default]:mo}}function assertReducerShape(Yi){Object.keys(Yi).forEach(eo=>{const to=Yi[eo];if(typeof to(void 0,{type:actionTypes_default.INIT})>"u")throw new Error(formatProdErrorMessage$1(12));if(typeof to(void 0,{type:actionTypes_default.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(formatProdErrorMessage$1(13))})}function combineReducers(Yi){const eo=Object.keys(Yi),to={};for(let io=0;io<eo.length;io++){const oo=eo[io];typeof Yi[oo]=="function"&&(to[oo]=Yi[oo])}const ro=Object.keys(to);let no;try{assertReducerShape(to)}catch(io){no=io}return function(oo={},ao){if(no)throw no;let so=!1;const lo={};for(let co=0;co<ro.length;co++){const uo=ro[co],fo=to[uo],ho=oo[uo],mo=fo(ho,ao);if(typeof mo>"u")throw ao&&ao.type,new Error(formatProdErrorMessage$1(14));lo[uo]=mo,so=so||mo!==ho}return so=so||ro.length!==Object.keys(oo).length,so?lo:oo}}function compose$1(...Yi){return Yi.length===0?eo=>eo:Yi.length===1?Yi[0]:Yi.reduce((eo,to)=>(...ro)=>eo(to(...ro)))}function applyMiddleware(...Yi){return eo=>(to,ro)=>{const no=eo(to,ro);let io=()=>{throw new Error(formatProdErrorMessage$1(15))};const oo={getState:no.getState,dispatch:(so,...lo)=>io(so,...lo)},ao=Yi.map(so=>so(oo));return io=compose$1(...ao)(no.dispatch),{...no,dispatch:io}}}function isAction(Yi){return isPlainObject$5(Yi)&&"type"in Yi&&typeof Yi.type=="string"}var NOTHING=Symbol.for("immer-nothing"),DRAFTABLE=Symbol.for("immer-draftable"),DRAFT_STATE=Symbol.for("immer-state");function die(Yi,...eo){throw new Error(`[Immer] minified error nr: ${Yi}. Full error at: https://bit.ly/3cXEKWf`)}var getPrototypeOf=Object.getPrototypeOf;function isDraft(Yi){return!!Yi&&!!Yi[DRAFT_STATE]}function isDraftable(Yi){var eo;return Yi?isPlainObject$4(Yi)||Array.isArray(Yi)||!!Yi[DRAFTABLE]||!!((eo=Yi.constructor)!=null&&eo[DRAFTABLE])||isMap(Yi)||isSet(Yi):!1}var objectCtorString$1=Object.prototype.constructor.toString(),cachedCtorStrings=new WeakMap;function isPlainObject$4(Yi){if(!Yi||typeof Yi!="object")return!1;const eo=Object.getPrototypeOf(Yi);if(eo===null||eo===Object.prototype)return!0;const to=Object.hasOwnProperty.call(eo,"constructor")&&eo.constructor;if(to===Object)return!0;if(typeof to!="function")return!1;let ro=cachedCtorStrings.get(to);return ro===void 0&&(ro=Function.toString.call(to),cachedCtorStrings.set(to,ro)),ro===objectCtorString$1}function each(Yi,eo,to=!0){getArchtype(Yi)===0?(to?Reflect.ownKeys(Yi):Object.keys(Yi)).forEach(no=>{eo(no,Yi[no],Yi)}):Yi.forEach((ro,no)=>eo(no,ro,Yi))}function getArchtype(Yi){const eo=Yi[DRAFT_STATE];return eo?eo.type_:Array.isArray(Yi)?1:isMap(Yi)?2:isSet(Yi)?3:0}function has(Yi,eo){return getArchtype(Yi)===2?Yi.has(eo):Object.prototype.hasOwnProperty.call(Yi,eo)}function set$1(Yi,eo,to){const ro=getArchtype(Yi);ro===2?Yi.set(eo,to):ro===3?Yi.add(to):Yi[eo]=to}
328function is$1(Yi,eo){return Yi===eo?Yi!==0||1/Yi===1/eo:Yi!==Yi&&eo!==eo}function isMap(Yi){return Yi instanceof Map}function isSet(Yi){return Yi instanceof Set}function latest(Yi){return Yi.copy_||Yi.base_}function shallowCopy(Yi,eo){if(isMap(Yi))return new Map(Yi);if(isSet(Yi))return new Set(Yi);if(Array.isArray(Yi))return Array.prototype.slice.call(Yi);const to=isPlainObject$4(Yi);if(eo===!0||eo==="class_only"&&!to){const ro=Object.getOwnPropertyDescriptors(Yi);delete ro[DRAFT_STATE];let no=Reflect.ownKeys(ro);for(let io=0;io<no.length;io++){const oo=no[io],ao=ro[oo];ao.writable===!1&&(ao.writable=!0,ao.configurable=!0),(ao.get||ao.set)&&(ro[oo]={configurable:!0,writable:!0,enumerable:ao.enumerable,value:Yi[oo]})}return Object.create(getPrototypeOf(Yi),ro)}else{const ro=getPrototypeOf(Yi);if(ro!==null&&to)return{...Yi};const no=Object.create(ro);return Object.assign(no,Yi)}}function freeze(Yi,eo=!1){return isFrozen(Yi)||isDraft(Yi)||!isDraftable(Yi)||(getArchtype(Yi)>1&&Object.defineProperties(Yi,{set:dontMutateMethodOverride,add:dontMutateMethodOverride,clear:dontMutateMethodOverride,delete:dontMutateMethodOverride}),Object.freeze(Yi),eo&&Object.values(Yi).forEach(to=>freeze(to,!0))),Yi}function dontMutateFrozenCollections(){die(2)}var dontMutateMethodOverride={value:dontMutateFrozenCollections};function isFrozen(Yi){return Yi===null||typeof Yi!="object"?!0:Object.isFrozen(Yi)}var plugins$2={};function getPlugin(Yi){const eo=plugins$2[Yi];return eo||die(0,Yi),eo}var currentScope;function getCurrentScope(){return currentScope}function createScope(Yi,eo){return{drafts_:[],parent_:Yi,immer_:eo,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function usePatchesInScope(Yi,eo){eo&&(getPlugin("Patches"),Yi.patches_=[],Yi.inversePatches_=[],Yi.patchListener_=eo)}function revokeScope(Yi){leaveScope(Yi),Yi.drafts_.forEach(revokeDraft),Yi.drafts_=null}function leaveScope(Yi){Yi===currentScope&&(currentScope=Yi.parent_)}function enterScope(Yi){return currentScope=createScope(currentScope,Yi)}function revokeDraft(Yi){const eo=Yi[DRAFT_STATE];eo.type_===0||eo.type_===1?eo.revoke_():eo.revoked_=!0}function processResult(Yi,eo){eo.unfinalizedDrafts_=eo.drafts_.length;const to=eo.drafts_[0];return Yi!==void 0&&Yi!==to?(to[DRAFT_STATE].modified_&&(revokeScope(eo),die(4)),isDraftable(Yi)&&(Yi=finalize(eo,Yi),eo.parent_||maybeFreeze(eo,Yi)),eo.patches_&&getPlugin("Patches").generateReplacementPatches_(to[DRAFT_STATE].base_,Yi,eo.patches_,eo.inversePatches_)):Yi=finalize(eo,to,[]),revokeScope(eo),eo.patches_&&eo.patchListener_(eo.patches_,eo.inversePatches_),Yi!==NOTHING?Yi:void 0}function finalize(Yi,eo,to){if(isFrozen(eo))return eo;const ro=Yi.immer_.shouldUseStrictIteration(),no=eo[DRAFT_STATE];if(!no)return each(eo,(io,oo)=>finalizeProperty(Yi,no,eo,io,oo,to),ro),eo;if(no.scope_!==Yi)return eo;if(!no.modified_)return maybeFreeze(Yi,no.base_,!0),no.base_;if(!no.finalized_){no.finalized_=!0,no.scope_.unfinalizedDrafts_--;const io=no.copy_;let oo=io,ao=!1;no.type_===3&&(oo=new Set(io),io.clear(),ao=!0),each(oo,(so,lo)=>finalizeProperty(Yi,no,io,so,lo,to,ao),ro),maybeFreeze(Yi,io,!1),to&&Yi.patches_&&getPlugin("Patches").generatePatches_(no,to,Yi.patches_,Yi.inversePatches_)}return no.copy_}function finalizeProperty(Yi,eo,to,ro,no,io,oo){if(no==null||typeof no!="object"&&!oo)return;const ao=isFrozen(no);if(!(ao&&!oo)){if(isDraft(no)){const so=io&&eo&&eo.type_!==3&&!has(eo.assigned_,ro)?io.concat(ro):void 0,lo=finalize(Yi,no,so);if(set$1(to,ro,lo),isDraft(lo))Yi.canAutoFreeze_=!1;else return}else oo&&to.add(no);if(isDraftable(no)&&!ao){if(!Yi.immer_.autoFreeze_&&Yi.unfinalizedDrafts_<1||eo&&eo.base_&&eo.base_[ro]===no&&ao)return;finalize(Yi,no),(!eo||!eo.scope_.parent_)&&typeof ro!="symbol"&&(isMap(to)?to.has(ro):Object.prototype.propertyIsEnumerable.call(to,ro))&&maybeFreeze(Yi,no)}}}function maybeFreeze(Yi,eo,to=!1){!Yi.parent_&&Yi.immer_.autoFreeze_&&Yi.canAutoFreeze_&&freeze(eo,to)}function createProxyProxy(Yi,eo){const to=Array.isArray(Yi),ro={type_:to?1:0,scope_:eo?eo.scope_:getCurrentScope(),modified_:!1,finalized_:!1,assigned_:{},parent_:eo,base_:Yi,draft_:null,copy_:null,revoke_:null,isManual_:!1};let no=ro,io=objectTraps;to&&(no=[ro],io=arrayTraps);const{revoke:oo,proxy:ao}=Proxy.revocable(no,io);return ro.draft_=ao,ro.revoke_=oo,ao}var objectTraps={get(Yi,eo){if(eo===DRAFT_STATE)return Yi;
328const to=latest(Yi);if(!has(to,eo))return readPropFromProto(Yi,to,eo);const ro=to[eo];return Yi.finalized_||!isDraftable(ro)?ro:ro===peek(Yi.base_,eo)?(prepareCopy(Yi),Yi.copy_[eo]=createProxy(ro,Yi)):ro},has(Yi,eo){return eo in latest(Yi)},ownKeys(Yi){return Reflect.ownKeys(latest(Yi))},set(Yi,eo,to){const ro=getDescriptorFromProto(latest(Yi),eo);if(ro!=null&&ro.set)return ro.set.call(Yi.draft_,to),!0;if(!Yi.modified_){const no=peek(latest(Yi),eo),io=no==null?void 0:no[DRAFT_STATE];if(io&&io.base_===to)return Yi.copy_[eo]=to,Yi.assigned_[eo]=!1,!0;if(is$1(to,no)&&(to!==void 0||has(Yi.base_,eo)))return!0;prepareCopy(Yi),markChanged(Yi)}return Yi.copy_[eo]===to&&(to!==void 0||eo in Yi.copy_)||Number.isNaN(to)&&Number.isNaN(Yi.copy_[eo])||(Yi.copy_[eo]=to,Yi.assigned_[eo]=!0),!0},deleteProperty(Yi,eo){return peek(Yi.base_,eo)!==void 0||eo in Yi.base_?(Yi.assigned_[eo]=!1,prepareCopy(Yi),markChanged(Yi)):delete Yi.assigned_[eo],Yi.copy_&&delete Yi.copy_[eo],!0},getOwnPropertyDescriptor(Yi,eo){const to=latest(Yi),ro=Reflect.getOwnPropertyDescriptor(to,eo);return ro&&{writable:!0,configurable:Yi.type_!==1||eo!=="length",enumerable:ro.enumerable,value:to[eo]}},defineProperty(){die(11)},getPrototypeOf(Yi){return getPrototypeOf(Yi.base_)},setPrototypeOf(){die(12)}},arrayTraps={};each(objectTraps,(Yi,eo)=>{arrayTraps[Yi]=function(){return arguments[0]=arguments[0][0],eo.apply(this,arguments)}});arrayTraps.deleteProperty=function(Yi,eo){return arrayTraps.set.call(this,Yi,eo,void 0)};arrayTraps.set=function(Yi,eo,to){return objectTraps.set.call(this,Yi[0],eo,to,Yi[0])};function peek(Yi,eo){const to=Yi[DRAFT_STATE];return(to?latest(to):Yi)[eo]}function readPropFromProto(Yi,eo,to){var no;const ro=getDescriptorFromProto(eo,to);return ro?"value"in ro?ro.value:(no=ro.get)==null?void 0:no.call(Yi.draft_):void 0}function getDescriptorFromProto(Yi,eo){if(!(eo in Yi))return;let to=getPrototypeOf(Yi);for(;to;){const ro=Object.getOwnPropertyDescriptor(to,eo);if(ro)return ro;to=getPrototypeOf(to)}}function markChanged(Yi){Yi.modified_||(Yi.modified_=!0,Yi.parent_&&markChanged(Yi.parent_))}function prepareCopy(Yi){Yi.copy_||(Yi.copy_=shallowCopy(Yi.base_,Yi.scope_.immer_.useStrictShallowCopy_))}var Immer2=class{constructor(Yi){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(eo,to,ro)=>{if(typeof eo=="function"&&typeof to!="function"){const io=to;to=eo;const oo=this;return function(so=io,...lo){return oo.produce(so,co=>to.call(this,co,...lo))}}typeof to!="function"&&die(6),ro!==void 0&&typeof ro!="function"&&die(7);let no;if(isDraftable(eo)){const io=enterScope(this),oo=createProxy(eo,void 0);let ao=!0;try{no=to(oo),ao=!1}finally{ao?revokeScope(io):leaveScope(io)}return usePatchesInScope(io,ro),processResult(no,io)}else if(!eo||typeof eo!="object"){if(no=to(eo),no===void 0&&(no=eo),no===NOTHING&&(no=void 0),this.autoFreeze_&&freeze(no,!0),ro){const io=[],oo=[];getPlugin("Patches").generateReplacementPatches_(eo,no,io,oo),ro(io,oo)}return no}else die(1,eo)},this.produceWithPatches=(eo,to)=>{if(typeof eo=="function")return(oo,...ao)=>this.produceWithPatches(oo,so=>eo(so,...ao));let ro,no;return[this.produce(eo,to,(oo,ao)=>{ro=oo,no=ao}),ro,no]},typeof(Yi==null?void 0:Yi.autoFreeze)=="boolean"&&this.setAutoFreeze(Yi.autoFreeze),typeof(Yi==null?void 0:Yi.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(Yi.useStrictShallowCopy),typeof(Yi==null?void 0:Yi.useStrictIteration)=="boolean"&&this.setUseStrictIteration(Yi.useStrictIteration)}createDraft(Yi){isDraftable(Yi)||die(8),isDraft(Yi)&&(Yi=current(Yi));const eo=enterScope(this),to=createProxy(Yi,void 0);return to[DRAFT_STATE].isManual_=!0,leaveScope(eo),to}finishDraft(Yi,eo){const to=Yi&&Yi[DRAFT_STATE];(!to||!to.isManual_)&&die(9);const{scope_:ro}=to;return usePatchesInScope(ro,eo),processResult(void 0,ro)}setAutoFreeze(Yi){this.autoFreeze_=Yi}setUseStrictShallowCopy(Yi){this.useStrictShallowCopy_=Yi}setUseStrictIteration(Yi){this.useStrictIteration_=Yi}
328shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(Yi,eo){let to;for(to=eo.length-1;to>=0;to--){const no=eo[to];if(no.path.length===0&&no.op==="replace"){Yi=no.value;break}}to>-1&&(eo=eo.slice(to+1));const ro=getPlugin("Patches").applyPatches_;return isDraft(Yi)?ro(Yi,eo):this.produce(Yi,no=>ro(no,eo))}};function createProxy(Yi,eo){const to=isMap(Yi)?getPlugin("MapSet").proxyMap_(Yi,eo):isSet(Yi)?getPlugin("MapSet").proxySet_(Yi,eo):createProxyProxy(Yi,eo);return(eo?eo.scope_:getCurrentScope()).drafts_.push(to),to}function current(Yi){return isDraft(Yi)||die(10,Yi),currentImpl(Yi)}function currentImpl(Yi){if(!isDraftable(Yi)||isFrozen(Yi))return Yi;const eo=Yi[DRAFT_STATE];let to,ro=!0;if(eo){if(!eo.modified_)return eo.base_;eo.finalized_=!0,to=shallowCopy(Yi,eo.scope_.immer_.useStrictShallowCopy_),ro=eo.scope_.immer_.shouldUseStrictIteration()}else to=shallowCopy(Yi,!0);return each(to,(no,io)=>{set$1(to,no,currentImpl(io))},ro),eo&&(eo.finalized_=!1),to}var immer=new Immer2,produce=immer.produce;function assertIsFunction(Yi,eo=`expected a function, instead received ${typeof Yi}`){if(typeof Yi!="function")throw new TypeError(eo)}function assertIsObject(Yi,eo=`expected an object, instead received ${typeof Yi}`){if(typeof Yi!="object")throw new TypeError(eo)}function assertIsArrayOfFunctions(Yi,eo="expected all items to be functions, instead received the following types: "){if(!Yi.every(to=>typeof to=="function")){const to=Yi.map(ro=>typeof ro=="function"?`function ${ro.name||"unnamed"}()`:typeof ro).join(", ");throw new TypeError(`${eo}[${to}]`)}}var ensureIsArray=Yi=>Array.isArray(Yi)?Yi:[Yi];function getDependencies(Yi){const eo=Array.isArray(Yi[0])?Yi[0]:Yi;return assertIsArrayOfFunctions(eo,"createSelector expects all input-selectors to be functions, but received the following types: "),eo}function collectInputSelectorResults(Yi,eo){const to=[],{length:ro}=Yi;for(let no=0;no<ro;no++)to.push(Yi[no].apply(null,eo));return to}var StrongRef=class{constructor(Yi){this.value=Yi}deref(){return this.value}},Ref=typeof WeakRef<"u"?WeakRef:StrongRef,UNTERMINATED=0,TERMINATED=1;function createCacheNode(){return{s:UNTERMINATED,v:void 0,o:null,p:null}}function weakMapMemoize(Yi,eo={}){let to=createCacheNode();const{resultEqualityCheck:ro}=eo;let no,io=0;function oo(){var uo;let ao=to;const{length:so}=arguments;for(let fo=0,ho=so;fo<ho;fo++){const mo=arguments[fo];if(typeof mo=="function"||typeof mo=="object"&&mo!==null){let vo=ao.o;vo===null&&(ao.o=vo=new WeakMap);const Co=vo.get(mo);Co===void 0?(ao=createCacheNode(),vo.set(mo,ao)):ao=Co}else{let vo=ao.p;vo===null&&(ao.p=vo=new Map);const Co=vo.get(mo);Co===void 0?(ao=createCacheNode(),vo.set(mo,ao)):ao=Co}}const lo=ao;let co;if(ao.s===TERMINATED)co=ao.v;else if(co=Yi.apply(null,arguments),io++,ro){const fo=((uo=no==null?void 0:no.deref)==null?void 0:uo.call(no))??no;fo!=null&&ro(fo,co)&&(co=fo,io!==0&&io--),no=typeof co=="object"&&co!==null||typeof co=="function"?new Ref(co):co}return lo.s=TERMINATED,lo.v=co,co}return oo.clearCache=()=>{to=createCacheNode(),oo.resetResultsCount()},oo.resultsCount=()=>io,oo.resetResultsCount=()=>{io=0},oo}function createSelectorCreator(Yi,...eo){const to=typeof Yi=="function"?{memoize:Yi,memoizeOptions:eo}:Yi,ro=(...no)=>{let io=0,oo=0,ao,so={},lo=no.pop();typeof lo=="object"&&(so=lo,lo=no.pop()),assertIsFunction(lo,`createSelector expects an output function after the inputs, but received: [${typeof lo}]`);const co={...to,...so},{memoize:uo,memoizeOptions:fo=[],argsMemoize:ho=weakMapMemoize,argsMemoizeOptions:mo=[]}=co,vo=ensureIsArray(fo),Co=ensureIsArray(mo),bo=getDependencies(no),wo=uo(function(){return io++,lo.apply(null,arguments)},...vo),yo=ho(function(){oo++;const xo=collectInputSelectorResults(bo,arguments);return ao=wo.apply(null,xo),ao},...Co);return Object.assign(yo,{resultFunc:lo,memoizedResultFunc:wo,dependencies:bo,dependencyRecomputations:()=>oo,resetDependencyRecomputations:()=>{oo=0},lastResult:()=>ao,recomputations:()=>io,resetRecomputations:()=>{io=0},memoize:uo,argsMemoize:ho})};return Object.assign(ro,{withTypes:()=>ro}),ro}var createSelector=createSelectorCreator(weakMapMemoize),createStructuredSelector=Object.assign((Yi,eo=createSelector)=>{assertIsObject(Yi,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof Yi}`);const to=Object.keys(Yi),ro=to.map(io=>Yi[io]);return eo(ro,(...io)=>io.reduce((oo,ao,so)=>(oo[to[so]]=ao,oo),{}))},{withTypes:()=>createStructuredSelector});function createThunkMiddleware(Yi){return({dispatch:to,getState:ro})=>no=>io=>typeof io=="function"?io(to,ro,Yi):no(io)}var thunk=createThunkMiddleware(),withExtraArgument=createThunkMiddleware,composeWithDevTools=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?compose$1:compose$1.apply(null,arguments)};function createAction(Yi,eo){function to(...ro){if(eo){let no=eo(...ro);if(!no)throw new Error(formatProdErrorMessage(0));return{type:Yi,payload:no.payload,..."meta"in no&&{meta:no.meta},..."error"in no&&{error:no.error}}}return{type:Yi,payload:ro[0]}}return to.toString=()=>`${Yi}`,to.type=Yi,to.match=ro=>isAction(ro)&&ro.type===Yi,to}var Tuple=class Bf extends Array{constructor(...eo){super(...eo),Object.setPrototypeOf(this,Bf.prototype)}static get[Symbol.species](){return Bf}concat(...eo){return super.concat.apply(this,eo)}prepend(...eo){return eo.length===1&&Array.isArray(eo[0])?new Bf(...eo[0].concat(this)):new Bf(...eo.concat(this))}};function freezeDraftable(Yi){return isDraftable(Yi)?produce(Yi,()=>{}):Yi}function emplace(Yi,eo,to){if(Yi.has(eo)){let no=Yi.get(eo);return to.update&&(no=to.update(no,eo,Yi),Yi.set(eo,no)),no}if(!to.insert)throw new Error(formatProdErrorMessage(10));const ro=to.insert(eo,Yi);return Yi.set(eo,ro),ro}function isBoolean$3(Yi){return typeof Yi=="boolean"}var buildGetDefaultMiddleware=()=>function(eo){const{thunk:to=!0,immutableCheck:ro=!0,serializableCheck:no=!0,actionCreatorCheck:io=!0}=eo??{};let oo=new Tuple;return to&&(isBoolean$3(to)?oo.push(thunk):oo.push(withExtraArgument(to.extraArgument))),oo},SHOULD_AUTOBATCH="RTK_autoBatch",createQueueWithTimer=Yi=>eo=>{setTimeout(eo,Yi)},rAF=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:createQueueWithTimer(10),autoBatchEnhancer=(Yi={type:"raf"})=>eo=>(...to)=>{const ro=eo(...to);let no=!0,io=!1,oo=!1;const ao=new Set,so=Yi.type==="tick"?queueMicrotask:Yi.type==="raf"?rAF:Yi.type==="callback"?Yi.queueNotification:createQueueWithTimer(Yi.timeout),lo=()=>
328{oo=!1,io&&(io=!1,ao.forEach(co=>co()))};return Object.assign({},ro,{subscribe(co){const uo=()=>no&&co(),fo=ro.subscribe(uo);return ao.add(co),()=>{fo(),ao.delete(co)}},dispatch(co){var uo;try{return no=!((uo=co==null?void 0:co.meta)!=null&&uo[SHOULD_AUTOBATCH]),io=!no,io&&(oo||(oo=!0,so(lo))),ro.dispatch(co)}finally{no=!0}}})},buildGetDefaultEnhancers=Yi=>function(to){const{autoBatch:ro=!0}=to??{};let no=new Tuple(Yi);return ro&&no.push(autoBatchEnhancer(typeof ro=="object"?ro:void 0)),no};function configureStore(Yi){const eo=buildGetDefaultMiddleware(),{reducer:to=void 0,middleware:ro,devTools:no=!0,preloadedState:io=void 0,enhancers:oo=void 0}=Yi||{};let ao;if(typeof to=="function")ao=to;else if(isPlainObject$5(to))ao=combineReducers(to);else throw new Error(formatProdErrorMessage(1));let so;typeof ro=="function"?so=ro(eo):so=eo();let lo=compose$1;no&&(lo=composeWithDevTools({trace:!1,...typeof no=="object"&&no}));const co=applyMiddleware(...so),uo=buildGetDefaultEnhancers(co);let fo=typeof oo=="function"?oo(uo):uo();const ho=lo(...fo);return createStore(ao,io,ho)}function executeReducerBuilderCallback(Yi){const eo={},to=[];let ro;const no={addCase(io,oo){const ao=typeof io=="string"?io:io.type;if(!ao)throw new Error(formatProdErrorMessage(28));if(ao in eo)throw new Error(formatProdErrorMessage(29));return eo[ao]=oo,no},addMatcher(io,oo){return to.push({matcher:io,reducer:oo}),no},addDefaultCase(io){return ro=io,no}};return Yi(no),[eo,to,ro]}function isStateFunction(Yi){return typeof Yi=="function"}function createReducer(Yi,eo){let[to,ro,no]=executeReducerBuilderCallback(eo),io;if(isStateFunction(Yi))io=()=>freezeDraftable(Yi());else{const ao=freezeDraftable(Yi);io=()=>ao}function oo(ao=io(),so){let lo=[to[so.type],...ro.filter(({matcher:co})=>co(so)).map(({reducer:co})=>co)];return lo.filter(co=>!!co).length===0&&(lo=[no]),lo.reduce((co,uo)=>{if(uo)if(isDraft(co)){const ho=uo(co,so);return ho===void 0?co:ho}else{if(isDraftable(co))return produce(co,fo=>uo(fo,so));{const fo=uo(co,so);if(fo===void 0){if(co===null)return co;throw new Error(formatProdErrorMessage(9))}return fo}}return co},ao)}return oo.getInitialState=io,oo}var asyncThunkSymbol=Symbol.for("rtk-slice-createasyncthunk");function getType(Yi,eo){return`${Yi}/${eo}`}function buildCreateSlice({creators:Yi}={}){var to;const eo=(to=Yi==null?void 0:Yi.asyncThunk)==null?void 0:to[asyncThunkSymbol];return function(no){const{name:io,reducerPath:oo=io}=no;if(!io)throw new Error(formatProdErrorMessage(11));const ao=(typeof no.reducers=="function"?no.reducers(buildReducerCreators()):no.reducers)||{},so=Object.keys(ao),lo={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},co={addCase(yo,Eo){const xo=typeof yo=="string"?yo:yo.type;if(!xo)throw new Error(formatProdErrorMessage(12));if(xo in lo.sliceCaseReducersByType)throw new Error(formatProdErrorMessage(13));return lo.sliceCaseReducersByType[xo]=Eo,co},addMatcher(yo,Eo){return lo.sliceMatchers.push({matcher:yo,reducer:Eo}),co},exposeAction(yo,Eo){return lo.actionCreators[yo]=Eo,co},exposeCaseReducer(yo,Eo){return lo.sliceCaseReducersByName[yo]=Eo,co}};so.forEach(yo=>{const Eo=ao[yo],xo={reducerName:yo,type:getType(io,yo),createNotation:typeof no.reducers=="function"};isAsyncThunkSliceReducerDefinition(Eo)?handleThunkCaseReducerDefinition(xo,Eo,co,eo):handleNormalReducerDefinition(xo,Eo,co)});function uo(){const[yo={},Eo=[],xo=void 0]=typeof no.extraReducers=="function"?executeReducerBuilderCallback(no.extraReducers):[no.extraReducers],So={...yo,...lo.sliceCaseReducersByType};return createReducer(no.initialState,To=>{for(let Ro in So)To.addCase(Ro,So[Ro]);for(let Ro of lo.sliceMatchers)To.addMatcher(Ro.matcher,Ro.reducer);for(let Ro of Eo)To.addMatcher(Ro.matcher,Ro.reducer);xo&&To.addDefaultCase(xo)})}const fo=yo=>yo,ho=new Map;let mo;function vo(yo,Eo){return mo||(mo=uo()),mo(yo,Eo)}function Co(){return mo||(mo=uo()),mo.getInitialState()}function bo(yo,Eo=!1){function xo(To){let Ro=To[yo];return typeof Ro>"u"&&Eo&&(Ro=Co()),Ro}function So(To=fo){const Ro=emplace(ho,Eo,{insert:()=>new WeakMap});
vendor: 4,114 bytes, line 328
328return emplace(Ro,To,{insert:()=>{const Po={};for(const[zo,Ho]of Object.entries(no.selectors??{}))Po[zo]=wrapSelector(Ho,To,Co,Eo);return Po}})}return{reducerPath:yo,getSelectors:So,get selectors(){return So(xo)},selectSlice:xo}}const wo={name:io,reducer:vo,actions:lo.actionCreators,caseReducers:lo.sliceCaseReducersByName,getInitialState:Co,...bo(oo),injectInto(yo,{reducerPath:Eo,...xo}={}){const So=Eo??oo;return yo.inject({reducerPath:So,reducer:vo},xo),{...wo,...bo(So,!0)}}};return wo}}function wrapSelector(Yi,eo,to,ro){function no(io,...oo){let ao=eo(io);return typeof ao>"u"&&ro&&(ao=to()),Yi(ao,...oo)}return no.unwrapped=Yi,no}var createSlice=buildCreateSlice();function buildReducerCreators(){function Yi(eo,to){return{_reducerDefinitionType:"asyncThunk",payloadCreator:eo,...to}}return Yi.withTypes=()=>Yi,{reducer(eo){return Object.assign({[eo.name](...to){return eo(...to)}}[eo.name],{_reducerDefinitionType:"reducer"})},preparedReducer(eo,to){return{_reducerDefinitionType:"reducerWithPrepare",prepare:eo,reducer:to}},asyncThunk:Yi}}function handleNormalReducerDefinition({type:Yi,reducerName:eo,createNotation:to},ro,no){let io,oo;if("reducer"in ro){if(to&&!isCaseReducerWithPrepareDefinition(ro))throw new Error(formatProdErrorMessage(17));io=ro.reducer,oo=ro.prepare}else io=ro;no.addCase(Yi,io).exposeCaseReducer(eo,io).exposeAction(eo,oo?createAction(Yi,oo):createAction(Yi))}function isAsyncThunkSliceReducerDefinition(Yi){return Yi._reducerDefinitionType==="asyncThunk"}function isCaseReducerWithPrepareDefinition(Yi){return Yi._reducerDefinitionType==="reducerWithPrepare"}function handleThunkCaseReducerDefinition({type:Yi,reducerName:eo},to,ro,no){if(!no)throw new Error(formatProdErrorMessage(18));const{payloadCreator:io,fulfilled:oo,pending:ao,rejected:so,settled:lo,options:co}=to,uo=no(Yi,io,co);ro.exposeAction(eo,uo),oo&&ro.addCase(uo.fulfilled,oo),ao&&ro.addCase(uo.pending,ao),so&&ro.addCase(uo.rejected,so),lo&&ro.addMatcher(uo.settled,lo),ro.exposeCaseReducer(eo,{fulfilled:oo||noop$7,pending:ao||noop$7,rejected:so||noop$7,settled:lo||noop$7})}function noop$7(){}function formatProdErrorMessage(Yi){return`Minified Redux Toolkit error #${Yi}; visit https://redux-toolkit.js.org/Errors?code=${Yi} for the full message or use the non-minified dev environment for full errors. `}var __assign$1=function(){return __assign$1=Object.assign||function(eo){for(var to,ro=1,no=arguments.length;ro<no;ro++){to=arguments[ro];for(var io in to)Object.prototype.hasOwnProperty.call(to,io)&&(eo[io]=to[io])}return eo},__assign$1.apply(this,arguments)};function __awaiter$3(Yi,eo,to,ro){function no(io){return io instanceof to?io:new to(function(oo){oo(io)})}return new(to||(to=Promise))(function(io,oo){function ao(co){try{lo(ro.next(co))}catch(uo){oo(uo)}}function so(co){try{lo(ro.throw(co))}catch(uo){oo(uo)}}function lo(co){co.done?io(co.value):no(co.value).then(ao,so)}lo((ro=ro.apply(Yi,eo||[])).next())})}function __generator$1(Yi,eo){var to={label:0,sent:function(){if(io[0]&1)throw io[1];return io[1]},trys:[],ops:[]},ro,no,io,oo=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return oo.next=ao(0),oo.throw=ao(1),oo.return=ao(2),typeof Symbol=="function"&&(oo[Symbol.iterator]=function(){return this}),oo;function ao(lo){return function(co){return so([lo,co])}}function so(lo){if(ro)throw new TypeError("Generator is already executing.");for(;oo&&(oo=0,lo[0]&&(to=0)),to;)try{if(ro=1,no&&(io=lo[0]&2?no.return:lo[0]?no.throw||((io=no.return)&&io.call(no),0):no.next)&&!(io=io.call(no,lo[1])).done)return io;switch(no=0,io&&(lo=[lo[0]&2,io.value]),lo[0]){case 0:case 1:io=lo;break;case 4:return to.label++,{value:lo[1],done:!1};case 5:to.label++,no=lo[1],lo=[0];continue;case 7:lo=to.ops.pop(),to.trys.pop();continue;default:if(io=to.trys,!(io=io.length>0&&io[io.length-1])&&(lo[0]===6||lo[0]===2)){to=0;continue}if(lo[0]===3&&(!io||lo[1]>io[0]&&lo[1]<io[3])){to.label=lo[1];break}if(lo[0]===6&&to.label<io[1]){to.label=io[1],io=lo;break}if(io&&to.label<io[2]){to.label=io[2],to.ops.push(lo);break}io[2]&&to.ops.pop(),to.trys.pop();continue}lo=eo.call(Yi,to)}
vendor: 22,075 bytes, lines 328-329
328catch(co){lo=[6,co],no=0}finally{ro=io=0}if(lo[0]&5)throw lo[1];return{value:lo[0]?lo[1]:void 0,done:!0}}}function __spreadArray$1(Yi,eo,to){if(to||arguments.length===2)for(var ro=0,no=eo.length,io;ro<no;ro++)(io||!(ro in eo))&&(io||(io=Array.prototype.slice.call(eo,0,ro)),io[ro]=eo[ro]);return Yi.concat(io||Array.prototype.slice.call(eo))}typeof SuppressedError=="function"&&SuppressedError;var version$3="3.4.2";function wait(Yi,eo){return new Promise(function(to){return setTimeout(to,Yi,eo)})}function requestIdleCallbackIfAvailable(Yi,eo){eo===void 0&&(eo=1/0);var to=window.requestIdleCallback;return to?new Promise(function(ro){return to.call(window,function(){return ro()},{timeout:eo})}):wait(Math.min(Yi,eo))}function isPromise$1(Yi){return!!Yi&&typeof Yi.then=="function"}function awaitIfAsync(Yi,eo){try{var to=Yi();isPromise$1(to)?to.then(function(ro){return eo(!0,ro)},function(ro){return eo(!1,ro)}):eo(!0,to)}catch(ro){eo(!1,ro)}}function mapWithBreaks(Yi,eo,to){return to===void 0&&(to=16),__awaiter$3(this,void 0,void 0,function(){var ro,no,io,oo;return __generator$1(this,function(ao){switch(ao.label){case 0:ro=Array(Yi.length),no=Date.now(),io=0,ao.label=1;case 1:return io<Yi.length?(ro[io]=eo(Yi[io],io),oo=Date.now(),oo>=no+to?(no=oo,[4,wait(0)]):[3,3]):[3,4];case 2:ao.sent(),ao.label=3;case 3:return++io,[3,1];case 4:return[2,ro]}})})}function suppressUnhandledRejectionWarning(Yi){Yi.then(void 0,function(){})}function x64Add(Yi,eo){Yi=[Yi[0]>>>16,Yi[0]&65535,Yi[1]>>>16,Yi[1]&65535],eo=[eo[0]>>>16,eo[0]&65535,eo[1]>>>16,eo[1]&65535];var to=[0,0,0,0];return to[3]+=Yi[3]+eo[3],to[2]+=to[3]>>>16,to[3]&=65535,to[2]+=Yi[2]+eo[2],to[1]+=to[2]>>>16,to[2]&=65535,to[1]+=Yi[1]+eo[1],to[0]+=to[1]>>>16,to[1]&=65535,to[0]+=Yi[0]+eo[0],to[0]&=65535,[to[0]<<16|to[1],to[2]<<16|to[3]]}function x64Multiply(Yi,eo){Yi=[Yi[0]>>>16,Yi[0]&65535,Yi[1]>>>16,Yi[1]&65535],eo=[eo[0]>>>16,eo[0]&65535,eo[1]>>>16,eo[1]&65535];var to=[0,0,0,0];return to[3]+=Yi[3]*eo[3],to[2]+=to[3]>>>16,to[3]&=65535,to[2]+=Yi[2]*eo[3],to[1]+=to[2]>>>16,to[2]&=65535,to[2]+=Yi[3]*eo[2],to[1]+=to[2]>>>16,to[2]&=65535,to[1]+=Yi[1]*eo[3],to[0]+=to[1]>>>16,to[1]&=65535,to[1]+=Yi[2]*eo[2],to[0]+=to[1]>>>16,to[1]&=65535,to[1]+=Yi[3]*eo[1],to[0]+=to[1]>>>16,to[1]&=65535,to[0]+=Yi[0]*eo[3]+Yi[1]*eo[2]+Yi[2]*eo[1]+Yi[3]*eo[0],to[0]&=65535,[to[0]<<16|to[1],to[2]<<16|to[3]]}function x64Rotl(Yi,eo){return eo%=64,eo===32?[Yi[1],Yi[0]]:eo<32?[Yi[0]<<eo|Yi[1]>>>32-eo,Yi[1]<<eo|Yi[0]>>>32-eo]:(eo-=32,[Yi[1]<<eo|Yi[0]>>>32-eo,Yi[0]<<eo|Yi[1]>>>32-eo])}function x64LeftShift(Yi,eo){return eo%=64,eo===0?Yi:eo<32?[Yi[0]<<eo|Yi[1]>>>32-eo,Yi[1]<<eo]:[Yi[1]<<eo-32,0]}function x64Xor(Yi,eo){return[Yi[0]^eo[0],Yi[1]^eo[1]]}function x64Fmix(Yi){return Yi=x64Xor(Yi,[0,Yi[0]>>>1]),Yi=x64Multiply(Yi,[4283543511,3981806797]),Yi=x64Xor(Yi,[0,Yi[0]>>>1]),Yi=x64Multiply(Yi,[3301882366,444984403]),Yi=x64Xor(Yi,[0,Yi[0]>>>1]),Yi}function x64hash128(Yi,eo){Yi=Yi||"",eo=eo||0;var to=Yi.length%16,ro=Yi.length-to,no=[0,eo],io=[0,eo],oo=[0,0],ao=[0,0],so=[2277735313,289559509],lo=[1291169091,658871167],co;for(co=0;co<ro;co=co+16)oo=[Yi.charCodeAt(co+4)&255|(Yi.charCodeAt(co+5)&255)<<8|(Yi.charCodeAt(co+6)&255)<<16|(Yi.charCodeAt(co+7)&255)<<24,Yi.charCodeAt(co)&255|(Yi.charCodeAt(co+1)&255)<<8|(Yi.charCodeAt(co+2)&255)<<16|(Yi.charCodeAt(co+3)&255)<<24],ao=[Yi.charCodeAt(co+12)&255|(Yi.charCodeAt(co+13)&255)<<8|(Yi.charCodeAt(co+14)&255)<<16|(Yi.charCodeAt(co+15)&255)<<24,Yi.charCodeAt(co+8)&255|(Yi.charCodeAt(co+9)&255)<<8|(Yi.charCodeAt(co+10)&255)<<16|(Yi.charCodeAt(co+11)&255)<<24],oo=x64Multiply(oo,so),oo=x64Rotl(oo,31),oo=x64Multiply(oo,lo),no=x64Xor(no,oo),no=x64Rotl(no,27),no=x64Add(no,io),no=x64Add(x64Multiply(no,[0,5]),[0,1390208809]),ao=x64Multiply(ao,lo),ao=x64Rotl(ao,33),ao=x64Multiply(ao,so),io=x64Xor(io,ao),io=x64Rotl(io,31),io=x64Add(io,no),io=x64Add(x64Multiply(io,[0,5]),[0,944331445]);switch(oo=[0,0],ao=[0,0],to){case 15:ao=x64Xor(ao,x64LeftShift([0,Yi.charCodeAt(co+14)],48));case 14:ao=x64Xor(ao,x64LeftShift([0,Yi.charCodeAt(co+13)],40));case 13:ao=x64Xor(ao,x64LeftShift([0,Yi.charCodeAt(co+12)],32));case 12:ao=x64Xor(ao,x64LeftShift([0,Yi.charCodeAt(co+11)],24));case 11:ao=x64Xor(ao,x64LeftShift([0,Yi.charCodeAt(co+10)],16));case 10:ao=x64Xor(ao,x64LeftShift([0,Yi.charCodeAt(co+9)],8));case 9:ao=x64Xor(ao,[0,Yi.charCodeAt(co+8)]),ao=x64Multiply(ao,lo),ao=x64Rotl(ao,33),ao=x64Multiply(ao,so),io=x64Xor(io,ao);case 8:oo=x64Xor(oo,x64LeftShift([0,Yi.charCodeAt(co+7)],56));case 7:oo=x64Xor(oo,x64LeftShift([0,Yi.charCodeAt(co+6)],48));case 6:oo=x64Xor(oo,x64LeftShift([0,Yi.charCodeAt(co+5)],40));case 5:oo=x64Xor(oo,x64LeftShift([0,Yi.charCodeAt(co+4)],32));case 4:oo=x64Xor(oo,x64LeftShift([0,Yi.charCodeAt(co+3)],24));case 3:oo=x64Xor(oo,x64LeftShift([0,Yi.charCodeAt(co+2)],16));case 2:oo=x64Xor(oo,x64LeftShift([0,Yi.charCodeAt(co+1)],8));case 1:oo=x64Xor(oo,[0,Yi.charCodeAt(co)]),oo=x64Multiply(oo,so),oo=x64Rotl(oo,31),oo=x64Multiply(oo,lo),no=x64Xor(no,oo)}return no=x64Xor(no,[0,Yi.length]),io=x64Xor(io,[0,Yi.length]),no=x64Add(no,io),io=x64Add(io,no),no=x64Fmix(no),io=x64Fmix(io),no=x64Add(no,io),io=x64Add(io,no),("00000000"+(no[0]>>>0).toString(16)).slice(-8)+("00000000"+(no[1]>>>0).toString(16)).slice(-8)+("00000000"+(io[0]>>>0).toString(16)).slice(-8)+("00000000"+(io[1]>>>0).toString(16)).slice(-8)}function errorToObject(Yi){var eo;return __assign$1({name:Yi.name,message:Yi.message,stack:(eo=Yi.stack)===null||eo===void 0?void 0:eo.split(`
329`)},Yi)}function includes(Yi,eo){for(var to=0,ro=Yi.length;to<ro;++to)if(Yi[to]===eo)return!0;return!1}function excludes(Yi,eo){return!includes(Yi,eo)}function toInt(Yi){return parseInt(Yi)}function toFloat(Yi){return parseFloat(Yi)}function replaceNaN(Yi,eo){return typeof Yi=="number"&&isNaN(Yi)?eo:Yi}function countTruthy(Yi){return Yi.reduce(function(eo,to){return eo+(to?1:0)},0)}function round$1(Yi,eo){if(eo===void 0&&(eo=1),Math.abs(eo)>=1)return Math.round(Yi/eo)*eo;var to=1/eo;return Math.round(Yi*to)/to}function parseSimpleCssSelector(Yi){for(var eo,to,ro="Unexpected syntax '".concat(Yi,"'"),no=/^\s*([a-z-]*)(.*)$/i.exec(Yi),io=no[1]||void 0,oo={},ao=/([.:#][\w-]+|\[.+?\])/gi,so=function(fo,ho){oo[fo]=oo[fo]||[],oo[fo].push(ho)};;){var lo=ao.exec(no[2]);if(!lo)break;var co=lo[0];switch(co[0]){case".":so("class",co.slice(1));break;case"#":so("id",co.slice(1));break;case"[":{var uo=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(co);if(uo)so(uo[1],(to=(eo=uo[4])!==null&&eo!==void 0?eo:uo[5])!==null&&to!==void 0?to:"");else throw new Error(ro);break}default:throw new Error(ro)}}return[io,oo]}function ensureErrorWithMessage(Yi){return Yi&&typeof Yi=="object"&&"message"in Yi?Yi:{message:Yi}}function isFinalResultLoaded(Yi){return typeof Yi!="function"}function loadSource(Yi,eo){var to=new Promise(function(ro){var no=Date.now();awaitIfAsync(Yi.bind(null,eo),function(){for(var io=[],oo=0;oo<arguments.length;oo++)io[oo]=arguments[oo];var ao=Date.now()-no;if(!io[0])return ro(function(){return{error:ensureErrorWithMessage(io[1]),duration:ao}});var so=io[1];if(isFinalResultLoaded(so))return ro(function(){return{value:so,duration:ao}});ro(function(){return new Promise(function(lo){var co=Date.now();awaitIfAsync(so,function(){for(var uo=[],fo=0;fo<arguments.length;fo++)uo[fo]=arguments[fo];var ho=ao+Date.now()-co;if(!uo[0])return lo({error:ensureErrorWithMessage(uo[1]),duration:ho});lo({value:uo[1],duration:ho})})})})})});return suppressUnhandledRejectionWarning(to),function(){return to.then(function(no){return no()})}}function loadSources(Yi,eo,to){var ro=Object.keys(Yi).filter(function(io){return excludes(to,io)}),no=mapWithBreaks(ro,function(io){return loadSource(Yi[io],eo)});return suppressUnhandledRejectionWarning(no),function(){return __awaiter$3(this,void 0,void 0,function(){var oo,ao,so,lo,co;return __generator$1(this,function(uo){switch(uo.label){case 0:return[4,no];case 1:return oo=uo.sent(),[4,mapWithBreaks(oo,function(fo){var ho=fo();return suppressUnhandledRejectionWarning(ho),ho})];case 2:return ao=uo.sent(),[4,Promise.all(ao)];case 3:for(so=uo.sent(),lo={},co=0;co<ro.length;++co)lo[ro[co]]=so[co];return[2,lo]}})})}}function isTrident(){var Yi=window,eo=navigator;return countTruthy(["MSCSSMatrix"in Yi,"msSetImmediate"in Yi,"msIndexedDB"in Yi,"msMaxTouchPoints"in eo,"msPointerEnabled"in eo])>=4}function isEdgeHTML(){var Yi=window,eo=navigator;return countTruthy(["msWriteProfilerMark"in Yi,"MSStream"in Yi,"msLaunchUri"in eo,"msSaveBlob"in eo])>=3&&!isTrident()}function isChromium(){var Yi=window,eo=navigator;return countTruthy(["webkitPersistentStorage"in eo,"webkitTemporaryStorage"in eo,eo.vendor.indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in Yi,"BatteryManager"in Yi,"webkitMediaStream"in Yi,"webkitSpeechGrammar"in Yi])>=5}function isWebKit(){var Yi=window,eo=navigator;return countTruthy(["ApplePayError"in Yi,"CSSPrimitiveValue"in Yi,"Counter"in Yi,eo.vendor.indexOf("Apple")===0,"getStorageUpdates"in eo,"WebKitMediaKeys"in Yi])>=4}function isDesktopSafari(){var Yi=window;return countTruthy(["safari"in Yi,!("DeviceMotionEvent"in Yi),!("ongestureend"in Yi),!("standalone"in navigator)])>=3}function isGecko(){var Yi,eo,to=window;return countTruthy(["buildID"in navigator,"MozAppearance"in((eo=(Yi=document.documentElement)===null||Yi===void 0?void 0:Yi.style)!==null&&eo!==void 0?eo:{}),"onmozfullscreenchange"in to,"mozInnerScreenX"in to,"CSSMozDocumentRule"in to,"CanvasCaptureMediaStream"in to])>=4}function isChromium86OrNewer(){var Yi=window;return countTruthy([!("MediaSettingsRange"in Yi),"RTCEncodedAudioFrame"in Yi,""+Yi.Intl=="[object Intl]",""+Yi.Reflect=="[object Reflect]"])>=3}function isWebKit606OrNewer(){var Yi=window;return countTruthy(["DOMRectList"in Yi,"RTCPeerConnectionIceEvent"in Yi,"SVGGeometryElement"in Yi,"ontransitioncancel"in Yi])>=3}function isIPad(){if(navigator.platform==="iPad")return!0;var Yi=screen,eo=Yi.width/Yi.height;return countTruthy(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,eo>.65&&eo<1.53])>=2}function getFullscreenElement(){var Yi=document;return Yi.fullscreenElement||Yi.msFullscreenElement||Yi.mozFullScreenElement||Yi.webkitFullscreenElement||null}function exitFullscreen(){var Yi=document;return(Yi.exitFullscreen||Yi.msExitFullscreen||Yi.mozCancelFullScreen||Yi.webkitExitFullscreen).call(Yi)}function isAndroid(){var Yi=isChromium(),eo=isGecko();if(!Yi&&!eo)return!1;var to=window;return countTruthy(["onorientationchange"in to,"orientation"in to,Yi&&!("SharedWorker"in to),eo&&/android/i.test(navigator.appVersion)])>=2}function getAudioFingerprint(){var Yi=window,eo=Yi.OfflineAudioContext||Yi.webkitOfflineAudioContext;if(!eo)return-2;if(doesCurrentBrowserSuspendAudioContext())return-1;var to=4500,ro=5e3,no=new eo(1,ro,44100),io=no.createOscillator();io.type="triangle",io.frequency.value=1e4;var oo=no.createDynamicsCompressor();oo.threshold.value=-50,oo.knee.value=40,oo.ratio.value=12,oo.attack.value=0,oo.release.value=.25,io.connect(oo),oo.connect(no.destination),io.start(0);var ao=startRenderingAudio(no),so=ao[0],lo=ao[1],co=so.then(function(uo){return getHash(uo.getChannelData(0).subarray(to))},function(uo){if(uo.name==="timeout"||uo.name==="suspended")return-3;throw uo});return suppressUnhandledRejectionWarning(co),function(){return lo(),co}}function doesCurrentBrowserSuspendAudioContext(){return isWebKit()&&!isDesktopSafari()&&!isWebKit606OrNewer()}function startRenderingAudio(Yi){var eo=3,to=500,ro=500,no=5e3,io=function(){},oo=new Promise(function(ao,so){var lo=!1,co=0,uo=0;Yi.oncomplete=function(mo){return ao(mo.renderedBuffer)};var fo=function(){setTimeout(function(){return so(makeInnerError("timeout"))},Math.min(ro,uo+no-Date.now()))},ho=function(){try{var mo=Yi.startRendering();switch(isPromise$1(mo)&&suppressUnhandledRejectionWarning(mo),Yi.state){case"running":uo=Date.now(),lo&&fo();break;case"suspended":document.hidden||co++,lo&&co>=eo?so(makeInnerError("suspended")):setTimeout(ho,to);break}}catch(vo){so(vo)}};ho(),io=function(){lo||(lo=!0,uo>0&&fo())}});return[oo,io]}function getHash(Yi){for(var eo=0,to=0;to<Yi.length;++to)eo+=Math.abs(Yi[to]);return eo}function makeInnerError(Yi){var eo=new Error(Yi);return eo.name=Yi,eo}function withIframe(Yi,eo,to){var ro,no,io;return to===void 0&&(to=50),__awaiter$3(this,void 0,void 0,function(){var oo,ao;return __generator$1(this,function(so){switch(so.label){case 0:oo=document,so.label=1;case 1:return oo.body?[3,3]:[4,wait(to)];case 2:return so.sent(),[3,1];case 3:ao=oo.createElement("iframe"),so.label=4;case 4:return so.trys.push([4,,10,11]),[4,new Promise(function(lo,co){var uo=!1,fo=function(){uo=!0,lo()},ho=function(Co){uo=!0,co(Co)};ao.onload=fo,ao.onerror=ho;var mo=ao.style;mo.setProperty("display","block","important"),mo.position="absolute",mo.top="0",mo.left="0",mo.visibility="hidden",eo&&"srcdoc"in ao?ao.srcdoc=eo:ao.src="about:blank",oo.body.appendChild(ao);var vo=function(){var Co,bo;uo||(((bo=(Co=ao.contentWindow)===null||Co===void 0?void 0:Co.document)===null||bo===void 0?void 0:bo.readyState)==="complete"?fo():setTimeout(vo,10))};vo()})];case 5:so.sent(),so.label=6;case 6:return!((no=(ro=ao.contentWindow)===null||ro===void 0?void 0:ro.document)===null||no===void 0)&&no.body?[3,8]:[4,wait(to)];case 7:return so.sent(),[3,6];case 8:return[4,Yi(ao,ao.contentWindow)];case 9:return[2,so.sent()];case 10:return(io=ao.parentNode)===null||io===void 0||io.removeChild(ao),[7];case 11:return[2]}})})}function selectorToElement(Yi){for(var eo=parseSimpleCssSelector(Yi),to=eo[0],ro=eo[1],no=document.createElement(to??"div"),io=0,oo=Object.keys(ro);io<oo.length;io++){var ao=oo[io],so=ro[ao].join(" ");ao==="style"?addStyleString(no.style,so):no.setAttribute(ao,so)}return no}function addStyleString(Yi,eo){for(var to=0,ro=eo.split(";");to<ro.length;to++){var no=ro[to],io=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(no);if(io){var oo=io[1],ao=io[2],so=io[4];Yi.setProperty(oo,ao,so||"")}}}var testString="mmMwWLliI0O&1",textSize="48px",baseFonts=["monospace","sans-serif","serif"],fontList=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function getFonts(){return withIframe(function(Yi,eo){var to=eo.document,ro=to.body;ro.style.fontSize=textSize;var no=to.createElement("div"),io={},oo={},ao=function(vo){var Co=to.createElement("span"),bo=Co.style;return bo.position="absolute",bo.top="0",bo.left="0",bo.fontFamily=vo,Co.textContent=testString,no.appendChild(Co),Co},so=function(vo,Co){return ao("'".concat(vo,"',").concat(Co))},lo=function(){return baseFonts.map(ao)},co=function(){for(var vo={},Co=function(Eo){vo[Eo]=baseFonts.map(function(xo){return so(Eo,xo)})},bo=0,wo=fontList;bo<wo.length;bo++){var yo=wo[bo];Co(yo)}return vo},uo=function(vo){return baseFonts.some(function(Co,bo){return vo[bo].offsetWidth!==io[Co]||vo[bo].offsetHeight!==oo[Co]})},fo=lo(),ho=co();ro.appendChild(no);for(var mo=0;mo<baseFonts.length;mo++)io[baseFonts[mo]]=fo[mo].offsetWidth,oo[baseFonts[mo]]=fo[mo].offsetHeight;return fontList.filter(function(vo){return uo(ho[vo])})})}function getPlugins(){var Yi=navigator.plugins;if(Yi){for(var eo=[],to=0;to<Yi.length;++to){var ro=Yi[to];if(ro){for(var no=[],io=0;io<ro.length;++io){var oo=ro[io];no.push({type:oo.type,suffixes:oo.suffixes})}eo.push({name:ro.name,description:ro.description,mimeTypes:no})}}return eo}}function getCanvasFingerprint(){var Yi=!1,eo,to,ro=makeCanvasContext(),no=ro[0],io=ro[1];if(!isSupported(no,io))eo=to="";else{Yi=doesSupportWinding(io),renderTextImage(no,io);var oo=canvasToString(no),ao=canvasToString(no);oo!==ao?eo=to="unstable":(to=oo,renderGeometryImage(no,io),eo=canvasToString(no))}return{winding:Yi,geometry:eo,text:to}}function makeCanvasContext(){var Yi=document.createElement("canvas");return Yi.width=1,Yi.height=1,[Yi,Yi.getContext("2d")]}function isSupported(Yi,eo){return!!(eo&&Yi.toDataURL)}function doesSupportWinding(Yi){return Yi.rect(0,0,10,10),Yi.rect(2,2,6,6),!Yi.isPointInPath(5,5,"evenodd")}function renderTextImage(Yi,eo){Yi.width=240,Yi.height=60,eo.textBaseline="alphabetic",eo.fillStyle="#f60",eo.fillRect(100,1,62,20),eo.fillStyle="#069",eo.font='11pt "Times New Roman"';var to="Cwm fjordbank gly ".concat("😃");eo.fillText(to,2,15),eo.fillStyle="rgba(102, 204, 0, 0.2)",eo.font="18pt Arial",eo.fillText(to,4,45)}function renderGeometryImage(Yi,eo){Yi.width=122,Yi.height=110,eo.globalCompositeOperation="multiply";for(var to=0,ro=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];to<ro.length;to++){var no=ro[to],io=no[0],oo=no[1],ao=no[2];eo.fillStyle=io,eo.beginPath(),eo.arc(oo,ao,40,0,Math.PI*2,!0),eo.closePath(),eo.fill()}eo.fillStyle="#f9c",eo.arc(60,60,60,0,Math.PI*2,!0),eo.arc(60,60,20,0,Math.PI*2,!0),eo.fill("evenodd")}function canvasToString(Yi){return Yi.toDataURL()}function getTouchSupport(){var Yi=navigator,eo=0,to;Yi.maxTouchPoints!==void 0?eo=toInt(Yi.maxTouchPoints):Yi.msMaxTouchPoints!==void 0&&(eo=Yi.msMaxTouchPoints);try{document.createEvent("TouchEvent"),to=!0}catch{to=!1}var ro="ontouchstart"in window;return{maxTouchPoints:eo,touchEvent:to,touchStart:ro}}function getOsCpu(){return navigator.oscpu}function getLanguages(){var Yi=navigator,eo=[],to=Yi.language||Yi.userLanguage||Yi.browserLanguage||Yi.systemLanguage;if(to!==void 0&&eo.push([to]),Array.isArray(Yi.languages))isChromium()&&isChromium86OrNewer()||eo.push(Yi.languages);else if(typeof Yi.languages=="string"){var ro=Yi.languages;ro&&eo.push(ro.split(","))}return eo}function getColorDepth(){return window.screen.colorDepth}function getDeviceMemory(){return replaceNaN(toFloat(navigator.deviceMemory),void 0)}function getScreenResolution(){var Yi=screen,eo=function(ro){return replaceNaN(toInt(ro),null)},to=[eo(Yi.width),eo(Yi.height)];return to.sort().reverse(),to}var screenFrameCheckInterval=2500,roundingPrecision=10,screenFrameBackup,screenFrameSizeTimeoutId;function watchScreenFrame(){if(screenFrameSizeTimeoutId===void 0){var Yi=function(){var eo=getCurrentScreenFrame();isFrameSizeNull(eo)?screenFrameSizeTimeoutId=setTimeout(Yi,screenFrameCheckInterval):(screenFrameBackup=eo,screenFrameSizeTimeoutId=void 0)};Yi()}}function getScreenFrame(){var Yi=this;return watchScreenFrame(),function(){return __awaiter$3(Yi,void 0,void 0,function(){var eo;return __generator$1(this,function(to){switch(to.label){case 0:return eo=getCurrentScreenFrame(),isFrameSizeNull(eo)?screenFrameBackup?[2,__spreadArray$1([],screenFrameBackup,!0)]:getFullscreenElement()?[4,exitFullscreen()]:[3,2]:[3,2];case 1:to.sent(),eo=getCurrentScreenFrame(),to.label=2;case 2:return isFrameSizeNull(eo)||(screenFrameBackup=eo),[2,eo]}})})}}function getRoundedScreenFrame(){var Yi=this,eo=getScreenFrame();return function(){return __awaiter$3(Yi,void 0,void 0,function(){var to,ro;return __generator$1(this,function(no){switch(no.label){case 0:return[4,eo()];case 1:return to=no.sent(),ro=function(io){return io===null?null:round$1(io,roundingPrecision)},[2,[ro(to[0]),ro(to[1]),ro(to[2]),ro(to[3])]]}})})}}function getCurrentScreenFrame(){var Yi=screen;return[replaceNaN(toFloat(Yi.availTop),null),replaceNaN(toFloat(Yi.width)-toFloat(Yi.availWidth)-replaceNaN(toFloat(Yi.availLeft),0),null),replaceNaN(toFloat(Yi.height)-toFloat(Yi.availHeight)-replaceNaN(toFloat(Yi.availTop),0),null),replaceNaN(toFloat(Yi.availLeft),null)]}function isFrameSizeNull(Yi){for(var eo=0;eo<4;++eo)if(Yi[eo])return!1;return!0}function getHardwareConcurrency(){return replaceNaN(toInt(navigator.hardwareConcurrency),void 0)}function getTimezone(){var Yi,eo=(Yi=window.Intl)===null||Yi===void 0?void 0:Yi.DateTimeFormat;if(eo){var to=new eo().resolvedOptions().timeZone;if(to)return to}var ro=-getTimezoneOffset();return"UTC".concat(ro>=0?"+":"").concat(Math.abs(ro))}function getTimezoneOffset(){var Yi=new Date().getFullYear();return Math.max(toFloat(new Date(Yi,0,1).getTimezoneOffset()),toFloat(new Date(Yi,6,1).getTimezoneOffset()))}function getSessionStorage(){try{return!!window.sessionStorage}catch{return!0}}function getLocalStorage(){try{return!!window.localStorage}catch{return!0}}function getIndexedDB(){if(!(isTrident()||isEdgeHTML()))try{return!!window.indexedDB}catch{return!0}}function getOpenDatabase(){return!!window.openDatabase}function getCpuClass(){return navigator.cpuClass}function getPlatform(){var Yi=navigator.platform;return Yi==="MacIntel"&&isWebKit()&&!isDesktopSafari()?isIPad()?"iPad":"iPhone":Yi}function getVendor(){return navigator.vendor||""}function getVendorFlavors(){for(var Yi=[],eo=0,to=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];eo<to.length;eo++){var ro=to[eo],no=window[ro];no&&typeof no=="object"&&Yi.push(ro)}return Yi.sort()}function areCookiesEnabled(){var Yi=document;try{Yi.cookie="cookietest=1; SameSite=Strict;";var eo=Yi.cookie.indexOf("cookietest=")!==-1;return Yi.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",eo}catch{return!1}}function getFilters(){var Yi=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',Yi("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",Yi("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",Yi("LnNwb25zb3JpdA=="),".ylamainos",Yi("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),Yi("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZH
329BlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",Yi("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",Yi("LmhlYWRlci1ibG9ja2VkLWFk"),Yi("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",Yi("I2FkXzMwMFgyNTA="),Yi("I2Jhbm5lcmZsb2F0MjI="),Yi("I2NhbXBhaWduLWJhbm5lcg=="),Yi("I0FkLUNvbnRlbnQ=")],adGuardChinese:[Yi("LlppX2FkX2FfSA=="),Yi("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",Yi("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),Yi("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",Yi("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",Yi("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",Yi("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),Yi("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),Yi("LmFkZ29vZ2xl"),Yi("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[Yi("YW1wLWF1dG8tYWRz"),Yi("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",Yi("I2FkX2ludmlld19hcmVh")],adGuardRussian:[Yi("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),Yi("LnJlY2xhbWE="),'div[id^="smi2adblock"]',Yi("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[Yi("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),Yi("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",Yi("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),Yi("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),Yi("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",Yi("I3Jla2xhbWk="),Yi("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),Yi("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),Yi("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[Yi("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",Yi("LndpZGdldF9wb19hZHNfd2lkZ2V0"),Yi("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",Yi("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[Yi("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),Yi("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",Yi("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",Yi("I3Jla2xhbW5pLWJveA=="),Yi("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",Yi("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[Yi("I2FkdmVydGVudGll"),Yi("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",Yi("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",Yi("LnNwb25zb3JsaW5rZ3J1ZW4="),Yi("I3dlcmJ1bmdza3k="),Yi("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),Yi("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[Yi("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",Yi("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),Yi("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),Yi("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[Yi("LnJla2xhbW9zX3RhcnBhcw=="),Yi("LnJla2xhbW9zX251b3JvZG9z"),Yi("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),Yi("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),Yi("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[Yi("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[Yi("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),Yi("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiX
329Q=="),"article.category-samarbete",Yi("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[Yi("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),Yi("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),Yi("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",Yi("LmFkX19tYWlu"),Yi("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[Yi("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[Yi("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),Yi("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[Yi("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),Yi("I2xpdmVyZUFkV3JhcHBlcg=="),Yi("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),Yi("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[Yi("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",Yi("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),Yi("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),Yi("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[Yi("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),Yi("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),Yi("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",Yi("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),Yi("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),Yi("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiX
329Q=="),Yi("ZGl2I3NrYXBpZWNfYWQ=")],ro:[Yi("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),Yi("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),Yi("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),Yi("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[Yi("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),Yi("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),Yi("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",Yi("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),Yi("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",Yi("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}function getDomBlockers(Yi){var eo=Yi===void 0?{}:Yi,to=eo.debug;return __awaiter$3(this,void 0,void 0,function(){var ro,no,io,oo,ao,so;return __generator$1(this,function(lo){switch(lo.label){case 0:return isApplicable()?(ro=getFilters(),no=Object.keys(ro),io=(so=[]).concat.apply(so,no.map(function(co){return ro[co]})),[4,getBlockedSelectors(io)]):[2,void 0];case 1:return oo=lo.sent(),to&&printDebug(ro,oo),ao=no.filter(function(co){var uo=ro[co],fo=countTruthy(uo.map(function(ho){return oo[ho]}));return fo>uo.length*.6}),ao.sort(),[2,ao]}})})}function isApplicable(){return isWebKit()||isAndroid()}function getBlockedSelectors(Yi){var eo;return __awaiter$3(this,void 0,void 0,function(){var to,ro,no,io,so,oo,ao,so;return __generator$1(this,function(lo){switch(lo.label){case 0:for(to=document,ro=to.createElement("div"),no=new Array(Yi.length),io={},forceShow(ro),so=0;so<Yi.length;++so)oo=selectorToElement(Yi[so]),oo.tagName==="DIALOG"&&oo.show(),ao=to.createElement("div"),forceShow(ao),ao.appendChild(oo),ro.appendChild(ao),no[so]=oo;lo.label=1;case 1:return to.body?[3,3]:[4,wait(50)];case 2:return lo.sent(),[3,1];case 3:to.body.appendChild(ro);try{for(so=0;so<Yi.length;++so)no[so].offsetParent||(io[Yi[so]]=!0)}finally{(eo=ro.parentNode)===null||eo===void 0||eo.removeChild(ro)}return[2,io]}})})}function forceShow(Yi){Yi.style.setProperty("display","block","important")}function printDebug(Yi,eo){for(var to="DOM blockers debug:\n```",ro=0,no=Object.keys(Yi);ro<no.length;ro++){var io=no[ro];to+=`
330`.concat(io,":");for(var oo=0,ao=Yi[io];oo<ao.length;oo++){var so=ao[oo];to+=`
331  `.concat(eo[so]?"🚫":"➡️"," ").concat(so)}}console.log("".concat(to,"\n```"))}function getColorGamut(){for(var Yi=0,eo=["rec2020","p3","srgb"];Yi<eo.length;Yi++){var to=eo[Yi];if(matchMedia("(color-gamut: ".concat(to,")")).matches)return to}}function areColorsInverted(){if(doesMatch$4("inverted"))return!0;if(doesMatch$4("none"))return!1}function doesMatch$4(Yi){return matchMedia("(inverted-colors: ".concat(Yi,")")).matches}function areColorsForced(){if(doesMatch$3("active"))return!0;if(doesMatch$3("none"))return!1}function doesMatch$3(Yi){return matchMedia("(forced-colors: ".concat(Yi,")")).matches}var maxValueToCheck=100;function getMonochromeDepth(){if(matchMedia("(min-monochrome: 0)").matches){for(var Yi=0;Yi<=maxValueToCheck;++Yi)if(matchMedia("(max-monochrome: ".concat(Yi,")")).matches)return Yi;throw new Error("Too high value")}}function getContrastPreference(){if(doesMatch$2("no-preference"))return 0;if(doesMatch$2("high")||doesMatch$2("more"))return 1;if(doesMatch$2("low")||doesMatch$2("less"))return-1;if(doesMatch$2("forced"))return 10}function doesMatch$2(Yi){return matchMedia("(prefers-contrast: ".concat(Yi,")")).matches}function isMotionReduced(){if(doesMatch$1("reduce"))return!0;if(doesMatch$1("no-preference"))return!1}function doesMatch$1(Yi){return matchMedia("(prefers-reduced-motion: ".concat(Yi,")")).matches}function isHDR(){if(doesMatch("high"))return!0;if(doesMatch("standard"))return!1}function doesMatch(Yi){return matchMedia("(dynamic-range: ".concat(Yi,")")).matches}var M$1=Math,fallbackFn=function(){return 0};function getMathFingerprint(){var Yi=M$1.acos||fallbackFn,eo=M$1.acosh||fallbackFn,to=M$1.asin||fallbackFn,ro=M$1.asinh||fallbackFn,no=M$1.atanh||fallbackFn,io=M$1.atan||fallbackFn,oo=M$1.sin||fallbackFn,ao=M$1.sinh||fallbackFn,so=M$1.cos||fallbackFn,lo=M$1.cosh||fallbackFn,co=M$1.tan||fallbackFn,uo=M$1.tanh||fallbackFn,fo=M$1.exp||fallbackFn,ho=M$1.expm1||fallbackFn,mo=M$1.log1p||fallbackFn,vo=function(Ro){return M$1.pow(M$1.PI,Ro)},Co=function(Ro){return M$1.log(Ro+M$1.sqrt(Ro*Ro-1))},bo=function(Ro){return M$1.log(Ro+M$1.sqrt(Ro*Ro+1))},wo=function(Ro){return M$1.log((1+Ro)/(1-Ro))/2},yo=function(Ro){return M$1.exp(Ro)-1/M$1.exp(Ro)/2},Eo=function(Ro){return(M$1.exp(Ro)+1/M$1.exp(Ro))/2},xo=function(Ro){return M$1.exp(Ro)-1},So=function(Ro){return(M$1.exp(2*Ro)-1)/(M$1.exp(2*Ro)+1)},To=function(Ro){return M$1.log(1+Ro)};return{acos:Yi(.12312423423423424),acosh:eo(1e308),acoshPf:Co(1e154),asin:to(.12312423423423424),asinh:ro(1),asinhPf:bo(1),atanh:no(.5),atanhPf:wo(.5),atan:io(.5),sin:oo(-1e300),sinh:ao(1),sinhPf:yo(1),cos:so(10.000000000123),cosh:lo(1),coshPf:Eo(1),tan:co(-1e300),tanh:uo(1),tanhPf:So(1),exp:fo(1),expm1:ho(1),expm1Pf:xo(1),log1p:mo(10),log1pPf:To(10),powPI:vo(-100)}}var defaultText="mmMwWLliI0fiflO&1",presets={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function getFontPreferences(){return withNaturalFonts(function(Yi,eo){for(var to={},ro={},no=0,io=Object.keys(presets);no<io.length;no++){var oo=io[no],ao=presets[oo],so=ao[0],lo=so===void 0?{}:so,co=ao[1],uo=co===void 0?defaultText:co,fo=Yi.createElement("span");fo.textContent=uo,fo.style.whiteSpace="nowrap";for(var ho=0,mo=Object.keys(lo);ho<mo.length;ho++){var vo=mo[ho],Co=lo[vo];Co!==void 0&&(fo.style[vo]=Co)}to[oo]=fo,eo.appendChild(Yi.createElement("br")),eo.appendChild(fo)}for(var bo=0,wo=Object.keys(presets);bo<wo.length;bo++){var oo=wo[bo];ro[oo]=to[oo].getBoundingClientRect().width}return ro})}function withNaturalFonts(Yi,eo){return eo===void 0&&(eo=4e3),withIframe(function(to,ro){var no=ro.document,io=no.body,oo=io.style;
vendor: 4,058 bytes, lines 331-335
331oo.width="".concat(eo,"px"),oo.webkitTextSizeAdjust=oo.textSizeAdjust="none",isChromium()?io.style.zoom="".concat(1/ro.devicePixelRatio):isWebKit()&&(io.style.zoom="reset");var ao=no.createElement("div");return ao.textContent=__spreadArray$1([],Array(eo/20<<0),!0).map(function(){return"word"}).join(" "),io.appendChild(ao),Yi(no,io)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}function getVideoCard(){var Yi,eo=document.createElement("canvas"),to=(Yi=eo.getContext("webgl"))!==null&&Yi!==void 0?Yi:eo.getContext("experimental-webgl");if(to&&"getExtension"in to){var ro=to.getExtension("WEBGL_debug_renderer_info");if(ro)return{vendor:(to.getParameter(ro.UNMASKED_VENDOR_WEBGL)||"").toString(),renderer:(to.getParameter(ro.UNMASKED_RENDERER_WEBGL)||"").toString()}}}function isPdfViewerEnabled(){return navigator.pdfViewerEnabled}function getArchitecture(){var Yi=new Float32Array(1),eo=new Uint8Array(Yi.buffer);return Yi[0]=1/0,Yi[0]=Yi[0]-Yi[0],eo[3]}var sources={fonts:getFonts,domBlockers:getDomBlockers,fontPreferences:getFontPreferences,audio:getAudioFingerprint,screenFrame:getRoundedScreenFrame,osCpu:getOsCpu,languages:getLanguages,colorDepth:getColorDepth,deviceMemory:getDeviceMemory,screenResolution:getScreenResolution,hardwareConcurrency:getHardwareConcurrency,timezone:getTimezone,sessionStorage:getSessionStorage,localStorage:getLocalStorage,indexedDB:getIndexedDB,openDatabase:getOpenDatabase,cpuClass:getCpuClass,platform:getPlatform,plugins:getPlugins,canvas:getCanvasFingerprint,touchSupport:getTouchSupport,vendor:getVendor,vendorFlavors:getVendorFlavors,cookiesEnabled:areCookiesEnabled,colorGamut:getColorGamut,invertedColors:areColorsInverted,forcedColors:areColorsForced,monochrome:getMonochromeDepth,contrast:getContrastPreference,reducedMotion:isMotionReduced,hdr:isHDR,math:getMathFingerprint,videoCard:getVideoCard,pdfViewerEnabled:isPdfViewerEnabled,architecture:getArchitecture};function loadBuiltinSources(Yi){return loadSources(sources,Yi,[])}var commentTemplate="$ if upgrade to Pro: https://fpjs.dev/pro";function getConfidence(Yi){var eo=getOpenConfidenceScore(Yi),to=deriveProConfidenceScore(eo);return{score:eo,comment:commentTemplate.replace(/\$/g,"".concat(to))}}function getOpenConfidenceScore(Yi){if(isAndroid())return .4;if(isWebKit())return isDesktopSafari()?.5:.3;var eo=Yi.platform.value||"";return/^Win/.test(eo)?.6:/^Mac/.test(eo)?.5:.7}function deriveProConfidenceScore(Yi){return round$1(.99+.01*Yi,1e-4)}function componentsToCanonicalString(Yi){for(var eo="",to=0,ro=Object.keys(Yi).sort();to<ro.length;to++){var no=ro[to],io=Yi[no],oo=io.error?"error":JSON.stringify(io.value);eo+="".concat(eo?"|":"").concat(no.replace(/([:|\\])/g,"\\$1"),":").concat(oo)}return eo}function componentsToDebugString(Yi){return JSON.stringify(Yi,function(eo,to){return to instanceof Error?errorToObject(to):to},2)}function hashComponents(Yi){return x64hash128(componentsToCanonicalString(Yi))}function makeLazyGetResult(Yi){var eo,to=getConfidence(Yi);return{get visitorId(){return eo===void 0&&(eo=hashComponents(this.components)),eo},set visitorId(ro){eo=ro},confidence:to,components:Yi,version:version$3}}function prepareForSources(Yi){return Yi===void 0&&(Yi=50),requestIdleCallbackIfAvailable(Yi,Yi*2)}function makeAgent(Yi,eo){var to=Date.now();return{get:function(ro){return __awaiter$3(this,void 0,void 0,function(){var no,io,oo;return __generator$1(this,function(ao){switch(ao.label){case 0:return no=Date.now(),[4,Yi()];case 1:return io=ao.sent(),oo=makeLazyGetResult(io),(eo||ro!=null&&ro.debug)&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(oo.version,`
332userAgent: `).concat(navigator.userAgent,`
333timeBetweenLoadAndGet: `).concat(no-to,`
334visitorId: `).concat(oo.visitorId,`
335components: `).concat(componentsToDebugString(io),"\n```")),[2,oo]}})})}}}function monitor(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var Yi=new XMLHttpRequest;Yi.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(version$3,"/n
335pm-monitoring"),!0),Yi.send()}catch(eo){console.error(eo)}}function load(Yi){var eo=Yi===void 0?{}:Yi,to=eo.delayFallback,ro=eo.debug,no=eo.monitoring,io=no===void 0?!0:no;return __awaiter$3(this,void 0,void 0,function(){var oo;return __generator$1(this,function(ao){switch(ao.label){case 0:return io&&monitor(),[4,prepareForSources(to)];case 1:return ao.sent(),oo=loadBuiltinSources({debug:ro}),[2,makeAgent(oo,ro)]}})})}var index={load,hashComponents,componentsToDebugString};function toDate$1(Yi){const eo=Object.prototype.toString.call(Yi);return Yi instanceof Date||typeof Yi=="object"&&eo==="[object Date]"?new Yi.constructor(+Yi):typeof Yi=="number"||eo==="[object Number]"||typeof Yi=="string"||eo==="[object String]"?new Date(Yi):new Date(NaN)}function constructFrom(Yi,eo){return Yi instanceof Date?new Yi.constructor(eo):new Date(eo)}function addDays(Yi,eo){const to=toDate$1(Yi);return isNaN(eo)?constructFrom(Yi,NaN):(eo&&to.setDate(to.getDate()+eo),to)}const millisecondsInWeek=6048e5,millisecondsInDay=864e5,millisecondsInMinute=6e4,millisecondsInHour=36e5,millisecondsInSecond=1e3;let defaultOptions$4={};function getDefaultOptions$1(){return defaultOptions$4}function startOfWeek(Yi,eo){var ao,so,lo,co;const to=getDefaultOptions$1(),ro=(eo==null?void 0:eo.weekStartsOn)??((so=(ao=eo==null?void 0:eo.locale)==null?void 0:ao.options)==null?void 0:so.weekStartsOn)??to.weekStartsOn??((co=(lo=to.locale)==null?void 0:lo.options)==null?void 0:co.weekStartsOn)??0,no=toDate$1(Yi),io=no.getDay(),oo=(io<ro?7:0)+io-ro;return no.setDate(no.getDate()-oo),no.setHours(0,0,0,0),no}function startOfISOWeek(Yi){return startOfWeek(Yi,{weekStartsOn:1})}function getISOWeekYear(Yi){const eo=toDate$1(Yi),to=eo.getFullYear(),ro=constructFrom(Yi,0);ro.setFullYear(to+1,0,4),ro.setHours(0,0,0,0);const no=startOfISOWeek(ro),io=constructFrom(Yi,0);io.setFullYear(to,0,4),io.setHours(0,0,0,0);const oo=startOfISOWeek(io);return eo.getTime()>=no.getTime()?to+1:eo.getTime()>=oo.getTime()?to:to-1}function startOfDay(Yi){const eo=toDate$1(Yi);return eo.setHours(0,0,0,0),eo}function getTimezoneOffsetInMilliseconds$1(Yi){const eo=toDate$1(Yi),to=new Date(Date.UTC(eo.getFullYear(),eo.getMonth(),eo.getDate(),eo.getHours(),eo.getMinutes(),eo.getSeconds(),eo.getMilliseconds()));return to.setUTCFullYear(eo.getFullYear()),+Yi-+to}function differenceInCalendarDays(Yi,eo){const to=startOfDay(Yi),ro=startOfDay(eo),no=+to-getTimezoneOffsetInMilliseconds$1(to),io=+ro-getTimezoneOffsetInMilliseconds$1(ro);return Math.round((no-io)/millisecondsInDay)}function startOfISOWeekYear(Yi){const eo=getISOWeekYear(Yi),to=constructFrom(Yi,0);return to.setFullYear(eo,0,4),to.setHours(0,0,0,0),startOfISOWeek(to)}function compareAsc(Yi,eo){const to=toDate$1(Yi),ro=toDate$1(eo),no=to.getTime()-ro.getTime();return no<0?-1:no>0?1:no}function isSameDay(Yi,eo){const to=startOfDay(Yi),ro=startOfDay(eo);return+to==+ro}function isDate(Yi){return Yi instanceof Date||typeof Yi=="object"&&Object.prototype.toString.call(Yi)==="[object Date]"}function isValid(Yi){if(!isDate(Yi)&&typeof Yi!="number")return!1;const eo=toDate$1(Yi);return!isNaN(Number(eo))}function differenceInCalendarMonths(Yi,eo){const to=toDate$1(Yi),ro=toDate$1(eo),no=to.getFullYear()-ro.getFullYear(),io=to.getMonth()-ro.getMonth();return no*12+io}function differenceInCalendarYears(Yi,eo){const to=toDate$1(Yi),ro=toDate$1(eo);return to.getFullYear()-ro.getFullYear()}function differenceInDays(Yi,eo){const to=toDate$1(Yi),ro=toDate$1(eo),no=compareLocalAsc(to,ro),io=Math.abs(differenceInCalendarDays(to,ro));to.setDate(to.getDate()-no*io);const oo=+(compareLocalAsc(to,ro)===-no),ao=no*(io-oo);return ao===0?0:ao}function compareLocalAsc(Yi,eo){const to=Yi.getFullYear()-eo.getFullYear()||Yi.getMonth()-eo.getMonth()||Yi.getDate()-eo.getDate()||Yi.getHours()-eo.getHours()||Yi.getMinutes()-eo.getMinutes()||Yi.getSeconds()-eo.getSeconds()||Yi.getMilliseconds()-eo.getMilliseconds();return to<0?-1:to>0?1:to}function getRoundingMethod(Yi){return eo=>{const ro=(Yi?Math[Yi]:Math.trunc)(eo);return ro===0?0:ro}}function differenceInMilliseconds(Yi,eo){return+toDate$1(Yi)-+toDate$1(eo)}function differenceInHours(Yi,eo,to){const ro=differenceInMilliseconds(Yi,eo)/millisecondsInHour;return getRoundingMethod(to==null?void 0:to.roundingMethod)(ro)}function differenceInMinutes(Yi,eo,to){const ro=differenceInMilliseconds(Yi,eo)/millisecondsInMinute;return getRoundingMethod(to==null?void 0:to.roundingMethod)(ro)}function endOfDay(Yi){const eo=toDate$1(Yi);return eo.setHours(23,59,59,999),eo}
vendor: 4,480 bytes, line 335
335function endOfMonth(Yi){const eo=toDate$1(Yi),to=eo.getMonth();return eo.setFullYear(eo.getFullYear(),to+1,0),eo.setHours(23,59,59,999),eo}function isLastDayOfMonth(Yi){const eo=toDate$1(Yi);return+endOfDay(eo)==+endOfMonth(eo)}function differenceInMonths(Yi,eo){const to=toDate$1(Yi),ro=toDate$1(eo),no=compareAsc(to,ro),io=Math.abs(differenceInCalendarMonths(to,ro));let oo;if(io<1)oo=0;else{to.getMonth()===1&&to.getDate()>27&&to.setDate(30),to.setMonth(to.getMonth()-no*io);let ao=compareAsc(to,ro)===-no;isLastDayOfMonth(toDate$1(Yi))&&io===1&&compareAsc(Yi,ro)===1&&(ao=!1),oo=no*(io-Number(ao))}return oo===0?0:oo}function differenceInSeconds(Yi,eo,to){const ro=differenceInMilliseconds(Yi,eo)/1e3;return getRoundingMethod(to==null?void 0:to.roundingMethod)(ro)}function differenceInYears(Yi,eo){const to=toDate$1(Yi),ro=toDate$1(eo),no=compareAsc(to,ro),io=Math.abs(differenceInCalendarYears(to,ro));to.setFullYear(1584),ro.setFullYear(1584);const oo=compareAsc(to,ro)===-no,ao=no*(io-+oo);return ao===0?0:ao}function startOfYear(Yi){const eo=toDate$1(Yi),to=constructFrom(Yi,0);return to.setFullYear(eo.getFullYear(),0,1),to.setHours(0,0,0,0),to}const formatDistanceLocale$2={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},formatDistance$2=(Yi,eo,to)=>{let ro;const no=formatDistanceLocale$2[Yi];return typeof no=="string"?ro=no:eo===1?ro=no.one:ro=no.other.replace("{{count}}",eo.toString()),to!=null&&to.addSuffix?to.comparison&&to.comparison>0?"in "+ro:ro+" ago":ro};function buildFormatLongFn(Yi){return(eo={})=>{const to=eo.width?String(eo.width):Yi.defaultWidth;return Yi.formats[to]||Yi.formats[Yi.defaultWidth]}}const dateFormats$2={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},timeFormats$2={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateTimeFormats$2={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},formatLong$2={date:buildFormatLongFn({formats:dateFormats$2,defaultWidth:"full"}),time:buildFormatLongFn({formats:timeFormats$2,defaultWidth:"full"}),dateTime:buildFormatLongFn({formats:dateTimeFormats$2,defaultWidth:"full"})},formatRelativeLocale$2={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},formatRelative$2=(Yi,eo,to,ro)=>formatRelativeLocale$2[Yi];function buildLocalizeFn(Yi){return(eo,to)=>{const ro=to!=null&&to.context?String(to.context):"standalone";let no;if(ro==="formatting"&&Yi.formattingValues){const oo=Yi.defaultFormattingWidth||Yi.defaultWidth,ao=to!=null&&to.width?String(to.width):oo;no=Yi.formattingValues[ao]||Yi.formattingValues[oo]}else{const oo=Yi.defaultWidth,ao=to!=null&&to.width?String(to.width):Yi.defaultWidth;no=Yi.values[ao]||Yi.values[oo]}const io=Yi.argumentCallback?Yi.argumentCallback(eo):eo;return no[io]}}const eraValues$2={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},quarterValues$2={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},monthValues$2={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},dayValues$2={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
335ay","Saturday"]},dayPeriodValues$2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},formattingDayPeriodValues$2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},ordinalNumber$2=(Yi,eo)=>{const to=Number(Yi),ro=to%100;if(ro>20||ro<10)switch(ro%10){case 1:return to+"st";case 2:return to+"nd";case 3:return to+"rd"}return to+"th"},localize$2={ordinalNumber:ordinalNumber$2,era:buildLocalizeFn({values:eraValues$2,defaultWidth:"wide"}),quarter:buildLocalizeFn({values:quarterValues$2,defaultWidth:"wide",argumentCallback:Yi=>Yi-1}),month:buildLocalizeFn({values:monthValues$2,defaultWidth:"wide"}),day:buildLocalizeFn({values:dayValues$2,defaultWidth:"wide"}),dayPeriod:buildLocalizeFn({values:dayPeriodValues$2,defaultWidth:"wide",formattingValues:formattingDayPeriodValues$2,defaultFormattingWidth:"wide"})};function buildMatchFn(Yi){return(eo,to={})=>{const ro=to.width,no=ro&&Yi.matchPatterns[ro]||Yi.matchPatterns[Yi.defaultMatchWidth],io=eo.match(no);if(!io)return null;const oo=io[0],ao=ro&&Yi.parsePatterns[ro]||Yi.parsePatterns[Yi.defaultParseWidth],so=Array.isArray(ao)?findIndex(ao,uo=>uo.test(oo)):findKey(ao,uo=>uo.test(oo));let lo;lo=Yi.valueCallback?Yi.valueCallback(so):so,lo=to.valueCallback?to.valueCallback(lo):lo;const co=eo.slice(oo.length);return{value:lo,rest:co}}}function findKey(Yi,eo){for(const to in Yi)if(Object.prototype.hasOwnProperty.call(Yi,to)&&eo(Yi[to]))return to}function findIndex(Yi,eo){for(let to=0;to<Yi.length;to++)if(eo(Yi[to]))return to}function buildMatchPatternFn(Yi){return(eo,to={})=>{const ro=eo.match(Yi.matchPattern);if(!ro)return null;const no=ro[0],io=eo.match(Yi.parsePattern);if(!io)return null;let oo=Yi.valueCallback?Yi.valueCallback(io[0]):io[0];oo=to.valueCallback?to.valueCallback(oo):oo;const ao=eo.slice(no.length);return{value:oo,rest:ao}}}const matchOrdinalNumberPattern$2=/^(\d+)(th|st|nd|rd)?/i,parseOrdinalNumberPattern$2=/\d+/i,matchEraPatterns$2={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},parseEraPatterns$2={any:[/^b/i,/^(a|c)/i]},matchQuarterPatterns$2={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},parseQuarterPatterns$2={any:[/1/i,/2/i,/3/i,/4/i]},matchMonthPatterns$2={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},parseMonthPatterns$2={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},matchDayPatterns$2={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},parseDayPatterns$2={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},matchDayPeriodPatterns$2={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},parseDayPeriodPatterns$2={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},match$2={ordinalNumber:buildMatchPatternFn({matchPattern:matchOrdinalNumberPattern$2,parsePattern:parseOrdinalNumberPattern$2,valueCallback:Yi=>parseInt(Yi,10)}),era:buildMatchFn({matchPatterns:matchEraPatterns$2,defaultMatchWidth:"wide",parsePatterns:parseEraPatterns$2,defaultParseWidth:"any"}),quarter:buildMatchFn({matchPatterns:matchQuarterPatterns$2,defaultMatchWidth:"wide",parsePatterns:parseQuarterPatterns$2,defaultParseWidth:"any",valueCallback:Yi=>Yi+1}),month:buildMatchFn({matchPatterns:matchMonthPatterns$2,defaultMatchWidth:"wide",parsePatterns:parseMonthPatterns$2,defaultParseWidth:"any"}),day:buildMatchFn({matchPatterns:matchDayPatterns$2,defaultMatchWidth:"wide",parsePatterns:parseDayPatterns$2,defaultParseWidth:"any"}),dayPeriod:buildMatchFn({matchPatterns:matchDayPeriodPatterns$2,defaultMatchWidth:"any",parsePatterns:parseDayPeriodPatterns$2,defaultParseWidth:"any"})},enUS={code:"en-US",formatDistance:formatDistance$2,formatLong:formatLong$2,formatRelative:formatRelative$2,localize:localize$2,match:match$2,options:{weekStartsOn:0,firstWeekContainsDate:1}};function getDayOfYear(Yi){const eo=toDate$1(Yi);return differenceInCalendarDays(eo,startOfYear(eo))+1}function getISOWeek(Yi){const eo=toDate$1(Yi),to=+startOfISOWeek(eo)-+startOfISOWeekYear(eo);return Math.round(to/millisecondsInWeek)+1}function getWeekYear(Yi,eo){var co,uo,fo,ho;const to=toDate$1(Yi),ro=to.getFullYear(),no=getDefaultOptions$1(),io=(eo==null?void 0:eo.firstWeekContainsDate)??((uo=(co=eo==null?void 0:eo.locale)==null?void 0:co.options)==null?void 0:uo.firstWeekContainsDate)??no.firstWeekContainsDate??((ho=(fo=no.locale)==null?void 0:fo.options)==null?void 0:ho.firstWeekContainsDate)??1,oo=constructFrom(Yi,0);oo.setFullYear(ro+1,0,io),oo.setHours(0,0,0,0);const ao=startOfWeek(oo,eo),so=constructFrom(Yi,0);so.setFullYear(ro,0,io),so.setHours(0,0,0,0);const lo=startOfWeek(so,eo);return to.getTime()>=ao.getTime()?ro+1:to.getTime()>=lo.getTime()?ro:ro-1}function startOfWeekYear(Yi,eo){var ao,so,lo,co;const to=getDefaultOptions$1(),ro=(eo==null?void 0:eo.firstWeekContainsDate)??((so=(ao=eo==null?void 0:eo.locale)==null?void 0:ao.options)==null?void 0:so.firstWeekContainsDate)??to.firstWeekContainsDate??((co=(lo=to.locale)==null?void 0:lo.options)==null?void 0:co.firstWeekContainsDate)??1,no=getWeekYear(Yi,eo),io=constructFrom(Yi,0);return io.setFullYear(no,0,ro),io.setHours(0,0,0,0),startOfWeek(io,eo)}function getWeek(Yi,eo){const to=toDate$1(Yi),ro=+startOfWeek(to,eo)-+startOfWeekYear(to,eo);return Math.round(ro/millisecondsInWeek)+1}function addLeadingZeros(Yi,eo){const to=Yi<0?"-":"",ro=Math.abs(Yi).toString().padStart(eo,"0");return to+ro}const lightFormatters={y(Yi,eo){const to=Yi.getFullYear(),ro=to>0?to:1-to;return addLeadingZeros(eo==="yy"?ro%100:ro,eo.length)},M(Yi,eo){const to=Yi.getMonth();return eo==="M"?String(to+1):addLeadingZeros(to+1,2)},d(Yi,eo){return addLeadingZeros(Yi.getDate(),eo.length)},a(Yi,eo){const to=Yi.getHours()/12>=1?"pm":"am";switch(eo){case"a":case"aa":return to.toUpperCase();case"aaa":return to;case"aaaaa":return to[0];case"aaaa":default:return to==="am"?"a.m.":"p.m."}},h(Yi,eo){return addLeadingZeros(Yi.getHours()%12||12,eo.length)},H(Yi,eo){return addLeadingZeros(Yi.getHours(),eo.length)},m(Yi,eo){return addLeadingZeros(Yi.getMinutes(),eo.length)},s(Yi,eo){return addLeadingZeros(Yi.getSeconds(),eo.length)},S(Yi,eo){const to=eo.length,ro=Yi.getMilliseconds(),no=Math.trunc(ro*Math.pow(10,to-3));return addLeadingZeros(no,eo.length)}},dayPeriodEnum={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},formatters={G:function(Yi,eo,to){const ro=Yi.getFullYear()>0?1:0;switch(eo){case"G":case"GG":case"GGG":return to.era(ro,{width:"abbreviated"});case"GGGGG":return to.era(ro,{width:"narrow"});case"GGGG":default:return to.era(ro,{width:"wide"})}},y:function(Yi,eo,to){if(eo==="yo"){const ro=Yi.getFullYear(),no=ro>0?ro:1-ro;return to.ordinalNumber(no,{unit:"year"})}return lightFormatters.y(Yi,eo)},Y:function(Yi,eo,to,ro){const no=getWeekYear(Yi,ro),io=no>0?no:1-no;if(eo==="YY"){const oo=io%100;return addLeadingZeros(oo,2)}return eo==="Yo"?to.ordinalNumber(io,{unit:"year"}):addLeadingZeros(io,eo.length)},R:function(Yi,eo){const to=getISOWeekYear(Yi);return addLeadingZeros(to,eo.length)},u:function(Yi,eo){const to=Yi.getFullYear();return addLeadingZeros(to,eo.length)},Q:function(Yi,eo,to){const ro=Math.ceil((Yi.getMonth()+1)/3);switch(eo){case"Q":return String(ro);case"QQ":return addLeadingZeros(ro,2);case"Qo":return to.ordinalNumber(ro,{unit:"quarter"});case"QQQ":return to.quarter(ro,{width:"abbreviated",context:"formatting"});case"QQQQQ":return to.quarter(ro,{width:"narrow",context:"formatting"});case"QQQQ":default:return to.quarter(ro,{width:"wide",context:"formatting"})}},q:function(Yi,eo,to){const ro=Math.ceil((Yi.getMonth()+1)/3);switch(eo){case"q":return String(ro);case"qq":return addLeadingZeros(ro,2);case"qo":return to.ordinalNumber(ro,{unit:"quarter"});case"qqq":return to.quarter(ro,{width:"abbreviated",context:"standalone"});case"qqqqq":return to.quarter(ro,{width:"narrow",context:"standalone"});case"qqqq":default:return to.quarter(ro,{width:"wide",context:"standalone"})}},M:function(Yi,eo,to){const ro=Yi.getMonth();switch(eo){case"M":case"MM":return lightFormatters.M(Yi,eo);case"Mo":return to.ordinalNumber(ro+1,{unit:"month"});case"MMM":return to.month(ro,{width:"abbreviated",context:"formatting"});case"MMMMM":return to.month(ro,{width:"narrow",context:"formatting"});case"MMMM":default:return to.month(ro,{width:"wide",context:"formatting"})}},L:function(Yi,eo,to){const ro=Yi.getMonth();switch(eo){case"L":return String(ro+1);case"LL":return addLeadingZeros(ro+1,2);case"Lo":return to.ordinalNumber(ro+1,{unit:"month"});case"LLL":return to.month(ro,{width:"abbreviated",context:"standalone"});case"LLLLL":return to.month(ro,{width:"narrow",context:"standalone"});case"LLLL":default:return to.month(ro,{width:"wide",context:"standalone"})}},w:function(Yi,eo,to,ro){const no=getWeek(Yi,ro);return eo==="wo"?to.ordinalNumber(no,{unit:"week"}):addLeadingZeros(no,eo.length)},I:function(Yi,eo,to){const ro=getISOWeek(Yi);return eo==="Io"?to.ordinalNumber(ro,{unit:"week"}):addLeadingZeros(ro,eo.length)},d:function(Yi,eo,to){return eo==="do"?to.ordinalNumber(Yi.getDate(),{unit:"date"}):lightFormatters.d(Yi,eo)},D:function(Yi,eo,to){const ro=getDayOfYear(Yi);return eo==="Do"?to.ordinalNumber(ro,{unit:"dayOfYear"}):addLeadingZeros(ro,eo.length)},E:function(Yi,eo,to){const ro=Yi.getDay();switch(eo){case"E":case"EE":case"EEE":return to.day(ro,{width:"abbreviated",context:"formatting"});case"EEEEE":return to.day(ro,{width:"narrow",context:"formatting"});case"EEEEEE":return to.day(ro,{width:"short",context:"formatting"});case"EEEE":default:return to.day(ro,{width:"wide",context:"formatting"})}},e:function(Yi,eo,to,ro){const no=Yi.getDay(),io=(no-ro.weekStartsOn+8)%7||7;switch(eo){case"e":return String(io);case"ee":return addLeadingZeros(io,2);case"eo":return to.ordinalNumber(io,{unit:"day"});case"eee":return to.day(no,{width:"abbreviated",context:"formatting"});case"eeeee":return to.day(no,{width:"narrow",context:"formatting"});case"eeeeee":return to.day(no,{width:"short",context:"formatting"});case"eeee":default:return to.day(no,{width:"wide",context:"formatting"})}},c:function(Yi,eo,to,ro){const no=Yi.getDay(),io=(no-ro.weekStartsOn+8)%7||7;switch(eo){case"c":return String(io);case"cc":return addLeadingZeros(io,eo.length);case"co":return to.ordinalNumber(io,{unit:"day"});case"ccc":return to.day(no,{width:"abbreviated",context:"standalone"});case"ccccc":return to.day(no,{width:"narrow",context:"standalone"});case"cccccc":return to.day(no,{width:"short",context:"standalone"});case"cccc":default:return to.day(no,{width:"wide",context:"standalone"})}},i:function(Yi,eo,to){const ro=Yi.getDay(),no=ro===0?7:ro;switch(eo){case"i":return String(no);case"ii":return addLeadingZeros(no,eo.length);case"io":return to.ordinalNumber(no,{unit:"day"});case"iii":return to.day(ro,{width:"abbreviated",context:"formatting"});case"iiiii":return to.day(ro,{width:"narrow",context:"formatting"});case"iiiiii":return to.day(ro,{width:"short",context:"formatting"});case"iiii":default:return to.day(ro,{width:"wide",context:"formatting"})}},a:function(Yi,eo,to){const no=Yi.getHours()/12>=1?"pm":"am";switch(eo){case"a":case"aa":return to.dayPeriod(no,{width:"abbreviated",context:"formatting"});case"aaa":return to.dayPeriod(no,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return to.dayPeriod(no,{width:"narrow",context:"formatting"});case"aaaa":default:return to.dayPeriod(no,{width:"wide",context:"formatting"})}},b:function(Yi,eo,to){const ro=Yi.getHours();let no;switch(ro===12?no=dayPeriodEnum.noon:ro===0?no=dayPeriodEnum.midnight:no=ro/12>
vendor: 6,060 bytes, line 335
335=1?"pm":"am",eo){case"b":case"bb":return to.dayPeriod(no,{width:"abbreviated",context:"formatting"});case"bbb":return to.dayPeriod(no,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return to.dayPeriod(no,{width:"narrow",context:"formatting"});case"bbbb":default:return to.dayPeriod(no,{width:"wide",context:"formatting"})}},B:function(Yi,eo,to){const ro=Yi.getHours();let no;switch(ro>=17?no=dayPeriodEnum.evening:ro>=12?no=dayPeriodEnum.afternoon:ro>=4?no=dayPeriodEnum.morning:no=dayPeriodEnum.night,eo){case"B":case"BB":case"BBB":return to.dayPeriod(no,{width:"abbreviated",context:"formatting"});case"BBBBB":return to.dayPeriod(no,{width:"narrow",context:"formatting"});case"BBBB":default:return to.dayPeriod(no,{width:"wide",context:"formatting"})}},h:function(Yi,eo,to){if(eo==="ho"){let ro=Yi.getHours()%12;return ro===0&&(ro=12),to.ordinalNumber(ro,{unit:"hour"})}return lightFormatters.h(Yi,eo)},H:function(Yi,eo,to){return eo==="Ho"?to.ordinalNumber(Yi.getHours(),{unit:"hour"}):lightFormatters.H(Yi,eo)},K:function(Yi,eo,to){const ro=Yi.getHours()%12;return eo==="Ko"?to.ordinalNumber(ro,{unit:"hour"}):addLeadingZeros(ro,eo.length)},k:function(Yi,eo,to){let ro=Yi.getHours();return ro===0&&(ro=24),eo==="ko"?to.ordinalNumber(ro,{unit:"hour"}):addLeadingZeros(ro,eo.length)},m:function(Yi,eo,to){return eo==="mo"?to.ordinalNumber(Yi.getMinutes(),{unit:"minute"}):lightFormatters.m(Yi,eo)},s:function(Yi,eo,to){return eo==="so"?to.ordinalNumber(Yi.getSeconds(),{unit:"second"}):lightFormatters.s(Yi,eo)},S:function(Yi,eo){return lightFormatters.S(Yi,eo)},X:function(Yi,eo,to){const ro=Yi.getTimezoneOffset();if(ro===0)return"Z";switch(eo){case"X":return formatTimezoneWithOptionalMinutes(ro);case"XXXX":case"XX":return formatTimezone(ro);case"XXXXX":case"XXX":default:return formatTimezone(ro,":")}},x:function(Yi,eo,to){const ro=Yi.getTimezoneOffset();switch(eo){case"x":return formatTimezoneWithOptionalMinutes(ro);case"xxxx":case"xx":return formatTimezone(ro);case"xxxxx":case"xxx":default:return formatTimezone(ro,":")}},O:function(Yi,eo,to){const ro=Yi.getTimezoneOffset();switch(eo){case"O":case"OO":case"OOO":return"GMT"+formatTimezoneShort(ro,":");case"OOOO":default:return"GMT"+formatTimezone(ro,":")}},z:function(Yi,eo,to){const ro=Yi.getTimezoneOffset();switch(eo){case"z":case"zz":case"zzz":return"GMT"+formatTimezoneShort(ro,":");case"zzzz":default:return"GMT"+formatTimezone(ro,":")}},t:function(Yi,eo,to){const ro=Math.trunc(Yi.getTime()/1e3);return addLeadingZeros(ro,eo.length)},T:function(Yi,eo,to){const ro=Yi.getTime();return addLeadingZeros(ro,eo.length)}};function formatTimezoneShort(Yi,eo=""){const to=Yi>0?"-":"+",ro=Math.abs(Yi),no=Math.trunc(ro/60),io=ro%60;return io===0?to+String(no):to+String(no)+eo+addLeadingZeros(io,2)}function formatTimezoneWithOptionalMinutes(Yi,eo){return Yi%60===0?(Yi>0?"-":"+")+addLeadingZeros(Math.abs(Yi)/60,2):formatTimezone(Yi,eo)}function formatTimezone(Yi,eo=""){const to=Yi>0?"-":"+",ro=Math.abs(Yi),no=addLeadingZeros(Math.trunc(ro/60),2),io=addLeadingZeros(ro%60,2);return to+no+eo+io}const dateLongFormatter=(Yi,eo)=>{switch(Yi){case"P":return eo.date({width:"short"});case"PP":return eo.date({width:"medium"});case"PPP":return eo.date({width:"long"});case"PPPP":default:return eo.date({width:"full"})}},timeLongFormatter=(Yi,eo)=>{switch(Yi){case"p":return eo.time({width:"short"});case"pp":return eo.time({width:"medium"});case"ppp":return eo.time({width:"long"});case"pppp":default:return eo.time({width:"full"})}},dateTimeLongFormatter=(Yi,eo)=>{const to=Yi.match(/(P+)(p+)?/)||[],ro=to[1],no=to[2];if(!no)return dateLongFormatter(Yi,eo);let io;switch(ro){case"P":io=eo.dateTime({width:"short"});break;case"PP":io=eo.dateTime({width:"medium"});break;case"PPP":io=eo.dateTime({width:"long"});break;case"PPPP":default:io=eo.dateTime({width:"full"});break}return io.replace("{{date}}",dateLongFormatter(ro,eo)).replace("{{time}}",timeLongFormatter(no,eo))},longFormatters={p:timeLongFormatter,P:dateTimeLongFormatter},dayOfYearTokenRE=/^D+$/,weekYearTokenRE=/^Y+$/,throwTokens=["D","DD","YY","YYYY"];function isProtectedDayOfYearToken(Yi){return dayOfYearTokenRE.test(Yi)}function isProtectedWeekYearToken(Yi){return weekYearTokenRE.test(Yi)}function warnOrThrowProtectedError(Yi,eo,to){const ro=message(Yi,eo,to);if(console.warn(ro),throwTokens.includes(Yi))throw new RangeError(ro)}function message(Yi,eo,to){const ro=Yi[0]==="Y"?"years":"days of the month";return`Use \`${Yi.toLowerCase()}\` instead of \`${Yi}\` (in \`${eo}\`) for formatting ${ro} to the input \`${to}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const formattingTokensRegExp$1=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,longFormattingTokensRegExp$1=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,escapedStringRegExp$1=/^'([^]*?)'?$/,doubleQuoteRegExp$1=/''/g,unescapedLatinCharacterRegExp$1=/[a-zA-Z]/;function format$1(Yi,eo,to){var co,uo,fo,ho,mo,vo,Co,bo;const ro=getDefaultOptions$1(),no=(to==null?void 0:to.locale)??ro.locale??enUS,io=(to==null?void 0:to.firstWeekContainsDate)??((uo=(co=to==null?void 0:to.locale)==null?void 0:co.options)==null?void 0:uo.firstWeekContainsDate)??ro.firstWeekContainsDate??((ho=(fo=ro.locale)==null?void 0:fo.options)==null?void 0:ho.firstWeekContainsDate)??1,oo=(to==null?void 0:to.weekStartsOn)??((vo=(mo=to==null?void 0:to.locale)==null?void 0:mo.options)==null?void 0:vo.weekStartsOn)??ro.weekStartsOn??((bo=(Co=ro.locale)==null?void 0:Co.options)==null?void 0:bo.weekStartsOn)??0,ao=toDate$1(Yi);if(!isValid(ao))throw new RangeError("Invalid time value");let so=eo.match(longFormattingTokensRegExp$1).map(wo=>{const yo=wo[0];if(yo==="p"||yo==="P"){const Eo=longFormatters[yo];return Eo(wo,no.formatLong)}return wo}).join("").match(formattingTokensRegExp$1).map(wo=>{if(wo==="''")return{isToken:!1,value:"'"};const yo=wo[0];if(yo==="'")return{isToken:!1,value:cleanEscapedString$1(wo)};if(formatters[yo])return{isToken:!0,value:wo};if(yo.match(unescapedLatinCharacterRegExp$1))throw new RangeError("Format str
335ing contains an unescaped latin alphabet character `"+yo+"`");return{isToken:!1,value:wo}});no.localize.preprocessor&&(so=no.localize.preprocessor(ao,so));const lo={firstWeekContainsDate:io,weekStartsOn:oo,locale:no};return so.map(wo=>{if(!wo.isToken)return wo.value;const yo=wo.value;(!(to!=null&&to.useAdditionalWeekYearTokens)&&isProtectedWeekYearToken(yo)||!(to!=null&&to.useAdditionalDayOfYearTokens)&&isProtectedDayOfYearToken(yo))&&warnOrThrowProtectedError(yo,eo,String(Yi));const Eo=formatters[yo[0]];return Eo(ao,yo,no.localize,lo)}).join("")}function cleanEscapedString$1(Yi){const eo=Yi.match(escapedStringRegExp$1);return eo?eo[1].replace(doubleQuoteRegExp$1,"'"):Yi}function getDaysInMonth(Yi){const eo=toDate$1(Yi),to=eo.getFullYear(),ro=eo.getMonth(),no=constructFrom(Yi,0);return no.setFullYear(to,ro+1,0),no.setHours(0,0,0,0),no.getDate()}function getDefaultOptions(){return Object.assign({},getDefaultOptions$1())}function getISODay(Yi){let to=toDate$1(Yi).getDay();return to===0&&(to=7),to}function getMonth(Yi){return toDate$1(Yi).getMonth()}function getYear(Yi){return toDate$1(Yi).getFullYear()}function transpose(Yi,eo){const to=eo instanceof Date?constructFrom(eo,0):new eo(0);return to.setFullYear(Yi.getFullYear(),Yi.getMonth(),Yi.getDate()),to.setHours(Yi.getHours(),Yi.getMinutes(),Yi.getSeconds(),Yi.getMilliseconds()),to}const TIMEZONE_UNIT_PRIORITY=10;class Setter{constructor(){As(this,"subPriority",0)}validate(eo,to){return!0}}class ValueSetter extends Setter{constructor(eo,to,ro,no,io){super(),this.value=eo,this.validateValue=to,this.setValue=ro,this.priority=no,io&&(this.subPriority=io)}validate(eo,to){return this.validateValue(eo,this.value,to)}set(eo,to,ro){return this.setValue(eo,to,this.value,ro)}}class DateToSystemTimezoneSetter extends Setter{constructor(){super(...arguments);As(this,"priority",TIMEZONE_UNIT_PRIORITY);As(this,"subPriority",-1)}set(to,ro){return ro.timestampIsSet?to:constructFrom(to,transpose(to,Date))}}let Parser$2=class{run(eo,to,ro,no){const io=this.parse(eo,to,ro,no);return io?{setter:new ValueSetter(io.value,this.validate,this.set,this.priority,this.subPriority),rest:io.rest}:null}validate(eo,to,ro){return!0}};class EraParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",140);As(this,"incompatibleTokens",["R","u","t","T"])}parse(to,ro,no){switch(ro){case"G":case"GG":case"GGG":return no.era(to,{width:"abbreviated"})||no.era(to,{width:"narrow"});case"GGGGG":return no.era(to,{width:"narrow"});case"GGGG":default:return no.era(to,{width:"wide"})||no.era(to,{width:"abbreviated"})||no.era(to,{width:"narrow"})}}set(to,ro,no){return ro.era=no,to.setFullYear(no,0,1),to.setHours(0,0,0,0),to}}const numericPatterns={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},timezonePatterns={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function mapValue(Yi,eo){return Yi&&{value:eo(Yi.value),rest:Yi.rest}}function parseNumericPattern(Yi,eo){const to=eo.match(Yi);return to?{value:parseInt(to[0],10),rest:eo.slice(to[0].length)}:null}function parseTimezonePattern(Yi,eo){const to=eo.match(Yi);if(!to)return null;if(to[0]==="Z")return{value:0,rest:eo.slice(1)};const ro=to[1]==="+"?1:-1,no=to[2]?parseInt(to[2],10):0,io=to[3]?parseInt(to[3],10):0,oo=to[5]?parseInt(to[5],10):0;return{value:ro*(no*millisecondsInHour+io*millisecondsInMinute+oo*millisecondsInSecond),rest:eo.slice(to[0].length)}}function parseAnyDigitsSigned(Yi){return parseNumericPattern(numericPatterns.anyDigitsSigned,Yi)}function parseNDigits(Yi,eo){switch(Yi){case 1:return parseNumericPattern(numericPatterns.singleDigit,eo);case 2:return parseNumericPattern(numericPatterns.twoDigits,eo);case 3:return parseNumericPattern(numericPatterns.threeDigits,eo);case 4:return parseNumericPattern(numericPatterns.fourDigits,eo);default:return parseNumericPattern(new RegExp("^\\d{1,"+Yi+"}"),eo)}}function parseNDigitsSigned(Yi,eo){switch(Yi){case 1:return parseNumericPattern(numericPatterns.singleDigitSigned,eo);case 2:return parseNumericPattern(numericPatterns.twoDigitsSigned,eo);case 3:return parseNumericPattern(numericPatterns.threeDigitsSigned,eo);case 4:return parseNumericPattern(numericPatterns.fourDigitsSigned,eo);default:return parseNumericPattern(new RegExp("^-?\\d{1,"+Yi+"}"),eo)}}function dayPeriodEnumToHours(Yi){switch(Yi){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function normalizeTwoDigitYear(Yi,eo){const to=eo>0,ro=to?eo:1-eo;let no;if(ro<=50)no=Yi||100;else{const io=ro+50,oo=Math.trunc(io/100)*100,ao=Yi>=io%100;no=Yi+oo-(ao?100:0)}return to?no:1-no}function isLeapYearIndex$2(Yi){return Yi%400===0||Yi%4===0&&Yi%100!==0}class YearParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",130);As(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(to,ro,no){const io=oo=>({year:oo,isTwoDigitYear:ro==="yy"});
vendor: 25,209 bytes, line 335
335switch(ro){case"y":return mapValue(parseNDigits(4,to),io);case"yo":return mapValue(no.ordinalNumber(to,{unit:"year"}),io);default:return mapValue(parseNDigits(ro.length,to),io)}}validate(to,ro){return ro.isTwoDigitYear||ro.year>0}set(to,ro,no){const io=to.getFullYear();if(no.isTwoDigitYear){const ao=normalizeTwoDigitYear(no.year,io);return to.setFullYear(ao,0,1),to.setHours(0,0,0,0),to}const oo=!("era"in ro)||ro.era===1?no.year:1-no.year;return to.setFullYear(oo,0,1),to.setHours(0,0,0,0),to}}class LocalWeekYearParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",130);As(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(to,ro,no){const io=oo=>({year:oo,isTwoDigitYear:ro==="YY"});switch(ro){case"Y":return mapValue(parseNDigits(4,to),io);case"Yo":return mapValue(no.ordinalNumber(to,{unit:"year"}),io);default:return mapValue(parseNDigits(ro.length,to),io)}}validate(to,ro){return ro.isTwoDigitYear||ro.year>0}set(to,ro,no,io){const oo=getWeekYear(to,io);if(no.isTwoDigitYear){const so=normalizeTwoDigitYear(no.year,oo);return to.setFullYear(so,0,io.firstWeekContainsDate),to.setHours(0,0,0,0),startOfWeek(to,io)}const ao=!("era"in ro)||ro.era===1?no.year:1-no.year;return to.setFullYear(ao,0,io.firstWeekContainsDate),to.setHours(0,0,0,0),startOfWeek(to,io)}}class ISOWeekYearParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",130);As(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(to,ro){return parseNDigitsSigned(ro==="R"?4:ro.length,to)}set(to,ro,no){const io=constructFrom(to,0);return io.setFullYear(no,0,4),io.setHours(0,0,0,0),startOfISOWeek(io)}}class ExtendedYearParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",130);As(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(to,ro){return parseNDigitsSigned(ro==="u"?4:ro.length,to)}set(to,ro,no){return to.setFullYear(no,0,1),to.setHours(0,0,0,0),to}}class QuarterParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",120);As(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(to,ro,no){switch(ro){case"Q":case"QQ":return parseNDigits(ro.length,to);case"Qo":return no.ordinalNumber(to,{unit:"quarter"});case"QQQ":return no.quarter(to,{width:"abbreviated",context:"formatting"})||no.quarter(to,{width:"narrow",context:"formatting"});case"QQQQQ":return no.quarter(to,{width:"narrow",context:"formatting"});case"QQQQ":default:return no.quarter(to,{width:"wide",context:"formatting"})||no.quarter(to,{width:"abbreviated",context:"formatting"})||no.quarter(to,{width:"narrow",context:"formatting"})}}validate(to,ro){return ro>=1&&ro<=4}set(to,ro,no){return to.setMonth((no-1)*3,1),to.setHours(0,0,0,0),to}}class StandAloneQuarterParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",120);As(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(to,ro,no){switch(ro){case"q":case"qq":return parseNDigits(ro.length,to);case"qo":return no.ordinalNumber(to,{unit:"quarter"});case"qqq":return no.quarter(to,{width:"abbreviated",context:"standalone"})||no.quarter(to,{width:"narrow",context:"standalone"});case"qqqqq":return no.quarter(to,{width:"narrow",context:"standalone"});case"qqqq":default:return no.quarter(to,{width:"wide",context:"standalone"})||no.quarter(to,{width:"abbreviated",context:"standalone"})||no.quarter(to,{width:"narrow",context:"standalone"})}}validate(to,ro){return ro>=1&&ro<=4}set(to,ro,no){return to.setMonth((no-1)*3,1),to.setHours(0,0,0,0),to}}class MonthParser extends Parser$2{constructor(){super(...arguments);As(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);As(this,"priority",110)}parse(to,ro,no){const io=oo=>oo-1;switch(ro){case"M":return mapValue(parseNumericPattern(numericPatterns.month,to),io);case"MM":return mapValue(parseNDigits(2,to),io);case"Mo":return mapValue(no.ordinalNumber(to,{unit:"month"}),io);case"MMM":return no.month(to,{width:"abbreviated",context:"formatting"})||no.month(to,{width:"narrow",context:"formatting"});case"MMMMM":return no.month(to,{width:"narrow",context:"formatting"});case"MMMM":default:return no.month(to,{width:"wide",context:"formatting"})||no.month(to,{width:"abbreviated",context:"formatting"})||no.month(to,{width:"narrow",context:"formatting"})}}validate(to,ro){return ro>=0&&ro<=11}set(to,ro,no){return to.setMonth(no,1),to.setHours(0,0,0,0),to}}class StandAloneMonthParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",110);As(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(to,ro,no){const io=oo=>oo-1;switch(ro){case"L":return mapValue(parseNumericPattern(numericPatterns.month,to),io);case"LL":return mapValue(parseNDigits(2,to),io);case"Lo":return mapValue(no.ordinalNumber(to,{unit:"month"}),io);case"LLL":return no.month(to,{width:"abbreviated",context:"standalone"})||no.month(to,{width:"narrow",context:"standalone"});case"LLLLL":return no.month(to,{width:"narrow",context:"standalone"});case"LLLL":default:return no.month(to,{width:"wide",context:"standalone"})||no.month(to,{width:"abbreviated",context:"standalone"})||no.month(to,{width:"narrow",context:"standalone"})}}validate(to,ro){return ro>=0&&ro<=11}set(to,ro,no){return to.setMonth(no,1),to.setHours(0,0,0,0),to}}function setWeek(Yi,eo,to){const ro=toDate$1(Yi),no=getWeek(ro,to)-eo;return ro.setDate(ro.getDate()-no*7),ro}class LocalWeekParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",100);As(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(to,ro,no){switch(ro){case"w":return parseNumericPattern(numericPatterns.week,to);case"wo":return no.ordinalNumber(to,{unit:"week"});default:return parseNDigits(ro.length,to)}}validate(to,ro){return ro>=1&&ro<=53}set(to,ro,no,io){return startOfWeek(setWeek(to,no,io),io)}}function setISOWeek(Yi,eo){const to=toDate$1(Yi),ro=getISOWeek(to)-eo;return to.setDate(to.getDate()-ro*7),to}class ISOWeekParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",100);As(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(to,ro,no){switch(ro){case"I":return parseNumericPattern(numericPatterns.week,to);case"Io":return no.ordinalNumber(to,{unit:"week"});default:return parseNDigits(ro.length,to)}}validate(to,ro){return ro>=1&&ro<=53}set(to,ro,no){return startOfISOWeek(setISOWeek(to,no))}}const DAYS_IN_MONTH$1=[31,28,31,30,31,30,31,31,30,31,30,31],DAYS_IN_MONTH_LEAP_YEAR$1=[31,29,31,30,31,30,31,31,30,31,30,31];class DateParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",90);As(this,"subPriority",1);As(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(to,ro,no){switch(ro){case"d":return parseNumericPattern(numericPatterns.date,to);case"do":return no.ordinalNumber(to,{unit:"date"});default:return parseNDigits(ro.length,to)}}validate(to,ro){const no=to.getFullYear(),io=isLeapYearIndex$2(no),oo=to.getMonth();return io?ro>=1&&ro<=DAYS_IN_MONTH_LEAP_YEAR$1[oo]:ro>=1&&ro<=DAYS_IN_MONTH$1[oo]}set(to,ro,no){return to.setDate(no),to.setHours(0,0,0,0),to}}class DayOfYearParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",90);As(this,"subpriority",1);As(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(to,ro,no){switch(ro){case"D":case"DD":return parseNumericPattern(numericPatterns.dayOfYear,to);case"Do":return no.ordinalNumber(to,{unit:"date"});default:return parseNDigits(ro.length,to)}}validate(to,ro){const no=to.getFullYear();return isLeapYearIndex$2(no)?ro>=1&&ro<=366:ro>=1&&ro<=365}set(to,ro,no){return to.setMonth(0,no),to.setHours(0,0,0,0),to}}function setDay(Yi,eo,to){var uo,fo,ho,mo;const ro=getDefaultOptions$1(),no=(to==null?void 0:to.weekStartsOn)??((fo=(uo=to==null?void 0:to.locale)==null?void 0:uo.options)==null?void 0:fo.weekStartsOn)??ro.weekStartsOn??((mo=(ho=ro.locale)==null?void 0:ho.options)==null?void 0:mo.weekStartsOn)??0,io=toDate$1(Yi),oo=io.getDay(),so=(eo%7+7)%7,lo=7-no,co=eo<0||eo>6?eo-(oo+lo)%7:(so+lo)%7-(oo+lo)%7;return addDays(io,co)}class DayParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",90);As(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(to,ro,no){switch(ro){case"E":case"EE":case"EEE":return no.day(to,{width:"abbreviated",context:"formatting"})||no.day(to,{width:"short",context:"formatting"})||no.day(to,{width:"narrow",context:"formatting"});case"EEEEE":return no.day(to,{width:"narrow",context:"formatting"});case"EEEEEE":return no.day(to,{width:"short",context:"formatting"})||no.day(to,{width:"narrow",context:"formatting"});case"EEEE":default:return no.day(to,{width:"wide",context:"formatting"})||no.day(to,{width:"abbreviated",context:"formatting"})||no.day(to,{width:"short",context:"formatting"})||no.day(to,{width:"narrow",context:"formatting"})}}validate(to,ro){return ro>=0&&ro<=6}set(to,ro,no,io){return to=setDay(to,no,io),to.setHours(0,0,0,0),to}}class LocalDayParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",90);As(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(to,ro,no,io){const oo=ao=>{const so=Math.floor((ao-1)/7)*7;return(ao+io.weekStartsOn+6)%7+so};switch(ro){case"e":case"ee":return mapValue(parseNDigits(ro.length,to),oo);case"eo":return mapValue(no.ordinalNumber(to,{unit:"day"}),oo);case"eee":return no.day(to,{width:"abbreviated",context:"formatting"})||no.day(to,{width:"short",context:"formatting"})||no.day(to,{width:"narrow",context:"formatting"});case"eeeee":return no.day(to,{width:"narrow",context:"formatting"});case"eeeeee":return no.day(to,{width:"short",context:"formatting"})||no.day(to,{width:"narrow",context:"formatting"});case"eeee":default:return no.day(to,{width:"wide",context:"formatting"})||no.day(to,{width:"abbreviated",context:"formatting"})||no.day(to,{width:"short",context:"formatting"})||no.day(to,{width:"narrow",context:"formatting"})}}validate(to,ro){return ro>=0&&ro<=6}set(to,ro,no,io){return to=setDay(to,no,io),to.setHours(0,0,0,0),to}}class StandAloneLocalDayParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",90);As(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(to,ro,no,io){const oo=ao=>{const so=Math.floor((ao-1)/7)*7;return(ao+io.weekStartsOn+6)%7+so};switch(ro){case"c":case"cc":return mapValue(parseNDigits(ro.length,to),oo);case"co":return mapValue(no.ordinalNumber(to,{unit:"day"}),oo);case"ccc":return no.day(to,{width:"abbreviated",context:"standalone"})||no.day(to,{width:"short",context:"standalone"})||no.day(to,{width:"narrow",context:"standalone"});case"ccccc":return no.day(to,{width:"narrow",context:"standalone"});case"cccccc":return no.day(to,{width:"short",context:"standalone"})||no.day(to,{width:"narrow",context:"standalone"});case"cccc":default:return no.day(to,{width:"wide",context:"standalone"})||no.day(to,{width:"abbreviated",context:"standalone"})||no.day(to,{width:"short",context:"standalone"})||no.day(to,{width:"narrow",context:"standalone"})}}validate(to,ro){return ro>=0&&ro<=6}set(to,ro,no,io){return to=setDay(to,no,io),to.setHours(0,0,0,0),to}}function setISODay(Yi,eo){const to=toDate$1(Yi),ro=getISODay(to),no=eo-ro;return addDays(to,no)}class ISODayParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",90);As(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(to,ro,no){const io=oo=>oo===0?7:oo;switch(ro){case"i":case"ii":return parseNDigits(ro.length,to);case"io":return no.ordinalNumber(to,{unit:"day"});case"iii":return mapValue(no.day(to,{width:"abbreviated",context:"formatting"})||no.day(to,{width:"short",context:"formatting"})||no.day(to,{width:"narrow",context:"formatting"}),io);case"iiiii":return mapValue(no.day(to,{width:"narrow",context:"formatting"}),io);case"iiiiii":return mapValue(no.day(to,{width:"short",context:"formatting"})||no.day(to,{width:"narrow",context:"formatting"}),io);case"iiii":default:return mapValue(no.day(to,{width:"wide",context:"formatting"})||no.day(to,{width:"abbreviated",context:"formatting"})||no.day(to,{width:"short",context:"formatting"})||no.day(to,{width:"narrow",context:"formatting"}),io)}}validate(to,ro){return ro>=1&&ro<=7}set(to,ro,no){return to=setISODay(to,no),to.setHours(0,0,0,0),to}}class AMPMParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",80);As(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(to,ro,no){switch(ro){case"a":case"aa":case"aaa":return no.dayPeriod(to,{width:"abbreviated",context:"formatting"})||no.dayPeriod(to,{width:"narrow",context:"formatting"});case"aaaaa":return no.dayPeriod(to,{width:"narrow",context:"formatting"});case"aaaa":default:return no.dayPeriod(to,{width:"wide",context:"formatting"})||no.dayPeriod(to,{width:"abbreviated",context:"formatting"})||no.dayPeriod(to,{width:"narrow",context:"formatting"})}}set(to,ro,no){return to.setHours(dayPeriodEnumToHours(no),0,0,0),to}}class AMPMMidnightParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",80);As(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(to,ro,no){switch(ro){case"b":case"bb":case"bbb":return no.dayPeriod(to,{width:"abbreviated",context:"formatting"})||no.dayPeriod(to,{width:"narrow",context:"formatting"});case"bbbbb":return no.dayPeriod(to,{width:"narrow",context:"formatting"});case"bbbb":default:return no.dayPeriod(to,{width:"wide",context:"formatting"})||no.dayPeriod(to,{width:"abbreviated",context:"formatting"})||no.dayPeriod(to,{width:"narrow",context:"formatting"})}}set(to,ro,no){return to.setHours(dayPeriodEnumToHours(no),0,0,0),to}}class DayPeriodParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",80);As(this,"incompatibleTokens",["a","b","t","T"])}parse(to,ro,no){switch(ro){case"B":case"BB":case"BBB":return no.dayPeriod(to,{width:"abbreviated",context:"formatting"})||no.dayPeriod(to,{width:"narrow",context:"formatting"});case"BBBBB":return no.dayPeriod(to,{width:"narrow",context:"formatting"});case"BBBB":default:return no.dayPeriod(to,{width:"wide",context:"formatting"})||no.dayPeriod(to,{width:"abbreviated",context:"formatting"})||no.dayPeriod(to,{width:"narrow",context:"formatting"})}}set(to,ro,no){return to.setHours(dayPeriodEnumToHours(no),0,0,0),to}}class Hour1to12Parser extends Parser$2{constructor(){super(...arguments);As(this,"priority",70);As(this,"incompatibleTokens",["H","K","k","t","T"])}parse(to,ro,no){switch(ro){case"h":return parseNumericPattern(numericPatterns.hour12h,to);case"ho":return no.ordinalNumber(to,{unit:"hour"});default:return parseNDigits(ro.length,to)}}validate(to,ro){return ro>=1&&ro<=12}set(to,ro,no){const io=to.getHours()>=12;return io&&no<12?to.setHours(no+12,0,0,0):!io&&no===12?to.setHours(0,0,0,0):to.setHours(no,0,0,0),to}}class Hour0to23Parser extends Parser$2{constructor(){super(...arguments);As(this,"priority",70);As(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(to,ro,no){switch(ro){case"H":return parseNumericPattern(numericPatterns.hour23h,to);case"Ho":return no.ordinalNumber(to,{unit:"hour"});default:return parseNDigits(ro.length,to)}}validate(to,ro){return ro>=0&&ro<=23}set(to,ro,no){return to.setHours(no,0,0,0),to}}class Hour0To11Parser extends Parser$2{constructor(){super(...arguments);As(this,"priority",70);As(this,"incompatibleTokens",["h","H","k","t","T"])}parse(to,ro,no){switch(ro){case"K":return parseNumericPattern(numericPatterns.hour11h,to);case"Ko":return no.ordinalNumber(to,{unit:"hour"});default:return parseNDigits(ro.length,to)}}validate(to,ro){return ro>=0&&ro<=11}set(to,ro,no){return to.getHours()>=12&&no<12?to.setHours(no+12,0,0,0):to.setHours(no,0,0,0),to}}class Hour1To24Parser extends Parser$2{constructor(){super(...arguments);As(this,"priority",70);As(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(to,ro,no){switch(ro){case"k":return parseNumericPattern(numericPatterns.hour24h,to);case"ko":return no.ordinalNumber(to,{unit:"hour"});default:return parseNDigits(ro.length,to)}}validate(to,ro){return ro>=1&&ro<=24}set(to,ro,no){const io=no<=24?no%24:no;return to.setHours(io,0,0,0),to}}class MinuteParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",60);As(this,"incompatibleTokens",["t","T"])}parse(to,ro,no){switch(ro){case"m":return parseNumericPattern(numericPatterns.minute,to);case"mo":return no.ordinalNumber(to,{unit:"minute"});default:return parseNDigits(ro.length,to)}}validate(to,ro){return ro>=0&&ro<=59}set(to,ro,no){return to.setMinutes(no,0,0),to}}class SecondParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",50);As(this,"incompatibleTokens",["t","T"])}parse(to,ro,no){switch(ro){case"s":return parseNumericPattern(numericPatterns.second,to);case"so":return no.ordinalNumber(to,{unit:"second"});default:return parseNDigits(ro.length,to)}}validate(to,ro){return ro>=0&&ro<=59}set(to,ro,no){return to.setSeconds(no,0),to}}class FractionOfSecondParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",30);As(this,"incompatibleTokens",["t","T"])}parse(to,ro){const no=io=>Math.trunc(io*Math.pow(10,-ro.length+3));return mapValue(parseNDigits(ro.length,to),no)}set(to,ro,no){return to.setMilliseconds(no),to}}class ISOTimezoneWithZParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",10);As(this,"incompatibleTokens",["t","T","x"])}parse(to,ro){switch(ro){case"X":return parseTimezonePattern(timezonePatterns.basicOptionalMinutes,to);case"XX":return parseTimezonePattern(timezonePatterns.basic,to);case"XXXX":return parseTimezonePattern(timezonePatterns.basicOptionalSeconds,to);case"XXXXX":return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds,to);case"XXX":default:return parseTimezonePattern(timezonePatterns.extended,to)}}set(to,ro,no){return ro.timestampIsSet?to:constructFrom(to,to.getTime()-getTimezoneOffsetInMilliseconds$1(to)-no)}}class ISOTimezoneParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",10);As(this,"incompatibleTokens",["t","T","X"])}parse(to,ro){switch(ro){case"x":return parseTimezonePattern(timezonePatterns.basicOptionalMinutes,to);case"xx":return parseTimezonePattern(timezonePatterns.basic,to);case"xxxx":return parseTimezonePattern(timezonePatterns.basicOptionalSeconds,to);case"xxxxx":return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds,to);case"xxx":default:return parseTimezonePattern(timezonePatterns.extended,to)}}set(to,ro,no){return ro.timestampIsSet?to:constructFrom(to,to.getTime()-getTimezoneOffsetInMilliseconds$1(to)-no)}}class TimestampSecondsParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",40);As(this,"incompatibleTokens","*")}parse(to){return parseAnyDigitsSigned(to)}set(to,ro,no){return[constructFrom(to,no*1e3),{timestampIsSet:!0}]}}class TimestampMillisecondsParser extends Parser$2{constructor(){super(...arguments);As(this,"priority",20);As(this,"incompatibleTokens","*")}parse(to){return parseAnyDigitsSigned(to)}set(to,ro,no){return[constructFrom(to,no),{timestampIsSet:!0}]}}const parsers={G:new EraParser,y:new YearParser,Y:new LocalWeekYearParser,R:new ISOWeekYearParser,u:new ExtendedYearParser,Q:new QuarterParser,q:new StandAloneQuarterParser,M:new MonthParser,L:new StandAloneMonthParser,w:new LocalWeekParser,I:new ISOWeekParser,d:new DateParser,D:new DayOfYearParser,E:new DayParser,e:new LocalDayParser,c:new StandAloneLocalDayParser,i:new ISODayParser,a:new AMPMParser,b:new AMPMMidnightParser,B:new DayPeriodParser,h:new Hour1to12Parser,H:new Hour0to23Parser,K:new Hour0To11Parser,k:new Hour1To24Parser,m:new MinuteParser,s:new SecondParser,S:new FractionOfSecondParser,X:new ISOTimezoneWithZParser,x:new ISOTimezoneParser,t:new TimestampSecondsParser,T:new TimestampMillisecondsParser},formattingTokensRegExp=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,longFormattingTokensRegExp=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,escapedStringRegExp=/^'([^]*?)'?$/,doubleQuoteRegExp=/''/g,notWhitespaceRegExp=/\S/,unescapedLatinCharacterRegExp=/[a-zA-Z]/;function parse$2(Yi,eo,to,ro){var vo,Co,bo,wo;const no=getDefaultOptions(),io=no.locale??enUS,oo=no.firstWeekContainsDate??((Co=(vo=no.locale)==null?void 0:vo.options)==null?void 0:Co.firstWeekContainsDate)??1,ao=no.weekStartsOn??((wo=(bo=no.locale)==null?void 0:bo.options)==null?void 0:wo.weekStartsOn)??0;if(eo==="")return Yi===""?toDate$1(to):constructFrom(to,NaN);const so={firstWeekContainsDate:oo,weekStartsOn:ao,locale:io},lo=[new DateToSystemTimezoneSetter],co=eo.match(longFormattingTokensRegExp).map(yo=>{const Eo=yo[0];if(Eo in longFormatters){const xo=longFormatters[Eo];return xo(yo,io.formatLong)}return yo}).join("").match(formattingTokensRegExp),uo=[];for(let yo of co){isProtectedWeekYearToken(yo)&&warnOrThrowProtectedError(yo,eo,Yi),isProtectedDayOfYearToken(yo)&&warnOrThrowProtectedError(yo,eo,Yi);const Eo=yo[0],xo=parsers[Eo];if(xo){const{incompatibleTokens:So}=xo;if(Array.isArray(So)){const Ro=uo.find(Po=>So.includes(Po.token)||Po.token===Eo);if(Ro)throw new RangeError(`The format string mustn't contain \`${Ro.fullToken}\` and \`${yo}\` at the same time`)}else if(xo.incompatibleTokens==="*"&&uo.length>0)throw new RangeError(`The format string mustn't contain \`${yo}\` and any other token at the same time`);uo.push({token:Eo,fullToken:yo});const To=xo.run(Yi,yo,io.match,so);if(!To)return constructFrom(to,NaN);lo.push(To.setter),Yi=To.rest}else{if(Eo.match(unescapedLatinCharacterRegExp))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Eo+"`");if(yo==="''"?yo="'":Eo==="'"&&(yo=cleanEscapedString(yo)),Yi.indexOf(yo)===0)Yi=Yi.slice(yo.length);else return constructFrom(to,NaN)}}if(Yi.length>0&&notWhitespaceRegExp.test(Yi))return constructFrom(to,NaN);const fo=lo.map(yo=>yo.priority).sort((yo,Eo)=>Eo-yo).filter((yo,Eo,xo)=>xo.indexOf(yo)===Eo).map(yo=>lo.filter(Eo=>Eo.priority===yo).sort((Eo,xo)=>xo.subPriority-Eo.subPriority)).map(yo=>yo[0]);let ho=toDate$1(to);if(isNaN(ho.getTime()))return constructFrom(to,NaN);const mo={};for(const yo of fo){if(!yo.validate(ho,so))return constructFrom(to,NaN);const Eo=yo.set(ho,mo,so);Array.isArray(Eo)?(ho=Eo[0],Object.assign(mo,Eo[1])):ho=Eo}return constructFrom(to,ho)}function cleanEscapedString(Yi){return Yi.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp,"'")}function subDays(Yi,eo){return addDays(Yi,-eo)}function parseISO(Yi,eo){const ro=splitDateString$1(Yi);let no;if(ro.date){const so=parseYear$2(ro.date,2);no=parseDate$1(so.restDateString,so.year)}if(!no||isNaN(no.getTime()))return new Date(NaN);const io=no.getTime();let oo=0,ao;if(ro.time&&(oo=parseTime$1(ro.time),isNaN(oo)))return new Date(NaN);if(ro.timezone){if(ao=parseTimezone(ro.timezone),isNaN(ao))return new Date(NaN)}else{const so=new Date(io+oo),lo=new Date(0);return lo.setFullYear(so.getUTCFullYear(),so.getUTCMonth(),so.getUTCDate()),lo.setHours(so.getUTCHours(),so.getUTCMinutes(),so.getUTCSeconds(),so.getUTCMilliseconds()),lo}return new Date(io+oo+ao)}const patterns$2={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},dateRegex=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,timeRegex=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,timezoneRegex=/^([+-])(\d{2})(?::?(\d{2}))?$/;function splitDateString$1(Yi){const eo={},to=Yi.split(patterns$2.dateTimeDelimiter);let ro;if(to.length>2)return eo;if(/:/.test(to[0])?ro=to[0]:(eo.date=to[0],ro=to[1],patterns$2.timeZoneDelimiter.test(eo.date)&&(eo.date=Yi.split(patterns$2.timeZoneDelimiter)[0],ro=Yi.substr(eo.date.length,Yi.length))),ro){const no=patterns$2.timezone.exec(ro);no?(eo.time=ro.replace(no[1],""),eo.timezone=no[1]):eo.time=ro}return eo}function parseYear$2(Yi,eo){const to=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+eo)+"})|(\\d{2}|[+-]\\d{"+(2+eo)+"})$)"),ro=Yi.match(to);if(!ro)return{year:NaN,restDateString:""};const no=ro[1]?parseInt(ro[1]):null,io=ro[2]?parseInt(ro[2]):null;return{year:io===null?no:io*100,restDateString:Yi.slice((ro[1]||ro[2]).length)}}function parseDate$1(Yi,eo){if(eo===null)return new Date(NaN);const to=Yi.match(dateRegex);if(!to)return new Date(NaN);const ro=!!to[4],no=parseDateUnit(to[1]),io=parseDateUnit(to[2])-1,oo=parseDateUnit(to[3]),ao=parseDateUnit(to[4]),so=parseDateUnit(to[5])-1;if(ro)return validateWeekDate$1(eo,ao,so)?dayOfISOWeekYear$1(eo,ao,so):new Date(NaN);{const lo=new Date(0);return!validateDate$1(eo,io,oo)||!validateDayOfYearDate$1(eo,no)?new Date(NaN):(lo.setUTCFullYear(eo,io,Math.max(no,oo)),lo)}}function parseDateUnit(Yi){return Yi?parseInt(Yi):1}function parseTime$1(Yi){const eo=Yi.match(timeRegex);if(!eo)return NaN;const to=parseTimeUnit(eo[1]),ro=parseTimeUnit(eo[2]),no=parseTimeUnit(eo[3]);return validateTime$1(to,ro,no)?to*millisecondsInHour+ro*millisecondsInMinute+no*1e3:NaN}function parseTimeUnit(Yi){return Yi&&parseFloat(Yi.replace(",","."))||0}
vendor: 5,684 bytes, line 335
335function parseTimezone(Yi){if(Yi==="Z")return 0;const eo=Yi.match(timezoneRegex);if(!eo)return 0;const to=eo[1]==="+"?-1:1,ro=parseInt(eo[2]),no=eo[3]&&parseInt(eo[3])||0;return validateTimezone$1(ro,no)?to*(ro*millisecondsInHour+no*millisecondsInMinute):NaN}function dayOfISOWeekYear$1(Yi,eo,to){const ro=new Date(0);ro.setUTCFullYear(Yi,0,4);const no=ro.getUTCDay()||7,io=(eo-1)*7+to+1-no;return ro.setUTCDate(ro.getUTCDate()+io),ro}const daysInMonths=[31,null,31,30,31,30,31,31,30,31,30,31];function isLeapYearIndex$1(Yi){return Yi%400===0||Yi%4===0&&Yi%100!==0}function validateDate$1(Yi,eo,to){return eo>=0&&eo<=11&&to>=1&&to<=(daysInMonths[eo]||(isLeapYearIndex$1(Yi)?29:28))}function validateDayOfYearDate$1(Yi,eo){return eo>=1&&eo<=(isLeapYearIndex$1(Yi)?366:365)}function validateWeekDate$1(Yi,eo,to){return eo>=1&&eo<=53&&to>=0&&to<=6}function validateTime$1(Yi,eo,to){return Yi===24?eo===0&&to===0:to>=0&&to<60&&eo>=0&&eo<60&&Yi>=0&&Yi<25}function validateTimezone$1(Yi,eo){return eo>=0&&eo<=59}const formatDistanceLocale$1={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},formatDistance$1=(Yi,eo,to)=>{let ro;const no=formatDistanceLocale$1[Yi];return typeof no=="string"?ro=no:eo===1?ro=no.one:ro=no.other.replace("{{count}}",eo.toString()),to!=null&&to.addSuffix?to.comparison&&to.comparison>0?"en "+ro:"hace "+ro:ro},dateFormats$1={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},timeFormats$1={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},dateTimeFormats$1={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},formatLong$1={date:buildFormatLongFn({formats:dateFormats$1,defaultWidth:"full"}),time:buildFormatLongFn({formats:timeFormats$1,defaultWidth:"full"}),dateTime:buildFormatLongFn({formats:dateTimeFormats$1,defaultWidth:"full"})},formatRelativeLocale$1={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},formatRelativeLocalePlural={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},formatRelative$1=(Yi,eo,to,ro)=>eo.getHours()!==1?formatRelativeLocalePlural[Yi]:formatRelativeLocale$1[Yi],eraValues$1={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},quarterValues$1={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},monthValues$1={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},dayValues$1={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},dayPeriodValues$1={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},formattingDayPeriodValues$1={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},ordinalNumber$1=(Yi,eo)=>Number(Yi)+"º",localize$1={ordinalNumber:ordinalNumber$1,era:buildLocalizeFn({values:eraValues$1,defaultWidth:"wide"}),quarter:buildLocalizeFn({values:quarterValues$1,defaultWidth:"wide",argumentCallback:Yi=>Number(Yi)-1}),month:buildLocalizeFn({values:monthValues$1,defaultWidth:"wide"}),day:buildLocalizeFn({values:dayValues$1,defaultWidth:"wide"}),dayPeriod:buildLocalizeFn({values:dayPeriodValues$1,defaultWidth:"wide",formattingValues:formattingDayPeriodValues$1,defaultFormattingWidth:"wide"})},matchOrdinalNumberPattern$1=/^(\d+)(º)?/i,parseOrdinalNumberPattern$1=/\d+/i,matchEraPatterns$1={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|de
335spu[eé]s de cristo|era com[uú]n)/i},parseEraPatterns$1={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},matchQuarterPatterns$1={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},parseQuarterPatterns$1={any:[/1/i,/2/i,/3/i,/4/i]},matchMonthPatterns$1={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},parseMonthPatterns$1={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},matchDayPatterns$1={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},parseDayPatterns$1={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},matchDayPeriodPatterns$1={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},parseDayPeriodPatterns$1={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},match$1={ordinalNumber:buildMatchPatternFn({matchPattern:matchOrdinalNumberPattern$1,parsePattern:parseOrdinalNumberPattern$1,valueCallback:function(Yi){return parseInt(Yi,10)}}),era:buildMatchFn({matchPatterns:matchEraPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseEraPatterns$1,defaultParseWidth:"any"}),quarter:buildMatchFn({matchPatterns:matchQuarterPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseQuarterPatterns$1,defaultParseWidth:"any",valueCallback:Yi=>Yi+1}),month:buildMatchFn({matchPatterns:matchMonthPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseMonthPatterns$1,defaultParseWidth:"any"}),day:buildMatchFn({matchPatterns:matchDayPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseDayPatterns$1,defaultParseWidth:"any"}),dayPeriod:buildMatchFn({matchPatterns:matchDayPeriodPatterns$1,defaultMatchWidth:"any",parsePatterns:parseDayPeriodPatterns$1,defaultParseWidth:"any"})},es$1={code:"es",formatDistance:formatDistance$1,formatLong:formatLong$1,formatRelative:formatRelative$1,localize:localize$1,match:match$1,options:{weekStartsOn:1,firstWeekContainsDate:1}},formatDistanceLocale={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"aproximadamente 1 hora",other:"aproximadamente {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"aproximadamente 1 semana",other:"aproximadamente {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"aproximadamente 1 mês",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"aproximadamente 1 ano",other:"aproximadamente {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},formatDistance=(Yi,eo,to)=>{let ro;const no=formatDistanceLocale[Yi];return typeof no=="string"?ro=no:eo===1?ro=no.one:ro=no.other.replace("{{count}}",String(eo)),to!=null&&to.addSuffix?to.comparison&&to.comparison>0?"daqui a "+ro:"há "+ro:ro},dateFormats={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},timeFormats={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},dateTimeFormats={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},formatLong={date:buildFormatLongFn({formats:dateFormats,defaultWidth:"full"}),time:buildFormatLongFn({formats:timeFormats,defaultWidth:"full"}),dateTime:buildFormatLongFn({formats:dateTimeFormats,defaultWidth:"full"})},formatRelativeLocale={lastWeek:Yi=>{const eo=Yi.getDay();return"'"+(eo===0||eo===6?"último":"última")+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},formatRelative=(Yi,eo,to,ro)=>{const no=formatRelativeLocale[Yi];return typeof no=="function"?no(eo):no},eraValues={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},quarterValues={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},monthValues={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","març
335o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},dayValues={narrow:["d","s","t","q","q","s","s"],short:["dom","seg","ter","qua","qui","sex","sáb"],abbreviated:["dom","seg","ter","qua","qui","sex","sáb"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},dayPeriodValues={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"}},formattingDayPeriodValues={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"}},ordinalNumber=(Yi,eo)=>Number(Yi)+"º",localize={ordinalNumber,era:buildLocalizeFn({values:eraValues,defaultWidth:"wide"}),quarter:buildLocalizeFn({values:quarterValues,defaultWidth:"wide",argumentCallback:Yi=>Yi-1}),month:buildLocalizeFn({values:monthValues,defaultWidth:"wide"}),day:buildLocalizeFn({values:dayValues,defaultWidth:"wide"}),dayPeriod:buildLocalizeFn({values:dayPeriodValues,defaultWidth:"wide",formattingValues:formattingDayPeriodValues,defaultFormattingWidth:"wide"})},matchOrdinalNumberPattern=/^(\d+)(º|ª)?/i,parseOrdinalNumberPattern=/\d+/i,matchEraPatterns={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era comum|depois de cristo|era comum)/i},parseEraPatterns={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},matchQuarterPatterns={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},parseQuarterPatterns={any:[/1/i,/2/i,/3/i,/4/i]},matchMonthPatterns={narrow:/^[jfmasond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},parseMonthPatterns={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ab/i,/^mai/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},matchDayPatterns={narrow:/^[dstq]/i,short:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,wide:/^(domingo|segunda-?\s?feira|terça-?\s?feira|quarta-?\s?feira|quinta-?\s?feira|sexta-?\s?feira|s[áa]bado)/i},parseDayPatterns={narrow:[/^d/i,/^s/i,/^t/i,/^q/i,/^q/i,/^s/i,/^s/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[áa]/i]},matchDayPeriodPatterns={narrow:/^(a|p|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i,any:/^([ap]\.?\s?m\.?|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i},parseDayPeriodPatterns={any:{am:/^a/i,pm:/^p/i,midnight:/^meia/i,noon:/^meio/i,morning:/manh[ãa]/i,afternoon:/tarde/i,evening:/noite/i,night:/madrugada/i}},match={ordinalNumber:buildMatchPatternFn({matchPattern:matchOrdinalNumberPattern,parsePattern:parseOrdinalNumberPattern,valueCallback:Yi=>parseInt(Yi,10)}),era:buildMatchFn({matchPatterns:matchEraPatterns,defaultMatchWidth:"wide",parsePatterns:parseEraPatterns,defaultParseWidth:"any"}),quarter:buildMatchFn({matchPatterns:matchQuarterPatterns,defaultMatchWidth:"wide",parsePatterns:parseQuarterPatterns,defaultParseWidth:"any",valueCallback:Yi=>Yi+1}),month:buildMatchFn({matchPatterns:matchMonthPatterns,defaultMatchWidth:"wide",parsePatterns:parseMonthPatterns,defaultParseWidth:"any"}),day:buildMatchFn({matchPatterns:matchDayPatterns,defaultMatchWidth:"wide",parsePatterns:parseDayPatterns,defaultParseWidth:"any"}),dayPeriod:buildMatchFn({matchPatterns:matchDayPeriodPatterns,defaultMatchWidth:"any",parsePatterns:parseDayPeriodPatterns,defaultParseWidth:"any"})},pt$1={code:"pt",formatDistance,formatLong,formatRelative,localize,match,options:{weekStartsOn:1,firstWeekContainsDate:4}};function tzTokenizeDate(Yi,eo){const to=getDateTimeFormat(eo);return"formatToParts"in to?partsOffset(to,Yi):hackyOffset(to,Yi)}const typeToPos={year:0,month:1,day:2,hour:3,minute:4,second:5};function partsOffset(Yi,eo){try{const to=Yi.formatToParts(eo),ro=[];for(let no=0;no<to.length;no++){const io=typeToPos[to[no].type];io!==void 0&&(ro[io]=parseInt(to[no].value,10))}return ro}catch(to){if(to instanceof RangeError)return[NaN];throw to}}function hackyOffset(Yi,eo){const to=Yi.format(eo),ro=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(to);return[parseInt(ro[3],10),parseInt(ro[1],10),parseInt(ro[2],10),parseInt(ro[4],10),parseInt(ro[5],10),parseInt(ro[6],10)]}const dtfCache={};function getDateTimeFormat(Yi){if(!dtfCache[Yi]){const eo=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/Ne
335w_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),to=eo==="06/25/2014, 00:00:00"||eo==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";dtfCache[Yi]=to?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:Yi,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:Yi,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return dtfCache[Yi]}function newDateUTC(Yi,eo,to,ro,no,io,oo){const ao=new Date(0);return ao.setUTCFullYear(Yi,eo,to),ao.setUTCHours(ro,no,io,oo),ao}const MILLISECONDS_IN_HOUR$1=36e5,MILLISECONDS_IN_MINUTE$1=6e4,patterns$1={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function tzParseTimezone(Yi,eo,to){if(!Yi)return 0;let ro=patterns$1.timezoneZ.exec(Yi);if(ro)return 0;let no,io;if(ro=patterns$1.timezoneHH.exec(Yi),ro)return no=parseInt(ro[1],10),validateTimezone(no)?-(no*MILLISECONDS_IN_HOUR$1):NaN;if(ro=patterns$1.timezoneHHMM.exec(Yi),ro){no=parseInt(ro[2],10);const oo=parseInt(ro[3],10);return validateTimezone(no,oo)?(io=Math.abs(no)*MILLISECONDS_IN_HOUR$1+oo*MILLISECONDS_IN_MINUTE$1,ro[1]==="+"?-io:io):NaN}if(isValidTimezoneIANAString(Yi)){eo=new Date(eo||Date.now());const oo=toUtcDate(eo),ao=calcOffset(oo,Yi);return-fixOffset(eo,ao,Yi)}return NaN}function toUtcDate(Yi){return newDateUTC(Yi.getFullYear(),Yi.getMonth(),Yi.getDate(),Yi.getHours(),Yi.getMinutes(),Yi.getSeconds(),Yi.getMilliseconds())}function calcOffset(Yi,eo){const to=tzTokenizeDate(Yi,eo),ro=newDateUTC(to[0],to[1]-1,to[2],to[3]%24,to[4],to[5],0).getTime();let no=Yi.getTime();const io=no%1e3;return no-=io>=0?io:1e3+io,ro-no}function fixOffset(Yi,eo,to){let no=Yi.getTime()-eo;const io=calcOffset(new Date(no),to);if(eo===io)return eo;no-=io-eo;const oo=calcOffset(new Date(no),to);return io===oo?io:Math.max(io,oo)}function validateTimezone(Yi,eo){return-23<=Yi&&Yi<=23&&(eo==null||0<=eo&&eo<=59)}const validIANATimezoneCache={};function isValidTimezoneIANAString(Yi){if(validIANATimezoneCache[Yi])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:Yi}),validIANATimezoneCache[Yi]=!0,!0}catch{return!1}}function getTimezoneOffsetInMilliseconds(Yi){const eo=new Date(Date.UTC(Yi.getFullYear(),Yi.getMonth(),Yi.getDate(),Yi.getHours(),Yi.getMinutes(),Yi.getSeconds(),Yi.getMilliseconds()));return eo.setUTCFullYear(Yi.getFullYear()),+Yi-+eo}const tzPattern=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,MILLISECONDS_IN_HOUR=36e5,MILLISECONDS_IN_MINUTE=6e4,DEFAULT_ADDITIONAL_DIGITS=2,patterns={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:tzPattern};function toDate(Yi,eo={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(Yi===null)return new Date(NaN);const to=eo.additionalDigits==null?DEFAULT_ADDITIONAL_DIGITS:Number(eo.additionalDigits);if(to!==2&&to!==1&&to!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(Yi instanceof Date||typeof Yi=="object"&&Object.prototype.toString.call(Yi)==="[object Date]")return new Date(Yi.getTime());if(typeof Yi=="number"||Object.prototype.toString.call(Yi)==="[object Number]")return new Date(Yi);if(Object.prototype.toString.call(Yi)!=="[object String]")return new Date(NaN);const ro=splitDateString(Yi),{year:no,restDateString:io}=parseYear$1(ro.date,to),oo=parseDate(io,no);if(oo===null||isNaN(oo.getTime()))return new Date(NaN);if(oo){const ao=oo.getTime();let so=0,lo;if(ro.time&&(so=parseTime(ro.time),so===null||isNaN(so)))return new Date(NaN);if(ro.timeZone||eo.timeZone){if(lo=tzParseTimezone(ro.timeZone||eo.timeZone,new Date(ao+so)),isNaN(lo))return new Date(NaN)}else lo=getTimezoneOffsetInMilliseconds(new Date(ao+so)),lo=getTimezoneOffsetInMilliseconds(new Date(ao+so+lo));return new Date(ao+so+lo)}else return new Date(NaN)}function splitDateString(Yi){const eo={};let to=patterns.dateTimePattern.exec(Yi),ro;if(to?(eo.date=to[1],ro=to[3]):(to=patterns.datePattern.exec(Yi),to?(eo.date=to[1],ro=to[2]):(eo.date=null,ro=Yi)),ro){const no=patterns.timeZone.exec(ro);no?(eo.time=ro.replace(no[1],""),eo.timeZone=no[1].trim()):eo.time=ro}return eo}function parseYear$1(Yi,eo){if(Yi){const to=patterns.YYY[eo],ro=patterns.YYYYY[eo];let no=patterns.YYYY.exec(Yi)||ro.exec(Yi);if(no){const io=no[1];return{year:parseInt(io,10),restDateString:Yi.slice(io.length)}}if(no=patterns.YY.exec(Yi)||to.exec(Yi),no){const io=no[1];return{year:parseInt(io,10)*100,restDateString:Yi.slice(io.length)}}}return{year:null}}function parseDate(Yi,eo){if(eo===null)return null;let to,ro,no;if(!Yi||!Yi.length)return to=new Date(0),to.setUTCFullYear(eo),to;let io=patterns.MM.exec(Yi);if(io)return to=new Date(0),ro=parseInt(io[1],10)-1,validateDate(eo,ro)?(to.setUTCFullYear(eo,ro),to):new Date(NaN);if(io=patterns.DDD.exec(Yi),io){to=new Date(0);const oo=parseInt(io[1],10);return validateDayOfYearDate(eo,oo)?(to.setUTCFullYear(eo,0,oo),to):new Date(NaN)}if(io=patterns.MMDD.exec(Yi),io){to=new Date(0),ro=parseInt(io[1],10)-1;const oo=parseInt(io[2],10);return validateDate(eo,ro,oo)?(to.setUTCFullYear(eo,ro,oo),to):new Date(NaN)}if(io=patterns.Www.exec(Yi),io)return no=parseInt(io[1],10)-1,validateWeekDate(no)?dayOfISOWeekYear(eo,no):new Date(NaN);if(io=patterns.WwwD.exec(Yi),io){no=parseInt(io[1],10)-1;const oo=parseInt(io[2],10)-1;return validateWeekDate(no,oo)?dayOfISOWeekYear(eo,no,oo):new Date(NaN)}return null}function parseTime(Yi){let eo,to,ro=patterns.HH.exec(Yi);if(ro)return eo=parseFloat(ro[1].replace(",",".")),validateTime(eo)?eo%24*MILLISECONDS_IN_HOUR:NaN;if(ro=patterns.HHMM.exec(Yi),ro)return eo=parseInt(ro[1],10),to=parseFloat(ro[2].replace(",",".")),validateTime(eo,to)?eo%24*MILLISECONDS_IN_HOUR+to*MILLISECONDS_IN_MINUTE:NaN;if(ro=patterns.HHMMSS.exec(Yi),ro){eo=parseInt(ro[1],10),to=parseInt(ro[2],10);const no=parseFloat(ro[3].replace(",","."));return validateTime(eo,to,no)?eo%24*MILLISECONDS_IN_HOUR+to*MILLISECONDS_IN_MINUTE+no*1e3:NaN}return null}function dayOfISOWeekYear(Yi,eo,to){eo=eo||0,to=to||0;const ro=new Date(0);ro.setUTCFullYear(Yi,0,4);const no=ro.getUTCDay()||7,io=eo*7+to+1-no;return ro.setUTCDate(ro.getUTCDate()+io),ro}const DAYS_IN_MONTH=[31,28,31,30,31,30,31,31,30,31,30,31],DAYS_IN_MONTH_LEAP_YEAR=[31,29,31,30,31,30,31,31,30,31,30,31];
vendor: 14,068 bytes, lines 335-353
335function isLeapYearIndex(Yi){return Yi%400===0||Yi%4===0&&Yi%100!==0}function validateDate(Yi,eo,to){if(eo<0||eo>11)return!1;if(to!=null){if(to<1)return!1;const ro=isLeapYearIndex(Yi);if(ro&&to>DAYS_IN_MONTH_LEAP_YEAR[eo]||!ro&&to>DAYS_IN_MONTH[eo])return!1}return!0}function validateDayOfYearDate(Yi,eo){if(eo<1)return!1;const to=isLeapYearIndex(Yi);return!(to&&eo>366||!to&&eo>365)}function validateWeekDate(Yi,eo){return!(Yi<0||Yi>52||eo!=null&&(eo<0||eo>6))}function validateTime(Yi,eo,to){return!(Yi<0||Yi>=25||eo!=null&&(eo<0||eo>=60)||to!=null&&(to<0||to>=60))}function fromZonedTime(Yi,eo,to){if(typeof Yi=="string"&&!Yi.match(tzPattern))return toDate(Yi,{...to,timeZone:eo});Yi=toDate(Yi,to);const ro=newDateUTC(Yi.getFullYear(),Yi.getMonth(),Yi.getDate(),Yi.getHours(),Yi.getMinutes(),Yi.getSeconds(),Yi.getMilliseconds()).getTime(),no=tzParseTimezone(eo,new Date(ro));return new Date(ro+no)}/**
336 * @remix-run/router v1.23.3
337 *
338 * Copyright (c) Remix Software Inc.
339 *
340 * This source code is licensed under the MIT license found in the
341 * LICENSE.md file in the root directory of this source tree.
342 *
343 * @license MIT
344 */function _extends$2b(){return _extends$2b=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)({}).hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$2b.apply(null,arguments)}var Action;(function(Yi){Yi.Pop="POP",Yi.Push="PUSH",Yi.Replace="REPLACE"})(Action||(Action={}));const PopStateEventType="popstate";function createBrowserHistory(Yi){Yi===void 0&&(Yi={});function eo(ro,no){let{pathname:io,search:oo,hash:ao}=ro.location;return createLocation("",{pathname:io,search:oo,hash:ao},no.state&&no.state.usr||null,no.state&&no.state.key||"default")}function to(ro,no){return typeof no=="string"?no:createPath(no)}return getUrlBasedHistory(eo,to,null,Yi)}function invariant$1(Yi,eo){if(Yi===!1||Yi===null||typeof Yi>"u")throw new Error(eo)}function warning$1(Yi,eo){if(!Yi){typeof console<"u"&&console.warn(eo);try{throw new Error(eo)}catch{}}}function createKey(){return Math.random().toString(36).substr(2,8)}function getHistoryState(Yi,eo){return{usr:Yi.state,key:Yi.key,idx:eo}}function createLocation(Yi,eo,to,ro){return to===void 0&&(to=null),_extends$2b({pathname:typeof Yi=="string"?Yi:Yi.pathname,search:"",hash:""},typeof eo=="string"?parsePath(eo):eo,{state:to,key:eo&&eo.key||ro||createKey()})}function createPath(Yi){let{pathname:eo="/",search:to="",hash:ro=""}=Yi;return to&&to!=="?"&&(eo+=to.charAt(0)==="?"?to:"?"+to),ro&&ro!=="#"&&(eo+=ro.charAt(0)==="#"?ro:"#"+ro),eo}function parsePath(Yi){let eo={};if(Yi){let to=Yi.indexOf("#");to>=0&&(eo.hash=Yi.substr(to),Yi=Yi.substr(0,to));let ro=Yi.indexOf("?");ro>=0&&(eo.search=Yi.substr(ro),Yi=Yi.substr(0,ro)),Yi&&(eo.pathname=Yi)}return eo}function getUrlBasedHistory(Yi,eo,to,ro){ro===void 0&&(ro={});let{window:no=document.defaultView,v5Compat:io=!1}=ro,oo=no.history,ao=Action.Pop,so=null,lo=co();lo==null&&(lo=0,oo.replaceState(_extends$2b({},oo.state,{idx:lo}),""));function co(){return(oo.state||{idx:null}).idx}function uo(){ao=Action.Pop;let Co=co(),bo=Co==null?null:Co-lo;lo=Co,so&&so({action:ao,location:vo.location,delta:bo})}function fo(Co,bo){ao=Action.Push;let wo=createLocation(vo.location,Co,bo);lo=co()+1;let yo=getHistoryState(wo,lo),Eo=vo.createHref(wo);try{oo.pushState(yo,"",Eo)}catch(xo){if(xo instanceof DOMException&&xo.name==="DataCloneError")throw xo;no.location.assign(Eo)}io&&so&&so({action:ao,location:vo.location,delta:1})}function ho(Co,bo){ao=Action.Replace;let wo=createLocation(vo.location,Co,bo);lo=co();let yo=getHistoryState(wo,lo),Eo=vo.createHref(wo);oo.replaceState(yo,"",Eo),io&&so&&so({action:ao,location:vo.location,delta:0})}function mo(Co){let bo=no.location.origin!=="null"?no.location.origin:no.location.href,wo=typeof Co=="string"?Co:createPath(Co);return wo=wo.replace(/ $/,"%20"),invariant$1(bo,"No window.location.(origin|href) available to create URL for href: "+wo),new URL(wo,bo)}let vo={get action(){return ao},get location(){return Yi(no,oo)},listen(Co){if(so)throw new Error("A history only accepts one active listener");return no.addEventListener(PopStateEventType,uo),so=Co,()=>{no.removeEventListener(PopStateEventType,uo),so=null}},createHref(Co){return eo(no,Co)},createURL:mo,encodeLocation(Co){let bo=mo(Co);return{pathname:bo.pathname,search:bo.search,hash:bo.hash}},push:fo,replace:ho,go(Co){return oo.go(Co)}};return vo}var ResultType;(function(Yi){Yi.data="data",Yi.deferred="deferred",Yi.redirect="redirect",Yi.error="error"})(ResultType||(ResultType={}));function matchRoutes(Yi,eo,to){return to===void 0&&(to="/"),matchRoutesImpl(Yi,eo,to)}function matchRoutesImpl(Yi,eo,to,ro){let no=typeof eo=="string"?parsePath(eo):eo,io=stripBasename(no.pathname||"/",to);if(io==null)return null;let oo=flattenRoutes(Yi);rankRouteBranches(oo);let ao=null,so=decodePath(io);for(let lo=0;ao==null&&lo<oo.length;++lo)ao=matchRouteBranch(oo[lo],so);return ao}function flattenRoutes(Yi,eo,to,ro){eo===void 0&&(eo=[]),to===void 0&&(to=[]),ro===void 0&&(ro="");let no=(io,oo,ao)=>{let so={relativePath:ao===void 0?io.path||"":ao,caseSensitive:io.caseSensitive===!0,childrenIndex:oo,route:io};so.relativePath.startsWith("/")&&(invariant$1(so.relativePath.startsWith(ro),'Absolute route path "'+so.relativePath+'" nested under path '+('"'+ro+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),so.relativePath=so.relativePath.slice(ro.length));let lo=joinPaths([ro,so.relativePath]),co=to.concat(so);io.children&&io.children.length>0&&(invariant$1(io.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+lo+'".')),flattenRoutes(io.children,eo,co,lo)),!(io.path==null&&!io.index)&&eo.push({path:lo,score:computeScore(lo,io.index),routesMeta:co})};return Yi.forEach((io,oo)=>{var ao;if(io.path===""||!((ao=io.path)!=null&&ao.includes("?")))no(io,oo);else for(let so of explodeOptionalSegments(io.path))no(io,oo,so)}),eo}function explodeOptionalSegments(Yi){let eo=Yi.split("/");if(eo.length===0)return[];let[to,...ro]=eo,no=to.endsWith("?"),io=to.replace(/\?$/,"");if(ro.length===0)return no?[io,""]:[io];let oo=explodeOptionalSegments(ro.join("/")),ao=[];return ao.push(...oo.map(so=>so===""?io:[io,so].join("/"))),no&&ao.push(...oo),ao.map(so=>Yi.startsWith("/")&&so===""?"/":so)}function rankRouteBranches(Yi){Yi.sort((eo,to)=>eo.score!==to.score?to.score-eo.score:compareIndexes(eo.routesMeta.map(ro=>ro.childrenIndex),to.routesMeta.map(ro=>ro.childrenIndex)))}const paramRe=/^:[\w-]+$/,dynamicSegmentValue=3,indexRouteValue=2,emptySegmentValue=1,staticSegmentValue=10,splatPenalty=-2,isSplat=Yi=>Yi==="*";function computeScore(Yi,eo){let to=Yi.split("/"),ro=to.length;return to.some(isSplat)&&(ro+=splatPenalty),eo&&(ro+=indexRouteValue),to.filter(no=>!isSplat(no)).reduce((no,io)=>no+(paramRe.test(io)?dynamicSegmentValue:io===""?emptySegmentValue:staticSegmentValue),ro)}function compareIndexes(Yi,eo){return Yi.length===eo.length&&Yi.slice(0,-1).every((ro,no)=>ro===eo[no])?Yi[Yi.length-1]-eo[eo.length-1]:0}function matchRouteBranch(Yi,eo,to){let{routesMeta:ro}=Yi,no={},io="/",oo=[];for(let ao=0;ao<ro.length;++ao){let so=ro[ao],lo=ao===ro.length-1,co=io==="/"?eo:eo.slice(io.length)||"/",uo=matchPath({path:so.relativePath,caseSensitive:so.caseSensitive,end:lo},co),fo=so.route;if(!uo)return null;Object.assign(no,uo.params),oo.push({params:no,pathname:joinPaths([io,uo.pathname]),pathnameBase:normalizePathname(joinPaths([io,uo.pathnameBase])),route:fo}),uo.pathnameBase!=="/"&&(io=joinPaths([io,uo.pathnameBase]))}return oo}function matchPath(Yi,eo){typeof Yi=="string"&&(Yi={path:Yi,caseSensitive:!1,end:!0});let[to,ro]=compilePath(Yi.path,Yi.caseSensitive,Yi.end),no=eo.match(to);if(!no)return null;let io=no[0],oo=io.replace(/(.)\/+$/,"$1"),ao=no.slice(1);return{params:ro.reduce((lo,co,uo)=>{let{paramName:fo,isOptional:ho}=co;if(fo==="*"){let vo=ao[uo]||"";oo=io.slice(0,io.length-vo.length).replace(/(.)\/+$/,"$1")}const mo=ao[uo];return ho&&!mo?lo[fo]=void 0:lo[fo]=(mo||"").replace(/%2F/g,"/"),lo},{}),pathname:io,pathnameBase:oo,pattern:Yi}}function compilePath(Yi,eo,to){eo===void 0&&(eo=!1),to===void 0&&(to=!0),warning$1(Yi==="*"||!Yi.endsWith("*")||Yi.endsWith("/*"),'Route path "'+Yi+'" will be treated as if it were '+('"'+Yi.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+Yi.replace(/\*$/,"/*")+'".'));let ro=[],no="^"+Yi.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(oo,ao,so)=>(ro.push({paramName:ao,isOptional:so!=null}),so?"/?([^\\/]+)?":"/([^\\/]+)"));return Yi.endsWith("*")?(ro.push({paramName:"*"}),no+=Yi==="*"||Yi==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):to?no+="\\/*$":Yi!==""&&Yi!=="/"&&(no+="(?:(?=\\/|$))"),[new RegExp(no,eo?void 0:"i"),ro]}function decodePath(Yi){try{return Yi.split("/").map(eo=>decodeURIComponent(eo).replace(/\//g,"%2F")).join("/")}catch(eo){return warning$1(!1,'The URL path "'+Yi+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+eo+").")),Yi}}function stripBasename(Yi,eo){if(eo==="/")return Yi;if(!Yi.toLowerCase().startsWith(eo.toLowerCase()))return null;let to=eo.endsWith("/")?eo.length-1:eo.length,ro=Yi.charAt(to);return ro&&ro!=="/"?null:Yi.slice(to)||"/"}const ABSOLUTE_URL_REGEX$1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,isAbsoluteUrl=Yi=>ABSOLUTE_URL_REGEX$1.test(Yi);function resolvePath$1(Yi,eo){eo===void 0&&(eo="/");let{pathname:to,search:ro="",hash:no=""}=typeof Yi=="string"?parsePath(Yi):Yi,io;if(to)if(isAbsoluteUrl(to))io=to;else{if(to.includes("//")){let oo=to;to=removeDoubleSlashes(to),warning$1(!1,"Pathnames cannot have embedded double slashes - normalizing "+(oo+" -> "+to))}to.startsWith("/")?io=resolvePathname(to.substring(1),"/"):io=resolvePathname(to,eo)}else io=eo;return{pathname:io,search:normalizeSearch(ro),hash:normalizeHash(no)}}function resolvePathname(Yi,eo){let to=eo.replace(/\/+$/,"").split("/");return Yi.split("/").forEach(no=>{no===".."?to.length>1&&to.pop():no!=="."&&to.push(no)}),to.length>1?to.join("/"):"/"}function getInvalidPathError(Yi,eo,to,ro){return"Cannot include a '"+Yi+"' character in a manually specified "+("`to."+eo+"` field ["+JSON.stringify(ro)+"].  Please separate it out to the ")+("`to."+to+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function getPathContributingMatches(Yi){return Yi.filter((eo,to)=>to===0||eo.route.path&&eo.route.path.length>0)}function getResolveToMatches(Yi,eo){let to=getPathContributingMatches(Yi);return eo?to.map((ro,no)=>no===to.length-1?ro.pathname:ro.pathnameBase):to.map(ro=>ro.pathnameBase)}function resolveTo(Yi,eo,to,ro){ro===void 0&&(ro=!1);let no;typeof Yi=="string"?no=parsePath(Yi):(no=_extends$2b({},Yi),invariant$1(!no.pathname||!no.pathname.includes("?"),getInvalidPathError("?","pathname","search",no)),invariant$1(!no.pathname||!no.pathname.includes("#"),getInvalidPathError("#","pathname","hash",no)),invariant$1(!no.search||!no.search.includes("#"),getInvalidPathError("#","search","hash",no)));let io=Yi===""||no.pathname==="",oo=io?"/":no.pathname,ao;if(oo==null)ao=to;else{let uo=eo.length-1;if(!ro&&oo.startsWith("..")){let fo=oo.split("/");for(;fo[0]==="..";)fo.shift(),uo-=1;no.pathname=fo.join("/")}ao=uo>=0?eo[uo]:"/"}let so=resolvePath$1(no,ao),lo=oo&&oo!=="/"&&oo.endsWith("/"),co=(io||oo===".")&&to.endsWith("/");return!so.pathname.endsWith("/")&&(lo||co)&&(so.pathname+="/"),so}const removeDoubleSlashes=Yi=>Yi.replace(/\/\/+/g,"/"),joinPaths=Yi=>removeDoubleSlashes(Yi.join("/")),normalizePathname=Yi=>Yi.replace(/\/+$/,"").replace(/^\/*/,"/"),normalizeSearch=Yi=>!Yi||Yi==="?"?"":Yi.startsWith("?")?Yi:"?"+Yi,normalizeHash=Yi=>!Yi||Yi==="#"?"":Yi.startsWith("#")?Yi:"#"+Yi;function isRouteErrorResponse(Yi){return Yi!=null&&typeof Yi.status=="number"&&typeof Yi.statusText=="string"&&typeof Yi.internal=="boolean"&&"data"in Yi}const validMutationMethodsArr=["post","put","patch","delete"];new Set(validMutationMethodsArr);const validRequestMethodsArr=["get",...validMutationMethodsArr];new Set(validRequestMethodsArr);/**
345 * React Router v6.30.4
346 *
347 * Copyright (c) Remix Software Inc.
348 *
349 * This source code is licensed under the MIT license found in the
350 * LICENSE.md file in the root directory of this source tree.
351 *
352 * @license MIT
353 */function _extends$2a(){return _extends$2a=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)({}).hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$2a.apply(null,arguments)}const DataRouterContext=reactExports.createContext(null),DataRouterStateContext=reactExports.createContext(null),NavigationContext=reactExports.createContext(null),LocationContext=reactExports.createContext(null),RouteContext=reactExports.createContext({outlet:null,matches:[],isDataRoute:!1}),RouteErrorContext=reactExports.createContext(null);function useHref(Yi,eo){let{relative:to}=eo===void 0?{}:eo;useInRouterContext()||invariant$1(!1);let{basename:ro,navigator:no}=reactExports.useContext(NavigationContext),{hash:io,pathname:oo,search:ao}=useResolvedPath(Yi,{relative:to}),so=oo;return ro!=="/"&&(so=oo==="/"?ro:joinPaths([ro,oo])),no.createHref({pathname:so,search:ao,hash:io})}function useInRouterContext(){return reactExports.useContext(LocationContext)!=null}function useLocation(){return useInRouterContext()||invariant$1(!1),reactExports.useContext(LocationContext).location}function useIsomorphicLayoutEffect$1(Yi){reactExports.useContext(NavigationContext).static||reactExports.useLayoutEffect(Yi)}function useNavigate(){let{isDataRoute:Yi}=reactExports.useContext(RouteContext);return Yi?useNavigateStable():useNavigateUnstable()}function useNavigateUnstable(){useInRouterContext()||invariant$1(!1);
vendor: 11,695 bytes, lines 353-362
353let Yi=reactExports.useContext(DataRouterContext),{basename:eo,future:to,navigator:ro}=reactExports.useContext(NavigationContext),{matches:no}=reactExports.useContext(RouteContext),{pathname:io}=useLocation(),oo=JSON.stringify(getResolveToMatches(no,to.v7_relativeSplatPath)),ao=reactExports.useRef(!1);return useIsomorphicLayoutEffect$1(()=>{ao.current=!0}),reactExports.useCallback(function(lo,co){if(co===void 0&&(co={}),!ao.current)return;if(typeof lo=="number"){ro.go(lo);return}let uo=resolveTo(lo,JSON.parse(oo),io,co.relative==="path");Yi==null&&eo!=="/"&&(uo.pathname=uo.pathname==="/"?eo:joinPaths([eo,uo.pathname])),(co.replace?ro.replace:ro.push)(uo,co.state,co)},[eo,ro,oo,io,Yi])}function useParams(){let{matches:Yi}=reactExports.useContext(RouteContext),eo=Yi[Yi.length-1];return eo?eo.params:{}}function useResolvedPath(Yi,eo){let{relative:to}=eo===void 0?{}:eo,{future:ro}=reactExports.useContext(NavigationContext),{matches:no}=reactExports.useContext(RouteContext),{pathname:io}=useLocation(),oo=JSON.stringify(getResolveToMatches(no,ro.v7_relativeSplatPath));return reactExports.useMemo(()=>resolveTo(Yi,JSON.parse(oo),io,to==="path"),[Yi,oo,io,to])}function useRoutes(Yi,eo){return useRoutesImpl(Yi,eo)}function useRoutesImpl(Yi,eo,to,ro){useInRouterContext()||invariant$1(!1);let{navigator:no}=reactExports.useContext(NavigationContext),{matches:io}=reactExports.useContext(RouteContext),oo=io[io.length-1],ao=oo?oo.params:{};oo&&oo.pathname;let so=oo?oo.pathnameBase:"/";oo&&oo.route;let lo=useLocation(),co;if(eo){var uo;let Co=typeof eo=="string"?parsePath(eo):eo;so==="/"||(uo=Co.pathname)!=null&&uo.startsWith(so)||invariant$1(!1),co=Co}else co=lo;let fo=co.pathname||"/",ho=fo;if(so!=="/"){let Co=so.replace(/^\//,"").split("/");ho="/"+fo.replace(/^\//,"").split("/").slice(Co.length).join("/")}let mo=matchRoutes(Yi,{pathname:ho}),vo=_renderMatches(mo&&mo.map(Co=>Object.assign({},Co,{params:Object.assign({},ao,Co.params),pathname:joinPaths([so,no.encodeLocation?no.encodeLocation(Co.pathname).pathname:Co.pathname]),pathnameBase:Co.pathnameBase==="/"?so:joinPaths([so,no.encodeLocation?no.encodeLocation(Co.pathnameBase).pathname:Co.pathnameBase])})),io,to,ro);return eo&&vo?reactExports.createElement(LocationContext.Provider,{value:{location:_extends$2a({pathname:"/",search:"",hash:"",state:null,key:"default"},co),navigationType:Action.Pop}},vo):vo}function DefaultErrorComponent(){let Yi=useRouteError(),eo=isRouteErrorResponse(Yi)?Yi.status+" "+Yi.statusText:Yi instanceof Error?Yi.message:JSON.stringify(Yi),to=Yi instanceof Error?Yi.stack:null,no={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return reactExports.createElement(reactExports.Fragment,null,reactExports.createElement("h2",null,"Unexpected Application Error!"),reactExports.createElement("h3",{style:{fontStyle:"italic"}},eo),to?reactExports.createElement("pre",{style:no},to):null,null)}const defaultErrorElement=reactExports.createElement(DefaultErrorComponent,null);class RenderErrorBoundary extends reactExports.Component{constructor(eo){super(eo),this.state={location:eo.location,revalidation:eo.revalidation,error:eo.error}}static getDerivedStateFromError(eo){return{error:eo}}static getDerivedStateFromProps(eo,to){return to.location!==eo.location||to.revalidation!=="idle"&&eo.revalidation==="idle"?{error:eo.error,location:eo.location,revalidation:eo.revalidation}:{error:eo.error!==void 0?eo.error:to.error,location:to.location,revalidation:eo.revalidation||to.revalidation}}componentDidCatch(eo,to){console.error("React Router caught the following error during render",eo,to)}render(){return this.state.error!==void 0?reactExports.createElement(RouteContext.Provider,{value:this.props.routeContext},reactExports.createElement(RouteErrorContext.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function RenderedRoute(Yi){let{routeContext:eo,match:to,children:ro}=Yi,no=reactExports.useContext(DataRouterContext);return no&&no.static&&no.staticContext&&(to.route.errorElement||to.route.ErrorBoundary)&&(no.staticContext._deepestRenderedBoundaryId=to.route.id),reactExports.createElement(RouteContext.Provider,{value:eo},ro)}function _renderMatches(Yi,eo,to,ro){var no;if(eo===void 0&&(eo=[]),to===void 0&&(to=null),ro===void 0&&(ro=null),Yi==null){var io;if(!to)return null;if(to.errors)Yi=to.matches;else if((io=ro)!=null&&io.v7_partialHydration&&eo.length===0&&!to.initialized&&to.matches.length>0)Yi=to.matches;else return null}let oo=Yi,ao=(no=to)==null?void 0:no.errors;if(ao!=null){let co=oo.findIndex(uo=>uo.route.id&&(ao==null?void 0:ao[uo.route.id])!==void 0);co>=0||invariant$1(!1),oo=oo.slice(0,Math.min(oo.length,co+1))}let so=!1,lo=-1;if(to&&ro&&ro.v7_partialHydration)for(let co=0;co<oo.length;co++){let uo=oo[co];if((uo.route.HydrateFallback||uo.route.hydrateFallbackElement)&&(lo=co),uo.route.id){let{loaderData:fo,errors:ho}=to,mo=uo.route.loader&&fo[uo.route.id]===void 0&&(!ho||ho[uo.route.id]===void 0);if(uo.route.lazy||mo){so=!0,lo>=0?oo=oo.slice(0,lo+1):oo=[oo[0]];break}}}return oo.reduceRight((co,uo,fo)=>{let ho,mo=!1,vo=null,Co=null;to&&(ho=ao&&uo.route.id?ao[uo.route.id]:void 0,vo=uo.route.errorElement||defaultErrorElement,so&&(lo<0&&fo===0?(warningOnce("route-fallback"),mo=!0,Co=null):lo===fo&&(mo=!0,Co=uo.route.hydrateFallbackElement||null)));let bo=eo.concat(oo.slice(0,fo+1)),wo=()=>{let yo;return ho?yo=vo:mo?yo=Co:uo.route.Component?yo=reactExports.createElement(uo.route.Component,null):uo.route.element?yo=uo.route.element:yo=co,reactExports.createElement(RenderedRoute,{match:uo,routeContext:{outlet:co,matches:bo,isDataRoute:to!=null},children:yo})};return to&&(uo.route.ErrorBoundary||uo.route.errorElement||fo===0)?reactExports.createElement(RenderErrorBoundary,{location:to.location,revalidation:to.revalidation,component:vo,error:ho,children:wo(),routeContext:{outlet:null,matches:bo,isDataRoute:!0}}):wo()},null)}var DataRouterHook$1=(function(Yi){return Yi.UseBlocker="useBlocker",Yi.UseRevalidator="useRevalidator",Yi.UseNavigateStable="useNavigate",Yi})(DataRouterHook$1||{}),DataRouterStateHook$1=(function(Yi){return Yi.UseBlocker="useBlocker",Yi.UseLoaderData="useLoaderData",Yi.UseActionData="useActionData",Yi.UseRouteError="useRouteError",Yi.UseNavigation="useNavigation",Yi.UseRouteLoaderData="useRouteLoaderData",Yi.UseMatches="useMatches",Yi.UseRevalidator="useRevalidator",Yi.UseNavigateStable="useNavigate",Yi.UseRouteId="useRouteId",Yi})(DataRouterStateHook$1||{});function useDataRouterContext(Yi){let eo=reactExports.useContext(DataRouterContext);return eo||invariant$1(!1),eo}function useDataRouterState(Yi){let eo=reactExports.useContext(DataRouterStateContext);return eo||invariant$1(!1),eo}function useRouteContext(Yi){let eo=reactExports.useContext(RouteContext);return eo||invariant$1(!1),eo}function useCurrentRouteId(Yi){let eo=useRouteContext(),to=eo.matches[eo.matches.length-1];return to.route.id||invariant$1(!1),to.route.id}function useRouteError(){var Yi;let eo=reactExports.useContext(RouteErrorContext),to=useDataRouterState(),ro=useCurrentRouteId();return eo!==void 0?eo:(Yi=to.errors)==null?void 0:Yi[ro]}function useNavigateStable(){let{router:Yi}=useDataRouterContext(DataRouterHook$1.UseNavigateStable),eo=useCurrentRouteId(DataRouterStateHook$1.UseNavigateStable),to=reactExports.useRef(!1);return useIsomorphicLayoutEffect$1(()=>{to.current=!0}),reactExports.useCallback(function(no,io){io===void 0&&(io={}),to.current&&(typeof no=="number"?Yi.navigate(no):Yi.navigate(no,_extends$2a({fromRouteId:eo},io)))},[Yi,eo])}const alreadyWarned$1={};function warningOnce(Yi,eo,to){alreadyWarned$1[Yi]||(alreadyWarned$1[Yi]=!0)}function logV6DeprecationWarnings(Yi,eo){Yi==null||Yi.v7_startTransition,Yi==null||Yi.v7_relativeSplatPath}function Navigate(Yi){let{to:eo,replace:to,state:ro,relative:no}=Yi;useInRouterContext()||invariant$1(!1);let{future:io,static:oo}=reactExports.useContext(NavigationContext),{matches:ao}=reactExports.useContext(RouteContext),{pathname:so}=useLocation(),lo=useNavigate(),co=resolveTo(eo,getResolveToMatches(ao,io.v7_relativeSplatPath),so,no==="path"),uo=JSON.stringify(co);return reactExports.useEffect(()=>lo(JSON.parse(uo),{replace:to,state:ro,relative:no}),[lo,uo,no,to,ro]),null}function Route(Yi){invariant$1(!1)}function Router(Yi){let{basename:eo="/",children:to=null,location:ro,navigationType:no=Action.Pop,navigator:io,static:oo=!1,future:ao}=Yi;useInRouterContext()&&invariant$1(!1);let so=eo.replace(/^\/*/,"/"),lo=reactExports.useMemo(()=>({basename:so,navigator:io,static:oo,future:_extends$2a({v7_relativeSplatPath:!1},ao)}),[so,ao,io,oo]);typeof ro=="string"&&(ro=parsePath(ro));let{pathname:co="/",search:uo="",hash:fo="",state:ho=null,key:mo="default"}=ro,vo=reactExports.useMemo(()=>{let Co=stripBasename(co,so);return Co==null?null:{location:{pathname:Co,search:uo,hash:fo,state:ho,key:mo},navigationType:no}},[so,co,uo,fo,ho,mo,no]);return vo==null?null:reactExports.createElement(NavigationContext.Provider,{value:lo},reactExports.createElement(LocationContext.Provider,{children:to,value:vo}))}function Routes(Yi){let{children:eo,location:to}=Yi;return useRoutes(createRoutesFromChildren(eo),to)}new Promise(()=>{});function createRoutesFromChildren(Yi,eo){eo===void 0&&(eo=[]);let to=[];return reactExports.Children.forEach(Yi,(ro,no)=>{if(!reactExports.isValidElement(ro))return;let io=[...eo,no];if(ro.type===reactExports.Fragment){to.push.apply(to,createRoutesFromChildren(ro.props.children,io));return}ro.type!==Route&&invariant$1(!1),!ro.props.index||!ro.props.children||invariant$1(!1);let oo={id:ro.props.id||io.join("-"),caseSensitive:ro.props.caseSensitive,element:ro.props.element,Component:ro.props.Component,index:ro.props.index,path:ro.props.path,loader:ro.props.loader,action:ro.props.action,errorElement:ro.props.errorElement,ErrorBoundary:ro.props.ErrorBoundary,hasErrorBoundary:ro.props.ErrorBoundary!=null||ro.props.errorElement!=null,shouldRevalidate:ro.props.shouldRevalidate,handle:ro.props.handle,lazy:ro.props.lazy};ro.props.children&&(oo.children=createRoutesFromChildren(ro.props.children,io)),to.push(oo)}),to}/**
354 * React Router DOM v6.30.4
355 *
356 * Copyright (c) Remix Software Inc.
357 *
358 * This source code is licensed under the MIT license found in the
359 * LICENSE.md file in the root directory of this source tree.
360 *
361 * @license MIT
362 */function _extends$29(){return _extends$29=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)({}).hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$29.apply(null,arguments)}function _objectWithoutPropertiesLoose$j(Yi,eo){if(Yi==null)return{};var to={};for(var ro in Yi)if({}.hasOwnProperty.call(Yi,ro)){if(eo.indexOf(ro)!==-1)continue;to[ro]=Yi[ro]}return to}function isModifiedEvent(Yi){return!!(Yi.metaKey||Yi.altKey||Yi.ctrlKey||Yi.shiftKey)}function shouldProcessLinkClick(Yi,eo){return Yi.button===0&&(!eo||eo==="_self")&&!isModifiedEvent(Yi)}const _excluded$o=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],REACT_ROUTER_VERSION="6";try{window.__reactRouterVersion=REACT_ROUTER_VERSION}catch{}const START_TRANSITION="startTransition",startTransitionImpl=React$1G[START_TRANSITION];function BrowserRouter(Yi){let{basename:eo,children:to,future:ro,window:no}=Yi,io=reactExports.useRef();io.current==null&&(io.current=createBrowserHistory({window:no,v5Compat:!0}));let oo=io.current,[ao,so]=reactExports.useState({action:oo.action,location:oo.location}),{v7_startTransition:lo}=ro||{},co=reactExports.useCallback(uo=>{lo&&startTransitionImpl?startTransitionImpl(()=>so(uo)):so(uo)}
362,[so,lo]);return reactExports.useLayoutEffect(()=>oo.listen(co),[oo,co]),reactExports.useEffect(()=>logV6DeprecationWarnings(ro),[ro]),reactExports.createElement(Router,{basename:eo,children:to,location:ao.location,navigationType:ao.action,navigator:oo,future:ro})}const isBrowser$1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ABSOLUTE_URL_REGEX=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Link=reactExports.forwardRef(function(eo,to){let{onClick:ro,relative:no,reloadDocument:io,replace:oo,state:ao,target:so,to:lo,preventScrollReset:co,viewTransition:uo}=eo,fo=_objectWithoutPropertiesLoose$j(eo,_excluded$o),{basename:ho}=reactExports.useContext(NavigationContext),mo,vo=!1;if(typeof lo=="string"&&ABSOLUTE_URL_REGEX.test(lo)&&(mo=lo,isBrowser$1))try{let yo=new URL(window.location.href),Eo=lo.startsWith("//")?new URL(yo.protocol+lo):new URL(lo),xo=stripBasename(Eo.pathname,ho);Eo.origin===yo.origin&&xo!=null?lo=xo+Eo.search+Eo.hash:vo=!0}catch{}let Co=useHref(lo,{relative:no}),bo=useLinkClickHandler(lo,{replace:oo,state:ao,target:so,preventScrollReset:co,relative:no,viewTransition:uo});function wo(yo){ro&&ro(yo),yo.defaultPrevented||bo(yo)}return reactExports.createElement("a",_extends$29({},fo,{href:mo||Co,onClick:vo||io?ro:wo,ref:to,target:so}))});var DataRouterHook;(function(Yi){Yi.UseScrollRestoration="useScrollRestoration",Yi.UseSubmit="useSubmit",Yi.UseSubmitFetcher="useSubmitFetcher",Yi.UseFetcher="useFetcher",Yi.useViewTransitionState="useViewTransitionState"})(DataRouterHook||(DataRouterHook={}));var DataRouterStateHook;(function(Yi){Yi.UseFetcher="useFetcher",Yi.UseFetchers="useFetchers",Yi.UseScrollRestoration="useScrollRestoration"})(DataRouterStateHook||(DataRouterStateHook={}));function useLinkClickHandler(Yi,eo){let{target:to,replace:ro,state:no,preventScrollReset:io,relative:oo,viewTransition:ao}=eo===void 0?{}:eo,so=useNavigate(),lo=useLocation(),co=useResolvedPath(Yi,{relative:oo});return reactExports.useCallback(uo=>{if(shouldProcessLinkClick(uo,to)){uo.preventDefault();let fo=ro!==void 0?ro:createPath(lo)===createPath(co);so(Yi,{replace:fo,state:no,preventScrollReset:io,relative:oo,viewTransition:ao})}},[lo,so,co,ro,no,to,Yi,io,oo,ao])}var lottie$1={exports:{}};(function(module,exports$1){typeof document<"u"&&typeof navigator<"u"&&(function(Yi,eo){module.exports=eo()})(commonjsGlobal,(function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(eo){_useWebWorker=!!eo},getWebWorker=function(){return _useWebWorker},setLocationHref=function(eo){locationHref=eo},getLocationHref=function(){return locationHref};function createTag(Yi){return document.createElement(Yi)}function extendPrototype(Yi,eo){var to,ro=Yi.length,no;for(to=0;to<ro;to+=1){no=Yi[to].prototype;for(var io in no)Object.prototype.hasOwnProperty.call(no,io)&&(eo.prototype[io]=no[io])}}function getDescriptor(Yi,eo){return Object.getOwnPropertyDescriptor(Yi,eo)}function createProxyFunction(Yi){function eo(){}return eo.prototype=Yi,eo}var audioControllerFactory=(function(){function Yi(eo){this.audios=[],this.audioFactory=eo,this._volume=1,this._isMuted=!1}return Yi.prototype={addAudio:function(to){this.audios.push(to)},pause:function(){var to,ro=this.audios.length;for(to=0;to<ro;to+=1)this.audios[to].pause()},resume:function(){var to,ro=this.audios.length;for(to=0;to<ro;to+=1)this.audios[to].resume()},setRate:function(to){var ro,no=this.audios.length;for(ro=0;ro<no;ro+=1)this.audios[ro].setRate(to)},createAudio:function(to){return this.audioFactory?this.audioFactory(to):window.Howl?new window.Howl({src:[to]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(to){this.audioFactory=to},setVolume:function(to){this._volume=to,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var to,ro=this.audios.length;for(to=0;to<ro;to+=1)this.audios[to].volume(this._volume*(this._isMuted?0:1))}},function(){return new Yi}})(),createTypedArray=(function(){function Yi(to,ro){var no=0,io=[],oo;switch(to){case"int16":case"uint8c":oo=1;break;default:oo=1.1;break}for(no=0;no<ro;no+=1)io.push(oo);return io}function eo(to,ro){return to==="float32"?new Float32Array(ro):to==="int16"?new Int16Array(ro):to==="uint8c"?new Uint8ClampedArray(ro):Yi(to,ro)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?eo:Yi})();function createSizedArray(Yi){return Array.apply(null,{length:Yi})}function _typeof$6(Yi){"@babel/helpers - typeof";return _typeof$6=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$6(Yi)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var Yi=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],eo,to=Yi.length;for(eo=0;eo<to;eo+=1)BMMath[Yi[eo]]=Math[Yi[eo]]})(),BMMath.random=Math.random,BMMath.abs=function(Yi){var eo=_typeof$6(Yi);if(eo==="object"&&Yi.length){var to=createSizedArray(Yi.length),ro,no=Yi.length;for(ro=0;ro<no;ro+=1)to[ro]=Math.abs(Yi[ro]);return to}return Math.abs(Yi)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(Yi){Yi.style.position="absolute",Yi.style.top=0,Yi.style.left=0,Yi.style.display="block",Yi.style.transformOrigin="0 0",Yi.style.webkitTransformOrigin="0 0",Yi.style.backfaceVisibility="visible",Yi.style.webkitBackfaceVisibility="visible",Yi.style.transformStyle="preserve-3d",Yi.style.webkitTransformStyle="preserve-3d",Yi.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(Yi,eo,to,ro){this.type=Yi,this.currentTime=eo,this.totalTime=to,this.direction=ro<0?-1:1}function BMCompleteEvent(Yi,eo){this.type=Yi,this.direction=eo<0?-1:1}function BMCompleteLoopEvent(Yi,eo,to,ro){this.type=Yi,this.currentLoop=to,this.totalLoops=eo,this.direction=ro<0?-1:1}function BMSegmentStartEvent(Yi,eo,to){this.type=Yi,this.firstFrame=eo,this.totalFrames=to}function BMDestroyEvent(Yi,eo){this.type=Yi,this.target=eo}function BMRenderFrameErrorEvent(Yi,eo){this.type="renderFrameError",this.nativeError=Yi,this.currentTime=eo}function BMConfigErrorEvent(Yi){this.type="configError",this.nativeError=Yi}var createElementID=(function(){var Yi=0;return function(){return Yi+=1,idPrefix$1+"__lottie_element_"+Yi}})();function HSVtoRGB(Yi,eo,to){var ro,no,io,oo,ao,so,lo,co;switch(oo=Math.floor(Yi*6),ao=Yi*6-oo,so=to*(1-eo),lo=to*(1-ao*eo),co=to*(1-(1-ao)*eo),oo%6){case 0:ro=to,no=co,io=so;break;case 1:ro=lo,no=to,io=so;break;case 2:ro=so,no=to,io=co;break;case 3:ro=so,no=lo,io=to;break;case 4:ro=co,no=so,io=to;break;case 5:ro=to,no=so,io=lo;break}return[ro,no,io]}function RGBtoHSV(Yi,eo,to){var ro=Math.max(Yi,eo,to),no=Math.min(Yi,eo,to),io=ro-no,oo,ao=ro===0?0:io/ro,so=ro/255;switch(ro){case no:oo=0;break;case Yi:oo=eo-to+io*(eo<to?6:0),oo/=6*io;break;case eo:oo=to-Yi+io*2,oo/=6*io;break;case to:oo=Yi-eo+io*4,oo/=6*io;break}return[oo,ao,so]}function addSaturationToRGB(Yi,eo){var to=RGBtoHSV(Yi[0]*255,Yi[1]
vendor: 185,737 bytes, lines 362-370
362*255,Yi[2]*255);return to[1]+=eo,to[1]>1?to[1]=1:to[1]<=0&&(to[1]=0),HSVtoRGB(to[0],to[1],to[2])}function addBrightnessToRGB(Yi,eo){var to=RGBtoHSV(Yi[0]*255,Yi[1]*255,Yi[2]*255);return to[2]+=eo,to[2]>1?to[2]=1:to[2]<0&&(to[2]=0),HSVtoRGB(to[0],to[1],to[2])}function addHueToRGB(Yi,eo){var to=RGBtoHSV(Yi[0]*255,Yi[1]*255,Yi[2]*255);return to[0]+=eo/360,to[0]>1?to[0]-=1:to[0]<0&&(to[0]+=1),HSVtoRGB(to[0],to[1],to[2])}var rgbToHex=(function(){var Yi=[],eo,to;for(eo=0;eo<256;eo+=1)to=eo.toString(16),Yi[eo]=to.length===1?"0"+to:to;return function(ro,no,io){return ro<0&&(ro=0),no<0&&(no=0),io<0&&(io=0),"#"+Yi[ro]+Yi[no]+Yi[io]}})(),setSubframeEnabled=function(eo){subframeEnabled=!!eo},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(eo){expressionsPlugin=eo},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(eo){expressionsInterfaces=eo},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(eo){defaultCurveSegments=eo},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(eo){idPrefix$1=eo};function createNS(Yi){return document.createElementNS(svgNS,Yi)}function _typeof$5(Yi){"@babel/helpers - typeof";return _typeof$5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$5(Yi)}var dataManager=(function(){var Yi=1,eo=[],to,ro,no={onmessage:function(){},postMessage:function(ho){to({data:ho})}},io={postMessage:function(ho){no.onmessage({data:ho})}};function oo(fo){if(window.Worker&&window.Blob&&getWebWorker()){var ho=new Blob(["var _workerSelf = self; self.onmessage = ",fo.toString()],{type:"text/javascript"}),mo=URL.createObjectURL(ho);return new Worker(mo)}return to=fo,no}function ao(){ro||(ro=oo(function(ho){function mo(){function Co(Do,Oo){var ko,Bo,Fo=Do.length,Qo,jo,Xo,Zo;for(Bo=0;Bo<Fo;Bo+=1)if(ko=Do[Bo],"ks"in ko&&!ko.completed){if(ko.completed=!0,ko.hasMask){var Wo=ko.masksProperties;for(jo=Wo.length,Qo=0;Qo<jo;Qo+=1)if(Wo[Qo].pt.k.i)xo(Wo[Qo].pt.k);else for(Zo=Wo[Qo].pt.k.length,Xo=0;Xo<Zo;Xo+=1)Wo[Qo].pt.k[Xo].s&&xo(Wo[Qo].pt.k[Xo].s[0]),Wo[Qo].pt.k[Xo].e&&xo(Wo[Qo].pt.k[Xo].e[0])}ko.ty===0?(ko.layers=yo(ko.refId,Oo),Co(ko.layers,Oo)):ko.ty===4?Eo(ko.shapes):ko.ty===5&&Lo(ko)}}function bo(Do,Oo){if(Do){var ko=0,Bo=Do.length;for(ko=0;ko<Bo;ko+=1)Do[ko].t===1&&(Do[ko].data.layers=yo(Do[ko].data.refId,Oo),Co(Do[ko].data.layers,Oo))}}function wo(Do,Oo){for(var ko=0,Bo=Oo.length;ko<Bo;){if(Oo[ko].id===Do)return Oo[ko];ko+=1}return null}function yo(Do,Oo){var ko=wo(Do,Oo);return ko?ko.layers.__used?JSON.parse(JSON.stringify(ko.layers)):(ko.layers.__used=!0,ko.layers):null}function Eo(Do){var Oo,ko=Do.length,Bo,Fo;for(Oo=ko-1;Oo>=0;Oo-=1)if(Do[Oo].ty==="sh")if(Do[Oo].ks.k.i)xo(Do[Oo].ks.k);else for(Fo=Do[Oo].ks.k.length,Bo=0;Bo<Fo;Bo+=1)Do[Oo].ks.k[Bo].s&&xo(Do[Oo].ks.k[Bo].s[0]),Do[Oo].ks.k[Bo].e&&xo(Do[Oo].ks.k[Bo].e[0]);else Do[Oo].ty==="gr"&&Eo(Do[Oo].it)}function xo(Do){var Oo,ko=Do.i.length;for(Oo=0;Oo<ko;Oo+=1)Do.i[Oo][0]+=Do.v[Oo][0],Do.i[Oo][1]+=Do.v[Oo][1],Do.o[Oo][0]+=Do.v[Oo][0],Do.o[Oo][1]+=Do.v[Oo][1]}function So(Do,Oo){var ko=Oo?Oo.split("."):[100,100,100];return Do[0]>ko[0]?!0:ko[0]>Do[0]?!1:Do[1]>ko[1]?!0:ko[1]>Do[1]?!1:Do[2]>ko[2]?!0:ko[2]>Do[2]?!1:null}var To=(function(){var Do=[4,4,14];function Oo(Bo){var Fo=Bo.t.d;Bo.t.d={k:[{s:Fo,t:0}]}}function ko(Bo){var Fo,Qo=Bo.length;for(Fo=0;Fo<Qo;Fo+=1)Bo[Fo].ty===5&&Oo(Bo[Fo])}return function(Bo){if(So(Do,Bo.v)&&(ko(Bo.layers),Bo.assets)){var Fo,Qo=Bo.assets.length;for(Fo=0;Fo<Qo;Fo+=1)Bo.assets[Fo].layers&&ko(Bo.assets[Fo].layers)}}})(),Ro=(function(){var Do=[4,7,99];return function(Oo){if(Oo.chars&&!So(Do,Oo.v)){var ko,Bo=Oo.chars.length;for(ko=0;ko<Bo;ko+=1){var Fo=Oo.chars[ko];Fo.data&&Fo.data.shapes&&(Eo(Fo.data.shapes),Fo.data.ip=0,Fo.data.op=99999,Fo.data.st=0,Fo.data.sr=1,Fo.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},Oo.chars[ko].t||(Fo.data.shapes.push({ty:"no"}),Fo.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}})(),Po=(function(){var Do=[5,7,15];function Oo(Bo){var Fo=Bo.t.p;typeof Fo.a=="number"&&(Fo.a={a:0,k:Fo.a}),typeof Fo.p=="number"&&(Fo.p={a:0,k:Fo.p}),typeof Fo.r=="number"&&(Fo.r={a:0,k:Fo.r})}function ko(Bo){var Fo,Qo=Bo.length;for(Fo=0;Fo<Qo;Fo+=1)Bo[Fo].ty===5&&Oo(Bo[Fo])}return function(Bo){if(So(Do,Bo.v)&&(ko(Bo.layers),Bo.assets)){var Fo,Qo=Bo.assets.length;for(Fo=0;Fo<Qo;Fo+=1)Bo.assets[Fo].layers&&ko(Bo.assets[Fo].layers)}}})(),zo=(function(){var Do=[4,1,9];function Oo(Bo){var Fo,Qo=Bo.length,jo,Xo;for(Fo=0;Fo<Qo;Fo+=1)if(Bo[Fo].ty==="gr")Oo(Bo[Fo].it);else if(Bo[Fo].ty==="fl"||Bo[Fo].ty==="st")if(Bo[Fo].c.k&&Bo[Fo].c.k[0].i)for(Xo=Bo[Fo].c.k.length,jo=0;jo<Xo;jo+=1)Bo[Fo].c.k[jo].s&&(Bo[Fo].c.k[jo].s[0]/=255,Bo[Fo].c.k[jo].s[1]/=255,Bo[Fo].c.k[jo].s[2]/=255,Bo[Fo].c.k[jo].s[3]/=255),Bo[Fo].c.k[jo].e&&(Bo[Fo].c.k[jo].e[0]/=255,Bo[Fo].c.k[jo].e[1]/=255,Bo[Fo].c.k[jo].e[2]/=255,Bo[Fo].c.k[jo].e[3]/=255);else Bo[Fo].c.k[0]/=255,Bo[Fo].c.k[1]/=255,Bo[Fo].c.k[2]/=255,Bo[Fo].c.k[3]/=255}function ko(Bo){var Fo,Qo=Bo.length;for(Fo=0;Fo<Qo;Fo+=1)Bo[Fo].ty===4&&Oo(Bo[Fo].shapes)}return function(Bo){if(So(Do,Bo.v)&&(ko(Bo.layers),Bo.assets)){var Fo,Qo=Bo.assets.length;for(Fo=0;Fo<Qo;Fo+=1)Bo.assets[Fo].layers&&ko(Bo.assets[Fo].layers)}}})(),Ho=(function(){var Do=[4,4,18];function Oo(Bo){var Fo,Qo=Bo.length,jo,Xo;for(Fo=Qo-1;Fo>=0;Fo-=1)if(Bo[Fo].ty==="sh")if(Bo[Fo].ks.k.i)Bo[Fo].ks.k.c=Bo[Fo].closed;else for(Xo=Bo[Fo].ks.k.length,jo=0;jo<Xo;jo+=1)Bo[Fo].ks.k[jo].s&&(Bo[Fo].ks.k[jo].s[0].c=Bo[Fo].closed),Bo[Fo].ks.k[jo].e&&(Bo[Fo].ks.k[jo].e[0].c=Bo[Fo].closed);else Bo[Fo].ty==="gr"&&Oo(Bo[Fo].it)}function ko(Bo){var Fo,Qo,jo=Bo.length,Xo,Zo,Wo,ta;for(Qo=0;Qo<jo;Qo+=1){if(Fo=Bo[Qo],Fo.hasMask){var ra=Fo.masksProperties;for(Zo=ra.length,Xo=0;Xo<Zo;Xo+=1)if(ra[Xo].pt.k.i)ra[Xo].pt.k.c=ra[Xo].cl;else for(ta=ra[Xo].pt.k.length,Wo=0;Wo<ta;Wo+=1)ra[Xo].pt.k[Wo].s&&(ra[Xo].pt.k[Wo].s[0].c=ra[Xo].cl),ra[Xo].pt.k[Wo].e&&(ra[Xo].pt.k[Wo].e[0].c=ra[Xo].cl)}Fo.ty===4&&Oo(Fo.shapes)}}return function(Bo){if(So(Do,Bo.v)&&(ko(Bo.layers),Bo.assets)){var Fo,Qo=Bo.assets.length;for(Fo=0;Fo<Qo;Fo+=1)Bo.assets[Fo].layers&&ko(Bo.assets[Fo].layers)}}})();function Vo(Do){Do.__complete||(zo(Do),To(Do),Ro(Do),Po(Do),Ho(Do),Co(Do.layers,Do.assets),bo(Do.chars,Do.assets),Do.__complete=!0)}function Lo(Do){Do.t.a.length===0&&"m"in Do.t.p}var Uo={};return Uo.completeData=Vo,Uo.checkColors=zo,Uo.checkChars=Ro,Uo.checkPathProperties=Po,Uo.checkShapes=Ho,Uo.completeLayers=Co,Uo}if(io.dataManager||(io.dataManager=mo()),io.assetLoader||(io.assetLoader=(function(){function Co(wo){var yo=wo.getResponseHeader("content-type");return yo&&wo.responseType==="json"&&yo.indexOf("json")!==-1||wo.response&&_typeof$5(wo.response)==="object"?wo.response:wo.response&&typeof wo.response=="string"?JSON.parse(wo.response):wo.responseText?JSON.parse(wo.responseText):null}function bo(wo,yo,Eo,xo){var So,To=new XMLHttpRequest;try{To.responseType="json"}catch{}To.onreadystatechange=function(){if(To.readyState===4)if(To.status===200)So=Co(To),Eo(So);else try{So=Co(To),Eo(So)}catch(Ro){xo&&xo(Ro)}};try{To.open(["G","E","T"].join(""),wo,!0)}catch{To.open(["G","E","T"].join(""),yo+"/"+wo,!0)}To.send()}return{load:bo}})()),ho.data.type==="loadAnimation")io.assetLoader.load(ho.data.path,ho.data.fullPath,function(Co){io.dataManager.completeData(Co),io.postMessage({id:ho.data.id,payload:Co,status:"success"})},function(){io.postMessage({id:ho.data.id,status:"error"})});else if(ho.data.type==="complete"){var vo=ho.data.animation;io.dataManager.completeData(vo),io.postMessage({id:ho.data.id,payload:vo,status:"success"})}else ho.data.type==="loadData"&&io.assetLoader.load(ho.data.path,ho.data.fullPath,function(Co){io.postMessage({id:ho.data.id,payload:Co,status:"success"})},function(){io.postMessage({id:ho.data.id,status:"error"})})}),ro.onmessage=function(fo){var ho=fo.data,mo=ho.id,vo=eo[mo];eo[mo]=null,ho.status==="success"?vo.onComplete(ho.payload):vo.onError&&vo.onError()})}function so(fo,ho){Yi+=1;var mo="processId_"+Yi;return eo[mo]={onComplete:fo,onError:ho},mo}function lo(fo,ho,mo){ao();var vo=so(ho,mo);ro.postMessage({type:"loadAnimation",path:fo,fullPath:window.location.origin+window.location.pathname,id:vo})}function co(fo,ho,mo){ao();var vo=so(ho,mo);ro.postMessage({type:"loadData",path:fo,fullPath:window.location.origin+window.location.pathname,id:vo})}function uo(fo,ho,mo){ao();var vo=so(ho,mo);ro.postMessage({type:"complete",animation:fo,id:vo})}return{loadAnimation:lo,loadData:co,completeAnimation:uo}})(),ImagePreloader=(function(){var Yi=(function(){var bo=createTag("canvas");bo.width=1,bo.height=1;var wo=bo.getContext("2d");return wo.fillStyle="rgba(0,0,0,0)",wo.fillRect(0,0,1,1),bo})();function eo(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function to(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function ro(bo,wo,yo){var Eo="";if(bo.e)Eo=bo.p;else if(wo){var xo=bo.p;xo.indexOf("images/")!==-1&&(xo=xo.split("/")[1]),Eo=wo+xo}else Eo=yo,Eo+=bo.u?bo.u:"",Eo+=bo.p;return Eo}function no(bo){var wo=0,yo=setInterval((function(){var Eo=bo.getBBox();(Eo.width||wo>500)&&(this._imageLoaded(),clearInterval(yo)),wo+=1}).bind(this),50)}function io(bo){var wo=ro(bo,this.assetsPath,this.path),yo=createNS("image");isSafari?this.testImageLoaded(yo):yo.addEventListener("load",this._imageLoaded,!1),yo.addEventListener("error",(function(){Eo.img=Yi,this._imageLoaded()}).bind(this),!1),yo.setAttributeNS("http://www.w3.org/1999/xlink","href",wo),this._elementHelper.append?this._elementHelper.append(yo):this._elementHelper.appendChild(yo);var Eo={img:yo,assetData:bo};return Eo}function oo(bo){var wo=ro(bo,this.assetsPath,this.path),yo=createTag("img");yo.crossOrigin="anonymous",yo.addEventListener("load",this._imageLoaded,!1),yo.addEventListener("error",(function(){Eo.img=Yi,this._imageLoaded()}).bind(this),!1),yo.src=wo;var Eo={img:yo,assetData:bo};return Eo}function ao(bo){var wo={assetData:bo},yo=ro(bo,this.assetsPath,this.path);return dataManager.loadData(yo,(function(Eo){wo.img=Eo,this._footageLoaded()}).bind(this),(function(){wo.img={},this._footageLoaded()}).bind(this)),wo}function so(bo,wo){this.imagesLoadedCb=wo;var yo,Eo=bo.length;for(yo=0;yo<Eo;yo+=1)bo[yo].layers||(!bo[yo].t||bo[yo].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(bo[yo]))):bo[yo].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(bo[yo]))))}function lo(bo){this.path=bo||""}function co(bo){this.assetsPath=bo||""}function uo(bo){for(var wo=0,yo=this.images.length;wo<yo;){if(this.images[wo].assetData===bo)return this.images[wo].img;wo+=1}return null}function fo(){this.imagesLoadedCb=null,this.images.length=0}function ho(){return this.totalImages===this.loadedAssets}function mo(){return this.totalFootages===this.loadedFootagesCount}function vo(bo,wo){bo==="svg"?(this._elementHelper=wo,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function Co(){this._imageLoaded=eo.bind(this),this._footageLoaded=to.bind(this),this.testImageLoaded=no.bind(this),this.createFootageData=ao.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return Co.prototype={loadAssets:so,setAssetsPath:co,setPath:lo,loadedImages:ho,loadedFootages:mo,destroy:fo,getAsset:uo,createImgData:oo,createImageData:io,imageLoaded:eo,footageLoaded:to,setCacheType:vo},Co})();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(eo,to){if(this._cbs[eo])for(var ro=this._cbs[eo],no=0;no<ro.length;no+=1)ro[no](to)},addEventListener:function(eo,to){return this._cbs[eo]||(this._cbs[eo]=[]),this._cbs[eo].push(to),(function(){this.removeEventListener(eo,to)}).bind(this)},removeEventListener:function(eo,to){if(!to)this._cbs[eo]=null;else if(this._cbs[eo]){for(var ro=0,no=this._cbs[eo].length;ro<no;)this._cbs[eo][ro]===to&&(this._cbs[eo].splice(ro,1),ro-=1,no-=1),ro+=1;this._cbs[eo].length||(this._cbs[eo]=null)}}};var markerParser=(function(){function Yi(eo){for(var to=eo.split(`\r
363`),ro={},no,io=0,oo=0;oo<to.length;oo+=1)no=to[oo].split(":"),no.length===2&&(ro[no[0]]=no[1].trim(),io+=1);if(io===0)throw new Error;return ro}return function(eo){for(var to=[],ro=0;ro<eo.length;ro+=1){var no=eo[ro],io={time:no.tm,duration:no.dr};try{io.payload=JSON.parse(eo[ro].cm)}catch{try{io.payload=Yi(eo[ro].cm)}catch{io.payload={name:eo[ro].cm}}}to.push(io)}return to}})(),ProjectInterface=(function(){function Yi(eo){this.compositions.push(eo)}return function(){function eo(to){for(var ro=0,no=this.compositions.length;ro<no;){if(this.compositions[ro].data&&this.compositions[ro].data.nm===to)return this.compositions[ro].prepareFrame&&this.compositions[ro].data.xt&&this.compositions[ro].prepareFrame(this.currentFrame),this.compositions[ro].compInterface;ro+=1}return null}return eo.compositions=[],eo.currentFrame=0,eo.registerComposition=Yi,eo}})(),renderers={},registerRenderer=function(eo,to){renderers[eo]=to};function getRenderer(Yi){return renderers[Yi]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var Yi in renderers)if(renderers[Yi])return Yi;return""}function _typeof$4(Yi){"@babel/helpers - typeof";return _typeof$4=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$4(Yi)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(Yi){(Yi.wrapper||Yi.container)&&(this.wrapper=Yi.wrapper||Yi.container);var eo="svg";Yi.animType?eo=Yi.animType:Yi.renderer&&(eo=Yi.renderer);var to=getRenderer(eo);this.renderer=new to(this,Yi.rendererSettings),this.imagePreloader.setCacheType(eo,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=eo,Yi.loop===""||Yi.loop===null||Yi.loop===void 0||Yi.loop===!0?this.loop=!0:Yi.loop===!1?this.loop=!1:this.loop=parseInt(Yi.loop,10),this.autoplay="autoplay"in Yi?Yi.autoplay:!0,this.name=Yi.name?Yi.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(Yi,"autoloadSegments")?Yi.autoloadSegments:!0,this.assetsPath=Yi.assetsPath,this.initialSegment=Yi.initialSegment,Yi.audioFactory&&this.audioController.setAudioFactory(Yi.audioFactory),Yi.animationData?this.setupAnimation(Yi.animationData):Yi.path&&(Yi.path.lastIndexOf("\\")!==-1?this.path=Yi.path.substr(0,Yi.path.lastIndexOf("\\")+1):this.path=Yi.path.substr(0,Yi.path.lastIndexOf("/")+1),this.fileName=Yi.path.substr(Yi.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(Yi.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(Yi){dataManager.completeAnimation(Yi,this.configAnimation)},AnimationItem.prototype.setData=function(Yi,eo){eo&&_typeof$4(eo)!=="object"&&(eo=JSON.parse(eo));var to={wrapper:Yi,animationData:eo},ro=Yi.attributes;to.path=ro.getNamedItem("data-animation-path")?ro.getNamedItem("data-animation-path").value:ro.getNamedItem("data-bm-path")?ro.getNamedItem("data-bm-path").value:ro.getNamedItem("bm-path")?ro.getNamedItem("bm-path").value:"",to.animType=ro.getNamedItem("data-anim-type")?ro.getNamedItem("data-anim-type").value:ro.getNamedItem("data-bm-type")?ro.getNamedItem("data-bm-type").value:ro.getNamedItem("bm-type")?ro.getNamedItem("bm-type").value:ro.getNamedItem("data-bm-renderer")?ro.getNamedItem("data-bm-renderer").value:ro.getNamedItem("bm-renderer")?ro.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var no=ro.getNamedItem("data-anim-loop")?ro.getNamedItem("data-anim-loop").value:ro.getNamedItem("data-bm-loop")?ro.getNamedItem("data-bm-loop").value:ro.getNamedItem("bm-loop")?ro.getNamedItem("bm-loop").value:"";no==="false"?to.loop=!1:no==="true"?to.loop=!0:no!==""&&(to.loop=parseInt(no,10));var io=ro.getNamedItem("data-anim-autoplay")?ro.getNamedItem("data-anim-autoplay").value:ro.getNamedItem("data-bm-autoplay")?ro.getNamedItem("data-bm-autoplay").value:ro.getNamedItem("bm-autoplay")?ro.getNamedItem("bm-autoplay").value:!0;to.autoplay=io!=="false",to.name=ro.getNamedItem("data-name")?ro.getNamedItem("data-name").value:ro.getNamedItem("data-bm-name")?ro.getNamedItem("data-bm-name").value:ro.getNamedItem("bm-name")?ro.getNamedItem("bm-name").value:"";var oo=ro.getNamedItem("data-anim-prerender")?ro.getNamedItem("data-anim-prerender").value:ro.getNamedItem("data-bm-prerender")?ro.getNamedItem("data-bm-prerender").value:ro.getNamedItem("bm-prerender")?ro.getNamedItem("bm-prerender").value:"";oo==="false"&&(to.prerender=!1),to.path?this.setParams(to):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(Yi){Yi.op>this.animationData.op&&(this.animationData.op=Yi.op,this.totalFrames=Math.floor(Yi.op-this.animationData.ip));var eo=this.animationData.layers,to,ro=eo.length,no=Yi.layers,io,oo=no.length;for(io=0;io<oo;io+=1)for(to=0;to<ro;){if(eo[to].id===no[io].id){eo[to]=no[io];break}to+=1}if((Yi.chars||Yi.fonts)&&(this.renderer.globalData.fontManager.addChars(Yi.chars),this.renderer.globalData.fontManager.addFonts(Yi.fonts,this.renderer.globalData.defs)),Yi.assets)for(ro=Yi.assets.length,to=0;to<ro;to+=1)this.animationData.assets.push(Yi.assets[to]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(Yi){this.animationData=Yi;var eo=getExpressionsPlugin();eo&&eo.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var Yi=this.animationData.segments;if(!Yi||Yi.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var eo=Yi.shift();this.timeCompleted=eo.time*this.frameRate;var to=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(to,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},AnimationItem.prototype.loadSegments=function(){var Yi=this.animationData.segments;Yi||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(Yi){if(this.renderer)try{this.animationData=Yi,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(Yi),Yi.assets||(Yi.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(Yi.assets),this.markers=markerParser(Yi.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(eo){this.triggerConfigError(eo)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var Yi=getExpressionsPlugin();Yi&&Yi.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(Yi,eo){var to=typeof Yi=="number"?Yi:void 0,ro=typeof eo=="number"?eo:void 0;this.renderer.updateContainerSize(to,ro)},AnimationItem.prototype.setSubframe=function(Yi){this.isSubframeEnabled=!!Yi},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(Yi){this.triggerRenderFrameError(Yi)}},AnimationItem.prototype.play=function(Yi){Yi&&this.name!==Yi||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(Yi){Yi&&this.name!==Yi||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(Yi){Yi&&this.name!==Yi||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(Yi){Yi&&this.name!==Yi||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(Yi){for(var eo,to=0;to<this.markers.length;to+=1)if(eo=this.markers[to],eo.payload&&eo.payload.name===Yi)return eo;return null},AnimationItem.prototype.goToAndStop=function(Yi,eo,to){if(!(to&&this.name!==to)){var ro=Number(Yi);if(isNaN(ro)){var no=this.getMarkerData(Yi);no&&this.goToAndStop(no.time,!0)}else eo?this.setCurrentRawFrameValue(Yi):this.setCurrentRawFrameValue(Yi*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(Yi,eo,to){if(!(to&&this.name!==to)){var ro=Number(Yi);if(isNaN(ro)){var no=this.getMarkerData(Yi);no&&(no.duration?this.playSegments([no.time,no.time+no.duration],!0):this.goToAndStop(no.time,!0))}else this.goToAndStop(ro,eo,to);this.play()}},AnimationItem.prototype.advanceTime=function(Yi){if(!(this.isPaused===!0||this.isLoaded===!1)){var eo=this.currentRawFrame+Yi*this.frameModifier,to=!1;eo>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(eo>this.totalFrames?eo%this.totalFrames:0)||(to=!0,eo=this.totalFrames-1):eo>=this.totalFrames?(this.playCount+=1,this.checkSegments(eo%this.totalFrames)||(this.setCurrentRawFrameValue(eo%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(eo):eo<0?this.checkSegments(eo%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+eo%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(to=!0,eo=0)):this.setCurrentRawFrameValue(eo),to&&(this.setCurrentRawFrameValue(eo),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(Yi,eo){this.playCount=0,Yi[1]<Yi[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=Yi[0]-Yi[1],this.timeCompleted=this.totalFrames,this.firstFrame=Yi[1],this.setCurrentRawFrameValue(this.totalFrames-.001-eo)):Yi[1]>Yi[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=Yi[1]-Yi[0],this.timeCompleted=this.totalFrames,this.firstFrame=Yi[0],this.setCurrentRawFrameValue(.001+eo)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(Yi,eo){var to=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<Yi?to=Yi:this.currentRawFrame+this.firstFrame>eo&&(to=eo-Yi)),this.firstFrame=Yi,this.totalFrames=eo-Yi,this.timeCompleted=this.totalFrames,to!==-1&&this.goToAndStop(to,!0)},AnimationItem.prototype.playSegments=function(Yi,eo){if(eo&&(this.segments.length=0),_typeof$4(Yi[0])==="object"){var to,ro=Yi.length;for(to=0;to<ro;to+=1)this.segments.push(Yi[to])}else this.segments.push(Yi);this.segments.length&&eo&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(Yi){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),Yi&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(Yi){return this.segments.length?(this.adjustSegment(this.segments.shift(),Yi),!0):!1},AnimationItem.prototype.destroy=function(Yi){Yi&&this.name!==Yi||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(Yi){this.currentRawFrame=Yi,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(Yi){this.playSpeed=Yi,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(Yi){this.playDirection=Yi<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(Yi){this.loop=Yi},AnimationItem.prototype.setVolume=function(Yi,eo){eo&&this.name!==eo||this.audioController.setVolume(Yi)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(Yi){Yi&&this.name!==Yi||this.audioController.mute()},AnimationItem.prototype.unmute=function(Yi){Yi&&this.name!==Yi||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(Yi){var eo="";if(Yi.e)eo=Yi.p;else if(this.assetsPath){var to=Yi.p;to.indexOf("images/")!==-1&&(to=to.split("/")[1]),eo=this.assetsPath+to}else eo=this.path,eo+=Yi.u?Yi.u:"",eo+=Yi.p;return eo},AnimationItem.prototype.getAssetData=function(Yi){for(var eo=0,to=this.assets.length;eo<to;){if(Yi===this.assets[eo].id)return this.assets[eo];eo+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(Yi){return Yi?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(Yi,eo,to){try{var ro=this.renderer.getElementByPath(Yi);ro.updateDocumentData(eo,to)}catch{}},AnimationItem.prototype.trigger=function(Yi){if(this._cbs&&this._cbs[Yi])switch(Yi){case"enterFrame":this.triggerEvent(Yi,new BMEnterFrameEvent(Yi,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(Yi,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(Yi,new BMCompleteLoopEvent(Yi,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(Yi,new BMCompleteEvent(Yi,this.frameMult));break;case"segmentStart":this.triggerEvent(Yi,new BMSegmentStartEvent(Yi,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(Yi,new BMDestroyEvent(Yi,this));break;default:this.triggerEvent(Yi)}Yi==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(Yi,this.currentFrame,this.totalFrames,this.frameMult)),Yi==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(Yi,this.loop,this.playCount,this.frameMult)),Yi==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(Yi,this.frameMult)),Yi==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(Yi,this.firstFrame,this.totalFrames)),Yi==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(Yi,this))},AnimationItem.prototype.triggerRenderFrameError=function(Yi){var eo=new BMRenderFrameErrorEvent(Yi,this.currentFrame);this.triggerEvent("error",eo),this.onError&&this.onError.call(this,eo)},AnimationItem.prototype.triggerConfigError=function(Yi){var eo=new BMConfigErrorEvent(Yi,this.currentFrame);this.triggerEvent("error",eo),this.onError&&this.onError.call(this,eo)};var animationManager=(function(){var Yi={},eo=[],to=0,ro=0,no=0,io=!0,oo=!1;function ao(Oo){for(var ko=0,Bo=Oo.target;ko<ro;)eo[ko].animation===Bo&&(eo.splice(ko,1),ko-=1,ro-=1,Bo.isPaused||uo()),ko+=1}function so(Oo,ko){if(!Oo)return null;for(var Bo=0;Bo<ro;){if(eo[Bo].elem===Oo&&eo[Bo].elem!==null)return eo[Bo].animation;Bo+=1}var Fo=new AnimationItem;return fo(Fo,Oo),Fo.setData(Oo,ko),Fo}function lo(){var Oo,ko=eo.length,Bo=[];for(Oo=0;Oo<ko;Oo+=1)Bo.push(eo[Oo].animation);return Bo}function co(){no+=1,zo()}function uo(){no-=1}function fo(Oo,ko){Oo.addEventListener("destroy",ao),Oo.addEventListener("_active",co),Oo.addEventListener("_idle",uo),eo.push({elem:ko,animation:Oo}),ro+=1}function ho(Oo){var ko=new AnimationItem;return fo(ko,null),ko.setParams(Oo),ko}function mo(Oo,ko){var Bo;for(Bo=0;Bo<ro;Bo+=1)eo[Bo].animation.setSpeed(Oo,ko)}function vo(Oo,ko){var Bo;for(Bo=0;Bo<ro;Bo+=1)eo[Bo].animation.setDirection(Oo,ko)}function Co(Oo){var ko;for(ko=0;ko<ro;ko+=1)eo[ko].animation.play(Oo)}function bo(Oo){var ko=Oo-to,Bo;for(Bo=0;Bo<ro;Bo+=1)eo[Bo].animation.advanceTime(ko);to=Oo,no&&!oo?window.requestAnimationFrame(bo):io=!0}function wo(Oo){to=Oo,window.requestAnimationFrame(bo)}function yo(Oo){var ko;for(ko=0;ko<ro;ko+=1)eo[ko].animation.pause(Oo)}function Eo(Oo,ko,Bo){var Fo;for(Fo=0;Fo<ro;Fo+=1)eo[Fo].animation.goToAndStop(Oo,ko,Bo)}function xo(Oo){var ko;for(ko=0;ko<ro;ko+=1)eo[ko].animation.stop(Oo)}function So(Oo){var ko;for(ko=0;ko<ro;ko+=1)eo[ko].animation.togglePause(Oo)}function To(Oo){var ko;for(ko=ro-1;ko>=0;ko-=1)eo[ko].animation.destroy(Oo)}function Ro(Oo,ko,Bo){var Fo=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),Qo,jo=Fo.length;for(Qo=0;Qo<jo;Qo+=1)Bo&&Fo[Qo].setAttribute("data-bm-type",Bo),so(Fo[Qo],Oo);if(ko&&jo===0){Bo||(Bo="svg");var Xo=document.getElementsByTagName("body")[0];Xo.innerText="";var Zo=createTag("div");Zo.style.width="100%",Zo.style.height="100%",Zo.setAttribute("data-bm-type",Bo),Xo.appendChild(Zo),so(Zo,Oo)}}function Po(){var Oo;for(Oo=0;Oo<ro;Oo+=1)eo[Oo].animation.resize()}function zo(){!oo&&no&&io&&(window.requestAnimationFrame(wo),io=!1)}function Ho(){oo=!0}function Vo(){oo=!1,zo()}function Lo(Oo,ko){var Bo;for(Bo=0;Bo<ro;Bo+=1)eo[Bo].animation.setVolume(Oo,ko)}function Uo(Oo){var ko;for(ko=0;ko<ro;ko+=1)eo[ko].animation.mute(Oo)}function Do(Oo){var ko;for(ko=0;ko<ro;ko+=1)eo[ko].animation.unmute(Oo)}return Yi.registerAnimation=so,Yi.loadAnimation=ho,Yi.setSpeed=mo,Yi.setDirection=vo,Yi.play=Co,Yi.pause=yo,Yi.stop=xo,Yi.togglePause=So,Yi.searchAnimations=Ro,Yi.resize=Po,Yi.goToAndStop=Eo,Yi.destroy=To,Yi.freeze=Ho,Yi.unfreeze=Vo,Yi.setVolume=Lo,Yi.mute=Uo,Yi.unmute=Do,Yi.getRegisteredAnimations=lo,Yi})(),BezierFactory=(function(){var Yi={};Yi.getBezierEasing=to;var eo={};function to(wo,yo,Eo,xo,So){var To=So||("bez_"+wo+"_"+yo+"_"+Eo+"_"+xo).replace(/\./g,"p");if(eo[To])return eo[To];var Ro=new bo([wo,yo,Eo,xo]);return eo[To]=Ro,Ro}var ro=4,no=.001,io=1e-7,oo=10,ao=11,so=1/(ao-1),lo=typeof Float32Array=="function";function co(wo,yo){return 1-3*yo+3*wo}function uo(wo,yo){return 3*yo-6*wo}function fo(wo){return 3*wo}function ho(wo,yo,Eo){return((co(yo,Eo)*wo+uo(yo,Eo))*wo+fo(yo))*wo}function mo(wo,yo,Eo){return 3*co(yo,Eo)*wo*wo+2*uo(yo,Eo)*wo+fo(yo)}function vo(wo,yo,Eo,xo,So){var To,Ro,Po=0;do Ro=yo+(Eo-yo)/2,To=ho(Ro,xo,So)-wo,To>0?Eo=Ro:yo=Ro;while(Math.abs(To)>io&&++Po<oo);return Ro}function Co(wo,yo,Eo,xo){for(var So=0;So<ro;++So){var To=mo(yo,Eo,xo);if(To===0)return yo;var Ro=ho(yo,Eo,xo)-wo;yo-=Ro/To}return yo}function bo(wo){this._p=wo,this._mSampleValues=lo?new Float32Array(ao):new Array(ao),this._precomputed=!1,this.get=this.get.bind(this)}return bo.prototype={get:function(yo){var Eo=this._p[0],xo=this._p[1],So=this._p[2],To=this._p[3];return this._precomputed||this._precompute(),Eo===xo&&So===To?yo:yo===0?0:yo===1?1:ho(this._getTForX(yo),xo,To)},_precompute:function(){var yo=this._p[0],Eo=this._p[1],xo=this._p[2],So=this._p[3];this._precomputed=!0,(yo!==Eo||xo!==So)&&this._calcSampleValues()},_calcSampleValues:function(){for(var yo=this._p[0],Eo=this._p[2],xo=0;xo<ao;++xo)this._mSampleValues[xo]=ho(xo*so,yo,Eo)},_getTForX:function(yo){for(var Eo=this._p[0],xo=this._p[2],So=this._mSampleValues,To=0,Ro=1,Po=ao-1;Ro!==Po&&So[Ro]<=yo;++Ro)To+=so;--Ro;var zo=(yo-So[Ro])/(So[Ro+1]-So[Ro]),Ho=To+zo*so,Vo=mo(Ho,Eo,xo);return Vo>=no?Co(yo,Ho,Eo,xo):Vo===0?Ho:vo(yo,To,To+so,Eo,xo)}},Yi})(),pooling=(function(){function Yi(eo){return eo.concat(createSizedArray(eo.length))}return{double:Yi}})(),poolFactory=(function(){return function(Yi,eo,to){var ro=0,no=Yi,io=createSizedArray(no),oo={newElement:ao,release:so};function ao(){var lo;return ro?(ro-=1,lo=io[ro]):lo=eo(),lo}function so(lo){ro===no&&(io=pooling.double(io),no*=2),to&&to(lo),io[ro]=lo,ro+=1}return oo}})(),bezierLengthPool=(function(){function Yi(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,Yi)})(),segmentsLengthPool=(function(){function Yi(){return{lengths:[],totalLength:0}}function eo(to){var ro,no=to.lengths.length;for(ro=0;ro<no;ro+=1)bezierLengthPool.release(to.lengths[ro]);to.lengths.length=0}return poolFactory(8,Yi,eo)})();function bezFunction(){var Yi=Math;function eo(fo,ho,mo,vo,Co,bo){var wo=fo*vo+ho*Co+mo*bo-Co*vo-bo*fo-mo*ho;return wo>-.001&&wo<.001}function to(fo,ho,mo,vo,Co,bo,wo,yo,Eo){if(mo===0&&bo===0&&Eo===0)return eo(fo,ho,vo,Co,wo,yo);var xo=Yi.sqrt(Yi.pow(vo-fo,2)+Yi.pow(Co-ho,2)+Yi.pow(bo-mo,2)),So=Yi.sqrt(Yi.pow(wo-fo,2)+Yi.pow(yo-ho,2)+Yi.pow(Eo-mo,2)),To=Yi.sqrt(Yi.pow(wo-vo,2)+Yi.pow(yo-Co,2)+Yi.pow(Eo-bo,2)),Ro;return xo>So?xo>To?Ro=xo-So-To:Ro=To-So-xo:To>So?Ro=To-So-xo:Ro=So-xo-To,Ro>-1e-4&&Ro<1e-4}var ro=(function(){return function(fo,ho,mo,vo){var Co=getDefaultCurveSegments(),bo,wo,yo,Eo,xo,So=0,To,Ro=[],Po=[],zo=bezierLengthPool.newElement();for(yo=mo.length,bo=0;bo<Co;bo+=1){for(xo=bo/(Co-1),To=0,wo=0;wo<yo;wo+=1)Eo=bmPow(1-xo,3)*fo[wo]+3*bmPow(1-xo,2)*xo*mo[wo]+3*(1-xo)*bmPow(xo,2)*vo[wo]+bmPow(xo,3)*ho[wo],Ro[wo]=Eo,Po[wo]!==null&&(To+=bmPow(Ro[wo]-Po[wo],2)),Po[wo]=Ro[wo];To&&(To=bmSqrt(To),So+=To),zo.percents[bo]=xo,zo.lengths[bo]=So}return zo.addedLength=So,zo}})();function no(fo){var ho=segmentsLengthPool.newElement(),mo=fo.c,vo=fo.v,Co=fo.o,bo=fo.i,wo,yo=fo._length,Eo=ho.lengths,xo=0;for(wo=0;wo<yo-1;wo+=1)Eo[wo]=ro(vo[wo],vo[wo+1],Co[wo],bo[wo+1]),xo+=Eo[wo].addedLength;return mo&&yo&&(Eo[wo]=ro(vo[wo],vo[0],Co[wo],bo[0]),xo+=Eo[wo].addedLength),ho.totalLength=xo,ho}function io(fo){this.segmentLength=0,this.points=new Array(fo)}function oo(fo,ho){this.partialLength=fo,this.point=ho}var ao=(function(){var fo={};return function(ho,mo,vo,Co){var bo=(ho[0]+"_"+ho[1]+"_"+mo[0]+"_"+mo[1]+"_"+vo[0]+"_"+vo[1]+"_"+Co[0]+"_"+Co[1]).replace(/\./g,"p");if(!fo[bo]){var wo=getDefaultCurveSegments(),yo,Eo,xo,So,To,Ro=0,Po,zo,Ho=null;ho.length===2&&(ho[0]!==mo[0]||ho[1]!==mo[1])&&eo(ho[0],ho[1],mo[0],mo[1],ho[0]+vo[0],ho[1]+vo[1])&&eo(ho[0],ho[1],mo[0],mo[1],mo[0]+Co[0],mo[1]+Co[1])&&(wo=2);var Vo=new io(wo);for(xo=vo.length,yo=0;yo<wo;yo+=1){for(zo=createSizedArray(xo),To=yo/(wo-1),Po=0,Eo=0;Eo<xo;Eo+=1)So=bmPow(1-To,3)*ho[Eo]+3*bmPow(1-To,2)*To*(ho[Eo]+vo[Eo])+3*(1-To)*bmPow(To,2)*(mo[Eo]+Co[Eo])+bmPow(To,3)*mo[Eo],zo[Eo]=So,Ho!==null&&(Po+=bmPow(zo[Eo]-Ho[Eo],2));Po=bmSqrt(Po),Ro+=Po,Vo.points[yo]=new oo(Po,zo),Ho=zo}Vo.segmentLength=Ro,fo[bo]=Vo}return fo[bo]}})();function so(fo,ho){var mo=ho.percents,vo=ho.lengths,Co=mo.length,bo=bmFloor((Co-1)*fo),wo=fo*ho.addedLength,yo=0;if(bo===Co-1||bo===0||wo===vo[bo])return mo[bo];for(var Eo=vo[bo]>wo?-1:1,xo=!0;xo;)if(vo[bo]<=wo&&vo[bo+1]>wo?(yo=(wo-vo[bo])/(vo[bo+1]-vo[bo]),xo=!1):bo+=Eo,bo<0||bo>=Co-1){if(bo===Co-1)return mo[bo];xo=!1}return mo[bo]+(mo[bo+1]-mo[bo])*yo}function lo(fo,ho,mo,vo,Co,bo){var wo=so(Co,bo),yo=1-wo,Eo=Yi.round((yo*yo*yo*fo[0]+(wo*yo*yo+yo*wo*yo+yo*yo*wo)*mo[0]+(wo*wo*yo+yo*wo*wo+wo*yo*wo)*vo[0]+wo*wo*wo*ho[0])*1e3)/1e3,xo=Yi.round((yo*yo*yo*fo[1]+(wo*yo*yo+yo*wo*yo+yo*yo*wo)*mo[1]+(wo*wo*yo+yo*wo*wo+wo*yo*wo)*vo[1]+wo*wo*wo*ho[1])*1e3)/1e3;return[Eo,xo]}var co=createTypedArray("float32",8);function uo(fo,ho,mo,vo,Co,bo,wo){Co<0?Co=0:Co>1&&(Co=1);var yo=so(Co,wo);bo=bo>1?1:bo;var Eo=so(bo,wo),xo,So=fo.length,To=1-yo,Ro=1-Eo,Po=To*To*To,zo=yo*To*To*3,Ho=yo*yo*To*3,Vo=yo*yo*yo,Lo=To*To*Ro,Uo=yo*To*Ro+To*yo*Ro+To*To*Eo,Do=yo*yo*Ro+To*yo*Eo+yo*To*Eo,Oo=yo*yo*Eo,ko=To*Ro*Ro,Bo=yo*Ro*Ro+To*Eo*Ro+To*Ro*Eo,Fo=yo*Eo*Ro+To*Eo*Eo+yo*Ro*Eo,Qo=yo*Eo*Eo,jo=Ro*Ro*Ro,Xo=Eo*Ro*Ro+Ro*Eo*Ro+Ro*Ro*Eo,Zo=Eo*Eo*Ro+Ro*Eo*Eo+Eo*Ro*Eo,Wo=Eo*Eo*Eo;for(xo=0;xo<So;xo+=1)co[xo*4]=Yi.round((Po*fo[xo]+zo*mo[xo]+Ho*vo[xo]+Vo*ho[xo])*1e3)/1e3,co[xo*4+1]=Yi.round((Lo*fo[xo]+Uo*mo[xo]+Do*vo[xo]+Oo*ho[xo])*1e3)/1e3,co[xo*4+2]=Yi.round((ko*fo[xo]+Bo*mo[xo]+Fo*vo[xo]+Qo*ho[xo])*1e3)/1e3,co[xo*4+3]=Yi.round((jo*fo[xo]+Xo*mo[xo]+Zo*vo[xo]+Wo*ho[xo])*1e3)/1e3;return co}return{getSegmentsLength:no,getNewSegment:uo,getPointInSegment:lo,buildBezierData:ao,pointOnLine2D:eo,pointOnLine3D:to}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(Yi,eo){var to=this.offsetTime,ro;this.propType==="multidimensional"&&(ro=createTypedArray("float32",this.pv.length));for(var no=eo.lastIndex,io=no,oo=this.keyframes.length-1,ao=!0,so,lo,co;ao;){if(so=this.keyframes[io],lo=this.keyframes[io+1],io===oo-1&&Yi>=lo.t-to){so.h&&(so=lo),no=0;break}if(lo.t-to>Yi){no=io;break}io<oo-1?io+=1:(no=0,ao=!1)}co=this.keyframesMetadata[io]||{};var uo,fo,ho,mo,vo,Co,bo=lo.t-to,wo=so.t-to,yo;if(so.to){co.bezierData||(co.bezierData=bez.buildBezierData(so.s,lo.s||so.e,so.to,so.ti));var Eo=co.bezierData;if(Yi>=bo||Yi<wo){var xo=Yi>=bo?Eo.points.length-1:0;for(fo=Eo.points[xo].point.length,uo=0;uo<fo;uo+=1)ro[uo]=Eo.points[xo].point[uo]}else{co.__fnct?Co=co.__fnct:(Co=BezierFactory.getBezierEasing(so.o.x,so.o.y,so.i.x,so.i.y,so.n).get,co.__fnct=Co),ho=Co((Yi-wo)/(bo-wo));var So=Eo.segmentLength*ho,To,Ro=eo.lastFrame<Yi&&eo._lastKeyframeIndex===io?eo._lastAddedLength:0;for(vo=eo.lastFrame<Yi&&eo._lastKeyframeIndex===io?eo._lastPoint:0,ao=!0,mo=Eo.points.length;ao;){if(Ro+=Eo.points[vo].partialLength,So===0||ho===0||vo===Eo.points.length-1){for(fo=Eo.points[vo].point.length,uo=0;uo<fo;uo+=1)ro[uo]=Eo.points[vo].point[uo];break}else if(So>=Ro&&So<Ro+Eo.points[vo+1].partialLength){for(To=(So-Ro)/Eo.points[vo+1].partialLength,fo=Eo.points[vo].point.length,uo=0;uo<fo;uo+=1)ro[uo]=Eo.points[vo].point[uo]+(Eo.points[vo+1].point[uo]-Eo.points[vo].point[uo])*To;break}vo<mo-1?vo+=1:ao=!1}eo._lastPoint=vo,eo._lastAddedLength=Ro-Eo.points[vo].partialLength,eo._lastKeyframeIndex=io}}else{var Po,zo,Ho,Vo,Lo;if(oo=so.s.length,yo=lo.s||so.e,this.sh&&so.h!==1)if(Yi>=bo)ro[0]=yo[0],ro[1]=yo[1],ro[2]=yo[2];else if(Yi<=wo)ro[0]=so.s[0],ro[1]=so.s[1],ro[2]=so.s[2];else{var Uo=createQuaternion(so.s),Do=createQuaternion(yo),Oo=(Yi-wo)/(bo-wo);quaternionToEuler(ro,slerp(Uo,Do,Oo))}else for(io=0;io<oo;io+=1)so.h!==1&&(Yi>=bo?ho=1:Yi<wo?ho=0:(so.o.x.constructor===Array?(co.__fnct||(co.__fnct=[]),co.__fnct[io]?Co=co.__fnct[io]:(Po=so.o.x[io]===void 0?so.o.x[0]:so.o.x[io],zo=so.o.y[io]===void 0?so.o.y[0]:so.o.y[io],Ho=so.i.x[io]===void 0?so.i.x[0]:so.i.x[io],Vo=so.i.y[io]===void 0?so.i.y[0]:so.i.y[io],Co=BezierFactory.getBezierEasing(Po,zo,Ho,Vo).get,co.__fnct[io]=Co)):co.__fnct?Co=co.__fnct:(Po=so.o.x,zo=so.o.y,Ho=so.i.x,Vo=so.i.y,Co=BezierFactory.getBezierEasing(Po,zo,Ho,Vo).get,so.keyframeMetadata=Co),ho=Co((Yi-wo)/(bo-wo)))),yo=lo.s||so.e,Lo=so.h===1?so.s[io]:so.s[io]+(yo[io]-so.s[io])*ho,this.propType==="multidimensional"?ro[io]=Lo:ro=Lo}return eo.lastIndex=no,ro}function slerp(Yi,eo,to){var ro=[],no=Yi[0],io=Yi[1],oo=Yi[2],ao=Yi[3],so=eo[0],lo=eo[1],co=eo[2],uo=eo[3],fo,ho,mo,vo,Co;return ho=no*so+io*lo+oo*co+ao*uo,ho<0&&(ho=-ho,so=-so,lo=-lo,co=-co,uo=-uo),1-ho>1e-6?(fo=Math.acos(ho),mo=Math.sin(fo),vo=Math.sin((1-to)*fo)/mo,Co=Math.sin(to*fo)/mo):(vo=1-to,Co=to),ro[0]=vo*no+Co*so,ro[1]=vo*io+Co*lo,ro[2]=vo*oo+Co*co,ro[3]=vo*ao+Co*uo,ro}function quaternionToEuler(Yi,eo){var to=eo[0],ro=eo[1],no=eo[2],io=eo[3],oo=Math.atan2(2*ro*io-2*to*no,1-2*ro*ro-2*no*no),ao=Math.asin(2*to*ro+2*no*io),so=Math.atan2(2*to*io-2*ro*no,1-2*to*to-2*no*no);Yi[0]=oo/degToRads,Yi[1]=ao/degToRads,Yi[2]=so/degToRads}function createQuaternion(Yi){var eo=Yi[0]*degToRads,to=Yi[1]*degToRads,ro=Yi[2]*degToRads,no=Math.cos(eo/2),io=Math.cos(to/2),oo=Math.cos(ro/2),ao=Math.sin(eo/2),so=Math.sin(to/2),lo=Math.sin(ro/2),co=no*io*oo-ao*so*lo,uo=ao*so*oo+no*io*lo,fo=ao*io*oo+no*so*lo,ho=no*so*oo-ao*io*lo;return[uo,fo,ho,co]}function getValueAtCurrentTime(){var Yi=this.comp.renderedFrame-this.offsetTime,eo=this.keyframes[0].t-this.offsetTime,to=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(Yi===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=to&&Yi>=to||this._caching.lastFrame<eo&&Yi<eo))){this._caching.lastFrame>=Yi&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var ro=this.interpolateValue(Yi,this._caching);this.pv=ro}return this._caching.lastFrame=Yi,this.pv}function setVValue(Yi){var eo;if(this.propType==="unidimensional")eo=Yi*this.mult,mathAbs(this.v-eo)>1e-5&&(this.v=eo,this._mdf=!0);else for(var to=0,ro=this.v.length;to<ro;)eo=Yi[to]*this.mult,mathAbs(this.v[to]-eo)>1e-5&&(this.v[to]=eo,this._mdf=!0),to+=1}function processEffectsSequence(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var Yi,eo=this.effectsSequence.length,to=this.kf?this.pv:this.data.k;for(Yi=0;Yi<eo;Yi+=1)to=this.effectsSequence[Yi](to);this.setVValue(to),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(Yi){this.effectsSequence.push(Yi),this.container.addDynamicProperty(this)}function ValueProperty(Yi,eo,to,ro){this.propType="unidimensional",this.mult=to||1,this.data=eo,this.v=to?eo.k*to:eo.k,this.pv=eo.k,this._mdf=!1,this.elem=Yi,this.container=ro,this.comp=Yi.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(Yi,eo,to,ro){this.propType="multidimensional",this.mult=to||1,this.data=eo,this._mdf=!1,this.elem=Yi,this.container=ro,this.comp=Yi.comp,this.k=!1,this.kf=!1,this.frameId=-1;var no,io=eo.k.length;for(this.v=createTypedArray("float32",io),this.pv=createTypedArray("float32",io),this.vel=createTypedArray("float32",io),no=0;no<io;no+=1)this.v[no]=eo.k[no]*this.mult,this.pv[no]=eo.k[no];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(Yi,eo,to,ro){this.propType="unidimensional",this.keyframes=eo.k,this.keyframesMetadata=[],this.offsetTime=Yi.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=eo,this.mult=to||1,this.elem=Yi,this.container=ro,this.comp=Yi.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(Yi,eo,to,ro){this.propType="multidimensional";var no,io=eo.k.length,oo,ao,so,lo;for(no=0;no<io-1;no+=1)eo.k[no].to&&eo.k[no].s&&eo.k[no+1]&&eo.k[no+1].s&&(oo=eo.k[no].s,ao=eo.k[no+1].s,so=eo.k[no].to,lo=eo.k[no].ti,(oo.length===2&&!(oo[0]===ao[0]&&oo[1]===ao[1])&&bez.pointOnLine2D(oo[0],oo[1],ao[0],ao[1],oo[0]+so[0],oo[1]+so[1])&&bez.pointOnLine2D(oo[0],oo[1],ao[0],ao[1],ao[0]+lo[0],ao[1]+lo[1])||oo.length===3&&!(oo[0]===ao[0]&&oo[1]===ao[1]&&oo[2]===ao[2])&&bez.pointOnLine3D(oo[0],oo[1],oo[2],ao[0],ao[1],ao[2],oo[0]+so[0],oo[1]+so[1],oo[2]+so[2])&&bez.pointOnLine3D(oo[0],oo[1],oo[2],ao[0],ao[1],ao[2],ao[0]+lo[0],ao[1]+lo[1],ao[2]+lo[2]))&&(eo.k[no].to=null,eo.k[no].ti=null),oo[0]===ao[0]&&oo[1]===ao[1]&&so[0]===0&&so[1]===0&&lo[0]===0&&lo[1]===0&&(oo.length===2||oo[2]===ao[2]&&so[2]===0&&lo[2]===0)&&(eo.k[no].to=null,eo.k[no].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=eo,this.keyframes=eo.k,this.keyframesMetadata=[],this.offsetTime=Yi.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=to||1,this.elem=Yi,this.container=ro,this.comp=Yi.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var co=eo.k[0].s.length;for(this.v=createTypedArray("float32",co),this.pv=createTypedArray("float32",co),no=0;no<co;no+=1)this.v[no]=initFrame,this.pv[no]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",co)},this.addEffect=addEffect}var PropertyFactory=(function(){function Yi(to,ro,no,io,oo){ro.sid&&(ro=to.globalData.slotManager.getProp(ro));var ao;if(!ro.k.length)ao=new ValueProperty(to,ro,io,oo);else if(typeof ro.k[0]=="number")ao=new MultiDimensionalProperty(to,ro,io,oo);else switch(no){case 0:ao=new KeyframedValueProperty(to,ro,io,oo);break;case 1:ao=new KeyframedMultidimensionalProperty(to,ro,io,oo);break}return ao.effectsSequence.length&&oo.addDynamicProperty(ao),ao}var eo={getProp:Yi};return eo})();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(eo){this.dynamicProperties.indexOf(eo)===-1&&(this.dynamicProperties.push(eo),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var eo,to=this.dynamicProperties.length;for(eo=0;eo<to;eo+=1)this.dynamicProperties[eo].getValue(),this.dynamicProperties[eo]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(eo){this.container=eo,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=(function(){function Yi(){return createTypedArray("float32",2)}return poolFactory(8,Yi)})();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(Yi,eo){this.c=Yi,this.setLength(eo);for(var to=0;to<eo;)this.v[to]=pointPool.newElement(),this.o[to]=pointPool.newElement(),this.i[to]=pointPool.newElement(),to+=1},ShapePath.prototype.setLength=function(Yi){for(;this._maxLength<Yi;)this.doubleArrayLength();this._length=Yi},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(Yi,eo,to,ro,no){var io;switch(this._length=Math.max(this._length,ro+1),this._length>=this._maxLength&&this.doubleArrayLength(),to){case"v":io=this.v;break;case"i":io=this.i;break;case"o":io=this.o;break;default:io=[];break}(!io[ro]||io[ro]&&!no)&&(io[ro]=pointPool.newElement()),io[ro][0]=Yi,io[ro][1]=eo},ShapePath.prototype.setTripleAt=function(Yi,eo,to,ro,no,io,oo,ao){this.setXYAt(Yi,eo,"v",oo,ao),this.setXYAt(to,ro,"o",oo,ao),this.setXYAt(no,io,"i",oo,ao)},ShapePath.prototype.reverse=function(){var Yi=new ShapePath;Yi.setPathData(this.c,this._length);var eo=this.v,to=this.o,ro=this.i,no=0;this.c&&(Yi.setTripleAt(eo[0][0],eo[0][1],ro[0][0],ro[0][1],to[0][0],to[0][1],0,!1),no=1);var io=this._length-1,oo=this._length,ao;for(ao=no;ao<oo;ao+=1)Yi.setTripleAt(eo[io][0],eo[io][1],ro[io][0],ro[io][1],to[io][0],to[io][1],ao,!1),io-=1;return Yi},ShapePath.prototype.length=function(){return this._length};var shapePool=(function(){function Yi(){return new ShapePath}function eo(no){var io=no._length,oo;for(oo=0;oo<io;oo+=1)pointPool.release(no.v[oo]),pointPool.release(no.i[oo]),pointPool.release(no.o[oo]),no.v[oo]=null,no.i[oo]=null,no.o[oo]=null;no._length=0,no.c=!1}function to(no){var io=ro.newElement(),oo,ao=no._length===void 0?no.v.length:no._length;for(io.setLength(ao),io.c=no.c,oo=0;oo<ao;oo+=1)io.setTripleAt(no.v[oo][0],no.v[oo][1],no.o[oo][0],no.o[oo][1],no.i[oo][0],no.i[oo][1],oo);return io}var ro=poolFactory(4,Yi,eo);return ro.clone=to,ro})();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(Yi){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=Yi,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var Yi;for(Yi=0;Yi<this._length;Yi+=1)shapePool.release(this.shapes[Yi]);this._length=0};var shapeCollectionPool=(function(){var Yi={newShapeCollection:no,release:io},eo=0,to=4,ro=createSizedArray(to);function no(){var oo;return eo?(eo-=1,oo=ro[eo]):oo=new ShapeCollection,oo}function io(oo){var ao,so=oo._length;for(ao=0;ao<so;ao+=1)shapePool.release(oo.shapes[ao]);oo._length=0,eo===to&&(ro=pooling.double(ro),to*=2),ro[eo]=oo,eo+=1}return Yi})(),ShapePropertyFactory=(function(){var Yi=-999999;function eo(bo,wo,yo){var Eo=yo.lastIndex,xo,So,To,Ro,Po,zo,Ho,Vo,Lo,Uo=this.keyframes;if(bo<Uo[0].t-this.offsetTime)xo=Uo[0].s[0],To=!0,Eo=0;else if(bo>=Uo[Uo.length-1].t-this.offsetTime)xo=Uo[Uo.length-1].s?Uo[Uo.length-1].s[0]:Uo[Uo.length-2].e[0],To=!0;else{for(var Do=Eo,Oo=Uo.length-1,ko=!0,Bo,Fo,Qo;ko&&(Bo=Uo[Do],Fo=Uo[Do+1],!(Fo.t-this.offsetTime>bo));)Do<Oo-1?Do+=1:ko=!1;if(Qo=this.keyframesMetadata[Do]||{},To=Bo.h===1,Eo=Do,!To){if(bo>=Fo.t-this.offsetTime)Vo=1;else if(bo<Bo.t-this.offsetTime)Vo=0;else{var jo;Qo.__fnct?jo=Qo.__fnct:(jo=BezierFactory.getBezierEasing(Bo.o.x,Bo.o.y,Bo.i.x,Bo.i.y).get,Qo.__fnct=jo),Vo=jo((bo-(Bo.t-this.offsetTime))/(Fo.t-this.offsetTime-(Bo.t-this.offsetTime)))}So=Fo.s?Fo.s[0]:Bo.e[0]}xo=Bo.s[0]}for(zo=wo._length,Ho=xo.i[0].length,yo.lastIndex=Eo,Ro=0;Ro<zo;Ro+=1)for(Po=0;Po<Ho;Po+=1)Lo=To?xo.i[Ro][Po]:xo.i[Ro][Po]+(So.i[Ro][Po]-xo.i[Ro][Po])*Vo,wo.i[Ro][Po]=Lo,Lo=To?xo.o[Ro][Po]:xo.o[Ro][Po]+(So.o[Ro][Po]-xo.o[Ro][Po])*Vo,wo.o[Ro][Po]=Lo,Lo=To?xo.v[Ro][Po]:xo.v[Ro][Po]+(So.v[Ro][Po]-xo.v[Ro][Po])*Vo,wo.v[Ro][Po]=Lo}function to(){var bo=this.comp.renderedFrame-this.offsetTime,wo=this.keyframes[0].t-this.offsetTime,yo=this.keyframes[this.keyframes.length-1].t-this.offsetTime,Eo=this._caching.lastFrame;return Eo!==Yi&&(Eo<wo&&bo<wo||Eo>yo&&bo>yo)||(this._caching.lastIndex=Eo<bo?this._caching.lastIndex:0,this.interpolateShape(bo,this.pv,this._caching)),this._caching.lastFrame=bo,this.pv}function ro(){this.paths=this.localShapeCollection}function no(bo,wo){if(bo._length!==wo._length||bo.c!==wo.c)return!1;var yo,Eo=bo._length;for(yo=0;yo<Eo;yo+=1)if(bo.v[yo][0]!==wo.v[yo][0]||bo.v[yo][1]!==wo.v[yo][1]||bo.o[yo][0]!==wo.o[yo][0]||bo.o[yo][1]!==wo.o[yo][1]||bo.i[yo][0]!==wo.i[yo][0]||bo.i[yo][1]!==wo.i[yo][1])return!1;return!0}function io(bo){no(this.v,bo)||(this.v=shapePool.clone(bo),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function oo(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var bo;this.kf?bo=this.pv:this.data.ks?bo=this.data.ks.k:bo=this.data.pt.k;var wo,yo=this.effectsSequence.length;for(wo=0;wo<yo;wo+=1)bo=this.effectsSequence[wo](bo);this.setVValue(bo),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function ao(bo,wo,yo){this.propType="shape",this.comp=bo.comp,this.container=bo,this.elem=bo,this.data=wo,this.k=!1,this.kf=!1,this._mdf=!1;var Eo=yo===3?wo.pt.k:wo.ks.k;this.v=shapePool.clone(Eo),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=ro,this.effectsSequence=[]}function so(bo){this.effectsSequence.push(bo),this.container.addDynamicProperty(this)}ao.prototype.interpolateShape=eo,ao.prototype.getValue=oo,ao.prototype.setVValue=io,ao.prototype.addEffect=so;function lo(bo,wo,yo){this.propType="shape",this.comp=bo.comp,this.elem=bo,this.container=bo,this.offsetTime=bo.data.st,this.keyframes=yo===3?wo.pt.k:wo.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var Eo=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,Eo),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=Yi,this.reset=ro,this._caching={lastFrame:Yi,lastIndex:0},this.effectsSequence=[to.bind(this)]}lo.prototype.getValue=oo,lo.prototype.interpolateShape=eo,lo.prototype.setVValue=io,lo.prototype.addEffect=so;var co=(function(){var bo=roundCorner;function wo(yo,Eo){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=Eo.d,this.elem=yo,this.comp=yo.comp,this.frameId=-1,this.initDynamicPropertyContainer(yo),this.p=PropertyFactory.getProp(yo,Eo.p,1,0,this),this.s=PropertyFactory.getProp(yo,Eo.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return wo.prototype={reset:ro,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var Eo=this.p.v[0],xo=this.p.v[1],So=this.s.v[0]/2,To=this.s.v[1]/2,Ro=this.d!==3,Po=this.v;Po.v[0][0]=Eo,Po.v[0][1]=xo-To,Po.v[1][0]=Ro?Eo+So:Eo-So,Po.v[1][1]=xo,Po.v[2][0]=Eo,Po.v[2][1]=xo+To,Po.v[3][0]=Ro?Eo-So:Eo+So,Po.v[3][1]=xo,Po.i[0][0]=Ro?Eo-So*bo:Eo+So*bo,Po.i[0][1]=xo-To,Po.i[1][0]=Ro?Eo+So:Eo-So,Po.i[1][1]=xo-To*bo,Po.i[2][0]=Ro?Eo+So*bo:Eo-So*bo,Po.i[2][1]=xo+To,Po.i[3][0]=Ro?Eo-So:Eo+So,Po.i[3][1]=xo+To*bo,Po.o[0][0]=Ro?Eo+So*bo:Eo-So*bo,Po.o[0][1]=xo-To,Po.o[1][0]=Ro?Eo+So:Eo-So,Po.o[1][1]=xo+To*bo,Po.o[2][0]=Ro?Eo-So*bo:Eo+So*bo,Po.o[2][1]=xo+To,Po.o[3][0]=Ro?Eo-So:Eo+So,Po.o[3][1]=xo-To*bo}},extendPrototype([DynamicPropertyContainer],wo),wo})(),uo=(function(){function bo(wo,yo){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=wo,this.comp=wo.comp,this.data=yo,this.frameId=-1,this.d=yo.d,this.initDynamicPropertyContainer(wo),yo.sy===1?(this.ir=PropertyFactory.getProp(wo,yo.ir,0,0,this),this.is=PropertyFactory.getProp(wo,yo.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(wo,yo.pt,0,0,this),this.p=PropertyFactory.getProp(wo,yo.p,1,0,this),this.r=PropertyFactory.getProp(wo,yo.r,0,degToRads,this),this.or=PropertyFactory.getProp(wo,yo.or,0,0,this),this.os=PropertyFactory.getProp(wo,yo.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return bo.prototype={reset:ro,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var yo=Math.floor(this.pt.v)*2,Eo=Math.PI*2/yo,xo=!0,So=this.or.v,To=this.ir.v,Ro=this.os.v,Po=this.is.v,zo=2*Math.PI*So/(yo*2),Ho=2*Math.PI*To/(yo*2),Vo,Lo,Uo,Do,Oo=-Math.PI/2;Oo+=this.r.v;var ko=this.data.d===3?-1:1;for(this.v._length=0,Vo=0;Vo<yo;Vo+=1){Lo=xo?So:To,Uo=xo?Ro:Po,Do=xo?zo:Ho;var Bo=Lo*Math.cos(Oo),Fo=Lo*Math.sin(Oo),Qo=Bo===0&&Fo===0?0:Fo/Math.sqrt(Bo*Bo+Fo*Fo),jo=Bo===0&&Fo===0?0:-Bo/Math.sqrt(Bo*Bo+Fo*Fo);Bo+=+this.p.v[0],Fo+=+this.p.v[1],this.v.setTripleAt(Bo,Fo,Bo-Qo*Do*Uo*ko,Fo-jo*Do*Uo*ko,Bo+Qo*Do*Uo*ko,Fo+jo*Do*Uo*ko,Vo,!0),xo=!xo,Oo+=Eo*ko}},convertPolygonToPath:function(){var yo=Math.floor(this.pt.v),Eo=Math.PI*2/yo,xo=this.or.v,So=this.os.v,To=2*Math.PI*xo/(yo*4),Ro,Po=-Math.PI*.5,zo=this.data.d===3?-1:1;for(Po+=this.r.v,this.v._length=0,Ro=0;Ro<yo;Ro+=1){var Ho=xo*Math.cos(Po),Vo=xo*Math.sin(Po),Lo=Ho===0&&Vo===0?0:Vo/Math.sqrt(Ho*Ho+Vo*Vo),Uo=Ho===0&&Vo===0?0:-Ho/Math.sqrt(Ho*Ho+Vo*Vo);Ho+=+this.p.v[0],Vo+=+this.p.v[1],this.v.setTripleAt(Ho,Vo,Ho-Lo*To*So*zo,Vo-Uo*To*So*zo,Ho+Lo*To*So*zo,Vo+Uo*To*So*zo,Ro,!0),Po+=Eo*zo}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],bo),bo})(),fo=(function(){function bo(wo,yo){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=wo,this.comp=wo.comp,this.frameId=-1,this.d=yo.d,this.initDynamicPropertyContainer(wo),this.p=PropertyFactory.getProp(wo,yo.p,1,0,this),this.s=PropertyFactory.getProp(wo,yo.s,1,0,this),this.r=PropertyFactory.getProp(wo,yo.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return bo.prototype={convertRectToPath:function(){var yo=this.p.v[0],Eo=this.p.v[1],xo=this.s.v[0]/2,So=this.s.v[1]/2,To=bmMin(xo,So,this.r.v),Ro=To*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(yo+xo,Eo-So+To,yo+xo,Eo-So+To,yo+xo,Eo-So+Ro,0,!0),this.v.setTripleAt(yo+xo,Eo+So-To,yo+xo,Eo+So-Ro,yo+xo,Eo+So-To,1,!0),To!==0?(this.v.setTripleAt(yo+xo-To,Eo+So,yo+xo-To,Eo+So,yo+xo-Ro,Eo+So,2,!0),this.v.setTripleAt(yo-xo+To,Eo+So,yo-xo+Ro,Eo+So,yo-xo+To,Eo+So,3,!0),this.v.setTripleAt(yo-xo,Eo+So-To,yo-xo,Eo+So-To,yo-xo,Eo+So-Ro,4,!0),this.v.setTripleAt(yo-xo,Eo-So+To,yo-xo,Eo-So+Ro,yo-xo,Eo-So+To,5,!0),this.v.setTripleAt(yo-xo+To,Eo-So,yo-xo+To,Eo-So,yo-xo+Ro,Eo-So,6,!0),this.v.setTripleAt(yo+xo-To,Eo-So,yo+xo-Ro,Eo-So,yo+xo-To,Eo-So,7,!0)):(this.v.setTripleAt(yo-xo,Eo+So,yo-xo+Ro,Eo+So,yo-xo,Eo+So,2),this.v.setTripleAt(yo-xo,Eo-So,yo-xo,Eo-So+Ro,yo-xo,Eo-So,3))):(this.v.setTripleAt(yo+xo,Eo-So+To,yo+xo,Eo-So+Ro,yo+xo,Eo-So+To,0,!0),To!==0?(this.v.setTripleAt(yo+xo-To,Eo-So,yo+xo-To,Eo-So,yo+xo-Ro,Eo-So,1,!0),this.v.setTripleAt(yo-xo+To,Eo-So,yo-xo+Ro,Eo-So,yo-xo+To,Eo-So,2,!0),this.v.setTripleAt(yo-xo,Eo-So+To,yo-xo,Eo-So+To,yo-xo,Eo-So+Ro,3,!0),this.v.setTripleAt(yo-xo,Eo+So-To,yo-xo,Eo+So-Ro,yo-xo,Eo+So-To,4,!0),this.v.setTripleAt(yo-xo+To,Eo+So,yo-xo+To,Eo+So,yo-xo+Ro,Eo+So,5,!0),this.v.setTripleAt(yo+xo-To,Eo+So,yo+xo-Ro,Eo+So,yo+xo-To,Eo+So,6,!0),this.v.setTripleAt(yo+xo,Eo+So-To,yo+xo,Eo+So-To,yo+xo,Eo+So-Ro,7,!0)):(this.v.setTripleAt(yo-xo,Eo-So,yo-xo+Ro,Eo-So,yo-xo,Eo-So,1,!0),this.v.setTripleAt(yo-xo,Eo+So,yo-xo,Eo+So-Ro,yo-xo,Eo+So,2,!0),this.v.setTripleAt(yo+xo,Eo+So,yo+xo-Ro,Eo+So,yo+xo,Eo+So,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:ro},extendPrototype([DynamicPropertyContainer],bo),bo})();function ho(bo,wo,yo){var Eo;if(yo===3||yo===4){var xo=yo===3?wo.pt:wo.ks,So=xo.k;So.length?Eo=new lo(bo,wo,yo):Eo=new ao(bo,wo,yo)}else yo===5?Eo=new fo(bo,wo):yo===6?Eo=new co(bo,wo):yo===7&&(Eo=new uo(bo,wo));return Eo.k&&bo.addDynamicProperty(Eo),Eo}function mo(){return ao}function vo(){return lo}var Co={};return Co.getShapeProp=ho,Co.getConstructorFunction=mo,Co.getKeyframedConstructorFunction=vo,Co})();/*!
364 Transformation Matrix v2.0
365 (c) Epistemex 2014-2015
366 www.epistemex.com
367 By Ken Fyrstenberg
368 Contributions by leeoniya.
369 License: MIT, header required.
370 */var Matrix=(function(){var Yi=Math.cos,eo=Math.sin,to=Math.tan,ro=Math.round;function no(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function io(Bo){if(Bo===0)return this;var Fo=Yi(Bo),Qo=eo(Bo);return this._t(Fo,-Qo,0,0,Qo,Fo,0,0,0,0,1,0,0,0,0,1)}function oo(Bo){if(Bo===0)return this;var Fo=Yi(Bo),Qo=eo(Bo);return this._t(1,0,0,0,0,Fo,-Qo,0,0,Qo,Fo,0,0,0,0,1)}function ao(Bo){if(Bo===0)return this;var Fo=Yi(Bo),Qo=eo(Bo);return this._t(Fo,0,Qo,0,0,1,0,0,-Qo,0,Fo,0,0,0,0,1)}function so(Bo){if(Bo===0)return this;var Fo=Yi(Bo),Qo=eo(Bo);return this._t(Fo,-Qo,0,0,Qo,Fo,0,0,0,0,1,0,0,0,0,1)}function lo(Bo,Fo){return this._t(1,Fo,Bo,1,0,0)}function co(Bo,Fo){return this.shear(to(Bo),to(Fo))}function uo(Bo,Fo){var Qo=Yi(Fo),jo=eo(Fo);return this._t(Qo,jo,0,0,-jo,Qo,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,to(Bo),1,0,0,0,0,1,0,0,0,0,1)._t(Qo,-jo,0,0,jo,Qo,0,0,0,0,1,0,0,0,0,1)}function fo(Bo,Fo,Qo){return!Qo&&Qo!==0&&(Qo=1),Bo===1&&Fo===1&&Qo===1?this:this._t(Bo,0,0,0,0,Fo,0,0,0,0,Qo,0,0,0,0,1)}function ho(Bo,Fo,Qo,jo,Xo,Zo,Wo,ta,ra,da,pa,sa,ya,na,ea,oa){return this.props[0]=Bo,this.props[1]=Fo,this.props[2]=Qo,this.props[3]=jo,this.props[4]=Xo,this.props[5]=Zo,this.props[6]=Wo,this.props[7]=ta,this.props[8]=ra,this.props[9]=da,this.props[10]=pa,this.props[11]=sa,this.props[12]=ya,this.props[13]=na,this.props[14]=ea,this.props[15]=oa,this}function mo(Bo,Fo,Qo){return Qo=Qo||0,Bo!==0||Fo!==0||Qo!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,Bo,Fo,Qo,1):this}function vo(Bo,Fo,Qo,jo,Xo,Zo,Wo,ta,ra,da,pa,sa,ya,na,ea,oa){var la=this.props;if(Bo===1&&Fo===0&&Qo===0&&jo===0&&Xo===0&&Zo===1&&Wo===0&&ta===0&&ra===0&&da===0&&pa===1&&sa===0)return la[12]=la[12]*Bo+la[15]*ya,la[13]=la[13]*Zo+la[15]*na,la[14]=la[14]*pa+la[15]*ea,la[15]*=oa,this._identityCalculated=!1,this;var _a=la[0],Ea=la[1],Pa=la[2],aa=la[3],Ca=la[4],Sa=la[5],Ia=la[6],Ta=la[7],va=la[8],xa=la[9],Oa=la[10],Da=la[11],ia=la[12],Ko=la[13],Yo=la[14],ma=la[15];return la[0]=_a*Bo+Ea*Xo+Pa*ra+aa*ya,la[1]=_a*Fo+Ea*Zo+Pa*da+aa*na,la[2]=_a*Qo+Ea*Wo+Pa*pa+aa*ea,la[3]=_a*jo+Ea*ta+Pa*sa+aa*oa,la[4]=Ca*Bo+Sa*Xo+Ia*ra+Ta*ya,la[5]=Ca*Fo+Sa*Zo+Ia*da+Ta*na,la[6]=Ca*Qo+Sa*Wo+Ia*pa+Ta*ea,la[7]=Ca*jo+Sa*ta+Ia*sa+Ta*oa,la[8]=va*Bo+xa*Xo+Oa*ra+Da*ya,la[9]=va*Fo+xa*Zo+Oa*da+Da*na,la[10]=va*Qo+xa*Wo+Oa*pa+Da*ea,la[11]=va*jo+xa*ta+Oa*sa+Da*oa,la[12]=ia*Bo+Ko*Xo+Yo*ra+ma*ya,la[13]=ia*Fo+Ko*Zo+Yo*da+ma*na,la[14]=ia*Qo+Ko*Wo+Yo*pa+ma*ea,la[15]=ia*jo+Ko*ta+Yo*sa+ma*oa,this._identityCalculated=!1,this}function Co(Bo){var Fo=Bo.props;return this.transform(Fo[0],Fo[1],Fo[2],Fo[3],Fo[4],Fo[5],Fo[6],Fo[7],Fo[8],Fo[9],Fo[10],Fo[11],Fo[12],Fo[13],Fo[14],Fo[15])}function bo(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function wo(Bo){for(var Fo=0;Fo<16;){if(Bo.props[Fo]!==this.props[Fo])return!1;Fo+=1}return!0}function yo(Bo){var Fo;for(Fo=0;Fo<16;Fo+=1)Bo.props[Fo]=this.props[Fo];return Bo}function Eo(Bo){var Fo;for(Fo=0;Fo<16;Fo+=1)this.props[Fo]=Bo[Fo]}function xo(Bo,Fo,Qo){return{x:Bo*this.props[0]+Fo*this.props[4]+Qo*this.props[8]+this.props[12],y:Bo*this.props[1]+Fo*this.props[5]+Qo*this.props[9]+this.props[13],z:Bo*this.props[2]+Fo*this.props[6]+Qo*this.props[10]+this.props[14]}}function So(Bo,Fo,Qo){return Bo*this.props[0]+Fo*this.props[4]+Qo*this.props[8]+this.props[12]}function To(Bo,Fo,Qo){return Bo*this.props[1]+Fo*this.props[5]+Qo*this.props[9]+this.props[13]}function Ro(Bo,Fo,Qo){return Bo*this.props[2]+Fo*this.props[6]+Qo*this.props[10]+this.props[14]}function Po(){var Bo=this.props[0]*this.props[5]-this.props[1]*this.props[4],Fo=this.props[5]/Bo,Qo=-this.props[1]/Bo,jo=-this.props[4]/Bo,Xo=this.props[0]/Bo,Zo=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/Bo,Wo=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/Bo,ta=new Matrix;return ta.props[0]=Fo,ta.props[1]=Qo,ta.props[4]=jo,ta.props[5]=Xo,ta.props[12]=Zo,ta.props[13]=Wo,ta}function zo(Bo){var Fo=this.getInverseMatrix();return Fo.applyToPointArray(Bo[0],Bo[1],Bo[2]||0)}function Ho(Bo){var Fo,Qo=Bo.length,jo=[];for(Fo=0;Fo<Qo;Fo+=1)jo[Fo]=zo(Bo[Fo]);return jo}function Vo(Bo,Fo,Qo){var jo=createTypedArray("float32",6);if(this.isIdentity())jo[0]=Bo[0],jo[1]=Bo[1],jo[2]=Fo[0],jo[3]=Fo[1],jo[4]=Qo[0],jo[5]=Qo[1];else{var Xo=this.props[0],Zo=this.props[1],Wo=this.props[4],ta=this.props[5],ra=this.props[12],da=this.props[13];jo[0]=Bo[0]*Xo+Bo[1]*Wo+ra,jo[1]=Bo[0]*Zo+Bo[1]*ta+da,jo[2]=Fo[0]*Xo+Fo[1]*Wo+ra,jo[3]=Fo[0]*Zo+Fo[1]*ta+da,jo[4]=Qo[0]*Xo+Qo[1]*Wo+ra,jo[5]=Qo[0]*Zo+Qo[1]*ta+da}return jo}function Lo(Bo,Fo,Qo){var jo;return this.isIdentity()?jo=[Bo,Fo,Qo]:jo=[Bo*this.props[0]+Fo*this.props[4]+Qo*this.props[8]+this.props[12],Bo*this.props[1]+Fo*this.props[5]+Qo*this.props[9]+this.props[13],Bo*this.props[2]+Fo*this.props[6]+Qo*this.props[10]+this.props[14]],jo}function Uo(Bo,Fo){if(this.isIdentity())return Bo+","+Fo;var Qo=this.props;return Math.round((Bo*Qo[0]+Fo*Qo[4]+Qo[12])*100)/100+","+Math.round((Bo*Qo[1]+Fo*Qo[5]+Qo[13])*100)/100}function Do(){for(var Bo=0,Fo=this.props,Qo="matrix3d(",jo=1e4;Bo<16;)Qo+=ro(Fo[Bo]*jo)/jo,Qo+=Bo===15?")":",",Bo+=1;return Qo}function Oo(Bo){var Fo=1e4;return Bo<1e-6&&Bo>0||Bo>-1e-6&&Bo<0?ro(Bo*Fo)/Fo:Bo}function ko(){var Bo=this.props,Fo=Oo(Bo[0]),Qo=Oo(Bo[1]),jo=Oo(Bo[4]),Xo=Oo(Bo[5]),Zo=Oo(Bo[12]),Wo=Oo(Bo[13]);return"matrix("+Fo+","+Qo+","+jo+","+Xo+","+Zo+","+Wo+")"}return function(){this.reset=no,this.rotate=io,this.rotateX=oo,this.rotateY=ao,this.rotateZ=so,this.skew=co,this.skewFromAxis=uo,this.shear=lo,this.scale=fo,this.setTransform=ho,this.translate=mo,this.transform=vo,this.multiply=Co,this.applyToPoint=xo,this.applyToX=So,this.applyToY=To,this.applyToZ=Ro,this.applyToPointArray=Lo,this.applyToTriplePoints=Vo,this.applyToPointStringified=Uo,this.toCSS=Do,this.to2dCSS=ko,this.clone=yo,this.cloneFromProps=Eo,this.equals=wo,this.inversePoints=Ho,this.inversePoint=zo,this.getInverseMatrix=Po,this._t=this.transform,this.isIdentity=bo,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}})();function _typeof$3(Yi){"@babel/helpers - typeof";return _typeof$3=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$3(Yi)}var lottie={};function setLocation(Yi){setLocationHref(Yi)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(Yi){setSubframeEnabled(Yi)}function setPrefix(Yi){setIdPrefix(Yi)}function loadAnimation(Yi){return animationManager.loadAnimation(Yi)}function setQuality(Yi){if(typeof Yi=="string")switch(Yi){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(Yi)&&Yi>1&&setDefaultCurveSegments(Yi)}function inBrowser(){return typeof navigator<"u"}function installPlugin(Yi,eo){Yi==="expressions"&&setExpressionsPlugin(eo)}function getFactory(Yi){switch(Yi){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.13.0";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(Yi){for(var eo=queryString.split("&"),to=0;to<eo.length;to+=1){var ro=eo[to].split("=");if(decodeURIComponent(ro[0])==Yi)return decodeURIComponent(ro[1])}return null}var queryString="";{var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{_typeof$3(exports$1)!=="object"&&(window.bodymovin=lottie)}catch(Yi){}var ShapeModifiers=(function(){var Yi={},eo={};Yi.registerModifier=to,Yi.getModifier=ro;function to(no,io){eo[no]||(eo[no]=io)}function ro(no,io,oo){return new eo[no](io,oo)}return Yi})();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(Yi){if(!this.closed){Yi.sh.container.addDynamicProperty(Yi.sh);var eo={shape:Yi.sh,data:Yi,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(eo),this.addShapeToModifier(eo),this._isAnimated&&Yi.setAsAnimated()}},ShapeModifier.prototype.init=function(Yi,eo){this.shapes=[],this.elem=Yi,this.initDynamicPropertyContainer(Yi),this.initModifierProperties(Yi,eo),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier);function TrimModifier(){}extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(Yi,eo){this.s=PropertyFactory.getProp(Yi,eo.s,0,.01,this),this.e=PropertyFactory.getProp(Yi,eo.e,0,.01,this),this.o=PropertyFactory.getProp(Yi,eo.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=eo.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(Yi){Yi.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(Yi,eo,to,ro,no){var io=[];eo<=1?io.push({s:Yi,e:eo}):Yi>=1?io.push({s:Yi-1,e:eo-1}):(io.push({s:Yi,e:1}),io.push({s:0,e:eo-1}));var oo=[],ao,so=io.length,lo;for(ao=0;ao<so;ao+=1)if(lo=io[ao],!(lo.e*no<ro||lo.s*no>ro+to)){var co,uo;lo.s*no<=ro?co=0:co=(lo.s*no-ro)/to,lo.e*no>=ro+to?uo=1:uo=(lo.e*no-ro)/to,oo.push([co,uo])}return oo.length||oo.push([0,0]),oo},TrimModifier.prototype.releasePathsData=function(Yi){var eo,to=Yi.length;for(eo=0;eo<to;eo+=1)segmentsLengthPool.release(Yi[eo]);return Yi.length=0,Yi},TrimModifier.prototype.processShapes=function(Yi){var eo,to;if(this._mdf||Yi){var ro=this.o.v%360/360;if(ro<0&&(ro+=1),this.s.v>1?eo=1+ro:this.s.v<0?eo=0+ro:eo=this.s.v+ro,this.e.v>1?to=1+ro:this.e.v<0?to=0+ro:to=this.e.v+ro,eo>to){var no=eo;eo=to,to=no}eo=Math.round(eo*1e4)*1e-4,to=Math.round(to*1e4)*1e-4,this.sValue=eo,this.eValue=to}else eo=this.sValue,to=this.eValue;var io,oo,ao=this.shapes.length,so,lo,co,uo,fo,ho=0;if(to===eo)for(oo=0;oo<ao;oo+=1)this.shapes[oo].localShapeCollection.releaseShapes(),this.shapes[oo].shape._mdf=!0,this.shapes[oo].shape.paths=this.shapes[oo].localShapeCollection,this._mdf&&(this.shapes[oo].pathsData.length=0);else if(to===1&&eo===0||to===0&&eo===1){if(this._mdf)for(oo=0;oo<ao;oo+=1)this.shapes[oo].pathsData.length=0,this.shapes[oo].shape._mdf=!0}else{var mo=[],vo,Co;for(oo=0;oo<ao;oo+=1)if(vo=this.shapes[oo],!vo.shape._mdf&&!this._mdf&&!Yi&&this.m!==2)vo.shape.paths=vo.localShapeCollection;else{if(io=vo.shape.paths,lo=io._length,fo=0,!vo.shape._mdf&&vo.pathsData.length)fo=vo.totalShapeLength;else{for(co=this.releasePathsData(vo.pathsData),so=0;so<lo;so+=1)uo=bez.getSegmentsLength(io.shapes[so]),co.push(uo),fo+=uo.totalLength;vo.totalShapeLength=fo,vo.pathsData=co}ho+=fo,vo.shape._mdf=!0}var bo=eo,wo=to,yo=0,Eo;for(oo=ao-1;oo>=0;oo-=1)if(vo=this.shapes[oo],vo.shape._mdf){for(Co=vo.localShapeCollection,Co.releaseShapes(),this.m===2&&ao>1?(Eo=this.calculateShapeEdges(eo,to,vo.totalShapeLength,yo,ho),yo+=vo.totalShapeLength):Eo=[[bo,wo]],lo=Eo.length,so=0;so<lo;so+=1){bo=Eo[so][0],wo=Eo[so][1],mo.length=0,wo<=1?mo.push({s:vo.totalShapeLength*bo,e:vo.totalShapeLength*wo}):bo>=1?mo.push({s:vo.totalShapeLength*(bo-1),e:vo.totalShapeLength*(wo-1)}):(mo.push({s:vo.totalShapeLength*bo,e:vo.totalShapeLength}),mo.push({s:0,e:vo.totalShapeLength*(wo-1)}));var xo=this.addShapes(vo,mo[0]);if(mo[0].s!==mo[0].e){if(mo.length>1){var So=vo.shape.paths.shapes[vo.shape.paths._length-1];if(So.c){var To=xo.pop();this.addPaths(xo,Co),xo=this.addShapes(vo,mo[1],To)}else this.addPaths(xo,Co),xo=this.addShapes(vo,mo[1])}this.addPaths(xo,Co)}}vo.shape.paths=Co}}},TrimModifier.prototype.addPaths=function(Yi,eo){var to,ro=Yi.length;for(to=0;to<ro;to+=1)eo.addShape(Yi[to])},TrimModifier.prototype.addSegment=function(Yi,eo,to,ro,no,io,oo){no.setXYAt(eo[0],eo[1],"o",io),no.setXYAt(to[0],to[1],"i",io+1),oo&&no.setXYAt(Yi[0],Yi[1],"v",io),no.setXYAt(ro[0],ro[1],"v",io+1)},TrimModifier.prototype.addSegmentFromArray=function(Yi,eo,to,ro){eo.setXYAt(Yi[1],Yi[5],"o",to),eo.setXYAt(Yi[2],Yi[6],"i",to+1),ro&&eo.setXYAt(Yi[0],Yi[4],"v",to),eo.setXYAt(Yi[3],Yi[7],"v",to+1)},TrimModifier.prototype.addShapes=function(Yi,eo,to){var ro=Yi.pathsData,no=Yi.shape.paths.shapes,io,oo=Yi.shape.paths._length,ao,so,lo=0,co,uo,fo,ho,mo=[],vo,Co=!0;for(to?(uo=to._length,vo=to._length):(to=shapePool.newElement(),uo=0,vo=0),mo.push(to),io=0;io<oo;io+=1){for(fo=ro[io].lengths,to.c=no[io].c,so=no[io].c?fo.length:fo.length+1,ao=1;ao<so;ao+=1)if(co=fo[ao-1],lo+co.addedLength<eo.s)lo+=co.addedLength,to.c=!1;else if(lo>eo.e){to.c=!1;break}else eo.s<=lo&&eo.e>=lo+co.addedLength?(this.addSegment(no[io].v[ao-1],no[io].o[ao-1],no[io].i[ao],no[io].v[ao],to,uo,Co),Co=!1):(ho=bez.getNewSegment(no[io].v[ao-1],no[io].v[ao],no[io].o[ao-1],no[io].i[ao],(eo.s-lo)/co.addedLength,(eo.e-lo)/co.addedLength,fo[ao-1]),this.addSegmentFromArray(ho,to,uo,Co),Co=!1,to.c=!1),lo+=co.addedLength,uo+=1;if(no[io].c&&fo.length){if(co=fo[ao-1],lo<=eo.e){var bo=fo[ao-1].addedLength;eo.s<=lo&&eo.e>=lo+bo?(this.addSegment(no[io].v[ao-1],no[io].o[ao-1],no[io].i[0],no[io].v[0],to,uo,Co),Co=!1):(ho=bez.getNewSegment(no[io].v[ao-1],no[io].v[0],no[io].o[ao-1],no[io].i[0],(eo.s-lo)/bo,(eo.e-lo)/bo,fo[ao-1]),this.addSegmentFromArray(ho,to,uo,Co),Co=!1,to.c=!1)}else to.c=!1;lo+=co.addedLength,uo+=1}if(to._length&&(to.setXYAt(to.v[vo][0],to.v[vo][1],"i",vo),to.setXYAt(to.v[to._length-1][0],to.v[to._length-1][1],"o",to._length-1)),lo>eo.e)break;io<oo-1&&(to=shapePool.newElement(),Co=!0,mo.push(to),uo=0)}return mo};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(Yi,eo){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(Yi,eo.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(Yi,eo){var to=eo/100,ro=[0,0],no=Yi._length,io=0;for(io=0;io<no;io+=1)ro[0]+=Yi.v[io][0],ro[1]+=Yi.v[io][1];ro[0]/=no,ro[1]/=no;var oo=shapePool.newElement();oo.c=Yi.c;var ao,so,lo,co,uo,fo;for(io=0;io<no;io+=1)ao=Yi.v[io][0]+(ro[0]-Yi.v[io][0])*to,so=Yi.v[io][1]+(ro[1]-Yi.v[io][1])*to,lo=Yi.o[io][0]+(ro[0]-Yi.o[io][0])*-to,co=Yi.o[io][1]+(ro[1]-Yi.o[io][1])*-to,uo=Yi.i[io][0]+(ro[0]-Yi.i[io][0])*-to,fo=Yi.i[io][1]+(ro[1]-Yi.i[io][1])*-to,oo.setTripleAt(ao,so,lo,co,uo,fo,io);return oo},PuckerAndBloatModifier.prototype.processShapes=function(Yi){var eo,to,ro=this.shapes.length,no,io,oo=this.amount.v;if(oo!==0){var ao,so;for(to=0;to<ro;to+=1){if(ao=this.shapes[to],so=ao.localShapeCollection,!(!ao.shape._mdf&&!this._mdf&&!Yi))for(so.releaseShapes(),ao.shape._mdf=!0,eo=ao.shape.paths.shapes,io=ao.shape.paths._length,no=0;no<io;no+=1)so.addShape(this.processPath(eo[no],oo));ao.shape.paths=ao.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=(function(){var Yi=[0,0];function eo(so){var lo=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||lo,this.a&&so.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&so.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&so.skewFromAxis(-this.sk.v,this.sa.v),this.r?so.rotate(-this.r.v):so.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?so.translate(this.px.v,this.py.v,-this.pz.v):so.translate(this.px.v,this.py.v,0):so.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function to(so){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||so){var lo;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var co,uo;if(lo=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(co=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/lo,0),uo=this.p.getValueAtTime(this.p.keyframes[0].t/lo,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(co=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/lo,0),uo=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/lo,0)):(co=this.p.pv,uo=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/lo,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){co=[],uo=[];var fo=this.px,ho=this.py;fo._caching.lastFrame+fo.offsetTime<=fo.keyframes[0].t?(co[0]=fo.getValueAtTime((fo.keyframes[0].t+.01)/lo,0),co[1]=ho.getValueAtTime((ho.keyframes[0].t+.01)/lo,0),uo[0]=fo.getValueAtTime(fo.keyframes[0].t/lo,0),uo[1]=ho.getValueAtTime(ho.keyframes[0].t/lo,0)):fo._caching.lastFrame+fo.offsetTime>=fo.keyframes[fo.keyframes.length-1].t?(co[0]=fo.getValueAtTime(fo.keyframes[fo.keyframes.length-1].t/lo,0),co[1]=ho.getValueAtTime(ho.keyframes[ho.keyframes.length-1].t/lo,0),uo[0]=fo.getValueAtTime((fo.keyframes[fo.keyframes.length-1].t-.01)/lo,0),uo[1]=ho.getValueAtTime((ho.keyframes[ho.keyframes.length-1].t-.01)/lo,0)):(co=[fo.pv,ho.pv],uo[0]=fo.getValueAtTime((fo._caching.lastFrame+fo.offsetTime-.01)/lo,fo.offsetTime),uo[1]=ho.getValueAtTime((ho._caching.lastFrame+ho.offsetTime-.01)/lo,ho.offsetTime))}else uo=Yi,co=uo;this.v.rotate(-Math.atan2(co[1]-uo[1],co[0]-uo[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function ro(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function no(){}function io(so){this._addDynamicProperty(so),this.elem.addDynamicProperty(so),this._isDirty=!0}function oo(so,lo,co){if(this.elem=so,this.frameId=-1,this.propType="transform",this.data=lo,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(co||so),lo.p&&lo.p.s?(this.px=PropertyFactory.getProp(so,lo.p.x,0,0,this),this.py=PropertyFactory.getProp(so,lo.p.y,0,0,this),lo.p.z&&(this.pz=PropertyFactory.getProp(so,lo.p.z,0,0,this))):this.p=PropertyFactory.getProp(so,lo.p||{k:[0,0,0]},1,0,this),lo.rx){if(this.rx=PropertyFactory.getProp(so,lo.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(so,lo.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(so,lo.rz,0,degToRads,this),lo.or.k[0].ti){var uo,fo=lo.or.k.length;for(uo=0;uo<fo;uo+=1)lo.or.k[uo].to=null,lo.or.k[uo].ti=null}this.or=PropertyFactory.getProp(so,lo.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(so,lo.r||{k:0},0,degToRads,this);lo.sk&&(this.sk=PropertyFactory.getProp(so,lo.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(so,lo.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(so,lo.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(so,lo.s||{k:[100,100,100]},1,.01,this),lo.o?this.o=PropertyFactory.getProp(so,lo.o,0,.01,so):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}oo.prototype={applyToMatrix:eo,getValue:to,precalculateMatrix:ro,autoOrient:no},extendPrototype([DynamicPropertyContainer],oo),oo.prototype.addDynamicProperty=io,oo.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function ao(so,lo,co){return new oo(so,lo,co)}return{getTransformProperty:ao}})();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(Yi,eo){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(Yi,eo.c,0,null,this),this.o=PropertyFactory.getProp(Yi,eo.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(Yi,eo.tr,this),this.so=PropertyFactory.getProp(Yi,eo.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(Yi,eo.tr.eo,0,.01,this),this.data=eo,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(Yi,eo,to,ro,no,io){var oo=io?-1:1,ao=ro.s.v[0]+(1-ro.s.v[0])*(1-no),so=ro.s.v[1]+(1-ro.s.v[1])*(1-no);Yi.translate(ro.p.v[0]*oo*no,ro.p.v[1]*oo*no,ro.p.v[2]),eo.translate(-ro.a.v[0],-ro.a.v[1],ro.a.v[2]),eo.rotate(-ro.r.v*oo*no),eo.translate(ro.a.v[0],ro.a.v[1],ro.a.v[2]),to.translate(-ro.a.v[0],-ro.a.v[1],ro.a.v[2]),to.scale(io?1/ao:ao,io?1/so:so),to.translate(ro.a.v[0],ro.a.v[1],ro.a.v[2])},RepeaterModifier.prototype.init=function(Yi,eo,to,ro){for(this.elem=Yi,this.arr=eo,this.pos=to,this.elemsData=ro,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(Yi),this.initModifierProperties(Yi,eo[to]);to>0;)to-=1,this._elements.unshift(eo[to]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(Yi){var eo,to=Yi.length;for(eo=0;eo<to;eo+=1)Yi[eo]._processed=!1,Yi[eo].ty==="gr"&&this.resetElements(Yi[eo].it)},RepeaterModifier.prototype.cloneElements=function(Yi){var eo=JSON.parse(JSON.stringify(Yi));return this.resetElements(eo),eo},RepeaterModifier.prototype.changeGroupRender=function(Yi,eo){var to,ro=Yi.length;for(to=0;to<ro;to+=1)Yi[to]._render=eo,Yi[to].ty==="gr"&&this.changeGroupRender(Yi[to].it,eo)},RepeaterModifier.prototype.processShapes=function(Yi){var eo,to,ro,no,io,oo=!1;if(this._mdf||Yi){var ao=Math.ceil(this.c.v);if(this._groups.length<ao){for(;this._groups.length<ao;){var so={it:this.cloneElements(this._elements),ty:"gr"};so.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,so),this._groups.splice(0,0,so),this._currentCopies+=1}this.elem.reloadShapes(),oo=!0}io=0;var lo;for(ro=0;ro<=this._groups.length-1;ro+=1){if(lo=io<ao,this._groups[ro]._render=lo,this.changeGroupRender(this._groups[ro].it,lo),!lo){var co=this.elemsData[ro].it,uo=co[co.length-1];uo.transform.op.v!==0?(uo.transform.op._mdf=!0,uo.transform.op.v=0):uo.transform.op._mdf=!1}io+=1}this._currentCopies=ao;var fo=this.o.v,ho=fo%1,mo=fo>0?Math.floor(fo):Math.ceil(fo),vo=this.pMatrix.props,Co=this.rMatrix.props,bo=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var wo=0;if(fo>0){for(;wo<mo;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),wo+=1;ho&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,ho,!1),wo+=ho)}else if(fo<0){for(;wo>mo;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),wo-=1;ho&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-ho,!0),wo-=ho)}ro=this.data.m===1?0:this._currentCopies-1,no=this.data.m===1?1:-1,io=this._currentCopies;for(var yo,Eo;io;){if(eo=this.elemsData[ro].it,to=eo[eo.length-1].transform.mProps.v.props,Eo=to.length,eo[eo.length-1].transform.mProps._mdf=!0,eo[eo.length-1].transform.op._mdf=!0,eo[eo.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(ro/(this._currentCopies-1)),wo!==0){for((ro!==0&&no===1||ro!==this._currentCopies-1&&no===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(Co[0],Co[1],Co[2],Co[3],Co[4],Co[5],Co[6],Co[7],Co[8],Co[9],Co[10],Co[11],Co[12],Co[13],Co[14],Co[15]),this.matrix.transform(bo[0],bo[1],bo[2],bo[3],bo[4],bo[5],bo[6],bo[7],bo[8],bo[9],bo[10],bo[11],bo[12],bo[13],bo[14],bo[15]),this.matrix.transform(vo[0],vo[1],vo[2],vo[3],vo[4],vo[5],vo[6],vo[7],vo[8],vo[9],vo[10],vo[11],vo[12],vo[13],vo[14],vo[15]),yo=0;yo<Eo;yo+=1)to[yo]=this.matrix.props[yo];this.matrix.reset()}else for(this.matrix.reset(),yo=0;yo<Eo;yo+=1)to[yo]=this.matrix.props[yo];wo+=1,io-=1,ro+=no}}else for(io=this._currentCopies,ro=0,no=1;io;)eo=this.elemsData[ro].it,to=eo[eo.length-1].transform.mProps.v.props,eo[eo.length-1].transform.mProps._mdf=!1,eo[eo.length-1].transform.op._mdf=!1,io-=1,ro+=no;return oo},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(Yi,eo){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(Yi,eo.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(Yi,eo){var to=shapePool.newElement();to.c=Yi.c;var ro,no=Yi._length,io,oo,ao,so,lo,co,uo=0,fo,ho,mo,vo,Co,bo;for(ro=0;ro<no;ro+=1)io=Yi.v[ro],ao=Yi.o[ro],oo=Yi.i[ro],io[0]===ao[0]&&io[1]===ao[1]&&io[0]===oo[0]&&io[1]===oo[1]?(ro===0||ro===no-1)&&!Yi.c?(to.setTripleAt(io[0],io[1],ao[0],ao[1],oo[0],oo[1],uo),uo+=1):(ro===0?so=Yi.v[no-1]:so=Yi.v[ro-1],lo=Math.sqrt(Math.pow(io[0]-so[0],2)+Math.pow(io[1]-so[1],2)),co=lo?Math.min(lo/2,eo)/lo:0,Co=io[0]+(so[0]-io[0])*co,fo=Co,bo=io[1]-(io[1]-so[1])*co,ho=bo,mo=fo-(fo-io[0])*roundCorner,vo=ho-(ho-io[1])*roundCorner,to.setTripleAt(fo,ho,mo,vo,Co,bo,uo),uo+=1,ro===no-1?so=Yi.v[0]:so=Yi.v[ro+1],lo=Math.sqrt(Math.pow(io[0]-so[0],2)+Math.pow(io[1]-so[1],2)),co=lo?Math.min(lo/2,eo)/lo:0,mo=io[0]+(so[0]-io[0])*co,fo=mo,vo=io[1]+(so[1]-io[1])*co,ho=vo,Co=fo-(fo-io[0])*roundCorner,bo=ho-(ho-io[1])*roundCorner,to.setTripleAt(fo,ho,mo,vo,Co,bo,uo),uo+=1):(to.setTripleAt(Yi.v[ro][0],Yi.v[ro][1],Yi.o[ro][0],Yi.o[ro][1],Yi.i[ro][0],Yi.i[ro][1],uo),uo+=1);return to},RoundCornersModifier.prototype.processShapes=function(Yi){var eo,to,ro=this.shapes.length,no,io,oo=this.rd.v;if(oo!==0){var ao,so;for(to=0;to<ro;to+=1){if(ao=this.shapes[to],so=ao.localShapeCollection,!(!ao.shape._mdf&&!this._mdf&&!Yi))for(so.releaseShapes(),ao.shape._mdf=!0,eo=ao.shape.paths.shapes,io=ao.shape.paths._length,no=0;no<io;no+=1)so.addShape(this.processPath(eo[no],oo));ao.shape.paths=ao.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(Yi,eo){return Math.abs(Yi-eo)*1e5<=Math.min(Math.abs(Yi),Math.abs(eo))}function floatZero(Yi){return Math.abs(Yi)<=1e-5}function lerp(Yi,eo,to){return Yi*(1-to)+eo*to}function lerpPoint(Yi,eo,to){return[lerp(Yi[0],eo[0],to),lerp(Yi[1],eo[1],to)]}function quadRoots(Yi,eo,to){if(Yi===0)return[];var ro=eo*eo-4*Yi*to;if(ro<0)return[];var no=-eo/(2*Yi);if(ro===0)return[no];var io=Math.sqrt(ro)/(2*Yi);return[no-io,no+io]}function polynomialCoefficients(Yi,eo,to,ro){return[-Yi+3*eo-3*to+ro,3*Yi-6*eo+3*to,-3*Yi+3*eo,Yi]}function singlePoint(Yi){return new PolynomialBezier(Yi,Yi,Yi,Yi,!1)}function PolynomialBezier(Yi,eo,to,ro,no){no&&pointEqual(Yi,eo)&&(eo=lerpPoint(Yi,ro,1/3)),no&&pointEqual(to,ro)&&(to=lerpPoint(Yi,ro,2/3));var io=polynomialCoefficients(Yi[0],eo[0],to[0],ro[0]),oo=polynomialCoefficients(Yi[1],eo[1],to[1],ro[1]);this.a=[io[0],oo[0]],this.b=[io[1],oo[1]],this.c=[io[2],oo[2]],this.d=[io[3],oo[3]],this.points=[Yi,eo,to,ro]}PolynomialBezier.prototype.point=function(Yi){return[((this.a[0]*Yi+this.b[0])*Yi+this.c[0])*Yi+this.d[0],((this.a[1]*Yi+this.b[1])*Yi+this.c[1])*Yi+this.d[1]]},PolynomialBezier.prototype.derivative=function(Yi){return[(3*Yi*this.a[0]+2*this.b[0])*Yi+this.c[0],(3*Yi*this.a[1]+2*this.b[1])*Yi+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(Yi){var eo=this.derivative(Yi);return Math.atan2(eo[1],eo[0])},PolynomialBezier.prototype.normalAngle=function(Yi){var eo=this.derivative(Yi);return Math.atan2(eo[0],eo[1])},PolynomialBezier.prototype.inflectionPoints=function(){var Yi=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(Yi))return[];var eo=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/Yi,to=eo*eo-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/Yi;if(to<0)return[];var ro=Math.sqrt(to);return floatZero(ro)?ro>0&&ro<1?[eo]:[]:[eo-ro,eo+ro].filter(function(no){return no>0&&no<1})},PolynomialBezier.prototype.split=function(Yi){if(Yi<=0)return[singlePoint(this.points[0]),this];if(Yi>=1)return[this,singlePoint(this.points[this.points.length-1])];var eo=lerpPoint(this.points[0],this.points[1],Yi),to=lerpPoint(this.points[1],this.points[2],Yi),ro=lerpPoint(this.points[2],this.points[3],Yi),no=lerpPoint(eo,to,Yi),io=lerpPoint(to,ro,Yi),oo=lerpPoint(no,io,Yi);return[new PolynomialBezier(this.points[0],eo,no,oo,!0),new PolynomialBezier(oo,io,ro,this.points[3],!0)]};function extrema(Yi,eo){var to=Yi.points[0][eo],ro=Yi.points[Yi.points.length-1][eo];if(to>ro){var no=ro;ro=to,to=no}for(var io=quadRoots(3*Yi.a[eo],2*Yi.b[eo],Yi.c[eo]),oo=0;oo<io.length;oo+=1)if(io[oo]>0&&io[oo]<1){var ao=Yi.point(io[oo])[eo];ao<to?to=ao:ao>ro&&(ro=ao)}return{min:to,max:ro}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var Yi=this.bounds();return{left:Yi.x.min,right:Yi.x.max,top:Yi.y.min,bottom:Yi.y.max,width:Yi.x.max-Yi.x.min,height:Yi.y.max-Yi.y.min,cx:(Yi.x.max+Yi.x.min)/2,cy:(Yi.y.max+Yi.y.min)/2}};function intersectData(Yi,eo,to){var ro=Yi.boundingBox();return{cx:ro.cx,cy:ro.cy,width:ro.width,height:ro.height,bez:Yi,t:(eo+to)/2,t1:eo,t2:to}}function splitData(Yi){var eo=Yi.bez.split(.5);return[intersectData(eo[0],Yi.t1,Yi.t),intersectData(eo[1],Yi.t,Yi.t2)]}function boxIntersect(Yi,eo){return Math.abs(Yi.cx-eo.cx)*2<Yi.width+eo.width&&Math.abs(Yi.cy-eo.cy)*2<Yi.height+eo.height}function intersectsImpl(Yi,eo,to,ro,no,io){if(boxIntersect(Yi,eo)){if(to>=io||Yi.width<=ro&&Yi.height<=ro&&eo.width<=ro&&eo.height<=ro){no.push([Yi.t,eo.t]);return}var oo=splitData(Yi),ao=splitData(eo);intersectsImpl(oo[0],ao[0],to+1,ro,no,io),intersectsImpl(oo[0],ao[1],to+1,ro,no,io),intersectsImpl(oo[1],ao[0],to+1,ro,no,io),intersectsImpl(oo[1],ao[1],to+1,ro,no,io)}}PolynomialBezier.prototype.intersections=function(Yi,eo,to){eo===void 0&&(eo=2),to===void 0&&(to=7);var ro=[];return intersectsImpl(intersectData(this,0,1),intersectData(Yi,0,1),0,eo,ro,to),ro},PolynomialBezier.shapeSegment=function(Yi,eo){var to=(eo+1)%Yi.length();return new PolynomialBezier(Yi.v[eo],Yi.o[eo],Yi.i[to],Yi.v[to],!0)},PolynomialBezier.shapeSegmentInverted=function(Yi,eo){var to=(eo+1)%Yi.length();return new PolynomialBezier(Yi.v[to],Yi.i[to],Yi.o[eo],Yi.v[eo],!0)};function crossProduct(Yi,eo){return[Yi[1]*eo[2]-Yi[2]*eo[1],Yi[2]*eo[0]-Yi[0]*eo[2],Yi[0]*eo[1]-Yi[1]*eo[0]]}function lineIntersection(Yi,eo,to,ro){var no=[Yi[0],Yi[1],1],io=[eo[0],eo[1],1],oo=[to[0],to[1],1],ao=[ro[0],ro[1],1],so=crossProduct(crossProduct(no,io),crossProduct(oo,ao));return floatZero(so[2])?null:[so[0]/so[2],so[1]/so[2]]}function polarOffset(Yi,eo,to){return[Yi[0]+Math.cos(eo)*to,Yi[1]-Math.sin(eo)*to]}function pointDistance(Yi,eo){return Math.hypot(Yi[0]-eo[0],Yi[1]-eo[1])}function pointEqual(Yi,eo){return floatEqual(Yi[0],eo[0])&&floatEqual(Yi[1],eo[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(Yi,eo){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(Yi,eo.s,0,null,this),this.frequency=PropertyFactory.getProp(Yi,eo.r,0,null,this),this.pointsType=PropertyFactory.getProp(Yi,eo.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(Yi,eo,to,ro,no,io,oo){var ao=to-Math.PI/2,so=to+Math.PI/2,lo=eo[0]+Math.cos(to)*ro*no,co=eo[1]-Math.sin(to)*ro*no;Yi.setTripleAt(lo,co,lo+Math.cos(ao)*io,co-Math.sin(ao)*io,lo+Math.cos(so)*oo,co-Math.sin(so)*oo,Yi.length())}function getPerpendicularVector(Yi,eo){var to=[eo[0]-Yi[0],eo[1]-Yi[1]],ro=-Math.PI*.5,no=[Math.cos(ro)*to[0]-Math.sin(ro)*to[1],Math.sin(ro)*to[0]+Math.cos(ro)*to[1]];return no}function getProjectingAngle(Yi,eo){var to=eo===0?Yi.length()-1:eo-1,ro=(eo+1)%Yi.length(),no=Yi.v[to],io=Yi.v[ro],oo=getPerpendicularVector(no,io);return Math.atan2(0,1)-Math.atan2(oo[1],oo[0])}function zigZagCorner(Yi,eo,to,ro,no,io,oo){var ao=getProjectingAngle(eo,to),so=eo.v[to%eo._length],lo=eo.v[to===0?eo._length-1:to-1],co=eo.v[(to+1)%eo._length],uo=io===2?Math.sqrt(Math.pow(so[0]-lo[0],2)+Math.pow(so[1]-lo[1],2)):0,fo=io===2?Math.sqrt(Math.pow(so[0]-co[0],2)+Math.pow(so[1]-co[1],2)):0;setPoint(Yi,eo.v[to%eo._length],ao,oo,ro,fo/((no+1)*2),uo/((no+1)*2))}function zigZagSegment(Yi,eo,to,ro,no,io){for(var oo=0;oo<ro;oo+=1){var ao=(oo+1)/(ro+1),so=no===2?Math.sqrt(Math.pow(eo.points[3][0]-eo.points[0][0],2)+Math.pow(eo.points[3][1]-eo.points[0][1],2)):0,lo=eo.normalAngle(ao),co=eo.point(ao);setPoint(Yi,co,lo,io,to,so/((ro+1)*2),so/((ro+1)*2)),io=-io}return io}ZigZagModifier.prototype.processPath=function(Yi,eo,to,ro){var no=Yi._length,io=shapePool.newElement();if(io.c=Yi.c,Yi.c||(no-=1),no===0)return io;var oo=-1,ao=PolynomialBezier.shapeSegment(Yi,0);zigZagCorner(io,Yi,0,eo,to,ro,oo);for(var so=0;so<no;so+=1)oo=zigZagSegment(io,ao,eo,to,ro,-oo),so===no-1&&!Yi.c?ao=null:ao=PolynomialBezier.shapeSegment(Yi,(so+1)%no),zigZagCorner(io,Yi,so+1,eo,to,ro,oo);return io},ZigZagModifier.prototype.processShapes=function(Yi){var eo,to,ro=this.shapes.length,no,io,oo=this.amplitude.v,ao=Math.max(0,Math.round(this.frequency.v)),so=this.pointsType.v;if(oo!==0){var lo,co;for(to=0;to<ro;to+=1){if(lo=this.shapes[to],co=lo.localShapeCollection,!(!lo.shape._mdf&&!this._mdf&&!Yi))for(co.releaseShapes(),lo.shape._mdf=!0,eo=lo.shape.paths.shapes,io=lo.shape.paths._length,no=0;no<io;no+=1)co.addShape(this.processPath(eo[no],oo,ao,so));lo.shape.paths=lo.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(Yi,eo,to){var ro=Math.atan2(eo[0]-Yi[0],eo[1]-Yi[1]);return[polarOffset(Yi,ro,to),polarOffset(eo,ro,to)]}function offsetSegment(Yi,eo){var to,ro,no,io,oo,ao,so;so=linearOffset(Yi.points[0],Yi.points[1],eo),to=so[0],ro=so[1],so=linearOffset(Yi.points[1],Yi.points[2],eo),no=so[0],io=so[1],so=linearOffset(Yi.points[2],Yi.points[3],eo),oo=so[0],ao=so[1];var lo=lineIntersection(to,ro,no,io);lo===null&&(lo=ro);var co=lineIntersection(oo,ao,no,io);return co===null&&(co=oo),new PolynomialBezier(to,lo,co,ao)}function joinLines(Yi,eo,to,ro,no){var io=eo.points[3],oo=to.points[0];if(ro===3||pointEqual(io,oo))return io;if(ro===2){var ao=-eo.tangentAngle(1),so=-to.tangentAngle(0)+Math.PI,lo=lineIntersection(io,polarOffset(io,ao+Math.PI/2,100),oo,polarOffset(oo,ao+Math.PI/2,100)),co=lo?pointDistance(lo,io):pointDistance(io,oo)/2,uo=polarOffset(io,ao,2*co*roundCorner);return Yi.setXYAt(uo[0],uo[1],"o",Yi.length()-1),uo=polarOffset(oo,so,2*co*roundCorner),Yi.setTripleAt(oo[0],oo[1],oo[0],oo[1],uo[0],uo[1],Yi.length()),oo}var fo=pointEqual(io,eo.points[2])?eo.points[0]:eo.points[2],ho=pointEqual(oo,to.points[1])?to.points[3]:to.points[1],mo=lineIntersection(fo,io,oo,ho);return mo&&pointDistance(mo,io)<no?(Yi.setTripleAt(mo[0],mo[1],mo[0],mo[1],mo[0],mo[1],Yi.length()),mo):io}function getIntersection(Yi,eo){var to=Yi.intersections(eo);return to.length&&floatEqual(to[0][0],1)&&to.shift(),to.length?to[0]:null}function pruneSegmentIntersection(Yi,eo){var to=Yi.slice(),ro=eo.slice(),no=getIntersection(Yi[Yi.length-1],eo[0]);return no&&(to[Yi.length-1]=Yi[Yi.length-1].split(no[0])[0],ro[0]=eo[0].split(no[1])[1]),Yi.length>1&&eo.length>1&&(no=getIntersection(Yi[0],eo[eo.length-1]),no)?[[Yi[0].split(no[0])[0]],[eo[eo.length-1].split(no[1])[1]]]:[to,ro]}function pruneIntersections(Yi){for(var eo,to=1;to<Yi.length;to+=1)eo=pruneSegmentIntersection(Yi[to-1],Yi[to]),Yi[to-1]=eo[0],Yi[to]=eo[1];return Yi.length>1&&(eo=pruneSegmentIntersection(Yi[Yi.length-1],Yi[0]),Yi[Yi.length-1]=eo[0],Yi[0]=eo[1]),Yi}function offsetSegmentSplit(Yi,eo){var to=Yi.inflectionPoints(),ro,no,io,oo;if(to.length===0)return[offsetSegment(Yi,eo)];if(to.length===1||floatEqual(to[1],1))return io=Yi.split(to[0]),ro=io[0],no=io[1],[offsetSegment(ro,eo),offsetSegment(no,eo)];io=Yi.split(to[0]),ro=io[0];var ao=(to[1]-to[0])/(1-to[0]);return io=io[1].split(ao),oo=io[0],no=io[1],[offsetSegment(ro,eo),offsetSegment(oo,eo),offsetSegment(no,eo)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(Yi,eo){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(Yi,eo.a,0,null,this),this.miterLimit=PropertyFactory.getProp(Yi,eo.ml,0,null,this),this.lineJoin=eo.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(Yi,eo,to,ro){var no=shapePool.newElement();no.c=Yi.c;var io=Yi.length();Yi.c||(io-=1);var oo,ao,so,lo=[];for(oo=0;oo<io;oo+=1)so=PolynomialBezier.shapeSegment(Yi,oo),lo.push(offsetSegmentSplit(so,eo));if(!Yi.c)for(oo=io-1;oo>=0;oo-=1)so=PolynomialBezier.shapeSegmentInverted(Yi,oo),lo.push(offsetSegmentSplit(so,eo));lo=pruneIntersections(lo);var co=null,uo=null;for(oo=0;oo<lo.length;oo+=1){var fo=lo[oo];for(uo&&(co=joinLines(no,uo,fo[0],to,ro)),uo=fo[fo.length-1],ao=0;ao<fo.length;ao+=1)so=fo[ao],co&&pointEqual(so.points[0],co)?no.setXYAt(so.points[1][0],so.points[1][1],"o",no.length()-1):no.setTripleAt(so.points[0][0],so.points[0][1],so.points[1][0],so.points[1][1],so.points[0][0],so.points[0][1],no.length()),no.setTripleAt(so.points[3][0],so.points[3][1],so.points[3][0],so.points[3][1],so.points[2][0],so.points[2][1],no.length()),co=so.points[3]}return lo.length&&joinLines(no,uo,lo[0][0],to,ro),no},OffsetPathModifier.prototype.processShapes=function(Yi){var eo,to,ro=this.shapes.length,no,io,oo=this.amount.v,ao=this.miterLimit.v,so=this.lineJoin;if(oo!==0){var lo,co;for(to=0;to<ro;to+=1){if(lo=this.shapes[to],co=lo.localShapeCollection,!(!lo.shape._mdf&&!this._mdf&&!Yi))for(co.releaseShapes(),lo.shape._mdf=!0,eo=lo.shape.paths.shapes,io=lo.shape.paths._length,no=0;no<io;no+=1)co.addShape(this.processPath(eo[no],oo,so,ao));lo.shape.paths=lo.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(Yi){for(var eo=Yi.fStyle?Yi.fStyle.split(" "):[],to="normal",ro="normal",no=eo.length,io,oo=0;oo<no;oo+=1)switch(io=eo[oo].toLowerCase(),io){case"italic":ro="italic";break;case"bold":to="700";break;case"black":to="900";break;case"medium":to="500";break;case"regular":case"normal":to="400";break;case"light":case"thin":to="200";break}return{style:ro,weight:Yi.fWeight||to}}var FontManager=(function(){var Yi=5e3,eo={w:0,size:0,shapes:[],data:{shapes:[]}},to=[];to=to.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var ro=127988,no=917631,io=917601,oo=917626,ao=65039,so=8205,lo=127462,co=127487,uo=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function fo(Oo){var ko=Oo.split(","),Bo,Fo=ko.length,Qo=[];for(Bo=0;Bo<Fo;Bo+=1)ko[Bo]!=="sans-serif"&&ko[Bo]!=="monospace"&&Qo.push(ko[Bo]);return Qo.join(",")}function ho(Oo,ko){var Bo=createTag("span");Bo.setAttribute("aria-hidden",!0),Bo.style.fontFamily=ko;var Fo=createTag("span");Fo.innerText="giItT1WQy@!-/#",Bo.style.position="absolute",Bo.style.left="-10000px",Bo.style.top="-10000px",Bo.style.fontSize="300px",Bo.style.fontVariant="normal",Bo.style.fontStyle="normal",Bo.style.fontWeight="normal",Bo.style.letterSpacing="0",Bo.appendChild(Fo),document.body.appendChild(Bo);var Qo=Fo.offsetWidth;return Fo.style.fontFamily=fo(Oo)+", "+ko,{node:Fo,w:Qo,parent:Bo}}function mo(){var Oo,ko=this.fonts.length,Bo,Fo,Qo=ko;for(Oo=0;Oo<ko;Oo+=1)this.fonts[Oo].loaded?Qo-=1:this.fonts[Oo].fOrigin==="n"||this.fonts[Oo].origin===0?this.fonts[Oo].loaded=!0:(Bo=this.fonts[Oo].monoCase.node,Fo=this.fonts[Oo].monoCase.w,Bo.offsetWidth!==Fo?(Qo-=1,this.fonts[Oo].loaded=!0):(Bo=this.fonts[Oo].sansCase.node,Fo=this.fonts[Oo].sansCase.w,Bo.offsetWidth!==Fo&&(Qo-=1,this.fonts[Oo].loaded=!0)),this.fonts[Oo].loaded&&(this.fonts[Oo].sansCase.parent.parentNode.removeChild(this.fonts[Oo].sansCase.parent),this.fonts[Oo].monoCase.parent.parentNode.removeChild(this.fonts[Oo].monoCase.parent)));Qo!==0&&Date.now()-this.initTime<Yi?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function vo(Oo,ko){var Bo=document.body&&ko?"svg":"canvas",Fo,Qo=getFontProperties(Oo);if(Bo==="svg"){var jo=createNS("text");jo.style.fontSize="100px",jo.setAttribute("font-family",Oo.fFamily),jo.setAttribute("font-style",Qo.style),jo.setAttribute("font-weight",Qo.weight),jo.textContent="1",Oo.fClass?(jo.style.fontFamily="inherit",jo.setAttribute("class",Oo.fClass)):jo.style.fontFamily=Oo.fFamily,ko.appendChild(jo),Fo=jo}else{var Xo=new OffscreenCanvas(500,500).getContext("2d");Xo.font=Qo.style+" "+Qo.weight+" 100px "+Oo.fFamily,Fo=Xo}function Zo(Wo){return Bo==="svg"?(Fo.textContent=Wo,Fo.getComputedTextLength()):Fo.measureText(Wo).width}return{measureText:Zo}}function Co(Oo,ko){if(!Oo){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=Oo.list;return}if(!document.body){this.isLoaded=!0,Oo.list.forEach(function(pa){pa.helper=vo(pa),pa.cache={}}),this.fonts=Oo.list;return}var Bo=Oo.list,Fo,Qo=Bo.length,jo=Qo;for(Fo=0;Fo<Qo;Fo+=1){var Xo=!0,Zo,Wo;if(Bo[Fo].loaded=!1,Bo[Fo].monoCase=ho(Bo[Fo].fFamily,"monospace"),Bo[Fo].sansCase=ho(Bo[Fo].fFamily,"sans-serif"),!Bo[Fo].fPath)Bo[Fo].loaded=!0,jo-=1;else if(Bo[Fo].fOrigin==="p"||Bo[Fo].origin===3){if(Zo=document.querySelectorAll('style[f-forigin="p"][f-family="'+Bo[Fo].fFamily+'"], style[f-origin="3"][f-family="'+Bo[Fo].fFamily+'"]'),Zo.length>0&&(Xo=!1),Xo){var ta=createTag("style");ta.setAttribute("f-forigin",Bo[Fo].fOrigin),ta.setAttribute("f-origin",Bo[Fo].origin),ta.setAttribute("f-family",Bo[Fo].fFamily),ta.type="text/css",ta.innerText="@font-face {font-family: "+Bo[Fo].fFamily+"; font-style: normal; src: url('"+Bo[Fo].fPath+"');}",ko.appendChild(ta)}}else if(Bo[Fo].fOrigin==="g"||Bo[Fo].origin===1){for(Zo=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Wo=0;Wo<Zo.length;Wo+=1)Zo[Wo].href.indexOf(Bo[Fo].fPath)!==-1&&(Xo=!1);if(Xo){var ra=createTag("link");ra.setAttribute("f-forigin",Bo[Fo].fOrigin),ra.setAttribute("f-origin",Bo[Fo].origin),ra.type="text/css",ra.rel="stylesheet",ra.href=Bo[Fo].fPath,document.body.appendChild(ra)}}else if(Bo[Fo].fOrigin==="t"||Bo[Fo].origin===2){for(Zo=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),Wo=0;Wo<Zo.length;Wo+=1)Bo[Fo].fPath===Zo[Wo].src&&(Xo=!1);if(Xo){var da=createTag("link");da.setAttribute("f-forigin",Bo[Fo].fOrigin),da.setAttribute("f-origin",Bo[Fo].origin),da.setAttribute("rel","stylesheet"),da.setAttribute("href",Bo[Fo].fPath),ko.appendChild(da)}}Bo[Fo].helper=vo(Bo[Fo],ko),Bo[Fo].cache={},this.fonts.push(Bo[Fo])}jo===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function bo(Oo){if(Oo){this.chars||(this.chars=[]);var ko,Bo=Oo.length,Fo,Qo=this.chars.length,jo;for(ko=0;ko<Bo;ko+=1){for(Fo=0,jo=!1;Fo<Qo;)this.chars[Fo].style===Oo[ko].style&&this.chars[Fo].fFamily===Oo[ko].fFamily&&this.chars[Fo].ch===Oo[ko].ch&&(jo=!0),Fo+=1;jo||(this.chars.push(Oo[ko]),Qo+=1)}}}function wo(Oo,ko,Bo){for(var Fo=0,Qo=this.chars.length;Fo<Qo;){if(this.chars[Fo].ch===Oo&&this.chars[Fo].style===ko&&this.chars[Fo].fFamily===Bo)return this.chars[Fo];Fo+=1}return(typeof Oo=="string"&&Oo.charCodeAt(0)!==13||!Oo)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",Oo,ko,Bo)),eo}function yo(Oo,ko,Bo){var Fo=this.getFontByName(ko),Qo=Oo;if(!Fo.cache[Qo]){var jo=Fo.helper;if(Oo===" "){var Xo=jo.measureText("|"+Oo+"|"),Zo=jo.measureText("||");Fo.cache[Qo]=(Xo-Zo)/100}else Fo.cache[Qo]=jo.measureText(Oo)/100}return Fo.cache[Qo]*Bo}function Eo(Oo){for(var ko=0,Bo=this.fonts.length;ko<Bo;){if(this.fonts[ko].fName===Oo)return this.fonts[ko];ko+=1}return this.fonts[0]}function xo(Oo){var ko=0,Bo=Oo.charCodeAt(0);if(Bo>=55296&&Bo<=56319){var Fo=Oo.charCodeAt(1);Fo>=56320&&Fo<=57343&&(ko=(Bo-55296)*1024+Fo-56320+65536)}return ko}function So(Oo,ko){var Bo=Oo.toString(16)+ko.toString(16);return uo.indexOf(Bo)!==-1}function To(Oo){return Oo===so}function Ro(Oo){return Oo===ao}function Po(Oo){var ko=xo(Oo);return ko>=lo&&ko<=co}function zo(Oo){return Po(Oo.substr(0,2))&&Po(Oo.substr(2,2))}function Ho(Oo){return to.indexOf(Oo)!==-1}function Vo(Oo,ko){var Bo=xo(Oo.substr(ko,2));if(Bo!==ro)return!1;var Fo=0;for(ko+=2;Fo<5;){if(Bo=xo(Oo.substr(ko,2)),Bo<io||Bo>oo)return!1;Fo+=1,ko+=2}return xo(Oo.substr(ko,2))===no}function Lo(){this.isLoaded=!0}var Uo=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};Uo.isModifier=So,Uo.isZeroWidthJoiner=To,Uo.isFlagEmoji=zo,Uo.isRegionalCode=Po,Uo.isCombinedCharacter=Ho,Uo.isRegionalFlag=Vo,Uo.isVariationSelector=Ro,Uo.BLACK_FLAG_CODE_POINT=ro;var Do={addChars:bo,addFonts:Co,getCharData:wo,getFontByName:Eo,measureText:yo,checkLoadedFonts:mo,setIsLoaded:Lo};return Uo.prototype=Do,Uo})();function SlotManager(Yi){this.animationData=Yi}SlotManager.prototype.getProp=function(Yi){return this.animationData.slots&&this.animationData.slots[Yi.sid]?Object.assign(Yi,this.animationData.slots[Yi.sid].p):Yi};function slotFactory(Yi){return new SlotManager(Yi)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(eo){this.renderableComponents.indexOf(eo)===-1&&this.renderableComponents.push(eo)},removeRenderableComponent:function(eo){this.renderableComponents.indexOf(eo)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(eo),1)},prepareRenderableFrame:function(eo){this.checkLayerLimits(eo)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(eo){this.data.ip-this.data.st<=eo&&this.data.op-this.data.st>eo?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var eo,to=this.renderableComponents.length;for(eo=0;eo<to;eo+=1)this.renderableComponents[eo].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=(function(){var Yi={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(eo){return Yi[eo]||""}})();function SliderEffect(Yi,eo,to){this.p=PropertyFactory.getProp(eo,Yi.v,0,0,to)}function AngleEffect(Yi,eo,to){this.p=PropertyFactory.getProp(eo,Yi.v,0,0,to)}function ColorEffect(Yi,eo,to){this.p=PropertyFactory.getProp(eo,Yi.v,1,0,to)}function PointEffect(Yi,eo,to){this.p=PropertyFactory.getProp(eo,Yi.v,1,0,to)}function LayerIndexEffect(Yi,eo,to){this.p=PropertyFactory.getProp(eo,Yi.v,0,0,to)}function MaskIndexEffect(Yi,eo,to){this.p=PropertyFactory.getProp(eo,Yi.v,0,0,to)}function CheckboxEffect(Yi,eo,to){this.p=PropertyFactory.getProp(eo,Yi.v,0,0,to)}function NoValueEffect(){this.p={}}function EffectsManager(Yi,eo){var to=Yi.ef||[];this.effectElements=[];var ro,no=to.length,io;for(ro=0;ro<no;ro+=1)io=new GroupEffect(to[ro],eo),this.effectElements.push(io)}function GroupEffect(Yi,eo){this.init(Yi,eo)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(Yi,eo){this.data=Yi,this.effectElements=[],this.initDynamicPropertyContainer(eo);var to,ro=this.data.ef.length,no,io=this.data.ef;for(to=0;to<ro;to+=1){switch(no=null,io[to].ty){case 0:no=new SliderEffect(io[to],eo,this);break;case 1:no=new AngleEffect(io[to],eo,this);break;case 2:no=new ColorEffect(io[to],eo,this);break;case 3:no=new PointEffect(io[to],eo,this);break;case 4:case 7:no=new CheckboxEffect(io[to],eo,this);break;case 10:no=new LayerIndexEffect(io[to],eo,this);break;case 11:no=new MaskIndexEffect(io[to],eo,this);break;case 5:no=new EffectsManager(io[to],eo);break;default:no=new NoValueEffect(io[to]);break}no&&this.effectElements.push(no)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var eo=0,to=this.data.masksProperties.length;eo<to;){if(this.data.masksProperties[eo].mode!=="n"&&this.data.masksProperties[eo].cl!==!1)return!0;eo+=1}return!1},initExpressions:function(){var eo=getExpressionInterfaces();if(eo){var to=eo("layer"),ro=eo("effects"),no=eo("shape"),io=eo("text"),oo=eo("comp");this.layerInterface=to(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var ao=ro.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(ao),this.data.ty===0||this.data.xt?this.compInterface=oo(this):this.data.ty===4?(this.layerInterface.shapeInterface=no(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=io(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var eo=getBlendMode(this.data.bm),to=this.baseElement||this.layerElement;to.style["mix-blend-mode"]=eo},initBaseData:function(eo,to,ro){this.globalData=to,this.comp=ro,this.data=eo,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(eo,to){var ro,no=this.dynamicProperties.length;for(ro=0;ro<no;ro+=1)(to||this._isParent&&this.dynamicProperties[ro].propType==="transform")&&(this.dynamicProperties[ro].getValue(),this.dynamicProperties[ro]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(eo){this.dynamicProperties.indexOf(eo)===-1&&this.dynamicProperties.push(eo)}};function FootageElement(Yi,eo,to){this.initFrame(),this.initRenderable(),this.assetData=eo.getAssetData(Yi.refId),this.footageData=eo.imageLoader.getAsset(this.assetData),this.initBaseData(Yi,eo,to)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var Yi=getExpressionInterfaces();if(Yi){var eo=Yi("footage");this.layerInterface=eo(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(Yi,eo,to){this.initFrame(),this.initRenderable(),this.assetData=eo.getAssetData(Yi.refId),this.initBaseData(Yi,eo,to),this._isPlaying=!1,this._canPlay=!1;var ro=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(ro),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=Yi.tm?PropertyFactory.getProp(this,Yi.tm,0,eo.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,Yi.au&&Yi.au.lv?Yi.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(Yi){if(this.prepareRenderableFrame(Yi,!0),this.prepareProperties(Yi,!0),this.tm._placeholder)this._currentTime=Yi/this.data.sr;else{var eo=this.tm.v;this._currentTime=eo}this._volume=this.lv.v[0];var to=this._volume*this._volumeMultiplier;this._previousVolume!==to&&(this._previousVolume=to,this.audio.volume(to))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(Yi){this.audio.rate(Yi)},AudioElement.prototype.volume=function(Yi){this._volumeMultiplier=Yi,this._previousVolume=Yi*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){};function BaseRenderer(){}BaseRenderer.prototype.checkLayers=function(Yi){var eo,to=this.layers.length,ro;for(this.completeLayers=!0,eo=to-1;eo>=0;eo-=1)this.elements[eo]||(ro=this.layers[eo],ro.ip-ro.st<=Yi-this.layers[eo].st&&ro.op-ro.st>Yi-this.layers[eo].st&&this.buildItem(eo)),this.completeLayers=this.elements[eo]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(Yi){switch(Yi.ty){case 2:return this.createImage(Yi);case 0:return this.createComp(Yi);case 1:return this.createSolid(Yi);case 3:return this.createNull(Yi);case 4:return this.createShape(Yi);case 5:return this.createText(Yi);case 6:return this.createAudio(Yi);case 13:return this.createCamera(Yi);case 15:return this.createFootage(Yi);default:return this.createNull(Yi)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(Yi){return new AudioElement(Yi,this.globalData,this)},BaseRenderer.prototype.createFootage=function(Yi){return new FootageElement(Yi,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var Yi,eo=this.layers.length;for(Yi=0;Yi<eo;Yi+=1)this.buildItem(Yi);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(Yi){this.completeLayers=!1;var eo,to=Yi.length,ro,no=this.layers.length;for(eo=0;eo<to;eo+=1)for(ro=0;ro<no;){if(this.layers[ro].id===Yi[eo].id){this.layers[ro]=Yi[eo];break}ro+=1}},BaseRenderer.prototype.setProjectInterface=function(Yi){this.globalData.projectInterface=Yi},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(Yi,eo,to){for(var ro=this.elements,no=this.layers,io=0,oo=no.length;io<oo;)no[io].ind==eo&&(!ro[io]||ro[io]===!0?(this.buildItem(io),this.addPendingElement(Yi)):(to.push(ro[io]),ro[io].setAsParent(),no[io].parent!==void 0?this.buildElementParenting(Yi,no[io].parent,to):Yi.setHierarchy(to))),io+=1},BaseRenderer.prototype.addPendingElement=function(Yi){this.pendingElements.push(Yi)},BaseRenderer.prototype.searchExtraCompositions=function(Yi){var eo,to=Yi.length;for(eo=0;eo<to;eo+=1)if(Yi[eo].xt){var ro=this.createComp(Yi[eo]);ro.initExpressions(),this.globalData.projectInterface.registerComposition(ro)}},BaseRenderer.prototype.getElementById=function(Yi){var eo,to=this.elements.length;for(eo=0;eo<to;eo+=1)if(this.elements[eo].data.ind===Yi)return this.elements[eo];return null},BaseRenderer.prototype.getElementByPath=function(Yi){var eo=Yi.shift(),to;if(typeof eo=="number")to=this.elements[eo];else{var ro,no=this.elements.length;for(ro=0;ro<no;ro+=1)if(this.elements[ro].data.nm===eo){to=this.elements[ro];break}}return Yi.length===0?to:to.getElementByPath(Yi)},BaseRenderer.prototype.setupGlobalData=function(Yi,eo){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(Yi),this.globalData.fontManager.addChars(Yi.chars),this.globalData.fontManager.addFonts(Yi.fonts,eo),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=Yi.fr,this.globalData.nm=Yi.nm,this.globalData.compSize={w:Yi.w,h:Yi.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}TransformElement.prototype={initTransform:function(){var eo=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:eo,localMat:eo,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var eo,to=this.finalTransform.mat,ro=0,no=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;ro<no;){if(this.hierarchy[ro].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}ro+=1}if(this.finalTransform._matMdf)for(eo=this.finalTransform.mProp.v.props,to.cloneFromProps(eo),ro=0;ro<no;ro+=1)to.multiply(this.hierarchy[ro].finalTransform.mProp.v)}(!this.localTransforms||this.finalTransform._matMdf)&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var eo=0,to=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;eo<to;)this.localTransforms[eo]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[eo]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),eo+=1;if(this.finalTransform._localMatMdf){var ro=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(ro),eo=1;eo<to;eo+=1){var no=this.localTransforms[eo].matrix;ro.multiply(no)}ro.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var io=this.finalTransform.localOpacity;for(eo=0;eo<to;eo+=1)io*=this.localTransforms[eo].opacity*.01;this.finalTransform.localOpacity=io}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var eo=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(eo.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var to=0,ro=eo.length;for(to=0;to<ro;to+=1)this.localTransforms.push(eo[to])}}},globalToLocal:function(eo){var to=[];to.push(this.finalTransform);for(var ro=!0,no=this.comp;ro;)no.finalTransform?(no.data.hasMask&&to.splice(0,0,no.finalTransform),no=no.comp):ro=!1;var io,oo=to.length,ao;for(io=0;io<oo;io+=1)ao=to[io].mat.applyToPointArray(0,0,0),eo=[eo[0]-ao[0],eo[1]-ao[1],0];return eo},mHelper:new Matrix};function MaskElement(Yi,eo,to){this.data=Yi,this.element=eo,this.globalData=to,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var ro=this.globalData.defs,no,io=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(io),this.solidPath="";var oo,ao=this.masksProperties,so=0,lo=[],co,uo,fo=createElementID(),ho,mo,vo,Co,bo="clipPath",wo="clip-path";for(no=0;no<io;no+=1)if((ao[no].mode!=="a"&&ao[no].mode!=="n"||ao[no].inv||ao[no].o.k!==100||ao[no].o.x)&&(bo="mask",wo="mask"),(ao[no].mode==="s"||ao[no].mode==="i")&&so===0?(ho=createNS("rect"),ho.setAttribute("fill","#ffffff"),ho.setAttribute("width",this.element.comp.data.w||0),ho.setAttribute("height",this.element.comp.data.h||0),lo.push(ho)):ho=null,oo=createNS("path"),ao[no].mode==="n")this.viewData[no]={op:PropertyFactory.getProp(this.element,ao[no].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,ao[no],3),elem:oo,lastPath:""},ro.appendChild(oo);else{so+=1,oo.setAttribute("fill",ao[no].mode==="s"?"#000000":"#ffffff"),oo.setAttribute("clip-rule","nonzero");var yo;if(ao[no].x.k!==0?(bo="mask",wo="mask",Co=PropertyFactory.getProp(this.element,ao[no].x,0,null,this.element),yo=createElementID(),mo=createNS("filter"),mo.setAttribute("id",yo),vo=createNS("feMorphology"),vo.setAttribute("operator","erode"),vo.setAttribute("in","SourceGraphic"),vo.setAttribute("radius","0"),mo.appendChild(vo),ro.appendChild(mo),oo.setAttribute("stroke",ao[no].mode==="s"?"#000000":"#ffffff")):(vo=null,Co=null),this.storedData[no]={elem:oo,x:Co,expan:vo,lastPath:"",lastOperator:"",filterId:yo,lastRadius:0},ao[no].mode==="i"){uo=lo.length;var Eo=createNS("g");for(co=0;co<uo;co+=1)Eo.appendChild(lo[co]);var xo=createNS("mask");xo.setAttribute("mask-type","alpha"),xo.setAttribute("id",fo+"_"+so),xo.appendChild(oo),ro.appendChild(xo),Eo.setAttribute("mask","url("+getLocationHref()+"#"+fo+"_"+so+")"),lo.length=0,lo.push(Eo)}else lo.push(oo);ao[no].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[no]={elem:oo,lastPath:"",op:PropertyFactory.getProp(this.element,ao[no].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,ao[no],3),invRect:ho},this.viewData[no].prop.k||this.drawPath(ao[no],this.viewData[no].prop.v,this.viewData[no])}for(this.maskElement=createNS(bo),io=lo.length,no=0;no<io;no+=1)this.maskElement.appendChild(lo[no]);so>0&&(this.maskElement.setAttribute("id",fo),this.element.maskedElement.setAttribute(wo,"url("+getLocationHref()+"#"+fo+")"),ro.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(Yi){return this.viewData[Yi].prop},MaskElement.prototype.renderFrame=function(Yi){var eo=this.element.finalTransform.mat,to,ro=this.masksProperties.length;for(to=0;to<ro;to+=1)if((this.viewData[to].prop._mdf||Yi)&&this.drawPath(this.masksProperties[to],this.viewData[to].prop.v,this.viewData[to]),(this.viewData[to].op._mdf||Yi)&&this.viewData[to].elem.setAttribute("fill-opacity",this.viewData[to].op.v),this.masksProperties[to].mode!=="n"&&(this.viewData[to].invRect&&(this.element.finalTransform.mProp._mdf||Yi)&&this.viewData[to].invRect.setAttribute("transform",eo.getInverseMatrix().to2dCSS()),this.storedData[to].x&&(this.storedData[to].x._mdf||Yi))){var no=this.storedData[to].expan;this.storedData[to].x.v<0?(this.storedData[to].lastOperator!=="erode"&&(this.storedData[to].lastOperator="erode",this.storedData[to].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[to].filterId+")")),no.setAttribute("radius",-this.storedData[to].x.v)):(this.storedData[to].lastOperator!=="dilate"&&(this.storedData[to].lastOperator="dilate",this.storedData[to].elem.setAttribute("filter",null)),this.storedData[to].elem.setAttribute("stroke-width",this.storedData[to].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var Yi="M0,0 ";return Yi+=" h"+this.globalData.compSize.w,Yi+=" v"+this.globalData.compSize.h,Yi+=" h-"+this.globalData.compSize.w,Yi+=" v-"+this.globalData.compSize.h+" ",Yi},MaskElement.prototype.drawPath=function(Yi,eo,to){var ro=" M"+eo.v[0][0]+","+eo.v[0][1],no,io;for(io=eo._length,no=1;no<io;no+=1)ro+=" C"+eo.o[no-1][0]+","+eo.o[no-1][1]+" "+eo.i[no][0]+","+eo.i[no][1]+" "+eo.v[no][0]+","+eo.v[no][1];if(eo.c&&io>1&&(ro+=" C"+eo.o[no-1][0]+","+eo.o[no-1][1]+" "+eo.i[0][0]+","+eo.i[0][1]+" "+eo.v[0][0]+","+eo.v[0][1]),to.lastPath!==ro){var oo="";to.elem&&(eo.c&&(oo=Yi.inv?this.solidPath+ro:ro),to.elem.setAttribute("d",oo)),to.lastPath=ro}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=(function(){var Yi={};Yi.createFilter=eo,Yi.createAlphaToLuminanceFilter=to;function eo(ro,no){var io=createNS("filter");return io.setAttribute("id",ro),no!==!0&&(io.setAttribute("filterUnits","objectBoundingBox"),io.setAttribute("x","0%"),io.setAttribute("y","0%"),io.setAttribute("width","100%"),io.setAttribute("height","100%")),io}function to(){var ro=createNS("feColorMatrix");return ro.setAttribute("type","matrix"),ro.setAttribute("color-interpolation-filters","sRGB"),ro.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),ro}return Yi})(),featureSupport=(function(){var Yi={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(Yi.maskType=!1),/firefox/i.test(navigator.userAgent)&&(Yi.svgLumaHidden=!1),Yi})(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(Yi){var eo,to="SourceGraphic",ro=Yi.data.ef?Yi.data.ef.length:0,no=createElementID(),io=filtersFactory.createFilter(no,!0),oo=0;this.filters=[];var ao;for(eo=0;eo<ro;eo+=1){ao=null;var so=Yi.data.ef[eo].ty;if(registeredEffects$1[so]){var lo=registeredEffects$1[so].effect;ao=new lo(io,Yi.effectsManager.effectElements[eo],Yi,idPrefix+oo,to),to=idPrefix+oo,registeredEffects$1[so].countsAsEffect&&(oo+=1)}ao&&this.filters.push(ao)}oo&&(Yi.globalData.defs.appendChild(io),Yi.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+no+")")),this.filters.length&&Yi.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(Yi){var eo,to=this.filters.length;for(eo=0;eo<to;eo+=1)this.filters[eo].renderFrame(Yi)},SVGEffects.prototype.getEffects=function(Yi){var eo,to=this.filters.length,ro=[];for(eo=0;eo<to;eo+=1)this.filters[eo].type===Yi&&ro.push(this.filters[eo]);return ro};function registerEffect$1(Yi,eo,to){registeredEffects$1[Yi]={effect:eo,countsAsEffect:to}}function SVGBaseElement(){}SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var eo=null;if(this.data.td){this.matteMasks={};var to=createNS("g");to.setAttribute("id",this.layerId),to.appendChild(this.layerElement),eo=to,this.globalData.defs.appendChild(to)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),eo=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var ro=createNS("clipPath"),no=createNS("path");no.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var io=createElementID();if(ro.setAttribute("id",io),ro.appendChild(no),this.globalData.defs.appendChild(ro),this.checkMasks()){var oo=createNS("g");oo.setAttribute("clip-path","url("+getLocationHref()+"#"+io+")"),oo.appendChild(this.layerElement),this.transformedElement=oo,eo?eo.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+io+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(eo){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[eo]){var to=this.layerId+"_"+eo,ro,no,io,oo;if(eo===1||eo===3){var ao=createNS("mask");ao.setAttribute("id",to),ao.setAttribute("mask-type",eo===3?"luminance":"alpha"),io=createNS("use"),io.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),ao.appendChild(io),this.globalData.defs.appendChild(ao),!featureSupport.maskType&&eo===1&&(ao.setAttribute("mask-type","luminance"),ro=createElementID(),no=filtersFactory.createFilter(ro),this.globalData.defs.appendChild(no),no.appendChild(filtersFactory.createAlphaToLuminanceFilter()),oo=createNS("g"),oo.appendChild(io),ao.appendChild(oo),oo.setAttribute("filter","url("+getLocationHref()+"#"+ro+")"))}else if(eo===2){var so=createNS("mask");so.setAttribute("id",to),so.setAttribute("mask-type","alpha");var lo=createNS("g");so.appendChild(lo),ro=createElementID(),no=filtersFactory.createFilter(ro);var co=createNS("feComponentTransfer");co.setAttribute("in","SourceGraphic"),no.appendChild(co);var uo=createNS("feFuncA");uo.setAttribute("type","table"),uo.setAttribute("tableValues","1.0 0.0"),co.appendChild(uo),this.globalData.defs.appendChild(no);var fo=createNS("rect");fo.setAttribute("width",this.comp.data.w),fo.setAttribute("height",this.comp.data.h),fo.setAttribute("x","0"),fo.setAttribute("y","0"),fo.setAttribute("fill","#ffffff"),fo.setAttribute("opacity","0"),lo.setAttribute("filter","url("+getLocationHref()+"#"+ro+")"),lo.appendChild(fo),io=createNS("use"),io.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),lo.appendChild(io),featureSupport.maskType||(so.setAttribute("mask-type","luminance"),no.appendChild(filtersFactory.createAlphaToLuminanceFilter()),oo=createNS("g"),lo.appendChild(fo),oo.appendChild(this.layerElement),lo.appendChild(oo)),this.globalData.defs.appendChild(so)}this.matteMasks[eo]=to}return this.matteMasks[eo]},setMatte:function(eo){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+eo+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(eo){this.hierarchy=eo},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var Yi={initElement:function(to,ro,no){this.initFrame(),this.initBaseData(to,ro,no),this.initTransform(to,ro,no),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var to=this.baseElement||this.layerElement;to.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var to=this.baseElement||this.layerElement;to.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(to){this._mdf=!1,this.prepareRenderableFrame(to),this.prepareProperties(to,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(Yi)],RenderableDOMElement)})();function IImageElement(Yi,eo,to){this.assetData=eo.getAssetData(Yi.refId),this.assetData&&this.assetData.sid&&(this.assetData=eo.slotManager.getProp(this.assetData)),this.initElement(Yi,eo,to),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var Yi=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",Yi),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(Yi,eo){this.elem=Yi,this.pos=eo}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(eo){var to,ro=this.shapeModifiers.length;for(to=0;to<ro;to+=1)this.shapeModifiers[to].addShape(eo)},isShapeInAnimatedModifiers:function(eo){for(var to=0,ro=this.shapeModifiers.length;to<ro;)if(this.shapeModifiers[to].isAnimatedWithShape(eo))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var eo,to=this.shapes.length;for(eo=0;eo<to;eo+=1)this.shapes[eo].sh.reset();to=this.shapeModifiers.length;var ro;for(eo=to-1;eo>=0&&(ro=this.shapeModifiers[eo].processShapes(this._isFirstFrame),!ro);eo-=1);}},searchProcessedElement:function(eo){for(var to=this.processedElements,ro=0,no=to.length;ro<no;){if(to[ro].elem===eo)return to[ro].pos;ro+=1}return 0},addProcessedElement:function(eo,to){for(var ro=this.processedElements,no=ro.length;no;)if(no-=1,ro[no].elem===eo){ro[no].pos=to;return}ro.push(new ProcessedElement(eo,to))},prepareFrame:function(eo){this.prepareRenderableFrame(eo),this.prepareProperties(eo,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(Yi,eo,to){this.caches=[],this.styles=[],this.transformers=Yi,this.lStr="",this.sh=to,this.lvl=eo,this._isAnimated=!!to.k;for(var ro=0,no=Yi.length;ro<no;){if(Yi[ro].mProps.dynamicProperties.length){this._isAnimated=!0;break}ro+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(Yi,eo){this.data=Yi,this.type=Yi.ty,this.d="",this.lvl=eo,this._mdf=!1,this.closed=Yi.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(Yi,eo,to,ro){this.elem=Yi,this.frameId=-1,this.dataProps=createSizedArray(eo.length),this.renderer=to,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",eo.length?eo.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(ro);var no,io=eo.length||0,oo;for(no=0;no<io;no+=1)oo=PropertyFactory.getProp(Yi,eo[no].v,0,0,this),this.k=oo.k||this.k,this.dataProps[no]={n:eo[no].n,p:oo};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(Yi){if(!(this.elem.globalData.frameId===this.frameId&&!Yi)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||Yi,this._mdf)){var eo=0,to=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),eo=0;eo<to;eo+=1)this.dataProps[eo].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[eo].p.v:this.dashArray[eo]=this.dataProps[eo].p.v:this.dashoffset[0]=this.dataProps[eo].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(Yi,eo,to){this.initDynamicPropertyContainer(Yi),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(Yi,eo.o,0,.01,this),this.w=PropertyFactory.getProp(Yi,eo.w,0,null,this),this.d=new DashProperty(Yi,eo.d||{},"svg",this),this.c=PropertyFactory.getProp(Yi,eo.c,1,255,this),this.style=to,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(Yi,eo,to){this.initDynamicPropertyContainer(Yi),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(Yi,eo.o,0,.01,this),this.c=PropertyFactory.getProp(Yi,eo.c,1,255,this),this.style=to}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(Yi,eo,to){this.initDynamicPropertyContainer(Yi),this.getValue=this.iterateDynamicProperties,this.style=to}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(Yi,eo,to){this.data=eo,this.c=createTypedArray("uint8c",eo.p*4);var ro=eo.k.k[0].s?eo.k.k[0].s.length-eo.p*4:eo.k.k.length-eo.p*4;this.o=createTypedArray("float32",ro),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=ro,this.initDynamicPropertyContainer(to),this.prop=PropertyFactory.getProp(Yi,eo.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(Yi,eo){for(var to=0,ro=this.o.length/2,no;to<ro;){if(no=Math.abs(Yi[to*4]-Yi[eo*4+to*2]),no>.01)return!1;to+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var Yi=0,eo=this.data.k.k.length;Yi<eo;){if(!this.comparePoints(this.data.k.k[Yi].s,this.data.p))return!1;Yi+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(Yi){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||Yi){var eo,to=this.data.p*4,ro,no;for(eo=0;eo<to;eo+=1)ro=eo%4===0?100:255,no=Math.round(this.prop.v[eo]*ro),this.c[eo]!==no&&(this.c[eo]=no,this._cmdf=!Yi);if(this.o.length)for(to=this.prop.v.length,eo=this.data.p*4;eo<to;eo+=1)ro=eo%2===0?100:1,no=eo%2===0?Math.round(this.prop.v[eo]*100):this.prop.v[eo],this.o[eo-this.data.p*4]!==no&&(this.o[eo-this.data.p*4]=no,this._omdf=!Yi);this._mdf=!Yi}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(Yi,eo,to){this.initDynamicPropertyContainer(Yi),this.getValue=this.iterateDynamicProperties,this.initGradientData(Yi,eo,to)}SVGGradientFillStyleData.prototype.initGradientData=function(Yi,eo,to){this.o=PropertyFactory.getProp(Yi,eo.o,0,.01,this),this.s=PropertyFactory.getProp(Yi,eo.s,1,null,this),this.e=PropertyFactory.getProp(Yi,eo.e,1,null,this),this.h=PropertyFactory.getProp(Yi,eo.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(Yi,eo.a||{k:0},0,degToRads,this),this.g=new GradientProperty(Yi,eo.g,this),this.style=to,this.stops=[],this.setGradientData(to.pElem,eo),this.setGradientOpacity(eo,to),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(Yi,eo){var to=createElementID(),ro=createNS(eo.t===1?"linearGradient":"radialGradient");ro.setAttribute("id",to),ro.setAttribute("spreadMethod","pad"),ro.setAttribute("gradientUnits","userSpaceOnUse");var no=[],io,oo,ao;for(ao=eo.g.p*4,oo=0;oo<ao;oo+=4)io=createNS("stop"),ro.appendChild(io),no.push(io);Yi.setAttribute(eo.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+to+")"),this.gf=ro,this.cst=no},SVGGradientFillStyleData.prototype.setGradientOpacity=function(Yi,eo){if(this.g._hasOpacity&&!this.g._collapsable){var to,ro,no,io=createNS("mask"),oo=createNS("path");io.appendChild(oo);var ao=createElementID(),so=createElementID();io.setAttribute("id",so);var lo=createNS(Yi.t===1?"linearGradient":"radialGradient");lo.setAttribute("id",ao),lo.setAttribute("spreadMethod","pad"),lo.setAttribute("gradientUnits","userSpaceOnUse"),no=Yi.g.k.k[0].s?Yi.g.k.k[0].s.length:Yi.g.k.k.length;var co=this.stops;for(ro=Yi.g.p*4;ro<no;ro+=2)to=createNS("stop"),to.setAttribute("stop-color","rgb(255,255,255)"),lo.appendChild(to),co.push(to);oo.setAttribute(Yi.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+ao+")"),Yi.ty==="gs"&&(oo.setAttribute("stroke-linecap",lineCapEnum[Yi.lc||2]),oo.setAttribute("stroke-linejoin",lineJoinEnum[Yi.lj||2]),Yi.lj===1&&oo.setAttribute("stroke-miterlimit",Yi.ml)),this.of=lo,this.ms=io,this.ost=co,this.maskId=so,eo.msElem=oo}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(Yi,eo,to){this.initDynamicPropertyContainer(Yi),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(Yi,eo.w,0,null,this),this.d=new DashProperty(Yi,eo.d||{},"svg",this),this.initGradientData(Yi,eo,to),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(Yi,eo,to){this.transform={mProps:Yi,op:eo,container:to},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(eo,to,ro,no){if(to===0)return"";var io=eo.o,oo=eo.i,ao=eo.v,so,lo=" M"+no.applyToPointStringified(ao[0][0],ao[0][1]);for(so=1;so<to;so+=1)lo+=" C"+no.applyToPointStringified(io[so-1][0],io[so-1][1])+" "+no.applyToPointStringified(oo[so][0],oo[so][1])+" "+no.applyToPointStringified(ao[so][0],ao[so][1]);return ro&&to&&(lo+=" C"+no.applyToPointStringified(io[so-1][0],io[so-1][1])+" "+no.applyToPointStringified(oo[0][0],oo[0][1])+" "+no.applyToPointStringified(ao[0][0],ao[0][1]),lo+="z"),lo},SVGElementsRenderer=(function(){var Yi=new Matrix,eo=new Matrix,to={createRenderFunction:ro};function ro(uo){switch(uo.ty){case"fl":return ao;case"gf":return lo;case"gs":return so;case"st":return co;case"sh":case"el":case"rc":case"sr":return oo;case"tr":return no;case"no":return io;default:return null}}function no(uo,fo,ho){(ho||fo.transform.op._mdf)&&fo.transform.container.setAttribute("opacity",fo.transform.op.v),(ho||fo.transform.mProps._mdf)&&fo.transform.container.setAttribute("transform",fo.transform.mProps.v.to2dCSS())}function io(){}function oo(uo,fo,ho){var mo,vo,Co,bo,wo,yo,Eo=fo.styles.length,xo=fo.lvl,So,To,Ro,Po;for(yo=0;yo<Eo;yo+=1){if(bo=fo.sh._mdf||ho,fo.styles[yo].lvl<xo){for(To=eo.reset(),Ro=xo-fo.styles[yo].lvl,Po=fo.transformers.length-1;!bo&&Ro>0;)bo=fo.transformers[Po].mProps._mdf||bo,Ro-=1,Po-=1;if(bo)for(Ro=xo-fo.styles[yo].lvl,Po=fo.transformers.length-1;Ro>0;)To.multiply(fo.transformers[Po].mProps.v),Ro-=1,Po-=1}else To=Yi;if(So=fo.sh.paths,vo=So._length,bo){for(Co="",mo=0;mo<vo;mo+=1)wo=So.shapes[mo],wo&&wo._length&&(Co+=buildShapeString(wo,wo._length,wo.c,To));fo.caches[yo]=Co}else Co=fo.caches[yo];fo.styles[yo].d+=uo.hd===!0?"":Co,fo.styles[yo]._mdf=bo||fo.styles[yo]._mdf}}function ao(uo,fo,ho){var mo=fo.style;(fo.c._mdf||ho)&&mo.pElem.setAttribute("fill","rgb("+bmFloor(fo.c.v[0])+","+bmFloor(fo.c.v[1])+","+bmFloor(fo.c.v[2])+")"),(fo.o._mdf||ho)&&mo.pElem.setAttribute("fill-opacity",fo.o.v)}function so(uo,fo,ho){lo(uo,fo,ho),co(uo,fo,ho)}function lo(uo,fo,ho){var mo=fo.gf,vo=fo.g._hasOpacity,Co=fo.s.v,bo=fo.e.v;if(fo.o._mdf||ho){var wo=uo.ty==="gf"?"fill-opacity":"stroke-opacity";fo.style.pElem.setAttribute(wo,fo.o.v)}if(fo.s._mdf||ho){var yo=uo.t===1?"x1":"cx",Eo=yo==="x1"?"y1":"cy";mo.setAttribute(yo,Co[0]),mo.setAttribute(Eo,Co[1]),vo&&!fo.g._collapsable&&(fo.of.setAttribute(yo,Co[0]),fo.of.setAttribute(Eo,Co[1]))}var xo,So,To,Ro;if(fo.g._cmdf||ho){xo=fo.cst;var Po=fo.g.c;for(To=xo.length,So=0;So<To;So+=1)Ro=xo[So],Ro.setAttribute("offset",Po[So*4]+"%"),Ro.setAttribute("stop-color","rgb("+Po[So*4+1]+","+Po[So*4+2]+","+Po[So*4+3]+")")}if(vo&&(fo.g._omdf||ho)){var zo=fo.g.o;for(fo.g._collapsable?xo=fo.cst:xo=fo.ost,To=xo.length,So=0;So<To;So+=1)Ro=xo[So],fo.g._collapsable||Ro.setAttribute("offset",zo[So*2]+"%"),Ro.setAttribute("stop-opacity",zo[So*2+1])}if(uo.t===1)(fo.e._mdf||ho)&&(mo.setAttribute("x2",bo[0]),mo.setAttribute("y2",bo[1]),vo&&!fo.g._collapsable&&(fo.of.setAttribute("x2",bo[0]),fo.of.setAttribute("y2",bo[1])));else{var Ho;if((fo.s._mdf||fo.e._mdf||ho)&&(Ho=Math.sqrt(Math.pow(Co[0]-bo[0],2)+Math.pow(Co[1]-bo[1],2)),mo.setAttribute("r",Ho),vo&&!fo.g._collapsable&&fo.of.setAttribute("r",Ho)),fo.s._mdf||fo.e._mdf||fo.h._mdf||fo.a._mdf||ho){Ho||(Ho=Math.sqrt(Math.pow(Co[0]-bo[0],2)+Math.pow(Co[1]-bo[1],2)));var Vo=Math.atan2(bo[1]-Co[1],bo[0]-Co[0]),Lo=fo.h.v;Lo>=1?Lo=.99:Lo<=-1&&(Lo=-.99);var Uo=Ho*Lo,Do=Math.cos(Vo+fo.a.v)*Uo+Co[0],Oo=Math.sin(Vo+fo.a.v)*Uo+Co[1];mo.setAttribute("fx",Do),mo.setAttribute("fy",Oo),vo&&!fo.g._collapsable&&(fo.of.setAttribute("fx",Do),fo.of.setAttribute("fy",Oo))}}}function co(uo,fo,ho){var mo=fo.style,vo=fo.d;vo&&(vo._mdf||ho)&&vo.dashStr&&(mo.pElem.setAttribute("stroke-dasharray",vo.dashStr),mo.pElem.setAttribute("stroke-dashoffset",vo.dashoffset[0])),fo.c&&(fo.c._mdf||ho)&&mo.pElem.setAttribute("stroke","rgb("+bmFloor(fo.c.v[0])+","+bmFloor(fo.c.v[1])+","+bmFloor(fo.c.v[2])+")"),(fo.o._mdf||ho)&&mo.pElem.setAttribute("stroke-opacity",fo.o.v),(fo.w._mdf||ho)&&(mo.pElem.setAttribute("stroke-width",fo.w.v),mo.msElem&&mo.msElem.setAttribute("stroke-width",fo.w.v))}return to})();function SVGShapeElement(Yi,eo,to){this.shapes=[],this.shapesData=Yi.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(Yi,eo,to),this.prevViewData=[]}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var Yi,eo=this.shapes.length,to,ro,no=this.stylesList.length,io,oo=[],ao=!1;for(ro=0;ro<no;ro+=1){for(io=this.stylesList[ro],ao=!1,oo.length=0,Yi=0;Yi<eo;Yi+=1)to=this.shapes[Yi],to.styles.indexOf(io)!==-1&&(oo.push(to),ao=to._isAnimated||ao);oo.length>1&&ao&&this.setShapesAsAnimated(oo)}},SVGShapeElement.prototype.setShapesAsAnimated=function(Yi){var eo,to=Yi.length;for(eo=0;eo<to;eo+=1)Yi[eo].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(Yi,eo){var to,ro=new SVGStyleData(Yi,eo),no=ro.pElem;if(Yi.ty==="st")to=new SVGStrokeStyleData(this,Yi,ro);else if(Yi.ty==="fl")to=new SVGFillStyleData(this,Yi,ro);else if(Yi.ty==="gf"||Yi.ty==="gs"){var io=Yi.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;to=new io(this,Yi,ro),this.globalData.defs.appendChild(to.gf),to.maskId&&(this.globalData.defs.appendChild(to.ms),this.globalData.defs.appendChild(to.of),no.setAttribute("mask","url("+getLocationHref()+"#"+to.maskId+")"))}else Yi.ty==="no"&&(to=new SVGNoStyleData(this,Yi,ro));return(Yi.ty==="st"||Yi.ty==="gs")&&(no.setAttribute("stroke-linecap",lineCapEnum[Yi.lc||2]),no.setAttribute("stroke-linejoin",lineJoinEnum[Yi.lj||2]),no.setAttribute("fill-opacity","0"),Yi.lj===1&&no.setAttribute("stroke-miterlimit",Yi.ml)),Yi.r===2&&no.setAttribute("fill-rule","evenodd"),Yi.ln&&no.setAttribute("id",Yi.ln),Yi.cl&&no.setAttribute("class",Yi.cl),Yi.bm&&(no.style["mix-blend-mode"]=getBlendMode(Yi.bm)),this.stylesList.push(ro),this.addToAnimatedContents(Yi,to),to},SVGShapeElement.prototype.createGroupElement=function(Yi){var eo=new ShapeGroupData;return Yi.ln&&eo.gr.setAttribute("id",Yi.ln),Yi.cl&&eo.gr.setAttribute("class",Yi.cl),Yi.bm&&(eo.gr.style["mix-blend-mode"]=getBlendMode(Yi.bm)),eo},SVGShapeElement.prototype.createTransformElement=function(Yi,eo){var to=TransformPropertyFactory.getTransformProperty(this,Yi,this),ro=new SVGTransformData(to,to.o,eo);return this.addToAnimatedContents(Yi,ro),ro},SVGShapeElement.prototype.createShapeElement=function(Yi,eo,to){var ro=4;Yi.ty==="rc"?ro=5:Yi.ty==="el"?ro=6:Yi.ty==="sr"&&(ro=7);var no=ShapePropertyFactory.getShapeProp(this,Yi,ro,this),io=new SVGShapeData(eo,to,no);return this.shapes.push(io),this.addShapeToModifiers(io),this.addToAnimatedContents(Yi,io),io},SVGShapeElement.prototype.addToAnimatedContents=function(Yi,eo){for(var to=0,ro=this.animatedContents.length;to<ro;){if(this.animatedContents[to].element===eo)return;to+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(Yi),element:eo,data:Yi})},SVGShapeElement.prototype.setElementStyles=function(Yi){var eo=Yi.styles,to,ro=this.stylesList.length;for(to=0;to<ro;to+=1)eo.indexOf(this.stylesList[to])===-1&&!this.stylesList[to].closed&&eo.push(this.stylesList[to])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var Yi,eo=this.itemsData.length;for(Yi=0;Yi<eo;Yi+=1)this.prevViewData[Yi]=this.itemsData[Yi];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),eo=this.dynamicProperties.length,Yi=0;Yi<eo;Yi+=1)this.dynamicProperties[Yi].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(Yi,eo,to,ro,no,io,oo){var ao=[].concat(io),so,lo=Yi.length-1,co,uo,fo=[],ho=[],mo,vo,Co;for(so=lo;so>=0;so-=1){if(Co=this.searchProcessedElement(Yi[so]),Co?eo[so]=to[Co-1]:Yi[so]._render=oo,Yi[so].ty==="fl"||Yi[so].ty==="st"||Yi[so].ty==="gf"||Yi[so].ty==="gs"||Yi[so].ty==="no")Co?eo[so].style.closed=Yi[so].hd:eo[so]=this.createStyleElement(Yi[so],no),Yi[so]._render&&eo[so].style.pElem.parentNode!==ro&&ro.appendChild(eo[so].style.pElem),fo.push(eo[so].style);else if(Yi[so].ty==="gr"){if(!Co)eo[so]=this.createGroupElement(Yi[so]);else for(uo=eo[so].it.length,co=0;co<uo;co+=1)eo[so].prevViewData[co]=eo[so].it[co];this.searchShapes(Yi[so].it,eo[so].it,eo[so].prevViewData,eo[so].gr,no+1,ao,oo),Yi[so]._render&&eo[so].gr.parentNode!==ro&&ro.appendChild(eo[so].gr)}else Yi[so].ty==="tr"?(Co||(eo[so]=this.createTransformElement(Yi[so],ro)),mo=eo[so].transform,ao.push(mo)):Yi[so].ty==="sh"||Yi[so].ty==="rc"||Yi[so].ty==="el"||Yi[so].ty==="sr"?(Co||(eo[so]=this.createShapeElement(Yi[so],ao,no)),this.setElementStyles(eo[so])):Yi[so].ty==="tm"||Yi[so].ty==="rd"||Yi[so].ty==="ms"||Yi[so].ty==="pb"||Yi[so].ty==="zz"||Yi[so].ty==="op"?(Co?(vo=eo[so],vo.closed=!1):(vo=ShapeModifiers.getModifier(Yi[so].ty),vo.init(this,Yi[so]),eo[so]=vo,this.shapeModifiers.push(vo)),ho.push(vo)):Yi[so].ty==="rp"&&(Co?(vo=eo[so],vo.closed=!0):(vo=ShapeModifiers.getModifier(Yi[so].ty),eo[so]=vo,vo.init(this,Yi,so,eo),this.shapeModifiers.push(vo),oo=!1),ho.push(vo));this.addProcessedElement(Yi[so],so+1)}for(lo=fo.length,so=0;so<lo;so+=1)fo[so].closed=!0;for(lo=ho.length,so=0;so<lo;so+=1)ho[so].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var Yi,eo=this.stylesList.length;for(Yi=0;Yi<eo;Yi+=1)this.stylesList[Yi].reset();for(this.renderShape(),Yi=0;Yi<eo;Yi+=1)(this.stylesList[Yi]._mdf||this._isFirstFrame)&&(this.stylesList[Yi].msElem&&(this.stylesList[Yi].msElem.setAttribute("d",this.stylesList[Yi].d),this.stylesList[Yi].d="M0 0"+this.stylesList[Yi].d),this.stylesList[Yi].pElem.setAttribute("d",this.stylesList[Yi].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var Yi,eo=this.animatedContents.length,to;for(Yi=0;Yi<eo;Yi+=1)to=this.animatedContents[Yi],(this._isFirstFrame||to.element._isAnimated)&&to.data!==!0&&to.fn(to.data,to.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(Yi,eo,to,ro,no,io){this.o=Yi,this.sw=eo,this.sc=to,this.fc=ro,this.m=no,this.p=io,this._mdf={o:!0,sw:!!eo,sc:!!to,fc:!!ro,m:!0,p:!0}}LetterProps.prototype.update=function(Yi,eo,to,ro,no,io){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var oo=!1;return this.o!==Yi&&(this.o=Yi,this._mdf.o=!0,oo=!0),this.sw!==eo&&(this.sw=eo,this._mdf.sw=!0,oo=!0),this.sc!==to&&(this.sc=to,this._mdf.sc=!0,oo=!0),this.fc!==ro&&(this.fc=ro,this._mdf.fc=!0,oo=!0),this.m!==no&&(this.m=no,this._mdf.m=!0,oo=!0),io.length&&(this.p[0]!==io[0]||this.p[1]!==io[1]||this.p[4]!==io[4]||this.p[5]!==io[5]||this.p[12]!==io[12]||this.p[13]!==io[13])&&(this.p=io,this._mdf.p=!0,oo=!0),oo};function TextProperty(Yi,eo){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,eo.d&&eo.d.sid&&(eo.d=Yi.globalData.slotManager.getProp(eo.d)),this.data=eo,this.elem=Yi,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(Yi,eo){for(var to in eo)Object.prototype.hasOwnProperty.call(eo,to)&&(Yi[to]=eo[to]);return Yi},TextProperty.prototype.setCurrentData=function(Yi){Yi.__complete||this.completeTextData(Yi),this.currentData=Yi,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(Yi){this.effectsSequence.push(Yi),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(Yi){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!Yi)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var eo=this.currentData,to=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var ro,no=this.effectsSequence.length,io=Yi||this.data.d.k[this.keysIndex].s;for(ro=0;ro<no;ro+=1)to!==this.keysIndex?io=this.effectsSequence[ro](io,io.t):io=this.effectsSequence[ro](this.currentData,io.t);eo!==io&&this.setCurrentData(io),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var Yi=this.data.d.k,eo=this.elem.comp.renderedFrame,to=0,ro=Yi.length;to<=ro-1&&!(to===ro-1||Yi[to+1].t>eo);)to+=1;return this.keysIndex!==to&&(this.keysIndex=to),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(Yi){for(var eo=[],to=0,ro=Yi.length,no,io,oo=!1,ao=!1,so="";to<ro;)oo=ao,ao=!1,no=Yi.charCodeAt(to),so=Yi.charAt(to),FontManager.isCombinedCharacter(no)?oo=!0:no>=55296&&no<=56319?FontManager.isRegionalFlag(Yi,to)?so=Yi.substr(to,14):(io=Yi.charCodeAt(to+1),io>=56320&&io<=57343&&(FontManager.isModifier(no,io)?(so=Yi.substr(to,2),oo=!0):FontManager.isFlagEmoji(Yi.substr(to,4))?so=Yi.substr(to,4):so=Yi.substr(to,2))):no>56319?(io=Yi.charCodeAt(to+1),FontManager.isVariationSelector(no)&&(oo=!0)):FontManager.isZeroWidthJoiner(no)&&(oo=!0,ao=!0),oo?(eo[eo.length-1]+=so,oo=!1):eo.push(so),to+=so.length;return eo},TextProperty.prototype.completeTextData=function(Yi){Yi.__complete=!0;var eo=this.elem.globalData.fontManager,to=this.data,ro=[],no,io,oo,ao=0,so,lo=to.m.g,co=0,uo=0,fo=0,ho=[],mo=0,vo=0,Co,bo,wo=eo.getFontByName(Yi.f),yo,Eo=0,xo=getFontProperties(wo);Yi.fWeight=xo.weight,Yi.fStyle=xo.style,Yi.finalSize=Yi.s,Yi.finalText=this.buildFinalText(Yi.t),io=Yi.finalText.length,Yi.finalLineHeight=Yi.lh;var So=Yi.tr/1e3*Yi.finalSize,To;if(Yi.sz)for(var Ro=!0,Po=Yi.sz[0],zo=Yi.sz[1],Ho,Vo;Ro;){Vo=this.buildFinalText(Yi.t),Ho=0,mo=0,io=Vo.length,So=Yi.tr/1e3*Yi.finalSize;var Lo=-1;for(no=0;no<io;no+=1)To=Vo[no].charCodeAt(0),oo=!1,Vo[no]===" "?Lo=no:(To===13||To===3)&&(mo=0,oo=!0,Ho+=Yi.finalLineHeight||Yi.finalSize*1.2),eo.chars?(yo=eo.getCharData(Vo[no],wo.fStyle,wo.fFamily),Eo=oo?0:yo.w*Yi.finalSize/100):Eo=eo.measureText(Vo[no],Yi.f,Yi.finalSize),mo+Eo>Po&&Vo[no]!==" "?(Lo===-1?io+=1:no=Lo,Ho+=Yi.finalLineHeight||Yi.finalSize*1.2,Vo.splice(no,Lo===no?1:0,"\r"),Lo=-1,mo=0):(mo+=Eo,mo+=So);Ho+=wo.ascent*Yi.finalSize/100,this.canResize&&Yi.finalSize>this.minimumFontSize&&zo<Ho?(Yi.finalSize-=1,Yi.finalLineHeight=Yi.finalSize*Yi.lh/Yi.s):(Yi.finalText=Vo,io=Yi.finalText.length,Ro=!1)}mo=-So,Eo=0;var Uo=0,Do;for(no=0;no<io;no+=1)if(oo=!1,Do=Yi.finalText[no],To=Do.charCodeAt(0),To===13||To===3?(Uo=0,ho.push(mo),vo=mo>vo?mo:vo,mo=-2*So,so="",oo=!0,fo+=1):so=Do,eo.chars?(yo=eo.getCharData(Do,wo.fStyle,eo.getFontByName(Yi.f).fFamily),Eo=oo?0:yo.w*Yi.finalSize/100):Eo=eo.measureText(so,Yi.f,Yi.finalSize),Do===" "?Uo+=Eo+So:(mo+=Eo+So+Uo,Uo=0),ro.push({l:Eo,an:Eo,add:co,n:oo,anIndexes:[],val:so,line:fo,animatorJustifyOffset:0}),lo==2){if(co+=Eo,so===""||so===" "||no===io-1){for((so===""||so===" ")&&(co-=Eo);uo<=no;)ro[uo].an=co,ro[uo].ind=ao,ro[uo].extra=Eo,uo+=1;ao+=1,co=0}}else if(lo==3){if(co+=Eo,so===""||no===io-1){for(so===""&&(co-=Eo);uo<=no;)ro[uo].an=co,ro[uo].ind=ao,ro[uo].extra=Eo,uo+=1;co=0,ao+=1}}else ro[ao].ind=ao,ro[ao].extra=0,ao+=1;if(Yi.l=ro,vo=mo>vo?mo:vo,ho.push(mo),Yi.sz)Yi.boxWidth=Yi.sz[0],Yi.justifyOffset=0;else switch(Yi.boxWidth=vo,Yi.j){case 1:Yi.justifyOffset=-Yi.boxWidth;break;case 2:Yi.justifyOffset=-Yi.boxWidth/2;break;default:Yi.justifyOffset=0}Yi.lineWidths=ho;var Oo=to.a,ko,Bo;bo=Oo.length;var Fo,Qo,jo=[];for(Co=0;Co<bo;Co+=1){for(ko=Oo[Co],ko.a.sc&&(Yi.strokeColorAnim=!0),ko.a.sw&&(Yi.strokeWidthAnim=!0),(ko.a.fc||ko.a.fh||ko.a.fs||ko.a.fb)&&(Yi.fillColorAnim=!0),Qo=0,Fo=ko.s.b,no=0;no<io;no+=1)Bo=ro[no],Bo.anIndexes[Co]=Qo,(Fo==1&&Bo.val!==""||Fo==2&&Bo.val!==""&&Bo.val!==" "||Fo==3&&(Bo.n||Bo.val==" "||no==io-1)||Fo==4&&(Bo.n||no==io-1))&&(ko.s.rn===1&&jo.push(Qo),Qo+=1);to.a[Co].s.totalChars=Qo;var Xo=-1,Zo;if(ko.s.rn===1)for(no=0;no<io;no+=1)Bo=ro[no],Xo!=Bo.anIndexes[Co]&&(Xo=Bo.anIndexes[Co],Zo=jo.splice(Math.floor(Math.random()*jo.length),1)[0]),Bo.anIndexes[Co]=Zo}Yi.yOffset=Yi.finalLineHeight||Yi.finalSize*1.2,Yi.ls=Yi.ls||0,Yi.ascent=wo.ascent*Yi.finalSize/100},TextProperty.prototype.updateDocumentData=function(Yi,eo){eo=eo===void 0?this.keysIndex:eo;var to=this.copyData({},this.data.d.k[eo].s);to=this.copyData(to,Yi),this.data.d.k[eo].s=to,this.recalculate(eo),this.setCurrentData(to),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(Yi){var eo=this.data.d.k[Yi].s;eo.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(eo)},TextProperty.prototype.canResizeFont=function(Yi){this.canResize=Yi,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(Yi){this.minimumFontSize=Math.floor(Yi)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=(function(){var Yi=Math.max,eo=Math.min,to=Math.floor;function ro(io,oo){this._currentTextLength=-1,this.k=!1,this.data=oo,this.elem=io,this.comp=io.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(io),this.s=PropertyFactory.getProp(io,oo.s||{k:0},0,0,this),"e"in oo?this.e=PropertyFactory.getProp(io,oo.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(io,oo.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(io,oo.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(io,oo.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(io,oo.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(io,oo.a,0,.01,this),this.dynamicProperties.length||this.getValue()}ro.prototype={getMult:function(oo){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var ao=0,so=0,lo=1,co=1;this.ne.v>0?ao=this.ne.v/100:so=-this.ne.v/100,this.xe.v>0?lo=1-this.xe.v/100:co=1+this.xe.v/100;var uo=BezierFactory.getBezierEasing(ao,so,lo,co).get,fo=0,ho=this.finalS,mo=this.finalE,vo=this.data.sh;if(vo===2)mo===ho?fo=oo>=mo?1:0:fo=Yi(0,eo(.5/(mo-ho)+(oo-ho)/(mo-ho),1)),fo=uo(fo);else if(vo===3)mo===ho?fo=oo>=mo?0:1:fo=1-Yi(0,eo(.5/(mo-ho)+(oo-ho)/(mo-ho),1)),fo=uo(fo);else if(vo===4)mo===ho?fo=0:(fo=Yi(0,eo(.5/(mo-ho)+(oo-ho)/(mo-ho),1)),fo<.5?fo*=2:fo=1-2*(fo-.5)),fo=uo(fo);else if(vo===5){if(mo===ho)fo=0;else{var Co=mo-ho;oo=eo(Yi(0,oo+.5-ho),mo-ho);var bo=-Co/2+oo,wo=Co/2;fo=Math.sqrt(1-bo*bo/(wo*wo))}fo=uo(fo)}else vo===6?(mo===ho?fo=0:(oo=eo(Yi(0,oo+.5-ho),mo-ho),fo=(1+Math.cos(Math.PI+Math.PI*2*oo/(mo-ho)))/2),fo=uo(fo)):(oo>=to(ho)&&(oo-ho<0?fo=Yi(0,eo(eo(mo,1)-(ho-oo),1)):fo=Yi(0,eo(mo-oo,1))),fo=uo(fo));if(this.sm.v!==100){var yo=this.sm.v*.01;yo===0&&(yo=1e-8);var Eo=.5-yo*.5;fo<Eo?fo=0:(fo=(fo-Eo)/yo,fo>1&&(fo=1))}return fo*this.a.v},getValue:function(oo){this.iterateDynamicProperties(),this._mdf=oo||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,oo&&this.data.r===2&&(this.e.v=this._currentTextLength);var ao=this.data.r===2?1:100/this.data.totalChars,so=this.o.v/ao,lo=this.s.v/ao+so,co=this.e.v/ao+so;if(lo>co){var uo=lo;lo=co,co=uo}this.finalS=lo,this.finalE=co}},extendPrototype([DynamicPropertyContainer],ro);function no(io,oo,ao){return new ro(io,oo)}return{getTextSelectorProp:no}})();function TextAnimatorDataProperty(Yi,eo,to){var ro={propType:!1},no=PropertyFactory.getProp,io=eo.a;this.a={r:io.r?no(Yi,io.r,0,degToRads,to):ro,rx:io.rx?no(Yi,io.rx,0,degToRads,to):ro,ry:io.ry?no(Yi,io.ry,0,degToRads,to):ro,sk:io.sk?no(Yi,io.sk,0,degToRads,to):ro,sa:io.sa?no(Yi,io.sa,0,degToRads,to):ro,s:io.s?no(Yi,io.s,1,.01,to):ro,a:io.a?no(Yi,io.a,1,0,to):ro,o:io.o?no(Yi,io.o,0,.01,to):ro,p:io.p?no(Yi,io.p,1,0,to):ro,sw:io.sw?no(Yi,io.sw,0,0,to):ro,sc:io.sc?no(Yi,io.sc,1,0,to):ro,fc:io.fc?no(Yi,io.fc,1,0,to):ro,fh:io.fh?no(Yi,io.fh,0,0,to):ro,fs:io.fs?no(Yi,io.fs,0,.01,to):ro,fb:io.fb?no(Yi,io.fb,0,.01,to):ro,t:io.t?no(Yi,io.t,0,0,to):ro},this.s=TextSelectorProp.getTextSelectorProp(Yi,eo.s,to),this.s.t=eo.s.t}function TextAnimatorProperty(Yi,eo,to){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=Yi,this._renderType=eo,this._elem=to,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(to)}TextAnimatorProperty.prototype.searchProperties=function(){var Yi,eo=this._textData.a.length,to,ro=PropertyFactory.getProp;for(Yi=0;Yi<eo;Yi+=1)to=this._textData.a[Yi],this._animatorsData[Yi]=new TextAnimatorDataProperty(this._elem,to,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:ro(this._elem,this._textData.p.a,0,0,this),f:ro(this._elem,this._textData.p.f,0,0,this),l:ro(this._elem,this._textData.p.l,0,0,this),r:ro(this._elem,this._textData.p.r,0,0,this),p:ro(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=ro(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(Yi,eo){if(this.lettersChangedFlag=eo,!(!this._mdf&&!this._isFirstFrame&&!eo&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var to=this._moreOptions.alignment.v,ro=this._animatorsData,no=this._textData,io=this.mHelper,oo=this._renderType,ao=this.renderedLetters.length,so,lo,co,uo,fo=Yi.l,ho,mo,vo,Co,bo,wo,yo,Eo,xo,So,To,Ro,Po,zo,Ho;if(this._hasMaskedPath){if(Ho=this._pathData.m,!this._pathData.n||this._pathData._mdf){var Vo=Ho.v;this._pathData.r.v&&(Vo=Vo.reverse()),ho={tLength:0,segments:[]},uo=Vo._length-1;var Lo;for(Ro=0,co=0;co<uo;co+=1)Lo=bez.buildBezierData(Vo.v[co],Vo.v[co+1],[Vo.o[co][0]-Vo.v[co][0],Vo.o[co][1]-Vo.v[co][1]],[Vo.i[co+1][0]-Vo.v[co+1][0],Vo.i[co+1][1]-Vo.v[co+1][1]]),ho.tLength+=Lo.segmentLength,ho.segments.push(Lo),Ro+=Lo.segmentLength;co=uo,Ho.v.c&&(Lo=bez.buildBezierData(Vo.v[co],Vo.v[0],[Vo.o[co][0]-Vo.v[co][0],Vo.o[co][1]-Vo.v[co][1]],[Vo.i[0][0]-Vo.v[0][0],Vo.i[0][1]-Vo.v[0][1]]),ho.tLength+=Lo.segmentLength,ho.segments.push(Lo),Ro+=Lo.segmentLength),this._pathData.pi=ho}if(ho=this._pathData.pi,mo=this._pathData.f.v,yo=0,wo=1,Co=0,bo=!0,So=ho.segments,mo<0&&Ho.v.c)for(ho.tLength<Math.abs(mo)&&(mo=-Math.abs(mo)%ho.tLength),yo=So.length-1,xo=So[yo].points,wo=xo.length-1;mo<0;)mo+=xo[wo].partialLength,wo-=1,wo<0&&(yo-=1,xo=So[yo].points,wo=xo.length-1);xo=So[yo].points,Eo=xo[wo-1],vo=xo[wo],To=vo.partialLength}uo=fo.length,so=0,lo=0;var Uo=Yi.finalSize*1.2*.714,Do=!0,Oo,ko,Bo,Fo,Qo;Fo=ro.length;var jo,Xo=-1,Zo,Wo,ta,ra=mo,da=yo,pa=wo,sa=-1,ya,na,ea,oa,la,_a,Ea,Pa,aa="",Ca=this.defaultPropsArray,Sa;if(Yi.j===2||Yi.j===1){var Ia=0,Ta=0,va=Yi.j===2?-.5:-1,xa=0,Oa=!0;for(co=0;co<uo;co+=1)if(fo[co].n){for(Ia&&(Ia+=Ta);xa<co;)fo[xa].animatorJustifyOffset=Ia,xa+=1;Ia=0,Oa=!0}else{for(Bo=0;Bo<Fo;Bo+=1)Oo=ro[Bo].a,Oo.t.propType&&(Oa&&Yi.j===2&&(Ta+=Oo.t.v*va),ko=ro[Bo].s,jo=ko.getMult(fo[co].anIndexes[Bo],no.a[Bo].s.totalChars),jo.length?Ia+=Oo.t.v*jo[0]*va:Ia+=Oo.t.v*jo*va);Oa=!1}for(Ia&&(Ia+=Ta);xa<co;)fo[xa].animatorJustifyOffset=Ia,xa+=1}for(co=0;co<uo;co+=1){if(io.reset(),ya=1,fo[co].n)so=0,lo+=Yi.yOffset,lo+=Do?1:0,mo=ra,Do=!1,this._hasMaskedPath&&(yo=da,wo=pa,xo=So[yo].points,Eo=xo[wo-1],vo=xo[wo],To=vo.partialLength,Co=0),aa="",Pa="",_a="",Sa="",Ca=this.defaultPropsArray;else{if(this._hasMaskedPath){if(sa!==fo[co].line){switch(Yi.j){case 1:mo+=Ro-Yi.lineWidths[fo[co].line];break;case 2:mo+=(Ro-Yi.lineWidths[fo[co].line])/2;break}sa=fo[co].line}Xo!==fo[co].ind&&(fo[Xo]&&(mo+=fo[Xo].extra),mo+=fo[co].an/2,Xo=fo[co].ind),mo+=to[0]*fo[co].an*.005;var Da=0;for(Bo=0;Bo<Fo;Bo+=1)Oo=ro[Bo].a,Oo.p.propType&&(ko=ro[Bo].s,jo=ko.getMult(fo[co].anIndexes[Bo],no.a[Bo].s.totalChars),jo.length?Da+=Oo.p.v[0]*jo[0]:Da+=Oo.p.v[0]*jo),Oo.a.propType&&(ko=ro[Bo].s,jo=ko.getMult(fo[co].anIndexes[Bo],no.a[Bo].s.totalChars),jo.length?Da+=Oo.a.v[0]*jo[0]:Da+=Oo.a.v[0]*jo);for(bo=!0,this._pathData.a.v&&(mo=fo[0].an*.5+(Ro-this._pathData.f.v-fo[0].an*.5-fo[fo.length-1].an*.5)*Xo/(uo-1),mo+=this._pathData.f.v);bo;)Co+To>=mo+Da||!xo?(Po=(mo+Da-Co)/vo.partialLength,Wo=Eo.point[0]+(vo.point[0]-Eo.point[0])*Po,ta=Eo.point[1]+(vo.point[1]-Eo.point[1])*Po,io.translate(-to[0]*fo[co].an*.005,-(to[1]*Uo)*.01),bo=!1):xo&&(Co+=vo.partialLength,wo+=1,wo>=xo.length&&(wo=0,yo+=1,So[yo]?xo=So[yo].points:Ho.v.c?(wo=0,yo=0,xo=So[yo].points):(Co-=vo.partialLength,xo=null)),xo&&(Eo=vo,vo=xo[wo],To=vo.partialLength));Zo=fo[co].an/2-fo[co].add,io.translate(-Zo,0,0)}else Zo=fo[co].an/2-fo[co].add,io.translate(-Zo,0,0),io.translate(-to[0]*fo[co].an*.005,-to[1]*Uo*.01,0);for(Bo=0;Bo<Fo;Bo+=1)Oo=ro[Bo].a,Oo.t.propType&&(ko=ro[Bo].s,jo=ko.getMult(fo[co].anIndexes[Bo],no.a[Bo].s.totalChars),(so!==0||Yi.j!==0)&&(this._hasMaskedPath?jo.length?mo+=Oo.t.v*jo[0]:mo+=Oo.t.v*jo:jo.length?so+=Oo.t.v*jo[0]:so+=Oo.t.v*jo));for(Yi.strokeWidthAnim&&(ea=Yi.sw||0),Yi.strokeColorAnim&&(Yi.sc?na=[Yi.sc[0],Yi.sc[1],Yi.sc[2]]:na=[0,0,0]),Yi.fillColorAnim&&Yi.fc&&(oa=[Yi.fc[0],Yi.fc[1],Yi.fc[2]]),Bo=0;Bo<Fo;Bo+=1)Oo=ro[Bo].a,Oo.a.propType&&(ko=ro[Bo].s,jo=ko.getMult(fo[co].anIndexes[Bo],no.a[Bo].s.totalChars),jo.length?io.translate(-Oo.a.v[0]*jo[0],-Oo.a.v[1]*jo[1],Oo.a.v[2]*jo[2]):io.translate(-Oo.a.v[0]*jo,-Oo.a.v[1]*jo,Oo.a.v[2]*jo));for(Bo=0;Bo<Fo;Bo+=1)Oo=ro[Bo].a,Oo.s.propType&&(ko=ro[Bo].s,jo=ko.getMult(fo[co].anIndexes[Bo],no.a[Bo].s.totalChars),jo.length?io.scale(1+(Oo.s.v[0]-1)*jo[0],1+(Oo.s.v[1]-1)*jo[1],1):io.scale(1+(Oo.s.v[0]-1)*jo,1+(Oo.s.v[1]-1)*jo,1));for(Bo=0;Bo<Fo;Bo+=1){if(Oo=ro[Bo].a,ko=ro[Bo].s,jo=ko.getMult(fo[co].anIndexes[Bo],no.a[Bo].s.totalChars),Oo.sk.propType&&(jo.length?io.skewFromAxis(-Oo.sk.v*jo[0],Oo.sa.v*jo[1]):io.skewFromAxis(-Oo.sk.v*jo,Oo.sa.v*jo)),Oo.r.propType&&(jo.length?io.rotateZ(-Oo.r.v*jo[2]):io.rotateZ(-Oo.r.v*jo)),Oo.ry.propType&&(jo.length?io.rotateY(Oo.ry.v*jo[1]):io.rotateY(Oo.ry.v*jo)),Oo.rx.propType&&(jo.length?io.rotateX(Oo.rx.v*jo[0]):io.rotateX(Oo.rx.v*jo)),Oo.o.propType&&(jo.length?ya+=(Oo.o.v*jo[0]-ya)*jo[0]:ya+=(Oo.o.v*jo-ya)*jo),Yi.strokeWidthAnim&&Oo.sw.propType&&(jo.length?ea+=Oo.sw.v*jo[0]:ea+=Oo.sw.v*jo),Yi.strokeColorAnim&&Oo.sc.propType)for(la=0;la<3;la+=1)jo.length?na[la]+=(Oo.sc.v[la]-na[la])*jo[0]:na[la]+=(Oo.sc.v[la]-na[la])*jo;if(Yi.fillColorAnim&&Yi.fc){if(Oo.fc.propType)for(la=0;la<3;la+=1)jo.length?oa[la]+=(Oo.fc.v[la]-oa[la])*jo[0]:oa[la]+=(Oo.fc.v[la]-oa[la])*jo;Oo.fh.propType&&(jo.length?oa=addHueToRGB(oa,Oo.fh.v*jo[0]):oa=addHueToRGB(oa,Oo.fh.v*jo)),Oo.fs.propType&&(jo.length?oa=addSaturationToRGB(oa,Oo.fs.v*jo[0]):oa=addSaturationToRGB(oa,Oo.fs.v*jo)),Oo.fb.propType&&(jo.length?oa=addBrightnessToRGB(oa,Oo.fb.v*jo[0]):oa=addBrightnessToRGB(oa,Oo.fb.v*jo))}}for(Bo=0;Bo<Fo;Bo+=1)Oo=ro[Bo].a,Oo.p.propType&&(ko=ro[Bo].s,jo=ko.getMult(fo[co].anIndexes[Bo],no.a[Bo].s.totalChars),this._hasMaskedPath?jo.length?io.translate(0,Oo.p.v[1]*jo[0],-Oo.p.v[2]*jo[1]):io.translate(0,Oo.p.v[1]*jo,-Oo.p.v[2]*jo):jo.length?io.translate(Oo.p.v[0]*jo[0],Oo.p.v[1]*jo[1],-Oo.p.v[2]*jo[2]):io.translate(Oo.p.v[0]*jo,Oo.p.v[1]*jo,-Oo.p.v[2]*jo));if(Yi.strokeWidthAnim&&(_a=ea<0?0:ea),Yi.strokeColorAnim&&(Ea="rgb("+Math.round(na[0]*255)+","+Math.round(na[1]*255)+","+Math.round(na[2]*255)+")"),Yi.fillColorAnim&&Yi.fc&&(Pa="rgb("+Math.round(oa[0]*255)+","+Math.round(oa[1]*255)+","+Math.round(oa[2]*255)+")"),this._hasMaskedPath){if(io.translate(0,-Yi.ls),io.translate(0,to[1]*Uo*.01+lo,0),this._pathData.p.v){zo=(vo.point[1]-Eo.point[1])/(vo.point[0]-Eo.point[0]);var ia=Math.atan(zo)*180/Math.PI;vo.point[0]<Eo.point[0]&&(ia+=180),io.rotate(-ia*Math.PI/180)}io.translate(Wo,ta,0),mo-=to[0]*fo[co].an*.005,fo[co+1]&&Xo!==fo[co+1].ind&&(mo+=fo[co].an/2,mo+=Yi.tr*.001*Yi.finalSize)}else{switch(io.translate(so,lo,0),Yi.ps&&io.translate(Yi.ps[0],Yi.ps[1]+Yi.ascent,0),Yi.j){case 1:io.translate(fo[co].animatorJustifyOffset+Yi.justifyOffset+(Yi.boxWidth-Yi.lineWidths[fo[co].line]),0,0);break;case 2:io.translate(fo[co].animatorJustifyOffset+Yi.justifyOffset+(Yi.boxWidth-Yi.lineWidths[fo[co].line])/2,0,0);break}io.translate(0,-Yi.ls),io.translate(Zo,0,0),io.translate(to[0]*fo[co].an*.005,to[1]*Uo*.01,0),so+=fo[co].l+Yi.tr*.001*Yi.finalSize}oo==="html"?aa=io.toCSS():oo==="svg"?aa=io.to2dCSS():Ca=[io.props[0],io.props[1],io.props[2],io.props[3],io.props[4],io.props[5],io.props[6],io.props[7],io.props[8],io.props[9],io.props[10],io.props[11],io.props[12],io.props[13],io.props[14],io.props[15]],Sa=ya}ao<=co?(Qo=new LetterProps(Sa,_a,Ea,Pa,aa,Ca),this.renderedLetters.push(Qo),ao+=1,this.lettersChangedFlag=!0):(Qo=this.renderedLetters[co],this.lettersChangedFlag=Qo.update(Sa,_a,Ea,Pa,aa,Ca)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty);function ITextElement(){}ITextElement.prototype.initElement=function(Yi,eo,to){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(Yi,eo,to),this.textProperty=new TextProperty(this,Yi.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(Yi.t,this.renderType,this),this.initTransform(Yi,eo,to),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(Yi){this._mdf=!1,this.prepareRenderableFrame(Yi),this.prepareProperties(Yi,this.isInRange)},ITextElement.prototype.createPathShape=function(Yi,eo){var to,ro=eo.length,no,io="";for(to=0;to<ro;to+=1)eo[to].ty==="sh"&&(no=eo[to].ks.k,io+=buildShapeString(no,no.i.length,!0,Yi));return io},ITextElement.prototype.updateDocumentData=function(Yi,eo){this.textProperty.updateDocumentData(Yi,eo)},ITextElement.prototype.canResizeFont=function(Yi){this.textProperty.canResizeFont(Yi)},ITextElement.prototype.setMinimumFontSize=function(Yi){this.textProperty.setMinimumFontSize(Yi)},ITextElement.prototype.applyTextPropertiesToMatrix=function(Yi,eo,to,ro,no){switch(Yi.ps&&eo.translate(Yi.ps[0],Yi.ps[1]+Yi.ascent,0),eo.translate(0,-Yi.ls,0),Yi.j){case 1:eo.translate(Yi.justifyOffset+(Yi.boxWidth-Yi.lineWidths[to]),0,0);break;case 2:eo.translate(Yi.justifyOffset+(Yi.boxWidth-Yi.lineWidths[to])/2,0,0);break}eo.translate(ro,no,0)},ITextElement.prototype.buildColor=function(Yi){return"rgb("+Math.round(Yi[0]*255)+","+Math.round(Yi[1]*255)+","+Math.round(Yi[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(Yi,eo,to){this.textSpans=[],this.renderType="svg",this.initElement(Yi,eo,to)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(Yi){for(var eo=0,to=Yi.length,ro=[],no="";eo<to;)Yi[eo]==="\r"||Yi[eo]==="�"?(ro.push(no),no=""):no+=Yi[eo],eo+=1;return ro.push(no),ro},SVGTextLottieElement.prototype.buildShapeData=function(Yi,eo){if(Yi.shapes&&Yi.shapes.length){var to=Yi.shapes[0];if(to.it){var ro=to.it[to.it.length-1];ro.s&&(ro.s.k[0]=eo,ro.s.k[1]=eo)}}return Yi},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var Yi,eo,to=this.textProperty.currentData;this.renderedLetters=createSizedArray(to?to.l.length:0),to.fc?this.layerElement.setAttribute("fill",this.buildColor(to.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),to.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(to.sc)),this.layerElement.setAttribute("stroke-width",to.sw)),this.layerElement.setAttribute("font-size",to.finalSize);var ro=this.globalData.fontManager.getFontByName(to.f);if(ro.fClass)this.layerElement.setAttribute("class",ro.fClass);else{this.layerElement.setAttribute("font-family",ro.fFamily);var no=to.fWeight,io=to.fStyle;this.layerElement.setAttribute("font-style",io),this.layerElement.setAttribute("font-weight",no)}this.layerElement.setAttribute("aria-label",to.t);var oo=to.l||[],ao=!!this.globalData.fontManager.chars;eo=oo.length;var so,lo=this.mHelper,co="",uo=this.data.singleShape,fo=0,ho=0,mo=!0,vo=to.tr*.001*to.finalSize;if(uo&&!ao&&!to.sz){var Co=this.textContainer,bo="start";switch(to.j){case 1:bo="end";break;case 2:bo="middle";break;default:bo="start";break}Co.setAttribute("text-anchor",bo),Co.setAttribute("letter-spacing",vo);var wo=this.buildTextContents(to.finalText);for(eo=wo.length,ho=to.ps?to.ps[1]+to.ascent:0,Yi=0;Yi<eo;Yi+=1)so=this.textSpans[Yi].span||createNS("tspan"),so.textContent=wo[Yi],so.setAttribute("x",0),so.setAttribute("y",ho),so.style.display="inherit",Co.appendChild(so),this.textSpans[Yi]||(this.textSpans[Yi]={span:null,glyph:null}),this.textSpans[Yi].span=so,ho+=to.finalLineHeight;this.layerElement.appendChild(Co)}else{var yo=this.textSpans.length,Eo;for(Yi=0;Yi<eo;Yi+=1){if(this.textSpans[Yi]||(this.textSpans[Yi]={span:null,childSpan:null,glyph:null}),!ao||!uo||Yi===0){if(so=yo>Yi?this.textSpans[Yi].span:createNS(ao?"g":"text"),yo<=Yi){if(so.setAttribute("stroke-linecap","butt"),so.setAttribute("stroke-linejoin","round"),so.setAttribute("stroke-miterlimit","4"),this.textSpans[Yi].span=so,ao){var xo=createNS("g");so.appendChild(xo),this.textSpans[Yi].childSpan=xo}this.textSpans[Yi].span=so,this.layerElement.appendChild(so)}so.style.display="inherit"}if(lo.reset(),uo&&(oo[Yi].n&&(fo=-vo,ho+=to.yOffset,ho+=mo?1:0,mo=!1),this.applyTextPropertiesToMatrix(to,lo,oo[Yi].line,fo,ho),fo+=oo[Yi].l||0,fo+=vo),ao){Eo=this.globalData.fontManager.getCharData(to.finalText[Yi],ro.fStyle,this.globalData.fontManager.getFontByName(to.f).fFamily);var So;if(Eo.t===1)So=new SVGCompElement(Eo.data,this.globalData,this);else{var To=emptyShapeData;Eo.data&&Eo.data.shapes&&(To=this.buildShapeData(Eo.data,to.finalSize)),So=new SVGShapeElement(To,this.globalData,this)}if(this.textSpans[Yi].glyph){var Ro=this.textSpans[Yi].glyph;this.textSpans[Yi].childSpan.removeChild(Ro.layerElement),Ro.destroy()}this.textSpans[Yi].glyph=So,So._debug=!0,So.prepareFrame(0),So.renderFrame(),this.textSpans[Yi].childSpan.appendChild(So.layerElement),Eo.t===1&&this.textSpans[Yi].childSpan.setAttribute("transform","scale("+to.finalSize/100+","+to.finalSize/100+")")}else uo&&so.setAttribute("transform","translate("+lo.props[12]+","+lo.props[13]+")"),so.textContent=oo[Yi].val,so.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}uo&&so&&so.setAttribute("d",co)}for(;Yi<this.textSpans.length;)this.textSpans[Yi].span.style.display="none",Yi+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var Yi=this.layerElement.getBBox();this.bbox={top:Yi.y,left:Yi.x,width:Yi.width,height:Yi.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var Yi,eo=this.textSpans.length,to;for(this.renderedFrame=this.comp.renderedFrame,Yi=0;Yi<eo;Yi+=1)to=this.textSpans[Yi].glyph,to&&(to.prepareFrame(this.comp.renderedFrame-this.data.st),to._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var Yi,eo,to=this.textAnimator.renderedLetters,ro=this.textProperty.currentData.l;eo=ro.length;var no,io,oo;for(Yi=0;Yi<eo;Yi+=1)ro[Yi].n||(no=to[Yi],io=this.textSpans[Yi].span,oo=this.textSpans[Yi].glyph,oo&&oo.renderFrame(),no._mdf.m&&io.setAttribute("transform",no.m),no._mdf.o&&io.setAttribute("opacity",no.o),no._mdf.sw&&io.setAttribute("stroke-width",no.sw),no._mdf.sc&&io.setAttribute("stroke",no.sc),no._mdf.fc&&io.setAttribute("fill",no.fc))}};function ISolidElement(Yi,eo,to){this.initElement(Yi,eo,to)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var Yi=createNS("rect");Yi.setAttribute("width",this.data.sw),Yi.setAttribute("height",this.data.sh),Yi.setAttribute("fill",this.data.sc),this.layerElement.appendChild(Yi)};function NullElement(Yi,eo,to){this.initFrame(),this.initBaseData(Yi,eo,to),this.initFrame(),this.initTransform(Yi,eo,to),this.initHierarchy()}NullElement.prototype.prepareFrame=function(Yi){this.prepareProperties(Yi,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement);function SVGRendererBase(){}extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(Yi){return new NullElement(Yi,this.globalData,this)},SVGRendererBase.prototype.createShape=function(Yi){return new SVGShapeElement(Yi,this.globalData,this)},SVGRendererBase.prototype.createText=function(Yi){return new SVGTextLottieElement(Yi,this.globalData,this)},SVGRendererBase.prototype.createImage=function(Yi){return new IImageElement(Yi,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(Yi){return new ISolidElement(Yi,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(Yi){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+Yi.w+" "+Yi.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",Yi.w),this.svgElement.setAttribute("height",Yi.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,
3700,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var eo=this.globalData.defs;this.setupGlobalData(Yi,eo),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=Yi;var to=createNS("clipPath"),ro=createNS("rect");ro.setAttribute("width",Yi.w),ro.setAttribute("height",Yi.h),ro.setAttribute("x",0),ro.setAttribute("y",0);var no=createElementID();to.setAttribute("id",no),to.appendChild(ro),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+no+")"),eo.appendChild(to),this.layers=Yi.layers,this.elements=createSizedArray(Yi.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var Yi,eo=this.layers?this.layers.length:0;for(Yi=0;Yi<eo;Yi+=1)this.elements[Yi]&&this.elements[Yi].destroy&&this.elements[Yi].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(Yi){var eo=0,to=this.layers.length;for(eo=0;eo<to;eo+=1)if(this.layers[eo].ind===Yi)return eo;return-1},SVGRendererBase.prototype.buildItem=function(Yi){var eo=this.elements;if(!(eo[Yi]||this.layers[Yi].ty===99)){eo[Yi]=!0;var to=this.createItem(this.layers[Yi]);if(eo[Yi]=to,getExpressionsPlugin()&&(this.layers[Yi].ty===0&&this.globalData.projectInterface.registerComposition(to),to.initExpressions()),this.appendElementInPos(to,Yi),this.layers[Yi].tt){var ro="tp"in this.layers[Yi]?this.findIndexByInd(this.layers[Yi].tp):Yi-1;if(ro===-1)return;if(!this.elements[ro]||this.elements[ro]===!0)this.buildItem(ro),this.addPendingElement(to);else{var no=eo[ro],io=no.getMatte(this.layers[Yi].tt);to.setMatte(io)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var Yi=this.pendingElements.pop();if(Yi.checkParenting(),Yi.data.tt)for(var eo=0,to=this.elements.length;eo<to;){if(this.elements[eo]===Yi){var ro="tp"in Yi.data?this.findIndexByInd(Yi.data.tp):eo-1,no=this.elements[ro],io=no.getMatte(this.layers[eo].tt);Yi.setMatte(io);break}eo+=1}}},SVGRendererBase.prototype.renderFrame=function(Yi){if(!(this.renderedFrame===Yi||this.destroyed)){Yi===null?Yi=this.renderedFrame:this.renderedFrame=Yi,this.globalData.frameNum=Yi,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=Yi,this.globalData._mdf=!1;var eo,to=this.layers.length;for(this.completeLayers||this.checkLayers(Yi),eo=to-1;eo>=0;eo-=1)(this.completeLayers||this.elements[eo])&&this.elements[eo].prepareFrame(Yi-this.layers[eo].st);if(this.globalData._mdf)for(eo=0;eo<to;eo+=1)(this.completeLayers||this.elements[eo])&&this.elements[eo].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(Yi,eo){var to=Yi.getBaseElement();if(to){for(var ro=0,no;ro<eo;)this.elements[ro]&&this.elements[ro]!==!0&&this.elements[ro].getBaseElement()&&(no=this.elements[ro].getBaseElement()),ro+=1;no?this.layerElement.insertBefore(to,no):this.layerElement.appendChild(to)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(Yi,eo,to){this.initFrame(),this.initBaseData(Yi,eo,to),this.initTransform(Yi,eo,to),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!eo.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(Yi){if(this._mdf=!1,this.prepareRenderableFrame(Y
vendor: 4,782 bytes, line 370
370i),this.prepareProperties(Yi,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=Yi/this.data.sr;else{var eo=this.tm.v;eo===this.data.op&&(eo=this.data.op-1),this.renderedFrame=eo}var to,ro=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),to=ro-1;to>=0;to-=1)(this.completeLayers||this.elements[to])&&(this.elements[to].prepareFrame(this.renderedFrame-this.layers[to].st),this.elements[to]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var Yi,eo=this.layers.length;for(Yi=0;Yi<eo;Yi+=1)(this.completeLayers||this.elements[Yi])&&this.elements[Yi].renderFrame()},ICompElement.prototype.setElements=function(Yi){this.elements=Yi},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var Yi,eo=this.layers.length;for(Yi=0;Yi<eo;Yi+=1)this.elements[Yi]&&this.elements[Yi].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(Yi,eo,to){this.layers=Yi.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(Yi,eo,to),this.tm=Yi.tm?PropertyFactory.getProp(this,Yi.tm,0,eo.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(Yi){return new SVGCompElement(Yi,this.globalData,this)};function SVGRenderer(Yi,eo){this.animationItem=Yi,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var to="";if(eo&&eo.title){var ro=createNS("title"),no=createElementID();ro.setAttribute("id",no),ro.textContent=eo.title,this.svgElement.appendChild(ro),to+=no}if(eo&&eo.description){var io=createNS("desc"),oo=createElementID();io.setAttribute("id",oo),io.textContent=eo.description,this.svgElement.appendChild(io),to+=" "+oo}to&&this.svgElement.setAttribute("aria-labelledby",to);var ao=createNS("defs");this.svgElement.appendChild(ao);var so=createNS("g");this.svgElement.appendChild(so),this.layerElement=so,this.renderConfig={preserveAspectRatio:eo&&eo.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:eo&&eo.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:eo&&eo.contentVisibility||"visible",progressiveLoad:eo&&eo.progressiveLoad||!1,hideOnTransparent:!(eo&&eo.hideOnTransparent===!1),viewBoxOnly:eo&&eo.viewBoxOnly||!1,viewBoxSize:eo&&eo.viewBoxSize||!1,className:eo&&eo.className||"",id:eo&&eo.id||"",focusable:eo&&eo.focusable,filterSize:{width:eo&&eo.filterSize&&eo.filterSize.width||"100%",height:eo&&eo.filterSize&&eo.filterSize.height||"100%",x:eo&&eo.filterSize&&eo.filterSize.x||"0%",y:eo&&eo.filterSize&&eo.filterSize.y||"0%"},width:eo&&eo.width,height:eo&&eo.height,runExpressions:!eo||eo.runExpressions===void 0||eo.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:ao,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(Yi){return new SVGCompElement(Yi,this.globalData,this)};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(eo){var to,ro=eo.length,no="_";for(to=0;to<ro;to+=1)no+=eo[to].transform.key+"_";var io=this.sequences[no];return io||(io={transforms:[].concat(eo),finalTransform:new Matrix,_mdf:!1},this.sequences[no]=io,this.sequenceList.push(io)),io},processSequence:function(eo,to){for(var ro=0,no=eo.transforms.length,io=to;ro<no&&!to;){if(eo.transforms[ro].transform.mProps._mdf){io=!0;break}ro+=1}if(io)for(eo.finalTransform.reset(),ro=no-1;ro>=0;ro-=1)eo.finalTransform.multiply(eo.transforms[ro].transform.mProps.v);eo._mdf=io},processSequences:function(eo){var to,ro=this.sequenceList.length;for(to=0;to<ro;to+=1)this.processSequence(this.sequenceList[to],eo)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var eo="__lottie_element_luma_buffer",to=null,ro=null,no=null;function io(){var so=createNS("svg"),lo=createNS("filter"),co=createNS("feColorMatrix");return lo.setAttribute("id",eo),co.setAttribute("type","matrix"),co.setAttribute("color-interpolation-filters","sRGB"),co.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),lo.appendChild(co),so.appendChild(lo),so.setAttribute("id",eo+"_svg"),featureSupport.svgLumaHidden&&(so.style.display="none"),so}function oo(){to||(no=io(),document.body.appendChild(no),to=createTag("canvas"),ro=to.getContext("2d"),ro.filter="url
370(#"+eo+")",ro.fillStyle="rgba(0,0,0,0)",ro.fillRect(0,0,1,1))}function ao(so){return to||oo(),to.width=so.width,to.height=so.height,ro.filter="url(#"+eo+")",to}return{load:oo,get:ao}};function createCanvas(Yi,eo){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(Yi,eo);var to=createTag("canvas");return to.width=Yi,to.height=eo,to}var assetLoader=(function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas}})(),registeredEffects={};function CVEffects(Yi){var eo,to=Yi.data.ef?Yi.data.ef.length:0;this.filters=[];var ro;for(eo=0;eo<to;eo+=1){ro=null;var no=Yi.data.ef[eo].ty;if(registeredEffects[no]){var io=registeredEffects[no].effect;ro=new io(Yi.effectsManager.effectElements[eo],Yi)}ro&&this.filters.push(ro)}this.filters.length&&Yi.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(Yi){var eo,to=this.filters.length;for(eo=0;eo<to;eo+=1)this.filters[eo].renderFrame(Yi)},CVEffects.prototype.getEffects=function(Yi){var eo,to=this.filters.length,ro=[];for(eo=0;eo<to;eo+=1)this.filters[eo].type===Yi&&ro.push(this.filters[eo]);return ro};function registerEffect(Yi,eo){registeredEffects[Yi]={effect:eo}}function CVMaskElement(Yi,eo){this.data=Yi,this.element=eo,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var to,ro=this.masksProperties.length,no=!1;for(to=0;to<ro;to+=1)this.masksProperties[to].mode!=="n"&&(no=!0),this.viewData[to]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[to],3);this.hasMasks=no,no&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var Yi=this.element.finalTransform.mat,eo=this.element.canvasContext,to,ro=this.masksProperties.length,no,io,oo;for(eo.beginPath(),to=0;to<ro;to+=1)if(this.masksProperties[to].mode!=="n"){this.masksProperties[to].inv&&(eo.moveTo(0,0),eo.lineTo(this.element.globalData.compSize.w,0),eo.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),eo.lineTo(0,this.element.globalData.compSize.h),eo.lineTo(0,0)),oo=this.viewData[to].v,no=Yi.applyToPointArray(oo.v[0][0],oo.v[0][1],0),eo.moveTo(no[0],no[1]);var ao,so=oo._length;for(ao=1;ao<so;ao+=1)io=Yi.applyToTriplePoints(oo.o[ao-1],oo.i[ao],oo.v[ao]),eo.bezierCurveTo(io[0],io[1],io[2],io[3],io[4],io[5]);io=Yi.applyToTriplePoints(oo.o[ao-1],oo.i[0],oo.v[0]),eo.bezierCurveTo(io[0],io[1],io[2],io[3],io[4],io[5])}this.element.globalData.renderer.save(!0),eo.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var eo=this.globalData.canvasContext,to=assetLoader.createCanvas(eo.canvas.width,eo.canvas.height);this.buffers.push(to);var ro=assetLoader.createCanvas(eo.canvas.width,eo.canvas.height);this.buffers.push(ro),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var eo=this.globalData;if(eo.blendMode!==this.data.bm){eo.blendMode=this.data.bm;var to=getBlendMode(this.data.bm);eo.canvasContext.globalCompositeOperation=to}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(eo){eo.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var eo=this.buffers[0],to=eo.getContext("2d");this.clearCanvas(to),to.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var eo=this.buffers[1],to=eo.getContext("2d");this.clearCanvas(to),to.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var ro=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(ro.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var no=assetLoader.getLumaCanvas(this.canvasContext.canvas),io=no.getContext("2d");io.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(no,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(eo,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(eo){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!eo)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var to=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(to),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(to),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement;function CVShapeData(Yi,eo,to,ro){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var no=4;eo.ty==="rc"?no=5:eo.ty==="el"?no=6:eo.ty==="sr"&&(no=7),this.sh=ShapePropertyFactory.getShapeProp(Yi,eo,no,Yi);var io,oo=to.length,ao;for(io=0;io<oo;io+=1)to[io].closed||(ao={transforms:ro.addTransformSequence(to[io].transforms),trNodes:[]},this.styledShapes.push(ao),to[io].elements.push(ao))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;
vendor: 86,573 bytes, line 370
370function CVShapeElement(Yi,eo,to){this.shapes=[],this.shapesData=Yi.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(Yi,eo,to)}extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(Yi,eo){var to={data:Yi,type:Yi.ty,preTransforms:this.transformsManager.addTransformSequence(eo),transforms:[],elements:[],closed:Yi.hd===!0},ro={};if(Yi.ty==="fl"||Yi.ty==="st"?(ro.c=PropertyFactory.getProp(this,Yi.c,1,255,this),ro.c.k||(to.co="rgb("+bmFloor(ro.c.v[0])+","+bmFloor(ro.c.v[1])+","+bmFloor(ro.c.v[2])+")")):(Yi.ty==="gf"||Yi.ty==="gs")&&(ro.s=PropertyFactory.getProp(this,Yi.s,1,null,this),ro.e=PropertyFactory.getProp(this,Yi.e,1,null,this),ro.h=PropertyFactory.getProp(this,Yi.h||{k:0},0,.01,this),ro.a=PropertyFactory.getProp(this,Yi.a||{k:0},0,degToRads,this),ro.g=new GradientProperty(this,Yi.g,this)),ro.o=PropertyFactory.getProp(this,Yi.o,0,.01,this),Yi.ty==="st"||Yi.ty==="gs"){if(to.lc=lineCapEnum[Yi.lc||2],to.lj=lineJoinEnum[Yi.lj||2],Yi.lj==1&&(to.ml=Yi.ml),ro.w=PropertyFactory.getProp(this,Yi.w,0,null,this),ro.w.k||(to.wi=ro.w.v),Yi.d){var no=new DashProperty(this,Yi.d,"canvas",this);ro.d=no,ro.d.k||(to.da=ro.d.dashArray,to.do=ro.d.dashoffset[0])}}else to.r=Yi.r===2?"evenodd":"nonzero";return this.stylesList.push(to),ro.style=to,ro},CVShapeElement.prototype.createGroupElement=function(){var Yi={it:[],prevViewData:[]};return Yi},CVShapeElement.prototype.createTransformElement=function(Yi){var eo={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,Yi.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,Yi,this)}};return eo},CVShapeElement.prototype.createShapeElement=function(Yi){var eo=new CVShapeData(this,Yi,this.stylesList,this.transformsManager);return this.shapes.push(eo),this.addShapeToModifiers(eo),eo},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var Yi,eo=this.itemsData.length;for(Yi=0;Yi<eo;Yi+=1)this.prevViewData[Yi]=this.itemsData[Yi];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),eo=this.dynamicProperties.length,Yi=0;Yi<eo;Yi+=1)this.dynamicProperties[Yi].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(Yi){var eo,to=this.stylesList.length;for(eo=0;eo<to;eo+=1)this.stylesList[eo].closed||this.stylesList[eo].transforms.push(Yi)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var Yi,eo=this.stylesList.length;for(Yi=0;Yi<eo;Yi+=1)this.stylesList[Yi].closed||this.stylesList[Yi].transforms.pop()},CVShapeElement.prototype.closeStyles=function(Yi){var eo,to=Yi.length;for(eo=0;eo<to;eo+=1)Yi[eo].closed=!0},CVShapeElement.prototype.searchShapes=function(Yi,eo,to,ro,no){var io,oo=Yi.length-1,ao,so,lo=[],co=[],uo,fo,ho,mo=[].concat(no);for(io=oo;io>=0;io-=1){if(uo=this.searchProcessedElement(Yi[io]),uo?eo[io]=to[uo-1]:Yi[io]._shouldRender=ro,Yi[io].ty==="fl"||Yi[io].ty==="st"||Yi[io].ty==="gf"||Yi[io].ty==="gs")uo?eo[io].style.closed=!1:eo[io]=this.createStyleElement(Yi[io],mo),lo.push(eo[io].style);else if(Yi[io].ty==="gr"){if(!uo)eo[io]=this.createGroupElement(Yi[io]);else for(so=eo[io].it.length,ao=0;ao<so;ao+=1)eo[io].prevViewData[ao]=eo[io].it[ao];this.searchShapes(Yi[io].it,eo[io].it,eo[io].prevViewData,ro,mo)}else Yi[io].ty==="tr"?(uo||(ho=this.createTransformElement(Yi[io]),eo[io]=ho),mo.push(eo[io]),this.addTransformToStyleList(eo[io])):Yi[io].ty==="sh"||Yi[io].ty==="rc"||Yi[io].ty==="el"||Yi[io].ty==="sr"?uo||(eo[io]=this.createShapeElement(Yi[io])):Yi[io].ty==="tm"||Yi[io].ty==="rd"||Yi[io].ty==="pb"||Yi[io].ty==="zz"||Yi[io].ty==="op"?(uo?(fo=eo[io],fo.closed=!1):(fo=ShapeModifiers.getModifier(Yi[io].ty),fo.init(this,Yi[io]),eo[io]=fo,this.shapeModifiers.push(fo)),co.push(fo)):Yi[io].ty==="rp"&&(uo?(fo=eo[io],fo.closed=!0):(fo=ShapeModifiers.getModifier(Yi[io].ty),eo[io]=fo,fo.init(this,Yi,io,eo),this.shapeModifiers.push(fo),ro=!1),co.push(fo));this.addProcessedElement(Yi[io],io+1)}for(this.removeTransformFromStyleList(),this.closeStyles(lo),oo=co.length,io=0;io<oo;io+=1)co[io].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(Yi,eo){(Yi._opMdf||eo.op._mdf||this._isFirstFrame)&&(eo.opacity=Yi.opacity,eo.opacity*=eo.op.v,eo._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var Yi,eo=this.stylesList.length,to,ro,no,io,oo,ao,so=this.globalData.renderer,lo=this.globalData.canvasContext,co,uo;for(Yi=0;Yi<eo;Yi+=1)if(uo=this.stylesList[Yi],co=uo.type,!((co==="st"||co==="gs")&&uo.wi===0||!uo.data._shouldRender||uo.coOp===0||this.globalData.currentGlobalAlpha===0)){for(so.save(),oo=uo.elements,co==="st"||co==="gs"?(so.ctxStrokeStyle(co==="st"?uo.co:uo.grd),so.ctxLineWidth(uo.wi),so.ctxLineCap(uo.lc),so.ctxLineJoin(uo.lj),so.ctxMiterLimit(uo.ml||0)):so.ctxFillStyle(co==="fl"?uo.co:uo.grd),so.ctxOpacity(uo.coOp),co!=="st"&&co!=="gs"&&lo.beginPath(),so.ctxTransform(uo.preTransforms.finalTransform.props),ro=oo.length,to=0;to<ro;to+=1){for((co==="st"||co==="gs")&&(lo.beginPath(),uo.da&&(lo.setLineDash(uo.da),lo.lineDashOffset=uo.do)),ao=oo[to].trNodes,io=ao.length,no=0;no<io;no+=1)ao[no].t==="m"?lo.moveTo(ao[no].p[0],ao[no].p[1]):ao[no].t==="c"?lo.bezierCurveTo(ao[no].pts[0],ao[no].pts[1],ao[no].pts[2],ao[no].pts[3],ao[no].pts[4],ao[no].pts[5]):lo.closePath();(co==="st"||co==="gs")&&(so.ctxStroke(),uo.da&&lo.setLineDash(this.dashResetter))}co!=="st"&&co!=="gs"&&this.globalData.renderer.ctxFill(uo.r),so.restore()}},CVShapeElement.prototype.renderShape=function(Yi,eo,to,ro){var no,io=eo.length-1,oo;for(oo=Yi,no=io;no>=0;no-=1)eo[no].ty==="tr"?(oo=to[no].transform,this.renderShapeTransform(Yi,oo)):eo[no].ty==="sh"||eo[no].ty==="el"||eo[no].ty==="rc"||eo[no].ty==="sr"?this.renderPath(eo[no],to[no]):eo[no].ty==="fl"?this.renderFill(eo[no],to[no],oo):eo[no].ty==="st"?this.renderStroke(eo[no],to[no],oo):eo[no].ty==="gf"||eo[no].ty==="gs"?this.renderGradientFill(eo[no],to[no],oo):eo[no].ty==="gr"?this.renderShape(oo,eo[no].it,to[no].it):eo[no].ty;ro&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(Yi,eo){if(this._isFirstFrame||eo._mdf||Yi.transforms._mdf){var to=Yi.trNodes,ro=eo.paths,no,io,oo,ao=ro._length;to.length=0;var so=Yi.transforms.finalTransform;for(oo=0;oo<ao;oo+=1){var lo=ro.shapes[oo];if(lo&&lo.v){for(io=lo._length,no=1;no<io;no+=1)no===1&&to.push({t:"m",p:so.applyToPointArray(lo.v[0][0],lo.v[0][1],0)}),to.push({t:"c",pts:so.applyToTriplePoints(lo.o[no-1],lo.i[no],lo.v[no])});io===1&&to.push({t:"m",p:so.applyToPointArray(lo.v[0][0],lo.v[0][1],0)}),lo.c&&io&&(to.push({t:"c",pts:so.applyToTriplePoints(lo.o[no-1],lo.i[0],lo.v[0])}),to.push({t:"z"}))}}Yi.trNodes=to}},CVShapeElement.prototype.renderPath=function(Yi,eo){if(Yi.hd!==!0&&Yi._shouldRender){var to,ro=eo.styledShapes.length;for(to=0;to<ro;to+=1)this.renderStyledShape(eo.styledShapes[to],eo.sh)}},CVShapeElement.prototype.renderFill=function(Yi,eo,to){var ro=eo.style;(eo.c._mdf||this._isFirstFrame)&&(ro.co="rgb("+bmFloor(eo.c.v[0])+","+bmFloor(eo.c.v[1])+","+bmFloor(eo.c.v[2])+")"),(eo.o._mdf||to._opMdf||this._isFirstFrame)&&(ro.coOp=eo.o.v*to.opacity)},CVShapeElement.prototype.renderGradientFill=function(Yi,eo,to){var ro=eo.style,no;if(!ro.grd||eo.g._mdf||eo.s._mdf||eo.e._mdf||Yi.t!==1&&(eo.h._mdf||eo.a._mdf)){var io=this.globalData.canvasContext,oo=eo.s.v,ao=eo.e.v;if(Yi.t===1)no=io.createLinearGradient(oo[0],oo[1],ao[0],ao[1]);else{var so=Math.sqrt(Math.pow(oo[0]-ao[0],2)+Math.pow(oo[1]-ao[1],2)),lo=Math.atan2(ao[1]-oo[1],ao[0]-oo[0]),co=eo.h.v;co>=1?co=.99:co<=-1&&(co=-.99);var uo=so*co,fo=Math.cos(lo+eo.a.v)*uo+oo[0],ho=Math.sin(lo+eo.a.v)*uo+oo[1];no=io.createRadialGradient(fo,ho,0,oo[0],oo[1],so)}var mo,vo=Yi.g.p,Co=eo.g.c,bo=1;for(mo=0;mo<vo;mo+=1)eo.g._hasOpacity&&eo.g._collapsable&&(bo=eo.g.o[mo*2+1]),no.addColorStop(Co[mo*4]/100,"rgba("+Co[mo*4+1]+","+Co[mo*4+2]+","+Co[mo*4+3]+","+bo+")");ro.grd=no}ro.coOp=eo.o.v*to.opacity},CVShapeElement.prototype.renderStroke=function(Yi,eo,to){var ro=eo.style,no=eo.d;no&&(no._mdf||this._isFirstFrame)&&(ro.da=no.dashArray,ro.do=no.dashoffset[0]),(eo.c._mdf||this._isFirstFrame)&&(ro.co="rgb("+bmFloor(eo.c.v[0])+","+bmFloor(eo.c.v[1])+","+bmFloor(eo.c.v[2])+")"),(eo.o._mdf||to._opMdf||this._isFirstFrame)&&(ro.coOp=eo.o.v*to.opacity),(eo.w._mdf||this._isFirstFrame)&&(ro.wi=eo.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0};function CVTextElement(Yi,eo,to){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(Yi,eo,to)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var Yi=this.textProperty.currentData;this.renderedLetters=createSizedArray(Yi.l?Yi.l.length:0);var eo=!1;Yi.fc?(eo=!0,this.values.fill=this.buildColor(Yi.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=eo;var to=!1;Yi.sc&&(to=!0,this.values.stroke=this.buildColor(Yi.sc),this.values.sWidth=Yi.sw);var ro=this.globalData.fontManager.getFontByName(Yi.f),no,io,oo=Yi.l,ao=this.mHelper;this.stroke=to,this.values.fValue=Yi.finalSize+"px "+this.globalData.fontManager.getFontByName(Yi.f).fFamily,io=Yi.finalText.length;var so,lo,co,uo,fo,ho,mo,vo,Co,bo,wo=this.data.singleShape,yo=Yi.tr*.001*Yi.finalSize,Eo=0,xo=0,So=!0,To=0;for(no=0;no<io;no+=1){so=this.globalData.fontManager.getCharData(Yi.finalText[no],ro.fStyle,this.globalData.fontManager.getFontByName(Yi.f).fFamily),lo=so&&so.data||{},ao.reset(),wo&&oo[no].n&&(Eo=-yo,xo+=Yi.yOffset,xo+=So?1:0,So=!1),fo=lo.shapes?lo.shapes[0].it:[],mo=fo.length,ao.scale(Yi.finalSize/100,Yi.finalSize/100),wo&&this.applyTextPropertiesToMatrix(Yi,ao,oo[no].line,Eo,xo),Co=createSizedArray(mo-1);var Ro=0;for(ho=0;ho<mo;ho+=1)if(fo[ho].ty==="sh"){for(uo=fo[ho].ks.k.i.length,vo=fo[ho].ks.k,bo=[],co=1;co<uo;co+=1)co===1&&bo.push(ao.applyToX(vo.v[0][0],vo.v[0][1],0),ao.applyToY(vo.v[0][0],vo.v[0][1],0)),bo.push(ao.applyToX(vo.o[co-1][0],vo.o[co-1][1],0),ao.applyToY(vo.o[co-1][0],vo.o[co-1][1],0),ao.applyToX(vo.i[co][0],vo.i[co][1],0),ao.applyToY(vo.i[co][0],vo.i[co][1],0),ao.applyToX(vo.v[co][0],vo.v[co][1],0),ao.applyToY(vo.v[co][0],vo.v[co][1],0));bo.push(ao.applyToX(vo.o[co-1][0],vo.o[co-1][1],0),ao.applyToY(vo.o[co-1][0],vo.o[co-1][1],0),ao.applyToX(vo.i[0][0],vo.i[0][1],0),ao.applyToY(vo.i[0][0],vo.i[0][1],0),ao.applyToX(vo.v[0][0],vo.v[0][1],0),ao.applyToY(vo.v[0][0],vo.v[0][1],0)),Co[Ro]=bo,Ro+=1}wo&&(Eo+=oo[no].l,Eo+=yo),this.textSpans[To]?this.textSpans[To].elem=Co:this.textSpans[To]={elem:Co},To+=1}},CVTextElement.prototype.renderInnerContent=function(){this.validateText();var Yi=this.canvasContext;Yi.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var eo,to,ro,no,io,oo,ao=this.textAnimator.renderedLetters,so=this.textProperty.currentData.l;to=so.length;var lo,co=null,uo=null,fo=null,ho,mo,vo=this.globalData.renderer;for(eo=0;eo<to;eo+=1)if(!so[eo].n){if(lo=ao[eo],lo&&(vo.save(),vo.ctxTransform(lo.p),vo.ctxOpacity(lo.o)),this.fill){for(lo&&lo.fc?co!==lo.fc&&(vo.ctxFillStyle(lo.fc),co=lo.fc):co!==this.values.fill&&(co=this.values.fill,vo.ctxFillStyle(this.values.fill)),ho=this.textSpans[eo].elem,no=ho.length,this.globalData.canvasContext.beginPath(),ro=0;ro<no;ro+=1)for(mo=ho[ro],oo=mo.length,this.globalData.canvasContext.moveTo(mo[0],mo[1]),io=2;io<oo;io+=6)this.globalData.canvasContext.bezierCurveTo(mo[io],mo[io+1],mo[io+2],mo[io+3],mo[io+4],mo[io+5]);this.globalData.canvasContext.closePath(),vo.ctxFill()}if(this.stroke){for(lo&&lo.sw?fo!==lo.sw&&(fo=lo.sw,vo.ctxLineWidth(lo.sw)):fo!==this.values.sWidth&&(fo=this.values.sWidth,vo.ctxLineWidth(this.values.sWidth)),lo&&lo.sc?uo!==lo.sc&&(uo=lo.sc,vo.ctxStrokeStyle(lo.sc)):uo!==this.values.stroke&&(uo=this.values.stroke,vo.ctxStrokeStyle(this.values.stroke)),ho=this.textSpans[eo].elem,no=ho.length,this.globalData.canvasContext.beginPath(),ro=0;ro<no;ro+=1)for(mo=ho[ro],oo=mo.length,this.globalData.canvasContext.moveTo(mo[0],mo[1]),io=2;io<oo;io+=6)this.globalData.canvasContext.bezierCurveTo(mo[io],mo[io+1],mo[io+2],mo[io+3],mo[io+4],mo[io+5]);this.globalData.canvasContext.closePath(),vo.ctxStroke()}lo&&this.globalData.renderer.restore()}};function CVImageElement(Yi,eo,to){this.assetData=eo.getAssetData(Yi.refId),this.img=eo.imageLoader.getAsset(this.assetData),this.initElement(Yi,eo,to)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var Yi=createTag("canvas");Yi.width=this.assetData.w,Yi.height=this.assetData.h;var eo=Yi.getContext("2d"),to=this.img.width,ro=this.img.height,no=to/ro,io=this.assetData.w/this.assetData.h,oo,ao,so=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;no>io&&so==="xMidYMid slice"||no<io&&so!=="xMidYMid slice"?(ao=ro,oo=ao*io):(oo=to,ao=oo/io),eo.drawImage(this.img,(to-oo)/2,(ro-ao)/2,oo,ao,0,0,this.assetData.w,this.assetData.h),this.img=Yi}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(Yi,eo,to){this.initElement(Yi,eo,to)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(){}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(Yi){return new CVShapeElement(Yi,this.globalData,this)},CanvasRendererBase.prototype.createText=function(Yi){return new CVTextElement(Yi,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(Yi){return new CVImageElement(Yi,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(Yi){return new CVSolidElement(Yi,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(Yi){Yi[0]===1&&Yi[1]===0&&Yi[4]===0&&Yi[5]===1&&Yi[12]===0&&Yi[13]===0||this.canvasContext.transform(Yi[0],Yi[1],Yi[4],Yi[5],Yi[12],Yi[13])},CanvasRendererBase.prototype.ctxOpacity=function(Yi){this.canvasContext.globalAlpha*=Yi<0?0:Yi},CanvasRendererBase.prototype.ctxFillStyle=function(Yi){this.canvasContext.fillStyle=Yi},CanvasRendererBase.prototype.ctxStrokeStyle=function(Yi){this.canvasContext.strokeStyle=Yi},CanvasRendererBase.prototype.ctxLineWidth=function(Yi){this.canvasContext.lineWidth=Yi},CanvasRendererBase.prototype.ctxLineCap=function(Yi){this.canvasContext.lineCap=Yi},CanvasRendererBase.prototype.ctxLineJoin=function(Yi){this.canvasContext.lineJoin=Yi},CanvasRendererBase.prototype.ctxMiterLimit=function(Yi){this.canvasContext.miterLimit=Yi},CanvasRendererBase.prototype.ctxFill=function(Yi){this.canvasContext.fill(Yi)},CanvasRendererBase.prototype.ctxFillRect=function(Yi,eo,to,ro){this.canvasContext.fillRect(Yi,eo,to,ro)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(Yi){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}Yi&&(this.globalData.blendMode="source-over"),this.contextData.restore(Yi)},CanvasRendererBase.prototype.configAnimation=function(Yi){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var eo=this.animationItem.container.style;eo.width="100%",eo.height="100%";var to="0px 0px 0px";eo.transformOrigin=to,eo.mozTransformOrigin=to,eo.webkitTransformOrigin=to,eo["-webkit-transform"]=to,eo.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=Yi,this.layers=Yi.layers,this.transformCanvas={w:Yi.w,h:Yi.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(Yi,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(Yi.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(Yi,eo){this.reset();var to,ro;Yi?(to=Yi,ro=eo,this.canvasContext.canvas.width=to,this.canvasContext.canvas.height=ro):(this.animationItem.wrapper&&this.animationItem.container?(to=this.animationItem.wrapper.offsetWidth,ro=this.animationItem.wrapper.offsetHeight):(to=this.canvasContext.canvas.width,ro=this.canvasContext.canvas.height),this.canvasContext.canvas.width=to*this.renderConfig.dpr,this.canvasContext.canvas.height=ro*this.renderConfig.dpr);var no,io;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var oo=this.renderConfig.preserveAspectRatio.split(" "),ao=oo[1]||"meet",so=oo[0]||"xMidYMid",lo=so.substr(0,4),co=so.substr(4);no=to/ro,io=this.transformCanvas.w/this.transformCanvas.h,io>no&&ao==="meet"||io<no&&ao==="slice"?(this.transformCanvas.sx=to/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=to/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=ro/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=ro/(this.transformCanvas.h/this.renderConfig.dpr)),lo==="xMid"&&(io<no&&ao==="meet"||io>no&&ao==="slice")?this.transformCanvas.tx=(to-this.transformCanvas.w*(ro/this.transformCanvas.h))/2*this.renderConfig.dpr:lo==="xMax"&&(io<no&&ao==="meet"||io>no&&ao==="slice")?this.transformCanvas.tx=(to-this.transformCanvas.w*(ro/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,co==="YMid"&&(io>no&&ao==="meet"||io<no&&ao==="slice")?this.transformCanvas.ty=(ro-this.transformCanvas.h*(to/this.transformCanvas.w))/2*this.renderConfig.dpr:co==="YMax"&&(io>no&&ao==="meet"||io<no&&ao==="slice")?this.transformCanvas.ty=(ro-this.transformCanvas.h*(to/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=to/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=ro/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var Yi,eo=this.layers?this.layers.length:0;for(Yi=eo-1;Yi>=0;Yi-=1)this.elements[Yi]&&this.elements[Yi].destroy&&this.elements[Yi].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(Yi,eo){if(!(this.renderedFrame===Yi&&this.renderConfig.clearCanvas===!0&&!eo||this.destroyed||Yi===-1)){this.renderedFrame=Yi,this.globalData.frameNum=Yi-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||eo,this.globalData.projectInterface.currentFrame=Yi;var to,ro=this.layers.length;for(this.completeLayers||this.checkLayers(Yi),to=ro-1;to>=0;to-=1)(this.completeLayers||this.elements[to])&&this.elements[to].prepareFrame(Yi-this.layers[to].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),to=ro-1;to>=0;to-=1)(this.completeLayers||this.elements[to])&&this.elements[to].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(Yi){var eo=this.elements;if(!(eo[Yi]||this.layers[Yi].ty===99)){var to=this.createItem(this.layers[Yi],this,this.globalData);eo[Yi]=to,to.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var Yi=this.pendingElements.pop();Yi.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var Yi,eo=15;for(Yi=0;Yi<eo;Yi+=1){var to=new CanvasContext;this.stack[Yi]=to}this._length=eo,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}CVContextData.prototype.duplicate=function(){var Yi=this._length*2,eo=0;for(eo=this._length;eo<Yi;eo+=1)this.stack[eo]=new CanvasContext;this._length=Yi},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(Yi){this.cArrPos-=1;var eo=this.stack[this.cArrPos],to=eo.transform,ro,no=this.cTr.props;for(ro=0;ro<16;ro+=1)no[ro]=to[ro];if(Yi){this.nativeContext.restore();var io=this.stack[this.cArrPos+1];this.appliedFillStyle=io.fillStyle,this.appliedStrokeStyle=io.strokeStyle,this.appliedLineWidth=io.lineWidth,this.appliedLineCap=io.lineCap,this.appliedLineJoin=io.lineJoin,this.appliedMiterLimit=io.miterLimit}this.nativeContext.setTransform(to[0],to[1],to[4],to[5],to[12],to[13]),(Yi||eo.opacity!==-1&&this.currentOpacity!==eo.opacity)&&(this.nativeContext.globalAlpha=eo.opacity,this.currentOpacity=eo.opacity),this.currentFillStyle=eo.fillStyle,this.currentStrokeStyle=eo.strokeStyle,this.currentLineWidth=eo.lineWidth,this.currentLineCap=eo.lineCap,this.currentLineJoin=eo.lineJoin,this.currentMiterLimit=eo.miterLimit},CVContextData.prototype.save=function(Yi){Yi&&this.nativeContext.save();var eo=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var to=this.stack[this.cArrPos],ro;for(ro=0;ro<16;ro+=1)to.transform[ro]=eo[ro];this.cArrPos+=1;var no=this.stack[this.cArrPos];no.opacity=to.opacity,no.fillStyle=to.fillStyle,no.strokeStyle=to.strokeStyle,no.lineWidth=to.lineWidth,no.lineCap=to.lineCap,no.lineJoin=to.lineJoin,no.miterLimit=to.miterLimit},CVContextData.prototype.setOpacity=function(Yi){this.stack[this.cArrPos].opacity=Yi},CVContextData.prototype.setContext=function(Yi){this.nativeContext=Yi},CVContextData.prototype.fillStyle=function(Yi){this.stack[this.cArrPos].fillStyle!==Yi&&(this.currentFillStyle=Yi,this.stack[this.cArrPos].fillStyle=Yi)},CVContextData.prototype.strokeStyle=function(Yi){this.stack[this.cArrPos].strokeStyle!==Yi&&(this.currentStrokeStyle=Yi,this.stack[this.cArrPos].strokeStyle=Yi)},CVContextData.prototype.lineWidth=function(Yi){this.stack[this.cArrPos].lineWidth!==Yi&&(this.currentLineWidth=Yi,this.stack[this.cArrPos].lineWidth=Yi)},CVContextData.prototype.lineCap=function(Yi){this.stack[this.cArrPos].lineCap!==Yi&&(this.currentLineCap=Yi,this.stack[this.cArrPos].lineCap=Yi)},CVContextData.prototype.lineJoin=function(Yi){this.stack[this.cArrPos].lineJoin!==Yi&&(this.currentLineJoin=Yi,this.stack[this.cArrPos].lineJoin=Yi)},CVContextData.prototype.miterLimit=function(Yi){this.stack[this.cArrPos].miterLimit!==Yi&&(this.currentMiterLimit=Yi,this.stack[this.cArrPos].miterLimit=Yi)},CVContextData.prototype.transform=function(Yi){this.transformMat.cloneFromProps(Yi);var eo=this.cTr;this.transformMat.multiply(eo),eo.cloneFromProps(this.transformMat.props);var to=eo.props;this.nativeContext.setTransform(to[0],to[1],to[4],to[5],to[12],to[13])},CVContextData.prototype.opacity=function(Yi){var eo=this.stack[this.cArrPos].opacity;eo*=Yi<0?0:Yi,this.stack[this.cArrPos].opacity!==eo&&(this.currentOpacity!==Yi&&(this.nativeContext.globalAlpha=Yi,this.currentOpacity=Yi),this.stack[this.cArrPos].opacity=eo)},CVContextData.prototype.fill=function(Yi){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(Yi)},CVContextData.prototype.fillRect=function(Yi,eo,to,ro){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(Yi,eo,to,ro)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()};function CVCompElement(Yi,eo,to){this.completeLayers=!1,this.layers=Yi.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(Yi,eo,to),this.tm=Yi.tm?PropertyFactory.getProp(this,Yi.tm,0,eo.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var Yi=this.canvasContext;Yi.beginPath(),Yi.moveTo(0,0),Yi.lineTo(this.data.w,0),Yi.lineTo(this.data.w,this.data.h),Yi.lineTo(0,this.data.h),Yi.lineTo(0,0),Yi.clip();var eo,to=this.layers.length;for(eo=to-1;eo>=0;eo-=1)(this.completeLayers||this.elements[eo])&&this.elements[eo].renderFrame()},CVCompElement.prototype.destroy=function(){var Yi,eo=this.layers.length;for(Yi=eo-1;Yi>=0;Yi-=1)this.elements[Yi]&&this.elements[Yi].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(Yi){return new CVCompElement(Yi,this.globalData,this)};function CanvasRenderer(Yi,eo){this.animationItem=Yi,this.renderConfig={clearCanvas:eo&&eo.clearCanvas!==void 0?eo.clearCanvas:!0,context:eo&&eo.context||null,progressiveLoad:eo&&eo.progressiveLoad||!1,preserveAspectRatio:eo&&eo.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:eo&&eo.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:eo&&eo.contentVisibility||"visible",className:eo&&eo.className||"",id:eo&&eo.id||"",runExpressions:!eo||eo.runExpressions===void 0||eo.runExpressions},this.renderConfig.dpr=eo&&eo.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=eo&&eo.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(Yi){return new CVCompElement(Yi,this.globalData,this)};function HBaseElement(){}HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var eo=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var to=this.finalTransform.mat.toCSS();eo.transform=to,eo.webkitTransform=to}this.finalTransform._opMdf&&(eo.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(Yi,eo,to){this.initElement(Yi,eo,to)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var Yi;this.data.hasMask?(Yi=createNS("rect"),Yi.setAttribute("width",this.data.sw),Yi.setAttribute("height",this.data.sh),Yi.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(Yi=createTag("div"),Yi.style.width=this.data.sw+"px",Yi.style.height=this.data.sh+"px",Yi.style.backgroundColor=this.data.sc),this.layerElement.appendChild(Yi)};function HShapeElement(Yi,eo,to){this.shapes=[],this.shapesData=Yi.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(Yi,eo,to),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var Yi;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),Yi=this.svgElement;else{Yi=createNS("svg");var eo=this.comp.data?this.comp.data:this.globalData.compSize;Yi.setAttribute("width",eo.w),Yi.setAttribute("height",eo.h),Yi.appendChild(this.shapesContainer),this.layerElement.appendChild(Yi)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=Yi},HShapeElement.prototype.getTransformedPoint=function(Yi,eo){var to,ro=Yi.length;for(to=0;to<ro;to+=1)eo=Yi[to].mProps.v.applyToPointArray(eo[0],eo[1],0);return eo},HShapeElement.prototype.calculateShapeBoundingBox=function(Yi,eo){var to=Yi.sh.v,ro=Yi.transformers,no,io=to._length,oo,ao,so,lo;if(!(io<=1)){for(no=0;no<io-1;no+=1)oo=this.getTransformedPoint(ro,to.v[no]),ao=this.getTransformedPoint(ro,to.o[no]),so=this.getTransformedPoint(ro,to.i[no+1]),lo=this.getTransformedPoint(ro,to.v[no+1]),this.checkBounds(oo,ao,so,lo,eo);to.c&&(oo=this.getTransformedPoint(ro,to.v[no]),ao=this.getTransformedPoint(ro,to.o[no]),so=this.getTransformedPoint(ro,to.i[0]),lo=this.getTransformedPoint(ro,to.v[0]),this.checkBounds(oo,ao,so,lo,eo))}},HShapeElement.prototype.checkBounds=function(Yi,eo,to,ro,no){this.getBoundsOfCurve(Yi,eo,to,ro);var io=this.shapeBoundingBox;no.x=bmMin(io.left,no.x),no.xMax=bmMax(io.right,no.xMax),no.y=bmMin(io.top,no.y),no.yMax=bmMax(io.bottom,no.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(Yi,eo,to,ro){for(var no=[[Yi[0],ro[0]],[Yi[1],ro[1]]],io,oo,ao,so,lo,co,uo,fo=0;fo<2;++fo)oo=6*Yi[fo]-12*eo[fo]+6*to[fo],io=-3*Yi[fo]+9*eo[fo]-9*to[fo]+3*ro[fo],ao=3*eo[fo]-3*Yi[fo],oo|=0,io|=0,ao|=0,io===0&&oo===0||(io===0?(so=-ao/oo,so>0&&so<1&&no[fo].push(this.calculateF(so,Yi,eo,to,ro,fo))):(lo=oo*oo-4*ao*io,lo>=0&&(co=(-oo+bmSqrt(lo))/(2*io),co>0&&co<1&&no[fo].push(this.calculateF(co,Yi,eo,to,ro,fo)),uo=(-oo-bmSqrt(lo))/(2*io),uo>0&&uo<1&&no[fo].push(this.calculateF(uo,Yi,eo,to,ro,fo)))));this.shapeBoundingBox.left=bmMin.apply(null,no[0]),this.shapeBoundingBox.top=bmMin.apply(null,no[1]),this.shapeBoundingBox.right=bmMax.apply(null,no[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,no[1])},HShapeElement.prototype.calculateF=function(Yi,eo,to,ro,no,io){return bmPow(1-Yi,3)*eo[io]+3*bmPow(1-Yi,2)*Yi*to[io]+3*(1-Yi)*bmPow(Yi,2)*ro[io]+bmPow(Yi,3)*no[io]},HShapeElement.prototype.calculateBoundingBox=function(Yi,eo){var to,ro=Yi.length;for(to=0;to<ro;to+=1)Yi[to]&&Yi[to].sh?this.calculateShapeBoundingBox(Yi[to],eo):Yi[to]&&Yi[to].it?this.calculateBoundingBox(Yi[to].it,eo):Yi[to]&&Yi[to].style&&Yi[to].w&&this.expandStrokeBoundingBox(Yi[to].w,eo)},HShapeElement.prototype.expandStrokeBoundingBox=function(Yi,eo){var to=0;if(Yi.keyframes){for(var ro=0;ro<Yi.keyframes.length;ro+=1){var no=Yi.keyframes[ro].s;no>to&&(to=no)}to*=Yi.mult}else to=Yi.v*Yi.mult;eo.x-=to,eo.xMax+=to,eo.y-=to,eo.yMax+=to},HShapeElement.prototype.currentBoxContains=function(Yi){return this.currentBBox.x<=Yi.x&&this.currentBBox.y<=Yi.y&&this.currentBBox.width+this.currentBBox.x>=Yi.x+Yi.width&&this.currentBBox.height+this.currentBBox.y>=Yi.y+Yi.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var Yi=this.tempBoundingBox,eo=999999;if(Yi.x=eo,Yi.xMax=-eo,Yi.y=eo,Yi.yMax=-eo,this.calculateBoundingBox(this.itemsData,Yi),Yi.width=Yi.xMax<Yi.x?0:Yi.xMax-Yi.x,Yi.height=Yi.yMax<Yi.y?0:Yi.yMax-Yi.y,this.currentBoxContains(Yi))return;var to=!1;if(this.currentBBox.w!==Yi.width&&(this.currentBBox.w=Yi.width,this.shapeCont.setAttribute("width",Yi.width),to=!0),this.currentBBox.h!==Yi.height&&(this.currentBBox.h=Yi.height,this.shapeCont.setAttribute("height",Yi.height),to=!0),to||this.currentBBox.x!==Yi.x||this.currentBBox.y!==Yi.y){this.currentBBox.w=Yi.width,this.currentBBox.h=Yi.height,this.currentBBox.x=Yi.x,this.currentBBox.y=Yi.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var ro=this.shapeCont.style,no="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";ro.transform=no,ro.webkitTransform=no}}};function HTextElement(Yi,eo,to){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(Yi,eo,to)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var Yi=createNS("g");this.maskedElement.appendChild(Yi),this.innerElem=Yi}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var Yi=this.textProperty.currentData;this.renderedLetters=createSizedArray(Yi.l?Yi.l.length:0);var eo=this.innerElem.style,to=Yi.fc?this.buildColor(Yi.fc):"rgba(0,0,0,0)";eo.fill=to,eo.color=to,Yi.sc&&(eo.stroke=this.buildColor(Yi.sc),eo.strokeWidth=Yi.sw+"px");var ro=this.globalData.fontManager.getFontByName(Yi.f);if(!this.globalData.fontManager.chars)if(eo.fontSize=Yi.finalSize+"px",eo.lineHeight=Yi.finalSize+"px",ro.fClass)this.innerElem.className=ro.fClass;else{eo.fontFamily=ro.fFamily;var no=Yi.fWeight,io=Yi.fStyle;eo.fontStyle=io,eo.fontWeight=no}var oo,ao,so=Yi.l;ao=so.length;var lo,co,uo,fo=this.mHelper,ho,mo="",vo=0;for(oo=0;oo<ao;oo+=1){if(this.globalData.fontManager.chars?(this.textPaths[vo]?lo=this.textPaths[vo]:(lo=createNS("path"),lo.setAttribute("stroke-linecap",lineCapEnum[1]),lo.setAttribute("stroke-linejoin",lineJoinEnum[2]),lo.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[vo]?(co=this.textSpans[vo],uo=co.children[0]):(co=createTag("div"),co.style.lineHeight=0,uo=createNS("svg"),uo.appendChild(lo),styleDiv(co)))):this.isMasked?lo=this.textPaths[vo]?this.textPaths[vo]:createNS("text"):this.textSpans[vo]?(co=this.textSpans[vo],lo=this.textPaths[vo]):(co=createTag("span"),styleDiv(co),lo=createTag("span"),styleDiv(lo),co.appendChild(lo)),this.globalData.fontManager.chars){var Co=this.globalData.fontManager.getCharData(Yi.finalText[oo],ro.fStyle,this.globalData.fontManager.getFontByName(Yi.f).fFamily),bo;if(Co?bo=Co.data:bo=null,fo.reset(),bo&&bo.shapes&&bo.shapes.length&&(ho=bo.shapes[0].it,fo.scale(Yi.finalSize/100,Yi.finalSize/100),mo=this.createPathShape(fo,ho),lo.setAttribute("d",mo)),this.isMasked)this.innerElem.appendChild(lo);else{if(this.innerElem.appendChild(co),bo&&bo.shapes){document.body.appendChild(uo);var wo=uo.getBBox();uo.setAttribute("width",wo.width+2),uo.setAttribute("height",wo.height+2),uo.setAttribute("viewBox",wo.x-1+" "+(wo.y-1)+" "+(wo.width+2)+" "+(wo.height+2));var yo=uo.style,Eo="translate("+(wo.x-1)+"px,"+(wo.y-1)+"px)";yo.transform=Eo,yo.webkitTransform=Eo,so[oo].yOffset=wo.y-1}else uo.setAttribute("width",1),uo.setAttribute("height",1);co.appendChild(uo)}}else if(lo.textContent=so[oo].val,lo.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(lo);else{this.innerElem.appendChild(co);var xo=lo.style,So="translate3d(0,"+-Yi.finalSize/1.2+"px,0)";xo.transform=So,xo.webkitTransform=So}this.isMasked?this.textSpans[vo]=lo:this.textSpans[vo]=co,this.textSpans[vo].style.display="block",this.textPaths[vo]=lo,vo+=1}for(;vo<this.textSpans.length;)this.textSpans[vo].style.display="none",vo+=1},HTextElement.prototype.renderInnerContent=function(){this.validateText();var Yi;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),Yi=this.svgElement.style;var eo="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";Yi.transform=eo,Yi.webkitTransform=eo}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var to,ro,no=0,io=this.textAnimator.renderedLetters,oo=this.textProperty.currentData.l;ro=oo.length;var ao,so,lo;for(to=0;to<ro;to+=1)oo[to].n?no+=1:(so=this.textSpans[to],lo=this.textPaths[to],ao=io[no],no+=1,ao._mdf.m&&(this.isMasked?so.setAttribute("transform",ao.m):(so.style.webkitTransform=ao.m,so.style.transform=ao.m)),so.style.opacity=ao.o,ao.sw&&ao._mdf.sw&&lo.setAttribute("stroke-width",ao.sw),ao.sc&&ao._mdf.sc&&lo.setAttribute("stroke",ao.sc),ao.fc&&ao._mdf.fc&&(lo.setAttribute("fill",ao.fc),lo.style.color=ao.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var co=this.innerElem.getBBox();this.currentBBox.w!==co.width&&(this.currentBBox.w=co.width,this.svgElement.setAttribute("width",co.width)),this.currentBBox.h!==co.height&&(this.currentBBox.h=co.height,this.svgElement.setAttribute("height",co.height));var uo=1;if(this.currentBBox.w!==co.width+uo*2||this.currentBBox.h!==co.height+uo*2||this.currentBBox.x!==co.x-uo||this.currentBBox.y!==co.y-uo){this.currentBBox.w=co.width+uo*2,this.currentBBox.h=co.height+uo*2,this.currentBBox.x=co.x-uo,this.currentBBox.y=co.y-uo,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),Yi=this.svgElement.style;var fo="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";Yi.transform=fo,Yi.webkitTransform=fo}}}};function HCameraElement(Yi,eo,to){this.initFrame(),this.initBaseData(Yi,eo,to),this.initHierarchy();var ro=PropertyFactory.getProp;if(this.pe=ro(this,Yi.pe,0,0,this),Yi.ks.p.s?(this.px=ro(this,Yi.ks.p.x,1,0,this),this.py=ro(this,Yi.ks.p.y,1,0,this),this.pz=ro(this,Yi.ks.p.z,1,0,this)):this.p=ro(this,Yi.ks.p,1,0,this),Yi.ks.a&&(this.a=ro(this,Yi.ks.a,1,0,this)),Yi.ks.or.k.length&&Yi.ks.or.k[0].to){var no,io=Yi.ks.or.k.length;for(no=0;no<io;no+=1)Yi.ks.or.k[no].to=null,Yi.ks.or.k[no].ti=null}this.or=ro(this,Yi.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=ro(this,Yi.ks.rx,0,degToRads,this),this.ry=ro(this,Yi.ks.ry,0,degToRads,this),this.rz=ro(this,Yi.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var Yi,eo=this.comp.threeDElements.length,to,ro,no;for(Yi=0;Yi<eo;Yi+=1)if(to=this.comp.threeDElements[Yi],to.type==="3d"){ro=to.perspectiveElem.style,no=to.container.style;var io=this.pe.v+"px",oo="0px 0px 0px",ao="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";ro.perspective=io,ro.webkitPerspective=io,no.transformOrigin=oo,no.mozTransformOrigin=oo,no.webkitTransformOrigin=oo,ro.transform=ao,ro.webkitTransform=ao}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var Yi=this._isFirstFrame,eo,to;if(this.hierarchy)for(to=this.hierarchy.length,eo=0;eo<to;eo+=1)Yi=this.hierarchy[eo].finalTransform.mProp._mdf||Yi;if(Yi||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(to=this.hierarchy.length-1,eo=to;eo>=0;eo-=1){var ro=this.hierarchy[eo].finalTransform.mProp;this.mat.translate(-ro.p.v[0],-ro.p.v[1],ro.p.v[2]),this.mat.rotateX(-ro.or.v[0]).rotateY(-ro.or.v[1]).rotateZ(ro.or.v[2]),this.mat.rotateX(-ro.rx.v).rotateY(-ro.ry.v).rotateZ(ro.rz.v),this.mat.scale(1/ro.s.v[0],1/ro.s.v[1],1/ro.s.v[2]),this.mat.translate(ro.a.v[0],ro.a.v[1],ro.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var no;this.p?no=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:no=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var io=Math.sqrt(Math.pow(no[0],2)+Math.pow(no[1],2)+Math.pow(no[2],2)),oo=[no[0]/io,no[1]/io,no[2]/io],ao=Math.sqrt(oo[2]*oo[2]+oo[0]*oo[0]),so=Math.atan2(oo[1],ao),lo=Math.atan2(oo[0],-oo[2]);this.mat.rotateY(lo).rotateX(-so)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var co=!this._prevMat.equals(this.mat);if((co||this.pe._mdf)&&this.comp.threeDElements){to=this.comp.threeDElements.length;var uo,fo,ho;for(eo=0;eo<to;eo+=1)if(uo=this.comp.threeDElements[eo],uo.type==="3d"){if(co){var mo=this.mat.toCSS();ho=uo.container.style,ho.transform=mo,ho.webkitTransform=mo}this.pe._mdf&&(fo=uo.perspectiveElem.style,fo.perspective=this.pe.v+"px",fo.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(Yi){this.prepareProperties(Yi,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null};function HImageElement(Yi,eo,to){this.assetData=eo.getAssetData(Yi.refId),this.initElement(Yi,eo,to)}extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var Yi=this.globalData.getAssetsPath(this.assetData),eo=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",Yi),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(eo),eo.crossOrigin="anonymous",eo.src=Yi,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function HybridRendererBase(Yi,eo){this.animationItem=Yi,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:eo&&eo.className||"",imagePreserveAspectRatio:eo&&eo.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(eo&&eo.hideOnTransparent===!1),filterSize:{width:eo&&eo.filterSize&&eo.filterSize.width||"400%",height:eo&&eo.filterSize&&eo.filterSize.height||"400%",x:eo&&eo.filterSize&&eo.filterSize.x||"-100%",y:eo&&eo.filterSize&&eo.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var Yi=this.pendingElements.pop();Yi.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(Yi,eo){var to=Yi.getBaseElement();if(to){var ro=this.layers[eo];if(!ro.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(to,eo);else{for(var no=0,io,oo,ao;no<eo;)this.elements[no]&&this.elements[no]!==!0&&this.elements[no].getBaseElement&&(oo=this.elements[no],ao=this.layers[no].ddd?this.getThreeDContainerByPos(no):oo.getBaseElement(),io=ao||io),no+=1;io?(!ro.ddd||!this.supports3d)&&this.layerElement.insertBefore(to,io):(!ro.ddd||!this.supports3d)&&this.layerElement.appendChild(to)}else this.addTo3dContainer(to,eo)}},HybridRendererBase.prototype.createShape=function(Yi){return this.supports3d?new HShapeElement(Yi,this.globalData,this):new SVGShapeElement(Yi,this.globalData,this)},HybridRendererBase.prototype.createText=function(Yi){return this.supports3d?new HTextElement(Yi,this.globalData,this):new SVGTextLottieElement(Yi,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(Yi){return this.camera=new HCameraElement(Yi,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(Yi){return this.supports3d?new HImageElement(Yi,this.globalData,this):new IImageElement(Yi,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(Yi){return this.supports3d?new HSolidElement(Yi,this.globalData,this):new ISolidElement(Yi,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(Yi){for(var eo=0,to=this.threeDElements.length;eo<to;){if(this.threeDElements[eo].startPos<=Yi&&this.threeDElements[eo].endPos>=Yi)return this.threeDElements[eo].perspectiveElem;eo+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(Yi,eo){var to=createTag("div"),ro,no;styleDiv(to);var io=createTag("div");if(styleDiv(io),eo==="3d"){ro=to.style,ro.width=this.globalData.compSize.w+"px",ro.height=this.globalData.compSize.h+"px";var oo="50% 50%";ro.webkitTransformOrigin=oo,ro.mozTransformOrigin=oo,ro.transformOrigin=oo,no=io.style;var ao="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";no.transform=ao,no.webkitTransform=ao}to.appendChild(io);var so={container:io,perspectiveElem:to,startPos:Yi,endPos:Yi,type:eo};return this.threeDElements.push(so),so},HybridRendererBase.prototype.build3dContainers=function(){var Yi,eo=this.layers.length,to,ro="";for(Yi=0;Yi<eo;Yi+=1)this.layers[Yi].ddd&&this.layers[Yi].ty!==3?(ro!=="3d"&&(ro="3d",to=this.createThreeDContainer(Yi,"3d")),to.endPos=Math.max(to.endPos,Yi)):(ro!=="2d"&&(ro="2d",to=this.createThreeDContainer(Yi,"2d")),to.endPos=Math.max(to.endPos,Yi));for(eo=this.threeDElements.length,Yi=eo-1;Yi>=0;Yi-=1)this.resizerElem.appendChild(this.threeDElements[Yi].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(Yi,eo){for(var to=0,ro=this.threeDElements.length;to<ro;){if(eo<=this.threeDElements[to].endPos){for(var no=this.threeDElements[to].startPos,io;no<eo;)this.elements[no]&&this.elements[no].getBaseElement&&(io=this.elements[no].getBaseElement()),no+=1;io?this.threeDElements[to].container.insertBefore(Yi,io):this.threeDElements[to].container.appendChild(Yi);break}to+=1}},HybridRendererBase.prototype.configAnimation=function(Yi){var eo=createTag("div"),to=this.animationItem.wrapper,ro=eo.style;ro.width=Yi.w+"px",ro.height=Yi.h+"px",this.resizerElem=eo,styleDiv(eo),ro.transformStyle="flat",ro.mozTransformStyle="flat",ro.webkitTransformStyle="flat",this.renderConfig.className&&eo.setAttribute("class",this.renderConfig.className),to.appendChild(eo),ro.overflow="hidden";var no=createNS("svg");no.setAttribute("width","1"),no.setAttribute("height","1"),styleDiv(no),this.resizerElem.appendChild(no);var io=createNS("defs");no.appendChild(io),this.data=Yi,this.setupGlobalData(Yi,no),this.globalData.defs=io,this.layers=Yi.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var Yi,eo=this.layers?this.layers.length:0;for(Yi=0;Yi<eo;Yi+=1)this.elements[Yi]&&this.elements[Yi].destroy&&this.elements[Yi].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var Yi=this.animationItem.wrapper.offsetWidth,eo=this.animationItem.wrapper.offsetHeight,to=Yi/eo,ro=this.globalData.compSize.w/this.globalData.compSize.h,no,io,oo,ao;ro>to?(no=Yi/this.globalData.compSize.w,io=Yi/this.globalData.compSize.w,oo=0,ao=(eo-this.globalData.compSize.h*(Yi/this.globalData.compSize.w))/2):(no=eo/this.globalData.compSize.h,io=eo/this.globalData.compSize.h,oo=(Yi-this.globalData.compSize.w*(eo/this.globalData.compSize.h))/2,ao=0);var so=this.resizerElem.style;so.webkitTransform="matrix3d("+no+",0,0,0,0,"+io+",0,0,0,0,1,0,"+oo+","+ao+",0,1)",so.transform=so.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var Yi=this.globalData.compSize.w,eo=this.globalData.compSize.h,to,ro=this.threeDElements.length;for(to=0;to<ro;to+=1){var no=this.threeDElements[to].perspectiveElem.style;no.webkitPerspective=Math.sqrt(Math.pow(Yi,2)+Math.pow(eo,2))+"px",no.perspective=no.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(Yi){var eo,to=Yi.length,ro=createTag("div");for(eo=0;eo<to;eo+=1)if(Yi[eo].xt){var no=this.createComp(Yi[eo],ro,this.globalData.comp,null);no.initExpressions(),this.globalData.projectInterface.registerComposition(no)}};function HCompElement(Yi,eo,to){this.layers=Yi.layers,this.supports3d=!Yi.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(Yi,eo,to),this.tm=Yi.tm?PropertyFactory.getProp(this,Yi.tm,0,eo.frameRate,this):{_placeholder:!0}}extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(Yi,eo){for(var to=0,ro;to<eo;)this.elements[to]&&this.elements[to].getBaseElement&&(ro=this.elements[to].getBaseElement()),to+=1;ro?this.layerElement.insertBefore(Yi,ro):this.layerElement.appendChild(Yi)},HCompElement.prototype.createComp=function(Yi){return this.supports3d?new HCompElement(Yi,this.globalData,this):new SVGCompElement(Yi,this.globalData,this)};function HybridRenderer(Yi,eo){this.animationItem=Yi,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:eo&&eo.className||"",imagePreserveAspectRatio:eo&&eo.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(eo&&eo.hideOnTransparent===!1),filterSize:{width:eo&&eo.filterSize&&eo.filterSize.width||"400%",height:eo&&eo.filterSize&&eo.filterSize.height||"400%",x:eo&&eo.filterSize&&eo.filterSize.x||"-100%",y:eo&&eo.filterSize&&eo.filterSize.y||"-100%"},runExpressions:!eo||eo.runExpressions===void 0||eo.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(Yi){return this.supports3d?new HCompElement(Yi,this.globalData,this):new SVGCompElement(Yi,this.globalData,this)};var CompExpressionInterface=(function(){return function(Yi){function eo(to){for(var ro=0,no=Yi.layers.length;ro<no;){if(Yi.layers[ro].nm===to||Yi.layers[ro].ind===to)return Yi.elements[ro].layerInterface;ro+=1}return null}return Object.defineProperty(eo,"_name",{value:Yi.data.nm}),eo.layer=eo,eo.pixelAspect=1,eo.height=Yi.data.h||Yi.globalData.compSize.h,eo.width=Yi.data.w||Yi.globalData.compSize.w,eo.pixelAspect=1,eo.frameDuration=1/Yi.globalData.frameRate,eo.displayStartTime=0,eo.numLayers=Yi.layers.length,eo}})();function _typeof$2(Yi){"@babel/helpers - typeof";return _typeof$2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$2(Yi)}function seedRandom(Yi,eo){var to=this,ro=256,no=6,io=52,oo="random",ao=eo.pow(ro,no),so=eo.pow(2,io),lo=so*2,co=ro-1,uo;function fo(yo,Eo,xo){var So=[];Eo=Eo===!0?{entropy:!0}:Eo||{};var To=Co(vo(Eo.entropy?[yo,wo(Yi)]:yo===null?bo():yo,3),So),Ro=new ho(So),Po=function(){for(var Ho=Ro.g(no),Vo=ao,Lo=0;Ho<so;)Ho=(Ho+Lo)*ro,Vo*=ro,Lo=Ro.g(1);for(;Ho>=lo;)Ho/=2,Vo/=2,Lo>>>=1;return(Ho+Lo)/Vo};return Po.int32=function(){return Ro.g(4)|0},Po.quick=function(){return Ro.g(4)/4294967296},Po.double=Po,Co(wo(Ro.S),Yi),(Eo.pass||xo||function(zo,Ho,Vo,Lo){return Lo&&(Lo.S&&mo(Lo,Ro),zo.state=function(){return mo(Ro,{})}),Vo?(eo[oo]=zo,Ho):zo})(Po,To,"global"in Eo?Eo.global:this==eo,Eo.state)}eo["seed"+oo]=fo;function ho(yo){var Eo,xo=yo.length,So=this,To=0,Ro=So.i=So.j=0,Po=So.S=[];for(xo||(yo=[xo++]);To<ro;)Po[To]=To++;for(To=0;To<ro;To++)Po[To]=Po[Ro=co&Ro+yo[To%xo]+(Eo=Po[To])],Po[Ro]=Eo;So.g=function(zo){for(var Ho,Vo=0,Lo=So.i,Uo=So.j,Do=So.S;zo--;)Ho=Do[Lo=co&Lo+1],Vo=Vo*ro+Do[co&(Do[Lo]=Do[Uo=co&Uo+Ho])+(Do[Uo]=Ho)];return So.i=Lo,So.j=Uo,Vo}}function mo(yo,Eo){return Eo.i=yo.i,Eo.j=yo.j,Eo.S=yo.S.slice(),Eo}function vo(yo,Eo){var xo=[],So=_typeof$2(yo),To;if(Eo&&So=="object")for(To in yo)try{xo.push(vo(yo[To],Eo-1))}catch{}return xo.length?xo:So=="string"?yo:yo+"\0"}function Co(yo,Eo){for(var xo=yo+"",So,To=0;To<xo.length;)Eo[co&To]=co&(So^=Eo[co&To]*19)+xo.charCodeAt(To++);return wo(Eo)}function bo(){try{var yo=new Uint8Array(ro);return(to.crypto||to.msCrypto).getRandomValues(yo),wo(yo)}catch{var Eo=to.navigator,xo=Eo&&Eo.plugins;return[+new Date,to,xo,to.screen,wo(Yi)]}}function wo(yo){return String.fromCharCode.apply(0,yo)}Co(eo.random(),Yi)}function initialize$2(Yi){seedRandom([],Yi)}var propTypes={SHAPE:"shape"};function _typeof$1(Yi){"@babel/helpers - typeof";return _typeof$1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$1(Yi)}var ExpressionManager=(function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};initialize$2(BMMath);function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(Yi){return Yi.constructor===Array||Yi.constructor===Float32Array}function isNumerable(Yi,eo){return Yi==="number"||eo instanceof Number||Yi==="boolean"||Yi==="string"}function $bm_neg(Yi){var eo=_typeof$1(Yi);if(eo==="number"||Yi instanceof Number||eo==="boolean")return-Yi;if($bm_isInstanceOfArray(Yi)){var to,ro=Yi.length,no=[];for(to=0;to<ro;to+=1)no[to]=-Yi[to];return no}return Yi.propType?Yi.v:-Yi}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(Yi,eo){var to=_typeof$1(Yi),ro=_typeof$1(eo);if(isNumerable(to,Yi)&&isNumerable(ro,eo)||to==="string"||ro==="string")return Yi+eo;if($bm_isInstanceOfArray(Yi)&&isNumerable(ro,eo))return Yi=Yi.slice(0),Yi[0]+=eo,Yi;if(isNumerable(to,Yi)&&$bm_isInstanceOfArray(eo))return eo=eo.slice(0),eo[0]=Yi+eo[0],eo;if($bm_isInstanceOfArray(Yi)&&$bm_isInstanceOfArray(eo)){for(var no=0,io=Yi.length,oo=eo.length,ao=[];no<io||no<oo;)(typeof Yi[no]=="number"||Yi[no]instanceof Number)&&(typeof eo[no]=="number"||eo[no]instanceof Number)?ao[no]=Yi[no]+eo[no]:ao[no]=eo[no]===void 0?Yi[no]:Yi[no]||eo[no],no+=1;return ao}return 0}var add=sum;function sub(Yi,eo){var to=_typeof$1(Yi),ro=_typeof$1(eo);if(isNumerable(to,Yi)&&isNumerable(ro,eo))return to==="string"&&(Yi=parseInt(Yi,10)),ro==="string"&&(eo=parseInt(eo,10)),Yi-eo;if($bm_isInstanceOfArray(Yi)&&isNumerable(ro,eo))return Yi=Yi.slice(0),Yi[0]-=eo,Yi;if(isNumerable(to,Yi)&&$bm_isInstanceOfArray(eo))return eo=eo.slice(0),eo[0]=Yi-eo[0],eo;if($bm_isInstanceOfArray(Yi)&&$bm_isInstanceOfArray(eo)){for(var no=0,io=Yi.length,oo=eo.length,ao=[];no<io||no<oo;)(typeof Yi[no]=="number"||Yi[no]instanceof Number)&&(typeof eo[no]=="number"||eo[no]instanceof Number)?ao[no]=Yi[no]-eo[no]:ao[no]=eo[no]===void 0?Yi[no]:Yi[no]||eo[no],no+=1;return ao}return 0}function mul(Yi,eo){var to=_typeof$1(Yi),ro=_typeof$1(eo),no;if(isNumerable(to,Yi)&&isNumerable(ro,eo))return Yi*eo;var io,oo;if($bm_isInstanceOfArray(Yi)&&isNumerable(ro,eo)){for(oo=Yi.length,no=createTypedArray("float32",oo),io=0;io<oo;io+=1)no[io]=Yi[io]*eo;return no}if(isNumerable(to,Yi)&&$bm_isInstanceOfArray(eo)){for(oo=eo.length,no=createTypedArray("float32",oo),io=0;io<oo;io+=1)no[io]=Yi*eo[io];return no}return 0}function div(Yi,eo){var to=_typeof$1(Yi),ro=_typeof$1(eo),no;if(isNumerable(to,Yi)&&isNumerable(ro,eo))return Yi/eo;var io,oo;if($bm_isInstanceOfArray(Yi)&&isNumerable(ro,eo)){for(oo=Yi.length,no=createTypedArray("float32",oo),io=0;io<oo;io+=1)no[io]=Yi[io]/eo;return no}if(isNumerable(to,Yi)&&$bm_isInstanceOfArray(eo)){for(oo=eo.length,no=createTypedArray("float32",oo),io=0;io<oo;io+=1)no[io]=Yi/eo[io];return no}return 0}function mod(Yi,eo){return typeof Yi=="string"&&(Yi=parseInt(Yi,10)),typeof eo=="string"&&(eo=parseInt(eo,10)),Yi%eo}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(Yi,eo,to){if(eo>to){var ro=to;to=eo,eo=ro}return Math.min(Math.max(Yi,eo),to)}function radiansToDegrees(Yi){return Yi/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(Yi){return Yi*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(Yi,eo){if(typeof Yi=="number"||Yi instanceof Number)return eo=eo||0,Math.abs(Yi-eo);eo||(eo=helperLengthArray);var to,ro=Math.min(Yi.length,eo.length),no=0;for(to=0;to<ro;to+=1)no+=Math.pow(eo[to]-Yi[to],2);return Math.sqrt(no)}function normalize(Yi){return div(Yi,length(Yi))}function rgbToHsl(Yi){var eo=Yi[0],to=Yi[1],ro=Yi[2],no=Math.max(eo,to,ro),io=Math.min(eo,to,ro),oo,ao,so=(no+io)/2;if(no===io)oo=0,ao=0;else{var lo=no-io;switch(ao=so>.5?lo/(2-no-io):lo/(no+io),no){case eo:oo=(to-ro)/lo+(to<ro?6:0);break;case to:oo=(ro-eo)/lo+2;break;case ro:oo=(eo-to)/lo+4;break}oo/=6}return[oo,ao,so,Yi[3]]}function hue2rgb(Yi,eo,to){return to<0&&(to+=1),to>1&&(to-=1),to<1/6?Yi+(eo-Yi)*6*to:to<1/2?eo:to<2/3?Yi+(eo-Yi)*(2/3-to)*6:Yi}function hslToRgb(Yi){var eo=Yi[0],to=Yi[1],ro=Yi[2],no,io,oo;if(to===0)no=ro,oo=ro,io=ro;else{var ao=ro<.5?ro*(1+to):ro+to-ro*to,so=2*ro-ao;no=hue2rgb(so,ao,eo+1/3),io=hue2rgb(so,ao,eo),oo=hue2rgb(so,ao,eo-1/3)}return[no,io,oo,Yi[3]]}function linear(Yi,eo,to,ro,no){if((ro===void 0||no===void 0)&&(ro=eo,no=to,eo=0,to=1),to<eo){var io=to;to=eo,eo=io}if(Yi<=eo)return ro;if(Yi>=to)return no;var oo=to===eo?0:(Yi-eo)/(to-eo);if(!ro.length)return ro+(no-ro)*oo;var ao,so=ro.length,lo=createTypedArray("float32",so);for(ao=0;ao<so;ao+=1)lo[ao]=ro[ao]+(no[ao]-ro[ao])*oo;return lo}function random(Yi,eo){if(eo===void 0&&(Yi===void 0?(Yi=0,eo=1):(eo=Yi,Yi=void 0)),eo.length){var to,ro=eo.length;Yi||(Yi=createTypedArray("float32",ro));var no=createTypedArray("float32",ro),io=BMMath.random();for(to=0;to<ro;to+=1)no[to]=Yi[to]+io*(eo[to]-Yi[to]);return no}Yi===void 0&&(Yi=0);var oo=BMMath.random();return Yi+oo*(eo-Yi)}function createPath(Yi,eo,to,ro){var no,io=Yi.length,oo=shapePool.newElement();oo.setPathData(!!ro,io);var ao=[0,0],so,lo;for(no=0;no<io;no+=1)so=eo&&eo[no]?eo[no]:ao,lo=to&&to[no]?to[no]:ao,oo.setTripleAt(Yi[no][0],Yi[no][1],lo[0]+Yi[no][0],lo[1]+Yi[no][1],so[0]+Yi[no][0],so[1]+Yi[no][1],no,!0);return oo}function initiateExpression(elem,data,property){function noOp(Yi){return Yi}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty._name=elem.data.nm,thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=(function Yi(eo,to){var ro,no,io=this.pv.length?this.pv.length:1,oo=createTypedArray("float32",io);eo=5;var ao=Math.floor(time*eo);for(ro=0,no=0;ro<ao;){for(no=0;no<io;no+=1)oo[no]+=-to+to*2*BMMath.random();ro+=1}var so=time*eo,lo=so-Math.floor(so),co=createTypedArray("float32",io);if(io>1){for(no=0;no<io;no+=1)co[no]=this.pv[no]+oo[no]+(-to+to*2*BMMath.random())*lo;return co}return this.pv+oo[0]+(-to+to*2*BMMath.random())*lo}).bind(this);thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty));function loopInDuration(Yi,eo){return loopIn(Yi,eo,!0)}function loopOutDuration(Yi,eo){return loopOut(Yi,eo,!0)}this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(Yi,eo){var to=[eo[0]-Yi[0],eo[1]-Yi[1],eo[2]-Yi[2]],ro=Math.atan2(to[0],Math.sqrt(to[1]*to[1]+to[2]*to[2]))/degToRads,no=-Math.atan2(to[1],to[2])/degToRads;return[no,ro,0]}function easeOut(Yi,eo,to,ro,no){return applyEase(easeOutBez,Yi,eo,to,ro,no)}function easeIn(Yi,eo,to,ro,no){return applyEase(easeInBez,Yi,eo,to,ro,no)}function ease(Yi,eo,to,ro,no){return applyEase(easeInOutBez,Yi,eo,to,ro,no)}function applyEase(Yi,eo,to,ro,no,io){no===void 0?(no=to,io=ro):eo=(eo-to)/(ro-to),eo>1?eo=1:eo<0&&(eo=0);var oo=Yi(eo);if($bm_isInstanceOfArray(no)){var ao,so=no.length,lo=createTypedArray("float32",so);for(ao=0;ao<so;ao+=1)lo[ao]=(io[ao]-no[ao])*oo+no[ao];return lo}return(io-no)*oo+no}function nearestKey(Yi){var eo,to=data.k.length,ro,no;if(!data.k.length||typeof data.k[0]=="number")ro=0,no=0;else if(ro=-1,Yi*=elem.comp.globalData.frameRate,Yi<data.k[0].t)ro=1,no=data.k[0].t;else{for(eo=0;eo<to-1;eo+=1)if(Yi===data.k[eo].t){ro=eo+1,no=data.k[eo].t;break}else if(Yi>data.k[eo].t&&Yi<data.k[eo+1].t){Yi-data.k[eo].t>data.k[eo+1].t-Yi?(ro=eo+2,no=data.k[eo+1].t):(ro=eo+1,no=data.k[eo].t);break}ro===-1&&(ro=eo+1,no=data.k[eo].t)}var io={};return io.index=ro,io.time=no/elem.comp.globalData.frameRate,io}function key(Yi){var eo,to,ro;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+Yi);Yi-=1,eo={time:data.k[Yi].t/elem.comp.globalData.frameRate,value:[]};var no=Object.prototype.hasOwnProperty.call(data.k[Yi],"s")?data.k[Yi].s:data.k[Yi-1].e;for(ro=no.length,to=0;to<ro;to+=1)eo[to]=no[to],eo.value[to]=no[to];return eo}function framesToTime(Yi,eo){return eo||(eo=elem.comp.globalData.frameRate),Yi/eo}function timeToFrames(Yi,eo){return!Yi&&Yi!==0&&(Yi=time),eo||(eo=elem.comp.globalData.frameRate),Yi*eo}function seedRandom(Yi){BMMath.seedrandom(randSeed+Yi)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(Yi,eo){return typeof value=="string"?eo===void 0?value.substring(Yi):value.substring(Yi,eo):""}function substr(Yi,eo){return typeof value=="string"?eo===void 0?value.substr(Yi):value.substr(Yi,eo):""}function posterizeTime(Yi){time=Yi===0?0:Math.floor(time*Yi)/Yi,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(Yi){return value=Yi,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType===4&&!content&&(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!!(elem.hierarchy&&elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob})(),Expressions=(function(){var Yi={};Yi.initExpressions=eo,Yi.resetFrame=ExpressionManager.resetFrame;function eo(to){var ro=0,no=[];function io(){ro+=1}function oo(){ro-=1,ro===0&&so()}function ao(lo){no.indexOf(lo)===-1&&no.push(lo)}function so(){var lo,co=no.length;for(lo=0;lo<co;lo+=1)no[lo].release();no.length=0}to.renderer.compInterface=CompExpressionInterface(to.renderer),to.renderer.globalData.projectInterface.registerComposition(to.renderer),to.renderer.globalData.pushExpression=io,to.renderer.globalData.popExpression=oo,to.renderer.globalData.registerExpressionProperty=ao}return Yi})(),MaskManagerInterface=(function(){function Yi(to,ro){this._mask=to,this._data=ro}Object.defineProperty(Yi.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(Yi.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var eo=function(ro){var no=createSizedArray(ro.viewData.length),io,oo=ro.viewData.length;for(io=0;io<oo;io+=1)no[io]=new Yi(ro.viewData[io],ro.masksProperties[io]);var ao=function(lo){for(io=0;io<oo;){if(ro.masksProperties[io].nm===lo)return no[io];io+=1}return null};return ao};return eo})(),ExpressionPropertyInterface=(function(){var Yi={pv:0,v:0,mult:1},eo={pv:[0,0,0],v:[0,0,0],mult:1};function to(oo,ao,so){Object.defineProperty(oo,"velocity",{get:function(){return ao.getVelocityAtTime(ao.comp.currentFrame)}}),oo.numKeys=ao.keyframes?ao.keyframes.length:0,oo.key=function(lo){if(!oo.numKeys)return 0;var co="";"s"in ao.keyframes[lo-1]?co=ao.keyframes[lo-1].s:"e"in ao.keyframes[lo-2]?co=ao.keyframes[lo-2].e:co=ao.keyframes[lo-2].s;var uo=so==="unidimensional"?new Number(co):Object.assign({},co);return uo.time=ao.keyframes[lo-1].t/ao.elem.comp.globalData.frameRate,uo.value=so==="unidimensional"?co[0]:co,uo},oo.valueAtTime=ao.getValueAtTime,oo.speedAtTime=ao.getSpeedAtTime,oo.velocityAtTime=ao.getVelocityAtTime,oo.propertyGroup=ao.propertyGroup}function ro(oo){(!oo||!("pv"in oo))&&(oo=Yi);var ao=1/oo.mult,so=oo.pv*ao,lo=new Number(so);return lo.value=so,to(lo,oo,"unidimensional"),function(){return oo.k&&oo.getValue(),so=oo.v*ao,lo.value!==so&&(lo=new Number(so),lo.value=so,lo[0]=so,to(lo,oo,"unidimensional")),lo}}function no(oo){(!oo||!("pv"in oo))&&(oo=eo);var ao=1/oo.mult,so=oo.data&&oo.data.l||oo.pv.length,lo=createTypedArray("float32",so),co=createTypedArray("float32",so);return lo.value=co,to(lo,oo,"multidimensional"),function(){oo.k&&oo.getValue();for(var uo=0;uo<so;uo+=1)co[uo]=oo.v[uo]*ao,lo[uo]=co[uo];return lo}}function io(){return Yi}return function(oo){return oo?oo.propType==="unidimensional"?ro(oo):no(oo):io}})(),TransformExpressionInterface=(function(){return function(Yi){function eo(oo){switch(oo){case"scale":case"Scale":case"ADBE Scale":case 6:return eo.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return eo.rotation;case"ADBE Rotate X":return eo.xRotation;case"ADBE Rotate Y":return eo.yRotation;case"position":case"Position":case"ADBE Position":case 2:return eo.position;case"ADBE Position_0":return eo.xPosition;case"ADBE Position_1":return eo.yPosition;case"ADBE Position_2":return eo.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return eo.anchorPoint;case"opacity":case"Opacity":case 11:return eo.opacity;default:return null}}Object.defineProperty(eo,"rotation",{get:ExpressionPropertyInterface(Yi.r||Yi.rz)}),Object.defineProperty(eo,"zRotation",{get:ExpressionPropertyInterface(Yi.rz||Yi.r)}),Object.defineProperty(eo,"xRotation",{get:ExpressionPropertyInterface(Yi.rx)}),Object.defineProperty(eo,"yRotation",{get:ExpressionPropertyInterface(Yi.ry)}),Object.defineProperty(eo,"scale",{get:ExpressionPropertyInterface(Yi.s)});var to,ro,no,io;return Yi.p?io=ExpressionPropertyInterface(Yi.p):(to=ExpressionPropertyInterface(Yi.px),ro=ExpressionPropertyInterface(Yi.py),Yi.pz&&(no=ExpressionPropertyInterface(Yi.pz))),Object.defineProperty(eo,"position",{get:function(){return Yi.p?io():[to(),ro(),no?no():0]}}),Object.defineProperty(eo,"xPosition",{get:ExpressionPropertyInterface(Yi.px)}),Object.defineProperty(eo,"yPosition",{get:ExpressionPropertyInterface(Yi.py)}),Object.defineProperty(eo,"zPosition",{get:ExpressionPropertyInterface(Yi.pz)}),Object.defineProperty(eo,"anchorPoint",{get:ExpressionPropertyInterface(Yi.a)}),Object.defineProperty(eo,"opacity",{get:ExpressionPropertyInterface(Yi.o)}),Object.defineProperty(eo,"skew",{get:ExpressionPropertyInterface(Yi.sk)}),Object.defineProperty(eo,"skewAxis",{get:ExpressionPropertyInterface(Yi.sa)}),Object.defineProperty(eo,"orientation",{get:ExpressionPropertyInterface(Yi.or)}),eo}})(),LayerExpressionInterface=(function(){function Yi(lo){var co=new Matrix;if(lo!==void 0){var uo=this._elem.finalTransform.mProp.getValueAtTime(lo);uo.clone(co)}else{var fo=this._elem.finalTransform.mProp;fo.applyToMatrix(co)}return co}function eo(lo,co){var uo=this.getMatrix(co);return uo.props[12]=0,uo.props[13]=0,uo.props[14]=0,this.applyPoint(uo,lo)}function to(lo,co){var uo=this.getMatrix(co);return this.applyPoint(uo,lo)}function ro(lo,co){var uo=this.getMatrix(co);return uo.props[12]=0,uo.props[13]=0,uo.props[14]=0,this.invertPoint(uo,lo)}function no(lo,co){var uo=this.getMatrix(co);return this.invertPoint(uo,lo)}function io(lo,co){if(this._elem.hierarchy&&this._elem.hierarchy.length){var uo,fo=this._elem.hierarchy.length;for(uo=0;uo<fo;uo+=1)this._elem.hierarchy[uo].finalTransform.mProp.applyToMatrix(lo)}return lo.applyToPointArray(co[0],co[1],co[2]||0)}function oo(lo,co){if(this._elem.hierarchy&&this._elem.hierarchy.length){var uo,fo=this._elem.hierarchy.length;for(uo=0;uo<fo;uo+=1)this._elem.hierarchy[uo].finalTransform.mProp.applyToMatrix(lo)}return lo.inversePoint(co)}function ao(lo){var co=new Matrix;if(co.reset(),this._elem.finalTransform.mProp.applyToMatrix(co),this._elem.hierarchy&&this._elem.hierarchy.length){var uo,fo=this._elem.hierarchy.length;for(uo=0;uo<fo;uo+=1)this._elem.hierarchy[uo].finalTransform.mProp.applyToMatrix(co);return co.inversePoint(lo)}return co.inversePoint(lo)}function so(){return[1,1,1,1]}return function(lo){var co;function uo(vo){ho.mask=new MaskManagerInterface(vo,lo)}function fo(vo){ho.effect=vo}function ho(vo){switch(vo){case"ADBE Root Vectors Group":case"Contents":case 2:return ho.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return co;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return ho.effect;case"ADBE Text Properties":return ho.textInterface;default:return null}}ho.getMatrix=Yi,ho.invertPoint=oo,ho.applyPoint=io,ho.toWorld=to,ho.toWorldVec=eo,ho.fromWorld=no,ho.fromWorldVec=ro,ho.toComp=to,ho.fromComp=ao,ho.sampleImage=so,ho.sourceRectAtTime=lo.sourceRectAtTime.bind(lo),ho._elem=lo,co=TransformExpressionInterface(lo.finalTransform.mProp);var mo=getDescriptor(co,"anchorPoint");return Object.defineProperties(ho,{hasParent:{get:function(){return lo.hierarchy.length}},parent:{get:function(){return lo.hierarchy[0].layerInterface}},rotation:getDescriptor(co,"rotation"),scale:getDescriptor(co,"scale"),position:getDescriptor(co,"position"),opacity:getDescriptor(co,"opacity"),anchorPoint:mo,anchor_point:mo,transform:{get:function(){return co}},active:{get:function(){return lo.isInRange}}}),ho.startTime=lo.data.st,ho.index=lo.data.ind,ho.source=lo.data.refId,ho.height=lo.data.ty===0?lo.data.h:100,ho.width=lo.data.ty===0?lo.data.w:100,ho.inPoint=lo.data.ip/lo.comp.globalData.frameRate,ho.outPoint=lo.data.op/lo.comp.globalData.frameRate,ho._name=lo.data.nm,ho.registerMaskInterface=uo,ho.registerEffectsInterface=fo,ho}})(),propertyGroupFactory=(function(){return function(Yi,eo){return function(to){return to=to===void 0?1:to,to<=0?Yi:eo(to-1)}}})(),PropertyInterface=(function(){return function(Yi,eo){var to={_name:Yi};function ro(no){return no=no===void 0?1:no,no<=0?to:eo(no-1)}return ro}})(),EffectsExpressionInterface=(function(){var Yi={createEffectsInterface:eo};function eo(no,io){if(no.effectsManager){var oo=[],ao=no.data.ef,so,lo=no.effectsManager.effectElements.length;for(so=0;so<lo;so+=1)oo.push(to(ao[so],no.effectsManager.effectElements[so],io,no));var co=no.data.ef||[],uo=function(ho){for(so=0,lo=co.length;so<lo;){if(ho===co[so].nm||ho===co[so].mn||ho===co[so].ix)return oo[so];so+=1}return null};return Object.defineProperty(uo,"numProperties",{get:function(){return co.length}}),uo}return null}function to(no,io,oo,ao){function so(ho){for(var mo=no.ef,vo=0,Co=mo.length;vo<Co;){if(ho===mo[vo].nm||ho===mo[vo].mn||ho===mo[vo].ix)return mo[vo].ty===5?co[vo]:co[vo]();vo+=1}throw new Error}var lo=propertyGroupFactory(so,oo),co=[],uo,fo=no.ef.length;for(uo=0;uo<fo;uo+=1)no.ef[uo].ty===5?co.push(to(no.ef[uo],io.effectElements[uo],io.effectElements[uo].propertyGroup,ao)):co.push(ro(io.effectElements[uo],no.ef[uo].ty,ao,lo));return no.mn==="ADBE Color Control"&&Object.defineProperty(so,"color",{get:function(){return co[0]()}}),Object.defineProperties(so,{numProperties:{get:function(){return no.np}},_name:{value:no.nm},propertyGroup:{value:lo}}),so.enabled=no.en!==0,so.active=so.enabled,so}function ro(no,io,oo,ao){var so=ExpressionPropertyInterface(no.p);function lo(){return io===10?oo.comp.compInterface(no.p.v):so()}return no.p.setGroupProperty&&no.p.setGroupProperty(PropertyInterface("",ao)),lo}return Yi})(),ShapePathInterface=(function(){return function(eo,to,ro){var no=to.sh;function io(ao){return ao==="Shape"||ao==="shape"||ao==="Path"||ao==="path"||ao==="ADBE Vector Shape"||ao===2?io.path:null}var oo=propertyGroupFactory(io,ro);return no.setGroupProperty(PropertyInterface("Path",oo)),Object.defineProperties(io,{path:{get:function(){return no.k&&no.getValue(),no}},shape:{get:function(){return no.k&&no.getValue(),no}},_name:{value:eo.nm},ix:{value:eo.ix},propertyIndex:{value:eo.ix},mn:{value:eo.mn},propertyGroup:{value:ro}}),io}})(),ShapeExpressionInterface=(function(){function Yi(mo,vo,Co){var bo=[],wo,yo=mo?mo.length:0;for(wo=0;wo<yo;wo+=1)mo[wo].ty==="gr"?bo.push(to(mo[wo],vo[wo],Co)):mo[wo].ty==="fl"?bo.push(ro(mo[wo],vo[wo],Co)):mo[wo].ty==="st"?bo.push(oo(mo[wo],vo[wo],Co)):mo[wo].ty==="tm"?bo.push(ao(mo[wo],vo[wo],Co)):mo[wo].ty==="tr"||(mo[wo].ty==="el"?bo.push(lo(mo[wo],vo[wo],Co)):mo[wo].ty==="sr"?bo.push(co(mo[wo],vo[wo],Co)):mo[wo].ty==="sh"?bo.push(ShapePathInterface(mo[wo],vo[wo],Co)):mo[wo].ty==="rc"?bo.push(uo(mo[wo],vo[wo],Co)):mo[wo].ty==="rd"?bo.push(fo(mo[wo],vo[wo],Co)):mo[wo].ty==="rp"?bo.push(ho(mo[wo],vo[wo],Co)):mo[wo].ty==="gf"?bo.push(no(mo[wo],vo[wo],Co)):bo.push(io(mo[wo],vo[wo])));return bo}function eo(mo,vo,Co){var bo,wo=function(xo){for(var So=0,To=bo.length;So<To;){if(bo[So]._name===xo||bo[So].mn===xo||bo[So].propertyIndex===xo||bo[So].ix===xo||bo[So].ind===xo)return bo[So];So+=1}return typeof xo=="number"?bo[xo-1]:null};wo.propertyGroup=propertyGroupFactory(wo,Co),bo=Yi(mo.it,vo.it,wo.propertyGroup),wo.numProperties=bo.length;var yo=so(mo.it[mo.it.length-1],vo.it[vo.it.length-1],wo.propertyGroup);return wo.transform=yo,wo.propertyIndex=mo.cix,wo._name=mo.nm,wo}function to(mo,vo,Co){var bo=function(xo){switch(xo){case"ADBE Vectors Group":case"Contents":case 2:return bo.content;default:return bo.transform}};bo.propertyGroup=propertyGroupFactory(bo,Co);var wo=eo(mo,vo,bo.propertyGroup),yo=so(mo.it[mo.it.length-1],vo.it[vo.it.length-1],bo.propertyGroup);return bo.content=wo,bo.transform=yo,Object.defineProperty(bo,"_name",{get:function(){return mo.nm}}),bo.numProperties=mo.np,bo.propertyIndex=mo.ix,bo.nm=mo.nm,bo.mn=mo.mn,bo}function ro(mo,vo,Co){function bo(wo){return wo==="Color"||wo==="color"?bo.color:wo==="Opacity"||wo==="opacity"?bo.opacity:null}return Object.defineProperties(bo,{color:{get:ExpressionPropertyInterface(vo.c)},opacity:{get:ExpressionPropertyInterface(vo.o)},_name:{value:mo.nm},mn:{value:mo.mn}}),vo.c.setGroupProperty(PropertyInterface("Color",Co)),vo.o.setGroupProperty(PropertyInterface("Opacity",Co)),bo}function no(mo,vo,Co){function bo(wo){return wo==="Start Point"||wo==="start point"?bo.startPoint:wo==="End Point"||wo==="end point"?bo.endPoint:wo==="Opacity"||wo==="opacity"?bo.opacity:null}return Object.defineProperties(bo,{startPoint:{get:ExpressionPropertyInterface(vo.s)},endPoint:{get:ExpressionPropertyInterface(vo.e)},opacity:{get:ExpressionPropertyInterface(vo.o)},type:{get:function(){return"a"}},_name:{value:mo.nm},mn:{value:mo.mn}}),vo.s.setGroupProperty(PropertyInterface("Start Point",Co)),vo.e.setGroupProperty(PropertyInterface("End Point",Co)),vo.o.setGroupProperty(PropertyInterface("Opacity",Co)),bo}function io(){function mo(){return null}return mo}function oo(mo,vo,Co){var bo=propertyGroupFactory(To,Co),wo=propertyGroupFactory(So,bo);function yo(Ro){Object.defineProperty(So,mo.d[Ro].nm,{get:ExpressionPropertyInterface(vo.d.dataProps[Ro].p)})}var Eo,xo=mo.d?mo.d.length:0,So={};for(Eo=0;Eo<xo;Eo+=1)yo(Eo),vo.d.dataProps[Eo].p.setGroupProperty(wo);function To(Ro){return Ro==="Color"||Ro==="color"?To.color:Ro==="Opacity"||Ro==="opacity"?To.opacity:Ro==="Stroke Width"||Ro==="stroke width"?To.strokeWidth:null}return Object.defineProperties(To,{color:{get:ExpressionPropertyInterface(vo.c)},opacity:{get:ExpressionPropertyInterface(vo.o)},strokeWidth:{get:ExpressionPropertyInterface(vo.w)},dash:{get:function(){return So}},_name:{value:mo.nm},mn:{value:mo.mn}}),vo.c.setGroupProperty(PropertyInterface("Color",bo)),vo.o.setGroupProperty(PropertyInterface("Opacity",bo)),vo.w.setGroupProperty(PropertyInterface("Stroke Width",bo)),To}function ao(mo,vo,Co){function bo(yo){return yo===mo.e.ix||yo==="End"||yo==="end"?bo.end:yo===mo.s.ix?bo.start:yo===mo.o.ix?bo.offset:null}var wo=propertyGroupFactory(bo,Co);return bo.propertyIndex=mo.ix,vo.s.setGroupProperty(PropertyInterface("Start",wo)),vo.e.setGroupProperty(PropertyInterface("End",wo)),vo.o.setGroupProperty(PropertyInterface("Offset",w
vendor: 4,868 bytes, line 370
370o)),bo.propertyIndex=mo.ix,bo.propertyGroup=Co,Object.defineProperties(bo,{start:{get:ExpressionPropertyInterface(vo.s)},end:{get:ExpressionPropertyInterface(vo.e)},offset:{get:ExpressionPropertyInterface(vo.o)},_name:{value:mo.nm}}),bo.mn=mo.mn,bo}function so(mo,vo,Co){function bo(yo){return mo.a.ix===yo||yo==="Anchor Point"?bo.anchorPoint:mo.o.ix===yo||yo==="Opacity"?bo.opacity:mo.p.ix===yo||yo==="Position"?bo.position:mo.r.ix===yo||yo==="Rotation"||yo==="ADBE Vector Rotation"?bo.rotation:mo.s.ix===yo||yo==="Scale"?bo.scale:mo.sk&&mo.sk.ix===yo||yo==="Skew"?bo.skew:mo.sa&&mo.sa.ix===yo||yo==="Skew Axis"?bo.skewAxis:null}var wo=propertyGroupFactory(bo,Co);return vo.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",wo)),vo.transform.mProps.p.setGroupProperty(PropertyInterface("Position",wo)),vo.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",wo)),vo.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",wo)),vo.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",wo)),vo.transform.mProps.sk&&(vo.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",wo)),vo.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",wo))),vo.transform.op.setGroupProperty(PropertyInterface("Opacity",wo)),Object.defineProperties(bo,{opacity:{get:ExpressionPropertyInterface(vo.transform.mProps.o)},position:{get:ExpressionPropertyInterface(vo.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(vo.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(vo.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(vo.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(vo.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(vo.transform.mProps.sa)},_name:{value:mo.nm}}),bo.ty="tr",bo.mn=mo.mn,bo.propertyGroup=Co,bo}function lo(mo,vo,Co){function bo(Eo){return mo.p.ix===Eo?bo.position:mo.s.ix===Eo?bo.size:null}var wo=propertyGroupFactory(bo,Co);bo.propertyIndex=mo.ix;var yo=vo.sh.ty==="tm"?vo.sh.prop:vo.sh;return yo.s.setGroupProperty(PropertyInterface("Size",wo)),yo.p.setGroupProperty(PropertyInterface("Position",wo)),Object.defineProperties(bo,{size:{get:ExpressionPropertyInterface(yo.s)},position:{get:ExpressionPropertyInterface(yo.p)},_name:{value:mo.nm}}),bo.mn=mo.mn,bo}function co(mo,vo,Co){function bo(Eo){return mo.p.ix===Eo?bo.position:mo.r.ix===Eo?bo.rotation:mo.pt.ix===Eo?bo.points:mo.or.ix===Eo||Eo==="ADBE Vector Star Outer Radius"?bo.outerRadius:mo.os.ix===Eo?bo.outerRoundness:mo.ir&&(mo.ir.ix===Eo||Eo==="ADBE Vector Star Inner Radius")?bo.innerRadius:mo.is&&mo.is.ix===Eo?bo.innerRoundness:null}var wo=propertyGroupFactory(bo,Co),yo=vo.sh.ty==="tm"?vo.sh.prop:vo.sh;return bo.propertyIndex=mo.ix,yo.or.setGroupProperty(PropertyInterface("Outer Radius",wo)),yo.os.setGroupProperty(PropertyInterface("Outer Roundness",wo)),yo.pt.setGroupProperty(PropertyInterface("Points",wo)),yo.p.setGroupProperty(PropertyInterface("Position",wo)),yo.r.setGroupProperty(PropertyInterface("Rotation",wo)),mo.ir&&(yo.ir.setGroupProperty(PropertyInterface("Inner Radius",wo)),yo.is.setGroupProperty(PropertyInterface("Inner Roundness",wo))),Object.defineProperties(bo,{position:{get:ExpressionPropertyInterface(yo.p)},rotation:{get:ExpressionPropertyInterface(yo.r)},points:{get:ExpressionPropertyInterface(yo.pt)},outerRadius:{get:ExpressionPropertyInterface(yo.or)},outerRoundness:{get:ExpressionPropertyInterface(yo.os)},innerRadius:{get:ExpressionPropertyInterface(yo.ir)},innerRoundness:{get:ExpressionPropertyInterface(yo.is)},_name:{value:mo.nm}}),bo.mn=mo.mn,bo}function uo(mo,vo,Co){function bo(Eo){return mo.p.ix===Eo?bo.position:mo.r.ix===Eo?bo.roundness:mo.s.ix===Eo||Eo==="Size"||Eo==="ADBE Vector Rect Size"?bo.size:null}var wo=propertyGroupFactory(bo,Co),yo=vo.sh.ty==="tm"?vo.sh.prop:vo.sh;return bo.propertyIndex=mo.ix,yo.p.setGroupProperty(PropertyInterface("Position",wo)),yo.s.setGroupProperty(PropertyInterface("Size",wo)),yo.r.setGroupProperty(PropertyInterface("Rotation",wo)),Object.defineProperties(bo,{position:{get:ExpressionPropertyInterface(yo.p)},roundness:{get:ExpressionPropertyInterface(yo.r)},size:{get:ExpressionPropertyInterface(yo.s)},_name:{value:mo.nm}}),bo.mn=mo.mn,bo}function fo(mo,vo,Co){function bo(Eo){return mo.r.ix===Eo||Eo==="Round Corners 1"?bo.radius:null}var wo=propertyGroupFactory(bo,Co),yo=vo;return bo.propertyIndex=mo.ix,yo.rd.setGroupProperty(PropertyInterface("Radius",wo)),Object.defineProperties(bo,{radius:{get:ExpressionPropertyInterface(yo.rd)},_name:{value:mo.nm}}),bo.mn=mo.mn,bo}function ho(mo,vo,Co){function bo(Eo){return mo.c.ix===Eo||Eo==="Copies"?bo.copies:mo.o.ix===Eo||Eo==="Offset"?bo.offset:null}var wo=propertyGroupFactory(bo,Co),yo=vo;return bo.propertyIndex=mo.ix,yo.c.setGroupProperty(PropertyInterface("Copies",wo)),yo.o.setGroupProperty(PropertyInterface("Offset",w
vendor: 28,810 bytes, line 370
370o)),Object.defineProperties(bo,{copies:{get:ExpressionPropertyInterface(yo.c)},offset:{get:ExpressionPropertyInterface(yo.o)},_name:{value:mo.nm}}),bo.mn=mo.mn,bo}return function(mo,vo,Co){var bo;function wo(Eo){if(typeof Eo=="number")return Eo=Eo===void 0?1:Eo,Eo===0?Co:bo[Eo-1];for(var xo=0,So=bo.length;xo<So;){if(bo[xo]._name===Eo)return bo[xo];xo+=1}return null}function yo(){return Co}return wo.propertyGroup=propertyGroupFactory(wo,yo),bo=Yi(mo,vo,wo.propertyGroup),wo.numProperties=bo.length,wo._name="Contents",wo}})(),TextExpressionInterface=(function(){return function(Yi){var eo;function to(ro){switch(ro){case"ADBE Text Document":return to.sourceText;default:return null}}return Object.defineProperty(to,"sourceText",{get:function(){Yi.textProperty.getValue();var no=Yi.textProperty.currentData.t;return(!eo||no!==eo.value)&&(eo=new String(no),eo.value=no||new String(no),Object.defineProperty(eo,"style",{get:function(){return{fillColor:Yi.textProperty.currentData.fc}}})),eo}}),to}})();function _typeof(Yi){"@babel/helpers - typeof";return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof(Yi)}var FootageInterface=(function(){var Yi=function(ro){var no="",io=ro.getFootageData();function oo(){return no="",io=ro.getFootageData(),ao}function ao(so){if(io[so])return no=so,io=io[so],_typeof(io)==="object"?ao:io;var lo=so.indexOf(no);if(lo!==-1){var co=parseInt(so.substr(lo+no.length),10);return io=io[co],_typeof(io)==="object"?ao:io}return""}return oo},eo=function(ro){function no(io){return io==="Outline"?no.outlineInterface():null}return no._name="Outline",no.outlineInterface=Yi(ro),no};return function(to){function ro(no){return no==="Data"?ro.dataInterface:null}return ro._name="Data",ro.dataInterface=eo(to),ro}})(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(Yi){return interfaces[Yi]||null}var expressionHelpers=(function(){function Yi(oo,ao,so){ao.x&&(so.k=!0,so.x=!0,so.initiateExpression=ExpressionManager.initiateExpression,so.effectsSequence.push(so.initiateExpression(oo,ao,so).bind(so)))}function eo(oo){return oo*=this.elem.globalData.frameRate,oo-=this.offsetTime,oo!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<oo?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(oo,this._cachingAtTime),this._cachingAtTime.lastFrame=oo),this._cachingAtTime.value}function to(oo){var ao=-.01,so=this.getValueAtTime(oo),lo=this.getValueAtTime(oo+ao),co=0;if(so.length){var uo;for(uo=0;uo<so.length;uo+=1)co+=Math.pow(lo[uo]-so[uo],2);co=Math.sqrt(co)*100}else co=0;return co}function ro(oo){if(this.vel!==void 0)return this.vel;var ao=-.001,so=this.getValueAtTime(oo),lo=this.getValueAtTime(oo+ao),co;if(so.length){co=createTypedArray("float32",so.length);var uo;for(uo=0;uo<so.length;uo+=1)co[uo]=(lo[uo]-so[uo])/ao}else co=(lo-so)/ao;return co}function no(){return this.pv}function io(oo){this.propertyGroup=oo}return{searchExpressions:Yi,getSpeedAtTime:to,getVelocityAtTime:ro,getValueAtTime:eo,getStaticValueAtTime:no,setGroupProperty:io}})();function addPropertyDecorator(){function Yi(fo,ho,mo){if(!this.k||!this.keyframes)return this.pv;fo=fo?fo.toLowerCase():"";var vo=this.comp.renderedFrame,Co=this.keyframes,bo=Co[Co.length-1].t;if(vo<=bo)return this.pv;var wo,yo;mo?(ho?wo=Math.abs(bo-this.elem.comp.globalData.frameRate*ho):wo=Math.max(0,bo-this.elem.data.ip),yo=bo-wo):((!ho||ho>Co.length-1)&&(ho=Co.length-1),yo=Co[Co.length-1-ho].t,wo=bo-yo);var Eo,xo,So;if(fo==="pingpong"){var To=Math.floor((vo-yo)/wo);if(To%2!==0)return this.getValueAtTime((wo-(vo-yo)%wo+yo)/this.comp.globalData.frameRate,0)}else if(fo==="offset"){var Ro=this.getValueAtTime(yo/this.comp.globalData.frameRate,0),Po=this.getValueAtTime(bo/this.comp.globalData.frameRate,0),zo=this.getValueAtTime(((vo-yo)%wo+yo)/this.comp.globalData.frameRate,0),Ho=Math.floor((vo-yo)/wo);if(this.pv.length){for(So=new Array(Ro.length),xo=So.length,Eo=0;Eo<xo;Eo+=1)So[Eo]=(Po[Eo]-Ro[Eo])*Ho+zo[Eo];return So}return(Po-Ro)*Ho+zo}else if(fo==="continue"){var Vo=this.getValueAtTime(bo/this.comp.globalData.frameRate,0),Lo=this.getValueAtTime((bo-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(So=new Array(Vo.length),xo=So.length,Eo=0;Eo<xo;Eo+=1)So[Eo]=Vo[Eo]+(Vo[Eo]-Lo[Eo])*((vo-bo)/this.comp.globalData.frameRate)/5e-4;return So}return Vo+(Vo-Lo)*((vo-bo)/.001)}return this.getValueAtTime(((vo-yo)%wo+yo)/this.comp.globalData.frameRate,0)}function eo(fo,ho,mo){if(!this.k)return this.pv;fo=fo?fo.toLowerCase():"";var vo=this.comp.renderedFrame,Co=this.keyframes,bo=Co[0].t;if(vo>=bo)return this.pv;var wo,yo;mo?(ho?wo=Math.abs(this.elem.comp.globalData.frameRate*ho):wo=Math.max(0,this.elem.data.op-bo),yo=bo+wo):((!ho||ho>Co.length-1)&&(ho=Co.length-1),yo=Co[ho].t,wo=yo-bo);var Eo,xo,So;if(fo==="pingpong"){var To=Math.floor((bo-vo)/wo);if(To%2===0)return this.getValueAtTime(((bo-vo)%wo+bo)/this.comp.globalData.frameRate,0)}else if(fo==="offset"){var Ro=this.getValueAtTime(bo/this.comp.globalData.frameRate,0),Po=this.getValueAtTime(yo/this.comp.globalData.frameRate,0),zo=this.getValueAtTime((wo-(bo-vo)%wo+bo)/this.comp.globalData.frameRate,0),Ho=Math.floor((bo-vo)/wo)+1;if(this.pv.length){for(So=new Array(Ro.length),xo=So.length,Eo=0;Eo<xo;Eo+=1)So[Eo]=zo[Eo]-(Po[Eo]-Ro[Eo])*Ho;return So}return zo-(Po-Ro)*Ho}else if(fo==="continue"){var Vo=this.getValueAtTime(bo/this.comp.globalData.frameRate,0),Lo=this.getValueAtTime((bo+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(So=new Array(Vo.length),xo=So.length,Eo=0;Eo<xo;Eo+=1)So[Eo]=Vo[Eo]+(Vo[Eo]-Lo[Eo])*(bo-vo)/.001;return So}return Vo+(Vo-Lo)*(bo-vo)/.001}return this.getValueAtTime((wo-((bo-vo)%wo+bo))/this.comp.globalData.frameRate,0)}function to(fo,ho){if(!this.k)return this.pv;if(fo=(fo||.4)*.5,ho=Math.floor(ho||5),ho<=1)return this.pv;var mo=this.comp.renderedFrame/this.comp.globalData.frameRate,vo=mo-fo,Co=mo+fo,bo=ho>1?(Co-vo)/(ho-1):1,wo=0,yo=0,Eo;this.pv.length?Eo=createTypedArray("float32",this.pv.length):Eo=0;for(var xo;wo<ho;){if(xo=this.getValueAtTime(vo+wo*bo),this.pv.length)for(yo=0;yo<this.pv.length;yo+=1)Eo[yo]+=xo[yo];else Eo+=xo;wo+=1}if(this.pv.length)for(yo=0;yo<this.pv.length;yo+=1)Eo[yo]/=ho;else Eo/=ho;return Eo}function ro(fo){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var ho=this._transformCachingAtTime.v;if(ho.cloneFromProps(this.pre.props),this.appliedTransformations<1){var mo=this.a.getValueAtTime(fo);ho.translate(-mo[0]*this.a.mult,-mo[1]*this.a.mult,mo[2]*this.a.mult)}if(this.appliedTransformations<2){var vo=this.s.getValueAtTime(fo);ho.scale(vo[0]*this.s.mult,vo[1]*this.s.mult,vo[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var Co=this.sk.getValueAtTime(fo),bo=this.sa.getValueAtTime(fo);ho.skewFromAxis(-Co*this.sk.mult,bo*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var wo=this.r.getValueAtTime(fo);ho.rotate(-wo*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var yo=this.rz.getValueAtTime(fo),Eo=this.ry.getValueAtTime(fo),xo=this.rx.getValueAtTime(fo),So=this.or.getValueAtTime(fo);ho.rotateZ(-yo*this.rz.mult).rotateY(Eo*this.ry.mult).rotateX(xo*this.rx.mult).rotateZ(-So[2]*this.or.mult).rotateY(So[1]*this.or.mult).rotateX(So[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var To=this.px.getValueAtTime(fo),Ro=this.py.getValueAtTime(fo);if(this.data.p.z){var Po=this.pz.getValueAtTime(fo);ho.translate(To*this.px.mult,Ro*this.py.mult,-Po*this.pz.mult)}else ho.translate(To*this.px.mult,Ro*this.py.mult,0)}else{var zo=this.p.getValueAtTime(fo);ho.translate(zo[0]*this.p.mult,zo[1]*this.p.mult,-zo[2]*this.p.mult)}return ho}function no(){return this.v.clone(new Matrix)}var io=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(fo,ho,mo){var vo=io(fo,ho,mo);return vo.dynamicProperties.length?vo.getValueAtTime=ro.bind(vo):vo.getValueAtTime=no.bind(vo),vo.setGroupProperty=expressionHelpers.setGroupProperty,vo};var oo=PropertyFactory.getProp;PropertyFactory.getProp=function(fo,ho,mo,vo,Co){var bo=oo(fo,ho,mo,vo,Co);bo.kf?bo.getValueAtTime=expressionHelpers.getValueAtTime.bind(bo):bo.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(bo),bo.setGroupProperty=expressionHelpers.setGroupProperty,bo.loopOut=Yi,bo.loopIn=eo,bo.smooth=to,bo.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(bo),bo.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(bo),bo.numKeys=ho.a===1?ho.k.length:0,bo.propertyIndex=ho.ix;var wo=0;return mo!==0&&(wo=createTypedArray("float32",ho.a===1?ho.k[0].s.length:ho.k.length)),bo._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:wo},expressionHelpers.searchExpressions(fo,ho,bo),bo.k&&Co.addDynamicProperty(bo),bo};function ao(fo){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),fo*=this.elem.globalData.frameRate,fo-=this.offsetTime,fo!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<fo?this._caching.lastIndex:0,this._cachingAtTime.lastTime=fo,this.interpolateShape(fo,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var so=ShapePropertyFactory.getConstructorFunction(),lo=ShapePropertyFactory.getKeyframedConstructorFunction();function co(){}co.prototype={vertices:function(ho,mo){this.k&&this.getValue();var vo=this.v;mo!==void 0&&(vo=this.getValueAtTime(mo,0));var Co,bo=vo._length,wo=vo[ho],yo=vo.v,Eo=createSizedArray(bo);for(Co=0;Co<bo;Co+=1)ho==="i"||ho==="o"?Eo[Co]=[wo[Co][0]-yo[Co][0],wo[Co][1]-yo[Co][1]]:Eo[Co]=[wo[Co][0],wo[Co][1]];return Eo},points:function(ho){return this.vertices("v",ho)},inTangents:function(ho){return this.vertices("i",ho)},outTangents:function(ho){return this.vertices("o",ho)},isClosed:function(){return this.v.c},pointOnPath:function(ho,mo){var vo=this.v;mo!==void 0&&(vo=this.getValueAtTime(mo,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(vo));for(var Co=this._segmentsLength,bo=Co.lengths,wo=Co.totalLength*ho,yo=0,Eo=bo.length,xo=0,So;yo<Eo;){if(xo+bo[yo].addedLength>wo){var To=yo,Ro=vo.c&&yo===Eo-1?0:yo+1,Po=(wo-xo)/bo[yo].addedLength;So=bez.getPointInSegment(vo.v[To],vo.v[Ro],vo.o[To],vo.i[Ro],Po,bo[yo]);break}else xo+=bo[yo].addedLength;yo+=1}return So||(So=vo.c?[vo.v[0][0],vo.v[0][1]]:[vo.v[vo._length-1][0],vo.v[vo._length-1][1]]),So},vectorOnPath:function(ho,mo,vo){ho==1?ho=this.v.c:ho==0&&(ho=.999);var Co=this.pointOnPath(ho,mo),bo=this.pointOnPath(ho+.001,mo),wo=bo[0]-Co[0],yo=bo[1]-Co[1],Eo=Math.sqrt(Math.pow(wo,2)+Math.pow(yo,2));if(Eo===0)return[0,0];var xo=vo==="tangent"?[wo/Eo,yo/Eo]:[-yo/Eo,wo/Eo];return xo},tangentOnPath:function(ho,mo){return this.vectorOnPath(ho,mo,"tangent")},normalOnPath:function(ho,mo){return this.vectorOnPath(ho,mo,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([co],so),extendPrototype([co],lo),lo.prototype.getValueAtTime=ao,lo.prototype.initiateExpression=ExpressionManager.initiateExpression;var uo=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(fo,ho,mo,vo,Co){var bo=uo(fo,ho,mo,vo,Co);return bo.propertyIndex=ho.ix,bo.lock=!1,mo===3?expressionHelpers.searchExpressions(fo,ho.pt,bo):mo===4&&expressionHelpers.searchExpressions(fo,ho.ks,bo),bo.k&&fo.addDynamicProperty(bo),bo}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function Yi(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(eo,to){var ro=this.calculateExpression(to);if(eo.t!==ro){var no={};return this.copyData(no,eo),no.t=ro.toString(),no.__complete=!1,no}return eo},TextProperty.prototype.searchProperty=function(){var eo=this.searchKeyframes(),to=this.searchExpressions();return this.kf=eo||to,this.kf},TextProperty.prototype.searchExpressions=Yi}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function Yi(eo,to){var ro=createNS("feMerge");ro.setAttribute("result",eo);var no,io;for(io=0;io<to.length;io+=1)no=createNS("feMergeNode"),no.setAttribute("in",to[io]),ro.appendChild(no),ro.appendChild(no);return ro}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(Yi,eo,to,ro,no){this.filterManager=eo;var io=createNS("feColorMatrix");io.setAttribute("type","matrix"),io.setAttribute("color-interpolation-filters","linearRGB"),io.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=io,io.setAttribute("result",ro+"_tint_1"),Yi.appendChild(io),io=createNS("feColorMatrix"),io.setAttribute("type","matrix"),io.setAttribute("color-interpolation-filters","sRGB"),io.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),io.setAttribute("result",ro+"_tint_2"),Yi.appendChild(io),this.matrixFilter=io;var oo=this.createMergeNode(ro,[no,ro+"_tint_1",ro+"_tint_2"]);Yi.appendChild(oo)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(Yi){if(Yi||this.filterManager._mdf){var eo=this.filterManager.effectElements[0].p.v,to=this.filterManager.effectElements[1].p.v,ro=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+ro+" 0"),this.matrixFilter.setAttribute("values",to[0]-eo[0]+" 0 0 0 "+eo[0]+" "+(to[1]-eo[1])+" 0 0 0 "+eo[1]+" "+(to[2]-eo[2])+" 0 0 0 "+eo[2]+" 0 0 0 1 0")}};function SVGFillFilter(Yi,eo,to,ro){this.filterManager=eo;var no=createNS("feColorMatrix");no.setAttribute("type","matrix"),no.setAttribute("color-interpolation-filters","sRGB"),no.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),no.setAttribute("result",ro),Yi.appendChild(no),this.matrixFilter=no}SVGFillFilter.prototype.renderFrame=function(Yi){if(Yi||this.filterManager._mdf){var eo=this.filterManager.effectElements[2].p.v,to=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+eo[0]+" 0 0 0 0 "+eo[1]+" 0 0 0 0 "+eo[2]+" 0 0 0 "+to+" 0")}};function SVGStrokeEffect(Yi,eo,to){this.initialized=!1,this.filterManager=eo,this.elem=to,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var Yi=this.elem.layerElement.children||this.elem.layerElement.childNodes,eo,to,ro,no;for(this.filterManager.effectElements[1].p.v===1?(no=this.elem.maskManager.masksProperties.length,ro=0):(ro=this.filterManager.effectElements[0].p.v-1,no=ro+1),to=createNS("g"),to.setAttribute("fill","none"),to.setAttribute("stroke-linecap","round"),to.setAttribute("stroke-dashoffset",1),ro;ro<no;ro+=1)eo=createNS("path"),to.appendChild(eo),this.paths.push({p:eo,m:ro});if(this.filterManager.effectElements[10].p.v===3){var io=createNS("mask"),oo=createElementID();io.setAttribute("id",oo),io.setAttribute("mask-type","alpha"),io.appendChild(to),this.elem.globalData.defs.appendChild(io);var ao=createNS("g");for(ao.setAttribute("mask","url("+getLocationHref()+"#"+oo+")");Yi[0];)ao.appendChild(Yi[0]);this.elem.layerElement.appendChild(ao),this.masker=io,to.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(Yi=this.elem.layerElement.children||this.elem.layerElement.childNodes;Yi.length;)this.elem.layerElement.removeChild(Yi[0]);this.elem.layerElement.appendChild(to),this.elem.layerElement.removeAttribute("mask"),to.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=to},SVGStrokeEffect.prototype.renderFrame=function(Yi){this.initialized||this.initialize();var eo,to=this.paths.length,ro,no;for(eo=0;eo<to;eo+=1)if(this.paths[eo].m!==-1&&(ro=this.elem.maskManager.viewData[this.paths[eo].m],no=this.paths[eo].p,(Yi||this.filterManager._mdf||ro.prop._mdf)&&no.setAttribute("d",ro.lastPath),Yi||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||ro.prop._mdf)){var io;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var oo=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,ao=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,so=no.getTotalLength();io="0 0 0 "+so*oo+" ";var lo=so*(ao-oo),co=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,uo=Math.floor(lo/co),fo;for(fo=0;fo<uo;fo+=1)io+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";io+="0 "+so*10+" 0 0"}else io="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;no.setAttribute("stroke-dasharray",io)}if((Yi||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(Yi||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(Yi||this.filterManager.effectElements[3].p._mdf)){var ho=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(ho[0]*255)+","+bmFloor(ho[1]*255)+","+bmFloor(ho[2]*255)+")")}};function SVGTritoneFilter(Yi,eo,to,ro){this.filterManager=eo;var no=createNS("feColorMatrix");no.setAttribute("type","matrix"),no.setAttribute("color-interpolation-filters","linearRGB"),no.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),Yi.appendChild(no);var io=createNS("feComponentTransfer");io.setAttribute("color-interpolation-filters","sRGB"),io.setAttribute("result",ro),this.matrixFilter=io;var oo=createNS("feFuncR");oo.setAttribute("type","table"),io.appendChild(oo),this.feFuncR=oo;var ao=createNS("feFuncG");ao.setAttribute("type","table"),io.appendChild(ao),this.feFuncG=ao;var so=createNS("feFuncB");so.setAttribute("type","table"),io.appendChild(so),this.feFuncB=so,Yi.appendChild(io)}SVGTritoneFilter.prototype.renderFrame=function(Yi){if(Yi||this.filterManager._mdf){var eo=this.filterManager.effectElements[0].p.v,to=this.filterManager.effectElements[1].p.v,ro=this.filterManager.effectElements[2].p.v,no=ro[0]+" "+to[0]+" "+eo[0],io=ro[1]+" "+to[1]+" "+eo[1],oo=ro[2]+" "+to[2]+" "+eo[2];this.feFuncR.setAttribute("tableValues",no),this.feFuncG.setAttribute("tableValues",io),this.feFuncB.setAttribute("tableValues",oo)}};function SVGProLevelsFilter(Yi,eo,to,ro){this.filterManager=eo;var no=this.filterManager.effectElements,io=createNS("feComponentTransfer");(no[10].p.k||no[10].p.v!==0||no[11].p.k||no[11].p.v!==1||no[12].p.k||no[12].p.v!==1||no[13].p.k||no[13].p.v!==0||no[14].p.k||no[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",io)),(no[17].p.k||no[17].p.v!==0||no[18].p.k||no[18].p.v!==1||no[19].p.k||no[19].p.v!==1||no[20].p.k||no[20].p.v!==0||no[21].p.k||no[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",io)),(no[24].p.k||no[24].p.v!==0||no[25].p.k||no[25].p.v!==1||no[26].p.k||no[26].p.v!==1||no[27].p.k||no[27].p.v!==0||no[28].p.k||no[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",io)),(no[31].p.k||no[31].p.v!==0||no[32].p.k||no[32].p.v!==1||no[33].p.k||no[33].p.v!==1||no[34].p.k||no[34].p.v!==0||no[35].p.k||no[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",io)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(io.setAttribute("color-interpolation-filters","sRGB"),Yi.appendChild(io)),(no[3].p.k||no[3].p.v!==0||no[4].p.k||no[4].p.v!==1||no[5].p.k||no[5].p.v!==1||no[6].p.k||no[6].p.v!==0||no[7].p.k||no[7].p.v!==1)&&(io=createNS("feComponentTransfer"),io.setAttribute("color-interpolation-filters","sRGB"),io.setAttribute("result",ro),Yi.appendChild(io),this.feFuncRComposed=this.createFeFunc("feFuncR",io),this.feFuncGComposed=this.createFeFunc("feFuncG",io),this.feFuncBComposed=this.createFeFunc("feFuncB",io))}SVGProLevelsFilter.prototype.createFeFunc=function(Yi,eo){var to=createNS(Yi);return to.setAttribute("type","table"),eo.appendChild(to),to},SVGProLevelsFilter.prototype.getTableValue=function(Yi,eo,to,ro,no){for(var io=0,oo=256,ao,so=Math.min(Yi,eo),lo=Math.max(Yi,eo),co=Array.call(null,{length:oo}),uo,fo=0,ho=no-ro,mo=eo-Yi;io<=256;)ao=io/256,ao<=so?uo=mo<0?no:ro:ao>=lo?uo=mo<0?ro:no:uo=ro+ho*Math.pow((ao-Yi)/mo,1/to),co[fo]=uo,fo+=1,io+=256/(oo-1);return co.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(Yi){if(Yi||this.filterManager._mdf){var eo,to=this.filterManager.effectElements;this.feFuncRComposed&&(Yi||to[3].p._mdf||to[4].p._mdf||to[5].p._mdf||to[6].p._mdf||to[7].p._mdf)&&(eo=this.getTableValue(to[3].p.v,to[4].p.v,to[5].p.v,to[6].p.v,to[7].p.v),this.feFuncRComposed.setAttribute("tableValues",eo),this.feFuncGComposed.setAttribute("tableValues",eo),this.feFuncBComposed.setAttribute("tableValues",eo)),this.feFuncR&&(Yi||to[10].p._mdf||to[11].p._mdf||to[12].p._mdf||to[13].p._mdf||to[14].p._mdf)&&(eo=this.getTableValue(to[10].p.v,to[11].p.v,to[12].p.v,to[13].p.v,to[14].p.v),this.feFuncR.setAttribute("tableValues",eo)),this.feFuncG&&(Yi||to[17].p._mdf||to[18].p._mdf||to[19].p._mdf||to[20].p._mdf||to[21].p._mdf)&&(eo=this.getTableValue(to[17].p.v,to[18].p.v,to[19].p.v,to[20].p.v,to[21].p.v),this.feFuncG.setAttribute("tableValues",eo)),this.feFuncB&&(Yi||to[24].p._mdf||to[25].p._mdf||to[26].p._mdf||to[27].p._mdf||to[28].p._mdf)&&(eo=this.getTableValue(to[24].p.v,to[25].p.v,to[26].p.v,to[27].p.v,to[28].p.v),this.feFuncB.setAttribute("tableValues",eo)),this.feFuncA&&(Yi||to[31].p._mdf||to[32].p._mdf||to[33].p._mdf||to[34].p._mdf||to[35].p._mdf)&&(eo=this.getTableValue(to[31].p.v,to[32].p.v,to[33].p.v,to[34].p.v,to[35].p.v),this.feFuncA.setAttribute("tableValues",eo))}};function SVGDropShadowEffect(Yi,eo,to,ro,no){var io=eo.container.globalData.renderConfig.filterSize,oo=eo.data.fs||io;Yi.setAttribute("x",oo.x||io.x),Yi.setAttribute("y",oo.y||io.y),Yi.setAttribute("width",oo.width||io.width),Yi.setAttribute("height",oo.height||io.height),this.filterManager=eo;var ao=createNS("feGaussianBlur");ao.setAttribute("in","SourceAlpha"),ao.setAttribute("result",ro+"_drop_shadow_1"),ao.setAttribute("stdDeviation","0"),this.feGaussianBlur=ao,Yi.appendChild(ao);var so=createNS("feOffset");so.setAttribute("dx","25"),so.setAttribute("dy","0"),so.setAttribute("in",ro+"_drop_shadow_1"),so.setAttribute("result",ro+"_drop_shadow_2"),this.feOffset=so,Yi.appendChild(so);var lo=createNS("feFlood");lo.setAttribute("flood-color","#00ff00"),lo.setAttribute("flood-opacity","1"),lo.setAttribute("result",ro+"_drop_shadow_3"),this.feFlood=lo,Yi.appendChild(lo);var co=createNS("feComposite");co.setAttribute("in",ro+"_drop_shadow_3"),co.setAttribute("in2",ro+"_drop_shadow_2"),co.setAttribute("operator","in"),co.setAttribute("result",ro+"_drop_shadow_4"),Yi.appendChild(co);var uo=this.createMergeNode(ro,[ro+"_drop_shadow_4",no]);Yi.appendChild(uo)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(Yi){if(Yi||this.filterManager._mdf){if((Yi||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),Yi||this.filterManager.effectElements[0].p._mdf){var eo=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(eo[0]*255),Math.round(eo[1]*255),Math.round(eo[2]*255)))}if((Yi||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),Yi||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var to=this.filterManager.effectElements[3].p.v,ro=(this.filterManager.effectElements[2].p.v-90)*degToRads,no=to*Math.cos(ro),io=to*Math.sin(ro);this.feOffset.setAttribute("dx",no),this.feOffset.setAttribute("dy",io)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(Yi,eo,to){this.initialized=!1,this.filterManager=eo,this.filterElem=Yi,this.elem=to,to.matteElement=createNS("g"),to.matteElement.appendChild(to.layerElement),to.matteElement.appendChild(to.transformedElement),to.baseElement=to.matteElement}SVGMatte3Effect.prototype.findSymbol=function(Yi){for(var eo=0,to=_svgMatteSymbols.length;eo<to;){if(_svgMatteSymbols[eo]===Yi)return _svgMatteSymbols[eo];eo+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(Yi,eo){var to=Yi.layerElement.parentNode;if(to){for(var ro=to.children,no=0,io=ro.length;no<io&&ro[no]!==Yi.layerElement;)no+=1;var oo;no<=io-2&&(oo=ro[no+1]);var ao=createNS("use");ao.setAttribute("href","#"+eo),oo?to.insertBefore(ao,oo):to.appendChild(ao)}},SVGMatte3Effect.prototype.setElementAsMask=function(Yi,eo){if(!this.findSymbol(eo)){var to=createElementID(),ro=createNS("mask");ro.setAttribute("id",eo.layerId),ro.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(eo);var no=Yi.globalData.defs;no.appendChild(ro);var io=createNS("symbol");io.setAttribute("id",to),this.replaceInParent(eo,to),io.appendChild(eo.layerElement),no.appendChild(io);var oo=createNS("use");oo.setAttribute("href","#"+to),ro.appendChild(oo),eo.data.hd=!1,eo.show()}Yi.setMatte(eo.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var Yi=this.filterManager.effectElements[0].p.v,eo=this.elem.comp.elements,to=0,ro=eo.length;to<ro;)eo[to]&&eo[to].data.ind===Yi&&this.setElementAsMask(this.elem,eo[to]),to+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(Yi,eo,to,ro){Yi.setAttribute("x","-100%"),Yi.setAttribute("y","-100%"),Yi.setAttribute("width","300%"),Yi.setAttribute("height","300%"),this.filterManager=eo;var no=createNS("feGaussianBlur");no.setAttribute("result",ro),Yi.appendChild(no),this.feGaussianBlur=no}SVGGaussianBlurEffect.prototype.renderFrame=function(Yi){if(Yi||this.filterManager._mdf){var eo=.3,to=this.filterManager.effectElements[0].p.v*eo,ro=this.filterManager.effectElements[1].p.v,no=ro==3?0:to,io=ro==2?0:to;this.feGaussianBlur.setAttribute("stdDeviation",no+" "+io);var oo=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",oo)}};function TransformEffect(){}TransformEffect.prototype.init=function(Yi){this.effectsManager=Yi,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(Yi){if(this._opMdf=!1,this._mdf=!1,Yi||this.effectsManager._mdf){var eo=this.effectsManager.effectElements,to=eo[0].p.v,ro=eo[1].p.v,no=eo[2].p.v===1,io=eo[3].p.v,oo=no?io:eo[4].p.v,ao=eo[5].p.v,so=eo[6].p.v,lo=eo[7].p.v;this.matrix.reset(),this.matrix.translate(-to[0],-to[1],to[2]),this.matrix.scale(oo*.01,io*.01,1),this.matrix.rotate(-lo*degToRads),this.matrix.skewFromAxis(-ao*degToRads,(so+90)*degToRads),this.matrix.translate(ro[0],ro[1],0),this._mdf=!0,this.opacity!==eo[8].p.v&&(this.opacity=eo[8].p.v,this._opMdf=!0)}};function SVGTransformEffect(Yi,eo){this.init(eo)}extendPrototype([TransformEffect],SVGTransformEffect);function CVTransformEffect(Yi){this.init(Yi)}return extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie}))}
vendor: 3,046 bytes, lines 370-371
370)(lottie$1,lottie$1.exports);var lottieExports=lottie$1.exports;const lottie=getDefaultExportFromCjs(lottieExports);function _iterableToArrayLimit$d(Yi,eo){var to=Yi==null?null:typeof Symbol<"u"&&Yi[Symbol.iterator]||Yi["@@iterator"];if(to!=null){var ro,no,io,oo,ao=[],so=!0,lo=!1;try{if(io=(to=to.call(Yi)).next,eo!==0)for(;!(so=(ro=io.call(to)).done)&&(ao.push(ro.value),ao.length!==eo);so=!0);}catch(co){lo=!0,no=co}finally{try{if(!so&&to.return!=null&&(oo=to.return(),Object(oo)!==oo))return}finally{if(lo)throw no}}return ao}}function ownKeys$F(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread2(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$F(Object(to),!0).forEach(function(ro){_defineProperty$K(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$F(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$K(Yi,eo,to){return eo=_toPropertyKey$E(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _objectWithoutPropertiesLoose$i(Yi,eo){if(Yi==null)return{};var to={},ro=Object.keys(Yi),no,io;for(io=0;io<ro.length;io++)no=ro[io],!(eo.indexOf(no)>=0)&&(to[no]=Yi[no]);return to}function _objectWithoutProperties$k(Yi,eo){if(Yi==null)return{};var to=_objectWithoutPropertiesLoose$i(Yi,eo),ro,no;if(Object.getOwnPropertySymbols){var io=Object.getOwnPropertySymbols(Yi);for(no=0;no<io.length;no++)ro=io[no],!(eo.indexOf(ro)>=0)&&Object.prototype.propertyIsEnumerable.call(Yi,ro)&&(to[ro]=Yi[ro])}return to}function _slicedToArray$d(Yi,eo){return _arrayWithHoles$e(Yi)||_iterableToArrayLimit$d(Yi,eo)||_unsupportedIterableToArray$l(Yi,eo)||_nonIterableRest$e()}function _arrayWithHoles$e(Yi){if(Array.isArray(Yi))return Yi}function _unsupportedIterableToArray$l(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$l(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray$l(Yi,eo)}}function _arrayLikeToArray$l(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}function _nonIterableRest$e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
371In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _toPrimitive$E(Yi,eo){if(typeof Yi!="object"||Yi===null)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(typeof ro!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}
vendor: 6,215 bytes, lines 371-372
371return(eo==="string"?String:Number)(Yi)}function _toPropertyKey$E(Yi){var eo=_toPrimitive$E(Yi,"string");return typeof eo=="symbol"?eo:String(eo)}var _excluded$1$1=["animationData","loop","autoplay","initialSegment","onComplete","onLoopComplete","onEnterFrame","onSegmentStart","onConfigReady","onDataReady","onDataFailed","onLoadedImages","onDOMLoaded","onDestroy","lottieRef","renderer","name","assetsPath","rendererSettings"],useLottie=function Yi(eo,to){var ro=eo.animationData,no=eo.loop,io=eo.autoplay,oo=eo.initialSegment,ao=eo.onComplete,so=eo.onLoopComplete,lo=eo.onEnterFrame,co=eo.onSegmentStart,uo=eo.onConfigReady,fo=eo.onDataReady,ho=eo.onDataFailed,mo=eo.onLoadedImages,vo=eo.onDOMLoaded,Co=eo.onDestroy;eo.lottieRef,eo.renderer,eo.name,eo.assetsPath,eo.rendererSettings;var bo=_objectWithoutProperties$k(eo,_excluded$1$1),wo=reactExports.useState(!1),yo=_slicedToArray$d(wo,2),Eo=yo[0],xo=yo[1],So=reactExports.useRef(),To=reactExports.useRef(null),Ro=function(){var Xo;(Xo=So.current)===null||Xo===void 0||Xo.play()},Po=function(){var Xo;(Xo=So.current)===null||Xo===void 0||Xo.stop()},zo=function(){var Xo;(Xo=So.current)===null||Xo===void 0||Xo.pause()},Ho=function(Xo){var Zo;(Zo=So.current)===null||Zo===void 0||Zo.setSpeed(Xo)},Vo=function(Xo,Zo){var Wo;(Wo=So.current)===null||Wo===void 0||Wo.goToAndPlay(Xo,Zo)},Lo=function(Xo,Zo){var Wo;(Wo=So.current)===null||Wo===void 0||Wo.goToAndStop(Xo,Zo)},Uo=function(Xo){var Zo;(Zo=So.current)===null||Zo===void 0||Zo.setDirection(Xo)},Do=function(Xo,Zo){var Wo;(Wo=So.current)===null||Wo===void 0||Wo.playSegments(Xo,Zo)},Oo=function(Xo){var Zo;(Zo=So.current)===null||Zo===void 0||Zo.setSubframe(Xo)},ko=function(Xo){var Zo;return(Zo=So.current)===null||Zo===void 0?void 0:Zo.getDuration(Xo)},Bo=function(){var Xo;(Xo=So.current)===null||Xo===void 0||Xo.destroy(),So.current=void 0},Fo=function(){var Xo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Zo;if(To.current){(Zo=So.current)===null||Zo===void 0||Zo.destroy();var Wo=_objectSpread2(_objectSpread2(_objectSpread2({},eo),Xo),{},{container:To.current});return So.current=lottie.loadAnimation(Wo),xo(!!So.current),function(){var ta;(ta=So.current)===null||ta===void 0||ta.destroy(),So.current=void 0}}};reactExports.useEffect(function(){var jo=Fo();return function(){return jo==null?void 0:jo()}},[ro,no]),reactExports.useEffect(function(){So.current&&(So.current.autoplay=!!io)},[io]),reactExports.useEffect(function(){if(So.current){if(!oo){So.current.resetSegments(!0);return}!Array.isArray(oo)||!oo.length||((So.current.currentRawFrame<oo[0]||So.current.currentRawFrame>oo[1])&&(So.current.currentRawFrame=oo[0]),So.current.setSegment(oo[0],oo[1]))}},[oo]),reactExports.useEffect(function(){var jo=[{name:"complete",handler:ao},{name:"loopComplete",handler:so},{name:"enterFrame",handler:lo},{name:"segmentStart",handler:co},{name:"config_ready",handler:uo},{name:"data_ready",handler:fo},{name:"data_failed",handler:ho},{name:"loaded_images",handler:mo},{name:"DOMLoaded",handler:vo},{name:"destroy",handler:Co}],Xo=jo.filter(function(Wo){return Wo.handler!=null});if(Xo.length){var Zo=Xo.map(function(Wo){var ta;return(ta=So.current)===null||ta===void 0||ta.addEventListener(Wo.name,Wo.handler),function(){var ra;(ra=So.current)===null||ra===void 0||ra.removeEventListener(Wo.name,Wo.handler)}});return function(){Zo.forEach(function(Wo){return Wo()})}}},[ao,so,lo,co,uo,fo,ho,mo,vo,Co]);var Qo=React$1F.createElement("div",_objectSpread2({style:to,ref:To},bo));return{View:Qo,play:Ro,stop:Po,pause:zo,setSpeed:Ho,goToAndStop:Lo,goToAndPlay:Vo,setDirection:Uo,playSegments:Do,setSubframe:Oo,getDuration:ko,destroy:Bo,animationContainerRef:To,animationLoaded:Eo,animationItem:So.current}};function getContainerVisibility(Yi){var eo=Yi.getBoundingClientRect(),to=eo.top,ro=eo.height,no=window.innerHeight-to,io=window.innerHeight+ro;return no/io}function getContainerCursorPosition(Yi,eo,to){var ro=Yi.getBoundingClientRect(),no=ro.top,io=ro.left,oo=ro.width,ao=ro.height,so=(eo-io)/oo,lo=(to-no)/ao;return{x:so,y:lo}}var useInitInteractivity=function Yi(eo){var to=eo.wrapperRef,ro=eo.animationItem,no=eo.mode,io=eo.actions;reactExports.useEffect(function(){var oo=to.current;if(!(!oo||!ro||!io.length)){ro.stop();var ao=function(){var co=null,uo=function(){var ho=getContainerVisibility(oo),mo=io.find(function(Co){var bo=Co.visibility;return bo&&ho>=bo[0]&&ho<=bo[1]});if(mo){if(mo.type==="seek"&&mo.visibility&&mo.frames.length===2){var vo=mo.frames[0]+Math.ceil((ho-mo.visibility[0])/(mo.visibility[1]-mo.visibility[0])*mo.frames[1]);//! goToAndStop must be relative to the start of the current segment
372ro.goToAndStop(vo-ro.firstFrame-1,!0)}mo.type==="loop"&&(co===null||co!==mo.frames||ro.isPaused)&&(ro.playSegments(mo.frames,!0),co=mo.frames),mo.type==="play"&&ro.isPaused&&(ro.resetSegments(!0),ro.play()),mo.type==="stop"&&ro.goToAndStop(mo.frames[0]-ro.firstFrame-1,!0)}};return document.addEventListener("scroll",uo),function(){document.removeEventListener("scroll",uo)}},so=function(){var co=function(mo,vo){var Co=mo,bo=vo;if(Co!==-1&&bo!==-1){var wo=getContainerCursorPosition(oo,Co,bo);Co=wo.x,bo=wo.y}var yo=io.find(function(So){var To=So.position;return To&&Array.isArray(To.x)&&Array.isArray(To.y)?Co>=To.x[0]&&Co<=To.x[1]&&bo>=To.y[0]&&bo<=To.y[1]:To&&!Number.isNaN(To.x)&&!Number.isNaN(To.y)?Co===To.x&&bo===To.y:!1});if(yo){if(yo.type==="seek"&&yo.position&&Array.isArray(yo.position.x)&&Array.isArray(yo.position.y)&&yo.frames.length===2){var Eo=(Co-yo.position.x[0])/(yo.position.x[1]-yo.position.x[0]),xo=(bo-yo.position.y[0])/(yo.position.y[1]-yo.position.y[0]);ro.playSegments(yo.frames,!0),ro.goToAndStop(Math.ceil((Eo+xo)/2*(yo.frames[1]-yo.frames[0])),!0)}yo.type==="loop"&&ro.playSegments(yo.frames,!0),yo.type==="play"&&(ro.isPaused&&ro.resetSegments(!1),ro.playSegments(yo.frames)),yo.type==="stop"&&ro.goToAndStop(yo.frames[0],!0)}},uo=function(mo){co(mo.clientX,mo.clientY)},fo=function(){co(-1,-1)};return oo.addEventListener("mousemove",uo),oo.addEventListener("mouseout",fo),function(){oo.removeEventListener("mousemove",uo),oo.removeEventListener("mouseout",fo)}};switch(no){case"scroll":return ao();case"cursor":return so()}}},[no,ro])}
372,useLottieInteractivity=function Yi(eo){var to=eo.actions,ro=eo.mode,no=eo.lottieObj,io=no.animationItem,oo=no.View,ao=no.animationContainerRef;return useInitInteractivity({actions:to,animationItem:io,mode:ro,wrapperRef:ao}),oo},_excluded$n=["style","interactivity"],Lottie=function Yi(eo){var to,ro,no,io=eo.style,oo=eo.interactivity,ao=_objectWithoutProperties$k(eo,_excluded$n),so=useLottie(ao,io),lo=so.View,co=so.play,uo=so.stop,fo=so.pause,ho=so.setSpeed,mo=so.goToAndStop,vo=so.goToAndPlay,Co=so.setDirection,bo=so.playSegments,wo=so.setSubframe,yo=so.getDuration,Eo=so.destroy,xo=so.animationContainerRef,So=so.animationLoaded,To=so.animationItem;return reactExports.useEffect(function(){eo.lottieRef&&(eo.lottieRef.current={play:co,stop:uo,pause:fo,setSpeed:ho,goToAndPlay:vo,goToAndStop:mo,setDirection:Co,playSegments:bo,setSubframe:wo,getDuration:yo,destroy:Eo,animationContainerRef:xo,animationLoaded:So,animationItem:To})},[(to=eo.lottieRef)===null||to===void 0?void 0:to.current]),useLottieInteractivity({lottieObj:{View:lo,play:co,stop:uo,pause:fo,setSpeed:ho,goToAndStop:mo,goToAndPlay:vo,setDirection:Co,playSegments:bo,setSubframe:wo,getDuration:yo,destroy:Eo,animationContainerRef:xo,animationLoaded:So,animationItem:To},actions:(ro=oo==null?void 0:oo.actions)!==null&&ro!==void 0?ro:[],mode:(no=oo==null?void 0:oo.mode)!==null&&no!==void 0?no:"scroll"})};function e$3(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter((function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable}))),to.push.apply(to,ro)}return to}function t$2(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?e$3(Object(to),!0).forEach((function(ro){o(Yi,ro,to[ro])})):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):e$3(Object(to)).forEach((function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))}))}return Yi}function n$1(Yi){return n$1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},n$1(Yi)}function i$6(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function r$1(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,ro.key,ro)}}function s$3(Yi,eo,to){return eo&&r$1(Yi.prototype,eo),to&&r$1(Yi,to),Object.defineProperty(Yi,"prototype",{writable:!1}),Yi}function o(Yi,eo,to){return eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function a$3(Yi,eo){if(Yi==null)return{};var to,ro,no=(function(oo,ao){if(oo==null)return{};var so,lo,co={},uo=Object.keys(oo);for(lo=0;lo<uo.length;lo++)so=uo[lo],ao.indexOf(so)>=0||(co[so]=oo[so]);return co})(Yi,eo);if(Object.getOwnPropertySymbols){var io=Object.getOwnPropertySymbols(Yi);for(ro=0;ro<io.length;ro++)to=io[ro],eo.indexOf(to)>=0||Object.prototype.propertyIsEnumerable.call(Yi,to)&&(no[to]=Yi[to])}return no}function u$1(Yi,eo){return(function(to){if(Array.isArray(to))return to})(Yi)||(function(to,ro){var no=to==null?null:typeof Symbol<"u"&&to[Symbol.iterator]||to["@@iterator"];if(no!=null){var io,oo,ao=[],so=!0,lo=!1;try{for(no=no.call(to);!(so=(io=no.next()).done)&&(ao.push(io.value),!ro||ao.length!==ro);so=!0);}catch(co){lo=!0,oo=co}finally{try{so||no.return==null||no.return()}finally{if(lo)throw oo}}return ao}})(Yi,eo)||c$3(Yi,eo)||(function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
373In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function l(Yi){return(function(eo){if(Array.isArray(eo))return d$1(eo)})(Yi)||(function(eo){if(typeof Symbol<"u"&&eo[Symbol.iterator]!=null||eo["@@iterator"]!=null)return Array.from(eo)})(Yi)||c$3(Yi)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
374In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function c$3(Yi,eo){if(Yi){if(typeof Yi=="string")return d$1(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);return to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set"?Array.from(Yi):to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to)?d$1(Yi,eo):void 0}}function d$1(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}function h$1(Yi,eo){var to=typeof Symbol<"u"&&Yi[Symbol.iterator]||Yi["@@iterator"];if(!to){if(Array.isArray(Yi)||(to=c$3(Yi))||eo){to&&(Yi=to);var ro=0,no=function(){};return{s:no,n:function(){return ro>=Yi.length?{done:!0}:{done:!1,value:Yi[ro++]}},e:function(so){throw so},f:no}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
375In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var io,oo=!0,ao=!1;return{s:function(){to=to.call(Yi)},n:function(){var so=to.next();return oo=so.done,so},e:function(so){ao=!0,io=so},f:function(){try{oo||to.return==null||to.return()}finally{if(ao)throw io}}}}var f$1={DEBUG:!1,LIB_VERSION:"1.155.4"},v=Array.isArray,p=Object.prototype,g=p.hasOwnProperty,_$1=p.toString,m$1=v||function(Yi){return _$1.call(Yi)==="[object Array]"},y$2=function(Yi){return typeof Yi=="function"},b=function(Yi){return Yi===Object(Yi)&&!m$1(Yi)},k$2=function(Yi){if(b(Yi)){for(var eo in Yi)if(g.call(Yi,eo))return!1;return!0}return!1},w=function(Yi){return Yi===void 0},S$1=function(Yi){return _$1.call(Yi)=="[object String]"},E$1=function(Yi){return S$1(Yi)&&Yi.trim().length===0},I=function(Yi){return Yi===null},R$1=function(Yi){return w(Yi)||I(Yi)},F$1=function(Yi){return _$1.call(Yi)=="[object Number]"},x$2=function(Yi){return _$1.call(Yi)==="[object Boolean]"},P$2=function(Yi){return Yi instanceof FormData},T$2=typeof window<"u"?window:void 0,C=typeof globalThis<"u"?globalThis:T$2,$$1=Array.prototype,O$1=$$1.forEac
375h,M=$$1.indexOf,A$1=C==null?void 0:C.navigator,D=C==null?void 0:C.document,L$1=C==null?void 0:C.location,q$1=C==null?void 0:C.fetch,N=C!=null&&C.XMLHttpRequest&&"withCredentials"in new C.XMLHttpRequest?C.XMLHttpRequest:void 0,B$1=C==null?void 0:C.AbortController,H$1=A$1==null?void 0:A$1.userAgent,U$2=T$2??{},j="[PostHog.js]",G={_log:function(Yi){if(T$2&&(f$1.DEBUG||U$2.POSTHOG_DEBUG)&&!w(T$2.console)&&T$2.console){for(var eo=("__rrweb_original__"in T$2.console[Yi])?T$2.console[Yi].__rrweb_original__:T$2.console[Yi],to=arguments.length,ro=new Array(to>1?to-1:0),no=1;no<to;no++)ro[no-1]=arguments[no];eo.apply(void 0,[j].concat(ro))}},info:function(){for(var Yi=arguments.length,eo=new Array(Yi),to=0;to<Yi;to++)eo[to]=arguments[to];G._log.apply(G,["log"].concat(eo))},warn:function(){for(var Yi=arguments.length,eo=new Array(Yi),to=0;to<Yi;to++)eo[to]=arguments[to];G._log.apply(G,["warn"].concat(eo))},error:function(){for(var Yi=arguments.length,eo=new Array(Yi),to=0;to<Yi;to++)eo[to]=arguments[to];G._log.apply(G,["error"].concat(eo))},critical:function(){for(var Yi,eo=arguments.length,to=new Array(eo),ro=0;ro<eo;ro++)to[ro]=arguments[ro];(Yi=console).error.apply(Yi,[j].concat(to))},uninitializedWarning:function(Yi){G.error("You must initialize PostHog before calling ".concat(Yi))}},W$1={},V$1=function(Yi){return Yi.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};function z$1(Yi,eo,to){if(m$1(Yi)){if(O$1&&Yi.forEach===O$1)Yi.forEach(eo,to);else if("length"in Yi&&Yi.length===+Yi.length){for(var ro=0,no=Yi.length;ro<no;ro++)if(ro in Yi&&eo.call(to,Yi[ro],ro)===W$1)return}}}function Q(Yi,eo,to){if(!R$1(Yi)){if(m$1(Yi))return z$1(Yi,eo,to);if(P$2(Yi)){var ro,no=h$1(Yi.entries());try{for(no.s();!(ro=no.n()).done;){var io=ro.value;if(eo.call(to,io[1],io[0])===W$1)return}}catch(ao){no.e(ao)}finally{no.f()}}else for(var oo in Yi)if(g.call(Yi,oo)&&eo.call(to,Yi[oo],oo)===W$1)return}}var J=function(Yi){for(var eo=arguments.length,to=new Array(eo>1?eo-1:0),ro=1;ro<eo;ro++)to[ro-1]=arguments[ro];return z$1(to,(function(no){for(var io in no)no[io]!==void 0&&(Yi[io]=no[io])})),Yi};function Y$1(Yi,eo){return Yi.indexOf(eo)!==-1}function X(Yi){for(var eo=Object.keys(Yi),to=eo.length,ro=new Array(to);to--;)ro[to]=[eo[to],Yi[eo[to]]];return ro}var K$1=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},Z$1=function(Yi){try{return Yi()}catch{return}},ee$1=function(Yi){return function(){try{for(var eo=arguments.length,to=new Array(eo),ro=0;ro<eo;ro++)to[ro]=arguments[ro];return Yi.apply(this,to)}catch(no){G.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),G.critical(no)}}},te=function(Yi){var eo={};return Q(Yi,(function(to,ro){S$1(to)&&to.length>0&&(eo[ro]=to)})),eo},ne=function(Yi){return Yi.replace(/^\$/,"")};function ie(Yi,eo){return to=Yi,ro=function(io){return S$1(io)&&!I(eo)?io.slice(0,eo):io},no=new Set,(function io(oo,ao){return oo!==Object(oo)?ro?ro(oo,ao):oo:no.has(oo)?void 0:(no.add(oo),m$1(oo)?(so=[],z$1(oo,(function(lo){so.push(io(lo))}))):(so={},Q(oo,(function(lo,co){no.has(lo)||(so[co]=io(lo,co))}))),so);var so})(to);var to,ro,no}var re$1,se=function(Yi){var eo,to,ro,no,io="";for(eo=to=0,ro=(Yi=(Yi+"").replace(/\r\n/g,`
376`).replace(/\r/g,`
377`)).length,no=0;no<ro;no++){var oo=Yi.charCodeAt(no),ao=null;oo<128?to++:ao=oo>127&&oo<2048?String.fromCharCode(oo>>6|192,63&oo|128):String.fromCharCode(oo>>12|224,oo>>6&63|128,63&oo|128),I(ao)||(to>eo&&(io+=Yi.substring(eo,to)),io+=ao,eo=to=no+1)}return to>eo&&(io+=Yi.substring(eo,Yi.length)),io},oe=(function(){function Yi(eo){return eo&&(eo.preventDefault=Yi.preventDefault,eo.stopPropagation=Yi.stopPropagation),eo}return Yi.preventDefault=function(){this.returnValue=!1},Yi.stopPropagation=function(){this.cancelBubble=!0},function(eo,to,ro,no,io){if(eo)if(eo.addEventListener&&!no)eo.addEventListener(to,ro,!!io);else{var oo="on"+to,ao=eo[oo];eo[oo]=(function(so,lo,co){return function(uo){if(uo=uo||Yi(T$2==null?void 0:T$2.event)){var fo,ho=!0;y$2(co)&&(fo=co(uo));var mo=lo.call(so,uo);return fo!==!1&&mo!==!1||(ho=!1),ho}}})(eo,ro,ao)}else G.error("No valid element provided to register_event")}})();function ae$1(Yi,eo){for(var to=0;to<Yi.length;to++)if(eo(Yi[to]))return Yi[to]}(function(Yi){Yi.GZipJS="gzip-js",Yi.Base64="base64"})(re$1||(re$1={}));
377var le$1="$people_distinct_id",ce="__alias",de="__timers",he="$autocapture_disabled_server_side",fe="$heatmaps_enabled_server_side",ve="$exception_capture_enabled_server_side",pe="$exception_capture_endpoint",ge="$web_vitals_enabled_server_side",_e="$session_recording_enabled_server_side",me="$console_log_recording_enabled_server_side",ye="$session_recording_network_payload_capture",be="$session_recording_canvas_recording",ke="$replay_sample_rate",we="$replay_minimum_duration",Se="$sesid",Ee="$session_is_sampled",Ie="$enabled_feature_flags",Re="$early_access_features",Fe="$stored_person_properties",xe="$stored_group_properties",Pe="$surveys",Te="$surveys_activated",Ce="$flag_call_reported",$e="$user_state",Oe="$client_session_props",Me="$capture_rate_limit",Ae="$initial_campaign_params",De="$initial_referrer_info",Le="$initial_person_info",qe$1="$epp",Ne="__POSTHOG_TOOLBAR__",Be=[le$1,ce,"__cmpns",de,_e,fe,Se,Ie,$e,Re,xe,Fe,Pe,Ce,Oe,Me,Ae,De,qe$1],He="$active_feature_flags",Ue="$override_feature_flags",je="$feature_flag_payloads",Ge=function(Yi){var eo,to={},ro=h$1(X(Yi||{}));try{for(ro.s();!(eo=ro.n()).done;){var no=u$1(eo.value,2),io=no[0],oo=no[1];oo&&(to[io]=oo)}}catch(ao){ro.e(ao)}finally{ro.f()}return to},We=(function(){function Yi(eo){i$6(this,Yi),this.instance=eo,this._override_warning=!1,this.featureFlagEventHandlers=[],this.reloadFeatureFlagsQueued=!1,this.reloadFeatureFlagsInAction=!1}return s$3(Yi,[{key:"getFlags",value:function(){return Object.keys(this.getFlagVariants())}},{key:"getFlagVariants",value:function(){var eo=this.instance.get_property(Ie),to=this.instance.get_property(Ue);if(!to)return eo||{};for(var ro=J({},eo),no=Object.keys(to),io=0;io<no.length;io++)ro[no[io]]=to[no[io]];return this._override_warning||(G.warn(" Overriding feature flags!",{enabledFlags:eo,overriddenFlags:to,finalFlags:ro}),this._override_warning=!0),ro}},{key:"getFlagPayloads",value:function(){return this.instance.get_property(je)||{}}},{key:"reloadFeatureFlags",value:function(){this.reloadFeatureFlagsQueued||(this.reloadFeatureFlagsQueued=!0,this._startReloadTimer())}},{key:"setAnonymousDistinctId",value:function(eo){this.$anon_distinct_id=eo}},{key:"setReloadingPaused",value:function(eo){this.reloadFeatureFlagsInAction=eo}},{key:"resetRequestQueue",value:function(){this.reloadFeatureFlagsQueued=!1}},{key:"_startReloadTimer",value:function(){var eo=this;this.reloadFeatureFlagsQueued&&!this.reloadFeatureFlagsInAction&&setTimeout((function(){!eo.reloadFeatureFlagsInAction&&eo.reloadFeatureFlagsQueued&&(eo.reloadFeatureFlagsQueued=!1,eo._reloadFeatureFlagsRequest())}),5)}},{key:"_reloadFeatureFlagsRequest",value:function(){var eo=this;if(!this.instance.config.advanced_disable_feature_flags){this.setReloadingPaused(!0);var to=this.instance.config.token,ro=this.instance.get_property(Fe),no=this.instance.get_property(xe),io={token:to,distinct_id:this.instance.get_distinct_id(),groups:this.instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:ro,group_properties:no,disable_flags:this.instance.config.advanced_disable_feature_flags||void 0};this.instance._send_request({method:"POST",url:this.instance.requestRouter.endpointFor("api","/decide/?v=3"),data:io,compression:this.instance.config.disable_compression?void 0:re$1.Base64,timeout:this.instance.config.feature_flag_request_timeout_ms,callback:function(oo){var ao;eo.setReloadingPaused(!1);var so=!0;oo.statusCode===200&&(eo.$anon_distinct_id=void 0,so=!1),eo.receivedFeatureFlags((ao=oo.json)!==null&&ao!==void 0?ao:{},so),eo._startReloadTimer()}})}}},{key:"getFeatureFlag",value:function(eo){var to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.instance.decideEndpointWasHit||this.getFlags()&&this.getFlags().length>0){var ro,no=this.getFlagVariants()[eo],io="".concat(no),oo=this.instance.get_property(Ce)||{};return(to.send_event||!("send_event"in to))&&(!(eo in oo)||!oo[eo].includes(io))&&(m$1(oo[eo])?oo[eo].push(io):oo[eo]=[io],(ro=this.instance.persistence)===null||ro===void 0||ro.register(o({},Ce,oo)),this.instance.capture("$feature_flag_called",{$feature_flag:eo,$feature_flag_response:no})),no}G.warn('getFeatureFlag for key "'+eo+`" failed. Feature flags didn't load in time.`)}},{key:"getFeatureFlagPayload",value:function(eo){return this.getFlagPayloads()[eo]}},{key:"isFeatureEnabled",value:function(eo){var to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.instance.decideEndpointWasHit||this.getFlags()&&this.getFlags().length>0)return!!this.getFeatureFlag(eo,to);G.warn('isFeatureEnabled for key "'+eo+`" failed. Feature flags didn't load in time.`)}},{key:"addFeatureFlagsHandler",value:function(eo){this.featureFlagEventHandlers.push(eo)}},{key:"removeFeatureFlagsHandler",value:function(eo){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter((function(to){return to!==eo}))}},{key:"receivedFeatureFlags",value:function(eo,to){if(this.instance.persistence){this.instance.decideEndpointWasHit=!0;var ro=this.getFlagVariants(),no=this.getFlagPayloads();(function(io,oo){var ao,so=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},lo=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},co=io.featureFlags,uo=io.featureFlagPayloads;if(co)if(m$1(co)){var fo,ho={};if(co)for(var mo=0;mo<co.length;mo++)ho[co[mo]]=!0;oo&&oo.register((o(fo={},He,co),o(fo,Ie,ho),fo))}else{var vo=co,Co=uo;io.errorsWhileComputingFlags&&(vo=t$2(t$2({},so),vo),Co=t$2(t$2({},lo),Co)),oo&&oo.register((o(ao={},He,Object.keys(Ge(vo))),o(ao,Ie,vo||{}),o(ao,je,Co||{}),ao))}})(eo,this.instance.persistence,ro,no),this._fireFeatureFlagsCallbacks(to)}}},{key:"override",value:function(eo){var to=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(!this.instance.__loaded||!this.instance.persistence)return G.uninitializedWarning("posthog.feature_flags.override");if(this._override_warning=to,eo===!1)this.instance.persistence.unregister(Ue);else if(m$1(eo)){for(var ro={},no=0;no<eo.length;no++)ro[eo[no]]=!0;this.instance.persistence.register(o({},Ue,ro))}else this.instance.persistence.register(o({},Ue,eo))}},{key:"onFeatureFlags",value:function(eo){var to=this;if(this.addFeatureFlagsHandler(eo),this.instance.decideEndpointWasHit){var ro=this._prepareFeatureFlagsForCallbacks(),no=ro.flags,io=ro.flagVariants;eo(no,io)}return function(){return to.removeFeatureFlagsHandler(eo)}}},{key:"updateEarlyAccessFeatureEnrollment",value:function(eo,to){var ro,no,io=o({},"$feature_enrollment/".concat(eo),to);this.instance.capture("$feature_enrollment_update",{$feature_flag:eo,$feature_enrollment:to,$set:io}),this.setPersonPropertiesForFlags(io,!1);var oo=t$2(t$2({},this.getFlagVariants()),{},o({},eo,to));(ro=this.instance.persistence)===null||ro===void 0||ro.register((o(no={},He,Object.keys(Ge(oo))),o(no,Ie,oo),no)),this._fireFeatureFlagsCallbacks()}},{key:"getEarlyAccessFeatures",value:function(eo){var to=this,ro=arguments.length>1&&arguments[1]!==void 0&&arguments[1],no=this.instance.get_property(Re);if(no&&!ro)return eo(no);this.instance._send_request({transport:"XHR",url:this.instance.requestRouter.endpointFor("api","/api/early_access_features/?token=".concat(this.instance.config.token)),method:"GET",callback:function(io){var oo;if(io.json){var ao=io.json.earlyAccessFeatures;return(oo=to.instance.persistence)===null||oo===void 0||oo.register(o({},Re,ao)),eo(ao)}}})}},{key:"_prepareFeatureFlagsForCallbacks",value:function(){var eo=this.getFlags(),to=this.getFlagVariants();return{flags:eo.filter((function(ro){return to[ro]})),flagVariants:Object.keys(to).filter((function(ro){return to[ro]})).reduce((function(ro,no){return ro[no]=to[no],ro}),{})}}},{key:"_fireFeatureFlagsCallbacks",value:function(eo){var to=this._prepareFeatureFlagsForCallbacks(),ro=to.flags,no=to.flagVariants;
377this.featureFlagEventHandlers.forEach((function(io){return io(ro,no,{errorsLoading:eo})}))}},{key:"setPersonPropertiesForFlags",value:function(eo){var to=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],ro=this.instance.get_property(Fe)||{};this.instance.register(o({},Fe,t$2(t$2({},ro),eo))),to&&this.instance.reloadFeatureFlags()}},{key:"resetPersonPropertiesForFlags",value:function(){this.instance.unregister(Fe)}},{key:"setGroupPropertiesForFlags",value:function(eo){var to=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],ro=this.instance.get_property(xe)||{};Object.keys(ro).length!==0&&Object.keys(ro).forEach((function(no){ro[no]=t$2(t$2({},ro[no]),eo[no]),delete eo[no]})),this.instance.register(o({},xe,t$2(t$2({},ro),eo))),to&&this.instance.reloadFeatureFlags()}},{key:"resetGroupPropertiesForFlags",value:function(eo){if(eo){var to=this.instance.get_property(xe)||{};this.instance.register(o({},xe,t$2(t$2({},to),{},o({},eo,{}))))}else this.instance.unregister(xe)}}]),Yi})();Math.trunc||(Math.trunc=function(Yi){return Yi<0?Math.ceil(Yi):Math.floor(Yi)}),Number.isInteger||(Number.isInteger=function(Yi){return F$1(Yi)&&isFinite(Yi)&&Math.floor(Yi)===Yi});var Ve="0123456789abcdef",ze=(function(){function Yi(eo){if(i$6(this,Yi),this.bytes=eo,eo.length!==16)throw new TypeError("not 128-bit length")}return s$3(Yi,[{key:"toString",value:function(){for(var eo="",to=0;to<this.bytes.length;to++)eo=eo+Ve.charAt(this.bytes[to]>>>4)+Ve.charAt(15&this.bytes[to]),to!==3&&to!==5&&to!==7&&to!==9||(eo+="-");if(eo.length!==36)throw new Error("Invalid UUIDv7 was generated");return eo}},{key:"clone",value:function(){return new Yi(this.bytes.slice(0))}},{key:"equals",value:function(eo){return this.compareTo(eo)===0}},{key:"compareTo",value:function(eo){for(var to=0;to<16;to++){var ro=this.bytes[to]-eo.bytes[to];if(ro!==0)return Math.sign(ro)}return 0}}],[{key:"fromFieldsV7",value:function(eo,to,ro,no){if(!Number.isInteger(eo)||!Number.isInteger(to)||!Number.isInteger(ro)||!Number.isInteger(no)||eo<0||to<0||ro<0||no<0||eo>0xffffffffffff||to>4095||ro>1073741823||no>4294967295)throw new RangeError("invalid field value");var io=new Uint8Array(16);return io[0]=eo/Math.pow(2,40),io[1]=eo/Math.pow(2,32),io[2]=eo/Math.pow(2,24),io[3]=eo/Math.pow(2,16),io[4]=eo/Math.pow(2,8),io[5]=eo,io[6]=112|to>>>8,io[7]=to,io[8]=128|ro>>>24,io[9]=ro>>>16,io[10]=ro>>>8,io[11]=ro,io[12]=no>>>24,io[13]=no>>>16,io[14]=no>>>8,io[15]=no,new Yi(io)}}]),Yi})(),Qe=(function(){function Yi(){i$6(this,Yi),o(this,"timestamp",0),o(this,"counter",0),o(this,"random",new Xe)}return s$3(Yi,[{key:"generate",value:function(){var eo=this.generateOrAbort();if(w(eo)){this.timestamp=0;var to=this.generateOrAbort();if(w(to))throw new Error("Could not generate UUID after timestamp reset");return to}return eo}},{key:"generateOrAbort",value:function(){var eo=Date.now();if(eo>this.timestamp)this.timestamp=eo,this.resetCounter();else{if(!(eo+1e4>this.timestamp))return;this.counter++,this.counter>4398046511103&&(this.timestamp++,this.resetCounter())}return ze.fromFieldsV7(this.timestamp,Math.trunc(this.counter/Math.pow(2,30)),this.counter&Math.pow(2,30)-1,this.random.nextUint32())}},{key:"resetCounter",value:function(){this.counter=1024*this.random.nextUint32()+(1023&this.random.nextUint32())}}]),Yi})(),Je=function(Yi){if(typeof UUIDV7_DENY_WEAK_RNG<"u"&&UUIDV7_DENY_WEAK_RNG)throw new Error("no cryptographically strong RNG available");for(var eo=0;eo<Yi.length;eo++)Yi[eo]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return Yi};T$2&&!w(T$2.crypto)&&crypto.getRandomValues&&(Je=function(Yi){return crypto.getRandomValues(Yi)});var Ye,Xe=(function(){function Yi(){i$6(this,Yi),o(this,"buffer",new Uint32Array(8)),o(this,"cursor",1/0)}return s$3(Yi,[{key:"nextUint32",value:function(){return this.cursor>=this.buffer.length&&(Je(this.buffer),this.cursor=0),this.buffer[this.cursor++]}}]),Yi})(),Ke=function(){return Ze().toString()},Ze=function(){return(Ye||(Ye=new Qe)).generate()},et="Thu, 01 Jan 1970 00:00:00 GMT",tt="",nt=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i;function it(Yi,eo){if(eo){var to=(function(no){var io=arguments.length>1&&arguments[1]!==void 0?arguments[1]:D;if(tt)return tt;if(!io||["localhost","127.0.0.1"].includes(no))return"";for(var oo=no.split("."),ao=Math.min(oo.length,8),so="dmn_chk_"+Ke(),lo=new RegExp("(^|;)\\s*"+so+"=1");!tt&&ao--;){var co=oo.slice(ao).join("."),uo=so+"=1;domain=."+co;io.cookie=uo,lo.test(io.cookie)&&(io.cookie=uo+";expires="+et,tt=co)}return tt})(Yi);if(!to){var ro=(function(no){var io=no.match(nt);return io?io[0]:""})(Yi);ro!==to&&G.info("Warning: cookie subdomain discovery mismatch",ro,to),to=ro}return to?"; domain=."+to:""}return""}var rt,st={is_supported:function(){return!!D},error:function(Yi){G.error("cookieStore error: "+Yi)}
vendor: 6,113 bytes, line 377
377,get:function(Yi){if(D){try{for(var eo=Yi+"=",to=D.cookie.split(";").filter((function(io){return io.length})),ro=0;ro<to.length;ro++){for(var no=to[ro];no.charAt(0)==" ";)no=no.substring(1,no.length);if(no.indexOf(eo)===0)return decodeURIComponent(no.substring(eo.length,no.length))}}catch{}return null}},parse:function(Yi){var eo;try{eo=JSON.parse(st.get(Yi))||{}}catch{}return eo},set:function(Yi,eo,to,ro,no){if(D)try{var io="",oo="",ao=it(D.location.hostname,ro);if(to){var so=new Date;so.setTime(so.getTime()+24*to*60*60*1e3),io="; expires="+so.toUTCString()}no&&(oo="; secure");var lo=Yi+"="+encodeURIComponent(JSON.stringify(eo))+io+"; SameSite=Lax; path=/"+ao+oo;return lo.length>3686.4&&G.warn("cookieStore warning: large cookie, len="+lo.length),D.cookie=lo,lo}catch{return}},remove:function(Yi,eo){try{st.set(Yi,"",-1,eo)}catch{return}}},ot=null,at$1={is_supported:function(){if(!I(ot))return ot;var Yi=!0;if(w(T$2))Yi=!1;else try{var eo="__mplssupport__";at$1.set(eo,"xyz"),at$1.get(eo)!=='"xyz"'&&(Yi=!1),at$1.remove(eo)}catch{Yi=!1}return Yi||G.error("localStorage unsupported; falling back to cookie store"),ot=Yi,Yi},error:function(Yi){G.error("localStorage error: "+Yi)},get:function(Yi){try{return T$2==null?void 0:T$2.localStorage.getItem(Yi)}catch(eo){at$1.error(eo)}return null},parse:function(Yi){try{return JSON.parse(at$1.get(Yi))||{}}catch{}return null},set:function(Yi,eo){try{T$2==null||T$2.localStorage.setItem(Yi,JSON.stringify(eo))}catch(to){at$1.error(to)}},remove:function(Yi){try{T$2==null||T$2.localStorage.removeItem(Yi)}catch(eo){at$1.error(eo)}}},ut=["distinct_id",Se,Ee,qe$1],lt=t$2(t$2({},at$1),{},{parse:function(Yi){try{var eo={};try{eo=st.parse(Yi)||{}}catch{}var to=J(eo,JSON.parse(at$1.get(Yi)||"{}"));return at$1.set(Yi,to),to}catch{}return null},set:function(Yi,eo,to,ro,no,io){try{at$1.set(Yi,eo,void 0,void 0,io);var oo={};ut.forEach((function(ao){eo[ao]&&(oo[ao]=eo[ao])})),Object.keys(oo).length&&st.set(Yi,oo,to,ro,no,io)}catch(ao){at$1.error(ao)}},remove:function(Yi,eo){try{T$2==null||T$2.localStorage.removeItem(Yi),st.remove(Yi,eo)}catch(to){at$1.error(to)}}}),ct={},dt={is_supported:function(){return!0},error:function(Yi){G.error("memoryStorage error: "+Yi)},get:function(Yi){return ct[Yi]||null},parse:function(Yi){return ct[Yi]||null},set:function(Yi,eo){ct[Yi]=eo},remove:function(Yi){delete ct[Yi]}},ht=null,ft={is_supported:function(){if(!I(ht))return ht;if(ht=!0,w(T$2))ht=!1;else try{var Yi="__support__";ft.set(Yi,"xyz"),ft.get(Yi)!=='"xyz"'&&(ht=!1),ft.remove(Yi)}catch{ht=!1}return ht},error:function(Yi){G.error("sessionStorage error: ",Yi)},get:function(Yi){try{return T$2==null?void 0:T$2.sessionStorage.getItem(Yi)}catch(eo){ft.error(eo)}return null},parse:function(Yi){try{return JSON.parse(ft.get(Yi))||null}catch{}return null},set:function(Yi,eo){try{T$2==null||T$2.sessionStorage.setItem(Yi,JSON.stringify(eo))}catch(to){ft.error(to)}},remove:function(Yi){try{T$2==null||T$2.sessionStorage.removeItem(Yi)}catch(eo){ft.error(eo)}}},vt=["localhost","127.0.0.1"],pt=function(Yi){var eo=D==null?void 0:D.createElement("a");return w(eo)?null:(eo.href=Yi,eo)},gt=function(Yi,eo){return!!(function(to){try{new RegExp(to)}catch{return!1}return!0})(eo)&&new RegExp(eo).test(Yi)},_t=function(Yi){var eo,to,ro=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"&",no=[];return Q(Yi,(function(io,oo){w(io)||w(oo)||oo==="undefined"||(eo=encodeURIComponent((function(ao){return ao instanceof File})(io)?io.name:io.toString()),to=encodeURIComponent(oo),no[no.length]=to+"="+eo)})),no.join(ro)},mt=function(Yi,eo){for(var to,ro=((Yi.split("#")[0]||"").split("?")[1]||"").split("&"),no=0;no<ro.length;no++){var io=ro[no].split("=");if(io[0]===eo){to=io;break}}if(!m$1(to)||to.length<2)return"";var oo=to[1];try{oo=decodeURIComponent(oo)}catch{G.error("Skipping decoding for malformed query param: "+oo)}return oo.replace(/\+/g," ")},yt=function(Yi,eo){var to=Yi.match(new RegExp(eo+"=([^&]*)"));return to?to[1]:null},bt="Mobile",kt="iOS",wt="Android",St="Tablet",Et=wt+" "+St,It="iPad",Rt="Apple",Ft=Rt+" Watch",xt="Safari",Pt="BlackBerry",Tt="Samsung",Ct=Tt+"Browser",$t=Tt+" Internet",Ot="Chrome",Mt=Ot+" OS",At=Ot+" "+kt,Dt="Internet Explorer",Lt=Dt+" "+bt,qt="Opera",Nt=qt+" Mini",Bt="Edge",Ht="Microsoft "+Bt,Ut="Firefox",jt=Ut+" "+kt,Gt="Nintendo",Wt="PlayStation",Vt="Xbox",zt=wt+" "+bt,Qt=bt+" "+xt,Jt="Windows",Yt=Jt+" Phone",Xt="Nokia",Kt="Ouya",Zt="Generic",en=Zt+" "+bt.toLowerCase(),tn=Zt+" "+St.toLowerCase(),nn="Konqueror",rn="(\\d+(\\.\\d+)?)",sn=new RegExp("Version/"+rn),on=new RegExp(Vt,"i"),an=new RegExp(Wt+" \\w+","i"),un=new RegExp(Gt+" \\w+","i"),ln$1=new RegExp(Pt+"|PlayBook|BB10","i"),cn={"NT3.51":"NT 3.11","NT4.0":"NT 4.0","5.0":"2000",5.1:"XP",5.2:"XP","6.0":"Vista",6.1:"7",6.2:"8",6.3:"8.1",6.4:"10","10.0":"10"},dn=function(Yi,eo){return eo&&Y$1(eo,Rt)||(function(to){return Y$1(to,xt)&&!Y$1(to,Ot)&&!Y$1(to,wt)})(Yi)},hn=function(Yi,eo){return eo=eo||"",Y$1(Yi," OPR/")&&Y$1(Yi,"Mini")?Nt:Y$1(Yi," OPR/")?qt:ln$1.test(Yi)?Pt:Y$1(Yi,"IE"+bt)||Y$1(Yi,"WPDesktop")?Lt:Y$1(Yi,Ct)?$t:Y$1(Yi,Bt)||Y$1(Yi,"Edg/")?Ht:Y$1(Yi,"FBIOS")?"Facebook "+bt:Y$1(Yi,"UCWEB")||Y$1(Yi,"UCBrowser")?"UC Browser":Y$1(Yi,"CriOS")?At:Y$1(Yi,"CrMo")?Ot:Y$1(Yi,wt)&&Y$1(Yi,xt)?zt:Y$1(Yi,Ot)?Ot:Y$1(Yi,"FxiOS")?jt:Y$1(Yi.toLowerCase(),nn.toLowerCase())?nn:dn(Yi,eo)?Y$1(Yi,bt)?Qt:xt:Y$1(Yi,Ut)?Ut:Y$1(Yi,"MSIE")||Y$1(Yi,"Trident/")?Dt:Y$1(Yi,"Gecko")?Ut:""},fn=(o(rt={},Lt,[new RegExp("rv:"+rn)]),o(rt,Ht,[new RegExp(Bt+"?\\/"+rn)]),o(rt,Ot,[new RegExp("("+Ot+"|CrMo)\\/"+rn)]),o(rt,At,[new RegExp("CriOS\\/"+rn)]),o(rt,"UC Browser",[new RegExp("(UCBrowser|UCWEB)\\/"+rn)]),o(rt,xt,[sn]),o(rt,Qt,[sn]),o(rt,qt,[new RegExp("(Opera|OPR)\\/"+rn)]),o(rt,Ut,[new RegExp(Ut+"\\/"+rn)]),o(rt,jt,[new RegExp("FxiOS\\/"+rn)]),o(rt,nn,[new RegExp("Konqueror[:/]?"+rn,"i")]),o(rt,Pt,[new RegExp(Pt+" "+rn),sn]),o(rt,zt,[new RegExp("android\\s"+rn,"i")]),o(rt,$t,[new RegExp(Ct+"\\/"+rn)]),o(rt,Dt,[new RegExp("(rv:|MSIE )"+rn)]),o(rt,"Mozilla",[new RegExp("rv:"+rn)]),rt),vn=[[new RegExp(Vt+"; "+Vt+" (.*?)[);]","i"),function(Yi){return[Vt,Yi&&Yi[1]||""]}
377],[new RegExp(Gt,"i"),[Gt,""]],[new RegExp(Wt,"i"),[Wt,""]],[ln$1,[Pt,""]],[new RegExp(Jt,"i"),function(Yi,eo){if(/Phone/.test(eo)||/WPDesktop/.test(eo))return[Yt,""];if(new RegExp(bt).test(eo)&&!/IEMobile\b/.test(eo))return[Jt+" "+bt,""];var to=/Windows NT ([0-9.]+)/i.exec(eo);if(to&&to[1]){var ro=to[1],no=cn[ro]||"";return/arm/i.test(eo)&&(no="RT"),[Jt,no]}return[Jt,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,function(Yi){if(Yi&&Yi[3]){var eo=[Yi[3],Yi[4],Yi[5]||"0"];return[kt,eo.join(".")]}return[kt,""]}],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,function(Yi){var eo="";return Yi&&Yi.length>=3&&(eo=w(Yi[2])?Yi[3]:Yi[2]),["watchOS",eo]}],[new RegExp("("+wt+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+wt+")","i"),function(Yi){if(Yi&&Yi[2]){var eo=[Yi[2],Yi[3],Yi[4]||"0"];return[wt,eo.join(".")]}return[wt,""]}],[/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i,function(Yi){var eo=["Mac OS X",""];if(Yi&&Yi[1]){var to=[Yi[1],Yi[2],Yi[3]||"0"];eo[1]=to.join(".")}return eo}],[/Mac/i,["Mac OS X",""]],[/CrOS/,[Mt,""]],[/Linux|debian/i,["Linux",""]]],pn=function(Yi){return un.test(Yi)?Gt:an.test(Yi)?Wt:on.test(Yi)?Vt:new RegExp(Kt,"i").test(Yi)?Kt:new RegExp("("+Yt+"|WPDesktop)","i").test(Yi)?Yt:/iPad/.test(Yi)?It:/iPod/.test(Yi)?"iPod Touch":/iPhone/.test(Yi)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(Yi)?Ft:ln$1.test(Yi)?Pt:/(kobo)\s(ereader|touch)/i.test(Yi)?"Kobo":new RegExp(Xt,"i").test(Yi)?Xt:/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i.test(Yi)||/(kf[a-z]+)( bui|\)).+silk\//i.test(Yi)?"Kindle Fire":/(Android|ZTE)/i.test(Yi)?!new RegExp(bt).test(Yi)||/(9138B|TB782B|Nexus [97]|pixel c|HUAWEISHT|BTV|noble nook|smart ultra 6)/i.test(Yi)?/pixel[\daxl ]{1,6}/i.test(Yi)&&!/pixel c/i.test(Yi)||/(huaweimed-al00|tah-|APA|SM-G92|i980|zte|U304AA)/i.test(Yi)||/lmy47v/i.test(Yi)&&!/QTAQZ3/i.test(Yi)?wt:Et:wt:new RegExp("(pda|"+bt+")","i").test(Yi)?en:new RegExp(St,"i").test(Yi)&&!new RegExp(St+" pc","i").test(Yi)?tn:""},gn="https?://(.*)",_n=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gclid","gad_source","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","mc_cid","igshid","ttclid","rdt_cid"],mn={campaignParams:function(Yi){return D?this._campaignParamsFromUrl(D.URL,Yi):{}},_campaignParamsFromUrl:function(Yi,eo){var to=_n.concat(eo||[]),ro={};return Q(to,(function(no){var io=mt(Yi,no);io&&(ro[no]=io)})),ro},_searchEngine:function(Yi){return Yi?Yi.search(gn+"google.([^/?]*)")===0?"google":Yi.search(gn+"bing.com")===0?"bing":Yi.search(gn+"yahoo.com")===0?"yahoo":Yi.search(gn+"duckduckgo.com")===0?"duckduckgo":null:null},_searchInfoFromReferrer:function(Yi){var eo=mn._searchEngine(Yi),to=eo!="yahoo"?"q":"p",ro={};if(!I(eo)){ro.$search_engine=eo;var no=D?mt(D.referrer,to):"";no.length&&(ro.ph_keyword=no)}return ro},searchInfo:function(){var Yi=D==null?void 0:D.referrer;return Yi?this._searchInfoFromReferrer(Yi):{}},browser:hn,browserVersion:function(Yi,eo){var to=hn(Yi,eo),ro=fn[to];if(w(ro))return null;for(var no=0;no<ro.length;no++){var io=ro[no],oo=Yi.match(io);if(oo)return parseFloat(oo[oo.length-2])}return null},browserLanguage:function(){return navigator.language||navigator.userLanguage},os:function(Yi){for(var eo=0;eo<vn.length;eo++){var to=u$1(vn[eo],2),ro=to[0],no=to[1],io=ro.exec(Yi),oo=io&&(y$2(no)?no(io,Yi):no);if(oo)return oo}return["",""]},device:pn,deviceType:function(Yi){var eo=pn(Yi);return eo===It||eo===Et||eo==="Kobo"||eo==="Kindle Fire"||eo===tn?St:eo===Gt||eo===Vt||eo===Wt||eo===Kt?"Console":eo===Ft?"Wearable":eo?bt:"Desktop"},referrer:function(){return(D==null?void 0:D.referrer)||"$direct"},referringDomain:function(){var Yi;return D!=null&&D.referrer&&((Yi=pt(D.referrer))===null||Yi===void 0?void 0:Yi.host)||"$direct"},referrerInfo:function(){return{$referrer:this.referrer(),$referring_domain:this.referringDomain()}},initialPersonInfo:function(){return{r:this.referrer(),u:L$1==null?void 0:L$1.href}},initialPersonPropsFromInfo:function(Yi){var eo,to=Yi.r,ro=Yi.u,no={$initial_referrer:to,$initial_referring_domain:to==null?void 0:to=="$direct"?"$direct":(eo=pt(to))===null||eo===void 0?void 0:eo.host};
377if(ro){no.$initial_current_url=ro;var io=pt(ro);no.$initial_host=io==null?void 0:io.host,no.$initial_pathname=io==null?void 0:io.pathname,Q(this._campaignParamsFromUrl(ro),(function(oo,ao){no["$initial_"+ne(ao)]=oo}))}return to&&Q(this._searchInfoFromReferrer(to),(function(oo,ao){no["$initial_"+ne(ao)]=oo})),no},properties:function(){if(!H$1)return{};var Yi=u$1(mn.os(H$1),2),eo=Yi[0],to=Yi[1];return J(te({$os:eo,$os_version:to,$browser:mn.browser(H$1,navigator.vendor),$device:mn.device(H$1),$device_type:mn.deviceType(H$1)}),{$current_url:L$1==null?void 0:L$1.href,$host:L$1==null?void 0:L$1.host,$pathname:L$1==null?void 0:L$1.pathname,$raw_user_agent:H$1.length>1e3?H$1.substring(0,997)+"...":H$1,$browser_version:mn.browserVersion(H$1,navigator.vendor),$browser_language:mn.browserLanguage(),$screen_height:T$2==null?void 0:T$2.screen.height,$screen_width:T$2==null?void 0:T$2.screen.width,$viewport_height:T$2==null?void 0:T$2.innerHeight,$viewport_width:T$2==null?void 0:T$2.innerWidth,$lib:"web",$lib_version:f$1.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:K$1()/1e3})},people_properties:function(){if(!H$1)return{};var Yi=u$1(mn.os(H$1),2),eo=Yi[0],to=Yi[1];return J(te({$os:eo,$os_version:to,$browser:mn.browser(H$1,navigator.vendor)}),{$browser_version:mn.browserVersion(H$1,navigator.vendor)})}},yn=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"],bn=(function(){function Yi(eo){i$6(this,Yi),this.config=eo,this.props={},this.campaign_params_saved=!1,this.name=(function(to){var ro="";return to.token&&(ro=to.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),to.persistence_name?"ph_"+to.persistence_name:"ph_"+ro+"_posthog"})(eo),this.storage=this.buildStorage(eo),this.load(),eo.debug&&G.info("Persistence loaded",eo.persistence,t$2({},this.props)),this.update_config(eo,eo),this.save()}return s$3(Yi,[{key:"buildStorage",value:function(eo){yn.indexOf(eo.persistence.toLowerCase())===-1&&(G.critical("Unknown persistence type "+eo.persistence+"; falling back to localStorage+cookie"),eo.persistence="localStorage+cookie");var to=eo.persistence.toLowerCase();return to==="localstorage"&&at$1.is_supported()?at$1:to==="localstorage+cookie"&&lt.is_supported()?lt:to==="sessionstorage"&&ft.is_supported()?ft:to==="memory"?dt:to==="cookie"?st:lt.is_supported()?lt:st}},{key:"properties",value:function(){var eo={};return Q(this.props,(function(to,ro){if(ro===Ie&&b(to))for(var no=Object.keys(to),io=0;io<no.length;io++)eo["$feature/".concat(no[io])]=to[no[io]];else ao=ro,so=!1,(I(oo=Be)?so:M&&oo.indexOf===M?oo.indexOf(ao)!=-1:(Q(oo,(function(lo){if(so||(so=lo===ao))return W$1})),so))||(eo[ro]=to);var oo,ao,so})),eo}},{key:"load",value:function(){if(!this.disabled){var eo=this.storage.parse(this.name);eo&&(this.props=J({},eo))}}},{key:"save",value:function(){this.disabled||this.storage.set(this.name,this.props,this.expire_days,this.cross_subdomain,this.secure,this.config.debug)}},{key:"remove",value:function(){this.storage.remove(this.name,!1),this.storage.remove(this.name,!0)}},{key:"clear",value:function(){this.remove(),this.props={}}},{key:"register_once",value:function(eo,to,ro){var no=this;if(b(eo)){w(to)&&(to="None"),this.expire_days=w(ro)?this.default_expiry:ro;var io=!1;if(Q(eo,(function(oo,ao){no.props.hasOwnProperty(ao)&&no.props[ao]!==to||(no.props[ao]=oo,io=!0)})),io)return this.save(),!0}return!1}},{key:"register",value:function(eo,to){var ro=this;if(b(eo)){this.expire_days=w(to)?this.default_expiry:to;var no=!1;if(Q(eo,(function(io,oo){eo.hasOwnProperty(oo)&&ro.props[oo]!==io&&(ro.props[oo]=io,no=!0)})),no)return this.save(),!0}return!1}},{key:"unregister",value:function(eo){eo in this.props&&(delete this.props[eo],this.save())}},{key:"update_campaign_params",value:function(){this.campaign_params_saved||(this.register(mn.campaignParams(this.config.custom_campaign_params)),this.campaign_params_saved=!0)}},{key:"update_search_keyword",value:function(){this.register(mn.searchInfo())}},{key:"update_referrer_info",value:function(){this.register_once(mn.referrerInfo(),void 0)}},{key:"set_initial_person_info",value:function(){this.props[Ae]||this.props[De]||this.register_once(o({},Le,mn.initialPersonInfo()),void 0)}},{key:"get_referrer_info",value:function(){return te({$referrer:this.props.$referrer,$referring_domain:this.props.$referring_domain})}},{key:"get_initial_props",value:function(){var eo=this,to={};Q([De,Ae],(function(io){var oo=eo.props[io];oo&&Q(oo,(function(ao,so){to["$initial_"+ne(so)]=ao}))}));var ro=this.props[Le];if(ro){var no=mn.initialPersonPropsFromInfo(ro);J(to,no)}return to}},{key:"safe_merge",value:function(eo){return Q(this.props,(function(to,ro){ro in eo||(eo[ro]=to)})),eo}},{key:"update_config",value:function(eo,to){if(this.default_expiry=this.expire_days=eo.cookie_expiration,this.set_disabled(eo.disable_persistence),this.set_cross_subdomain(eo.cross_subdomain_cookie),this.set_secure(eo.secure_cookie),eo.persistence!==to.persistence){var ro=this.buildStorage(eo),no=this.props;this.clear(),this.storage=ro,this.props=no,this.save()}}},{key:"set_disabled",value:function(eo){this.disabled=eo,this.disabled?this.remove():this.save()}},{key:"set_cross_subdomain",value:function(eo){eo!==this.cross_subdomain&&(this.cross_subdomain=eo,this.remove(),this.save())}},{key:"get_cross_subdomain",value:function(){return!!this.cross_subdomain}},{key:"set_secure",value:function(eo){eo!==this.secure&&(this.secure=eo,this.remove(),this.save())}},{key:"set_event_timer",value:function(eo,to){var ro=this.props[de]||{};ro[eo]=to,this.props[de]=ro,this.save()}},{key:"remove_event_timer",value:function(eo){var to=(this.props[de]||{})[eo];return w(to)||(delete this.props[de][eo],this.save()),to}},{key:"get_property",value:function(eo){return this.props[eo]}},{key:"set_property",value:function(eo,to){this.props[eo]=to,this.save()}}]),Yi})();function kn(Yi){return JSON.stringify(Yi,(eo=[],function(to,ro){if(b(ro)){for(;eo.length>0&&eo.at(-1)!==this;)eo.pop();return eo.includes(ro)?"[Circular]":(eo.push(ro),ro)}return ro})).length;var eo}var wn=2,Sn=4;function En(Yi){var eo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:66060288e-1;if(Yi.size>=eo&&Yi.data.length>1){var to=Math.floor(Yi.data.length/2),ro=Yi.data.slice(0,to),no=Yi.data.slice(to);return[En({size:kn(ro),data:ro,sessionId:Yi.sessionId,windowId:Yi.windowId}),En({size:kn(no),data:no,sessionId:Yi.sessionId,windowId:Yi.windowId})].flatMap((function(io){return io}))}return[Yi]}var In=(function(Yi){return Yi[Yi.DomContentLoaded=0]="DomContentLoaded",Yi[Yi.Lo
377ad=1]="Load",Yi[Yi.FullSnapshot=2]="FullSnapshot",Yi[Yi.IncrementalSnapshot=3]="IncrementalSnapshot",Yi[Yi.Meta=4]="Meta",Yi[Yi.Custom=5]="Custom",Yi[Yi.Plugin=6]="Plugin",Yi})(In||{}),Rn=(function(Yi){return Yi[Yi.Mutation=0]="Mutation",Yi[Yi.MouseMove=1]="MouseMove",Yi[Yi.MouseInteraction=2]="MouseInteraction",Yi[Yi.Scroll=3]="Scroll",Yi[Yi.ViewportResize=4]="ViewportResize",Yi[Yi.Input=5]="Input",Yi[Yi.TouchMove=6]="TouchMove",Yi[Yi.MediaInteraction=7]="MediaInteraction",Yi[Yi.StyleSheetRule=8]="StyleSheetRule",Yi[Yi.CanvasMutation=9]="CanvasMutation",Yi[Yi.Font=10]="Font",Yi[Yi.Log=11]="Log",Yi[Yi.Drag=12]="Drag",Yi[Yi.StyleDeclaration=13]="StyleDeclaration",Yi[Yi.Selection=14]="Selection",Yi[Yi.AdoptedStyleSheet=15]="AdoptedStyleSheet",Yi[Yi.CustomElement=16]="CustomElement",Yi})(Rn||{});function Fn(Yi){return Yi?V$1(Yi).split(/\s+/):[]}function xn(Yi){var eo=T$2==null?void 0:T$2.location.href;return!!(eo&&Yi&&Yi.some((function(to){return eo.match(to)})))}function Pn(Yi){var eo="";switch(n$1(Yi.className)){case"string":eo=Yi.className;break;case"object":eo=("baseVal"in Yi.className?Yi.className.baseVal:null)||Yi.getAttribute("class")||"";break;default:eo=""}return Fn(eo)}function Tn(Yi){return R$1(Yi)?null:V$1(Yi).split(/(\s+)/).filter((function(eo){return zn(eo)})).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function Cn(Yi){var eo="";return Nn(Yi)&&!Bn(Yi)&&Yi.childNodes&&Yi.childNodes.length&&Q(Yi.childNodes,(function(to){var ro;Mn(to)&&to.textContent&&(eo+=(ro=Tn(to.textContent))!==null&&ro!==void 0?ro:"")})),V$1(eo)}function $n(Yi){return!!Yi&&Yi.nodeType===1}function On(Yi,eo){return!!Yi&&!!Yi.tagName&&Yi.tagName.toLowerCase()===eo.toLowerCase()}function Mn(Yi){return!!Yi&&Yi.nodeType===3}function An(Yi){return!!Yi&&Yi.nodeType===11}var Dn=["a","button","form","input","select","textarea","label"];function Ln(Yi){var eo=Yi.parentNode;return!(!eo||!$n(eo))&&eo}function qn(Yi,eo){var to=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,ro=arguments.length>3?arguments[3]:void 0,no=arguments.length>4?arguments[4]:void 0;if(!T$2||!Yi||On(Yi,"html")||!$n(Yi)||to!=null&&to.url_allowlist&&!xn(to.url_allowlist)||to!=null&&to.url_ignorelist&&xn(to.url_ignorelist))return!1;if(to!=null&&to.dom_event_allowlist){var io=to.dom_event_allowlist;if(io&&!io.some((function(ho){return eo.type===ho})))return!1}for(var oo=!1,ao=[Yi],so=!0,lo=Yi;lo.parentNode&&!On(lo,"body");)if(An(lo.parentNode))ao.push(lo.parentNode.host),lo=lo.parentNode.host;else{if(!(so=Ln(lo)))break;if(ro||Dn.indexOf(so.tagName.toLowerCase())>-1)oo=!0;else{var co=T$2.getComputedStyle(so);co&&co.getPropertyValue("cursor")==="pointer"&&(oo=!0)}ao.push(so),lo=so}if(!(function(ho,mo){var vo=mo==null?void 0:mo.element_allowlist;if(w(vo))return!0;var Co,bo=h$1(ho);try{var wo=function(){var Eo=Co.value;if(vo.some((function(xo){return Eo.tagName.toLowerCase()===xo})))return{v:!0}};for(bo.s();!(Co=bo.n()).done;){var yo=wo();if(n$1(yo)==="object")return yo.v}}catch(Eo){bo.e(Eo)}finally{bo.f()}return!1})(ao,to)||!(function(ho,mo){var vo=mo==null?void 0:mo.css_selector_allowlist;if(w(vo))return!0;var Co,bo=h$1(ho);try{var wo=function(){var Eo=Co.value;if(vo.some((function(xo){return Eo.matches(xo)})))return{v:!0}};for(bo.s();!(Co=bo.n()).done;){var yo=wo();if(n$1(yo)==="object")return yo.v}}catch(Eo){bo.e(Eo)}finally{bo.f()}return!1})(ao,to))return!1;var uo=T$2.getComputedStyle(Yi);if(uo&&uo.getPropertyValue("cursor")==="pointer"&&eo.type==="click")return!0;var fo=Yi.tagName.toLowerCase();switch(fo){case"html":return!1;case"form":return(no||["submit"]).indexOf(eo.type)>=0;case"input":case"select":case"textarea":return(no||["change","click"]).indexOf(eo.type)>=0;default:return oo?(no||["click"]).indexOf(eo.type)>=0:(no||["click"]).indexOf(eo.type)>=0&&(Dn.indexOf(fo)>-1||Yi.getAttribute("contenteditable")==="true")}}function Nn(Yi){for(var eo=Yi;eo.parentNode&&!On(eo,"body");eo=eo.parentNode){var to=Pn(eo);if(Y$1(to,"ph-sensitive")||Y$1(to,"ph-no-capture"))return!1}if(Y$1(Pn(Yi),"ph-include"))return!0;var ro=Yi.type||"";if(S$1(ro))switch(ro.toLowerCase()){case"hidden":case"password":return!1}var no=Yi.name||Yi.id||"";return!(S$1(no)&&/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(no.replace(/[^a-zA-Z0-9]/g,"")))}function Bn(Yi){return!!(On(Yi,"input")&&!["button","checkbox","submit","reset"].includes(Yi.type)||On(Yi,"select")||On(Yi,"textarea")||Yi.getAttribute("contenteditable")==="true")}var Hn="(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11}
377)|((?:2131|1800|35[0-9]{3})[0-9]{11})",Un=new RegExp("^(?:".concat(Hn,")$")),jn=new RegExp(Hn),Gn="\\d{3}-?\\d{2}-?\\d{4}",Wn=new RegExp("^(".concat(Gn,")$")),Vn=new RegExp("(".concat(Gn,")"));function zn(Yi){var eo=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return!(R$1(Yi)||S$1(Yi)&&(Yi=V$1(Yi),(eo?Un:jn).test((Yi||"").replace(/[- ]/g,""))||(eo?Wn:Vn).test(Yi)))}function Qn(Yi){var eo=Cn(Yi);return zn(eo="".concat(eo," ").concat(Jn(Yi)).trim())?eo:""}function Jn(Yi){var eo="";return Yi&&Yi.childNodes&&Yi.childNodes.length&&Q(Yi.childNodes,(function(to){var ro;if(to&&((ro=to.tagName)===null||ro===void 0?void 0:ro.toLowerCase())==="span")try{var no=Cn(to);eo="".concat(eo," ").concat(no).trim(),to.childNodes&&to.childNodes.length&&(eo="".concat(eo," ").concat(Jn(to)).trim())}catch(io){G.error(io)}})),eo}function Yn(Yi){return(function(eo){var to=eo.map((function(ro){var no,io,oo="";if(ro.tag_name&&(oo+=ro.tag_name),ro.attr_class){ro.attr_class.sort();var ao,so=h$1(ro.attr_class);try{for(so.s();!(ao=so.n()).done;){var lo=ao.value;oo+=".".concat(lo.replace(/"/g,""))}}catch(fo){so.e(fo)}finally{so.f()}}var co=t$2(t$2(t$2(t$2({},ro.text?{text:ro.text}:{}),{},{"nth-child":(no=ro.nth_child)!==null&&no!==void 0?no:0,"nth-of-type":(io=ro.nth_of_type)!==null&&io!==void 0?io:0},ro.href?{href:ro.href}:{}),ro.attr_id?{attr_id:ro.attr_id}:{}),ro.attributes),uo={};return X(co).sort((function(fo,ho){var mo=u$1(fo,1)[0],vo=u$1(ho,1)[0];return mo.localeCompare(vo)})).forEach((function(fo){var ho=u$1(fo,2),mo=ho[0],vo=ho[1];return uo[Xn(mo.toString())]=Xn(vo.toString())})),oo+=":",oo+=X(co).map((function(fo){var ho=u$1(fo,2),mo=ho[0],vo=ho[1];return"".concat(mo,'="').concat(vo,'"')})).join("")}));return to.join(";")})((function(eo){return eo.map((function(to){var ro,no,io={text:(ro=to.$el_text)===null||ro===void 0?void 0:ro.slice(0,400),tag_name:to.tag_name,href:(no=to.attr__href)===null||no===void 0?void 0:no.slice(0,2048),attr_class:Kn(to),attr_id:to.attr__id,nth_child:to.nth_child,nth_of_type:to.nth_of_type,attributes:{}};return X(to).filter((function(oo){return u$1(oo,1)[0].indexOf("attr__")===0})).forEach((function(oo){var ao=u$1(oo,2),so=ao[0],lo=ao[1];return io.attributes[so]=lo})),io}))})(Yi))}function Xn(Yi){return Yi.replace(/"|\\"/g,'\\"')}function Kn(Yi){var eo=Yi.attr__class;return eo?m$1(eo)?eo:Fn(eo):void 0}var Zn="[SessionRecording]",ei="redacted",ti={initiatorTypes:["audio","beacon","body","css","early-hint","embed","fetch","frame","iframe","icon","image","img","input","link","navigation","object","ping","script","track","video","xmlhttprequest"],maskRequestFn:function(Yi){return Yi},recordHeaders:!1,recordBody:!1,recordInitialRequests:!1,recordPerformance:!1,performanceEntryTypeToObserve:["first-input","navigation","paint","resource"],payloadSizeLimitBytes:1e6,payloadHostDenyList:[".lr-ingest.io",".ingest.sentry.io"]},ni=["authorization","x-forwarded-for","authorization","cookie","set-cookie","x-api-key","x-real-ip","remote-addr","forwarded","proxy-authorization","x-csrf-token","x-csrftoken","x-xsrf-token"],ii=["password","secret","passwd","api_key","apikey","auth","credentials","mysql_pwd","privatekey","private_key","token"],ri=["/s/","/e/","/i/"];function si(Yi,eo,to,ro){if(R$1(Yi))return Yi;var no=(eo==null?void 0:eo["content-length"])||(function(io){return new Blob([io]).size})(Yi);return S$1(no)&&(no=parseInt(no)),no>to?Zn+" ".concat(ro," body too large to record (").concat(no," bytes)"):Yi}function oi(Yi,eo){if(R$1(Yi))return Yi;var to=Yi;return zn(to,!1)||(to=Zn+" "+eo+" body "+ei),Q(ii,(function(ro){var no,io;(no=to)!==null&&no!==void 0&&no.length&&((io=to)===null||io===void 0?void 0:io.indexOf(ro))!==-1&&(to=Zn+" "+eo+" body "+ei+" as might contain: "+ro)})),to}var ai,ui=function(Yi,eo){var to,ro,no,io={payloadSizeLimitBytes:ti.payloadSizeLimitBytes,performanceEntryTypeToObserve:l(ti.performanceEntryTypeToObserve),payloadHostDenyList:[].concat(l(eo.payloadHostDenyList||[]),l(ti.payloadHostDenyList))},oo=Yi.session_recording.recordHeaders!==!1&&eo.recordHeaders,ao=Yi.session_recording.recordBody!==!1&&eo.recordBody,so=Yi.capture_performance!==!1&&eo.recordPerformance,lo=(to=io,no=Math.min(1e6,(ro=to.payloadSizeLimitBytes)!==null&&ro!==void 0?ro:1e6),function(fo){return fo!=null&&fo.requestBody&&(fo.requestBody=si(fo.requestBody,fo.requestHeaders,no,"Request")),fo!=null&&fo.responseBody&&(fo.responseBody=si(fo.responseBody,fo.responseHeaders,no,"Response")),fo}),co=function(fo){return lo((function(vo){var Co=pt(vo.name);if(!(Co&&Co.pathname&&ri.some((function(bo){return Co.pathname.indexOf(bo)===0}))))return vo})((mo=(ho=fo).requestHeaders,R$1(mo)||Q(Object.keys(mo??{}),(function(vo){ni.includes(vo.toLowerCase())&&(mo[vo]=ei)})),ho)));var ho,mo}
377,uo=y$2(Yi.session_recording.maskNetworkRequestFn);return uo&&y$2(Yi.session_recording.maskCapturedNetworkRequestFn)&&G.warn("Both `maskNetworkRequestFn` and `maskCapturedNetworkRequestFn` are defined. `maskNetworkRequestFn` will be ignored."),uo&&(Yi.session_recording.maskCapturedNetworkRequestFn=function(fo){var ho=Yi.session_recording.maskNetworkRequestFn({url:fo.name});return t$2(t$2({},fo),{},{name:ho==null?void 0:ho.url})}),io.maskRequestFn=y$2(Yi.session_recording.maskCapturedNetworkRequestFn)?function(fo){var ho,mo,vo,Co=co(fo);return Co&&(ho=(mo=(vo=Yi.session_recording).maskCapturedNetworkRequestFn)===null||mo===void 0?void 0:mo.call(vo,Co))!==null&&ho!==void 0?ho:void 0}:function(fo){return(function(ho){if(!w(ho))return ho.requestBody=oi(ho.requestBody,"Request"),ho.responseBody=oi(ho.responseBody,"Response"),ho})(co(fo))},t$2(t$2(t$2({},ti),io),{},{recordHeaders:oo,recordBody:ao,recordPerformance:so,recordInitialRequests:so})},li=s$3((function Yi(eo){var to,ro,no=this,io=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};i$6(this,Yi),o(this,"bucketSize",100),o(this,"refillRate",10),o(this,"mutationBuckets",{}),o(this,"loggedTracker",{}),o(this,"refillBuckets",(function(){Object.keys(no.mutationBuckets).forEach((function(oo){no.mutationBuckets[oo]=no.mutationBuckets[oo]+no.refillRate,no.mutationBuckets[oo]>=no.bucketSize&&delete no.mutationBuckets[oo]}))})),o(this,"getNodeOrRelevantParent",(function(oo){var ao=no.rrweb.mirror.getNode(oo);if((ao==null?void 0:ao.nodeName)!=="svg"&&ao instanceof Element){var so=ao.closest("svg");if(so)return[no.rrweb.mirror.getId(so),so]}return[oo,ao]})),o(this,"numberOfChanges",(function(oo){var ao,so,lo,co,uo,fo,ho,mo;return((ao=(so=oo.removes)===null||so===void 0?void 0:so.length)!==null&&ao!==void 0?ao:0)+((lo=(co=oo.attributes)===null||co===void 0?void 0:co.length)!==null&&lo!==void 0?lo:0)+((uo=(fo=oo.texts)===null||fo===void 0?void 0:fo.length)!==null&&uo!==void 0?uo:0)+((ho=(mo=oo.adds)===null||mo===void 0?void 0:mo.length)!==null&&ho!==void 0?ho:0)})),o(this,"throttleMutations",(function(oo){if(oo.type!==3||oo.data.source!==0)return oo;var ao=oo.data,so=no.numberOfChanges(ao);ao.attributes&&(ao.attributes=ao.attributes.filter((function(co){var uo,fo,ho,mo=u$1(no.getNodeOrRelevantParent(co.id),2),vo=mo[0],Co=mo[1];return no.mutationBuckets[vo]===0?!1:(no.mutationBuckets[vo]=(uo=no.mutationBuckets[vo])!==null&&uo!==void 0?uo:no.bucketSize,no.mutationBuckets[vo]=Math.max(no.mutationBuckets[vo]-1,0),no.mutationBuckets[vo]===0&&(no.loggedTracker[vo]||(no.loggedTracker[vo]=!0,(fo=(ho=no.options).onBlockedNode)===null||fo===void 0||fo.call(ho,vo,Co))),co)})));var lo=no.numberOfChanges(ao);return lo!==0||so===lo?oo:void 0})),this.rrweb=eo,this.options=io,this.refillRate=(to=this.options.refillRate)!==null&&to!==void 0?to:this.refillRate,this.bucketSize=(ro=this.options.bucketSize)!==null&&ro!==void 0?ro:this.bucketSize,setInterval((function(){no.refillBuckets()}),1e3)})),ci=3e5,di=[Rn.MouseMove,Rn.MouseInteraction,Rn.Scroll,Rn.ViewportResize,Rn.Input,Rn.TouchMove,Rn.MediaInteraction,Rn.Drag],hi=function(Yi){return{rrwebMethod:Yi,enqueuedAt:Date.now(),attempt:1}},fi="[SessionRecording]",vi=(function(){function Yi(eo){var to=this;if(i$6(this,Yi),o(this,"queuedRRWebEvents",[]),o(this,"isIdle",!1),o(this,"_linkedFlagSeen",!1),o(this,"_lastActivityTimestamp",Date.now()),o(this,"_linkedFlag",null),o(this,"_forceAllowLocalhostNetworkCapture",!1),o(this,"_samplingSessionListener",null),this.instance=eo,this._captureStarted=!1,this._endpoint="/s/",this.stopRrweb=void 0,this.receivedDecide=!1,T$2==null||T$2.addEventListener("beforeunload",(function(){to._flushBuffer()})),T$2==null||T$2.addEventListener("offline",(function(){to._tryAddCustomEvent("browser offline",{})})),T$2==null||T$2.addEventListener("online",(function(){to._tryAddCustomEvent("browser online",{})})),T$2==null||T$2.addEventListener("visibilitychange",(function(){if(D!=null&&D.visibilityState){var oo="window "+D.visibilityState;to._tryAddCustomEvent(oo,{})}})),!this.instance.sessionManager)throw G.error(fi+" started without valid sessionManager"),new Error(fi+" started without valid sessionManager. This is a bug.");var ro=this.sessionManager.checkAndGetSessionAndWindowId(),no=ro.sessionId,io=ro.windowId;this.sessionId=no,this.windowId=io,this.buffer=this.clearBuffer(),this._setupSampling()}return s$3(Yi,[{key:"rrwebRecord",get:function(){var eo;return U$2==null||(eo=U$2.rrweb)===null||eo===void 0?void 0:eo.record}},{key:"started",get:function(){return this._captureStarted}},{key:"sessionManager",get:function(){if(!this.instance.sessionManager)throw new Error(fi+" must be started with a valid sessionManager.");return this.instance.sessionManager}},{key:"fullSnapshotIntervalMillis",get:function(){var eo;return((eo=this.instance.config.session_recording)===null||eo===void 0?void 0:eo.full_snapshot_interval_millis)||ci}},{key:"isSampled",get:function(){var eo=this.instance.get_property(Ee);return x$2(eo)?eo:null}},{key:"sessionDuration",get:function(){var eo,to,ro=(eo=this.buffer)===null||eo===void 0?void 0:eo.data[((to=this.buffer)===null||to===void 0?void 0:to.data.length)-1],no=this.sessionManager.checkAndGetSessionAndWindowId(!0).sessionStartTimestamp;return ro?ro.timestamp-no:null}},{key:"isRecordingEnabled",get:function(){var eo=!!this.instance.get_property(_e),to=!this.instance.config.disable_session_recording;return T$2&&eo&&to}},{key:"isConsoleLogCaptureEnabled",get:function(){var eo=!!this.instance.get_property(me),to=this.instance.config.enable_recording_console_log;return to??eo}},{key:"canvasRecording",get:function(){var eo=this.instance.get_property(be);return eo&&eo.fps&&eo.quality?{enabled:eo.enabled,fps:eo.fps,quality:eo.qual
377ity}:void 0}},{key:"networkPayloadCapture",get:function(){var eo,to,ro=this.instance.get_property(ye),no={recordHeaders:(eo=this.instance.config.session_recording)===null||eo===void 0?void 0:eo.recordHeaders,recordBody:(to=this.instance.config.session_recording)===null||to===void 0?void 0:to.recordBody},io=(no==null?void 0:no.recordHeaders)||(ro==null?void 0:ro.recordHeaders),oo=(no==null?void 0:no.recordBody)||(ro==null?void 0:ro.recordBody),ao=b(this.instance.config.capture_performance)?this.instance.config.capture_performance.network_timing:this.instance.config.capture_performance,so=!!(x$2(ao)?ao:ro!=null&&ro.capturePerformance);return io||oo||so?{recordHeaders:io,recordBody:oo,recordPerformance:so}:void 0}},{key:"sampleRate",get:function(){var eo=this.instance.get_property(ke);return F$1(eo)?eo:null}},{key:"minimumDuration",get:function(){var eo=this.instance.get_property(we);return F$1(eo)?eo:null}},{key:"status",get:function(){return this.receivedDecide?this.isRecordingEnabled?R$1(this._linkedFlag)||this._linkedFlagSeen?x$2(this.isSampled)?this.isSampled?"sampled":"disabled":"active":"buffering":"disabled":"buffering"}},{key:"startIfEnabledOrStop",value:function(){this.isRecordingEnabled?(this._startCapture(),G.info(fi+" started")):(this.stopRecording(),this.clearBuffer())}},{key:"stopRecording",value:function(){this._captureStarted&&this.stopRrweb&&(this.stopRrweb(),this.stopRrweb=void 0,this._captureStarted=!1,G.info(fi+" stopped"))}},{key:"makeSamplingDecision",value:function(eo){var to,ro=this.sessionId!==eo,no=this.sampleRate;if(F$1(no)){var io,oo=this.isSampled,ao=ro||!x$2(oo);ao?io=Math.random()<no:io=oo,!io&&ao&&G.warn(fi+" Sample rate (".concat(no,") has determined that this sessionId (").concat(eo,") will not be sent to the server.")),this._tryAddCustomEvent("samplingDecisionMade",{sampleRate:no}),(to=this.instance.persistence)===null||to===void 0||to.register(o({},Ee,io))}else{var so;(so=this.instance.persistence)===null||so===void 0||so.register(o({},Ee,null))}}},{key:"afterDecideResponse",value:function(eo){var to,ro,no,io=this;if(this._persistDecideResponse(eo),this._linkedFlag=((to=eo.sessionRecording)===null||to===void 0?void 0:to.linkedFlag)||null,(ro=eo.sessionRecording)!==null&&ro!==void 0&&ro.endpoint&&(this._endpoint=(no=eo.sessionRecording)===null||no===void 0?void 0:no.endpoint),this._setupSampling(),!R$1(this._linkedFlag)){var oo=S$1(this._linkedFlag)?this._linkedFlag:this._linkedFlag.flag,ao=S$1(this._linkedFlag)?null:this._linkedFlag.variant;this.instance.onFeatureFlags((function(so,lo){var co=b(lo)&&oo in lo,uo=ao?lo[oo]===ao:co;if(uo){var fo={linkedFlag:oo,linkedVariant:ao},ho="linked flag matched";G.info(fi+" "+ho,fo),io._tryAddCustomEvent(ho,fo)}io._linkedFlagSeen=uo}))}this.receivedDecide=!0,this.startIfEnabledOrStop()}},{key:"_setupSampling",value:function(){var eo=this;F$1(this.sampleRate)&&I(this._samplingSessionListener)&&(this._samplingSessionListener=this.sessionManager.onSessionId((function(to){eo.makeSamplingDecision(to)})))}},{key:"_persistDecideResponse",value:function(eo){if(this.instance.persistence){var to=this.instance.persistence,ro=function(){var no,io,oo,ao,so,lo,co,uo,fo=(no=eo.sessionRecording)===null||no===void 0?void 0:no.sampleRate,ho=R$1(fo)?null:parseFloat(fo),mo=(io=eo.sessionRecording)===null||io===void 0?void 0:io.minimumDurationMilliseconds;to.register((o(uo={},_e,!!eo.sessionRecording),o(uo,me,(oo=eo.sessionRecording)===null||oo===void 0?void 0:oo.consoleLogRecordingEnabled),o(uo,ye,t$2({capturePerformance:eo.capturePerformance},(ao=eo.sessionRecording)===null||ao===void 0?void 0:ao.networkPayloadCapture)),o(uo,be,{enabled:(so=eo.sessionRecording)===null||so===void 0?void 0:so.recordCanvas,fps:(lo=eo.sessionRecording)===null||lo===void 0?void 0:lo.canvasFps,quality:(co=eo.sessionRecording)===null||co===void 0?void 0:co.canvasQuality}),o(uo,ke,ho),o(uo,we,w(mo)?null:mo),uo))};ro(),this.sessionManager.onSessionId(ro)}}},{key:"log",value:function(eo){var to,ro=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"log";(to=this.instance.sessionRecording)===null||to===void 0||to.onRRwebEmit({type:6,data:{plugin:"rrweb/console@1",payload:{level:ro,trace:[],payload:[JSON.stringify(eo)]}},timestamp:K$1()})}},{key:"_startCapture",value:function(){var eo=this;w(Object.assign)||this._captureStarted||this.instance.config.disable_session_recording||this.instance.consent.isOptedOut()||(this._captureStarted=!0,this.sessionManager.checkAndGetSessionAndWindowId(),this.rrwebRecord?this._onScriptLoaded():this.instance.requestRouter.loadScript("/static/recorder.js?v=".concat(f$1.LIB_VERSION),(function(to){if(to)return G.error(fi+" could not load recorder.js",to);eo._onScriptLoaded()})))}},{key:"isInteractiveEvent",value:function(eo){var to;return eo.type===3&&di.indexOf((to=eo.data)===null||to===void 0?void 0:to.source)!==-1}},{key:"_updateWindowAndSessionIds",value:function(eo){var to=this.isInteractiveEvent(eo);to||this.isIdle||eo.timestamp-this._lastActivityTimestamp>3e5&&(this.isIdle=!0,clearTimeout(this._fullSnapshotTimer),this._flushBuffer());var ro=!1;if(to&&(this._lastActivityTimestamp=eo.timestamp,this.isIdle&&(this.isIdle=!1,this._tryAddCustomEvent("sessionNoLongerIdle",{reason:"user activity",type:eo.type}),ro=!0)),!this.isIdle){var no=this.sessionManager.checkAndGetSessionAndWindowId(!to,eo.timestamp),io=no.windowId,oo=no.sessionId,ao=this.sessionId!==oo,so=this.windowId!==io;this.windowId=io,this.sessionId=oo,(ro||[wn,Sn].indexOf(eo.type)===-1&&(so||ao||w(this._fullSnapshotTimer)))&&this._tryTakeFullSnapshot()}}},{key:"_tryRRWebMethod",value:function(eo){try{return eo.rrwebMethod(),!0}catch(to){return this.queuedRRWebEvents.length<10?this.queuedRRWebEvents.push({enqueuedAt:eo.enqueuedAt||Date.now(),attempt:eo.attempt++,rrwebMethod:eo.rrwebMethod}):G.warn(fi+" could not emit queued rrweb event.",to,eo),!1}}},{key:"_tryAddCustomEvent",value:function(eo,to){var ro=this;return this._tryRRWebMethod(hi((function(){return ro.rrwebRecord.addCustomEvent(eo,to)})))}},{key:"_tryTakeFullSnapshot",value:function(){var eo=this;return this._tryRRWebMethod(hi((function(){return eo.rrwebRecord.takeFullSnapshot()})))}},{key:"_onScriptLoaded",value:function(){for(var eo,to=this,ro={blockClass:"ph-no-capture",blockSelector:void 0,ignoreClass:"ph-ignore-input",maskTextClass:"ph-mask",maskTextSelector:void 0,maskTextFn:void 0,maskAllInputs:!0,maskInputOptions:{password:!0},maskInputFn:void 0,slimDOMOptions:{}
377,collectFonts:!1,inlineStylesheet:!0,recordCrossOriginIframes:!1},no=this.instance.config.session_recording,io=0,oo=Object.entries(no||{});io<oo.length;io++){var ao=u$1(oo[io],2),so=ao[0],lo=ao[1];so in ro&&(so==="maskInputOptions"?ro.maskInputOptions=t$2({password:!0},lo):ro[so]=lo)}if(this.canvasRecording&&this.canvasRecording.enabled&&(ro.recordCanvas=!0,ro.sampling={canvas:this.canvasRecording.fps},ro.dataURLOptions={type:"image/webp",quality:this.canvasRecording.quality}),this.rrwebRecord){this.mutationRateLimiter=(eo=this.mutationRateLimiter)!==null&&eo!==void 0?eo:new li(this.rrwebRecord,{onBlockedNode:function(uo,fo){var ho="Too many mutations on node '".concat(uo,"'. Rate limiting. This could be due to SVG animations or something similar");G.info(ho,{node:fo}),to.log(fi+" "+ho,"warn")}});var co=this._gatherRRWebPlugins();this.stopRrweb=this.rrwebRecord(t$2({emit:function(uo){to.onRRwebEmit(uo)},plugins:co},ro)),this.instance._addCaptureHook((function(uo){try{if(uo==="$pageview"){var fo=T$2?to._maskUrl(T$2.location.href):"";if(!fo)return;to._tryAddCustomEvent("$pageview",{href:fo})}}catch(ho){G.error("Could not add $pageview to rrweb session",ho)}})),this._lastActivityTimestamp=Date.now(),this.isIdle=!1,this._tryAddCustomEvent("$session_options",{sessionRecordingOptions:ro,activePlugins:co.map((function(uo){return uo==null?void 0:uo.name}))}),this._tryAddCustomEvent("$posthog_config",{config:this.instance.config})}else G.error(fi+"onScriptLoaded was called but rrwebRecord is not available. This indicates something has gone wrong.")}},{key:"_scheduleFullSnapshot",value:function(){var eo=this;if(this._fullSnapshotTimer&&clearInterval(this._fullSnapshotTimer),!this.isIdle){var to=this.fullSnapshotIntervalMillis;to&&(this._fullSnapshotTimer=setInterval((function(){eo._tryTakeFullSnapshot()}),to))}}},{key:"_gatherRRWebPlugins",value:function(){var eo=[];return U$2.rrwebConsoleRecord&&this.isConsoleLogCaptureEnabled&&eo.push(U$2.rrwebConsoleRecord.getRecordConsolePlugin()),this.networkPayloadCapture&&y$2(U$2.getRecordNetworkPlugin)&&(!vt.includes(location.hostname)||this._forceAllowLocalhostNetworkCapture?eo.push(U$2.getRecordNetworkPlugin(ui(this.instance.config,this.networkPayloadCapture))):G.info(fi+" NetworkCapture not started because we are on localhost.")),eo}},{key:"onRRwebEmit",value:function(eo){if(this._processQueuedEvents(),eo&&b(eo)){if(eo.type===In.Meta){var to=this._maskUrl(eo.data.href);if(this._lastHref=to,!to)return;eo.data.href=to}else this._pageViewFallBack();eo.type===In.FullSnapshot&&this._scheduleFullSnapshot();var ro=this.mutationRateLimiter?this.mutationRateLimiter.throttleMutations(eo):eo;if(ro){var no=(function(ao){var so=ao;if(so&&b(so)&&so.type===6&&b(so.data)&&so.data.plugin==="rrweb/console@1"){so.data.payload.payload.length>10&&(so.data.payload.payload=so.data.payload.payload.slice(0,10),so.data.payload.payload.push("...[truncated]"));for(var lo=[],co=0;co<so.data.payload.payload.length;co++)so.data.payload.payload[co]&&so.data.payload.payload[co].length>2e3?lo.push(so.data.payload.payload[co].slice(0,2e3)+"...[truncated]"):lo.push(so.data.payload.payload[co]);return so.data.payload.payload=lo,ao}return ao})(ro),io=kn(no);if(this._updateWindowAndSessionIds(no),!this.isIdle||no.type===In.Custom){var oo={$snapshot_bytes:io,$snapshot_data:no,$session_id:this.sessionId,$window_id:this.windowId};this.status!=="disabled"?this._captureSnapshotBuffered(oo):this.clearBuffer()}}}}},{key:"_pageViewFallBack",value:function(){if(!this.instance.config.capture_pageview&&T$2){var eo=this._maskUrl(T$2.location.href);this._lastHref!==eo&&(this._tryAddCustomEvent("$url_changed",{href:eo}),this._lastHref=eo)}}},{key:"_processQueuedEvents",value:function(){var eo=this;if(this.queuedRRWebEvents.length){var to=l(this.queuedRRWebEvents);this.queuedRRWebEvents=[],to.forEach((function(ro){Date.now()-ro.enqueuedAt<=2e3&&eo._tryRRWebMethod(ro)}))}}},{key:"_maskUrl",value:function(eo){var to=this.instance.config.session_recording;if(to.maskNetworkRequestFn){var ro,no={url:eo};return(ro=no=to.maskNetworkRequestFn(no))===null||ro===void 0?void 0:ro.url}return eo}},{key:"clearBuffer",value:function(){return this.buffer={size:0,data:[],sessionId:this.sessionId,windowId:this.windowId},this.buffer}},{key:"_flushBuffer",value:function(){var eo=this;this.flushBufferTimer&&(clearTimeout(this.flushBufferTimer),this.flushBufferTimer=void 0);var to=this.minimumDuration,ro=this.sessionDuration,no=F$1(ro)&&ro>=0,io=F$1(to)&&no&&ro<to;return this.status==="buffering"||io?(this.flushBufferTimer=setTimeout((function(){eo._flushBuffer()}),2e3),this.buffer):(this.buffer.data.length>0&&En(this.buffer).forEach((function(oo){eo._captureSnapshot({$snapshot_bytes:oo.size,$snapshot_data:oo.data,$session_id:oo.sessionId,$window_id:oo.windowId})})),this.clearBuffer())}},{key:"_captureSnapshotBuffered",value:function(eo){var to,ro=this,no=2+(((to=this.buffer)===null||to===void 0?void 0:to.data.length)||0);(this.buffer.size+eo.$snapshot_bytes+no>943718.4||this.buffer.sessionId!==this.sessionId)&&(this.buffer=this._flushBuffer()),this.buffer.size+=eo.$snapshot_bytes,this.buffer.data.push(eo.$snapshot_data),this.flushBufferTimer||(this.flushBufferTimer=setTimeout((function(){ro._flushBuffer()}),2e3))}},{key:"_captureSnapshot",value:function(eo){this.instance.capture("$snapshot",eo,{_url:this.instance.requestRouter.endpointFor("api",this._endpoint),_noTruncate:!0,_batchKey:"recordings"})}}]),Yi})(),pi$2=(function(){function Yi(eo){i$6(this,Yi),this.instance=eo,this.instance.decideEndpointWasHit=this.instance._hasBootstrappedFeatureFlags()}return s$3(Yi,[{key:"call",value:function(){var eo=this,to={token:this.instance.config.token,distinct_id:this.instance.get_distinct_id(),groups:this.instance.getGroups(),person_properties:this.instance.get_property(Fe),group_properties:this.instance.get_property(xe),disable_flags:this.instance.config.advanced_disable_feature_flags||this.instance.config.advanced_disable_feature_flags_on_first_load||void 0};this.instance._send_request({method:"POST",url:this.instance.requestRouter.endpointFor("api","/decide/?v=3"),data:to,compression:this.instance.config.disable_compression?void 0:re$1.Base64,timeout:this.instance.config.feature_flag_request_timeout_ms,callback:function(ro){return eo.parseDecideResponse(ro.json)}})}},{key:"parseDecideResponse",value:function(eo){var to=this;this.instance.featureFlags.setReloadingPaused(!1),this.instance.featureFlags._startReloadTimer();var ro=!eo;if(this.instance.config.advanced_disable_feature_flags_on_first_load||this.instance.config.advanced_disable_feature_flags||this.instance.featureFlags.receivedFeatureFlags(eo??{},ro),ro)G.error("Failed to fetch feature flags from PostHog.");else{if(!D||!D.body)return G.info("document not ready yet, trying again in 500 milliseconds..."),void setTimeout((function(){to.parseDecideResponse(eo)}),500);if(this.instance._afterDecideResponse(eo),eo.siteApps)if(this.instance.config.opt_in_site_apps){var no,io=h$1(eo.siteApps);try{var oo=function(){var ao=no.value,so=ao.id,lo=ao.url,co=to.instance.requestRouter.endpointFor("api",lo);U$2["__$$ph_site_app_".concat(so)]=to.instance,to.instance.requestRouter.loadScript(co,(function(uo){if(uo)return G.error("Error while initializing PostHog app with config id ".concat(so),uo)}))};for(io.s();!(no=io.n()).done;)oo()}catch(ao){io.e(ao)}finally{io.f()}}else eo.siteApps.length>0&&G.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}}]),Yi})(),gi=T$2!=null&&T$2.location?yt(T$2.location.hash,"__posthog")||yt(location.hash,"state"):null,_i="_postHogToolbarParam
377s";(function(Yi){Yi[Yi.UNINITIALIZED=0]="UNINITIALIZED",Yi[Yi.LOADING=1]="LOADING",Yi[Yi.LOADED=2]="LOADED"})(ai||(ai={}));var mi=(function(){function Yi(eo){i$6(this,Yi),this.instance=eo}return s$3(Yi,[{key:"setToolbarState",value:function(eo){U$2.ph_toolbar_state=eo}},{key:"getToolbarState",value:function(){var eo;return(eo=U$2.ph_toolbar_state)!==null&&eo!==void 0?eo:ai.UNINITIALIZED}},{key:"maybeLoadToolbar",value:function(){var eo,to,ro=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,no=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,io=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;if(!T$2||!D)return!1;ro=(eo=ro)!==null&&eo!==void 0?eo:T$2.location,io=(to=io)!==null&&to!==void 0?to:T$2.history;try{if(!no){try{T$2.localStorage.setItem("test","test"),T$2.localStorage.removeItem("test")}catch{return!1}no=T$2==null?void 0:T$2.localStorage}var oo,ao=gi||yt(ro.hash,"__posthog")||yt(ro.hash,"state"),so=ao?Z$1((function(){return JSON.parse(atob(decodeURIComponent(ao)))}))||Z$1((function(){return JSON.parse(decodeURIComponent(ao))})):null;return so&&so.action==="ph_authorize"?((oo=so).source="url",oo&&Object.keys(oo).length>0&&(so.desiredHash?ro.hash=so.desiredHash:io?io.replaceState(io.state,"",ro.pathname+ro.search):ro.hash="")):((oo=JSON.parse(no.getItem(_i)||"{}")).source="localstorage",delete oo.userIntent),!(!oo.token||this.instance.config.token!==oo.token)&&(this.loadToolbar(oo),!0)}catch{return!1}}},{key:"_callLoadToolbar",value:function(eo){(U$2.ph_load_toolbar||U$2.ph_load_editor)(eo,this.instance)}},{key:"loadToolbar",value:function(eo){var to=this,ro=!(D==null||!D.getElementById(Ne));if(!T$2||ro)return!1;var no=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,io=t$2(t$2({token:this.instance.config.token},eo),{},{apiURL:this.instance.requestRouter.endpointFor("ui")},no?{instrument:!1}:{});if(T$2.localStorage.setItem(_i,JSON.stringify(t$2(t$2({},io),{},{source:void 0}))),this.getToolbarState()===ai.LOADED)this._callLoadToolbar(io);else if(this.getToolbarState()===ai.UNINITIALIZED){this.setToolbarState(ai.LOADING);var oo=3e5,ao=Math.floor(Date.now()/oo)*oo;this.instance.requestRouter.loadScript("/static/toolbar.js?t=".concat(ao),(function(so){if(so)return G.error("Failed to load toolbar",so),void to.setToolbarState(ai.UNINITIALIZED);to.setToolbarState(ai.LOADED),to._callLoadToolbar(io)})),oe(T$2,"turbolinks:load",(function(){to.setToolbarState(ai.UNINITIALIZED),to.loadToolbar(io)}))}return!0}},{key:"_loadEditor",value:function(eo){return this.loadToolbar(eo)}},{key:"maybeLoadEditor",value:function(){var eo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,ro=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return this.maybeLoadToolbar(eo,to,ro)}}]),Yi})(),yi=(function(){function Yi(eo){i$6(this,Yi),o(this,"isPaused",!0),o(this,"queue",[]),o(this,"flushTimeoutMs",3e3),this.sendRequest=eo}return s$3(Yi,[{key:"enqueue",value:function(eo){this.queue.push(eo),this.flushTimeout||this.setFlushTimeout()}},{key:"unload",value:function(){var eo=this;this.clearFlushTimeout();var to=this.queue.length>0?this.formatQueue():{},ro=Object.values(to);[].concat(l(ro.filter((function(no){return no.url.indexOf("/e")===0}))),l(ro.filter((function(no){return no.url.indexOf("/e")!==0})))).map((function(no){eo.sendRequest(t$2(t$2({},no),{},{transport:"sendBeacon"}))}))}},{key:"enable",value:function(){this.isPaused=!1,this.setFlushTimeout()}},{key:"setFlushTimeout",value:function(){var eo=this;this.isPaused||(this.flushTimeout=setTimeout((function(){if(eo.clearFlushTimeout(),eo.queue.length>0){var to=eo.formatQueue(),ro=function(io){var oo=to[io],ao=new Date().getTime();oo.data&&m$1(oo.data)&&Q(oo.data,(function(so){so.offset=Math.abs(so.timestamp-ao),delete so.timestamp})),eo.sendRequest(oo)};for(var no in to)ro(no)}}),this.flushTimeoutMs))}},{key:"clearFlushTimeout",value:function(){clearTimeout(this.flushTimeout),this.flushTimeout=void 0}},{key:"formatQueue",value:function(){var eo={};
vendor: 5,257 bytes, line 377
377return Q(this.queue,(function(to){var ro,no=to,io=(no?no.batchKey:null)||no.url;w(eo[io])&&(eo[io]=t$2(t$2({},no),{},{data:[]})),(ro=eo[io].data)===null||ro===void 0||ro.push(no.data)})),this.queue=[],eo}}]),Yi})(),bi=Uint8Array,ki=Uint16Array,wi=Uint32Array,Si=new bi([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Ei=new bi([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Ii=new bi([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ri=function(Yi,eo){for(var to=new ki(31),ro=0;ro<31;++ro)to[ro]=eo+=1<<Yi[ro-1];var no=new wi(to[30]);for(ro=1;ro<30;++ro)for(var io=to[ro];io<to[ro+1];++io)no[io]=io-to[ro]<<5|ro;return[to,no]},Fi=Ri(Si,2),xi=Fi[0],Pi=Fi[1];xi[28]=258,Pi[258]=28;for(var Ti=Ri(Ei,0)[1],Ci=new ki(32768),$i=0;$i<32768;++$i){var Oi=(43690&$i)>>>1|(21845&$i)<<1;Oi=(61680&(Oi=(52428&Oi)>>>2|(13107&Oi)<<2))>>>4|(3855&Oi)<<4,Ci[$i]=((65280&Oi)>>>8|(255&Oi)<<8)>>>1}var Mi=function(Yi,eo,to){for(var ro=Yi.length,no=0,io=new ki(eo);no<ro;++no)++io[Yi[no]-1];var oo,ao=new ki(eo);for(no=0;no<eo;++no)ao[no]=ao[no-1]+io[no-1]<<1;for(oo=new ki(ro),no=0;no<ro;++no)oo[no]=Ci[ao[Yi[no]-1]++]>>>15-Yi[no];return oo},Ai=new bi(288);for($i=0;$i<144;++$i)Ai[$i]=8;for($i=144;$i<256;++$i)Ai[$i]=9;for($i=256;$i<280;++$i)Ai[$i]=7;for($i=280;$i<288;++$i)Ai[$i]=8;var Di=new bi(32);for($i=0;$i<32;++$i)Di[$i]=5;var Li=Mi(Ai,9),qi=Mi(Di,5),Ni=function(Yi){return(Yi/8>>0)+(7&Yi&&1)},Bi=function(Yi,eo,to){(to==null||to>Yi.length)&&(to=Yi.length);var ro=new(Yi instanceof ki?ki:Yi instanceof wi?wi:bi)(to-eo);return ro.set(Yi.subarray(eo,to)),ro},Hi=function(Yi,eo,to){to<<=7&eo;var ro=eo/8>>0;Yi[ro]|=to,Yi[ro+1]|=to>>>8},Ui=function(Yi,eo,to){to<<=7&eo;var ro=eo/8>>0;Yi[ro]|=to,Yi[ro+1]|=to>>>8,Yi[ro+2]|=to>>>16},ji=function(Yi,eo){for(var to=[],ro=0;ro<Yi.length;++ro)Yi[ro]&&to.push({s:ro,f:Yi[ro]});var no=to.length,io=to.slice();if(!no)return[new bi(0),0];if(no==1){var oo=new bi(to[0].s+1);return oo[to[0].s]=1,[oo,1]}to.sort((function(xo,So){return xo.f-So.f})),to.push({s:-1,f:25001});var ao=to[0],so=to[1],lo=0,co=1,uo=2;for(to[0]={s:-1,f:ao.f+so.f,l:ao,r:so};co!=no-1;)ao=to[to[lo].f<to[uo].f?lo++:uo++],so=to[lo!=co&&to[lo].f<to[uo].f?lo++:uo++],to[co++]={s:-1,f:ao.f+so.f,l:ao,r:so};var fo=io[0].s;for(ro=1;ro<no;++ro)io[ro].s>fo&&(fo=io[ro].s);var ho=new ki(fo+1),mo=Gi(to[co-1],ho,0);if(mo>eo){ro=0;var vo=0,Co=mo-eo,bo=1<<Co;for(io.sort((function(xo,So){return ho[So.s]-ho[xo.s]||xo.f-So.f}));ro<no;++ro){var wo=io[ro].s;if(!(ho[wo]>eo))break;vo+=bo-(1<<mo-ho[wo]),ho[wo]=eo}for(vo>>>=Co;vo>0;){var yo=io[ro].s;ho[yo]<eo?vo-=1<<eo-ho[yo]++-1:++ro}for(;ro>=0&&vo;--ro){var Eo=io[ro].s;ho[Eo]==eo&&(--ho[Eo],++vo)}mo=eo}return[new bi(ho),mo]},Gi=function Yi(eo,to,ro){return eo.s==-1?Math.max(Yi(eo.l,to,ro+1),Yi(eo.r,to,ro+1)):to[eo.s]=ro},Wi=function(Yi){for(var eo=Yi.length;eo&&!Yi[--eo];);for(var to=new ki(++eo),ro=0,no=Yi[0],io=1,oo=function(so){to[ro++]=so},ao=1;ao<=eo;++ao)if(Yi[ao]==no&&ao!=eo)++io;else{if(!no&&io>2){for(;io>138;io-=138)oo(32754);io>2&&(oo(io>10?io-11<<5|28690:io-3<<5|12305),io=0)}else if(io>3){for(oo(no),--io;io>6;io-=6)oo(8304);io>2&&(oo(io-3<<5|8208),io=0)}for(;io--;)oo(no);io=1,no=Yi[ao]}return[to.subarray(0,ro),eo]},Vi=function(Yi,eo){for(var to=0,ro=0;ro<eo.length;++ro)to+=Yi[ro]*eo[ro];return to},zi=function(Yi,eo,to){var ro=to.length,no=Ni(eo+2);Yi[no]=255&ro,Yi[no+1]=ro>>>8,Yi[no+2]=255^Yi[no],Yi[no+3]=255^Yi[no+1];for(var io=0;io<ro;++io)Yi[no+io+4]=to[io];return 8*(no+4+ro)},Qi=function(Yi,eo,to,ro,no,io,oo,ao,so,lo,co){Hi(eo,co++,to),++no[256];for(var uo=ji(no,15),fo=uo[0],ho=uo[1],mo=ji(io,15),vo=mo[0],Co=mo[1],bo=Wi(fo),wo=bo[0],yo=bo[1],Eo=Wi(vo),xo=Eo[0],So=Eo[1],To=new ki(19),Ro=0;Ro<wo.length;++Ro)To[31&wo[Ro]]++;for(Ro=0;Ro<xo.length;++Ro)To[31&xo[Ro]]++;for(var Po=ji(To,7),zo=Po[0],Ho=Po[1],Vo=19;Vo>4&&!zo[Ii[Vo-1]];--Vo);var Lo,Uo,Do,Oo,ko=lo+5<<3,Bo=Vi(no,Ai)+Vi(io,Di)+oo,Fo=Vi(no,fo)+Vi(io,vo)+oo+14+3*Vo+Vi(To,zo)+(2*To[16]+3*To[17]+7*To[18]);if(ko<=Bo&&ko<=Fo)return zi(eo,co,Yi.subarray(so,so+lo));if(Hi(eo,co,1+(Fo<Bo)),co+=2,Fo<Bo){Lo=Mi(fo,ho),Uo=fo,Do=Mi(vo,Co),Oo=vo;var Qo=Mi(zo,Ho);for(Hi(eo,co,yo-257),Hi(eo,co+5,So-1),Hi(eo,co+10,Vo-4),co+=14,Ro=0;Ro<Vo;++Ro)Hi(eo,co+3*Ro,zo[Ii[Ro]]);co+=3*Vo;for(var jo=[wo,xo],Xo=0;Xo<2;++Xo){var Zo=jo[Xo];for(Ro=0;Ro<Zo.length;++Ro){var Wo=31&Zo[Ro];Hi(eo,co,Qo[Wo]),co+=zo[Wo],Wo>15&&(Hi(eo,co,Zo[Ro]>>>5&127),co+=Zo[Ro]>>>12)}}}else Lo=Li,Uo=Ai,Do=qi,Oo=Di;for(Ro=0;Ro<ao;++Ro)if(ro[Ro]>255){Wo=ro[Ro]>>>18&31,Ui(eo,co,Lo[Wo+257]),co+=Uo[Wo+257],Wo>7&&(Hi(eo,co,ro[Ro]>>>23&31),co+=Si[Wo]);var ta=31&ro[Ro];Ui(eo,co,Do[ta]),co+=Oo[ta],ta>3&&(Ui(eo,co,ro[Ro]>>>5&8191),co+=Ei[ta])}else Ui(eo,co,Lo[ro[Ro]]),co+=Uo[ro[Ro]];return Ui(eo,co,Lo[256]),co+Uo[256]},Ji=new wi([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Xi=(function(){for(var Yi=new wi(256),eo=0;eo<256;++eo){for(var to=eo,ro=9;--ro;)to=(1&to&&3988292384)^to>>>1;Yi[eo]=to}return Yi})(),Ki=function(Yi,eo,to,ro,no){return(function(io,oo,ao,so,lo,co){var uo=io.length,fo=new bi(so+uo+5*(1+Math.floor(uo/7e3))+lo),ho=fo.subarray(so,fo.length-lo),mo=0;if(!oo||uo<8)for(var vo=0;vo<=uo;vo+=65535){var Co=vo+65535;Co<uo?mo=zi(ho,mo,io.subarray(vo,Co)):(ho[vo]=co,mo=zi(ho,mo,io.subarray(vo,uo)))}
vendor: 4,490 bytes, line 377
377else{for(var bo=Ji[oo-1],wo=bo>>>13,yo=8191&bo,Eo=(1<<ao)-1,xo=new ki(32768),So=new ki(Eo+1),To=Math.ceil(ao/3),Ro=2*To,Po=function(Pa){return(io[Pa]^io[Pa+1]<<To^io[Pa+2]<<Ro)&Eo},zo=new wi(25e3),Ho=new ki(288),Vo=new ki(32),Lo=0,Uo=0,Do=(vo=0,0),Oo=0,ko=0;vo<uo;++vo){var Bo=Po(vo),Fo=32767&vo,Qo=So[Bo];if(xo[Fo]=Qo,So[Bo]=Fo,Oo<=vo){var jo=uo-vo;if((Lo>7e3||Do>24576)&&jo>423){mo=Qi(io,ho,0,zo,Ho,Vo,Uo,Do,ko,vo-ko,mo),Do=Lo=Uo=0,ko=vo;for(var Xo=0;Xo<286;++Xo)Ho[Xo]=0;for(Xo=0;Xo<30;++Xo)Vo[Xo]=0}var Zo=2,Wo=0,ta=yo,ra=Fo-Qo&32767;if(jo>2&&Bo==Po(vo-ra))for(var da=Math.min(wo,jo)-1,pa=Math.min(32767,vo),sa=Math.min(258,jo);ra<=pa&&--ta&&Fo!=Qo;){if(io[vo+Zo]==io[vo+Zo-ra]){for(var ya=0;ya<sa&&io[vo+ya]==io[vo+ya-ra];++ya);if(ya>Zo){if(Zo=ya,Wo=ra,ya>da)break;var na=Math.min(ra,ya-2),ea=0;for(Xo=0;Xo<na;++Xo){var oa=vo-ra+Xo+32768&32767,la=oa-xo[oa]+32768&32767;la>ea&&(ea=la,Qo=oa)}}}ra+=(Fo=Qo)-(Qo=xo[Fo])+32768&32767}if(Wo){zo[Do++]=268435456|Pi[Zo]<<18|Ti[Wo];var _a=31&Pi[Zo],Ea=31&Ti[Wo];Uo+=Si[_a]+Ei[Ea],++Ho[257+_a],++Vo[Ea],Oo=vo+Zo,++Lo}else zo[Do++]=io[vo],++Ho[io[vo]]}}mo=Qi(io,ho,co,zo,Ho,Vo,Uo,Do,ko,vo-ko,mo)}return Bi(fo,0,so+Ni(mo)+lo)})(Yi,eo.level==null?6:eo.level,eo.mem==null?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(Yi.length)))):12+eo.mem,to,ro,!0)},Zi=function(Yi,eo,to){for(;to;++eo)Yi[eo]=to,to>>>=8};function er(Yi,eo){eo===void 0&&(eo={});var to=(function(){var ao=4294967295;return{p:function(so){for(var lo=ao,co=0;co<so.length;++co)lo=Xi[255&lo^so[co]]^lo>>>8;ao=lo},d:function(){return 4294967295^ao}}})(),ro=Yi.length;to.p(Yi);var no,io=Ki(Yi,eo,10+((no=eo).filename&&no.filename.length+1||0),8),oo=io.length;return(function(ao,so){var lo=so.filename;if(ao[0]=31,ao[1]=139,ao[2]=8,ao[8]=so.level<2?4:so.level==9?2:0,ao[9]=3,so.mtime!=0&&Zi(ao,4,Math.floor(new Date(so.mtime||Date.now())/1e3)),lo){ao[3]=8;for(var co=0;co<=lo.length;++co)ao[co+10]=lo.charCodeAt(co)}})(io,eo),Zi(io,oo-8,to.d()),Zi(io,oo-4,ro),io}var tr=!!N||!!q$1,nr="text/plain",ir=function(Yi,eo){var to=u$1(Yi.split("?"),2),ro=to[0],no=to[1],io=t$2({},eo);no==null||no.split("&").forEach((function(ao){var so=u$1(ao.split("="),1)[0];delete io[so]}));var oo=_t(io);return oo=oo?(no?no+"&":"")+oo:no,"".concat(ro,"?").concat(oo)},rr=function(Yi){return"data="+encodeURIComponent(typeof Yi=="string"?Yi:JSON.stringify(Yi))},sr=function(Yi){var eo=Yi.data,to=Yi.compression;if(eo){if(to===re$1.GZipJS){var ro=er((function(io,oo){var ao=io.length;if(typeof TextEncoder<"u")return new TextEncoder().encode(io);for(var so=new bi(io.length+(io.length>>>1)),lo=0,co=function(mo){so[lo++]=mo},uo=0;uo<ao;++uo){if(lo+5>so.length){var fo=new bi(lo+8+(ao-uo<<1));fo.set(so),so=fo}var ho=io.charCodeAt(uo);ho<128||oo?co(ho):ho<2048?(co(192|ho>>>6),co(128|63&ho)):ho>55295&&ho<57344?(co(240|(ho=65536+(1047552&ho)|1023&io.charCodeAt(++uo))>>>18),co(128|ho>>>12&63),co(128|ho>>>6&63),co(128|63&ho)):(co(224|ho>>>12),co(128|ho>>>6&63),co(128|63&ho))}return Bi(so,0,lo)})(JSON.stringify(eo)),{mtime:0});return{contentType:nr,body:new Blob([ro],{type:nr})}}if(to===re$1.Base64){var no=(function(io){var oo,ao,so,lo,co,uo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",fo=0,ho=0,mo="",vo=[];if(!io)return io;io=se(io);do oo=(co=io.charCodeAt(fo++)<<16|io.charCodeAt(fo++)<<8|io.charCodeAt(fo++))>>18&63,ao=co>>12&63,so=co>>6&63,lo=63&co,vo[ho++]=uo.charAt(oo)+uo.charAt(ao)+uo.charAt(so)+uo.charAt(lo);while(fo<io.length);switch(mo=vo.join(""),io.length%3){case 1:mo=mo.slice(0,-2)+"==";break;case 2:mo=mo.slice(0,-1)+"="}return mo})(JSON.stringify(eo));return{contentType:"application/x-www-form-urlencoded",body:rr(no)}}return{contentType:"application/json",body:JSON.stringify(eo)}}},or=[];N&&or.push({transport:"XHR",method:function(Yi){var eo,to=new N;to.open(Yi.method||"GET",Yi.url,!0);var ro=(eo=sr(Yi))!==null&&eo!==void 0?eo:{},no=ro.contentType,io=ro.body;Q(Yi.headers,(function(oo,ao){to.setRequestHeader(ao,oo)})),no&&to.setRequestHeader("Content-Type",no),Yi.timeout&&(to.timeout=Yi.timeout),to.withCredentials=!0,to.onreadystatechange=function(){if(to.readyState===4){var oo,ao={statusCode:to.status,text:to.responseText};if(to.status===200)try{ao.json=JSON.parse(to.responseText)}catch{}(oo=Yi.callback)===null||oo===void 0||oo.call(Yi,ao)}},to.send(io)}}),q$1&&or.push({transport:"fetch",method:function(Yi){var eo,to,ro=(eo=sr(Yi))!==null&&eo!==void 0?eo:{},no=ro.contentType,io=ro.body,oo=new Headers;Q(Yi.headers,(function(co,uo){oo.append(uo,co)}
377)),no&&oo.append("Content-Type",no);var ao=Yi.url,so=null;if(B$1){var lo=new B$1;so={signal:lo.signal,timeout:setTimeout((function(){return lo.abort()}),Yi.timeout)}}q$1(ao,{method:(Yi==null?void 0:Yi.method)||"GET",headers:oo,keepalive:Yi.method==="POST",body:io,signal:(to=so)===null||to===void 0?void 0:to.signal}).then((function(co){return co.text().then((function(uo){var fo,ho={statusCode:co.status,text:uo};if(co.status===200)try{ho.json=JSON.parse(uo)}catch(mo){G.error(mo)}(fo=Yi.callback)===null||fo===void 0||fo.call(Yi,ho)}))})).catch((function(co){var uo;G.error(co),(uo=Yi.callback)===null||uo===void 0||uo.call(Yi,{statusCode:0,text:co})})).finally((function(){return so?clearTimeout(so.timeout):null}))}}),A$1!=null&&A$1.sendBeacon&&or.push({transport:"sendBeacon",method:function(Yi){var eo=ir(Yi.url,{beacon:"1"});try{var to,ro=(to=sr(Yi))!==null&&to!==void 0?to:{},no=ro.contentType,io=ro.body,oo=typeof io=="string"?new Blob([io],{type:no}):io;A$1.sendBeacon(eo,oo)}catch{}}});var ar=["retriesPerformedSoFar"],ur,lr=(function(){function Yi(eo){var to=this;i$6(this,Yi),o(this,"isPolling",!1),o(this,"pollIntervalMs",3e3),o(this,"queue",[]),this.instance=eo,this.queue=[],this.areWeOnline=!0,!w(T$2)&&"onLine"in T$2.navigator&&(this.areWeOnline=T$2.navigator.onLine,T$2.addEventListener("online",(function(){to.areWeOnline=!0,to.flush()})),T$2.addEventListener("offline",(function(){to.areWeOnline=!1})))}return s$3(Yi,[{key:"retriableRequest",value:function(eo){var to=this,ro=eo.retriesPerformedSoFar,no=a$3(eo,ar);F$1(ro)&&ro>0&&(no.url=ir(no.url,{retry_count:ro})),this.instance._send_request(t$2(t$2({},no),{},{callback:function(io){var oo;io.statusCode!==200&&(io.statusCode<400||io.statusCode>=500)&&(ro??0)<10?to.enqueue(t$2({retriesPerformedSoFar:ro},no)):(oo=no.callback)===null||oo===void 0||oo.call(no,io)}}))}},{key:"enqueue",value:function(eo){var to=eo.retriesPerformedSoFar||0;eo.retriesPerformedSoFar=to+1;var ro=(function(oo){var ao=3e3*Math.pow(2,oo),so=ao/2,lo=Math.min(18e5,ao),co=(Math.random()-.5)*(lo-so);return Math.ceil(lo+co)})(to),no=Date.now()+ro;this.queue.push({retryAt:no,requestOptions:eo});var io="Enqueued failed request for retry in ".concat(ro);navigator.onLine||(io+=" (Browser is offline)"),G.warn(io),this.isPolling||(this.isPolling=!0,this.poll())}},{key:"poll",value:function(){var eo=this;this.poller&&clearTimeout(this.poller),this.poller=setTimeout((function(){eo.areWeOnline&&eo.queue.length>0&&eo.flush(),eo.poll()}),this.pollIntervalMs)}},{key:"flush",value:function(){var eo=Date.now(),to=[],ro=this.queue.filter((function(ao){return ao.retryAt<eo||(to.push(ao),!1)}));if(this.queue=to,ro.length>0){var no,io=h$1(ro);try{for(io.s();!(no=io.n()).done;){var oo=no.value.requestOptions;this.retriableRequest(oo)}}catch(ao){io.e(ao)}finally{io.f()}}}},{key:"unload",value:function(){this.poller&&(clearTimeout(this.poller),this.poller=void 0);var eo,to=h$1(this.queue);try{for(to.s();!(eo=to.n()).done;){var ro=eo.value.requestOptions;try{this.instance._send_request(t$2(t$2({},ro),{},{transport:"sendBeacon"}))}catch(no){G.error(no)}}}catch(no){to.e(no)}finally{to.f()}this.queue=[]}}]),Yi})(),cr=1800,dr=(function(){function Yi(eo,to,ro,no){var io;i$6(this,Yi),o(this,"_sessionIdChangedHandlers",[]),this.config=eo,this.persistence=to,this._windowId=void 0,this._sessionId=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this._sessionIdGenerator=ro||Ke,this._windowIdGenerator=no||Ke;var oo=eo.persistence_name||eo.token,ao=eo.session_idle_timeout_seconds||cr;if(F$1(ao)?ao>cr?G.warn("session_idle_timeout_seconds cannot be  greater than 30 minutes. Using 30 minutes instead."):ao<60&&G.warn("session_idle_timeout_seconds cannot be less than 60 seconds. Using 60 seconds instead."):(G.warn("session_idle_timeout_seconds must be a number. Defaulting to 30 minutes."),ao=cr),this._sessionTimeoutMs=1e3*Math.min(Math.max(ao,60),cr),this._window_id_storage_key="ph_"+oo+"_window_id",this._primary_window_exists_storage_key="ph_"+oo+"_primary_window_exists",this._canUseSessionStorage()){var so=ft.parse(this._window_id_storage_key),lo=ft.parse(this._primary_window_exists_storage_key);so&&!lo?this._windowId=so:ft.remove(this._window_id_storage_key),ft.set(this._primary_window_exists_storage_key,!0)}if((io=this.config.bootstrap)!==null&&io!==void 0&&io.sessionID)try{var co=(function(uo){var fo=uo.replace(/-/g,"");if(fo.length!==32)throw new Error("Not a valid UUID");if(fo[12]!=="7")throw new Error("Not a UUIDv7");return parseInt(fo.substring(0,12),16)})(this.config.bootstrap.sessionID);this._setSessionId(this.config.bootstrap.sessionID,new Date().getTime(),co)}catch(uo){G.error("Invalid sessionID in bootstrap",uo)}this._listenToReloadWindow()}return s$3(Yi,[{key:"onSessionId",value:function(eo){var to=this;
377return w(this._sessionIdChangedHandlers)&&(this._sessionIdChangedHandlers=[]),this._sessionIdChangedHandlers.push(eo),this._sessionId&&eo(this._sessionId,this._windowId),function(){to._sessionIdChangedHandlers=to._sessionIdChangedHandlers.filter((function(ro){return ro!==eo}))}}},{key:"_canUseSessionStorage",value:function(){return this.config.persistence!=="memory"&&!this.persistence.disabled&&ft.is_supported()}},{key:"_setWindowId",value:function(eo){eo!==this._windowId&&(this._windowId=eo,this._canUseSessionStorage()&&ft.set(this._window_id_storage_key,eo))}},{key:"_getWindowId",value:function(){return this._windowId?this._windowId:this._canUseSessionStorage()?ft.parse(this._window_id_storage_key):null}},{key:"_setSessionId",value:function(eo,to,ro){eo===this._sessionId&&to===this._sessionActivityTimestamp&&ro===this._sessionStartTimestamp||(this._sessionStartTimestamp=ro,this._sessionActivityTimestamp=to,this._sessionId=eo,this.persistence.register(o({},Se,[to,eo,ro])))}},{key:"_getSessionId",value:function(){if(this._sessionId&&this._sessionActivityTimestamp&&this._sessionStartTimestamp)return[this._sessionActivityTimestamp,this._sessionId,this._sessionStartTimestamp];var eo=this.persistence.props[Se];return m$1(eo)&&eo.length===2&&eo.push(eo[0]),eo||[0,null,0]}},{key:"resetSessionId",value:function(){this._setSessionId(null,null,null)}},{key:"_listenToReloadWindow",value:function(){var eo=this;T$2==null||T$2.addEventListener("beforeunload",(function(){eo._canUseSessionStorage()&&ft.remove(eo._primary_window_exists_storage_key)}))}},{key:"checkAndGetSessionAndWindowId",value:function(){var eo=arguments.length>0&&arguments[0]!==void 0&&arguments[0],to=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:null)||new Date().getTime(),ro=u$1(this._getSessionId(),3),no=ro[0],io=ro[1],oo=ro[2],ao=this._getWindowId(),so=oo&&oo>0&&Math.abs(to-oo)>864e5,lo=!1,co=!io,uo=!eo&&Math.abs(to-no)>this._sessionTimeoutMs;co||uo||so?(io=this._sessionIdGenerator(),ao=this._windowIdGenerator(),G.info("[SessionId] new session ID generated",{sessionId:io,windowId:ao,changeReason:{noSessionId:co,activityTimeout:uo,sessionPastMaximumLength:so}}),oo=to,lo=!0):ao||(ao=this._windowIdGenerator(),lo=!0);var fo=no===0||!eo||so?to:no,ho=oo===0?new Date().getTime():oo;return this._setWindowId(ao),this._setSessionId(io,fo,ho),lo&&this._sessionIdChangedHandlers.forEach((function(mo){return mo(io,ao)})),{sessionId:io,windowId:ao,sessionStartTimestamp:ho}}}]),Yi})();(function(Yi){Yi.US="us",Yi.EU="eu",Yi.CUSTOM="custom"})(ur||(ur={}));var hr="i.posthog.com",fr=(function(){function Yi(eo){i$6(this,Yi),o(this,"_regionCache",{}),this.instance=eo}return s$3(Yi,[{key:"apiHost",get:function(){return this.instance.config.api_host.trim().replace(/\/$/,"")}},{key:"uiHost",get:function(){var eo,to=(eo=this.instance.config.ui_host)===null||eo===void 0?void 0:eo.replace(/\/$/,"");return to==="https://app.posthog.com"?"https://us.posthog.com":to}},{key:"region",get:function(){return this._regionCache[this.apiHost]||(/https:\/\/(app|us|us-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this._regionCache[this.apiHost]=ur.US:/https:\/\/(eu|eu-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this._regionCache[this.apiHost]=ur.EU:this._regionCache[this.apiHost]=ur.CUSTOM),this._regionCache[this.apiHost]}},{key:"endpointFor",value:function(eo){var to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";if(to&&(to=to[0]==="/"?to:"/".concat(to)),eo==="ui")return(this.uiHost||this.apiHost.replace(".".concat(hr),".posthog.com"))+to;if(this.region===ur.CUSTOM)return this.apiHost+to;var ro=hr+to;switch(eo){case"assets":return"https://".concat(this.region,"-assets.").concat(ro);case"api":return"https://".concat(this.region,".").concat(ro)}}},{key:"loadScript",value:function(eo,to){if(this.instance.config.disable_external_dependency_loading)return G.warn("".concat(eo," was requested but loading of external scripts is disabled.")),to("Loading of external scripts is disabled");var ro=eo[0]==="/"?this.endpointFor("assets",eo):eo,no=function(){if(!D)return to("document not found");var io=D.createElement("script");io.type="text/javascript",io.src=ro,io.onload=function(so){return to(void 0,so)},io.onerror=function(so){return to(so)};var oo,ao=D.querySelectorAll("body > script");ao.length>0?(oo=ao[0].parentNode)===null||oo===void 0||oo.insertBefore(io,ao[0]):D.body.appendChild(io)};D!=null&&D.body?no():D==null||D.addEventListener("DOMContentLoaded",no)}}]),Yi})(),vr="/e/",pr="[Exception Capture]",gr=(function(){function Yi(eo){var to,ro,no=this;i$6(this,Yi),o(this,"originalOnUnhandledRejectionHandler",void 0),o(this,"startCapturing",(function(){var io;if(T$2&&no.isEnabled&&!no.hasHandlers&&((io=T$2.onerror)===null||io===void 0||!io.__POSTHOG_INSTRUMENTED__)){var oo=T$2.posthogErrorWrappingFunctions.wrapOnError,ao=T$2.posthogErrorWrappingFunctions.wrapUnhandledRejection;if(oo&&ao)try{no.unwrapOnError=oo(no.captureException.bind(no)),no.unwrapUnhandledRejection=ao(no.captureException.bind(no))}catch(so){G.error(pr+" failed to start",so),no.stopCapturing()}else G.error(pr+" failed to load error wrapping functions - cannot start")}})),this.instance=eo,this.remoteEnabled=!((to=this.instance.persistence)===null||to===void 0||!to.props[ve]),this._endpoint=((ro=this.instance.persistence)===null||ro===void 0?void 0:ro.props[pe])||vr,this.startIfEnabled()}return s$3(Yi,[{key:"endpoint",get:function(){return this._endpoint}},{key:"isEnabled",get:function(){var eo;return(eo=this.remoteEnabled)!==null&&eo!==void 0&&eo}},{key:"isCapturing",get:function(){var eo;return!(T$2==null||(eo=T$2.onerror)===null||eo===void 0||!eo.__POSTHOG_INSTRUMENTED__)}},{key:"hasHandlers",get:function(){return this.originalOnUnhandledRejectionHandler||this.unwrapOnError}},{key:"startIfEnabled",value:function(){this.isEnabled&&!this.isCapturing&&(G.info(pr+" enabled, starting..."),this.loadScript(this.startCapturing))}},{key:"loadScript",value:function(eo){this.hasHandlers&&eo(),this.instance.requestRouter.loadScript(this.instance.requestRouter.endpointFor("assets","/static/exception-autocapture.
377js?v=".concat(f$1.LIB_VERSION)),(function(to){if(to)return G.error(pr+" failed to load script",to);eo()}))}},{key:"stopCapturing",value:function(){var eo,to;(eo=this.unwrapOnError)===null||eo===void 0||eo.call(this),(to=this.unwrapUnhandledRejection)===null||to===void 0||to.call(this)}},{key:"afterDecideResponse",value:function(eo){var to=eo.autocaptureExceptions;this.remoteEnabled=!!to||!1,this._endpoint=b(to)&&to.endpoint||vr,this.instance.persistence&&(this.instance.persistence.register(o({},ve,this.remoteEnabled)),this.instance.persistence.register(o({},pe,this._endpoint))),this.startIfEnabled()}},{key:"captureException",value:function(eo){var to=this.instance.requestRouter.endpointFor("ui");eo.$exception_personURL="".concat(to,"/project/").concat(this.instance.config.token,"/person/").concat(this.instance.get_distinct_id()),this.sendExceptionEvent(eo)}},{key:"sendExceptionEvent",value:function(eo){this.instance.capture("$exception",eo,{_noTruncate:!0,_batchKey:"exceptionEvent",_url:this.endpoint})}}]),Yi})(),_r="posthog-js";function mr(Yi){var eo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},to=eo.organization,ro=eo.projectId,no=eo.prefix,io=eo.severityAllowList,oo=io===void 0?["error"]:io;return function(ao){var so,lo,co,uo,fo,ho;if(!(oo==="*"||oo.includes(ao.level))||!Yi.__loaded)return ao;ao.tags||(ao.tags={});var mo=Yi.requestRouter.endpointFor("ui","/project/".concat(Yi.config.token,"/person/").concat(Yi.get_distinct_id()));ao.tags["PostHog Person URL"]=mo,Yi.sessionRecordingStarted()&&(ao.tags["PostHog Recording URL"]=Yi.get_session_replay_url({withTimestamp:!0}));var vo=((so=ao.exception)===null||so===void 0?void 0:so.values)||[],Co={$exception_message:((lo=vo[0])===null||lo===void 0?void 0:lo.value)||ao.message,$exception_type:(co=vo[0])===null||co===void 0?void 0:co.type,$exception_personURL:mo,$exception_level:ao.level,$sentry_event_id:ao.event_id,$sentry_exception:ao.exception,$sentry_exception_message:((uo=vo[0])===null||uo===void 0?void 0:uo.value)||ao.message,$sentry_exception_type:(fo=vo[0])===null||fo===void 0?void 0:fo.type,$sentry_tags:ao.tags,$level:ao.level};return to&&ro&&(Co.$sentry_url=(no||"https://sentry.io/organizations/")+to+"/issues/?project="+ro+"&query="+ao.event_id),Yi.capture("$exception",Co,{_url:((ho=Yi.exceptionObserver)===null||ho===void 0?void 0:ho.endpoint)||vr}),ao}}var yr=s$3((function Yi(eo,to,ro,no,io){i$6(this,Yi),this.name=_r,this.setupOnce=function(oo){oo(mr(eo,{organization:to,projectId:ro,prefix:no,severityAllowList:io}))}}));function br(Yi,eo){var to=Yi.config.segment;if(!to)return eo();(function(ro,no){var io=ro.config.segment;if(!io)return no();var oo=function(so){var lo=function(){return so.anonymousId()||Ke()};ro.config.get_device_id=lo,so.id()&&(ro.register({distinct_id:so.id(),$device_id:lo()}),ro.persistence.set_property($e,"identified")),no()},ao=io.user();"then"in ao&&y$2(ao.then)?ao.then((function(so){return oo(so)})):oo(ao)})(Yi,(function(){to.register((function(ro){Promise&&Promise.resolve||G.warn("This browser does not have Promise support, and can not use the segment integration");var no=function(io,oo){var ao;if(!oo)return io;io.event.userId||io.event.anonymousId===ro.get_distinct_id()||ro.reset(),io.event.userId&&io.event.userId!==ro.get_distinct_id()&&(ro.register({distinct_id:io.event.userId}),ro.reloadFeatureFlags());var so=ro._calculate_event_properties(oo,(ao=io.event.properties)!==null&&ao!==void 0?ao:{},new Date);return io.event.properties=Object.assign({},so,io.event.properties),io};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:function(io){return no(io,io.event.event)},page:function(io){return no(io,"$pageview")},identify:function(io){return no(io,"$identify")},screen:function(io){return no(io,"$screen")}}})(Yi)).then((function(){eo()}))}))}var kr$1,wr,Sr,Er=(function(){function Yi(eo){i$6(this,Yi),this._instance=eo}return s$3(Yi,[{key:"doPageView",value:function(eo){var to,ro=this._previousPageViewProperties(eo);return this._currentPath=(to=T$2==null?void 0:T$2.location.pathname)!==null&&to!==void 0?to:"",this._instance.scrollManager.resetContext(),this._prevPageviewTimestamp=eo,ro}},{key:"doPageLeave",value:function(eo){return this._previousPageViewProperties(eo)}},{key:"_previousPageViewProperties",value:function(eo){var to=this._currentPath,ro=this._prevPageviewTimestamp,no=this._instance.scrollManager.getContext();if(!ro)return{};var io={};if(no){var oo=no.maxScrollHeight,ao=no.lastScrollY,so=no.maxScrollY,lo=no.maxContentHeight,co=no.lastContentY,uo=no.maxContentY;w(oo)||w(ao)||w(so)||w(lo)||w(co)||w(uo)||(oo=Math.ceil(oo),ao=Math.ceil(ao),so=Math.ceil(so),lo=Math.ceil(lo),co=Math.ceil(co),uo=Math.ceil(uo),io={$prev_pageview_last_scroll:ao,$prev_pageview_last_scroll_percentage:oo<=1?1:Ir(ao/oo,0,1),$prev_pageview_max_scroll:so,$prev_pageview_max_scroll_percentage:oo<=1?1:Ir(so/oo,0,1),$prev_pageview_last_content:co,$prev_pageview_last_content_percentage:lo<=1?1:Ir(co/lo,0,1),$prev_pageview_max_content:uo,$prev_pageview_max_content_percentage:lo<=1?1:Ir(uo/lo,0,1)})}return to&&(io.$prev_pageview_pathname=to),ro&&(io.$prev_pageview_duration=(eo.getTime()-ro.getTime())/1e3),io}}]),Yi})();function Ir(Yi,eo,to){return Math.max(eo,Math.min(Yi,to))}(function(Yi){Yi.Popover="popover",Yi.API="api",Yi.Widget="widget"})(kr$1||(kr$1={})),(function(Yi){Yi.Open="open",Yi.MultipleChoice="multiple_choice",Yi.SingleChoice="single_choice",Yi.Rating="rating",Yi.Link="link"})(wr||(wr={})),(function(Yi){Yi.NextQuestion="next_question",Yi.End="end",Yi.ResponseBased="response_based",Yi.SpecificQuestion="specific_question"})(Sr||(Sr={}));var Rr=(function(){function Yi(){i$6(this,Yi),o(this,"events",{}),this.events={}}return s$3(Yi,[{key:"on",value:function(eo,to){var ro=this;return this.events[eo]||(this.events[eo]=[]),this.events[eo].push(to),function(){ro.events[eo]=ro.events[eo].filter((function(no){return no!==to}))}}},{key:"emit",value:function(eo,to){var ro,no=h$1(this.events[eo]||[]);try{for(no.s();!(ro=no.n()).done;)(0,ro.value)(to)}catch(ao){no.e(ao)}finally{no.f()}var io,oo=h$1(this.events["*"]||[]);try{for(oo.s();!(io=oo.n()).done;)(0,io.value)(eo,to)}catch(ao){oo.e(ao)}finally{oo.f()}}}]),Yi})(),Fr=(function(){function Yi(eo){var to=this;i$6(this,Yi),o(this,"_debugEventEmitter",new Rr),o(this,"checkStep",(function(ro,no){return to.checkStepEvent(ro,no)&&to.checkStepUrl(ro,no)&&to.checkStepElement(ro,no)})),o(this,"checkStepEvent",(function(ro,no){return no==null||!no.event||(ro==null?void 0:ro.event)===(no==null?void 0:no.event)})),this.instance=eo,this.actionEvents=new Set,this.actionRegistry=new Set}return s$3(Yi,[{key:"init",value:function(){var eo,to=this;if(!w((eo=this.instance)===null||eo===void 0?void 0:eo._addCaptureHook)){var ro;(ro=this.instance)===null||ro===void 0||ro._addCaptureHook((function(no,io){to.on(no,io)}))}}},{key:"register",value:function(eo){var to,ro,no=this;if(!w((to=this.instance)===null||to===void 0?void 0:to._addCaptureHook)&&(eo.forEach((function(ao){var so,lo;(so=no.actionRegistry)===null||so===void 0||so.add(ao),(lo=ao.steps)===null||lo===void 0||lo.forEach((function(co){var uo;(uo=no.actionEvents)===null||uo===void 0||uo.add((co==null?void 0:co.event)||"")}))})),(ro=this.instance)!==null&&ro!==void 0&&ro.autocapture)){var io,oo=new Set;eo.forEach((function(ao){var so;
377(so=ao.steps)===null||so===void 0||so.forEach((function(lo){lo!=null&&lo.selector&&oo.add(lo==null?void 0:lo.selector)}))})),(io=this.instance)===null||io===void 0||io.autocapture.setElementSelectors(oo)}}},{key:"on",value:function(eo,to){var ro,no=this;to!=null&&eo.length!=0&&(this.actionEvents.has(eo)||this.actionEvents.has(to==null?void 0:to.event))&&this.actionRegistry&&((ro=this.actionRegistry)===null||ro===void 0?void 0:ro.size)>0&&this.actionRegistry.forEach((function(io){no.checkAction(to,io)&&no._debugEventEmitter.emit("actionCaptured",io.name)}))}},{key:"_addActionHook",value:function(eo){this.onAction("actionCaptured",(function(to){return eo(to)}))}},{key:"checkAction",value:function(eo,to){if((to==null?void 0:to.steps)==null)return!1;var ro,no=h$1(to.steps);try{for(no.s();!(ro=no.n()).done;){var io=ro.value;if(this.checkStep(eo,io))return!0}}catch(oo){no.e(oo)}finally{no.f()}return!1}},{key:"onAction",value:function(eo,to){return this._debugEventEmitter.on(eo,to)}},{key:"checkStepUrl",value:function(eo,to){if(to!=null&&to.url){var ro,no=eo==null||(ro=eo.properties)===null||ro===void 0?void 0:ro.$current_url;if(!no||typeof no!="string"||!Yi.matchString(no,to==null?void 0:to.url,(to==null?void 0:to.url_matching)||"contains"))return!1}return!0}},{key:"checkStepElement",value:function(eo,to){if((to!=null&&to.href||to!=null&&to.tag_name||to!=null&&to.text)&&!this.getElementsList(eo).some((function(io){return!(to!=null&&to.href&&!Yi.matchString(io.href||"",to==null?void 0:to.href,(to==null?void 0:to.href_matching)||"exact"))&&(to==null||!to.tag_name||io.tag_name===(to==null?void 0:to.tag_name))&&!(to!=null&&to.text&&!Yi.matchString(io.text||"",to==null?void 0:to.text,(to==null?void 0:to.text_matching)||"exact")&&!Yi.matchString(io.$el_text||"",to==null?void 0:to.text,(to==null?void 0:to.text_matching)||"exact"))})))return!1;if(to!=null&&to.selector){var ro,no=eo==null||(ro=eo.properties)===null||ro===void 0?void 0:ro.$element_selectors;if(!no||!no.includes(to==null?void 0:to.selector))return!1}return!0}},{key:"getElementsList",value:function(eo){return(eo==null?void 0:eo.properties.$elements)==null?[]:eo==null?void 0:eo.properties.$elements}}],[{key:"matchString",value:function(eo,to,ro){switch(ro){case"regex":return!!T$2&&gt(eo,to);case"exact":return to===eo;case"contains":var no=Yi.escapeStringRegexp(to).replace(/_/g,".").replace(/%/g,".*");return gt(eo,no);default:return!1}}},{key:"escapeStringRegexp",value:function(eo){return eo.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}}]),Yi})(),xr=(function(){function Yi(eo){i$6(this,Yi),this.instance=eo,this.eventToSurveys=new Map,this.actionToSurveys=new Map}return s$3(Yi,[{key:"register",value:function(eo){var to;w((to=this.instance)===null||to===void 0?void 0:to._addCaptureHook)||(this.setupEventBasedSurveys(eo),this.setupActionBasedSurveys(eo))}},{key:"setupActionBasedSurveys",value:function(eo){var to=this,ro=eo.filter((function(no){var io,oo,ao,so;return((io=no.conditions)===null||io===void 0?void 0:io.actions)&&((oo=no.conditions)===null||oo===void 0||(ao=oo.actions)===null||ao===void 0||(so=ao.values)===null||so===void 0?void 0:so.length)>0}));ro.length!==0&&(this.actionMatcher==null&&(this.actionMatcher=new Fr(this.instance),this.actionMatcher.init(),this.actionMatcher._addActionHook((function(no){to.onAction(no)}))),ro.forEach((function(no){var io,oo,ao,so,lo,co,uo,fo,ho,mo;no.conditions&&(io=no.conditions)!==null&&io!==void 0&&io.actions&&(oo=no.conditions)!==null&&oo!==void 0&&(ao=oo.actions)!==null&&ao!==void 0&&ao.values&&((so=no.conditions)===null||so===void 0||(lo=so.actions)===null||lo===void 0||(co=lo.values)===null||co===void 0?void 0:co.length)>0&&((uo=to.actionMatcher)===null||uo===void 0||uo.register(no.conditions.actions.values),(fo=no.conditions)===null||fo===void 0||(ho=fo.actions)===null||ho===void 0||(mo=ho.values)===null||mo===void 0||mo.forEach((function(vo){if(vo&&vo.name){var Co=to.actionToSurveys.get(vo.name);Co&&Co.push(no.id),to.actionToSurveys.set(vo.name,Co||[no.id])}})))})))}},{key:"setupEventBasedSurveys",value:function(eo){var to,ro=this;eo.filter((function(no){var io,oo,ao,so;return((io=no.conditions)===null||io===void 0?void 0:io.events)&&((oo=no.conditions)===null||oo===void 0||(ao=oo.events)===null||ao===void 0||(so=ao.values)===null||so===void 0?void 0:so.length)>0})).length!==0&&((to=this.instance)===null||to===void 0||to._addCaptureHook((function(no,io){ro.onEvent(no,io)})),eo.forEach((function(no){var io,oo,ao;(io=no.conditions)===null||io===void 0||(oo=io.events)===null||oo===void 0||(ao=oo.values)===null||ao===void 0||ao.forEac
377h((function(so){if(so&&so.name){var lo=ro.eventToSurveys.get(so.name);lo&&lo.push(no.id),ro.eventToSurveys.set(so.name,lo||[no.id])}}))})))}},{key:"onEvent",value:function(eo,to){var ro,no,io=((ro=this.instance)===null||ro===void 0||(no=ro.persistence)===null||no===void 0?void 0:no.props[Te])||[];if(Yi.SURVEY_SHOWN_EVENT_NAME==eo&&to&&io.length>0){var oo,ao=to==null||(oo=to.properties)===null||oo===void 0?void 0:oo.$survey_id;if(ao){var so=io.indexOf(ao);so>=0&&(io.splice(so,1),this._updateActivatedSurveys(io))}}else this.eventToSurveys.has(eo)&&this._updateActivatedSurveys(io.concat(this.eventToSurveys.get(eo)||[]))}},{key:"onAction",value:function(eo){var to,ro,no=((to=this.instance)===null||to===void 0||(ro=to.persistence)===null||ro===void 0?void 0:ro.props[Te])||[];this.actionToSurveys.has(eo)&&this._updateActivatedSurveys(no.concat(this.actionToSurveys.get(eo)||[]))}},{key:"_updateActivatedSurveys",value:function(eo){var to,ro;(to=this.instance)===null||to===void 0||(ro=to.persistence)===null||ro===void 0||ro.register(o({},Te,l(new Set(eo))))}},{key:"getSurveys",value:function(){var eo,to,ro=(eo=this.instance)===null||eo===void 0||(to=eo.persistence)===null||to===void 0?void 0:to.props[Te];return ro||[]}},{key:"getEventToSurveys",value:function(){return this.eventToSurveys}},{key:"_getActionMatcher",value:function(){return this.actionMatcher}}]),Yi})();o(xr,"SURVEY_SHOWN_EVENT_NAME","survey shown");var Pr="[Surveys]",Tr={icontains:function(Yi){return!!T$2&&T$2.location.href.toLowerCase().indexOf(Yi.toLowerCase())>-1},not_icontains:function(Yi){return!!T$2&&T$2.location.href.toLowerCase().indexOf(Yi.toLowerCase())===-1},regex:function(Yi){return!!T$2&&gt(T$2.location.href,Yi)},not_regex:function(Yi){return!!T$2&&!gt(T$2.location.href,Yi)},exact:function(Yi){return(T$2==null?void 0:T$2.location.href)===Yi},is_not:function(Yi){return(T$2==null?void 0:T$2.location.href)!==Yi}},Cr=(function(){function Yi(eo){i$6(this,Yi),this.instance=eo,this._surveyEventReceiver=null}return s$3(Yi,[{key:"afterDecideResponse",value:function(eo){this._decideServerResponse=!!eo.surveys,this.loadIfEnabled()}},{key:"loadIfEnabled",value:function(){var eo=this,to=U$2==null?void 0:U$2.extendPostHogWithSurveys;this.instance.config.disable_surveys||!this._decideServerResponse||to||(this._surveyEventReceiver==null&&(this._surveyEventReceiver=new xr(this.instance)),this.instance.requestRouter.loadScript("/static/surveys.js",(function(ro){if(ro)return G.error(Pr,"Could not load surveys script",ro);eo._surveyManager=U$2.extendPostHogWithSurveys(eo.instance)})))}},{key:"getSurveys",value:function(eo){var to=this,ro=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(this.instance.config.disable_surveys)return eo([]);this._surveyEventReceiver==null&&(this._surveyEventReceiver=new xr(this.instance));var no=this.instance.get_property(Pe);if(no&&!ro)return eo(no);this.instance._send_request({url:this.instance.requestRouter.endpointFor("api","/api/surveys/?token=".concat(this.instance.config.token)),method:"GET",transport:"XHR",callback:function(io){var oo;if(io.statusCode!==200||!io.json)return eo([]);var ao,so=io.json.surveys||[],lo=so.filter((function(co){var uo,fo,ho,mo,vo,Co,bo,wo,yo,Eo,xo,So;return((uo=co.conditions)===null||uo===void 0?void 0:uo.events)&&((fo=co.conditions)===null||fo===void 0||(ho=fo.events)===null||ho===void 0?void 0:ho.values)&&((mo=co.conditions)===null||mo===void 0||(vo=mo.events)===null||vo===void 0||(Co=vo.values)===null||Co===void 0?void 0:Co.length)>0||((bo=co.conditions)===null||bo===void 0?void 0:bo.actions)&&((wo=co.conditions)===null||wo===void 0||(yo=wo.actions)===null||yo===void 0?void 0:yo.values)&&((Eo=co.conditions)===null||Eo===void 0||(xo=Eo.actions)===null||xo===void 0||(So=xo.values)===null||So===void 0?void 0:So.length)>0}));return lo.length>0&&((ao=to._surveyEventReceiver)===null||ao===void 0||ao.register(lo)),(oo=to.instance.persistence)===null||oo===void 0||oo.register(o({},Pe,so)),eo(so)}})}},{key:"getActiveMatchingSurveys",value:function(eo){var to=this,ro=arguments.length>1&&arguments[1]!==void 0&&arguments[1];
377this.getSurveys((function(no){var io,oo=no.filter((function(lo){return!(!lo.start_date||lo.end_date)})).filter((function(lo){var co,uo,fo,ho;if(!lo.conditions)return!0;var mo=(co=lo.conditions)===null||co===void 0||!co.url||Tr[(uo=(fo=lo.conditions)===null||fo===void 0?void 0:fo.urlMatchType)!==null&&uo!==void 0?uo:"icontains"](lo.conditions.url),vo=(ho=lo.conditions)===null||ho===void 0||!ho.selector||(D==null?void 0:D.querySelector(lo.conditions.selector));return mo&&vo})),ao=(io=to._surveyEventReceiver)===null||io===void 0?void 0:io.getSurveys(),so=oo.filter((function(lo){var co,uo,fo,ho,mo,vo,Co,bo,wo,yo;if(!lo.linked_flag_key&&!lo.targeting_flag_key&&!lo.internal_targeting_flag_key)return!0;var Eo=!lo.linked_flag_key||to.instance.featureFlags.isFeatureEnabled(lo.linked_flag_key),xo=!lo.targeting_flag_key||to.instance.featureFlags.isFeatureEnabled(lo.targeting_flag_key),So=((co=lo.conditions)===null||co===void 0?void 0:co.events)&&((uo=lo.conditions)===null||uo===void 0||(fo=uo.events)===null||fo===void 0?void 0:fo.values)&&((ho=lo.conditions)===null||ho===void 0||(mo=ho.events)===null||mo===void 0?void 0:mo.values.length)>0,To=((vo=lo.conditions)===null||vo===void 0?void 0:vo.actions)&&((Co=lo.conditions)===null||Co===void 0||(bo=Co.actions)===null||bo===void 0?void 0:bo.values)&&((wo=lo.conditions)===null||wo===void 0||(yo=wo.actions)===null||yo===void 0?void 0:yo.values.length)>0,Ro=!So&&!To||(ao==null?void 0:ao.includes(lo.id)),Po=to._canActivateRepeatedly(lo),zo=!(lo.internal_targeting_flag_key&&!Po)||to.instance.featureFlags.isFeatureEnabled(lo.internal_targeting_flag_key);return Eo&&xo&&zo&&Ro}));return eo(so)}),ro)}},{key:"getNextSurveyStep",value:function(eo,to,ro){var no,io=eo.questions[to],oo=to+1;if((no=io.branching)===null||no===void 0||!no.type)return to===eo.questions.length-1?Sr.End:oo;if(io.branching.type===Sr.End)return Sr.End;if(io.branching.type===Sr.SpecificQuestion){if(Number.isInteger(io.branching.index))return io.branching.index}else if(io.branching.type===Sr.ResponseBased){if(io.type===wr.SingleChoice){var ao,so,lo=io.choices.indexOf("".concat(ro));if((ao=io.branching)!==null&&ao!==void 0&&(so=ao.responseValues)!==null&&so!==void 0&&so.hasOwnProperty(lo)){var co=io.branching.responseValues[lo];return Number.isInteger(co)?co:co===Sr.End?Sr.End:oo}}else if(io.type===wr.Rating){var uo,fo;if(typeof ro!="number"||!Number.isInteger(ro))throw new Error("The response type must be an integer");var ho=(function(vo,Co){if(Co===3){if(vo<1||vo>3)throw new Error("The response must be in range 1-3");return vo===1?"negative":vo===2?"neutral":"positive"}if(Co===5){if(vo<1||vo>5)throw new Error("The response must be in range 1-5");return vo<=2?"negative":vo===3?"neutral":"positive"}if(Co===10){if(vo<0||vo>10)throw new Error("The response must be in range 0-10");return vo<=6?"detractors":vo<=8?"passives":"promoters"}throw new Error("The scale must be one of: 3, 5, 10")})(ro,io.scale);if((uo=io.branching)!==null&&uo!==void 0&&(fo=uo.responseValues)!==null&&fo!==void 0&&fo.hasOwnProperty(ho)){var mo=io.branching.responseValues[ho];return Number.isInteger(mo)?mo:mo===Sr.End?Sr.End:oo}}return oo}return G.warn(Pr,"Falling back to next question index due to unexpected branching type"),oo}},{key:"_canActivateRepeatedly",value:function(eo){return R$1(U$2.__PosthogExtensions__.canActivateRepeatedly)&&G.warn(Pr,"canActivateRepeatedly is not defined, must init before calling"),U$2.__PosthogExtensions__.canActivateRepeatedly(eo)}},{key:"canRenderSurvey",value:function(eo){var to=this;R$1(this._surveyManager)?G.warn(Pr,"canActivateRepeatedly is not defined, must init before calling"):this.getSurveys((function(ro){var no=ro.filter((function(io){return io.id===eo}))[0];to._surveyManager.canRenderSurvey(no)}))}},{key:"renderSurvey",value:function(eo,to){var ro=this;R$1(this._surveyManager)?G.warn(Pr,"canActivateRepeatedly is not defined, must init before calling"):this.getSurveys((function(no){var io=no.filter((function(oo){return oo.id===eo}))[0];ro._surveyManager.renderSurvey(io,D==null?void 0:D.querySelector(to))}))}}]),Yi})(),$r=(function(){function Yi(eo){var to,ro,no=this;i$6(this,Yi),o(this,"serverLimits",{}),o(this,"lastEventRateLimited",!1),o(this,"checkForLimiting",(function(io){var oo=io.text;
377if(oo&&oo.length)try{(JSON.parse(oo).quota_limited||[]).forEach((function(ao){G.info("[RateLimiter] ".concat(ao||"events"," is quota limited.")),no.serverLimits[ao]=new Date().getTime()+6e4}))}catch(ao){return void G.warn('[RateLimiter] could not rate limit - continuing. Error: "'.concat(ao==null?void 0:ao.message,'"'),{text:oo})}})),this.instance=eo,this.captureEventsPerSecond=((to=eo.config.rate_limiting)===null||to===void 0?void 0:to.events_per_second)||10,this.captureEventsBurstLimit=Math.max(((ro=eo.config.rate_limiting)===null||ro===void 0?void 0:ro.events_burst_limit)||10*this.captureEventsPerSecond,this.captureEventsPerSecond),this.lastEventRateLimited=this.clientRateLimitContext(!0).isRateLimited}return s$3(Yi,[{key:"clientRateLimitContext",value:function(){var eo,to,ro,no=arguments.length>0&&arguments[0]!==void 0&&arguments[0],io=new Date().getTime(),oo=(eo=(to=this.instance.persistence)===null||to===void 0?void 0:to.get_property(Me))!==null&&eo!==void 0?eo:{tokens:this.captureEventsBurstLimit,last:io};oo.tokens+=(io-oo.last)/1e3*this.captureEventsPerSecond,oo.last=io,oo.tokens>this.captureEventsBurstLimit&&(oo.tokens=this.captureEventsBurstLimit);var ao=oo.tokens<1;return ao||no||(oo.tokens=Math.max(0,oo.tokens-1)),!ao||this.lastEventRateLimited||no||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to ".concat(this.captureEventsPerSecond," events per second and ").concat(this.captureEventsBurstLimit," events burst limit.")},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=ao,(ro=this.instance.persistence)===null||ro===void 0||ro.set_property(Me,oo),{isRateLimited:ao,remainingTokens:oo.tokens}}},{key:"isServerRateLimited",value:function(eo){var to=this.serverLimits[eo||"events"]||!1;return to!==!1&&new Date().getTime()<to}}]),Yi})(),Or=function(){return t$2({initialPathName:(L$1==null?void 0:L$1.pathname)||"",referringDomain:mn.referringDomain()},mn.campaignParams())},Mr=(function(){function Yi(eo,to,ro){var no=this;i$6(this,Yi),o(this,"_onSessionIdCallback",(function(io){var oo=no._getStoredProps();if(!oo||oo.sessionId!==io){var ao={sessionId:io,props:no._sessionSourceParamGenerator()};no._persistence.register(o({},Oe,ao))}})),this._sessionIdManager=eo,this._persistence=to,this._sessionSourceParamGenerator=ro||Or,this._sessionIdManager.onSessionId(this._onSessionIdCallback)}return s$3(Yi,[{key:"_getStoredProps",value:function(){return this._persistence.props[Oe]}},{key:"getSessionProps",value:function(){var eo,to=(eo=this._getStoredProps())===null||eo===void 0?void 0:eo.props;return to?{$client_session_initial_referring_host:to.referringDomain,$client_session_initial_pathname:to.initialPathName,$client_session_initial_utm_source:to.utm_source,$client_session_initial_utm_campaign:to.utm_campaign,$client_session_initial_utm_medium:to.utm_medium,$client_session_initial_utm_content:to.utm_content,$client_session_initial_utm_term:to.utm_term}:{}}}]),Yi})(),Ar=["ahrefsbot","ahrefssiteaudit","applebot","baiduspider","bingbot","bingpreview","bot.htm","bot.php","crawler","deepscan","duckduckbot","facebookexternal","facebookcatalog","gptbot","http://yandex.com/bots","hubspot","ia_archiver","linkedinbot","mj12bot","msnbot","nessus","petalbot","pinterest","prerender","rogerbot","screaming frog","semrushbot","sitebulb","slurp","turnitin","twitterbot","vercelbot","yahoo! slurp","yandexbot","Google-HotelAdsVerifier","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google","Bytespider;"],Dr=function(Yi,eo){if(!Yi)return!1;var to=Yi.toLowerCase();return Ar.concat(eo||[]).some((function(ro){var no=ro.toLowerCase();return to.indexOf(no)!==-1}))},Lr=(function(){function Yi(){i$6(this,Yi),this.clicks=[]}return s$3(Yi,[{key:"isRageClick",value:function(eo,to,ro){var no=this.clicks[this.clicks.length-1];if(no&&Math.abs(eo-no.x)+Math.abs(to-no.y)<30&&ro-no.timestamp<1e3){if(this.clicks.push({x:eo,y:to,timestamp:ro}),this.clicks.length===3)return!0}else this.clicks=[{x:eo,y:to,timestamp:ro}];return!1}}]),Yi})();function qr(Yi){var eo;return Yi.id===Ne||!((eo=Yi.closest)===null||eo===void 0||!eo.call(Yi,"#"+Ne))}var Nr=(function(){function Yi(eo){var to,ro=this;i$6(this,Yi),o(this,"rageclicks",new Lr),o(this,"_enabledServerSide",!1),o(this,"_initialized",!1),o(this,"_flushInterval",null),this.instance=eo,this._enabledServerSide=!((to=this.instance.persistence)===null||to===void 0||!to.props[fe]),T$2==null||T$2.addEventListener("beforeunload",(function(){ro.flush()}))}return s$3(Yi,[{key:"flushIntervalMilliseconds",get:function(){var eo=5e3;return b(this.instance.config.capture_heatmaps)&&this.instance.config.capture_heatmaps.flush_interval_milliseconds&&(eo=this.instance.config.capture_heatmaps.flush_interval_milliseconds),eo}},{key:"isEnabled",get:function(){return w(this.instance.config.capture_heatmaps)?w(this.instance.config.enable_heatmaps)?this._enabledServerSide:this.instance.config.enable_heatmaps:this.instance.config.capture_heatmaps!==!1}},{key:"startIfEnabled",value:function(){if(this.isEnabled){if(this._initialized)return;G.info("[heatmaps] starting..."),this._setupListeners(),this._flushInterval=setInterval(this.flush.bind(this),this.flushIntervalMilliseconds)}else{var eo;clearInterval((eo=this._flushInterval)!==null&&eo!==void 0?eo:void 0),this.getAndClearBuffer()}}},{key:"afterDecideResponse",value:function(eo){var to=!!eo.heatmaps;this.instance.persistence&&this.instance.persistence.register(o({},fe,to)),this._enabledServerSide=to,this.startIfEnabled()}},{key:"getAndClearBuffer",value:function(){var eo=this.buffer;return this.buffer=void 0,eo}},{key:"_setupListeners",value:function(){var eo=this;T$2&&D&&(oe(D,"click",(function(to){return eo._onClick(to||(T$2==null?void 0:T$2.event))}),!1,!0),oe(D,"mousemove",(function(to){return eo._onMouseMove(to||(T$2==null?void 0:T$2.event))}),!1,!0),this._initialized=!0)}},{key:"_getProperties",value:function(eo,to){var ro=this.instance.scrollManager.scrollY(),no=this.instance.scrollManager.scrollX(),io=this.instance.scrollManager.scrollElement(),oo=(function(ao,so,lo){for(var co=ao;co&&!On(co,"body");){if(co===lo)return!1;
377if(Y$1(so,T$2==null?void 0:T$2.getComputedStyle(co).position))return!0;co=Ln(co)}return!1})(eo.target,["fixed","sticky"],io);return{x:eo.clientX+(oo?0:no),y:eo.clientY+(oo?0:ro),target_fixed:oo,type:to}}},{key:"_onClick",value:function(eo){var to;if(!qr(eo.target)){var ro=this._getProperties(eo,"click");(to=this.rageclicks)!==null&&to!==void 0&&to.isRageClick(eo.clientX,eo.clientY,new Date().getTime())&&this._capture(t$2(t$2({},ro),{},{type:"rageclick"})),this._capture(ro)}}},{key:"_onMouseMove",value:function(eo){var to=this;qr(eo.target)||(clearTimeout(this._mouseMoveTimeout),this._mouseMoveTimeout=setTimeout((function(){to._capture(to._getProperties(eo,"mousemove"))}),500))}},{key:"_capture",value:function(eo){if(T$2){var to=T$2.location.href;this.buffer=this.buffer||{},this.buffer[to]||(this.buffer[to]=[]),this.buffer[to].push(eo)}}},{key:"flush",value:function(){this.buffer&&!k$2(this.buffer)&&this.instance.capture("$$heatmap",{$heatmap_data:this.getAndClearBuffer()})}}]),Yi})(),Br=(function(){function Yi(eo){var to=this;i$6(this,Yi),o(this,"_updateScrollData",(function(){var ro,no,io,oo;to.context||(to.context={});var ao=to.scrollElement(),so=to.scrollY(),lo=ao?Math.max(0,ao.scrollHeight-ao.clientHeight):0,co=so+((ao==null?void 0:ao.clientHeight)||0),uo=(ao==null?void 0:ao.scrollHeight)||0;to.context.lastScrollY=Math.ceil(so),to.context.maxScrollY=Math.max(so,(ro=to.context.maxScrollY)!==null&&ro!==void 0?ro:0),to.context.maxScrollHeight=Math.max(lo,(no=to.context.maxScrollHeight)!==null&&no!==void 0?no:0),to.context.lastContentY=co,to.context.maxContentY=Math.max(co,(io=to.context.maxContentY)!==null&&io!==void 0?io:0),to.context.maxContentHeight=Math.max(uo,(oo=to.context.maxContentHeight)!==null&&oo!==void 0?oo:0)})),this.instance=eo}return s$3(Yi,[{key:"getContext",value:function(){return this.context}},{key:"resetContext",value:function(){var eo=this.context;return setTimeout(this._updateScrollData,0),eo}},{key:"startMeasuringScrollPosition",value:function(){T$2==null||T$2.addEventListener("scroll",this._updateScrollData,!0),T$2==null||T$2.addEventListener("scrollend",this._updateScrollData,!0),T$2==null||T$2.addEventListener("resize",this._updateScrollData)}},{key:"scrollElement",value:function(){if(!this.instance.config.scroll_root_selector)return T$2==null?void 0:T$2.document.documentElement;var eo,to=h$1(m$1(this.instance.config.scroll_root_selector)?this.instance.config.scroll_root_selector:[this.instance.config.scroll_root_selector]);try{for(to.s();!(eo=to.n()).done;){var ro=eo.value,no=T$2==null?void 0:T$2.document.querySelector(ro);if(no)return no}}catch(io){to.e(io)}finally{to.f()}}},{key:"scrollY",value:function(){if(this.instance.config.scroll_root_selector){var eo=this.scrollElement();return eo&&eo.scrollTop||0}return T$2&&(T$2.scrollY||T$2.pageYOffset||T$2.document.documentElement.scrollTop)||0}},{key:"scrollX",value:function(){if(this.instance.config.scroll_root_selector){var eo=this.scrollElement();return eo&&eo.scrollLeft||0}return T$2&&(T$2.scrollX||T$2.pageXOffset||T$2.document.documentElement.scrollLeft)||0}}]),Yi})(),Hr="$copy_autocapture";function Ur(Yi,eo){return eo.length>Yi?eo.slice(0,Yi)+"...":eo}var jr,Gr=(function(){function Yi(eo){i$6(this,Yi),o(this,"_initialized",!1),o(this,"_isDisabledServerSide",null),o(this,"rageclicks",new Lr),o(this,"_elementsChainAsString",!1),this.instance=eo,this._elementSelectors=null}return s$3(Yi,[{key:"config",get:function(){var eo,to,ro=b(this.instance.config.autocapture)?this.instance.config.autocapture:{};return ro.url_allowlist=(eo=ro.url_allowlist)===null||eo===void 0?void 0:eo.map((function(no){return new RegExp(no)})),ro.url_ignorelist=(to=ro.url_ignorelist)===null||to===void 0?void 0:to.map((function(no){return new RegExp(no)})),ro}},{key:"_addDomEventHandlers",value:function(){var eo=this;if(this.isBrowserSupported()){if(T$2&&D){var to=function(no){no=no||(T$2==null?void 0:T$2.event);try{eo._captureEvent(no)}catch(io){G.error("Failed to capture event",io)}},ro=function(no){no=no||(T$2==null?void 0:T$2.event),eo._captureEvent(no,Hr)};oe(D,"submit",to,!1,!0),oe(D,"change",to,!1,!0),oe(D,"click",to,!1,
377!0),this.config.capture_copied_text&&(oe(D,"copy",ro,!1,!0),oe(D,"cut",ro,!1,!0))}}else G.info("Disabling Automatic Event Collection because this browser is not supported")}},{key:"startIfEnabled",value:function(){this.isEnabled&&!this._initialized&&(this._addDomEventHandlers(),this._initialized=!0)}},{key:"afterDecideResponse",value:function(eo){eo.elementsChainAsString&&(this._elementsChainAsString=eo.elementsChainAsString),this.instance.persistence&&this.instance.persistence.register(o({},he,!!eo.autocapture_opt_out)),this._isDisabledServerSide=!!eo.autocapture_opt_out,this.startIfEnabled()}},{key:"setElementSelectors",value:function(eo){this._elementSelectors=eo}},{key:"getElementSelectors",value:function(eo){var to,ro=[];return(to=this._elementSelectors)===null||to===void 0||to.forEach((function(no){var io=D==null?void 0:D.querySelectorAll(no);io==null||io.forEach((function(oo){eo===oo&&ro.push(no)}))})),ro}},{key:"isEnabled",get:function(){var eo,to,ro=(eo=this.instance.persistence)===null||eo===void 0?void 0:eo.props[he],no=this._isDisabledServerSide;if(I(no)&&!x$2(ro)&&!this.instance.config.advanced_disable_decide)return!1;var io=(to=this._isDisabledServerSide)!==null&&to!==void 0?to:!!ro;return!!this.instance.config.autocapture&&!io}},{key:"_previousElementSibling",value:function(eo){if(eo.previousElementSibling)return eo.previousElementSibling;var to=eo;do to=to.previousSibling;while(to&&!$n(to));return to}},{key:"_getAugmentPropertiesFromElement",value:function(eo){if(!Nn(eo))return{};var to={};return Q(eo.attributes,(function(ro){if(ro.name&&ro.name.indexOf("data-ph-capture-attribute")===0){var no=ro.name.replace("data-ph-capture-attribute-",""),io=ro.value;no&&io&&zn(io)&&(to[no]=io)}})),to}},{key:"_getPropertiesFromElement",value:function(eo,to,ro){var no,io=eo.tagName.toLowerCase(),oo={tag_name:io};Dn.indexOf(io)>-1&&!ro&&(io.toLowerCase()==="a"||io.toLowerCase()==="button"?oo.$el_text=Ur(1024,Qn(eo)):oo.$el_text=Ur(1024,Cn(eo)));var ao=Pn(eo);ao.length>0&&(oo.classes=ao.filter((function(fo){return fo!==""})));var so=(no=this.config)===null||no===void 0?void 0:no.element_attribute_ignorelist;Q(eo.attributes,(function(fo){var ho;if((!Bn(eo)||["name","id","class","aria-label"].indexOf(fo.name)!==-1)&&(so==null||!so.includes(fo.name))&&!to&&zn(fo.value)&&(ho=fo.name,!S$1(ho)||ho.substring(0,10)!=="_ngcontent"&&ho.substring(0,7)!=="_nghost")){var mo=fo.value;fo.name==="class"&&(mo=Fn(mo).join(" ")),oo["attr__"+fo.name]=Ur(1024,mo)}}));for(var lo=1,co=1,uo=eo;uo=this._previousElementSibling(uo);)lo++,uo.tagName===eo.tagName&&co++;return oo.nth_child=lo,oo.nth_of_type=co,oo}},{key:"_getDefaultProperties",value:function(eo){return{$event_type:eo,$ce_version:1}}},{key:"_getEventTarget",value:function(eo){return w(eo.target)?eo.srcElement||null:(to=eo.target)!==null&&to!==void 0&&to.shadowRoot?eo.composedPath()[0]||null:eo.target||null;var to}},{key:"_captureEvent",value:function(eo){var to=this,ro=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"$autocapture";if(this.isEnabled){var no,io=this._getEventTarget(eo);Mn(io)&&(io=io.parentNode||null),ro==="$autocapture"&&eo.type==="click"&&eo instanceof MouseEvent&&this.instance.config.rageclick&&(no=this.rageclicks)!==null&&no!==void 0&&no.isRageClick(eo.clientX,eo.clientY,new Date().getTime())&&this._captureEvent(eo,"$rageclick");var oo=ro===Hr;if(io&&qn(io,eo,this.config,oo,oo?["copy","cut"]:void 0)){for(var ao,so,lo=[io],co=io;co.parentNode&&!On(co,"body");)An(co.parentNode)?(lo.push(co.parentNode.host),co=co.parentNode.host):(lo.push(co.parentNode),co=co.parentNode);var uo,fo,ho=[],mo={},vo=!1;if(Q(lo,(function(Po){var zo=Nn(Po);Po.tagName.toLowerCase()==="a"&&(uo=Po.getAttribute("href"),uo=zo&&zn(uo)&&uo),Y$1(Pn(Po),"ph-no-capture")&&(vo=!0),ho.push(to._getPropertiesFromElement(Po,to.instance.config.mask_all_element_attributes,to.instance.config.mask_all_text));var Ho=to._getAugmentPropertiesFromElement(Po);J(mo,Ho)})),this.instance.config.mask_all_text||(io.tagName.toLowerCase()==="a"||io.tagName.toLowerCase()==="button"?ho[0].$el_text=Qn(io):ho[0].$el_text=Cn(io)),uo){var Co,bo;ho[0].attr__href=uo;var wo=(Co=pt(uo))===null||Co===void 0?void 0:Co.host,yo=T$2==null||(bo=T$2.location)===null||bo===void 0?void 0:bo.host;wo&&yo&&wo!==yo&&(fo=uo)}if(vo)return!1;
377var Eo=J(this._getDefaultProperties(eo.type),this._elementsChainAsString?{$elements_chain:Yn(ho)}:{$elements:ho},(ao=ho[0])!==null&&ao!==void 0&&ao.$el_text?{$el_text:(so=ho[0])===null||so===void 0?void 0:so.$el_text}:{},fo&&eo.type==="click"?{$external_click_url:fo}:{},mo),xo=this.getElementSelectors(io);if(xo&&xo.length>0&&(Eo.$element_selectors=xo),ro===Hr){var So,To=Tn(T$2==null||(So=T$2.getSelection())===null||So===void 0?void 0:So.toString()),Ro=eo.type||"clipboard";if(!To)return!1;Eo.$selected_content=To,Eo.$copy_type=Ro}return this.instance.capture(ro,Eo),!0}}}},{key:"isBrowserSupported",value:function(){return y$2(D==null?void 0:D.querySelectorAll)}}]),Yi})(),Wr=(function(){function Yi(eo){var to=this;i$6(this,Yi),o(this,"_restoreXHRPatch",void 0),o(this,"_restoreFetchPatch",void 0),o(this,"_startCapturing",(function(){w(to._restoreXHRPatch)&&U$2.postHogTracingHeadersPatchFns._patchXHR(to.instance.sessionManager),w(to._restoreFetchPatch)&&U$2.postHogTracingHeadersPatchFns._patchFetch(to.instance.sessionManager)})),this.instance=eo}return s$3(Yi,[{key:"_loadScript",value:function(eo){U$2.postHogTracingHeadersPatchFns&&eo(),this.instance.requestRouter.loadScript("/static/tracing-headers.js?v=".concat(f$1.LIB_VERSION),(function(to){if(to)return G.error("[TRACING-HEADERS] failed to load script",to);eo()}))}},{key:"startIfEnabledOrStop",value:function(){var eo,to;this.instance.config.__add_tracing_headers?this._loadScript(this._startCapturing):((eo=this._restoreXHRPatch)===null||eo===void 0||eo.call(this),(to=this._restoreFetchPatch)===null||to===void 0||to.call(this),this._restoreXHRPatch=void 0,this._restoreFetchPatch=void 0)}}]),Yi})();(function(Yi){Yi[Yi.PENDING=-1]="PENDING",Yi[Yi.DENIED=0]="DENIED",Yi[Yi.GRANTED=1]="GRANTED"})(jr||(jr={}));var Vr=(function(){function Yi(eo){i$6(this,Yi),this.instance=eo}return s$3(Yi,[{key:"config",get:function(){return this.instance.config}},{key:"consent",get:function(){return this.getDnt()?jr.DENIED:this.storedConsent}},{key:"isOptedOut",value:function(){return this.consent===jr.DENIED||this.consent===jr.PENDING&&this.config.opt_out_capturing_by_default}},{key:"isOptedIn",value:function(){return!this.isOptedOut()}},{key:"optInOut",value:function(eo){this.storage.set(this.storageKey,eo?1:0,this.config.cookie_expiration,this.config.cross_subdomain_cookie,this.config.secure_cookie)}},{key:"reset",value:function(){this.storage.remove(this.storageKey,this.config.cross_subdomain_cookie)}},{key:"storageKey",get:function(){var eo=this.instance.config,to=eo.token;return(eo.opt_out_capturing_cookie_prefix||"__ph_opt_in_out_")+to}},{key:"storedConsent",get:function(){var eo=this.storage.get(this.storageKey);return eo==="1"?jr.GRANTED:eo==="0"?jr.DENIED:jr.PENDING}},{key:"storage",get:function(){if(!this._storage){var eo=this.config.opt_out_capturing_persistence_type;this._storage=eo==="localStorage"?at$1:st;var to=eo==="localStorage"?st:at$1;to.get(this.storageKey)&&(this._storage.get(this.storageKey)||this.optInOut(to.get(this.storageKey)==="1"),to.remove(this.storageKey,this.config.cross_subdomain_cookie))}return this._storage}},{key:"getDnt",value:function(){return!!this.config.respect_dnt&&!!ae$1([A$1==null?void 0:A$1.doNotTrack,A$1==null?void 0:A$1.msDoNotTrack,U$2.doNotTrack],(function(eo){return Y$1([!0,1,"1","yes"],eo)}))}}]),Yi})(),zr=9e5,Qr="[Web Vitals]",Jr=(function(){function Yi(eo){var to,ro=this;i$6(this,Yi),o(this,"_enabledServerSide",!1),o(this,"_initialized",!1),o(this,"buffer",{url:void 0,metrics:[],firstMetricTimestamp:void 0}),o(this,"_flushToCapture",(function(){clearTimeout(ro._delayedFlushTimer),ro.buffer.metrics.length!==0&&(ro.instance.capture("$web_vitals",ro.buffer.metrics.reduce((function(no,io){var oo;return t$2(t$2({},no),{},(o(oo={},"$web_vitals_".concat(io.name,"_event"),t$2({},io)),o(oo,"$web_vitals_".concat(io.name,"_value"),io.value),oo))}),{})),ro.buffer={url:void 0,metrics:[],firstMetricTimestamp:void 0})})),o(this,"_addToBuffer",(function(no){var io,oo=(io=ro.instance.sessionManager)===null||io===void 0?void 0:io.checkAndGetSessionAndWindowId(!0);if(w(oo))G.error(Qr+"Could not read session ID. Dropping metrics!");else{ro.buffer=ro.buffer||{};var ao=ro._currentURL();w(ao)||(R$1(no==null?void 0:no.name)||R$1(no==null?void 0:no.value)?G.error(Qr+"Invalid metric received",no):ro._maxAllowedValue&&no.value>=ro._maxAllowedValue?G.error(Qr+"Ignoring metric with value >= "+ro._maxAllowedValue,no):(ro.buffer.url!==ao&&(ro._flushToCapture(),ro._delayedFlushTimer=setTimeout(ro._flushToCapture,8e3)),w(ro.buffer.url)&&(ro.buffer.url=ao),ro.buffer.firstMetricTimestamp=w(ro.buffer.firstMetricTimestamp)?Date.now():ro.buffer.firstMetricTimestamp,ro.buffer.metrics.push(t$2(t$2({},no),{},{$current_url:ao,$session_id:oo.sessionId,$window_id:oo.windowId,timestamp:Date.now()})),ro.buffer.metrics.length===4&&ro._flushToCapture()))}})),o(this,"_startCapturing",(function(){var no=U$2.postHogWebVitalsCallbacks,io=no.onLCP,oo=no.onCLS,ao=no.onFCP,so=no.onINP;io&&oo&&ao&&so?(io(ro._addToBuffer),oo(ro._addToBuffer),ao(ro._addToBuffer),so(ro._addToBuffer),ro._initialized=!0):G.error(Qr+"web vitals callbacks not loaded - not starting")})),this.instance=eo,this._enabledServerSide=!((to=this.instance.persistence)===null||to===void 0||!to.props[ge]),this.startIfEnabled()}return s$3(Yi,[{key:"_maxAllowedValue",get:function(){var eo=b(this.instance.config.capture_performance)&&F$1(this.instance.config.capture_performance.__web_vitals_max_value)?this.instance.config.capture_performance.__web_vitals_max_value:zr;return 0<eo&&eo<=6e4?zr:eo}},{key:"isEnabled",get:function(){var eo=b(this.instance.config.capture_performance)?this.instance.config.capture_performance.web_vitals:void 0;return x$2(eo)?eo:this._enabledServerSide}},{key:"startIfEnabled",value:function(){this.isEnabled&&!this._initialized&&(G.info(Qr+" enabled, starting..."),this.loadScript(this._startCapturing))}},{key:"afterDecideResponse",value:function(eo){var to=b(eo.capturePerformance)&&!!eo.capturePerformance.web_vitals;this.instance.persistence&&this.instance.persistence.register(o({},ge,to)),this._enabledServerSide=to,this.startIfEnabled()}},{key:"loadScript",value:function(eo){T$2.postHogWebVitalsCallbacks&&eo(),this.instance.requestRouter.loadScript(this.instance.requestRouter.endpointFor("assets","/static/web-vitals.js?v=".concat(f$1.LIB_VERSION)),(function(to){to?G.error(Qr+" failed to load script",to):eo()}))}},{key:"_currentURL",value:function(){var eo=T$2?T$2.location.href:void 0;return eo||G.error(Qr+"Could not determine current URL"),eo}}]),Yi})(),Yr={},Xr=function(){},Kr="posthog",Zr=!tr&&(H$1==null?void 0:H$1.indexOf("MSIE"))===-1&&(H$1==null?void 0:H$1.indexOf("Mozilla"))===-1,es=function(){var Yi,eo,to;return{api_host:"https://us.i.posthog.com",ui_host:null,token:"",autocapture:!0,rageclick:!0,cross_subdomain_cookie:(eo=D==null?void 0:D.location,to=eo==null?void 0:eo.hostname,!!S$1(to)&&to.split(".").slice(-2).join(".")!=="herokuapp.com"),persistence:"localStorage+cookie",persistence_name:"",loaded:Xr,store_google:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageview:!0,capture_pageleave:"if_capture_pageview",debug:L$1&&S$1(L$1==null?void 0:L$1.search)&&L$1.search.indexOf("__posthog_debug=true")!==-1||!1,verbose
377:!1,cookie_expiration:365,upgrade:!1,disable_session_recording:!1,disable_persistence:!1,disable_surveys:!1,enable_recording_console_log:void 0,secure_cookie:(T$2==null||(Yi=T$2.location)===null||Yi===void 0?void 0:Yi.protocol)==="https:",ip:!0,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_useragent_filter:!1,opt_out_capturing_persistence_type:"localStorage",opt_out_capturing_cookie_prefix:null,opt_in_site_apps:!1,property_denylist:[],respect_dnt:!1,sanitize_properties:null,request_headers:{},inapp_protocol:"//",inapp_link_new_window:!1,request_batching:!0,properties_string_max_length:65535,session_recording:{},mask_all_element_attributes:!1,mask_all_text:!1,advanced_disable_decide:!1,advanced_disable_feature_flags:!1,advanced_disable_feature_flags_on_first_load:!1,advanced_disable_toolbar_metrics:!1,feature_flag_request_timeout_ms:3e3,on_request_error:function(ro){var no="Bad HTTP status: "+ro.statusCode+" "+ro.text;G.error(no)},get_device_id:function(ro){return ro},_onCapture:Xr,capture_performance:void 0,name:"posthog",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:"always",__add_tracing_headers:!1}},ts=function(Yi){var eo={};w(Yi.process_person)||(eo.person_profiles=Yi.process_person),w(Yi.xhr_headers)||(eo.request_headers=Yi.xhr_headers),w(Yi.cookie_name)||(eo.persistence_name=Yi.cookie_name),w(Yi.disable_cookie)||(eo.disable_persistence=Yi.disable_cookie);var to=J({},eo,Yi);return m$1(Yi.property_blacklist)&&(w(Yi.property_denylist)?to.property_denylist=Yi.property_blacklist:m$1(Yi.property_denylist)?to.property_denylist=[].concat(l(Yi.property_blacklist),l(Yi.property_denylist)):G.error("Invalid value for property_denylist config: "+Yi.property_denylist)),to},ns$1=(function(){function Yi(){i$6(this,Yi),o(this,"__forceAllowLocalhost",!1)}return s$3(Yi,[{key:"_forceAllowLocalhost",get:function(){return this.__forceAllowLocalhost},set:function(eo){G.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=eo}}]),Yi})(),is=(function(){function Yi(){var eo=this;i$6(this,Yi),o(this,"webPerformance",new ns$1),o(this,"version",f$1.LIB_VERSION),o(this,"_internalEventEmitter",new Rr),this.config=es(),this.decideEndpointWasHit=!1,this.SentryIntegration=yr,this.sentryIntegration=function(to){return(function(ro,no){var io=mr(ro,no);return{name:_r,processEvent:function(oo){return io(oo)}}})(eo,to)},this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this.featureFlags=new We(this),this.toolbar=new mi(this),this.scrollManager=new Br(this),this.pageViewManager=new Er(this),this.surveys=new Cr(this),this.rateLimiter=new $r(this),this.requestRouter=new fr(this),this.consent=new Vr(this),this.people={set:function(to,ro,no){var io=S$1(to)?o({},to,ro):to;eo.setPersonProperties(io),no==null||no({})},set_once:function(to,ro,no){var io=S$1(to)?o({},to,ro):to;eo.setPersonProperties(void 0,io),no==null||no({})}},this.on("eventCaptured",(function(to){return G.info("send",to)}))}return s$3(Yi,[{key:"init",value:function(eo,to,ro){if(ro&&ro!==Kr){var no,io=(no=Yr[ro])!==null&&no!==void 0?no:new Yi;return io._init(eo,to,ro),Yr[ro]=io,Yr[Kr][ro]=io,io}return this._init(eo,to,ro)}},{key:"_init",value:function(eo){var to,ro,no=this,io=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},oo=arguments.length>2?arguments[2]:void 0;if(w(eo)||E$1(eo))return G.critical("PostHog was initialized without a token. This likely indicates a misconfiguration. Please check the first argument passed to posthog.init()"),this;if(this.__loaded)return G.warn("You have already initialized PostHog! Re-initializing is a no-op"),this;this.__loaded=!0,this.config={},this._triggered_notifs=[],this.set_config(J({},es(),ts(io),{name:oo,token:eo})),this.config.on_xhr_error&&G.error("[posthog] on_xhr_error is deprecated. Use on_request_error instead"),this.compression=io.disable_compression?void 0:re$1.GZipJS,this.persistence=new bn(this.config),this.sessionPersistence=this.config.persistence==="sessionStorage"?this.persistence:new bn(t$2(t$2({},this.config),{},{persistence:"sessionStorage"}));var ao=t$2({},this.persistence.props),so=t$2({},this.sessionPersistence.props);if(this._requestQueue=new yi((function(wo){return no._send_retriable_request(wo)})),this._retryQueue=new lr(this),this.__request_queue=[],this.sessionManager=new dr(this.config,this.persistence),this.sessionPropsManager=new Mr(this.sessionManager,this.persistence),new Wr(this).startIfEnabledOrStop(),this.sessionRecording=new vi(this),this.sessionRecording.startIfEnabledOrStop(),this.config.disable_scroll_properties||this.scrollManager.startMeasuringScrollPosition(),this.autocapture=new Gr(this),this.autocapture.startIfEnabled(),this.surveys.loadIfEnabled(),this.heatmaps=new Nr(this),this.heatmaps.startIfEnabled(),this.webVitalsAutocapture=new Jr(this),this.exceptionObserver=new gr(this),this.exceptionObserver.startIfEnabled(),f$1.DEBUG=f$1.DEBUG||this.config.debug,f$1.DEBUG&&G.info("Starting in debug mode",{this:this,config:io,thisC:t$2({},this.config),p:ao,s:so}),this._sync_opt_out_with_persistence(),((to=io.bootstrap)===null||to===void 0?void 0:to.distinctID)!==void 0){var lo,co,uo=this.config.get_device_id(Ke()),fo=(lo=io.bootstrap)!==null&&lo!==void 0&&lo.isIdentifiedID?uo:io.bootstrap.distinctID;this.persistence.set_property($e,(co=io.bootstrap)!==null&&co!==void 0&&co.isIdentifiedID?"identified":"anonymous"),this.register({distinct_id:io.bootstrap.distinctID,$device_id:fo})}if(this._hasBootstrappedFeatureFlags()){var ho,mo,vo=Object.keys(((ho=io.bootstrap)===null||ho===void 0?void 0:ho.featureFlags)||{}).filter((function(wo){var yo,Eo;return!((yo=io.bootstrap)===null||yo===void 0||(Eo=yo.featureFlags)===null||Eo===void 0||!Eo[wo])})).reduce((function(wo,yo){var Eo,xo;return wo[yo]=((Eo=io.bootstrap)===null||Eo===void 0||(xo=Eo.featureFlags)===null||xo===void 0?void 0:xo[yo])||!1,wo}),{}),Co=Object.keys(((mo=io.bootstrap)===null||mo===void 0?void 0:mo.featureFlagPayloads)||{}).filter((function(wo){return vo[wo]})).reduce((function(wo,yo){var Eo,xo,So,To;return(Eo=io.bootstrap)!==null&&Eo!==void 0&&(xo=Eo.featureFlagPayloads)!==null&&xo!==void 0&&xo[yo]&&(wo[yo]=(So=io.bootstrap)===null||So===void 0||(To=So.featureFlagPayloads)===null||To===void 0?void 0:To[yo]),wo}),{});this.featureFlags.receivedFeatureFlags({featureFlags:vo,featureFlagPayloads:Co})}if(!this.get_distinct_id()){var bo=this.config.get_device_id(Ke());this.register_once({distinct_id:bo,$device_id:bo},""),this.persistence.set_property($e,"anonymous")}return T$2==null||(ro=T$2.addEventListener)===null||ro===void 0||ro.call(T$2,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this)),this.toolbar.maybeLoadToolbar(),io.segment?br(this,(function(){return no._loaded()})):this._loaded(),y$2(this.config._onCapture)&&this.on("eventCaptured",(function(wo){return no.config._onCapture(wo.event,wo)})),this}},{key:"_afterDecideResponse",value:function(eo){var to,ro,no,io,oo,ao,so;this.compression=void 0,eo.supportedCompression&&!this.config.disable_compression&&(this.compression=Y$1(eo.supportedCompression,re$1.GZipJS)?re$1.GZipJS:Y$1(eo.supportedCompression,re$1.Base64)?re$1.Base64:void 0),(to=eo.analytics)!==null&&to!==void 0&&to.endpoint&&(this.analyticsDefaultEndpoint=eo.analytics.endpoint),(ro=this.sessionRecording)===null||ro===void 0||ro.afterDecideResponse(eo),(no=this.autocapture)===null||no===void 0||no.afterDecideResponse(eo),(io=this.heatmaps)===null||io===void 0||io.afterDecideResponse(eo),(oo=this.surveys)===null||oo===void 0||oo.afterDecideResponse(eo),(ao=this.webVitalsAutocapture)===null||ao===void 0||ao.afterDecideResponse(eo),(so=this.exceptionObserver)===null||so===void 0||so.afterDecideResponse(eo)}},{key:"_loaded",value:function(){var eo=this,to=this.config.advanced_disable_decide;to||this.featureFlags.setReloadingPaused(!0);try{this.config.loaded(this)}catch(ro){G.critical("`loaded` function failed",ro)}this._start_queue_if_opted_in(),this.config.capture_pageview&&setTimeout((function(){D&&eo.capture("$pageview",{title:D.title},{send_instantly:!0})}),1),to||(new pi$2(this).call(),this.featureFlags.resetRequestQueue())}},{key:"_start_queue_if_opted_in",value:function(){var eo;this.has_opted_out_capturing()||this.config.request_batching&&((eo=this._requestQueue)===null||eo===void 0||eo.enable())}},{key:"_dom_loaded",value:function(){var eo=this;this.has_opted_out_capturing()||z$1(this.__request_queue,(function(to){return eo._send_retriable_request(to)})),this.__request_queue=[],this._start_queue_if_opted_in()}},{key:"_handle_unload",value:function(){var eo,to;this.config.request_batching?(this._shouldCapturePageleave()&&this.capture("$pageleave"),(eo=this._requestQueue)===null||eo===void 0||eo.unload(),(to=this._retryQueue)===null||to===void 0||to.unload()):this._shouldCapturePageleave()&&this.capture("$pageleave",null,{transport:"sendBeacon"})}},{key:"_send_request",value:function(eo){var to=this;this.__loaded&&(Zr?this.__request_queue.push(eo):this.rateLimiter.isServerRateLimited(eo.batchKey)||(eo.transport=eo.transport||this.config.api_transport,eo.url=ir(eo.url,{ip:this.config.ip?1:0}),eo.headers=t$2({},this.config.request_headers),eo.compression=eo.compression==="best-available"?this.compression:eo.compression,(function(ro){var no,io,oo,ao=t$2({},ro);ao.timeout=ao.timeout||6e4,ao.url=ir(ao.url,{_:new Date().getTime().toString(),ver:f$1.LIB_VERSION,compression:ao.compression});var so=(no=ao.transport)!==null&&no!==void 0?no:"XHR",lo=(io=(oo=ae$1(or,(function(co){return co.transport===so})))===null||oo===void 0?void 0:oo.method)!==null&&io!==void 0?io:or[0].method;if(!lo)throw new Error("No available transport method");lo(ao)})(t$2(t$2({},eo),{},{callback:function(ro){var no,io,oo;to.rateLimiter.checkForLimiting(ro),ro.statusCode>=400&&((io=(oo=to.config).on_request_error)===null||io===void 0||io.call(oo,ro)),(no=eo.callback)===null||no===void 0||no.call(eo,ro)}}))))}},{key:"_send_retriable_request",value:function(eo){this._retryQueue?this._retryQueue.retriableRequest(eo):this._send_request(eo)}},{key:"_execute_array",value:function(eo){var to,ro=this,no=[],io=[],oo=[];z$1(eo,(function(so){so&&(to=so[0],m$1(to)?oo.push(so):y$2(so)?so.call(ro):m$1(so)&&to==="alias"?no.push(so):m$1(so)&&to.indexOf("capture")!==-1&&y$2(ro[to])?oo.push(so):io.push(so))}));
377var ao=function(so,lo){z$1(so,(function(co){if(m$1(co[0])){var uo=lo;Q(co,(function(fo){uo=uo[fo[0]].apply(uo,fo.slice(1))}))}else this[co[0]].apply(this,co.slice(1))}),lo)};ao(no,this),ao(io,this),ao(oo,this)}},{key:"_hasBootstrappedFeatureFlags",value:function(){var eo,to;return((eo=this.config.bootstrap)===null||eo===void 0?void 0:eo.featureFlags)&&Object.keys((to=this.config.bootstrap)===null||to===void 0?void 0:to.featureFlags).length>0||!1}},{key:"push",value:function(eo){this._execute_array([eo])}},{key:"capture",value:function(eo,to,ro){var no;if(!(this.__loaded&&this.persistence&&this.sessionPersistence&&this._requestQueue))return G.uninitializedWarning("posthog.capture");if(!this.consent.isOptedOut())if(!w(eo)&&S$1(eo)){if(!H$1||this.config.opt_out_useragent_filter||!Dr(H$1,this.config.custom_blocked_useragents)){var io=ro!=null&&ro.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(io==null||!io.isRateLimited){this.sessionPersistence.update_search_keyword(),this.config.store_google&&this.sessionPersistence.update_campaign_params(),this.config.save_referrer&&this.sessionPersistence.update_referrer_info(),(this.config.store_google||this.config.save_referrer)&&this.persistence.set_initial_person_info();var oo=new Date,ao=(ro==null?void 0:ro.timestamp)||oo,so={uuid:Ke(),event:eo,properties:this._calculate_event_properties(eo,to||{},ao)};io&&(so.properties.$lib_rate_limit_remaining_tokens=io.remainingTokens),ro!=null&&ro.$set&&(so.$set=ro==null?void 0:ro.$set);var lo=this._calculate_set_once_properties(ro==null?void 0:ro.$set_once);lo&&(so.$set_once=lo),(so=ie(so,ro!=null&&ro._noTruncate?null:this.config.properties_string_max_length)).timestamp=ao,w(ro==null?void 0:ro.timestamp)||(so.properties.$event_time_override_provided=!0,so.properties.$event_time_override_system_time=oo);var co=t$2(t$2({},so.properties.$set),so.$set);k$2(co)||this.setPersonPropertiesForFlags(co),this._internalEventEmitter.emit("eventCaptured",so);var uo={method:"POST",url:(no=ro==null?void 0:ro._url)!==null&&no!==void 0?no:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:so,compression:"best-available",batchKey:ro==null?void 0:ro._batchKey};return!this.config.request_batching||ro&&(ro==null||!ro._batchKey)||ro!=null&&ro.send_instantly?this._send_retriable_request(uo):this._requestQueue.enqueue(uo),so}G.critical("This capture call is ignored due to client rate limiting.")}}else G.error("No event name provided to posthog.capture")}},{key:"_addCaptureHook",value:function(eo){this.on("eventCaptured",(function(to){return eo(to.event,to)}))}},{key:"_calculate_event_properties",value:function(eo,to,ro){if(ro=ro||new Date,!this.persistence||!this.sessionPersistence)return to;var no=this.persistence.remove_event_timer(eo),io=t$2({},to);if(io.token=this.config.token,eo==="$snapshot"){var oo=t$2(t$2({},this.persistence.properties()),this.sessionPersistence.properties());return io.distinct_id=oo.distinct_id,(!S$1(io.distinct_id)&&!F$1(io.distinct_id)||E$1(io.distinct_id))&&G.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),io}var ao=mn.properties();if(this.sessionManager){var so=this.sessionManager.checkAndGetSessionAndWindowId(),lo=so.sessionId,co=so.windowId;io.$session_id=lo,io.$window_id=co}if(this.requestRouter.region===ur.CUSTOM&&(io.$lib_custom_api_host=this.config.api_host),this.sessionPropsManager&&this.config.__preview_send_client_session_params&&(eo==="$pageview"||eo==="$pageleave"||eo==="$autocapture")){var uo=this.sessionPropsManager.getSessionProps();io=J(io,uo)}if(!this.config.disable_scroll_properties){var fo={};eo==="$pageview"?fo=this.pageViewManager.doPageView(ro):eo==="$pageleave"&&(fo=this.pageViewManager.doPageLeave(ro)),io=J(io,fo)}if(eo==="$pageview"&&D&&(io.title=D.title),!w(no)){var ho=ro.getTime()-no;io.$duration=parseFloat((ho/1e3).toFixed(3))}H$1&&this.config.opt_out_useragent_filter&&(io.$browser_type=Dr(H$1,this.config.custom_blocked_useragents)?"bot":"browser"),(io=J({},ao,this.persistence.properties(),this.sessionPersistence.properties(),io)).$is_identified=this._isIdentified(),m$1(this.config.property_denylist)?Q(this.config.property_denylist,(function(vo){delete io[vo]})):G.error("Invalid value for property_denylist config: "+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var mo=this.config.sanitize_properties;return mo&&(io=mo(io,eo)),io.$process_person_profile=this._hasPersonProcessing(),io}},{key:"_calculate_set_once_properties",value:function(eo){if(!this.persistence||!this._hasPersonProcessing())return eo;var to=J({},this.persistence.get_initial_props(),eo||{});return k$2(to)?void 0:to}},{key:"register",value:function(eo,to){var ro;(ro=this.persistence)===null||ro===void 0||ro.register(eo,to)}},{key:"register_once",value:function(eo,to,ro){var no;(no=this.persistence)===null||no===void 0||no.register_once(eo,to,ro)}},{key:"register_for_session",value:function(eo){var to;(to=this.sessionPersistence)===null||to===void 0||to.register(eo)}},{key:"unregister",value:function(eo){var to;(to=this.persistence)===null||to===void 0||to.unregister(eo)}},{key:"unregister_for_session",value:function(eo){var to;(to=this.sessionPersistence)===null||to===void 0||to.unregister(eo)}},{key:"_register_single",value:function(eo,to){this.register(o({},eo,to))}},{key:"getFeatureFlag",value:function(eo,to){return this.featureFlags.getFeatureFlag(eo,to)}},{key:"getFeatureFlagPayload",value:function(eo){var to=this.featureFlags.getFeatureFlagPayload(eo);try{return JSON.parse(to)}catch{return to}}},{key:"isFeatureEnabled",value:function(eo,to){return this.featureFlags.isFeatureEnabled(eo,to)}},{key:"reloadFeatureFlags",value:function(){this.featureFlags.reloadFeatureFlags()}},{key:"updateEarlyAccessFeatureEnrollment",value:function(eo,to){this.featureFlags.updateEarlyAccessFeatureEnrollment(eo,to)}},{key:"getEarlyAccessFeatures",value:function(eo){var to=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return this.featureFlags.getEarlyAccessFeatures(eo,to)}},{key:"on",value:function(eo,to){return this._internalEventEmitter.on(eo,to)}},{key:"onFeatureFlags",value:function(eo){return this.featureFlags.onFeatureFlags(eo)}},{key:"onSessionId",value:function(eo){var to,ro;return(to=(ro=this.sessionManager)===null||ro===void 0?void 0:ro.onSessionId(eo))!==null&&to!==void 0?to:function(){}}},{key:"getSurveys",value:function(eo){var to=arguments.length>1&&arguments[1]!==void 0&&arguments[1];this.surveys.getSurveys(eo,to)}},{key:"getActiveMatchingSurveys",value:function(eo){var to=arguments.length>1&&arguments[1]!==void 0&&arguments[1];this.surveys.getActiveMatchingSurveys(eo,to)}},{key:"renderSurvey",value:function(eo,to){this.surveys.renderSurvey(eo,to)}},{key:"canRenderSurvey",value:function(eo){this.surveys.canRenderSurvey(eo)}},{key:"getNextSurveyStep",value:function(eo,to,ro){return this.surveys.getNextSurveyStep(eo,to,ro)}}
377,{key:"identify",value:function(eo,to,ro){if(!this.__loaded||!this.persistence)return G.uninitializedWarning("posthog.identify");if(F$1(eo)&&(eo=eo.toString(),G.warn("The first argument to posthog.identify was a number, but it should be a string. It has been converted to a string.")),eo){if(["distinct_id","distinctid"].includes(eo.toLowerCase()))G.critical('The string "'.concat(eo,'" was set in posthog.identify which indicates an error. This ID should be unique to the user and not a hardcoded string.'));else if(this._requirePersonProcessing("posthog.identify")){var no=this.get_distinct_id();if(this.register({$user_id:eo}),!this.get_property("$device_id")){var io=no;this.register_once({$had_persisted_distinct_id:!0,$device_id:io},"")}eo!==no&&eo!==this.get_property(ce)&&(this.unregister(ce),this.register({distinct_id:eo}));var oo=(this.persistence.get_property($e)||"anonymous")==="anonymous";eo!==no&&oo?(this.persistence.set_property($e,"identified"),this.setPersonPropertiesForFlags(to||{},!1),this.capture("$identify",{distinct_id:eo,$anon_distinct_id:no},{$set:to||{},$set_once:ro||{}}),this.featureFlags.setAnonymousDistinctId(no)):(to||ro)&&this.setPersonProperties(to,ro),eo!==no&&(this.reloadFeatureFlags(),this.unregister(Ce))}}else G.error("Unique user id has not been set in posthog.identify")}},{key:"setPersonProperties",value:function(eo,to){(eo||to)&&this._requirePersonProcessing("posthog.setPersonProperties")&&(this.setPersonPropertiesForFlags(eo||{}),this.capture("$set",{$set:eo||{},$set_once:to||{}}))}},{key:"group",value:function(eo,to,ro){if(eo&&to){if(this._requirePersonProcessing("posthog.group")){var no=this.getGroups();no[eo]!==to&&this.resetGroupPropertiesForFlags(eo),this.register({$groups:t$2(t$2({},no),{},o({},eo,to))}),ro&&(this.capture("$groupidentify",{$group_type:eo,$group_key:to,$group_set:ro}),this.setGroupPropertiesForFlags(o({},eo,ro))),no[eo]===to||ro||this.reloadFeatureFlags()}}else G.error("posthog.group requires a group type and group key")}},{key:"resetGroups",value:function(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}},{key:"setPersonPropertiesForFlags",value:function(eo){var to=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];this._requirePersonProcessing("posthog.setPersonPropertiesForFlags")&&this.featureFlags.setPersonPropertiesForFlags(eo,to)}},{key:"resetPersonPropertiesForFlags",value:function(){this.featureFlags.resetPersonPropertiesForFlags()}},{key:"setGroupPropertiesForFlags",value:function(eo){var to=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];this._requirePersonProcessing("posthog.setGroupPropertiesForFlags")&&this.featureFlags.setGroupPropertiesForFlags(eo,to)}},{key:"resetGroupPropertiesForFlags",value:function(eo){this.featureFlags.resetGroupPropertiesForFlags(eo)}},{key:"reset",value:function(eo){var to,ro,no,io;if(G.info("reset"),!this.__loaded)return G.uninitializedWarning("posthog.reset");var oo=this.get_property("$device_id");this.consent.reset(),(to=this.persistence)===null||to===void 0||to.clear(),(ro=this.sessionPersistence)===null||ro===void 0||ro.clear(),(no=this.persistence)===null||no===void 0||no.set_property($e,"anonymous"),(io=this.sessionManager)===null||io===void 0||io.resetSessionId();var ao=this.config.get_device_id(Ke());this.register_once({distinct_id:ao,$device_id:eo?ao:oo},"")}},{key:"get_distinct_id",value:function(){return this.get_property("distinct_id")}},{key:"getGroups",value:function(){return this.get_property("$groups")||{}}},{key:"get_session_id",value:function(){var eo,to;return(eo=(to=this.sessionManager)===null||to===void 0?void 0:to.checkAndGetSessionAndWindowId(!0).sessionId)!==null&&eo!==void 0?eo:""}},{key:"get_session_replay_url",value:function(eo){if(!this.sessionManager)return"";var to=this.sessionManager.checkAndGetSessionAndWindowId(!0),ro=to.sessionId,no=to.sessionStartTimestamp,io=this.requestRouter.endpointFor("ui","/project/".concat(this.config.token,"/replay/").concat(ro));if(eo!=null&&eo.withTimestamp&&no){var oo,ao=(oo=eo.timestampLookBack)!==null&&oo!==void 0?oo:10;if(!no)return io;var so=Math.max(Math.floor((new Date().getTime()-no)/1e3)-ao,0);io+="?t=".concat(so)}return io}},{key:"alias",value:function(eo,to){return eo===this.get_property(le$1)?(G.critical("Attempting to create alias for existing People user - aborting."),-2):this._requirePersonProcessing("posthog.alias")?(w(to)&&(to=this.get_distinct_id()),eo!==to?(this._register_single(ce,eo),this.capture("$create_alias",{alias:eo,distinct_id:to})):(G.warn("alias matches current distinct_id - skipping api call."),this.identify(eo),-1)):void 0}},{key:"set_config",value:function(eo){var to,ro,no,io,oo=t$2({},this.config);b(eo)&&(J(this.config,ts(eo)),(to=this.persistence)===null||to===void 0||to.update_config(this.config,oo),this.sessionPersistence=this.config.persistence==="sessionStorage"?this.persistence:new bn(t$2(t$2({},this.config),{},{persistence:"sessionStorage"})),at$1.is_supported()&&at$1.get("ph_debug")==="true"&&(this.config.debug=!0),this.config.debug&&(f$1.DEBUG=!0,G.info("set_config",{config:eo,oldConfig:oo,newConfig:t$2({},this.config)})),(ro=this.sessionRecording)===null||ro===void 0||ro.startIfEnabledOrStop(),(no=this.autocapture)===null||no===void 0||no.startIfEnabled(),(io=this.heatmaps)===null||io===void 0||io.startIfEnabled(),this.surveys.loadIfEnabled(),this._sync_opt_out_with_persistence())}},{key:"startSessionRecording",value:function(eo){if(eo!=null&&eo.sampling){var to,ro,no=(to=this.sessionManager)===null||to===void 0?void 0:to.checkAndGetSessionAndWindowId();(ro=this.persistence)===null||ro===void 0||ro.register(o({},Ee,!0)),G.info("Session recording started with sampling override for session: ",no==null?void 0:no.sessionId)}this.set_config({disable_session_recording:!1})}},{key:"stopSessionRecording",value:function(){this.set_config({disable_session_recording:!0})}},{key:"sessionRecordingStarted",value:function(){var eo;return!((eo=this.sessionRecording)===null||eo===void 0||!eo.started)}},{key:"loadToolbar",value:function(eo){return this.toolbar.loadToolbar(eo)}},{key:"get_property",value:function(eo){var to;return(to=this.persistence)===null||to===void 0?void 0:to.props[eo]}},{key:"getSessionProperty",value:function(eo){var to;return(to=this.sessionPersistence)===null||to===void 0?void 0:to.props[eo]}},{key:"toString",value:function(){var eo,to=(eo=this.config.name)!==null&&eo!==void 0?eo:Kr;return to!==Kr&&(to=Kr+"."+to),to}},{key:"_isIdentified",value:function(){var eo,to;return((eo=this.persistence)===null||eo===void 0?void 0:eo.get_property($e))==="identified"||((to=this.sessionPersistence)===null||to===void 0?void 0:to.get_property($e))==="identified"}},{key:"_hasPersonProcessing",value:function(){var eo,to,ro,no;return!(this.config.person_profiles==="never"||this.config.person_profiles==="identified_only"&&!this._isIdentified()&&k$2(this.getGroups())&&((eo=this.persistence)===null||eo===void 0||(to=eo.props)===null||to===void 0||!to[ce])&&((ro=this.persistence)===null||ro===void 0||(no=ro.props)===null||no===void 0||!no[qe$1]))}},{key:"_shouldCapturePageleave",value:function(){return this.config.capture_pageleave===!0||this.config.capture_pageleave==="if_capture_pageview"&&this.config.capture_pageview}},{key:"createPersonProfile",value:function(){this._hasPersonProcessing()||this._requirePersonProcessing("posthog.createPersonProfile")&&this.setPersonProperties({},{})}},{key:"_requirePersonProcessing",value:function(eo){return this.config.person_profiles==="never"?(G.error(eo+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this._register_single(qe$1,!0),!0)}},{key:"_sync_opt_out_with_persistence",value:function(){var eo,to,ro,no,io=this.consent.isOptedOut(),oo=this.config.opt_out_persistence_by_default,ao=this.config.disable_persistence||io&&!!oo;((eo=this.persistence)===null||eo===void 0?void 0:eo.disabled)!==ao&&((ro=this.persistence)===null||ro===void 0||ro.set_disabled(ao)),((to=this.sessionPersistence)===null||to===void 0?void 0:to.disabled)!==ao&&((no=this.sessionPersistence)===null||no===void 0||no.set_disabled(ao))}},{key:"opt_in_capturing",value:function(eo){var to;this.consent.optInOut(!0),this._sync_opt_out_with_persistence(),(w(eo==null?void 0:eo.captureEventName)||eo!=null&&eo.captureEventName)&&this.capture((to=eo==null?void 0:eo.captureEventName)!==null&&to!==void 0?to:"$opt_in",eo==null?void 0:eo.captureProperties,{send_instantly:!0})}},{key:"opt_out_capturing",value:function(){this.consent.optInOut(!1),this._sync_opt_out_with_persistence()}},{key:"has_opted_in_capturing",value:function(){return this.consent.isOptedIn()}},{key:"has_opted_out_capturing",value:function(){return this.consent.isOptedOut()}},{key:"clear_opt_in_out_capturing",value:function(){this.consent.reset(),this._sync_opt_out_with_persistence()}},{key:"debug",value:function(eo){eo===!1?(T$2==null||T$2.console.log("You've disabled debug mode."),localStorage&&localStorage.removeItem("ph_debug"),this.set_config({debug:!1})):(T$2==null||T$2.console.log("You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`."),localStorage&&localStorage.setItem("ph_debug","true"),this.set_config({debug:!0}))}}]),Yi})();(function(Yi,eo){for(var to=0;to<eo.length;to++)Yi.prototype[eo[to]]=ee$1(Yi.prototype[eo[to]])})(is,["identify"]);var rs,ss=(rs=Yr[Kr]=new is,(function(){function Yi(){Yi.done||(Yi.done=!0,Zr=!1,Q(Yr,(function(eo){eo._dom_loaded()})))}D!=null&&D.addEventListener&&(D.readyState==="complete"?Yi():D.addEventListener("DOMContentLoaded",Yi,!1)),T$2&&oe(T$2,"load",Yi,!0)})(),rs),PostHogContext=reactExports.createContext({client:ss});function PostHogProvider(Yi){var eo=Yi.children,to=Yi.client,ro=Yi.apiKey,no=Yi.options,io=reactExports.useMemo(function(){return to&&ro&&console.warn("[PostHog.js] You have provided both a client and an apiKey to PostHogProvider. The apiKey will be ignored in favour of the client."),to&&no&&console.warn("[PostHog.js] You have provided both a client and options to PostHogProvider. The options will be ignored in favour of the client."),to||(ro&&(ss.__loaded&&console.warn("[PostHog.js] was already loaded elsewhere. This may cause issues."),ss.init(ro,no)),ss)},[to,ro]);return React$1F.createElement(PostHogContext.Provider,{value:{client:io}},eo)}var usePostHog=function(){var Yi=reactExports.useContext(PostHogContext).client;return Yi};function _interopDefault$1F(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1E=reactExports,React__default=_interopDefault$1F(React$1E);function _defineProperty$J(Yi,eo,to){return eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _inheritsLoose$2(Yi,eo){Yi.prototype=Object.create(eo.prototype),Yi.prototype.constructor=Yi,Yi.__proto__=eo}var canUseDOM=!!(typeof window<"u"&&window.document&&window.document.createElement);function withSideEffect(Yi,eo,to){if(typeof Yi!="function")throw new Error("Expected reducePropsToState to be a function.");
377if(typeof eo!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof to<"u"&&typeof to!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function ro(no){return no.displayName||no.name||"Component"}return function(io){if(typeof io!="function")throw new Error("Expected WrappedComponent to be a React component.");var oo=[],ao;function so(){ao=Yi(oo.map(function(co){return co.props})),lo.canUseDOM?eo(ao):to&&(ao=to(ao))}var lo=(function(co){_inheritsLoose$2(uo,co);function uo(){return co.apply(this,arguments)||this}uo.peek=function(){return ao},uo.rewind=function(){if(uo.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var mo=ao;return ao=void 0,oo=[],mo};var fo=uo.prototype;return fo.UNSAFE_componentWillMount=function(){oo.push(this),so()},fo.componentDidUpdate=function(){so()},fo.componentWillUnmount=function(){var mo=oo.indexOf(this);oo.splice(mo,1),so()},fo.render=function(){return React__default.createElement(io,this.props)},uo})(React$1E.PureComponent);return _defineProperty$J(lo,"displayName","SideEffect("+ro(io)+")"),_defineProperty$J(lo,"canUseDOM",canUseDOM),lo}}var lib$3=withSideEffect;const withSideEffect$1=getDefaultExportFromCjs(lib$3);var hasElementType=typeof Element<"u",hasMap=typeof Map=="function",hasSet=typeof Set=="function",hasArrayBuffer=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function equal(Yi,eo){if(Yi===eo)return!0;if(Yi&&eo&&typeof Yi=="object"&&typeof eo=="object"){if(Yi.constructor!==eo.constructor)return!1;var to,ro,no;if(Array.isArray(Yi)){if(to=Yi.length,to!=eo.length)return!1;for(ro=to;ro--!==0;)if(!equal(Yi[ro],eo[ro]))return!1;return!0}var io;if(hasMap&&Yi instanceof Map&&eo instanceof Map){if(Yi.size!==eo.size)return!1;for(io=Yi.entries();!(ro=io.next()).done;)if(!eo.has(ro.value[0]))return!1;for(io=Yi.entries();!(ro=io.next()).done;)if(!equal(ro.value[1],eo.get(ro.value[0])))return!1;return!0}if(hasSet&&Yi instanceof Set&&eo instanceof Set){if(Yi.size!==eo.size)return!1;for(io=Yi.entries();!(ro=io.next()).done;)if(!eo.has(ro.value[0]))return!1;return!0}if(hasArrayBuffer&&ArrayBuffer.isView(Yi)&&ArrayBuffer.isView(eo)){if(to=Yi.length,to!=eo.length)return!1;for(ro=to;ro--!==0;)if(Yi[ro]!==eo[ro])return!1;return!0}if(Yi.constructor===RegExp)return Yi.source===eo.source&&Yi.flags===eo.flags;if(Yi.valueOf!==Object.prototype.valueOf&&typeof Yi.valueOf=="function"&&typeof eo.valueOf=="function")return Yi.valueOf()===eo.valueOf();if(Yi.toString!==Object.prototype.toString&&typeof Yi.toString=="function"&&typeof eo.toString=="function")return Yi.toString()===eo.toString();if(no=Object.keys(Yi),to=no.length,to!==Object.keys(eo).length)return!1;for(ro=to;ro--!==0;)if(!Object.prototype.hasOwnProperty.call(eo,no[ro]))return!1;if(hasElementType&&Yi instanceof Element)return!1;for(ro=to;ro--!==0;)if(!((no[ro]==="_owner"||no[ro]==="__v"||no[ro]==="__o")&&Yi.$$typeof)&&!equal(Yi[no[ro]],eo[no[ro]]))return!1;return!0}return Yi!==Yi&&eo!==eo}var reactFastCompare=function Yi(eo,to){try{return equal(eo,to)}catch(ro){if((ro.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw ro}};const isEqual$2=getDefaultExportFromCjs(reactFastCompare);var ATTRIBUTE_NAMES={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},TAG_NAMES={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(TAG_NAMES).map(function(Yi){return TAG_NAMES[Yi]});var TAG_PROPERTIES={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src",TARGET:"target"},REACT_TAG_MAP={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},HELMET_PROPS={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},HTML_TAG_MAP=Object.keys(REACT_TAG_MAP).reduce(function(Yi,eo){return Yi[REACT_TAG_MAP[eo]]=eo,Yi},{}),SELF_CLOSING_TAGS=[TAG_NAMES.NOSCRIPT,TAG_NAMES.SCRIPT,TAG_NAMES.STYLE],HELMET_ATTRIBUTE="data-react-helmet",_typeof$L=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Yi){return typeof Yi}
377:function(Yi){return Yi&&typeof Symbol=="function"&&Yi.constructor===Symbol&&Yi!==Symbol.prototype?"symbol":typeof Yi},classCallCheck=function(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")},createClass=(function(){function Yi(eo,to){for(var ro=0;ro<to.length;ro++){var no=to[ro];no.enumerable=no.enumerable||!1,no.configurable=!0,"value"in no&&(no.writable=!0),Object.defineProperty(eo,no.key,no)}}return function(eo,to,ro){return to&&Yi(eo.prototype,to),ro&&Yi(eo,ro),eo}})(),_extends$28=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},inherits=function(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof eo);Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,enumerable:!1,writable:!0,configurable:!0}}),eo&&(Object.setPrototypeOf?Object.setPrototypeOf(Yi,eo):Yi.__proto__=eo)},objectWithoutProperties$1E=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},possibleConstructorReturn=function(Yi,eo){if(!Yi)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return eo&&(typeof eo=="object"||typeof eo=="function")?eo:Yi},encodeSpecialCharacters=function Yi(eo){var to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return to===!1?String(eo):String(eo).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},getTitleFromPropsList=function Yi(eo){var to=getInnermostProperty(eo,TAG_NAMES.TITLE),ro=getInnermostProperty(eo,HELMET_PROPS.TITLE_TEMPLATE);if(ro&&to)return ro.replace(/%s/g,function(){return Array.isArray(to)?to.join(""):to});var no=getInnermostProperty(eo,HELMET_PROPS.DEFAULT_TITLE);return to||no||void 0},getOnChangeClientState=function Yi(eo){return getInnermostProperty(eo,HELMET_PROPS.ON_CHANGE_CLIENT_STATE)||function(){}},getAttributesFromPropsList=function Yi(eo,to){return to.filter(function(ro){return typeof ro[eo]<"u"}).map(function(ro){return ro[eo]}).reduce(function(ro,no){return _extends$28({},ro,no)},{})},getBaseTagFromPropsList=function Yi(eo,to){return to.filter(function(ro){return typeof ro[TAG_NAMES.BASE]<"u"}).map(function(ro){return ro[TAG_NAMES.BASE]}).reverse().reduce(function(ro,no){if(!ro.length)for(var io=Object.keys(no),oo=0;oo<io.length;oo++){var ao=io[oo],so=ao.toLowerCase();if(eo.indexOf(so)!==-1&&no[so])return ro.concat(no)}return ro},[])},getTagsFromPropsList=function Yi(eo,to,ro){var no={};return ro.filter(function(io){return Array.isArray(io[eo])?!0:(typeof io[eo]<"u"&&warn$2("Helmet: "+eo+' should be of type "Array". Instead found type "'+_typeof$L(io[eo])+'"'),!1)}).map(function(io){return io[eo]}).reverse().reduce(function(io,oo){var ao={};oo.filter(function(fo){for(var ho=void 0,mo=Object.keys(fo),vo=0;vo<mo.length;vo++){var Co=mo[vo],bo=Co.toLowerCase();to.indexOf(bo)!==-1&&!(ho===TAG_PROPERTIES.REL&&fo[ho].toLowerCase()==="canonical")&&!(bo===TAG_PROPERTIES.REL&&fo[bo].toLowerCase()==="stylesheet")&&(ho=bo),to.indexOf(Co)!==-1&&(Co===TAG_PROPERTIES.INNER_HTML||Co===TAG_PROPERTIES.CSS_TEXT||Co===TAG_PROPERTIES.ITEM_PROP)&&(ho=Co)}if(!ho||!fo[ho])return!1;var wo=fo[ho].toLowerCase();return no[ho]||(no[ho]={}),ao[ho]||(ao[ho]={}),no[ho][wo]?!1:(ao[ho][wo]=!0,!0)}).reverse().forEach(function(fo){return io.push(fo)});for(var so=Object.keys(ao),lo=0;lo<so.length;lo++){var co=so[lo],uo=objectAssign$1({},no[co],ao[co]);no[co]=uo}return io},[]).reverse()},getInnermostProperty=function Yi(eo,to){for(var ro=eo.length-1;ro>=0;ro--){var no=eo[ro];if(no.hasOwnProperty(to))return no[to]}return null},reducePropsToState=function Yi(eo){return{baseTag:getBaseTagFromPropsList([TAG_PROPERTIES.HREF,TAG_PROPERTIES.TARGET],eo),bodyAttributes:getAttributesFromPropsList(ATTRIBUTE_NAMES.BODY,eo),defer:getInnermostProperty(eo,HELMET_PROPS.DEFER),encode:getInnermostProperty(eo,HELMET_PROPS.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:getAttributesFromPropsList(ATTRIBUTE_NAMES.HTML,eo),linkTags:getTagsFromPropsList(TAG_NAMES.LINK,[TAG_PROPERTIES.REL,TAG_PROPERTIES.HREF],eo),metaTags:getTagsFromPropsList(TAG_NAMES.META,[TAG_PROPERTIES.NAME,TAG_PROPERTIES.CHARSET,TAG_PROPERTIES.HTTPEQUIV,TAG_PROPERTIES.PROPERTY,TAG_PROPERTIES.ITEM_PROP],eo),noscriptTags:getTagsFromPropsList(TAG_NAMES.NOSCRIPT,[TAG_PROPERTIES.INNER_HTML],eo),onChangeClientState:getOnChangeClientState(eo),scriptTags:getTagsFromPropsList(TAG_NAMES.SCRIPT,[TAG_PROPERTIES.SRC,TAG_PROPERTIES.INNER_HTML],eo),styleTags:getTagsFromPropsList(TAG_NAMES.STYLE,[TAG_PROPERTIES.CSS_TEXT],eo),title:getTitleFromPropsList(eo),titleAttributes:getAttributesFromPropsList(ATTRIBUTE_NAMES.TITLE,eo)}},rafPolyfill=(function(){var Yi=Date.now();return function(eo){var to=Date.now();to-Yi>16?(Yi=to,eo(to)):setTimeout(function(){rafPolyfill(eo)},0)}})(),cafPolyfill=function Yi(eo){return clearTimeout(eo)},requestAnimationFrame$1=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||rafPolyfill:global.requestAnimationFrame||rafPolyfill,cancelAnimationFrame$1=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||cafPolyfill:global.cancelAnimationFrame||cafPolyfill,warn$2=function Yi(eo){return console&&typeof console.warn=="function"&&console.warn(eo)},_helmetCallback=null,handleClientStateChange=function Yi(eo){_helmetCallback&&cancelAnimationFrame$1(_helmetCallback),eo.defer?_helmetCallback=requestAnimationFrame$1(function(){commitTagChanges(eo,function(){_helmetCallback=null})}):(commitTagChanges(eo),_helmetCallback=null)},commitTagChanges=function Yi(eo,to){var ro=eo.baseTag,no=eo.bodyAttributes,io=eo.htmlAttributes,oo=eo.linkTags,ao=eo.metaTags,so=eo.noscriptTags,lo=eo.onChangeClientState,co=eo.scriptTags,uo=eo.styleTags,fo=eo.title,ho=eo.titleAttributes;updateAttributes(TAG_NAMES.BODY,no),updateAttributes(TAG_NAMES.HTML,io),updateTitle(fo,ho);var mo={baseTag:updateTags(TAG_NAMES.BASE,ro),linkTags:updateTags(TAG_NAMES.LINK,oo),metaTags:updateTags(TAG_NAMES.META,ao),noscriptTags:updateTags(TAG_NAMES.NOSCRIPT,so),scriptTags:updateTags(TAG_NAMES.SCRIPT,co),styleTags:updateTags(TAG_NAMES.STYLE,uo)},vo={},Co={};
377Object.keys(mo).forEach(function(bo){var wo=mo[bo],yo=wo.newTags,Eo=wo.oldTags;yo.length&&(vo[bo]=yo),Eo.length&&(Co[bo]=mo[bo].oldTags)}),to&&to(),lo(eo,vo,Co)},flattenArray=function Yi(eo){return Array.isArray(eo)?eo.join(""):eo},updateTitle=function Yi(eo,to){typeof eo<"u"&&document.title!==eo&&(document.title=flattenArray(eo)),updateAttributes(TAG_NAMES.TITLE,to)},updateAttributes=function Yi(eo,to){var ro=document.getElementsByTagName(eo)[0];if(ro){for(var no=ro.getAttribute(HELMET_ATTRIBUTE),io=no?no.split(","):[],oo=[].concat(io),ao=Object.keys(to),so=0;so<ao.length;so++){var lo=ao[so],co=to[lo]||"";ro.getAttribute(lo)!==co&&ro.setAttribute(lo,co),io.indexOf(lo)===-1&&io.push(lo);var uo=oo.indexOf(lo);uo!==-1&&oo.splice(uo,1)}for(var fo=oo.length-1;fo>=0;fo--)ro.removeAttribute(oo[fo]);io.length===oo.length?ro.removeAttribute(HELMET_ATTRIBUTE):ro.getAttribute(HELMET_ATTRIBUTE)!==ao.join(",")&&ro.setAttribute(HELMET_ATTRIBUTE,ao.join(","))}},updateTags=function Yi(eo,to){var ro=document.head||document.querySelector(TAG_NAMES.HEAD),no=ro.querySelectorAll(eo+"["+HELMET_ATTRIBUTE+"]"),io=Array.prototype.slice.call(no),oo=[],ao=void 0;return to&&to.length&&to.forEach(function(so){var lo=document.createElement(eo);for(var co in so)if(so.hasOwnProperty(co))if(co===TAG_PROPERTIES.INNER_HTML)lo.innerHTML=so.innerHTML;else if(co===TAG_PROPERTIES.CSS_TEXT)lo.styleSheet?lo.styleSheet.cssText=so.cssText:lo.appendChild(document.createTextNode(so.cssText));else{var uo=typeof so[co]>"u"?"":so[co];lo.setAttribute(co,uo)}lo.setAttribute(HELMET_ATTRIBUTE,"true"),io.some(function(fo,ho){return ao=ho,lo.isEqualNode(fo)})?io.splice(ao,1):oo.push(lo)}),io.forEach(function(so){return so.parentNode.removeChild(so)}),oo.forEach(function(so){return ro.appendChild(so)}),{oldTags:io,newTags:oo}},generateElementAttributesAsString=function Yi(eo){return Object.keys(eo).reduce(function(to,ro){var no=typeof eo[ro]<"u"?ro+'="'+eo[ro]+'"':""+ro;return to?to+" "+no:no},"")},generateTitleAsString=function Yi(eo,to,ro,no){var io=generateElementAttributesAsString(ro),oo=flattenArray(to);return io?"<"+eo+" "+HELMET_ATTRIBUTE+'="true" '+io+">"+encodeSpecialCharacters(oo,no)+"</"+eo+">":"<"+eo+" "+HELMET_ATTRIBUTE+'="true">'+encodeSpecialCharacters(oo,no)+"</"+eo+">"},generateTagsAsString=function Yi(eo,to,ro){return to.reduce(function(no,io){var oo=Object.keys(io).filter(function(lo){return!(lo===TAG_PROPERTIES.INNER_HTML||lo===TAG_PROPERTIES.CSS_TEXT)}).reduce(function(lo,co){var uo=typeof io[co]>"u"?co:co+'="'+encodeSpecialCharacters(io[co],ro)+'"';return lo?lo+" "+uo:uo},""),ao=io.innerHTML||io.cssText||"",so=SELF_CLOSING_TAGS.indexOf(eo)===-1;return no+"<"+eo+" "+HELMET_ATTRIBUTE+'="true" '+oo+(so?"/>":">"+ao+"</"+eo+">")},"")},convertElementAttributestoReactProps=function Yi(eo){var to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(eo).reduce(function(ro,no){return ro[REACT_TAG_MAP[no]||no]=eo[no],ro},to)},convertReactPropstoHtmlAttributes=function Yi(eo){var to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(eo).reduce(function(ro,no){return ro[HTML_TAG_MAP[no]||no]=eo[no],ro},to)},generateTitleAsReactComponent=function Yi(eo,to,ro){var no,io=(no={key:to},no[HELMET_ATTRIBUTE]=!0,no),oo=convertElementAttributestoReactProps(ro,io);return[React$1F.createElement(TAG_NAMES.TITLE,oo,to)]},generateTagsAsReactComponent=function Yi(eo,to){return to.map(function(ro,no){var io,oo=(io={key:no},io[HELMET_ATTRIBUTE]=!0,io);return Object.keys(ro).forEach(function(ao){var so=REACT_TAG_MAP[ao]||ao;if(so===TAG_PROPERTIES.INNER_HTML||so===TAG_PROPERTIES.CSS_TEXT){var lo=ro.innerHTML||ro.cssText;oo.dangerouslySetInnerHTML={__html:lo}}else oo[so]=ro[ao]}),React$1F.createElement(eo,oo)})},getMethodsForTag=function Yi(eo,to,ro){switch(eo){case TAG_NAMES.TITLE:return{toComponent:function(){return generateTitleAsReactComponent(eo,to.title,to.titleAttributes)},toString:function(){return generateTitleAsString(eo,to.title,to.titleAttributes,ro)}};case ATTRIBUTE_NAMES.BODY:case ATTRIBUTE_NAMES.HTML:return{toComponent:function(){return convertElementAttributestoReactProps(to)},toString:function(){return generateElementAttributesAsString(to)}};default:return{toComponent:function(){return generateTagsAsReactComponent(eo,to)},toString:function(){return generateTagsAsString(eo,to,ro)}}}},mapStateOnServer=function Yi(eo){var to=eo.baseTag,ro=eo.bodyAttributes,no=eo.encode,io=eo.htmlAttributes,oo=eo.linkTags,ao=eo.metaTags,so=eo.noscriptTags,lo=eo.scriptTags,co=eo.styleTags,uo=eo.title,fo=uo===void 0?"":uo,ho=eo.titleAttributes;return{base:getMethodsForTag(TAG_NAMES.BASE,to,no),bodyAttributes:getMethodsForTag(ATTRIBUTE_NAMES.BODY,ro,no),htmlAttributes:getMethodsForTag(ATTRIBUTE_NAMES.HTML,io,no),link:getMethodsForTag(TAG_NAMES.LINK,oo,no),meta:getMethodsForTag(TAG_NAMES.META,ao,no),noscript:getMethodsForTag(TAG_NAMES.NOSCRIPT,so,no),script:getMethodsForTag(TAG_NAMES.SCRIPT,lo,no),style:getMethodsForTag(TAG_NAMES.STYLE,co,no),title:getMethodsForTag(TAG_NAMES.TITLE,{title:fo,titleAttributes:ho},no)}},Helmet=function Yi(eo){var to,ro;return ro=to=(function(no){inherits(io,no);function io(){return classCallCheck(this,io),possibleConstructorReturn(this,no.apply(this,arguments))}return io.prototype.shouldComponentUpdate=function(ao){return!isEqual$2(this.props,ao)},io.prototype.mapNestedChildrenToProps=function(ao,so){if(!so)return null;switch(ao.type){case TAG_NAMES.SCRIPT:case TAG_NAMES.NOSCRIPT:return{innerHTML:so};case TAG_NAMES.STYLE:return{cssText:so}}throw new Error("<"+ao.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},io.prototype.flattenArrayTypeChildren=function(ao){var so,lo=ao.child,co=ao.arrayTypeChildren,uo=ao.newChildProps,fo=ao.nestedChildren;return _extends$28({},co,(so={},so[lo.type]=[].concat(co[lo.type]||[],[_extends$28({},uo,this.mapNestedChildrenToProps(lo,fo))]),so))},io.prototype.mapObjectTypeChildren=function(ao){var so,lo,co=ao.child,uo=ao.newProps,fo=ao.newChildProps,ho=ao.nestedChildren;switch(co.type){case TAG_NAMES.TITLE:return _extends$28({},uo,(so={}
377,so[co.type]=ho,so.titleAttributes=_extends$28({},fo),so));case TAG_NAMES.BODY:return _extends$28({},uo,{bodyAttributes:_extends$28({},fo)});case TAG_NAMES.HTML:return _extends$28({},uo,{htmlAttributes:_extends$28({},fo)})}return _extends$28({},uo,(lo={},lo[co.type]=_extends$28({},fo),lo))},io.prototype.mapArrayTypeChildrenToProps=function(ao,so){var lo=_extends$28({},so);return Object.keys(ao).forEach(function(co){var uo;lo=_extends$28({},lo,(uo={},uo[co]=ao[co],uo))}),lo},io.prototype.warnOnInvalidChildren=function(ao,so){return!0},io.prototype.mapChildrenToProps=function(ao,so){var lo=this,co={};return React$1F.Children.forEach(ao,function(uo){if(!(!uo||!uo.props)){var fo=uo.props,ho=fo.children,mo=objectWithoutProperties$1E(fo,["children"]),vo=convertReactPropstoHtmlAttributes(mo);switch(lo.warnOnInvalidChildren(uo,ho),uo.type){case TAG_NAMES.LINK:case TAG_NAMES.META:case TAG_NAMES.NOSCRIPT:case TAG_NAMES.SCRIPT:case TAG_NAMES.STYLE:co=lo.flattenArrayTypeChildren({child:uo,arrayTypeChildren:co,newChildProps:vo,nestedChildren:ho});break;default:so=lo.mapObjectTypeChildren({child:uo,newProps:so,newChildProps:vo,nestedChildren:ho});break}}}),so=this.mapArrayTypeChildrenToProps(co,so),so},io.prototype.render=function(){var ao=this.props,so=ao.children,lo=objectWithoutProperties$1E(ao,["children"]),co=_extends$28({},lo);return so&&(co=this.mapChildrenToProps(so,co)),React$1F.createElement(eo,co)},createClass(io,null,[{key:"canUseDOM",set:function(ao){eo.canUseDOM=ao}}]),io})(React$1F.Component),to.propTypes={base:PropTypes.object,bodyAttributes:PropTypes.object,children:PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node),PropTypes.node]),defaultTitle:PropTypes.string,defer:PropTypes.bool,encodeSpecialCharacters:PropTypes.bool,htmlAttributes:PropTypes.object,link:PropTypes.arrayOf(PropTypes.object),meta:PropTypes.arrayOf(PropTypes.object),noscript:PropTypes.arrayOf(PropTypes.object),onChangeClientState:PropTypes.func,script:PropTypes.arrayOf(PropTypes.object),style:PropTypes.arrayOf(PropTypes.object),title:PropTypes.string,titleAttributes:PropTypes.object,titleTemplate:PropTypes.string},to.defaultProps={defer:!0,encodeSpecialCharacters:!0},to.peek=eo.peek,to.rewind=function(){var no=eo.rewind();return no||(no=mapStateOnServer({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),no},ro},NullComponent=function Yi(){return null},HelmetSideEffects=withSideEffect$1(reducePropsToState,handleClientStateChange,mapStateOnServer)(NullComponent),HelmetExport=Helmet(HelmetSideEffects);HelmetExport.renderStatic=HelmetExport.rewind;const consoleLogger={type:"logger",log(Yi){this.output("log",Yi)},warn(Yi){this.output("warn",Yi)},error(Yi){this.output("error",Yi)},output(Yi,eo){console&&console[Yi]&&console[Yi].apply(console,eo)}};let Logger$1=class iA{constructor(eo){let to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(eo,to)}init(eo){let to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=to.prefix||"i18next:",this.logger=eo||consoleLogger,this.options=to,this.debug=to.debug}log(){for(var eo=arguments.length,to=new Array(eo),ro=0;ro<eo;ro++)to[ro]=arguments[ro];return this.forward(to,"log","",!0)}warn(){for(var eo=arguments.length,to=new Array(eo),ro=0;ro<eo;ro++)to[ro]=arguments[ro];return this.forward(to,"warn","",!0)}error(){for(var eo=arguments.length,to=new Array(eo),ro=0;ro<eo;ro++)to[ro]=arguments[ro];return this.forward(to,"error","")}deprecate(){for(var eo=arguments.length,to=new Array(eo),ro=0;ro<eo;ro++)to[ro]=arguments[ro];return this.forward(to,"warn","WARNING DEPRECATED: ",!0)}forward(eo,to,ro,no){return no&&!this.debug?null:(typeof eo[0]=="string"&&(eo[0]=`${ro}${this.prefix} ${eo[0]}`),this.logger[to](eo))}create(eo){return new iA(this.logger,{prefix:`${this.prefix}:${eo}:`,...this.options})}clone(eo){return eo=eo||this.options,eo.prefix=eo.prefix||this.prefix,new iA(this.logger,eo)}};var baseLogger=new Logger$1;let EventEmitter$1=class{constructor(){this.observers={}}on(eo,to){return eo.split(" ").forEach(ro=>{this.observers[ro]||(this.observers[ro]=new Map);const no=this.observers[ro].get(to)||0;this.observers[ro].set(to,no+1)}),this}off(eo,to){if(this.observers[eo]){if(!to){delete this.observers[eo];return}this.observers[eo].delete(to)}}emit(eo){for(var to=arguments.length,ro=new Array(to>1?to-1:0),no=1;no<to;no++)ro[no-1]=arguments[no];this.observers[eo]&&Array.from(this.observers[eo].entries()).forEac
vendor: 6,582 bytes, line 377
377h(oo=>{let[ao,so]=oo;for(let lo=0;lo<so;lo++)ao(...ro)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(oo=>{let[ao,so]=oo;for(let lo=0;lo<so;lo++)ao.apply(ao,[eo,...ro])})}};const defer=()=>{let Yi,eo;const to=new Promise((ro,no)=>{Yi=ro,eo=no});return to.resolve=Yi,to.reject=eo,to},makeString=Yi=>Yi==null?"":""+Yi,copy$2=(Yi,eo,to)=>{Yi.forEach(ro=>{eo[ro]&&(to[ro]=eo[ro])})},lastOfPathSeparatorRegExp=/###/g,cleanKey=Yi=>Yi&&Yi.indexOf("###")>-1?Yi.replace(lastOfPathSeparatorRegExp,"."):Yi,canNotTraverseDeeper=Yi=>!Yi||typeof Yi=="string",getLastOfPath=(Yi,eo,to)=>{const ro=typeof eo!="string"?eo:eo.split(".");let no=0;for(;no<ro.length-1;){if(canNotTraverseDeeper(Yi))return{};const io=cleanKey(ro[no]);!Yi[io]&&to&&(Yi[io]=new to),Object.prototype.hasOwnProperty.call(Yi,io)?Yi=Yi[io]:Yi={},++no}return canNotTraverseDeeper(Yi)?{}:{obj:Yi,k:cleanKey(ro[no])}},setPath=(Yi,eo,to)=>{const{obj:ro,k:no}=getLastOfPath(Yi,eo,Object);if(ro!==void 0||eo.length===1){ro[no]=to;return}let io=eo[eo.length-1],oo=eo.slice(0,eo.length-1),ao=getLastOfPath(Yi,oo,Object);for(;ao.obj===void 0&&oo.length;)io=`${oo[oo.length-1]}.${io}`,oo=oo.slice(0,oo.length-1),ao=getLastOfPath(Yi,oo,Object),ao&&ao.obj&&typeof ao.obj[`${ao.k}.${io}`]<"u"&&(ao.obj=void 0);ao.obj[`${ao.k}.${io}`]=to},pushPath=(Yi,eo,to,ro)=>{const{obj:no,k:io}=getLastOfPath(Yi,eo,Object);no[io]=no[io]||[],no[io].push(to)},getPath$2=(Yi,eo)=>{const{obj:to,k:ro}=getLastOfPath(Yi,eo);if(to)return to[ro]},getPathWithDefaults=(Yi,eo,to)=>{const ro=getPath$2(Yi,to);return ro!==void 0?ro:getPath$2(eo,to)},deepExtend=(Yi,eo,to)=>{for(const ro in eo)ro!=="__proto__"&&ro!=="constructor"&&(ro in Yi?typeof Yi[ro]=="string"||Yi[ro]instanceof String||typeof eo[ro]=="string"||eo[ro]instanceof String?to&&(Yi[ro]=eo[ro]):deepExtend(Yi[ro],eo[ro],to):Yi[ro]=eo[ro]);return Yi},regexEscape=Yi=>Yi.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var _entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const escape$1=Yi=>typeof Yi=="string"?Yi.replace(/[&<>"'\/]/g,eo=>_entityMap[eo]):Yi;class RegExpCache{constructor(eo){this.capacity=eo,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(eo){const to=this.regExpMap.get(eo);if(to!==void 0)return to;const ro=new RegExp(eo);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(eo,ro),this.regExpQueue.push(eo),ro}}const chars$4=[" ",",","?","!",";"],looksLikeObjectPathRegExpCache=new RegExpCache(20),looksLikeObjectPath=(Yi,eo,to)=>{eo=eo||"",to=to||"";const ro=chars$4.filter(oo=>eo.indexOf(oo)<0&&to.indexOf(oo)<0);if(ro.length===0)return!0;const no=looksLikeObjectPathRegExpCache.getRegExp(`(${ro.map(oo=>oo==="?"?"\\?":oo).join("|")})`);let io=!no.test(Yi);if(!io){const oo=Yi.indexOf(to);oo>0&&!no.test(Yi.substring(0,oo))&&(io=!0)}return io},deepFind=function(Yi,eo){let to=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!Yi)return;if(Yi[eo])return Yi[eo];const ro=eo.split(to);let no=Yi;for(let io=0;io<ro.length;){if(!no||typeof no!="object")return;let oo,ao="";for(let so=io;so<ro.length;++so)if(so!==io&&(ao+=to),ao+=ro[so],oo=no[ao],oo!==void 0){if(["string","number","boolean"].indexOf(typeof oo)>-1&&so<ro.length-1)continue;io+=so-io+1;break}no=oo}return no},getCleanedCode=Yi=>Yi&&Yi.indexOf("_")>0?Yi.replace("_","-"):Yi;class ResourceStore extends EventEmitter$1{constructor(eo){let to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=eo||{},this.options=to,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(eo){this.options.ns.indexOf(eo)<0&&this.options.ns.push(eo)}removeNamespaces(eo){const to=this.options.ns.indexOf(eo);to>-1&&this.options.ns.splice(to,1)}getResource(eo,to,ro){let no=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const io=no.keySeparator!==void 0?no.keySeparator:this.options.keySeparator,oo=no.ignoreJSONStructure!==void 0?no.ignoreJSONStructure:this.options.ignoreJSONStructure;let ao;eo.indexOf(".")>-1?ao=eo.split("."):(ao=[eo,to],ro&&(Array.isArray(ro)?ao.push(...ro):typeof ro=="string"&&io?ao.push(...ro.split(io)):ao.push(ro)));const so=getPath$2(this.data,ao);return!so&&!to&&!ro&&eo.indexOf(".")>-1&&(eo=ao[0],to=ao[1],ro=ao.slice(2).join(".")),so||!oo||typeof ro!="string"?so:deepFind(this.data&&this.data[eo]&&this.data[eo][to],ro,io)}addResource(eo,to,ro,no){let io=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const oo=io.keySeparator!==void 0?io.keySeparator:this.options.keySeparator;let ao=[eo,to];ro&&(ao=ao.concat(oo?ro.split(oo):ro)),eo.indexOf(".")>-1&&(ao=eo.split("."),no=to,to=ao[1]),this.addNamespaces(to),setPath(this.data,ao,no),io.silent||this.emit("added",eo,to,ro,no)}addResources(eo,to,ro){let no=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const io in ro)(typeof ro[io]=="string"||Array.isArray(ro[io]))&&this.addResource(eo,to,io,ro[io],{silent:!0});no.silent||this.emit("added",eo,to,ro)}addResourceBundle(eo,to,ro,no,io){let oo=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},ao=[eo,to];eo.indexOf(".")>-1&&(ao=eo.split("."),no=ro,ro=to,to=ao[1]),this.addNamespaces(to);let so=getPath$2(this.data,ao)||{};oo.skipCopy||(ro=JSON.parse(JSON.stringify(ro))),no?deepExtend(so,ro,io):so={...so,...ro},setPath(this.data,ao,so),oo.silent||this.emit("added",eo,to,ro)}removeResourceBundle(eo,to){this.hasResourceBundle(eo,to)&&delete this.data[eo][to],this.removeNamespaces(to),this.emit("removed",eo,to)}hasResourceBundle(eo,to){return this.getResource(eo,to)!==void 0}getResourceBundle(eo,to){return to||(to=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(eo,to)}:this.getResource(eo,to)}getDataByLanguage(eo){return this.data[eo]}hasLanguageSomeTranslations(eo){const to=this.getDataByLanguage(eo);return!!(to&&Object.keys(to)||[]).find(no=>to[no]&&Object.keys(to[no]).length>0)}toJSON(){return this.data}}var postProcessor={processors:{},addPostProcessor(Yi){this.processors[Yi.name]=Yi},handle(Yi,eo,to,ro,no){return Yi.forEach(io=>{this.processors[io]&&(eo=this.processors[io].process(eo,to,ro,no))}),eo}};const checkedLoadedFor={};class Translator extends EventEmitter$1{constructor(eo){let to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),copy$2(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
377i18nFormat","utils"],eo,this),this.options=to,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=baseLogger.create("translator")}changeLanguage(eo){eo&&(this.language=eo)}exists(eo){let to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(eo==null)return!1;const ro=this.resolve(eo,to);return ro&&ro.res!==void 0}extractFromKey(eo,to){let ro=to.nsSeparator!==void 0?to.nsSeparator:this.options.nsSeparator;ro===void 0&&(ro=":");const no=to.keySeparator!==void 0?to.keySeparator:this.options.keySeparator;let io=to.ns||this.options.defaultNS||[];const oo=ro&&eo.indexOf(ro)>-1,ao=!this.options.userDefinedKeySeparator&&!to.keySeparator&&!this.options.userDefinedNsSeparator&&!to.nsSeparator&&!looksLikeObjectPath(eo,ro,no);if(oo&&!ao){const so=eo.match(this.interpolator.nestingRegexp);if(so&&so.length>0)return{key:eo,namespaces:io};const lo=eo.split(ro);(ro!==no||ro===no&&this.options.ns.indexOf(lo[0])>-1)&&(io=lo.shift()),eo=lo.join(no)}return typeof io=="string"&&(io=[io]),{key:eo,namespaces:io}}translate(eo,to,ro){if(typeof to!="object"&&this.options.overloadTranslationOptionHandler&&(to=this.options.overloadTranslationOptionHandler(arguments)),typeof to=="object"&&(to={...to}),to||(to={}),eo==null)return"";Array.isArray(eo)||(eo=[String(eo)]);const no=to.returnDetails!==void 0?to.returnDetails:this.options.returnDetails,io=to.keySeparator!==void 0?to.keySeparator:this.options.keySeparator,{key:oo,namespaces:ao}=this.extractFromKey(eo[eo.length-1],to),so=ao[ao.length-1],lo=to.lng||this.language,co=to.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(lo&&lo.toLowerCase()==="cimode"){if(co){const Eo=to.nsSeparator||this.options.nsSeparator;return no?{res:`${so}${Eo}${oo}`,usedKey:oo,exactUsedKey:oo,usedLng:lo,usedNS:so,usedParams:this.getUsedParamsDetails(to)}:`${so}${Eo}${oo}`}return no?{res:oo,usedKey:oo,exactUsedKey:oo,usedLng:lo,usedNS:so,usedParams:this.getUsedParamsDetails(to)}:oo}const uo=this.resolve(eo,to);let fo=uo&&uo.res;const ho=uo&&uo.usedKey||oo,mo=uo&&uo.exactUsedKey||oo,vo=Object.prototype.toString.apply(fo),Co=["[object Number]","[object Function]","[object RegExp]"],bo=to.joinArrays!==void 0?to.joinArrays:this.options.joinArrays,wo=!this.i18nFormat||this.i18nFormat.handleAsObject;if(wo&&fo&&(typeof fo!="string"&&typeof fo!="boolean"&&typeof fo!="number")&&Co.indexOf(vo)<0&&!(typeof bo=="string"&&Array.isArray(fo))){if(!to.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const Eo=this.options.returnedObjectHandler?this.options.returnedObjectHandler(ho,fo,{...to,ns:ao}):`key '${oo} (${this.language})' returned an object instead of string.`;return no?(uo.res=Eo,uo.usedParams=this.getUsedParamsDetails(to),uo):Eo}if(io){const Eo=Array.isArray(fo),xo=Eo?[]:{},So=Eo?mo:ho;for(const To in fo)if(Object.prototype.hasOwnProperty.call(fo,To)){const Ro=`${So}${io}${To}`;xo[To]=this.translate(Ro,{...to,joinArrays:!1,ns:ao}),xo[To]===Ro&&(xo[To]=fo[To])}fo=xo}}else if(wo&&typeof bo=="string"&&Array.isArray(fo))fo=fo.join(bo),fo&&(fo=this.extendTranslation(fo,eo,to,ro));else{let Eo=!1,xo=!1;const So=to.count!==void 0&&typeof to.count!="string",To=Translator.hasDefaultValue(to),Ro=So?this.pluralResolver.getSuffix(lo,to.count,to):"",Po=to.ordinal&&So?this.pluralResolver.getSuffix(lo,to.count,{ordinal:!1}):"",zo=So&&!to.ordinal&&to.count===0&&this.pluralResolver.shouldUseIntlApi(),Ho=zo&&to[`defaultValue${this.options.pluralSeparator}zero`]||to[`defaultValue${Ro}`]||to[`defaultValue${Po}`]||to.defaultValue;!this.isValidLookup(fo)&&To&&(Eo=!0,fo=Ho),this.isValidLookup(fo)||(xo=!0,fo=oo);const Lo=(to.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&xo?void 0:fo,Uo=To&&Ho!==fo&&this.options.updateMissing;if(xo||Eo||Uo){if(this.logger.log(Uo?"updateKey":"missingKey",lo,so,oo,Uo?Ho:fo),io){const Bo=this.resolve(oo,{...to,keySeparator:!1});Bo&&Bo.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let Do=[];const Oo=this.languageUtils.getFallbackCodes(this.options.fallbackLng,to.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Oo&&Oo[0])for(let Bo=0;Bo<Oo.length;Bo++)Do.push(Oo[Bo]);else this.options.saveMissingTo==="all"?Do=this.languageUtils.toResolveHierarchy(to.lng||this.language):Do.push(to.lng||this.language);const ko=(Bo,Fo,Qo)=>{const jo=To&&Qo!==fo?Qo:Lo;this.options.missingKeyHandler?this.options.missingKeyHandler(Bo,so,Fo,jo,Uo,to):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(Bo,so,Fo,jo,Uo,to),this.emit
vendor: 10,182 bytes, line 377
377("missingKey",Bo,so,Fo,fo)};this.options.saveMissing&&(this.options.saveMissingPlurals&&So?Do.forEach(Bo=>{const Fo=this.pluralResolver.getSuffixes(Bo,to);zo&&to[`defaultValue${this.options.pluralSeparator}zero`]&&Fo.indexOf(`${this.options.pluralSeparator}zero`)<0&&Fo.push(`${this.options.pluralSeparator}zero`),Fo.forEach(Qo=>{ko([Bo],oo+Qo,to[`defaultValue${Qo}`]||Ho)})}):ko(Do,oo,Ho))}fo=this.extendTranslation(fo,eo,to,uo,ro),xo&&fo===oo&&this.options.appendNamespaceToMissingKey&&(fo=`${so}:${oo}`),(xo||Eo)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?fo=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${so}:${oo}`:oo,Eo?fo:void 0):fo=this.options.parseMissingKeyHandler(fo))}return no?(uo.res=fo,uo.usedParams=this.getUsedParamsDetails(to),uo):fo}extendTranslation(eo,to,ro,no,io){var oo=this;if(this.i18nFormat&&this.i18nFormat.parse)eo=this.i18nFormat.parse(eo,{...this.options.interpolation.defaultVariables,...ro},ro.lng||this.language||no.usedLng,no.usedNS,no.usedKey,{resolved:no});else if(!ro.skipInterpolation){ro.interpolation&&this.interpolator.init({...ro,interpolation:{...this.options.interpolation,...ro.interpolation}});const lo=typeof eo=="string"&&(ro&&ro.interpolation&&ro.interpolation.skipOnVariables!==void 0?ro.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let co;if(lo){const fo=eo.match(this.interpolator.nestingRegexp);co=fo&&fo.length}let uo=ro.replace&&typeof ro.replace!="string"?ro.replace:ro;if(this.options.interpolation.defaultVariables&&(uo={...this.options.interpolation.defaultVariables,...uo}),eo=this.interpolator.interpolate(eo,uo,ro.lng||this.language||no.usedLng,ro),lo){const fo=eo.match(this.interpolator.nestingRegexp),ho=fo&&fo.length;co<ho&&(ro.nest=!1)}!ro.lng&&this.options.compatibilityAPI!=="v1"&&no&&no.res&&(ro.lng=this.language||no.usedLng),ro.nest!==!1&&(eo=this.interpolator.nest(eo,function(){for(var fo=arguments.length,ho=new Array(fo),mo=0;mo<fo;mo++)ho[mo]=arguments[mo];return io&&io[0]===ho[0]&&!ro.context?(oo.logger.warn(`It seems you are nesting recursively key: ${ho[0]} in key: ${to[0]}`),null):oo.translate(...ho,to)},ro)),ro.interpolation&&this.interpolator.reset()}const ao=ro.postProcess||this.options.postProcess,so=typeof ao=="string"?[ao]:ao;return eo!=null&&so&&so.length&&ro.applyPostProcessor!==!1&&(eo=postProcessor.handle(so,eo,to,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...no,usedParams:this.getUsedParamsDetails(ro)},...ro}:ro,this)),eo}resolve(eo){let to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ro,no,io,oo,ao;return typeof eo=="string"&&(eo=[eo]),eo.forEach(so=>{if(this.isValidLookup(ro))return;const lo=this.extractFromKey(so,to),co=lo.key;no=co;let uo=lo.namespaces;this.options.fallbackNS&&(uo=uo.concat(this.options.fallbackNS));const fo=to.count!==void 0&&typeof to.count!="string",ho=fo&&!to.ordinal&&to.count===0&&this.pluralResolver.shouldUseIntlApi(),mo=to.context!==void 0&&(typeof to.context=="string"||typeof to.context=="number")&&to.context!=="",vo=to.lngs?to.lngs:this.languageUtils.toResolveHierarchy(to.lng||this.language,to.fallbackLng);uo.forEach(Co=>{this.isValidLookup(ro)||(ao=Co,!checkedLoadedFor[`${vo[0]}-${Co}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(ao)&&(checkedLoadedFor[`${vo[0]}-${Co}`]=!0,this.logger.warn(`key "${no}" for languages "${vo.join(", ")}" won't get resolved as namespace "${ao}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),vo.forEach(bo=>{if(this.isValidLookup(ro))return;oo=bo;const wo=[co];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(wo,co,bo,Co,to);else{let Eo;fo&&(Eo=this.pluralResolver.getSuffix(bo,to.count,to));const xo=`${this.options.pluralSeparator}zero`,So=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(fo&&(wo.push(co+Eo),to.ordinal&&Eo.indexOf(So)===0&&wo.push(co+Eo.replace(So,this.options.pluralSeparator)),ho&&wo.push(co+xo)),mo){const To=`${co}${this.options.contextSeparator}${to.context}`;wo.push(To),fo&&(wo.push(To+Eo),to.ordinal&&Eo.indexOf(So)===0&&wo.push(To+Eo.replace(So,this.options.pluralSeparator)),ho&&wo.push(To+xo))}}let yo;for(;yo=wo.pop();)this.isValidLookup(ro)||(io=yo,ro=this.getResource(bo,Co,yo,to))}))})}),{res:ro,usedKey:no,exactUsedKey:io,usedLng:oo,usedNS:ao}}isValidLookup(eo){return eo!==void 0&&!(!this.options.returnNull&&eo===null)&&!(!this.options.returnEmptyString&&eo==="")}getResource(eo,to,ro){let no=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(eo,to,ro,no):this.resourceStore.getResource(eo,to,ro,no)}getUsedParamsDetails(){let eo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const to=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],ro=eo.replace&&typeof eo.replace!="string";let no=ro?eo.replace:eo;if(ro&&typeof eo.count<"u"&&(no.count=eo.count),this.options.interpolation.defaultVariables&&(no={...this.options.interpolation.defaultVariables,...no}),!ro){no={...no};for(const io of to)delete no[io]}return no}static hasDefaultValue(eo){const to="defaultValue";for(const ro in eo)if(Object.prototype.hasOwnProperty.call(eo,ro)&&to===ro.substring(0,to.length)&&eo[ro]!==void 0)return!0;return!1}}const capitalize$2=Yi=>Yi.charAt(0).toUpperCase()+Yi.slice(1);class LanguageUtil{constructor(eo){this.options=eo,this.supportedLngs=this.options.supportedLngs||!1,this.logger=baseLogger.create("languageUtils")}getScriptPartFromCode(eo){if(eo=getCleanedCode(eo),!eo||eo.indexOf("-")<0)return null;const to=eo.split("-");return to.length===2||(to.pop(),to[to.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(to.join("-"))}getLanguagePartFromCode(eo){if(eo=getCleanedCode(eo),!eo||eo.indexOf("-")<0)return eo;const to=eo.split("-");return this.formatLanguageCode(to[0])}formatLanguageCode(eo){if(typeof eo=="string"&&eo.indexOf("-")>-1){const to=["hans","hant","latn","cyrl","cans","mong","arab"];let ro=eo.split("-");return this.options.lowerCaseLng?ro=ro.map(no=>no.toLowerCase()):ro.length===2?(ro[0]=ro[0].toLowerCase(),ro[1]=ro[1].toUpperCase(),to.indexOf(ro[1].toLowerCase())>-1&&(ro[1]=capitalize$2(ro[1].toLowerCase()))):ro.length===3&&(ro[0]=ro[0].toLowerCase(),ro[1].length===2&&(ro[1]=ro[1].toUpperCase()),ro[0]!=="sgn"&&ro[2].length===2&&(ro[2]=ro[2].toUpperCase()),to.indexOf(ro[1].toLowerCase())>-1&&(ro[1]=capitalize$2(ro[1].toLowerCase())),to.indexOf(ro[2].toLowerCase())>-1&&(ro[2]=capitalize$2(ro[2].toLowerCase()))),ro.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?eo.toLowerCase():eo}isSupportedCode(eo){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(eo=this.getLanguagePartFromCode(eo)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(eo)>-1}getBestMatchFromCodes(eo){if(!eo)return null;let to;return eo.forEach(ro=>{if(to)return;const no=this.formatLanguageCode(ro);(!this.options.supportedLngs||this.isSupportedCode(no))&&(to=no)}),!to&&this.options.supportedLngs&&eo.forEach(ro=>{if(to)return;const no=this.getLanguagePartFromCode(ro);if(this.isSupportedCode(no))return to=no;to=this.options.supportedLngs.find(io=>{if(io===no)return io;if(!(io.indexOf("-")<0&&no.indexOf("-")<0)&&(io.indexOf("-")>0&&no.indexOf("-")<0&&io.substring(0,io.indexOf("-"))===no||io.indexOf(no)===0&&no.length>1))return io})}),to||(to=this.getFallbackCodes(this.options.fallbackLng)[0]),to}getFallbackCodes(eo,to){if(!eo)return[];if(typeof eo=="function"&&(eo=eo(to)),typeof eo=="string"&&(eo=[eo]),Array.isArray(eo))return eo;if(!to)return eo.default||[];let ro=eo[to];return ro||(ro=eo[this.getScriptPartFromCode(to)]),ro||(ro=eo[this.formatLanguageCode(to)]),ro||(ro=eo[this.getLanguagePartFromCode(to)]),ro||(ro=eo.default),ro||[]}toResolveHierarchy(eo,to){const ro=this.getFallbackCodes(to||this.options.fallbackLng||[],eo),no=[],io=oo=>{oo&&(this.isSupportedCode(oo)?no.push(oo):this.logger.warn(`rejecting language code not found in supportedLngs: ${oo}`))};return typeof eo=="string"&&(eo.indexOf("-")>-1||eo.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&io(this.formatLanguageCode(eo)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&io(this.getScriptPartFromCode(eo)),this.options.load!=="currentOnly"&&io(this.getLanguagePartFromCode(eo))):typeof eo=="string"&&io(this.formatLanguageCode(eo)),ro.forEach(oo=>{no.indexOf(oo)<0&&io(this.formatLanguageCode(oo))}),no}}let sets=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}
vendor: 11,489 bytes, line 377
377],_rulesPluralsTypes={1:Yi=>+(Yi>1),2:Yi=>+(Yi!=1),3:Yi=>0,4:Yi=>Yi%10==1&&Yi%100!=11?0:Yi%10>=2&&Yi%10<=4&&(Yi%100<10||Yi%100>=20)?1:2,5:Yi=>Yi==0?0:Yi==1?1:Yi==2?2:Yi%100>=3&&Yi%100<=10?3:Yi%100>=11?4:5,6:Yi=>Yi==1?0:Yi>=2&&Yi<=4?1:2,7:Yi=>Yi==1?0:Yi%10>=2&&Yi%10<=4&&(Yi%100<10||Yi%100>=20)?1:2,8:Yi=>Yi==1?0:Yi==2?1:Yi!=8&&Yi!=11?2:3,9:Yi=>+(Yi>=2),10:Yi=>Yi==1?0:Yi==2?1:Yi<7?2:Yi<11?3:4,11:Yi=>Yi==1||Yi==11?0:Yi==2||Yi==12?1:Yi>2&&Yi<20?2:3,12:Yi=>+(Yi%10!=1||Yi%100==11),13:Yi=>+(Yi!==0),14:Yi=>Yi==1?0:Yi==2?1:Yi==3?2:3,15:Yi=>Yi%10==1&&Yi%100!=11?0:Yi%10>=2&&(Yi%100<10||Yi%100>=20)?1:2,16:Yi=>Yi%10==1&&Yi%100!=11?0:Yi!==0?1:2,17:Yi=>Yi==1||Yi%10==1&&Yi%100!=11?0:1,18:Yi=>Yi==0?0:Yi==1?1:2,19:Yi=>Yi==1?0:Yi==0||Yi%100>1&&Yi%100<11?1:Yi%100>10&&Yi%100<20?2:3,20:Yi=>Yi==1?0:Yi==0||Yi%100>0&&Yi%100<20?1:2,21:Yi=>Yi%100==1?1:Yi%100==2?2:Yi%100==3||Yi%100==4?3:0,22:Yi=>Yi==1?0:Yi==2?1:(Yi<0||Yi>10)&&Yi%10==0?2:3};const nonIntlVersions=["v1","v2","v3"],intlVersions=["v4"],suffixesOrder={zero:0,one:1,two:2,few:3,many:4,other:5},createRules=()=>{const Yi={};return sets.forEach(eo=>{eo.lngs.forEach(to=>{Yi[to]={numbers:eo.nr,plurals:_rulesPluralsTypes[eo.fc]}})}),Yi};class PluralResolver{constructor(eo){let to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=eo,this.options=to,this.logger=baseLogger.create("pluralResolver"),(!this.options.compatibilityJSON||intlVersions.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=createRules()}addRule(eo,to){this.rules[eo]=to}getRule(eo){let to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(getCleanedCode(eo==="dev"?"en":eo),{type:to.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[eo]||this.rules[this.languageUtils.getLanguagePartFromCode(eo)]}needsPlural(eo){let to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const ro=this.getRule(eo,to);return this.shouldUseIntlApi()?ro&&ro.resolvedOptions().pluralCategories.length>1:ro&&ro.numbers.length>1}getPluralFormsOfKey(eo,to){let ro=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(eo,ro).map(no=>`${to}${no}`)}getSuffixes(eo){let to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const ro=this.getRule(eo,to);return ro?this.shouldUseIntlApi()?ro.resolvedOptions().pluralCategories.sort((no,io)=>suffixesOrder[no]-suffixesOrder[io]).map(no=>`${this.options.prepend}${to.ordinal?`ordinal${this.options.prepend}`:""}${no}`):ro.numbers.map(no=>this.getSuffix(eo,no,to)):[]}getSuffix(eo,to){let ro=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const no=this.getRule(eo,ro);return no?this.shouldUseIntlApi()?`${this.options.prepend}${ro.ordinal?`ordinal${this.options.prepend}`:""}${no.select(to)}`:this.getSuffixRetroCompatible(no,to):(this.logger.warn(`no plural rule found for: ${eo}`),"")}getSuffixRetroCompatible(eo,to){const ro=eo.noAbs?eo.plurals(to):eo.plurals(Math.abs(to));let no=eo.numbers[ro];this.options.simplifyPluralSuffix&&eo.numbers.length===2&&eo.numbers[0]===1&&(no===2?no="plural":no===1&&(no=""));const io=()=>this.options.prepend&&no.toString()?this.options.prepend+no.toString():no.toString();return this.options.compatibilityJSON==="v1"?no===1?"":typeof no=="number"?`_plural_${no.toString()}`:io():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&eo.numbers.length===2&&eo.numbers[0]===1?io():this.options.prepend&&ro.toString()?this.options.prepend+ro.toString():ro.toString()}shouldUseIntlApi(){return!nonIntlVersions.includes(this.options.compatibilityJSON)}}const deepFindWithDefaults=function(Yi,eo,to){let ro=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",no=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,io=getPathWithDefaults(Yi,eo,to);return!io&&no&&typeof to=="string"&&(io=deepFind(Yi,to,ro),io===void 0&&(io=deepFind(eo,to,ro))),io},regexSafe=Yi=>Yi.replace(/\$/g,"$$$$");class Interpolator{constructor(){let eo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=baseLogger.create("interpolator"),this.options=eo,this.format=eo.interpolation&&eo.interpolation.format||(to=>to),this.init(eo)}init(){let eo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};eo.interpolation||(eo.interpolation={escapeValue:!0});const{escape:to,escapeValue:ro,useRawValueToEscape:no,prefix:io,prefixEscaped:oo,suffix:ao,suffixEscaped:so,formatSeparator:lo,unescapeSuffix:co,unescapePrefix:uo,nestingPrefix:fo,nestingPrefixEscaped:ho,nestingSuffix:mo,nestingSuffixEscaped:vo,nestingOptionsSeparator:Co,maxReplaces:bo,alwaysFormat:wo}=eo.interpolation;this.escape=to!==void 0?to:escape$1,this.escapeValue=ro!==void 0?ro:!0,this.useRawValueToEscape=no!==void 0?no:!1,this.prefix=io?regexEscape(io):oo||"{{",this.suffix=ao?regexEscape(ao):so||"}}",this.formatSeparator=lo||",",this.unescapePrefix=co?"":uo||"-",this.unescapeSuffix=this.unescapePrefix?"":co||"",this.nestingPrefix=fo?regexEscape(fo):ho||regexEscape("$t("),this.nestingSuffix=mo?regexEscape(mo):vo||regexEscape(")"),this.nestingOptionsSeparator=Co||",",this.maxReplaces=bo||1e3,this.alwaysFormat=wo!==void 0?wo:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const eo=(to,ro)=>to&&to.source===ro?(to.lastIndex=0,to):new RegExp(ro,"g");this.regexp=eo(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=eo(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=eo(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(eo,to,ro,no){let io,oo,ao;const so=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},lo=ho=>{if(ho.indexOf(this.formatSeparator)<0){const bo=deepFindWithDefaults(to,so,ho,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(bo,void 0,ro,{...no,...to,interpolationkey:ho}):bo}const mo=ho.split(this.formatSeparator),vo=mo.shift().trim(),Co=mo.join(this.formatSeparator).trim();return this.format(deepFindWithDefaults(to,so,vo,this.options.keySeparator,this.options.ignoreJSONStructure),Co,ro,{...no,...to,interpolationkey:vo})};this.resetRegExp();const co=no&&no.missingInterpolationHandler||this.options.missingInterpolationHandler,uo=no&&no.interpolation&&no.interpolation.skipOnVariables!==void 0?no.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:ho=>regexSafe(ho)},{regex:this.regexp,safeValue:ho=>this.escapeValue?regexSafe(this.escape(ho)):regexSafe(ho)}].forEach(ho=>{for(ao=0;io=ho.regex.exec(eo);){const mo=io[1].trim();if(oo=lo(mo),oo===void 0)if(typeof co=="function"){const Co=co(eo,io,no);oo=typeof Co=="string"?Co:""}else if(no&&Object.prototype.hasOwnProperty.call(no,mo))oo="";else if(uo){oo=io[0];continue}else this.logger.warn(`missed to pass in variable ${mo} for interpolating ${eo}`),oo="";else typeof oo!="string"&&!this.useRawValueToEscape&&(oo=makeString(oo));const vo=ho.safeValue(oo);if(eo=eo.replace(io[0],vo),uo?(ho.regex.lastIndex+=oo.length,ho.regex.lastIndex-=io[0].length):ho.regex.lastIndex=0,ao++,ao>=this.maxReplaces)break}}),eo}nest(eo,to){let ro=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},no,io,oo;const ao=(so,lo)=>{const co=this.nestingOptionsSeparator;if(so.indexOf(co)<0)return so;const uo=so.split(new RegExp(`${co}[ ]*{`));let fo=`{${uo[1]}`;so=uo[0],fo=this.interpolate(fo,oo);const ho=fo.match(/'/g),mo=fo.match(/"/g);(ho&&ho.length%2===0&&!mo||mo.length%2!==0)&&(fo=fo.replace(/'/g,'"'));try{oo=JSON.parse(fo),lo&&(oo={...lo,...oo})}catch(vo){return this.logger.warn(`failed parsing options string in nesting for key ${so}`,vo),`${so}${co}${fo}`}return oo.defaultValue&&oo.defaultValue.indexOf(this.prefix)>-1&&delete oo.defaultValue,so};for(;no=this.nestingRegexp.exec(eo);){let so=[];oo={...ro},oo=oo.replace&&typeof oo.replace!="string"?oo.replace:oo,oo.applyPostProcessor=!1,delete oo.defaultValue;let lo=!1;if(no[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(no[1])){const co=no[1].split(this.formatSeparator).map(uo=>uo.trim());no[1]=co.shift(),so=co,lo=!0}if(io=to(ao.call(this,no[1].trim(),oo),oo),io&&no[0]===eo&&typeof io!="string")return io;typeof io!="string"&&(io=makeString(io)),io||(this.logger.warn(`missed to resolve ${no[1]} for nesting ${eo}`),io=""),lo&&(io=so.reduce((co,uo)=>this.format(co,uo,ro.lng,{...ro,interpolationkey:no[1].trim()}),io.trim())),eo=eo.replace(no[0],io),this.regexp.lastIndex=0}return eo}}const parseFormatStr=Yi=>{let eo=Yi.toLowerCase().trim();const to={};if(Yi.indexOf("(")>-1){const ro=Yi.split("(");eo=ro[0].toLowerCase().trim();const no=ro[1].substring(0,ro[1].length-1);eo==="currency"&&no.indexOf(":")<0?to.currency||(to.currency=no.trim()):eo==="relativetime"&&no.indexOf(":")<0?to.range||(to.range=no.trim()):no.split(";").forEach(oo=>{if(oo){const[ao,...so]=oo.split(":"),lo=so.join(":").trim().replace(/^'+|'+$/g,""),co=ao.trim();to[co]||(to[co]=lo),lo==="false"&&(to[co]=!1),lo==="true"&&(to[co]=!0),isNaN(lo)||(to[co]=parseInt(lo,10))}})}return{formatName:eo,formatOptions:to}},createCachedFormatter=Yi=>{const eo={};return(to,ro,no)=>{const io=ro+JSON.stringify(no);let oo=eo[io];return oo||(oo=Yi(getCleanedCode(ro),no),eo[io]=oo),oo(to)}};class Formatter{constructor(){let eo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=baseLogger.create("formatter"),this.options=eo,this.formats={number:createCachedFormatter((to,ro)=>{const no=new Intl.NumberFormat(to,{...ro});return io=>no.format(io)}),currency:createCachedFormatter((to,ro)=>{const no=new Intl.NumberFormat(to,{...ro,style:"currency"});return io=>no.format(io)}),datetime:createCachedFormatter((to,ro)=>{const no=new Intl.DateTimeFormat(to,{...ro});return io=>no.format(io)}),relativetime:createCachedFormatter((to,ro)=>{const no=new Intl.RelativeTimeFormat(to,{...ro});return io=>no.format(io,ro.range||"day")}),list:createCachedFormatter((to,ro)=>{const no=new Intl.ListFormat(to,{...ro});return io=>no.format(io)})},this.init(eo)}init(eo){const ro=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=ro.formatSeparator?ro.formatSeparator:ro.formatSeparator||","}add(eo,to){this.formats[eo.toLowerCase().trim()]=to}addCached(eo,to){this.formats[eo.toLowerCase().trim()]=createCachedFormatter(to)}format(eo,to,ro){let no=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const io=to.split(this.formatSeparator);if(io.length>1&&io[0].indexOf("(")>1&&io[0].indexOf(")")<0&&io.find(ao=>ao.indexOf(")")>-1)){const ao=io.findIndex(so=>so.indexOf(")")>-1);io[0]=[io[0],...io.splice(1,ao)].join(this.formatSeparator)}return io.reduce((ao,so)=>{const{formatName:lo,formatOptions:co}=parseFormatStr(so);if(this.formats[lo]){let uo=ao;try{const fo=no&&no.formatParams&&no.formatParams[no.interpolationkey]||{},ho=fo.locale||fo.lng||no.locale||no.lng||ro;uo=this.formats[lo](ao,ho,{...co,...no,...fo})}catch(fo){this.logger.warn(fo)}return uo}else this.logger.warn(`there was no format function for ${lo}`);return ao},eo)}}const removePending=(Yi,eo)=>{Yi.pending[eo]!==void 0&&(delete Yi.pending[eo],Yi.pendingCount--)};
vendor: 5,425 bytes, line 377
377class Connector extends EventEmitter$1{constructor(eo,to,ro){let no=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=eo,this.store=to,this.services=ro,this.languageUtils=ro.languageUtils,this.options=no,this.logger=baseLogger.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=no.maxParallelReads||10,this.readingCalls=0,this.maxRetries=no.maxRetries>=0?no.maxRetries:5,this.retryTimeout=no.retryTimeout>=1?no.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(ro,no.backend,no)}queueLoad(eo,to,ro,no){const io={},oo={},ao={},so={};return eo.forEach(lo=>{let co=!0;to.forEach(uo=>{const fo=`${lo}|${uo}`;!ro.reload&&this.store.hasResourceBundle(lo,uo)?this.state[fo]=2:this.state[fo]<0||(this.state[fo]===1?oo[fo]===void 0&&(oo[fo]=!0):(this.state[fo]=1,co=!1,oo[fo]===void 0&&(oo[fo]=!0),io[fo]===void 0&&(io[fo]=!0),so[uo]===void 0&&(so[uo]=!0)))}),co||(ao[lo]=!0)}),(Object.keys(io).length||Object.keys(oo).length)&&this.queue.push({pending:oo,pendingCount:Object.keys(oo).length,loaded:{},errors:[],callback:no}),{toLoad:Object.keys(io),pending:Object.keys(oo),toLoadLanguages:Object.keys(ao),toLoadNamespaces:Object.keys(so)}}loaded(eo,to,ro){const no=eo.split("|"),io=no[0],oo=no[1];to&&this.emit("failedLoading",io,oo,to),ro&&this.store.addResourceBundle(io,oo,ro,void 0,void 0,{skipCopy:!0}),this.state[eo]=to?-1:2;const ao={};this.queue.forEach(so=>{pushPath(so.loaded,[io],oo),removePending(so,eo),to&&so.errors.push(to),so.pendingCount===0&&!so.done&&(Object.keys(so.loaded).forEach(lo=>{ao[lo]||(ao[lo]={});const co=so.loaded[lo];co.length&&co.forEach(uo=>{ao[lo][uo]===void 0&&(ao[lo][uo]=!0)})}),so.done=!0,so.errors.length?so.callback(so.errors):so.callback())}),this.emit("loaded",ao),this.queue=this.queue.filter(so=>!so.done)}read(eo,to,ro){let no=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,io=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,oo=arguments.length>5?arguments[5]:void 0;if(!eo.length)return oo(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:eo,ns:to,fcName:ro,tried:no,wait:io,callback:oo});return}this.readingCalls++;const ao=(lo,co)=>{if(this.readingCalls--,this.waitingReads.length>0){const uo=this.waitingReads.shift();this.read(uo.lng,uo.ns,uo.fcName,uo.tried,uo.wait,uo.callback)}if(lo&&co&&no<this.maxRetries){setTimeout(()=>{this.read.call(this,eo,to,ro,no+1,io*2,oo)},io);return}oo(lo,co)},so=this.backend[ro].bind(this.backend);if(so.length===2){try{const lo=so(eo,to);lo&&typeof lo.then=="function"?lo.then(co=>ao(null,co)).catch(ao):ao(null,lo)}catch(lo){ao(lo)}return}return so(eo,to,ao)}prepareLoading(eo,to){let ro=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},no=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),no&&no();typeof eo=="string"&&(eo=this.languageUtils.toResolveHierarchy(eo)),typeof to=="string"&&(to=[to]);const io=this.queueLoad(eo,to,ro,no);if(!io.toLoad.length)return io.pending.length||no(),null;io.toLoad.forEach(oo=>{this.loadOne(oo)})}load(eo,to,ro){this.prepareLoading(eo,to,{},ro)}reload(eo,to,ro){this.prepareLoading(eo,to,{reload:!0},ro)}loadOne(eo){let to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const ro=eo.split("|"),no=ro[0],io=ro[1];this.read(no,io,"read",void 0,void 0,(oo,ao)=>{oo&&this.logger.warn(`${to}loading namespace ${io} for language ${no} failed`,oo),!oo&&ao&&this.logger.log(`${to}loaded namespace ${io} for language ${no}`,ao),this.loaded(eo,oo,ao)})}saveMissing(eo,to,ro,no,io){let oo=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},ao=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(to)){this.logger.warn(`did not save key "${ro}" as the namespace "${to}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(ro==null||ro==="")){if(this.backend&&this.backend.create){const so={...oo,isUpdate:io},lo=this.backend.create.bind(this.backend);if(lo.length<6)try{let co;lo.length===5?co=lo(eo,to,ro,no,so):co=lo(eo,to,ro,no),co&&typeof co.then=="function"?co.then(uo=>ao(null,uo)).catch(ao):ao(null,co)}catch(co){ao(co)}else lo(eo,to,ro,no,ao,so)}!eo||!eo[0]||this.store.addResource(eo[0],to,ro,no)}}}const get$4=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:Yi=>{let eo={};if(typeof Yi[1]=="object"&&(eo=Yi[1]),typeof Yi[1]=="string"&&(eo.defaultValue=Yi[1]),typeof Yi[2]=="str
377ing"&&(eo.tDescription=Yi[2]),typeof Yi[2]=="object"||typeof Yi[3]=="object"){const to=Yi[3]||Yi[2];Object.keys(to).forEach(ro=>{eo[ro]=to[ro]})}return eo},interpolation:{escapeValue:!0,format:Yi=>Yi,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),transformOptions=Yi=>(typeof Yi.ns=="string"&&(Yi.ns=[Yi.ns]),typeof Yi.fallbackLng=="string"&&(Yi.fallbackLng=[Yi.fallbackLng]),typeof Yi.fallbackNS=="string"&&(Yi.fallbackNS=[Yi.fallbackNS]),Yi.supportedLngs&&Yi.supportedLngs.indexOf("cimode")<0&&(Yi.supportedLngs=Yi.supportedLngs.concat(["cimode"])),Yi),noop$6=()=>{},bindMemberFunctions=Yi=>{Object.getOwnPropertyNames(Object.getPrototypeOf(Yi)).forEach(to=>{typeof Yi[to]=="function"&&(Yi[to]=Yi[to].bind(Yi))})};class I18n extends EventEmitter$1{constructor(){let eo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},to=arguments.length>1?arguments[1]:void 0;if(super(),this.options=transformOptions(eo),this.services={},this.logger=baseLogger,this.modules={external:[]},bindMemberFunctions(this),to&&!this.isInitialized&&!eo.isClone){if(!this.options.initImmediate)return this.init(eo,to),this;setTimeout(()=>{this.init(eo,to)},0)}}init(){var eo=this;let to=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ro=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof to=="function"&&(ro=to,to={}),!to.defaultNS&&to.defaultNS!==!1&&to.ns&&(typeof to.ns=="string"?to.defaultNS=to.ns:to.ns.indexOf("translation")<0&&(to.defaultNS=to.ns[0]));const no=get$4();this.options={...no,...this.options,...transformOptions(to)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...no.interpolation,...this.options.interpolation}),to.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=to.keySeparator),to.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=to.nsSeparator);const io=co=>co?typeof co=="function"?new co:co:null;if(!this.options.isClone){this.modules.logger?baseLogger.init(io(this.modules.logger),this.options):baseLogger.init(null,this.options);let co;this.modules.formatter?co=this.modules.formatter:typeof Intl<"u"&&(co=Formatter);const uo=new LanguageUtil(this.options);this.store=new ResourceStore(this.options.resources,this.options);const fo=this.services;fo.logger=baseLogger,fo.resourceStore=this.store,fo.languageUtils=uo,fo.pluralResolver=new PluralResolver(uo,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),co&&(!this.options.interpolation.format||this.options.interpolation.format===no.interpolation.format)&&(fo.formatter=io(co),fo.formatter.init(fo,this.options),this.options.interpolation.format=fo.formatter.format.bind(fo.formatter)),fo.interpolator=new Interpolator(this.options),fo.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},fo.backendConnector=new Connector(io(this.modules.backend),fo.resourceStore,fo,this.options),fo.backendConnector.on("*",function(ho){for(var mo=arguments.length,vo=new Array(mo>1?mo-1:0),Co=1;Co<mo;Co++)vo[Co-1]=arguments[Co];eo.emit(ho,...vo)}),this.modules.languageDetector&&(fo.languageDetector=io(this.modules.languageDetector),fo.languageDetector.init&&fo.languageDetector.init(fo,this.options.detection,this.options)),this.modules.i18nFormat&&(fo.i18nFormat=io(this.modules.i18nFormat),fo.i18nFormat.init&&fo.i18nFormat.init(this)),this.translator=new Translator(this.services,this.options),this.translator.on("*",function(ho){for(var mo=arguments.length,vo=new Array(mo>1?mo-1:0),Co=1;Co<mo;Co++)vo[Co-1]=arguments[Co];eo.emit(ho,...vo)}),this.modules.external.forEach(ho=>{ho.init&&ho.init(this)})}if(this.format=this.options.interpolation.format,ro||(ro=noop$6),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const co=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);co.length>0&&co[0]!=="dev"&&(this.options.lng=co[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(co=>{this[co]=function(){return eo.store[co](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(co=>{this[co]=function(){return eo.store[co](...arguments),eo}});const so=defer(),lo=()=>{const co=(uo,fo)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit
vendor: 8,693 bytes, line 377
377("initialized",this.options),so.resolve(fo),ro(uo,fo)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return co(null,this.t.bind(this));this.changeLanguage(this.options.lng,co)};return this.options.resources||!this.options.initImmediate?lo():setTimeout(lo,0),so}loadResources(eo){let ro=arguments.length>1&&arguments[1]!==void 0?arguments[1]:noop$6;const no=typeof eo=="string"?eo:this.language;if(typeof eo=="function"&&(ro=eo),!this.options.resources||this.options.partialBundledLanguages){if(no&&no.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return ro();const io=[],oo=ao=>{if(!ao||ao==="cimode")return;this.services.languageUtils.toResolveHierarchy(ao).forEach(lo=>{lo!=="cimode"&&io.indexOf(lo)<0&&io.push(lo)})};no?oo(no):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(so=>oo(so)),this.options.preload&&this.options.preload.forEach(ao=>oo(ao)),this.services.backendConnector.load(io,this.options.ns,ao=>{!ao&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),ro(ao)})}else ro(null)}reloadResources(eo,to,ro){const no=defer();return eo||(eo=this.languages),to||(to=this.options.ns),ro||(ro=noop$6),this.services.backendConnector.reload(eo,to,io=>{no.resolve(),ro(io)}),no}use(eo){if(!eo)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!eo.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return eo.type==="backend"&&(this.modules.backend=eo),(eo.type==="logger"||eo.log&&eo.warn&&eo.error)&&(this.modules.logger=eo),eo.type==="languageDetector"&&(this.modules.languageDetector=eo),eo.type==="i18nFormat"&&(this.modules.i18nFormat=eo),eo.type==="postProcessor"&&postProcessor.addPostProcessor(eo),eo.type==="formatter"&&(this.modules.formatter=eo),eo.type==="3rdParty"&&this.modules.external.push(eo),this}setResolvedLanguage(eo){if(!(!eo||!this.languages)&&!(["cimode","dev"].indexOf(eo)>-1))for(let to=0;to<this.languages.length;to++){const ro=this.languages[to];if(!(["cimode","dev"].indexOf(ro)>-1)&&this.store.hasLanguageSomeTranslations(ro)){this.resolvedLanguage=ro;break}}}changeLanguage(eo,to){var ro=this;this.isLanguageChangingTo=eo;const no=defer();this.emit("languageChanging",eo);const io=so=>{this.language=so,this.languages=this.services.languageUtils.toResolveHierarchy(so),this.resolvedLanguage=void 0,this.setResolvedLanguage(so)},oo=(so,lo)=>{lo?(io(lo),this.translator.changeLanguage(lo),this.isLanguageChangingTo=void 0,this.emit("languageChanged",lo),this.logger.log("languageChanged",lo)):this.isLanguageChangingTo=void 0,no.resolve(function(){return ro.t(...arguments)}),to&&to(so,function(){return ro.t(...arguments)})},ao=so=>{!eo&&!so&&this.services.languageDetector&&(so=[]);const lo=typeof so=="string"?so:this.services.languageUtils.getBestMatchFromCodes(so);lo&&(this.language||io(lo),this.translator.language||this.translator.changeLanguage(lo),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(lo)),this.loadResources(lo,co=>{oo(co,lo)})};return!eo&&this.services.languageDetector&&!this.services.languageDetector.async?ao(this.services.languageDetector.detect()):!eo&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(ao):this.services.languageDetector.detect(ao):ao(eo),no}getFixedT(eo,to,ro){var no=this;const io=function(oo,ao){let so;if(typeof ao!="object"){for(var lo=arguments.length,co=new Array(lo>2?lo-2:0),uo=2;uo<lo;uo++)co[uo-2]=arguments[uo];so=no.options.overloadTranslationOptionHandler([oo,ao].concat(co))}else so={...ao};so.lng=so.lng||io.lng,so.lngs=so.lngs||io.lngs,so.ns=so.ns||io.ns,so.keyPrefix!==""&&(so.keyPrefix=so.keyPrefix||ro||io.keyPrefix);const fo=no.options.keySeparator||".";let ho;return so.keyPrefix&&Array.isArray(oo)?ho=oo.map(mo=>`${so.keyPrefix}${fo}${mo}`):ho=so.keyPrefix?`${so.keyPrefix}${fo}${oo}`:oo,no.t(ho,so)};return typeof eo=="string"?io.lng=eo:io.lngs=eo,io.ns=to,io.keyPrefix=ro,io}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(eo){this.options.defaultNS=eo}hasLoadedNamespace(eo){let to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const ro=to.lng||this.resolvedLanguage||this.languages[0],no=this.options?this.options.fallbackLng:!1,io=this.languages[this.languages.length-1];if(ro.toLowerCase()==="cimode")return!0;const oo=(ao,so)=>{const lo=this.services.backendConnector.state[`${ao}|${so}`];return lo===-1||lo===2};if(to.precheck){const ao=to.precheck(this,oo);if(ao!==void 0)return ao}return!!(this.hasResourceBundle(ro,eo)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||oo(ro,eo)&&(!no||oo(io,eo)))}loadNamespaces(eo,to){const ro=defer();return this.options.ns?(typeof eo=="string"&&(eo=[eo]),eo.forEach(no=>{this.options.ns.indexOf(no)<0&&this.options.ns.push(no)}),this.loadResources(no=>{ro.resolve(),to&&to(no)}),ro):(to&&to(),Promise.resolve())}loadLanguages(eo,to){const ro=defer();typeof eo=="string"&&(eo=[eo]);const no=this.options.preload||[],io=eo.filter(oo=>no.indexOf(oo)<0&&this.services.languageUtils.isSupportedCode(oo));return io.length?(this.options.preload=no.concat(io),this.loadResources(oo=>{ro.resolve(),to&&to(oo)}),ro):(to&&to(),Promise.resolve())}dir(eo){if(eo||(eo=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!eo)return"rtl";const to=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],ro=this.services&&this.services.languageUtils||new LanguageUtil(get$4());return to.indexOf(ro.getLanguagePartFromCode(eo))>-1||eo.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let eo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},to=arguments.length>1?arguments[1]:void 0;return new I18n(eo,to)}cloneInstance(){let eo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:noop$6;const ro=eo.forkResourceStore;ro&&delete eo.forkResourceStore;const no={...this.options,...eo,isClone:!0},io=new I18n(no);return(eo.debug!==void 0||eo.prefix!==void 0)&&(io.logger=io.logger.clone(eo)),["store","services","language"].forEach(ao=>{io[ao]=this[ao]}),io.services={...this.services},io.services.utils={hasLoadedNamespace:io.hasLoadedNamespace.bind(io)},ro&&(io.store=new ResourceStore(this.store.data,no),io.services.resourceStore=io.store),io.translator=new Translator(io.services,no),io.translator.on("*",function(ao){for(var so=arguments.length,lo=new Array(so>1?so-1:0),co=1;co<so;co++)lo[co-1]=arguments[co];io.emit(ao,...lo)}),io.init(no,to),io.translator.options=no,io.translator.backendConnector.services.utils={hasLoadedNamespace:io.hasLoadedNamespace.bind(io)},io}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const instance=I18n.createInstance();instance.createInstance=I18n.createInstance;instance.createInstance;instance.dir;instance.init;instance.loadResources;instance.reloadResources;instance.use;instance.changeLanguage;instance.getFixedT;const t$1=instance.t;instance.exists;instance.setDefaultNamespace;instance.hasLoadedNamespace;instance.loadNamespaces;instance.loadLanguages;function _typeof$K(Yi){"@babel/helpers - typeof";return _typeof$K=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$K(Yi)}function toPrimitive(Yi,eo){if(_typeof$K(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$K(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}
vendor: 1,850 bytes, line 377
377return(eo==="string"?String:Number)(Yi)}function toPropertyKey(Yi){var eo=toPrimitive(Yi,"string");return _typeof$K(eo)=="symbol"?eo:eo+""}function _defineProperty$I(Yi,eo,to){return(eo=toPropertyKey(eo))in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _objectWithoutProperties$j(Yi,eo){if(Yi==null)return{};var to,ro,no=_objectWithoutPropertiesLoose$k(Yi,eo);if(Object.getOwnPropertySymbols){var io=Object.getOwnPropertySymbols(Yi);for(ro=0;ro<io.length;ro++)to=io[ro],eo.indexOf(to)===-1&&{}.propertyIsEnumerable.call(Yi,to)&&(no[to]=Yi[to])}return no}var voidElements={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};const e$2=getDefaultExportFromCjs(voidElements);var t=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function n(Yi){var eo={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},to=Yi.match(/<\/?([^\s]+?)[/\s>]/);if(to&&(eo.name=to[1],(e$2[to[1]]||Yi.charAt(Yi.length-2)==="/")&&(eo.voidElement=!0),eo.name.startsWith("!--"))){var ro=Yi.indexOf("-->");return{type:"comment",comment:ro!==-1?Yi.slice(4,ro):""}}for(var no=new RegExp(t),io=null;(io=no.exec(Yi))!==null;)if(io[0].trim())if(io[1]){var oo=io[1].trim(),ao=[oo,""];oo.indexOf("=")>-1&&(ao=oo.split("=")),eo.attrs[ao[0]]=ao[1],no.lastIndex--}else io[2]&&(eo.attrs[io[2]]=io[3].trim().substring(1,io[3].length-1));return eo}var r=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,i$5=/^\s*$/,s$2=Object.create(null);function a$2(Yi,eo){switch(eo.type){case"text":return Yi+eo.content;case"tag":return Yi+="<"+eo.name+(eo.attrs?(function(to){var ro=[];for(var no in to)ro.push(no+'="'+to[no]+'"');return ro.length?" "+ro.join(" "):""})(eo.attrs):"")+(eo.voidElement?"/>":">"),eo.voidElement?Yi:Yi+eo.children.reduce(a$2,"")+"</"+eo.name+">";
vendor: 2,886 bytes, line 377
377case"comment":return Yi+"<!--"+eo.comment+"-->"}}var c$2={parse:function(Yi,eo){eo||(eo={}),eo.components||(eo.components=s$2);var to,ro=[],no=[],io=-1,oo=!1;if(Yi.indexOf("<")!==0){var ao=Yi.indexOf("<");ro.push({type:"text",content:ao===-1?Yi:Yi.substring(0,ao)})}return Yi.replace(r,function(so,lo){if(oo){if(so!=="</"+to.name+">")return;oo=!1}var co,uo=so.charAt(1)!=="/",fo=so.startsWith("<!--"),ho=lo+so.length,mo=Yi.charAt(ho);if(fo){var vo=n(so);return io<0?(ro.push(vo),ro):((co=no[io]).children.push(vo),ro)}if(uo&&(io++,(to=n(so)).type==="tag"&&eo.components[to.name]&&(to.type="component",oo=!0),to.voidElement||oo||!mo||mo==="<"||to.children.push({type:"text",content:Yi.slice(ho,Yi.indexOf("<",ho))}),io===0&&ro.push(to),(co=no[io-1])&&co.children.push(to),no[io]=to),(!uo||to.voidElement)&&(io>-1&&(to.voidElement||to.name===so.slice(2,-1))&&(io--,to=io===-1?ro:no[io]),!oo&&mo!=="<"&&mo)){co=io===-1?ro:no[io].children;var Co=Yi.indexOf("<",ho),bo=Yi.slice(ho,Co===-1?void 0:Co);i$5.test(bo)&&(bo=" "),(Co>-1&&io+co.length>=0||bo!==" ")&&co.push({type:"text",content:bo})}}),ro},stringify:function(Yi){return Yi.reduce(function(eo,to){return eo+a$2("",to)},"")}};function warn$1(){if(console&&console.warn){for(var Yi,eo=arguments.length,to=new Array(eo),ro=0;ro<eo;ro++)to[ro]=arguments[ro];typeof to[0]=="string"&&(to[0]="react-i18next:: ".concat(to[0])),(Yi=console).warn.apply(Yi,to)}}var alreadyWarned={};function warnOnce(){for(var Yi=arguments.length,eo=new Array(Yi),to=0;to<Yi;to++)eo[to]=arguments[to];typeof eo[0]=="string"&&alreadyWarned[eo[0]]||(typeof eo[0]=="string"&&(alreadyWarned[eo[0]]=new Date),warn$1.apply(void 0,eo))}var loadedClb=function Yi(eo,to){return function(){if(eo.isInitialized)to();else{var ro=function no(){setTimeout(function(){eo.off("initialized",no)},0),to()};eo.on("initialized",ro)}}};function loadNamespaces(Yi,eo,to){Yi.loadNamespaces(eo,loadedClb(Yi,to))}function loadLanguages(Yi,eo,to,ro){typeof to=="string"&&(to=[to]),to.forEach(function(no){Yi.options.ns.indexOf(no)<0&&Yi.options.ns.push(no)}),Yi.loadLanguages(eo,loadedClb(Yi,ro))}function oldI18nextHasLoadedNamespace(Yi,eo){var to=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ro=eo.languages[0],no=eo.options?eo.options.fallbackLng:!1,io=eo.languages[eo.languages.length-1];if(ro.toLowerCase()==="cimode")return!0;var oo=function(so,lo){var co=eo.services.backendConnector.state["".concat(so,"|").concat(lo)];return co===-1||co===2};return to.bindI18n&&to.bindI18n.indexOf("languageChanging")>-1&&eo.services.backendConnector.backend&&eo.isLanguageChangingTo&&!oo(eo.isLanguageChangingTo,Yi)?!1:!!(eo.hasResourceBundle(ro,Yi)||!eo.services.backendConnector.backend||eo.options.resources&&!eo.options.partialBundledLanguages||oo(ro,Yi)&&(!no||oo(io,Yi)))}function hasLoadedNamespace(Yi,eo){var to=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};
377if(!eo.languages||!eo.languages.length)return warnOnce("i18n.languages were undefined or empty",eo.languages),!0;var ro=eo.options.ignoreJSONStructure!==void 0;return ro?eo.hasLoadedNamespace(Yi,{lng:to.lng,precheck:function(io,oo){if(to.bindI18n&&to.bindI18n.indexOf("languageChanging")>-1&&io.services.backendConnector.backend&&io.isLanguageChangingTo&&!oo(io.isLanguageChangingTo,Yi))return!1}}):oldI18nextHasLoadedNamespace(Yi,eo,to)}function getDisplayName$1(Yi){return Yi.displayName||Yi.name||(typeof Yi=="string"&&Yi.length>0?Yi:"Unknown")}var matchHtmlEntity=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,htmlEntities={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},unescapeHtmlEntity=function Yi(eo){return htmlEntities[eo]},unescape$1=function Yi(eo){return eo.replace(matchHtmlEntity,unescapeHtmlEntity)};function ownKeys$E(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$E(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$E(Object(to),!0).forEach(function(ro){_defineProperty$I(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$E(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}var defaultOptions$3={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:unescape$1};function setDefaults(){var Yi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};defaultOptions$3=_objectSpread$E(_objectSpread$E({},defaultOptions$3),Yi)}function getDefaults(){return defaultOptions$3}var i18nInstance;function setI18n(Yi){i18nInstance=Yi}function getI18n(){return i18nInstance}var _excluded$m=["format"],_excluded2$6=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function ownKeys$D(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$D(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$D(Object(to),!0).forEach(function(ro){_defineProperty$I(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$D(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function hasChildren(Yi,eo){if(!Yi)return!1;var to=Yi.props?Yi.props.children:Yi.children;return eo?to.length>0:!!to}function getChildren$1(Yi){return Yi?Yi.props?Yi.props.children:Yi.children:[]}function hasValidReactChildren(Yi){return Object.prototype.toString.call(Yi)!=="[object Array]"?!1:Yi.every(function(eo){return reactExports.isValidElement(eo)})}function getAsArray(Yi){return Array.isArray(Yi)?Yi:[Yi]}function mergeProps(Yi,eo){var to=_objectSpread$D({},eo);return to.props=Object.assign(Yi.props,eo.props),to}function nodesToString(Yi,eo){if(!Yi)return"";var to="",ro=getAsArray(Yi),no=eo.transSupportBasicHtmlNodes&&eo.transKeepBasicHtmlNodesFor?eo.transKeepBasicHtmlNodesFor:[];return ro.forEach(function(io,oo){if(typeof io=="string")to+="".concat(io);else if(reactExports.isValidElement(io)){var ao=Object.keys(io.props).length,so=no.indexOf(io.type)>-1,lo=io.props.children;if(!lo&&so&&ao===0)to+="<".concat(io.type,"/>");else if(!lo&&(!so||ao!==0))to+="<".concat(oo,"></").concat(oo,">");else if(io.props.i18nIsDynamicList)to+="<".concat(oo,"></").concat(oo,">");
377else if(so&&ao===1&&typeof lo=="string")to+="<".concat(io.type,">").concat(lo,"</").concat(io.type,">");else{var co=nodesToString(lo,eo);to+="<".concat(oo,">").concat(co,"</").concat(oo,">")}}else if(io===null)warn$1("Trans: the passed in value is invalid - seems you passed in a null child.");else if(_typeof$K(io)==="object"){var uo=io.format,fo=_objectWithoutProperties$j(io,_excluded$m),ho=Object.keys(fo);if(ho.length===1){var mo=uo?"".concat(ho[0],", ").concat(uo):ho[0];to+="{{".concat(mo,"}}")}else warn$1("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",io)}else warn$1("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",io)}),to}function renderNodes(Yi,eo,to,ro,no,io){if(eo==="")return[];var oo=ro.transKeepBasicHtmlNodesFor||[],ao=eo&&new RegExp(oo.join("|")).test(eo);if(!Yi&&!ao)return[eo];var so={};function lo(Co){var bo=getAsArray(Co);bo.forEach(function(wo){typeof wo!="string"&&(hasChildren(wo)?lo(getChildren$1(wo)):_typeof$K(wo)==="object"&&!reactExports.isValidElement(wo)&&Object.assign(so,wo))})}lo(Yi);var co=c$2.parse("<0>".concat(eo,"</0>")),uo=_objectSpread$D(_objectSpread$D({},so),no);function fo(Co,bo,wo){var yo=getChildren$1(Co),Eo=mo(yo,bo.children,wo);return hasValidReactChildren(yo)&&Eo.length===0?yo:Eo}function ho(Co,bo,wo,yo,Eo){Co.dummy&&(Co.children=bo),wo.push(reactExports.cloneElement(Co,_objectSpread$D(_objectSpread$D({},Co.props),{},{key:yo}),Eo?void 0:bo))}function mo(Co,bo,wo){var yo=getAsArray(Co),Eo=getAsArray(bo);return Eo.reduce(function(xo,So,To){var Ro=So.children&&So.children[0]&&So.children[0].content&&to.services.interpolator.interpolate(So.children[0].content,uo,to.language);if(So.type==="tag"){var Po=yo[parseInt(So.name,10)];!Po&&wo.length===1&&wo[0][So.name]&&(Po=wo[0][So.name]),Po||(Po={});var zo=Object.keys(So.attrs).length!==0?mergeProps({props:So.attrs},Po):Po,Ho=reactExports.isValidElement(zo),Vo=Ho&&hasChildren(So,!0)&&!So.voidElement,Lo=ao&&_typeof$K(zo)==="object"&&zo.dummy&&!Ho,Uo=_typeof$K(Yi)==="object"&&Yi!==null&&Object.hasOwnProperty.call(Yi,So.name);if(typeof zo=="string"){var Do=to.services.interpolator.interpolate(zo,uo,to.language);xo.push(Do)}else if(hasChildren(zo)||Vo){var Oo=fo(zo,So,wo);ho(zo,Oo,xo,To)}else if(Lo){var ko=mo(yo,So.children,wo);xo.push(reactExports.cloneElement(zo,_objectSpread$D(_objectSpread$D({},zo.props),{},{key:To}),ko))}else if(Number.isNaN(parseFloat(So.name)))if(Uo){var Bo=fo(zo,So,wo);ho(zo,Bo,xo,To,So.voidElement)}else if(ro.transSupportBasicHtmlNodes&&oo.indexOf(So.name)>-1)if(So.voidElement)xo.push(reactExports.createElement(So.name,{key:"".concat(So.name,"-").concat(To)}));else{var Fo=mo(yo,So.children,wo);xo.push(reactExports.createElement(So.name,{key:"".concat(So.name,"-").concat(To)},Fo))}else if(So.voidElement)xo.push("<".concat(So.name," />"));else{var Qo=mo(yo,So.children,wo);xo.push("<".concat(So.name,">").concat(Qo,"</").concat(So.name,">"))}else if(_typeof$K(zo)==="object"&&!Ho){var jo=So.children[0]?Ro:null;jo&&xo.push(jo)}else So.children.length===1&&Ro?xo.push(reactExports.cloneElement(zo,_objectSpread$D(_objectSpread$D({},zo.props),{},{key:To}),Ro)):xo.push(reactExports.cloneElement(zo,_objectSpread$D(_objectSpread$D({},zo.props),{},{key:To})))}else if(So.type==="text"){var Xo=ro.transWrapTextNodes,Zo=io?ro.unescape(to.services.interpolator.interpolate(So.content,uo,to.language)):to.services.interpolator.interpolate(So.content,uo,to.language);Xo?xo.push(reactExports.createElement(Xo,{key:"".concat(So.name,"-").concat(To)},Zo)):xo.push(Zo)}return xo},[])}var vo=mo([{dummy:!0,children:Yi||[]}],co,getAsArray(Yi||[]));return getChildren$1(vo[0])}function Trans$1(Yi){var eo=Yi.children,to=Yi.count,ro=Yi.parent,no=Yi.i18nKey,io=Yi.context,oo=Yi.tOptions,ao=oo===void 0?{}:oo,so=Yi.values,lo=Yi.defaults,co=Yi.components,uo=Yi.ns,fo=Yi.i18n,ho=Yi.t,mo=Yi.shouldUnescape,vo=_objectWithoutProperties$j(Yi,_excluded2$6),Co=fo||getI18n();if(!Co)return warnOnce("You will need to pass in an i18next instance by using i18nextReactModule"),eo;var bo=ho||Co.t.bind(Co)||function(Vo){return Vo};io&&(ao.context=io);var wo=_objectSpread$D(_objectSpread$D({},getDefaults()),Co.options&&Co.options.react),yo=uo||bo.ns||Co.options&&Co.options.defaultNS;yo=typeof yo=="string"?[yo]:yo||["translation"];var Eo=lo||nodesToString(eo,wo)||wo.transEmptyNodeValue||no,xo=wo.hashTransKey,So=no||(xo?xo(Eo):Eo),To=so?ao.interpolation:{interpolation:_objectSpread$D(_objectSpread$D({},ao.interpolation),{},{prefix:"#$?",suffix:"?$#"})},Ro=_objectSpread$D(_objectSpread$D(_objectSpread$D(_objectSpread$D({},ao),{},{count:to},so),To),{},{defaultValue:Eo,ns:yo}),Po=So?bo(So,Ro):Eo,zo=renderNodes(co||eo,Po,Co,wo,Ro,mo),Ho=ro!==void 0?ro:wo.defaultTransParent;return Ho?reactExports.createElement(Ho,vo,zo):zo}function _classCallCheck$p(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$l(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,toPropertyKey(ro.key),ro)}}function _createClass$p(Yi,eo,to){return eo&&_defineProperties$l(Yi.prototype,eo),Object.defineProperty(Yi,"prototype",{writable:!1}),Yi}var initReactI18next={type:"3rdParty",init:function Yi(eo){setDefaults(eo.options.react),setI18n(eo)}},I18nContext=reactExports.createContext(),ReportNamespaces=(function(){function Yi(){_classCallCheck$p(this,Yi),this.usedNamespaces={}}return _createClass$p(Yi,[{key:"addUsedNamespaces",value:function(to){var ro=this;to.forEach(function(no){ro.usedNamespaces[no]||(ro.usedNamespaces[no]=!0)})}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),Yi})(),_excluded$l=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUne
377scape"];function ownKeys$C(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$C(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$C(Object(to),!0).forEach(function(ro){_defineProperty$I(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$C(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function Trans(Yi){var eo=Yi.children,to=Yi.count,ro=Yi.parent,no=Yi.i18nKey,io=Yi.context,oo=Yi.tOptions,ao=oo===void 0?{}:oo,so=Yi.values,lo=Yi.defaults,co=Yi.components,uo=Yi.ns,fo=Yi.i18n,ho=Yi.t,mo=Yi.shouldUnescape,vo=_objectWithoutProperties$j(Yi,_excluded$l),Co=reactExports.useContext(I18nContext)||{},bo=Co.i18n,wo=Co.defaultNS,yo=fo||bo||getI18n(),Eo=ho||yo&&yo.t.bind(yo);return Trans$1(_objectSpread$C({children:eo,count:to,parent:ro,i18nKey:no,context:io,tOptions:ao,values:so,defaults:lo,components:co,ns:uo||Eo&&Eo.ns||wo||yo&&yo.options&&yo.options.defaultNS,i18n:yo,t:ho,shouldUnescape:mo},vo))}function _arrayWithHoles$d(Yi){if(Array.isArray(Yi))return Yi}function _iterableToArrayLimit$c(Yi,eo){var to=Yi==null?null:typeof Symbol<"u"&&Yi[Symbol.iterator]||Yi["@@iterator"];if(to!=null){var ro,no,io,oo,ao=[],so=!0,lo=!1;try{if(io=(to=to.call(Yi)).next,eo===0){if(Object(to)!==to)return;so=!1}else for(;!(so=(ro=io.call(to)).done)&&(ao.push(ro.value),ao.length!==eo);so=!0);}catch(co){lo=!0,no=co}finally{try{if(!so&&to.return!=null&&(oo=to.return(),Object(oo)!==oo))return}finally{if(lo)throw no}}return ao}}function _arrayLikeToArray$k(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}function _unsupportedIterableToArray$k(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$k(Yi,eo);var to={}.toString.call(Yi).slice(8,-1);return to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set"?Array.from(Yi):to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to)?_arrayLikeToArray$k(Yi,eo):void 0}}function _nonIterableRest$d(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
378In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _slicedToArray$c(Yi,eo){return _arrayWithHoles$d(Yi)||_iterableToArrayLimit$c(Yi,eo)||_unsupportedIterableToArray$k(Yi,eo)||_nonIterableRest$d()}function ownKeys$B(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$B(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$B(Object(to),!0).forEach(function(ro){_defineProperty$I(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$B(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}var usePrevious=function Yi(eo,to){var ro=reactExports.useRef();return reactExports.useEffect(function(){ro.current=eo},[eo,to]),ro.current};function useTranslation(Yi){var eo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},to=eo.i18n,ro=reactExports.useContext(I18nContext)||{},no=ro.i18n,io=ro.defaultNS,oo=to||no||getI18n();if(oo&&!oo.reportNamespaces&&(oo.reportNamespaces=new ReportNamespaces),!oo){warnOnce("You will need to pass in an i18next instance by using initReactI18next");var ao=function(Po,zo){return typeof zo=="string"?zo:zo&&_typeof$K(zo)==="object"&&typeof zo.defaultValue=="string"?zo.defaultValue:Array.isArray(Po)?Po[Po.length-1]:Po},so=[ao,{},!1];return so.t=ao,so.i18n={},so.ready=!1,so}oo.options.react&&oo.options.react.wait!==void 0&&warnOnce("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var lo=_objectSpread$B(_objectSpread$B(_objectSpread$B({},getDefaults()),oo.options.react),eo),co=lo.useSuspense,uo=lo.keyPrefix,fo=Yi||io||oo.options&&oo.options.defaultNS;fo=typeof fo=="string"?[fo]:fo||["translation"],oo.reportNamespaces.addUsedNamespaces&&oo.reportNamespaces.addUsedNamespaces(fo);var ho=(oo.isInitialized||oo.initializedStoreOnce)&&fo.every(function(Ro){return hasLoadedNamespace(Ro,oo,lo)});function mo(){return oo.getFixedT(eo.lng||null,lo.nsMode==="fallback"?fo:fo[0],uo)}var vo=reactExports.useState(mo),Co=_slicedToArray$c(vo,2),bo=Co[0],wo=Co[1],yo=fo.join();eo.lng&&(yo="".concat(eo.lng).concat(yo));var Eo=usePrevious(yo),xo=reactExports.useRef(!0);reactExports.useEffect(function(){var Ro=lo.bindI18n,Po=lo.bindI18nStore;xo.current=!0,!ho&&!co&&(eo.lng?loadLanguages(oo,eo.lng,fo,function(){xo.current&&wo(mo)}):loadNamespaces(oo,fo,function(){xo.current&&wo(mo)})),ho&&Eo&&Eo!==yo&&xo.current&&wo(mo);function zo(){xo.current&&wo(mo)}return Ro&&oo&&oo.on(Ro,zo),Po&&oo&&oo.store.on(Po,zo),function(){xo.current=!1,Ro&&oo&&Ro.split(" ").forEach(function(Ho){return oo.off(Ho,zo)}),Po&&oo&&Po.split(" ").forEach(function(Ho){return oo.store.off(Ho,zo)})}},[oo,yo]);var So=reactExports.useRef(!0);reactExports.useEffect(function(){xo.current&&!So.current&&wo(mo),So.current=!1},[oo,uo]);var To=[bo,oo,ho];if(To.t=bo,To.i18n=oo,To.ready=ho,ho||!ho&&!co)return To;throw new Promise(function(Ro){eo.lng?loadLanguages(oo,eo.lng,fo,function(){return Ro()}):loadNamespaces(oo,fo,function(){return Ro()})})}var _excluded$k=["forwardedRef"];function ownKeys$A(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no
378).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$A(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$A(Object(to),!0).forEach(function(ro){_defineProperty$I(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$A(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function withTranslation(Yi){var eo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function(ro){function no(oo){var ao=oo.forwardedRef,so=_objectWithoutProperties$j(oo,_excluded$k),lo=useTranslation(Yi,_objectSpread$A(_objectSpread$A({},so),{},{keyPrefix:eo.keyPrefix})),co=_slicedToArray$c(lo,3),uo=co[0],fo=co[1],ho=co[2],mo=_objectSpread$A(_objectSpread$A({},so),{},{t:uo,i18n:fo,tReady:ho});return eo.withRef&&ao?mo.ref=ao:!eo.withRef&&ao&&(mo.forwardedRef=ao),reactExports.createElement(ro,mo)}no.displayName="withI18nextTranslation(".concat(getDisplayName$1(ro),")"),no.WrappedComponent=ro;var io=function(ao,so){return reactExports.createElement(no,Object.assign({},ao,{forwardedRef:so}))};return eo.withRef?reactExports.forwardRef(io):no}}var CheckCircleOutline={},interopRequireDefault={exports:{}};(function(Yi){function eo(to){return to&&to.__esModule?to:{default:to}}Yi.exports=eo,Yi.exports.__esModule=!0,Yi.exports.default=Yi.exports})(interopRequireDefault);var interopRequireDefaultExports=interopRequireDefault.exports,createSvgIcon={};const require$$0=getAugmentedNamespace(utils$4);var hasRequiredCreateSvgIcon;function requireCreateSvgIcon(){return hasRequiredCreateSvgIcon||(hasRequiredCreateSvgIcon=1,(function(Yi){"use client";Object.defineProperty(Yi,"__esModule",{value:!0}),Object.defineProperty(Yi,"default",{enumerable:!0,get:function(){return eo.createSvgIcon}});var eo=require$$0})(createSvgIcon)),createSvgIcon}var _interopRequireDefault$L=interopRequireDefaultExports;Object.defineProperty(CheckCircleOutline,"__esModule",{value:!0});var default_1$A=CheckCircleOutline.default=void 0,_createSvgIcon$A=_interopRequireDefault$L(requireCreateSvgIcon()),_jsxRuntime$A=jsxRuntimeExports;default_1$A=CheckCircleOutline.default=(0,_createSvgIcon$A.default)((0,_jsxRuntime$A.jsx)("path",{d:"M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"CheckCircleOutline");function c$1(Yi,eo,to,ro){var no=this,io=reactExports.useRef(null),oo=reactExports.useRef(0),ao=reactExports.useRef(0),so=reactExports.useRef(null),lo=reactExports.useRef([]),co=reactExports.useRef(),uo=reactExports.useRef(),fo=reactExports.useRef(Yi),ho=reactExports.useRef(!0);fo.current=Yi;var mo=typeof window<"u",vo=!eo&&eo!==0&&mo;if(typeof Yi!="function")throw new TypeError("Expected a function");eo=+eo||0;var Co=!!(to=to||{}).leading,bo=!("trailing"in to)||!!to.trailing,wo="maxWait"in to,yo="debounceOnServer"in to&&!!to.debounceOnServer,Eo=wo?Math.max(+to.maxWait||0,eo):null;reactExports.useEffect(function(){return ho.current=!0,function(){ho.current=!1}},[]);var xo=reactExports.useMemo(function(){var So=function(Lo){var Uo=lo.current,Do=co.current;return lo.current=co.current=null,oo.current=Lo,ao.current=ao.current||Lo,uo.current=fo.current.apply(Do,Uo)},To=function(Lo,Uo){vo&&cancelAnimationFrame(so.current),so.current=vo?requestAnimationFrame(Lo):setTimeout(Lo,Uo)},Ro=function(Lo){if(!ho.current)return!1;var Uo=Lo-io.current;return!io.current||Uo>=eo||Uo<0||wo&&Lo-oo.current>=Eo},Po=function(Lo){return so.current=null,bo&&lo.current?So(Lo):(lo.current=co.current=null,uo.current)},zo=function Lo(){var Uo=Date.now();if(Co&&ao.current===oo.current&&Ho(),Ro(Uo))return Po(Uo);if(ho.current){var Do=eo-(Uo-io.current),Oo=wo?Math.min(Do,Eo-(Uo-oo.current)):Do;To(Lo,Oo)}},Ho=function(){},Vo=function(){if(mo||yo){var Lo=Date.now(),Uo=Ro(Lo);if(lo.current=[].slice.call(arguments),co.current=no,io.current=Lo,Uo){if(!so.current&&ho.current)return oo.current=io.current,To(zo,eo),Co?So(io.current):uo.current;if(wo)return To(zo,eo),So(io.current)}return so.current||To(zo,eo),uo.current}};return Vo.cancel=function(){so.current&&(vo?cancelAnimationFrame(so.current):clearTimeout(so.current)),oo.current=0,lo.current=io.current=co.current=so.current=null},Vo.isPending=function(){return!!so.current},Vo.flush=function(){return so.current?Po(Date.now()):uo.current},Vo},[Co,wo,eo,Eo,bo,vo,mo,yo,ro]);return xo}const AcUnitIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M22 11h-4.17l3.24-3.24-1.41-1.42L15 11h-2V9l4.66-4.66-1.42-1.41L13 6.17V2h-2v4.17L7.76 2.93 6.34 4.34 11 9v2H9L4.34 6.34 2.93 7.76 6.17 11H2v2h4.17l-3.24 3.24 1.41 1.42L9 13h2v2l-4.66 4.66 1.42 1.41L11 17.83V22h2v-4.17l3.24 3.24 1.42-1.41L13 15v-2h2l4.66 4.66 1.41-1.42L17.83 13H22z"}),"AcUnit"),AcUnitOutlinedIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M22 11h-4.17l3.24-3.24-1.41-1.42L15 11h-2V9l4.66-4.66-1.42-1.41L13 6.17V2h-2v4.17L7.76 2.93 6.34 4.34 11 9v2H9L4.34 6.34 2.93 7.76 6.17 11H2v2h4.17l-3.24 3.24 1.41 1.42L9 13h2v2l-4.66 4.66 1.42 1.41L11 17.83V22h2v-4.17l3.24 3.24 1.42-1.41L13 15v-2h2l4.66 4.66 1.41-1.42L17.83 13H22z"}),"AcUnitOutlined"),AccountBalanceIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M4 10h3v7H4zm6.5 0h3v7h-3zM2 19h20v3H2zm15-9h3v7h-3zm-5-9L2 6v2h20V6z"}),"AccountBalance"),AccountBalanceWalletOutlinedIcon=createSvgIcon$1([jsxRuntimeExports.jsx("path",{d:"M21 7.28V5c0-1.1-.9-2-2-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-2.28c.59-.35 1-.98 1-1.72V9c0-.74-.41-1.37-1-1.72M20 9v6h-7V9zM5 19V5h14v2h-6c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h6v2z"},"0"),jsxRuntimeExports.jsx("circle",{cx:"16",cy:"12",r:"1.5"},"1")],"AccountBalanceWalletOutlined"),AddIcon$3=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add"),AddLocationIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M12 2C8.14 2 5 5.14 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.86-3.14-7-7-7m4 8h-3v3h-2v-3H8V8h3V5h2v3h3z"}),"AddLocation"),AodIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M17 1.01 7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99M17 18H7V6h10zm-9-8h8v1.5H8zm1 3h6v1.5H9z"}),"Aod"),ArrowBackIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack"),ArrowDownwardIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}
378),"ArrowDownward"),ArrowForwardIosIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"}),"ArrowForwardIos"),ArrowUpwardIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward"),AssignmentIndOutlinedIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-7-.25c.22 0 .41.1.55.25.12.13.2.31.2.5 0 .41-.34.75-.75.75s-.75-.34-.75-.75c0-.19.08-.37.2-.5.14-.15.33-.25.55-.25M19 19H5V5h14zM12 6c-1.65 0-3 1.35-3 3s1.35 3 3 3 3-1.35 3-3-1.35-3-3-3m0 4c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1m-6 6.47V18h12v-1.53c0-2.5-3.97-3.58-6-3.58s-6 1.07-6 3.58M8.31 16c.69-.56 2.38-1.12 3.69-1.12s3.01.56 3.69 1.12z"}),"AssignmentIndOutlined"),BadgeIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M20 7h-5V4c0-1.1-.9-2-2-2h-2c-1.1 0-2 .9-2 2v3H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2M9 12c.83 0 1.5.67 1.5 1.5S9.83 15 9 15s-1.5-.67-1.5-1.5S8.17 12 9 12m3 6H6v-.75c0-1 2-1.5 3-1.5s3 .5 3 1.5zm1-9h-2V4h2zm5 7.5h-4V15h4zm0-3h-4V12h4z"}),"Badge"),CardGiftcardIcon$3=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2m-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1M9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m11 15H4v-2h16zm0-5H4V8h5.08L7 10.83 8.62 12 11 8.76l1-1.36 1 1.36L15.38 12 17 10.83 14.92 8H20z"}),"CardGiftcard"),CategorySharpIcon=createSvgIcon$1([jsxRuntimeExports.jsx("path",{d:"m12 2-5.5 9h11z"},"0"),jsxRuntimeExports.jsx("circle",{cx:"17.5",cy:"17.5",r:"4.5"},"1"),jsxRuntimeExports.jsx("path",{d:"M3 13.5h8v8H3z"},"2")],"CategorySharp"),CheckCircle$1=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle"),CheckCircleOutlineOutlinedIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8z"}),"CheckCircleOutlineOutlined"),CloseIcon$3=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),ContentCopySharpIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M16 1H2v16h2V3h12zm5 4H6v18h15zm-2 16H8V7h11z"}),"ContentCopySharp"),CreditCardIcon$3=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2m0 14H4v-6h16zm0-10H4V6h16z"}),"CreditCard"),CreditCardOffIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M21.9 21.9 2.1 2.1.69 3.51l1.55 1.55c-.15.28-.23.6-.23.94L2 18c0 1.11.89 2 2 2h13.17l3.31 3.31zM4 12V8h1.17l4 4zm2.83-8H20c1.11 0 2 .89 2 2v12c0 .34-.08.66-.23.94L14.83 12H20V8h-9.17z"}),"CreditCardOff"),CreditScoreOutlinedIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h5v-2H4v-6h18V6c0-1.11-.89-2-2-2m0 4H4V6h16zm-5.07 11.17-2.83-2.83-1.41 1.41L14.93 22 22 14.93l-1.41-1.41z"}),"CreditScoreOutlined"),DeleteOutlineIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"}),"DeleteOutline"),ErrorIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error"),ErrorOutlineIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"ErrorOutline"),ErrorOutlineOutlinedIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"ErrorOutlineOutlined"),ExpandMore$1=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),FastfoodIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M18.06 22.99h1.66c.84 0 1.53-.64 1.63-1.46L23 5.05h-5V1h-1.97v4.05h-4.97l.3 2.34c1.71.47 3.31 1.32 4.27 2.26 1.44 1.42 2.43 2.89 2.43 5.29zM1 21.99V21h15.03v.99c0 .55-.45 1-1.01 1H2.01c-.56 0-1.01-.45-1.01-1m15.03-7c0-8-15.03-8-15.03 0zM1.02 17h15v2h-15z"}),"Fastfood"),FileDownloadOutlinedIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3zm-1-4-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59 7 11l5 5z"}),"FileDownloadOutlined"),FingerprintIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M17.81 4.47c-.08 0-.16-.02-.23-.06C15.66 3.42 14 3 12.01 3c-1.98 0-3.86.47-5.57 1.41-.24.13-.54.04-.68-.2-.13-.24-.04-.55.2-.68C7.82 2.52 9.86 2 12.01 2c2.13 0 3.99.47 6.03 1.52.25.13.34.43.21.67-.09.18-.26.28-.44.28M3.5 9.72c-.1 0-.2-.03-.29-.09-.23-.16-.28-.47-.12-.7.99-1.4 2.25-2.5 3.75-3.27C9.98 4.04 14 4.03 17.15 5.65c1.5.77 2.76 1.86 3.75 3.25.16.22.11.54-.12.7s-.54.11-.7-.12c-.9-1.26-2.04-2.25-3.39-2.94-2.87-1.47-6.54-1.47-9.4.01-1.36.7-2.5 1.7-3.4 2.96-.08.14-.23.21-.39.21m6.25 12.07c-.13 0-.26-.05-.35-.15-.87-.87-1.34-1.43-2.01-2.64-.69-1.23-1.05-2.73-1.05-4.34 0-2.97 2.54-5.39 5.66-5.39s5.66 2.42 5.66 5.39c0 .28-.22.5-.5.5s-.5-.22-.5-.5c0-2.42-2.09-4.39-4.66-4.39s-4.66 1.97-4.66 4.39c0 1.44.32 2.77.93 3.85.64 1.15 1.08 1.64 1.85 2.42.19.2.19.51 0 .71-.11.1-.24.15-.37.15m7.17-1.85c-1.19 0-2.24-.3-3.1-.89-1.49-1.01-2.38-2.65-2.38-4.39 0-.28.22-.5.5-.5s.5.22.5.5c0 1.41.72 2.74 1.94 3.56.71.48 1.54.71 2.54.71.24 0 .64-.03 1.04-.1.27-.05.53.13.58.41.05.27-.13.53-.41.58-.57.11-1.07.12-1.21.12M14.91 22c-.04 0-.09-.01-.13-.02-1.59-.44-2.63-1.03-3.72-2.1-1.4-1.39-2.17-3.24-2.17-5.22 0-1.62 1.38-2.94 3.08-2.94s3.08 1.32 3.08 2.94c0 1.07.93 1.94 2.08 1.94s2.08-.87 2.08-1.94c0-3.77-3.25-6.83-7.25-6.83-2.84 0-
3785.44 1.58-6.61 4.03-.39.81-.59 1.76-.59 2.8 0 .78.07 2.01.67 3.61.1.26-.03.55-.29.64-.26.1-.55-.04-.64-.29-.49-1.31-.73-2.61-.73-3.96 0-1.2.23-2.29.68-3.24 1.33-2.79 4.28-4.6 7.51-4.6 4.55 0 8.25 3.51 8.25 7.83 0 1.62-1.38 2.94-3.08 2.94s-3.08-1.32-3.08-2.94c0-1.07-.93-1.94-2.08-1.94s-2.08.87-2.08 1.94c0 1.71.66 3.31 1.87 4.51.95.94 1.86 1.46 3.27 1.85.27.07.42.35.35.61-.05.23-.26.38-.47.38"}),"Fingerprint"),FormatListBulletedIcon$3=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5m0-6c-.83 0-1.5.67-1.5 1.5S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 4 4.5m0 12c-.83 0-1.5.68-1.5 1.5s.68 1.5 1.5 1.5 1.5-.68 1.5-1.5-.67-1.5-1.5-1.5M7 19h14v-2H7zm0-6h14v-2H7zm0-8v2h14V5z"}),"FormatListBulleted"),GppGoodIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5zm-1.06 13.54L7.4 12l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41z"}),"GppGood"),GroupIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3 1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"}),"Group"),HotelIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M7 13c1.66 0 3-1.34 3-3S8.66 7 7 7s-3 1.34-3 3 1.34 3 3 3m12-6h-8v7H3V5H1v15h2v-3h18v3h2v-9c0-2.21-1.79-4-4-4"}),"Hotel"),Info$1=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info"),InfoOutlinedIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"InfoOutlined"),InsertLinkIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"}),"InsertLink"),IosShareRoundedIcon=createSvgIcon$1([jsxRuntimeExports.jsx("path",{d:"M18 8h-2c-.55 0-1 .45-1 1s.45 1 1 1h2v11H6V10h2c.55 0 1-.45 1-1s-.45-1-1-1H6c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2"},"0"),jsxRuntimeExports.jsx("path",{d:"M12 16c.55 0 1-.45 1-1V5h1.79c.45 0 .67-.54.35-.85l-2.79-2.79c-.2-.2-.51-.2-.71 0L8.85 4.15c-.31.31-.09.85.36.85H11v10c0 .55.45 1 1 1"},"1")],"IosShareRounded"),LuggageIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M17 6h-2V3c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v3H7c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2 0 .55.45 1 1 1s1-.45 1-1h6c0 .55.45 1 1 1s1-.45 1-1c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2M9.5 18H8V9h1.5zm3.25 0h-1.5V9h1.5zm.75-12h-3V3.5h3zM16 18h-1.5V9H16z"}),"Luggage"),MoreHorizIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreHoriz"),MoreVertIcon$3=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreVert"),PasswordIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M2 17h20v2H2zm1.15-4.05L4 11.47l.85 1.48 1.3-.75-.85-1.48H7v-1.5H5.3l.85-1.47L4.85 7 4 8.47 3.15 7l-1.3.75.85 1.47H1v1.5h1.7l-.85 1.48zm6.7-.75 1.3.75.85-1.48.85 1.48 1.3-.75-.85-1.48H15v-1.5h-1.7l.85-1.47-1.3-.75L12 8.47 11.15 7l-1.3.75.85 1.47H9v1.5h1.7zM23 9.22h-1.7l.85-1.47-1.3-.75L20 8.47 19.15 7l-1.3.75.85 1.47H17v1.5h1.7l-.85 1.48 1.3.75.85-1.48.85 1.48 1.3-.75-.85-1.48H23z"}),"Password"),PasswordOutlinedIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M2 17h20v2H2zm1.15-4.05L4 11.47l.85 1.48 1.3-.75-.85-1.48H7v-1.5H5.3l.85-1.47L4.85 7 4 8.47 3.15 7l-1.3.75.85 1.47H1v1.5h1.7l-.85 1.48zm6.7-.75 1.3.75.85-1.48.85 1.48 1.3-.75-.85-1.48H15v-1.5h-1.7l.85-1.47-1.3-.75L12 8.47 11.15 7l-1.3.75.85 1.47H9v1.5h1.7zM23 9.22h-1.7l.85-1.47-1.3-.75L20 8.47 19.15 7l-1.3.75.85 1.47H17v1.5h1.7l-.85 1.48 1.3.75.85-1.48.85 1.48 1.3-.75-.85-1.48H23z"}),"PasswordOutlined"),PhoneInTalkRoundedIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M12.88 5.05c3.18.4 5.67 2.89 6.07 6.07.06.51.49.88.99.88.04 0 .08 0 .12-.01.55-.07.94-.57.87-1.12-.51-4.09-3.72-7.3-7.81-7.81-.55-.06-1.05.33-1.11.88-.07.55.32 1.05.87 1.11zm.38 2.11c-.53-.14-1.08.18-1.22.72s.18 1.08.72 1.22c1.05.27 1.87 1.09 2.15 2.15.12.45.52.75.97.75.08 0 .17-.01.25-.
37803.53-.14.85-.69.72-1.22-.47-1.77-1.84-3.14-3.59-3.59zm5.97 8.1-2.54-.29c-.61-.07-1.21.14-1.64.57l-1.84 1.84c-2.83-1.44-5.15-3.75-6.59-6.59l1.85-1.85c.43-.43.64-1.03.57-1.64l-.29-2.52c-.12-1.01-.97-1.77-1.99-1.77H5.03c-1.13 0-2.07.94-2 2.07.53 8.54 7.36 15.36 15.89 15.89 1.13.07 2.07-.87 2.07-2v-1.73c.01-1.01-.75-1.86-1.76-1.98z"}),"PhoneInTalkRounded"),QrCode2Icon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M15 21h-2v-2h2zm-2-7h-2v5h2zm8-2h-2v4h2zm-2-2h-2v2h2zM7 12H5v2h2zm-2-2H3v2h2zm7-5h2V3h-2zm-7.5-.5v3h3v-3zM9 9H3V3h6zm-4.5 7.5v3h3v-3zM9 21H3v-6h6zm7.5-16.5v3h3v-3zM21 9h-6V3h6zm-2 10v-3h-4v2h2v3h4v-2zm-2-7h-4v2h4zm-4-2H7v2h2v2h2v-2h2zm1-1V7h-2V5h-2v4zM6.75 5.25h-1.5v1.5h1.5zm0 12h-1.5v1.5h1.5zm12-12h-1.5v1.5h1.5z"}),"QrCode2"),QrCodeScannerIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M9.5 6.5v3h-3v-3zM11 5H5v6h6zm-1.5 9.5v3h-3v-3zM11 13H5v6h6zm6.5-6.5v3h-3v-3zM19 5h-6v6h6zm-6 8h1.5v1.5H13zm1.5 1.5H16V16h-1.5zM16 13h1.5v1.5H16zm-3 3h1.5v1.5H13zm1.5 1.5H16V19h-1.5zM16 16h1.5v1.5H16zm1.5-1.5H19V16h-1.5zm0 3H19V19h-1.5zM22 7h-2V4h-3V2h5zm0 15v-5h-2v3h-3v2zM2 22h5v-2H4v-3H2zM2 2v5h2V4h3V2z"}),"QrCodeScanner"),QrCodeScannerOutlinedIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M9.5 6.5v3h-3v-3zM11 5H5v6h6zm-1.5 9.5v3h-3v-3zM11 13H5v6h6zm6.5-6.5v3h-3v-3zM19 5h-6v6h6zm-6 8h1.5v1.5H13zm1.5 1.5H16V16h-1.5zM16 13h1.5v1.5H16zm-3 3h1.5v1.5H13zm1.5 1.5H16V19h-1.5zM16 16h1.5v1.5H16zm1.5-1.5H19V16h-1.5zm0 3H19V19h-1.5zM22 7h-2V4h-3V2h5zm0 15v-5h-2v3h-3v2zM2 22h5v-2H4v-3H2zM2 2v5h2V4h3V2z"}),"QrCodeScannerOutlined"),SecurityIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11z"}),"Security"),ShoppingCartIcon$2=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2M1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2"}),"ShoppingCart"),StorefrontOutlinedIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"m21.9 8.89-1.05-4.37c-.22-.9-1-1.52-1.91-1.52H5.05c-.9 0-1.69.63-1.9 1.52L2.1 8.89c-.24 1.02-.02 2.06.62 2.88.08.11.19.19.28.29V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6.94c.09-.09.2-.18.28-.28.64-.82.87-1.87.62-2.89m-2.99-3.9 1.05 4.37c.1.42.01.84-.25 1.17-.14.18-.44.47-.94.47-.61 0-1.14-.49-1.21-1.14L16.98 5zM13 5h1.96l.54 4.52c.05.39-.07.78-.33 1.07-.22.26-.54.41-.95.41-.67 0-1.22-.59-1.22-1.31zM8.49 9.52 9.04 5H11v4.69c0 .72-.55 1.31-1.29 1.31-.34 0-.65-.15-.89-.41-.25-.29-.37-.68-.33-1.07m-4.45-.16L5.05 5h1.97l-.58 4.86c-.08.65-.6 1.14-1.21 1.14-.49 0-.8-.29-.93-.47-.27-.32-.36-.75-.26-1.17M5 19v-6.03c.08.01.15.03.23.03.87 0 1.66-.36 2.24-.95.6.6 1.4.95 2.31.95.87 0 1.65-.36 2.23-.93.59.57 1.39.93 2.29.93.84 0 1.64-.35 2.24-.95.58.59 1.37.95 2.24.95.08 0 .15-.02.23-.03V19z"}),"StorefrontOutlined"),StorefrontRoundedIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"m21.9 7.89-1.05-3.37c-.22-.9-1-1.52-1.91-1.52H5.05c-.9 0-1.69.63-1.9 1.52L2.1 7.89c-.46 1.97.85 3.11.9 3.17V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7.94c1.12-1.12 1.09-2.41.9-3.17M13 5h1.96l.54 3.52c.09.71-.39 1.48-1.28 1.48-.67 0-1.22-.59-1.22-1.31zM6.44 8.86c-.08.65-.6 1.14-1.21 1.14-.93 0-1.35-.97-1.19-1.64L5.05 5h1.97zM11 8.69c0 .72-.55 1.31-1.29 1.31-.75 0-1.3-.7-1.22-1.48L9.04 5H11zM18.77 10c-.61 0-1.14-.49-1.21-1.14L16.98 5l1.93-.01 1.05 3.37c.16.67-.25 1.64-1.19 1.64"}),"StorefrontRounded"),VisibilityOutlinedIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5C19.17 14.87 15.79 17 12 17s-7.17-2.13-8.82-5.5C4.83 8.13 8.21 6 12 6m0-2C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4m0 5c1.38 0 2.5 1.12 2.5 2.5S13.38 14 12 14s-2.5-1.12-2.5-2.5S10.62 9 12 9m0-2c-2.48 0-4.5 2.02-4.5 4.5S9.52 16 12 16s4.5-2.02 4.5-4.5S14.48 7 12 7"}),"VisibilityOutlined"),WifiOffIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M22.99 9C19.15 5.16 13.8 3.76 8.84 4.78l2.52 2.52c3.47-.17 6.99 1.05 9.63 3.7zm-4 4c-1.29-1.29-2.84-2.13-4.49-2.56l3.53 3.53zM2 3.05 5.07 6.1C3.6 6.82 2.22 7.78 1 9l1.99 2c1.24-1.24 2.67-2.16 4.2-2.77l2.24 2.24C7.81 10.89 6.27 11.73 5 13v.01L6.99 15c1.36-1.36 3.14-2.04 4.92
378-2.06L18.98 20l1.27-1.26L3.29 1.79zM9 17l3 3 3-3c-1.65-1.66-4.34-1.66-6 0"}),"WifiOff");function _interopDefault$1E(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1D=_interopDefault$1E(reactExports),_extends$27=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1D=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},AspectRatioIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1D(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1D.createElement("svg",_extends$27({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1D.createElement("path",{d:"M19,12H17V15H14V17H19V12M7,9H10V7H5V12H7V9M21,3H3A2,2 0 0,0 1,5V19A2,2 0 0,0 3,21H21A2,2 0 0,0 23,19V5A2,2 0 0,0 21,3M21,19H3V5H21V19Z"}))},AspectRatioIcon$1=React$1D.memo?React$1D.memo(AspectRatioIcon):AspectRatioIcon,AspectRatioIcon_1=AspectRatioIcon$1;const SquareIcon=getDefaultExportFromCjs(AspectRatioIcon_1);function _interopDefault$1D(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1C=_interopDefault$1D(reactExports),_extends$26=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1C=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},CardAccountDetailsOutlineIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1C(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1C.createElement("svg",_extends$26({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1C.createElement("path",{d:"M22,3H2C0.91,3.04 0.04,3.91 0,5V19C0.04,20.09 0.91,20.96 2,21H22C23.09,20.96 23.96,20.09 24,19V5C23.96,3.91 23.09,3.04 22,3M22,19H2V5H22V19M14,17V15.75C14,14.09 10.66,13.25 9,13.25C7.34,13.25 4,14.09 4,15.75V17H14M9,7A2.5,2.5 0 0,0 6.5,9.5A2.5,2.5 0 0,0 9,12A2.5,2.5 0 0,0 11.5,9.5A2.5,2.5 0 0,0 9,7M14,7V8H20V7H14M14,9V10H20V9H14M14,11V12H18V11H14"}))},CardAccountDetailsOutlineIcon$1=React$1C.memo?React$1C.memo(CardAccountDetailsOutlineIcon):CardAccountDetailsOutlineIcon,CardAccountDetailsOutlineIcon_1=CardAccountDetailsOutlineIcon$1;const IdCardIcon=getDefaultExportFromCjs(CardAccountDetailsOutlineIcon_1);function _interopDefault$1C(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1B=_interopDefault$1C(reactExports),_extends$25=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1B=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},LightbulbOutlineIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1B(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1B.createElement("svg",_extends$25({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1B.createElement("path",{d:"M12,2A7,7 0 0,1 19,9C19,11.38 17.81,13.47 16,14.74V17A1,1 0 0,1 15,18H9A1,1 0 0,1 8,17V14.74C6.19,13.47 5,11.38 5,9A7,7 0 0,1 12,2M9,21V20H15V21A1,1 0 0,1 14,22H10A1,1 0 0,1 9,21M12,4A5,5 0 0,0 7,9C7,11.05 8.23,12.81 10,13.58V16H14V13.58C15.77,12.81 17,11.05 17,9A5,5 0 0,0 12,4Z"}))},LightbulbOutlineIcon$1=React$1B.memo?React$1B.memo(LightbulbOutlineIcon):LightbulbOutlineIcon,LightbulbOutlineIcon_1=LightbulbOutlineIcon$1;const IdeaIcon=getDefaultExportFromCjs(LightbulbOutlineIcon_1);function _interopDefault$1B(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1A=_interopDefault$1B(reactExports),_extends$24=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1A=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},ThumbsUpIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1A(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1A.createElement("svg",_extends$24({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1A.createElement("path",{d:"M23,10C23,8.89 22.1,8 21,8H14.68L15.64,3.43C15.66,3.33 15.67,3.22 15.67,3.11C15.67,2.7 15.5,2.32 15.23,2.05L14.17,1L7.59,7.58C7.22,7.95 7,8.45 7,9V19A2,2 0 0,0 9,21H18C18.83,21 19.54,20.5 19.84,19.78L22.86,12.73C22.95,12.5 23,12.26 23,12V10M1,21H5V9H1V21Z"}))},ThumbsUpIcon$1=React$1A.memo?React$1A.memo(ThumbsUpIcon):ThumbsUpIcon,ThumbsUpIcon_1=ThumbsUpIcon$1;const ThumbsUpIcon$2=getDefaultExportFromCjs(ThumbsUpIcon_1);function _interopDefault$1A(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1z=_interopDefault$1A(reactExports),_extends$23=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1z=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},WifiIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1z(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1z.createElement("svg",_extends$23({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1z.createElement("path",{d:"M12,21L15.6,16.2C14.6,15.45 13.35,15 12,15C10.65,15 9.4,15.45 8.4,16.2L12,21M12,3C7.95,3 4.21,4.34 1.2,6.6L3,9C5.5,7.12 8.62,6 12,6C15.38,6 18.5,7.12 21,9L22.8,6.6C19.79,4.34 16.05,3 12,3M12,9C9.3,9 6.81,9.89 4.8,11.4
378L6.6,13.8C8.1,12.67 9.97,12 12,12C14.03,12 15.9,12.67 17.4,13.8L19.2,11.4C17.19,9.89 14.7,9 12,9Z"}))},WifiIcon$1=React$1z.memo?React$1z.memo(WifiIcon):WifiIcon,WifiIcon_1=WifiIcon$1;const WifiIcon$2=getDefaultExportFromCjs(WifiIcon_1);var socket_io={exports:{}},define_process_env_default$1={};(function(Yi,eo){(function(to,ro){Yi.exports=ro()})(commonjsGlobal,(function(){function to(ua,ba){(ba==null||ba>ua.length)&&(ba=ua.length);for(var Aa=0,_o=Array(ba);Aa<ba;Aa++)_o[Aa]=ua[Aa];return _o}function ro(ua){if(Array.isArray(ua))return to(ua)}function no(ua,ba,Aa){if(fo())return Reflect.construct.apply(null,arguments);var _o=[null];_o.push.apply(_o,ba);var Io=new(ua.bind.apply(ua,_o));return Aa&&vo(Io,Aa.prototype),Io}function io(ua,ba){for(var Aa=0;Aa<ba.length;Aa++){var _o=ba[Aa];_o.enumerable=_o.enumerable||!1,_o.configurable=!0,"value"in _o&&(_o.writable=!0),Object.defineProperty(ua,wo(_o.key),_o)}}function oo(ua,ba,Aa){return ba&&io(ua.prototype,ba),Object.defineProperty(ua,"prototype",{writable:!1}),ua}function ao(ua,ba){var Aa=typeof Symbol<"u"&&ua[Symbol.iterator]||ua["@@iterator"];
378if(!Aa){if(Array.isArray(ua)||(Aa=Eo(ua))||ba){Aa&&(ua=Aa);var _o=0,Io=function(){};return{s:Io,n:function(){return _o>=ua.length?{done:!0}:{done:!1,value:ua[_o++]}},e:function(wa){throw wa},f:Io}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
379In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var No,qo=!0,fa=!1;return{s:function(){Aa=Aa.call(ua)},n:function(){var wa=Aa.next();return qo=wa.done,wa},e:function(wa){fa=!0,No=wa},f:function(){try{qo||Aa.return==null||Aa.return()}finally{if(fa)throw No}}}}function so(){return so=Object.assign?Object.assign.bind():function(ua){for(var ba=1;ba<arguments.length;ba++){var Aa=arguments[ba];for(var _o in Aa)({}).hasOwnProperty.call(Aa,_o)&&(ua[_o]=Aa[_o])}return ua},so.apply(null,arguments)}function lo(ua){return lo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(ba){return ba.__proto__||Object.getPrototypeOf(ba)},lo(ua)}function co(ua,ba){ua.prototype=Object.create(ba.prototype),ua.prototype.constructor=ua,vo(ua,ba)}function uo(ua){try{return Function.toString.call(ua).indexOf("[native code]")!==-1}catch{return typeof ua=="function"}}function fo(){try{var ua=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(fo=function(){return!!ua})()}function ho(ua){if(typeof Symbol<"u"&&ua[Symbol.iterator]!=null||ua["@@iterator"]!=null)return Array.from(ua)}function mo(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
380In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vo(ua,ba){return vo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Aa,_o){return Aa.__proto__=_o,Aa},vo(ua,ba)}function Co(ua){return ro(ua)||ho(ua)||Eo(ua)||mo()}function bo(ua,ba){if(typeof ua!="object"||!ua)return ua;var Aa=ua[Symbol.toPrimitive];if(Aa!==void 0){var _o=Aa.call(ua,ba);if(typeof _o!="object")return _o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(ua)}function wo(ua){var ba=bo(ua,"string");return typeof ba=="symbol"?ba:ba+""}function yo(ua){"@babel/helpers - typeof";return yo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ba){return typeof ba}:function(ba){return ba&&typeof Symbol=="function"&&ba.constructor===Symbol&&ba!==Symbol.prototype?"symbol":typeof ba},yo(ua)}function Eo(ua,ba){if(ua){if(typeof ua=="string")return to(ua,ba);var Aa={}.toString.call(ua).slice(8,-1);return Aa==="Object"&&ua.constructor&&(Aa=ua.constructor.name),Aa==="Map"||Aa==="Set"?Array.from(ua):Aa==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Aa)?to(ua,ba):void 0}}function xo(ua){var ba=typeof Map=="function"?new Map:void 0;return xo=function(Aa){if(Aa===null||!uo(Aa))return Aa;if(typeof Aa!="function")throw new TypeError("Super expression must either be null or a function");if(ba!==void 0){if(ba.has(Aa))return ba.get(Aa);ba.set(Aa,_o)}function _o(){return no(Aa,arguments,lo(this).constructor)}return _o.prototype=Object.create(Aa.prototype,{constructor:{value:_o,enumerable:!1,writable:!0,configurable:!0}}),vo(_o,Aa)},xo(ua)}var So=Object.create(null);So.open="0",So.close="1",So.ping="2",So.pong="3",So.message="4",So.upgrade="5",So.noop="6";var To=Object.create(null);Object.keys(So).forEach(function(ua){To[So[ua]]=ua});var Ro={type:"error",data:"parser error"},Po=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",zo=typeof ArrayBuffer=="function",Ho=function(ba){return typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(ba):ba&&ba.buffer instanceof ArrayBuffer},Vo=function(ba,Aa,_o){var Io=ba.type,No=ba.data;return Po&&No instanceof Blob?Aa?_o(No):Lo(No,_o):zo&&(No instanceof ArrayBuffer||Ho(No))?Aa?_o(No):Lo(new Blob([No]),_o):_o(So[Io]+(No||""))},Lo=function(ba,Aa){var _o=new FileReader;return _o.onload=function(){var Io=_o.result.split(",")[1];Aa("b"+(Io||""))},_o.readAsDataURL(ba)};function Uo(ua){return ua instanceof Uint8Array?ua:ua instanceof ArrayBuffer?new Uint8Array(ua):new Uint8Array(ua.buffer,ua.byteOffset,ua.byteLength)}var Do;function Oo(ua,ba){if(Po&&ua.data instanceof Blob)return ua.data.arrayBuffer().then(Uo).then(ba);if(zo&&(ua.data instanceof ArrayBuffer||Ho(ua.data)))return ba(Uo(ua.data));Vo(ua,!1,function(Aa){Do||(Do=new TextEncoder),ba(Do.encode(Aa))})}for(var ko="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
380+/",Bo=typeof Uint8Array>"u"?[]:new Uint8Array(256),Fo=0;Fo<ko.length;Fo++)Bo[ko.charCodeAt(Fo)]=Fo;var Qo=function(ba){var Aa=ba.length*.75,_o=ba.length,Io,No=0,qo,fa,wa,Ra;ba[ba.length-1]==="="&&(Aa--,ba[ba.length-2]==="="&&Aa--);var Ua=new ArrayBuffer(Aa),Na=new Uint8Array(Ua);for(Io=0;Io<_o;Io+=4)qo=Bo[ba.charCodeAt(Io)],fa=Bo[ba.charCodeAt(Io+1)],wa=Bo[ba.charCodeAt(Io+2)],Ra=Bo[ba.charCodeAt(Io+3)],Na[No++]=qo<<2|fa>>4,Na[No++]=(fa&15)<<4|wa>>2,Na[No++]=(wa&3)<<6|Ra&63;return Ua},jo=typeof ArrayBuffer=="function",Xo=function(ba,Aa){if(typeof ba!="string")return{type:"message",data:Wo(ba,Aa)};var _o=ba.charAt(0);if(_o==="b")return{type:"message",data:Zo(ba.substring(1),Aa)};var Io=To[_o];return Io?ba.length>1?{type:To[_o],data:ba.substring(1)}:{type:To[_o]}:Ro},Zo=function(ba,Aa){if(jo){var _o=Qo(ba);return Wo(_o,Aa)}else return{base64:!0,data:ba}},Wo=function(ba,Aa){switch(Aa){case"blob":return ba instanceof Blob?ba:new Blob([ba]);case"arraybuffer":default:return ba instanceof ArrayBuffer?ba:ba.buffer}},ta="�",ra=function(ba,Aa){var _o=ba.length,Io=new Array(_o),No=0;ba.forEach(function(qo,fa){Vo(qo,!1,function(wa){Io[fa]=wa,++No===_o&&Aa(Io.join(ta))})})},da=function(ba,Aa){for(var _o=ba.split(ta),Io=[],No=0;No<_o.length;No++){var qo=Xo(_o[No],Aa);if(Io.push(qo),qo.type==="error")break}return Io};function pa(){return new TransformStream({transform:function(ba,Aa){Oo(ba,function(_o){var Io=_o.length,No;if(Io<126)No=new Uint8Array(1),new DataView(No.buffer).setUint8(0,Io);else if(Io<65536){No=new Uint8Array(3);var qo=new DataView(No.buffer);qo.setUint8(0,126),qo.setUint16(1,Io)}else{No=new Uint8Array(9);var fa=new DataView(No.buffer);fa.setUint8(0,127),fa.setBigUint64(1,BigInt(Io))}ba.data&&typeof ba.data!="string"&&(No[0]|=128),Aa.enqueue(No),Aa.enqueue(_o)})}})}var sa;function ya(ua){return ua.reduce(function(ba,Aa){return ba+Aa.length},0)}function na(ua,ba){if(ua[0].length===ba)return ua.shift();for(var Aa=new Uint8Array(ba),_o=0,Io=0;Io<ba;Io++)Aa[Io]=ua[0][_o++],_o===ua[0].length&&(ua.shift(),_o=0);return ua.length&&_o<ua[0].length&&(ua[0]=ua[0].slice(_o)),Aa}function ea(ua,ba){sa||(sa=new TextDecoder);var Aa=[],_o=0,Io=-1,No=!1;return new TransformStream({transform:function(fa,wa){for(Aa.push(fa);;){if(_o===0){if(ya(Aa)<1)break;var Ra=na(Aa,1);No=(Ra[0]&128)===128,Io=Ra[0]&127,Io<126?_o=3:Io===126?_o=1:_o=2}else if(_o===1){if(ya(Aa)<2)break;var Ua=na(Aa,2);Io=new DataView(Ua.buffer,Ua.byteOffset,Ua.length).getUint16(0),_o=3}else if(_o===2){if(ya(Aa)<8)break;var Na=na(Aa,8),Ja=new DataView(Na.buffer,Na.byteOffset,Na.length),Za=Ja.getUint32(0);if(Za>Math.pow(2,21)-1){wa.enqueue(Ro);break}Io=Za*Math.pow(2,32)+Ja.getUint32(4),_o=3}else{if(ya(Aa)<Io)break;var Ss=na(Aa,Io);wa.enqueue(Xo(No?Ss:sa.decode(Ss),ba)),_o=0}if(Io===0||Io>ua){wa.enqueue(Ro);break}}}})}var oa=4;function la(ua){if(ua)return _a(ua)}function _a(ua){for(var ba in la.prototype)ua[ba]=la.prototype[ba];return ua}la.prototype.on=la.prototype.addEventListener=function(ua,ba){return this._callbacks=this._callbacks||{},(this._callbacks["$"+ua]=this._callbacks["$"+ua]||[]).push(ba),this},la.prototype.once=function(ua,ba){function Aa(){this.off(ua,Aa),ba.apply(this,arguments)}return Aa.fn=ba,this.on(ua,Aa),this},la.prototype.off=la.prototype.removeListener=la.prototype.removeAllListeners=la.prototype.removeEventListener=function(ua,ba){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var Aa=this._callbacks["$"+ua];if(!Aa)return this;if(arguments.length==1)return delete this._callbacks["$"+ua],this;for(var _o,Io=0;Io<Aa.length;Io++)if(_o=Aa[Io],_o===ba||_o.fn===ba){Aa.splice(Io,1);break}return Aa.length===0&&delete this._callbacks["$"+ua],this},la.prototype.emit=function(ua){this._callbacks=this._callbacks||{};for(var ba=new Array(arguments.length-1),Aa=this._callbacks["$"+ua],_o=1;_o<arguments.length;_o++)ba[_o-1]=arguments[_o];if(Aa){Aa=Aa.slice(0);for(var _o=0,Io=Aa.length;_o<Io;++_o)Aa[_o].apply(this,ba)}return this},la.prototype.emitReserved=la.prototype.emit,la.prototype.listeners=function(ua){return this._callbacks=this._callbacks||{},this._callbacks["$"+ua]||[]},la.prototype.hasListeners=function(ua){return!!this.listeners(ua).length};var Ea=(function(){var ua=typeof Promise=="function"&&typeof Promise.resolve=="function";return ua?function(ba){return Promise.resolve().then(ba)}:function(ba,Aa){return Aa(ba,0)}})(),Pa=(function(){return typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),aa="arraybuffer";function Ca(){}function Sa(ua){for(var ba=arguments.length,Aa=new Array(ba>1?ba-1:0),_o=1;_o<ba;_o++)Aa[_o-1]=arguments[_o];return Aa.reduce(function(Io,No){return ua.hasOwnProperty(No)&&(Io[No]=ua[No]),Io},{})}var Ia=Pa.setTimeout,Ta=Pa.clearTimeout;function va(ua,ba){ba.useNativeTimers?(ua.setTimeoutFn=Ia.bind(Pa),ua.clearTimeoutFn=Ta.bind(Pa)):(ua.setTimeoutFn=Pa.setTimeout.bind(Pa),ua.clearTimeoutFn=Pa.clearTimeout.bind(Pa))}var xa=1.33;
380function Oa(ua){return typeof ua=="string"?Da(ua):Math.ceil((ua.byteLength||ua.size)*xa)}function Da(ua){for(var ba=0,Aa=0,_o=0,Io=ua.length;_o<Io;_o++)ba=ua.charCodeAt(_o),ba<128?Aa+=1:ba<2048?Aa+=2:ba<55296||ba>=57344?Aa+=3:(_o++,Aa+=4);return Aa}function ia(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function Ko(ua){var ba="";for(var Aa in ua)ua.hasOwnProperty(Aa)&&(ba.length&&(ba+="&"),ba+=encodeURIComponent(Aa)+"="+encodeURIComponent(ua[Aa]));return ba}function Yo(ua){for(var ba={},Aa=ua.split("&"),_o=0,Io=Aa.length;_o<Io;_o++){var No=Aa[_o].split("=");ba[decodeURIComponent(No[0])]=decodeURIComponent(No[1])}return ba}var ma=(function(ua){function ba(Aa,_o,Io){var No;return No=ua.call(this,Aa)||this,No.description=_o,No.context=Io,No.type="TransportError",No}return co(ba,ua),ba})(xo(Error)),ga=(function(ua){function ba(_o){var Io;return Io=ua.call(this)||this,Io.writable=!1,va(Io,_o),Io.opts=_o,Io.query=_o.query,Io.socket=_o.socket,Io.supportsBinary=!_o.forceBase64,Io}co(ba,ua);var Aa=ba.prototype;return Aa.onError=function(Io,No,qo){return ua.prototype.emitReserved.call(this,"error",new ma(Io,No,qo)),this},Aa.open=function(){return this.readyState="opening",this.doOpen(),this},Aa.close=function(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this},Aa.send=function(Io){this.readyState==="open"&&this.write(Io)},Aa.onOpen=function(){this.readyState="open",this.writable=!0,ua.prototype.emitReserved.call(this,"open")},Aa.onData=function(Io){var No=Xo(Io,this.socket.binaryType);this.onPacket(No)},Aa.onPacket=function(Io){ua.prototype.emitReserved.call(this,"packet",Io)},Aa.onClose=function(Io){this.readyState="closed",ua.prototype.emitReserved.call(this,"close",Io)},Aa.pause=function(Io){},Aa.createUri=function(Io){var No=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Io+"://"+this._hostname()+this._port()+this.opts.path+this._query(No)},Aa._hostname=function(){var Io=this.opts.hostname;return Io.indexOf(":")===-1?Io:"["+Io+"]"},Aa._port=function(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""},Aa._query=function(Io){var No=Ko(Io);return No.length?"?"+No:""},ba})(la),Fa=(function(ua){function ba(){var _o;return _o=ua.apply(this,arguments)||this,_o._polling=!1,_o}co(ba,ua);var Aa=ba.prototype;return Aa.doOpen=function(){this._poll()},Aa.pause=function(Io){var No=this;this.readyState="pausing";var qo=function(){No.readyState="paused",Io()};if(this._polling||!this.writable){var fa=0;this._polling&&(fa++,this.once("pollComplete",function(){--fa||qo()})),this.writable||(fa++,this.once("drain",function(){--fa||qo()}))}else qo()},Aa._poll=function(){this._polling=!0,this.doPoll(),this.emitReserved("poll")},Aa.onData=function(Io){var No=this,qo=function(wa){if(No.readyState==="opening"&&wa.type==="open"&&No.onOpen(),wa.type==="close")return No.onClose({description:"transport closed by the server"}),!1;No.onPacket(wa)};da(Io,this.socket.binaryType).forEach(qo),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())},Aa.doClose=function(){var Io=this,No=function(){Io.write([{type:"close"}])};this.readyState==="open"?No():this.once("open",No)},Aa.write=function(Io){var No=this;this.writable=!1,ra(Io,function(qo){No.doWrite(qo,function(){No.writable=!0,No.emitReserved("drain")})})},Aa.uri=function(){var Io=this.opts.secure?"https":"http",No=this.query||{};return this.opts.timestampRequests!==!1&&(No[this.opts.timestampParam]=ia()),!this.supportsBinary&&!No.sid&&(No.b64=1),this.createUri(Io,No)},oo(ba,[{key:"name",get:function(){return"polling"}}])})(ga),ja=!1;try{ja=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}var Ga=ja;function Va(){}var qa=(function(ua){function ba(_o){var Io;if(Io=ua.call(this,_o)||this,typeof location<"u"){var No=location.protocol==="https:",qo=location.port;qo||(qo=No?"443":"80"),Io.xd=typeof location<"u"&&_o.hostname!==location.hostname||qo!==_o.port}return Io}co(ba,ua);var Aa=ba.prototype;return Aa.doWrite=function(Io,No){var qo=this,fa=this.request({method:"POST",data:Io});fa.on("success",No),fa.on("error",function(wa,Ra){qo.onError("xhr post error",wa,Ra)})},Aa.doPoll=function(){var Io=this,No=this.request();No.on("data",this.onData.bind(this)),No.on("error",function(qo,fa){Io.onError("xhr poll error",qo,fa)}),this.pollXhr=No},ba})(Fa),us=(function(ua){function ba(_o,Io,No){var qo;return qo=ua.call(this)||this,qo.createRequest=_o,va(qo,No),qo._opts=No,qo._method=No.method||"GET",qo._uri=Io,qo._data=No.data!==void 0?No.data:null,qo._create(),qo}co(ba,ua);var Aa=ba.prototype;return Aa._create=function(){var Io=this,No,qo=Sa(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");qo.xdomain=!!this._opts.xd;var fa=this._xhr=this.createRequest(qo);try{fa.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){fa.setDisableHeaderCheck&&fa.setDisableHeaderCheck(!0);for(var wa in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(wa)&&fa.setRequestHeader(wa,this._opts.extraHeaders[wa])}}catch{}if(this._method==="POST")try{fa.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{fa.setRequestHeader("Accept","*/*")}catch{}(No=this._opts.cookieJar)===null||No===void 0||No.addCookies(fa),"withCredentials"in fa&&(fa.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(fa.timeout=this._opts.requestTimeout),fa.onreadystatechange=function(){var Ra;fa.readyState===3&&((Ra=Io._opts.cookieJar)===null||Ra===void 0||Ra.parseCookies(fa.getResponseHeader("set-cookie"))),fa.readyState===4&&(fa.status===200||fa.status===1223?Io._onLoad():Io.setTimeoutFn(function(){Io._onError(typeof fa.status=="number"?fa.status:0)},0))},fa.send(this._data)}catch(Ra){this.setTimeoutFn(function(){Io._onError(Ra)},0);return}typeof document<"u"&&(this._index=ba.requestsCount++,ba.requests[this._index]=this)},Aa._onError=function(Io){this.emitReserved("error",Io,this._xhr),this._cleanup(!0)},Aa._cleanup=function(Io){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=Va,Io)try{this._xhr.abort()}catch{}typeof document<"u"&&delete ba.requests[this._index],this._xhr=null}},Aa._onLoad=function(){var Io=this._xhr.responseText;Io!==null&&(this.emitReserved("data",Io),this.emitReserved("success"),this._cleanup())},Aa.abort=function(){this._cleanup()},ba})(la);if(us.requestsCount=0,us.requests={},typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",ps);else if(typeof addEventListener=="function"){var as="onpagehide"in Pa?"pagehide":"unload";
380addEventListener(as,ps,!1)}}function ps(){for(var ua in us.requests)us.requests.hasOwnProperty(ua)&&us.requests[ua].abort()}var Rs=(function(){var ua=vs({xdomain:!1});return ua&&ua.responseType!==null})(),Ps=(function(ua){function ba(_o){var Io;Io=ua.call(this,_o)||this;var No=_o&&_o.forceBase64;return Io.supportsBinary=Rs&&!No,Io}co(ba,ua);var Aa=ba.prototype;return Aa.request=function(){var Io=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return so(Io,{xd:this.xd},this.opts),new us(vs,this.uri(),Io)},ba})(qa);function vs(ua){var ba=ua.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!ba||Ga))return new XMLHttpRequest}catch{}if(!ba)try{return new Pa[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}var Ts=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative",hs=(function(ua){function ba(){return ua.apply(this,arguments)||this}co(ba,ua);var Aa=ba.prototype;return Aa.doOpen=function(){var Io=this.uri(),No=this.opts.protocols,qo=Ts?{}:Sa(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(qo.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(Io,No,qo)}catch(fa){return this.emitReserved("error",fa)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()},Aa.addEventListeners=function(){var Io=this;this.ws.onopen=function(){Io.opts.autoUnref&&Io.ws._socket.unref(),Io.onOpen()},this.ws.onclose=function(No){return Io.onClose({description:"websocket connection closed",context:No})},this.ws.onmessage=function(No){return Io.onData(No.data)},this.ws.onerror=function(No){return Io.onError("websocket error",No)}},Aa.write=function(Io){var No=this;this.writable=!1;for(var qo=function(){var Ra=Io[fa],Ua=fa===Io.length-1;Vo(Ra,No.supportsBinary,function(Na){try{No.doWrite(Ra,Na)}catch{}Ua&&Ea(function(){No.writable=!0,No.emitReserved("drain")},No.setTimeoutFn)})},fa=0;fa<Io.length;fa++)qo()},Aa.doClose=function(){typeof this.ws<"u"&&(this.ws.onerror=function(){},this.ws.close(),this.ws=null)},Aa.uri=function(){var Io=this.opts.secure?"wss":"ws",No=this.query||{};return this.opts.timestampRequests&&(No[this.opts.timestampParam]=ia()),this.supportsBinary||(No.b64=1),this.createUri(Io,No)},oo(ba,[{key:"name",get:function(){return"websocket"}}])})(ga),ol=Pa.WebSocket||Pa.MozWebSocket,Zs=(function(ua){function ba(){return ua.apply(this,arguments)||this}co(ba,ua);var Aa=ba.prototype;return Aa.createSocket=function(Io,No,qo){return Ts?new ol(Io,No,qo):No?new ol(Io,No):new ol(Io)},Aa.doWrite=function(Io,No){this.ws.send(No)},ba})(hs),$s=(function(ua){function ba(){return ua.apply(this,arguments)||this}co(ba,ua);var Aa=ba.prototype;return Aa.doOpen=function(){var Io=this;try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(No){return this.emitReserved("error",No)}this._transport.closed.then(function(){Io.onClose()}).catch(function(No){Io.onError("webtransport error",No)}),this._transport.ready.then(function(){Io._transport.createBidirectionalStream().then(function(No){var qo=ea(Number.MAX_SAFE_INTEGER,Io.socket.binaryType),fa=No.readable.pipeThrough(qo).getReader(),wa=pa();wa.readable.pipeTo(No.writable),Io._writer=wa.writable.getWriter();var Ra=function Na(){fa.read().then(function(Ja){var Za=Ja.done,Ss=Ja.value;Za||(Io.onPacket(Ss),Na())}).catch(function(Ja){})};Ra();var Ua={type:"open"};Io.query.sid&&(Ua.data='{"sid":"'.concat(Io.query.sid,'"}')),Io._writer.write(Ua).then(function(){return Io.onOpen()})})})},Aa.write=function(Io){var No=this;this.writable=!1;for(var qo=function(){var Ra=Io[fa],Ua=fa===Io.length-1;No._writer.write(Ra).then(function(){Ua&&Ea(function(){No.writable=!0,No.emitReserved("drain")},No.setTimeoutFn)})},fa=0;fa<Io.length;fa++)qo()},Aa.doClose=function(){var Io;(Io=this._transport)===null||Io===void 0||Io.close()},oo(ba,[{key:"name",get:function(){return"webtransport"}}])})(ga),al={websocket:Zs,webtransport:$s,polling:Ps},Rl=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,El=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Sl(ua){if(ua.length>8e3)throw"URI too long";var ba=ua,Aa=ua.indexOf("["),_o=ua.indexOf("]");Aa!=-1&&_o!=-1&&(ua=ua.substring(0,Aa)+ua.substring(Aa,_o).replace(/:/g,";")+ua.substring(_o,ua.length));for(var Io=Rl.exec(ua||""),No={},qo=14;qo--;)No[El[qo]]=Io[qo]||"";return Aa!=-1&&_o!=-1&&(No.source=ba,No.host=No.host.substring(1,No.host.length-1).replace(/;/g,":"),No.authority=No.authority.replace("[","").replace("]","").replace(/;/g,":"),No.ipv6uri=!0),No.pathNames=xl(No,No.path),No.queryKey=yc(No,No.query
380),No}function xl(ua,ba){var Aa=/\/{2,9}/g,_o=ba.replace(Aa,"/").split("/");return(ba.slice(0,1)=="/"||ba.length===0)&&_o.splice(0,1),ba.slice(-1)=="/"&&_o.splice(_o.length-1,1),_o}function yc(ua,ba){var Aa={};return ba.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(_o,Io,No){Io&&(Aa[Io]=No)}),Aa}var Ll=typeof addEventListener=="function"&&typeof removeEventListener=="function",kl=[];Ll&&addEventListener("offline",function(){kl.forEach(function(ua){return ua()})},!1);var Vl=(function(ua){function ba(_o,Io){var No;if(No=ua.call(this)||this,No.binaryType=aa,No.writeBuffer=[],No._prevBufferLen=0,No._pingInterval=-1,No._pingTimeout=-1,No._maxPayload=-1,No._pingTimeoutTime=1/0,_o&&yo(_o)==="object"&&(Io=_o,_o=null),_o){var qo=Sl(_o);Io.hostname=qo.host,Io.secure=qo.protocol==="https"||qo.protocol==="wss",Io.port=qo.port,qo.query&&(Io.query=qo.query)}else Io.host&&(Io.hostname=Sl(Io.host).host);return va(No,Io),No.secure=Io.secure!=null?Io.secure:typeof location<"u"&&location.protocol==="https:",Io.hostname&&!Io.port&&(Io.port=No.secure?"443":"80"),No.hostname=Io.hostname||(typeof location<"u"?location.hostname:"localhost"),No.port=Io.port||(typeof location<"u"&&location.port?location.port:No.secure?"443":"80"),No.transports=[],No._transportsByName={},Io.transports.forEach(function(fa){var wa=fa.prototype.name;No.transports.push(wa),No._transportsByName[wa]=fa}),No.opts=so({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},Io),No.opts.path=No.opts.path.replace(/\/$/,"")+(No.opts.addTrailingSlash?"/":""),typeof No.opts.query=="string"&&(No.opts.query=Yo(No.opts.query)),Ll&&(No.opts.closeOnBeforeunload&&(No._beforeunloadEventListener=function(){No.transport&&(No.transport.removeAllListeners(),No.transport.close())},addEventListener("beforeunload",No._beforeunloadEventListener,!1)),No.hostname!=="localhost"&&(No._offlineEventListener=function(){No._onClose("transport close",{description:"network connection lost"})},kl.push(No._offlineEventListener))),No.opts.withCredentials&&(No._cookieJar=void 0),No._open(),No}co(ba,ua);var Aa=ba.prototype;return Aa.createTransport=function(Io){var No=so({},this.opts.query);No.EIO=oa,No.transport=Io,this.id&&(No.sid=this.id);var qo=so({},this.opts,{query:No,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[Io]);return new this._transportsByName[Io](qo)},Aa._open=function(){var Io=this;if(this.transports.length===0){this.setTimeoutFn(function(){Io.emitReserved("error","No transports available")},0);return}var No=this.opts.rememberUpgrade&&ba.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";var qo=this.createTransport(No);qo.open(),this.setTransport(qo)},Aa.setTransport=function(Io){var No=this;this.transport&&this.transport.removeAllListeners(),this.transport=Io,Io.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",function(qo){return No._onClose("transport close",qo)})},Aa.onOpen=function(){this.readyState="open",ba.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()},Aa._onPacket=function(Io){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",Io),this.emitReserved("heartbeat"),Io.type){case"open":this.onHandshake(JSON.parse(Io.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":var No=new Error("server error");No.code=Io.data,this._onError(No);break;case"message":this.emitReserved("data",Io.data),this.emitReserved("message",Io.data);break}},Aa.onHandshake=function(Io){this.emitReserved("handshake",Io),this.id=Io.sid,this.transport.query.sid=Io.sid,this._pingInterval=Io.pingInterval,this._pingTimeout=Io.pingTimeout,this._maxPayload=Io.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()},Aa._resetPingTimeout=function(){var Io=this;this.clearTimeoutFn(this._pingTimeoutTimer);var No=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+No,this._pingTimeoutTimer=this.setTimeoutFn(function(){Io._onClose("ping timeout")},No),this.opts.autoUnref&&this._pingTimeoutTimer.unref()},Aa._onDrain=function(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()},Aa.flush=function(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){var Io=this._getWritablePackets();this.transport.send(Io),this._prevBufferLen=Io.length,this.emitReserved("flush")}},Aa._getWritablePackets=function(){var Io=this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1;if(!Io)return this.writeBuffer;for(var No=1,qo=0;qo<this.writeBuffer.length;qo++){var fa=this.writeBuffer[qo].data;if(fa&&(No+=Oa(fa)),qo>0&&No>this._maxPayload)return this.writeBuffer.slice(0,qo);No+=2}return this.writeBuffer},Aa._hasPingExpired=function(){var Io=this;if(!this._pingTimeoutTime)return!0;var No=Date.now()>this._pingTimeoutTime;return No&&(this._pingTimeoutTime=0,Ea(function(){Io._onClose("ping timeout")},this.setTimeoutFn)),No},Aa.write=function(Io,No,qo){return this._sendPacket("message",Io,No,qo),this},Aa.send=function(Io,No,qo){return this._sendPacket("message",Io,No,qo),this},Aa._sendPacket=function(Io,No,qo,fa){if(typeof No=="function"&&(fa=No,No=void 0),typeof qo=="function"&&(fa=qo,qo=null),!(this.readyState==="closing"||this.readyState==="closed")){qo=qo||{},qo.compress=qo.compress!==!1;var wa={type:Io,data:No,options:qo};this.emitReserved("packetCreate",wa),this.writeBuffer.push(wa),fa&&this.once("flush",fa),this.flush()}},Aa.close=function(){var Io=this,No=function(){Io._onClose("forced close"),Io.transport.close()},qo=function wa(){Io.off("upgrade",wa),Io.off("upgradeError",wa),No()},fa=function(){Io.once("upgrade",qo),Io.once("upgradeError",qo)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",function(){Io.upgrading?fa():No()}):this.upgrading?fa():No()),this},Aa._onError=function(Io){if(ba.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",Io),this._onClose("transport error",Io)},Aa._onClose=function(Io,No){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Ll&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){var qo=kl.indexOf(this._offlineEventListener);qo!==-1&&kl.splice(qo,1)}this.readyState="closed",this.id=null,this.emitReserved("close",Io,No),this.writeBuffer=[],this._prevBufferLen=0}},ba})(la);Vl.protocol=oa;var Ql=(function(ua){function ba(){var _o;return _o=ua.apply(this,arguments)||this,_o._upgrades=[],_o}co(ba,ua);var Aa=ba.prototype;return Aa.onOpen=function(){if(ua.prototype.onOpen.call(this),this.readyState==="open"&&this.opts.upgrade)for(var Io=0;Io<this._upgrades.length;Io++)this._probe(this._upgrades[Io])},Aa._probe=function(Io){var No=this,qo=this.createTransport(Io),fa=!1;Vl.priorWebsocketSuccess=!1;var wa=function(){fa||(qo.send([{type:"ping",data:"probe"}]),qo.once("packet",function(rl){if(!fa)if(rl.type==="pong"&&rl.data==="probe"){if(No.upgrading=!0,No.emitReserved("upgrading",qo),!qo)return;Vl.priorWebsocketSuccess=qo.name==="websocket",No.transport.pause(function(){fa||No.readyState!=="closed"&&(Ss(),No.setTransport(qo),qo.send([{type:"upgrade"}
380]),No.emitReserved("upgrade",qo),qo=null,No.upgrading=!1,No.flush())})}else{var zs=new Error("probe error");zs.transport=qo.name,No.emitReserved("upgradeError",zs)}}))};function Ra(){fa||(fa=!0,Ss(),qo.close(),qo=null)}var Ua=function(rl){var zs=new Error("probe error: "+rl);zs.transport=qo.name,Ra(),No.emitReserved("upgradeError",zs)};function Na(){Ua("transport closed")}function Ja(){Ua("socket closed")}function Za(Gs){qo&&Gs.name!==qo.name&&Ra()}var Ss=function(){qo.removeListener("open",wa),qo.removeListener("error",Ua),qo.removeListener("close",Na),No.off("close",Ja),No.off("upgrading",Za)};qo.once("open",wa),qo.once("error",Ua),qo.once("close",Na),this.once("close",Ja),this.once("upgrading",Za),this._upgrades.indexOf("webtransport")!==-1&&Io!=="webtransport"?this.setTimeoutFn(function(){fa||qo.open()},200):qo.open()},Aa.onHandshake=function(Io){this._upgrades=this._filterUpgrades(Io.upgrades),ua.prototype.onHandshake.call(this,Io)},Aa._filterUpgrades=function(Io){for(var No=[],qo=0;qo<Io.length;qo++)~this.transports.indexOf(Io[qo])&&No.push(Io[qo]);return No},ba})(Vl),cl=(function(ua){function ba(Aa){var _o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Io=yo(Aa)==="object"?Aa:_o;return(!Io.transports||Io.transports&&typeof Io.transports[0]=="string")&&(Io.transports=(Io.transports||["polling","websocket","webtransport"]).map(function(No){return al[No]}).filter(function(No){return!!No})),ua.call(this,Aa,Io)||this}return co(ba,ua),ba})(Ql);cl.protocol;function sl(ua){return ua&&ua.__esModule&&Object.prototype.hasOwnProperty.call(ua,"default")?ua.default:ua}var qs={exports:{}},Ya,Ka;function ys(){if(Ka)return Ya;Ka=1;var ua=1e3,ba=ua*60,Aa=ba*60,_o=Aa*24,Io=_o*7,No=_o*365.25;Ya=function(Na,Ja){Ja=Ja||{};var Za=yo(Na);if(Za==="string"&&Na.length>0)return qo(Na);if(Za==="number"&&isFinite(Na))return Ja.long?wa(Na):fa(Na);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(Na))};function qo(Ua){if(Ua=String(Ua),!(Ua.length>100)){var Na=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(Ua);if(Na){var Ja=parseFloat(Na[1]),Za=(Na[2]||"ms").toLowerCase();switch(Za){case"years":case"year":case"yrs":case"yr":case"y":return Ja*No;case"weeks":case"week":case"w":return Ja*Io;case"days":case"day":case"d":return Ja*_o;case"hours":case"hour":case"hrs":case"hr":case"h":return Ja*Aa;case"minutes":case"minute":case"mins":case"min":case"m":return Ja*ba;case"seconds":case"second":case"secs":case"sec":case"s":return Ja*ua;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return Ja;default:return}}}}function fa(Ua){var Na=Math.abs(Ua);return Na>=_o?Math.round(Ua/_o)+"d":Na>=Aa?Math.round(Ua/Aa)+"h":Na>=ba?Math.round(Ua/ba)+"m":Na>=ua?Math.round(Ua/ua)+"s":Ua+"ms"}function wa(Ua){var Na=Math.abs(Ua);return Na>=_o?Ra(Ua,Na,_o,"day"):Na>=Aa?Ra(Ua,Na,Aa,"hour"):Na>=ba?Ra(Ua,Na,ba,"minute"):Na>=ua?Ra(Ua,Na,ua,"second"):Ua+" ms"}function Ra(Ua,Na,Ja,Za){var Ss=Na>=Ja*1.5;return Math.round(Ua/Ja)+" "+Za+(Ss?"s":"")}return Ya}function Ls(ua){Aa.debug=Aa,Aa.default=Aa,Aa.coerce=wa,Aa.disable=qo,Aa.enable=Io,Aa.enabled=fa,Aa.humanize=ys(),Aa.destroy=Ra,Object.keys(ua).forEach(function(Ua){Aa[Ua]=ua[Ua]}),Aa.names=[],Aa.skips=[],Aa.formatters={};function ba(Ua){for(var Na=0,Ja=0;Ja<Ua.length;Ja++)Na=(Na<<5)-Na+Ua.charCodeAt(Ja),Na|=0;return Aa.colors[Math.abs(Na)%Aa.colors.length]}Aa.selectColor=ba;function Aa(Ua){var Na,Ja=null,Za,Ss;function Gs(){for(var rl=arguments.length,zs=new Array(rl),Fl=0;Fl<rl;Fl++)zs[Fl]=arguments[Fl];if(Gs.enabled){var bl=Gs,Gl=Number(new Date),bu=Gl-(Na||Gl);bl.diff=bu,bl.prev=Na,bl.curr=Gl,Na=Gl,zs[0]=Aa.coerce(zs[0]),typeof zs[0]!="string"&&zs.unshift("%O");var wc=0;zs[0]=zs[0].replace(/%([a-zA-Z%])/g,function(Wc,ku){if(Wc==="%%")return"%";wc++;var hc=Aa.formatters[ku];if(typeof hc=="function"){var ca=zs[wc];Wc=hc.call(bl,ca),zs.splice(wc,1),wc--}return Wc}),Aa.formatArgs.call(bl,zs);var ou=bl.log||Aa.log;ou.apply(bl,zs)}}return Gs.namespace=Ua,Gs.useColors=Aa.useColors(),Gs.color=Aa.selectColor(Ua),Gs.extend=_o,Gs.destroy=Aa.destroy,Object.defineProperty(Gs,"enabled",{enumerable:!0,configurable:!1,get:function(){return Ja!==null?Ja:(Za!==Aa.namespaces&&(Za=Aa.namespaces,Ss=Aa.enabled(Ua)),Ss)},set:function(zs){Ja=zs}}),typeof Aa.init=="function"&&Aa.init(Gs),Gs}function _o(Ua,Na){var Ja=Aa(this.namespace+(typeof Na>"u"?":":Na)+Ua);return Ja.log=this.log,Ja}function Io(Ua){Aa.save(Ua),Aa.namespaces=Ua,Aa.names=[],Aa.skips=[];var Na=(typeof Ua=="string"?Ua:"").trim().replace(/\s+/g,",").split(",").filter(
380Boolean),Ja=ao(Na),Za;try{for(Ja.s();!(Za=Ja.n()).done;){var Ss=Za.value;Ss[0]==="-"?Aa.skips.push(Ss.slice(1)):Aa.names.push(Ss)}}catch(Gs){Ja.e(Gs)}finally{Ja.f()}}function No(Ua,Na){for(var Ja=0,Za=0,Ss=-1,Gs=0;Ja<Ua.length;)if(Za<Na.length&&(Na[Za]===Ua[Ja]||Na[Za]==="*"))Na[Za]==="*"?(Ss=Za,Gs=Ja,Za++):(Ja++,Za++);else if(Ss!==-1)Za=Ss+1,Gs++,Ja=Gs;else return!1;for(;Za<Na.length&&Na[Za]==="*";)Za++;return Za===Na.length}function qo(){var Ua=[].concat(Co(Aa.names),Co(Aa.skips.map(function(Na){return"-"+Na}))).join(",");return Aa.enable(""),Ua}function fa(Ua){var Na=ao(Aa.skips),Ja;try{for(Na.s();!(Ja=Na.n()).done;){var Za=Ja.value;if(No(Ua,Za))return!1}}catch(zs){Na.e(zs)}finally{Na.f()}var Ss=ao(Aa.names),Gs;try{for(Ss.s();!(Gs=Ss.n()).done;){var rl=Gs.value;if(No(Ua,rl))return!0}}catch(zs){Ss.e(zs)}finally{Ss.f()}return!1}function wa(Ua){return Ua instanceof Error?Ua.stack||Ua.message:Ua}function Ra(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return Aa.enable(Aa.load()),Aa}var Ns=Ls;(function(ua,ba){ba.formatArgs=_o,ba.save=Io,ba.load=No,ba.useColors=Aa,ba.storage=qo(),ba.destroy=(function(){var wa=!1;return function(){wa||(wa=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),ba.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function Aa(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;var wa;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(wa=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(wa[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function _o(wa){if(wa[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+wa[0]+(this.useColors?"%c ":" ")+"+"+ua.exports.humanize(this.diff),!!this.useColors){var Ra="color: "+this.color;wa.splice(1,0,Ra,"color: inherit");var Ua=0,Na=0;wa[0].replace(/%[a-zA-Z%]/g,function(Ja){Ja!=="%%"&&(Ua++,Ja==="%c"&&(Na=Ua))}),wa.splice(Na,0,Ra)}}ba.log=console.debug||console.log||function(){};function Io(wa){try{wa?ba.storage.setItem("debug",wa):ba.storage.removeItem("debug")}catch{}}function No(){var wa;try{wa=ba.storage.getItem("debug")||ba.storage.getItem("DEBUG")}catch{}return!wa&&typeof process<"u"&&"env"in process&&(wa=define_process_env_default$1.DEBUG),wa}function qo(){try{return localStorage}catch{}}ua.exports=Ns(ba);var fa=ua.exports.formatters;fa.j=function(wa){try{return JSON.stringify(wa)}catch(Ra){return"[UnexpectedJSONParseError]: "+Ra.message}}})(qs,qs.exports);var tl=qs.exports,Qs=sl(tl),$l=Qs("socket.io-client:url");function bc(ua){var ba=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",Aa=arguments.length>2?arguments[2]:void 0,_o=ua;Aa=Aa||typeof location<"u"&&location,ua==null&&(ua=Aa.protocol+"//"+Aa.host),typeof ua=="string"&&(ua.charAt(0)==="/"&&(ua.charAt(1)==="/"?ua=Aa.protocol+ua:ua=Aa.host+ua),/^(https?|wss?):\/\//.test(ua)||($l("protocol-less url %s",ua),typeof Aa<"u"?ua=Aa.protocol+"//"+ua:ua="https://"+ua),$l("parse %s",ua),_o=Sl(ua)),_o.port||(/^(http|ws)$/.test(_o.protocol)?_o.port="80":/^(http|ws)s$/.test(_o.protocol)&&(_o.port="443")),_o.path=_o.path||"/";var Io=_o.host.indexOf(":")!==-1,No=Io?"["+_o.host+"]":_o.host;return _o.id=_o.protocol+"://"+No+":"+_o.port+ba,_o.href=_o.protocol+"://"+No+(Aa&&Aa.port===_o.port?"":":"+_o.port),_o}var tu=typeof ArrayBuffer=="function",il=function(ba){return typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(ba):ba.buffer instanceof ArrayBuffer},Pc=Object.prototype.toString,Yl=typeof Blob=="function"||typeof Blob<"u"&&Pc.call(Blob)==="[object BlobConstructor]",sc=typeof File=="function"||typeof File<"u"&&Pc.call(File)==="[object FileConstructor]";function Xl(ua){return tu&&(ua instanceof ArrayBuffer||il(ua))||Yl&&ua instanceof Blob||sc&&ua instanceof File}function gs(ua,ba){if(!ua||yo(ua)!=="object")return!1;if(Array.isArray(ua)){for(var Aa=0,_o=ua.length;Aa<_o;Aa++)if(gs(ua[Aa]))return!0;return!1}if(Xl(ua))return!0;
380if(ua.toJSON&&typeof ua.toJSON=="function"&&arguments.length===1)return gs(ua.toJSON(),!0);for(var Io in ua)if(Object.prototype.hasOwnProperty.call(ua,Io)&&gs(ua[Io]))return!0;return!1}function Vs(ua){var ba=[],Aa=ua.data,_o=ua;return _o.data=Ys(Aa,ba),_o.attachments=ba.length,{packet:_o,buffers:ba}}function Ys(ua,ba){if(!ua)return ua;if(Xl(ua)){var Aa={_placeholder:!0,num:ba.length};return ba.push(ua),Aa}else if(Array.isArray(ua)){for(var _o=new Array(ua.length),Io=0;Io<ua.length;Io++)_o[Io]=Ys(ua[Io],ba);return _o}else if(yo(ua)==="object"&&!(ua instanceof Date)){var No={};for(var qo in ua)Object.prototype.hasOwnProperty.call(ua,qo)&&(No[qo]=Ys(ua[qo],ba));return No}return ua}function dl(ua,ba){return ua.data=zl(ua.data,ba),delete ua.attachments,ua}function zl(ua,ba){if(!ua)return ua;if(ua&&ua._placeholder===!0){var Aa=typeof ua.num=="number"&&ua.num>=0&&ua.num<ba.length;if(Aa)return ba[ua.num];throw new Error("illegal attachments")}else if(Array.isArray(ua))for(var _o=0;_o<ua.length;_o++)ua[_o]=zl(ua[_o],ba);else if(yo(ua)==="object")for(var Io in ua)Object.prototype.hasOwnProperty.call(ua,Io)&&(ua[Io]=zl(ua[Io],ba));return ua}var Bl=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],ru=5,Us;(function(ua){ua[ua.CONNECT=0]="CONNECT",ua[ua.DISCONNECT=1]="DISCONNECT",ua[ua.EVENT=2]="EVENT",ua[ua.ACK=3]="ACK",ua[ua.CONNECT_ERROR=4]="CONNECT_ERROR",ua[ua.BINARY_EVENT=5]="BINARY_EVENT",ua[ua.BINARY_ACK=6]="BINARY_ACK"})(Us||(Us={}));var nu=(function(){function ua(Aa){this.replacer=Aa}var ba=ua.prototype;return ba.encode=function(_o){return(_o.type===Us.EVENT||_o.type===Us.ACK)&&gs(_o)?this.encodeAsBinary({type:_o.type===Us.EVENT?Us.BINARY_EVENT:Us.BINARY_ACK,nsp:_o.nsp,data:_o.data,id:_o.id}):[this.encodeAsString(_o)]},ba.encodeAsString=function(_o){var Io=""+_o.type;return(_o.type===Us.BINARY_EVENT||_o.type===Us.BINARY_ACK)&&(Io+=_o.attachments+"-"),_o.nsp&&_o.nsp!=="/"&&(Io+=_o.nsp+","),_o.id!=null&&(Io+=_o.id),_o.data!=null&&(Io+=JSON.stringify(_o.data,this.replacer)),Io},ba.encodeAsBinary=function(_o){var Io=Vs(_o),No=this.encodeAsString(Io.packet),qo=Io.buffers;return qo.unshift(No),qo},ua})(),Rc=(function(ua){function ba(_o){var Io;return Io=ua.call(this)||this,Io.reviver=_o,Io}co(ba,ua);var Aa=ba.prototype;return Aa.add=function(Io){var No;if(typeof Io=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");No=this.decodeString(Io);var qo=No.type===Us.BINARY_EVENT;qo||No.type===Us.BINARY_ACK?(No.type=qo?Us.EVENT:Us.ACK,this.reconstructor=new Nl(No),No.attachments===0&&ua.prototype.emitReserved.call(this,"decoded",No)):ua.prototype.emitReserved.call(this,"decoded",No)}else if(Xl(Io)||Io.base64)if(this.reconstructor)No=this.reconstructor.takeBinaryData(Io),No&&(this.reconstructor=null,ua.prototype.emitReserved.call(this,"decoded",No));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+Io)},Aa.decodeString=function(Io){var No=0,qo={type:Number(Io.charAt(0))};if(Us[qo.type]===void 0)throw new Error("unknown packet type "+qo.type);if(qo.type===Us.BINARY_EVENT||qo.type===Us.BINARY_ACK){for(var fa=No+1;Io.charAt(++No)!=="-"&&No!=Io.length;);var wa=Io.substring(fa,No);if(wa!=Number(wa)||Io.charAt(No)!=="-")throw new Error("Illegal attachments");qo.attachments=Number(wa)}if(Io.charAt(No+1)==="/"){for(var Ra=No+1;++No;){var Ua=Io.charAt(No);if(Ua===","||No===Io.length)break}qo.nsp=Io.substring(Ra,No)}else qo.nsp="/";var Na=Io.charAt(No+1);if(Na!==""&&Number(Na)==Na){for(var Ja=No+1;++No;){var Za=Io.charAt(No);if(Za==null||Number(Za)!=Za){--No;break}if(No===Io.length)break}qo.id=Number(Io.substring(Ja,No+1))}if(Io.charAt(++No)){var Ss=this.tryParse(Io.substr(No));if(ba.isPayloadValid(qo.type,Ss))qo.data=Ss;else throw new Error("invalid payload")}return qo},Aa.tryParse=function(Io){try{return JSON.parse(Io,this.reviver)}catch{return!1}},ba.isPayloadValid=function(Io,No){switch(Io){case Us.CONNECT:return Sc(No);case Us.DISCONNECT:return No===void 0;case Us.CONNECT_ERROR:return typeof No=="string"||Sc(No);case Us.EVENT:case Us.BINARY_EVENT:return Array.isArray(No)&&(typeof No[0]=="number"||typeof No[0]=="string"&&Bl.indexOf(No[0])===-1);case Us.ACK:case Us.BINARY_ACK:return Array.isArray(No)}},Aa.destroy=function(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)},ba})(la),Nl=(function(){function ua(Aa){this.packet=Aa,this.buffers=[],this.reconPack=Aa}var ba=ua.prototype;return ba.takeBinaryData=function(_o){if(this.buffers.push(_o),this.buffers.length===this.reconPack.attachments){var Io=dl(this.reconPack,this.buffers);return this.finishedReconstruction(),Io}return null},ba.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]},ua})();
380function vl(ua){return typeof ua=="string"}var _c=Number.isInteger||function(ua){return typeof ua=="number"&&isFinite(ua)&&Math.floor(ua)===ua};function Oc(ua){return ua===void 0||_c(ua)}function Sc(ua){return Object.prototype.toString.call(ua)==="[object Object]"}function Cc(ua,ba){switch(ua){case Us.CONNECT:return ba===void 0||Sc(ba);case Us.DISCONNECT:return ba===void 0;case Us.EVENT:return Array.isArray(ba)&&(typeof ba[0]=="number"||typeof ba[0]=="string"&&Bl.indexOf(ba[0])===-1);case Us.ACK:return Array.isArray(ba);case Us.CONNECT_ERROR:return typeof ba=="string"||Sc(ba);default:return!1}}function iu(ua){return vl(ua.nsp)&&Oc(ua.id)&&Cc(ua.type,ua.data)}var jc=Object.freeze({__proto__:null,protocol:ru,get PacketType(){return Us},Encoder:nu,Decoder:Rc,isPacketValid:iu});function yl(ua,ba,Aa){return ua.on(ba,Aa),function(){ua.off(ba,Aa)}}var ul=Qs("socket.io-client:socket"),pc=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1}),Ws=(function(ua){function ba(_o,Io,No){var qo;return qo=ua.call(this)||this,qo.connected=!1,qo.recovered=!1,qo.receiveBuffer=[],qo.sendBuffer=[],qo._queue=[],qo._queueSeq=0,qo.ids=0,qo.acks={},qo.flags={},qo.io=_o,qo.nsp=Io,No&&No.auth&&(qo.auth=No.auth),qo._opts=so({},No),qo.io._autoConnect&&qo.open(),qo}co(ba,ua);var Aa=ba.prototype;return Aa.subEvents=function(){if(!this.subs){var Io=this.io;this.subs=[yl(Io,"open",this.onopen.bind(this)),yl(Io,"packet",this.onpacket.bind(this)),yl(Io,"error",this.onerror.bind(this)),yl(Io,"close",this.onclose.bind(this))]}},Aa.connect=function(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)},Aa.open=function(){return this.connect()},Aa.send=function(){for(var Io=arguments.length,No=new Array(Io),qo=0;qo<Io;qo++)No[qo]=arguments[qo];return No.unshift("message"),this.emit.apply(this,No),this},Aa.emit=function(Io){var No,qo,fa;if(pc.hasOwnProperty(Io))throw new Error('"'+Io.toString()+'" is a reserved event name');for(var wa=arguments.length,Ra=new Array(wa>1?wa-1:0),Ua=1;Ua<wa;Ua++)Ra[Ua-1]=arguments[Ua];if(Ra.unshift(Io),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(Ra),this;var Na={type:Us.EVENT,data:Ra};if(Na.options={},Na.options.compress=this.flags.compress!==!1,typeof Ra[Ra.length-1]=="function"){var Ja=this.ids++;ul("emitting packet with ack id %d",Ja);var Za=Ra.pop();this._registerAckCallback(Ja,Za),Na.id=Ja}var Ss=(qo=(No=this.io.engine)===null||No===void 0?void 0:No.transport)===null||qo===void 0?void 0:qo.writable,Gs=this.connected&&!(!((fa=this.io.engine)===null||fa===void 0)&&fa._hasPingExpired()),rl=this.flags.volatile&&!Ss;return rl?ul("discard packet as the transport is not currently writable"):Gs?(this.notifyOutgoingListeners(Na),this.packet(Na)):this.sendBuffer.push(Na),this.flags={},this},Aa._registerAckCallback=function(Io,No){var qo=this,fa,wa=(fa=this.flags.timeout)!==null&&fa!==void 0?fa:this._opts.ackTimeout;if(wa===void 0){this.acks[Io]=No;return}var Ra=this.io.setTimeoutFn(function(){delete qo.acks[Io];for(var Na=0;Na<qo.sendBuffer.length;Na++)qo.sendBuffer[Na].id===Io&&(ul("removing packet with ack id %d from the buffer",Io),qo.sendBuffer.splice(Na,1));ul("event with ack id %d has timed out after %d ms",Io,wa),No.call(qo,new Error("operation has timed out"))},wa),Ua=function(){qo.io.clearTimeoutFn(Ra);for(var Ja=arguments.length,Za=new Array(Ja),Ss=0;Ss<Ja;Ss++)Za[Ss]=arguments[Ss];No.apply(qo,Za)};Ua.withError=!0,this.acks[Io]=Ua},Aa.emitWithAck=function(Io){for(var No=this,qo=arguments.length,fa=new Array(qo>1?qo-1:0),wa=1;wa<qo;wa++)fa[wa-1]=arguments[wa];return new Promise(function(Ra,Ua){var Na=function(Za,Ss){return Za?Ua(Za):Ra(Ss)};Na.withError=!0,fa.push(Na),No.emit.apply(No,[Io].concat(fa))})},Aa._addToQueue=function(Io){var No=this,qo;typeof Io[Io.length-1]=="function"&&(qo=Io.pop());var fa={id:this._queueSeq++,tryCount:0,pending:!1,args:Io,flags:so({fromQueue:!0},this.flags)};Io.push(function(wa){if(fa!==No._queue[0])return ul("packet [%d] already acknowledged",fa.id);var Ra=wa!==null;if(Ra)fa.tryCount>No._opts.retries&&(ul("packet [%d] is discarded after %d tries",fa.id,fa.tryCount),No._queue.shift(),qo&&qo(wa)
380);else if(ul("packet [%d] was successfully sent",fa.id),No._queue.shift(),qo){for(var Ua=arguments.length,Na=new Array(Ua>1?Ua-1:0),Ja=1;Ja<Ua;Ja++)Na[Ja-1]=arguments[Ja];qo.apply(void 0,[null].concat(Na))}return fa.pending=!1,No._drainQueue()}),this._queue.push(fa),this._drainQueue()},Aa._drainQueue=function(){var Io=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(ul("draining queue"),!(!this.connected||this._queue.length===0)){var No=this._queue[0];if(No.pending&&!Io){ul("packet [%d] has already been sent and is waiting for an ack",No.id);return}No.pending=!0,No.tryCount++,ul("sending packet [%d] (try n°%d)",No.id,No.tryCount),this.flags=No.flags,this.emit.apply(this,No.args)}},Aa.packet=function(Io){Io.nsp=this.nsp,this.io._packet(Io)},Aa.onopen=function(){var Io=this;ul("transport is open - connecting"),typeof this.auth=="function"?this.auth(function(No){Io._sendConnectPacket(No)}):this._sendConnectPacket(this.auth)},Aa._sendConnectPacket=function(Io){this.packet({type:Us.CONNECT,data:this._pid?so({pid:this._pid,offset:this._lastOffset},Io):Io})},Aa.onerror=function(Io){this.connected||this.emitReserved("connect_error",Io)},Aa.onclose=function(Io,No){ul("close (%s)",Io),this.connected=!1,delete this.id,this.emitReserved("disconnect",Io,No),this._clearAcks()},Aa._clearAcks=function(){var Io=this;
380Object.keys(this.acks).forEach(function(No){var qo=Io.sendBuffer.some(function(wa){return String(wa.id)===No});if(!qo){var fa=Io.acks[No];delete Io.acks[No],fa.withError&&fa.call(Io,new Error("socket has been disconnected"))}})},Aa.onpacket=function(Io){var No=Io.nsp===this.nsp;if(No)switch(Io.type){case Us.CONNECT:Io.data&&Io.data.sid?this.onconnect(Io.data.sid,Io.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Us.EVENT:case Us.BINARY_EVENT:this.onevent(Io);break;case Us.ACK:case Us.BINARY_ACK:this.onack(Io);break;case Us.DISCONNECT:this.ondisconnect();break;case Us.CONNECT_ERROR:this.destroy();var qo=new Error(Io.data.message);qo.data=Io.data.data,this.emitReserved("connect_error",qo);break}},Aa.onevent=function(Io){var No=Io.data||[];ul("emitting event %j",No),Io.id!=null&&(ul("attaching ack callback to event"),No.push(this.ack(Io.id))),this.connected?this.emitEvent(No):this.receiveBuffer.push(Object.freeze(No))},Aa.emitEvent=function(Io){if(this._anyListeners&&this._anyListeners.length){var No=this._anyListeners.slice(),qo=ao(No),fa;try{for(qo.s();!(fa=qo.n()).done;){var wa=fa.value;wa.apply(this,Io)}}catch(Ra){qo.e(Ra)}finally{qo.f()}}ua.prototype.emit.apply(this,Io),this._pid&&Io.length&&typeof Io[Io.length-1]=="string"&&(this._lastOffset=Io[Io.length-1])},Aa.ack=function(Io){var No=this,qo=!1;return function(){if(!qo){qo=!0;for(var fa=arguments.length,wa=new Array(fa),Ra=0;Ra<fa;Ra++)wa[Ra]=arguments[Ra];ul("sending ack %j",wa),No.packet({type:Us.ACK,id:Io,data:wa})}}},Aa.onack=function(Io){var No=this.acks[Io.id];if(typeof No!="function"){ul("bad ack %s",Io.id);return}delete this.acks[Io.id],ul("calling ack %s with %j",Io.id,Io.data),No.withError&&Io.data.unshift(null),No.apply(this,Io.data)},Aa.onconnect=function(Io,No){ul("socket connected with id %s",Io),this.id=Io,this.recovered=No&&this._pid===No,this._pid=No,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")},Aa.emitBuffered=function(){var Io=this;this.receiveBuffer.forEach(function(No){return Io.emitEvent(No)}),this.receiveBuffer=[],this.sendBuffer.forEach(function(No){Io.notifyOutgoingListeners(No),Io.packet(No)}),this.sendBuffer=[]},Aa.ondisconnect=function(){ul("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},Aa.destroy=function(){this.subs&&(this.subs.forEach(function(Io){return Io()}),this.subs=void 0),this.io._destroy(this)},Aa.disconnect=function(){return this.connected&&(ul("performing disconnect (%s)",this.nsp),this.packet({type:Us.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},Aa.close=function(){return this.disconnect()},Aa.compress=function(Io){return this.flags.compress=Io,this},Aa.timeout=function(Io){return this.flags.timeout=Io,this},Aa.onAny=function(Io){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(Io),this},Aa.prependAny=function(Io){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(Io),this},Aa.offAny=function(Io){if(!this._anyListeners)return this;if(Io){for(var No=this._anyListeners,qo=0;qo<No.length;qo++)if(Io===No[qo])return No.splice(qo,1),this}else this._anyListeners=[];return this},Aa.listenersAny=function(){return this._anyListeners||[]},Aa.onAnyOutgoing=function(Io){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(Io),this},Aa.prependAnyOutgoing=function(Io){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(Io),this},Aa.offAnyOutgoing=function(Io){if(!this._anyOutgoingListeners)return this;if(Io){for(var No=this._anyOutgoingListeners,qo=0;qo<No.length;qo++)if(Io===No[qo])return No.splice(qo,1),this}else this._anyOutgoingListeners=[];return this},Aa.listenersAnyOutgoing=function(){return this._anyOutgoingListeners||[]},Aa.notifyOutgoingListeners=function(Io){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){var No=this._anyOutgoingListeners.slice(),qo=ao(No),fa;try{for(qo.s();!(fa=qo.n()).done;){var wa=fa.value;wa.apply(this,Io.data)}}catch(Ra){qo.e(Ra)}finally{qo.f()}}},oo(ba,[{key:"disconnected",get:function(){return!this.connected}},{key:"active",get:function(){return!!this.subs}},{key:"volatile",get:function(){return this.flags.volatile=!0,this}}])})(la);function Wl(ua){ua=ua||{},this.ms=ua.min||100,this.max=ua.max||1e4,this.factor=ua.factor||2,this.jitter=ua.jitter>0&&ua.jitter<=1?ua.jitter:0,this.attempts=0}Wl.prototype.duration=function(){var ua=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var ba=Math.random(),Aa=Math.floor(ba*this.jitter*ua);ua=(Math.floor(ba*10)&1)==0?ua-Aa:ua+Aa}return Math.min(ua,this.max)|0},Wl.prototype.reset=function(){this.attempts=0},Wl.prototype.setMin=function(ua){this.ms=ua},Wl.prototype.setMax=function(ua){this.max=ua},Wl.prototype.setJitter=function(ua){this.jitter=ua};var Es=Qs("socket.io-client:manager"),kc=(function(ua){function ba(_o,Io){var No,qo;No=ua.call(this)||this,No.nsps={},No.subs=[],_o&&yo(_o)==="object"&&(Io=_o,_o=void 0),Io=Io||{},Io.path=Io.path||"/socket.io",No.opts=Io,va(No,Io),No.reconnection(Io.reconnection!==!1),No.reconnectionAttempts(Io.reconnectionAttempts||1/0),No.reconnectionDelay(Io.reconnectionDelay||1e3),No.reconnectionDelayMax(Io.reconnectionDelayMax||5e3),No.randomizationFactor((qo=Io.randomizationFactor)!==null&&qo!==void 0?qo:.5),No.backoff=new Wl({min:No.reconnectionDelay(),max:No.reconnectionDelayMax(),jitter:No.randomizationFactor()}),No.timeout(Io.timeout==null?2e4:Io.timeout),No._readyState="closed",No.uri=_o;var fa=Io.parser||jc;return No.encoder=new fa.Encoder,No.decoder=new fa.Decoder,No._autoConnect=Io.autoConnect!==!1,No._autoConnect&&No.open(),No}co(ba,ua);var Aa=ba.prototype;return Aa.reconnection=function(Io){return arguments.length?(this._reconnection=!!Io,Io||(this.skipReconnect=!0),this):this._reconnection},Aa.reconnectionAttempts=function(Io){return Io===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=Io,this)},Aa.reconnectionDelay=function(Io){var No;return Io===void 0?this._reconnectionDelay:(this._reconnectionDelay=Io,(No=this.backoff)===null||No===void 0||No.setMin(Io),this)},Aa.randomizationFactor=function(Io){var No;return Io===void 0?this._randomizationFactor:(this._randomizationFactor=Io,(No=this.backoff)===null||No===void 0||No.setJitter(Io),this)},Aa.reconnectionDelayMax=function(Io){var No;return Io===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=Io,(No=this.backoff)===null||No===void 0||No.setMa
380x(Io),this)},Aa.timeout=function(Io){return arguments.length?(this._timeout=Io,this):this._timeout},Aa.maybeReconnectOnOpen=function(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()},Aa.open=function(Io){var No=this;if(Es("readyState %s",this._readyState),~this._readyState.indexOf("open"))return this;Es("opening %s",this.uri),this.engine=new cl(this.uri,this.opts);var qo=this.engine,fa=this;this._readyState="opening",this.skipReconnect=!1;var wa=yl(qo,"open",function(){fa.onopen(),Io&&Io()}),Ra=function(Ss){Es("error"),No.cleanup(),No._readyState="closed",No.emitReserved("error",Ss),Io?Io(Ss):No.maybeReconnectOnOpen()},Ua=yl(qo,"error",Ra);if(this._timeout!==!1){var Na=this._timeout;Es("connect attempt will timeout after %d",Na);var Ja=this.setTimeoutFn(function(){Es("connect attempt timed out after %d",Na),wa(),Ra(new Error("timeout")),qo.close()},Na);this.opts.autoUnref&&Ja.unref(),this.subs.push(function(){No.clearTimeoutFn(Ja)})}return this.subs.push(wa),this.subs.push(Ua),this},Aa.connect=function(Io){return this.open(Io)},Aa.onopen=function(){Es("open"),this.cleanup(),this._readyState="open",this.emitReserved("open");var Io=this.engine;this.subs.push(yl(Io,"ping",this.onping.bind(this)),yl(Io,"data",this.ondata.bind(this)),yl(Io,"error",this.onerror.bind(this)),yl(Io,"close",this.onclose.bind(this)),yl(this.decoder,"decoded",this.ondecoded.bind(this)))},Aa.onping=function(){this.emitReserved("ping")},Aa.ondata=function(Io){try{this.decoder.add(Io)}catch(No){this.onclose("parse error",No)}},Aa.ondecoded=function(Io){var No=this;Ea(function(){No.emitReserved("packet",Io)},this.setTimeoutFn)},Aa.onerror=function(Io){Es("error",Io),this.emitReserved("error",Io)},Aa.socket=function(Io,No){var qo=this.nsps[Io];return qo?this._autoConnect&&!qo.active&&qo.connect():(qo=new Ws(this,Io,No),this.nsps[Io]=qo),qo},Aa._destroy=function(Io){for(var No=Object.keys(this.nsps),qo=0,fa=No;qo<fa.length;qo++){var wa=fa[qo],Ra=this.nsps[wa];if(Ra.active){Es("socket %s is still active, skipping close",wa);return}}this._close()},Aa._packet=function(Io){Es("writing packet %j",Io);for(var No=this.encoder.encode(Io),qo=0;qo<No.length;qo++)this.engine.write(No[qo],Io.options)},Aa.cleanup=function(){Es("cleanup"),this.subs.forEach(function(Io){return Io()}),this.subs.length=0,this.decoder.destroy()},Aa._close=function(){Es("disconnect"),this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")},Aa.disconnect=function(){return this._close()},Aa.onclose=function(Io,No){var qo;Es("closed due to %s",Io),this.cleanup(),(qo=this.engine)===null||qo===void 0||qo.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",Io,No),this._reconnection&&!this.skipReconnect&&this.reconnect()},Aa.reconnect=function(){var Io=this;if(this._reconnecting||this.skipReconnect)return this;var No=this;if(this.backoff.attempts>=this._reconnectionAttempts)Es("reconnect failed"),this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{var qo=this.backoff.duration();Es("will wait %dms before reconnect attempt",qo),this._reconnecting=!0;var fa=this.setTimeoutFn(function(){No.skipReconnect||(Es("attempting reconnect"),Io.emitReserved("reconnect_attempt",No.backoff.attempts),!No.skipReconnect&&No.open(function(wa){wa?(Es("reconnect attempt error"),No._reconnecting=!1,No.reconnect(),Io.emitReserved("reconnect_error",wa)):(Es("reconnect success"),No.onreconnect())}))},qo);this.opts.autoUnref&&fa.unref(),this.subs.push(function(){Io.clearTimeoutFn(fa)})}},Aa.onreconnect=function(){var Io=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",Io)},ba})(la),rc=Qs("socket.io-client"),nc={};function Ac(ua,ba){yo(ua)==="object"&&(ba=ua,ua=void 0),ba=ba||{};var Aa=bc(ua,ba.path||"/socket.io"),_o=Aa.source,Io=Aa.id,No=Aa.path,qo=nc[Io]&&No in nc[Io].nsps,fa=ba.forceNew||ba["force new connection"]||ba.multiplex===!1||qo,wa;return fa?(rc("ignoring socket cache for %s",_o),wa=new kc(_o,ba)):(nc[Io]||(rc("new io instance for %s",_o),nc[Io]=new kc(_o,ba)),wa=nc[Io]),Aa.query&&!ba.query&&(ba.query=Aa.queryKey),wa.socket(Aa.path,ba)}return so(Ac,{Manager:kc,Socket:Ws,io:Ac,connect:Ac}),Ac}))})(socket_io);var socket_ioExports=socket_io.exports;const socketIOClient=getDefaultExportFromCjs(socket_ioExports);function _interopDefault$1z(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1y=_interopDefault$1z(reactExports),_extends$22=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1y=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},CloseIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1y(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1y.createElement("svg",_extends$22({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1y.createElement("path",{d:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"}))},CloseIcon$1=React$1y.memo?React$1y.memo(CloseIcon):CloseIcon,CloseIcon_1=CloseIcon$1;const CloseIcon$2=getDefaultExportFromCjs(CloseIcon_1);function _interopDefault$1y(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1x=_interopDefault$1y(reactExports),_extends$21=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1x=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},CheckIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1x(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1x.createElement("svg",_extends$21({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1x.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))},CheckIcon$1=React$1x.memo?React$1x.memo(CheckIcon):CheckIcon,CheckIcon_1=CheckIcon$1;const CheckIcon$2=getDefaultExportFromCjs(CheckIcon_1);var CheckCircle={},_interopRequireDefault$K=interopRequireDefaultExports;
380Object.defineProperty(CheckCircle,"__esModule",{value:!0});var default_1$z=CheckCircle.default=void 0,_createSvgIcon$z=_interopRequireDefault$K(requireCreateSvgIcon()),_jsxRuntime$z=jsxRuntimeExports;default_1$z=CheckCircle.default=(0,_createSvgIcon$z.default)((0,_jsxRuntime$z.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle");var lib$2={},ValidatorComponent$1={};function finallyConstructor(Yi){var eo=this.constructor;return this.then(function(to){return eo.resolve(Yi()).then(function(){return to})},function(to){return eo.resolve(Yi()).then(function(){return eo.reject(to)})})}var setTimeoutFunc=setTimeout;function noop$5(){}function bind(Yi,eo){return function(){Yi.apply(eo,arguments)}}function Promise$3(Yi){if(!(this instanceof Promise$3))throw new TypeError("Promises must be constructed via new");if(typeof Yi!="function")throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],doResolve(Yi,this)}function handle(Yi,eo){for(;Yi._state===3;)Yi=Yi._value;if(Yi._state===0){Yi._deferreds.push(eo);return}Yi._handled=!0,Promise$3._immediateFn(function(){var to=Yi._state===1?eo.onFulfilled:eo.onRejected;if(to===null){(Yi._state===1?resolve:reject)(eo.promise,Yi._value);return}var ro;try{ro=to(Yi._value)}catch(no){reject(eo.promise,no);return}resolve(eo.promise,ro)})}function resolve(Yi,eo){try{if(eo===Yi)throw new TypeError("A promise cannot be resolved with itself.");if(eo&&(typeof eo=="object"||typeof eo=="function")){var to=eo.then;if(eo instanceof Promise$3){Yi._state=3,Yi._value=eo,finale(Yi);return}else if(typeof to=="function"){doResolve(bind(to,eo),Yi);return}}Yi._state=1,Yi._value=eo,finale(Yi)}catch(ro){reject(Yi,ro)}}function reject(Yi,eo){Yi._state=2,Yi._value=eo,finale(Yi)}function finale(Yi){Yi._state===2&&Yi._deferreds.length===0&&Promise$3._immediateFn(function(){Yi._handled||Promise$3._unhandledRejectionFn(Yi._value)});for(var eo=0,to=Yi._deferreds.length;eo<to;eo++)handle(Yi,Yi._deferreds[eo]);Yi._deferreds=null}function Handler(Yi,eo,to){this.onFulfilled=typeof Yi=="function"?Yi:null,this.onRejected=typeof eo=="function"?eo:null,this.promise=to}function doResolve(Yi,eo){var to=!1;try{Yi(function(ro){to||(to=!0,resolve(eo,ro))},function(ro){to||(to=!0,reject(eo,ro))})}catch(ro){if(to)return;to=!0,reject(eo,ro)}}Promise$3.prototype.catch=function(Yi){return this.then(null,Yi)};Promise$3.prototype.then=function(Yi,eo){var to=new this.constructor(noop$5);return handle(this,new Handler(Yi,eo,to)),to};Promise$3.prototype.finally=finallyConstructor;Promise$3.all=function(Yi){return new Promise$3(function(eo,to){if(!Yi||typeof Yi.length>"u")throw new TypeError("Promise.all accepts an array");var ro=Array.prototype.slice.call(Yi);if(ro.length===0)return eo([]);var no=ro.length;function io(ao,so){try{if(so&&(typeof so=="object"||typeof so=="function")){var lo=so.then;if(typeof lo=="function"){lo.call(so,function(co){io(ao,co)},to);return}}ro[ao]=so,--no===0&&eo(ro)}catch(co){to(co)}}for(var oo=0;oo<ro.length;oo++)io(oo,ro[oo])})};Promise$3.resolve=function(Yi){return Yi&&typeof Yi=="object"&&Yi.constructor===Promise$3?Yi:new Promise$3(function(eo){eo(Yi)})};Promise$3.reject=function(Yi){return new Promise$3(function(eo,to){to(Yi)})};Promise$3.race=function(Yi){return new Promise$3(function(eo,to){for(var ro=0,no=Yi.length;ro<no;ro++)Yi[ro].then(eo,to)})};Promise$3._immediateFn=typeof setImmediate=="function"&&function(Yi){setImmediate(Yi)}||function(Yi){setTimeoutFunc(Yi,0)};Promise$3._unhandledRejectionFn=function Yi(eo){typeof console<"u"&&console&&console.warn("Possible Unhandled Promise Rejection:",eo)};const src=Object.freeze(Object.defineProperty({__proto__:null,default:Promise$3},Symbol.toStringTag,{value:"Module"})),require$$2=getAugmentedNamespace(src);function componentWillMount(){var Yi=this.constructor.getDerivedStateFromProps(this.props,this.state);Yi!=null&&this.setState(Yi)}function componentWillReceiveProps(Yi){function eo(to){var ro=this.constructor.getDerivedStateFromProps(Yi,to);return ro??null}this.setState(eo.bind(this))}function componentWillUpdate(Yi,eo){try{var to=this.props,ro=this.state;this.props=Yi,this.state=eo,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(to,ro)}finally{this.props=to,this.state=ro}}componentWillMount.__suppressDeprecationWarning=!0;componentWillReceiveProps.__suppressDeprecationWarning=!0;componentWillUpdate.__suppressDeprecationWarning=!0;function polyfill(Yi){var eo=Yi.prototype;if(!eo||!eo.isReactComponent)throw new Error("Can only polyfill class components");if(typeof Yi.getDerivedStateFromProps!="function"&&typeof eo.getSnapshotBeforeUpdate!="function")return Yi;var to=null,ro=null,no=null;if(typeof eo.componentWillMount=="function"?to="componentWillMount":typeof eo.UNSAFE_componentWillMount=="function"&&(to="UNSAFE_componentWillMount"),typeof eo.componentWillReceiveProps=="function"?ro="componentWillReceiveProps":typeof eo.UNSAFE_componentWillReceiveProps=="function"&&(ro="UNSAFE_componentWillReceiveProps"),typeof eo.componentWillUpdate=="function"?no="componentWillUpdate":typeof eo.UNSAFE_componentWillUpdate=="function"&&(no="UNSAFE_componentWillUpdate"),to!==null||ro!==null||no!==null){var io=Yi.displayName||Yi.name,oo=typeof Yi.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
381
382`+io+" uses "+oo+" but also contains the following legacy lifecycles:"+(to!==null?`
383  `+to:"")+(ro!==null?`
384  `+ro:"")+(no!==null?`
385  `+no:"")+`
386
387The above lifecycles should be removed. Learn more about this warning here:
388https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof Yi.getDerivedStateFromProps=="function"&&(eo.componentWillMount=componentWillMount,eo.componentWillReceiveProps=componentWillReceiveProps),typeof eo.getSnapshotBeforeUpdate=="function"){if(typeof eo.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");eo.componentWillUpdate=componentWillUpdate;var ao=eo.componentDidUpdate;eo.componentDidUpdate=function(lo,co,uo){var fo=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:uo;
388ao.call(this,lo,co,fo)}}return Yi}const reactLifecyclesCompat_es=Object.freeze(Object.defineProperty({__proto__:null,polyfill},Symbol.toStringTag,{value:"Module"})),require$$3=getAugmentedNamespace(reactLifecyclesCompat_es);var ValidatorForm$2={},lib$1={exports:{}},implementation={exports:{}},key$2="__global_unique_id__",gud=function(){return commonjsGlobal[key$2]=(commonjsGlobal[key$2]||0)+1},warning=function(){},warning_1=warning;(function(Yi,eo){eo.__esModule=!0;var to=reactExports;so(to);var ro=propTypesExports,no=so(ro),io=gud,oo=so(io),ao=warning_1;so(ao);function so(bo){return bo&&bo.__esModule?bo:{default:bo}}function lo(bo,wo){if(!(bo instanceof wo))throw new TypeError("Cannot call a class as a function")}function co(bo,wo){if(!bo)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return wo&&(typeof wo=="object"||typeof wo=="function")?wo:bo}function uo(bo,wo){if(typeof wo!="function"&&wo!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof wo);bo.prototype=Object.create(wo&&wo.prototype,{constructor:{value:bo,enumerable:!1,writable:!0,configurable:!0}}),wo&&(Object.setPrototypeOf?Object.setPrototypeOf(bo,wo):bo.__proto__=wo)}var fo=1073741823;function ho(bo,wo){return bo===wo?bo!==0||1/bo===1/wo:bo!==bo&&wo!==wo}function mo(bo){var wo=[];return{on:function(Eo){wo.push(Eo)},off:function(Eo){wo=wo.filter(function(xo){return xo!==Eo})},get:function(){return bo},set:function(Eo,xo){bo=Eo,wo.forEach(function(So){return So(bo,xo)})}}}function vo(bo){return Array.isArray(bo)?bo[0]:bo}function Co(bo,wo){var yo,Eo,xo="__create-react-context-"+(0,oo.default)()+"__",So=(function(Ro){uo(Po,Ro);function Po(){var zo,Ho,Vo;lo(this,Po);for(var Lo=arguments.length,Uo=Array(Lo),Do=0;Do<Lo;Do++)Uo[Do]=arguments[Do];return Vo=(zo=(Ho=co(this,Ro.call.apply(Ro,[this].concat(Uo))),Ho),Ho.emitter=mo(Ho.props.value),zo),co(Ho,Vo)}return Po.prototype.getChildContext=function(){var Ho;return Ho={},Ho[xo]=this.emitter,Ho},Po.prototype.componentWillReceiveProps=function(Ho){if(this.props.value!==Ho.value){var Vo=this.props.value,Lo=Ho.value,Uo=void 0;ho(Vo,Lo)?Uo=0:(Uo=typeof wo=="function"?wo(Vo,Lo):fo,Uo|=0,Uo!==0&&this.emitter.set(Ho.value,Uo))}},Po.prototype.render=function(){return this.props.children},Po})(to.Component);So.childContextTypes=(yo={},yo[xo]=no.default.object.isRequired,yo);var To=(function(Ro){uo(Po,Ro);function Po(){var zo,Ho,Vo;lo(this,Po);for(var Lo=arguments.length,Uo=Array(Lo),Do=0;Do<Lo;Do++)Uo[Do]=arguments[Do];return Vo=(zo=(Ho=co(this,Ro.call.apply(Ro,[this].concat(Uo))),Ho),Ho.state={value:Ho.getValue()},Ho.onUpdate=function(Oo,ko){var Bo=Ho.observedBits|0;(Bo&ko)!==0&&Ho.setState({value:Ho.getValue()})},zo),co(Ho,Vo)}return Po.prototype.componentWillReceiveProps=function(Ho){var Vo=Ho.observedBits;this.observedBits=Vo??fo},Po.prototype.componentDidMount=function(){this.context[xo]&&this.context[xo].on(this.onUpdate);var Ho=this.props.observedBits;this.observedBits=Ho??fo},Po.prototype.componentWillUnmount=function(){this.context[xo]&&this.context[xo].off(this.onUpdate)},Po.prototype.getValue=function(){return this.context[xo]?this.context[xo].get():bo},Po.prototype.render=function(){return vo(this.props.children)(this.state.value)},Po})(to.Component);return To.contextTypes=(Eo={},Eo[xo]=no.default.object,Eo),{Provider:So,Consumer:To}}eo.default=Co,Yi.exports=eo.default})(implementation,implementation.exports);var implementationExports=implementation.exports;(function(Yi,eo){eo.__esModule=!0;var to=reactExports,ro=oo(to),no=implementationExports,io=oo(no);function oo(ao){return ao&&ao.__esModule?ao:{default:ao}}eo.default=ro.default.createContext||io.default,Yi.exports=eo.default})(lib$1,lib$1.exports);var libExports=lib$1.exports,isExisty=function Yi(eo){return eo!=null},_isEmpty=function Yi(eo){return eo instanceof Array?eo.length===0:eo===""||!isExisty(eo)},isEmptyTrimed=function Yi(eo){return typeof eo=="string"?eo.trim()==="":!0},validations={matchRegexp:function Yi(eo,to){var ro=to instanceof RegExp?to:new RegExp(to);return _isEmpty(eo)||ro.test(eo)},isEmail:function Yi(eo){return validations.matchRegexp(eo,/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i)},isEmpty:function Yi(eo){return _isEmpty(eo)},required:function Yi(eo){return!_isEmpty(eo)},trim:function Yi(eo){return!isEmptyTrimed(eo)},isNumber:function Yi(eo){return validations.matchRegexp(eo,/^-?[0-9]\d*(\d+)?$/i)},isFloat:function Yi(eo){return validations.matchRegexp(eo,/^(?:-?[1-9]\d*|-?0)?(?:\.\d+)?$/i)},isPositive:function Yi(eo){return isExisty(eo)?(validations.isNumber(eo)||validations.isFloat(eo))&&eo>=0:!0}
388,maxNumber:function Yi(eo,to){return _isEmpty(eo)||parseInt(eo,10)<=parseInt(to,10)},minNumber:function Yi(eo,to){return _isEmpty(eo)||parseInt(eo,10)>=parseInt(to,10)},maxFloat:function Yi(eo,to){return _isEmpty(eo)||parseFloat(eo)<=parseFloat(to)},minFloat:function Yi(eo,to){return _isEmpty(eo)||parseFloat(eo)>=parseFloat(to)},isString:function Yi(eo){return _isEmpty(eo)||typeof eo=="string"||eo instanceof String},minStringLength:function Yi(eo,to){return validations.isString(eo)&&eo.length>=to},maxStringLength:function Yi(eo,to){return validations.isString(eo)&&eo.length<=to},isFile:function Yi(eo){return _isEmpty(eo)||eo instanceof File},maxFileSize:function Yi(eo,to){return _isEmpty(eo)||validations.isFile(eo)&&eo.size<=parseInt(to,10)},allowedExtensions:function Yi(eo,to){return _isEmpty(eo)||validations.isFile(eo)&&to.split(",").indexOf(eo.type)!==-1}},ValidationRules=validations;Object.defineProperty(ValidatorForm$2,"__esModule",{value:!0});ValidatorForm$2.FormContext=void 0;var _extends$20=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_createClass$o=(function(){function Yi(eo,to){for(var ro=0;ro<to.length;ro++){var no=to[ro];no.enumerable=no.enumerable||!1,no.configurable=!0,"value"in no&&(no.writable=!0),Object.defineProperty(eo,no.key,no)}}return function(eo,to,ro){return to&&Yi(eo.prototype,to),ro&&Yi(eo,ro),eo}})(),_react$7=reactExports,_react2$3=_interopRequireDefault$J(_react$7),_propTypes$1=propTypesExports,_propTypes2$1=_interopRequireDefault$J(_propTypes$1),_promisePolyfill$1=require$$2,_promisePolyfill2$1=_interopRequireDefault$J(_promisePolyfill$1),_createReactContext=libExports,_createReactContext2=_interopRequireDefault$J(_createReactContext),_ValidationRules$1=ValidationRules,_ValidationRules2$1=_interopRequireDefault$J(_ValidationRules$1);function _interopRequireDefault$J(Yi){return Yi&&Yi.__esModule?Yi:{default:Yi}}function _objectWithoutProperties$i(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to}function _classCallCheck$o(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn$l(Yi,eo){if(!Yi)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return eo&&(typeof eo=="object"||typeof eo=="function")?eo:Yi}function _inherits$l(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof eo);Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,enumerable:!1,writable:!0,configurable:!0}}),eo&&(Object.setPrototypeOf?Object.setPrototypeOf(Yi,eo):Yi.__proto__=eo)}var FormContext=(0,_createReactContext2.default)("form");ValidatorForm$2.FormContext=FormContext;var ValidatorForm$1=(function(Yi){_inherits$l(eo,Yi);function eo(){var to,ro,no,io;_classCallCheck$o(this,eo);for(var oo=arguments.length,ao=Array(oo),so=0;so<oo;so++)ao[so]=arguments[so];return io=(ro=(no=_possibleConstructorReturn$l(this,(to=eo.__proto__||Object.getPrototypeOf(eo)).call.apply(to,[this].concat(ao))),no),no.getFormHelpers=function(){return{form:{attachToForm:no.attachToForm,detachFromForm:no.detachFromForm,instantValidate:no.instantValidate,debounceTime:no.debounceTime}}},no.instantValidate=no.props.instantValidate!==void 0?no.props.instantValidate:!0,no.debounceTime=no.props.debounceTime,no.childs=[],no.errors=[],no.attachToForm=function(lo){no.childs.indexOf(lo)===-1&&no.childs.push(lo)},no.detachFromForm=function(lo){var co=no.childs.indexOf(lo);co!==-1&&(no.childs=no.childs.slice(0,co).concat(no.childs.slice(co+1)))},no.submit=function(lo){lo&&(lo.preventDefault(),lo.persist()),no.errors=[],no.walk(no.childs).then(function(co){return no.errors.length&&no.props.onError(no.errors),co&&no.props.onSubmit(lo),co})},no.walk=function(lo,co){var uo=no;return new _promisePolyfill2$1.default(function(fo){var ho=!0;Array.isArray(lo)?_promisePolyfill2$1.default.all(lo.map(function(mo){return uo.checkInput(mo,co)}
388)).then(function(mo){mo.forEach(function(vo){vo||(ho=!1)}),fo(ho)}):uo.walk([lo],co).then(function(mo){return fo(mo)})})},no.checkInput=function(lo,co){return new _promisePolyfill2$1.default(function(uo){var fo=!0,ho=lo.props.validators;ho?no.validate(lo,!0,co).then(function(mo){mo||(fo=!1),uo(fo)}):uo(fo)})},no.validate=function(lo,co,uo){return new _promisePolyfill2$1.default(function(fo){var ho=lo.props.value;lo.validate(ho,co,uo).then(function(mo){mo||no.errors.push(lo),fo(mo)})})},no.find=function(lo,co){for(var uo=0,fo=lo.length;uo<fo;uo++){var ho=lo[uo];if(co(ho))return ho}return null},no.resetValidations=function(){no.childs.forEach(function(lo){lo.validateDebounced.cancel(),lo.setState({isValid:!0})})},no.isFormValid=function(){var lo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return no.walk(no.childs,lo)},ro),_possibleConstructorReturn$l(no,io)}return _createClass$o(eo,[{key:"render",value:function(){var ro=this.props;ro.onSubmit,ro.instantValidate,ro.onError,ro.debounceTime;var no=ro.children,io=_objectWithoutProperties$i(ro,["onSubmit","instantValidate","onError","debounceTime","children"]);return _react2$3.default.createElement(FormContext.Provider,{value:this.getFormHelpers()},_react2$3.default.createElement("form",_extends$20({},io,{onSubmit:this.submit}),no))}}]),eo})(_react2$3.default.Component);ValidatorForm$1.getValidator=function(Yi,eo,to){var ro=!0,no=Yi;if(no!=="required"||to){var io=void 0,oo=Yi.indexOf(":");oo!==-1&&(no=Yi.substring(0,oo),io=Yi.substring(oo+1)),ro=_ValidationRules2$1.default[no](eo,io)}return ro};ValidatorForm$1.addValidationRule=function(Yi,eo){_ValidationRules2$1.default[Yi]=eo};ValidatorForm$1.getValidationRule=function(Yi){return _ValidationRules2$1.default[Yi]};ValidatorForm$1.hasValidationRule=function(Yi){return _ValidationRules2$1.default[Yi]&&typeof _ValidationRules2$1.default[Yi]=="function"};ValidatorForm$1.removeValidationRule=function(Yi){delete _ValidationRules2$1.default[Yi]};ValidatorForm$1.propTypes={onSubmit:_propTypes2$1.default.func.isRequired,instantValidate:_propTypes2$1.default.bool,children:_propTypes2$1.default.node,onError:_propTypes2$1.default.func,debounceTime:_propTypes2$1.default.number};ValidatorForm$1.defaultProps={onError:function Yi(){},debounceTime:0};ValidatorForm$2.default=ValidatorForm$1;var utils$3={};Object.defineProperty(utils$3,"__esModule",{value:!0});var debounce$2=function Yi(eo,to,ro){var no=void 0;function io(){no!==void 0&&clearTimeout(no)}var oo=function(){for(var so=arguments.length,lo=Array(so),co=0;co<so;co++)lo[co]=arguments[co];var uo=this,fo=function(){no=null,ro||eo.apply(uo,lo)},ho=ro&&!no;clearTimeout(no),no=setTimeout(fo,to),ho&&eo.apply(uo,lo)};return oo.cancel=io,oo};utils$3.debounce=debounce$2;Object.defineProperty(ValidatorComponent$1,"__esModule",{value:!0});var _typeof$J=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Yi){return typeof Yi}:function(Yi){return Yi&&typeof Symbol=="function"&&Yi.constructor===Symbol&&Yi!==Symbol.prototype?"symbol":typeof Yi},_createClass$n=(function(){function Yi(eo,to){for(var ro=0;ro<to.length;ro++){var no=to[ro];no.enumerable=no.enumerable||!1,no.configurable=!0,"value"in no&&(no.writable=!0),Object.defineProperty(eo,no.key,no)}}return function(eo,to,ro){return to&&Yi(eo.prototype,to),ro&&Yi(eo,ro),eo}})(),_react$6=reactExports,_react2$2=_interopRequireDefault$I(_react$6),_propTypes=propTypesExports,_propTypes2=_interopRequireDefault$I(_propTypes),_promisePolyfill=require$$2,_promisePolyfill2=_interopRequireDefault$I(_promisePolyfill),_reactLifecyclesCompat=require$$3,_ValidatorForm$1=ValidatorForm$2,_ValidatorForm2$1=_interopRequireDefault$I(_ValidatorForm$1),_utils$2=utils$3;function _interopRequireDefault$I(Yi){return Yi&&Yi.__esModule?Yi:{default:Yi}}function _classCallCheck$n(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn$k(Yi,eo){if(!Yi)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return eo&&(typeof eo=="object"||typeof eo=="function")?eo:Yi}function _inherits$k(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof eo);Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,enumerable:!1,writable:!0,configurable:!0}}),eo&&(Object.setPrototypeOf?Object.setPrototypeOf(Yi,eo):Yi.__proto__=eo)}var ValidatorComponent=(function(Yi){_inherits$k(eo,Yi);function eo(){var to,ro,no,io;_classCallCheck$n(this,eo);for(var oo=arguments.length,ao=Array(oo),so=0;so<oo;so++)ao[so]=arguments[so];return io=(ro=(no=_possibleConstructorReturn$k(this,(to=eo.__proto__||Object.getPrototypeOf(eo)).call.apply(to,[this].concat(ao))),no),no.state={isValid:!0,value:no.props.value,errorMessages:no.props.errorMessages,validators:no.props.validators},no.getErrorMessage=function(){var lo=no.state.errorMessages,co=typeof lo>"u"?"undefined":_typeof$J(lo);
388return co==="string"?lo:co==="object"&&no.invalid.length>0?lo[no.invalid[0]]:(console.log("unknown errorMessages type",lo),!0)},no.instantValidate=!0,no.invalid=[],no.configure=function(){no.form.attachToForm(no),no.instantValidate=no.form.instantValidate,no.debounceTime=no.form.debounceTime,no.validateDebounced=(0,_utils$2.debounce)(no.validate,no.debounceTime)},no.validate=function(lo){var co=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,uo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,fo=_promisePolyfill2.default.all(no.state.validators.map(function(ho){return _ValidatorForm2$1.default.getValidator(ho,lo,co)}));return fo.then(function(ho){no.invalid=[];var mo=!0;return ho.forEach(function(vo,Co){vo||(mo=!1,no.invalid.push(Co))}),uo||no.setState({isValid:mo},function(){no.props.validatorListener(no.state.isValid)}),mo})},no.isValid=function(){return no.state.isValid},no.makeInvalid=function(){no.setState({isValid:!1})},no.makeValid=function(){no.setState({isValid:!0})},no.renderComponent=function(lo){return no.form||(no.form=lo),no.renderValidatorComponent()},ro),_possibleConstructorReturn$k(no,io)}return _createClass$n(eo,[{key:"componentDidMount",value:function(){this.configure()}},{key:"shouldComponentUpdate",value:function(ro,no){return this.state!==no||this.props!==ro}},{key:"componentDidUpdate",value:function(ro,no){this.instantValidate&&this.props.value!==no.value&&this.validateDebounced(this.props.value,this.props.withRequiredValidator)}},{key:"componentWillUnmount",value:function(){this.form.detachFromForm(this),this.validateDebounced.cancel()}},{key:"render",value:function(){var ro=this;return _react2$2.default.createElement(_ValidatorForm$1.FormContext.Consumer,null,function(no){var io=no.form;return _react2$2.default.createElement("div",ro.props.containerProps,ro.renderComponent(io))})}}],[{key:"getDerivedStateFromProps",value:function(ro,no){return ro.validators&&ro.errorMessages&&(no.validators!==ro.validators||no.errorMessages!==ro.errorMessages)?{value:ro.value,validators:ro.validators,errorMessages:ro.errorMessages}:{value:ro.value}}}]),eo})(_react2$2.default.Component);ValidatorComponent.propTypes={errorMessages:_propTypes2.default.oneOfType([_propTypes2.default.array,_propTypes2.default.string]),validators:_propTypes2.default.array,value:_propTypes2.default.any,validatorListener:_propTypes2.default.func,withRequiredValidator:_propTypes2.default.bool,containerProps:_propTypes2.default.object};ValidatorComponent.defaultProps={errorMessages:"error",validators:[],validatorListener:function Yi(){}};(0,_reactLifecyclesCompat.polyfill)(ValidatorComponent);ValidatorComponent$1.default=ValidatorComponent;var _ValidatorComponent=ValidatorComponent$1,_ValidatorComponent2=_interopRequireDefault$H(_ValidatorComponent),_ValidatorForm=ValidatorForm$2,_ValidatorForm2=_interopRequireDefault$H(_ValidatorForm),_ValidationRules=ValidationRules,_ValidationRules2=_interopRequireDefault$H(_ValidationRules);function _interopRequireDefault$H(Yi){return Yi&&Yi.__esModule?Yi:{default:Yi}}lib$2.ValidatorComponent=_ValidatorComponent2.default;lib$2.ValidatorForm=_ValidatorForm2.default;lib$2.ValidationRules=_ValidationRules2.default;var SelectValidator$2={};const require$$1=getAugmentedNamespace(TextField);Object.defineProperty(SelectValidator$2,"__esModule",{value:!0});var _extends$1$=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_createClass$m=(function(){function Yi(eo,to){for(var ro=0;ro<to.length;ro++){var no=to[ro];no.enumerable=no.enumerable||!1,no.configurable=!0,"value"in no&&(no.writable=!0),Object.defineProperty(eo,no.key,no)}}return function(eo,to,ro){return to&&Yi(eo.prototype,to),ro&&Yi(eo,ro),eo}})(),_react$5=reactExports,_react2$1=_interopRequireDefault$G(_react$5),_TextField$1=require$$1,_TextField2$1=_interopRequireDefault$G(_TextField$1),_reactFormValidatorCore$2=lib$2;function _interopRequireDefault$G(Yi){return Yi&&Yi.__esModule?Yi:{default:Yi}}function _objectWithoutProperties$h(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to}function _classCallCheck$m(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn$j(Yi,eo){if(!Yi)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return eo&&(typeof eo=="object"||typeof eo=="function")?eo:Yi}function _inherits$j(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof eo);Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,enumerable:!1,writable:!0,configurable:!0}}),eo&&(Object.setPrototypeOf?Object.setPrototypeOf(Yi,eo):Yi.__proto__=eo)}var SelectValidator$1=(function(Yi){_inherits$j(eo,Yi);function eo(){return _classCallCheck$m(this,eo),_possibleConstructorReturn$j(this,(eo.__proto__||Object.getPrototypeOf(eo)).apply(this,arguments))}return _createClass$m(eo,[{key:"renderValidatorComponent",value:function(){var ro=this.props,no=ro.error;ro.errorMessages,ro.validators,ro.requiredError;var io=ro.helperText;ro.validatorListener,ro.withRequiredValidator,ro.containerProps;var oo=_objectWithoutProperties$h(ro,["error","errorMessages","validators","requiredError","helperText","validatorListener","withRequiredValidator","containerProps"]),ao=this.state.isValid;return _react2$1.default.createElement(_TextField2$1.default,_extends$1$({},oo,{select:!0,error:!ao||no,helperText:!ao&&this.getErrorMessage()||io}))}}]),eo})(_reactFormValidatorCore$2.ValidatorComponent);SelectValidator$2.default=SelectValidator$1;var TextValidator$2={};
388Object.defineProperty(TextValidator$2,"__esModule",{value:!0});var _extends$1_=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_createClass$l=(function(){function Yi(eo,to){for(var ro=0;ro<to.length;ro++){var no=to[ro];no.enumerable=no.enumerable||!1,no.configurable=!0,"value"in no&&(no.writable=!0),Object.defineProperty(eo,no.key,no)}}return function(eo,to,ro){return to&&Yi(eo.prototype,to),ro&&Yi(eo,ro),eo}})(),_react$4=reactExports,_react2=_interopRequireDefault$F(_react$4),_TextField=require$$1,_TextField2=_interopRequireDefault$F(_TextField),_reactFormValidatorCore$1=lib$2;function _interopRequireDefault$F(Yi){return Yi&&Yi.__esModule?Yi:{default:Yi}}function _objectWithoutProperties$g(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to}function _classCallCheck$l(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn$i(Yi,eo){if(!Yi)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return eo&&(typeof eo=="object"||typeof eo=="function")?eo:Yi}function _inherits$i(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof eo);Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,enumerable:!1,writable:!0,configurable:!0}}),eo&&(Object.setPrototypeOf?Object.setPrototypeOf(Yi,eo):Yi.__proto__=eo)}var TextValidator$1=(function(Yi){_inherits$i(eo,Yi);function eo(){return _classCallCheck$l(this,eo),_possibleConstructorReturn$i(this,(eo.__proto__||Object.getPrototypeOf(eo)).apply(this,arguments))}return _createClass$l(eo,[{key:"renderValidatorComponent",value:function(){var ro=this.props,no=ro.error;ro.errorMessages,ro.validators,ro.requiredError;var io=ro.helperText;ro.validatorListener,ro.withRequiredValidator,ro.containerProps;var oo=_objectWithoutProperties$g(ro,["error","errorMessages","validators","requiredError","helperText","validatorListener","withRequiredValidator","containerProps"]),ao=this.state.isValid;return _react2.default.createElement(_TextField2.default,_extends$1_({},oo,{error:!ao||no,helperText:!ao&&this.getErrorMessage()||io}))}}]),eo})(_reactFormValidatorCore$1.ValidatorComponent);TextValidator$2.default=TextValidator$1;var _reactFormValidatorCore=lib$2,_SelectValidator=SelectValidator$2,_SelectValidator2=_interopRequireDefault$E(_SelectValidator),_TextValidator=TextValidator$2,_TextValidator2=_interopRequireDefault$E(_TextValidator);function _interopRequireDefault$E(Yi){return Yi&&Yi.__esModule?Yi:{default:Yi}}var SelectValidator=_SelectValidator2.default,TextValidator=_TextValidator2.default,ValidatorForm=_reactFormValidatorCore.ValidatorForm,ExpandMore={},_interopRequireDefault$D=interopRequireDefaultExports;Object.defineProperty(ExpandMore,"__esModule",{value:!0});var default_1$y=ExpandMore.default=void 0,_createSvgIcon$y=_interopRequireDefault$D(requireCreateSvgIcon()),_jsxRuntime$y=jsxRuntimeExports;default_1$y=ExpandMore.default=(0,_createSvgIcon$y.default)((0,_jsxRuntime$y.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");var build_min={exports:{}};(function(Yi,eo){(function(to,ro){Yi.exports=ro()})(commonjsGlobal,function(){return(function(to){function ro(io){if(no[io])return no[io].exports;var oo=no[io]={exports:{},id:io,loaded:!1};return to[io].call(oo.exports,oo,oo.exports,ro),oo.loaded=!0,oo.exports}var no={};return ro.m=to,ro.c=no,ro.p="",ro(0)})([function(to,ro,no){function io(ho){return ho&&ho.__esModule?ho:{default:ho}}function oo(ho,mo){if(!(ho instanceof mo))throw new TypeError("Cannot call a class as a function")}function ao(ho,mo){if(!ho)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!mo||typeof mo!="object"&&typeof mo!="function"?ho:mo}function so(ho,mo){if(typeof mo!="function"&&mo!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof mo);ho.prototype=Object.create(mo&&mo.prototype,{constructor:{value:ho,enumerable:!1,writable:!0,configurable:!0}}),mo&&(Object.setPrototypeOf?Object.setPrototypeOf(ho,mo):ho.__proto__=mo)}Object.defineProperty(ro,"__esModule",{value:!0});var lo=(function(){function ho(mo,vo){for(var Co=0;Co<vo.length;Co++){var bo=vo[Co];bo.enumerable=bo.enumerable||!1,bo.configurable=!0,"value"in bo&&(bo.writable=!0),Object.defineProperty(mo,bo.key,bo)}}return function(mo,vo,Co){return vo&&ho(mo.prototype,vo),Co&&ho(mo,Co),mo}})(),co=no(36),uo=io(co),fo=(function(ho){function mo(vo){oo(this,mo);var Co=ao(this,(mo.__proto__||Object.getPrototypeOf(mo)).call(this,vo));return Co.state={files:[]},Co}return so(mo,ho),lo(mo,[{key:"handleChange",value:function(vo){for(var Co=this,bo=vo.target.files,wo=[],yo=function(){var xo=bo[Eo],So=new FileReader;So.readAsDataURL(xo),So.onload=function(){var To={name:xo.name,type:xo.type,size:Math.round(xo.size/1e3)+" kB",base64:So.result,file:xo};wo.push(To),wo.length==bo.length&&(Co.props.multiple?Co.props.onDone(wo):Co.props.onDone(wo[0]))}},Eo=0;
388Eo<bo.length;Eo++)yo()}},{key:"render",value:function(){return uo.default.createElement("input",{type:"file",onChange:this.handleChange.bind(this),multiple:this.props.multiple})}}]),mo})(uo.default.Component);ro.default=fo,fo.defaultProps={multiple:!1}},function(to,ro){function no(){throw new Error("setTimeout has not been defined")}function io(){throw new Error("clearTimeout has not been defined")}function oo(yo){if(fo===setTimeout)return setTimeout(yo,0);if((fo===no||!fo)&&setTimeout)return fo=setTimeout,setTimeout(yo,0);try{return fo(yo,0)}catch{try{return fo.call(null,yo,0)}catch{return fo.call(this,yo,0)}}}function ao(yo){if(ho===clearTimeout)return clearTimeout(yo);if((ho===io||!ho)&&clearTimeout)return ho=clearTimeout,clearTimeout(yo);try{return ho(yo)}catch{try{return ho.call(null,yo)}catch{return ho.call(this,yo)}}}function so(){bo&&vo&&(bo=!1,vo.length?Co=vo.concat(Co):wo=-1,Co.length&&lo())}function lo(){if(!bo){var yo=oo(so);bo=!0;for(var Eo=Co.length;Eo;){for(vo=Co,Co=[];++wo<Eo;)vo&&vo[wo].run();wo=-1,Eo=Co.length}vo=null,bo=!1,ao(yo)}}function co(yo,Eo){this.fun=yo,this.array=Eo}function uo(){}var fo,ho,mo=to.exports={};(function(){try{fo=typeof setTimeout=="function"?setTimeout:no}catch{fo=no}try{ho=typeof clearTimeout=="function"?clearTimeout:io}catch{ho=io}})();var vo,Co=[],bo=!1,wo=-1;mo.nextTick=function(yo){var Eo=new Array(arguments.length-1);if(arguments.length>1)for(var xo=1;xo<arguments.length;xo++)Eo[xo-1]=arguments[xo];Co.push(new co(yo,Eo)),Co.length!==1||bo||oo(lo)},co.prototype.run=function(){this.fun.apply(null,this.array)},mo.title="browser",mo.browser=!0,mo.env={},mo.argv=[],mo.version="",mo.versions={},mo.on=uo,mo.addListener=uo,mo.once=uo,mo.off=uo,mo.removeListener=uo,mo.removeAllListeners=uo,mo.emit=uo,mo.prependListener=uo,mo.prependOnceListener=uo,mo.listeners=function(yo){return[]},mo.binding=function(yo){throw new Error("process.binding is not supported")},mo.cwd=function(){return"/"},mo.chdir=function(yo){throw new Error("process.chdir is not supported")},mo.umask=function(){return 0}},function(to,ro,no){(function(io){function oo(so,lo,co,uo,fo,ho,mo,vo){if(ao(lo),!so){var Co;if(lo===void 0)Co=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var bo=[co,uo,fo,ho,mo,vo],wo=0;Co=new Error(lo.replace(/%s/g,function(){return bo[wo++]})),Co.name="Invariant Violation"}throw Co.framesToPop=1,Co}}var ao=function(so){};io.env.NODE_ENV!=="production"&&(ao=function(so){if(so===void 0)throw new Error("invariant requires an error message argument")}),to.exports=oo}).call(ro,no(1))},function(to,ro,no){(function(io){var oo=no(9),ao=oo;if(io.env.NODE_ENV!=="production"){var so=function(lo){for(var co=arguments.length,uo=Array(co>1?co-1:0),fo=1;fo<co;fo++)uo[fo-1]=arguments[fo];var ho=0,mo="Warning: "+lo.replace(/%s/g,function(){return uo[ho++]});typeof console<"u"&&console.error(mo);try{throw new Error(mo)}catch{}};ao=function(lo,co){if(co===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(co.indexOf("Failed Composite propType: ")!==0&&!lo){for(var uo=arguments.length,fo=Array(uo>2?uo-2:0),ho=2;ho<uo;ho++)fo[ho-2]=arguments[ho];so.apply(void 0,[co].concat(fo))}}}to.exports=ao}).call(ro,no(1))},function(to,ro,no){(function(io){function oo(Eo){if(io.env.NODE_ENV!=="production"&&Co.call(Eo,"ref")){var xo=Object.getOwnPropertyDescriptor(Eo,"ref").get;if(xo&&xo.isReactWarning)return!1}return Eo.ref!==void 0}function ao(Eo){if(io.env.NODE_ENV!=="production"&&Co.call(Eo,"key")){var xo=Object.getOwnPropertyDescriptor(Eo,"key").get;if(xo&&xo.isReactWarning)return!1}return Eo.key!==void 0}function so(Eo,xo){var So=function(){co||(co=!0,io.env.NODE_ENV!=="production"&&mo(!1,"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",xo))};So.isReactWarning=!0,Object.defineProperty(Eo,"key",{get:So,configurable:!0})}function lo(Eo,xo){var So=function(){uo||(uo=!0,io.env.NODE_ENV!=="production"&&mo(!1,"%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",xo))};So.isReactWarning=!0,Object.defineProperty(Eo,"ref",{get:So,configurable:!0})}var co,uo,fo=no(6),ho=no(7),mo=no(3),vo=no(8),Co=Object.prototype.hasOwnProperty,bo=no(15),wo={key:!0,ref:!0,__self:!0,__source:!0},yo=function(Eo,xo,So,To,Ro,Po,zo){var Ho={$$typeof:bo,type:Eo,key:xo,ref:So,props:zo,_owner:Po};return io.env.NODE_ENV!=="production"&&(Ho._store={},vo?(Object.defineProperty(Ho._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ho,"_self",{configurable:!1,enumerable:!1,writable:!1,value:To}
388),Object.defineProperty(Ho,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ro})):(Ho._store.validated=!1,Ho._self=To,Ho._source=Ro),Object.freeze&&(Object.freeze(Ho.props),Object.freeze(Ho))),Ho};yo.createElement=function(Eo,xo,So){var To,Ro={},Po=null,zo=null,Ho=null,Vo=null;if(xo!=null){oo(xo)&&(zo=xo.ref),ao(xo)&&(Po=""+xo.key),Ho=xo.__self===void 0?null:xo.__self,Vo=xo.__source===void 0?null:xo.__source;for(To in xo)Co.call(xo,To)&&!wo.hasOwnProperty(To)&&(Ro[To]=xo[To])}var Lo=arguments.length-2;if(Lo===1)Ro.children=So;else if(Lo>1){for(var Uo=Array(Lo),Do=0;Do<Lo;Do++)Uo[Do]=arguments[Do+2];io.env.NODE_ENV!=="production"&&Object.freeze&&Object.freeze(Uo),Ro.children=Uo}if(Eo&&Eo.defaultProps){var Oo=Eo.defaultProps;for(To in Oo)Ro[To]===void 0&&(Ro[To]=Oo[To])}if(io.env.NODE_ENV!=="production"&&(Po||zo)&&(typeof Ro.$$typeof>"u"||Ro.$$typeof!==bo)){var ko=typeof Eo=="function"?Eo.displayName||Eo.name||"Unknown":Eo;Po&&so(Ro,ko),zo&&lo(Ro,ko)}return yo(Eo,Po,zo,Ho,Vo,ho.current,Ro)},yo.createFactory=function(Eo){var xo=yo.createElement.bind(null,Eo);return xo.type=Eo,xo},yo.cloneAndReplaceKey=function(Eo,xo){var So=yo(Eo.type,xo,Eo.ref,Eo._self,Eo._source,Eo._owner,Eo.props);return So},yo.cloneElement=function(Eo,xo,So){var To,Ro=fo({},Eo.props),Po=Eo.key,zo=Eo.ref,Ho=Eo._self,Vo=Eo._source,Lo=Eo._owner;if(xo!=null){oo(xo)&&(zo=xo.ref,Lo=ho.current),ao(xo)&&(Po=""+xo.key);var Uo;Eo.type&&Eo.type.defaultProps&&(Uo=Eo.type.defaultProps);for(To in xo)Co.call(xo,To)&&!wo.hasOwnProperty(To)&&(xo[To]===void 0&&Uo!==void 0?Ro[To]=Uo[To]:Ro[To]=xo[To])}var Do=arguments.length-2;if(Do===1)Ro.children=So;else if(Do>1){for(var Oo=Array(Do),ko=0;ko<Do;ko++)Oo[ko]=arguments[ko+2];Ro.children=Oo}return yo(Eo.type,Po,zo,Ho,Vo,Lo,Ro)},yo.isValidElement=function(Eo){return typeof Eo=="object"&&Eo!==null&&Eo.$$typeof===bo},to.exports=yo}).call(ro,no(1))},function(to,ro){function no(io){for(var oo=arguments.length-1,ao="Minified React error #"+io+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+io,so=0;so<oo;so++)ao+="&args[]="+encodeURIComponent(arguments[so+1]);ao+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var lo=new Error(ao);throw lo.name="Invariant Violation",lo.framesToPop=1,lo}to.exports=no},function(to,ro){/*
389object-assign
390(c) Sindre Sorhus
391@license MIT
392*/function no(lo){if(lo==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(lo)}function io(){try{if(!Object.assign)return!1;var lo=new String("abc");if(lo[5]="de",Object.getOwnPropertyNames(lo)[0]==="5")return!1;for(var co={},uo=0;uo<10;uo++)co["_"+String.fromCharCode(uo)]=uo;var fo=Object.getOwnPropertyNames(co).map(function(mo){return co[mo]});if(fo.join("")!=="0123456789")return!1;var ho={};return"abcdefghijklmnopqrst".split("").forEach(function(mo){ho[mo]=mo}),Object.keys(Object.assign({},ho)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var oo=Object.getOwnPropertySymbols,ao=Object.prototype.hasOwnProperty,so=Object.prototype.propertyIsEnumerable;to.exports=io()?Object.assign:function(lo,co){for(var uo,fo,ho=no(lo),mo=1;mo<arguments.length;mo++){uo=Object(arguments[mo]);for(var vo in uo)ao.call(uo,vo)&&(ho[vo]=uo[vo]);if(oo){fo=oo(uo);for(var Co=0;Co<fo.length;Co++)so.call(uo,fo[Co])&&(ho[fo[Co]]=uo[fo[Co]])}}return ho}},function(to,ro){var no={current:null};to.exports=no},function(to,ro,no){(function(io){var oo=!1;if(io.env.NODE_ENV!=="production")try{Object.defineProperty({},"x",{get:function(){}}),oo=!0}catch{}to.exports=oo}).call(ro,no(1))},function(to,ro){function no(oo){return function(){return oo}}var io=function(){};io.thatReturns=no,io.thatReturnsFalse=no(!1),io.thatReturnsTrue=no(!0),io.thatReturnsNull=no(null),io.thatReturnsThis=function(){return this},io.thatReturnsArgument=function(oo){return oo},to.exports=io},function(to,ro,no){(function(io){function oo(Do){var Oo=Function.prototype.toString,ko=Object.prototype.hasOwnProperty,Bo=RegExp("^"+Oo.call(ko).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var Fo=Oo.call(Do);return Bo.test(Fo)}catch{return!1}}function ao(Do){var Oo=fo(Do);if(Oo){var ko=Oo.childIDs;ho(Do),ko.forEach(ao)}}function so(Do,Oo,ko){return`
393    in `+(Do||"Unknown")+(Oo?" (at "+Oo.fileName.replace(/^.*[\\\/]/,"")+":"+Oo.lineNumber+")":ko?" (created by "+ko+")":"")}function lo(Do){return Do==null?"#empty":typeof Do=="string"||typeof Do=="number"?"#text":typeof Do.type=="string"?Do.type:Do.type.displayName||Do.type.name||"Unknown"}function co(Do){var Oo,ko=Uo.getDisplayName(Do),Bo=Uo.getElement(Do),Fo=Uo.getOwnerID(Do);return Fo&&(Oo=Uo.getDisplayName(Fo)),io.env.NODE_ENV!=="production"&&xo(Bo,"ReactComponentTreeHook: Missing React element for debugID %s when building stack",Do),so(ko,Bo&&Bo._source,Oo)}var uo,fo,ho,mo,vo,Co,bo,wo=no(5),yo=no(7),Eo=no(2),xo=no(3),So=typeof Array.from=="function"&&typeof Map=="function"&&oo(Map)&&Map.prototype!=null&&typeof Map.prototype.keys=="function"&&oo(Map.prototype.keys)&&typeof Set=="function"&&oo(Set)&&Set.prototype!=null&&typeof Set.prototype.keys=="function"&&oo(Set.prototype.keys);if(So){var To=new Map,Ro=new Set;uo=function(Do,Oo){To.set(Do,Oo)},fo=function(Do){return To.get(Do)},ho=function(Do){To.delete(Do)},mo=function(){return Array.from(To.keys())},vo=function(Do){Ro.add(Do)},Co=function(Do){Ro.delete(Do)},bo=function(){return Array.from(Ro.keys())}}else{var Po={},zo={},Ho=function(Do){return"."+Do},Vo=function(Do){return parseInt(Do.substr(1),10)};uo=function(Do,Oo){var ko=Ho(Do);Po[ko]=Oo},fo=function(Do){var Oo=Ho(Do);return Po[Oo]},ho=function(Do){var Oo=Ho(Do);delete Po[Oo]},mo=function(){return Object.keys(Po).map(Vo)},vo=function(Do){var Oo=Ho(Do);zo[Oo]=!0},Co=function(Do){var Oo=Ho(Do);delete zo[Oo]},bo=function(){return Object.keys(zo).map(Vo)}}var Lo=[],Uo={onSetChildren:function(Do,Oo){var ko=fo(Do);ko||(io.env.NODE_ENV!=="production"?Eo(!1,"Item must have been set"):wo("144")),ko.childIDs=Oo;for(var Bo=0;Bo<Oo.length;Bo++){var Fo=Oo[Bo],Qo=fo(Fo);Qo||(io.env.NODE_ENV!=="production"?Eo(!1,"Expected hook events to fire for the child before its parent includes it in onSetChildren()."):wo("140")),Qo.childIDs==null&&typeof Qo.element=="object"&&Qo.element!=null&&(io.env.NODE_ENV!=="production"?Eo(!1,"Expected onSetChildren() to fire for a container child before its parent includes it in onSetChildren()."):wo("141")),Qo.isMounted||(io.env.NODE_ENV!=="production"?Eo(!1,"Expected onMountComponent() to fire for the child before its parent includes it in onSetChildren()."):wo("71")),Qo.parentID==null&&(Qo.parentID=Do),Qo.parentID!==Do&&(io.env.NODE_ENV!=="production"?Eo(!1,"Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (%s has parents %s and %s).",Fo,Qo.parentID,Do):wo("142",Fo,Qo.parentID,Do))}},onBeforeMountComponent:function(Do,Oo,ko){var Bo={element:Oo,parentID:ko,text:null,childIDs:[],isMounted:!1,updateCount:0};uo(Do,Bo)},onBeforeUpdateComponent:function(Do,Oo){var ko=fo(Do);ko&&ko.isMounted&&(ko.element=Oo)},onMountComponent:function(Do){var Oo=fo(Do);Oo||(io.env.NODE_ENV!=="production"?Eo(!1,"Item must have been set"):wo("144")),Oo.isMounted=!0;var ko=Oo.parentID===0;ko&&vo(Do)},onUpdateComponent:function(Do){var Oo=fo(Do);Oo&&Oo.isMounted&&Oo.updateCount++},onUnmountComponent:function(Do){var Oo=fo(Do);if(Oo){Oo.isMounted=!1;var ko=Oo.parentID===0;ko&&Co(Do)}Lo.push(Do)},purgeUnmountedComponents:function(){if(!Uo._preventPurging){for(var Do=0;Do<Lo.length;Do++){var Oo=Lo[Do];ao(Oo)}Lo.length=0}},isMounted:function(Do){var Oo=fo(Do);return!!Oo&&Oo.isMounted},getCurrentStackAddendum:function(Do){var Oo="";if(Do){var ko=lo(Do),Bo=Do._owner;Oo+=so(ko,Do._source,Bo&&Bo.getName())}var Fo=yo.current,Qo=Fo&&Fo._debugID;return Oo+=Uo.getStackAddendumByID(Qo)},getStackAddendumByID:function(Do){for(var Oo="";Do;)Oo+=co(Do),Do=Uo.getParentID(Do);return Oo},getChildIDs:function(Do){var Oo=fo(Do);return Oo?Oo.childIDs:[]},getDisplayName:function(Do){var Oo=Uo.getElement(Do);return Oo?lo(Oo):null},getElement:function(Do){var Oo=fo(Do);return Oo?Oo.element:null},getOwnerID:function(Do){var Oo=Uo.getElement(Do);return Oo&&Oo._owner?Oo._owner._debugID:null},getParentID:function(Do){var Oo=fo(Do);return Oo?Oo.parentID:null},getSource:function(Do){var Oo=fo(Do),ko=Oo?Oo.element:null,Bo=ko!=null?ko._source:null;return Bo},getText:function(Do){var Oo=Uo.getElement(Do);return typeof Oo=="string"?Oo:typeof Oo=="number"?""+Oo:null},getUpdateCount:function(Do){var Oo=fo(Do);return Oo?Oo.updateCount:0},getRootIDs:bo,getRegisteredIDs:mo,pushNonStandardWarningStack:function(Do,Oo){if(typeof console.reactStack=="function"){var ko=[],Bo=yo.current,Fo=Bo&&Bo._debugID;try{for(Do&&ko.push({name:Fo?Uo.getDisplayName(Fo):null,fileName:Oo?Oo.fileName:null,lineNumber:Oo?Oo.lineNumber:null});Fo;){var Qo=Uo.getElement(Fo),jo=Uo.getParentID(Fo),Xo=Uo.getOwnerID(Fo),Zo=Xo?Uo.getDisplayName(Xo):null,Wo=Qo&&Qo._source;ko.push({name:Zo,fileName:Wo?Wo.fileName:null,lineNumber:Wo?Wo.lineNumber:null}),Fo=jo}}catch{}console.reactStack(ko)}},popNonStandardWarningStack:function(){typeof console.reactStackEnd=="function"&&console.reactStackEnd()}};to.exports=Uo}).call(ro,no(1))},function(to,ro,no){(function(io){var oo=function(){};if(io.env.NODE_ENV!=="production"){var ao=function(so){for(var lo=arguments.length,co=Array(lo>1?lo-1:0),uo=1;uo<lo;uo++)co[uo-1]=arguments[uo];var fo=0,ho="Warning: "+so.replace(/%s/g,function(){return co[fo++]});typeof console<"u"&&console.warn(ho);try{throw new Error(ho)}catch{}};oo=function(so,lo){if(lo===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");
393if(!so){for(var co=arguments.length,uo=Array(co>2?co-2:0),fo=2;fo<co;fo++)uo[fo-2]=arguments[fo];ao.apply(void 0,[lo].concat(uo))}}}to.exports=oo}).call(ro,no(1))},function(to,ro,no){(function(io){var oo={};io.env.NODE_ENV!=="production"&&Object.freeze(oo),to.exports=oo}).call(ro,no(1))},function(to,ro){var no="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";to.exports=no},function(to,ro,no){(function(io){function oo(yo,Eo,xo){this.props=yo,this.context=Eo,this.refs=ho,this.updater=xo||uo}function ao(yo,Eo,xo){this.props=yo,this.context=Eo,this.refs=ho,this.updater=xo||uo}function so(){}var lo=no(5),co=no(6),uo=no(17),fo=no(8),ho=no(12),mo=no(2),vo=no(11);if(oo.prototype.isReactComponent={},oo.prototype.setState=function(yo,Eo){typeof yo!="object"&&typeof yo!="function"&&yo!=null&&(io.env.NODE_ENV!=="production"?mo(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."):lo("85")),this.updater.enqueueSetState(this,yo),Eo&&this.updater.enqueueCallback(this,Eo,"setState")},oo.prototype.forceUpdate=function(yo){this.updater.enqueueForceUpdate(this),yo&&this.updater.enqueueCallback(this,yo,"forceUpdate")},io.env.NODE_ENV!=="production"){var Co={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},bo=function(yo,Eo){fo&&Object.defineProperty(oo.prototype,yo,{get:function(){vo(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",Eo[0],Eo[1])}})};for(var wo in Co)Co.hasOwnProperty(wo)&&bo(wo,Co[wo])}so.prototype=oo.prototype,ao.prototype=new so,ao.prototype.constructor=ao,co(ao.prototype,oo.prototype),ao.prototype.isPureReactComponent=!0,to.exports={Component:oo,PureComponent:ao}}).call(ro,no(1))},function(to,ro){var no=typeof Symbol=="function"&&Symbol.for&&Symbol.for("react.element")||60103;to.exports=no},function(to,ro,no){(function(io){function oo(){if(fo.current){var So=fo.current.getName();if(So)return" Check the render method of `"+So+"`."}return""}function ao(So){if(So!=null&&So.__source!==void 0){var To=So.__source,Ro=To.fileName.replace(/^.*[\\\/]/,""),Po=To.lineNumber;return" Check your code at "+Ro+":"+Po+"."}return""}function so(So){var To=oo();if(!To){var Ro=typeof So=="string"?So:So.displayName||So.name;Ro&&(To=" Check the top-level render call using <"+Ro+">.")}return To}function lo(So,To){if(So._store&&!So._store.validated&&So.key==null){So._store.validated=!0;var Ro=Eo.uniqueKey||(Eo.uniqueKey={}),Po=so(To);if(!Ro[Po]){Ro[Po]=!0;var zo="";So&&So._owner&&So._owner!==fo.current&&(zo=" It was passed a child from "+So._owner.getName()+"."),io.env.NODE_ENV!=="production"&&wo(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.%s',Po,zo,ho.getCurrentStackAddendum(So))}}}function co(So,To){if(typeof So=="object"){if(Array.isArray(So))for(var Ro=0;Ro<So.length;Ro++){var Po=So[Ro];mo.isValidElement(Po)&&lo(Po,To)}else if(mo.isValidElement(So))So._store&&(So._store.validated=!0);else if(So){var zo=bo(So);if(zo&&zo!==So.entries)for(var Ho,Vo=zo.call(So);!(Ho=Vo.next()).done;)mo.isValidElement(Ho.value)&&lo(Ho.value,To)}}}function uo(So){var To=So.type;if(typeof To=="function"){var Ro=To.displayName||To.name;To.propTypes&&vo(To.propTypes,So.props,"prop",Ro,So,null),typeof To.getDefaultProps=="function"&&(io.env.NODE_ENV!=="production"&&wo(To.getDefaultProps.isReactClassApproved,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."))}}var fo=no(7),ho=no(10),mo=no(4),vo=no(32),Co=no(8),bo=no(18),wo=no(3),yo=no(11),Eo={},xo={createElement:function(So,To,Ro){var Po=typeof So=="string"||typeof So=="function";if(!Po&&typeof So!="function"&&typeof So!="string"){var zo="";(So===void 0||typeof So=="object"&&So!==null&&Object.keys(So).length===0)&&(zo+=" You likely forgot to export your component from the file it's defined in.");var Ho=ao(To);zo+=Ho||oo(),zo+=ho.getCurrentStackAddendum();var Vo=To!=null&&To.__source!==void 0?To.__source:null;ho.pushNonStandardWarningStack(!0,Vo),io.env.NODE_ENV!=="production"&&wo(!1,"React.createElement: type is invali
393d -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",So==null?So:typeof So,zo),ho.popNonStandardWarningStack()}var Lo=mo.createElement.apply(this,arguments);if(Lo==null)return Lo;if(Po)for(var Uo=2;Uo<arguments.length;Uo++)co(arguments[Uo],So);return uo(Lo),Lo},createFactory:function(So){var To=xo.createElement.bind(null,So);return To.type=So,io.env.NODE_ENV!=="production"&&Co&&Object.defineProperty(To,"type",{enumerable:!1,get:function(){return yo(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:So}),So}}),To},cloneElement:function(So,To,Ro){for(var Po=mo.cloneElement.apply(this,arguments),zo=2;zo<arguments.length;zo++)co(arguments[zo],Po.type);return uo(Po),Po}};to.exports=xo}).call(ro,no(1))},function(to,ro,no){(function(io){function oo(lo,co){if(io.env.NODE_ENV!=="production"){var uo=lo.constructor;io.env.NODE_ENV!=="production"&&ao(!1,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op. Please check the code for the %s component.",co,co,uo&&(uo.displayName||uo.name)||"ReactClass")}}var ao=no(3),so={isMounted:function(lo){return!1},enqueueCallback:function(lo,co){},enqueueForceUpdate:function(lo){oo(lo,"forceUpdate")},enqueueReplaceState:function(lo,co){oo(lo,"replaceState")},enqueueSetState:function(lo,co){oo(lo,"setState")}};to.exports=so}).call(ro,no(1))},function(to,ro){function no(ao){var so=ao&&(io&&ao[io]||ao[oo]);if(typeof so=="function")return so}var io=typeof Symbol=="function"&&Symbol.iterator,oo="@@iterator";to.exports=no},function(to,ro,no){(function(io){function oo(mo){return mo}function ao(mo,vo,Co){function bo(Bo,Fo,Qo){for(var jo in Fo)Fo.hasOwnProperty(jo)&&io.env.NODE_ENV!=="production"&&uo(typeof Fo[jo]=="function","%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",Bo.displayName||"ReactClass",fo[Qo],jo)}function wo(Bo,Fo){var Qo=Vo.hasOwnProperty(Fo)?Vo[Fo]:null;Oo.hasOwnProperty(Fo)&&co(Qo==="OVERRIDE_BASE","ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",Fo),Bo&&co(Qo==="DEFINE_MANY"||Qo==="DEFINE_MANY_MERGED","ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",Fo)}function yo(Bo,Fo){if(Fo){co(typeof Fo!="function","ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),co(!vo(Fo),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var Qo=Bo.prototype,jo=Qo.__reactAutoBindPairs;Fo.hasOwnProperty(ho)&&Lo.mixins(Bo,Fo.mixins);for(var Xo in Fo)if(Fo.hasOwnProperty(Xo)&&Xo!==ho){var Zo=Fo[Xo],Wo=Qo.hasOwnProperty(Xo);if(wo(Wo,Xo),Lo.hasOwnProperty(Xo))Lo[Xo](Bo,Zo);else{var ta=Vo.hasOwnProperty(Xo),ra=typeof Zo=="function",da=ra&&!ta&&!Wo&&Fo.autobind!==!1;if(da)jo.push(Xo,Zo),Qo[Xo]=Zo;else if(Wo){var pa=Vo[Xo];co(ta&&(pa==="DEFINE_MANY_MERGED"||pa==="DEFINE_MANY"),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",pa,Xo),pa==="DEFINE_MANY_MERGED"?Qo[Xo]=So(Qo[Xo],Zo):pa==="DEFINE_MANY"&&(Qo[Xo]=To(Qo[Xo],Zo))}else Qo[Xo]=Zo,io.env.NODE_ENV!=="production"&&typeof Zo=="function"&&Fo.displayName&&(Qo[Xo].displayName=Fo.displayName+"_"+Xo)}}}else if(io.env.NODE_ENV!=="production"){var sa=typeof Fo,ya=sa==="object"&&Fo!==null;io.env.NODE_ENV!=="production"&&uo(ya,"%s: You're attempting to include a mixin that is either null or not an object. Check the mixins included by the component, as well as any mixins they include themselves. Expected object but got %s.",Bo.displayName||"ReactClass",Fo===null?null:sa)}}function Eo(Bo,Fo){if(Fo)for(var Qo in Fo){var jo=Fo[Qo];if(Fo.hasOwnProperty(Qo)){var Xo=Qo in Lo;co(!Xo,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',Qo);var Zo=Qo in Bo;co(!Zo,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",Qo),Bo[Qo]=jo}}}function xo(Bo,Fo){co(Bo&&Fo&&typeof Bo=="object"&&typeof Fo=="object","mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");
393for(var Qo in Fo)Fo.hasOwnProperty(Qo)&&(co(Bo[Qo]===void 0,"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",Qo),Bo[Qo]=Fo[Qo]);return Bo}function So(Bo,Fo){return function(){var Qo=Bo.apply(this,arguments),jo=Fo.apply(this,arguments);if(Qo==null)return jo;if(jo==null)return Qo;var Xo={};return xo(Xo,Qo),xo(Xo,jo),Xo}}function To(Bo,Fo){return function(){Bo.apply(this,arguments),Fo.apply(this,arguments)}}function Ro(Bo,Fo){var Qo=Fo.bind(Bo);if(io.env.NODE_ENV!=="production"){Qo.__reactBoundContext=Bo,Qo.__reactBoundMethod=Fo,Qo.__reactBoundArguments=null;var jo=Bo.constructor.displayName,Xo=Qo.bind;Qo.bind=function(Zo){for(var Wo=arguments.length,ta=Array(Wo>1?Wo-1:0),ra=1;ra<Wo;ra++)ta[ra-1]=arguments[ra];if(Zo!==Bo&&Zo!==null)io.env.NODE_ENV!=="production"&&uo(!1,"bind(): React component methods may only be bound to the component instance. See %s",jo);else if(!ta.length)return io.env.NODE_ENV!=="production"&&uo(!1,"bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See %s",jo),Qo;var da=Xo.apply(Qo,arguments);return da.__reactBoundContext=Bo,da.__reactBoundMethod=Fo,da.__reactBoundArguments=ta,da}}return Qo}function Po(Bo){for(var Fo=Bo.__reactAutoBindPairs,Qo=0;Qo<Fo.length;Qo+=2){var jo=Fo[Qo],Xo=Fo[Qo+1];Bo[jo]=Ro(Bo,Xo)}}function zo(Bo){var Fo=function(jo,Xo,Zo){io.env.NODE_ENV!=="production"&&uo(this instanceof Fo,"Something is calling a React component directly. Use a factory or JSX instead. See: https://fb.me/react-legacyfactory"),this.__reactAutoBindPairs.length&&Po(this),this.props=jo,this.context=Xo,this.refs=lo,this.updater=Zo||Co,this.state=null;var Wo=this.getInitialState?this.getInitialState():null;io.env.NODE_ENV!=="production"&&Wo===void 0&&this.getInitialState._isMockFunction&&(Wo=null),co(typeof Wo=="object"&&!Array.isArray(Wo),"%s.getInitialState(): must return an object or null",Fo.displayName||"ReactCompositeComponent"),this.state=Wo};Fo.prototype=new ko,Fo.prototype.constructor=Fo,Fo.prototype.__reactAutoBindPairs=[],Ho.forEach(yo.bind(null,Fo)),yo(Fo,Uo),yo(Fo,Bo),yo(Fo,Do),Fo.getDefaultProps&&(Fo.defaultProps=Fo.getDefaultProps()),io.env.NODE_ENV!=="production"&&(Fo.getDefaultProps&&(Fo.getDefaultProps.isReactClassApproved={}),Fo.prototype.getInitialState&&(Fo.prototype.getInitialState.isReactClassApproved={})),co(Fo.prototype.render,"createClass(...): Class specification must implement a `render` method."),io.env.NODE_ENV!=="production"&&(uo(!Fo.prototype.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",Bo.displayName||"A component"),uo(!Fo.prototype.componentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",Bo.displayName||"A component"));for(var Qo in Vo)Fo.prototype[Qo]||(Fo.prototype[Qo]=null);return Fo}var Ho=[],Vo={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},Lo={displayName:function(Bo,Fo){Bo.displayName=Fo},mixins:function(Bo,Fo){if(Fo)for(var Qo=0;Qo<Fo.length;Qo++)yo(Bo,Fo[Qo])},childContextTypes:function(Bo,Fo){io.env.NODE_ENV!=="production"&&bo(Bo,Fo,"childContext"),Bo.childContextTypes=so({},Bo.childContextTypes,Fo)},contextTypes:function(Bo,Fo){io.env.NODE_ENV!=="production"&&bo(Bo,Fo,"context"),Bo.contextTypes=so({},Bo.contextTypes,Fo)},getDefaultProps:function(Bo,Fo){Bo.getDefaultProps?Bo.getDefaultProps=So(Bo.getDefaultProps,Fo):Bo.getDefaultProps=Fo},propTypes:function(Bo,Fo){io.env.NODE_ENV!=="production"&&bo(Bo,Fo,"prop"),Bo.propTypes=so({},Bo.propTypes,Fo)},statics:function(Bo,Fo){Eo(Bo,Fo)},autobind:function(){}},Uo={componentDidMount:function(){this.__isMounted=!0}},Do={componentWillUnmount:function(){this.__isMounted=!1}},Oo={replaceState:function(Bo,Fo){this.updater.enqueueReplaceState(this,Bo,Fo)},isMounted:function(){return io.env.NODE_ENV!=="production"&&(uo(this.__didWarnIsMounted,"%s: isMounted is deprecated. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.",this.constructor&&this.constructor.displayName||this.name||"Component"),this.__didWarnIsMounted=!0),!!this.__isMounted}},ko=function(){};return so(ko.prototype,mo.prototype,Oo),zo}var so=no(6),lo=no(12),co=no(2);if(io.env.NODE_ENV!=="production")var uo=no(3);var fo,ho="mixins";fo=io.env.NODE_ENV!=="production"?{prop:"prop",context:"context",childContext:"child context"}:{},to.exports=ao}).call(ro,no(1))},function(to,ro,no){(function(io){function oo(uo,fo,ho,mo,vo){if(io.env.NODE_ENV!=="production"){for(var Co in uo)if(uo.hasOwnProperty(Co)){var bo;
vendor: 3,443 bytes, line 393
393try{ao(typeof uo[Co]=="function","%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",mo||"React class",ho,Co),bo=uo[Co](fo,Co,mo,ho,null,lo)}catch(yo){bo=yo}if(so(!bo||bo instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",mo||"React class",ho,Co,typeof bo),bo instanceof Error&&!(bo.message in co)){co[bo.message]=!0;var wo=vo?vo():"";so(!1,"Failed %s type: %s%s",ho,bo.message,wo??"")}}}}if(io.env.NODE_ENV!=="production")var ao=no(2),so=no(3),lo=no(13),co={};to.exports=oo}).call(ro,no(1))},function(to,ro,no){var io=no(22);to.exports=function(oo){var ao=!1;return io(oo,ao)}},function(to,ro,no){(function(io){var oo=no(9),ao=no(2),so=no(3),lo=no(13),co=no(20);to.exports=function(uo,fo){function ho(jo){var Xo=jo&&(ko&&jo[ko]||jo[Bo]);if(typeof Xo=="function")return Xo}function mo(jo,Xo){return jo===Xo?jo!==0||1/jo===1/Xo:jo!==jo&&Xo!==Xo}function vo(jo){this.message=jo,this.stack=""}function Co(jo){function Xo(ra,da,pa,sa,ya,na,ea){if(sa=sa||Fo,na=na||pa,ea!==lo){if(fo)ao(!1,"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");else if(io.env.NODE_ENV!=="production"&&typeof console<"u"){var oa=sa+":"+pa;!Zo[oa]&&Wo<3&&(so(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",na,sa),Zo[oa]=!0,Wo++)}}return da[pa]==null?ra?new vo(da[pa]===null?"The "+ya+" `"+na+"` is marked as required "+("in `"+sa+"`, but its value is `null`."):"The "+ya+" `"+na+"` is marked as required in "+("`"+sa+"`, but its value is `undefined`.")):null:jo(da,pa,sa,ya,na)}if(io.env.NODE_ENV!=="production")var Zo={},Wo=0;var ta=Xo.bind(null,!1);return ta.isRequired=Xo.bind(null,!0),ta}function bo(jo){function Xo(Zo,Wo,ta,ra,da,pa){var sa=Zo[Wo],ya=Lo(sa);if(ya!==jo){var na=Uo(sa);return new vo("Invalid "+ra+" `"+da+"` of type "+("`"+na+"` supplied to `"+ta+"`, expected ")+("`"+jo+"`."))}return null}return Co(Xo)}function wo(){return Co(oo.thatReturnsNull)}function yo(jo){function Xo(Zo,Wo,ta,ra,da){if(typeof jo!="function")return new vo("Property `"+da+"` of component `"+ta+"` has invalid PropType notation inside arrayOf.");var pa=Zo[Wo];if(!Array.isArray(pa)){var sa=Lo(pa);return new vo("Invalid "+ra+" `"+da+"` of type "+("`"+sa+"` supplied to `"+ta+"`, expected an array."))}for(var ya=0;ya<pa.length;ya++){var na=jo(pa,ya,ta,ra,da+"["+ya+"]",lo);if(na instanceof Error)return na}return null}return Co(Xo)}function Eo(){function jo(Xo,Zo,Wo,ta,ra){var da=Xo[Zo];if(!uo(da)){var pa=Lo(da);return new vo("Invalid "+ta+" `"+ra+"` of type "+("`"+pa+"` supplied to `"+Wo+"`, expected a single ReactElement."))}return null}return Co(jo)}function xo(jo){function Xo(Zo,Wo,ta,ra,da){if(!(Zo[Wo]instanceof jo)){var pa=jo.name||Fo,sa=Oo(Zo[Wo]);return new vo("Invalid "+ra+" `"+da+"` of type "+("`"+sa+"` supplied to `"+ta+"`, expected ")+("instance of `"+pa+"`."))}return null}return Co(Xo)}
393function So(jo){function Xo(Zo,Wo,ta,ra,da){for(var pa=Zo[Wo],sa=0;sa<jo.length;sa++)if(mo(pa,jo[sa]))return null;var ya=JSON.stringify(jo);return new vo("Invalid "+ra+" `"+da+"` of value `"+pa+"` "+("supplied to `"+ta+"`, expected one of "+ya+"."))}return Array.isArray(jo)?Co(Xo):(io.env.NODE_ENV!=="production"&&so(!1,"Invalid argument supplied to oneOf, expected an instance of array."),oo.thatReturnsNull)}function To(jo){function Xo(Zo,Wo,ta,ra,da){if(typeof jo!="function")return new vo("Property `"+da+"` of component `"+ta+"` has invalid PropType notation inside objectOf.");var pa=Zo[Wo],sa=Lo(pa);if(sa!=="object")return new vo("Invalid "+ra+" `"+da+"` of type "+("`"+sa+"` supplied to `"+ta+"`, expected an object."));for(var ya in pa)if(pa.hasOwnProperty(ya)){var na=jo(pa,ya,ta,ra,da+"."+ya,lo);if(na instanceof Error)return na}return null}return Co(Xo)}function Ro(jo){function Xo(ta,ra,da,pa,sa){for(var ya=0;ya<jo.length;ya++){var na=jo[ya];if(na(ta,ra,da,pa,sa,lo)==null)return null}return new vo("Invalid "+pa+" `"+sa+"` supplied to "+("`"+da+"`."))}if(!Array.isArray(jo))return io.env.NODE_ENV!=="production"&&so(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),oo.thatReturnsNull;for(var Zo=0;Zo<jo.length;Zo++){var Wo=jo[Zo];if(typeof Wo!="function")return so(!1,"Invalid argument supplid to oneOfType. Expected an array of check functions, but received %s at index %s.",Do(Wo),Zo),oo.thatReturnsNull}return Co(Xo)}function Po(){function jo(Xo,Zo,Wo,ta,ra){return Ho(Xo[Zo])?null:new vo("Invalid "+ta+" `"+ra+"` supplied to "+("`"+Wo+"`, expected a ReactNode."))}return Co(jo)}function zo(jo){function Xo(Zo,Wo,ta,ra,da){var pa=Zo[Wo],sa=Lo(pa);if(sa!=="object")return new vo("Invalid "+ra+" `"+da+"` of type `"+sa+"` "+("supplied to `"+ta+"`, expected `object`."));for(var ya in jo){var na=jo[ya];if(na){var ea=na(pa,ya,ta,ra,da+"."+ya,lo);if(ea)return ea}}return null}return Co(Xo)}function Ho(jo){switch(typeof jo){case"number":case"string":case"undefined":return!0;case"boolean":return!jo;case"object":if(Array.isArray(jo))return jo.every(Ho);if(jo===null||uo(jo))return!0;var Xo=ho(jo);if(!Xo)return!1;var Zo,Wo=Xo.call(jo);if(Xo!==jo.entries){for(;!(Zo=Wo.next()).done;)if(!Ho(Zo.value))return!1}else for(;!(Zo=Wo.next()).done;){var ta=Zo.value;if(ta&&!Ho(ta[1]))return!1}return!0;default:return!1}}function Vo(jo,Xo){return jo==="symbol"||Xo["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&Xo instanceof Symbol}function Lo(jo){var Xo=typeof jo;return Array.isArray(jo)?"array":jo instanceof RegExp?"object":Vo(Xo,jo)?"symbol":Xo}function Uo(jo){if(typeof jo>"u"||jo===null)return""+jo;var Xo=Lo(jo);if(Xo==="object"){if(jo instanceof Date)return"date";if(jo instanceof RegExp)return"regexp"}return Xo}function Do(jo){var Xo=Uo(jo);switch(Xo){case"array":case"object":return"an "+Xo;case"boolean":case"date":case"regexp":return"a "+Xo;default:return Xo}}function Oo(jo){return jo.constructor&&jo.constructor.name?jo.constructor.name:Fo}var ko=typeof Symbol=="function"&&Symbol.iterator,Bo="@@iterator",Fo="<<anonymous>>",Qo={array:bo("array"),bool:bo("boolean"),func:bo("function"),number:bo("number"),object:bo("object"),string:bo("string"),symbol:bo("symbol"),any:wo(),arrayOf:yo,element:Eo(),instanceOf:xo,node:Po(),objectOf:To,oneOf:So,oneOfType:Ro,shape:zo};return vo.prototype=Error.prototype,Qo.checkPropTypes=co,Qo.PropTypes=Qo,Qo}}).call(ro,no(1))},function(to,ro){function no(ao){var so=/[=:]/g,lo={"=":"=0",":":"=2"},co=(""+ao).replace(so,function(uo){return lo[uo]});return"$"+co}function io(ao){var so=/(=0|=2)/g,lo={"=0":"=","=2":":"},co=ao[0]==="."&&ao[1]==="$"?ao.substring(2):ao.substring(1);return(""+co).replace(so,function(uo){return lo[uo]})}var oo={escape:no,unescape:io};to.exports=oo},function(to,ro,no){(function(io){var oo=no(5),ao=no(2),so=function(bo){var wo=this;if(wo.instancePool.length){var yo=wo.instancePool.pop();return wo.call(yo,bo),yo}return new wo(bo)},lo=function(bo,wo){var yo=this;if(yo.instancePool.length){var Eo=yo.instancePool.pop();return yo.call(Eo,bo,wo),Eo}return new yo(bo,wo)},co=function(bo,wo,yo){var Eo=this;if(Eo.instancePool.length){var xo=Eo.instancePool.pop();return Eo.call(xo,bo,wo,yo),xo}return new Eo(bo,wo,yo)},uo=function(bo,wo,yo,Eo){var xo=this;if(xo.instancePool.length){var So=xo.instancePool.pop();return xo.call(So,bo,wo,yo,Eo),So}return new xo(bo,wo,yo,Eo)},fo=function(bo){var wo=this;bo instanceof wo||(io.env.NODE_ENV!=="production"?ao(!1,"Trying to release an instance into a pool of a different type."):oo("25")),bo.destructor(),wo.instancePool.length<wo.poolSize&&wo.instancePool.push(bo)},ho=10,mo=so,vo=function(bo,wo){var yo=bo;return yo.instancePool=[],yo.getPooled=wo||mo,yo.poolSize||(yo.poolSize=ho),yo.release=fo,yo},Co={addPoolingTo:vo,oneArgumentPooler:so,twoArgumentPooler:lo,threeArgumentPooler:co,fourArgumentPooler:uo};to.exports=Co}).call(ro,no(1))},function(to,ro,no){(function(io){var oo=no(6),ao=no(14),so=no(26),lo=no(27),co=no(4),uo=no(29),fo=no(31),ho=no(33),mo=no(34),vo=co.createElement,Co=co.createFactory,bo=co.cloneElement;if(io.env.NODE_ENV!=="production"){var wo=no(11),yo=no(8),Eo=no(16),xo=!1;vo=Eo.createElement,Co=Eo.createFactory,bo=Eo.cloneElement}var So=oo,To=function(Lo){return Lo};if(io.env.NODE_ENV!=="production"){var Ro=!1,Po=!1;So=function(){return wo(Ro,"React.__spread is deprecated and should not be used. Use Object.assign directly or another helper function with similar semantics. You may be seeing this warning due to your compiler. See https://fb.me/react-spread-deprecation for more details."),Ro=!0,oo.apply(null,arguments)},To=function(Lo){return wo(Po,"React.createMixin is deprecated and should not be used. In React v16.0, it will be removed. You can use this mixin directly instead. See https://fb.me/createmixin-was-never-implemented for more info."),Po=!0,Lo}}
393var zo={Children:{map:so.map,forEach:so.forEach,count:so.count,toArray:so.toArray,only:mo},Component:ao.Component,PureComponent:ao.PureComponent,createElement:vo,cloneElement:bo,isValidElement:co.isValidElement,PropTypes:uo,createClass:ho,createFactory:Co,createMixin:To,DOM:lo,version:fo,__spread:So};if(io.env.NODE_ENV!=="production"){var Ho=!1;yo&&(Object.defineProperty(zo,"PropTypes",{get:function(){return wo(xo,"Accessing PropTypes via the main React package is deprecated, and will be removed in  React v16.0. Use the latest available v15.* prop-types package from npm instead. For info on usage, compatibility, migration and more, see https://fb.me/prop-types-docs"),xo=!0,uo}}),Object.defineProperty(zo,"createClass",{get:function(){return wo(Ho,"Accessing createClass via the main React package is deprecated, and will be removed in React v16.0. Use a plain JavaScript class instead. If you're not yet ready to migrate, create-react-class v15.* is available on npm as a temporary, drop-in replacement. For more info see https://fb.me/react-create-class"),Ho=!0,ho}})),zo.DOM={};var Vo=!1;Object.keys(lo).forEach(function(Lo){zo.DOM[Lo]=function(){return Vo||(wo(!1,"Accessing factories like React.DOM.%s has been deprecated and will be removed in v16.0+. Use the react-dom-factories package instead.  Version 1.0 provides a drop-in replacement. For more info, see https://fb.me/react-dom-factories",Lo),Vo=!0),lo[Lo].apply(lo,arguments)}})}to.exports=zo}).call(ro,no(1))},function(to,ro,no){function io(Ro){return(""+Ro).replace(So,"$&/")}function oo(Ro,Po){this.func=Ro,this.context=Po,this.count=0}function ao(Ro,Po,zo){var Ho=Ro.func,Vo=Ro.context;Ho.call(Vo,Po,Ro.count++)}function so(Ro,Po,zo){if(Ro==null)return Ro;var Ho=oo.getPooled(Po,zo);yo(Ro,ao,Ho),oo.release(Ho)}function lo(Ro,Po,zo,Ho){this.result=Ro,this.keyPrefix=Po,this.func=zo,this.context=Ho,this.count=0}function co(Ro,Po,zo){var Ho=Ro.result,Vo=Ro.keyPrefix,Lo=Ro.func,Uo=Ro.context,Do=Lo.call(Uo,Po,Ro.count++);Array.isArray(Do)?uo(Do,Ho,zo,wo.thatReturnsArgument):Do!=null&&(bo.isValidElement(Do)&&
393(Do=bo.cloneAndReplaceKey(Do,Vo+(!Do.key||Po&&Po.key===Do.key?"":io(Do.key)+"/")+zo)),Ho.push(Do))}function uo(Ro,Po,zo,Ho,Vo){var Lo="";zo!=null&&(Lo=io(zo)+"/");var Uo=lo.getPooled(Po,Lo,Ho,Vo);yo(Ro,co,Uo),lo.release(Uo)}function fo(Ro,Po,zo){if(Ro==null)return Ro;var Ho=[];return uo(Ro,Ho,null,Po,zo),Ho}function ho(Ro,Po,zo){return null}function mo(Ro,Po){return yo(Ro,ho,null)}function vo(Ro){var Po=[];return uo(Ro,Po,null,wo.thatReturnsArgument),Po}var Co=no(24),bo=no(4),wo=no(9),yo=no(35),Eo=Co.twoArgumentPooler,xo=Co.fourArgumentPooler,So=/\/+/g;oo.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},Co.addPoolingTo(oo,Eo),lo.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},Co.addPoolingTo(lo,xo);var To={forEach:so,map:fo,mapIntoWithKeyPrefixInternal:uo,count:mo,toArray:vo};to.exports=To},function(to,ro,no){(function(io){var oo=no(4),ao=oo.createFactory;if(io.env.NODE_ENV!=="production"){var so=no(16);ao=so.createFactory}var lo={a:ao("a"),abbr:ao("abbr"),address:ao("address"),area:ao("area"),article:ao("article"),aside:ao("aside"),audio:ao("audio"),b:ao("b"),base:ao("base"),bdi:ao("bdi"),bdo:ao("bdo"),big:ao("big"),blockquote:ao("blockquote"),body:ao("body"),br:ao("br"),button:ao("button"),canvas:ao("canvas"),caption:ao("caption"),cite:ao("cite"),code:ao("code"),col:ao("col"),colgroup:ao("colgroup"),data:ao("data"),datalist:ao("datalist"),dd:ao("dd"),del:ao("del"),details:ao("details"),dfn:ao("dfn"),dialog:ao("dialog"),div:ao("div"),dl:ao("dl"),dt:ao("dt"),em:ao("em"),embed:ao("embed"),fieldset:ao("fieldset"),figcaption:ao("figcaption"),figure:ao("figure"),footer:ao("footer"),form:ao("form"),h1:ao("h1"),h2:ao("h2"),h3:ao("h3"),h4:ao("h4"),h5:ao("h5"),h6:ao("h6"),head:ao("head"),header:ao("header"),hgroup:ao("hgroup"),hr:ao("hr"),html:ao("html"),i:ao("i"),iframe:ao("iframe"),img:ao("img"),input:ao("input"),ins:ao("ins"),kbd:ao("kbd"),keygen:ao("keygen"),label:ao("label"),legend:ao("legend"),li:ao("li"),link:ao("link"),main:ao("main"),map:ao("map"),mark:ao("mark"),menu:ao("menu"),menuitem:ao("menuitem"),meta:ao("meta"),meter:ao("meter"),nav:ao("nav"),noscript:ao("noscript"),object:ao("object"),ol:ao("ol"),optgroup:ao("optgroup"),option:ao("option"),output:ao("output"),p:ao("p"),param:ao("param"),picture:ao("picture"),pre:ao("pre"),progress:ao("progress"),q:ao("q"),rp:ao("rp"),rt:ao("rt"),ruby:ao("ruby"),s:ao("s"),samp:ao("samp"),script:ao("script"),section:ao("section"),select:ao("select"),small:ao("small"),source:ao("source"),span:ao("span"),strong:ao("strong"),style:ao("style"),sub:ao("sub"),summary:ao("summary"),sup:ao("sup"),table:ao("table"),tbody:ao("tbody"),td:ao("td"),textarea:ao("textarea"),tfoot:ao("tfoot"),th:ao("th"),thead:ao("thead"),time:ao("time"),title:ao("title"),tr:ao("tr"),track:ao("track"),u:ao("u"),ul:ao("ul"),var:ao("var"),video:ao("video"),wbr:ao("wbr"),circle:ao("circle"),clipPath:ao("clipPath"),defs:ao("defs"),ellipse:ao("ellipse"),g:ao("g"),image:ao("image"),line:ao("line"),linearGradient:ao("linearGradient"),mask:ao("mask"),path:ao("path"),pattern:ao("pattern"),polygon:ao("polygon"),polyline:ao("polyline"),radialGradient:ao("radialGradient"),rect:ao("rect"),stop:ao("stop"),svg:ao("svg"),text:ao("text"),tspan:ao("tspan")};to.exports=lo}).call(ro,no(1))},function(to,ro,no){(function(io){var oo={};io.env.NODE_ENV!=="production"&&(oo={prop:"prop",context:"context",childContext:"child context"}),to.exports=oo}).call(ro,no(1))},function(to,ro,no){var io=no(4),oo=io.isValidElement,ao=no(21);to.exports=ao(oo)},function(to,ro){var no="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";to.exports=no},function(to,ro){to.exports="15.6.1"},function(to,ro,no){(function(io){function oo(mo,vo,Co,bo,wo,yo){for(var Eo in mo)if(mo.hasOwnProperty(Eo)){var xo;try{typeof mo[Eo]!="function"&&(io.env.NODE_ENV!=="production"?uo(!1,"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",bo||"React class",lo[Co],Eo):so("84",bo||"React class",lo[Co],Eo)),xo=mo[Eo](vo,Eo,bo,Co,null,co)}catch(To){xo=To}if(io.env.NODE_ENV!=="production"&&fo(!xo||xo instanceof Error,"%s: type specification of %s `%s` is invali
393d; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",bo||"React class",lo[Co],Eo,typeof xo),xo instanceof Error&&!(xo.message in ho)){ho[xo.message]=!0;var So="";io.env.NODE_ENV!=="production"&&(ao||(ao=no(10)),yo!==null?So=ao.getStackAddendumByID(yo):wo!==null&&(So=ao.getCurrentStackAddendum(wo))),io.env.NODE_ENV!=="production"&&fo(!1,"Failed %s type: %s%s",Co,xo.message,So)}}}var ao,so=no(5),lo=no(28),co=no(30),uo=no(2),fo=no(3);typeof io<"u"&&io.env&&io.env.NODE_ENV==="test"&&(ao=no(10));var ho={};to.exports=oo}).call(ro,no(1))},function(to,ro,no){var io=no(14),oo=io.Component,ao=no(4),so=ao.isValidElement,lo=no(17),co=no(19);to.exports=co(oo,so,lo)},function(to,ro,no){(function(io){function oo(co){return so.isValidElement(co)||(io.env.NODE_ENV!=="production"?lo(!1,"React.Children.only expected to receive a single React element child."):ao("143")),co}var ao=no(5),so=no(4),lo=no(2);to.exports=oo}).call(ro,no(1))},function(to,ro,no){(function(io){function oo(yo,Eo){return yo&&typeof yo=="object"&&yo.key!=null?mo.escape(yo.key):Eo.toString(36)}function ao(yo,Eo,xo,So){var To=typeof yo;if(To!=="undefined"&&To!=="boolean"||(yo=null),yo===null||To==="string"||To==="number"||To==="object"&&yo.$$typeof===uo)return xo(So,yo,Eo===""?Co+oo(yo,0):Eo),1;var Ro,Po,zo=0,Ho=Eo===""?Co:Eo+bo;if(Array.isArray(yo))for(var Vo=0;Vo<yo.length;Vo++)Ro=yo[Vo],Po=Ho+oo(Ro,Vo),zo+=ao(Ro,Po,xo,So);else{var Lo=fo(yo);if(Lo){var Uo,Do=Lo.call(yo);if(Lo!==yo.entries)for(var Oo=0;!(Uo=Do.next()).done;)Ro=Uo.value,Po=Ho+oo(Ro,Oo++),zo+=ao(Ro,Po,xo,So);else{if(io.env.NODE_ENV!=="production"){var ko="";if(co.current){var Bo=co.current.getName();Bo&&(ko=" Check the render method of `"+Bo+"`.")}io.env.NODE_ENV!=="production"&&vo(wo,"Using Maps as children is not yet fully supported. It is an experimental feature that might be removed. Convert it to a sequence / iterable of keyed ReactElements instead.%s",ko),wo=!0}for(;!(Uo=Do.next()).done;){var Fo=Uo.value;Fo&&(Ro=Fo[1],Po=Ho+mo.escape(Fo[0])+bo+oo(Ro,0),zo+=ao(Ro,Po,xo,So))}}}else if(To==="object"){var Qo="";if(io.env.NODE_ENV!=="production"&&(Qo=" If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons.",yo._isReactElement&&(Qo=" It looks like you're using an element created by a different version of React. Make sure to use only one copy of React."),co.current)){var jo=co.current.getName();jo&&(Qo+=" Check the render method of `"+jo+"`.")}var Xo=String(yo);io.env.NODE_ENV!=="production"?ho(!1,"Objects are not valid as a React child (found: %s).%s",Xo==="[object Object]"?"object with keys {"+Object.keys(yo).join(", ")+"}":Xo,Qo):lo("31",Xo==="[object Object]"?"object with keys {"+Object.keys(yo).join(", ")+"}":Xo,Qo)}}return zo}function so(yo,Eo,xo){return yo==null?0:ao(yo,"",Eo,xo)}var lo=no(5),co=no(7),uo=no(15),fo=no(18),ho=no(2),mo=no(23),vo=no(3),Co=".",bo=":",wo=!1;to.exports=so}).call(ro,no(1))},function(to,ro,no){to.exports=no(25)}])})})(build_min);var build_minExports=build_min.exports;const FileBase64=getDefaultExportFromCjs(build_minExports);function _interopDefault$1x(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1w=_interopDefault$1x(reactExports),_extends$1Z=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1w=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},FileUploadIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1w(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1w.createElement("svg",_extends$1Z({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1w.createElement("path",{d:"M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M13.5,16V19H10.5V16H8L12,12L16,16H13.5M13,9V3.5L18.5,9H13Z"}))},FileUploadIcon$1=React$1w.memo?React$1w.memo(FileUploadIcon):FileUploadIcon,FileUploadIcon_1=FileUploadIcon$1;const FileUploadIcon$2=getDefaultExportFromCjs(FileUploadIcon_1);function _interopDefault$1w(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1v=_interopDefault$1w(reactExports),_extends$1Y=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1v=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},TwitterIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1v(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1v.createElement("svg",_extends$1Y({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1v.createElement("path",{d:"M22.46,6C21.69,6.35 20.86,6.58 20,6.69C20.88,6.16 21.56,5.32 21.88,4.31C21.05,4.81 20.13,5.16 19.16,5.36C18.37,4.5 17.26,4 16,4C13.65,4 11.73,5.92 11.73,8.29C11.73,8.63 11.77,8.96 11.84,9.27C8.28,9.09 5.11,7.38 3,4.79C2.63,5.42 2.42,6.16 2.42,6.94C2.42,8.43 3.17,9.75 4.33,10.5C3.62,10.5 2.96,10.3 2.38,10C2.38,10 2.38,10 2.38,10.03C2.38,12.11 3.86,13.85 5.82,14.24C5.46,14.34 5.08,14.39 4.69,14.39C4.42,14.39 4.15,14.36 3.89,14.31C4.43,16 6,17.26 7.89,17.29C6.43,18.45 4.58,19.13 2.56,19.13C2.22,19.13 1.88,19.11 1.54,19.07C3.44,20.29 5.7,21 8.12,21C16,21 20.33,14.46 20.33,8.79C20.33,8.6 20.33,8.42 20.32,8.23C21.16,7.63 21.88,6.87 22.46,6Z"}))},TwitterIcon$1=React$1v.memo?React$1v.memo(TwitterIcon):TwitterIcon,TwitterIcon_1=TwitterIcon$1;const TwitterIcon$2=getDefaultExportFromCjs(TwitterIcon_1);function _interopDefault$1v(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1u=_interopDefault$1v(reactExports),_extends$1X=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1u=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},FacebookIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1u(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1u.createElement("svg",_extends$1X({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1u.createElement("path",{d:"M12 2.04C6.5 2.04 2 6.53 2 12.06C2 17.06 5.66 21.21 10.44 21.96V14.96H7.9V12.06H10.44V9.85C10.44 7.34 11.93 5.96 14.22 5.96C15.31 5.96 16.45 6.15 16.45 6.15V8.62H15.19C13.95 8.62 13.56 9.39 13.56 10.18V12.06H16.34L15.89 14.96H13.56V21.96A10 10 0 0 0 22 12.06C22 6.53 17.5 2.04 12 2.04Z"}))},FacebookIcon$1=React$1u.memo?React$1u.memo(FacebookIcon):FacebookIcon,FacebookIcon_1=FacebookIcon$1;const FacebookIcon$2=getDefaultExportFromCjs(FacebookIcon_1);function _interopDefault$1u(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1t=_interopDefault$1u(reactExports),_extends$1W=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1t=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},InstagramIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1t(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1t.createElement("svg",_extends$1W({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1t.createElement("path",{d:"M7.8,2H16.2C19.4,2 22,4.6 22,7.8V16.2A5.8,5.8 0 0,1 16.2,22H7.8C4.6,22 2,19.4 2,16.2V7.8A5.8,5.8 0 0,1 7.8,2M7.6,4A3.6,3.6 0 0,0 4,7.6V16.4C4,18.39 5.61,20 7.6,20H16.4A3.6,3.6 0 0,0 20,16.4V7.6C20,5.61 18.39,4 16.4,4H7.6M17.25,5.5A1.25,1.25 0 0,1 18.5,6.75A1.25,1.25 0 0,1 17.25,8A1.25,1.25 0 0,1 16,6.75A1.25,1.25 0 0,1 17.25,5.5M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z"}))},InstagramIcon$1=React$1t.memo?React$1t.memo(InstagramIcon):InstagramIcon,InstagramIcon_1=InstagramIcon$1;const InstagramIcon$2=getDefaultExportFromCjs(InstagramIcon_1);function _interopDefault$1t(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1s=_interopDefault$1t(reactExports),_extends$1V=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1s=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},CreditCardIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1s(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1s.createElement("svg",_extends$1V({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1s.createElement("path",{d:"M20 4H4A2 2 0 0 0 2 6V18A2 2 0 0 0 4 20H20A2 2 0 0 0 22 18V6A2 2 0 0 0 20 4M20 11H4V8H20Z"}))},CreditCardIcon$1=React$1s.memo?React$1s.memo(CreditCardIcon):CreditCardIcon,CreditCardIcon_1=CreditCardIcon$1;const CreditCardIcon$2=getDefaultExportFromCjs(CreditCardIcon_1);var qrCodeStyling={exports:{}};(function(Yi,eo){(function(to,ro){Yi.exports=ro()})(self,(function(){return(()=>{var to={192:(io,oo)=>{var ao,so,lo=(function(){var co=function(Lo,Uo){var Do=Lo,Oo=Co[Uo],ko=null,Bo=0,Fo=null,Qo=[],jo={},Xo=function(na,ea){ko=(function(oa){for(var la=new Array(oa),_a=0;_a<oa;_a+=1){la[_a]=new Array(oa);for(var Ea=0;
vendor: 4,737 bytes, line 393
393Ea<oa;Ea+=1)la[_a][Ea]=null}return la})(Bo=4*Do+17),Zo(0,0),Zo(Bo-7,0),Zo(0,Bo-7),ta(),Wo(),da(na,ea),Do>=7&&ra(na),Fo==null&&(Fo=sa(Do,Oo,Qo)),pa(Fo,ea)},Zo=function(na,ea){for(var oa=-1;oa<=7;oa+=1)if(!(na+oa<=-1||Bo<=na+oa))for(var la=-1;la<=7;la+=1)ea+la<=-1||Bo<=ea+la||(ko[na+oa][ea+la]=0<=oa&&oa<=6&&(la==0||la==6)||0<=la&&la<=6&&(oa==0||oa==6)||2<=oa&&oa<=4&&2<=la&&la<=4)},Wo=function(){for(var na=8;na<Bo-8;na+=1)ko[na][6]==null&&(ko[na][6]=na%2==0);for(var ea=8;ea<Bo-8;ea+=1)ko[6][ea]==null&&(ko[6][ea]=ea%2==0)},ta=function(){for(var na=bo.getPatternPosition(Do),ea=0;ea<na.length;ea+=1)for(var oa=0;oa<na.length;oa+=1){var la=na[ea],_a=na[oa];if(ko[la][_a]==null)for(var Ea=-2;Ea<=2;Ea+=1)for(var Pa=-2;Pa<=2;Pa+=1)ko[la+Ea][_a+Pa]=Ea==-2||Ea==2||Pa==-2||Pa==2||Ea==0&&Pa==0}},ra=function(na){for(var ea=bo.getBCHTypeNumber(Do),oa=0;oa<18;oa+=1){var la=!na&&(ea>>oa&1)==1;ko[Math.floor(oa/3)][oa%3+Bo-8-3]=la}for(oa=0;oa<18;oa+=1)la=!na&&(ea>>oa&1)==1,ko[oa%3+Bo-8-3][Math.floor(oa/3)]=la},da=function(na,ea){for(var oa=Oo<<3|ea,la=bo.getBCHTypeInfo(oa),_a=0;_a<15;_a+=1){var Ea=!na&&(la>>_a&1)==1;_a<6?ko[_a][8]=Ea:_a<8?ko[_a+1][8]=Ea:ko[Bo-15+_a][8]=Ea}for(_a=0;_a<15;_a+=1)Ea=!na&&(la>>_a&1)==1,_a<8?ko[8][Bo-_a-1]=Ea:_a<9?ko[8][15-_a-1+1]=Ea:ko[8][15-_a-1]=Ea;ko[Bo-8][8]=!na},pa=function(na,ea){for(var oa=-1,la=Bo-1,_a=7,Ea=0,Pa=bo.getMaskFunction(ea),aa=Bo-1;aa>0;aa-=2)for(aa==6&&(aa-=1);;){for(var Ca=0;Ca<2;Ca+=1)if(ko[la][aa-Ca]==null){var Sa=!1;Ea<na.length&&(Sa=(na[Ea]>>>_a&1)==1),Pa(la,aa-Ca)&&(Sa=!Sa),ko[la][aa-Ca]=Sa,(_a-=1)==-1&&(Ea+=1,_a=7)}if((la+=oa)<0||Bo<=la){la-=oa,oa=-oa;break}}},sa=function(na,ea,oa){for(var la=Eo.getRSBlocks(na,ea),_a=xo(),Ea=0;Ea<oa.length;Ea+=1){var Pa=oa[Ea];_a.put(Pa.getMode(),4),_a.put(Pa.getLength(),bo.getLengthInBits(Pa.getMode(),na)),Pa.write(_a)}var aa=0;for(Ea=0;Ea<la.length;Ea+=1)aa+=la[Ea].dataCount;if(_a.getLengthInBits()>8*aa)throw"code length overflow. ("+_a.getLengthInBits()+">"+8*aa+")";for(_a.getLengthInBits()+4<=8*aa&&_a.put(0,4);_a.getLengthInBits()%8!=0;)_a.putBit(!1);for(;!(_a.getLengthInBits()>=8*aa||(_a.put(236,8),_a.getLengthInBits()>=8*aa));)_a.put(17,8);return(function(Ca,Sa){for(var Ia=0,Ta=0,va=0,xa=new Array(Sa.length),Oa=new Array(Sa.length),Da=0;Da<Sa.length;Da+=1){var ia=Sa[Da].dataCount,Ko=Sa[Da].totalCount-ia;Ta=Math.max(Ta,ia),va=Math.max(va,Ko),xa[Da]=new Array(ia);for(var Yo=0;Yo<xa[Da].length;Yo+=1)xa[Da][Yo]=255&Ca.getBuffer()[Yo+Ia];Ia+=ia;var ma=bo.getErrorCorrectPolynomial(Ko),ga=yo(xa[Da],ma.getLength()-1).mod(ma);for(Oa[Da]=new Array(ma.getLength()-1),Yo=0;Yo<Oa[Da].length;Yo+=1){var Fa=Yo+ga.getLength()-Oa[Da].length;Oa[Da][Yo]=Fa>=0?ga.getAt(Fa):0}}var ja=0;for(Yo=0;Yo<Sa.length;Yo+=1)ja+=Sa[Yo].totalCount;var Ga=new Array(ja),Va=0;for(Yo=0;Yo<Ta;Yo+=1)for(Da=0;Da<Sa.length;Da+=1)Yo<xa[Da].length&&(Ga[Va]=xa[Da][Yo],Va+=1);for(Yo=0;Yo<va;Yo+=1)for(Da=0;Da<Sa.length;Da+=1)Yo<Oa[Da].length&&(Ga[Va]=Oa[Da][Yo],Va+=1);return Ga})(_a,la)};jo.addData=function(na,ea){var oa=null;switch(ea=ea||"Byte"){case"Numeric":oa=So(na);break;case"Alphanumeric":oa=To(na);break;case"Byte":oa=Ro(na);break;case"Kanji":oa=Po(na);break;default:throw"mode:"+ea}Qo.push(oa),Fo=null},jo.isDark=function(na,ea){if(na<0||Bo<=na||ea<0||Bo<=ea)throw na+","+ea;return ko[na][ea]},jo.getModuleCount=function(){return Bo},jo.make=function(){if(Do<1){for(var na=1;na<40;na++){for(var ea=Eo.getRSBlocks(na,Oo),oa=xo(),la=0;la<Qo.length;la++){var _a=Qo[la];oa.put(_a.getMode(),4),oa.put(_a.getLength(),bo.getLengthInBits(_a.getMode(),na)),_a.write(oa)}var Ea=0;for(la=0;la<ea.length;la++)Ea+=ea[la].dataCount;if(oa.getLengthInBits()<=8*Ea)break}Do=na}Xo(!1,(function(){for(var Pa=0,aa=0,Ca=0;Ca<8;Ca+=1){Xo(!0,Ca);var Sa=bo.getLostPoint(jo);(Ca==0||Pa>Sa)&&(Pa=Sa,aa=Ca)}return aa})())},jo.createTableTag=function(na,ea){na=na||2;var oa="";oa+='<table style="',oa+=" border-width: 0px; border-style: none;",oa+=" border-collapse: collapse;",oa+=" padding: 0px; margin: "+(ea=ea===void 0?4*na:ea)+"px;",oa+='">',oa+="<tbody>";for(var la=0;la<jo.getModuleCount();la+=1){oa+="<tr>";for(var _a=0;_a<jo.getModuleCount();_a+=1)oa+='<td style="',oa+=" border-width: 0px; border-style: none;",oa+=" border-collapse: collapse;",oa+=" padding: 0px; margin: 0px;",oa+=" width: "+na+"px;",oa+=" height: "+na+"px;",oa+=" background-color: ",oa+=jo.isDark(la,_a)?"#000000":"#ffffff",oa+=";",oa+='"/>';oa+="</tr>"}return(oa+="</tbody>")+"</table>"},jo.createSvgTag=function(na,ea,oa,la){var _a={};typeof arguments[0]=="object"&&(na=(_a=arguments[0]).cellSize,ea=_a.margin,oa=_a.alt,la=_a.title),na=na||2,ea=ea===void 0?4*na:ea,(oa=typeof oa=="string"?{text:oa}:oa||{}).text=oa.text||null,oa.id=oa.text?oa.id||"qrcode-description":null,(la=typeof la=="str
393ing"?{text:la}:la||{}).text=la.text||null,la.id=la.text?la.id||"qrcode-title":null;var Ea,Pa,aa,Ca,Sa=jo.getModuleCount()*na+2*ea,Ia="";for(Ca="l"+na+",0 0,"+na+" -"+na+",0 0,-"+na+"z ",Ia+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',Ia+=_a.scalable?"":' width="'+Sa+'px" height="'+Sa+'px"',Ia+=' viewBox="0 0 '+Sa+" "+Sa+'" ',Ia+=' preserveAspectRatio="xMinYMin meet"',Ia+=la.text||oa.text?' role="img" aria-labelledby="'+ya([la.id,oa.id].join(" ").trim())+'"':"",Ia+=">",Ia+=la.text?'<title id="'+ya(la.id)+'">'+ya(la.text)+"</title>":"",Ia+=oa.text?'<description id="'+ya(oa.id)+'">'+ya(oa.text)+"</description>":"",Ia+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',Ia+='<path d="',Pa=0;Pa<jo.getModuleCount();Pa+=1)for(aa=Pa*na+ea,Ea=0;Ea<jo.getModuleCount();Ea+=1)jo.isDark(Pa,Ea)&&(Ia+="M"+(Ea*na+ea)+","+aa+Ca);return(Ia+='" stroke="transparent" fill="black"/>')+"</svg>"},jo.createDataURL=function(na,ea){na=na||2,ea=ea===void 0?4*na:ea;var oa=jo.getModuleCount()*na+2*ea,la=ea,_a=oa-ea;return Vo(oa,oa,(function(Ea,Pa){if(la<=Ea&&Ea<_a&&la<=Pa&&Pa<_a){var aa=Math.floor((Ea-la)/na),Ca=Math.floor((Pa-la)/na);return jo.isDark(Ca,aa)?0:1}return 1}))},jo.createImgTag=function(na,ea,oa){na=na||2,ea=ea===void 0?4*na:ea;var la=jo.getModuleCount()*na+2*ea,_a="";return _a+="<img",_a+=' src="',_a+=jo.createDataURL(na,ea),_a+='"',_a+=' width="',_a+=la,_a+='"',_a+=' height="',_a+=la,_a+='"',oa&&(_a+=' alt="',_a+=ya(oa),_a+='"'),_a+"/>"};var ya=function(na){for(var ea="",oa=0;oa<na.length;oa+=1){var la=na.charAt(oa);switch(la){case"<":ea+="&lt;";break;case">":ea+="&gt;";break;case"&":ea+="&amp;";break;case'"':ea+="&quot;";break;default:ea+=la}}return ea};return jo.createASCII=function(na,ea){if((na=na||1)<2)return(function(xa){xa=xa===void 0?2:xa;var Oa,Da,ia,Ko,Yo,ma=1*jo.getModuleCount()+2*xa,ga=xa,Fa=ma-xa,ja={"██":"█","█ ":"▀"," █":"▄","  ":" "},Ga={"██":"▀","█ ":"▀"," █":" ","  ":" "},Va="";for(Oa=0;Oa<ma;Oa+=2){for(ia=Math.floor((Oa-ga)/1),Ko=Math.floor((Oa+1-ga)/1),Da=0;Da<ma;Da+=1)Yo="█",ga<=Da&&Da<Fa&&ga<=Oa&&Oa<Fa&&jo.isDark(ia,Math.floor((Da-ga)/1))&&(Yo=" "),ga<=Da&&Da<Fa&&ga<=Oa+1&&Oa+1<Fa&&jo.isDark(Ko,Math.floor((Da-ga)/1))?Yo+=" ":Yo+="█",Va+=xa<1&&Oa+1>=Fa?Ga[Yo]:ja[Yo];Va+=`
394`}return ma%2&&xa>0?Va.substring(0,Va.length-ma-1)+Array(ma+1).join("▀"):Va.substring(0,Va.length-1)})(ea);na-=1,ea=ea===void 0?2*na:ea;var oa,la,_a,Ea,Pa=jo.getModuleCount()*na+2*ea,aa=ea,Ca=Pa-ea,Sa=Array(na+1).join("██"),Ia=Array(na+1).join("  "),Ta="",va="";for(oa=0;oa<Pa;oa+=1){for(_a=Math.floor((oa-aa)/na),va="",la=0;la<Pa;la+=1)Ea=1,aa<=la&&la<Ca&&aa<=oa&&oa<Ca&&jo.isDark(_a,Math.floor((la-aa)/na))&&(Ea=0),va+=Ea?Sa:Ia;for(_a=0;_a<na;_a+=1)Ta+=va+`
395`}return Ta.substring(0,Ta.length-1)},jo.renderTo2dContext=function(na,ea){ea=ea||2;for(var oa=jo.getModuleCount(),la=0;la<oa;la++)for(var _a=0;_a<oa;_a++)na.fillStyle=jo.isDark(la,_a)?"black":"white",na.fillRect(la*ea,_a*ea,ea,ea)},jo};co.stringToBytes=(co.stringToBytesFuncs={default:function(Lo){for(var Uo=[],Do=0;Do<Lo.length;Do+=1){var Oo=Lo.charCodeAt(Do);Uo.push(255&Oo)}return Uo}}).default,co.createStringToBytes=function(Lo,Uo){var Do=(function(){for(var ko=Ho(Lo),Bo=function(){var Wo=ko.read();if(Wo==-1)throw"eof";return Wo},Fo=0,Qo={};;){var jo=ko.read();if(jo==-1)break;var Xo=Bo(),Zo=Bo()<<8|Bo();Qo[String.fromCharCode(jo<<8|Xo)]=Zo,Fo+=1}if(Fo!=Uo)throw Fo+" != "+Uo;return Qo})(),Oo=63;return function(ko){for(var Bo=[],Fo=0;Fo<ko.length;Fo+=1){var Qo=ko.charCodeAt(Fo);if(Qo<128)Bo.push(Qo);else{var jo=Do[ko.charAt(Fo)];typeof jo=="number"?(255&jo)==jo?Bo.push(jo):(Bo.push(jo>>>8),Bo.push(255&jo)):Bo.push(Oo)}}return Bo}};var uo,fo,ho,mo,vo,Co={L:1,M:0,Q:3,H:2},bo=(uo=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],fo=1335,ho=7973,vo=function(Lo){for(var Uo=0;Lo!=0;)Uo+=1,Lo>>>=1;return Uo},(mo={}).getBCHTypeInfo=function(Lo){for(var Uo=Lo<<10;vo(Uo)-vo(fo)>=0;)Uo^=fo<<vo(Uo)-vo(fo);return 21522^(Lo<<10|Uo)},mo.getBCHTypeNumber=function(Lo){for(var Uo=Lo<<12;
vendor: 13,525 bytes, line 395
395vo(Uo)-vo(ho)>=0;)Uo^=ho<<vo(Uo)-vo(ho);return Lo<<12|Uo},mo.getPatternPosition=function(Lo){return uo[Lo-1]},mo.getMaskFunction=function(Lo){switch(Lo){case 0:return function(Uo,Do){return(Uo+Do)%2==0};case 1:return function(Uo,Do){return Uo%2==0};case 2:return function(Uo,Do){return Do%3==0};case 3:return function(Uo,Do){return(Uo+Do)%3==0};case 4:return function(Uo,Do){return(Math.floor(Uo/2)+Math.floor(Do/3))%2==0};case 5:return function(Uo,Do){return Uo*Do%2+Uo*Do%3==0};case 6:return function(Uo,Do){return(Uo*Do%2+Uo*Do%3)%2==0};case 7:return function(Uo,Do){return(Uo*Do%3+(Uo+Do)%2)%2==0};default:throw"bad maskPattern:"+Lo}},mo.getErrorCorrectPolynomial=function(Lo){for(var Uo=yo([1],0),Do=0;Do<Lo;Do+=1)Uo=Uo.multiply(yo([1,wo.gexp(Do)],0));return Uo},mo.getLengthInBits=function(Lo,Uo){if(1<=Uo&&Uo<10)switch(Lo){case 1:return 10;case 2:return 9;case 4:case 8:return 8;default:throw"mode:"+Lo}else if(Uo<27)switch(Lo){case 1:return 12;case 2:return 11;case 4:return 16;case 8:return 10;default:throw"mode:"+Lo}else{if(!(Uo<41))throw"type:"+Uo;switch(Lo){case 1:return 14;case 2:return 13;case 4:return 16;case 8:return 12;default:throw"mode:"+Lo}}},mo.getLostPoint=function(Lo){for(var Uo=Lo.getModuleCount(),Do=0,Oo=0;Oo<Uo;Oo+=1)for(var ko=0;ko<Uo;ko+=1){for(var Bo=0,Fo=Lo.isDark(Oo,ko),Qo=-1;Qo<=1;Qo+=1)if(!(Oo+Qo<0||Uo<=Oo+Qo))for(var jo=-1;jo<=1;jo+=1)ko+jo<0||Uo<=ko+jo||Qo==0&&jo==0||Fo==Lo.isDark(Oo+Qo,ko+jo)&&(Bo+=1);Bo>5&&(Do+=3+Bo-5)}for(Oo=0;Oo<Uo-1;Oo+=1)for(ko=0;ko<Uo-1;ko+=1){var Xo=0;Lo.isDark(Oo,ko)&&(Xo+=1),Lo.isDark(Oo+1,ko)&&(Xo+=1),Lo.isDark(Oo,ko+1)&&(Xo+=1),Lo.isDark(Oo+1,ko+1)&&(Xo+=1),Xo!=0&&Xo!=4||(Do+=3)}for(Oo=0;Oo<Uo;Oo+=1)for(ko=0;ko<Uo-6;ko+=1)Lo.isDark(Oo,ko)&&!Lo.isDark(Oo,ko+1)&&Lo.isDark(Oo,ko+2)&&Lo.isDark(Oo,ko+3)&&Lo.isDark(Oo,ko+4)&&!Lo.isDark(Oo,ko+5)&&Lo.isDark(Oo,ko+6)&&(Do+=40);for(ko=0;ko<Uo;ko+=1)for(Oo=0;Oo<Uo-6;Oo+=1)Lo.isDark(Oo,ko)&&!Lo.isDark(Oo+1,ko)&&Lo.isDark(Oo+2,ko)&&Lo.isDark(Oo+3,ko)&&Lo.isDark(Oo+4,ko)&&!Lo.isDark(Oo+5,ko)&&Lo.isDark(Oo+6,ko)&&(Do+=40);var Zo=0;for(ko=0;ko<Uo;ko+=1)for(Oo=0;Oo<Uo;Oo+=1)Lo.isDark(Oo,ko)&&(Zo+=1);return Do+Math.abs(100*Zo/Uo/Uo-50)/5*10},mo),wo=(function(){for(var Lo=new Array(256),Uo=new Array(256),Do=0;Do<8;Do+=1)Lo[Do]=1<<Do;for(Do=8;Do<256;Do+=1)Lo[Do]=Lo[Do-4]^Lo[Do-5]^Lo[Do-6]^Lo[Do-8];for(Do=0;Do<255;Do+=1)Uo[Lo[Do]]=Do;return{glog:function(Oo){if(Oo<1)throw"glog("+Oo+")";return Uo[Oo]},gexp:function(Oo){for(;Oo<0;)Oo+=255;for(;Oo>=256;)Oo-=255;return Lo[Oo]}}})();function yo(Lo,Uo){if(Lo.length===void 0)throw Lo.length+"/"+Uo;var Do=(function(){for(var ko=0;ko<Lo.length&&Lo[ko]==0;)ko+=1;for(var Bo=new Array(Lo.length-ko+Uo),Fo=0;Fo<Lo.length-ko;Fo+=1)Bo[Fo]=Lo[Fo+ko];return Bo})(),Oo={getAt:function(ko){return Do[ko]},getLength:function(){return Do.length},multiply:function(ko){for(var Bo=new Array(Oo.getLength()+ko.getLength()-1),Fo=0;Fo<Oo.getLength();Fo+=1)for(var Qo=0;Qo<ko.getLength();Qo+=1)Bo[Fo+Qo]^=wo.gexp(wo.glog(Oo.getAt(Fo))+wo.glog(ko.getAt(Qo)));return yo(Bo,0)},mod:function(ko){if(Oo.getLength()-ko.getLength()<0)return Oo;for(var Bo=wo.glog(Oo.getAt(0))-wo.glog(ko.getAt(0)),Fo=new Array(Oo.getLength()),Qo=0;Qo<Oo.getLength();Qo+=1)Fo[Qo]=Oo.getAt(Qo);for(Qo=0;Qo<ko.getLength();Qo+=1)Fo[Qo]^=wo.gexp(wo.glog(ko.getAt(Qo))+Bo);return yo(Fo,0).mod(ko)}};return Oo}var Eo=(function(){var Lo=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],Uo=function(Oo,ko){var Bo={};return Bo.totalCount=Oo,Bo.dataCount=ko,Bo},Do={getRSBlocks:function(Oo,ko){var Bo=(function(ra,da){switch(da){case Co.L:return Lo[4*(ra-1)+0];case Co.M:return Lo[4*(ra-1)+1];case Co.Q:return Lo[4*(ra-1)+2];case Co.H:return Lo[4*(ra-1)+3];default:return}})(Oo,ko);if(Bo===void 0)throw"bad rs block @ typeNumber:"+Oo+"/errorCorrectionLevel:"+ko;for(var Fo=Bo.length/3,Qo=[],jo=0;jo<Fo;jo+=1)for(var Xo=Bo[3*jo+0],Zo=Bo[3*jo+1],Wo=Bo[3*jo+2],ta=0;ta<Xo;ta+=1)Qo.push(Uo(Zo,Wo));return Qo}};return Do})(),xo=function(){var Lo=[],Uo=0,Do={getBuffer:function(){return Lo},getAt:function(Oo){var ko=Math.floor(Oo/8);return(Lo[ko]>>>7-Oo%8&1)==1},put:function(Oo,ko){for(var Bo=0;Bo<ko;Bo+=1)Do.putBit((Oo>>>ko-Bo-1&1)==1)},getLengthInBits:function(){return Uo},putBit:function(Oo){var ko=Math.floor(Uo/8);Lo.length<=ko&&Lo.push(0),Oo&&(Lo[ko]|=128>>>Uo%8),Uo+=1}};return Do},So=function(Lo){var Uo=Lo,Do={getMode:function(){return 1},getLength:function(Bo){return Uo.length},write:function(Bo){for(var Fo=Uo,Qo=0;Qo+2<Fo.length;)Bo.put(Oo(Fo.substring(Qo,Qo+3)),10),Qo+=3;Qo<Fo.length&&(Fo.length-Qo==1?Bo.put(Oo(Fo.substring(Qo,Qo+1)),4):Fo.length-Qo==2&&Bo.put(Oo(Fo.substring(Qo,Qo+2)),7))}},Oo=function(Bo){for(var Fo=0,Qo=0;Qo<Bo.length;Qo+=1)Fo=10*Fo+ko(Bo.charAt(Qo));return Fo},ko=function(Bo){if("0"<=Bo&&Bo<="9")return Bo.charCodeAt(0)-48;throw"illegal char :"+Bo};return Do},To=function(Lo){var Uo=Lo,Do={getMode:function(){return 2},getLength:function(ko){return Uo.length},write:function(ko){for(var Bo=Uo,Fo=0;Fo+1<Bo.length;)ko.put(45*Oo(Bo.charAt(Fo))+Oo(Bo.charAt(Fo+1)),11),Fo+=2;Fo<Bo.length&&ko.put(Oo(Bo.charAt(Fo)),6)}},Oo=function(ko){if("0"<=ko&&ko<="9")return ko.charCodeAt(0)-48;if("A"<=ko&&ko<="Z")return ko.charCodeAt(0)-65+10;switch(ko){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+ko}};return Do},Ro=function(Lo){var Uo=co.stringToBytes(Lo);return{getMode:function(){return 4},getLength:function(Do){return Uo.length},write:function(Do){for(var Oo=0;Oo<Uo.length;Oo+=1)Do.put(Uo[Oo],8)}}},Po=function(Lo){var Uo=co.stringToBytesFuncs.SJIS;if(!Uo)throw"sjis not supported.";(function(Oo,ko){var Bo=Uo("友");if(Bo.length!=2||(Bo[0]<<8|Bo[1])!=38726)throw"sjis not supported."})();var Do=Uo(Lo);return{getMode:function(){return 8},getLength:function(Oo){return~~(Do.length/2)},write:function(Oo){for(var ko=Do,Bo=0;Bo+1<ko.length;){var Fo=(255&ko[Bo])<<8|255&ko[Bo+1];if(33088<=Fo&&Fo<=40956)Fo-=33088;else{if(!(57408<=Fo&&Fo<=60351))throw"illegal char at "+(Bo+1)+"/"+Fo;Fo-=49472}Fo=192*(Fo>>>8&255)+(255&Fo),Oo.put(Fo,13),Bo+=2}if(Bo<ko.length)throw"illegal char at "+(Bo+1)}}},zo=function(){var Lo=[],Uo={writeByte:function(Do){Lo.push(255&Do)},writeShort:function(Do){Uo.writeByte(Do),Uo.writeByte(Do>>>8)},writeBytes:function(Do,Oo,ko){Oo=Oo||0,ko=ko||Do.length;for(var Bo=0;Bo<ko;Bo+=1)Uo.writeByte(Do[Bo+Oo])},writeString:function(Do){for(var Oo=0;Oo<Do.length;Oo+=1)Uo.writeByte(Do.charCodeAt(Oo))},toByteArray:function(){return Lo},toString:function(){var Do="";Do+="[";for(var Oo=0;Oo<Lo.length;Oo+=1)Oo>0&&(Do+=","),Do+=Lo[Oo];return Do+"]"}};return Uo},Ho=function(Lo){var Uo=Lo,Do=0,Oo=0,ko=0,Bo={read:function(){for(;ko<8;){if(Do>=Uo.length){if(ko==0)return-1;throw"unexpected end of file./"+ko}var Qo=Uo.charAt(Do);if(Do+=1,Qo=="=")return ko=0,-1;Qo.match(/^\s$/)||(Oo=Oo<<6|Fo(Qo.charCodeAt(0)),ko+=6)}var jo=Oo>>>ko-8&255;return ko-=8,jo}},Fo=function(Qo){if(65<=Qo&&Qo<=90)return Qo-65;if(97<=Qo&&Qo<=122)return Qo-97+26;if(48<=Qo&&Qo<=57)return Qo-48+52;if(Qo==43)return 62;if(Qo==47)return 63;throw"c:"+Qo};return Bo},Vo=function(Lo,Uo,Do){for(var Oo=(function(Zo,Wo){var ta=Zo,ra=Wo,da=new Array(Zo*Wo),pa={setPixel:function(na,ea,oa){da[ea*ta+na]=oa},write:function(na){na.writeString("GIF87a"),na.writeShort(ta),na.writeShort(ra),na.writeByte(128),na.writeByte(0),na.writeByte(0),na.writeByte(0),na.writeByte(0),na.writeByte(0),na.writeByte(255),na.writeByte(255),na.writeByte(255),na.writeString(","),na.writeShort(0),na.writeShort(0),na.writeShort(ta),na.writeShort(ra),na.writeByte(0);var ea=sa(2);na.writeByte(2);for(var oa=0;ea.length-oa>255;)na.writeByte(255),na.writeBytes(ea,oa,255),oa+=255;na.writeByte(ea.length-oa),na.writeBytes(ea,oa,ea.length-oa),na.writeByte(0),na.writeString(";")}},sa=function(na){for(var ea=1<<na,oa=1+(1<<na),la=na+1,_a=ya(),Ea=0;Ea<ea;Ea+=1)_a.add(String.fromCharCode(Ea));_a.add(String.fromCharCode(ea)),_a.add(String.fromCharCode(oa));var Pa,aa,Ca,Sa=zo(),Ia=(Pa=Sa,aa=0,Ca=0,{write:function(Oa,Da){if(Oa>>>Da)throw"length over";for(;aa+Da>=8;)Pa.writeByte(255&(Oa<<aa|Ca)),Da-=8-aa,Oa>>>=8-aa,Ca=0,aa=0;Ca|=Oa<<aa,aa+=Da},flush:function(){aa>0&&Pa.writeByte(Ca)}});Ia.write(ea,la);var Ta=0,va=String.fromCharCode(da[Ta]);for(Ta+=1;Ta<da.length;){var xa=String.fromCharCode(da[Ta]);Ta+=1,_a.contains(va+xa)?va+=xa:(Ia.write(_a.indexOf(va),la),_a.size()<4095&&(_a.size()==1<<la&&(la+=1),_a.add(va+xa)),va=xa)}return Ia.write(_a.indexOf(va),la),Ia.write(oa,la),Ia.flush(),Sa.toByteArray()},ya=function(){var na={},ea=0,oa={add:function(la){if(oa.contains(la))throw"dup key:"+la;na[la]=ea,ea+=1},size:function(){return ea},indexOf:function(la){return na[la]},contains:function(la){return na[la]!==void 0}};return oa};return pa})(Lo,Uo),ko=0;ko<Uo;ko+=1)for(var Bo=0;Bo<Lo;Bo+=1)Oo.setPixel(Bo,ko,Do(Bo,ko));var Fo=zo();Oo.write(Fo);for(var Qo=(function(){var Zo=0,Wo=0,ta=0,ra="",da={},pa=function(ya){ra+=String.fromCharCode(sa(63&ya))},sa=function(ya){if(!(ya<0)){if(ya<26)return 65+ya;if(ya<52)return ya-26+97;if(ya<62)return ya-52+48;if(ya==62)return 43;if(ya==63)return 47}throw"n:"+ya};return da.writeByte=function(ya){for(Zo=Zo<<8|255&ya,Wo+=8,ta+=1;Wo>=6;)pa(Zo>>>Wo-6),Wo-=6},da.flush=function(){if(Wo>0&&(pa(Zo<<6-Wo),Zo=0,Wo=0),ta%3!=0)for(var ya=3-ta%3,na=0;na<ya;na+=1)ra+="="},da.toString=function(){return ra},da})(),jo=Fo.toByteArray(),Xo=0;Xo<jo.length;Xo+=1)Qo.writeByte(jo[Xo]);return Qo.flush(),"data:image/gif;base64,"+Qo};return co})();lo.stringToBytesFuncs["UTF-8"]=function(co){return(function(uo){for(var fo=[],ho=0;ho<uo.length;ho++){var mo=uo.charCodeAt(ho);mo<128?fo.push(mo):mo<2048?fo.push(192|mo>>6,128|63&mo):mo<55296||mo>=57344?fo.push(224|mo>>12,128|mo>>6&63,128|63&mo):(ho++,mo=65536+((1023&mo)<<10|1023&uo.charCodeAt(ho)),fo.push(240|mo>>18,128|mo>>12&63,128|mo>>6&63,128|63&mo))}return fo})(co)},(so=typeof(ao=function(){return lo})=="function"?ao.apply(oo,[]):ao)===void 0||(io.exports=so)},676:(io,oo,ao)=>{ao.d(oo,{default:()=>Xo});var so=function(){return(so=Object.assign||function(Zo){for(var Wo,ta=1,ra=arguments.length;ta<ra;ta++)for(var da in Wo=arguments[ta])Object.prototype.hasOwnProperty.call(Wo,da)&&(Zo[da]=Wo[da]);return Zo}).apply(this,arguments)},lo=function(){for(var Zo=0,Wo=0,ta=arguments.length;Wo<ta;Wo++)Zo+=arguments[Wo].length;var ra=Array(Zo),da=0;for(Wo=0;Wo<ta;Wo++)for(var pa=arguments[Wo],sa=0,ya=pa.length;sa<ya;sa++,da++)ra[da]=pa[sa];return ra},co=function(Zo){return!!Zo&&typeof Zo=="object"&&!Array.isArray(Zo)};function uo(Zo){for(var Wo=[],ta=1;ta<arguments.length;ta++)Wo[ta-1]=arguments[ta];if(!Wo.length)return Zo;var ra=Wo.shift();return ra!==void 0&&co(Zo)&&co(ra)?(Zo=so({}
vendor: 27,774 bytes, line 395
395,Zo),Object.keys(ra).forEach((function(da){var pa=Zo[da],sa=ra[da];Array.isArray(pa)&&Array.isArray(sa)?Zo[da]=sa:co(pa)&&co(sa)?Zo[da]=uo(Object.assign({},pa),sa):Zo[da]=sa})),uo.apply(void 0,lo([Zo],Wo))):Zo}function fo(Zo,Wo){var ta=document.createElement("a");ta.download=Wo,ta.href=Zo,document.body.appendChild(ta),ta.click(),document.body.removeChild(ta)}function ho(Zo){return Wo=this,ta=void 0,da=function(){return(function(pa,sa){var ya,na,ea,oa,la={label:0,sent:function(){if(1&ea[0])throw ea[1];return ea[1]},trys:[],ops:[]};return oa={next:_a(0),throw:_a(1),return:_a(2)},typeof Symbol=="function"&&(oa[Symbol.iterator]=function(){return this}),oa;function _a(Ea){return function(Pa){return(function(aa){if(ya)throw new TypeError("Generator is already executing.");for(;la;)try{if(ya=1,na&&(ea=2&aa[0]?na.return:aa[0]?na.throw||((ea=na.return)&&ea.call(na),0):na.next)&&!(ea=ea.call(na,aa[1])).done)return ea;switch(na=0,ea&&(aa=[2&aa[0],ea.value]),aa[0]){case 0:case 1:ea=aa;break;case 4:return la.label++,{value:aa[1],done:!1};case 5:la.label++,na=aa[1],aa=[0];continue;case 7:aa=la.ops.pop(),la.trys.pop();continue;default:if(!((ea=(ea=la.trys).length>0&&ea[ea.length-1])||aa[0]!==6&&aa[0]!==2)){la=0;continue}if(aa[0]===3&&(!ea||aa[1]>ea[0]&&aa[1]<ea[3])){la.label=aa[1];break}if(aa[0]===6&&la.label<ea[1]){la.label=ea[1],ea=aa;break}if(ea&&la.label<ea[2]){la.label=ea[2],la.ops.push(aa);break}ea[2]&&la.ops.pop(),la.trys.pop();continue}aa=sa.call(pa,la)}catch(Ca){aa=[6,Ca],na=0}finally{ya=ea=0}if(5&aa[0])throw aa[1];return{value:aa[0]?aa[1]:void 0,done:!0}})([Ea,Pa])}}})(this,(function(pa){return[2,new Promise((function(sa){var ya=new XMLHttpRequest;ya.onload=function(){var na=new FileReader;na.onloadend=function(){sa(na.result)},na.readAsDataURL(ya.response)},ya.open("GET",Zo),ya.responseType="blob",ya.send()}))]}))},new((ra=void 0)||(ra=Promise))((function(pa,sa){function ya(oa){try{ea(da.next(oa))}catch(la){sa(la)}}function na(oa){try{ea(da.throw(oa))}catch(la){sa(la)}}function ea(oa){var la;oa.done?pa(oa.value):(la=oa.value,la instanceof ra?la:new ra((function(_a){_a(la)}))).then(ya,na)}ea((da=da.apply(Wo,ta||[])).next())}));var Wo,ta,ra,da}const mo={L:.07,M:.15,Q:.25,H:.3};var vo=function(){return(vo=Object.assign||function(Zo){for(var Wo,ta=1,ra=arguments.length;ta<ra;ta++)for(var da in Wo=arguments[ta])Object.prototype.hasOwnProperty.call(Wo,da)&&(Zo[da]=Wo[da]);return Zo}).apply(this,arguments)};const Co=(function(){function Zo(Wo){var ta=Wo.svg,ra=Wo.type;this._svg=ta,this._type=ra}return Zo.prototype.draw=function(Wo,ta,ra,da){var pa;switch(this._type){case"dots":pa=this._drawDot;break;case"classy":pa=this._drawClassy;break;case"classy-rounded":pa=this._drawClassyRounded;break;case"rounded":pa=this._drawRounded;break;case"extra-rounded":pa=this._drawExtraRounded;break;case"square":default:pa=this._drawSquare}pa.call(this,{x:Wo,y:ta,size:ra,getNeighbor:da})},Zo.prototype._rotateFigure=function(Wo){var ta,ra=Wo.x,da=Wo.y,pa=Wo.size,sa=Wo.rotation,ya=sa===void 0?0:sa,na=ra+pa/2,ea=da+pa/2;(0,Wo.draw)(),(ta=this._element)===null||ta===void 0||ta.setAttribute("transform","rotate("+180*ya/Math.PI+","+na+","+ea+")")},Zo.prototype._basicDot=function(Wo){var ta=this,ra=Wo.size,da=Wo.x,pa=Wo.y;this._rotateFigure(vo(vo({},Wo),{draw:function(){ta._element=document.createElementNS("http://www.w3.org/2000/svg","circle"),ta._element.setAttribute("cx",String(da+ra/2)),ta._element.setAttribute("cy",String(pa+ra/2)),ta._element.setAttribute("r",String(ra/2))}}))},Zo.prototype._basicSquare=function(Wo){var ta=this,ra=Wo.size,da=Wo.x,pa=Wo.y;this._rotateFigure(vo(vo({},Wo),{draw:function(){ta._element=document.createElementNS("http://www.w3.org/2000/svg","rect"),ta._element.setAttribute("x",String(da)),ta._element.setAttribute("y",String(pa)),ta._element.setAttribute("width",String(ra)),ta._element.setAttribute("height",String(ra))}}))},Zo.prototype._basicSideRounded=function(Wo){var ta=this,ra=Wo.size,da=Wo.x,pa=Wo.y;this._rotateFigure(vo(vo({},Wo),{draw:function(){ta._element=document.createElementNS("http://www.w3.org/2000/svg","path"),ta._element.setAttribute("d","M "+da+" "+pa+"v "+ra+"h "+ra/2+"a "+ra/2+" "+ra/2+", 0, 0, 0, 0 "+-ra)}}))},Zo.prototype._basicCornerRounded=function(Wo){var ta=this,ra=Wo.size,da=Wo.x,pa=Wo.y;this._rotateFigure(vo(vo({},Wo),{draw:function(){ta._element=document.createElementNS("http://www.w3.org/2000/svg","path"),ta._element.setAttribute("d","M "+da+" "+pa+"v "+ra+"h "+ra+"v "+-ra/2+"a "+ra/2+" "+ra/2+", 0, 0, 0, "+-ra/2+" "+-ra/2)}}))},Zo.prototype._basicCornerExtraRounded=function(Wo){var ta=this,ra=Wo.size,da=Wo.x,pa=Wo.y;this._rotateFigure(vo(vo({},Wo),{draw:function(){ta._element=document.createElementNS("http://www.w3.org/2000/svg","path"),ta._element.setAttribute("d","M "+da+" "+pa+"v "+ra+"h "+ra+"a "+ra+" "+ra+", 0, 0, 0, "+-ra+" "+-ra)}}))},Zo.prototype._basicCornersRounded=function(Wo){var ta=this,ra=Wo.size,da=Wo.x,pa=Wo.y;this._rotateFigure(vo(vo({},Wo),{draw:function(){ta._element=document.createElementNS("http://www.w3.org/2000/svg","path"),ta._element.setAttribute("d","M "+da+" "+pa+"v "+ra/2+"a "+ra/2+" "+ra/2+", 0, 0, 0, "+ra/2+" "+ra/2+"h "+ra/2+"v "+-ra/2+"a "+ra/2+" "+ra/2+", 0, 0, 0, "+-ra/2+" "+-ra/2)}}))},Zo.prototype._drawDot=function(Wo){var ta=Wo.x,ra=Wo.y,da=Wo.size;this._basicDot({x:ta,y:ra,size:da,rotation:0})},Zo.prototype._drawSquare=function(Wo){var ta=Wo.x,ra=Wo.y,da=Wo.size;this._basicSquare({x:ta,y:ra,size:da,rotation:0})},Zo.prototype._drawRounded=function(Wo){var ta=Wo.x,ra=Wo.y,da=Wo.size,pa=Wo.getNeighbor,sa=pa?+pa(-1,0):0,ya=pa?+pa(1,0):0,na=pa?+pa(0,-1):0,ea=pa?+pa(0,1):0,oa=sa+ya+na+ea;if(oa!==0)if(oa>2||sa&&ya||na&&ea)this._basicSquare({x:ta,y:ra,size:da,rotation:0});else{if(oa===2){var la=0;return sa&&na?la=Math.PI/2:na&&ya?la=Math.PI:ya&&ea&&(la=-Math.PI/2),void this._basicCornerRounded({x:ta,y:ra,size:da,rotation:la})}if(oa===1)return la=0,na?la=Math.PI/2:ya?la=Math.PI:ea&&(la=-Math.PI/2),void this._basicSideRounded({x:ta,y:ra,size:da,rotation:la})}else this._basicDot({x:ta,y:ra,size:da,rotation:0})},Zo.prototype._drawExtraRounded=function(Wo){var ta=Wo.x,ra=Wo.y,da=Wo.size,pa=Wo.getNeighbor,sa=pa?+pa(-1,0):0,ya=pa?+pa(1,0):0,na=pa?+pa(0,-1):0,ea=pa?+pa(0,1):0,oa=sa+ya+na+ea;if(oa!==0)if(oa>2||sa&&ya||na&&ea)this._basicSquare({x:ta,y:ra,size:da,rotation:0});else{if(oa===2){var la=0;return sa&&na?la=Math.PI/2:na&&ya?la=Math.PI:ya&&ea&&(la=-Math.PI/2),void this._basicCornerExtraRounded({x:ta,y:ra,size:da,rotation:la})}if(oa===1)return la=0,na?la=Math.PI/2:ya?la=Math.PI:ea&&(la=-Math.PI/2),void this._basicSideRounded({x:ta,y:ra,size:da,rotation:la})}else this._basicDot({x:ta,y:ra,size:da,rotation:0})},Zo.prototype._drawClassy=function(Wo){var ta=Wo.x,ra=Wo.y,da=Wo.size,pa=Wo.getNeighbor,sa=pa?+pa(-1,0):0,ya=pa?+pa(1,0):0,na=pa?+pa(0,-1):0,ea=pa?+pa(0,1):0;sa+ya+na+ea!==0?sa||na?ya||ea?this._basicSquare({x:ta,y:ra,size:da,rotation:0}):this._basicCornerRounded({x:ta,y:ra,size:da,rotation:Math.PI/2}):this._basicCornerRounded({x:ta,y:ra,size:da,rotation:-Math.PI/2}):this._basicCornersRounded({x:ta,y:ra,size:da,rotation:Math.PI/2})},Zo.prototype._drawClassyRounded=function(Wo){var ta=Wo.x,ra=Wo.y,da=Wo.size,pa=Wo.getNeighbor,sa=pa?+pa(-1,0):0,ya=pa?+pa(1,0):0,na=pa?+pa(0,-1):0,ea=pa?+pa(0,1):0;sa+ya+na+ea!==0?sa||na?ya||ea?this._basicSquare({x:ta,y:ra,size:da,rotation:0}):this._basicCornerExtraRounded({x:ta,y:ra,size:da,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:ta,y:ra,size:da,rotation:-Math.PI/2}):this._basicCornersRounded({x:ta,y:ra,size:da,rotation:Math.PI/2})},Zo})();var bo=function(){return(bo=Object.assign||function(Zo){for(var Wo,ta=1,ra=arguments.length;ta<ra;ta++)for(var da in Wo=arguments[ta])Object.prototype.hasOwnProperty.call(Wo,da)&&(Zo[da]=Wo[da]);return Zo}).apply(this,arguments)};const wo=(function(){function Zo(Wo){var ta=Wo.svg,ra=Wo.type;this._svg=ta,this._type=ra}return Zo.prototype.draw=function(Wo,ta,ra,da){var pa;switch(this._type){case"square":pa=this._drawSquare;break;case"extra-rounded":pa=this._drawExtraRounded;break;case"dot":default:pa=this._drawDot}pa.call(this,{x:Wo,y:ta,size:ra,rotation:da})},Zo.prototype._rotateFigure=function(Wo){var ta,ra=Wo.x,da=Wo.y,pa=Wo.size,sa=Wo.rotation,ya=sa===void 0?0:sa,na=ra+pa/2,ea=da+pa/2;(0,Wo.draw)(),(ta=this._element)===null||ta===void 0||ta.setAttribute("transform","rotate("+180*ya/Math.PI+","+na+","+ea+")")},Zo.prototype._basicDot=function(Wo){var ta=this,ra=Wo.size,da=Wo.x,pa=Wo.y,sa=ra/7;this._rotateFigure(bo(bo({},Wo),{draw:function(){ta._element=document.createElementNS("http://www.w3.org/2000/svg","path"),ta._element.setAttribute("clip-rule","evenodd"),ta._element.setAttribute("d","M "+(da+ra/2)+" "+pa+"a "+ra/2+" "+ra/2+" 0 1 0 0.1 0zm 0 "+sa+"a "+(ra/2-sa)+" "+(ra/2-sa)+" 0 1 1 -0.1 0Z")}}))},Zo.prototype._basicSquare=function(Wo){var ta=this,ra=Wo.size,da=Wo.x,pa=Wo.y,sa=ra/7;this._rotateFigure(bo(bo({},Wo),{draw:function(){ta._element=document.createElementNS("http://www.w3.org/2000/svg","path"),ta._element.setAttribute("clip-rule","evenodd"),ta._element.setAttribute("d","M "+da+" "+pa+"v "+ra+"h "+ra+"v "+-ra+"zM "+(da+sa)+" "+(pa+sa)+"h "+(ra-2*sa)+"v "+(ra-2*sa)+"h "+(2*sa-ra)+"z")}}))},Zo.prototype._basicExtraRounded=function(Wo){var ta=this,ra=Wo.size,da=Wo.x,pa=Wo.y,sa=ra/7;this._rotateFigure(bo(bo({},Wo),{draw:function(){ta._element=document.createElementNS("http://www.w3.org/2000/svg","path"),ta._element.setAttribute("clip-rule","evenodd"),ta._element.setAttribute("d","M "+da+" "+(pa+2.5*sa)+"v "+2*sa+"a "+2.5*sa+" "+2.5*sa+", 0, 0, 0, "+2.5*sa+" "+2.5*sa+"h "+2*sa+"a "+2.5*sa+" "+2.5*sa+", 0, 0, 0, "+2.5*sa+" "+2.5*-sa+"v "+-2*sa+"a "+2.5*sa+" "+2.5*sa+", 0, 0, 0, "+2.5*-sa+" "+2.5*-sa+"h "+-2*sa+"a "+2.5*sa+" "+2.5*sa+", 0, 0, 0, "+2.5*-sa+" "+2.5*sa+"M "+(da+2.5*sa)+" "+(pa+sa)+"h "+2*sa+"a "+1.5*sa+" "+1.5*sa+", 0, 0, 1, "+1.5*sa+" "+1.5*sa+"v "+2*sa+"a "+1.5*sa+" "+1.5*sa+", 0, 0, 1, "+1.5*-sa+" "+1.5*sa+"h "+-2*sa+"a "+1.5*sa+" "+1.5*sa+", 0, 0, 1, "+1.5*-sa+" "+1.5*-sa+"v "+-2*sa+"a "+1.5*sa+" "+1.5*sa+", 0, 0, 1, "+1.5*sa+" "+1.5*-sa)}}))},Zo.prototype._drawDot=function(Wo){var ta=Wo.x,ra=Wo.y,da=Wo.size,pa=Wo.rotation;this._basicDot({x:ta,y:ra,size:da,rotation:pa})},Zo.prototype._drawSquare=function(Wo){var ta=Wo.x,ra=Wo.y,da=Wo.size,pa=Wo.rotation;this._basicSquare({x:ta,y:ra,size:da,rotation:pa})},Zo.prototype._drawExtraRounded=function(Wo){var ta=Wo.x,ra=Wo.y,da=Wo.size,pa=Wo.rotation;this._basicExtraRounded({x:ta,y:ra,size:da,rotation:pa})},Zo})();var yo=function(){return(yo=Object.assign||function(Zo){for(var Wo,ta=1,ra=arguments.length;ta<ra;ta++)for(var da in Wo=arguments[ta])Object.prototype.hasOwnProperty.call(Wo,da)&&(Zo[da]=Wo[da]);return Zo}).apply(this,arguments)};const Eo=(function(){function Zo(Wo){var ta=Wo.svg,ra=Wo.type;this._svg=ta,this._type=ra}return Zo.prototype.draw=function(Wo,ta,ra,da){var pa;switch(this._type){case"square":pa=this._drawSquare;break;case"dot":default:pa=this._drawDot}pa.call(this,{x:Wo,y:ta,size:ra,rotation:da})},Zo.prototype._rotateFigure=function(Wo){var ta,ra=Wo.x,da=Wo.y,pa=Wo.size,sa=Wo.rotation,ya=sa===void 0?0:sa,na=ra+pa/2,ea=da+pa/2;(0,Wo.draw)(),(ta=this._element)===null||ta===void 0||ta.setAttribute("transform","rotate("+180*ya/Math.PI+","+na+","+ea+")")},Zo.prototype._basicDot=function(Wo){var ta=this,ra=Wo.size,da=Wo.x,pa=Wo.y;this._rotateFigure(yo(yo({},Wo),{draw:function(){ta._element=document.createElementNS("http://www.w3.org/2000/svg","circle"),ta._element.setAttribute("cx",String(da+ra/2)),ta._element.setAttribute("cy",String(pa+ra/2)),ta._element.setAttribute("r",String(ra/2))}}))},Zo.prototype._basicSquare=function(Wo){var ta=this,ra=Wo.size,da=Wo.x,pa=Wo.y;this._rotateFigure(yo(yo({},Wo),{draw:function(){ta._element=document.createElementNS("http://www.w3.org/2000/svg","rect"),ta._element.setAttribute("x",String(da)),ta._element.setAttribute("y",String(pa)),ta._element.setAttribute("width",String(ra)),ta._element.setAttribute("height",String(ra))}}))},Zo.prototype._drawDot=function(Wo){var ta=Wo.x,ra=Wo.y,da=Wo.size,pa=Wo.rotation;this._basicDot({x:ta,y:ra,size:da,rotation:pa})},Zo.prototype._drawSquare=function(Wo){var ta=Wo.x,ra=Wo.y,da=Wo.size,pa=Wo.rotation;this._basicSquare({x:ta,y:ra,size:da,rotation:pa})},Zo})(),xo="circle";var So=function(Zo,Wo,ta,ra){return new(ta||(ta=Promise))((function(da,pa){function sa(ea){try{na(ra.next(ea))}catch(oa){pa(oa)}}function ya(ea){try{na(ra.throw(ea))}catch(oa){pa(oa)}}function na(ea){var oa;ea.done?da(ea.value):(oa=ea.value,oa instanceof ta?oa:new ta((function(la){la(oa)}))).then(sa,ya)}na((ra=ra.apply(Zo,[])).next())}))},To=function(Zo,Wo){var ta,ra,da,pa,sa={label:0,sent:function(){if(1&da[0])throw da[1];return da[1]},trys:[],ops:[]};return pa={next:ya(0),throw:ya(1),return:ya(2)},typeof Symbol=="function"&&(pa[Symbol.iterator]=function(){return this}),pa;function ya(na){return function(ea){return(function(oa){if(ta)throw new TypeError("Generator is already executing.");for(;sa;)try{if(ta=1,ra&&(da=2&oa[0]?ra.return:oa[0]?ra.throw||((da=ra.return)&&da.call(ra),0):ra.next)&&!(da=da.call(ra,oa[1])).done)return da;switch(ra=0,da&&(oa=[2&oa[0],da.value]),oa[0]){case 0:case 1:da=oa;break;case 4:return sa.label++,{value:oa[1],done:!1};case 5:sa.label++,ra=oa[1],oa=[0];continue;case 7:oa=sa.ops.pop(),sa.trys.pop();continue;default:if(!((da=(da=sa.trys).length>0&&da[da.length-1])||oa[0]!==6&&oa[0]!==2)){sa=0;continue}if(oa[0]===3&&(!da||oa[1]>da[0]&&oa[1]<da[3])){sa.label=oa[1];break}if(oa[0]===6&&sa.label<da[1]){sa.label=da[1],da=oa;break}if(da&&sa.label<da[2]){sa.label=da[2],sa.ops.push(oa);break}da[2]&&sa.ops.pop(),sa.trys.pop();continue}oa=Wo.call(Zo,sa)}catch(la){oa=[6,la],ra=0}finally{ta=da=0}if(5&oa[0])throw oa[1];return{value:oa[0]?oa[1]:void 0,done:!0}})([na,ea])}}},Ro=[[1,1,1,1,1,1,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,1,1,1,1,1,1]],Po=[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]];const zo=(function(){function Zo(Wo){this._element=document.createElementNS("http://www.w3.org/2000/svg","svg"),this._element.setAttribute("width",String(Wo.width)),this._element.setAttribute("height",String(Wo.height)),this._defs=document.createElementNS("http://www.w3.org/2000/svg","defs"),this._element.appendChild(this._defs),this._options=Wo}return Object.defineProperty(Zo.prototype,"width",{get:function(){return this._options.width},enumerable:!1,configurable:!0}),Object.defineProperty(Zo.prototype,"height",{get:function(){return this._options.height},enumerable:!1,configurable:!0}),Zo.prototype.getElement=function(){return this._element},Zo.prototype.drawQR=function(Wo){return So(this,void 0,void 0,(function(){var ta,ra,da,pa,sa,ya,na,ea,oa,la,_a=this;return To(this,(function(Ea){switch(Ea.label){case 0:return ta=Wo.getModuleCount(),ra=Math.min(this._options.width,this._options.height)-2*this._options.margin,da=this._options.shape===xo?ra/Math.sqrt(2):ra,pa=Math.floor(da/ta),sa={hideXDots:0,hideYDots:0,width:0,height:0},this._qr=Wo,this._options.image?[4,this.loadImage()]:[3,2];case 1:if(Ea.sent(),!this._image)return[2];ya=this._options,na=ya.imageOptions,ea=ya.qrOptions,oa=na.imageSize*mo[ea.errorCorrectionLevel],la=Math.floor(oa*ta*ta),sa=(function(Pa){var aa=Pa.originalHeight,Ca=Pa.originalWidth,Sa=Pa.maxHiddenDots,Ia=Pa.maxHiddenAxisDots,Ta=Pa.dotSize,va={x:0,y:0},xa={x:0,y:0};if(aa<=0||Ca<=0||Sa<=0||Ta<=0)return{height:0,width:0,hideYDots:0,hideXDots:0};var Oa=aa/Ca;return va.x=Math.floor(Math.sqrt(Sa/Oa)),va.x<=0&&(va.x=1),Ia&&Ia<va.x&&(va.x=Ia),va.x%2==0&&va.x--,xa.x=va.x*Ta,va.y=1+2*Math.ceil((va.x*Oa-1)/2),xa.y=Math.round(xa.x*Oa),(va.y*va.x>Sa||Ia&&Ia<va.y)&&(Ia&&Ia<va.y?(va.y=Ia,va.y%2==0&&va.x--):va.y-=2,xa.y=va.y*Ta,va.x=1+2*Math.ceil((va.y/Oa-1)/2),xa.x=Math.round(xa.y/Oa)),{height:xa.y,width:xa.x,hideYDots:va.y,hideXDots:va.x}})({originalWidth:this._image.width,originalHeight:this._image.height,maxHiddenDots:la,maxHiddenAxisDots:ta-14,dotSize:pa}),Ea.label=2;case 2:return this.drawBackground(),this.drawDots((function(Pa,aa){var Ca,Sa,Ia,Ta,va,xa;return!(_a._options.imageOptions.hideBackgroundDots&&Pa>=(ta-sa.hideXDots)/2&&Pa<(ta+sa.hideXDots)/2&&aa>=(ta-sa.hideYDots)/2&&aa<(ta+sa.hideYDots)/2||!((Ca=Ro[Pa])===null||Ca===void 0)&&Ca[aa]||!((Sa=Ro[Pa-ta+7])===null||Sa===void 0)&&Sa[aa]||!((Ia=Ro[Pa])===null||Ia===void 0)&&Ia[aa-ta+7]||!((Ta=Po[Pa])===null||Ta===void 0)&&Ta[aa]||!((va=Po[Pa-ta+7])===null||va===void 0)&&va[aa]||!((xa=Po[Pa])===null||xa===void 0)&&xa[aa-ta+7])})),this.drawCorners(),this._options.image?[4,this.drawImage({width:sa.width,height:sa.height,count:ta,dotSize:pa})]:[3,4];case 3:Ea.sent(),Ea.label=4;case 4:return[2]}}))}))},Zo.prototype.drawBackground=function(){var Wo,ta,ra,da=this._element,pa=this._options;if(da){var sa=(Wo=pa.backgroundOptions)===null||Wo===void 0?void 0:Wo.gradient,ya=(ta=pa.backgroundOptions)===null||ta===void 0?void 0:ta.color;if((sa||ya)&&this._createColor({options:sa,color:ya,additionalRotation:0,x:0,y:0,height:pa.height,width:pa.width,name:"background-color"}),(ra=pa.backgroundOptions)===null||ra===void 0?void 0:ra.round){var na=Math.min(pa.width,pa.height),ea=document.createElementNS("http://www.w3.org/2000/svg","rect");this._backgroundClipPath=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._backgroundClipPath.setAttribute("id","clip-path-background-color"),this._defs.appendChild(this._backgroundClipPath),ea.setAttribute("x",String((pa.width-na)/2)),ea.setAttribute("y",String((pa.height-na)/2)),ea.setAttribute("width",String(na)),ea.setAttribute("height",String(na)),ea.setAttribute("rx",String(na/2*pa.backgroundOptions.round)),this._backgroundClipPath.appendChild(ea)}}},Zo.prototype.drawDots=function(Wo){var ta,ra,da=this;if(!this._qr)throw"QR code is not defined";var pa=this._options,sa=this._qr.getModuleCount();if(sa>pa.width||sa>pa.height)throw"The canvas is too small.";var ya=Math.min(pa.width,pa.height)-2*pa.margin,na=pa.shape===xo?ya/Math.sqrt(2):ya,ea=Math.floor(na/sa),oa=Math.floor((pa.width-sa*ea)/2),la=Math.floor((pa.height-sa*ea)/2),_a=new Co({svg:this._element,type:pa.dotsOptions.type});this._dotsClipPath=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._dotsClipPath.setAttribute("id","clip-path-dot-color"),this._defs.appendChild(this._dotsClipPath),this._createColor({options:(ta=pa.dotsOptions)===null||ta===void 0?void 0:ta.gradient,color:pa.dotsOptions.color,additionalRotation:0,x:0,y:0,height:pa.height,width:pa.width,name:"dot-color"});for(var Ea=function(Ko){for(var Yo=function(ga){return Wo&&!Wo(Ko,ga)?"continue":!((ra=Pa._qr)===null||ra===void 0)&&ra.isDark(Ko,ga)?(_a.draw(oa+Ko*ea,la+ga*ea,ea,(function(Fa,ja){return!(Ko+Fa<0||ga+ja<0||Ko+Fa>=sa||ga+ja>=sa)&&!(Wo&&!Wo(Ko+Fa,ga+ja))&&!!da._qr&&da._qr.isDark(Ko+Fa,ga+ja)})),void(_a._element&&Pa._dotsClipPath&&Pa._dotsClipPath.appendChild(_a._element))):"continue"},ma=0;ma<sa;ma++)Yo(ma)},Pa=this,aa=0;aa<sa;aa++)Ea(aa);if(pa.shape===xo){var Ca=Math.floor((ya/ea-sa)/2),Sa=sa+2*Ca,Ia=oa-Ca*ea,Ta=la-Ca*ea,va=[],xa=Math.floor(Sa/2);for(aa=0;aa<Sa;aa++){va[aa]=[];for(var Oa=0;Oa<Sa;Oa++)aa>=Ca-1&&aa<=Sa-Ca&&Oa>=Ca-1&&Oa<=Sa-Ca||Math.sqrt((aa-xa)*(aa-xa)+(Oa-xa)*(Oa-xa))>xa?va[aa][Oa]=0:va[aa][Oa]=this._qr.isDark(Oa-2*Ca<0?Oa:Oa>=sa?Oa-2*Ca:Oa-Ca,aa-2*Ca<0?aa:aa>=sa?aa-2*Ca:aa-Ca)?1:0}var Da=function(Ko){for(var Yo=function(ga){if(!va[Ko][ga])return"continue";_a.draw(Ia+Ko*ea,Ta+ga*ea,ea,(function(Fa,ja){var Ga;return!!(!((Ga=va[Ko+Fa])===null||Ga===void 0)&&Ga[ga+ja])})),_a._element&&ia._dotsClipPath&&ia._dotsClipPath.appendChild(_a._element)},ma=0;ma<Sa;ma++)Yo(ma)},ia=this;for(aa=0;aa<Sa;aa++)Da(aa)}},Zo.prototype.drawCorners=function(){var Wo=this;if(!this._qr)throw"QR code is not defined";var ta=this._element,ra=this._options;if(!ta)throw"Element code is not defined";var da=this._qr.getModuleCount(),pa=Math.min(ra.width,ra.height)-2*ra.margin,sa=ra.shape===xo?pa/Math.sqrt(2):pa,ya=Math.floor(sa/da),na=7*ya,ea=3*ya,oa=Math.floor((ra.width-da*ya)/2),la=Math.floor((ra.height-da*ya)/2);[[0,0,0],[1,0,Math.PI/2],[0,1,-Math.PI/2]].forEach((function(_a){var Ea,Pa,aa,Ca,Sa,Ia,Ta,va,xa,Oa,Da,ia,Ko=_a[0],Yo=_a[1],ma=_a[2],ga=oa+Ko*ya*(da-7),Fa=la+Yo*ya*(da-7),ja=Wo._dotsClipPath,Ga=Wo._dotsClipPath;if((!((Ea=ra.cornersSquareOptions)===null||Ea===void 0)&&Ea.gradient||!((Pa=ra.cornersSquareOptions)===null||Pa===void 0)&&Pa.color)&&((ja=document.createElementNS("http://www.w3.org/2000/svg","clipPath")).setAttribute("id","clip-path-corners-square-color-"+Ko+"-"+Yo),Wo._defs.appendChild(ja),Wo._cornersSquareClipPath=Wo._cornersDotClipPath=Ga=ja,Wo._createColor({options:(aa=ra.cornersSquareOptions)===null||aa===void 0?void 0:aa.gradient,color:(Ca=ra.cornersSquareOptions)===null||Ca===void 0?void 0:Ca.color,additionalRotation:ma,x:ga,y:Fa,height:na,width:na,name:"corners-square-color-"+Ko+"-"+Yo})),(Sa=ra.cornersSquareOptions)===null||Sa===void 0?void 0:Sa.type){var Va=new wo({svg:Wo._element,type:ra.cornersSquareOptions.type});Va.draw(ga,Fa,na,ma),Va._element&&ja&&ja.appendChild(Va._element)}else for(var qa=new Co({svg:Wo._element,type:ra.dotsOptions.type}),us=function(Ps){for(var vs=function(hs){if(!(!((Ia=Ro[Ps])===null||Ia===void 0)&&Ia[hs]))return"continue";qa.draw(ga+Ps*ya,Fa+hs*ya,ya,(function(ol,Zs){var $s;return!!(!(($s=Ro[Ps+ol])===null||$s===void 0)&&$s[hs+Zs])})),qa._element&&ja&&ja.appendChild(qa._element)},Ts=0;Ts<Ro[Ps].length;Ts++)vs(Ts)},as=0;as<Ro.length;as++)us(as);if((!((Ta=ra.cornersDotOptions)===null||Ta===void 0)&&Ta.gradient||!((va=ra.cornersDotOptions)===null||va===void 0)&&va.color)&&((Ga=document.createElementNS("http://www.w3.org/2000/svg","clipPath")).setAttribute("id","clip-path-corners-dot-color-"+Ko+"-"+Yo),Wo._defs.appendChild(Ga),Wo._cornersDotClipPath=Ga,Wo._createColor({options:(xa=ra.cornersDotOptions)===null||xa===void 0?void 0:xa.gradient,color:(Oa=ra.cornersDotOptions)===null||Oa===void 0?void 0:Oa.color,additionalRotation:ma,x:ga+2*ya,y:Fa+2*ya,height:ea,width:ea,name:"corners-dot-color-"+Ko+"-"+Yo})),(Da=ra.cornersDotOptions)===null||Da===void 0?void 0:Da.type){var ps=new Eo({svg:Wo._element,type:ra.cornersDotOptions.type});ps.draw(ga+2*ya,Fa+2*ya,ea,ma),ps._element&&Ga&&Ga.appendChild(ps._element)}else{qa=new Co({svg:Wo._element,type:ra.dotsOptions.type});var Rs=function(Ps){for(var vs=function(hs){if(!(!((ia=Po[Ps])===null||ia===void 0)&&ia[hs]))return"continue";qa.draw(ga+Ps*ya,Fa+hs*ya,ya,(function(ol,Zs){var $s;return!!(!(($s=Po[Ps+ol])===null||$s===void 0)&&$s[hs+Zs])})),qa._element&&Ga&&Ga.appendChild(qa._element)},Ts=0;Ts<Po[Ps].length;Ts++)vs(Ts)};for(as=0;as<Po.length;as++)Rs(as)}}))},Zo.prototype.loadImage=function(){var Wo=this;return new Promise((function(ta,ra){var da=Wo._options,pa=new Image;if(!da.image)return ra("Image is not defined");typeof da.imageOptions.crossOrigin=="string"&&(pa.crossOrigin=da.imageOptions.crossOrigin),Wo._image=pa,pa.onload=function(){ta()},pa.src=da.image}))},Zo.prototype.drawImage=function(Wo){var ta=Wo.width,ra=Wo.height,da=Wo.count,pa=Wo.dotSize;return So(this,void 0,void 0,(function(){var sa,ya,na,ea,oa,la,_a,Ea,Pa;return To(this,(function(aa){switch(aa.label){case 0:return sa=this._options,ya=Math.floor((sa.width-da*pa)/2),na=Math.floor((sa.height-da*pa)/2),ea=ya+sa.imageOptions.margin+(da*pa-ta)/2,oa=na+sa.imageOptions.margin+(da*pa-ra)/2,la=ta-2*sa.imageOptions.margin,_a=ra-2*sa.imageOptions.margin,(Ea=document.createElementNS("http://www.w3.org/2000/svg","image")).setAttribute("x",String(ea)),Ea.setAttribute("y",String(oa)),Ea.setAttribute("width",la+"px"),Ea.setAttribute("height",_a+"px"),[4,ho(sa.image||"")];case 1:return Pa=aa.sent(),Ea.setAttribute("href",Pa||""),this._element.appendChild(Ea),[2]}}))}))},Zo.prototype._createColor=function(Wo){var ta=Wo.options,ra=Wo.color,da=Wo.additionalRotation,pa=Wo.x,sa=Wo.y,ya=Wo.height,na=Wo.width,ea=Wo.name,oa=na>ya?na:ya,la=document.createElementNS("http://www.w3.org/2000/svg","rect");if(la.setAttribute("x",String(pa)),la.setAttribute("y",String(sa)),la.setAttribute("height",String(ya)),la.setAttribute("width",String(na)),la.setAttribute("clip-path","url('#clip-path-"+ea+"')"),ta){var _a;if(ta.type==="radial")(_a=document.createElementNS("http://www.w3.org/2000/svg","radialGradient")).setAttribute("id",ea),_a.setAttribute("gradientUnits","userSpaceOnUse"),_a.setAttribute("fx",String(pa+na/2)),_a.setAttribute("fy",String(sa+ya/2)),_a.setAttribute("cx",String(pa+na/2)),_a.setAttribute("cy",String(sa+ya/2)),_a.setAttribute("r",String(oa/2));else{var Ea=((ta.rotation||0)+da)%(2*Math.PI),Pa=(Ea+2*Math.PI)%(2*Math.PI),aa=pa+na/2,Ca=sa+ya/2,Sa=pa+na/2,Ia=sa+ya/2;Pa>=0&&Pa<=.25*Math.PI||Pa>1.75*Math.PI&&Pa<=2*Math.PI?(aa-=na/2,Ca-=ya/2*Math.tan(Ea),Sa+=na/2,Ia+=ya/2*Math.tan(Ea)):Pa>.25*Math.PI&&Pa<=.75*Math.PI?(Ca-=ya/2,aa-=na/2/Math.tan(Ea),Ia+=ya/2,Sa+=na/2/Math.tan(Ea)):Pa>.75*Math.PI&&Pa<=1.25*Math.PI?(aa+=na/2,Ca+=ya/2*Math.tan(Ea),Sa-=na/2,Ia-=ya/2*Math.tan(Ea)):Pa>1.25*Math.PI&&Pa<=1.75*Math.PI&&(Ca+=ya/2,aa+=na/2/Math.tan(Ea),Ia-=ya/2,Sa-=na/2/Math.tan(Ea)),(_a=document.createElementNS("http://www.w3.org/2000/svg","linearGradient")).setAttribute("id",ea),_a.setAttribute("gradientUnits","userSpaceOnUse"),_a.setAttribute("x1",String(Math.round(aa))),_a.setAttribute("y1",String(Math.round(Ca))),_a.setAttribute("x2",String(Math.round(Sa))),_a.setAttribute("y2",String(Math.round(Ia)))}ta.colorStops.forEach((function(Ta){var va=Ta.offset,xa=Ta.color,Oa=document.createElementNS("http://www.w3.org/2000/svg","stop");Oa.setAttribute("offset",100*va+"%"),Oa.setAttribute("stop-color",xa),_a.appendChild(Oa)})),la.setAttribute("fill","url('#"+ea+"')"),this._defs.appendChild(_a)}else ra&&la.setAttribute("fill",ra);this._element.appendChild(la)},Zo})(),Ho="canvas";for(var Vo={},Lo=0;Lo<=40;Lo++)Vo[Lo]=Lo;const Uo={type:Ho,shape:"square",width:300,height:300,data:"",margin:0,qrOptions:{typeNumber:Vo[0],mode:void 0,errorCorrectionLevel:"Q"},imageOptions:{hideBackgroundDots:!0,imageSize:.4,crossOrigin:void 0,margin:0},dotsOptions:{type:"square",color:"#000"},backgroundOptions:{round:0,color:"#fff"}};var Do=function(){return(Do=Object.assign||function(Zo){for(var Wo,ta=1,ra=arguments.length;ta<ra;ta++)for(var da in Wo=arguments[ta])Object.prototype.hasOwnProperty.call(Wo,da)&&(Zo[da]=Wo[da]);return Zo}).apply(this,arguments)};function Oo(Zo){var Wo=Do({},Zo);if(!Wo.colorStops||!Wo.colorStops.length)throw"Field 'colorStops' is required in gradient";return Wo.rotation?Wo.rotation=Number(Wo.rotation):Wo.rotation=0,Wo.colorStops=Wo.colorStops.map((function(ta){return Do(Do({},ta),{offset:Number(ta.offset)})})),Wo}function ko(Zo){var Wo=Do({},Zo);return Wo.width=Number(Wo.width),Wo.height=Number(Wo.height),Wo.margin=Number(Wo.margin),Wo.imageOptions=Do(Do({},Wo.imageOptions),{hideBackgroundDots:!!Wo.imageOptions.hideBackgroundDots,imageSize:Number(Wo.imageOptions.imageSize),margin:Number(Wo.imageOptions.margin)}),Wo.margin>Math.min(Wo.width,Wo.height)&&(Wo.margin=Math.min(Wo.width,Wo.height)),Wo.dotsOptions=Do({},Wo.dotsOptions),Wo.dotsOptions.gradient&&(Wo.dotsOptions.gradient=Oo(Wo.dotsOptions.gradient)),Wo.cornersSquareOptions&&(Wo.cornersSquareOptions=Do({},Wo.cornersSquareOptions),Wo.cornersSquareOptions.gradient&&(Wo.cornersSquareOptions.gradient=Oo(Wo.cornersSquareOptions.gradient))),Wo.cornersDotOptions&&(Wo.cornersDotOptions=Do({},Wo.cornersDotOptions),Wo.cornersDotOptions.gradient&&(Wo.cornersDotOptions.gradient=Oo(Wo.cornersDotOptions.gradient))),Wo.backgroundOptions&&(Wo.backgroundOptions=Do({},Wo.backgroundOptions),Wo.backgroundOptions.gradient&&(Wo.backgroundOptions.gradient=Oo(Wo.backgroundOptions.gradient))),Wo}var Bo=ao(192),Fo=ao.n(Bo),Qo=function(Zo,Wo,ta,ra){return new(ta||(ta=Prom
vendor: 4,382 bytes, line 395
395ise))((function(da,pa){function sa(ea){try{na(ra.next(ea))}catch(oa){pa(oa)}}function ya(ea){try{na(ra.throw(ea))}catch(oa){pa(oa)}}function na(ea){var oa;ea.done?da(ea.value):(oa=ea.value,oa instanceof ta?oa:new ta((function(la){la(oa)}))).then(sa,ya)}na((ra=ra.apply(Zo,[])).next())}))},jo=function(Zo,Wo){var ta,ra,da,pa,sa={label:0,sent:function(){if(1&da[0])throw da[1];return da[1]},trys:[],ops:[]};return pa={next:ya(0),throw:ya(1),return:ya(2)},typeof Symbol=="function"&&(pa[Symbol.iterator]=function(){return this}),pa;function ya(na){return function(ea){return(function(oa){if(ta)throw new TypeError("Generator is already executing.");for(;sa;)try{if(ta=1,ra&&(da=2&oa[0]?ra.return:oa[0]?ra.throw||((da=ra.return)&&da.call(ra),0):ra.next)&&!(da=da.call(ra,oa[1])).done)return da;switch(ra=0,da&&(oa=[2&oa[0],da.value]),oa[0]){case 0:case 1:da=oa;break;case 4:return sa.label++,{value:oa[1],done:!1};case 5:sa.label++,ra=oa[1],oa=[0];continue;case 7:oa=sa.ops.pop(),sa.trys.pop();continue;default:if(!((da=(da=sa.trys).length>0&&da[da.length-1])||oa[0]!==6&&oa[0]!==2)){sa=0;continue}if(oa[0]===3&&(!da||oa[1]>da[0]&&oa[1]<da[3])){sa.label=oa[1];break}if(oa[0]===6&&sa.label<da[1]){sa.label=da[1],da=oa;break}if(da&&sa.label<da[2]){sa.label=da[2],sa.ops.push(oa);break}da[2]&&sa.ops.pop(),sa.trys.pop();continue}oa=Wo.call(Zo,sa)}catch(la){oa=[6,la],ra=0}finally{ta=da=0}if(5&oa[0])throw oa[1];return{value:oa[0]?oa[1]:void 0,done:!0}})([na,ea])}}};const Xo=(function(){function Zo(Wo){this._options=Wo?ko(uo(Uo,Wo)):Uo,this.update()}return Zo._clearContainer=function(Wo){Wo&&(Wo.innerHTML="")},Zo.prototype._setupSvg=function(){var Wo=this;if(this._qr){var ta=new zo(this._options);this._svg=ta.getElement(),this._svgDrawingPromise=ta.drawQR(this._qr).then((function(){var ra;Wo._svg&&((ra=Wo._extension)===null||ra===void 0||ra.call(Wo,ta.getElement(),Wo._options))}))}},Zo.prototype._setupCanvas=function(){var Wo,ta=this;this._qr&&(this._canvas=document.createElement("canvas"),this._canvas.width=this._options.width,this._canvas.height=this._options.height,this._setupSvg(),this._canvasDrawingPromise=(Wo=this._svgDrawingPromise)===null||Wo===void 0?void 0:Wo.then((function(){if(ta._svg){var ra=ta._svg,da=new XMLSerializer().serializeToString(ra),pa="data:image/svg+xml;base64,"+btoa(da),sa=new Image;return new Promise((function(ya){sa.onload=function(){var na,ea;(ea=(na=ta._canvas)===null||na===void 0?void 0:na.getContext("2d"))===null||ea===void 0||ea.drawImage(sa,0,0),ya()},sa.src=pa}))}})))},Zo.prototype._getElement=function(Wo){return Wo===void 0&&(Wo="png"),Qo(this,void 0,void 0,(function(){return jo(this,(function(ta){switch(ta.label){case 0:if(!this._qr)throw"QR code is empty";return Wo.toLowerCase()!=="svg"?[3,2]:(this._svg&&this._svgDrawingPromise||this._setupSvg(),[4,this._svgDrawingPromise]);case 1:return ta.sent(),[2,this._svg];case 2:return this._canvas&&this._canvasDrawingPromise||this._setupCanvas(),[4,this._canvasDrawingPromise];case 3:return ta.sent(),[2,this._canvas]}}))}))},Zo.prototype.update=function(Wo){Zo._clearContainer(this._container),this._options=Wo?ko(uo(this._options,Wo)):this._options,this._options.data&&(this._qr=Fo()(this._options.qrOptions.typeNumber,this._options.qrOptions.errorCorrectionLevel),this._qr.addData(this._options.data,this._options.qrOptions.mode||(function(ta){switch(!0){case/^[0-9]*$/.test(ta):return"Numeric";case/^[0-9A-Z $%*+\-./:]*$/.test(ta):return"Alphanumeric";default:return"Byte"}})(this._options.data)),this._qr.make(),this._options.type===Ho?this._setupCanvas():this._setupSvg(),this.append(this._container))},Zo.prototype.append=function(Wo){if(Wo){if(typeof Wo.appendChild!="function")throw"Container should be a single DOM node";this._options.type===Ho?this._canvas&&Wo.appendChild(this._canvas):this._svg&&Wo.appendChild(this._svg),this._container=Wo}},Zo.prototype.applyExtension=function(Wo){if(!Wo)throw"Extension function should be defined.";this._extension=Wo,this.update()},Zo.prototype.deleteExtension=function(){this._extension=void 0,this.update()},Zo.prototype.getRawData=function(Wo){return Wo===void 0&&(Wo="png"),Qo(this,void 0,void 0,(function(){var ta,ra,da;return jo(this,(function(pa){switch(pa.label){case 0:if(!this._qr)throw"QR code is empty";return[4,this._getElement(Wo)];case 1:return(ta=pa.sent())?Wo.toLowerCase()==="svg"?(ra=new XMLSerializer,da=ra.seri
395alizeToString(ta),[2,new Blob([`<?xml version="1.0" standalone="no"?>\r
396`+da],{type:"image/svg+xml"})]):[2,new Promise((function(sa){return ta.toBlob(sa,"image/"+Wo,1)}))]:[2,null]}}))}))},Zo.prototype.download=function(Wo){return Qo(this,void 0,void 0,(function(){var ta,ra,da,pa,sa;return jo(this,(function(ya){switch(ya.label){case 0:if(!this._qr)throw"QR code is empty";return ta="png",ra="qr",typeof Wo=="string"?(ta=Wo,console.warn("Extension is deprecated as argument for 'download' method, please pass object { name: '...', extension: '...' } as argument")):typeof Wo=="object"&&Wo!==null&&(Wo.name&&(ra=Wo.name),Wo.extension&&(ta=Wo.extension)),[4,this._getElement(ta)];case 1:return(da=ya.sent())?(ta.toLowerCase()==="svg"?(pa=new XMLSerializer,sa=`<?xml version="1.0" standalone="no"?>\r
397`+(sa=pa.serializeToString(da)),fo("data:image/svg+xml;charset=utf-8,"+encodeURIComponent(sa),ra+".svg")):fo(da.toDataURL("image/"+ta),ra+"."+ta),[2]):[2]}}))}))},Zo})()}},ro={};function no(io){if(ro[io])return ro[io].exports;var oo=ro[io]={exports:{}};return to[io](oo,oo.exports,no),oo.exports}return no.n=io=>{var oo=io&&io.__esModule?()=>io.default:()=>io;return no.d(oo,{a:oo}),oo},no.d=(io,oo)=>{for(var ao in oo)no.o(oo,ao)&&!no.o(io,ao)&&Object.defineProperty(io,ao,{enumerable:!0,get:oo[ao]})},no.o=(io,oo)=>Object.prototype.hasOwnProperty.call(io,oo),no(676)})().default}))})(qrCodeStyling);var qrCodeStylingExports=qrCodeStyling.exports;const QRCodeStyling=getDefaultExportFromCjs(qrCodeStylingExports);function _interopDefault$1s(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1r=_interopDefault$1s(reactExports),_extends$1U=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1r=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},CloseCircleIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1r(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1r.createElement("svg",_extends$1U({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1r.createElement("path",{d:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"}))},CloseCircleIcon$1=React$1r.memo?React$1r.memo(CloseCircleIcon):CloseCircleIcon,CloseCircleIcon_1=CloseCircleIcon$1;const CloseCircleIcon$2=getDefaultExportFromCjs(CloseCircleIcon_1);function _interopDefault$1r(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1q=_interopDefault$1r(reactExports),_extends$1T=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1q=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},WindowCloseIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1q(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1q.createElement("svg",_extends$1T({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1q.createElement("path",{d:"M13.46,12L19,17.54V19H17.54L12,13.46L6.46,19H5V17.54L10.54,12L5,6.46V5H6.46L12,10.54L17.54,5H19V6.46L13.46,12Z"}))},WindowCloseIcon$1=React$1q.memo?React$1q.memo(WindowCloseIcon):WindowCloseIcon,WindowCloseIcon_1=WindowCloseIcon$1;const WindowCloseIcon$2=getDefaultExportFromCjs(WindowCloseIcon_1);var ReactCodeInput$1={exports:{}};(function(Yi,eo){(function(to,ro){Yi.exports=ro(reactExports)})(typeof self<"u"?self:commonjsGlobal,function(to){return(function(ro){var no={};function io(oo){if(no[oo])return no[oo].exports;var ao=no[oo]={i:oo,l:!1,exports:{}};return ro[oo].call(ao.exports,ao,ao.exports,io),ao.l=!0,ao.exports}return io.m=ro,io.c=no,io.d=function(oo,ao,so){io.o(oo,ao)||Object.defineProperty(oo,ao,{enumerable:!0,get:so})},io.r=function(oo){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(oo,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(oo,"__esModule",{value:!0})},io.t=function(oo,ao){if(1&ao&&(oo=io(oo)),8&ao||4&ao&&typeof oo=="object"&&oo&&oo.__esModule)return oo;var so=Object.create(null);if(io.r(so),Object.defineProperty(so,"default",{enumerable:!0,value:oo}
397),2&ao&&typeof oo!="string")for(var lo in oo)io.d(so,lo,(function(co){return oo[co]}).bind(null,lo));return so},io.n=function(oo){var ao=oo&&oo.__esModule?function(){return oo.default}:function(){return oo};return io.d(ao,"a",ao),ao},io.o=function(oo,ao){return Object.prototype.hasOwnProperty.call(oo,ao)},io.p="",io(io.s=0)})([function(ro,no,io){Object.defineProperty(no,"__esModule",{value:!0});var oo=Object.assign||function(vo){for(var Co=1;Co<arguments.length;Co++){var bo=arguments[Co];for(var wo in bo)Object.prototype.hasOwnProperty.call(bo,wo)&&(vo[wo]=bo[wo])}return vo},ao=(function(){function vo(Co,bo){for(var wo=0;wo<bo.length;wo++){var yo=bo[wo];yo.enumerable=yo.enumerable||!1,yo.configurable=!0,"value"in yo&&(yo.writable=!0),Object.defineProperty(Co,yo.key,yo)}}return function(Co,bo,wo){return bo&&vo(Co.prototype,bo),wo&&vo(Co,wo),Co}})(),so=io(1),lo=ho(so),co=ho(io(2)),uo=ho(io(5)),fo=io(6);function ho(vo){return vo&&vo.__esModule?vo:{default:vo}}var mo=(function(vo){function Co(bo){(function(Vo,Lo){if(!(Vo instanceof Lo))throw new TypeError("Cannot call a class as a function")})(this,Co);var wo=(function(Vo,Lo){if(!Vo)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!Lo||typeof Lo!="object"&&typeof Lo!="function"?Vo:Lo})(this,(Co.__proto__||Object.getPrototypeOf(Co)).call(this,bo)),yo=bo.fields,Eo=bo.type,xo=bo.isValid,So=bo.disabled,To=bo.filterKeyCodes,Ro=bo.forceUppercase,Po=bo.value;Ro&&(Po=Po.toUpperCase()),wo.state={value:Po,fields:yo,type:Eo,input:[],isValid:xo,disabled:So,filterKeyCodes:To,defaultInputStyle:{fontFamily:"monospace",MozAppearance:"textfield",borderRadius:"6px",border:"1px solid",boxShadow:"0px 0px 10px 0px rgba(0,0,0,.10)",margin:"4px",paddingLeft:"8px",width:"36px",height:"42px",fontSize:"32px",boxSizing:"border-box"}};for(var zo=0;zo<Number(wo.state.fields);zo+=1)if(zo<32){var Ho=wo.state.value[zo]||"";wo.state.input.push(Ho)}return wo.textInput=[],wo.uuid=(0,fo.uuidv4)(),wo}return(function(bo,wo){if(typeof wo!="function"&&wo!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof wo);bo.prototype=Object.create(wo&&wo.prototype,{constructor:{value:bo,enumerable:!1,writable:!0,configurable:!0}}),wo&&(Object.setPrototypeOf?Object.setPrototypeOf(bo,wo):bo.__proto__=wo)})(Co,so.Component),ao(Co,[{key:"UNSAFE_componentWillReceiveProps",value:function(bo){this.setState({isValid:bo.isValid,value:bo.value,disabled:bo.disabled})}},{key:"handleBlur",value:function(bo){this.handleTouch(bo.target.value)}},{key:"handleTouch",value:function(bo){var wo=this.props,yo=wo.touch,Eo=wo.untouch,xo=wo.name;typeof yo=="function"&&typeof Eo=="function"&&(bo===""?yo(xo):Eo(xo))}},{key:"handleChange",value:function(bo){var wo=this,yo=this.props.filterChars,Eo=String(bo.target.value);this.props.forceUppercase&&(Eo=Eo.toUpperCase()),this.state.type==="number"&&(Eo=Eo.replace(/[^\d]/g,""));var xo=Eo=Eo.split("").filter(function(Ro){return!yo.includes(Ro)}).join("");if(Eo!==""){var So=this.state.input.slice();Eo.length>1?Eo.split("").map(function(Ro,Po){return Number(bo.target.dataset.id)+Po<wo.props.fields&&(So[Number(bo.target.dataset.id)+Po]=Ro),!1}):So[Number(bo.target.dataset.id)]=Eo,So.map(function(Ro,Po){return wo.textInput[Po]&&(wo.textInput[Po].value=Ro),!1});var To=this.textInput[bo.target.dataset.id<So.length?Number(bo.target.dataset.id)+1:bo.target.dataset.id];To&&(To.focus(),To.select()),xo=So.join(""),this.setState({value:So.join(""),input:So})}this.props.onChange&&xo&&this.props.onChange(xo),this.handleTouch(xo)}},{key:"handleKeyDown",value:function(bo){var wo=Number(bo.target.dataset.id),yo=this.textInput[wo+1],Eo=this.textInput[wo-1],xo=void 0,So=void 0;switch(this.state.filterKeyCodes.length>0&&this.state.filterKeyCodes.map(function(To){if(To===bo.keyCode)return bo.preventDefault(),!0}),bo.keyCode){case 8:bo.preventDefault(),this.textInput[wo].value="",(xo=this.state.input.slice())[wo]="",So=xo.join(""),this.setState({value:So,input:xo}),this.textInput[wo].value===""&&Eo&&(Eo.focus(),Eo.select()),this.props.onChange&&this.props.onChange(So);break;case 37:bo.preventDefault(),Eo&&(Eo.focus(),Eo.select());break;case 39:bo.preventDefault(),yo&&(yo.focus(),yo.select());break;case 38:case 40:bo.preventDefault();break;case 69:if(bo.target.type==="number"){bo.preventDefault();break}}this.handleTouch(So)}},{key:"render",value:function(){var bo=this,wo=this.props,yo=wo.className,Eo=wo.style,xo=Eo===void 0?{}:Eo,So=wo.inputStyle,To=So===void 0?{}:So,Ro=wo.inputStyleInvalid,Po=Ro===void 0?{}:Ro,zo=wo.type,Ho=wo.autoFocus,Vo=wo.pattern,Lo=wo.inputMode,Uo=this.state,Do=Uo.disabled,Oo=Uo.input,ko=Uo.isValid,Bo=Uo.defaultInputStyle,Fo={container:xo,input
397:ko?To:Po};return Object.assign(Fo.container,{display:"inline-block"}),yo||Object.keys(To).length!==0||Object.assign(To,oo({},Bo,{color:"black",backgroundColor:"white",borderColor:"lightgrey"})),yo||Object.keys(Po).length!==0||Object.assign(Po,oo({},Bo,{color:"#b94a48",backgroundColor:"#f2dede",borderColor:"#eed3d7"})),Do&&Object.assign(Fo.input,{cursor:"not-allowed",color:"lightgrey",borderColor:"lightgrey",backgroundColor:"#efeff1"}),lo.default.createElement("div",{className:(0,uo.default)(yo,"react-code-input"),style:Fo.container},Oo.map(function(Qo,jo){return lo.default.createElement("input",{ref:function(Xo){bo.textInput[jo]=Xo},id:bo.uuid+"-"+jo,"data-id":jo,autoFocus:Ho&&jo===0?"autoFocus":"",value:Qo,key:"input_"+jo,type:zo,min:0,max:9,maxLength:Oo.length===jo+1?1:Oo.length,style:Fo.input,autoComplete:"off",onFocus:function(Xo){return Xo.target.select(Xo)},onBlur:function(Xo){return bo.handleBlur(Xo)},onChange:function(Xo){return bo.handleChange(Xo)},onKeyDown:function(Xo){return bo.handleKeyDown(Xo)},disabled:Do,"data-valid":ko,pattern:Vo,inputMode:Lo})}))}}]),Co})();mo.defaultProps={autoFocus:!0,isValid:!0,disabled:!1,forceUppercase:!1,fields:4,value:"",type:"text",filterKeyCodes:[189,190],filterChars:["-","."]},mo.propTypes={type:co.default.oneOf(["text","number","password","tel"]),fields:co.default.number,value:co.default.string,onChange:co.default.func,name:co.default.string,touch:co.default.func,untouch:co.default.func,className:co.default.string,isValid:co.default.bool,disabled:co.default.bool,style:co.default.object,inputStyle:co.default.object,inputStyleInvalid:co.default.object,autoFocus:co.default.bool,forceUppercase:co.default.bool,filterKeyCodes:co.default.array,filterChars:co.default.array,pattern:co.default.string,inputMode:co.default.oneOf(["verbatim","latin","latin-name","latin-prose","full-width-latin","kana","kana-name","katakana","numeric","tel","email","url"])},no.default=mo},function(ro,no){ro.exports=to},function(ro,no,io){ro.exports=io(3)()},function(ro,no,io){var oo=io(4);function ao(){}ro.exports=function(){function so(uo,fo,ho,mo,vo,Co){if(Co!==oo){var bo=new 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 bo.name="Invariant Violation",bo}}function lo(){return so}so.isRequired=so;var co={array:so,bool:so,func:so,number:so,object:so,string:so,symbol:so,any:so,arrayOf:lo,element:so,instanceOf:lo,node:so,objectOf:lo,oneOf:lo,oneOfType:lo,shape:lo,exact:lo};return co.checkPropTypes=ao,co.PropTypes=co,co}},function(ro,no,io){ro.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(ro,no,io){var oo;/*!
398  Copyright (c) 2017 Jed Watson.
399  Licensed under the MIT License (MIT), see
400  http://jedwatson.github.io/classnames
401*//*!
402  Copyright (c) 2017 Jed Watson.
403  Licensed under the MIT License (MIT), see
404  http://jedwatson.github.io/classnames
405*/(function(){var ao={}.hasOwnProperty;function so(){for(var lo=[],co=0;co<arguments.length;co++){var uo=arguments[co];if(uo){var fo=typeof uo;if(fo==="string"||fo==="number")lo.push(uo);else if(Array.isArray(uo)&&uo.length){var ho=so.apply(null,uo);ho&&lo.push(ho)}else if(fo==="object")for(var mo in uo)ao.call(uo,mo)&&uo[mo]&&lo.push(mo)}}return lo.join(" ")}ro!==void 0&&ro.exports?(so.default=so,ro.exports=so):(oo=(function(){return so}).apply(no,[]))===void 0||(ro.exports=oo)})()},function(ro,no,io){Object.defineProperty(no,"__esModule",{value:!0}),no.uuidv4=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(oo){var ao=16*Math.random()|0;return(oo==="x"?ao:3&ao|8).toString(16)})}}])})})(ReactCodeInput$1);var ReactCodeInputExports=ReactCodeInput$1.exports;const ReactCodeInput=getDefaultExportFromCjs(ReactCodeInputExports);function _classCallCheck$k(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$k(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,ro.key,ro)}}function _createClass$k(Yi,eo,to){return eo&&_defineProperties$k(Yi.prototype,eo),Yi}function _inherits$h(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function");Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,writable:!0,configurable:!0}}),eo&&_setPrototypeOf$i(Yi,eo)}
405function _getPrototypeOf$h(Yi){return _getPrototypeOf$h=Object.setPrototypeOf?Object.getPrototypeOf:function(to){return to.__proto__||Object.getPrototypeOf(to)},_getPrototypeOf$h(Yi)}function _setPrototypeOf$i(Yi,eo){return _setPrototypeOf$i=Object.setPrototypeOf||function(ro,no){return ro.__proto__=no,ro},_setPrototypeOf$i(Yi,eo)}function _isNativeReflectConstruct$h(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function _assertThisInitialized$i(Yi){if(Yi===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yi}function _possibleConstructorReturn$h(Yi,eo){return eo&&(typeof eo=="object"||typeof eo=="function")?eo:_assertThisInitialized$i(Yi)}function _createSuper$3(Yi){var eo=_isNativeReflectConstruct$h();return function(){var ro=_getPrototypeOf$h(Yi),no;if(eo){var io=_getPrototypeOf$h(this).constructor;no=Reflect.construct(ro,arguments,io)}else no=ro.apply(this,arguments);return _possibleConstructorReturn$h(this,no)}}function _toConsumableArray$b(Yi){return _arrayWithoutHoles$b(Yi)||_iterableToArray$c(Yi)||_unsupportedIterableToArray$j(Yi)||_nonIterableSpread$b()}function _arrayWithoutHoles$b(Yi){if(Array.isArray(Yi))return _arrayLikeToArray$j(Yi)}function _iterableToArray$c(Yi){if(typeof Symbol<"u"&&Symbol.iterator in Object(Yi))return Array.from(Yi)}function _unsupportedIterableToArray$j(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$j(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray$j(Yi,eo)}}function _arrayLikeToArray$j(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}function _nonIterableSpread$b(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
406In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zeroPad(Yi){var eo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,to=String(Yi);if(eo===0)return to;var ro=to.match(/(.*?)([0-9]+)(.*)/),no=ro?ro[1]:"",io=ro?ro[3]:"",oo=ro?ro[2]:to,ao=oo.length>=eo?oo:(_toConsumableArray$b(Array(eo)).map(function(){return"0"}).join("")+oo).slice(eo*-1);return"".concat(no).concat(ao).concat(io)}var timeDeltaFormatOptionsDefaults={daysInHours:!1,zeroPadTime:2};function calcTimeDelta(Yi){var eo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},to=eo.now,ro=to===void 0?Date.now:to,no=eo.precision,io=no===void 0?0:no,oo=eo.controlled,ao=eo.offsetTime,so=ao===void 0?0:ao,lo=eo.overtime,co;typeof Yi=="string"?co=new Date(Yi).getTime():Yi instanceof Date?co=Yi.getTime():co=Yi,oo||(co+=so);var uo=oo?co:co-ro(),fo=Math.min(20,Math.max(0,io)),ho=Math.round(parseFloat(((lo?uo:Math.max(0,uo))/1e3).toFixed(fo))*1e3),mo=Math.abs(ho)/1e3;return{total:ho,days:Math.floor(mo/(3600*24)),hours:Math.floor(mo/3600%24),minutes:Math.floor(mo/60%60),seconds:Math.floor(mo%60),milliseconds:Number((mo%1*1e3).toFixed()),completed:ho<=0}}function formatTimeDelta(Yi,eo){var to=Yi.days,ro=Yi.hours,no=Yi.minutes,io=Yi.seconds,oo=Object.assign(Object.assign({},timeDeltaFormatOptionsDefaults),eo),ao=oo.daysInHours,so=oo.zeroPadTime,lo=oo.zeroPadDays,co=lo===void 0?so:lo,uo=Math.min(2,so),fo=ao?zeroPad(ro+to*24,so):zeroPad(ro,uo);return{days:ao?"":zeroPad(to,co),hours:fo,minutes:zeroPad(no,uo),seconds:zeroPad(io,uo)}}var Countdown=(function(Yi){_inherits$h(to,Yi);var eo=_createSuper$3(to);function to(){var ro;return _classCallCheck$k(this,to),ro=eo.apply(this,arguments),ro.state={count:ro.props.count||3},ro.startCountdown=function(){ro.interval=window.setInterval(function(){var no=ro.state.count-1;no===0?(ro.stopCountdown(),ro.props.onComplete&&ro.props.onComplete()):ro.setState(function(io){return{count:io.count-1}})},1e3)},ro.stopCountdown=function(){clearInterval(ro.interval)},ro.addTime=function(no){ro.stopCountdown(),ro.setState(function(io){return{count:io.count+no}},ro.startCountdown)},ro}
406return _createClass$k(to,[{key:"componentDidMount",value:function(){this.startCountdown()}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval)}},{key:"render",value:function(){return this.props.children?reactExports.cloneElement(this.props.children,{count:this.state.count}):null}}]),to})(reactExports.Component);Countdown.propTypes={count:propTypesExports.number,children:propTypesExports.element,onComplete:propTypesExports.func};var Countdown$1=(function(Yi){_inherits$h(to,Yi);var eo=_createSuper$3(to);function to(ro){var no;if(_classCallCheck$k(this,to),no=eo.call(this,ro),no.mounted=!1,no.initialTimestamp=no.calcOffsetStartTimestamp(),no.offsetStartTimestamp=no.props.autoStart?0:no.initialTimestamp,no.offsetTime=0,no.legacyMode=!1,no.legacyCountdownRef=null,no.tick=function(){var oo=no.calcTimeDelta(),ao=oo.completed&&!no.props.overtime?void 0:no.props.onTick;no.setTimeDeltaState(oo,void 0,ao)},no.setLegacyCountdownRef=function(oo){no.legacyCountdownRef=oo},no.start=function(){if(!no.isStarted()){var oo=no.offsetStartTimestamp;no.offsetStartTimestamp=0,no.offsetTime+=oo?no.calcOffsetStartTimestamp()-oo:0;var ao=no.calcTimeDelta();no.setTimeDeltaState(ao,"STARTED",no.props.onStart),!no.props.controlled&&(!ao.completed||no.props.overtime)&&(no.clearTimer(),no.interval=window.setInterval(no.tick,no.props.intervalDelay))}},no.pause=function(){no.isPaused()||(no.clearTimer(),no.offsetStartTimestamp=no.calcOffsetStartTimestamp(),no.setTimeDeltaState(no.state.timeDelta,"PAUSED",no.props.onPause))},no.stop=function(){no.isStopped()||(no.clearTimer(),no.offsetStartTimestamp=no.calcOffsetStartTimestamp(),no.offsetTime=no.offsetStartTimestamp-no.initialTimestamp,no.setTimeDeltaState(no.calcTimeDelta(),"STOPPED",no.props.onStop))},no.isStarted=function(){return no.isStatus("STARTED")},no.isPaused=function(){return no.isStatus("PAUSED")},no.isStopped=function(){return no.isStatus("STOPPED")},no.isCompleted=function(){return no.isStatus("COMPLETED")},ro.date){var io=no.calcTimeDelta();
406no.state={timeDelta:io,status:io.completed?"COMPLETED":"STOPPED"}}else no.legacyMode=!0;return no}return _createClass$k(to,[{key:"componentDidMount",value:function(){this.legacyMode||(this.mounted=!0,this.props.onMount&&this.props.onMount(this.calcTimeDelta()),this.props.autoStart&&this.start())}},{key:"componentDidUpdate",value:function(no){this.legacyMode||this.props.date!==no.date&&(this.initialTimestamp=this.calcOffsetStartTimestamp(),this.offsetStartTimestamp=this.initialTimestamp,this.offsetTime=0,this.setTimeDeltaState(this.calcTimeDelta()))}},{key:"componentWillUnmount",value:function(){this.legacyMode||(this.mounted=!1,this.clearTimer())}},{key:"calcTimeDelta",value:function(){var no=this.props,io=no.date,oo=no.now,ao=no.precision,so=no.controlled,lo=no.overtime;return calcTimeDelta(io,{now:oo,precision:ao,controlled:so,offsetTime:this.offsetTime,overtime:lo})}},{key:"calcOffsetStartTimestamp",value:function(){return Date.now()}},{key:"addTime",value:function(no){this.legacyCountdownRef.addTime(no)}},{key:"clearTimer",value:function(){window.clearInterval(this.interval)}},{key:"isStatus",value:function(no){return this.state.status===no}},{key:"setTimeDeltaState",value:function(no,io,oo){var ao=this;if(this.mounted){var so=no.completed&&!this.state.timeDelta.completed,lo=no.completed&&io==="STARTED";so&&!this.props.overtime&&this.clearTimer();var co=function(){oo&&oo(ao.state.timeDelta),ao.props.onComplete&&(so||lo)&&ao.props.onComplete(no,lo)};return this.setState(function(uo){var fo=io||uo.status;return no.completed&&!ao.props.overtime?fo="COMPLETED":!io&&fo==="COMPLETED"&&(fo="STOPPED"),{timeDelta:no,status:fo}},co)}}},{key:"getApi",value:function(){return this.api=this.api||{start:this.start,pause:this.pause,stop:this.stop,isStarted:this.isStarted,isPaused:this.isPaused,isStopped:this.isStopped,isCompleted:this.isCompleted}}},{key:"getRenderProps",value:function(){var no=this.props,io=no.daysInHours,oo=no.zeroPadTime,ao=no.zeroPadDays,so=this.state.timeDelta;return Object.assign(Object.assign({},so),{api:this.getApi(),props:this.props,formatted:formatTimeDelta(so,{daysInHours:io,zeroPadTime:oo,zeroPadDays:ao})})}},{key:"render",value:function(){if(this.legacyMode){var no=this.props,io=no.count,oo=no.children,ao=no.onComplete;return reactExports.createElement(Countdown,{ref:this.setLegacyCountdownRef,count:io,onComplete:ao},oo)}var so=this.props,lo=so.className,co=so.overtime,uo=so.children,fo=so.renderer,ho=this.getRenderProps();if(fo)return fo(ho);if(uo&&this.state.timeDelta.completed&&!co)return reactExports.cloneElement(uo,{countdown:ho});var mo=ho.formatted,vo=mo.days,Co=mo.hours,bo=mo.minutes,wo=mo.seconds;return reactExports.createElement("span",{className:lo},ho.total<0?"-":"",vo,vo?":":"",Co,":",bo,":",wo)}}]),to})(reactExports.Component);Countdown$1.defaultProps=Object.assign(Object.assign({},timeDeltaFormatOptionsDefaults),{controlled:!1,intervalDelay:1e3,precision:0,autoStart:!0});Countdown$1.propTypes={date:propTypesExports.oneOfType([propTypesExports.instanceOf(Date),propTypesExports.string,propTypesExports.number]),daysInHours:propTypesExports.bool,zeroPadTime:propTypesExports.number,zeroPadDays:propTypesExports.number,controlled:propTypesExports.bool,intervalDelay:propTypesExports.number,precision:propTypesExports.number,autoStart:propTypesExports.bool,overtime:propTypesExports.bool,className:propTypesExports.string,children:propTypesExports.element,renderer:propTypesExports.func,now:propTypesExports.func,onMount:propTypesExports.func,onStart:propTypesExports.func,onPause:propTypesExports.func,onStop:propTypesExports.func,onTick:propTypesExports.func,onComplete:propTypesExports.func};function _interopDefault$1q(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1p=_interopDefault$1q(reactExports),_extends$1S=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1p=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},AppleIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1p(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1p.createElement("svg",_extends$1S({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1p.createElement("path",{d:"M18.71,19.5C17.88,20.74 17,21.95 15.66,21.97C14.32,22 13.89,21.18 12.37,21.18C10.84,21.18 10.37,21.95 9.1,22C7.79,22.05 6.8,20.68 5.96,19.47C4.25,17 2.94,12.45 4.7,9.39C5.57,7.87 7.13,6.91 8.82,6.88C10.1,6.86 11.32,7.75 12.11,7.75C12.89,7.75 14.37,6.68 15.92,6.84C16.57,6.87 18.39,7.1 19.56,8.82C19.47,8.88 17.39,10.1 17.41,12.63C17.44,15.65 20.06,16.66 20.09,16.67C20.06,16.74 19.67,18.11 18.71,19.5M13,3.5C13.73,2.67 14.94,2.04 15.94,2C16.07,3.17 15.6,4.35 14.9,5.19C14.21,6.04 13.07,6.7 11.95,6.61C11.8,5.46 12.36,4.26 13,3.5Z"}))},AppleIcon$1=React$1p.memo?React$1p.memo(AppleIcon):AppleIcon,AppleIcon_1=AppleIcon$1;const AppleIcon$2=getDefaultExportFromCjs(AppleIcon_1);function _interopDefault$1p(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1o=_interopDefault$1p(reactExports),_extends$1R=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1o=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},BankIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1o(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1o.createElement("svg",_extends$1R({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1o.createElement("path",{d:"M11.5,1L2,6V8H21V6M16,10V17H19V10M2,22H21V19H2M10,10V17H13V10M4,10V17H7V10H4Z"}))},BankIcon$1=React$1o.memo?React$1o.memo(BankIcon):BankIcon,BankIcon_1=BankIcon$1;const BankIcon$2=getDefaultExportFromCjs(BankIcon_1);function _interopDefault$1o(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1n=_interopDefault$1o(reactExports),_extends$1Q=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1n=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},WalletGiftcardIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1n(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1n.createElement("svg",_extends$1Q({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1n.createElement("path",{d:"M20,14H4V8H9.08L7,10.83L8.62,12L11,8.76L12,7.4L13,8.76L15.38,12L17,10.83L14.92,8H20M20,19H4V17H20M9,4A1,1 0 0,1 10,5A1,1 0 0,1 9,6A1,1 0 0,1 8,5A1,1 0 0,1 9,4M15,4A1,1 0 0,1 16,5A1,1 0 0,1 15,6A1,1 0 0,1 14,5A1,1 0 0,1 15,4M20,6H17.82C17.93,5.69 18,5.35 18,5A3,3 0 0,0 15,2C13.95,2 13.04,2.54 12.5,3.35L12,4L11.5,3.34C10.96,2.54 10.05,2 9,2A3,3 0 0,0 6,5C6,5.35 6.07,5.69 6.18,6H4C2.89,6 2,6.89 2,8V19C2,20.11 2.89,21 4,21H20C21.11,21 22,20.11 22,19V8C22,6.89 21.11,6 20,6Z"}))},WalletGiftcardIcon$1=React$1n.memo?React$1n.memo(WalletGiftcardIcon):WalletGiftcardIcon,WalletGiftcardIcon_1=WalletGiftcardIcon$1;const WalletGiftcardIcon$2=getDefaultExportFromCjs(WalletGiftcardIcon_1);function _interopDefault$1n(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1m=_interopDefault$1n(reactExports),_extends$1P=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1m=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},BedIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1m(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1m.createElement("svg",_extends$1P({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1m.createElement("path",{d:"M19,7H11V14H3V5H1V20H3V17H21V20H23V11A4,4 0 0,0 19,7M7,13A3,3 0 0,0 10,10A3,3 0 0,0 7,7A3,3 0 0,0 4,10A3,3 0 0,0 7,13Z"}))},BedIcon$1=React$1m.memo?React$1m.memo(BedIcon):BedIcon,BedIcon_1=BedIcon$1;const BedIcon$2=getDefaultExportFromCjs(BedIcon_1);function _interopDefault$1m(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1l=_interopDefault$1m(reactExports),_extends$1O=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1l=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},MobilePhoneIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1l(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1l.createElement("svg",_extends$1O({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1l.createElement("path",{d:"M17,19H7V5H17M17,1H7C5.89,1 5,1.89 5,3V21A2,2 0 0,0 7,23H17A2,2 0 0,0 19,21V3C19,1.89 18.1,1 17,1Z"}))},MobilePhoneIcon$1=React$1l.memo?React$1l.memo(MobilePhoneIcon):MobilePhoneIcon,MobilePhoneIcon_1=MobilePhoneIcon$1;const MobilePhoneIcon$2=getDefaultExportFromCjs(MobilePhoneIcon_1);function _interopDefault$1l(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1k=_interopDefault$1l(reactExports),_extends$1N=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1k=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},SackPercentIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1k(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1k.createElement("svg",_extends$1N({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1k.createElement("path",{d:"M8,7L6,2L10,4L12,2L14,4L18,2L16,7H8M16,22C10,22 8,22 8,22C2,22 3,18 3,18C3,18 4,11 8,9H16C20,11 21,18 21,18C21,18 22,22 16,22M7.5,12.5A1.5,1.5 0 0,0 9,14A1.5,1.5 0 0,0 10.5,12.5A1.5,1.5 0 0,0 9,11A1.5,1.5 0 0,0 7.5,12.5M16.5,18.5A1.5,1.5 0 0,0 15,17A1.5,1.5 0 0,0 13.5,18.5A1.5,1.5 0 0,0 15,20A1.5,1.5 0 0,0 16.5,18.5M16.5,12.35L15.15,11L7.5,18.65L8.87,20L16.5,12.35Z"}))},SackPercentIcon$1=React$1k.memo?React$1k.memo(SackPercentIcon):SackPercentIcon,SackPercentIcon_1=SackPercentIcon$1;const SackPercentIcon$2=getDefaultExportFromCjs(SackPercentIcon_1);
406function _interopDefault$1k(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1j=_interopDefault$1k(reactExports),_extends$1M=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1j=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},CreditCardWirelessOutlineIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1j(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1j.createElement("svg",_extends$1M({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1j.createElement("path",{d:"M18,11H6A2,2 0 0,0 4,13V21A2,2 0 0,0 6,23H18A2,2 0 0,0 20,21V13A2,2 0 0,0 18,11M18,21H6V17H18V21M18,15H6V13H18V15M4.93,4.92L6.34,6.33C9.46,3.2 14.53,3.2 17.66,6.33L19.07,4.92C15.17,1 8.84,1 4.93,4.92M7.76,7.75L9.17,9.16C10.73,7.6 13.26,7.6 14.83,9.16L16.24,7.75C13.9,5.41 10.1,5.41 7.76,7.75Z"}))},CreditCardWirelessOutlineIcon$1=React$1j.memo?React$1j.memo(CreditCardWirelessOutlineIcon):CreditCardWirelessOutlineIcon,CreditCardWirelessOutlineIcon_1=CreditCardWirelessOutlineIcon$1;const CreditCardWirelessOutlineIcon$2=getDefaultExportFromCjs(CreditCardWirelessOutlineIcon_1);function _interopDefault$1j(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1i=_interopDefault$1j(reactExports),_extends$1L=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1i=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},CardGiftcardIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1i(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1i.createElement("svg",_extends$1L({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1i.createElement("path",{d:"M20,14H4V8H9.08L7,10.83L8.62,12L11,8.76L12,7.4L13,8.76L15.38,12L17,10.83L14.92,8H20M20,19H4V17H20M9,4A1,1 0 0,1 10,5A1,1 0 0,1 9,6A1,1 0 0,1 8,5A1,1 0 0,1 9,4M15,4A1,1 0 0,1 16,5A1,1 0 0,1 15,6A1,1 0 0,1 14,5A1,1 0 0,1 15,4M20,6H17.82C17.93,5.69 18,5.35 18,5A3,3 0 0,0 15,2C13.95,2 13.04,2.54 12.5,3.35L12,4L11.5,3.34C10.96,2.54 10.05,2 9,2A3,3 0 0,0 6,5C6,5.35 6.07,5.69 6.18,6H4C2.89,6 2,6.89 2,8V19C2,20.11 2.89,21 4,21H20C21.11,21 22,20.11 22,19V8C22,6.89 21.11,6 20,6Z"}))},CardGiftcardIcon$1=React$1i.memo?React$1i.memo(CardGiftcardIcon):CardGiftcardIcon,CardGiftcardIcon_1=CardGiftcardIcon$1;const CardGiftcardIcon$2=getDefaultExportFromCjs(CardGiftcardIcon_1);function _interopDefault$1i(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1h=_interopDefault$1i(reactExports),_extends$1K=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1h=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},ExpandMoreIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1h(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1h.createElement("svg",_extends$1K({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1h.createElement("path",{d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"}))},ExpandMoreIcon$1=React$1h.memo?React$1h.memo(ExpandMoreIcon):ExpandMoreIcon,ExpandMoreIcon_1=ExpandMoreIcon$1;const ExpandMoreIcon$2=getDefaultExportFromCjs(ExpandMoreIcon_1);/*!
407 * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
408 * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
409 * Released under MIT License
410 *//*! *****************************************************************************
411Copyright (c) Microsoft Corporation.
412
413Permission to use, copy, modify, and/or distribute this software for any
414purpose with or without fee is hereby granted.
415
416THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
417REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
418AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
419INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
420LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
421OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
422PERFORMANCE OF THIS SOFTWARE.
423***************************************************************************** */var extendStatics=function(Yi,eo){return extendStatics=Object.
vendor: 4,315 bytes, line 423
423setPrototypeOf||{__proto__:[]}instanceof Array&&function(to,ro){to.__proto__=ro}||function(to,ro){for(var no in ro)Object.prototype.hasOwnProperty.call(ro,no)&&(to[no]=ro[no])},extendStatics(Yi,eo)};function __extends(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Class extends value "+String(eo)+" is not a constructor or null");extendStatics(Yi,eo);function to(){this.constructor=Yi}Yi.prototype=eo===null?Object.create(eo):(to.prototype=eo.prototype,new to)}var __assign=function(){return __assign=Object.assign||function(eo){for(var to,ro=1,no=arguments.length;ro<no;ro++){to=arguments[ro];for(var io in to)Object.prototype.hasOwnProperty.call(to,io)&&(eo[io]=to[io])}return eo},__assign.apply(this,arguments)};function __awaiter$2(Yi,eo,to,ro){function no(io){return io instanceof to?io:new to(function(oo){oo(io)})}return new(to||(to=Promise))(function(io,oo){function ao(co){try{lo(ro.next(co))}catch(uo){oo(uo)}}function so(co){try{lo(ro.throw(co))}catch(uo){oo(uo)}}function lo(co){co.done?io(co.value):no(co.value).then(ao,so)}lo((ro=ro.apply(Yi,[])).next())})}function __generator(Yi,eo){var to={label:0,sent:function(){if(io[0]&1)throw io[1];return io[1]},trys:[],ops:[]},ro,no,io,oo;return oo={next:ao(0),throw:ao(1),return:ao(2)},typeof Symbol=="function"&&(oo[Symbol.iterator]=function(){return this}),oo;function ao(lo){return function(co){return so([lo,co])}}function so(lo){if(ro)throw new TypeError("Generator is already executing.");for(;to;)try{if(ro=1,no&&(io=lo[0]&2?no.return:lo[0]?no.throw||((io=no.return)&&io.call(no),0):no.next)&&!(io=io.call(no,lo[1])).done)return io;switch(no=0,io&&(lo=[lo[0]&2,io.value]),lo[0]){case 0:case 1:io=lo;break;case 4:return to.label++,{value:lo[1],done:!1};case 5:to.label++,no=lo[1],lo=[0];continue;case 7:lo=to.ops.pop(),to.trys.pop();continue;default:if(io=to.trys,!(io=io.length>0&&io[io.length-1])&&(lo[0]===6||lo[0]===2)){to=0;continue}if(lo[0]===3&&(!io||lo[1]>io[0]&&lo[1]<io[3])){to.label=lo[1];break}if(lo[0]===6&&to.label<io[1]){to.label=io[1],io=lo;break}if(io&&to.label<io[2]){to.label=io[2],to.ops.push(lo);break}io[2]&&to.ops.pop(),to.trys.pop();continue}lo=eo.call(Yi,to)}catch(co){lo=[6,co],no=0}finally{ro=io=0}if(lo[0]&5)throw lo[1];return{value:lo[0]?lo[1]:void 0,done:!0}}}function __spreadArray(Yi,eo,to){if(arguments.length===2)for(var ro=0,no=eo.length,io;ro<no;ro++)(io||!(ro in eo))&&(io||(io=Array.prototype.slice.call(eo,0,ro)),io[ro]=eo[ro]);return Yi.concat(io||eo)}var Bounds=(function(){function Yi(eo,to,ro,no){this.left=eo,this.top=to,this.width=ro,this.height=no}return Yi.prototype.add=function(eo,to,ro,no){return new Yi(this.left+eo,this.top+to,this.width+ro,this.height+no)},Yi.fromClientRect=function(eo,to){return new Yi(to.left+eo.windowBounds.left,to.top+eo.windowBounds.top,to.width,to.height)},Yi.fromDOMRectList=function(eo,to){var ro=Array.from(to).find(function(no){return no.width!==0});return ro?new Yi(ro.left+eo.windowBounds.left,ro.top+eo.windowBounds.top,ro.width,ro.height):Yi.EMPTY},Yi.EMPTY=new Yi(0,0,0,0),Yi})(),parseBounds=function(Yi,eo){return Bounds.fromClientRect(Yi,eo.getBoundingClientRect())},parseDocumentSize=function(Yi){var eo=Yi.body,to=Yi.documentElement;if(!eo||!to)throw new Error("Unable to get document size");var ro=Math.max(Math.max(eo.scrollWidth,to.scrollWidth),Math.max(eo.offsetWidth,to.offsetWidth),Math.max(eo.clientWidth,to.clientWidth)),no=Math.max(Math.max(eo.scrollHeight,to.scrollHeight),Math.max(eo.offsetHeight,to.offsetHeight),Math.max(eo.clientHeight,to.clientHeight));return new Bounds(0,0,ro,no)},toCodePoints$1=function(Yi){for(var eo=[],to=0,ro=Yi.length;to<ro;){var no=Yi.charCodeAt(to++);if(no>=55296&&no<=56319&&to<ro){var io=Yi.charCodeAt(to++);(io&64512)===56320?eo.push(((no&1023)<<10)+(io&1023)+65536):(eo.push(no),to--)}else eo.push(no)}return eo},fromCodePoint$1=function(){for(var Yi=[],eo=0;eo<arguments.length;eo++)Yi[eo]=arguments[eo];if(String.fromCodePoint)return String.fromCodePoint.apply(String,Yi);var to=Yi.length;if(!to)return"";for(var ro=[],no=-1,io="";++no<to;){var oo=Yi[no];oo<=65535?ro.push(oo):(oo-=65536,ro.push((oo>>10)+55296,oo%1024+56320)),(no+1===to||ro.length>16384)&&(io+=String.fromCharCode.apply(String,ro),ro.length=0)}return io},chars$2="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
423+/",lookup$2=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var i$2=0;i$2<chars$2.length;i$2++)lookup$2[chars$2.charCodeAt(i$2)]=i$2;var chars$1$1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lookup$1$1=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var i$1$1=0;i$1$1<chars$1$1.length;i$1$1++)lookup$1$1[chars$1$1.charCodeAt(i$1$1)]=i$1$1;var decode$1=function(Yi){var eo=Yi.length*.75,to=Yi.length,ro,no=0,io,oo,ao,so;Yi[Yi.length-1]==="="&&(eo--,Yi[Yi.length-2]==="="&&eo--);var lo=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(eo):new Array(eo),co=Array.isArray(lo)?lo:new Uint8Array(lo);for(ro=0;ro<to;ro+=4)io=lookup$1$1[Yi.charCodeAt(ro)],oo=lookup$1$1[Yi.charCodeAt(ro+1)],ao=lookup$1$1[Yi.charCodeAt(ro+2)],so=lookup$1$1[Yi.charCodeAt(ro+3)],co[no++]=io<<2|oo>>4,co[no++]=(oo&15)<<4|ao>>2,co[no++]=(ao&3)<<6|so&63;return lo},polyUint16Array$1=function(Yi){for(var eo=Yi.length,to=[],ro=0;ro<eo;ro+=2)to.push(Yi[ro+1]<<8|Yi[ro]);return to},polyUint32Array$1=function(Yi){for(var eo=Yi.length,to=[],ro=0;ro<eo;ro+=4)to.push(Yi[ro+3]<<24|Yi[ro+2]<<16|Yi[ro+1]<<8|Yi[ro]);return to},UTRIE2_SHIFT_2$1=5,UTRIE2_SHIFT_1$1=11,UTRIE2_INDEX_SHIFT$1=2,UTRIE2_SHIFT_1_2$1=UTRIE2_SHIFT_1$1-UTRIE2_SHIFT_2$1,UTRIE2_LSCP_INDEX_2_OFFSET$1=65536>>UTRIE2_SHIFT_2$1,UTRIE2_DATA_BLOCK_LENGTH$1=1<<UTRIE2_SHIFT_2$1,UTRIE2_DATA_MASK$1=UTRIE2_DATA_BLOCK_LENGTH$1-1,UTRIE2_LSCP_INDEX_2_LENGTH$1=1024>>UTRIE2_SHIFT_2$1,UTRIE2_INDEX_2_BMP_LENGTH$1=UTRIE2_LSCP_INDEX_2_OFFSET$1+UTRIE2_LSCP_INDEX_2_LENGTH$1,UTRIE2_UTF8_2B_INDEX_2_OFFSET$1=UTRIE2_INDEX_2_BMP_LENGTH$1,UTRIE2_UTF8_2B_INDEX_2_LENGTH$1=32,UTRIE2_INDEX_1_OFFSET$1=UTRIE2_UTF8_2B_INDEX_2_OFFSET$1+UTRIE2_UTF8_2B_INDEX_2_LENGTH$1,UTRIE2_OMITTED_BMP_INDEX_1_LENGTH$1=65536>>UTRIE2_SHIFT_1$1,UTRIE2_INDEX_2_BLOCK_LENGTH$1=1<<UTRIE2_SHIFT_1_2$1,UTRIE2_INDEX_2_MASK$1=UTRIE2_INDEX_2_BLOCK_LENGTH$1-1,slice16$1=function(Yi,eo,to){return Yi.slice?Yi.slice(eo,to):new Uint16Array(Array.prototype.slice.call(Yi,eo,to))},slice32$1=function(Yi,eo,to){return Yi.slice?Yi.slice(eo,to):new Uint32Array(Array.prototype.slice.call(Yi,eo,to))},createTrieFromBase64$1=function(Yi,eo){var to=decode$1(Yi),ro=Array.isArray(to)?polyUint32Array$1(to):new Uint32Array(to),no=Array.isArray(to)?polyUint16Array$1(to):new Uint16Array(to),io=24,oo=slice16$1(no,io/2,ro[4]/2),ao=ro[5]===2?slice16$1(no,(io+ro[4])/2):slice32$1(ro,Math.ceil((io+ro[4])/4));return new Trie$1(ro[0],ro[1],ro[2],ro[3],oo,ao)},Trie$1=(function(){function Yi(eo,to,ro,no,io,oo){this.initialValue=eo,this.errorValue=to,this.highStart=ro,this.highValueIndex=no,this.index=io,this.data=oo}return Yi.prototype.get=function(eo){var to;if(eo>=0){if(eo<55296||eo>56319&&eo<=65535)return to=this.index[eo>>UTRIE2_SHIFT_2$1],to=(to<<UTRIE2_INDEX_SHIFT$1)+(eo&UTRIE2_DATA_MASK$1),this.data[to];if(eo<=65535)return to=this.index[UTRIE2_LSCP_INDEX_2_OFFSET$1+(eo-55296>>UTRIE2_SHIFT_2$1)],to=(to<<UTRIE2_INDEX_SHIFT$1)+(eo&UTRIE2_DATA_MASK$1),this.data[to];if(eo<this.highStart)return to=UTRIE2_INDEX_1_OFFSET$1-UTRIE2_OMITTED_BMP_INDEX_1_LENGTH$1+(eo>>UTRIE2_SHIFT_1$1),to=this.index[to],to+=eo>>UTRIE2_SHIFT_2$1&UTRIE2_INDEX_2_MASK$1,to=this.index[to],to=(to<<UTRIE2_INDEX_SHIFT$1)+(eo&UTRIE2_DATA_MASK$1),this.data[to];if(eo<=1114111)return this.data[this.highValueIndex]}return this.errorValue},Yi})(),chars$3="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lookup$3=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var i$3=0;i$3<chars$3.length;i$3++)lookup$3[chars$3.charCodeAt(i$3)]=i$3;var base64$1$1="
vendor: 5,502 bytes, line 423
423KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCI
vendor: 47,388 bytes, line 423
423IIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",
vendor: 42,188 bytes, line 423
423LETTER_NUMBER_MODIFIER=50,BK=1,CR$1=2,LF$1=3,CM=4,NL=5,WJ=7,ZW=8,GL=9,SP=10,ZWJ$1=11,B2=12,BA=13,BB=14,HY=15,CB=16,CL=17,CP=18,EX=19,IN=20,NS=21,OP=22,QU=23,IS=24,NU=25,PO=26,PR=27,SY=28,AI=29,AL=30,CJ=31,EB=32,EM=33,H2=34,H3=35,HL=36,ID=37,JL=38,JV=39,JT=40,RI$1=41,SA=42,XX=43,ea_OP=[9001,65288],BREAK_MANDATORY="!",BREAK_NOT_ALLOWED$1="×",BREAK_ALLOWED$1="÷",UnicodeTrie$1=createTrieFromBase64$1(base64$1$1),ALPHABETICS=[AL,HL],HARD_LINE_BREAKS=[BK,CR$1,LF$1,NL],SPACE$1=[SP,ZW],PREFIX_POSTFIX=[PR,PO],LINE_BREAKS=HARD_LINE_BREAKS.concat(SPACE$1),KOREAN_SYLLABLE_BLOCK=[JL,JV,JT,H2,H3],HYPHEN=[HY,BA],codePointsToCharacterClasses=function(Yi,eo){eo===void 0&&(eo="strict");var to=[],ro=[],no=[];return Yi.forEach(function(io,oo){var ao=UnicodeTrie$1.get(io);if(ao>LETTER_NUMBER_MODIFIER?(no.push(!0),ao-=LETTER_NUMBER_MODIFIER):no.push(!1),["normal","auto","loose"].indexOf(eo)!==-1&&[8208,8211,12316,12448].indexOf(io)!==-1)return ro.push(oo),to.push(CB);if(ao===CM||ao===ZWJ$1){if(oo===0)return ro.push(oo),to.push(AL);var so=to[oo-1];return LINE_BREAKS.indexOf(so)===-1?(ro.push(ro[oo-1]),to.push(so)):(ro.push(oo),to.push(AL))}if(ro.push(oo),ao===CJ)return to.push(eo==="strict"?NS:ID);if(ao===SA||ao===AI)return to.push(AL);if(ao===XX)return io>=131072&&io<=196605||io>=196608&&io<=262141?to.push(ID):to.push(AL);to.push(ao)}),[ro,to,no]},isAdjacentWithSpaceIgnored=function(Yi,eo,to,ro){var no=ro[to];if(Array.isArray(Yi)?Yi.indexOf(no)!==-1:Yi===no)for(var io=to;io<=ro.length;){io++;var oo=ro[io];if(oo===eo)return!0;if(oo!==SP)break}if(no===SP)for(var io=to;io>0;){io--;var ao=ro[io];if(Array.isArray(Yi)?Yi.indexOf(ao)!==-1:Yi===ao)for(var so=to;so<=ro.length;){so++;var oo=ro[so];if(oo===eo)return!0;if(oo!==SP)break}if(ao!==SP)break}return!1},previousNonSpaceClassType=function(Yi,eo){for(var to=Yi;to>=0;){var ro=eo[to];if(ro===SP)to--;else return ro}return 0},_lineBreakAtIndex=function(Yi,eo,to,ro,no){if(to[ro]===0)return BREAK_NOT_ALLOWED$1;var io=ro-1;if(Array.isArray(no)&&no[io]===!0)return BREAK_NOT_ALLOWED$1;var oo=io-1,ao=io+1,so=eo[io],lo=oo>=0?eo[oo]:0,co=eo[ao];if(so===CR$1&&co===LF$1)return BREAK_NOT_ALLOWED$1;if(HARD_LINE_BREAKS.indexOf(so)!==-1)return BREAK_MANDATORY;if(HARD_LINE_BREAKS.indexOf(co)!==-1||SPACE$1.indexOf(co)!==-1)return BREAK_NOT_ALLOWED$1;if(previousNonSpaceClassType(io,eo)===ZW)return BREAK_ALLOWED$1;if(UnicodeTrie$1.get(Yi[io])===ZWJ$1||(so===EB||so===EM)&&UnicodeTrie$1.get(Yi[ao])===ZWJ$1||so===WJ||co===WJ||so===GL||[SP,BA,HY].indexOf(so)===-1&&co===GL||[CL,CP,EX,IS,SY].indexOf(co)!==-1||previousNonSpaceClassType(io,eo)===OP||isAdjacentWithSpaceIgnored(QU,OP,io,eo)||isAdjacentWithSpaceIgnored([CL,CP],NS,io,eo)||isAdjacentWithSpaceIgnored(B2,B2,io,eo))return BREAK_NOT_ALLOWED$1;if(so===SP)return BREAK_ALLOWED$1;if(so===QU||co===QU)return BREAK_NOT_ALLOWED$1;if(co===CB||so===CB)return BREAK_ALLOWED$1;if([BA,HY,NS].indexOf(co)!==-1||so===BB||lo===HL&&HYPHEN.indexOf(so)!==-1||so===SY&&co===HL||co===IN||ALPHABETICS.indexOf(co)!==-1&&so===NU||ALPHABETICS.indexOf(so)!==-1&&co===NU||so===PR&&[ID,EB,EM].indexOf(co)!==-1||[ID,EB,EM].indexOf(so)!==-1&&co===PO||ALPHABETICS.indexOf(so)!==-1&&PREFIX_POSTFIX.indexOf(co)!==-1||PREFIX_POSTFIX.indexOf(so)!==-1&&ALPHABETICS.indexOf(co)!==-1||[PR,PO].indexOf(so)!==-1&&(co===NU||[OP,HY].indexOf(co)!==-1&&eo[ao+1]===NU)||[OP,HY].indexOf(so)!==-1&&co===NU||so===NU&&[NU,SY,IS].indexOf(co)!==-1)return BREAK_NOT_ALLOWED$1;if([NU,SY,IS,CL,CP].indexOf(co)!==-1)for(var uo=io;uo>=0;){var fo=eo[uo];if(fo===NU)return BREAK_NOT_ALLOWED$1;if([SY,IS].indexOf(fo)!==-1)uo--;else break}if([PR,PO].indexOf(co)!==-1)for(var uo=[CL,CP].indexOf(so)!==-1?oo:io;uo>=0;){var fo=eo[uo];if(fo===NU)return BREAK_NOT_ALLOWED$1;if([SY,IS].indexOf(fo)!==-1)uo--;else break}if(JL===so&&[JL,JV,H2,H3].indexOf(co)!==-1||[JV,H2].indexOf(so)!==-1&&[JV,JT].indexOf(co)!==-1||[JT,H3].indexOf(so)!==-1&&co===JT||KOREAN_SYLLABLE_BLOCK.indexOf(so)!==-1&&[IN,PO].indexOf(co)!==-1||KOREAN_SYLLABLE_BLOCK.indexOf(co)!==-1&&so===PR||ALPHABETICS.indexOf(so)!==-1&&ALPHABETICS.indexOf(co)!==-1||so===IS&&ALPHABETICS.indexOf(co)!==-1||ALPHABETICS.concat(NU).indexOf(so)!==-1&&co===OP&&ea_OP.indexOf(Yi[ao])===-1||ALPHABETICS.concat(NU).indexOf(co)!==-1&&so===CP)return BREAK_NOT_ALLOWED$1;if(so===RI$1&&co===RI$1){for(var ho=to[io],mo=1;ho>0&&(ho--,eo[ho]===RI$1);)mo++;if(mo%2!==0)return BREAK_NOT_ALLOWED$1}return so===EB&&co===EM?BREAK_NOT_ALLOWED$1:BREAK_ALLOWED$1},cssFormattedClasses=function(Yi,eo){eo||(eo={lineBreak:"normal",wordBreak:"normal"});var to=codePointsToCharacterClasses(Yi,eo.lineBreak),ro=to[0],no=to[1],io=to[2];(eo.wordBreak==="break-all"||eo.wordBreak==="break-word")&&(no=no.map(function(ao){return[NU,AL,SA].indexOf(ao)!==-1?ID:ao}));var oo=eo.wordBreak==="keep-all"?io.map(function(ao,so){return ao&&Yi[so]>=19968&&Yi[so]<=40959}):void 0;return[ro,no,oo]},Break=(function(){function Yi(eo,to,ro,no){this.codePoints=eo,this.required=to===BREAK_MANDATORY,this.start=ro,this.end=no}return Yi.prototype.slice=function(){return fromCodePoint$1.apply(void 0,this.codePoints.slice(this.start,this.end))},Yi})(),LineBreaker=function(Yi,eo){var to=toCodePoints$1(Yi),ro=cssFormattedClasses(to,eo),no=ro[0],io=ro[1],oo=ro[2],ao=to.length,so=0,lo=0;return{next:function(){if(lo>=ao)return{done:!0,value:null};for(var co=BREAK_NOT_ALLOWED$1;lo<ao&&(co=_lineBreakAtIndex(to,io,no,++lo,oo))===BREAK_NOT_ALLOWED$1;);if(co!==BREAK_NOT_ALLOWED$1||lo===ao){var uo=new Break(to,co,so,lo);return so=lo,{value:uo,done:!1}}return{done:!0,value:null}}}},FLAG_UNRESTRICTED=1,FLAG_ID=2,FLAG_INTEGER=4,FLAG_NUMBER=8,LINE_FEED=10,SOLIDUS=47,REVERSE_SOLIDUS=92,CHARACTER_TABULATION=9,SPACE=32,QUOTATION_MARK=34,EQUALS_SIGN=61,NUMBER_SIGN=35,DOLLAR_SIGN=36,PERCENTAGE_SIGN=37,APOSTROPHE=39,LEFT_PARENTHESIS=40,RIGHT_PARENTHESIS=41,LOW_LINE=95,HYPHEN_MINUS=45,EXCLAMATION_MARK=33,LESS_THAN_SIGN=60,GREATER_THAN_SIGN=62,COMMERCIAL_AT=64,LEFT_SQUARE_BRACKET=91,RIGHT_SQUARE_BRACKET=93,CIRCUMFLEX_ACCENT=61,LEFT_CURLY_BRACKET=123,QUESTION_MARK=63,RIGHT_CURLY_BRACKET=125,VERTICAL_LINE=124,TILDE=126,CONTROL=128,REPLACEMENT_CHARACTER=65533,ASTERISK=42,PLUS_SIGN=43,COMMA=44,COLON=58,SEMICOLON=59,FULL_STOP=46,NULL=0,BACKSPACE=8,LINE_TABULATION=11,SHIFT_OUT=14,INFORMATION_SEPARATOR_ONE=31,DELETE=127,EOF=-1,ZERO=48,a$1=97,e$1=101,f=102,u=117,z=122,A=65,E=69,F=70,U$1=85,Z=90,isDigit=function(Yi){return Yi>=ZERO&&Yi<=57},isSurrogateCodePoint=function(Yi){return Yi>=55296&&Yi<=57343},isHex=function(Yi){return isDigit(Yi)||Yi>=A&&Yi<=F||Yi>=a$1&&Yi<=f},isLowerCaseLetter=function(Yi){return Yi>=a$1&&Yi<=z},isUpperCaseLetter=function(Yi){return Yi>=A&&Yi<=Z},isLetter=function(Yi){return isLowerCaseLetter(Yi)||isUpperCaseLetter(Yi)},isNonASCIICodePoint=function(Yi){return Yi>=CONTROL},isWhiteSpace=function(Yi){return Yi===LINE_FEED||Yi===CHARACTER_TABULATION||Yi===SPACE},isNameStartCodePoint=function(Yi){return isLetter(Yi)||isNonASCIICodePoint(Yi)||Yi===LOW_LINE},isNameCodePoint=function(Yi){return isNameStartCodePoint(Yi)||isDigit(Yi)||Yi===HYPHEN_MINUS},isNonPrintableCodePoint=function(Yi){return Yi>=NULL&&Yi<=BACKSPACE||Yi===LINE_TABULATION||Yi>=SHIFT_OUT&&Yi<=INFORMATION_SEPARATOR_ONE||Yi===DELETE},isValidEscape=function(Yi,eo){return Yi!==REVERSE_SOLIDUS?!1:eo!==LINE_FEED},isIdentifierStart$1=function(Yi,eo,to){return Yi===HYPHEN_MINUS?isNameStartCodePoint(eo)||isValidEscape(eo,to):isNameStartCodePoint(Yi)?!0:!!(Yi===REVERSE_SOLIDUS&&isValidEscape(Yi,eo))},isNumberStart=function(Yi,eo,to){return Yi===PLUS_SIGN||Yi===HYPHEN_MINUS?isDigit(eo)?!0:eo===FULL_STOP&&isDigit(to):isDigit(Yi===FULL_STOP?eo:Yi)},stringToNumber$1=function(Yi){var eo=0,to=1;(Yi[eo]===PLUS_SIGN||Yi[eo]===HYPHEN_MINUS)&&(Yi[eo]===HYPHEN_MINUS&&(to=-1),eo++);for(var ro=[];isDigit(Yi[eo]);)ro.push(Yi[eo++]);var no=ro.length?parseInt(fromCodePoint$1.apply(void 0,ro),10):0;Yi[eo]===FULL_STOP&&eo++;for(var io=[];isDigit(Yi[eo]);)io.push(Yi[eo++]);var oo=io.length,ao=oo?parseInt(fromCodePoint$1.apply(void 0,io),10):0;(Yi[eo]===E||Yi[eo]===e$1)&&eo++;var so=1;(Yi[eo]===PLUS_SIGN||Yi[eo]===HYPHEN_MINUS)&&(Yi[eo]===HYPHEN_MINUS&&(so=-1),eo++);for(var lo=[];isDigit(Yi[eo]);)lo.push(Yi[eo++]);var co=lo.length?parseInt(fromCodePoint$1.apply(void 0,lo),10):0;return to*(no+ao*Math.pow(10,-oo))*Math.pow(10,so*co)},LEFT_PARENTHESIS_TOKEN={type:2},RIGHT_PARENTHESIS_TOKEN={type:3},COMMA_TOKEN={type:4},SUFFIX_MATCH_TOKEN={type:13},PREFIX_MATCH_TOKEN={type:8},COLUMN_TOKEN={type:21},DASH_MATCH_TOKEN={type:9},INCLUDE_MATCH_TOKEN={type:10},LEFT_CURLY_BRACKET_TOKEN={type:11},RIGHT_CURLY_BRACKET_TOKEN={type:12},SUBSTRING_MATCH_TOKEN={type:14},BAD_URL_TOKEN={type:23},BAD_STRING_TOKEN={type:1},CDO_TOKEN={type:25},CDC_TOKEN={type:24},COLON_TOKEN={type:26},SEMICOLON_TOKEN={type:27},LEFT_SQUARE_BRACKET_TOKEN={type:28},RIGHT_SQUARE_BRACKET_TOKEN={type:29},WHITESPACE_TOKEN={type:31},EOF_TOKEN={type:32},Tokenizer=(function(){function Yi(){this._value=[]}return Yi.prototype.write=function(eo){this._value=this._value.concat(toCodePoints$1(eo))},Yi.prototype.read=function(){for(var eo=[],to=this.consumeToken();to!==EOF_TOKEN;)eo.push(to),to=this.consumeToken();return eo},Yi.prototype.consumeToken=function(){var eo=this.consumeCodePoint();switch(eo){case QUOTATION_MARK:return this.consumeStringToken(QUOTATION_MARK);case NUMBER_SIGN:var to=this.peekCodePoint(0),ro=this.peekCodePoint(1),no=this.peekCodePoint(2);if(isNameCodePoint(to)||isValidEscape(ro,no)){var io=isIdentifierStart$1(to,ro,no)?FLAG_ID:FLAG_UNRESTRICTED,oo=this.consumeName();return{type:5,value:oo,flags:io}}break;case DOLLAR_SIGN:if(this.peekCodePoint(0)===EQUALS_SIGN)return this.consumeCodePoint(),SUFFIX_MATCH_TOKEN;break;case APOSTROPHE:return this.consumeStringToken(APOSTROPHE);case LEFT_PARENTHESIS:return LEFT_PARENTHESIS_TOKEN;case RIGHT_PARENTHESIS:return RIGHT_PARENTHESIS_TOKEN;case ASTERISK:if(this.peekCodePoint(0)===EQUALS_SIGN)return this.consumeCodePoint(),SUBSTRING_MATCH_TOKEN;break;case PLUS_SIGN:if(isNumberStart(eo,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(eo),this.consumeNumericToken();break;case COMMA:return COMMA_TOKEN;case HYPHEN_MINUS:var ao=eo,so=this.peekCodePoint(0),lo=this.peekCodePoint(1);if(isNumberStart(ao,so,lo))return this.reconsumeCodePoint(eo),this.consumeNumericToken();if(isIdentifierStart$1(ao,so,lo))return this.reconsumeCodePoint(eo),this.consumeIdentLikeToken();if(so===HYPHEN_MINUS&&lo===GREATER_THAN_SIGN)return this.consumeCodePoint(),this.consumeCodePoint(),CDC_TOKEN;break;case FULL_STOP:if(isNumberStart(eo,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(eo),this.consumeNumericToken();break;case SOLIDUS:if(this.peekCodePoint(0)===ASTERISK)for(this.consumeCodePoint();;){var co=this.consumeCodePoint();if(co===ASTERISK&&(co=this.consumeCodePoint(),co===SOLIDUS))return this.consumeToken();if(co===EOF)return this.consumeToken()}break;case COLON:return COLON_TOKEN;case SEMICOLON:return SEMICOLON_TOKEN;case LESS_THAN_SIGN:if(this.peekCodePoint(0)===EXCLAMATION_MARK&&this.peekCodePoint(1)===HYPHEN_MINUS&&this.peekCodePoint(2)===HYPHEN_MINUS)return this.consumeCodePoint(),this.consumeCodePoint(),CDO_TOKEN;break;case COMMERCIAL_AT:var uo=this.peekCodePoint(0),fo=this.peekCodePoint(1),ho=this.peekCodePoint(2);if(isIdentifierStart$1(uo,fo,ho)){var oo=this.consumeName();return{type:7,value:oo}}break;case LEFT_SQUARE_BRACKET:return LEFT_SQUARE_BRACKET_TOKEN;case REVERSE_SOLIDUS:if(isValidEscape(eo,this.peekCodePoint(0)))return this.reconsumeCodePoint(eo),this.consumeIdentLikeToken();break;case RIGHT_SQUARE_BRACKET:return RIGHT_SQUARE_BRACKET_TOKEN;case CIRCUMFLEX_ACCENT:if(this.peekCodePoint(0)===EQUALS_SIGN)return this.consumeCodePoint(),PREFIX_MATCH_TOKEN;break;case LEFT_CURLY_BRACKET:return LEFT_CURLY_BRACKET_TOKEN;case RIGHT_CURLY_BRACKET:return RIGHT_CURLY_BRACKET_TOKEN;case u:case U$1:var mo=this.peekCodePoint(0),vo=this.peekCodePoint(1);return mo===PLUS_SIGN&&(isHex(vo)||vo===QUESTION_MARK)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(eo),this.consumeIdentLikeToken();case VERTICAL_LINE:if(this.peekCodePoint(0)===EQUALS_SIGN)return this.consumeCodePoint(),DASH_MATCH_TOKEN;if(this.peekCodePoint(0)===VERTICAL_LINE)return this.consumeCodePoint(),COLUMN_TOKEN;break;case TILDE:if(this.peekCodePoint(0)===EQUALS_SIGN)return this.consumeCodePoint(),INCLUDE_MATCH_TOKEN;break;case EOF:return EOF_TOKEN}return isWhiteSpace(eo)?(this.consumeWhiteSpace(),WHITESPACE_TOKEN):isDigit(eo)?(this.reconsumeCodePoint(eo),this.consumeNumericToken()):isNameStartCodePoint(eo)?(this.reconsumeCodePoint(eo),this.consumeIdentLikeToken()):{type:6,value:fromCodePoint$1(eo)}},Yi.prototype.consumeCodePoint=function(){var eo=this._value.shift();return typeof eo>"u"?-1:eo},Yi.prototype.reconsumeCodePoint=function(eo){this._value.unshift(eo)},Yi.prototype.peekCodePoint=function(eo){return eo>=this._value.length?-1:this._value[eo]},Yi.prototype.consumeUnicodeRangeToken=function(){for(var eo=[],to=this.consumeCodePoint();isHex(to)&&eo.length<6;)eo.push(to),to=this.consumeCodePoint();for(var ro=!1;to===QUESTION_MARK&&eo.length<6;)eo.push(to),to=this.consumeCodePoint(),ro=!0;if(ro){var no=parseInt(fromCodePoint$1.apply(void 0,eo.map(function(so){return so===QUESTION_MARK?ZERO:so})),16),io=parseInt(fromCodePoint$1.apply(void 0,eo.map(function(so){return so===QUESTION_MARK?F:so})),16);return{type:30,start:no,end:io}}var oo=parseInt(fromCodePoint$1.apply(void 0,eo),16);if(this.peekCodePoint(0)===HYPHEN_MINUS&&isHex(this.peekCodePoint(1))){this.consumeCodePoint(),to=this.consumeCodePoint();for(var ao=[];isHex(to)&&ao.length<6;)ao.push(to),to=this.consumeCodePoint();var io=parseInt(fromCodePoint$1.apply(void 0,ao),16);return{type:30,start:oo,end:io}}else return{type:30,start:oo,end:oo}},Yi.prototype.consumeIdentLikeToken=function(){var eo=this.consumeName();return eo.toLowerCase()==="url"&&this.peekCodePoint(0)===LEFT_PARENTHESIS?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===LEFT_PARENTHESIS?(this.consumeCodePoint(),{type:19,value:eo}):{type:20,value:eo}},Yi.prototype.consumeUrlToken=function(){var eo=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===EOF)return{type:22,value:""};var to=this.peekCodePoint(0);if(to===APOSTROPHE||to===QUOTATION_MARK){var ro=this.consumeStringToken(this.consumeCodePoint());return ro.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===EOF||this.peekCodePoint(0)===RIGHT_PARENTHESIS)?(this.consumeCodePoint(),{type:22,value:ro.value}):(this.consumeBadUrlRemnants(),BAD_URL_TOKEN)}for(;;){var no=this.consumeCodePoint();if(no===EOF||no===RIGHT_PARENTHESIS)return{type:22,value:fromCodePoint$1.apply(void 0,eo)};if(isWhiteSpace(no))return this.consumeWhiteSpace(),this.peekCodePoint(0)===EOF||this.peekCodePoint(0)===RIGHT_PARENTHESIS?(this.consumeCodePoint(),{type:22,value:fromCodePoint$1.apply(void 0,eo)}):(this.consumeBadUrlRemnants(),BAD_URL_TOKEN);if(no===QUOTATION_MARK||no===APOSTROPHE||no===LEFT_PARENTHESIS||isNonPrintableCodePoint(no))return this.consumeBadUrlRemnants(),BAD_URL_TOKEN;if(no===REVERSE_SOLIDUS)if(isValidEscape(no,this.peekCodePoint(0)))eo.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),BAD_URL_TOKEN;else eo.push(no)}},Yi.prototype.consumeWhiteSpace=function(){for(;isWhiteSpace(this.peekCodePoint(0));)this.consumeCodePoint()},Yi.prototype.consumeBadUrlRemnants=function(){for(;;){var eo=this.consumeCodePoint();if(eo===RIGHT_PARENTHESIS||eo===EOF)return;isValidEscape(eo,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},Yi.prototype.consumeStringSlice=function(eo){for(var to=5e4,ro="";eo>0;){var no=Math.min(to,eo);ro+=fromCodePoint$1.apply(void 0,this._value.splice(0,no)),eo-=no}return this._value.shift(),ro},Yi.prototype.consumeStringToken=function(eo){var to="",ro=0;do{var no=this._value[ro];if(no===EOF||no===void 0||no===eo)return to+=this.consumeStringSlice(ro),{type:0,value:to};if(no===LINE_FEED)return this._value.splice(0,ro),BAD_STRING_TOKEN;if(no===REVERSE_SOLIDUS){var io=this._value[ro+1];io!==EOF&&io!==void 0&&(io===LINE_FEED?(to+=this.consumeStringSlice(ro),ro=-1,this._value.shift()):isValidEscape(no,io)&&(to+=this.consumeStringSlice(ro),to+=fromCodePoint$1(this.consumeEscapedCodePoint()),ro=-1))}ro++}while(!0)},Yi.prototype.consumeNumber=function(){var eo=[],to=FLAG_INTEGER,ro=this.peekCodePoint(0);for((ro===PLUS_SIGN||ro===HYPHEN_MINUS)&&eo.push(this.consumeCodePoint());isDigit(this.peekCodePoint(0));)eo.push(this.consumeCodePoint());ro=this.peekCodePoint(0);var no=this.peekCodePoint(1);if(ro===FULL_STOP&&isDigit(no))for(eo.push(this.consumeCodePoint(),this.consumeCodePoint()),to=FLAG_NUMBER;isDigit(this.peekCodePoint(0));)eo.push(this.consumeCodePoint());ro=this.peekCodePoint(0),no=this.peekCodePoint(1);var io=this.peekCodePoint(2);if((ro===E||ro===e$1)&&((no===PLUS_SIGN||no===HYPHEN_MINUS)&&isDigit(io)||isDigit(no)))for(eo.push(this.consumeCodePoint(),this.consumeCodePoint()),to=FLAG_NUMBER;isDigit(this.peekCodePoint(0));)eo.push(this.consumeCodePoint());return[stringToNumber$1(eo),to]},Yi.prototype.consumeNumericToken=function(){var eo=this.consumeNumber(),to=eo[0],ro=eo[1],no=this.peekCodePoint(0),io=this.peekCodePoint(1),oo=this.peekCodePoint(2);if(isIdentifierStart$1(no,io,oo)){var ao=this.consumeName();return{type:15,number:to,flags:ro,unit:ao}}return no===PERCENTAGE_SIGN?(this.consumeCodePoint(),{type:16,number:to,flags:ro}):{type:17,number:to,flags:ro}},Yi.prototype.consumeEscapedCodePoint=function(){var eo=this.consumeCodePoint();if(isHex(eo)){for(var to=fromCodePoint$1(eo);isHex(this.peekCodePoint(0))&&to.length<6;)to+=fromCodePoint$1(this.consumeCodePoint());isWhiteSpace(this.peekCodePoint(0))&&this.consumeCodePoint();var ro=parseInt(to,16);return ro===0||isSurrogateCodePoint(ro)||ro>1114111?REPLACEMENT_CHARACTER:ro}return eo===EOF?REPLACEMENT_CHARACTER:eo},Yi.prototype.consumeName=function(){for(var eo="";;){var to=this.consumeCodePoint();if(isNameCodePoint(to))eo+=fromCodePoint$1(to);else if(isValidEscape(to,this.peekCodePoint(0)))eo+=fromCodePoint$1(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(to),eo}},Yi})(),Parser$1=(function(){function Yi(eo){this._tokens=eo}return Yi.create=function(eo){var to=new Tokenizer;return to.write(eo),new Yi(to.read())},Yi.parseValue=function(eo){return Yi.create(eo).parseComponentValue()},Yi.parseValues=function(eo){return Yi.create(eo).parseComponentValues()},Yi.prototype.parseComponentValue=function(){for(var eo=this.consumeToken();eo.type===31;)eo=this.consumeToken();if(eo.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(eo);var to=this.consumeComponentValue();do eo=this.consumeToken();while(eo.type===31);if(eo.type===32)return to;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},Yi.prototype.parseComponentValues=function(){for(var eo=[];;){var to=this.consumeComponentValue();if(to.type===32)return eo;eo.push(to),eo.push()}},Yi.prototype.consumeComponentValue=function(){var eo=this.consumeToken();switch(eo.type){case 11:case 28:case 2:return this.consumeSimpleBlock(eo.type);case 19:return this.consumeFunction(eo)}return eo},Yi.prototype.consumeSimpleBlock=function(eo){for(var to={type:eo,values:[]},ro=this.consumeToken();;){if(ro.type===32||isEndingTokenFor(ro,eo))return to;this.reconsumeToken(ro),to.values.push(this.consumeComponentValue()),ro=this.consumeToken()}},Yi.prototype.consumeFunction=function(eo){for(var to={name:eo.value,values:[],type:18};;){var ro=this.consumeToken();if(ro.type===32||ro.type===3)return to;this.reconsumeToken(ro),to.values.push(this.consumeComponentValue())}},Yi.prototype.consumeToken=function(){var eo=this._tokens.shift();return typeof eo>"u"?EOF_TOKEN:eo},Yi.prototype.reconsumeToken=function(eo){this._tokens.unshift(eo)},Yi})(),isDimensionToken=function(Yi){return Yi.type===15},isNumberToken=function(Yi){return Yi.type===17},isIdentToken=function(Yi){return Yi.type===20},isStringToken=function(Yi){return Yi.type===0},isIdentWithValue=function(Yi,eo){return isIdentToken(Yi)&&Yi.value===eo},nonWhiteSpace=function(Yi){return Yi.type!==31},nonFunctionArgSeparator=function(Yi){return Yi.type!==31&&Yi.type!==4},parseFunctionArgs=function(Yi){var eo=[],to=[];return Yi.forEach(function(ro){if(ro.type===4){if(to.length===0)throw new Error("Error parsing function args, zero tokens for arg");eo.push(to),to=[];return}ro.type!==31&&to.push(ro)}),to.length&&eo.push(to),eo},isEndingTokenFor=function(Yi,eo){return eo===11&&Yi.type===12||eo===28&&Yi.type===29?!0:eo===2&&Yi.type===3},isLength$4=function(Yi){return Yi.type===17||Yi.type===15},isLengthPercentage=function(Yi){return Yi.type===16||isLength$4(Yi)},parseLengthPercentageTuple=function(Yi){return Yi.length>1?[Yi[0],Yi[1]]:[Yi[0]]},ZERO_LENGTH={type:17,number:0,flags:FLAG_INTEGER},FIFTY_PERCENT={type:16,number:50,flags:FLAG_INTEGER},HUNDRED_PERCENT={type:16,number:100,flags:FLAG_INTEGER},getAbsoluteValueForTuple=function(Yi,eo,to){var ro=Yi[0],no=Yi[1];return[getAbsoluteValue(ro,eo),getAbsoluteValue(typeof no<"u"?no:ro,to)]},getAbsoluteValue=function(Yi,eo){if(Yi.type===16)return Yi.number/100*eo;if(isDimensionToken(Yi))switch(Yi.unit){case"rem":case"em":return 16*Yi.number;case"px":default:return Yi.number}return Yi.number},DEG="deg",GRAD="grad",RAD="rad",TURN="turn",angle={name:"angle",parse:function(Yi,eo){if(eo.type===15)switch(eo.unit){case DEG:return Math.PI*eo.number/180;case GRAD:return Math.PI/200*eo.number;case RAD:return eo.number;case TURN:return Math.PI*2*eo.number}throw new Error("Unsupported angle type")}},isAngle=function(Yi){return Yi.type===15&&(Yi.unit===DEG||Yi.unit===GRAD||Yi.unit===RAD||Yi.unit===TURN)},parseNamedSide=function(Yi){var eo=Yi.filter(isIdentToken).map(function(to){return to.value}).join(" ");switch(eo){case"to bottom right":case"to right bottom":case"left top":case"top left":return[ZERO_LENGTH,ZERO_LENGTH];case"to top":case"bottom":return deg(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[ZERO_LENGTH,HUNDRED_PERCENT];case"to right":case"left":return deg(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[HUNDRED_PERCENT,HUNDRED_PERCENT];case"to bottom":case"top":return deg(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[HUNDRED_PERCENT,ZERO_LENGTH];case"to left":case"right":return deg(270)}return 0},deg=function(Yi){return Math.PI*Yi/180},color$1={name:"color",parse:function(Yi,eo){if(eo.type===18){var to=SUPPORTED_COLOR_FUNCTIONS[eo.name];if(typeof to>"u")throw new Error('Attempting to parse an unsupported color function "'+eo.name+'"');return to(Yi,eo.values)}if(eo.type===5){if(eo.value.length===3){var ro=eo.value.substring(0,1),no=eo.value.substring(1,2),io=eo.value.substring(2,3);return pack(parseInt(ro+ro,16),parseInt(no+no,16),parseInt(io+io,16),1)}if(eo.value.length===4){var ro=eo.value.substring(0,1),no=eo.value.substring(1,2),io=eo.value.substring(2,3),oo=eo.value.substring(3,4);return pack(parseInt(ro+ro,16),parseInt(no+no,16),parseInt(io+io,16),parseInt(oo+oo,16)/255)}if(eo.value.length===6){var ro=eo.value.substring(0,2),no=eo.value.substring(2,4),io=eo.value.substring(4,6);return pack(parseInt(ro,16),parseInt(no,16),parseInt(io,16),1)}if(eo.value.length===8){var ro=eo.value.substring(0,2),no=eo.value.substring(2,4),io=eo.value.substring(4,6),oo=eo.value.substring(6,8);return pack(parseInt(ro,16),parseInt(no,16),parseInt(io,16),parseInt(oo,16)/255)}}if(eo.type===20){var ao=COLORS[eo.value.toUpperCase()];if(typeof ao<"u")return ao}return COLORS.TRANSPARENT}},isTransparent=function(Yi){return(255&Yi)===0},asString=function(Yi){var eo=255&Yi,to=255&Yi>>8,ro=255&Yi>>16,no=255&Yi>>24;return eo<255?"rgba("+no+","+ro+","+to+","+eo/255+")":"rgb("+no+","+ro+","+to+")"},pack=function(Yi,eo,to,ro){return(Yi<<24|eo<<16|to<<8|Math.round(ro*255)<<0)>>>0},getTokenColorValue=function(Yi,eo){if(Yi.type===17)return Yi.number;if(Yi.type===16){var to=eo===3?1:255;return eo===3?Yi.number/100*to:Math.round(Yi.number/100*to)}return 0},rgb$2=function(Yi,eo){var to=eo.filter(nonFunctionArgSeparator);if(to.length===3){var ro=to.map(getTokenColorValue),no=ro[0],io=ro[1],oo=ro[2];return pack(no,io,oo,1)}if(to.length===4){var ao=to.map(getTokenColorValue),no=ao[0],io=ao[1],oo=ao[2],so=ao[3];return pack(no,io,oo,so)}return 0};function hue2rgb(Yi,eo,to){return to<0&&(to+=1),to>=1&&(to-=1),to<1/6?(eo-Yi)*to*6+Yi:to<1/2?eo:to<2/3?(eo-Yi)*6*(2/3-to)+Yi:Yi}var hsl$1=function(Yi,eo){var to=eo.filter(nonFunctionArgSeparator),ro=to[0],no=to[1],io=to[2],oo=to[3],ao=(ro.type===17?deg(ro.number):angle.parse(Yi,ro))/(Math.PI*2),so=isLengthPercentage(no)?no.number/100:0,lo=isLengthPercentage(io)?io.number/100:0,co=typeof oo<"u"&&isLengthPercentage(oo)?getAbsoluteValue(oo,1):1;if(so===0)return pack(lo*255,lo*255,lo*255,1);var uo=lo<=.5?lo*(so+1):lo+so-lo*so,fo=lo*2-uo,ho=hue2rgb(fo,uo,ao+1/3),mo=hue2rgb(fo,uo,ao),vo=hue2rgb(fo,uo,ao-1/3);return pack(ho*255,mo*255,vo*255,co)},SUPPORTED_COLOR_FUNCTIONS={hsl:hsl$1,hsla:hsl$1,rgb:rgb$2,rgba:rgb$2},parseColor=function(Yi,eo){return color$1.parse(Yi,Parser$1.create(eo).parseComponentValue())},COLORS={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},backgroundClip={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(Yi,eo){return eo.map(function(to){if(isIdentToken(to))switch(to.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},backgroundColor={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},parseColorStop=function(Yi,eo){var to=color$1.parse(Yi,eo[0]),ro=eo[1];return ro&&isLengthPercentage(ro)?{color:to,stop:ro}:{color:to,stop:null}},processColorStops=function(Yi,eo){var to=Yi[0],ro=Yi[Yi.length-1];to.stop===null&&(to.stop=ZERO_LENGTH),ro.stop===null&&(ro.stop=HUNDRED_PERCENT);for(var no=[],io=0,oo=0;oo<Yi.length;oo++){var ao=Yi[oo].stop;if(ao!==null){var so=getAbsoluteValue(ao,eo);so>io?no.push(so):no.push(io),io=so}else no.push(null)}for(var lo=null,oo=0;oo<no.length;oo++){var co=no[oo];if(co===null)lo===null&&(lo=oo);else if(lo!==null){for(var uo=oo-lo,fo=no[lo-1],ho=(co-fo)/(uo+1),mo=1;mo<=uo;mo++)no[lo+mo-1]=ho*mo;lo=null}}return Yi.map(function(vo,Co){var bo=vo.color;return{color:bo,stop:Math.max(Math.min(1,no[Co]/eo),0)}})},getAngleFromCorner=function(Yi,eo,to){var ro=eo/2,no=to/2,io=getAbsoluteValue(Yi[0],eo)-ro,oo=no-getAbsoluteValue(Yi[1],to);return(Math.atan2(oo,io)+Math.PI*2)%(Math.PI*2)},calculateGradientDirection=function(Yi,eo,to){var ro=typeof Yi=="number"?Yi:getAngleFromCorner(Yi,eo,to),no=Math.abs(eo*Math.sin(ro))+Math.abs(to*Math.cos(ro)),io=eo/2,oo=to/2,ao=no/2,so=Math.sin(ro-Math.PI/2)*ao,lo=Math.cos(ro-Math.PI/2)*ao;return[no,io-lo,io+lo,oo-so,oo+so]},distance=function(Yi,eo){return Math.sqrt(Yi*Yi+eo*eo)},findCorner=function(Yi,eo,to,ro,no){var io=[[0,0],[0,eo],[Yi,0],[Yi,eo]];return io.reduce(function(oo,ao){var so=ao[0],lo=ao[1],co=distance(to-so,ro-lo);return(no?co<oo.optimumDistance:co>oo.optimumDistance)?{optimumCorner:ao,optimumDistance:co}:oo},{optimumDistance:no?1/0:-1/0,optimumCorner:null}).optimumCorner},calculateRadius=function(Yi,eo,to,ro,no){var io=0,oo=0;switch(Yi.size){case 0:Yi.shape===0?io=oo=Math.min(Math.abs(eo),Math.abs(eo-ro),Math.abs(to),Math.abs(to-no)):Yi.shape===1&&(io=Math.min(Math.abs(eo),Math.abs(eo-ro)),oo=Math.min(Math.abs(to),Math.abs(to-no)));break;case 2:if(Yi.shape===0)io=oo=Math.min(distance(eo,to),distance(eo,to-no),distance(eo-ro,to),distance(eo-ro,to-no));else if(Yi.shape===1){var ao=Math.min(Math.abs(to),Math.abs(to-no))/Math.min(Math.abs(eo),Math.abs(eo-ro)),so=findCorner(ro,no,eo,to,!0),lo=so[0],co=so[1];io=distance(lo-eo,(co-to)/ao),oo=ao*io}break;case 1:Yi.shape===0?io=oo=Math.max(Math.abs(eo),Math.abs(eo-ro),Math.abs(to),Math.abs(to-no)):Yi.shape===1&&(io=Math.max(Math.abs(eo),Math.abs(eo-ro)),oo=Math.max(Math.abs(to),Math.abs(to-no)));break;case 3:if(Yi.shape===0)io=oo=Math.max(distance(eo,to),distance(eo,to-no),distance(eo-ro,to),distance(eo-ro,to-no));else if(Yi.shape===1){var ao=Math.max(Math.abs(to),Math.abs(to-no))/Math.max(Math.abs(eo),Math.abs(eo-ro)),uo=findCorner(ro,no,eo,to,!1),lo=uo[0],co=uo[1];io=distance(lo-eo,(co-to)/ao),oo=ao*io}break}return Array.isArray(Yi.size)&&(io=getAbsoluteValue(Yi.size[0],ro),oo=Yi.size.length===2?getAbsoluteValue(Yi.size[1],no):io),[io,oo]},linearGradient=function(Yi,eo){var to=deg(180),ro=[];return parseFunctionArgs(eo).forEach(function(no,io){if(io===0){var oo=no[0];if(oo.type===20&&oo.value==="to"){to=parseNamedSide(no);return}else if(isAngle(oo)){to=angle.parse(Yi,oo);return}}var ao=parseColorStop(Yi,no);ro.push(ao)}),{angle:to,stops:ro,type:1}},prefixLinearGradient=function(Yi,eo){var to=deg(180),ro=[];return parseFunctionArgs(eo).forEach(function(no,io){if(io===0){var oo=no[0];if(oo.type===20&&["top","left","right","bottom"].indexOf(oo.value)!==-1){to=parseNamedSide(no);return}else if(isAngle(oo)){to=(angle.parse(Yi,oo)+deg(270))%deg(360);return}}var ao=parseColorStop(Yi,no);ro.push(ao)}),{angle:to,stops:ro,type:1}},webkitGradient=function(Yi,eo){var to=deg(180),ro=[],no=1,io=0,oo=3,ao=[];return parseFunctionArgs(eo).forEach(function(so,lo){var co=so[0];if(lo===0){if(isIdentToken(co)&&co.value==="linear"){no=1;return}else if(isIdentToken(co)&&co.value==="radial"){no=2;return}}if(co.type===18){if(co.name==="from"){var uo=color$1.parse(Yi,co.values[0]);ro.push({stop:ZERO_LENGTH,color:uo})}else if(co.name==="to"){var uo=color$1.parse(Yi,co.values[0]);ro.push({stop:HUNDRED_PERCENT,color:uo})}else if(co.name==="color-stop"){var fo=co.values.filter(nonFunctionArgSeparator);if(fo.length===2){var uo=color$1.parse(Yi,fo[1]),ho=fo[0];isNumberToken(ho)&&ro.push({stop:{type:16,number:ho.number*100,flags:ho.flags},color:uo})}}}}),no===1?{angle:(to+deg(180))%deg(360),stops:ro,type:no}:{size:oo,shape:io,stops:ro,position:ao,type:no}},CLOSEST_SIDE="closest-side",FARTHEST_SIDE="farthest-side",CLOSEST_CORNER="closest-corner",FARTHEST_CORNER="farthest-corner",CIRCLE="circle",ELLIPSE="ellipse",COVER="cover",CONTAIN="contain",radialGradient=function(Yi,eo){var to=0,ro=3,no=[],io=[];return parseFunctionArgs(eo).forEach(function(oo,ao){var so=!0;if(ao===0){var lo=!1;so=oo.reduce(function(uo,fo){if(lo)if(isIdentToken(fo))switch(fo.value){case"center":return io.push(FIFTY_PERCENT),uo;case"top":case"left":return io.push(ZERO_LENGTH),uo;case"right":case"bottom":return io.push(HUNDRED_PERCENT),uo}else(isLengthPercentage(fo)||isLength$4(fo))&&io.push(fo);else if(isIdentToken(fo))switch(fo.value){case CIRCLE:return to=0,!1;case ELLIPSE:return to=1,!1;case"at":return lo=!0,!1;case CLOSEST_SIDE:return ro=0,!1;case COVER:case FARTHEST_SIDE:return ro=1,!1;case CONTAIN:case CLOSEST_CORNER:return ro=2,!1;case FARTHEST_CORNER:return ro=3,!1}else if(isLength$4(fo)||isLengthPercentage(fo))return Array.isArray(ro)||(ro=[]),ro.push(fo),!1;return uo},so)}if(so){var co=parseColorStop(Yi,oo);no.push(co)}}),{size:ro,shape:to,stops:no,position:io,type:2}},prefixRadialGradient=function(Yi,eo){var to=0,ro=3,no=[],io=[];return parseFunctionArgs(eo).forEach(function(oo,ao){var so=!0;if(ao===0?so=oo.reduce(function(co,uo){if(isIdentToken(uo))switch(uo.value){case"center":return io.push(FIFTY_PERCENT),!1;case"top":case"left":return io.push(ZERO_LENGTH),!1;case"right":case"bottom":return io.push(HUNDRED_PERCENT),!1}else if(isLengthPercentage(uo)||isLength$4(uo))return io.push(uo),!1;return co},so):ao===1&&(so=oo.reduce(function(co,uo){if(isIdentToken(uo))switch(uo.value){case CIRCLE:return to=0,!1;case ELLIPSE:return to=1,!1;case CONTAIN:case CLOSEST_SIDE:return ro=0,!1;case FARTHEST_SIDE:return ro=1,!1;case CLOSEST_CORNER:return ro=2,!1;case COVER:case FARTHEST_CORNER:return ro=3,!1}else if(isLength$4(uo)||isLengthPercentage(uo))return Array.isArray(ro)||(ro=[]),ro.push(uo),!1;return co},so)),so){var lo=parseColorStop(Yi,oo);no.push(lo)}}),{size:ro,shape:to,stops:no,position:io,type:2}},isLinearGradient=function(Yi){return Yi.type===1},isRadialGradient=function(Yi){return Yi.type===2},image={name:"image",parse:function(Yi,eo){if(eo.type===22){var to={url:eo.value,type:0};return Yi.cache.addImage(eo.value),to}if(eo.type===18){var ro=SUPPORTED_IMAGE_FUNCTIONS[eo.name];if(typeof ro>"u")throw new Error('Attempting to parse an unsupported image function "'+eo.name+'"');return ro(Yi,eo.values)}throw new Error("Unsupported image type "+eo.type)}};function isSupportedImage(Yi){return!(Yi.type===20&&Yi.value==="none")&&(Yi.type!==18||!!SUPPORTED_IMAGE_FUNCTIONS[Yi.name])}var SUPPORTED_IMAGE_FUNCTIONS={"linear-gradient":linearGradient,"-moz-linear-gradient":prefixLinearGradient,"-ms-linear-gradient":prefixLinearGradient,"-o-linear-gradient":prefixLinearGradient,"-webkit-linear-gradient":prefixLinearGradient,"radial-gradient":radialGradient,"-moz-radial-gradient":prefixRadialGradient,"-ms-radial-gradient":prefixRadialGradient,"-o-radial-gradient":prefixRadialGradient,"-webkit-radial-gradient":prefixRadialGradient,"-webkit-gradient":webkitGradient},backgroundImage={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(Yi,eo){if(eo.length===0)return[];var to=eo[0];return to.type===20&&to.value==="none"?[]:eo.filter(function(ro){return nonFunctionArgSeparator(ro)&&isSupportedImage(ro)}).map(function(ro){return image.parse(Yi,ro)})}},backgroundOrigin={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(Yi,eo){return eo.map(function(to){if(isIdentToken(to))switch(to.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},backgroundPosition={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(Yi,eo){return parseFunctionArgs(eo).map(function(to){return to.filter(isLengthPercentage)}).map(parseLengthPercentageTuple)}},backgroundRepeat={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(Yi,eo){return parseFunctionArgs(eo).map(function(to){return to.filter(isIdentToken).map(function(ro){return ro.value}).join(" ")}).map(parseBackgroundRepeat)}},parseBackgroundRepeat=function(Yi){switch(Yi){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},BACKGROUND_SIZE;(function(Yi){Yi.AUTO="auto",Yi.CONTAIN="contain",Yi.COVER="cover"})(BACKGROUND_SIZE||(BACKGROUND_SIZE={}));var backgroundSize={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(Yi,eo){return parseFunctionArgs(eo).map(function(to){return to.filter(isBackgroundSizeInfoToken)})}},isBackgroundSizeInfoToken=function(Yi){return isIdentToken(Yi)||isLengthPercentage(Yi)},borderColorForSide=function(Yi){return{name:"border-"+Yi+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},borderTopColor=borderColorForSide("top"),borderRightColor=borderColorForSide("right"),borderBottomColor=borderColorForSide("bottom"),borderLeftColor=borderColorForSide("left"),borderRadiusForSide=function(Yi){return{name:"border-radius-"+Yi,initialValue:"0 0",prefix:!1,type:1,parse:function(eo,to){return parseLengthPercentageTuple(to.filter(isLengthPercentage))}}},borderTopLeftRadius=borderRadiusForSide("top-left"),borderTopRightRadius=borderRadiusForSide("top-right"),borderBottomRightRadius=borderRadiusForSide("bottom-right"),borderBottomLeftRadius=borderRadiusForSide("bottom-left"),borderStyleForSide=function(Yi){return{name:"border-"+Yi+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(eo,to){switch(to){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},borderTopStyle=borderStyleForSide("top"),borderRightStyle=borderStyleForSide("right"),borderBottomStyle=borderStyleForSide("bottom"),borderLeftStyle=borderStyleForSide("left"),borderWidthForSide=function(Yi){return{name:"border-"+Yi+"-width",initialValue:"0",type:0,prefix:!1,parse:function(eo,to){return isDimensionToken(to)?to.number:0}}},borderTopWidth=borderWidthForSide("top"),borderRightWidth=borderWidthForSide("right"),borderBottomWidth=borderWidthForSide("bottom"),borderLeftWidth=borderWidthForSide("left"),color$2={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},direction={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(Yi,eo){switch(eo){case"rtl":return 1;case"ltr":default:return 0}}},display={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(Yi,eo){return eo.filter(isIdentToken).reduce(function(to,ro){return to|parseDisplayValue(ro.value)},0)}},parseDisplayValue=function(Yi){switch(Yi){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},float={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(Yi,eo){switch(eo){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},letterSpacing={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(Yi,eo){return eo.type===20&&eo.value==="normal"?0:eo.type===17||eo.type===15?eo.number:0}},LINE_BREAK;(function(Yi){Yi.NORMAL="normal",Yi.STRICT="strict"})(LINE_BREAK||(LINE_BREAK={}));var lineBreak$1={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(Yi,eo){switch(eo){case"strict":return LINE_BREAK.STRICT;case"normal":default:return LINE_BREAK.NORMAL}}},lineHeight={name:"line-height",initialValue:"normal",prefix:!1,type:4},computeLineHeight=function(Yi,eo){return isIdentToken(Yi)&&Yi.value==="normal"?1.2*eo:Yi.type===17?eo*Yi.number:isLengthPercentage(Yi)?getAbsoluteValue(Yi,eo):eo},listStyleImage={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(Yi,eo){return eo.type===20&&eo.value==="none"?null:image.parse(Yi,eo)}},listStylePosition={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(Yi,eo){switch(eo){case"inside":return 0;case"outside":default:return 1}}},listStyleType={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(Yi,eo){switch(eo){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;
vendor: 4,583 bytes, line 423
423case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},marginForSide=function(Yi){return{name:"margin-"+Yi,initialValue:"0",prefix:!1,type:4}},marginTop=marginForSide("top"),marginRight=marginForSide("right"),marginBottom=marginForSide("bottom"),marginLeft=marginForSide("left"),overflow={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(Yi,eo){return eo.filter(isIdentToken).map(function(to){switch(to.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},overflowWrap={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(Yi,eo){switch(eo){case"break-word":return"break-word";case"normal":default:return"normal"}}},paddingForSide=function(Yi){return{name:"padding-"+Yi,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},paddingTop=paddingForSide("top"),paddingRight=paddingForSide("right"),paddingBottom=paddingForSide("bottom"),paddingLeft=paddingForSide("left"),textAlign={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(Yi,eo){switch(eo){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},position={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(Yi,eo){switch(eo){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},textShadow={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(Yi,eo){return eo.length===1&&isIdentWithValue(eo[0],"none")?[]:parseFunctionArgs(eo).map(function(to){for(var ro={color:COLORS.TRANSPARENT,offsetX:ZERO_LENGTH,offsetY:ZERO_LENGTH,blur:ZERO_LENGTH},no=0,io=0;io<to.length;io++){var oo=to[io];isLength$4(oo)?(no===0?ro.offsetX=oo:no===1?ro.offsetY=oo:ro.blur=oo,no++):ro.color=color$1.parse(Yi,oo)}return ro})}},textTransform={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(Yi,eo){switch(eo){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},transform$1={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(Yi,eo){if(eo.type===20&&eo.value==="none")return null;if(eo.type===18){var to=SUPPORTED_TRANSFORM_FUNCTIONS[eo.name];if(typeof to>"u")throw new Error('Attempting to parse an unsupported transform function "'+eo.name+'"');return to(eo.values)}return null}},matrix=function(Yi){var eo=Yi.filter(function(to){return to.type===17}).map(function(to){return to.number});return eo.length===6?eo:null},matrix3d=function(Yi){var eo=Yi.filter(function(so){return so.type===17}).map(function(so){return so.number}),to=eo[0],ro=eo[1];eo[2],eo[3];var no=eo[4],io=eo[5];eo[6],eo[7],eo[8],eo[9],eo[10],eo[11];var oo=eo[12],ao=eo[13];return eo[14],eo[15],eo.length===16?[to,ro,no,io,oo,ao]:null},SUPPORTED_TRANSFORM_FUNCTIONS={matrix,matrix3d},DEFAULT_VALUE={type:16,number:50,flags:FLAG_INTEGER},DEFAULT=[DEFAULT_VALUE,DEFAULT_VALUE],transformOrigin={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(Yi,eo){var to=eo.filter(isLengthPercentage);return to.length!==2?DEFAULT:[to[0],to[1]]}},visibility={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(Yi,eo){switch(eo){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},WORD_BREAK;(function(Yi){Yi.NORMAL="normal",Yi.BREAK_ALL="break-all",Yi.KEEP_ALL="keep-all"}
vendor: 9,315 bytes, line 423
423)(WORD_BREAK||(WORD_BREAK={}));var wordBreak={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(Yi,eo){switch(eo){case"break-all":return WORD_BREAK.BREAK_ALL;case"keep-all":return WORD_BREAK.KEEP_ALL;case"normal":default:return WORD_BREAK.NORMAL}}},zIndex={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(Yi,eo){if(eo.type===20)return{auto:!0,order:0};if(isNumberToken(eo))return{auto:!1,order:eo.number};throw new Error("Invalid z-index number parsed")}},time$1={name:"time",parse:function(Yi,eo){if(eo.type===15)switch(eo.unit.toLowerCase()){case"s":return 1e3*eo.number;case"ms":return eo.number}throw new Error("Unsupported time type")}},opacity={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(Yi,eo){return isNumberToken(eo)?eo.number:1}},textDecorationColor={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},textDecorationLine={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(Yi,eo){return eo.filter(isIdentToken).map(function(to){switch(to.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(to){return to!==0})}},fontFamily={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(Yi,eo){var to=[],ro=[];return eo.forEach(function(no){switch(no.type){case 20:case 0:to.push(no.value);break;case 17:to.push(no.number.toString());break;case 4:ro.push(to.join(" ")),to.length=0;break}}),to.length&&ro.push(to.join(" ")),ro.map(function(no){return no.indexOf(" ")===-1?no:"'"+no+"'"})}},fontSize={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},fontWeight={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(Yi,eo){if(isNumberToken(eo))return eo.number;if(isIdentToken(eo))switch(eo.value){case"bold":return 700;case"normal":default:return 400}return 400}},fontVariant={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(Yi,eo){return eo.filter(isIdentToken).map(function(to){return to.value})}},fontStyle={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(Yi,eo){switch(eo){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},contains=function(Yi,eo){return(Yi&eo)!==0},content={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(Yi,eo){if(eo.length===0)return[];var to=eo[0];return to.type===20&&to.value==="none"?[]:eo}},counterIncrement={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(Yi,eo){if(eo.length===0)return null;var to=eo[0];if(to.type===20&&to.value==="none")return null;for(var ro=[],no=eo.filter(nonWhiteSpace),io=0;io<no.length;io++){var oo=no[io],ao=no[io+1];if(oo.type===20){var so=ao&&isNumberToken(ao)?ao.number:1;ro.push({counter:oo.value,increment:so})}}return ro}},counterReset={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(Yi,eo){if(eo.length===0)return[];for(var to=[],ro=eo.filter(nonWhiteSpace),no=0;no<ro.length;no++){var io=ro[no],oo=ro[no+1];if(isIdentToken(io)&&io.value!=="none"){var ao=oo&&isNumberToken(oo)?oo.number:0;to.push({counter:io.value,reset:ao})}}return to}},duration={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(Yi,eo){return eo.filter(isDimensionToken).map(function(to){return time$1.parse(Yi,to)})}},quotes={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(Yi,eo){if(eo.length===0)return null;var to=eo[0];if(to.type===20&&to.value==="none")return null;var ro=[],no=eo.filter(isStringToken);if(no.length%2!==0)return null;for(var io=0;io<no.length;io+=2){var oo=no[io].value,ao=no[io+1].value;ro.push({open:oo,close:ao})}return ro}},getQuote=function(Yi,eo,to){if(!Yi)return"";var ro=Yi[Math.min(eo,Yi.length-1)];return ro?to?ro.open:ro.close:""},boxShadow={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(Yi,eo){return eo.length===1&&isIdentWithValue(eo[0],"none")?[]:parseFunctionArgs(eo).map(function(to){for(var ro={color:255,offsetX:ZERO_LENGTH,offsetY:ZERO_LENGTH,blur:ZERO_LENGTH,spread:ZERO_LENGTH,inset:!1},no=0,io=0;io<to.length;io++){var oo=to[io];isIdentWithValue(oo,"inset")?ro.inset=!0:isLength$4(oo)?(no===0?ro.offsetX=oo:no===1?ro.offsetY=oo:no===2?ro.blur=oo:ro.spread=oo,no++):ro.color=color$1.parse(Yi,oo)}return ro})}},paintOrder={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(Yi,eo){var to=[0,1,2],ro=[];return eo.filter(isIdentToken).forEach(function(no){switch(no.value){case"stroke":ro.push(1);break;case"fill":ro.push(0);break;case"markers":ro.push(2);break}}),to.forEach(function(no){ro.indexOf(no)===-1&&ro.push(no)}),ro}},webkitTextStrokeColor={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},webkitTextStrokeWidth={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(Yi,eo){return isDimensionToken(eo)?eo.number:0}},CSSParsedDeclaration=(function(){function Yi(eo,to){var ro,no;this.animationDuration=parse$1(eo,duration,to.animationDuration),this.backgroundClip=parse$1(eo,backgroundClip,to.backgroundClip),this.backgroundColor=parse$1(eo,backgroundColor,to.backgroundColor),this.backgroundImage=parse$1(eo,backgroundImage,to.backgroundImage),this.backgroundOrigin=parse$1(eo,backgroundOrigin,to.backgroundOrigin),this.backgroundPosition=parse$1(eo,backgroundPosition,to.backgroundPosition),this.backgroundRepeat=parse$1(eo,backgroundRepeat,to.backgroundRepeat),this.backgroundSize=parse$1(eo,backgroundSize,to.backgroundSize),this.borderTopColor=parse$1(eo,borderTopColor,to.borderTopColor),this.borderRightColor=parse$1(eo,borderRightColor,to.borderRightColor),this.borderBottomColor=parse$1(eo,borderBottomColor,to.borderBottomColor),this.borderLeftColor=parse$1(eo,borderLeftColor,to.borderLeftColor),this.borderTopLeftRadius=parse$1(eo,borderTopLeftRadius,to.borderTopLeftRadius),this.borderTopRightRadius=parse$1(eo,borderTopRightRadius,to.borderTopRightRadius),this.borderBottomRightRadius=parse$1(eo,borderBottomRightRadius,to.borderBottomRightRadius),this.borderBottomLeftRadius=parse$1(eo,borderBottomLeftRadius,to.borderBottomLeftRadius),this.borderTopStyle=parse$1(eo,borderTopStyle,to.borderTopStyle),this.borderRightStyle=parse$1(eo,borderRightStyle,to.borderRightStyle),this.borderBottomStyle=parse$1(eo,borderBottomStyle,to.borderBottomStyle),this.borderLeftStyle=parse$1(eo,borderLeftStyle,to.borderLeftStyle),this.borderTopWidth=parse$1(eo,borderTopWidth,to.borderTopWidth),this.borderRightWidth=parse$1(eo,borderRightWidth,to.borderRightWidth),this.borderBottomWidth=parse$1(eo,borderBottomWidth,to.borderBottomWidth),this.borderLeftWidth=parse$1(eo,borderLeftWidth,to.borderLeftWidth),this.boxShadow=parse$1(eo,boxShadow,to.boxShadow),this.color=parse$1(eo,color$2,to.color),this.direction=parse$1(eo,direction,to.direction),this.display=parse$1(eo,display,to.display),this.float=parse$1(eo,float,to.cssFloat),this.fontFamily=parse$1(eo,fontFamily,to.fontFamily),this.fontSize=parse$1(eo,fontSize,to.fontSize),this.fontStyle=parse$1(eo,fontStyle,to.fontStyle),this.fontVariant=parse$1(eo,fontVariant,to.fontVariant),this.fontWeight=parse$1(eo,fontWeight,to.fontWeight),this.letterSpacing=parse$1(eo,letterSpacing,to.letterSpacing),this.lineBreak=parse$1(eo,lineBreak$1,to.lineBreak),this.lineHeight=parse$1(eo,lineHeight,to.lineHeight),this.listStyleImage=parse$1(eo,listStyleImage,to.listStyleImage),this.listStylePosition=parse$1(eo,listStylePosition,to.listStylePosition),this.listStyleType=parse$1(eo,listStyleType,to.listStyleType),this.marginTop=parse$1(eo,marginTop,to.marginTop),this.marginRight=parse$1(eo,marginRight,to.marginRight),this.marginBottom=parse$1(eo,marginBottom,to.marginBottom),this.marginLeft=parse$1(eo,marginLeft,to.marginLeft),this.opacity=parse$1(eo,opacity,to.opacity);var io=parse$1(eo,overflow,to.overflow);this.overflowX=io[0],this.overflowY=io[io.length>1?1:0],this.overflowWrap=parse$1(eo,overflowWrap,to.overflowWrap),this.paddingTop=parse$1(eo,paddingTop,to.paddingTop),this.paddingRight=parse$1(eo,paddingRight,to.paddingRight),this.paddingBottom=parse$1(eo,paddingBottom,to.paddingBottom),this.paddingLeft=parse$1(eo,paddingLeft,to.paddingLeft),this.paintOrder=parse$1(eo,paintOrder,to.paintOrder),this.position=parse$1(eo,position,to.position),this.textAlign=parse$1(eo,textAlign,to.textAlign),this.textDecorationColor=parse$1(eo,textDecorationColor,(ro=to.textDecorationColor)!==null&&ro!==void 0?ro:to.color),this.textDecorationLine=parse$1(eo,textDecorationLine,(no=to.textDecorationLine)!==null&&no!==void 0?no:to.textDecoration),this.textShadow=parse$1(eo,textShadow,to.textShadow),this.textTransform=parse$1(eo,textTransform,to.textTransform),this.transform=parse$1(eo,transform$1,to.transform),this.transformOrigin=parse$1(eo,transformOrigin,to.transformOrigin),this.visibility=parse$1(eo,visibility,to.visibility),this.webkitTextStrokeColor=parse$1(eo,webkitTextStrokeColor,to.webkitTextStrokeColor),this.webkitTextStrokeWidth=parse$1(eo,webkitTextStrokeWidth,to.webkitTextStrokeWidth),this.wordBreak=parse$1(eo,wordBreak,to.wordBreak),this.zIndex=parse$1(eo,zIndex,to.zIndex)}return Yi.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0}
vendor: 2,665 bytes, line 423
423,Yi.prototype.isTransparent=function(){return isTransparent(this.backgroundColor)},Yi.prototype.isTransformed=function(){return this.transform!==null},Yi.prototype.isPositioned=function(){return this.position!==0},Yi.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},Yi.prototype.isFloating=function(){return this.float!==0},Yi.prototype.isInlineLevel=function(){return contains(this.display,4)||contains(this.display,33554432)||contains(this.display,268435456)||contains(this.display,536870912)||contains(this.display,67108864)||contains(this.display,134217728)},Yi})(),CSSParsedPseudoDeclaration=(function(){function Yi(eo,to){this.content=parse$1(eo,content,to.content),this.quotes=parse$1(eo,quotes,to.quotes)}return Yi})(),CSSParsedCounterDeclaration=(function(){function Yi(eo,to){this.counterIncrement=parse$1(eo,counterIncrement,to.counterIncrement),this.counterReset=parse$1(eo,counterReset,to.counterReset)}return Yi})(),parse$1=function(Yi,eo,to){var ro=new Tokenizer,no=to!==null&&typeof to<"u"?to.toString():eo.initialValue;ro.write(no);var io=new Parser$1(ro.read());switch(eo.type){case 2:var oo=io.parseComponentValue();return eo.parse(Yi,isIdentToken(oo)?oo.value:eo.initialValue);case 0:return eo.parse(Yi,io.parseComponentValue());case 1:return eo.parse(Yi,io.parseComponentValues());case 4:return io.parseComponentValue();case 3:switch(eo.format){case"angle":return angle.parse(Yi,io.parseComponentValue());case"color":return color$1.parse(Yi,io.parseComponentValue());case"image":return image.parse(Yi,io.parseComponentValue());case"length":var ao=io.parseComponentValue();return isLength$4(ao)?ao:ZERO_LENGTH;case"length-percentage":var so=io.parseComponentValue();return isLengthPercentage(so)?so:ZERO_LENGTH;case"time":return time$1.parse(Yi,io.parseComponentValue())}break}},elementDebuggerAttribute="data-html2canvas-debug",getElementDebugType=function(Yi){var eo=Yi.getAttribute(elementDebuggerAttribute);switch(eo){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},isDebugging=function(Yi,eo){var to=getElementDebugType(Yi);return to===1||eo===to},ElementContainer=(function(){function Yi(eo,to){if(this.context=eo,this.textNodes=[],this.elements=[],this.flags=0,isDebugging(to,3))debugger;this.styles=new CSSParsedDeclaration(eo,window.getComputedStyle(to,null)),isHTMLElementNode(to)&&(this.styles.animationDuration.some(function(ro){return ro>0})&&(to.style.animationDuration="0s"),this.styles.transform!==null&&(to.style.transform="none")),this.bounds=parseBounds(this.context,to),isDebugging(to,4)&&(this.flags|=16)}return Yi})(),base64$2=
vendor: 26,159 bytes, line 423
423"AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",
423chars$1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 13,439 bytes, line 423
423+/",lookup$1=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var i$1=0;i$1<chars$1.length;i$1++)lookup$1[chars$1.charCodeAt(i$1)]=i$1;var decode=function(Yi){var eo=Yi.length*.75,to=Yi.length,ro,no=0,io,oo,ao,so;Yi[Yi.length-1]==="="&&(eo--,Yi[Yi.length-2]==="="&&eo--);var lo=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(eo):new Array(eo),co=Array.isArray(lo)?lo:new Uint8Array(lo);for(ro=0;ro<to;ro+=4)io=lookup$1[Yi.charCodeAt(ro)],oo=lookup$1[Yi.charCodeAt(ro+1)],ao=lookup$1[Yi.charCodeAt(ro+2)],so=lookup$1[Yi.charCodeAt(ro+3)],co[no++]=io<<2|oo>>4,co[no++]=(oo&15)<<4|ao>>2,co[no++]=(ao&3)<<6|so&63;return lo},polyUint16Array=function(Yi){for(var eo=Yi.length,to=[],ro=0;ro<eo;ro+=2)to.push(Yi[ro+1]<<8|Yi[ro]);return to},polyUint32Array=function(Yi){for(var eo=Yi.length,to=[],ro=0;ro<eo;ro+=4)to.push(Yi[ro+3]<<24|Yi[ro+2]<<16|Yi[ro+1]<<8|Yi[ro]);return to},UTRIE2_SHIFT_2=5,UTRIE2_SHIFT_1=11,UTRIE2_INDEX_SHIFT=2,UTRIE2_SHIFT_1_2=UTRIE2_SHIFT_1-UTRIE2_SHIFT_2,UTRIE2_LSCP_INDEX_2_OFFSET=65536>>UTRIE2_SHIFT_2,UTRIE2_DATA_BLOCK_LENGTH=1<<UTRIE2_SHIFT_2,UTRIE2_DATA_MASK=UTRIE2_DATA_BLOCK_LENGTH-1,UTRIE2_LSCP_INDEX_2_LENGTH=1024>>UTRIE2_SHIFT_2,UTRIE2_INDEX_2_BMP_LENGTH=UTRIE2_LSCP_INDEX_2_OFFSET+UTRIE2_LSCP_INDEX_2_LENGTH,UTRIE2_UTF8_2B_INDEX_2_OFFSET=UTRIE2_INDEX_2_BMP_LENGTH,UTRIE2_UTF8_2B_INDEX_2_LENGTH=32,UTRIE2_INDEX_1_OFFSET=UTRIE2_UTF8_2B_INDEX_2_OFFSET+UTRIE2_UTF8_2B_INDEX_2_LENGTH,UTRIE2_OMITTED_BMP_INDEX_1_LENGTH=65536>>UTRIE2_SHIFT_1,UTRIE2_INDEX_2_BLOCK_LENGTH=1<<UTRIE2_SHIFT_1_2,UTRIE2_INDEX_2_MASK=UTRIE2_INDEX_2_BLOCK_LENGTH-1,slice16=function(Yi,eo,to){return Yi.slice?Yi.slice(eo,to):new Uint16Array(Array.prototype.slice.call(Yi,eo,to))},slice32=function(Yi,eo,to){return Yi.slice?Yi.slice(eo,to):new Uint32Array(Array.prototype.slice.call(Yi,eo,to))},createTrieFromBase64=function(Yi,eo){var to=decode(Yi),ro=Array.isArray(to)?polyUint32Array(to):new Uint32Array(to),no=Array.isArray(to)?polyUint16Array(to):new Uint16Array(to),io=24,oo=slice16(no,io/2,ro[4]/2),ao=ro[5]===2?slice16(no,(io+ro[4])/2):slice32(ro,Math.ceil((io+ro[4])/4));return new Trie(ro[0],ro[1],ro[2],ro[3],oo,ao)},Trie=(function(){function Yi(eo,to,ro,no,io,oo){this.initialValue=eo,this.errorValue=to,this.highStart=ro,this.highValueIndex=no,this.index=io,this.data=oo}return Yi.prototype.get=function(eo){var to;if(eo>=0){if(eo<55296||eo>56319&&eo<=65535)return to=this.index[eo>>UTRIE2_SHIFT_2],to=(to<<UTRIE2_INDEX_SHIFT)+(eo&UTRIE2_DATA_MASK),this.data[to];if(eo<=65535)return to=this.index[UTRIE2_LSCP_INDEX_2_OFFSET+(eo-55296>>UTRIE2_SHIFT_2)],to=(to<<UTRIE2_INDEX_SHIFT)+(eo&UTRIE2_DATA_MASK),this.data[to];if(eo<this.highStart)return to=UTRIE2_INDEX_1_OFFSET-UTRIE2_OMITTED_BMP_INDEX_1_LENGTH+(eo>>UTRIE2_SHIFT_1),to=this.index[to],to+=eo>>UTRIE2_SHIFT_2&UTRIE2_INDEX_2_MASK,to=this.index[to],to=(to<<UTRIE2_INDEX_SHIFT)+(eo&UTRIE2_DATA_MASK),this.data[to];if(eo<=1114111)return this.data[this.highValueIndex]}return this.errorValue},Yi})(),chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lookup=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var i$4=0;i$4<chars.length;i$4++)lookup[chars.charCodeAt(i$4)]=i$4;var Prepend=1,CR=2,LF=3,Control=4,Extend=5,SpacingMark=7,L=8,V=9,T$1=10,LV=11,LVT=12,ZWJ=13,Extended_Pictographic=14,RI=15,toCodePoints=function(Yi){for(var eo=[],to=0,ro=Yi.length;to<ro;){var no=Yi.charCodeAt(to++);if(no>=55296&&no<=56319&&to<ro){var io=Yi.charCodeAt(to++);(io&64512)===56320?eo.push(((no&1023)<<10)+(io&1023)+65536):(eo.push(no),to--)}else eo.push(no)}return eo},fromCodePoint=function(){for(var Yi=[],eo=0;eo<arguments.length;eo++)Yi[eo]=arguments[eo];if(String.fromCodePoint)return String.fromCodePoint.apply(String,Yi);var to=Yi.length;if(!to)return"";for(var ro=[],no=-1,io="";++no<to;){var oo=Yi[no];oo<=65535?ro.push(oo):(oo-=65536,ro.push((oo>>10)+55296,oo%1024+56320)),(no+1===to||ro.length>16384)&&(io+=String.fromCharCode.apply(String,ro),ro.length=0)}return io},UnicodeTrie=createTrieFromBase64(base64$2),BREAK_NOT_ALLOWED="×",BREAK_ALLOWED="÷",codePointToClass=function(Yi){return UnicodeTrie.get(Yi)},_graphemeBreakAtIndex=function(Yi,eo,to){var ro=to-2,no=eo[ro],io=eo[to-1],oo=eo[to];if(io===CR&&oo===LF)return BREAK_NOT_ALLOWED;if(io===CR||io===LF||io===Control||oo===CR||oo===LF||oo===Control)return BREAK_ALLOWED;if(io===L&&[L,V,LV,LVT].indexOf(oo)!==-1||(io===LV||io===V)&&(oo===V||oo===T$1)||(io===LVT||io===T$1)&&oo===T$1||oo===ZWJ||oo===Extend||oo===SpacingMark||io===Prepend)return BREAK_NOT_ALLOWED;if(io===ZWJ&&oo===Extended_Pictographic){for(;no===Extend;)no=eo[--ro];if(no===Extended_Pictographic)return BREAK_NOT_ALLOWED}if(io===RI&&oo===RI){for(var ao=0;no===RI;)ao++,no=eo[--ro];if(ao%2===0)return BREAK_NOT_ALLOWED}return BREAK_ALLOWED},GraphemeBreaker=function(Yi){var eo=toCodePoints(Yi),to=eo.length,ro=0,no=0,io=eo.map(codePointToClass);return{next:function(){if(ro>=to)return{done:!0,value:null};for(var oo=BREAK_NOT_ALLOWED;ro<to&&(oo=_graphemeBreakAtIndex(eo,io,++ro))===BREAK_NOT_ALLOWED;);if(oo!==BREAK_NOT_ALLOWED||ro===to){var ao=fromCodePoint.apply(null,eo.slice(no,ro));return no=ro,{value:ao,done:!1}}return{done:!0,value:null}}}},splitGraphemes=function(Yi){for(var eo=GraphemeBreaker(Yi),to=[],ro;!(ro=eo.next()).done;)ro.value&&to.push(ro.value.slice());return to},testRangeBounds=function(Yi){var eo=123;if(Yi.createRange){var to=Yi.createRange();if(to.getBoundingClientRect){var ro=Yi.createElement("boundtest");ro.style.height=eo+"px",ro.style.display="block",Yi.body.appendChild(ro),to.selectNode(ro);var no=to.getBoundingClientRect(),io=Math.round(no.height);if(Yi.body.removeChild(ro),io===eo)return!0}}return!1},testIOSLineBreak=function(Yi){var eo=Yi.createElement("boundtest");eo.style.width="50px",eo.style.display="block",eo.style.fontSize="12px",eo.style.letterSpacing="0px",eo.style.wordSpacing="0px",Yi.body.appendChild(eo);var to=Yi.createRange();eo.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var ro=eo.firstChild,no=toCodePoints$1(ro.data).map(function(so){return fromCodePoint$1(so)}),io=0,oo={},ao=no.every(function(so,lo){to.setStart(ro,io),to.setEnd(ro,io+so.length);var co=to.getBoundingClientRect();io+=so.length;var uo=co.x>oo.x||co.y>oo.y;return oo=co,lo===0?!0:uo});return Yi.body.removeChild(eo),ao},testCORS=function(){return typeof new Image().crossOrigin<"u"},testResponseType=function(){return typeof new XMLHttpRequest().responseType=="string"},testSVG=function(Yi){var eo=new Image,to=Yi.createElement("canvas"),ro=to.getContext("2d");if(!ro)return!1;eo.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{ro.drawImage(eo,0,0),to.toDataURL()}catch{return!1}return!0},isGreenPixel=function(Yi){return Yi[0]===0&&Yi[1]===255&&Yi[2]===0&&Yi[3]===255},testForeignObject=function(Yi){var eo=Yi.createElement("canvas"),to=100;eo.width=to,eo.height=to;var ro=eo.getContext("2d");if(!ro)return Promise.reject(!1);ro.fillStyle="rgb(0, 255, 0)",ro.fillRect(0,0,to,to);var no=new Image,io=eo.toDataURL();no.src=io;var oo=createForeignObjectSVG(to,to,0,0,no);return ro.fillStyle="red",ro.fillRect(0,0,to,to),loadSerializedSVG$1(oo).then(function(ao){ro.drawImage(ao,0,0);var so=ro.getImageData(0,0,to,to).data;ro.fillStyle="red",ro.fillRect(0,0,to,to);var lo=Yi.createElement("div");return lo.style.backgroundImage="url("+io+")",lo.style.height=to+"px",isGreenPixel(so)?loadSerializedSVG$1(createForeignObjectSVG(to,to,0,0,lo)):Promise.reject(!1)}).then(function(ao){return ro.drawImage(ao,0,0),isGreenPixel(ro.getImageData(0,0,to,to).data)}).catch(function(){return!1})},createForeignObjectSVG=function(Yi,eo,to,ro,no){var io="http://www.w3.org/2000/svg",oo=document.createElementNS(io,"svg"),ao=document.createElementNS(io,"foreignObject");return oo.setAttributeNS(null,"width",Yi.toString()),oo.setAttributeNS(null,"height",eo.toString()),ao.setAttributeNS(null,"width","100%"),ao.setAttributeNS(null,"height","100%"),ao.setAttributeNS(null,"x",to.toString()),ao.setAttributeNS(null,"y",ro.toString()),ao.setAttributeNS(null,"externalResourcesRequired","true"),oo.appendChild(ao),ao.appendChild(no),oo},loadSerializedSVG$1=function(Yi){return new Promise(function(eo,to){var ro=new Image;ro.onload=function(){return eo(ro)},ro.onerror=to,ro.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(Yi))})},FEATURES={get SUPPORT_RANGE_BOUNDS(){var Yi=testRangeBounds(document);return Object.defineProperty(FEATURES,"SUPPORT_RANGE_BOUNDS",{value:Yi}),Yi},get SUPPORT_WORD_BREAKING(){var Yi=FEATURES.SUPPORT_RANGE_BOUNDS&&testIOSLineBreak(document);return Object.defineProperty(FEATURES,"SUPPORT_WORD_BREAKING",{value:Yi}),Yi},get SUPPORT_SVG_DRAWING(){var Yi=testSVG(document);return Object.defineProperty(FEATURES,"SUPPORT_SVG_DRAWING",{value:Yi}),Yi},get SUPPORT_FOREIGNOBJECT_DRAWING(){var Yi=typeof Array.from=="function"&&typeof window.fetch=="function"?testForeignObject(document):Promise.resolve(!1);return Object.defineProperty(FEATURES,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:Yi}),Yi},get SUPPORT_CORS_IMAGES(){var Yi=testCORS();return Object.defineProperty(FEATURES,"SUPPORT_CORS_IMAGES",{value:Yi}),Yi},get SUPPORT_RESPONSE_TYPE(){var Yi=testResponseType();return Object.defineProperty(FEATURES,"SUPPORT_RESPONSE_TYPE",{value:Yi}),Yi},get SUPPORT_CORS_XHR(){var Yi="withCredentials"in new XMLHttpRequest;return Object.defineProperty(FEATURES,"SUPPORT_CORS_XHR",{value:Yi}),Yi},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var Yi=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(FEATURES,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:Yi}),Yi}},TextBounds=(function(){function Yi(eo,to){this.text=eo,this.bounds=to}return Yi})(),parseTextBounds=function(Yi,eo,to,ro){var no=breakText(eo,to),io=[],oo=0;return no.forEach(function(ao){if(to.textDecorationLine.length||ao.trim().length>0)if(FEATURES.SUPPORT_RANGE_BOUNDS){var so=createRange$2(ro,oo,ao.length).getClientRects();if(so.length>1){var lo=segmentGraphemes(ao),co=0;lo.forEach(function(fo){io.push(new TextBounds(fo,Bounds.fromDOMRectList(Yi,createRange$2(ro,co+oo,fo.length).getClientRects()))),co+=fo.length})}else io.push(new TextBounds(ao,Bounds.fromDOMRectList(Yi,so)))}else{var uo=ro.splitText(ao.length);io.push(new TextBounds(ao,getWrapperBounds(Yi,ro))),ro=uo}else FEATURES.SUPPORT_RANGE_BOUNDS||(ro=ro.splitText(ao.length));oo+=ao.length}),io},getWrapperBounds=function(Yi,eo){var to=eo.ownerDocument;if(to){var ro=to.createElement("html2canvaswrapper");ro.appendChild(eo.cloneNode(!0));var no=eo.parentNode;if(no){no.replaceChild(ro,eo);var io=parseBounds(Yi,ro);return ro.firstChild&&no.replaceChild(ro.firstChild,ro),io}}return Bounds.EMPTY},createRange$2=function(Yi,eo,to){var ro=Yi.ownerDocument;if(!ro)throw new Error("Node has no owner document");var no=ro.createRange();return no.setStart(Yi,eo),no.setEnd(Yi,eo+to),no},segmentGraphemes=function(Yi){if(FEATURES.SUPPORT_NATIVE_TEXT_SEGMENTATION){var eo=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(eo.segment(Yi)).map(function(to){return to.segment})}return splitGraphemes(Yi)},segmentWords=function(Yi,eo){if(FEATURES.SUPPORT_NATIVE_TEXT_SEGMENTATION){var to=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(to.segment(Yi)).map(function(ro){return ro.segment})}return breakWords(Yi,eo)},breakText=function(Yi,eo){return eo.letterSpacing!==0?segmentGraphemes(Yi):segmentWords(Yi,eo)},wordSeparators=[32,160,4961,65792,65793,4153,4241],breakWords=function(Yi,eo){for(var to=LineBreaker(Yi,{lineBreak:eo.lineBreak,wordBreak:eo.overflowWrap==="break-word"?"break-word":eo.wordBreak}),ro=[],no,io=function(){if(no.value){var oo=no.value.slice(),ao=toCodePoints$1(oo),so="";ao.forEach(function(lo){wordSeparators.indexOf(lo)===-1?so+=fromCodePoint$1(lo):(so.length&&ro.push(so),ro.push(fromCodePoint$1(lo)),so="")}),so.length&&ro.push(so)}};!(no=to.next()).done;)io();return ro},TextContainer=(function(){function Yi(eo,to,ro){this.text=transform$2(to.data,ro.textTransform),this.textBounds=parseTextBounds(eo,this.text,ro,to)}return Yi})(),transform$2=function(Yi,eo){switch(eo){case 1:return Yi.toLowerCase();case 3:return Yi.replace(CAPITALIZE,capitalize$1);case 2:return Yi.toUpperCase();default:return Yi}},CAPITALIZE=/(^|\s|:|-|\(|\))([a-z])/g,capitalize$1=function(Yi,eo,to){return Yi.length>0?eo+to.toUpperCase():Yi},ImageElementContainer=(function(Yi){__extends(eo,Yi);function eo(to,ro){var no=Yi.call(this,to,ro)||this;return no.src=ro.currentSrc||ro.src,no.intrinsicWidth=ro.naturalWidth,no.intrinsicHeight=ro.naturalHeight,no.context.cache.addImage(no.src),no}return eo})(ElementContainer),CanvasElementContainer=(function(Yi){__extends(eo,Yi);function eo(to,ro){var no=Yi.call(this,to,ro)||this;return no.canvas=ro,no.intrinsicWidth=ro.width,no.intrinsicHeight=ro.height,no}return eo})(ElementContainer),SVGElementContainer=(function(Yi){__extends(eo,Yi);function eo(to,ro){var no=Yi.call(this,to,ro)||this,io=new XMLSerializer,oo=parseBounds(to,ro);return ro.setAttribute("width",oo.width+"px"),ro.setAttribute("height",oo.height+"px"),no.svg="data:image/svg+xml,"+encodeURIComponent(io.serializeToString(ro)),no.intrinsicWidth=ro.width.baseVal.value,no.intrinsicHeight=ro.height.baseVal.value,no.context.cache.addImage(no.svg),no}return eo})(ElementContainer),LIElementContainer=(function(Yi){__extends(eo,Yi);function eo(to,ro){var no=Yi.call(this,to,ro)||this;
vendor: 4,656 bytes, line 423
423return no.value=ro.value,no}return eo})(ElementContainer),OLElementContainer=(function(Yi){__extends(eo,Yi);function eo(to,ro){var no=Yi.call(this,to,ro)||this;return no.start=ro.start,no.reversed=typeof ro.reversed=="boolean"&&ro.reversed===!0,no}return eo})(ElementContainer),CHECKBOX_BORDER_RADIUS=[{type:15,flags:0,unit:"px",number:3}],RADIO_BORDER_RADIUS=[{type:16,flags:0,number:50}],reformatInputBounds=function(Yi){return Yi.width>Yi.height?new Bounds(Yi.left+(Yi.width-Yi.height)/2,Yi.top,Yi.height,Yi.height):Yi.width<Yi.height?new Bounds(Yi.left,Yi.top+(Yi.height-Yi.width)/2,Yi.width,Yi.width):Yi},getInputValue=function(Yi){var eo=Yi.type===PASSWORD?new Array(Yi.value.length+1).join("•"):Yi.value;return eo.length===0?Yi.placeholder||"":eo},CHECKBOX="checkbox",RADIO="radio",PASSWORD="password",INPUT_COLOR=707406591,InputElementContainer=(function(Yi){__extends(eo,Yi);function eo(to,ro){var no=Yi.call(this,to,ro)||this;switch(no.type=ro.type.toLowerCase(),no.checked=ro.checked,no.value=getInputValue(ro),(no.type===CHECKBOX||no.type===RADIO)&&(no.styles.backgroundColor=3739148031,no.styles.borderTopColor=no.styles.borderRightColor=no.styles.borderBottomColor=no.styles.borderLeftColor=2779096575,no.styles.borderTopWidth=no.styles.borderRightWidth=no.styles.borderBottomWidth=no.styles.borderLeftWidth=1,no.styles.borderTopStyle=no.styles.borderRightStyle=no.styles.borderBottomStyle=no.styles.borderLeftStyle=1,no.styles.backgroundClip=[0],no.styles.backgroundOrigin=[0],no.bounds=reformatInputBounds(no.bounds)),no.type){case CHECKBOX:no.styles.borderTopRightRadius=no.styles.borderTopLeftRadius=no.styles.borderBottomRightRadius=no.styles.borderBottomLeftRadius=CHECKBOX_BORDER_RADIUS;break;case RADIO:no.styles.borderTopRightRadius=no.styles.borderTopLeftRadius=no.styles.borderBottomRightRadius=no.styles.borderBottomLeftRadius=RADIO_BORDER_RADIUS;break}return no}return eo})(ElementContainer),SelectElementContainer=(function(Yi){__extends(eo,Yi);function eo(to,ro){var no=Yi.call(this,to,ro)||this,io=ro.options[ro.selectedIndex||0];return no.value=io&&io.text||"",no}return eo})(ElementContainer),TextareaElementContainer=(function(Yi){__extends(eo,Yi);function eo(to,ro){var no=Yi.call(this,to,ro)||this;return no.value=ro.value,no}return eo})(ElementContainer),IFrameElementContainer=(function(Yi){__extends(eo,Yi);function eo(to,ro){var no=Yi.call(this,to,ro)||this;no.src=ro.src,no.width=parseInt(ro.width,10)||0,no.height=parseInt(ro.height,10)||0,no.backgroundColor=no.styles.backgroundColor;try{if(ro.contentWindow&&ro.contentWindow.document&&ro.contentWindow.document.documentElement){no.tree=parseTree(to,ro.contentWindow.document.documentElement);var io=ro.contentWindow.document.documentElement?parseColor(to,getComputedStyle(ro.contentWindow.document.documentElement).backgroundColor):COLORS.TRANSPARENT,oo=ro.contentWindow.document.body?parseColor(to,getComputedStyle(ro.contentWindow.document.body).backgroundColor):COLORS.TRANSPARENT;no.backgroundColor=isTransparent(io)?isTransparent(oo)?no.styles.backgroundColor:oo:io}}catch{}return no}return eo})(ElementContainer),LIST_OWNERS=["OL","UL","MENU"],parseNodeTree=function(Yi,eo,to,ro){for(var no=eo.firstChild,io=void 0;no;no=io)if(io=no.nextSibling,isTextNode(no)&&no.data.trim().length>0)to.textNodes.push(new TextContainer(Yi,no,to.styles));else if(isElementNode(no))if(isSlotElement(no)&&no.assignedNodes)no.assignedNodes().forEach(function(ao){return parseNodeTree(Yi,ao,to,ro)});else{var oo=createContainer(Yi,no);oo.styles.isVisible()&&(createsRealStackingContext(no,oo,ro)?oo.flags|=4:createsStackingContext(oo.styles)&&(oo.flags|=2),LIST_OWNERS.indexOf(no.tagName)!==-1&&(oo.flags|=8),to.elements.push(oo),no.slot,no.shadowRoot?parseNodeTree(Yi,no.shadowRoot,oo,ro):!isTextareaElement(no)&&!isSVGElement(no)&&!isSelectElement(no)&&parseNodeTree(Yi,no,oo,ro))}},createContainer=function(Yi,eo){return isImageElement(eo)?new ImageElementContainer(Yi,eo):isCanvasElement(eo)?new CanvasElementContainer(Yi,eo):isSVGElement(eo)?new SVGElementContainer(Yi,eo):isLIElement(eo)?new LIElementContainer(Yi,eo):isOLElement(eo)?new OLElementContainer(Yi,eo):isInputElement(eo)?new InputElementContainer(Yi,eo):isSelectElement(eo)?new SelectElementContainer(Yi,eo):isTextareaElement(eo)?new TextareaElementContainer(Yi,eo):isIFrameElement(eo)?new IFrameElementContainer(Yi,eo):new ElementContainer(Yi,eo)},parseTree=function(Yi,eo){var to=createContainer(Yi,eo);return to.flags|=4,parseNodeTree(Yi,eo,to,to),to},createsRealStackingContext=function(Yi,eo,to){return eo.styles.isPositionedWithZIndex()||eo.styles.opacity<1||eo.styles.isTransformed()||isBodyElement(Y
423i)&&to.styles.isTransparent()},createsStackingContext=function(Yi){return Yi.isPositioned()||Yi.isFloating()},isTextNode=function(Yi){return Yi.nodeType===Node.TEXT_NODE},isElementNode=function(Yi){return Yi.nodeType===Node.ELEMENT_NODE},isHTMLElementNode=function(Yi){return isElementNode(Yi)&&typeof Yi.style<"u"&&!isSVGElementNode(Yi)},isSVGElementNode=function(Yi){return typeof Yi.className=="object"},isLIElement=function(Yi){return Yi.tagName==="LI"},isOLElement=function(Yi){return Yi.tagName==="OL"},isInputElement=function(Yi){return Yi.tagName==="INPUT"},isHTMLElement$1=function(Yi){return Yi.tagName==="HTML"},isSVGElement=function(Yi){return Yi.tagName==="svg"},isBodyElement=function(Yi){return Yi.tagName==="BODY"},isCanvasElement=function(Yi){return Yi.tagName==="CANVAS"},isVideoElement=function(Yi){return Yi.tagName==="VIDEO"},isImageElement=function(Yi){return Yi.tagName==="IMG"},isIFrameElement=function(Yi){return Yi.tagName==="IFRAME"},isStyleElement=function(Yi){return Yi.tagName==="STYLE"},isScriptElement=function(Yi){return Yi.tagName==="SCRIPT"},isTextareaElement=function(Yi){return Yi.tagName==="TEXTAREA"},isSelectElement=function(Yi){return Yi.tagName==="SELECT"},isSlotElement=function(Yi){return Yi.tagName==="SLOT"}
vendor: 8,063 bytes, line 423
423,isCustomElement=function(Yi){return Yi.tagName.indexOf("-")>0},CounterState=(function(){function Yi(){this.counters={}}return Yi.prototype.getCounterValue=function(eo){var to=this.counters[eo];return to&&to.length?to[to.length-1]:1},Yi.prototype.getCounterValues=function(eo){var to=this.counters[eo];return to||[]},Yi.prototype.pop=function(eo){var to=this;eo.forEach(function(ro){return to.counters[ro].pop()})},Yi.prototype.parse=function(eo){var to=this,ro=eo.counterIncrement,no=eo.counterReset,io=!0;ro!==null&&ro.forEach(function(ao){var so=to.counters[ao.counter];so&&ao.increment!==0&&(io=!1,so.length||so.push(1),so[Math.max(0,so.length-1)]+=ao.increment)});var oo=[];return io&&no.forEach(function(ao){var so=to.counters[ao.counter];oo.push(ao.counter),so||(so=to.counters[ao.counter]=[]),so.push(ao.reset)}),oo},Yi})(),ROMAN_UPPER={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},ARMENIAN={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},HEBREW={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},GEORGIAN={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},createAdditiveCounter=function(Yi,eo,to,ro,no,io){return Yi<eo||Yi>to?createCounterText(Yi,no,io.length>0):ro.integers.reduce(function(oo,ao,so){for(;Yi>=ao;)Yi-=ao,oo+=ro.values[so];return oo},"")+io},createCounterStyleWithSymbolResolver=function(Yi,eo,to,ro){var no="";do to||Yi--,no=ro(Yi)+no,Yi/=eo;while(Yi*eo>=eo);return no},createCounterStyleFromRange=function(Yi,eo,to,ro,no){var io=to-eo+1;return(Yi<0?"-":"")+(createCounterStyleWithSymbolResolver(Math.abs(Yi),io,ro,function(oo){return fromCodePoint$1(Math.floor(oo%io)+eo)})+no)},createCounterStyleFromSymbols=function(Yi,eo,to){to===void 0&&(to=". ");var ro=eo.length;return createCounterStyleWithSymbolResolver(Math.abs(Yi),ro,!1,function(no){return eo[Math.floor(no%ro)]})+to},CJK_ZEROS=1,CJK_TEN_COEFFICIENTS=2,CJK_TEN_HIGH_COEFFICIENTS=4,CJK_HUNDRED_COEFFICIENTS=8,createCJKCounter=function(Yi,eo,to,ro,no,io){if(Yi<-9999||Yi>9999)return createCounterText(Yi,4,no.length>0);var oo=Math.abs(Yi),ao=no;if(oo===0)return eo[0]+ao;for(var so=0;oo>0&&so<=4;so++){var lo=oo%10;lo===0&&contains(io,CJK_ZEROS)&&ao!==""?ao=eo[lo]+ao:lo>1||lo===1&&so===0||lo===1&&so===1&&contains(io,CJK_TEN_COEFFICIENTS)||lo===1&&so===1&&contains(io,CJK_TEN_HIGH_COEFFICIENTS)&&Yi>100||lo===1&&so>1&&contains(io,CJK_HUNDRED_COEFFICIENTS)?ao=eo[lo]+(so>0?to[so-1]:"")+ao:lo===1&&so>0&&(ao=to[so-1]+ao),oo=Math.floor(oo/10)}return(Yi<0?ro:"")+ao},CHINESE_INFORMAL_MULTIPLIERS="十百千萬",CHINESE_FORMAL_MULTIPLIERS="拾佰仟萬",JAPANESE_NEGATIVE="マイナス",KOREAN_NEGATIVE="마이너스",createCounterText=function(Yi,eo,to){var ro=to?". ":"",no=to?"、":"",io=to?", ":"",oo=to?" ":"";switch(eo){case 0:return"•"+oo;case 1:return"◦"+oo;case 2:return"◾"+oo;case 5:var ao=createCounterStyleFromRange(Yi,48,57,!0,ro);return ao.length<4?"0"+ao:ao;case 4:return createCounterStyleFromSymbols(Yi,"〇一二三四五六七八九",no);case 6:return createAdditiveCounter(Yi,1,3999,ROMAN_UPPER,3,ro).toLowerCase();case 7:return createAdditiveCounter(Yi,1,3999,ROMAN_UPPER,3,ro);case 8:return createCounterStyleFromRange(Yi,945,969,!1,ro);case 9:return createCounterStyleFromRange(Yi,97,122,!1,ro);case 10:return createCounterStyleFromRange(Yi,65,90,!1,ro);case 11:return createCounterStyleFromRange(Yi,1632,1641,!0,ro);case 12:case 49:return createAdditiveCounter(Yi,1,9999,ARMENIAN,3,ro);case 35:return createAdditiveCounter(Yi,1,9999,ARMENIAN,3,ro).toLowerCase();case 13:return createCounterStyleFromRange(Yi,2534,2543,!0,ro);case 14:case 30:return createCounterStyleFromRange(Yi,6112,6121,!0,ro);case 15:return createCounterStyleFromSymbols(Yi,"子丑寅卯辰巳午未申酉戌亥",no);case 16:return createCounterStyleFromSymbols(Yi,"甲乙丙丁戊己庚辛壬癸",no);case 17:case 48:return createCJKCounter(Yi,"零一二三四五六七八九",CHINESE_INFORMAL_MULTIPLIERS,"負",no,CJK_TEN_COEFFICIENTS|CJK_TEN_HIGH_COEFFICIENTS|CJK_HUNDRED_COEFFICIENTS);case 47:return createCJKCounter(Yi,"零壹貳參肆伍陸柒捌玖",CHINESE_FORMAL_MULTIPLIERS,"負",no,CJK_ZEROS|CJK_TEN_COEFFICIENTS|CJK_TEN_HIGH_COEFFICIENTS|CJK_HUNDRED_COEFFICIENTS);case 42:return createCJKCounter(Yi,"零一二三四五六七八九",CHINESE_INFORMAL_MULTIPLIERS,"负",no,CJK_TEN_COEFFICIENTS|CJK_TEN_HIGH_COEFFICIENTS|CJK_HUNDRED_COEFFICIENTS);case 41:return createCJKCounter(Yi,"零壹贰叁肆伍陆柒捌玖",CHINESE_FORMAL_MULTIPLIERS,"负",no,CJK_ZEROS|CJK_TEN_COEFFICIENTS|CJK_TEN_HIGH_COEFFICIENTS|CJK_HUNDRED_COEFFICIENTS);case 26:return createCJKCounter(Yi,"〇一二三四五六七八九","十百千万",JAPANESE_NEGATIVE,no,0);case 25:return createCJKCounter(Yi,"零壱弐参四伍六七八九","拾百千万",JAPANESE_NEGATIVE,no,CJK_ZEROS|CJK_TEN_COEFFICIENTS|CJK_TEN_HIGH_COEFFICIENTS);case 31:return createCJKCounter(Yi,"영일이삼사오육칠팔구","십백천만",KOREAN_NEGATIVE,io,CJK_ZEROS|CJK_TEN_COEFFICIENTS|CJK_TEN_HIGH_COEFFICIENTS);case 33:return createCJKCounter(Yi,"零一二三四五六七八九","十百千萬",KOREAN_NEGATIVE,io,0);case 32:return createCJKCounter(Yi,"零壹貳參四五六七八九","拾百千",KOREAN_NEGATIVE,io,CJK_ZEROS|CJK_TEN_COEFFICIENTS|CJK_TEN_HIGH_COEFFICIENTS);case 18:return createCounterStyleFromRange(Yi,2406,2415,!0,ro);case 20:return createAdditiveCounter(Yi,1,19999,GEORGIAN,3,ro);case 21:return createCounterStyleFromRange(Yi,2790,2799,!0,ro);case 22:return createCounterStyleFromRange(Yi,2662,2671,!0,ro);case 22:return createAdditiveCounter(Yi,1,10999,HEBREW,3,ro);case 23:return createCounterStyleFromSymbols(Yi,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return createCounterStyleFromSymbols(Yi,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return createCounterStyleFromRange(Yi,3302,3311,!0,ro);case 28:return createCounterStyleFromSymbols(Yi,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",no);case 29:return createCounterStyleFromSymbols(Yi,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",no);case 34:return createCounterStyleFromRange(Yi,3792,3801,!0,ro);case 37:return createCounterStyleFromRange(Yi,6160,6169,!0,ro);case 38:return createCounterStyleFromRange(Yi,4160,4169,!0,ro);case 39:return createCounterStyleFromRange(Yi,2918,2927,!0,ro);case 40:return createCounterStyleFromRange(Yi,1776,1785,!0,ro);case 43:return createCounterStyleFromRange(Yi,3046,3055,!0,ro);case 44:return createCounterStyleFromRange(Yi,3174,3183,!0,ro);case 45:return createCounterStyleFromRange(Yi,3664,3673,!0,ro);case 46:return createCounterStyleFromRange(Yi,3872,3881,!0,ro);case 3:default:return createCounterStyleFromRange(Yi,48,57,!0,ro)}},IGNORE_ATTRIBUTE="data-html2canvas-ignore",DocumentCloner=(function(){function Yi(eo,to,ro){
vendor: 2,818 bytes, line 423
423if(this.context=eo,this.options=ro,this.scrolledElements=[],this.referenceElement=to,this.counters=new CounterState,this.quoteDepth=0,!to.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(to.ownerDocument.documentElement,!1)}return Yi.prototype.toIFrame=function(eo,to){var ro=this,no=createIFrameContainer(eo,to);if(!no.contentWindow)return Promise.reject("Unable to find iframe window");var io=eo.defaultView.pageXOffset,oo=eo.defaultView.pageYOffset,ao=no.contentWindow,so=ao.document,lo=iframeLoader(no).then(function(){return __awaiter$2(ro,void 0,void 0,function(){var co,uo;return __generator(this,function(fo){switch(fo.label){case 0:return this.scrolledElements.forEach(restoreNodeScroll),ao&&(ao.scrollTo(to.left,to.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(ao.scrollY!==to.top||ao.scrollX!==to.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(ao.scrollX-to.left,ao.scrollY-to.top,0,0))),co=this.options.onclone,uo=this.clonedReferenceElement,typeof uo>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:so.fonts&&so.fonts.ready?[4,so.fonts.ready]:[3,2];case 1:fo.sent(),fo.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,imagesReady(so)]:[3,4];case 3:fo.sent(),fo.label=4;case 4:return typeof co=="function"?[2,Promise.resolve().then(function(){return co(so,uo)}).then(function(){return no})]:[2,no]}})})});return so.open(),so.write(serializeDoctype(document.doctype)+"<html></html>"),restoreOwnerScroll(this.referenceElement.ownerDocument,io,oo),so.replaceChild(so.adoptNode(this.documentElement),so.documentElement),so.close(),lo},Yi.prototype.createElementClone=function(eo){if(isDebugging(eo,2))debugger;if(isCanvasElement(eo))return this.createCanvasClone(eo);if(isVideoElement(eo))return this.createVideoClone(eo);if(isStyleElement(eo))return this.createStyleClone(eo);var to=eo.cloneNode(!1);return isImageElement(to)&&(isImageElement(eo)&&eo.currentSrc&&eo.currentSrc!==eo.src&&(to.src=eo.currentSrc,to.srcset=""),to.loading==="lazy"&&(to.loading="eager")),isCustomElement(to)?this.createCustomElementClone(to):to},Yi.prototype.createCustomElementClone=function(eo){var to=document.createElement("html2canvascustomelement");return copyCSSStyles(eo.style,to),to},Yi.prototype.createStyleClone=function(eo){try{var to=eo.sheet;if(to&&to.cssRules){var ro=[].slice.call(to.cssRules,0).reduce(function(io,oo){return oo&&typeof oo.cssText=="string"?io+oo.cssText:io},""),no=eo.cloneNode(!1);return no.textContent=ro,no}}catch(io){if(this.context.logger.error("Unable to access cssRules property",io),io.name!=="SecurityError")throw io}return eo.cloneNode(!1)}
vendor: 6,449 bytes, line 423
423,Yi.prototype.createCanvasClone=function(eo){var to;if(this.options.inlineImages&&eo.ownerDocument){var ro=eo.ownerDocument.createElement("img");try{return ro.src=eo.toDataURL(),ro}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",eo)}}var no=eo.cloneNode(!1);try{no.width=eo.width,no.height=eo.height;var io=eo.getContext("2d"),oo=no.getContext("2d");if(oo)if(!this.options.allowTaint&&io)oo.putImageData(io.getImageData(0,0,eo.width,eo.height),0,0);else{var ao=(to=eo.getContext("webgl2"))!==null&&to!==void 0?to:eo.getContext("webgl");if(ao){var so=ao.getContextAttributes();(so==null?void 0:so.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",eo)}oo.drawImage(eo,0,0)}return no}catch{this.context.logger.info("Unable to clone canvas as it is tainted",eo)}return no},Yi.prototype.createVideoClone=function(eo){var to=eo.ownerDocument.createElement("canvas");to.width=eo.offsetWidth,to.height=eo.offsetHeight;var ro=to.getContext("2d");try{return ro&&(ro.drawImage(eo,0,0,to.width,to.height),this.options.allowTaint||ro.getImageData(0,0,to.width,to.height)),to}catch{this.context.logger.info("Unable to clone video as it is tainted",eo)}var no=eo.ownerDocument.createElement("canvas");return no.width=eo.offsetWidth,no.height=eo.offsetHeight,no},Yi.prototype.appendChildNode=function(eo,to,ro){(!isElementNode(to)||!isScriptElement(to)&&!to.hasAttribute(IGNORE_ATTRIBUTE)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(to)))&&(!this.options.copyStyles||!isElementNode(to)||!isStyleElement(to))&&eo.appendChild(this.cloneNode(to,ro))},Yi.prototype.cloneChildNodes=function(eo,to,ro){for(var no=this,io=eo.shadowRoot?eo.shadowRoot.firstChild:eo.firstChild;io;io=io.nextSibling)if(isElementNode(io)&&isSlotElement(io)&&typeof io.assignedNodes=="function"){var oo=io.assignedNodes();oo.length&&oo.forEach(function(ao){return no.appendChildNode(to,ao,ro)})}else this.appendChildNode(to,io,ro)},Yi.prototype.cloneNode=function(eo,to){if(isTextNode(eo))return document.createTextNode(eo.data);if(!eo.ownerDocument)return eo.cloneNode(!1);var ro=eo.ownerDocument.defaultView;if(ro&&isElementNode(eo)&&(isHTMLElementNode(eo)||isSVGElementNode(eo))){var no=this.createElementClone(eo);no.style.transitionProperty="none";var io=ro.getComputedStyle(eo),oo=ro.getComputedStyle(eo,":before"),ao=ro.getComputedStyle(eo,":after");this.referenceElement===eo&&isHTMLElementNode(no)&&(this.clonedReferenceElement=no),isBodyElement(no)&&createPseudoHideStyles(no);var so=this.counters.parse(new CSSParsedCounterDeclaration(this.context,io)),lo=this.resolvePseudoContent(eo,no,oo,PseudoElementType.BEFORE);isCustomElement(eo)&&(to=!0),isVideoElement(eo)||this.cloneChildNodes(eo,no,to),lo&&no.insertBefore(lo,no.firstChild);var co=this.resolvePseudoContent(eo,no,ao,PseudoElementType.AFTER);return co&&no.appendChild(co),this.counters.pop(so),(io&&(this.options.copyStyles||isSVGElementNode(eo))&&!isIFrameElement(eo)||to)&&copyCSSStyles(io,no),(eo.scrollTop!==0||eo.scrollLeft!==0)&&this.scrolledElements.push([no,eo.scrollLeft,eo.scrollTop]),(isTextareaElement(eo)||isSelectElement(eo))&&(isTextareaElement(no)||isSelectElement(no))&&(no.value=eo.value),no}return eo.cloneNode(!1)},Yi.prototype.resolvePseudoContent=function(eo,to,ro,no){var io=this;if(ro){var oo=ro.content,ao=to.ownerDocument;if(!(!ao||!oo||oo==="none"||oo==="-moz-alt-content"||ro.display==="none")){this.counters.parse(new CSSParsedCounterDeclaration(this.context,ro));var so=new CSSParsedPseudoDeclaration(this.context,ro),lo=ao.createElement("html2canvaspseudoelement");copyCSSStyles(ro,lo),so.content.forEach(function(uo){if(uo.type===0)lo.appendChild(ao.createTextNode(uo.value));else if(uo.type===22){var fo=ao.createElement("img");fo.src=uo.value,fo.style.opacity="1",lo.appendChild(fo)}else if(uo.type===18){if(uo.name==="attr"){var ho=uo.values.filter(isIdentToken);ho.length&&lo.appendChild(ao.createTextNode(eo.getAttribute(ho[0].value)||""))}else if(uo.name==="counter"){var mo=uo.values.filter(nonFunctionArgSeparator),vo=mo[0],Co=mo[1];if(vo&&isIdentToken(vo)){var bo=io.counters.getCounterValue(vo.value),wo=Co&&isIdentToken(Co)?listStyleType.parse(io.context,Co.value):3;lo.appendChild(ao.createTextNode(createCounterText(bo,wo,!1)))}}else if(uo.name==="counters"){var yo=uo.values.filter(nonFunctionArgSeparator),vo=yo[0],Eo=yo[1],Co=yo[2];if(vo&&isIdentToken(vo)){var xo=io.counters.getCounterValues(vo.value),So=Co&&isIdentToken(Co)?listStyleType.parse(io.context,Co.value):3,To=Eo&&Eo.type===0?Eo.value:"",Ro=xo.map(function(Ho){return createCounterText(Ho,So,!1)}).join(To);lo.appendChild(ao.createTextNode(Ro))}}}else if(uo.type===20)switch(uo.value){case"open-quote":lo.appendChild(ao.createTextNode(getQuote(so.quotes,io.quoteDepth++,!0)));break;case"close-quote":lo.appendChild(ao.createTextNode(getQuote(so.quotes,--io.quoteDepth,!1)));break;default:lo.appendChild(ao.createTextNode(uo.value))}}),lo.className=PSEUDO_HIDE_ELEMENT_CLASS_BEFORE+" "+PSEUDO_HIDE_ELEMENT_CLASS_AFTER;var co=no===PseudoElementType.BEFORE?" "+PSEUDO_HIDE_ELEMENT_CLASS_BEFORE:" "+PSEUDO_HIDE_ELEMENT_CLASS_AFTER;return isSVGElementNode(to)?to.className.baseValue+=co:to.className+=co,lo}}},Yi.destroy=function(eo){return eo.parentNode?(eo.parentNode.removeChild(eo),!0):!1},Yi})(),PseudoElementType;(function(Yi){Yi[Yi.BEFORE=0]="BEFORE",Yi[Yi.AFTER=1]="AFTER"})(PseudoElementType||(PseudoElementType={}));var createIFrameContainer=function(Yi,eo){var to=Yi.createElement("iframe");return to.className="html2canvas-container",to.style.visibility="hidden",to.style.position="fixed",to.style.left="-10000px",to.style.top="0px",to.style.border="0",to.width=eo.width.toString(),to.height=eo.height.toString(),to.scrolling="no",to.setAttribute(IGNORE_ATTRIBUTE,"true"),Yi.body.appendChild(to),to},imageReady=function(Yi){return new Promise(function(eo){if(Yi.complete){eo();return}if(!Yi.src){eo();return}Yi.onload=eo,Yi.onerror=eo})},imagesReady=function(Yi){return Promise.all([].slice.call(Yi.images,0).map(imageReady))},iframeLoader=function(Yi){return new Promise(function(eo,to){var ro=Yi.contentWindow;if(!ro)return to("No window assigned for iframe");var no=ro.document;ro.onload=Yi.onload=function(){ro.onload=Yi.onload=null;var io=setInterval(function(){no.body.childNodes.length>0&&no.readyState==="complete"&&(clearInterval(io),eo(Yi))},50)}})}
vendor: 21,827 bytes, lines 423-427
423,ignoredStyleProperties=["all","d","content"],copyCSSStyles=function(Yi,eo){for(var to=Yi.length-1;to>=0;to--){var ro=Yi.item(to);ignoredStyleProperties.indexOf(ro)===-1&&eo.style.setProperty(ro,Yi.getPropertyValue(ro))}return eo},serializeDoctype=function(Yi){var eo="";return Yi&&(eo+="<!DOCTYPE ",Yi.name&&(eo+=Yi.name),Yi.internalSubset&&(eo+=Yi.internalSubset),Yi.publicId&&(eo+='"'+Yi.publicId+'"'),Yi.systemId&&(eo+='"'+Yi.systemId+'"'),eo+=">"),eo},restoreOwnerScroll=function(Yi,eo,to){Yi&&Yi.defaultView&&(eo!==Yi.defaultView.pageXOffset||to!==Yi.defaultView.pageYOffset)&&Yi.defaultView.scrollTo(eo,to)},restoreNodeScroll=function(Yi){var eo=Yi[0],to=Yi[1],ro=Yi[2];eo.scrollLeft=to,eo.scrollTop=ro},PSEUDO_BEFORE=":before",PSEUDO_AFTER=":after",PSEUDO_HIDE_ELEMENT_CLASS_BEFORE="___html2canvas___pseudoelement_before",PSEUDO_HIDE_ELEMENT_CLASS_AFTER="___html2canvas___pseudoelement_after",PSEUDO_HIDE_ELEMENT_STYLE=`{
424    content: "" !important;
425    display: none !important;
426}`,createPseudoHideStyles=function(Yi){createStyles(Yi,"."+PSEUDO_HIDE_ELEMENT_CLASS_BEFORE+PSEUDO_BEFORE+PSEUDO_HIDE_ELEMENT_STYLE+`
427         .`+PSEUDO_HIDE_ELEMENT_CLASS_AFTER+PSEUDO_AFTER+PSEUDO_HIDE_ELEMENT_STYLE)},createStyles=function(Yi,eo){var to=Yi.ownerDocument;if(to){var ro=to.createElement("style");ro.textContent=eo,Yi.appendChild(ro)}},CacheStorage=(function(){function Yi(){}return Yi.getOrigin=function(eo){var to=Yi._link;return to?(to.href=eo,to.href=to.href,to.protocol+to.hostname+to.port):"about:blank"},Yi.isSameOrigin=function(eo){return Yi.getOrigin(eo)===Yi._origin},Yi.setContext=function(eo){Yi._link=eo.document.createElement("a"),Yi._origin=Yi.getOrigin(eo.location.href)},Yi._origin="about:blank",Yi})(),Cache=(function(){function Yi(eo,to){this.context=eo,this._options=to,this._cache={}}return Yi.prototype.addImage=function(eo){var to=Promise.resolve();return this.has(eo)||(isBlobImage(eo)||isRenderable(eo))&&(this._cache[eo]=this.loadImage(eo)).catch(function(){}),to},Yi.prototype.match=function(eo){return this._cache[eo]},Yi.prototype.loadImage=function(eo){return __awaiter$2(this,void 0,void 0,function(){var to,ro,no,io,oo=this;return __generator(this,function(ao){switch(ao.label){case 0:return to=CacheStorage.isSameOrigin(eo),ro=!isInlineImage(eo)&&this._options.useCORS===!0&&FEATURES.SUPPORT_CORS_IMAGES&&!to,no=!isInlineImage(eo)&&!to&&!isBlobImage(eo)&&typeof this._options.proxy=="string"&&FEATURES.SUPPORT_CORS_XHR&&!ro,!to&&this._options.allowTaint===!1&&!isInlineImage(eo)&&!isBlobImage(eo)&&!no&&!ro?[2]:(io=eo,no?[4,this.proxy(io)]:[3,2]);case 1:io=ao.sent(),ao.label=2;case 2:return this.context.logger.debug("Added image "+eo.substring(0,256)),[4,new Promise(function(so,lo){var co=new Image;co.onload=function(){return so(co)},co.onerror=lo,(isInlineBase64Image(io)||ro)&&(co.crossOrigin="anonymous"),co.src=io,co.complete===!0&&setTimeout(function(){return so(co)},500),oo._options.imageTimeout>0&&setTimeout(function(){return lo("Timed out ("+oo._options.imageTimeout+"ms) loading image")},oo._options.imageTimeout)})];case 3:return[2,ao.sent()]}})})},Yi.prototype.has=function(eo){return typeof this._cache[eo]<"u"},Yi.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},Yi.prototype.proxy=function(eo){var to=this,ro=this._options.proxy;if(!ro)throw new Error("No proxy defined");var no=eo.substring(0,256);return new Promise(function(io,oo){var ao=FEATURES.SUPPORT_RESPONSE_TYPE?"blob":"text",so=new XMLHttpRequest;so.onload=function(){if(so.status===200)if(ao==="text")io(so.response);else{var uo=new FileReader;uo.addEventListener("load",function(){return io(uo.result)},!1),uo.addEventListener("error",function(fo){return oo(fo)},!1),uo.readAsDataURL(so.response)}else oo("Failed to proxy resource "+no+" with status code "+so.status)},so.onerror=oo;var lo=ro.indexOf("?")>-1?"&":"?";if(so.open("GET",""+ro+lo+"url="+encodeURIComponent(eo)+"&responseType="+ao),ao!=="text"&&so instanceof XMLHttpRequest&&(so.responseType=ao),to._options.imageTimeout){var co=to._options.imageTimeout;so.timeout=co,so.ontimeout=function(){return oo("Timed out ("+co+"ms) proxying "+no)}}so.send()})},Yi})(),INLINE_SVG=/^data:image\/svg\+xml/i,INLINE_BASE64=/^data:image\/.*;base64,/i,INLINE_IMG=/^data:image\/.*/i,isRenderable=function(Yi){return FEATURES.SUPPORT_SVG_DRAWING||!isSVG(Yi)},isInlineImage=function(Yi){return INLINE_IMG.test(Yi)},isInlineBase64Image=function(Yi){return INLINE_BASE64.test(Yi)},isBlobImage=function(Yi){return Yi.substr(0,4)==="blob"},isSVG=function(Yi){return Yi.substr(-3).toLowerCase()==="svg"||INLINE_SVG.test(Yi)},Vector=(function(){function Yi(eo,to){this.type=0,this.x=eo,this.y=to}return Yi.prototype.add=function(eo,to){return new Yi(this.x+eo,this.y+to)},Yi})(),lerp=function(Yi,eo,to){return new Vector(Yi.x+(eo.x-Yi.x)*to,Yi.y+(eo.y-Yi.y)*to)},BezierCurve=(function(){function Yi(eo,to,ro,no){this.type=1,this.start=eo,this.startControl=to,this.endControl=ro,this.end=no}return Yi.prototype.subdivide=function(eo,to){var ro=lerp(this.start,this.startControl,eo),no=lerp(this.startControl,this.endControl,eo),io=lerp(this.endControl,this.end,eo),oo=lerp(ro,no,eo),ao=lerp(no,io,eo),so=lerp(oo,ao,eo);return to?new Yi(this.start,ro,oo,so):new Yi(so,ao,io,this.end)},Yi.prototype.add=function(eo,to){return new Yi(this.start.add(eo,to),this.startControl.add(eo,to),this.endControl.add(eo,to),this.end.add(eo,to))},Yi.prototype.reverse=function(){return new Yi(this.end,this.endControl,this.startControl,this.start)},Yi})(),isBezierCurve=function(Yi){return Yi.type===1},BoundCurves=(function(){function Yi(eo){var to=eo.styles,ro=eo.bounds,no=getAbsoluteValueForTuple(to.borderTopLeftRadius,ro.width,ro.height),io=no[0],oo=no[1],ao=getAbsoluteValueForTuple(to.borderTopRightRadius,ro.width,ro.height),so=ao[0],lo=ao[1],co=getAbsoluteValueForTuple(to.borderBottomRightRadius,ro.width,ro.height),uo=co[0],fo=co[1],ho=getAbsoluteValueForTuple(to.borderBottomLeftRadius,ro.width,ro.height),mo=ho[0],vo=ho[1],Co=[];Co.push((io+so)/ro.width),Co.push((mo+uo)/ro.width),Co.push((oo+vo)/ro.height),Co.push((lo+fo)/ro.height);var bo=Math.max.apply(Math,Co);bo>1&&(io/=bo,oo/=bo,so/=bo,lo/=bo,uo/=bo,fo/=bo,mo/=bo,vo/=bo);var wo=ro.width-so,yo=ro.height-fo,Eo=ro.width-uo,xo=ro.height-vo,So=to.borderTopWidth,To=to.borderRightWidth,Ro=to.borderBottomWidth,Po=to.borderLeftWidth,zo=getAbsoluteValue(to.paddingTop,eo.bounds.width),Ho=getAbsoluteValue(to.paddingRight,eo.bounds.width),Vo=getAbsoluteValue(to.paddingBottom,eo.bounds.width),Lo=getAbsoluteValue(to.paddingLeft,eo.bounds.width);this.topLeftBorderDoubleOuterBox=io>0||oo>0?getCurvePoints(ro.left+Po/3,ro.top+So/3,io-Po/3,oo-So/3,CORNER.TOP_LEFT):new Vector(ro.left+Po/3,ro.top+So/3),this.topRightBorderDoubleOuterBox=io>0||oo>0?getCurvePoints(ro.left+wo,ro.top+So/3,so-To/3,lo-So/3,CORNER.TOP_RIGHT):new Vector(ro.left+ro.width-To/3,ro.top+So/3),this.bottomRightBorderDoubleOuterBox=uo>0||fo>0?getCurvePoints(ro.left+Eo,ro.top+yo,uo-To/3,fo-Ro/3,CORNER.BOTTOM_RIGHT):new Vector(ro.left+ro.width-To/3,ro.top+ro.height-Ro/3),this.bottomLeftBorderDoubleOuterBox=mo>0||vo>0?getCurvePoints(ro.left+Po/3,ro.top+xo,mo-Po/3,vo-Ro/3,CORNER.BOTTOM_LEFT):new Vector(ro.left+Po/3,ro.top+ro.height-Ro/3),this.topLeftBorderDoubleInnerBox=io>0||oo>0?getCurvePoints(ro.left+Po*2/3,ro.top+So*2/3,io-Po*2/3,oo-So*2/3,CORNER.TOP_LEFT):new Vector(ro.left+Po*2/3,ro.top+So*2/3),this.topRightBorderDoubleInnerBox=io>0||oo>0?getCurvePoints(ro.left+wo,ro.top+So*2/3,so-To*2/3,lo-So*2/3,CORNER.TOP_RIGHT):new Vector(ro.left+ro.width-To*2/3,ro.top+So*2/3),this.bottomRightBorderDoubleInnerBox=uo>0||fo>0?getCurvePoints(ro.left+Eo,ro.top+yo,uo-To*2/3,fo-Ro*2/3,CORNER.BOTTOM_RIGHT):new Vector(ro.left+ro.width-To*2/3,ro.top+ro.height-Ro*2/3),this.bottomLeftBorderDoubleInnerBox=mo>0||vo>0?getCurvePoints(ro.left+Po*2/3,ro.top+xo,mo-Po*2/3,vo-Ro*2/3,CORNER.BOTTOM_LEFT):new Vector(ro.left+Po*2/3,ro.top+ro.height-Ro*2/3),this.topLeftBorderStroke=io>0||oo>0?getCurvePoints(ro.left+Po/2,ro.top+So/2,io-Po/2,oo-So/2,CORNER.TOP_LEFT):new Vector(ro.left+Po/2,ro.top+So/2),this.topRightBorderStroke=io>0||oo>0?getCurvePoints(ro.left+wo,ro.top+So/2,so-To/2,lo-So/2,CORNER.TOP_RIGHT):new Vector(ro.left+ro.width-To/2,ro.top+So/2),this.bottomRightBorderStroke=uo>0||fo>0?getCurvePoints(ro.left+Eo,ro.top+yo,uo-To/2,fo-Ro/2,CORNER.BOTTOM_RIGHT):new Vector(ro.left+ro.width-To/2,ro.top+ro.height-Ro/2),this.bottomLeftBorderStroke=mo>0||vo>0?getCurvePoints(ro.left+Po/2,ro.top+xo,mo-Po/2,vo-Ro/2,CORNER.BOTTOM_LEFT):new Vector(ro.left+Po/2,ro.top+ro.height-Ro/2),this.topLeftBorderBox=io>0||oo>0?getCurvePoints(ro.left,ro.top,io,oo,CORNER.TOP_LEFT):new Vector(ro.left,ro.top),this.topRightBorderBox=so>0||lo>0?getCurvePoints(ro.left+wo,ro.top,so,lo,CORNER.TOP_RIGHT):new Vector(ro.left+ro.width,ro.top),this.bottomRightBorderBox=uo>0||fo>0?getCurvePoints(ro.left+Eo,ro.top+yo,uo,fo,CORNER.BOTTOM_RIGHT):new Vector(ro.left+ro.width,ro.top+ro.height),this.bottomLeftBorderBox=mo>0||vo>0?getCurvePoints(ro.left,ro.top+xo,mo,vo,CORNER.BOTTOM_LEFT):new Vector(ro.left,ro.top+ro.height),this.topLeftPaddingBox=io>0||oo>0?getCurvePoints(ro.left+Po,ro.top+So,Math.max(0,io-Po),Math.max(0,oo-So),CORNER.TOP_LEFT):new Vector(ro.left+Po,ro.top+So),this.topRightPaddingBox=so>0||lo>0?getCurvePoints(ro.left+Math.min(wo,ro.width-To),ro.top+So,wo>ro.width+To?0:Math.max(0,so-To),Math.max(0,lo-So),CORNER.TOP_RIGHT):new Vector(ro.left+ro.width-To,ro.top+So),this.bottomRightPaddingBox=uo>0||fo>0?getCurvePoints(ro.left+Math.min(Eo,ro.width-Po),ro.top+Math.min(yo,ro.height-Ro),Math.max(0,uo-To),Math.max(0,fo-Ro),CORNER.BOTTOM_RIGHT):new Vector(ro.left+ro.width-To,ro.top+ro.height-Ro),this.bottomLeftPaddingBox=mo>0||vo>0?getCurvePoints(ro.left+Po,ro.top+Math.min(xo,ro.height-Ro),Math.max(0,mo-Po),Math.max(0,vo-Ro),CORNER.BOTTOM_LEFT):new Vector(ro.left+Po,ro.top+ro.height-Ro),this.topLeftContentBox=io>0||oo>0?getCurvePoints(ro.left+Po+Lo,ro.top+So+zo,Math.max(0,io-(Po+Lo)),Math.max(0,oo-(So+zo)),CORNER.TOP_LEFT):new Vector(ro.left+Po+Lo,ro.top+So+zo),this.topRightContentBox=so>0||lo>0?getCurvePoints(ro.left+Math.min(wo,ro.width+Po+Lo),ro.top+So+zo,wo>ro.width+Po+Lo?0:so-Po+Lo,lo-(So+zo),CORNER.TOP_RIGHT):new Vector(ro.left+ro.width-(To+Ho),ro.top+So+zo),this.bottomRightContentBox=uo>0||fo>0?getCurvePoints(ro.left+Math.min(Eo,ro.width-(Po+Lo)),ro.top+Math.min(yo,ro.height+So+zo),Math.max(0,uo-(To+Ho)),fo-(Ro+Vo),CORNER.BOTTOM_RIGHT):new Vector(ro.left+ro.width-(To+Ho),ro.top+ro.height-(Ro+Vo)),this.bottomLeftContentBox=mo>0||vo>0?getCurvePoints(ro.left+Po+Lo,ro.top+xo,Math.max(0,mo-(Po+Lo)),vo-(Ro+Vo),CORNER.BOTTOM_LEFT):new Vector(ro.left+Po+Lo,ro.top+ro.height-(Ro+Vo))}return Yi})(),CORNER;(function(Yi){Yi[Yi.TOP_LEFT=0]="TOP_LEFT",Yi[Yi.TOP_RIGHT=1]="TOP_RIGHT",Yi[Yi.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",Yi[Yi.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(CORNER||(CORNER={}));var getCurvePoints=function(Yi,eo,to,ro,no){var io=4*((Math.sqrt(2)-1)/3),oo=to*io,ao=ro*io,so=Yi+to,lo=eo+ro;switch(no){case CORNER.TOP_LEFT:return new BezierCurve(new Vector(Yi,lo),new Vector(Yi,lo-ao),new Vector(so-oo,eo),new Vector(so,eo));case CORNER.TOP_RIGHT:return new BezierCurve(new Vector(Yi,eo),new Vector(Yi+oo,eo),new Vector(so,lo-ao),new Vector(so,lo));case CORNER.BOTTOM_RIGHT:return new BezierCurve(new Vector(so,eo),new Vector(so,eo+ao),new Vector(Yi+oo,lo),new Vector(Yi,lo));case CORNER.BOTTOM_LEFT:default:return new BezierCurve(new Vector(so,lo),new Vector(so-oo,lo),new Vector(Yi,eo+ao),new Vector(Yi,eo))}},calculateBorderBoxPath=function(Yi){return[Yi.topLeftBorderBox,Yi.topRightBorderBox,Yi.bottomRightBorderBox,Yi.bottomLeftBorderBox]},calculateContentBoxPath=function(Yi){return[Yi.topLeftContentBox,Yi.topRightContentBox,Yi.bottomRightContentBox,Yi.bottomLeftContentBox]},calculatePaddingBoxPath=function(Yi){return[Yi.topLeftPaddingBox,Yi.topRightPaddingBox,Yi.bottomRightPaddingBox,Yi.bottomLeftPaddingBox]},TransformEffect=(function(){function Yi(eo,to,ro){this.offsetX=eo,this.offsetY=to,this.matrix=ro,this.type=0,this.target=6}return Yi})(),ClipEffect=(function(){function Yi(eo,to){this.path=eo,this.target=to,this.type=1}return Yi})(),OpacityEffect=(function(){function Yi(eo){this.opacity=eo,this.type=2,this.target=6}return Yi})(),isTransformEffect=function(Yi){return Yi.type===0},isClipEffect=function(Yi){return Yi.type===1},isOpacityEffect=function(Yi){return Yi.type===2},equalPath=function(Yi,eo){return Yi.length===eo.length?Yi.some(function(to,ro){return to===eo[ro]}):!1},transformPath=function(Yi,eo,to,ro,no){return Yi.map(function(io,oo){switch(oo){case 0:return io.add(eo,to);case 1:return io.add(eo+ro,to);case 2:return io.add(eo+ro,to+no);case 3:return io.add(eo,to+no)}return io})},StackingContext=(function(){function Yi(eo){this.element=eo,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return Yi})(),ElementPaint=(function(){function Yi(eo,to){if(this.container=eo,this.parent=to,this.effects=[],this.curves=new BoundCurves(this.container),this.container.styles.opacity<1&&this.effects.push(new OpacityEffect(this.container.styles.opacity)),this.container.styles.transform!==null){var ro=this.container.bounds.left+this.container.styles.transformOrigin[0].number,no=this.container.bounds.top+this.container.styles.transformOrigin[1].number,io=this.container.styles.transform;this.effects.push(new TransformEffect(ro,no,io))}if(this.container.styles.overflowX!==0){var oo=calculateBorderBoxPath(this.curves),ao=calculatePaddingBoxPath(this.curves);equalPath(oo,ao)?this.effects.push(new ClipEffect(oo,6)):(this.effects.push(new ClipEffect(oo,2)),this.effects.push(new ClipEffect(ao,4)))}}return Yi.prototype.getEffects=function(eo){for(var to=[2,3].indexOf(this.container.styles.position)===-1,ro=this.parent,no=this.effects.slice(0);ro;){var io=ro.effects.filter(function(so){return!isClipEffect(so)});if(to||ro.container.styles.position!==0||!ro.parent){if(no.unshift.apply(no,io),to=[2,3].indexOf(ro.container.styles.position)===-1,ro.container.styles.overflowX!==0){var oo=calculateBorderBoxPath(ro.curves),ao=calculatePaddingBoxPath(ro.curves);equalPath(oo,ao)||no.unshift(new ClipEffect(ao,6))}}else no.unshift.apply(no,io);ro=ro.parent}return no.filter(function(so){return contains(so.target,eo)})},Yi})(),parseStackTree=function(Yi,eo,to,ro){Yi.container.elements.forEach(function(no){var io=contains(no.flags,4),oo=contains(no.flags,2),ao=new ElementPaint(no,Yi);contains(no.styles.display,2048)&&ro.push(ao);var so=contains(no.flags,8)?[]:ro;if(io||oo){var lo=io||no.styles.isPositioned()?to:eo,co=new StackingContext(ao);if(no.styles.isPositioned()||no.styles.opacity<1||no.styles.isTransformed()){var uo=no.styles.zIndex.order;if(uo<0){var fo=0;lo.negativeZIndex.some(function(mo,vo){return uo>mo.element.container.styles.zIndex.order?(fo=vo,!1):fo>0}),lo.negativeZIndex.splice(fo,0,co)}else if(uo>0){var ho=0;lo.positiveZIndex.some(function(mo,vo){return uo>=mo.element.container.styles.zIndex.order?(ho=vo+1,!1):ho>0}),lo.positiveZIndex.splice(ho,0,co)}else lo.zeroOrAutoZIndexOrTransformedOrOpacity.push(co)}else no.styles.isFloating()?lo.nonPositionedFloats.push(co):lo.nonPositionedInlineLevel.push(co);parseStackTree(ao,co,io?co:to,so)}else no.styles.isInlineLevel()?eo.inlineLevel.push(ao):eo.nonInlineLevel.push(ao),parseStackTree(ao,eo,to,so);contains(no.flags,8)&&processListItems(no,so)})},processListItems=function(Yi,eo){for(var to=Yi instanceof OLElementContainer?Yi.start:1,ro=Yi instanceof OLElementContainer?Yi.reversed:!1,no=0;no<eo.length;no++){var io=eo[no];io.container instanceof LIElementContainer&&typeof io.container.value=="number"&&io.container.value!==0&&(to=io.container.value),io.listValue=createCounterText(to,io.container.styles.listStyleType,!0),to+=ro?-1:1}},parseStackingContexts=function(Yi){var eo=new ElementPaint(Yi,null),to=new StackingContext(eo),ro=[];return parseStackTree(eo,to,to,ro),processListItems(eo.container,ro),to},parsePathForBorder=function(Yi,eo){switch(eo){case 0:return createPathFromCurves(Yi.topLeftBorderBox,Yi.topLeftPaddingBox,Yi.topRightBorderBox,Yi.topRightPaddingBox);case 1:return createPathFromCurves(Yi.topRightBorderBox,Yi.topRightPaddingBox,Yi.bottomRightBorderBox,Yi.bottomRightPaddingBox);case 2:return createPathFromCurves(Yi.bottomRightBorderBox,Yi.bottomRightPaddingBox,Yi.bottomLeftBorderBox,Yi.bottomLeftPaddingBox);case 3:default:return createPathFromCurves(Yi.bottomLeftBorderBox,Yi.bottomLeftPaddingBox,Yi.topLeftBorderBox,Yi.topLeftPaddingBox)}},parsePathForBorderDoubleOuter=function(Yi,eo){switch(eo){case 0:return createPathFromCurves(Yi.topLeftBorderBox,Yi.topLeftBorderDoubleOuterBox,Yi.topRightBorderBox,Yi.topRightBorderDoubleOuterBox);case 1:return createPathFromCurves(Yi.topRightBorderBox,Yi.topRightBorderDoubleOuterBox,Yi.bottomRightBorderBox,Yi.bottomRightBorderDoubleOuterBox);case 2:return createPathFromCurves(Yi.bottomRightBorderBox,Yi.bottomRightBorderDoubleOuterBox,Yi.bottomLeftBorderBox,Yi.bottomLeftBorderDoubleOuterBox);case 3:default:return createPathFromCurves(Yi.bottomLeftBorderBox,Yi.bottomLeftBorderDoubleOuterBox,Yi.topLeftBorderBox,Yi.topLeftBorderDoubleOuterBox)}},parsePathForBorderDoubleInner=function(Yi,eo){switch(eo){case 0:return createPathFromCurves(Yi.topLeftBorderDoubleInnerBox,Yi.topLeftPaddingBox,Yi.topRightBorderDoubleInnerBox,Yi.topRightPaddingBox);case 1:return createPathFromCurves(Yi.topRightBorderDoubleInnerBox,Yi.topRightPaddingBox,Yi.bottomRightBorderDoubleInnerBox,Yi.bottomRightPaddingBox);case 2:return createPathFromCurves(Yi.bottomRightBorderDoubleInnerBox,Yi.bottomRightPaddingBox,Yi.bottomLeftBorderDoubleInnerBox,Yi.bottomLeftPaddingBox);case 3:default:return createPathFromCurves(Yi.bottomLeftBorderDoubleInnerBox,Yi.bottomLeftPaddingBox,Yi.topLeftBorderDoubleInnerBox,Yi.topLeftPaddingBox)}},parsePathForBorderStroke=function(Yi,eo){switch(eo){case 0:return createStrokePathFromCurves(Yi.topLeftBorderStroke,Yi.topRightBorderStroke);case 1:return createStrokePathFromCurves(Yi.topRightBorderStroke,Yi.bottomRightBorderStroke);case 2:return createStrokePathFromCurves(Yi.bottomRightBorderStroke,Yi.bottomLeftBorderStroke);case 3:default:return createStrokePathFromCurves(Yi.bottomLeftBorderStroke,Yi.topLeftBorderStroke)}},createStrokePathFromCurves=function(Yi,eo){var to=[];return isBezierCurve(Yi)?to.push(Yi.subdivide(.5,!1)):to.push(Yi),isBezierCurve(eo)?to.push(eo.subdivide(.5,!0)):to.push(eo),to},createPathFromCurves=function(Yi,eo,to,ro){var no=[];return isBezierCurve(Yi)?no.push(Yi.subdivide(.5,!1)):no.push(Yi),isBezierCurve(to)?no.push(to.subdivide(.5,!0)):no.push(to),isBezierCurve(ro)?no.push(ro.subdivide(.5,!0).reverse()):no.push(ro),isBezierCurve(eo)?no.push(eo.subdivide(.5,!1).reverse()):no.push(eo),no},paddingBox=function(Yi){var eo=Yi.bounds,to=Yi.styles;return eo.add(to.borderLeftWidth,to.borderTopWidth,-(to.borderRightWidth+to.borderLeftWidth),-(to.borderTopWidth+to.borderBottomWidth))},contentBox=function(Yi){var eo=Yi.styles,to=Yi.bounds,ro=getAbsoluteValue(eo.paddingLeft,to.width),no=getAbsoluteValue(eo.paddingRight,to.width),io=getAbsoluteValue(eo.paddingTop,to.width),oo=getAbsoluteValue(eo.paddingBottom,to.width);return to.add(ro+eo.borderLeftWidth,io+eo.borderTopWidth,-(eo.borderRightWidth+eo.borderLeftWidth+ro+no),-(eo.borderTopWidth+eo.borderBottomWidth+io+oo))},calculateBackgroundPositioningArea=function(Yi,eo){return Yi===0?eo.bounds:Yi===2?contentBox(eo):paddingBox(eo)},calculateBackgroundPaintingArea=function(Yi,eo){return Yi===0?eo.bounds:Yi===2?contentBox(eo):paddingBox(eo)},calculateBackgroundRendering=function(Yi,eo,to){var ro=calculateBackgroundPositioningArea(getBackgroundValueForIndex(Yi.styles.backgroundOrigin,eo),Yi),no=calculateBackgroundPaintingArea(getBackgroundValueForIndex(Yi.styles.backgroundClip,eo),Yi),io=calculateBackgroundSize(getBackgroundValueForIndex(Yi.styles.backgroundSize,eo),to,ro),oo=io[0],ao=io[1],so=getAbsoluteValueForTuple(getBackgroundValueForIndex(Yi.styles.backgroundPosition,eo),ro.width-oo,ro.height-ao),lo=calculateBackgroundRepeatPath(getBackgroundValueForIndex(Yi.styles.backgroundRepeat,eo),so,io,ro,no),co=Math.round(ro.left+so[0]),uo=Math.round(ro.top+so[1]);return[lo,co,uo,oo,ao]},isAuto=function(Yi){return isIdentToken(Yi)&&Yi.value===BACKGROUND_SIZE.AUTO},hasIntrinsicValue=function(Yi){return typeof Yi=="number"},calculateBackgroundSize=function(Yi,eo,to){var ro=eo[0],no=eo[1],io=eo[2],oo=Yi[0],ao=Yi[1];if(!oo)return[0,0];if(isLengthPercentage(oo)&&ao&&isLengthPercentage(ao))return[getAbsoluteValue(oo,to.width),getAbsoluteValue(ao,to.height)];var so=hasIntrinsicValue(io);if(isIdentToken(oo)&&(oo.value===BACKGROUND_SIZE.CONTAIN||oo.value===BACKGROUND_SIZE.COVER)){if(hasIntrinsicValue(io)){var lo=to.width/to.height;return lo<io!=(oo.value===BACKGROUND_SIZE.COVER)?[to.width,to.width/io]:[to.height*io,to.height]}return[to.width,to.height]}var co=hasIntrinsicValue(ro),uo=hasIntrinsicValue(no),fo=co||uo;if(isAuto(oo)&&(!ao||isAuto(ao))){if(co&&uo)return[ro,no];if(!so&&!fo)return[to.width,to.height];if(fo&&so){var ho=co?ro:no*io,mo=uo?no:ro/io;return[ho,mo]}var vo=co?ro:to.width,Co=uo?no:to.height;return[vo,Co]}if(so){var bo=0,wo=0;return isLengthPercentage(oo)?bo=getAbsoluteValue(oo,to.width):isLengthPercentage(ao)&&(wo=getAbsoluteValue(ao,to.height)),isAuto(oo)?bo=wo*io:(!ao||isAuto(ao))&&(wo=bo/io),[bo,wo]}var yo=null,Eo=null;if(isLengthPercentage(oo)?yo=getAbsoluteValue(oo,to.width):ao&&isLengthPercentage(ao)&&(Eo=getAbsoluteValue(ao,to.height)),yo!==null&&(!ao||isAuto(ao))&&(Eo=co&&uo?yo/ro*no:to.height),Eo!==null&&isAuto(oo)&&(yo=co&&uo?Eo/no*ro:to.width),yo!==null&&Eo!==null)return[yo,Eo];throw new Error("Unable to calculate background-size for element")}
vendor: 4,465 bytes, line 427
427,getBackgroundValueForIndex=function(Yi,eo){var to=Yi[eo];return typeof to>"u"?Yi[0]:to},calculateBackgroundRepeatPath=function(Yi,eo,to,ro,no){var io=eo[0],oo=eo[1],ao=to[0],so=to[1];switch(Yi){case 2:return[new Vector(Math.round(ro.left),Math.round(ro.top+oo)),new Vector(Math.round(ro.left+ro.width),Math.round(ro.top+oo)),new Vector(Math.round(ro.left+ro.width),Math.round(so+ro.top+oo)),new Vector(Math.round(ro.left),Math.round(so+ro.top+oo))];case 3:return[new Vector(Math.round(ro.left+io),Math.round(ro.top)),new Vector(Math.round(ro.left+io+ao),Math.round(ro.top)),new Vector(Math.round(ro.left+io+ao),Math.round(ro.height+ro.top)),new Vector(Math.round(ro.left+io),Math.round(ro.height+ro.top))];case 1:return[new Vector(Math.round(ro.left+io),Math.round(ro.top+oo)),new Vector(Math.round(ro.left+io+ao),Math.round(ro.top+oo)),new Vector(Math.round(ro.left+io+ao),Math.round(ro.top+oo+so)),new Vector(Math.round(ro.left+io),Math.round(ro.top+oo+so))];default:return[new Vector(Math.round(no.left),Math.round(no.top)),new Vector(Math.round(no.left+no.width),Math.round(no.top)),new Vector(Math.round(no.left+no.width),Math.round(no.height+no.top)),new Vector(Math.round(no.left),Math.round(no.height+no.top))]}},SMALL_IMAGE="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",SAMPLE_TEXT="Hidden Text",FontMetrics=(function(){function Yi(eo){this._data={},this._document=eo}return Yi.prototype.parseMetrics=function(eo,to){var ro=this._document.createElement("div"),no=this._document.createElement("img"),io=this._document.createElement("span"),oo=this._document.body;ro.style.visibility="hidden",ro.style.fontFamily=eo,ro.style.fontSize=to,ro.style.margin="0",ro.style.padding="0",ro.style.whiteSpace="nowrap",oo.appendChild(ro),no.src=SMALL_IMAGE,no.width=1,no.height=1,no.style.margin="0",no.style.padding="0",no.style.verticalAlign="baseline",io.style.fontFamily=eo,io.style.fontSize=to,io.style.margin="0",io.style.padding="0",io.appendChild(this._document.createTextNode(SAMPLE_TEXT)),ro.appendChild(io),ro.appendChild(no);var ao=no.offsetTop-io.offsetTop+2;ro.removeChild(io),ro.appendChild(this._document.createTextNode(SAMPLE_TEXT)),ro.style.lineHeight="normal",no.style.verticalAlign="super";var so=no.offsetTop-ro.offsetTop+2;return oo.removeChild(ro),{baseline:ao,middle:so}},Yi.prototype.getMetrics=function(eo,to){var ro=eo+" "+to;return typeof this._data[ro]>"u"&&(this._data[ro]=this.parseMetrics(eo,to)),this._data[ro]},Yi})(),Renderer=(function(){function Yi(eo,to){this.context=eo,this.options=to}return Yi})(),MASK_OFFSET=1e4,CanvasRenderer$1=(function(Yi){__extends(eo,Yi);function eo(to,ro){var no=Yi.call(this,to,ro)||this;return no._activeEffects=[],no.canvas=ro.canvas?ro.canvas:document.createElement("canvas"),no.ctx=no.canvas.getContext("2d"),ro.canvas||(no.canvas.width=Math.floor(ro.width*ro.scale),no.canvas.height=Math.floor(ro.height*ro.scale),no.canvas.style.width=ro.width+"px",no.canvas.style.height=ro.height+"px"),no.fontMetrics=new FontMetrics(document),no.ctx.scale(no.options.scale,no.options.scale),no.ctx.translate(-ro.x,-ro.y),no.ctx.textBaseline="bottom",no._activeEffects=[],no.context.logger.debug("Canvas renderer initialized ("+ro.width+"x"+ro.height+") with scale "+ro.scale),no}return eo.prototype.applyEffects=function(to){for(var ro=this;this._activeEffects.length;)this.popEffect();to.forEach(function(no){return ro.applyEffect(no)})},eo.prototype.applyEffect=function(to){this.ctx.save(),isOpacityEffect(to)&&(this.ctx.globalAlpha=to.opacity),isTransformEffect(to)&&(this.ctx.translate(to.offsetX,to.offsetY),this.ctx.transform(to.matrix[0],to.matrix[1],to.matrix[2],to.matrix[3],to.matrix[4],to.matrix[5]),this.ctx.translate(-to.offsetX,-to.offsetY)),isClipEffect(to)&&(this.path(to.path),this.ctx.clip()),this._activeEffects.push(to)},eo.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},eo.prototype.renderStack=function(to){return __awaiter$2(this,void 0,void 0,function(){var ro;return __generator(this,function(no){switch(no.label){case 0:return ro=to.element.container.styles,ro.isVisible()?[4,this.renderStackContent(to)]:[3,2];case 1:no.sent(),no.label=2;case 2:return[2]}})})},eo.prototype.renderNode=function(to){return __awaiter$2(this,void 0,void 0,function(){return __generator(this,function(ro){switch(ro.label){case 0:if(contains(to.container.flags,16))debugger;return to.container.styles.isVisible()?[4,this.renderNodeBackgroun
vendor: 5,094 bytes, line 427
427dAndBorders(to)]:[3,3];case 1:return ro.sent(),[4,this.renderNodeContent(to)];case 2:ro.sent(),ro.label=3;case 3:return[2]}})})},eo.prototype.renderTextWithLetterSpacing=function(to,ro,no){var io=this;if(ro===0)this.ctx.fillText(to.text,to.bounds.left,to.bounds.top+no);else{var oo=segmentGraphemes(to.text);oo.reduce(function(ao,so){return io.ctx.fillText(so,ao,to.bounds.top+no),ao+io.ctx.measureText(so).width},to.bounds.left)}},eo.prototype.createFontStyle=function(to){var ro=to.fontVariant.filter(function(oo){return oo==="normal"||oo==="small-caps"}).join(""),no=fixIOSSystemFonts(to.fontFamily).join(", "),io=isDimensionToken(to.fontSize)?""+to.fontSize.number+to.fontSize.unit:to.fontSize.number+"px";return[[to.fontStyle,ro,to.fontWeight,io,no].join(" "),no,io]},eo.prototype.renderTextNode=function(to,ro){return __awaiter$2(this,void 0,void 0,function(){var no,io,oo,ao,so,lo,co,uo,fo=this;return __generator(this,function(ho){return no=this.createFontStyle(ro),io=no[0],oo=no[1],ao=no[2],this.ctx.font=io,this.ctx.direction=ro.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",so=this.fontMetrics.getMetrics(oo,ao),lo=so.baseline,co=so.middle,uo=ro.paintOrder,to.textBounds.forEach(function(mo){uo.forEach(function(vo){switch(vo){case 0:fo.ctx.fillStyle=asString(ro.color),fo.renderTextWithLetterSpacing(mo,ro.letterSpacing,lo);var Co=ro.textShadow;Co.length&&mo.text.trim().length&&(Co.slice(0).reverse().forEach(function(bo){fo.ctx.shadowColor=asString(bo.color),fo.ctx.shadowOffsetX=bo.offsetX.number*fo.options.scale,fo.ctx.shadowOffsetY=bo.offsetY.number*fo.options.scale,fo.ctx.shadowBlur=bo.blur.number,fo.renderTextWithLetterSpacing(mo,ro.letterSpacing,lo)}),fo.ctx.shadowColor="",fo.ctx.shadowOffsetX=0,fo.ctx.shadowOffsetY=0,fo.ctx.shadowBlur=0),ro.textDecorationLine.length&&(fo.ctx.fillStyle=asString(ro.textDecorationColor||ro.color),ro.textDecorationLine.forEach(function(bo){switch(bo){case 1:fo.ctx.fillRect(mo.bounds.left,Math.round(mo.bounds.top+lo),mo.bounds.width,1);break;case 2:fo.ctx.fillRect(mo.bounds.left,Math.round(mo.bounds.top),mo.bounds.width,1);break;case 3:fo.ctx.fillRect(mo.bounds.left,Math.ceil(mo.bounds.top+co),mo.bounds.width,1);break}}));break;case 1:ro.webkitTextStrokeWidth&&mo.text.trim().length&&(fo.ctx.strokeStyle=asString(ro.webkitTextStrokeColor),fo.ctx.lineWidth=ro.webkitTextStrokeWidth,fo.ctx.lineJoin=window.chrome?"miter":"round",fo.ctx.strokeText(mo.text,mo.bounds.left,mo.bounds.top+lo)),fo.ctx.strokeStyle="",fo.ctx.lineWidth=0,fo.ctx.lineJoin="miter";break}})}),[2]})})},eo.prototype.renderReplacedElement=function(to,ro,no){if(no&&to.intrinsicWidth>0&&to.intrinsicHeight>0){var io=contentBox(to),oo=calculatePaddingBoxPath(ro);this.path(oo),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(no,0,0,to.intrinsicWidth,to.intrinsicHeight,io.left,io.top,io.width,io.height),this.ctx.restore()}},eo.prototype.renderNodeContent=function(to){return __awaiter$2(this,void 0,void 0,function(){var ro,no,io,oo,ao,so,wo,wo,lo,co,uo,fo,Eo,ho,mo,xo,vo,Co,bo,wo,yo,Eo,xo;return __generator(this,function(So){switch(So.label){case 0:this.applyEffects(to.getEffects(4)),ro=to.container,no=to.curves,io=ro.styles,oo=0,ao=ro.textNodes,So.label=1;case 1:return oo<ao.length?(so=ao[oo],[4,this.renderTextNode(so,io)]):[3,4];case 2:So.sent(),So.label=3;case 3:return oo++,[3,1];case 4:if(!(ro instanceof ImageElementContainer))return[3,8];So.label=5;case 5:return So.trys.push([5,7,,8]),[4,this.context.cache.match(ro.src)];case 6:return wo=So.sent(),this.renderReplacedElement(ro,no,wo),[3,8];case 7:return So.sent(),this.context.logger.error("Error loading image "+ro.src),[3,8];case 8:if(ro instanceof CanvasElementContainer&&this.renderReplacedElement(ro,no,ro.canvas),!(ro instanceof SVGElementContainer))return[3,12];So.label=9;case 9:return So.trys.push([9,11,,12]),[4,this.context.cache.match(ro.svg)];case 10:return wo=So.sent(),this.renderReplacedElement(ro,no,wo),[3,12];case 11:return So.sent(),this.context.logger.error("Error loading svg "+ro.svg.substring(0,255)),[3,12];case 12:return ro instanceof IFrameElementContainer&&ro.tree?(lo=new eo(this.context,{scale:this.options.scale,backgroundColor:ro.backgroundColor,x:0,y:0,width:ro.width,height:ro.height}),[4,lo.render(ro.tree)]):[3,14];case 13:co=So.sent(),ro.width&&ro.height&&this.ctx.drawImage(co,0,0,ro.width,ro.height,ro.bounds.left,ro.bounds.top,ro.bounds.width,ro.bounds.height),So.label=14;case 14:if(ro instanceof InputElementContainer&&(uo=Math.min(ro.bounds.width,ro.bounds.height),ro.type===CHECKBOX?ro.checked&&(this.ctx.save(),this.path([new Vector(ro.bounds.left+uo*.39363,ro.bounds.top+uo*.79),new Vector(ro.bounds.left+uo*.16,ro.bounds.top+uo*.5549),new Vector(ro.bounds.left+uo*.27347,ro.bounds.top+uo*.44071),new Vector(ro.bounds.left+uo*.39694,ro.bounds.top+uo*.5649),new Vector(ro.bounds.left+uo*.72983,ro.bounds.top+uo*.23),new Vector(ro.bounds.left+uo*.84,ro.bounds.top+uo*.34085),new Vector(ro.bounds.left+uo*.39363,ro.bounds.top+uo*.79)]),this.ctx.fillStyle=asString(INPUT_COLOR),this.ctx.fill(),this.ctx.restore(
vendor: 4,906 bytes, line 427
427)):ro.type===RADIO&&ro.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(ro.bounds.left+uo/2,ro.bounds.top+uo/2,uo/4,0,Math.PI*2,!0),this.ctx.fillStyle=asString(INPUT_COLOR),this.ctx.fill(),this.ctx.restore())),isTextInputElement(ro)&&ro.value.length){switch(fo=this.createFontStyle(io),Eo=fo[0],ho=fo[1],mo=this.fontMetrics.getMetrics(Eo,ho).baseline,this.ctx.font=Eo,this.ctx.fillStyle=asString(io.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=canvasTextAlign(ro.styles.textAlign),xo=contentBox(ro),vo=0,ro.styles.textAlign){case 1:vo+=xo.width/2;break;case 2:vo+=xo.width;break}Co=xo.add(vo,0,0,-xo.height/2+1),this.ctx.save(),this.path([new Vector(xo.left,xo.top),new Vector(xo.left+xo.width,xo.top),new Vector(xo.left+xo.width,xo.top+xo.height),new Vector(xo.left,xo.top+xo.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new TextBounds(ro.value,Co),io.letterSpacing,mo),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!contains(ro.styles.display,2048))return[3,20];if(ro.styles.listStyleImage===null)return[3,19];if(bo=ro.styles.listStyleImage,bo.type!==0)return[3,18];wo=void 0,yo=bo.url,So.label=15;case 15:return So.trys.push([15,17,,18]),[4,this.context.cache.match(yo)];case 16:return wo=So.sent(),this.ctx.drawImage(wo,ro.bounds.left-(wo.width+10),ro.bounds.top),[3,18];case 17:return So.sent(),this.context.logger.error("Error loading list-style-image "+yo),[3,18];case 18:return[3,20];case 19:to.listValue&&ro.styles.listStyleType!==-1&&(Eo=this.createFontStyle(io)[0],this.ctx.font=Eo,this.ctx.fillStyle=asString(io.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",xo=new Bounds(ro.bounds.left,ro.bounds.top+getAbsoluteValue(ro.styles.paddingTop,ro.bounds.width),ro.bounds.width,computeLineHeight(io.lineHeight,io.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new TextBounds(to.listValue,xo),io.letterSpacing,computeLineHeight(io.lineHeight,io.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),So.label=20;case 20:return[2]}})})},eo.prototype.renderStackContent=function(to){return __awaiter$2(this,void 0,void 0,function(){var ro,no,bo,io,oo,bo,ao,so,bo,lo,co,bo,uo,fo,bo,ho,mo,bo,vo,Co,bo;return __generator(this,function(wo){switch(wo.label){case 0:if(contains(to.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(to.element)];case 1:wo.sent(),ro=0,no=to.negativeZIndex,wo.label=2;case 2:return ro<no.length?(bo=no[ro],[4,this.renderStack(bo)]):[3,5];case 3:wo.sent(),wo.label=4;case 4:return ro++,[3,2];case 5:return[4,this.renderNodeContent(to.element)];case 6:wo.sent(),io=0,oo=to.nonInlineLevel,wo.label=7;case 7:return io<oo.length?(bo=oo[io],[4,this.renderNode(bo)]):[3,10];case 8:wo.sent(),wo.label=9;case 9:return io++,[3,7];case 10:ao=0,so=to.nonPositionedFloats,wo.label=11;case 11:return ao<so.length?(bo=so[ao],[4,this.renderStack(bo)]):[3,14];case 12:wo.sent(),wo.label=13;case 13:return ao++,[3,11];case 14:lo=0,co=to.nonPositionedInlineLevel,wo.label=15;case 15:return lo<co.length?(bo=co[lo],[4,this.renderStack(bo)]):[3,18];case 16:wo.sent(),wo.label=17;case 17:return lo++,[3,15];case 18:uo=0,fo=to.inlineLevel,wo.label=19;case 19:return uo<fo.length?(bo=fo[uo],[4,this.renderNode(bo)]):[3,22];case 20:wo.sent(),wo.label=21;case 21:return uo++,[3,19];case 22:ho=0,mo=to.zeroOrAutoZIndexOrTransformedOrOpacity,wo.label=23;case 23:return ho<mo.length?(bo=mo[ho],[4,this.renderStack(bo)]):[3,26];case 24:wo.sent(),wo.label=25;case 25:return ho++,[3,23];case 26:vo=0,Co=to.positiveZIndex,wo.label=27;case 27:return vo<Co.length?(bo=Co[vo],[4,this.renderStack(bo)]):[3,30];case 28:wo.sent(),wo.label=29;case 29:return vo++,[3,27];case 30:return[2]}})})},eo.prototype.mask=function(to){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(to.slice(0).reverse()),this.ctx.closePath()},eo.prototype.path=function(to){this.ctx.beginPath(),this.formatPath(to),this.ctx.closePath()},eo.prototype.formatPath=function(to){var ro=this;to.forEach(function(no,io){var oo=isBezierCurve(no)?no.start:no;io===0?ro.ctx.moveTo(oo.x,oo.y):ro.ctx.lineTo(oo.x,oo.y),isBezierCurve(no)&&ro.ctx.bezierCurveTo(no.startControl.x,no.startControl.y,no.endControl.x,no.endControl.y,no.end.x,no.end.y)})},eo.prototype.renderRepeat=function(to,ro,no,io){this.path(to),this.ctx.fillStyle=ro,this.ctx.translate(no,io),this.ctx.fill(),this.ctx.translate(-no,-io)},eo.prototype.resizeImage=function(to,ro,no){var io;if(to.width===ro&&to.height===no)return to;var oo=(io=this.canvas.ownerDocument)!==null&&io!==void 0?io:document,ao=oo.createElement("canvas");ao.width=Math.max(1,ro),ao.height=Math.max(1,no);var so=ao.getContext("2d");return so.drawImage(to,0,0,to.width,to.height,0,0,ro,no),ao}
vendor: 9,909 bytes, line 427
427,eo.prototype.renderBackgroundImage=function(to){return __awaiter$2(this,void 0,void 0,function(){var ro,no,io,oo,ao,so;return __generator(this,function(lo){switch(lo.label){case 0:ro=to.styles.backgroundImage.length-1,no=function(co){var uo,fo,ho,zo,Oo,ko,Lo,Uo,Ro,mo,zo,Oo,ko,Lo,Uo,vo,Co,bo,wo,yo,Eo,xo,So,To,Ro,Po,zo,Ho,Vo,Lo,Uo,Do,Oo,ko,Bo,Fo,Qo,jo,Xo,Zo,Wo,ta;return __generator(this,function(ra){switch(ra.label){case 0:if(co.type!==0)return[3,5];uo=void 0,fo=co.url,ra.label=1;case 1:return ra.trys.push([1,3,,4]),[4,io.context.cache.match(fo)];case 2:return uo=ra.sent(),[3,4];case 3:return ra.sent(),io.context.logger.error("Error loading background-image "+fo),[3,4];case 4:return uo&&(ho=calculateBackgroundRendering(to,ro,[uo.width,uo.height,uo.width/uo.height]),zo=ho[0],Oo=ho[1],ko=ho[2],Lo=ho[3],Uo=ho[4],Ro=io.ctx.createPattern(io.resizeImage(uo,Lo,Uo),"repeat"),io.renderRepeat(zo,Ro,Oo,ko)),[3,6];case 5:isLinearGradient(co)?(mo=calculateBackgroundRendering(to,ro,[null,null,null]),zo=mo[0],Oo=mo[1],ko=mo[2],Lo=mo[3],Uo=mo[4],vo=calculateGradientDirection(co.angle,Lo,Uo),Co=vo[0],bo=vo[1],wo=vo[2],yo=vo[3],Eo=vo[4],xo=document.createElement("canvas"),xo.width=Lo,xo.height=Uo,So=xo.getContext("2d"),To=So.createLinearGradient(bo,yo,wo,Eo),processColorStops(co.stops,Co).forEach(function(da){return To.addColorStop(da.stop,asString(da.color))}),So.fillStyle=To,So.fillRect(0,0,Lo,Uo),Lo>0&&Uo>0&&(Ro=io.ctx.createPattern(xo,"repeat"),io.renderRepeat(zo,Ro,Oo,ko))):isRadialGradient(co)&&(Po=calculateBackgroundRendering(to,ro,[null,null,null]),zo=Po[0],Ho=Po[1],Vo=Po[2],Lo=Po[3],Uo=Po[4],Do=co.position.length===0?[FIFTY_PERCENT]:co.position,Oo=getAbsoluteValue(Do[0],Lo),ko=getAbsoluteValue(Do[Do.length-1],Uo),Bo=calculateRadius(co,Oo,ko,Lo,Uo),Fo=Bo[0],Qo=Bo[1],Fo>0&&Qo>0&&(jo=io.ctx.createRadialGradient(Ho+Oo,Vo+ko,0,Ho+Oo,Vo+ko,Fo),processColorStops(co.stops,Fo*2).forEach(function(da){return jo.addColorStop(da.stop,asString(da.color))}),io.path(zo),io.ctx.fillStyle=jo,Fo!==Qo?(Xo=to.bounds.left+.5*to.bounds.width,Zo=to.bounds.top+.5*to.bounds.height,Wo=Qo/Fo,ta=1/Wo,io.ctx.save(),io.ctx.translate(Xo,Zo),io.ctx.transform(1,0,0,Wo,0,0),io.ctx.translate(-Xo,-Zo),io.ctx.fillRect(Ho,ta*(Vo-Zo)+Zo,Lo,Uo*ta),io.ctx.restore()):io.ctx.fill())),ra.label=6;case 6:return ro--,[2]}})},io=this,oo=0,ao=to.styles.backgroundImage.slice(0).reverse(),lo.label=1;case 1:return oo<ao.length?(so=ao[oo],[5,no(so)]):[3,4];case 2:lo.sent(),lo.label=3;case 3:return oo++,[3,1];case 4:return[2]}})})},eo.prototype.renderSolidBorder=function(to,ro,no){return __awaiter$2(this,void 0,void 0,function(){return __generator(this,function(io){return this.path(parsePathForBorder(no,ro)),this.ctx.fillStyle=asString(to),this.ctx.fill(),[2]})})},eo.prototype.renderDoubleBorder=function(to,ro,no,io){return __awaiter$2(this,void 0,void 0,function(){var oo,ao;return __generator(this,function(so){switch(so.label){case 0:return ro<3?[4,this.renderSolidBorder(to,no,io)]:[3,2];case 1:return so.sent(),[2];case 2:return oo=parsePathForBorderDoubleOuter(io,no),this.path(oo),this.ctx.fillStyle=asString(to),this.ctx.fill(),ao=parsePathForBorderDoubleInner(io,no),this.path(ao),this.ctx.fill(),[2]}})})},eo.prototype.renderNodeBackgroundAndBorders=function(to){return __awaiter$2(this,void 0,void 0,function(){var ro,no,io,oo,ao,so,lo,co,uo=this;return __generator(this,function(fo){switch(fo.label){case 0:return this.applyEffects(to.getEffects(2)),ro=to.container.styles,no=!isTransparent(ro.backgroundColor)||ro.backgroundImage.length,io=[{style:ro.borderTopStyle,color:ro.borderTopColor,width:ro.borderTopWidth},{style:ro.borderRightStyle,color:ro.borderRightColor,width:ro.borderRightWidth},{style:ro.borderBottomStyle,color:ro.borderBottomColor,width:ro.borderBottomWidth},{style:ro.borderLeftStyle,color:ro.borderLeftColor,width:ro.borderLeftWidth}],oo=calculateBackgroundCurvedPaintingArea(getBackgroundValueForIndex(ro.backgroundClip,0),to.curves),no||ro.boxShadow.length?(this.ctx.save(),this.path(oo),this.ctx.clip(),isTransparent(ro.backgroundColor)||(this.ctx.fillStyle=asString(ro.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(to.container)]):[3,2];case 1:fo.sent(),this.ctx.restore(),ro.boxShadow.slice(0).reverse().forEach(function(ho){uo.ctx.save();var mo=calculateBorderBoxPath(to.curves),vo=ho.inset?0:MASK_OFFSET,Co=transformPath(mo,-vo+(ho.inset?1:-1)*ho.spread.number,(ho.inset?1:-1)*ho.spread.number,ho.spread.number*(ho.inset?-2:2),ho.spread.number*(ho.inset?-2:2));ho.inset?(uo.path(mo),uo.ctx.clip(),uo.mask(Co)):(uo.mask(mo),uo.ctx.clip(),uo.path(Co)),uo.ctx.shadowOffsetX=ho.offsetX.number+vo,uo.ctx.shadowOffsetY=ho.offsetY.number,uo.ctx.shadowColor=asString(ho.color),uo.ctx.shadowBlur=ho.blur.number,uo.ctx.fillStyle=ho.inset?asString(ho.color):"rgba(0,0,0,1)",uo.ctx.fill(),uo.ctx.restore()}),fo.label=2;case 2:ao=0,so=0,lo=io,fo.label=3;case 3:return so<lo.length?(co=lo[so],co.style!==0&&!isTransparent(co.color)&&co.width>0?co.style!==2?[3,5]:[4,this.renderDashedDottedBorder(co.color,co.width,ao,to.curves,2)]:[3,11]):[3,13];case 4:return fo.sent(),[3,11];case 5:return co.style!==3?[3,7]:[4,this.renderDashedDottedBorder(co.color,co.width,ao,to.curves,3)];case 6:return fo.sent(),[3,11];case 7:return co.style!==4?[3,9]:[4,this.renderDoubleBorder(co.color,co.width,ao,to.curves)];case 8:return fo.sent(),[3,11];case 9:return[4,this.renderSolidBorder(co.color,ao,to.curves)];case 10:fo.sent(),fo.label=11;case 11:ao++,fo.label=12;case 12:return so++,[3,3];case 13:return[2]}})})},eo.prototype.renderDashedDottedBorder=function(to,ro,no,io,oo){return __awaiter$2(this,void 0,void 0,function(){var ao,so,lo,co,uo,fo,ho,mo,vo,Co,bo,wo,yo,Eo,xo,So,xo,So;return __generator(this,function(To){return this.ctx.save(),ao=parsePathForBorderStroke(io,no),so=parsePathForBorder(io,no),oo===2&&(this.path(so),this.ctx.clip()),isBezierCurve(so[0])?(lo=so[0].start.x,co=so[0].start.y):(lo=so[0].x,co=so[0].y),isBezierCurve(so[1])?(uo=so[1].end.x,fo=so[1].end.y):(uo=so[1].x,fo=so[1].y),no===0||no===2?ho=Math.abs(lo-uo):ho=Math.abs(co-fo),this.ctx.beginPath(),oo===3?this.formatPath(ao):this.formatPath(so.slice(0,2)),mo=ro<3?ro*3:ro*2,vo=ro<3?ro*2:ro,oo===3&&(mo=ro,vo=ro),Co=!0,ho<=mo*2?Co=!1:ho<=mo*2+vo?(bo=ho/(2*mo+vo),mo*=bo,vo*=bo):(wo=Math.floor((ho+vo)/(mo+vo)),yo=(ho-wo*mo)/(wo-1),Eo=(ho-(wo+1)*mo)/wo,vo=Eo<=0||Math.abs(vo-yo)<Math.abs(vo-Eo)?yo:Eo),Co&&(oo===3?this.ctx.setLineDash([0,mo+vo]):this.ctx.setLineDash([mo,vo])),oo===3?(this.ctx.lineCap="round",this.ctx.lineWidth=ro):this.ctx.lineWidth=ro*2+1.1,this.ctx.strokeStyle=asString(to),this.ctx.stroke(),this.ctx.setLineDash([]),oo===2&&(isBezierCurve(so[0])&&(xo=so[3],So=so[0],this.ctx.beginPath(),this.formatPath([new Vector(xo.end.x,xo.end.y),new Vector(So.start.x,So.start.y)]),this.ctx.stroke()),isBezierCurve(so[1])&&(xo=so[1],So=so[2],this.ctx.beginPath(),this.formatPath([new Vector(xo.end.x,xo.end.y),new Vector(So.start.x,So.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},eo.prototype.render=function(to){return __awaiter$2(this,void 0,void 0,function(){var ro;return __generator(this,function(no){switch(no.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=asString(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),ro=parseStackingContexts(to),[4,this.renderStack(ro)];case 1:return no.sent(),this.applyEffects([]),[2,this.canvas]}})})},eo})(Renderer),isTextInputElement=function(Yi){return Yi instanceof TextareaElementContainer||Yi instanceof SelectElementContainer?!0:Yi instanceof InputElementContainer&&Yi.type!==RADIO&&Yi.type!==CHECKBOX},calculateBackgroundCurvedPaintingArea=function(Yi,eo){switch(Yi){case 0:return calculateBorderBoxPath(eo);case 2:return calculateContentBoxPath(eo);case 1:default:return calculatePaddingBoxPath(eo)}},canvasTextAlign=function(Yi){switch(Yi){case 1:return"center";case 2:return"right";case 0:default:return"left"}},iOSBrokenFonts=["-apple-system","system-ui"],fixIOSSystemFonts=function(Yi){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?Yi.filter(function(eo){return iOSBrokenFonts.indexOf(eo)===-1}):Yi},ForeignObjectRenderer=(function(Yi){__extends(eo,Yi);function eo(to,ro){var no=Yi.call(this,to,ro)||this;return no.canvas=ro.canvas?ro.canvas:document.createElement("canvas"),no.ctx=no.canvas.getContext("2d"),no.options=ro,no.canvas.width=Math.floor(ro.width*ro.scale),no.canvas.height=Math.floor(ro.height*ro.scale),no.canvas.style.width=ro.width+"px",no.canvas.style.height=ro.height+"px",no.ctx.scale(no.options.scale,no.options.scale),no.ctx.translate(-ro.x,-ro.y),no.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+ro.width+"x"+ro.height+" at "+ro.x+","+ro.y+") with scale "+ro.scale),no}return eo.prototype.render=function(to){return __awaiter$2(this,void 0,void 0,function(){var ro,no;return __generator(this,function(io){switch(io.label){case 0:return ro=createForeignObjectSVG(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,to),[4,loadSerializedSVG(ro)];case 1:return no=io.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=asString(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(no,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},eo})(Renderer),loadSerializedSVG=function(Yi){return new Promise(function(eo,to){var ro=new Image;ro.onload=function(){eo(ro)},ro.onerror=to,ro.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(Yi))})},Logger=(function(){function Yi(eo){var to=eo.id,ro=eo.enabled;this.id=to,this.enabled=ro,this.start=Date.now()}return Yi.prototype.debug=function(){for(var eo=[],to=0;to<arguments.length;
vendor: 4,553 bytes, line 427
427to++)eo[to]=arguments[to];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,__spreadArray([this.id,this.getTime()+"ms"],eo)):this.info.apply(this,eo))},Yi.prototype.getTime=function(){return Date.now()-this.start},Yi.prototype.info=function(){for(var eo=[],to=0;to<arguments.length;to++)eo[to]=arguments[to];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,__spreadArray([this.id,this.getTime()+"ms"],eo))},Yi.prototype.warn=function(){for(var eo=[],to=0;to<arguments.length;to++)eo[to]=arguments[to];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,__spreadArray([this.id,this.getTime()+"ms"],eo)):this.info.apply(this,eo))},Yi.prototype.error=function(){for(var eo=[],to=0;to<arguments.length;to++)eo[to]=arguments[to];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,__spreadArray([this.id,this.getTime()+"ms"],eo)):this.info.apply(this,eo))},Yi.instances={},Yi})(),Context=(function(){function Yi(eo,to){var ro;this.windowBounds=to,this.instanceName="#"+Yi.instanceCount++,this.logger=new Logger({id:this.instanceName,enabled:eo.logging}),this.cache=(ro=eo.cache)!==null&&ro!==void 0?ro:new Cache(this,eo)}return Yi.instanceCount=1,Yi})(),html2canvas=function(Yi,eo){return eo===void 0&&(eo={}),renderElement(Yi,eo)};typeof window<"u"&&CacheStorage.setContext(window);var renderElement=function(Yi,eo){return __awaiter$2(void 0,void 0,void 0,function(){var to,ro,no,io,oo,ao,so,lo,co,uo,fo,ho,mo,vo,Co,bo,wo,yo,Eo,xo,To,So,To,Ro,Po,zo,Ho,Vo,Lo,Uo,Do,Oo,ko,Bo,Fo,Qo,jo,Xo,Zo,Wo;return __generator(this,function(ta){switch(ta.label){case 0:if(!Yi||typeof Yi!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(to=Yi.ownerDocument,!to)throw new Error("Element is not attached to a Document");if(ro=to.defaultView,!ro)throw new Error("Document is not attached to a Window");return no={allowTaint:(Ro=eo.allowTaint)!==null&&Ro!==void 0?Ro:!1,imageTimeout:(Po=eo.imageTimeout)!==null&&Po!==void 0?Po:15e3,proxy:eo.proxy,useCORS:(zo=eo.useCORS)!==null&&zo!==void 0?zo:!1},io=__assign({logging:(Ho=eo.logging)!==null&&Ho!==void 0?Ho:!0,cache:eo.cache},no),oo={windowWidth:(Vo=eo.windowWidth)!==null&&Vo!==void 0?Vo:ro.innerWidth,windowHeight:(Lo=eo.windowHeight)!==null&&Lo!==void 0?Lo:ro.innerHeight,scrollX:(Uo=eo.scrollX)!==null&&Uo!==void 0?Uo:ro.pageXOffset,scrollY:(Do=eo.scrollY)!==null&&Do!==void 0?Do:ro.pageYOffset},ao=new Bounds(oo.scrollX,oo.scrollY,oo.windowWidth,oo.windowHeight),so=new Context(io,ao),lo=(Oo=eo.foreignObjectRendering)!==null&&Oo!==void 0?Oo:!1,co={allowTaint:(ko=eo.allowTaint)!==null&&ko!==void 0?ko:!1,onclone:eo.onclone,ignoreElements:eo.ignoreElements,inlineImages:lo,copyStyles:lo},so.logger.debug("Starting document clone with size "+ao.width+"x"+ao.height+" scrolled to "+-ao.left+","+-ao.top),uo=new DocumentCloner(so,Yi,co),fo=uo.clonedReferenceElement,fo?[4,uo.toIFrame(to,ao)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return ho=ta.sent(),mo=isBodyElement(fo)||isHTMLElement$1(fo)?parseDocumentSize(fo.ownerDocument):parseBounds(so,fo),vo=mo.width,Co=mo.height,bo=mo.left,wo=mo.top,yo=parseBackgroundColor(so,fo,eo.backgroundColor),Eo={canvas:eo.canvas,backgroundColor:yo,scale:(Fo=(Bo=eo.scale)!==null&&Bo!==void 0?Bo:ro.devicePixelRatio)!==null&&Fo!==void 0?Fo:1,x:((Qo=eo.x)!==null&&Qo!==void 0?Qo:0)+bo,y:((jo=eo.y)!==null&&jo!==void 0?jo:0)+wo,width:(Xo=eo.width)!==null&&Xo!==void 0?Xo:Math.ceil(vo),height:(Zo=eo.height)!==null&&Zo!==void 0?Zo:Math.ceil(Co)},lo?(so.logger.debug("Document cloned, using foreign object rendering"),To=new ForeignObjectRenderer(so,Eo),[4,To.render(fo)]):[3,3];case 2:return xo=ta.sent(),[3,5];case 3:return so.logger.debug("Document cloned, element located at "+bo+","+wo+" with size "+vo+"x"+Co+" using computed rendering"),so.logger.debug("Starting DOM parsing"),So=parseTree(so,fo),yo===So.styles.backgroundColor&&(So.styles.backgroundColor=COLORS.TRANSPARENT),so.logger.debug("Starting renderer for element at "+Eo.x+","+Eo.y+" with size "+Eo.width+"x"+Eo.height),To=new CanvasRenderer$1(so,Eo),[4,To.render(So)];case 4:xo=ta.sent(),ta.label=5;case 5:return(!((Wo=eo.removeContainer)!==null&&Wo!==void 0)||Wo)&&(DocumentCloner.destroy(ho)||so.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),so.logger.debug("Finished rendering"),[2,xo]}})})}
427,parseBackgroundColor=function(Yi,eo,to){var ro=eo.ownerDocument,no=ro.documentElement?parseColor(Yi,getComputedStyle(ro.documentElement).backgroundColor):COLORS.TRANSPARENT,io=ro.body?parseColor(Yi,getComputedStyle(ro.body).backgroundColor):COLORS.TRANSPARENT,oo=typeof to=="string"?parseColor(Yi,to):to===null?COLORS.TRANSPARENT:4294967295;return eo===ro.documentElement?isTransparent(no)?isTransparent(io)?oo:io:no:oo};function _interopDefault$1h(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1g=_interopDefault$1h(reactExports),_extends$1J=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1g=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},CashCheckIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1g(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1g.createElement("svg",_extends$1J({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1g.createElement("path",{d:"M3 6V18H13.32C13.1 17.33 13 16.66 13 16H7C7 14.9 6.11 14 5 14V10C6.11 10 7 9.11 7 8H17C17 9.11 17.9 10 19 10V10.06C19.67 10.06 20.34 10.18 21 10.4V6H3M12 9C10.3 9.03 9 10.3 9 12C9 13.7 10.3 14.94 12 15C12.38 15 12.77 14.92 13.14 14.77C13.41 13.67 13.86 12.63 14.97 11.61C14.85 10.28 13.59 8.97 12 9M21.63 12.27L17.76 16.17L16.41 14.8L15 16.22L17.75 19L23.03 13.68L21.63 12.27Z"}))},CashCheckIcon$1=React$1g.memo?React$1g.memo(CashCheckIcon):CashCheckIcon,CashCheckIcon_1=CashCheckIcon$1;const CashCheckIcon$2=getDefaultExportFromCjs(CashCheckIcon_1);function _interopDefault$1g(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1f=_interopDefault$1g(reactExports),_extends$1I=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1f=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},AlertCircleIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1f(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1f.createElement("svg",_extends$1I({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1f.createElement("path",{d:"M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}))},AlertCircleIcon$1=React$1f.memo?React$1f.memo(AlertCircleIcon):AlertCircleIcon,AlertCircleIcon_1=AlertCircleIcon$1;const AlertCircleIcon$2=getDefaultExportFromCjs(AlertCircleIcon_1);var isArray$f=Array.isArray,isArray_1=isArray$f,freeGlobal$1=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,_freeGlobal=freeGlobal$1,freeGlobal=_freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root$9=freeGlobal||freeSelf||Function("return this")(),_root=root$9,root$8=_root,Symbol$7=root$8.Symbol,_Symbol=Symbol$7,Symbol$6=_Symbol,objectProto$c=Object.prototype,hasOwnProperty$b=objectProto$c.hasOwnProperty,nativeObjectToString$1=objectProto$c.toString,symToStringTag$1=Symbol$6?Symbol$6.toStringTag:void 0;function getRawTag$1(Yi){var eo=hasOwnProperty$b.call(Yi,symToStringTag$1),to=Yi[symToStringTag$1];try{Yi[symToStringTag$1]=void 0;var ro=!0}catch{}var no=nativeObjectToString$1.call(Yi);return ro&&(eo?Yi[symToStringTag$1]=to:delete Yi[symToStringTag$1]),no}var _getRawTag=getRawTag$1,objectProto$b=Object.prototype,nativeObjectToString=objectProto$b.toString;function objectToString$1(Yi){return nativeObjectToString.call(Yi)}var _objectToString=objectToString$1,Symbol$5=_Symbol,getRawTag=_getRawTag,objectToString=_objectToString,nullTag="[object Null]",undefinedTag="[object Undef
427ined]",symToStringTag=Symbol$5?Symbol$5.toStringTag:void 0;function baseGetTag$9(Yi){return Yi==null?Yi===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(Yi)?getRawTag(Yi):objectToString(Yi)}var _baseGetTag=baseGetTag$9;function isObjectLike$9(Yi){return Yi!=null&&typeof Yi=="object"}var isObjectLike_1=isObjectLike$9,baseGetTag$8=_baseGetTag,isObjectLike$8=isObjectLike_1,symbolTag$1="[object Symbol]";function isSymbol$6(Yi){return typeof Yi=="symbol"||isObjectLike$8(Yi)&&baseGetTag$8(Yi)==symbolTag$1}var isSymbol_1=isSymbol$6,isArray$e=isArray_1,isSymbol$5=isSymbol_1,reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey$4(Yi,eo){if(isArray$e(Yi))return!1;var to=typeof Yi;return to=="number"||to=="symbol"||to=="boolean"||Yi==null||isSymbol$5(Yi)?!0:reIsPlainProp.test(Yi)||!reIsDeepProp.test(Yi)||eo!=null&&Yi in Object(eo)}var _isKey=isKey$4;function isObject$a(Yi){var eo=typeof Yi;return Yi!=null&&(eo=="object"||eo=="function")}var isObject_1=isObject$a;const isObject$b=getDefaultExportFromCjs(isObject_1);var baseGetTag$7=_baseGetTag,isObject$9=isObject_1,asyncTag="[object AsyncFunction]",funcTag$1="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$3(Yi){if(!isObject$9(Yi))return!1;var eo=baseGetTag$7(Yi);return eo==funcTag$1||eo==genTag||eo==asyncTag||eo==proxyTag}var isFunction_1=isFunction$3;const isFunction$4=getDefaultExportFromCjs(isFunction_1);var root$7=_root,coreJsData$1=root$7["__core-js_shared__"],_coreJsData=coreJsData$1,coreJsData=_coreJsData,maskSrcKey=(function(){var Yi=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return Yi?"Symbol(src)_1."+Yi:""})();function isMasked$1(Yi){return!!maskSrcKey&&maskSrcKey in Yi}var _isMasked=isMasked$1,funcProto$2=Function.prototype,funcToString$2=funcProto$2.toString;function toSource$2(Yi){if(Yi!=null){try{return funcToString$2.call(Yi)}catch{}try{return Yi+""}catch{}}return""}var _toSource=toSource$2,isFunction$2=isFunction_1,isMasked=_isMasked,isObject$8=isObject_1,toSource$1=_toSource,reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$1=Function.prototype,objectProto$a=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$a=objectProto$a.hasOwnProperty,reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$a).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative$1(Yi){if(!isObject$8(Yi)||isMasked(Yi))return!1;var eo=isFunction$2(Yi)?reIsNative:reIsHostCtor;return eo.test(toSource$1(Yi))}var _baseIsNative=baseIsNative$1;function getValue$1(Yi,eo){return Yi==null?void 0:Yi[eo]}var _getValue=getValue$1,baseIsNative=_baseIsNative,getValue=_getValue;function getNative$7(Yi,eo){var to=getValue(Yi,eo);return baseIsNative(to)?to:void 0}var _getNative=getNative$7,getNative$6=_getNative,nativeCreate$4=getNative$6(Object,"create"),_nativeCreate=nativeCreate$4,nativeCreate$3=_nativeCreate;function hashClear$1(){this.__data__=nativeCreate$3?nativeCreate$3(null):{},this.size=0}var _hashClear=hashClear$1;function hashDelete$1(Yi){var eo=this.has(Yi)&&delete this.__data__[Yi];return this.size-=eo?1:0,eo}var _hashDelete=hashDelete$1,nativeCreate$2=_nativeCreate,HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$9=Object.prototype,hasOwnProperty$9=objectProto$9.hasOwnProperty;function hashGet$1(Yi){var eo=this.__data__;if(nativeCreate$2){var to=eo[Yi];return to===HASH_UNDEFINED$2?void 0:to}return hasOwnProperty$9.call(eo,Yi)?eo[Yi]:void 0}var _hashGet=hashGet$1,nativeCreate$1=_nativeCreate,objectProto$8=Object.prototype,hasOwnProperty$8=objectProto$8.hasOwnProperty;function hashHas$1(Yi){var eo=this.__data__;return nativeCreate$1?eo[Yi]!==void 0:hasOwnProperty$8.call(eo,Yi)}var _hashHas=hashHas$1,nativeCreate=_nativeCreate,HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet$1(Yi,eo){var to=this.__data__;return this.size+=this.has(Yi)?0:1,to[Yi]=nativeCreate&&eo===void 0?HASH_UNDEFINED$1:eo,this}var _hashSet=hashSet$1,hashClear=_hashClear,hashDelete=_hashDelete,hashGet=_hashGet,hashHas=_hashHas,hashSet=_hashSet;function Hash$1(Yi){var eo=-1,to=Yi==null?0:Yi.length;for(this.clear();++eo<to;){var ro=Yi[eo];this.set(ro[0],ro[1])}}Hash$1.prototype.clear=hashClear;Hash$1.prototype.delete=hashDelete;Hash$1.prototype.get=hashGet;Hash$1.prototype.has=hashHas;Hash$1.prototype.set=hashSet;var _Hash=Hash$1;function listCacheClear$1(){this.__data__=[],this.size=0}var _listCacheClear=listCacheClear$1;function eq$3(Yi,eo){return Yi===eo||Yi!==Yi&&eo!==eo}var eq_1=eq$3,eq$2=eq_1;function assocIndexOf$4(Yi,eo){for(var to=Yi.length;to--;)if(eq$2(Yi[to][0],eo))return to;return-1}var _assocIndexOf=assocIndexOf$4,assocIndexOf$3=_assocIndexOf,arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete$1(Yi){var eo=this.__data__,to=assocIndexOf$3(eo,Yi);if(to<0)return!1;var ro=eo.length-1;return to==ro?eo.pop():splice.call(eo,to,1),--this.size,!0}var _listCacheDelete=listCacheDelete$1,assocIndexOf$2=_assocIndexOf;function listCacheGet$1(Yi){var eo=this.__data__,to=assocIndexOf$2(eo,Yi);return to<0?void 0:eo[to][1]}var _listCacheGet=listCacheGet$1,assocIndexOf$1=_assocIndexOf;function listCacheHas$1(Yi){return assocIndexOf$1(this.__data__,Yi)>-1}var _listCacheHas=listCacheHas$1,assocIndexOf=_assocIndexOf;function listCacheSet$1(Yi,eo){var to=this.__data__,ro=assocIndexOf(to,Yi);return ro<0?(++this.size,to.push([Yi,eo])):to[ro][1]=eo,this}var _listCacheSet=listCacheSet$1,listCacheClear=_listCacheClear,listCacheDelete=_listCacheDelete,listCacheGet=_listCacheGet,listCacheHas=_listCacheHas,listCacheSet=_listCacheSet;function ListCache$4(Yi){var eo=-1,to=Yi==null?0:Yi.length;for(this.clear();++eo<to;){var ro=Yi[eo];this.set(ro[0],ro[1])}}ListCache$4.prototype.clear=listCacheClear;ListCache$4.prototype.delete=listCacheDelete;ListCache$4.prototype.get=listCacheGet;ListCache$4.prototype.has=listCacheHas;ListCache$4.prototype.set=listCacheSet;var _ListCache=ListCache$4,getNative$5=_getNative,root$6=_root,Map$4=get
vendor: 4,127 bytes, line 427
427Native$5(root$6,"Map"),_Map=Map$4,Hash=_Hash,ListCache$3=_ListCache,Map$3=_Map;function mapCacheClear$1(){this.size=0,this.__data__={hash:new Hash,map:new(Map$3||ListCache$3),string:new Hash}}var _mapCacheClear=mapCacheClear$1;function isKeyable$1(Yi){var eo=typeof Yi;return eo=="string"||eo=="number"||eo=="symbol"||eo=="boolean"?Yi!=="__proto__":Yi===null}var _isKeyable=isKeyable$1,isKeyable=_isKeyable;function getMapData$4(Yi,eo){var to=Yi.__data__;return isKeyable(eo)?to[typeof eo=="string"?"string":"hash"]:to.map}var _getMapData=getMapData$4,getMapData$3=_getMapData;function mapCacheDelete$1(Yi){var eo=getMapData$3(this,Yi).delete(Yi);return this.size-=eo?1:0,eo}var _mapCacheDelete=mapCacheDelete$1,getMapData$2=_getMapData;function mapCacheGet$1(Yi){return getMapData$2(this,Yi).get(Yi)}var _mapCacheGet=mapCacheGet$1,getMapData$1=_getMapData;function mapCacheHas$1(Yi){return getMapData$1(this,Yi).has(Yi)}var _mapCacheHas=mapCacheHas$1,getMapData=_getMapData;function mapCacheSet$1(Yi,eo){var to=getMapData(this,Yi),ro=to.size;return to.set(Yi,eo),this.size+=to.size==ro?0:1,this}var _mapCacheSet=mapCacheSet$1,mapCacheClear=_mapCacheClear,mapCacheDelete=_mapCacheDelete,mapCacheGet=_mapCacheGet,mapCacheHas=_mapCacheHas,mapCacheSet=_mapCacheSet;function MapCache$3(Yi){var eo=-1,to=Yi==null?0:Yi.length;for(this.clear();++eo<to;){var ro=Yi[eo];this.set(ro[0],ro[1])}}MapCache$3.prototype.clear=mapCacheClear;MapCache$3.prototype.delete=mapCacheDelete;MapCache$3.prototype.get=mapCacheGet;MapCache$3.prototype.has=mapCacheHas;MapCache$3.prototype.set=mapCacheSet;var _MapCache=MapCache$3,MapCache$2=_MapCache,FUNC_ERROR_TEXT$2="Expected a function";function memoize$3(Yi,eo){if(typeof Yi!="function"||eo!=null&&typeof eo!="function")throw new TypeError(FUNC_ERROR_TEXT$2);var to=function(){var ro=arguments,no=eo?eo.apply(this,ro):ro[0],io=to.cache;if(io.has(no))return io.get(no);var oo=Yi.apply(this,ro);return to.cache=io.set(no,oo)||io,oo};return to.cache=new(memoize$3.Cache||MapCache$2),to}memoize$3.Cache=MapCache$2;var memoize_1=memoize$3;const memoize$4=getDefaultExportFromCjs(memoize_1);var memoize$2=memoize_1,MAX_MEMOIZE_SIZE=500;function memoizeCapped$1(Yi){var eo=memoize$2(Yi,function(ro){return to.size===MAX_MEMOIZE_SIZE&&to.clear(),ro}),to=eo.cache;return eo}var _memoizeCapped=memoizeCapped$1,memoizeCapped=_memoizeCapped,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath$2=memoizeCapped(function(Yi){var eo=[];return Yi.charCodeAt(0)===46&&eo.push(""),Yi.replace(rePropName,function(to,ro,no,io){eo.push(no?io.replace(reEscapeChar,"$1"):ro||to)}),eo}),_stringToPath=stringToPath$2;function arrayMap$3(Yi,eo){for(var to=-1,ro=Yi==null?0:Yi.length,no=Array(ro);++to<ro;)no[to]=eo(Yi[to],to,Yi);return no}var _arrayMap=arrayMap$3,Symbol$4=_Symbol,arrayMap$2=_arrayMap,isArray$d=isArray_1,isSymbol$4=isSymbol_1,symbolProto$1=Symbol$4?Symbol$4.prototype:void 0,symbolToString=symbolProto$1?symbolProto$1.toString:void 0;function baseToString$1(Yi){if(typeof Yi=="string")return Yi;if(isArray$d(Yi))return arrayMap$2(Yi,baseToString$1)+"";if(isSymbol$4(Yi))return symbolToString?symbolToString.call(Yi):"";var eo=Yi+"";return eo=="0"&&1/Yi==-1/0?"-0":eo}var _baseToString=baseToString$1,baseToString=_baseToString;function toString$5(Yi){return Yi==null?"":baseToString(Yi)}var toString_1=toString$5,isArray$c=isArray_1,isKey$3=_isKey,stringToPath$1=_stringToPath,toString$4=toString_1;function castPath$2(Yi,eo){return isArray$c(Yi)?Yi:isKey$3(Yi,eo)?[Yi]:stringToPath$1(toString$4(Yi))}var _castPath=castPath$2,isSymbol$3=isSymbol_1;function toKey$4(Yi){if(typeof Yi=="string"||isSymbol$3(Yi))return Yi;var eo=Yi+"";return eo=="0"&&1/Yi==-1/0?"-0":eo}var _toKey=toKey$4,castPath$1=_castPath,toKey$3=_toKey;function baseGet$4(Yi,eo){eo=castPath$1(eo,Yi);for(var to=0,ro=eo.length;Yi!=null&&to<ro;)Yi=Yi[toKey$3(eo[to++])];return to&&to==ro?Yi:void 0}var _baseGet=baseGet$4,baseGet$3=_baseGet;function get$2(Yi,eo,to){var ro=Yi==null?void 0:baseGet$3(Yi,eo);return ro===void 0?to:ro}var get_1=get$2;
vendor: 4,180 bytes, line 427
427const get$3=getDefaultExportFromCjs(get_1);function isNil(Yi){return Yi==null}var isNil_1=isNil;const isNil$1=getDefaultExportFromCjs(isNil_1);var baseGetTag$6=_baseGetTag,isArray$b=isArray_1,isObjectLike$7=isObjectLike_1,stringTag$2="[object String]";function isString$1(Yi){return typeof Yi=="string"||!isArray$b(Yi)&&isObjectLike$7(Yi)&&baseGetTag$6(Yi)==stringTag$2}var isString_1=isString$1;const isString$2=getDefaultExportFromCjs(isString_1);var baseGetTag$5=_baseGetTag,isObjectLike$6=isObjectLike_1,numberTag$2="[object Number]";function isNumber$2(Yi){return typeof Yi=="number"||isObjectLike$6(Yi)&&baseGetTag$5(Yi)==numberTag$2}var isNumber_1=isNumber$2;const isNumber$3=getDefaultExportFromCjs(isNumber_1);var isNumber$1=isNumber_1;function isNaN$1(Yi){return isNumber$1(Yi)&&Yi!=+Yi}var _isNaN=isNaN$1;const isNan=getDefaultExportFromCjs(_isNaN);var mathSign=function Yi(eo){return eo===0?0:eo>0?1:-1},isPercent=function Yi(eo){return isString$2(eo)&&eo.indexOf("%")===eo.length-1},isNumber=function Yi(eo){return isNumber$3(eo)&&!isNan(eo)},isNumOrStr=function Yi(eo){return isNumber(eo)||isString$2(eo)},idCounter=0,uniqueId=function Yi(eo){var to=++idCounter;return"".concat(eo||"").concat(to)},getPercentValue=function Yi(eo,to){var ro=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,no=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!isNumber(eo)&&!isString$2(eo))return ro;var io;if(isPercent(eo)){var oo=eo.indexOf("%");io=to*parseFloat(eo.slice(0,oo))/100}else io=+eo;return isNan(io)&&(io=ro),no&&io>to&&(io=to),io},getAnyElementOfObject=function Yi(eo){if(!eo)return null;var to=Object.keys(eo);return to&&to.length?eo[to[0]]:null},hasDuplicate=function Yi(eo){if(!Array.isArray(eo))return!1;for(var to=eo.length,ro={},no=0;no<to;no++)if(!ro[eo[no]])ro[eo[no]]=!0;else return!0;return!1},interpolateNumber$2=function Yi(eo,to){return isNumber(eo)&&isNumber(to)?function(ro){return eo+ro*(to-eo)}:function(){return to}};function findEntryInArray(Yi,eo,to){return!Yi||!Yi.length?null:Yi.find(function(ro){return ro&&(typeof eo=="function"?eo(ro):get$3(ro,eo))===to})}function shallowEqual(Yi,eo){for(var to in Yi)if({}.hasOwnProperty.call(Yi,to)&&(!{}.hasOwnProperty.call(eo,to)||Yi[to]!==eo[to]))return!1;for(var ro in eo)if({}.hasOwnProperty.call(eo,ro)&&!{}.hasOwnProperty.call(Yi,ro))return!1;return!0}function _typeof$I(Yi){"@babel/helpers - typeof";return _typeof$I=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$I(Yi)}var SVGContainerPropKeys=["viewBox","children"],SVGElementPropKeys=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackgroun
427d","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],PolyElementKeys=["points","pathLength"],FilteredElementKeyMap={svg:SVGContainerPropKeys,polygon:PolyElementKeys,polyline:PolyElementKeys},EventKeys=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],adaptEventHandlers=function Yi(eo,to){if(!eo||typeof eo=="function"||typeof eo=="boolean")return null;var ro=eo;if(reactExports.isValidElement(eo)&&(ro=eo.props),!isObject$b(ro))return null;var no={};
vendor: 8,362 bytes, line 427
427return Object.keys(ro).forEach(function(io){EventKeys.includes(io)&&(no[io]=to||function(oo){return ro[io](ro,oo)})}),no},getEventHandlerOfChild=function Yi(eo,to,ro){return function(no){return eo(to,ro,no),null}},adaptEventsOfChild=function Yi(eo,to,ro){if(!isObject$b(eo)||_typeof$I(eo)!=="object")return null;var no=null;return Object.keys(eo).forEach(function(io){var oo=eo[io];EventKeys.includes(io)&&typeof oo=="function"&&(no||(no={}),no[io]=getEventHandlerOfChild(oo,to,ro))}),no},_excluded$j=["children"],_excluded2$5=["children"];function _objectWithoutProperties$f(Yi,eo){if(Yi==null)return{};var to=_objectWithoutPropertiesLoose$h(Yi,eo),ro,no;if(Object.getOwnPropertySymbols){var io=Object.getOwnPropertySymbols(Yi);for(no=0;no<io.length;no++)ro=io[no],!(eo.indexOf(ro)>=0)&&Object.prototype.propertyIsEnumerable.call(Yi,ro)&&(to[ro]=Yi[ro])}return to}function _objectWithoutPropertiesLoose$h(Yi,eo){if(Yi==null)return{};var to={};for(var ro in Yi)if(Object.prototype.hasOwnProperty.call(Yi,ro)){if(eo.indexOf(ro)>=0)continue;to[ro]=Yi[ro]}return to}var REACT_BROWSER_EVENT_MAP={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"},getDisplayName=function Yi(eo){return typeof eo=="string"?eo:eo?eo.displayName||eo.name||"Component":""},lastChildren=null,lastResult=null,toArray=function Yi(eo){if(eo===lastChildren&&Array.isArray(lastResult))return lastResult;var to=[];return reactExports.Children.forEach(eo,function(ro){isNil$1(ro)||(reactIsExports.isFragment(ro)?to=to.concat(Yi(ro.props.children)):to.push(ro))}),lastResult=to,lastChildren=eo,to};function findAllByType(Yi,eo){var to=[],ro=[];return Array.isArray(eo)?ro=eo.map(function(no){return getDisplayName(no)}):ro=[getDisplayName(eo)],toArray(Yi).forEach(function(no){var io=get$3(no,"type.displayName")||get$3(no,"type.name");ro.indexOf(io)!==-1&&to.push(no)}),to}function findChildByType(Yi,eo){var to=findAllByType(Yi,eo);return to&&to[0]}var validateWidthHeight=function Yi(eo){if(!eo||!eo.props)return!1;var to=eo.props,ro=to.width,no=to.height;return!(!isNumber(ro)||ro<=0||!isNumber(no)||no<=0)},SVG_TAGS=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],isSvgElement=function Yi(eo){return eo&&eo.type&&isString$2(eo.type)&&SVG_TAGS.indexOf(eo.type)>=0},isValidSpreadableProp=function Yi(eo,to,ro,no){var io,oo=(io=FilteredElementKeyMap==null?void 0:FilteredElementKeyMap[no])!==null&&io!==void 0?io:[];return!isFunction$4(eo)&&(no&&oo.includes(to)||SVGElementPropKeys.includes(to))||ro&&EventKeys.includes(to)},filterProps=function Yi(eo,to,ro){if(!eo||typeof eo=="function"||typeof eo=="boolean")return null;var no=eo;if(reactExports.isValidElement(eo)&&(no=eo.props),!isObject$b(no))return null;var io={};return Object.keys(no).forEach(function(oo){var ao;isValidSpreadableProp((ao=no)===null||ao===void 0?void 0:ao[oo],oo,to,ro)&&(io[oo]=no[oo])}),io},isChildrenEqual=function Yi(eo,to){if(eo===to)return!0;var ro=reactExports.Children.count(eo);if(ro!==reactExports.Children.count(to))return!1;if(ro===0)return!0;if(ro===1)return isSingleChildEqual(Array.isArray(eo)?eo[0]:eo,Array.isArray(to)?to[0]:to);for(var no=0;no<ro;no++){var io=eo[no],oo=to[no];if(Array.isArray(io)||Array.isArray(oo)){if(!Yi(io,oo))return!1}else if(!isSingleChildEqual(io,oo))return!1}return!0},isSingleChildEqual=function Yi(eo,to){if(isNil$1(eo)&&isNil$1(to))return!0;if(!isNil$1(eo)&&!isNil$1(to)){var ro=eo.props||{},no=ro.children,io=_objectWithoutProperties$f(ro,_excluded$j),oo=to.props||{},ao=oo.children,so=_objectWithoutProperties$f(oo,_excluded2$5);return no&&ao?shallowEqual(io,so)&&isChildrenEqual(no,ao):!no&&!ao?shallowEqual(io,so):!1}return!1},renderByOrder=function Yi(eo,to){var ro=[],no={};return toArray(eo).forEach(function(io,oo){if(isSvgElement(io))ro.push(io);else if(io){var ao=getDisplayName(io.type),so=to[ao]||{},lo=so.handler,co=so.once;if(lo&&(!co||!no[ao])){var uo=lo(io,ao,oo);ro.push(uo),no[ao]=!0}}}),ro},getReactEventByType=function Yi(eo){var to=eo&&eo.type;return to&&REACT_BROWSER_EVENT_MAP[to]?REACT_BROWSER_EVENT_MAP[to]:null},parseChildIndex=function Yi(eo,to){return toArray(to).indexOf(eo)},_excluded$i=["children","width","height","viewBox","className","style","title","desc"];function _extends$1H(){return _extends$1H=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1H.apply(this,arguments)}function _objectWithoutProperties$e(Yi,eo){if(Yi==null)return{};var to=_objectWithoutPropertiesLoose$g(Yi,eo),ro,no;if(Object.getOwnPropertySymbols){var io=Object.getOwnPropertySymbols(Yi);for(no=0;no<io.length;no++)ro=io[no],!(eo.indexOf(ro)>=0)&&Object.prototype.propertyIsEnumerable.call(Yi,ro)&&(to[ro]=Yi[ro])}return to}function _objectWithoutPropertiesLoose$g(Yi,eo){if(Yi==null)return{};var to={};for(var ro in Yi)if(Object.prototype.hasOwnProperty.call(Yi,ro)){if(eo.indexOf(ro)>=0)continue;to[ro]=Yi[ro]}return to}function Surface(Yi){var eo=Yi.children,to=Yi.width,ro=Yi.height,no=Yi.viewBox,io=Yi.className,oo=Yi.style,ao=Yi.title,so=Yi.desc,lo=_objectWithoutProperties$e(Yi,_excluded$i),co=no||{width:to,height:ro,x:0,y:0},uo=clsx("recharts-surface",io);return React$1F.createElement("svg",_extends$1H({},filterProps(lo,!0,"svg"),{className:uo,width:to,height:ro,style:oo,viewBox:"".concat(co.x," ").concat(co.y," ").concat(co.width," ").concat(co.height)}),React$1F.createElement("title",null,ao),React$1F.createElement("desc",null,so),eo)}var _excluded$h=["children","className"];function _extends$1G(){return _extends$1G=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1G.apply(this,arguments)}function _objectWithoutProperties$d(Yi,eo){if(Yi==null)return{};var to=_objectWithoutPropertiesLoose$f(Yi,eo),ro,no;if(Object.getOwnPropertySymbols){var io=Object.getOwnPropertySymbols(Yi);for(no=0;no<io.length;no++)ro=io[no],!(eo.indexOf(ro)>=0)&&Object.prototype.propertyIsEnumerable.call(Yi,ro)&&(to[ro]=Yi[ro])}return to}function _objectWithoutPropertiesLoose$f(Yi,eo){if(Yi==null)return{};var to={};for(var ro in Yi)if(Object.prototype.hasOwnProperty.call(Yi,ro)){if(eo.indexOf(ro)>=0)continue;to[ro]=Yi[ro]}return to}var Layer=React$1F.forwardRef(function(Yi,eo){var to=Yi.children,ro=Yi.className,no=_objectWithoutProperties$d(Yi,_excluded$h),io=clsx("recharts-layer",ro);return React$1F.createElement("g",_extends$1G({className:io},filterProps(no,!0),{ref:eo}),to)}),warn=function Yi(eo,to){for(var ro=arguments.length,no=new Array(ro>2?ro-2:0),io=2;io<ro;io++)no[io-2]=arguments[io]};function baseSlice$1(Yi,eo,to){var ro=-1,no=Yi.length;eo<0&&(eo=-eo>no?0:no+eo),to=to>no?no:to,to<0&&(to+=no),no=eo>to?0:to-eo>>>0,eo>>>=0;for(var io=Array(no);++ro<no;)io[ro]=Yi[ro+eo];return io}var _baseSlice=baseSlice$1,baseSlice=_baseSlice;function castSlice$1(Yi,eo,to){var ro=Yi.length;return to=to===void 0?ro:to,!eo&&to>=ro?Yi:baseSlice(Yi,eo,to)}var _castSlice=castSlice$1,rsAstralRange$1="\\ud800-\\udfff",rsComboMarksRange$1="\\u0300-\\u036f",reComboHalfMarksRange$1="\\ufe20-\\ufe2f",rsComboSymbol
vendor: 2,354 bytes, line 427
427sRange$1="\\u20d0-\\u20ff",rsComboRange$1=rsComboMarksRange$1+reComboHalfMarksRange$1+rsComboSymbolsRange$1,rsVarRange$1="\\ufe0e\\ufe0f",rsZWJ$1="\\u200d",reHasUnicode=RegExp("["+rsZWJ$1+rsAstralRange$1+rsComboRange$1+rsVarRange$1+"]");function hasUnicode$2(Yi){return reHasUnicode.test(Yi)}var _hasUnicode=hasUnicode$2;function asciiToArray$1(Yi){return Yi.split("")}var _asciiToArray=asciiToArray$1,rsAstralRange="\\ud800-\\udfff",rsComboMarksRange="\\u0300-\\u036f",reComboHalfMarksRange="\\ufe20-\\ufe2f",rsComboSymbolsRange="\\u20d0-\\u20ff",rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsVarRange="\\ufe0e\\ufe0f",rsAstral="["+rsAstralRange+"]",rsCombo="["+rsComboRange+"]",rsFitz="\\ud83c[\\udffb-\\udfff]",rsModifier="(?:"+rsCombo+"|"+rsFitz+")",rsNonAstral="[^"+rsAstralRange+"]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",rsZWJ="\\u200d",reOptMod=rsModifier+"?",rsOptVar="["+rsVarRange+"]?",rsOptJoin="(?:"+rsZWJ+"(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")"+rsOptVar+reOptMod+")*",rsSeq=rsOptVar+reOptMod+rsOptJoin,rsSymbol="(?:"+[rsNonAstral+rsCombo+"?",rsCombo,rsRegional,rsSurrPair,rsAstral].join("|")+")",reUnicode=RegExp(rsFitz+"(?="+rsFitz+")|"+rsSymbol+rsSeq,"g");function unicodeToArray$1(Yi){return Yi.match(reUnicode)||[]}var _unicodeToArray=unicodeToArray$1,asciiToArray=_asciiToArray,hasUnicode$1=_hasUnicode,unicodeToArray=_unicodeToArray;function stringToArray$1(Yi){return hasUnicode$1(Yi)?unicodeToArray(Yi):asciiToArray(Yi)}var _stringToArray=stringToArray$1,castSlice=_castSlice,hasUnicode=_hasUnicode,stringToArray=_stringToArray,toString$3=toString_1;function createCaseFirst$1(Yi){return function(eo){eo=toString$3(eo);var to=hasUnicode(eo)?stringToArray(eo):void 0,ro=to?to[0]:eo.charAt(0),no=to?castSlice(to,1).join(""):eo.slice(1);return ro[Yi]()+no}}var _createCaseFirst=createCaseFirst$1,createCaseFirst=_createCaseFirst,upperFirst=createCaseFirst("toUpperCase"),upperFirst_1=upperFirst;const upperFirst$1=getDefaultExportFromCjs(upperFirst_1);function constant$3(Yi){return function(){return Yi}}const cos=Math.cos,sin=Math.sin,sqrt$1=Math.sqrt,pi$1=Math.PI,tau$1=2*pi$1,pi=Math.PI,tau=2*pi,epsilon=1e-6,tauEpsilon=tau-epsilon;function append(Yi){this._+=Yi[0];for(let eo=1,to=Yi.length;eo<to;++eo)this._+=arguments[eo]+Yi[eo]}
vendor: 8,721 bytes, line 427
427function appendRound(Yi){let eo=Math.floor(Yi);if(!(eo>=0))throw new Error(`invalid digits: ${Yi}`);if(eo>15)return append;const to=10**eo;return function(ro){this._+=ro[0];for(let no=1,io=ro.length;no<io;++no)this._+=Math.round(arguments[no]*to)/to+ro[no]}}class Path{constructor(eo){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=eo==null?append:appendRound(eo)}moveTo(eo,to){this._append`M${this._x0=this._x1=+eo},${this._y0=this._y1=+to}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(eo,to){this._append`L${this._x1=+eo},${this._y1=+to}`}quadraticCurveTo(eo,to,ro,no){this._append`Q${+eo},${+to},${this._x1=+ro},${this._y1=+no}`}bezierCurveTo(eo,to,ro,no,io,oo){this._append`C${+eo},${+to},${+ro},${+no},${this._x1=+io},${this._y1=+oo}`}arcTo(eo,to,ro,no,io){if(eo=+eo,to=+to,ro=+ro,no=+no,io=+io,io<0)throw new Error(`negative radius: ${io}`);let oo=this._x1,ao=this._y1,so=ro-eo,lo=no-to,co=oo-eo,uo=ao-to,fo=co*co+uo*uo;if(this._x1===null)this._append`M${this._x1=eo},${this._y1=to}`;else if(fo>epsilon)if(!(Math.abs(uo*so-lo*co)>epsilon)||!io)this._append`L${this._x1=eo},${this._y1=to}`;else{let ho=ro-oo,mo=no-ao,vo=so*so+lo*lo,Co=ho*ho+mo*mo,bo=Math.sqrt(vo),wo=Math.sqrt(fo),yo=io*Math.tan((pi-Math.acos((vo+fo-Co)/(2*bo*wo)))/2),Eo=yo/wo,xo=yo/bo;Math.abs(Eo-1)>epsilon&&this._append`L${eo+Eo*co},${to+Eo*uo}`,this._append`A${io},${io},0,0,${+(uo*ho>co*mo)},${this._x1=eo+xo*so},${this._y1=to+xo*lo}`}}arc(eo,to,ro,no,io,oo){if(eo=+eo,to=+to,ro=+ro,oo=!!oo,ro<0)throw new Error(`negative radius: ${ro}`);let ao=ro*Math.cos(no),so=ro*Math.sin(no),lo=eo+ao,co=to+so,uo=1^oo,fo=oo?no-io:io-no;this._x1===null?this._append`M${lo},${co}`:(Math.abs(this._x1-lo)>epsilon||Math.abs(this._y1-co)>epsilon)&&this._append`L${lo},${co}`,ro&&(fo<0&&(fo=fo%tau+tau),fo>tauEpsilon?this._append`A${ro},${ro},0,1,${uo},${eo-ao},${to-so}A${ro},${ro},0,1,${uo},${this._x1=lo},${this._y1=co}`:fo>epsilon&&this._append`A${ro},${ro},0,${+(fo>=pi)},${uo},${this._x1=eo+ro*Math.cos(io)},${this._y1=to+ro*Math.sin(io)}`)}rect(eo,to,ro,no){this._append`M${this._x0=this._x1=+eo},${this._y0=this._y1=+to}h${ro=+ro}v${+no}h${-ro}Z`}toString(){return this._}}function withPath(Yi){let eo=3;return Yi.digits=function(to){if(!arguments.length)return eo;if(to==null)eo=null;else{const ro=Math.floor(to);if(!(ro>=0))throw new RangeError(`invalid digits: ${to}`);eo=ro}return Yi},()=>new Path(eo)}function array(Yi){return typeof Yi=="object"&&"length"in Yi?Yi:Array.from(Yi)}function Linear(Yi){this._context=Yi}Linear.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(Yi,eo){switch(Yi=+Yi,eo=+eo,this._point){case 0:this._point=1,this._line?this._context.lineTo(Yi,eo):this._context.moveTo(Yi,eo);break;case 1:this._point=2;default:this._context.lineTo(Yi,eo);break}}};function curveLinear(Yi){return new Linear(Yi)}function x$1(Yi){return Yi[0]}function y$1(Yi){return Yi[1]}function shapeLine(Yi,eo){var to=constant$3(!0),ro=null,no=curveLinear,io=null,oo=withPath(ao);Yi=typeof Yi=="function"?Yi:Yi===void 0?x$1:constant$3(Yi),eo=typeof eo=="function"?eo:eo===void 0?y$1:constant$3(eo);function ao(so){var lo,co=(so=array(so)).length,uo,fo=!1,ho;for(ro==null&&(io=no(ho=oo())),lo=0;lo<=co;++lo)!(lo<co&&to(uo=so[lo],lo,so))===fo&&((fo=!fo)?io.lineStart():io.lineEnd()),fo&&io.point(+Yi(uo,lo,so),+eo(uo,lo,so));if(ho)return io=null,ho+""||null}return ao.x=function(so){return arguments.length?(Yi=typeof so=="function"?so:constant$3(+so),ao):Yi},ao.y=function(so){return arguments.length?(eo=typeof so=="function"?so:constant$3(+so),ao):eo},ao.defined=function(so){return arguments.length?(to=typeof so=="function"?so:constant$3(!!so),ao):to},ao.curve=function(so){return arguments.length?(no=so,ro!=null&&(io=no(ro)),ao):no},ao.context=function(so){return arguments.length?(so==null?ro=io=null:io=no(ro=so),ao):ro},ao}function shapeArea(Yi,eo,to){var ro=null,no=constant$3(!0),io=null,oo=curveLinear,ao=null,so=withPath(lo);Yi=typeof Yi=="function"?Yi:Yi===void 0?x$1:constant$3(+Yi),eo=typeof eo=="function"?eo:constant$3(eo===void 0?0:+eo),to=typeof to=="function"?to:to===void 0?y$1:constant$3(+to);function lo(uo){var fo,ho,mo,vo=(uo=array(uo)).length,Co,bo=!1,wo,yo=new Array(vo),Eo=new Array(vo);for(io==null&&(ao=oo(wo=so())),fo=0;fo<=vo;++fo){if(!(fo<vo&&no(Co=uo[fo],fo,uo))===bo)if(bo=!bo)ho=fo,ao.areaStart(),ao.lineStart();else{for(ao.lineEnd(),ao.lineStart(),mo=fo-1;mo>=ho;--mo)ao.point(yo[mo],Eo[mo]);ao.lineEnd(),ao.areaEnd()}bo&&(yo[fo]=+Yi(Co,fo,uo),Eo[fo]=+eo(Co,fo,uo),ao.point(ro?+ro(Co,fo,uo):yo[fo],to?+to(Co,fo,uo):Eo[fo]))}if(wo)return ao=null,wo+""||null}function co(){return shapeLine().defined(no).curve(oo).context(io)}return lo.x=function(uo){return arguments.length?(Yi=typeof uo=="function"?uo:constant$3(+uo),ro=null,lo):Yi},lo.x0=function(uo){return arguments.length?(Yi=typeof uo=="function"?uo:constant$3(+uo),lo):Yi},lo.x1=function(uo){return arguments.length?(ro=uo==null?null:typeof uo=="function"?uo:constant$3(+uo),lo):ro},lo.y=function(uo){return arguments.length?(eo=typeof uo=="function"?uo:constant$3(+uo),to=null,lo):eo},lo.y0=function(uo){return arguments.length?(eo=typeof uo=="function"?uo:constant$3(+uo),lo):eo},lo.y1=function(uo){return arguments.length?(to=uo==null?null:typeof uo=="function"?uo:constant$3(+uo),lo):to},lo.lineX0=lo.lineY0=function(){return co().x(Yi).y(eo)},lo.lineY1=function(){return co().x(Yi).y(to)},lo.lineX1=function(){return co().x(ro).y(eo)},lo.defined=function(uo){return arguments.length?(no=typeof uo=="function"?uo:constant$3(!!uo),lo):no},lo.curve=function(uo){return arguments.length?(oo=uo,io!=null&&(ao=oo(io)),lo):oo},lo.context=function(uo){return arguments.length?(uo==null?io=ao=null:ao=oo(io=uo),lo):io},lo}class Bump{constructor(eo,to){this._context=eo,this._x=to}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(eo,to){switch(eo=+eo,to=+to,this._point){case 0:{this._point=1,this._line?this._context.lineTo(eo,to):this._context.moveTo(eo,to);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+eo)/2,this._y0,this._x0,to,eo,to):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+to)/2,eo,this._y0,eo,to);break}}this._x0=eo,this._y0=to}}function bumpX(Yi){return new Bump(Yi,!0)}function bumpY(Yi){return new Bump(Yi,!1)}const symbolCircle={draw(Yi,eo){const to=sqrt$1(eo/pi$1);Yi.moveTo(to,0),Yi.arc(0,0,to,0,tau$1)}},symbolCross={draw(Yi,eo){const to=sqrt$1(eo/5)/2;Yi.moveTo(-3*to,-to),Yi.lineTo(-to,-to),Yi.lineTo(-to,-3*to),Yi.lineTo(to,-3*to),Yi.lineTo(to,-to),Yi.lineTo(3*to,-to),Yi.lineTo(3*to,to),Yi.lineTo(to,to),Yi.lineTo(to,3*to),Yi.lineTo(-to,3*to),Yi.lineTo(-to,to),Yi.lineTo(-3*to,to),Yi.closePath()}},tan30=sqrt$1(1/3),tan30_2=tan30*2,symbolDiamond={draw(Yi,eo){const to=sqrt$1(eo/tan30_2),ro=to*tan30;Yi.moveTo(0,-to),Yi.lineTo(ro,0),Yi.lineTo(0,to),Yi.lineTo(-ro,0),Yi.closePath()}},symbolSquare={draw(Yi,eo){const to=sqrt$1(eo),ro=-to/2;Yi.rect(ro,ro,to,to)}},ka=.8908130915292852,kr=sin(pi$1/10)/sin(7*pi$1/10),kx=sin(tau$1/10)*kr,ky=-cos(tau$1/10)*kr,symbolStar={draw(Yi,eo){const to=sqrt$1(eo*ka),ro=kx*to,no=ky*to;Yi.moveTo(0,-to),Yi.lineTo(ro,no);for(let io=1;io<5;++io){const oo=tau$1*io/5,ao=cos(oo),so=sin(oo);Yi.lineTo(so*to,-ao*to),Yi.lineTo(ao*ro-so*no,so*ro+ao*no)}Yi.closePath()}},sqrt3=sqrt$1(3),symbolTriangle={draw(Yi,eo){const to=-sqrt$1(eo/(sqrt3*3));Yi.moveTo(0,to*2),Yi.lineTo(-sqrt3*to,-to),Yi.lineTo(sqrt3*to,-to),Yi.closePath()}},c=-.5,s$1=sqrt$1(3)/2,k$1=1/sqrt$1(12),a=(k$1/2+1)*3,symbolWye={draw(Yi,eo){const to=sqrt$1(eo/a),ro=to/2,no=to*k$1,io=ro,oo=to*k$1+to,ao=-io,so=oo;Yi.moveTo(ro,no),Yi.lineTo(io,oo),Yi.lineTo(ao,so),Yi.lineTo(c*ro-s$1*no,s$1*ro+c*no),Yi.lineTo(c*io-s$1*oo,s$1*io+c*oo),Yi.lineTo(c*ao-s$1*so,s$1*ao+c*so),Yi.lineTo(c*ro+s$1*no,c*no-s$1*ro),Yi.lineTo(c*io+s$1*oo,c*oo-s$1*io),Yi.lineTo(c*ao+s$1*so,c*so-s$1*ao),Yi.closePath()}};function Symbol$3(Yi,eo){let to=null,ro=withPath(no);Yi=typeof Yi=="function"?Yi:constant$3(Yi||symbolCircle),eo=typeof eo=="function"?eo:constant$3(eo===void 0?64:+eo);function no(){let io;if(to||(to=io=ro()),Yi.apply(this,arguments).draw(to,+eo.apply(this,arguments)),io)return to=null,io+""||null}return no.type=function(io){return arguments.length?(Yi=typeof io=="function"?io:constant$3(io),no):Yi},no.size=function(io){return arguments.length?(eo=typeof io=="function"?io:constant$3(+io),no):eo}
vendor: 7,139 bytes, line 427
427,no.context=function(io){return arguments.length?(to=io??null,no):to},no}function noop$4(){}function point$2(Yi,eo,to){Yi._context.bezierCurveTo((2*Yi._x0+Yi._x1)/3,(2*Yi._y0+Yi._y1)/3,(Yi._x0+2*Yi._x1)/3,(Yi._y0+2*Yi._y1)/3,(Yi._x0+4*Yi._x1+eo)/6,(Yi._y0+4*Yi._y1+to)/6)}function Basis(Yi){this._context=Yi}Basis.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:point$2(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(Yi,eo){switch(Yi=+Yi,eo=+eo,this._point){case 0:this._point=1,this._line?this._context.lineTo(Yi,eo):this._context.moveTo(Yi,eo);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:point$2(this,Yi,eo);break}this._x0=this._x1,this._x1=Yi,this._y0=this._y1,this._y1=eo}};function curveBasis(Yi){return new Basis(Yi)}function BasisClosed(Yi){this._context=Yi}BasisClosed.prototype={areaStart:noop$4,areaEnd:noop$4,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(Yi,eo){switch(Yi=+Yi,eo=+eo,this._point){case 0:this._point=1,this._x2=Yi,this._y2=eo;break;case 1:this._point=2,this._x3=Yi,this._y3=eo;break;case 2:this._point=3,this._x4=Yi,this._y4=eo,this._context.moveTo((this._x0+4*this._x1+Yi)/6,(this._y0+4*this._y1+eo)/6);break;default:point$2(this,Yi,eo);break}this._x0=this._x1,this._x1=Yi,this._y0=this._y1,this._y1=eo}};function curveBasisClosed(Yi){return new BasisClosed(Yi)}function BasisOpen(Yi){this._context=Yi}BasisOpen.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(Yi,eo){switch(Yi=+Yi,eo=+eo,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var to=(this._x0+4*this._x1+Yi)/6,ro=(this._y0+4*this._y1+eo)/6;this._line?this._context.lineTo(to,ro):this._context.moveTo(to,ro);break;case 3:this._point=4;default:point$2(this,Yi,eo);break}this._x0=this._x1,this._x1=Yi,this._y0=this._y1,this._y1=eo}};function curveBasisOpen(Yi){return new BasisOpen(Yi)}function LinearClosed(Yi){this._context=Yi}LinearClosed.prototype={areaStart:noop$4,areaEnd:noop$4,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(Yi,eo){Yi=+Yi,eo=+eo,this._point?this._context.lineTo(Yi,eo):(this._point=1,this._context.moveTo(Yi,eo))}};function curveLinearClosed(Yi){return new LinearClosed(Yi)}function sign(Yi){return Yi<0?-1:1}function slope3(Yi,eo,to){var ro=Yi._x1-Yi._x0,no=eo-Yi._x1,io=(Yi._y1-Yi._y0)/(ro||no<0&&-0),oo=(to-Yi._y1)/(no||ro<0&&-0),ao=(io*no+oo*ro)/(ro+no);return(sign(io)+sign(oo))*Math.min(Math.abs(io),Math.abs(oo),.5*Math.abs(ao))||0}function slope2(Yi,eo){var to=Yi._x1-Yi._x0;return to?(3*(Yi._y1-Yi._y0)/to-eo)/2:eo}function point$1(Yi,eo,to){var ro=Yi._x0,no=Yi._y0,io=Yi._x1,oo=Yi._y1,ao=(io-ro)/3;Yi._context.bezierCurveTo(ro+ao,no+ao*eo,io-ao,oo-ao*to,io,oo)}function MonotoneX(Yi){this._context=Yi}MonotoneX.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:point$1(this,this._t0,slope2(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(Yi,eo){var to=NaN;if(Yi=+Yi,eo=+eo,!(Yi===this._x1&&eo===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(Yi,eo):this._context.moveTo(Yi,eo);break;case 1:this._point=2;break;case 2:this._point=3,point$1(this,slope2(this,to=slope3(this,Yi,eo)),to);break;default:point$1(this,this._t0,to=slope3(this,Yi,eo));break}this._x0=this._x1,this._x1=Yi,this._y0=this._y1,this._y1=eo,this._t0=to}}};function MonotoneY(Yi){this._context=new ReflectContext(Yi)}(MonotoneY.prototype=Object.create(MonotoneX.prototype)).point=function(Yi,eo){MonotoneX.prototype.point.call(this,eo,Yi)};function ReflectContext(Yi){this._context=Yi}ReflectContext.prototype={moveTo:function(Yi,eo){this._context.moveTo(eo,Yi)},closePath:function(){this._context.closePath()},lineTo:function(Yi,eo){this._context.lineTo(eo,Yi)},bezierCurveTo:function(Yi,eo,to,ro,no,io){this._context.bezierCurveTo(eo,Yi,ro,to,io,no)}};function monotoneX(Yi){return new MonotoneX(Yi)}function monotoneY(Yi){return new MonotoneY(Yi)}function Natural(Yi){this._context=Yi}Natural.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var Yi=this._x,eo=this._y,to=Yi.length;if(to)if(this._line?this._context.lineTo(Yi[0],eo[0]):this._context.moveTo(Yi[0],eo[0]),to===2)this._context.lineTo(Yi[1],eo[1]);else for(var ro=controlPoints(Yi),no=controlPoints(eo),io=0,oo=1;oo<to;++io,++oo)this._context.bezierCurveTo(ro[0][io],no[0][io],ro[1][io],no[1][io],Yi[oo],eo[oo]);(this._line||this._line!==0&&to===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(Yi,eo){this._x.push(+Yi),this._y.push(+eo)}};function controlPoints(Yi){var eo,to=Yi.length-1,ro,no=new Array(to),io=new Array(to),oo=new Array(to);for(no[0]=0,io[0]=2,oo[0]=Yi[0]+2*Yi[1],eo=1;eo<to-1;++eo)no[eo]=1,io[eo]=4,oo[eo]=4*Yi[eo]+2*Yi[eo+1];for(no[to-1]=2,io[to-1]=7,oo[to-1]=8*Yi[to-1]+Yi[to],eo=1;eo<to;++eo)ro=no[eo]/io[eo-1],io[eo]-=ro,oo[eo]-=ro*oo[eo-1];for(no[to-1]=oo[to-1]/io[to-1],eo=to-2;eo>=0;--eo)no[eo]=(oo[eo]-no[eo+1])/io[eo];for(io[to-1]=(Yi[to]+no[to-1])/2,eo=0;eo<to-1;++eo)io[eo]=2*Yi[eo+1]-no[eo+1];return[no,io]}function curveNatural(Yi){return new Natural(Yi)}function Step(Yi,eo){this._context=Yi,this._t=eo}Step.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(Yi,eo){switch(Yi=+Yi,eo=+eo,this._point){case 0:this._point=1,this._line?this._context.lineTo(Yi,eo):this._context.moveTo(Yi,eo);break;case 1:this._point=2;
vendor: 13,593 bytes, lines 427-430
427default:{if(this._t<=0)this._context.lineTo(this._x,eo),this._context.lineTo(Yi,eo);else{var to=this._x*(1-this._t)+Yi*this._t;this._context.lineTo(to,this._y),this._context.lineTo(to,eo)}break}}this._x=Yi,this._y=eo}};function curveStep(Yi){return new Step(Yi,.5)}function stepBefore(Yi){return new Step(Yi,0)}function stepAfter(Yi){return new Step(Yi,1)}function stackOffsetNone(Yi,eo){if((oo=Yi.length)>1)for(var to=1,ro,no,io=Yi[eo[0]],oo,ao=io.length;to<oo;++to)for(no=io,io=Yi[eo[to]],ro=0;ro<ao;++ro)io[ro][1]+=io[ro][0]=isNaN(no[ro][1])?no[ro][0]:no[ro][1]}function stackOrderNone(Yi){for(var eo=Yi.length,to=new Array(eo);--eo>=0;)to[eo]=eo;return to}function stackValue(Yi,eo){return Yi[eo]}function stackSeries(Yi){const eo=[];return eo.key=Yi,eo}function shapeStack(){var Yi=constant$3([]),eo=stackOrderNone,to=stackOffsetNone,ro=stackValue;function no(io){var oo=Array.from(Yi.apply(this,arguments),stackSeries),ao,so=oo.length,lo=-1,co;for(const uo of io)for(ao=0,++lo;ao<so;++ao)(oo[ao][lo]=[0,+ro(uo,oo[ao].key,lo,io)]).data=uo;for(ao=0,co=array(eo(oo));ao<so;++ao)oo[co[ao]].index=ao;return to(oo,co),oo}return no.keys=function(io){return arguments.length?(Yi=typeof io=="function"?io:constant$3(Array.from(io)),no):Yi},no.value=function(io){return arguments.length?(ro=typeof io=="function"?io:constant$3(+io),no):ro},no.order=function(io){return arguments.length?(eo=io==null?stackOrderNone:typeof io=="function"?io:constant$3(Array.from(io)),no):eo},no.offset=function(io){return arguments.length?(to=io??stackOffsetNone,no):to},no}function stackOffsetExpand(Yi,eo){if((ro=Yi.length)>0){for(var to,ro,no=0,io=Yi[0].length,oo;no<io;++no){for(oo=to=0;to<ro;++to)oo+=Yi[to][no][1]||0;if(oo)for(to=0;to<ro;++to)Yi[to][no][1]/=oo}stackOffsetNone(Yi,eo)}}function stackOffsetSilhouette(Yi,eo){if((no=Yi.length)>0){for(var to=0,ro=Yi[eo[0]],no,io=ro.length;to<io;++to){for(var oo=0,ao=0;oo<no;++oo)ao+=Yi[oo][to][1]||0;ro[to][1]+=ro[to][0]=-ao/2}stackOffsetNone(Yi,eo)}}function stackOffsetWiggle(Yi,eo){if(!(!((oo=Yi.length)>0)||!((io=(no=Yi[eo[0]]).length)>0))){for(var to=0,ro=1,no,io,oo;ro<io;++ro){for(var ao=0,so=0,lo=0;ao<oo;++ao){for(var co=Yi[eo[ao]],uo=co[ro][1]||0,fo=co[ro-1][1]||0,ho=(uo-fo)/2,mo=0;mo<ao;++mo){var vo=Yi[eo[mo]],Co=vo[ro][1]||0,bo=vo[ro-1][1]||0;ho+=Co-bo}so+=uo,lo+=ho*uo}no[ro-1][1]+=no[ro-1][0]=to,so&&(to-=lo/so)}no[ro-1][1]+=no[ro-1][0]=to,stackOffsetNone(Yi,eo)}}function _typeof$H(Yi){"@babel/helpers - typeof";return _typeof$H=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$H(Yi)}var _excluded$g=["type","size","sizeType"];function _extends$1F(){return _extends$1F=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1F.apply(this,arguments)}function ownKeys$z(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$z(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$z(Object(to),!0).forEach(function(ro){_defineProperty$H(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$z(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$H(Yi,eo,to){return eo=_toPropertyKey$D(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$D(Yi){var eo=_toPrimitive$D(Yi,"string");return _typeof$H(eo)=="symbol"?eo:eo+""}function _toPrimitive$D(Yi,eo){if(_typeof$H(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$H(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi)}function _objectWithoutProperties$c(Yi,eo){if(Yi==null)return{};var to=_objectWithoutPropertiesLoose$e(Yi,eo),ro,no;if(Object.getOwnPropertySymbols){var io=Object.getOwnPropertySymbols(Yi);for(no=0;no<io.length;no++)ro=io[no],!(eo.indexOf(ro)>=0)&&Object.prototype.propertyIsEnumerable.call(Yi,ro)&&(to[ro]=Yi[ro])}return to}function _objectWithoutPropertiesLoose$e(Yi,eo){if(Yi==null)return{};var to={};for(var ro in Yi)if(Object.prototype.hasOwnProperty.call(Yi,ro)){if(eo.indexOf(ro)>=0)continue;to[ro]=Yi[ro]}return to}var symbolFactories={symbolCircle,symbolCross,symbolDiamond,symbolSquare,symbolStar,symbolTriangle,symbolWye},RADIAN$1=Math.PI/180,getSymbolFactory=function Yi(eo){var to="symbol".concat(upperFirst$1(eo));return symbolFactories[to]||symbolCircle},calculateAreaSize=function Yi(eo,to,ro){if(to==="area")return eo;switch(ro){case"cross":return 5*eo*eo/9;case"diamond":return .5*eo*eo/Math.sqrt(3);case"square":return eo*eo;case"star":{var no=18*RADIAN$1;return 1.25*eo*eo*(Math.tan(no)-Math.tan(no*2)*Math.pow(Math.tan(no),2))}case"triangle":return Math.sqrt(3)*eo*eo/4;case"wye":return(21-10*Math.sqrt(3))*eo*eo/8;default:return Math.PI*eo*eo/4}},registerSymbol=function Yi(eo,to){symbolFactories["symbol".concat(upperFirst$1(eo))]=to},Symbols=function Yi(eo){var to=eo.type,ro=to===void 0?"circle":to,no=eo.size,io=no===void 0?64:no,oo=eo.sizeType,ao=oo===void 0?"area":oo,so=_objectWithoutProperties$c(eo,_excluded$g),lo=_objectSpread$z(_objectSpread$z({},so),{},{type:ro,size:io,sizeType:ao}),co=function(){var Co=getSymbolFactory(ro),bo=Symbol$3().type(Co).size(calculateAreaSize(io,ao,ro));return bo()},uo=lo.className,fo=lo.cx,ho=lo.cy,mo=filterProps(lo,!0);return fo===+fo&&ho===+ho&&io===+io?React$1F.createElement("path",_extends$1F({},mo,{className:clsx("recharts-symbols",uo),transform:"translate(".concat(fo,", ").concat(ho,")"),d:co()})):null};Symbols.registerSymbol=registerSymbol;function _typeof$G(Yi){"@babel/helpers - typeof";return _typeof$G=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$G(Yi)}function _extends$1E(){return _extends$1E=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1E.apply(this,arguments)}function ownKeys$y(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$y(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$y(Object(to),!0).forEach(function(ro){_defineProperty$G(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$y(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _classCallCheck$j(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$j(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,_toPropertyKey$C(ro.key),ro)}}function _createClass$j(Yi,eo,to){return eo&&_defineProperties$j(Yi.prototype,eo),Object.defineProperty(Yi,"prototype",{writable:!1}),Yi}function _callSuper$d(Yi,eo,to){return eo=_getPrototypeOf$g(eo),_possibleConstructorReturn$g(Yi,_isNativeReflectConstruct$g()?Reflect.construct(eo,to||[],_getPrototypeOf$g(Yi).constructor):eo.apply(Yi,to))}function _possibleConstructorReturn$g(Yi,eo){if(eo&&(_typeof$G(eo)==="object"||typeof eo=="function"))return eo;if(eo!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$h(Yi)}function _assertThisInitialized$h(Yi){if(Yi===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yi}function _isNativeReflectConstruct$g(){try{var Yi=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$g=function(){return!!Yi})()}function _getPrototypeOf$g(Yi){return _getPrototypeOf$g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(to){return to.__proto__||Object.getPrototypeOf(to)},_getPrototypeOf$g(Yi)}function _inherits$g(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function");Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,writable:!0,configurable:!0}}),Object.defineProperty(Yi,"prototype",{writable:!1}),eo&&_setPrototypeOf$h(Yi,eo)}function _setPrototypeOf$h(Yi,eo){return _setPrototypeOf$h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ro,no){return ro.__proto__=no,ro},_setPrototypeOf$h(Yi,eo)}function _defineProperty$G(Yi,eo,to){return eo=_toPropertyKey$C(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$C(Yi){var eo=_toPrimitive$C(Yi,"string");return _typeof$G(eo)=="symbol"?eo:eo+""}function _toPrimitive$C(Yi,eo){if(_typeof$G(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$G(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Yi)}var SIZE=32,DefaultLegendContent=(function(Yi){function eo(){return _classCallCheck$j(this,eo),_callSuper$d(this,eo,arguments)}return _inherits$g(eo,Yi),_createClass$j(eo,[{key:"renderIcon",value:function(ro){var no=this.props.inactiveColor,io=SIZE/2,oo=SIZE/6,ao=SIZE/3,so=ro.inactive?no:ro.color;if(ro.type==="plainline")return React$1F.createElement("line",{strokeWidth:4,fill:"none",stroke:so,strokeDasharray:ro.payload.strokeDasharray,x1:0,y1:io,x2:SIZE,y2:io,className:"recharts-legend-icon"});if(ro.type==="line")return React$1F.createElement("path",{strokeWidth:4,fill:"none",stroke:so,d:"M0,".concat(io,"h").concat(ao,`
428            A`).concat(oo,",").concat(oo,",0,1,1,").concat(2*ao,",").concat(io,`
429            H`).concat(SIZE,"M").concat(2*ao,",").concat(io,`
430            A`).concat(oo,",").concat(oo,",0,1,1,").concat(ao,",").concat(io),className:"recharts-legend-icon"});if(ro.type==="rect")return React$1F.createElement("path",{stroke:"none",fill:so,d:"M0,".concat(SIZE/8,"h").concat(SIZE,"v").concat(SIZE*3/4,"h").concat(-SIZE,"z"),className:"recharts-legend-icon"});if(React$1F.isValidElement(ro.legendIcon)){var lo=_objectSpread$y({},ro);return delete lo.legendIcon,React$1F.cloneElement(ro.legendIcon,lo)}return React$1F.createElement(Symbols,{fill:so,cx:io,cy:io,size:SIZE,sizeType:"diameter",type:ro.type})}},{key:"renderItems",value:function(){var ro=this,no=this.props,io=no.payload,oo=no.iconSize,ao=no.layout,so=no.formatter,lo=no.inactiveColor,co={x:0,y:0,width:SIZE,height:SIZE},uo={display:ao==="horizontal"?"inline-block":"block",marginRight:10},fo={display:"inline-block",verticalAlign:"middle",marginRight:4};return io.map(function(ho,mo){var vo=ho.formatter||so,Co=clsx(_defineProperty$G(_defineProperty$G({"recharts-legend-item":!0},"legend-item-".concat(mo),!0),"inactive",ho.inactive));if(ho.type==="none")return null;var bo=isFunction$4(ho.value)?null:ho.value;warn(!isFunction$4(ho.value),`The name property is also required when using a function for the dataKey of a chart's cartesian components. Ex: <Bar name="Name of my Data"/>`);var wo=ho.inactive?lo:ho.color;return React$1F.createElement("li",_extends$1E({className:Co,style:uo,key:"legend-item-".concat(mo)},adaptEventsOfChild(ro.props,ho,mo)),React$1F.createElement(Surface,{width:oo,height:oo,viewBox:co,style:fo},ro.renderIcon(ho)),React$1F.createElement("span",{className:"recharts-legend-item-text",style:{color:wo}},vo?vo(bo,ho,mo):bo))})}},{key:"render",value:function(){var ro=this.props,no=ro.payload,io=ro.layout,oo=ro.align;if(!no||!no.length)return null;var ao={padding:0,margin:0,textAlign:io==="horizontal"?oo:"left"};return React$1F.createElement("ul",{className:"recharts-default-legend",style:ao},this.renderItems())}}])})(reactExports.PureComponent);_defineProperty$G(DefaultLegendContent,"displayName","Legend");_defineProperty$G(DefaultLegendContent,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var ListCache$2=_ListCache;function stackClear$1(){this.__data__=new ListCache$2,this.size=0}var _stackClear=stackClear$1;function stackDelete$1(Yi){var eo=this.__data__,to=eo.delete(Yi);return this.size=eo.size,to}var _stackDelete=stackDelete$1;function stackGet$1(Yi){return this.__data__.get(Yi)}var _stackGet=stackGet$1;function stackHas$1(Yi){return this.__data__.has(Yi)}var _stackHas=stackHas$1,ListCache$1=_ListCache,Map$2=_Map,MapCache$1=_MapCache,LARGE_ARRAY_SIZE$1=200;function stackSet$1(Yi,eo){var to=this.__data__;if(to instanceof ListCache$1){var ro=to.__data__;if(!Map$2||ro.length<LARGE_ARRAY_SIZE$1-1)return ro.push([Yi,eo]),this.size=++to.size,this;to=this.__data__=new MapCache$1(ro)}return to.set(Yi,eo),this.size=to.size,this}
vendor: 6,798 bytes, line 430
430var _stackSet=stackSet$1,ListCache=_ListCache,stackClear=_stackClear,stackDelete=_stackDelete,stackGet=_stackGet,stackHas=_stackHas,stackSet=_stackSet;function Stack$2(Yi){var eo=this.__data__=new ListCache(Yi);this.size=eo.size}Stack$2.prototype.clear=stackClear;Stack$2.prototype.delete=stackDelete;Stack$2.prototype.get=stackGet;Stack$2.prototype.has=stackHas;Stack$2.prototype.set=stackSet;var _Stack=Stack$2,HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd$1(Yi){return this.__data__.set(Yi,HASH_UNDEFINED),this}var _setCacheAdd=setCacheAdd$1;function setCacheHas$1(Yi){return this.__data__.has(Yi)}var _setCacheHas=setCacheHas$1,MapCache=_MapCache,setCacheAdd=_setCacheAdd,setCacheHas=_setCacheHas;function SetCache$2(Yi){var eo=-1,to=Yi==null?0:Yi.length;for(this.__data__=new MapCache;++eo<to;)this.add(Yi[eo])}SetCache$2.prototype.add=SetCache$2.prototype.push=setCacheAdd;SetCache$2.prototype.has=setCacheHas;var _SetCache=SetCache$2;function arraySome$2(Yi,eo){for(var to=-1,ro=Yi==null?0:Yi.length;++to<ro;)if(eo(Yi[to],to,Yi))return!0;return!1}var _arraySome=arraySome$2;function cacheHas$2(Yi,eo){return Yi.has(eo)}var _cacheHas=cacheHas$2,SetCache$1=_SetCache,arraySome$1=_arraySome,cacheHas$1=_cacheHas,COMPARE_PARTIAL_FLAG$5=1,COMPARE_UNORDERED_FLAG$3=2;function equalArrays$2(Yi,eo,to,ro,no,io){var oo=to&COMPARE_PARTIAL_FLAG$5,ao=Yi.length,so=eo.length;if(ao!=so&&!(oo&&so>ao))return!1;var lo=io.get(Yi),co=io.get(eo);if(lo&&co)return lo==eo&&co==Yi;var uo=-1,fo=!0,ho=to&COMPARE_UNORDERED_FLAG$3?new SetCache$1:void 0;for(io.set(Yi,eo),io.set(eo,Yi);++uo<ao;){var mo=Yi[uo],vo=eo[uo];if(ro)var Co=oo?ro(vo,mo,uo,eo,Yi,io):ro(mo,vo,uo,Yi,eo,io);if(Co!==void 0){if(Co)continue;fo=!1;break}if(ho){if(!arraySome$1(eo,function(bo,wo){if(!cacheHas$1(ho,wo)&&(mo===bo||no(mo,bo,to,ro,io)))return ho.push(wo)})){fo=!1;break}}else if(!(mo===vo||no(mo,vo,to,ro,io))){fo=!1;break}}return io.delete(Yi),io.delete(eo),fo}var _equalArrays=equalArrays$2,root$5=_root,Uint8Array$2=root$5.Uint8Array,_Uint8Array=Uint8Array$2;function mapToArray$1(Yi){var eo=-1,to=Array(Yi.size);return Yi.forEach(function(ro,no){to[++eo]=[no,ro]}),to}var _mapToArray=mapToArray$1;function setToArray$3(Yi){var eo=-1,to=Array(Yi.size);return Yi.forEach(function(ro){to[++eo]=ro}),to}var _setToArray=setToArray$3,Symbol$2=_Symbol,Uint8Array$1=_Uint8Array,eq$1=eq_1,equalArrays$1=_equalArrays,mapToArray=_mapToArray,setToArray$2=_setToArray,COMPARE_PARTIAL_FLAG$4=1,COMPARE_UNORDERED_FLAG$2=2,boolTag$2="[object Boolean]",dateTag$1="[object Date]",errorTag$1="[object Error]",mapTag$2="[object Map]",numberTag$1="[object Number]",regexpTag$1="[object RegExp]",setTag$2="[object Set]",stringTag$1="[object String]",symbolTag="[object Symbol]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$2="[object DataView]",symbolProto=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag$1(Yi,eo,to,ro,no,io,oo){switch(to){case dataViewTag$2:if(Yi.byteLength!=eo.byteLength||Yi.byteOffset!=eo.byteOffset)return!1;Yi=Yi.buffer,eo=eo.buffer;case arrayBufferTag$1:return!(Yi.byteLength!=eo.byteLength||!io(new Uint8Array$1(Yi),new Uint8Array$1(eo)));case boolTag$2:case dateTag$1:case numberTag$1:return eq$1(+Yi,+eo);case errorTag$1:return Yi.name==eo.name&&Yi.message==eo.message;case regexpTag$1:case stringTag$1:return Yi==eo+"";case mapTag$2:var ao=mapToArray;case setTag$2:var so=ro&COMPARE_PARTIAL_FLAG$4;if(ao||(ao=setToArray$2),Yi.size!=eo.size&&!so)return!1;var lo=oo.get(Yi);if(lo)return lo==eo;ro|=COMPARE_UNORDERED_FLAG$2,oo.set(Yi,eo);var co=equalArrays$1(ao(Yi),ao(eo),ro,no,io,oo);return oo.delete(Yi),co;case symbolTag:if(symbolValueOf)return symbolValueOf.call(Yi)==symbolValueOf.call(eo)}return!1}var _equalByTag=equalByTag$1;function arrayPush$2(Yi,eo){for(var to=-1,ro=eo.length,no=Yi.length;++to<ro;)Yi[no+to]=eo[to];return Yi}var _arrayPush=arrayPush$2,arrayPush$1=_arrayPush,isArray$a=isArray_1;function baseGetAllKeys$1(Yi,eo,to){var ro=eo(Yi);return isArray$a(Yi)?ro:arrayPush$1(ro,to(Yi))}var _baseGetAllKeys=baseGetAllKeys$1;function arrayFilter$1(Yi,eo){for(var to=-1,ro=Yi==null?0:Yi.length,no=0,io=[];++to<ro;){var oo=Yi[to];eo(oo,to,Yi)&&(io[no++]=oo)}return io}var _arrayFilter=arrayFilter$1;function stubArray$1(){return[]}var stubArray_1=stubArray$1,arrayFilter=_arrayFilter,stubArray=stubArray_1,objectProto$7=Object.prototype,propertyIsEnumerable$1=objectProto$7.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbols$1=nativeGetSymbols?function(Yi){return Yi==null?[]:(Yi=Object(Yi),arrayFilter(nativeGetSymbols(Yi),function(eo){return propertyIsEnumerable$1.call(Yi,eo)}))}:stubArray,_getSymbols=getSymbols$1;function baseTimes$1(Yi,eo){for(var to=-1,ro=Array(Yi);++to<Yi;)ro[to]=eo(to);return ro}var _baseTimes=baseTimes$1,baseGetTag$4=_baseGetTag,isObjectLike$5=isObjectLike_1,argsTag$2="[object Arguments]";function baseIsArguments$1(Yi){return isObjectLike$5(Yi)&&baseGetTag$4(Yi)==argsTag$2}var _baseIsArguments=baseIsArguments$1,baseIsArguments=_baseIsArguments,isObjectLike$4=isObjectLike_1,objectProto$6=Object.prototype,hasOwnProperty$7=objectProto$6.hasOwnProperty,propertyIsEnumerable=objectProto$6.propertyIsEnumerable,isArguments$3=baseIsArguments((function(){return arguments})())?baseIsArguments:function(Yi){return isObjectLike$4(Yi)&&hasOwnProperty$7.call(Yi,"callee")&&!propertyIsEnumerable.call(Yi,"callee")},isArguments_1=isArguments$3,isBuffer$2={exports:{}};function stubFalse(){return!1}var stubFalse_1=stubFalse;isBuffer$2.exports;(function(Yi,eo){var to=_root,ro=stubFalse_1,no=eo&&!eo.nodeType&&eo,io=no&&!0&&Yi&&!Yi.nodeType&&Yi,oo=io&&io.exports===no,ao=oo?to.Buffer:void 0,so=ao?ao.isBuffer:void 0,lo=so||ro;Yi.exports=lo})(isBuffer$2,isBuffer$2.exports);var isBufferExports=isBuffer$2.exports,MAX_SAFE_INTEGER$2=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex$3(Yi,eo){var to=typeof Yi;return eo=eo??MAX_SAFE_INTEGER$2,!!eo&&(to=="number"||to!="symbol"&&reIsUint.test(Yi))&&Yi>-1&&Yi%1==0&&Yi<eo}var _isIndex=isIndex$3,MAX_SAFE_INTEGER$1=9007199254740991;function isLength$3(Yi){return typeof Yi=="number"&&Yi>-1&&Yi%1==0&&Yi<=MAX_SAFE_INTEGER$1}var isLength_1=isLength$3,baseGetTag$3=_baseGetTag,isLength$2=isLength_1,isObjectLike$3=isObjectLike_1,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",boolTag$1="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",mapTag$1="[object Map]",numberTag="[object Number]",objectTag$3="[object Object]",regexpTag="[object RegExp]",setTag$1="[object Set]",stringTag="[object String]",weakMapTag$1="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array
430]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0;typedArrayTags[argsTag$1]=typedArrayTags[arrayTag$1]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag$1]=typedArrayTags[dataViewTag$1]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag$1]=typedArrayTags[numberTag]=typedArrayTags[objectTag$3]=typedArrayTags[regexpTag]=typedArrayTags[setTag$1]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag$1]=!1;function baseIsTypedArray$1(Yi){return isObjectLike$3(Yi)&&isLength$2(Yi.length)&&!!typedArrayTags[baseGetTag$3(Yi)]}var _baseIsTypedArray=baseIsTypedArray$1;function baseUnary$2(Yi){return function(eo){return Yi(eo)}}var _baseUnary=baseUnary$2,_nodeUtil={exports:{}};_nodeUtil.exports;(function(Yi,eo){var to=_freeGlobal,ro=eo&&!eo.nodeType&&eo,no=ro&&!0&&Yi&&!Yi.nodeType&&Yi,io=no&&no.exports===ro,oo=io&&to.process,ao=(function(){try{var so=no&&no.require&&no.require("util").types;return so||oo&&oo.binding&&oo.binding("util")}catch{}})();Yi.exports=ao})(_nodeUtil,_nodeUtil.exports);var _nodeUtilExports=_nodeUtil.exports,baseIsTypedArray=_baseIsTypedArray,baseUnary$1=_baseUnary,nodeUtil=_nodeUtilExports,nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray$2=nodeIsTypedArray?baseUnary$1(nodeIsTypedArray):baseIsTypedArray,isTypedArray_1=isTypedArray$2,baseTimes=_baseTimes,isArguments$2=isArguments_1,isArray$9=isArray_1,isBuffer$1=isBufferExports,isIndex$2=_isIndex,isTypedArray$1=isTypedArray_1,objectProto$5=Object.prototype,hasOwnProperty$6=objectProto$5.hasOwnProperty;function arrayLikeKeys$1(Yi,eo){var to=isArray$9(Yi),ro=!to&&isArguments$2(Yi),no=!to&&!ro&&isBuffer$1(Yi),io=!to&&!ro&&!no&&isTypedArray$1(Yi),oo=to||ro||no||io,ao=oo?baseTimes(Yi.length,String):[],so=ao.length;for(var lo in Yi)(eo||hasOwnProperty$6.call(Yi,lo))&&!(oo&&(lo=="length"||no&&(lo=="offset"||lo=="parent")||io&&(lo=="buffer"||lo=="byteLength"||lo=="byteOffset")||isIndex$2(lo,so)))&&ao.push(lo);return ao}var _arrayLikeKeys=arrayLikeKeys$1,objectProto$4=Object.prototype;function isPrototype$1(Yi){var eo=Yi&&Yi.constructor,to=typeof eo=="function"&&eo.prototype||objectProto$4;return Yi===to}var _isPrototype=isPrototype$1;function overArg$2(Yi,eo){return function(to){return Yi(eo(to))}}var _overArg=overArg$2,overArg$1=_overArg,nativeKeys$1=overArg$1(Object.keys,Object),_nativeKeys=nativeKeys$1,isPrototype=_isPrototype,nativeKeys=_nativeKeys,objectProto$3=Object.prototype,hasOwnProperty$5=objectProto$3.hasOwnProperty;function baseKeys$1(Yi){if(!isPrototype(Yi))return nativeKeys(Yi);var eo=[];for(var to in Object(Yi))hasOwnProperty$5.call(Yi,to)&&to!="constructor"&&eo.push(to);return eo}var _baseKeys=baseKeys$1,isFunction$1=isFunction_1,isLength$1=isLength_1;function isArrayLike$4(Yi){return Yi!=null&&isLength$1(Yi.length)&&!isFunction$1(Yi)}var isArrayLike_1=isArrayLike$4,arrayLikeKeys=_arrayLikeKeys,baseKeys=_baseKeys,isArrayLike$3=isArrayLike_1;function keys$4(Yi){return isArrayLike$3(Yi)?arrayLikeKeys(Yi):baseKeys(Yi)}var keys_1=keys$4,baseGetAllKeys=_baseGetAllKeys,getSymbols=_getSymbols,keys$3=keys_1;function getAllKeys$1(Yi){return baseGetAllKeys(Yi,keys$3,getSymbols)}var _getAllKeys=getAllKeys$1,getAllKeys=_getAllKeys,COMPARE_PARTIAL_FLAG$3=1,objectProto$2=Object.prototype,hasOwnProperty$4=objectProto$2.hasOwnProperty;function equalObjects$1(Yi,eo,to,ro,no,io){var oo=to&COMPARE_PARTIAL_FLAG$3,ao=getAllKeys(Yi),so=ao.length,lo=getAllKeys(eo),co=lo.length;if(so!=co&&!oo)return!1;for(var uo=so;uo--;){var fo=ao[uo];if(!(oo?fo in eo:hasOwnProperty$4.call(eo,fo)))return!1}var ho=io.get(Yi),mo=io.get(eo);if(ho&&mo)return ho==eo&&mo==Yi;var vo=!0;io.set(Yi,eo),io.set(eo,Yi);for(var Co=oo;++uo<so;){fo=ao[uo];var bo=Yi[fo],wo=eo[fo];if(ro)var yo=oo?ro(wo,bo,fo,eo,Yi,io):ro(bo,wo,fo,Yi,eo,io);if(!(yo===void 0?bo===wo||no(bo,wo,to,ro,io):yo)){vo=!1;break}Co||(Co=fo=="constructor")}if(vo&&!Co){var Eo=Yi.constructor,xo=eo.constructor;Eo!=xo&&"constructor"in Yi&&"constructor"in eo&&!(typeof Eo=="function"&&Eo instanceof Eo&&typeof xo=="function"&&xo instanceof xo)&&(vo=!1)}return io.delete(Yi),io.delete(eo),vo}var _equalObjects=equalObjects$1,getNative$4=_getNative,root$4=_root,DataView$2=getNative$4(root$4,"DataView"),_DataView=DataView$2,getNative$3=_getNative,root$3=_root,Promise$2=getNative$3(root$3,"Promise"),_Promise=Promise$2,getNative$2=_getNative,root$2=_root,Set$3=getNative$2(root$2,"Set"),_Set=Set$3,getNative$1=_getNative,root$1=_root,WeakMap$2=getNative$1(root$1,"WeakMap"),_WeakMap=WeakMap$2,DataView$1=_DataView,Map$1=_Map,Promise$1=_Promise,Set$2=_Set,WeakMap$1=_WeakMap,baseGetTag$2=_baseGetTag,toSource=_toSource,mapTag="[object Map]",objectTag$2="[object Object]",promiseTag="[object Promise]",
vendor: 6,861 bytes, line 430
430setTag="[object Set]",weakMapTag="[object WeakMap]",dataViewTag="[object DataView]",dataViewCtorString=toSource(DataView$1),mapCtorString=toSource(Map$1),promiseCtorString=toSource(Promise$1),setCtorString=toSource(Set$2),weakMapCtorString=toSource(WeakMap$1),getTag$1=baseGetTag$2;(DataView$1&&getTag$1(new DataView$1(new ArrayBuffer(1)))!=dataViewTag||Map$1&&getTag$1(new Map$1)!=mapTag||Promise$1&&getTag$1(Promise$1.resolve())!=promiseTag||Set$2&&getTag$1(new Set$2)!=setTag||WeakMap$1&&getTag$1(new WeakMap$1)!=weakMapTag)&&(getTag$1=function(Yi){var eo=baseGetTag$2(Yi),to=eo==objectTag$2?Yi.constructor:void 0,ro=to?toSource(to):"";if(ro)switch(ro){case dataViewCtorString:return dataViewTag;case mapCtorString:return mapTag;case promiseCtorString:return promiseTag;case setCtorString:return setTag;case weakMapCtorString:return weakMapTag}return eo});var _getTag=getTag$1,Stack$1=_Stack,equalArrays=_equalArrays,equalByTag=_equalByTag,equalObjects=_equalObjects,getTag=_getTag,isArray$8=isArray_1,isBuffer=isBufferExports,isTypedArray=isTypedArray_1,COMPARE_PARTIAL_FLAG$2=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag$1="[object Object]",objectProto$1=Object.prototype,hasOwnProperty$3=objectProto$1.hasOwnProperty;function baseIsEqualDeep$1(Yi,eo,to,ro,no,io){var oo=isArray$8(Yi),ao=isArray$8(eo),so=oo?arrayTag:getTag(Yi),lo=ao?arrayTag:getTag(eo);so=so==argsTag?objectTag$1:so,lo=lo==argsTag?objectTag$1:lo;var co=so==objectTag$1,uo=lo==objectTag$1,fo=so==lo;if(fo&&isBuffer(Yi)){if(!isBuffer(eo))return!1;oo=!0,co=!1}if(fo&&!co)return io||(io=new Stack$1),oo||isTypedArray(Yi)?equalArrays(Yi,eo,to,ro,no,io):equalByTag(Yi,eo,so,to,ro,no,io);if(!(to&COMPARE_PARTIAL_FLAG$2)){var ho=co&&hasOwnProperty$3.call(Yi,"__wrapped__"),mo=uo&&hasOwnProperty$3.call(eo,"__wrapped__");if(ho||mo){var vo=ho?Yi.value():Yi,Co=mo?eo.value():eo;return io||(io=new Stack$1),no(vo,Co,to,ro,io)}}return fo?(io||(io=new Stack$1),equalObjects(Yi,eo,to,ro,no,io)):!1}var _baseIsEqualDeep=baseIsEqualDeep$1,baseIsEqualDeep=_baseIsEqualDeep,isObjectLike$2=isObjectLike_1;function baseIsEqual$3(Yi,eo,to,ro,no){return Yi===eo?!0:Yi==null||eo==null||!isObjectLike$2(Yi)&&!isObjectLike$2(eo)?Yi!==Yi&&eo!==eo:baseIsEqualDeep(Yi,eo,to,ro,baseIsEqual$3,no)}var _baseIsEqual=baseIsEqual$3,Stack=_Stack,baseIsEqual$2=_baseIsEqual,COMPARE_PARTIAL_FLAG$1=1,COMPARE_UNORDERED_FLAG$1=2;function baseIsMatch$1(Yi,eo,to,ro){var no=to.length,io=no,oo=!ro;if(Yi==null)return!io;for(Yi=Object(Yi);no--;){var ao=to[no];if(oo&&ao[2]?ao[1]!==Yi[ao[0]]:!(ao[0]in Yi))return!1}for(;++no<io;){ao=to[no];var so=ao[0],lo=Yi[so],co=ao[1];if(oo&&ao[2]){if(lo===void 0&&!(so in Yi))return!1}else{var uo=new Stack;if(ro)var fo=ro(lo,co,so,Yi,eo,uo);if(!(fo===void 0?baseIsEqual$2(co,lo,COMPARE_PARTIAL_FLAG$1|COMPARE_UNORDERED_FLAG$1,ro,uo):fo))return!1}}return!0}var _baseIsMatch=baseIsMatch$1,isObject$7=isObject_1;function isStrictComparable$2(Yi){return Yi===Yi&&!isObject$7(Yi)}var _isStrictComparable=isStrictComparable$2,isStrictComparable$1=_isStrictComparable,keys$2=keys_1;function getMatchData$1(Yi){for(var eo=keys$2(Yi),to=eo.length;to--;){var ro=eo[to],no=Yi[ro];eo[to]=[ro,no,isStrictComparable$1(no)]}return eo}var _getMatchData=getMatchData$1;function matchesStrictComparable$2(Yi,eo){return function(to){return to==null?!1:to[Yi]===eo&&(eo!==void 0||Yi in Object(to))}}var _matchesStrictComparable=matchesStrictComparable$2,baseIsMatch=_baseIsMatch,getMatchData=_getMatchData,matchesStrictComparable$1=_matchesStrictComparable;function baseMatches$1(Yi){var eo=getMatchData(Yi);return eo.length==1&&eo[0][2]?matchesStrictComparable$1(eo[0][0],eo[0][1]):function(to){return to===Yi||baseIsMatch(to,Yi,eo)}}var _baseMatches=baseMatches$1;function baseHasIn$1(Yi,eo){return Yi!=null&&eo in Object(Yi)}var _baseHasIn=baseHasIn$1,castPath=_castPath,isArguments$1=isArguments_1,isArray$7=isArray_1,isIndex$1=_isIndex,isLength=isLength_1,toKey$2=_toKey;function hasPath$1(Yi,eo,to){eo=castPath(eo,Yi);for(var ro=-1,no=eo.length,io=!1;++ro<no;){var oo=toKey$2(eo[ro]);if(!(io=Yi!=null&&to(Yi,oo)))break;Yi=Yi[oo]}return io||++ro!=no?io:(no=Yi==null?0:Yi.length,!!no&&isLength(no)&&isIndex$1(oo,no)&&(isArray$7(Yi)||isArguments$1(Yi)))}var _hasPath=hasPath$1,baseHasIn=_baseHasIn,hasPath=_hasPath;function hasIn$1(Yi,eo){return Yi!=null&&hasPath(Yi,eo,baseHasIn)}var hasIn_1=hasIn$1,baseIsEqual$1=_baseIsEqual,get$1=get_1,hasIn=hasIn_1,isKey$2=_isKey,isStrictComparable=_isStrictComparable,matchesStrictComparable=_matchesStrictComparable,toKey$1=_toKey,COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function baseMatchesProperty$1(Yi,eo){return isKey$2(Yi)&&isStrictComparable(eo)?matchesStrictComparable(toKey$1(Yi),eo):function(to){var ro=get$1(to,Yi);return ro===void 0&&ro===eo?hasIn(to,Yi):baseIsEqual$1(eo,ro,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG)}}var _baseMatchesProperty=baseMatchesProperty$1;function identity$b(Yi){return Yi}var identity_1=identity$b;function baseProperty$1(Yi){return function(eo){return eo==null?void 0:eo[Yi]}}var _baseProperty=baseProperty$1,baseGet$2=_baseGet;function basePropertyDeep$1(Yi){return function(eo){return baseGet$2(eo,Yi)}}var _basePropertyDeep=basePropertyDeep$1,baseProperty=_baseProperty,basePropertyDeep=_basePropertyDeep,isKey$1=_isKey,toKey=_toKey;function property$1(Yi){return isKey$1(Yi)?baseProperty(toKey(Yi)):basePropertyDeep(Yi)}var property_1=property$1,baseMatches=_baseMatches,baseMatchesProperty=_baseMatchesProperty,identity$a=identity_1,isArray$6=isArray_1,property=property_1;function baseIteratee$6(Yi){return typeof Yi=="function"?Yi:Yi==null?identity$a:typeof Yi=="object"?isArray$6(Yi)?baseMatchesProperty(Yi[0],Yi[1]):baseMatches(Yi):property(Yi)}var _baseIteratee=baseIteratee$6;function baseFindIndex$1(Yi,eo,to,ro){for(var no=Yi.length,io=to+(ro?1:-1);ro?io--:++io<no;)if(eo(Yi[io],io,Yi))return io;return-1}var _baseFindIndex=baseFindIndex$1;function baseIsNaN$1(Yi){return Yi!==Yi}var _baseIsNaN=baseIsNaN$1;function strictIndexOf$1(Yi,eo,to){for(var ro=to-1,no=Yi.length;++ro<no;)if(Yi[ro]===eo)return ro;return-1}var _strictIndexOf=strictIndexOf$1,baseFindIndex=_baseFindIndex,baseIsNaN=_baseIsNaN,strictIndexOf=_strictIndexOf;function baseIndexOf$1(Yi,eo,to){return eo===eo?strictIndexOf(Yi,eo,to):baseFindIndex(Yi,baseIsNaN,to)}var _baseIndexOf=baseIndexOf$1,baseIndexOf=_baseIndexOf;function arrayIncludes$1(Yi,eo){var to=Yi==null?0:Yi.length;return!!to&&baseIndexOf(Yi,eo,0)>-1}var _arrayIncludes=arrayIncludes$1;function arrayIncludesWith$1(Yi,eo,to){for(var ro=-1,no=Yi==null?0:Yi.length;++ro<no;)if(to(eo,Yi[ro]))return!0;return!1}var _arrayIncludesWith=arrayIncludesWith$1;function noop$3(){}var noop_1=noop$3,Set$1=_Set,noop$2=noop_1,setToArray$1=_setToArray,INFINITY$1=1/0,createSet$1=Set$1&&1/setToArray$1(new Set$1([,-0]))[1]==INFINITY$1?function(Yi){return new Set$1(Yi)}
vendor: 10,285 bytes, line 430
430:noop$2,_createSet=createSet$1,SetCache=_SetCache,arrayIncludes=_arrayIncludes,arrayIncludesWith=_arrayIncludesWith,cacheHas=_cacheHas,createSet=_createSet,setToArray=_setToArray,LARGE_ARRAY_SIZE=200;function baseUniq$1(Yi,eo,to){var ro=-1,no=arrayIncludes,io=Yi.length,oo=!0,ao=[],so=ao;if(to)oo=!1,no=arrayIncludesWith;else if(io>=LARGE_ARRAY_SIZE){var lo=eo?null:createSet(Yi);if(lo)return setToArray(lo);oo=!1,no=cacheHas,so=new SetCache}else so=eo?[]:ao;e:for(;++ro<io;){var co=Yi[ro],uo=eo?eo(co):co;if(co=to||co!==0?co:0,oo&&uo===uo){for(var fo=so.length;fo--;)if(so[fo]===uo)continue e;eo&&so.push(uo),ao.push(co)}else no(so,uo,to)||(so!==ao&&so.push(uo),ao.push(co))}return ao}var _baseUniq=baseUniq$1,baseIteratee$5=_baseIteratee,baseUniq=_baseUniq;function uniqBy(Yi,eo){return Yi&&Yi.length?baseUniq(Yi,baseIteratee$5(eo)):[]}var uniqBy_1=uniqBy;const uniqBy$1=getDefaultExportFromCjs(uniqBy_1);function getUniqPayload(Yi,eo,to){return eo===!0?uniqBy$1(Yi,to):isFunction$4(eo)?uniqBy$1(Yi,eo):Yi}function _typeof$F(Yi){"@babel/helpers - typeof";return _typeof$F=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$F(Yi)}var _excluded$f=["ref"];function ownKeys$x(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$x(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$x(Object(to),!0).forEach(function(ro){_defineProperty$F(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$x(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _classCallCheck$i(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$i(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,_toPropertyKey$B(ro.key),ro)}}function _createClass$i(Yi,eo,to){return eo&&_defineProperties$i(Yi.prototype,eo),to&&_defineProperties$i(Yi,to),Object.defineProperty(Yi,"prototype",{writable:!1}),Yi}function _callSuper$c(Yi,eo,to){return eo=_getPrototypeOf$f(eo),_possibleConstructorReturn$f(Yi,_isNativeReflectConstruct$f()?Reflect.construct(eo,to||[],_getPrototypeOf$f(Yi).constructor):eo.apply(Yi,to))}function _possibleConstructorReturn$f(Yi,eo){if(eo&&(_typeof$F(eo)==="object"||typeof eo=="function"))return eo;if(eo!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$g(Yi)}function _assertThisInitialized$g(Yi){if(Yi===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yi}function _isNativeReflectConstruct$f(){try{var Yi=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$f=function(){return!!Yi})()}function _getPrototypeOf$f(Yi){return _getPrototypeOf$f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(to){return to.__proto__||Object.getPrototypeOf(to)},_getPrototypeOf$f(Yi)}function _inherits$f(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function");Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,writable:!0,configurable:!0}}),Object.defineProperty(Yi,"prototype",{writable:!1}),eo&&_setPrototypeOf$g(Yi,eo)}function _setPrototypeOf$g(Yi,eo){return _setPrototypeOf$g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ro,no){return ro.__proto__=no,ro},_setPrototypeOf$g(Yi,eo)}function _defineProperty$F(Yi,eo,to){return eo=_toPropertyKey$B(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$B(Yi){var eo=_toPrimitive$B(Yi,"string");return _typeof$F(eo)=="symbol"?eo:eo+""}function _toPrimitive$B(Yi,eo){if(_typeof$F(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$F(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Yi)}function _objectWithoutProperties$b(Yi,eo){if(Yi==null)return{};var to=_objectWithoutPropertiesLoose$d(Yi,eo),ro,no;if(Object.getOwnPropertySymbols){var io=Object.getOwnPropertySymbols(Yi);for(no=0;no<io.length;no++)ro=io[no],!(eo.indexOf(ro)>=0)&&Object.prototype.propertyIsEnumerable.call(Yi,ro)&&(to[ro]=Yi[ro])}return to}function _objectWithoutPropertiesLoose$d(Yi,eo){if(Yi==null)return{};var to={};for(var ro in Yi)if(Object.prototype.hasOwnProperty.call(Yi,ro)){if(eo.indexOf(ro)>=0)continue;to[ro]=Yi[ro]}return to}function defaultUniqBy$1(Yi){return Yi.value}function renderContent$1(Yi,eo){if(React$1F.isValidElement(Yi))return React$1F.cloneElement(Yi,eo);if(typeof Yi=="function")return React$1F.createElement(Yi,eo);eo.ref;var to=_objectWithoutProperties$b(eo,_excluded$f);return React$1F.createElement(DefaultLegendContent,to)}var EPS$1=1,Legend=(function(Yi){function eo(){var to;_classCallCheck$i(this,eo);for(var ro=arguments.length,no=new Array(ro),io=0;io<ro;io++)no[io]=arguments[io];return to=_callSuper$c(this,eo,[].concat(no)),_defineProperty$F(to,"lastBoundingBox",{width:-1,height:-1}),to}return _inherits$f(eo,Yi),_createClass$i(eo,[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var ro=this.wrapperNode.getBoundingClientRect();return ro.height=this.wrapperNode.offsetHeight,ro.width=this.wrapperNode.offsetWidth,ro}return null}},{key:"updateBBox",value:function(){var ro=this.props.onBBoxUpdate,no=this.getBBox();no?(Math.abs(no.width-this.lastBoundingBox.width)>EPS$1||Math.abs(no.height-this.lastBoundingBox.height)>EPS$1)&&(this.lastBoundingBox.width=no.width,this.lastBoundingBox.height=no.height,ro&&ro(no)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,ro&&ro(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?_objectSpread$x({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(ro){var no=this.props,io=no.layout,oo=no.align,ao=no.verticalAlign,so=no.margin,lo=no.chartWidth,co=no.chartHeight,uo,fo;if(!ro||(ro.left===void 0||ro.left===null)&&(ro.right===void 0||ro.right===null))if(oo==="center"&&io==="vertical"){var ho=this.getBBoxSnapshot();uo={left:((lo||0)-ho.width)/2}}else uo=oo==="right"?{right:so&&so.right||0}:{left:so&&so.left||0};if(!ro||(ro.top===void 0||ro.top===null)&&(ro.bottom===void 0||ro.bottom===null))if(ao==="middle"){var mo=this.getBBoxSnapshot();fo={top:((co||0)-mo.height)/2}}else fo=ao==="bottom"?{bottom:so&&so.bottom||0}:{top:so&&so.top||0};return _objectSpread$x(_objectSpread$x({},uo),fo)}},{key:"render",value:function(){var ro=this,no=this.props,io=no.content,oo=no.width,ao=no.height,so=no.wrapperStyle,lo=no.payloadUniqBy,co=no.payload,uo=_objectSpread$x(_objectSpread$x({position:"absolute",width:oo||"auto",height:ao||"auto"},this.getDefaultPosition(so)),so);return React$1F.createElement("div",{className:"recharts-legend-wrapper",style:uo,ref:function(ho){ro.wrapperNode=ho}},renderContent$1(io,_objectSpread$x(_objectSpread$x({},this.props),{},{payload:getUniqPayload(co,lo,defaultUniqBy$1)})))}}],[{key:"getWithHeight",value:function(ro,no){var io=_objectSpread$x(_objectSpread$x({},this.defaultProps),ro.props),oo=io.layout;return oo==="vertical"&&isNumber(ro.props.height)?{height:ro.props.height}:oo==="horizontal"?{width:ro.props.width||no}:null}}])})(reactExports.PureComponent);_defineProperty$F(Legend,"displayName","Legend");_defineProperty$F(Legend,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var Symbol$1=_Symbol,isArguments=isArguments_1,isArray$5=isArray_1,spreadableSymbol=Symbol$1?Symbol$1.isConcatSpreadable:void 0;function isFlattenable$1(Yi){return isArray$5(Yi)||isArguments(Yi)||!!(spreadableSymbol&&Yi&&Yi[spreadableSymbol])}var _isFlattenable=isFlattenable$1,arrayPush=_arrayPush,isFlattenable=_isFlattenable;function baseFlatten$2(Yi,eo,to,ro,no){var io=-1,oo=Yi.length;for(to||(to=isFlattenable),no||(no=[]);++io<oo;){var ao=Yi[io];eo>0&&to(ao)?eo>1?baseFlatten$2(ao,eo-1,to,ro,no):arrayPush(no,ao):ro||(no[no.length]=ao)}return no}var _baseFlatten=baseFlatten$2;function createBaseFor$1(Yi){return function(eo,to,ro){for(var no=-1,io=Object(eo),oo=ro(eo),ao=oo.length;ao--;){var so=oo[Yi?ao:++no];if(to(io[so],so,io)===!1)break}return eo}}var _createBaseFor=createBaseFor$1,createBaseFor=_createBaseFor,baseFor$1=createBaseFor(),_baseFor=baseFor$1,baseFor=_baseFor,keys$1=keys_1;function baseForOwn$2(Yi,eo){return Yi&&baseFor(Yi,eo,keys$1)}var _baseForOwn=baseForOwn$2,isArrayLike$2=isArrayLike_1;function createBaseEach$1(Yi,eo){return function(to,ro){if(to==null)return to;if(!isArrayLike$2(to))return Yi(to,ro);for(var no=to.length,io=eo?no:-1,oo=Object(to);(eo?io--:++io<no)&&ro(oo[io],io,oo)!==!1;);return to}}var _createBaseEach=createBaseEach$1,baseForOwn$1=_baseForOwn,createBaseEach=_createBaseEach,baseEach$3=createBaseEach(baseForOwn$1),_baseEach=baseEach$3,baseEach$2=_baseEach,isArrayLike$1=isArrayLike_1;function baseMap$2(Yi,eo){var to=-1,ro=isArrayLike$1(Yi)?Array(Yi.length):[];return baseEach$2(Yi,function(no,io,oo){ro[++to]=eo(no,io,oo)}),ro}var _baseMap=baseMap$2;function baseSortBy$1(Yi,eo){var to=Yi.length;for(Yi.sort(eo);to--;)Yi[to]=Yi[to].value;return Yi}var _baseSortBy=baseSortBy$1,isSymbol$2=isSymbol_1;function compareAscending$1(Yi,eo){if(Yi!==eo){var to=Yi!==void 0,ro=Yi===null,no=Yi===Yi,io=isSymbol$2(Yi),oo=eo!==void 0,ao=eo===null,so=eo===eo,lo=isSymbol$2(eo);if(!ao&&!lo&&!io&&Yi>eo||io&&oo&&so&&!ao&&!lo||ro&&oo&&so||!to&&so||!no)return 1;
vendor: 4,239 bytes, line 430
430if(!ro&&!io&&!lo&&Yi<eo||lo&&to&&no&&!ro&&!io||ao&&to&&no||!oo&&no||!so)return-1}return 0}var _compareAscending=compareAscending$1,compareAscending=_compareAscending;function compareMultiple$1(Yi,eo,to){for(var ro=-1,no=Yi.criteria,io=eo.criteria,oo=no.length,ao=to.length;++ro<oo;){var so=compareAscending(no[ro],io[ro]);if(so){if(ro>=ao)return so;var lo=to[ro];return so*(lo=="desc"?-1:1)}}return Yi.index-eo.index}var _compareMultiple=compareMultiple$1,arrayMap$1=_arrayMap,baseGet$1=_baseGet,baseIteratee$4=_baseIteratee,baseMap$1=_baseMap,baseSortBy=_baseSortBy,baseUnary=_baseUnary,compareMultiple=_compareMultiple,identity$9=identity_1,isArray$4=isArray_1;function baseOrderBy$1(Yi,eo,to){eo.length?eo=arrayMap$1(eo,function(io){return isArray$4(io)?function(oo){return baseGet$1(oo,io.length===1?io[0]:io)}:io}):eo=[identity$9];var ro=-1;eo=arrayMap$1(eo,baseUnary(baseIteratee$4));var no=baseMap$1(Yi,function(io,oo,ao){var so=arrayMap$1(eo,function(lo){return lo(io)});return{criteria:so,index:++ro,value:io}});return baseSortBy(no,function(io,oo){return compareMultiple(io,oo,to)})}var _baseOrderBy=baseOrderBy$1;function apply$1(Yi,eo,to){switch(to.length){case 0:return Yi.call(eo);case 1:return Yi.call(eo,to[0]);case 2:return Yi.call(eo,to[0],to[1]);case 3:return Yi.call(eo,to[0],to[1],to[2])}return Yi.apply(eo,to)}var _apply=apply$1,apply=_apply,nativeMax$2=Math.max;function overRest$1(Yi,eo,to){return eo=nativeMax$2(eo===void 0?Yi.length-1:eo,0),function(){for(var ro=arguments,no=-1,io=nativeMax$2(ro.length-eo,0),oo=Array(io);++no<io;)oo[no]=ro[eo+no];no=-1;for(var ao=Array(eo+1);++no<eo;)ao[no]=ro[no];return ao[eo]=to(oo),apply(Yi,this,ao)}}var _overRest=overRest$1;function constant$2(Yi){return function(){return Yi}}var constant_1=constant$2,getNative=_getNative,defineProperty$2=(function(){try{var Yi=getNative(Object,"defineProperty");return Yi({},"",{}),Yi}catch{}})(),_defineProperty$E=defineProperty$2,constant$1=constant_1,defineProperty$1=_defineProperty$E,identity$8=identity_1,baseSetToString$1=defineProperty$1?function(Yi,eo){return defineProperty$1(Yi,"toString",{configurable:!0,enumerable:!1,value:constant$1(eo),writable:!0})}:identity$8,_baseSetToString=baseSetToString$1,HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut$1(Yi){var eo=0,to=0;return function(){var ro=nativeNow(),no=HOT_SPAN-(ro-to);if(to=ro,no>0){if(++eo>=HOT_COUNT)return arguments[0]}else eo=0;return Yi.apply(void 0,arguments)}}var _shortOut=shortOut$1,baseSetToString=_baseSetToString,shortOut=_shortOut,setToString$1=shortOut(baseSetToString),_setToString=setToString$1,identity$7=identity_1,overRest=_overRest,setToString=_setToString;function baseRest$1(Yi,eo){return setToString(overRest(Yi,eo,identity$7),Yi+"")}var _baseRest=baseRest$1,eq=eq_1,isArrayLike=isArrayLike_1,isIndex=_isIndex,isObject$6=isObject_1;function isIterateeCall$4(Yi,eo,to){if(!isObject$6(to))return!1;var ro=typeof eo;return(ro=="number"?isArrayLike(to)&&isIndex(eo,to.length):ro=="string"&&eo in to)?eq(to[eo],Yi):!1}var _isIterateeCall=isIterateeCall$4,baseFlatten$1=_baseFlatten,baseOrderBy=_baseOrderBy,baseRest=_baseRest,isIterateeCall$3=_isIterateeCall,sortBy=baseRest(function(Yi,eo){if(Yi==null)return[];var to=eo.length;return to>1&&isIterateeCall$3(Yi,eo[0],eo[1])?eo=[]:to>2&&isIterateeCall$3(eo[0],eo[1],eo[2])&&(eo=[eo[0]]),baseOrderBy(Yi,baseFlatten$1(eo,1),[])}),sortBy_1=sortBy;const sortBy$1=getDefaultExportFromCjs(sortBy_1);function _typeof$E(Yi){"@babel/helpers - typeof";return _typeof$E=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$E(Yi)}function _extends$1D(){return _extends$1D=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1D.apply(this,arguments)}function _slicedToArray$b(Yi,eo){return _arrayWithHoles$c(Yi)||_iterableToArrayLimit$b(Yi,eo)||_unsupportedIterableToArray$i(Yi,eo)||_nonIterableRest$c()}function _nonIterableRest$c(){throw new TypeError(`Invalid attempt to de
430structure non-iterable instance.
431In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$i(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$i(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray$i(Yi,eo)}}function _arrayLikeToArray$i(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}function _iterableToArrayLimit$b(Yi,eo){var to=Yi==null?null:typeof Symbol<"u"&&Yi[Symbol.iterator]||Yi["@@iterator"];if(to!=null){var ro,no,io,oo,ao=[],so=!0,lo=!1;try{if(io=(to=to.call(Yi)).next,eo!==0)for(;!(so=(ro=io.call(to)).done)&&(ao.push(ro.value),ao.length!==eo);so=!0);}catch(co){lo=!0,no=co}finally{try{if(!so&&to.return!=null&&(oo=to.return(),Object(oo)!==oo))return}finally{if(lo)throw no}}return ao}}function _arrayWithHoles$c(Yi){if(Array.isArray(Yi))return Yi}function ownKeys$w(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$w(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$w(Object(to),!0).forEach(function(ro){_defineProperty$D(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$w(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$D(Yi,eo,to){return eo=_toPropertyKey$A(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$A(Yi){var eo=_toPrimitive$A(Yi,"string");return _typeof$E(eo)=="symbol"?eo:eo+""}function _toPrimitive$A(Yi,eo){if(_typeof$E(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$E(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}
vendor: 39,464 bytes, lines 431-438
431return(eo==="string"?String:Number)(Yi)}function defaultFormatter(Yi){return Array.isArray(Yi)&&isNumOrStr(Yi[0])&&isNumOrStr(Yi[1])?Yi.join(" ~ "):Yi}var DefaultTooltipContent=function Yi(eo){var to=eo.separator,ro=to===void 0?" : ":to,no=eo.contentStyle,io=no===void 0?{}:no,oo=eo.itemStyle,ao=oo===void 0?{}:oo,so=eo.labelStyle,lo=so===void 0?{}:so,co=eo.payload,uo=eo.formatter,fo=eo.itemSorter,ho=eo.wrapperClassName,mo=eo.labelClassName,vo=eo.label,Co=eo.labelFormatter,bo=eo.accessibilityLayer,wo=bo===void 0?!1:bo,yo=function(){if(co&&co.length){var Vo={padding:0,margin:0},Lo=(fo?sortBy$1(co,fo):co).map(function(Uo,Do){if(Uo.type==="none")return null;var Oo=_objectSpread$w({display:"block",paddingTop:4,paddingBottom:4,color:Uo.color||"#000"},ao),ko=Uo.formatter||uo||defaultFormatter,Bo=Uo.value,Fo=Uo.name,Qo=Bo,jo=Fo;if(ko&&Qo!=null&&jo!=null){var Xo=ko(Bo,Fo,Uo,Do,co);if(Array.isArray(Xo)){var Zo=_slicedToArray$b(Xo,2);Qo=Zo[0],jo=Zo[1]}else Qo=Xo}return React$1F.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(Do),style:Oo},isNumOrStr(jo)?React$1F.createElement("span",{className:"recharts-tooltip-item-name"},jo):null,isNumOrStr(jo)?React$1F.createElement("span",{className:"recharts-tooltip-item-separator"},ro):null,React$1F.createElement("span",{className:"recharts-tooltip-item-value"},Qo),React$1F.createElement("span",{className:"recharts-tooltip-item-unit"},Uo.unit||""))});return React$1F.createElement("ul",{className:"recharts-tooltip-item-list",style:Vo},Lo)}return null},Eo=_objectSpread$w({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},io),xo=_objectSpread$w({margin:0},lo),So=!isNil$1(vo),To=So?vo:"",Ro=clsx("recharts-default-tooltip",ho),Po=clsx("recharts-tooltip-label",mo);So&&Co&&co!==void 0&&co!==null&&(To=Co(vo,co));var zo=wo?{role:"status","aria-live":"assertive"}:{};return React$1F.createElement("div",_extends$1D({className:Ro,style:Eo},zo),React$1F.createElement("p",{className:Po,style:xo},React$1F.isValidElement(To)?To:"".concat(To)),yo())};function _typeof$D(Yi){"@babel/helpers - typeof";return _typeof$D=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$D(Yi)}function _defineProperty$C(Yi,eo,to){return eo=_toPropertyKey$z(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$z(Yi){var eo=_toPrimitive$z(Yi,"string");return _typeof$D(eo)=="symbol"?eo:eo+""}function _toPrimitive$z(Yi,eo){if(_typeof$D(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$D(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi)}var CSS_CLASS_PREFIX="recharts-tooltip-wrapper",TOOLTIP_HIDDEN={visibility:"hidden"};function getTooltipCSSClassName(Yi){var eo=Yi.coordinate,to=Yi.translateX,ro=Yi.translateY;return clsx(CSS_CLASS_PREFIX,_defineProperty$C(_defineProperty$C(_defineProperty$C(_defineProperty$C({},"".concat(CSS_CLASS_PREFIX,"-right"),isNumber(to)&&eo&&isNumber(eo.x)&&to>=eo.x),"".concat(CSS_CLASS_PREFIX,"-left"),isNumber(to)&&eo&&isNumber(eo.x)&&to<eo.x),"".concat(CSS_CLASS_PREFIX,"-bottom"),isNumber(ro)&&eo&&isNumber(eo.y)&&ro>=eo.y),"".concat(CSS_CLASS_PREFIX,"-top"),isNumber(ro)&&eo&&isNumber(eo.y)&&ro<eo.y))}function getTooltipTranslateXY(Yi){var eo=Yi.allowEscapeViewBox,to=Yi.coordinate,ro=Yi.key,no=Yi.offsetTopLeft,io=Yi.position,oo=Yi.reverseDirection,ao=Yi.tooltipDimension,so=Yi.viewBox,lo=Yi.viewBoxDimension;if(io&&isNumber(io[ro]))return io[ro];var co=to[ro]-ao-no,uo=to[ro]+no;if(eo[ro])return oo[ro]?co:uo;if(oo[ro]){var fo=co,ho=so[ro];return fo<ho?Math.max(uo,so[ro]):Math.max(co,so[ro])}var mo=uo+ao,vo=so[ro]+lo;return mo>vo?Math.max(co,so[ro]):Math.max(uo,so[ro])}function getTransformStyle(Yi){var eo=Yi.translateX,to=Yi.translateY,ro=Yi.useTranslate3d;return{transform:ro?"translate3d(".concat(eo,"px, ").concat(to,"px, 0)"):"translate(".concat(eo,"px, ").concat(to,"px)")}}function getTooltipTranslate(Yi){var eo=Yi.allowEscapeViewBox,to=Yi.coordinate,ro=Yi.offsetTopLeft,no=Yi.position,io=Yi.reverseDirection,oo=Yi.tooltipBox,ao=Yi.useTranslate3d,so=Yi.viewBox,lo,co,uo;return oo.height>0&&oo.width>0&&to?(co=getTooltipTranslateXY({allowEscapeViewBox:eo,coordinate:to,key:"x",offsetTopLeft:ro,position:no,reverseDirection:io,tooltipDimension:oo.width,viewBox:so,viewBoxDimension:so.width}),uo=getTooltipTranslateXY({allowEscapeViewBox:eo,coordinate:to,key:"y",offsetTopLeft:ro,position:no,reverseDirection:io,tooltipDimension:oo.height,viewBox:so,viewBoxDimension:so.height}),lo=getTransformStyle({translateX:co,translateY:uo,useTranslate3d:ao})):lo=TOOLTIP_HIDDEN,{cssProperties:lo,cssClasses:getTooltipCSSClassName({translateX:co,translateY:uo,coordinate:to})}}function _typeof$C(Yi){"@babel/helpers - typeof";return _typeof$C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$C(Yi)}function ownKeys$v(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$v(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$v(Object(to),!0).forEach(function(ro){_defineProperty$B(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$v(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _classCallCheck$h(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$h(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,_toPropertyKey$y(ro.key),ro)}}function _createClass$h(Yi,eo,to){return eo&&_defineProperties$h(Yi.prototype,eo),Object.defineProperty(Yi,"prototype",{writable:!1}),Yi}function _callSuper$b(Yi,eo,to){return eo=_getPrototypeOf$e(eo),_possibleConstructorReturn$e(Yi,_isNativeReflectConstruct$e()?Reflect.construct(eo,to||[],_getPrototypeOf$e(Yi).constructor):eo.apply(Yi,to))}function _possibleConstructorReturn$e(Yi,eo){if(eo&&(_typeof$C(eo)==="object"||typeof eo=="function"))return eo;if(eo!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$f(Yi)}function _assertThisInitialized$f(Yi){if(Yi===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yi}function _isNativeReflectConstruct$e(){try{var Yi=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$e=function(){return!!Yi})()}function _getPrototypeOf$e(Yi){return _getPrototypeOf$e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(to){return to.__proto__||Object.getPrototypeOf(to)},_getPrototypeOf$e(Yi)}function _inherits$e(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function");Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,writable:!0,configurable:!0}}),Object.defineProperty(Yi,"prototype",{writable:!1}),eo&&_setPrototypeOf$f(Yi,eo)}function _setPrototypeOf$f(Yi,eo){return _setPrototypeOf$f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ro,no){return ro.__proto__=no,ro},_setPrototypeOf$f(Yi,eo)}function _defineProperty$B(Yi,eo,to){return eo=_toPropertyKey$y(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$y(Yi){var eo=_toPrimitive$y(Yi,"string");return _typeof$C(eo)=="symbol"?eo:eo+""}function _toPrimitive$y(Yi,eo){if(_typeof$C(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$C(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Yi)}var EPSILON=1,TooltipBoundingBox=(function(Yi){function eo(){var to;_classCallCheck$h(this,eo);for(var ro=arguments.length,no=new Array(ro),io=0;io<ro;io++)no[io]=arguments[io];return to=_callSuper$b(this,eo,[].concat(no)),_defineProperty$B(to,"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),_defineProperty$B(to,"handleKeyDown",function(oo){if(oo.key==="Escape"){var ao,so,lo,co;to.setState({dismissed:!0,dismissedAtCoordinate:{x:(ao=(so=to.props.coordinate)===null||so===void 0?void 0:so.x)!==null&&ao!==void 0?ao:0,y:(lo=(co=to.props.coordinate)===null||co===void 0?void 0:co.y)!==null&&lo!==void 0?lo:0}})}}),to}return _inherits$e(eo,Yi),_createClass$h(eo,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var ro=this.wrapperNode.getBoundingClientRect();(Math.abs(ro.width-this.state.lastBoundingBox.width)>EPSILON||Math.abs(ro.height-this.state.lastBoundingBox.height)>EPSILON)&&this.setState({lastBoundingBox:{width:ro.width,height:ro.height}})}else(this.state.lastBoundingBox.width!==-1||this.state.lastBoundingBox.height!==-1)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var ro,no;this.props.active&&this.updateBBox(),this.state.dismissed&&(((ro=this.props.coordinate)===null||ro===void 0?void 0:ro.x)!==this.state.dismissedAtCoordinate.x||((no=this.props.coordinate)===null||no===void 0?void 0:no.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var ro=this,no=this.props,io=no.active,oo=no.allowEscapeViewBox,ao=no.animationDuration,so=no.animationEasing,lo=no.children,co=no.coordinate,uo=no.hasPayload,fo=no.isAnimationActive,ho=no.offset,mo=no.position,vo=no.reverseDirection,Co=no.useTranslate3d,bo=no.viewBox,wo=no.wrapperStyle,yo=getTooltipTranslate({allowEscapeViewBox:oo,coordinate:co,offsetTopLeft:ho,position:mo,reverseDirection:vo,tooltipBox:this.state.lastBoundingBox,useTranslate3d:Co,viewBox:bo}),Eo=yo.cssClasses,xo=yo.cssProperties,So=_objectSpread$v(_objectSpread$v({transition:fo&&io?"transform ".concat(ao,"ms ").concat(so):void 0},xo),{},{pointerEvents:"none",visibility:!this.state.dismissed&&io&&uo?"visible":"hidden",position:"absolute",top:0,left:0},wo);return React$1F.createElement("div",{tabIndex:-1,className:Eo,style:So,ref:function(Ro){ro.wrapperNode=Ro}},lo)}}])})(reactExports.PureComponent),parseIsSsrByDefault=function Yi(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},Global={isSsr:parseIsSsrByDefault()};function _typeof$B(Yi){"@babel/helpers - typeof";return _typeof$B=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$B(Yi)}function ownKeys$u(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$u(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$u(Object(to),!0).forEach(function(ro){_defineProperty$A(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$u(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _classCallCheck$g(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$g(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,_toPropertyKey$x(ro.key),ro)}}function _createClass$g(Yi,eo,to){return eo&&_defineProperties$g(Yi.prototype,eo),Object.defineProperty(Yi,"prototype",{writable:!1}),Yi}function _callSuper$a(Yi,eo,to){return eo=_getPrototypeOf$d(eo),_possibleConstructorReturn$d(Yi,_isNativeReflectConstruct$d()?Reflect.construct(eo,to||[],_getPrototypeOf$d(Yi).constructor):eo.apply(Yi,to))}function _possibleConstructorReturn$d(Yi,eo){if(eo&&(_typeof$B(eo)==="object"||typeof eo=="function"))return eo;if(eo!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$e(Yi)}function _assertThisInitialized$e(Yi){if(Yi===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yi}function _isNativeReflectConstruct$d(){try{var Yi=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$d=function(){return!!Yi})()}function _getPrototypeOf$d(Yi){return _getPrototypeOf$d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(to){return to.__proto__||Object.getPrototypeOf(to)},_getPrototypeOf$d(Yi)}function _inherits$d(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function");Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,writable:!0,configurable:!0}}),Object.defineProperty(Yi,"prototype",{writable:!1}),eo&&_setPrototypeOf$e(Yi,eo)}function _setPrototypeOf$e(Yi,eo){return _setPrototypeOf$e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ro,no){return ro.__proto__=no,ro},_setPrototypeOf$e(Yi,eo)}function _defineProperty$A(Yi,eo,to){return eo=_toPropertyKey$x(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$x(Yi){var eo=_toPrimitive$x(Yi,"string");return _typeof$B(eo)=="symbol"?eo:eo+""}function _toPrimitive$x(Yi,eo){if(_typeof$B(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$B(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Yi)}function defaultUniqBy(Yi){return Yi.dataKey}function renderContent(Yi,eo){return React$1F.isValidElement(Yi)?React$1F.cloneElement(Yi,eo):typeof Yi=="function"?React$1F.createElement(Yi,eo):React$1F.createElement(DefaultTooltipContent,eo)}var Tooltip=(function(Yi){function eo(){return _classCallCheck$g(this,eo),_callSuper$a(this,eo,arguments)}return _inherits$d(eo,Yi),_createClass$g(eo,[{key:"render",value:function(){var ro=this,no=this.props,io=no.active,oo=no.allowEscapeViewBox,ao=no.animationDuration,so=no.animationEasing,lo=no.content,co=no.coordinate,uo=no.filterNull,fo=no.isAnimationActive,ho=no.offset,mo=no.payload,vo=no.payloadUniqBy,Co=no.position,bo=no.reverseDirection,wo=no.useTranslate3d,yo=no.viewBox,Eo=no.wrapperStyle,xo=mo??[];uo&&xo.length&&(xo=getUniqPayload(mo.filter(function(To){return To.value!=null&&(To.hide!==!0||ro.props.includeHidden)}),vo,defaultUniqBy));var So=xo.length>0;return React$1F.createElement(TooltipBoundingBox,{allowEscapeViewBox:oo,animationDuration:ao,animationEasing:so,isAnimationActive:fo,active:io,coordinate:co,hasPayload:So,offset:ho,position:Co,reverseDirection:bo,useTranslate3d:wo,viewBox:yo,wrapperStyle:Eo},renderContent(lo,_objectSpread$u(_objectSpread$u({},this.props),{},{payload:xo})))}}])})(reactExports.PureComponent);_defineProperty$A(Tooltip,"displayName","Tooltip");_defineProperty$A(Tooltip,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!Global.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var root=_root,now$3=function(){return root.Date.now()},now_1=now$3,reWhitespace=/\s/;function trimmedEndIndex$1(Yi){for(var eo=Yi.length;eo--&&reWhitespace.test(Yi.charAt(eo)););return eo}var _trimmedEndIndex=trimmedEndIndex$1,trimmedEndIndex=_trimmedEndIndex,reTrimStart=/^\s+/;function baseTrim$1(Yi){return Yi&&Yi.slice(0,trimmedEndIndex(Yi)+1).replace(reTrimStart,"")}var _baseTrim=baseTrim$1,baseTrim=_baseTrim,isObject$5=isObject_1,isSymbol$1=isSymbol_1,NAN=NaN,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber$2(Yi){if(typeof Yi=="number")return Yi;if(isSymbol$1(Yi))return NAN;if(isObject$5(Yi)){var eo=typeof Yi.valueOf=="function"?Yi.valueOf():Yi;Yi=isObject$5(eo)?eo+"":eo}if(typeof Yi!="string")return Yi===0?Yi:+Yi;Yi=baseTrim(Yi);var to=reIsBinary.test(Yi);return to||reIsOctal.test(Yi)?freeParseInt(Yi.slice(2),to?2:8):reIsBadHex.test(Yi)?NAN:+Yi}var toNumber_1=toNumber$2,isObject$4=isObject_1,now$2=now_1,toNumber$1=toNumber_1,FUNC_ERROR_TEXT$1="Expected a function",nativeMax$1=Math.max,nativeMin=Math.min;function debounce$1(Yi,eo,to){var ro,no,io,oo,ao,so,lo=0,co=!1,uo=!1,fo=!0;if(typeof Yi!="function")throw new TypeError(FUNC_ERROR_TEXT$1);eo=toNumber$1(eo)||0,isObject$4(to)&&(co=!!to.leading,uo="maxWait"in to,io=uo?nativeMax$1(toNumber$1(to.maxWait)||0,eo):io,fo="trailing"in to?!!to.trailing:fo);function ho(So){var To=ro,Ro=no;return ro=no=void 0,lo=So,oo=Yi.apply(Ro,To),oo}function mo(So){return lo=So,ao=setTimeout(bo,eo),co?ho(So):oo}function vo(So){var To=So-so,Ro=So-lo,Po=eo-To;return uo?nativeMin(Po,io-Ro):Po}function Co(So){var To=So-so,Ro=So-lo;return so===void 0||To>=eo||To<0||uo&&Ro>=io}function bo(){var So=now$2();if(Co(So))return wo(So);ao=setTimeout(bo,vo(So))}function wo(So){return ao=void 0,fo&&ro?ho(So):(ro=no=void 0,oo)}function yo(){ao!==void 0&&clearTimeout(ao),lo=0,ro=so=no=ao=void 0}function Eo(){return ao===void 0?oo:wo(now$2())}function xo(){var So=now$2(),To=Co(So);if(ro=arguments,no=this,so=So,To){if(ao===void 0)return mo(so);if(uo)return clearTimeout(ao),ao=setTimeout(bo,eo),ho(so)}return ao===void 0&&(ao=setTimeout(bo,eo)),oo}return xo.cancel=yo,xo.flush=Eo,xo}var debounce_1=debounce$1,debounce=debounce_1,isObject$3=isObject_1,FUNC_ERROR_TEXT="Expected a function";function throttle(Yi,eo,to){var ro=!0,no=!0;if(typeof Yi!="function")throw new TypeError(FUNC_ERROR_TEXT);return isObject$3(to)&&(ro="leading"in to?!!to.leading:ro,no="trailing"in to?!!to.trailing:no),debounce(Yi,eo,{leading:ro,maxWait:eo,trailing:no})}var throttle_1=throttle;const throttle$1=getDefaultExportFromCjs(throttle_1);function _typeof$A(Yi){"@babel/helpers - typeof";return _typeof$A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$A(Yi)}function ownKeys$t(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$t(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$t(Object(to),!0).forEach(function(ro){_defineProperty$z(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$t(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$z(Yi,eo,to){return eo=_toPropertyKey$w(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$w(Yi){var eo=_toPrimitive$w(Yi,"string");return _typeof$A(eo)=="symbol"?eo:eo+""}function _toPrimitive$w(Yi,eo){if(_typeof$A(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$A(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi)}function _slicedToArray$a(Yi,eo){return _arrayWithHoles$b(Yi)||_iterableToArrayLimit$a(Yi,eo)||_unsupportedIterableToArray$h(Yi,eo)||_nonIterableRest$b()}function _nonIterableRest$b(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
432In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$h(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$h(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray$h(Yi,eo)}}function _arrayLikeToArray$h(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}function _iterableToArrayLimit$a(Yi,eo){var to=Yi==null?null:typeof Symbol<"u"&&Yi[Symbol.iterator]||Yi["@@iterator"];if(to!=null){var ro,no,io,oo,ao=[],so=!0,lo=!1;try{if(io=(to=to.call(Yi)).next,eo!==0)for(;!(so=(ro=io.call(to)).done)&&(ao.push(ro.value),ao.length!==eo);so=!0);}catch(co){lo=!0,no=co}finally{try{if(!so&&to.return!=null&&(oo=to.return(),Object(oo)!==oo))return}finally{if(lo)throw no}}return ao}}function _arrayWithHoles$b(Yi){if(Array.isArray(Yi))return Yi}var ResponsiveContainer=reactExports.forwardRef(function(Yi,eo){var to=Yi.aspect,ro=Yi.initialDimension,no=ro===void 0?{width:-1,height:-1}:ro,io=Yi.width,oo=io===void 0?"100%":io,ao=Yi.height,so=ao===void 0?"100%":ao,lo=Yi.minWidth,co=lo===void 0?0:lo,uo=Yi.minHeight,fo=Yi.maxHeight,ho=Yi.children,mo=Yi.debounce,vo=mo===void 0?0:mo,Co=Yi.id,bo=Yi.className,wo=Yi.onResize,yo=Yi.style,Eo=yo===void 0?{}:yo,xo=reactExports.useRef(null),So=reactExports.useRef();So.current=wo,reactExports.useImperativeHandle(eo,function(){return Object.defineProperty(xo.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),xo.current},configurable:!0})});var To=reactExports.useState({containerWidth:no.width,containerHeight:no.height}),Ro=_slicedToArray$a(To,2),Po=Ro[0],zo=Ro[1],Ho=reactExports.useCallback(function(Lo,Uo){zo(function(Do){var Oo=Math.round(Lo),ko=Math.round(Uo);return Do.containerWidth===Oo&&Do.containerHeight===ko?Do:{containerWidth:Oo,containerHeight:ko}})},[]);reactExports.useEffect(function(){var Lo=function(Fo){var Qo,jo=Fo[0].contentRect,Xo=jo.width,Zo=jo.height;Ho(Xo,Zo),(Qo=So.current)===null||Qo===void 0||Qo.call(So,Xo,Zo)};vo>0&&(Lo=throttle$1(Lo,vo,{trailing:!0,leading:!1}));var Uo=new ResizeObserver(Lo),Do=xo.current.getBoundingClientRect(),Oo=Do.width,ko=Do.height;return Ho(Oo,ko),Uo.observe(xo.current),function(){Uo.disconnect()}},[Ho,vo]);var Vo=reactExports.useMemo(function(){var Lo=Po.containerWidth,Uo=Po.containerHeight;if(Lo<0||Uo<0)return null;warn(isPercent(oo)||isPercent(so),`The width(%s) and height(%s) are both fixed numbers,
433       maybe you don't need to use a ResponsiveContainer.`,oo,so),warn(!to||to>0,"The aspect(%s) must be greater than zero.",to);var Do=isPercent(oo)?Lo:oo,Oo=isPercent(so)?Uo:so;to&&to>0&&(Do?Oo=Do/to:Oo&&(Do=Oo*to),fo&&Oo>fo&&(Oo=fo)),warn(Do>0||Oo>0,`The width(%s) and height(%s) of chart should be greater than 0,
434       please check the style of container, or the props width(%s) and height(%s),
435       or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the
436       height and width.`,Do,Oo,oo,so,co,uo,to);var ko=!Array.isArray(ho)&&getDisplayName(ho.type).endsWith("Chart");return React$1F.Children.map(ho,function(Bo){return React$1F.isValidElement(Bo)?reactExports.cloneElement(Bo,_objectSpread$t({width:Do,height:Oo},ko?{style:_objectSpread$t({height:"100%",width:"100%",maxHeight:Oo,maxWidth:Do},Bo.props.style)}:{})):Bo})},[to,ho,so,fo,uo,co,Po,oo]);return React$1F.createElement("div",{id:Co?"".concat(Co):void 0,className:clsx("recharts-responsive-container",bo),style:_objectSpread$t(_objectSpread$t({},Eo),{},{width:oo,height:so,minWidth:co,minHeight:uo,maxHeight:fo}),ref:xo},Vo)}),Cell=function Yi(eo){return null};Cell.displayName="Cell";function _typeof$z(Yi){"@babel/helpers - typeof";return _typeof$z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$z(Yi)}function ownKeys$s(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$s(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$s(Object(to),!0).forEach(function(ro){_defineProperty$y(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$s(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$y(Yi,eo,to){return eo=_toPropertyKey$v(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$v(Yi){var eo=_toPrimitive$v(Yi,"string");return _typeof$z(eo)=="symbol"?eo:eo+""}function _toPrimitive$v(Yi,eo){if(_typeof$z(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$z(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi)}var stringCache={widthCache:{},cacheCount:0},MAX_CACHE_NUM=2e3,SPAN_STYLE={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},MEASUREMENT_SPAN_ID="recharts_measurement_span";function removeInvalidKeys(Yi){var eo=_objectSpread$s({},Yi);return Object.keys(eo).forEach(function(to){eo[to]||delete eo[to]}),eo}var getStringSize=function Yi(eo){var to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(eo==null||Global.isSsr)return{width:0,height:0};var ro=removeInvalidKeys(to),no=JSON.stringify({text:eo,copyStyle:ro});if(stringCache.widthCache[no])return stringCache.widthCache[no];try{var io=document.getElementById(MEASUREMENT_SPAN_ID);io||(io=document.createElement("span"),io.setAttribute("id",MEASUREMENT_SPAN_ID),io.setAttribute("aria-hidden","true"),document.body.appendChild(io));var oo=_objectSpread$s(_objectSpread$s({},SPAN_STYLE),ro);Object.assign(io.style,oo),io.textContent="".concat(eo);var ao=io.getBoundingClientRect(),so={width:ao.width,height:ao.height};return stringCache.widthCache[no]=so,++stringCache.cacheCount>MAX_CACHE_NUM&&(stringCache.cacheCount=0,stringCache.widthCache={}),so}catch{return{width:0,height:0}}},getOffset=function Yi(eo){return{top:eo.top+window.scrollY-document.documentElement.clientTop,left:eo.left+window.scrollX-document.documentElement.clientLeft}};function _typeof$y(Yi){"@babel/helpers - typeof";return _typeof$y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$y(Yi)}function _slicedToArray$9(Yi,eo){return _arrayWithHoles$a(Yi)||_iterableToArrayLimit$9(Yi,eo)||_unsupportedIterableToArray$g(Yi,eo)||_nonIterableRest$a()}function _nonIterableRest$a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
437In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$g(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$g(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray$g(Yi,eo)}}function _arrayLikeToArray$g(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}function _iterableToArrayLimit$9(Yi,eo){var to=Yi==null?null:typeof Symbol<"u"&&Yi[Symbol.iterator]||Yi["@@iterator"];if(to!=null){var ro,no,io,oo,ao=[],so=!0,lo=!1;try{if(io=(to=to.call(Yi)).next,eo===0){if(Object(to)!==to)return;so=!1}else for(;!(so=(ro=io.call(to)).done)&&(ao.push(ro.value),ao.length!==eo);so=!0);}catch(co){lo=!0,no=co}finally{try{if(!so&&to.return!=null&&(oo=to.return(),Object(oo)!==oo))return}finally{if(lo)throw no}}return ao}}function _arrayWithHoles$a(Yi){if(Array.isArray(Yi))return Yi}function _classCallCheck$f(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$f(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,_toPropertyKey$u(ro.key),ro)}}function _createClass$f(Yi,eo,to){return eo&&_defineProperties$f(Yi.prototype,eo),to&&_defineProperties$f(Yi,to),Object.defineProperty(Yi,"prototype",{writable:!1}),Yi}function _toPropertyKey$u(Yi){var eo=_toPrimitive$u(Yi,"string");return _typeof$y(eo)=="symbol"?eo:eo+""}function _toPrimitive$u(Yi,eo){if(_typeof$y(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$y(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Yi)}var MULTIPLY_OR_DIVIDE_REGEX=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,ADD_OR_SUBTRACT_REGEX=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,CSS_LENGTH_UNIT_REGEX=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,NUM_SPLIT_REGEX=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,CONVERSION_RATES={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},FIXED_CSS_LENGTH_UNITS=Object.keys(CONVERSION_RATES),STR_NAN="NaN";function convertToPx(Yi,eo){return Yi*CONVERSION_RATES[eo]}var DecimalCSS=(function(){function Yi(eo,to){_classCallCheck$f(this,Yi),this.num=eo,this.unit=to,this.num=eo,this.unit=to,Number.isNaN(eo)&&(this.unit=""),to!==""&&!CSS_LENGTH_UNIT_REGEX.test(to)&&(this.num=NaN,this.unit=""),FIXED_CSS_LENGTH_UNITS.includes(to)&&(this.num=convertToPx(eo,to),this.unit="px")}return _createClass$f(Yi,[{key:"add",value:function(to){return this.unit!==to.unit?new Yi(NaN,""):new Yi(this.num+to.num,this.unit)}},{key:"subtract",value:function(to){return this.unit!==to.unit?new Yi(NaN,""):new Yi(this.num-to.num,this.unit)}},{key:"multiply",value:function(to){return this.unit!==""&&to.unit!==""&&this.unit!==to.unit?new Yi(NaN,""):new Yi(this.num*to.num,this.unit||to.unit)}},{key:"divide",value:function(to){return this.unit!==""&&to.unit!==""&&this.unit!==to.unit?new Yi(NaN,""):new Yi(this.num/to.num,this.unit||to.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],[{key:"parse",value:function(to){var ro,no=(ro=NUM_SPLIT_REGEX.exec(to))!==null&&ro!==void 0?ro:[],io=_slicedToArray$9(no,3),oo=io[1],ao=io[2];return new Yi(parseFloat(oo),ao??"")}}])})();function calculateArithmetic(Yi){if(Yi.includes(STR_NAN))return STR_NAN;for(var eo=Yi;eo.includes("*")||eo.includes("/");){var to,ro=(to=MULTIPLY_OR_DIVIDE_REGEX.exec(eo))!==null&&to!==void 0?to:[],no=_slicedToArray$9(ro,4),io=no[1],oo=no[2],ao=no[3],so=DecimalCSS.parse(io??""),lo=DecimalCSS.parse(ao??""),co=oo==="*"?so.multiply(lo):so.divide(lo);if(co.isNaN())return STR_NAN;eo=eo.replace(MULTIPLY_OR_DIVIDE_REGEX,co.toString())}for(;eo.includes("+")||/.-\d+(?:\.\d+)?/.test(eo);){var uo,fo=(uo=ADD_OR_SUBTRACT_REGEX.exec(eo))!==null&&uo!==void 0?uo:[],ho=_slicedToArray$9(fo,4),mo=ho[1],vo=ho[2],Co=ho[3],bo=DecimalCSS.parse(mo??""),wo=DecimalCSS.parse(Co??""),yo=vo==="+"?bo.add(wo):bo.subtract(wo);if(yo.isNaN())return STR_NAN;eo=eo.replace(ADD_OR_SUBTRACT_REGEX,yo.toString())}return eo}var PARENTHESES_REGEX=/\(([^()]*)\)/;function calculateParentheses(Yi){for(var eo=Yi;eo.includes("(");){var to=PARENTHESES_REGEX.exec(eo),ro=_slicedToArray$9(to,2),no=ro[1];eo=eo.replace(PARENTHESES_REGEX,calculateArithmetic(no))}return eo}function evaluateExpression(Yi){var eo=Yi.replace(/\s+/g,"");return eo=calculateParentheses(eo),eo=calculateArithmetic(eo),eo}function safeEvaluateExpression(Yi){try{return evaluateExpression(Yi)}catch{return STR_NAN}}function reduceCSSCalc(Yi){var eo=safeEvaluateExpression(Yi.slice(5,-1));return eo===STR_NAN?"":eo}var _excluded$e=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],_excluded2$4=["dx","dy","angle","className","breakAll"];function _extends$1C(){return _extends$1C=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1C.apply(this,arguments)}function _objectWithoutProperties$a(Yi,eo){if(Yi==null)return{};var to=_objectWithoutPropertiesLoose$c(Yi,eo),ro,no;if(Object.getOwnPropertySymbols){var io=Object.getOwnPropertySymbols(Yi);for(no=0;no<io.length;no++)ro=io[no],!(eo.indexOf(ro)>=0)&&Object.prototype.propertyIsEnumerable.call(Yi,ro)&&(to[ro]=Yi[ro])}return to}function _objectWithoutPropertiesLoose$c(Yi,eo){if(Yi==null)return{};var to={};for(var ro in Yi)if(Object.prototype.hasOwnProperty.call(Yi,ro)){if(eo.indexOf(ro)>=0)continue;to[ro]=Yi[ro]}return to}function _slicedToArray$8(Yi,eo){return _arrayWithHoles$9(Yi)||_iterableToArrayLimit$8(Yi,eo)||_unsupportedIterableToArray$f(Yi,eo)||_nonIterableRest$9()}function _nonIterableRest$9(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
438In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$f(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$f(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray$f(Yi,eo)}}function _arrayLikeToArray$f(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}function _iterableToArrayLimit$8(Yi,eo){var to=Yi==null?null:typeof Symbol<"u"&&Yi[Symbol.iterator]||Yi["@@iterator"];if(to!=null){var ro,no,io,oo,ao=[],so=!0,lo=!1;try{if(io=(to=to.call(Yi)).next,eo===0){if(Object(to)!==to)return;so=!1}else for(;!(so=(ro=io.call(to)).done)&&(ao.push(ro.value),ao.length!==eo);so=!0);}catch(co){lo=!0,no=co}finally{try{if(!so&&to.return!=null&&(oo=to.return(),Object(oo)!==oo))return}finally{if(lo)throw no}}return ao}}function _arrayWithHoles$9(Yi){if(Array.isArray(Yi))return Yi}var BREAKING_SPACES=/[ \f\n\r\t\v\u2028\u2029]+/,calculateWordWidths=function Yi(eo){var to=eo.children,ro=eo.breakAll,no=eo.style;try{var io=[];isNil$1(to)||(ro?io=to.toString().split(""):io=to.toString().split(BREAKING_SPACES));var oo=io.map(function(so){return{word:so,width:getStringSize(so,no).width}}),ao=ro?0:getStringSize(" ",no).width;return{wordsWithComputedWidth:oo,spaceWidth:ao}}catch{return null}},calculateWordsByLines=function Yi(eo,to,ro,no,io){var oo=eo.maxLines,ao=eo.children,so=eo.style,lo=eo.breakAll,co=isNumber(oo),uo=ao,fo=function(){var Do=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Do.reduce(function(Oo,ko){var Bo=ko.word,Fo=ko.width,Qo=Oo[Oo.length-1];if(Qo&&(no==null||io||Qo.width+Fo+ro<Number(no)))Qo.words.push(Bo),Qo.width+=Fo+ro;else{var jo={words:[Bo],width:Fo};Oo.push(jo)}return Oo},[])},ho=fo(to),mo=function(Do){return Do.reduce(function(Oo,ko){return Oo.width>ko.width?Oo:ko})};if(!co)return ho;for(var vo="…",Co=function(Do){var Oo=uo.slice(0,Do),ko=calculateWordWidths({breakAll:lo,style:so,children:Oo+vo}).wordsWithComputedWidth,Bo=fo(ko),Fo=Bo.length>oo||mo(Bo).width>Number(no);return[Fo,Bo]},bo=0,wo=uo.length-1,yo=0,Eo;bo<=wo&&yo<=uo.length-1;){var xo=Math.floor((bo+wo)/2),So=xo-1,To=Co(So),Ro=_slicedToArray$8(To,2),Po=Ro[0],zo=Ro[1],Ho=Co(xo),Vo=_slicedToArray$8(Ho,1),Lo=Vo[0];if(!Po&&!Lo&&(bo=xo+1),Po&&Lo&&(wo=xo-1),!Po&&Lo){Eo=zo;break}yo++}return Eo||ho},getWordsWithoutCalculate=function Yi(eo){var to=isNil$1(eo)?[]:eo.toString().split(BREAKING_SPACES);return[{words:to}]},getWordsByLines=function Yi(eo){var to=eo.width,ro=eo.scaleToFit,no=eo.children,io=eo.style,oo=eo.breakAll,ao=eo.maxLines;if((to||ro)&&!Global.isSsr){var so,lo,co=calculateWordWidths({breakAll:oo,children:no,style:io});if(co){var uo=co.wordsWithComputedWidth,fo=co.spaceWidth;so=uo,lo=fo}else return getWordsWithoutCalculate(no);return calculateWordsByLines({breakAll:oo,children:no,maxLines:ao,style:io},so,lo,to,ro)}return getWordsWithoutCalculate(no)},DEFAULT_FILL="#808080",Text=function Yi(eo){var to=eo.x,ro=to===void 0?0:to,no=eo.y,io=no===void 0?0:no,oo=eo.lineHeight,ao=oo===void 0?"1em":oo,so=eo.capHeight,lo=so===void 0?"0.71em":so,co=eo.scaleToFit,uo=co===void 0?!1:co,fo=eo.textAnchor,ho=fo===void 0?"start":fo,mo=eo.verticalAnchor,vo=mo===void 0?"end":mo,Co=eo.fill,bo=Co===void 0?DEFAULT_FILL:Co,wo=_objectWithoutProperties$a(eo,_excluded$e),yo=reactExports.useMemo(function(){return getWordsByLines({breakAll:wo.breakAll,children:wo.children,maxLines:wo.maxLines,scaleToFit:uo,style:wo.style,width:wo.width})},[wo.breakAll,wo.children,wo.maxLines,uo,wo.style,wo.width]),Eo=wo.dx,xo=wo.dy,So=wo.angle,To=wo.className,Ro=wo.breakAll,Po=_objectWithoutProperties$a(wo,_excluded2$4);if(!isNumOrStr(ro)||!isNumOrStr(io))return null;var zo=ro+(isNumber(Eo)?Eo:0),Ho=io+(isNumber(xo)?xo:0),Vo;switch(vo){case"start":Vo=reduceCSSCalc("calc(".concat(lo,")"));break;case"middle":Vo=reduceCSSCalc("calc(".concat((yo.length-1)/2," * -").concat(ao," + (").concat(lo," / 2))"));break;default:Vo=reduceCSSCalc("calc(".concat(yo.length-1," * -").concat(ao,")"));break}var Lo=[];if(uo){var Uo=yo[0].width,Do=wo.width;Lo.push("scale(".concat((isNumber(Do)?Do/Uo:1)/Uo,")"))}return So&&Lo.push("rotate(".concat(So,", ").concat(zo,", ").concat(Ho,")")),Lo.length&&(Po.transform=Lo.join(" ")),React$1F.createElement("text",_extends$1C({},filterProps(Po,!0),{x:zo,y:Ho,className:clsx("recharts-text",To),textAnchor:ho,fill:bo.includes("url")?DEFAULT_FILL:bo}),yo.map(function(Oo,ko){var Bo=Oo.words.join(Ro?"":" ");return React$1F.createElement("tspan",{x:zo,dy:ko===0?Vo:ao,key:"".concat(Bo,"-").concat(ko)},Bo)}))};function ascending(Yi,eo){return Yi==null||eo==null?NaN:Yi<eo?-1:Yi>eo?1:Yi>=eo?0:NaN}function descending(Yi,eo){return Yi==null||eo==null?NaN:eo<Yi?-1:eo>Yi?1:eo>=Yi?0:NaN}function bisector(Yi){let eo,to,ro;Yi.length!==2?(eo=ascending,to=(ao,so)=>
438ascending(Yi(ao),so),ro=(ao,so)=>Yi(ao)-so):(eo=Yi===ascending||Yi===descending?Yi:zero$1,to=Yi,ro=Yi);function no(ao,so,lo=0,co=ao.length){if(lo<co){if(eo(so,so)!==0)return co;do{const uo=lo+co>>>1;to(ao[uo],so)<0?lo=uo+1:co=uo}while(lo<co)}return lo}function io(ao,so,lo=0,co=ao.length){if(lo<co){if(eo(so,so)!==0)return co;do{const uo=lo+co>>>1;to(ao[uo],so)<=0?lo=uo+1:co=uo}while(lo<co)}return lo}function oo(ao,so,lo=0,co=ao.length){const uo=no(ao,so,lo,co-1);return uo>lo&&ro(ao[uo-1],so)>-ro(ao[uo],so)?uo-1:uo}return{left:no,center:oo,right:io}}function zero$1(){return 0}function number$2(Yi){return Yi===null?NaN:+Yi}function*numbers(Yi,eo){for(let to of Yi)to!=null&&(to=+to)>=to&&(yield to)}const ascendingBisect=bisector(ascending),bisectRight=ascendingBisect.right;bisector(number$2).center;class InternMap extends Map{constructor(eo,to=keyof){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:to}}),eo!=null)for(const[ro,no]of eo)this.set(ro,no)}get(eo){return super.get(intern_get(this,eo))}has(eo){return super.has(intern_get(this,eo))}set(eo,to){return super.set(intern_set(this,eo),to)}delete(eo){return super.delete(intern_delete(this,eo))}}function intern_get({_intern:Yi,_key:eo},to){const ro=eo(to);return Yi.has(ro)?Yi.get(ro):to}function intern_set({_intern:Yi,_key:eo},to){const ro=eo(to);return Yi.has(ro)?Yi.get(ro):(Yi.set(ro,to),to)}function intern_delete({_intern:Yi,_key:eo},to){const ro=eo(to);return Yi.has(ro)&&(to=Yi.get(ro),Yi.delete(ro)),to}function keyof(Yi){return Yi!==null&&typeof Yi=="object"?Yi.valueOf():Yi}function compareDefined(Yi=ascending){if(Yi===ascending)return ascendingDefined;if(typeof Yi!="function")throw new TypeError("compare is not a function");return(eo,to)=>{const ro=Yi(eo,to);return ro||ro===0?ro:(Yi(to,to)===0)-(Yi(eo,eo)===0)}}function ascendingDefined(Yi,eo){return(Yi==null||!(Yi>=Yi))-(eo==null||!(eo>=eo))||(Yi<eo?-1:Yi>eo?1:0)}const e10=Math.sqrt(50),e5=Math.sqrt(10),e2=Math.sqrt(2);function tickSpec(Yi,eo,to){const ro=(eo-Yi)/Math.max(0,to),no=Math.floor(Math.log10(ro)),io=ro/Math.pow(10,no),oo=io>=e10?10:io>=e5?5:io>=e2?2:1;let ao,so,lo;return no<0?(lo=Math.pow(10,-no)/oo,ao=Math.round(Yi*lo),so=Math.round(eo*lo),ao/lo<Yi&&++ao,so/lo>eo&&--so,lo=-lo):(lo=Math.pow(10,no)*oo,ao=Math.round(Yi/lo),so=Math.round(eo/lo),ao*lo<Yi&&++ao,so*lo>eo&&--so),so<ao&&.5<=to&&to<2?tickSpec(Yi,eo,to*2):[ao,so,lo]}function ticks(Yi,eo,to){if(eo=+eo,Yi=+Yi,to=+to,!(to>0))return[];if(Yi===eo)return[Yi];const ro=eo<Yi,[no,io,oo]=ro?tickSpec(eo,Yi,to):tickSpec(Yi,eo,to);if(!(io>=no))return[];const ao=io-no+1,so=new Array(ao);if(ro)if(oo<0)for(let lo=0;lo<ao;++lo)so[lo]=(io-lo)/-oo;else for(let lo=0;lo<ao;++lo)so[lo]=(io-lo)*oo;else if(oo<0)for(let lo=0;lo<ao;++lo)so[lo]=(no+lo)/-oo;else for(let lo=0;lo<ao;++lo)so[lo]=(no+lo)*oo;return so}function tickIncrement(Yi,eo,to){return eo=+eo,Yi=+Yi,to=+to,tickSpec(Yi,eo,to)[2]}function tickStep(Yi,eo,to){eo=+eo,Yi=+Yi,to=+to;const ro=eo<Yi,no=ro?tickIncrement(eo,Yi,to):tickIncrement(Yi,eo,to);return(ro?-1:1)*(no<0?1/-no:no)}function max$2(Yi,eo){let to;for(const ro of Yi)ro!=null&&(to<ro||to===void 0&&ro>=ro)&&(to=ro);return to}function min$2(Yi,eo){let to;for(const ro of Yi)ro!=null&&(to>ro||to===void 0&&ro>=ro)&&(to=ro);return to}function quickselect(Yi,eo,to=0,ro=1/0,no){if(eo=Math.floor(eo),to=Math.floor(Math.max(0,to)),ro=Math.floor(Math.min(Yi.length-1,ro)),!(to<=eo&&eo<=ro))return Yi;for(no=no===void 0?ascendingDefined:compareDefined(no);ro>to;){if(ro-to>600){const so=ro-to+1,lo=eo-to+1,co=Math.log(so),uo=.5*Math.exp(2*co/3),fo=.5*Math.sqrt(co*uo*(so-uo)/so)*(lo-so/2<0?-1:1),ho=Math.max(to,Math.floor(eo-lo*uo/so+fo)),mo=Math.min(ro,Math.floor(eo+(so-lo)*uo/so+fo));quickselect(Yi,eo,ho,mo,no)}const io=Yi[eo];let oo=to,ao=ro;for(swap(Yi,to,eo),no(Yi[ro],io)>0&&swap(Yi,to,ro);oo<ao;){for(swap(Yi,oo,ao),++oo,--ao;no(Yi[oo],io)<0;)++oo;for(;no(Yi[ao],io)>0;)--ao}no(Yi[to],io)===0?swap(Yi,to,ao):(++ao,swap(Yi,ao,ro)),ao<=eo&&(to=ao+1),eo<=ao&&(ro=ao-1)}return Yi}function swap(Yi,eo,to){const ro=Yi[eo];Yi[eo]=Yi[to],Yi[to]=ro}function quantile$1(Yi,eo,to){if(Yi=Float64Array.from(numbers(Yi)),!(!(ro=Yi.length)||isNaN(eo=+eo))){if(eo<=0||ro<2)return min$2(Yi);if(eo>=1)return max$2(Yi);var ro,no=(ro-1)*eo,io=Math.floor(no),oo=max$2(quickselect(Yi,io).subarray(0,io+1)),ao=min$2(Yi.subarray(io+1));return oo+(ao-oo)*(no-io)}}function quantileSorted(Yi,eo,to=number$2){if(!(!(ro=Yi.length)||isNaN(eo=+eo))){if(eo<=0||ro<2)return+to(Yi[0],0,Yi);if(eo>=1)return+to(Yi[ro-1],ro-1,Yi);var ro,no=(ro-1)*eo,io=Math.floor(no),oo=+to(Yi[io],io,Yi),ao=+to(Yi[io+1],io+1,Yi);return oo+(ao-oo)*(no-io)}}function range$3(Yi,eo,to){Yi=+Yi,eo=+eo,to=(no=arguments.length)<2?(eo=Yi,Yi=0,1):no<3?1:+to;for(var ro=-1,no=Math.max(0,Math.ceil((eo-Yi)/to))|0,io=new Array(no);++ro<no;)io[ro]=Yi+ro*to;return io}function initRange(Yi,eo){switch(arguments.length){case 0:break;case 1:this.range(Yi);break;
vendor: 7,383 bytes, line 438
438default:this.range(eo).domain(Yi);break}return this}function initInterpolator(Yi,eo){switch(arguments.length){case 0:break;case 1:{typeof Yi=="function"?this.interpolator(Yi):this.range(Yi);break}default:{this.domain(Yi),typeof eo=="function"?this.interpolator(eo):this.range(eo);break}}return this}const implicit=Symbol("implicit");function ordinal(){var Yi=new InternMap,eo=[],to=[],ro=implicit;function no(io){let oo=Yi.get(io);if(oo===void 0){if(ro!==implicit)return ro;Yi.set(io,oo=eo.push(io)-1)}return to[oo%to.length]}return no.domain=function(io){if(!arguments.length)return eo.slice();eo=[],Yi=new InternMap;for(const oo of io)Yi.has(oo)||Yi.set(oo,eo.push(oo)-1);return no},no.range=function(io){return arguments.length?(to=Array.from(io),no):to.slice()},no.unknown=function(io){return arguments.length?(ro=io,no):ro},no.copy=function(){return ordinal(eo,to).unknown(ro)},initRange.apply(no,arguments),no}function band(){var Yi=ordinal().unknown(void 0),eo=Yi.domain,to=Yi.range,ro=0,no=1,io,oo,ao=!1,so=0,lo=0,co=.5;delete Yi.unknown;function uo(){var fo=eo().length,ho=no<ro,mo=ho?no:ro,vo=ho?ro:no;io=(vo-mo)/Math.max(1,fo-so+lo*2),ao&&(io=Math.floor(io)),mo+=(vo-mo-io*(fo-so))*co,oo=io*(1-so),ao&&(mo=Math.round(mo),oo=Math.round(oo));var Co=range$3(fo).map(function(bo){return mo+io*bo});return to(ho?Co.reverse():Co)}return Yi.domain=function(fo){return arguments.length?(eo(fo),uo()):eo()},Yi.range=function(fo){return arguments.length?([ro,no]=fo,ro=+ro,no=+no,uo()):[ro,no]},Yi.rangeRound=function(fo){return[ro,no]=fo,ro=+ro,no=+no,ao=!0,uo()},Yi.bandwidth=function(){return oo},Yi.step=function(){return io},Yi.round=function(fo){return arguments.length?(ao=!!fo,uo()):ao},Yi.padding=function(fo){return arguments.length?(so=Math.min(1,lo=+fo),uo()):so},Yi.paddingInner=function(fo){return arguments.length?(so=Math.min(1,fo),uo()):so},Yi.paddingOuter=function(fo){return arguments.length?(lo=+fo,uo()):lo},Yi.align=function(fo){return arguments.length?(co=Math.max(0,Math.min(1,fo)),uo()):co},Yi.copy=function(){return band(eo(),[ro,no]).round(ao).paddingInner(so).paddingOuter(lo).align(co)},initRange.apply(uo(),arguments)}function pointish(Yi){var eo=Yi.copy;return Yi.padding=Yi.paddingOuter,delete Yi.paddingInner,delete Yi.paddingOuter,Yi.copy=function(){return pointish(eo())},Yi}function point(){return pointish(band.apply(null,arguments).paddingInner(1))}function define$1(Yi,eo,to){Yi.prototype=eo.prototype=to,to.constructor=Yi}function extend$2(Yi,eo){var to=Object.create(Yi.prototype);for(var ro in eo)to[ro]=eo[ro];return to}function Color(){}var darker=.7,brighter=1/darker,reI="\\s*([+-]?\\d+)\\s*",reN="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",reP="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",reHex=/^#([0-9a-f]{3,8})$/,reRgbInteger=new RegExp(`^rgb\\(${reI},${reI},${reI}\\)$`),reRgbPercent=new RegExp(`^rgb\\(${reP},${reP},${reP}\\)$`),reRgbaInteger=new RegExp(`^rgba\\(${reI},${reI},${reI},${reN}\\)$`),reRgbaPercent=new RegExp(`^rgba\\(${reP},${reP},${reP},${reN}\\)$`),reHslPercent=new RegExp(`^hsl\\(${reN},${reP},${reP}\\)$`),reHslaPercent=new RegExp(`^hsla\\(${reN},${reP},${reP},${reN}\\)$`),named={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};define$1(Color,color,{copy(Yi){return Object.assign(new this.constructor,this,Yi)},displayable(){return this.rgb().displayable()},hex:color_formatHex,formatHex:color_formatHex,formatHex8:color_formatHex8,formatHsl:color_formatHsl,formatRgb:color_formatRgb,toString:color_formatRgb});function color_formatHex(){return this.rgb().formatHex()}function color_formatHex8(){return this.rgb().formatHex8()}function color_formatHsl(){return hslConvert(this).formatHsl()}function color_formatRgb(){return this.rgb().formatRgb()}function color(Yi){var eo,to;return Yi=(Yi+"").trim().toLowerCase(),(eo=reHex.exec(Yi))?(to=eo[1].length,eo=parseInt(eo[1],16),to===6?rgbn(eo):to===3?new Rgb(eo>>8&15|eo>>4&240,eo>>4&15|eo&240,(eo&15)<<4|eo&15,1):to===8?rgba(eo>>24&255,eo>>16&255,eo>>8&255,(eo&255)/255):to===4?rgba(eo>>12&15|eo>>8&240,eo>>8&15|eo>>4&240,eo>>4&15|eo&240,((eo&15)<<4|eo&15)/255):null):(eo=reRgbInteger.exec(Yi))?new Rgb(eo[1],eo[2],eo[3],1):(eo=reRgbPercent.exec(Yi))?new Rgb(eo[1]*255/100,eo[2]*255/100,eo[3]*255/100,1):(eo=reRgbaInteger.exec(Yi))?rgba(eo[1],eo[2],eo[3],eo[4]):(eo=reRgbaPercent.exec(Yi))?rgba(eo[1]*255/100,eo[2]*255/100,eo[3]*255/100,eo[4]):(eo=reHslPercent.exec(Yi))?hsla(eo[1],eo[2]/100,eo[3]/100,1):(eo=reHslaPercent.exec(Yi))?hsla(eo[1],eo[2]/100,eo[3]/100,eo[4]):named.hasOwnProperty(Yi)?rgbn(named[Yi]):Yi==="transparent"?new Rgb(NaN,NaN,NaN,0):null}function rgbn(Yi){return new Rgb(Yi>>16&255,Yi>>8&255,Yi&255,1)}function rgba(Yi,eo,to,ro){return ro<=0&&(Yi=eo=to=NaN),new Rgb(Yi,eo,to,ro)}
vendor: 9,596 bytes, line 438
438function rgbConvert(Yi){return Yi instanceof Color||(Yi=color(Yi)),Yi?(Yi=Yi.rgb(),new Rgb(Yi.r,Yi.g,Yi.b,Yi.opacity)):new Rgb}function rgb$1(Yi,eo,to,ro){return arguments.length===1?rgbConvert(Yi):new Rgb(Yi,eo,to,ro??1)}function Rgb(Yi,eo,to,ro){this.r=+Yi,this.g=+eo,this.b=+to,this.opacity=+ro}define$1(Rgb,rgb$1,extend$2(Color,{brighter(Yi){return Yi=Yi==null?brighter:Math.pow(brighter,Yi),new Rgb(this.r*Yi,this.g*Yi,this.b*Yi,this.opacity)},darker(Yi){return Yi=Yi==null?darker:Math.pow(darker,Yi),new Rgb(this.r*Yi,this.g*Yi,this.b*Yi,this.opacity)},rgb(){return this},clamp(){return new Rgb(clampi(this.r),clampi(this.g),clampi(this.b),clampa(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:rgb_formatHex,formatHex:rgb_formatHex,formatHex8:rgb_formatHex8,formatRgb:rgb_formatRgb,toString:rgb_formatRgb}));function rgb_formatHex(){return`#${hex(this.r)}${hex(this.g)}${hex(this.b)}`}function rgb_formatHex8(){return`#${hex(this.r)}${hex(this.g)}${hex(this.b)}${hex((isNaN(this.opacity)?1:this.opacity)*255)}`}function rgb_formatRgb(){const Yi=clampa(this.opacity);return`${Yi===1?"rgb(":"rgba("}${clampi(this.r)}, ${clampi(this.g)}, ${clampi(this.b)}${Yi===1?")":`, ${Yi})`}`}function clampa(Yi){return isNaN(Yi)?1:Math.max(0,Math.min(1,Yi))}function clampi(Yi){return Math.max(0,Math.min(255,Math.round(Yi)||0))}function hex(Yi){return Yi=clampi(Yi),(Yi<16?"0":"")+Yi.toString(16)}function hsla(Yi,eo,to,ro){return ro<=0?Yi=eo=to=NaN:to<=0||to>=1?Yi=eo=NaN:eo<=0&&(Yi=NaN),new Hsl(Yi,eo,to,ro)}function hslConvert(Yi){if(Yi instanceof Hsl)return new Hsl(Yi.h,Yi.s,Yi.l,Yi.opacity);if(Yi instanceof Color||(Yi=color(Yi)),!Yi)return new Hsl;if(Yi instanceof Hsl)return Yi;Yi=Yi.rgb();var eo=Yi.r/255,to=Yi.g/255,ro=Yi.b/255,no=Math.min(eo,to,ro),io=Math.max(eo,to,ro),oo=NaN,ao=io-no,so=(io+no)/2;return ao?(eo===io?oo=(to-ro)/ao+(to<ro)*6:to===io?oo=(ro-eo)/ao+2:oo=(eo-to)/ao+4,ao/=so<.5?io+no:2-io-no,oo*=60):ao=so>0&&so<1?0:oo,new Hsl(oo,ao,so,Yi.opacity)}function hsl(Yi,eo,to,ro){return arguments.length===1?hslConvert(Yi):new Hsl(Yi,eo,to,ro??1)}function Hsl(Yi,eo,to,ro){this.h=+Yi,this.s=+eo,this.l=+to,this.opacity=+ro}define$1(Hsl,hsl,extend$2(Color,{brighter(Yi){return Yi=Yi==null?brighter:Math.pow(brighter,Yi),new Hsl(this.h,this.s,this.l*Yi,this.opacity)},darker(Yi){return Yi=Yi==null?darker:Math.pow(darker,Yi),new Hsl(this.h,this.s,this.l*Yi,this.opacity)},rgb(){var Yi=this.h%360+(this.h<0)*360,eo=isNaN(Yi)||isNaN(this.s)?0:this.s,to=this.l,ro=to+(to<.5?to:1-to)*eo,no=2*to-ro;return new Rgb(hsl2rgb(Yi>=240?Yi-240:Yi+120,no,ro),hsl2rgb(Yi,no,ro),hsl2rgb(Yi<120?Yi+240:Yi-120,no,ro),this.opacity)},clamp(){return new Hsl(clamph(this.h),clampt(this.s),clampt(this.l),clampa(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const Yi=clampa(this.opacity);return`${Yi===1?"hsl(":"hsla("}${clamph(this.h)}, ${clampt(this.s)*100}%, ${clampt(this.l)*100}%${Yi===1?")":`, ${Yi})`}`}}));function clamph(Yi){return Yi=(Yi||0)%360,Yi<0?Yi+360:Yi}function clampt(Yi){return Math.max(0,Math.min(1,Yi||0))}function hsl2rgb(Yi,eo,to){return(Yi<60?eo+(to-eo)*Yi/60:Yi<180?to:Yi<240?eo+(to-eo)*(240-Yi)/60:eo)*255}const constant=Yi=>()=>Yi;function linear$1(Yi,eo){return function(to){return Yi+to*eo}}function exponential(Yi,eo,to){return Yi=Math.pow(Yi,to),eo=Math.pow(eo,to)-Yi,to=1/to,function(ro){return Math.pow(Yi+ro*eo,to)}}function gamma(Yi){return(Yi=+Yi)==1?nogamma:function(eo,to){return to-eo?exponential(eo,to,Yi):constant(isNaN(eo)?to:eo)}}function nogamma(Yi,eo){var to=eo-Yi;return to?linear$1(Yi,to):constant(isNaN(Yi)?eo:Yi)}const rgb=(function Yi(eo){var to=gamma(eo);function ro(no,io){var oo=to((no=rgb$1(no)).r,(io=rgb$1(io)).r),ao=to(no.g,io.g),so=to(no.b,io.b),lo=nogamma(no.opacity,io.opacity);return function(co){return no.r=oo(co),no.g=ao(co),no.b=so(co),no.opacity=lo(co),no+""}}return ro.gamma=Yi,ro})(1);function numberArray(Yi,eo){eo||(eo=[]);var to=Yi?Math.min(eo.length,Yi.length):0,ro=eo.slice(),no;return function(io){for(no=0;no<to;++no)ro[no]=Yi[no]*(1-io)+eo[no]*io;return ro}}function isNumberArray(Yi){return ArrayBuffer.isView(Yi)&&!(Yi instanceof DataView)}function genericArray(Yi,eo){var to=eo?eo.length:0,ro=Yi?Math.min(to,Yi.length):0,no=new Array(ro),io=new Array(to),oo;for(oo=0;oo<ro;++oo)no[oo]=interpolate(Yi[oo],eo[oo]);for(;oo<to;++oo)io[oo]=eo[oo];return function(ao){for(oo=0;oo<ro;++oo)io[oo]=no[oo](ao);return io}}function date$1(Yi,eo){var to=new Date;return Yi=+Yi,eo=+eo,function(ro){return to.setTime(Yi*(1-ro)+eo*ro),to}}function interpolateNumber$1(Yi,eo){return Yi=+Yi,eo=+eo,function(to){return Yi*(1-to)+eo*to}}function object(Yi,eo){var to={},ro={},no;(Yi===null||typeof Yi!="object")&&(Yi={}),(eo===null||typeof eo!="object")&&(eo={});for(no in eo)no in Yi?to[no]=interpolate(Yi[no],eo[no]):ro[no]=eo[no];return function(io){for(no in to)ro[no]=to[no](io);return ro}}var reA=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,reB=new RegExp(reA.source,"g");function zero(Yi){return function(){return Yi}}function one(Yi){return function(eo){return Yi(eo)+""}}function string(Yi,eo){var to=reA.lastIndex=reB.lastIndex=0,ro,no,io,oo=-1,ao=[],so=[];for(Yi=Yi+"",eo=eo+"";(ro=reA.exec(Yi))&&(no=reB.exec(eo));)(io=no.index)>to&&(io=eo.slice(to,io),ao[oo]?ao[oo]+=io:ao[++oo]=io),(ro=ro[0])===(no=no[0])?ao[oo]?ao[oo]+=no:ao[++oo]=no:(ao[++oo]=null,so.push({i:oo,x:interpolateNumber$1(ro,no)})),to=reB.lastIndex;return to<eo.length&&(io=eo.slice(to),ao[oo]?ao[oo]+=io:ao[++oo]=io),ao.length<2?so[0]?one(so[0].x):zero(eo):(eo=so.length,function(lo){for(var co=0,uo;co<eo;++co)ao[(uo=so[co]).i]=uo.x(lo);return ao.join("")})}function interpolate(Yi,eo){var to=typeof eo,ro;return eo==null||to==="boolean"?constant(eo):(to==="number"?interpolateNumber$1:to==="string"?(ro=color(eo))?(eo=ro,rgb):string:eo instanceof color?rgb:eo instanceof Date?date$1:isNumberArray(eo)?numberArray:Array.isArray(eo)?genericArray:typeof eo.valueOf!="function"&&typeof eo.toString!="function"||isNaN(eo)?object:interpolateNumber$1)(Yi,eo)}function interpolateRound(Yi,eo){return Yi=+Yi,eo=+eo,function(to){return Math.round(Yi*(1-to)+eo*to)}}function piecewise(Yi,eo){eo===void 0&&(eo=Yi,Yi=interpolate);for(var to=0,ro=eo.length-1,no=eo[0],io=new Array(ro<0?0:ro);to<ro;)io[to]=Yi(no,no=eo[++to]);return function(oo){var ao=Math.max(0,Math.min(ro-1,Math.floor(oo*=ro)));return io[ao](oo-ao)}}function constants(Yi){return function(){return Yi}}function number$1(Yi){return+Yi}var unit=[0,1];function identity$6(Yi){return Yi}function normalize(Yi,eo){return(eo-=Yi=+Yi)?function(to){return(to-Yi)/eo}:constants(isNaN(eo)?NaN:.5)}function clamper(Yi,eo){var to;return Yi>eo&&(to=Yi,Yi=eo,eo=to),function(ro){return Math.max(Yi,Math.min(eo,ro))}}function bimap(Yi,eo,to){var ro=Yi[0],no=Yi[1],io=eo[0],oo=eo[1];return no<ro?(ro=normalize(no,ro),io=to(oo,io)):(ro=normalize(ro,no),io=to(io,oo)),function(ao){return io(ro(ao))}}function polymap(Yi,eo,to){var ro=Math.min(Yi.length,eo.length)-1,no=new Array(ro),io=new Array(ro),oo=-1;for(Yi[ro]<Yi[0]&&(Yi=Yi.slice().reverse(),eo=eo.slice().reverse());++oo<ro;)no[oo]=normalize(Yi[oo],Yi[oo+1]),io[oo]=to(eo[oo],eo[oo+1]);return function(ao){var so=bisectRight(Yi,ao,1,ro)-1;return io[so](no[so](ao))}}function copy$1(Yi,eo){return eo.domain(Yi.domain()).range(Yi.range()).interpolate(Yi.interpolate()).clamp(Yi.clamp()).unknown(Yi.unknown())}function transformer$2(){var Yi=unit,eo=unit,to=interpolate,ro,no,io,oo=identity$6,ao,so,lo;function co(){var fo=Math.min(Yi.length,eo.length);return oo!==identity$6&&(oo=clamper(Yi[0],Yi[fo-1])),ao=fo>2?polymap:bimap,so=lo=null,uo}function uo(fo){return fo==null||isNaN(fo=+fo)?io:(so||(so=ao(Yi.map(ro),eo,to)))(ro(oo(fo)))}return uo.invert=function(fo){return oo(no((lo||(lo=ao(eo,Yi.map(ro),interpolateNumber$1)))(fo)))},uo.domain=function(fo){return arguments.length?(Yi=Array.from(fo,number$1),co()):Yi.slice()},uo.range=function(fo){return arguments.length?(eo=Array.from(fo),co()):eo.slice()},uo.rangeRound=function(fo){return eo=Array.from(fo),to=interpolateRound,co()},uo.clamp=function(fo){return arguments.length?(oo=fo?!0:identity$6,co()):oo!==identity$6},uo.interpolate=function(fo){return arguments.length?(to=fo,co()):to},uo.unknown=function(fo){return arguments.length?(io=fo,uo):io},function(fo,ho){return ro=fo,no=ho,co()}}function continuous(){return transformer$2()(identity$6,identity$6)}function formatDecimal(Yi){return Math.abs(Yi=Math.round(Yi))>=1e21?Yi.toLocaleString("en").replace(/,/g,""):Yi.toString(10)}function formatDecimalParts(Yi,eo){if(!isFinite(Yi)||Yi===0)return null;var to=(Yi=eo?Yi.toExponential(eo-1):Yi.toExponential()).indexOf("e"),ro=Yi.slice(0,to);return[ro.length>1?ro[0]+ro.slice(2):ro,+Yi.slice(to+1)]}function exponent(Yi){return Yi=formatDecimalParts(Math.abs(Yi)),Yi?Yi[1]:NaN}function formatGroup(Yi,eo){return function(to,ro){for(var no=to.length,io=[],oo=0,ao=Yi[0],so=0;no>0&&ao>0&&(so+ao+1>ro&&(ao=Math.max(1,ro-so)),io.push(to.substring(no-=ao,no+ao)),!((so+=ao+1)>ro));)ao=Yi[oo=(oo+1)%Yi.length];return io.reverse().join(eo)}}function formatNumerals(Yi){return function(eo){return eo.replace(/[0-9]/g,function(to){return Yi[+to]})}}var re=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function formatSpecifier(Yi){if(!(eo=re.exec(Yi)))throw new Error("invalid format: "+Yi);var eo;return new FormatSpecifier({fill:eo[1],align:eo[2],sign:eo[3],symbol:eo[4],zero:eo[5
vendor: 5,398 bytes, line 438
438],width:eo[6],comma:eo[7],precision:eo[8]&&eo[8].slice(1),trim:eo[9],type:eo[10]})}formatSpecifier.prototype=FormatSpecifier.prototype;function FormatSpecifier(Yi){this.fill=Yi.fill===void 0?" ":Yi.fill+"",this.align=Yi.align===void 0?">":Yi.align+"",this.sign=Yi.sign===void 0?"-":Yi.sign+"",this.symbol=Yi.symbol===void 0?"":Yi.symbol+"",this.zero=!!Yi.zero,this.width=Yi.width===void 0?void 0:+Yi.width,this.comma=!!Yi.comma,this.precision=Yi.precision===void 0?void 0:+Yi.precision,this.trim=!!Yi.trim,this.type=Yi.type===void 0?"":Yi.type+""}FormatSpecifier.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function formatTrim(Yi){e:for(var eo=Yi.length,to=1,ro=-1,no;to<eo;++to)switch(Yi[to]){case".":ro=no=to;break;case"0":ro===0&&(ro=to),no=to;break;default:if(!+Yi[to])break e;ro>0&&(ro=0);break}return ro>0?Yi.slice(0,ro)+Yi.slice(no+1):Yi}var prefixExponent;function formatPrefixAuto(Yi,eo){var to=formatDecimalParts(Yi,eo);if(!to)return prefixExponent=void 0,Yi.toPrecision(eo);var ro=to[0],no=to[1],io=no-(prefixExponent=Math.max(-8,Math.min(8,Math.floor(no/3)))*3)+1,oo=ro.length;return io===oo?ro:io>oo?ro+new Array(io-oo+1).join("0"):io>0?ro.slice(0,io)+"."+ro.slice(io):"0."+new Array(1-io).join("0")+formatDecimalParts(Yi,Math.max(0,eo+io-1))[0]}function formatRounded(Yi,eo){var to=formatDecimalParts(Yi,eo);if(!to)return Yi+"";var ro=to[0],no=to[1];return no<0?"0."+new Array(-no).join("0")+ro:ro.length>no+1?ro.slice(0,no+1)+"."+ro.slice(no+1):ro+new Array(no-ro.length+2).join("0")}const formatTypes={"%":(Yi,eo)=>(Yi*100).toFixed(eo),b:Yi=>Math.round(Yi).toString(2),c:Yi=>Yi+"",d:formatDecimal,e:(Yi,eo)=>Yi.toExponential(eo),f:(Yi,eo)=>Yi.toFixed(eo),g:(Yi,eo)=>Yi.toPrecision(eo),o:Yi=>Math.round(Yi).toString(8),p:(Yi,eo)=>formatRounded(Yi*100,eo),r:formatRounded,s:formatPrefixAuto,X:Yi=>Math.round(Yi).toString(16).toUpperCase(),x:Yi=>Math.round(Yi).toString(16)};function identity$5(Yi){return Yi}var map$3=Array.prototype.map,prefixes=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function formatLocale$1(Yi){var eo=Yi.grouping===void 0||Yi.thousands===void 0?identity$5:formatGroup(map$3.call(Yi.grouping,Number),Yi.thousands+""),to=Yi.currency===void 0?"":Yi.currency[0]+"",ro=Yi.currency===void 0?"":Yi.currency[1]+"",no=Yi.decimal===void 0?".":Yi.decimal+"",io=Yi.numerals===void 0?identity$5:formatNumerals(map$3.call(Yi.numerals,String)),oo=Yi.percent===void 0?"%":Yi.percent+"",ao=Yi.minus===void 0?"−":Yi.minus+"",so=Yi.nan===void 0?"NaN":Yi.nan+"";function lo(uo,fo){uo=formatSpecifier(uo);var ho=uo.fill,mo=uo.align,vo=uo.sign,Co=uo.symbol,bo=uo.zero,wo=uo.width,yo=uo.comma,Eo=uo.precision,xo=uo.trim,So=uo.type;So==="n"?(yo=!0,So="g"):formatTypes[So]||(Eo===void 0&&(Eo=12),xo=!0,So="g"),(bo||ho==="0"&&mo==="=")&&(bo=!0,ho="0",mo="=");var To=(fo&&fo.prefix!==void 0?fo.prefix:"")+(Co==="$"?to:Co==="#"&&/[boxX]/.test(So)?"0"+So.toLowerCase():""),Ro=(Co==="$"?ro:/[%p]/.test(So)?oo:"")+(fo&&fo.suffix!==void 0?fo.suffix:""),Po=formatTypes[So],zo=/[defgprs%]/.test(So);Eo=Eo===void 0?6:/[gprs]/.test(So)?Math.max(1,Math.min(21,Eo)):Math.max(0,Math.min(20,Eo));function Ho(Vo){var Lo=To,Uo=Ro,Do,Oo,ko;if(So==="c")Uo=Po(Vo)+Uo,Vo="";else{Vo=+Vo;var Bo=Vo<0||1/Vo<0;if(Vo=isNaN(Vo)?so:Po(Math.abs(Vo),Eo),xo&&(Vo=formatTrim(Vo)),Bo&&+Vo==0&&vo!=="+"&&(Bo=!1),Lo=(Bo?vo==="("?vo:ao:vo==="-"||vo==="("?"":vo)+Lo,Uo=(So==="s"&&!isNaN(Vo)&&prefixExponent!==void 0?prefixes[8+prefixExponent/3]:"")+Uo+(Bo&&vo==="("?")":""),zo){for(Do=-1,Oo=Vo.length;++Do<Oo;)if(ko=Vo.charCodeAt(Do),48>ko||ko>57){Uo=(ko===46?no+Vo.slice(Do+1):Vo.slice(Do))+Uo,Vo=Vo.slice(0,Do);break}}}yo&&!bo&&(Vo=eo(Vo,1/0));var Fo=Lo.length+Vo.length+Uo.length,Qo=Fo<wo?new Array(wo-Fo+1).join(ho):"";switch(yo&&bo&&(Vo=eo(Qo+Vo,Qo.length?wo-Uo.length:1/0),Qo=""),mo){case"<":Vo=Lo+Vo+Uo+Qo;break;case"=":Vo=Lo+Qo+Vo+Uo;break;case"^":Vo=Qo.slice(0,Fo=Qo.length>>1)+Lo+Vo+Uo+Qo.slice(Fo);break;default:Vo=Qo+Lo+Vo+Uo;break}return io(Vo)}return Ho.toString=function(){return uo+""},Ho}function co(uo,fo){var ho=Math.max(-8,Math.min(8,Math.floor(exponent(fo)/3)))*3,mo=Math.pow(10,-ho),vo=lo((uo=formatSpecifier(uo),uo.type="f",uo),{suffix:prefixes[8+ho/3]});return function(Co){return vo(mo*Co)}}return{format:lo,formatPrefix:co}}var locale$1,format,formatPrefix;defaultLocale$1({thousands:",",grouping:[3],currency:["$",""]});function defaultLocale$1(Yi){return locale$1=formatLocale$1(Yi),format=locale$1.format,formatPrefix=locale$1.formatPrefix,locale$1}function precisionFixed(Yi){return Math.max(0,-exponent(Math.abs(Yi)))}function precisionPrefix(Yi,eo){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(exponent(eo)/3)))*3-exponent(Math.abs(Yi)))}function precisionRound(Yi,eo){return Yi=Math.abs(Yi),eo=Math.abs(eo)-Yi,Math.max(0,exponent(eo)-exponent(Yi))+1}function tickFormat(Yi,eo,to,ro){var no=tickStep(Yi,eo,to),io;switch(ro=formatSpecifier(ro??",f"),ro.type){case"s":{var oo=Math.max(Math.abs(Yi),Math.abs(eo));return ro.precision==null&&!isNaN(io=precisionPrefix(no,oo))&&(ro.precision=io),formatPrefix(ro,oo)}case"":case"e":case"g":case"p":case"r":{ro.precision==null&&!isNaN(io=precisionRound(no,Math.max(Math.abs(Yi),Math.abs(eo))))&&
vendor: 5,521 bytes, line 438
438(ro.precision=io-(ro.type==="e"));break}case"f":case"%":{ro.precision==null&&!isNaN(io=precisionFixed(no))&&(ro.precision=io-(ro.type==="%")*2);break}}return format(ro)}function linearish(Yi){var eo=Yi.domain;return Yi.ticks=function(to){var ro=eo();return ticks(ro[0],ro[ro.length-1],to??10)},Yi.tickFormat=function(to,ro){var no=eo();return tickFormat(no[0],no[no.length-1],to??10,ro)},Yi.nice=function(to){to==null&&(to=10);var ro=eo(),no=0,io=ro.length-1,oo=ro[no],ao=ro[io],so,lo,co=10;for(ao<oo&&(lo=oo,oo=ao,ao=lo,lo=no,no=io,io=lo);co-- >0;){if(lo=tickIncrement(oo,ao,to),lo===so)return ro[no]=oo,ro[io]=ao,eo(ro);if(lo>0)oo=Math.floor(oo/lo)*lo,ao=Math.ceil(ao/lo)*lo;else if(lo<0)oo=Math.ceil(oo*lo)/lo,ao=Math.floor(ao*lo)/lo;else break;so=lo}return Yi},Yi}function linear(){var Yi=continuous();return Yi.copy=function(){return copy$1(Yi,linear())},initRange.apply(Yi,arguments),linearish(Yi)}function identity$4(Yi){var eo;function to(ro){return ro==null||isNaN(ro=+ro)?eo:ro}return to.invert=to,to.domain=to.range=function(ro){return arguments.length?(Yi=Array.from(ro,number$1),to):Yi.slice()},to.unknown=function(ro){return arguments.length?(eo=ro,to):eo},to.copy=function(){return identity$4(Yi).unknown(eo)},Yi=arguments.length?Array.from(Yi,number$1):[0,1],linearish(to)}function nice(Yi,eo){Yi=Yi.slice();var to=0,ro=Yi.length-1,no=Yi[to],io=Yi[ro],oo;return io<no&&(oo=to,to=ro,ro=oo,oo=no,no=io,io=oo),Yi[to]=eo.floor(no),Yi[ro]=eo.ceil(io),Yi}function transformLog(Yi){return Math.log(Yi)}function transformExp(Yi){return Math.exp(Yi)}function transformLogn(Yi){return-Math.log(-Yi)}function transformExpn(Yi){return-Math.exp(-Yi)}function pow10(Yi){return isFinite(Yi)?+("1e"+Yi):Yi<0?0:Yi}function powp(Yi){return Yi===10?pow10:Yi===Math.E?Math.exp:eo=>Math.pow(Yi,eo)}function logp(Yi){return Yi===Math.E?Math.log:Yi===10&&Math.log10||Yi===2&&Math.log2||(Yi=Math.log(Yi),eo=>Math.log(eo)/Yi)}function reflect(Yi){return(eo,to)=>-Yi(-eo,to)}function loggish(Yi){const eo=Yi(transformLog,transformExp),to=eo.domain;let ro=10,no,io;function oo(){return no=logp(ro),io=powp(ro),to()[0]<0?(no=reflect(no),io=reflect(io),Yi(transformLogn,transformExpn)):Yi(transformLog,transformExp),eo}return eo.base=function(ao){return arguments.length?(ro=+ao,oo()):ro},eo.domain=function(ao){return arguments.length?(to(ao),oo()):to()},eo.ticks=ao=>{const so=to();let lo=so[0],co=so[so.length-1];const uo=co<lo;uo&&([lo,co]=[co,lo]);let fo=no(lo),ho=no(co),mo,vo;const Co=ao==null?10:+ao;let bo=[];if(!(ro%1)&&ho-fo<Co){if(fo=Math.floor(fo),ho=Math.ceil(ho),lo>0){for(;fo<=ho;++fo)for(mo=1;mo<ro;++mo)if(vo=fo<0?mo/io(-fo):mo*io(fo),!(vo<lo)){if(vo>co)break;bo.push(vo)}}else for(;fo<=ho;++fo)for(mo=ro-1;mo>=1;--mo)if(vo=fo>0?mo/io(-fo):mo*io(fo),!(vo<lo)){if(vo>co)break;bo.push(vo)}bo.length*2<Co&&(bo=ticks(lo,co,Co))}else bo=ticks(fo,ho,Math.min(ho-fo,Co)).map(io);return uo?bo.reverse():bo},eo.tickFormat=(ao,so)=>{if(ao==null&&(ao=10),so==null&&(so=ro===10?"s":","),typeof so!="function"&&(!(ro%1)&&(so=formatSpecifier(so)).precision==null&&(so.trim=!0),so=format(so)),ao===1/0)return so;const lo=Math.max(1,ro*ao/eo.ticks().length);return co=>{let uo=co/io(Math.round(no(co)));return uo*ro<ro-.5&&(uo*=ro),uo<=lo?so(co):""}},eo.nice=()=>to(nice(to(),{floor:ao=>io(Math.floor(no(ao))),ceil:ao=>io(Math.ceil(no(ao)))})),eo}function log(){const Yi=loggish(transformer$2()).domain([1,10]);return Yi.copy=()=>copy$1(Yi,log()).base(Yi.base()),initRange.apply(Yi,arguments),Yi}function transformSymlog(Yi){return function(eo){return Math.sign(eo)*Math.log1p(Math.abs(eo/Yi))}}function transformSymexp(Yi){return function(eo){return Math.sign(eo)*Math.expm1(Math.abs(eo))*Yi}}function symlogish(Yi){var eo=1,to=Yi(transformSymlog(eo),transformSymexp(eo));return to.constant=function(ro){return arguments.length?Yi(transformSymlog(eo=+ro),transformSymexp(eo)):eo},linearish(to)}function symlog(){var Yi=symlogish(transformer$2());return Yi.copy=function(){return copy$1(Yi,symlog()).constant(Yi.constant())},initRange.apply(Yi,arguments)}function transformPow(Yi){return function(eo){return eo<0?-Math.pow(-eo,Yi):Math.pow(eo,Yi)}}function transformSqrt(Yi){return Yi<0?-Math.sqrt(-Yi):Math.sqrt(Yi)}function transformSquare(Yi){return Yi<0?-Yi*Yi:Yi*Yi}function powish(Yi){var eo=Yi(identity$6,identity$6),to=1;function ro(){return to===1?Yi(identity$6,identity$6):to===.5?Yi(transformSqrt,transformSquare):Yi(transformPow(to),transformPow(1/to))}return eo.exponent=function(no){return arguments.length?(to=+no,ro()):to},linearish(eo)}function pow(){var Yi=powish(transformer$2());return Yi.copy=function(){return copy$1(Yi,pow()).exponent(Yi.exponent())},initRange.apply(Yi,arguments),Yi}function sqrt(){return pow.apply(null,arguments).exponent(.5)}function square(Yi){return Math.sign(Yi)*Yi*Yi}function unsquare(Yi){return Math.sign(Yi)*Math.sqrt(Math.abs(Yi))}function radial(){var Yi=continuous(),eo=[0,1],to=!1,ro;function no(io){var oo=unsquare(Yi(io));return isNaN(oo)?ro:to?Math.round(oo):oo}return no.invert=function(io){return Yi.invert(square(io))},no.domain=function(io){return arguments.length?(Yi.domain(io),no):Yi.domain()},no.range=function(io){return arguments.length?(Yi.range((eo=Array.from(io,number$1)).map(square)),no):eo.slice()},no.rangeRound=function(io){return no.range(io).round(!0)},no.round=function(io){return arguments.length?(to=!!io,no):to},no.clamp=function(io){return arguments.length?(Yi.clamp(io),no):Yi.clamp()},no.unknown=function(io){return arguments.length?(ro=io,no):ro}
vendor: 5,018 bytes, line 438
438,no.copy=function(){return radial(Yi.domain(),eo).round(to).clamp(Yi.clamp()).unknown(ro)},initRange.apply(no,arguments),linearish(no)}function quantile(){var Yi=[],eo=[],to=[],ro;function no(){var oo=0,ao=Math.max(1,eo.length);for(to=new Array(ao-1);++oo<ao;)to[oo-1]=quantileSorted(Yi,oo/ao);return io}function io(oo){return oo==null||isNaN(oo=+oo)?ro:eo[bisectRight(to,oo)]}return io.invertExtent=function(oo){var ao=eo.indexOf(oo);return ao<0?[NaN,NaN]:[ao>0?to[ao-1]:Yi[0],ao<to.length?to[ao]:Yi[Yi.length-1]]},io.domain=function(oo){if(!arguments.length)return Yi.slice();Yi=[];for(let ao of oo)ao!=null&&!isNaN(ao=+ao)&&Yi.push(ao);return Yi.sort(ascending),no()},io.range=function(oo){return arguments.length?(eo=Array.from(oo),no()):eo.slice()},io.unknown=function(oo){return arguments.length?(ro=oo,io):ro},io.quantiles=function(){return to.slice()},io.copy=function(){return quantile().domain(Yi).range(eo).unknown(ro)},initRange.apply(io,arguments)}function quantize(){var Yi=0,eo=1,to=1,ro=[.5],no=[0,1],io;function oo(so){return so!=null&&so<=so?no[bisectRight(ro,so,0,to)]:io}function ao(){var so=-1;for(ro=new Array(to);++so<to;)ro[so]=((so+1)*eo-(so-to)*Yi)/(to+1);return oo}return oo.domain=function(so){return arguments.length?([Yi,eo]=so,Yi=+Yi,eo=+eo,ao()):[Yi,eo]},oo.range=function(so){return arguments.length?(to=(no=Array.from(so)).length-1,ao()):no.slice()},oo.invertExtent=function(so){var lo=no.indexOf(so);return lo<0?[NaN,NaN]:lo<1?[Yi,ro[0]]:lo>=to?[ro[to-1],eo]:[ro[lo-1],ro[lo]]},oo.unknown=function(so){return arguments.length&&(io=so),oo},oo.thresholds=function(){return ro.slice()},oo.copy=function(){return quantize().domain([Yi,eo]).range(no).unknown(io)},initRange.apply(linearish(oo),arguments)}function threshold(){var Yi=[.5],eo=[0,1],to,ro=1;function no(io){return io!=null&&io<=io?eo[bisectRight(Yi,io,0,ro)]:to}return no.domain=function(io){return arguments.length?(Yi=Array.from(io),ro=Math.min(Yi.length,eo.length-1),no):Yi.slice()},no.range=function(io){return arguments.length?(eo=Array.from(io),ro=Math.min(Yi.length,eo.length-1),no):eo.slice()},no.invertExtent=function(io){var oo=eo.indexOf(io);return[Yi[oo-1],Yi[oo]]},no.unknown=function(io){return arguments.length?(to=io,no):to},no.copy=function(){return threshold().domain(Yi).range(eo).unknown(to)},initRange.apply(no,arguments)}const t0=new Date,t1=new Date;function timeInterval(Yi,eo,to,ro){function no(io){return Yi(io=arguments.length===0?new Date:new Date(+io)),io}return no.floor=io=>(Yi(io=new Date(+io)),io),no.ceil=io=>(Yi(io=new Date(io-1)),eo(io,1),Yi(io),io),no.round=io=>{const oo=no(io),ao=no.ceil(io);return io-oo<ao-io?oo:ao},no.offset=(io,oo)=>(eo(io=new Date(+io),oo==null?1:Math.floor(oo)),io),no.range=(io,oo,ao)=>{const so=[];if(io=no.ceil(io),ao=ao==null?1:Math.floor(ao),!(io<oo)||!(ao>0))return so;let lo;do so.push(lo=new Date(+io)),eo(io,ao),Yi(io);while(lo<io&&io<oo);return so},no.filter=io=>timeInterval(oo=>{if(oo>=oo)for(;Yi(oo),!io(oo);)oo.setTime(oo-1)},(oo,ao)=>{if(oo>=oo)if(ao<0)for(;++ao<=0;)for(;eo(oo,-1),!io(oo););else for(;--ao>=0;)for(;eo(oo,1),!io(oo););}),to&&(no.count=(io,oo)=>(t0.setTime(+io),t1.setTime(+oo),Yi(t0),Yi(t1),Math.floor(to(t0,t1))),no.every=io=>(io=Math.floor(io),!isFinite(io)||!(io>0)?null:io>1?no.filter(ro?oo=>ro(oo)%io===0:oo=>no.count(0,oo)%io===0):no)),no}const millisecond=timeInterval(()=>{},(Yi,eo)=>{Yi.setTime(+Yi+eo)},(Yi,eo)=>eo-Yi);millisecond.every=Yi=>(Yi=Math.floor(Yi),!isFinite(Yi)||!(Yi>0)?null:Yi>1?timeInterval(eo=>{eo.setTime(Math.floor(eo/Yi)*Yi)},(eo,to)=>{eo.setTime(+eo+to*Yi)},(eo,to)=>(to-eo)/Yi):millisecond);millisecond.range;const durationSecond=1e3,durationMinute=durationSecond*60,durationHour=durationMinute*60,durationDay=durationHour*24,durationWeek=durationDay*7,durationMonth=durationDay*30,durationYear=durationDay*365,second=timeInterval(Yi=>{Yi.setTime(Yi-Yi.getMilliseconds())},(Yi,eo)=>{Yi.setTime(+Yi+eo*durationSecond)},(Yi,eo)=>(eo-Yi)/durationSecond,Yi=>Yi.getUTCSeconds());second.range;const timeMinute=timeInterval(Yi=>{Yi.setTime(Yi-Yi.getMilliseconds()-Yi.getSeconds()*durationSecond)},(Yi,eo)=>{Yi.setTime(+Yi+eo*durationMinute)},(Yi,eo)=>(eo-Yi)/durationMinute,Yi=>Yi.getMinutes());timeMinute.range;const utcMinute=timeInterval(Yi=>{Yi.setUTCSeconds(0,0)},(Yi,eo)=>{Yi.setTime(+Yi+eo*durationMinute)},(Yi,eo)=>(eo-Yi)/durationMinute,Yi=>Yi.getUTCMinutes());utcMinute.range;const timeHour=timeInterval(Yi=>{Yi.setTime(Yi-Yi.getMilliseconds()-Yi.getSeconds()*durationSecond-Yi.getMinutes()*durationMinute)},(Yi,eo)=>{Yi.setTime(+Yi+eo*durationHour)},(Yi,eo)=>(eo-Yi)/durationHour,Yi=>Yi.getHours());timeHour.range;const utcHour=timeInterval(Yi=>{Yi.setUTCMinutes(0,0,0)},(Yi,eo)=>{Yi.setTime(+Yi+eo*durationHour)},(Yi,eo)=>(eo-Yi)/durationHour,Yi=>Yi.getUTCHours());utcHour.range;const timeDay=timeInterval(Yi=>Yi.setHours(0,0,0,0),(Yi,eo)=>Yi.setDate(Yi.getDate()+eo),(Yi,eo)=>(eo-Yi-(eo.getTimezoneOffset()-Yi.getTimezoneOffset())*durationMinute)/durationDay,Yi=>Yi.getDate()-1);timeDay.range;
vendor: 6,278 bytes, line 438
438const utcDay=timeInterval(Yi=>{Yi.setUTCHours(0,0,0,0)},(Yi,eo)=>{Yi.setUTCDate(Yi.getUTCDate()+eo)},(Yi,eo)=>(eo-Yi)/durationDay,Yi=>Yi.getUTCDate()-1);utcDay.range;const unixDay=timeInterval(Yi=>{Yi.setUTCHours(0,0,0,0)},(Yi,eo)=>{Yi.setUTCDate(Yi.getUTCDate()+eo)},(Yi,eo)=>(eo-Yi)/durationDay,Yi=>Math.floor(Yi/durationDay));unixDay.range;function timeWeekday(Yi){return timeInterval(eo=>{eo.setDate(eo.getDate()-(eo.getDay()+7-Yi)%7),eo.setHours(0,0,0,0)},(eo,to)=>{eo.setDate(eo.getDate()+to*7)},(eo,to)=>(to-eo-(to.getTimezoneOffset()-eo.getTimezoneOffset())*durationMinute)/durationWeek)}const timeSunday=timeWeekday(0),timeMonday=timeWeekday(1),timeTuesday=timeWeekday(2),timeWednesday=timeWeekday(3),timeThursday=timeWeekday(4),timeFriday=timeWeekday(5),timeSaturday=timeWeekday(6);timeSunday.range;timeMonday.range;timeTuesday.range;timeWednesday.range;timeThursday.range;timeFriday.range;timeSaturday.range;function utcWeekday(Yi){return timeInterval(eo=>{eo.setUTCDate(eo.getUTCDate()-(eo.getUTCDay()+7-Yi)%7),eo.setUTCHours(0,0,0,0)},(eo,to)=>{eo.setUTCDate(eo.getUTCDate()+to*7)},(eo,to)=>(to-eo)/durationWeek)}const utcSunday=utcWeekday(0),utcMonday=utcWeekday(1),utcTuesday=utcWeekday(2),utcWednesday=utcWeekday(3),utcThursday=utcWeekday(4),utcFriday=utcWeekday(5),utcSaturday=utcWeekday(6);utcSunday.range;utcMonday.range;utcTuesday.range;utcWednesday.range;utcThursday.range;utcFriday.range;utcSaturday.range;const timeMonth=timeInterval(Yi=>{Yi.setDate(1),Yi.setHours(0,0,0,0)},(Yi,eo)=>{Yi.setMonth(Yi.getMonth()+eo)},(Yi,eo)=>eo.getMonth()-Yi.getMonth()+(eo.getFullYear()-Yi.getFullYear())*12,Yi=>Yi.getMonth());timeMonth.range;const utcMonth=timeInterval(Yi=>{Yi.setUTCDate(1),Yi.setUTCHours(0,0,0,0)},(Yi,eo)=>{Yi.setUTCMonth(Yi.getUTCMonth()+eo)},(Yi,eo)=>eo.getUTCMonth()-Yi.getUTCMonth()+(eo.getUTCFullYear()-Yi.getUTCFullYear())*12,Yi=>Yi.getUTCMonth());utcMonth.range;const timeYear=timeInterval(Yi=>{Yi.setMonth(0,1),Yi.setHours(0,0,0,0)},(Yi,eo)=>{Yi.setFullYear(Yi.getFullYear()+eo)},(Yi,eo)=>eo.getFullYear()-Yi.getFullYear(),Yi=>Yi.getFullYear());timeYear.every=Yi=>!isFinite(Yi=Math.floor(Yi))||!(Yi>0)?null:timeInterval(eo=>{eo.setFullYear(Math.floor(eo.getFullYear()/Yi)*Yi),eo.setMonth(0,1),eo.setHours(0,0,0,0)},(eo,to)=>{eo.setFullYear(eo.getFullYear()+to*Yi)});timeYear.range;const utcYear=timeInterval(Yi=>{Yi.setUTCMonth(0,1),Yi.setUTCHours(0,0,0,0)},(Yi,eo)=>{Yi.setUTCFullYear(Yi.getUTCFullYear()+eo)},(Yi,eo)=>eo.getUTCFullYear()-Yi.getUTCFullYear(),Yi=>Yi.getUTCFullYear());utcYear.every=Yi=>!isFinite(Yi=Math.floor(Yi))||!(Yi>0)?null:timeInterval(eo=>{eo.setUTCFullYear(Math.floor(eo.getUTCFullYear()/Yi)*Yi),eo.setUTCMonth(0,1),eo.setUTCHours(0,0,0,0)},(eo,to)=>{eo.setUTCFullYear(eo.getUTCFullYear()+to*Yi)});utcYear.range;function ticker(Yi,eo,to,ro,no,io){const oo=[[second,1,durationSecond],[second,5,5*durationSecond],[second,15,15*durationSecond],[second,30,30*durationSecond],[io,1,durationMinute],[io,5,5*durationMinute],[io,15,15*durationMinute],[io,30,30*durationMinute],[no,1,durationHour],[no,3,3*durationHour],[no,6,6*durationHour],[no,12,12*durationHour],[ro,1,durationDay],[ro,2,2*durationDay],[to,1,durationWeek],[eo,1,durationMonth],[eo,3,3*durationMonth],[Yi,1,durationYear]];function ao(lo,co,uo){const fo=co<lo;fo&&([lo,co]=[co,lo]);const ho=uo&&typeof uo.range=="function"?uo:so(lo,co,uo),mo=ho?ho.range(lo,+co+1):[];return fo?mo.reverse():mo}function so(lo,co,uo){const fo=Math.abs(co-lo)/uo,ho=bisector(([,,Co])=>Co).right(oo,fo);if(ho===oo.length)return Yi.every(tickStep(lo/durationYear,co/durationYear,uo));if(ho===0)return millisecond.every(Math.max(tickStep(lo,co,uo),1));const[mo,vo]=oo[fo/oo[ho-1][2]<oo[ho][2]/fo?ho-1:ho];return mo.every(vo)}return[ao,so]}const[utcTicks,utcTickInterval]=ticker(utcYear,utcMonth,utcSunday,unixDay,utcHour,utcMinute),[timeTicks,timeTickInterval]=ticker(timeYear,timeMonth,timeSunday,timeDay,timeHour,timeMinute);function localDate(Yi){if(0<=Yi.y&&Yi.y<100){var eo=new Date(-1,Yi.m,Yi.d,Yi.H,Yi.M,Yi.S,Yi.L);return eo.setFullYear(Yi.y),eo}return new Date(Yi.y,Yi.m,Yi.d,Yi.H,Yi.M,Yi.S,Yi.L)}function utcDate(Yi){if(0<=Yi.y&&Yi.y<100){var eo=new Date(Date.UTC(-1,Yi.m,Yi.d,Yi.H,Yi.M,Yi.S,Yi.L));return eo.setUTCFullYear(Yi.y),eo}return new Date(Date.UTC(Yi.y,Yi.m,Yi.d,Yi.H,Yi.M,Yi.S,Yi.L))}function newDate(Yi,eo,to){return{y:Yi,m:eo,d:to,H:0,M:0,S:0,L:0}}function formatLocale(Yi){var eo=Yi.dateTime,to=Yi.date,ro=Yi.time,no=Yi.periods,io=Yi.days,oo=Yi.shortDays,ao=Yi.months,so=Yi.shortMonths,lo=formatRe(no),co=formatLookup(no),uo=formatRe(io),fo=formatLookup(io),ho=formatRe(oo),mo=formatLookup(oo),vo=formatRe(ao),Co=formatLookup(ao),bo=formatRe(so),wo=formatLookup(so),yo={a:ko,A:Bo,b:Fo,B:Qo,c:null,d:formatDayOfMonth,e:formatDayOfMonth,f:formatMicroseconds,g:formatYearISO,G:formatFullYearISO,H:formatHour24,I:formatHour12,j:formatDayOfYear,L:formatMilliseconds,m:formatMonthNumber,M:formatMinutes,p:jo,q:Xo,Q:formatUnixTimestamp,s:formatUnixTimestampSeconds,S:formatSeconds,u:formatWeekdayNumberMonday,U:formatWeekNumberSunday,V:formatWeekNumberISO,w:formatWeekdayNumberSunday,W:formatWeekNumberMonday,x:null,X:null,y:formatYear,Y:formatFullYear,Z:formatZone,"%":formatLiteralPercent},Eo={a:Zo,A:Wo,b:ta,B:ra,c:null,d:formatUTCDayOfMonth,e:formatUTCDayOfMonth,f:formatUTCMicroseconds,g:formatUTCYearISO,G:formatUTCFullYearISO,H:formatUTCHour24,I:formatUTCHour12,j:formatUTCDayOfYear,L:formatUTCMilliseconds,m:formatUTCMonthNumber,M:formatUTCMinutes,p:da,q:pa,Q:formatUnixTimestamp,s:formatUnixTimestampSeconds,S:formatUTCSeconds,u:formatUTCWeekdayNumberMonday,U:formatUTCWeekNumberSunday,V:formatUTCWeekNumberISO,w:formatUTCWeekdayNumberSunday,W:formatUTCWeekNumberMonday,x:null,X:null,y:formatUTCYear,Y:formatUTCFullYear,Z:formatUTCZone,"%":formatLiteralPercent},xo={a:zo,A:Ho,b:Vo,B:Lo,c:Uo,d:parseDayOfMonth,e:parseDayOfMonth,f:parseMicroseconds,g:parseYear,G:parseFullYear,H:parseHour24,I:parseHour24,j:parseDayOfYear,L:parseMilliseconds,m:parseMonthNumber,M:parseMinutes,p:Po,q:parseQuarter,Q:parseUnixTimestamp,s:parseUnixTimestampSeconds,S:parseSeconds,u:parseWeekdayNumberMonday,U:parseWeekNumberSunday,V:parseWeekNumberISO,w:parseWeekdayNumberSunday,W:parseWeekNumberMonday,x:Do,X:Oo,y:parseYear,Y:parseFullYear,Z:parseZone,"%":parseLiteralPercent};
vendor: 7,750 bytes, line 438
438yo.x=So(to,yo),yo.X=So(ro,yo),yo.c=So(eo,yo),Eo.x=So(to,Eo),Eo.X=So(ro,Eo),Eo.c=So(eo,Eo);function So(sa,ya){return function(na){var ea=[],oa=-1,la=0,_a=sa.length,Ea,Pa,aa;for(na instanceof Date||(na=new Date(+na));++oa<_a;)sa.charCodeAt(oa)===37&&(ea.push(sa.slice(la,oa)),(Pa=pads[Ea=sa.charAt(++oa)])!=null?Ea=sa.charAt(++oa):Pa=Ea==="e"?" ":"0",(aa=ya[Ea])&&(Ea=aa(na,Pa)),ea.push(Ea),la=oa+1);return ea.push(sa.slice(la,oa)),ea.join("")}}function To(sa,ya){return function(na){var ea=newDate(1900,void 0,1),oa=Ro(ea,sa,na+="",0),la,_a;if(oa!=na.length)return null;if("Q"in ea)return new Date(ea.Q);if("s"in ea)return new Date(ea.s*1e3+("L"in ea?ea.L:0));if(ya&&!("Z"in ea)&&(ea.Z=0),"p"in ea&&(ea.H=ea.H%12+ea.p*12),ea.m===void 0&&(ea.m="q"in ea?ea.q:0),"V"in ea){if(ea.V<1||ea.V>53)return null;"w"in ea||(ea.w=1),"Z"in ea?(la=utcDate(newDate(ea.y,0,1)),_a=la.getUTCDay(),la=_a>4||_a===0?utcMonday.ceil(la):utcMonday(la),la=utcDay.offset(la,(ea.V-1)*7),ea.y=la.getUTCFullYear(),ea.m=la.getUTCMonth(),ea.d=la.getUTCDate()+(ea.w+6)%7):(la=localDate(newDate(ea.y,0,1)),_a=la.getDay(),la=_a>4||_a===0?timeMonday.ceil(la):timeMonday(la),la=timeDay.offset(la,(ea.V-1)*7),ea.y=la.getFullYear(),ea.m=la.getMonth(),ea.d=la.getDate()+(ea.w+6)%7)}else("W"in ea||"U"in ea)&&("w"in ea||(ea.w="u"in ea?ea.u%7:"W"in ea?1:0),_a="Z"in ea?utcDate(newDate(ea.y,0,1)).getUTCDay():localDate(newDate(ea.y,0,1)).getDay(),ea.m=0,ea.d="W"in ea?(ea.w+6)%7+ea.W*7-(_a+5)%7:ea.w+ea.U*7-(_a+6)%7);return"Z"in ea?(ea.H+=ea.Z/100|0,ea.M+=ea.Z%100,utcDate(ea)):localDate(ea)}}function Ro(sa,ya,na,ea){for(var oa=0,la=ya.length,_a=na.length,Ea,Pa;oa<la;){if(ea>=_a)return-1;if(Ea=ya.charCodeAt(oa++),Ea===37){if(Ea=ya.charAt(oa++),Pa=xo[Ea in pads?ya.charAt(oa++):Ea],!Pa||(ea=Pa(sa,na,ea))<0)return-1}else if(Ea!=na.charCodeAt(ea++))return-1}return ea}function Po(sa,ya,na){var ea=lo.exec(ya.slice(na));return ea?(sa.p=co.get(ea[0].toLowerCase()),na+ea[0].length):-1}function zo(sa,ya,na){var ea=ho.exec(ya.slice(na));return ea?(sa.w=mo.get(ea[0].toLowerCase()),na+ea[0].length):-1}function Ho(sa,ya,na){var ea=uo.exec(ya.slice(na));return ea?(sa.w=fo.get(ea[0].toLowerCase()),na+ea[0].length):-1}function Vo(sa,ya,na){var ea=bo.exec(ya.slice(na));return ea?(sa.m=wo.get(ea[0].toLowerCase()),na+ea[0].length):-1}function Lo(sa,ya,na){var ea=vo.exec(ya.slice(na));return ea?(sa.m=Co.get(ea[0].toLowerCase()),na+ea[0].length):-1}function Uo(sa,ya,na){return Ro(sa,eo,ya,na)}function Do(sa,ya,na){return Ro(sa,to,ya,na)}function Oo(sa,ya,na){return Ro(sa,ro,ya,na)}function ko(sa){return oo[sa.getDay()]}function Bo(sa){return io[sa.getDay()]}function Fo(sa){return so[sa.getMonth()]}function Qo(sa){return ao[sa.getMonth()]}function jo(sa){return no[+(sa.getHours()>=12)]}function Xo(sa){return 1+~~(sa.getMonth()/3)}function Zo(sa){return oo[sa.getUTCDay()]}function Wo(sa){return io[sa.getUTCDay()]}function ta(sa){return so[sa.getUTCMonth()]}function ra(sa){return ao[sa.getUTCMonth()]}function da(sa){return no[+(sa.getUTCHours()>=12)]}function pa(sa){return 1+~~(sa.getUTCMonth()/3)}return{format:function(sa){var ya=So(sa+="",yo);return ya.toString=function(){return sa},ya},parse:function(sa){var ya=To(sa+="",!1);return ya.toString=function(){return sa},ya},utcFormat:function(sa){var ya=So(sa+="",Eo);return ya.toString=function(){return sa},ya},utcParse:function(sa){var ya=To(sa+="",!0);return ya.toString=function(){return sa},ya}}}var pads={"-":"",_:" ",0:"0"},numberRe=/^\s*\d+/,percentRe=/^%/,requoteRe=/[\\^$*+?|[\]().{}]/g;function pad(Yi,eo,to){var ro=Yi<0?"-":"",no=(ro?-Yi:Yi)+"",io=no.length;return ro+(io<to?new Array(to-io+1).join(eo)+no:no)}function requote(Yi){return Yi.replace(requoteRe,"\\$&")}function formatRe(Yi){return new RegExp("^(?:"+Yi.map(requote).join("|")+")","i")}function formatLookup(Yi){return new Map(Yi.map((eo,to)=>[eo.toLowerCase(),to]))}function parseWeekdayNumberSunday(Yi,eo,to){var ro=numberRe.exec(eo.slice(to,to+1));return ro?(Yi.w=+ro[0],to+ro[0].length):-1}function parseWeekdayNumberMonday(Yi,eo,to){var ro=numberRe.exec(eo.slice(to,to+1));return ro?(Yi.u=+ro[0],to+ro[0].length):-1}function parseWeekNumberSunday(Yi,eo,to){var ro=numberRe.exec(eo.slice(to,to+2));return ro?(Yi.U=+ro[0],to+ro[0].length):-1}function parseWeekNumberISO(Yi,eo,to){var ro=numberRe.exec(eo.slice(to,to+2));return ro?(Yi.V=+ro[0],to+ro[0].length):-1}function parseWeekNumberMonday(Yi,eo,to){var ro=numberRe.exec(eo.slice(to,to+2));return ro?(Yi.W=+ro[0],to+ro[0].length):-1}function parseFullYear(Yi,eo,to){var ro=numberRe.exec(eo.slice(to,to+4));return ro?(Yi.y=+ro[0],to+ro[0].length):-1}function parseYear(Yi,eo,to){var ro=numberRe.exec(eo.slice(to,to+2));return ro?(Yi.y=+ro[0]+(+ro[0]>68?1900:2e3),to+ro[0].length):-1}function parseZone(Yi,eo,to){var ro=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(eo.slice(to,to+6));return ro?(Yi.Z=ro[1]?0:-(ro[2]+(ro[3]||"00")),to+ro[0].length):-1}function parseQuarter(Yi,eo,to){var ro=numberRe.exec(eo.slice(to,to+1));return ro?(Yi.q=ro[0]*3-3,to+ro[0].length):-1}function parseMonthNumber(Yi,eo,to){var ro=numberRe.exec(eo.slice(to,to+2));return ro?(Yi.m=ro[0]-1,to+ro[0].length):-1}function parseDayOfMonth(Yi,eo,to){var ro=numberRe.exec(eo.slice(to,to+2));return ro?(Yi.d=+ro[0],to+ro[0].length):-1}function parseDayOfYear(Yi,eo,to){var ro=numberRe.exec(eo.slice(to,to+3));return ro?(Yi.m=0,Yi.d=+ro[0],to+ro[0].length):-1}function parseHour24(Yi,eo,to){var ro=numberRe.exec(eo.slice(to,to+2));return ro?(Yi.H=+ro[0],to+ro[0].length):-1}function parseMinutes(Yi,eo,to){var ro=numberRe.exec(eo.slice(to,to+2));return ro?(Yi.M=+ro[0],to+ro[0].length):-1}function parseSeconds(Yi,eo,to){var ro=numberRe.exec(eo.slice(to,to+2));return ro?(Yi.S=+ro[0],to+ro[0].length):-1}function parseMilliseconds(Yi,eo,to){var ro=numberRe.exec(eo.slice(to,to+3));return ro?(Yi.L=+ro[0],to+ro[0].length):-1}function parseMicroseconds(Yi,eo,to){var ro=numberRe.exec(eo.slice(to,to+6));return ro?(Yi.L=Math.floor(ro[0]/1e3),to+ro[0].length):-1}function parseLiteralPercent(Yi,eo,to){var ro=percentRe.exec(eo.slice(to,to+1));return ro?to+ro[0].length:-1}function parseUnixTimestamp(Yi,eo,to){var ro=numberRe.exec(eo.slice(to));return ro?(Yi.Q=+ro[0],to+ro[0].length):-1}function parseUnixTimestampSeconds(Yi,eo,to){var ro=numberRe.exec(eo.slice(to));return ro?(Yi.s=+ro[0],to+ro[0].length):-1}function formatDayOfMonth(Yi,eo){return pad(Yi.getDate(),eo,2)}function formatHour24(Yi,eo){return pad(Yi.getHours(),eo,2)}function formatHour12(Yi,eo){return pad(Yi.getHours()%12||12,eo,2)}function formatDayOfYear(Yi,eo){return pad(1+timeDay.count(timeYear(Yi),Yi),eo,3)}function formatMilliseconds(Yi,eo){return pad(Yi.getMilliseconds(),eo,3)}function formatMicroseconds(Yi,eo){return formatMilliseconds(Yi,eo)+"000"}function formatMonthNumber(Yi,eo){return pad(Yi.getMonth()+1,eo,2)}function formatMinutes(Yi,eo){return pad(Yi.getMinutes(),eo,2)}function formatSeconds(Yi,eo){return pad(Yi.getSeconds(),eo,2)}function formatWeekdayNumberMonday(Yi){var eo=Yi.getDay();return eo===0?7:eo}function formatWeekNumberSunday(Yi,eo){return pad(timeSunday.count(timeYear(Yi)-1,Yi),eo,2)}function dISO(Yi){var eo=Yi.getDay();return eo>=4||eo===0?timeThursday(Yi):timeThursday.ceil(Yi)}function formatWeekNumberISO(Yi,eo){return Yi=dISO(Yi),pad(timeThursday.count(timeYear(Yi),Yi)+(timeYear(Yi).getDay()===4),eo,2)}function formatWeekdayNumberSunday(Yi){return Yi.getDay()}function formatWeekNumberMonday(Yi,eo){return pad(timeMonday.count(timeYear(Yi)-1,Yi),eo,2)}function formatYear(Yi,eo){return pad(Yi.getFullYear()%100,eo,2)}function formatYearISO(Yi,eo){return Yi=dISO(Yi),pad(Yi.getFullYear()%100,eo,2)}function formatFullYear(Yi,eo){return pad(Yi.getFullYear()%1e4,eo,4)}function formatFullYearISO(Yi,eo){var to=Yi.getDay();return Yi=to>
vendor: 6,158 bytes, line 438
438=4||to===0?timeThursday(Yi):timeThursday.ceil(Yi),pad(Yi.getFullYear()%1e4,eo,4)}function formatZone(Yi){var eo=Yi.getTimezoneOffset();return(eo>0?"-":(eo*=-1,"+"))+pad(eo/60|0,"0",2)+pad(eo%60,"0",2)}function formatUTCDayOfMonth(Yi,eo){return pad(Yi.getUTCDate(),eo,2)}function formatUTCHour24(Yi,eo){return pad(Yi.getUTCHours(),eo,2)}function formatUTCHour12(Yi,eo){return pad(Yi.getUTCHours()%12||12,eo,2)}function formatUTCDayOfYear(Yi,eo){return pad(1+utcDay.count(utcYear(Yi),Yi),eo,3)}function formatUTCMilliseconds(Yi,eo){return pad(Yi.getUTCMilliseconds(),eo,3)}function formatUTCMicroseconds(Yi,eo){return formatUTCMilliseconds(Yi,eo)+"000"}function formatUTCMonthNumber(Yi,eo){return pad(Yi.getUTCMonth()+1,eo,2)}function formatUTCMinutes(Yi,eo){return pad(Yi.getUTCMinutes(),eo,2)}function formatUTCSeconds(Yi,eo){return pad(Yi.getUTCSeconds(),eo,2)}function formatUTCWeekdayNumberMonday(Yi){var eo=Yi.getUTCDay();return eo===0?7:eo}function formatUTCWeekNumberSunday(Yi,eo){return pad(utcSunday.count(utcYear(Yi)-1,Yi),eo,2)}function UTCdISO(Yi){var eo=Yi.getUTCDay();return eo>=4||eo===0?utcThursday(Yi):utcThursday.ceil(Yi)}function formatUTCWeekNumberISO(Yi,eo){return Yi=UTCdISO(Yi),pad(utcThursday.count(utcYear(Yi),Yi)+(utcYear(Yi).getUTCDay()===4),eo,2)}function formatUTCWeekdayNumberSunday(Yi){return Yi.getUTCDay()}function formatUTCWeekNumberMonday(Yi,eo){return pad(utcMonday.count(utcYear(Yi)-1,Yi),eo,2)}function formatUTCYear(Yi,eo){return pad(Yi.getUTCFullYear()%100,eo,2)}function formatUTCYearISO(Yi,eo){return Yi=UTCdISO(Yi),pad(Yi.getUTCFullYear()%100,eo,2)}function formatUTCFullYear(Yi,eo){return pad(Yi.getUTCFullYear()%1e4,eo,4)}function formatUTCFullYearISO(Yi,eo){var to=Yi.getUTCDay();return Yi=to>=4||to===0?utcThursday(Yi):utcThursday.ceil(Yi),pad(Yi.getUTCFullYear()%1e4,eo,4)}function formatUTCZone(){return"+0000"}function formatLiteralPercent(){return"%"}function formatUnixTimestamp(Yi){return+Yi}function formatUnixTimestampSeconds(Yi){return Math.floor(+Yi/1e3)}var locale,timeFormat,utcFormat;defaultLocale({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function defaultLocale(Yi){return locale=formatLocale(Yi),timeFormat=locale.format,locale.parse,utcFormat=locale.utcFormat,locale.utcParse,locale}function date(Yi){return new Date(Yi)}function number(Yi){return Yi instanceof Date?+Yi:+new Date(+Yi)}function calendar(Yi,eo,to,ro,no,io,oo,ao,so,lo){var co=continuous(),uo=co.invert,fo=co.domain,ho=lo(".%L"),mo=lo(":%S"),vo=lo("%I:%M"),Co=lo("%I %p"),bo=lo("%a %d"),wo=lo("%b %d"),yo=lo("%B"),Eo=lo("%Y");function xo(So){return(so(So)<So?ho:ao(So)<So?mo:oo(So)<So?vo:io(So)<So?Co:ro(So)<So?no(So)<So?bo:wo:to(So)<So?yo:Eo)(So)}return co.invert=function(So){return new Date(uo(So))},co.domain=function(So){return arguments.length?fo(Array.from(So,number)):fo().map(date)},co.ticks=function(So){var To=fo();return Yi(To[0],To[To.length-1],So??10)},co.tickFormat=function(So,To){return To==null?xo:lo(To)},co.nice=function(So){var To=fo();return(!So||typeof So.range!="function")&&(So=eo(To[0],To[To.length-1],So??10)),So?fo(nice(To,So)):co},co.copy=function(){return copy$1(co,calendar(Yi,eo,to,ro,no,io,oo,ao,so,lo))},co}function time(){return initRange.apply(calendar(timeTicks,timeTickInterval,timeYear,timeMonth,timeSunday,timeDay,timeHour,timeMinute,second,timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function utcTime(){return initRange.apply(calendar(utcTicks,utcTickInterval,utcYear,utcMonth,utcSunday,utcDay,utcHour,utcMinute,second,utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function transformer$1(){var Yi=0,eo=1,to,ro,no,io,oo=identity$6,ao=!1,so;function lo(uo){return uo==null||isNaN(uo=+uo)?so:oo(no===0?.5:(uo=(io(uo)-to)*no,ao?Math.max(0,Math.min(1,uo)):uo))}lo.domain=function(uo){return arguments.length?([Yi,eo]=uo,to=io(Yi=+Yi),ro=io(eo=+eo),no=to===ro?0:1/(ro-to),lo):[Yi,eo]},lo.clamp=function(uo){return arguments.length?(ao=!!uo,lo):ao},lo.interpolator=function(uo){return arguments.length?(oo=uo,lo):oo};function co(uo){return function(fo){var ho,mo;return arguments.length?([ho,mo]=fo,oo=uo(ho,mo),lo):[oo(0),oo(1)]}}return lo.range=co(interpolate),lo.rangeRound=co(interpolateRound),lo.unknown=function(uo){return arguments.length?(so=uo,lo):so},function(uo){return io=uo,to=uo(Yi),ro=uo(eo),no=to===ro?0:1/(ro-to),lo}}function copy(Yi,eo){return eo.domain(Yi.domain()).interpolator(Yi.interpolator()).clamp(Yi.clamp()).unknown(Yi.unknown())}function sequential(){var Yi=linearish(transformer$1()(identity$6));return Yi.copy=function(){return copy(Yi,sequential())},initInterpolator.apply(Yi,arguments)}function sequentialLog(){var Yi=loggish(transformer$1()).domain([1,10]);return Yi.copy=function(){return copy(Yi,sequentialLog()).base(Yi.base())},initInterpolator.apply(Yi,arguments)}function sequentialSymlog(){var Yi=symlogish(transformer$1());return Yi.copy=function(){return copy(Yi,sequentialSymlog()).constant(Yi.constant())},initInterpolator.apply(Yi,arguments)}function sequentialPow(){var Yi=powish(transformer$1());return Yi.copy=function(){return copy(Yi,sequentialPow()).exponent(Yi.exponent())},initInterpolator.apply(Yi,arguments)}function sequentialSqrt(){return sequentialPow.apply(null,arguments).exponent(.5)}function sequentialQuantile(){var Yi=[],eo=identity$6;function to(ro){if(ro!=null&&!isNaN(ro=+ro))return eo((bisectRight(Yi,ro,1)-1)/(Yi.length-1))}return to.domain=function(ro){if(!arguments.length)return Yi.slice();Yi=[];for(let no of ro)no!=null&&!isNaN(no=+no)&&Yi.push(no);return Yi.sort(ascending),to},to.interpolator=function(ro){return arguments.length?(eo=ro,to):eo},to.range=function(){return Yi.map((ro,no)=>eo(no/(Yi.length-1)))},to.quantiles=function(ro){return Array.from({length:ro+1},(no,io)=>quantile$1(Yi,io/ro))}
vendor: 87,759 bytes, lines 438-464
438,to.copy=function(){return sequentialQuantile(eo).domain(Yi)},initInterpolator.apply(to,arguments)}function transformer(){var Yi=0,eo=.5,to=1,ro=1,no,io,oo,ao,so,lo=identity$6,co,uo=!1,fo;function ho(vo){return isNaN(vo=+vo)?fo:(vo=.5+((vo=+co(vo))-io)*(ro*vo<ro*io?ao:so),lo(uo?Math.max(0,Math.min(1,vo)):vo))}ho.domain=function(vo){return arguments.length?([Yi,eo,to]=vo,no=co(Yi=+Yi),io=co(eo=+eo),oo=co(to=+to),ao=no===io?0:.5/(io-no),so=io===oo?0:.5/(oo-io),ro=io<no?-1:1,ho):[Yi,eo,to]},ho.clamp=function(vo){return arguments.length?(uo=!!vo,ho):uo},ho.interpolator=function(vo){return arguments.length?(lo=vo,ho):lo};function mo(vo){return function(Co){var bo,wo,yo;return arguments.length?([bo,wo,yo]=Co,lo=piecewise(vo,[bo,wo,yo]),ho):[lo(0),lo(.5),lo(1)]}}return ho.range=mo(interpolate),ho.rangeRound=mo(interpolateRound),ho.unknown=function(vo){return arguments.length?(fo=vo,ho):fo},function(vo){return co=vo,no=vo(Yi),io=vo(eo),oo=vo(to),ao=no===io?0:.5/(io-no),so=io===oo?0:.5/(oo-io),ro=io<no?-1:1,ho}}function diverging(){var Yi=linearish(transformer()(identity$6));return Yi.copy=function(){return copy(Yi,diverging())},initInterpolator.apply(Yi,arguments)}function divergingLog(){var Yi=loggish(transformer()).domain([.1,1,10]);return Yi.copy=function(){return copy(Yi,divergingLog()).base(Yi.base())},initInterpolator.apply(Yi,arguments)}function divergingSymlog(){var Yi=symlogish(transformer());return Yi.copy=function(){return copy(Yi,divergingSymlog()).constant(Yi.constant())},initInterpolator.apply(Yi,arguments)}function divergingPow(){var Yi=powish(transformer());return Yi.copy=function(){return copy(Yi,divergingPow()).exponent(Yi.exponent())},initInterpolator.apply(Yi,arguments)}function divergingSqrt(){return divergingPow.apply(null,arguments).exponent(.5)}const d3Scales=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:band,scaleDiverging:diverging,scaleDivergingLog:divergingLog,scaleDivergingPow:divergingPow,scaleDivergingSqrt:divergingSqrt,scaleDivergingSymlog:divergingSymlog,scaleIdentity:identity$4,scaleImplicit:implicit,scaleLinear:linear,scaleLog:log,scaleOrdinal:ordinal,scalePoint:point,scalePow:pow,scaleQuantile:quantile,scaleQuantize:quantize,scaleRadial:radial,scaleSequential:sequential,scaleSequentialLog:sequentialLog,scaleSequentialPow:sequentialPow,scaleSequentialQuantile:sequentialQuantile,scaleSequentialSqrt:sequentialSqrt,scaleSequentialSymlog:sequentialSymlog,scaleSqrt:sqrt,scaleSymlog:symlog,scaleThreshold:threshold,scaleTime:time,scaleUtc:utcTime,tickFormat},Symbol.toStringTag,{value:"Module"}));var isSymbol=isSymbol_1;function baseExtremum$2(Yi,eo,to){for(var ro=-1,no=Yi.length;++ro<no;){var io=Yi[ro],oo=eo(io);if(oo!=null&&(ao===void 0?oo===oo&&!isSymbol(oo):to(oo,ao)))var ao=oo,so=io}return so}var _baseExtremum=baseExtremum$2;function baseGt$1(Yi,eo){return Yi>eo}var _baseGt=baseGt$1,baseExtremum$1=_baseExtremum,baseGt=_baseGt,identity$3=identity_1;function max(Yi){return Yi&&Yi.length?baseExtremum$1(Yi,identity$3,baseGt):void 0}var max_1=max;const max$1=getDefaultExportFromCjs(max_1);function baseLt$1(Yi,eo){return Yi<eo}var _baseLt=baseLt$1,baseExtremum=_baseExtremum,baseLt=_baseLt,identity$2=identity_1;function min(Yi){return Yi&&Yi.length?baseExtremum(Yi,identity$2,baseLt):void 0}var min_1=min;const min$1=getDefaultExportFromCjs(min_1);var arrayMap=_arrayMap,baseIteratee$3=_baseIteratee,baseMap=_baseMap,isArray$3=isArray_1;function map$2(Yi,eo){var to=isArray$3(Yi)?arrayMap:baseMap;return to(Yi,baseIteratee$3(eo))}var map_1=map$2,baseFlatten=_baseFlatten,map$1=map_1;function flatMap(Yi,eo){return baseFlatten(map$1(Yi,eo),1)}var flatMap_1=flatMap;const flatMap$1=getDefaultExportFromCjs(flatMap_1);var baseIsEqual=_baseIsEqual;function isEqual(Yi,eo){return baseIsEqual(Yi,eo)}var isEqual_1=isEqual;const isEqual$1=getDefaultExportFromCjs(isEqual_1);var MAX_DIGITS=1e9,defaults$1={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},Decimal,external=!0,decimalError="[DecimalError] ",invalidArgument=decimalError+"Invalid argument: ",exponentOutOfRange=decimalError+"Exponent out of range: ",mathfloor=Math.floor,mathpow=Math.pow,isDecimal=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,ONE,BASE=1e7,LOG_BASE=7,MAX_SAFE_INTEGER=9007199254740991,MAX_E=mathfloor(MAX_SAFE_INTEGER/LOG_BASE),P$1={};P$1.absoluteValue=P$1.abs=function(){var Yi=new this.constructor(this);return Yi.s&&(Yi.s=1),Yi};P$1.comparedTo=P$1.cmp=function(Yi){var eo,to,ro,no,io=this;if(Yi=new io.constructor(Yi),io.s!==Yi.s)return io.s||-Yi.s;if(io.e!==Yi.e)return io.e>Yi.e^io.s<0?1:-1;for(ro=io.d.length,no=Yi.d.length,eo=0,to=ro<no?ro:no;eo<to;++eo)if(io.d[eo]!==Yi.d[eo])return io.d[eo]>Yi.d[eo]^io.s<0?1:-1;return ro===no?0:ro>no^io.s<0?1:-1};P$1.decimalPlaces=P$1.dp=function(){var Yi=this,eo=Yi.d.length-1,to=(eo-Yi.e)*LOG_BASE;if(eo=Yi.d[eo],eo)for(;eo%10==0;eo/=10)to--;return to<0?0:to};P$1.dividedBy=P$1.div=function(Yi){return divide(this,new this.constructor(Yi))};P$1.dividedToIntegerBy=P$1.idiv=function(Yi){var eo=this,to=eo.constructor;return round(divide(eo,new to(Yi),0,1),to.precision)};P$1.equals=P$1.eq=function(Yi){return!this.cmp(Yi)};P$1.exponent=function(){return getBase10Exponent(this)};P$1.greaterThan=P$1.gt=function(Yi){return this.cmp(Yi)>0};P$1.greaterThanOrEqualTo=P$1.gte=function(Yi){return this.cmp(Yi)>=0};P$1.isInteger=P$1.isint=function(){return this.e>this.d.length-2};P$1.isNegative=P$1.isneg=function(){return this.s<0};P$1.isPositive=P$1.ispos=function(){return this.s>0};P$1.isZero=function(){return this.s===0};P$1.lessThan=P$1.lt=function(Yi){return this.cmp(Yi)<0};P$1.lessThanOrEqualTo=P$1.lte=function(Yi){return this.cmp(Yi)<1};P$1.logarithm=P$1.log=function(Yi){var eo,to=this,ro=to.constructor,no=ro.precision,io=no+5;if(Yi===void 0)Yi=new ro(10);else if(Yi=new ro(Yi),Yi.s<1||Yi.eq(ONE))throw Error(decimalError+"NaN");if(to.s<1)throw Error(decimalError+(to.s?"NaN":"-Infinity"));return to.eq(ONE)?new ro(0):(external=!1,eo=divide(ln(to,io),ln(Yi,io),io),external=!0,round(eo,no))};P$1.minus=P$1.sub=function(Yi){var eo=this;return Yi=new eo.constructor(Yi),eo.s==Yi.s?subtract(eo,Yi):add(eo,(Yi.s=-Yi.s,Yi))};P$1.modulo=P$1.mod=function(Yi){var eo,to=this,ro=to.constructor,no=ro.precision;if(Yi=new ro(Yi),!Yi.s)throw Error(decimalError+"NaN");return to.s?(external=!1,eo=divide(to,Yi,0,1).times(Yi),external=!0,to.minus(eo)):round(new ro(to),no)};P$1.naturalExponential=P$1.exp=function(){return exp(this)};P$1.naturalLogarithm=P$1.ln=function(){return ln(this)};P$1.negated=P$1.neg=function(){var Yi=new this.constructor(this);return Yi.s=-Yi.s||0,Yi};P$1.plus=P$1.add=function(Yi){var eo=this;return Yi=new eo.constructor(Yi),eo.s==Yi.s?add(eo,Yi):subtract(eo,(Yi.s=-Yi.s,Yi))};P$1.precision=P$1.sd=function(Yi){var eo,to,ro,no=this;if(Yi!==void 0&&Yi!==!!Yi&&Yi!==1&&Yi!==0)throw Error(invalidArgument+Yi);if(eo=getBase10Exponent(no)+1,ro=no.d.length-1,to=ro*LOG_BASE+1,ro=no.d[ro],ro){for(;ro%10==0;ro/=10)to--;for(ro=no.d[0];ro>=10;ro/=10)to++}return Yi&&eo>to?eo:to};P$1.squareRoot=P$1.sqrt=function(){var Yi,eo,to,ro,no,io,oo,ao=this,so=ao.constructor;if(ao.s<1){if(!ao.s)return new so(0);throw Error(decimalError+"NaN")}for(Yi=getBase10Exponent(ao),external=!1,no=Math.sqrt(+ao),no==0||no==1/0?(eo=digitsToString(ao.d),(eo.length+Yi)%2==0&&(eo+="0"),no=Math.sqrt(eo),Yi=mathfloor((Yi+1)/2)-(Yi<0||Yi%2),no==1/0?eo="5e"+Yi:(eo=no.toExponential(),eo=eo.slice(0,eo.indexOf("e")+1)+Yi),ro=new so(eo)):ro=new so(no.toString()),to=so.precision,no=oo=to+3;;)if(io=ro,ro=io.plus(divide(ao,io,oo+2)).times(.5),digitsToString(io.d).slice(0,oo)===(eo=digitsToString(ro.d)).slice(0,oo)){if(eo=eo.slice(oo-3,oo+1),no==oo&&eo=="4999"){if(round(io,to+1,0),io.times(io).eq(ao)){ro=io;break}}else if(eo!="9999")break;oo+=4}return external=!0,round(ro,to)};P$1.times=P$1.mul=function(Yi){var eo,to,ro,no,io,oo,ao,so,lo,co=this,uo=co.constructor,fo=co.d,ho=(Yi=new uo(Yi)).d;if(!co.s||!Yi.s)return new uo(0);for(Yi.s*=co.s,to=co.e+Yi.e,so=fo.length,lo=ho.length,so<lo&&(io=fo,fo=ho,ho=io,oo=so,so=lo,lo=oo),io=[],oo=so+lo,ro=oo;ro--;)io.push(0);for(ro=lo;--ro>=0;){for(eo=0,no=so+ro;no>ro;)ao=io[no]+ho[ro]*fo[no-ro-1]+eo,io[no--]=ao%BASE|0,eo=ao/BASE|0;io[no]=(io[no]+eo)%BASE|0}for(;!io[--oo];)io.pop();return eo?++to:io.shift(),Yi.d=io,Yi.e=to,external?round(Yi,uo.precision):Yi};P$1.toDecimalPlaces=P$1.todp=function(Yi,eo){var to=this,ro=to.constructor;return to=new ro(to),Yi===void 0?to:(checkInt32(Yi,0,MAX_DIGITS),eo===void 0?eo=ro.rounding:checkInt32(eo,0,8),round(to,Yi+getBase10Exponent(to)+1,eo))};P$1.toExponential=function(Yi,eo){var to,ro=this,no=ro.constructor;return Yi===void 0?to=toString$2(ro,!0):(checkInt32(Yi,0,MAX_DIGITS),eo===void 0?eo=no.rounding:checkInt32(eo,0,8),ro=round(new no(ro),Yi+1,eo),to=toString$2(ro,!0,Yi+1)),to};P$1.toFixed=function(Yi,eo){var to,ro,no=this,io=no.constructor;return Yi===void 0?toString$2(no):(checkInt32(Yi,0,MAX_DIGITS),eo===void 0?eo=io.rounding:checkInt32(eo,0,8),ro=round(new io(no),Yi+getBase10Exponent(no)+1,eo),to=toString$2(ro.abs(),!1,Yi+getBase10Exponent(ro)+1),no.isneg()&&!no.isZero()?"-"+to:to)};P$1.toInteger=P$1.toint=function(){var Yi=this,eo=Yi.constructor;return round(new eo(Yi),getBase10Exponent(Yi)+1,eo.rounding)};P$1.toNumber=function(){return+this};P$1.toPower=P$1.pow=function(Yi){var eo,to,ro,no,io,oo,ao=this,so=ao.constructor,lo=12,co=+(Yi=new so(Yi));if(!Yi.s)return new so(ONE);if(ao=new so(ao),!ao.s){if(Yi.s<1)throw Error(decimalError+"Infinity");return ao}if(ao.eq(ONE))return ao;if(ro=so.precision,Yi.eq(ONE))return round(ao,ro);if(eo=Yi.e,to=Yi.d.length-1,oo=eo>=to,io=ao.s,oo){if((to=co<0?-co:co)<=MAX_SAFE_INTEGER){for(no=new so(ONE),eo=Math.ceil(ro/LOG_BASE+4),external=!1;to%2&&(no=no.times(ao),truncate(no.d,eo)),to=mathfloor(to/2),to!==0;)ao=ao.times(ao),truncate(ao.d,eo);return external=!0,Yi.s<0?new so(ONE).div(no):round(no,ro)}}else if(io<0)throw Error(decimalError+"NaN");return io=io<0&&Yi.d[Math.max(eo,to)]&1?-1:1,ao.s=1,external=!1,no=Yi.times(ln(ao,ro+lo)),external=!0,no=exp(no),no.s=io,no};P$1.toPrecision=function(Yi,eo){var to,ro,no=this,io=no.constructor;return Yi===void 0?(to=getBase10Exponent(no),ro=toString$2(no,to<=io.toExpNeg||to>=io.toExpPos)):(checkInt32(Yi,1,MAX_DIGITS),eo===void 0?eo=io.rounding:checkInt32(eo,0,8),no=round(new io(no),Yi,eo),to=getBase10Exponent(no),ro=toString$2(no,Yi<=to||to<=io.toExpNeg,Yi)),ro};P$1.toSignificantDigits=P$1.tosd=function(Yi,eo){var to=this,ro=to.constructor;return Yi===void 0?(Yi=ro.precision,eo=ro.rounding):(checkInt32(Yi,1,MAX_DIGITS),eo===void 0?eo=ro.rounding:checkInt32(eo,0,8)),round(new ro(to),Yi,eo)};P$1.toString=P$1.valueOf=P$1.val=P$1.toJSON=P$1[Symbol.for("nodejs.util.inspect.custom")]=function(){var Yi=this,eo=getBase10Exponent(Yi),to=Yi.constructor;return toString$2(Yi,eo<=to.toExpNeg||eo>=to.toExpPos)};function add(Yi,eo){var to,ro,no,io,oo,ao,so,lo,co=Yi.constructor,uo=co.precision;if(!Yi.s||!eo.s)return eo.s||(eo=new co(Yi)),external?round(eo,uo):eo;if(so=Yi.d,lo=eo.d,oo=Yi.e,no=eo.e,so=so.slice(),io=oo-no,io){for(io<0?(ro=so,io=-io,ao=lo.length):(ro=lo,no=oo,ao=so.length),oo=Math.ceil(uo/LOG_BASE),ao=oo>ao?oo+1:ao+1,io>ao&&(io=ao,ro.length=1),ro.reverse();io--;)ro.push(0);ro.reverse()}for(ao=so.length,io=lo.length,ao-io<0&&(io=ao,ro=lo,lo=so,so=ro),to=0;io;)to=(so[--io]=so[io]+lo[io]+to)/BASE|0,so[io]%=BASE;for(to&&(so.unshift(to),++no),ao=so.length;so[--ao]==0;)so.pop();return eo.d=so,eo.e=no,external?round(eo,uo):eo}function checkInt32(Yi,eo,to){if(Yi!==~~Yi||Yi<eo||Yi>to)throw Error(invalidArgument+Yi)}function digitsToString(Yi){var eo,to,ro,no=Yi.length-1,io="",oo=Yi[0];if(no>0){for(io+=oo,eo=1;eo<no;eo++)ro=Yi[eo]+"",to=LOG_BASE-ro.length,to&&(io+=getZeroString(to)),io+=ro;oo=Yi[eo],ro=oo+"",to=LOG_BASE-ro.length,to&&(io+=getZeroString(to))}else if(oo===0)return"0";for(;oo%10===0;)oo/=10;return io+oo}var divide=(function(){function Yi(ro,no){var io,oo=0,ao=ro.length;for(ro=ro.slice();ao--;)io=ro[ao]*no+oo,ro[ao]=io%BASE|0,oo=io/BASE|0;return oo&&ro.unshift(oo),ro}function eo(ro,no,io,oo){var ao,so;if(io!=oo)so=io>oo?1:-1;else for(ao=so=0;ao<io;ao++)if(ro[ao]!=no[ao]){so=ro[ao]>no[ao]?1:-1;break}return so}function to(ro,no,io){for(var oo=0;io--;)ro[io]-=oo,oo=ro[io]<no[io]?1:0,ro[io]=oo*BASE+ro[io]-no[io];for(;!ro[0]&&ro.length>1;)ro.shift()}return function(ro,no,io,oo){var ao,so,lo,co,uo,fo,ho,mo,vo,Co,bo,wo,yo,Eo,xo,So,To,Ro,Po=ro.constructor,zo=ro.s==no.s?1:-1,Ho=ro.d,Vo=no.d;if(!ro.s)return new Po(ro);if(!no.s)throw Error(decimalError+"Division by zero");for(so=ro.e-no.e,To=Vo.length,xo=Ho.length,ho=new Po(zo),mo=ho.d=[],lo=0;Vo[lo]==(Ho[lo]||0);)++lo;if(Vo[lo]>(Ho[lo]||0)&&--so,io==null?wo=io=Po.precision:oo?wo=io+(getBase10Exponent(ro)-getBase10Exponent(no))+1:wo=io,wo<0)return new Po(0);if(wo=wo/LOG_BASE+2|0,lo=0,To==1)for(co=0,Vo=Vo[0],wo++;(lo<xo||co)&&wo--;lo++)yo=co*BASE+(Ho[lo]||0),mo[lo]=yo/Vo|0,co=yo%Vo|0;else{for(co=BASE/(Vo[0]+1)|0,co>1&&(Vo=Yi(Vo,co),Ho=Yi(Ho,co),To=Vo.length,xo=Ho.length),Eo=To,vo=Ho.slice(0,To),Co=vo.length;Co<To;)vo[Co++]=0;Ro=Vo.slice(),Ro.unshift(0),So=Vo[0],Vo[1]>=BASE/2&&++So;do co=0,ao=eo(Vo,vo,To,Co),ao<0?(bo=vo[0],To!=Co&&(bo=bo*BASE+(vo[1]||0)),co=bo/So|0,co>1?(co>=BASE&&(co=BASE-1),uo=Yi(Vo,co),fo=uo.length,Co=vo.length,ao=eo(uo,vo,fo,Co),ao==1&&(co--,to(uo,To<fo?Ro:Vo,fo))):(co==0&&(ao=co=1),uo=Vo.slice()),fo=uo.length,fo<Co&&uo.unshift(0),to(vo,uo,Co),ao==-1&&(Co=vo.length,ao=eo(Vo,vo,To,Co),ao<1&&(co++,to(vo,To<Co?Ro:Vo,Co))),Co=vo.length):ao===0&&(co++,vo=[0]),mo[lo++]=co,ao&&vo[0]?vo[Co++]=Ho[Eo]||0:(vo=[Ho[Eo]],Co=1);while((Eo++<xo||vo[0]!==void 0)&&wo--)}return mo[0]||mo.shift(),ho.e=so,round(ho,oo?io+getBase10Exponent(ho)+1:io)}})();function exp(Yi,eo){var to,ro,no,io,oo,ao,so=0,lo=0,co=Yi.constructor,uo=co.precision;if(getBase10Exponent(Yi)>16)throw Error(exponentOutOfRange+getBase10Exponent(Yi));if(!Yi.s)return new co(ONE);for(external=!1,ao=uo,oo=new co(.03125);Yi.abs().gte(.1);)Yi=Yi.times(oo),lo+=5;for(ro=Math.log(mathpow(2,lo))/Math.LN10*2+5|0,ao+=ro,to=no=io=new co(ONE),co.precision=ao;;){if(no=round(no.times(Yi),ao),to=to.times(++so),oo=io.plus(divide(no,to,ao)),digitsToString(oo.d).slice(0,ao)===digitsToString(io.d).slice(0,ao)){for(;lo--;)io=round(io.times(io),ao);return co.precision=uo,eo==null?(external=!0,round(io,uo)):io}io=oo}}function getBase10Exponent(Yi){for(var eo=Yi.e*LOG_BASE,to=Yi.d[0];to>=10;to/=10)eo++;return eo}function getLn10(Yi,eo,to){if(eo>Yi.LN10.sd())throw external=!0,to&&(Yi.precision=to),Error(decimalError+"LN10 precision limit exceeded");return round(new Yi(Yi.LN10),eo)}function getZeroString(Yi){for(var eo="";Yi--;)eo+="0";return eo}function ln(Yi,eo){var to,ro,no,io,oo,ao,so,lo,co,uo=1,fo=10,ho=Yi,mo=ho.d,vo=ho.constructor,Co=vo.precision;if(ho.s<1)throw Error(decimalError+(ho.s?"NaN":"-Infinity"));if(ho.eq(ONE))return new vo(0);if(eo==null?(external=!1,lo=Co):lo=eo,ho.eq(10))return eo==null&&(external=!0),getLn10(vo,lo);if(lo+=fo,vo.precision=lo,to=digitsToString(mo),ro=to.charAt(0),io=getBase10Exponent(ho),Math.abs(io)<15e14){for(;ro<7&&ro!=1||ro==1&&to.charAt(1)>3;)ho=ho.times(Yi),to=digitsToString(ho.d),ro=to.charAt(0),uo++;io=getBase10Exponent(ho),ro>1?(ho=new vo("0."+to),io++):ho=new vo(ro+"."+to.slice(1))}else return so=getLn10(vo,lo+2,Co).times(io+""),ho=ln(new vo(ro+"."+to.slice(1)),lo-fo).plus(so),vo.precision=Co,eo==null?(external=!0,round(ho,Co)):ho;for(ao=oo=ho=divide(ho.minus(ONE),ho.plus(ONE),lo),co=round(ho.times(ho),lo),no=3;;){if(oo=round(oo.times(co),lo),so=ao.plus(divide(oo,new vo(no),lo)),digitsToString(so.d).slice(0,lo)===digitsToString(ao.d).slice(0,lo))return ao=ao.times(2),io!==0&&(ao=ao.plus(getLn10(vo,lo+2,Co).times(io+""))),ao=divide(ao,new vo(uo),lo),vo.precision=Co,eo==null?(external=!0,round(ao,Co)):ao;ao=so,no+=2}}function parseDecimal(Yi,eo){var to,ro,no;for((to=eo.indexOf("."))>-1&&(eo=eo.replace(".","")),(ro=eo.search(/e/i))>0?(to<0&&(to=ro),to+=+eo.slice(ro+1),eo=eo.substring(0,ro)):to<0&&(to=eo.length),ro=0;eo.charCodeAt(ro)===48;)++ro;for(no=eo.length;eo.charCodeAt(no-1)===48;)--no;if(eo=eo.slice(ro,no),eo){if(no-=ro,to=to-ro-1,Yi.e=mathfloor(to/LOG_BASE),Yi.d=[],ro=(to+1)%LOG_BASE,to<0&&(ro+=LOG_BASE),ro<no){for(ro&&Yi.d.push(+eo.slice(0,ro)),no-=LOG_BASE;ro<no;)Yi.d.push(+eo.slice(ro,ro+=LOG_BASE));eo=eo.slice(ro),ro=LOG_BASE-eo.length}else ro-=no;for(;ro--;)eo+="0";if(Yi.d.push(+eo),external&&(Yi.e>MAX_E||Yi.e<-MAX_E))throw Error(exponentOutOfRange+to)}else Yi.s=0,Yi.e=0,Yi.d=[0];return Yi}function round(Yi,eo,to){var ro,no,io,oo,ao,so,lo,co,uo=Yi.d;for(oo=1,io=uo[0];io>=10;io/=10)oo++;if(ro=eo-oo,ro<0)ro+=LOG_BASE,no=eo,lo=uo[co=0];else{if(co=Math.ceil((ro+1)/LOG_BASE),io=uo.length,co>=io)return Yi;for(lo=io=uo[co],oo=1;io>=10;io/=10)oo++;ro%=LOG_BASE,no=ro-LOG_BASE+oo}if(to!==void 0&&(io=mathpow(10,oo-no-1),ao=lo/io%10|0,so=eo<0||uo[co+1]!==void 0||lo%io,so=to<4?(ao||so)&&(to==0||to==(Yi.s<0?3:2)):ao>5||ao==5&&(to==4||so||to==6&&(ro>0?no>0?lo/mathpow(10,oo-no):0:uo[co-1])%10&1||to==(Yi.s<0?8:7))),eo<1||!uo[0])return so?(io=getBase10Exponent(Yi),uo.length=1,eo=eo-io-1,uo[0]=mathpow(10,(LOG_BASE-eo%LOG_BASE)%LOG_BASE),Yi.e=mathfloor(-eo/LOG_BASE)||0):(uo.length=1,uo[0]=Yi.e=Yi.s=0),Yi;if(ro==0?(uo.length=co,io=1,co--):(uo.length=co+1,io=mathpow(10,LOG_BASE-ro),uo[co]=no>0?(lo/mathpow(10,oo-no)%mathpow(10,no)|0)*io:0),so)for(;;)if(co==0){(uo[0]+=io)==BASE&&(uo[0]=1,++Yi.e);break}else{if(uo[co]+=io,uo[co]!=BASE)break;uo[co--]=0,io=1}for(ro=uo.length;uo[--ro]===0;)uo.pop();if(external&&(Yi.e>MAX_E||Yi.e<-MAX_E))throw Error(exponentOutOfRange+getBase10Exponent(Yi));return Yi}function subtract(Yi,eo){var to,ro,no,io,oo,ao,so,lo,co,uo,fo=Yi.constructor,ho=fo.precision;if(!Yi.s||!eo.s)return eo.s?eo.s=-eo.s:eo=new fo(Yi),external?round(eo,ho):eo;if(so=Yi.d,uo=eo.d,ro=eo.e,lo=Yi.e,so=so.slice(),oo=lo-ro,oo){for(co=oo<0,co?(to=so,oo=-oo,ao=uo.length):(to=uo,ro=lo,ao=so.length),no=Math.max(Math.ceil(ho/LOG_BASE),ao)+2,oo>no&&(oo=no,to.length=1),to.reverse(),no=oo;no--;)to.push(0);to.reverse()}else{for(no=so.length,ao=uo.length,co=no<ao,co&&(ao=no),no=0;no<ao;no++)if(so[no]!=uo[no]){co=so[no]<uo[no];break}oo=0}for(co&&(to=so,so=uo,uo=to,eo.s=-eo.s),ao=so.length,no=uo.length-ao;no>0;--no)so[ao++]=0;for(no=uo.length;no>oo;){if(so[--no]<uo[no]){for(io=no;io&&so[--io]===0;)so[io]=BASE-1;--so[io],so[no]+=BASE}so[no]-=uo[no]}for(;so[--ao]===0;)so.pop();for(;so[0]===0;so.shift())--ro;return so[0]?(eo.d=so,eo.e=ro,external?round(eo,ho):eo):new fo(0)}function toString$2(Yi,eo,to){var ro,no=getBase10Exponent(Yi),io=digitsToString(Yi.d),oo=io.length;return eo?(to&&(ro=to-oo)>0?io=io.charAt(0)+"."+io.slice(1)+getZeroString(ro):oo>1&&(io=io.charAt(0)+"."+io.slice(1)),io=io+(no<0?"e":"e+")+no):no<0?(io="0."+getZeroString(-no-1)+io,to&&(ro=to-oo)>0&&(io+=getZeroString(ro))):no>=oo?(io+=getZeroString(no+1-oo),to&&(ro=to-no-1)>0&&(io=io+"."+getZeroString(ro))):((ro=no+1)<oo&&(io=io.slice(0,ro)+"."+io.slice(ro)),to&&(ro=to-oo)>0&&(no+1===oo&&(io+="."),io+=getZeroString(ro))),Yi.s<0?"-"+io:io}function truncate(Yi,eo){if(Yi.length>eo)return Yi.length=eo,!0}function clone(Yi){var eo,to,ro;function no(io){var oo=this;if(!(oo instanceof no))return new no(io);if(oo.constructor=no,io instanceof no){oo.s=io.s,oo.e=io.e,oo.d=(io=io.d)?io.slice():io;return}if(typeof io=="number"){if(io*0!==0)throw Error(invalidArgument+io);if(io>0)oo.s=1;else if(io<0)io=-io,oo.s=-1;else{oo.s=0,oo.e=0,oo.d=[0];return}if(io===~~io&&io<1e7){oo.e=0,oo.d=[io];return}return parseDecimal(oo,io.toString())}else if(typeof io!="string")throw Error(invalidArgument+io);if(io.charCodeAt(0)===45?(io=io.slice(1),oo.s=-1):oo.s=1,isDecimal.test(io))parseDecimal(oo,io);else throw Error(invalidArgument+io)}if(no.prototype=P$1,no.ROUND_UP=0,no.ROUND_DOWN=1,no.ROUND_CEIL=2,no.ROUND_FLOOR=3,no.ROUND_HALF_UP=4,no.ROUND_HALF_DOWN=5,no.ROUND_HALF_EVEN=6,no.ROUND_HALF_CEIL=7,no.ROUND_HALF_FLOOR=8,no.clone=clone,no.config=no.set=config,Yi===void 0&&(Yi={}),Yi)for(ro=["precision","rounding","toExpNeg","toExpPos","LN10"],eo=0;eo<ro.length;)Yi.hasOwnProperty(to=ro[eo++])||(Yi[to]=this[to]);return no.config(Yi),no}function config(Yi){if(!Yi||typeof Yi!="object")throw Error(decimalError+"Object expected");var eo,to,ro,no=["precision",1,MAX_DIGITS,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(eo=0;eo<no.length;eo+=3)if((ro=Yi[to=no[eo]])!==void 0)if(mathfloor(ro)===ro&&ro>=no[eo+1]&&ro<=no[eo+2])this[to]=ro;else throw Error(invalidArgument+to+": "+ro);if((ro=Yi[to="LN10"])!==void 0)if(ro==Math.LN10)this[to]=new this(ro);else throw Error(invalidArgument+to+": "+ro);return this}var Decimal=clone(defaults$1);ONE=new Decimal(1);const Decimal$1=Decimal;function _toConsumableArray$a(Yi){return _arrayWithoutHoles$a(Yi)||_iterableToArray$b(Yi)||_unsupportedIterableToArray$e(Yi)||_nonIterableSpread$a()}function _nonIterableSpread$a(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
439In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$e(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$e(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray$e(Yi,eo)}}function _iterableToArray$b(Yi){if(typeof Symbol<"u"&&Symbol.iterator in Object(Yi))return Array.from(Yi)}function _arrayWithoutHoles$a(Yi){if(Array.isArray(Yi))return _arrayLikeToArray$e(Yi)}function _arrayLikeToArray$e(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}var identity$1=function Yi(eo){return eo},PLACE_HOLDER={},isPlaceHolder=function Yi(eo){return eo===PLACE_HOLDER},curry0=function Yi(eo){return function to(){return arguments.length===0||arguments.length===1&&isPlaceHolder(arguments.length<=0?void 0:arguments[0])?to:eo.apply(void 0,arguments)}},curryN=function Yi(eo,to){return eo===1?to:curry0(function(){for(var ro=arguments.length,no=new Array(ro),io=0;io<ro;io++)no[io]=arguments[io];var oo=no.filter(function(ao){return ao!==PLACE_HOLDER}).length;return oo>=eo?to.apply(void 0,no):Yi(eo-oo,curry0(function(){for(var ao=arguments.length,so=new Array(ao),lo=0;lo<ao;lo++)so[lo]=arguments[lo];var co=no.map(function(uo){return isPlaceHolder(uo)?so.shift():uo});return to.apply(void 0,_toConsumableArray$a(co).concat(so))}))})},curry=function Yi(eo){return curryN(eo.length,eo)},range$2=function Yi(eo,to){for(var ro=[],no=eo;no<to;++no)ro[no-eo]=no;return ro},map=curry(function(Yi,eo){return Array.isArray(eo)?eo.map(Yi):Object.keys(eo).map(function(to){return eo[to]}).map(Yi)}),compose=function Yi(){for(var eo=arguments.length,to=new Array(eo),ro=0;ro<eo;ro++)to[ro]=arguments[ro];if(!to.length)return identity$1;var no=to.reverse(),io=no[0],oo=no.slice(1);return function(){return oo.reduce(function(ao,so){return so(ao)},io.apply(void 0,arguments))}},reverse=function Yi(eo){return Array.isArray(eo)?eo.reverse():eo.split("").reverse.join("")},memoize$1=function Yi(eo){var to=null,ro=null;return function(){for(var no=arguments.length,io=new Array(no),oo=0;oo<no;oo++)io[oo]=arguments[oo];return to&&io.every(function(ao,so){return ao===to[so]})||(to=io,ro=eo.apply(void 0,io)),ro}};function getDigitCount(Yi){var eo;return Yi===0?eo=1:eo=Math.floor(new Decimal$1(Yi).abs().log(10).toNumber())+1,eo}function rangeStep(Yi,eo,to){for(var ro=new Decimal$1(Yi),no=0,io=[];ro.lt(eo)&&no<1e5;)io.push(ro.toNumber()),ro=ro.add(to),no++;return io}var interpolateNumber=curry(function(Yi,eo,to){var ro=+Yi,no=+eo;return ro+to*(no-ro)}),uninterpolateNumber=curry(function(Yi,eo,to){var ro=eo-+Yi;return ro=ro||1/0,(to-Yi)/ro}),uninterpolateTruncation=curry(function(Yi,eo,to){var ro=eo-+Yi;return ro=ro||1/0,Math.max(0,Math.min(1,(to-Yi)/ro))});const Arithmetic={rangeStep,getDigitCount,interpolateNumber,uninterpolateNumber,uninterpolateTruncation};function _toConsumableArray$9(Yi){return _arrayWithoutHoles$9(Yi)||_iterableToArray$a(Yi)||_unsupportedIterableToArray$d(Yi)||_nonIterableSpread$9()}function _nonIterableSpread$9(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
440In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArray$a(Yi){if(typeof Symbol<"u"&&Symbol.iterator in Object(Yi))return Array.from(Yi)}function _arrayWithoutHoles$9(Yi){if(Array.isArray(Yi))return _arrayLikeToArray$d(Yi)}function _slicedToArray$7(Yi,eo){return _arrayWithHoles$8(Yi)||_iterableToArrayLimit$7(Yi,eo)||_unsupportedIterableToArray$d(Yi,eo)||_nonIterableRest$8()}function _nonIterableRest$8(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
441In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$d(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$d(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray$d(Yi,eo)}}function _arrayLikeToArray$d(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}function _iterableToArrayLimit$7(Yi,eo){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(Yi)))){var to=[],ro=!0,no=!1,io=void 0;try{for(var oo=Yi[Symbol.iterator](),ao;!(ro=(ao=oo.next()).done)&&(to.push(ao.value),!(eo&&to.length===eo));ro=!0);}catch(so){no=!0,io=so}finally{try{!ro&&oo.return!=null&&oo.return()}finally{if(no)throw io}}return to}}function _arrayWithHoles$8(Yi){if(Array.isArray(Yi))return Yi}function getValidInterval(Yi){var eo=_slicedToArray$7(Yi,2),to=eo[0],ro=eo[1],no=to,io=ro;return to>ro&&(no=ro,io=to),[no,io]}function getFormatStep(Yi,eo,to){if(Yi.lte(0))return new Decimal$1(0);var ro=Arithmetic.getDigitCount(Yi.toNumber()),no=new Decimal$1(10).pow(ro),io=Yi.div(no),oo=ro!==1?.05:.1,ao=new Decimal$1(Math.ceil(io.div(oo).toNumber())).add(to).mul(oo),so=ao.mul(no);return eo?so:new Decimal$1(Math.ceil(so))}function getTickOfSingleValue(Yi,eo,to){var ro=1,no=new Decimal$1(Yi);if(!no.isint()&&to){var io=Math.abs(Yi);io<1?(ro=new Decimal$1(10).pow(Arithmetic.getDigitCount(Yi)-1),no=new Decimal$1(Math.floor(no.div(ro).toNumber())).mul(ro)):io>1&&(no=new Decimal$1(Math.floor(Yi)))}else Yi===0?no=new Decimal$1(Math.floor((eo-1)/2)):to||(no=new Decimal$1(Math.floor(Yi)));var oo=Math.floor((eo-1)/2),ao=compose(map(function(so){return no.add(new Decimal$1(so-oo).mul(ro)).toNumber()}),range$2);return ao(0,eo)}function calculateStep(Yi,eo,to,ro){var no=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((eo-Yi)/(to-1)))return{step:new Decimal$1(0),tickMin:new Decimal$1(0),tickMax:new Decimal$1(0)};var io=getFormatStep(new Decimal$1(eo).sub(Yi).div(to-1),ro,no),oo;Yi<=0&&eo>=0?oo=new Decimal$1(0):(oo=new Decimal$1(Yi).add(eo).div(2),oo=oo.sub(new Decimal$1(oo).mod(io)));var ao=Math.ceil(oo.sub(Yi).div(io).toNumber()),so=Math.ceil(new Decimal$1(eo).sub(oo).div(io).toNumber()),lo=ao+so+1;return lo>to?calculateStep(Yi,eo,to,ro,no+1):(lo<to&&(so=eo>0?so+(to-lo):so,ao=eo>0?ao:ao+(to-lo)),{step:io,tickMin:oo.sub(new Decimal$1(ao).mul(io)),tickMax:oo.add(new Decimal$1(so).mul(io))})}function getNiceTickValuesFn(Yi){var eo=_slicedToArray$7(Yi,2),to=eo[0],ro=eo[1],no=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,io=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,oo=Math.max(no,2),ao=getValidInterval([to,ro]),so=_slicedToArray$7(ao,2),lo=so[0],co=so[1];if(lo===-1/0||co===1/0){var uo=co===1/0?[lo].concat(_toConsumableArray$9(range$2(0,no-1).map(function(){return 1/0}))):[].concat(_toConsumableArray$9(range$2(0,no-1).map(function(){return-1/0})),[co]);return to>ro?reverse(uo):uo}if(lo===co)return getTickOfSingleValue(lo,no,io);var fo=calculateStep(lo,co,oo,io),ho=fo.step,mo=fo.tickMin,vo=fo.tickMax,Co=Arithmetic.rangeStep(mo,vo.add(new Decimal$1(.1).mul(ho)),ho);return to>ro?reverse(Co):Co}function getTickValuesFixedDomainFn(Yi,eo){var to=_slicedToArray$7(Yi,2),ro=to[0],no=to[1],io=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,oo=getValidInterval([ro,no]),ao=_slicedToArray$7(oo,2),so=ao[0],lo=ao[1];if(so===-1/0||lo===1/0)return[ro,no];if(so===lo)return[so];var co=Math.max(eo,2),uo=getFormatStep(new Decimal$1(lo).sub(so).div(co-1),io,0),fo=[].concat(_toConsumableArray$9(Arithmetic.rangeStep(new Decimal$1(so),new Decimal$1(lo).sub(new Decimal$1(.99).mul(uo)),uo)),[lo]);return ro>no?reverse(fo):fo}var getNiceTickValues=memoize$1(getNiceTickValuesFn),getTickValuesFixedDomain=memoize$1(getTickValuesFixedDomainFn),prefix$1="Invariant failed";function invariant(Yi,eo){throw new Error(prefix$1)}var _excluded$d=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function _typeof$x(Yi){"@babel/helpers - typeof";return _typeof$x=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$x(Yi)}function _extends$1B(){return _extends$1B=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1B.apply(this,arguments)}function _slicedToArray$6(Yi,eo){return _arrayWithHoles$7(Yi)||_iterableToArrayLimit$6(Yi,eo)||_unsupportedIterableToArray$c(Yi,eo)||_nonIterableRest$7()}function _nonIterableRest$7(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
442In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$c(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$c(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray$c(Yi,eo)}}function _arrayLikeToArray$c(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}function _iterableToArrayLimit$6(Yi,eo){var to=Yi==null?null:typeof Symbol<"u"&&Yi[Symbol.iterator]||Yi["@@iterator"];if(to!=null){var ro,no,io,oo,ao=[],so=!0,lo=!1;try{if(io=(to=to.call(Yi)).next,eo!==0)for(;!(so=(ro=io.call(to)).done)&&(ao.push(ro.value),ao.length!==eo);so=!0);}catch(co){lo=!0,no=co}finally{try{if(!so&&to.return!=null&&(oo=to.return(),Object(oo)!==oo))return}finally{if(lo)throw no}}return ao}}function _arrayWithHoles$7(Yi){if(Array.isArray(Yi))return Yi}function _objectWithoutProperties$9(Yi,eo){if(Yi==null)return{};var to=_objectWithoutPropertiesLoose$b(Yi,eo),ro,no;if(Object.getOwnPropertySymbols){var io=Object.getOwnPropertySymbols(Yi);for(no=0;no<io.length;no++)ro=io[no],!(eo.indexOf(ro)>=0)&&Object.prototype.propertyIsEnumerable.call(Yi,ro)&&(to[ro]=Yi[ro])}return to}function _objectWithoutPropertiesLoose$b(Yi,eo){if(Yi==null)return{};var to={};for(var ro in Yi)if(Object.prototype.hasOwnProperty.call(Yi,ro)){if(eo.indexOf(ro)>=0)continue;to[ro]=Yi[ro]}return to}function _classCallCheck$e(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$e(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,_toPropertyKey$t(ro.key),ro)}}function _createClass$e(Yi,eo,to){return eo&&_defineProperties$e(Yi.prototype,eo),Object.defineProperty(Yi,"prototype",{writable:!1}),Yi}function _callSuper$9(Yi,eo,to){return eo=_getPrototypeOf$c(eo),_possibleConstructorReturn$c(Yi,_isNativeReflectConstruct$c()?Reflect.construct(eo,to||[],_getPrototypeOf$c(Yi).constructor):eo.apply(Yi,to))}function _possibleConstructorReturn$c(Yi,eo){if(eo&&(_typeof$x(eo)==="object"||typeof eo=="function"))return eo;if(eo!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$d(Yi)}function _assertThisInitialized$d(Yi){if(Yi===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yi}function _isNativeReflectConstruct$c(){try{var Yi=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$c=function(){return!!Yi})()}function _getPrototypeOf$c(Yi){return _getPrototypeOf$c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(to){return to.__proto__||Object.getPrototypeOf(to)},_getPrototypeOf$c(Yi)}function _inherits$c(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function");Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,writable:!0,configurable:!0}}),Object.defineProperty(Yi,"prototype",{writable:!1}),eo&&_setPrototypeOf$d(Yi,eo)}function _setPrototypeOf$d(Yi,eo){return _setPrototypeOf$d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ro,no){return ro.__proto__=no,ro},_setPrototypeOf$d(Yi,eo)}function _defineProperty$x(Yi,eo,to){return eo=_toPropertyKey$t(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$t(Yi){var eo=_toPrimitive$t(Yi,"string");return _typeof$x(eo)=="symbol"?eo:eo+""}function _toPrimitive$t(Yi,eo){if(_typeof$x(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$x(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Yi)}var ErrorBar=(function(Yi){function eo(){return _classCallCheck$e(this,eo),_callSuper$9(this,eo,arguments)}return _inherits$c(eo,Yi),_createClass$e(eo,[{key:"render",value:function(){var ro=this.props,no=ro.offset,io=ro.layout,oo=ro.width,ao=ro.dataKey,so=ro.data,lo=ro.dataPointFormatter,co=ro.xAxis,uo=ro.yAxis,fo=_objectWithoutProperties$9(ro,_excluded$d),ho=filterProps(fo,!1);this.props.direction==="x"&&co.type!=="number"&&invariant();var mo=so.map(function(vo){var Co=lo(vo,ao),bo=Co.x,wo=Co.y,yo=Co.value,Eo=Co.errorVal;if(!Eo)return null;var xo=[],So,To;if(Array.isArray(Eo)){var Ro=_slicedToArray$6(Eo,2);So=Ro[0],To=Ro[1]}else So=To=Eo;if(io==="vertical"){var Po=co.scale,zo=wo+no,Ho=zo+oo,Vo=zo-oo,Lo=Po(yo-So),Uo=Po(yo+To);xo.push({x1:Uo,y1:Ho,x2:Uo,y2:Vo}),xo.push({x1:Lo,y1:zo,x2:Uo,y2:zo}),xo.push({x1:Lo,y1:Ho,x2:Lo,y2:Vo})}else if(io==="horizontal"){var Do=uo.scale,Oo=bo+no,ko=Oo-oo,Bo=Oo+oo,Fo=Do(yo-So),Qo=Do(yo+To);xo.push({x1:ko,y1:Qo,x2:Bo,y2:Qo}),xo.push({x1:Oo,y1:Fo,x2:Oo,y2:Qo}),xo.push({x1:ko,y1:Fo,x2:Bo,y2:Fo})}return React$1F.createElement(Layer,_extends$1B({className:"recharts-errorBar",key:"bar-".concat(xo.map(function(jo){return"".concat(jo.x1,"-").concat(jo.x2,"-").concat(jo.y1,"-").concat(jo.y2)}))},ho),xo.map(function(jo){return React$1F.createElement("line",_extends$1B({},jo,{key:"line-".concat(jo.x1,"-").concat(jo.x2,"-").concat(jo.y1,"-").concat(jo.y2)}))}))});return React$1F.createElement(Layer,{className:"recharts-errorBars"},mo)}}])})(React$1F.Component);_defineProperty$x(ErrorBar,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"});_defineProperty$x(ErrorBar,"displayName","ErrorBar");function _typeof$w(Yi){"@babel/helpers - typeof";return _typeof$w=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$w(Yi)}function ownKeys$r(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$r(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$r(Object(to),!0).forEach(function(ro){_defineProperty$w(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$r(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$w(Yi,eo,to){return eo=_toPropertyKey$s(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$s(Yi){var eo=_toPrimitive$s(Yi,"string");return _typeof$w(eo)=="symbol"?eo:eo+""}function _toPrimitive$s(Yi,eo){if(_typeof$w(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$w(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi)}var getLegendProps=function Yi(eo){var to=eo.children,ro=eo.formattedGraphicalItems,no=eo.legendWidth,io=eo.legendContent,oo=findChildByType(to,Legend);if(!oo)return null;var ao=Legend.defaultProps,so=ao!==void 0?_objectSpread$r(_objectSpread$r({},ao),oo.props):{},lo;return oo.props&&oo.props.payload?lo=oo.props&&oo.props.payload:io==="children"?lo=(ro||[]).reduce(function(co,uo){var fo=uo.item,ho=uo.props,mo=ho.sectors||ho.data||[];return co.concat(mo.map(function(vo){return{type:oo.props.iconType||fo.props.legendType,value:vo.name,color:vo.fill,payload:vo}}))},[]):lo=(ro||[]).map(function(co){var uo=co.item,fo=uo.type.defaultProps,ho=fo!==void 0?_objectSpread$r(_objectSpread$r({},fo),uo.props):{},mo=ho.dataKey,vo=ho.name,Co=ho.legendType,bo=ho.hide;return{inactive:bo,dataKey:mo,type:so.iconType||Co||"square",color:getMainColorOfGraphicItem(uo),value:vo||mo,payload:ho}}),_objectSpread$r(_objectSpread$r(_objectSpread$r({},so),Legend.getWithHeight(oo,no)),{},{payload:lo,item:oo})};function _typeof$v(Yi){"@babel/helpers - typeof";return _typeof$v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$v(Yi)}function _toConsumableArray$8(Yi){return _arrayWithoutHoles$8(Yi)||_iterableToArray$9(Yi)||_unsupportedIterableToArray$b(Yi)||_nonIterableSpread$8()}function _nonIterableSpread$8(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
443In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$b(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$b(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray$b(Yi,eo)}}function _iterableToArray$9(Yi){if(typeof Symbol<"u"&&Yi[Symbol.iterator]!=null||Yi["@@iterator"]!=null)return Array.from(Yi)}function _arrayWithoutHoles$8(Yi){if(Array.isArray(Yi))return _arrayLikeToArray$b(Yi)}function _arrayLikeToArray$b(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}function ownKeys$q(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$q(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$q(Object(to),!0).forEach(function(ro){_defineProperty$v(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$q(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$v(Yi,eo,to){return eo=_toPropertyKey$r(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$r(Yi){var eo=_toPrimitive$r(Yi,"string");return _typeof$v(eo)=="symbol"?eo:eo+""}function _toPrimitive$r(Yi,eo){if(_typeof$v(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$v(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi)}function getValueByDataKey(Yi,eo,to){return isNil$1(Yi)||isNil$1(eo)?to:isNumOrStr(eo)?get$3(Yi,eo,to):isFunction$4(eo)?eo(Yi):to}function getDomainOfDataByKey(Yi,eo,to,ro){var no=flatMap$1(Yi,function(ao){return getValueByDataKey(ao,eo)});if(to==="number"){var io=no.filter(function(ao){return isNumber(ao)||parseFloat(ao)});return io.length?[min$1(io),max$1(io)]:[1/0,-1/0]}var oo=ro?no.filter(function(ao){return!isNil$1(ao)}):no;return oo.map(function(ao){return isNumOrStr(ao)||ao instanceof Date?ao:""})}var calculateActiveTickIndex=function Yi(eo){var to,ro=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],no=arguments.length>2?arguments[2]:void 0,io=arguments.length>3?arguments[3]:void 0,oo=-1,ao=(to=ro==null?void 0:ro.length)!==null&&to!==void 0?to:0;if(ao<=1)return 0;if(io&&io.axisType==="angleAxis"&&Math.abs(Math.abs(io.range[1]-io.range[0])-360)<=1e-6)for(var so=io.range,lo=0;lo<ao;lo++){var co=lo>0?no[lo-1].coordinate:no[ao-1].coordinate,uo=no[lo].coordinate,fo=lo>=ao-1?no[0].coordinate:no[lo+1].coordinate,ho=void 0;if(mathSign(uo-co)!==mathSign(fo-uo)){var mo=[];if(mathSign(fo-uo)===mathSign(so[1]-so[0])){ho=fo;var vo=uo+so[1]-so[0];mo[0]=Math.min(vo,(vo+co)/2),mo[1]=Math.max(vo,(vo+co)/2)}else{ho=co;var Co=fo+so[1]-so[0];mo[0]=Math.min(uo,(Co+uo)/2),mo[1]=Math.max(uo,(Co+uo)/2)}var bo=[Math.min(uo,(ho+uo)/2),Math.max(uo,(ho+uo)/2)];if(eo>bo[0]&&eo<=bo[1]||eo>=mo[0]&&eo<=mo[1]){oo=no[lo].index;break}}else{var wo=Math.min(co,fo),yo=Math.max(co,fo);if(eo>(wo+uo)/2&&eo<=(yo+uo)/2){oo=no[lo].index;break}}}else for(var Eo=0;Eo<ao;Eo++)if(Eo===0&&eo<=(ro[Eo].coordinate+ro[Eo+1].coordinate)/2||Eo>0&&Eo<ao-1&&eo>(ro[Eo].coordinate+ro[Eo-1].coordinate)/2&&eo<=(ro[Eo].coordinate+ro[Eo+1].coordinate)/2||Eo===ao-1&&eo>(ro[Eo].coordinate+ro[Eo-1].coordinate)/2){oo=ro[Eo].index;break}return oo},getMainColorOfGraphicItem=function Yi(eo){var to,ro=eo,no=ro.type.displayName,io=(to=eo.type)!==null&&to!==void 0&&to.defaultProps?_objectSpread$q(_objectSpread$q({},eo.type.defaultProps),eo.props):eo.props,oo=io.stroke,ao=io.fill,so;switch(no){case"Line":so=oo;break;case"Area":case"Radar":so=oo&&oo!=="none"?oo:ao;break;default:so=ao;break}return so},getBarSizeList=function Yi(eo){var to=eo.barSize,ro=eo.totalSize,no=eo.stackGroups,io=no===void 0?{}:no;if(!io)return{};for(var oo={},ao=Object.keys(io),so=0,lo=ao.length;so<lo;so++)for(var co=io[ao[so]].stackGroups,uo=Object.keys(co),fo=0,ho=uo.length;fo<ho;fo++){var mo=co[uo[fo]],vo=mo.items,Co=mo.cateAxisId,bo=vo.filter(function(To){return getDisplayName(To.type).indexOf("Bar")>=0});if(bo&&bo.length){var wo=bo[0].type.defaultProps,yo=wo!==void 0?_objectSpread$q(_objectSpread$q({},wo),bo[0].props):bo[0].props,Eo=yo.barSize,xo=yo[Co];oo[xo]||(oo[xo]=[]);var So=isNil$1(Eo)?to:Eo;oo[xo].push({item:bo[0],stackList:bo.slice(1),barSize:isNil$1(So)?void 0:getPercentValue(So,ro,0)})}}return oo},getBarPosition=function Yi(eo){var to=eo.barGap,ro=eo.barCategoryGap,no=eo.bandSize,io=eo.sizeList,oo=io===void 0?[]:io,ao=eo.maxBarSize,so=oo.length;if(so<1)return null;var lo=getPercentValue(to,no,0,!0),co,uo=[];if(oo[0].barSize===+oo[0].barSize){var fo=!1,ho=no/so,mo=oo.reduce(function(Eo,xo){return Eo+xo.barSize||0},0);mo+=(so-1)*lo,mo>=no&&(mo-=(so-1)*lo,lo=0),mo>=no&&ho>0&&(fo=!0,ho*=.9,mo=so*ho);var vo=(no-mo)/2>>0,Co={offset:vo-lo,size:0};co=oo.reduce(function(Eo,xo){var So={item:xo.item,position:{offset:Co.offset+Co.size+lo,size:fo?ho:xo.barSize}},To=[].concat(_toConsumableArray$8(Eo),[So]);return Co=To[To.length-1].position,xo.stackList&&xo.stackList.length&&xo.stackList.forEach(function(Ro){To.push({item:Ro,position:Co})}),To},uo)}else{var bo=getPercentValue(ro,no,0,!0);no-2*bo-(so-1)*lo<=0&&(lo=0);var wo=(no-2*bo-(so-1)*lo)/so;wo>1&&(wo>>=0);var yo=ao===+ao?Math.min(wo,ao):wo;co=oo.reduce(function(Eo,xo,So){var To=[].concat(_toConsumableArray$8(Eo),[{item:xo.item,position:{offset:bo+(wo+lo)*So+(wo-yo)/2,size:yo}}]);return xo.stackList&&xo.stackList.length&&xo.stackList.forEach(function(Ro){To.push({item:Ro,position:To[To.length-1].position})}),To},uo)}return co},appendOffsetOfLegend=function Yi(eo,to,ro,no){var io=ro.children,oo=ro.width,ao=ro.margin,so=oo-(ao.left||0)-(ao.right||0),lo=getLegendProps({children:io,legendWidth:so});if(lo){var co=no||{},uo=co.width,fo=co.height,ho=lo.align,mo=lo.verticalAlign,vo=lo.layout;if((vo==="vertical"||vo==="horizontal"&&mo==="middle")&&ho!=="center"&&isNumber(eo[ho]))return _objectSpread$q(_objectSpread$q({},eo),{},_defineProperty$v({},ho,eo[ho]+(uo||0)));if((vo==="horizontal"||vo==="vertical"&&ho==="center")&&mo!=="middle"&&isNumber(eo[mo]))return _objectSpread$q(_objectSpread$q({},eo),{},_defineProperty$v({},mo,eo[mo]+(fo||0)))}return eo},isErrorBarRelevantForAxis=function Yi(eo,to,ro){return isNil$1(to)?!0:eo==="horizontal"?to==="yAxis":eo==="vertical"||ro==="x"?to==="xAxis":ro==="y"?to==="yAxis":!0},getDomainOfErrorBars=function Yi(eo,to,ro,no,io){var oo=to.props.children,ao=findAllByType(oo,ErrorBar).filter(function(lo){return isErrorBarRelevantForAxis(no,io,lo.props.direction)});if(ao&&ao.length){var so=ao.map(function(lo){return lo.props.dataKey});return eo.reduce(function(lo,co){var uo=getValueByDataKey(co,ro);if(isNil$1(uo))return lo;var fo=Array.isArray(uo)?[min$1(uo),max$1(uo)]:[uo,uo],ho=so.reduce(function(mo,vo){var Co=getValueByDataKey(co,vo,0),bo=fo[0]-Math.abs(Array.isArray(Co)?Co[0]:Co),wo=fo[1]+Math.abs(Array.isArray(Co)?Co[1]:Co);return[Math.min(bo,mo[0]),Math.max(wo,mo[1])]},[1/0,-1/0]);return[Math.min(ho[0],lo[0]),Math.max(ho[1],lo[1])]},[1/0,-1/0])}return null},parseErrorBarsOfAxis=function Yi(eo,to,ro,no,io){var oo=to.map(function(ao){return getDomainOfErrorBars(eo,ao,ro,io,no)}).filter(function(ao){return!isNil$1(ao)});return oo&&oo.length?oo.reduce(function(ao,so){return[Math.min(ao[0],so[0]),Math.max(ao[1],so[1])]},[1/0,-1/0]):null},getDomainOfItemsWithSameAxis=function Yi(eo,to,ro,no,io){var oo=to.map(function(so){var lo=so.props.dataKey;return ro==="number"&&lo&&getDomainOfErrorBars(eo,so,lo,no)||getDomainOfDataByKey(eo,lo,ro,io)});if(ro==="number")return oo.reduce(function(so,lo){return[Math.min(so[0],lo[0]),Math.max(so[1],lo[1])]},[1/0,-1/0]);var ao={};return oo.reduce(function(so,lo){for(var co=0,uo=lo.length;co<uo;co++)ao[lo[co]]||(ao[lo[co]]=!0,so.push(lo[co]));return so},[])},isCategoricalAxis=function Yi(eo,to){return eo==="horizontal"&&to==="xAxis"||eo==="vertical"&&to==="yAxis"||eo==="centric"&&to==="angleAxis"||eo==="radial"&&to==="radiusAxis"},getTicksOfAxis=function Yi(eo,to,ro){if(!eo)return null;var no=eo.scale,io=eo.duplicateDomain,oo=eo.type,ao=eo.range,so=eo.realScaleType==="scaleBand"?no.bandwidth()/2:2,lo=(to||ro)&&oo==="category"&&no.bandwidth?no.bandwidth()/so:0;if(lo=eo.axisType==="angleAxis"&&(ao==null?void 0:ao.length)>=2?mathSign(ao[0]-ao[1])*2*lo:lo,to&&(eo.ticks||eo.niceTicks)){var co=(eo.ticks||eo.niceTicks).map(function(uo){var fo=io?io.indexOf(uo):uo;return{coordinate:no(fo)+lo,value:uo,offset:lo}});return co.filter(function(uo){return!isNan(uo.coordinate)})}return eo.isCategorical&&eo.categoricalDomain?eo.categoricalDomain.map(function(uo,fo){return{coordinate:no(uo)+lo,value:uo,index:fo,offset:lo}}):no.ticks&&!ro?no.ticks(eo.tickCount).map(function(uo){return{coordinate:no(uo)+lo,value:uo,offset:lo}}):no.domain().map(function(uo,fo){return{coordinate:no(uo)+lo,value:io?io[uo]:uo,index:fo,offset:lo}})},handlerWeakMap=new WeakMap,combineEventHandlers=function Yi(eo,to){if(typeof to!="function")return eo;handlerWeakMap.has(eo)||handlerWeakMap.set(eo,new WeakMap);var ro=handlerWeakMap.get(eo);if(ro.has(to))return ro.get(to);var no=function(){eo.apply(void 0,arguments),to.apply(void 0,arguments)};return ro.set(to,no),no},parseScale=function Yi(eo,to,ro){var no=eo.scale,io=eo.type,oo=eo.layout,ao=eo.axisType;if(no==="auto")return oo==="radial"&&ao==="radiusAxis"?{scale:band(),realScaleType:"band"}:oo==="radial"&&ao==="angleAxis"?{scale:linear(),realScaleType:"linear"}:io==="category"&&to&&(to.indexOf("LineChart")>=0||to.indexOf("AreaChart")>=0||to.indexOf("ComposedChart")>=0&&!ro)?{scale:point(),realScaleType:"point"}:io==="category"?{scale:band(),realScaleType:"band"}:{scale:linear(),realScaleType:"linear"};if(isString$2(no)){var so="scale".concat(upperFirst$1(no));return{scale:(d3Scales[so]||point)(),realScaleType:d3Scales[so]?so:"point"}}return isFunction$4(no)?{scale:no}:{scale:point(),realScaleType:"point"}},EPS=1e-4,checkDomainOfScale=function Yi(eo){var to=eo.domain();if(!(!to||to.length<=2)){var ro=to.length,no=eo.range(),io=Math.min(no[0],no[1])-EPS,oo=Math.max(no[0],no[1])+EPS,ao=eo(to[0]),so=eo(to[ro-1]);(ao<io||ao>oo||so<io||so>oo)&&eo.domain([to[0],to[ro-1]])}},findPositionOfBar=function Yi(eo,to){if(!eo)return null;for(var ro=0,no=eo.length;ro<no;ro++)if(eo[ro].item===to)return eo[ro].position;return null},truncateByDomain=function Yi(eo,to){if(!to||to.length!==2||!isNumber(to[0])||!isNumber(to[1]))return eo;var ro=Math.min(to[0],to[1]),no=Math.max(to[0],to[1]),io=[eo[0],eo[1]];return(!isNumber(eo[0])||eo[0]<ro)&&(io[0]=ro),(!isNumber(eo[1])||eo[1]>no)&&(io[1]=no),io[0]>no&&(io[0]=no),io[1]<ro&&(io[1]=ro),io},offsetSign=function Yi(eo){var to=eo.length;if(!(to<=0))for(var ro=0,no=eo[0].length;ro<no;++ro)for(var io=0,oo=0,ao=0;ao<to;++ao){var so=isNan(eo[ao][ro][1])?eo[ao][ro][0]:eo[ao][ro][1];so>=0?(eo[ao][ro][0]=io,eo[ao][ro][1]=io+so,io=eo[ao][ro][1]):(eo[ao][ro][0]=oo,eo[ao][ro][1]=oo+so,oo=eo[ao][ro][1])}},offsetPositive=function Yi(eo){var to=eo.length;if(!(to<=0))for(var ro=0,no=eo[0].length;ro<no;++ro)for(var io=0,oo=0;oo<to;++oo){var ao=isNan(eo[oo][ro][1])?eo[oo][ro][0]:eo[oo][ro][1];ao>=0?(eo[oo][ro][0]=io,eo[oo][ro][1]=io+ao,io=eo[oo][ro][1]):(eo[oo][ro][0]=0,eo[oo][ro][1]=0)}},STACK_OFFSET_MAP={sign:offsetSign,expand:stackOffsetExpand,none:stackOffsetNone,silhouette:stackOffsetSilhouette,wiggle:stackOffsetWiggle,positive:offsetPositive},getStackedData=function Yi(eo,to,ro){var no=to.map(function(ao){return ao.props.dataKey}),io=STACK_OFFSET_MAP[ro],oo=shapeStack().keys(no).value(function(ao,so){return+getValueByDataKey(ao,so,0)}).order(stackOrderNone).offset(io);return oo(eo)},getStackGroupsByAxisId=function Yi(eo,to,ro,no,io,oo){if(!eo)return null;var ao=oo?to.reverse():to,so={},lo=ao.reduce(function(uo,fo){var ho,mo=(ho=fo.type)!==null&&ho!==void 0&&ho.defaultProps?_objectSpread$q(_objectSpread$q({},fo.type.defaultProps),fo.props):fo.props,vo=mo.stackId,Co=mo.hide;if(Co)return uo;var bo=mo[ro],wo=uo[bo]||{hasStack:!1,stackGroups:{}};if(isNumOrStr(vo)){var yo=wo.stackGroups[vo]||{numericAxisId:ro,cateAxisId:no,items:[]};yo.items.push(fo),wo.hasStack=!0,wo.stackGroups[vo]=yo}else wo.stackGroups[uniqueId("_stackId_")]={numericAxisId:ro,cateAxisId:no,items:[fo]};return _objectSpread$q(_objectSpread$q({},uo),{},_defineProperty$v({},bo,wo))},so),co={};return Object.keys(lo).reduce(function(uo,fo){var ho=lo[fo];if(ho.hasStack){var mo={};ho.stackGroups=Object.keys(ho.stackGroups).reduce(function(vo,Co){var bo=ho.stackGroups[Co];return _objectSpread$q(_objectSpread$q({},vo),{},_defineProperty$v({},Co,{numericAxisId:ro,cateAxisId:no,items:bo.items,stackedData:getStackedData(eo,bo.items,io)}))},mo)}return _objectSpread$q(_objectSpread$q({},uo),{},_defineProperty$v({},fo,ho))},co)},getTicksOfScale=function Yi(eo,to){var ro=to.realScaleType,no=to.type,io=to.tickCount,oo=to.originalDomain,ao=to.allowDecimals,so=ro||to.scale;if(so!=="auto"&&so!=="linear")return null;if(io&&no==="number"&&oo&&(oo[0]==="auto"||oo[1]==="auto")){var lo=eo.domain();if(!lo.length)return null;var co=getNiceTickValues(lo,io,ao);return eo.domain([min$1(co),max$1(co)]),{niceTicks:co}}if(io&&no==="number"){var uo=eo.domain(),fo=getTickValuesFixedDomain(uo,io,ao);return{niceTicks:fo}}return null},getCateCoordinateOfBar=function Yi(eo){var to=eo.axis,ro=eo.ticks,no=eo.offset,io=eo.bandSize,oo=eo.entry,ao=eo.index;if(to.type==="category")return ro[ao]?ro[ao].coordinate+no:null;var so=getValueByDataKey(oo,to.dataKey,to.domain[ao]);return isNil$1(so)?null:to.scale(so)-io/2+no},getBaseValueOfBar=function Yi(eo){var to=eo.numericAxis,ro=to.scale.domain();if(to.type==="number"){var no=Math.min(ro[0],ro[1]),io=Math.max(ro[0],ro[1]);return no<=0&&io>=0?0:io<0?io:no}return ro[0]},getStackedDataOfItem=function Yi(eo,to){var ro,no=(ro=eo.type)!==null&&ro!==void 0&&ro.defaultProps?_objectSpread$q(_objectSpread$q({},eo.type.defaultProps),eo.props):eo.props,io=no.stackId;if(isNumOrStr(io)){var oo=to[io];if(oo){var ao=oo.items.indexOf(eo);return ao>=0?oo.stackedData[ao]:null}}return null},getDomainOfSingle=function Yi(eo){return eo.reduce(function(to,ro){return[min$1(ro.concat([to[0]]).filter(isNumber)),max$1(ro.concat([to[1]]).filter(isNumber))]},[1/0,-1/0])},getDomainOfStackGroups=function Yi(eo,to,ro){return Object.keys(eo).reduce(function(no,io){var oo=eo[io],ao=oo.stackedData,so=ao.reduce(function(lo,co){var uo=getDomainOfSingle(co.slice(to,ro+1));return[Math.min(lo[0],uo[0]),Math.max(lo[1],uo[1])]},[1/0,-1/0]);return[Math.min(so[0],no[0]),Math.max(so[1],no[1])]},[1/0,-1/0]).map(function(no){return no===1/0||no===-1/0?0:no})},MIN_VALUE_REG=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,MAX_VALUE_REG=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,parseSpecifiedDomain=function Yi(eo,to,ro){if(isFunction$4(eo))return eo(to,ro);if(!Array.isArray(eo))return to;var no=[];if(isNumber(eo[0]))no[0]=ro?eo[0]:Math.min(eo[0],to[0]);else if(MIN_VALUE_REG.test(eo[0])){var io=+MIN_VALUE_REG.exec(eo[0])[1];no[0]=to[0]-io}else isFunction$4(eo[0])?no[0]=eo[0](to[0]):no[0]=to[0];if(isNumber(eo[1]))no[1]=ro?eo[1]:Math.max(eo[1],to[1]);else if(MAX_VALUE_REG.test(eo[1])){var oo=+MAX_VALUE_REG.exec(eo[1])[1];no[1]=to[1]+oo}else isFunction$4(eo[1])?no[1]=eo[1](to[1]):no[1]=to[1];return no},getBandSizeOfAxis=function Yi(eo,to,ro){if(eo&&eo.scale&&eo.scale.bandwidth){var no=eo.scale.bandwidth();if(!ro||no>0)return no}if(eo&&to&&to.length>=2){for(var io=sortBy$1(to,function(uo){return uo.coordinate}),oo=1/0,ao=1,so=io.length;ao<so;ao++){var lo=io[ao],co=io[ao-1];oo=Math.min((lo.coordinate||0)-(co.coordinate||0),oo)}return oo===1/0?0:oo}return ro?void 0:0},parseDomainOfCategoryAxis=function Yi(eo,to,ro){return!eo||!eo.length||isEqual$1(eo,get$3(ro,"type.defaultProps.domain"))?to:eo},getTooltipItem=function Yi(eo,to){var ro=eo.type.defaultProps?_objectSpread$q(_objectSpread$q({},eo.type.defaultProps),eo.props):eo.props,no=ro.dataKey,io=ro.name,oo=ro.unit,ao=ro.formatter,so=ro.tooltipType,lo=ro.chartType,co=ro.hide;return _objectSpread$q(_objectSpread$q({},filterProps(eo,!1)),{},{dataKey:no,unit:oo,formatter:ao,name:io||no,color:getMainColorOfGraphicItem(eo),value:getValueByDataKey(to,no),type:so,payload:to,chartType:lo,hide:co})};function _typeof$u(Yi){"@babel/helpers - typeof";return _typeof$u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$u(Yi)}function ownKeys$p(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$p(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$p(Object(to),!0).forEach(function(ro){_defineProperty$u(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$p(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$u(Yi,eo,to){return eo=_toPropertyKey$q(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$q(Yi){var eo=_toPrimitive$q(Yi,"string");return _typeof$u(eo)=="symbol"?eo:eo+""}function _toPrimitive$q(Yi,eo){if(_typeof$u(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$u(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi)}var RADIAN=Math.PI/180,radianToDegree=function Yi(eo){return eo*180/Math.PI},polarToCartesian=function Yi(eo,to,ro,no){return{x:eo+Math.cos(-RADIAN*no)*ro,y:to+Math.sin(-RADIAN*no)*ro}},distanceBetweenPoints=function Yi(eo,to){var ro=eo.x,no=eo.y,io=to.x,oo=to.y;return Math.sqrt(Math.pow(ro-io,2)+Math.pow(no-oo,2))},getAngleOfPoint=function Yi(eo,to){var ro=eo.x,no=eo.y,io=to.cx,oo=to.cy,ao=distanceBetweenPoints({x:ro,y:no},{x:io,y:oo});if(ao<=0)return{radius:ao};var so=(ro-io)/ao,lo=Math.acos(so);return no>oo&&(lo=2*Math.PI-lo),{radius:ao,angle:radianToDegree(lo),angleInRadian:lo}},formatAngleOfSector=function Yi(eo){var to=eo.startAngle,ro=eo.endAngle,no=Math.floor(to/360),io=Math.floor(ro/360),oo=Math.min(no,io);return{startAngle:to-oo*360,endAngle:ro-oo*360}},reverseFormatAngleOfSetor=function Yi(eo,to){var ro=to.startAngle,no=to.endAngle,io=Math.floor(ro/360),oo=Math.floor(no/360),ao=Math.min(io,oo);return eo+ao*360},inRangeOfSector=function Yi(eo,to){var ro=eo.x,no=eo.y,io=getAngleOfPoint({x:ro,y:no},to),oo=io.radius,ao=io.angle,so=to.innerRadius,lo=to.outerRadius;if(oo<so||oo>lo)return!1;if(oo===0)return!0;var co=formatAngleOfSector(to),uo=co.startAngle,fo=co.endAngle,ho=ao,mo;if(uo<=fo){for(;ho>fo;)ho-=360;for(;ho<uo;)ho+=360;mo=ho>=uo&&ho<=fo}else{for(;ho>uo;)ho-=360;for(;ho<fo;)ho+=360;mo=ho>=fo&&ho<=uo}return mo?_objectSpread$p(_objectSpread$p({},to),{},{radius:oo,angle:reverseFormatAngleOfSetor(ho,to)}):null};function _typeof$t(Yi){"@babel/helpers - typeof";return _typeof$t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$t(Yi)}var _excluded$c=["offset"];function _toConsumableArray$7(Yi){return _arrayWithoutHoles$7(Yi)||_iterableToArray$8(Yi)||_unsupportedIterableToArray$a(Yi)||_nonIterableSpread$7()}function _nonIterableSpread$7(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
444In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$a(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$a(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray$a(Yi,eo)}}function _iterableToArray$8(Yi){if(typeof Symbol<"u"&&Yi[Symbol.iterator]!=null||Yi["@@iterator"]!=null)return Array.from(Yi)}function _arrayWithoutHoles$7(Yi){if(Array.isArray(Yi))return _arrayLikeToArray$a(Yi)}function _arrayLikeToArray$a(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}function _objectWithoutProperties$8(Yi,eo){if(Yi==null)return{};var to=_objectWithoutPropertiesLoose$a(Yi,eo),ro,no;if(Object.getOwnPropertySymbols){var io=Object.getOwnPropertySymbols(Yi);for(no=0;no<io.length;no++)ro=io[no],!(eo.indexOf(ro)>=0)&&Object.prototype.propertyIsEnumerable.call(Yi,ro)&&(to[ro]=Yi[ro])}return to}function _objectWithoutPropertiesLoose$a(Yi,eo){if(Yi==null)return{};var to={};for(var ro in Yi)if(Object.prototype.hasOwnProperty.call(Yi,ro)){if(eo.indexOf(ro)>=0)continue;to[ro]=Yi[ro]}return to}function ownKeys$o(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$o(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$o(Object(to),!0).forEach(function(ro){_defineProperty$t(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$o(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$t(Yi,eo,to){return eo=_toPropertyKey$p(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$p(Yi){var eo=_toPrimitive$p(Yi,"string");return _typeof$t(eo)=="symbol"?eo:eo+""}function _toPrimitive$p(Yi,eo){if(_typeof$t(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$t(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi)}function _extends$1A(){return _extends$1A=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1A.apply(this,arguments)}var getLabel=function Yi(eo){var to=eo.value,ro=eo.formatter,no=isNil$1(eo.children)?to:eo.children;return isFunction$4(ro)?ro(no):no},getDeltaAngle$1=function Yi(eo,to){var ro=mathSign(to-eo),no=Math.min(Math.abs(to-eo),360);return ro*no},renderRadialLabel=function Yi(eo,to,ro){var no=eo.position,io=eo.viewBox,oo=eo.offset,ao=eo.className,so=io,lo=so.cx,co=so.cy,uo=so.innerRadius,fo=so.outerRadius,ho=so.startAngle,mo=so.endAngle,vo=so.clockWise,Co=(uo+fo)/2,bo=getDeltaAngle$1(ho,mo),wo=bo>=0?1:-1,yo,Eo;no==="insideStart"?(yo=ho+wo*oo,Eo=vo):no==="insideEnd"?(yo=mo-wo*oo,Eo=!vo):no==="end"&&(yo=mo+wo*oo,Eo=vo),Eo=bo<=0?Eo:!Eo;var xo=polarToCartesian(lo,co,Co,yo),So=polarToCartesian(lo,co,Co,yo+(Eo?1:-1)*359),To="M".concat(xo.x,",").concat(xo.y,`
445    A`).concat(Co,",").concat(Co,",0,1,").concat(Eo?0:1,`,
446    `).concat(So.x,",").concat(So.y),Ro=isNil$1(eo.id)?uniqueId("recharts-radial-line-"):eo.id;return React$1F.createElement("text",_extends$1A({},ro,{dominantBaseline:"central",className:clsx("recharts-radial-bar-label",ao)}),React$1F.createElement("defs",null,React$1F.createElement("path",{id:Ro,d:To})),React$1F.createElement("textPath",{xlinkHref:"#".concat(Ro)},to))},getAttrsOfPolarLabel=function Yi(eo){var to=eo.viewBox,ro=eo.offset,no=eo.position,io=to,oo=io.cx,ao=io.cy,so=io.innerRadius,lo=io.outerRadius,co=io.startAngle,uo=io.endAngle,fo=(co+uo)/2;if(no==="outside"){var ho=polarToCartesian(oo,ao,lo+ro,fo),mo=ho.x,vo=ho.y;return{x:mo,y:vo,textAnchor:mo>=oo?"start":"end",verticalAnchor:"middle"}}if(no==="center")return{x:oo,y:ao,textAnchor:"middle",verticalAnchor:"middle"};if(no==="centerTop")return{x:oo,y:ao,textAnchor:"middle",verticalAnchor:"start"};if(no==="centerBottom")return{x:oo,y:ao,textAnchor:"middle",verticalAnchor:"end"};var Co=(so+lo)/2,bo=polarToCartesian(oo,ao,Co,fo),wo=bo.x,yo=bo.y;return{x:wo,y:yo,textAnchor:"middle",verticalAnchor:"middle"}},getAttrsOfCartesianLabel=function Yi(eo){var to=eo.viewBox,ro=eo.parentViewBox,no=eo.offset,io=eo.position,oo=to,ao=oo.x,so=oo.y,lo=oo.width,co=oo.height,uo=co>=0?1:-1,fo=uo*no,ho=uo>0?"end":"start",mo=uo>0?"start":"end",vo=lo>=0?1:-1,Co=vo*no,bo=vo>0?"end":"start",wo=vo>0?"start":"end";if(io==="top"){var yo={x:ao+lo/2,y:so-uo*no,textAnchor:"middle",verticalAnchor:ho};return _objectSpread$o(_objectSpread$o({},yo),ro?{height:Math.max(so-ro.y,0),width:lo}:{})}if(io==="bottom"){var Eo={x:ao+lo/2,y:so+co+fo,textAnchor:"middle",verticalAnchor:mo};return _objectSpread$o(_objectSpread$o({},Eo),ro?{height:Math.max(ro.y+ro.height-(so+co),0),width:lo}:{})}if(io==="left"){var xo={x:ao-Co,y:so+co/2,textAnchor:bo,verticalAnchor:"middle"};return _objectSpread$o(_objectSpread$o({},xo),ro?{width:Math.max(xo.x-ro.x,0),height:co}:{})}if(io==="right"){var So={x:ao+lo+Co,y:so+co/2,textAnchor:wo,verticalAnchor:"middle"};return _objectSpread$o(_objectSpread$o({},So),ro?{width:Math.max(ro.x+ro.width-So.x,0),height:co}:{})}var To=ro?{width:lo,height:co}:{};return io==="insideLeft"?_objectSpread$o({x:ao+Co,y:so+co/2,textAnchor:wo,verticalAnchor:"middle"},To):io==="insideRight"?_objectSpread$o({x:ao+lo-Co,y:so+co/2,textAnchor:bo,verticalAnchor:"middle"},To):io==="insideTop"?_objectSpread$o({x:ao+lo/2,y:so+fo,textAnchor:"middle",verticalAnchor:mo},To):io==="insideBottom"?_objectSpread$o({x:ao+lo/2,y:so+co-fo,textAnchor:"middle",verticalAnchor:ho},To):io==="insideTopLeft"?_objectSpread$o({x:ao+Co,y:so+fo,textAnchor:wo,verticalAnchor:mo},To):io==="insideTopRight"?_objectSpread$o({x:ao+lo-Co,y:so+fo,textAnchor:bo,verticalAnchor:mo},To):io==="insideBottomLeft"?_objectSpread$o({x:ao+Co,y:so+co-fo,textAnchor:wo,verticalAnchor:ho},To):io==="insideBottomRight"?_objectSpread$o({x:ao+lo-Co,y:so+co-fo,textAnchor:bo,verticalAnchor:ho},To):isObject$b(io)&&(isNumber(io.x)||isPercent(io.x))&&(isNumber(io.y)||isPercent(io.y))?_objectSpread$o({x:ao+getPercentValue(io.x,lo),y:so+getPercentValue(io.y,co),textAnchor:"end",verticalAnchor:"end"},To):_objectSpread$o({x:ao+lo/2,y:so+co/2,textAnchor:"middle",verticalAnchor:"middle"},To)},isPolar=function Yi(eo){return"cx"in eo&&isNumber(eo.cx)};function Label(Yi){var eo=Yi.offset,to=eo===void 0?5:eo,ro=_objectWithoutProperties$8(Yi,_excluded$c),no=_objectSpread$o({offset:to},ro),io=no.viewBox,oo=no.position,ao=no.value,so=no.children,lo=no.content,co=no.className,uo=co===void 0?"":co,fo=no.textBreakAll;if(!io||isNil$1(ao)&&isNil$1(so)&&!reactExports.isValidElement(lo)&&!isFunction$4(lo))return null;if(reactExports.isValidElement(lo))return reactExports.cloneElement(lo,no);var ho;if(isFunction$4(lo)){if(ho=reactExports.createElement(lo,no),reactExports.isValidElement(ho))return ho}else ho=getLabel(no);var mo=isPolar(io),vo=filterProps(no,!0);if(mo&&(oo==="insideStart"||oo==="insideEnd"||oo==="end"))return renderRadialLabel(no,ho,vo);var Co=mo?getAttrsOfPolarLabel(no):getAttrsOfCartesianLabel(no);return React$1F.createElement(Text,_extends$1A({className:clsx("recharts-label",uo)},vo,Co,{breakAll:fo}),ho)}Label.displayName="Label";var parseViewBox=function Yi(eo){var to=eo.cx,ro=eo.cy,no=eo.angle,io=eo.startAngle,oo=eo.endAngle,ao=eo.r,so=eo.radius,lo=eo.innerRadius,co=eo.outerRadius,uo=eo.x,fo=eo.y,ho=eo.top,mo=eo.left,vo=eo.width,Co=eo.height,bo=eo.clockWise,wo=eo.labelViewBox;if(wo)return wo;if(isNumber(vo)&&isNumber(Co)){if(isNumber(uo)&&isNumber(fo))return{x:uo,y:fo,width:vo,height:Co};if(isNumber(ho)&&isNumber(mo))return{x:ho,y:mo,width:vo,height:Co}}return isNumber(uo)&&isNumber(fo)?{x:uo,y:fo,width:0,height:0}:isNumber(to)&&isNumber(ro)?{cx:to,cy:ro,startAngle:io||no||0,endAngle:oo||no||0,innerRadius:lo||0,outerRadius:co||so||ao||0,clockWise:bo}:eo.viewBox?eo.viewBox:{}},parseLabel=function Yi(eo,to){return eo?eo===!0?React$1F.createElement(Label,{key:"label-implicit",viewBox:to}):isNumOrStr(eo)?React$1F.createElement(Label,{key:"label-implicit",viewBox:to,value:eo}):reactExports.isValidElement(eo)?eo.type===Label?reactExports.cloneElement(eo,{key:"label-implicit",viewBox:to}):React$1F.createElement(Label,{key:"label-implicit",content:eo,viewBox:to}):isFunction$4(eo)?React$1F.createElement(Label,{key:"label-implicit",content:eo,viewBox:to}):isObject$b(eo)?React$1F.createElement(Label,_extends$1A({viewBox:to},eo,{key:"label-implicit"})):null:null},renderCallByParent$1=function Yi(eo,to){var ro=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!eo||!eo.children&&ro&&!eo.label)return null;var no=eo.children,io=parseViewBox(eo),oo=findAllByType(no,Label).map(function(so,lo){return reactExports.cloneElement(so,{viewBox:to||io,key:"label-".concat(lo)})});if(!ro)return oo;var ao=parseLabel(eo.label,to||io);return[ao].concat(_toConsumableArray$7(oo))};Label.parseViewBox=parseViewBox;Label.renderCallByParent=renderCallByParent$1;function last(Yi){var eo=Yi==null?0:Yi.length;return eo?Yi[eo-1]:void 0}var last_1=last;const last$1=getDefaultExportFromCjs(last_1);function _typeof$s(Yi){"@babel/helpers - typeof";return _typeof$s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$s(Yi)}var _excluded$b=["valueAccessor"],_excluded2$3=["data","dataKey","clockWise","id","textBreakAll"];function _toConsumableArray$6(Yi){return _arrayWithoutHoles$6(Yi)||_iterableToArray$7(Yi)||_unsupportedIterableToArray$9(Yi)||_nonIterableSpread$6()}function _nonIterableSpread$6(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
447In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$9(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$9(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray$9(Yi,eo)}}function _iterableToArray$7(Yi){if(typeof Symbol<"u"&&Yi[Symbol.iterator]!=null||Yi["@@iterator"]!=null)return Array.from(Yi)}function _arrayWithoutHoles$6(Yi){if(Array.isArray(Yi))return _arrayLikeToArray$9(Yi)}function _arrayLikeToArray$9(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}function _extends$1z(){return _extends$1z=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1z.apply(this,arguments)}function ownKeys$n(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$n(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$n(Object(to),!0).forEach(function(ro){_defineProperty$s(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$n(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$s(Yi,eo,to){return eo=_toPropertyKey$o(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$o(Yi){var eo=_toPrimitive$o(Yi,"string");return _typeof$s(eo)=="symbol"?eo:eo+""}function _toPrimitive$o(Yi,eo){if(_typeof$s(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$s(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi)}function _objectWithoutProperties$7(Yi,eo){if(Yi==null)return{};var to=_objectWithoutPropertiesLoose$9(Yi,eo),ro,no;if(Object.getOwnPropertySymbols){var io=Object.getOwnPropertySymbols(Yi);for(no=0;no<io.length;no++)ro=io[no],!(eo.indexOf(ro)>=0)&&Object.prototype.propertyIsEnumerable.call(Yi,ro)&&(to[ro]=Yi[ro])}return to}function _objectWithoutPropertiesLoose$9(Yi,eo){if(Yi==null)return{};var to={};for(var ro in Yi)if(Object.prototype.hasOwnProperty.call(Yi,ro)){if(eo.indexOf(ro)>=0)continue;to[ro]=Yi[ro]}return to}var defaultAccessor=function Yi(eo){return Array.isArray(eo.value)?last$1(eo.value):eo.value};function LabelList(Yi){var eo=Yi.valueAccessor,to=eo===void 0?defaultAccessor:eo,ro=_objectWithoutProperties$7(Yi,_excluded$b),no=ro.data,io=ro.dataKey,oo=ro.clockWise,ao=ro.id,so=ro.textBreakAll,lo=_objectWithoutProperties$7(ro,_excluded2$3);return!no||!no.length?null:React$1F.createElement(Layer,{className:"recharts-label-list"},no.map(function(co,uo){var fo=isNil$1(io)?to(co,uo):getValueByDataKey(co&&co.payload,io),ho=isNil$1(ao)?{}:{id:"".concat(ao,"-").concat(uo)};return React$1F.createElement(Label,_extends$1z({},filterProps(co,!0),lo,ho,{parentViewBox:co.parentViewBox,value:fo,textBreakAll:so,viewBox:Label.parseViewBox(isNil$1(oo)?co:_objectSpread$n(_objectSpread$n({},co),{},{clockWise:oo})),key:"label-".concat(uo),index:uo}))}))}LabelList.displayName="LabelList";function parseLabelList(Yi,eo){return Yi?Yi===!0?React$1F.createElement(LabelList,{key:"labelList-implicit",data:eo}):React$1F.isValidElement(Yi)||isFunction$4(Yi)?React$1F.createElement(LabelList,{key:"labelList-implicit",data:eo,content:Yi}):isObject$b(Yi)?React$1F.createElement(LabelList,_extends$1z({data:eo},Yi,{key:"labelList-implicit"})):null:null}function renderCallByParent(Yi,eo){var to=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!Yi||!Yi.children&&to&&!Yi.label)return null;var ro=Yi.children,no=findAllByType(ro,LabelList).map(function(oo,ao){return reactExports.cloneElement(oo,{data:eo,key:"labelList-".concat(ao)})});if(!to)return no;var io=parseLabelList(Yi.label,eo);return[io].concat(_toConsumableArray$6(no))}LabelList.renderCallByParent=renderCallByParent;function _typeof$r(Yi){"@babel/helpers - typeof";return _typeof$r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$r(Yi)}function _extends$1y(){return _extends$1y=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1y.apply(this,arguments)}function ownKeys$m(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$m(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$m(Object(to),!0).forEach(function(ro){_defineProperty$r(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$m(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$r(Yi,eo,to){return eo=_toPropertyKey$n(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$n(Yi){var eo=_toPrimitive$n(Yi,"string");return _typeof$r(eo)=="symbol"?eo:eo+""}function _toPrimitive$n(Yi,eo){if(_typeof$r(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$r(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi)}var getDeltaAngle=function Yi(eo,to){var ro=mathSign(to-eo),no=Math.min(Math.abs(to-eo),359.999);return ro*no},getTangentCircle=function Yi(eo){var to=eo.cx,ro=eo.cy,no=eo.radius,io=eo.angle,oo=eo.sign,ao=eo.isExternal,so=eo.cornerRadius,lo=eo.cornerIsExternal,co=so*(ao?1:-1)+no,uo=Math.asin(so/co)/RADIAN,fo=lo?io:io+oo*uo,ho=polarToCartesian(to,ro,co,fo),mo=polarToCartesian(to,ro,no,fo),vo=lo?io-oo*uo:io,Co=polarToCartesian(to,ro,co*Math.cos(uo*RADIAN),vo);return{center:ho,circleTangency:mo,lineTangency:Co,theta:uo}},getSectorPath=function Yi(eo){var to=eo.cx,ro=eo.cy,no=eo.innerRadius,io=eo.outerRadius,oo=eo.startAngle,ao=eo.endAngle,so=getDeltaAngle(oo,ao),lo=oo+so,co=polarToCartesian(to,ro,io,oo),uo=polarToCartesian(to,ro,io,lo),fo="M ".concat(co.x,",").concat(co.y,`
448    A `).concat(io,",").concat(io,`,0,
449    `).concat(+(Math.abs(so)>180),",").concat(+(oo>lo),`,
450    `).concat(uo.x,",").concat(uo.y,`
451  `);if(no>0){var ho=polarToCartesian(to,ro,no,oo),mo=polarToCartesian(to,ro,no,lo);fo+="L ".concat(mo.x,",").concat(mo.y,`
452            A `).concat(no,",").concat(no,`,0,
453            `).concat(+(Math.abs(so)>180),",").concat(+(oo<=lo),`,
454            `).concat(ho.x,",").concat(ho.y," Z")}else fo+="L ".concat(to,",").concat(ro," Z");return fo},getSectorWithCorner=function Yi(eo){var to=eo.cx,ro=eo.cy,no=eo.innerRadius,io=eo.outerRadius,oo=eo.cornerRadius,ao=eo.forceCornerRadius,so=eo.cornerIsExternal,lo=eo.startAngle,co=eo.endAngle,uo=mathSign(co-lo),fo=getTangentCircle({cx:to,cy:ro,radius:io,angle:lo,sign:uo,cornerRadius:oo,cornerIsExternal:so}),ho=fo.circleTangency,mo=fo.lineTangency,vo=fo.theta,Co=getTangentCircle({cx:to,cy:ro,radius:io,angle:co,sign:-uo,cornerRadius:oo,cornerIsExternal:so}),bo=Co.circleTangency,wo=Co.lineTangency,yo=Co.theta,Eo=so?Math.abs(lo-co):Math.abs(lo-co)-vo-yo;if(Eo<0)return ao?"M ".concat(mo.x,",").concat(mo.y,`
455        a`).concat(oo,",").concat(oo,",0,0,1,").concat(oo*2,`,0
456        a`).concat(oo,",").concat(oo,",0,0,1,").concat(-oo*2,`,0
457      `):getSectorPath({cx:to,cy:ro,innerRadius:no,outerRadius:io,startAngle:lo,endAngle:co});var xo="M ".concat(mo.x,",").concat(mo.y,`
458    A`).concat(oo,",").concat(oo,",0,0,").concat(+(uo<0),",").concat(ho.x,",").concat(ho.y,`
459    A`).concat(io,",").concat(io,",0,").concat(+(Eo>180),",").concat(+(uo<0),",").concat(bo.x,",").concat(bo.y,`
460    A`).concat(oo,",").concat(oo,",0,0,").concat(+(uo<0),",").concat(wo.x,",").concat(wo.y,`
461  `);if(no>0){var So=getTangentCircle({cx:to,cy:ro,radius:no,angle:lo,sign:uo,isExternal:!0,cornerRadius:oo,cornerIsExternal:so}),To=So.circleTangency,Ro=So.lineTangency,Po=So.theta,zo=getTangentCircle({cx:to,cy:ro,radius:no,angle:co,sign:-uo,isExternal:!0,cornerRadius:oo,cornerIsExternal:so}),Ho=zo.circleTangency,Vo=zo.lineTangency,Lo=zo.theta,Uo=so?Math.abs(lo-co):Math.abs(lo-co)-Po-Lo;if(Uo<0&&oo===0)return"".concat(xo,"L").concat(to,",").concat(ro,"Z");xo+="L".concat(Vo.x,",").concat(Vo.y,`
462      A`).concat(oo,",").concat(oo,",0,0,").concat(+(uo<0),",").concat(Ho.x,",").concat(Ho.y,`
463      A`).concat(no,",").concat(no,",0,").concat(+(Uo>180),",").concat(+(uo>0),",").concat(To.x,",").concat(To.y,`
464      A`).concat(oo,",").concat(oo,",0,0,").concat(+(uo<0),",").concat(Ro.x,",").concat(Ro.y,"Z")}else xo+="L".concat(to,",").concat(ro,"Z");return xo},defaultProps$2={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},Sector=function Yi(eo){var to=_objectSpread$m(_objectSpread$m({},defaultProps$2),eo),ro=to.cx,no=to.cy,io=to.innerRadius,oo=to.outerRadius,ao=to.cornerRadius,so=to.forceCornerRadius,lo=to.cornerIsExternal,co=to.startAngle,uo=to.endAngle,fo=to.className;if(oo<io||co===uo)return null;var ho=clsx("recharts-sector",fo),mo=oo-io,vo=getPercentValue(ao,mo,0,!0),Co;return vo>0&&Math.abs(co-uo)<360?Co=getSectorWithCorner({cx:ro,cy:no,innerRadius:io,outerRadius:oo,cornerRadius:Math.min(vo,mo/2),forceCornerRadius:so,cornerIsExternal:lo,startAngle:co,endAngle:uo}):Co=getSectorPath({cx:ro,cy:no,innerRadius:io,outerRadius:oo,startAngle:co,endAngle:uo}),React$1F.createElement("path",_extends$1y({},filterProps(to,!0),{className:ho,d:Co,role:"img"}))};function _typeof$q(Yi){"@babel/helpers - typeof";return _typeof$q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$q(Yi)}function _extends$1x(){return _extends$1x=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1x.apply(this,arguments)}function ownKeys$l(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$l(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$l(Object(to),!0).forEach(function(ro){_defineProperty$q(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$l(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$q(Yi,eo,to){return eo=_toPropertyKey$m(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$m(Yi){var eo=_toPrimitive$m(Yi,"string");return _typeof$q(eo)=="symbol"?eo:eo+""}function _toPrimitive$m(Yi,eo){if(_typeof$q(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$q(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi)}var CURVE_FACTORIES={curveBasisClosed,curveBasisOpen,curveBasis,curveBumpX:bumpX,curveBumpY:bumpY,curveLinearClosed,curveLinear,curveMonotoneX:monotoneX,curveMonotoneY:monotoneY,curveNatural,curveStep,curveStepAfter:stepAfter,curveStepBefore:stepBefore},defined=function Yi(eo){return eo.x===+eo.x&&eo.y===+eo.y},getX=function Yi(eo){return eo.x},getY=function Yi(eo){return eo.y},getCurveFactory=function Yi(eo,to){if(isFunction$4(eo))return eo;var ro="curve".concat(upperFirst$1(eo));return(ro==="curveMonotone"||ro==="curveBump")&&to?CURVE_FACTORIES["".concat(ro).concat(to==="vertical"?"Y":"X")]:CURVE_FACTORIES[ro]||curveLinear},getPath$1=function Yi(eo){var to=eo.type,ro=to===void 0?"linear":to,no=eo.points,io=no===void 0?[]:no,oo=eo.baseLine,ao=eo.layout,so=eo.connectNulls,lo=so===void 0?!1:so,co=getCurveFactory(ro,ao),uo=lo?io.filter(function(vo){return defined(vo)}):io,fo;if(Array.isArray(oo)){var ho=lo?oo.filter(function(vo){return defined(vo)}):oo,mo=uo.map(function(vo,Co){return _objectSpread$l(_objectSpread$l({},vo),{},{base:ho[Co]})});return ao==="vertical"?fo=shapeArea().y(getY).x1(getX).x0(function(vo){return vo.base.x}):fo=shapeArea().x(getX).y1(getY).y0(function(vo){return vo.base.y}),fo.defined(defined).curve(co),fo(mo)}return ao==="vertical"&&isNumber(oo)?fo=shapeArea().y(getY).x1(getX).x0(oo):isNumber(oo)?fo=shapeArea().x(getX).y1(getY).y0(oo):fo=shapeLine().x(getX).y(getY),fo.defined(defined).curve(co),fo(uo)},Curve=function Yi(eo){var to=eo.className,ro=eo.points,no=eo.path,io=eo.pathRef;if((!ro||!ro.length)&&!no)return null;var oo=ro&&ro.length?getPath$1(eo):no;return React$1F.createElement("path",_extends$1x({},filterProps(eo,!1),adaptEventHandlers(eo),{className:clsx("recharts-curve",to),d:oo,ref:io}))};const{getOwnPropertyNames,getOwnPropertySymbols}=Object,{hasOwnProperty:hasOwnProperty$2}=Object.prototype;function combineComparators(Yi,eo){return function(ro,no,io){return Yi(ro,no,io)&&eo(ro,no,io)}}function createIsCircular(Yi){return function(to,ro,no){if(!to||!ro||typeof to!="object"||typeof ro!="object")return Yi(to,ro,no);const{cache:io}=no,oo=io.get(to),ao=io.get(ro);if(oo&&ao)return oo===ro&&ao===to;io.set(to,ro),io.set(ro,to);const so=Yi(to,ro,no);return io.delete(to),io.delete(ro),so}}function getShortTag(Yi){return Yi!=null?Yi[Symbol.toStringTag]:void 0}function getStrictProperties(Yi){return getOwnPropertyNames(Yi).concat(getOwnPropertySymbols(Yi))}const hasOwn$1=Object.hasOwn||((Yi,eo)=>hasOwnProperty$2.call(Yi,eo));function sameValueZeroEqual(Yi,eo){return Yi===eo||!Yi&&!eo&&Yi!==Yi&&eo!==eo}const PREACT_VNODE="__v",PREACT_OWNER="__o",REACT_OWNER="_owner",{getOwnPropertyDescriptor,keys}=Object;function areArrayBuffersEqual(Yi,eo){return Yi.byteLength===eo.byteLength&&areTypedArraysEqual(new Uint8Array(Yi),new Uint8Array(eo))}function areArraysEqual(Yi,eo,to){let ro=Yi.length;if(eo.length!==ro)return!1;for(;ro-- >0;)if(!to.equals(Yi[ro],eo[ro],ro,ro,Yi,eo,to))return!1;return!0}function areDataViewsEqual(Yi,eo){return Yi.byteLength===eo.byteLength&&areTypedArraysEqual(new Uint8Array(Yi.buffer,Yi.byteOffset,Yi.byteLength),new Uint8Array(eo.buffer,eo.byteOffset,eo.byteLength))}function areDatesEqual(Yi,eo){return sameValueZeroEqual(Yi.getTime(),eo.getTime())}function areErrorsEqual(Yi,eo){return Yi.name===eo.name&&Yi.message===eo.message&&Yi.cause===eo.cause&&Yi.stack===eo.stack}function areFunctionsEqual(Yi,eo){return Yi===eo}function areMapsEqual(Yi,eo,to){const ro=Yi.size;if(ro!==eo.size)return!1;if(!ro)return!0;const no=new Array(ro),io=Yi.entries();let oo,ao,so=0;for(;(oo=io.next())&&!oo.done;){const lo=eo.entries();let co=!1,uo=0;for(;(ao=lo.next())&&!ao.done;){if(no[uo]){uo++;continue}const fo=oo.value,ho=ao.value;if(to.equals(fo[0],ho[0],so,uo,Yi,eo,to)&&to.equals(fo[1],ho[1],fo[0],ho[0],Yi,eo,to)){co=no[uo]=!0;break}uo++}if(!co)return!1;so++}return!0}const areNumbersEqual=sameValueZeroEqual;function areObjectsEqual(Yi,eo,to){const ro=keys(Yi);let no=ro.length;if(keys(eo).length!==no)return!1;for(;no-- >0;)if(!isPropertyEqual(Yi,eo,to,ro[no]))return!1;return!0}function areObjectsEqualStrict(Yi,eo,to){const ro=getStrictProperties(Yi);let no=ro.length;if(getStrictProperties(eo).length!==no)return!1;let io,oo,ao;for(;no-- >0;)if(io=ro[no],!isPropertyEqual(Yi,eo,to,io)||(oo=getOwnPropertyDescriptor(Yi,io),ao=getOwnPropertyDescriptor(eo,io),(oo||ao)&&(!oo||!ao||oo.configurable!==ao.configurable||oo.enumerable!==ao.enumerable||oo.writable!==ao.writable)))return!1;return!0}function arePrimitiveWrappersEqual(Yi,eo){return sameValueZeroEqual(Yi.valueOf(),eo.valueOf())}function areRegExpsEqual(Yi,eo){return Yi.source===eo.source&&Yi.flags===eo.flags}function areSetsEqual(Yi,eo,to){const ro=Yi.size;if(ro!==eo.size)return!1;if(!ro)return!0;const no=new Array(ro),io=Yi.values();let oo,ao;for(;(oo=io.next())&&!oo.done;){const so=eo.values();let lo=!1,co=0;for(;(ao=so.next())&&!ao.done;){if(!no[co]&&to.equals(oo.value,ao.value,oo.value,ao.value,Yi,eo,to)){lo=no[co]=!0;break}co++}if(!lo)return!1}return!0}function areTypedArraysEqual(Yi,eo){let to=Yi.byteLength;if(eo.byteLength!==to||Yi.byteOffset!==eo.byteOffset)return!1;for(;to-- >0;)if(Yi[to]!==eo[to])return!1;return!0}function areUrlsEqual(Yi,eo){return Yi.hostname===eo.hostname&&Yi.pathname===eo.pathname&&Yi.protocol===eo.protocol&&Yi.port===eo.port&&Yi.hash===eo.hash&&Yi.username===eo.username&&Yi.password===eo.password}function isPropertyEqual(Yi,eo,to,ro){return(ro===REACT_OWNER||ro===PREACT_OWNER||ro===PREACT_VNODE)&&(Yi.$$typeof||eo.$$typeof)?!0:hasOwn$1(eo,ro)&&to.equals(Yi[ro],eo[ro],ro,ro,Yi,eo,to)}const ARRAY_BUFFER_TAG="[object ArrayBuffer]",ARGUMENTS_TAG="[object Arguments]",BOOLEAN_TAG="[object Boolean]",DATA_VIEW_TAG="[object DataView]",DATE_TAG="[object Date]",ERROR_TAG="[object Error]",MAP_TAG="[object Map]",NUMBER_TAG="[object Number]",OBJECT_TAG="[object Object]",REG_EXP_TAG="[object RegExp]",SET_TAG="[object Set]",STRING_TAG="[object String]",TYPED_ARRAY_TAGS={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array
464]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},URL_TAG="[object URL]",toString$1=Object.prototype.toString;function createEqualityComparator({areArrayBuffersEqual:Yi,areArraysEqual:eo,areDataViewsEqual:to,areDatesEqual:ro,areErrorsEqual:no,areFunctionsEqual:io,areMapsEqual:oo,areNumbersEqual:ao,areObjectsEqual:so,arePrimitiveWrappersEqual:lo,areRegExpsEqual:co,areSetsEqual:uo,areTypedArraysEqual:fo,areUrlsEqual:ho,unknownTagComparators:mo}){return function(Co,bo,wo){if(Co===bo)return!0;if(Co==null||bo==null)return!1;const yo=typeof Co;if(yo!==typeof bo)return!1;if(yo!=="object")return yo==="number"?ao(Co,bo,wo):yo==="function"?io(Co,bo,wo):!1;const Eo=Co.constructor;if(Eo!==bo.constructor)return!1;if(Eo===Object)return so(Co,bo,wo);if(Array.isArray(Co))return eo(Co,bo,wo);if(Eo===Date)return ro(Co,bo,wo);if(Eo===RegExp)return co(Co,bo,wo);if(Eo===Map)return oo(Co,bo,wo);if(Eo===Set)return uo(Co,bo,wo);const xo=toString$1.call(Co);if(xo===DATE_TAG)return ro(Co,bo,wo);if(xo===REG_EXP_TAG)return co(Co,bo,wo);if(xo===MAP_TAG)return oo(Co,bo,wo);if(xo===SET_TAG)return uo(Co,bo,wo);if(xo===OBJECT_TAG)return typeof Co.then!="function"&&typeof bo.then!="function"&&so(Co,bo,wo);if(xo===URL_TAG)return ho(Co,bo,wo);if(xo===ERROR_TAG)return no(Co,bo,wo);if(xo===ARGUMENTS_TAG)return so(Co,bo,wo);if(TYPED_ARRAY_TAGS[xo])return fo(Co,bo,wo);if(xo===ARRAY_BUFFER_TAG)return Yi(Co,bo,wo);if(xo===DATA_VIEW_TAG)return to(Co,bo,wo);if(xo===BOOLEAN_TAG||xo===NUMBER_TAG||xo===STRING_TAG)return lo(Co,bo,wo);if(mo){let So=mo[xo];if(!So){const To=getShortTag(Co);To&&(So=mo[To])}if(So)return So(Co,bo,wo)}return!1}}function createEqualityComparatorConfig({circular:Yi,createCustomConfig:eo,strict:to}){let ro={areArrayBuffersEqual,areArraysEqual:to?areObjectsEqualStrict:areArraysEqual,areDataViewsEqual,areDatesEqual,areErrorsEqual,areFunctionsEqual,areMapsEqual:to?combineComparators(areMapsEqual,areObjectsEqualStrict):areMapsEqual,areNumbersEqual,areObjectsEqual:to?areObjectsEqualStrict:areObjectsEqual,arePrimitiveWrappersEqual,areRegExpsEqual,areSetsEqual:to?combineComparators(areSetsEqual,areObjectsEqualStrict):areSetsEqual,areTypedArraysEqual:to?combineComparators(areTypedArraysEqual,areObjectsEqualStrict):areTypedArraysEqual,areUrlsEqual,unknownTagComparators:void 0};if(eo&&(ro=Object.assign({},ro,eo(ro))),Yi){const no=createIsCircular(ro.areArraysEqual),io=createIsCircular(ro.areMapsEqual),oo=createIsCircular(ro.areObjectsEqual),ao=createIsCircular(ro.areSetsEqual);ro=Object.assign({},ro,{areArraysEqual:no,areMapsEqual:io,areObjectsEqual:oo,areSetsEqual:ao})}return ro}function createInternalEqualityComparator(Yi){return function(eo,to,ro,no,io,oo,ao){return Yi(eo,to,ao)}}function createIsEqual({circular:Yi,comparator:eo,createState:to,equals:ro,strict:no}){if(to)return function(ao,so){const{cache:lo=Yi?new WeakMap:void 0,meta:co}=to();return eo(ao,so,{cache:lo,equals:ro,meta:co,strict:no})};if(Yi)return function(ao,so){return eo(ao,so,{cache:new WeakMap,equals:ro,meta:void 0,strict:no})};const io={cache:void 0,equals:ro,meta:void 0,strict:no};return function(ao,so){return eo(ao,so,io)}}const deepEqual$1=createCustomEqual();createCustomEqual({strict:!0});createCustomEqual({circular:!0});createCustomEqual({circular:!0,strict:!0});createCustomEqual({createInternalComparator:()=>sameValueZeroEqual});createCustomEqual({strict:!0,createInternalComparator:()=>sameValueZeroEqual});createCustomEqual({circular:!0,createInternalComparator:()=>sameValueZeroEqual});createCustomEqual({circular:!0,createInternalComparator:()=>sameValueZeroEqual,strict:!0});function createCustomEqual(Yi={}){const{circular:eo=!1,createInternalComparator:to,createState:ro,strict:no=!1}=Yi,io=createEqualityComparatorConfig(Yi),oo=createEqualityComparator(io),ao=to?to(oo):createInternalEqualityComparator(oo);return createIsEqual({circular:eo,comparator:oo,createState:ro,equals:ao,strict:no})}function safeRequestAnimationFrame(Yi){typeof requestAnimationFrame<"u"&&requestAnimationFrame(Yi)}function setRafTimeout(Yi){var eo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,to=-1,ro=function no(io){to<0&&(to=io),io-to>eo?(Yi(io),to=-1):safeRequestAnimationFrame(no)};requestAnimationFrame(ro)}function _typeof$p(Yi){"@babel/helpers - typeof";return _typeof$p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$p(Yi)}function _toArray(Yi){return _arrayWithHoles$6(Yi)||_iterableToArray$6(Yi)||_unsupportedIterableToArray$8(Yi)||_nonIterableRest$6()}function _nonIterableRest$6(){throw new TypeError(`Invalid attempt to de
464structure non-iterable instance.
465In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$8(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$8(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray$8(Yi,eo)}}function _arrayLikeToArray$8(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}function _iterableToArray$6(Yi){if(typeof Symbol<"u"&&Yi[Symbol.iterator]!=null||Yi["@@iterator"]!=null)return Array.from(Yi)}function _arrayWithHoles$6(Yi){if(Array.isArray(Yi))return Yi}function createAnimateManager(){var Yi={},eo=function(){return null},to=!1,ro=function no(io){if(!to){if(Array.isArray(io)){if(!io.length)return;var oo=io,ao=_toArray(oo),so=ao[0],lo=ao.slice(1);if(typeof so=="number"){setRafTimeout(no.bind(null,lo),so);return}no(so),setRafTimeout(no.bind(null,lo));return}_typeof$p(io)==="object"&&(Yi=io,eo(Yi)),typeof io=="function"&&io()}};return{stop:function(){to=!0},start:function(io){to=!1,ro(io)},subscribe:function(io){return eo=io,function(){eo=function(){return null}}}}}function _typeof$o(Yi){"@babel/helpers - typeof";return _typeof$o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$o(Yi)}function ownKeys$k(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$k(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$k(Object(to),!0).forEach(function(ro){_defineProperty$p(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$k(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$p(Yi,eo,to){return eo=_toPropertyKey$l(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$l(Yi){var eo=_toPrimitive$l(Yi,"string");return _typeof$o(eo)==="symbol"?eo:String(eo)}function _toPrimitive$l(Yi,eo){if(_typeof$o(Yi)!=="object"||Yi===null)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$o(ro)!=="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}
vendor: 5,854 bytes, lines 465-468
465return(eo==="string"?String:Number)(Yi)}var getIntersectionKeys=function Yi(eo,to){return[Object.keys(eo),Object.keys(to)].reduce(function(ro,no){return ro.filter(function(io){return no.includes(io)})})},identity=function Yi(eo){return eo},getDashCase=function Yi(eo){return eo.replace(/([A-Z])/g,function(to){return"-".concat(to.toLowerCase())})},mapObject=function Yi(eo,to){return Object.keys(to).reduce(function(ro,no){return _objectSpread$k(_objectSpread$k({},ro),{},_defineProperty$p({},no,eo(no,to[no])))},{})},getTransitionVal=function Yi(eo,to,ro){return eo.map(function(no){return"".concat(getDashCase(no)," ").concat(to,"ms ").concat(ro)}).join(",")};function _slicedToArray$5(Yi,eo){return _arrayWithHoles$5(Yi)||_iterableToArrayLimit$5(Yi,eo)||_unsupportedIterableToArray$7(Yi,eo)||_nonIterableRest$5()}function _nonIterableRest$5(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
466In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArrayLimit$5(Yi,eo){var to=Yi==null?null:typeof Symbol<"u"&&Yi[Symbol.iterator]||Yi["@@iterator"];if(to!=null){var ro,no,io,oo,ao=[],so=!0,lo=!1;try{if(io=(to=to.call(Yi)).next,eo!==0)for(;!(so=(ro=io.call(to)).done)&&(ao.push(ro.value),ao.length!==eo);so=!0);}catch(co){lo=!0,no=co}finally{try{if(!so&&to.return!=null&&(oo=to.return(),Object(oo)!==oo))return}finally{if(lo)throw no}}return ao}}function _arrayWithHoles$5(Yi){if(Array.isArray(Yi))return Yi}function _toConsumableArray$5(Yi){return _arrayWithoutHoles$5(Yi)||_iterableToArray$5(Yi)||_unsupportedIterableToArray$7(Yi)||_nonIterableSpread$5()}function _nonIterableSpread$5(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
467In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$7(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$7(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray$7(Yi,eo)}}function _iterableToArray$5(Yi){if(typeof Symbol<"u"&&Yi[Symbol.iterator]!=null||Yi["@@iterator"]!=null)return Array.from(Yi)}function _arrayWithoutHoles$5(Yi){if(Array.isArray(Yi))return _arrayLikeToArray$7(Yi)}function _arrayLikeToArray$7(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}var ACCURACY=1e-4,cubicBezierFactor=function Yi(eo,to){return[0,3*eo,3*to-6*eo,3*eo-3*to+1]},multyTime=function Yi(eo,to){return eo.map(function(ro,no){return ro*Math.pow(to,no)}).reduce(function(ro,no){return ro+no})},cubicBezier=function Yi(eo,to){return function(ro){var no=cubicBezierFactor(eo,to);return multyTime(no,ro)}},derivativeCubicBezier=function Yi(eo,to){return function(ro){var no=cubicBezierFactor(eo,to),io=[].concat(_toConsumableArray$5(no.map(function(oo,ao){return oo*ao}).slice(1)),[0]);return multyTime(io,ro)}},configBezier=function Yi(){for(var eo=arguments.length,to=new Array(eo),ro=0;ro<eo;ro++)to[ro]=arguments[ro];var no=to[0],io=to[1],oo=to[2],ao=to[3];if(to.length===1)switch(to[0]){case"linear":no=0,io=0,oo=1,ao=1;break;case"ease":no=.25,io=.1,oo=.25,ao=1;break;case"ease-in":no=.42,io=0,oo=1,ao=1;break;case"ease-out":no=.42,io=0,oo=.58,ao=1;break;case"ease-in-out":no=0,io=0,oo=.58,ao=1;break;default:{var so=to[0].split("(");if(so[0]==="cubic-bezier"&&so[1].split(")")[0].split(",").length===4){var lo=so[1].split(")")[0].split(",").map(function(Co){return parseFloat(Co)}),co=_slicedToArray$5(lo,4);no=co[0],io=co[1],oo=co[2],ao=co[3]}}}var uo=cubicBezier(no,oo),fo=cubicBezier(io,ao),ho=derivativeCubicBezier(no,oo),mo=function(bo){return bo>1?1:bo<0?0:bo},vo=function(bo){for(var wo=bo>1?1:bo,yo=wo,Eo=0;Eo<8;++Eo){var xo=uo(yo)-wo,So=ho(yo);if(Math.abs(xo-wo)<ACCURACY||So<ACCURACY)return fo(yo);yo=mo(yo-xo/So)}return fo(yo)};return vo.isStepper=!1,vo},configSpring=function Yi(){var eo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},to=eo.stiff,ro=to===void 0?100:to,no=eo.damping,io=no===void 0?8:no,oo=eo.dt,ao=oo===void 0?17:oo,so=function(co,uo,fo){var ho=-(co-uo)*ro,mo=fo*io,vo=fo+(ho-mo)*ao/1e3,Co=fo*ao/1e3+co;return Math.abs(Co-uo)<ACCURACY&&Math.abs(vo)<ACCURACY?[uo,0]:[Co,vo]};return so.isStepper=!0,so.dt=ao,so},configEasing=function Yi(){for(var eo=arguments.length,to=new Array(eo),ro=0;ro<eo;ro++)to[ro]=arguments[ro];var no=to[0];if(typeof no=="string")switch(no){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return configBezier(no);case"spring":return configSpring();default:if(no.split("(")[0]==="cubic-bezier")return configBezier(no)}return typeof no=="function"?no:null};function _typeof$n(Yi){"@babel/helpers - typeof";return _typeof$n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$n(Yi)}function _toConsumableArray$4(Yi){return _arrayWithoutHoles$4(Yi)||_iterableToArray$4(Yi)||_unsupportedIterableToArray$6(Yi)||_nonIterableSpread$4()}function _nonIterableSpread$4(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
468In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArray$4(Yi){if(typeof Symbol<"u"&&Yi[Symbol.iterator]!=null||Yi["@@iterator"]!=null)return Array.from(Yi)}function _arrayWithoutHoles$4(Yi){if(Array.isArray(Yi))return _arrayLikeToArray$6(Yi)}function ownKeys$j(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no
468).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$j(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$j(Object(to),!0).forEach(function(ro){_defineProperty$o(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$j(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$o(Yi,eo,to){return eo=_toPropertyKey$k(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$k(Yi){var eo=_toPrimitive$k(Yi,"string");return _typeof$n(eo)==="symbol"?eo:String(eo)}function _toPrimitive$k(Yi,eo){if(_typeof$n(Yi)!=="object"||Yi===null)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$n(ro)!=="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi
vendor: 5,436 bytes, lines 468-470
468)}function _slicedToArray$4(Yi,eo){return _arrayWithHoles$4(Yi)||_iterableToArrayLimit$4(Yi,eo)||_unsupportedIterableToArray$6(Yi,eo)||_nonIterableRest$4()}function _nonIterableRest$4(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
469In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$6(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$6(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray$6(Yi,eo)}}function _arrayLikeToArray$6(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}function _iterableToArrayLimit$4(Yi,eo){var to=Yi==null?null:typeof Symbol<"u"&&Yi[Symbol.iterator]||Yi["@@iterator"];if(to!=null){var ro,no,io,oo,ao=[],so=!0,lo=!1;try{if(io=(to=to.call(Yi)).next,eo!==0)for(;!(so=(ro=io.call(to)).done)&&(ao.push(ro.value),ao.length!==eo);so=!0);}catch(co){lo=!0,no=co}finally{try{if(!so&&to.return!=null&&(oo=to.return(),Object(oo)!==oo))return}finally{if(lo)throw no}}return ao}}function _arrayWithHoles$4(Yi){if(Array.isArray(Yi))return Yi}var alpha=function Yi(eo,to,ro){return eo+(to-eo)*ro},needContinue=function Yi(eo){var to=eo.from,ro=eo.to;return to!==ro},calStepperVals=function Yi(eo,to,ro){var no=mapObject(function(io,oo){if(needContinue(oo)){var ao=eo(oo.from,oo.to,oo.velocity),so=_slicedToArray$4(ao,2),lo=so[0],co=so[1];return _objectSpread$j(_objectSpread$j({},oo),{},{from:lo,velocity:co})}return oo},to);return ro<1?mapObject(function(io,oo){return needContinue(oo)?_objectSpread$j(_objectSpread$j({},oo),{},{velocity:alpha(oo.velocity,no[io].velocity,ro),from:alpha(oo.from,no[io].from,ro)}):oo},to):Yi(eo,no,ro-1)};const configUpdate=(function(Yi,eo,to,ro,no){var io=getIntersectionKeys(Yi,eo),oo=io.reduce(function(Co,bo){return _objectSpread$j(_objectSpread$j({},Co),{},_defineProperty$o({},bo,[Yi[bo],eo[bo]]))},{}),ao=io.reduce(function(Co,bo){return _objectSpread$j(_objectSpread$j({},Co),{},_defineProperty$o({},bo,{from:Yi[bo],velocity:0,to:eo[bo]}))},{}),so=-1,lo,co,uo=function(){return null},fo=function(){return mapObject(function(bo,wo){return wo.from},ao)},ho=function(){return!Object.values(ao).filter(needContinue).length},mo=function(bo){lo||(lo=bo);var wo=bo-lo,yo=wo/to.dt;ao=calStepperVals(to,ao,yo),no(_objectSpread$j(_objectSpread$j(_objectSpread$j({},Yi),eo),fo())),lo=bo,ho()||(so=requestAnimationFrame(uo))},vo=function(bo){co||(co=bo);var wo=(bo-co)/ro,yo=mapObject(function(xo,So){return alpha.apply(void 0,_toConsumableArray$4(So).concat([to(wo)]))},oo);if(no(_objectSpread$j(_objectSpread$j(_objectSpread$j({},Yi),eo),yo)),wo<1)so=requestAnimationFrame(uo);else{var Eo=mapObject(function(xo,So){return alpha.apply(void 0,_toConsumableArray$4(So).concat([to(1)]))},oo);no(_objectSpread$j(_objectSpread$j(_objectSpread$j({},Yi),eo),Eo))}};return uo=to.isStepper?mo:vo,function(){return requestAnimationFrame(uo),function(){cancelAnimationFrame(so)}}});function _typeof$m(Yi){"@babel/helpers - typeof";return _typeof$m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$m(Yi)}var _excluded$a=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function _objectWithoutProperties$6(Yi,eo){if(Yi==null)return{};var to=_objectWithoutPropertiesLoose$8(Yi,eo),ro,no;if(Object.getOwnPropertySymbols){var io=Object.getOwnPropertySymbols(Yi);for(no=0;no<io.length;no++)ro=io[no],!(eo.indexOf(ro)>=0)&&Object.prototype.propertyIsEnumerable.call(Yi,ro)&&(to[ro]=Yi[ro])}return to}function _objectWithoutPropertiesLoose$8(Yi,eo){if(Yi==null)return{};var to={},ro=Object.keys(Yi),no,io;for(io=0;io<ro.length;io++)no=ro[io],!(eo.indexOf(no)>=0)&&(to[no]=Yi[no]);return to}function _toConsumableArray$3(Yi){return _arrayWithoutHoles$3(Yi)||_iterableToArray$3(Yi)||_unsupportedIterableToArray$5(Yi)||_nonIterableSpread$3()}function _nonIterableSpread$3(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
470In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$5(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$5(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray$5(Yi,eo)}}function _iterableToArray$3(Yi){if(typeof Symbol<"u"&&Yi[Symbol.iterator]!=null||Yi["@@iterator"]!=null)return Array.from(Yi)}function _arrayWithoutHoles$3(Yi){if(Array.isArray(Yi))return _arrayLikeToArray$5(Yi)}function _arrayLikeToArray$5(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}function ownKeys$i(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no
470).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$i(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$i(Object(to),!0).forEach(function(ro){_defineProperty$n(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$i(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$n(Yi,eo,to){return eo=_toPropertyKey$j(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _classCallCheck$d(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$d(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,_toPropertyKey$j(ro.key),ro)}}function _createClass$d(Yi,eo,to){return eo&&_defineProperties$d(Yi.prototype,eo),Object.defineProperty(Yi,"prototype",{writable:!1}),Yi}function _toPropertyKey$j(Yi){var eo=_toPrimitive$j(Yi,"string");return _typeof$m(eo)==="symbol"?eo:String(eo)}function _toPrimitive$j(Yi,eo){if(_typeof$m(Yi)!=="object"||Yi===null)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$m(ro)!=="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}
vendor: 9,004 bytes, lines 470-471
470return(eo==="string"?String:Number)(Yi)}function _inherits$b(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function");Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,writable:!0,configurable:!0}}),Object.defineProperty(Yi,"prototype",{writable:!1}),eo&&_setPrototypeOf$c(Yi,eo)}function _setPrototypeOf$c(Yi,eo){return _setPrototypeOf$c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ro,no){return ro.__proto__=no,ro},_setPrototypeOf$c(Yi,eo)}function _createSuper$2(Yi){var eo=_isNativeReflectConstruct$b();return function(){var ro=_getPrototypeOf$b(Yi),no;if(eo){var io=_getPrototypeOf$b(this).constructor;no=Reflect.construct(ro,arguments,io)}else no=ro.apply(this,arguments);return _possibleConstructorReturn$b(this,no)}}function _possibleConstructorReturn$b(Yi,eo){if(eo&&(_typeof$m(eo)==="object"||typeof eo=="function"))return eo;if(eo!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$c(Yi)}function _assertThisInitialized$c(Yi){if(Yi===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yi}function _isNativeReflectConstruct$b(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _getPrototypeOf$b(Yi){return _getPrototypeOf$b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(to){return to.__proto__||Object.getPrototypeOf(to)},_getPrototypeOf$b(Yi)}var Animate=(function(Yi){_inherits$b(to,Yi);var eo=_createSuper$2(to);function to(ro,no){var io;_classCallCheck$d(this,to),io=eo.call(this,ro,no);var oo=io.props,ao=oo.isActive,so=oo.attributeName,lo=oo.from,co=oo.to,uo=oo.steps,fo=oo.children,ho=oo.duration;if(io.handleStyleChange=io.handleStyleChange.bind(_assertThisInitialized$c(io)),io.changeStyle=io.changeStyle.bind(_assertThisInitialized$c(io)),!ao||ho<=0)return io.state={style:{}},typeof fo=="function"&&(io.state={style:co}),_possibleConstructorReturn$b(io);if(uo&&uo.length)io.state={style:uo[0].style};else if(lo){if(typeof fo=="function")return io.state={style:lo},_possibleConstructorReturn$b(io);io.state={style:so?_defineProperty$n({},so,lo):lo}}else io.state={style:{}};return io}return _createClass$d(to,[{key:"componentDidMount",value:function(){var no=this.props,io=no.isActive,oo=no.canBegin;this.mounted=!0,!(!io||!oo)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(no){var io=this.props,oo=io.isActive,ao=io.canBegin,so=io.attributeName,lo=io.shouldReAnimate,co=io.to,uo=io.from,fo=this.state.style;if(ao){if(!oo){var ho={style:so?_defineProperty$n({},so,co):co};this.state&&fo&&(so&&fo[so]!==co||!so&&fo!==co)&&this.setState(ho);return}if(!(deepEqual$1(no.to,co)&&no.canBegin&&no.isActive)){var mo=!no.canBegin||!no.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var vo=mo||lo?uo:no.to;if(this.state&&fo){var Co={style:so?_defineProperty$n({},so,vo):vo};(so&&fo[so]!==vo||!so&&fo!==vo)&&this.setState(Co)}this.runAnimation(_objectSpread$i(_objectSpread$i({},this.props),{},{from:vo,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var no=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),no&&no()}},{key:"handleStyleChange",value:function(no){this.changeStyle(no)}},{key:"changeStyle",value:function(no){this.mounted&&this.setState({style:no})}},{key:"runJSAnimation",value:function(no){var io=this,oo=no.from,ao=no.to,so=no.duration,lo=no.easing,co=no.begin,uo=no.onAnimationEnd,fo=no.onAnimationStart,ho=configUpdate(oo,ao,configEasing(lo),so,this.changeStyle),mo=function(){io.stopJSAnimation=ho()};this.manager.start([fo,co,mo,so,uo])}},{key:"runStepAnimation",value:function(no){var io=this,oo=no.steps,ao=no.begin,so=no.onAnimationStart,lo=oo[0],co=lo.style,uo=lo.duration,fo=uo===void 0?0:uo,ho=function(vo,Co,bo){if(bo===0)return vo;var wo=Co.duration,yo=Co.easing,Eo=yo===void 0?"ease":yo,xo=Co.style,So=Co.properties,To=Co.onAnimationEnd,Ro=bo>0?oo[bo-1]:Co,Po=So||Object.keys(xo);if(typeof Eo=="function"||Eo==="spring")return[].concat(_toConsumableArray$3(vo),[io.runJSAnimation.bind(io,{from:Ro.style,to:xo,duration:wo,easing:Eo}),wo]);var zo=getTransitionVal(Po,wo,Eo),Ho=_objectSpread$i(_objectSpread$i(_objectSpread$i({},Ro.style),xo),{},{transition:zo});return[].concat(_toConsumableArray$3(vo),[Ho,wo,To]).filter(identity)};return this.manager.start([so].concat(_toConsumableArray$3(oo.reduce(ho,[co,Math.max(fo,ao)])),[no.onAnimationEnd]))}},{key:"runAnimation",value:function(no){this.manager||(this.manager=createAnimateManager());var io=no.begin,oo=no.duration,ao=no.attributeName,so=no.to,lo=no.easing,co=no.onAnimationStart,uo=no.onAnimationEnd,fo=no.steps,ho=no.children,mo=this.manager;if(this.unSubscribe=mo.subscribe(this.handleStyleChange),typeof lo=="function"||typeof ho=="function"||lo==="spring"){this.runJSAnimation(no);return}if(fo.length>1){this.runStepAnimation(no);return}var vo=ao?_defineProperty$n({},ao,so):so,Co=getTransitionVal(Object.keys(vo),oo,lo);mo.start([co,io,_objectSpread$i(_objectSpread$i({},vo),{},{transition:Co}),oo,uo])}},{key:"render",value:function(){var no=this.props,io=no.children;no.begin;var oo=no.duration;no.attributeName,no.easing;var ao=no.isActive;no.steps,no.from,no.to,no.canBegin,no.onAnimationEnd,no.shouldReAnimate,no.onAnimationReStart;var so=_objectWithoutProperties$6(no,_excluded$a),lo=reactExports.Children.count(io),co=this.state.style;if(typeof io=="function")return io(co);if(!ao||lo===0||oo<=0)return io;var uo=function(ho){var mo=ho.props,vo=mo.style,Co=vo===void 0?{}:vo,bo=mo.className,wo=reactExports.cloneElement(ho,_objectSpread$i(_objectSpread$i({},so),{},{style:_objectSpread$i(_objectSpread$i({},Co),co),className:bo}));return wo};return lo===1?uo(reactExports.Children.only(io)):React$1F.createElement("div",null,reactExports.Children.map(io,function(fo){return uo(fo)}))}}]),to})(reactExports.PureComponent);Animate.displayName="Animate";Animate.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function Yi(){},onAnimationStart:function Yi(){}};Animate.propTypes={from:PropTypes.oneOfType([PropTypes.object,PropTypes.string]),to:PropTypes.oneOfType([PropTypes.object,PropTypes.string]),attributeName:PropTypes.string,duration:PropTypes.number,begin:PropTypes.number,easing:PropTypes.oneOfType([PropTypes.string,PropTypes.func]),steps:PropTypes.arrayOf(PropTypes.shape({duration:PropTypes.number.isRequired,style:PropTypes.object.isRequired,easing:PropTypes.oneOfType([PropTypes.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),PropTypes.func]),properties:PropTypes.arrayOf("string"),onAnimationEnd:PropTypes.func})),children:PropTypes.oneOfType([PropTypes.node,PropTypes.func]),isActive:PropTypes.bool,canBegin:PropTypes.bool,onAnimationEnd:PropTypes.func,shouldReAnimate:PropTypes.bool,onAnimationStart:PropTypes.func,onAnimationReStart:PropTypes.func};function _typeof$l(Yi){"@babel/helpers - typeof";return _typeof$l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$l(Yi)}function _extends$1w(){return _extends$1w=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1w.apply(this,arguments)}function _slicedToArray$3(Yi,eo){return _arrayWithHoles$3(Yi)||_iterableToArrayLimit$3(Yi,eo)||_unsupportedIterableToArray$4(Yi,eo)||_nonIterableRest$3()}function _nonIterableRest$3(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
471In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$4(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$4(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray$4(Yi,eo)}}function _arrayLikeToArray$4(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}function _iterableToArrayLimit$3(Yi,eo){var to=Yi==null?null:typeof Symbol<"u"&&Yi[Symbol.iterator]||Yi["@@iterator"];if(to!=null){var ro,no,io,oo,ao=[],so=!0,lo=!1;try{if(io=(to=to.call(Yi)).next,eo!==0)for(;!(so=(ro=io.call(to)).done)&&(ao.push(ro.value),ao.length!==eo);so=!0);}catch(co){lo=!0,no=co}
471finally{try{if(!so&&to.return!=null&&(oo=to.return(),Object(oo)!==oo))return}finally{if(lo)throw no}}return ao}}function _arrayWithHoles$3(Yi){if(Array.isArray(Yi))return Yi}function ownKeys$h(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$h(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$h(Object(to),!0).forEach(function(ro){_defineProperty$m(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$h(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$m(Yi,eo,to){return eo=_toPropertyKey$i(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$i(Yi){var eo=_toPrimitive$i(Yi,"string");return _typeof$l(eo)=="symbol"?eo:eo+""}function _toPrimitive$i(Yi,eo){if(_typeof$l(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$l(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}
vendor: 9,870 bytes, lines 471-482
471return(eo==="string"?String:Number)(Yi)}var getRectanglePath=function Yi(eo,to,ro,no,io){var oo=Math.min(Math.abs(ro)/2,Math.abs(no)/2),ao=no>=0?1:-1,so=ro>=0?1:-1,lo=no>=0&&ro>=0||no<0&&ro<0?1:0,co;if(oo>0&&io instanceof Array){for(var uo=[0,0,0,0],fo=0,ho=4;fo<ho;fo++)uo[fo]=io[fo]>oo?oo:io[fo];co="M".concat(eo,",").concat(to+ao*uo[0]),uo[0]>0&&(co+="A ".concat(uo[0],",").concat(uo[0],",0,0,").concat(lo,",").concat(eo+so*uo[0],",").concat(to)),co+="L ".concat(eo+ro-so*uo[1],",").concat(to),uo[1]>0&&(co+="A ".concat(uo[1],",").concat(uo[1],",0,0,").concat(lo,`,
472        `).concat(eo+ro,",").concat(to+ao*uo[1])),co+="L ".concat(eo+ro,",").concat(to+no-ao*uo[2]),uo[2]>0&&(co+="A ".concat(uo[2],",").concat(uo[2],",0,0,").concat(lo,`,
473        `).concat(eo+ro-so*uo[2],",").concat(to+no)),co+="L ".concat(eo+so*uo[3],",").concat(to+no),uo[3]>0&&(co+="A ".concat(uo[3],",").concat(uo[3],",0,0,").concat(lo,`,
474        `).concat(eo,",").concat(to+no-ao*uo[3])),co+="Z"}else if(oo>0&&io===+io&&io>0){var mo=Math.min(oo,io);co="M ".concat(eo,",").concat(to+ao*mo,`
475            A `).concat(mo,",").concat(mo,",0,0,").concat(lo,",").concat(eo+so*mo,",").concat(to,`
476            L `).concat(eo+ro-so*mo,",").concat(to,`
477            A `).concat(mo,",").concat(mo,",0,0,").concat(lo,",").concat(eo+ro,",").concat(to+ao*mo,`
478            L `).concat(eo+ro,",").concat(to+no-ao*mo,`
479            A `).concat(mo,",").concat(mo,",0,0,").concat(lo,",").concat(eo+ro-so*mo,",").concat(to+no,`
480            L `).concat(eo+so*mo,",").concat(to+no,`
481            A `).concat(mo,",").concat(mo,",0,0,").concat(lo,",").concat(eo,",").concat(to+no-ao*mo," Z")}else co="M ".concat(eo,",").concat(to," h ").concat(ro," v ").concat(no," h ").concat(-ro," Z");return co},isInRectangle=function Yi(eo,to){if(!eo||!to)return!1;var ro=eo.x,no=eo.y,io=to.x,oo=to.y,ao=to.width,so=to.height;if(Math.abs(ao)>0&&Math.abs(so)>0){var lo=Math.min(io,io+ao),co=Math.max(io,io+ao),uo=Math.min(oo,oo+so),fo=Math.max(oo,oo+so);return ro>=lo&&ro<=co&&no>=uo&&no<=fo}return!1},defaultProps$1={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Rectangle=function Yi(eo){var to=_objectSpread$h(_objectSpread$h({},defaultProps$1),eo),ro=reactExports.useRef(),no=reactExports.useState(-1),io=_slicedToArray$3(no,2),oo=io[0],ao=io[1];reactExports.useEffect(function(){if(ro.current&&ro.current.getTotalLength)try{var Eo=ro.current.getTotalLength();Eo&&ao(Eo)}catch{}},[]);var so=to.x,lo=to.y,co=to.width,uo=to.height,fo=to.radius,ho=to.className,mo=to.animationEasing,vo=to.animationDuration,Co=to.animationBegin,bo=to.isAnimationActive,wo=to.isUpdateAnimationActive;if(so!==+so||lo!==+lo||co!==+co||uo!==+uo||co===0||uo===0)return null;var yo=clsx("recharts-rectangle",ho);return wo?React$1F.createElement(Animate,{canBegin:oo>0,from:{width:co,height:uo,x:so,y:lo},to:{width:co,height:uo,x:so,y:lo},duration:vo,animationEasing:mo,isActive:wo},function(Eo){var xo=Eo.width,So=Eo.height,To=Eo.x,Ro=Eo.y;return React$1F.createElement(Animate,{canBegin:oo>0,from:"0px ".concat(oo===-1?1:oo,"px"),to:"".concat(oo,"px 0px"),attributeName:"strokeDasharray",begin:Co,duration:vo,isActive:bo,easing:mo},React$1F.createElement("path",_extends$1w({},filterProps(to,!0),{className:yo,d:getRectanglePath(To,Ro,xo,So,fo),ref:ro})))}):React$1F.createElement("path",_extends$1w({},filterProps(to,!0),{className:yo,d:getRectanglePath(so,lo,co,uo,fo)}))};function _extends$1v(){return _extends$1v=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1v.apply(this,arguments)}var Dot=function Yi(eo){var to=eo.cx,ro=eo.cy,no=eo.r,io=eo.className,oo=clsx("recharts-dot",io);return to===+to&&ro===+ro&&no===+no?React$1F.createElement("circle",_extends$1v({},filterProps(eo,!1),adaptEventHandlers(eo),{className:oo,cx:to,cy:ro,r:no})):null};function _typeof$k(Yi){"@babel/helpers - typeof";return _typeof$k=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$k(Yi)}var _excluded$9=["x","y","top","left","width","height","className"];function _extends$1u(){return _extends$1u=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1u.apply(this,arguments)}function ownKeys$g(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$g(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$g(Object(to),!0).forEach(function(ro){_defineProperty$l(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$g(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$l(Yi,eo,to){return eo=_toPropertyKey$h(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$h(Yi){var eo=_toPrimitive$h(Yi,"string");return _typeof$k(eo)=="symbol"?eo:eo+""}function _toPrimitive$h(Yi,eo){if(_typeof$k(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$k(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi)}function _objectWithoutProperties$5(Yi,eo){if(Yi==null)return{};var to=_objectWithoutPropertiesLoose$7(Yi,eo),ro,no;if(Object.getOwnPropertySymbols){var io=Object.getOwnPropertySymbols(Yi);for(no=0;no<io.length;no++)ro=io[no],!(eo.indexOf(ro)>=0)&&Object.prototype.propertyIsEnumerable.call(Yi,ro)&&(to[ro]=Yi[ro])}return to}function _objectWithoutPropertiesLoose$7(Yi,eo){if(Yi==null)return{};var to={};for(var ro in Yi)if(Object.prototype.hasOwnProperty.call(Yi,ro)){if(eo.indexOf(ro)>=0)continue;to[ro]=Yi[ro]}return to}var getPath=function Yi(eo,to,ro,no,io,oo){return"M".concat(eo,",").concat(io,"v").concat(no,"M").concat(oo,",").concat(to,"h").concat(ro)},Cross=function Yi(eo){var to=eo.x,ro=to===void 0?0:to,no=eo.y,io=no===void 0?0:no,oo=eo.top,ao=oo===void 0?0:oo,so=eo.left,lo=so===void 0?0:so,co=eo.width,uo=co===void 0?0:co,fo=eo.height,ho=fo===void 0?0:fo,mo=eo.className,vo=_objectWithoutProperties$5(eo,_excluded$9),Co=_objectSpread$g({x:ro,y:io,top:ao,left:lo,width:uo,height:ho},vo);return!isNumber(ro)||!isNumber(io)||!isNumber(uo)||!isNumber(ho)||!isNumber(ao)||!isNumber(lo)?null:React$1F.createElement("path",_extends$1u({},filterProps(Co,!0),{className:clsx("recharts-cross",mo),d:getPath(ro,io,uo,ho,ao,lo)}))},overArg=_overArg,getPrototype$1=overArg(Object.getPrototypeOf,Object),_getPrototype=getPrototype$1,baseGetTag$1=_baseGetTag,getPrototype=_getPrototype,isObjectLike$1=isObjectLike_1,objectTag="[object Object]",funcProto=Function.prototype,objectProto=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$1=objectProto.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject$2(Yi){if(!isObjectLike$1(Yi)||baseGetTag$1(Yi)!=objectTag)return!1;var eo=getPrototype(Yi);if(eo===null)return!0;var to=hasOwnProperty$1.call(eo,"constructor")&&eo.constructor;return typeof to=="function"&&to instanceof to&&funcToString.call(to)==objectCtorString}var isPlainObject_1=isPlainObject$2;const isPlainObject$3=getDefaultExportFromCjs(isPlainObject_1);var baseGetTag=_baseGetTag,isObjectLike=isObjectLike_1,boolTag="[object Boolean]";function isBoolean$1(Yi){return Yi===!0||Yi===!1||isObjectLike(Yi)&&baseGetTag(Yi)==boolTag}var isBoolean_1=isBoolean$1;const isBoolean$2=getDefaultExportFromCjs(isBoolean_1);function _typeof$j(Yi){"@babel/helpers - typeof";return _typeof$j=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$j(Yi)}function _extends$1t(){return _extends$1t=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1t.apply(this,arguments)}function _slicedToArray$2(Yi,eo){return _arrayWithHoles$2(Yi)||_iterableToArrayLimit$2(Yi,eo)||_unsupportedIterableToArray$3(Yi,eo)||_nonIterableRest$2()}function _nonIterableRest$2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
482In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$3(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$3(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray$3(Yi,eo)}}function _arrayLikeToArray$3(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}function _iterableToArrayLimit$2(Yi,eo){var to=Yi==null?null:typeof Symbol<"u"&&Yi[Symbol.iterator]||Yi["@@iterator"];if(to!=null){var ro,no,io,oo,ao=[],so=!0,lo=!1;try{if(io=(to=to.call(Yi)).next,eo!==0)for(;!(so=(ro=io.call(to)).done)&&(ao.push(ro.value),ao.length!==eo);so=!0);}catch(co){lo=!0,no=co}
482finally{try{if(!so&&to.return!=null&&(oo=to.return(),Object(oo)!==oo))return}finally{if(lo)throw no}}return ao}}function _arrayWithHoles$2(Yi){if(Array.isArray(Yi))return Yi}function ownKeys$f(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$f(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$f(Object(to),!0).forEach(function(ro){_defineProperty$k(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$f(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$k(Yi,eo,to){return eo=_toPropertyKey$g(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$g(Yi){var eo=_toPrimitive$g(Yi,"string");return _typeof$j(eo)=="symbol"?eo:eo+""}function _toPrimitive$g(Yi,eo){if(_typeof$j(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$j(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}
vendor: 46,993 bytes, line 482
482return(eo==="string"?String:Number)(Yi)}var getTrapezoidPath=function Yi(eo,to,ro,no,io){var oo=ro-no,ao;return ao="M ".concat(eo,",").concat(to),ao+="L ".concat(eo+ro,",").concat(to),ao+="L ".concat(eo+ro-oo/2,",").concat(to+io),ao+="L ".concat(eo+ro-oo/2-no,",").concat(to+io),ao+="L ".concat(eo,",").concat(to," Z"),ao},defaultProps={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Trapezoid=function Yi(eo){var to=_objectSpread$f(_objectSpread$f({},defaultProps),eo),ro=reactExports.useRef(),no=reactExports.useState(-1),io=_slicedToArray$2(no,2),oo=io[0],ao=io[1];reactExports.useEffect(function(){if(ro.current&&ro.current.getTotalLength)try{var yo=ro.current.getTotalLength();yo&&ao(yo)}catch{}},[]);var so=to.x,lo=to.y,co=to.upperWidth,uo=to.lowerWidth,fo=to.height,ho=to.className,mo=to.animationEasing,vo=to.animationDuration,Co=to.animationBegin,bo=to.isUpdateAnimationActive;if(so!==+so||lo!==+lo||co!==+co||uo!==+uo||fo!==+fo||co===0&&uo===0||fo===0)return null;var wo=clsx("recharts-trapezoid",ho);return bo?React$1F.createElement(Animate,{canBegin:oo>0,from:{upperWidth:0,lowerWidth:0,height:fo,x:so,y:lo},to:{upperWidth:co,lowerWidth:uo,height:fo,x:so,y:lo},duration:vo,animationEasing:mo,isActive:bo},function(yo){var Eo=yo.upperWidth,xo=yo.lowerWidth,So=yo.height,To=yo.x,Ro=yo.y;return React$1F.createElement(Animate,{canBegin:oo>0,from:"0px ".concat(oo===-1?1:oo,"px"),to:"".concat(oo,"px 0px"),attributeName:"strokeDasharray",begin:Co,duration:vo,easing:mo},React$1F.createElement("path",_extends$1t({},filterProps(to,!0),{className:wo,d:getTrapezoidPath(To,Ro,Eo,xo,So),ref:ro})))}):React$1F.createElement("g",null,React$1F.createElement("path",_extends$1t({},filterProps(to,!0),{className:wo,d:getTrapezoidPath(so,lo,co,uo,fo)})))},_excluded$8=["option","shapeType","propTransformer","activeClassName","isActive"];function _typeof$i(Yi){"@babel/helpers - typeof";return _typeof$i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$i(Yi)}function _objectWithoutProperties$4(Yi,eo){if(Yi==null)return{};var to=_objectWithoutPropertiesLoose$6(Yi,eo),ro,no;if(Object.getOwnPropertySymbols){var io=Object.getOwnPropertySymbols(Yi);for(no=0;no<io.length;no++)ro=io[no],!(eo.indexOf(ro)>=0)&&Object.prototype.propertyIsEnumerable.call(Yi,ro)&&(to[ro]=Yi[ro])}return to}function _objectWithoutPropertiesLoose$6(Yi,eo){if(Yi==null)return{};var to={};for(var ro in Yi)if(Object.prototype.hasOwnProperty.call(Yi,ro)){if(eo.indexOf(ro)>=0)continue;to[ro]=Yi[ro]}return to}function ownKeys$e(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$e(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$e(Object(to),!0).forEach(function(ro){_defineProperty$j(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$e(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$j(Yi,eo,to){return eo=_toPropertyKey$f(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$f(Yi){var eo=_toPrimitive$f(Yi,"string");return _typeof$i(eo)=="symbol"?eo:eo+""}function _toPrimitive$f(Yi,eo){if(_typeof$i(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$i(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi)}function defaultPropTransformer(Yi,eo){return _objectSpread$e(_objectSpread$e({},eo),Yi)}function isSymbolsProps(Yi,eo){return Yi==="symbols"}function ShapeSelector(Yi){var eo=Yi.shapeType,to=Yi.elementProps;switch(eo){case"rectangle":return React$1F.createElement(Rectangle,to);case"trapezoid":return React$1F.createElement(Trapezoid,to);case"sector":return React$1F.createElement(Sector,to);case"symbols":if(isSymbolsProps(eo))return React$1F.createElement(Symbols,to);break;default:return null}}function getPropsFromShapeOption(Yi){return reactExports.isValidElement(Yi)?Yi.props:Yi}function Shape(Yi){var eo=Yi.option,to=Yi.shapeType,ro=Yi.propTransformer,no=ro===void 0?defaultPropTransformer:ro,io=Yi.activeClassName,oo=io===void 0?"recharts-active-shape":io,ao=Yi.isActive,so=_objectWithoutProperties$4(Yi,_excluded$8),lo;if(reactExports.isValidElement(eo))lo=reactExports.cloneElement(eo,_objectSpread$e(_objectSpread$e({},so),getPropsFromShapeOption(eo)));else if(isFunction$4(eo))lo=eo(so);else if(isPlainObject$3(eo)&&!isBoolean$2(eo)){var co=no(eo,so);lo=React$1F.createElement(ShapeSelector,{shapeType:to,elementProps:co})}else{var uo=so;lo=React$1F.createElement(ShapeSelector,{shapeType:to,elementProps:uo})}return ao?React$1F.createElement(Layer,{className:oo},lo):lo}function isFunnel(Yi,eo){return eo!=null&&"trapezoids"in Yi.props}function isPie(Yi,eo){return eo!=null&&"sectors"in Yi.props}function isScatter(Yi,eo){return eo!=null&&"points"in Yi.props}function compareFunnel(Yi,eo){var to,ro,no=Yi.x===(eo==null||(to=eo.labelViewBox)===null||to===void 0?void 0:to.x)||Yi.x===eo.x,io=Yi.y===(eo==null||(ro=eo.labelViewBox)===null||ro===void 0?void 0:ro.y)||Yi.y===eo.y;return no&&io}function comparePie(Yi,eo){var to=Yi.endAngle===eo.endAngle,ro=Yi.startAngle===eo.startAngle;return to&&ro}function compareScatter(Yi,eo){var to=Yi.x===eo.x,ro=Yi.y===eo.y,no=Yi.z===eo.z;return to&&ro&&no}function getComparisonFn(Yi,eo){var to;return isFunnel(Yi,eo)?to=compareFunnel:isPie(Yi,eo)?to=comparePie:isScatter(Yi,eo)&&(to=compareScatter),to}function getShapeDataKey(Yi,eo){var to;return isFunnel(Yi,eo)?to="trapezoids":isPie(Yi,eo)?to="sectors":isScatter(Yi,eo)&&(to="points"),to}function getActiveShapeTooltipPayload(Yi,eo){if(isFunnel(Yi,eo)){var to;return(to=eo.tooltipPayload)===null||to===void 0||(to=to[0])===null||to===void 0||(to=to.payload)===null||to===void 0?void 0:to.payload}if(isPie(Yi,eo)){var ro;return(ro=eo.tooltipPayload)===null||ro===void 0||(ro=ro[0])===null||ro===void 0||(ro=ro.payload)===null||ro===void 0?void 0:ro.payload}return isScatter(Yi,eo)?eo.payload:{}}function getActiveShapeIndexForTooltip(Yi){var eo=Yi.activeTooltipItem,to=Yi.graphicalItem,ro=Yi.itemData,no=getShapeDataKey(to,eo),io=getActiveShapeTooltipPayload(to,eo),oo=ro.filter(function(so,lo){var co=isEqual$1(io,so),uo=to.props[no].filter(function(mo){var vo=getComparisonFn(to,eo);return vo(mo,eo)}),fo=to.props[no].indexOf(uo[uo.length-1]),ho=lo===fo;return co&&ho}),ao=ro.indexOf(oo[oo.length-1]);return ao}var nativeCeil=Math.ceil,nativeMax=Math.max;function baseRange$1(Yi,eo,to,ro){for(var no=-1,io=nativeMax(nativeCeil((eo-Yi)/(to||1)),0),oo=Array(io);io--;)oo[ro?io:++no]=Yi,Yi+=to;return oo}var _baseRange=baseRange$1,toNumber=toNumber_1,INFINITY=1/0,MAX_INTEGER=17976931348623157e292;function toFinite$1(Yi){if(!Yi)return Yi===0?Yi:0;if(Yi=toNumber(Yi),Yi===INFINITY||Yi===-INFINITY){var eo=Yi<0?-1:1;return eo*MAX_INTEGER}return Yi===Yi?Yi:0}var toFinite_1=toFinite$1,baseRange=_baseRange,isIterateeCall$2=_isIterateeCall,toFinite=toFinite_1;function createRange$1(Yi){return function(eo,to,ro){return ro&&typeof ro!="number"&&isIterateeCall$2(eo,to,ro)&&(to=ro=void 0),eo=toFinite(eo),to===void 0?(to=eo,eo=0):to=toFinite(to),ro=ro===void 0?eo<to?1:-1:toFinite(ro),baseRange(eo,to,ro,Yi)}}var _createRange=createRange$1,createRange=_createRange,range=createRange(),range_1=range;const range$1=getDefaultExportFromCjs(range_1);function _typeof$h(Yi){"@babel/helpers - typeof";return _typeof$h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$h(Yi)}function ownKeys$d(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$d(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$d(Object(to),!0).forEach(function(ro){_defineProperty$i(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$d(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$i(Yi,eo,to){return eo=_toPropertyKey$e(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$e(Yi){var eo=_toPrimitive$e(Yi,"string");return _typeof$h(eo)=="symbol"?eo:eo+""}function _toPrimitive$e(Yi,eo){if(_typeof$h(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$h(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi)}var PREFIX_LIST=["Webkit","Moz","O","ms"],generatePrefixStyle=function Yi(eo,to){var ro=eo.replace(/(\w)/,function(io){return io.toUpperCase()}),no=PREFIX_LIST.reduce(function(io,oo){return _objectSpread$d(_objectSpread$d({},io),{},_defineProperty$i({},oo+ro,to))},{});return no[eo]=to,no};function _typeof$g(Yi){"@babel/helpers - typeof";return _typeof$g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$g(Yi)}function _extends$1s(){return _extends$1s=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1s.apply(this,arguments)}function ownKeys$c(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$c(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$c(Object(to),!0).forEach(function(ro){_defineProperty$h(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$c(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _classCallCheck$c(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$c(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,_toPropertyKey$d(ro.key),ro)}}function _createClass$c(Yi,eo,to){return eo&&_defineProperties$c(Yi.prototype,eo),to&&_defineProperties$c(Yi,to),Object.defineProperty(Yi,"prototype",{writable:!1}),Yi}function _callSuper$8(Yi,eo,to){return eo=_getPrototypeOf$a(eo),_possibleConstructorReturn$a(Yi,_isNativeReflectConstruct$a()?Reflect.construct(eo,to||[],_getPrototypeOf$a(Yi).constructor):eo.apply(Yi,to))}function _possibleConstructorReturn$a(Yi,eo){if(eo&&(_typeof$g(eo)==="object"||typeof eo=="function"))return eo;if(eo!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$b(Yi)}function _assertThisInitialized$b(Yi){if(Yi===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yi}function _isNativeReflectConstruct$a(){try{var Yi=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$a=function(){return!!Yi})()}function _getPrototypeOf$a(Yi){return _getPrototypeOf$a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(to){return to.__proto__||Object.getPrototypeOf(to)},_getPrototypeOf$a(Yi)}function _inherits$a(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function");Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,writable:!0,configurable:!0}}),Object.defineProperty(Yi,"prototype",{writable:!1}),eo&&_setPrototypeOf$b(Yi,eo)}function _setPrototypeOf$b(Yi,eo){return _setPrototypeOf$b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ro,no){return ro.__proto__=no,ro},_setPrototypeOf$b(Yi,eo)}function _defineProperty$h(Yi,eo,to){return eo=_toPropertyKey$d(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$d(Yi){var eo=_toPrimitive$d(Yi,"string");return _typeof$g(eo)=="symbol"?eo:eo+""}function _toPrimitive$d(Yi,eo){if(_typeof$g(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$g(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Yi)}var createScale=function Yi(eo){var to=eo.data,ro=eo.startIndex,no=eo.endIndex,io=eo.x,oo=eo.width,ao=eo.travellerWidth;if(!to||!to.length)return{};var so=to.length,lo=point().domain(range$1(0,so)).range([io,io+oo-ao]),co=lo.domain().map(function(uo){return lo(uo)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:lo(ro),endX:lo(no),scale:lo,scaleValues:co}},isTouch$1=function Yi(eo){return eo.changedTouches&&!!eo.changedTouches.length},Brush=(function(Yi){function eo(to){var ro;return _classCallCheck$c(this,eo),ro=_callSuper$8(this,eo,[to]),_defineProperty$h(ro,"handleDrag",function(no){ro.leaveTimer&&(clearTimeout(ro.leaveTimer),ro.leaveTimer=null),ro.state.isTravellerMoving?ro.handleTravellerMove(no):ro.state.isSlideMoving&&ro.handleSlideDrag(no)}),_defineProperty$h(ro,"handleTouchMove",function(no){no.changedTouches!=null&&no.changedTouches.length>0&&ro.handleDrag(no.changedTouches[0])}),_defineProperty$h(ro,"handleDragEnd",function(){ro.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var no=ro.props,io=no.endIndex,oo=no.onDragEnd,ao=no.startIndex;oo==null||oo({endIndex:io,startIndex:ao})}),ro.detachDragEndListener()}),_defineProperty$h(ro,"handleLeaveWrapper",function(){(ro.state.isTravellerMoving||ro.state.isSlideMoving)&&(ro.leaveTimer=window.setTimeout(ro.handleDragEnd,ro.props.leaveTimeOut))}),_defineProperty$h(ro,"handleEnterSlideOrTraveller",function(){ro.setState({isTextActive:!0})}),_defineProperty$h(ro,"handleLeaveSlideOrTraveller",function(){ro.setState({isTextActive:!1})}),_defineProperty$h(ro,"handleSlideDragStart",function(no){var io=isTouch$1(no)?no.changedTouches[0]:no;ro.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:io.pageX}),ro.attachDragEndListener()}),ro.travellerDragStartHandlers={startX:ro.handleTravellerDragStart.bind(ro,"startX"),endX:ro.handleTravellerDragStart.bind(ro,"endX")},ro.state={},ro}return _inherits$a(eo,Yi),_createClass$c(eo,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(ro){var no=ro.startX,io=ro.endX,oo=this.state.scaleValues,ao=this.props,so=ao.gap,lo=ao.data,co=lo.length-1,uo=Math.min(no,io),fo=Math.max(no,io),ho=eo.getIndexInRange(oo,uo),mo=eo.getIndexInRange(oo,fo);return{startIndex:ho-ho%so,endIndex:mo===co?co:mo-mo%so}}},{key:"getTextOfTick",value:function(ro){var no=this.props,io=no.data,oo=no.tickFormatter,ao=no.dataKey,so=getValueByDataKey(io[ro],ao,ro);return isFunction$4(oo)?oo(so,ro):so}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(ro){var no=this.state,io=no.slideMoveStartX,oo=no.startX,ao=no.endX,so=this.props,lo=so.x,co=so.width,uo=so.travellerWidth,fo=so.startIndex,ho=so.endIndex,mo=so.onChange,vo=ro.pageX-io;vo>0?vo=Math.min(vo,lo+co-uo-ao,lo+co-uo-oo):vo<0&&(vo=Math.max(vo,lo-oo,lo-ao));var Co=this.getIndex({startX:oo+vo,endX:ao+vo});(Co.startIndex!==fo||Co.endIndex!==ho)&&mo&&mo(Co),this.setState({startX:oo+vo,endX:ao+vo,slideMoveStartX:ro.pageX})}},{key:"handleTravellerDragStart",value:function(ro,no){var io=isTouch$1(no)?no.changedTouches[0]:no;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:ro,brushMoveStartX:io.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(ro){var no=this.state,io=no.brushMoveStartX,oo=no.movingTravellerId,ao=no.endX,so=no.startX,lo=this.state[oo],co=this.props,uo=co.x,fo=co.width,ho=co.travellerWidth,mo=co.onChange,vo=co.gap,Co=co.data,bo={startX:this.state.startX,endX:this.state.endX},wo=ro.pageX-io;wo>0?wo=Math.min(wo,uo+fo-ho-lo):wo<0&&(wo=Math.max(wo,uo-lo)),bo[oo]=lo+wo;var yo=this.getIndex(bo),Eo=yo.startIndex,xo=yo.endIndex,So=function(){var Ro=Co.length-1;return oo==="startX"&&(ao>so?Eo%vo===0:xo%vo===0)||ao<so&&xo===Ro||oo==="endX"&&(ao>so?xo%vo===0:Eo%vo===0)||ao>so&&xo===Ro};this.setState(_defineProperty$h(_defineProperty$h({},oo,lo+wo),"brushMoveStartX",ro.pageX),function(){mo&&So()&&mo(yo)})}},{key:"handleTravellerMoveKeyboard",value:function(ro,no){var io=this,oo=this.state,ao=oo.scaleValues,so=oo.startX,lo=oo.endX,co=this.state[no],uo=ao.indexOf(co);if(uo!==-1){var fo=uo+ro;if(!(fo===-1||fo>=ao.length)){var ho=ao[fo];no==="startX"&&ho>=lo||no==="endX"&&ho<=so||this.setState(_defineProperty$h({},no,ho),function(){io.props.onChange(io.getIndex({startX:io.state.startX,endX:io.state.endX}))})}}}},{key:"renderBackground",value:function(){var ro=this.props,no=ro.x,io=ro.y,oo=ro.width,ao=ro.height,so=ro.fill,lo=ro.stroke;return React$1F.createElement("rect",{stroke:lo,fill:so,x:no,y:io,width:oo,height:ao})}},{key:"renderPanorama",value:function(){var ro=this.props,no=ro.x,io=ro.y,oo=ro.width,ao=ro.height,so=ro.data,lo=ro.children,co=ro.padding,uo=reactExports.Children.only(lo);return uo?React$1F.cloneElement(uo,{x:no,y:io,width:oo,height:ao,margin:co,compact:!0,data:so}):null}},{key:"renderTravellerLayer",value:function(ro,no){var io,oo,ao=this,so=this.props,lo=so.y,co=so.travellerWidth,uo=so.height,fo=so.traveller,ho=so.ariaLabel,mo=so.data,vo=so.startIndex,Co=so.endIndex,bo=Math.max(ro,this.props.x),wo=_objectSpread$c(_objectSpread$c({},filterProps(this.props,!1)),{},{x:bo,y:lo,width:co,height:uo}),yo=ho||"Min value: ".concat((io=mo[vo])===null||io===void 0?void 0:io.name,", Max value: ").concat((oo=mo[Co])===null||oo===void 0?void 0:oo.name);return React$1F.createElement(Layer,{tabIndex:0,role:"slider","aria-label":yo,"aria-valuenow":ro,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[no],onTouchStart:this.travellerDragStartHandlers[no],onKeyDown:function(xo){["ArrowLeft","ArrowRight"].includes(xo.key)&&(xo.preventDefault(),xo.stopPropagation(),ao.handleTravellerMoveKeyboard(xo.key==="ArrowRight"?1:-1,no))},onFocus:function(){ao.setState({isTravellerFocused:!0})},onBlur:function(){ao.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},eo.renderTraveller(fo,wo))}},{key:"renderSlide",value:function(ro,no){var io=this.props,oo=io.y,ao=io.height,so=io.stroke,lo=io.travellerWidth,co=Math.min(ro,no)+lo,uo=Math.max(Math.abs(no-ro)-lo,0);return React$1F.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:so,fillOpacity:.2,x:co,y:oo,width:uo,height:ao})}},{key:"renderText",value:function(){var ro=this.props,no=ro.startIndex,io=ro.endIndex,oo=ro.y,ao=ro.height,so=ro.travellerWidth,lo=ro.stroke,co=this.state,uo=co.startX,fo=co.endX,ho=5,mo={pointerEvents:"none",fill:lo};return React$1F.createElement(Layer,{className:"recharts-brush-texts"},React$1F.createElement(Text,_extends$1s({textAnchor:"end",verticalAnchor:"middle",x:Math.min(uo,fo)-ho,y:oo+ao/2},mo),this.getTextOfTick(no)),React$1F.createElement(Text,_extends$1s({textAnchor:"start",verticalAnchor:"middle",x:Math.max(uo,fo)+so+ho,y:oo+ao/2},mo),this.getTextOfTick(io)))}},{key:"render",value:function(){var ro=this.props,no=ro.data,io=ro.className,oo=ro.children,ao=ro.x,so=ro.y,lo=ro.width,co=ro.height,uo=ro.alwaysShowText,fo=this.state,ho=fo.startX,mo=fo.endX,vo=fo.isTextActive,Co=fo.isSlideMoving,bo=fo.isTravellerMoving,wo=fo.isTravellerFocused;if(!no||!no.length||!isNumber(ao)||!isNumber(so)||!isNumber(lo)||!isNumber(co)||lo<=0||co<=0)return null;var yo=clsx("recharts-brush",io),Eo=React$1F.Children.count(oo)===1,xo=generatePrefixStyle("userSelect","none");return React$1F.createElement(Layer,{className:yo,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:xo},this.renderBackground(),Eo&&this.renderPanorama(),this.renderSlide(ho,mo),this.renderTravellerLayer(ho,"startX"),this.renderTravellerLayer(mo,"endX"),(vo||Co||bo||wo||uo)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(ro){var no=ro.x,io=ro.y,oo=ro.width,ao=ro.height,so=ro.stroke,lo=Math.floor(io+ao/2)-1;return React$1F.createElement(React$1F.Fragment,null,React$1F.createElement("rect",{x:no,y:io,width:oo,height:ao,fill:so,stroke:"none"}),React$1F.createElement("line",{x1:no+1,y1:lo,x2:no+oo-1,y2:lo,fill:"none",stroke:"#fff"}),React$1F.createElement("line",{x1:no+1,y1:lo+2,x2:no+oo-1,y2:lo+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(ro,no){var io;return React$1F.isValidElement(ro)?io=React$1F.cloneElement(ro,no):isFunction$4(ro)?io=ro(no):io=eo.renderDefaultTraveller(no),io}},{key:"getDerivedStateFromProps",value:function(ro,no){var io=ro.data,oo=ro.width,ao=ro.x,so=ro.travellerWidth,lo=ro.updateId,co=ro.startIndex,uo=ro.endIndex;if(io!==no.prevData||lo!==no.prevUpdateId)return _objectSpread$c({prevData:io,prevTravellerWidth:so,prevUpdateId:lo,prevX:ao,prevWidth:oo},io&&io.length?createScale({data:io,width:oo,x:ao,travellerWidth:so,startIndex:co,endIndex:uo}):{scale:null,scaleValues:null});if(no.scale&&(oo!==no.prevWidth||ao!==no.prevX||so!==no.prevTravellerWidth)){no.scale.range([ao,ao+oo-so]);var fo=no.scale.domain().map(function(ho){return no.scale(ho)});return{prevData:io,prevTravellerWidth:so,prevUpdateId:lo,prevX:ao,prevWidth:oo,startX:no.scale(ro.startIndex),endX:no.scale(ro.endIndex),scaleValues:fo}}return null}},{key:"getIndexInRange",value:function(ro,no){for(var io=ro.length,oo=0,ao=io-1;ao-oo>1;){var so=Math.floor((oo+ao)/2);ro[so]>no?ao=so:oo=so}return no>=ro[ao]?ao:oo}}])})(reactExports.PureComponent);_defineProperty$h(Brush,"displayName","Brush");_defineProperty$h(Brush,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var baseEach$1=_baseEach;function baseSome$1(Yi,eo){var to;return baseEach$1(Yi,function(ro,no,io){return to=eo(ro,no,io),!to}),!!to}var _baseSome=baseSome$1,arraySome=_arraySome,baseIteratee$2=_baseIteratee,baseSome=_baseSome,isArray$2=isArray_1,isIterateeCall$1=_isIterateeCall;function some(Yi,eo,to){var ro=isArray$2(Yi)?arraySome:baseSome;return to&&isIterateeCall$1(Yi,eo,to)&&(eo=void 0),ro(Yi,baseIteratee$2(eo))}var some_1=some;const some$1=getDefaultExportFromCjs(some_1);var ifOverflowMatches=function Yi(eo,to){var ro=eo.alwaysShow,no=eo.ifOverflow;return ro&&(no="extendDomain"),no===to},defineProperty=_defineProperty$E;function baseAssignValue$1(Yi,eo,to){eo=="__proto__"&&defineProperty?defineProperty(Yi,eo,{configurable:!0,enumerable:!0,value:to,writable:!0}):Yi[eo]=to}var _baseAssignValue=baseAssignValue$1,baseAssignValue=_baseAssignValue,baseForOwn=_baseForOwn,baseIteratee$1=_baseIteratee;function mapValues(Yi,eo){var to={};return eo=baseIteratee$1(eo),baseForOwn(Yi,function(ro,no,io){baseAssignValue(to,no,eo(ro,no,io))}),to}var mapValues_1=mapValues;const mapValues$1=getDefaultExportFromCjs(mapValues_1);function arrayEvery$1(Yi,eo){for(var to=-1,ro=Yi==null?0:Yi.length;++to<ro;)if(!eo(Yi[to],to,Yi))return!1;return!0}var _arrayEvery=arrayEvery$1,baseEach=_baseEach;function baseEvery$1(Yi,eo){var to=!0;return baseEach(Yi,function(ro,no,io){return to=!!eo(ro,no,io),to}),to}var _baseEvery=baseEvery$1,arrayEvery=_arrayEvery,baseEvery=_baseEvery,baseIteratee=_baseIteratee,isArray$1=isArray_1,isIterateeCall=_isIterateeCall;function every(Yi,eo,to){var ro=isArray$1(Yi)?arrayEvery:baseEvery;return to&&isIterateeCall(Yi,eo,to)&&(eo=void 0),ro(Yi,baseIteratee(eo))}var every_1=every;const every$1=getDefaultExportFromCjs(every_1);var _excluded$7=["x","y"];function _typeof$f(Yi){"@babel/helpers - typeof";return _typeof$f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$f(Yi)}function _extends$1r(){return _extends$1r=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1r.apply(this,arguments)}function ownKeys$b(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$b(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$b(Object(to),!0).forEach(function(ro){_defineProperty$g(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$b(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$g(Yi,eo,to){return eo=_toPropertyKey$c(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$c(Yi){var eo=_toPrimitive$c(Yi,"string");return _typeof$f(eo)=="symbol"?eo:eo+""}function _toPrimitive$c(Yi,eo){if(_typeof$f(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$f(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi)}function _objectWithoutProperties$3(Yi,eo){if(Yi==null)return{};var to=_objectWithoutPropertiesLoose$5(Yi,eo),ro,no;if(Object.getOwnPropertySymbols){var io=Object.getOwnPropertySymbols(Yi);for(no=0;no<io.length;no++)ro=io[no],!(eo.indexOf(ro)>=0)&&Object.prototype.propertyIsEnumerable.call(Yi,ro)&&(to[ro]=Yi[ro])}return to}function _objectWithoutPropertiesLoose$5(Yi,eo){if(Yi==null)return{};var to={};for(var ro in Yi)if(Object.prototype.hasOwnProperty.call(Yi,ro)){if(eo.indexOf(ro)>=0)continue;to[ro]=Yi[ro]}return to}function typeguardBarRectangleProps(Yi,eo){var to=Yi.x,ro=Yi.y,no=_objectWithoutProperties$3(Yi,_excluded$7),io="".concat(to),oo=parseInt(io,10),ao="".concat(ro),so=parseInt(ao,10),lo="".concat(eo.height||no.height),co=parseInt(lo,10),uo="".concat(eo.width||no.width),fo=parseInt(uo,10);return _objectSpread$b(_objectSpread$b(_objectSpread$b(_objectSpread$b(_objectSpread$b({},eo),no),oo?{x:oo}:{}),so?{y:so}:{}),{},{height:co,width:fo,name:eo.name,radius:eo.radius})}function BarRectangle(Yi){return React$1F.createElement(Shape,_extends$1r({shapeType:"rectangle",propTransformer:typeguardBarRectangleProps,activeClassName:"recharts-active-bar"},Yi))}var minPointSizeCallback=function Yi(eo){var to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(ro,no){if(typeof eo=="number")return eo;var io=typeof ro=="number";return io?eo(ro,no):(io||invariant(),to)}},_excluded$6=["value","background"],_Bar;function _typeof$e(Yi){"@babel/helpers - typeof";return _typeof$e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$e(Yi)}function _objectWithoutProperties$2(Yi,eo){if(Yi==null)return{};var to=_objectWithoutPropertiesLoose$4(Yi,eo),ro,no;if(Object.getOwnPropertySymbols){var io=Object.getOwnPropertySymbols(Yi);for(no=0;no<io.length;no++)ro=io[no],!(eo.indexOf(ro)>=0)&&Object.prototype.propertyIsEnumerable.call(Yi,ro)&&(to[ro]=Yi[ro])}return to}function _objectWithoutPropertiesLoose$4(Yi,eo){if(Yi==null)return{};var to={};for(var ro in Yi)if(Object.prototype.hasOwnProperty.call(Yi,ro)){if(eo.indexOf(ro)>=0)continue;to[ro]=Yi[ro]}return to}function _extends$1q(){return _extends$1q=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1q.apply(this,arguments)}function ownKeys$a(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$a(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$a(Object(to),!0).forEach(function(ro){_defineProperty$f(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$a(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _classCallCheck$b(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$b(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,_toPropertyKey$b(ro.key),ro)}}function _createClass$b(Yi,eo,to){return eo&&_defineProperties$b(Yi.prototype,eo),to&&_defineProperties$b(Yi,to),Object.defineProperty(Yi,"prototype",{writable:!1}),Yi}function _callSuper$7(Yi,eo,to){return eo=_getPrototypeOf$9(eo),_possibleConstructorReturn$9(Yi,_isNativeReflectConstruct$9()?Reflect.construct(eo,to||[],_getPrototypeOf$9(Yi).constructor):eo.apply(Yi,to))}function _possibleConstructorReturn$9(Yi,eo){if(eo&&(_typeof$e(eo)==="object"||typeof eo=="function"))return eo;if(eo!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$a(Yi)}function _assertThisInitialized$a(Yi){if(Yi===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yi}function _isNativeReflectConstruct$9(){try{var Yi=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$9=function(){return!!Yi})()}function _getPrototypeOf$9(Yi){return _getPrototypeOf$9=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(to){return to.__proto__||Object.getPrototypeOf(to)},_getPrototypeOf$9(Yi)}function _inherits$9(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function");Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,writable:!0,configurable:!0}}),Object.defineProperty(Yi,"prototype",{writable:!1}),eo&&_setPrototypeOf$a(Yi,eo)}function _setPrototypeOf$a(Yi,eo){return _setPrototypeOf$a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ro,no){return ro.__proto__=no,ro},_setPrototypeOf$a(Yi,eo)}function _defineProperty$f(Yi,eo,to){return eo=_toPropertyKey$b(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$b(Yi){var eo=_toPrimitive$b(Yi,"string");return _typeof$e(eo)=="symbol"?eo:eo+""}function _toPrimitive$b(Yi,eo){if(_typeof$e(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$e(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Yi)}var Bar=(function(Yi){function eo(){var to;_classCallCheck$b(this,eo);for(var ro=arguments.length,no=new Array(ro),io=0;io<ro;io++)no[io]=arguments[io];return to=_callSuper$7(this,eo,[].concat(no)),_defineProperty$f(to,"state",{isAnimationFinished:!1}),_defineProperty$f(to,"id",uniqueId("recharts-bar-")),_defineProperty$f(to,"handleAnimationEnd",function(){var oo=to.props.onAnimationEnd;to.setState({isAnimationFinished:!0}),oo&&oo()}),_defineProperty$f(to,"handleAnimationStart",function(){var oo=to.props.onAnimationStart;to.setState({isAnimationFinished:!1}),oo&&oo()}),to}return _inherits$9(eo,Yi),_createClass$b(eo,[{key:"renderRectanglesStatically",value:function(ro){var no=this,io=this.props,oo=io.shape,ao=io.dataKey,so=io.activeIndex,lo=io.activeBar,co=filterProps(this.props,!1);return ro&&ro.map(function(uo,fo){var ho=fo===so,mo=ho?lo:oo,vo=_objectSpread$a(_objectSpread$a(_objectSpread$a({},co),uo),{},{isActive:ho,option:mo,index:fo,dataKey:ao,onAnimationStart:no.handleAnimationStart,onAnimationEnd:no.handleAnimationEnd});return React$1F.createElement(Layer,_extends$1q({className:"recharts-bar-rectangle"},adaptEventsOfChild(no.props,uo,fo),{key:"rectangle-".concat(uo==null?void 0:uo.x,"-").concat(uo==null?void 0:uo.y,"-").concat(uo==null?void 0:uo.value)}),React$1F.createElement(BarRectangle,vo))})}},{key:"renderRectanglesWithAnimation",value:function(){var ro=this,no=this.props,io=no.data,oo=no.layout,ao=no.isAnimationActive,so=no.animationBegin,lo=no.animationDuration,co=no.animationEasing,uo=no.animationId,fo=this.state.prevData;return React$1F.createElement(Animate,{begin:so,duration:lo,isActive:ao,easing:co,from:{t:0},to:{t:1},key:"bar-".concat(uo),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(ho){var mo=ho.t,vo=io.map(function(Co,bo){var wo=fo&&fo[bo];if(wo){var yo=interpolateNumber$2(wo.x,Co.x),Eo=interpolateNumber$2(wo.y,Co.y),xo=interpolateNumber$2(wo.width,Co.width),So=interpolateNumber$2(wo.height,Co.height);return _objectSpread$a(_objectSpread$a({},Co),{},{x:yo(mo),y:Eo(mo),width:xo(mo),height:So(mo)})}if(oo==="horizontal"){var To=interpolateNumber$2(0,Co.height),Ro=To(mo);return _objectSpread$a(_objectSpread$a({},Co),{},{y:Co.y+Co.height-Ro,height:Ro})}var Po=interpolateNumber$2(0,Co.width),zo=Po(mo);return _objectSpread$a(_objectSpread$a({},Co),{},{width:zo})});return React$1F.createElement(Layer,null,ro.renderRectanglesStatically(vo))})}},{key:"renderRectangles",value:function(){var ro=this.props,no=ro.data,io=ro.isAnimationActive,oo=this.state.prevData;return io&&no&&no.length&&(!oo||!isEqual$1(oo,no))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(no)}},{key:"renderBackground",value:function(){var ro=this,no=this.props,io=no.data,oo=no.dataKey,ao=no.activeIndex,so=filterProps(this.props.background,!1);return io.map(function(lo,co){lo.value;var uo=lo.background,fo=_objectWithoutProperties$2(lo,_excluded$6);if(!uo)return null;var ho=_objectSpread$a(_objectSpread$a(_objectSpread$a(_objectSpread$a(_objectSpread$a({},fo),{},{fill:"#eee"},uo),so),adaptEventsOfChild(ro.props,lo,co)),{},{onAnimationStart:ro.handleAnimationStart,onAnimationEnd:ro.handleAnimationEnd,dataKey:oo,index:co,className:"recharts-bar-background-rectangle"});return React$1F.createElement(BarRectangle,_extends$1q({key:"background-bar-".concat(co),option:ro.props.background,isActive:co===ao},ho))})}},{key:"renderErrorBar",value:function(ro,no){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var io=this.props,oo=io.data,ao=io.xAxis,so=io.yAxis,lo=io.layout,co=io.children,uo=findAllByType(co,ErrorBar);if(!uo)return null;var fo=lo==="vertical"?oo[0].height/2:oo[0].width/2,ho=function(Co,bo){var wo=Array.isArray(Co.value)?Co.value[1]:Co.value;return{x:Co.x,y:Co.y,value:wo,errorVal:getValueByDataKey(Co,bo)}},mo={clipPath:ro?"url(#clipPath-".concat(no,")"):null};return React$1F.createElement(Layer,mo,uo.map(function(vo){return React$1F.cloneElement(vo,{key:"error-bar-".concat(no,"-").concat(vo.props.dataKey),data:oo,xAxis:ao,yAxis:so,layout:lo,offset:fo,dataPointFormatter:ho})}))}},{key:"render",value:function(){var ro=this.props,no=ro.hide,io=ro.data,oo=ro.className,ao=ro.xAxis,so=ro.yAxis,lo=ro.left,co=ro.top,uo=ro.width,fo=ro.height,ho=ro.isAnimationActive,mo=ro.background,vo=ro.id;if(no||!io||!io.length)return null;var Co=this.state.isAnimationFinished,bo=clsx("recharts-bar",oo),wo=ao&&ao.allowDataOverflow,yo=so&&so.allowDataOverflow,Eo=wo||yo,xo=isNil$1(vo)?this.id:vo;return React$1F.createElement(Layer,{className:bo},wo||yo?React$1F.createElement("defs",null,React$1F.createElement("clipPath",{id:"clipPath-".concat(xo)},React$1F.createElement("rect",{x:wo?lo:lo-uo/2,y:yo?co:co-fo/2,width:wo?uo:uo*2,height:yo?fo:fo*2}))):null,React$1F.createElement(Layer,{className:"recharts-bar-rectangles",clipPath:Eo?"url(#clipPath-".concat(xo,")"):null},mo?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(Eo,xo),(!ho||Co)&&LabelList.renderCallByParent(this.props,io))}}],[{key:"getDerivedStateFromProps",value:function(ro,no){return ro.animationId!==no.prevAnimationId?{prevAnimationId:ro.animationId,curData:ro.data,prevData:no.curData}:ro.data!==no.curData?{curData:ro.data}:null}}])})(reactExports.PureComponent);_Bar=Bar;_defineProperty$f(Bar,"displayName","Bar");_defineProperty$f(Bar,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!Global.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"});_defineProperty$f(Bar,"getComposedData",function(Yi){var eo=Yi.props,to=Yi.item,ro=Yi.barPosition,no=Yi.bandSize,io=Yi.xAxis,oo=Yi.yAxis,ao=Yi.xAxisTicks,so=Yi.yAxisTicks,lo=Yi.stackedData,co=Yi.dataStartIndex,uo=Yi.displayedData,fo=Yi.offset,ho=findPositionOfBar(ro,to);if(!ho)return null;var mo=eo.layout,vo=to.type.defaultProps,Co=vo!==void 0?_objectSpread$a(_objectSpread$a({},vo),to.props):to.props,bo=Co.dataKey,wo=Co.children,yo=Co.minPointSize,Eo=mo==="horizontal"?oo:io,xo=lo?Eo.scale.domain():null,So=getBaseValueOfBar({numericAxis:Eo}),To=findAllByType(wo,Cell),Ro=uo.map(function(Po,zo){var Ho,Vo,Lo,Uo,Do,Oo;lo?Ho=truncateByDomain(lo[co+zo],xo):(Ho=getValueByDataKey(Po,bo),Array.isArray(Ho)||(Ho=[So,Ho]));var ko=minPointSizeCallback(yo,_Bar.defaultProps.minPointSize)(Ho[1],zo);if(mo==="horizontal"){var Bo,Fo=[oo.scale(Ho[0]),oo.scale(Ho[1])],Qo=Fo[0],jo=Fo[1];Vo=getCateCoordinateOfBar({axis:io,ticks:ao,bandSize:no,offset:ho.offset,entry:Po,index:zo}),Lo=(Bo=jo??Qo)!==null&&Bo!==void 0?Bo:void 0,Uo=ho.size;var Xo=Qo-jo;if(Do=Number.isNaN(Xo)?0:Xo,Oo={x:Vo,y:oo.y,width:Uo,height:oo.height},Math.abs(ko)>0&&Math.abs(Do)<Math.abs(ko)){var Zo=mathSign(Do||ko)*(Math.abs(ko)-Math.abs(Do));Lo-=Zo,Do+=Zo}}else{var Wo=[io.scale(Ho[0]),io.scale(Ho[1])],ta=Wo[0],ra=Wo[1];if(Vo=ta,Lo=getCateCoordinateOfBar({axis:oo,ticks:so,bandSize:no,offset:ho.offset,entry:Po,index:zo}),Uo=ra-ta,Do=ho.size,Oo={x:io.x,y:Lo,width:io.width,height:Do},Math.abs(ko)>0&&Math.abs(Uo)<Math.abs(ko)){var da=mathSign(Uo||ko)*(Math.abs(ko)-Math.abs(Uo));Uo+=da}}return _objectSpread$a(_objectSpread$a(_objectSpread$a({},Po),{},{x:Vo,y:Lo,width:Uo,height:Do,value:lo?Ho:Ho[1],payload:Po,background:Oo},To&&To[zo]&&To[zo].props),{},{tooltipPayload:[getTooltipItem(to,Po)],tooltipPosition:{x:Vo+Uo/2,y:Lo+Do/2}})});return _objectSpread$a({data:Ro,layout:mo},fo)});function _typeof$d(Yi){"@babel/helpers - typeof";return _typeof$d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$d(Yi)}function _classCallCheck$a(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$a(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,_toPropertyKey$a(ro.key),ro)}}function _createClass$a(Yi,eo,to){return eo&&_defineProperties$a(Yi.prototype,eo),to&&_defineProperties$a(Yi,to),Object.defineProperty(Yi,"prototype",{writable:!1}),Yi}function ownKeys$9(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$9(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$9(Object(to),!0).forEach(function(ro){_defineProperty$e(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$9(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$e(Yi,eo,to){return eo=_toPropertyKey$a(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$a(Yi){var eo=_toPrimitive$a(Yi,"string");return _typeof$d(eo)=="symbol"?eo:eo+""}function _toPrimitive$a(Yi,eo){if(_typeof$d(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$d(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi)}var formatAxisMap=function Yi(eo,to,ro,no,io){var oo=eo.width,ao=eo.height,so=eo.layout,lo=eo.children,co=Object.keys(to),uo={left:ro.left,leftMirror:ro.left,right:oo-ro.right,rightMirror:oo-ro.right,top:ro.top,topMirror:ro.top,bottom:ao-ro.bottom,bottomMirror:ao-ro.bottom},fo=!!findChildByType(lo,Bar);return co.reduce(function(ho,mo){var vo=to[mo],Co=vo.orientation,bo=vo.domain,wo=vo.padding,yo=wo===void 0?{}:wo,Eo=vo.mirror,xo=vo.reversed,So="".concat(Co).concat(Eo?"Mirror":""),To,Ro,Po,zo,Ho;if(vo.type==="number"&&(vo.padding==="gap"||vo.padding==="no-gap")){var Vo=bo[1]-bo[0],Lo=1/0,Uo=vo.categoricalDomain.sort();if(Uo.forEach(function(Wo,ta){ta>0&&(Lo=Math.min((Wo||0)-(Uo[ta-1]||0),Lo))}),Number.isFinite(Lo)){var Do=Lo/Vo,Oo=vo.layout==="vertical"?ro.height:ro.width;if(vo.padding==="gap"&&(To=Do*Oo/2),vo.padding==="no-gap"){var ko=getPercentValue(eo.barCategoryGap,Do*Oo),Bo=Do*Oo/2;To=Bo-ko-(Bo-ko)/Oo*ko}}}no==="xAxis"?Ro=[ro.left+(yo.left||0)+(To||0),ro.left+ro.width-(yo.right||0)-(To||0)]:no==="yAxis"?Ro=so==="horizontal"?[ro.top+ro.height-(yo.bottom||0),ro.top+(yo.top||0)]:[ro.top+(yo.top||0)+(To||0),ro.top+ro.height-(yo.bottom||0)-(To||0)]:Ro=vo.range,xo&&(Ro=[Ro[1],Ro[0]]);var Fo=parseScale(vo,io,fo),Qo=Fo.scale,jo=Fo.realScaleType;Qo.domain(bo).range(Ro),checkDomainOfScale(Qo);var Xo=getTicksOfScale(Qo,_objectSpread$9(_objectSpread$9({},vo),{},{realScaleType:jo}));no==="xAxis"?(Ho=Co==="top"&&!Eo||Co==="bottom"&&Eo,Po=ro.left,zo=uo[So]-Ho*vo.height):no==="yAxis"&&(Ho=Co==="left"&&!Eo||Co==="right"&&Eo,Po=uo[So]-Ho*vo.width,zo=ro.top);var Zo=_objectSpread$9(_objectSpread$9(_objectSpread$9({},vo),Xo),{},{realScaleType:jo,x:Po,y:zo,scale:Qo,width:no==="xAxis"?ro.width:vo.width,height:no==="yAxis"?ro.height:vo.height});return Zo.bandSize=getBandSizeOfAxis(Zo,Xo),!vo.hide&&no==="xAxis"?uo[So]+=(Ho?-1:1)*Zo.height:vo.hide||(uo[So]+=(Ho?-1:1)*Zo.width),_objectSpread$9(_objectSpread$9({},ho),{},_defineProperty$e({},mo,Zo))},{})},rectWithPoints=function Yi(eo,to){var ro=eo.x,no=eo.y,io=to.x,oo=to.y;return{x:Math.min(ro,io),y:Math.min(no,oo),width:Math.abs(io-ro),height:Math.abs(oo-no)}},rectWithCoords=function Yi(eo){var to=eo.x1,ro=eo.y1,no=eo.x2,io=eo.y2;return rectWithPoints({x:to,y:ro},{x:no,y:io})},ScaleHelper=(function(){function Yi(eo){_classCallCheck$a(this,Yi),this.scale=eo}return _createClass$a(Yi,[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(to){var ro=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},no=ro.bandAware,io=ro.position;if(to!==void 0){if(io)switch(io){case"start":return this.scale(to);case"middle":{var oo=this.bandwidth?this.bandwidth()/2:0;return this.scale(to)+oo}case"end":{var ao=this.bandwidth?this.bandwidth():0;return this.scale(to)+ao}default:return this.scale(to)}if(no){var so=this.bandwidth?this.bandwidth()/2:0;return this.scale(to)+so}return this.scale(to)}}},{key:"isInRange",value:function(to){var ro=this.range(),no=ro[0],io=ro[ro.length-1];return no<=io?to>=no&&to<=io:to>=io&&to<=no}}],[{key:"create",value:function(to){return new Yi(to)}}])})();_defineProperty$e(ScaleHelper,"EPS",1e-4);var createLabeledScales=function Yi(eo){var to=Object.keys(eo).reduce(function(ro,no){return _objectSpread$9(_objectSpread$9({},ro),{},_defineProperty$e({},no,ScaleHelper.create(eo[no])))},{});return _objectSpread$9(_objectSpread$9({},to),{},{apply:function(no){var io=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},oo=io.bandAware,ao=io.position;return mapValues$1(no,function(so,lo){return to[lo].apply(so,{bandAware:oo,position:ao})})},isInRange:function(no){return every$1(no,function(io,oo){return to[oo].isInRange(io)})}})};function normalizeAngle(Yi){return(Yi%180+180)%180}var getAngledRectangleWidth=function Yi(eo){var to=eo.width,ro=eo.height,no=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,io=normalizeAngle(no),oo=io*Math.PI/180,ao=Math.atan(ro/to),so=oo>ao&&oo<Math.PI-ao?ro/Math.sin(oo):to/Math.cos(oo);return Math.abs(so)},calculateViewBox=memoize$4(function(Yi){return{x:Yi.left,y:Yi.top,width:Yi.width,height:Yi.height}},function(Yi){return["l",Yi.left,"t",Yi.top,"w",Yi.width,"h",Yi.height].join("")}),XAxisContext=reactExports.createContext(void 0),YAxisContext=reactExports.createContext(void 0),ViewBoxContext=reactExports.createContext(void 0),OffsetContext=reactExports.createContext({}
482),ClipPathIdContext=reactExports.createContext(void 0),ChartHeightContext=reactExports.createContext(0),ChartWidthContext=reactExports.createContext(0),ChartLayoutContextProvider=function Yi(eo){var to=eo.state,ro=to.xAxisMap,no=to.yAxisMap,io=to.offset,oo=eo.clipPathId,ao=eo.children,so=eo.width,lo=eo.height,co=calculateViewBox(io);return React$1F.createElement(XAxisContext.Provider,{value:ro},React$1F.createElement(YAxisContext.Provider,{value:no},React$1F.createElement(OffsetContext.Provider,{value:io},React$1F.createElement(ViewBoxContext.Provider,{value:co},React$1F.createElement(ClipPathIdContext.Provider,{value:oo},React$1F.createElement(ChartHeightContext.Provider,{value:lo},React$1F.createElement(ChartWidthContext.Provider,{value:so},ao)))))))},useClipPathId=function Yi(){return reactExports.useContext(ClipPathIdContext)},useXAxisOrThrow=function Yi(eo){var to=reactExports.useContext(XAxisContext);to==null&&invariant();var ro=to[eo];return ro==null&&invariant(),ro},useYAxisOrThrow=function Yi(eo){var to=reactExports.useContext(YAxisContext);to==null&&invariant();var ro=to[eo];return ro==null&&invariant(),ro},useViewBox=function Yi(){var eo=reactExports.useContext(ViewBoxContext);return eo},useChartWidth=function Yi(){return reactExports.useContext(ChartWidthContext)},useChartHeight=function Yi(){return reactExports.useContext(ChartHeightContext)};function _typeof$c(Yi){"@babel/helpers - typeof";return _typeof$c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$c(Yi)}function _classCallCheck$9(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$9(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,_toPropertyKey$9(ro.key),ro)}}function _createClass$9(Yi,eo,to){return eo&&_defineProperties$9(Yi.prototype,eo),Object.defineProperty(Yi,"prototype",{writable:!1}),Yi}function _callSuper$6(Yi,eo,to){return eo=_getPrototypeOf$8(eo),_possibleConstructorReturn$8(Yi,_isNativeReflectConstruct$8()?Reflect.construct(eo,to||[],_getPrototypeOf$8(Yi).constructor):eo.apply(Yi,to))}function _possibleConstructorReturn$8(Yi,eo){if(eo&&(_typeof$c(eo)==="object"||typeof eo=="function"))return eo;if(eo!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$9(Yi)}
vendor: 95,261 bytes, lines 482-486
482function _assertThisInitialized$9(Yi){if(Yi===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yi}function _isNativeReflectConstruct$8(){try{var Yi=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$8=function(){return!!Yi})()}function _getPrototypeOf$8(Yi){return _getPrototypeOf$8=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(to){return to.__proto__||Object.getPrototypeOf(to)},_getPrototypeOf$8(Yi)}function _inherits$8(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function");Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,writable:!0,configurable:!0}}),Object.defineProperty(Yi,"prototype",{writable:!1}),eo&&_setPrototypeOf$9(Yi,eo)}function _setPrototypeOf$9(Yi,eo){return _setPrototypeOf$9=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ro,no){return ro.__proto__=no,ro},_setPrototypeOf$9(Yi,eo)}function ownKeys$8(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$8(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$8(Object(to),!0).forEach(function(ro){_defineProperty$d(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$8(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$d(Yi,eo,to){return eo=_toPropertyKey$9(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$9(Yi){var eo=_toPrimitive$9(Yi,"string");return _typeof$c(eo)=="symbol"?eo:eo+""}function _toPrimitive$9(Yi,eo){if(_typeof$c(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$c(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Yi)}function _slicedToArray$1(Yi,eo){return _arrayWithHoles$1(Yi)||_iterableToArrayLimit$1(Yi,eo)||_unsupportedIterableToArray$2(Yi,eo)||_nonIterableRest$1()}function _nonIterableRest$1(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
483In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$2(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$2(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray$2(Yi,eo)}}function _arrayLikeToArray$2(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}function _iterableToArrayLimit$1(Yi,eo){var to=Yi==null?null:typeof Symbol<"u"&&Yi[Symbol.iterator]||Yi["@@iterator"];if(to!=null){var ro,no,io,oo,ao=[],so=!0,lo=!1;try{if(io=(to=to.call(Yi)).next,eo!==0)for(;!(so=(ro=io.call(to)).done)&&(ao.push(ro.value),ao.length!==eo);so=!0);}catch(co){lo=!0,no=co}finally{try{if(!so&&to.return!=null&&(oo=to.return(),Object(oo)!==oo))return}finally{if(lo)throw no}}return ao}}function _arrayWithHoles$1(Yi){if(Array.isArray(Yi))return Yi}function _extends$1p(){return _extends$1p=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1p.apply(this,arguments)}var renderLine=function Yi(eo,to){var ro;return React$1F.isValidElement(eo)?ro=React$1F.cloneElement(eo,to):isFunction$4(eo)?ro=eo(to):ro=React$1F.createElement("line",_extends$1p({},to,{className:"recharts-reference-line-line"})),ro},getEndPoints=function Yi(eo,to,ro,no,io,oo,ao,so,lo){var co=io.x,uo=io.y,fo=io.width,ho=io.height;if(ro){var mo=lo.y,vo=eo.y.apply(mo,{position:oo});if(ifOverflowMatches(lo,"discard")&&!eo.y.isInRange(vo))return null;var Co=[{x:co+fo,y:vo},{x:co,y:vo}];return so==="left"?Co.reverse():Co}if(to){var bo=lo.x,wo=eo.x.apply(bo,{position:oo});if(ifOverflowMatches(lo,"discard")&&!eo.x.isInRange(wo))return null;var yo=[{x:wo,y:uo+ho},{x:wo,y:uo}];return ao==="top"?yo.reverse():yo}if(no){var Eo=lo.segment,xo=Eo.map(function(So){return eo.apply(So,{position:oo})});return ifOverflowMatches(lo,"discard")&&some$1(xo,function(So){return!eo.isInRange(So)})?null:xo}return null};function ReferenceLineImpl(Yi){var eo=Yi.x,to=Yi.y,ro=Yi.segment,no=Yi.xAxisId,io=Yi.yAxisId,oo=Yi.shape,ao=Yi.className,so=Yi.alwaysShow,lo=useClipPathId(),co=useXAxisOrThrow(no),uo=useYAxisOrThrow(io),fo=useViewBox();if(!lo||!fo)return null;warn(so===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var ho=createLabeledScales({x:co.scale,y:uo.scale}),mo=isNumOrStr(eo),vo=isNumOrStr(to),Co=ro&&ro.length===2,bo=getEndPoints(ho,mo,vo,Co,fo,Yi.position,co.orientation,uo.orientation,Yi);if(!bo)return null;var wo=_slicedToArray$1(bo,2),yo=wo[0],Eo=yo.x,xo=yo.y,So=wo[1],To=So.x,Ro=So.y,Po=ifOverflowMatches(Yi,"hidden")?"url(#".concat(lo,")"):void 0,zo=_objectSpread$8(_objectSpread$8({clipPath:Po},filterProps(Yi,!0)),{},{x1:Eo,y1:xo,x2:To,y2:Ro});return React$1F.createElement(Layer,{className:clsx("recharts-reference-line",ao)},renderLine(oo,zo),Label.renderCallByParent(Yi,rectWithCoords({x1:Eo,y1:xo,x2:To,y2:Ro})))}var ReferenceLine=(function(Yi){function eo(){return _classCallCheck$9(this,eo),_callSuper$6(this,eo,arguments)}return _inherits$8(eo,Yi),_createClass$9(eo,[{key:"render",value:function(){return React$1F.createElement(ReferenceLineImpl,this.props)}}])})(React$1F.Component);_defineProperty$d(ReferenceLine,"displayName","ReferenceLine");_defineProperty$d(ReferenceLine,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function _extends$1o(){return _extends$1o=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1o.apply(this,arguments)}function _typeof$b(Yi){"@babel/helpers - typeof";return _typeof$b=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$b(Yi)}function ownKeys$7(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$7(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$7(Object(to),!0).forEach(function(ro){_defineProperty$c(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$7(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _classCallCheck$8(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$8(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,_toPropertyKey$8(ro.key),ro)}}function _createClass$8(Yi,eo,to){return eo&&_defineProperties$8(Yi.prototype,eo),Object.defineProperty(Yi,"prototype",{writable:!1}),Yi}function _callSuper$5(Yi,eo,to){return eo=_getPrototypeOf$7(eo),_possibleConstructorReturn$7(Yi,_isNativeReflectConstruct$7()?Reflect.construct(eo,to||[],_getPrototypeOf$7(Yi).constructor):eo.apply(Yi,to))}function _possibleConstructorReturn$7(Yi,eo){if(eo&&(_typeof$b(eo)==="object"||typeof eo=="function"))return eo;if(eo!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$8(Yi)}function _assertThisInitialized$8(Yi){if(Yi===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yi}function _isNativeReflectConstruct$7(){try{var Yi=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$7=function(){return!!Yi})()}function _getPrototypeOf$7(Yi){return _getPrototypeOf$7=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(to){return to.__proto__||Object.getPrototypeOf(to)},_getPrototypeOf$7(Yi)}function _inherits$7(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function");Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,writable:!0,configurable:!0}}),Object.defineProperty(Yi,"prototype",{writable:!1}),eo&&_setPrototypeOf$8(Yi,eo)}function _setPrototypeOf$8(Yi,eo){return _setPrototypeOf$8=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ro,no){return ro.__proto__=no,ro},_setPrototypeOf$8(Yi,eo)}function _defineProperty$c(Yi,eo,to){return eo=_toPropertyKey$8(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$8(Yi){var eo=_toPrimitive$8(Yi,"string");return _typeof$b(eo)=="symbol"?eo:eo+""}function _toPrimitive$8(Yi,eo){if(_typeof$b(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$b(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Yi)}var getCoordinate=function Yi(eo){var to=eo.x,ro=eo.y,no=eo.xAxis,io=eo.yAxis,oo=createLabeledScales({x:no.scale,y:io.scale}),ao=oo.apply({x:to,y:ro},{bandAware:!0});return ifOverflowMatches(eo,"discard")&&!oo.isInRange(ao)?null:ao},ReferenceDot=(function(Yi){function eo(){return _classCallCheck$8(this,eo),_callSuper$5(this,eo,arguments)}return _inherits$7(eo,Yi),_createClass$8(eo,[{key:"render",value:function(){var ro=this.props,no=ro.x,io=ro.y,oo=ro.r,ao=ro.alwaysShow,so=ro.clipPathId,lo=isNumOrStr(no),co=isNumOrStr(io);if(warn(ao===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!lo||!co)return null;var uo=getCoordinate(this.props);if(!uo)return null;var fo=uo.x,ho=uo.y,mo=this.props,vo=mo.shape,Co=mo.className,bo=ifOverflowMatches(this.props,"hidden")?"url(#".concat(so,")"):void 0,wo=_objectSpread$7(_objectSpread$7({clipPath:bo},filterProps(this.props,!0)),{},{cx:fo,cy:ho});return React$1F.createElement(Layer,{className:clsx("recharts-reference-dot",Co)},eo.renderDot(vo,wo),Label.renderCallByParent(this.props,{x:fo-oo,y:ho-oo,width:2*oo,height:2*oo}))}}])})(React$1F.Component);_defineProperty$c(ReferenceDot,"displayName","ReferenceDot");_defineProperty$c(ReferenceDot,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1});_defineProperty$c(ReferenceDot,"renderDot",function(Yi,eo){var to;return React$1F.isValidElement(Yi)?to=React$1F.cloneElement(Yi,eo):isFunction$4(Yi)?to=Yi(eo):to=React$1F.createElement(Dot,_extends$1o({},eo,{cx:eo.cx,cy:eo.cy,className:"recharts-reference-dot-dot"})),to});function _extends$1n(){return _extends$1n=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1n.apply(this,arguments)}function _typeof$a(Yi){"@babel/helpers - typeof";return _typeof$a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$a(Yi)}function ownKeys$6(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$6(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$6(Object(to),!0).forEach(function(ro){_defineProperty$b(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$6(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _classCallCheck$7(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$7(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,_toPropertyKey$7(ro.key),ro)}}function _createClass$7(Yi,eo,to){return eo&&_defineProperties$7(Yi.prototype,eo),Object.defineProperty(Yi,"prototype",{writable:!1}),Yi}function _callSuper$4(Yi,eo,to){return eo=_getPrototypeOf$6(eo),_possibleConstructorReturn$6(Yi,_isNativeReflectConstruct$6()?Reflect.construct(eo,to||[],_getPrototypeOf$6(Yi).constructor):eo.apply(Yi,to))}function _possibleConstructorReturn$6(Yi,eo){if(eo&&(_typeof$a(eo)==="object"||typeof eo=="function"))return eo;if(eo!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$7(Yi)}function _assertThisInitialized$7(Yi){if(Yi===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yi}function _isNativeReflectConstruct$6(){try{var Yi=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$6=function(){return!!Yi})()}function _getPrototypeOf$6(Yi){return _getPrototypeOf$6=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(to){return to.__proto__||Object.getPrototypeOf(to)},_getPrototypeOf$6(Yi)}function _inherits$6(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function");Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,writable:!0,configurable:!0}}),Object.defineProperty(Yi,"prototype",{writable:!1}),eo&&_setPrototypeOf$7(Yi,eo)}function _setPrototypeOf$7(Yi,eo){return _setPrototypeOf$7=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ro,no){return ro.__proto__=no,ro},_setPrototypeOf$7(Yi,eo)}function _defineProperty$b(Yi,eo,to){return eo=_toPropertyKey$7(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$7(Yi){var eo=_toPrimitive$7(Yi,"string");return _typeof$a(eo)=="symbol"?eo:eo+""}function _toPrimitive$7(Yi,eo){if(_typeof$a(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$a(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Yi)}var getRect=function Yi(eo,to,ro,no,io){var oo=io.x1,ao=io.x2,so=io.y1,lo=io.y2,co=io.xAxis,uo=io.yAxis;if(!co||!uo)return null;var fo=createLabeledScales({x:co.scale,y:uo.scale}),ho={x:eo?fo.x.apply(oo,{position:"start"}):fo.x.rangeMin,y:ro?fo.y.apply(so,{position:"start"}):fo.y.rangeMin},mo={x:to?fo.x.apply(ao,{position:"end"}):fo.x.rangeMax,y:no?fo.y.apply(lo,{position:"end"}):fo.y.rangeMax};return ifOverflowMatches(io,"discard")&&(!fo.isInRange(ho)||!fo.isInRange(mo))?null:rectWithPoints(ho,mo)},ReferenceArea=(function(Yi){function eo(){return _classCallCheck$7(this,eo),_callSuper$4(this,eo,arguments)}return _inherits$6(eo,Yi),_createClass$7(eo,[{key:"render",value:function(){var ro=this.props,no=ro.x1,io=ro.x2,oo=ro.y1,ao=ro.y2,so=ro.className,lo=ro.alwaysShow,co=ro.clipPathId;warn(lo===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var uo=isNumOrStr(no),fo=isNumOrStr(io),ho=isNumOrStr(oo),mo=isNumOrStr(ao),vo=this.props.shape;if(!uo&&!fo&&!ho&&!mo&&!vo)return null;var Co=getRect(uo,fo,ho,mo,this.props);if(!Co&&!vo)return null;var bo=ifOverflowMatches(this.props,"hidden")?"url(#".concat(co,")"):void 0;return React$1F.createElement(Layer,{className:clsx("recharts-reference-area",so)},eo.renderRect(vo,_objectSpread$6(_objectSpread$6({clipPath:bo},filterProps(this.props,!0)),Co)),Label.renderCallByParent(this.props,Co))}}])})(React$1F.Component);_defineProperty$b(ReferenceArea,"displayName","ReferenceArea");_defineProperty$b(ReferenceArea,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1});_defineProperty$b(ReferenceArea,"renderRect",function(Yi,eo){var to;return React$1F.isValidElement(Yi)?to=React$1F.cloneElement(Yi,eo):isFunction$4(Yi)?to=Yi(eo):to=React$1F.createElement(Rectangle,_extends$1n({},eo,{className:"recharts-reference-area-rect"})),to});function getEveryNthWithCondition(Yi,eo,to){if(eo<1)return[];if(eo===1&&to===void 0)return Yi;for(var ro=[],no=0;no<Yi.length;no+=eo)ro.push(Yi[no]);return ro}function getAngledTickWidth(Yi,eo,to){var ro={width:Yi.width+eo.width,height:Yi.height+eo.height};return getAngledRectangleWidth(ro,to)}function getTickBoundaries(Yi,eo,to){var ro=to==="width",no=Yi.x,io=Yi.y,oo=Yi.width,ao=Yi.height;return eo===1?{start:ro?no:io,end:ro?no+oo:io+ao}:{start:ro?no+oo:io+ao,end:ro?no:io}}function isVisible(Yi,eo,to,ro,no){if(Yi*eo<Yi*ro||Yi*eo>Yi*no)return!1;var io=to();return Yi*(eo-Yi*io/2-ro)>=0&&Yi*(eo+Yi*io/2-no)<=0}function getNumberIntervalTicks(Yi,eo){return getEveryNthWithCondition(Yi,eo+1)}function getEquidistantTicks(Yi,eo,to,ro,no){for(var io=(ro||[]).slice(),oo=eo.start,ao=eo.end,so=0,lo=1,co=oo,uo=function(){var mo=ro==null?void 0:ro[so];if(mo===void 0)return{v:getEveryNthWithCondition(ro,lo)};var vo=so,Co,bo=function(){return Co===void 0&&(Co=to(mo,vo)),Co},wo=mo.coordinate,yo=so===0||isVisible(Yi,wo,bo,co,ao);yo||(so=0,co=oo,lo+=1),yo&&(co=wo+Yi*(bo()/2+no),so+=lo)},fo;lo<=io.length;)if(fo=uo(),fo)return fo.v;return[]}function _typeof$9(Yi){"@babel/helpers - typeof";return _typeof$9=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$9(Yi)}function ownKeys$5(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$5(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$5(Object(to),!0).forEach(function(ro){_defineProperty$a(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$5(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$a(Yi,eo,to){return eo=_toPropertyKey$6(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$6(Yi){var eo=_toPrimitive$6(Yi,"string");return _typeof$9(eo)=="symbol"?eo:eo+""}function _toPrimitive$6(Yi,eo){if(_typeof$9(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$9(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi)}function getTicksEnd(Yi,eo,to,ro,no){for(var io=(ro||[]).slice(),oo=io.length,ao=eo.start,so=eo.end,lo=function(fo){var ho=io[fo],mo,vo=function(){return mo===void 0&&(mo=to(ho,fo)),mo};if(fo===oo-1){var Co=Yi*(ho.coordinate+Yi*vo()/2-so);io[fo]=ho=_objectSpread$5(_objectSpread$5({},ho),{},{tickCoord:Co>0?ho.coordinate-Co*Yi:ho.coordinate})}else io[fo]=ho=_objectSpread$5(_objectSpread$5({},ho),{},{tickCoord:ho.coordinate});var bo=isVisible(Yi,ho.tickCoord,vo,ao,so);bo&&(so=ho.tickCoord-Yi*(vo()/2+no),io[fo]=_objectSpread$5(_objectSpread$5({},ho),{},{isShow:!0}))},co=oo-1;co>=0;co--)lo(co);return io}function getTicksStart(Yi,eo,to,ro,no,io){var oo=(ro||[]).slice(),ao=oo.length,so=eo.start,lo=eo.end;if(io){var co=ro[ao-1],uo=to(co,ao-1),fo=Yi*(co.coordinate+Yi*uo/2-lo);oo[ao-1]=co=_objectSpread$5(_objectSpread$5({},co),{},{tickCoord:fo>0?co.coordinate-fo*Yi:co.coordinate});var ho=isVisible(Yi,co.tickCoord,function(){return uo},so,lo);ho&&(lo=co.tickCoord-Yi*(uo/2+no),oo[ao-1]=_objectSpread$5(_objectSpread$5({},co),{},{isShow:!0}))}for(var mo=io?ao-1:ao,vo=function(wo){var yo=oo[wo],Eo,xo=function(){return Eo===void 0&&(Eo=to(yo,wo)),Eo};if(wo===0){var So=Yi*(yo.coordinate-Yi*xo()/2-so);oo[wo]=yo=_objectSpread$5(_objectSpread$5({},yo),{},{tickCoord:So<0?yo.coordinate-So*Yi:yo.coordinate})}else oo[wo]=yo=_objectSpread$5(_objectSpread$5({},yo),{},{tickCoord:yo.coordinate});var To=isVisible(Yi,yo.tickCoord,xo,so,lo);To&&(so=yo.tickCoord+Yi*(xo()/2+no),oo[wo]=_objectSpread$5(_objectSpread$5({},yo),{},{isShow:!0}))},Co=0;Co<mo;Co++)vo(Co);return oo}function getTicks(Yi,eo,to){var ro=Yi.tick,no=Yi.ticks,io=Yi.viewBox,oo=Yi.minTickGap,ao=Yi.orientation,so=Yi.interval,lo=Yi.tickFormatter,co=Yi.unit,uo=Yi.angle;if(!no||!no.length||!ro)return[];if(isNumber(so)||Global.isSsr)return getNumberIntervalTicks(no,typeof so=="number"&&isNumber(so)?so:0);var fo=[],ho=ao==="top"||ao==="bottom"?"width":"height",mo=co&&ho==="width"?getStringSize(co,{fontSize:eo,letterSpacing:to}):{width:0,height:0},vo=function(yo,Eo){var xo=isFunction$4(lo)?lo(yo.value,Eo):yo.value;return ho==="width"?getAngledTickWidth(getStringSize(xo,{fontSize:eo,letterSpacing:to}),mo,uo):getStringSize(xo,{fontSize:eo,letterSpacing:to})[ho]},Co=no.length>=2?mathSign(no[1].coordinate-no[0].coordinate):1,bo=getTickBoundaries(io,Co,ho);return so==="equidistantPreserveStart"?getEquidistantTicks(Co,bo,vo,no,oo):(so==="preserveStart"||so==="preserveStartEnd"?fo=getTicksStart(Co,bo,vo,no,oo,so==="preserveStartEnd"):fo=getTicksEnd(Co,bo,vo,no,oo),fo.filter(function(wo){return wo.isShow}))}var _excluded$5=["viewBox"],_excluded2$2=["viewBox"],_excluded3=["ticks"];function _typeof$8(Yi){"@babel/helpers - typeof";return _typeof$8=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$8(Yi)}function _extends$1m(){return _extends$1m=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1m.apply(this,arguments)}function ownKeys$4(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$4(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$4(Object(to),!0).forEach(function(ro){_defineProperty$9(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$4(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _objectWithoutProperties$1(Yi,eo){if(Yi==null)return{};var to=_objectWithoutPropertiesLoose$3(Yi,eo),ro,no;if(Object.getOwnPropertySymbols){var io=Object.getOwnPropertySymbols(Yi);for(no=0;no<io.length;no++)ro=io[no],!(eo.indexOf(ro)>=0)&&Object.prototype.propertyIsEnumerable.call(Yi,ro)&&(to[ro]=Yi[ro])}return to}function _objectWithoutPropertiesLoose$3(Yi,eo){if(Yi==null)return{};var to={};for(var ro in Yi)if(Object.prototype.hasOwnProperty.call(Yi,ro)){if(eo.indexOf(ro)>=0)continue;to[ro]=Yi[ro]}return to}function _classCallCheck$6(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$6(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,_toPropertyKey$5(ro.key),ro)}}function _createClass$6(Yi,eo,to){return eo&&_defineProperties$6(Yi.prototype,eo),to&&_defineProperties$6(Yi,to),Object.defineProperty(Yi,"prototype",{writable:!1}),Yi}function _callSuper$3(Yi,eo,to){return eo=_getPrototypeOf$5(eo),_possibleConstructorReturn$5(Yi,_isNativeReflectConstruct$5()?Reflect.construct(eo,to||[],_getPrototypeOf$5(Yi).constructor):eo.apply(Yi,to))}function _possibleConstructorReturn$5(Yi,eo){if(eo&&(_typeof$8(eo)==="object"||typeof eo=="function"))return eo;if(eo!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$6(Yi)}function _assertThisInitialized$6(Yi){if(Yi===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yi}function _isNativeReflectConstruct$5(){try{var Yi=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$5=function(){return!!Yi})()}function _getPrototypeOf$5(Yi){return _getPrototypeOf$5=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(to){return to.__proto__||Object.getPrototypeOf(to)},_getPrototypeOf$5(Yi)}function _inherits$5(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function");Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,writable:!0,configurable:!0}}),Object.defineProperty(Yi,"prototype",{writable:!1}),eo&&_setPrototypeOf$6(Yi,eo)}function _setPrototypeOf$6(Yi,eo){return _setPrototypeOf$6=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ro,no){return ro.__proto__=no,ro},_setPrototypeOf$6(Yi,eo)}function _defineProperty$9(Yi,eo,to){return eo=_toPropertyKey$5(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$5(Yi){var eo=_toPrimitive$5(Yi,"string");return _typeof$8(eo)=="symbol"?eo:eo+""}function _toPrimitive$5(Yi,eo){if(_typeof$8(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$8(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Yi)}var CartesianAxis=(function(Yi){function eo(to){var ro;return _classCallCheck$6(this,eo),ro=_callSuper$3(this,eo,[to]),ro.state={fontSize:"",letterSpacing:""},ro}return _inherits$5(eo,Yi),_createClass$6(eo,[{key:"shouldComponentUpdate",value:function(ro,no){var io=ro.viewBox,oo=_objectWithoutProperties$1(ro,_excluded$5),ao=this.props,so=ao.viewBox,lo=_objectWithoutProperties$1(ao,_excluded2$2);return!shallowEqual(io,so)||!shallowEqual(oo,lo)||!shallowEqual(no,this.state)}},{key:"componentDidMount",value:function(){var ro=this.layerReference;if(ro){var no=ro.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];no&&this.setState({fontSize:window.getComputedStyle(no).fontSize,letterSpacing:window.getComputedStyle(no).letterSpacing})}}},{key:"getTickLineCoord",value:function(ro){var no=this.props,io=no.x,oo=no.y,ao=no.width,so=no.height,lo=no.orientation,co=no.tickSize,uo=no.mirror,fo=no.tickMargin,ho,mo,vo,Co,bo,wo,yo=uo?-1:1,Eo=ro.tickSize||co,xo=isNumber(ro.tickCoord)?ro.tickCoord:ro.coordinate;switch(lo){case"top":ho=mo=ro.coordinate,Co=oo+ +!uo*so,vo=Co-yo*Eo,wo=vo-yo*fo,bo=xo;break;case"left":vo=Co=ro.coordinate,mo=io+ +!uo*ao,ho=mo-yo*Eo,bo=ho-yo*fo,wo=xo;break;case"right":vo=Co=ro.coordinate,mo=io+ +uo*ao,ho=mo+yo*Eo,bo=ho+yo*fo,wo=xo;break;default:ho=mo=ro.coordinate,Co=oo+ +uo*so,vo=Co+yo*Eo,wo=vo+yo*fo,bo=xo;break}return{line:{x1:ho,y1:vo,x2:mo,y2:Co},tick:{x:bo,y:wo}}}},{key:"getTickTextAnchor",value:function(){var ro=this.props,no=ro.orientation,io=ro.mirror,oo;switch(no){case"left":oo=io?"start":"end";break;case"right":oo=io?"end":"start";break;default:oo="middle";break}return oo}},{key:"getTickVerticalAnchor",value:function(){var ro=this.props,no=ro.orientation,io=ro.mirror,oo="end";switch(no){case"left":case"right":oo="middle";break;case"top":oo=io?"start":"end";break;default:oo=io?"end":"start";break}return oo}},{key:"renderAxisLine",value:function(){var ro=this.props,no=ro.x,io=ro.y,oo=ro.width,ao=ro.height,so=ro.orientation,lo=ro.mirror,co=ro.axisLine,uo=_objectSpread$4(_objectSpread$4(_objectSpread$4({},filterProps(this.props,!1)),filterProps(co,!1)),{},{fill:"none"});if(so==="top"||so==="bottom"){var fo=+(so==="top"&&!lo||so==="bottom"&&lo);uo=_objectSpread$4(_objectSpread$4({},uo),{},{x1:no,y1:io+fo*ao,x2:no+oo,y2:io+fo*ao})}else{var ho=+(so==="left"&&!lo||so==="right"&&lo);uo=_objectSpread$4(_objectSpread$4({},uo),{},{x1:no+ho*oo,y1:io,x2:no+ho*oo,y2:io+ao})}return React$1F.createElement("line",_extends$1m({},uo,{className:clsx("recharts-cartesian-axis-line",get$3(co,"className"))}))}},{key:"renderTicks",value:function(ro,no,io){var oo=this,ao=this.props,so=ao.tickLine,lo=ao.stroke,co=ao.tick,uo=ao.tickFormatter,fo=ao.unit,ho=getTicks(_objectSpread$4(_objectSpread$4({},this.props),{},{ticks:ro}),no,io),mo=this.getTickTextAnchor(),vo=this.getTickVerticalAnchor(),Co=filterProps(this.props,!1),bo=filterProps(co,!1),wo=_objectSpread$4(_objectSpread$4({},Co),{},{fill:"none"},filterProps(so,!1)),yo=ho.map(function(Eo,xo){var So=oo.getTickLineCoord(Eo),To=So.line,Ro=So.tick,Po=_objectSpread$4(_objectSpread$4(_objectSpread$4(_objectSpread$4({textAnchor:mo,verticalAnchor:vo},Co),{},{stroke:"none",fill:lo},bo),Ro),{},{index:xo,payload:Eo,visibleTicksCount:ho.length,tickFormatter:uo});return React$1F.createElement(Layer,_extends$1m({className:"recharts-cartesian-axis-tick",key:"tick-".concat(Eo.value,"-").concat(Eo.coordinate,"-").concat(Eo.tickCoord)},adaptEventsOfChild(oo.props,Eo,xo)),so&&React$1F.createElement("line",_extends$1m({},wo,To,{className:clsx("recharts-cartesian-axis-tick-line",get$3(so,"className"))})),co&&eo.renderTickItem(co,Po,"".concat(isFunction$4(uo)?uo(Eo.value,xo):Eo.value).concat(fo||"")))});return React$1F.createElement("g",{className:"recharts-cartesian-axis-ticks"},yo)}},{key:"render",value:function(){var ro=this,no=this.props,io=no.axisLine,oo=no.width,ao=no.height,so=no.ticksGenerator,lo=no.className,co=no.hide;if(co)return null;var uo=this.props,fo=uo.ticks,ho=_objectWithoutProperties$1(uo,_excluded3),mo=fo;return isFunction$4(so)&&(mo=fo&&fo.length>0?so(this.props):so(ho)),oo<=0||ao<=0||!mo||!mo.length?null:React$1F.createElement(Layer,{className:clsx("recharts-cartesian-axis",lo),ref:function(Co){ro.layerReference=Co}},io&&this.renderAxisLine(),this.renderTicks(mo,this.state.fontSize,this.state.letterSpacing),Label.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(ro,no,io){var oo;return React$1F.isValidElement(ro)?oo=React$1F.cloneElement(ro,no):isFunction$4(ro)?oo=ro(no):oo=React$1F.createElement(Text,_extends$1m({},no,{className:"recharts-cartesian-axis-tick-value"}),io),oo}}])})(reactExports.Component);_defineProperty$9(CartesianAxis,"displayName","CartesianAxis");_defineProperty$9(CartesianAxis,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});function _typeof$7(Yi){"@babel/helpers - typeof";return _typeof$7=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$7(Yi)}function _classCallCheck$5(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$5(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,_toPropertyKey$4(ro.key),ro)}}function _createClass$5(Yi,eo,to){return eo&&_defineProperties$5(Yi.prototype,eo),Object.defineProperty(Yi,"prototype",{writable:!1}),Yi}function _callSuper$2(Yi,eo,to){return eo=_getPrototypeOf$4(eo),_possibleConstructorReturn$4(Yi,_isNativeReflectConstruct$4()?Reflect.construct(eo,to||[],_getPrototypeOf$4(Yi).constructor):eo.apply(Yi,to))}function _possibleConstructorReturn$4(Yi,eo){if(eo&&(_typeof$7(eo)==="object"||typeof eo=="function"))return eo;if(eo!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$5(Yi)}function _assertThisInitialized$5(Yi){if(Yi===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yi}function _isNativeReflectConstruct$4(){try{var Yi=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$4=function(){return!!Yi})()}function _getPrototypeOf$4(Yi){return _getPrototypeOf$4=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(to){return to.__proto__||Object.getPrototypeOf(to)},_getPrototypeOf$4(Yi)}function _inherits$4(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function");Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,writable:!0,configurable:!0}}),Object.defineProperty(Yi,"prototype",{writable:!1}),eo&&_setPrototypeOf$5(Yi,eo)}function _setPrototypeOf$5(Yi,eo){return _setPrototypeOf$5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ro,no){return ro.__proto__=no,ro},_setPrototypeOf$5(Yi,eo)}function _defineProperty$8(Yi,eo,to){return eo=_toPropertyKey$4(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$4(Yi){var eo=_toPrimitive$4(Yi,"string");return _typeof$7(eo)=="symbol"?eo:eo+""}function _toPrimitive$4(Yi,eo){if(_typeof$7(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$7(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Yi)}function _extends$1l(){return _extends$1l=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1l.apply(this,arguments)}function XAxisImpl(Yi){var eo=Yi.xAxisId,to=useChartWidth(),ro=useChartHeight(),no=useXAxisOrThrow(eo);return no==null?null:React$1F.createElement(CartesianAxis,_extends$1l({},no,{className:clsx("recharts-".concat(no.axisType," ").concat(no.axisType),no.className),viewBox:{x:0,y:0,width:to,height:ro},ticksGenerator:function(oo){return getTicksOfAxis(oo,!0)}}))}var XAxis=(function(Yi){function eo(){return _classCallCheck$5(this,eo),_callSuper$2(this,eo,arguments)}return _inherits$4(eo,Yi),_createClass$5(eo,[{key:"render",value:function(){return React$1F.createElement(XAxisImpl,this.props)}}])})(React$1F.Component);_defineProperty$8(XAxis,"displayName","XAxis");_defineProperty$8(XAxis,"defaultProps",{allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0});function _typeof$6(Yi){"@babel/helpers - typeof";return _typeof$6=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$6(Yi)}function _classCallCheck$4(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$4(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,_toPropertyKey$3(ro.key),ro)}}function _createClass$4(Yi,eo,to){return eo&&_defineProperties$4(Yi.prototype,eo),Object.defineProperty(Yi,"prototype",{writable:!1}),Yi}function _callSuper$1(Yi,eo,to){return eo=_getPrototypeOf$3(eo),_possibleConstructorReturn$3(Yi,_isNativeReflectConstruct$3()?Reflect.construct(eo,to||[],_getPrototypeOf$3(Yi).constructor):eo.apply(Yi,to))}function _possibleConstructorReturn$3(Yi,eo){if(eo&&(_typeof$6(eo)==="object"||typeof eo=="function"))return eo;if(eo!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$4(Yi)}function _assertThisInitialized$4(Yi){if(Yi===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yi}function _isNativeReflectConstruct$3(){try{var Yi=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$3=function(){return!!Yi})()}function _getPrototypeOf$3(Yi){return _getPrototypeOf$3=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(to){return to.__proto__||Object.getPrototypeOf(to)},_getPrototypeOf$3(Yi)}function _inherits$3(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function");Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,writable:!0,configurable:!0}}),Object.defineProperty(Yi,"prototype",{writable:!1}),eo&&_setPrototypeOf$4(Yi,eo)}function _setPrototypeOf$4(Yi,eo){return _setPrototypeOf$4=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ro,no){return ro.__proto__=no,ro},_setPrototypeOf$4(Yi,eo)}function _defineProperty$7(Yi,eo,to){return eo=_toPropertyKey$3(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$3(Yi){var eo=_toPrimitive$3(Yi,"string");return _typeof$6(eo)=="symbol"?eo:eo+""}function _toPrimitive$3(Yi,eo){if(_typeof$6(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$6(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi)}function _extends$1k(){return _extends$1k=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1k.apply(this,arguments)}var YAxisImpl=function Yi(eo){var to=eo.yAxisId,ro=useChartWidth(),no=useChartHeight(),io=useYAxisOrThrow(to);return io==null?null:React$1F.createElement(CartesianAxis,_extends$1k({},io,{className:clsx("recharts-".concat(io.axisType," ").concat(io.axisType),io.className),viewBox:{x:0,y:0,width:ro,height:no},ticksGenerator:function(ao){return getTicksOfAxis(ao,!0)}}))},YAxis=(function(Yi){function eo(){return _classCallCheck$4(this,eo),_callSuper$1(this,eo,arguments)}return _inherits$3(eo,Yi),_createClass$4(eo,[{key:"render",value:function(){return React$1F.createElement(YAxisImpl,this.props)}}])})(React$1F.Component);_defineProperty$7(YAxis,"displayName","YAxis");_defineProperty$7(YAxis,"defaultProps",{allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1});function _toConsumableArray$2(Yi){return _arrayWithoutHoles$2(Yi)||_iterableToArray$2(Yi)||_unsupportedIterableToArray$1(Yi)||_nonIterableSpread$2()}function _nonIterableSpread$2(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
484In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$1(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray$1(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray$1(Yi,eo)}}function _iterableToArray$2(Yi){if(typeof Symbol<"u"&&Yi[Symbol.iterator]!=null||Yi["@@iterator"]!=null)return Array.from(Yi)}function _arrayWithoutHoles$2(Yi){if(Array.isArray(Yi))return _arrayLikeToArray$1(Yi)}function _arrayLikeToArray$1(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}var detectReferenceElementsDomain=function Yi(eo,to,ro,no,io){var oo=findAllByType(eo,ReferenceLine),ao=findAllByType(eo,ReferenceDot),so=[].concat(_toConsumableArray$2(oo),_toConsumableArray$2(ao)),lo=findAllByType(eo,ReferenceArea),co="".concat(no,"Id"),uo=no[0],fo=to;if(so.length&&(fo=so.reduce(function(vo,Co){if(Co.props[co]===ro&&ifOverflowMatches(Co.props,"extendDomain")&&isNumber(Co.props[uo])){var bo=Co.props[uo];return[Math.min(vo[0],bo),Math.max(vo[1],bo)]}return vo},fo)),lo.length){var ho="".concat(uo,"1"),mo="".concat(uo,"2");fo=lo.reduce(function(vo,Co){if(Co.props[co]===ro&&ifOverflowMatches(Co.props,"extendDomain")&&isNumber(Co.props[ho])&&isNumber(Co.props[mo])){var bo=Co.props[ho],wo=Co.props[mo];return[Math.min(vo[0],bo,wo),Math.max(vo[1],bo,wo)]}return vo},fo)}return io&&io.length&&(fo=io.reduce(function(vo,Co){return isNumber(Co)?[Math.min(vo[0],Co),Math.max(vo[1],Co)]:vo},fo)),fo},eventemitter3={exports:{}};(function(Yi){var eo=Object.prototype.hasOwnProperty,to="~";function ro(){}Object.create&&(ro.prototype=Object.create(null),new ro().__proto__||(to=!1));function no(so,lo,co){this.fn=so,this.context=lo,this.once=co||!1}function io(so,lo,co,uo,fo){if(typeof co!="function")throw new TypeError("The listener must be a function");var ho=new no(co,uo||so,fo),mo=to?to+lo:lo;return so._events[mo]?so._events[mo].fn?so._events[mo]=[so._events[mo],ho]:so._events[mo].push(ho):(so._events[mo]=ho,so._eventsCount++),so}function oo(so,lo){--so._eventsCount===0?so._events=new ro:delete so._events[lo]}function ao(){this._events=new ro,this._eventsCount=0}ao.prototype.eventNames=function(){var lo=[],co,uo;if(this._eventsCount===0)return lo;for(uo in co=this._events)eo.call(co,uo)&&lo.push(to?uo.slice(1):uo);return Object.getOwnPropertySymbols?lo.concat(Object.getOwnPropertySymbols(co)):lo},ao.prototype.listeners=function(lo){var co=to?to+lo:lo,uo=this._events[co];if(!uo)return[];if(uo.fn)return[uo.fn];for(var fo=0,ho=uo.length,mo=new Array(ho);fo<ho;fo++)mo[fo]=uo[fo].fn;return mo},ao.prototype.listenerCount=function(lo){var co=to?to+lo:lo,uo=this._events[co];return uo?uo.fn?1:uo.length:0},ao.prototype.emit=function(lo,co,uo,fo,ho,mo){var vo=to?to+lo:lo;if(!this._events[vo])return!1;var Co=this._events[vo],bo=arguments.length,wo,yo;if(Co.fn){switch(Co.once&&this.removeListener(lo,Co.fn,void 0,!0),bo){case 1:return Co.fn.call(Co.context),!0;case 2:return Co.fn.call(Co.context,co),!0;case 3:return Co.fn.call(Co.context,co,uo),!0;case 4:return Co.fn.call(Co.context,co,uo,fo),!0;case 5:return Co.fn.call(Co.context,co,uo,fo,ho),!0;case 6:return Co.fn.call(Co.context,co,uo,fo,ho,mo),!0}for(yo=1,wo=new Array(bo-1);yo<bo;yo++)wo[yo-1]=arguments[yo];Co.fn.apply(Co.context,wo)}else{var Eo=Co.length,xo;for(yo=0;yo<Eo;yo++)switch(Co[yo].once&&this.removeListener(lo,Co[yo].fn,void 0,!0),bo){case 1:Co[yo].fn.call(Co[yo].context);break;case 2:Co[yo].fn.call(Co[yo].context,co);break;case 3:Co[yo].fn.call(Co[yo].context,co,uo);break;case 4:Co[yo].fn.call(Co[yo].context,co,uo,fo);break;default:if(!wo)for(xo=1,wo=new Array(bo-1);xo<bo;xo++)wo[xo-1]=arguments[xo];Co[yo].fn.apply(Co[yo].context,wo)}}return!0},ao.prototype.on=function(lo,co,uo){return io(this,lo,co,uo,!1)},ao.prototype.once=function(lo,co,uo){return io(this,lo,co,uo,!0)},ao.prototype.removeListener=function(lo,co,uo,fo){var ho=to?to+lo:lo;if(!this._events[ho])return this;if(!co)return oo(this,ho),this;var mo=this._events[ho];if(mo.fn)mo.fn===co&&(!fo||mo.once)&&(!uo||mo.context===uo)&&oo(this,ho);else{for(var vo=0,Co=[],bo=mo.length;vo<bo;vo++)(mo[vo].fn!==co||fo&&!mo[vo].once||uo&&mo[vo].context!==uo)&&Co.push(mo[vo]);Co.length?this._events[ho]=Co.length===1?Co[0]:Co:oo(this,ho)}return this},ao.prototype.removeAllListeners=function(lo){var co;return lo?(co=to?to+lo:lo,this._events[co]&&oo(this,co)):(this._events=new ro,this._eventsCount=0),this},ao.prototype.off=ao.prototype.removeListener,ao.prototype.addListener=ao.prototype.on,ao.prefixed=to,ao.EventEmitter=ao,Yi.exports=ao})(eventemitter3);var eventemitter3Exports=eventemitter3.exports;const EventEmitter=getDefaultExportFromCjs(eventemitter3Exports);var eventCenter=new EventEmitter,SYNC_EVENT="recharts.syncMouseEvents";function _typeof$5(Yi){"@babel/helpers - typeof";return _typeof$5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$5(Yi)}function _classCallCheck$3(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$3(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,_toPropertyKey$2(ro.key),ro)}}function _createClass$3(Yi,eo,to){return eo&&_defineProperties$3(Yi.prototype,eo),Object.defineProperty(Yi,"prototype",{writable:!1}),Yi}function _defineProperty$6(Yi,eo,to){return eo=_toPropertyKey$2(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$2(Yi){var eo=_toPrimitive$2(Yi,"string");return _typeof$5(eo)=="symbol"?eo:eo+""}function _toPrimitive$2(Yi,eo){if(_typeof$5(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$5(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Yi)}var AccessibilityManager=(function(){function Yi(){_classCallCheck$3(this,Yi),_defineProperty$6(this,"activeIndex",0),_defineProperty$6(this,"coordinateList",[]),_defineProperty$6(this,"layout","horizontal")}return _createClass$3(Yi,[{key:"setDetails",value:function(to){var ro,no=to.coordinateList,io=no===void 0?null:no,oo=to.container,ao=oo===void 0?null:oo,so=to.layout,lo=so===void 0?null:so,co=to.offset,uo=co===void 0?null:co,fo=to.mouseHandlerCallback,ho=fo===void 0?null:fo;this.coordinateList=(ro=io??this.coordinateList)!==null&&ro!==void 0?ro:[],this.container=ao??this.container,this.layout=lo??this.layout,this.offset=uo??this.offset,this.mouseHandlerCallback=ho??this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(to){if(this.coordinateList.length!==0)switch(to.key){case"ArrowRight":{if(this.layout!=="horizontal")return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break}case"ArrowLeft":{if(this.layout!=="horizontal")return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse();break}}}},{key:"setIndex",value:function(to){this.activeIndex=to}},{key:"spoofMouse",value:function(){var to,ro;if(this.layout==="horizontal"&&this.coordinateList.length!==0){var no=this.container.getBoundingClientRect(),io=no.x,oo=no.y,ao=no.height,so=this.coordinateList[this.activeIndex].coordinate,lo=((to=window)===null||to===void 0?void 0:to.scrollX)||0,co=((ro=window)===null||ro===void 0?void 0:ro.scrollY)||0,uo=io+so+lo,fo=oo+this.offset.top+ao/2+co;this.mouseHandlerCallback({pageX:uo,pageY:fo})}}}])})();function isDomainSpecifiedByUser(Yi,eo,to){if(to==="number"&&eo===!0&&Array.isArray(Yi)){var ro=Yi==null?void 0:Yi[0],no=Yi==null?void 0:Yi[1];if(ro&&no&&isNumber(ro)&&isNumber(no))return!0}return!1}function getCursorRectangle(Yi,eo,to,ro){var no=ro/2;return{stroke:"none",fill:"#ccc",x:Yi==="horizontal"?eo.x-no:to.left+.5,y:Yi==="horizontal"?to.top+.5:eo.y-no,width:Yi==="horizontal"?ro:to.width-1,height:Yi==="horizontal"?to.height-1:ro}}function getRadialCursorPoints(Yi){var eo=Yi.cx,to=Yi.cy,ro=Yi.radius,no=Yi.startAngle,io=Yi.endAngle,oo=polarToCartesian(eo,to,ro,no),ao=polarToCartesian(eo,to,ro,io);return{points:[oo,ao],cx:eo,cy:to,radius:ro,startAngle:no,endAngle:io}}function getCursorPoints(Yi,eo,to){var ro,no,io,oo;if(Yi==="horizontal")ro=eo.x,io=ro,no=to.top,oo=to.top+to.height;else if(Yi==="vertical")no=eo.y,oo=no,ro=to.left,io=to.left+to.width;else if(eo.cx!=null&&eo.cy!=null)if(Yi==="centric"){var ao=eo.cx,so=eo.cy,lo=eo.innerRadius,co=eo.outerRadius,uo=eo.angle,fo=polarToCartesian(ao,so,lo,uo),ho=polarToCartesian(ao,so,co,uo);ro=fo.x,no=fo.y,io=ho.x,oo=ho.y}else return getRadialCursorPoints(eo);return[{x:ro,y:no},{x:io,y:oo}]}function _typeof$4(Yi){"@babel/helpers - typeof";return _typeof$4=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$4(Yi)}function ownKeys$3(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$3(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$3(Object(to),!0).forEach(function(ro){_defineProperty$5(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$3(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$5(Yi,eo,to){return eo=_toPropertyKey$1(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey$1(Yi){var eo=_toPrimitive$1(Yi,"string");return _typeof$4(eo)=="symbol"?eo:eo+""}function _toPrimitive$1(Yi,eo){if(_typeof$4(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$4(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi)}function Cursor(Yi){var eo,to,ro=Yi.element,no=Yi.tooltipEventType,io=Yi.isActive,oo=Yi.activeCoordinate,ao=Yi.activePayload,so=Yi.offset,lo=Yi.activeTooltipIndex,co=Yi.tooltipAxisBandSize,uo=Yi.layout,fo=Yi.chartName,ho=(eo=ro.props.cursor)!==null&&eo!==void 0?eo:(to=ro.type.defaultProps)===null||to===void 0?void 0:to.cursor;if(!ro||!ho||!io||!oo||fo!=="ScatterChart"&&no!=="axis")return null;var mo,vo=Curve;if(fo==="ScatterChart")mo=oo,vo=Cross;else if(fo==="BarChart")mo=getCursorRectangle(uo,oo,so,co),vo=Rectangle;else if(uo==="radial"){var Co=getRadialCursorPoints(oo),bo=Co.cx,wo=Co.cy,yo=Co.radius,Eo=Co.startAngle,xo=Co.endAngle;mo={cx:bo,cy:wo,startAngle:Eo,endAngle:xo,innerRadius:yo,outerRadius:yo},vo=Sector}else mo={points:getCursorPoints(uo,oo,so)},vo=Curve;var So=_objectSpread$3(_objectSpread$3(_objectSpread$3(_objectSpread$3({stroke:"#ccc",pointerEvents:"none"},so),mo),filterProps(ho,!1)),{},{payload:ao,payloadIndex:lo,className:clsx("recharts-tooltip-cursor",ho.className)});return reactExports.isValidElement(ho)?reactExports.cloneElement(ho,So):reactExports.createElement(vo,So)}var _excluded$4=["item"],_excluded2$1=["children","className","width","height","style","compact","title","desc"];function _typeof$3(Yi){"@babel/helpers - typeof";return _typeof$3=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(eo){return typeof eo}:function(eo){return eo&&typeof Symbol=="function"&&eo.constructor===Symbol&&eo!==Symbol.prototype?"symbol":typeof eo},_typeof$3(Yi)}function _extends$1j(){return _extends$1j=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1j.apply(this,arguments)}function _slicedToArray(Yi,eo){return _arrayWithHoles(Yi)||_iterableToArrayLimit(Yi,eo)||_unsupportedIterableToArray(Yi,eo)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
485In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArrayLimit(Yi,eo){var to=Yi==null?null:typeof Symbol<"u"&&Yi[Symbol.iterator]||Yi["@@iterator"];if(to!=null){var ro,no,io,oo,ao=[],so=!0,lo=!1;try{if(io=(to=to.call(Yi)).next,eo!==0)for(;!(so=(ro=io.call(to)).done)&&(ao.push(ro.value),ao.length!==eo);so=!0);}catch(co){lo=!0,no=co}finally{try{if(!so&&to.return!=null&&(oo=to.return(),Object(oo)!==oo))return}finally{if(lo)throw no}}return ao}}function _arrayWithHoles(Yi){if(Array.isArray(Yi))return Yi}function _objectWithoutProperties(Yi,eo){if(Yi==null)return{};var to=_objectWithoutPropertiesLoose$2(Yi,eo),ro,no;if(Object.getOwnPropertySymbols){var io=Object.getOwnPropertySymbols(Yi);for(no=0;no<io.length;no++)ro=io[no],!(eo.indexOf(ro)>=0)&&Object.prototype.propertyIsEnumerable.call(Yi,ro)&&(to[ro]=Yi[ro])}return to}function _objectWithoutPropertiesLoose$2(Yi,eo){if(Yi==null)return{};var to={};for(var ro in Yi)if(Object.prototype.hasOwnProperty.call(Yi,ro)){if(eo.indexOf(ro)>=0)continue;to[ro]=Yi[ro]}return to}function _classCallCheck$2(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$2(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,_toPropertyKey(ro.key),ro)}}function _createClass$2(Yi,eo,to){return eo&&_defineProperties$2(Yi.prototype,eo),Object.defineProperty(Yi,"prototype",{writable:!1}),Yi}function _callSuper(Yi,eo,to){return eo=_getPrototypeOf$2(eo),_possibleConstructorReturn$2(Yi,_isNativeReflectConstruct$2()?Reflect.construct(eo,to||[],_getPrototypeOf$2(Yi).constructor):eo.apply(Yi,to))}function _possibleConstructorReturn$2(Yi,eo){if(eo&&(_typeof$3(eo)==="object"||typeof eo=="function"))return eo;if(eo!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$3(Yi)}function _assertThisInitialized$3(Yi){if(Yi===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yi}function _isNativeReflectConstruct$2(){try{var Yi=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_isNativeReflectConstruct$2=function(){return!!Yi})()}function _getPrototypeOf$2(Yi){return _getPrototypeOf$2=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(to){return to.__proto__||Object.getPrototypeOf(to)},_getPrototypeOf$2(Yi)}function _inherits$2(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function");Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,writable:!0,configurable:!0}}),Object.defineProperty(Yi,"prototype",{writable:!1}),eo&&_setPrototypeOf$3(Yi,eo)}function _setPrototypeOf$3(Yi,eo){return _setPrototypeOf$3=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ro,no){return ro.__proto__=no,ro},_setPrototypeOf$3(Yi,eo)}function _toConsumableArray$1(Yi){return _arrayWithoutHoles$1(Yi)||_iterableToArray$1(Yi)||_unsupportedIterableToArray(Yi)||_nonIterableSpread$1()}function _nonIterableSpread$1(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
486In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray(Yi,eo){if(Yi){if(typeof Yi=="string")return _arrayLikeToArray(Yi,eo);var to=Object.prototype.toString.call(Yi).slice(8,-1);if(to==="Object"&&Yi.constructor&&(to=Yi.constructor.name),to==="Map"||to==="Set")return Array.from(Yi);if(to==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(to))return _arrayLikeToArray(Yi,eo)}}function _iterableToArray$1(Yi){if(typeof Symbol<"u"&&Yi[Symbol.iterator]!=null||Yi["@@iterator"]!=null)return Array.from(Yi)}function _arrayWithoutHoles$1(Yi){if(Array.isArray(Yi))return _arrayLikeToArray(Yi)}function _arrayLikeToArray(Yi,eo){(eo==null||eo>Yi.length)&&(eo=Yi.length);for(var to=0,ro=new Array(eo);to<eo;to++)ro[to]=Yi[to];return ro}function ownKeys$2(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$2(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$2(Object(to),!0).forEach(function(ro){_defineProperty$4(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$2(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$4(Yi,eo,to){return eo=_toPropertyKey(eo),eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}function _toPropertyKey(Yi){var eo=_toPrimitive(Yi,"string");return _typeof$3(eo)=="symbol"?eo:eo+""}function _toPrimitive(Yi,eo){if(_typeof$3(Yi)!="object"||!Yi)return Yi;var to=Yi[Symbol.toPrimitive];if(to!==void 0){var ro=to.call(Yi,eo);if(_typeof$3(ro)!="object")return ro;throw new TypeError("@@toPrimitive must return a primitive value.")}return(eo==="string"?String:Number)(Yi)}var ORIENT_MAP={xAxis:["bottom","top"],yAxis:["left","right"]},FULL_WIDTH_AND_HEIGHT={width:"100%",height:"100%"},originCoordinate={x:0,y:0};function renderAsIs(Yi){return Yi}var calculateTooltipPos=function Yi(eo,to){return to==="horizontal"?eo.x:to==="vertical"?eo.y:to==="centric"?eo.angle:eo.radius},getActiveCoordinate=function Yi(eo,to,ro,no){var io=to.find(function(co){return co&&co.index===ro});if(io){if(eo==="horizontal")return{x:io.coordinate,y:no.y};if(eo==="vertical")return{x:no.x,y:io.coordinate};if(eo==="centric"){var oo=io.coordinate,ao=no.radius;return _objectSpread$2(_objectSpread$2(_objectSpread$2({},no),polarToCartesian(no.cx,no.cy,ao,oo)),{},{angle:oo,radius:ao})}var so=io.coordinate,lo=no.angle;return _objectSpread$2(_objectSpread$2(_objectSpread$2({},no),polarToCartesian(no.cx,no.cy,so,lo)),{},{angle:lo,radius:so})}return originCoordinate},getDisplayedData=function Yi(eo,to){var ro=to.graphicalItems,no=to.dataStartIndex,io=to.dataEndIndex,oo=(ro??[]).reduce(function(ao,so){var lo=so.props.data;return lo&&lo.length?[].concat(_toConsumableArray$1(ao),_toConsumableArray$1(lo)):ao},[]);return oo.length>0?oo:eo&&eo.length&&isNumber(no)&&isNumber(io)?eo.slice(no,io+1):[]};function getDefaultDomainByAxisType(Yi){return Yi==="number"?[0,"auto"]:void 0}var getTooltipContent=function Yi(eo,to,ro,no){var io=eo.graphicalItems,oo=eo.tooltipAxis,ao=getDisplayedData(to,eo);return ro<0||!io||!io.length||ro>=ao.length?null:io.reduce(function(so,lo){var co,uo=(co=lo.props.data)!==null&&co!==void 0?co:to;uo&&eo.dataStartIndex+eo.dataEndIndex!==0&&eo.dataEndIndex-eo.dataStartIndex>=ro&&(uo=uo.slice(eo.dataStartIndex,eo.dataEndIndex+1));var fo;if(oo.dataKey&&!oo.allowDuplicatedCategory){var ho=uo===void 0?ao:uo;fo=findEntryInArray(ho,oo.dataKey,no)}else fo=uo&&uo[ro]||ao[ro];return fo?[].concat(_toConsumableArray$1(so),[getTooltipItem(lo,fo)]):so},[])},getTooltipData=function Yi(eo,to,ro,no){var io=no||{x:eo.chartX,y:eo.chartY},oo=calculateTooltipPos(io,ro),ao=eo.orderedTooltipTicks,so=eo.tooltipAxis,lo=eo.tooltipTicks,co=calculateActiveTickIndex(oo,ao,lo,so);if(co>=0&&lo){var uo=lo[co]&&lo[co].value,fo=getTooltipContent(eo,to,co,uo),ho=getActiveCoordinate(ro,ao,co,io);return{activeTooltipIndex:co,activeLabel:uo,activePayload:fo,activeCoordinate:ho}}return null},getAxisMapByAxes=function Yi(eo,to){var ro=to.axes,no=to.graphicalItems,io=to.axisType,oo=to.axisIdKey,ao=to.stackGroups,so=to.dataStartIndex,lo=to.dataEndIndex,co=eo.layout,uo=eo.children,fo=eo.stackOffset,ho=isCategoricalAxis(co,io);return ro.reduce(function(mo,vo){var Co,bo=vo.type.defaultProps!==void 0?_objectSpread$2(_objectSpread$2({},vo.type.defaultProps),vo.props):vo.props,wo=bo.type,yo=bo.dataKey,Eo=bo.allowDataOverflow,xo=bo.allowDuplicatedCategory,So=bo.scale,To=bo.ticks,Ro=bo.includeHidden,Po=bo[oo];if(mo[Po])return mo;var zo=getDisplayedData(eo.data,{graphicalItems:no.filter(function(Xo){var Zo,Wo=oo in Xo.props?Xo.props[oo]:(Zo=Xo.type.defaultProps)===null||Zo===void 0?void 0:Zo[oo];return Wo===Po}),dataStartIndex:so,dataEndIndex:lo}),Ho=zo.length,Vo,Lo,Uo;isDomainSpecifiedByUser(bo.domain,Eo,wo)&&(Vo=parseSpecifiedDomain(bo.domain,null,Eo),ho&&(wo==="number"||So!=="auto")&&(Uo=getDomainOfDataByKey(zo,yo,"category")));var Do=getDefaultDomainByAxisType(wo);if(!Vo||Vo.length===0){var Oo,ko=(Oo=bo.domain)!==null&&Oo!==void 0?Oo:Do;if(yo){if(Vo=getDomainOfDataByKey(zo,yo,wo),wo==="category"&&ho){var Bo=hasDuplicate(Vo);xo&&Bo?(Lo=Vo,Vo=range$1(0,Ho)):xo||(Vo=parseDomainOfCategoryAxis(ko,Vo,vo).reduce(function(Xo,Zo){return Xo.indexOf(Zo)>=0?Xo:[].concat(_toConsumableArray$1(Xo),[Zo])},[]))}else if(wo==="category")xo?Vo=Vo.filter(function(Xo){return Xo!==""&&!isNil$1(Xo)}):Vo=parseDomainOfCategoryAxis(ko,Vo,vo).reduce(function(Xo,Zo){return Xo.indexOf(Zo)>=0||Zo===""||isNil$1(Zo)?Xo:[].concat(_toConsumableArray$1(Xo),[Zo])},[]);else if(wo==="number"){var Fo=parseErrorBarsOfAxis(zo,no.filter(function(Xo){var Zo,Wo,ta=oo in Xo.props?Xo.props[oo]:(Zo=Xo.type.defaultProps)===null||Zo===void 0?void 0:Zo[oo],ra="hide"in Xo.props?Xo.props.hide:(Wo=Xo.type.defaultProps)===null||Wo===void 0?void 0:Wo.hide;return ta===Po&&(Ro||!ra)}),yo,io,co);Fo&&(Vo=Fo)}ho&&(wo==="number"||So!=="auto")&&(Uo=getDomainOfDataByKey(zo,yo,"category"))}else ho?Vo=range$1(0,Ho):ao&&ao[Po]&&ao[Po].hasStack&&wo==="number"?Vo=fo==="expand"?[0,1]:getDomainOfStackGroups(ao[Po].stackGroups,so,lo):Vo=getDomainOfItemsWithSameAxis(zo,no.filter(function(Xo){var Zo=oo in Xo.props?Xo.props[oo]:Xo.type.defaultProps[oo],Wo="hide"in Xo.props?Xo.props.hide:Xo.type.defaultProps.hide;return Zo===Po&&(Ro||!Wo)}),wo,co,!0);if(wo==="number")Vo=detectReferenceElementsDomain(uo,Vo,Po,io,To),ko&&(Vo=parseSpecifiedDomain(ko,Vo,Eo));else if(wo==="category"&&ko){var Qo=ko,jo=Vo.every(function(Xo){return Qo.indexOf(Xo)>=0});jo&&(Vo=Qo)}}return _objectSpread$2(_objectSpread$2({},mo),{},_defineProperty$4({},Po,_objectSpread$2(_objectSpread$2({},bo),{},{axisType:io,domain:Vo,categoricalDomain:Uo,duplicateDomain:Lo,originalDomain:(Co=bo.domain)!==null&&Co!==void 0?Co:Do,isCategorical:ho,layout:co})))},{})},getAxisMapByItems=function Yi(eo,to){var ro=to.graphicalItems,no=to.Axis,io=to.axisType,oo=to.axisIdKey,ao=to.stackGroups,so=to.dataStartIndex,lo=to.dataEndIndex,co=eo.layout,uo=eo.children,fo=getDisplayedData(eo.data,{graphicalItems:ro,dataStartIndex:so,dataEndIndex:lo}),ho=fo.length,mo=isCategoricalAxis(co,io),vo=-1;return ro.reduce(function(Co,bo){var wo=bo.type.defaultProps!==void 0?_objectSpread$2(_objectSpread$2({},bo.type.defaultProps),bo.props):bo.props,yo=wo[oo],Eo=getDefaultDomainByAxisType("number");if(!Co[yo]){vo++;var xo;return mo?xo=range$1(0,ho):ao&&ao[yo]&&ao[yo].hasStack?(xo=getDomainOfStackGroups(ao[yo].stackGroups,so,lo),xo=detectReferenceElementsDomain(uo,xo,yo,io)):(xo=parseSpecifiedDomain(Eo,getDomainOfItemsWithSameAxis(fo,ro.filter(function(So){var To,Ro,Po=oo in So.props?So.props[oo]:(To=So.type.defaultProps)===null||To===void 0?void 0:To[oo],zo="hide"in So.props?So.props.hide:(Ro=So.type.defaultProps)===null||Ro===void 0?void 0:Ro.hide;return Po===yo&&!zo}),"number",co),no.defaultProps.allowDataOverflow),xo=detectReferenceElementsDomain(uo,xo,yo,io)),_objectSpread$2(_objectSpread$2({},Co),{},_defineProperty$4({},yo,_objectSpread$2(_objectSpread$2({axisType:io},no.defaultProps),{},{hide:!0,orientation:get$3(ORIENT_MAP,"".concat(io,".").concat(vo%2),null),domain:xo,originalDomain:Eo,isCategorical:mo,layout:co})))}return Co},{})},getAxisMap=function Yi(eo,to){var ro=to.axisType,no=ro===void 0?"xAxis":ro,io=to.AxisComp,oo=to.graphicalItems,ao=to.stackGroups,so=to.dataStartIndex,lo=to.dataEndIndex,co=eo.children,uo="".concat(no,"Id"),fo=findAllByType(co,io),ho={};return fo&&fo.length?ho=getAxisMapByAxes(eo,{axes:fo,graphicalItems:oo,axisType:no,axisIdKey:uo,stackGroups:ao,dataStartIndex:so,dataEndIndex:lo}):oo&&oo.length&&(ho=getAxisMapByItems(eo,{Axis:io,graphicalItems:oo,axisType:no,axisIdKey:uo,stackGroups:ao,dataStartIndex:so,dataEndIndex:lo})),ho},tooltipTicksGenerator=function Yi(eo){var to=getAnyElementOfObject(eo),ro=getTicksOfAxis(to,!1,!0);return{tooltipTicks:ro,orderedTooltipTicks:sortBy$1(ro,function(no){return no.coordinate}),tooltipAxis:to,tooltipAxisBandSize:getBandSizeOfAxis(to,ro)}},createDefaultState=function Yi(eo){var to=eo.children,ro=eo.defaultShowTooltip,no=findChildByType(to,Brush),io=0,oo=0;return eo.data&&eo.data.length!==0&&(oo=eo.data.length-1),no&&no.props&&(no.props.startIndex>=0&&(io=no.props.startIndex),no.props.endIndex>=0&&(oo=no.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:io,dataEndIndex:oo,activeTooltipIndex:-1,isTooltipActive:!!ro}},hasGraphicalBarItem=function Yi(eo){return!eo||!eo.length?!1:eo.some(function(to){var ro=getDisplayName(to&&to.type);return ro&&ro.indexOf("Bar")>=0})},getAxisNameByLayout=function Yi(eo){return eo==="horizontal"?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:eo==="vertical"?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:eo==="centric"?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},calculateOffset=function Yi(eo,to){var ro=eo.props,no=eo.graphicalItems,io=eo.xAxisMap,oo=io===void 0?{}:io,ao=eo.yAxisMap,so=ao===void 0?{}:ao,lo=ro.width,co=ro.height,uo=ro.children,fo=ro.margin||{},ho=findChildByType(uo,Brush),mo=findChildByType(uo,Legend),vo=Object.keys(so).reduce(function(xo,So){var To=so[So],Ro=To.orientation;return!To.mirror&&!To.hide?_objectSpread$2(_objectSpread$2({},xo),{},_defineProperty$4({},Ro,xo[Ro]+To.width)):xo},{left:fo.left||0,right:fo.right||0}),Co=Object.keys(oo).reduce(function(xo,So){var To=oo[So],Ro=To.orientation;return!To.mirror&&!To.hide?_objectSpread$2(_objectSpread$2({},xo),{},_defineProperty$4({},Ro,get$3(xo,"".concat(Ro))+To.height)):xo},{top:fo.top||0,bottom:fo.bottom||0}),bo=_objectSpread$2(_objectSpread$2({},Co),vo),wo=bo.bottom;ho&&(bo.bottom+=ho.props.height||Brush.defaultProps.height),mo&&to&&(bo=appendOffsetOfLegend(bo,no,ro,to));var yo=lo-bo.left-bo.right,Eo=co-bo.top-bo.bottom;return _objectSpread$2(_objectSpread$2({brushBottom:wo},bo),{},{width:Math.max(yo,0),height:Math.max(Eo,0)})},getCartesianAxisSize=function Yi(eo,to){if(to==="xAxis")return eo[to].width;if(to==="yAxis")return eo[to].height},generateCategoricalChart=function Yi(eo){var to=eo.chartName,ro=eo.GraphicalChild,no=eo.defaultTooltipEventType,io=no===void 0?"axis":no,oo=eo.validateTooltipEventTypes,ao=oo===void 0?["axis"]:oo,so=eo.axisComponents,lo=eo.legendContent,co=eo.formatAxisMap,uo=eo.defaultProps,fo=function(bo,wo){var yo=wo.graphicalItems,Eo=wo.stackGroups,xo=wo.offset,So=wo.updateId,To=wo.dataStartIndex,Ro=wo.dataEndIndex,Po=bo.barSize,zo=bo.layout,Ho=bo.barGap,Vo=bo.barCategoryGap,Lo=bo.maxBarSize,Uo=getAxisNameByLayout(zo),Do=Uo.numericAxisName,Oo=Uo.cateAxisName,ko=hasGraphicalBarItem(yo),Bo=[];return yo.forEach(function(Fo,Qo){var jo=getDisplayedData(bo.data,{graphicalItems:[Fo],dataStartIndex:To,dataEndIndex:Ro}),Xo=Fo.type.defaultProps!==void 0?_objectSpread$2(_objectSpread$2({},Fo.type.defaultProps),Fo.props):Fo.props,Zo=Xo.dataKey,Wo=Xo.maxBarSize,ta=Xo["".concat(Do,"Id")],ra=Xo["".concat(Oo,"Id")],da={},pa=so.reduce(function(Ia,Ta){var va=wo["".concat(Ta.axisType,"Map")],xa=Xo["".concat(Ta.axisType,"Id")];va&&va[xa]||Ta.axisType==="zAxis"||invariant();var Oa=va[xa];return _objectSpread$2(_objectSpread$2({},Ia),{},_defineProperty$4(_defineProperty$4({},Ta.axisType,Oa),"".concat(Ta.axisType,"Ticks"),getTicksOfAxis(Oa)))},da),sa=pa[Oo],ya=pa["".concat(Oo,"Ticks")],na=Eo&&Eo[ta]&&Eo[ta].hasStack&&getStackedDataOfItem(Fo,Eo[ta].stackGroups),ea=getDisplayName(Fo.type).indexOf("Bar")>=0,oa=getBandSizeOfAxis(sa,ya),la=[],_a=ko&&getBarSizeList({barSize:Po,stackGroups:Eo,totalSize:getCartesianAxisSize(pa,Oo)});if(ea){var Ea,Pa,aa=isNil$1(Wo)?Lo:Wo,Ca=(Ea=(Pa=getBandSizeOfAxis(sa,ya,!0))!==null&&Pa!==void 0?Pa:aa)!==null&&Ea!==void 0?Ea:0;la=getBarPosition({barGap:Ho,barCategoryGap:Vo,bandSize:Ca!==oa?Ca:oa,sizeList:_a[ra],maxBarSize:aa}),Ca!==oa&&(la=la.map(function(Ia){return _objectSpread$2(_objectSpread$2({},Ia),{},{position:_objectSpread$2(_objectSpread$2({},Ia.position),{},{offset:Ia.position.offset-Ca/2})})}))}var Sa=Fo&&Fo.type&&Fo.type.getComposedData;Sa&&Bo.push({props:_objectSpread$2(_objectSpread$2({},Sa(_objectSpread$2(_objectSpread$2({},pa),{},{displayedData:jo,props:bo,dataKey:Zo,item:Fo,bandSize:oa,barPosition:la,offset:xo,stackedData:na,layout:zo,dataStartIndex:To,dataEndIndex:Ro}))),{},_defineProperty$4(_defineProperty$4(_defineProperty$4({key:Fo.key||"item-".concat(Qo)},Do,pa[Do]),Oo,pa[Oo]),"animationId",So)),childIndex:parseChildIndex(Fo,bo.children),item:Fo})}),Bo},ho=function(bo,wo){var yo=bo.props,Eo=bo.dataStartIndex,xo=bo.dataEndIndex,So=bo.updateId;if(!validateWidthHeight({props:yo}))return null;var To=yo.children,Ro=yo.layout,Po=yo.stackOffset,zo=yo.data,Ho=yo.reverseStackOrder,Vo=getAxisNameByLayout(Ro),Lo=Vo.numericAxisName,Uo=Vo.cateAxisName,Do=findAllByType(To,ro),Oo=getStackGroupsByAxisId(zo,Do,"".concat(Lo,"Id"),"".concat(Uo,"Id"),Po,Ho),ko=so.reduce(function(Xo,Zo){var Wo="".concat(Zo.axisType,"Map");return _objectSpread$2(_objectSpread$2({},Xo),{},_defineProperty$4({},Wo,getAxisMap(yo,_objectSpread$2(_objectSpread$2({},Zo),{},{graphicalItems:Do,stackGroups:Zo.axisType===Lo&&Oo,dataStartIndex:Eo,dataEndIndex:xo}))))},{}),Bo=calculateOffset(_objectSpread$2(_objectSpread$2({},ko),{},{props:yo,graphicalItems:Do}),wo==null?void 0:wo.legendBBox);Object.keys(ko).forEach(function(Xo){ko[Xo]=co(yo,ko[Xo],Bo,Xo.replace("Map",""),to)});var Fo=ko["".concat(Uo,"Map")],Qo=tooltipTicksGenerator(Fo),jo=fo(yo,_objectSpread$2(_objectSpread$2({},ko),{},{dataStartIndex:Eo,dataEndIndex:xo,updateId:So,graphicalItems:Do,stackGroups:Oo,offset:Bo}));return _objectSpread$2(_objectSpread$2({formattedGraphicalItems:jo,graphicalItems:Do,offset:Bo,stackGroups:Oo},Qo),ko)},mo=(function(Co){function bo(wo){var yo,Eo,xo;return _classCallCheck$2(this,bo),xo=_callSuper(this,bo,[wo]),_defineProperty$4(xo,"eventEmitterSymbol",Symbol("rechartsEventEmitter")),_defineProperty$4(xo,"accessibilityManager",new AccessibilityManager),_defineProperty$4(xo,"handleLegendBBoxUpdate",function(So){if(So){var To=xo.state,Ro=To.dataStartIndex,Po=To.dataEndIndex,zo=To.updateId;xo.setState(_objectSpread$2({legendBBox:So},ho({props:xo.props,dataStartIndex:Ro,dataEndIndex:Po,updateId:zo},_objectSpread$2(_objectSpread$2({},xo.state),{},{legendBBox:So}))))}}),_defineProperty$4(xo,"handleReceiveSyncEvent",function(So,To,Ro){if(xo.props.syncId===So){if(Ro===xo.eventEmitterSymbol&&typeof xo.props.syncMethod!="function")return;xo.applySyncEvent(To)}}),_defineProperty$4(xo,"handleBrushChange",function(So){var To=So.startIndex,Ro=So.endIndex;if(To!==xo.state.dataStartIndex||Ro!==xo.state.dataEndIndex){var Po=xo.state.updateId;xo.setState(function(){return _objectSpread$2({dataStartIndex:To,dataEndIndex:Ro},ho({props:xo.props,dataStartIndex:To,dataEndIndex:Ro,updateId:Po},xo.state))}),xo.triggerSyncEvent({dataStartIndex:To,dataEndIndex:Ro})}}),_defineProperty$4(xo,"handleMouseEnter",function(So){var To=xo.getMouseInfo(So);if(To){var Ro=_objectSpread$2(_objectSpread$2({},To),{},{isTooltipActive:!0});xo.setState(Ro),xo.triggerSyncEvent(Ro);var Po=xo.props.onMouseEnter;isFunction$4(Po)&&Po(Ro,So)}}),_defineProperty$4(xo,"triggeredAfterMouseMove",function(So){var To=xo.getMouseInfo(So),Ro=To?_objectSpread$2(_objectSpread$2({},To),{},{isTooltipActive:!0}):{isTooltipActive:!1};xo.setState(Ro),xo.triggerSyncEvent(Ro);var Po=xo.props.onMouseMove;isFunction$4(Po)&&Po(Ro,So)}),_defineProperty$4(xo,"handleItemMouseEnter",function(So){xo.setState(function(){return{isTooltipActive:!0,activeItem:So,activePayload:So.tooltipPayload,activeCoordinate:So.tooltipPosition||{x:So.cx,y:So.cy}}})}),_defineProperty$4(xo,"handleItemMouseLeave",function(){xo.setState(function(){return{isTooltipActive:!1}})}),_defineProperty$4(xo,"handleMouseMove",function(So){So.persist(),xo.throttleTriggeredAfterMouseMove(So)}),_defineProperty$4(xo,"handleMouseLeave",function(So){xo.throttleTriggeredAfterMouseMove.cancel();var To={isTooltipActive:!1};xo.setState(To),xo.triggerSyncEvent(To);var Ro=xo.props.onMouseLeave;isFunction$4(Ro)&&Ro(To,So)}),_defineProperty$4(xo,"handleOuterEvent",function(So){var To=getReactEventByType(So),Ro=get$3(xo.props,"".concat(To));if(To&&isFunction$4(Ro)){var Po,zo;/.*touch.*/i.test(To)?zo=xo.getMouseInfo(So.changedTouches[0]):zo=xo.getMouseInfo(So),Ro((Po=zo)!==null&&Po!==void 0?Po:{},So)}}),_defineProperty$4(xo,"handleClick",function(So){var To=xo.getMouseInfo(So);if(To){var Ro=_objectSpread$2(_objectSpread$2({},To),{},{isTooltipActive:!0});xo.setState(Ro),xo.triggerSyncEvent(Ro);var Po=xo.props.onClick;isFunction$4(Po)&&Po(Ro,So)}}),_defineProperty$4(xo,"handleMouseDown",function(So){var To=xo.props.onMouseDown;if(isFunction$4(To)){var Ro=xo.getMouseInfo(So);To(Ro,So)}}),_defineProperty$4(xo,"handleMouseUp",function(So){var To=xo.props.onMouseUp;if(isFunction$4(To)){var Ro=xo.getMouseInfo(So);To(Ro,So)}}),_defineProperty$4(xo,"handleTouchMove",function(So){So.changedTouches!=null&&So.changedTouches.length>0&&xo.throttleTriggeredAfterMouseMove(So.changedTouches[0])}),_defineProperty$4(xo,"handleTouchStart",function(So){So.changedTouches!=null&&So.changedTouches.length>0&&xo.handleMouseDown(So.changedTouches[0])}),_defineProperty$4(xo,"handleTouchEnd",function(So){So.changedTouches!=null&&So.changedTouches.length>0&&xo.handleMouseUp(So.changedTouches[0])}),_defineProperty$4(xo,"handleDoubleClick",function(So){var To=xo.props.onDoubleClick;if(isFunction$4(To)){var Ro=xo.getMouseInfo(So);To(Ro,So)}}),_defineProperty$4(xo,"handleContextMenu",function(So){var To=xo.props.onContextMenu;if(isFunction$4(To)){var Ro=xo.getMouseInfo(So);To(Ro,So)}}),_defineProperty$4(xo,"triggerSyncEvent",function(So){xo.props.syncId!==void 0&&eventCenter.emit(SYNC_EVENT,xo.props.syncId,So,xo.eventEmitterSymbol)}),_defineProperty$4(xo,"applySyncEvent",function(So){var To=xo.props,Ro=To.layout,Po=To.syncMethod,zo=xo.state.updateId,Ho=So.dataStartIndex,Vo=So.dataEndIndex;if(So.dataStartIndex!==void 0||So.dataEndIndex!==void 0)xo.setState(_objectSpread$2({dataStartIndex:Ho,dataEndIndex:Vo},ho({props:xo.props,dataStartIndex:Ho,dataEndIndex:Vo,updateId:zo},xo.state)));else if(So.activeTooltipIndex!==void 0){var Lo=So.chartX,Uo=So.chartY,Do=So.activeTooltipIndex,Oo=xo.state,ko=Oo.offset,Bo=Oo.tooltipTicks;if(!ko)return;if(typeof Po=="function")Do=Po(Bo,So);else if(Po==="value"){Do=-1;for(var Fo=0;Fo<Bo.length;Fo++)if(Bo[Fo].value===So.activeLabel){Do=Fo;break}}var Qo=_objectSpread$2(_objectSpread$2({},ko),{},{x:ko.left,y:ko.top}),jo=Math.min(Lo,Qo.x+Qo.width),Xo=Math.min(Uo,Qo.y+Qo.height),Zo=Bo[Do]&&Bo[Do].value,Wo=getTooltipContent(xo.state,xo.props.data,Do),ta=Bo[Do]?{x:Ro==="horizontal"?Bo[Do].coordinate:jo,y:Ro==="horizontal"?Xo:Bo[Do].coordinate}:originCoordinate;xo.setState(_objectSpread$2(_objectSpread$2({},So),{},{activeLabel:Zo,activeCoordinate:ta,activePayload:Wo,activeTooltipIndex:Do}))}else xo.setState(So)}),_defineProperty$4(xo,"renderCursor",function(So){var To,Ro=xo.state,Po=Ro.isTooltipActive,zo=Ro.activeCoordinate,Ho=Ro.activePayload,Vo=Ro.offset,Lo=Ro.activeTooltipIndex,Uo=Ro.tooltipAxisBandSize,Do=xo.getTooltipEventType(),Oo=(To=So.props.active)!==null&&To!==void 0?To:Po,ko=xo.props.layout,Bo=So.key||"_recharts-cursor";return React$1F.createElement(Cursor,{key:Bo,activeCoordinate:zo,activePayload:Ho,activeTooltipIndex:Lo,chartName:to,element:So,isActive:Oo,layout:ko,offset:Vo,tooltipAxisBandSize:Uo,tooltipEventType:Do})}),_defineProperty$4(xo,"renderPolarAxis",function(So,To,Ro){var Po=get$3(So,"type.axisType"),zo=get$3(xo.state,"".concat(Po,"Map")),Ho=So.type.defaultProps,Vo=Ho!==void 0?_objectSpread$2(_objectSpread$2({},Ho),So.props):So.props,Lo=zo&&zo[Vo["".concat(Po,"Id")]];return reactExports.cloneElement(So,_objectSpread$2(_objectSpread$2({},Lo),{},{className:clsx(Po,Lo.className),key:So.key||"".concat(To,"-").concat(Ro),ticks:getTicksOfAxis(Lo,!0)}))}),_defineProperty$4(xo,"renderPolarGrid",function(So){var To=So.props,Ro=To.radialLines,Po=To.polarAngles,zo=To.polarRadius,Ho=xo.state,Vo=Ho.radiusAxisMap,Lo=Ho.angleAxisMap,Uo=getAnyElementOfObject(Vo),Do=getAnyElementOfObject(Lo),Oo=Do.cx,ko=Do.cy,Bo=Do.innerRadius,Fo=Do.outerRadius;return reactExports.cloneElement(So,{polarAngles:Array.isArray(Po)?Po:getTicksOfAxis(Do,!0).map(function(Qo){return Qo.coordinate}),polarRadius:Array.isArray(zo)?zo:getTicksOfAxis(Uo,!0).map(function(Qo){return Qo.coordinate}),cx:Oo,cy:ko,innerRadius:Bo,outerRadius:Fo,key:So.key||"polar-grid",radialLines:Ro})}),_defineProperty$4(xo,"renderLegend",function(){var So=xo.state.formattedGraphicalItems,To=xo.props,Ro=To.children,Po=To.width,zo=To.height,Ho=xo.props.margin||{},Vo=Po-(Ho.left||0)-(Ho.right||0),Lo=getLegendProps({children:Ro,formattedGraphicalItems:So,legendWidth:Vo,legendContent:lo});if(!Lo)return null;var Uo=Lo.item,Do=_objectWithoutProperties(Lo,_excluded$4);return reactExports.cloneElement(Uo,_objectSpread$2(_objectSpread$2({},Do),{},{chartWidth:Po,chartHeight:zo,margin:Ho,onBBoxUpdate:xo.handleLegendBBoxUpdate}))}),_defineProperty$4(xo,"renderTooltip",function(){var So,To=xo.props,Ro=To.children,Po=To.accessibilityLayer,zo=findChildByType(Ro,Tooltip);if(!zo)return null;var Ho=xo.state,Vo=Ho.isTooltipActive,Lo=Ho.activeCoordinate,Uo=Ho.activePayload,Do=Ho.activeLabel,Oo=Ho.offset,ko=(So=zo.props.active)!==null&&So!==void 0?So:Vo;return reactExports.cloneElement(zo,{viewBox:_objectSpread$2(_objectSpread$2({},Oo),{},{x:Oo.left,y:Oo.top}),active:ko,label:Do,payload:ko?Uo:[],coordinate:Lo,accessibilityLayer:Po})}),_defineProperty$4(xo,"renderBrush",function(So){var To=xo.props,Ro=To.margin,Po=To.data,zo=xo.state,Ho=zo.offset,Vo=zo.dataStartIndex,Lo=zo.dataEndIndex,Uo=zo.updateId;return reactExports.cloneElement(So,{key:So.key||"_recharts-brush",onChange:combineEventHandlers(xo.handleBrushChange,So.props.onChange),data:Po,x:isNumber(So.props.x)?So.props.x:Ho.left,y:isNumber(So.props.y)?So.props.y:Ho.top+Ho.height+Ho.brushBottom-(Ro.bottom||0),width:isNumber(So.props.width)?So.props.width:Ho.width,startIndex:Vo,endIndex:Lo,updateId:"brush-".concat(Uo)})}),_defineProperty$4(xo,"renderReferenceElement",function(So,To,Ro){if(!So)return null;var Po=xo,zo=Po.clipPathId,Ho=xo.state,Vo=Ho.xAxisMap,Lo=Ho.yAxisMap,Uo=Ho.offset,Do=So.type.defaultProps||{},Oo=So.props,ko=Oo.xAxisId,Bo=ko===void 0?Do.xAxisId:ko,Fo=Oo.yAxisId,Qo=Fo===void 0?Do.yAxisId:Fo;return reactExports.cloneElement(So,{key:So.key||"".concat(To,"-").concat(Ro),xAxis:Vo[Bo],yAxis:Lo[Qo],viewBox:{x:Uo.left,y:Uo.top,width:Uo.width,height:Uo.height},clipPathId:zo})}),_defineProperty$4(xo,"renderActivePoints",function(So){var To=So.item,Ro=So.activePoint,Po=So.basePoint,zo=So.childIndex,Ho=So.isRange,Vo=[],Lo=To.props.key,Uo=To.item.type.defaultProps!==void 0?_objectSpread$2(_objectSpread$2({},To.item.type.defaultProps),To.item.props):To.item.props,Do=Uo.activeDot,Oo=Uo.dataKey,ko=_objectSpread$2(_objectSpread$2({index:zo,dataKey:Oo,cx:Ro.x,cy:Ro.y,r:4,fill:getMainColorOfGraphicItem(To.item),strokeWidth:2,stroke:"#fff",payload:Ro.payload,value:Ro.value},filterProps(Do,!1)),adaptEventHandlers(Do));return Vo.push(bo.renderActiveDot(Do,ko,"".concat(Lo,"-activePoint-").concat(zo))),Po?Vo.push(bo.renderActiveDot(Do,_objectSpread$2(_objectSpread$2({},ko),{},{cx:Po.x,cy:Po.y}),"".concat(Lo,"-basePoint-").concat(zo))):Ho&&Vo.push(null),Vo}),_defineProperty$4(xo,"renderGraphicChild",function(So,To,Ro){var Po=xo.filterFormatItem(So,To,Ro);if(!Po)return null;var zo=xo.getTooltipEventType(),Ho=xo.state,Vo=Ho.isTooltipActive,Lo=Ho.tooltipAxis,Uo=Ho.activeTooltipIndex,Do=Ho.activeLabel,Oo=xo.props.children,ko=findChildByType(Oo,Tooltip),Bo=Po.props,Fo=Bo.points,Qo=Bo.isRange,jo=Bo.baseLine,Xo=Po.item.type.defaultProps!==void 0?_objectSpread$2(_objectSpread$2({},Po.item.type.defaultProps),Po.item.props):Po.item.props,Zo=Xo.activeDot,Wo=Xo.hide,ta=Xo.activeBar,ra=Xo.activeShape,da=!!(!Wo&&Vo&&ko&&(Zo||ta||ra)),pa={};zo!=="axis"&&ko&&ko.props.trigger==="click"?pa={onClick:combineEventHandlers(xo.handleItemMouseEnter,So.props.onClick)}:zo!=="axis"&&(pa={onMouseLeave:combineEventHandlers(xo.handleItemMouseLeave,So.props.onMouseLeave),onMouseEnter:combineEventHandlers(xo.handleItemMouseEnter,So.props.onMouseEnter)});var sa=reactExports.cloneElement(So,_objectSpread$2(_objectSpread$2({},Po.props),pa));function ya(Ta){return typeof Lo.dataKey=="function"?Lo.dataKey(Ta.payload):null}if(da)if(Uo>=0){var na,ea;if(Lo.dataKey&&!Lo.allowDuplicatedCategory){var oa=typeof Lo.dataKey=="function"?ya:"payload.".concat(Lo.dataKey.toString());na=findEntryInArray(Fo,oa,Do),ea=Qo&&jo&&findEntryInArray(jo,oa,Do)}else na=Fo==null?void 0:Fo[Uo],ea=Qo&&jo&&jo[Uo];if(ra||ta){var la=So.props.activeIndex!==void 0?So.props.activeIndex:Uo;return[reactExports.cloneElement(So,_objectSpread$2(_objectSpread$2(_objectSpread$2({},Po.props),pa),{},{activeIndex:la})),null,null]}if(!isNil$1(na))return[sa].concat(_toConsumableArray$1(xo.renderActivePoints({item:Po,activePoint:na,basePoint:ea,childIndex:Uo,isRange:Qo})))}else{var _a,Ea=(_a=xo.getItemByXY(xo.state.activeCoordinate))!==null&&_a!==void 0?_a:{graphicalItem:sa},Pa=Ea.graphicalItem,aa=Pa.item,Ca=aa===void 0?So:aa,Sa=Pa.childIndex,Ia=_objectSpread$2(_objectSpread$2(_objectSpread$2({},Po.props),pa),{},{activeIndex:Sa});return[reactExports.cloneElement(Ca,Ia),null,null]}return Qo?[sa,null,null]:[sa,null]}),_defineProperty$4(xo,"renderCustomized",function(So,To,Ro){return reactExports.cloneElement(So,_objectSpread$2(_objectSpread$2({key:"recharts-customized-".concat(Ro)},xo.props),xo.state))}),_defineProperty$4(xo,"renderMap",{CartesianGrid:{handler:renderAsIs,once:!0},ReferenceArea:{handler:xo.renderReferenceElement},ReferenceLine:{handler:renderAsIs},ReferenceDot:{handler:xo.renderReferenceElement},XAxis:{handler:renderAsIs},YAxis:{handler:renderAsIs},Brush:{handler:xo.renderBrush,once:!0},Bar:{handler:xo.renderGraphicChild},Line:{handler:xo.renderGraphicChild},Area:{handler:xo.renderGraphicChild},Radar:{handler:xo.renderGraphicChild},RadialBar:{handler:xo.renderGraphicChild},Scatter:{handler:xo.renderGraphicChild},Pie:{handler:xo.renderGraphicChild},Funnel:{handler:xo.renderGraphicChild},Tooltip:{handler:xo.renderCursor,once:!0},PolarGrid:{handler:xo.renderPolarGrid,once:!0},PolarAngleAxis:{handler:xo.renderPolarAxis},PolarRadiusAxis:{handler:xo.renderPolarAxis},Customized:{handler:xo.renderCustomized}}),xo.clipPathId="".concat((yo=wo.id)!==null&&yo!==void 0?yo:uniqueId("recharts"),"-clip"),xo.throttleTriggeredAfterMouseMove=throttle$1(xo.triggeredAfterMouseMove,(Eo=wo.throttleDelay)!==null&&Eo!==void 0?Eo:1e3/60),xo.state={},xo}return _inherits$2(bo,Co),_createClass$2(bo,[{key:"componentDidMount",value:function(){var yo,Eo;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(yo=this.props.margin.left)!==null&&yo!==void 0?yo:0,top:(Eo=this.props.margin.top)!==null&&Eo!==void 0?Eo:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var yo=this.props,Eo=yo.children,xo=yo.data,So=yo.height,To=yo.layout,Ro=findChildByType(Eo,Tooltip);if(Ro){var Po=Ro.props.defaultIndex;if(!(typeof Po!="number"||Po<0||Po>this.state.tooltipTicks.length-1)){var zo=this.state.tooltipTicks[Po]&&this.state.tooltipTicks[Po].value,Ho=getTooltipContent(this.state,xo,Po,zo),Vo=this.state.tooltipTicks[Po].coordinate,Lo=(this.state.offset.top+So)/2,Uo=To==="horizontal",Do=Uo?{x:Vo,y:Lo}:{y:Vo,x:Lo},Oo=this.state.formattedGraphicalItems.find(function(Bo){var Fo=Bo.item;return Fo.type.name==="Scatter"});Oo&&(Do=_objectSpread$2(_objectSpread$2({},Do),Oo.props.points[Po].tooltipPosition),Ho=Oo.props.points[Po].tooltipPayload);var ko={activeTooltipIndex:Po,isTooltipActive:!0,activeLabel:zo,activePayload:Ho,activeCoordinate:Do};this.setState(ko),this.renderCursor(Ro),this.accessibilityManager.setIndex(Po)}}}},{key:"getSnapshotBeforeUpdate",value:function(yo,Eo){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==Eo.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==yo.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==yo.margin){var xo,So;this.accessibilityManager.setDetails({offset:{left:(xo=this.props.margin.left)!==null&&xo!==void 0?xo:0,top:(So=this.props.margin.top)!==null&&So!==void 0?So:0}})}return null}},{key:"componentDidUpdate",value:function(yo){isChildrenEqual([findChildByType(yo.children,Tooltip)],[findChildByType(this.props.children,Tooltip)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var yo=findChildByType(this.props.children,Tooltip);if(yo&&typeof yo.props.shared=="boolean"){var Eo=yo.props.shared?"axis":"item";return ao.indexOf(Eo)>=0?Eo:io}return io}},{key:"getMouseInfo",value:function(yo){if(!this.container)return null;var Eo=this.container,xo=Eo.getBoundingClientRect(),So=getOffset(xo),To={chartX:Math.round(yo.pageX-So.left),chartY:Math.round(yo.pageY-So.top)},Ro=xo.width/Eo.offsetWidth||1,Po=this.inRange(To.chartX,To.chartY,Ro);if(!Po)return null;var zo=this.state,Ho=zo.xAxisMap,Vo=zo.yAxisMap,Lo=this.getTooltipEventType();if(Lo!=="axis"&&Ho&&Vo){var Uo=getAnyElementOfObject(Ho).scale,Do=getAnyElementOfObject(Vo).scale,Oo=Uo&&Uo.invert?Uo.invert(To.chartX):null,ko=Do&&Do.invert?Do.invert(To.chartY):null;return _objectSpread$2(_objectSpread$2({},To),{},{xValue:Oo,yValue:ko})}var Bo=getTooltipData(this.state,this.props.data,this.props.layout,Po);return Bo?_objectSpread$2(_objectSpread$2({},To),Bo):null}},{key:"inRange",value:function(yo,Eo){var xo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,So=this.props.layout,To=yo/xo,Ro=Eo/xo;if(So==="horizontal"||So==="vertical"){var Po=this.state.offset,zo=To>=Po.left&&To<=Po.left+Po.width&&Ro>=Po.top&&Ro<=Po.top+Po.height;return zo?{x:To,y:Ro}:null}var Ho=this.state,Vo=Ho.angleAxisMap,Lo=Ho.radiusAxisMap;if(Vo&&Lo){var Uo=getAnyElementOfObject(Vo);return inRangeOfSector({x:To,y:Ro},Uo)}return null}},{key:"parseEventsOfWrapper",value:function(){var yo=this.props.children,Eo=this.getTooltipEventType(),xo=findChildByType(yo,Tooltip),So={};xo&&Eo==="axis"&&(xo.props.trigger==="click"?So={onClick:this.handleClick}:So={onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu});var To=adaptEventHandlers(this.props,this.handleOuterEvent);return _objectSpread$2(_objectSpread$2({},To),So)}},{key:"addListener",value:function(){eventCenter.on(SYNC_EVENT,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){eventCenter.removeListener(SYNC_EVENT,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(yo,Eo,xo){for(var So=this.state.formattedGraphicalItems,To=0,Ro=So.length;To<Ro;To++){var Po=So[To];if(Po.item===yo||Po.props.key===yo.key||Eo===getDisplayName(Po.item.type)&&xo===Po.childIndex)return Po}return null}},{key:"renderClipPath",value:function(){var yo=this.clipPathId,Eo=this.state.offset,xo=Eo.left,So=Eo.top,To=Eo.height,Ro=Eo.width;return React$1F.createElement("defs",null,React$1F.createElement("clipPath",{id:yo},React$1F.createElement("rect",{x:xo,y:So,height:To,width:Ro})))}},{key:"getXScales",value:function(){var yo=this.state.xAxisMap;return yo?Object.entries(yo).reduce(function(Eo,xo){var So=_slicedToArray(xo,2),To=So[0],Ro=So[1];return _objectSpread$2(_objectSpread$2({},Eo),{},_defineProperty$4({},To,Ro.scale))},{}):null}},{key:"getYScales",value:function(){var yo=this.state.yAxisMap;return yo?Object.entries(yo).reduce(function(Eo,xo){var So=_slicedToArray(xo,2),To=So[0],Ro=So[1];return _objectSpread$2(_objectSpread$2({},Eo),{},_defineProperty$4({},To,Ro.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(yo){var Eo;return(Eo=this.state.xAxisMap)===null||Eo===void 0||(Eo=Eo[yo])===null||Eo===void 0?void 0:Eo.scale}},{key:"getYScaleByAxisId",value:function(yo){var Eo;return(Eo=this.state.yAxisMap)===null||Eo===void 0||(Eo=Eo[yo])===null||Eo===void 0?void 0:Eo.scale}},{key:"getItemByXY",value:function(yo){var Eo=this.state,xo=Eo.formattedGraphicalItems,So=Eo.activeItem;if(xo&&xo.length)for(var To=0,Ro=xo.length;To<Ro;To++){var Po=xo[To],zo=Po.props,Ho=Po.item,Vo=Ho.type.defaultProps!==void 0?_objectSpread$2(_objectSpread$2({},Ho.type.defaultProps),Ho.props):Ho.props,Lo=getDisplayName(Ho.type);if(Lo==="Bar"){var Uo=(zo.data||[]).find(function(Bo){return isInRectangle(yo,Bo)});if(Uo)return{graphicalItem:Po,payload:Uo}}else if(Lo==="RadialBar"){var Do=(zo.data||[]).find(function(Bo){return inRangeOfSector(yo,Bo)});if(Do)return{graphicalItem:Po,payload:Do}}else if(isFunnel(Po,So)||isPie(Po,So)||isScatter(Po,So)){var Oo=getActiveShapeIndexForTooltip({graphicalItem:Po,activeTooltipItem:So,itemData:Vo.data}),ko=Vo.activeIndex===void 0?Oo:Vo.activeIndex;return{graphicalItem:_objectSpread$2(_objectSpread$2({},Po),{},{childIndex:ko}),payload:isScatter(Po,So)?Vo.data[Oo]:Po.props.data[Oo]}}}return null}},{key:"render",value:function(){var yo=this;if(!validateWidthHeight(this))return null;var Eo=this.props,xo=Eo.children,So=Eo.className,To=Eo.width,Ro=Eo.height,Po=Eo.style,zo=Eo.compact,Ho=Eo.title,Vo=Eo.desc,Lo=_objectWithoutProperties(Eo,_excluded2$1),Uo=filterProps(Lo,!1);if(zo)return React$1F.createElement(ChartLayoutContextProvider,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},React$1F.createElement(Surface,_extends$1j({},Uo,{width:To,height:Ro,title:Ho,desc:Vo}),this.renderClipPath(),renderByOrder(xo,this.renderMap)));if(this.props.accessibilityLayer){var Do,Oo;Uo.tabIndex=(Do=this.props.tabIndex)!==null&&Do!==void 0?Do:0,Uo.role=(Oo=this.props.role)!==null&&Oo!==void 0?Oo:"application",Uo.onKeyDown=function(Bo){yo.accessibilityManager.keyboardEvent(Bo)},Uo.onFocus=function(){yo.accessibilityManager.focus()}}var ko=this.parseEventsOfWrapper();return React$1F.createElement(ChartLayoutContextProvider,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},React$1F.createElement("div",_extends$1j({className:clsx("recharts-wrapper",So),style:_objectSpread$2({position:"relative",cursor:"default",width:To,height:Ro},Po)},ko,{ref:function(Fo){yo.container=Fo}}),React$1F.createElement(Surface,_extends$1j({},Uo,{width:To,height:Ro,title:Ho,desc:Vo,style:FULL_WIDTH_AND_HEIGHT}),this.renderClipPath(),renderByOrder(xo,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])})(reactExports.Component);_defineProperty$4(mo,"displayName",to),_defineProperty$4(mo,"defaultProps",_objectSpread$2({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},uo)),_defineProperty$4(mo,"getDerivedStateFromProps",function(Co,bo){var wo=Co.dataKey,yo=Co.data,Eo=Co.children,xo=Co.width,So=Co.height,To=Co.layout,Ro=Co.stackOffset,Po=Co.margin,zo=bo.dataStartIndex,Ho=bo.dataEndIndex;if(bo.updateId===void 0){var Vo=createDefaultState(Co);return _objectSpread$2(_objectSpread$2(_objectSpread$2({},Vo),{},{updateId:0},ho(_objectSpread$2(_objectSpread$2({props:Co},Vo),{},{updateId:0}),bo)),{},{prevDataKey:wo,prevData:yo,prevWidth:xo,prevHeight:So,prevLayout:To,prevStackOffset:Ro,prevMargin:Po,prevChildren:Eo})}if(wo!==bo.prevDataKey||yo!==bo.prevData||xo!==bo.prevWidth||So!==bo.prevHeight||To!==bo.prevLayout||Ro!==bo.prevStackOffset||!shallowEqual(Po,bo.prevMargin)){var Lo=createDefaultState(Co),Uo={chartX:bo.chartX,chartY:bo.chartY,isTooltipActive:bo.isTooltipActive},Do=_objectSpread$2(_objectSpread$2({},getTooltipData(bo,yo,To)),{},{updateId:bo.updateId+1}),Oo=_objectSpread$2(_objectSpread$2(_objectSpread$2({},Lo),Uo),Do);return _objectSpread$2(_objectSpread$2(_objectSpread$2({},Oo),ho(_objectSpread$2({props:Co},Oo),bo)),{},{prevDataKey:wo,prevData:yo,prevWidth:xo,prevHeight:So,prevLayout:To,prevStackOffset:Ro,prevMargin:Po,prevChildren:Eo})}if(!isChildrenEqual(Eo,bo.prevChildren)){var ko,Bo,Fo,Qo,jo=findChildByType(Eo,Brush),Xo=jo&&(ko=(Bo=jo.props)===null||Bo===void 0?void 0:Bo.startIndex)!==null&&ko!==void 0?ko:zo,Zo=jo&&(Fo=(Qo=jo.props)===null||Qo===void 0?void 0:Qo.endIndex)!==null&&Fo!==void 0?Fo:Ho,Wo=Xo!==zo||Zo!==Ho,ta=!isNil$1(yo),ra=ta&&!Wo?bo.updateId:bo.updateId+1;return _objectSpread$2(_objectSpread$2({updateId:ra},ho(_objectSpread$2(_objectSpread$2({props:Co},bo),{},{updateId:ra,dataStartIndex:Xo,dataEndIndex:Zo}),bo)),{},{prevChildren:Eo,dataStartIndex:Xo,dataEndIndex:Zo})}return null}),_defineProperty$4(mo,"renderActiveDot",function(Co,bo,wo){var yo;return reactExports.isValidElement(Co)?yo=reactExports.cloneElement(Co,bo):isFunction$4(Co)?yo=Co(bo):yo=React$1F.createElement(Dot,bo),React$1F.createElement(Layer,{className:"recharts-active-dot",key:wo},yo)});var vo=reactExports.forwardRef(function(bo,wo){return React$1F.createElement(mo,_extends$1j({},bo,{ref:wo}))});return vo.displayName=mo.displayName,vo},BarChart=generateCategoricalChart({chartName:"BarChart",GraphicalChild:Bar,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:XAxis},{axisType:"yAxis",AxisComp:YAxis}],formatAxisMap});function classesToTokens(Yi=""){return Yi.trim().split(" ").filter(eo=>!!eo.trim())}function deleteProps(Yi){Object.keys(Yi).forEach(eo=>{try{Yi[eo]=null}catch{}try{delete Yi[eo]}catch{}})}function nextTick(Yi,eo=0){return setTimeout(Yi,eo)}function now$1(){return Date.now()}function getComputedStyle$1(Yi){return window.getComputedStyle(Yi,null)}function getTranslate(Yi,eo="x"){const to=getComputedStyle$1(Yi),ro=to.transform||to.webkitTransform;if(!ro||ro==="none")return 0;const no=new DOMMatrixReadOnly(ro);return eo==="x"?no.m41:no.m42}function isObject$2(Yi){return typeof Yi=="object"&&Yi!==null&&Yi.c
vendor: 4,940 bytes, line 486
486onstructor===Object&&Object.prototype.toString.call(Yi).slice(8,-1)==="Object"}function isNode(Yi){return typeof HTMLElement<"u"&&Yi instanceof HTMLElement?!0:!!Yi&&typeof Yi=="object"&&(Yi.nodeType===1||Yi.nodeType===11)}function extend$1(Yi,...eo){const to=Object(Yi);for(let ro=0;ro<eo.length;ro+=1){const no=eo[ro];if(no==null||isNode(no))continue;const io=no,oo=Object.keys(Object(io)).filter(ao=>ao!=="__proto__"&&ao!=="constructor"&&ao!=="prototype");for(const ao of oo){const so=Object.getOwnPropertyDescriptor(io,ao);if(!so||!so.enumerable)continue;const lo=io[ao];isObject$2(to[ao])&&isObject$2(lo)?lo.__swiper__?to[ao]=lo:extend$1(to[ao],lo):!isObject$2(to[ao])&&isObject$2(lo)?(to[ao]={},lo.__swiper__?to[ao]=lo:extend$1(to[ao],lo)):to[ao]=lo}}return to}function setCSSProperty(Yi,eo,to){Yi.style.setProperty(eo,to)}function elementChildren(Yi,eo=""){const to=[...Yi.children];return Yi instanceof HTMLSlotElement&&to.push(...Yi.assignedElements()),eo?to.filter(ro=>ro.matches(eo)):to}function elementIsChildOfSlot(Yi,eo){const to=[eo];for(;to.length>0;){const ro=to.shift();if(Yi===ro)return!0;to.push(...ro.children,...ro.shadowRoot?ro.shadowRoot.children:[],...ro.assignedElements?ro.assignedElements():[])}return!1}function elementIsChildOf(Yi,eo){let to=eo.contains(Yi);return!to&&eo instanceof HTMLSlotElement&&(to=[...eo.assignedElements()].includes(Yi),to||(to=elementIsChildOfSlot(Yi,eo))),to}function showWarning(Yi){try{console.warn(Yi)}catch{}}function createElement(Yi,eo=[]){const to=document.createElement(Yi);return to.classList.add(...Array.isArray(eo)?eo:classesToTokens(eo)),to}function elementPrevAll(Yi,eo){const to=[];let ro=Yi.previousElementSibling;for(;ro;)(!eo||ro.matches(eo))&&to.push(ro),ro=ro.previousElementSibling;return to}function elementNextAll(Yi,eo){const to=[];let ro=Yi.nextElementSibling;for(;ro;)(!eo||ro.matches(eo))&&to.push(ro),ro=ro.nextElementSibling;return to}function elementStyle(Yi,eo){return window.getComputedStyle(Yi,null).getPropertyValue(eo)}function elementIndex(Yi){if(!(!Yi||!Yi.parentNode))return[...Yi.parentNode.children].indexOf(Yi)}function elementParents(Yi,eo){const to=[];let ro=Yi.parentElement;for(;ro;)to.push(ro),ro=ro.parentElement;return to}function elementOuterSize(Yi,eo,to){{const ro=window.getComputedStyle(Yi,null);return Yi[eo==="width"?"offsetWidth":"offsetHeight"]+parseFloat(ro.getPropertyValue(eo==="width"?"margin-right":"margin-top"))+parseFloat(ro.getPropertyValue(eo==="width"?"margin-left":"margin-bottom"))}}function setInnerHTML(Yi,eo=""){const to=globalThis.trustedTypes;typeof to<"u"?Yi.innerHTML=to.createPolicy("html",{createHTML:ro=>ro}).createHTML(eo):Yi.innerHTML=eo}const paramsList=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_snapToSlideEdge","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function isObject$1(Yi){if(typeof Yi!="object"||Yi===null)return!1;const eo=Yi;return!!eo.constructor&&Object.prototype.toString.call(eo).slice(8,-1)==="Object"&&!eo.__swiper__}function extend(Yi,eo){const to=["__proto__","constructor","prototype"],ro=Yi,no=eo;return Object.keys(no).filter(io=>
486to.indexOf(io)<0).forEach(io=>{const oo=no[io],ao=ro[io];typeof ao>"u"?ro[io]=oo:isObject$1(oo)&&isObject$1(ao)&&Object.keys(oo).length>0?oo.__swiper__?ro[io]=oo:extend(ao,oo):ro[io]=oo}),Yi}function needsNavigation(Yi={}){const eo=Yi.navigation;return eo?eo===!0?!0:typeof eo.nextEl>"u"&&typeof eo.prevEl>"u":!1}function needsPagination(Yi={}){const eo=Yi.pagination;return eo?eo===!0?!0:typeof eo.el>"u":!1}function needsScrollbar(Yi={}){const eo=Yi.scrollbar;return eo?eo===!0?!0:typeof eo.el>"u":!1}function uniqueClasses(Yi=""){const eo=Yi.split(" ").map(ro=>ro.trim()).filter(ro=>!!ro),to=[];return eo.forEach(ro=>{to.indexOf(ro)<0&&to.push(ro)}),to.join(" ")}function wrapperClass(Yi=""){return Yi?Yi.includes("swiper-wrapper")?Yi:`swiper-wrapper ${Yi}`:"swiper-wrapper"}function updateSwiper(Yi){var Bo,Fo;let{nextEl:eo,prevEl:to,scrollbarEl:ro,paginationEl:no}=Yi;const{swiper:io,slides:oo,passedParams:ao,changedParams:so}=Yi,lo=so.filter(Qo=>Qo!=="children"&&Qo!=="direction"&&Qo!=="wrapperClass"),{params:co,pagination:uo,navigation:fo,scrollbar:ho,virtual:mo,thumbs:vo}=io,Co=ao,bo=co;let wo,yo,Eo,xo,So,To,Ro,Po;const zo=Co.thumbs,Ho=bo.thumbs;so.includes("thumbs")&&isObject$1(zo)&&zo.swiper&&!zo.swiper.destroyed&&isObject$1(Ho)&&(!Ho.swiper||Ho.swiper.destroyed)&&(wo=!0);const Vo=Co.controller,Lo=bo.controller;so.includes("controller")&&isObject$1(Vo)&&Vo.control&&isObject$1(Lo)&&!Lo.control&&(yo=!0);const Uo=Co.pagination;so.includes("pagination")&&isObject$1(Uo)&&(Uo.el||no)&&(bo.pagination||bo.pagination===!1)&&uo&&!uo.el&&(Eo=!0);const Do=Co.scrollbar;so.includes("scrollbar")&&isObject$1(Do)&&(Do.el||ro)&&(bo.scrollbar||bo.scrollbar===!1)&&ho&&!ho.el&&(xo=!0);const Oo=Co.navigation;so.includes("navigation")&&isObject$1(Oo)&&(Oo.prevEl||to)&&(Oo.nextEl||eo)&&(bo.navigation||bo.navigation===!1)&&fo&&!fo.prevEl&&!fo.nextEl&&(So=!0);const ko=Qo=>{var Wo,ta,ra;const jo=io[Qo];if(!jo)return;jo.destroy();const Xo=bo[Qo],Zo=isObject$1(Xo)?Xo:void 0;Qo==="navigation"?(io.isElement&&((Wo=jo.prevEl)==null||Wo.remove(),(ta=jo.nextEl)==null||ta.remove()),Zo&&(Zo.prevEl=void 0,Zo.nextEl=void 0),jo.prevEl=void 0,jo.nextEl=void 0):(io.isElement&&((ra=jo.el)==null||ra.remove()),Zo&&(Zo.el=void 0),jo.el=void 0)};if(so.includes("loop")&&io.isElement&&(co.loop&&!ao.loop?To=!0:!co.loop&&ao.loop?Ro=!0:Po=!0),lo.forEach(Qo=>{const jo=bo[Qo],Xo=Co[Qo];isObject$1(jo)&&isObject$1(Xo)?(Object.assign(jo,Xo),(Qo==="navigation"||Qo==="pagination"||Qo==="scrollbar")&&"enabled"in Xo&&!Xo.enabled&&ko(Qo)):(Xo===!0||Xo===!1)&&(Qo==="navigation"||Qo==="pagination"||Qo==="scrollbar")?Xo===!1&&ko(Qo):bo[Qo]=Xo}),lo.includes("controller")&&!yo&&io.controller&&io.controller.control&&isObject$1(Lo)&&Lo.control&&(io.controller.control=Lo.control),so.includes("children")&&oo&&mo&&((Bo=co.virtual)!=null&&Bo.enabled)?(mo.slides=oo,mo.update(!0)):so.includes("virtual")&&mo&&((Fo=co.virtual)!=null&&Fo.enabled)&&(oo&&(mo.slides=oo),mo.update(!0)),so.includes("children")&&oo&&co.loop&&(Po=!0),wo&&vo&&vo.init()&&vo.update(!0),yo&&io.controller&&isObject$1(Lo)&&(io.controller.control=Lo.control),Eo&&uo){if(io.isElement&&(!no||typeof no=="string")){const jo=document.createElement("div");jo.classList.add("swiper-pagination"),jo.part.add("pagination"),io.el.appendChild(jo),no=jo}const Qo=bo.pagination;no&&isObject$1(Qo)&&(Qo.el=no),uo.init(),uo.render(),uo.update()}if(xo&&ho){if(io.isElement&&(!ro||typeof ro=="string")){const jo=document.createElement("div");jo.classList.add("swiper-scrollbar"),jo.part.add("scrollbar"),io.el.appendChild(jo),ro=jo}const Qo=bo.scrollbar;ro&&isObject$1(Qo)&&(Qo.el=ro),ho.init(),ho.updateSize(),ho.setTranslate()}if(So&&fo){if(io.isElement){if(!eo||typeof eo=="string"){const jo=document.createElement("div");jo.classList.add("swiper-button-next"),setInnerHTML(jo,fo.arrowSvg),jo.part.add("button-next"),io.el.appendChild(jo),eo=jo}if(!to||typeof to=="string"){const jo=document.createElement("div");jo.classList.add("swiper-button-prev"),setInnerHTML(jo,fo.arrowSvg),jo.part.add("button-prev"),io.el.appendChild(jo),to=jo}}const Qo=bo.navigation;eo&&isObject$1(Qo)&&(Qo.nextEl=eo),to&&isObject$1(Qo)&&(Qo.prevEl=to),fo.init(),fo.update()}so.includes("allowSlideNext")&&(io.allowSlideNext=Co.allowSlideNext),so.includes("allowSlidePrev")&&(io.allowSlidePrev=Co.allowSlidePrev),so.includes("direction")&&io.changeDirection(Co.direction,!1),(To||Po)&&io.loopDestroy(),(Ro||Po)&&io.loopCreate(),io.update()}let supportCached;function calcSupport(){return typeof window>"u"?{touch:!1}:{touch:"ontouchstart"in window||navigator.maxTouchPoints>0}}
vendor: 69,926 bytes, line 486
486function getSupport(){return supportCached||(supportCached=calcSupport()),supportCached}let deviceCached;function calcDevice({userAgent:Yi}={}){if(typeof window>"u")return{ios:!1,android:!1};const eo=getSupport(),to=navigator.platform,ro=Yi||navigator.userAgent,no={ios:!1,android:!1},io=/(Android);?[\s/]+([\d.]+)?/.test(ro),oo=/(iPhone\sOS|iOS|iPod)/.test(ro),ao=/iPad/.test(ro),so=to==="MacIntel"&&eo.touch&&navigator.maxTouchPoints>1,lo=ao||so;return io&&!(to==="Win32")&&(no.os="android",no.android=!0),(lo||oo)&&(no.os="ios",no.ios=!0),no}function getDevice(Yi={}){return deviceCached||(deviceCached=calcDevice(Yi)),deviceCached}let browserCached;function calcBrowser(){if(typeof window>"u")return{isSafari:!1,isWebView:!1,need3dFix:!1};const Yi=getDevice(),eo=navigator.userAgent,to=eo.toLowerCase(),ro=to.includes("safari")&&!to.includes("chrome")&&!to.includes("android"),no=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(eo),io=ro||no&&Yi.ios;return{isSafari:ro,isWebView:no,need3dFix:io}}function getBrowser(){return browserCached||(browserCached=calcBrowser()),browserCached}const processLazyPreloader=(Yi,eo)=>{if(!Yi||Yi.destroyed||!Yi.params)return;const to=()=>Yi.isElement?"swiper-slide":`.${Yi.params.slideClass}`,ro=eo.closest(to());if(ro){let no=ro.querySelector(`.${Yi.params.lazyPreloaderClass}`);!no&&Yi.isElement&&(ro.shadowRoot?no=ro.shadowRoot.querySelector(`.${Yi.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{if(ro.shadowRoot){const io=ro.shadowRoot.querySelector(`.${Yi.params.lazyPreloaderClass}`);io&&!io.lazyPreloaderManaged&&io.remove()}})),no&&!no.lazyPreloaderManaged&&no.remove()}},unlazy=(Yi,eo)=>{if(!Yi.slides[eo])return;const to=Yi.slides[eo].querySelector('[loading="lazy"]');to&&to.removeAttribute("loading")},preload=Yi=>{if(!Yi||Yi.destroyed||!Yi.params)return;let eo=Yi.params.lazyPreloadPrevNext;const to=Yi.slides.length;if(!to||!eo||eo<0)return;eo=Math.min(eo,to);const ro=Yi.params.slidesPerView==="auto"?Yi.slidesPerViewDynamic():Math.ceil(Yi.params.slidesPerView),no=Yi.activeIndex;if(Yi.params.grid&&(Yi.params.grid.rows??1)>1){const oo=no,ao=[oo-eo];ao.push(...Array.from({length:eo}).map((so,lo)=>oo+ro+lo)),Yi.slides.forEach((so,lo)=>{so.column!==void 0&&ao.includes(so.column)&&unlazy(Yi,lo)});return}const io=no+ro-1;if(Yi.params.rewind||Yi.params.loop)for(let oo=no-eo;oo<=io+eo;oo+=1){const ao=(oo%to+to)%to;(ao<no||ao>io)&&unlazy(Yi,ao)}else for(let oo=Math.max(no-eo,0);oo<=Math.min(io+eo,to-1);oo+=1)oo!==no&&(oo>io||oo<no)&&unlazy(Yi,oo)};function getBreakpoint(Yi,eo="window",to){if(!Yi||eo==="container"&&!to)return;let ro=!1;const no=eo==="window"?window.innerHeight:to.clientHeight,io=Object.keys(Yi).map(oo=>{if(typeof oo=="string"&&oo.indexOf("@")===0){const ao=parseFloat(oo.substr(1));return{value:no*ao,point:oo}}return{value:oo,point:oo}});io.sort((oo,ao)=>parseInt(String(oo.value),10)-parseInt(String(ao.value),10));for(let oo=0;oo<io.length;oo+=1){const{point:ao,value:so}=io[oo];eo==="window"?window.matchMedia(`(min-width: ${so}px)`).matches&&(ro=ao):so<=to.clientWidth&&(ro=ao)}return ro||"max"}const isGridEnabled=(Yi,eo)=>!!(Yi.grid&&eo.grid&&eo.grid.rows>1);function setBreakpoint(){const Yi=this,{realIndex:eo,initialized:to,params:ro,el:no}=Yi,io=ro.breakpoints;if(!io||io&&Object.keys(io).length===0)return;const oo=ro.breakpointsBase==="window"||!ro.breakpointsBase?ro.breakpointsBase:"container",ao=["window","container"].includes(ro.breakpointsBase)||!ro.breakpointsBase?Yi.el:document.querySelector(ro.breakpointsBase),so=Yi.getBreakpoint(io,oo,ao);if(!so||Yi.currentBreakpoint===so)return;const lo=io,uo=(so in lo?lo[so]:void 0)||Yi.originalParams,fo=isGridEnabled(Yi,ro),ho=isGridEnabled(Yi,uo),mo=Yi.params.grabCursor,vo=uo.grabCursor,Co=ro.enabled;fo&&!ho?(no.classList.remove(`${ro.containerModifierClass}grid`,`${ro.containerModifierClass}grid-column`),Yi.emitContainerClasses()):!fo&&ho&&(no.classList.add(`${ro.containerModifierClass}grid`),(uo.grid.fill&&uo.grid.fill==="column"||!uo.grid.fill&&ro.grid.fill==="column")&&no.classList.add(`${ro.containerModifierClass}grid-column`),Yi.emitContainerClasses()),mo&&!vo?Yi.unsetGrabCursor():!mo&&vo&&Yi.setGrabCursor();const bo=(To,Ro)=>To[Ro];["navigation","pagination","scrollbar"].forEach(To=>{var Lo,Uo;const Ro=bo(uo,To);if(typeof Ro>"u")return;const Po=bo(ro,To),zo=typeof Po=="object"&&Po!==null&&Po.enabled,Ho=typeof Ro=="object"&&Ro!==null&&Ro.enabled,Vo=Yi[To];zo&&!Ho&&((Lo=Vo==null?void 0:Vo.disable)==null||Lo.call(Vo)),!zo&&Ho&&((Uo=Vo==null?void 0:Vo.enable)==null||Uo.call(Vo))});const wo=uo.direction&&uo.direction!==ro.direction,yo=ro.loop&&(uo.slidesPerView!==ro.slidesPerView||wo),Eo=ro.loop;wo&&to&&Yi.changeDirection(),extend$1(Yi.params,uo);const xo=Yi.params.enabled,So=Yi.params.loop;Object.assign(Yi,{allowTouchMove:Yi.params.allowTouchMove,allowSlideNext:Yi.params.allowSlideNext,allowSlidePrev:Yi.params.allowSlidePrev}),Co&&!xo?Yi.disable():!Co&&xo&&Yi.enable(),Yi.currentBreakpoint=so,Yi.emit("_beforeBreakpoint",uo),to&&(yo?(Yi.loopDestroy(),Yi.loopCreate(eo),Yi.updateSlides()):!Eo&&So?(Yi.loopCreate(eo),Yi.updateSlides()):Eo&&!So&&Yi.loopDestroy()),Yi.emit("breakpoint",uo)}var breakpoints={setBreakpoint,getBreakpoint};function checkOverflow(){const Yi=this,{isLocked:eo,params:to}=Yi,{slidesOffsetBefore:ro}=to;if(ro){const no=Yi.slides.length-1,io=Yi.slidesGrid[no]+Yi.slidesSizesGrid[no]+ro*2;Yi.isLocked=Yi.size>io}else Yi.isLocked=Yi.snapGrid.length===1;to.allowSlideNext===!0&&(Yi.allowSlideNext=!Yi.isLocked),to.allowSlidePrev===!0&&(Yi.allowSlidePrev=!Yi.isLocked),eo&&eo!==Yi.isLocked&&(Yi.isEnd=!1),eo!==Yi.isLocked&&Yi.emit(Yi.isLocked?"lock":"unlock")}var checkOverflow$1={checkOverflow};function prepareClasses(Yi,eo){const to=[];return Yi.forEach(ro=>{typeof ro=="object"?Object.keys(ro).forEach(no=>{ro[no]&&to.push(eo+no)}):typeof ro=="string"&&to.push(eo+ro)}),to}function addClasses(){const Yi=this,{classNames:eo,params:to,rtl:ro,el:no,device:io}=Yi,oo=prepareClasses(["initialized",to.direction,{"free-mode":Yi.params.freeMode&&to.freeMode.enabled},{autoheight:to.autoHeight},{rtl:ro},{grid:to.grid&&to.grid.rows>1},{"grid-column":to.grid&&to.grid.rows>1&&to.grid.fill==="column"},{android:io.android},{ios:io.ios},{"css-mode":to.cssMode},{centered:to.cssMode&&to.centeredSlides},{"watch-progress":to.watchSlidesProgress}],to.containerModifierClass);eo.push(...oo),no.classList.add(...eo),Yi.emitContainerClasses()}function removeClasses(){const Yi=this,{el:eo,classNames:to}=Yi;!eo||typeof eo=="string"||(eo.classList.remove(...to),Yi.emitContainerClasses())}var classes={addClasses,removeClasses};const defaults={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};var eventsEmitter={on(Yi,eo,to){const ro=this;if(!ro.eventsListeners||ro.destroyed||typeof eo!="function")return ro;const no=to?"unshift":"push";return Yi.split(" ").forEach(io=>{ro.eventsListeners[io]||(ro.eventsListeners[io]=[]),ro.eventsListeners[io][no](eo)}),ro},once(Yi,eo,to){const ro=this;if(!ro.eventsListeners||ro.destroyed||typeof eo!="function")return ro;const no=function(...oo){ro.off(Yi,no),no.__emitterProxy&&delete no.__emitterProxy,eo.apply(ro,oo)};return no.__emitterProxy=eo,ro.on(Yi,no,to)},onAny(Yi,eo){const to=this;if(!to.eventsListeners||to.destroyed||typeof Yi!="function")return to;const ro=eo?"unshift":"push";return to.eventsAnyListeners.indexOf(Yi)<0&&to.eventsAnyListeners[ro](Yi),to},offAny(Yi){const eo=this;if(!eo.eventsListeners||eo.destroyed||!eo.eventsAnyListeners)return eo;const to=eo.eventsAnyListeners.indexOf(Yi);return to>=0&&eo.eventsAnyListeners.splice(to,1),eo},off(Yi,eo){const to=this;return!to.eventsListeners||to.destroyed||!to.eventsListeners||Yi.split(" ").forEach(ro=>{typeof eo>"u"?to.eventsListeners[ro]=[]:to.eventsListeners[ro]&&to.eventsListeners[ro].forEach((no,io)=>{(no===eo||no.__emitterProxy&&no.__emitterProxy===eo)&&to.eventsListeners[ro].splice(io,1)})}),to},emit(...Yi){const eo=this;if(!eo.eventsListeners||eo.destroyed||!eo.eventsListeners)return eo;let to,ro,no;if(typeof Yi[0]=="string"||Array.isArray(Yi[0]))to=Yi[0],ro=Yi.slice(1,Yi.length),no=eo;else{const oo=Yi[0];to=oo.events,ro=oo.data??[],no=oo.context||eo}return ro.unshift(no),(Array.isArray(to)?to:to.split(" ")).forEach(oo=>{eo.eventsAnyListeners&&eo.eventsAnyListeners.length&&eo.eventsAnyListeners.forEach(ao=>{ao.apply(no,[oo,...ro])}),eo.eventsListeners&&eo.eventsListeners[oo]&&eo.eventsListeners[oo].forEach(ao=>{ao.apply(no,ro)})}),eo}};function onClick(Yi){const eo=this;eo.destroyed||eo.enabled&&(eo.allowClick||(eo.params.preventClicks&&Yi.preventDefault(),eo.params.preventClicksPropagation&&eo.animating&&(Yi.stopPropagation(),Yi.stopImmediatePropagation())))}function onDocumentTouchStart(){const Yi=this;Yi.destroyed||Yi.documentTouchHandlerProceeded||(Yi.documentTouchHandlerProceeded=!0,Yi.params.touchReleaseOnEdges&&(Yi.el.style.touchAction="auto"))}function onLoad(Yi){const eo=this;eo.destroyed||(processLazyPreloader(eo,Yi.target),!(eo.params.cssMode||eo.params.slidesPerView!=="auto"&&!eo.params.autoHeight)&&eo.update())}function onResize(){var so;const Yi=this,{params:eo,el:to}=Yi;if(to&&to.offsetWidth===0)return;eo.breakpoints&&Yi.setBreakpoint();const{allowSlideNext:ro,allowSlidePrev:no,snapGrid:io}=Yi,oo=Yi.virtual&&((so=Yi.params.virtual)==null?void 0:so.enabled);Yi.allowSlideNext=!0,Yi.allowSlidePrev=!0,Yi.updateSize(),Yi.updateSlides(),Yi.updateSlidesClasses();const ao=oo&&eo.loop;if((eo.slidesPerView==="auto"||eo.slidesPerView>1)&&Yi.isEnd&&!Yi.isBeginning&&!Yi.params.centeredSlides&&!ao){const lo=oo?Yi.virtual.slides.length:Yi.slides.length;Yi.slideTo(lo-1,0,!1,!0)}else Yi.params.loop&&!oo?Yi.slideToLoop(Yi.realIndex,0,!1,!0):Yi.slideTo(Yi.activeIndex,0,!1,!0);if(Yi.autoplay&&Yi.autoplay.running&&Yi.autoplay.paused){const lo=Yi.autoplay;clearTimeout(lo.resizeTimeout),lo.resizeTimeout=setTimeout(()=>{Yi.autoplay&&Yi.autoplay.running&&Yi.autoplay.paused&&Yi.autoplay.resume()},500)}Yi.allowSlidePrev=no,Yi.allowSlideNext=ro,Yi.params.watchOverflow&&io!==Yi.snapGrid&&Yi.checkOverflow()}function onScroll(){const Yi=this;if(Yi.destroyed)return;const{wrapperEl:eo,rtlTranslate:to,enabled:ro}=Yi;if(!ro)return;Yi.previousTranslate=Yi.translate,Yi.isHorizontal()?Yi.translate=-eo.scrollLeft:Yi.translate=-eo.scrollTop,Yi.translate===0&&(Yi.translate=0),Yi.updateActiveIndex(),Yi.updateSlidesClasses();let no;const io=Yi.maxTranslate()-Yi.minTranslate();io===0?no=0:no=(Yi.translate-Yi.minTranslate())/io,no!==Yi.progress&&Yi.updateProgress(to?-Yi.translate:Yi.translate),Yi.emit("setTranslate",Yi.translate,!1)}function onTouchEnd(Yi){var Eo;const eo=this;if(eo.destroyed)return;const to=eo.touchEventsData;let ro=Yi.originalEvent??Yi;if(ro.type==="touchend"||ro.type==="touchcancel"){const So=[...ro.changedTouches].find(To=>To.identifier===to.touchId);if(!So||So.identifier!==to.touchId)return}else if(to.touchId!==null||ro.pointerId!==to.pointerId)return;if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(ro.type)&&!(["pointercancel","contextmenu"].includes(ro.type)&&(eo.browser.isSafari||eo.browser.isWebView)))return;to.pointerId=null,to.touchId=null;const{params:io,touches:oo,rtlTranslate:ao,slidesGrid:so,enabled:lo}=eo;if(!lo||!io.simulateTouch&&ro.pointerType==="mouse")return;if(to.allowTouchCallbacks&&eo.emit("touchEnd",ro),to.allowTouchCallbacks=!1,!to.isTouched){to.isMoved&&io.grabCursor&&eo.setGrabCursor(!1),to.isMoved=!1,to.startMoving=!1;return}io.grabCursor&&to.isMoved&&to.isTouched&&(eo.allowSlideNext===!0||eo.allowSlidePrev===!0)&&eo.setGrabCursor(!1);const co=now$1(),uo=co-to.touchStartTime;if(eo.allowClick){const xo=ro.path??(ro.composedPath&&ro.composedPath());eo.updateClickedSlide(xo&&xo[0],xo),eo.emit("tap click",ro),uo<300&&co-to.lastClickTime<300&&eo.emit("doubleTap doubleClick",ro)}if(to.lastClickTime=now$1(),nextTick(()=>{eo.destroyed||(eo.allowClick=!0)}),!to.isTouched||!to.isMoved||!eo.swipeDirection||oo.diff===0&&!to.loopSwapReset||to.currentTranslate===to.startTranslate&&!to.loopSwapReset){to.isTouched=!1,to.isMoved=!1,to.startMoving=!1;return}to.isTouched=!1,to.isMoved=!1,to.startMoving=!1;let fo;if(io.followFinger?fo=ao?eo.translate:-eo.translate:fo=-(to.currentTranslate??0),io.cssMode)return;if(io.freeMode&&io.freeMode.enabled){eo.freeMode.onTouchEnd({currentPos:fo});return}const ho=fo>=-eo.maxTranslate()&&!eo.params.loop;let mo=0,vo=eo.slidesSizesGrid[0];for(let xo=0;xo<so.length;xo+=xo<io.slidesPerGroupSkip?1:io.slidesPerGroup){const So=xo<io.slidesPerGroupSkip-1?1:io.slidesPerGroup;typeof so[xo+So]<"u"?(ho||fo>=so[xo]&&fo<so[xo+So])&&(mo=xo,vo=so[xo+So]-so[xo]):(ho||fo>=so[xo])&&(mo=xo,vo=so[so.length-1]-so[so.length-2])}let Co=null,bo=null;io.rewind&&(eo.isBeginning?bo=(Eo=io.virtual)!=null&&Eo.enabled&&eo.virtual?eo.virtual.slides.length-1:eo.slides.length-1:eo.isEnd&&(Co=0));const wo=(fo-so[mo])/vo,yo=mo<io.slidesPerGroupSkip-1?1:io.slidesPerGroup;if(uo>io.longSwipesMs){if(!io.longSwipes){eo.slideTo(eo.activeIndex);return}eo.swipeDirection==="next"&&(wo>=io.longSwipesRatio?eo.slideTo(io.rewind&&eo.isEnd?Co:mo+yo):eo.slideTo(mo)),eo.swipeDirection==="prev"&&(wo>1-io.longSwipesRatio?eo.slideTo(mo+yo):bo!==null&&wo<0&&Math.abs(wo)>io.longSwipesRatio?eo.slideTo(bo):eo.slideTo(mo))}else{if(!io.shortSwipes){eo.slideTo(eo.activeIndex);return}eo.navigation&&(ro.target===eo.navigation.nextEl||ro.target===eo.navigation.prevEl)?ro.target===eo.navigation.nextEl?eo.slideTo(mo+yo):eo.slideTo(mo):(eo.swipeDirection==="next"&&eo.slideTo(Co!==null?Co:mo+yo),eo.swipeDirection==="prev"&&eo.slideTo(bo!==null?bo:mo))}}function onTouchMove(Yi){const eo=this;if(eo.destroyed)return;const to=eo.touchEventsData,{params:ro,touches:no,rtlTranslate:io,enabled:oo}=eo;if(!oo||!ro.simulateTouch&&Yi.pointerType==="mouse")return;const ao=Yi,so=ao.originalEvent??ao;if(so.type==="pointermove"&&(to.touchId!==null||so.pointerId!==to.pointerId))return;let lo;if(so.type==="touchmove"){const To=[...so.changedTouches].find(Ro=>Ro.identifier===to.touchId);if(!To||To.identifier!==to.touchId)return;lo=To}else lo=so;if(!to.isTouched){to.startMoving&&to.isScrolling&&eo.emit("touchMoveOpposite",so);return}const co=lo.pageX,uo=lo.pageY;if(so.preventedByNestedSwiper){no.startX=co,no.startY=uo;return}if(!eo.allowTouchMove){so.target.matches(to.focusableElements)||(eo.allowClick=!1),to.isTouched&&(Object.assign(no,{startX:co,startY:uo,currentX:co,currentY:uo}),to.touchStartTime=now$1());return}if(ro.touchReleaseOnEdges&&!ro.loop)if(eo.isVertical()){if(uo<no.startY&&eo.translate<=eo.maxTranslate()||uo>no.startY&&eo.translate>=eo.minTranslate()){to.isTouched=!1,to.isMoved=!1;return}}else{if(io&&(co>no.startX&&-eo.translate<=eo.maxTranslate()||co<no.startX&&-eo.translate>=eo.minTranslate()))return;if(!io&&(co<no.startX&&eo.translate<=eo.maxTranslate()||co>no.startX&&eo.translate>=eo.minTranslate()))return}if(document.activeElement&&document.activeElement.matches(to.focusableElements)&&document.activeElement!==so.target&&so.pointerType!=="mouse"&&document.activeElement.blur(),document.activeElement&&so.target===document.activeElement&&so.target.matches(to.focusableElements)){to.isMoved=!0,eo.allowClick=!1;return}to.allowTouchCallbacks&&eo.emit("touchMove",so),no.previousX=no.currentX,no.previousY=no.currentY,no.currentX=co,no.currentY=uo;const fo=no.currentX-no.startX,ho=no.currentY-no.startY;if(eo.params.threshold&&Math.sqrt(fo**2+ho**2)<eo.params.threshold)return;if(typeof to.isScrolling>"u"){let So;eo.isHorizontal()&&no.currentY===no.startY||eo.isVertical()&&no.currentX===no.startX?to.isScrolling=!1:fo*fo+ho*ho>=25&&(So=Math.atan2(Math.abs(ho),Math.abs(fo))*180/Math.PI,to.isScrolling=eo.isHorizontal()?So>ro.touchAngle:90-So>ro.touchAngle)}if(to.isScrolling&&eo.emit("touchMoveOpposite",so),typeof to.startMoving>"u"&&(no.currentX!==no.startX||no.currentY!==no.startY)&&(to.startMoving=!0),to.isScrolling||so.type==="touchmove"&&to.preventTouchMoveFromPointerMove){to.isTouched=!1;return}if(!to.startMoving)return;eo.allowClick=!1,!ro.cssMode&&so.cancelable&&so.preventDefault(),ro.touchMoveStopPropagation&&!ro.nested&&so.stopPropagation();let mo=eo.isHorizontal()?fo:ho,vo=eo.isHorizontal()?no.currentX-no.previousX:no.currentY-no.previousY;ro.oneWayMovement&&(mo=Math.abs(mo)*(io?1:-1),vo=Math.abs(vo)*(io?1:-1)),no.diff=mo,mo*=ro.touchRatio,io&&(mo=-mo,vo=-vo);const Co=eo.touchesDirection;eo.swipeDirection=mo>0?"prev":"next",eo.touchesDirection=vo>0?"prev":"next";const bo=eo.params.loop&&!ro.cssMode,wo=eo.touchesDirection==="next"&&eo.allowSlideNext||eo.touchesDirection==="prev"&&eo.allowSlidePrev;if(!to.isMoved){if(bo&&wo&&eo.loopFix({direction:eo.swipeDirection}),to.startTranslate=eo.getTranslate(),eo.setTransition(0),eo.animating){const So=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});eo.wrapperEl.dispatchEvent(So)}to.allowMomentumBounce=!1,ro.grabCursor&&(eo.allowSlideNext===!0||eo.allowSlidePrev===!0)&&eo.setGrabCursor(!0),eo.emit("sliderFirstMove",so)}if(new Date().getTime(),ro._loopSwapReset!==!1&&to.isMoved&&to.allowThresholdMove&&Co!==eo.touchesDirection&&bo&&wo&&Math.abs(mo)>=1){Object.assign(no,{startX:co,startY:uo,currentX:co,currentY:uo,startTranslate:to.currentTranslate}),to.loopSwapReset=!0,to.startTranslate=to.currentTranslate;return}eo.emit("sliderMove",so),to.isMoved=!0;const yo=to.startTranslate??0;to.currentTranslate=mo+yo;let Eo=!0,xo=ro.resistanceRatio;if(ro.touchReleaseOnEdges&&(xo=0),mo>0?(bo&&wo&&to.allowThresholdMove&&to.currentTranslate>(ro.centeredSlides?eo.minTranslate()-eo.slidesSizesGrid[eo.activeIndex+1]-(ro.slidesPerView!=="auto"&&eo.slides.length-ro.slidesPerView>=2?eo.slidesSizesGrid[eo.activeIndex+1]+eo.params.spaceBetween:0)-eo.params.spaceBetween:eo.minTranslate())&&eo.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),to.currentTranslate>eo.minTranslate()&&(Eo=!1,ro.resistance&&(to.currentTranslate=eo.minTranslate()-1+(-eo.minTranslate()+yo+mo)**xo))):mo<0&&(bo&&wo&&to.allowThresholdMove&&to.currentTranslate<(ro.centeredSlides?eo.maxTranslate()+eo.slidesSizesGrid[eo.slidesSizesGrid.length-1]+eo.params.spaceBetween+(ro.slidesPerView!=="auto"&&eo.slides.length-ro.slidesPerView>=2?eo.slidesSizesGrid[eo.slidesSizesGrid.length-1]+eo.params.spaceBetween:0):eo.maxTranslate())&&eo.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:eo.slides.length-(ro.slidesPerView==="auto"?eo.slidesPerViewDynamic():Math.ceil(parseFloat(String(ro.slidesPerView))))}),to.currentTranslate<eo.maxTranslate()&&(Eo=!1,ro.resistance&&(to.currentTranslate=eo.maxTranslate()+1-(eo.maxTranslate()-yo-mo)**xo))),Eo&&(so.preventedByNestedSwiper=!0),!eo.allowSlideNext&&eo.swipeDirection==="next"&&(to.currentTranslate??0)<yo&&(to.currentTranslate=yo),!eo.allowSlidePrev&&eo.swipeDirection==="prev"&&(to.currentTranslate??0)>yo&&(to.currentTranslate=yo),!eo.allowSlidePrev&&!eo.allowSlideNext&&(to.currentTranslate=yo),ro.threshold>0)if(Math.abs(mo)>ro.threshold||to.allowThresholdMove){if(!to.allowThresholdMove){to.allowThresholdMove=!0,no.startX=no.currentX,no.startY=no.currentY,to.currentTranslate=to.startTranslate,no.diff=eo.isHorizontal()?no.currentX-no.startX:no.currentY-no.startY;return}}else{to.currentTranslate=to.startTranslate;return}!ro.followFinger||ro.cssMode||((ro.freeMode&&ro.freeMode.enabled&&eo.freeMode||ro.watchSlidesProgress)&&(eo.updateActiveIndex(),eo.updateSlidesClasses()),ro.freeMode&&ro.freeMode.enabled&&eo.freeMode&&eo.freeMode.onTouchMove(),eo.updateProgress(to.currentTranslate),eo.setTranslate(to.currentTranslate??0))}function closestElement(Yi,eo){function to(ro){if(!ro||ro===document||ro===window)return null;let no=ro;no.assignedSlot&&(no=no.assignedSlot);const io=no.closest(Yi);if(!io&&!no.getRootNode)return null;const oo=no.getRootNode();return io||to(oo.host)}return to(eo)}function preventEdgeSwipe(Yi,eo,to){const{params:ro}=Yi,no=ro.edgeSwipeDetection,io=ro.edgeSwipeThreshold;return no&&(to<=io||to>=window.innerWidth-io)?no==="prevent"?(eo.preventDefault(),!0):!1:!0}function onTouchStart(Yi){const eo=this;if(eo.destroyed)return;const to=Yi.originalEvent??Yi,ro=eo.touchEventsData;if(to.type==="pointerdown"){const wo=to;if(ro.pointerId!==null&&ro.pointerId!==wo.pointerId)return;ro.pointerId=wo.pointerId}else to.type==="touchstart"&&to.targetTouches.length===1&&(ro.touchId=to.targetTouches[0].identifier);if(to.type==="touchstart"){preventEdgeSwipe(eo,to,to.targetTouches[0].pageX);return}const{params:no,touches:io,enabled:oo}=eo;if(!oo||!no.simulateTouch&&to.pointerType==="mouse"||eo.animating&&no.preventInteractionOnTransition)return;!eo.animating&&no.cssMode&&no.loop&&eo.loopFix();let ao=to.target;if(no.touchEventsTarget==="wrapper"&&!elementIsChildOf(ao,eo.wrapperEl))return;const so=to;if(typeof so.which=="number"&&so.which===3||typeof so.button=="number"&&so.button>0||ro.isTouched&&ro.isMoved)return;const lo=!!no.noSwipingClass&&no.noSwipingClass!=="",co=to.composedPath?to.composedPath():to.path;lo&&to.target&&to.target.shadowRoot&&co&&(ao=co[0]);const uo=no.noSwipingSelector?no.noSwipingSelector:`.${no.noSwipingClass}`,fo=!!(to.target&&to.target.shadowRoot);if(no.noSwiping&&(fo?closestElement(uo,ao):ao.closest(uo))){eo.allowClick=!0;return}if(no.swipeHandler&&typeof no.swipeHandler=="string"&&!ao.closest(no.swipeHandler))return;const ho=to;io.currentX=ho.pageX,io.currentY=ho.pageY;const mo=io.currentX,vo=io.currentY;if(!preventEdgeSwipe(eo,to,mo))return;Object.assign(ro,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),io.startX=mo,io.startY=vo,ro.touchStartTime=now$1(),eo.allowClick=!0,eo.updateSize(),eo.swipeDirection=void 0,no.threshold>0&&(ro.allowThresholdMove=!1);let Co=!0;ao.matches(ro.focusableElements)&&(Co=!1,ao.nodeName==="SELECT"&&(ro.isTouched=!1)),document.activeElement&&document.activeElement.matches(ro.focusableElements)&&document.activeElement!==ao&&(ho.pointerType==="mouse"||ho.pointerType!=="mouse"&&!ao.matches(ro.focusableElements))&&document.activeElement.blur();const bo=Co&&eo.allowTouchMove&&no.touchStartPreventDefault;(no.touchStartForcePreventDefault||bo)&&!ao.isContentEditable&&to.preventDefault(),no.freeMode&&no.freeMode.enabled&&eo.freeMode&&eo.animating&&!no.cssMode&&eo.freeMode.onTouchStart(),eo.emit("touchStart",to)}const events=(Yi,eo)=>{const{params:to,el:ro,wrapperEl:no,device:io}=Yi,oo=!!to.nested,ao=eo==="on"?"addEventListener":"removeEventListener",so=eo;if(!ro||typeof ro=="string")return;document[ao]("touchstart",Yi.onDocumentTouchStart,{passive:!1,capture:oo}),ro[ao]("touchstart",Yi.onTouchStart,{passive:!1}),ro[ao]("pointerdown",Yi.onTouchStart,{passive:!1}),document[ao]("touchmove",Yi.onTouchMove,{passive:!1,capture:oo}),document[ao]("pointermove",Yi.onTouchMove,{passive:!1,capture:oo}),document[ao]("touchend",Yi.onTouchEnd,{passive:!0}),document[ao]("pointerup",Yi.onTouchEnd,{passive:!0}),document[ao]("pointercancel",Yi.onTouchEnd,{passive:!0}),document[ao]("touchcancel",Yi.onTouchEnd,{passive:!0}),document[ao]("pointerout",Yi.onTouchEnd,{passive:!0}),document[ao]("pointerleave",Yi.onTouchEnd,{passive:!0}),document[ao]("contextmenu",Yi.onTouchEnd,{passive:!0}),(to.preventClicks||to.preventClicksPropagation)&&ro[ao]("click",Yi.onClick,!0),to.cssMode&&no[ao]("scroll",Yi.onScroll);const lo=co=>{Yi[so](co,onResize,!0)};to.updateOnWindowResize?lo(io.ios||io.android?"resize orientationchange observerUpdate":"resize observerUpdate"):lo("observerUpdate"),ro[ao]("load",Yi.onLoad,{capture:!0})};function attachEvents(){const Yi=this,{params:eo}=Yi;Yi.onTouchStart=onTouchStart.bind(Yi),Yi.onTouchMove=onTouchMove.bind(Yi),Yi.onTouchEnd=onTouchEnd.bind(Yi),Yi.onDocumentTouchStart=onDocumentTouchStart.bind(Yi),eo.cssMode&&(Yi.onScroll=onScroll.bind(Yi)),Yi.onClick=onClick.bind(Yi),Yi.onLoad=onLoad.bind(Yi),events(Yi,"on")}function detachEvents(){events(this,"off")}var events$1={attachEvents,detachEvents};function setGrabCursor(Yi){const eo=this;if(!eo.params.simulateTouch||eo.params.watchOverflow&&eo.isLocked||eo.params.cssMode)return;const to=eo.params.touchEventsTarget==="container"?eo.el:eo.wrapperEl;eo.isElement&&(eo.__preventObserver__=!0),to.style.cursor="move",to.style.cursor=Yi?"grabbing":"grab",eo.isElement&&requestAnimationFrame(()=>{eo.__preventObserver__=!1})}function unsetGrabCursor(){const Yi=this;Yi.params.watchOverflow&&Yi.isLocked||Yi.params.cssMode||(Yi.isElement&&(Yi.__preventObserver__=!0),Yi[Yi.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",Yi.isElement&&requestAnimationFrame(()=>{Yi.__preventObserver__=!1}))}var grabCursor={setGrabCursor,unsetGrabCursor};function loopCreate(Yi,eo){var ho;const to=this,{params:ro,slidesEl:no}=to;if(!ro.loop||to.virtual&&((ho=to.params.virtual)!=null&&ho.enabled))return;const io=()=>{elementChildren(no,`.${ro.slideClass}, swiper-slide`).forEach((vo,Co)=>{vo.setAttribute("data-swiper-slide-index",String(Co))})},oo=()=>{const mo=elementChildren(no,`.${ro.slideBlankClass}`);mo.forEach(vo=>{vo.remove()}),mo.length>0&&(to.recalcSlides(),to.updateSlides())},ao=to.grid&&ro.grid&&ro.grid.rows>1;ro.loopAddBlankSlides&&(ro.slidesPerGroup>1||ao)&&oo();const so=ro.slidesPerGroup*(ao?ro.grid.rows:1),lo=to.slides.length%so!==0,co=ao&&to.slides.length%ro.grid.rows!==0,uo=mo=>{for(let vo=0;vo<mo;vo+=1){const Co=to.isElement?createElement("swiper-slide",[ro.slideBlankClass]):createElement("div",[ro.slideClass,ro.slideBlankClass]);to.slidesEl.append(Co)}};if(lo){if(ro.loopAddBlankSlides){const mo=so-to.slides.length%so;uo(mo),to.recalcSlides(),to.updateSlides()}else showWarning("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");io()}else if(co){if(ro.loopAddBlankSlides){const mo=ro.grid.rows-to.slides.length%ro.grid.rows;uo(mo),to.recalcSlides(),to.updateSlides()}else showWarning("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");io()}else io();const fo=ro.centeredSlides||!!ro.slidesOffsetBefore||!!ro.slidesOffsetAfter;to.loopFix({slideRealIndex:Yi,direction:fo?void 0:"next",initial:eo})}function loopDestroy(){var no;const Yi=this,{params:eo,slidesEl:to}=Yi;if(!eo.loop||!to||Yi.virtual&&((no=Yi.params.virtual)!=null&&no.enabled))return;Yi.recalcSlides();const ro=[];Yi.slides.forEach(io=>{const oo=io,ao=typeof oo.swiperSlideIndex>"u"?Number(io.getAttribute("data-swiper-slide-index")):oo.swiperSlideIndex;ro[ao]=io}),Yi.slides.forEach(io=>{io.removeAttribute("data-swiper-slide-index")}),ro.forEach(io=>{to.append(io)}),Yi.recalcSlides(),Yi.slideTo(Yi.realIndex,0)}function loopFix(Yi={}){var jo,Xo;const{slideRealIndex:eo,slideTo:to=!0,direction:ro,setTranslate:no,activeSlideIndex:io,initial:oo,byController:ao,byMousewheel:so}=Yi;let lo=io;const co=this;if(!co.params.loop)return;co.emit("beforeLoopFix");const{slides:uo,allowSlidePrev:fo,allowSlideNext:ho,slidesEl:mo,params:vo}=co,{centeredSlides:Co,slidesOffsetBefore:bo,slidesOffsetAfter:wo,initialSlide:yo}=vo,Eo=Co||!!bo||!!wo;if(co.allowSlidePrev=!0,co.allowSlideNext=!0,co.virtual&&((jo=vo.virtual)!=null&&jo.enabled)){if(to){const Zo=co.virtual.slides.length,Wo=co.virtual.slidesBefore??0;!Eo&&co.snapIndex===0?co.slideTo(Zo,0,!1,!0):Eo&&co.snapIndex<vo.slidesPerView?co.slideTo(Zo+co.snapIndex,0,!1,!0):co.snapIndex===co.snapGrid.length-1&&co.slideTo(Wo,0,!1,!0)}co.allowSlidePrev=fo,co.allowSlideNext=ho,co.emit("loopFix");return}let xo=vo.slidesPerView;xo==="auto"?xo=co.slidesPerViewDynamic():(xo=Math.ceil(parseFloat(String(vo.slidesPerView))),Eo&&xo%2===0&&(xo=xo+1));const So=vo.slidesPerGroupAuto?xo:vo.slidesPerGroup;let To=Eo?Math.max(So,Math.ceil(xo/2)):So;To%So!==0&&(To+=So-To%So),To+=vo.loopAdditionalSlides,co.loopedSlides=To;const Ro=co.grid&&vo.grid&&vo.grid.rows>1;uo.length<xo+To||co.params.effect==="cards"&&uo.length<xo+To*2?showWarning("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):Ro&&vo.grid.fill==="row"&&showWarning("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const Po=[],zo=[],Ho=Ro?Math.ceil(uo.length/vo.grid.rows):uo.length,Vo=oo&&Ho-yo<xo&&!Eo;let Lo=Vo?yo:co.activeIndex;typeof lo>"u"?lo=co.getSlideIndex(uo.find(Zo=>Zo.classList.contains(vo.slideActiveClass))):Lo=lo;const Uo=ro==="next"||!ro,Do=ro==="prev"||!ro;let Oo=0,ko=0;const Fo=(Ro?uo[lo].column??0:lo)+(Eo&&typeof no>"u"?-xo/2+.5:0);if(Fo<To){Oo=Math.max(To-Fo,So);for(let Zo=0;Zo<To-Fo;Zo+=1){const Wo=Zo-Math.floor(Zo/Ho)*Ho;if(Ro){const ta=Ho-Wo-1;for(let ra=uo.length-1;ra>=0;ra-=1)uo[ra].column===ta&&Po.push(ra)}else Po.push(Ho-Wo-1)}}else if(Fo+xo>Ho-To){ko=Math.max(Fo-(Ho-To*2),So),Vo&&(ko=Math.max(ko,xo-Ho+yo+1));for(let Zo=0;Zo<ko;Zo+=1){const Wo=Zo-Math.floor(Zo/Ho)*Ho;Ro?uo.forEach((ta,ra)=>{ta.column===Wo&&zo.push(ra)}):zo.push(Wo)}}if(co.__preventObserver__=!0,requestAnimationFrame(()=>{co.__preventObserver__=!1}),co.params.effect==="cards"&&uo.length<xo+To*2&&(zo.includes(lo)&&zo.splice(zo.indexOf(lo),1),Po.includes(lo)&&Po.splice(Po.indexOf(lo),1)),Do&&Po.forEach(Zo=>{const Wo=uo[Zo];Wo.swiperLoopMoveDOM=!0,mo.prepend(Wo),Wo.swiperLoopMoveDOM=!1}),Uo&&zo.forEach(Zo=>{const Wo=uo[Zo];Wo.swiperLoopMoveDOM=!0,mo.append(Wo),Wo.swiperLoopMoveDOM=!1}),co.recalcSlides(),vo.slidesPerView==="auto"?co.updateSlides():Ro&&(Po.length>0&&Do||zo.length>0&&Uo)&&co.slides.forEach((Zo,Wo)=>{co.grid.updateSlide(Wo,Zo,co.slides)}),vo.watchSlidesProgress&&co.updateSlidesOffset(),to){if(Po.length>0&&Do){if(typeof eo>"u"){const Zo=co.slidesGrid[Lo],ta=co.slidesGrid[Lo+Oo]-Zo;so?co.setTranslate(co.translate-ta):(co.slideTo(Lo+Math.ceil(Oo),0,!1,!0),no&&(co.touchEventsData.startTranslate=co.touchEventsData.startTranslate-ta,co.touchEventsData.currentTranslate=co.touchEventsData.currentTranslate-ta))}else if(no){const Zo=Ro?Po.length/vo.grid.rows:Po.length;co.slideTo(co.activeIndex+Zo,0,!1,!0),co.touchEventsData.currentTranslate=co.translate}}else if(zo.length>0&&Uo)if(typeof eo>"u"){const Zo=co.slidesGrid[Lo],ta=co.slidesGrid[Lo-ko]-Zo;so?co.setTranslate(co.translate-ta):(co.slideTo(Lo-ko,0,!1,!0),no&&(co.touchEventsData.startTranslate=co.touchEventsData.startTranslate-ta,co.touchEventsData.currentTranslate=co.touchEventsData.currentTranslate-ta))}else{const Zo=Ro?zo.length/vo.grid.rows:zo.length;co.slideTo(co.activeIndex-Zo,0,!1,!0)}}co.allowSlidePrev=fo,co.allowSlideNext=ho;const Qo=(Xo=co.controller)==null?void 0:Xo.control;if(Qo&&!ao){const Zo={slideRealIndex:eo,direction:ro,setTranslate:no,activeSlideIndex:lo,byController:!0};Array.isArray(Qo)?Qo.forEach(Wo=>{!Wo.destroyed&&Wo.params.loop&&Wo.loopFix({...Zo,slideTo:Wo.params.slidesPerView===vo.slidesPerView?to:!1})}):Qo instanceof co.constructor&&Qo.params.loop&&Qo.loopFix({...Zo,slideTo:Qo.params.slidesPerView===vo.slidesPerView?to:!1})}co.emit("loopFix")}var loop={loopCreate,loopFix,loopDestroy};function moduleExtendParams(Yi,eo){return function(ro={}){const no=Object.keys(ro)[0],io=ro[no];if(typeof io!="object"||io===null){extend$1(eo,ro);return}if(Yi[no]===!0&&(Yi[no]={enabled:!0}),no==="navigation"&&Yi[no]&&Yi[no].enabled&&!Yi[no].prevEl&&!Yi[no].nextEl&&(Yi[no].auto=!0),["pagination","scrollbar"].indexOf(no)>=0&&Yi[no]&&Yi[no].enabled&&!Yi[no].el&&(Yi[no].auto=!0),!(no in Yi&&"enabled"in io)){extend$1(eo,ro);return}typeof Yi[no]=="object"&&!("enabled"in Yi[no])&&(Yi[no].enabled=!0),Yi[no]||(Yi[no]={enabled:!1}),extend$1(eo,ro)}}const Observer=({swiper:Yi,extendParams:eo,on:to})=>{const ro=[],no=(ao,so={})=>{const lo=window.MutationObserver||window.WebkitMutationObserver;if(!lo)return;const co=new lo(uo=>{if(Yi.__preventObserver__)return;if(uo.length===1){Yi.emit("observerUpdate",uo[0]);return}const fo=function(){Yi.emit("observerUpdate",uo[0])};window.requestAnimationFrame?window.requestAnimationFrame(fo):window.setTimeout(fo,0)});co.observe(ao,{attributes:typeof so.attributes>"u"?!0:so.attributes,childList:Yi.isElement||(typeof so.childList>"u"?!0:so.childList),characterData:typeof so.characterData>"u"?!0:so.characterData}),ro.push(co)},io=()=>{if(Yi.params.observer){if(Yi.params.observeParents){const ao=elementParents(Yi.hostEl);for(let so=0;so<ao.length;so+=1)no(ao[so])}no(Yi.hostEl,{childList:Yi.params.observeSlideChildren}),no(Yi.wrapperEl,{attributes:!1})}},oo=()=>{ro.forEach(ao=>{ao.disconnect()}),ro.splice(0,ro.length)};eo({observer:!1,observeParents:!1,observeSlideChildren:!1}),to("init",io),to("destroy",oo)},Resize=({swiper:Yi,on:eo,emit:to})=>{let ro=null,no=null;const io=()=>{!Yi||Yi.destroyed||!Yi.initialized||(to("beforeResize"),to("resize"))},oo=()=>{!Yi||Yi.destroyed||!Yi.initialized||(ro=new ResizeObserver(lo=>{no=window.requestAnimationFrame(()=>{const{width:co,height:uo}=Yi;let fo=co,ho=uo;lo.forEach(({contentBoxSize:mo,contentRect:vo,target:Co})=>{if(Co&&Co!==Yi.el)return;const bo=Array.isArray(mo)?mo[0]:mo;fo=vo?vo.width:bo.inlineSize,ho=vo?vo.height:bo.blockSize}),(fo!==co||ho!==uo)&&io()})}),ro.observe(Yi.el))},ao=()=>{no&&window.cancelAnimationFrame(no),ro&&ro.unobserve&&Yi.el&&(ro.unobserve(Yi.el),ro=null)},so=()=>{!Yi||Yi.destroyed||!Yi.initialized||to("orientationchange")};eo("init",()=>{if(Yi.params.resizeObserver&&typeof window.ResizeObserver<"u"){oo();return}window.addEventListener("resize",io),window.addEventListener("orientationchange",so)}),eo("destroy",()=>{ao(),window.removeEventListener("resize",io),window.removeEventListener("orientationchange",so)})};function slideNext(Yi,eo=!0,to){var co;const ro=this,{enabled:no,params:io,animating:oo}=ro;if(!no||ro.destroyed)return ro;typeof Yi>"u"&&(Yi=ro.params.speed);let ao=io.slidesPerGroup;io.slidesPerView==="auto"&&io.slidesPerGroup===1&&io.slidesPerGroupAuto&&(ao=Math.max(ro.slidesPerViewDynamic("current",!0),1));const so=ro.activeIndex<io.slidesPerGroupSkip?1:ao,lo=ro.virtual&&((co=io.virtual)==null?void 0:co.enabled);if(io.loop){if(oo&&!lo&&io.loopPreventsSliding)return!1;if(ro.loopFix({direction:"next"}),ro._clientLeft=ro.wrapperEl.clientLeft,ro.activeIndex===ro.slides.length-1&&io.cssMode)return requestAnimationFrame(()=>{ro.slideTo(ro.activeIndex+so,Yi,eo,to)}),!0}return io.rewind&&ro.isEnd?ro.slideTo(0,Yi,eo,to):ro.slideTo(ro.activeIndex+so,Yi,eo,to)}function slidePrev(Yi,eo=!0,to){var wo,yo;const ro=this,{params:no,snapGrid:io,slidesGrid:oo,rtlTranslate:ao,enabled:so,animating:lo}=ro;if(!so||ro.destroyed)return ro;typeof Yi>"u"&&(Yi=ro.params.speed);const co=ro.virtual&&((wo=no.virtual)==null?void 0:wo.enabled);if(no.loop){if(lo&&!co&&no.loopPreventsSliding)return!1;ro.loopFix({direction:"prev"}),ro._clientLeft=ro.wrapperEl.clientLeft}const uo=ao?ro.translate:-ro.translate;function fo(Eo){return Eo<0?-Math.floor(Math.abs(Eo)):Math.floor(Eo)}const ho=fo(uo),mo=io.map(Eo=>fo(Eo)),vo=no.freeMode&&no.freeMode.enabled;let Co=io[mo.indexOf(ho)-1];if(typeof Co>"u"&&(no.cssMode||vo)){let Eo;io.forEach((xo,So)=>{ho>=xo&&(Eo=So)}),typeof Eo<"u"&&(Co=vo?io[Eo]:io[Eo>0?Eo-1:Eo])}let bo=0;if(typeof Co<"u"&&(bo=oo.indexOf(Co),bo<0&&(bo=ro.activeIndex-1),no.slidesPerView==="auto"&&no.slidesPerGroup===1&&no.slidesPerGroupAuto&&(bo=bo-ro.slidesPerViewDynamic("previous",!0)+1,bo=Math.max(bo,0))),no.rewind&&ro.isBeginning){const Eo=(yo=ro.params.virtual)!=null&&yo.enabled&&ro.virtual?ro.virtual.slides.length-1:ro.slides.length-1;return ro.slideTo(Eo,Yi,eo,to)}else if(no.loop&&ro.activeIndex===0&&no.cssMode)return requestAnimationFrame(()=>{ro.slideTo(bo,Yi,eo,to)}),!0;return ro.slideTo(bo,Yi,eo,to)}function slideReset(Yi,eo=!0,to){const ro=this;if(!ro.destroyed)return typeof Yi>"u"&&(Yi=ro.params.speed),ro.slideTo(ro.activeIndex,Yi,eo,to)}function slideTo(Yi=0,eo,to=!0,ro,no){var To;typeof Yi=="string"&&(Yi=parseInt(Yi,10));const io=this;let oo=Yi;oo<0&&(oo=0);const{params:ao,snapGrid:so,slidesGrid:lo,previousIndex:co,activeIndex:uo,rtlTranslate:fo,wrapperEl:ho,enabled:mo}=io;if(!mo&&!ro&&!no||io.destroyed||io.animating&&ao.preventInteractionOnTransition)return!1;typeof eo>"u"&&(eo=io.params.speed);const vo=Math.min(io.params.slidesPerGroupSkip,oo);let Co=vo+Math.floor((oo-vo)/io.params.slidesPerGroup);Co>=so.length&&(Co=so.length-1);const bo=-so[Co];if(ao.normalizeSlideIndex)for(let Ro=0;Ro<lo.length;Ro+=1){const Po=-Math.floor(bo*100),zo=Math.floor(lo[Ro]*100),Ho=Math.floor(lo[Ro+1]*100);typeof lo[Ro+1]<"u"?Po>=zo&&Po<Ho-(Ho-zo)/2?oo=Ro:Po>=zo&&Po<Ho&&(oo=Ro+1):Po>=zo&&(oo=Ro)}if(io.initialized&&oo!==uo&&(!io.allowSlideNext&&(fo?bo>io.translate&&bo>io.minTranslate():bo<io.translate&&bo<io.minTranslate())||!io.allowSlidePrev&&bo>io.translate&&bo>io.maxTranslate()&&(uo||0)!==oo))return!1;oo!==(co||0)&&to&&io.emit("beforeSlideChangeStart"),io.updateProgress(bo);let wo;oo>uo?wo="next":oo<uo?wo="prev":wo="reset";const yo=io.virtual&&((To=io.params.virtual)==null?void 0:To.enabled);if(!(yo&&no)&&(fo&&-bo===io.translate||!fo&&bo===io.translate))return io.updateActiveIndex(oo),ao.autoHeight&&io.updateAutoHeight(),io.updateSlidesClasses(),ao.effect!=="slide"&&io.setTranslate(bo),wo!=="reset"&&(io.transitionStart(to,wo),io.transitionEnd(to,wo)),!1;if(ao.cssMode){const Ro=io.isHorizontal(),Po=fo?bo:-bo;return eo===0?(yo&&(io.wrapperEl.style.scrollSnapType="none",io._immediateVirtual=!0),yo&&!io._cssModeVirtualInitialSet&&(io.params.initialSlide??0)>0?(io._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{ho[Ro?"scrollLeft":"scrollTop"]=Po})):ho[Ro?"scrollLeft":"scrollTop"]=Po,yo&&requestAnimationFrame(()=>{io.wrapperEl.style.scrollSnapType="",io._immediateVirtual=!1})):ho.scrollTo({[Ro?"left":"top"]:Po,behavior:"smooth"}),!0}const So=getBrowser().isSafari;return yo&&!no&&So&&io.isElement&&io.virtual.update(!1,!1,oo),io.setTransition(eo),io.setTranslate(bo),io.updateActiveIndex(oo),io.updateSlidesClasses(),io.emit("beforeTransitionStart",eo,ro),io.transitionStart(to,wo),eo===0?io.transitionEnd(to,wo):io.animating||(io.animating=!0,io.onSlideToWrapperTransitionEnd||(io.onSlideToWrapperTransitionEnd=function(Po){!io||io.destroyed||Po.target===this&&(io.wrapperEl.removeEventListener("transitionend",io.onSlideToWrapperTransitionEnd),io.onSlideToWrapperTransitionEnd=null,delete io.onSlideToWrapperTransitionEnd,io.transitionEnd(to,wo))}),io.wrapperEl.addEventListener("transitionend",io.onSlideToWrapperTransitionEnd)),!0}function slideToClickedSlide(){const Yi=this;if(Yi.destroyed)return;const{params:eo,slidesEl:to,clickedSlide:ro,clickedIndex:no}=Yi;if(ro===void 0||no===void 0)return;const io=eo.slidesPerView==="auto"?Yi.slidesPerViewDynamic():eo.slidesPerView;let oo=Yi.getSlideIndexWhenGrid(no),ao;const so=Yi.isElement?"swiper-slide":`.${eo.slideClass}`,lo=Yi.grid&&Yi.params.grid&&Yi.params.grid.rows>1;if(eo.loop){if(Yi.animating)return;ao=parseInt(ro.getAttribute("data-swiper-slide-index"),10),eo.centeredSlides?Yi.slideToLoop(ao):oo>(lo?(Yi.slides.length-io)/2-(Yi.params.grid.rows-1):Yi.slides.length-io)?(Yi.loopFix(),oo=Yi.getSlideIndex(elementChildren(to,`${so}[data-swiper-slide-index="${ao}"]`)[0]),nextTick(()=>{Yi.slideTo(oo)})):Yi.slideTo(oo)}else Yi.slideTo(oo)}function slideToClosest(Yi,eo=!0,to,ro=.5){const no=this;if(no.destroyed)return;typeof Yi>"u"&&(Yi=no.params.speed);let io=no.activeIndex;const oo=Math.min(no.params.slidesPerGroupSkip,io),ao=oo+Math.floor((io-oo)/no.params.slidesPerGroup),so=no.rtlTranslate?no.translate:-no.translate;if(so>=no.snapGrid[ao]){const lo=no.snapGrid[ao],co=no.snapGrid[ao+1];so-lo>(co-lo)*ro&&(io+=no.params.slidesPerGroup)}else{const lo=no.snapGrid[ao-1],co=no.snapGrid[ao];so-lo<=(co-lo)*ro&&(io-=no.params.slidesPerGroup)}return io=Math.max(io,0),io=Math.min(io,no.slidesGrid.length-1),no.slideTo(io,Yi,eo,to)}function slideToLoop(Yi=0,eo,to=!0,ro){var ao;typeof Yi=="string"&&(Yi=parseInt(Yi,10));const no=this;if(no.destroyed)return;typeof eo>"u"&&(eo=no.params.speed);const io=no.grid&&no.params.grid&&no.params.grid.rows>1;let oo=Yi;if(no.params.loop)if(no.virtual&&((ao=no.params.virtual)!=null&&ao.enabled))oo=oo+(no.virtual.slidesBefore??0);else{let so;if(io){const Co=oo*no.params.grid.rows,bo=no.slides.find(wo=>Number(wo.getAttribute("data-swiper-slide-index"))===Co);so=(bo==null?void 0:bo.column)??0}else so=no.getSlideIndexByData(oo);const lo=io?Math.ceil(no.slides.length/no.params.grid.rows):no.slides.length,{centeredSlides:co,slidesOffsetBefore:uo,slidesOffsetAfter:fo}=no.params,ho=co||!!uo||!!fo;let mo;no.params.slidesPerView==="auto"?mo=no.slidesPerViewDynamic():(mo=Math.ceil(parseFloat(String(no.params.slidesPerView))),ho&&mo%2===0&&(mo=mo+1));let vo=lo-so<mo;if(ho&&(vo=vo||so<Math.ceil(mo/2)),ro&&ho&&no.params.slidesPerView!=="auto"&&!io&&(vo=!1),vo){const Co=ho?so<no.activeIndex?"prev":"next":so-no.activeIndex-1<no.params.slidesPerView?"next":"prev";no.loopFix({direction:Co,slideTo:!0,activeSlideIndex:Co==="next"?so+1:so-lo+1,slideRealIndex:Co==="next"?no.realIndex:void 0})}if(io){const Co=oo*no.params.grid.rows,bo=no.slides.find(wo=>Number(wo.getAttribute("data-swiper-slide-index"))===Co);oo=(bo==null?void 0:bo.column)??0}else oo=no.getSlideIndexByData(oo)}return requestAnimationFrame(()=>{no.slideTo(oo,eo,to,ro)}),no}var slide={slideTo,slideToLoop,slideNext,slidePrev,slideReset,slideToClosest,slideToClickedSlide};function setTransition(Yi,eo){const to=this;to.params.cssMode||(to.wrapperEl.style.transitionDuration=`${Yi}ms`,to.wrapperEl.style.transitionDelay=Yi===0?"0ms":""),to.emit("setTransition",Yi,eo)}function transitionEmit({swiper:Yi,runCallbacks:eo,direction:to,step:ro}){const{activeIndex:no,previousIndex:io}=Yi;let oo=to;oo||(no>io?oo="next":no<io?oo="prev":oo="reset"),Yi.emit(`transition${ro}`),eo&&oo==="reset"?Yi.emit(`slideResetTransition${ro}`):eo&&no!==io&&(Yi.emit(`slideChangeTransition${ro}`),oo==="next"?Yi.emit(`slideNextTransition${ro}`):Yi.emit(`slidePrevTransition${ro}`))}function transitionEnd(Yi=!0,eo){const to=this,{params:ro}=to;to.animating=!1,!ro.cssMode&&(to.setTransition(0),transitionEmit({swiper:to,runCallbacks:Yi,direction:eo,step:"End"}))}function transitionStart(Yi=!0,eo){const to=this,{params:ro}=to;ro.cssMode||(ro.autoHeight&&to.updateAutoHeight(),transitionEmit({swiper:to,runCallbacks:Yi,direction:eo,step:"Start"}))}var transition$1={setTransition,transitionStart,transitionEnd};function getSwiperTranslate(Yi=this.isHorizontal()?"x":"y"){const eo=this,{params:to,rtlTranslate:ro,translate:no,wrapperEl:io}=eo;if(to.virtualTranslate)return ro?-no:no;if(to.cssMode)return no;let oo=getTranslate(io,Yi);return oo+=eo.cssOverflowAdjustment(),ro&&(oo=-oo),oo||0}function maxTranslate(){return-this.snapGrid[this.snapGrid.length-1]}function minTranslate(){return-this.snapGrid[0]}function setTranslate(Yi,eo){const to=this,{rtlTranslate:ro,params:no,wrapperEl:io,progress:oo}=to;let ao=0,so=0;const lo=0;to.isHorizontal()?ao=ro?-Yi:Yi:so=Yi,no.roundLengths&&(ao=Math.floor(ao),so=Math.floor(so)),to.previousTranslate=to.translate,to.translate=to.isHorizontal()?ao:so,no.cssMode?io[to.isHorizontal()?"scrollLeft":"scrollTop"]=to.isHorizontal()?-ao:-so:no.virtualTranslate||(to.isHorizontal()?ao-=to.cssOverflowAdjustment():so-=to.cssOverflowAdjustment(),io.style.transform=`translate3d(${ao}px, ${so}px, ${lo}px)`);let co;const uo=to.maxTranslate()-to.minTranslate();uo===0?co=0:co=(Yi-to.minTranslate())/uo,co!==oo&&to.updateProgress(Yi),to.emit("setTranslate",to.translate,eo)}function translateTo(Yi=0,eo=this.params.speed,to=!0,ro=!0,no){const io=this,{params:oo,wrapperEl:ao}=io;if(io.animating&&oo.preventInteractionOnTransition)return!1;const so=io.minTranslate(),lo=io.maxTranslate();let co;if(ro&&Yi>so?co=so:ro&&Yi<lo?co=lo:co=Yi,io.updateProgress(co),oo.cssMode){const uo=io.isHorizontal();return eo===0?ao[uo?"scrollLeft":"scrollTop"]=-co:ao.scrollTo({[uo?"left":"top"]:-co,behavior:"smooth"}),!0}return eo===0?(io.setTransition(0),io.setTranslate(co),to&&(io.emit("beforeTransitionStart",eo,no),io.emit("transitionEnd"))):(io.setTransition(eo),io.setTranslate(co),to&&(io.emit("beforeTransitionStart",eo,no),io.emit("transitionStart")),io.animating||(io.animating=!0,io.onTranslateToWrapperTransitionEnd||(io.onTranslateToWrapperTransitionEnd=function(fo){!io||io.destroyed||fo.target===this&&(io.wrapperEl.removeEventListener("transitionend",io.onTranslateToWrapperTransitionEnd),io.onTranslateToWrapperTransitionEnd=null,delete io.onTranslateToWrapperTransitionEnd,io.animating=!1,to&&io.emit("transitionEnd"))}),io.wrapperEl.addEventListener("transitionend",io.onTranslateToWrapperTransitionEnd))),!0}var translate={getTranslate:getSwiperTranslate,setTranslate,minTranslate,maxTranslate,translateTo};function getActiveIndexByTranslate(Yi){const{slidesGrid:eo,params:to}=Yi,ro=Yi.rtlTranslate?Yi.translate:-Yi.translate;let no;for(let io=0;io<eo.length;io+=1)typeof eo[io+1]<"u"?ro>=eo[io]&&ro<eo[io+1]-(eo[io+1]-eo[io])/2?no=io:ro>=eo[io]&&ro<eo[io+1]&&(no=io+1):ro>=eo[io]&&(no=io);return to.normalizeSlideIndex&&(no<0||typeof no>"u")&&(no=0),no}function updateActiveIndex(Yi){var ho,mo;const eo=this,to=eo.rtlTranslate?eo.translate:-eo.translate,{snapGrid:ro,params:no,activeIndex:io,realIndex:oo,snapIndex:ao}=eo;let so=Yi,lo;const co=vo=>{const Co=eo.virtual.slides;let bo=vo-(eo.virtual.slidesBefore??0);return bo<0&&(bo=Co.length+bo),bo>=Co.length&&(bo-=Co.length),bo};if(typeof so>"u"&&(so=getActiveIndexByTranslate(eo)),ro.indexOf(to)>=0)lo=ro.indexOf(to);else{const vo=Math.min(no.slidesPerGroupSkip,so);lo=vo+Math.floor((so-vo)/no.slidesPerGroup)}if(lo>=ro.length&&(lo=ro.length-1),so===io&&!eo.params.loop){lo!==ao&&(eo.snapIndex=lo,eo.emit("snapIndexChange"));return}if(so===io&&eo.params.loop&&eo.virtual&&((ho=eo.params.virtual)!=null&&ho.enabled)){eo.realIndex=co(so);return}const uo=eo.grid&&no.grid&&no.grid.rows>1;let fo;if(eo.virtual&&((mo=no.virtual)!=null&&mo.enabled))no.loop?fo=co(so):fo=so;else if(uo){const vo=eo.slides.find(bo=>bo.column===so);let Co=parseInt(vo.getAttribute("data-swiper-slide-index"),10);Number.isNaN(Co)&&(Co=Math.max(eo.slides.indexOf(vo),0)),fo=Math.floor(Co/no.grid.rows)}else if(eo.slides[so]){const vo=eo.slides[so].getAttribute("data-swiper-slide-index");vo?fo=parseInt(vo,10):fo=so}else fo=so;Object.assign(eo,{previousSnapIndex:ao,snapIndex:lo,previousRealIndex:oo,realIndex:fo,previousIndex:io,activeIndex:so}),eo.initialized&&preload(eo),eo.emit("activeIndexChange"),eo.emit("snapIndexChange"),(eo.initialized||eo.params.runCallbacksOnInit)&&(oo!==fo&&eo.emit("realIndexChange"),eo.emit("slideChange"))}function updateAutoHeight(Yi){var ao;const eo=this,to=[],ro=eo.virtual&&((ao=eo.params.virtual)==null?void 0:ao.enabled);let no=0,io;typeof Yi=="number"?eo.setTransition(Yi):Yi===!0&&eo.setTransition(eo.params.speed);const oo=so=>ro?eo.slides[eo.getSlideIndexByData(so)]:eo.slides[so];if(eo.params.slidesPerView!=="auto"&&eo.params.slidesPerView>1)if(eo.params.centeredSlides)(eo.visibleSlides||[]).forEach(so=>{to.push(so)});else for(io=0;io<Math.ceil(eo.params.slidesPerView);io+=1){const so=eo.activeIndex+io;if(so>eo.slides.length&&!ro)break;const lo=oo(so);lo&&to.push(lo)}else{const so=oo(eo.activeIndex);so&&to.push(so)}for(io=0;io<to.length;io+=1)if(typeof to[io]<"u"){const so=to[io].offsetHeight;no=so>no?so:no}(no||no===0)&&(eo.wrapperEl.style.height=`${no}px`)}function updateClickedSlide(Yi,eo){var ao;const to=this,ro=to.params;let no=Yi.closest(`.${ro.slideClass}, swiper-slide`);!no&&to.isElement&&eo&&eo.length>1&&eo.includes(Yi)&&[...eo.slice(eo.indexOf(Yi)+1,eo.length)].forEach(so=>{!no&&so.matches&&so.matches(`.${ro.slideClass}, swiper-slide`)&&(no=so)});let io=!1,oo;if(no){for(let so=0;so<to.slides.length;so+=1)if(to.slides[so]===no){io=!0,oo=so;break}}if(no&&io)to.clickedSlide=no,to.virtual&&((ao=to.params.virtual)!=null&&ao.enabled)?to.clickedIndex=parseInt(no.getAttribute("data-swiper-slide-index"),10):to.clickedIndex=oo;else{to.clickedSlide=void 0,to.clickedIndex=void 0;return}ro.slideToClickedSlide&&to.clickedIndex!==void 0&&to.clickedIndex!==to.activeIndex&&to.slideToClickedSlide()}function updateProgress(Yi){const eo=this;if(typeof Yi>"u"){const co=eo.rtlTranslate?-1:1;Yi=eo&&eo.translate&&eo.translate*co||0}const to=eo.params,ro=eo.maxTranslate()-eo.minTranslate();let{progress:no,isBeginning:io,isEnd:oo}=eo,ao=eo.progressLoop;const so=io,lo=oo;if(ro===0)no=0,io=!0,oo=!0;else{no=(Yi-eo.minTranslate())/ro;const co=Math.abs(Yi-eo.minTranslate())<1,uo=Math.abs(Yi-eo.maxTranslate())<1;io=co||no<=0,oo=uo||no>=1,co&&(no=0),uo&&(no=1)}if(to.loop){const co=eo.getSlideIndexByData(0),uo=eo.getSlideIndexByData(eo.slides.length-1),fo=eo.slidesGrid[co],ho=eo.slidesGrid[uo],mo=eo.slidesGrid[eo.slidesGrid.length-1],vo=Math.abs(Yi);vo>=fo?ao=(vo-fo)/mo:ao=(vo+mo-ho)/mo,ao>1&&(ao-=1)}Object.assign(eo,{progress:no,progressLoop:ao,isBeginning:io,isEnd:oo}),(to.watchSlidesProgress||to.centeredSlides&&to.autoHeight)&&eo.updateSlidesProgress(Yi),io&&!so&&eo.emit("reachBeginning toEdge"),oo&&!lo&&eo.emit("reachEnd toEdge"),(so&&!io||lo&&!oo)&&eo.emit("fromEdge"),eo.emit("progress",no)}function updateSize(){const Yi=this;let eo,to;const ro=Yi.el;typeof Yi.params.width<"u"&&Yi.params.width!==null?eo=Yi.params.width:eo=ro.clientWidth,typeof Yi.params.height<"u"&&Yi.params.height!==null?to=Yi.params.height:to=ro.clientHeight,!(eo===0&&Yi.isHorizontal()||to===0&&Yi.isVertical())&&(eo=eo-parseInt(elementStyle(ro,"padding-left")||"0",10)-parseInt(elementStyle(ro,"padding-right")||"0",10),to=to-parseInt(elementStyle(ro,"padding-top")||"0",10)-parseInt(elementStyle(ro,"padding-bottom")||"0",10),Number.isNaN(eo)&&(eo=0),Number.isNaN(to)&&(to=0),Object.assign(Yi,{width:eo,height:to,size:Yi.isHorizontal()?eo:to}))}function updateSlides(){var Ho,Vo;const Yi=this;function eo(Lo,Uo){return parseFloat(Lo.getPropertyValue(Yi.getDirectionLabel(Uo))||"0")}const to=Yi.params,{wrapperEl:ro,slidesEl:no,rtlTranslate:io,wrongRTL:oo}=Yi,ao=!!(Yi.virtual&&((Ho=to.virtual)!=null&&Ho.enabled)),so=ao?Yi.virtual.slides.length:Yi.slides.length,lo=elementChildren(no,`.${Yi.params.slideClass}, swiper-slide`),co=ao?Yi.virtual.slides.length:lo.length;let uo=[];const fo=[],ho=[],mo=Lo=>typeof Lo=="function"?Lo.call(Yi):Lo,vo=mo(to.slidesOffsetBefore),Co=mo(to.slidesOffsetAfter),bo=Yi.snapGrid.length,wo=Yi.slidesGrid.length,yo=Yi.size-vo-Co;let Eo=to.spaceBetween,xo=-vo,So=0,To=0;if(typeof yo>"u")return;typeof Eo=="string"&&Eo.indexOf("%")>=0?Eo=parseFloat(Eo.replace("%",""))/100*yo:typeof Eo=="string"&&(Eo=parseFloat(Eo)),Yi.virtualSize=-Eo-vo-Co,lo.forEach(Lo=>{io?Lo.style.marginLeft="":Lo.style.marginRight="",Lo.style.marginBottom="",Lo.style.marginTop=""}),to.centeredSlides&&to.cssMode&&(setCSSProperty(ro,"--swiper-centered-offset-before",""),setCSSProperty(ro,"--swiper-centered-offset-after","")),to.cssMode&&(setCSSProperty(ro,"--swiper-slides-offset-before",`${vo}px`),setCSSProperty(ro,"--swiper-slides-offset-after",`${Co}px`));const Ro=to.grid&&to.grid.rows>1&&Yi.grid;Ro?Yi.grid.initSlides(lo):Yi.grid&&Yi.grid.unsetSlides();let Po=0;const zo=to.slidesPerView==="auto"&&to.breakpoints&&Object.keys(to.breakpoints).filter(Lo=>{const Uo=to.breakpoints[Lo];return typeof(Uo==null?void 0:Uo.slidesPerView)<"u"}).length>0;for(let Lo=0;Lo<co;Lo+=1){Po=0;const Uo=lo[Lo];if(!(Uo&&(Ro&&Yi.grid.updateSlide(Lo,Uo,lo),elementStyle(Uo,"display")==="none"))){if(ao&&to.slidesPerView==="auto")(Vo=to.virtual)!=null&&Vo.slidesPerViewAutoSlideSize&&(Po=to.virtual.slidesPerViewAutoSlideSize),Po&&Uo&&(to.roundLengths&&(Po=Math.floor(Po)),Uo.style[Yi.getDirectionLabel("width")]=`${Po}px`);else if(to.slidesPerView==="auto"){zo&&(Uo.style[Yi.getDirectionLabel("width")]="");const Do=getComputedStyle(Uo),Oo=Uo.style.transform,ko=Uo.style.webkitTransform;if(Oo&&(Uo.style.transform="none"),ko&&(Uo.style.webkitTransform="none"),to.roundLengths)Po=Yi.isHorizontal()?elementOuterSize(Uo,"width"):elementOuterSize(Uo,"height");else{const Bo=eo(Do,"width"),Fo=eo(Do,"padding-left"),Qo=eo(Do,"padding-right"),jo=eo(Do,"margin-left"),Xo=eo(Do,"margin-right"),Zo=Do.getPropertyValue("box-sizing");if(Zo&&Zo==="border-box")Po=Bo+jo+Xo;else{const{clientWidth:Wo,offsetWidth:ta}=Uo;Po=Bo+Fo+Qo+jo+Xo+(ta-Wo)}}Oo&&(Uo.style.transform=Oo),ko&&(Uo.style.webkitTransform=ko),to.roundLengths&&(Po=Math.floor(Po))}else Po=(yo-(to.slidesPerView-1)*Eo)/to.slidesPerView,to.roundLengths&&(Po=Math.floor(Po)),Uo&&(Uo.style[Yi.getDirectionLabel("width")]=`${Po}px`);Uo&&(Uo.swiperSlideSize=Po),ho.push(Po),to.centeredSlides?(xo=xo+Po/2+So/2+Eo,So===0&&Lo!==0&&(xo=xo-yo/2-Eo),Lo===0&&(xo=xo-yo/2-Eo),Math.abs(xo)<1/1e3&&(xo=0),to.roundLengths&&(xo=Math.floor(xo)),To%to.slidesPerGroup===0&&uo.push(xo),fo.push(xo)):(to.roundLengths&&(xo=Math.floor(xo)),(To-Math.min(Yi.params.slidesPerGroupSkip,To))%Yi.params.slidesPerGroup===0&&uo.push(xo),fo.push(xo),xo=xo+Po+Eo),Yi.virtualSize+=Po+Eo,So=Po,To+=1}}if(Yi.virtualSize=Math.max(Yi.virtualSize,yo)+Co,io&&oo&&(to.effect==="slide"||to.effect==="coverflow")&&(ro.style.width=`${Yi.virtualSize+Eo}px`),to.setWrapperSize&&(ro.style[Yi.getDirectionLabel("width")]=`${Yi.virtualSize+Eo}px`),Ro&&Yi.grid.updateWrapperSize(Po,uo),!to.centeredSlides){const Lo=to.slidesPerView!=="auto"&&to.slidesPerView%1!==0,Uo=to.snapToSlideEdge&&!to.loop&&(to.slidesPerView==="auto"||Lo);let Do=uo.length;if(Uo){let ko;if(to.slidesPerView==="auto"){ko=1;let Bo=0;for(let Fo=ho.length-1;Fo>=0&&(Bo+=ho[Fo]+(Fo<ho.length-1?Eo:0),Bo<=yo);Fo-=1)ko=ho.length-Fo}else ko=Math.floor(to.slidesPerView);Do=Math.max(co-ko,0)}const Oo=[];for(let ko=0;ko<uo.length;ko+=1){let Bo=uo[ko];to.roundLengths&&(Bo=Math.floor(Bo)),Uo?ko<=Do&&Oo.push(Bo):uo[ko]<=Yi.virtualSize-yo&&Oo.push(Bo)}uo=Oo,Math.floor(Yi.virtualSize-yo)-Math.floor(uo[uo.length-1])>1&&(Uo||uo.push(Yi.virtualSize-yo))}if(ao&&to.loop){const Lo=ho[0]+Eo,Uo=Yi.virtual.slidesBefore??0,Do=Yi.virtual.slidesAfter??0,Oo=Uo+Do;if(to.slidesPerGroup>1){const ko=Math.ceil(Oo/to.slidesPerGroup),Bo=Lo*to.slidesPerGroup;for(let Fo=0;Fo<ko;Fo+=1)uo.push(uo[uo.length-1]+Bo)}for(let ko=0;ko<Oo;ko+=1)to.slidesPerGroup===1&&uo.push(uo[uo.length-1]+Lo),fo.push(fo[fo.length-1]+Lo),Yi.virtualSize+=Lo}if(uo.length===0&&(uo=[0]),Eo!==0){const Lo=Yi.isHorizontal()&&io?"marginLeft":Yi.getDirectionLabel("marginRight");lo.filter((Uo,Do)=>!to.cssMode||to.loop?!0:Do!==lo.length-1).forEach(Uo=>{Uo.style[Lo]=`${Eo}px`})}if(to.centeredSlides&&to.centeredSlidesBounds){let Lo=0;ho.forEach(Do=>{Lo+=Do+(Eo||0)}),Lo-=Eo;const Uo=Lo>yo?Lo-yo:0;uo=uo.map(Do=>Do<=0?-vo:Do>Uo?Uo+Co:Do)}if(to.centerInsufficientSlides){let Lo=0;if(ho.forEach(Uo=>{Lo+=Uo+(Eo||0)}),Lo-=Eo,Lo<yo){const Uo=(yo-Lo)/2;uo.forEach((Do,Oo)=>{uo[Oo]=Do-Uo}),fo.forEach((Do,Oo)=>{fo[Oo]=Do+Uo})}}if(Object.assign(Yi,{slides:lo,snapGrid:uo,slidesGrid:fo,slidesSizesGrid:ho}),to.centeredSlides&&to.cssMode&&!to.centeredSlidesBounds){setCSSProperty(ro,"--swiper-centered-offset-before",`${-uo[0]}px`),setCSSProperty(ro,"--swiper-centered-offset-after",`${Yi.size/2-ho[ho.length-1]/2}px`);const Lo=-Yi.snapGrid[0],Uo=-Yi.slidesGrid[0];Yi.snapGrid=Yi.snapGrid.map(Do=>Do+Lo),Yi.slidesGrid=Yi.slidesGrid.map(Do=>Do+Uo)}if(co!==so&&Yi.emit("slidesLengthChange"),uo.length!==bo&&(Yi.params.watchOverflow&&Yi.checkOverflow(),Yi.emit("snapGridLengthChange")),fo.length!==wo&&Yi.emit("slidesGridLengthChange"),to.watchSlidesProgress&&Yi.updateSlidesOffset(),Yi.emit("slidesUpdated"),!ao&&!to.cssMode&&(to.effect==="slide"||to.effect==="fade")){const Lo=`${to.containerModifierClass}backface-hidden`,Uo=Yi.el.classList.contains(Lo);co<=to.maxBackfaceHiddenSlides?Uo||Yi.el.classList.add(Lo):Uo&&Yi.el.classList.remove(Lo)}}const toggleSlideClasses$1=(Yi,eo,to)=>{eo&&!Yi.classList.contains(to)?Yi.classList.add(to):!eo&&Yi.classList.contains(to)&&Yi.classList.remove(to)};function updateSlidesClasses(){var uo;const Yi=this,{slides:eo,params:to,slidesEl:ro,activeIndex:no}=Yi,io=!!(Yi.virtual&&((uo=to.virtual)!=null&&uo.enabled)),oo=Yi.grid&&to.grid&&to.grid.rows>1,ao=fo=>elementChildren(ro,`.${to.slideClass}${fo}, swiper-slide${fo}`)[0];let so,lo,co;if(io)if(to.loop){const fo=Yi.virtual.slides;let ho=no-(Yi.virtual.slidesBefore??0);ho<0&&(ho=fo.length+ho),ho>=fo.length&&(ho-=fo.length),so=ao(`[data-swiper-slide-index="${ho}"]`)}else so=ao(`[data-swiper-slide-index="${no}"]`);else oo?(so=eo.find(fo=>fo.column===no),co=eo.find(fo=>fo.column===no+1),lo=eo.find(fo=>fo.column===no-1)):so=eo[no];so&&(oo||(co=elementNextAll(so,`.${to.slideClass}, swiper-slide`)[0],to.loop&&!co&&(co=eo[0]),lo=elementPrevAll(so,`.${to.slideClass}, swiper-slide`)[0],to.loop&&!lo===0&&(lo=eo[eo.length-1]))),eo.forEach(fo=>{toggleSlideClasses$1(fo,fo===so,to.slideActiveClass),toggleSlideClasses$1(fo,fo===co,to.slideNextClass),toggleSlideClasses$1(fo,fo===lo,to.slidePrevClass)}),Yi.emitSlidesClasses()}function updateSlidesOffset(){const Yi=this,eo=Yi.slides,to=Yi.isElement?Yi.isHorizontal()?Yi.wrapperEl.offsetLeft:Yi.wrapperEl.offsetTop:0;for(let ro=0;ro<eo.length;ro+=1)eo[ro].swiperSlideOffset=(Yi.isHorizontal()?eo[ro].offsetLeft:eo[ro].offsetTop)-to-Yi.cssOverflowAdjustment()}const toggleSlideClasses=(Yi,eo,to)=>{eo&&!Yi.classList.contains(to)?Yi.classList.add(to):!eo&&Yi.classList.contains(to)&&Yi.classList.remove(to)};function updateSlidesProgress(Yi=this&&this.translate||0){const eo=this,to=eo.params,{slides:ro,rtlTranslate:no,snapGrid:io}=eo;if(ro.length===0)return;typeof ro[0].swiperSlideOffset>"u"&&eo.updateSlidesOffset();let oo=-Yi;no&&(oo=Yi),eo.visibleSlidesIndexes=[],eo.visibleSlides=[];let ao=to.spaceBetween;typeof ao=="string"&&ao.indexOf("%")>=0?ao=parseFloat(ao.replace("%",""))/100*eo.size:typeof ao=="string"&&(ao=parseFloat(ao));for(let so=0;so<ro.length;so+=1){const lo=ro[so];let co=lo.swiperSlideOffset??0;to.cssMode&&to.centeredSlides&&(co-=ro[0].swiperSlideOffset??0);const uo=lo.swiperSlideSize??0,fo=(oo+(to.centeredSlides?eo.minTranslate():0)-co)/(uo+ao),ho=(oo-io[0]+(to.centeredSlides?eo.minTranslate():0)-co)/(uo+ao),mo=-(oo-co),vo=mo+eo.slidesSizesGrid[so],Co=mo>=0&&mo<=eo.size-eo.slidesSizesGrid[so],bo=mo>=0&&mo<eo.size-1||vo>1&&vo<=eo.size||mo<=0&&vo>=eo.size;bo&&(eo.visibleSlides.push(lo),eo.visibleSlidesIndexes.push(so)),toggleSlideClasses(lo,bo,to.slideVisibleClass),toggleSlideClasses(lo,Co,to.slideFullyVisibleClass),lo.progress=no?-fo:fo,lo.originalProgress=no?-ho:ho}}var update$1={updateSize,updateSlides,updateAutoHeight,updateSlidesOffset,updateSlidesProgress,updateProgress,updateSlidesClasses,updateActiveIndex,updateClickedSlide};const prototypes={eventsEmitter,update:update$1,translate,transition:transition$1,slide,loop,grabCursor,events:events$1,breakpoints,checkOverflow:checkOverflow$1,classes},extendedDefaults={};var ac;let Swiper$1=(ac=class{constructor(...eo){let to,ro;if(eo.length===1&&eo[0]!==null&&typeof eo[0]=="object"&&Object.prototype.toString.call(eo[0]).slice(8,-1)==="Object"?ro=eo[0]:[to,ro]=eo,ro||(ro={}),ro=extend$1({},ro),to&&!ro.el&&(ro.el=to),ro.el&&typeof ro.el=="string"&&typeof document<"u"&&document.querySelectorAll(ro.el).length>1){const ao=[];return document.querySelectorAll(ro.el).forEach(so=>{const lo=extend$1({},ro,{el:so});ao.push(new ac(lo))}),ao}const no=this;no.__swiper__=!0,no.support=getSupport(),no.device=getDevice({userAgent:ro.userAgent??void 0}),no.browser=getBrowser(),no.eventsListeners={},no.eventsAnyListeners=[],no.modules=[...no.__modules__||[]],ro.modules&&Array.isArray(ro.modules)&&ro.modules.forEach(ao=>{const so=ao;typeof so=="function"&&no.modules.indexOf(so)<0&&no.modules.push(so)});const io={};no.modules.forEach(ao=>{ao({params:ro,swiper:no,extendParams:moduleExtendParams(ro,io),on:no.on.bind(no),once:no.once.bind(no),off:no.off.bind(no),emit:no.emit.bind(no)})});const oo=extend$1({},defaults,io);if(no.params=extend$1({},oo,extendedDefaults,ro),no.originalParams=extend$1({},no.params),no.passedParams=extend$1({},ro),no.params&&no.params.on){const ao=no.params.on;Object.keys(ao).forEach(so=>{const lo=ao[so];lo&&no.on(so,lo)})}return no.params&&no.params.onAny&&no.onAny(no.params.onAny),Object.assign(no,{enabled:no.params.enabled,el:to,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return no.params.direction==="horizontal"},isVertical(){return no.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:no.params.allowSlideNext,allowSlidePrev:no.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:no.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:no.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),no.emit("_swiper"),no.params.init&&no.init(),no}getDirectionLabel(eo){return this.isHorizontal()?eo:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[eo]}isHorizontal(){return this.params.direction==="horizontal"}isVertical(){return this.params.direction==="vertical"}cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23}getSlideIndex(eo){const{slidesEl:to,params:ro}=this,no=elementChildren(to,`.${ro.slideClass}, swiper-slide`),io=elementIndex(no[0]);return elementIndex(eo)-(io??0)}getSlideIndexByData(eo){return this.getSlideIndex(this.slides.find(to=>Number(to.getAttribute("data-swiper-slide-index"))===eo))}getSlideIndexWhenGrid(eo){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?eo=Math.floor(eo/this.params.grid.rows):this.params.grid.fill==="row"&&(eo=eo%Math.ceil(this.slides.length/this.params.grid.rows))),eo}recalcSlides(){const{slidesEl:eo,params:to}=this;this.slides=elementChildren(eo,`.${to.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(eo,to){eo=Math.min(Math.max(eo,0),1);const ro=this.minTranslate(),io=(this.maxTranslate()-ro)*eo+ro;this.translateTo(io,typeof to>"u"?0:to),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){if(!this.params._emitClasses||!this.el)return;const eo=this.el.className.split(" ").filter(to=>to.indexOf("swiper")===0||to.indexOf(this.params.containerModifierClass)===0);this.emit("_containerClasses",eo.join(" "))}getSlideClasses(eo){return this.destroyed?"":eo.className.split(" ").filter(to=>to.indexOf("swiper-slide")===0||to.indexOf(this.params.slideClass)===0).join(" ")}emitSlidesClasses(){if(!this.params._emitClasses||!this.el)return;const eo=[];this.slides.forEach(to=>{const ro=this.getSlideClasses(to);eo.push({slideEl:to,classNames:ro}),this.emit("_slideClass",to,ro)}),this.emit("_slideClasses",eo)}slidesPerViewDynamic(eo="current",to=!1){const{params:ro,slides:no,slidesGrid:io,slidesSizesGrid:oo,size:ao,activeIndex:so}=this;let lo=1;if(typeof ro.slidesPerView=="number")return ro.slidesPerView;if(ro.centeredSlides){let co=no[so]?Math.ceil(no[so].swiperSlideSize??0):0,uo=!1;for(let fo=so+1;fo<no.length;fo+=1)no[fo]&&!uo&&(co+=Math.ceil(no[fo].swiperSlideSize??0),lo+=1,co>ao&&(uo=!0));for(let fo=so-1;fo>=0;fo-=1)no[fo]&&!uo&&(co+=no[fo].swiperSlideSize??0,lo+=1,co>ao&&(uo=!0))}else if(eo==="current")for(let co=so+1;co<no.length;co+=1)(to?io[co]+oo[co]-io[so]<ao:io[co]-io[so]<ao)&&(lo+=1);else for(let co=so-1;co>=0;co-=1)io[so]-io[co]<ao&&(lo+=1);return lo}update(){var oo,ao;const eo=this;if(!eo||eo.destroyed)return;const{snapGrid:to,params:ro}=eo;ro.breakpoints&&eo.setBreakpoint(),[...eo.el.querySelectorAll('[loading="lazy"]')].forEach(so=>{so.complete&&processLazyPreloader(eo,so)}),eo.updateSize(),eo.updateSlides(),eo.updateProgress(),eo.updateSlidesClasses();function no(){const so=eo.rtlTranslate?eo.translate*-1:eo.translate,lo=Math.min(Math.max(so,eo.maxTranslate()),eo.minTranslate());eo.setTranslate(lo),eo.updateActiveIndex(),eo.updateSlidesClasses()}let io;if((oo=ro.freeMode)!=null&&oo.enabled&&!ro.cssMode)no(),ro.autoHeight&&eo.updateAutoHeight();else{if((ro.slidesPerView==="auto"||ro.slidesPerView>1)&&eo.isEnd&&!ro.centeredSlides){const so=eo.virtual&&((ao=ro.virtual)!=null&&ao.enabled)?eo.virtual.slides.length:eo.slides.length;io=eo.slideTo(so-1,0,!1,!0)}else io=eo.slideTo(eo.activeIndex,0,!1,!0);io||no()}ro.watchOverflow&&to!==eo.snapGrid&&eo.checkOverflow(),eo.emit("update")}changeDirection(eo,to=!0){const ro=this,no=ro.params.direction;return eo||(eo=no==="horizontal"?"vertical":"horizontal"),eo===no||eo!=="horizontal"&&eo!=="vertical"||(ro.el.classList.remove(`${ro.params.containerModifierClass}${no}`),ro.el.classList.add(`${ro.params.containerModifierClass}${eo}`),ro.emitContainerClasses(),ro.params.direction=eo,ro.slides.forEach(io=>{eo==="vertical"?io.style.width="":io.style.height=""}),ro.emit("changeDirection"),to&&ro.update()),ro}changeLanguageDirection(eo){const to=this;to.rtl&&eo==="rtl"||!to.rtl&&eo==="ltr"||(to.rtl=eo==="rtl",to.rtlTranslate=to.params.direction==="horizontal"&&to.rtl,to.rtl?(to.el.classList.add(`${to.params.containerModifierClass}rtl`),to.el.dir="rtl"):(to.el.classList.remove(`${to.params.containerModifierClass}rtl`),to.el.dir="ltr"),to.update())}mount(eo){const to=this;if(to.mounted)return!0;if(typeof document>"u")return!1;const ro=eo??to.params.el;let no=null;if(typeof ro=="string"?no=document.querySelector(ro):ro instanceof HTMLElement&&(no=ro),!no)return!1;no.swiper=to;const io=no.parentNode;io&&io.host&&io.host.nodeName===to.params.swiperElementNodeName.toUpperCase()&&(to.isElement=!0);const oo=()=>`.${(to.params.wrapperClass||"").trim().split(" ").join(".")}`;let so=no&&no.shadowRoot?no.shadowRoot.querySelector(oo()):elementChildren(no,oo())[0];!so&&to.params.createElements&&(so=createElement("div",to.params.wrapperClass),no.append(so),elementChildren(no,`.${to.params.slideClass}`).forEach(co=>{so.append(co)}));const lo=to.isElement?no.parentNode.host:null;return Object.assign(to,{el:no,wrapperEl:so,slidesEl:to.isElement&&!lo.slideSlots?lo:so,hostEl:to.isElement?lo:no,mounted:!0,rtl:no.dir.toLowerCase()==="rtl"||elementStyle(no,"direction")==="rtl",rtlTranslate:to.params.direction==="horizontal"&&(no.dir.toLowerCase()==="rtl"||elementStyle(no,"direction")==="rtl"),wrongRTL:elementStyle(so,"display")==="-webkit-box"}),!0}init(eo){var io;const to=this;if(to.initialized||to.mount(eo)===!1)return to;to.emit("beforeInit"),to.params.breakpoints&&to.setBreakpoint(),to.addClasses(),to.updateSize(),to.updateSlides(),to.params.watchOverflow&&to.checkOverflow(),to.params.grabCursor&&to.enabled&&to.setGrabCursor(),to.params.loop&&to.virtual&&((io=to.params.virtual)!=null&&io.enabled)?to.slideTo((to.params.initialSlide??0)+(to.virtual.slidesBefore??0),0,to.params.runCallbacksOnInit,!1,!0):to.slideTo(to.params.initialSlide,0,to.params.runCallbacksOnInit,!1,!0),to.params.loop&&to.loopCreate(void 0,!0),to.attachEvents();const no=[...to.el.querySelectorAll('[loading="lazy"]')];return to.isElement&&no.push(...to.hostEl.querySelectorAll('[loading="lazy"]')),no.forEach(oo=>{oo.complete?processLazyPreloader(to,oo):oo.addEventListener("load",ao=>{processLazyPreloader(to,ao.target)})}),preload(to),to.initialized=!0,preload(to),to.emit("init"),to.emit("afterInit"),to}destroy(eo=!0,to=!0){const ro=this,{params:no,el:io,wrapperEl:oo,slides:ao}=ro;return typeof ro.params>"u"||ro.destroyed||(ro.emit("beforeDestroy"),ro.initialized=!1,ro.detachEvents(),no.loop&&ro.loopDestroy(),to&&(ro.removeClasses(),io&&typeof io!="string"&&io.removeAttribute("style"),oo&&oo.removeAttribute("style"),ao&&ao.length&&ao.forEac
486h(so=>{so.classList.remove(no.slideVisibleClass,no.slideFullyVisibleClass,no.slideActiveClass,no.slideNextClass,no.slidePrevClass),so.removeAttribute("style"),so.removeAttribute("data-swiper-slide-index")})),ro.emit("destroy"),Object.keys(ro.eventsListeners).forEach(so=>{ro.off(so)}),eo!==!1&&(ro.el&&typeof ro.el!="string"&&(ro.el.swiper=null),deleteProps(ro)),ro.destroyed=!0),null}static extendDefaults(eo){extend$1(extendedDefaults,eo)}static installModule(eo){ac.prototype.__modules__||(ac.prototype.__modules__=[]);const to=ac.prototype.__modules__;typeof eo=="function"&&to.indexOf(eo)<0&&to.push(eo)}static use(eo){return Array.isArray(eo)?(eo.forEach(to=>ac.installModule(to)),ac):(ac.installModule(eo),ac)}},As(ac,"extendedDefaults"),As(ac,"defaults"),ac);Object.defineProperty(Swiper$1,"extendedDefaults",{get(){return extendedDefaults}});Object.defineProperty(Swiper$1,"defaults",{get(){return defaults}});const prototypeRecord=prototypes,swiperProto=Swiper$1.prototype;Object.keys(prototypeRecord).forEach(Yi=>{const eo=prototypeRecord[Yi];Object.keys(eo).forEach(to=>{swiperProto[to]=eo[to]})});Swiper$1.use([Resize,Observer]);function getChangedParams(Yi,eo,to,ro,no){const io=[];if(!eo)return io;const oo=so=>{io.indexOf(so)<0&&io.push(so)};if(to&&ro){const so=ro.map(no),lo=to.map(no);so.join("")!==lo.join("")&&oo("children"),ro.length!==to.length&&oo("children")}return paramsList.filter(so=>so[0]==="_").map(so=>so.replace(/_/,"")).forEach(so=>{if(so in Yi&&so in eo){const lo=Yi[so],co=eo[so];if(isObject$1(lo)&&isObject$1(co)){const uo=Object.keys(lo),fo=Object.keys(co);uo.length!==fo.length?oo(so):(uo.forEach(ho=>{lo[ho]!==co[ho]&&oo(so)}),fo.forEach(ho=>{lo[ho]!==co[ho]&&oo(so)}))}else lo!==co&&oo(so)}}),io}function getParams(Yi={},eo=!0){const to={on:{}},ro={},no={};extend(to,defaults),to._emitClasses=!0,to.init=!1;const io={},oo=paramsList.map(so=>so.replace(/_/,"")),ao={...Yi};return Object.keys(ao).forEach(so=>{const lo=Yi[so];if(!(typeof lo>"u"))if(oo.indexOf(so)>=0)isObject$1(lo)?(to[so]={},no[so]={},extend(to[so],lo),extend(no[so],lo)):(to[so]=lo,no[so]=lo);else if(so.search(/on[A-Z]/)===0&&typeof lo=="function"){const co=`${so[2].toLowerCase()}${so.substring(3)}`,uo=lo;eo?ro[co]=uo:to.on[co]=uo}else io[so]=lo}),["navigation","pagination","scrollbar"].forEach(so=>{to[so]===!0&&(to[so]={}),to[so]===!1&&delete to[so]}),{params:to,passedParams:no,rest:io,events:ro}}function mountSwiper(Yi,eo){const{el:to,nextEl:ro,prevEl:no,paginationEl:io,scrollbarEl:oo,swiper:ao}=Yi;if(needsNavigation(eo)&&ro&&no){const so=ao.params.navigation,lo=ao.originalParams.navigation;so.nextEl=ro,lo.nextEl=ro,so.prevEl=no,lo.prevEl=no}needsPagination(eo)&&io&&(ao.params.pagination.el=io,ao.originalParams.pagination.el=io),needsScrollbar(eo)&&oo&&(ao.params.scrollbar.el=oo,ao.originalParams.scrollbar.el=oo),ao.init(to)}const updateOnVirtualData=Yi=>{var eo,to;!Yi||Yi.destroyed||!Yi.params.virtual||Yi.params.virtual&&!Yi.params.virtual.enabled||(Yi.updateSlides(),Yi.updateProgress(),Yi.updateSlidesClasses(),Yi.emit("_virtualUpdated"),Yi.parallax&&Yi.params.parallax&&Yi.params.parallax.enabled&&((to=(eo=Yi.parallax).setTranslate)==null||to.call(eo)))},SwiperSlideContext=reactExports.createContext(null),SwiperContext=reactExports.createContext(null);function isReactElement(Yi){return typeof Yi=="object"&&Yi!==null&&"type"in Yi&&"props"in Yi}function isChildSwiperSlide(Yi){if(!isReactElement(Yi))return!1;const{type:eo}=Yi;if(typeof eo!="function"&&typeof eo!="object")return!1;const to=eo.displayName;return!!to&&to.includes("SwiperSlide")}function processChildren(Yi){const eo=[];return React$1F.Children.toArray(Yi).forEach(to=>{isChildSwiperSlide(to)?eo.push(to):isReactElement(to)&&to.props&&to.props.children&&processChildren(to.props.children).forEach(ro=>eo.push(ro))}),eo}function getChildren(Yi){const eo=[],to={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return React$1F.Children.toArray(Yi).forEach(ro=>{if(isChildSwiperSlide(ro))eo.push(ro);else if(isReactElement(ro)&&ro.props&&ro.props.slot&&ro.props.slot in to)to[ro.props.slot].push(ro);else if(isReactElement(ro)&&ro.props&&ro.props.children){const no=processChildren(ro.props.children);no.length>
4860?no.forEach(io=>eo.push(io)):to["container-end"].push(ro)}else isReactElement(ro)&&to["container-end"].push(ro)}),{slides:eo,slots:to}}function useIsomorphicLayoutEffect(Yi,eo){return typeof window>"u"?reactExports.useEffect(Yi,eo):reactExports.useLayoutEffect(Yi,eo)}function renderVirtual(Yi,eo,to){if(!to||!Yi)return null;const ro=co=>{let uo=co;return co<0?uo=eo.length+co:uo>=eo.length&&(uo-=eo.length),uo},no=Yi.isHorizontal()?{[Yi.rtlTranslate?"right":"left"]:`${to.offset}px`}:{top:`${to.offset}px`},{from:io,to:oo}=to,ao=Yi.params.loop?-eo.length:0,so=Yi.params.loop?eo.length*2:eo.length,lo=[];for(let co=ao;co<so;co+=1)if(co>=io&&co<=oo){const uo=eo[ro(co)];uo&&lo.push(uo)}return lo.map((co,uo)=>{const fo=co.props.virtualIndex;return React$1F.cloneElement(co,{swiper:Yi,style:no,key:fo||co.key||`slide-${uo}`})})}const Swiper=reactExports.forwardRef(function Yi(eo,to){const{className:ro,tag:no="div",wrapperTag:io="div",children:oo,onSwiper:ao,...so}=eo??{};let lo=!1;const[co,uo]=reactExports.useState("swiper"),[fo,ho]=reactExports.useState(null),[mo,vo]=reactExports.useState(!1),Co=reactExports.useRef(!1),bo=reactExports.useRef(null),wo=reactExports.useRef(null),yo=reactExports.useRef(null),Eo=reactExports.useRef(null),xo=reactExports.useRef(null),So=reactExports.useRef(null),To=reactExports.useRef(null),Ro=reactExports.useRef(null),{params:Po,passedParams:zo,rest:Ho,events:Vo}=getParams(so),{slides:Lo,slots:Uo}=getChildren(oo),Do=()=>{vo(!mo)};Object.assign(Po.on,{_containerClasses(Xo,Zo){uo(Zo)}});const Oo=()=>{var Wo;Object.assign(Po.on,Vo),lo=!0;const Xo={...Po};delete Xo.wrapperClass,wo.current=new Swiper$1(Xo);const Zo=wo.current;if(Zo.virtual&&((Wo=Zo.params.virtual)!=null&&Wo.enabled)){Zo.virtual.slides=Lo;const ta={cache:!1,slides:Lo,renderExternal:ho,renderExternalUpdate:!1};extend(Zo.params.virtual,ta),Zo.originalParams.virtual&&extend(Zo.originalParams.virtual,ta)}};bo.current||Oo(),wo.current&&wo.current.on("_beforeBreakpoint",Do);const ko=()=>{lo||!Vo||!wo.current||Object.keys(Vo).forEach(Xo=>{wo.current.on(Xo,Vo[Xo])})},Bo=()=>{!Vo||!wo.current||Object.keys(Vo).forEach(Xo=>{wo.current.off(Xo,Vo[Xo])})};reactExports.useEffect(()=>()=>{wo.current&&wo.current.off("_beforeBreakpoint",Do)}),reactExports.useEffect(()=>{!Co.current&&wo.current&&(wo.current.emitSlidesClasses(),Co.current=!0)}),useIsomorphicLayoutEffect(()=>{if(to&&(typeof to=="function"?to(bo.current):to.current=bo.current),!!bo.current)return wo.current&&wo.current.destroyed&&Oo(),mountSwiper({el:bo.current,nextEl:xo.current,prevEl:So.current,paginationEl:To.current,scrollbarEl:Ro.current,swiper:wo.current},Po),ao&&wo.current&&!wo.current.destroyed&&ao(wo.current),()=>{wo.current&&!wo.current.destroyed&&wo.current.destroy(!0,!1)}},[]),useIsomorphicLayoutEffect(()=>{ko();const Xo=getChangedParams(zo,yo.current,Lo,Eo.current,Zo=>Zo.key);return yo.current=zo,Eo.current=Lo,Xo.length&&wo.current&&!wo.current.destroyed&&updateSwiper({swiper:wo.current,slides:Lo,passedParams:zo,changedParams:Xo,nextEl:xo.current,prevEl:So.current,scrollbarEl:Ro.current,paginationEl:To.current}),()=>{Bo()}}),useIsomorphicLayoutEffect(()=>{updateOnVirtualData(wo.current)},[fo]);function Fo(){return Po.virtual?renderVirtual(wo.current,Lo,fo):Lo.map((Xo,Zo)=>React$1F.cloneElement(Xo,{swiper:wo.current,swiperSlideIndex:Zo}))}const Qo=no,jo=io;return React$1F.createElement(Qo,{ref:bo,className:uniqueClasses(`${co}${ro?` ${ro}`:""}`),...Ho},React$1F.createElement(SwiperContext.Provider,{value:wo.current},Uo["container-start"],React$1F.createElement(jo,{className:wrapperClass(Po.wrapperClass)},Uo["wrapper-start"],Fo(),Uo["wrapper-end"]),needsNavigation(Po)&&React$1F.createElement(React$1F.Fragment,null,React$1F.createElement("div",{ref:So,className:"swiper-button-prev"}),React$1F.createElement("div",{ref:xo,className:"swiper-button-next"})),needsScrollbar(Po)&&React$1F.createElement("div",{ref:Ro,className:"swiper-scrollbar"}),needsPagination(Po)&&React$1F.createElement("div",{ref:To,className:"swiper-pagination"}),Uo["container-end"]))});Swiper.displayName="Swiper";const SwiperSlide=reactExports.forwardRef(function Yi(eo,to){const{tag:ro="div",children:no,className:io="",swiper:oo,zoom:
486ao,lazy:so,virtualIndex:lo,swiperSlideIndex:co,...uo}=eo,fo=reactExports.useRef(null),[ho,mo]=reactExports.useState("swiper-slide"),[vo,Co]=reactExports.useState(!1);function bo(To,Ro,Po){Ro===fo.current&&mo(Po)}useIsomorphicLayoutEffect(()=>{if(typeof co<"u"&&fo.current&&(fo.current.swiperSlideIndex=co),to&&(typeof to=="function"?to(fo.current):to.current=fo.current),!(!fo.current||!oo)){if(oo.destroyed){ho!=="swiper-slide"&&mo("swiper-slide");return}return oo.on("_slideClass",bo),()=>{oo&&oo.off("_slideClass",bo)}}}),useIsomorphicLayoutEffect(()=>{oo&&fo.current&&!oo.destroyed&&mo(oo.getSlideClasses(fo.current))},[oo]);const wo={isActive:ho.indexOf("swiper-slide-active")>=0,isVisible:ho.indexOf("swiper-slide-visible")>=0,isFullyVisible:ho.indexOf("swiper-slide-fully-visible")>=0,isPrev:ho.indexOf("swiper-slide-prev")>=0,isNext:ho.indexOf("swiper-slide-next")>=0},yo=()=>typeof no=="function"?no(wo):no,Eo=()=>{Co(!0)},xo=To=>{To&&(To.lazyPreloaderManaged=!0)},So=ro;return React$1F.createElement(So,{ref:fo,className:uniqueClasses(`${ho}${io?` ${io}`:""}`),"data-swiper-slide-index":lo,onLoad:Eo,...uo},ao&&React$1F.createElement(SwiperSlideContext.Provider,{value:wo},React$1F.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof ao=="number"?ao:void 0},yo(),so&&!vo&&React$1F.createElement("div",{className:"swiper-lazy-preloader",ref:xo}))),!ao&&React$1F.createElement(SwiperSlideContext.Provider,{value:wo},yo(),so&&!vo&&React$1F.createElement("div",{className:"swiper-lazy-preloader",ref:xo})))});SwiperSlide.displayName="SwiperSlide";function _interopDefault$1f(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1e=_interopDefault$1f(reactExports),_extends$1i=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1e=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},SearchIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1e(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1e.createElement("svg",_extends$1i({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1e.createElement("path",{d:"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"}))},SearchIcon$1=React$1e.memo?React$1e.memo(SearchIcon):SearchIcon,SearchIcon_1=SearchIcon$1;const SearchIcon$2=getDefaultExportFromCjs(SearchIcon_1);var js$1={},Carousel$1={},lib={},reactSwipe={},hasRequiredReactSwipe;function requireReactSwipe(){return hasRequiredReactSwipe||(hasRequiredReactSwipe=1,(function(Yi){(function(eo,to){to(Yi,reactExports,propTypesExports)})(commonjsGlobal,function(eo,to,ro){Object.defineProperty(eo,"__esModule",{value:!0}),eo.setHasSupportToCaptureOption=mo;var no=oo(to),io=oo(ro);function oo(wo){return wo&&wo.__esModule?wo:{default:wo}}var ao=Object.assign||function(wo){for(var yo=1;yo<arguments.length;yo++){var Eo=arguments[yo];for(var xo in Eo)Object.prototype.hasOwnProperty.call(Eo,xo)&&(wo[xo]=Eo[xo])}return wo};function so(wo,yo){var Eo={};for(var xo in wo)yo.indexOf(xo)>=0||Object.prototype.hasOwnProperty.call(wo,xo)&&(Eo[xo]=wo[xo]);return Eo}function lo(wo,yo){if(!(wo instanceof yo))throw new TypeError("Cannot call a class as a function")}var co=(function(){function wo(yo,Eo){for(var xo=0;xo<Eo.length;xo++){var So=Eo[xo];So.enumerable=So.enumerable||!1,So.configurable=!0,"value"in So&&(So.writable=!0),Object.defineProperty(yo,So.key,So)}}return function(yo,Eo,xo){return Eo&&wo(yo.prototype,Eo),xo&&wo(yo,xo),yo}})();function uo(wo,yo){if(!wo)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
vendor: 4,747 bytes, line 486
486return yo&&(typeof yo=="object"||typeof yo=="function")?yo:wo}function fo(wo,yo){if(typeof yo!="function"&&yo!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof yo);wo.prototype=Object.create(yo&&yo.prototype,{constructor:{value:wo,enumerable:!1,writable:!0,configurable:!0}}),yo&&(Object.setPrototypeOf?Object.setPrototypeOf(wo,yo):wo.__proto__=yo)}var ho=!1;function mo(wo){ho=wo}try{addEventListener("test",null,Object.defineProperty({},"capture",{get:function(){mo(!0)}}))}catch{}function vo(){var wo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{capture:!0};return ho?wo:wo.capture}function Co(wo){if("touches"in wo){var yo=wo.touches[0],Eo=yo.pageX,xo=yo.pageY;return{x:Eo,y:xo}}var So=wo.screenX,To=wo.screenY;return{x:So,y:To}}var bo=(function(wo){fo(yo,wo);function yo(){var Eo;lo(this,yo);for(var xo=arguments.length,So=Array(xo),To=0;To<xo;To++)So[To]=arguments[To];var Ro=uo(this,(Eo=yo.__proto__||Object.getPrototypeOf(yo)).call.apply(Eo,[this].concat(So)));return Ro._handleSwipeStart=Ro._handleSwipeStart.bind(Ro),Ro._handleSwipeMove=Ro._handleSwipeMove.bind(Ro),Ro._handleSwipeEnd=Ro._handleSwipeEnd.bind(Ro),Ro._onMouseDown=Ro._onMouseDown.bind(Ro),Ro._onMouseMove=Ro._onMouseMove.bind(Ro),Ro._onMouseUp=Ro._onMouseUp.bind(Ro),Ro._setSwiperRef=Ro._setSwiperRef.bind(Ro),Ro}return co(yo,[{key:"componentDidMount",value:function(){this.swiper&&this.swiper.addEventListener("touchmove",this._handleSwipeMove,vo({capture:!0,passive:!1}))}},{key:"componentWillUnmount",value:function(){this.swiper&&this.swiper.removeEventListener("touchmove",this._handleSwipeMove,vo({capture:!0,passive:!1}))}},{key:"_onMouseDown",value:function(xo){this.props.allowMouseEvents&&(this.mouseDown=!0,document.addEventListener("mouseup",this._onMouseUp),document.addEventListener("mousemove",this._onMouseMove),this._handleSwipeStart(xo))}},{key:"_onMouseMove",value:function(xo){this.mouseDown&&this._handleSwipeMove(xo)}},{key:"_onMouseUp",value:function(xo){this.mouseDown=!1,document.removeEventListener("mouseup",this._onMouseUp),document.removeEventListener("mousemove",this._onMouseMove),this._handleSwipeEnd(xo)}},{key:"_handleSwipeStart",value:function(xo){var So=Co(xo),To=So.x,Ro=So.y;this.moveStart={x:To,y:Ro},this.props.onSwipeStart(xo)}},{key:"_handleSwipeMove",value:function(xo){if(this.moveStart){var So=Co(xo),To=So.x,Ro=So.y,Po=To-this.moveStart.x,zo=Ro-this.moveStart.y;this.moving=!0;var Ho=this.props.onSwipeMove({x:Po,y:zo},xo);Ho&&xo.cancelable&&xo.preventDefault(),this.movePosition={deltaX:Po,deltaY:zo}}}},{key:"_handleSwipeEnd",value:function(xo){this.props.onSwipeEnd(xo);var So=this.props.tolerance;this.moving&&this.movePosition&&(this.movePosition.deltaX<-So?this.props.onSwipeLeft(1,xo):this.movePosition.deltaX>So&&this.props.onSwipeRight(1,xo),this.movePosition.deltaY<-So?this.props.onSwipeUp(1,xo):this.movePosition.deltaY>So&&this.props.onSwipeDown(1,xo)),this.moveStart=null,this.moving=!1,this.movePosition=null}},{key:"_setSwiperRef",value:function(xo){this.swiper=xo,this.props.innerRef(xo)}},{key:"render",value:function(){var xo=this.props;xo.tagName;var So=xo.className,To=xo.style,Ro=xo.children;xo.allowMouseEvents,xo.onSwipeUp,xo.onSwipeDown,xo.onSwipeLeft,xo.onSwipeRight,xo.onSwipeStart,xo.onSwipeMove,xo.onSwipeEnd,xo.innerRef,xo.tolerance;var Po=so(xo,["tagName","className","style","children","allowMouseEvents","onSwipeUp","onSwipeDown","onSwipeLeft","onSwipeRight","onSwipeStart","onSwipeMove","onSwipeEnd","innerRef","tolerance"]);return no.default.createElement(this.props.tagName,ao({ref:this._setSwiperRef,onMouseDown:this._onMouseDown,onTouchStart:this._handleSwipeStart,onTouchEnd:this._handleSwipeEnd,className:So,style:To},Po),Ro)}}]),yo})(to.Component);bo.displayName="ReactSwipe",bo.propTypes={tagName:io.default.string,className:io.default.string,style:io.default.object,children:io.default.node,allowMouseEvents:io.default.bool,onSwipeUp:io.default.func,onSwipeDown:io.default.func,onSwipeLeft:io.default.func,onSwipeRight:io.default.func,onSwipeStart:io.default.func,onSwipeMove:io.default.func,onSwipeEnd:io.default.func,innerRef:io.default.func,tolerance:io.default.number.isRequired},bo.defaultProps={tagName:"div",allowMouseEvents:!1,onSwipeUp:function(){},onSwipeDown:function(){},onSwipeLeft:function(){},onSwipeRight:function(){},onSwipeStart:function(){},onSwipeMove:function(){},onSwipeEnd:function(){},innerRef:function(){},tolerance:0},eo.default=bo})})(reactSwipe)),reactSwipe}(function(Yi){(function(eo,to){to(Yi,requireReactSwipe())})(commonjsGlobal,function(eo,to){Object.defineProperty(eo,"__esModule",{value:!0});var ro=no(to);function no(io){return io&&io.__esModule?io:{default:io}}eo.default=ro.default})})(lib);
486var cssClasses={},classnames={exports:{}};/*!
487	Copyright (c) 2018 Jed Watson.
488	Licensed under the MIT License (MIT), see
489	http://jedwatson.github.io/classnames
490*/(function(Yi){(function(){var eo={}.hasOwnProperty;function to(){for(var io="",oo=0;oo<arguments.length;oo++){var ao=arguments[oo];ao&&(io=no(io,ro(ao)))}return io}function ro(io){if(typeof io=="string"||typeof io=="number")return io;if(typeof io!="object")return"";if(Array.isArray(io))return to.apply(null,io);if(io.toString!==Object.prototype.toString&&!io.toString.toString().includes("[native code]"))return io.toString();var oo="";for(var ao in io)eo.call(io,ao)&&io[ao]&&(oo=no(oo,ao));return oo}function no(io,oo){return oo?io?io+" "+oo:io+oo:io}Yi.exports?(to.default=to,Yi.exports=to):window.classNames=to})()})(classnames);var classnamesExports=classnames.exports;const cx=getDefaultExportFromCjs(classnamesExports);Object.defineProperty(cssClasses,"__esModule",{value:!0});cssClasses.default=void 0;var _classnames=_interopRequireDefault$C(classnamesExports);function _interopRequireDefault$C(Yi){return Yi&&Yi.__esModule?Yi:{default:Yi}}function _defineProperty$3(Yi,eo,to){return eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}var _default$3={ROOT:function Yi(eo){return(0,_classnames.default)(_defineProperty$3({"carousel-root":!0},eo||"",!!eo))},CAROUSEL:function Yi(eo){return(0,_classnames.default)({carousel:!0,"carousel-slider":eo})},WRAPPER:function Yi(eo,to){return(0,_classnames.default)({"thumbs-wrapper":!eo,"slider-wrapper":eo,"axis-horizontal":to==="horizontal","axis-vertical":to!=="horizontal"})},SLIDER:function Yi(eo,to){return(0,_classnames.default)({thumbs:!eo,slider:eo,animated:!to})},ITEM:function Yi(eo,to,ro){return(0,_classnames.default)({thumb:!eo,slide:eo,selected:to,previous:ro})},ARROW_PREV:function Yi(eo){return(0,_classnames.default)({"control-arrow control-prev":!0,"control-disabled":eo})},ARROW_NEXT:function Yi(eo){return(0,_classnames.default)({"control-arrow control-next":!0,"control-disabled":eo})},DOT:function Yi(eo){return(0,_classnames.default)({dot:!0,selected:eo})}};cssClasses.default=_default$3;var Thumbs$1={},dimensions={};Object.defineProperty(dimensions,"__esModule",{value:!0});dimensions.outerWidth=void 0;var outerWidth=function Yi(eo){var to=eo.offsetWidth,ro=getComputedStyle(eo);return to+=parseInt(ro.marginLeft)+parseInt(ro.marginRight),to};dimensions.outerWidth=outerWidth;var CSSTranslate={};Object.defineProperty(CSSTranslate,"__esModule",{value:!0});CSSTranslate.default=void 0;var _default$2=function Yi(eo,to,ro){var no=eo===0?eo:eo+to,io=ro==="horizontal"?[no,0,0]:[0,no,0],oo="translate3d",ao="("+io.join(",")+")";return oo+ao};CSSTranslate.default=_default$2;var window$1={};Object.defineProperty(window$1,"__esModule",{value:!0});window$1.default=void 0;var _default$1=function Yi(){return window};window$1.default=_default$1;Object.defineProperty(Thumbs$1,"__esModule",{value:!0});Thumbs$1.default=void 0;var _react$3=_interopRequireWildcard$1(reactExports),_cssClasses$1=_interopRequireDefault$B(cssClasses),_dimensions=dimensions,_CSSTranslate$2=_interopRequireDefault$B(CSSTranslate),_reactEasySwipe$1=_interopRequireDefault$B(lib),_window$1=_interopRequireDefault$B(window$1);function _interopRequireDefault$B(Yi){return Yi&&Yi.__esModule?Yi:{default:Yi}}function _getRequireWildcardCache$1(){if(typeof WeakMap!="function")return null;var Yi=new WeakMap;return _getRequireWildcardCache$1=function(){return Yi},Yi}function _interopRequireWildcard$1(Yi){if(Yi&&Yi.__esModule)return Yi;if(Yi===null||_typeof$2(Yi)!=="object"&&typeof Yi!="function")return{default:Yi};var eo=_getRequireWildcardCache$1();if(eo&&eo.has(Yi))return eo.get(Yi);var to={},ro=Object.defineProperty&&Object.getOwnPropertyDescriptor;
vendor: 8,845 bytes, line 490
490for(var no in Yi)if(Object.prototype.hasOwnProperty.call(Yi,no)){var io=ro?Object.getOwnPropertyDescriptor(Yi,no):null;io&&(io.get||io.set)?Object.defineProperty(to,no,io):to[no]=Yi[no]}return to.default=Yi,eo&&eo.set(Yi,to),to}function _typeof$2(Yi){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$2=function(to){return typeof to}:_typeof$2=function(to){return to&&typeof Symbol=="function"&&to.constructor===Symbol&&to!==Symbol.prototype?"symbol":typeof to},_typeof$2(Yi)}function _extends$1h(){return _extends$1h=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1h.apply(this,arguments)}function _classCallCheck$1(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties$1(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,ro.key,ro)}}function _createClass$1(Yi,eo,to){return eo&&_defineProperties$1(Yi.prototype,eo),Yi}function _inherits$1(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function");Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,writable:!0,configurable:!0}}),eo&&_setPrototypeOf$2(Yi,eo)}function _setPrototypeOf$2(Yi,eo){return _setPrototypeOf$2=Object.setPrototypeOf||function(ro,no){return ro.__proto__=no,ro},_setPrototypeOf$2(Yi,eo)}function _createSuper$1(Yi){var eo=_isNativeReflectConstruct$1();return function(){var ro=_getPrototypeOf$1(Yi),no;if(eo){var io=_getPrototypeOf$1(this).constructor;no=Reflect.construct(ro,arguments,io)}else no=ro.apply(this,arguments);return _possibleConstructorReturn$1(this,no)}}function _possibleConstructorReturn$1(Yi,eo){return eo&&(_typeof$2(eo)==="object"||typeof eo=="function")?eo:_assertThisInitialized$2(Yi)}function _assertThisInitialized$2(Yi){if(Yi===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yi}function _isNativeReflectConstruct$1(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function _getPrototypeOf$1(Yi){return _getPrototypeOf$1=Object.setPrototypeOf?Object.getPrototypeOf:function(to){return to.__proto__||Object.getPrototypeOf(to)},_getPrototypeOf$1(Yi)}function _defineProperty$2(Yi,eo,to){return eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}var isKeyboardEvent$1=function Yi(eo){return eo.hasOwnProperty("key")},Thumbs=(function(Yi){_inherits$1(to,Yi);var eo=_createSuper$1(to);function to(ro){var no;return _classCallCheck$1(this,to),no=eo.call(this,ro),_defineProperty$2(_assertThisInitialized$2(no),"itemsWrapperRef",void 0),_defineProperty$2(_assertThisInitialized$2(no),"itemsListRef",void 0),_defineProperty$2(_assertThisInitialized$2(no),"thumbsRef",void 0),_defineProperty$2(_assertThisInitialized$2(no),"setItemsWrapperRef",function(io){no.itemsWrapperRef=io}),_defineProperty$2(_assertThisInitialized$2(no),"setItemsListRef",function(io){no.itemsListRef=io}),_defineProperty$2(_assertThisInitialized$2(no),"setThumbsRef",function(io,oo){no.thumbsRef||(no.thumbsRef=[]),no.thumbsRef[oo]=io}),_defineProperty$2(_assertThisInitialized$2(no),"updateSizes",function(){if(!(!no.props.children||!no.itemsWrapperRef||!no.thumbsRef)){var io=_react$3.Children.count(no.props.children),oo=no.itemsWrapperRef.clientWidth,ao=no.props.thumbWidth?no.props.thumbWidth:(0,_dimensions.outerWidth)(no.thumbsRef[0]),so=Math.floor(oo/ao),lo=so<io,co=lo?io-so:0;no.setState(function(uo,fo){return{itemSize:ao,visibleItems:so,firstItem:lo?no.getFirstItem(fo.selectedItem):0,lastPosition:co,showArrows:lo}})}}),_defineProperty$2(_assertThisInitialized$2(no),"handleClickItem",function(io,oo,ao){if(!isKeyboardEvent$1(ao)||ao.key==="Enter"){var so=no.props.onSelectItem;typeof so=="function"&&so(io,oo)}}),_defineProperty$2(_assertThisInitialized$2(no),"onSwipeStart",function(){no.setState({swiping:!0})}),_defineProperty$2(_assertThisInitialized$2(no),"onSwipeEnd",function(){no.setState({swiping:!1})}),_defineProperty$2(_assertThisInitialized$2(no),"onSwipeMove",function(io){var oo=io.x;if(!no.state.itemSize||!no.itemsWrapperRef||!no.state.visibleItems)return!1;var ao=0,so=_react$3.Children.count(no.props.children),lo=-(no.state.firstItem*100)/no.state.visibleItems,co=Math.max(so-no.state.visibleItems,0),uo=-co*100/no.state.visibleItems;lo===ao&&oo>0&&(oo=0),lo===uo&&oo<0&&(oo=0);var fo=no.itemsWrapperRef.clientWidth,ho=lo+100/(fo/oo);return no.itemsListRef&&["WebkitTransform","MozTransform","MsTransform","OTransform","transform","msTransform"].forEach(function(mo){no.itemsListRef.style[mo]=(0,_CSSTranslate$2.default)(ho,"%",no.props.axis)}),!0}),_defineProperty$2(_assertThisInitialized$2(no),"slideRight",function(io){no.moveTo(no.state.firstItem-(typeof io=="number"?io:1))}),_defineProperty$2(_assertThisInitialized$2(no),"slideLeft",function(io){no.moveTo(no.state.firstItem+(typeof io=="number"?io:1))}),_defineProperty$2(_assertThisInitialized$2(no),"moveTo",function(io){io=io<0?0:io,io=io>=no.state.lastPosition?no.state.lastPosition:io,no.setState({firstItem:io})}),no.state={selectedItem:ro.selectedItem,swiping:!1,showArrows:!1,firstItem:0,visibleItems:0,lastPosition:0},no}return _createClass$1(to,[{key:"componentDidMount",value:function(){this.setupThumbs()}},{key:"componentDidUpdate",value:function(no){this.props.selectedItem!==this.state.selectedItem&&this.setState({selectedItem:this.props.selectedItem,firstItem:this.getFirstItem(this.props.selectedItem)}),this.props.children!==no.children&&this.updateSizes()}},{key:"componentWillUnmount",value:function(){this.destroyThumbs()}},{key:"setupThumbs",value:function(){(0,_window$1.default)().addEventListener("resize",this.updateSizes),(0,_window$1.default)().addEventListener("DOMContentLoaded",this.updateSizes),this.updateSizes()}},{key:"destroyThumbs",value:function(){(0,_window$1.default)().removeEventListener("resize",this.updateSizes),(0,_window$1.default)().removeEventListener("DOMContentLoaded",this.updateSizes)}},{key:"getFirstItem",value:function(no){var io=no;return no>=this.state.lastPosition&&(io=this.state.lastPosition),no<this.state.firstItem+this.state.visibleItems&&(io=this.state.firstItem),no<this.state.firstItem&&(io=no),io}},{key:"renderItems",value:function(){var no=this;return this.props.children.map(function(io,oo){var ao=_cssClasses$1.default.ITEM(!1,oo===no.state.selectedItem),so={key:oo,ref:function(co){return no.setThumbsRef(co,oo)},className:ao,onClick:no.handleClickItem.bind(no,oo,no.props.children[oo]),onKeyDown:no.handleClickItem.bind(no,oo,no.props.children[oo]),"aria-label":"".concat(no.props.labels.item," ").concat(oo+1),style:{width:no.props.thumbWidth}};return _react$3.default.createElement("li",_extends$1h({},so,{role:"button",tabIndex:0}),io)})}},{key:"render",value:function(){var no=this;if(!this.props.children)return null;var io=_react$3.Children.count(this.props.children)>1,oo=this.state.showArrows&&this.state.firstItem>0,ao=this.state.showArrows&&this.state.firstItem<this.state.lastPosition,so={},lo=-this.state.firstItem*(this.state.itemSize||0),co=(0,_CSSTranslate$2.default)(lo,"px",this.props.axis),uo=this.props.transitionTime+"ms";return so={WebkitTransform:co,MozTransform:co,MsTransform:co,OTransform:co,transform:co,msTransform:co,WebkitTransitionDuration:uo,MozTransitionDuration:uo,MsTransitionDuration:uo,OTransitionDuration:uo,transitionDuration:uo,msTransitionDuration:uo},_react$3.default.createElement("div",{className:_cssClasses$1.default.CAROUSEL(!1)},_react$3.default.createElement("div",{className:_cssClasses$1.default.WRAPPER(!1),ref:this.setItemsWrapperRef},_react$3.default.createElement("button",{type:"button",className:_cssClasses$1.default.ARROW_PREV(!oo),onClick:function(){return no.slideRight()},"aria-label":this.props.labels.leftArrow}),io?_react$3.default.createElement(_reactEasySwipe$1.default,{tagName:"ul",className:_cssClasses$1.default.SLIDER(!1,this.state.swiping),onSwipeLeft:this.slideLeft,onSwipeRight:this.slideRight,onSwipeMove:this.onSwipeMove,onSwipeStart:this.onSwipeStart,onSwipeEnd:this.onSwipeEnd,style:so,innerRef:this.setItemsListRef,allowMouseEvents:this.props.emulateTouch},this.renderItems()):_react$3.default.createElement("ul",{className:_cssClasses$1.default.SLIDER(!1,this.state.swiping),ref:function(ho){return no.setItemsListRef(ho)},style:so},this.renderItems()),_react$3.default.createElement("button",{type:"button",className:_cssClasse
490s$1.default.ARROW_NEXT(!ao),onClick:function(){return no.slideLeft()},"aria-label":this.props.labels.rightArrow})))}}]),to})(_react$3.Component);Thumbs$1.default=Thumbs;_defineProperty$2(Thumbs,"displayName","Thumbs");_defineProperty$2(Thumbs,"defaultProps",{axis:"horizontal",labels:{leftArrow:"previous slide / item",rightArrow:"next slide / item",item:"slide item"},selectedItem:0,thumbWidth:80,transitionTime:350});var document$1={};Object.defineProperty(document$1,"__esModule",{value:!0});document$1.default=void 0;var _default=function Yi(){return document};document$1.default=_default;var utils$2={};Object.defineProperty(utils$2,"__esModule",{value:!0});utils$2.setPosition=utils$2.getPosition=utils$2.isKeyboardEvent=utils$2.defaultStatusFormatter=utils$2.noop=void 0;var _react$2=reactExports,_CSSTranslate$1=_interopRequireDefault$A(CSSTranslate);function _interopRequireDefault$A(Yi){return Yi&&Yi.__esModule?Yi:{default:Yi}}var noop$1=function Yi(){};utils$2.noop=noop$1;var defaultStatusFormatter=function Yi(eo,to){return"".concat(eo," of ").concat(to)};utils$2.defaultStatusFormatter=defaultStatusFormatter;var isKeyboardEvent=function Yi(eo){return eo?eo.hasOwnProperty("key"):!1};utils$2.isKeyboardEvent=isKeyboardEvent;var getPosition=function Yi(eo,to){if(to.infiniteLoop&&++eo,eo===0)return 0;var ro=_react$2.Children.count(to.children);if(to.centerMode&&to.axis==="horizontal"){var no=-eo*to.centerSlidePercentage,io=ro-1;return eo&&(eo!==io||to.infiniteLoop)?no+=(100-to.centerSlidePercentage)/2:eo===io&&(no+=100-to.centerSlidePercentage),no}return-eo*100};utils$2.getPosition=getPosition;var setPosition=function Yi(eo,to){var ro={};return["WebkitTransform","MozTransform","MsTransform","OTransform","transform","msTransform"].forEach(function(no){ro[no]=(0,_CSSTranslate$1.default)(eo,"%",to)}),ro};utils$2.setPosition=setPosition;var animations={};Object.defineProperty(animations,"__esModule",{value:!0});animations.fadeAnimationHandler=animations.slideStopSwipingHandler=animations.slideSwipeAnimationHandler=animations.slideAnimationHandler=void 0;var _react$1=reactExports,_CSSTranslate=_interopRequireDefault$z(CSSTranslate),_utils$1=utils$2;function _interopRequireDefault$z(Yi){return Yi&&Yi.__esModule?Yi:{default:Yi}}function ownKeys$1(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread$1(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys$1(Object(to),!0).forEach(function(ro){_defineProperty$1(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys$1(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _defineProperty$1(Yi,eo,to){return eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}var slideAnimationHandler=function Yi(eo,to){var ro={},no=to.selectedItem,io=no,oo=_react$1.Children.count(eo.children)-1,ao=eo.infiniteLoop&&(no<0||no>oo);if(ao)return io<0?eo.centerMode&&eo.centerSlidePercentage&&eo.axis==="horizontal"?ro.itemListStyle=(0,_utils$1.setPosition)(-(oo+2)*eo.centerSlidePercentage-(100-eo.centerSlidePercentage)/2,eo.axis):ro.itemListStyle=(0,_utils$1.setPosition)(-(oo+2)*100,eo.axis):io>oo&&(ro.itemListStyle=(0,_utils$1.setPosition)(0,eo.axis)),ro;var so=(0,_utils$1.getPosition)(no,eo),lo=(0,_CSSTranslate.default)(so,"%",eo.axis),co=eo.transitionTime+"ms";return ro.itemListStyle={WebkitTransform:lo,msTransform:lo,OTransform:lo,transform:lo},to.swiping||(ro.itemListStyle=_objectSpread$1(_objectSpread$1({},ro.itemListStyle),{},{WebkitTransitionDuration:co,MozTransitionDuration:co,OTransitionDuration:co,transitionDuration:co,msTransitionDuration:co})),ro};animations.slideAnimationHandler=slideAnimationHandler;var slideSwipeAnimationHandler=function Yi(eo,to,ro,no){var io={},oo=to.axis==="horizontal",ao=_react$1.Children.count(to.children),so=0,lo=(0,_utils$1.getPosition)(ro.selectedItem,to),co=to.infiniteLoop?(0,_utils$1.getPosition)(ao-1,to)-100:(0,_utils$1.getPosition)(ao-1,to),uo=oo?eo.x:eo.y,fo=uo;lo===so&&uo>0&&(fo=0),lo===co&&uo<0&&(fo=0);var ho=lo+100/(ro.itemSize/fo),mo=Math.abs(uo)>to.swipeScrollTolerance;return to.infiniteLoop&&mo&&(ro.selectedItem===0&&ho>-100?ho-=ao*100:ro.selectedItem===ao-1&&ho<-ao*100&&(ho+=ao*100)),(!to.preventMovementUntilSwipeScrollTolerance||mo||ro.swipeMovementStarted)&&(ro.swipeMovementStarted||no({swipeMovementStarted:!0}),io.itemListStyle=(0,_utils$1.setPosition)(ho,to.axis)),mo&&!ro.cancelClick&&no({cancelClick:!0}),io};animations.slideSwipeAnimationHandler=slideSwipeAnimationHandler;var slideStopSwipingHandler=function Yi(eo,to){var ro=(0,_utils$1.getPosition)(to.selectedItem,eo),no=(0,_utils$1.setPosition)(ro,eo.axis);return{itemListStyle:no}};animations.slideStopSwipingHandler=slideStopSwipingHandler;var fadeAnimationHandler=function Yi(eo,to){var ro=eo.transitionTime+"ms",no="ease-in-out",io={position:"absolute",display:"block",zIndex:-2,minHeight:"100%",opacity:0,top:0,right:0,left:0,bottom:0,transitionTimingFunction:no,msTransitionTimingFunction:no,MozTransitionTimingFunction:no,WebkitTransitionTimingFunction:no,OTransitionTimingFunction:no};return to.swiping||(io=_objectSpread$1(_objectSpread$1({},io),{},{WebkitTransitionDuration:ro,MozTransitionDuration:ro,OTransitionDuration:ro,transitionDuration:ro,msTransitionDuration:ro})),{slideStyle:io,selectedStyle:_objectSpread$1(_objectSpread$1({},io),{},{opacity:1,position:"relative"}),prevStyle:_objectSpread$1({},io)}};animations.fadeAnimationHandler=fadeAnimationHandler;Object.defineProperty(Carousel$1,"__esModule",{value:!0});Carousel$1.default=void 0;var _react=_interopRequireWildcard(reactExports),_reactEasySwipe=_interopRequireDefault$y(lib),_cssClasse
vendor: 17,536 bytes, line 490
490s=_interopRequireDefault$y(cssClasses),_Thumbs=_interopRequireDefault$y(Thumbs$1),_document=_interopRequireDefault$y(document$1),_window=_interopRequireDefault$y(window$1),_utils=utils$2,_animations=animations;function _interopRequireDefault$y(Yi){return Yi&&Yi.__esModule?Yi:{default:Yi}}function _getRequireWildcardCache(){if(typeof WeakMap!="function")return null;var Yi=new WeakMap;return _getRequireWildcardCache=function(){return Yi},Yi}function _interopRequireWildcard(Yi){if(Yi&&Yi.__esModule)return Yi;if(Yi===null||_typeof$1(Yi)!=="object"&&typeof Yi!="function")return{default:Yi};var eo=_getRequireWildcardCache();if(eo&&eo.has(Yi))return eo.get(Yi);var to={},ro=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var no in Yi)if(Object.prototype.hasOwnProperty.call(Yi,no)){var io=ro?Object.getOwnPropertyDescriptor(Yi,no):null;io&&(io.get||io.set)?Object.defineProperty(to,no,io):to[no]=Yi[no]}return to.default=Yi,eo&&eo.set(Yi,to),to}function _typeof$1(Yi){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$1=function(to){return typeof to}:_typeof$1=function(to){return to&&typeof Symbol=="function"&&to.constructor===Symbol&&to!==Symbol.prototype?"symbol":typeof to},_typeof$1(Yi)}function _extends$1g(){return _extends$1g=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1g.apply(this,arguments)}function ownKeys(Yi,eo){var to=Object.keys(Yi);if(Object.getOwnPropertySymbols){var ro=Object.getOwnPropertySymbols(Yi);eo&&(ro=ro.filter(function(no){return Object.getOwnPropertyDescriptor(Yi,no).enumerable})),to.push.apply(to,ro)}return to}function _objectSpread(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo]!=null?arguments[eo]:{};eo%2?ownKeys(Object(to),!0).forEach(function(ro){_defineProperty(Yi,ro,to[ro])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Yi,Object.getOwnPropertyDescriptors(to)):ownKeys(Object(to)).forEach(function(ro){Object.defineProperty(Yi,ro,Object.getOwnPropertyDescriptor(to,ro))})}return Yi}function _classCallCheck(Yi,eo){if(!(Yi instanceof eo))throw new TypeError("Cannot call a class as a function")}function _defineProperties(Yi,eo){for(var to=0;to<eo.length;to++){var ro=eo[to];ro.enumerable=ro.enumerable||!1,ro.configurable=!0,"value"in ro&&(ro.writable=!0),Object.defineProperty(Yi,ro.key,ro)}}function _createClass(Yi,eo,to){return eo&&_defineProperties(Yi.prototype,eo),Yi}function _inherits(Yi,eo){if(typeof eo!="function"&&eo!==null)throw new TypeError("Super expression must either be null or a function");Yi.prototype=Object.create(eo&&eo.prototype,{constructor:{value:Yi,writable:!0,configurable:!0}}),eo&&_setPrototypeOf$1(Yi,eo)}function _setPrototypeOf$1(Yi,eo){return _setPrototypeOf$1=Object.setPrototypeOf||function(ro,no){return ro.__proto__=no,ro},_setPrototypeOf$1(Yi,eo)}function _createSuper(Yi){var eo=_isNativeReflectConstruct();return function(){var ro=_getPrototypeOf(Yi),no;if(eo){var io=_getPrototypeOf(this).constructor;no=Reflect.construct(ro,arguments,io)}else no=ro.apply(this,arguments);return _possibleConstructorReturn(this,no)}}function _possibleConstructorReturn(Yi,eo){return eo&&(_typeof$1(eo)==="object"||typeof eo=="function")?eo:_assertThisInitialized$1(Yi)}function _assertThisInitialized$1(Yi){if(Yi===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yi}function _isNativeReflectConstruct(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function _getPrototypeOf(Yi){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(to){return to.__proto__||Object.getPrototypeOf(to)},_getPrototypeOf(Yi)}function _defineProperty(Yi,eo,to){return eo in Yi?Object.defineProperty(Yi,eo,{value:to,enumerable:!0,configurable:!0,writable:!0}):Yi[eo]=to,Yi}var Carousel=(function(Yi){_inherits(to,Yi);var eo=_createSuper(to);function to(ro){var no;_classCallCheck(this,to),no=eo.call(this,ro),_defineProperty(_assertThisInitialized$1(no),"thumbsRef",void 0),_defineProperty(_assertThisInitialized$1(no),"carouselWrapperRef",void 0),_defineProperty(_assertThisInitialized$1(no),"listRef",void 0),_defineProperty(_assertThisInitialized$1(no),"itemsRef",void 0),_defineProperty(_assertThisInitialized$1(no),"timer",void 0),_defineProperty(_assertThisInitialized$1(no),"animationHandler",void 0),_defineProperty(_assertThisInitialized$1(no),"setThumbsRef",function(oo){no.thumbsRef=oo}),_defineProperty(_assertThisInitialized$1(no),"setCarouselWrapperRef",function(oo){no.carouselWrapperRef=oo}),_defineProperty(_assertThisInitialized$1(no),"setListRef",function(oo){no.listRef=oo}),_defineProperty(_assertThisInitialized$1(no),"setItemsRef",function(oo,ao){no.itemsRef||(no.itemsRef=[]),no.itemsRef[ao]=oo}),_defineProperty(_assertThisInitialized$1(no),"autoPlay",function(){_react.Children.count(no.props.children)<=1||(no.clearAutoPlay(),no.props.autoPlay&&(no.timer=setTimeout(function(){no.increment()},no.props.interval)))}),_defineProperty(_assertThisInitialized$1(no),"clearAutoPlay",function(){no.timer&&clearTimeout(no.timer)}),_defineProperty(_assertThisInitialized$1(no),"resetAutoPlay",function(){no.clearAutoPlay(),no.autoPlay()}),_defineProperty(_assertThisInitialized$1(no),"stopOnHover",function(){no.setState({isMouseEntered:!0},no.clearAutoPlay)}),_defineProperty(_assertThisInitialized$1(no),"startOnLeave",function(){no.setState({isMouseEntered:!1},no.autoPlay)}),_defineProperty(_assertThisInitialized$1(no),"isFocusWithinTheCarousel",function(){return no.carouselWrapperRef?!!((0,_document.default)().activeElement===no.carouselWrapperRef||no.carouselWrapperRef.contains((0,_document.default)().activeElement)):!1}),_defineProperty(_assertThisInitialized$1(no),"navigateWithKeyboard",function(oo){if(no.isFocusWithinTheCarousel()){var ao=no.props.axis,so=ao==="horizontal",lo={ArrowUp:38,ArrowRight:39,ArrowDown:40,ArrowLeft:37},co=so?lo.ArrowRight:lo.ArrowDown,uo=so?lo.ArrowLeft:lo.ArrowUp;co===oo.keyCode?no.increment():uo===oo.keyCode&&no.decrement()}}),_defineProperty(_assertThisInitialized$1(no),"updateSizes",function(){if(!(!no.state.initialized||!no.itemsRef||no.itemsRef.length===0)){var oo=no.props.axis==="horizontal",ao=no.itemsRef[0];if(ao){var so=oo?ao.clientWidth:ao.clientHeight;no.setState({itemSize:so}),no.thumbsRef&&no.thumbsRef.updateSizes()}}}),_defineProperty(_assertThisInitialized$1(no),"setMountState",function(){no.setState({hasMount:!0}),no.updateSizes()}),_defineProperty(_assertThisInitialized$1(no),"handleClickItem",function(oo,ao){if(_react.Children.count(no.props.children)!==0){if(no.state.cancelClick){no.setState({cancelClick:!1});return}no.props.onClickItem(oo,ao),oo!==no.state.selectedItem&&no.setState({selectedItem:oo})}}),_defineProperty(_assertThisInitialized$1(no),"handleOnChange",function(oo,ao){_react.Children.count(no.props.children)<=1||no.props.onChange(oo,ao)}),_defineProperty(_assertThisInitialized$1(no),"handleClickThumb",function(oo,ao){no.props.onClickThumb(oo,ao),no.moveTo(oo)}),_defineProperty(_assertThisInitialized$1(no),"onSwipeStart",function(oo){no.setState({swiping:!0}),no.props.onSwipeStart(oo)}),_defineProperty(_assertThisInitialized$1(no),"onSwipeEnd",function(oo){no.setState({swiping:!1,cancelClick:!1,swipeMovementStarted:!1}),no.props.onSwipeEnd(oo),no.clearAutoPlay(),no.state.autoPlay&&no.autoPlay()}),_defineProperty(_assertThisInitialized$1(no),"onSwipeMove",function(oo,ao){no.props.onSwipeMove(ao);var so=no.props.swipeAnimationHandler(oo,no.props,no.state,no.setState.bind(_assertThisInitialized$1(no)));return no.setState(_objectSpread({},so)),!!Object.keys(so).length}),_defineProperty(_assertThisInitialized$1(no),"decrement",function(){var oo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;no.moveTo(no.state.selectedItem-(typeof oo=="number"?oo:1))}),_defineProperty(_assertThisInitialized$1(no),"increment",function(){var oo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;no.moveTo(no.state.selectedItem+(typeof oo=="number"?oo:1))}),_defineProperty(_assertThisInitialized$1(no),"moveTo",function(oo){if(typeof oo=="number"){var ao=_react.Children.count(no.props.children)-1;oo<0&&(oo=no.props.infiniteLoop?ao:0),oo>ao&&(oo=no.props.infiniteLoop?0:ao),no.selectItem({selectedItem:oo}),no.state.autoPlay&&no.state.isMouseEntered===!1&&no.resetAutoPlay()}}),_defineProperty(_assertThisInitialized$1(no),"onClickNext",function(){no.increment(1)}),_defineProperty(_assertThisInitialized$1(no),"onClickPrev",function(){no.decrement(1)}),_defineProperty(_assertThisInitialized$1(no),"onSwipeForward",function(){no.increment(1),no.props.emulateTouch&&no.setState({cancelClick:!0})}),_defineProperty(_assertThisInitialized$1(no),"onSwipeBackwards",function(){no.decrement(1),no.props.emulateTouch&&no.setState({cancelClick:!0})}),_defineProperty(_assertThisInitialized$1(no),"changeItem",function(oo){return function(ao){(!(0,_utils.isKeyboardEvent)(ao)||ao.key==="Enter")&&no.moveTo(oo)}}),_defineProperty(_assertThisInitialized$1(no),"selectItem",function(oo){no.setState(_objectSpread({previousItem:no.state.selectedItem},oo),function(){no.setState(no.animationHandler(no.props,no.state))}),no.handleOnChange(oo.selectedItem,_react.Children.toArray(no.props.children)[oo.selectedItem])}),_defineProperty(_assertThisInitialized$1(no),"getInitialImage",function(){var oo=no.props.selectedItem,ao=no.itemsRef&&no.itemsRef[oo],so=ao&&ao.getElementsByTagName("img")||[];return so[0]}),_defineProperty(_assertThisInitialized$1(no),"getVariableItemHeight",function(oo){var ao=no.itemsRef&&no.itemsRef[oo];if(no.state.hasMount&&ao&&ao.children.length){var so=ao.children[0].getElementsByTagName("img")||[];if(so.length>0){var lo=so[0];if(!lo.complete){var co=function ho(){no.forceUpdate(),lo.removeEventListener("load",ho)};lo.addEventListener("load",co)}}var uo=so[0]||ao.children[0],fo=uo.clientHeight;return fo>0?fo:null}return null});var io={initialized:!1,previousItem:ro.selectedItem,selectedItem:ro.selectedItem,hasMount:!1,isMouseEntered:!1,autoPlay:ro.autoPlay,swiping:!1,swipeMovementStarted:!1,cancelClick:!1,itemSize:1,itemListStyle:{},slideStyle:{},selectedStyle:{},prevStyle:{}};return no.animationHandler=typeof ro.animationHandler=="function"&&ro.animationHandler||ro.animationHandler==="fade"&&_animations.fadeAnimationHandler||_animations.slideAnimationHandler,no.state=_objectSpread(_objectSpread({},io),no.animationHandler(ro,io)),no}return _createClass(to,[{key:"componentDidMount",value:function(){this.props.children&&this.setupCarousel()}},{key:"componentDidUpdate",value:function(no,io){!no.children&&this.props.children&&!this.state.initialized&&this.setupCarousel(),!no.autoFocus&&this.props.autoFocus&&this.forceFocus(),io.swiping&&!this.state.swiping&&this.setState(_objectSpread({},this.props.stopSwipingHandler(this.props,this.state))),(no.selectedItem!==this.props.selectedItem||no.centerMode!==this.props.centerMode)&&(this.updateSizes(),this.moveTo(this.props.selectedItem)),no.autoPlay!==this.props.autoPlay&&(this.props.autoPlay?this.setupAutoPlay():this.destroyAutoPlay(),this.setState({autoPlay:this.props.autoPlay}))}},{key:"componentWillUnmount",value:function(){this.destroyCarousel()}},{key:"setupCarousel",value:function(){var no=this;this.bindEvents(),this.state.autoPlay&&_react.Children.count(this.props.children)>1&&this.setupAutoPlay(),this.props.autoFocus&&this.forceFocus(),this.setState({initialized:!0},function(){var io=no.getInitialImage();io&&!io.complete?io.addEventListener("load",no.setMountState):no.setMountState()})}},{key:"destroyCarousel",value:function(){this.state.initialized&&(this.unbindEvents(),this.destroyAutoPlay())}},{key:"setupAutoPlay",value:function(){this.autoPlay();var no=this.carouselWrapperRef;this.props.stopOnHover&&no&&(no.addEventListener("mouseenter",this.stopOnHover),no.addEventListener("mouseleave",this.startOnLeave))}},{key:"destroyAutoPlay",value:function(){this.clearAutoPlay();var no=this.carouselWrapperRef;this.props.stopOnHover&&no&&(no.removeEventListener("mouseenter",this.stopOnHover),no.removeEventListener("mouseleave",this.startOnLeave))}},{key:"bindEvents",value:function(){(0,_window.default)().addEventListener("resize",this.updateSizes),(0,_window.default)().addEventListener("DOMContentLoaded",this.updateSizes),this.props.useKeyboardArrows&&(0,_document.default)().addEventListener("keydown",this.navigateWithKeyboard)}},{key:"unbindEvents",value:function(){(0,_window.default)().removeEventListener("resize",this.updateSizes),(0,_window.default)().removeEventListener("DOMContentLoaded",this.updateSizes);var no=this.getInitialImage();no&&no.removeEventListener("load",this.setMountState),this.props.useKeyboardArrows&&(0,_document.default)().removeEventListener("keydown",this.navigateWithKeyboard)}},{key:"forceFocus",value:function(){var no;(no=this.carouselWrapperRef)===null||no===void 0||no.focus()}},{key:"renderItems",value:function(no){var io=this;return this.props.children?_react.Children.map(this.props.children,function(oo,ao){var so=ao===io.state.selectedItem,lo=ao===io.state.previousItem,co=so&&io.state.selectedStyle||lo&&io.state.prevStyle||io.state.slideStyle||{};io.props.centerMode&&io.props.axis==="horizontal"&&(co=_objectSpread(_objectSpread({},co),{},{minWidth:io.props.centerSlidePercentage+"%"})),io.state.swiping&&io.state.swipeMovementStarted&&(co=_objectSpread(_objectSpread({},co),{},{pointerEvents:"none"}));var uo={ref:function(ho){return io.setItemsRef(ho,ao)},key:"itemKey"+ao+(no?"clone":""),className:_cssClasses.default.ITEM(!0,ao===io.state.selectedItem,ao===io.state.previousItem),onClick:io.handleClickItem.bind(io,ao,oo),style:co};return _react.default.createElement("li",uo,io.props.renderItem(oo,{isSelected:ao===io.state.selectedItem,isPrevious:ao===io.state.previousItem}))}):[]}},{key:"renderControls",value:function(){var no=this,io=this.props,oo=io.showIndicators,ao=io.labels,so=io.renderIndicator,lo=io.children;return oo?_react.default.createElement("ul",{className:"control-dots"},_react.Children.map(lo,function(co,uo){return so&&so(no.changeItem(uo),uo===no.state.selectedItem,uo,ao.item)})):null}},{key:"renderStatus",value:function(){return this.props.showStatus?_react.default.createElement("p",{className:"carousel-status"},this.props.statusFormatter(this.state.selectedItem+1,_react.Children.count(this.props.children))):null}},{key:"renderThumbs",value:function(){return!this.props.showThumbs||!this.props.children||_react.Children.count(this.props.children)===0?null:_react.default.createElement(_Thumbs.default,{ref:this.setThumbsRef,onSelectItem:this.handleClickThumb,selectedItem:this.state.selectedItem,transitionTime:this.props.transitionTime,thumbWidth:this.props.thumbWidth,labels:this.props.labels,emulateTouch:this.props.emulateTouch},this.props.renderThumbs(this.props.children))}},{key:"render",value:function(){var no=this;if(!this.props.children||_react.Children.count(this.props.children)===0)return null;var io=this.props.swipeable&&_react.Children.count(this.props.children)>1,oo=this.props.axis==="horizontal",ao=this.props.showArrows&&_react.Children.count(this.props.children)>1,so=ao&&(this.state.selectedItem>0||this.props.infiniteLoop)||!1,lo=ao&&(this.state.selectedItem<_react.Children.count(this.props.children)-1||this.props.infiniteLoop)||!1,co=this.renderItems(!0),uo=co.shift(),fo=co.pop(),ho={className:_cssClasses.default.SLIDER(!0,this.state.swiping),onSwipeMove:this.onSwipeMove,onSwipeStart:this.onSwipeStart,onSwipeEnd:this.onSwipeEnd,style:this.state.itemListStyle,tolerance:this.props.swipeScrollTolerance},mo={};if(oo){if(ho.onSwipeLeft=this.onSwipeForward,ho.onSwipeRight=this.onSwipeBackwards,this.props.dynamicHeight){var vo=this.getVariableItemHeight(this.state.selectedItem);mo.height=vo||"auto"}}else ho.onSwipeUp=this.props.verticalSwipe==="natural"?this.onSwipeBackwards:this.onSwipeForward,ho.onSwipeDown=this.props.verticalSwipe==="natural"?this.onSwipeForward:this.onSwipeBackwards,ho.style=_objectSpread(_objectSpread({},ho.style),{},{height:this.state.itemSize}),mo.height=this.state.itemSize;return _react.default.createElement("div",{"aria-label":this.props.ariaLabel,className:_cssClasses.default.ROOT(this.props.className),ref:this.setCarouselWrapperRef,tabIndex:this.props.useKeyboardArrows?0:void 0},_react.default.createElement("div",{className:_cssClasses.default.CAROUSEL(!0),style:{width:this.props.width}},this.renderControls(),this.props.renderArrowPrev(this.onClickPrev,so,this.props.labels.leftArrow),_react.default.createElement("div",{className:_cssClasses.default.WRAPPER(!0,this.props.axis),style:mo},io?_react.default.createElement(_reactEasySwipe.default,_extends$1g({tagName:"ul",innerRef:this.setListRef},ho,{allowMouseEvents:this.props.emulateTouch}),this.props.infiniteLoop&&fo,this.renderItems(),this.props.infiniteLoop&&uo):_react.default.createElement("ul",{className:_cssClasses.default.SLIDER(!0,this.state.swiping),ref:function(bo){return no.setListRef(bo)},style:this.state.itemListStyle||{}},this.props.infiniteLoop&&fo,this.renderItems(),this.props.infiniteLoop&&uo)),this.props.renderArrowNext(this.onClickNext,lo,this.props.labels.rightArrow),this.renderStatus()),this.renderThumbs())}}]),to})(_react.default.Component);
490Carousel$1.default=Carousel;_defineProperty(Carousel,"displayName","Carousel");_defineProperty(Carousel,"defaultProps",{ariaLabel:void 0,axis:"horizontal",centerSlidePercentage:80,interval:3e3,labels:{leftArrow:"previous slide / item",rightArrow:"next slide / item",item:"slide item"},onClickItem:_utils.noop,onClickThumb:_utils.noop,onChange:_utils.noop,onSwipeStart:function Yi(){},onSwipeEnd:function Yi(){},onSwipeMove:function Yi(){return!1},preventMovementUntilSwipeScrollTolerance:!1,renderArrowPrev:function Yi(eo,to,ro){return _react.default.createElement("button",{type:"button","aria-label":ro,className:_cssClasses.default.ARROW_PREV(!to),onClick:eo})},renderArrowNext:function Yi(eo,to,ro){return _react.default.createElement("button",{type:"button","aria-label":ro,className:_cssClasses.default.ARROW_NEXT(!to),onClick:eo})},renderIndicator:function Yi(eo,to,ro,no){return _react.default.createElement("li",{className:_cssClasses.default.DOT(to),onClick:eo,onKeyDown:eo,value:ro,key:ro,role:"button",tabIndex:0,"aria-label":"".concat(no," ").concat(ro+1)})},renderItem:function Yi(eo){return eo},renderThumbs:function Yi(eo){var to=_react.Children.map(eo,function(ro){var no=ro;if(ro.type!=="img"&&(no=_react.Children.toArray(ro.props.children).find(function(io){return io.type==="img"})),!!no)return no});return to.filter(function(ro){return ro}).length===0?(console.warn("No images found! Can't build the thumb list without images. If you don't need thumbs, set showThumbs={false} in the Carousel. Note that it's not possible to get images rendered inside custom components. More info at https://github.com/leandrowd/react-responsive-carousel/blob/master/TROUBLESHOOTING.md"),[]):to},statusFormatter:_utils.defaultStatusFormatter,selectedItem:0,showArrows:!0,showIndicators:!0,showStatus:!0,showThumbs:!0,stopOnHover:!0,swipeScrollTolerance:5,swipeable:!0,transitionTime:350,verticalSwipe:"standard",width:"100%",animationHandler:"slide",swipeAnimationHandler:_animations.slideSwipeAnimationHandler,stopSwipingHandler:_animations.slideStopSwipingHandler});var types$2={};(function(Yi){Object.defineProperty(Yi,"__esModule",{value:!0}),Object.defineProperty(Yi,"Carousel",{enumerable:!0,get:function(){return eo.default}}),Object.defineProperty(Yi,"CarouselProps",{enumerable:!0,get:function(){return to.CarouselProps}}),Object.defineProperty(Yi,"Thumbs",{enumerable:!0,get:function(){return ro.default}});var eo=no(Carousel$1),to=types$2,ro=no(Thumbs$1);function no(io){return io&&io.__esModule?io:{default:io}}})(js$1);function utf8ToUint8Array(Yi){return Yi=btoa(unescape(encodeURIComponent(Yi))),base64ToUint8Array(Yi)}function base64ToUint8Array(Yi){return Yi=Yi.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,""),new Uint8Array(Array.prototype.map.call(atob(Yi),eo=>eo.charCodeAt(0)))}function bufferToBase64Url(Yi){return btoa(String.fromCharCode(...new Uint8Array(Yi))).replace(/\+/g,"-").replace(/\//g,"_").replace(/\=+$/,"")}function ConvertPubKeyToLoginFormat(Yi){return Yi.allowCredentials[0].id=Yi.allowCredentials[0].id.replace("=",""),Yi.allowCredentials[0].id=base64ToUint8Array(Yi.allowCredentials[0].id),Yi.challenge=utf8ToUint8Array(Yi.challenge),Yi}function ConvertPubKeyToRegisterFormat(Yi){return Yi.challenge=utf8ToUint8Array(Yi.challenge),Yi.user.id=utf8ToUint8Array(Yi.user.id),Yi}var __awaiter$1=function(Yi,eo,to,ro){function no(io){return io instanceof to?io:new to(function(oo){oo(io)})}return new(to||(to=Promise))(function(io,oo){function ao(co){try{lo(ro.next(co))}catch(uo){oo(uo)}}function so(co){try{lo(ro.throw(co))}catch(uo){oo(uo)}}function lo(co){co.done?io(co.value):no(co.value).then(ao,so)}lo((ro=ro.apply(Yi,eo||[])).next())})};function fido2Get(Yi,eo){return __awaiter$1(this,void 0,void 0,function*(){Yi=ConvertPubKeyToLoginFormat(Yi);const to=yield navigator.credentials.get({publicKey:Yi}),{authenticatorData:ro,clientDataJSON:no,signature:io}=to.response;return{username:eo,data:{rawId:bufferToBase64Url(to.rawId),type:to.type,id:to.id,response:{signature:bufferToBase64Url(io),authenticatorData:bufferToBase64Url(ro),clientDataJSON:bufferToBase64Url(no)}}}})}function fido2Create(Yi,eo){return __awaiter$1(this,void 0,void 0,function*(){Yi=ConvertPubKeyToRegisterFormat(Yi);const to=yield navigator.credentials.create({publicKey:Yi}),{attestationObject:ro,clientDataJSON:no}=to.response;return{username:eo,data:{rawId:bufferToBase64Url(to.rawId),type:to.type,id:to.id,response:{attestationObject:bufferToBase64Url(ro),clientDataJSON:bufferToBase64Url(no)}}}})}var Add={},_interopRequireDefault$x=interopRequireDefaultExports;Object.defineProperty(Add,"__esModule",{value:!0});var default_1$x=Add.default=void 0,_createSvgIcon$x=_interopRequireDefault$x(requireCreateSvgIcon()),_jsxRuntime$x=jsxRuntimeExports;default_1$x=Add.default=(0,_createSvgIcon$x.default)((0,_jsxRuntime$x.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");var VisibilityOff$1={},_interopRequireDefault$w=interopRequireDefaultExports;Object.defineProperty(VisibilityOff$1,"__esModule",{value:!0});var default_1$w=VisibilityOff$1.default=void 0,_createSvgIcon$w=_interopRequireDefault$w(requireCreateSvgIcon()),_jsxRuntime$w=jsxRuntimeExports;default_1$w=VisibilityOff$1.default=(0,_createSvgIcon$w.default)((0,_jsxRuntime$w.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff");var ChevronRight$1={},_interopRequireDefault$v=interopRequireDefaultExports;Object.defineProperty(ChevronRight$1,"__esModule",{value:!0});var default_1$v=ChevronRight$1.default=void 0,_createSvgIcon$v=_interopRequireDefault$v(requireCreateSvgIcon()),_jsxRuntime$v=jsxRuntimeExports;default_1$v=ChevronRight$1.default=(0,_createSvgIcon$v.default)((0,_jsxRuntime$v.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");var ChevronLeft$1={},_interopRequireDefault$u=interopRequireDefaultExports;Object.defineProperty(ChevronLeft$1,"__esModule",{value:!0});var default_1$u=ChevronLeft$1.default=void 0,_createSvgIcon$u=_interopRequireDefault$u(requireCreateSvgIcon()),_jsxRuntime$u=jsxRuntimeExports;default_1$u=ChevronLeft$1.default=(0,_createSvgIcon$u.default)((0,_jsxRuntime$u.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");var ArrowForwardIos={},_interopRequireDefault$t=interopRequireDefaultExports;Object.defineProperty(ArrowForwardIos,"__esModule",{value:!0});var default_1$t=ArrowForwardIos.default=void 0,_createSvgIcon$t=_interopRequireDefault$t(requireCreateSvgIcon()),_jsxRuntime$t=jsxRuntimeExports;default_1$t=ArrowForwardIos.default=(0,_createSvgIcon$t.default)((0,_jsxRuntime$t.jsx)("path",{d:"M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"}),"ArrowForwardIos");function _interopDefault$1e(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1d=_interopDefault$1e(reactExports),_extends$1f=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1d=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},VisibilityIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1d(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1d.createElement("svg",_extends$1f({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1d.createElement("path",{d:"M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"}))},VisibilityIcon$1=React$1d.memo?React$1d.memo(VisibilityIcon):VisibilityIcon,VisibilityIcon_1=VisibilityIcon$1;const Visibility=getDefaultExportFromCjs(VisibilityIcon_1);function _interopDefault$1d(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1c=_interopDefault$1d(reactExports),_extends$1e=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1c=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},VisibilityOffIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1c(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1c.createElement("svg",_extends$1e({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1c.createElement("path",{d:"M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z"}))},VisibilityOffIcon$1=React$1c.memo?React$1c.memo(VisibilityOffIcon):VisibilityOffIcon,VisibilityOffIcon_1=VisibilityOffIcon$1;const VisibilityOff=getDefaultExportFromCjs(VisibilityOffIcon_1);var _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Yi){return typeof Yi}
490:function(Yi){return Yi&&typeof Symbol=="function"&&Yi.constructor===Symbol&&Yi!==Symbol.prototype?"symbol":typeof Yi},isBrowser=(typeof window>"u"?"undefined":_typeof(window))==="object"&&(typeof document>"u"?"undefined":_typeof(document))==="object"&&document.nodeType===9,plainObjectConstrurctor={}.constructor;function cloneStyle(Yi){if(Yi==null||typeof Yi!="object")return Yi;if(Array.isArray(Yi))return Yi.map(cloneStyle);if(Yi.constructor!==plainObjectConstrurctor)return Yi;var eo={};for(var to in Yi)eo[to]=cloneStyle(Yi[to]);return eo}function createRule(Yi,eo,to){Yi===void 0&&(Yi="unnamed");var ro=to.jss,no=cloneStyle(eo),io=ro.plugins.onCreateRule(Yi,no,to);return io||(Yi[0],null)}var join=function Yi(eo,to){for(var ro="",no=0;no<eo.length&&eo[no]!=="!important";no++)ro&&(ro+=to),ro+=eo[no];return ro},toCssValue=function Yi(eo){if(!Array.isArray(eo))return eo;var to="";if(Array.isArray(eo[0]))for(var ro=0;ro<eo.length&&eo[ro]!=="!important";ro++)to&&(to+=", "),to+=join(eo[ro]," ");else to=join(eo,", ");return eo[eo.length-1]==="!important"&&(to+=" !important"),to};function getWhitespaceSymbols(Yi){return Yi&&Yi.format===!1?{linebreak:"",space:""}:{linebreak:`
491`,space:" "}}function indentStr(Yi,eo){for(var to="",ro=0;ro<eo;ro++)to+="  ";return to+Yi}function toCss(Yi,eo,to){to===void 0&&(to={});var ro="";if(!eo)return ro;var no=to,io=no.indent,oo=io===void 0?0:io,ao=eo.fallbacks;to.format===!1&&(oo=-1/0);var so=getWhitespaceSymbols(to),lo=so.linebreak,co=so.space;if(Yi&&oo++,ao)if(Array.isArray(ao))for(var uo=0;uo<ao.length;uo++){var fo=ao[uo];for(var ho in fo){var mo=fo[ho];mo!=null&&(ro&&(ro+=lo),ro+=indentStr(ho+":"+co+toCssValue(mo)+";",oo))}}else for(var vo in ao){var Co=ao[vo];Co!=null&&(ro&&(ro+=lo),ro+=indentStr(vo+":"+co+toCssValue(Co)+";",oo))}for(var bo in eo){var wo=eo[bo];wo!=null&&bo!=="fallbacks"&&(ro&&(ro+=lo),ro+=indentStr(bo+":"+co+toCssValue(wo)+";",oo))}return!ro&&!to.allowEmpty||!Yi?ro:(oo--,ro&&(ro=""+lo+ro+lo),indentStr(""+Yi+co+"{"+ro,oo)+indentStr("}",oo))}var escapeRegex=/([[\].#*$><+~=|^:(),"'`\s])/g,nativeEscape=typeof CSS<"u"&&CSS.escape,escape=(function(Yi){return nativeEscape?nativeEscape(Yi):Yi.replace(escapeRegex,"\\$1")}),BaseStyleRule=(function(){function Yi(to,ro,no){this.type="style",this.isProcessed=!1;var io=no.sheet,oo=no.Renderer;this.key=to,this.options=no,this.style=ro,io?this.renderer=io.renderer:oo&&(this.renderer=new oo)}var eo=Yi.prototype;return eo.prop=function(ro,no,io){if(no===void 0)return this.style[ro];var oo=io?io.force:!1;if(!oo&&this.style[ro]===no)return this;var ao=no;(!io||io.process!==!1)&&(ao=this.options.jss.plugins.onChangeValue(no,ro,this));var so=ao==null||ao===!1,lo=ro in this.style;if(so&&!lo&&!oo)return this;var co=so&&lo;if(co?delete this.style[ro]:this.style[ro]=ao,this.renderable&&this.renderer)return co?this.renderer.removeProperty(this.renderable,ro):this.renderer.setProperty(this.renderable,ro,ao),this;var uo=this.options.sheet;return uo&&uo.attached,this},Yi})(),StyleRule=(function(Yi){_inheritsLoose$3(eo,Yi);function eo(ro,no,io){var oo;oo=Yi.call(this,ro,no,io)||this;var ao=io.selector,so=io.scoped,lo=io.sheet,co=io.generateId;return ao?oo.selectorText=ao:so!==!1&&(oo.id=co(_assertThisInitialized$j(_assertThisInitialized$j(oo)),lo),oo.selectorText="."+escape(oo.id)),oo}var to=eo.prototype;return to.applyTo=function(no){var io=this.renderer;if(io){var oo=this.toJSON();for(var ao in oo)io.setProperty(no,ao,oo[ao])}return this},to.toJSON=function(){var no={};for(var io in this.style){var oo=this.style[io];typeof oo!="object"?no[io]=oo:Array.isArray(oo)&&(no[io]=toCssValue(oo))}return no},to.toString=function(no){var io=this.options.sheet,oo=io?io.options.link:!1,ao=oo?_extends$2c({},no,{allowEmpty:!0}):no;return toCss(this.selectorText,this.style,ao)},_createClass$p(eo,[{key:"selector",set:function(no){if(no!==this.selectorText){this.selectorText=no;var io=this.renderer,oo=this.renderable;if(!(!oo||!io)){var ao=io.setSelector(oo,no);ao||io.replaceRule(oo,this)}}},get:function(){return this.selectorText}}]),eo})(BaseStyleRule),pluginStyleRule={onCreateRule:function Yi(eo,to,ro){return eo[0]==="@"||ro.parent&&ro.parent.type==="
491keyframes"?null:new StyleRule(eo,to,ro)}},defaultToStringOptions={indent:1,children:!0},atRegExp=/@([\w-]+)/,ConditionalRule=(function(){function Yi(to,ro,no){this.type="conditional",this.isProcessed=!1,this.key=to;var io=to.match(atRegExp);this.at=io?io[1]:"unknown",this.query=no.name||"@"+this.at,this.options=no,this.rules=new RuleList(_extends$2c({},no,{parent:this}));for(var oo in ro)this.rules.add(oo,ro[oo]);this.rules.process()}var eo=Yi.prototype;return eo.getRule=function(ro){return this.rules.get(ro)},eo.indexOf=function(ro){return this.rules.indexOf(ro)},eo.addRule=function(ro,no,io){var oo=this.rules.add(ro,no,io);return oo?(this.options.jss.plugins.onProcessRule(oo),oo):null},eo.replaceRule=function(ro,no,io){var oo=this.rules.replace(ro,no,io);return oo&&this.options.jss.plugins.onProcessRule(oo),oo},eo.toString=function(ro){ro===void 0&&(ro=defaultToStringOptions);var no=getWhitespaceSymbols(ro),io=no.linebreak;if(ro.indent==null&&(ro.indent=defaultToStringOptions.indent),ro.children==null&&(ro.children=defaultToStringOptions.children),ro.children===!1)return this.query+" {}";var oo=this.rules.toString(ro);return oo?this.query+" {"+io+oo+io+"}":""},Yi})(),keyRegExp=/@container|@media|@supports\s+/,pluginConditionalRule={onCreateRule:function Yi(eo,to,ro){return keyRegExp.test(eo)?new ConditionalRule(eo,to,ro):null}},defaultToStringOptions$1={indent:1,children:!0},nameRegExp=/@keyframes\s+([\w-]+)/,KeyframesRule=(function(){function Yi(to,ro,no){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var io=to.match(nameRegExp);io&&io[1]?this.name=io[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=no;var oo=no.scoped,ao=no.sheet,so=no.generateId;this.id=oo===!1?this.name:escape(so(this,ao)),this.rules=new RuleList(_extends$2c({},no,{parent:this}));for(var lo in ro)this.rules.add(lo,ro[lo],_extends$2c({},no,{parent:this}));this.rules.process()}var eo=Yi.prototype;return eo.toString=function(ro){ro===void 0&&(ro=defaultToStringOptions$1);var no=getWhitespaceSymbols(ro),io=no.linebreak;if(ro.indent==null&&(ro.indent=defaultToStringOptions$1.indent),ro.children==null&&(ro.children=defaultToStringOptions$1.children),ro.children===!1)return this.at+" "+this.id+" {}";var oo=this.rules.toString(ro);return oo&&(oo=""+io+oo+io),this.at+" "+this.id+" {"+oo+"}"},Yi})(),keyRegExp$1=/@keyframes\s+/,refRegExp$1=/\$([\w-]+)/g,findReferencedKeyframe=function Yi(eo,to){return typeof eo=="string"?eo.replace(refRegExp$1,function(ro,no){return no in to?to[no]:ro}):eo},replaceRef=function Yi(eo,to,ro){var no=eo[to],io=findReferencedKeyframe(no,ro);io!==no&&(eo[to]=io)},pluginKeyframesRule={onCreateRule:function Yi(eo,to,ro){return typeof eo=="string"&&keyRegExp$1.test(eo)?new KeyframesRule(eo,to,ro):null},onProcessStyle:function Yi(eo,to,ro){return to.type!=="style"||!ro||("animation-name"in eo&&replaceRef(eo,"animation-name",ro.keyframes),"animation"in eo&&replaceRef(eo,"animation",ro.keyframes)),eo},onChangeValue:function Yi(eo,to,ro){var no=ro.options.sheet;if(!no)return eo;switch(to){case"animation":return findReferencedKeyframe(eo,no.keyframes);case"animation-name":return findReferencedKeyframe(eo,no.keyframes);default:return eo}}},KeyframeRule=(function(Yi){_inheritsLoose$3(eo,Yi);function eo(){return Yi.apply(this,arguments)||this}var to=eo.prototype;return to.toString=function(no){var io=this.options.sheet,oo=io?io.options.link:!1,ao=oo?_extends$2c({},no,{allowEmpty:!0}):no;return toCss(this.key,this.style,ao)},eo})(BaseStyleRule),pluginKeyframeRule={onCreateRule:function Yi(eo,to,ro){return ro.parent&&ro.parent.type==="keyframes"?new KeyframeRule(eo,to,ro):null}},FontFaceRule=(function(){function Yi(to,ro,no){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=to,this.style=ro,this.options=no}var eo=Yi.prototype;return eo.toString=function(ro){var no=getWhitespaceSymbols(ro),io=no.linebreak;if(Array.isArray(this.style)){for(var oo="",ao=0;ao<this.style.length;ao++)oo+=toCss(this.at,this.style[ao]),this.style[ao+1]&&(oo+=io);return oo}return toCss(this.at,this.style,ro)},Yi})(),keyRegExp$2=/@font-face/,pluginFontFaceRule={onCreateRule:function Yi(eo,to,ro){return keyRegExp$2.test(eo)?new FontFaceRule(eo,to,ro):null}},ViewportRule=(function(){function Yi(to,ro,no){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=to,this.style=ro,this.options=no}var eo=Yi.prototype;return eo.toString=function(ro){return toCss(this.key,this.style,ro)},Yi})(),pluginViewportRule={onCreateRule:function Yi(eo,to,ro){return eo==="@viewport"||eo==="@-ms-viewport"?new ViewportRule(eo,to,ro):null}},SimpleRule=(function(){function Yi(to,ro,no){this.type="simple",this.isProcessed=!1,this.key=to,this.value=ro,this.options=no}var eo=Yi.prototype;return eo.toString=function(ro){if(Array.isArray(this.value)){for(var no="",io=0;io<this.value.length;io++)no+=this.key+" "+this.value[io]+";",this.value[io+1]&&(no+=`
492`);return no}return this.key+" "+this.value+";"},Yi})(),keysMap={"@charset":!0,"@import":!0,"@namespace":!0},pluginSimpleRule={onCreateRule:function Yi(eo,to,ro){return eo in keysMap?new SimpleRule(eo,to,ro):null}},plugins$1=[pluginStyleRule,pluginConditionalRule,pluginKeyframesRule,pluginKeyframeRule,pluginFontFaceRule,pluginViewportRule,pluginSimpleRule],defaultUpdateOptions={process:!0},forceUpdateOptions={force:!0,process:!0},RuleList=(function(){function Yi(to){this.map={},this.raw={},this.index=[],this.counter=0,this.options=to,this.classes=to.classes,this.keyframes=to.keyframes}var eo=Yi.prototype;return eo.add=function(ro,no,io){var oo=this.options,ao=oo.parent,so=oo.sheet,lo=oo.jss,co=oo.Renderer,uo=oo.generateId,fo=oo.scoped,ho=_extends$2c({classes:this.classes,parent:ao,sheet:so,jss:lo,Renderer:co,generateId:uo,scoped:fo,name:ro,keyframes:this.keyframes,selector:void 0},io),mo=ro;ro in this.raw&&(mo=ro+"-d"+this.counter++),this.raw[mo]=no,mo in this.classes&&(ho.selector="."+escape(this.classes[mo]
492));var vo=createRule(mo,no,ho);if(!vo)return null;this.register(vo);var Co=ho.index===void 0?this.index.length:ho.index;return this.index.splice(Co,0,vo),vo},eo.replace=function(ro,no,io){var oo=this.get(ro),ao=this.index.indexOf(oo);oo&&this.remove(oo);var so=io;return ao!==-1&&(so=_extends$2c({},io,{index:ao})),this.add(ro,no,so)},eo.get=function(ro){return this.map[ro]},eo.remove=function(ro){this.unregister(ro),delete this.raw[ro.key],this.index.splice(this.index.indexOf(ro),1)},eo.indexOf=function(ro){return this.index.indexOf(ro)},eo.process=function(){var ro=this.options.jss.plugins;this.index.slice(0).forEach(ro.onProcessRule,ro)},eo.register=function(ro){this.map[ro.key]=ro,ro instanceof StyleRule?(this.map[ro.selector]=ro,ro.id&&(this.classes[ro.key]=ro.id)):ro instanceof KeyframesRule&&this.keyframes&&(this.keyframes[ro.name]=ro.id)},eo.unregister=function(ro){delete this.map[ro.key],ro instanceof StyleRule?(delete this.map[ro.selector],delete this.classes[ro.key]):ro instanceof KeyframesRule&&delete this.keyframes[ro.name]},eo.update=function(){var ro,no,io;if(typeof(arguments.length<=0?void 0:arguments[0])=="string"?(ro=arguments.length<=0?void 0:arguments[0],no=arguments.length<=1?void 0:arguments[1],io=arguments.length<=2?void 0:arguments[2]):(no=arguments.length<=0?void 0:arguments[0],io=arguments.length<=1?void 0:arguments[1],ro=null),ro)this.updateOne(this.get(ro),no,io);else for(var oo=0;oo<this.index.length;oo++)this.updateOne(this.index[oo],no,io)},eo.updateOne=function(ro,no,io){io===void 0&&(io=defaultUpdateOptions);var oo=this.options,ao=oo.jss.plugins,so=oo.sheet;if(ro.rules instanceof Yi){ro.rules.update(no,io);return}var lo=ro.style;if(ao.onUpdate(no,ro,so,io),io.process&&lo&&lo!==ro.style){ao.onProcessStyle(ro.style,ro,so);for(var co in ro.style){var uo=ro.style[co],fo=lo[co];uo!==fo&&ro.prop(co,uo,forceUpdateOptions)}for(var ho in lo){var mo=ro.style[ho],vo=lo[ho];mo==null&&mo!==vo&&ro.prop(ho,null,forceUpdateOptions)}}},eo.toString=function(ro){for(var no="",io=this.options.sheet,oo=io?io.options.link:!1,ao=getWhitespaceSymbols(ro),so=ao.linebreak,lo=0;lo<this.index.length;lo++){var co=this.index[lo],uo=co.toString(ro);!uo&&!oo||(no&&(no+=so),no+=uo)}return no},Yi})(),StyleSheet=(function(){function Yi(to,ro){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=_extends$2c({},ro,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),ro.Renderer&&(this.renderer=new ro.Renderer(this)),this.rules=new RuleList(this.options);for(var no in to)this.rules.add(no,to[no]);this.rules.process()}var eo=Yi.prototype;return eo.attach=function(){return this.attached?this:(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy(),this)},eo.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},eo.addRule=function(ro,no,io){var oo=this.queue;this.attached&&!oo&&(this.queue=[]);var ao=this.rules.add(ro,no,io);return ao?(this.options.jss.plugins.onProcessRule(ao),this.attached?(this.deployed&&(oo?oo.push(ao):(this.insertRule(ao),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0))),ao):(this.deployed=!1,ao)):null},eo.replaceRule=function(ro,no,io){var oo=this.rules.get(ro);if(!oo)return this.addRule(ro,no,io);var ao=this.rules.replace(ro,no,io);return ao&&this.options.jss.plugins.onProcessRule(ao),this.attached?(this.deployed&&this.renderer&&(ao?oo.renderable&&this.renderer.replaceRule(oo.renderable,ao):this.renderer.deleteRule(oo)),ao):(this.deployed=!1,ao)},eo.insertRule=function(ro){this.renderer&&this.renderer.insertRule(ro)},eo.addRules=function(ro,no){var io=[];for(var oo in ro){var ao=this.addRule(oo,ro[oo],no);ao&&io.push(ao)}return io},eo.getRule=function(ro){return this.rules.get(ro)},eo.deleteRule=function(ro){var no=typeof ro=="object"?ro:this.rules.get(ro);return!no||this.attached&&!no.renderable?!1:(this.rules.remove(no),this.attached&&no.renderable&&this.renderer?this.renderer.deleteRule(no.renderable):!0)},eo.indexOf=function(ro){return this.rules.indexOf(ro)},eo.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},eo.update=function(){var ro;return(ro=this.rules).update.apply(ro,arguments),this},eo.updateOne=function(ro,no,io){return this.rules.updateOne(ro,no,io),this},eo.toString=function(ro){return this.rules.toString(ro)},Yi})(),PluginsRegistry=(function(){function Yi(){this.plugins={internal:[],external:[]},this.registry={}}var eo=Yi.prototype;return eo.onCreateRule=function(ro,no,io){for(var oo=0;oo<this.registry.onCreateRule.length;oo++){var ao=this.registry.onCreateRule[oo](ro,no,io);if(ao)return ao}return null},eo.onProcessRule=function(ro){if(!ro.isProcessed){for(var no=ro.options.sheet,io=0;io<this.registry.onProcessRule.length;io++)this.registry.onProcessRule[io](ro,no);ro.style&&this.onProcessStyle(ro.style,ro,no),ro.isProcessed=!0}},eo.onProcessStyle=function(ro,no,io){for(var oo=0;oo<this.registry.onProcessStyle.length;oo++)no.style=this.registry.onProcessStyle[oo](no.style,no,io)},eo.onProcessSheet=function(ro){for(var no=0;no<this.registry.onProcessSheet.length;no++)this.registry.onProcessSheet[no](ro)},eo.onUpdate=function(ro,no,io,oo){for(var ao=0;ao<this.registry.onUpdate.length;ao++)this.registry.onUpdate[ao](ro,no,io,oo)},eo.onChangeValue=function(ro,no,io){for(var oo=ro,ao=0;ao<this.registry.onChangeValue.length;ao++)oo=this.registry.onChangeValue[ao](oo,no,io);return oo},eo.use=function(ro,no){no===void 0&&(no={queue:"external"});var io=this.plugins[no.queue];io.indexOf(ro)===-1&&(io.push(ro),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(oo,ao){for(var so in ao)so in oo&&oo[so].push(ao[so]);return oo},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},Yi})(),SheetsRegistry=(function(){function Yi(){this.registry=[]}var eo=Yi.prototype;return eo.add=function(ro){var no=this.registry,io=ro.options.index;if(no.indexOf(ro)===-1){if(no.length===0||io>=this.index){no.push(ro);return}for(var oo=0;oo<no.length;oo++)if(no[oo].options.index>io){no.splice(oo,0,ro);return}}},eo.reset=function(){this.registry=[]},eo.remove=function(ro){var no=this.registry.indexOf(ro);
492this.registry.splice(no,1)},eo.toString=function(ro){for(var no=ro===void 0?{}:ro,io=no.attached,oo=_objectWithoutPropertiesLoose$k(no,["attached"]),ao=getWhitespaceSymbols(oo),so=ao.linebreak,lo="",co=0;co<this.registry.length;co++){var uo=this.registry[co];io!=null&&uo.attached!==io||(lo&&(lo+=so),lo+=uo.toString(oo))}return lo},_createClass$p(Yi,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),Yi})(),sheets=new SheetsRegistry,globalThis$1=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),ns="2f1acc6c3a606b082e5eef5e54414ffb";globalThis$1[ns]==null&&(globalThis$1[ns]=0);var moduleId=globalThis$1[ns]++,createGenerateId=function Yi(eo){eo===void 0&&(eo={});var to=0,ro=function(io,oo){to+=1;var ao="",so="";return oo&&(oo.options.classNamePrefix&&(so=oo.options.classNamePrefix),oo.options.jss.id!=null&&(ao=String(oo.options.jss.id))),eo.minify?""+(so||"c")+moduleId+ao+to:so+io.key+"-"+moduleId+(ao?"-"+ao:"")+"-"+to};return ro},memoize=function Yi(eo){var to;return function(){return to||(to=eo()),to}},getPropertyValue=function Yi(eo,to){try{return eo.attributeStyleMap?eo.attributeStyleMap.get(to):eo.style.getPropertyValue(to)}catch{return""}},setProperty=function Yi(eo,to,ro){try{var no=ro;if(Array.isArray(ro)&&(no=toCssValue(ro)),eo.attributeStyleMap)eo.attributeStyleMap.set(to,no);else{var io=no?no.indexOf("!important"):-1,oo=io>-1?no.substr(0,io-1):no;eo.style.setProperty(to,oo,io>-1?"important":"")}}catch{return!1}return!0},removeProperty=function Yi(eo,to){try{eo.attributeStyleMap?eo.attributeStyleMap.delete(to):eo.style.removeProperty(to)}catch{}},setSelector=function Yi(eo,to){return eo.selectorText=to,eo.selectorText===to},getHead=memoize(function(){return document.querySelector("head")});function findHigherSheet(Yi,eo){for(var to=0;to<Yi.length;to++){var ro=Yi[to];if(ro.attached&&ro.options.index>eo.index&&ro.options.insertionPoint===eo.insertionPoint)return ro}return null}function findHighestSheet(Yi,eo){for(var to=Yi.length-1;to>=0;to--){var ro=Yi[to];if(ro.attached&&ro.options.insertionPoint===eo.insertionPoint)return ro}return null}function findCommentNode(Yi){for(var eo=getHead(),to=0;to<eo.childNodes.length;to++){var ro=eo.childNodes[to];if(ro.nodeType===8&&ro.nodeValue.trim()===Yi)return ro}return null}function findPrevNode(Yi){var eo=sheets.registry;if(eo.length>0){var to=findHigherSheet(eo,Yi);if(to&&to.renderer)return{parent:to.renderer.element.parentNode,node:to.renderer.element};if(to=findHighestSheet(eo,Yi),to&&to.renderer)return{parent:to.renderer.element.parentNode,node:to.renderer.element.nextSibling}}var ro=Yi.insertionPoint;if(ro&&typeof ro=="string"){var no=findCommentNode(ro);if(no)return{parent:no.parentNode,node:no.nextSibling}}return!1}function insertStyle(Yi,eo){var to=eo.insertionPoint,ro=findPrevNode(eo);if(ro!==!1&&ro.parent){ro.parent.insertBefore(Yi,ro.node);return}if(to&&typeof to.nodeType=="number"){var no=to,io=no.parentNode;io&&io.insertBefore(Yi,no.nextSibling);return}getHead().appendChild(Yi)}var getNonce=memoize(function(){var Yi=document.querySelector('meta[property="csp-nonce"]');return Yi?Yi.getAttribute("content"):null}),_insertRule=function Yi(eo,to,ro){try{"insertRule"in eo?eo.insertRule(to,ro):"appendRule"in eo&&eo.appendRule(to)}catch{return!1}return eo.cssRules[ro]},getValidRuleInsertionIndex=function Yi(eo,to){var ro=eo.cssRules.length;return to===void 0||to>ro?ro:to},createStyle=function Yi(){var eo=document.createElement("style");return eo.textContent=`
493`,eo},DomRenderer=(function(){function Yi(to){this.getPropertyValue=getPropertyValue,this.setProperty=setProperty,this.removeProperty=removeProperty,this.setSelector=setSelector,this.hasInsertedRules=!1,this.cssRules=[],to&&sheets.add(to),this.sheet=to;var ro=this.sheet?this.sheet.options:{},no=ro.media,io=ro.meta,oo=ro.element;this.element=oo||createStyle(),this.element.setAttribute("data-jss",""),no&&this.element.setAttribute("media",no),io&&this.element.setAttribute("data-meta",io);var ao=getNonce();ao&&this.element.setAttribute("nonce",ao)}var eo=Yi.prototype;return eo.attach=function(){if(!(this.element.parentNode||!this.sheet)){insertStyle(this.element,this.sheet.options);var ro=!!(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&ro&&(this.hasInsertedRules=!1,this.deploy())}},eo.detach=function(){if(this.sheet){var ro=this.element.parentNode;ro&&ro.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent=`
494`)}},eo.deploy=function(){var ro=this.sheet;if(ro){if(ro.options.link){this.insertRules(ro.rules);return}this.element.textContent=`
495`+ro.toString()+`
496`}},eo.insertRules=function(ro,no){for(var io=0;io<ro.index.length;io++)this.insertRule(ro.index[io],io,no)},eo.insertRule=function(ro,no,io){if(io===void 0&&(io=this.element.sheet),ro.rules){var oo=ro,ao=io;
496if(ro.type==="conditional"||ro.type==="keyframes"){var so=getValidRuleInsertionIndex(io,no);if(ao=_insertRule(io,oo.toString({children:!1}),so),ao===!1)return!1;this.refCssRule(ro,so,ao)}return this.insertRules(oo.rules,ao),ao}var lo=ro.toString();if(!lo)return!1;var co=getValidRuleInsertionIndex(io,no),uo=_insertRule(io,lo,co);return uo===!1?!1:(this.hasInsertedRules=!0,this.refCssRule(ro,co,uo),uo)},eo.refCssRule=function(ro,no,io){ro.renderable=io,ro.options.parent instanceof StyleSheet&&this.cssRules.splice(no,0,io)},eo.deleteRule=function(ro){var no=this.element.sheet,io=this.indexOf(ro);return io===-1?!1:(no.deleteRule(io),this.cssRules.splice(io,1),!0)},eo.indexOf=function(ro){return this.cssRules.indexOf(ro)},eo.replaceRule=function(ro,no){var io=this.indexOf(ro);return io===-1?!1:(this.element.sheet.deleteRule(io),this.cssRules.splice(io,1),this.insertRule(no,io))},eo.getRules=function(){return this.element.sheet.cssRules},Yi})(),instanceCounter=0,Jss=(function(){function Yi(to){this.id=instanceCounter++,this.version="10.10.0",this.plugins=new PluginsRegistry,this.options={id:{minify:!1},createGenerateId,Renderer:isBrowser?DomRenderer:null,plugins:[]},this.generateId=createGenerateId({minify:!1});for(var ro=0;ro<plugins$1.length;ro++)this.plugins.use(plugins$1[ro],{queue:"internal"});this.setup(to)}var eo=Yi.prototype;return eo.setup=function(ro){return ro===void 0&&(ro={}),ro.createGenerateId&&(this.options.createGenerateId=ro.createGenerateId),ro.id&&(this.options.id=_extends$2c({},this.options.id,ro.id)),(ro.createGenerateId||ro.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),ro.insertionPoint!=null&&(this.options.insertionPoint=ro.insertionPoint),"Renderer"in ro&&(this.options.Renderer=ro.Renderer),ro.plugins&&this.use.apply(this,ro.plugins),this},eo.createStyleSheet=function(ro,no){no===void 0&&(no={});var io=no,oo=io.index;typeof oo!="number"&&(oo=sheets.index===0?0:sheets.index+1);var ao=new StyleSheet(ro,_extends$2c({},no,{jss:this,generateId:no.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:oo}));return this.plugins.onProcessSheet(ao),ao},eo.removeStyleSheet=function(ro){return ro.detach(),sheets.remove(ro),this},eo.createRule=function(ro,no,io){if(no===void 0&&(no={}),io===void 0&&(io={}),typeof ro=="object")return this.createRule(void 0,ro,no);var oo=_extends$2c({},io,{name:ro,jss:this,Renderer:this.options.Renderer});oo.generateId||(oo.generateId=this.generateId),oo.classes||(oo.classes={}),oo.keyframes||(oo.keyframes={});var ao=createRule(ro,no,oo);return ao&&this.plugins.onProcessRule(ao),ao},eo.use=function(){for(var ro=this,no=arguments.length,io=new Array(no),oo=0;oo<no;oo++)io[oo]=arguments[oo];return io.forEach(function(ao){ro.plugins.use(ao)}),this},Yi})(),createJss=function Yi(eo){return new Jss(eo)},hasCSSTOMSupport=typeof CSS=="object"&&CSS!=null&&"number"in CSS;function getDynamicStyles(Yi){var eo=null;for(var to in Yi){var ro=Yi[to],no=typeof ro;if(no==="function")eo||(eo={}),eo[to]=ro;else if(no==="object"&&ro!==null&&!Array.isArray(ro)){var io=getDynamicStyles(ro);io&&(eo||(eo={}),eo[to]=io)}}return eo}/**
497 * A better abstraction over CSS.
498 *
499 * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
500 * @website https://github.com/cssinjs/jss
501 * @license MIT
502 */createJss();function isPlainObject$1(Yi){if(typeof Yi!="object"||Yi===null)return!1;const eo=Object.getPrototypeOf(Yi);return(eo===null||eo===Object.prototype||Object.getPrototypeOf(eo)===null)&&!(Symbol.toStringTag in Yi)&&!(Symbol.iterator in Yi)}function deepClone(Yi){if(reactExports.isValidElement(Yi)||!isPlainObject$1(Yi))return Yi;const eo={};return Object.keys(Yi).forEach(to=>{eo[to]=deepClone(Yi[to])}),eo}function deepmerge(Yi,eo,to={clone:!0}){const ro=to.clone?_extends$2c({},Yi):Yi;return isPlainObject$1(Yi)&&isPlainObject$1(eo)&&Object.keys(eo).forEach(no=>{reactExports.isValidElement(eo[no])?ro[no]=eo[no]:isPlainObject$1(eo[no])&&Object.prototype.hasOwnProperty.call(Yi,no
502)&&isPlainObject$1(Yi[no])?ro[no]=deepmerge(Yi[no],eo[no],to):to.clone?ro[no]=isPlainObject$1(eo[no])?deepClone(eo[no]):eo[no]:ro[no]=eo[no]}),ro}function formatMuiErrorMessage(Yi){let eo="https://mui.com/production-error/?code="+Yi;for(let to=1;to<arguments.length;to+=1)eo+="&args[]="+encodeURIComponent(arguments[to]);return"Minified MUI error #"+Yi+"; visit "+eo+" for the full message."}function capitalize(Yi){if(typeof Yi!="string")throw new Error(formatMuiErrorMessage(7));return Yi.charAt(0).toUpperCase()+Yi.slice(1)}function mergeClasses$1(Yi={}){const{baseClasses:eo,newClasses:to,Component:ro}=Yi;if(!to)return eo;const no=_extends$2c({},eo);return Object.keys(to).forEach(io=>{to[io]&&(no[io]=`${eo[io]} ${to[io]}`)}),no}const multiKeyStore={set:(Yi,eo,to,ro)=>{let no=Yi.get(eo);no||(no=new Map,Yi.set(eo,no)),no.set(to,ro)},get:(Yi,eo,to)=>{const ro=Yi.get(eo);return ro?ro.get(to):void 0},delete:(Yi,eo,to)=>{Yi.get(eo).delete(to)}},ThemeContext=reactExports.createContext(null);function useTheme$1(){return reactExports.useContext(ThemeContext)}function useTheme(){var Yi;const eo=useTheme$1();return(Yi=eo==null?void 0:eo.$$material)!=null?Yi:eo}const hasSymbol=typeof Symbol=="function"&&Symbol.for,nested=hasSymbol?Symbol.for("mui.nested"):"__THEME_NESTED__",stateClasses=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function createGenerateClassName(Yi={}){const{disableGlobal:eo=!1,productionPrefix:to="jss",seed:ro=""}=Yi,no=ro===""?"":`${ro}-`;let io=0;const oo=()=>(io+=1,io);return(ao,so)=>{const lo=so.options.name;if(lo&&lo.indexOf("Mui")===0&&!so.options.link&&!eo){if(stateClasses.indexOf(ao.key)!==-1)return`Mui-${ao.key}`;const co=`${no}${lo}-${ao.key}`;return!so.options.theme[nested]||ro!==""?co:`${co}-${oo()}`}return`${no}${to}${oo()}`}}var now=Date.now(),fnValuesNs="fnValues"+now,fnRuleNs="fnStyle"+ ++now,functionPlugin=function Yi(){return{onCreateRule:function(to,ro,no){if(typeof ro!="function")return null;var io=createRule(to,{},no);return io[fnRuleNs]=ro,io},onProcessStyle:function(to,ro){if(fnValuesNs in ro||fnRuleNs in ro)return to;var no={};for(var io in to){var oo=to[io];typeof oo=="function"&&(delete to[io],no[io]=oo)}return ro[fnValuesNs]=no,to},onUpdate:function(to,ro,no,io){var oo=ro,ao=oo[fnRuleNs];ao&&(oo.style=ao(to)||{});var so=oo[fnValuesNs];if(so)for(var lo in so)oo.prop(lo,so[lo](to),io)}}},at="@global",atPrefix="@global ",GlobalContainerRule=(function(){function Yi(to,ro,no){this.type="global",this.at=at,this.isProcessed=!1,this.key=to,this.options=no,this.rules=new RuleList(_extends$2c({},no,{parent:this}));for(var io in ro)this.rules.add(io,ro[io]);this.rules.process()}var eo=Yi.prototype;return eo.getRule=function(ro){return this.rules.get(ro)},eo.addRule=function(ro,no,io){var oo=this.rules.add(ro,no,io);return oo&&this.options.jss.plugins.onProcessRule(oo),oo},eo.replaceRule=function(ro,no,io){var oo=this.rules.replace(ro,no,io);return oo&&this.options.jss.plugins.onProcessRule(oo),oo},eo.indexOf=function(ro){return this.rules.indexOf(ro)},eo.toString=function(ro){return this.rules.toString(ro)},Yi})(),GlobalPrefixedRule=(function(){function Yi(to,ro,no){this.type="global",this.at=at,this.isProcessed=!1,this.key=to,this.options=no;var io=to.substr(atPrefix.length);this.rule=no.jss.createRule(io,ro,_extends$2c({},no,{parent:this}))}var eo=Yi.prototype;return eo.toString=function(ro){return this.rule?this.rule.toString(ro):""},Yi})(),separatorRegExp$1=/\s*,\s*/g;function addScope(Yi,eo){for(var to=Yi.split(separatorRegExp$1),ro="",no=0;no<to.length;no++)ro+=eo+" "+to[no].trim(),to[no+1]&&(ro+=", ");return ro}function handleNestedGlobalContainerRule(Yi,eo){var to=Yi.options,ro=Yi.style,no=ro?ro[at]:null;if(no){for(var io in no)eo.addRule(io,no[io],_extends$2c({},to,{selector:addScope(io,Yi.selector)}));delete ro[at]}}function handlePrefixedGlobalRule(Yi,eo){var to=Yi.options,ro=Yi.style;for(var no in ro)if(!(no[0]!=="@"||no.substr(0,at.length)!==at)){var io=addScope(no.substr(at.length),Yi.selector);eo.addRule(io,ro[no],_extends$2c({},to,{selector:io})),delete ro[no]}}function jssGlobal(){function Yi(to,ro,no){if(!to)return null;if(to===at)return new GlobalContainerRule(to,ro,no);if(to[0]==="@"&&to.substr(0,atPrefix.length)===atPrefix)return new GlobalPrefixedRule(to,ro,no);var io=no.parent;return io&&(io.type==="global"||io.options.parent&&io.options.parent.type==="global")&&(no.scoped=!1),!no.selector&&no.scoped===!1&&(no.selector=to),null}
502function eo(to,ro){to.type!=="style"||!ro||(handleNestedGlobalContainerRule(to,ro),handlePrefixedGlobalRule(to,ro))}return{onCreateRule:Yi,onProcessRule:eo}}var separatorRegExp=/\s*,\s*/g,parentRegExp=/&/g,refRegExp=/\$([\w-]+)/g;function jssNested(){function Yi(no,io){return function(oo,ao){var so=no.getRule(ao)||io&&io.getRule(ao);return so?so.selector:ao}}function eo(no,io){for(var oo=io.split(separatorRegExp),ao=no.split(separatorRegExp),so="",lo=0;lo<oo.length;lo++)for(var co=oo[lo],uo=0;uo<ao.length;uo++){var fo=ao[uo];so&&(so+=", "),so+=fo.indexOf("&")!==-1?fo.replace(parentRegExp,co):co+" "+fo}return so}function to(no,io,oo){if(oo)return _extends$2c({},oo,{index:oo.index+1});var ao=no.options.nestingLevel;ao=ao===void 0?1:ao+1;var so=_extends$2c({},no.options,{nestingLevel:ao,index:io.indexOf(no)+1});return delete so.name,so}function ro(no,io,oo){if(io.type!=="style")return no;var ao=io,so=ao.options.parent,lo,co;for(var uo in no){var fo=uo.indexOf("&")!==-1,ho=uo[0]==="@";if(!(!fo&&!ho)){if(lo=to(ao,so,lo),fo){var mo=eo(uo,ao.selector);co||(co=Yi(so,oo)),mo=mo.replace(refRegExp,co);var vo=ao.key+"-"+uo;"replaceRule"in so?so.replaceRule(vo,no[uo],_extends$2c({},lo,{selector:mo})):so.addRule(vo,no[uo],_extends$2c({},lo,{selector:mo}))}else ho&&so.addRule(uo,{},lo).addRule(ao.key,no[uo],{selector:ao.selector});delete no[uo]}}return no}return{onProcessStyle:ro}}var uppercasePattern=/[A-Z]/g,msPattern=/^ms-/,cache$2={};function toHyphenLower(Yi){return"-"+Yi.toLowerCase()}function hyphenateStyleName(Yi){if(cache$2.hasOwnProperty(Yi))return cache$2[Yi];var eo=Yi.replace(uppercasePattern,toHyphenLower);return cache$2[Yi]=msPattern.test(eo)?"-"+eo:eo}function convertCase(Yi){var eo={};for(var to in Yi){var ro=to.indexOf("--")===0?to:hyphenateStyleName(to);eo[ro]=Yi[to]}return Yi.fallbacks&&(Array.isArray(Yi.fallbacks)?eo.fallbacks=Yi.fallbacks.map(convertCase):eo.fallbacks=convertCase(Yi.fallbacks)),eo}function camelCase$1(){function Yi(to){if(Array.isArray(to)){for(var ro=0;ro<to.length;ro++)to[ro]=convertCase(to[ro]);return to}return convertCase(to)}function eo(to,ro,no){if(ro.indexOf("--")===0)return to;var io=hyphenateStyleName(ro);return ro===io?to:(no.prop(io,to),null)}return{onProcessStyle:Yi,onChangeValue:eo}}var px=hasCSSTOMSupport&&CSS?CSS.px:"px",ms$1=hasCSSTOMSupport&&CSS?CSS.ms:"ms",percent=hasCSSTOMSupport&&CSS?CSS.percent:"%",defaultUnits={"animation-delay":ms$1,"animation-duration":ms$1,"background-position":px,"background-position-x":px,"background-position-y":px,"background-size":px,border:px,"border-bottom":px,"border-bottom-left-radius":px,"border-bottom-right-radius":px,"border-bottom-width":px,"border-left":px,"border-left-width":px,"border-radius":px,"border-right":px,"border-right-width":px,"border-top":px,"border-top-left-radius":px,"border-top-right-radius":px,"border-top-width":px,"border-width":px,"border-block":px,"border-block-end":px,"border-block-end-width":px,"border-block-start":px,"border-block-start-width":px,"border-block-width":px,"border-inline":px,"border-inline-end":px,"border-inline-end-width":px,"border-inline-start":px,"border-inline-start-width":px,"border-inline-width":px,"border-start-start-radius":px,"border-start-end-radius":px,"border-end-start-radius":px,"border-end-end-radius":px,margin:px,"margin-bottom":px,"margin-left":px,"margin-right":px,"margin-top":px,"margin-block":px,"margin-block-end":px,"margin-block-start":px,"margin-inline":px,"margin-inline-end":px,"margin-inline-start":px,padding:px,"padding-bottom":px,"padding-left":px,"padding-right":px,"padding-top":px,"padding-block":px,"padding-block-end":px,"padding-block-start":px,"padding-inline":px,"padding-inline-end":px,"padding-inline-start":px,"mask-position-x":px,"mask-position-y":px,"mask-size":px,height:px,width:px,"min-height":px,"max-height":px,"min-width":px,"max-width":px,bottom:px,left:px,top:px,right:px,inset:px,"inset-block":px,"inset-block-end":px,"inset-block-start":px,"inset-inline":px,"inset-inline-end":px,"inset-inline-start":px,"box-shadow":px,"text-shadow":px,"column-gap":px,"column-rule":px,"column-rule-width":px,"column-width":px,"font-size":px,"font-size-delta":px,"letter-spacing":px,"text-decoration-thickness":px,"text-indent":px,"text-stroke":px,"text-stroke-width":px,"word-spacing":px,motion:px,"motion-offset":px,outline:px,"outline-offset":px,"outline-width":px,perspective:px,"perspective-origin-x":percent,"perspective-origin-y":percent,"transform-origin":percent,"transform-origin-x":percent,"transform-origin-y":percent,"transform-origin-z":percent,"transition-delay":ms$1,"transition-duration":ms$1,"vertical-align":px,"flex-basis":px,"shape-margin":px,size:px,gap:px,grid:px,"grid-gap":px,"row-gap":px,"grid-row-gap":px,"grid-column-gap":px,"grid-template-rows":px,"grid-template-columns":px,"grid-auto-rows":px,"grid-auto-columns":px,"box-shadow-x":px,"box-shadow-y":px,"box-shadow-blur":px,"box-shadow-spread":px,"font-line-height":px,"text-shadow-x":px,"text-shadow-y":px,"text-shadow-blur":px};function addCamelCasedVersion(Yi){var eo=/(-[a-z])/g,to=function(oo){return oo[1].toUpperCase()},ro={};for(var no in Yi)ro[no]=Yi[no],ro[no.replace(eo,to)]=Yi[no];return ro}var units=addCamelCasedVersion(defaultUnits);function iterate(Yi,eo,to){if(eo==null)return eo;if(Array.isArray(eo))for(var ro=0;ro<eo.length;ro++)eo[ro]=iterate(Yi,eo[ro],to);else if(typeof eo=="object")if(Yi==="fallbacks")for(var no in eo)eo[no]=iterate(no,eo[no],to);else for(var io in eo)eo[io]=iterate(Yi+"-"+io,eo[io],to);else if(typeof eo=="number"&&isNaN(eo)===!1){var oo=to[Yi]||units[Yi];return oo&&!(eo===0&&oo===px)?typeof oo=="function"?oo(eo).toString():""+eo+oo:eo.toString()}return eo}function defaultUnit(Yi){Yi===void 0&&(Yi={});var eo=addCamelCasedVersion(Yi);function to(no,io){if(io.type!=="style")return no;for(var oo in no)no[oo]=iterate(oo,no[oo],eo);return no}function ro(no,io){return iterate(io,no,eo)}return{onProcessStyle:to,onChangeValue:ro}}function _arrayWithoutHoles(Yi){if(Array.isArray(Yi))return _arrayLikeToArray$k(Yi)}function _iterableToArray(Yi){if(typeof Symbol<"u"&&Yi[Symbol.iterator]!=null||Yi["@@iterator"]!=null)return Array.from(Yi)}function _nonIterableSpread(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
503In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _toConsumableArray(Yi){return _arrayWithoutHoles(Yi)||_iterableToArray(Yi)||_unsupportedIterableToArray$k(Yi)||_nonIterableSpread()}var js="",css="",vendor="",browser$2="",isTouch=isBrowser&&"ontouchstart"in document.documentElement;if(isBrowser){var jsCssMap={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},_document$createEleme=document.createElement("p"),style=_document$createEleme.style,testProp="Transform";for(var key in jsCssMap)if(key+testProp in style){js=key,css=jsCssMap[key];break}js==="Webkit"&&"msHyphens"in style&&(js="ms",css=jsCssMap.ms,browser$2="edge"),js==="Webkit"&&"-apple-trailing-word"in style&&(vendor="apple")}var prefix={js,css,vendor,browser:browser$2,isTouch};function supportedKeyframes(Yi){return Yi[1]==="-"||prefix.js==="ms"?Yi:"@"+prefix.css+"keyframes"+Yi.substr(10)}var appearence={noPrefill:["appearance"],supportedProperty:function Yi(eo){return eo!=="appearance"?!1:prefix.js==="ms"?"-webkit-"+eo:prefix.css+eo}},colorAdjust={noPrefill:["color-adjust"],supportedProperty:function Yi(eo){return eo!=="color-adjust"?!1:prefix.js==="Webkit"?prefix.css+"print-"+eo:eo}},regExp=/[-\s]+(.)?/g;function toUpper(Yi,eo){return eo?eo.toUpperCase():""}function camelize(Yi){return Yi.replace(regExp,toUpper)}function pascalize(Yi){return camelize("-"+Yi)}var mask={noPrefill:["mask"],supportedProperty:function Yi(eo,to){if(!/^mask/.test(eo))return!1;if(prefix.js==="Webkit"){var ro="mask-image";if(camelize(ro)in to)return eo;if(prefix.js+pascalize(ro)in to)return prefix.css+eo}return eo}},textOrientation={noPrefill:["text-orientation"],supportedProperty:function Yi(eo){return eo!=="text-orientation"?!1:prefix.vendor==="apple"&&!prefix.isTouch?prefix.css+eo:eo}},transform={noPrefill:["transform"],supportedProperty:function Yi(eo,to,ro){return eo!=="transform"?!1:ro.transform?eo:prefix.css+eo}},transition={noPrefill:["transition"],supportedProperty:function Yi(eo,to,ro){return eo!=="transition"?!1:ro.transition?eo:prefix.css+eo}},writingMode={noPrefill:["writing-mode"],supportedProperty:function Yi(eo){return eo!=="writing-mode"?!1:prefix.js==="Webkit"||prefix.js==="ms"&&prefix.browser!=="edge"?prefix.css+eo:eo}},userSelect={noPrefill:["user-select"],supportedProperty:function Yi(eo){return eo!=="user-select"?!1:prefix.js==="Moz"||prefix.js==="ms"||prefix.vendor==="apple"?prefix.css+eo:eo}},breakPropsOld={supportedProperty:function Yi(eo,to){if(!/^break-/.test(eo))return!1;if(prefix.js==="Webkit"){var ro="WebkitColumn"+pascalize(eo);return ro in to?prefix.css+"column-"+eo:!1}if(prefix.js==="Moz"){var no="page"+pascalize(eo);return no in to?"page-"+eo:!1}return!1}},inlineLogicalOld={supportedProperty:function Yi(eo,to){if(!/^(border|margin|padding)-inline/.test(eo))return!1;if(prefix.js==="Moz")return eo;var ro=eo.replace("-inline","");return prefix.js+pascalize(ro)in to?prefix.css+ro:!1}},unprefixed={supportedProperty:function Yi(eo,to){return camelize(eo)in to?eo:!1}},prefixed={supportedProperty:function Yi(eo,to){var ro=pascalize(eo);return eo[0]==="-"||eo[0]==="-"&&eo[1]==="-"?eo:prefix.js+ro in to?prefix.css+eo:prefix.js!=="Webkit"&&"Webkit"+ro in to?"-webkit-"+eo:!1}},scrollSnap={supportedProperty:function Yi(eo){return eo.substring(0,11)!=="scroll-snap"?!1:prefix.js==="ms"?""+prefix.css+eo:eo}},overscrollBehavior={supportedProperty:function Yi(eo){return eo!=="overscroll-behavior"?!1:prefix.js==="ms"?prefix.css+"scroll-chaining":eo}},propMap={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},flex2012={supportedProperty:function Yi(eo,to){var ro=propMap[eo];return ro&&prefix.js+pascalize(ro)in to?prefix.css+ro:!1}},propMap$1={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},propKeys=Object.keys(propMap$1),prefixCss=function Yi(eo){return prefix.css+eo}
503,flex2009={supportedProperty:function Yi(eo,to,ro){var no=ro.multiple;if(propKeys.indexOf(eo)>-1){var io=propMap$1[eo];if(!Array.isArray(io))return prefix.js+pascalize(io)in to?prefix.css+io:!1;if(!no)return!1;for(var oo=0;oo<io.length;oo++)if(!(prefix.js+pascalize(io[0])in to))return!1;return io.map(prefixCss)}return!1}},plugins=[appearence,colorAdjust,mask,textOrientation,transform,transition,writingMode,userSelect,breakPropsOld,inlineLogicalOld,unprefixed,prefixed,scrollSnap,overscrollBehavior,flex2012,flex2009],propertyDetectors=plugins.filter(function(Yi){return Yi.supportedProperty}).map(function(Yi){return Yi.supportedProperty}),noPrefill=plugins.filter(function(Yi){return Yi.noPrefill}).reduce(function(Yi,eo){return Yi.push.apply(Yi,_toConsumableArray(eo.noPrefill)),Yi},[]),el,cache={};if(isBrowser){el=document.createElement("p");var computed=window.getComputedStyle(document.documentElement,"");for(var key$1 in computed)isNaN(key$1)||(cache[computed[key$1]]=computed[key$1]);noPrefill.forEach(function(Yi){return delete cache[Yi]})}function supportedProperty17(Yi,eo){if(eo===void 0&&(eo={}),!el)return Yi;if(cache[Yi]!=null)return cache[Yi];(Yi==="transition"||Yi==="transform")&&(eo[Yi]=Yi in el.style);for(var to=0;to<propertyDetectors.length&&(cache[Yi]=propertyDetectors[to](Yi,el.style,eo),!cache[Yi]);to++);try{el.style[Yi]=""}catch{return!1}return cache[Yi]}var cache$1={},transitionProperties={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},transPropsRegExp=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,el$1;function prefixTransitionCallback(Yi,eo,to){if(eo==="var")return"var";if(eo==="all")return"all";if(to==="all")return", all";var ro=eo?supportedProperty17(eo):", "+supportedProperty17(to);return ro||eo||to}isBrowser&&(el$1=document.createElement("p"));function supportedValue(Yi,eo){var to=eo;if(!el$1||Yi==="content")return eo;if(typeof to!="string"||!isNaN(parseInt(to,10)))return to;var ro=Yi+to;if(cache$1[ro]!=null)return cache$1[ro];try{el$1.style[Yi]=to}catch{return cache$1[ro]=!1,!1}if(transitionProperties[Yi])to=to.replace(transPropsRegExp,prefixTransitionCallback);else if(el$1.style[Yi]===""&&(to=prefix.css+to,to==="-ms-flex"&&(el$1.style[Yi]="-ms-flexbox"),el$1.style[Yi]=to,el$1.style[Yi]===""))return cache$1[ro]=!1,!1;return el$1.style[Yi]="",cache$1[ro]=to,cache$1[ro]}function jssVendorPrefixer(){function Yi(no){if(no.type==="keyframes"){var io=no;io.at=supportedKeyframes(io.at)}}function eo(no){for(var io in no){var oo=no[io];if(io==="fallbacks"&&Array.isArray(oo)){no[io]=oo.map(eo);continue}var ao=!1,so=supportedProperty17(io);so&&so!==io&&(ao=!0);var lo=!1,co=supportedValue(so,toCssValue(oo));co&&co!==oo&&(lo=!0),(ao||lo)&&(ao&&delete no[io],no[so||io]=co||oo)}return no}function to(no,io){return io.type!=="style"?no:eo(no)}function ro(no,io){return supportedValue(io,toCssValue(no))||no}return{onProcessRule:Yi,onProcessStyle:to,onChangeValue:ro}}function jssPropsSort(){var Yi=function(to,ro){return to.length===ro.length?to>ro?1:-1:to.length-ro.length};return{onProcessStyle:function(to,ro){if(ro.type!=="style")return to;for(var no={},io=Object.keys(to).sort(Yi),oo=0;oo<io.length;oo++)no[io[oo]]=to[io[oo]];return no}}}function jssPreset(){return{plugins:[functionPlugin(),jssGlobal(),jssNested(),camelCase$1(),defaultUnit(),typeof window>"u"?null:jssVendorPrefixer(),jssPropsSort()]}}const defaultJSS=createJss(jssPreset()),defaultGenerateClassName=createGenerateClassName(),defaultSheetsManager=new Map,defaultOptions$2={disableGeneration:!1,generateClassName:defaultGenerateClassName,jss:defaultJSS,sheetsCache:null,sheetsManager:defaultSheetsManager,sheetsRegistry:null},StylesContext=reactExports.createContext(defaultOptions$2);let indexCounter=-1e9;function increment(){return indexCounter+=1,indexCounter}const _excluded$3=["variant"];function isEmpty(Yi){return Yi.length===0}function propsToClassKey(Yi){const{variant:eo}=Yi,to=_objectWithoutPropertiesLoose$k(Yi,_excluded$3);let ro=eo||"";return Object.keys(to).sort().forEach(no=>{no==="color"?ro+=isEmpty(ro)?Yi[no]:capitalize(Yi[no]):ro+=`${isEmpty(ro)?no:capitalize(no)}${capitalize(Yi[no].toString())}`}),ro}const noopTheme={};function getStylesCreator(Yi){const eo=typeof Yi=="function";return{create:(to,ro)=>{let no;try{no=eo?Yi(to):Yi}catch(so){throw so}if(!ro||!to.components||!to.components[ro]||!to.components[ro].styleOverrides&&!to.components[ro].variants)return no;const io=to.components[ro].styleOverrides||{},oo=to.components[ro].variants||[],ao=_extends$2c({},no);
503return Object.keys(io).forEach(so=>{ao[so]=deepmerge(ao[so]||{},io[so])}),oo.forEach(so=>{const lo=propsToClassKey(so.props);ao[lo]=deepmerge(ao[lo]||{},so.style)}),ao},options:{}}}const _excluded$2=["name","classNamePrefix","Component","defaultTheme"];function getClasses({state:Yi,stylesOptions:eo},to,ro){if(eo.disableGeneration)return to||{};Yi.cacheClasses||(Yi.cacheClasses={value:null,lastProp:null,lastJSS:{}});let no=!1;return Yi.classes!==Yi.cacheClasses.lastJSS&&(Yi.cacheClasses.lastJSS=Yi.classes,no=!0),to!==Yi.cacheClasses.lastProp&&(Yi.cacheClasses.lastProp=to,no=!0),no&&(Yi.cacheClasses.value=mergeClasses$1({baseClasses:Yi.cacheClasses.lastJSS,newClasses:to,Component:ro})),Yi.cacheClasses.value}function attach({state:Yi,theme:eo,stylesOptions:to,stylesCreator:ro,name:no},io){if(to.disableGeneration)return;let oo=multiKeyStore.get(to.sheetsManager,ro,eo);oo||(oo={refs:0,staticSheet:null,dynamicStyles:null},multiKeyStore.set(to.sheetsManager,ro,eo,oo));const ao=_extends$2c({},ro.options,to,{theme:eo,flip:typeof to.flip=="boolean"?to.flip:eo.direction==="rtl"});ao.generateId=ao.serverGenerateClassName||ao.generateClassName;const so=to.sheetsRegistry;if(oo.refs===0){let lo;to.sheetsCache&&(lo=multiKeyStore.get(to.sheetsCache,ro,eo));const co=ro.create(eo,no);lo||(lo=to.jss.createStyleSheet(co,_extends$2c({link:!1},ao)),lo.attach(),to.sheetsCache&&multiKeyStore.set(to.sheetsCache,ro,eo,lo)),so&&so.add(lo),oo.staticSheet=lo,oo.dynamicStyles=getDynamicStyles(co)}if(oo.dynamicStyles){const lo=to.jss.createStyleSheet(oo.dynamicStyles,_extends$2c({link:!0},ao));lo.update(io),lo.attach(),Yi.dynamicSheet=lo,Yi.classes=mergeClasses$1({baseClasses:oo.staticSheet.classes,newClasses:lo.classes}),so&&so.add(lo)}else Yi.classes=oo.staticSheet.classes;oo.refs+=1}function update({state:Yi},eo){Yi.dynamicSheet&&Yi.dynamicSheet.update(eo)}function detach({state:Yi,theme:eo,stylesOptions:to,stylesCreator:ro}){if(to.disableGeneration)return;const no=multiKeyStore.get(to.sheetsManager,ro,eo);no.refs-=1;const io=to.sheetsRegistry;no.refs===0&&(multiKeyStore.delete(to.sheetsManager,ro,eo),to.jss.removeStyleSheet(no.staticSheet),io&&io.remove(no.staticSheet)),Yi.dynamicSheet&&(to.jss.removeStyleSheet(Yi.dynamicSheet),io&&io.remove(Yi.dynamicSheet))}function useSynchronousEffect(Yi,eo){const to=reactExports.useRef([]);let ro;const no=reactExports.useMemo(()=>({}),eo);to.current!==no&&(to.current=no,ro=Yi()),reactExports.useEffect(()=>()=>{ro&&ro()},[no])}function makeStyles(Yi,eo={}){const{name:to,classNamePrefix:ro,Component:no,defaultTheme:io=noopTheme}=eo,oo=_objectWithoutPropertiesLoose$k(eo,_excluded$2),ao=getStylesCreator(Yi),so=to||ro||"makeStyles";return ao.options={index:increment(),name:to,meta:so,classNamePrefix:so},(co={})=>{const uo=useTheme()||io,fo=_extends$2c({},reactExports.useContext(StylesContext),oo),ho=reactExports.useRef(),mo=reactExports.useRef();return useSynchronousEffect(()=>{const Co={name:to,state:{},stylesCreator:ao,stylesOptions:fo,theme:uo};return attach(Co,co),mo.current=!1,ho.current=Co,()=>{detach(Co)}},[uo,ao]),reactExports.useEffect(()=>{mo.current&&update(ho.current,co),mo.current=!0}),getClasses(ho.current,co.classes,no)}}function _interopDefault$1c(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1b=_interopDefault$1c(reactExports),_extends$1d=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1b=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},AlertIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1b(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1b.createElement("svg",_extends$1d({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1b.createElement("path",{d:"M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z"}))},AlertIcon$1=React$1b.memo?React$1b.memo(AlertIcon):AlertIcon,AlertIcon_1=AlertIcon$1;const AlertIcon$2=getDefaultExportFromCjs(AlertIcon_1);var _excluded$1=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function _extends$1c(){return _extends$1c=Object.assign?Object.assign.bind():function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1c.apply(this,arguments)}function _objectWithoutPropertiesLoose$1(Yi,eo){if(Yi==null)return{};var to={},ro=Object.keys(Yi),no,io;for(io=0;io<ro.length;io++)no=ro[io],!(eo.indexOf(no)>=0)&&(to[no]=Yi[no]);return to}
vendor: 3,312 bytes, line 503
503function _assertThisInitialized(Yi){if(Yi===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Yi}function _inheritsLoose$1(Yi,eo){Yi.prototype=Object.create(eo.prototype),Yi.prototype.constructor=Yi,_setPrototypeOf(Yi,eo)}function _setPrototypeOf(Yi,eo){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ro,no){return ro.__proto__=no,ro},_setPrototypeOf(Yi,eo)}var ReCAPTCHA=(function(Yi){_inheritsLoose$1(eo,Yi);function eo(){var ro;return ro=Yi.call(this)||this,ro.handleExpired=ro.handleExpired.bind(_assertThisInitialized(ro)),ro.handleErrored=ro.handleErrored.bind(_assertThisInitialized(ro)),ro.handleChange=ro.handleChange.bind(_assertThisInitialized(ro)),ro.handleRecaptchaRef=ro.handleRecaptchaRef.bind(_assertThisInitialized(ro)),ro}var to=eo.prototype;return to.getCaptchaFunction=function(no){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[no]:this.props.grecaptcha[no]:null},to.getValue=function(){var no=this.getCaptchaFunction("getResponse");return no&&this._widgetId!==void 0?no(this._widgetId):null},to.getWidgetId=function(){return this.props.grecaptcha&&this._widgetId!==void 0?this._widgetId:null},to.execute=function(){var no=this.getCaptchaFunction("execute");if(no&&this._widgetId!==void 0)return no(this._widgetId);this._executeRequested=!0},to.executeAsync=function(){var no=this;return new Promise(function(io,oo){no.executionResolve=io,no.executionReject=oo,no.execute()})},to.reset=function(){var no=this.getCaptchaFunction("reset");no&&this._widgetId!==void 0&&no(this._widgetId)},to.forceReset=function(){var no=this.getCaptchaFunction("reset");no&&no()},to.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},to.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},to.handleChange=function(no){this.props.onChange&&this.props.onChange(no),this.executionResolve&&(this.executionResolve(no),delete this.executionReject,delete this.executionResolve)},to.explicitRender=function(){var no=this.getCaptchaFunction("render");if(no&&this._widgetId===void 0){var io=document.createElement("div");this._widgetId=no(io,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(io)}this._executeRequested&&this.props.grecaptcha&&this._widgetId!==void 0&&(this._executeRequested=!1,this.execute())},to.componentDidMount=function(){this.explicitRender()},to.componentDidUpdate=function(){this.explicitRender()},to.handleRecaptchaRef=function(no){this.captcha=no},to.render=function(){var no=this.props;no.sitekey,no.onChange,no.theme,no.type,no.tabindex,no.onExpired,no.onErrored,no.size,no.stoken,no.grecaptcha,no.badge,no.hl,no.isolated;var io=_objectWithoutPropertiesLoose$1(no,_excluded$1);return reactExports.createElement("div",_extends$1c({},io,{ref:this.handleRecaptchaRef}))},eo})(reactExports.Component);
503ReCAPTCHA.displayName="ReCAPTCHA";ReCAPTCHA.propTypes={sitekey:PropTypes.string.isRequired,onChange:PropTypes.func,grecaptcha:PropTypes.object,theme:PropTypes.oneOf(["dark","light"]),type:PropTypes.oneOf(["image","audio"]),tabindex:PropTypes.number,onExpired:PropTypes.func,onErrored:PropTypes.func,size:PropTypes.oneOf(["compact","normal","invisible"]),stoken:PropTypes.string,hl:PropTypes.string,badge:PropTypes.oneOf(["bottomright","bottomleft","inline"]),isolated:PropTypes.bool};ReCAPTCHA.defaultProps={onChange:function Yi(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};function _extends$1b(){return _extends$1b=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},_extends$1b.apply(this,arguments)}function _objectWithoutPropertiesLoose(Yi,eo){if(Yi==null)return{};var to={},ro=Object.keys(Yi),no,io;for(io=0;io<ro.length;io++)no=ro[io],!(eo.indexOf(no)>=0)&&(to[no]=Yi[no]);return to}function _inheritsLoose(Yi,eo){Yi.prototype=Object.create(eo.prototype),Yi.prototype.constructor=Yi,Yi.__proto__=eo}var SCRIPT_MAP={},idCount=0;function makeAsyncScript(Yi,eo){return eo=eo||{},function(ro){var no=ro.displayName||ro.name||"Component",io=(function(ao){_inheritsLoose(so,ao);function so(co,uo){var fo;return fo=ao.call(this,co,uo)||this,fo.state={},fo.__scriptURL="",fo}var lo=so.prototype;return lo.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+idCount++),this.__scriptLoaderID},lo.setupScriptURL=function(){return this.__scriptURL=typeof Yi=="function"?Yi():Yi,this.__scriptURL},lo.asyncScriptLoaderHandleLoad=function(uo){var fo=this;this.setState(uo,function(){return fo.props.asyncScriptOnLoad&&fo.props.asyncScriptOnLoad(fo.state)})},lo.asyncScriptLoaderTriggerOnScriptLoaded=function(){var uo=SCRIPT_MAP[this.__scriptURL];if(!uo||!uo.loaded)throw new Error("Script is not loaded.");for(var fo in uo.observers)uo.observers[fo](uo);delete window[eo.callbackName]},lo.componentDidMount=function(){var uo=this,fo=this.setupScriptURL(),ho=this.asyncScriptLoaderGetScriptLoaderID(),mo=eo,vo=mo.globalName,Co=mo.callbackName,bo=mo.scriptId;if(vo&&typeof window[vo]<"u"&&(SCRIPT_MAP[fo]={loaded:!0,observers:{}}),SCRIPT_MAP[fo]){var wo=SCRIPT_MAP[fo];if(wo&&(wo.loaded||wo.errored)){this.asyncScriptLoaderHandleLoad(wo);return}wo.observers[ho]=function(To){return uo.asyncScriptLoaderHandleLoad(To)};return}var yo={};yo[ho]=function(To){return uo.asyncScriptLoaderHandleLoad(To)},SCRIPT_MAP[fo]={loaded:!1,observers:yo};var Eo=document.createElement("script");Eo.src=fo,Eo.async=!0;for(var xo in eo.attributes)Eo.setAttribute(xo,eo.attributes[xo]);bo&&(Eo.id=bo);var So=function(Ro){if(SCRIPT_MAP[fo]){var Po=SCRIPT_MAP[fo],zo=Po.observers;for(var Ho in zo)Ro(zo[Ho])&&delete zo[Ho]}};Co&&typeof window<"u"&&(window[Co]=function(){return uo.asyncScriptLoaderTriggerOnScriptLoaded()}),Eo.onload=function(){var To=SCRIPT_MAP[fo];To&&(To.loaded=!0,So(function(Ro){return Co?!1:(Ro(To),!0)}))},Eo.onerror=function(){var To=SCRIPT_MAP[fo];To&&(To.errored=!0,So(function(Ro){return Ro(To),!0}))},document.body.appendChild(Eo)},lo.componentWillUnmount=function(){var uo=this.__scriptURL;if(eo.removeOnUnmount===!0)for(var fo=document.getElementsByTagName("script"),ho=0;ho<fo.length;ho+=1)fo[ho].src.indexOf(uo)>-1&&fo[ho].parentNode&&fo[ho].parentNode.removeChild(fo[ho]);var mo=SCRIPT_MAP[uo];mo&&(delete mo.observers[this.asyncScriptLoaderGetScriptLoaderID()],eo.removeOnUnmount===!0&&delete SCRIPT_MAP[uo])},lo.render=function(){var uo=eo.globalName,fo=this.props;fo.asyncScriptOnLoad;var ho=fo.forwardedRef,mo=_objectWithoutPropertiesLoose(fo,["asyncScriptOnLoad","forwardedRef"]);return uo&&typeof window<"u"&&(mo[uo]=typeof window[uo]<"u"?window[uo]:void 0),mo.ref=ho,reactExports.createElement(ro,mo)},so})(reactExports.Component),oo=reactExports.forwardRef(function(ao,so){return reactExports.createElement(io,_extends$1b({},ao,{forwardedRef:so}))});return oo.displayName="AsyncScriptLoader("+no+")",oo.propTypes={asyncScriptOnLoad:PropTypes.func},hoistNonReactStatics$1(oo,ro)}}var callbackName="onloadcallback",globalName="grecaptcha";function getOptions$1(){return typeof window<"u"&&window.recaptchaOptions||{}}function getURL(){var Yi=getOptions$1(),eo=Yi.useRecaptchaNet?"recaptcha.net":"www.google.com";return Yi.enterprise?"https://"+eo+"/recaptcha/enterprise.js?onload="+callbackName+"&render=explicit":"https://"+eo+"/recaptcha/api.js?onload="+callbackName+"&render=explicit"}const RecaptchaWrapper=makeAsyncScript(getURL,{callbackName,globalName,attributes:getOptions$1().nonce?{nonce:getOptions$1().nonce}:{}})(ReCAPTCHA);function _interopDefault$1b(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1a=_interopDefault$1b(reactExports),_extends$1a=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1a=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},CheckCircleIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1a(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1a.createElement("svg",_extends$1a({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1a.createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z"}))},CheckCircleIcon$1=React$1a.memo?React$1a.memo(CheckCircleIcon):CheckCircleIcon,CheckCircleIcon_1=CheckCircleIcon$1;const CheckCircleIcon$2=getDefaultExportFromCjs(CheckCircleIcon_1);function _interopDefault$1a(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$19=_interopDefault$1a(reactExports),_extends$19=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$19=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},CameraAltIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$19(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$19.createElement("svg",_extends$19({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$19.createElement("path",{d:"M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z"}))},CameraAltIcon$1=React$19.memo?React$19.memo(CameraAltIcon):CameraAltIcon,CameraAltIcon_1=CameraAltIcon$1;const CameraAltIcon$2=getDefaultExportFromCjs(CameraAltIcon_1);function _interopDefault$19(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$18=_interopDefault$19(reactExports),_extends$18=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$18=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},HomeCityIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$18(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$18.createElement("svg",_extends$18({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$18.createElement("path",{d:"M0,21V10L7.5,5L15,10V21H10V14H5V21H0M24,2V21H17V8.93L16,8.27V6H14V6.93L10,4.27V2H24M21,14H19V16H21V14M21,10H19V12H21V10M21,6H19V8H21V6Z"}))},HomeCityIcon$1=React$18.memo?React$18.memo(HomeCityIcon):HomeCityIcon,HomeCityIcon_1=HomeCityIcon$1;const HomeCityIcon$2=getDefaultExportFromCjs(HomeCityIcon_1);function _interopDefault$18(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$17=_interopDefault$18(reactExports),_extends$17=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$17=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},FileMultipleIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$17(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$17.createElement("svg",_extends$17({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$17.createElement("path",{d:"M15,7H20.5L15,1.5V7M8,0H16L22,6V18A2,2 0 0,1 20,20H8C6.89,20 6,19.1 6,18V2A2,2 0 0,1 8,0M4,4V22H20V24H4A2,2 0 0,1 2,22V4H4Z"}))},FileMultipleIcon$1=React$17.memo?React$17.memo(FileMultipleIcon):FileMultipleIcon,FileMultipleIcon_1=FileMultipleIcon$1;const FileMultipleIcon$2=getDefaultExportFromCjs(FileMultipleIcon_1);function _interopDefault$17(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$16=_interopDefault$17(reactExports),_extends$16=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$16=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},SmartCardIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$16(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$16.createElement("svg",_extends$16({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$16.createElement("path",{d:"M2 3H22A2.07 2.07 0 0 1 24 5V19A2.07 2.07 0 0 1 22 21H2A2.07 2.07 0 0 1 0 19V5A2.07 2.07 0 0 1 2 3M8 13.91C6 13.91 2 15 2 17V18H14V17C14 15 10 13.91 8 13.91M8 6A3 3 0 1 0 11 9A3 3 0 0 0 8 6M17 10V13H21V10H17"}))},SmartCardIcon$1=React$16.memo?React$16.memo(SmartCardIcon):SmartCardIcon,SmartCardIcon_1=SmartCardIcon$1;const SmartCardIcon$2=getDefaultExportFromCjs(SmartCardIcon_1);var BusinessCenterOutlined={},_interopRequireDefault$s=interopRequireDefaultExports;Object.defineProperty(BusinessCenterOutlined,"__esModule",{value:!0});var default_1$s=BusinessCenterOutlined.default=void 0,_createSvgIcon$s=_
503interopRequireDefault$s(requireCreateSvgIcon()),_jsxRuntime$s=jsxRuntimeExports;default_1$s=BusinessCenterOutlined.default=(0,_createSvgIcon$s.default)((0,_jsxRuntime$s.jsx)("path",{d:"M20 7h-4V5l-2-2h-4L8 5v2H4c-1.1 0-2 .9-2 2v5c0 .75.4 1.38 1 1.73V19c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2v-3.28c.59-.35 1-.99 1-1.72V9c0-1.1-.9-2-2-2M10 5h4v2h-4zM4 9h16v5h-5v-3H9v3H4zm9 6h-2v-2h2zm6 4H5v-3h4v1h6v-1h4z"}),"BusinessCenterOutlined");var PersonOutlineOutlined={},_interopRequireDefault$r=interopRequireDefaultExports;Object.defineProperty(PersonOutlineOutlined,"__esModule",{value:!0});var default_1$r=PersonOutlineOutlined.default=void 0,_createSvgIcon$r=_interopRequireDefault$r(requireCreateSvgIcon()),_jsxRuntime$r=jsxRuntimeExports;default_1$r=PersonOutlineOutlined.default=(0,_createSvgIcon$r.default)((0,_jsxRuntime$r.jsx)("path",{d:"M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4"}),"PersonOutlineOutlined");var ArrowForward={},_interopRequireDefault$q=interopRequireDefaultExports;Object.defineProperty(ArrowForward,"__esModule",{value:!0});var default_1$q=ArrowForward.default=void 0,_createSvgIcon$q=_interopRequireDefault$q(requireCreateSvgIcon()),_jsxRuntime$q=jsxRuntimeExports;default_1$q=ArrowForward.default=(0,_createSvgIcon$q.default)((0,_jsxRuntime$q.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");function _interopDefault$16(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$15=_interopDefault$16(reactExports),_extends$15=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$15=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},FormatListBulletedIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$15(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$15.createElement("svg",_extends$15({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$15.createElement("path",{d:"M7,5H21V7H7V5M7,13V11H21V13H7M4,4.5A1.5,1.5 0 0,1 5.5,6A1.5,1.5 0 0,1 4,7.5A1.5,1.5 0 0,1 2.5,6A1.5,1.5 0 0,1 4,4.5M4,10.5A1.5,1.5 0 0,1 5.5,12A1.5,1.5 0 0,1 4,13.5A1.5,1.5 0 0,1 2.5,12A1.5,1.5 0 0,1 4,10.5M7,19V17H21V19H7M4,16.5A1.5,1.5 0 0,1 5.5,18A1.5,1.5 0 0,1 4,19.5A1.5,1.5 0 0,1 2.5,18A1.5,1.5 0 0,1 4,16.5Z"}))},FormatListBulletedIcon$1=React$15.memo?React$15.memo(FormatListBulletedIcon):FormatListBulletedIcon,FormatListBulletedIcon_1=FormatListBulletedIcon$1;const FormatListBulletedIcon$2=getDefaultExportFromCjs(FormatListBulletedIcon_1);function _interopDefault$15(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$14=_interopDefault$15(reactExports),_extends$14=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$14=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},HomeIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$14(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$14.createElement("svg",_extends$14({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$14.createElement("path",{d:"M10,20V14H14V20H19V12H22L12,3L2,12H5V20H10Z"}))},HomeIcon$1=React$14.memo?React$14.memo(HomeIcon):HomeIcon,HomeIcon_1=HomeIcon$1;const HomeIcon$2=getDefaultExportFromCjs(HomeIcon_1);function _interopDefault$14(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$13=_interopDefault$14(reactExports),_extends$13=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$13=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},AccountHardHatIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$13(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$13.createElement("svg",_extends$13({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$13.createElement("path",{d:"M12,15C7.58,15 4,16.79 4,19V21H20V19C20,16.79 16.42,15 12,15M8,9A4,4 0 0,0 12,13A4,4 0 0,0 16,9M11.5,2C11.2,2 11,2.21 11,2.5V5.5H10V3C10,3 7.75,3.86 7.75,6.75C7.75,6.75 7,6.89 7,8H17C16.95,6.89 16.25,6.75 16.25,6.75C16.25,3.86 14,3 14,3V5.5H13V2.5C13,2.21 12.81,2 12.5,2H11.5Z"}))},AccountHardHatIcon$1=React$13.memo?React$13.memo(AccountHardHatIcon):AccountHardHatIcon,AccountHardHatIcon_1=AccountHardHatIcon$1;const WorkerIcon=getDefaultExportFromCjs(AccountHardHatIcon_1);function _interopDefault$13(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$12=_interopDefault$13(reactExports),_extends$12=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$12=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},ShoppingCartIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$12(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$12.createElement("svg",_extends$12({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$12.createElement("path",{d:"M17,18C15.89,18 15,18.89 15,20A2,2 0 0,0 17,22A2,2 0 0,0 19,20C19,18.89 18.1,18 17,18M1,2V4H3L6.6,11.59L5.24,14.04C5.09,14.32 5,14.65 5,15A2,2 0 0,0 7,17H19V15H7.42A0.25,0.25 0 0,1 7.17,14.75C7.17,14.7 7.18,14.66 7.2,14.63L8.1,13H15.55C16.3,13 16.96,12.58 17.3,11.97L20.88,5.5C20.95,5.34 21,5.17 21,5A1,1 0 0,0 20,4H5.21L4.27,2M7,18C5.89,18 5,18.89 5,20A2,2 0 0,0 7,22A2,2 0 0,0 9,20C9,18.89 8.1,18 7,18Z"}))},ShoppingCartIcon$1=React$12.memo?React$12.memo(ShoppingCartIcon):ShoppingCartIcon,ShoppingCartIcon_1=ShoppingCartIcon$1;const ShopIcon=getDefaultExportFromCjs(ShoppingCartIcon_1);var KeyboardArrowDown={},_interopRequireDefault$p=interopRequireDefaultExports;Object.defineProperty(KeyboardArrowDown,"__esModule",{value:!0});var default_1$p=KeyboardArrowDown.default=void 0,_createSvgIcon$p=_interopRequireDefault$p(requireCreateSvgIcon()),_jsxRuntime$p=jsxRuntimeExports;default_1$p=KeyboardArrowDown.default=(0,_createSvgIcon$p.default)((0,_jsxRuntime$p.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown");var Language={},_interopRequireDefault$o=interopRequireDefaultExports;
503Object.defineProperty(Language,"__esModule",{value:!0});var default_1$o=Language.default=void 0,_createSvgIcon$o=_interopRequireDefault$o(requireCreateSvgIcon()),_jsxRuntime$o=jsxRuntimeExports;default_1$o=Language.default=(0,_createSvgIcon$o.default)((0,_jsxRuntime$o.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2m6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56M12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96M4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56m2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8M12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96M14.34 14H9.66c-.09-.66-.16-1.32-.16-2s.07-1.35.16-2h4.68c.09.65.16 1.32.16 2s-.07 1.34-.16 2m.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56M16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2z"}),"Language");var Menu={},_interopRequireDefault$n=interopRequireDefaultExports;Object.defineProperty(Menu,"__esModule",{value:!0});var default_1$n=Menu.default=void 0,_createSvgIcon$n=_interopRequireDefault$n(requireCreateSvgIcon()),_jsxRuntime$n=jsxRuntimeExports;default_1$n=Menu.default=(0,_createSvgIcon$n.default)((0,_jsxRuntime$n.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu");var Close={},_interopRequireDefault$m=interopRequireDefaultExports;Object.defineProperty(Close,"__esModule",{value:!0});var default_1$m=Close.default=void 0,_createSvgIcon$m=_interopRequireDefault$m(requireCreateSvgIcon()),_jsxRuntime$m=jsxRuntimeExports;default_1$m=Close.default=(0,_createSvgIcon$m.default)((0,_jsxRuntime$m.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function _interopDefault$12(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$11=_interopDefault$12(reactExports),_extends$11=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$11=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},CalendarClockIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$11(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$11.createElement("svg",_extends$11({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$11.createElement("path",{d:"M15,13H16.5V15.82L18.94,17.23L18.19,18.53L15,16.69V13M19,8H5V19H9.67C9.24,18.09 9,17.07 9,16A7,7 0 0,1 16,9C17.07,9 18.09,9.24 19,9.67V8M5,21C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H6V1H8V3H16V1H18V3H19A2,2 0 0,1 21,5V11.1C22.24,12.36 23,14.09 23,16A7,7 0 0,1 16,23C14.09,23 12.36,22.24 11.1,21H5M16,11.15A4.85,4.85 0 0,0 11.15,16C11.15,18.68 13.32,20.85 16,20.85A4.85,4.85 0 0,0 20.85,16C20.85,13.32 18.68,11.15 16,11.15Z"}))},CalendarClockIcon$1=React$11.memo?React$11.memo(CalendarClockIcon):CalendarClockIcon,CalendarClockIcon_1=CalendarClockIcon$1;const CalendarClockIcon$2=getDefaultExportFromCjs(CalendarClockIcon_1);function _interopDefault$11(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$10=_interopDefault$11(reactExports),_extends$10=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$10=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},ContentDuplicateIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$10(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$10.createElement("svg",_extends$10({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$10.createElement("path",{d:"M11,17H4A2,2 0 0,1 2,15V3A2,2 0 0,1 4,1H16V3H4V15H11V13L15,16L11,19V17M19,21V7H8V13H6V7A2,2 0 0,1 8,5H19A2,2 0 0,1 21,7V21A2,2 0 0,1 19,23H8A2,2 0 0,1 6,21V19H8V21H19Z"}))},ContentDuplicateIcon$1=React$10.memo?React$10.memo(ContentDuplicateIcon):ContentDuplicateIcon,ContentDuplicateIcon_1=ContentDuplicateIcon$1;const ContentDuplicateIcon$2=getDefaultExportFromCjs(ContentDuplicateIcon_1);
vendor: 4,731 bytes, line 503
503var browser$1={exports:{}},debug$1={exports:{}},s=1e3,m=s*60,h=m*60,d=h*24,y=d*365.25,ms=function(Yi,eo){eo=eo||{};var to=typeof Yi;if(to==="string"&&Yi.length>0)return parse(Yi);if(to==="number"&&isNaN(Yi)===!1)return eo.long?fmtLong(Yi):fmtShort(Yi);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(Yi))};function parse(Yi){if(Yi=String(Yi),!(Yi.length>100)){var eo=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(Yi);if(eo){var to=parseFloat(eo[1]),ro=(eo[2]||"ms").toLowerCase();switch(ro){case"years":case"year":case"yrs":case"yr":case"y":return to*y;case"days":case"day":case"d":return to*d;case"hours":case"hour":case"hrs":case"hr":case"h":return to*h;case"minutes":case"minute":case"mins":case"min":case"m":return to*m;case"seconds":case"second":case"secs":case"sec":case"s":return to*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return to;default:return}}}}function fmtShort(Yi){return Yi>=d?Math.round(Yi/d)+"d":Yi>=h?Math.round(Yi/h)+"h":Yi>=m?Math.round(Yi/m)+"m":Yi>=s?Math.round(Yi/s)+"s":Yi+"ms"}function fmtLong(Yi){return plural(Yi,d,"day")||plural(Yi,h,"hour")||plural(Yi,m,"minute")||plural(Yi,s,"second")||Yi+" ms"}function plural(Yi,eo,to){if(!(Yi<eo))return Yi<eo*1.5?Math.floor(Yi/eo)+" "+to:Math.ceil(Yi/eo)+" "+to+"s"}(function(Yi,eo){eo=Yi.exports=no.debug=no.default=no,eo.coerce=so,eo.disable=oo,eo.enable=io,eo.enabled=ao,eo.humanize=ms,eo.names=[],eo.skips=[],eo.formatters={};var to;function ro(lo){var co=0,uo;for(uo in lo)co=(co<<5)-co+lo.charCodeAt(uo),co|=0;return eo.colors[Math.abs(co)%eo.colors.length]}function no(lo){function co(){if(co.enabled){var uo=co,fo=+new Date,ho=fo-(to||fo);uo.diff=ho,uo.prev=to,uo.curr=fo,to=fo;for(var mo=new Array(arguments.length),vo=0;vo<mo.length;vo++)mo[vo]=arguments[vo];mo[0]=eo.coerce(mo[0]),typeof mo[0]!="string"&&mo.unshift("%O");var Co=0;mo[0]=mo[0].replace(/%([a-zA-Z%])/g,function(wo,yo){if(wo==="%%")return wo;Co++;var Eo=eo.formatters[yo];if(typeof Eo=="function"){var xo=mo[Co];wo=Eo.call(uo,xo),mo.splice(Co,1),Co--}return wo}),eo.formatArgs.call(uo,mo);var bo=co.log||eo.log||console.log.bind(console);bo.apply(uo,mo)}}return co.namespace=lo,co.enabled=eo.enabled(lo),co.useColors=eo.useColors(),co.color=ro(lo),typeof eo.init=="function"&&eo.init(co),co}function io(lo){eo.save(lo),eo.names=[],eo.skips=[];for(var co=(typeof lo=="string"?lo:"").split(/[\s,]+/),uo=co.length,fo=0;fo<uo;fo++)co[fo]&&(lo=co[fo].replace(/\*/g,".*?"),lo[0]==="-"?eo.skips.push(new RegExp("^"+lo.substr(1)+"$")):eo.names.push(new RegExp("^"+lo+"$")))}function oo(){eo.enable("")}function ao(lo){var co,uo;for(co=0,uo=eo.skips.length;co<uo;co++)if(eo.skips[co].test(lo))return!1;for(co=0,uo=eo.names.length;co<uo;co++)if(eo.names[co].test(lo))return!0;return!1}function so(lo){return lo instanceof Error?lo.stack||lo.message:lo}})(debug$1,debug$1.exports);var debugExports=debug$1.exports,define_process_env_default={};(function(Yi,eo){eo=Yi.exports=debugExports,eo.log=no,eo.formatArgs=ro,eo.save=io,eo.load=oo,eo.useColors=to,eo.storage=typeof chrome<"u"&&typeof chrome.storage<"u"?chrome.storage.local:ao(),eo.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"];function to(){return typeof window<"u"&&window.process&&window.process.type==="renderer"?!0:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}eo.formatters.j=function(so){try{return JSON.stringify(so)}catch(lo){return"[UnexpectedJSONParseError]: "+lo.message}};function ro(so){var lo=this.useColors;if(so[0]=(lo?"%c":"")+this.namespace+(lo?" %c":" ")+so[0]+(lo?"%c ":" ")+"+"+eo.humanize(this.diff),!!lo){var co="color: "+this.color;so.splice(1,0,co,"color: inherit");var uo=0,fo=0;so[0].replace(/%[a-zA-Z%]/g,function(ho){ho!=="%%"&&(uo++,ho==="%c"&&(fo=uo))}),so.splice(fo,0,co)}}function no(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function io(so){try{so==null?eo.storage.removeItem("debug"):eo.storage.debug=so}catch{}}function oo(){var so;try{so=eo.storage.debug}catch{}return!so&&typeof process<"u"&&"env"in process&&(so=define_process_env_default.DEBUG),so}eo.enable(oo());function ao(){try{return window.localStorage}catch{}}}
503)(browser$1,browser$1.exports);var browserExports=browser$1.exports,debug=browserExports("jsonp"),jsonp_1=jsonp,count=0;function noop(){}function jsonp(Yi,eo,to){typeof eo=="function"&&(to=eo,eo={}),eo||(eo={});var ro=eo.prefix||"__jp",no=eo.name||ro+count++,io=eo.param||"callback",oo=eo.timeout!=null?eo.timeout:6e4,ao=encodeURIComponent,so=document.getElementsByTagName("script")[0]||document.head,lo,co;oo&&(co=setTimeout(function(){uo(),to&&to(new Error("Timeout"))},oo));function uo(){lo.parentNode&&lo.parentNode.removeChild(lo),window[no]=noop,co&&clearTimeout(co)}function fo(){window[no]&&uo()}return window[no]=function(ho){debug("jsonp got",ho),uo(),to&&to(null,ho)},Yi+=(~Yi.indexOf("?")?"&":"?")+io+"="+ao(no),Yi=Yi.replace("?&","?"),debug('jsonp req "%s"',Yi),lo=document.createElement("script"),lo.src=Yi,so.parentNode.insertBefore(lo,so),fo}const jsonp$1=getDefaultExportFromCjs(jsonp_1);var __defProp$1=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp$1=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(Yi,eo,to)=>eo in Yi?__defProp$1(Yi,eo,{enumerable:!0,configurable:!0,writable:!0,value:to}):Yi[eo]=to,__spreadValues=(Yi,eo)=>{for(var to in eo||(eo={}))__hasOwnProp$1.call(eo,to)&&__defNormalProp(Yi,to,eo[to]);if(__getOwnPropSymbols)for(var to of __getOwnPropSymbols(eo))__propIsEnum.call(eo,to)&&__defNormalProp(Yi,to,eo[to]);return Yi},__spreadProps=(Yi,eo)=>__defProps(Yi,__getOwnPropDescs(eo)),__objRest=(Yi,eo)=>{var to={};for(var ro in Yi)__hasOwnProp$1.call(Yi,ro)&&eo.indexOf(ro)<0&&(to[ro]=Yi[ro]);if(Yi!=null&&__getOwnPropSymbols)for(var ro of __getOwnPropSymbols(Yi))eo.indexOf(ro)<0&&__propIsEnum.call(Yi,ro)&&(to[ro]=Yi[ro]);return to};function objectToGetParams(Yi){const eo=Object.entries(Yi).filter(([,to])=>to!=null).map(([to,ro])=>`${encodeURIComponent(to)}=${encodeURIComponent(String(ro))}`);return eo.length>0?`?${eo.join("&")}`:""}const isPromise=Yi=>!!Yi&&(typeof Yi=="object"||typeof Yi=="function")&&typeof Yi.then=="function",getBoxPositionOnWindowCenter=(Yi,eo)=>({left:window.outerWidth/2+(window.screenX||window.screenLeft||0)-Yi/2,top:window.outerHeight/2+(window.screenY||window.screenTop||0)-eo/2}),getBoxPositionOnScreenCenter=(Yi,eo)=>({top:(window.screen.height-eo)/2,left:(window.screen.width-Yi)/2});function windowOpen(Yi,eo,to){var ro=eo,{height:no,width:io}=ro,oo=__objRest(ro,["height","width"]);const ao=__spreadValues({height:no,width:io,location:"no",toolbar:"no",status:"no",directories:"no",menubar:"no",scrollbars:"yes",resizable:"no",centerscreen:"yes",chrome:"yes"},oo),so=window.open(Yi,"",Object.keys(ao).map(lo=>
503`${lo}=${ao[lo]}`).join(", "));if(to){const lo=window.setInterval(()=>{try{(so===null||so.closed)&&(window.clearInterval(lo),to(so))}catch(co){console.error(co)}},1e3)}return so}function ShareButton(Yi){var eo=Yi,{beforeOnClick:to,children:ro,className:no,disabled:io,disabledStyle:oo={opacity:.6},forwardedRef:ao,htmlTitle:so,networkLink:lo,networkName:co,onClick:uo,onShareWindowClose:fo,openShareDialogOnClick:ho=!0,opts:mo,resetButtonStyle:vo=!0,style:Co,url:bo,windowHeight:wo=400,windowPosition:yo="windowCenter",windowWidth:Eo=550}=eo,xo=__objRest(eo,["beforeOnClick","children","className","disabled","disabledStyle","forwardedRef","htmlTitle","networkLink","networkName","onClick","onShareWindowClose","openShareDialogOnClick","opts","resetButtonStyle","style","url","windowHeight","windowPosition","windowWidth"]);const So=async Po=>{const zo=lo(bo,mo);if(!io){if(Po.preventDefault(),to){const Ho=to();isPromise(Ho)&&await Ho}if(ho){const Ho=__spreadValues({height:wo,width:Eo},yo==="windowCenter"?getBoxPositionOnWindowCenter(Eo,wo):getBoxPositionOnScreenCenter(Eo,wo));windowOpen(zo,Ho,fo)}uo&&uo(Po,zo)}},To=cx("react-share__ShareButton",{"react-share__ShareButton--disabled":!!io,disabled:!!io},no),Ro=__spreadValues(__spreadValues(vo?{backgroundColor:"transparent",border:"none",padding:0,font:"inherit",color:"inherit",cursor:"pointer"}:{},Co),io&&oo);return jsxRuntimeExports.jsx("button",__spreadProps(__spreadValues({},xo),{className:To,onClick:So,ref:ao,style:Ro,title:so,children:ro}))}function createShareButton(Yi,eo,to,ro){function no(io,oo){const ao=to(io),so=__spreadValues({},io);return Object.keys(ao).forEach(co=>{delete so[co]}),jsxRuntimeExports.jsx(ShareButton,__spreadProps(__spreadValues(__spreadValues({},ro),so),{forwardedRef:oo,networkName:Yi,networkLink:eo,opts:to(io)}))}return no.displayName=`ShareButton-${Yi}`,reactExports.forwardRef(no)}function emailLink(Yi,{subject:eo,body:to,separator:ro}){return"mailto:"+objectToGetParams({subject:eo,body:to?to+ro+Yi:Yi})}createShareButton("email",emailLink,Yi=>({subject:Yi.subject,body:Yi.body,separator:Yi.separator||" "}),{openShareDialogOnClick:!1,onClick:(Yi,eo)=>{window.location.href=eo}});function facebookMessengerLink(Yi,{appId:eo,redirectUri:to,to:ro}){return"https://www.facebook.com/dialog/send"+objectToGetParams({link:Yi,redirect_uri:to||Yi,app_id:eo,to:ro})}const FacebookMessengerShareButton=createShareButton("facebookmessenger",facebookMessengerLink,Yi=>({appId:Yi.appId,redirectUri:Yi.redirectUri,to:Yi.to}),{windowWidth:1e3,windowHeight:820}),FacebookMessengerShareButton$1=FacebookMessengerShareButton;class AssertionError extends Error{constructor(eo){super(eo),this.name="AssertionError"}}function assert(Yi,eo){if(!Yi)throw new AssertionError(eo)}function facebookLink(Yi,{hashtag:eo}){return assert(Yi,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+objectToGetParams({u:Yi,hashtag:eo})}createShareButton("facebook",facebookLink,Yi=>({hashtag:Yi.hashtag}),{windowWidth:550,windowHeight:400});function useIsMounted(){const Yi=reactExports.useRef(!1);return reactExports.useEffect(()=>(Yi.current=!0,()=>{Yi.current=!1}),[]),reactExports.useCallback(()=>Yi.current,[])}function SocialMediaShareCount(Yi){var eo=Yi,{children:to=fo=>fo,className:ro,getCount:no,url:io}=eo,oo=__objRest(eo,["children","className","getCount","url"]);const ao=useIsMounted(),[so,lo]=reactExports.useState(void 0),[co,uo]=reactExports.useState(!1);return reactExports.useEffect(()=>{uo(!0),no(io,fo=>{ao()&&(lo(fo),uo(!1))})},[io]),jsxRuntimeExports.jsx("span",__spreadProps(__spreadValues({className:cx("react-share__ShareCount",ro)},oo),{children:!co&&so!==void 0&&to(so)}))}function createShareCount(Yi){const eo=to=>jsxRuntimeExports.jsx(SocialMediaShareCount,__spreadValues({getCount:Yi},to));return eo.displayName=`ShareCount(${Yi.name})`,eo}function getFacebookShareCount(Yi,eo){const to=`https://graph.facebook.com/?id=${Yi}&fields=og_object{engagement}`;jsonp$1(to,(ro,no)=>{eo(!ro&&no&&no.og_object&&no.og_object.engagement?no.og_object.engagement.count:void 0)})}createShareCount(getFacebookShareCount);function hatenaLink(Yi,{title:eo}){return assert(Yi,"hatena.url"),`http://b.hatena.ne.jp/add?mode=confirm&url=${Yi}&title=${eo}`}createShareButton("hatena",hatenaLink,Yi=>({title:Yi.title}),{windowWidth:660,windowHeight:460,windowPosition:"windowCenter"});function getHatenaShareCount(Yi,eo){jsonp$1("https://bookmark.hatenaapis.com/count/entry"+objectToGetParams({url:Yi}),(ro,no)=>{eo(no??void 0)})}createShareCount(getHatenaShareCount);function instapaperLink(Yi,{title:eo,description:to}){return assert(Yi,"instapaper.url"),"http://www.instapaper.com/hello2"+objectToGetParams({url:Yi,title:eo,description:to})}createShareButton("instapaper",instapaperLink,Yi=>
503({title:Yi.title,description:Yi.description}),{windowWidth:500,windowHeight:500,windowPosition:"windowCenter"});function lineLink(Yi,{title:eo}){return assert(Yi,"line.url"),"https://social-plugins.line.me/lineit/share"+objectToGetParams({url:Yi,text:eo})}createShareButton("line",lineLink,Yi=>({title:Yi.title}),{windowWidth:500,windowHeight:500});function linkedinLink(Yi,{title:eo,summary:to,source:ro}){return assert(Yi,"linkedin.url"),"https://linkedin.com/shareArticle"+objectToGetParams({url:Yi,mini:"true",title:eo,summary:to,source:ro})}createShareButton("linkedin",linkedinLink,({title:Yi,summary:eo,source:to})=>({title:Yi,summary:eo,source:to}),{windowWidth:750,windowHeight:600});function livejournalLink(Yi,{title:eo,description:to}){return assert(Yi,"livejournal.url"),"https://www.livejournal.com/update.bml"+objectToGetParams({subject:eo,event:to})}createShareButton("livejournal",livejournalLink,Yi=>({title:Yi.title,description:Yi.description}),{windowWidth:660,windowHeight:460});function mailruLink(Yi,{title:eo,description:to,imageUrl:ro}){return assert(Yi,"mailru.url"),"https://connect.mail.ru/share"+objectToGetParams({url:Yi,title:eo,description:to,image_url:ro})}createShareButton("mailru",mailruLink,Yi=>
503({title:Yi.title,description:Yi.description,imageUrl:Yi.imageUrl}),{windowWidth:660,windowHeight:460});function okLink(Yi,{title:eo,description:to,image:ro}){return assert(Yi,"ok.url"),"https://connect.ok.ru/offer"+objectToGetParams({url:Yi,title:eo,description:to,imageUrl:ro})}createShareButton("ok",okLink,Yi=>({title:Yi.title,description:Yi.description,image:Yi.image}),{windowWidth:588,windowHeight:480,windowPosition:"screenCenter"});function getOKShareCount(Yi,eo){window.OK||(window.OK={Share:{count:function(io,oo){var ao,so;(so=(ao=window.OK.callbacks)[io])==null||so.call(ao,oo)}},callbacks:[]});const to="https://connect.ok.ru/dk",ro=window.OK.callbacks.length;return window.ODKL={updateCount(no,io){var oo,ao;const so=no===""?0:parseInt(no.replace("react-share-",""),10);(ao=(oo=window.OK.callbacks)[so])==null||ao.call(oo,io===""?void 0:parseInt(io,10))}},window.OK.callbacks.push(eo),jsonp$1(to+objectToGetParams({"st.cmd":"extLike",uid:`react-share-${ro}`,ref:Yi}))}createShareCount(getOKShareCount);function pinterestLink(Yi,{media:eo,description:to,pinId:ro}){return ro?`https://pinterest.com/pin/${ro}/repin/x/`:(assert(Yi,"pinterest.url"),assert(eo,"pinterest.media"),"https://pinterest.com/pin/create/button/"+objectToGetParams({url:Yi,media:eo,description:to}))}createShareButton("pinterest",pinterestLink,Yi=>({media:Yi.media,description:Yi.description,pinId:Yi.pinId}),{windowWidth:1e3,windowHeight:730});function getPinterestShareCount(Yi,eo){jsonp$1("https://api.pinterest.com/v1/urls/count.json"+objectToGetParams({url:Yi}),(ro,no)=>{eo(no?no.count:void 0)})}createShareCount(getPinterestShareCount);function pocketLink(Yi,{title:eo}){return assert(Yi,"pocket.url"),"https://getpocket.com/save"+objectToGetParams({url:Yi,title:eo})}createShareButton("pocket",pocketLink,Yi=>({title:Yi.title}),{windowWidth:500,windowHeight:500});function redditLink(Yi,{title:eo}){return assert(Yi,"reddit.url"),"https://www.reddit.com/submit"+objectToGetParams({url:Yi,title:eo})}createShareButton("reddit",redditLink,Yi=>({title:Yi.title}),{windowWidth:660,windowHeight:460,windowPosition:"windowCenter"});function gabLink(Yi,{title:eo}){return assert(Yi,"gab.url"),"https://gab.com/compose"+objectToGetParams({url:Yi,text:eo})}createShareButton("gab",gabLink,Yi=>({title:Yi.title}),{windowWidth:660,windowHeight:640,windowPosition:"windowCenter"});function getRedditShareCount(Yi,eo){const to=`https://www.reddit.com/api/info.json?limit=1&url=${Yi}`;jsonp$1(to,{param:"jsonp"},(ro,no)=>{eo(!ro&&no&&no.data&&no.data.children.length>0&&no.data.children[0].data.score?no.data.children[0].data.score:void 0)})}createShareCount(getRedditShareCount);function telegramLink(Yi,{title:eo}){return assert(Yi,"telegram.url"),"https://telegram.me/share/url"+objectToGetParams({url:Yi,text:eo})}const TelegramShareButton=createShareButton("telegram",telegramLink,Yi=>({title:Yi.title}),{windowWidth:550,windowHeight:400}),TelegramShareButton$1=TelegramShareButton;function tumblrLink(Yi,{title:eo,caption:to,tags:ro,posttype:no}){return assert(Yi,"tumblr.url"),"https://www.tumblr.com/widgets/share/tool"+objectToGetParams({canonicalUrl:Yi,title:eo,caption:to,tags:ro,posttype:no})}createShareButton("tumblr",tumblrLink,Yi=>({title:Yi.title,tags:(Yi.tags||[]).join(","),caption:Yi.caption,posttype:Yi.posttype||"link"}),{windowWidth:660,windowHeight:460});function getTumblrShareCount(Yi,eo){return jsonp$1("https://api.tumblr.com/v2/share/stats"+objectToGetParams({url:Yi}),(ro,no)=>{eo(!ro&&no&&no.response?no.response.note_count:void 0)})}createShareCount(getTumblrShareCount);function twitterLink(Yi,{title:eo,via:to,hashtags:ro=[],related:no=[]}){return assert(Yi,"twitter.url"),assert(Array.isArray(ro),"twitter.hashtags is not an array"),assert(Array.isArray(no),"twitter.related is not an array"),"https://twitter.com/intent/tweet"+objectToGetParams({url:Yi,text:eo,via:to,hashtags:ro.length>0?ro.join(","):void 0,related:no.length>0?no.join(","):void 0})}createShareButton("twitter",twitterLink,Yi=>({hashtags:Yi.hashtags,title:Yi.title,via:Yi.via,related:Yi.related}),{windowWidth:550,windowHeight:400});function viberLink(Yi,{title:eo,separator:to}){return assert(Yi,"viber.url"),"viber://forward"+objectToGetParams({text:eo?eo+to+Yi:Yi})}createShareButton("viber",viberLink,Yi=>({title:Yi.title,separator:Yi.separator||" "}),{windowWidth:660,windowHeight:460});function vkLink(Yi,{title:eo,image:to,noParse:ro,noVkLinks:no}){return assert(Yi,"vk.url"),"https://vk.com/share.php"+objectToGetParams({url:Yi,title:eo,image:to,noparse:ro?1:0,no_vk_links:no?1:0})}createShareButton("vk",vkLink,Yi=>({title:Yi.title,image:Yi.image,noParse:Yi.noParse,noVkLinks:Yi.noVkLinks}),{windowWidth:660,windowHeight:460});function getVKShareCount(Yi,eo){window.VK||(window.VK={}
503),window.VK.Share={count:(no,io)=>{var oo,ao;return(ao=(oo=window.VK.callbacks)==null?void 0:oo[no])==null?void 0:ao.call(oo,io)}},window.VK.callbacks=[];const to="https://vk.com/share.php",ro=window.VK.callbacks.length;return window.VK.callbacks.push(eo),jsonp$1(to+objectToGetParams({act:"count",index:ro,url:Yi}))}createShareCount(getVKShareCount);function weiboLink(Yi,{title:eo,image:to}){return assert(Yi,"weibo.url"),"http://service.weibo.com/share/share.php"+objectToGetParams({url:Yi,title:eo,pic:to})}createShareButton("weibo",weiboLink,Yi=>({title:Yi.title,image:Yi.image}),{windowWidth:660,windowHeight:550,windowPosition:"screenCenter"});function isMobileOrTablet(){return/(android|iphone|ipad|mobile)/i.test(navigator.userAgent)}function whatsappLink(Yi,{title:eo,separator:to}){return assert(Yi,"whatsapp.url"),"https://"+(isMobileOrTablet()?"api":"web")+".whatsapp.com/send"+objectToGetParams({text:eo?eo+to+Yi:Yi})}const WhatsappShareButton=createShareButton("whatsapp",whatsappLink,Yi=>({title:Yi.title,separator:Yi.separator||" "}),{windowWidth:550,windowHeight:400}),WhatsappShareButton$1=WhatsappShareButton;function workplaceLink(Yi,{quote:eo,hashtag:to}){return assert(Yi,"workplace.url"),"https://work.facebook.com/sharer.php"+objectToGetParams({u:Yi,quote:eo,hashtag:to})}createShareButton("workplace",workplaceLink,Yi=>({quote:Yi.quote,hashtag:Yi.hashtag}),{windowWidth:550,windowHeight:400});function _interopDefault$10(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$$=_interopDefault$10(reactExports),_extends$$=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$$=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},EmailOutlineIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$$(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$$.createElement("svg",_extends$$({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$$.createElement("path",{d:"M22 6C22 4.9 21.1 4 20 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6M20 6L12 11L4 6H20M20 18H4V8L12 13L20 8V18Z"}))},EmailOutlineIcon$1=React$$.memo?React$$.memo(EmailOutlineIcon):EmailOutlineIcon,EmailOutlineIcon_1=EmailOutlineIcon$1;const EmailOutlineIcon$2=getDefaultExportFromCjs(EmailOutlineIcon_1);function _interopDefault$$(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$_=_interopDefault$$(reactExports),_extends$_=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$_=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},DownloadIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$_(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$_.createElement("svg",_extends$_({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$_.createElement("path",{d:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"}))},DownloadIcon$1=React$_.memo?React$_.memo(DownloadIcon):DownloadIcon,DownloadIcon_1=DownloadIcon$1;const DownloadIcon$2=getDefaultExportFromCjs(DownloadIcon_1);function _interopDefault$_(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$Z=_interopDefault$_(reactExports),_extends$Z=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$Z=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},MessageProcessingOutlineIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$Z(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$Z.createElement("svg",_extends$Z({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$Z.createElement("path",{d:"M20 2H4C2.9 2 2 2.9 2 4V22L6 18H20C21.1 18 22 17.1 22 16V4C22 2.9 21.1 2 20 2M20 16H5.2L4 17.2V4H20V16M17 11H15V9H17M13 11H11V9H13M9 11H7V9H9"}))},MessageProcessingOutlineIcon$1=React$Z.memo?React$Z.memo(MessageProcessingOutlineIcon):MessageProcessingOutlineIcon,MessageProcessingOutlineIcon_1=MessageProcessingOutlineIcon$1;const MessageProcessingOutlineIcon$2=getDefaultExportFromCjs(MessageProcessingOutlineIcon_1);var __create=Object.create,__getProtoOf=Object.getPrototypeOf,__defProp=Object.defineProperty,__getOwnPropNames=Object.getOwnPropertyNames,__hasOwnProp=Object.prototype.hasOwnProperty,__toESM=(Yi,eo,to)=>{to=Yi!=null?__create(__getProtoOf(Yi)):{};const ro=eo||!Yi||!Yi.__esModule?__defProp(to,"default",{value:Yi,enumerable:!0}):to;for(let no of __getOwnPropNames(Yi))__hasOwnProp.call(ro,no)||__defProp(ro,no,{get:()=>Yi[no],enumerable:!0});return ro},__commonJS=(Yi,eo)=>()=>(eo||Yi((eo={exports:{}}
503).exports,eo),eo.exports),require_acorn=__commonJS((Yi,eo)=>{(function(to,ro){typeof Yi=="object"&&typeof eo<"u"?ro(Yi):typeof define=="function"&&define.amd?define(["exports"],ro):(to=typeof globalThis<"u"?globalThis:to||self,ro(to.acorn={}))})(Yi,function(to){var ro=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],no=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],io="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-Û¤Û§Û¨Ûª-Û­Û°-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-à §à ©-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-á®­á®°-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",oo="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-Ô¯Ô±-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬá
503³®-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-á¾´á¾¶-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-á¿´á¿¶-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ê­©ê­°-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-ï©­ï©°-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ï¹´ï¹¶-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",ao={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},so="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",lo={5:so,"5module":so+" export import",6:so+" const class extends export import super"},co=/^in(stanceof)?$/,uo=new RegExp("["+oo+"]"),fo=new RegExp("["+oo+io+"]");function ho(_o,Io){for(var No=65536,qo=0;qo<Io.length;qo+=2){if(No+=Io[qo],No>_o)return!1;if(No+=Io[qo+1],No>=_o)return!0}return!1}function mo(_o,Io){return _o<65?_o===36:_o<91?!0:_o<97?_o===95:_o<123?!0:_o<=65535?_o>=170&&uo.test(String.fromCharCode(_o)):Io===!1?!1:ho(_o,no)}function vo(_o,Io){return _o<48?_o===36:_o<58?!0:_o<65?!1:_o<91?!0:_o<97?_o===95:_o<123?!0:_o<=65535?_o>=170&&fo.test(String.fromCharCode(_o)):Io===!1?!1:ho(_o,no)||ho(_o,ro)}var Co=function(Io,No){No===void 0&&(No={}),this.label=Io,this.keyword=No.keyword,this.beforeExpr=!!No.beforeExpr,this.startsExpr=!!No.startsExpr,this.isLoop=!!No.isLoop,this.isAssign=!!No.isAssign,this.prefix=!!No.prefix,this.postfix=!!No.postfix,this.binop=No.binop||null,this.updateContext=null};function bo(_o,Io){return new Co(_o,{beforeExpr:!0,binop:Io})}var wo={beforeExpr:!0},yo={startsExpr:!0},Eo={};function xo(_o,Io){return Io===void 0&&(Io={}),Io.keyword=_o,Eo[_o]=new Co(_o,Io)}var So={num:new Co("num",yo),regexp:new Co("regexp",yo),string:new Co("string",yo),name:new Co("name",yo),privateId:new Co("privateId",yo),eof:new Co("eof"),bracketL:new Co("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Co("]"),braceL:new Co("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Co("}"),parenL:new Co("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Co(")"),comma:new Co(",",wo),semi:new Co(";",wo),colon:new Co(":",wo),dot:new Co("."),question:new Co("?",wo),questionDot:new Co("?."),arrow:new Co("=>",wo),template:new Co("template"),invalidTemplate:new Co("invalidTemplate"),ellipsis:new Co("...",wo),backQuote:new Co("`",yo),dollarBraceL:new Co("${",{beforeExpr:!0,startsExpr:!0}),eq:new Co("=",{beforeExpr:!0,isAssign:!0}),assign:new Co("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Co("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Co("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:bo("||",1),logicalAND:bo("&&",2),bitwiseOR:bo("|",3),bitwiseXOR:bo("^",4),bitwiseAND:bo("&",5),equality:bo("==/!=/===/!==",6),relational:bo("</>/<=/>=",7),bitShift:bo("<</>>/>>>",8),plusMin:new Co("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:bo("%",10),star:bo("*",10),slash:bo("/",10),starstar:new Co("**",{beforeExpr:!0}),coalesce:bo("??",1),_break:xo("break"),_case:xo("case",wo),_catch:xo("catch"),_continue:xo("continue"),_debugger:xo("debugger"),_default:xo("default",wo),_do:xo("do",{isLoop:!0,beforeExpr:!0}),_else:xo("else",wo),_finally:xo("finally"),_for:xo("for",{isLoop:!0}),_function:xo("function",yo),_if:xo("if"),_return:xo("return",wo),_switch:xo("switch"),_throw:xo("throw",wo),_try:xo("tr
503y"),_var:xo("var"),_const:xo("const"),_while:xo("while",{isLoop:!0}),_with:xo("with"),_new:xo("new",{beforeExpr:!0,startsExpr:!0}),_this:xo("this",yo),_super:xo("super",yo),_class:xo("class",yo),_extends:xo("extends",wo),_export:xo("export"),_import:xo("import",yo),_null:xo("null",yo),_true:xo("true",yo),_false:xo("false",yo),_in:xo("in",{beforeExpr:!0,binop:7}),_instanceof:xo("instanceof",{beforeExpr:!0,binop:7}),_typeof:xo("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:xo("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:xo("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},To=/\r\n?|\n|\u2028|\u2029/,Ro=new RegExp(To.source,"g");function Po(_o){return _o===10||_o===13||_o===8232||_o===8233}function zo(_o,Io,No){No===void 0&&(No=_o.length);for(var qo=Io;qo<No;qo++){var fa=_o.charCodeAt(qo);if(Po(fa))return qo<No-1&&fa===13&&_o.charCodeAt(qo+1)===10?qo+2:qo+1}return-1}var Ho=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Vo=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Lo=Object.prototype,Uo=Lo.hasOwnProperty,Do=Lo.toString,Oo=Object.hasOwn||function(_o,Io){return Uo.call(_o,Io)},ko=Array.isArray||function(_o){return Do.call(_o)==="[object Array]"},Bo=Object.create(null);function Fo(_o){return Bo[_o]||(Bo[_o]=new RegExp("^(?:"+_o.replace(/ /g,"|")+")$"))}function Qo(_o){return _o<=65535?String.fromCharCode(_o):(_o-=65536,String.fromCharCode((_o>>10)+55296,(_o&1023)+56320))}var jo=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Xo=function(Io,No){this.line=Io,this.column=No};Xo.prototype.offset=function(Io){return new Xo(this.line,this.column+Io)};var Zo=function(Io,No,qo){this.start=No,this.end=qo,Io.sourceFile!==null&&(this.source=Io.sourceFile)};function Wo(_o,Io){for(var No=1,qo=0;;){var fa=zo(_o,qo,Io);if(fa<0)return new Xo(No,Io-qo);++No,qo=fa}}var ta={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},ra=!1;function da(_o){var Io={};for(var No in ta)Io[No]=_o&&Oo(_o,No)?_o[No]:ta[No];if(Io.ecmaVersion==="latest"?Io.ecmaVersion=1e8:Io.ecmaVersion==null?(!ra&&typeof console=="object"&&console.warn&&(ra=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
504Defaulting to 2020, but this will stop working in the future.`)),Io.ecmaVersion=11):Io.ecmaVersion>=2015&&(Io.ecmaVersion-=2009),Io.allowReserved==null&&(Io.allowReserved=Io.ecmaVersion<5),(!_o||_o.allowHashBang==null)&&(Io.allowHashBang=Io.ecmaVersion>=14),ko(Io.onToken)){var qo=Io.onToken;Io.onToken=function(fa){return qo.push(fa)}}return ko(Io.onComment)&&(Io.onComment=pa(Io,Io.onComment)),Io}function pa(_o,Io){return function(No,qo,fa,wa,Ra,Ua){var Na={type:No?"Block":"Line",value:qo,start:fa,end:wa};_o.locations&&(Na.loc=new Zo(this,Ra,Ua)),_o.ranges&&(Na.range=[fa,wa]),Io.push(Na)}}var sa=1,ya=2,na=4,ea=8,oa=16,la=32,_a=64,Ea=128,Pa=256,aa=sa|ya|Pa;function Ca(_o,Io){return ya|(_o?na:0)|(Io?ea:0)}var Sa=0,Ia=1,Ta=2,va=3,xa=4,Oa=5,Da=function(Io,No,qo){this.options=Io=da(Io),this.sourceFile=Io.sourceFile,this.keywords=Fo(lo[Io.ecmaVersion>=6?6:Io.sourceType==="module"?"5module":5]);var fa="";Io.allowReserved!==!0&&(fa=ao[Io.ecmaVersion>=6?6:Io.ecmaVersion===5?5:3],Io.sourceType==="module"&&(fa+=" await")),this.reservedWords=Fo(fa);var wa=(fa?fa+" ":"")+ao.strict;this.reservedWordsStrict=Fo(wa),this.reservedWordsStrictBind=Fo(wa+" "+ao.strictBind),this.input=String(No),this.containsEsc=!1,qo?(this.pos=qo,this.lineStart=this.input.lastIndexOf(`
505`,qo-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(To).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=So.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=
505Io.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&Io.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(sa),this.regexpState=null,this.privateNameStack=[]},ia={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Da.prototype.parse=function(){var Io=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(Io)},ia.inFunction.get=function(){return(this.currentVarScope().flags&ya)>0},ia.inGenerator.get=function(){return(this.currentVarScope().flags&ea)>0&&!this.currentVarScope().inClassFieldInit},ia.inAsync.get=function(){return(this.currentVarScope().flags&na)>0&&!this.currentVarScope().inClassFieldInit},ia.canAwait.get=function(){for(var _o=this.scopeStack.length-1;_o>=0;_o--){var Io=this.scopeStack[_o];if(Io.inClassFieldInit||Io.flags&Pa)return!1;if(Io.flags&ya)return(Io.flags&na)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},ia.allowSuper.get=function(){var _o=this.currentThisScope(),Io=_o.flags,No=_o.inClassFieldInit;return(Io&_a)>0||No||this.options.allowSuperOutsideMethod},ia.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Ea)>0},ia.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},ia.allowNewDotTarget.get=function(){var _o=this.currentThisScope(),Io=_o.flags,No=_o.inClassFieldInit;return(Io&(ya|Pa))>0||No},ia.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Pa)>0},Da.extend=function(){for(var Io=[],No=arguments.length;No--;)Io[No]=arguments[No];for(var qo=this,fa=0;fa<Io.length;fa++)qo=Io[fa](qo);return qo},Da.parse=function(Io,No){return new this(No,Io).parse()},Da.parseExpressionAt=function(Io,No,qo){var fa=new this(qo,Io,No);return fa.nextToken(),fa.parseExpression()},Da.tokenizer=function(Io,No){return new this(No,Io)},Object.defineProperties(Da.prototype,ia);var Ko=Da.prototype,Yo=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Ko.strictDirective=function(_o){if(this.options.ecmaVersion<5)return!1;for(;;){Vo.lastIndex=_o,_o+=Vo.exec(this.input)[0].length;var Io=Yo.exec(this.input.slice(_o));if(!Io)return!1;if((Io[1]||Io[2])==="use strict"){Vo.lastIndex=_o+Io[0].length;var No=Vo.exec(this.input),qo=No.index+No[0].length,fa=this.input.charAt(qo);return fa===";"||fa==="}"||To.test(No[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(fa)||fa==="!"&&this.input.charAt(qo+1)==="=")}_o+=Io[0].length,Vo.lastIndex=_o,_o+=Vo.exec(this.input)[0].length,this.input[_o]===";"&&_o++}},Ko.eat=function(_o){return this.type===_o?(this.next(),!0):!1},Ko.isContextual=function(_o){return this.type===So.name&&this.value===_o&&!this.containsEsc},Ko.eatContextual=function(_o){return this.isContextual(_o)?(this.next(),!0):!1},Ko.expectContextual=function(_o){this.eatContextual(_o)||this.unexpected()},Ko.canInsertSemicolon=function(){return this.type===So.eof||this.type===So.braceR||To.test(this.input.slice(this.lastTokEnd,this.start))},Ko.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Ko.semicolon=function(){!this.eat(So.semi)&&!this.insertSemicolon()&&this.unexpected()},Ko.afterTrailingComma=function(_o,Io){if(this.type===_o)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),Io||this.next(),!0},Ko.expect=function(_o){this.eat(_o)||this.unexpected()},Ko.unexpected=function(_o){this.raise(_o??this.start,"Unexpected token")};var ma=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Ko.checkPatternErrors=function(_o,Io){if(_o){_o.trailingComma>-1&&this.raiseRecoverable(_o.trailingComma,"Comma is not permitted after the rest element");var No=Io?_o.parenthesizedAssign:_o.parenthesizedBind;No>-1&&this.raiseRecoverable(No,Io?"Assigning to rvalue":"Parenthesized pattern")}},Ko.checkExpressionErrors=function(_o,Io){if(!_o)return!1;var No=_o.shorthandAssign,qo=_o.doubleProto;if(!Io)return No>=0||qo>=0;No>=0&&this.raise(No,"Shorthand property assignments are valid only in destructuring patterns"),qo>=0&&this.raiseRecoverable(qo,"Redefinition of __proto__ property")},Ko.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},Ko.isSimpleAssignTarget=function(_o){return _o.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(_o.expression):_o.type==="Identifier"||_o.type==="MemberExpression"};var ga=Da.prototype;ga.parseTopLevel=function(_o){var Io=Object.create(null);for(_o.body||(_o.body=[]);this.type!==So.eof;
vendor: 25,753 bytes, line 505
505){var No=this.parseStatement(null,!0,Io);_o.body.push(No)}if(this.inModule)for(var qo=0,fa=Object.keys(this.undefinedExports);qo<fa.length;qo+=1){var wa=fa[qo];this.raiseRecoverable(this.undefinedExports[wa].start,"Export '"+wa+"' is not defined")}return this.adaptDirectivePrologue(_o.body),this.next(),_o.sourceType=this.options.sourceType,this.finishNode(_o,"Program")};var Fa={kind:"loop"},ja={kind:"switch"};ga.isLet=function(_o){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Vo.lastIndex=this.pos;var Io=Vo.exec(this.input),No=this.pos+Io[0].length,qo=this.input.charCodeAt(No);if(qo===91||qo===92)return!0;if(_o)return!1;if(qo===123||qo>55295&&qo<56320)return!0;if(mo(qo,!0)){for(var fa=No+1;vo(qo=this.input.charCodeAt(fa),!0);)++fa;if(qo===92||qo>55295&&qo<56320)return!0;var wa=this.input.slice(No,fa);if(!co.test(wa))return!0}return!1},ga.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Vo.lastIndex=this.pos;var _o=Vo.exec(this.input),Io=this.pos+_o[0].length,No;return!To.test(this.input.slice(this.pos,Io))&&this.input.slice(Io,Io+8)==="function"&&(Io+8===this.input.length||!(vo(No=this.input.charCodeAt(Io+8))||No>55295&&No<56320))},ga.parseStatement=function(_o,Io,No){var qo=this.type,fa=this.startNode(),wa;switch(this.isLet(_o)&&(qo=So._var,wa="let"),qo){case So._break:case So._continue:return this.parseBreakContinueStatement(fa,qo.keyword);case So._debugger:return this.parseDebuggerStatement(fa);case So._do:return this.parseDoStatement(fa);case So._for:return this.parseForStatement(fa);case So._function:return _o&&(this.strict||_o!=="if"&&_o!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(fa,!1,!_o);case So._class:return _o&&this.unexpected(),this.parseClass(fa,!0);case So._if:return this.parseIfStatement(fa);case So._return:return this.parseReturnStatement(fa);case So._switch:return this.parseSwitchStatement(fa);case So._throw:return this.parseThrowStatement(fa);case So._try:return this.parseTryStatement(fa);case So._const:case So._var:return wa=wa||this.value,_o&&wa!=="var"&&this.unexpected(),this.parseVarStatement(fa,wa);case So._while:return this.parseWhileStatement(fa);case So._with:return this.parseWithStatement(fa);case So.braceL:return this.parseBlock(!0,fa);case So.semi:return this.parseEmptyStatement(fa);case So._export:case So._import:if(this.options.ecmaVersion>10&&qo===So._import){Vo.lastIndex=this.pos;var Ra=Vo.exec(this.input),Ua=this.pos+Ra[0].length,Na=this.input.charCodeAt(Ua);if(Na===40||Na===46)return this.parseExpressionStatement(fa,this.parseExpression())}return this.options.allowImportExportEverywhere||(Io||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),qo===So._import?this.parseImport(fa):this.parseExport(fa,No);default:if(this.isAsyncFunction())return _o&&this.unexpected(),this.next(),this.parseFunctionStatement(fa,!0,!_o);var Ja=this.value,Za=this.parseExpression();return qo===So.name&&Za.type==="Identifier"&&this.eat(So.colon)?this.parseLabeledStatement(fa,Ja,Za,_o):this.parseExpressionStatement(fa,Za)}},ga.parseBreakContinueStatement=function(_o,Io){var No=Io==="break";this.next(),this.eat(So.semi)||this.insertSemicolon()?_o.label=null:this.type!==So.name?this.unexpected():(_o.label=this.parseIdent(),this.semicolon());for(var qo=0;qo<this.labels.length;++qo){var fa=this.labels[qo];if((_o.label==null||fa.name===_o.label.name)&&(fa.kind!=null&&(No||fa.kind==="loop")||_o.label&&No))break}return qo===this.labels.length&&this.raise(_o.start,"Unsyntactic "+Io),this.finishNode(_o,No?"BreakStatement":"ContinueStatement")},ga.parseDebuggerStatement=function(_o){return this.next(),this.semicolon(),this.finishNode(_o,"DebuggerStatement")},ga.parseDoStatement=function(_o){return this.next(),this.labels.push(Fa),_o.body=this.parseStatement("do"),this.labels.pop(),this.expect(So._while),_o.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(So.semi):this.semicolon(),this.finishNode(_o,"DoWhileStatement")},ga.parseForStatement=function(_o){this.next();var Io=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Fa),this.enterScope(0),this.expect(So.parenL),this.type===So.semi)return Io>-1&&this.unexpected(Io),this.parseFor(_o,null);var No=this.isLet();if(this.type===So._var||this.type===So._const||No){var qo=this.startNode(),fa=No?"let":this.value;return this.next(),this.parseVar(qo,!0,fa),this.finishNode(qo,"VariableDeclaration"),(this.type===So._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&qo.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===So._in?Io>-1&&this.unexpected(Io):_o.await=Io>-1),this.parseForIn(_o,qo)):(Io>-1&&this.unexpected(Io),this.parseFor(_o,qo))}var wa=this.isContextual("let"),Ra=!1,Ua=this.containsEsc,Na=new ma,Ja=this.start,Za=Io>-1?this.parseExprSubscripts(Na,"await"):this.parseExpression(!0,Na);return this.type===So._in||(Ra=this.options.ecmaVersion>=6&&this.isContextual("of"))?(Io>-1?(this.type===So._in&&this.unexpected(Io),_o.await=!0):Ra&&this.options.ecmaVersion>=8&&(Za.start===Ja&&!Ua&&Za.type==="Identifier"&&Za.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(_o.await=!1)),wa&&Ra&&this.raise(Za.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(Za,!1,Na),this.checkLValPattern(Za),this.parseForIn(_o,Za)):(this.checkExpressionErrors(Na,!0),Io>-1&&this.unexpected(Io),this.parseFor(_o,Za))},ga.parseFunctionStatement=function(_o,Io,No){return this.next(),this.parseFunction(_o,Va|(No?0:qa),!1,Io)},ga.parseIfStatement=function(_o){return this.next(),_o.test=this.parseParenExpression(),_o.consequent=this.parseStatement("if"),_o.alternate=this.eat(So._else)?this.parseStatement("if"):null,this.finishNode(_o,"IfStatement")},ga.parseReturnStatement=function(_o){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(So.semi)||this.insertSemicolon()?_o.argument=null:(_o.argument=this.parseExpression(),this.semicolon()),this.finishNode(_o,"ReturnStatement")},ga.parseSwitchStatement=function(_o){this.next(),_o.discriminant=this.parseParenExpression(),_o.cases=[],this.expect(So.braceL),this.labels.push(ja),this.enterScope(0);for(var Io,No=!1;this.type!==So.braceR;)if(this.type===So._case||this.type===So._default){var qo=this.type===So._case;Io&&this.finishNode(Io,"SwitchCase"),_o.cases.push(Io=this.startNode()),Io.consequent=[],this.next(),qo?Io.test=this.parseExpression():(No&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),No=!0,Io.test=null),this.expect(So.colon)}else Io||this.unexpected(),Io.consequent.push(this.parseStatement(null));return this.exitScope(),Io&&this.finishNode(Io,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(_o,"SwitchStatement")},ga.parseThrowStatement=function(_o){return this.next(),To.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),_o.argument=this.parseExpression(),this.semicolon(),this.finishNode(_o,"ThrowStatement")};var Ga=[];ga.parseCatchClauseParam=function(){var _o=this.parseBindingAtom(),Io=_o.type==="Identifier";return this.enterScope(Io?la:0),this.checkLValPattern(_o,Io?xa:Ta),this.expect(So.parenR),_o},ga.parseTryStatement=function(_o){if(this.next(),_o.block=this.parseBlock(),_o.handler=null,this.type===So._catch){var Io=this.startNode();this.next(),this.eat(So.parenL)?Io.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),Io.param=null,this.enterScope(0)),Io.body=this.parseBlock(!1),this.exitScope(),_o.handler=this.finishNode(Io,"CatchClause")}return _o.finalizer=this.eat(So._finally)?this.parseBlock():null,!_o.handler&&!_o.finalizer&&this.raise(_o.start,"Missing catch or finally clause"),this.finishNode(_o,"TryStatement")},ga.parseVarStatement=function(_o,Io,No){return this.next(),this.parseVar(_o,!1,Io,No),this.semicolon(),this.finishNode(_o,"VariableDeclaration")},ga.parseWhileStatement=function(_o){return this.next(),_o.test=this.parseParenExpression(),this.labels.push(Fa),_o.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(_o,"WhileStatement")},ga.parseWithStatement=function(_o){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),_o.object=this.parseParenExpression(),_o.body=this.parseStatement("with"),this.finishNode(_o,"WithStatement")},ga.parseEmptyStatement=function(_o){return this.next(),this.finishNode(_o,"EmptyStatement")},ga.parseLabeledStatement=function(_o,Io,No,qo){for(var fa=0,wa=this.labels;fa<wa.length;fa+=1){var Ra=wa[fa];Ra.name===Io&&this.raise(No.start,"Label '"+Io+"' is already declared")}for(var Ua=this.type.isLoop?"loop":this.type===So._switch?"switch":null,Na=this.labels.length-1;Na>=0;Na--){var Ja=this.labels[Na];if(Ja.statementStart===_o.start)Ja.statementStart=this.start,Ja.kind=Ua;else break}return this.labels.push({name:Io,kind:Ua,statementStart:this.start}),_o.body=this.parseStatement(qo?qo.indexOf("label")===-1?qo+"label":qo:"label"),this.labels.pop(),_o.label=No,this.finishNode(_o,"LabeledStatement")},ga.parseExpressionStatement=function(_o,Io){return _o.expression=Io,this.semicolon(),this.finishNode(_o,"ExpressionStatement")},ga.parseBlock=function(_o,Io,No){for(_o===void 0&&(_o=!0),Io===void 0&&(Io=this.startNode()),Io.body=[],this.expect(So.braceL),_o&&this.enterScope(0);this.type!==So.braceR;){var qo=this.parseStatement(null);Io.body.push(qo)}return No&&(this.strict=!1),this.next(),_o&&this.exitScope(),this.finishNode(Io,"BlockStatement")},ga.parseFor=function(_o,Io){return _o.init=Io,this.expect(So.semi),_o.test=this.type===So.semi?null:this.parseExpression(),this.expect(So.semi),_o.update=this.type===So.parenR?null:this.parseExpression(),this.expect(So.parenR),_o.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(_o,"ForStatement")},ga.parseForIn=function(_o,Io){var No=this.type===So._in;return this.next(),Io.type==="VariableDeclaration"&&Io.declarations[0].init!=null&&(!No||this.options.ecmaVersion<8||this.strict||Io.kind!=="var"||Io.declarations[0].id.type!=="Identifier")&&this.raise(Io.start,(No?"for-in":"for-of")+" loop variable declaration may not have an initializer"),_o.left=Io,_o.right=No?this.parseExpression():this.parseMaybeAssign(),this.expect(So.parenR),_o.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(_o,No?"ForInStatement":"ForOfStatement")},ga.parseVar=function(_o,Io,No,qo){for(_o.declarations=[],_o.kind=No;;){var fa=this.startNode();if(this.parseVarId(fa,No),this.eat(So.eq)?fa.init=this.parseMaybeAssign(Io):!qo&&No==="const"&&!(this.type===So._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!qo&&fa.id.type!=="Identifier"&&!(Io&&(this.type===So._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):fa.init=null,_o.declarations.push(this.finishNode(fa,"VariableDeclarator")),!this.eat(So.comma))break}return _o},ga.parseVarId=function(_o,Io){_o.id=this.parseBindingAtom(),this.checkLValPattern(_o.id,Io==="var"?Ia:Ta,!1)};var Va=1,qa=2,us=4;ga.parseFunction=function(_o,Io,No,qo,fa){this.initFunction(_o),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!qo)&&(this.type===So.star&&Io&qa&&this.unexpected(),_o.generator=this.eat(So.star)),this.options.ecmaVersion>=8&&(_o.async=!!qo),Io&Va&&(_o.id=Io&us&&this.type!==So.name?null:this.parseIdent(),_o.id&&!(Io&qa)&&this.checkLValSimple(_o.id,this.strict||_o.generator||_o.async?this.treatFunctionsAsVar?Ia:Ta:va));var wa=this.yieldPos,Ra=this.awaitPos,Ua=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Ca(_o.async,_o.generator)),Io&Va||(_o.id=this.type===So.name?this.parseIdent():null),this.parseFunctionParams(_o),this.parseFunctionBody(_o,No,!1,fa),this.yieldPos=wa,this.awaitPos=Ra,this.awaitIdentPos=Ua,this.finishNode(_o,Io&Va?"FunctionDeclaration":"FunctionExpression")},ga.parseFunctionParams=function(_o){this.expect(So.parenL),_o.params=this.parseBindingList(So.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},ga.parseClass=function(_o,Io){this.next();var No=this.strict;this.strict=!0,this.parseClassId(_o,Io),this.parseClassSuper(_o);var qo=this.enterClassBody(),fa=this.startNode(),wa=!1;for(fa.body=[],this.expect(So.braceL);this.type!==So.braceR;){var Ra=this.parseClassElement(_o.superClass!==null);Ra&&(fa.body.push(Ra),Ra.type==="MethodDefinition"&&Ra.kind==="constructor"?(wa&&this.raiseRecoverable(Ra.start,"Duplicate constructor in the same class"),wa=!0):Ra.key&&Ra.key.type==="PrivateIdentifier"&&as(qo,Ra)&&this.raiseRecoverable(Ra.key.start,"Identifier '#"+Ra.key.name+"' has already been declared"))}return this.strict=No,this.next(),_o.body=this.finishNode(fa,"ClassBody"),this.exitClassBody(),this.finishNode(_o,Io?"ClassDeclaration":"ClassExpression")},ga.parseClassElement=function(_o){if(this.eat(So.semi))return null;var Io=this.options.ecmaVersion,No=this.startNode(),qo="",fa=!1,wa=!1,Ra="method",Ua=!1;if(this.eatContextual("static")){if(Io>=13&&this.eat(So.braceL))return this.parseClassStaticBlock(No),No;this.isClassElementNameStart()||this.type===So.star?Ua=!0:qo="static"}if(No.static=Ua,!qo&&Io>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===So.star)&&!this.canInsertSemicolon()?wa=!0:qo="async"),!qo&&(Io>=9||!wa)&&this.eat(So.star)&&(fa=!0),!qo&&!wa&&!fa){var Na=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?Ra=Na:qo=Na)}if(qo?(No.computed=!1,No.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),No.key.name=qo,this.finishNode(No.key,"Identifier")):this.parseClassElementName(No),Io<13||this.type===So.parenL||Ra!=="method"||fa||wa){var Ja=!No.static&&ps(No,"constructor"),Za=Ja&&_o;Ja&&Ra!=="method"&&this.raise(No.key.start,"Constructor can't have get/set modifier"),No.kind=Ja?"constructor":Ra,this.parseClassMethod(No,fa,wa,Za)}else this.parseClassField(No);return No},ga.isClassElementNameStart=function(){return this.type===So.name||this.type===So.privateId||this.type===So.num||this.type===So.string||this.type===So.bracketL||this.type.keyword},ga.parseClassElementName=function(_o){this.type===So.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),_o.computed=!1,_o.key=this.parsePrivateIdent()):this.parsePropertyName(_o)},ga.parseClassMethod=function(_o,Io,No,qo){var fa=_o.key;_o.kind==="constructor"?(Io&&this.raise(fa.start,"Constructor can't be a generator"),No&&this.raise(fa.start,"Constructor can't be an async method")):_o.static&&ps(_o,"prototype")&&this.raise(fa.start,"Classes may not have a static property named prototype");var wa=_o.value=this.parseMethod(Io,No,qo);return _o.kind==="get"&&wa.params.length!==0&&this.raiseRecoverable(wa.start,"getter should have no params"),_o.kind==="set"&&wa.params.length!==1&&this.raiseRecoverable(wa.start,"setter should have exactly one param"),_o.kind==="set"&&wa.params[0].type==="RestElement"&&this.raiseRecoverable(wa.params[0].start,"Setter cannot use rest params"),this.finishNode(_o,"MethodDefinition")},ga.parseClassField=function(_o){if(ps(_o,"constructor")?this.raise(_o.key.start,"Classes can't have a field named 'constructor'"):_o.static&&ps(_o,"prototype")&&this.raise(_o.key.start,"Classes can't have a static field named 'prototype'"),this.eat(So.eq)){var Io=this.currentThisScope(),No=Io.inClassFieldInit;Io.inClassFieldInit=!0,_o.value=this.parseMaybeAssign(),Io.inClassFieldInit=No}else _o.value=null;return this.semicolon(),this.finishNode(_o,"PropertyDefinition")},ga.parseClassStaticBlock=function(_o){_o.body=[];var Io=this.labels;for(this.labels=[],this.enterScope(Pa|_a);this.type!==So.braceR;){var No=this.parseStatement(null);_o.body.push(No)}return this.next(),this.exitScope(),this.labels=Io,this.finishNode(_o,"StaticBlock")},ga.parseClassId=function(_o,Io){this.type===So.name?(_o.id=this.parseIdent(),Io&&this.checkLValSimple(_o.id,Ta,!1)):(Io===!0&&this.unexpected(),_o.id=null)},ga.parseClassSuper=function(_o){_o.superClass=this.eat(So._extends)?this.parseExprSubscripts(null,!1):null},ga.enterClassBody=function(){var _o={declared:Object.create(null),used:[]};return this.privateNameStack.push(_o),_o.declared},ga.exitClassBody=function(){var _o=this.privateNameStack.pop(),Io=_o.declared,No=_o.used;if(this.options.checkPrivateFields)for(var qo=this.privateNameStack.length,fa=qo===0?null:this.privateNameStack[qo-1],wa=0;wa<No.length;++wa){var Ra=No[wa];Oo(Io,Ra.name)||(fa?fa.used.push(Ra):this.raiseRecoverable(Ra.start,"Private field '#"+Ra.name+"' must be declared in an enclosing class"))}};function as(_o,Io){var No=Io.key.name,qo=_o[No],fa="true";return Io.type==="MethodDefinition"&&(Io.kind==="get"||Io.kind==="set")&&(fa=(Io.static?"s":"i")+Io.kind),qo==="iget"&&fa==="iset"||qo==="iset"&&fa==="iget"||qo==="sget"&&fa==="sset"||qo==="sset"&&fa==="sget"?(_o[No]="true",!1):qo?!0:(_o[No]=fa,!1)}function ps(_o,Io){var No=_o.computed,qo=_o.key;return!No&&(qo.type==="Identifier"&&qo.name===Io||qo.type==="Literal"&&qo.value===Io)}ga.parseExportAllDeclaration=function(_o,Io){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(_o.exported=this.parseModuleExportName(),this.checkExport(Io,_o.exported,this.lastTokStart)):_o.exported=null),this.expectContextual("from"),this.type!==So.string&&this.unexpected(),_o.source=this.parseExprAtom(),this.semicolon(),this.finishNode(_o,"ExportAllDeclaration")},ga.parseExport=function(_o,Io){if(this.next(),this.eat(So.star))return this.parseExportAllDeclaration(_o,Io);if(this.eat(So._default))return this.checkExport(Io,"default",this.lastTokStart),_o.declaration=this.parseExportDefaultDeclaration(),this.finishNode(_o,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())_o.declaration=this.parseExportDeclaration(_o),_o.declaration.type==="VariableDeclaration"?this.checkVariableExport(Io,_o.declaration.declarations):this.checkExport(Io,_o.declaration.id,_o.declaration.id.start),_o.specifiers=[],_o.source=null;else{if(_o.declaration=null,_o.specifiers=this.parseExportSpecifiers(Io),this.eatContextual("from"))this.type!==So.string&&this.unexpected(),_o.source=this.parseExprAtom();else{for(var No=0,qo=_o.specifiers;No<qo.length;No+=1){var fa=qo[No];this.checkUnreserved(fa.local),this.checkLocalExport(fa.local),fa.local.type==="Literal"&&this.raise(fa.local.start,"A string literal cannot be used as an exported binding without `from`.")}_o.source=null}this.semicolon()}return this.finishNode(_o,"ExportNamedDeclaration")},ga.parseExportDeclaration=function(_o){return this.parseStatement(null)},ga.parseExportDefaultDeclaration=function(){var _o;if(this.type===So._function||(_o=this.isAsyncFunction())){var Io=this.startNode();return this.next(),_o&&this.next(),this.parseFunction(Io,Va|us,!1,_o)}else if(this.type===So._class){var No=this.startNode();return this.parseClass(No,"nullableID")}else{var qo=this.parseMaybeAssign();return this.semicolon(),qo}},ga.checkExport=function(_o,Io,No){_o&&(typeof Io!="string"&&(Io=Io.type==="Identifier"?Io.name:Io.value),Oo(_o,Io)&&this.raiseRecoverable(No,"Duplicate export '"+Io+"'"),_o[Io]=!0)},ga.checkPatternExport=function(_o,Io){var No=Io.type;if(No==="Identifier")this.checkExport(_o,Io,Io.start);else if(No==="ObjectPattern")for(var qo=0,fa=Io.properties;qo<fa.length;qo+=1){var wa=fa[qo];this.checkPatternExport(_o,wa)}else if(No==="ArrayPattern")for(var Ra=0,Ua=Io.elements;Ra<Ua.length;Ra+=1){var Na=Ua[Ra];Na&&this.checkPatternExport(_o,Na)}else No==="Property"?this.checkPatternExport(_o,Io.value):No==="AssignmentPattern"?this.checkPatternExport(_o,Io.left):No==="RestElement"&&this.checkPatternExport(_o,Io.argument)},ga.checkVariableExport=function(_o,Io){if(_o)for(var No=0,qo=Io;No<qo.length;No+=1){var fa=qo[No];this.checkPatternExport(_o,fa.id)}},ga.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},ga.parseExportSpecifier=function(_o){var Io=this.startNode();return Io.local=this.parseModuleExportName(),Io.exported=this.eatContextual("as")?this.parseModuleExportName():Io.local,this.checkExport(_o,Io.exported,Io.exported.start),this.finishNode(Io,"ExportSpecifier")},ga.parseExportSpecifiers=function(_o){var Io=[],No=!0;for(this.expect(So.braceL);!this.eat(So.braceR);){if(No)No=!1;else if(this.expect(So.comma),this.afterTrailingComma(So.braceR))break;Io.push(this.parseExportSpecifier(_o))}return Io},ga.parseImport=function(_o){return this.next(),this.type===So.string?(_o.specifiers=Ga,_o.source=this.parseExprAtom()):(_o.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),_o.source=this.type===So.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(_o,"ImportDeclaration")},ga.parseImportSpecifier=function(){var _o=this.startNode();return _o.imported=this.parseModuleExportName(),this.eatContextual("as")?_o.local=this.parseIdent():(this.checkUnreserved(_o.imported),_o.local=_o.imported),this.checkLValSimple(_o.local,Ta),this.finishNode(_o,"ImportSpecifier")},ga.parseImportDefaultSpecifier=function(){var _o=this.startNode();return _o.local=this.parseIdent(),this.checkLValSimple(_o.local,Ta),this.finishNode(_o,"ImportDefaultSpecifier")},ga.parseImportNamespaceSpecifier=function(){var _o=this.startNode();return this.next(),this.expectContextual("as"),_o.local=this.parseIdent(),this.checkLValSimple(_o.local,Ta),this.finishNode(_o,"ImportNamespaceSpecifier")},ga.parseImportSpecifiers=function(){var _o=[],Io=!0;if(this.type===So.name&&(_o.push(this.parseImportDefaultSpecifier()),!this.eat(So.comma)))return _o;if(this.type===So.star)return _o.push(this.parseImportNamespaceSpecifier()),_o;for(this.expect(So.braceL);!this.eat(So.braceR);){if(Io)Io=!1;else if(this.expect(So.comma),this.afterTrailingComma(So.braceR))break;_o.push(this.parseImportSpecifier())}return _o},ga.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===So.string){var _o=this.parseLiteral(this.value);return jo.test(_o.value)&&this.raise(_o.start,"An export name cannot include a lone surrogate."),_o}return this.parseIdent(!0)},ga.adaptDirectivePrologue=function(_o){for(var Io=0;Io<_o.length&&this.isDirectiveCandidate(_o[Io]);++Io)_o[Io].directive=_o[Io].expression.raw.slice(1,-1)},ga.isDirectiveCandidate=function(_o){return this.options.ecmaVersion>=5&&_o.type==="ExpressionStatement"&&_o.expression.type==="Literal"&&typeof _o.expression.value=="string"&&(this.input[_o.start]==='"'||this.input[_o.start]==="'")};var Rs=Da.prototype;Rs.toAssignable=function(_o,Io,No){if(this.options.ecmaVersion>=6&&_o)switch(_o.type){case"Identifier":this.inAsync&&_o.name==="await"&&this.raise(_o.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":_o.type="ObjectPattern",No&&this.checkPatternErrors(No,!0);for(var qo=0,fa=_o.properties;qo<fa.length;qo+=1){var wa=fa[qo];this.toAssignable(wa,Io),wa.type==="RestElement"&&(wa.argument.type==="ArrayPattern"||wa.argument.type==="ObjectPattern")&&this.raise(wa.argument.start,"Unexpected token")}break;case"Property":_o.kind!=="init"&&this.raise(_o.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(_o.value,Io);break;case"ArrayExpression":_o.type="ArrayPattern",No&&this.checkPatternErrors(No,!0),this.toAssignableList(_o.elements,Io);break;case"SpreadElement":_o.type="RestElement",this.toAssignable(_o.argument,Io),_o.argument.type==="AssignmentPattern"&&this.raise(_o.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":_o.operator!=="="&&this.raise(_o.left.end,"Only '=' operator can be used for specifying default value."),_o.type="AssignmentPattern",delete _o.operator,this.toAssignable(_o.left,Io);break;case"ParenthesizedExpression":this.toAssignable(_o.expression,Io,No);break;case"ChainExpression":this.raiseRecoverable(_o.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!Io)break;default:this.raise(_o.start,"Assigning to rvalue")}else No&&this.checkPatternErrors(No,!0);return _o},Rs.toAssignableList=function(_o,Io){for(var No=_o.length,qo=0;qo<No;qo++){var fa=_o[qo];fa&&this.toAssignable(fa,Io)}if(No){var wa=_o[No-1];this.options.ecmaVersion===6&&Io&&wa&&wa.type==="RestElement"&&wa.argument.type!=="Identifier"&&this.unexpected(wa.argument.start)}return _o},Rs.parseSpread=function(_o){var Io=this.startNode();return this.next(),Io.argument=this.parseMaybeAssign(!1,_o),this.finishNode(Io,"SpreadElement")},Rs.parseRestBinding=function(){var _o=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==So.name&&this.unexpected(),_o.argument=this.parseBindingAtom(),this.finishNode(_o,"RestElement")},Rs.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case So.bracketL:var _o=this.startNode();return this.next(),_o.elements=this.parseBindingList(So.bracketR,!0,!0),this.finishNode(_o,"ArrayPattern");case So.braceL:return this.parseObj(!0)}return this.parseIdent()},Rs.parseBindingList=function(_o,Io,No,qo){for(var fa=[],wa=!0;!this.eat(_o);)if(wa?wa=!1:this.expect(So.comma),Io&&this.type===So.comma)fa.push(null);else{if(No&&this.afterTrailingComma(_o))break;
vendor: 3,067 bytes, line 505
505if(this.type===So.ellipsis){var Ra=this.parseRestBinding();this.parseBindingListItem(Ra),fa.push(Ra),this.type===So.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(_o);break}else fa.push(this.parseAssignableListItem(qo))}return fa},Rs.parseAssignableListItem=function(_o){var Io=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(Io),Io},Rs.parseBindingListItem=function(_o){return _o},Rs.parseMaybeDefault=function(_o,Io,No){if(No=No||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(So.eq))return No;var qo=this.startNodeAt(_o,Io);return qo.left=No,qo.right=this.parseMaybeAssign(),this.finishNode(qo,"AssignmentPattern")},Rs.checkLValSimple=function(_o,Io,No){Io===void 0&&(Io=Sa);var qo=Io!==Sa;switch(_o.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(_o.name)&&this.raiseRecoverable(_o.start,(qo?"Binding ":"Assigning to ")+_o.name+" in strict mode"),qo&&(Io===Ta&&_o.name==="let"&&this.raiseRecoverable(_o.start,"let is disallowed as a lexically bound name"),No&&(Oo(No,_o.name)&&this.raiseRecoverable(_o.start,"Argument name clash"),No[_o.name]=!0),Io!==Oa&&this.declareName(_o.name,Io,_o.start));break;case"ChainExpression":this.raiseRecoverable(_o.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":qo&&this.raiseRecoverable(_o.start,"Binding member expression");break;case"ParenthesizedExpression":return qo&&this.raiseRecoverable(_o.start,"Binding parenthesized expression"),this.checkLValSimple(_o.expression,Io,No);default:this.raise(_o.start,(qo?"Binding":"Assigning to")+" rvalue")}},Rs.checkLValPattern=function(_o,Io,No){switch(Io===void 0&&(Io=Sa),_o.type){case"ObjectPattern":for(var qo=0,fa=_o.properties;qo<fa.length;qo+=1){var wa=fa[qo];this.checkLValInnerPattern(wa,Io,No)}break;case"ArrayPattern":for(var Ra=0,Ua=_o.elements;Ra<Ua.length;Ra+=1){var Na=Ua[Ra];Na&&this.checkLValInnerPattern(Na,Io,No)}break;default:this.checkLValSimple(_o,Io,No)}},Rs.checkLValInnerPattern=function(_o,Io,No){switch(Io===void 0&&(Io=Sa),_o.type){case"Property":this.checkLValInnerPattern(_o.value,Io,No);break;case"AssignmentPattern":this.checkLValPattern(_o.left,Io,No);break;case"RestElement":this.checkLValPattern(_o.argument,Io,No);break;default:this.checkLValPattern(_o,Io,No)}};var Ps=function(Io,No,qo,fa,wa){this.token=Io,this.isExpr=!!No,this.preserveSpace=!!qo,this.override=fa,this.generator=!!wa},vs={b_stat:new Ps("{",!1),b_expr:new Ps("{",!0),b_tmpl:new Ps("${",!1),p_stat:new Ps("(",!1),p_expr:new Ps("(",!0),q_tmpl:new Ps("`",!0,!0,function(_o){return _o.tryReadTemplateToken()}),f_stat:new Ps("function",!1),f_expr:new Ps("function",!0),f_expr_gen:new Ps("function",!0,!1,null,!0),f_gen:new Ps("function",!1,!1,null,!0)},Ts=Da.prototype;Ts.initialContext=function(){return[vs.b_stat]},Ts.curContext=function(){return this.context[this.context.length-1]},Ts.braceIsBlock=function(_o){var Io=this.curContext();return Io===vs.f_expr||Io===vs.f_stat?!0:_o===So.colon&&(Io===vs.b_stat||Io===v
vendor: 26,709 bytes, lines 505-507
505s.b_expr)?!Io.isExpr:_o===So._return||_o===So.name&&this.exprAllowed?To.test(this.input.slice(this.lastTokEnd,this.start)):_o===So._else||_o===So.semi||_o===So.eof||_o===So.parenR||_o===So.arrow?!0:_o===So.braceL?Io===vs.b_stat:_o===So._var||_o===So._const||_o===So.name?!1:!this.exprAllowed},Ts.inGeneratorContext=function(){for(var _o=this.context.length-1;_o>=1;_o--){var Io=this.context[_o];if(Io.token==="function")return Io.generator}return!1},Ts.updateContext=function(_o){var Io,No=this.type;No.keyword&&_o===So.dot?this.exprAllowed=!1:(Io=No.updateContext)?Io.call(this,_o):this.exprAllowed=No.beforeExpr},Ts.overrideContext=function(_o){this.curContext()!==_o&&(this.context[this.context.length-1]=_o)},So.parenR.updateContext=So.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var _o=this.context.pop();_o===vs.b_stat&&this.curContext().token==="function"&&(_o=this.context.pop()),this.exprAllowed=!_o.isExpr},So.braceL.updateContext=function(_o){this.context.push(this.braceIsBlock(_o)?vs.b_stat:vs.b_expr),this.exprAllowed=!0},So.dollarBraceL.updateContext=function(){this.context.push(vs.b_tmpl),this.exprAllowed=!0},So.parenL.updateContext=function(_o){var Io=_o===So._if||_o===So._for||_o===So._with||_o===So._while;this.context.push(Io?vs.p_stat:vs.p_expr),this.exprAllowed=!0},So.incDec.updateContext=function(){},So._function.updateContext=So._class.updateContext=function(_o){_o.beforeExpr&&_o!==So._else&&!(_o===So.semi&&this.curContext()!==vs.p_stat)&&!(_o===So._return&&To.test(this.input.slice(this.lastTokEnd,this.start)))&&!((_o===So.colon||_o===So.braceL)&&this.curContext()===vs.b_stat)?this.context.push(vs.f_expr):this.context.push(vs.f_stat),this.exprAllowed=!1},So.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},So.backQuote.updateContext=function(){this.curContext()===vs.q_tmpl?this.context.pop():this.context.push(vs.q_tmpl),this.exprAllowed=!1},So.star.updateContext=function(_o){if(_o===So._function){var Io=this.context.length-1;this.context[Io]===vs.f_expr?this.context[Io]=vs.f_expr_gen:this.context[Io]=vs.f_gen}this.exprAllowed=!0},So.name.updateContext=function(_o){var Io=!1;this.options.ecmaVersion>=6&&_o!==So.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(Io=!0),this.exprAllowed=Io};var hs=Da.prototype;hs.checkPropClash=function(_o,Io,No){if(!(this.options.ecmaVersion>=9&&_o.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(_o.computed||_o.method||_o.shorthand))){var qo=_o.key,fa;switch(qo.type){case"Identifier":fa=qo.name;break;case"Literal":fa=String(qo.value);break;default:return}var wa=_o.kind;if(this.options.ecmaVersion>=6){fa==="__proto__"&&wa==="init"&&(Io.proto&&(No?No.doubleProto<0&&(No.doubleProto=qo.start):this.raiseRecoverable(qo.start,"Redefinition of __proto__ property")),Io.proto=!0);return}fa="$"+fa;var Ra=Io[fa];if(Ra){var Ua;wa==="init"?Ua=this.strict&&Ra.init||Ra.get||Ra.set:Ua=Ra.init||Ra[wa],Ua&&this.raiseRecoverable(qo.start,"Redefinition of property")}else Ra=Io[fa]={init:!1,get:!1,set:!1};Ra[wa]=!0}},hs.parseExpression=function(_o,Io){var No=this.start,qo=this.startLoc,fa=this.parseMaybeAssign(_o,Io);if(this.type===So.comma){var wa=this.startNodeAt(No,qo);for(wa.expressions=[fa];this.eat(So.comma);)wa.expressions.push(this.parseMaybeAssign(_o,Io));return this.finishNode(wa,"SequenceExpression")}return fa},hs.parseMaybeAssign=function(_o,Io,No){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(_o);this.exprAllowed=!1}var qo=!1,fa=-1,wa=-1,Ra=-1;Io?(fa=Io.parenthesizedAssign,wa=Io.trailingComma,Ra=Io.doubleProto,Io.parenthesizedAssign=Io.trailingComma=-1):(Io=new ma,qo=!0);var Ua=this.start,Na=this.startLoc;(this.type===So.parenL||this.type===So.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=_o==="await");var Ja=this.parseMaybeConditional(_o,Io);if(No&&(Ja=No.call(this,Ja,Ua,Na)),this.type.isAssign){var Za=this.startNodeAt(Ua,Na);return Za.operator=this.value,this.type===So.eq&&(Ja=this.toAssignable(Ja,!1,Io)),qo||(Io.parenthesizedAssign=Io.trailingComma=Io.doubleProto=-1),Io.shorthandAssign>=Ja.start&&(Io.shorthandAssign=-1),this.type===So.eq?this.checkLValPattern(Ja):this.checkLValSimple(Ja),Za.left=Ja,this.next(),Za.right=this.parseMaybeAssign(_o),Ra>-1&&(Io.doubleProto=Ra),this.finishNode(Za,"AssignmentExpression")}else qo&&this.checkExpressionErrors(Io,!0);return fa>-1&&(Io.parenthesizedAssign=fa),wa>-1&&(Io.trailingComma=wa),Ja},hs.parseMaybeConditional=function(_o,Io){var No=this.start,qo=this.startLoc,fa=this.parseExprOps(_o,Io);if(this.checkExpressionErrors(Io))return fa;if(this.eat(So.question)){var wa=this.startNodeAt(No,qo);return wa.test=fa,wa.consequent=this.parseMaybeAssign(),this.expect(So.colon),wa.alternate=this.parseMaybeAssign(_o),this.finishNode(wa,"ConditionalExpression")}return fa},hs.parseExprOps=function(_o,Io){var No=this.start,qo=this.startLoc,fa=this.parseMaybeUnary(Io,!1,!1,_o);return this.checkExpressionErrors(Io)||fa.start===No&&fa.type==="ArrowFunctionExpression"?fa:this.parseExprOp(fa,No,qo,-1,_o)},hs.parseExprOp=function(_o,Io,No,qo,fa){var wa=this.type.binop;if(wa!=null&&(!fa||this.type!==So._in)&&wa>qo){var Ra=this.type===So.logicalOR||this.type===So.logicalAND,Ua=this.type===So.coalesce;Ua&&(wa=So.logicalAND.binop);var Na=this.value;this.next();var Ja=this.start,Za=this.startLoc,Ss=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,fa),Ja,Za,wa,fa),Gs=this.buildBinary(Io,No,_o,Ss,Na,Ra||Ua);return(Ra&&this.type===So.coalesce||Ua&&(this.type===So.logicalOR||this.type===So.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(Gs,Io,No,qo,fa)}return _o},hs.buildBinary=function(_o,Io,No,qo,fa,wa){qo.type==="PrivateIdentifier"&&this.raise(qo.start,"Private identifier can only be left side of binary expression");var Ra=this.startNodeAt(_o,Io);return Ra.left=No,Ra.operator=fa,Ra.right=qo,this.finishNode(Ra,wa?"LogicalExpression":"BinaryExpression")},hs.parseMaybeUnary=function(_o,Io,No,qo){var fa=this.start,wa=this.startLoc,Ra;if(this.isContextual("await")&&this.canAwait)Ra=this.parseAwait(qo),Io=!0;else if(this.type.prefix){var Ua=this.startNode(),Na=this.type===So.incDec;Ua.operator=this.value,Ua.prefix=!0,this.next(),Ua.argument=this.parseMaybeUnary(null,!0,Na,qo),this.checkExpressionErrors(_o,!0),Na?this.checkLValSimple(Ua.argument):this.strict&&Ua.operator==="delete"&&ol(Ua.argument)?this.raiseRecoverable(Ua.start,"Deleting local variable in strict mode"):Ua.operator==="delete"&&Zs(Ua.argument)?this.raiseRecoverable(Ua.start,"Private fields can not be deleted"):Io=!0,Ra=this.finishNode(Ua,Na?"UpdateExpression":"UnaryExpression")}else if(!Io&&this.type===So.privateId)(qo||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),Ra=this.parsePrivateIdent(),this.type!==So._in&&this.unexpected();else{if(Ra=this.parseExprSubscripts(_o,qo),this.checkExpressionErrors(_o))return Ra;for(;this.type.postfix&&!this.canInsertSemicolon();){var Ja=this.startNodeAt(fa,wa);Ja.operator=this.value,Ja.prefix=!1,Ja.argument=Ra,this.checkLValSimple(Ra),this.next(),Ra=this.finishNode(Ja,"UpdateExpression")}}if(!No&&this.eat(So.starstar))if(Io)this.unexpected(this.lastTokStart);else return this.buildBinary(fa,wa,Ra,this.parseMaybeUnary(null,!1,!1,qo),"**",!1);else return Ra};function ol(_o){return _o.type==="Identifier"||_o.type==="ParenthesizedExpression"&&ol(_o.expression)}function Zs(_o){return _o.type==="MemberExpression"&&_o.property.type==="PrivateIdentifier"||_o.type==="ChainExpression"&&Zs(_o.expression)||_o.type==="ParenthesizedExpression"&&Zs(_o.expression)}hs.parseExprSubscripts=function(_o,Io){var No=this.start,qo=this.startLoc,fa=this.parseExprAtom(_o,Io);if(fa.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return fa;var wa=this.parseSubscripts(fa,No,qo,!1,Io);return _o&&wa.type==="MemberExpression"&&(_o.parenthesizedAssign>=wa.start&&(_o.parenthesizedAssign=-1),_o.parenthesizedBind>=wa.start&&(_o.parenthesizedBind=-1),_o.trailingComma>=wa.start&&(_o.trailingComma=-1)),wa},hs.parseSubscripts=function(_o,Io,No,qo,fa){for(var wa=this.options.ecmaVersion>=8&&_o.type==="Identifier"&&_o.name==="async"&&this.lastTokEnd===_o.end&&!this.canInsertSemicolon()&&_o.end-_o.start===5&&this.potentialArrowAt===_o.start,Ra=!1;;){var Ua=this.parseSubscript(_o,Io,No,qo,wa,Ra,fa);if(Ua.optional&&(Ra=!0),Ua===_o||Ua.type==="ArrowFunctionExpression"){if(Ra){var Na=this.startNodeAt(Io,No);Na.expression=Ua,Ua=this.finishNode(Na,"ChainExpression")}return Ua}_o=Ua}},hs.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(So.arrow)},hs.parseSubscriptAsyncArrow=function(_o,Io,No,qo){return this.parseArrowExpression(this.startNodeAt(_o,Io),No,!0,qo)},hs.parseSubscript=function(_o,Io,No,qo,fa,wa,Ra){var Ua=this.options.ecmaVersion>=11,Na=Ua&&this.eat(So.questionDot);qo&&Na&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var Ja=this.eat(So.bracketL);if(Ja||Na&&this.type!==So.parenL&&this.type!==So.backQuote||this.eat(So.dot)){var Za=this.startNodeAt(Io,No);Za.object=_o,Ja?(Za.property=this.parseExpression(),this.expect(So.bracketR)):this.type===So.privateId&&_o.type!=="Super"?Za.property=this.parsePrivateIdent():Za.property=this.parseIdent(this.options.allowReserved!=="never"),Za.computed=!!Ja,Ua&&(Za.optional=Na),_o=this.finishNode(Za,"MemberExpression")}else if(!qo&&this.eat(So.parenL)){var Ss=new ma,Gs=this.yieldPos,rl=this.awaitPos,zs=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Fl=this.parseExprList(So.parenR,this.options.ecmaVersion>=8,!1,Ss);if(fa&&!Na&&this.shouldParseAsyncArrow())return this.checkPatternErrors(Ss,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=Gs,this.awaitPos=rl,this.awaitIdentPos=zs,this.parseSubscriptAsyncArrow(Io,No,Fl,Ra);this.checkExpressionErrors(Ss,!0),this.yieldPos=Gs||this.yieldPos,this.awaitPos=rl||this.awaitPos,this.awaitIdentPos=zs||this.awaitIdentPos;var bl=this.startNodeAt(Io,No);bl.callee=_o,bl.arguments=Fl,Ua&&(bl.optional=Na),_o=this.finishNode(bl,"CallExpression")}else if(this.type===So.backQuote){(Na||wa)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Gl=this.startNodeAt(Io,No);Gl.tag=_o,Gl.quasi=this.parseTemplate({isTagged:!0}),_o=this.finishNode(Gl,"TaggedTemplateExpression")}return _o},hs.parseExprAtom=function(_o,Io,No){this.type===So.slash&&this.readRegexp();var qo,fa=this.potentialArrowAt===this.start;switch(this.type){case So._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),qo=this.startNode(),this.next(),this.type===So.parenL&&!this.allowDirectSuper&&this.raise(qo.start,"super() call outside constructor of a subclass"),this.type!==So.dot&&this.type!==So.bracketL&&this.type!==So.parenL&&this.unexpected(),this.finishNode(qo,"Super");case So._this:return qo=this.startNode(),this.next(),this.finishNode(qo,"ThisExpression");case So.name:var wa=this.start,Ra=this.startLoc,Ua=this.containsEsc,Na=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!Ua&&Na.name==="async"&&!this.canInsertSemicolon()&&this.eat(So._function))return this.overrideContext(vs.f_expr),this.parseFunction(this.startNodeAt(wa,Ra),0,!1,!0,Io);if(fa&&!this.canInsertSemicolon()){if(this.eat(So.arrow))return this.parseArrowExpression(this.startNodeAt(wa,Ra),[Na],!1,Io);if(this.options.ecmaVersion>=8&&Na.name==="async"&&this.type===So.name&&!Ua&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return Na=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(So.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(wa,Ra),[Na],!0,Io)}return Na;case So.regexp:var Ja=this.value;return qo=this.parseLiteral(Ja.value),qo.regex={pattern:Ja.pattern,flags:Ja.flags},qo;case So.num:case So.string:return this.parseLiteral(this.value);case So._null:case So._true:case So._false:return qo=this.startNode(),qo.value=this.type===So._null?null:this.type===So._true,qo.raw=this.type.keyword,this.next(),this.finishNode(qo,"Literal");case So.parenL:var Za=this.start,Ss=this.parseParenAndDistinguishExpression(fa,Io);return _o&&(_o.parenthesizedAssign<0&&!this.isSimpleAssignTarget(Ss)&&(_o.parenthesizedAssign=Za),_o.parenthesizedBind<0&&(_o.parenthesizedBind=Za)),Ss;case So.bracketL:return qo=this.startNode(),this.next(),qo.elements=this.parseExprList(So.bracketR,!0,!0,_o),this.finishNode(qo,"ArrayExpression");case So.braceL:return this.overrideContext(vs.b_expr),this.parseObj(!1,_o);case So._function:return qo=this.startNode(),this.next(),this.parseFunction(qo,0);case So._class:return this.parseClass(this.startNode(),!1);case So._new:return this.parseNew();case So.backQuote:return this.parseTemplate();case So._import:return this.options.ecmaVersion>=11?this.parseExprImport(No):this.unexpected();default:return this.parseExprAtomDefault()}},hs.parseExprAtomDefault=function(){this.unexpected()},hs.parseExprImport=function(_o){var Io=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===So.parenL&&!_o)return this.parseDynamicImport(Io);if(this.type===So.dot){var No=this.startNodeAt(Io.start,Io.loc&&Io.loc.start);return No.name="import",Io.meta=this.finishNode(No,"Identifier"),this.parseImportMeta(Io)}else this.unexpected()},hs.parseDynamicImport=function(_o){if(this.next(),_o.source=this.parseMaybeAssign(),!this.eat(So.parenR)){var Io=this.start;this.eat(So.comma)&&this.eat(So.parenR)?this.raiseRecoverable(Io,"Trailing comma is not allowed in import()"):this.unexpected(Io)}return this.finishNode(_o,"ImportExpression")},hs.parseImportMeta=function(_o){this.next();var Io=this.containsEsc;return _o.property=this.parseIdent(!0),_o.property.name!=="meta"&&this.raiseRecoverable(_o.property.start,"The only valid meta property for import is 'import.meta'"),Io&&this.raiseRecoverable(_o.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(_o.start,"Cannot use 'import.meta' outside a module"),this.finishNode(_o,"MetaProperty")},hs.parseLiteral=function(_o){var Io=this.startNode();return Io.value=_o,Io.raw=this.input.slice(this.start,this.end),Io.raw.charCodeAt(Io.raw.length-1)===110&&(Io.bigint=Io.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(Io,"Literal")},hs.parseParenExpression=function(){this.expect(So.parenL);var _o=this.parseExpression();return this.expect(So.parenR),_o},hs.shouldParseArrow=function(_o){return!this.canInsertSemicolon()},hs.parseParenAndDistinguishExpression=function(_o,Io){var No=this.start,qo=this.startLoc,fa,wa=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var Ra=this.start,Ua=this.startLoc,Na=[],Ja=!0,Za=!1,Ss=new ma,Gs=this.yieldPos,rl=this.awaitPos,zs;for(this.yieldPos=0,this.awaitPos=0;this.type!==So.parenR;)if(Ja?Ja=!1:this.expect(So.comma),wa&&this.afterTrailingComma(So.parenR,!0)){Za=!0;break}else if(this.type===So.ellipsis){zs=this.start,Na.push(this.parseParenItem(this.parseRestBinding())),this.type===So.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else Na.push(this.parseMaybeAssign(!1,Ss,this.parseParenItem));var Fl=this.lastTokEnd,bl=this.lastTokEndLoc;if(this.expect(So.parenR),_o&&this.shouldParseArrow(Na)&&this.eat(So.arrow))return this.checkPatternErrors(Ss,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Gs,this.awaitPos=rl,this.parseParenArrowList(No,qo,Na,Io);(!Na.length||Za)&&this.unexpected(this.lastTokStart),zs&&this.unexpected(zs),this.checkExpressionErrors(Ss,!0),this.yieldPos=Gs||this.yieldPos,this.awaitPos=rl||this.awaitPos,Na.length>1?(fa=this.startNodeAt(Ra,Ua),fa.expressions=Na,this.finishNodeAt(fa,"SequenceExpression",Fl,bl)):fa=Na[0]}else fa=this.parseParenExpression();if(this.options.preserveParens){var Gl=this.startNodeAt(No,qo);return Gl.expression=fa,this.finishNode(Gl,"ParenthesizedExpression")}else return fa},hs.parseParenItem=function(_o){return _o},hs.parseParenArrowList=function(_o,Io,No,qo){return this.parseArrowExpression(this.startNodeAt(_o,Io),No,!1,qo)};var $s=[];hs.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var _o=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===So.dot){var Io=this.startNodeAt(_o.start,_o.loc&&_o.loc.start);Io.name="new",_o.meta=this.finishNode(Io,"Identifier"),this.next();var No=this.containsEsc;return _o.property=this.parseIdent(!0),_o.property.name!=="target"&&this.raiseRecoverable(_o.property.start,"The only valid meta property for new is 'new.target'"),No&&this.raiseRecoverable(_o.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(_o.start,"'new.target' can only be used in functions and class static block"),this.finishNode(_o,"MetaProperty")}var qo=this.start,fa=this.startLoc;return _o.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),qo,fa,!0,!1),this.eat(So.parenL)?_o.arguments=this.parseExprList(So.parenR,this.options.ecmaVersion>=8,!1):_o.arguments=$s,this.finishNode(_o,"NewExpression")},hs.parseTemplateElement=function(_o){var Io=_o.isTagged,No=this.startNode();return this.type===So.invalidTemplate?(Io||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),No.value={raw:this.value.replace(/\r\n?/g,`
506`),cooked:null}):No.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
507`),cooked:this.value},this.next(),No.tail=this.type===So.backQuote,this.finishNode(No,"TemplateElement")},hs.parseTemplate=function(_o){_o===void 0&&(_o={});var Io=_o.isTagged;Io===void 0&&(Io=!1);var No=this.startNode();this.next(),No.expressions=[];var qo=this.parseTemplateElement({isTagged:Io});for(No.quasis=[qo];!qo.tail;)this.type===So.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(So.dollarBraceL),No.expressions.push(this.parseExpression()),this.expect(So.braceR),No.quasis.push(qo=this.parseTemplateElement({isTagged:Io}));return this.next(),this.finishNode(No,"TemplateLiteral")},hs.isAsyncProp=function(_o){return!_o.computed&&_o.key.type==="Identifier"&&_o.key.name==="async"&&(this.type===So.name||this.type===So.num||this.type===So.string||this.type===So.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===So.star)&&!To.test(this.input.slice(this.lastTokEnd,this.start))},hs.parseObj=function(_o,Io){var No=this.startNode(),qo=!0,fa={};for(No.properties=[],this.next();!this.eat(So.braceR);){if(qo)qo=!1;else if(this.expect(So.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(So.braceR))break;var wa=this.parseProperty(_o,Io);_o||this.checkPropClash(wa,fa,Io),No.properties.push(wa)}return this.finishNode(No,_o?"ObjectPattern":"ObjectExpression")},hs.parseProperty=function(_o,Io){var No=this.startNode(),qo,fa,wa,Ra;if(this.options.ecmaVersion>=9&&this.eat(So.ellipsis))return _o?(No.argument=this.parseIdent(!1),this.type===So.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(No,"RestElement")):(No.argument=this.parseMaybeAssign(!1,Io),this.type===So.comma&&Io&&Io.trailingComma<0&&(Io.trailingComma=this.start),this.finishNode(No,"SpreadElement"));this.options.ecmaVersion>=6&&(No.method=!1,No.shorthand=!1,(_o||Io)&&(wa=this.start,Ra=this.startLoc),_o||(qo=this.eat(So.star)));var Ua=this.containsEsc;return this.parsePropertyName(No),!_o&&!Ua&&this.options.ecmaVersion>=8&&!qo&&this.isAsyncProp(No)?(fa=!0,qo=this.options.ecmaVersion>=9&&this.eat(So.star),this.parsePropertyName(No)):fa=!1,this.parsePropertyValue(No,_o,qo,fa,wa,Ra,Io,Ua),this.finishNode(No,"Property")},hs.parseGetterSetter=function(_o){_o.kind=_o.key.name,this.parsePropertyName(_o),_o.value=this.parseMethod(!1);var Io=_o.kind==="get"?0:1;if(_o.value.params.length!==Io){var No=_o.value.start;_o.kind==="get"?this.raiseRecoverable(No,"getter should have no params"):this.raiseRecoverable(No,"setter should have exactly one param")}else _o.kind==="set"&&_o.value.params[0].type==="RestElement"&&this.raiseRecoverable(_o.value.params[0].start,"Setter cannot use rest params")},hs.parsePropertyValue=function(_o,Io,No,qo,fa,wa,Ra,Ua){(No||qo)&&this.type===So.colon&&this.unexpected(),this.eat(So.colon)?(_o.value=Io?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,Ra),_o.kind="init"):this.options.ecmaVersion>=6&&this.type===So.parenL?(Io&&this.unexpected(),_o.kind="init",_o.method=!0,_o.value=this.parseMethod(No,qo)):!Io&&!Ua&&this.options.ecmaVersion>=5&&!_o.computed&&_o.key.type==="Identifier"&&(_o.key.name==="get"||_o.key.name==="set")&&this.type!==So.comma&&this.type!==So.braceR&&this.type!==So.eq?((No||qo)&&this.unexpected(),this.parseGetterSetter(_o)):this.options.ecmaVersion>=6&&!_o.computed&&_o.key.type==="Identifier"?((No||qo)&&this.unexpected(),this.checkUnreserved(_o.key),_o.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=fa),_o.kind="init",Io?_o.value=this.parseMaybeDefault(fa,wa,this.copyNode(_o.key)):this.type===So.eq&&Ra?(Ra.shorthandAssign<0&&(Ra.shorthandAssign=this.start),_o.value=this.parseMaybeDefault(fa,wa,this.copyNode(_o.key))):_o.value=this.copyNode(_o.key),_o.shorthand=!0):this.unexpected()},hs.parsePropertyName=function(_o){if(this.options.ecmaVersion>=6){if(this.eat(So.bracketL))return _o.computed=!0,_o.key=this.parseMaybeAssign(),this.expect(So.bracketR),_o.key;_o.computed=!1}return _o.key=this.type===So.num||this.type===So.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},hs.initFunction=function(_o){_o.id=null,this.options.ecmaVersion>=6&&(_o.generator=_o.expression=!1),this.options.ecmaVersion>=8&&(_o.async=!1)},hs.parseMethod=function(_o,Io,No){var qo=this.startNode(),fa=this.yieldPos,wa=this.awaitPos,Ra=this.awaitIdentPos;return this.initFunction(qo),this.options.ecmaVersion>=6&&(qo.generator=_o),this.options.ecmaVersion>=8&&(qo.async=!!Io),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Ca(Io,qo.generator)|_a|(No?Ea:0)),this.expect(So.parenL),qo.params=this.parseBindingList(So.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(qo,!1,!0,!1),this.yieldPos=fa,this.awaitPos=wa,this.awaitIdentPos=Ra,this.finishNode(qo,"FunctionExpression")},hs.parseArrowExpression=function(_o,Io,No,qo){var fa=this.yieldPos,wa=this.awaitPos,Ra=this.awaitIdentPos;return this.enterScope(Ca(No,!1)|oa),this.initFunction(_o),this.options.ecmaVersion>=8&&(_o.async=!!No),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,_o.params=this.toAssignableList(Io,!0),this.parseFunctionBody(_o,!0,!1,qo),this.yieldPos=fa,this.awaitPos=wa,this.awaitIdentPos=Ra,this.finishNode(_o,"ArrowFunctionExpression")},hs.parseFunctionBody=function(_o,Io,No,qo){var fa=Io&&this.type!==So.braceL,wa=this.strict,Ra=!1;if(fa)_o.body=this.parseMaybeAssign(qo),_o.expression=!0,this.checkParams(_o,!1);else{var Ua=this.options.ecmaVersion>=7&&!this.isSimpleParamList(_o.params);(!wa||Ua)&&(Ra=this.strictDirective(this.end),Ra&&Ua&&this.raiseRecoverable(_o.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var Na=this.labels;this.labels=[],Ra&&(this.strict=!0),this.checkParams(_o,!wa&&!Ra&&!Io&&!No&&this.isSimpleParamList(_o.params)),this.strict&&_o.id&&this.checkLValSimple(_o.id,Oa),_o.body=this.parseBlock(!1,void 0,Ra&&!wa),_o.expression=!1,this.adaptDirectivePrologue(_o.body.body),this.labels=Na}this.exitScope()},hs.isSimpleParamList=function(_o){for(var Io=0,No=_o;Io<No.length;Io+=1){var qo=No[Io];if(qo.type!=="Identifier")return!1}return!0},hs.checkParams=function(_o,Io){for(var No=Object.create(null),qo=0,fa=_o.params;qo<fa.length;qo+=1){var wa=fa[qo];this.checkLValInnerPattern(wa,Ia,Io?null:No)}},hs.parseExprList=function(_o,Io,No,qo){for(var fa=[],wa=!0;!this.eat(_o);){if(wa)wa=!1;else if(this.expect(So.comma),Io&&this.afterTrailingComma(_o))break;var Ra=void 0;No&&this.type===So.comma?Ra=null:this.type===So.ellipsis?(Ra=this.parseSpread(qo),qo&&this.type===So.comma&&qo.trailingComma<0&&(qo.trailingComma=this.start)):Ra=this.parseMaybeAssign(!1,qo),fa.push(Ra)}return fa},hs.checkUnreserved=function(_o){var Io=_o.start,No=_o.end,qo=_o.name;if(this.inGenerator&&qo==="yield"&&this.raiseRecoverable(Io,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&qo==="await"&&this.raiseRecoverable(Io,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&qo==="arguments"&&this.raiseRecoverable(Io,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(qo==="arguments"||qo==="await")&&this.raise(Io,"Cannot use "+qo+" in class static initialization block"),this.keywords.test(qo)&&this.raise(Io,"Unexpected keyword '"+qo+"'"),!(this.options.ecmaVersion<6&&this.input.slice(Io,No).indexOf("\\")!==-1)){var fa=this.strict?this.reservedWordsStrict:this.reservedWords;fa.test(qo)&&(!this.inAsync&&qo==="await"&&this.raiseRecoverable(Io,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(Io,"The keyword '"+qo+"' is reserved"))}},hs.parseIdent=function(_o){var Io=this.parseIdentNode();return this.next(!!_o),this.finishNode(Io,"Identifier"),_o||(this.checkUnreserved(Io),Io.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=Io.start)),Io},hs.parseIdentNode=function(){var _o=this.startNode();return this.type===So.name?_o.name=this.value:this.type.keyword?(_o.name=this.type.keyword,(_o.name==="class"||_o.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=So.name):this.unexpected(),_o},hs.parsePrivateIdent=function(){var _o=this.startNode();return this.type===So.privateId?_o.name=this.value:this.unexpected(),this.next(),this.finishNode(_o,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(_o.start,"Private field '#"+_o.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(_o)),_o},hs.parseYield=function(_o){this.yieldPos||(this.yieldPos=this.start);var Io=this.startNode();return this.next(),this.type===So.semi||this.canInsertSemicolon()||this.type!==So.star&&!this.t
vendor: 6,726 bytes, line 507
507ype.startsExpr?(Io.delegate=!1,Io.argument=null):(Io.delegate=this.eat(So.star),Io.argument=this.parseMaybeAssign(_o)),this.finishNode(Io,"YieldExpression")},hs.parseAwait=function(_o){this.awaitPos||(this.awaitPos=this.start);var Io=this.startNode();return this.next(),Io.argument=this.parseMaybeUnary(null,!0,!1,_o),this.finishNode(Io,"AwaitExpression")};var al=Da.prototype;al.raise=function(_o,Io){var No=Wo(this.input,_o);Io+=" ("+No.line+":"+No.column+")";var qo=new SyntaxError(Io);throw qo.pos=_o,qo.loc=No,qo.raisedAt=this.pos,qo},al.raiseRecoverable=al.raise,al.curPosition=function(){if(this.options.locations)return new Xo(this.curLine,this.pos-this.lineStart)};var Rl=Da.prototype,El=function(Io){this.flags=Io,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};Rl.enterScope=function(_o){this.scopeStack.push(new El(_o))},Rl.exitScope=function(){this.scopeStack.pop()},Rl.treatFunctionsAsVarInScope=function(_o){return _o.flags&ya||!this.inModule&&_o.flags&sa},Rl.declareName=function(_o,Io,No){var qo=!1;if(Io===Ta){var fa=this.currentScope();qo=fa.lexical.indexOf(_o)>-1||fa.functions.indexOf(_o)>-1||fa.var.indexOf(_o)>-1,fa.lexical.push(_o),this.inModule&&fa.flags&sa&&delete this.undefinedExports[_o]}else if(Io===xa){var wa=this.currentScope();wa.lexical.push(_o)}else if(Io===va){var Ra=this.currentScope();this.treatFunctionsAsVar?qo=Ra.lexical.indexOf(_o)>-1:qo=Ra.lexical.indexOf(_o)>-1||Ra.var.indexOf(_o)>-1,Ra.functions.push(_o)}else for(var Ua=this.scopeStack.length-1;Ua>=0;--Ua){var Na=this.scopeStack[Ua];if(Na.lexical.indexOf(_o)>-1&&!(Na.flags&la&&Na.lexical[0]===_o)||!this.treatFunctionsAsVarInScope(Na)&&Na.functions.indexOf(_o)>-1){qo=!0;break}if(Na.var.push(_o),this.inModule&&Na.flags&sa&&delete this.undefinedExports[_o],Na.flags&aa)break}qo&&this.raiseRecoverable(No,"Identifier '"+_o+"' has already been declared")},Rl.checkLocalExport=function(_o){this.scopeStack[0].lexical.indexOf(_o.name)===-1&&this.scopeStack[0].var.indexOf(_o.name)===-1&&(this.undefinedExports[_o.name]=_o)},Rl.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Rl.currentVarScope=function(){for(var _o=this.scopeStack.length-1;;_o--){var Io=this.scopeStack[_o];if(Io.flags&aa)return Io}},Rl.currentThisScope=function(){for(var _o=this.scopeStack.length-1;;_o--){var Io=this.scopeStack[_o];if(Io.flags&aa&&!(Io.flags&oa))return Io}};var Sl=function(Io,No,qo){this.type="",this.start=No,this.end=0,Io.options.locations&&(this.loc=new Zo(Io,qo)),Io.options.directSourceFile&&(this.sourceFile=Io.options.directSourceFile),Io.options.ranges&&(this.range=[No,0])},xl=Da.prototype;xl.startNode=function(){return new Sl(this,this.start,this.startLoc)},xl.startNodeAt=function(_o,Io){return new Sl(this,_o,Io)};function yc(_o,Io,No,qo){return _o.type=Io,_o.end=No,this.options.locations&&(_o.loc.end=qo),this.options.ranges&&(_o.range[1]=No),_o}xl.finishNode=function(_o,Io){return yc.call(this,_o,Io,this.lastTokEnd,this.lastTokEndLoc)},xl.finishNodeAt=function(_o,Io,No,qo){return yc.call(this,_o,Io,No,qo)},xl.copyNode=function(_o){var Io=new Sl(this,_o.start,this.startLoc);for(var No in _o)Io[No]=_o[No];return Io};var Ll="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",kl=Ll+" Extended_Pictographic",Vl=kl,Ql=Vl+" EBase EComp EMod EPres ExtPict",cl=Ql,sl=cl,qs={9:Ll,10:kl,11:Vl,12:Ql,13:cl,14:sl},Ya="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",Ka={9:"",10:"",11:"",12:"",13:"",14:Ya},ys="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Ls="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Re
507jang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Ns=Ls+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",tl=Ns+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Qs=tl+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",$l=Qs+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",bc=$l+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz",tu={9:Ls,10:Ns,11:tl,12:Qs,13:$l,14:bc},il={};function Pc(_o){var Io=il[_o]={binary:Fo(qs[_o]+" "+ys),binaryOfStrings:Fo(Ka[_o]),nonBinary:{General_Category:Fo(ys),Script:Fo(tu[_o])}};Io.nonBinary.Script_Extensions=Io.nonBinary.Script,Io.nonBinary.gc=Io.nonBinary.General_Category,Io.nonBinary.sc=Io.nonBinary.Script,Io.nonBinary.scx=Io.nonBinary.Script_Extensions}for(var Yl=0,sc=[9,10,11,12,13,14];Yl<sc.length;Yl+=1){var Xl=sc[Yl];Pc(Xl)}var gs=Da.prototype,Vs=function(Io,No){this.parent=Io,this.base=No||this};Vs.prototype.separatedFrom=function(Io){for(var No=this;No;No=No.parent)for(var qo=Io;qo;qo=qo.parent)if(No.base===qo.base&&No!==qo)return!0;return!1},Vs.prototype.sibling=function(){return new Vs(this.parent,this.base)};var Ys=function(Io){this.parser=Io,this.validFlags="gim"+(Io.options.ecmaVersion>=6?"uy":"")+(Io.options.ecmaVersion>=9?"s":"")+(Io.options.ecmaVersion>=13?"d":"")+(Io.options.ecmaVersion>=15?"v":""),this.unicodeProperties=il[Io.options.ecmaVersion>=14?14:Io.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};Ys.prototype.reset=function(Io,No,qo){var fa=qo.indexOf("v")!==-1,wa=qo.indexOf("u")!==-1;this.start=Io|0,this.source=No+"",this.flags=qo,fa&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=wa&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=wa&&this.parser.options.ecmaVersion>=9)},Ys.prototype.raise=function(Io){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+Io)},Ys.prototype.at=function(Io,No){No===void 0&&(No=!1);var qo=this.source,fa=qo.length;if(Io>=fa)return-1;var wa=qo.charCodeAt(Io);if(!(No||this.switchU)||wa<=55295||wa>=57344||Io+1>=fa)return wa;var Ra=qo.charCodeAt(Io+1);return Ra>=56320&&Ra<=57343?(wa<<10)+Ra-56613888:wa},Ys.prototype.nextIndex=function(Io,No){No===void 0&&(No=!1);var qo=this.source,fa=qo.length;if(Io>=fa)return fa;var wa=qo.charCodeAt(Io),Ra;return!(No||this.switchU)||wa<=55295||wa>=57344||Io+1>=fa||(Ra=qo.charCodeAt(Io+1))<56320||Ra>57343?Io+1:Io+2},Ys.prototype.current=function(Io){return Io===void 0&&(Io=!1),this.at(this.pos,Io)},Ys.prototype.lookahead=function(Io){return Io===void 0&&(Io=!1),this.at(this.nextIndex(this.pos,Io),Io)},Ys.prototype.advance=function(Io){Io===void 0&&(Io=!1),this.pos=this.nextIndex(this.pos,Io)},Ys.prototype.eat=function(Io,No){return No===void 0&&(No=!1),this.current(No)===Io?(this.advance(No),!0):!1},Ys.prototype.eatChars=function(Io,No){No===void 0&&(No=!1);for(var qo=this.pos,fa=0,wa=Io;fa<wa.length;fa+=1){var Ra=wa[fa],Ua=this.at(qo,No);if(Ua===-1||Ua!==Ra)return!1;qo=this.nextIndex(qo,No)}return this.pos=qo,!0},gs.validateRegExpFlags=function(_o){for(var Io=_o.validFlags,No=_o.flags,qo=!1,fa=!1,wa=0;wa<No.length;wa++){var Ra=No.charAt(wa);Io.indexOf(Ra)===-1&&this.raise(_o.start,"Invalid regular expression flag"),No.indexOf(Ra,wa+1)>-1&&this.raise(_o.start,"Duplicate regular expression flag"),Ra==="u"&&(qo=!0),Ra==="v"&&(fa=!0)}this.options.ecmaVersion>=15&&qo&&fa&&this.raise(_o.start,"Invalid regular expression flag")};function dl(_o){for(var Io in _o)return!0;return!1}gs.validateRegExpPattern=function(_o){this.regexp_pattern(_o),!_o.switchN&&this.options.ecmaVersion>=9&&dl(_o.groupNames)&&(_o.switchN=!0,this.regexp_pattern(_o))},gs.regexp_pattern=function(_o){_o.pos=0,_o.lastIntValue=0,_o.lastStringValue="",_o.lastAssertionIsQuantifiable=!1,_o.numCapturingParens=0,_o.maxBackReference=0,_o.groupNames=Object.create(null),_o.backReferenceNames.length=0,_o.branchID=null,this.regexp_disjunction(_o),_o.pos!==_o.source.length&&(_o.eat(41)&&_o.raise("Unmatched ')'"),(_o.eat(93)||_o.eat(125))&&_o.raise("Lone quantifier brackets")),_o.maxBackReference>_o.numCapturingParens&&_o.raise("Invalid escape");for(var Io=0,No=_o.backReferenceNames;Io<No.length;Io+=1){var qo=No[Io];_o.groupNames[qo]||_o.raise("Invalid named capture referenced")}},gs.regexp_disjunction=function(_o){var Io=this.options.ecmaVersion>=16;for(Io&&(_o.branchID=new Vs(_o.branchID,null)),this.regexp_alternative(_o);_o.eat(124);)Io&&(_o.branchID=_o.branchID.sibling()),this.regexp_alternative(_o);Io&&(_o.branchID=_o.branchID.parent),this.regexp_eatQuantifier(_o,!0)&&_o.raise("Nothing to repeat"),_o.eat(123)&&_o.raise("Lone quantifier brackets")},gs.regexp_alternative=function(_o){for(;_o.pos<_o.source.length&&this.regexp_eatTerm(_o););},gs.regexp_eatTerm=function(_o){return this.regexp_eatAssertion(_o)?(_o.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(_o)&&_o.switchU&&_o.raise("Invalid quantifier"),!0):(_o.switchU?this.regexp_eatAtom(_o):this.regexp_eatExtendedAtom(_o))?(this.regexp_eatQuantifier(_o),!0):!1},gs.regexp_eatAssertion=function(_o){var Io=_o.pos;if(_o.lastAssertionIsQuantifiable=!1,_o.eat(94)||_o.eat(36))return!0;
vendor: 9,962 bytes, line 507
507if(_o.eat(92)){if(_o.eat(66)||_o.eat(98))return!0;_o.pos=Io}if(_o.eat(40)&&_o.eat(63)){var No=!1;if(this.options.ecmaVersion>=9&&(No=_o.eat(60)),_o.eat(61)||_o.eat(33))return this.regexp_disjunction(_o),_o.eat(41)||_o.raise("Unterminated group"),_o.lastAssertionIsQuantifiable=!No,!0}return _o.pos=Io,!1},gs.regexp_eatQuantifier=function(_o,Io){return Io===void 0&&(Io=!1),this.regexp_eatQuantifierPrefix(_o,Io)?(_o.eat(63),!0):!1},gs.regexp_eatQuantifierPrefix=function(_o,Io){return _o.eat(42)||_o.eat(43)||_o.eat(63)||this.regexp_eatBracedQuantifier(_o,Io)},gs.regexp_eatBracedQuantifier=function(_o,Io){var No=_o.pos;if(_o.eat(123)){var qo=0,fa=-1;if(this.regexp_eatDecimalDigits(_o)&&(qo=_o.lastIntValue,_o.eat(44)&&this.regexp_eatDecimalDigits(_o)&&(fa=_o.lastIntValue),_o.eat(125)))return fa!==-1&&fa<qo&&!Io&&_o.raise("numbers out of order in {} quantifier"),!0;_o.switchU&&!Io&&_o.raise("Incomplete quantifier"),_o.pos=No}return!1},gs.regexp_eatAtom=function(_o){return this.regexp_eatPatternCharacters(_o)||_o.eat(46)||this.regexp_eatReverseSolidusAtomEscape(_o)||this.regexp_eatCharacterClass(_o)||this.regexp_eatUncapturingGroup(_o)||this.regexp_eatCapturingGroup(_o)},gs.regexp_eatReverseSolidusAtomEscape=function(_o){var Io=_o.pos;if(_o.eat(92)){if(this.regexp_eatAtomEscape(_o))return!0;_o.pos=Io}return!1},gs.regexp_eatUncapturingGroup=function(_o){var Io=_o.pos;if(_o.eat(40)){if(_o.eat(63)&&_o.eat(58)){if(this.regexp_disjunction(_o),_o.eat(41))return!0;_o.raise("Unterminated group")}_o.pos=Io}return!1},gs.regexp_eatCapturingGroup=function(_o){if(_o.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(_o):_o.current()===63&&_o.raise("Invalid group"),this.regexp_disjunction(_o),_o.eat(41))return _o.numCapturingParens+=1,!0;_o.raise("Unterminated group")}return!1},gs.regexp_eatExtendedAtom=function(_o){return _o.eat(46)||this.regexp_eatReverseSolidusAtomEscape(_o)||this.regexp_eatCharacterClass(_o)||this.regexp_eatUncapturingGroup(_o)||this.regexp_eatCapturingGroup(_o)||this.regexp_eatInvalidBracedQuantifier(_o)||this.regexp_eatExtendedPatternCharacter(_o)},gs.regexp_eatInvalidBracedQuantifier=function(_o){return this.regexp_eatBracedQuantifier(_o,!0)&&_o.raise("Nothing to repeat"),!1},gs.regexp_eatSyntaxCharacter=function(_o){var Io=_o.current();return zl(Io)?(_o.lastIntValue=Io,_o.advance(),!0):!1};function zl(_o){return _o===36||_o>=40&&_o<=43||_o===46||_o===63||_o>=91&&_o<=94||_o>=123&&_o<=125}gs.regexp_eatPatternCharacters=function(_o){for(var Io=_o.pos,No=0;(No=_o.current())!==-1&&!zl(No);)_o.advance();return _o.pos!==Io},gs.regexp_eatExtendedPatternCharacter=function(_o){var Io=_o.current();return Io!==-1&&Io!==36&&!(Io>=40&&Io<=43)&&Io!==46&&Io!==63&&Io!==91&&Io!==94&&Io!==124?(_o.advance(),!0):!1},gs.regexp_groupSpecifier=function(_o){if(_o.eat(63)){this.regexp_eatGroupName(_o)||_o.raise("Invalid group");var Io=this.options.ecmaVersion>=16,No=_o.groupNames[_o.lastStringValue];if(No)if(Io)for(var qo=0,fa=No;qo<fa.length;qo+=1){var wa=fa[qo];wa.separatedFrom(_o.branchID)||_o.raise("Duplicate capture group name")}else _o.raise("Duplicate capture group name");Io?(No||(_o.groupNames[_o.lastStringValue]=[])).push(_o.branchID):_o.groupNames[_o.lastStringValue]=!0}},gs.regexp_eatGroupName=function(_o){if(_o.lastStringValue="",_o.eat(60)){if(this.regexp_eatRegExpIdentifierName(_o)&&_o.eat(62))return!0;_o.raise("Invalid capture group name")}return!1},gs.regexp_eatRegExpIdentifierName=function(_o){if(_o.lastStringValue="",this.regexp_eatRegExpIdentifierStart(_o)){for(_o.lastStringValue+=Qo(_o.lastIntValue);this.regexp_eatRegExpIdentifierPart(_o);)_o.lastStringValue+=Qo(_o.lastIntValue);return!0}return!1},gs.regexp_eatRegExpIdentifierStart=function(_o){var Io=_o.pos,No=this.options.ecmaVersion>=11,qo=_o.current(No);return _o.advance(No),qo===92&&this.regexp_eatRegExpUnicodeEscapeSequence(_o,No)&&(qo=_o.lastIntValue),Bl(qo)?(_o.lastIntValue=qo,!0):(_o.pos=Io,!1)};function Bl(_o){return mo(_o,!0)||_o===36||_o===95}gs.regexp_eatRegExpIdentifierPart=function(_o){var Io=_o.pos,No=this.options.ecmaVersion>=11,qo=_o.current(No);return _o.advance(No),qo===92&&this.regexp_eatRegExpUnicodeEscapeSequence(_o,No)&&(qo=_o.lastIntValue),ru(qo)?(_o.lastIntValue=qo,!0):(_o.pos=Io,!1)};function ru(_o){return vo(_o,!0)||_o===36||_o===95||_o===8204||_o===8205}gs.regexp_eatAtomEscape=function(_o){return this.regexp_eatBackReference(_o)||this.regexp_eatCharacterClassEscape(_o)||this.regexp_eatCharacterEscape(_o)||_o.switchN&&this.regexp_eatKGroupName(_o)?!0:(_o.switchU&&(_o.current()===99&&_o.raise("Invalid unicode escape"),_o.raise("Invalid escape")),!1)},gs.regexp_eatBackReference=function(_o){var Io=_o.pos;if(this.regexp_eatDecimalEscape(_o)){var No=_o.lastIntValue;if(_o.switchU)return No>_o.maxBackReference&&(_o.maxBackReference=No),!0;if(No<=_o.numCapturingParens)return!0;_o.pos=Io}return!1},gs.regexp_eatKGroupName=function(_o){if(_o.eat(107)){if(this.regexp_eatGroupName(_o))return _o.backReferenceNames.push(_o.lastStringValue),!0;_o.raise("Invalid named reference")}return!1},gs.regexp_eatCharacterEscape=function(_o){return this.regexp_eatControlEscape(_o)||this.regexp_eatCControlLetter(_o)||this.regexp_eatZero(_o)||this.regexp_eatHexEscapeSequence(_o)||this.regexp_eatRegExpUnicodeEscapeSequence(_o,!1)||!_o.switchU&&this.regexp_eatLegacyOctalEscapeSequence(_o)||this.regexp_eatIdentityEscape(_o)},gs.regexp_eatCControlLetter=function(_o){var Io=_o.pos;if(_o.eat(99)){if(this.regexp_eatControlLetter(_o))return!0;_o.pos=Io}return!1},gs.regexp_eatZero=function(_o){return _o.current()===48&&!yl(_o.lookahead())?(_o.lastIntValue=0,_o.advance(),!0):!1},gs.regexp_eatControlEscape=function(_o){var Io=_o.current();return Io===116?(_o.lastIntValue=9,_o.advance(),!0):Io===110?(_o.lastIntValue=10,_o.advance(),!0):Io===118?(_o.lastIntValue=11,_o.advance(),!0):Io===102?(_o.lastIntValue=12,_o.advance(),!0):Io===114?(_o.lastIntValue=13,_o.advance(),!0):!1},gs.regexp_eatControlLetter=function(_o){var Io=_o.current();return Us(Io)?(_o.lastIntValue=Io%32,_o.advance(),!0):!1};function Us(_o){return _o>=65&&_o<=90||_o>=97&&_o<=122}gs.regexp_eatRegExpUnicodeEscapeSequence=function(_o,Io){Io===void 0&&(Io=!1);var No=_o.pos,qo=Io||_o.switchU;if(_o.eat(117)){if(this.regexp_eatFixedHexDigits(_o,4)){var fa=_o.lastIntValue;if(qo&&fa>=55296&&fa<=56319){var wa=_o.pos;if(_o.eat(92)&&_o.eat(117)&&this.regexp_eatFixedHexDigits(_o,4)){var Ra=_o.lastIntValue;if(Ra>=56320&&Ra<=57343)return _o.lastIntValue=(fa-55296)*1024+(Ra-56320)+65536,!0}_o.pos=wa,_o.lastIntValue=fa}return!0}if(qo&&_o.eat(123)&&this.regexp_eatHexDigits(_o)&&_o.eat(125)&&nu(_o.lastIntValue))return!0;qo&&_o.raise("Invalid unicode escape"),_o.pos=No}return!1};function nu(_o){return _o>=0&&_o<=1114111}gs.regexp_eatIdentityEscape=function(_o){if(_o.switchU)return this.regexp_eatSyntaxCharacter(_o)?!0:_o.eat(47)?(_o.lastIntValue=47,!0):!1;var Io=_o.current();return Io!==99&&(!_o.switchN||Io!==107)?(_o.lastIntValue=Io,_o.advance(),!0):!1},gs.regexp_eatDecimalEscape=function(_o){_o.lastIntValue=0;var Io=_o.current();if(Io>=49&&Io<=57){do _o.lastIntValue=10*_o.lastIntValue+(Io-48),_o.advance();while((Io=_o.current())>=48&&Io<=57);return!0}return!1};var Rc=0,Nl=1,vl=2;gs.regexp_eatCharacterClassEscape=function(_o){var Io=_o.current();if(_c(Io))return _o.lastIntValue=-1,_o.advance(),Nl;var No=!1;if(_o.switchU&&this.options.ecmaVersion>=9&&((No=Io===80)||Io===112)){_o.lastIntValue=-1,_o.advance();var qo;if(_o.eat(123)&&(qo=this.regexp_eatUnicodePropertyValueExpression(_o))&&_o.eat(125))return No&&qo===vl&&_o.raise("Invalid property name"),qo;_o.raise("Invalid property name")}return Rc};function _c(_o){return _o===100||_o===68||_o===115||_o===83||_o===119||_o===87}gs.regexp_eatUnicodePropertyValueExpression=function(_o){var Io=_o.pos;if(this.regexp_eatUnicodePropertyName(_o)&&_o.eat(61)){var No=_o.lastStringValue;if(this.regexp_eatUnicodePropertyValue(_o)){var qo=_o.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(_o,No,qo),Nl}}if(_o.pos=Io,this.regexp_eatLoneUnicodePropertyNameOrValue(_o)){var fa=_o.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(_o,fa)}return Rc},gs.regexp_validateUnicodePropertyNameAndValue=function(_o,Io,No){Oo(_o.unicodeProperties.nonBinary,Io)||_o.raise("Invalid property name"),_o.unicodeProperties.nonBinary[Io].test(No)||_o.raise("Invalid property value")},gs.regexp_validateUnicodePropertyNameOrValue=function(_o,Io){if(_o.unicodeProperties.binary.test(Io))return Nl;if(_o.switchV&&_o.unicodeProperties.binaryOfStrings.test(Io))return vl;_o.raise("Invalid property name")},gs.regexp_eatUnicodePropertyName=function(_o){var Io=0;for(_o.lastStringValue="";Oc(Io=_o.current());)_o.lastStringValue+=Qo(Io),_o.advance();return _o.lastStringValue!==""};function Oc(_o){return Us(_o)||_o===95}gs.regexp_eatUnicodePropertyValue=function(_o){var Io=0;for(_o.lastStringValue="";Sc(Io=_o.current());)_o.lastStringValue+=Qo(Io),_o.advance();return _o.lastStringValue!==""};function Sc(_o){return Oc(_o)||yl(_o)}gs.regexp_eatLoneUnicodePropertyNameOrValue=function(_o){return this.regexp_eatUnicodePropertyValue(_o)},gs.regexp_eatCharacterClass=function(_o){if(_o.eat(91)){var Io=_o.eat(94),No=this.regexp_classContents(_o);return _o.eat(93)||_o.raise("Unterminated character class"),Io&&No===vl&&_o.raise("Negated character class may contain strings"),!0}return!1},gs.regexp_classContents=function(_o){return _o.current()===93?Nl:_o.switchV?this.regexp_classSetExpression(_o):(this.regexp_nonEmptyClassRanges(_o),Nl)},gs.regexp_nonEmptyClassRanges=function(_o){for(;this.regexp_eatClassAtom(_o);){var Io=_o.lastIntValue;if(_o.eat(45)&&this.regexp_eatClassAtom(_o)){var No=_o.lastIntValue;_o.switchU&&(Io===-1||No===-1)&&_o.raise("Invalid character class"),Io!==-1&&No!==-1&&Io>No&&_o.raise("Range out of order in character class")}}},gs.regexp_eatClassAtom=function(_o){var Io=_o.pos;if(_o.eat(92)){if(this.regexp_eatClassEscape(_o))return!0;
vendor: 8,652 bytes, line 507
507if(_o.switchU){var No=_o.current();(No===99||Ws(No))&&_o.raise("Invalid class escape"),_o.raise("Invalid escape")}_o.pos=Io}var qo=_o.current();return qo!==93?(_o.lastIntValue=qo,_o.advance(),!0):!1},gs.regexp_eatClassEscape=function(_o){var Io=_o.pos;if(_o.eat(98))return _o.lastIntValue=8,!0;if(_o.switchU&&_o.eat(45))return _o.lastIntValue=45,!0;if(!_o.switchU&&_o.eat(99)){if(this.regexp_eatClassControlLetter(_o))return!0;_o.pos=Io}return this.regexp_eatCharacterClassEscape(_o)||this.regexp_eatCharacterEscape(_o)},gs.regexp_classSetExpression=function(_o){var Io=Nl,No;if(!this.regexp_eatClassSetRange(_o))if(No=this.regexp_eatClassSetOperand(_o)){No===vl&&(Io=vl);for(var qo=_o.pos;_o.eatChars([38,38]);){if(_o.current()!==38&&(No=this.regexp_eatClassSetOperand(_o))){No!==vl&&(Io=Nl);continue}_o.raise("Invalid character in character class")}if(qo!==_o.pos)return Io;for(;_o.eatChars([45,45]);)this.regexp_eatClassSetOperand(_o)||_o.raise("Invalid character in character class");if(qo!==_o.pos)return Io}else _o.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(_o)){if(No=this.regexp_eatClassSetOperand(_o),!No)return Io;No===vl&&(Io=vl)}},gs.regexp_eatClassSetRange=function(_o){var Io=_o.pos;if(this.regexp_eatClassSetCharacter(_o)){var No=_o.lastIntValue;if(_o.eat(45)&&this.regexp_eatClassSetCharacter(_o)){var qo=_o.lastIntValue;return No!==-1&&qo!==-1&&No>qo&&_o.raise("Range out of order in character class"),!0}_o.pos=Io}return!1},gs.regexp_eatClassSetOperand=function(_o){return this.regexp_eatClassSetCharacter(_o)?Nl:this.regexp_eatClassStringDisjunction(_o)||this.regexp_eatNestedClass(_o)},gs.regexp_eatNestedClass=function(_o){var Io=_o.pos;if(_o.eat(91)){var No=_o.eat(94),qo=this.regexp_classContents(_o);if(_o.eat(93))return No&&qo===vl&&_o.raise("Negated character class may contain strings"),qo;_o.pos=Io}if(_o.eat(92)){var fa=this.regexp_eatCharacterClassEscape(_o);if(fa)return fa;_o.pos=Io}return null},gs.regexp_eatClassStringDisjunction=function(_o){var Io=_o.pos;if(_o.eatChars([92,113])){if(_o.eat(123)){var No=this.regexp_classStringDisjunctionContents(_o);if(_o.eat(125))return No}else _o.raise("Invalid escape");_o.pos=Io}return null},gs.regexp_classStringDisjunctionContents=function(_o){for(var Io=this.regexp_classString(_o);_o.eat(124);)this.regexp_classString(_o)===vl&&(Io=vl);return Io},gs.regexp_classString=function(_o){for(var Io=0;this.regexp_eatClassSetCharacter(_o);)Io++;return Io===1?Nl:vl},gs.regexp_eatClassSetCharacter=function(_o){var Io=_o.pos;if(_o.eat(92))return this.regexp_eatCharacterEscape(_o)||this.regexp_eatClassSetReservedPunctuator(_o)?!0:_o.eat(98)?(_o.lastIntValue=8,!0):(_o.pos=Io,!1);var No=_o.current();return No<0||No===_o.lookahead()&&Cc(No)||iu(No)?!1:(_o.advance(),_o.lastIntValue=No,!0)};function Cc(_o){return _o===33||_o>=35&&_o<=38||_o>=42&&_o<=44||_o===46||_o>=58&&_o<=64||_o===94||_o===96||_o===126}function iu(_o){return _o===40||_o===41||_o===45||_o===47||_o>=91&&_o<=93||_o>=123&&_o<=125}gs.regexp_eatClassSetReservedPunctuator=function(_o){var Io=_o.current();return jc(Io)?(_o.lastIntValue=Io,_o.advance(),!0):!1};function jc(_o){return _o===33||_o===35||_o===37||_o===38||_o===44||_o===45||_o>=58&&_o<=62||_o===64||_o===96||_o===126}gs.regexp_eatClassControlLetter=function(_o){var Io=_o.current();return yl(Io)||Io===95?(_o.lastIntValue=Io%32,_o.advance(),!0):!1},gs.regexp_eatHexEscapeSequence=function(_o){var Io=_o.pos;if(_o.eat(120)){if(this.regexp_eatFixedHexDigits(_o,2))return!0;_o.switchU&&_o.raise("Invalid escape"),_o.pos=Io}return!1},gs.regexp_eatDecimalDigits=function(_o){var Io=_o.pos,No=0;for(_o.lastIntValue=0;yl(No=_o.current());)_o.lastIntValue=10*_o.lastIntValue+(No-48),_o.advance();return _o.pos!==Io};function yl(_o){return _o>=48&&_o<=57}gs.regexp_eatHexDigits=function(_o){var Io=_o.pos,No=0;for(_o.lastIntValue=0;ul(No=_o.current());)_o.lastIntValue=16*_o.lastIntValue+pc(No),_o.advance();return _o.pos!==Io};function ul(_o){return _o>=48&&_o<=57||_o>=65&&_o<=70||_o>=97&&_o<=102}function pc(_o){return _o>=65&&_o<=70?10+(_o-65):_o>=97&&_o<=102?10+(_o-97):_o-48}gs.regexp_eatLegacyOctalEscapeSequence=function(_o){if(this.regexp_eatOctalDigit(_o)){var Io=_o.lastIntValue;if(this.regexp_eatOctalDigit(_o)){var No=_o.lastIntValue;Io<=3&&this.regexp_eatOctalDigit(_o)?_o.lastIntValue=Io*64+No*8+_o.lastIntValue:_o.lastIntValue=Io*8+No}else _o.lastIntValue=Io;return!0}return!1},gs.regexp_eatOctalDigit=function(_o){var Io=_o.current();return Ws(Io)?(_o.lastIntValue=Io-48,_o.advance(),!0):(_o.lastIntValue=0,!1)};function Ws(_o){return _o>=48&&_o<=55}gs.regexp_eatFixedHexDigits=function(_o,Io){var No=_o.pos;_o.lastIntValue=0;for(var qo=0;qo<Io;++qo){var fa=_o.current();if(!ul(fa))return _o.pos=No,!1;_o.lastIntValue=16*_o.lastIntValue+pc(fa),_o.advance()}return!0};var Wl=function(Io){this.type=Io.type,this.value=Io.value,this.start=Io.start,this.end=Io.end,Io.options.locations&&(this.loc=new Zo(Io,Io.startLoc,Io.endLoc)),Io.options.ranges&&(this.range=[Io.start,Io.end])},Es=Da.prototype;Es.next=function(_o){!_o&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Wl(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Es.getToken=function(){return this.next(),new Wl(this)},typeof Symbol<"u"&&(Es[Symbol.iterator]=function(){var _o=this;return{next:function(){var Io=_o.getToken();return{done:Io.type===So.eof,value:Io}}}}),Es.nextToken=function(){var _o=this.curContext();if((!_o||!_o.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(So.eof);if(_o.override)return _o.override(this);this.readToken(this.fullCharCodeAtPos())},Es.readToken=function(_o){return mo(_o,this.options.ecmaVersion>=6)||_o===92?this.readWord():this.getTokenFromCode(_o)},Es.fullCharCodeAtPos=function(){var _o=this.input.charCodeAt(this.pos);if(_o<=55295||_o>=56320)return _o;var Io=this.input.charCodeAt(this.pos+1);return Io<=56319||Io>=57344?_o:(_o<<10)+Io-56613888},Es.skipBlockComment=function(){var _o=this.options.onComment&&this.curPosition(),Io=this.pos,No=this.input.indexOf("*/",this.pos+=2);if(No===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=No+2,this.options.locations)for(var qo=void 0,fa=Io;(qo=zo(this.input,fa,this.pos))>-1;)++this.curLine,fa=this.lineStart=qo;this.options.onComment&&this.options.onComment(!0,this.input.slice(Io+2,No),Io,this.pos,_o,this.curPosition())},Es.skipLineComment=function(_o){for(var Io=this.pos,No=this.options.onComment&&this.curPosition(),qo=this.input.charCodeAt(this.pos+=_o);this.pos<this.input.length&&!Po(qo);)qo=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(Io+_o,this.pos),Io,this.pos,No,this.curPosition())},Es.skipSpace=function(){e:for(;this.pos<this.input.length;){var _o=this.input.charCodeAt(this.pos);switch(_o){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(_o>8&&_o<14||_o>=5760&&Ho.test(String.fromCharCode(_o)))++this.pos;else break e}}},Es.finishToken=function(_o,Io){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var No=this.type;this.type=_o,this.value=Io,this.updateContext(No)},Es.readToken_dot=function(){var _o=this.input.charCodeAt(this.pos+1);if(_o>=48&&_o<=57)return this.readNumber(!0);var Io=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&_o===46&&Io===46?(this.pos+=3,this.finishToken(So.ellipsis)):(++this.pos,this.finishToken(So.dot))},Es.readToken_slash=function(){var _o=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):_o===61?this.finishOp(So.assign,2):this.finishOp(So.slash,1)},Es.readToken_mult_modulo_exp=function(_o){var Io=this.input.charCodeAt(this.pos+1),No=1,qo=_o===42?So.star:So.modulo;return this.options.ecmaVersion>=7&&_o===42&&Io===42&&(++No,qo=So.starstar,Io=this.input.charCodeAt(this.pos+2)),Io===61?this.finishOp(So.assign,No+1):this.finishOp(qo,No)},Es.readToken_pipe_amp=function(_o){var Io=this.input.charCodeAt(this.pos+1);if(Io===_o){if(this.options.ecmaVersion>=12){var No=this.input.charCodeAt(this.pos+2);
vendor: 7,885 bytes, line 507
507if(No===61)return this.finishOp(So.assign,3)}return this.finishOp(_o===124?So.logicalOR:So.logicalAND,2)}return Io===61?this.finishOp(So.assign,2):this.finishOp(_o===124?So.bitwiseOR:So.bitwiseAND,1)},Es.readToken_caret=function(){var _o=this.input.charCodeAt(this.pos+1);return _o===61?this.finishOp(So.assign,2):this.finishOp(So.bitwiseXOR,1)},Es.readToken_plus_min=function(_o){var Io=this.input.charCodeAt(this.pos+1);return Io===_o?Io===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||To.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(So.incDec,2):Io===61?this.finishOp(So.assign,2):this.finishOp(So.plusMin,1)},Es.readToken_lt_gt=function(_o){var Io=this.input.charCodeAt(this.pos+1),No=1;return Io===_o?(No=_o===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+No)===61?this.finishOp(So.assign,No+1):this.finishOp(So.bitShift,No)):Io===33&&_o===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(Io===61&&(No=2),this.finishOp(So.relational,No))},Es.readToken_eq_excl=function(_o){var Io=this.input.charCodeAt(this.pos+1);return Io===61?this.finishOp(So.equality,this.input.charCodeAt(this.pos+2)===61?3:2):_o===61&&Io===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(So.arrow)):this.finishOp(_o===61?So.eq:So.prefix,1)},Es.readToken_question=function(){var _o=this.options.ecmaVersion;if(_o>=11){var Io=this.input.charCodeAt(this.pos+1);if(Io===46){var No=this.input.charCodeAt(this.pos+2);if(No<48||No>57)return this.finishOp(So.questionDot,2)}if(Io===63){if(_o>=12){var qo=this.input.charCodeAt(this.pos+2);if(qo===61)return this.finishOp(So.assign,3)}return this.finishOp(So.coalesce,2)}}return this.finishOp(So.question,1)},Es.readToken_numberSign=function(){var _o=this.options.ecmaVersion,Io=35;if(_o>=13&&(++this.pos,Io=this.fullCharCodeAtPos(),mo(Io,!0)||Io===92))return this.finishToken(So.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Qo(Io)+"'")},Es.getTokenFromCode=function(_o){switch(_o){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(So.parenL);case 41:return++this.pos,this.finishToken(So.parenR);case 59:return++this.pos,this.finishToken(So.semi);case 44:return++this.pos,this.finishToken(So.comma);case 91:return++this.pos,this.finishToken(So.bracketL);case 93:return++this.pos,this.finishToken(So.bracketR);case 123:return++this.pos,this.finishToken(So.braceL);case 125:return++this.pos,this.finishToken(So.braceR);case 58:return++this.pos,this.finishToken(So.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(So.backQuote);case 48:var Io=this.input.charCodeAt(this.pos+1);if(Io===120||Io===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(Io===111||Io===79)return this.readRadixNumber(8);if(Io===98||Io===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(_o);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(_o);case 124:case 38:return this.readToken_pipe_amp(_o);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(_o);case 60:case 62:return this.readToken_lt_gt(_o);case 61:case 33:return this.readToken_eq_excl(_o);case 63:return this.readToken_question();case 126:return this.finishOp(So.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Qo(_o)+"'")},Es.finishOp=function(_o,Io){var No=this.input.slice(this.pos,this.pos+Io);return this.pos+=Io,this.finishToken(_o,No)},Es.readRegexp=function(){for(var _o,Io,No=this.pos;;){this.pos>=this.input.length&&this.raise(No,"Unterminated regular expression");var qo=this.input.charAt(this.pos);if(To.test(qo)&&this.raise(No,"Unterminated regular expression"),_o)_o=!1;else{if(qo==="[")Io=!0;else if(qo==="]"&&Io)Io=!1;else if(qo==="/"&&!Io)break;_o=qo==="\\"}++this.pos}var fa=this.input.slice(No,this.pos);++this.pos;var wa=this.pos,Ra=this.readWord1();this.containsEsc&&this.unexpected(wa);var Ua=this.regexpState||(this.regexpState=new Ys(this));Ua.reset(No,fa,Ra),this.validateRegExpFlags(Ua),this.validateRegExpPattern(Ua);var Na=null;try{Na=new RegExp(fa,Ra)}catch{}return this.finishToken(So.regexp,{pattern:fa,flags:Ra,value:Na})},Es.readInt=function(_o,Io,No){for(var qo=this.options.ecmaVersion>=12&&Io===void 0,fa=No&&this.input.charCodeAt(this.pos)===48,wa=this.pos,Ra=0,Ua=0,Na=0,Ja=Io??1/0;Na<Ja;++Na,++this.pos){var Za=this.input.charCodeAt(this.pos),Ss=void 0;if(qo&&Za===95){fa&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),Ua===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),Na===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),Ua=Za;continue}if(Za>=97?Ss=Za-97+10:Za>=65?Ss=Za-65+10:Za>=48&&Za<=57?Ss=Za-48:Ss=1/0,Ss>=_o)break;Ua=Za,Ra=Ra*_o+Ss}return qo&&Ua===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===wa||Io!=null&&this.pos-wa!==Io?null:Ra};function kc(_o,Io){return Io?parseInt(_o,8):parseFloat(_o.replace(/_/g,""))}function rc(_o){return typeof BigInt!="function"?null:BigInt(_o.replace(/_/g,""))}Es.readRadixNumber=function(_o){var Io=this.pos;this.pos+=2;var No=this.readInt(_o);return No==null&&this.raise(this.start+2,"Expected number in radix "+_o),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(No=rc(this.input.slice(Io,this.pos)),++this.pos):mo(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(So.num,No)},Es.readNumber=function(_o){var Io=this.pos;!_o&&this.readInt(10,void 0,!0)===null&&this.raise(Io,"Invalid number");var No=this.pos-Io>=2&&this.input.charCodeAt(Io)===48;No&&this.strict&&this.raise(Io,"Invalid number");var qo=this.input.charCodeAt(this.pos);if(!No&&!_o&&this.options.ecmaVersion>=11&&qo===110){var fa=rc(this.input.slice(Io,this.pos));return++this.pos,mo(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(So.num,fa)}No&&/[89]/.test(this.input.slice(Io,this.pos))&&(No=!1),qo===46&&!No&&(++this.pos,this.readInt(10),qo=this.input.charCodeAt(this.pos)),(qo===69||qo===101)&&!No&&(qo=this.input.charCodeAt(++this.pos),(qo===43||qo===45)&&++this.pos,this.readInt(10)===null&&this.raise(Io,"Invalid number")),mo(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var wa=kc(this.input.slice(Io,this.pos),No);return this.finishToken(So.num,wa)},Es.readCodePoint=function(){var _o=this.input.charCodeAt(this.pos),Io;if(_o===123){this.options.ecmaVersion<6&&this.unexpected();var No=++this.pos;Io=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,Io>1114111&&this.invalidStringToken(No,"Code point out of bounds")}else Io=this.readHexChar(4);return Io},Es.readString=function(_o){for(var Io="",No=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var qo=this.input.charCodeAt(this.pos);if(qo===_o)break;qo===92?(Io+=this.input.slice(No,this.pos),Io+=this.readEscapedChar(!1),No=this.pos):qo===8232||qo===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(Po(qo)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return Io+=this.input.slice(No,this.pos++),this.finishToken(So.string,Io)};var nc={};Es.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}
vendor: 4,440 bytes, lines 507-511
507catch(_o){if(_o===nc)this.readInvalidTemplateToken();else throw _o}this.inTemplateElement=!1},Es.invalidStringToken=function(_o,Io){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw nc;this.raise(_o,Io)},Es.readTmplToken=function(){for(var _o="",Io=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var No=this.input.charCodeAt(this.pos);if(No===96||No===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===So.template||this.type===So.invalidTemplate)?No===36?(this.pos+=2,this.finishToken(So.dollarBraceL)):(++this.pos,this.finishToken(So.backQuote)):(_o+=this.input.slice(Io,this.pos),this.finishToken(So.template,_o));if(No===92)_o+=this.input.slice(Io,this.pos),_o+=this.readEscapedChar(!0),Io=this.pos;else if(Po(No)){switch(_o+=this.input.slice(Io,this.pos),++this.pos,No){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:_o+=`
508`;break;default:_o+=String.fromCharCode(No);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),Io=this.pos}else++this.pos}},Es.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(So.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
509`&&++this.pos;case`
510`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")},Es.readEscapedChar=function(_o){var Io=this.input.charCodeAt(++this.pos);switch(++this.pos,Io){case 110:return`
511`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Qo(this.readCodePoint());case 116:return"	";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),_o){var No=this.pos-1;this.invalidStringToken(No,"Invalid escape sequence in template string")}default:if(Io>=48&&Io<=55){var qo=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],fa=parseInt(qo,8);return fa>255&&(qo=qo.slice(0,-1),fa=parseInt(qo,8)),this.pos+=qo.length-1,Io=this.input.charCodeAt(this.pos),(qo!=="0"||Io===56||Io===57)&&(this.strict||_o)&&this.invalidStringToken(this.pos-1-qo.length,_o?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(fa)}return Po(Io)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(Io)}},Es.readHexChar=function(_o){var Io=this.pos,No=this.readInt(16,_o);return No===null&&this.invalidStringToken(Io,"Bad character escape sequence"),No},Es.readWord1=function(){this.containsEsc=!1;for(var _o="",Io=!0,No=this.pos,qo=this.options.ecmaVersion>=6;this.pos<this.input.length;){var fa=this.fullCharCodeAtPos();if(vo(fa,qo))this.pos+=fa<=65535?1:2;else if(fa===92){this.containsEsc=!0,_o+=this.input.slice(No,this.pos);var wa=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var Ra=this.readCodePoint();(Io?mo:vo)(Ra,qo)||this.invalidStringToken(wa,"Invalid Unicode escape"),_o+=Qo(Ra),No=this.pos}else break;Io=!1}return _o+this.input.slice(No,this.pos)},Es.readWord=function(){var _o=this.readWord1(),Io=So.name;return this.keywords.test(_o)&&(Io=Eo[_o]),this.finishToken(Io,_o)};var Ac="8.12.1";Da.acorn={Parser:Da,version:Ac,defaultOptions:ta,Position:Xo,SourceLocation:Zo,getLineInfo:Wo,Node:Sl,TokenType:Co,tokTypes:So,keywordTypes:Eo,TokContext:Ps,tokContexts:vs,isIdentifierChar:vo,isIdentifierStart:mo,Token:Wl,isNewLine:Po,lineBreak:To,lineBreakG:Ro,nonASCIIwhitespace:Ho};function ua(_o,Io){return Da.parse(_o,Io)}function ba(_o,Io,No){return Da.parseExpressionAt(_o,Io,No)}function Aa(_o,Io){return Da.tokenizer(_o,Io)}to.Node=Sl,to.Parser=Da,to.Position=Xo,to.SourceLocation=Zo,to.TokContext=Ps,to.Token=Wl,to.TokenType=Co,to.defaultOptions=ta,to.getLineInfo=Wo,to.isIdentifierChar=vo,to.isIdentifierStart=mo,to.isNewLine=Po,to.keywordTypes=Eo,to.lineBreak=To,to.lineBreakG=Ro,to.nonASCIIwhitespace=Ho,to.parse=ua,to.parseExpressionAt=ba,to.tokContexts=vs,to.tokTypes=So,to.tokenizer=Aa,to.version=Ac})}),require_xhtml=__commonJS((Yi,eo)=>{eo.exports
vendor: 2,775 bytes, line 511
511={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}
vendor: 3,470 bytes, lines 511-513
511}),require_acorn_jsx=__commonJS((Yi,eo)=>{function to(lo){lo=lo.Parser.acorn||lo;let co=so.get(lo);if(!co){const uo=lo.tokTypes,fo=lo.TokContext,ho=lo.TokenType,mo=new fo("<tag",!1),vo=new fo("</tag",!1),Co=new fo("<tag>...</tag>",!0,!0),bo={tc_oTag:mo,tc_cTag:vo,tc_expr:Co},wo={jsxName:new ho("jsxName"),jsxText:new ho("jsxText",{beforeExpr:!0}),jsxTagStart:new ho("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new ho("jsxTagEnd")};wo.jsxTagStart.updateContext=function(){this.context.push(Co),this.context.push(mo),this.exprAllowed=!1},wo.jsxTagEnd.updateContext=function(yo){let Eo=this.context.pop();Eo===mo&&yo===uo.slash||Eo===vo?(this.context.pop(),this.exprAllowed=this.curContext()===Co):this.exprAllowed=!0},co={tokContexts:bo,tokTypes:wo},so.set(lo,co)}return co}function ro(lo){if(!lo)return lo;if(lo.type==="JSXIdentifier")return lo.name;if(lo.type==="JSXNamespacedName")return lo.namespace.name+":"+lo.name.name;if(lo.type==="JSXMemberExpression")return ro(lo.object)+"."+ro(lo.property)}function no(lo,co){const uo=co.acorn||require_acorn(),fo=to(uo),ho=uo.tokTypes,mo=fo.tokTypes,vo=uo.tokContexts,Co=fo.tokContexts.tc_oTag,bo=fo.tokContexts.tc_cTag,wo=fo.tokContexts.tc_expr,yo=uo.isNewLine,Eo=uo.isIdentifierStart,xo=uo.isIdentifierChar;return class extends co{static get acornJsx(){return fo}jsx_readToken(){let So="",To=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let Ro=this.input.charCodeAt(this.pos);switch(Ro){case 60:case 123:return this.pos===this.start?Ro===60&&this.exprAllowed?(++this.pos,this.finishToken(mo.jsxTagStart)):this.getTokenFromCode(Ro):(So+=this.input.slice(To,this.pos),this.finishToken(mo.jsxText,So));case 38:So+=this.input.slice(To,this.pos),So+=this.jsx_readEntity(),To=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(Ro===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:yo(Ro)?(So+=this.input.slice(To,this.pos),So+=this.jsx_readNewLine(!0),To=this.pos):++this.pos}}}jsx_readNewLine(So){let To=this.input.charCodeAt(this.pos),Ro;return++this.pos,To===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,Ro=So?`
512`:`\r
513`):Ro=String.fromCharCode(To),this.options.locations&&(++this.curLine,this.lineStart=this.pos),Ro}jsx_readString(So){let To="",Ro=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let Po=this.input.charCodeAt(this.pos);if(Po===So)break;Po===38?(To+=this.input.slice(Ro,this.pos),To+=this.jsx_readEntity(),Ro=this.pos):yo(Po)?(To+=this.input.slice(Ro,this.pos),To+=this.jsx_readNewLine(!1),Ro=this.pos):++this.pos}return To+=this.input.slice(Ro,this.pos++),this.finishToken(ho.string,To)}jsx_readEntity(){let So="",To=0,Ro,Po=this.input[this.pos];Po!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let zo=++this.pos;for(;this.pos<this.input.length&&To++<10;){if(Po=this.input[this.pos++],Po===";"){So[0]==="#"?So[1]==="x"?(So=So.substr(2),oo.test(So)&&(Ro=String.fromCharCode(parseInt(So,16)))):(So=So.substr(1),ao.test(So)&&(Ro=String.fromCharCode(parseInt(So,10)))):Ro=io[So];break}So+=Po}return Ro||(this.pos=zo,"&")}jsx_readWord(){let So,To=this.pos;do So=this.input.charCodeAt(++this.pos);while(xo(So)||So===45);return this.finishToken(mo.jsxName,this.input.slice(To,this.pos))}jsx_parseIdentifier(){let So=this.startNode();return this.type===mo.jsxName?So.name=this.value:this.type.keyword?S
vendor: 4,224 bytes, line 513
513o.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(So,"JSXIdentifier")}jsx_parseNamespacedName(){let So=this.start,To=this.startLoc,Ro=this.jsx_parseIdentifier();if(!lo.allowNamespaces||!this.eat(ho.colon))return Ro;var Po=this.startNodeAt(So,To);return Po.namespace=Ro,Po.name=this.jsx_parseIdentifier(),this.finishNode(Po,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===mo.jsxTagEnd)return"";let So=this.start,To=this.startLoc,Ro=this.jsx_parseNamespacedName();for(this.type===ho.dot&&Ro.type==="JSXNamespacedName"&&!lo.allowNamespacedObjects&&this.unexpected();this.eat(ho.dot);){let Po=this.startNodeAt(So,To);Po.object=Ro,Po.property=this.jsx_parseIdentifier(),Ro=this.finishNode(Po,"JSXMemberExpression")}return Ro}jsx_parseAttributeValue(){switch(this.type){case ho.braceL:let So=this.jsx_parseExpressionContainer();return So.expression.type==="JSXEmptyExpression"&&this.raise(So.start,"JSX attributes must only be assigned a non-empty expression"),So;case mo.jsxTagStart:case ho.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let So=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(So,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let So=this.startNode();return this.next(),So.expression=this.type===ho.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(ho.braceR),this.finishNode(So,"JSXExpressionContainer")}jsx_parseAttribute(){let So=this.startNode();return this.eat(ho.braceL)?(this.expect(ho.ellipsis),So.argument=this.parseMaybeAssign(),this.expect(ho.braceR),this.finishNode(So,"JSXSpreadAttribute")):(So.name=this.jsx_parseNamespacedName(),So.value=this.eat(ho.eq)?this.jsx_parseAttributeValue():null,this.finishNode(So,"JSXAttribute"))}jsx_parseOpeningElementAt(So,To){let Ro=this.startNodeAt(So,To);Ro.attributes=[];let Po=this.jsx_parseElementName();for(Po&&(Ro.name=Po);this.type!==ho.slash&&this.type!==mo.jsxTagEnd;)Ro.attributes.push(this.jsx_parseAttribute());Ro.selfClosing=this.eat(ho.slash),this.expect(mo.jsxTagEnd);const zo=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];return lo.autoCloseVoidElements&&Po&&zo.includes(Po.name)&&(Ro.selfClosing=!0),this.finishNode(Ro,Po?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(So,To){let Ro=this.startNodeAt(So,To),Po=this.jsx_parseElementName();return Po&&(Ro.name=Po),this.expect(mo.jsxTagEnd),this.finishNode(Ro,Po?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(So,To){let Ro=this.startNodeAt(So,To),Po=[],zo=this.jsx_parseOpeningElementAt(So,To),Ho=null;if(!zo.selfClosing){e:for(;;)switch(this.type){case mo.jsxTagStart:if(So=this.start,To=this.startLoc,this.next(),this.eat(ho.slash)){Ho=this.jsx_parseClosingElementAt(So,To);break e}Po.push(this.jsx_parseElementAt(So,To));break;case mo.jsxText:Po.push(this.parseExprAtom());break;case ho.braceL:Po.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}ro(Ho.name)!==ro(zo.name)&&this.raise(Ho.start,"Expected corresponding JSX closing tag for <"+ro(zo.name)+">")}let Vo=zo.name?"Element":"Fragment";return Ro["opening"+Vo]=zo,Ro["closing"+Vo]=Ho,Ro.children=Po,this.type===ho.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(Ro,"JSX"+Vo)}jsx_parseText(){let So=this.parseLiteral(this.value);return So.type="JSXText",So}jsx_parseElement(){let So=this.start,To=this.startLoc;return this.next(),this.jsx_parseElementAt(So,To)}parseExprAtom(So){return this.type===mo.jsxText?this.jsx_parseText():this.type===mo.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(So)}readToken(So){let To=this.curContext();if(To===wo)return this.jsx_readToken();if(To===Co||To===bo){if(Eo(So))return this.jsx_readWord();if(So==62)return++this.pos,this.finishToken(mo.jsxTagEnd);if((So===34||So===39)&&To==Co)return this.jsx_readString(So)}return So===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(mo.jsxTagStart)):super.readToken(So)}
513updateContext(So){if(this.type==ho.braceL){var To=this.curContext();To==Co?this.context.push(vo.b_expr):To==wo?this.context.push(vo.b_tmpl):super.updateContext(So),this.exprAllowed=!0}else if(this.type===ho.slash&&So===mo.jsxTagStart)this.context.length-=2,this.context.push(bo),this.exprAllowed=!1;else return super.updateContext(So)}}}var io=require_xhtml(),oo=/^[\da-fA-F]+$/,ao=/^\d+$/,so=new WeakMap;eo.exports=function(lo){return lo=lo||{},function(co){return no({allowNamespaces:lo.allowNamespaces!==!1,allowNamespacedObjects:!!lo.allowNamespacedObjects,autoCloseVoidElements:!!lo.autoCloseVoidElements},co)}},Object.defineProperty(eo.exports,"tokTypes",{get:function(){return to(require_acorn()).tokTypes},configurable:!0,enumerable:!0})}),require_react_development=__commonJS((Yi,eo)=>{(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var to="18.3.1",ro=Symbol.for("react.element"),no=Symbol.for("react.portal"),io=Symbol.for("react.fragment"),oo=Symbol.for("react.strict_mode"),ao=Symbol.for("react.profiler"),so=Symbol.for("react.provider"),lo=Symbol.for("react.context"),co=Symbol.for("react.forward_ref"),uo=Symbol.for("react.suspense"),fo=Symbol.for("react.suspense_list"),ho=Symbol.for("react.memo"),mo=Symbol.for("react.lazy"),vo=Symbol.for("react.offscreen"),Co=Symbol.iterator,bo="@@iterator";function wo(ca){if(ca===null||typeof ca!="object")return null;var Ba=Co&&ca[Co]||ca[bo];return typeof Ba=="function"?Ba:null}var yo={current:null},Eo={transition:null},xo={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},So={current:null},To={},Ro=null;function Po(ca){Ro=ca}To.setExtraStackFrame=function(ca){Ro=ca},To.getCurrentStack=null,To.getStackAddendum=function(){var ca="";Ro&&(ca+=Ro);var Ba=To.getCurrentStack;return Ba&&(ca+=Ba()||""),ca};var zo=!1,Ho=!1,Vo=!1,Lo=!1,Uo=!1,Do={ReactCurrentDispatcher:yo,ReactCurrentBatchConfig:Eo,ReactCurrentOwner:So};Do.ReactDebugCurrentFrame=To,Do.ReactCurrentActQueue=xo;function Oo(ca){{for(var Ba=arguments.length,za=new Array(Ba>1?Ba-1:0),Xa=1;Xa<Ba;Xa++)za[Xa-1]=arguments[Xa];Bo("warn",ca,za)}}function ko(ca){{for(var Ba=arguments.length,za=new Array(Ba>1?Ba-1:0),Xa=1;Xa<Ba;Xa++)za[Xa-1]=arguments[Xa];Bo("error",ca,za)}}function Bo(ca,Ba,za){{var Xa=Do.ReactDebugCurrentFrame,fs=Xa.getStackAddendum();fs!==""&&(Ba+="%s",za=za.concat([fs]));var Os=za.map(function(bs){return String(bs)});Os.unshift("Warning: "+Ba),Function.prototype.apply.call(console[ca],console,Os)}}var Fo={};function Qo(ca,Ba){{var za=ca.constructor,Xa=za&&(za.displayName||za.name)||"ReactClass",fs=Xa+"."+Ba;if(Fo[fs])return;ko("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",Ba,Xa),Fo[fs]=!0}}var jo={isMounted:function(ca){return!1},enqueueForceUpdate:function(ca,Ba,za){Qo(ca,"forceUpdate")},enqueueReplaceState:function(ca,Ba,za,Xa){Qo(ca,"replaceState")},enqueueSetState:function(ca,Ba,za,Xa){Qo(ca,"setState")}},Xo=Object.assign,Zo={};Object.freeze(Zo);function Wo(ca,Ba,za){this.props=ca,this.context=Ba,this.refs=Zo,this.updater=za||jo}Wo.prototype.isReactComponent={},Wo.prototype.setState=function(ca,Ba){if(typeof ca!="object"&&typeof ca!="function"&&ca!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,ca,Ba,"setState")},Wo.prototype.forceUpdate=function(ca){this.updater.enqueueForceUpdate(this,ca,"forceUpdate")};{var ta={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},ra=function(ca,Ba){Object.defineProperty(Wo.prototype,ca,{get:function(){Oo("%s(...) is deprecated 
513in plain JavaScript React classes. %s",Ba[0],Ba[1])}})};for(var da in ta)ta.hasOwnProperty(da)&&ra(da,ta[da])}function pa(){}pa.prototype=Wo.prototype;function sa(ca,Ba,za){this.props=ca,this.context=Ba,this.refs=Zo,this.updater=za||jo}var ya=sa.prototype=new pa;ya.constructor=sa,Xo(ya,Wo.prototype),ya.isPureReactComponent=!0;function na(){var ca={current:null};return Object.seal(ca),ca}var ea=Array.isArray;function oa(ca){return ea(ca)}function la(ca){{var Ba=typeof Symbol=="function"&&Symbol.toStringTag,za=Ba&&ca[Symbol.toStringTag]||ca.constructor.name||"Object";return za}}function _a(ca){try{return Ea(ca),!1}catch{return!0}}function Ea(ca){return""+ca}function Pa(ca){if(_a(ca))return ko("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",la(ca)),Ea(ca)}function aa(ca,Ba,za){var Xa=ca.displayName;if(Xa)return Xa;var fs=Ba.displayName||Ba.name||"";return fs!==""?za+"("+fs+")":za}function Ca(ca){return ca.displayName||"Context"}function Sa(ca){if(ca==null)return null;if(typeof ca.tag=="number"&&ko("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof ca=="function")return ca.displayName||ca.name||null;if(typeof ca=="string")return ca;switch(ca){case io:return"Fragment";case no:return"Portal";case ao:return"Profiler";case oo:return"StrictMode";case uo:return"Suspense";case fo:return"SuspenseList"}if(typeof ca=="object")switch(ca.$$typeof){case lo:var Ba=ca;return Ca(Ba)+".Consumer";case so:var za=ca;return Ca(za._context)+".Provider";case co:return aa(ca,ca.render,"ForwardRef");case ho:var Xa=ca.displayName||null;return Xa!==null?Xa:Sa(ca.type)||"Memo";
vendor: 8,601 bytes, lines 513-521
513case mo:{var fs=ca,Os=fs._payload,bs=fs._init;try{return Sa(bs(Os))}catch{return null}}}return null}var Ia=Object.prototype.hasOwnProperty,Ta={key:!0,ref:!0,__self:!0,__source:!0},va,xa,Oa;Oa={};function Da(ca){if(Ia.call(ca,"ref")){var Ba=Object.getOwnPropertyDescriptor(ca,"ref").get;if(Ba&&Ba.isReactWarning)return!1}return ca.ref!==void 0}function ia(ca){if(Ia.call(ca,"key")){var Ba=Object.getOwnPropertyDescriptor(ca,"key").get;if(Ba&&Ba.isReactWarning)return!1}return ca.key!==void 0}function Ko(ca,Ba){var za=function(){va||(va=!0,ko("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Ba))};za.isReactWarning=!0,Object.defineProperty(ca,"key",{get:za,configurable:!0})}function Yo(ca,Ba){var za=function(){xa||(xa=!0,ko("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Ba))};za.isReactWarning=!0,Object.defineProperty(ca,"ref",{get:za,configurable:!0})}function ma(ca){if(typeof ca.ref=="string"&&So.current&&ca.__self&&So.current.stateNode!==ca.__self){var Ba=Sa(So.current.type);Oa[Ba]||(ko('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',Ba,ca.ref),Oa[Ba]=!0)}}var ga=function(ca,Ba,za,Xa,fs,Os,bs){var Ms={$$typeof:ro,type:ca,key:Ba,ref:za,props:bs,_owner:Os};return Ms._store={},Object.defineProperty(Ms._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ms,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Xa}),Object.defineProperty(Ms,"_source",{configurable:!1,enumerable:!1,writable:!1,value:fs}),Object.freeze&&(Object.freeze(Ms.props),Object.freeze(Ms)),Ms};function Fa(ca,Ba,za){var Xa,fs={},Os=null,bs=null,Ms=null,Ks=null;if(Ba!=null){Da(Ba)&&(bs=Ba.ref,ma(Ba)),ia(Ba)&&(Pa(Ba.key),Os=""+Ba.key),Ms=Ba.__self===void 0?null:Ba.__self,Ks=Ba.__source===void 0?null:Ba.__source;for(Xa in Ba)Ia.call(Ba,Xa)&&!Ta.hasOwnProperty(Xa)&&(fs[Xa]=Ba[Xa])}var Xs=arguments.length-2;if(Xs===1)fs.children=za;else if(Xs>1){for(var pl=Array(Xs),ll=0;ll<Xs;ll++)pl[ll]=arguments[ll+2];Object.freeze&&Object.freeze(pl),fs.children=pl}if(ca&&ca.defaultProps){var fl=ca.defaultProps;for(Xa in fl)fs[Xa]===void 0&&(fs[Xa]=fl[Xa])}if(Os||bs){var Al=typeof ca=="function"?ca.displayName||ca.name||"Unknown":ca;Os&&Ko(fs,Al),bs&&Yo(fs,Al)}return ga(ca,Os,bs,Ms,Ks,So.current,fs)}function ja(ca,Ba){var za=ga(ca.type,Ba,ca.ref,ca._self,ca._source,ca._owner,ca.props);return za}function Ga(ca,Ba,za){if(ca==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+ca+".");var Xa,fs=Xo({},ca.props),Os=ca.key,bs=ca.ref,Ms=ca._self,Ks=ca._source,Xs=ca._owner;if(Ba!=null){Da(Ba)&&(bs=Ba.ref,Xs=So.current),ia(Ba)&&(Pa(Ba.key),Os=""+Ba.key);var pl;ca.type&&ca.type.defaultProps&&(pl=ca.type.defaultProps);for(Xa in Ba)Ia.call(Ba,Xa)&&!Ta.hasOwnProperty(Xa)&&(Ba[Xa]===void 0&&pl!==void 0?fs[Xa]=pl[Xa]:fs[Xa]=Ba[Xa])}var ll=arguments.length-2;if(ll===1)fs.children=za;else if(ll>1){for(var fl=Array(ll),Al=0;Al<ll;Al++)fl[Al]=arguments[Al+2];fs.children=fl}return ga(ca.type,Os,bs,Ms,Ks,Xs,fs)}function Va(ca){return typeof ca=="object"&&ca!==null&&ca.$$typeof===ro}var qa=".",us=":";function as(ca){var Ba=/[=:]/g,za={"=":"=0",":":"=2"},Xa=ca.replace(Ba,function(fs){return za[fs]});return"$"+Xa}var ps=!1,Rs=/\/+/g;function Ps(ca){return ca.replace(Rs,"$&/")}function vs(ca,Ba){return typeof ca=="object"&&ca!==null&&ca.key!=null?(Pa(ca.key),as(""+ca.key)):Ba.toString(36)}function Ts(ca,Ba,za,Xa,fs){var Os=typeof ca;(Os==="undefined"||Os==="boolean")&&(ca=null);var bs=!1;if(ca===null)bs=!0;else switch(Os){case"string":case"number":bs=!0;break;case"object":switch(ca.$$typeof){case ro:case no:bs=!0}}if(bs){var Ms=ca,Ks=fs(Ms),Xs=Xa===""?qa+vs(Ms,0):Xa;if(oa(Ks)){var pl="";Xs!=null&&(pl=Ps(Xs)+"/"),Ts(Ks,Ba,pl,"",function(Bd){return Bd})}else Ks!=null&&(Va(Ks)&&(Ks.key&&(!Ms||Ms.key!==Ks.key)&&Pa(Ks.key),Ks=ja(Ks,za+(Ks.key&&(!Ms||Ms.key!==Ks.key)?Ps(""+Ks.key)+"/":"")+Xs)),Ba.push(Ks));return 1}var ll,fl,Al=0,Il=Xa===""?qa:Xa+us;if(oa(ca))for(var _u=0;_u<ca.length;_u++)ll=ca[_u],fl=Il+vs(ll,_u),Al+=Ts(ll,Ba,za,fl,fs);else{var of=wo(ca);if(typeof of=="function"){var Rf=ca;of===Rf.entries&&(ps||Oo("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ps=!0);for(var Id=of.call(Rf),Fu,Td=0;!(Fu=Id.next()).done;)ll=Fu.value,fl=Il+vs(ll,Td++),Al+=Ts(ll,Ba,za,fl,fs)}else if(Os==="object"){var Of=String(ca);throw new Error("Objects are not valid as a React child (found: "+(Of==="[object Object]"?"object with keys {"+Object.keys(ca).join(", ")+"}":Of)+"). If you meant to render a collection of children, use an array instead.")}}return Al}function hs(ca,Ba,za){if(ca==null)return ca;var Xa=[],fs=0;return Ts(ca,Xa,"","",function(Os){return Ba.call(za,Os,fs++)}),Xa}function ol(ca){var Ba=0;return hs(ca,function(){Ba++}),Ba}function Zs(ca,Ba,za){hs(ca,function(){Ba.apply(this,arguments)},za)}function $s(ca){return hs(ca,function(Ba){return Ba})||[]}function al(ca){if(!Va(ca))throw new Error("React.Children.only expected to receive a single React element child.");return ca}function Rl(ca){var Ba={$$typeof:lo,_currentValue:ca,_currentValue2:ca,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};Ba.Provider={$$typeof:so,_context:Ba};var za=!1,Xa=!1,fs=!1;{var Os={$$typeof:lo,_context:Ba};Object.defineProperties(Os,{Provider:{get:function(){return Xa||(Xa=!0,ko("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),Ba.Provider},set:function(bs){Ba.Provider=bs}},_currentValue:{get:function(){return Ba._currentValue},set:function(bs){Ba._currentValue=bs}},_currentValue2:{get:function(){return Ba._currentValue2},set:function(bs){Ba._currentValue2=bs}},_threadCount:{get:function(){return Ba._threadCount},set:function(bs){Ba._threadCount=bs}},Consumer:{get:function(){return za||(za=!0,ko("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),Ba.Consumer}},displayName:{get:function(){return Ba.displayName},set:function(bs){fs||(Oo("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",bs),fs=!0)}}}),Ba.Consumer=Os}return Ba._currentRenderer=null,Ba._currentRenderer2=null,Ba}var El=-1,Sl=0,xl=1,yc=2;function Ll(ca){if(ca._status===El){var Ba=ca._result,za=Ba();if(za.then(function(Os){if(ca._status===Sl||ca._status===El){var bs=ca;bs._status=xl,bs._result=Os}},function(Os){if(ca._status===Sl||ca._status===El){var bs=ca;bs._status=yc,bs._result=Os}}),ca._status===El){var Xa=ca;Xa._status=Sl,Xa._result=za}}if(ca._status===xl){var fs=ca._result;return fs===void 0&&ko(`lazy: Expected the result of a dynamic import() call. Instead received: %s
514
515Your code should look like: 
516  const MyComponent = lazy(() => import('./MyComponent'))
517
518Did you accidentally put curly braces around the import?`,fs),"default"in fs||ko(`lazy: Expected the result of a dynamic import() call. Instead received: %s
519
520Your code should look like: 
521  const MyComponent = lazy(() => import('./MyComponent'))`,fs),fs.default}else throw ca._result}function kl(ca){var Ba={_status:El,_result:ca},za={$$typeof:mo,_payload:Ba,_init:Ll};{var Xa,fs;Object.defineProperties(za,{defaultProps:{configurable:!0,get:function(){return Xa},set:function(Os){ko("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Xa=Os,Object.defineProperty(za,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return fs},set:function(Os){ko("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),fs=Os,Object.defineProperty(za,"propT
521ypes",{enumerable:!0})}}})}return za}function Vl(ca){ca!=null&&ca.$$typeof===ho?ko("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof ca!="function"?ko("forwardRef requires a render function but was given %s.",ca===null?"null":typeof ca):ca.length!==0&&ca.length!==2&&ko("forwardRef render functions accept exactly two parameters: props and ref. %s",ca.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),ca!=null&&(ca.defaultProps!=null||ca.propTypes!=null)&&ko("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var Ba={$$typeof:co,render:ca};{var za;Object.defineProperty(Ba,"displayName",{enumerable:!1,configurable:!0,get:function(){return za},set:function(Xa){za=Xa,!ca.name&&!ca.displayName&&(ca.displayName=Xa)}})}return Ba}var Ql;Ql=Symbol.for("react.module.reference");function cl(ca){return!!(typeof ca=="string"||typeof ca=="function"||ca===io||ca===ao||Uo||ca===oo||ca===uo||ca===fo||Lo||ca===vo||zo||Ho||Vo||typeof ca=="object"&&ca!==null&&(ca.$$typeof===mo||ca.$$typeof===ho||ca.$$typeof===so||ca.$$typeof===lo||ca.$$typeof===co||ca.$$typeof===Ql||ca.getModuleId!==void 0))}function sl(ca,Ba){cl(ca)||ko("memo: The first argument must be a component. Instead received: %s",ca===null?"null":typeof ca);var za={$$typeof:ho,type:ca,compare:Ba===void 0?null:Ba};{var Xa;Object.defineProperty(za,"displayName",{enumerable:!1,configurable:!0,get:function(){return Xa},set:function(fs){Xa=fs,!ca.name&&!ca.displayName&&(ca.displayName=fs)}})}return za}function qs(){var ca=yo.current;return ca===null&&ko(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
5221. You might have mismatching versions of React and the renderer (such as React DOM)
5232. You might be breaking the Rules of Hooks
5243. You might have more than one copy of React in the same app
525See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),ca}function Ya(ca){var Ba=qs();if(ca._context!==void 0){var za=ca._context;za.Consumer===ca?ko("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):za.Provider===ca&&ko("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return Ba.useContext(ca)}function Ka(ca){var Ba=qs();return Ba.useState(ca)}function ys(ca,Ba,za){var Xa=qs();return Xa.useReducer(ca,Ba,za)}function Ls(ca){var Ba=qs();return Ba.useRef(ca)}function Ns(ca,Ba){var za=qs();return za.useEffect(ca,Ba)}function tl(ca,Ba){var za=qs();return za.useInsertionEffect(ca,Ba)}function Qs(ca,Ba){var za=qs();return za.useLayoutEffect(ca,Ba)}function $l(ca,Ba){var za=qs();return za.useCallback(ca,Ba)}function bc(ca,Ba){var za=qs();return za.useMemo(ca,Ba)}function tu(ca,Ba,za){var Xa=qs();return Xa.useImperativeHandle(ca,Ba,za)}function il(ca,Ba){{var za=qs();return za.useDebugValue(ca,Ba)}}function Pc(){var ca=qs();return ca.useTransition()}function Yl(ca){var Ba=qs();return Ba.useDeferredValue(ca)}function sc(){var ca=qs();return ca.useId()}function Xl(ca,Ba,za){var Xa=qs();return Xa.useSyncExternalStore(ca,Ba,za)}var gs=0,Vs,Ys,dl,zl,Bl,ru,Us;function nu(){}nu.__reactDisabledLog=!0;function Rc(){{if(gs===0){Vs=console.log,Ys=console.info,dl=console.warn,zl=console.error,Bl=console.group,ru=console.groupCollapsed,Us=console.groupEnd;var ca={configurable:!0,enumerable:!0,value:nu,writable:!0};Object.defineProperties(console,{info:ca,log:ca,warn:ca,error:ca,group:ca,groupCollapsed:ca,groupEnd:ca})}gs++}}function Nl(){{if(gs--,gs===0){var ca={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Xo({},ca,{value:Vs}),info:Xo({},ca,{value:Ys}),warn:Xo({},ca,{value:dl}),error:Xo({},ca,{value:zl}),group:Xo({},ca,{value:Bl}),groupCollapsed:Xo({},ca,{value:ru}),groupEnd:Xo({},ca,{value:Us})})}
vendor: 8,804 bytes, lines 525-535
525gs<0&&ko("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var vl=Do.ReactCurrentDispatcher,_c;function Oc(ca,Ba,za){{if(_c===void 0)try{throw Error()}catch(fs){var Xa=fs.stack.trim().match(/\n( *(at )?)/);_c=Xa&&Xa[1]||""}return`
526`+_c+ca}}var Sc=!1,Cc;{var iu=typeof WeakMap=="function"?WeakMap:Map;Cc=new iu}function jc(ca,Ba){if(!ca||Sc)return"";{var za=Cc.get(ca);if(za!==void 0)return za}var Xa;Sc=!0;var fs=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Os;Os=vl.current,vl.current=null,Rc();try{if(Ba){var bs=function(){throw Error()};if(Object.defineProperty(bs.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(bs,[])}catch(Il){Xa=Il}Reflect.construct(ca,[],bs)}else{try{bs.call()}catch(Il){Xa=Il}ca.call(bs.prototype)}}else{try{throw Error()}catch(Il){Xa=Il}ca()}}catch(Il){if(Il&&Xa&&typeof Il.stack=="string"){for(var Ms=Il.stack.split(`
527`),Ks=Xa.stack.split(`
528`),Xs=Ms.length-1,pl=Ks.length-1;Xs>=1&&pl>=0&&Ms[Xs]!==Ks[pl];)pl--;for(;Xs>=1&&pl>=0;Xs--,pl--)if(Ms[Xs]!==Ks[pl]){if(Xs!==1||pl!==1)do if(Xs--,pl--,pl<0||Ms[Xs]!==Ks[pl]){var ll=`
529`+Ms[Xs].replace(" at new "," at ");return ca.displayName&&ll.includes("<anonymous>")&&(ll=ll.replace("<anonymous>",ca.displayName)),typeof ca=="function"&&Cc.set(ca,ll),ll}while(Xs>=1&&pl>=0);break}}}finally{Sc=!1,vl.current=Os,Nl(),Error.prepareStackTrace=fs}var fl=ca?ca.displayName||ca.name:"",Al=fl?Oc(fl):"";return typeof ca=="function"&&Cc.set(ca,Al),Al}function yl(ca,Ba,za){return jc(ca,!1)}function ul(ca){var Ba=ca.prototype;return!!(Ba&&Ba.isReactComponent)}function pc(ca,Ba,za){if(ca==null)return"";if(typeof ca=="function")return jc(ca,ul(ca));if(typeof ca=="string")return Oc(ca);switch(ca){case uo:return Oc("Suspense");case fo:return Oc("SuspenseList")}if(typeof ca=="object")switch(ca.$$typeof){case co:return yl(ca.render);case ho:return pc(ca.type,Ba,za);case mo:{var Xa=ca,fs=Xa._payload,Os=Xa._init;try{return pc(Os(fs),Ba,za)}catch{}}}return""}var Ws={},Wl=Do.ReactDebugCurrentFrame;function Es(ca){if(ca){var Ba=ca._owner,za=pc(ca.type,ca._source,Ba?Ba.type:null);Wl.setExtraStackFrame(za)}else Wl.setExtraStackFrame(null)}function kc(ca,Ba,za,Xa,fs){{var Os=Function.call.bind(Ia);for(var bs in ca)if(Os(ca,bs)){var Ms=void 0;try{if(typeof ca[bs]!="function"){var Ks=Error((Xa||"React class")+": "+za+" type `"+bs+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof ca[bs]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ks.name="Invariant Violation",Ks}Ms=ca[bs](Ba,bs,Xa,za,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Xs){Ms=Xs}Ms&&!(Ms instanceof Error)&&(Es(fs),ko("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Xa||"React class",za,bs,typeof Ms),Es(null)),Ms instanceof Error&&!(Ms.message in Ws)&&(Ws[Ms.message]=!0,Es(fs),ko("Failed %s type: %s",za,Ms.message),Es(null))}}}function rc(ca){if(ca){var Ba=ca._owner,za=pc(ca.type,ca._source,Ba?Ba.type:null);Po(za)}else Po(null)}var nc;nc=!1;function Ac(){if(So.current){var ca=Sa(So.current.type);if(ca)return`
530
531Check the render method of \``+ca+"`."}return""}function ua(ca){if(ca!==void 0){var Ba=ca.fileName.replace(/^.*[\\\/]/,""),za=ca.lineNumber;return`
532
533Check your code at `+Ba+":"+za+"."}return""}function ba(ca){return ca!=null?ua(ca.__source):""}var Aa={};function _o(ca){var Ba=Ac();if(!Ba){var za=typeof ca=="string"?ca:ca.displayName||ca.name;za&&(Ba=`
534
535Check the top-level render call using <`+za+">.")}return Ba}function Io(ca,Ba){if(!(!ca._store||ca._store.validated||ca.key!=null)){ca._store.validated=!0;var za=_o(Ba);if(!Aa[za]){Aa[za]=!0;var Xa="";ca&&ca._owner&&ca._owner!==So.current&&(Xa=" It was passed a child from "+Sa(ca._owner.type)+"."),rc(ca),ko('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',za,Xa),rc(null)}}}function No(ca,Ba){if(typeof ca=="object"){if(oa(ca))for(var za=0;za<ca.length;za++){var Xa=ca[za];Va(Xa)&&Io(Xa,Ba)}else if(Va(ca))ca._store&&(ca._store.validated=!0);else if(ca){var fs=wo(ca);if(typeof fs=="function"&&fs!==ca.entries)for(var Os=fs.call(ca),bs;!(bs=Os.next()).done;)Va(bs.value)&&Io(bs.value,Ba)}}}function qo(ca){{var Ba=ca.type;if(Ba==null||typeof Ba=="string")return;var za;if(typeof Ba=="function")za=Ba.propTypes;else if(typeof Ba=="object"&&(Ba.$$typeof===co||Ba.$$typeof===ho))za=Ba.propTypes;else return;if(za){var Xa=Sa(Ba);kc(za,ca.props,"prop",Xa,ca)}else if(Ba.PropTypes!==void 0&&!nc){nc=!0;var fs=Sa(Ba);ko("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",fs||"Unknown")}typeof Ba.getDefaultProps=="function"&&!Ba.getDefaultProps.isReactClassApproved&&ko("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function fa(ca){{for(var Ba=Object.keys(ca.props),za=0;za<Ba.length;za++){var Xa=Ba[za];if(Xa!=="children"&&Xa!=="key"){rc(ca),ko("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Xa),rc(null);break}}ca.ref!==null&&(rc(ca),ko("Invalid attribute `ref` supplied to `React.Fragment`."),rc(null))}}function wa(ca,Ba,za){var Xa=cl(ca);if(!Xa){var fs="";(ca===void 0||typeof ca=="object"&&ca!==null&&Object.keys(ca).length===0)&&(fs+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Os=ba(Ba);Os?fs+=Os:fs+=Ac();var bs;ca===null?bs="null":oa(ca)?bs="array":ca!==void 0&&ca.$$typeof===ro?(bs="<"+(Sa(ca.type)||"Unknown")+" />",fs=" Did you accidentally export a JSX literal instead of a component?"):bs=typeof ca,ko("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",bs,fs)}var Ms=Fa.apply(this,arguments);if(Ms==null)return Ms;if(Xa)for(var Ks=2;Ks<arguments.length;Ks++)No(arguments[Ks],ca);return ca===io?fa(Ms):qo(Ms),Ms}var Ra=!1;function Ua(ca){var Ba=wa.bind(null,ca);return Ba.type=ca,Ra||(Ra=!0,Oo("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(Ba,"type",{enumerable:!1,get:function(){return Oo("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:ca}),ca}}),Ba}function Na(ca,Ba,za){for(var Xa=Ga.apply(this,arguments),fs=2;fs<arguments.length;fs++)No(arguments[fs],Xa.type);return qo(Xa),Xa}function Ja(ca,Ba){var za=Eo.transition;Eo.transition={};var Xa=Eo.transition;Eo.transition._updatedFibers=new Set;try{ca()}finally{if(Eo.transition=za,za===null&&Xa._updatedFibers){var fs=Xa._updatedFibers.size;fs>10&&Oo("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),Xa._updatedFibers.clear()}}}var Za=!1,Ss=null;function Gs(ca){if(Ss===null)try{var Ba=("require"+Math.random()).slice(0,7),za=eo&&eo[Ba];Ss=za.call(eo,"timers").setImmediate}catch{Ss=function(fs){Za===!1&&(Za=!0,typeof MessageChannel>"u"&&ko("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Os=new MessageChannel;Os.port1.onmessage=fs,Os.port2.postMessage(void 0)}}return Ss(ca)}var rl=0,zs=!1;function Fl(ca){{var Ba=rl;rl++,xo.current===null&&(xo.current=[]);var za=xo.isBatchingLegacy,Xa;try{if(xo.isBatchingLegacy=!0,Xa=ca(),!za&&xo.didScheduleLegacyUpdate){var fs=xo.current;fs!==null&&(xo.didScheduleLegacyUpdate=!1,wc(fs))}}catch(fl){throw bl(Ba),fl}finally{xo.isBatchingLegacy=za}if(Xa!==null&&typeof Xa=="object"&&typeof Xa.then=="function"){var Os=Xa,bs=!1,Ms={then:function(fl,Al){bs=!0,Os.then(function(Il){bl(Ba),rl===0?Gl(Il,fl,Al):fl(Il)},function(Il){bl(Ba),Al(Il)})}};return!zs&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){bs||(zs=!0,ko("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),Ms}else{var Ks=Xa;if(bl(Ba),rl===0){var Xs=xo.current;Xs!==null&&(wc(Xs),xo.current=null);
535var pl={then:function(fl,Al){xo.current===null?(xo.current=[],Gl(Ks,fl,Al)):fl(Ks)}};return pl}else{var ll={then:function(fl,Al){fl(Ks)}};return ll}}}}function bl(ca){ca!==rl-1&&ko("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),rl=ca}function Gl(ca,Ba,za){{var Xa=xo.current;if(Xa!==null)try{wc(Xa),Gs(function(){Xa.length===0?(xo.current=null,Ba(ca)):Gl(ca,Ba,za)})}catch(fs){za(fs)}else Ba(ca)}}var bu=!1;function wc(ca){if(!bu){bu=!0;var Ba=0;try{for(;Ba<ca.length;Ba++){var za=ca[Ba];do za=za(!0);while(za!==null)}ca.length=0}catch(Xa){throw ca=ca.slice(Ba+1),Xa}finally{bu=!1}}}var ou=wa,Wc=Na,ku=Ua,hc={map:hs,forEach:Zs,count:ol,toArray:$s,only:al};Yi.Children=hc,Yi.Component=Wo,Yi.Fragment=io,Yi.Profiler=ao,Yi.PureComponent=sa,Yi.StrictMode=oo,Yi.Suspense=uo,Yi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Do,Yi.act=Fl,Yi.cloneElement=Wc,Yi.createContext=Rl,Yi.createElement=ou,Yi.createFactory=ku,Yi.createRef=na,Yi.forwardRef=Vl,Yi.isValidElement=Va,Yi.lazy=kl,Yi.memo=sl,Yi.startTransition=Ja,Yi.unstable_act=Fl,Yi.useCallback=$l,Yi.useContext=Ya,Yi.useDebugValue=il,Yi.useDeferredValue=Yl,Yi.useEffect=Ns,Yi.useId=sc,Yi.useImperativeHandle=tu,Yi.useInsertionEffect=tl,Yi.useLayoutEffect=Qs,Yi.useMemo=bc,Yi.useReducer=ys,Yi.useRef=Ls,Yi.useState=Ka,Yi.useSyncExternalStore=Xl,Yi.useTransition=Pc,Yi.version=to,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()}),require_react=__commonJS((Yi,eo)=>{var to=__toESM(require_react_development(),1);eo.exports=to});function isInAstralSet(Yi,eo){for(var to=65536,ro=0;ro<eo.length;ro+=2){if(to+=eo[ro],to>Yi)return!1;if(to+=eo[ro+1],to>=Yi)return!0}return!1}function isIdentifierStart(Yi,eo){return Yi<65?Yi===36:Yi<91?!0:Yi<97?Yi===95:Yi<123?!0:Yi<=65535?Yi>=170&&nonASCIIidentifierStart.test(String.fromCharCode(Yi)):eo===!1?!1:isInAstralSet(Yi,astralIdentifierStartCodes)}function isIdentifierChar(Yi,eo){return Yi<48?Yi===36:Yi<58?!0:Yi<65?!1:Yi<91?!0:Yi<97?Yi===95:Yi<123?!0:Yi<=65535?Yi>=170&&nonASCIIidentifier.test(String.fromCharCode(Yi)):eo===!1?!1:isInAstralSet(Yi,astralIdentifierStartCodes)||isInAstralSet(Yi,astralIdentifierCodes)}
vendor: 4,624 bytes, lines 535-536
535function binop(Yi,eo){return new TokenType(Yi,{beforeExpr:!0,binop:eo})}function kw(Yi,eo){return eo===void 0&&(eo={}),eo.keyword=Yi,keywords[Yi]=new TokenType(Yi,eo)}function isNewLine(Yi){return Yi===10||Yi===13||Yi===8232||Yi===8233}function nextLineBreak(Yi,eo,to){to===void 0&&(to=Yi.length);for(var ro=eo;ro<to;ro++){var no=Yi.charCodeAt(ro);if(isNewLine(no))return ro<to-1&&no===13&&Yi.charCodeAt(ro+1)===10?ro+2:ro+1}return-1}function wordsRegexp(Yi){return regexpCache[Yi]||(regexpCache[Yi]=new RegExp("^(?:"+Yi.replace(/ /g,"|")+")$"))}function codePointToString(Yi){return Yi<=65535?String.fromCharCode(Yi):(Yi-=65536,String.fromCharCode((Yi>>10)+55296,(Yi&1023)+56320))}function getLineInfo(Yi,eo){for(var to=1,ro=0;;){var no=nextLineBreak(Yi,ro,eo);if(no<0)return new Position(to,eo-ro);++to,ro=no}}function getOptions(Yi){var eo={};for(var to in defaultOptions$1)eo[to]=Yi&&hasOwn(Yi,to)?Yi[to]:defaultOptions$1[to];if(eo.ecmaVersion==="latest"?eo.ecmaVersion=1e8:eo.ecmaVersion==null?(!warnedAboutEcmaVersion&&typeof console=="object"&&console.warn&&(warnedAboutEcmaVersion=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
536Defaulting to 2020, but this will stop working in the future.`)),eo.ecmaVersion=11):eo.ecmaVersion>=2015&&(eo.ecmaVersion-=2009),eo.allowReserved==null&&(eo.allowReserved=eo.ecmaVersion<5),(!Yi||Yi.allowHashBang==null)&&(eo.allowHashBang=eo.ecmaVersion>=14),isArray(eo.onToken)){var ro=eo.onToken;eo.onToken=function(no){return ro.push(no)}}return isArray(eo.onComment)&&(eo.onComment=pushComment(eo,eo.onComment)),eo}function pushComment(Yi,eo){return function(to,ro,no,io,oo,ao){var so={type:to?"Block":"Line",value:ro,start:no,end:io};Yi.locations&&(so.loc=new SourceLocation(this,oo,ao)),Yi.ranges&&(so.range=[no,io]),eo.push(so)}}function functionFlags(Yi,eo){return SCOPE_FUNCTION|(Yi?SCOPE_ASYNC:0)|(eo?SCOPE_GENERATOR:0)}function isPrivateNameConflicted(Yi,eo){var to=eo.key.name,ro=Yi[to],no="true";return eo.type==="MethodDefinition"&&(eo.kind==="get"||eo.kind==="set")&&(no=(eo.static?"s":"i")+eo.kind),ro==="iget"&&no==="iset"||ro==="iset"&&no==="iget"||ro==="sget"&&no==="sset"||ro==="sset"&&no==="sget"?(Yi[to]="true",!1):ro?!0:(Yi[to]=no,!1)}function checkKeyName(Yi,eo){var to=Yi.computed,ro=Yi.key;return!to&&(ro.type==="Identifier"&&ro.name===eo||ro.type==="Literal"&&ro.value===eo)}function isLocalVariableAccess(Yi){return Yi.type==="Identifier"||Yi.type==="ParenthesizedExpression"&&isLocalVariableAccess(Yi.expression)}function isPrivateFieldAccess(Yi){return Yi.type==="MemberExpression"&&Yi.property.type==="PrivateIdentifier"||Yi.type==="ChainExpression"&&isPrivateFieldAccess(Yi.expression)||Yi.type==="ParenthesizedExpression"&&isPrivateFieldAccess(Yi.expression)}function finishNodeAt(Yi,eo,to,ro){return Yi.type=eo,Yi.end=to,this.options.locations&&(Yi.loc.end=ro),this.options.ranges&&(Yi.range[1]=to),Yi}function buildUnicodeData(Yi){var eo=data[Yi]={binary:wordsRegexp(unicodeBinaryProperties[Yi]+" "+unicodeGeneralCategoryValues),binaryOfStrings:wordsRegexp(unicodeBinaryPropertiesOfStrings[Yi]),nonBinary:{General_Category:wordsRegexp(unicodeGeneralCategoryValues),Script:wordsRegexp(unicodeScriptValues[Yi])}};eo.nonBinary.Script_Extensions=eo.nonBinary.Script,eo.nonBinary.gc=eo.nonBinary.General_Category,eo.nonBinary.sc=eo.nonBinary.Script,eo.nonBinary.scx=eo.nonBinary.Script_Extensions}function hasProp(Yi){for(var eo in Yi)return!0;return!1}function isSyntaxCharacter(Yi){return Yi===36||Yi>=40&&Yi<=43||Yi===46||Yi===63||Yi>=91&&Yi<=94||Yi>=123&&Yi<=125}function isRegExpIdentifierStart(Yi){return isIdentifierStart(Yi,!0)||Yi===36||Yi===95}function isRegExpIdentifierPart(Yi){return isIdentifierChar(Yi,!0)||Yi===36||Yi===95||Yi===8204||Yi===8205}function isControlLetter(Yi){return Yi>=65&&Yi<=90||Yi>=97&&Yi<=122}function isValidUnicode(Yi){return Yi>=0&&Yi<=1114111}function isCharacterClassEscape(Yi){return Yi===100||Yi===68||Yi===115||Yi===83||Yi===119||Yi===87}function isUnicodePropertyNameCharacter(Yi){return isControlLetter(Yi)||Yi===95}function isUnicodePropertyValueCharacter(Yi){return isUnicodePropertyNameCharacter(Yi)||isDecimalDigit(Yi)}function isClassSetReservedDoublePunctuatorCharacter(Yi){return Yi===33||Yi>=35&&Yi<=38||Yi>=42&&Yi<=44||Yi===46||Yi>=58&&Yi<=64||Yi===94||Yi===96||Yi===126}function isClassSetSyntaxCharacter(Yi){return Yi===40||Yi===41||Yi===45||Yi===47||Yi>=91&&Yi<=93||Yi>=123&&Yi<=125}function isClassSetReservedPunctuator(Yi){return Yi===33||Yi===35||Yi===37||Yi===38||Yi===44||Yi===45||Yi>=58&&Yi<=62||Yi===64||Yi===96||Yi===126}function isDecimalDigit(Yi){return Yi>=48&&Yi<=57}
536function isHexDigit(Yi){return Yi>=48&&Yi<=57||Yi>=65&&Yi<=70||Yi>=97&&Yi<=102}function hexToInt(Yi){return Yi>=65&&Yi<=70?10+(Yi-65):Yi>=97&&Yi<=102?10+(Yi-97):Yi-48}function isOctalDigit(Yi){return Yi>=48&&Yi<=55}function stringToNumber(Yi,eo){return eo?parseInt(Yi,8):parseFloat(Yi.replace(/_/g,""))}function stringToBigInt(Yi){return typeof BigInt!="function"?null:BigInt(Yi.replace(/_/g,""))}var astralIdentifierCodes=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],astralIdentifierStartCodes=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],nonASCIIidentifierChars="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-Û¤Û§Û¨Ûª-Û­Û°-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-à §à ©-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-á®­á®°-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",nonASCIIidentifierStartChars="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-Ô¯Ô±-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬá
536³®-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-á¾´á¾¶-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-á¿´á¿¶-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ê­©ê­°-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-ï©­ï©°-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ï¹´ï¹¶-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",reservedWords={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},ecma5AndLessKeywords="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",keywords$1={5:ecma5AndLessKeywords,"5module":ecma5AndLessKeywords+" export import",6:ecma5AndLessKeywords+" const class extends export import super"},keywordRelationalOperator=/^in(stanceof)?$/,nonASCIIidentifierStart=new RegExp("["+nonASCIIidentifierStartChars+"]"),nonASCIIidentifier=new RegExp("["+nonASCIIidentifierStartChars+nonASCIIidentifierChars+"]"),TokenType=function Yi(eo,to){to===void 0&&(to={}),this.label=eo,this.keyword=to.keyword,this.beforeExpr=!!to.beforeExpr,this.startsExpr=!!to.startsExpr,this.isLoop=!!to.isLoop,this.isAssign=!!to.isAssign,this.prefix=!!to.prefix,this.postfix=!!to.postfix,this.binop=to.binop||null,this.updateContext=null},beforeExpr={beforeExpr:!0},startsExpr={startsExpr:!0},keywords={},types$1={num:new TokenType("num",startsExpr),regexp:new TokenType("regexp",startsExpr),string:new TokenType("string",startsExpr),name:new TokenType("name",startsExpr),privateId:new TokenType("privateId",startsExpr),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new TokenType("]"),braceL:new TokenType("{",{beforeExpr:!0,startsExpr:!0}),braceR:new TokenType("}"),parenL:new TokenType("(",{beforeExpr:!0,startsExpr:!0}),parenR:new TokenType(")"),comma:new TokenType(",",beforeExpr),semi:new TokenType(";",beforeExpr),colon:new TokenType(":",beforeExpr),dot:new TokenType("."),question:new TokenType("?",beforeExpr),questionDot:new TokenType("?."),arrow:new TokenType("=>",beforeExpr),template:new TokenType("template"),invalidTemplate:new TokenType("invalidTemplate"),ellipsis:new TokenType("...",beforeExpr),backQuote:new TokenType("`",startsExpr),dollarBraceL:new TokenType("${",{beforeExpr:!0,startsExpr:!0}),eq:new TokenType("=",{beforeExpr:!0,isAssign:!0}),assign:new TokenType("_=",{beforeExpr:!0,isAssign:!0}),incDec:new TokenType("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new TokenType("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("</>/<=/>=",7),bitShift:binop("<</>>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new TokenType("**",{beforeExpr:!0}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",beforeExpr),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",beforeExpr),_do:kw("do",{isLoop:!0,beforeExpr:!0}),_else:kw("else",beforeExpr),_finally:kw("finally"),_for:kw("for",{isLoop:!0}),_function:kw("function",startsExpr),_if:kw("if"),_return:kw("return",beforeExpr),_switch:kw("switch"),_throw:kw("throw",beforeExpr),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:!0}
536),_with:kw("with"),_new:kw("new",{beforeExpr:!0,startsExpr:!0}),_this:kw("this",startsExpr),_super:kw("super",startsExpr),_class:kw("class",startsExpr),_extends:kw("extends",beforeExpr),_export:kw("export"),_import:kw("import",startsExpr),_null:kw("null",startsExpr),_true:kw("true",startsExpr),_false:kw("false",startsExpr),_in:kw("in",{beforeExpr:!0,binop:7}),_instanceof:kw("instanceof",{beforeExpr:!0,binop:7}),_typeof:kw("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:kw("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:kw("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},lineBreak=/\r\n?|\n|\u2028|\u2029/,lineBreakG=new RegExp(lineBreak.source,"g"),nonASCIIwhitespace=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,skipWhiteSpace=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ref=Object.prototype,hasOwnProperty=ref.hasOwnProperty,toString=ref.toString,hasOwn=Object.hasOwn||function(Yi,eo){return hasOwnProperty.call(Yi,eo)},isArray=Array.isArray||function(Yi){return toString.call(Yi)==="[object Array]"},regexpCache=Object.create(null),loneSurrogate=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Position=function Yi(eo,to){this.line=eo,this.column=to};Position.prototype.offset=function Yi(eo){return new Position(this.line,this.column+eo)};var SourceLocation=function Yi(eo,to,ro){this.start=to,this.end=ro,eo.sourceFile!==null&&(this.source=eo.sourceFile)},defaultOptions$1={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},warnedAboutEcmaVersion=!1,SCOPE_TOP=1,SCOPE_FUNCTION=2,SCOPE_ASYNC=4,SCOPE_GENERATOR=8,SCOPE_ARROW=16,SCOPE_SIMPLE_CATCH=32,SCOPE_SUPER=64,SCOPE_DIRECT_SUPER=128,SCOPE_CLASS_STATIC_BLOCK=256,SCOPE_VAR=SCOPE_TOP|SCOPE_FUNCTION|SCOPE_CLASS_STATIC_BLOCK,BIND_NONE=0,BIND_VAR=1,BIND_LEXICAL=2,BIND_FUNCTION=3,BIND_SIMPLE_CATCH=4,BIND_OUTSIDE=5,Parser=function Yi(eo,to,ro){this.options=eo=getOptions(eo),this.sourceFile=eo.sourceFile,this.keywords=wordsRegexp(keywords$1[eo.ecmaVersion>=6?6:eo.sourceType==="module"?"5module":5]);var no="";eo.allowReserved!==!0&&(no=reservedWords[eo.ecmaVersion>=6?6:eo.ecmaVersion===5?5:3],eo.sourceType==="module"&&(no+=" await")),this.reservedWords=wordsRegexp(no);
vendor: 4,344 bytes, lines 536-537
536var io=(no?no+" ":"")+reservedWords.strict;this.reservedWordsStrict=wordsRegexp(io),this.reservedWordsStrictBind=wordsRegexp(io+" "+reservedWords.strictBind),this.input=String(to),this.containsEsc=!1,ro?(this.pos=ro,this.lineStart=this.input.lastIndexOf(`
537`,ro-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(lineBreak).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=types$1.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=eo.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&eo.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(SCOPE_TOP),this.regexpState=null,this.privateNameStack=[]},prototypeAccessors={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Parser.prototype.parse=function Yi(){var eo=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(eo)};prototypeAccessors.inFunction.get=function(){return(this.currentVarScope().flags&SCOPE_FUNCTION)>0};prototypeAccessors.inGenerator.get=function(){return(this.currentVarScope().flags&SCOPE_GENERATOR)>0&&!this.currentVarScope().inClassFieldInit};prototypeAccessors.inAsync.get=function(){return(this.currentVarScope().flags&SCOPE_ASYNC)>0&&!this.currentVarScope().inClassFieldInit};prototypeAccessors.canAwait.get=function(){for(var Yi=this.scopeStack.length-1;Yi>=0;Yi--){var eo=this.scopeStack[Yi];if(eo.inClassFieldInit||eo.flags&SCOPE_CLASS_STATIC_BLOCK)return!1;if(eo.flags&SCOPE_FUNCTION)return(eo.flags&SCOPE_ASYNC)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};prototypeAccessors.allowSuper.get=function(){var Yi=this.currentThisScope(),eo=Yi.flags,to=Yi.inClassFieldInit;return(eo&SCOPE_SUPER)>0||to||this.options.allowSuperOutsideMethod};prototypeAccessors.allowDirectSuper.get=function(){return(this.currentThisScope().flags&SCOPE_DIRECT_SUPER)>0};prototypeAccessors.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};prototypeAccessors.allowNewDotTarget.get=function(){var Yi=this.currentThisScope(),eo=Yi.flags,to=Yi.inClassFieldInit;return(eo&(SCOPE_FUNCTION|SCOPE_CLASS_STATIC_BLOCK))>0||to};prototypeAccessors.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&SCOPE_CLASS_STATIC_BLOCK)>0};Parser.extend=function Yi(){for(var eo=[],to=arguments.length;to--;)eo[to]=arguments[to];for(var ro=this,no=0;no<eo.length;no++)ro=eo[no](ro);return ro};Parser.parse=function Yi(eo,to){return new this(to,eo).parse()};Parser.parseExpressionAt=function Yi(eo,to,ro){var no=new this(ro,eo,to);return no.nextToken(),no.parseExpression()};Parser.tokenizer=function Yi(eo,to){return new this(to,eo)};Object.defineProperties(Parser.prototype,prototypeAccessors);var pp$9=Parser.prototype,literal=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;pp$9.strictDirective=function(Yi){if(this.options.ecmaVersion<5)return!1;for(;;){skipWhiteSpace.lastIndex=Yi,Yi+=skipWhiteSpace.exec(this.input)[0].length;var eo=literal.exec(this.input.slice(Yi));if(!eo)return!1;if((eo[1]||eo[2])==="use strict"){skipWhiteSpace.lastIndex=Yi+eo[0].length;var to=skipWhiteSpace.exec(this.input),ro=to.index+to[0].length,no=this.input.charAt(ro);return no===";"||no==="}"||lineBreak.test(to[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(no)||no==="!"&&this.input.charAt(ro+1)==="=")}Yi+=eo[0].length,skipWhiteSpace.lastIndex=Yi,Yi+=skipWhiteSpace.exec(this.input)[0].length,this.input[Yi]===";"&&Yi++}};pp$9.eat=function(Yi){return this.type===Yi?(this.next(),!0):!1};pp$9.isContextual=function(Yi){return this.type===types$1.name&&this.value===Yi&&!this.containsEsc};pp$9.eatContextual=function(Yi){return this.isContextual(Yi)?(this.next(),!0):!1};
vendor: 4,124 bytes, line 537
537pp$9.expectContextual=function(Yi){this.eatContextual(Yi)||this.unexpected()};pp$9.canInsertSemicolon=function(){return this.type===types$1.eof||this.type===types$1.braceR||lineBreak.test(this.input.slice(this.lastTokEnd,this.start))};pp$9.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};pp$9.semicolon=function(){!this.eat(types$1.semi)&&!this.insertSemicolon()&&this.unexpected()};pp$9.afterTrailingComma=function(Yi,eo){if(this.type===Yi)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),eo||this.next(),!0};pp$9.expect=function(Yi){this.eat(Yi)||this.unexpected()};pp$9.unexpected=function(Yi){this.raise(Yi??this.start,"Unexpected token")};var DestructuringErrors=function Yi(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};pp$9.checkPatternErrors=function(Yi,eo){if(Yi){Yi.trailingComma>-1&&this.raiseRecoverable(Yi.trailingComma,"Comma is not permitted after the rest element");var to=eo?Yi.parenthesizedAssign:Yi.parenthesizedBind;to>-1&&this.raiseRecoverable(to,eo?"Assigning to rvalue":"Parenthesized pattern")}};pp$9.checkExpressionErrors=function(Yi,eo){if(!Yi)return!1;var to=Yi.shorthandAssign,ro=Yi.doubleProto;if(!eo)return to>=0||ro>=0;to>=0&&this.raise(to,"Shorthand property assignments are valid only in destructuring patterns"),ro>=0&&this.raiseRecoverable(ro,"Redefinition of __proto__ property")};pp$9.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};pp$9.isSimpleAssignTarget=function(Yi){return Yi.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(Yi.expression):Yi.type==="Identifier"||Yi.type==="MemberExpression"};var pp$8=Parser.prototype;pp$8.parseTopLevel=function(Yi){var eo=Object.create(null);for(Yi.body||(Yi.body=[]);this.type!==types$1.eof;){var to=this.parseStatement(null,!0,eo);Yi.body.push(to)}if(this.inModule)for(var ro=0,no=Object.keys(this.undefinedExports);ro<no.length;ro+=1){var io=no[ro];this.raiseRecoverable(this.undefinedExports[io].start,"Export '"+io+"' is not defined")}return this.adaptDirectivePrologue(Yi.body),this.next(),Yi.sourceType=this.options.sourceType,this.finishNode(Yi,"Program")};var loopLabel={kind:"loop"},switchLabel={kind:"switch"};pp$8.isLet=function(Yi){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;skipWhiteSpace.lastIndex=this.pos;var eo=skipWhiteSpace.exec(this.input),to=this.pos+eo[0].length,ro=this.input.charCodeAt(to);if(ro===91||ro===92)return!0;if(Yi)return!1;if(ro===123||ro>55295&&ro<56320)return!0;if(isIdentifierStart(ro,!0)){for(var no=to+1;isIdentifierChar(ro=this.input.charCodeAt(no),!0);)++no;if(ro===92||ro>55295&&ro<56320)return!0;var io=this.input.slice(to,no);if(!keywordRelationalOperator.test(io))return!0}return!1};pp$8.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;skipWhiteSpace.lastIndex=this.pos;var Yi=skipWhiteSpace.exec(this.input),eo=this.pos+Yi[0].length,to;return!lineBreak.test(this.input.slice(this.pos,eo))&&this.input.slice(eo,eo+8)==="function"&&(eo+8===this.input.length||!(isIdentifierChar(to=this.input.charCodeAt(eo+8))||to>55295&&to<56320))};pp$8.parseStatement=function(Yi,eo,to){var ro=this.type,no=this.startNode(),io;switch(this.isLet(Yi)&&(ro=types$1._var,io="let"),ro){case types$1._break:case types$1._continue:return this.parseBreakContinueStatement(no,ro.keyword);case types$1._debugger:return this.parseDebuggerStatement(no);case types$1._do:return this.parseDoStatement(no);case types$1._for:return this.parseForStatement(no);case types$1._function:return Yi&&(this.strict||Yi!=="if"&&Yi!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(no,!1,!Yi);case types$1._class:return Yi&&this.unexpected(),this.parseClass(no,!0);
vendor: 17,652 bytes, line 537
537case types$1._if:return this.parseIfStatement(no);case types$1._return:return this.parseReturnStatement(no);case types$1._switch:return this.parseSwitchStatement(no);case types$1._throw:return this.parseThrowStatement(no);case types$1._try:return this.parseTryStatement(no);case types$1._const:case types$1._var:return io=io||this.value,Yi&&io!=="var"&&this.unexpected(),this.parseVarStatement(no,io);case types$1._while:return this.parseWhileStatement(no);case types$1._with:return this.parseWithStatement(no);case types$1.braceL:return this.parseBlock(!0,no);case types$1.semi:return this.parseEmptyStatement(no);case types$1._export:case types$1._import:if(this.options.ecmaVersion>10&&ro===types$1._import){skipWhiteSpace.lastIndex=this.pos;var oo=skipWhiteSpace.exec(this.input),ao=this.pos+oo[0].length,so=this.input.charCodeAt(ao);if(so===40||so===46)return this.parseExpressionStatement(no,this.parseExpression())}return this.options.allowImportExportEverywhere||(eo||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),ro===types$1._import?this.parseImport(no):this.parseExport(no,to);default:if(this.isAsyncFunction())return Yi&&this.unexpected(),this.next(),this.parseFunctionStatement(no,!0,!Yi);var lo=this.value,co=this.parseExpression();return ro===types$1.name&&co.type==="Identifier"&&this.eat(types$1.colon)?this.parseLabeledStatement(no,lo,co,Yi):this.parseExpressionStatement(no,co)}};pp$8.parseBreakContinueStatement=function(Yi,eo){var to=eo==="break";this.next(),this.eat(types$1.semi)||this.insertSemicolon()?Yi.label=null:this.type!==types$1.name?this.unexpected():(Yi.label=this.parseIdent(),this.semicolon());for(var ro=0;ro<this.labels.length;++ro){var no=this.labels[ro];if((Yi.label==null||no.name===Yi.label.name)&&(no.kind!=null&&(to||no.kind==="loop")||Yi.label&&to))break}return ro===this.labels.length&&this.raise(Yi.start,"Unsyntactic "+eo),this.finishNode(Yi,to?"BreakStatement":"ContinueStatement")};pp$8.parseDebuggerStatement=function(Yi){return this.next(),this.semicolon(),this.finishNode(Yi,"DebuggerStatement")};pp$8.parseDoStatement=function(Yi){return this.next(),this.labels.push(loopLabel),Yi.body=this.parseStatement("do"),this.labels.pop(),this.expect(types$1._while),Yi.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(types$1.semi):this.semicolon(),this.finishNode(Yi,"DoWhileStatement")};pp$8.parseForStatement=function(Yi){this.next();var eo=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(loopLabel),this.enterScope(0),this.expect(types$1.parenL),this.type===types$1.semi)return eo>-1&&this.unexpected(eo),this.parseFor(Yi,null);var to=this.isLet();if(this.type===types$1._var||this.type===types$1._const||to){var ro=this.startNode(),no=to?"let":this.value;return this.next(),this.parseVar(ro,!0,no),this.finishNode(ro,"VariableDeclaration"),(this.type===types$1._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&ro.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===types$1._in?eo>-1&&this.unexpected(eo):Yi.await=eo>-1),this.parseForIn(Yi,ro)):(eo>-1&&this.unexpected(eo),this.parseFor(Yi,ro))}var io=this.isContextual("let"),oo=!1,ao=this.containsEsc,so=new DestructuringErrors,lo=this.start,co=eo>-1?this.parseExprSubscripts(so,"await"):this.parseExpression(!0,so);return this.type===types$1._in||(oo=this.options.ecmaVersion>=6&&this.isContextual("of"))?(eo>-1?(this.type===types$1._in&&this.unexpected(eo),Yi.await=!0):oo&&this.options.ecmaVersion>=8&&(co.start===lo&&!ao&&co.type==="Identifier"&&co.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(Yi.await=!1)),io&&oo&&this.raise(co.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(co,!1,so),this.checkLValPattern(co),this.parseForIn(Yi,co)):(this.checkExpressionErrors(so,!0),eo>-1&&this.unexpected(eo),this.parseFor(Yi,co))};pp$8.parseFunctionStatement=function(Yi,eo,to){return this.next(),this.parseFunction(Yi,FUNC_STATEMENT|(to?0:FUNC_HANGING_STATEMENT),!1,eo)};pp$8.parseIfStatement=function(Yi){return this.next(),Yi.test=this.parseParenExpression(),Yi.consequent=this.parseStatement("if"),Yi.alternate=this.eat(types$1._else)?this.parseStatement("if"):null,this.finishNode(Yi,"IfStatement")};pp$8.parseReturnStatement=function(Yi){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(types$1.semi)||this.insertSemicolon()?Yi.argument=null:(Yi.argument=this.parseExpression(),this.semicolon()),this.finishNode(Yi,"ReturnStatement")};pp$8.parseSwitchStatement=function(Yi){this.next(),Yi.discriminant=this.parseParenExpression(),Yi.cases=[],this.expect(types$1.braceL),this.labels.push(switchLabel),this.enterScope(0);for(var eo,to=!1;this.type!==types$1.braceR;)if(this.type===types$1._case||this.type===types$1._default){var ro=this.type===types$1._case;eo&&this.finishNode(eo,"SwitchCase"),Yi.cases.push(eo=this.startNode()),eo.consequent=[],this.next(),ro?eo.test=this.parseExpression():(to&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),to=!0,eo.test=null),this.expect(types$1.colon)}else eo||this.unexpected(),eo.consequent.push(this.parseStatement(null));return this.exitScope(),eo&&this.finishNode(eo,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(Yi,"SwitchStatement")};pp$8.parseThrowStatement=function(Yi){return this.next(),lineBreak.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),Yi.argument=this.parseExpression(),this.semicolon(),this.finishNode(Yi,"ThrowStatement")};var empty$1=[];pp$8.parseCatchClauseParam=function(){var Yi=this.parseBindingAtom(),eo=Yi.type==="Identifier";return this.enterScope(eo?SCOPE_SIMPLE_CATCH:0),this.checkLValPattern(Yi,eo?BIND_SIMPLE_CATCH:BIND_LEXICAL),this.expect(types$1.parenR),Yi};pp$8.parseTryStatement=function(Yi){if(this.next(),Yi.block=this.parseBlock(),Yi.handler=null,this.type===types$1._catch){var eo=this.startNode();this.next(),this.eat(types$1.parenL)?eo.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),eo.param=null,this.enterScope(0)),eo.body=this.parseBlock(!1),this.exitScope(),Yi.handler=this.finishNode(eo,"CatchClause")}return Yi.finalizer=this.eat(types$1._finally)?this.parseBlock():null,!Yi.handler&&!Yi.finalizer&&this.raise(Yi.start,"Missing catch or finally clause"),this.finishNode(Yi,"TryStatement")};pp$8.parseVarStatement=function(Yi,eo,to){return this.next(),this.parseVar(Yi,!1,eo,to),this.semicolon(),this.finishNode(Yi,"VariableDeclaration")};pp$8.parseWhileStatement=function(Yi){return this.next(),Yi.test=this.parseParenExpression(),this.labels.push(loopLabel),Yi.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(Yi,"WhileStatement")};pp$8.parseWithStatement=function(Yi){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),Yi.object=this.parseParenExpression(),Yi.body=this.parseStatement("with"),this.finishNode(Yi,"WithStatement")};pp$8.parseEmptyStatement=function(Yi){return this.next(),this.finishNode(Yi,"EmptyStatement")};pp$8.parseLabeledStatement=function(Yi,eo,to,ro){for(var no=0,io=this.labels;no<io.length;no+=1){var oo=io[no];oo.name===eo&&this.raise(to.start,"Label '"+eo+"' is already declared")}for(var ao=this.type.isLoop?"loop":this.type===types$1._switch?"switch":null,so=this.labels.length-1;so>=0;so--){var lo=this.labels[so];if(lo.statementStart===Yi.start)lo.statementStart=this.start,lo.kind=ao;else break}return this.labels.push({name:eo,kind:ao,statementStart:this.start}),Yi.body=this.parseStatement(ro?ro.indexOf("label")===-1?ro+"label":ro:"label"),this.labels.pop(),Yi.label=to,this.finishNode(Yi,"LabeledStatement")};pp$8.parseExpressionStatement=function(Yi,eo){return Yi.expression=eo,this.semicolon(),this.finishNode(Yi,"ExpressionStatement")};pp$8.parseBlock=function(Yi,eo,to){for(Yi===void 0&&(Yi=!0),eo===void 0&&(eo=this.startNode()),eo.body=[],this.expect(types$1.braceL),Yi&&this.enterScope(0);this.type!==types$1.braceR;){var ro=this.parseStatement(null);eo.body.push(ro)}return to&&(this.strict=!1),this.next(),Yi&&this.exitScope(),this.finishNode(eo,"BlockStatement")};pp$8.parseFor=function(Yi,eo){return Yi.init=eo,this.expect(types$1.semi),Yi.test=this.type===types$1.semi?null:this.parseExpression(),this.expect(types$1.semi),Yi.update=this.type===types$1.parenR?null:this.parseExpression(),this.expect(types$1.parenR),Yi.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(Yi,"ForStatement")};pp$8.parseForIn=function(Yi,eo){var to=this.type===types$1._in;return this.next(),eo.type==="VariableDeclaration"&&eo.declarations[0].init!=null&&(!to||this.options.ecmaVersion<8||this.strict||eo.kind!=="var"||eo.declarations[0].id.type!=="Identifier")&&this.raise(eo.start,(to?"for-in":"for-of")+" loop variable declaration may not have an initializer"),Yi.left=eo,Yi.right=to?this.parseExpression():this.parseMaybeAssign(),this.expect(types$1.parenR),Yi.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(Yi,to?"ForInStatement":"ForOfStatement")};pp$8.parseVar=function(Yi,eo,to,ro){for(Yi.declarations=[],Yi.kind=to;;){var no=this.startNode();if(this.parseVarId(no,to),this.eat(types$1.eq)?no.init=this.parseMaybeAssign(eo):!ro&&to==="const"&&!(this.type===types$1._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!ro&&no.id.type!=="Identifier"&&!(eo&&(this.type===types$1._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):no.init=null,Yi.declarations.push(this.finishNode(no,"VariableDeclarator")),!this.eat(types$1.comma))break}return Yi};pp$8.parseVarId=function(Yi,eo){Yi.id=this.parseBindingAtom(),this.checkLValPattern(Yi.id,eo==="var"?BIND_VAR:BIND_LEXICAL,!1)};var FUNC_STATEMENT=1,FUNC_HANGING_STATEMENT=2,FUNC_NULLABLE_ID=4;pp$8.parseFunction=function(Yi,eo,to,ro,no){this.initFunction(Yi),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!ro)&&(this.type===types$1.star&&eo&FUNC_HANGING_STATEMENT&&this.unexpected(),Yi.generator=this.eat(types$1.star)),this.options.ecmaVersion>=8&&(Yi.async=!!ro),eo&FUNC_STATEMENT&&(Yi.id=eo&FUNC_NULLABLE_ID&&this.type!==types$1.name?null:this.parseIdent(),Yi.id&&!(eo&FUNC_HANGING_STATEMENT)&&this.checkLValSimple(Yi.id,this.strict||Yi.generator||Yi.async?this.treatFunctionsAsVar?BIND_VAR:BIND_LEXICAL:BIND_FUNCTION));var io=this.yieldPos,oo=this.awaitPos,ao=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(functionFlags(Yi.async,Yi.generator)),eo&FUNC_STATEMENT||(Yi.id=this.type===types$1.name?this.parseIdent():null),this.parseFunctionParams(Yi),this.parseFunctionBody(Yi,to,!1,no),this.yieldPos=io,this.awaitPos=oo,this.awaitIdentPos=ao,this.finishNode(Yi,eo&FUNC_STATEMENT?"FunctionDeclaration":"FunctionExpression")};pp$8.parseFunctionParams=function(Yi){this.expect(types$1.parenL),Yi.params=this.parseBindingList(types$1.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};pp$8.parseClass=function(Yi,eo){this.next();var to=this.strict;this.strict=!0,this.parseClassId(Yi,eo),this.parseClassSuper(Yi);var ro=this.enterClassBody(),no=this.startNode(),io=!1;for(no.body=[],this.expect(types$1.braceL);this.type!==types$1.braceR;){var oo=this.parseClassElement(Yi.superClass!==null);oo&&(no.body.push(oo),oo.type==="MethodDefinition"&&oo.kind==="constructor"?(io&&this.raiseRecoverable(oo.start,"Duplicate constructor in the same class"),io=!0):oo.key&&oo.key.type==="PrivateIdentifier"&&isPrivateNameConflicted(ro,oo)&&this.raiseRecoverable(oo.key.start,"Identifier '#"+oo.key.name+"' has already been declared"))}return this.strict=to,this.next(),Yi.body=this.finishNode(no,"ClassBody"),this.exitClassBody(),this.finishNode(Yi,eo?"ClassDeclaration":"ClassExpression")};pp$8.parseClassElement=function(Yi){if(this.eat(types$1.semi))return null;var eo=this.options.ecmaVersion,to=this.startNode(),ro="",no=!1,io=!1,oo="method",ao=!1;if(this.eatContextual("static")){if(eo>=13&&this.eat(types$1.braceL))return this.parseClassStaticBlock(to),to;this.isClassElementNameStart()||this.type===types$1.star?ao=!0:ro="static"}if(to.static=ao,!ro&&eo>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===types$1.star)&&!this.canInsertSemicolon()?io=!0:ro="async"),!ro&&(eo>=9||!io)&&this.eat(types$1.star)&&(no=!0),!ro&&!io&&!no){var so=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?oo=so:ro=so)}if(ro?(to.computed=!1,to.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),to.key.name=ro,this.finishNode(to.key,"Identifier")):this.parseClassElementName(to),eo<13||this.type===types$1.parenL||oo!=="method"||no||io){var lo=!to.static&&checkKeyName(to,"constructor"),co=lo&&Yi;lo&&oo!=="method"&&this.raise(to.key.start,"Constructor can't have get/set modifier"),to.kind=lo?"constructor":oo,this.parseClassMethod(to,no,io,co)}else this.parseClassField(to);return to};pp$8.isClassElementNameStart=function(){return this.type===types$1.name||this.type===types$1.privateId||this.type===types$1.num||this.type===types$1.string||this.type===types$1.bracketL||this.type.keyword};pp$8.parseClassElementName=function(Yi){this.type===types$1.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),Yi.computed=!1,Yi.key=this.parsePrivateIdent()):this.parsePropertyName(Yi)};pp$8.parseClassMethod=function(Yi,eo,to,ro){var no=Yi.key;Yi.kind==="constructor"?(eo&&this.raise(no.start,"Constructor can't be a generator"),to&&this.raise(no.start,"Constructor can't be an async method")):Yi.static&&checkKeyName(Yi,"prototype")&&this.raise(no.start,"Classes may not have a static property named prototype");var io=Yi.value=this.parseMethod(eo,to,ro);return Yi.kind==="get"&&io.params.length!==0&&this.raiseRecoverable(io.start,"getter should have no params"),Yi.kind==="set"&&io.params.length!==1&&this.raiseRecoverable(io.start,"setter should have exactly one param"),Yi.kind==="set"&&io.params[0].type==="RestElement"&&this.raiseRecoverable(io.params[0].start,"Setter cannot use rest params"),this.finishNode(Yi,"MethodDefinition")};pp$8.parseClassField=function(Yi){if(checkKeyName(Yi,"constructor")?this.raise(Yi.key.start,"Classes can't have a field named 'constructor'"):Yi.static&&checkKeyName(Yi,"prototype")&&this.raise(Yi.key.start,"Classes can't have a static field named 'prototype'"),this.eat(types$1.eq)){var eo=this.currentThisScope(),to=eo.inClassFieldInit;eo.inClassFieldInit=!0,Yi.value=this.parseMaybeAssign(),eo.inClassFieldInit=to}else Yi.value=null;return this.semicolon(),this.finishNode(Yi,"PropertyDefinition")};pp$8.parseClassStaticBlock=function(Yi){Yi.body=[];var eo=this.labels;for(this.labels=[],this.enterScope(SCOPE_CLASS_STATIC_BLOCK|SCOPE_SUPER);this.type!==types$1.braceR;){var to=this.parseStatement(null);Yi.body.push(to)}return this.next(),this.exitScope(),this.labels=eo,this.finishNode(Yi,"StaticBlock")};pp$8.parseClassId=function(Yi,eo){this.type===types$1.name?(Yi.id=this.parseIdent(),eo&&this.checkLValSimple(Yi.id,BIND_LEXICAL,!1)):(eo===!0&&this.unexpected(),Yi.id=null)};pp$8.parseClassSuper=function(Yi){Yi.superClass=this.eat(types$1._extends)?this.parseExprSubscripts(null,!1):null};pp$8.enterClassBody=function(){var Yi={declared:Object.create(null),used:[]};return this.privateNameStack.push(Yi),Yi.declared};pp$8.exitClassBody=function(){var Yi=this.privateNameStack.pop(),eo=Yi.declared,to=Yi.used;if(this.options.checkPrivateFields)for(var ro=this.privateNameStack.length,no=ro===0?null:this.privateNameStack[ro-1],io=0;io<to.length;++io){var oo=to[io];hasOwn(eo,oo.name)||(no?no.used.push(oo):this.raiseRecoverable(oo.start,"Private field '#"+oo.name+"' must be declared in an enclosing class"))}};pp$8.parseExportAllDeclaration=function(Yi,eo){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(Yi.exported=this.parseModuleExportName(),this.checkExport(eo,Yi.exported,this.lastTokStart)):Yi.exported=null),this.expectContextual("from"),this.type!==types$1.string&&this.unexpected(),Yi.source=this.parseExprAtom(),this.semicolon(),this.finishNode(Yi,"ExportAllDeclaration")};pp$8.parseExport=function(Yi,eo){if(this.next(),this.eat(types$1.star))return this.parseExportAllDeclaration(Yi,eo);if(this.eat(types$1._default))return this.checkExport(eo,"default",this.lastTokStart),Yi.declaration=this.parseExportDefaultDeclaration(),this.finishNode(Yi,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())Yi.declaration=this.parseExportDeclaration(Yi),Yi.declaration.type==="VariableDeclaration"?this.checkVariableExport(eo,Yi.declaration.declarations):this.checkExport(eo,Yi.declaration.id,Yi.declaration.id.start),Yi.specifiers=[],Yi.source=null;else{if(Yi.declaration=null,Yi.specifiers=this.parseExportSpecifiers(eo),this.eatContextual("from"))this.type!==types$1.string&&this.unexpected(),Yi.source=this.parseExprAtom();else{for(var to=0,ro=Yi.specifiers;to<ro.length;to+=1){var no=ro[to];this.checkUnreserved(no.local),this.checkLocalExport(no.local),no.local.type==="Literal"&&this.raise(no.local.start,"A string literal cannot be used as an exported binding without `from`.")}Yi.source=null}this.semicolon()}return this.finishNode(Yi,"ExportNamedDeclaration")};pp$8.parseExportDeclaration=function(Yi){return this.parseStatement
vendor: 7,036 bytes, line 537
537(null)};pp$8.parseExportDefaultDeclaration=function(){var Yi;if(this.type===types$1._function||(Yi=this.isAsyncFunction())){var eo=this.startNode();return this.next(),Yi&&this.next(),this.parseFunction(eo,FUNC_STATEMENT|FUNC_NULLABLE_ID,!1,Yi)}else if(this.type===types$1._class){var to=this.startNode();return this.parseClass(to,"nullableID")}else{var ro=this.parseMaybeAssign();return this.semicolon(),ro}};pp$8.checkExport=function(Yi,eo,to){Yi&&(typeof eo!="string"&&(eo=eo.type==="Identifier"?eo.name:eo.value),hasOwn(Yi,eo)&&this.raiseRecoverable(to,"Duplicate export '"+eo+"'"),Yi[eo]=!0)};pp$8.checkPatternExport=function(Yi,eo){var to=eo.type;if(to==="Identifier")this.checkExport(Yi,eo,eo.start);else if(to==="ObjectPattern")for(var ro=0,no=eo.properties;ro<no.length;ro+=1){var io=no[ro];this.checkPatternExport(Yi,io)}else if(to==="ArrayPattern")for(var oo=0,ao=eo.elements;oo<ao.length;oo+=1){var so=ao[oo];so&&this.checkPatternExport(Yi,so)}else to==="Property"?this.checkPatternExport(Yi,eo.value):to==="AssignmentPattern"?this.checkPatternExport(Yi,eo.left):to==="RestElement"&&this.checkPatternExport(Yi,eo.argument)};pp$8.checkVariableExport=function(Yi,eo){if(Yi)for(var to=0,ro=eo;to<ro.length;to+=1){var no=ro[to];this.checkPatternExport(Yi,no.id)}};pp$8.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};pp$8.parseExportSpecifier=function(Yi){var eo=this.startNode();return eo.local=this.parseModuleExportName(),eo.exported=this.eatContextual("as")?this.parseModuleExportName():eo.local,this.checkExport(Yi,eo.exported,eo.exported.start),this.finishNode(eo,"ExportSpecifier")};pp$8.parseExportSpecifiers=function(Yi){var eo=[],to=!0;for(this.expect(types$1.braceL);!this.eat(types$1.braceR);){if(to)to=!1;else if(this.expect(types$1.comma),this.afterTrailingComma(types$1.braceR))break;eo.push(this.parseExportSpecifier(Yi))}return eo};pp$8.parseImport=function(Yi){return this.next(),this.type===types$1.string?(Yi.specifiers=empty$1,Yi.source=this.parseExprAtom()):(Yi.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),Yi.source=this.type===types$1.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(Yi,"ImportDeclaration")};pp$8.parseImportSpecifier=function(){var Yi=this.startNode();return Yi.imported=this.parseModuleExportName(),this.eatContextual("as")?Yi.local=this.parseIdent():(this.checkUnreserved(Yi.imported),Yi.local=Yi.imported),this.checkLValSimple(Yi.local,BIND_LEXICAL),this.finishNode(Yi,"ImportSpecifier")};pp$8.parseImportDefaultSpecifier=function(){var Yi=this.startNode();return Yi.local=this.parseIdent(),this.checkLValSimple(Yi.local,BIND_LEXICAL),this.finishNode(Yi,"ImportDefaultSpecifier")};pp$8.parseImportNamespaceSpecifier=function(){var Yi=this.startNode();return this.next(),this.expectContextual("as"),Yi.local=this.parseIdent(),this.checkLValSimple(Yi.local,BIND_LEXICAL),this.finishNode(Yi,"ImportNamespaceSpecifier")};pp$8.parseImportSpecifiers=function(){var Yi=[],eo=!0;if(this.type===types$1.name&&(Yi.push(this.parseImportDefaultSpecifier()),!this.eat(types$1.comma)))return Yi;if(this.type===types$1.star)return Yi.push(this.parseImportNamespaceSpecifier()),Yi;for(this.expect(types$1.braceL);!this.eat(types$1.braceR);){if(eo)eo=!1;else if(this.expect(types$1.comma),this.afterTrailingComma(types$1.braceR))break;Yi.push(this.parseImportSpecifier())}return Yi};pp$8.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===types$1.string){var Yi=this.parseLiteral(this.value);return loneSurrogate.test(Yi.value)&&this.raise(Yi.start,"An export name cannot include a lone surrogate."),Yi}return this.parseIdent(!0)};pp$8.adaptDirectivePrologue=function(Yi){for(var eo=0;eo<Yi.length&&this.isDirectiveCandidate(Yi[eo]);++eo)Yi[eo].directive=Yi[eo].expression.raw.slice(1,-1)};pp$8.isDirectiveCandidate=function(Yi){return this.options.ecmaVersion>=5&&Yi.type==="ExpressionStatement"&&Yi.expression.type==="Literal"&&typeof Yi.expression.value=="string"&&(this.input[Yi.start]==='"'||this.input[Yi.start]==="'")};var pp$7=Parser.prototype;pp$7.toAssignable=function(Yi,eo,to){if(this.options.ecmaVersion>=6&&Yi)switch(Yi.type){case"Identifier":this.inAsync&&Yi.name==="await"&&this.raise(Yi.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":Yi.type="ObjectPattern",to&&this.checkPatternErrors(to,!0);for(var ro=0,no=Yi.properties;ro<no.length;ro+=1){var io=no[ro];this.toAssignable(io,eo),io.type==="RestElement"&&(io.argument.type==="ArrayPattern"||io.argument.type==="ObjectPattern")&&this.raise(io.argument.start,"Unexpected token")}break;case"Property":Yi.kind!=="init"&&this.raise(Yi.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(Yi.value,eo);break;case"ArrayExpression":Yi.type="ArrayPattern",to&&this.checkPatternErrors(to,!0),this.toAssignableList(Yi.elements,eo);break;case"SpreadElement":Yi.type="RestElement",this.toAssignable(Yi.argument,eo),Yi.argument.type==="AssignmentPattern"&&this.raise(Yi.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":Yi.operator!=="="&&this.raise(Yi.left.end,"Only '=' operator can be used for specifying default value."),Yi.type="AssignmentPattern",delete Yi.operator,this.toAssignable(Yi.left,eo);break;case"ParenthesizedExpression":this.toAssignable(Yi.expression,eo,to);break;case"ChainExpression":this.raiseRecoverable(Yi.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!eo)break;default:this.raise(Yi.start,"Assigning to rvalue")}else to&&this.checkPatternErrors(to,!0);return Yi};pp$7.toAssignableList=function(Yi,eo){for(var to=Yi.length,ro=0;ro<to;ro++){var no=Yi[ro];no&&this.toAssignable(no,eo)}if(to){var io=Yi[to-1];this.options.ecmaVersion===6&&eo&&io&&io.type==="RestElement"&&io.argument.type!=="Identifier"&&this.unexpected(io.argument.start)}return Yi};pp$7.parseSpread=function(Yi){var eo=this.startNode();return this.next(),eo.argument=this.parseMaybeAssign(!1,Yi),this.finishNode(eo,"SpreadElement")};pp$7.parseRestBinding=function(){var Yi=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==types$1.name&&this.unexpected(),Yi.argument=this.parseBindingAtom(),this.finishNode(Yi,"RestElement")};pp$7.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case types$1.bracketL:var Yi=this.startNode();return this.next(),Yi.elements=this.parseBindingList(types$1.bracketR,!0,!0),this.finishNode(Yi,"ArrayPattern");case types$1.braceL:return this.parseObj(!0)}return this.parseIdent()};pp$7.parseBindingList=function(Yi,eo,to,ro){for(var no=[],io=!0;!this.eat(Yi);)if(io?io=!1:this.expect(types$1.comma),eo&&this.type===types$1.comma)no.push(null);else{if(to&&this.afterTrailingComma(Yi))break;
vendor: 2,010 bytes, line 537
537if(this.type===types$1.ellipsis){var oo=this.parseRestBinding();this.parseBindingListItem(oo),no.push(oo),this.type===types$1.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(Yi);break}else no.push(this.parseAssignableListItem(ro))}return no};pp$7.parseAssignableListItem=function(Yi){var eo=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(eo),eo};pp$7.parseBindingListItem=function(Yi){return Yi};pp$7.parseMaybeDefault=function(Yi,eo,to){if(to=to||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(types$1.eq))return to;var ro=this.startNodeAt(Yi,eo);return ro.left=to,ro.right=this.parseMaybeAssign(),this.finishNode(ro,"AssignmentPattern")};pp$7.checkLValSimple=function(Yi,eo,to){eo===void 0&&(eo=BIND_NONE);var ro=eo!==BIND_NONE;switch(Yi.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(Yi.name)&&this.raiseRecoverable(Yi.start,(ro?"Binding ":"Assigning to ")+Yi.name+" in strict mode"),ro&&(eo===BIND_LEXICAL&&Yi.name==="let"&&this.raiseRecoverable(Yi.start,"let is disallowed as a lexically bound name"),to&&(hasOwn(to,Yi.name)&&this.raiseRecoverable(Yi.start,"Argument name clash"),to[Yi.name]=!0),eo!==BIND_OUTSIDE&&this.declareName(Yi.name,eo,Yi.start));break;case"ChainExpression":this.raiseRecoverable(Yi.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":ro&&this.raiseRecoverable(Yi.start,"Binding member expression");break;case"ParenthesizedExpression":return ro&&this.raiseRecoverable(Yi.start,"Binding parenthesized expression"),this.checkLValSimple(Yi.expression,eo,to);default:this.raise(Yi.start,(ro?"Binding":"Assigning to")+" rvalue")}};pp$7.checkLValPattern=function(Yi,eo,to){switch(eo===void 0&&(eo=BIND_NONE),Yi.type){case"ObjectPattern":for(var ro=0,no=Yi.properties;ro<no.length;ro+=1){var io=no[ro];this.checkLValInnerPattern(io,eo,to)}break;case"ArrayPattern":for(var oo=0,ao=Yi.elements;oo<ao.length;oo+=1){var so=ao[oo];
vendor: 4,760 bytes, line 537
537so&&this.checkLValInnerPattern(so,eo,to)}break;default:this.checkLValSimple(Yi,eo,to)}};pp$7.checkLValInnerPattern=function(Yi,eo,to){switch(eo===void 0&&(eo=BIND_NONE),Yi.type){case"Property":this.checkLValInnerPattern(Yi.value,eo,to);break;case"AssignmentPattern":this.checkLValPattern(Yi.left,eo,to);break;case"RestElement":this.checkLValPattern(Yi.argument,eo,to);break;default:this.checkLValPattern(Yi,eo,to)}};var TokContext=function Yi(eo,to,ro,no,io){this.token=eo,this.isExpr=!!to,this.preserveSpace=!!ro,this.override=no,this.generator=!!io},types={b_stat:new TokContext("{",!1),b_expr:new TokContext("{",!0),b_tmpl:new TokContext("${",!1),p_stat:new TokContext("(",!1),p_expr:new TokContext("(",!0),q_tmpl:new TokContext("`",!0,!0,function(Yi){return Yi.tryReadTemplateToken()}),f_stat:new TokContext("function",!1),f_expr:new TokContext("function",!0),f_expr_gen:new TokContext("function",!0,!1,null,!0),f_gen:new TokContext("function",!1,!1,null,!0)},pp$6=Parser.prototype;pp$6.initialContext=function(){return[types.b_stat]};pp$6.curContext=function(){return this.context[this.context.length-1]};pp$6.braceIsBlock=function(Yi){var eo=this.curContext();return eo===types.f_expr||eo===types.f_stat?!0:Yi===types$1.colon&&(eo===types.b_stat||eo===types.b_expr)?!eo.isExpr:Yi===types$1._return||Yi===types$1.name&&this.exprAllowed?lineBreak.test(this.input.slice(this.lastTokEnd,this.start)):Yi===types$1._else||Yi===types$1.semi||Yi===types$1.eof||Yi===types$1.parenR||Yi===types$1.arrow?!0:Yi===types$1.braceL?eo===types.b_stat:Yi===types$1._var||Yi===types$1._const||Yi===types$1.name?!1:!this.exprAllowed};pp$6.inGeneratorContext=function(){for(var Yi=this.context.length-1;Yi>=1;Yi--){var eo=this.context[Yi];if(eo.token==="function")return eo.generator}return!1};pp$6.updateContext=function(Yi){var eo,to=this.type;to.keyword&&Yi===types$1.dot?this.exprAllowed=!1:(eo=to.updateContext)?eo.call(this,Yi):this.exprAllowed=to.beforeExpr};pp$6.overrideContext=function(Yi){this.curContext()!==Yi&&(this.context[this.context.length-1]=Yi)};types$1.parenR.updateContext=types$1.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var Yi=this.context.pop();Yi===types.b_stat&&this.curContext().token==="function"&&(Yi=this.context.pop()),this.exprAllowed=!Yi.isExpr};types$1.braceL.updateContext=function(Yi){this.context.push(this.braceIsBlock(Yi)?types.b_stat:types.b_expr),this.exprAllowed=!0};types$1.dollarBraceL.updateContext=function(){this.context.push(types.b_tmpl),this.exprAllowed=!0};types$1.parenL.updateContext=function(Yi){var eo=Yi===types$1._if||Yi===types$1._for||Yi===types$1._with||Yi===types$1._while;this.context.push(eo?types.p_stat:types.p_expr),this.exprAllowed=!0};types$1.incDec.updateContext=function(){};types$1._function.updateContext=types$1._class.updateContext=function(Yi){Yi.beforeExpr&&Yi!==types$1._else&&!(Yi===types$1.semi&&this.curContext()!==types.p_stat)&&!(Yi===types$1._return&&lineBreak.test(this.input.slice(this.lastTokEnd,this.start)))&&!((Yi===types$1.colon||Yi===types$1.braceL)&&this.curContext()===types.b_stat)?this.context.push(types.f_expr):this.context.push(types.f_stat),this.exprAllowed=!1};types$1.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0};types$1.backQuote.updateContext=function(){this.curContext()===types.q_tmpl?this.context.pop():this.context.push(types.q_tmpl),this.exprAllowed=!1};types$1.star.updateContext=function(Yi){if(Yi===types$1._function){var eo=this.context.length-1;this.context[eo]===types.f_expr?this.context[eo]=types.f_expr_gen:this.context[eo]=types.f_gen}this.exprAllowed=!0};types$1.name.updateContext=function(Yi){var eo=!1;this.options.ecmaVersion>=6&&Yi!==types$1.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(eo=!0),this.exprAllowed=eo};var pp$5=Parser.prototype;pp$5.checkPropClash=function(Yi,eo,to){if(!(this.options.ecmaVersion>=9&&Yi.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(Yi.computed||Yi.method||Yi.shorthand))){var ro=Yi.key,no;switch(ro.type){case"Identifier":no=ro.name;break;case"Literal":no=String(ro.value);break;default:return}var io=Yi.kind;if(this.options.ecmaVersion>=6){no==="__proto__"&&io==="init"&&(eo.proto&&(to?to.doubleProto<0&&(to.doubleProto=ro.start):this.raiseRecoverable(ro.start,"Redefinition of __proto__ property")),eo.proto=!0);return}no="$"+no;var oo=eo[no];if(oo){var ao;io==="init"?ao=this.strict&&oo.init||oo.get||oo.set:ao=oo.init||oo[io],ao&&this.raiseRecoverable(ro.start,"Redefinition of property")}else oo=eo[no]={init:!1,get:!1,set:!1};oo[io]=!0}};pp$5.parseExpression=function(Yi,eo){var to=this.start,ro=this.startLoc,no=this.parseMaybeAssign(Yi,eo);
vendor: 6,265 bytes, line 537
537if(this.type===types$1.comma){var io=this.startNodeAt(to,ro);for(io.expressions=[no];this.eat(types$1.comma);)io.expressions.push(this.parseMaybeAssign(Yi,eo));return this.finishNode(io,"SequenceExpression")}return no};pp$5.parseMaybeAssign=function(Yi,eo,to){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(Yi);this.exprAllowed=!1}var ro=!1,no=-1,io=-1,oo=-1;eo?(no=eo.parenthesizedAssign,io=eo.trailingComma,oo=eo.doubleProto,eo.parenthesizedAssign=eo.trailingComma=-1):(eo=new DestructuringErrors,ro=!0);var ao=this.start,so=this.startLoc;(this.type===types$1.parenL||this.type===types$1.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=Yi==="await");var lo=this.parseMaybeConditional(Yi,eo);if(to&&(lo=to.call(this,lo,ao,so)),this.type.isAssign){var co=this.startNodeAt(ao,so);return co.operator=this.value,this.type===types$1.eq&&(lo=this.toAssignable(lo,!1,eo)),ro||(eo.parenthesizedAssign=eo.trailingComma=eo.doubleProto=-1),eo.shorthandAssign>=lo.start&&(eo.shorthandAssign=-1),this.type===types$1.eq?this.checkLValPattern(lo):this.checkLValSimple(lo),co.left=lo,this.next(),co.right=this.parseMaybeAssign(Yi),oo>-1&&(eo.doubleProto=oo),this.finishNode(co,"AssignmentExpression")}else ro&&this.checkExpressionErrors(eo,!0);return no>-1&&(eo.parenthesizedAssign=no),io>-1&&(eo.trailingComma=io),lo};pp$5.parseMaybeConditional=function(Yi,eo){var to=this.start,ro=this.startLoc,no=this.parseExprOps(Yi,eo);if(this.checkExpressionErrors(eo))return no;if(this.eat(types$1.question)){var io=this.startNodeAt(to,ro);return io.test=no,io.consequent=this.parseMaybeAssign(),this.expect(types$1.colon),io.alternate=this.parseMaybeAssign(Yi),this.finishNode(io,"ConditionalExpression")}return no};pp$5.parseExprOps=function(Yi,eo){var to=this.start,ro=this.startLoc,no=this.parseMaybeUnary(eo,!1,!1,Yi);return this.checkExpressionErrors(eo)||no.start===to&&no.type==="ArrowFunctionExpression"?no:this.parseExprOp(no,to,ro,-1,Yi)};pp$5.parseExprOp=function(Yi,eo,to,ro,no){var io=this.type.binop;if(io!=null&&(!no||this.type!==types$1._in)&&io>ro){var oo=this.type===types$1.logicalOR||this.type===types$1.logicalAND,ao=this.type===types$1.coalesce;ao&&(io=types$1.logicalAND.binop);var so=this.value;this.next();var lo=this.start,co=this.startLoc,uo=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,no),lo,co,io,no),fo=this.buildBinary(eo,to,Yi,uo,so,oo||ao);return(oo&&this.type===types$1.coalesce||ao&&(this.type===types$1.logicalOR||this.type===types$1.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(fo,eo,to,ro,no)}return Yi};pp$5.buildBinary=function(Yi,eo,to,ro,no,io){ro.type==="PrivateIdentifier"&&this.raise(ro.start,"Private identifier can only be left side of binary expression");var oo=this.startNodeAt(Yi,eo);return oo.left=to,oo.operator=no,oo.right=ro,this.finishNode(oo,io?"LogicalExpression":"BinaryExpression")};pp$5.parseMaybeUnary=function(Yi,eo,to,ro){var no=this.start,io=this.startLoc,oo;if(this.isContextual("await")&&this.canAwait)oo=this.parseAwait(ro),eo=!0;else if(this.type.prefix){var ao=this.startNode(),so=this.type===types$1.incDec;ao.operator=this.value,ao.prefix=!0,this.next(),ao.argument=this.parseMaybeUnary(null,!0,so,ro),this.checkExpressionErrors(Yi,!0),so?this.checkLValSimple(ao.argument):this.strict&&ao.operator==="delete"&&isLocalVariableAccess(ao.argument)?this.raiseRecoverable(ao.start,"Deleting local variable in strict mode"):ao.operator==="delete"&&isPrivateFieldAccess(ao.argument)?this.raiseRecoverable(ao.start,"Private fields can not be deleted"):eo=!0,oo=this.finishNode(ao,so?"UpdateExpression":"UnaryExpression")}else if(!eo&&this.type===types$1.privateId)(ro||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),oo=this.parsePrivateIdent(),this.type!==types$1._in&&this.unexpected();else{if(oo=this.parseExprSubscripts(Yi,ro),this.checkExpressionErrors(Yi))return oo;for(;this.type.postfix&&!this.canInsertSemicolon();){var lo=this.startNodeAt(no,io);lo.operator=this.value,lo.prefix=!1,lo.argument=oo,this.checkLValSimple(oo),this.next(),oo=this.finishNode(lo,"UpdateExpression")}}if(!to&&this.eat(types$1.starstar))if(eo)this.unexpected(this.lastTokStart);else return this.buildBinary(no,io,oo,this.parseMaybeUnary(null,!1,!1,ro),"**",!1);else return oo};pp$5.parseExprSubscripts=function(Yi,eo){var to=this.start,ro=this.startLoc,no=this.parseExprAtom(Yi,eo);if(no.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return no;var io=this.parseSubscripts(no,to,ro,!1,eo);return Yi&&io.type==="MemberExpression"&&(Yi.parenthesizedAssign>=io.start&&(Yi.parenthesizedAssign=-1),Yi.parenthesizedBind>=io.start&&(Yi.parenthesizedBind=-1),Yi.trailingComma>=io.start&&(Yi.trailingComma=-1)),io};pp$5.parseSubscripts=function(Yi,eo,to,ro,no){for(var io=this.options.ecmaVersion>=8&&Yi.type==="Identifier"&&Yi.name==="async"&&this.lastTokEnd===Yi.end&&!this.canInsertSemicolon()&&Yi.end-Yi.start===5&&this.potentialArrowAt===Yi.start,oo=!1;;){var ao=this.parseSubscript(Yi,eo,to,ro,io,oo,no);if(ao.optional&&(oo=!0),ao===Yi||ao.type==="ArrowFunctionExpression"){if(oo){var so=this.startNodeAt(eo,to);so.expression=ao,ao=this.finishNode(so,"ChainExpression")}return ao}Yi=ao}};pp$5.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(types$1.arrow)};pp$5.parseSubscriptAsyncArrow=function(Yi,eo,to,ro){return this.parseArrowExpression(this.startNodeAt(Yi,eo),to,!0,ro)};pp$5.parseSubscript=function(Yi,eo,to,ro,no,io,oo){var ao=this.options.ecmaVersion>=11,so=ao&&this.eat(types$1.questionDot);ro&&so&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var lo=this.eat(types$1.bracketL);if(lo||so&&this.type!==types$1.parenL&&this.type!==types$1.backQuote||this.eat(types$1.dot)){var co=this.startNodeAt(eo,to);co.object=Yi,lo?(co.property=this.parseExpression(),this.expect(types$1.bracketR)):this.type===types$1.privateId&&Yi.type!=="Super"?co.property=this.parsePrivateIdent():co.property=this.parseIdent(this.options.allowReserved!=="never"),co.computed=!!lo,ao&&(co.optional=so),Yi=this.finishNode(co,"Member
537Expression")}else if(!ro&&this.eat(types$1.parenL)){var uo=new DestructuringErrors,fo=this.yieldPos,ho=this.awaitPos,mo=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var vo=this.parseExprList(types$1.parenR,this.options.ecmaVersion>=8,!1,uo);if(no&&!so&&this.shouldParseAsyncArrow())return this.checkPatternErrors(uo,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=fo,this.awaitPos=ho,this.awaitIdentPos=mo,this.parseSubscriptAsyncArrow(eo,to,vo,oo);this.checkExpressionErrors(uo,!0),this.yieldPos=fo||this.yieldPos,this.awaitPos=ho||this.awaitPos,this.awaitIdentPos=mo||this.awaitIdentPos;var Co=this.startNodeAt(eo,to);Co.callee=Yi,Co.arguments=vo,ao&&(Co.optional=so),Yi=this.finishNode(Co,"CallExpression")}else if(this.type===types$1.backQuote){(so||io)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var bo=this.startNodeAt(eo,to);bo.tag=Yi,bo.quasi=this.parseTemplate({isTagged:!0}),Yi=this.finishNode(bo,"TaggedTemplateExpression")}return Yi};pp$5.parseExprAtom=function(Yi,eo,to){this.type===types$1.slash&&this.readRegexp();var ro,no=this.potentialArrowAt===this.start;switch(this.type){case types$1._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),ro=this.startNode(),this.next(),this.type===types$1.parenL&&!this.allowDirectSuper&&this.raise(ro.start,"super() call outside constructor of a subclass"),this.type!==types$1.dot&&this.type!==types$1.bracketL&&this.type!==types$1.parenL&&this.unexpected(),this.finishNode(ro,"Super");case types$1._this:return ro=this.startNode(),this.next(),this.finishNode(ro,"ThisExpression");case types$1.name:var io=this.start,oo=this.startLoc,ao=this.containsEsc,so=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!ao&&so.name==="async"&&!this.canInsertSemicolon()&&this.eat(types$1._function))return this.overrideContext(types.f_expr),this.parseFunction(this.startNodeAt(io,oo),0,!1,!0,eo);if(no&&!this.canInsertSemicolon()){if(this.eat(types$1.arrow))return this.parseArrowExpression(this.startNodeAt(io,oo),[so],!1,eo);if(this.options.ecmaVersion>=8&&so.name==="async"&&this.type===types$1.name&&!ao&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return so=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(types$1.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(io,oo),[so],!0,eo)}return so;case types$1.regexp:var lo=this.value;return ro=this.parseLiteral(lo.value),ro.regex={pattern:lo.pattern,flags:lo.flags},ro;case types$1.num:case types$1.string:return this.parseLiteral(this.value);case types$1._null:case types$1._true:case types$1._false:return ro=this.startNode(),ro.value=this.type===types$1._null?null:this.type===types$1._true,ro.raw=this.type.keyword,this.next(),this.finishNode(ro,"Literal");case types$1.parenL:var co=this.start,uo=this.parseParenAndDistinguishExpression(no,eo);return Yi&&(Yi.parenthesizedAssign<0&&!this.isSimpleAssignTarget(uo)&&(Yi.parenthesizedAssign=co),Yi.parenthesizedBind<0&&(Yi.parenthesizedBind=co)),uo;case types$1.bracketL:return ro=this.startNode(),this.next(),ro.elements=this.parseExprList(types$1.bracketR,!0,!0,Yi),this.finishNode(ro,"ArrayExpression");case types$1.braceL:return this.overrideContext(types.b_expr),this.parseObj(!1,Yi);case types$1._function:return ro=this.startNode(),this.next(),this.parseFunction(ro,0);case types$1._class:return this.parseClass(this.startNode(),!1);case types$1._new:return this.parseNew();case types$1.backQuote:return this.parseTemplate();case types$1._import:return this.options.ecmaVersion>=11?this.parseExprImport(to):this.unexpected();default:return this.parseExprAtomDefault()}};pp$5.parseExprAtomDefault=function(){this.unexpected()};pp$5.parseExprImport=function(Yi){var eo=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===types$1.parenL&&!Yi)return this.parseDynamicImport(eo);
vendor: 13,648 bytes, lines 537-539
537if(this.type===types$1.dot){var to=this.startNodeAt(eo.start,eo.loc&&eo.loc.start);return to.name="import",eo.meta=this.finishNode(to,"Identifier"),this.parseImportMeta(eo)}else this.unexpected()};pp$5.parseDynamicImport=function(Yi){if(this.next(),Yi.source=this.parseMaybeAssign(),!this.eat(types$1.parenR)){var eo=this.start;this.eat(types$1.comma)&&this.eat(types$1.parenR)?this.raiseRecoverable(eo,"Trailing comma is not allowed in import()"):this.unexpected(eo)}return this.finishNode(Yi,"ImportExpression")};pp$5.parseImportMeta=function(Yi){this.next();var eo=this.containsEsc;return Yi.property=this.parseIdent(!0),Yi.property.name!=="meta"&&this.raiseRecoverable(Yi.property.start,"The only valid meta property for import is 'import.meta'"),eo&&this.raiseRecoverable(Yi.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(Yi.start,"Cannot use 'import.meta' outside a module"),this.finishNode(Yi,"MetaProperty")};pp$5.parseLiteral=function(Yi){var eo=this.startNode();return eo.value=Yi,eo.raw=this.input.slice(this.start,this.end),eo.raw.charCodeAt(eo.raw.length-1)===110&&(eo.bigint=eo.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(eo,"Literal")};pp$5.parseParenExpression=function(){this.expect(types$1.parenL);var Yi=this.parseExpression();return this.expect(types$1.parenR),Yi};pp$5.shouldParseArrow=function(Yi){return!this.canInsertSemicolon()};pp$5.parseParenAndDistinguishExpression=function(Yi,eo){var to=this.start,ro=this.startLoc,no,io=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var oo=this.start,ao=this.startLoc,so=[],lo=!0,co=!1,uo=new DestructuringErrors,fo=this.yieldPos,ho=this.awaitPos,mo;for(this.yieldPos=0,this.awaitPos=0;this.type!==types$1.parenR;)if(lo?lo=!1:this.expect(types$1.comma),io&&this.afterTrailingComma(types$1.parenR,!0)){co=!0;break}else if(this.type===types$1.ellipsis){mo=this.start,so.push(this.parseParenItem(this.parseRestBinding())),this.type===types$1.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else so.push(this.parseMaybeAssign(!1,uo,this.parseParenItem));var vo=this.lastTokEnd,Co=this.lastTokEndLoc;if(this.expect(types$1.parenR),Yi&&this.shouldParseArrow(so)&&this.eat(types$1.arrow))return this.checkPatternErrors(uo,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=fo,this.awaitPos=ho,this.parseParenArrowList(to,ro,so,eo);(!so.length||co)&&this.unexpected(this.lastTokStart),mo&&this.unexpected(mo),this.checkExpressionErrors(uo,!0),this.yieldPos=fo||this.yieldPos,this.awaitPos=ho||this.awaitPos,so.length>1?(no=this.startNodeAt(oo,ao),no.expressions=so,this.finishNodeAt(no,"SequenceExpression",vo,Co)):no=so[0]}else no=this.parseParenExpression();if(this.options.preserveParens){var bo=this.startNodeAt(to,ro);return bo.expression=no,this.finishNode(bo,"ParenthesizedExpression")}else return no};pp$5.parseParenItem=function(Yi){return Yi};pp$5.parseParenArrowList=function(Yi,eo,to,ro){return this.parseArrowExpression(this.startNodeAt(Yi,eo),to,!1,ro)};var empty=[];pp$5.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var Yi=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===types$1.dot){var eo=this.startNodeAt(Yi.start,Yi.loc&&Yi.loc.start);eo.name="new",Yi.meta=this.finishNode(eo,"Identifier"),this.next();var to=this.containsEsc;return Yi.property=this.parseIdent(!0),Yi.property.name!=="target"&&this.raiseRecoverable(Yi.property.start,"The only valid meta property for new is 'new.target'"),to&&this.raiseRecoverable(Yi.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(Yi.start,"'new.target' can only be used in functions and class static block"),this.finishNode(Yi,"MetaProperty")}var ro=this.start,no=this.startLoc;return Yi.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),ro,no,!0,!1),this.eat(types$1.parenL)?Yi.arguments=this.parseExprList(types$1.parenR,this.options.ecmaVersion>=8,!1):Yi.arguments=empty,this.finishNode(Yi,"NewExpression")};pp$5.parseTemplateElement=function(Yi){var eo=Yi.isTagged,to=this.startNode();return this.type===types$1.invalidTemplate?(eo||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),to.value={raw:this.value.replace(/\r\n?/g,`
538`),cooked:null}):to.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
539`),cooked:this.value},this.next(),to.tail=this.type===types$1.backQuote,this.finishNode(to,"TemplateElement")};pp$5.parseTemplate=function(Yi){Yi===void 0&&(Yi={});var eo=Yi.isTagged;eo===void 0&&(eo=!1);var to=this.startNode();this.next(),to.expressions=[];var ro=this.parseTemplateElement({isTagged:eo});for(to.quasis=[ro];!ro.tail;)this.type===types$1.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(types$1.dollarBraceL),to.expressions.push(this.parseExpression()),this.expect(types$1.braceR),to.quasis.push(ro=this.parseTemplateElement({isTagged:eo}));return this.next(),this.finishNode(to,"TemplateLiteral")};pp$5.isAsyncProp=function(Yi){return!Yi.computed&&Yi.key.type==="Identifier"&&Yi.key.name==="async"&&(this.type===types$1.name||this.type===types$1.num||this.type===types$1.string||this.type===types$1.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===types$1.star)&&!lineBreak.test(this.input.slice(this.lastTokEnd,this.start))};pp$5.parseObj=function(Yi,eo){var to=this.startNode(),ro=!0,no={};for(to.properties=[],this.next();!this.eat(types$1.braceR);){if(ro)ro=!1;else if(this.expect(types$1.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(types$1.braceR))break;var io=this.parseProperty(Yi,eo);Yi||this.checkPropClash(io,no,eo),to.properties.push(io)}return this.finishNode(to,Yi?"ObjectPattern":"ObjectExpression")};pp$5.parseProperty=function(Yi,eo){var to=this.startNode(),ro,no,io,oo;if(this.options.ecmaVersion>=9&&this.eat(types$1.ellipsis))return Yi?(to.argument=this.parseIdent(!1),this.type===types$1.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(to,"RestElement")):(to.argument=this.parseMaybeAssign(!1,eo),this.type===types$1.comma&&eo&&eo.trailingComma<0&&(eo.trailingComma=this.start),this.finishNode(to,"SpreadElement"));this.options.ecmaVersion>=6&&(to.method=!1,to.shorthand=!1,(Yi||eo)&&(io=this.start,oo=this.startLoc),Yi||(ro=this.eat(types$1.star)));var ao=this.containsEsc;return this.parsePropertyName(to),!Yi&&!ao&&this.options.ecmaVersion>=8&&!ro&&this.isAsyncProp(to)?(no=!0,ro=this.options.ecmaVersion>=9&&this.eat(types$1.star),this.parsePropertyName(to)):no=!1,this.parsePropertyValue(to,Yi,ro,no,io,oo,eo,ao),this.finishNode(to,"Property")};pp$5.parseGetterSetter=function(Yi){Yi.kind=Yi.key.name,this.parsePropertyName(Yi),Yi.value=this.parseMethod(!1);var eo=Yi.kind==="get"?0:1;if(Yi.value.params.length!==eo){var to=Yi.value.start;Yi.kind==="get"?this.raiseRecoverable(to,"getter should have no params"):this.raiseRecoverable(to,"setter should have exactly one param")}else Yi.kind==="set"&&Yi.value.params[0].type==="RestElement"&&this.raiseRecoverable(Yi.value.params[0].start,"Setter cannot use rest params")};pp$5.parsePropertyValue=function(Yi,eo,to,ro,no,io,oo,ao){(to||ro)&&this.type===types$1.colon&&this.unexpected(),this.eat(types$1.colon)?(Yi.value=eo?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,oo),Yi.kind="init"):this.options.ecmaVersion>=6&&this.type===types$1.parenL?(eo&&this.unexpected(),Yi.kind="init",Yi.method=!0,Yi.value=this.parseMethod(to,ro)):!eo&&!ao&&this.options.ecmaVersion>=5&&!Yi.computed&&Yi.key.type==="Identifier"&&(Yi.key.name==="get"||Yi.key.name==="set")&&this.type!==types$1.comma&&this.type!==types$1.braceR&&this.type!==types$1.eq?((to||ro)&&this.unexpected(),this.parseGetterSetter(Yi)):this.options.ecmaVersion>=6&&!Yi.computed&&Yi.key.type==="Identifier"?((to||ro)&&this.unexpected(),this.checkUnreserved(Yi.key),Yi.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=no),Yi.kind="init",eo?Yi.value=this.parseMaybeDefault(no,io,this.copyNode(Yi.key)):this.type===types$1.eq&&oo?(oo.shorthandAssign<0&&(oo.shorthandAssign=this.start),Yi.value=this.parseMaybeDefault(no,io,this.copyNode(Yi.key))):Yi.value=this.copyNode(Yi.key),Yi.shorthand=!0):this.unexpected()};pp$5.parsePropertyName=function(Yi){if(this.options.ecmaVersion>=6){if(this.eat(types$1.bracketL))return Yi.computed=!0,Yi.key=this.parseMaybeAssign(),this.expect(types$1.bracketR),Yi.key;Yi.computed=!1}return Yi.key=this.type===types$1.num||this.type===types$1.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};pp$5.initFunction=function(Yi){Yi.id=null,this.options.ecmaVersion>=6&&(Yi.generator=Yi.expression=!1),this.options.ecmaVersion>=8&&(Yi.async=!1)};pp$5.parseMethod=function(Yi,eo,to){var ro=this.startNode(),no=this.yieldPos,io=this.awaitPos,oo=this.awaitIdentPos;return this.initFunction(ro),this.options.ecmaVersion>=6&&(ro.generator=Yi),this.options.ecmaVersion>=8&&(ro.async=!!eo),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(functionFlags(eo,ro.generator)|SCOPE_SUPER|(to?SCOPE_DIRECT_SUPER:0)),this.expect(types$1.parenL),ro.params=this.parseBindingList(types$1.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(ro,!1,!0,!1),this.yieldPos=no,this.awaitPos=io,this.awaitIdentPos=oo,this.finishNode(ro,"FunctionExpression")};pp$5.parseArrowExpression=function(Yi,eo,to,ro){var no=this.yieldPos,io=this.awaitPos,oo=this.awaitIdentPos;return this.enterScope(functionFlags(to,!1)|SCOPE_ARROW),this.initFunction(Yi),this.options.ecmaVersion>=8&&(Yi.async=!!to),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,Yi.params=this.toAssignableList(eo,!0),this.parseFunctionBody(Yi,!0,!1,ro),this.yieldPos=no,this.awaitPos=io,this.awaitIdentPos=oo,this.finishNode(Yi,"ArrowFunctionExpression")};pp$5.parseFunctionBody=function(Yi,eo,to,ro){var no=eo&&this.type!==types$1.braceL,io=this.strict,oo=!1;if(no)Yi.body=this.parseMaybeAssign(ro),Yi.expression=!0,this.checkParams(Yi,!1);else{var ao=this.options.ecmaVersion>=7&&!this.isSimpleParamList(Yi.params);(!io||ao)&&(oo=this.strictDirective(this.end),oo&&ao&&this.raiseRecoverable(Yi.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var so=this.labels;this.labels=[],oo&&(this.strict=!0),this.checkParams(Yi,!io&&!oo&&!eo&&!to&&this.isSimpleParamList(Yi.params)),this.strict&&Yi.id&&this.checkLValSimple(Yi.id,BIND_OUTSIDE),Yi.body=this.parseBlock(!1,void 0,oo&&!io),Yi.expression=!1,this.adaptDirectivePrologue(Yi.body.body),this.labels=so}this.exitScope()};pp$5.isSimpleParamList=function(Yi){for(var eo=0,to=Yi;eo<to.length;eo+=1){var ro=to[eo];if(ro.type!=="Identifier")return!1}return!0};pp$5.checkParams=function(Yi,eo){for(var to=Object.create(null),ro=0,no=Yi.params;ro<no.length;ro+=1){var io=no[ro];this.checkLValInnerPattern(io,BIND_VAR,eo?null:to)}};pp$5.parseExprList=function(Yi,eo,to,ro){for(var no=[],io=!0;!this.eat(Yi);){if(io)io=!1;else if(this.expect(types$1.comma),eo&&this.afterTrailingComma(Yi))break;var oo=void 0;to&&this.type===types$1.comma?oo=null:this.type===types$1.ellipsis?(oo=this.parseSpread(ro),ro&&this.type===types$1.comma&&ro.trailingComma<0&&(ro.trailingComma=this.start)):oo=this.parseMaybeAssign(!1,ro),no.push(oo)}return no};pp$5.checkUnreserved=function(Yi){var eo=Yi.start,to=Yi.end,ro=Yi.name;if(this.inGenerator&&ro==="yield"&&this.raiseRecoverable(eo,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&ro==="await"&&this.raiseRecoverable(eo,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&ro==="arguments"&&this.raiseRecoverable(eo,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(ro==="arguments"||ro==="await")&&this.raise(eo,"Cannot use "+ro+" in class static initialization block"),this.keywords.test(ro)&&this.raise(eo,"Unexpected keyword '"+ro+"'"),!(this.options.ecmaVersion<6&&this.input.slice(eo,to).indexOf("\\")!==-1)){var no=this.strict?this.reservedWordsStrict:this.reservedWords;no.test(ro)&&(!this.inAsync&&ro==="await"&&this.raiseRecoverable(eo,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(eo,"The keyword '"+ro+"' is reserved"))}};pp$5.parseIdent=function(Yi){var eo=this.parseIdentNode();return this.next(!!Yi),this.finishNode(eo,"Identifier"),Yi||(this.checkUnreserved(eo),eo.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=eo.start)),eo};pp$5.parseIdentNode=function(){var Yi=this.startNode();return this.type===types$1.name?Yi.name=this.value:this.type.keyword?(Yi.name=this.type.keyword,(Yi.name==="class"||Yi.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=types$1.name):this.unexpected(),Yi};pp$5.parsePrivateIdent=function(){var Yi=this.startNode();return this.type===types$1.privateId?Yi.name=this.value:this.unexpected(),this.next(),this.finishNode(Yi,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(Yi.start,"Private field '#"+Yi.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(Yi)),Yi};pp$5.parseYield=function(Yi){this.yieldPos||(this.yieldPos=this.start);var eo=this.startNode();return this.next(),this.type===types$1.semi||this.canInsertSemicolon()||this.type!==types$1.star&&!this.t
vendor: 7,328 bytes, line 539
539ype.startsExpr?(eo.delegate=!1,eo.argument=null):(eo.delegate=this.eat(types$1.star),eo.argument=this.parseMaybeAssign(Yi)),this.finishNode(eo,"YieldExpression")};pp$5.parseAwait=function(Yi){this.awaitPos||(this.awaitPos=this.start);var eo=this.startNode();return this.next(),eo.argument=this.parseMaybeUnary(null,!0,!1,Yi),this.finishNode(eo,"AwaitExpression")};var pp$4=Parser.prototype;pp$4.raise=function(Yi,eo){var to=getLineInfo(this.input,Yi);eo+=" ("+to.line+":"+to.column+")";var ro=new SyntaxError(eo);throw ro.pos=Yi,ro.loc=to,ro.raisedAt=this.pos,ro};pp$4.raiseRecoverable=pp$4.raise;pp$4.curPosition=function(){if(this.options.locations)return new Position(this.curLine,this.pos-this.lineStart)};var pp$3=Parser.prototype,Scope=function Yi(eo){this.flags=eo,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};pp$3.enterScope=function(Yi){this.scopeStack.push(new Scope(Yi))};pp$3.exitScope=function(){this.scopeStack.pop()};pp$3.treatFunctionsAsVarInScope=function(Yi){return Yi.flags&SCOPE_FUNCTION||!this.inModule&&Yi.flags&SCOPE_TOP};pp$3.declareName=function(Yi,eo,to){var ro=!1;if(eo===BIND_LEXICAL){var no=this.currentScope();ro=no.lexical.indexOf(Yi)>-1||no.functions.indexOf(Yi)>-1||no.var.indexOf(Yi)>-1,no.lexical.push(Yi),this.inModule&&no.flags&SCOPE_TOP&&delete this.undefinedExports[Yi]}else if(eo===BIND_SIMPLE_CATCH){var io=this.currentScope();io.lexical.push(Yi)}else if(eo===BIND_FUNCTION){var oo=this.currentScope();this.treatFunctionsAsVar?ro=oo.lexical.indexOf(Yi)>-1:ro=oo.lexical.indexOf(Yi)>-1||oo.var.indexOf(Yi)>-1,oo.functions.push(Yi)}else for(var ao=this.scopeStack.length-1;ao>=0;--ao){var so=this.scopeStack[ao];if(so.lexical.indexOf(Yi)>-1&&!(so.flags&SCOPE_SIMPLE_CATCH&&so.lexical[0]===Yi)||!this.treatFunctionsAsVarInScope(so)&&so.functions.indexOf(Yi)>-1){ro=!0;break}if(so.var.push(Yi),this.inModule&&so.flags&SCOPE_TOP&&delete this.undefinedExports[Yi],so.flags&SCOPE_VAR)break}ro&&this.raiseRecoverable(to,"Identifier '"+Yi+"' has already been declared")};pp$3.checkLocalExport=function(Yi){this.scopeStack[0].lexical.indexOf(Yi.name)===-1&&this.scopeStack[0].var.indexOf(Yi.name)===-1&&(this.undefinedExports[Yi.name]=Yi)};pp$3.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};pp$3.currentVarScope=function(){for(var Yi=this.scopeStack.length-1;;Yi--){var eo=this.scopeStack[Yi];if(eo.flags&SCOPE_VAR)return eo}};pp$3.currentThisScope=function(){for(var Yi=this.scopeStack.length-1;;Yi--){var eo=this.scopeStack[Yi];if(eo.flags&SCOPE_VAR&&!(eo.flags&SCOPE_ARROW))return eo}};var Node$1=function Yi(eo,to,ro){this.type="",this.start=to,this.end=0,eo.options.locations&&(this.loc=new SourceLocation(eo,ro)),eo.options.directSourceFile&&(this.sourceFile=eo.options.directSourceFile),eo.options.ranges&&(this.range=[to,0])},pp$2=Parser.prototype;pp$2.startNode=function(){return new Node$1(this,this.start,this.startLoc)};pp$2.startNodeAt=function(Yi,eo){return new Node$1(this,Yi,eo)};pp$2.finishNode=function(Yi,eo){return finishNodeAt.call(this,Yi,eo,this.lastTokEnd,this.lastTokEndLoc)};pp$2.finishNodeAt=function(Yi,eo,to,ro){return finishNodeAt.call(this,Yi,eo,to,ro)};pp$2.copyNode=function(Yi){var eo=new Node$1(this,Yi.start,this.startLoc);for(var to in Yi)eo[to]=Yi[to];return eo};var ecma9BinaryProperties="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ecma10BinaryProperties=ecma9BinaryProperties+" Extended_Pictographic",ecma11BinaryProperties=ecma10BinaryProperties,ecma12BinaryProperties=ecma11BinaryProperties+" EBase EComp EMod EPres ExtPict",ecma13BinaryProperties=ecma12BinaryProperties,ecma14BinaryProperties=ecma13BinaryProperties,unicodeBinaryProperties={9:ecma9BinaryProperties,10:ecma10BinaryProperties,11:ecma11BinaryProperties,12:ecma12BinaryProperties,13:ecma13BinaryProperties,14:ecma14BinaryProperties},ecma14BinaryPropertiesOfStrings="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",unicodeBinaryPropertiesOfStrings={9:"",10:"",11:"",12:"",13:"",14:ecma14BinaryPropertiesOfStrings},unicodeGeneralCategoryValues="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",ecma9ScriptValues="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Re
539jang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",ecma10ScriptValues=ecma9ScriptValues+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",ecma11ScriptValues=ecma10ScriptValues+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",ecma12ScriptValues=ecma11ScriptValues+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",ecma13ScriptValues=ecma12ScriptValues+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",ecma14ScriptValues=ecma13ScriptValues+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz",unicodeScriptValues={9:ecma9ScriptValues,10:ecma10ScriptValues,11:ecma11ScriptValues,12:ecma12ScriptValues,13:ecma13ScriptValues,14:ecma14ScriptValues},data={};for(i=0,list=[9,10,11,12,13,14];i<list.length;i+=1)ecmaVersion=list[i],buildUnicodeData(ecmaVersion);var ecmaVersion,i,list,pp$1=Parser.prototype,BranchID=function Yi(eo,to){this.parent=eo,this.base=to||this};BranchID.prototype.separatedFrom=function Yi(eo){for(var to=this;to;to=to.parent)for(var ro=eo;ro;ro=ro.parent)if(to.base===ro.base&&to!==ro)return!0;return!1};BranchID.prototype.sibling=function Yi(){return new BranchID(this.parent,this.base)};var RegExpValidationState=function Yi(eo){this.parser=eo,this.validFlags="gim"+(eo.options.ecmaVersion>=6?"uy":"")+(eo.options.ecmaVersion>=9?"s":"")+(eo.options.ecmaVersion>=13?"d":"")+(eo.options.ecmaVersion>=15?"v":""),this.unicodeProperties=data[eo.options.ecmaVersion>=14?14:eo.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};RegExpValidationState.prototype.reset=function Yi(eo,to,ro){var no=ro.indexOf("v")!==-1,io=ro.indexOf("u")!==-1;this.start=eo|0,this.source=to+"",this.flags=ro,no&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=io&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=io&&this.parser.options.ecmaVersion>=9)};RegExpValidationState.prototype.raise=function Yi(eo){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+eo)};RegExpValidationState.prototype.at=function Yi(eo,to){to===void 0&&(to=!1);var ro=this.source,no=ro.length;if(eo>=no)return-1;var io=ro.charCodeAt(eo);if(!(to||this.switchU)||io<=55295||io>=57344||eo+1>=no)return io;var oo=ro.charCodeAt(eo+1);return oo>=56320&&oo<=57343?(io<<10)+oo-56613888:io};RegExpValidationState.prototype.nextIndex=function Yi(eo,to){to===void 0&&(to=!1);var ro=this.source,no=ro.length;if(eo>=no)return no;var io=ro.charCodeAt(eo),oo;return!(to||this.switchU)||io<=55295||io>=57344||eo+1>=no||(oo=ro.charCodeAt(eo+1))<56320||oo>57343?eo+1:eo+2};RegExpValidationState.prototype.current=function Yi(eo){return eo===void 0&&(eo=!1),this.at(this.pos,eo)};RegExpValidationState.prototype.lookahead=function Yi(eo){return eo===void 0&&(eo=!1),this.at(this.nextIndex(this.pos,eo),eo)};RegExpValidationState.prototype.advance=function Yi(eo){eo===void 0&&(eo=!1),this.pos=this.nextIndex(this.pos,eo)};RegExpValidationState.prototype.eat=function Yi(eo,to){return to===void 0&&(to=!1),this.current(to)===eo?(this.advance(to),!0):!1};RegExpValidationState.prototype.eatChars=function Yi(eo,to){to===void 0&&(to=!1);for(var ro=this.pos,no=0,io=eo;no<io.length;no+=1){var oo=io[no],ao=this.at(ro,to);if(ao===-1||ao!==oo)return!1;ro=this.nextIndex(ro,to)}return this.pos=ro,!0};pp$1.validateRegExpFlags=function(Yi){for(var eo=Yi.validFlags,to=Yi.flags,ro=!1,no=!1,io=0;io<to.length;io++){var oo=to.charAt(io);eo.indexOf(oo)===-1&&this.raise(Yi.start,"Invalid regular expression flag"),to.indexOf(oo,io+1)>-1&&this.raise(Yi.start,"Duplicate regular expression flag"),oo==="u"&&(ro=!0),oo==="v"&&(no=!0)}this.options.ecmaVersion>=15&&ro&&no&&this.raise(Yi.start,"Invalid regular expression flag")};pp$1.validateRegExpPattern=function(Yi){this.regexp_pattern(Yi),!Yi.switchN&&this.options.ecmaVersion>=9&&hasProp(Yi.groupNames)&&(Yi.switchN=!0,this.regexp_pattern(Yi))};pp$1.regexp_pattern=function(Yi){Yi.pos=0,Yi.lastIntValue=0,Yi.lastStringValue="",Yi.lastAssertionIsQuantifiable=!1,Yi.numCapturingParens=0,Yi.maxBackReference=0,Yi.groupNames=Object.create(null),Yi.backReferenceNames.length=0,Yi.branchID=null,this.regexp_disjunction(Yi),Yi.pos!==Yi.source.length&&(Yi.eat(41)&&Yi.raise("Unmatched ')'"),(Y
vendor: 1,588 bytes, line 539
539i.eat(93)||Yi.eat(125))&&Yi.raise("Lone quantifier brackets")),Yi.maxBackReference>Yi.numCapturingParens&&Yi.raise("Invalid escape");for(var eo=0,to=Yi.backReferenceNames;eo<to.length;eo+=1){var ro=to[eo];Yi.groupNames[ro]||Yi.raise("Invalid named capture referenced")}};pp$1.regexp_disjunction=function(Yi){var eo=this.options.ecmaVersion>=16;for(eo&&(Yi.branchID=new BranchID(Yi.branchID,null)),this.regexp_alternative(Yi);Yi.eat(124);)eo&&(Yi.branchID=Yi.branchID.sibling()),this.regexp_alternative(Yi);eo&&(Yi.branchID=Yi.branchID.parent),this.regexp_eatQuantifier(Yi,!0)&&Yi.raise("Nothing to repeat"),Yi.eat(123)&&Yi.raise("Lone quantifier brackets")};pp$1.regexp_alternative=function(Yi){for(;Yi.pos<Yi.source.length&&this.regexp_eatTerm(Yi););};pp$1.regexp_eatTerm=function(Yi){return this.regexp_eatAssertion(Yi)?(Yi.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(Yi)&&Yi.switchU&&Yi.raise("Invalid quantifier"),!0):(Yi.switchU?this.regexp_eatAtom(Yi):this.regexp_eatExtendedAtom(Yi))?(this.regexp_eatQuantifier(Yi),!0):!1};pp$1.regexp_eatAssertion=function(Yi){var eo=Yi.pos;if(Yi.lastAssertionIsQuantifiable=!1,Yi.eat(94)||Yi.eat(36))return!0;if(Yi.eat(92)){if(Yi.eat(66)||Yi.eat(98))return!0;Yi.pos=eo}if(Yi.eat(40)&&Yi.eat(63)){var to=!1;if(this.options.ecmaVersion>=9&&(to=Yi.eat(60)),Yi.eat(61)||Yi.eat(33))return this.regexp_disjunction(Yi),Yi.eat(41)||Yi.raise("Unterminated group"),Yi.lastAssertionIsQuantifiable=!to,!0}return Yi.pos=eo,!1};pp$1.regexp_eatQuantifier=function(Yi,eo){return eo===void 0&&(eo=!1),this.regexp_eatQuantifierPrefix(Yi,eo)?(Yi.eat(63),
vendor: 4,360 bytes, line 539
539!0):!1};pp$1.regexp_eatQuantifierPrefix=function(Yi,eo){return Yi.eat(42)||Yi.eat(43)||Yi.eat(63)||this.regexp_eatBracedQuantifier(Yi,eo)};pp$1.regexp_eatBracedQuantifier=function(Yi,eo){var to=Yi.pos;if(Yi.eat(123)){var ro=0,no=-1;if(this.regexp_eatDecimalDigits(Yi)&&(ro=Yi.lastIntValue,Yi.eat(44)&&this.regexp_eatDecimalDigits(Yi)&&(no=Yi.lastIntValue),Yi.eat(125)))return no!==-1&&no<ro&&!eo&&Yi.raise("numbers out of order in {} quantifier"),!0;Yi.switchU&&!eo&&Yi.raise("Incomplete quantifier"),Yi.pos=to}return!1};pp$1.regexp_eatAtom=function(Yi){return this.regexp_eatPatternCharacters(Yi)||Yi.eat(46)||this.regexp_eatReverseSolidusAtomEscape(Yi)||this.regexp_eatCharacterClass(Yi)||this.regexp_eatUncapturingGroup(Yi)||this.regexp_eatCapturingGroup(Yi)};pp$1.regexp_eatReverseSolidusAtomEscape=function(Yi){var eo=Yi.pos;if(Yi.eat(92)){if(this.regexp_eatAtomEscape(Yi))return!0;Yi.pos=eo}return!1};pp$1.regexp_eatUncapturingGroup=function(Yi){var eo=Yi.pos;if(Yi.eat(40)){if(Yi.eat(63)&&Yi.eat(58)){if(this.regexp_disjunction(Yi),Yi.eat(41))return!0;Yi.raise("Unterminated group")}Yi.pos=eo}return!1};pp$1.regexp_eatCapturingGroup=function(Yi){if(Yi.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(Yi):Yi.current()===63&&Yi.raise("Invalid group"),this.regexp_disjunction(Yi),Yi.eat(41))return Yi.numCapturingParens+=1,!0;Yi.raise("Unterminated group")}return!1};pp$1.regexp_eatExtendedAtom=function(Yi){return Yi.eat(46)||this.regexp_eatReverseSolidusAtomEscape(Yi)||this.regexp_eatCharacterClass(Yi)||this.regexp_eatUncapturingGroup(Yi)||this.regexp_eatCapturingGroup(Yi)||this.regexp_eatInvalidBracedQuantifier(Yi)||this.regexp_eatExtendedPatternCharacter(Yi)};pp$1.regexp_eatInvalidBracedQuantifier=function(Yi){return this.regexp_eatBracedQuantifier(Yi,!0)&&Yi.raise("Nothing to repeat"),!1};pp$1.regexp_eatSyntaxCharacter=function(Yi){var eo=Yi.current();return isSyntaxCharacter(eo)?(Yi.lastIntValue=eo,Yi.advance(),!0):!1};pp$1.regexp_eatPatternCharacters=function(Yi){for(var eo=Yi.pos,to=0;(to=Yi.current())!==-1&&!isSyntaxCharacter(to);)Yi.advance();return Yi.pos!==eo};pp$1.regexp_eatExtendedPatternCharacter=function(Yi){var eo=Yi.current();return eo!==-1&&eo!==36&&!(eo>=40&&eo<=43)&&eo!==46&&eo!==63&&eo!==91&&eo!==94&&eo!==124?(Yi.advance(),!0):!1};pp$1.regexp_groupSpecifier=function(Yi){if(Yi.eat(63)){this.regexp_eatGroupName(Yi)||Yi.raise("Invalid group");var eo=this.options.ecmaVersion>=16,to=Yi.groupNames[Yi.lastStringValue];if(to)if(eo)for(var ro=0,no=to;ro<no.length;ro+=1){var io=no[ro];io.separatedFrom(Yi.branchID)||Yi.raise("Duplicate capture group name")}else Yi.raise("Duplicate capture group name");eo?(to||(Yi.groupNames[Yi.lastStringValue]=[])).push(Yi.branchID):Yi.groupNames[Yi.lastStringValue]=!0}};pp$1.regexp_eatGroupName=function(Yi){if(Yi.lastStringValue="",Yi.eat(60)){if(this.regexp_eatRegExpIdentifierName(Yi)&&Yi.eat(62))return!0;Yi.raise("Invalid capture group name")}return!1};pp$1.regexp_eatRegExpIdentifierName=function(Yi){if(Yi.lastStringValue="",this.regexp_eatRegExpIdentifierStart(Yi)){for(Yi.lastStringValue+=codePointToString(Yi.lastIntValue);this.regexp_eatRegExpIdentifierPart(Yi);)Yi.lastStringValue+=codePointToString(Yi.lastIntValue);return!0}return!1};pp$1.regexp_eatRegExpIdentifierStart=function(Yi){var eo=Yi.pos,to=this.options.ecmaVersion>=11,ro=Yi.current(to);return Yi.advance(to),ro===92&&this.regexp_eatRegExpUnicodeEscapeSequence(Yi,to)&&(ro=Yi.lastIntValue),isRegExpIdentifierStart(ro)?(Yi.lastIntValue=ro,!0):(Yi.pos=eo,!1)};pp$1.regexp_eatRegExpIdentifierPart=function(Yi){var eo=Yi.pos,to=this.options.ecmaVersion>=11,ro=Yi.current(to);return Yi.advance(to),ro===92&&this.regexp_eatRegExpUnicodeEscapeSequence(Yi,to)&&(ro=Yi.lastIntValue),isRegExpIdentifierPart(ro)?(Yi.lastIntValue=ro,!0):(Yi.pos=eo,!1)};pp$1.regexp_eatAtomEscape=function(Yi){return this.regexp_eatBackReference(Yi)||this.regexp_eatCharacterClassEscape(Yi)||this.regexp_eatCharacterEscape(Yi)||Yi.switchN&&this.regexp_eatKGroupName(Yi)?!0:(Yi.switchU&&(Yi.current()===99&&Yi.raise("Invalid unicode escape"),Yi.raise("Invalid escape")),!1)};pp$1.regexp_eatBackReference=function(Yi){var eo=Yi.pos;if(this.regexp_eatDecimalEscape(Yi)){var to=Yi.lastIntValue;if(Yi.switchU)return to>Yi.maxBackReference&&(Yi.maxBackReference=to),!0;if(to<=Yi.numCapturingParens)return!0;Yi.pos=eo}return!1};
vendor: 4,281 bytes, line 539
539pp$1.regexp_eatKGroupName=function(Yi){if(Yi.eat(107)){if(this.regexp_eatGroupName(Yi))return Yi.backReferenceNames.push(Yi.lastStringValue),!0;Yi.raise("Invalid named reference")}return!1};pp$1.regexp_eatCharacterEscape=function(Yi){return this.regexp_eatControlEscape(Yi)||this.regexp_eatCControlLetter(Yi)||this.regexp_eatZero(Yi)||this.regexp_eatHexEscapeSequence(Yi)||this.regexp_eatRegExpUnicodeEscapeSequence(Yi,!1)||!Yi.switchU&&this.regexp_eatLegacyOctalEscapeSequence(Yi)||this.regexp_eatIdentityEscape(Yi)};pp$1.regexp_eatCControlLetter=function(Yi){var eo=Yi.pos;if(Yi.eat(99)){if(this.regexp_eatControlLetter(Yi))return!0;Yi.pos=eo}return!1};pp$1.regexp_eatZero=function(Yi){return Yi.current()===48&&!isDecimalDigit(Yi.lookahead())?(Yi.lastIntValue=0,Yi.advance(),!0):!1};pp$1.regexp_eatControlEscape=function(Yi){var eo=Yi.current();return eo===116?(Yi.lastIntValue=9,Yi.advance(),!0):eo===110?(Yi.lastIntValue=10,Yi.advance(),!0):eo===118?(Yi.lastIntValue=11,Yi.advance(),!0):eo===102?(Yi.lastIntValue=12,Yi.advance(),!0):eo===114?(Yi.lastIntValue=13,Yi.advance(),!0):!1};pp$1.regexp_eatControlLetter=function(Yi){var eo=Yi.current();return isControlLetter(eo)?(Yi.lastIntValue=eo%32,Yi.advance(),!0):!1};pp$1.regexp_eatRegExpUnicodeEscapeSequence=function(Yi,eo){eo===void 0&&(eo=!1);var to=Yi.pos,ro=eo||Yi.switchU;if(Yi.eat(117)){if(this.regexp_eatFixedHexDigits(Yi,4)){var no=Yi.lastIntValue;if(ro&&no>=55296&&no<=56319){var io=Yi.pos;if(Yi.eat(92)&&Yi.eat(117)&&this.regexp_eatFixedHexDigits(Yi,4)){var oo=Yi.lastIntValue;if(oo>=56320&&oo<=57343)return Yi.lastIntValue=(no-55296)*1024+(oo-56320)+65536,!0}Yi.pos=io,Yi.lastIntValue=no}return!0}if(ro&&Yi.eat(123)&&this.regexp_eatHexDigits(Yi)&&Yi.eat(125)&&isValidUnicode(Yi.lastIntValue))return!0;ro&&Yi.raise("Invalid unicode escape"),Yi.pos=to}return!1};pp$1.regexp_eatIdentityEscape=function(Yi){if(Yi.switchU)return this.regexp_eatSyntaxCharacter(Yi)?!0:Yi.eat(47)?(Yi.lastIntValue=47,!0):!1;var eo=Yi.current();return eo!==99&&(!Yi.switchN||eo!==107)?(Yi.lastIntValue=eo,Yi.advance(),!0):!1};pp$1.regexp_eatDecimalEscape=function(Yi){Yi.lastIntValue=0;var eo=Yi.current();if(eo>=49&&eo<=57){do Yi.lastIntValue=10*Yi.lastIntValue+(eo-48),Yi.advance();while((eo=Yi.current())>=48&&eo<=57);return!0}return!1};var CharSetNone=0,CharSetOk=1,CharSetString=2;pp$1.regexp_eatCharacterClassEscape=function(Yi){var eo=Yi.current();if(isCharacterClassEscape(eo))return Yi.lastIntValue=-1,Yi.advance(),CharSetOk;var to=!1;if(Yi.switchU&&this.options.ecmaVersion>=9&&((to=eo===80)||eo===112)){Yi.lastIntValue=-1,Yi.advance();var ro;if(Yi.eat(123)&&(ro=this.regexp_eatUnicodePropertyValueExpression(Yi))&&Yi.eat(125))return to&&ro===CharSetString&&Yi.raise("Invalid property name"),ro;Yi.raise("Invalid property name")}return CharSetNone};pp$1.regexp_eatUnicodePropertyValueExpression=function(Yi){var eo=Yi.pos;if(this.regexp_eatUnicodePropertyName(Yi)&&Yi.eat(61)){var to=Yi.lastStringValue;if(this.regexp_eatUnicodePropertyValue(Yi)){var ro=Yi.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(Yi,to,ro),CharSetOk}}if(Yi.pos=eo,this.regexp_eatLoneUnicodePropertyNameOrValue(Yi)){var no=Yi.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(Yi,no)}return CharSetNone};pp$1.regexp_validateUnicodePropertyNameAndValue=function(Yi,eo,to){hasOwn(Yi.unicodeProperties.nonBinary,eo)||Yi.raise("Invalid property name"),Yi.unicodeProperties.nonBinary[eo].test(to)||Yi.raise("Invalid property value")};pp$1.regexp_validateUnicodePropertyNameOrValue=function(Yi,eo){if(Yi.unicodeProperties.binary.test(eo))return CharSetOk;if(Yi.switchV&&Yi.unicodeProperties.binaryOfStrings.test(eo))return CharSetString;Yi.raise("Invalid property name")};pp$1.regexp_eatUnicodePropertyName=function(Yi){var eo=0;for(Yi.lastStringValue="";isUnicodePropertyNameCharacter(eo=Yi.current());)Yi.lastStringValue+=codePointToString(eo),Yi.advance();return Yi.lastStringValue!==""};pp$1.regexp_eatUnicodePropertyValue=function(Yi){var eo=0;for(Yi.lastStringValue="";isUnicodePropertyValueCharacter(eo=Yi.current());)Yi.lastStringValue+=codePointToString(eo),Yi.advance();return Yi.lastStringValue!==""};pp$1.regexp_eatLoneUnicodePropertyNameOrValue=function(Yi){return this.regexp_eatUnicodePropertyValue(Yi)};
vendor: 9,404 bytes, line 539
539pp$1.regexp_eatCharacterClass=function(Yi){if(Yi.eat(91)){var eo=Yi.eat(94),to=this.regexp_classContents(Yi);return Yi.eat(93)||Yi.raise("Unterminated character class"),eo&&to===CharSetString&&Yi.raise("Negated character class may contain strings"),!0}return!1};pp$1.regexp_classContents=function(Yi){return Yi.current()===93?CharSetOk:Yi.switchV?this.regexp_classSetExpression(Yi):(this.regexp_nonEmptyClassRanges(Yi),CharSetOk)};pp$1.regexp_nonEmptyClassRanges=function(Yi){for(;this.regexp_eatClassAtom(Yi);){var eo=Yi.lastIntValue;if(Yi.eat(45)&&this.regexp_eatClassAtom(Yi)){var to=Yi.lastIntValue;Yi.switchU&&(eo===-1||to===-1)&&Yi.raise("Invalid character class"),eo!==-1&&to!==-1&&eo>to&&Yi.raise("Range out of order in character class")}}};pp$1.regexp_eatClassAtom=function(Yi){var eo=Yi.pos;if(Yi.eat(92)){if(this.regexp_eatClassEscape(Yi))return!0;if(Yi.switchU){var to=Yi.current();(to===99||isOctalDigit(to))&&Yi.raise("Invalid class escape"),Yi.raise("Invalid escape")}Yi.pos=eo}var ro=Yi.current();return ro!==93?(Yi.lastIntValue=ro,Yi.advance(),!0):!1};pp$1.regexp_eatClassEscape=function(Yi){var eo=Yi.pos;if(Yi.eat(98))return Yi.lastIntValue=8,!0;if(Yi.switchU&&Yi.eat(45))return Yi.lastIntValue=45,!0;if(!Yi.switchU&&Yi.eat(99)){if(this.regexp_eatClassControlLetter(Yi))return!0;Yi.pos=eo}return this.regexp_eatCharacterClassEscape(Yi)||this.regexp_eatCharacterEscape(Yi)};pp$1.regexp_classSetExpression=function(Yi){var eo=CharSetOk,to;if(!this.regexp_eatClassSetRange(Yi))if(to=this.regexp_eatClassSetOperand(Yi)){to===CharSetString&&(eo=CharSetString);for(var ro=Yi.pos;Yi.eatChars([38,38]);){if(Yi.current()!==38&&(to=this.regexp_eatClassSetOperand(Yi))){to!==CharSetString&&(eo=CharSetOk);continue}Yi.raise("Invalid character in character class")}if(ro!==Yi.pos)return eo;for(;Yi.eatChars([45,45]);)this.regexp_eatClassSetOperand(Yi)||Yi.raise("Invalid character in character class");if(ro!==Yi.pos)return eo}else Yi.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(Yi)){if(to=this.regexp_eatClassSetOperand(Yi),!to)return eo;to===CharSetString&&(eo=CharSetString)}};pp$1.regexp_eatClassSetRange=function(Yi){var eo=Yi.pos;if(this.regexp_eatClassSetCharacter(Yi)){var to=Yi.lastIntValue;if(Yi.eat(45)&&this.regexp_eatClassSetCharacter(Yi)){var ro=Yi.lastIntValue;return to!==-1&&ro!==-1&&to>ro&&Yi.raise("Range out of order in character class"),!0}Yi.pos=eo}return!1};pp$1.regexp_eatClassSetOperand=function(Yi){return this.regexp_eatClassSetCharacter(Yi)?CharSetOk:this.regexp_eatClassStringDisjunction(Yi)||this.regexp_eatNestedClass(Yi)};pp$1.regexp_eatNestedClass=function(Yi){var eo=Yi.pos;if(Yi.eat(91)){var to=Yi.eat(94),ro=this.regexp_classContents(Yi);if(Yi.eat(93))return to&&ro===CharSetString&&Yi.raise("Negated character class may contain strings"),ro;Yi.pos=eo}if(Yi.eat(92)){var no=this.regexp_eatCharacterClassEscape(Yi);if(no)return no;Yi.pos=eo}return null};pp$1.regexp_eatClassStringDisjunction=function(Yi){var eo=Yi.pos;if(Yi.eatChars([92,113])){if(Yi.eat(123)){var to=this.regexp_classStringDisjunctionContents(Yi);if(Yi.eat(125))return to}else Yi.raise("Invalid escape");Yi.pos=eo}return null};pp$1.regexp_classStringDisjunctionContents=function(Yi){for(var eo=this.regexp_classString(Yi);Yi.eat(124);)this.regexp_classString(Yi)===CharSetString&&(eo=CharSetString);return eo};pp$1.regexp_classString=function(Yi){for(var eo=0;this.regexp_eatClassSetCharacter(Yi);)eo++;return eo===1?CharSetOk:CharSetString};pp$1.regexp_eatClassSetCharacter=function(Yi){var eo=Yi.pos;if(Yi.eat(92))return this.regexp_eatCharacterEscape(Yi)||this.regexp_eatClassSetReservedPunctuator(Yi)?!0:Yi.eat(98)?(Yi.lastIntValue=8,!0):(Yi.pos=eo,!1);var to=Yi.current();return to<0||to===Yi.lookahead()&&isClassSetReservedDoublePunctuatorCharacter(to)||isClassSetSyntaxCharacter(to)?!1:(Yi.advance(),Yi.lastIntValue=to,!0)};pp$1.regexp_eatClassSetReservedPunctuator=function(Yi){var eo=Yi.current();return isClassSetReservedPunctuator(eo)?(Yi.lastIntValue=eo,Yi.advance(),!0):!1};pp$1.regexp_eatClassControlLetter=function(Yi){var eo=Yi.current();return isDecimalDigit(eo)||eo===95?(Yi.lastIntValue=eo%32,Yi.advance(),!0):!1};pp$1.regexp_eatHexEscapeSequence=function(Yi){var eo=Yi.pos;if(Yi.eat(120)){if(this.regexp_eatFixedHexDigits(Yi,2))return!0;Yi.switchU&&Yi.raise("Invalid escape"),Yi.pos=eo}return!1};pp$1.regexp_eatDecimalDigits=function(Yi){var eo=Yi.pos,to=0;for(Yi.lastIntValue=0;isDecimalDigit(to=Yi.current());)Yi.lastIntValue=10*Yi.lastIntValue+(to-48),Yi.advance();return Yi.pos!==eo};pp$1.regexp_eatHexDigits=function(Yi){var eo=Yi.pos,to=0;for(Yi.lastIntValue=0;isHexDigit(to=Yi.current());)Yi.lastIntValue=16*Yi.lastIntValue+hexToInt(to),Yi.advance();return Yi.pos!==eo};pp$1.regexp_eatLegacyOctalEscapeSequence=function(Yi){if(this.regexp_eatOctalDigit(Yi)){var eo=Yi.lastIntValue;if(this.regexp_eatOctalDigit(Yi)){var to=Yi.lastIntValue;eo<=3&&this.regexp_eatOctalDigit(Yi)?Yi.lastIntValue=eo*64+to*8+Yi.lastIntValue:Yi.lastIntValue=eo*8+to}else Yi.lastIntValue=eo;return!0}return!1};pp$1.regexp_eatOctalDigit=function(Yi){var eo=Yi.current();return isOctalDigit(eo)?(Yi.lastIntValue=eo-48,Yi.advance(),!0):(Yi.lastIntValue=0,!1)};pp$1.regexp_eatFixedHexDigits=function(Yi,eo){var to=Yi.pos;Yi.lastIntValue=0;for(var ro=0;ro<eo;++ro){var no=Yi.current();if(!isHexDigit(no))return Yi.pos=to,!1;Yi.lastIntValue=16*Yi.lastIntValue+hexToInt(no),Yi.advance()}return!0};var Token=function Yi(eo){this.type=eo.type,this.value=eo.value,this.start=eo.start,this.end=eo.end,eo.options.locations&&(this.loc=new SourceLocation(eo,eo.startLoc,eo.endLoc)),eo.options.ranges&&(this.range=[eo.start,eo.end])},pp=Parser.prototype;pp.next=function(Yi){!Yi&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Token(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};pp.getToken=function(){return this.next(),new Token(this)};typeof Symbol<"u"&&(pp[Symbol.iterator]=function(){var Yi=this;return{next:function(){var eo=Yi.getToken();return{done:eo.type===types$1.eof,value:eo}}}});pp.nextToken=function(){var Yi=this.curContext();if((!Yi||!Yi.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(types$1.eof);if(Yi.override)return Yi.override(this);this.readToken(this.fullCharCodeAtPos())};pp.readToken=function(Yi){return isIdentifierStart(Yi,this.options.ecmaVersion>=6)||Yi===92?this.readWord():this.getTokenFromCode(Yi)};pp.fullCharCodeAtPos=function(){var Yi=this.input.charCodeAt(this.pos);if(Yi<=55295||Yi>=56320)return Yi;var eo=this.input.charCodeAt(this.pos+1);return eo<=56319||eo>=57344?Yi:(Yi<<10)+eo-56613888};pp.skipBlockComment=function(){var Yi=this.options.onComment&&this.curPosition(),eo=this.pos,to=this.input.indexOf("*/",this.pos+=2);if(to===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=to+2,this.options.locations)for(var ro=void 0,no=eo;(ro=nextLineBreak(this.input,no,this.pos))>-1;)++this.curLine,no=this.lineStart=ro;this.options.onComment&&this.options.onComment(!0,this.input.slice(eo+2,to),eo,this.pos,Yi,this.curPosition())};pp.skipLineComment=function(Yi){for(var eo=this.pos,to=this.options.onComment&&this.curPosition(),ro=this.input.charCodeAt(this.pos+=Yi);this.pos<this.input.length&&!isNewLine(ro);)ro=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(eo+Yi,this.pos),eo,this.pos,to,this.curPosition())};pp.skipSpace=function(){e:for(;this.pos<this.input.length;){var Yi=this.input.charCodeAt(this.pos);switch(Yi){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(Yi>8&&Yi<14||Yi>=5760&&nonASCIIwhitespace.test(String.fromCharCode(Yi)))++this.pos;else break e}}};pp.finishToken=function(Yi,eo){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var to=this.type;this.type=Yi,this.value=eo,this.updateContext(to)};pp.readToken_dot=function(){var Yi=this.input.charCodeAt(this.pos+1);if(Yi>=48&&Yi<=57)return this.readNumber(!0);var eo=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&Yi===46&&eo===46?(this.pos+=3,this.finishToken(types$1.ellipsis)):(++this.pos,this.finishToken(types$1.dot))};pp.readToken_slash=function(){var Yi=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):Yi===61?this.finishOp(types$1.assign,2):this.finishOp(types$1.slash,1)};pp.readToken_mult_modulo_exp=function(Yi){var eo=this.input.charCodeAt(this.pos+1),to=1,ro=Yi===42?types$1.star:types$1.modulo;return this.options.ecmaVersion>=7&&Yi===42&&eo===42&&(++to,ro=types$1.starstar,eo=this.input.charCodeAt(this.pos+2)),eo===61?this.finishOp(types$1.assign,to+1):this.finishOp(ro,to)};pp.readToken_pipe_amp=function(Yi){var eo=this.input.charCodeAt(this.pos+1);if(eo===Yi){if(this.options.ecmaVersion>=12){var to=this.input.charCodeAt(this.pos+2);
vendor: 7,983 bytes, line 539
539if(to===61)return this.finishOp(types$1.assign,3)}return this.finishOp(Yi===124?types$1.logicalOR:types$1.logicalAND,2)}return eo===61?this.finishOp(types$1.assign,2):this.finishOp(Yi===124?types$1.bitwiseOR:types$1.bitwiseAND,1)};pp.readToken_caret=function(){var Yi=this.input.charCodeAt(this.pos+1);return Yi===61?this.finishOp(types$1.assign,2):this.finishOp(types$1.bitwiseXOR,1)};pp.readToken_plus_min=function(Yi){var eo=this.input.charCodeAt(this.pos+1);return eo===Yi?eo===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||lineBreak.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(types$1.incDec,2):eo===61?this.finishOp(types$1.assign,2):this.finishOp(types$1.plusMin,1)};pp.readToken_lt_gt=function(Yi){var eo=this.input.charCodeAt(this.pos+1),to=1;return eo===Yi?(to=Yi===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+to)===61?this.finishOp(types$1.assign,to+1):this.finishOp(types$1.bitShift,to)):eo===33&&Yi===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(eo===61&&(to=2),this.finishOp(types$1.relational,to))};pp.readToken_eq_excl=function(Yi){var eo=this.input.charCodeAt(this.pos+1);return eo===61?this.finishOp(types$1.equality,this.input.charCodeAt(this.pos+2)===61?3:2):Yi===61&&eo===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(types$1.arrow)):this.finishOp(Yi===61?types$1.eq:types$1.prefix,1)};pp.readToken_question=function(){var Yi=this.options.ecmaVersion;if(Yi>=11){var eo=this.input.charCodeAt(this.pos+1);if(eo===46){var to=this.input.charCodeAt(this.pos+2);if(to<48||to>57)return this.finishOp(types$1.questionDot,2)}if(eo===63){if(Yi>=12){var ro=this.input.charCodeAt(this.pos+2);if(ro===61)return this.finishOp(types$1.assign,3)}return this.finishOp(types$1.coalesce,2)}}return this.finishOp(types$1.question,1)};pp.readToken_numberSign=function(){var Yi=this.options.ecmaVersion,eo=35;if(Yi>=13&&(++this.pos,eo=this.fullCharCodeAtPos(),isIdentifierStart(eo,!0)||eo===92))return this.finishToken(types$1.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+codePointToString(eo)+"'")};pp.getTokenFromCode=function(Yi){switch(Yi){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(types$1.parenL);case 41:return++this.pos,this.finishToken(types$1.parenR);case 59:return++this.pos,this.finishToken(types$1.semi);case 44:return++this.pos,this.finishToken(types$1.comma);case 91:return++this.pos,this.finishToken(types$1.bracketL);case 93:return++this.pos,this.finishToken(types$1.bracketR);case 123:return++this.pos,this.finishToken(types$1.braceL);case 125:return++this.pos,this.finishToken(types$1.braceR);case 58:return++this.pos,this.finishToken(types$1.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(types$1.backQuote);case 48:var eo=this.input.charCodeAt(this.pos+1);if(eo===120||eo===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(eo===111||eo===79)return this.readRadixNumber(8);if(eo===98||eo===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(Yi);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(Yi);case 124:case 38:return this.readToken_pipe_amp(Yi);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(Yi);case 60:case 62:return this.readToken_lt_gt(Yi);case 61:case 33:return this.readToken_eq_excl(Yi);case 63:return this.readToken_question();case 126:return this.finishOp(types$1.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString(Yi)+"'")};pp.finishOp=function(Yi,eo){var to=this.input.slice(this.pos,this.pos+eo);return this.pos+=eo,this.finishToken(Yi,to)};pp.readRegexp=function(){for(var Yi,eo,to=this.pos;;){this.pos>=this.input.length&&this.raise(to,"Unterminated regular expression");var ro=this.input.charAt(this.pos);if(lineBreak.test(ro)&&this.raise(to,"Unterminated regular expression"),Yi)Yi=!1;else{if(ro==="[")eo=!0;else if(ro==="]"&&eo)eo=!1;else if(ro==="/"&&!eo)break;Yi=ro==="\\"}++this.pos}var no=this.input.slice(to,this.pos);++this.pos;var io=this.pos,oo=this.readWord1();this.containsEsc&&this.unexpected(io);var ao=this.regexpState||(this.regexpState=new RegExpValidationState(this));ao.reset(to,no,oo),this.validateRegExpFlags(ao),this.validateRegExpPattern(ao);var so=null;try{so=new RegExp(no,oo)}catch{}return this.finishToken(types$1.regexp,{pattern:no,flags:oo,value:so})};pp.readInt=function(Yi,eo,to){for(var ro=this.options.ecmaVersion>=12&&eo===void 0,no=to&&this.input.charCodeAt(this.pos)===48,io=this.pos,oo=0,ao=0,so=0,lo=eo??1/0;so<lo;++so,++this.pos){var co=this.input.charCodeAt(this.pos),uo=void 0;if(ro&&co===95){no&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),ao===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),so===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),ao=co;continue}if(co>=97?uo=co-97+10:co>=65?uo=co-65+10:co>=48&&co<=57?uo=co-48:uo=1/0,uo>=Yi)break;ao=co,oo=oo*Yi+uo}return ro&&ao===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===io||eo!=null&&this.pos-io!==eo?null:oo};pp.readRadixNumber=function(Yi){var eo=this.pos;this.pos+=2;var to=this.readInt(Yi);return to==null&&this.raise(this.start+2,"Expected number in radix "+Yi),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(to=stringToBigInt(this.input.slice(eo,this.pos)),++this.pos):isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(types$1.num,to)};pp.readNumber=function(Yi){var eo=this.pos;!Yi&&this.readInt(10,void 0,!0)===null&&this.raise(eo,"Invalid number");var to=this.pos-eo>=2&&this.input.charCodeAt(eo)===48;to&&this.strict&&this.raise(eo,"Invalid number");var ro=this.input.charCodeAt(this.pos);if(!to&&!Yi&&this.options.ecmaVersion>=11&&ro===110){var no=stringToBigInt(this.input.slice(eo,this.pos));return++this.pos,isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(types$1.num,no)}to&&/[89]/.test(this.input.slice(eo,this.pos))&&(to=!1),ro===46&&!to&&(++this.pos,this.readInt(10),ro=this.input.charCodeAt(this.pos)),(ro===69||ro===101)&&!to&&(ro=this.input.charCodeAt(++this.pos),(ro===43||ro===45)&&++this.pos,this.readInt(10)===null&&this.raise(eo,"Invalid number")),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var io=stringToNumber(this.input.slice(eo,this.pos),to);return this.finishToken(types$1.num,io)};pp.readCodePoint=function(){var Yi=this.input.charCodeAt(this.pos),eo;if(Yi===123){this.options.ecmaVersion<6&&this.unexpected();var to=++this.pos;eo=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,eo>1114111&&this.invalidStringToken(to,"Code point out of bounds")}else eo=this.readHexChar(4);return eo};pp.readString=function(Yi){for(var eo="",to=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var ro=this.input.charCodeAt(this.pos);if(ro===Yi)break;ro===92?(eo+=this.input.slice(to,this.pos),eo+=this.readEscapedChar(!1),to=this.pos):ro===8232||ro===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(isNewLine(ro)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return eo+=this.input.slice(to,this.pos++),this.finishToken(types$1.str
vendor: 4,540 bytes, lines 539-543
539ing,eo)};var INVALID_TEMPLATE_ESCAPE_ERROR={};pp.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(Yi){if(Yi===INVALID_TEMPLATE_ESCAPE_ERROR)this.readInvalidTemplateToken();else throw Yi}this.inTemplateElement=!1};pp.invalidStringToken=function(Yi,eo){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw INVALID_TEMPLATE_ESCAPE_ERROR;this.raise(Yi,eo)};pp.readTmplToken=function(){for(var Yi="",eo=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var to=this.input.charCodeAt(this.pos);if(to===96||to===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===types$1.template||this.type===types$1.invalidTemplate)?to===36?(this.pos+=2,this.finishToken(types$1.dollarBraceL)):(++this.pos,this.finishToken(types$1.backQuote)):(Yi+=this.input.slice(eo,this.pos),this.finishToken(types$1.template,Yi));if(to===92)Yi+=this.input.slice(eo,this.pos),Yi+=this.readEscapedChar(!0),eo=this.pos;else if(isNewLine(to)){switch(Yi+=this.input.slice(eo,this.pos),++this.pos,to){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:Yi+=`
540`;break;default:Yi+=String.fromCharCode(to);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),eo=this.pos}else++this.pos}};pp.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(types$1.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
541`&&++this.pos;case`
542`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")};pp.readEscapedChar=function(Yi){var eo=this.input.charCodeAt(++this.pos);switch(++this.pos,eo){case 110:return`
543`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return codePointToString(this.readCodePoint());case 116:return"	";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),Yi){var to=this.pos-1;this.invalidStringToken(to,"Invalid escape sequence in template string")}default:if(eo>=48&&eo<=55){var ro=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],no=parseInt(ro,8);return no>255&&(ro=ro.slice(0,-1),no=parseInt(ro,8)),this.pos+=ro.length-1,eo=this.input.charCodeAt(this.pos),(ro!=="0"||eo===56||eo===57)&&(this.strict||Yi)&&this.invalidStringToken(this.pos-1-ro.length,Yi?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(no)}return isNewLine(eo)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(eo)}};pp.readHexChar=function(Yi){var eo=this.pos,to=this.readInt(16,Yi);return to===null&&this.invalidStringToken(eo,"Bad character escape sequence"),to};pp.readWord1=function(){this.containsEsc=!1;for(var Yi="",eo=!0,to=this.pos,ro=this.options.ecmaVersion>=6;this.pos<this.input.length;){var no=this.fullCharCodeAtPos();if(isIdentifierChar(no,ro))this.pos+=no<=65535?1:2;else if(no===92){this.containsEsc=!0,Yi+=this.input.slice(to,this.pos);var io=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var oo=this.readCodePoint();(eo?isIdentifierStart:isIdentifierChar)(oo,ro)||this.invalidStringToken(io,"Invalid Unicode escape"),Yi+=codePointToString(oo),to=this.pos}else break;eo=!1}return Yi+this.input.slice(to,this.pos)};pp.readWord=function(){var Yi=this.readWord1(),eo=types$1.name;return this.keywords.test(Yi)&&(eo=keywords[Yi]),this.finishToken(eo,Yi)};var version$2="8.12.1";Parser.acorn={Parser,version:version$2,defaultOptions:defaultOptions$1,Position,SourceLocation,getLineInfo,Node:Node$1,TokenType,tokTypes:types$1,keywordTypes:keywords,TokContext,tokContexts:types,isIdentifierChar,isIdentifierStart,Token,isNewLine,lineBreak,lineBreakG,nonASCIIwhitespace};var AcornJSX=__toESM(require_acorn_jsx(),1),import_react=__toESM(require_react(),1),attributeNames_default={acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autofocus:"autoFocus",autoplay:"autoPlay",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset
543:"charSet",class:"className",colspan:"colSpan",contenteditable:"contentEditable",crossorigin:"crossOrigin",datetime:"dateTime",enctype:"encType",for:"htmlFor",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",httpequiv:"httpEquiv",inputmode:"inputMode",keyparams:"keyParams",keytype:"keyType",marginheight:"marginHeight",marginwidth:"marginWidth",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",novalidate:"noValidate",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",usemap:"useMap"};function canHaveChildren(Yi){return VOID_ELEMENTS.indexOf(Yi.toLowerCase())===-1}function canHaveWhitespace(Yi){return NO_WHITESPACE.indexOf(Yi.toLowerCase())!==-1}var VOID_ELEMENTS=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],NO_WHITESPACE=["table","tbody","tfoot","thead","tr"],hash=(Yi="",eo=16)=>{const to=String(Yi);let ro=0;return to.split("").forEach(no=>{ro=(ro<<5)-ro+no.charCodeAt(0),ro&=ro}),Math.abs(ro).toString(eo)},randomHash=()=>hash(Math.random().toString()),camelCase=Yi=>Yi.replace(/([A-Z])([A-Z])/g,"$1 $2").replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[^a-zA-Z\u00C0-\u00ff]/g," ").toLowerCase().split(" ").filter(eo=>eo).map((eo,to)=>to>0?eo[0].toUpperCase()+eo.slice(1):eo).join(""),parseStyle=Yi=>{switch(typeof Yi){case"string":return Yi.split(";").filter(eo=>eo).reduce((eo,to)=>{const ro=to.slice(0,to.indexOf(":")).trim(),no=to.slice(to.indexOf(":")+1).trim();return{...eo,[camelCase(ro)]:no}},{});case"object":return Yi;default:return}},pathToArrayPath=Yi=>Yi==null||Yi===""?[]:Yi.split("."),resolveArrayPath=(Yi,eo)=>{const[to,...ro]=eo;if(!(Yi==null||to==null))return ro.length===0?Yi[to]:resolveArrayPath(Yi[to],ro)},resolvePath=(Yi,eo)=>resolveArrayPath(Yi,pathToArrayPath(eo)),xd,Ds,$d,nf,Pf;class JsxParser extends import_react.default.Component{constructor(){super(...arguments);As(this,"ParsedChildren",null);rf(this,xd,to=>{const ro=Parser.extend(AcornJSX.default({autoCloseVoidElements:this.props.autoCloseVoidElements})),no=`<root>${to}</root>`;let io=[];try{io=ro.parse(no,{ecmaVersion:"latest"}),io=io.body[0].expression.children||[]}catch(oo){return this.props.showWarnings&&console.warn(oo),this.props.onError&&this.props.onError(oo),this.props.renderError?this.props.renderError({error:String(oo)}):null}return io.map(oo=>Bs(this,Ds).call(this,oo)).filter(Boolean)});rf(this,Ds,(to,ro)=>{var no,io;switch(to.type){case"JSXAttribute":return to.value===null?!0:Bs(this,Ds).call(this,to.value,ro);case"JSXElement":case"JSXFragment":return Bs(this,Pf).call(this,to,ro);case"JSXExpressionContainer":return Bs(this,Ds).call(this,to.expression,ro);case"JSXText":const oo=this.props.disableKeyGeneration?void 0:randomHash();return this.props.disableFragments?to.value:import_react.default.createElement(import_react.Fragment,{key:oo},to.value);case"ArrayExpression":return to.elements.map(co=>Bs(this,Ds).call(this,co,ro));case"BinaryExpression":switch(to.operator){case"-":return Bs(this,Ds).call(this,to.left)-Bs(this,Ds).call(this,to.right);case"!=":return Bs(this,Ds).call(this,to.left)!=Bs(this,Ds).call(this,to.right);case"!==":return Bs(this,Ds).call(this,to.left)!==Bs(this,Ds).call(this,to.right);case"*":return Bs(this,Ds).call(this,to.left)*Bs(this,Ds).call(this,to.right);case"**":return Bs(this,Ds).call(this,to.left)**Bs(this,Ds).call(this,to.right);case"/":return Bs(this,Ds).call(this,to.left)/Bs(this,Ds).call(this,to.right);case"%":return Bs(this,Ds).call(this,to.left)%Bs(this,Ds).call(this,to.right);case"+":return Bs(this,Ds).call(this,to.left)+Bs(this,Ds).call(this,to.right);case"<":return Bs(this,Ds).call(this,to.left)<Bs(this,Ds).call(this,to.right);case"<=":return Bs(this,Ds).call(this,to.left)<=Bs(this,Ds).call(this,to.right);case"==":return Bs(this,Ds).call(this,to.left)==Bs(this,Ds).call(this,to.right);case"===":return Bs(this,Ds).call(this,to.left)===Bs(this,Ds).call(this,to.right);case">":return Bs(this,Ds).call(this,to.left)>Bs(this,Ds).call(this,to.right);case">=":return Bs(this,Ds).call(this,to.left)>=Bs(this,Ds).call(this,to.right)}return;case"CallExpression":const ao=Bs(this,Ds).call(this,to.callee);if(ao===void 0){this.props.onError(new Error(`The expression '${to.callee}' could not be resolved, resulting in an undefined return value.`));return}return ao(...to.arguments.map(co=>Bs(this,Ds).call(this,co,to.callee)));case"ConditionalExpression":return Bs(this,Ds).call(this,to.test)?Bs(this,Ds).call(this,to.consequent):Bs(this,Ds).call(this,to.alternate);case"ExpressionStatement":return Bs(this,Ds).call(this,to.expression);case"Identifier":return ro&&to.name in ro?ro[to.name]:(this.props.bindings||{})[to.name];case"Literal":return to.value;case"LogicalExpression":const so=Bs(this,Ds).call(this,to.left);return to.operator==="||"&&so?so:to.operator==="&&"&&so||to.operator==="||"&&!so?Bs(this,Ds).call(this,to.right):!1;case"MemberExpression":return Bs(this,$d).call(this,to,ro);case"ObjectExpression":const lo={};
543return to.properties.forEach(co=>{lo[co.key.name||co.key.value]=Bs(this,Ds).call(this,co.value)}),lo;case"TemplateElement":return to.value.cooked;case"TemplateLiteral":return[...to.expressions,...to.quasis].sort((co,uo)=>co.start<uo.start?-1:1).map(co=>Bs(this,Ds).call(this,co)).join("");case"UnaryExpression":switch(to.operator){case"+":return to.argument.value;case"-":return-to.argument.value;case"!":return!to.argument.value}return;case"ArrowFunctionExpression":return(to.async||to.generator)&&((io=(no=this.props).onError)==null||io.call(no,new Error("Async and generator arrow functions are not supported."))),(...co)=>{const uo={};return to.params.forEach((fo,ho)=>{uo[fo.name]=co[ho]}),Bs(this,Ds).call(this,to.body,uo)}}});rf(this,$d,(to,ro)=>{var ao,so;let{object:no}=to;const io=[((ao=to.property)==null?void 0:ao.name)??JSON.parse(((so=to.property)==null?void 0:so.raw)??'""')];if(to.object.type!=="Literal")for(;no&&["MemberExpression","Literal"].includes(no==null?void 0:no.type);){const{property:lo}=no;no.computed?io.unshift(Bs(this,Ds).call(this,lo,ro)):io.unshift((lo==null?void 0:lo.name)??JSON.parse((lo==null?void 0:lo.raw)??'""')),no=no.object}const oo=Bs(this,Ds).call(this,no,ro);try{let lo=oo;const co=io.reduce((uo,fo)=>(lo=uo,uo[fo]),oo);return typeof co=="function"?co.bind(lo):co}catch{const lo=(no==null?void 0:no.name)||"unknown";this.props.onError(new Error(`Unable to parse ${lo}["${io.join('"]["')}"]}`))}});rf(this,nf,to=>to.type==="JSXIdentifier"?to.name:`${Bs(this,nf).call(this,to.object)}.${Bs(this,nf).call(this,to.property)}`);rf(this,Pf,(to,ro)=>{const{allowUnknownElements:no,components:io,componentsOnly:oo,onError:ao}=this.props,{children:so=[]}=to,lo=to.type==="JSXElement"?to.openingElement:to.openingFragment,{attributes:co=[]}=lo,uo=to.type==="JSXElement"?Bs(this,nf).call(this,lo.name):"",fo=(this.props.blacklistedAttrs||[]).map(yo=>yo instanceof RegExp?yo:new RegExp(yo,"i")),ho=(this.props.blacklistedTags||[]).map(yo=>yo.trim().toLowerCase()).filter(Boolean);if(/^(html|head|body)$/i.test(uo))return so.map(yo=>Bs(this,Pf).call(this,yo,ro));const mo=uo.trim().toLowerCase();if(ho.indexOf(mo)!==-1)return ao(new Error(`The tag <${uo}> is blacklisted, and will not be rendered.`)),null;if(uo!==""&&!resolvePath(io,uo)){if(oo)return ao(new Error(`The component <${uo}> is unrecognized, and will not be rendered.`)),this.props.renderUnrecognized(uo);if(!no&&document.createElement(uo)instanceof HTMLUnknownElement)return ao(new Error(`The tag <${uo}> is unrecognized in this browser, and will not be rendered.`)),this.props.renderUnrecognized(uo)}let vo;const Co=to.type==="JSXElement"?resolvePath(io,uo):import_react.Fragment;(Co||canHaveChildren(uo))&&(vo=so.map(yo=>Bs(this,Ds).call(this,yo,ro)),!Co&&!canHaveWhitespace(uo)&&(vo=vo.filter(yo=>typeof yo!="string"||!/^\s*$/.test(yo))),vo.length===0?vo=void 0:vo.length===1?[vo]=vo:vo.length>1&&!this.props.disableKeyGeneration&&(vo=vo.map((yo,Eo)=>yo!=null&&yo.type&&!(yo!=null&&yo.key)?{...yo,key:yo.key||Eo}:yo)));const bo={key:this.props.disableKeyGeneration?void 0:randomHash()};co.forEach(yo=>{if(yo.type==="JSXAttribute"){const Eo=yo.name.name,xo=attributeNames_default[Eo]||Eo,So=Bs(this,Ds).call(this,yo,ro);fo.filter(Ro=>Ro.test(xo)).length===0&&(bo[xo]=So)}else if(yo.type==="JSXSpreadAttribute"&&yo.argument.type==="Identifier"||yo.argument.type==="MemberExpression"){const Eo=Bs(this,Ds).call(this,yo.argument,ro);typeof Eo=="object"&&Object.keys(Eo).forEach(xo=>{const So=attributeNames_default[xo]||xo;fo.filter(Ro=>Ro.test(So)).length===0&&(bo[So]=Eo[xo])})}}),typeof bo.style=="string"&&(bo.style=parseStyle(bo.style));const wo=uo.toLowerCase();return wo==="option"&&(vo=vo.props.children),import_react.default.createElement(Co||wo,bo,vo)})}render(){const to=(this.props.jsx||"").trim().replace(/<!DOCTYPE([^>]*)>/g,"");this.ParsedChildren=Bs(this,xd).call(this,to);const ro=[...new Set(["jsx-parser",...String(this.props.className).split(" ")])].filter(Boolean).join(" ");return this.props.renderInWrapper?import_react.default.createElement("div",{className:ro},this.ParsedChildren):this.ParsedChildren}}xd=new WeakMap,Ds=new WeakMap,$d=new WeakMap,nf=new WeakMap,Pf=new WeakMap,As(JsxParser,"displayName","JsxParser"),As(JsxParser,"defaultProps",{allowUnknownElements:!0,autoCloseVoidElements:!1,bindings:{}
543,blacklistedAttrs:[/^on.+/i],blacklistedTags:["script"],className:"",components:{},componentsOnly:!1,disableFragments:!1,disableKeyGeneration:!1,jsx:"",onError:()=>{},showWarnings:!1,renderError:void 0,renderInWrapper:!0,renderUnrecognized:()=>null});var source_default=JsxParser;function _interopDefault$Z(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$Y=_interopDefault$Z(reactExports),_extends$Y=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$Y=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},AlertCircleOutlineIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$Y(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$Y.createElement("svg",_extends$Y({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$Y.createElement("path",{d:"M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z"}))},AlertCircleOutlineIcon$1=React$Y.memo?React$Y.memo(AlertCircleOutlineIcon):AlertCircleOutlineIcon,AlertCircleOutlineIcon_1=AlertCircleOutlineIcon$1;const AlertCircleOutlineIcon$2=getDefaultExportFromCjs(AlertCircleOutlineIcon_1);function _interopDefault$Y(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$X=_interopDefault$Y(reactExports),_extends$X=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$X=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},SecurityLockIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$X(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$X.createElement("svg",_extends$X({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$X.createElement("path",{d:"M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1M12,7C13.4,7 14.8,8.1 14.8,9.5V11C15.4,11 16,11.6 16,12.3V15.8C16,16.4 15.4,17 14.7,17H9.2C8.6,17 8,16.4 8,15.7V12.2C8,11.6 8.6,11 9.2,11V9.5C9.2,8.1 10.6,7 12,7M12,8.2C11.2,8.2 10.5,8.7 10.5,9.5V11H13.5V9.5C13.5,8.7 12.8,8.2 12,8.2Z"}))},SecurityLockIcon$1=React$X.memo?React$X.memo(SecurityLockIcon):SecurityLockIcon,SecurityLockIcon_1=SecurityLockIcon$1;const SecurityLockIcon$2=getDefaultExportFromCjs(SecurityLockIcon_1);function _interopDefault$X(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$W=_interopDefault$X(reactExports),_extends$W=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$W=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},TimerIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$W(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$W.createElement("svg",_extends$W({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$W.createElement("path",{d:"M19.03 7.39L20.45 5.97C20 5.46 19.55 5 19.04 4.56L17.62 6C16.07 4.74 14.12 4 12 4C7.03 4 3 8.03 3 13S7.03 22 12 22C17 22 21 17.97 21 13C21 10.88 20.26 8.93 19.03 7.39M13 14H11V7H13V14M15 1H9V3H15V1Z"}))},TimerIcon$1=React$W.memo?React$W.memo(TimerIcon):TimerIcon,TimerIcon_1=TimerIcon$1;const TimerIcon$2=getDefaultExportFromCjs(TimerIcon_1);var InfoRounded={},_interopRequireDefault$l=interopRequireDefaultExports;Object.defineProperty(InfoRounded,"__esModule",{value:!0});var default_1$l=InfoRounded.default=void 0,_createSvgIcon$l=_interopRequireDefault$l(requireCreateSvgIcon()),_jsxRuntime$l=jsxRuntimeExports;default_1$l=InfoRounded.default=(0,_createSvgIcon$l.default)((0,_jsxRuntime$l.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 15c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1s1 .45 1 1v4c0 .55-.45 1-1 1m1-8h-2V7h2z"}),"InfoRounded");var PublicRounded={},_interopRequireDefault$k=interopRequireDefaultExports;Object.defineProperty(PublicRounded,"__esModule",{value:!0});var default_1$k=PublicRounded.default=void 0,_createSvgIcon$k=_interopRequireDefault$k(requireCreateSvgIcon()),_jsxRuntime$k=jsxRuntimeExports;default_1$k=PublicRounded.default=(0,_createSvgIcon$k.default)((0,_jsxRuntime$k.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39"}),"PublicRounded");var MonetizationOnRounded={},_interopRequireDefault$j=interopRequireDefaultExports;Object.defineProperty(MonetizationOnRounded,"__esModule",{value:!0});var default_1$j=MonetizationOnRounded.default=void 0,_createSvgIcon$j=_interopRequireDefault$j(requireCreateSvgIcon()),_jsxRuntime$j=jsxRuntimeExports;default_1$j=MonetizationOnRounded.default=(0,_createSvgIcon$j.default)((0,_jsxRuntime$j.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1.41 16.09v.58c0 .73-.6 1.33-1.33 1.33h-.01c-.73 0-1.33-.6-1.33-1.33v-.6c-1.33-.28-2.51-1.01-3.01-2.24-.23-.55.2-1.16.8-1.16h.24c.37 0 .67.25.81.6.29.75 1.05 1.27 2.51 1.27 1.96 0 2.4-.98 2.4-1.59 0-.83-.44-1.61-2.67-2.14-2.48-.6-4.18-1.62-4.18-3.67 0-1.72 1.39-2.84 3.11-3.21v-.6c0-.73.6-1.33 1.33-1.33h.01c.73 0 1.33.6 1.33 1.33v.62c1.38.34 2.25 1.2 2.63 2.26.2.55-.22 1.13-.81 1.13h-.26c-.37 0-.67-.26-.77-.62-.23-.76-.86-1.25-2.12-1.25-1.5 0-2.4.68-2.4 1.64 0 .84.65 1.39 2.67 1.91s4.18 1.39 4.18 3.91c-.02 1.83-1.39 2.83-3.13 3.16"}),"MonetizationOnRounded");var Check$1={},_interopRequireDefault$i=interopRequireDefaultExports;Object.defineProperty(Check$1,"__esModule",{value:!0});var default_1$i=Check$1.default=void 0,_createSvgIcon$i=_interopRequireDefault$i(requireCreateSvgIcon()),_jsxRuntime$i=jsxRuntimeExports;default_1$i=Check$1.default=(0,_createSvgIcon$i.default)((0,_jsxRuntime$i.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check");var ContentCopyRounded={},_interopRequireDefault$h=interopRequireDefaultExports;Object.defineProperty(ContentCopyRounded,"__esModule",{value:!0});var default_1$h=ContentCopyRounded.default=void 0,_createSvgIcon$h=_interopRequireDefault$h(requireCreateSvgIcon()),_jsxRuntime$h=jsxRuntimeExports;default_1$h=ContentCopyRounded.default=(0,_createSvgIcon$h.default)((0,_jsxRuntime$h.jsx)("path",{d:"M15 20H5V7c0-.55-.45-1-1-1s-1 .45-1 1v13c0 1.1.9 2 2 2h10c.55 0 1-.45 1-1s-.45-1-1-1m5-4V4c0-1.1-.9-2-2-2H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2m-2 0H9V4h9z"}),"ContentCopyRounded");function _interopDefault$W(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$V=_interopDefault$W(reactExports),_extends$V=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$V=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},QrcodeIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$V(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$V.createElement("svg",_extends$V({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$V.createElement("path",{d:"M3,11H5V13H3V11M11,5H13V9H11V5M9,11H13V15H11V13H9V11M15,11H17V13H19V11H21V13H19V15H21V19H19V21H17V19H13V21H11V17H15V15H17V13H15V11M19,19V15H17V19H19M15,3H21V9H15V3M17,5V7H19V5H17M3,3H9V9H3V3M5,5V7H7V5H5M3,15H9V21H3V15M5,17V19H7V17H5Z"}))},QrcodeIcon$1=React$V.memo?React$V.memo(QrcodeIcon):QrcodeIcon,QrcodeIcon_1=QrcodeIcon$1;const QrcodeIcon$2=getDefaultExportFromCjs(QrcodeIcon_1);var CameraAlt={},_interopRequireDefault$g=interopRequireDefaultExports;
543Object.defineProperty(CameraAlt,"__esModule",{value:!0});var default_1$g=CameraAlt.default=void 0,_createSvgIcon$g=_interopRequireDefault$g(requireCreateSvgIcon()),_jsxRuntime$g=jsxRuntimeExports;default_1$g=CameraAlt.default=(0,_createSvgIcon$g.default)([(0,_jsxRuntime$g.jsx)("circle",{cx:"12",cy:"12",r:"3.2"},"0"),(0,_jsxRuntime$g.jsx)("path",{d:"M9 2 7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5"},"1")],"CameraAlt");var ErrorOutline={},_interopRequireDefault$f=interopRequireDefaultExports;Object.defineProperty(ErrorOutline,"__esModule",{value:!0});var default_1$f=ErrorOutline.default=void 0,_createSvgIcon$f=_interopRequireDefault$f(requireCreateSvgIcon()),_jsxRuntime$f=jsxRuntimeExports;default_1$f=ErrorOutline.default=(0,_createSvgIcon$f.default)((0,_jsxRuntime$f.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"ErrorOutline");var FlipCameraIos={},_interopRequireDefault$e=interopRequireDefaultExports;Object.defineProperty(FlipCameraIos,"__esModule",{value:!0});var default_1$e=FlipCameraIos.default=void 0,_createSvgIcon$e=_interopRequireDefault$e(requireCreateSvgIcon()),_jsxRuntime$e=jsxRuntimeExports;default_1$e=FlipCameraIos.default=(0,_createSvgIcon$e.default)((0,_jsxRuntime$e.jsx)("path",{d:"M20 5h-3.17L15 3H9L7.17 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m-8 13c-2.76 0-5-2.24-5-5H5l2.5-2.5L10 13H8c0 2.21 1.79 4 4 4 .58 0 1.13-.13 1.62-.35l.74.74c-.71.37-1.5.61-2.36.61m4.5-2.5L14 13h2c0-2.21-1.79-4-4-4-.58 0-1.13.13-1.62.35l-.74-.73C10.35 8.24 11.14 8 12 8c2.76 0 5 2.24 5 5h2z"}),"FlipCameraIos");var QrCodeScanner={},_interopRequireDefault$d=interopRequireDefaultExports;Object.defineProperty(QrCodeScanner,"__esModule",{value:!0});var default_1$d=QrCodeScanner.default=void 0,_createSvgIcon$d=_interopRequireDefault$d(requireCreateSvgIcon()),_jsxRuntime$d=jsxRuntimeExports;default_1$d=QrCodeScanner.default=(0,_createSvgIcon$d.default)((0,_jsxRuntime$d.jsx)("path",{d:"M9.5 6.5v3h-3v-3zM11 5H5v6h6zm-1.5 9.5v3h-3v-3zM11 13H5v6h6zm6.5-6.5v3h-3v-3zM19 5h-6v6h6zm-6 8h1.5v1.5H13zm1.5 1.5H16V16h-1.5zM16 13h1.5v1.5H16zm-3 3h1.5v1.5H13zm1.5 1.5H16V19h-1.5zM16 16h1.5v1.5H16zm1.5-1.5H19V16h-1.5zm0 3H19V19h-1.5zM22 7h-2V4h-3V2h5zm0 15v-5h-2v3h-3v2zM2 22h5v-2H4v-3H2zM2 2v5h2V4h3V2z"}),"QrCodeScanner");function _interopDefault$V(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$U=_interopDefault$V(reactExports),_extends$U=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$U=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},AddIcon$1=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$U(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$U.createElement("svg",_extends$U({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$U.createElement("path",{d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"}))},AddIcon$1$1=React$U.memo?React$U.memo(AddIcon$1):AddIcon$1,AddIcon_1=AddIcon$1$1;const AddIcon$2=getDefaultExportFromCjs(AddIcon_1);/**
544 * @license lucide-react v1.7.0 - ISC
545 *
546 * This source code is licensed under the ISC license.
547 * See the LICENSE file in the root directory of this source tree.
548 */const mergeClasses=(...Yi)=>Yi.filter((eo,to,ro)=>!!eo&&eo.trim()!==""&&ro.indexOf(eo)===to).join(" ").trim();/**
549 * @license lucide-react v1.7.0 - ISC
550 *
551 * This source code is licensed under the ISC license.
552 * See the LICENSE file in the root directory of this source tree.
553 */const toKebabCase=Yi=>Yi.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
554 * @license lucide-react v1.7.0 - ISC
555 *
556 * This source code is licensed under the ISC license.
557 * See the LICENSE file in the root directory of this source tree.
558 */const toCamelCase=Yi=>Yi.replace(/^([A-Z])|[\s-_]+(\w)/g,(eo,to,ro)=>ro?ro.toUpperCase():to.toLowerCase());/**
559 * @license lucide-react v1.7.0 - ISC
560 *
561 * This source code is licensed under the ISC license.
562 * See the LICENSE file in the root directory of this source tree.
563 */const toPascalCase=Yi=>{const eo=toCamelCase(Yi);return eo.charAt(0).toUpperCase()+eo.slice(1)};/**
564 * @license lucide-react v1.7.0 - ISC
565 *
566 * This source code is licensed under the ISC license.
567 * See the LICENSE file in the root directory of this source tree.
568 */var defaultAttributes={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
569 * @license lucide-react v1.7.0 - ISC
570 *
571 * This source code is licensed under the ISC license.
572 * See the LICENSE file in the root directory of this source tree.
573 */const hasA11yProp=Yi=>{for(const eo in Yi)if(eo.startsWith("aria-")||eo==="role"||eo==="title")return!0;return!1},LucideContext=reactExports.createContext({}),useLucideContext=()=>reactExports.useContext(LucideContext),Icon=reactExports.forwardRef(({color:Yi,size:eo,strokeWidth:to,absoluteStrokeWidth:ro,className:no="",children:io,iconNode:oo,...ao},so)=>{const{size:lo=24,strokeWidth:co=2,absoluteStrokeWidth:uo=!1,color:fo="currentColor",className:ho=""}=useLucideContext()??{},mo=ro??uo?Number(to??co)*24/Number(eo??lo):to??co;return reactExports.createElement("svg",{ref:so,...defaultAttributes,width:eo??lo??defaultAttributes.width,height:eo??lo??defaultAttributes.height,stroke:Yi??fo,strokeWidth:mo,className:mergeClasses("lucide",ho,no),...!io&&!hasA11yProp(ao
vendor: 4,127 bytes, lines 573-633
573)&&{"aria-hidden":"true"},...ao},[...oo.map(([vo,Co])=>reactExports.createElement(vo,Co)),...Array.isArray(io)?io:[io]])});/**
574 * @license lucide-react v1.7.0 - ISC
575 *
576 * This source code is licensed under the ISC license.
577 * See the LICENSE file in the root directory of this source tree.
578 */const createLucideIcon=(Yi,eo)=>{const to=reactExports.forwardRef(({className:ro,...no},io)=>reactExports.createElement(Icon,{ref:io,iconNode:eo,className:mergeClasses(`lucide-${toKebabCase(toPascalCase(Yi))}`,`lucide-${Yi}`,ro),...no}));return to.displayName=toPascalCase(Yi),to};/**
579 * @license lucide-react v1.7.0 - ISC
580 *
581 * This source code is licensed under the ISC license.
582 * See the LICENSE file in the root directory of this source tree.
583 */const __iconNode$q=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],ArrowRight=createLucideIcon("arrow-right",__iconNode$q);/**
584 * @license lucide-react v1.7.0 - ISC
585 *
586 * This source code is licensed under the ISC license.
587 * See the LICENSE file in the root directory of this source tree.
588 */const __iconNode$p=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],ArrowUpRight=createLucideIcon("arrow-up-right",__iconNode$p);/**
589 * @license lucide-react v1.7.0 - ISC
590 *
591 * This source code is licensed under the ISC license.
592 * See the LICENSE file in the root directory of this source tree.
593 */const __iconNode$o=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],ChartColumn=createLucideIcon("chart-column",__iconNode$o);/**
594 * @license lucide-react v1.7.0 - ISC
595 *
596 * This source code is licensed under the ISC license.
597 * See the LICENSE file in the root directory of this source tree.
598 */const __iconNode$n=[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]],ChartPie=createLucideIcon("chart-pie",__iconNode$n);/**
599 * @license lucide-react v1.7.0 - ISC
600 *
601 * This source code is licensed under the ISC license.
602 * See the LICENSE file in the root directory of this source tree.
603 */const __iconNode$m=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Check=createLucideIcon("check",__iconNode$m);/**
604 * @license lucide-react v1.7.0 - ISC
605 *
606 * This source code is licensed under the ISC license.
607 * See the LICENSE file in the root directory of this source tree.
608 */const __iconNode$l=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ChevronDown=createLucideIcon("chevron-down",__iconNode$l);/**
609 * @license lucide-react v1.7.0 - ISC
610 *
611 * This source code is licensed under the ISC license.
612 * See the LICENSE file in the root directory of this source tree.
613 */const __iconNode$k=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],ChevronLeft=createLucideIcon("chevron-left",__iconNode$k);/**
614 * @license lucide-react v1.7.0 - ISC
615 *
616 * This source code is licensed under the ISC license.
617 * See the LICENSE file in the root directory of this source tree.
618 */const __iconNode$j=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],ChevronRight=createLucideIcon("chevron-right",__iconNode$j);/**
619 * @license lucide-react v1.7.0 - ISC
620 *
621 * This source code is licensed under the ISC license.
622 * See the LICENSE file in the root directory of this source tree.
623 */const __iconNode$i=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],CircleCheck=createLucideIcon("circle-check",__iconNode$i);/**
624 * @license lucide-react v1.7.0 - ISC
625 *
626 * This source code is licensed under the ISC license.
627 * See the LICENSE file in the root directory of this source tree.
628 */const __iconNode$h=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],Code=createLucideIcon("code",__iconNode$h);/**
629 * @license lucide-react v1.7.0 - ISC
630 *
631 * This source code is licensed under the ISC license.
632 * See the LICENSE file in the root directory of this source tree.
633 */const __iconNode$g=[["path",{d:"M13.744 17.736a6 6 0 1 1-7.48-7.48",ke
633y:"bq4yh3"}],["path",{d:"M15 6h1v4",key:"11y1tn"}],["path",{d:"m6.134 14.768.866-.5 2 3.464",key:"17snzx"}],["circle",{cx:"16",cy:"8",r:"6",key:"14bfc9"}]],Coins=createLucideIcon("coins",__iconNode$g);/**
634 * @license lucide-react v1.7.0 - ISC
635 *
636 * This source code is licensed under the ISC license.
637 * See the LICENSE file in the root directory of this source tree.
638 */const __iconNode$f=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],CreditCard=createLucideIcon("credit-card",__iconNode$f);/**
639 * @license lucide-react v1.7.0 - ISC
640 *
641 * This source code is licensed under the ISC license.
642 * See the LICENSE file in the root directory of this source tree.
643 */const __iconNode$e=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],DollarSign=createLucideIcon("dollar-sign",__iconNode$e);/**
644 * @license lucide-react v1.7.0 - ISC
645 *
646 * This source code is licensed under the ISC license.
647 * See the LICENSE file in the root directory of this source tree.
648 */const __iconNode$d=[["path",{d:"M4 10h12",key:"1y6xl8"}],["path",{d:"M4 14h9",key:"1loblj"}],["path",{d:"M19 6a7.7 7.7 0 0 0-5.2-2A7.9 7.9 0 0 0 6 12c0 4.4 3.5 8 7.8 8 2 0 3.8-.8 5.2-2",key:"1j6lzo"}]],Euro=createLucideIcon("euro",__iconNode$d);/**
649 * @license lucide-react v1.7.0 - ISC
650 *
651 * This source code is licensed under the ISC license.
652 * See the LICENSE file in the root directory of this source tree.
653 */const __iconNode$c=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]],FileCheck=createLucideIcon("file-check",__iconNode$c);/**
654 * @license lucide-react v1.7.0 - ISC
655 *
656 * This source code is licensed under the ISC license.
657 * See the LICENSE file in the root directory of this source tree.
658 */const __iconNode$b=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],FileText=createLucideIcon("file-text",__iconNode$b);/**
659 * @license lucide-react v1.7.0 - ISC
660 *
661 * This source code is licensed under the ISC license.
662 * See the LICENSE file in the root directory of this source tree.
663 */const __iconNode$a=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Globe=createLucideIcon("globe",__iconNode$a);/**
664 * @license lucide-react v1.7.0 - ISC
665 *
666 * This source code is licensed under the ISC license.
667 * See the LICENSE file in the root directory of this source tree.
668 */const __iconNode$9=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Info=createLucideIcon("info",__iconNode$9);/**
669 * @license lucide-react v1.7.0 - ISC
670 *
671 * This source code is licensed under the ISC license.
672 * See the LICENSE file in the root directory of this source tree.
673 */const __iconNode$8=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],List=createLucideIcon("list",__iconNode$8);/**
674 * @license lucide-react v1.7.0 - ISC
675 *
676 * This source code is licensed under the ISC license.
677 * See the LICENSE file in the root directory of this source tree.
678 */const __iconNode$7=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],Lock=createLucideIcon("lock",__iconNode$7);/**
679 * @license lucide-react v1.7.0 - ISC
680 *
681 * This source code is licensed under the ISC license.
682 * See the LICENSE file in the root directory of this source tree.
683 */const __iconNode$6=[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]],Repeat=createLucideIcon("repeat",__iconNode$6);/**
684 * @license lucide-react v1.7.0 - ISC
685 *
686 * This source code is licensed under the ISC license.
687 * See the LICENSE file in the root directory of this source tree.
688 */const __iconNode$5=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],Shield=createLucideIcon("shield",__iconNode$5);/**
689 * @license lucide-react v1.7.0 - ISC
690 *
691 * This source code is licensed under the ISC license.
692 * See the LICENSE file in the root directory of this source tree.
693 */const __iconNode$4=[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]],ShoppingCart=createLucideIcon("shopping-cart",__iconNode$4);/**
694 * @license lucide-react v1.7.0 - ISC
695 *
696 * This source code is licensed under the ISC license.
697 * See the LICENSE file in the root directory of this source tree.
698 */const __iconNode$3=[["path",{d:"M16 17h6v-6",key:"t6n2it"}],["path",{d:"m22 17-8.5-8.5-5 5L2 7",key:"x473p"}]],TrendingDown=createLucideIcon("trending-down",__iconNode$3);/**
699 * @license lucide-react v1.7.0 - ISC
700 *
701 * This source code is licensed under the ISC license.
702 * See the LICENSE file in the root directory of this source tree.
703 */const __iconNode$2=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],TrendingUp=createLucideIcon("trending-up",__iconNode$2);/**
704 * @license lucide-react v1.7.0 - ISC
705 *
706 * This source code is licensed under the ISC license.
707 * See the LICENSE file in the root directory of this source tree.
708 */const __iconNode$1=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],Wallet=createLucideIcon("wallet",__iconNode$1);/**
709 * @license lucide-react v1.7.0 - ISC
710 *
711 * This source code is licensed under the ISC license.
712 * See the LICENSE file in the root directory of this source tree.
713 */const __iconNode=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],Zap=createLucideIcon("zap",__iconNode);function _interopDefault$U(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$T=_interopDefault$U(reactExports),_extends$T=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$T=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},CartIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$T(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$T.createElement("svg",_extends$T({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$T.createElement("path",{d:"M17,18C15.89,18 15,18.89 15,20A2,2 0 0,0 17,22A2,2 0 0,0 19,20C19,18.89 18.1,18 17,18M1,2V4H3L6.6,11.59L5.24,14.04C5.09,14.32 5,14.65 5,15A2,2 0 0,0 7,17H19V15H7.42A0.25,0.25 0 0,1 7.17,14.75C7.17,14.7 7.18,14.66 7.2,14.63L8.1,13H15.55C16.3,13 16.96,12.58 17.3,11.97L20.88,5.5C20.95,5.34 21,5.17 21,5A1,1 0 0,0 20,4H5.21L4.27,2M7,18C5.89,18 5,18.89 5,20A2,2 0 0,0 7,22A2,2 0 0,0 9,20C9,18.89 8.1,18 7,18Z"}))},CartIcon$1=React$T.memo?React$T.memo(CartIcon):CartIcon,CartIcon_1=CartIcon$1;const CartIcon$2=getDefaultExportFromCjs(CartIcon_1);var S={};function W(Yi){let eo=document.querySelector(`script[src="${Yi}"]`),to=eo==null?void 0:eo.getAttribute("data-status");return{node:eo,status:to}}function Y(Yi={src:"",attributes:{},callbacks:{onLoadCallback:()=>{},onErrorCallback:()=>{}},elementIdToAppend:""},eo,to={removeOnUnmount:!1,shouldPreventLoad:!1}){let[ro,no]=reactExports.useState(()=>!Yi.src||to!=null&&to.shouldPreventLoad?"idle":typeof window>"u"?"loading":S[Yi.src]??"loading");return reactExports.useEffect(()=>{var io,oo,ao;if(eo){no(eo);return}if(!(Yi!=null&&Yi.src)||to!=null&&to.shouldPreventLoad)return;let so=S[Yi.src];if(so==="ready"||so==="error"){no(so);return}let lo=W(Yi.src),co=lo.node;if(co){let fo=lo.status??so??"loading";switch(fo){case"loading":case"ready":(oo=Yi.callbacks)!=null&&oo.onLoadCallback&&Yi.callbacks.onLoadCallback();break;case"error":(ao=Yi.callbacks)!=null&&ao.onErrorCallback&&Yi.callbacks.onErrorCallback();break}no(fo)}else{co=document.createElement("script"),co.src=Yi.src,co.async=!0,co.setAttribute("data-status","loading"),Yi.attributes&&Object.entries(Yi.attributes).length>0&&Object.entries(Yi.attributes).map(([ho,mo])=>co==null?void 0:co.setAttribute(ho,mo)),Yi.elementIdToAppend&&document.getElementById(Yi.elementIdToAppend)?(io=document.getElementById(Yi.elementIdToAppend))==null||io.appendChild(co):document.body.appendChild(co);let fo=ho=>{let mo=ho.type==="load"?"ready":"error";
713co==null||co.setAttribute("data-status",mo)};co.addEventListener("load",fo),co.addEventListener("error",fo)}let uo=fo=>{var ho,mo;let vo=fo.type==="load"?"ready":"error";fo.type==="load"?(ho=Yi.callbacks)!=null&&ho.onLoadCallback&&Yi.callbacks.onLoadCallback():(mo=Yi.callbacks)!=null&&mo.onErrorCallback&&Yi.callbacks.onErrorCallback(),no(vo),S[Yi.src]=vo};return co.addEventListener("load",uo),co.addEventListener("error",uo),()=>{co&&(co.removeEventListener("load",uo),co.removeEventListener("error",uo)),co&&to!=null&&to.removeOnUnmount&&co.remove()}},[Yi,eo,ro]),ro}var H=Y,O=({apiKey:Yi,libraries:eo=[],loadScriptExternally:to=!1,status:ro="idle",externalApiParams:no,callback:io})=>{var oo;typeof window<"u"&&(window.googleMapsCallback=io);let ao=(oo=new URLSearchParams(no))==null?void 0:oo.toString(),so=Yi?{src:`https://maps.googleapis.com/maps/api/js?key=${Yi}&callback=googleMapsCallback&libraries=${eo==null?void 0:eo.join(",")}${ao?`&${ao}`:""}`,attributes:{id:"googleMapsApi"}}:{src:`https://maps.googleapis.com/maps/api/js?callback=googleMapsCallback&libraries=${eo==null?void 0:eo.join(",")}`,attributes:{id:"googleMapsApi"}};return H(so,to?ro:void 0)},T=(Yi,eo,to=1e-6)=>{if(Yi.length&&eo.length){for(let ro=0;ro!==Yi.length;++ro)if(Math.abs(Yi[ro]-eo[ro])>to)return!1;return!0}return!1},_=(Yi,eo)=>{let to=reactExports.useRef(),ro=to.current,no=eo(ro,Yi);return reactExports.useEffect(()=>{no||(to.current=Yi)}),no?ro:Yi},x=_,k=Yi=>{try{return{lat:Yi==null?void 0:Yi.lat(),lng:Yi==null?void 0:Yi.lng()}}catch{return Yi}},K=({container:Yi,pane:eo,position:to,maps:ro,drag:no})=>{class io extends google.maps.OverlayView{constructor(so,lo,co){super();As(this,"onAdd",()=>{var so;let lo=this;no!=null&&no.draggable&&(this.get("map").getDiv().addEventListener("mouseleave",()=>{google.maps.event.trigger(this.container,"mouseup")}),this.container.addEventListener("mousedown",uo=>{var fo,ho;this.container.style.cursor="grabbing",(fo=lo.map)==null||fo.set("draggable",!1),lo.set("origin",uo),no.onDragStart(uo,{latLng:k(this.position)}),lo.moveHandler=(ho=this.get("map"))==null?void 0:ho.getDiv().addEventListener("mousemove",mo=>{var vo,Co;let bo=lo.get("origin");if(!bo)return;let wo=bo.clientX-mo.clientX,yo=bo.clientY-mo.clientY,Eo=(vo=lo.getProjection())==null?void 0:vo.fromLatLngToDivPixel(lo.position);if(!Eo)return;let xo=(Co=lo.getProjection())==null?void 0:Co.fromDivPixelToLatLng(new ro.Point(Eo.x-wo,Eo.y-yo));lo.set("position",xo),lo.set("origin",mo),lo.draw(),no.onDrag(mo,{latLng:k(xo)})})}),this.container.addEventListener("mouseup",uo=>{var fo;(fo=lo.map)==null||fo.set("draggable",!0),this.container.style.cursor="default",lo.moveHandler&&(google.maps.event.removeListener(lo.moveHandler),lo.moveHandler=null),lo.set("position",lo.position),lo.set("origin",void 0),lo.draw(),no.onDragEnd(uo,{latLng:k(lo.position)})}));let co=(so=this.getPanes())==null?void 0:so[this.pane];co==null||co.classList.add("google-map-markers-overlay"),co==null||co.appendChild(this.container)});As(this,"draw",()=>{let so=this.getProjection(),lo=so==null?void 0:so.fromLatLngToDivPixel(this.position),co={x:this.container.offsetWidth/2,y:this.container.offsetHeight/2};lo&&(this.container.style.transform=`translate(${lo.x-co.x}px, ${lo.y-co.y}px)`)});As(this,"onRemove",()=>{this.container.parentNode!==null&&(google.maps.event.clearInstanceListeners(this.container),this.container.parentNode.removeChild(this.container))});As(this,"container");As(this,"pane");As(this,"position");As(this,"map",this.getMap());As(this,"moveHandler");this.container=so,this.pane=lo,this.position=co,this.moveHandler=null}}return new io(Yi,eo,to)},U=K,ee=({pane:Yi="floatPane",position:eo,map:to,maps:ro,zIndex:no=0,children:io,drag:oo})=>{let ao=reactExports.useMemo(()=>{let co=document.createElement("div");return co.style.position="absolute",co},[]),so=reactExports.useMemo(()=>U({container:ao,pane:Yi,position:eo,maps:ro,drag:oo}),[ao,oo,ro,Yi,eo]),lo=x(io==null?void 0:io.props,(co,uo)=>co&&co.lat===uo.lat&&co.lng===uo.lng);return reactExports.useEffect(()=>!so.map&&to?(so==null||so.setMap(to),()=>{so==null||so.setMap(null)}):()=>{},[to,lo]),reactExports.useEffect(()=>{ao.style.zIndex=`${no}`},[no,ao]),reactDomExports.createPortal(io,ao)},R=ee,P=()=>{},ae=({children:Yi,map:eo,maps:to})=>{let ro=reactExports.useMemo(()=>!eo||!to?[]:reactExports.Children.map(Yi,no=>{if(reactExports.isValidElement(no)){let io={lat:no.props.lat,lng:no.props.lng},{zIndex:oo,draggable:ao=!1,onDragStart:so=P,onDrag:lo=P,onDragEnd:co=P}=no.props||{};return no=reactExports.cloneElement(no,{...no.props,onDragStart:void 0,onDrag:void 0,onDragEnd:void 0}),jsxRuntimeExports.jsx(R,{position:new to.LatLng(io.lat,io.lng),map:eo,maps:to,zIndex:oo,drag:{draggable:ao,onDragStart:so,onDrag:lo,onDragEnd:co},children:no})}return null}),[Yi,eo,to]);return jsxRuntimeExports.jsx("div",{children:ro})},$=ae;
713function le({children:Yi=null,style:eo={width:"100%",height:"100%",left:0,top:0,margin:0,padding:0,position:"absolute"},defaultCenter:to,defaultZoom:ro,onGoogleApiLoaded:no,onChange:io,options:oo={},events:ao=[]}){let so=reactExports.useRef(null),lo=reactExports.useRef([]),[co,uo]=reactExports.useState(),[fo,ho]=reactExports.useState(),[mo,vo]=reactExports.useState(!1),Co=reactExports.useCallback(()=>{var bo,wo;try{if(!co)return;let yo=co.getZoom()??ro,Eo=co.getBounds(),xo=[(bo=co.getCenter())==null?void 0:bo.lng(),(wo=co.getCenter())==null?void 0:wo.lat()],So=Eo==null?void 0:Eo.getNorthEast(),To=Eo==null?void 0:Eo.getSouthWest();if(!So||!To||!Eo)return;let Ro=[To.lng(),To.lat(),So.lng(),So.lat()];T(Ro,lo.current)||(io&&io({zoom:yo,center:xo,bounds:Eo}),lo.current=Ro)}catch(yo){console.error(yo)}},[co,io]);return reactExports.useEffect(()=>{so.current&&!co&&(uo(new google.maps.Map(so.current,{center:to,zoom:ro,...oo})),ho(google.maps))},[to,ro,co,so,oo]),reactExports.useEffect(()=>{co&&!mo&&(typeof no=="function"&&fo&&no({map:co,maps:fo,ref:so.current}),vo(!0),google.maps.event.hasListeners(co,"idle")&&google.maps.event.clearListeners(co,"idle"),google.maps.event.addListener(co,"idle",Co))},[mo,co,no]),reactExports.useEffect(()=>()=>{co&&google.maps.event.clearListeners(co,"idle")},[co]),jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("div",{ref:so,style:eo,className:"google-map",...ao==null?void 0:ao.reduce((bo,{name:wo,handler:yo})=>(bo[wo]=yo,bo),{})}),Yi&&co&&fo&&jsxRuntimeExports.jsx($,{map:co,maps:fo,children:Yi})]})}var q=le,ue=reactExports.forwardRef(({apiKey:Yi="",libraries:eo=["places","geometry"],children:to=null,loadingContent:ro="Google Maps is loading",idleContent:no="Google Maps is on idle",errorContent:io="Google Maps is on error",mapMinHeight:oo="unset",containerProps:ao={},loadScriptExternally:so=!1,status:lo="idle",scriptCallback:co=()=>{},externalApiParams:uo={},...fo},ho)=>{let mo={ready:jsxRuntimeExports.jsx(q,{...fo,children:to}),loading:ro,idle:no,error:io},vo=O({apiKey:Yi,libraries:eo,loadScriptExternally:so,status:lo,externalApiParams:uo,callback:co});return jsxRuntimeExports.jsx("div",{ref:ho,style:{height:"100%",width:"100%",overflow:"hidden",position:"relative",minHeight:oo},...ao,children:mo[vo]||null})}),B=ue,qe=B;function _interopDefault$T(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$S=_interopDefault$T(reactExports),_extends$S=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$S=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},MapMarkerIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$S(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$S.createElement("svg",_extends$S({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$S.createElement("path",{d:"M12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5M12,2A7,7 0 0,0 5,9C5,14.25 12,22 12,22C12,22 19,14.25 19,9A7,7 0 0,0 12,2Z"}))},MapMarkerIcon$1=React$S.memo?React$S.memo(MapMarkerIcon):MapMarkerIcon,MapMarkerIcon_1=MapMarkerIcon$1;const MapMarkerIcon$2=getDefaultExportFromCjs(MapMarkerIcon_1);function _interopDefault$S(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$R=_interopDefault$S(reactExports),_extends$R=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$R=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},ClockTimeFiveIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$R(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$R.createElement("svg",_extends$R({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$R.createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22C17.5 22 22 17.5 22 12S17.5 2 12 2M14 17L11 11.8V7H12.5V11.4L15.3 16.3L14 17Z"}))},ClockTimeFiveIcon$1=React$R.memo?React$R.memo(ClockTimeFiveIcon):ClockTimeFiveIcon,ClockTimeFiveIcon_1=ClockTimeFiveIcon$1;const ClockTimeFiveIcon$2=getDefaultExportFromCjs(ClockTimeFiveIcon_1);function _interopDefault$R(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$Q=_interopDefault$R(reactExports),_extends$Q=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$Q=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},PhoneIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$Q(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$Q.createElement("svg",_extends$Q({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$Q.createElement("path",{d:"M6.62,10.79C8.06,13.62 10.38,15.94 13.21,17.38L15.41,15.18C15.69,14.9 16.08,14.82 16.43,14.93C17.55,15.3 18.75,15.5 20,15.5A1,1 0 0,1 21,16.5V20A1,1 0 0,1 20,21A17,17 0 0,1 3,4A1,1 0 0,1 4,3H7.5A1,1 0 0,1 8.5,4C8.5,5.25 8.7,6.45 9.07,7.57C9.18,7.92 9.1,8.31 8.82,8.59L6.62,10.79Z"}))},PhoneIcon$1=React$Q.memo?React$Q.memo(PhoneIcon):PhoneIcon,PhoneIcon_1=PhoneIcon$1;const PhoneIcon$2=getDefaultExportFromCjs(PhoneIcon_1);function _interopDefault$Q(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$P=_interopDefault$Q(reactExports),_extends$P=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$P=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},EarthIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$P(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$P.createElement("svg",_extends$P({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$P.createElement("path",{d:"M17.9,17.39C17.64,16.59 16.89,16 16,16H15V13A1,1 0 0,0 14,12H8V10H10A1,1 0 0,0 11,9V7H13A2,2 0 0,0 15,5V4.59C17.93,5.77 20,8.64 20,12C20,14.08 19.2,15.97 17.9,17.39M11,19.93C7.05,19.44 4,16.08 4,12C4,11.38 4.08,10.78 4.21,10.21L9,15V16A2,2 0 0,0 11,18M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}))},EarthIcon$1=React$P.memo?React$P.memo(EarthIcon):EarthIcon,EarthIcon_1=EarthIcon$1;const EarthIcon$2=getDefaultExportFromCjs(EarthIcon_1);function _interopDefault$P(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$O=_interopDefault$P(reactExports),_extends$O=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$O=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},ShapeIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$O(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$O.createElement("svg",_extends$O({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$O.createElement("path",{d:"M11,13.5V21.5H3V13.5H11M12,2L17.5,11H6.5L12,2M17.5,13C20,13 22,15 22,17.5C22,20 20,22 17.5,22C15,22 13,20 13,17.5C13,15 15,13 17.5,13Z"}))},ShapeIcon$1=React$O.memo?React$O.memo(ShapeIcon):ShapeIcon,ShapeIcon_1=ShapeIcon$1;const ShapeIcon$2=getDefaultExportFromCjs(ShapeIcon_1);function _interopDefault$O(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$N=_interopDefault$O(reactExports),_extends$N=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$N=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},PiggyBankIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$N(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$N.createElement("svg",_extends$N({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$N.createElement("path",{d:"M19.83 7.5L17.56 5.23C17.63 4.81 17.74 4.42 17.88 4.08C17.96 3.9 18 3.71 18 3.5C18 2.67 17.33 2 16.5 2C14.86 2 13.41 2.79 12.5 4H7.5C4.46 4 2 6.46 2 9.5S4.5 21 4.5 21H10V19H12V21H17.5L19.18 15.41L22 
71314.47V7.5H19.83M13 9H8V7H13V9M16 11C15.45 11 15 10.55 15 10S15.45 9 16 9C16.55 9 17 9.45 17 10S16.55 11 16 11Z"}))},PiggyBankIcon$1=React$N.memo?React$N.memo(PiggyBankIcon):PiggyBankIcon,PiggyBankIcon_1=PiggyBankIcon$1;const MoneyIcon$3=getDefaultExportFromCjs(PiggyBankIcon_1);function _interopDefault$N(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$M=_interopDefault$N(reactExports),_extends$M=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$M=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},PlusThickIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$M(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$M.createElement("svg",_extends$M({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$M.createElement("path",{d:"M20 14H14V20H10V14H4V10H10V4H14V10H20V14Z"}))},PlusThickIcon$1=React$M.memo?React$M.memo(PlusThickIcon):PlusThickIcon,PlusThickIcon_1=PlusThickIcon$1;const AddIcon=getDefaultExportFromCjs(PlusThickIcon_1);function getThemeProps(Yi){const{theme:eo,name:to,props:ro}=Yi;if(!eo||!eo.components||!eo.components[to]||!eo.components[to].defaultProps)return ro;const no=_extends$2c({},ro),io=eo.components[to].defaultProps;let oo;for(oo in io)no[oo]===void 0&&(no[oo]=io[oo]);return no}const _excluded=["defaultTheme","withTheme","name"],_excluded2=["classes"],withStyles=(Yi,eo={})=>to=>{const{defaultTheme:ro,withTheme:no=!1,name:io}=eo,oo=_objectWithoutPropertiesLoose$k(eo,_excluded);let ao=io;const so=makeStyles(Yi,_extends$2c({defaultTheme:ro,Component:to,name:io||to.displayName,classNamePrefix:ao},oo)),lo=reactExports.forwardRef(function(uo,fo){const ho=_objectWithoutPropertiesLoose$k(uo,_excluded2),mo=so(_extends$2c({},to.defaultProps,uo));let vo,Co=ho;return(typeof io=="string"||no)&&(vo=useTheme()||ro,io&&(Co=getThemeProps({theme:vo,name:io,props:ho})),no&&!Co.theme&&(Co.theme=vo)),jsxRuntimeExports.jsx(to,_extends$2c({ref:fo,classes:mo},Co))});return hoistNonReactStatics$1(lo,to),lo};function _interopDefault$M(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$L=_interopDefault$M(reactExports),_extends$L=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$L=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},TimerOutlineIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$L(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$L.createElement("svg",_extends$L({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$L.createElement("path",{d:"M12,20A7,7 0 0,1 5,13A7,7 0 0,1 12,6A7,7 0 0,1 19,13A7,7 0 0,1 12,20M19.03,7.39L20.45,5.97C20,5.46 19.55,5 19.04,4.56L17.62,6C16.07,4.74 14.12,4 12,4A9,9 0 0,0 3,13A9,9 0 0,0 12,22C17,22 21,17.97 21,13C21,10.88 20.26,8.93 19.03,7.39M11,14H13V8H11M15,1H9V3H15V1Z"}))},TimerOutlineIcon$1=React$L.memo?React$L.memo(TimerOutlineIcon):TimerOutlineIcon,TimerOutlineIcon_1=TimerOutlineIcon$1;const TimerOutlineIcon$2=getDefaultExportFromCjs(TimerOutlineIcon_1);function _interopDefault$L(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$K=_interopDefault$L(reactExports),_extends$K=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$K=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},DotsVerticalIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$K(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$K.createElement("svg",_extends$K({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$K.createElement("path",{d:"M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z"}))},DotsVerticalIcon$1=React$K.memo?React$K.memo(DotsVerticalIcon):DotsVerticalIcon,DotsVerticalIcon_1=DotsVerticalIcon$1;const DotsVerticalIcon$2=getDefaultExportFromCjs(DotsVerticalIcon_1);function _interopDefault$K(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$J=_interopDefault$K(reactExports),_extends$J=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$J=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},InformationIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$J(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$J.createElement("svg",_extends$J({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$J.createElement("path",{d:"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}))},InformationIcon$1=React$J.memo?React$J.memo(InformationIcon):InformationIcon,InformationIcon_1=InformationIcon$1;const InformationIcon$2=getDefaultExportFromCjs(InformationIcon_1);function _interopDefault$J(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$I=_interopDefault$J(reactExports),_extends$I=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$I=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},ChevronDownIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$I(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$I.createElement("svg",_extends$I({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$I.createElement("path",{d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"}))},ChevronDownIcon$1=React$I.memo?React$I.memo(ChevronDownIcon):ChevronDownIcon,ChevronDownIcon_1=ChevronDownIcon$1;const ChevronDownIcon$2=getDefaultExportFromCjs(ChevronDownIcon_1);function _interopDefault$I(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$H=_interopDefault$I(reactExports),_extends$H=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$H=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},LockCheckIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$H(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$H.createElement("svg",_extends$H({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$H.createElement("path",{d:"M19 13C19.34 13 19.67 13.04 20 13.09V10C20 8.9 19.11 8 18 8H17V6C17 3.24 14.76 1 12 1S7 3.24 7 6V8H6C4.9 8 4 8.89 4 10V20C4 21.11 4.89 22 6 22H13.81C13.3 21.12 13 20.1 13 19C13 15.69 15.69 13 19 13M9 6C9 4.34 10.34 3 12 3S15 4.34 15 6V8H9V6M12 17C10.9 17 10 16.
71311 10 15S10.9 13 12 13C13.1 13 14 13.89 14 15C14 16.11 13.11 17 12 17M22.5 17.25L17.75 22L15 19L16.16 17.84L17.75 19.43L21.34 15.84L22.5 17.25Z"}))},LockCheckIcon$1=React$H.memo?React$H.memo(LockCheckIcon):LockCheckIcon,LockCheckIcon_1=LockCheckIcon$1;const LockCheckIcon$2=getDefaultExportFromCjs(LockCheckIcon_1);var browser={},canPromise$1=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},qrcode={},utils$1={};let toSJISFunction;const CODEWORDS_COUNT=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];utils$1.getSymbolSize=function Yi(eo){if(!eo)throw new Error('"version" cannot be null or undefined');if(eo<1||eo>40)throw new Error('"version" should be in range from 1 to 40');return eo*4+17};utils$1.getSymbolTotalCodewords=function Yi(eo){return CODEWORDS_COUNT[eo]};utils$1.getBCHDigit=function(Yi){let eo=0;for(;Yi!==0;)eo++,Yi>>>=1;return eo};utils$1.setToSJISFunction=function Yi(eo){if(typeof eo!="function")throw new Error('"toSJISFunc" is not a valid function.');toSJISFunction=eo};utils$1.isKanjiModeEnabled=function(){return typeof toSJISFunction<"u"};utils$1.toSJIS=function Yi(eo){return toSJISFunction(eo)};var errorCorrectionLevel={};(function(Yi){Yi.L={bit:1},Yi.M={bit:0},Yi.Q={bit:3},Yi.H={bit:2};function eo(to){if(typeof to!="string")throw new Error("Param is not a string");switch(to.toLowerCase()){case"l":case"low":return Yi.L;case"m":case"medium":return Yi.M;case"q":case"quartile":return Yi.Q;case"h":case"high":return Yi.H;default:throw new Error("Unknown EC Level: "+to)}}Yi.isValid=function(ro){return ro&&typeof ro.bit<"u"&&ro.bit>=0&&ro.bit<4},Yi.from=function(ro,no){if(Yi.isValid(ro))return ro;try{return eo(ro)}catch{return no}}})(errorCorrectionLevel);function BitBuffer$1(){this.buffer=[],this.length=0}BitBuffer$1.prototype={get:function(Yi){const eo=Math.floor(Yi/8);return(this.buffer[eo]>>>7-Yi%8&1)===1},put:function(Yi,eo){for(let to=0;to<eo;to++)this.putBit((Yi>>>eo-to-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(Yi){const eo=Math.floor(this.length/8);this.buffer.length<=eo&&this.buffer.push(0),Yi&&(this.buffer[eo]|=128>>>this.length%8),this.length++}};var bitBuffer=BitBuffer$1;function BitMatrix$1(Yi){if(!Yi||Yi<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=Yi,this.data=new Uint8Array(Yi*Yi),this.reservedBit=new Uint8Array(Yi*Yi)}BitMatrix$1.prototype.set=function(Yi,eo,to,ro){const no=Yi*this.size+eo;this.data[no]=to,ro&&(this.reservedBit[no]=!0)};BitMatrix$1.prototype.get=function(Yi,eo){return this.data[Yi*this.size+eo]};BitMatrix$1.prototype.xor=function(Yi,eo,to){this.data[Yi*this.size+eo]^=to};BitMatrix$1.prototype.isReserved=function(Yi,eo){return this.reservedBit[Yi*this.size+eo]};var bitMatrix=BitMatrix$1,alignmentPattern={};(function(Yi){const eo=utils$1.getSymbolSize;Yi.getRowColCoords=function(ro){if(ro===1)return[];const no=Math.floor(ro/7)+2,io=eo(ro),oo=io===145?26:Math.ceil((io-13)/(2*no-2))*2,ao=[io-7];for(let so=1;so<no-1;so++)ao[so]=ao[so-1]-oo;return ao.push(6),ao.reverse()},Yi.getPositions=function(ro){const no=[],io=Yi.getRowColCoords(ro),oo=io.length;for(let ao=0;ao<oo;ao++)for(let so=0;so<oo;so++)ao===0&&so===0||ao===0&&so===oo-1||ao===oo-1&&so===0||no.push([io[ao],io[so]]);return no}})(alignmentPattern);var finderPattern={};const getSymbolSize=utils$1.getSymbolSize,FINDER_PATTERN_SIZE=7;finderPattern.getPositions=function Yi(eo){const to=getSymbolSize(eo);return[[0,0],[to-FINDER_PATTERN_SIZE,0],[0,to-FINDER_PATTERN_SIZE]]};var maskPattern={};(function(Yi){Yi.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const eo={N1:3,N2:3,N3:40,N4:10};Yi.isValid=function(no){return no!=null&&no!==""&&!isNaN(no)&&no>=0&&no<=7},Yi.from=function(no){return Yi.isValid(no)?parseInt(no,10):void 0},Yi.getPenaltyN1=function(no){const io=no.size;let oo=0,ao=0,so=0,lo=null,co=null;for(let uo=0;uo<io;uo++){ao=so=0,lo=co=null;for(let fo=0;fo<io;fo++){let ho=no.get(uo,fo);ho===lo?ao++:(ao>=5&&(oo+=eo.N1+(ao-5)),lo=ho,ao=1),ho=no.get(fo,uo),ho===co?so++:(so>=5&&(oo+=eo.N1+(so-5)),co=ho,so=1)}ao>=5&&(oo+=eo.N1+(ao-5)),so>=5&&(oo+=eo.N1+(so-5))}return oo},Yi.getPenaltyN2=function(no){const io=no.size;let oo=0;for(let ao=0;ao<io-1;ao++)for(let so=0;so<io-1;so++){const lo=no.get(ao,so)+no.get(ao,so+1)+no.get(ao+1,so)+no.get(ao+1,so+1);(lo===4||lo===0)&&oo++}
vendor: 24,908 bytes, lines 713-720
713return oo*eo.N2},Yi.getPenaltyN3=function(no){const io=no.size;let oo=0,ao=0,so=0;for(let lo=0;lo<io;lo++){ao=so=0;for(let co=0;co<io;co++)ao=ao<<1&2047|no.get(lo,co),co>=10&&(ao===1488||ao===93)&&oo++,so=so<<1&2047|no.get(co,lo),co>=10&&(so===1488||so===93)&&oo++}return oo*eo.N3},Yi.getPenaltyN4=function(no){let io=0;const oo=no.data.length;for(let so=0;so<oo;so++)io+=no.data[so];return Math.abs(Math.ceil(io*100/oo/5)-10)*eo.N4};function to(ro,no,io){switch(ro){case Yi.Patterns.PATTERN000:return(no+io)%2===0;case Yi.Patterns.PATTERN001:return no%2===0;case Yi.Patterns.PATTERN010:return io%3===0;case Yi.Patterns.PATTERN011:return(no+io)%3===0;case Yi.Patterns.PATTERN100:return(Math.floor(no/2)+Math.floor(io/3))%2===0;case Yi.Patterns.PATTERN101:return no*io%2+no*io%3===0;case Yi.Patterns.PATTERN110:return(no*io%2+no*io%3)%2===0;case Yi.Patterns.PATTERN111:return(no*io%3+(no+io)%2)%2===0;default:throw new Error("bad maskPattern:"+ro)}}Yi.applyMask=function(no,io){const oo=io.size;for(let ao=0;ao<oo;ao++)for(let so=0;so<oo;so++)io.isReserved(so,ao)||io.xor(so,ao,to(no,so,ao))},Yi.getBestMask=function(no,io){const oo=Object.keys(Yi.Patterns).length;let ao=0,so=1/0;for(let lo=0;lo<oo;lo++){io(lo),Yi.applyMask(lo,no);const co=Yi.getPenaltyN1(no)+Yi.getPenaltyN2(no)+Yi.getPenaltyN3(no)+Yi.getPenaltyN4(no);Yi.applyMask(lo,no),co<so&&(so=co,ao=lo)}return ao}})(maskPattern);var errorCorrectionCode={};const ECLevel$1=errorCorrectionLevel,EC_BLOCKS_TABLE=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],EC_CODEWORDS_TABLE=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];errorCorrectionCode.getBlocksCount=function Yi(eo,to){switch(to){case ECLevel$1.L:return EC_BLOCKS_TABLE[(eo-1)*4+0];case ECLevel$1.M:return EC_BLOCKS_TABLE[(eo-1)*4+1];case ECLevel$1.Q:return EC_BLOCKS_TABLE[(eo-1)*4+2];case ECLevel$1.H:return EC_BLOCKS_TABLE[(eo-1)*4+3];default:return}};errorCorrectionCode.getTotalCodewordsCount=function Yi(eo,to){switch(to){case ECLevel$1.L:return EC_CODEWORDS_TABLE[(eo-1)*4+0];case ECLevel$1.M:return EC_CODEWORDS_TABLE[(eo-1)*4+1];case ECLevel$1.Q:return EC_CODEWORDS_TABLE[(eo-1)*4+2];case ECLevel$1.H:return EC_CODEWORDS_TABLE[(eo-1)*4+3];default:return}};var polynomial={},galoisField={};const EXP_TABLE=new Uint8Array(512),LOG_TABLE=new Uint8Array(256);(function Yi(){let eo=1;for(let to=0;to<255;to++)EXP_TABLE[to]=eo,LOG_TABLE[eo]=to,eo<<=1,eo&256&&(eo^=285);for(let to=255;to<512;to++)EXP_TABLE[to]=EXP_TABLE[to-255]})();galoisField.log=function Yi(eo){if(eo<1)throw new Error("log("+eo+")");return LOG_TABLE[eo]};galoisField.exp=function Yi(eo){return EXP_TABLE[eo]};galoisField.mul=function Yi(eo,to){return eo===0||to===0?0:EXP_TABLE[LOG_TABLE[eo]+LOG_TABLE[to]]};(function(Yi){const eo=galoisField;Yi.mul=function(ro,no){const io=new Uint8Array(ro.length+no.length-1);for(let oo=0;oo<ro.length;oo++)for(let ao=0;ao<no.length;ao++)io[oo+ao]^=eo.mul(ro[oo],no[ao]);return io},Yi.mod=function(ro,no){let io=new Uint8Array(ro);for(;io.length-no.length>=0;){const oo=io[0];for(let so=0;so<no.length;so++)io[so]^=eo.mul(no[so],oo);let ao=0;for(;ao<io.length&&io[ao]===0;)ao++;io=io.slice(ao)}return io},Yi.generateECPolynomial=function(ro){let no=new Uint8Array([1]);for(let io=0;io<ro;io++)no=Yi.mul(no,new Uint8Array([1,eo.exp(io)]));return no}})(polynomial);const Polynomial=polynomial;function ReedSolomonEncoder$1(Yi){this.genPoly=void 0,this.degree=Yi,this.degree&&this.initialize(this.degree)}ReedSolomonEncoder$1.prototype.initialize=function Yi(eo){this.degree=eo,this.genPoly=Polynomial.generateECPolynomial(this.degree)};ReedSolomonEncoder$1.prototype.encode=function Yi(eo){if(!this.genPoly)throw new Error("Encoder not initialized");const to=new Uint8Array(eo.length+this.degree);to.set(eo);const ro=Polynomial.mod(to,this.genPoly),no=this.degree-ro.length;if(no>0){const io=new Uint8Array(this.degree);return io.set(ro,no),io}return ro};var reedSolomonEncoder=ReedSolomonEncoder$1,version$1={},mode={},versionCheck={};versionCheck.isValid=function Yi(eo){return!isNaN(eo)&&eo>=1&&eo<=40};var regex={};const numeric="[0-9]+",alphanumeric="[A-Z $%*+\\-./:]+";let kanji="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";kanji=kanji.replace(/u/g,"\\u");const byte="(?:(?![A-Z0-9 $%*+\\-./:]|"+kanji+`)(?:.|[\r
714]))+`;regex.KANJI=new RegExp(kanji,"g");regex.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");regex.BYTE=new RegExp(byte,"g");regex.NUMERIC=new RegExp(numeric,"g");regex.ALPHANUMERIC=new RegExp(alphanumeric,"g");const TEST_KANJI=new RegExp("^"+kanji+"$"),TEST_NUMERIC=new RegExp("^"+numeric+"$"),TEST_ALPHANUMERIC=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");regex.testKanji=function Yi(eo){return TEST_KANJI.test(eo)};regex.testNumeric=function Yi(eo){return TEST_NUMERIC.test(eo)};regex.testAlphanumeric=function Yi(eo){return TEST_ALPHANUMERIC.test(eo)};(function(Yi){const eo=versionCheck,to=regex;Yi.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},Yi.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},Yi.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},Yi.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},Yi.MIXED={bit:-1},Yi.getCharCountIndicator=function(io,oo){if(!io.ccBits)throw new Error("Invalid mode: "+io);if(!eo.isValid(oo))throw new Error("Invalid version: "+oo);return oo>=1&&oo<10?io.ccBits[0]:oo<27?io.ccBits[1]:io.ccBits[2]},Yi.getBestModeForData=function(io){return to.testNumeric(io)?Yi.NUMERIC:to.testAlphanumeric(io)?Yi.ALPHANUMERIC:to.testKanji(io)?Yi.KANJI:Yi.BYTE},Yi.toString=function(io){if(io&&io.id)return io.id;throw new Error("Invalid mode")},Yi.isValid=function(io){return io&&io.bit&&io.ccBits};function ro(no){if(typeof no!="string")throw new Error("Param is not a string");switch(no.toLowerCase()){case"numeric":return Yi.NUMERIC;case"alphanumeric":return Yi.ALPHANUMERIC;case"kanji":return Yi.KANJI;case"byte":return Yi.BYTE;default:throw new Error("Unknown mode: "+no)}}Yi.from=function(io,oo){if(Yi.isValid(io))return io;try{return ro(io)}catch{return oo}}})(mode);(function(Yi){const eo=utils$1,to=errorCorrectionCode,ro=errorCorrectionLevel,no=mode,io=versionCheck,oo=7973,ao=eo.getBCHDigit(oo);function so(fo,ho,mo){for(let vo=1;vo<=40;vo++)if(ho<=Yi.getCapacity(vo,mo,fo))return vo}function lo(fo,ho){return no.getCharCountIndicator(fo,ho)+4}function co(fo,ho){let mo=0;return fo.forEach(function(vo){const Co=lo(vo.mode,ho);mo+=Co+vo.getBitsLength()}),mo}function uo(fo,ho){for(let mo=1;mo<=40;mo++)if(co(fo,mo)<=Yi.getCapacity(mo,ho,no.MIXED))return mo}Yi.from=function(ho,mo){return io.isValid(ho)?parseInt(ho,10):mo},Yi.getCapacity=function(ho,mo,vo){if(!io.isValid(ho))throw new Error("Invalid QR Code version");typeof vo>"u"&&(vo=no.BYTE);const Co=eo.getSymbolTotalCodewords(ho),bo=to.getTotalCodewordsCount(ho,mo),wo=(Co-bo)*8;if(vo===no.MIXED)return wo;const yo=wo-lo(vo,ho);switch(vo){case no.NUMERIC:return Math.floor(yo/10*3);case no.ALPHANUMERIC:return Math.floor(yo/11*2);case no.KANJI:return Math.floor(yo/13);case no.BYTE:default:return Math.floor(yo/8)}},Yi.getBestVersionForData=function(ho,mo){let vo;const Co=ro.from(mo,ro.M);if(Array.isArray(ho)){if(ho.length>1)return uo(ho,Co);if(ho.length===0)return 1;vo=ho[0]}else vo=ho;return so(vo.mode,vo.getLength(),Co)},Yi.getEncodedBits=function(ho){if(!io.isValid(ho)||ho<7)throw new Error("Invalid QR Code version");let mo=ho<<12;for(;eo.getBCHDigit(mo)-ao>=0;)mo^=oo<<eo.getBCHDigit(mo)-ao;return ho<<12|mo}})(version$1);var formatInfo={};const Utils$3=utils$1,G15=1335,G15_MASK=21522,G15_BCH=Utils$3.getBCHDigit(G15);formatInfo.getEncodedBits=function Yi(eo,to){const ro=eo.bit<<3|to;let no=ro<<10;for(;Utils$3.getBCHDigit(no)-G15_BCH>=0;)no^=G15<<Utils$3.getBCHDigit(no)-G15_BCH;return(ro<<10|no)^G15_MASK};var segments={};const Mode$4=mode;function NumericData(Yi){this.mode=Mode$4.NUMERIC,this.data=Yi.toString()}NumericData.getBitsLength=function Yi(eo){return 10*Math.floor(eo/3)+(eo%3?eo%3*3+1:0)};NumericData.prototype.getLength=function Yi(){return this.data.length};NumericData.prototype.getBitsLength=function Yi(){return NumericData.getBitsLength(this.data.length)};NumericData.prototype.write=function Yi(eo){let to,ro,no;for(to=0;to+3<=this.data.length;to+=3)ro=this.data.substr(to,3),no=parseInt(ro,10),eo.put(no,10);const io=this.data.length-to;io>0&&(ro=this.data.substr(to),no=parseInt(ro,10),eo.put(no,io*3+1))};var numericData=NumericData;const Mode$3=mode,ALPHA_NUM_CHARS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function AlphanumericData(Yi){this.mode=Mode$3.ALPHANUMERIC,this.data=Yi}AlphanumericData.getBitsLength=function Yi(eo){return 11*Math.floor(eo/2)+6*(eo%2)};AlphanumericData.prototype.getLength=function Yi(){return this.data.length};AlphanumericData.prototype.getBitsLength=function Yi(){return AlphanumericData.getBitsLength(this.data.length)};AlphanumericData.prototype.write=function Yi(eo){let to;for(to=0;to+2<=this.data.length;to+=2){let ro=ALPHA_NUM_CHARS.indexOf(this.data[to])*45;ro+=ALPHA_NUM_CHARS.indexOf(this.data[to+1]),eo.put(ro,11)}this.data.length%2&&eo.put(ALPHA_NUM_CHARS.indexOf(this.data[to]),6)};var alphanumericData=AlphanumericData;const Mode$2=mode;function ByteData(Yi){this.mode=Mode$2.BYTE,typeof Yi=="string"?this.data=new TextEncoder().encode(Yi):this.data=new Uint8Array(Yi)}ByteData.getBitsLength=function Yi(eo){return eo*8};ByteData.prototype.getLength=function Yi(){return this.data.length};ByteData.prototype.getBitsLength=function Yi(){return ByteData.getBitsLength(this.data.length)};ByteData.prototype.write=function(Yi){for(let eo=0,to=this.data.length;eo<to;eo++)Yi.put(this.data[eo],8)};var byteData=ByteData;const Mode$1=mode,Utils$2=utils$1;function KanjiData(Yi){this.mode=Mode$1.KANJI,this.data=Yi}KanjiData.getBitsLength=function Yi(eo){return eo*13};KanjiData.prototype.getLength=function Yi(){return this.data.length};KanjiData.prototype.getBitsLength=function Yi(){return KanjiData.getBitsLength(this.data.length)};KanjiData.prototype.write=function(Yi){let eo;for(eo=0;eo<this.data.length;eo++){let to=Utils$2.toSJIS(this.data[eo]);if(to>=33088&&to<=40956)to-=33088;else if(to>=57408&&to<=60351)to-=49472;else throw new Error("Invalid SJIS character: "+this.data[eo]+`
715Make sure your charset is UTF-8`);to=(to>>>8&255)*192+(to&255),Yi.put(to,13)}};var kanjiData=KanjiData,dijkstra={exports:{}};(function(Yi){var eo={single_source_shortest_paths:function(to,ro,no){var io={},oo={};oo[ro]=0;var ao=eo.PriorityQueue.make();ao.push(ro,0);for(var so,lo,co,uo,fo,ho,mo,vo,Co;!ao.empty();){so=ao.pop(),lo=so.value,uo=so.cost,fo=to[lo]||{};for(co in fo)fo.hasOwnProperty(co)&&(ho=fo[co],mo=uo+ho,vo=oo[co],Co=typeof oo[co]>"u",(Co||vo>mo)&&(oo[co]=mo,ao.push(co,mo),io[co]=lo))}if(typeof no<"u"&&typeof oo[no]>"u"){var bo=["Could not find a path from ",ro," to ",no,"."].join("");throw new Error(bo)}return io},extract_shortest_path_from_predecessor_list:function(to,ro){for(var no=[],io=ro;io;)no.push(io),to[io],io=to[io];return no.reverse(),no},find_path:function(to,ro,no){var io=eo.single_source_shortest_paths(to,ro,no);return eo.extract_shortest_path_from_predecessor_list(io,no)},PriorityQueue:{make:function(to){var ro=eo.PriorityQueue,no={},io;to=to||{};for(io in ro)ro.hasOwnProperty(io)&&(no[io]=ro[io]);return no.queue=[],no.sorter=to.sorter||ro.default_sorter,no},default_sorter:function(to,ro){return to.cost-ro.cost},push:function(to,ro){var no={value:to,cost:ro};this.queue.push(no),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};Yi.exports=eo})(dijkstra);var dijkstraExports=dijkstra.exports;(function(Yi){const eo=mode,to=numericData,ro=alphanumericData,no=byteData,io=kanjiData,oo=regex,ao=utils$1,so=dijkstraExports;function lo(bo){return unescape(encodeURIComponent(bo)).length}function co(bo,wo,yo){const Eo=[];let xo;for(;(xo=bo.exec(yo))!==null;)Eo.push({data:xo[0],index:xo.index,mode:wo,length:xo[0].length});return Eo}function uo(bo){const wo=co(oo.NUMERIC,eo.NUMERIC,bo),yo=co(oo.ALPHANUMERIC,eo.ALPHANUMERIC,bo);let Eo,xo;return ao.isKanjiModeEnabled()?(Eo=co(oo.BYTE,eo.BYTE,bo),xo=co(oo.KANJI,eo.KANJI,bo)):(Eo=co(oo.BYTE_KANJI,eo.BYTE,bo),xo=[]),wo.concat(yo,Eo,xo).sort(function(To,Ro){return To.index-Ro.index}).map(function(To){return{data:To.data,mode:To.mode,length:To.length}})}function fo(bo,wo){switch(wo){case eo.NUMERIC:return to.getBitsLength(bo);case eo.ALPHANUMERIC:return ro.getBitsLength(bo);case eo.KANJI:return io.getBitsLength(bo);case eo.BYTE:return no.getBitsLength(bo)}}function ho(bo){return bo.reduce(function(wo,yo){const Eo=wo.length-1>=0?wo[wo.length-1]:null;return Eo&&Eo.mode===yo.mode?(wo[wo.length-1].data+=yo.data,wo):(wo.push(yo),wo)},[])}function mo(bo){const wo=[];for(let yo=0;yo<bo.length;yo++){const Eo=bo[yo];switch(Eo.mode){case eo.NUMERIC:wo.push([Eo,{data:Eo.data,mode:eo.ALPHANUMERIC,length:Eo.length},{data:Eo.data,mode:eo.BYTE,length:Eo.length}]);break;case eo.ALPHANUMERIC:wo.push([Eo,{data:Eo.data,mode:eo.BYTE,length:Eo.length}]);break;case eo.KANJI:wo.push([Eo,{data:Eo.data,mode:eo.BYTE,length:lo(Eo.data)}]);break;case eo.BYTE:wo.push([{data:Eo.data,mode:eo.BYTE,length:lo(Eo.data)}])}}return wo}function vo(bo,wo){const yo={},Eo={start:{}};let xo=["start"];for(let So=0;So<bo.length;So++){const To=bo[So],Ro=[];for(let Po=0;Po<To.length;Po++){const zo=To[Po],Ho=""+So+Po;Ro.push(Ho),yo[Ho]={node:zo,lastCount:0},Eo[Ho]={};for(let Vo=0;Vo<xo.length;Vo++){const Lo=xo[Vo];yo[Lo]&&yo[Lo].node.mode===zo.mode?(Eo[Lo][Ho]=fo(yo[Lo].lastCount+zo.length,zo.mode)-fo(yo[Lo].lastCount,zo.mode),yo[Lo].lastCount+=zo.length):(yo[Lo]&&(yo[Lo].lastCount=zo.length),Eo[Lo][Ho]=fo(zo.length,zo.mode)+4+eo.getCharCountIndicator(zo.mode,wo))}}xo=Ro}for(let So=0;So<xo.length;So++)Eo[xo[So]].end=0;return{map:Eo,table:yo}}function Co(bo,wo){let yo;const Eo=eo.getBestModeForData(bo);if(yo=eo.from(wo,Eo),yo!==eo.BYTE&&yo.bit<Eo.bit)throw new Error('"'+bo+'" cannot be encoded with mode '+eo.toString(yo)+`.
716 Suggested mode is: `+eo.toString(Eo));switch(yo===eo.KANJI&&!ao.isKanjiModeEnabled()&&(yo=eo.BYTE),yo){case eo.NUMERIC:return new to(bo);case eo.ALPHANUMERIC:return new ro(bo);case eo.KANJI:return new io(bo);case eo.BYTE:return new no(bo)}}Yi.fromArray=function(wo){return wo.reduce(function(yo,Eo){return typeof Eo=="string"?yo.push(Co(Eo,null)):Eo.data&&yo.push(Co(Eo.data,Eo.mode)),yo},[])},Yi.fromString=function(wo,yo){const Eo=uo(wo,ao.isKanjiModeEnabled()),xo=mo(Eo),So=vo(xo,yo),To=so.find_path(So.map,"start","end"),Ro=[];for(let Po=1;Po<To.length-1;Po++)Ro.push(So.table[To[Po]].node);return Yi.fromArray(ho(Ro))},Yi.rawSplit=function(wo){return Yi.fromArray(uo(wo,ao.isKanjiModeEnabled()))}})(segments);const Utils$1=utils$1,ECLevel=errorCorrectionLevel,BitBuffer=bitBuffer,BitMatrix=bitMatrix,AlignmentPattern=alignmentPattern,FinderPattern=finderPattern,MaskPattern=maskPattern,ECCode=errorCorrectionCode,ReedSolomonEncoder=reedSolomonEncoder,Version=version$1,FormatInfo=formatInfo,Mode=mode,Segments=segments;function setupFinderPattern(Yi,eo){const to=Yi.size,ro=FinderPattern.getPositions(eo);for(let no=0;no<ro.length;no++){const io=ro[no][0],oo=ro[no][1];for(let ao=-1;ao<=7;ao++)if(!(io+ao<=-1||to<=io+ao))for(let so=-1;so<=7;so++)oo+so<=-1||to<=oo+so||(ao>=0&&ao<=6&&(so===0||so===6)||so>=0&&so<=6&&(ao===0||ao===6)||ao>=2&&ao<=4&&so>=2&&so<=4?Yi.set(io+ao,oo+so,!0,!0):Yi.set(io+ao,oo+so,!1,!0))}}function setupTimingPattern(Yi){const eo=Yi.size;for(let to=8;to<eo-8;to++){const ro=to%2===0;Yi.set(to,6,ro,!0),Yi.set(6,to,ro,!0)}}function setupAlignmentPattern(Yi,eo){const to=AlignmentPattern.getPositions(eo);for(let ro=0;ro<to.length;ro++){const no=to[ro][0],io=to[ro][1];for(let oo=-2;oo<=2;oo++)for(let ao=-2;ao<=2;ao++)oo===-2||oo===2||ao===-2||ao===2||oo===0&&ao===0?Yi.set(no+oo,io+ao,!0,!0):Yi.set(no+oo,io+ao,!1,!0)}}function setupVersionInfo(Yi,eo){const to=Yi.size,ro=Version.getEncodedBits(eo);let no,io,oo;for(let ao=0;ao<18;ao++)no=Math.floor(ao/3),io=ao%3+to-8-3,oo=(ro>>ao&1)===1,Yi.set(no,io,oo,!0),Yi.set(io,no,oo,!0)}function setupFormatInfo(Yi,eo,to){const ro=Yi.size,no=FormatInfo.getEncodedBits(eo,to);let io,oo;for(io=0;io<15;io++)oo=(no>>io&1)===1,io<6?Yi.set(io,8,oo,!0):io<8?Yi.set(io+1,8,oo,!0):Yi.set(ro-15+io,8,oo,!0),io<8?Yi.set(8,ro-io-1,oo,!0):io<9?Yi.set(8,15-io-1+1,oo,!0):Yi.set(8,15-io-1,oo,!0);Yi.set(ro-8,8,1,!0)}function setupData(Yi,eo){const to=Yi.size;let ro=-1,no=to-1,io=7,oo=0;for(let ao=to-1;ao>0;ao-=2)for(ao===6&&ao--;;){for(let so=0;so<2;so++)if(!Yi.isReserved(no,ao-so)){let lo=!1;oo<eo.length&&(lo=(eo[oo]>>>io&1)===1),Yi.set(no,ao-so,lo),io--,io===-1&&(oo++,io=7)}if(no+=ro,no<0||to<=no){no-=ro,ro=-ro;break}}}function createData(Yi,eo,to){const ro=new BitBuffer;to.forEach(function(so){ro.put(so.mode.bit,4),ro.put(so.getLength(),Mode.getCharCountIndicator(so.mode,Yi)),so.write(ro)});const no=Utils$1.getSymbolTotalCodewords(Yi),io=ECCode.getTotalCodewordsCount(Yi,eo),oo=(no-io)*8;for(ro.getLengthInBits()+4<=oo&&ro.put(0,4);ro.getLengthInBits()%8!==0;)ro.putBit(0);const ao=(oo-ro.getLengthInBits())/8;for(let so=0;so<ao;so++)ro.put(so%2?17:236,8);return createCodewords(ro,Yi,eo)}function createCodewords(Yi,eo,to){const ro=Utils$1.getSymbolTotalCodewords(eo),no=ECCode.getTotalCodewordsCount(eo,to),io=ro-no,oo=ECCode.getBlocksCount(eo,to),ao=ro%oo,so=oo-ao,lo=Math.floor(ro/oo),co=Math.floor(io/oo),uo=co+1,fo=lo-co,ho=new ReedSolomonEncoder(fo);let mo=0;const vo=new Array(oo),Co=new Array(oo);let bo=0;const wo=new Uint8Array(Yi.buffer);for(let To=0;To<oo;To++){const Ro=To<so?co:uo;vo[To]=wo.slice(mo,mo+Ro),Co[To]=ho.encode(vo[To]),mo+=Ro,bo=Math.max(bo,Ro)}const yo=new Uint8Array(ro);let Eo=0,xo,So;for(xo=0;xo<bo;xo++)for(So=0;So<oo;So++)xo<vo[So].length&&(yo[Eo++]=vo[So][xo]);for(xo=0;xo<fo;xo++)for(So=0;So<oo;So++)yo[Eo++]=Co[So][xo];return yo}function createSymbol(Yi,eo,to,ro){let no;if(Array.isArray(Yi))no=Segments.fromArray(Yi);else if(typeof Yi=="string"){let lo=eo;if(!lo){const co=Segments.rawSplit(Yi);lo=Version.getBestVersionForData(co,to)}no=Segments.fromString(Yi,lo||40)}else throw new Error("Invalid data");const io=Version.getBestVersionForData(no,to);if(!io)throw new Error("The amount of data is too big to be stored in a QR Code");if(!eo)eo=io;else if(eo<io)throw new Error(`
717The chosen QR Code version cannot contain this amount of data.
718Minimum version required to store current data is: `+io+`.
719`);const oo=createData(eo,to,no),ao=Utils$1.getSymbolSize(eo),so=new BitMatrix(ao);return setupFinderPattern(so,eo),setupTimingPattern(so),setupAlignmentPattern(so,eo),setupFormatInfo(so,to,0),eo>=7&&setupVersionInfo(so,eo),setupData(so,oo),isNaN(ro)&&(ro=MaskPattern.getBestMask(so,setupFormatInfo.bind(null,so,to))),MaskPattern.applyMask(ro,so),setupFormatInfo(so,to,ro),{modules:so,version:eo,errorCorrectionLevel:to,maskPattern:ro,segments:no}}qrcode.create=function Yi(eo,to){if(typeof eo>"u"||eo==="")throw new Error("No input text");let ro=ECLevel.M,no,io;return typeof to<"u"&&(ro=ECLevel.from(to.errorCorrectionLevel,ECLevel.M),no=Version.from(to.version),io=MaskPattern.from(to.maskPattern),to.toSJISFunc&&Utils$1.setToSJISFunction(to.toSJISFunc)),createSymbol(eo,no,ro,io)};var canvas={},utils={};(function(Yi){function eo(to){if(typeof to=="number"&&(to=to.toString()),typeof to!="string")throw new Error("Color should be defined as hex string");let ro=to.slice().replace("#","").split("");if(ro.length<3||ro.length===5||ro.length>8)throw new Error("Invalid hex color: "+to);(ro.length===3||ro.length===4)&&(ro=Array.prototype.concat.apply([],ro.map(function(io){return[io,io]}))),ro.length===6&&ro.push("F","F");const no=parseInt(ro.join(""),16);return{r:no>>24&255,g:no>>16&255,b:no>>8&255,a:no&255,hex:"#"+ro.slice(0,6).join("")}}Yi.getOptions=function(ro){ro||(ro={}),ro.color||(ro.color={});const no=typeof ro.margin>"u"||ro.margin===null||ro.margin<0?4:ro.margin,io=ro.width&&ro.width>=21?ro.width:void 0,oo=ro.scale||4;return{width:io,scale:io?4:oo,margin:no,color:{dark:eo(ro.color.dark||"#000000ff"),light:eo(ro.color.light||"#ffffffff")},type:ro.type,rendererOpts:ro.rendererOpts||{}}},Yi.getScale=function(ro,no){return no.width&&no.width>=ro+no.margin*2?no.width/(ro+no.margin*2):no.scale},Yi.getImageWidth=function(ro,no){const io=Yi.getScale(ro,no);return Math.floor((ro+no.margin*2)*io)},Yi.qrToImageData=function(ro,no,io){const oo=no.modules.size,ao=no.modules.data,so=Yi.getScale(oo,io),lo=Math.floor((oo+io.margin*2)*so),co=io.margin*so,uo=[io.color.light,io.color.dark];for(let fo=0;fo<lo;fo++)for(let ho=0;ho<lo;ho++){let mo=(fo*lo+ho)*4,vo=io.color.light;if(fo>=co&&ho>=co&&fo<lo-co&&ho<lo-co){const Co=Math.floor((fo-co)/so),bo=Math.floor((ho-co)/so);vo=uo[ao[Co*oo+bo]?1:0]}ro[mo++]=vo.r,ro[mo++]=vo.g,ro[mo++]=vo.b,ro[mo]=vo.a}}})(utils);(function(Yi){const eo=utils;function to(no,io,oo){no.clearRect(0,0,io.width,io.height),io.style||(io.style={}),io.height=oo,io.width=oo,io.style.height=oo+"px",io.style.width=oo+"px"}function ro(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}Yi.render=function(io,oo,ao){let so=ao,lo=oo;typeof so>"u"&&(!oo||!oo.getContext)&&(so=oo,oo=void 0),oo||(lo=ro()),so=eo.getOptions(so);const co=eo.getImageWidth(io.modules.size,so),uo=lo.getContext("2d"),fo=uo.createImageData(co,co);return eo.qrToImageData(fo.data,io,so),to(uo,lo,co),uo.putImageData(fo,0,0),lo},Yi.renderToDataURL=function(io,oo,ao){let so=ao;typeof so>"u"&&(!oo||!oo.getContext)&&(so=oo,oo=void 0),so||(so={});const lo=Yi.render(io,oo,so),co=so.type||"image/png",uo=so.rendererOpts||{};return lo.toDataURL(co,uo.quality)}})(canvas);var svgTag={};const Utils=utils;function getColorAttrib(Yi,eo){const to=Yi.a/255,ro=eo+'="'+Yi.hex+'"';return to<1?ro+" "+eo+'-opacity="'+to.toFixed(2).slice(1)+'"':ro}function svgCmd(Yi,eo,to){let ro=Yi+eo;return typeof to<"u"&&(ro+=" "+to),ro}function qrToPath(Yi,eo,to){let ro="",no=0,io=!1,oo=0;for(let ao=0;ao<Yi.length;ao++){const so=Math.floor(ao%eo),lo=Math.floor(ao/eo);!so&&!io&&(io=!0),Yi[ao]?(oo++,ao>0&&so>0&&Yi[ao-1]||(ro+=io?svgCmd("M",so+to,.5+lo+to):svgCmd("m",no,0),no=0,io=!1),so+1<eo&&Yi[ao+1]||(ro+=svgCmd("h",oo),oo=0)):no++}return ro}svgTag.render=function Yi(eo,to,ro){const no=Utils.getOptions(to),io=eo.modules.size,oo=eo.modules.data,ao=io+no.margin*2,so=no.color.light.a?"<path "+getColorAttrib(no.color.light,"fill")+' d="M0 0h'+ao+"v"+ao+'H0z"/>':"",lo="<path "+getColorAttrib(no.color.dark,"stroke")+' d="'+qrToPath(oo,io,no.margin)+'"/>',co='viewBox="0 0 '+ao+" "+ao+'"',fo='<svg xmlns="http://www.w3.org/2000/svg" '+(no.width?'width="'+no.width+'" height="'+no.width+'" ':"")+co+' shape-rendering="crispEdges">'+so+lo+`</svg>
720`;return typeof ro=="function"&&ro(null,fo),fo};const canPromise=canPromise$1,QRCode=qrcode,CanvasRenderer=canvas,SvgRenderer=svgTag;function renderCanvas(Yi,eo,to,ro,no){const io=[].slice.call(arguments,1),oo=io.length,ao=typeof io[oo-1]=="function";if(!ao&&!canPromise())throw new Error("Callback required as last argument");if(ao){if(oo<2)throw new Error("Too few arguments provided");oo===2?(no=to,to=eo,eo=ro=void 0):oo===3&&(eo.getContext&&typeof no>"u"?(no=ro,ro=void 0):(no=ro,ro=to,to=eo,eo=void 0))}else{if(oo<1)throw new Error("Too few arguments provided");return oo===1?(to=eo,eo=ro=void 0):oo===2&&!eo.getContext&&(ro=to,to=eo,eo=void 0),new Promise(function(so,lo){try{const co=QRCode.create(to,ro);so(Yi(co,eo,ro))}catch(co){lo(co)}})}try{const so=QRCode.create(to,ro);no(null,Yi(so,eo,ro))}catch(so){no(so)}}browser.create=QRCode.create;browser.toCanvas=renderCanvas.bind(null,CanvasRenderer.render);browser.toDataURL=renderCanvas.bind(null,CanvasRenderer.renderToDataURL);browser.toString=renderCanvas.bind(null,function(Yi,eo,to){return SvgRe
720nderer.render(Yi,to)});function _interopDefault$H(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$G=_interopDefault$H(reactExports),_extends$G=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$G=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},CalendarImportIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$G(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$G.createElement("svg",_extends$G({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$G.createElement("path",{d:"M12 12L8 16H11V22H13V16H16M19 3H18V1H16V3H8V1H6V3H5C3.9 3 3 3.9 3 5V19C3 20.11 3.9 21 5 21H9V19H5V8H19V19H15V21H19C20.11 21 21 20.11 21 19V5C21 3.9 20.11 3 19 3Z"}))},CalendarImportIcon$1=React$G.memo?React$G.memo(CalendarImportIcon):CalendarImportIcon,CalendarImportIcon_1=CalendarImportIcon$1;const CalendarImportIcon$2=getDefaultExportFromCjs(CalendarImportIcon_1);function _interopDefault$G(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$F=_interopDefault$G(reactExports),_extends$F=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$F=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},KeyIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$F(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$F.createElement("svg",_extends$F({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$F.createElement("path",{d:"M7 14C5.9 14 5 13.1 5 12S5.9 10 7 10 9 10.9 9 12 8.1 14 7 14M12.6 10C11.8 7.7 9.6 6 7 6C3.7 6 1 8.7 1 12S3.7 18 7 18C9.6 18 11.8 16.3 12.6 14H16V18H20V14H23V10H12.6Z"}))},KeyIcon$1=React$F.memo?React$F.memo(KeyIcon):KeyIcon,KeyIcon_1=KeyIcon$1;const KeyIcon$2=getDefaultExportFromCjs(KeyIcon_1);function _interopDefault$F(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$E=_interopDefault$F(reactExports),_extends$E=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$E=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},EditIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$E(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$E.createElement("svg",_extends$E({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$E.createElement("path",{d:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"}))},EditIcon$1=React$E.memo?React$E.memo(EditIcon):EditIcon,EditIcon_1=EditIcon$1;const EditIcon$2=getDefaultExportFromCjs(EditIcon_1);function _interopDefault$E(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$D=_interopDefault$E(reactExports),_extends$D=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$D=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},DeleteIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$D(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$D.createElement("svg",_extends$D({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$D.createElement("path",{d:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"}))},DeleteIcon$1=React$D.memo?React$D.memo(DeleteIcon):DeleteIcon,DeleteIcon_1=DeleteIcon$1;const DeleteIcon$2=getDefaultExportFromCjs(DeleteIcon_1);var MoreVert={},_interopRequireDefault$c=interopRequireDefaultExports;
720Object.defineProperty(MoreVert,"__esModule",{value:!0});var default_1$c=MoreVert.default=void 0,_createSvgIcon$c=_interopRequireDefault$c(requireCreateSvgIcon()),_jsxRuntime$c=jsxRuntimeExports;default_1$c=MoreVert.default=(0,_createSvgIcon$c.default)((0,_jsxRuntime$c.jsx)("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreVert");function _interopDefault$D(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$C=_interopDefault$D(reactExports),_extends$C=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$C=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},MoneyIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$C(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$C.createElement("svg",_extends$C({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$C.createElement("path",{d:"M5,6H23V18H5V6M14,9A3,3 0 0,1 17,12A3,3 0 0,1 14,15A3,3 0 0,1 11,12A3,3 0 0,1 14,9M9,8A2,2 0 0,1 7,10V14A2,2 0 0,1 9,16H19A2,2 0 0,1 21,14V10A2,2 0 0,1 19,8H9M1,10H3V20H19V22H1V10Z"}))},MoneyIcon$1=React$C.memo?React$C.memo(MoneyIcon):MoneyIcon,MoneyIcon_1=MoneyIcon$1;const MoneyIcon$2=getDefaultExportFromCjs(MoneyIcon_1);function _interopDefault$C(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$B=_interopDefault$C(reactExports),_extends$B=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$B=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},AccountDetailsIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$B(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$B.createElement("svg",_extends$B({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$B.createElement("path",{d:"M11 9C11 10.66 9.66 12 8 12C6.34 12 5 10.66 5 9C5 7.34 6.34 6 8 6C9.66 6 11 7.34 11 9M14 20H2V18C2 15.79 4.69 14 8 14C11.31 14 14 15.79 14 18M22 12V14H13V12M22 8V10H13V8M22 4V6H13V4Z"}))},AccountDetailsIcon$1=React$B.memo?React$B.memo(AccountDetailsIcon):AccountDetailsIcon,AccountDetailsIcon_1=AccountDetailsIcon$1;const AccountDetailsIcon$2=getDefaultExportFromCjs(AccountDetailsIcon_1);function _interopDefault$B(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$A=_interopDefault$B(reactExports),_extends$A=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$A=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},AccountPlusIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$A(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$A.createElement("svg",_extends$A({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$A.createElement("path",{d:"M15,14C12.33,14 7,15.33 7,18V20H23V18C23,15.33 17.67,14 15,14M6,10V7H4V10H1V12H4V15H6V12H9V10M15,12A4,4 0 0,0 19,8A4,4 0 0,0 15,4A4,4 0 0,0 11,8A4,4 0 0,0 15,12Z"}))},AccountPlusIcon$1=React$A.memo?React$A.memo(AccountPlusIcon):AccountPlusIcon,AccountPlusIcon_1=AccountPlusIcon$1;const AccountPlusIcon$2=getDefaultExportFromCjs(AccountPlusIcon_1);function _interopDefault$A(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$z=_interopDefault$A(reactExports),_extends$z=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$z=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},AccountEditIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$z(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$z.createElement("svg",_extends$z({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$z.createElement("path",{d:"M21.7,13.35L20.7,14.35L18.65,12.3L19.65,11.3C19.86,11.09 20.21,11.09 20.42,11.3L21.7,12.58C21.91,12.79 21.91,13.14 21.7,13.35M12,18.94L18.06,12.88L20.11,14.93L14.06,21H12V18.94M12,14C7.58,14 4,15.79 4,18V20H10V18.11L14,14.11C13.34,14.03 12.67,14 12,14M12,4A4,4 0 0,0 8,8A4,4 0 0,0 12,12A4,4 0 0,0 16,8A4,4 0 0,0 12,4Z"}))},AccountEditIcon$1=React$z.memo?React$z.memo(AccountEditIcon):AccountEditIcon,AccountEditIcon_1=AccountEditIcon$1;const AccountEditIcon$2=getDefaultExportFromCjs(AccountEditIcon_1);function _interopDefault$z(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$y=_interopDefault$z(reactExports),_extends$y=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$y=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},BankTransferInIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$y(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$y.createElement("svg",_extends$y({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$y.createElement("path",{d:"M2,15V12H5V10L9,13.5L5,17V15H2M22,8.7V10H10V8.7L16,5L22,8.7M10,17H22V19H10V17M15,11H17V16H15V11M11,11H13V16H11V11M19,11H21V16H19V11Z"}))},BankTransferInIcon$1=React$y.memo?React$y.memo(BankTransferInIcon):BankTransferInIcon,BankTransferInIcon_1=BankTransferInIcon$1;const BankTransferInIcon$2=getDefaultExportFromCjs(BankTransferInIcon_1);function _interopDefault$y(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$x=_interopDefault$y(reactExports),_extends$x=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$x=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},BankTransferOutIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$x(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$x.createElement("svg",_extends$x({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$x.createElement("path",{d:"M15,15V12H18V10L22,13.5L18,17V15H15M14,8.7V10H2V8.7L8,5L14,8.7M2,17H14V19H2V17M7,11H9V16H7V11M3,11H5V16H3V11M11,11H13V16H11V11Z"}))},BankTransferOutIcon$1=React$x.memo?React$x.memo(BankTransferOutIcon):BankTransferOutIcon,BankTransferOutIcon_1=BankTransferOutIcon$1;const BankTransferOutIcon$2=getDefaultExportFromCjs(BankTransferOutIcon_1);function _interopDefault$x(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$w=_interopDefault$x(reactExports),_extends$w=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$w=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},ShoppingIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$w(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$w.createElement("svg",_extends$w({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$w.createElement("path",{d:"M12,13A5,5 0 0,1 7,8H9A3,3 0 0,0 12,11A3,3 0 0,0 15,8H17A5,5 0 0,1 12,13M12,3A3,3 0 0,1 15,6H9A3,3 0 0,1 12,3M19,6H17A5,5 0 0,0 12,1A5,5 0 0,0 7,6H5C3.89,6 3,6.89 3,8V20A2,2 0 0,0 5,22H19A2,2 0 0,0 21,20V8C21,6.89 20.1,6 19,6Z"}))},ShoppingIcon$1=React$w.memo?React$w.memo(ShoppingIcon):ShoppingIcon,ShoppingIcon_1=ShoppingIcon$1;const ShoppingIcon$2=getDefaultExportFromCjs(ShoppingIcon_1);function _interopDefault$w(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$v=_interopDefault$w(reactExports),_extends$v=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$v=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},FormatListBulletedSquareIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$v(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$v.createElement("svg",_extends$v({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$v.createElement("path",{d:"M3,4H7V8H3V4M9,5V7H21V5H9M3,10H7V14H3V10M9,11V13H21V11H9M3,16H7V20H3V16M9,17V19H21V17H9"}))},FormatListBulletedSquareIcon$1=React$v.memo?React$v.memo(FormatListBulletedSquareIcon):FormatListBulletedSquareIcon,FormatListBulletedSquareIcon_1=FormatListBulletedSquareIcon$1;const FormatListBulletedSquareIcon$2=getDefaultExportFromCjs(FormatListBulletedSquareIcon_1);function _interopDefault$v(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$u=_interopDefault$v(reactExports),_extends$u=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$u=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},PlaylistEditIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$u(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$u.createElement("svg",_extends$u({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$u.createElement("path",{d:"M3 6V8H14V6H3M3 10V12H14V10H3M20 10.
7201C19.9 10.1 19.7 10.2 19.6 10.3L18.6 11.3L20.7 13.4L21.7 12.4C21.9 12.2 21.9 11.8 21.7 11.6L20.4 10.3C20.3 10.2 20.2 10.1 20 10.1M18.1 11.9L12 17.9V20H14.1L20.2 13.9L18.1 11.9M3 14V16H10V14H3Z"}))},PlaylistEditIcon$1=React$u.memo?React$u.memo(PlaylistEditIcon):PlaylistEditIcon,PlaylistEditIcon_1=PlaylistEditIcon$1;const PlaylistEditIcon$2=getDefaultExportFromCjs(PlaylistEditIcon_1);function _interopDefault$u(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$t=_interopDefault$u(reactExports),_extends$t=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$t=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},ClockOutlineIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$t(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$t.createElement("svg",_extends$t({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$t.createElement("path",{d:"M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z"}))},ClockOutlineIcon$1=React$t.memo?React$t.memo(ClockOutlineIcon):ClockOutlineIcon,ClockOutlineIcon_1=ClockOutlineIcon$1;const ClockOutlineIcon$2=getDefaultExportFromCjs(ClockOutlineIcon_1);function _interopDefault$t(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$s=_interopDefault$t(reactExports),_extends$s=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$s=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},DomainIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$s(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$s.createElement("svg",_extends$s({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$s.createElement("path",{d:"M18,15H16V17H18M18,11H16V13H18M20,19H12V17H14V15H12V13H14V11H12V9H20M10,7H8V5H10M10,11H8V9H10M10,15H8V13H10M10,19H8V17H10M6,7H4V5H6M6,11H4V9H6M6,15H4V13H6M6,19H4V17H6M12,7V3H2V21H22V7H12Z"}))},DomainIcon$1=React$s.memo?React$s.memo(DomainIcon):DomainIcon,DomainIcon_1=DomainIcon$1;const DomainIcon$2=getDefaultExportFromCjs(DomainIcon_1);function _interopDefault$s(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$r=_interopDefault$s(reactExports),_extends$r=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$r=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},CancelIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$r(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$r.createElement("svg",_extends$r({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$r.createElement("path",{d:"M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z"}))},CancelIcon$1=React$r.memo?React$r.memo(CancelIcon):CancelIcon,CancelIcon_1=CancelIcon$1;const CancelIcon$2=getDefaultExportFromCjs(CancelIcon_1);var base64$1={exports:{}};/*! https://mths.be/base64 v1.0.0 by @mathias | MIT license */base64$1.exports;(function(Yi,eo){(function(to){var ro=eo,no=Yi&&Yi.exports==ro&&Yi,io=typeof commonjsGlobal=="object"&&commonjsGlobal;(io.global===io||io.window===io)&&(to=io);var oo=function(mo){this.message=mo};oo.prototype=new Error,oo.prototype.name="InvalidCharacterError";var ao=function(mo){throw new oo(mo)},so="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
720+/",lo=/[\t\n\f\r ]/g,co=function(mo){mo=String(mo).replace(lo,"");var vo=mo.length;vo%4==0&&(mo=mo.replace(/==?$/,""),vo=mo.length),(vo%4==1||/[^+a-zA-Z0-9/]/.test(mo))&&ao("Invalid character: the string to be decoded is not correctly encoded.");for(var Co=0,bo,wo,yo="",Eo=-1;++Eo<vo;)wo=so.indexOf(mo.charAt(Eo)),bo=Co%4?bo*64+wo:wo,Co++%4&&(yo+=String.fromCharCode(255&bo>>(-2*Co&6)));return yo},uo=function(mo){mo=String(mo),/[^\0-\xFF]/.test(mo)&&ao("The string to be encoded contains characters outside of the Latin1 range.");for(var vo=mo.length%3,Co="",bo=-1,wo,yo,Eo,xo,So=mo.length-vo;++bo<So;)wo=mo.charCodeAt(bo)<<16,yo=mo.charCodeAt(++bo)<<8,Eo=mo.charCodeAt(++bo),xo=wo+yo+Eo,Co+=so.charAt(xo>>18&63)+so.charAt(xo>>12&63)+so.charAt(xo>>6&63)+so.charAt(xo&63);return vo==2?(wo=mo.charCodeAt(bo)<<8,yo=mo.charCodeAt(++bo),xo=wo+yo,Co+=so.charAt(xo>>10)+so.charAt(xo>>4&63)+so.charAt(xo<<2&63)+"="):vo==1&&(xo=mo.charCodeAt(bo),Co+=so.charAt(xo>>2)+so.charAt(xo<<4&63)+"=="),Co},fo={encode:uo,decode:co,version:"1.0.0"};if(ro&&!ro.nodeType)if(no)no.exports=fo;else for(var ho in fo)fo.hasOwnProperty(ho)&&(ro[ho]=fo[ho]);else to.base64=fo})(commonjsGlobal)})(base64$1,base64$1.exports);var base64Exports=base64$1.exports;const base64=getDefaultExportFromCjs(base64Exports);function _interopDefault$r(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$q=_interopDefault$r(reactExports),_extends$q=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$q=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},CreditCardPlusOutlineIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$q(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$q.createElement("svg",_extends$q({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$q.createElement("path",{d:"M21,18H24V20H21V23H19V20H16V18H19V15H21V18M19,8V6H3V8H19M19,12H3V18H14V20H3C1.89,20 1,19.1 1,18V6C1,4.89 1.89,4 3,4H19A2,2 0 0,1 21,6V13H19V12Z"}))},CreditCardPlusOutlineIcon$1=React$q.memo?React$q.memo(CreditCardPlusOutlineIcon):CreditCardPlusOutlineIcon,CreditCardPlusOutlineIcon_1=CreditCardPlusOutlineIcon$1;const CreditCardPlusOutlineIcon$2=getDefaultExportFromCjs(CreditCardPlusOutlineIcon_1);function _interopDefault$q(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$p=_interopDefault$q(reactExports),_extends$p=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$p=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},CreditCardOffOutlineIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$p(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$p.createElement("svg",_extends$p({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$p.createElement("path",{d:"M0.93,4.2L2.21,2.93L20,20.72L18.73,22L16.73,20H4C2.89,20 2,19.1 2,18V6C2,5.78 2.04,5.57 2.11,5.38L0.93,4.2M20,8V6H7.82L5.82,4H20A2,2 0 0,1 22,6V18C22,18.6 21.74,19.13 21.32,19.5L19.82,18H20V12H13.82L9.82,8H20M4,8H4.73L4,7.27V8M4,12V18H14.73L8.73,12H4Z"}))},CreditCardOffOutlineIcon$1=React$p.memo?React$p.memo(CreditCardOffOutlineIcon):CreditCardOffOutlineIcon,CreditCardOffOutlineIcon_1=CreditCardOffOutlineIcon$1;const CreditCardOffOutlineIcon$2=getDefaultExportFromCjs(CreditCardOffOutlineIcon_1);function _interopDefault$p(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$o=_interopDefault$p(reactExports),_extends$o=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$o=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to}
720,TrashCanOutlineIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$o(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$o.createElement("svg",_extends$o({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$o.createElement("path",{d:"M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z"}))},TrashCanOutlineIcon$1=React$o.memo?React$o.memo(TrashCanOutlineIcon):TrashCanOutlineIcon,TrashCanOutlineIcon_1=TrashCanOutlineIcon$1;const TrashCanOutlineIcon$2=getDefaultExportFromCjs(TrashCanOutlineIcon_1);var CardGiftcard={},_interopRequireDefault$b=interopRequireDefaultExports;Object.defineProperty(CardGiftcard,"__esModule",{value:!0});var default_1$b=CardGiftcard.default=void 0,_createSvgIcon$b=_interopRequireDefault$b(requireCreateSvgIcon()),_jsxRuntime$b=jsxRuntimeExports;default_1$b=CardGiftcard.default=(0,_createSvgIcon$b.default)((0,_jsxRuntime$b.jsx)("path",{d:"M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2m-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1M9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m11 15H4v-2h16zm0-5H4V8h5.08L7 10.83 8.62 12 11 8.76l1-1.36 1 1.36L15.38 12 17 10.83 14.92 8H20z"}),"CardGiftcard");var EmojiEventsRounded={},_interopRequireDefault$a=interopRequireDefaultExports;Object.defineProperty(EmojiEventsRounded,"__esModule",{value:!0});var default_1$a=EmojiEventsRounded.default=void 0,_createSvgIcon$a=_interopRequireDefault$a(requireCreateSvgIcon()),_jsxRuntime$a=jsxRuntimeExports;default_1$a=EmojiEventsRounded.default=(0,_createSvgIcon$a.default)((0,_jsxRuntime$a.jsx)("path",{d:"M19 5h-2V4c0-.55-.45-1-1-1H8c-.55 0-1 .45-1 1v1H5c-1.1 0-2 .9-2 2v1c0 2.55 1.92 4.63 4.39 4.94.63 1.5 1.98 2.63 3.61 2.96V19H8c-.55 0-1 .45-1 1s.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1h-3v-3.1c1.63-.33 2.98-1.46 3.61-2.96C19.08 12.63 21 10.55 21 8V7c0-1.1-.9-2-2-2M5 8V7h2v3.82C5.84 10.4 5 9.3 5 8m14 0c0 1.3-.84 2.4-2 2.82V7h2z"}),"EmojiEventsRounded");var ArrowBackIos={},_interopRequireDefault$9=interopRequireDefaultExports;Object.defineProperty(ArrowBackIos,"__esModule",{value:!0});var default_1$9=ArrowBackIos.default=void 0,_createSvgIcon$9=_interopRequireDefault$9(requireCreateSvgIcon()),_jsxRuntime$9=jsxRuntimeExports;default_1$9=ArrowBackIos.default=(0,_createSvgIcon$9.default)((0,_jsxRuntime$9.jsx)("path",{d:"M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"}),"ArrowBackIos");function _interopDefault$o(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$n=_interopDefault$o(reactExports),_extends$n=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$n=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},LifebuoyIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$n(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$n.createElement("svg",_extends$n({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$n.createElement("path",{d:"M19.79,15.41C20.74,13.24 20.74,10.75 19.79,8.59L17.05,9.83C17.65,11.21 17.65,12.78 17.06,14.17L19.79,15.41M15.42,4.21C13.25,3.26 10.76,3.26 8.59,4.21L9.83,6.94C11.22,6.35 12.79,6.35 14.18,6.95L15.42,4.21M4.21,8.58C3.26,10.76 3.26,13.24 4.21,15.42L6.95,14.17C6.35,12.79 6.35,11.21 6.95,9.82L4.21,8.58M8.59,19.79C10.76,20.74 13.25,20.74 15.42,19.78L14.18,17.05C12.8,17.65 11.22,17.65 9.84,17.06L8.59,19.79M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,8A4,4 0 0,0 8,12A4,4 0 0,0 12,16A4,4 0 0,0 16,12A4,4 0 0,0 12,8Z"}))},LifebuoyIcon$1=React$n.memo?React$n.memo(LifebuoyIcon):LifebuoyIcon,LifebuoyIcon_1=LifebuoyIcon$1;const LifebuoyIcon$2=getDefaultExportFromCjs(LifebuoyIcon_1);function _interopDefault$n(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$m=_interopDefault$n(reactExports),_extends$m=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$m=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},LogoutIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$m(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$m.createElement("svg",_extends$m({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$m.createElement("path",{d:"M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z"}))},LogoutIcon$1=React$m.memo?React$m.memo(LogoutIcon):LogoutIcon,LogoutIcon_1=LogoutIcon$1;const LogoutIcon$2=getDefaultExportFromCjs(LogoutIcon_1);function _interopDefault$m(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$l=_interopDefault$m(reactExports),_extends$l=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$l=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},AccountIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$l(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$l.createElement("svg",_extends$l({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$l.createElement("path",{d:"M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z"}))},AccountIcon$1=React$l.memo?React$l.memo(AccountIcon):AccountIcon,AccountIcon_1=AccountIcon$1;const AccountIcon$2=getDefaultExportFromCjs(AccountIcon_1);function _interopDefault$l(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$k=_interopDefault$l(reactExports),_extends$k=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$k=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},CalculatorIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$k(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$k.createElement("svg",_extends$k({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$k.createElement("path",{d:"M7,2H17A2,2 0 0,1 19,4V20A2,2 0 0,1 17,22H7A2,2 0 0,1 5,20V4A2,2 0 0,1 7,2M7,4V8H17V4H7M7,10V12H9V10H7M11,
72010V12H13V10H11M15,10V12H17V10H15M7,14V16H9V14H7M11,14V16H13V14H11M15,14V16H17V14H15M7,18V20H9V18H7M11,18V20H13V18H11M15,18V20H17V18H15Z"}))},CalculatorIcon$1=React$k.memo?React$k.memo(CalculatorIcon):CalculatorIcon,CalculatorIcon_1=CalculatorIcon$1;const CalculatorIcon$2=getDefaultExportFromCjs(CalculatorIcon_1);var HistoryRounded={},_interopRequireDefault$8=interopRequireDefaultExports;Object.defineProperty(HistoryRounded,"__esModule",{value:!0});var default_1$8=HistoryRounded.default=void 0,_createSvgIcon$8=_interopRequireDefault$8(requireCreateSvgIcon()),_jsxRuntime$8=jsxRuntimeExports;default_1$8=HistoryRounded.default=(0,_createSvgIcon$8.default)((0,_jsxRuntime$8.jsx)("path",{d:"M13.26 3C8.17 2.86 4 6.95 4 12H2.21c-.45 0-.67.54-.35.85l2.79 2.8c.2.2.51.2.71 0l2.79-2.8c.31-.31.09-.85-.36-.85H6c0-3.9 3.18-7.05 7.1-7 3.72.05 6.85 3.18 6.9 6.9.05 3.91-3.1 7.1-7 7.1-1.61 0-3.1-.55-4.28-1.48-.4-.31-.96-.28-1.32.08-.42.42-.39 1.13.08 1.49C9 20.29 10.91 21 13 21c5.05 0 9.14-4.17 9-9.26-.13-4.69-4.05-8.61-8.74-8.74m-.51 5c-.41 0-.75.34-.75.75v3.68c0 .35.19.68.49.86l3.12 1.85c.36.21.82.09 1.03-.26.21-.36.09-.82-.26-1.03l-2.88-1.71v-3.4c0-.4-.34-.74-.75-.74"}),"HistoryRounded");function _interopDefault$k(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$j=_interopDefault$k(reactExports),_extends$j=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$j=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},ChartAreasplineIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$j(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$j.createElement("svg",_extends$j({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$j.createElement("path",{d:"M17.45,15.18L22,7.31V19L22,21H2V3H4V15.54L9.5,6L16,9.78L20.24,2.45L21.97,3.45L16.74,12.5L10.23,8.75L4.31,19H6.57L10.96,11.44L17.45,15.18Z"}))},ChartAreasplineIcon$1=React$j.memo?React$j.memo(ChartAreasplineIcon):ChartAreasplineIcon,ChartAreasplineIcon_1=ChartAreasplineIcon$1;const ChartAreasplineIcon$2=getDefaultExportFromCjs(ChartAreasplineIcon_1);function _interopDefault$j(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$i=_interopDefault$j(reactExports),_extends$i=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$i=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},OfficeBuildingIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$i(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$i.createElement("svg",_extends$i({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$i.createElement("path",{d:"M5,3V21H11V17.5H13V21H19V3H5M7,5H9V7H7V5M11,5H13V7H11V5M15,5H17V7H15V5M7,9H9V11H7V9M11,9H13V11H11V9M15,9H17V11H15V9M7,13H9V15H7V13M11,13H13V15H11V13M15,13H17V15H15V13M7,17H9V19H7V17M15,17H17V19H15V17Z"}))},OfficeBuildingIcon$1=React$i.memo?React$i.memo(OfficeBuildingIcon):OfficeBuildingIcon,OfficeBuildingIcon_1=OfficeBuildingIcon$1;const OfficeBuildingIcon$2=getDefaultExportFromCjs(OfficeBuildingIcon_1);function _interopDefault$i(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$h=_interopDefault$i(reactExports),_extends$h=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$h=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},GoogleIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$h(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$h.createElement("svg",_extends$h({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$h.createElement("path",{d:"M21.35,11.1H12.18V13.83H18.69C18.36,17.64 15.19,19.27 12.19,19.27C8.36,19.27 5,16.25 5,12C5,7.9 8.2,4.73 12.2,4.73C15.29,4.73 17.1,6.7 17.1,6.7L19,4.72C19,4.72 16.56,2 12.1,2C6.42,2 2.03,6.8 2.03,12C2.03,17.05 6.16,22 12.25,22C17.6,22 21.5,18.33 21.5,12.91C21.5,11.76 21.35,11.1 21.35,11.1V11.1Z"}))},GoogleIcon$1=React$h.memo?React$h.memo(GoogleIcon):GoogleIcon,GoogleIcon_1=GoogleIcon$1;const GoogleIcon$2=getDefaultExportFromCjs(GoogleIcon_1);var ArrowBackRounded={},_interopRequireDefault$7=interopRequireDefaultExports;Object.defineProperty(ArrowBackRounded,"__esModule",{value:!0});var default_1$7=ArrowBackRounded.default=void 0,_createSvgIcon$7=_interopRequireDefault$7(requireCreateSvgIcon()),_jsxRuntime$7=jsxRuntimeExports;default_1$7=ArrowBackRounded.default=(0,_createSvgIcon$7.default)((0,_jsxRuntime$7.jsx)("path",{d:"M19 11H7.83l4.88-4.88c.39-.39.39-1.03 0-1.42a.996.996 0 0 0-1.41 0l-6.59 6.59c-.39.39-.39 1.02 0 1.41l6.59 6.59c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L7.83 13H19c.55 0 1-.45 1-1s-.45-1-1-1"}),"ArrowBackRounded");var ChevronRightRounded={},_interopRequireDefault$6=interopRequireDefaultExports;Object.defineProperty(ChevronRightRounded,"__esModule",{value:!0});var default_1$6=ChevronRightRounded.default=void 0,_createSvgIcon$6=_interopRequireDefault$6(requireCreateSvgIcon()),_jsxRuntime$6=jsxRuntimeExports;default_1$6=ChevronRightRounded.default=(0,_createSvgIcon$6.default)((0,_jsxRuntime$6.jsx)("path",{d:"M9.29 6.71c-.39.39-.39 1.02 0 1.41L13.17 12l-3.88 3.88c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41L10.7 6.7c-.38-.38-1.02-.38-1.41.01"}),"ChevronRightRounded");var QrCode2Rounded={},_interopRequireDefault$5=interopRequireDefaultExports;Object.defineProperty(QrCode2Rounded,"__esModule",{value:!0});
720var default_1$5=QrCode2Rounded.default=void 0,_createSvgIcon$5=_interopRequireDefault$5(requireCreateSvgIcon()),_jsxRuntime$5=jsxRuntimeExports;default_1$5=QrCode2Rounded.default=(0,_createSvgIcon$5.default)((0,_jsxRuntime$5.jsx)("path",{d:"M15 21h-2v-2h2zm-2-7h-2v5h2zm8-2h-2v4h2zm-2-2h-2v2h2zM7 12H5v2h2zm-2-2H3v2h2zm7-5h2V3h-2zm-7.5-.5v3h3v-3zM8 9H4c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h4c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1m-3.5 7.5v3h3v-3zM8 21H4c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h4c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1m8.5-16.5v3h3v-3zM20 9h-4c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h4c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1m-1 10v-3h-4v2h2v3h4v-2zm-2-7h-4v2h4zm-4-2H7v2h2v2h2v-2h2zm1-1V7h-2V5h-2v4zM6.75 5.25h-1.5v1.5h1.5zm0 12h-1.5v1.5h1.5zm12-12h-1.5v1.5h1.5z"}),"QrCode2Rounded");var SwitchAccountRounded={},_interopRequireDefault$4=interopRequireDefaultExports;Object.defineProperty(SwitchAccountRounded,"__esModule",{value:!0});var default_1$4=SwitchAccountRounded.default=void 0,_createSvgIcon$4=_interopRequireDefault$4(requireCreateSvgIcon()),_jsxRuntime$4=jsxRuntimeExports;default_1$4=SwitchAccountRounded.default=(0,_createSvgIcon$4.default)((0,_jsxRuntime$4.jsx)("path",{d:"M17 20H4V7c0-.55-.45-1-1-1s-1 .45-1 1v13c0 1.1.9 2 2 2h13c.55 0 1-.45 1-1s-.45-1-1-1m3-18H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-6 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3M7.76 16c1.47-1.83 3.71-3 6.24-3s4.77 1.17 6.24 3z"}),"SwitchAccountRounded");var dist$1={exports:{}};(function(Yi,eo){(function(to,ro){Yi.exports=ro(propTypesExports,reactExports)})(commonjsGlobal,function(to,ro){function no(Lo){return Lo&&typeof Lo=="object"&&"default"in Lo?Lo:{default:Lo}}var io=no(to),oo=no(ro);function ao(Lo,Uo){for(var Do=0;Do<Uo.length;Do++){var Oo=Uo[Do];Oo.enumerable=Oo.enumerable||!1,Oo.configurable=!0,"value"in Oo&&(Oo.writable=!0),Object.defineProperty(Lo,Oo.key,Oo)}}function so(Lo,Uo,Do){return Uo in Lo?Object.defineProperty(Lo,Uo,{value:Do,enumerable:!0,configurable:!0,writable:!0}):Lo[Uo]=Do,Lo}function lo(){return(lo=Object.assign||function(Lo){for(var Uo=1;Uo<arguments.length;Uo++){var Do=arguments[Uo];for(var Oo in Do)Object.prototype.hasOwnProperty.call(Do,Oo)&&(Lo[Oo]=Do[Oo])}return Lo}).apply(this,arguments)}function co(Lo,Uo){var Do,Oo=Object.keys(Lo);return Object.getOwnPropertySymbols&&(Do=Object.getOwnPropertySymbols(Lo),Uo&&(Do=Do.filter(function(ko){return Object.getOwnPropertyDescriptor(Lo,ko).enumerable})),Oo.push.apply(Oo,Do)),Oo}function uo(Lo){for(var Uo=1;Uo<arguments.length;Uo++){var Do=arguments[Uo]!=null?arguments[Uo]:{};Uo%2?co(Object(Do),!0).forEach(function(Oo){so(Lo,Oo,Do[Oo])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Lo,Object.getOwnPropertyDescriptors(Do)):co(Object(Do)).forEach(function(Oo){Object.defineProperty(Lo,Oo,Object.getOwnPropertyDescriptor(Do,Oo))})}return Lo}function fo(Lo){return(fo=Object.setPrototypeOf?Object.getPrototypeOf:function(Uo){return Uo.__proto__||Object.getPrototypeOf(Uo)})(Lo)}function ho(Lo,Uo){return(ho=Object.setPrototypeOf||function(Do,Oo){return Do.__proto__=Oo,Do})(Lo,Uo)}function mo(Lo,Uo){if(Lo==null)return{};var Do,Oo=(function(Fo,Qo){if(Fo==null)return{};for(var jo,Xo={},Zo=Object.keys(Fo),Wo=0;Wo<Zo.length;Wo++)jo=Zo[Wo],0<=Qo.indexOf(jo)||(Xo[jo]=Fo[jo]);return Xo})(Lo,Uo);if(Object.getOwnPropertySymbols)for(var ko=Object.getOwnPropertySymbols(Lo),Bo=0;Bo<ko.length;Bo++)Do=ko[Bo],0<=Uo.indexOf(Do)||Object.prototype.propertyIsEnumerable.call(Lo,Do)&&(Oo[Do]=Lo[Do]);return Oo}function vo(Lo){if(Lo===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Lo}function Co(Lo){var Uo=(function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}})();return function(){var Do,Oo,ko,Bo,Fo=fo(Lo);return Oo=Uo?(Do=fo(this).constructor,Reflect.construct(Fo,arguments,Do)):Fo.apply(this,arguments),ko=this,!(Bo=Oo)||typeof Bo!="object"&&typeof Bo!="function"?vo(ko):Bo}}function bo(Lo,Uo){return(function(Do){if(Array.isArray(Do))return Do})(Lo)||(function(Do,Oo){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(Do)))){var ko=[],Bo=!0,Fo=!1,Qo=void 0;try{for(var jo,Xo=Do[Symbol.iterator]();!(Bo=(jo=Xo.next()).done)&&(ko.push(jo.value),!Oo||ko.length!==Oo);Bo=!0);}catch(Zo){Fo=!0,Qo=Zo}finally{try{Bo||Xo.return==null||Xo.return()}finally{if(Fo)throw Qo}}return ko}})(Lo,Uo)||wo(Lo,Uo)||(function(){throw new TypeError(`Invalid attempt to de
720structure non-iterable instance.
721In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function wo(Lo,Uo){if(Lo){if(typeof Lo=="string")return yo(Lo,Uo);var Do=Object.prototype.toString.call(Lo).slice(8,-1);return Do==="Object"&&Lo.constructor&&(Do=Lo.constructor.name),Do==="Map"||Do==="Set"?Array.from(Lo):Do==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Do)?yo(Lo,Uo):void 0}}function yo(Lo,Uo){(Uo==null||Uo>Lo.length)&&(Uo=Lo.length);for(var Do=0,Oo=new Array(Uo);Do<Uo;Do++)Oo[Do]=Lo[Do];return Oo}function Eo(Lo,Uo){return new Promise(function(Do,Oo){var ko,Bo=new Image;Bo.onload=function(){return Do(Bo)},Bo.onerror=Oo,!((ko=Lo)!==null&&ko.match(/^\s*data:([a-z]+\/[a-z]+(;[a-z-]+=[a-z-]+)?)?(;base64)?,[a-z0-9!$&',()*+;=\-._~:@/?%\s]*\s*$/i))&&Uo&&(Bo.crossOrigin=Uo),Bo.src=Lo})}var xo,So=!(typeof window>"u"||typeof navigator>"u"||!("ontouchstart"in window||0<navigator.msMaxTouchPoints)),To=typeof File<"u",Ro={touch:{react:{down:"onTouchStart",mouseDown:"onMouseDown"},native:{down:"touchstart",mouseDown:"mousedown",drag:"touchmove",move:"touchmove",mouseMove:"mousemove",up:"touchend",mouseUp:"mouseup"}},desktop:{react:{down:"onMouseDown"},native:{down:"mousedown",drag:"dragStart",move:"mousemove",up:"mouseup"}}},Po=So?Ro.touch:Ro.desktop,zo=typeof window<"u"&&window.devicePixelRatio?window.devicePixelRatio:1,Ho={x:.5,y:.5},Vo=(function(){(function(ko,Bo){if(typeof Bo!="function"&&Bo!==null)throw new TypeError("Super expression must either be null or a function");ko.prototype=Object.create(Bo&&Bo.prototype,{constructor:{value:ko,writable:!0,configurable:!0}}),Bo&&ho(ko,Bo)})(Oo,oo.default.Component);var Lo,Uo,Do=Co(Oo);function Oo(ko){var Bo;return(function(Fo,Qo){if(!(Fo instanceof Qo))throw new TypeError("Cannot call a class as a function")})(this,Oo),so(vo(Bo=Do.call(this,ko)),"state",{drag:!1,my:null,mx:null,image:Ho}),so(vo(Bo),"handleImageReady",function(Fo){var Qo=Bo.getInitialSize(Fo.width,Fo.height);Qo.resource=Fo,Qo.x=.5,Qo.y=.5,Qo.backgroundColor=Bo.props.backgroundColor,Bo.setState({drag:!1,image:Qo},Bo.props.onImageReady),Bo.props.onLoadSuccess(Qo)}),so(vo(Bo),"clearImage",function(){Bo.canvas.getContext("2d").clearRect(0,0,Bo.canvas.width,Bo.canvas.height),Bo.setState({image:Ho})}),so(vo(Bo),"handleMouseDown",function(Fo){(Fo=Fo||window.event).preventDefault(),Bo.setState({drag:!0,mx:null,my:null})}),so(vo(Bo),"handleMouseUp",function(){Bo.state.drag&&(Bo.setState({drag:!1}),Bo.props.onMouseUp())}),so(vo(Bo),"handleMouseMove",function(Fo){var Qo,jo,Xo,Zo,Wo,ta,ra,da,pa,sa,ya,na,ea,oa,la,_a;Fo=Fo||window.event,Bo.state.drag!==!1&&(Fo.preventDefault(),Xo={mx:Qo=Fo.targetTouches?Fo.targetTouches[0].pageX:Fo.clientX,my:jo=Fo.targetTouches?Fo.targetTouches[0].pageY:Fo.clientY},_a=Bo.props.rotate,_a=(_a%=360)<0?_a+360:_a,Bo.state.mx&&Bo.state.my&&(Zo=Bo.state.mx-Qo,Wo=Bo.state.my-jo,ta=Bo.state.image.width*Bo.props.scale,ra=Bo.state.image.height*Bo.props.scale,pa=(da=Bo.getCroppingRect()).x,sa=da.y,pa*=ta,sa*=ra,ya=function(Ea){return Ea*(Math.PI/180)},na=Math.cos(ya(_a)),oa=sa+-Zo*(ea=Math.sin(ya(_a)))+Wo*na,la={x:(pa+Zo*na+Wo*ea)/ta+1/Bo.props.scale*Bo.getXScale()/2,y:oa/ra+1/Bo.props.scale*Bo.getYScale()/2},Bo.props.onPositionChange(la),Xo.image=uo(uo({},Bo.state.image),la)),Bo.setState(Xo),Bo.props.onMouseMove(Fo))}),so(vo(Bo),"setCanvas",function(Fo){Bo.canvas=Fo}),Bo.canvas=null,Bo}return Lo=Oo,(Uo=[{key:"componentDidMount",value:function(){this.props.disableHiDPIScaling&&(zo=1);var ko,Bo,Fo=this.canvas.getContext("2d");this.props.image&&this.loadImage(this.props.image),this.paint(Fo),document&&(ko=!!(function(){var Qo=!1;try{var jo=Object.defineProperty({},"passive",{get:function(){Qo=!0}});window.addEventListener("test",jo,jo),window.removeEventListener("test",jo,jo)}catch{Qo=!1}return Qo})()&&{passive:!1},Bo=Po.native,document.addEventListener(Bo.move,this.handleMouseMove,ko),document.addEventListener(Bo.up,this.handleMouseUp,ko),So&&(document.addEventListener(Bo.mouseMove,this.handleMouseMove,ko),document.addEventListener(Bo.mouseUp,this.handleMouseUp,ko)))}},{key:"componentDidUpdate",value:function(ko,Bo){this.props.image&&this.props.image!==ko.image||this.props.width!==ko.width||this.props.height!==ko.height||this.props.backgroundColor!==ko.backgroundColor?this.loadImage(this.props.image):this.props.image||Bo.image===Ho||this.clearImage();var Fo=this.canvas.getContext("2d");Fo.clearRect(0,0,this.canvas.width,this.canvas.height),this.paint(Fo),this.paintImage(Fo,this.state.image,this.props.border),ko.image===this.props.image&&ko.width===this.props.width&&ko.height===this.props.height&&ko.position===this.props.position&&ko.scale===this.props.scale&&ko.rotate===this.props.rotate&&Bo.my===this.state.my&&Bo.mx===this.state.mx&&Bo.image.x===this.state.image.x&&Bo.image.y===this.state.image.y&&Bo.backgroundColor===this.state.backgroundColor||this.props.onImageChange()}},{key:"componentWillUnmount",value:function(){var ko;document&&(ko=Po.native,document.removeEventListener(ko.move,this.handleMouseMove,!1),document.removeEventListener(ko.up,this.handleMouseUp,!1),So&&(document.removeEventListener(ko.mouseMove,this.handleMouseMove,!1),document.removeEventListener(ko.mouseUp,this.handleMouseUp,!1)))}},{key:"isVertical",value:function(){return!this.props.disableCanvasRotation&&this.props.rotate%180!=0}},{key:"getBorders",value:function(ko){var Bo=0<arguments.length&&k
721o!==void 0?ko:this.props.border;return Array.isArray(Bo)?Bo:[Bo,Bo]}},{key:"getDimensions",value:function(){var ko=this.props,Bo=ko.width,Fo=ko.height,Qo=ko.rotate,jo=ko.border,Xo={},Zo=bo(this.getBorders(jo),2),Wo=Zo[0],ta=Zo[1],ra=Bo,da=Fo;return this.isVertical()?(Xo.width=da,Xo.height=ra):(Xo.width=ra,Xo.height=da),Xo.width+=2*Wo,Xo.height+=2*ta,{canvas:Xo,rotate:Qo,width:Bo,height:Fo,border:jo}}},{key:"getImage",value:function(){var ko=this.getCroppingRect(),Bo=this.state.image;ko.x*=Bo.resource.width,ko.y*=Bo.resource.height,ko.width*=Bo.resource.width,ko.height*=Bo.resource.height;var Fo=document.createElement("canvas");this.isVertical()?(Fo.width=ko.height,Fo.height=ko.width):(Fo.width=ko.width,Fo.height=ko.height);var Qo=Fo.getContext("2d");return Qo.translate(Fo.width/2,Fo.height/2),Qo.rotate(this.props.rotate*Math.PI/180),Qo.translate(-Fo.width/2,-Fo.height/2),this.isVertical()&&Qo.translate((Fo.width-Fo.height)/2,(Fo.height-Fo.width)/2),Bo.backgroundColor&&(Qo.fillStyle=Bo.backgroundColor,Qo.fillRect(-ko.x,-ko.y,Bo.resource.width,Bo.resource.height)),Qo.drawImage(Bo.resource,-ko.x,-ko.y),Fo}},{key:"getImageScaledToCanvas",value:function(){var ko=this.getDimensions(),Bo=ko.width,Fo=ko.height,Qo=document.createElement("canvas");return this.isVertical()?(Qo.width=Fo,Qo.height=Bo):(Qo.width=Bo,Qo.height=Fo),this.paintImage(Qo.getContext("2d"),this.state.image,0,1),Qo}},{key:"getXScale",value:function(){var ko=this.props.width/this.props.height,Bo=this.state.image.width/this.state.image.height;return Math.min(1,ko/Bo)}},{key:"getYScale",value:function(){var ko=this.props.height/this.props.width,Bo=this.state.image.height/this.state.image.width;return Math.min(1,ko/Bo)}},{key:"getCroppingRect",value:function(){var ko=this.props.position||{x:this.state.image.x,y:this.state.image.y},Bo=1/this.props.scale*this.getXScale(),Fo=1/this.props.scale*this.getYScale(),Qo={x:ko.x-Bo/2,y:ko.y-Fo/2,width:Bo,height:Fo},jo=0,Xo=1-Qo.width,Zo=0,Wo=1-Qo.height;return(this.props.disableBoundaryChecks||1<Bo||1<Fo)&&(jo=-Qo.width,Zo=-Qo.height,Wo=Xo=1),uo(uo({},Qo),{},{x:Math.max(jo,Math.min(Qo.x,Xo)),y:Math.max(Zo,Math.min(Qo.y,Wo))})}},{key:"loadImage",value:function(ko){var Bo;To&&ko instanceof File?this.loadingImage=(Bo=ko,new Promise(function(Fo,Qo){var jo=new FileReader;jo.onload=function(Xo){try{var Zo=Eo(Xo.target.result);Fo(Zo)}catch(Wo){Qo(Wo)}},jo.readAsDataURL(Bo)}).then(this.handleImageReady).catch(this.props.onLoadFailure)):typeof ko=="string"&&(this.loadingImage=Eo(ko,this.props.crossOrigin).then(this.handleImageReady).catch(this.props.onLoadFailure))}},{key:"getInitialSize",value:function(ko,Bo){var Fo,Qo,jo=this.getDimensions();return Bo/ko<jo.height/jo.width?Qo=ko*((Fo=this.getDimensions().height)/Bo):Fo=Bo*((Qo=this.getDimensions().width)/ko),{height:Fo,width:Qo}}},{key:"paintImage",value:function(ko,Bo,Fo,Qo){var jo,Xo=3<arguments.length&&Qo!==void 0?Qo:zo;Bo.resource&&(jo=this.calculatePosition(Bo,Fo),ko.save(),ko.translate(ko.canvas.width/2,ko.canvas.height/2),ko.rotate(this.props.rotate*Math.PI/180),ko.translate(-ko.canvas.width/2,-ko.canvas.height/2),this.isVertical()&&ko.translate((ko.canvas.width-ko.canvas.height)/2,(ko.canvas.height-ko.canvas.width)/2),ko.scale(Xo,Xo),ko.globalCompositeOperation="destination-over",ko.drawImage(Bo.resource,jo.x,jo.y,jo.width,jo.height),Bo.backgroundColor&&(ko.fillStyle=Bo.backgroundColor,ko.fillRect(jo.x,jo.y,jo.width,jo.height)),ko.restore())}},{key:"calculatePosition",value:function(ko,Bo){ko=ko||this.state.image;var Fo=bo(this.getBorders(Bo),2),Qo=Fo[0],jo=Fo[1],Xo=this.getCroppingRect(),Zo=ko.width*this.props.scale,Wo=ko.height*this.props.scale,ta=-Xo.x*Zo,ra=-Xo.y*Wo;return this.isVertical()?(ta+=jo,ra+=Qo):(ta+=Qo,ra+=jo),{x:ta,y:ra,height:Wo,width:Zo}}},{key:"paint",value:function(ko){ko.save(),ko.scale(zo,zo),ko.translate(0,0),ko.fillStyle="rgba("+this.props.color.slice(0,4).join(",")+")";var Bo,Fo,Qo,jo,Xo,Zo,Wo,ta,ea=this.props.borderRadius,ra=this.getDimensions(),da=bo(this.getBorders(ra.border),2),pa=da[0],sa=da[1],ya=ra.canvas.height,na=ra.canvas.width,ea=Math.max(ea,0);
721ea=Math.min(ea,na/2-pa,ya/2-sa),ko.beginPath(),Bo=ko,jo=na-2*(Fo=pa),Xo=ya-2*(Qo=sa),(Zo=ea)===0?Bo.rect(Fo,Qo,jo,Xo):(Wo=jo-Zo,ta=Xo-Zo,Bo.translate(Fo,Qo),Bo.arc(Zo,Zo,Zo,Math.PI,1.5*Math.PI),Bo.lineTo(Wo,0),Bo.arc(Wo,Zo,Zo,1.5*Math.PI,2*Math.PI),Bo.lineTo(jo,ta),Bo.arc(Wo,ta,Zo,2*Math.PI,.5*Math.PI),Bo.lineTo(Zo,Xo),Bo.arc(Zo,ta,Zo,.5*Math.PI,Math.PI),Bo.translate(-Fo,-Qo)),ko.rect(na,0,-na,ya),ko.fill("evenodd"),ko.restore()}},{key:"render",value:function(){var ko=this.props,Bo=(ko.scale,ko.rotate,ko.image,ko.border,ko.borderRadius,ko.width,ko.height,ko.position,ko.color,ko.backgroundColor,ko.style),Fo=(ko.crossOrigin,ko.onLoadFailure,ko.onLoadSuccess,ko.onImageReady,ko.onImageChange,ko.onMouseUp,ko.onMouseMove,ko.onPositionChange,ko.disableBoundaryChecks,ko.disableHiDPIScaling,ko.disableCanvasRotation,mo(ko,["scale","rotate","image","border","borderRadius","width","height","position","color","backgroundColor","style","crossOrigin","onLoadFailure","onLoadSuccess","onImageReady","onImageChange","onMouseUp","onMouseMove","onPositionChange","disableBoundaryChecks","disableHiDPIScaling","disableCanvasRotation"])),Qo=this.getDimensions(),jo={width:Qo.canvas.width,height:Qo.canvas.height,cursor:this.state.drag?"grabbing":"grab",touchAction:"none"},Xo={width:Qo.canvas.width*zo,height:Qo.canvas.height*zo,style:uo(uo({},jo),Bo)};return Xo[Po.react.down]=this.handleMouseDown,So&&(Xo[Po.react.mouseDown]=this.handleMouseDown),oo.default.createElement("canvas",lo({ref:this.setCanvas},Xo,Fo))}}])&&ao(Lo.prototype,Uo),Oo})();return so(Vo,"propTypes",{scale:io.default.number,rotate:io.default.number,image:io.default.oneOfType([io.default.string].concat((function(Lo){if(Array.isArray(Lo))return yo(Lo)})(xo=To?[io.default.instanceOf(File)]:[])||(function(Lo){if(typeof Symbol<"u"&&Symbol.iterator in Object(Lo))return Array.from(Lo)})(xo)||wo(xo)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
722In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})())),border:io.default.oneOfType([io.default.number,io.default.arrayOf(io.default.number)]),borderRadius:io.default.number,width:io.default.number,height:io.default.number,position:io.default.shape({x:io.default.number,y:io.default.number}),color:io.default.arrayOf(io.default.number),backgroundColor:io.default.string,crossOrigin:io.default.oneOf(["","anonymous","use-credentials"]),onLoadFailure:io.default.func,onLoadSuccess:io.default.func,onImageReady:io.default.func,onImageChange:io.default.func,onMouseUp:io.default.func,onMouseMove:io.default.func,onPositionChange:io.default.func,disableBoundaryChecks:io.default.bool,disableHiDPIScaling:io.default.bool,disableCanvasRotation:io.default.bool}),so(Vo,"defaultProps",{scale:1,rotate:0,border:25,borderRadius:0,width:200,height:200,color:[0,0,0,.5],onLoadFailure:function(){},onLoadSuccess:function(){},onImageReady:function(){},onImageChange:function(){},onMouseUp:function(){},onMouseMove:function(){},onPositionChange:function(){},disableBoundaryChecks:!1,disableHiDPIScaling:!1,disableCanvasRotation:!0}),Vo})})(dist$1);var distExports$1=dist$1.exports;const AvatarEditor=getDefaultExportFromCjs(distExports$1);function _interopDefault$h(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$g=_interopDefault$h(reactExports),_extends$g=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$g=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},RotateLeftIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$g(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$g.createElement("svg",_extends$g({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$g.createElement("path",{d:"M13,4.07V1L8.45,5.55L13,10V6.09C15.84,6.57 18,9.03 18,12C18,14.97 15.84,17.43 13,17.91V19.93C16.95,19.44 20,16.08 20,12C20,7.92 16.95,4.56 13,4.07M7.1,18.32C8.26,19.22 9.61,19.76 11,19.93V17.9C10.13,17.75 9.29,17.41 8.54,16.87L7.1,18.32M6.09,13H4.07C4.24,14.39 4.79,15.73 5.69,16.89L7.1,15.47C6.58,14.72 6.23,13.88 6.09,13M7.11,8.53L5.7,7.11C4.8,8.27 4.24,9.61 4.07,11H6.09C6.23,10.13 6.58,9.28 7.11,8.53Z"}))},RotateLeftIcon$1=React$g.memo?React$g.memo(RotateLeftIcon):RotateLeftIcon,RotateLeftIcon_1=RotateLeftIcon$1;const RotateLeftIcon$2=getDefaultExportFromCjs(RotateLeftIcon_1);function _interopDefault$g(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$f=_interopDefault$g(reactExports),_extends$f=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$f=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},RotateRightIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$f(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$f.createElement("svg",_extends$f({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$f.createElement("path",{d:"M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z"}))},RotateRightIcon$1=React$f.memo?React$f.memo(RotateRightIcon):RotateRightIcon,RotateRightIcon_1=RotateRightIcon$1;const RotateRightIcon$2=getDefaultExportFromCjs(RotateRightIcon_1);function _interopDefault$f(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$e=_interopDefault$f(reactExports),_extends$e=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$e=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},CheckCircleOutlineIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$e(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$e.createElement("svg",_extends$e({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$e.createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M12 20C7.59 20 4 16.41 4 12S7.59 4 12 4 20 7.59 20 12 16.41 20 12 20M16.59 7.58L10 14.17L7.41 11.59L6 13L10 17L18 9L16.59 7.58Z"}))},CheckCircleOutlineIcon$1=React$e.memo?React$e.memo(CheckCircleOutlineIcon):CheckCircleOutlineIcon,CheckCircleOutlineIcon_1=CheckCircleOutlineIcon$1;const CheckCircleOutlineIcon$2=getDefaultExportFromCjs(CheckCircleOutlineIcon_1);/*! *****************************************************************************
723Copyright (c) Microsoft Corporation.
724
725Permission to use, copy, modify, and/or distribute this software for any
726purpose with or without fee is hereby granted.
727
728THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
729REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
730AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
731INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
732LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
733OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
734PERFORMANCE OF THIS SOFTWARE.
735***************************************************************************** */function __awaiter(Yi,eo,to,ro){function no(io){return io instanceof to?io:new to(function(oo){oo(io)})}
735return new(to||(to=Promise))(function(io,oo){function ao(co){try{lo(ro.next(co))}catch(uo){oo(uo)}}function so(co){try{lo(ro.throw(co))}catch(uo){oo(uo)}}function lo(co){co.done?io(co.value):no(co.value).then(ao,so)}lo((ro=ro.apply(Yi,[])).next())})}let cachedScripts={};function loadScript(Yi){const eo=cachedScripts[Yi];if(eo)return eo;const to=new Promise((ro,no)=>{const io=document.createElement("script");io.src=Yi,io.async=!0;const oo=()=>{ro()},ao=()=>{so(),delete cachedScripts[Yi],io.remove(),no(new Error(`Unable to load script ${Yi}`))};io.addEventListener("load",oo),io.addEventListener("error",ao),document.body.appendChild(io);function so(){io.removeEventListener("load",oo),io.removeEventListener("error",ao)}});return cachedScripts[Yi]=to,to}class ButtonManager{constructor(eo){this.handleClick=to=>__awaiter(this,void 0,void 0,function*(){const ro=this.config;if(!ro)throw new Error("google-pay-button: Missing configuration");const no=this.createLoadPaymentDataRequest(ro);try{if(ro.onClick&&ro.onClick(to),to.defaultPrevented)return;const io=yield this.client.loadPaymentData(no);ro.onLoadPaymentData&&ro.onLoadPaymentData(io)}catch(io){io.statusCode==="CANCELED"?ro.onCancel&&ro.onCancel(io):ro.onError?ro.onError(io):console.error(io)}}),this.options=eo}getElement(){return this.element}isGooglePayLoaded(){var eo,to;return"google"in(window||global)&&!!(!((to=(eo=google==null?void 0:google.payments)===null||eo===void 0?void 0:eo.api)===null||to===void 0)&&to.PaymentsClient)}mount(eo){var to;return __awaiter(this,void 0,void 0,function*(){if(!this.isGooglePayLoaded())try{yield loadScript("https://pay.google.com/gp/p/js/pay.js")}catch(ro){!((to=this.config)===null||to===void 0)&&to.onError?this.config.onError(ro):console.error(ro);return}this.element=eo,eo&&(this.appendStyles(),this.config&&this.updateElement())})}unmount(){this.element=void 0}configure(eo){let to;return this.config=eo,(!this.oldInvalidationValues||this.isClientInvalidated(eo))&&(to=this.updateElement()),this.oldInvalidationValues=this.getInvalidationValues(eo),to??Promise.resolve()}createClientOptions(eo){const to={environment:eo.environment,merchantInfo:this.createMerchantInfo(eo)};return(eo.onPaymentDataChanged||eo.onPaymentAuthorized)&&(to.paymentDataCallbacks={},eo.onPaymentDataChanged&&(to.paymentDataCallbacks.onPaymentDataChanged=ro=>eo.onPaymentDataChanged(ro)||{}),eo.onPaymentAuthorized&&(to.paymentDataCallbacks.onPaymentAuthorized=ro=>eo.onPaymentAuthorized(ro)||{})),to}createIsReadyToPayRequest(eo){const to=eo.paymentRequest;return{apiVersion:to.apiVersion,apiVersionMinor:to.apiVersionMinor,allowedPaymentMethods:to.allowedPaymentMethods,existingPaymentMethodRequired:eo.existingPaymentMethodRequired}}createLoadPaymentDataRequest(eo){return Object.assign(Object.assign({},eo.paymentRequest),{merchantInfo:this.createMerchantInfo(eo)})}createMerchantInfo(eo){const to=Object.assign({},eo.paymentRequest.merchantInfo);return to.softwareInfo||(to.softwareInfo={id:this.options.softwareInfoId,version:this.options.softwareInfoVersion}),to}isMounted(){return this.element!=null&&this.element.isConnected!==!1}removeButton(){if(this.element instanceof ShadowRoot||this.element instanceof Element)for(const eo of Array.from(this.element.children))eo.tagName!=="STYLE"&&eo.remove()}updateElement(){return __awaiter(this,void 0,void 0,function*(){if(!this.isMounted())return;const eo=this.getElement();if(!this.config)throw new Error("google-pay-button: Missing configuration");this.removeButton();try{this.client=new google.payments.api.PaymentsClient(this.createClientOptions(this.config))}catch(ao){this.config.onError?this.config.onError(ao):console.error(ao);return}const to={buttonType:this.config.buttonType,buttonColor:this.config.buttonColor,buttonRadius:this.config.buttonRadius,buttonSizeMode:this.config.buttonSizeMode,buttonLocale:this.config.buttonLocale,onClick:this.handleClick,allowedPaymentMethods:this.config.paymentRequest.allowedPaymentMethods},ro=eo.getRootNode();ro instanceof ShadowRoot&&(to.buttonRootNode=ro);const no=this.client.createButton(to);this.setClassName(eo,[eo.className,"not-ready"]),eo.appendChild(no);let io=!1,oo;try{oo=yield this.client.isReadyToPay(this.createIsReadyToPayRequest(this.config)),io=oo.result&&!this.config.existingPaymentMethodRequired||oo.result&&oo.paymentMethodPresent&&this.config.existingPaymentMethodRequired||!1}catch(ao){this.config.onError?this.config.onError(ao):console.error(ao)}
735if(this.isMounted()){if(io){try{this.client.prefetchPaymentData(this.createLoadPaymentDataRequest(this.config))}catch(ao){console.log("Error with prefetch",ao)}this.setClassName(eo,(eo.className||"").split(" ").filter(ao=>ao&&ao!=="not-ready"))}if((this.isReadyToPay!==(oo==null?void 0:oo.result)||this.paymentMethodPresent!==(oo==null?void 0:oo.paymentMethodPresent))&&(this.isReadyToPay=!!(oo!=null&&oo.result),this.paymentMethodPresent=oo==null?void 0:oo.paymentMethodPresent,this.config.onReadyToPayChange)){const ao={isButtonVisible:io,isReadyToPay:this.isReadyToPay};this.paymentMethodPresent&&(ao.paymentMethodPresent=this.paymentMethodPresent),this.config.onReadyToPayChange(ao)}}})}setClassName(eo,to){const ro=to.filter(no=>no).join(" ");ro?eo.className=ro:eo.removeAttribute("class")}appendStyles(){var eo,to,ro;if(typeof document>"u")return;const no=(eo=this.element)===null||eo===void 0?void 0:eo.getRootNode(),io=`default-google-style-${this.options.cssSelector.replace(/[^\w-]+/g,"")}-${(to=this.config)===null||to===void 0?void 0:to.buttonLocale}`;if(no&&!(!((ro=no.getElementById)===null||ro===void 0)&&ro.call(no,io))){const oo=document.createElement("style");oo.id=io,oo.type="text/css",oo.innerHTML=`
736          ${this.options.cssSelector} {
737            display: inline-block;
738          }
739          ${this.options.cssSelector}.not-ready {
740            width: 0;
741            height: 0;
742            overflow: hidden;
743          }
744        `,no instanceof Document&&no.head?no.head.appendChild(oo):no.appendChild(oo)}}isClientInvalidated(eo){return this.oldInvalidationValues?this.getInvalidationValues(eo).some((ro,no)=>JSON.stringify(ro)!==JSON.stringify(this.oldInvalidationValues[no])):!0}getInvalidationValues(eo){var to,ro;return[eo.environment,eo.existingPaymentMethodRequired,!!eo.onPaymentDataChanged,!!eo.onPaymentAuthorized,eo.buttonType,eo.buttonColor,eo.buttonRadius,eo.buttonLocale,eo.buttonSizeMode,eo.paymentRequest.merchantInfo.merchantId,eo.paymentRequest.merchantInfo.merchantName,(to=eo.paymentRequest.merchantInfo.softwareInfo)===null||to===void 0?void 0:to.id,(ro=eo.paymentRequest.merchantInfo.softwareInfo)===null||ro===void 0?void 0:ro.version,eo.paymentRequest.allowedPaymentMethods]}}var name="@google-pay/button-react",version="3.1.0";const CLASS="google-pay-button-container";class GooglePayButton extends React$1F.Component{constructor(){super(...arguments),this.manager=new ButtonManager({cssSelector:`.${CLASS}`,softwareInfoId:name,softwareInfoVersion:version}),this.elementRef=React$1F.createRef()}componentDidMount(){return __awaiter(this,void 0,void 0,function*(){const eo=this.elementRef.current;eo&&(yield this.manager.configure(this.props),yield this.manager.mount(eo))})}componentWillUnmount(){this.manager.unmount()}componentDidUpdate(){this.manager.configure(this.props)}render(){return React$1F.createElement("div",{ref:this.elementRef,className:[CLASS,this.props.className].filter(eo=>eo).join(" "),style:this.props.style})}}function _interopDefault$e(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$d=_interopDefault$e(reactExports),_extends$d=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$d=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},StarIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$d(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$d.createElement("svg",_extends$d({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$d.createElement("path",{d:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"}))},StarIcon$1=React$d.memo?React$d.memo(StarIcon):StarIcon,StarIcon_1=StarIcon$1;const StarIcon$2=getDefaultExportFromCjs(StarIcon_1);function _interopDefault$d(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$c=_interopDefault$d(reactExports),_extends$c=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$c=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},MoreVertIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$c(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$c.createElement("svg",_extends$c({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$c.createElement("path",{d:"M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z"}))},MoreVertIcon$1=React$c.memo?React$c.memo(MoreVertIcon):MoreVertIcon,MoreVertIcon_1=MoreVertIcon$1;const MoreVertIcon$2=getDefaultExportFromCjs(MoreVertIcon_1);function _interopDefault$c(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$b=_interopDefault$c(reactExports),_extends$b=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$b=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},ImageIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$b(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$b.createElement("svg",_extends$b({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$b.createElement("path",{d:"M8.5,13.5L11,16.5L14.5,12L19,18H5M21,19V5C21,3.89 20.1,3 19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19Z"}))},ImageIcon$1=React$b.memo?React$b.memo(ImageIcon):ImageIcon,ImageIcon_1=ImageIcon$1;const ImageIcon$2=getDefaultExportFromCjs(ImageIcon_1);function _interopDefault$b(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$a=_interopDefault$b(reactExports),_extends$a=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$a=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},ContentCopyIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$a(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$a.createElement("svg",_extends$a({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$a.createElement("path",{d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"}))},ContentCopyIcon$1=React$a.memo?React$a.memo(ContentCopyIcon):ContentCopyIcon,ContentCopyIcon_1=ContentCopyIcon$1;const ContentCopyIcon$2=getDefaultExportFromCjs(ContentCopyIcon_1);function _interopDefault$a(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$9=_interopDefault$a(reactExports),_extends$9=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$9=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},ShoppingOutlineIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$9(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$9.createElement("svg",_extends$9({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$9.createElement("path",{d:"M19 6H17C17 3.2 14.8 1 12 1S7 3.2 7 6H5C3.9 6 3 6.9 3 8V20C3 21.1 3.9 22 5 22H19C20.1 22 21 21.1 21 20V8C21 6.9 20.1 6 19 6M12 3C13.7 3 15 4.3 15 6H9C9 4.3 10.3 3 12 3M19 20H5V8H19V20M12 12C10.3 12 9 10.7 9 9H7C7 11.8 9.2 14 12 14S17 11.8 17 9H15C15 10.7 13.7 12 12 12Z"}))},ShoppingOutlineIcon$1=React$9.memo?React$9.memo(ShoppingOutlineIcon):ShoppingOutlineIcon,ShoppingOutlineIcon_1=ShoppingOutlineIcon$1;const ShoppingOutlineIcon$2=getDefaultExportFromCjs(ShoppingOutlineIcon_1);function _interopDefault$9(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$8=_interopDefault$9(reactExports),_extends$8=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$8=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},PlusIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$8(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$8.createElement("svg",_extends$8({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$8.createElement("path",{d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"}))},PlusIcon$1=React$8.memo?React$8.memo(PlusIcon):PlusIcon,PlusIcon_1=PlusIcon$1;const PlusIcon$2=getDefaultExportFromCjs(PlusIcon_1);function _interopDefault$8(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$7=_interopDefault$8(reactExports),_extends$7=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$7=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},SafeSquareOutlineIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$7(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$7.createElement("svg",_extends$7({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$7.createElement("path",{d:"M10 12C10 10.9 10.9 10 12 10C13.1 10 14 10.9 14 12C14 13.1 13.1 14 12 14C10.9 14 10 13.1 10 12M7.8 17.7L6.3 16.3L7.8 14.8C7.3 14 7 13 7 12C7 11 7.3 10 7.8 9.3L6.3 7.8L7.8 6.3L9.2 7.8C10 7.3 11 7 12 7C13 7 14 7.3 14.8 7.8L16.3 6.3L17.7 7.7L16.2 9.2C16.7 10 17 11 17 12C17 13 16.7 14 16.2 14.8L17.7 16.3L16.3 17.7L14.8 16.2C14 16.7 13 17 12 17C11 17 10 16.7 9.3 16.2L7.8 17.7M12 9C10.3 9 9 10.3 9 12C9 13.7 10.3 15 12 15C13.7 15 15 13.7 15 12C15 10.3 13.7 9 12 9M20 2C21.1 2 22 2.9 22 4V20C22 21.1 21.1 22 20 22H19V23H15V22H9V23H5V22H4C2.9 22 2 21.1 2 20V4C2 2.9 2.9 2 4 2H20M20 20V4H4V20H20Z"}))},SafeSquareOutlineIcon$1=React$7.memo?React$7.memo(SafeSquareOutlineIcon):SafeSquareOutlineIcon,SafeSquareOutlineIcon_1=SafeSquareOutlineIcon$1;const SafeSquareOutlineIcon$2=getDefaultExportFromCjs(SafeSquareOutlineIcon_1);function _interopDefault$7(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$6=_interopDefault$7(reactExports),_extends$6=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$6=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},ShieldIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$6(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$6.createElement("svg",_extends$6({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$6.createElement("path",{d:"M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1Z"}))}
744,ShieldIcon$1=React$6.memo?React$6.memo(ShieldIcon):ShieldIcon,ShieldIcon_1=ShieldIcon$1;const ShieldIcon$2=getDefaultExportFromCjs(ShieldIcon_1);function _interopDefault$6(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$5=_interopDefault$6(reactExports),_extends$5=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$5=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},CrosshairsQuestionIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$5(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$5.createElement("svg",_extends$5({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$5.createElement("path",{d:"M3.05 13H1V11H3.05C3.5 6.83 6.83 3.5 11 3.05V1H13V3.05C17.17 3.5 20.5 6.83 20.95 11H23V13H20.95C20.5 17.17 17.17 20.5 13 20.95V23H11V20.95C6.83 20.5 3.5 17.17 3.05 13M12 5C8.13 5 5 8.13 5 12S8.13 19 12 19 19 15.87 19 12 15.87 5 12 5M11.13 17.25H12.88V15.5H11.13V17.25M12 6.75C10.07 6.75 8.5 8.32 8.5 10.25H10.25C10.25 9.28 11.03 8.5 12 8.5S13.75 9.28 13.75 10.25C13.75 12 11.13 11.78 11.13 14.63H12.88C12.88 12.66 15.5 12.44 15.5 10.25C15.5 8.32 13.93 6.75 12 6.75Z"}))},CrosshairsQuestionIcon$1=React$5.memo?React$5.memo(CrosshairsQuestionIcon):CrosshairsQuestionIcon,CrosshairsQuestionIcon_1=CrosshairsQuestionIcon$1;const CrosshairsQuestionIcon$2=getDefaultExportFromCjs(CrosshairsQuestionIcon_1);function _interopDefault$5(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$4=_interopDefault$5(reactExports),_extends$4=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$4=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},ShieldCheckIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$4(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$4.createElement("svg",_extends$4({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$4.createElement("path",{d:"M10,17L6,13L7.41,11.59L10,14.17L16.59,7.58L18,9M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1Z"}))},ShieldCheckIcon$1=React$4.memo?React$4.memo(ShieldCheckIcon):ShieldCheckIcon,ShieldCheckIcon_1=ShieldCheckIcon$1;const ShieldCheckIcon$2=getDefaultExportFromCjs(ShieldCheckIcon_1);function _interopDefault$4(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$3=_interopDefault$4(reactExports),_extends$3=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$3=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},AccountMultipleIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$3(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$3.createElement("svg",_extends$3({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$3.createElement("path",{d:"M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z"}))},AccountMultipleIcon$1=React$3.memo?React$3.memo(AccountMultipleIcon):AccountMultipleIcon,AccountMultipleIcon_1=AccountMultipleIcon$1;const AccountMultipleIcon$2=getDefaultExportFromCjs(AccountMultipleIcon_1);var isCheckBoxInput=Yi=>Yi.type==="checkbox",isDateObject=Yi=>Yi instanceof Date,isNullOrUndefined=Yi=>Yi==null;const isObjectType=Yi=>typeof Yi=="object";var isObject=Yi=>!isNullOrUndefined(Yi)&&!Array.isArray(Yi)&&isObjectType(Yi)&&!isDateObject(Yi),getEventValue=Yi=>isObject(Yi)&&Yi.target?isCheckBoxInput(Yi.target)?Yi.target.checked:Yi.target.value:Yi,getNodeParentName=Yi=>Yi.substring(0,Yi.search(/\.\d+(\.|$)/))||Yi,isNameInFieldArray=(Yi,eo)=>Yi.has(getNodeParentName(eo)),isPlainObject=Yi=>{const eo=Yi.constructor&&Yi.constructor.prototype;return isObject(eo)&&eo.hasOwnProperty("isPrototypeOf")},isWeb=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function cloneObject(Yi){let eo;const to=Array.isArray(Yi);if(Yi instanceof Date)eo=new Date(Yi);else if(Yi instanceof Set)eo=new Set(Yi);else if(!(isWeb&&(Yi instanceof Blob||Yi instanceof FileList))&&(to||isObject(Yi)))if(eo=to?[]:{},!to&&!isPlainObject(Yi))eo=Yi;else for(const ro in Yi)Yi.hasOwnProperty(ro)&&(eo[ro]=cloneObject(Yi[ro]));else return Yi;return eo}var compact=Yi=>
vendor: 22,491 bytes, line 744
744Array.isArray(Yi)?Yi.filter(Boolean):[],isUndefined=Yi=>Yi===void 0,get=(Yi,eo,to)=>{if(!eo||!isObject(Yi))return to;const ro=compact(eo.split(/[,[\].]+?/)).reduce((no,io)=>isNullOrUndefined(no)?no:no[io],Yi);return isUndefined(ro)||ro===Yi?isUndefined(Yi[eo])?to:Yi[eo]:ro},isBoolean=Yi=>typeof Yi=="boolean",isKey=Yi=>/^\w*$/.test(Yi),stringToPath=Yi=>compact(Yi.replace(/["|']|\]/g,"").split(/\.|\[/)),set=(Yi,eo,to)=>{let ro=-1;const no=isKey(eo)?[eo]:stringToPath(eo),io=no.length,oo=io-1;for(;++ro<io;){const ao=no[ro];let so=to;if(ro!==oo){const lo=Yi[ao];so=isObject(lo)||Array.isArray(lo)?lo:isNaN(+no[ro+1])?{}:[]}if(ao==="__proto__")return;Yi[ao]=so,Yi=Yi[ao]}return Yi};const EVENTS={BLUR:"blur",FOCUS_OUT:"focusout"},VALIDATION_MODE={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},INPUT_VALIDATION_RULES={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"};React$1F.createContext(null);var getProxyFormState=(Yi,eo,to,ro=!0)=>{const no={defaultValues:eo._defaultValues};for(const io in Yi)Object.defineProperty(no,io,{get:()=>{const oo=io;return eo._proxyFormState[oo]!==VALIDATION_MODE.all&&(eo._proxyFormState[oo]=!ro||VALIDATION_MODE.all),Yi[oo]}});return no},isEmptyObject=Yi=>isObject(Yi)&&!Object.keys(Yi).length,shouldRenderFormState=(Yi,eo,to,ro)=>{to(Yi);const{name:no,...io}=Yi;return isEmptyObject(io)||Object.keys(io).length>=Object.keys(eo).length||Object.keys(io).find(oo=>eo[oo]===VALIDATION_MODE.all)},convertToArrayPayload=Yi=>Array.isArray(Yi)?Yi:[Yi];function useSubscribe(Yi){const eo=React$1F.useRef(Yi);eo.current=Yi,React$1F.useEffect(()=>{const to=!Yi.disabled&&eo.current.subject&&eo.current.subject.subscribe({next:eo.current.next});return()=>{to&&to.unsubscribe()}},[Yi.disabled])}var isString=Yi=>typeof Yi=="string",generateWatchOutput=(Yi,eo,to,ro,no)=>isString(Yi)?(ro&&eo.watch.add(Yi),get(to,Yi,no)):Array.isArray(Yi)?Yi.map(io=>(ro&&eo.watch.add(io),get(to,io))):(ro&&(eo.watchAll=!0),to),appendErrors=(Yi,eo,to,ro,no)=>eo?{...to[Yi],types:{...to[Yi]&&to[Yi].types?to[Yi].types:{},[ro]:no||!0}}:{},getValidationModes=Yi=>({isOnSubmit:!Yi||Yi===VALIDATION_MODE.onSubmit,isOnBlur:Yi===VALIDATION_MODE.onBlur,isOnChange:Yi===VALIDATION_MODE.onChange,isOnAll:Yi===VALIDATION_MODE.all,isOnTouch:Yi===VALIDATION_MODE.onTouched}),isWatched=(Yi,eo,to)=>!to&&(eo.watchAll||eo.watch.has(Yi)||[...eo.watch].some(ro=>Yi.startsWith(ro)&&/^\.\w+/.test(Yi.slice(ro.length))));const iterateFieldsByAction=(Yi,eo,to,ro)=>{for(const no of to||Object.keys(Yi)){const io=get(Yi,no);if(io){const{_f:oo,...ao}=io;if(oo){if(oo.refs&&oo.refs[0]&&eo(oo.refs[0],no)&&!ro)break;if(oo.ref&&eo(oo.ref,oo.name)&&!ro)break;iterateFieldsByAction(ao,eo)}else isObject(ao)&&iterateFieldsByAction(ao,eo)}}};var updateFieldArrayRootError=(Yi,eo,to)=>{const ro=convertToArrayPayload(get(Yi,to));return set(ro,"root",eo[to]),set(Yi,to,ro),Yi},isFileInput=Yi=>Yi.type==="file",isFunction=Yi=>typeof Yi=="function",isHTMLElement=Yi=>{if(!isWeb)return!1;const eo=Yi?Yi.ownerDocument:0;return Yi instanceof(eo&&eo.defaultView?eo.defaultView.HTMLElement:HTMLElement)},isMessage=Yi=>isString(Yi),isRadioInput=Yi=>Yi.type==="radio",isRegex=Yi=>Yi instanceof RegExp;const defaultResult={value:!1,isValid:!1},validResult={value:!0,isValid:!0};var getCheckboxValue=Yi=>{if(Array.isArray(Yi)){if(Yi.length>1){const eo=Yi.filter(to=>to&&to.checked&&!to.disabled).map(to=>to.value);return{value:eo,isValid:!!eo.length}}return Yi[0].checked&&!Yi[0].disabled?Yi[0].attributes&&!isUndefined(Yi[0].attributes.value)?isUndefined(Yi[0].value)||Yi[0].value===""?validResult:{value:Yi[0].value,isValid:!0}:validResult:defaultResult}return defaultResult};const defaultReturn={isValid:!1,value:null};var getRadioValue=Yi=>Array.isArray(Yi)?Yi.reduce((eo,to)=>to&&to.checked&&!to.disabled?{isValid:!0,value:to.value}:eo,defaultReturn):defaultReturn;function getValidateError(Yi,eo,to="validate"){if(isMessage(Yi)||Array.isArray(Yi)&&Yi.every(isMessage)||isBoolean(Yi)&&!Yi)return{type:to,message:isMessage(Yi)?Yi:"",ref:eo}}var getValueAndMessage=Yi=>isObject(Yi)&&!isRegex(Yi)?Yi:{value:Yi,message:""},validateField=async(Yi,eo,to,ro,no)=>{const{ref:io,refs:oo,required:ao,maxLength:so,minLength:lo,min:co,max:uo,pattern:fo,validate:ho,name:mo,valueAsNumber:vo,mount:Co,disabled:bo}=Yi._f,wo=get(eo,mo);if(!Co||bo)return{};const yo=oo?oo[0]:io,Eo=Vo=>{ro&&yo.reportValidity&&(yo.setCustomValidity(isBoolean(Vo)?"":Vo||""),yo.reportValidity())},xo={},So=isRadioInput(io),To=isCheckBoxInput(io),Ro=So||To,Po=(vo||isFileInput(io))&&isUndefined(io.value)&&isUndefined(wo)||isHTMLElement(io)&&io.value===""||wo===""||Array.isArray(wo)&&!wo.length,zo=appendErrors.bind(null,mo,to,xo),Ho=(Vo,Lo,Uo,Do=INPUT_VALIDATION_RULES.maxLength,Oo=INPUT_VALIDATION_RULES.minLength)=>{const ko=Vo?Lo:Uo;xo[mo]={type:Vo?Do:Oo,message:ko,ref:io,...zo(Vo?Do:Oo,ko)}};if(no?!Array.isArray(wo)||!wo.length:ao&&(!Ro&&(Po||isNullOrUndefined(wo))||isBoolean(wo)&&!wo||To&&!getCheckboxValue(oo).isValid||So&&!getRadioValue(oo).isValid)){const{value:Vo,message:Lo}=isMessage(ao)?{value:!!ao,message:ao}:getValueAndMessage(ao);if(Vo&&(xo[mo]={type:INPUT_VALIDATION_RULES.required,message:Lo,ref:yo,...zo(INPUT_VALIDATION_RULES.required,Lo)},!to))return Eo(Lo),xo}if(!Po&&(!isNullOrUndefined(co)||!isNullOrUndefined(uo))){let Vo,Lo;const Uo=getValueAndMessage(uo),Do=getValueAndMessage(co);if(!isNullOrUndefined(wo)&&!isNaN(wo)){const Oo=io.valueAsNumber||wo&&+wo;isNullOrUndefined(Uo.value)||(Vo=Oo>Uo.value),isNullOrUndefined(Do.value)||(Lo=Oo<Do.value)}else{const Oo=io.valueAsDate||new Date(wo),ko=Qo=>new Date(new Date().toDateString()+" "+Qo),Bo=io.type=="time",Fo=io.type=="week";isString(Uo.value)&&wo&&(Vo=Bo?ko(wo)>ko(Uo.value):Fo?wo>Uo.value:Oo>new Date(Uo.value)),isString(Do.value)&&wo&&(Lo=Bo?ko(wo)<ko(Do.value):Fo?wo<Do.value:Oo<new Date(Do.value))}if((Vo||Lo)&&(Ho(!!Vo,Uo.message,Do.message,INPUT_VALIDATION_RULES.max,INPUT_VALIDATION_RULES.min),!to))return Eo(xo[mo].message),xo}if((so||lo)&&!Po&&(isString(wo)||no&&Array.isArray(wo))){const Vo=getValueAndMessage(so),Lo=getValueAndMessage(lo),Uo=!isNullOrUndefined(Vo.value)&&wo.length>+Vo.value,Do=!isNullOrUndefined(Lo.value)&&wo.length<+Lo.value;if((Uo||Do)&&(Ho(Uo,Vo.message,Lo.message),!to))return Eo(xo[mo].message),xo}if(fo&&!Po&&isString(wo)){const{value:Vo,message:Lo}=getValueAndMessage(fo);if(isRegex(Vo)&&!wo.match(Vo)&&(xo[mo]={type:INPUT_VALIDATION_RULES.pattern,message:Lo,ref:io,...zo(INPUT_VALIDATION_RULES.pattern,Lo)},!to))return Eo(Lo),xo}if(ho){if(isFunction(ho)){const Vo=await ho(wo,eo),Lo=getValidateError(Vo,yo);if(Lo&&(xo[mo]={...Lo,...zo(INPUT_VALIDATION_RULES.validate,Lo.message)},!to))return Eo(Lo.message),xo}else if(isObject(ho)){let Vo={};for(const Lo in ho){if(!isEmptyObject(Vo)&&!to)break;const Uo=getValidateError(await ho[Lo](wo,eo),yo,Lo);Uo&&(Vo={...Uo,...zo(Lo,Uo.message)},Eo(Uo.message),to&&(xo[mo]=Vo))}if(!isEmptyObject(Vo)&&(xo[mo]={ref:yo,...Vo},!to))return xo}}return Eo(!0),xo};function baseGet(Yi,eo){const to=eo.slice(0,-1).length;let ro=0;for(;ro<to;)Yi=isUndefined(Yi)?ro++:Yi[eo[ro++]];return Yi}function isEmptyArray(Yi){for(const eo in Yi)if(Yi.hasOwnProperty(eo)&&!isUndefined(Yi[eo]))return!1;return!0}function unset(Yi,eo){const to=Array.isArray(eo)?eo:isKey(eo)?[eo]:stringToPath(eo),ro=to.length===1?Yi:baseGet(Yi,to),no=to.length-1,io=to[no];return ro&&delete ro[io],no!==0&&(isObject(ro)&&isEmptyObject(ro)||Array.isArray(ro)&&isEmptyArray(ro))&&unset(Yi,to.slice(0,-1)),Yi}var createSubject=()=>{let Yi=[];return{get observers(){return Yi},next:no=>{for(const io of Yi)io.next&&io.next(no)},subscribe:no=>(Yi.push(no),{unsubscribe:()=>{Yi=Yi.filter(io=>io!==no)}}),unsubscribe:()=>{Yi=[]}}},isPrimitive=Yi=>isNullOrUndefined(Yi)||!isObjectType(Yi);function deepEqual(Yi,eo){if(isPrimitive(Yi)||isPrimitive(eo))return Yi===eo;if(isDateObject(Yi)&&isDateObject(eo))return Yi.getTime()===eo.getTime();const to=Object.keys(Yi),ro=Object.keys(eo);if(to.length!==ro.length)return!1;for(const no of to){const io=Yi[no];if(!ro.includes(no))return!1;if(no!=="ref"){const oo=eo[no];if(isDateObject(io)&&isDateObject(oo)||isObject(io)&&isObject(oo)||Array.isArray(io)&&Array.isArray(oo)?!deepEqual(io,oo):io!==oo)return!1}}return!0}var isMultipleSelect=Yi=>Yi.type==="select-multiple",isRadioOrCheckbox=Yi=>isRadioInput(Yi)||isCheckBoxInput(Yi),live=Yi=>isHTMLElement(Yi)&&Yi.isConnected,objectHasFunction=Yi=>{for(const eo in Yi)if(isFunction(Yi[eo]))return!0;return!1};function markFieldsDirty(Yi,eo={}){const to=Array.isArray(Yi);if(isObject(Yi)||to)for(const ro in Yi)Array.isArray(Yi[ro])||isObject(Yi[ro])&&!objectHasFunction(Yi[ro])?(eo[ro]=Array.isArray(Yi[ro])?[]:{},markFieldsDirty(Yi[ro],eo[ro])):isNullOrUndefined(Yi[ro])||(eo[ro]=!0);return eo}function getDirtyFieldsFromDefaultValues(Yi,eo,to){const ro=Array.isArray(Yi);if(isObject(Yi)||ro)for(const no in Yi)Array.isArray(Yi[no])||isObject(Yi[no])&&!objectHasFunction(Yi[no])?isUndefined(eo)||isPrimitive(to[no])?to[no]=Array.isArray(Yi[no])?markFieldsDirty(Yi[no],[]):{...markFieldsDirty(Yi[no])}:getDirtyFieldsFromDefaultValues(Yi[no],isNullOrUndefined(eo)?{}:eo[no],to[no]):to[no]=!deepEqual(Yi[no],eo[no]);return to}var getDirtyFields=(Yi,eo)=>getDirtyFieldsFromDefaultValues(Yi,eo,markFieldsDirty(eo)),getFieldValueAs=(Yi,{valueAsNumber:eo,valueAsDate:to,setValueAs:ro})=>isUndefined(Yi)?Yi:eo?Yi===""?NaN:Yi&&+Yi:to&&isString(Yi)?new Date(Yi):ro?ro(Yi):Yi;function getFieldValue(Yi){const eo=Yi.ref;if(!(Yi.refs?Yi.refs.every(to=>to.disabled):eo.disabled))return isFileInput(eo)?eo.files:isRadioInput(eo)?getRadioValue(Yi.refs).value:isMultipleSelect(eo)?[...eo.selectedOptions].map(({value:to})=>to):isCheckBoxInput(eo)?getCheckboxValue(Yi.refs).value:getFieldValueAs(isUndefined(eo.value)?Yi.ref.value:eo.value,Yi)}var getResolverOptions=(Yi,eo,to,ro)=>{const no={};for(const io of Yi){const oo=get(eo,io);oo&&set(no,io,oo._f)}return{criteriaMode:to,names:[...Yi],fields:no,shouldUseNativeValidation:ro}},getRuleValue=Yi=>isUndefined(Yi)?Yi:isRegex(Yi)?Yi.source:isObject(Yi)?isRegex(Yi.value)?Yi.value.source:Yi.value:Yi,hasValidation=Yi=>Yi.mount&&(Yi.required||Yi.min||Yi.max||Yi.maxLength||Yi.minLength||Yi.pattern||Yi.validate);function schemaErrorLookup(Yi,eo,to){const ro=get(Yi,to);if(ro||isKey(to))return{error:ro,name:to};const no=to.split(".");for(;no.length;){const io=no.join("."),oo=get(eo,io),ao=get(Yi,io);if(oo&&!Array.isArray(oo)&&to!==io)return{name:to};if(ao&&ao.type)return{name:io,error:ao};no.pop()}return{name:to}}var skipValidation=(Yi,eo,to,ro,no)=>no.isOnAll?!1:!to&&no.isOnTouch?!(eo||Yi):(to?ro.isOnBlur:no.isOnBlur)?!Yi:(to?ro.isOnChange:no.isOnChange)?Yi:!0,unsetEmptyArray=(Yi,eo)=>!compact(get(Yi,eo)).length&&unset(Yi,eo);const defaultOptions={mode:VALIDATION_MODE.onSubmit,reValidateMode:VALIDATION_MODE.onChange,shouldFocusError:!0};function createFormControl(Yi={}){let eo={...defaultOptions,...Yi},to={submitCount:0,isDirty:!1,isLoading:isFunction(eo.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:eo.errors||{},disabled:eo.disabled||!1},ro={},no=isObject(eo.defaultValues)||isObject(eo.values)?cloneObject(eo.defaultValues||eo.values)||{}:{},io=eo.shouldUnregister?{}:cloneObject(no),oo={action:!1,mount:!1,watch:!1},ao={mount:new Set,unMount:new Set,array:new Set,watch:new Set},so,lo=0;const co={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},uo={values:createSubject(),array:createSubject(),state:createSubject()},fo=getValidationModes(eo.mode),ho=getValidationModes(eo.reValidateMode),mo=eo.criteriaMode===VALIDATION_MODE.all,vo=aa=>Ca=>{clearTimeout(lo),lo=setTimeout(aa,Ca)},Co=async aa=>{if(co.isValid||aa){const Ca=eo.resolver?isEmptyObject((await Ro()).errors):await zo(ro,!0);Ca!==to.isValid&&uo.state.next({isValid:Ca})}},bo=(aa,Ca)=>{(co.isValidating||co.validatingFields)&&((aa||Array.from(ao.mount)).forEach(Sa=>{Sa&&(Ca?set(to.validatingFields,Sa,Ca):unset(to.validatingFields,Sa))}),uo.state.next({validatingFields:to.validatingFields,isValidating:!isEmptyObject(to.validatingFields)}))},wo=(aa,Ca=[],Sa,Ia,Ta=!0,va=!0)=>{if(Ia&&Sa){if(oo.action=!0,va&&Array.isArray(get(ro,aa))){const xa=Sa(get(ro,aa),Ia.argA,Ia.argB);Ta&&set(ro,aa,xa)}if(va&&Array.isArray(get(to.errors,aa))){const xa=Sa(get(to.errors,aa),Ia.argA,Ia.argB);Ta&&set(to.errors,aa,xa),unsetEmptyArray(to.errors,aa)}if(co.touchedFields&&va&&Array.isArray(get(to.touchedFields,aa))){const xa=Sa(get(to.touchedFields,aa),Ia.argA,Ia.argB);Ta&&set(to.touchedFields,aa,xa)}co.dirtyFields&&(to.dirtyFields=getDirtyFields(no,io)),uo.state.next({name:aa,isDirty:Vo(aa,Ca),dirtyFields:to.dirtyFields,errors:to.errors,isValid:to.isValid})}else set(io,aa,Ca)},yo=(aa,Ca)=>{set(to.errors,aa,Ca),uo.state.next({errors:to.errors})},Eo=aa=>{to.errors=aa,uo.state.next({errors:to.errors,isValid:!1})},xo=(aa,Ca,Sa,Ia)=>{const Ta=get(ro,aa);if(Ta){const va=get(io,aa,isUndefined(Sa)?get(no,aa):Sa);isUndefined(va)||Ia&&Ia.defaultChecked||Ca?set(io,aa,Ca?va:getFieldValue(Ta._f)):Do(aa,va),oo.mount&&Co()}},So=(aa,Ca,Sa,Ia,Ta)=>{let va=!1,xa=!1;const Oa={name:aa},Da=!!(get(ro,aa)&&get(ro,aa)._f&&get(ro,aa)._f.disabled);if(!Sa||Ia){co.isDirty&&(xa=to.isDirty,to.isDirty=Oa.isDirty=Vo(),va=xa!==Oa.isDirty);const ia=Da||deepEqual(get(no,aa),Ca);xa=!!(!Da&&get(to.dirtyFields,aa)),ia||Da?unset(to.dirtyFields,aa):set(to.dirtyFields,aa,!0),Oa.dirtyFields=to.dirtyFields,va=va||co.dirtyFields&&xa!==!ia}if(Sa){const ia=get(to.touchedFields,aa);ia||(set(to.touchedFields,aa,Sa),Oa.touchedFields=to.touchedFields,va=va||co.touchedFields&&ia!==Sa)}return va&&Ta&&uo.state.next(Oa),va?Oa:{}},To=(aa,Ca,Sa,Ia)=>{const Ta=get(to.errors,aa),va=co.isValid&&isBoolean(Ca)&&to.isValid!==Ca;if(Yi.delayError&&Sa?(so=vo(()=>yo(aa,Sa)),so(Yi.delayError)):(clearTimeout(lo),so=null,Sa?set(to.errors,aa,Sa):unset(to.errors,aa)),(Sa?!deepEqual(Ta,Sa):Ta)||!isEmptyObject(Ia)||va){const xa={...Ia,...va&&isBoolean(Ca)?{isValid:Ca}:{},errors:to.errors,name:aa};to={...to,...xa},uo.state.next(xa)}},Ro=async aa=>{bo(aa,!0);const Ca=await eo.resolver(io,eo.context,getResolverOptions(aa||ao.mount,ro,eo.criteriaMode,eo.shouldUseNativeValidation));return bo(aa),Ca},Po=async aa=>{const{errors:Ca}=await Ro(aa);if(aa)for(const Sa of aa){const Ia=get(Ca,Sa);Ia?set(to.errors,Sa,Ia):unset(to.errors,Sa)}else to.errors=Ca;return Ca},zo=async(aa,Ca,Sa={valid:!0})=>{for(const Ia in aa){const Ta=aa[Ia];if(Ta){const{_f:va,...xa}=Ta;if(va){const Oa=ao.array.has(va.name);bo([Ia],!0);const Da=await validateField(Ta,io,mo,eo.shouldUseNativeValidation&&!Ca,Oa);if(bo([Ia]),Da[va.name]&&(Sa.valid=!1,Ca))break;!Ca&&(get(Da,va.name)?Oa?updateFieldArrayRootError(to.errors,Da,va.name):set(to.errors,va.name,Da[va.name]):unset(to.errors,va.name))}!isEmptyObject(xa)&&await zo(xa,Ca,Sa)}}return Sa.valid},Ho=()=>{for(const aa of ao.unMount){const Ca=get(ro,aa);Ca&&(Ca._f.refs?Ca._f.refs.every(Sa=>!live(Sa)):!live(Ca._f.ref))&&ra(aa)}ao.unMount=new Set},Vo=(aa,Ca)=>(aa&&Ca&&set(io,aa,Ca),!deepEqual(jo(),no)),Lo=(aa,Ca,Sa)=>generateWatchOutput(aa,ao,{...oo.mount?io:isUndefined(Ca)?no:isString(aa)?{[aa]:Ca}:Ca},Sa,Ca),Uo=aa=>compact(get(oo.mount?io:no,aa,Yi.shouldUnregister?get(no,aa,[]):[])),Do=(aa,Ca,Sa={})=>{const Ia=get(ro,aa);let Ta=Ca;if(Ia){const va=Ia._f;va&&(!va.disabled&&set(io,aa,getFieldValueAs(Ca,va)),Ta=isHTMLElement(va.ref)&&isNullOrUndefined(Ca)?"":Ca,isMultipleSelect(va.ref)?[...va.ref.options].forEach(xa=>xa.selected=Ta.includes(xa.value)):va.refs?isCheckBoxInput(va.ref)?va.refs.length>1?va.refs.forEach(xa=>(!xa.defaultChecked||!xa.disabled)&&(xa.checked=Array.isArray(Ta)?!!Ta.find(Oa=>Oa===xa.value):Ta===xa.value)):va.refs[0]&&(va.refs[0].checked=!!Ta):va.refs.forEach(xa=>xa.checked=xa.value===Ta):isFileInput(va.ref)?va.ref.value="":(va.ref.value=Ta,va.ref.type||uo.values.next({name:aa,values:{...io}})))}(Sa.shouldDirty||Sa.shouldTouch)&&So(aa,Ta,Sa.shouldTouch,Sa.shouldDirty,!0),Sa.shouldValidate&&Qo(aa)},Oo=(aa,Ca,Sa)=>{for(const Ia in Ca){const Ta=Ca[Ia],va=`${aa}.${Ia}`,xa=get(ro,va);(ao.array.has(aa)||!isPrimitive(Ta)||xa&&!xa._f)&&!isDateObject(Ta)?Oo(va,Ta,Sa):Do(va,Ta,Sa)}},ko=(aa,Ca,Sa={})=>{const Ia=get(ro,aa),Ta=ao.array.has(aa),va=cloneObject(Ca);set(io,aa,va),Ta?(uo.array.next({name:aa,values:{...io}}),(co.isDirty||co.dirtyFields)&&Sa.shouldDirty&&uo.state.next({name:aa,dirtyFields:getDirtyFields(no,io),isDirty:Vo(aa,va)})):Ia&&!Ia._f&&!isNullOrUndefined(va)?Oo(aa,va,Sa):Do(aa,va,Sa),isWatched(aa,ao)&&uo.state.next({...to}),uo.values.next({name:oo.mount?aa:void 0,values:{...io}})},Bo=async aa=>{oo.mount=!0;const Ca=aa.target;let Sa=Ca.name,Ia=!0;const Ta=get(ro,Sa),va=()=>Ca.type?getFieldValue(Ta._f):getEventValue(aa),xa=Oa=>{Ia=Number.isNaN(Oa)||Oa===get(io,Sa,Oa)};if(Ta){let Oa,Da;const ia=va(),Ko=aa.type===EVENTS.BLUR||aa.type===EVENTS.FOCUS_OUT,Yo=!hasValidation(Ta._f)&&!eo.resolver&&!get(to.errors,Sa)&&!Ta._f.deps||skipValidation(Ko,get(to.touchedFields,Sa),to.isSubmitted,ho,fo),ma=isWatched(Sa,ao,Ko);set(io,Sa,ia),Ko?(Ta._f.onBlur&&Ta._f.onBlur(aa),so&&so(0)):Ta._f.onChange&&Ta._f.onChange(aa);const ga=So(Sa,ia,Ko,!1),Fa=!isEmptyObject(ga)||ma;if(!Ko&&uo.values.next({name:Sa,type:aa.type,values:{...io}}),Yo)return co.isValid&&Co(),Fa&&uo.state.next({name:Sa,...ma?{}:ga});if(!Ko&&ma&&uo.state.next({...to}),eo.resolver){const{errors:ja}=await Ro([Sa]);if(xa(ia),Ia){const Ga=schemaErrorLookup(to.errors,ro,Sa),Va=schemaErrorLookup(ja,ro,Ga.name||Sa);Oa=Va.error,Sa=Va.name,Da=isEmptyObject(ja)}}else bo([Sa],!0),Oa=(await validateField(Ta,io,mo,eo.shouldUseNativeValidation))[Sa],bo([Sa]),xa(ia),Ia&&(Oa?Da=!1:co.isValid&&(Da=await zo(ro,!0)));Ia&&(Ta._f.deps&&Qo(Ta._f.deps),To(Sa,Da,Oa,ga))}},Fo=(aa,Ca)=>{if(get(to.errors,Ca)&&aa.focus)return aa.focus(),1},Qo=async(aa,Ca={})=>{let Sa,Ia;const Ta=convertToArrayPayload(aa);if(eo.resolver){const va=await Po(isUndefined(aa)?aa:Ta);Sa=isEmptyObject(va),Ia=aa?!Ta.some(xa=>get(va,xa)):Sa}else aa?(Ia=(await Promise.all(Ta.map(async va=>{const xa=get(ro,va);return await zo(xa&&xa._f?{[va]:xa}:xa)}))).every(Boolean),!(!Ia&&!to.isValid)&&Co()):Ia=Sa=await zo(ro);return uo.state.next({...!isString(aa)||co.isValid&&Sa!==to.isValid?{}:{name:aa},...eo.resolver||!aa?{isValid:Sa}:{},errors:to.errors}),Ca.shouldFocus&&!Ia&&iterateFieldsByAction(ro,Fo,aa?Ta:ao.mount),Ia},jo=aa=>{const Ca={...oo.mount?io:no};return isUndefined(aa)?Ca:isString(aa)?get(Ca,aa):aa.map(Sa=>get(Ca,Sa))},Xo=(aa,Ca)=>({invalid:!!get((Ca||to).errors,aa),isDirty:!!get((Ca||to).dirtyFields,aa),error:get((Ca||to).errors,aa),isValidating:!!get(to.validatingFields,aa),isTouched:!!get((Ca||to).touchedFields,aa)}),Zo=aa=>{aa&&convertToArrayPayload(aa).forEach(Ca=>unset(to.errors,Ca)),uo.state.next({errors:aa?to.errors:{}})},Wo=(aa,Ca,Sa)=>{const Ia=(get(ro,aa,{_f:{}})._f||{}).ref,Ta=get(to.errors,aa)||{},{ref:va,message:xa,type:Oa,...Da}=Ta;set(to.errors,aa,{...Da,...Ca,ref:Ia}),uo.state.next({name:aa,errors:to.errors,isValid:!1}),Sa&&Sa.shouldFocus&&Ia&&Ia.focus&&Ia.focus()},ta=(aa,Ca)=>isFunction(aa)?uo.values.subscribe({next:Sa=>aa(Lo(void 0,Ca),Sa)}):Lo(aa,Ca,!0),ra=(aa,Ca={})=>{for(const Sa of aa?convertToArrayPayload(aa):ao.mount)ao.mount.delete(Sa),ao.array.delete(Sa),Ca.keepValue||(unset(ro,Sa),unset(io,Sa)),!Ca.keepError&&unset(to.errors,Sa),!Ca.keepDirty&&unset(to.dirtyFields,Sa),!Ca.keepTouched&&unset(to.touchedFields,Sa),!Ca.keepIsValidating&&unset(to.validatingFields,Sa),!eo.shouldUnregister&&!Ca.keepDefaultValue&&unset(no,Sa);uo.values.next({values:{...io}}),uo.state.next({...to,...Ca.keepDirty?{isDirty:Vo()}:{}}),!Ca.keepIsValid&&Co()},da=({disabled:aa,name:Ca,field:Sa,fields:Ia,value:Ta})=>{if(isBoolean(aa)&&oo.mount||aa){const va=aa?void 0:isUndefined(Ta)?getFieldValue(Sa?Sa._f:get(Ia,Ca)._f):Ta;set(io,Ca,va),So(Ca,va,!1,!1,!0)}},pa=(aa,Ca={})=>{let Sa=get(ro,aa);const Ia=isBoolean(Ca.disabled);return set(ro,aa,{...Sa||{},_f:{...Sa&&Sa._f?Sa._f:{ref:{name:aa}},name:aa,mount:!0,...Ca}}),ao.mount.add(aa),Sa?da({field:Sa,disabled:Ca.disabled,name:aa,value:Ca.value}):xo(aa,!0,Ca.value),{...Ia?{disabled:Ca.disabled}:{},...eo.progressive?{required:!!Ca.required,min:getRuleValue(Ca.min),max:getRuleValue(Ca.max),minLength:getRuleValue(Ca.minLength),maxLength:getRuleValue(Ca.maxLength),pattern:getRuleValue(Ca.pattern)}:{},name:aa,onChange:Bo,onBlur:Bo,ref:Ta=>{if(Ta){pa(aa,Ca),Sa=get(ro,aa);const va=isUndefined(Ta.value)&&Ta.querySelectorAll&&Ta.querySelectorAll("input,select,textarea")[0]||Ta,xa=isRadioOrCheckbox(va),Oa=Sa._f.refs||[];if(xa?Oa.find(Da=>Da===va):va===Sa._f.ref)return;set(ro,aa,{_f:{...Sa._f,...xa?{refs:[...Oa.filter(live),va,...Array.isArray(get(no,aa))?[{}]:[]],ref:{type:va.type,name:aa}}:{ref:va}}}),xo(aa,!1,void 0,va)}else Sa=get(ro,aa,{}),Sa._f&&(Sa._f.mount=!1),(eo.shouldUnregister||Ca.shouldUnregister)&&!(isNameInFieldArray(ao.array,aa)&&oo.action)&&ao.unMount.add(aa)}}},sa=()=>eo.shouldFocusError&&iterateFieldsByAction(ro,Fo,ao.mount),ya=aa=>{isBoolean(aa)&&(uo.state.next({disabled:aa}),iterateFieldsByAction(ro,(Ca,Sa)=>{const Ia=get(ro,Sa);Ia&&(Ca.disabled=Ia._f.disabled||aa,Array.isArray(Ia._f.refs)&&Ia._f.refs.forEach(Ta=>{Ta.disabled=Ia._f.disabled||aa}))},0,!1))},na=(aa,Ca)=>async Sa=>{let Ia;Sa&&(Sa.preventDefault&&Sa.preventDefault(),Sa.persist&&Sa.persist());let Ta=cloneObject(io);if(uo.state.next({isSubmitting:!0}),eo.resolver){const{errors:va,values:xa}=await Ro();to.errors=va,Ta=xa}else await zo(ro);if(unset(to.errors,"root"),isEmptyObject(to.errors)){uo.state.next({errors:{}});try{await aa(Ta,Sa)}catch(va){Ia=va}}else Ca&&await Ca({...to.errors},Sa),sa(),setTimeout(sa);if(uo.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:isEmptyObject(to.errors)&&!Ia,submitCount:to.submitCount+1,errors:to.errors}),Ia)throw Ia},ea=(aa,Ca={})=>{get(ro,aa)&&(isUndefined(Ca.defaultValue)?ko(aa,cloneObject(get(no,aa))):(ko(aa,Ca.defaultValue),set(no,aa,cloneObject(Ca.defaultValue))),Ca.keepTouched||unset(to.touchedFields,aa),Ca.keepDirty||(unset(to.dirtyFields,aa),to.isDirty=Ca.defaultValue?Vo(aa,cloneObject(get(no,aa))):Vo()),Ca.keepError||(unset(to.errors,aa),co.isValid&&Co()),uo.state.next({...to}))},oa=(aa,Ca={})=>{const Sa=aa?cloneObject(aa):no,Ia=cloneObject(Sa),Ta=isEmptyObject(aa),va=Ta?no:Ia;if(Ca.keepDefaultValues||(no=Sa),!Ca.keepValues){if(Ca.keepDirtyValues)for(const xa of ao.mou
vendor: 1,373 bytes, line 744
744nt)get(to.dirtyFields,xa)?set(va,xa,get(io,xa)):ko(xa,get(va,xa));else{if(isWeb&&isUndefined(aa))for(const xa of ao.mount){const Oa=get(ro,xa);if(Oa&&Oa._f){const Da=Array.isArray(Oa._f.refs)?Oa._f.refs[0]:Oa._f.ref;if(isHTMLElement(Da)){const ia=Da.closest("form");if(ia){ia.reset();break}}}}ro={}}io=Yi.shouldUnregister?Ca.keepDefaultValues?cloneObject(no):{}:cloneObject(va),uo.array.next({values:{...va}}),uo.values.next({values:{...va}})}ao={mount:Ca.keepDirtyValues?ao.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},oo.mount=!co.isValid||!!Ca.keepIsValid||!!Ca.keepDirtyValues,oo.watch=!!Yi.shouldUnregister,uo.state.next({submitCount:Ca.keepSubmitCount?to.submitCount:0,isDirty:Ta?!1:Ca.keepDirty?to.isDirty:!!(Ca.keepDefaultValues&&!deepEqual(aa,no)),isSubmitted:Ca.keepIsSubmitted?to.isSubmitted:!1,dirtyFields:Ta?{}:Ca.keepDirtyValues?Ca.keepDefaultValues&&io?getDirtyFields(no,io):to.dirtyFields:Ca.keepDefaultValues&&aa?getDirtyFields(no,aa):Ca.keepDirty?to.dirtyFields:{},touchedFields:Ca.keepTouched?to.touchedFields:{},errors:Ca.keepErrors?to.errors:{},isSubmitSuccessful:Ca.keepIsSubmitSuccessful?to.isSubmitSuccessful:!1,isSubmitting:!1})},la=(aa,Ca)=>oa(isFunction(aa)?aa(io):aa,Ca);return{control:{register:pa,unregister:ra,getFieldState:Xo,handleSubmit:na,setError:Wo,_executeSchema:Ro,_getWatch:Lo,_getDirty:Vo,_updateV
vendor: 2,387 bytes, line 744
744alid:Co,_removeUnmounted:Ho,_updateFieldArray:wo,_updateDisabledField:da,_getFieldArray:Uo,_reset:oa,_resetDefaultValues:()=>isFunction(eo.defaultValues)&&eo.defaultValues().then(aa=>{la(aa,eo.resetOptions),uo.state.next({isLoading:!1})}),_updateFormState:aa=>{to={...to,...aa}},_disableForm:ya,_subjects:uo,_proxyFormState:co,_setErrors:Eo,get _fields(){return ro},get _formValues(){return io},get _state(){return oo},set _state(aa){oo=aa},get _defaultValues(){return no},get _names(){return ao},set _names(aa){ao=aa},get _formState(){return to},set _formState(aa){to=aa},get _options(){return eo},set _options(aa){eo={...eo,...aa}}},trigger:Qo,register:pa,handleSubmit:na,watch:ta,setValue:ko,getValues:jo,reset:la,resetField:ea,clearErrors:Zo,unregister:ra,setError:Wo,setFocus:(aa,Ca={})=>{const Sa=get(ro,aa),Ia=Sa&&Sa._f;if(Ia){const Ta=Ia.refs?Ia.refs[0]:Ia.ref;Ta.focus&&(Ta.focus(),Ca.shouldSelect&&Ta.select())}},getFieldState:Xo}}function useForm(Yi={}){const eo=React$1F.useRef(),to=React$1F.useRef(),[ro,no]=React$1F.useState({isDirty:!1,isValidating:!1,isLoading:isFunction(Yi.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:Yi.errors||{},disabled:Yi.disabled||!1,defaultValues:isFunction(Yi.defaultValues)?void 0:Yi.defaultValues});eo.current||(eo.current={...createFormControl(Yi),formState:ro});const io=eo.current.control;return io._options=Yi,useSubscribe({subject:io._subjects.state,next:oo=>{shouldRenderFormState(oo,io._proxyFormState,io._updateFormState)&&no({...io._formState})}}),React$1F.useEffect(()=>io._disableForm(Yi.disabled),[io,Yi.disabled]),React$1F.useEffect(()=>{if(io._proxyFormState.isDirty){const oo=io._getDirty();oo!==ro.isDirty&&io._subjects.state.next({isDirty:oo})}},[io,ro.isDirty]),React$1F.useEffect(()=>{Yi.values&&!deepEqual(Yi.values,to.current)?(io._reset(Yi.values,io._options.resetOptions),to.current=Yi.values,no(oo=>({...oo}))):io._resetDefaultValues()},[Yi.values,io]),React$1F.useEffect(()=>{Yi.errors&&io._setErrors(Yi.errors)},[Yi.errors,io]),React$1F.useEffect(()=>{io._state.mount||(io._updateValid(),io._state.mount=!0),io._state.watch&&(io._state.watch=!1,io._subjects.state.next({...io._formState})),io._removeUnmounted()}),React$1F.useEffect(()=>{Yi.shouldUnregister&&io._subjects.values.next({values:io._getWatch()})}
744,[Yi.shouldUnregister,io]),eo.current.formState=getProxyFormState(ro,io),eo.current}var FileDownloadRounded={},_interopRequireDefault$3=interopRequireDefaultExports;Object.defineProperty(FileDownloadRounded,"__esModule",{value:!0});var default_1$3=FileDownloadRounded.default=void 0,_createSvgIcon$3=_interopRequireDefault$3(requireCreateSvgIcon()),_jsxRuntime$3=jsxRuntimeExports;default_1$3=FileDownloadRounded.default=(0,_createSvgIcon$3.default)((0,_jsxRuntime$3.jsx)("path",{d:"M16.59 9H15V4c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v5H7.41c-.89 0-1.34 1.08-.71 1.71l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.63-.63.19-1.71-.7-1.71M5 19c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1"}),"FileDownloadRounded");function _interopDefault$3(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$2=_interopDefault$3(reactExports),_extends$2=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$2=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},BitcoinIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$2(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$2.createElement("svg",_extends$2({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$2.createElement("path",{d:"M14.24 10.56C13.93 11.8 12 11.17 11.4 11L11.95 8.82C12.57 9 14.56 9.26 14.24 10.56M11.13 12.12L10.53 14.53C11.27 14.72 13.56 15.45 13.9 14.09C14.26 12.67 11.87 12.3 11.13 12.12M21.7 14.42C20.36 19.78 14.94 23.04 9.58 21.7C4.22 20.36 .963 14.94 2.3 9.58C3.64 4.22 9.06 .964 14.42 2.3C19.77 3.64 23.03 9.06 21.7 14.42M14.21 8.05L14.66 6.25L13.56 6L13.12 7.73C12.83 7.66 12.54 7.59 12.24 7.53L12.68 5.76L11.59 5.5L11.14 7.29C10.9 7.23 10.66 7.18 10.44 7.12L10.44 7.12L8.93 6.74L8.63 7.91C8.63 7.91 9.45 8.1 9.43 8.11C9.88 8.22 9.96 8.5 9.94 8.75L8.71 13.68C8.66 13.82 8.5 14 8.21 13.95C8.22 13.96 7.41 13.75 7.41 13.75L6.87 15L8.29 15.36C8.56 15.43 8.82 15.5 9.08 15.56L8.62 17.38L9.72 17.66L10.17 15.85C10.47 15.93 10.76 16 11.04 16.08L10.59 17.87L11.69 18.15L12.15 16.33C14 16.68 15.42 16.54 16 14.85C16.5 13.5 16 12.7 15 12.19C15.72 12 16.26 11.55 16.41 10.57C16.61 9.24 15.59 8.53 14.21 8.05Z"}))},BitcoinIcon$1=React$2.memo?React$2.memo(BitcoinIcon):BitcoinIcon,BitcoinIcon_1=BitcoinIcon$1;const BitcoinIcon$2=getDefaultExportFromCjs(BitcoinIcon_1);function _interopDefault$2(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React$1=_interopDefault$2(reactExports),_extends$1=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties$1=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},AccountSupervisorIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties$1(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React$1.createElement("svg",_extends$1({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React$1.createElement("path",{d:"M16.5,12A2.5,2.5 0 0,0 19,9.5A2.5,2.5 0 0,0 16.5,7A2.5,2.5 0 0,0 14,9.5A2.5,2.5 0 0,0 16.5,12M9,11A3,3 0 0,0 12,8A3,3 0 0,0 9,5A3,3 0 0,0 6,8A3,3 0 0,0 9,11M16.5,14C14.67,14 11,14.92 11,16.75V19H22V16.75C22,14.92 18.33,14 16.5,14M9,13C6.67,13 2,14.17 2,16.5V19H9V16.75C9,15.9 9.33,14.41 11.37,13.28C10.5,13.1 9.66,13 9,13Z"}))},AccountSupervisorIcon$1=React$1.memo?React$1.memo(AccountSupervisorIcon):AccountSupervisorIcon,AccountSupervisorIcon_1=AccountSupervisorIcon$1;const AccountSupervisorIcon$2=getDefaultExportFromCjs(AccountSupervisorIcon_1);function _interopDefault$1(Yi){return Yi&&typeof Yi=="object"&&"default"in Yi?Yi.default:Yi}var React=_interopDefault$1(reactExports),_extends=Object.assign||function(Yi){for(var eo=1;eo<arguments.length;eo++){var to=arguments[eo];for(var ro in to)Object.prototype.hasOwnProperty.call(to,ro)&&(Yi[ro]=to[ro])}return Yi},objectWithoutProperties=function(Yi,eo){var to={};for(var ro in Yi)eo.indexOf(ro)>=0||Object.prototype.hasOwnProperty.call(Yi,ro)&&(to[ro]=Yi[ro]);return to},BriefcaseVariantIcon=function Yi(eo){var to=eo.color,ro=to===void 0?"currentColor":to,no=eo.size,io=no===void 0?24:no;eo.children;var oo=objectWithoutProperties(eo,["color","size","children"]),ao="mdi-icon "+(oo.className||"");return React.createElement("svg",_extends({},oo,{className:ao,width:io,height:io,fill:ro,viewBox:"0 0 24 24"}),React.createElement("path",{d:"M10 16V15H3L3 19C3 20.11 3.89 21 5 21H19C20.11 21 21 20.11 21 19V15H14V16H10M20 7H16V5L14 3H10L8 5V7H4C2.9 7 2 7.9 2 9V12C2 13.11 2.89 14 4 14H10V12H14V14H20C21.1 14 22 13.1 22 12V9C22 7.9 21.1 7 20 7M14 7H10V5H14V7Z"}))},BriefcaseVariantIcon$1=React.memo?React.memo(BriefcaseVariantIcon):BriefcaseVariantIcon,BriefcaseVariantIcon_1=BriefcaseVariantIcon$1;const BriefcaseVariantIcon$2=getDefaultExportFromCjs(BriefcaseVariantIcon_1);var QrCodeScannerRounded={},_interopRequireDefault$2=interopRequireDefaultExports;Object.defineProperty(QrCodeScannerRounded,"__esModule",{value:!0});var default_1$2=QrCodeScannerRounded.default=void 0,_createSvgIcon$2=_interopRequireDefault$2(requireCreateSvgIcon()),_jsxRuntime$2=jsxRuntimeExports;default_1$2=QrCodeScannerRounded.default=(0,_createSvgIcon$2.default)((0,_jsxRuntime$2.jsx)("path",{d:"M9.5 6.5v3h-3v-3zM11 5H5v6h6zm-1.5 9.5v3h-3v-3zM11 13H5v6h6zm6.5-6.5v3h-3v-3zM19 5h-6v6h6zm-6 8h1.5v1.5H13zm1.5 1.5H16V16h-1.5zM16 13h1.5v1.5H16zm-3 3h1.5v1.5H13zm1.5 1.5H16V19h-1.5zM16 16h1.5v1.5H16zm1.5-1.5H19V16h-1.5zm0 3H19V19h-1.5zM21 7c-.55 0-1-.45-1-1V4h-2c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1v3c0 .55-.45 1-1 1m1 14v-3c0-.55-.45-1-1-1s-1 .45-1 1v2h-2c-.55 0-1 .45-1 1s.45 1 1 1h3c.55 0 1-.45 1-1M3 22h3c.55 0 1-.45 1-1s-.45-1-1-1H4v-2c0-.55-.45-1-1-1s-1 .45-1 1v3c0 .55.45 1 1 1M2 3v3c0 .55.45 1 1 1s1-.45 1-1V4h2c.55 0 1-.45 1-1s-.45-1-1-1H3c-.55 0-1 .45-1 1"}),"QrCodeScannerRounded");var KeyboardArrowDownRounded={},_interopRequireDefault$1=interopRequireDefaultExports;Object.defineProperty(KeyboardArrowDownRounded,"__esModule",{value:!0});var default_1$1=KeyboardArrowDownRounded.default=void 0,_createSvgIcon$1=_interopRequireDefault$1(requireCreateSvgIcon()),_jsxRuntime$1=jsxRuntimeExports;default_1$1=KeyboardArrowDownRounded.default=(0,_createSvgIcon$1.default)((0,_jsxRuntime$1.jsx)("path",{d:"M8.12 9.29 12 13.17l3.88-3.88c.39-.39 1.02-.39 1.41 0s.39 1.02 0 1.41l-4.59 4.59c-.39.39-1.02.39-1.41 0L6.7 10.7a.996.996 0 0 1 0-1.41c.39-.38 1.03-.39 1.42 0"}),"KeyboardArrowDownRounded");var InfoOutlined={},_interopRequireDefault=interopRequireDefaultExports;Object.defineProperty(InfoOutlined,"__esModule",{value:!0});var default_1=InfoOutlined.default=void 0,_createSvgIcon=_interopRequireDefault(requireCreateSvgIcon()),_jsxRuntime=jsxRuntimeExports;default_1=InfoOutlined.default=(0,_createSvgIcon.default)((0,_jsxRuntime.jsx)("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"InfoOutlined");var dist={exports:{}};(function(Yi,eo){(function(ro,no){Yi.exports=no(reactExports)})(commonjsGlobal,to=>(()=>{var ro={931:((ao,so,lo)=>{lo.r(so),lo.d(so,{default:()=>Co});var co=lo(639),uo=lo.n(co),fo=["styles"];function ho(){return ho=Object.assign?Object.assign.bind():function(bo){for(var wo=1;wo<arguments.length;wo++){var yo=arguments[wo];for(var Eo in yo)Object.prototype.hasOwnProperty.call(yo,Eo)&&(bo[Eo]=yo[Eo])}return bo},ho.apply(this,arguments)}function mo(bo,wo){if(bo==null)return{};var yo=vo(bo,wo),Eo,xo;if(Object.getOwnPropertySymbols){var So=Object.getOwnPropertySymbols(bo);for(xo=0;xo<So.length;xo++)Eo=So[xo],!(wo.indexOf(Eo)>=0)&&Object.prototype.propertyIsEnumerable.call(bo,Eo)&&(yo[Eo]=bo[Eo])}return yo}function vo(bo,wo){if(bo==null)return{};var yo={},Eo=Object.keys(bo),xo,So;for(So=0;So<Eo.length;So++)xo=Eo[So],!(wo.indexOf(xo)>=0)&&(yo[xo]=bo[xo]);return yo}const Co=(function(bo){bo.styles;var wo=mo(bo,fo);return uo().createElement("svg",ho({width:"44",height:"44",xmlns:"http://www.w3.org/2000/svg",stroke:"#fff"},wo),uo().createElement("g",{fill:"none",fillRule:"evenodd",strokeWidth:"2"},uo().createElement("circle",{cx:"22",cy:"22",r:"1"},uo().createElement("animate",{attributeName:"r",begin:"0s",dur:"1.8s",values:"1; 20",calcMode:"spline",keyTimes:"0;
744 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}),uo().createElement("animate",{attributeName:"stroke-opacity",begin:"0s",dur:"1.8s",values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"})),uo().createElement("circle",{cx:"22",cy:"22",r:"1"},uo().createElement("animate",{attributeName:"r",begin:"-0.9s",dur:"1.8s",values:"1; 20",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}),uo().createElement("animate",{attributeName:"stroke-opacity",begin:"-0.9s",dur:"1.8s",values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"}))))})}),120:(function(ao,so,lo){function co(Uo,Do){return vo(Uo)||mo(Uo,Do)||fo(Uo,Do)||uo()}function uo(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
745In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fo(Uo,Do){if(Uo){if(typeof Uo=="string")return ho(Uo,Do);var Oo=Object.prototype.toString.call(Uo).slice(8,-1);if(Oo==="Object"&&Uo.constructor&&(Oo=Uo.constructor.name),Oo==="Map"||Oo==="Set")return Array.from(Uo);if(Oo==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Oo))return ho(Uo,Do)}}function ho(Uo,Do){(Do==null||Do>Uo.length)&&(Do=Uo.length);for(var Oo=0,ko=new Array(Do);Oo<Do;Oo++)ko[Oo]=Uo[Oo];return ko}function mo(Uo,Do){var Oo=Uo==null?null:typeof Symbol<"u"&&Uo[Symbol.iterator]||Uo["@@iterator"];if(Oo!=null){var ko,Bo,Fo,Qo,jo=[],Xo=!0,Zo=!1;try{if(Fo=(Oo=Oo.call(Uo)).next,Do!==0)for(;!(Xo=(ko=Fo.call(Oo)).done)&&(jo.push(ko.value),jo.length!==Do);Xo=!0);}catch(Wo){Zo=!0,Bo=Wo}finally{try{if(!Xo&&Oo.return!=null&&(Qo=Oo.return(),Object(Qo)!==Qo))return}finally{if(Zo)throw Bo}}return jo}}function vo(Uo){if(Array.isArray(Uo))return Uo}var Co=this&&this.__createBinding||(Object.create?function(Uo,Do,Oo,ko){ko===void 0&&(ko=Oo);var Bo=Object.getOwnPropertyDescriptor(Do,Oo);(!Bo||("get"in Bo?!Do.__esModule:Bo.writable||Bo.configurable))&&(Bo={enumerable:!0,get:function(){return Do[Oo]}}),Object.defineProperty(Uo,ko,Bo)}:function(Uo,Do,Oo,ko){ko===void 0&&(ko=Oo),Uo[ko]=Do[Oo]}),bo=this&&this.__setModuleDefault||(Object.create?function(Uo,Do){Object.defineProperty(Uo,"default",{enumerable:!0,value:Do})}:function(Uo,Do){Uo.default=Do}),wo=this&&this.__importStar||function(Uo){if(Uo&&Uo.__esModule)return Uo;var Do={};if(Uo!=null)for(var Oo in Uo)Oo!=="default"&&Object.prototype.hasOwnProperty.call(Uo,Oo)&&Co(Do,Uo,Oo);return bo(Do,Uo),Do},yo=this&&this.__importDefault||function(Uo){return Uo&&Uo.__esModule?Uo:{default:Uo}};Object.defineProperty(so,"__esModule",{value:!0});var Eo=wo(lo(639)),xo=yo(lo(267)),So=yo(lo(486)),To=yo(lo(552)),Ro=yo(lo(832)),Po=yo(lo(913)),zo=yo(lo(342)),Ho=lo(402);function Vo(){var Uo=(0,Eo.useState)(0),Do=co(Uo,2),Oo=Do[0],ko=Do[1],Bo=(0,Eo.useState)(!0),Fo=co(Bo,2),Qo=Fo[0],jo=Fo[1],Xo=(0,Eo.useState)(!0),Zo=co(Xo,2),Wo=Zo[0],ta=Zo[1],ra=(0,Eo.useState)(0),da=co(ra,2),pa=da[0],sa=da[1],ya=(0,zo.default)(),na=(0,Eo.useRef)(),ea=(0,Eo.useContext)(xo.default),oa=ea.width,la=ea.height,_a=ea.loop,Ea=ea.currentIndex,Pa=ea.isPaused,aa=ea.keyboardNavigation,Ca=ea.preventDefault,Sa=ea.storyContainerStyles,Ia=Sa===void 0?{}:Sa,Ta=ea.onAllStoriesEnd,va=ea.onPrevious,xa=ea.onNext,Oa=ea.preloadCount,Da=(0,Eo.useContext)(So.default),ia=Da.stories;(0,Ho.usePreLoader)(ia,Oo,Oa),(0,Eo.useEffect)(function(){typeof Ea=="number"&&(Ea>=0&&Ea<ia.length?ma(function(){return Ea}):console.error("Index out of bounds. Current index was set to value more than the length of stories array.",Ea))},[Ea]),(0,Eo.useEffect)(function(){typeof Pa=="boolean"&&jo(Pa)},[Pa]),(0,Eo.useEffect)(function(){var as=typeof window<"u"&&window.document;if(as&&typeof aa=="boolean"&&aa)return document.addEventListener("keydown",Ko),function(){document.removeEventListener("keydown",Ko)}},[aa]);var Ko=function(ps){ps.key==="ArrowLeft"?ga():ps.key==="ArrowRight"&&Fa({isSkippedByUser:!0})},Yo=function(ps,Rs){jo(ps==="pause"),ta(!!Rs)},ma=function(ps){ko(ps),Yo("pause",!0)},ga=function(){va!=null&&va(),ma(function(ps){return ps>0?ps-1:ps})},Fa=function(ps){xa!=null&&(ps!=null&&ps.isSkippedByUser)&&xa(),ya()&&(_a?ja():Ga())},ja=function(){ma(function(ps){return ps>=ia.length-1&&Ta&&Ta(Oo,ia),(ps+1)%ia.length})},Ga=function(){ma(function(ps){return ps<ia.length-1?ps+1:(Ta&&Ta(Oo,ia),ps)})},Va=function(ps){ps.preventDefault(),na.current=setTimeout(function(){Yo("pause")},200)},qa=function(ps){return function(Rs){Rs.preventDefault(),na.current&&clearTimeout(na.current),Qo?Yo("play"):ps==="next"?Fa({isSkippedByUser:!0}):ga()}},us=function(ps){sa(ps*1e3)};return Eo.default.createElement("div",{style:Object.assign(Object.assign(Object.assign({},Lo.container),Ia),{width:oa,height:la})},Eo.default.createElement(To.default.Provider,{value:{bufferAction:Wo,videoDuration:pa,currentId:Oo,pause:Qo,next:Fa}},Eo.default.createElement(Po.default,null)),Eo.default.createElement(Ro.default,{action:Yo,bufferAction:Wo,playState:Qo,story:ia[Oo],getVideoDuration:us}),!Ca&&Eo.default.createElement("div",{style:Lo.overlay},Eo.default.createElement("div",{style:{width:"50%",zIndex:999},onTouchStart:Va,onTouchEnd:qa("previous"),onMouseDown:Va,onMouseUp:qa("previous")}),Eo.default.createElement("div",{style:{width:"50%",zIndex:999},onTouchStart:Va,onTouchEnd:qa("next"),onMouseDown:Va,onMouseUp:qa("next")})))}so.default=Vo;var Lo={container:{display:"flex",flexDirection:"column",background:"#111",position:"relative",WebkitUserSelect:"none"},overlay:{position:"absolute",height:"inherit",width:"inherit",display:"flex"}}}),463:(function(ao,so,lo){var co=this&&this.__importDefault||function(mo){return mo&&mo.__esModule?mo:{default:mo}};Object.defineProperty(so,"__esModule",{value:!0});var uo=co(lo(639)),fo=function(vo){var Co=vo.profileImage,bo=vo.heading,wo=vo.subheading;return uo.default.createElement("div",{style:ho.main},Co&&uo.default.createElement("img",{style:ho.img,src:Co}),uo.default.createElement("span",{style:ho.text},uo.default.createElement("p",{style:ho.heading},bo),uo.default.createElement("p",{style:ho.subheading},wo)))},ho={main:{display:"flex",alignItems:"center"},img:{width:40,height:40,borderRadius:40,marginRight:10,filter:"drop-shadow(0 0px 2px rgba(0, 0, 0, 0.5))",border:"2px s
745olid rgba(255, 255, 255, 0.8)"},text:{display:"flex",flexDirection:"column",filter:"drop-shadow(0 0px 3px rgba(0, 0, 0, 0.9))"},heading:{fontSize:"1rem",color:"rgba(255, 255, 255, 0.9)",margin:0,marginBottom:2},subheading:{fontSize:"0.6rem",color:"rgba(255, 255, 255, 0.8)",margin:0}};so.default=fo}),911:(function(ao,so,lo){var co=this&&this.__createBinding||(Object.create?function(yo,Eo,xo,So){So===void 0&&(So=xo);var To=Object.getOwnPropertyDescriptor(Eo,xo);(!To||("get"in To?!Eo.__esModule:To.writable||To.configurable))&&(To={enumerable:!0,get:function(){return Eo[xo]}}),Object.defineProperty(yo,So,To)}:function(yo,Eo,xo,So){So===void 0&&(So=xo),yo[So]=Eo[xo]}),uo=this&&this.__setModuleDefault||(Object.create?function(yo,Eo){Object.defineProperty(yo,"default",{enumerable:!0,value:Eo})}:function(yo,Eo){yo.default=Eo}),fo=this&&this.__importStar||function(yo){if(yo&&yo.__esModule)return yo;var Eo={};if(yo!=null)for(var xo in yo)xo!=="default"&&Object.prototype.hasOwnProperty.call(yo,xo)&&co(Eo,yo,xo);return uo(Eo,yo),Eo},ho=this&&this.__importDefault||function(yo){return yo&&yo.__esModule?yo:{default:yo}};Object.defineProperty(so,"__esModule",{value:!0});var mo=fo(lo(639)),vo=ho(lo(424)),Co=ho(lo(267)),bo=ho(lo(552));so.default=function(yo){var Eo=(0,mo.useContext)(Co.default),xo=Eo.progressStyles,So=(0,mo.useContext)(bo.default),To=So.bufferAction,Ro=So.pause,Po=function(Lo){var Uo=Lo.active;switch(Uo){case 2:return{width:"100%"};case 1:return{transform:"scaleX(".concat(yo.count/100,")")};case 0:return{width:0};default:return{width:0}}},zo=yo.width,Ho=yo.active;return mo.default.createElement(vo.default,{width:zo,pause:Ro,bufferAction:To},mo.default.createElement("div",{style:Object.assign(Object.assign(Object.assign({},wo.inner),xo),Po({active:Ho}))}))};var wo={inner:{background:"#fff",height:"100%",maxWidth:"100%",borderRadius:2,transformOrigin:"center left",WebkitBackfaceVisibility:"hidden",MozBackfaceVisibility:"hidden",msBackfaceVisibility:"hidden",backfaceVisibility:"hidden",WebkitPerspective:1e3,MozPerspective:1e3,msPerspective:1e3,perspective:1e3}}}),913:(function(ao,so,lo){function co(Ho,Vo){return vo(Ho)||mo(Ho,Vo)||fo(Ho,Vo)||uo()}function uo(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
746In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fo(Ho,Vo){if(Ho){if(typeof Ho=="string")return ho(Ho,Vo);var Lo=Object.prototype.toString.call(Ho).slice(8,-1);if(Lo==="Object"&&Ho.constructor&&(Lo=Ho.constructor.name),Lo==="Map"||Lo==="Set")return Array.from(Ho);if(Lo==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Lo))return ho(Ho,Vo)}}function ho(Ho,Vo){(Vo==null||Vo>Ho.length)&&(Vo=Ho.length);for(var Lo=0,Uo=new Array(Vo);Lo<Vo;Lo++)Uo[Lo]=Ho[Lo];return Uo}function mo(Ho,Vo){var Lo=Ho==null?null:typeof Symbol<"u"&&Ho[Symbol.iterator]||Ho["@@iterator"];if(Lo!=null){var Uo,Do,Oo,ko,Bo=[],Fo=!0,Qo=!1;try{if(Oo=(Lo=Lo.call(Ho)).next,Vo!==0)for(;!(Fo=(Uo=Oo.call(Lo)).done)&&(Bo.push(Uo.value),Bo.length!==Vo);Fo=!0);}catch(jo){Qo=!0,Do=jo}finally{try{if(!Fo&&Lo.return!=null&&(ko=Lo.return(),Object(ko)!==ko))return}finally{if(Qo)throw Do}}return Bo}}function vo(Ho){if(Array.isArray(Ho))return Ho}var Co=this&&this.__createBinding||(Object.create?function(Ho,Vo,Lo,Uo){Uo===void 0&&(Uo=Lo);var Do=Object.getOwnPropertyDescriptor(Vo,Lo);(!Do||("get"in Do?!Vo.__esModule:Do.writable||Do.configurable))&&(Do={enumerable:!0,get:function(){return Vo[Lo]}}),Object.defineProperty(Ho,Uo,Do)}:function(Ho,Vo,Lo,Uo){Uo===void 0&&(Uo=Lo),Ho[Uo]=Vo[Lo]}),bo=this&&this.__setModuleDefault||(Object.create?function(Ho,Vo){Object.defineProperty(Ho,"default",{enumerable:!0,value:Vo})}:function(Ho,Vo){Ho.default=Vo}),wo=this&&this.__importStar||function(Ho){if(Ho&&Ho.__esModule)return Ho;var Vo={};if(Ho!=null)for(var Lo in Ho)Lo!=="default"&&Object.prototype.hasOwnProperty.call(Ho,Lo)&&Co(Vo,Ho,Lo);return bo(Vo,Ho),Vo},yo=this&&this.__importDefault||function(Ho){return Ho&&Ho.__esModule?Ho:{default:Ho}};Object.defineProperty(so,"__esModule",{value:!0});var Eo=wo(lo(639)),xo=yo(lo(911)),So=yo(lo(552)),To=yo(lo(267)),Ro=yo(lo(486)),Po=lo(335);
746so.default=function(){var Ho=(0,Eo.useState)(0),Vo=co(Ho,2),Lo=Vo[0],Uo=Vo[1],Do=(0,Eo.useRef)(),Oo=(0,Eo.useContext)(So.default),ko=Oo.currentId,Bo=Oo.next,Fo=Oo.videoDuration,Qo=Oo.pause,jo=Oo.bufferAction,Xo=(0,Eo.useContext)(To.default),Zo=Xo.defaultInterval,Wo=Xo.onStoryEnd,ta=Xo.onStoryStart,ra=Xo.progressContainerStyles,da=(0,Eo.useContext)(Ro.default),pa=da.stories;(0,Eo.useEffect)(function(){Uo(0)},[ko,pa]),(0,Eo.useEffect)(function(){return Qo||(sa.current=requestAnimationFrame(na),Do.current=(0,Po.timestamp)()),function(){cancelAnimationFrame(sa.current)}},[ko,Qo]);var sa=(0,Eo.useRef)(),ya=Lo,na=function Ea(){ya===0&&ea(),Do.current==null&&(Do.current=(0,Po.timestamp)());var Pa=(0,Po.timestamp)(),aa=Pa-Do.current;Do.current=Pa,Uo(function(Ca){var Sa=la();return ya=Ca+aa*100/Sa,ya}),ya<100?sa.current=requestAnimationFrame(Ea):(oa(),cancelAnimationFrame(sa.current),Bo())},ea=function(){ta&&ta(ko,pa[ko])},oa=function(){Wo&&Wo(ko,pa[ko])},la=function(){return pa[ko].type==="video"?Fo:typeof pa[ko].duration=="number"?pa[ko].duration:Zo},_a={opacity:Qo&&!jo?0:1};return Eo.default.createElement("div",{style:Object.assign(Object.assign(Object.assign({},zo.progressArr),ra),_a)},pa.map(function(Ea,Pa){return Eo.default.createElement(xo.default,{key:Pa,count:Lo,width:1/pa.length,active:Pa===ko?1:Pa<ko?2:0})}))};var zo={progressArr:{display:"flex",justifyContent:"center",maxWidth:"100%",flexWrap:"nowrap",position:"absolute",width:"98%",padding:5,paddingTop:7,alignSelf:"center",zIndex:1001,filter:"drop-shadow(0 1px 8px #222)",transition:"opacity 400ms ease-in-out"}}}),424:(function(ao,so,lo){var co=this&&this.__createBinding||(Object.create?function(yo,Eo,xo,So){So===void 0&&(So=xo);var To=Object.getOwnPropertyDescriptor(Eo,xo);(!To||("get"in To?!Eo.__esModule:To.writable||To.configurable))&&(To={enumerable:!0,get:function(){return Eo[xo]}}),Object.defineProperty(yo,So,To)}:function(yo,Eo,xo,So){So===void 0&&(So=xo),yo[So]=Eo[xo]}),uo=this&&this.__setModuleDefault||(Object.create?function(yo,Eo){Object.defineProperty(yo,"default",{enumerable:!0,value:Eo})}:function(yo,Eo){yo.default=Eo}),fo=this&&this.__importStar||function(yo){if(yo&&yo.__esModule)return yo;var Eo={};if(yo!=null)for(var xo in yo)xo!=="default"&&Object.prototype.hasOwnProperty.call(yo,xo)&&co(Eo,yo,xo);return uo(Eo,yo),Eo},ho=this&&this.__importDefault||function(yo){return yo&&yo.__esModule?yo:{default:yo}};Object.defineProperty(so,"__esModule",{value:!0});var mo=fo(lo(639)),vo=ho(lo(267)),Co=function(Eo){var xo=(0,mo.useContext)(vo.default),So=xo.progressWrapperStyles;return mo.default.createElement("div",{style:Object.assign(Object.assign(Object.assign({},wo.progress),So),bo(Eo))},Eo.children)},bo=function(Eo){var xo=Eo.width;return{width:"".concat(xo*100,"%")}},wo={progress:{height:2,maxWidth:"100%",background:"#555",margin:2,borderRadius:2,WebkitBackfaceVisibility:"hidden",MozBackfaceVisibility:"hidden",msBackfaceVisibility:"hidden",backfaceVisibility:"hidden"}};so.default=Co}),771:(function(ao,so,lo){var co=this&&this.__createBinding||(Object.create?function(wo,yo,Eo,xo){xo===void 0&&(xo=Eo);var So=Object.getOwnPropertyDescriptor(yo,Eo);(!So||("get"in So?!yo.__esModule:So.writable||So.configurable))&&(So={enumerable:!0,get:function(){return yo[Eo]}}),Object.defineProperty(wo,xo,So)}:function(wo,yo,Eo,xo){xo===void 0&&(xo=Eo),wo[xo]=yo[Eo]}),uo=this&&this.__setModuleDefault||(Object.create?function(wo,yo){Object.defineProperty(wo,"default",{enumerable:!0,value:yo})}:function(wo,yo){wo.default=yo}),fo=this&&this.__importStar||function(wo){if(wo&&wo.__esModule)return wo;var yo={};if(wo!=null)for(var Eo in wo)Eo!=="default"&&Object.prototype.hasOwnProperty.call(wo,Eo)&&co(yo,wo,Eo);return uo(yo,wo),yo},ho=this&&this.__importDefault||function(wo){return wo&&wo.__esModule?wo:{default:wo}};Object.defineProperty(so,"__esModule",{value:!0});var mo=fo(lo(639)),vo=ho(lo(267));function Co(wo){var yo=wo.seeMoreContent,Eo=wo.customCollapsed,xo=(0,mo.useContext)(vo.default),So=xo.keyboardNavigation;(0,mo.useEffect)(function(){var Ro=typeof window<"u"&&window.document;if(Ro&&typeof So=="boolean"&&So)return document.addEventListener("keydown",To),function(){document.removeEventListener("keydown",To)}},[So]);var To=function(Po){Po.key==="ArrowUp"?(Po.preventDefault(),wo.toggleMore(!0)):(Po.key==="ArrowDown"||Po.key==="Escape")&&(Po.preventDefault(),wo.toggleMore(!1))};return wo.showContent?mo.default.createElement("div",{style:bo.seeMoreExpanded},mo.default.createElement(yo,{close:function(){return wo.toggleMore(!1)}})):Eo?mo.default.createElement(Eo,{action:wo.action,toggleMore:wo.toggleMore}):mo.default.createElement("div",{style:bo.seeMore,onClick:function(Po){Po.preventDefault(),Po.stopPropagation(),wo.toggleMore(!0)}},mo.default.createElement("span",{style:bo.seeMoreIcon},"⌃"),mo.default.createElement("span",{style:bo.seeMoreText},"See more"))}so.default=Co;var bo={seeMore:{height:"10vh",background:"linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2))",display:"flex",flexDirection:"column",width:"100%",alignItems:"center",justifyContent:"flex-end",bottom:0},seeMoreExpanded:{position:"absolute",top:0,left:0,width:"100%",height:"100%",boxSizing:"border-box",zIndex:99999},seeMoreText:{color:"white",textAlign:"center",letterSpacing:"0.1em",marginBottom:"2.2vh",textTransform:"capitalize",opacity:"1",fontSize:"0.8em",transition:"opacity 300ms ease-in-out"},seeMoreIcon:{color:"white",textAlign:"center",letterSpacing:"0.2em",marginBottom:"0.4vh",opacity:"1",filter:"drop-shadow(0 0 5px black)",textTransform:"capitalize",transition:"opacity 300ms ease-in-out"}}}),353:(function(ao,so,lo){var co=this&&this.__importDefault||function(mo){return mo&&mo.__esModule?mo:{default:mo}};Object.defineProperty(so,"__esModule",{value:!0});var uo=co(lo(639)),fo=co(lo(931)),ho=function(){return uo.default.createElement(fo.default,null)};so.default=ho}),832:(function(ao,so,lo){var co=this&&this.__createBinding||(Object.create?function(wo,yo,Eo,xo){xo===void 0&&(xo=Eo);var So=Object.getOwnPropertyDescriptor(yo,Eo);(!So||("get"in So?!yo.__esModule:So.writable||So.configurable))&&(So={enumerable:!0,get:function(){return yo[Eo]}}),Object.defineProperty(wo,xo,So)}:function(wo,yo,Eo,xo){xo===void 0&&(xo=Eo),wo[xo]=yo[Eo]}),uo=this&&this.__setModuleDefault||(Object.create?function(wo,yo){Object.defineProperty(wo,"default",{enumerable:!0,value:yo})}:function(wo,yo){wo.default=yo}),fo=this&&this.__importStar||function(wo){if(wo&&wo.__esModule)return wo;var yo={};if(wo!=null)for(var Eo in wo)Eo!=="default"&&Object.prototype.hasOwnProperty.call(wo,Eo)&&co(yo,wo,Eo);return uo(yo,wo),yo},ho=this&&this.__importDefault||function(wo){return wo&&wo.__esModule?wo:{default:wo}};Object.defineProperty(so,"__esModule",{value:!0});var mo=fo(lo(639)),vo=ho(lo(267)),Co=function(yo){var Eo=(0,mo.useContext)(vo.default),xo=Eo.width,So=Eo.height,To=Eo.loader,Ro=Eo.header,Po=Eo.storyStyles,zo=Eo.storyInnerContainerStyles,Ho=zo===void 0?{}:zo,Vo=function(Do,Oo){switch(Do){case"UPDATE_VIDEO_DURATION":return yo.getVideoDuration(Oo.duration),{ack:"OK"}}},Lo=function(){var Do=yo.story.content,Oo={width:xo,height:So,loader:To,header:Ro,storyStyles:Po};return mo.default.createElement(Do,{action:yo.action,isPaused:yo.playState,story:yo.story,config:Oo,messageHandler:Vo})};return mo.default.createElement("div",{style:Object.assign(Object.assign(Object.assign({},bo.story),Ho),{width:xo,height:So})},Lo())},bo={story:{display:"flex",position:"relative",overflow:"hidden",alignItems:"center"}};so.default=Co}),267:(function(ao,so,lo){var co=this&&this.__importDefault||function(ho){return ho&&ho.__esModule?ho:{default:ho}};Object.defineProperty(so,"__esModule",{value:!0}),so.initialContext=void 0;var uo=co(lo(639));so.initialContext={defaultInterval:4e3,width:360,height:640};var fo=uo.default.createContext(so.initialContext);so.default=fo}),552:(function(ao,so,lo){var co=this&&this.__importDefault||function(fo){return fo&&fo.__esModule?fo:{default:fo}};Object.defineProperty(so,"__esModule",{value:!0});var uo=co(lo(639));so.default=uo.default.createContext({currentId:0,videoDuration:0,bufferAction:!1,pause:!1,next:function(){}})}),486:(function(ao,so,lo){var co=this&&this.__importDefault||function(ho){return ho&&ho.__esModule?ho:{default:ho}};Object.defineProperty(so,"__esModule",{value:!0}),so.initialContext=void 0;var uo=co(lo(639));so.initialContext={stories:[]};var fo=uo.default.createContext(so.initialContext);so.default=fo}),370:(function(ao,so,lo){function co(Do){"@babel/helpers - typeof";return co=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Oo){return typeof Oo}:function(Oo){return Oo&&typeof Symbol=="function"&&Oo.constructor===Symbol&&Oo!==Symbol.prototype?"symbol":typeof Oo},co(Do)}function uo(Do,Oo){return Co(Do)||vo(Do,Oo)||ho(Do,Oo)||fo()}
746function fo(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
747In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ho(Do,Oo){if(Do){if(typeof Do=="string")return mo(Do,Oo);var ko=Object.prototype.toString.call(Do).slice(8,-1);if(ko==="Object"&&Do.constructor&&(ko=Do.constructor.name),ko==="Map"||ko==="Set")return Array.from(Do);if(ko==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ko))return mo(Do,Oo)}}function mo(Do,Oo){(Oo==null||Oo>Do.length)&&(Oo=Do.length);for(var ko=0,Bo=new Array(Oo);ko<Oo;ko++)Bo[ko]=Do[ko];return Bo}function vo(Do,Oo){var ko=Do==null?null:typeof Symbol<"u"&&Do[Symbol.iterator]||Do["@@iterator"];if(ko!=null){var Bo,Fo,Qo,jo,Xo=[],Zo=!0,Wo=!1;try{if(Qo=(ko=ko.call(Do)).next,Oo!==0)for(;!(Zo=(Bo=Qo.call(ko)).done)&&(Xo.push(Bo.value),Xo.length!==Oo);Zo=!0);}catch(ta){Wo=!0,Fo=ta}finally{try{if(!Zo&&ko.return!=null&&(jo=ko.return(),Object(jo)!==jo))return}finally{if(Wo)throw Fo}}return Xo}}function Co(Do){if(Array.isArray(Do))return Do}var bo=this&&this.__createBinding||(Object.create?function(Do,Oo,ko,Bo){Bo===void 0&&(Bo=ko);var Fo=Object.getOwnPropertyDescriptor(Oo,ko);(!Fo||("get"in Fo?!Oo.__esModule:Fo.writable||Fo.configurable))&&(Fo={enumerable:!0,get:function(){return Oo[ko]}}),Object.defineProperty(Do,Bo,Fo)}:function(Do,Oo,ko,Bo){Bo===void 0&&(Bo=ko),Do[Bo]=Oo[ko]}),wo=this&&this.__setModuleDefault||(Object.create?function(Do,Oo){Object.defineProperty(Do,"default",{enumerable:!0,value:Oo})}:function(Do,Oo){Do.default=Oo}),yo=this&&this.__importStar||function(Do){if(Do&&Do.__esModule)return Do;var Oo={};if(Do!=null)for(var ko in Do)ko!=="default"&&Object.prototype.hasOwnProperty.call(Do,ko)&&bo(Oo,Do,ko);return wo(Oo,Do),Oo},Eo=this&&this.__importDefault||function(Do){return Do&&Do.__esModule?Do:{default:Do}};Object.defineProperty(so,"__esModule",{value:!0}),so.WithSeeMore=so.WithHeader=void 0;var xo=yo(lo(639)),So=Eo(lo(120)),To=Eo(lo(267)),Ro=Eo(lo(486)),Po=lo(371),zo=lo(942),Ho=Eo(lo(803)),Vo=Eo(lo(763)),Lo=function(Oo){var ko=Oo.renderers?Oo.renderers.concat(zo.renderers):zo.renderers,Bo={width:Oo.width,height:Oo.height,loader:Oo.loader,header:Oo.header,storyContainerStyles:Oo.storyContainerStyles,storyInnerContainerStyles:Oo.storyInnerContainerStyles,storyStyles:Oo.storyStyles,progressContainerStyles:Oo.progressContainerStyles,progressWrapperStyles:Oo.progressWrapperStyles,progressStyles:Oo.progressStyles,loop:Oo.loop,defaultInterval:Oo.defaultInterval,isPaused:Oo.isPaused,currentIndex:Oo.currentIndex,onStoryStart:Oo.onStoryStart,onStoryEnd:Oo.onStoryEnd,onAllStoriesEnd:Oo.onAllStoriesEnd,onNext:Oo.onNext,onPrevious:Oo.onPrevious,keyboardNavigation:Oo.keyboardNavigation,preventDefault:Oo.preventDefault,preloadCount:Oo.preloadCount},Fo=(0,xo.useState)({stories:Uo(Oo.stories,ko)}),Qo=uo(Fo,2),jo=Qo[0],Xo=Qo[1];return(0,xo.useEffect)(function(){Xo({stories:Uo(Oo.stories,ko)})},[Oo.stories,Oo.renderers]),xo.default.createElement(To.default.Provider,{value:Bo},xo.default.createElement(Ro.default.Provider,{value:jo},xo.default.createElement(So.default,null)))},Uo=function(Oo,ko){return Oo.map(function(Bo){var Fo={};typeof Bo=="string"?(Fo.url=Bo,Fo.type="image"):co(Bo)==="object"&&(Fo=Object.assign(Fo,Bo));var Qo=(0,Po.getRenderer)(Fo,ko);return Fo.originalContent=Fo.content,Fo.content=Qo,Fo})};Lo.defaultProps={width:360,height:640,defaultInterval:4e3,preloadCount:1},so.WithHeader=Ho.default,so.WithSeeMore=Vo.default,so.default=Lo}),350:(function(ao,so,lo){var co=this&&this.__createBinding||(Object.create?function(Co,bo,wo,yo){yo===void 0&&(yo=wo);var Eo=Object.getOwnPropertyDescriptor(bo,wo);(!Eo||("get"in Eo?!bo.__esModule:Eo.writable||Eo.configurable))&&(Eo={enumerable:!0,get:function(){return bo[wo]}}),Object.defineProperty(Co,yo,Eo)}:function(Co,bo,wo,yo){yo===void 0&&(yo=wo),Co[yo]=bo[wo]}),uo=this&&this.__setModuleDefault||(Object.create?function(Co,bo){Object.defineProperty(Co,"default",{enumerable:!0,value:bo})}:function(Co,bo){Co.default=bo}),fo=this&&this.__importStar||function(Co){if(Co&&Co.__esModule)return Co;var bo={};if(Co!=null)for(var wo in Co)wo!=="default"&&Object.prototype.hasOwnProperty.call(Co,wo)&&co(bo,Co,wo);return uo(bo,Co),bo};Object.defineProperty(so,"__esModule",{value:!0}),so.tester=so.renderer=void 0;var ho=fo(lo(639)),mo=function(bo){ho.useEffect(function(){bo.action("play")},[bo.story]);var wo=bo.story.originalContent;return ho.createElement(wo,Object.assign({},bo))};so.renderer=mo;var vo=function(bo){return{condition:!!bo.content,priority:2}};so.tester=vo,so.default={renderer:so.renderer,tester:so.tester}}),248:(function(ao,so,lo){var co=this&&this.__createBinding||(Object.create?function(bo,wo,yo,Eo){Eo===void 0&&(Eo=yo);var xo=Object.getOwnPropertyDescriptor(wo,yo);(!xo||("get"in xo?!wo.__esModule:xo.writable||xo.configurable))&&(xo={enumerable:!0,get:function(){return wo[yo]}}),Object.defineProperty(bo,Eo,xo)}:function(bo,wo,yo,Eo){Eo===void 0&&(Eo=yo),bo[Eo]=wo[yo]}),uo=this&&this.__setModuleDefault||(Object.create?function(bo,wo){Object.defineProperty(bo,"default",{enumerable:!0,value:wo})}:function(bo,wo){bo.default=wo}),fo=this&&this.__importStar||function(bo){if(bo&&bo.__esModule)return bo;var wo={};if(bo!=null)for(var yo in bo)yo!=="default"&&Object.prototype.hasOwnProperty.call(bo,yo)&&co(wo,bo,yo);return uo(wo,bo),wo};Object.defineProperty(so,"__esModule",{value:!0}),so.tester=so.renderer=void 0;var ho=fo(lo(639)),mo=function(wo){var yo=wo.story,Eo=wo.action;return ho.useEffect(function(){Eo("play")},[yo]),ho.createElement("div",{style:vo.storyContent},ho.createElement("p",{style:vo.text},"This story could not be loaded."))};so.renderer=mo;var vo={storyContent:{width:"100%",maxHeight:"100%",margin:"auto"},text:{textAlign:"center",color:"white",width:"90%",margin:"auto"}},Co=function(){return{condition:!0,priority:1}};
747so.tester=Co,so.default={renderer:so.renderer,tester:so.tester}}),209:(function(ao,so,lo){function co(Ho,Vo){return vo(Ho)||mo(Ho,Vo)||fo(Ho,Vo)||uo()}function uo(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
748In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fo(Ho,Vo){if(Ho){if(typeof Ho=="string")return ho(Ho,Vo);var Lo=Object.prototype.toString.call(Ho).slice(8,-1);if(Lo==="Object"&&Ho.constructor&&(Lo=Ho.constructor.name),Lo==="Map"||Lo==="Set")return Array.from(Ho);if(Lo==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Lo))return ho(Ho,Vo)}}function ho(Ho,Vo){(Vo==null||Vo>Ho.length)&&(Vo=Ho.length);for(var Lo=0,Uo=new Array(Vo);Lo<Vo;Lo++)Uo[Lo]=Ho[Lo];return Uo}function mo(Ho,Vo){var Lo=Ho==null?null:typeof Symbol<"u"&&Ho[Symbol.iterator]||Ho["@@iterator"];if(Lo!=null){var Uo,Do,Oo,ko,Bo=[],Fo=!0,Qo=!1;try{if(Oo=(Lo=Lo.call(Ho)).next,Vo!==0)for(;!(Fo=(Uo=Oo.call(Lo)).done)&&(Bo.push(Uo.value),Bo.length!==Vo);Fo=!0);}catch(jo){Qo=!0,Do=jo}finally{try{if(!Fo&&Lo.return!=null&&(ko=Lo.return(),Object(ko)!==ko))return}finally{if(Qo)throw Do}}return Bo}}function vo(Ho){if(Array.isArray(Ho))return Ho}var Co=this&&this.__createBinding||(Object.create?function(Ho,Vo,Lo,Uo){Uo===void 0&&(Uo=Lo);var Do=Object.getOwnPropertyDescriptor(Vo,Lo);(!Do||("get"in Do?!Vo.__esModule:Do.writable||Do.configurable))&&(Do={enumerable:!0,get:function(){return Vo[Lo]}}),Object.defineProperty(Ho,Uo,Do)}:function(Ho,Vo,Lo,Uo){Uo===void 0&&(Uo=Lo),Ho[Uo]=Vo[Lo]}),bo=this&&this.__setModuleDefault||(Object.create?function(Ho,Vo){Object.defineProperty(Ho,"default",{enumerable:!0,value:Vo})}:function(Ho,Vo){Ho.default=Vo}),wo=this&&this.__importStar||function(Ho){if(Ho&&Ho.__esModule)return Ho;var Vo={};if(Ho!=null)for(var Lo in Ho)Lo!=="default"&&Object.prototype.hasOwnProperty.call(Ho,Lo)&&Co(Vo,Ho,Lo);return bo(Vo,Ho),Vo},yo=this&&this.__importDefault||function(Ho){return Ho&&Ho.__esModule?Ho:{default:Ho}};Object.defineProperty(so,"__esModule",{value:!0}),so.tester=so.renderer=void 0;var Eo=wo(lo(639)),xo=yo(lo(353)),So=yo(lo(803)),To=yo(lo(763)),Ro=function(Vo){var Lo=Vo.story,Uo=Vo.action;Vo.isPaused;var Do=Vo.config,Oo=Eo.useState(!1),ko=co(Oo,2),Bo=ko[0],Fo=ko[1],Qo=Do.width,jo=Do.height,Xo=Do.loader,Zo=Do.storyStyles,Wo=Object.assign(Object.assign({},Po.storyContent),Zo||{}),ta=function(){Fo(!0),Uo("play")};return Eo.createElement(So.default,Object.assign({},{story:Lo,globalHeader:Do.header}),Eo.createElement(To.default,Object.assign({},{story:Lo,action:Uo}),Eo.createElement("div",null,Eo.createElement("img",{style:Wo,src:Lo.url,onLoad:ta}),!Bo&&Eo.createElement("div",{style:{width:Qo,height:jo,position:"absolute",left:0,top:0,background:"rgba(0, 0, 0, 0.9)",zIndex:9,display:"flex",justifyContent:"center",alignItems:"center",color:"#ccc"}},Xo||Eo.createElement(xo.default,null)))))};so.renderer=Ro;var Po={storyContent:{width:"auto",maxWidth:"100%",maxHeight:"100%",margin:"auto"}},zo=function(Vo){return{condition:!Vo.content&&(!Vo.type||Vo.type==="image"),priority:2}};so.tester=zo,so.default={renderer:so.renderer,tester:so.tester}}),544:(function(ao,so,lo){function co(Ho,Vo){return vo(Ho)||mo(Ho,Vo)||fo(Ho,Vo)||uo()}function uo(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
749In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fo(Ho,Vo){if(Ho){if(typeof Ho=="string")return ho(Ho,Vo);var Lo=Object.prototype.toString.call(Ho).slice(8,-1);if(Lo==="Object"&&Ho.constructor&&(Lo=Ho.constructor.name),Lo==="Map"||Lo==="Set")return Array.from(Ho);if(Lo==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Lo))return ho(Ho,Vo)}}function ho(Ho,Vo){(Vo==null||Vo>Ho.length)&&(Vo=Ho.length);for(var Lo=0,Uo=new Array(Vo);Lo<Vo;Lo++)Uo[Lo]=Ho[Lo];return Uo}function mo(Ho,Vo){var Lo=Ho==null?null:typeof Symbol<"u"&&Ho[Symbol.iterator]||Ho["@@iterator"];if(Lo!=null){var Uo,Do,Oo,ko,Bo=[],Fo=!0,Qo=!1;try{if(Oo=(Lo=Lo.call(Ho)).next,Vo!==0)for(;!(Fo=(Uo=Oo.call(Lo)).done)&&(Bo.push(Uo.value),Bo.length!==Vo);Fo=!0);}catch(jo){Qo=!0,Do=jo}
749finally{try{if(!Fo&&Lo.return!=null&&(ko=Lo.return(),Object(ko)!==ko))return}finally{if(Qo)throw Do}}return Bo}}function vo(Ho){if(Array.isArray(Ho))return Ho}var Co=this&&this.__createBinding||(Object.create?function(Ho,Vo,Lo,Uo){Uo===void 0&&(Uo=Lo);var Do=Object.getOwnPropertyDescriptor(Vo,Lo);(!Do||("get"in Do?!Vo.__esModule:Do.writable||Do.configurable))&&(Do={enumerable:!0,get:function(){return Vo[Lo]}}),Object.defineProperty(Ho,Uo,Do)}:function(Ho,Vo,Lo,Uo){Uo===void 0&&(Uo=Lo),Ho[Uo]=Vo[Lo]}),bo=this&&this.__setModuleDefault||(Object.create?function(Ho,Vo){Object.defineProperty(Ho,"default",{enumerable:!0,value:Vo})}:function(Ho,Vo){Ho.default=Vo}),wo=this&&this.__importStar||function(Ho){if(Ho&&Ho.__esModule)return Ho;var Vo={};if(Ho!=null)for(var Lo in Ho)Lo!=="default"&&Object.prototype.hasOwnProperty.call(Ho,Lo)&&Co(Vo,Ho,Lo);return bo(Vo,Ho),Vo},yo=this&&this.__importDefault||function(Ho){return Ho&&Ho.__esModule?Ho:{default:Ho}};Object.defineProperty(so,"__esModule",{value:!0}),so.tester=so.renderer=void 0;var Eo=wo(lo(639)),xo=yo(lo(353)),So=yo(lo(803)),To=yo(lo(763)),Ro=function(Vo){var Lo=Vo.story,Uo=Vo.action,Do=Vo.isPaused,Oo=Vo.config,ko=Vo.messageHandler,Bo=Eo.useState(!1),Fo=co(Bo,2),Qo=Fo[0],jo=Fo[1],Xo=Eo.useState(Lo.muted||!1),Zo=co(Xo,2),Wo=Zo[0],ta=Zo[1],ra=Oo.width,da=Oo.height,pa=Oo.loader,sa=Oo.storyStyles,ya=Object.assign(Object.assign({},Po.storyContent),sa||{}),na=Eo.useRef(null);Eo.useEffect(function(){na.current&&(Do?na.current.pause():na.current.play().catch(function(){}))},[Do]);var ea=function(){Uo("pause",!0)},oa=function(){Uo("play",!0)},la=function(){ko("UPDATE_VIDEO_DURATION",{duration:na.current.duration}),jo(!0),na.current.play().then(function(){Uo("play")}).catch(function(){ta(!0),na.current.play().finally(function(){Uo("play")})})};return Eo.createElement(So.default,Object.assign({},{story:Lo,globalHeader:Oo.header}),Eo.createElement(To.default,Object.assign({},{story:Lo,action:Uo}),Eo.createElement("div",{style:Po.videoContainer},Eo.createElement("video",{ref:na,style:ya,src:Lo.url,controls:!1,onLoadedData:la,playsInline:!0,onWaiting:ea,onPlaying:oa,muted:Wo,autoPlay:!0,"webkit-playsinline":"true"}),!Qo&&Eo.createElement("div",{style:{width:ra,height:da,position:"absolute",left:0,top:0,background:"rgba(0, 0, 0, 0.9)",zIndex:9,display:"flex",justifyContent:"center",alignItems:"center",color:"#ccc"}},pa||Eo.createElement(xo.default,null)))))};so.renderer=Ro;var Po={storyContent:{width:"auto",maxWidth:"100%",maxHeight:"100%",margin:"auto"},videoContainer:{display:"flex",alignItems:"center",justifyContent:"center"}},zo=function(Vo){return{condition:Vo.type==="video",priority:2}};so.tester=zo,so.default={renderer:so.renderer,tester:so.tester}}),942:(function(ao,so,lo){var co=this&&this.__importDefault||function(vo){return vo&&vo.__esModule?vo:{default:vo}};Object.defineProperty(so,"__esModule",{value:!0}),so.renderers=void 0;var uo=co(lo(209)),fo=co(lo(544)),ho=co(lo(248)),mo=co(lo(350));so.renderers=[uo.default,fo.default,mo.default,ho.default]}),803:(function(ao,so,lo){function co(vo){"@babel/helpers - typeof";return co=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Co){return typeof Co}:function(Co){return Co&&typeof Symbol=="function"&&Co.constructor===Symbol&&Co!==Symbol.prototype?"symbol":typeof Co},co(vo)}var uo=this&&this.__importDefault||function(vo){return vo&&vo.__esModule?vo:{default:vo}};Object.defineProperty(so,"__esModule",{value:!0});var fo=uo(lo(639)),ho=uo(lo(463)),mo=function(Co){var bo=Co.story,wo=Co.globalHeader,yo=Co.children;return fo.default.createElement(fo.default.Fragment,null,yo,bo.header&&fo.default.createElement("div",{style:{position:"absolute",left:12,top:20,zIndex:19}},co(bo)==="object"?wo?wo(bo.header):fo.default.createElement(ho.default,{heading:bo.header.heading,subheading:bo.header.subheading,profileImage:bo.header.profileImage}):null))};so.default=mo}),763:(function(ao,so,lo){function co(To,Ro){return vo(To)||mo(To,Ro)||fo(To,Ro)||uo()}function uo(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
750In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}
750function fo(To,Ro){if(To){if(typeof To=="string")return ho(To,Ro);var Po=Object.prototype.toString.call(To).slice(8,-1);if(Po==="Object"&&To.constructor&&(Po=To.constructor.name),Po==="Map"||Po==="Set")return Array.from(To);if(Po==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Po))return ho(To,Ro)}}function ho(To,Ro){(Ro==null||Ro>To.length)&&(Ro=To.length);for(var Po=0,zo=new Array(Ro);Po<Ro;Po++)zo[Po]=To[Po];return zo}function mo(To,Ro){var Po=To==null?null:typeof Symbol<"u"&&To[Symbol.iterator]||To["@@iterator"];if(Po!=null){var zo,Ho,Vo,Lo,Uo=[],Do=!0,Oo=!1;try{if(Vo=(Po=Po.call(To)).next,Ro!==0)for(;!(Do=(zo=Vo.call(Po)).done)&&(Uo.push(zo.value),Uo.length!==Ro);Do=!0);}catch(ko){Oo=!0,Ho=ko}finally{try{if(!Do&&Po.return!=null&&(Lo=Po.return(),Object(Lo)!==Lo))return}finally{if(Oo)throw Ho}}return Uo}}function vo(To){if(Array.isArray(To))return To}var Co=this&&this.__createBinding||(Object.create?function(To,Ro,Po,zo){zo===void 0&&(zo=Po);var Ho=Object.getOwnPropertyDescriptor(Ro,Po);(!Ho||("get"in Ho?!Ro.__esModule:Ho.writable||Ho.configurable))&&(Ho={enumerable:!0,get:function(){return Ro[Po]}}),Object.defineProperty(To,zo,Ho)}:function(To,Ro,Po,zo){zo===void 0&&(zo=Po),To[zo]=Ro[Po]}),bo=this&&this.__setModuleDefault||(Object.create?function(To,Ro){Object.defineProperty(To,"default",{enumerable:!0,value:Ro})}:function(To,Ro){To.default=Ro}),wo=this&&this.__importStar||function(To){if(To&&To.__esModule)return To;var Ro={};if(To!=null)for(var Po in To)Po!=="default"&&Object.prototype.hasOwnProperty.call(To,Po)&&Co(Ro,To,Po);return bo(Ro,To),Ro},yo=this&&this.__importDefault||function(To){return To&&To.__esModule?To:{default:To}};Object.defineProperty(so,"__esModule",{value:!0});var Eo=wo(lo(639)),xo=yo(lo(771)),So=function(Ro){var Po=Ro.story,zo=Ro.action,Ho=Ro.customCollapsed,Vo=Ro.children,Lo=(0,Eo.useState)(!1),Uo=co(Lo,2),Do=Uo[0],Oo=Uo[1],ko=function(Qo){zo(Qo?"pause":"play"),Oo(Qo)},Bo=xo.default;return Eo.default.createElement(Eo.default.Fragment,null,Vo,Po.seeMore&&Eo.default.createElement("div",{style:{position:"absolute",margin:"auto",bottom:Do?"unset":0,zIndex:9999,width:"100%",height:Do?"100%":"auto"}},Eo.default.createElement(Bo,{action:zo,toggleMore:ko,showContent:Do,seeMoreContent:Po.seeMore,customCollapsed:Ho||Po.seeMoreCollapsed})))};so.default=So}),371:((ao,so)=>{Object.defineProperty(so,"__esModule",{value:!0}),so.getRenderer=void 0;var lo=function(uo,fo){var ho=fo.map(function(mo){return Object.assign(Object.assign({},mo),{testerResult:mo.tester(uo)})}).filter(function(mo){return mo.testerResult.condition});return ho.sort(function(mo,vo){return vo.testerResult.priority-mo.testerResult.priority}),ho[0].renderer};so.getRenderer=lo}),335:((ao,so)=>{Object.defineProperty(so,"__esModule",{value:!0}),so.timestamp=void 0;function lo(){return window.performance&&window.performance.now?window.performance.now():new Date().getTime()}so.timestamp=lo}),342:((ao,so,lo)=>{Object.defineProperty(so,"__esModule",{value:!0});var co=lo(639);function uo(){var fo=(0,co.useRef)(!1);return(0,co.useEffect)(function(){return fo.current=!0,function(){fo.current=!1}},[]),(0,co.useCallback)(function(){return fo.current},[])}so.default=uo}),402:(function(ao,so,lo){function co(yo){"@babel/helpers - typeof";return co=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Eo){return typeof Eo}:function(Eo){return Eo&&typeof Symbol=="function"&&Eo.constructor===Symbol&&Eo!==Symbol.prototype?"symbol":typeof Eo},co(yo)}function uo(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */uo=function(){return yo};var yo={},Eo=Object.prototype,xo=Eo.hasOwnProperty,So=Object.defineProperty||function(na,ea,oa){na[ea]=oa.value},To=typeof Symbol=="function"?Symbol:{},Ro=To.iterator||"@@iterator",Po=To.asyncIterator||"@@asyncIterator",zo=To.toStringTag||"@@toStringTag";function Ho(na,ea,oa){return Object.defineProperty(na,ea,{value:oa,enumerable:!0,configurable:!0,writable:!0}),na[ea]}try{Ho({},"")}catch{Ho=function(oa,la,_a){return oa[la]=_a}}function Vo(na,ea,oa,la){var _a=ea&&ea.prototype instanceof Do?ea:Do,Ea=Object.create(_a.prototype),Pa=new pa(la||[]);return So(Ea,"_invoke",{value:Wo(na,oa,Pa)}),Ea}function Lo(na,ea,oa){try{return{type:"normal",arg:na.call(ea,oa)}}catch(la){return{type:"throw",arg:la}}}yo.wrap=Vo;var Uo={};function Do(){}function Oo(){}function ko(){}var Bo={};Ho(Bo,Ro,function(){return this});var Fo=Object.getPrototypeOf,Qo=Fo&&Fo(Fo(sa([])));Qo&&Qo!==Eo&&xo.call(Qo,Ro)&&(Bo=Qo);var jo=ko.prototype=Do.prototype=Object.create(Bo);function Xo(na){["next","throw","return"].forEach(function(ea){Ho(na,ea,function(oa){return this._invoke(ea,oa)})})}function Zo(na,ea){function oa(_a,Ea,Pa,aa){var Ca=Lo(na[_a],na,Ea);if(Ca.type!=="throw"){var Sa=Ca.arg,Ia=Sa.value;return Ia&&co(Ia)=="object"&&xo.call(Ia,"__await")?ea.resolve(Ia.__await).then(function(Ta){oa("next",Ta,Pa,aa)},function(Ta){oa("throw",Ta,Pa,aa)}):ea.resolve(Ia).then(function(Ta){Sa.value=Ta,Pa(Sa)},function(Ta){return oa("throw",Ta,Pa,aa)})}aa(Ca.arg)}var la;So(this,"_invoke",{value:function(Ea,Pa){function aa(){return new ea(function(Ca,Sa){oa(Ea,Pa,Ca,Sa)})}return la=la?la.then(aa,aa):aa()}})}function Wo(na,ea,oa){var la="suspendedStart";return function(_a,Ea){if(la==="executing")throw new Error("Generator is already running");if(la==="completed"){if(_a==="throw")throw Ea;return ya()}for(oa.method=_a,oa.arg=Ea;;){var Pa=oa.delegate;if(Pa){var aa=ta(Pa,oa);if(aa){if(aa===Uo)continue;return aa}}if(oa.method==="next")oa.sent=oa._sent=oa.arg;else if(oa.method==="throw"){if(la==="suspendedStart")throw la="completed",oa.arg;oa.dispatchException(oa.arg)}else oa.method==="return"&&oa.abrupt("return",oa.arg);la="executing";var Ca=Lo(na,ea,oa);if(Ca.type==="normal"){if(la=oa.done?"completed":"suspendedYield",Ca.arg===Uo)continue;return{value:Ca.arg,done:oa.done}}Ca.type==="throw"&&(la="completed",oa.method="throw",oa.arg=Ca.arg)}}}function ta(na,ea){var oa=ea.method,la=na.iterator[oa];if(la===void 0)return ea.delegate=null,oa==="throw"&&na.iterator.return&&
vendor: 5,581 bytes, line 750
750(ea.method="return",ea.arg=void 0,ta(na,ea),ea.method==="throw")||oa!=="return"&&(ea.method="throw",ea.arg=new TypeError("The iterator does not provide a '"+oa+"' method")),Uo;var _a=Lo(la,na.iterator,ea.arg);if(_a.type==="throw")return ea.method="throw",ea.arg=_a.arg,ea.delegate=null,Uo;var Ea=_a.arg;return Ea?Ea.done?(ea[na.resultName]=Ea.value,ea.next=na.nextLoc,ea.method!=="return"&&(ea.method="next",ea.arg=void 0),ea.delegate=null,Uo):Ea:(ea.method="throw",ea.arg=new TypeError("iterator result is not an object"),ea.delegate=null,Uo)}function ra(na){var ea={tryLoc:na[0]};1 in na&&(ea.catchLoc=na[1]),2 in na&&(ea.finallyLoc=na[2],ea.afterLoc=na[3]),this.tryEntries.push(ea)}function da(na){var ea=na.completion||{};ea.type="normal",delete ea.arg,na.completion=ea}function pa(na){this.tryEntries=[{tryLoc:"root"}],na.forEach(ra,this),this.reset(!0)}function sa(na){if(na){var ea=na[Ro];if(ea)return ea.call(na);if(typeof na.next=="function")return na;if(!isNaN(na.length)){var oa=-1,la=function _a(){for(;++oa<na.length;)if(xo.call(na,oa))return _a.value=na[oa],_a.done=!1,_a;return _a.value=void 0,_a.done=!0,_a};return la.next=la}}return{next:ya}}function ya(){return{value:void 0,done:!0}}return Oo.prototype=ko,So(jo,"constructor",{value:ko,configurable:!0}),So(ko,"constructor",{value:Oo,configurable:!0}),Oo.displayName=Ho(ko,zo,"GeneratorFunction"),yo.isGeneratorFunction=function(na){var ea=typeof na=="function"&&na.constructor;return!!ea&&(ea===Oo||(ea.displayName||ea.name)==="GeneratorFunction")},yo.mark=function(na){return Object.setPrototypeOf?Object.setPrototypeOf(na,ko):(na.__proto__=ko,Ho(na,zo,"GeneratorFunction")),na.prototype=Object.create(jo),na},yo.awrap=function(na){return{__await:na}},Xo(Zo.prototype),Ho(Zo.prototype,Po,function(){return this}),yo.AsyncIterator=Zo,yo.async=function(na,ea,oa,la,_a){_a===void 0&&(_a=Promise);var Ea=new Zo(Vo(na,ea,oa,la),_a);return yo.isGeneratorFunction(ea)?Ea:Ea.next().then(function(Pa){return Pa.done?Pa.value:Ea.next()})},Xo(jo),Ho(jo,zo,"Generator"),Ho(jo,Ro,function(){return this}),Ho(jo,"toString",function(){return"[object Generator]"}),yo.keys=function(na){var ea=Object(na),oa=[];for(var la in ea)oa.push(la);return oa.reverse(),function _a(){for(;oa.length;){var Ea=oa.pop();if(Ea in ea)return _a.value=Ea,_a.done=!1,_a}return _a.done=!0,_a}},yo.values=sa,pa.prototype={constructor:pa,reset:function(ea){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(da),!ea)for(var oa in this)oa.charAt(0)==="t"&&xo.call(this,oa)&&!isNaN(+oa.slice(1))&&(this[oa]=void 0)},stop:function(){this.done=!0;var ea=this.tryEntries[0].completion;if(ea.type==="throw")throw ea.arg;return this.rval},dispatchException:function(ea){if(this.done)throw ea;var oa=this;function la(Sa,Ia){return Pa.type="throw",Pa.arg=ea,oa.next=Sa,Ia&&(oa.method="next",oa.arg=void 0),!!Ia}for(var _a=this.tryEntries.length-1;_a>=0;--_a){var Ea=this.tryEntries[_a],Pa=Ea.completion;if(Ea.tryLoc==="root")return la("end");if(Ea.tryLoc<=this.prev){var aa=xo.call(Ea,"catchLoc"),Ca=xo.call(Ea,"finallyLoc");if(aa&&Ca){if(this.prev<Ea.catchLoc)return la(Ea.catchLoc,!0);if(this.prev<Ea.finallyLoc)return la(Ea.finallyLoc)}else if(aa){if(this.prev<Ea.catchLoc)return la(Ea.catchLoc,!0)}else{if(!Ca)throw new Error("try statement without catch or finally");if(this.prev<Ea.finallyLoc)return la(Ea.finallyLoc)}}}},abrupt:function(ea,oa){for(var la=this.tryEntries.length-1;la>=0;--la){var _a=this.tryEntries[la];if(_a.tryLoc<=this.prev&&xo.call(_a,"finallyLoc")&&this.prev<_a.finallyLoc){var Ea=_a;break}}Ea&&(ea==="break"||ea==="continue")&&Ea.tryLoc<=oa&&oa<=Ea.finallyLoc&&(Ea=null);var Pa=Ea?Ea.completion:{};return Pa.type=ea,Pa.arg=oa,Ea?(this.method="next",this.next=Ea.finallyLoc,Uo):this.complete(Pa)},complete:function(ea,oa){if(ea.type==="throw")throw ea.arg;return ea.type==="break"||ea.type==="continue"?this.next=ea.arg:ea.type==="return"?(this.rval=this.arg=ea.arg,this.method="return",this.next="end"):ea.type==="normal"&&oa&&(this.next=oa),Uo},finish:function(ea){for(var oa=this.tryEntries.length-1;oa>=0;--oa){var la=this.tryEntries[oa];if(la.finallyLoc===ea)return this.complete(la.completion,la.afterLoc),da(la),Uo}},catch:function(ea){for(var oa=this.tryEntries.length-1;oa>=0;--oa){var la=this.tryEntries[oa];if(la.tryLoc===ea){var _a=la.completion;if(_a.type==="throw"){var Ea=_a.arg;da(la)}return Ea}}throw new Error("illegal catch attempt")},delegateYield:function(ea,oa,la){return this.delegate={iterator:sa(ea),resultName:oa,nextLoc:la},this.method==="next"&&(this.arg=void 0),Uo}},yo}var fo=this&&this.__awaiter||function(yo,Eo,xo,So){function To(Ro){return Ro instanceof xo?Ro:new xo(function(Po){Po(Ro)})}return new(xo||(xo=Promise))(function(Ro,Po){function zo(Lo){try{Vo(So.next(Lo))}catch(Uo){Po(Uo)}}function Ho(Lo){try{Vo(So.throw(Lo))}catch(Uo){Po(Uo)}}function Vo(Lo){Lo.done?Ro(Lo.value):To(Lo.value).then(zo,Ho)}Vo((So=So.apply(yo,Eo||[])).next())})};Object.defineProperty(so,"__esModule",{value:!0}),so.usePreLoader=void 0;var ho=lo(639),mo=function(Eo){return fo(void 0,void 0,void 0,uo().mark(function xo(){var So;return uo().wrap(function(Ro){for(;;)switch(Ro.prev=Ro.next){case 0:return So=Eo.map(function(Po){return new Promise(function(zo,Ho){if(Po.url){if(Po.type==="video"){var Vo=document.createElement("video");Vo.src=Po.url,Vo.onloadeddata=zo,Vo.onerror=Ho;return}var Lo=new Image;Lo.src=Po.url,Lo.onload=zo,Lo.onerror=Ho}})}),Ro.next=3,Promise.all(So);case 3:case"end":return Ro.stop()}},xo)}))}
750,vo=new Set,Co=function(Eo){Eo.forEach(function(xo){vo.add(xo.url)})},bo=function(Eo){return!Eo.url||vo.has(Eo.url)?!1:Eo.preloadResource!==void 0?Eo.preloadResource:Eo.type!=="video"},wo=function(Eo,xo,So){(0,ho.useEffect)(function(){var To=xo+1,Ro=xo+So+1,Po=Eo.slice(To,Ro).filter(bo);Co(Po),mo(Po)},[xo,So,Eo])};so.usePreLoader=wo}),639:(ao=>{ao.exports=to})},no={};function io(ao){var so=no[ao];if(so!==void 0)return so.exports;var lo=no[ao]={exports:{}};return ro[ao].call(lo.exports,lo,lo.exports,io),lo.exports}io.n=ao=>{var so=ao&&ao.__esModule?()=>ao.default:()=>ao;return io.d(so,{a:so}),so},io.d=(ao,so)=>{for(var lo in so)io.o(so,lo)&&!io.o(ao,lo)&&Object.defineProperty(ao,lo,{enumerable:!0,get:so[lo]})},io.o=(ao,so)=>Object.prototype.hasOwnProperty.call(ao,so),io.r=ao=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(ao,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(ao,"__esModule",{value:!0})};var oo=io(370);return oo})())})(dist);var distExports=dist.exports;const Stories=getDefaultExportFromCjs(distExports);class e{constructor(eo,to,ro,no,io){this._legacyCanvasSize=e.DEFAULT_CANVAS_SIZE,this._preferredCamera="environment",this._maxScansPerSecond=25,this._lastScanTimestamp=-1,this._destroyed=this._flashOn=this._paused=this._active=!1,this.$video=eo,this.$canvas=document.createElement("canvas"),ro&&typeof ro=="object"?this._onDecode=to:(console.warn(ro||no||io?"You're using a deprecated version of the QrScanner constructor which will be removed in the future":"Note that the type of the scan result passed to onDecode will change in the future. To already switch to the new api today, you can pass returnDetailedScanResult: true."),this._legacyOnDecode=to),to=typeof ro=="object"?ro:{},this._onDecodeError=to.onDecodeError||(typeof ro=="function"?ro:this._onDecodeError),this._calculateScanRegion=to.calculateScanRegion||(typeof no=="function"?no:this._calculateScanRegion),this._preferredCamera=to.preferredCamera||io||this._preferredCamera,this._legacyCanvasSize=typeof ro=="number"?ro:typeof no=="number"?no:this._legacyCanvasSize,this._maxScansPerSecond=to.maxScansPerSecond||this._maxScansPerSecond,this._onPlay=this._onPlay.bind(this),this._onLoadedMetaData=this._onLoadedMetaData.bind(this),this._onVisibilityChange=this._onVisibilityChange.bind(this),this._updateOverlay=this._updateOverlay.bind(this),eo.disablePictureInPicture=!0,eo.playsInline=!0,eo.muted=!0;let oo=!1;if(eo.hidden&&(eo.hidden=!1,oo=!0),document.body.contains(eo)||(document.body.appendChild(eo),oo=!0),ro=eo.parentElement,to.highlightScanRegion||to.highlightCodeOutline){if(no=!!to.overlay,this.$overlay=to.overlay||document.createElement("div"),io=this.$overlay.style,io.position="absolute",io.display="none",io.pointerEvents="none",this.$overlay.classList.add("scan-region-highlight"),!no&&to.highlightScanRegion){this.$overlay.innerHTML='<svg class="scan-region-highlight-svg" viewBox="0 0 238 238" preserveAspectRatio="none" style="position:absolute;width:100%;height:100%;left:0;top:0;fill:none;stroke:#e9b213;stroke-width:4;stroke-linecap:round;stroke-linejoin:round"><path d="M31 2H10a8 8 0 0 0-8 8v21M207 2h21a8 8 0 0 1 8 8v21m0 176v21a8 8 0 0 1-8 8h-21m-176 0H10a8 8 0 0 1-8-8v-21"/></svg>';try{this.$overlay.firstElementChild.animate({transform:["scale(.98)","scale(1.01)"]},{duration:400,iterations:1/0,direction:"alternate",easing:"ease-in-out"})}catch{}ro.insertBefore(this.$overlay,this.$video.nextSibling)}to.highlightCodeOutline&&(this.$overlay.insertAdjacentHTML("beforeend",'<svg class="code-outline-highlight" preserveAspectRatio="none" style="display:none;width:100%;height:100%;fill:none;stroke:#e9b213;stroke-width:5;stroke-dasharray:25;stroke-linecap:round;stroke-linejoin:round"><polygon/></svg>'),this.$codeOutlineHighlight=this.$overlay.lastElementChild)}this._scanRegion=this._calculateScanRegion(eo),requestAnimationFrame(()=>{let ao=window.getComputedStyle(eo);ao.display==="none"&&(eo.style.setProperty("display","block","important"),oo=!0),ao.visibility!=="visible"&&(eo.style.setProperty("visibility","visible","important"),oo=!0),oo&&(console.warn("QrScanner has overwritten the video hiding style to avoid Safari stopping the playback."),eo.style.opacity="0",eo.style.width="0",eo.style.height="0",this.$overlay&&this.$overlay.parentElement&&this.$overlay.parentElement.removeChild(this.$overlay),delete this.$overlay,delete this.$codeOutlineHighlight),this.$overlay&&this._updateOverlay()}),eo.addEventListener("play",this._onPlay),eo.addEventListener("loadedmetadata",this._onLoadedMetaData),document.addEventListener("visibilitychange",this._onVisibilityChange),window.addEventListener("resize",this._updateOverlay),this._qrEnginePromise=e.createQrEngine()}static set WORKER_PATH(eo){console.warn("Setting QrScanner.WORKER_PATH is not required and not supported anymore. Have a look at the README for new setup instructions.")}static async hasCamera(){try{return!!(await e.listCameras(!1)).length}catch{return!1}}static async listCameras(eo=!1){if(!navigator.mediaDevices)return[];let to=async()=>(await navigator.mediaDevices.enumerateDevices()).filter(no=>no.kind==="videoinput"),ro;try{eo&&(await to()).every(no=>!no.label)&&(ro=await navigator.mediaDevices.getUserMedia({audio:!1,video:!0}))}catch{}try{return(await to()).map((no,io)=>({id:no.deviceId,label:no.label||(io===0?"Default Camera":`Camera ${io+1}`)}))}finally{ro&&(console.warn("Call listCameras after successfully starting a QR scanner to avoid creating a temporary video stream"),e._stopVideoStream(ro))}}async hasFlash(){let eo;try{if(this.$video.srcObject){if(!(this.$video.srcObject instanceof MediaStream))return!1;eo=this.$video.srcObject}else eo=(await this._getCameraStream()).stream;return"torch"in eo.getVideoTracks()[0].getSettings()}catch{return!1}finally{eo&&eo!==this.$video.srcObject&&(console.warn("Call hasFlash after successfully starting the scanner to avoid creating a temporary video stream"),e._stopVideoStream(eo))}}isFlashOn(){return this._flashOn}async toggleFlash(){this._flashOn?await this.turnFlashOff():await this.turnFlashOn()}async turnFlashOn(){if(!this._flashOn&&!this._destroyed&&(this._flashOn=!0,this._active&&!this._paused))try{if
750(!await this.hasFlash())throw"No flash available";await this.$video.srcObject.getVideoTracks()[0].applyConstraints({advanced:[{torch:!0}]})}catch(eo){throw this._flashOn=!1,eo}}async turnFlashOff(){this._flashOn&&(this._flashOn=!1,await this._restartVideoStream())}destroy(){this.$video.removeEventListener("loadedmetadata",this._onLoadedMetaData),this.$video.removeEventListener("play",this._onPlay),document.removeEventListener("visibilitychange",this._onVisibilityChange),window.removeEventListener("resize",this._updateOverlay),this._destroyed=!0,this._flashOn=!1,this.stop(),e._postWorkerMessage(this._qrEnginePromise,"close")}async start(){if(this._destroyed)throw Error("The QR scanner can not be started as it had been destroyed.");if((!this._active||this._paused)&&(window.location.protocol!=="https:"&&console.warn("The camera stream is only accessible if the page is transferred via https."),this._active=!0,!document.hidden))if(this._paused=!1,this.$video.srcObject)await this.$video.play();else try{let{stream:eo,facingMode:to}=await this._getCameraStream();!this._active||this._paused?e._stopVideoStream(eo):(this._setVideoMirror(to),this.$video.srcObject=eo,await this.$video.play(),this._flashOn&&(this._flashOn=!1,this.turnFlashOn().catch(()=>{})))}catch(eo){if(!this._paused)throw this._active=!1,eo}}stop(){this.pause(),this._active=!1}async pause(eo=!1){if(this._paused=!0,!this._active)return!0;this.$video.pause(),this.$overlay&&(this.$overlay.style.display="none");let to=()=>{this.$video.srcObject instanceof MediaStream&&(e._stopVideoStream(this.$video.srcObject),this.$video.srcObject=null)};return eo?(to(),!0):(await new Promise(ro=>setTimeout(ro,300)),this._paused?(to(),!0):!1)}async setCamera(eo){eo!==this._preferredCamera&&(this._preferredCamera=eo,await this._restartVideoStream())}static async scanImage(eo,to,ro,no,io=!1,oo=!1){let ao,so=!1;to&&("scanRegion"in to||"qrEngine"in to||"canvas"in to||"disallowCanvasResizing"in to||"alsoTryWithoutScanRegion"in to||"returnDetailedScanResult"in to)?(ao=to.scanRegion,ro=to.qrEngine,no=to.canvas,io=to.disallowCanvasResizing||!1,oo=to.alsoTryWithoutScanRegion||!1,so=!0):console.warn(to||ro||no||io||oo?"You're using a deprecated api for scanImage which will be removed in the future.":"Note that the return type of scanImage will change in the future. To already switch to the new api today, you can pass returnDetailedScanResult: true."),to=!!ro;try{let lo,co;[ro,lo]=await Promise.all([ro||e.createQrEngine(),e._loadImage(eo)]),[no,co]=e._drawToCanvas(lo,ao,no,io);let uo;if(ro instanceof Worker){let fo=ro;to||e._postWorkerMessageSync(fo,"inversionMode","both"),uo=await new Promise((ho,mo)=>{let vo,Co,bo,wo=-1;Co=Eo=>{Eo.data.id===wo&&(fo.removeEventListener("message",Co),fo.removeEventListener("error",bo),clearTimeout(vo),Eo.data.data!==null?ho({data:Eo.data.data,cornerPoints:e._convertPoints(Eo.data.cornerPoints,ao)}):mo(e.NO_QR_CODE_FOUND))},bo=Eo=>{fo.removeEventListener("message",Co),fo.removeEventListener("error",bo),clearTimeout(vo),mo("Scanner error: "+(Eo?Eo.message||Eo:"Unknown Error"))},fo.addEventListener("message",Co),fo.addEventListener("error",bo),vo=setTimeout(()=>bo("timeout"),1e4);let yo=co.getImageData(0,0,no.width,no.height);wo=e._postWorkerMessageSync(fo,"decode",yo,[yo.data.buffer])})}else uo=await Promise.race([new Promise((fo,ho)=>window.setTimeout(()=>ho("Scanner error: timeout"),1e4)),(async()=>{try{var[fo]=await ro.detect(no);if(!fo)throw e.NO_QR_CODE_FOUND;return{data:fo.rawValue,cornerPoints:e._convertPoints(fo.cornerPoints,ao)}}catch(ho){if(fo=ho.message||ho,/not implemented|service unavailable/.test(fo))return e._disableBarcodeDetector=!0,e.scanImage(eo,{scanRegion:ao,canvas:no,disallowCanvasResizing:io,alsoTryWithoutScanRegion:oo});throw`Scanner error: ${fo}`}})()]);return so?uo:uo.data}catch(lo){if(!ao||!oo)throw lo;let co=await e.scanImage(eo,{qrEngine:ro,canvas:no,disallowCanvasResizing:io});return so?co:co.data}finally{to||e._postWorkerMessage(ro,"close")}}setGrayscaleWeights(eo,to,ro,no=!0){e._postWorkerMessage(this._qrEnginePromise,"grayscaleWeights",{red:eo,green:to,blue:ro,useIntegerApproximation:no})}setInversionMode(eo){e._postWorkerMessage(this._qrEnginePromise,"inversionMode",eo)}static async createQrEngine(eo){if(eo&&console.warn("Specifying a worker path is not required and not supported anymore."),eo=()=>__vitePreload(()=>Promise.resolve().then(()=>qrScannerWorker_min),void 0).then(ro=>ro.createWorker()),!(!e._disableBarcodeDetector&&"BarcodeDetector"in window&&BarcodeDetector.getSupp
vendor: 4,298 bytes, line 750
750ortedFormats&&(await BarcodeDetector.getSupportedFormats()).includes("qr_code")))return eo();let to=navigator.userAgentData;return to&&to.brands.some(({brand:ro})=>/Chromium/i.test(ro))&&/mac ?OS/i.test(to.platform)&&await to.getHighEntropyValues(["architecture","platformVersion"]).then(({architecture:ro,platformVersion:no})=>/arm/i.test(ro||"arm")&&13<=parseInt(no||"13")).catch(()=>!0)?eo():new BarcodeDetector({formats:["qr_code"]})}_onPlay(){this._scanRegion=this._calculateScanRegion(this.$video),this._updateOverlay(),this.$overlay&&(this.$overlay.style.display=""),this._scanFrame()}_onLoadedMetaData(){this._scanRegion=this._calculateScanRegion(this.$video),this._updateOverlay()}_onVisibilityChange(){document.hidden?this.pause():this._active&&this.start()}_calculateScanRegion(eo){let to=Math.round(.6666666666666666*Math.min(eo.videoWidth,eo.videoHeight));return{x:Math.round((eo.videoWidth-to)/2),y:Math.round((eo.videoHeight-to)/2),width:to,height:to,downScaledWidth:this._legacyCanvasSize,downScaledHeight:this._legacyCanvasSize}}_updateOverlay(){requestAnimationFrame(()=>{if(this.$overlay){var eo=this.$video,to=eo.videoWidth,ro=eo.videoHeight,no=eo.offsetWidth,io=eo.offsetHeight,oo=eo.offsetLeft,ao=eo.offsetTop,so=window.getComputedStyle(eo),lo=so.objectFit,co=to/ro,uo=no/io;switch(lo){case"none":var fo=to,ho=ro;break;case"fill":fo=no,ho=io;break;default:(lo==="cover"?co>uo:co<uo)?(ho=io,fo=ho*co):(fo=no,ho=fo/co),lo==="scale-down"&&(fo=Math.min(fo,to),ho=Math.min(ho,ro))}var[mo,vo]=so.objectPosition.split(" ").map((bo,wo)=>{const yo=parseFloat(bo);return bo.endsWith("%")?(wo?io-ho:no-fo)*yo/100:yo});so=this._scanRegion.width||to,uo=this._scanRegion.height||ro,lo=this._scanRegion.x||0;var Co=this._scanRegion.y||0;co=this.$overlay.style,co.width=`${so/to*fo}px`,co.height=`${uo/ro*ho}px`,co.top=`${ao+vo+Co/ro*ho}px`,ro=/scaleX\(-1\)/.test(eo.style.transform),co.left=`${oo+(ro?no-mo-fo:mo)+(ro?to-lo-so:lo)/to*fo}px`,co.transform=eo.style.transform}})}static _convertPoints(eo,to){if(!to)return eo;let ro=to.x||0,no=to.y||0,io=to.width&&to.downScaledWidth?to.width/to.downScaledWidth:1;to=to.height&&to.downScaledHeight?to.height/to.downScaledHeight:1;for(let oo of eo)oo.x=oo.x*io+ro,oo.y=oo.y*to+no;return eo}_scanFrame(){!this._active||this.$video.paused||this.$video.ended||("requestVideoFrameCallback"in this.$video?this.$video.requestVideoFrameCallback.bind(this.$video):requestAnimationFrame)(async()=>{if(!(1>=this.$video.readyState)){var eo=Date.now()-this._lastScanTimestamp,to=1e3/this._maxScansPerSecond;eo<to&&await new Promise(no=>setTimeout(no,to-eo)),this._lastScanTimestamp=Date.now();try{var ro=await e.scanImage(this.$video,{scanRegion:this._scanRegion,qrEngine:this._qrEnginePromise,canvas:this.$canvas})}catch(no){if(!this._active)return;this._onDecodeError(no)}!e._disableBarcodeDetector||await this._qrEnginePromise instanceof Worker||(this._qrEnginePromise=e.createQrEngine()),ro?(this._onDecode?this._onDecode(ro):this._legacyOnDecode&&this._legacyOnDecode(ro.data),this.$codeOutlineHighlight&&(clearTimeout(this._codeOutlineHighlightRemovalTimeout),this._codeOutlineHighlightRemovalTimeout=void 0,this.$codeOutlineHighlight.setAttribute("viewBox",`${this._scanRegion.x||0} ${this._scanRegion.y||0} ${this._scanRegion.width||this.$video.videoWidth} ${this._scanRegion.height||this.$video.videoHeight}`),this.$codeOutlineHighlight.firstElementChild.setAttribute("points",ro.cornerPoints.map(({x:no,y:io})=>`${no},${io}`).join(" ")),this.$codeOutlineHighlight.style.display="")):this.$codeOutlineHighlight&&!this._codeOutlineHighlightRemovalTimeout&&(this._codeOutlineHighlightRemovalTimeout=setTimeout(()=>this.$codeOutlineHighlight.style.display="none",100))}this._scanFrame()})}_onDecodeError(eo){eo!==e.NO_QR_CODE_FOUND&&console.log(eo)}async _getCameraStream(){if(!navigator.mediaDevices)throw"Camera not found.";let eo=/^(environment|user)$/.test(this._preferredCamera)?"facingMode":"deviceId",to=[{width:{min:1024}},{width:{min:768}},{}],ro=to.map(no=>Object.assign({},no,{[eo]:{exact:this._preferredCamera}}));for(let no of[...ro,...to])try{let io=await navigator.mediaDevices.getUserMedia({video:no,audio:!1}),oo=this._getFacingMode(io)||(no.facingMode?this._preferredCamera:this._preferredCamera==="environment"?"user":"environment");
750return{stream:io,facingMode:oo}}catch{}throw"Camera not found."}async _restartVideoStream(){let eo=this._paused;await this.pause(!0)&&!eo&&this._active&&await this.start()}static _stopVideoStream(eo){for(let to of eo.getTracks())to.stop(),eo.removeTrack(to)}_setVideoMirror(eo){this.$video.style.transform="scaleX("+(eo==="user"?-1:1)+")"}_getFacingMode(eo){return(eo=eo.getVideoTracks()[0])?/rear|back|environment/i.test(eo.label)?"environment":/front|user|face/i.test(eo.label)?"user":null:null}static _drawToCanvas(eo,to,ro,no=!1){ro=ro||document.createElement("canvas");let io=to&&to.x?to.x:0,oo=to&&to.y?to.y:0,ao=to&&to.width?to.width:eo.videoWidth||eo.width,so=to&&to.height?to.height:eo.videoHeight||eo.height;return no||(no=to&&to.downScaledWidth?to.downScaledWidth:ao,to=to&&to.downScaledHeight?to.downScaledHeight:so,ro.width!==no&&(ro.width=no),ro.height!==to&&(ro.height=to)),to=ro.getContext("2d",{alpha:!1}),to.imageSmoothingEnabled=!1,to.drawImage(eo,io,oo,ao,so,0,0,ro.width,ro.height),[ro,to]}static async _loadImage(eo){if(eo instanceof Image)return await e._awaitImageLoad(eo),eo;if(eo instanceof HTMLVideoElement||eo instanceof HTMLCanvasElement||eo instanceof SVGImageElement||"OffscreenCanvas"in window&&eo instanceof OffscreenCanvas||"ImageBitmap"in window&&eo instanceof ImageBitmap)return eo;if(eo instanceof File||eo instanceof Blob||eo instanceof URL||typeof eo=="string"){let to=new Image;to.src=eo instanceof File||eo instanceof Blob?URL.createObjectURL(eo):eo.toString();try{return await e._awaitImageLoad(to),to}finally{(eo instanceof File||eo instanceof Blob)&&URL.revokeObjectURL(to.src)}}else throw"Unsupported image type."}static async _awaitImageLoad(eo){eo.complete&&eo.naturalWidth!==0||await new Promise((to,ro)=>{let no=io=>{eo.removeEventListener("load",no),eo.removeEventListener("error",no),io instanceof ErrorEvent?ro("Image load error"):to()};eo.addEventListener("load",no),eo.addEventListener("error",no)})}static async _postWorkerMessage(eo,to,ro,no){return e._postWorkerMessageSync(await eo,to,ro,no)}static _postWorkerMessageSync(eo,to,ro,no){if(!(eo instanceof Worker))return-1;let io=e._workerMessageId++;return eo.postMessage({id:io,type:to,data:ro},no),io}}e.DEFAULT_CANVAS_SIZE=400;e.NO_QR_CODE_FOUND="No QR code found";e._disableBarcodeDetector=!1;e._workerMessageId=0;const qrScanner_min=Object.freeze(Object.defineProperty({__proto__:null,default:e},Symbol.toStringTag,{value:"Module"})),
vendor: 43,931 bytes, lines 750-847
750createWorker=()=>new Worker(URL.createObjectURL(new Blob([`class x{constructor(a,b){this.width=b;this.height=a.length/b;this.data=a}static createEmpty(a,b){return new x(new Uint8ClampedArray(a*b),a)}get(a,b){return 0>a||a>=this.width||0>b||b>=this.height?!1:!!this.data[b*this.width+a]}set(a,b,c){this.data[b*this.width+a]=c?1:0}setRegion(a,b,c,d,e){for(let f=b;f<b+d;f++)for(let g=a;g<a+c;g++)this.set(g,f,!!e)}}
751class A{constructor(a,b,c){this.width=a;a*=b;if(c&&c.length!==a)throw Error("Wrong buffer size");this.data=c||new Uint8ClampedArray(a)}get(a,b){return this.data[b*this.width+a]}set(a,b,c){this.data[b*this.width+a]=c}}
752class ba{constructor(a){this.bitOffset=this.byteOffset=0;this.bytes=a}readBits(a){if(1>a||32<a||a>this.available())throw Error("Cannot read "+a.toString()+" bits");var b=0;if(0<this.bitOffset){b=8-this.bitOffset;var c=a<b?a:b;b-=c;b=(this.bytes[this.byteOffset]&255>>8-c<<b)>>b;a-=c;this.bitOffset+=c;8===this.bitOffset&&(this.bitOffset=0,this.byteOffset++)}if(0<a){for(;8<=a;)b=b<<8|this.bytes[this.byteOffset]&255,this.byteOffset++,a-=8;0<a&&(c=8-a,b=b<<a|(this.bytes[this.byteOffset]&255>>c<<c)>>c,
753this.bitOffset+=a)}return b}available(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset}}var B,C=B||(B={});C.Numeric="numeric";C.Alphanumeric="alphanumeric";C.Byte="byte";C.Kanji="kanji";C.ECI="eci";C.StructuredAppend="structuredappend";var D,E=D||(D={});E[E.Terminator=0]="Terminator";E[E.Numeric=1]="Numeric";E[E.Alphanumeric=2]="Alphanumeric";E[E.Byte=4]="Byte";E[E.Kanji=8]="Kanji";E[E.ECI=7]="ECI";E[E.StructuredAppend=3]="StructuredAppend";let F="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:".split("");
754function ca(a,b){let c=[],d="";b=a.readBits([8,16,16][b]);for(let e=0;e<b;e++){let f=a.readBits(8);c.push(f)}try{d+=decodeURIComponent(c.map(e=>\`%\${("0"+e.toString(16)).substr(-2)}\`).join(""))}catch(e){}return{bytes:c,text:d}}
755function da(a,b){a=new ba(a);let c=9>=b?0:26>=b?1:2;for(b={text:"",bytes:[],chunks:[],version:b};4<=a.available();){var d=a.readBits(4);if(d===D.Terminator)return b;if(d===D.ECI)0===a.readBits(1)?b.chunks.push({type:B.ECI,assignmentNumber:a.readBits(7)}):0===a.readBits(1)?b.chunks.push({type:B.ECI,assignmentNumber:a.readBits(14)}):0===a.readBits(1)?b.chunks.push({type:B.ECI,assignmentNumber:a.readBits(21)}):b.chunks.push({type:B.ECI,assignmentNumber:-1});else if(d===D.Numeric){var e=a,f=[];d="";for(var g=
756e.readBits([10,12,14][c]);3<=g;){var h=e.readBits(10);if(1E3<=h)throw Error("Invalid numeric value above 999");var k=Math.floor(h/100),m=Math.floor(h/10)%10;h%=10;f.push(48+k,48+m,48+h);d+=k.toString()+m.toString()+h.toString();g-=3}if(2===g){g=e.readBits(7);if(100<=g)throw Error("Invalid numeric value above 99");e=Math.floor(g/10);g%=10;f.push(48+e,48+g);d+=e.toString()+g.toString()}else if(1===g){e=e.readBits(4);if(10<=e)throw Error("Invalid numeric value above 9");f.push(48+e);d+=e.toString()}b.text+=
757d;b.bytes.push(...f);b.chunks.push({type:B.Numeric,text:d})}else if(d===D.Alphanumeric){e=a;f=[];d="";for(g=e.readBits([9,11,13][c]);2<=g;)m=e.readBits(11),k=Math.floor(m/45),m%=45,f.push(F[k].charCodeAt(0),F[m].charCodeAt(0)),d+=F[k]+F[m],g-=2;1===g&&(e=e.readBits(6),f.push(F[e].charCodeAt(0)),d+=F[e]);b.text+=d;b.bytes.push(...f);b.chunks.push({type:B.Alphanumeric,text:d})}else if(d===D.Byte)d=ca(a,c),b.text+=d.text,b.bytes.push(...d.bytes),b.chunks.push({type:B.Byte,bytes:d.bytes,text:d.text});
758else if(d===D.Kanji){f=a;d=[];e=f.readBits([8,10,12][c]);for(g=0;g<e;g++)k=f.readBits(13),k=Math.floor(k/192)<<8|k%192,k=7936>k?k+33088:k+49472,d.push(k>>8,k&255);f=(new TextDecoder("shift-jis")).decode(Uint8Array.from(d));b.text+=f;b.bytes.push(...d);b.chunks.push({type:B.Kanji,bytes:d,text:f})}else d===D.StructuredAppend&&b.chunks.push({type:B.StructuredAppend,currentSequence:a.readBits(4),totalSequence:a.readBits(4),parity:a.readBits(8)})}if(0===a.available()||0===a.readBits(a.available()))return b}
759class G{constructor(a,b){if(0===b.length)throw Error("No coefficients.");this.field=a;let c=b.length;if(1<c&&0===b[0]){let d=1;for(;d<c&&0===b[d];)d++;if(d===c)this.coefficients=a.zero.coefficients;else for(this.coefficients=new Uint8ClampedArray(c-d),a=0;a<this.coefficients.length;a++)this.coefficients[a]=b[d+a]}else this.coefficients=b}degree(){return this.coefficients.length-1}isZero(){return 0===this.coefficients[0]}getCoefficient(a){return this.coefficients[this.coefficients.length-1-a]}addOrSubtract(a){if(this.isZero())return a;
760if(a.isZero())return this;let b=this.coefficients;a=a.coefficients;b.length>a.length&&([b,a]=[a,b]);let c=new Uint8ClampedArray(a.length),d=a.length-b.length;for(var e=0;e<d;e++)c[e]=a[e];for(e=d;e<a.length;e++)c[e]=b[e-d]^a[e];return new G(this.field,c)}multiply(a){if(0===a)return this.field.zero;if(1===a)return this;let b=this.coefficients.length,c=new Uint8ClampedArray(b);for(let d=0;d<b;d++)c[d]=this.field.multiply(this.coefficients[d],a);return new G(this.field,c)}multiplyPoly(a){if(this.isZero()||
761a.isZero())return this.field.zero;let b=this.coefficients,c=b.length;a=a.coefficients;let d=a.length,e=new Uint8ClampedArray(c+d-1);for(let f=0;f<c;f++){let g=b[f];for(let h=0;h<d;h++)e[f+h]=H(e[f+h],this.field.multiply(g,a[h]))}return new G(this.field,e)}multiplyByMonomial(a,b){if(0>a)throw Error("Invalid degree less than 0");if(0===b)return this.field.zero;let c=this.coefficients.length;a=new Uint8ClampedArray(c+a);for(let d=0;d<c;d++)a[d]=this.field.multiply(this.coefficients[d],b);return new G(this.field,
762a)}evaluateAt(a){let b=0;if(0===a)return this.getCoefficient(0);let c=this.coefficients.length;if(1===a)return this.coefficients.forEach(d=>{b^=d}),b;b=this.coefficients[0];for(let d=1;d<c;d++)b=H(this.field.multiply(a,b),this.coefficients[d]);return b}}function H(a,b){return a^b}
763class ea{constructor(a,b,c){this.primitive=a;this.size=b;this.generatorBase=c;this.expTable=Array(this.size);this.logTable=Array(this.size);a=1;for(b=0;b<this.size;b++)this.expTable[b]=a,a*=2,a>=this.size&&(a=(a^this.primitive)&this.size-1);for(a=0;a<this.size-1;a++)this.logTable[this.expTable[a]]=a;this.zero=new G(this,Uint8ClampedArray.from([0]));this.one=new G(this,Uint8ClampedArray.from([1]))}multiply(a,b){return 0===a||0===b?0:this.expTable[(this.logTable[a]+this.logTable[b])%(this.size-1)]}inverse(a){if(0===
764a)throw Error("Can't invert 0");return this.expTable[this.size-this.logTable[a]-1]}buildMonomial(a,b){if(0>a)throw Error("Invalid monomial degree less than 0");if(0===b)return this.zero;a=new Uint8ClampedArray(a+1);a[0]=b;return new G(this,a)}log(a){if(0===a)throw Error("Can't take log(0)");return this.logTable[a]}exp(a){return this.expTable[a]}}
765function fa(a,b,c,d){b.degree()<c.degree()&&([b,c]=[c,b]);let e=a.zero;for(var f=a.one;c.degree()>=d/2;){var g=b;let h=e;b=c;e=f;if(b.isZero())return null;c=g;f=a.zero;g=b.getCoefficient(b.degree());for(g=a.inverse(g);c.degree()>=b.degree()&&!c.isZero();){let k=c.degree()-b.degree(),m=a.multiply(c.getCoefficient(c.degree()),g);f=f.addOrSubtract(a.buildMonomial(k,m));c=c.addOrSubtract(b.multiplyByMonomial(k,m))}f=f.multiplyPoly(e).addOrSubtract(h);if(c.degree()>=b.degree())return null}d=f.getCoefficient(0);
766if(0===d)return null;a=a.inverse(d);return[f.multiply(a),c.multiply(a)]}
767function ha(a,b){let c=new Uint8ClampedArray(a.length);c.set(a);a=new ea(285,256,0);var d=new G(a,c),e=new Uint8ClampedArray(b),f=!1;for(var g=0;g<b;g++){var h=d.evaluateAt(a.exp(g+a.generatorBase));e[e.length-1-g]=h;0!==h&&(f=!0)}if(!f)return c;d=new G(a,e);d=fa(a,a.buildMonomial(b,1),d,b);if(null===d)return null;b=d[0];g=b.degree();if(1===g)b=[b.getCoefficient(1)];else{e=Array(g);f=0;for(h=1;h<a.size&&f<g;h++)0===b.evaluateAt(h)&&(e[f]=a.inverse(h),f++);b=f!==g?null:e}if(null==b)return null;e=d[1];
768f=b.length;d=Array(f);for(g=0;g<f;g++){h=a.inverse(b[g]);let k=1;for(let m=0;m<f;m++)g!==m&&(k=a.multiply(k,H(1,a.multiply(b[m],h))));d[g]=a.multiply(e.evaluateAt(h),a.inverse(k));0!==a.generatorBase&&(d[g]=a.multiply(d[g],h))}for(e=0;e<b.length;e++){f=c.length-1-a.log(b[e]);if(0>f)return null;c[f]^=d[e]}return c}
769let I=[{infoBits:null,versionNumber:1,alignmentPatternCenters:[],errorCorrectionLevels:[{ecCodewordsPerBlock:7,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:13,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:13}]},{ecCodewordsPerBlock:17,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:2,alignmentPatternCenters:[6,18],errorCorrectionLevels:[{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,
770dataCodewordsPerBlock:34}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:28}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]}]},{infoBits:null,versionNumber:3,alignmentPatternCenters:[6,22],errorCorrectionLevels:[{ecCodewordsPerBlock:15,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:55}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:18,
771ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:13}]}]},{infoBits:null,versionNumber:4,alignmentPatternCenters:[6,26],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:80}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:32}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:9}]}]},
772{infoBits:null,versionNumber:5,alignmentPatternCenters:[6,30],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:43}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:11},{numBlocks:2,dataCodewordsPerBlock:12}]}]},{infoBits:null,versionNumber:6,alignmentPatternCenters:[6,
77334],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:27}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:31892,versionNumber:7,alignmentPatternCenters:[6,22,38],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:78}]},{ecCodewordsPerBlock:18,
774ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:31}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:13},{numBlocks:1,dataCodewordsPerBlock:14}]}]},{infoBits:34236,versionNumber:8,alignmentPatternCenters:[6,24,42],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:97}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:38},
775{numBlocks:2,dataCodewordsPerBlock:39}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:18},{numBlocks:2,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:14},{numBlocks:2,dataCodewordsPerBlock:15}]}]},{infoBits:39577,versionNumber:9,alignmentPatternCenters:[6,26,46],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:36},
776{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:12},{numBlocks:4,dataCodewordsPerBlock:13}]}]},{infoBits:42195,versionNumber:10,alignmentPatternCenters:[6,28,50],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68},{numBlocks:2,dataCodewordsPerBlock:69}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,
777dataCodewordsPerBlock:43},{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]}]},{infoBits:48118,versionNumber:11,alignmentPatternCenters:[6,30,54],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:81}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,
778dataCodewordsPerBlock:50},{numBlocks:4,dataCodewordsPerBlock:51}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:22},{numBlocks:4,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:12},{numBlocks:8,dataCodewordsPerBlock:13}]}]},{infoBits:51042,versionNumber:12,alignmentPatternCenters:[6,32,58],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:92},{numBlocks:2,dataCodewordsPerBlock:93}]},
779{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:20},{numBlocks:6,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:55367,versionNumber:13,alignmentPatternCenters:[6,34,62],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:107}]},
780{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:37},{numBlocks:1,dataCodewordsPerBlock:38}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:20},{numBlocks:4,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:11},{numBlocks:4,dataCodewordsPerBlock:12}]}]},{infoBits:58893,versionNumber:14,alignmentPatternCenters:[6,26,46,66],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:115},
781{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:40},{numBlocks:5,dataCodewordsPerBlock:41}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:16},{numBlocks:5,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:5,dataCodewordsPerBlock:13}]}]},{infoBits:63784,versionNumber:15,alignmentPatternCenters:[6,26,48,70],errorCorrectionLevels:[{ecCodewordsPerBlock:22,
782ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:87},{numBlocks:1,dataCodewordsPerBlock:88}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:41},{numBlocks:5,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:7,dataCodewordsPerBlock:13}]}]},{infoBits:68472,versionNumber:16,alignmentPatternCenters:[6,26,50,
78374],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:98},{numBlocks:1,dataCodewordsPerBlock:99}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:70749,
784versionNumber:17,alignmentPatternCenters:[6,30,54,78],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:1,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22},{numBlocks:15,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:17,
785dataCodewordsPerBlock:15}]}]},{infoBits:76311,versionNumber:18,alignmentPatternCenters:[6,30,56,82],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:120},{numBlocks:1,dataCodewordsPerBlock:121}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:43},{numBlocks:4,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:1,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,
786dataCodewordsPerBlock:14},{numBlocks:19,dataCodewordsPerBlock:15}]}]},{infoBits:79154,versionNumber:19,alignmentPatternCenters:[6,30,58,86],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:113},{numBlocks:4,dataCodewordsPerBlock:114}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:44},{numBlocks:11,dataCodewordsPerBlock:45}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:21},{numBlocks:4,dataCodewordsPerBlock:22}]},
787{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:13},{numBlocks:16,dataCodewordsPerBlock:14}]}]},{infoBits:84390,versionNumber:20,alignmentPatternCenters:[6,34,62,90],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:41},{numBlocks:13,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},
788{numBlocks:5,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:15},{numBlocks:10,dataCodewordsPerBlock:16}]}]},{infoBits:87683,versionNumber:21,alignmentPatternCenters:[6,28,50,72,94],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:116},{numBlocks:4,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},
789{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:16},{numBlocks:6,dataCodewordsPerBlock:17}]}]},{infoBits:92361,versionNumber:22,alignmentPatternCenters:[6,26,50,74,98],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:111},{numBlocks:7,dataCodewordsPerBlock:112}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},
790{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:13}]}]},{infoBits:96236,versionNumber:23,alignmentPatternCenters:[6,30,54,74,102],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:121},{numBlocks:5,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:47},{numBlocks:14,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},
791{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:16,dataCodewordsPerBlock:15},{numBlocks:14,dataCodewordsPerBlock:16}]}]},{infoBits:102084,versionNumber:24,alignmentPatternCenters:[6,28,54,80,106],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:45},{numBlocks:14,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,
792ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:30,dataCodewordsPerBlock:16},{numBlocks:2,dataCodewordsPerBlock:17}]}]},{infoBits:102881,versionNumber:25,alignmentPatternCenters:[6,32,58,84,110],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:106},{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:47},{numBlocks:13,
793dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:110507,versionNumber:26,alignmentPatternCenters:[6,30,58,86,114],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:114},{numBlocks:2,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,
794dataCodewordsPerBlock:46},{numBlocks:4,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:28,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:33,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]}]},{infoBits:110734,versionNumber:27,alignmentPatternCenters:[6,34,62,90,118],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},
795{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:23},{numBlocks:26,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:117786,versionNumber:28,alignmentPatternCenters:[6,26,50,74,98,122],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:117},
796{numBlocks:10,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:45},{numBlocks:23,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:24},{numBlocks:31,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:31,dataCodewordsPerBlock:16}]}]},{infoBits:119615,versionNumber:29,alignmentPatternCenters:[6,30,54,78,102,126],errorCorrectionLevels:[{ecCodewordsPerBlock:30,
797ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:116},{numBlocks:7,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:21,dataCodewordsPerBlock:45},{numBlocks:7,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:23},{numBlocks:37,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:26,dataCodewordsPerBlock:16}]}]},{infoBits:126325,versionNumber:30,alignmentPatternCenters:[6,
79826,52,78,104,130],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:115},{numBlocks:10,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:47},{numBlocks:10,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:25,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:25,dataCodewordsPerBlock:16}]}]},
799{infoBits:127568,versionNumber:31,alignmentPatternCenters:[6,30,56,82,108,134],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:3,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:46},{numBlocks:29,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:24},{numBlocks:1,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},
800{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:133589,versionNumber:32,alignmentPatternCenters:[6,34,60,86,112,138],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:24},{numBlocks:35,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,
801dataCodewordsPerBlock:15},{numBlocks:35,dataCodewordsPerBlock:16}]}]},{infoBits:136944,versionNumber:33,alignmentPatternCenters:[6,30,58,86,114,142],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:21,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:24},{numBlocks:19,dataCodewordsPerBlock:25}]},
802{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:141498,versionNumber:34,alignmentPatternCenters:[6,34,62,90,118,146],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:6,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:44,
803dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:59,dataCodewordsPerBlock:16},{numBlocks:1,dataCodewordsPerBlock:17}]}]},{infoBits:145311,versionNumber:35,alignmentPatternCenters:[6,30,54,78,102,126,150],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:121},{numBlocks:7,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:47},{numBlocks:26,dataCodewordsPerBlock:48}]},
804{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:39,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:41,dataCodewordsPerBlock:16}]}]},{infoBits:150283,versionNumber:36,alignmentPatternCenters:[6,24,50,76,102,128,154],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:121},{numBlocks:14,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,
805dataCodewordsPerBlock:47},{numBlocks:34,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:46,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:64,dataCodewordsPerBlock:16}]}]},{infoBits:152622,versionNumber:37,alignmentPatternCenters:[6,28,54,80,106,132,158],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},
806{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:46},{numBlocks:14,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:49,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:24,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:158308,versionNumber:38,alignmentPatternCenters:[6,32,58,84,110,136,162],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,
807dataCodewordsPerBlock:122},{numBlocks:18,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:46},{numBlocks:32,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:48,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:15},{numBlocks:32,dataCodewordsPerBlock:16}]}]},{infoBits:161089,versionNumber:39,alignmentPatternCenters:[6,26,54,82,110,138,166],
808errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:40,dataCodewordsPerBlock:47},{numBlocks:7,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:43,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:15},{numBlocks:67,dataCodewordsPerBlock:16}]}]},{infoBits:167017,
809versionNumber:40,alignmentPatternCenters:[6,30,58,86,114,142,170],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:118},{numBlocks:6,dataCodewordsPerBlock:119}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:18,dataCodewordsPerBlock:47},{numBlocks:31,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:24},{numBlocks:34,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:15},
810{numBlocks:61,dataCodewordsPerBlock:16}]}]}];function J(a,b){a^=b;for(b=0;a;)b++,a&=a-1;return b}function K(a,b){return b<<1|a}
811let ia=[{bits:21522,formatInfo:{errorCorrectionLevel:1,dataMask:0}},{bits:20773,formatInfo:{errorCorrectionLevel:1,dataMask:1}},{bits:24188,formatInfo:{errorCorrectionLevel:1,dataMask:2}},{bits:23371,formatInfo:{errorCorrectionLevel:1,dataMask:3}},{bits:17913,formatInfo:{errorCorrectionLevel:1,dataMask:4}},{bits:16590,formatInfo:{errorCorrectionLevel:1,dataMask:5}},{bits:20375,formatInfo:{errorCorrectionLevel:1,dataMask:6}},{bits:19104,formatInfo:{errorCorrectionLevel:1,dataMask:7}},{bits:30660,formatInfo:{errorCorrectionLevel:0,
812dataMask:0}},{bits:29427,formatInfo:{errorCorrectionLevel:0,dataMask:1}},{bits:32170,formatInfo:{errorCorrectionLevel:0,dataMask:2}},{bits:30877,formatInfo:{errorCorrectionLevel:0,dataMask:3}},{bits:26159,formatInfo:{errorCorrectionLevel:0,dataMask:4}},{bits:25368,formatInfo:{errorCorrectionLevel:0,dataMask:5}},{bits:27713,formatInfo:{errorCorrectionLevel:0,dataMask:6}},{bits:26998,formatInfo:{errorCorrectionLevel:0,dataMask:7}},{bits:5769,formatInfo:{errorCorrectionLevel:3,dataMask:0}},{bits:5054,
813formatInfo:{errorCorrectionLevel:3,dataMask:1}},{bits:7399,formatInfo:{errorCorrectionLevel:3,dataMask:2}},{bits:6608,formatInfo:{errorCorrectionLevel:3,dataMask:3}},{bits:1890,formatInfo:{errorCorrectionLevel:3,dataMask:4}},{bits:597,formatInfo:{errorCorrectionLevel:3,dataMask:5}},{bits:3340,formatInfo:{errorCorrectionLevel:3,dataMask:6}},{bits:2107,formatInfo:{errorCorrectionLevel:3,dataMask:7}},{bits:13663,formatInfo:{errorCorrectionLevel:2,dataMask:0}},{bits:12392,formatInfo:{errorCorrectionLevel:2,
814dataMask:1}},{bits:16177,formatInfo:{errorCorrectionLevel:2,dataMask:2}},{bits:14854,formatInfo:{errorCorrectionLevel:2,dataMask:3}},{bits:9396,formatInfo:{errorCorrectionLevel:2,dataMask:4}},{bits:8579,formatInfo:{errorCorrectionLevel:2,dataMask:5}},{bits:11994,formatInfo:{errorCorrectionLevel:2,dataMask:6}},{bits:11245,formatInfo:{errorCorrectionLevel:2,dataMask:7}}],ja=[a=>0===(a.y+a.x)%2,a=>0===a.y%2,a=>0===a.x%3,a=>0===(a.y+a.x)%3,a=>0===(Math.floor(a.y/2)+Math.floor(a.x/3))%2,a=>0===a.x*a.y%
8152+a.x*a.y%3,a=>0===(a.y*a.x%2+a.y*a.x%3)%2,a=>0===((a.y+a.x)%2+a.y*a.x%3)%2];
816function ka(a,b,c){c=ja[c.dataMask];let d=a.height;var e=17+4*b.versionNumber;let f=x.createEmpty(e,e);f.setRegion(0,0,9,9,!0);f.setRegion(e-8,0,8,9,!0);f.setRegion(0,e-8,9,8,!0);for(var g of b.alignmentPatternCenters)for(var h of b.alignmentPatternCenters)6===g&&6===h||6===g&&h===e-7||g===e-7&&6===h||f.setRegion(g-2,h-2,5,5,!0);f.setRegion(6,9,1,e-17,!0);f.setRegion(9,6,e-17,1,!0);6<b.versionNumber&&(f.setRegion(e-11,0,3,6,!0),f.setRegion(0,e-11,6,3,!0));b=[];h=g=0;e=!0;for(let k=d-1;0<k;k-=2){6===
817k&&k--;for(let m=0;m<d;m++){let l=e?d-1-m:m;for(let n=0;2>n;n++){let q=k-n;if(!f.get(q,l)){h++;let r=a.get(q,l);c({y:l,x:q})&&(r=!r);g=g<<1|r;8===h&&(b.push(g),g=h=0)}}}e=!e}return b}
818function la(a){var b=a.height,c=Math.floor((b-17)/4);if(6>=c)return I[c-1];c=0;for(var d=5;0<=d;d--)for(var e=b-9;e>=b-11;e--)c=K(a.get(e,d),c);d=0;for(e=5;0<=e;e--)for(let g=b-9;g>=b-11;g--)d=K(a.get(e,g),d);a=Infinity;let f;for(let g of I){if(g.infoBits===c||g.infoBits===d)return g;b=J(c,g.infoBits);b<a&&(f=g,a=b);b=J(d,g.infoBits);b<a&&(f=g,a=b)}if(3>=a)return f}
819function ma(a){let b=0;for(var c=0;8>=c;c++)6!==c&&(b=K(a.get(c,8),b));for(c=7;0<=c;c--)6!==c&&(b=K(a.get(8,c),b));var d=a.height;c=0;for(var e=d-1;e>=d-7;e--)c=K(a.get(8,e),c);for(e=d-8;e<d;e++)c=K(a.get(e,8),c);a=Infinity;d=null;for(let {bits:f,formatInfo:g}of ia){if(f===b||f===c)return g;e=J(b,f);e<a&&(d=g,a=e);b!==c&&(e=J(c,f),e<a&&(d=g,a=e))}return 3>=a?d:null}
820function na(a,b,c){let d=b.errorCorrectionLevels[c],e=[],f=0;d.ecBlocks.forEach(h=>{for(let k=0;k<h.numBlocks;k++)e.push({numDataCodewords:h.dataCodewordsPerBlock,codewords:[]}),f+=h.dataCodewordsPerBlock+d.ecCodewordsPerBlock});if(a.length<f)return null;a=a.slice(0,f);b=d.ecBlocks[0].dataCodewordsPerBlock;for(c=0;c<b;c++)for(var g of e)g.codewords.push(a.shift());if(1<d.ecBlocks.length)for(g=d.ecBlocks[0].numBlocks,b=d.ecBlocks[1].numBlocks,c=0;c<b;c++)e[g+c].codewords.push(a.shift());for(;0<a.length;)for(let h of e)h.codewords.push(a.shift());
821return e}function L(a){let b=la(a);if(!b)return null;var c=ma(a);if(!c)return null;a=ka(a,b,c);var d=na(a,b,c.errorCorrectionLevel);if(!d)return null;c=d.reduce((e,f)=>e+f.numDataCodewords,0);c=new Uint8ClampedArray(c);a=0;for(let e of d){d=ha(e.codewords,e.codewords.length-e.numDataCodewords);if(!d)return null;for(let f=0;f<e.numDataCodewords;f++)c[a++]=d[f]}try{return da(c,b.versionNumber)}catch(e){return null}}
822function M(a,b,c,d){var e=a.x-b.x+c.x-d.x;let f=a.y-b.y+c.y-d.y;if(0===e&&0===f)return{a11:b.x-a.x,a12:b.y-a.y,a13:0,a21:c.x-b.x,a22:c.y-b.y,a23:0,a31:a.x,a32:a.y,a33:1};let g=b.x-c.x;var h=d.x-c.x;let k=b.y-c.y,m=d.y-c.y;c=g*m-h*k;h=(e*m-h*f)/c;e=(g*f-e*k)/c;return{a11:b.x-a.x+h*b.x,a12:b.y-a.y+h*b.y,a13:h,a21:d.x-a.x+e*d.x,a22:d.y-a.y+e*d.y,a23:e,a31:a.x,a32:a.y,a33:1}}
823function oa(a,b,c,d){a=M(a,b,c,d);return{a11:a.a22*a.a33-a.a23*a.a32,a12:a.a13*a.a32-a.a12*a.a33,a13:a.a12*a.a23-a.a13*a.a22,a21:a.a23*a.a31-a.a21*a.a33,a22:a.a11*a.a33-a.a13*a.a31,a23:a.a13*a.a21-a.a11*a.a23,a31:a.a21*a.a32-a.a22*a.a31,a32:a.a12*a.a31-a.a11*a.a32,a33:a.a11*a.a22-a.a12*a.a21}}
824function pa(a,b){var c=oa({x:3.5,y:3.5},{x:b.dimension-3.5,y:3.5},{x:b.dimension-6.5,y:b.dimension-6.5},{x:3.5,y:b.dimension-3.5}),d=M(b.topLeft,b.topRight,b.alignmentPattern,b.bottomLeft),e=d.a11*c.a11+d.a21*c.a12+d.a31*c.a13,f=d.a12*c.a11+d.a22*c.a12+d.a32*c.a13,g=d.a13*c.a11+d.a23*c.a12+d.a33*c.a13,h=d.a11*c.a21+d.a21*c.a22+d.a31*c.a23,k=d.a12*c.a21+d.a22*c.a22+d.a32*c.a23,m=d.a13*c.a21+d.a23*c.a22+d.a33*c.a23,l=d.a11*c.a31+d.a21*c.a32+d.a31*c.a33,n=d.a12*c.a31+d.a22*c.a32+d.a32*c.a33,q=d.a13*
825c.a31+d.a23*c.a32+d.a33*c.a33;c=x.createEmpty(b.dimension,b.dimension);d=(r,u)=>{const p=g*r+m*u+q;return{x:(e*r+h*u+l)/p,y:(f*r+k*u+n)/p}};for(let r=0;r<b.dimension;r++)for(let u=0;u<b.dimension;u++){let p=d(u+.5,r+.5);c.set(u,r,a.get(Math.floor(p.x),Math.floor(p.y)))}return{matrix:c,mappingFunction:d}}let N=(a,b)=>Math.sqrt(Math.pow(b.x-a.x,2)+Math.pow(b.y-a.y,2));function O(a){return a.reduce((b,c)=>b+c)}
826function qa(a,b,c){let d=N(a,b),e=N(b,c),f=N(a,c),g,h,k;e>=d&&e>=f?[g,h,k]=[b,a,c]:f>=e&&f>=d?[g,h,k]=[a,b,c]:[g,h,k]=[a,c,b];0>(k.x-h.x)*(g.y-h.y)-(k.y-h.y)*(g.x-h.x)&&([g,k]=[k,g]);return{bottomLeft:g,topLeft:h,topRight:k}}
827function ra(a,b,c,d){d=(O(P(a,c,d,5))/7+O(P(a,b,d,5))/7+O(P(c,a,d,5))/7+O(P(b,a,d,5))/7)/4;if(1>d)throw Error("Invalid module size");b=Math.round(N(a,b)/d);a=Math.round(N(a,c)/d);a=Math.floor((b+a)/2)+7;switch(a%4){case 0:a++;break;case 2:a--}return{dimension:a,moduleSize:d}}
828function Q(a,b,c,d){let e=[{x:Math.floor(a.x),y:Math.floor(a.y)}];var f=Math.abs(b.y-a.y)>Math.abs(b.x-a.x);if(f){var g=Math.floor(a.y);var h=Math.floor(a.x);a=Math.floor(b.y);b=Math.floor(b.x)}else g=Math.floor(a.x),h=Math.floor(a.y),a=Math.floor(b.x),b=Math.floor(b.y);let k=Math.abs(a-g),m=Math.abs(b-h),l=Math.floor(-k/2),n=g<a?1:-1,q=h<b?1:-1,r=!0;for(let u=g,p=h;u!==a+n;u+=n){g=f?p:u;h=f?u:p;if(c.get(g,h)!==r&&(r=!r,e.push({x:g,y:h}),e.length===d+1))break;l+=m;if(0<l){if(p===b)break;p+=q;l-=k}}c=
829[];for(f=0;f<d;f++)e[f]&&e[f+1]?c.push(N(e[f],e[f+1])):c.push(0);return c}function P(a,b,c,d){let e=b.y-a.y,f=b.x-a.x;b=Q(a,b,c,Math.ceil(d/2));a=Q(a,{x:a.x-f,y:a.y-e},c,Math.ceil(d/2));c=b.shift()+a.shift()-1;return a.concat(c).concat(...b)}function R(a,b){let c=O(a)/O(b),d=0;b.forEach((e,f)=>{d+=Math.pow(a[f]-e*c,2)});return{averageSize:c,error:d}}
830function S(a,b,c){try{let d=P(a,{x:-1,y:a.y},c,b.length),e=P(a,{x:a.x,y:-1},c,b.length),f=P(a,{x:Math.max(0,a.x-a.y)-1,y:Math.max(0,a.y-a.x)-1},c,b.length),g=P(a,{x:Math.min(c.width,a.x+a.y)+1,y:Math.min(c.height,a.y+a.x)+1},c,b.length),h=R(d,b),k=R(e,b),m=R(f,b),l=R(g,b),n=(h.averageSize+k.averageSize+m.averageSize+l.averageSize)/4;return Math.sqrt(h.error*h.error+k.error*k.error+m.error*m.error+l.error*l.error)+(Math.pow(h.averageSize-n,2)+Math.pow(k.averageSize-n,2)+Math.pow(m.averageSize-n,2)+
831Math.pow(l.averageSize-n,2))/n}catch(d){return Infinity}}function T(a,b){for(var c=Math.round(b.x);a.get(c,Math.round(b.y));)c--;for(var d=Math.round(b.x);a.get(d,Math.round(b.y));)d++;c=(c+d)/2;for(d=Math.round(b.y);a.get(Math.round(c),d);)d--;for(b=Math.round(b.y);a.get(Math.round(c),b);)b++;return{x:c,y:(d+b)/2}}
832function sa(a){var b=[],c=[];let d=[];var e=[];for(let p=0;p<=a.height;p++){var f=0,g=!1;let t=[0,0,0,0,0];for(let v=-1;v<=a.width;v++){var h=a.get(v,p);if(h===g)f++;else{t=[t[1],t[2],t[3],t[4],f];f=1;g=h;var k=O(t)/7;k=Math.abs(t[0]-k)<k&&Math.abs(t[1]-k)<k&&Math.abs(t[2]-3*k)<3*k&&Math.abs(t[3]-k)<k&&Math.abs(t[4]-k)<k&&!h;var m=O(t.slice(-3))/3;h=Math.abs(t[2]-m)<m&&Math.abs(t[3]-m)<m&&Math.abs(t[4]-m)<m&&h;if(k){let z=v-t[3]-t[4],y=z-t[2];k={startX:y,endX:z,y:p};m=c.filter(w=>y>=w.bottom.startX&&
833y<=w.bottom.endX||z>=w.bottom.startX&&y<=w.bottom.endX||y<=w.bottom.startX&&z>=w.bottom.endX&&1.5>t[2]/(w.bottom.endX-w.bottom.startX)&&.5<t[2]/(w.bottom.endX-w.bottom.startX));0<m.length?m[0].bottom=k:c.push({top:k,bottom:k})}if(h){let z=v-t[4],y=z-t[3];h={startX:y,y:p,endX:z};k=e.filter(w=>y>=w.bottom.startX&&y<=w.bottom.endX||z>=w.bottom.startX&&y<=w.bottom.endX||y<=w.bottom.startX&&z>=w.bottom.endX&&1.5>t[2]/(w.bottom.endX-w.bottom.startX)&&.5<t[2]/(w.bottom.endX-w.bottom.startX));0<k.length?
834k[0].bottom=h:e.push({top:h,bottom:h})}}}b.push(...c.filter(v=>v.bottom.y!==p&&2<=v.bottom.y-v.top.y));c=c.filter(v=>v.bottom.y===p);d.push(...e.filter(v=>v.bottom.y!==p));e=e.filter(v=>v.bottom.y===p)}b.push(...c.filter(p=>2<=p.bottom.y-p.top.y));d.push(...e);c=[];for(var l of b)2>l.bottom.y-l.top.y||(b=(l.top.startX+l.top.endX+l.bottom.startX+l.bottom.endX)/4,e=(l.top.y+l.bottom.y+1)/2,a.get(Math.round(b),Math.round(e))&&(f=[l.top.endX-l.top.startX,l.bottom.endX-l.bottom.startX,l.bottom.y-l.top.y+
8351],f=O(f)/f.length,g=S({x:Math.round(b),y:Math.round(e)},[1,1,3,1,1],a),c.push({score:g,x:b,y:e,size:f})));if(3>c.length)return null;c.sort((p,t)=>p.score-t.score);l=[];for(b=0;b<Math.min(c.length,5);++b){e=c[b];f=[];for(var n of c)n!==e&&f.push(Object.assign(Object.assign({},n),{score:n.score+Math.pow(n.size-e.size,2)/e.size}));f.sort((p,t)=>p.score-t.score);l.push({points:[e,f[0],f[1]],score:e.score+f[0].score+f[1].score})}l.sort((p,t)=>p.score-t.score);let {topRight:q,topLeft:r,bottomLeft:u}=qa(...l[0].points);
836l=U(a,d,q,r,u);n=[];l&&n.push({alignmentPattern:{x:l.alignmentPattern.x,y:l.alignmentPattern.y},bottomLeft:{x:u.x,y:u.y},dimension:l.dimension,topLeft:{x:r.x,y:r.y},topRight:{x:q.x,y:q.y}});l=T(a,q);b=T(a,r);c=T(a,u);(a=U(a,d,l,b,c))&&n.push({alignmentPattern:{x:a.alignmentPattern.x,y:a.alignmentPattern.y},bottomLeft:{x:c.x,y:c.y},topLeft:{x:b.x,y:b.y},topRight:{x:l.x,y:l.y},dimension:a.dimension});return 0===n.length?null:n}
837function U(a,b,c,d,e){let f,g;try{({dimension:f,moduleSize:g}=ra(d,c,e,a))}catch(l){return null}var h=c.x-d.x+e.x,k=c.y-d.y+e.y;c=(N(d,e)+N(d,c))/2/g;e=1-3/c;let m={x:d.x+e*(h-d.x),y:d.y+e*(k-d.y)};b=b.map(l=>{const n=(l.top.startX+l.top.endX+l.bottom.startX+l.bottom.endX)/4;l=(l.top.y+l.bottom.y+1)/2;if(a.get(Math.floor(n),Math.floor(l))){var q=S({x:Math.floor(n),y:Math.floor(l)},[1,1,1],a)+N({x:n,y:l},m);return{x:n,y:l,score:q}}}).filter(l=>!!l).sort((l,n)=>l.score-n.score);return{alignmentPattern:15<=
838c&&b.length?b[0]:m,dimension:f}}
839function V(a){var b=sa(a);if(!b)return null;for(let e of b){b=pa(a,e);var c=b.matrix;if(null==c)c=null;else{var d=L(c);if(d)c=d;else{for(d=0;d<c.width;d++)for(let f=d+1;f<c.height;f++)c.get(d,f)!==c.get(f,d)&&(c.set(d,f,!c.get(d,f)),c.set(f,d,!c.get(f,d)));c=L(c)}}if(c)return{binaryData:c.bytes,data:c.text,chunks:c.chunks,version:c.version,location:{topRightCorner:b.mappingFunction(e.dimension,0),topLeftCorner:b.mappingFunction(0,0),bottomRightCorner:b.mappingFunction(e.dimension,e.dimension),bottomLeftCorner:b.mappingFunction(0,
840e.dimension),topRightFinderPattern:e.topRight,topLeftFinderPattern:e.topLeft,bottomLeftFinderPattern:e.bottomLeft,bottomRightAlignmentPattern:e.alignmentPattern},matrix:b.matrix}}return null}let ta={inversionAttempts:"attemptBoth",greyScaleWeights:{red:.2126,green:.7152,blue:.0722,useIntegerApproximation:!1},canOverwriteImage:!0};function W(a,b){Object.keys(b).forEach(c=>{a[c]=b[c]})}
841function X(a,b,c,d={}){let e=Object.create(null);W(e,ta);W(e,d);d="onlyInvert"===e.inversionAttempts||"invertFirst"===e.inversionAttempts;var f="attemptBoth"===e.inversionAttempts||d;var g=e.greyScaleWeights,h=e.canOverwriteImage,k=b*c;if(a.length!==4*k)throw Error("Malformed data passed to binarizer.");var m=0;if(h){var l=new Uint8ClampedArray(a.buffer,m,k);m+=k}l=new A(b,c,l);if(g.useIntegerApproximation)for(var n=0;n<c;n++)for(var q=0;q<b;q++){var r=4*(n*b+q);l.set(q,n,g.red*a[r]+g.green*a[r+1]+
842g.blue*a[r+2]+128>>8)}else for(n=0;n<c;n++)for(q=0;q<b;q++)r=4*(n*b+q),l.set(q,n,g.red*a[r]+g.green*a[r+1]+g.blue*a[r+2]);g=Math.ceil(b/8);n=Math.ceil(c/8);q=g*n;if(h){var u=new Uint8ClampedArray(a.buffer,m,q);m+=q}u=new A(g,n,u);for(q=0;q<n;q++)for(r=0;r<g;r++){var p=Infinity,t=0;for(var v=0;8>v;v++)for(let w=0;8>w;w++){let aa=l.get(8*r+w,8*q+v);p=Math.min(p,aa);t=Math.max(t,aa)}v=(p+t)/2;v=Math.min(255,1.11*v);24>=t-p&&(v=p/2,0<q&&0<r&&(t=(u.get(r,q-1)+2*u.get(r-1,q)+u.get(r-1,q-1))/4,p<t&&(v=t)));
843u.set(r,q,v)}h?(q=new Uint8ClampedArray(a.buffer,m,k),m+=k,q=new x(q,b)):q=x.createEmpty(b,c);r=null;f&&(h?(a=new Uint8ClampedArray(a.buffer,m,k),r=new x(a,b)):r=x.createEmpty(b,c));for(b=0;b<n;b++)for(a=0;a<g;a++){c=g-3;c=2>a?2:a>c?c:a;h=n-3;h=2>b?2:b>h?h:b;k=0;for(m=-2;2>=m;m++)for(p=-2;2>=p;p++)k+=u.get(c+m,h+p);c=k/25;for(h=0;8>h;h++)for(k=0;8>k;k++)m=8*a+h,p=8*b+k,t=l.get(m,p),q.set(m,p,t<=c),f&&r.set(m,p,!(t<=c))}f=f?{binarized:q,inverted:r}:{binarized:q};let {binarized:z,inverted:y}=f;(f=V(d?
844y:z))||"attemptBoth"!==e.inversionAttempts&&"invertFirst"!==e.inversionAttempts||(f=V(d?z:y));return f}X.default=X;let Y="dontInvert",Z={red:77,green:150,blue:29,useIntegerApproximation:!0};
845self.onmessage=a=>{let b=a.data.id,c=a.data.data;switch(a.data.type){case "decode":(a=X(c.data,c.width,c.height,{inversionAttempts:Y,greyScaleWeights:Z}))?self.postMessage({id:b,type:"qrResult",data:a.data,cornerPoints:[a.location.topLeftCorner,a.location.topRightCorner,a.location.bottomRightCorner,a.location.bottomLeftCorner]}):self.postMessage({id:b,type:"qrResult",data:null});break;case "grayscaleWeights":Z.red=c.red;Z.green=c.green;Z.blue=c.blue;Z.useIntegerApproximation=c.useIntegerApproximation;
846break;case "inversionMode":switch(c){case "original":Y="dontInvert";break;case "invert":Y="onlyInvert";break;case "both":Y="attemptBoth";break;default:throw Error("Invalid inversion mode");}break;case "close":self.close()}}
847`]),{type:"application/javascript"}))
847,qrScannerWorker_min=Object.freeze(Object.defineProperty({__proto__:null,createWorker},Symbol.toStringTag,{value:"Module"}));export{InfoOutlinedIcon as $,init as A,browserTracingIntegration as B,replayIntegration as C,client as D,ThemeProvider as E,BrowserRouter as F,GoogleOAuthProvider as G,CssBaseline as H,usePostHog as I,withTranslation as J,instance as K,Lottie as L,initReactI18next as M,Typography as N,Button as O,PostHogProvider as P,Link as Q,React$1F as R,StyledEngineProvider as S,TagManager as T,useNavigate as U,useLocation as V,useParams as W,CircularProgress as X,c$1 as Y,ErrorOutlineOutlinedIcon as Z,_default$4 as _,configureStore as a,default_1$x as a$,CheckCircleOutlineOutlinedIcon as a0,useTranslation as a1,socketIOClient as a2,IdCardIcon as a3,IdeaIcon as a4,SquareIcon as a5,WifiIcon$2 as a6,ThumbsUpIcon$2 as a7,default_1$z as a8,Snackbar as a9,FacebookIcon$2 as aA,InstagramIcon$2 as aB,captureException$1 as aC,HelmetExport as aD,CreditCardIcon$2 as aE,VisibilityOutlinedIcon as aF,ContentCopySharpIcon as aG,AcUnitOutlinedIcon as aH,WifiOffIcon as aI,AccountBalanceWalletOutlinedIcon as aJ,StorefrontOutlinedIcon as aK,TextField$1 as aL,Chip as aM,CreditCardIcon$3 as aN,LinearProgress as aO,ReactCodeInput as aP,CreditCardOffIcon as aQ,Avatar as aR,WindowCloseIcon$2 as aS,FileDownloadOutlinedIcon as aT,html2canvas as aU,List$1 as aV,ExpandMoreIcon$2 as aW,Swiper as aX,SwiperSlide as aY,Skeleton as aZ,default_1$w as a_,IconButton as aa,CheckIcon$2 as ab,CloseIcon$2 as ac,ValidatorForm as ad,Stepper as ae,Step$1 as af,StepLabel as ag,Hidden as ah,TextValidator as ai,SelectValidator as aj,MenuItem as ak,FormControlLabel as al,Checkbox as am,Autocomplete as an,default_1$y as ao,Paper as ap,FileBase64 as aq,FileUploadIcon$2 as ar,default_1$A as as,FormHelperText as at,Routes as au,Route as av,Navigate as aw,FormControl as ax,Select as ay,TwitterIcon$2 as az,buffer as b,LuggageIcon as b$,default_1$v as b0,default_1$u as b1,default_1$t as b2,AlertCircleIcon$2 as b3,Countdown$1 as b4,getMonth as b5,getYear as b6,getDaysInMonth as b7,ResponsiveContainer as b8,BarChart as b9,default_1$o as bA,default_1$n as bB,PropTypes as bC,CalendarClockIcon$2 as bD,ContentDuplicateIcon$2 as bE,AlertIcon$2 as bF,source_default as bG,TableContainer as bH,Table as bI,TableHead as bJ,TableRow as bK,TableCell as bL,TableBody as bM,ArrowUpwardIcon as bN,ArrowDownwardIcon as bO,FormatListBulletedIcon$3 as bP,FingerprintIcon as bQ,PasswordIcon as bR,IosShareRoundedIcon as bS,QrCodeScannerOutlinedIcon as bT,CardGiftcardIcon$3 as bU,AccountBalanceIcon as bV,SecurityIcon as bW,CreditScoreOutlinedIcon as bX,QrCode2Icon as bY,InsertLinkIcon as bZ,AssignmentIndOutlinedIcon as b_,Tooltip as ba,XAxis as bb,Bar as bc,Fab as bd,AddIcon$3 as be,CloseIcon$3 as bf,isSameDay as bg,InputAdornment as bh,RecaptchaWrapper as bi,InputLabel as bj,CheckCircleIcon$2 as bk,HomeCityIcon$2 as bl,SmartCardIcon$2 as bm,FileMultipleIcon$2 as bn,CameraAltIcon$2 as bo,default_1$s as bp,default_1$q as bq,default_1$r as br,BottomNavigation as bs,BottomNavigationAction as bt,HomeIcon$2 as bu,FormatListBulletedIcon$2 as bv,ShopIcon as bw,WorkerIcon as bx,default_1$m as by,default_1$p as bz,createSlice as c,Info$1 as c$,PasswordOutlinedIcon as c0,AddLocationIcon as c1,ShoppingCartIcon$2 as c2,StorefrontRoundedIcon as c3,AcUnitIcon as c4,MoreHorizIcon as c5,useMediaQuery as c6,CloseCircleIcon$2 as c7,DialogContent as c8,styled as c9,VisibilityOff as cA,useGoogleLogin as cB,makeStyles as cC,TelegramShareButton$1 as cD,WhatsappShareButton$1 as cE,FacebookMessengerShareButton$1 as cF,DownloadIcon$2 as cG,EmailOutlineIcon$2 as cH,MessageProcessingOutlineIcon$2 as cI,RadioGroup as cJ,Radio as cK,SecurityLockIcon$2 as cL,AlertCircleOutlineIcon$2 as cM,ErrorIcon as cN,TimerIcon$2 as cO,default_1$i as cP,MoreVertIcon$3 as cQ,QrcodeIcon$2 as cR,Divider as cS,ListItemSecondaryAction as cT,AddIcon$2 as cU,QrCodeScannerIcon as cV,StepIcon as cW,default_1$k as cX,default_1$j as cY,default_1$h as cZ,Tooltip$1 as c_,Dialog as ca,Slide as cb,CashCheckIcon$2 as cc,QRCodeStyling as cd,ListItem as ce,ArrowForwardIosIcon as cf,ListItemText as cg,AppleIcon$2 as ch,CardGiftcardIcon$2 as ci,CreditCardWirelessOutlineIcon$2 as cj,BedIcon$2 as ck,SackPercentIcon$2 as cl,MobilePhoneIcon$2 as cm,BankIcon$2 as cn,WalletGiftcardIcon$2 as co,Card as cp,CardMedia as cq,CardContent as cr,CardActionArea as cs,Box as ct,SearchIcon$2 as cu,ArrowBackIcon as cv,js$1 as cw,fido2Get as cx,fido2Create as cy,Visibility as cz,parseISO as d,Switch as d$,Tabs as d0,Tab as d1,default_1$g as d2,default_1$d as d3,default_1$e as d4,default_1$f as d5,default_1$l as d6,Code as d
8477,Shield as d8,FileText as d9,ErrorOutlineIcon as dA,StepContent as dB,FastfoodIcon as dC,HotelIcon as dD,CategorySharpIcon as dE,PhoneInTalkRoundedIcon as dF,qe as dG,Trans as dH,ShapeIcon$2 as dI,MapMarkerIcon$2 as dJ,ClockTimeFiveIcon$2 as dK,PhoneIcon$2 as dL,EarthIcon$2 as dM,AddIcon as dN,MoneyIcon$3 as dO,Accordion as dP,AccordionSummary as dQ,AccordionDetails as dR,DotsVerticalIcon$2 as dS,Popover as dT,InformationIcon$2 as dU,Collapse as dV,ChevronDownIcon$2 as dW,withStyles as dX,Link$1 as dY,TimerOutlineIcon$2 as dZ,LockCheckIcon$2 as d_,Zap as da,CircleCheck as db,Lock as dc,ArrowUpRight as dd,ChevronLeft as de,ChevronRight as df,ArrowRight as dg,TrendingUp as dh,Globe as di,Wallet as dj,ShoppingCart as dk,CreditCard as dl,DollarSign as dm,List as dn,ChartPie as dp,Repeat as dq,FileCheck as dr,Coins as ds,TrendingDown as dt,Euro as du,ChartColumn as dv,Check as dw,ChevronDown as dx,Info as dy,CartIcon$2 as dz,pt$1 as e,ContentCopyIcon$2 as e$,browser as e0,EditIcon$2 as e1,DeleteIcon$2 as e2,CalendarImportIcon$2 as e3,KeyIcon$2 as e4,Alert as e5,default_1$c as e6,Menu$1 as e7,DialogTitle as e8,MoneyIcon$2 as e9,AodIcon as eA,LifebuoyIcon$2 as eB,LogoutIcon$2 as eC,AccountIcon$2 as eD,default_1$4 as eE,BadgeIcon as eF,default_1$b as eG,ChartAreasplineIcon$2 as eH,GppGoodIcon as eI,GroupIcon as eJ,GoogleIcon$2 as eK,default_1$6 as eL,default_1$9 as eM,Modal as eN,AvatarEditor as eO,Slider as eP,RotateLeftIcon$2 as eQ,RotateRightIcon$2 as eR,DeleteOutlineIcon as eS,CheckCircleOutlineIcon$2 as eT,GooglePayButton as eU,MoreVertIcon$2 as eV,OutlinedInput as eW,StarIcon$2 as eX,ImageIcon$2 as eY,t$1 as eZ,FormGroup as e_,ExpandMore$1 as ea,Badge as eb,ClockOutlineIcon$2 as ec,DomainIcon$2 as ed,CancelIcon$2 as ee,ShoppingIcon$2 as ef,BankTransferOutIcon$2 as eg,BankTransferInIcon$2 as eh,AccountEditIcon$2 as ei,AccountPlusIcon$2 as ej,PlaylistEditIcon$2 as ek,FormatListBulletedSquareIcon$2 as el,AccountDetailsIcon$2 as em,base64 as en,TrashCanOutlineIcon$2 as eo,CreditCardOffOutlineIcon$2 as ep,CreditCardPlusOutlineIcon$2 as eq,AppBar as er,Drawer as es,default_1$a as et,Toolbar as eu,default_1$7 as ev,default_1$5 as ew,OfficeBuildingIcon$2 as ex,CalculatorIcon$2 as ey,default_1$8 as ez,es$1 as f,ShoppingOutlineIcon$2 as f0,PlusIcon$2 as f1,createFilterOptions as f2,ShieldIcon$2 as f3,SafeSquareOutlineIcon$2 as f4,CrosshairsQuestionIcon$2 as f5,ShieldCheckIcon$2 as f6,AccountMultipleIcon$2 as f7,CheckCircle$1 as f8,useForm as f9,default_1$3 as fa,BitcoinIcon$2 as fb,AccountSupervisorIcon$2 as fc,BriefcaseVariantIcon$2 as fd,default_1$2 as fe,default_1$1 as ff,ListItemButton as fg,ListItemIcon as fh,Stack$3 as fi,default_1 as fj,Stories as fk,qrScanner_min as fl,enUS as g,addDays as h,index as i,differenceInYears as j,differenceInMonths as k,differenceInDays as l,differenceInHours as m,differenceInMinutes as n,differenceInSeconds as o,process$2 as p,differenceInMilliseconds as q,format$1 as r,subDays as s,parse$2 as t,fromZonedTime as u,isValid as v,jsxRuntimeExports as w,createTheme as x,reactExports as y,__vitePreload as z};
848//# 

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.