1/*! For license information please see 1542.693282c2ef86af70f30b.js.LICENSE.txt */ 2(self.webpackChunkai_solver=self.webpackChunkai_solver||[]).push([[1542],{39316(e,t,n){"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{A:()=>o});var i=/^((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|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|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)-.*))$/,o=r(function(e){return i.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})},71387(e,t,n){"use strict";n.d(t,{a2:()=>ql,A5:()=>xl,y_:()=>Wl,Mi:()=>Fl,Vw:()=>jl,t$:()=>ku,tz:()=>Su,x5:()=>xu,Bd:()=>Xl,me:()=>su,Bm:()=>hu,Xw:()=>iu,PH:()=>Zl,OZ:()=>cu,pU:()=>mu,ap:()=>Hl,GW:()=>Gl,Vr:()=>Kl,_2:()=>nu,p2:()=>uu,tW:()=>Rl,w2:()=>Il,$Z:()=>ru,AD:()=>tu});var r=n(23472),i=n.n(r);const o=e=>{if("function"==typeof e)return e;const t=Promise.resolve(e);return()=>t},a="WHEN_SUPPORTED",s=a,c="WHEN_SUPPORTED",l=a;var u,f;!function(e){e.MD5="MD5",e.CRC32="CRC32",e.CRC32C="CRC32C",e.CRC64NVME="CRC64NVME",e.SHA1="SHA1",e.SHA256="SHA256"}(u||(u={})),function(e){e.HEADER="header",e.TRAILER="trailer"}(f||(f={}));const d=u.CRC32,h=e=>{if("function"==typeof e)return e;const t=Promise.resolve(e);return()=>t};class p{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.slice(-1)?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){const t=new p({...e,headers:{...e.headers}});var n;return t.query&&(t.query=(n=t.query,Object.keys(n).reduce((e,t)=>
2{const r=n[t];return{...e,[t]:Array.isArray(r)?[...r]:r}},{}))),t}static isInstance(e){if(!e)return!1;const t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&"object"==typeof t.query&&"object"==typeof t.headers}clone(){return p.clone(this)}}const m={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0};let y={partitions:[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-east-1",name:"aws",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-east-2":{description:"Asia Pacific (Taipei)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"ap-southeast-5":{description:"Asia Pacific (Malaysia)"},"ap-southeast-6":{description:"Asia Pacific (New Zealand)"},"ap-southeast-7":{description:"Asia Pacific (Thailand)"},"aws-global":{description:"aws global region"},"ca-central-1":{description:"Canada (Central)"},"ca-west-1":{description:"Canada West (Calgary)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"il-central-1":{description:"Israel (Tel Aviv)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"mx-central-1":{description:"Mexico (Central)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",implicitGlobalRegion:"cn-northwest-1",name:"aws-cn",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"aws-cn global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-eusc",outputs:{dnsSuffix:"amazonaws.eu",dualStackDnsSuffix:"api.amazonwebservices.eu",implicitGlobalRegion:"eusc-de-east-1",name:"aws-eusc",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^eusc\\-(de)\\-\\w+\\-\\d+$",regions:{"eusc-de-east-1":{description:"AWS European Sovereign Cloud (Germany)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"api.aws.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"aws-iso global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"api.aws.scloud",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"aws-iso-b global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"},"us-isob-west-1":{description:"US ISOB West"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"api.cloud-aws.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{"aws-iso-e-global":{description:"aws-iso-e global region"},"eu-isoe-west-1":{description:"EU ISOE West"}}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"api.aws.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{"aws-iso-f-global":{description:"aws-iso-f global region"},"us-isof-east-1":{description:"US ISOF EAST"},"us-isof-south-1":{description:"US ISOF SOUTH"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-gov-west-1",name:"aws-us-gov",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"aws-us-gov global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}}],version:"1.1"};var g;!function(e){e.STANDARD="standard",e.ADAPTIVE="adaptive"}(g||(g={}));const v=g.STANDARD;class b{static v2026="undefined"!=typeof process&&"true"==="MISSING_ENV_VAR"?.SMITHY_NEW_RETRIES_202
26;static delay(){return b.v2026?50:100}static throttlingDelay(){return b.v2026?1e3:500}static cost(){return b.v2026?14:5}static throttlingCost(){return b.v2026?5:10}static modifiedCostType(){return b.v2026?"THROTTLING":"TRANSIENT"}}function w(e,t,n){e.__aws_sdk_context?e.__aws_sdk_context.features||(e.__aws_sdk_context.features={}):e.__aws_sdk_context={features:{}},e.__aws_sdk_context.features[t]=n}b.v2026||="object"==typeof process&&"true"==="MISSING_ENV_VAR"?.AWS_NEW_RETRIES_2026;const x=/\d{12}\.ddb/,S="user-agent",k="x-amz-user-agent",E=/[^!$%&'*+\-.^_`|~\w]/g,_=/[^!$%&'*+\-.^_`|~\w#]/g,C=e=>{const t=e[0].split("/").map(e=>e.replace(E,"-")).join("/"),n=e[1]?.replace(_,"-"),r=t.indexOf("/"),i=t.substring(0,r);let o=t.substring(r+1);return"api"===i&&(o=o.toLowerCase()),[i,o,n].filter(e=>e&&e.length>0).reduce((e,t,n)=>{switch(n){case 0:return t;case 1:return`${e}/${t}`;default:return`${e}#${t}`}},"")},A={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},T={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0};class P{data;lastPurgeTime=Date.now();static EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=3e4;constructor(e={}){this.data=e}get(e){const t=this.data[e];if(t)return t}set(e,t){return this.data[e]=t,t}delete(e){delete this.data[e]}async purgeExpired(){const e=Date.now();if(!(this.lastPurgeTime+P.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>e))for(const t in this.data){const n=this.data[t];if(!n.isRefreshing){const r=await n.identity;r.expiration&&r.expiration.getTime()<e&&delete this.data[t]}}}}class O{_identity;isRefreshing;accessed;constructor(e,t=!1,n=Date.now()){this._identity=e,this.isRefreshing=t,this.accessed=n}get identity(){return this.accessed=Date.now(),this._identity}}class M{createSessionFn;cache;static REFRESH_WINDOW_MS=6e4;constructor(e,t=new P){this.createSessionFn=e,this.cache=t}async getS3ExpressIdentity(e,t){const n=t.Bucket,{cache:r}=this,i=r.get(n);return i?i.identity.then(e=>(e.expiration?.getTime()??0)<Date.now()?r.set(n,new O(this.getIdentity(n))).identity:((e.expiration?.getTime()??0)<Date.now()+M.REFRESH_WINDOW_MS&&!i.isRefreshing&&(i.isRefreshing=!0,this.getIdentity(n).then(e=>{r.set(n,new O(Promise.resolve(e)))})),e)):r.set(n,new O(this.getIdentity(n))).identity}async getIdentity(e){await this.cache.purgeExpired().catch(e=>{console.warn("Error while clearing expired entries in S3ExpressIdentityCache: \n"+e)});const t=await this.createSessionFn(e);if(!t.Credentials?.AccessKeyId||!t.Credentials?.SecretAccessKey)throw new Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey.");return{accessKeyId:t.Credentials.AccessKeyId,secretAccessKey:t.Credentials.SecretAccessKey,sessionToken:t.Credentials.SessionToken,expiration:t.Credentials.Expiration?new Date(t.Credentials.Expiration):void 0}}}const I={name:"bucketEndpointMiddleware",override:!0,relation:"after",toMiddleware:"endpointV2Middleware"},R={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0},D={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0},N={tags:["REGION_REDIRECT","S3"],name:"regionRedirectEndpointMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},j={step:"initialize",tags:["REGION_REDIRECT","S3"],name:"regionRedirectMiddleware",override:!0},F="X-Amz-S3session-Token".toLowerCase(),L={name:"s3ExpressMiddleware",step:"build",tags:["S3","S3_EXPRESS"],override:!0},B="__smithy_context",z=e=>e[B]||(e[B]={}),V=e=>e=>{throw e},U=(e,t)=>{},$={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},H=e=>e=>{throw e},q=(e,t)=>{},W={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};class G{authSchemes=new Map;constructor(e){for(const t in e){const n=e[t];void 0!==n&&this.authSchemes.set(t,n)}}
vendor: 4,246 bytes, line 2
2getIdentityProvider(e){return this.authSchemes.get(e)}}const K=(e,t)=>{const n=[];if(e&&n.push(e),t)for(const e of t)n.push(e);return n},Q=(e,t)=>`${e||"anonymous"}${t&&t.length>0?` (a.k.a. ${t.join(",")})`:""}`,J=()=>{let e=[],t=[],n=!1;const r=new Set,i=n=>(e.forEach(e=>{n.add(e.middleware,{...e})}),t.forEach(e=>{n.addRelativeTo(e.middleware,{...e})}),n.identifyOnResolve?.(s.identifyOnResolve()),n),o=e=>{const t=[];return e.before.forEach(e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...o(e))}),t.push(e),e.after.reverse().forEach(e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...o(e))}),t},a=(n=!1)=>{const r=[],i=[],a={};e.forEach(e=>{const t={...e,before:[],after:[]};for(const e of K(t.name,t.aliases))a[e]=t;r.push(t)}),t.forEach(e=>{const t={...e,before:[],after:[]};for(const e of K(t.name,t.aliases))a[e]=t;i.push(t)}),i.forEach(e=>{if(e.toMiddleware){const t=a[e.toMiddleware];if(void 0===t){if(n)return;throw new Error(`${e.toMiddleware} is not found when adding ${Q(e.name,e.aliases)} middleware ${e.relation} ${e.toMiddleware}`)}"after"===e.relation&&t.after.push(e),"before"===e.relation&&t.before.push(e)}});const s=(c=r,c.sort((e,t)=>X[t.step]-X[e.step]||Y[t.priority||"normal"]-Y[e.priority||"normal"])).map(o).reduce((e,t)=>(e.push(...t),e),[]);var c;return s},s={add:(t,n={})=>{const{name:i,override:o,aliases:a}=n,s={step:"initialize",priority:"normal",middleware:t,...n},c=K(i,a);if(c.length>0){if(c.some(e=>r.has(e))){if(!o)throw new Error(`Duplicate middleware name '${Q(i,a)}'`);for(const t of c){const n=e.findIndex(e=>e.name===t||e.aliases?.some(e=>e===t));if(-1===n)continue;const r=e[n];if(r.step!==s.step||s.priority!==r.priority)throw new Error(`"${Q(r.name,r.aliases)}" middleware with ${r.priority} priority in ${r.step} step cannot be overridden by "${Q(i,a)}" middleware with ${s.priority} priority in ${s.step} step.`);e.splice(n,1)}}for(const e of c)r.add(e)}e.push(s)},addRelativeTo:(e,n)=>{const{name:i,override:o,aliases:a}=n,s={middleware:e,...n},c=K(i,a);if(c.length>0){if(c.some(e=>r.has(e))){if(!o)throw new Error(`Duplicate middleware name '${Q(i,a)}'`);for(const e of c){const n=t.findIndex(t=>t.name===e||t.aliases?.some(t=>t===e));if(-1===n)continue;const r=t[n];if(r.toMiddleware!==s.toMiddleware||r.relation!==s.relation)throw new Error(`"${Q(r.name,r.aliases)}" middleware ${r.relation} "${r.toMiddleware}" middleware cannot be overridden by "${Q(i,a)}" middleware ${s.relation} "${s.toMiddleware}" middleware.`);t.splice(n,1)}}for(const e of c)r.add(e)}t.push(s)},clone:()=>i(J()),use:e=>{e.applyToStack(s)},remove:n=>"string"==typeof n?(n=>{let i=!1;const o=e=>{const t=K(e.name,e.aliases);if(t.includes(n)){i=!0;for(const e of t)r.delete(e);return!1}return!0};return e=e.filter(o),t=t.filter(o),i})(n):(n=>{let i=!1;const o=e=>{if(e.middleware===n){i=!0;for(const t of K(e.name,e.aliases))r.delete(t);return!1}return!0};return e=e.filter(o),t=t.filter(o),i})(n),removeByTag:n=>{let i=!1;const o=e=>{const{tags:t,name:o,aliases:a}=e;if(t&&t.includes(n)){const e=K(o,a);for(const t of e)r.delete(t);return i=!0,!1}return!0};return e=e.filter(o),t=t.filter(o),i},concat:e=>{const t=i(J());return t.use(e),t.identifyOnResolve(n||t.identifyOnResolve()||(e.identifyOnResolve?.()??!1)),t},applyToStack:i,identify:()=>a(!0).map(e=>{const t=e.step??e.relation+" "+e.toMiddleware;return Q(e.name,e.aliases)+" - "+t}),identifyOnResolve:e=>("boolean"==typeof e&&(n=e),n),resolve:(e,t)=>{for(const n of a().map(e=>e.middleware).reverse())e=n(e,t);return n&&console.log(s.identify()),e}};return s},X={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},Y={high:3,normal:2,low:1};class Z{config;middlewareStack=J();initConfig;handlers;constructor(e){this.config=e;const{protocol:t,protocolSettings:n}=e;n&&"function"==typeof t&&(e.protocol=new t(n))}send(e,t,n){const r="function"!=typeof t?t:void 0,i="function"==typeof t?t:n;let o;if(void 0===r&&!0===this.config.cacheMiddleware){this.handlers||(this.handlers=new WeakMap);const t=this.handlers;t.has(e.constructor)?o=t.get(e.constructor):(o=e.resolveMiddleware(this.middlewareStack,this.config,r),t.set(e.constructor,o))}else delete this.handlers,o=e.resolveMiddleware(this.middlewareStack,this.config,r);
2if(!i)return o(e).then(e=>e.output);o(e).then(e=>i(null,e.output),e=>i(e)).catch(()=>{})}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}}const ee=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),te=(e,t=!1)=>{if(!t)return ee.test(e);const n=e.split(".");for(const e of n)if(!te(e))return!1;return!0},ne=new Set,re=e=>"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips")),ie=async e=>{},oe=/^[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$/,ae=/(\d+\.){3}\d+/,se=/\.\./,ce=(e,t,n,r=!1)=>{const i=async()=>{let i;if(r){const r=n.clientContextParams,o=r?.[e];i=o??n[e]??n[t]}else i=n[e]??n[t];return"function"==typeof i?i():i};return"credentialScope"===e||"CredentialScope"===t?async()=>{const e="function"==typeof n.credentials?await n.credentials():n.credentials;return e?.credentialScope??e?.CredentialScope}:"accountId"===e||"AccountId"===t?async()=>{const e="function"==typeof n.credentials?await n.credentials():n.credentials;return e?.accountId??e?.AccountId}:"endpoint"===e||"endpoint"===t?async()=>{if(!1===n.isCustomEndpoint)return;const e=await i();if(e&&"object"==typeof e){if("url"in e)return e.url.href;if("hostname"in e){const{protocol:t,hostname:n,port:r,path:i}=e;return`${t}//${n}${r?":"+r:""}${i}`}}return e}:i},le=e=>{if("string"==typeof e)return le(new URL(e));const{hostname:t,pathname:n,port:r,protocol:i,search:o}=e;let a;return o&&(a=function(e){const t={};if(e=e.replace(/^\?/,""))for(const n of e.split("&")){let[e,r=null]=n.split("=");e=decodeURIComponent(e),r&&(r=decodeURIComponent(r)),e in t?Array.isArray(t[e])?t[e].push(r):t[e]=[t[e],r]:t[e]=r}return t}(o)),{hostname:t,port:r?parseInt(r):void 0,protocol:i,path:n,query:a}},ue=e=>{if("object"==typeof e){if("url"in e){const t=le(e.url);if(e.headers){t.headers={};for(const n in e.headers)t.headers[n.toLowerCase()]=e.headers[n].join(", ")}return t}return e}return le(e)};function fe(e){return async(t,n,r,i)=>{if(!r.isCustomEndpoint&&!r.ignoreConfiguredEndpointUrls){let t;t=r.serviceConfiguredEndpoint?await r.serviceConfiguredEndpoint():await e(r.serviceId),t&&(r.endpoint=()=>Promise.resolve(ue(t)),r.isCustomEndpoint=!0,i?.logger?.debug?.(`@smithy/core/endpoints - resolved endpoint from config: ${t}`))}const o=await de(t,n,r);if("function"!=typeof r.endpointProvider)throw new Error("config.endpointProvider is not set.");const a=r.endpointProvider(o,i);if(r.isCustomEndpoint&&r.endpoint){const e=await r.endpoint();if(e?.headers){a.headers??={};for(const[t,n]of Object.entries(e.headers))a.headers[t]=Array.isArray(n)?n:[n]}}return a}}const de=async(e,t,n)=>{const r={},i=t?.getEndpointParameterInstructions?.()||{};for(const[t,o]of Object.entries(i))switch(o.type){case"staticContextParams":r[t]=o.value;break;case"contextParams":r[t]=e[o.name];break;case"clientContextParams":case"builtInParams":r[t]=await ce(o.name,t,n,"builtInParams"!==o.type)();break;case"operationContextParams":r[t]=o.get(e);break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(o))}return 0===Object.keys(i).length&&Object.assign(r,n),"s3"===String(n.serviceId).toLowerCase()&&await(async e=>{const t=e?.Bucket||"";if("string"==typeof e.Bucket&&(e.Bucket=t.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))),(e=>{const[t,n,r,,,i]=e.split(":"),o="arn"===t&&e.split(":").length>=6,a=Boolean(o&&n&&r&&i);if(o&&!a)throw new Error(`Invalid ARN: ${e} was an invalid ARN.`);return a})(t)){if(!0===e.ForcePathStyle)throw new Error("Path-style addressing cannot be used with ARN buckets")}else n=t,(!oe.test(n)||ae.test(n)||se.test(n)||-1!==t.indexOf(".")&&!String(e.Endpoint).startsWith("http:")||t.toLowerCase()!==t||t.length<3)&&(e.ForcePathStyle=!0);var n;return e.DisableMultiRegionAccessPoints&&(e.disableMultiRegionAccessPoints=!0,e.DisableMRAP=!0),e})(r),r};function he(e){const t=fe(e);return({config:e,instructions:n})=>(r,i)=>async o=>{e.isCustomEndpoint&&function(e){e.__smithy_context?e.__smithy_context.features||(e.__smithy_context.features={}):e.__smithy_context={features:{}},e.__smithy_context.features.ENDPOINT_OVERRIDE="N"}(i);
2const a=await t(o.input,{getEndpointParameterInstructions:()=>n},{...e},i);i.endpointV2=a,i.authSchemes=a.properties?.authSchemes;const s=i.authSchemes?.[0];if(s){i.signing_region=s.signingRegion,i.signing_service=s.signingName;const e=z(i),t=e?.selectedHttpAuthScheme?.httpAuthOption;t&&(t.signingProperties=Object.assign(t.signingProperties||{},{signing_region:s.signingRegion,signingRegion:s.signingRegion,signing_service:s.signingName,signingName:s.signingName,signingRegionSet:s.signingRegionSet},s.properties))}return r({...o})}}const pe={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"};fe(ie);const me=function(e){return t=>{const n=t.tls??!0,{endpoint:r,useDualstackEndpoint:i,useFipsEndpoint:a}=t,s=null!=r?async()=>ue(await o(r)()):void 0,c=!!r,l=Object.assign(t,{endpoint:s,tls:n,isCustomEndpoint:c,useDualstackEndpoint:o(i??!1),useFipsEndpoint:o(a??!1),ignoreConfiguredEndpointUrls:!!t.ignoreConfiguredEndpointUrls});let u;return l.serviceConfiguredEndpoint=async()=>(t.serviceId&&!u&&(u=e(t.serviceId)),u),l}}(ie),ye=(he(ie),function(e){const t=he(e);return(e,n)=>({applyToStack:r=>{r.addRelativeTo(t({config:e,instructions:n}),pe)}})}(ie)),ge="content-length",ve={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},be=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],we=["TimeoutError","RequestTimeout","RequestTimeoutException"],xe=[500,502,503,504],Se=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],ke=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND","EAI_AGAIN"],Ee=e=>429===e.$metadata?.httpStatusCode||be.includes(e.name)||1==e.$retryable?.throttling,_e=(e,t=0)=>(e=>void 0!==e?.$retryable)(e)||(e=>e.$metadata?.clockSkewCorrected)(e)||"InvalidSignatureException"===e.name&&e.message?.includes("Signature expired")||we.includes(e.name)||Se.includes(e?.code||"")||ke.includes(e?.code||"")||xe.includes(e.$metadata?.httpStatusCode||0)||(e=>{const t=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);return!!(e&&e instanceof TypeError)&&t.has(e.message)})(e)||function(e){return"ERR_HTTP2_STREAM_ERROR"===e.code&&e.message.includes("NGHTTP2_REFUSED_STREAM")}(e)||void 0!==e.cause&&t<=10&&_e(e.cause,t+1);class Ce{static setTimeoutFn=(e,t)=>setTimeout(e,t);beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(e){this.beta=e?.beta??.7,this.minCapacity=e?.minCapacity??1,this.minFillRate=e?.minFillRate??.5,this.scaleConstant=e?.scaleConstant??.4,this.smooth=e?.smooth??.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(e){let t;this.updateMeasuredRate();const n=e;if("THROTTLING"===n?.errorType||Ee(n?.error??e)){const e=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=e,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),t=this.cubicThrottle(e),this.enableTokenBucket()}else this.calculateTimeWindow(),t=this.cubicSuccess(this.getCurrentTimeInSeconds());const r=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(r)}getCurrentTimeInSeconds(){return Date.now()/1e3}async acquireTokenBucket(e){if(this.enabled){for(this.refillTokenBucket();e>this.availableTokens;){const t=(e-this.availableTokens)/this.fillRate*1e3;await new Promise(e=>Ce.setTimeoutFn(e,t)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-e}}refillTokenBucket(){const e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp)return void(this.lastTimestamp=e);const t=(e-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+t),this.lastTimestamp=e}
2calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}cubicThrottle(e){return this.getPrecise(e*this.beta)}cubicSuccess(e){return this.getPrecise(this.scaleConstant*Math.pow(e-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(e){this.refillTokenBucket(),this.fillRate=Math.max(e,this.minFillRate),this.maxCapacity=Math.max(e,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){const e=this.getCurrentTimeInSeconds(),t=Math.floor(2*e)/2;if(this.requestCount++,t>this.lastTxRateBucket){const e=this.requestCount/(t-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(e*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=t}}getPrecise(e){return parseFloat(e.toFixed(8))}}class Ae{x=b.delay();computeNextBackoffDelay(e){const t=Math.random()*Math.min(this.x*2**e,2e4);return Math.floor(t)}setDelayBase(e){this.x=e}}class Te{delay;count;cost;longPoll;$retryLog={acquisitionDelay:0};constructor(e,t,n,r){this.delay=e,this.count=t,this.cost=n,this.longPoll=r}getRetryCount(){return this.count}getRetryDelay(){return Math.min(2e4,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}class Pe{mode=g.STANDARD;retryBackoffStrategy;capacity=500;maxAttemptsProvider;baseDelay;constructor(e){"number"==typeof e?this.maxAttemptsProvider=async()=>e:"function"==typeof e?this.maxAttemptsProvider=e:e&&"object"==typeof e&&(this.maxAttemptsProvider=async()=>e.maxAttempts,this.baseDelay=e.baseDelay,this.retryBackoffStrategy=e.backoff),this.maxAttemptsProvider??=async()=>3,this.baseDelay??=b.delay(),this.retryBackoffStrategy??=new Ae}async acquireInitialRetryToken(e){return new Te(b.delay(),0,void 0,b.v2026&&e.includes(":longpoll"))}async refreshRetryTokenForRetry(e,t){const n=await this.getMaxAttempts(),r=this.retryCode(e,t,n),i=0===r,o=e.isLongPoll?.();if(i||o){const n=t.errorType;this.retryBackoffStrategy.setDelayBase("THROTTLING"===n?b.throttlingDelay():this.baseDelay);const a=this.retryBackoffStrategy.computeNextBackoffDelay(e.getRetryCount());let s=a;if(t.retryAfterHint instanceof Date&&(s=Math.max(a,Math.min(t.retryAfterHint.getTime()-Date.now(),a+5e3))),i){const t=this.getCapacityCost(n);this.capacity-=t;const r=new Te(0,e.getRetryCount()+1,t,e.isLongPoll?.()??!1);return await new Promise(e=>setTimeout(e,s)),r.$retryLog.acquisitionDelay=s,r}{const e=b.v2026&&3===r&&o?s:0;e>0&&await new Promise(t=>setTimeout(t,e))}}throw new Error("No retry token available")}recordSuccess(e){this.capacity=Math.min(500,this.capacity+(e.getRetryCost()??1))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(e){return console.warn("Max attempts provider could not resolve. Using default of 3"),3}}retryCode(e,t,n){const r=e.getRetryCount()+1,i=this.isRetryableError(t.errorType)?0:1,o=r<n?0:2,a=this.capacity>=this.getCapacityCost(t.errorType)?0:3;return i||o||a}getCapacityCost(e){return e===b.modifiedCostType()?b.throttlingCost():b.cost()}isRetryableError(e){return"THROTTLING"===e||"TRANSIENT"===e}}class Oe{mode=g.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(e,t){const{rateLimiter:n}=t??{};this.rateLimiter=n??new Ce,this.standardRetryStrategy=new Pe(t?{maxAttempts:"number"==typeof e?e:3,...t}:e)}async acquireInitialRetryToken(e){const t=await this.standardRetryStrategy.acquireInitialRetryToken(e);return await this.rateLimiter.getSendToken(),t}async refreshRetryTokenForRetry(e,t){this.rateLimiter.updateClientSendingRate(t);const n=await this.standardRetryStrategy.refreshRetryTokenForRetry(e,t);return await this.rateLimiter.getSendToken(),n}recordSuccess(e){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(e)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}}const Me=e=>e?.body instanceof ReadableStream;class Ie{trace(){}debug(){}info(){}warn(){}error(){}}const Re="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 1,075 bytes, line 2
2+/",De=Object.entries(Re).reduce((e,[t,n])=>(e[n]=Number(t),e),{}),Ne=Re.split(""),je=e=>{let t=e.length/4*3;"=="===e.slice(-2)?t-=2:"="===e.slice(-1)&&t--;const n=new ArrayBuffer(t),r=new DataView(n);for(let t=0;t<e.length;t+=4){let n=0,i=0;for(let r=t,o=t+3;r<=o;r++)if("="!==e[r]){if(!(e[r]in De))throw new TypeError(`Invalid character ${e[r]} in base64 string.`);n|=De[e[r]]<<6*(o-r),i+=6}else n>>=6;const o=t/4*3;n>>=i%8;const a=Math.floor(i/8);for(let e=0;e<a;e++){const t=8*(a-e-1);r.setUint8(o+e,(n&255<<t)>>t)}}return new Uint8Array(n)};var Fe=n(13107);function Le(e){let t;t="string"==typeof e?(0,Fe.a)(e):e;const n="object"==typeof t&&"number"==typeof t.length,r="object"==typeof t&&"number"==typeof t.byteOffset&&"number"==typeof t.byteLength;if(!n&&!r)throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let i="";for(let e=0;e<t.length;e+=3){let n=0,r=0;for(let i=e,o=Math.min(e+3,t.length);i<o;i++)n|=t[i]<<8*(o-i-1),r+=8;const o=Math.ceil(r/6);n<<=6*o-r;for(let e=1;e<=o;e++){const t=6*(o-e);i+=Ne[(n&63<<t)>>t]}
2i+="==".slice(0,4-o)}return i}var Be=n(36326);const ze=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));Symbol.for("node-only");class Ve extends(function(e,t,n,r){return class i extends Uint8Array{static fromString(e,n="utf-8"){if("string"==typeof e)return"base64"===n?i.mutate(r(e)):i.mutate(t(e));throw new Error(`Unsupported conversion from ${typeof e} to Uint8ArrayBlobAdapter.`)}static mutate(e){return Object.setPrototypeOf(e,i.prototype),e}transformToString(t="utf-8"){return"base64"===t?n(this):e(this)}}}(Be.P,Fe.a,Le,je)){}const Ue=($e=e=>crypto.getRandomValues(e),"undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?()=>crypto.randomUUID():()=>{const e=new Uint8Array(16);return $e(e),e[6]=15&e[6]|64,e[8]=63&e[8]|128,ze[e[0]]+ze[e[1]]+ze[e[2]]+ze[e[3]]+"-"+ze[e[4]]+ze[e[5]]+"-"+ze[e[6]]+ze[e[7]]+"-"+ze[e[8]]+ze[e[9]]+"-"+ze[e[10]]+ze[e[11]]+ze[e[12]]+ze[e[13]]+ze[e[14]]+ze[e[15]]});var $e;const He=Ue;class qe{statusCode;reason;headers;body;constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){if(!e)return!1;const t=e;return"number"==typeof t.statusCode&&"object"==typeof t.headers}}const We=Math.ceil(2**127*(2-2**-23)),Ge=e=>{const t=(e=>{if(null!=e){if("string"==typeof e){const t=parseFloat(e);if(!Number.isNaN(t))return String(t)!==String(e)&&et.warn(Ze(`Expected number but observed string: ${e}`)),t}if("number"==typeof e)return e;throw new TypeError(`Expected number, got ${typeof e}: ${e}`)}})(e);if(void 0!==t&&!Number.isNaN(t)&&t!==1/0&&t!==-1/0&&Math.abs(t)>We)throw new TypeError(`Expected 32-bit float, got ${e}`);return t},Ke=(e,t)=>{const n=(e=>{if(null!=e){if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw new TypeError(`Expected integer, got ${typeof e}: ${e}`)}})(e);if(void 0!==n&&Qe(n,t)!==n)throw new TypeError(`Expected ${t}-bit integer, got ${e}`);return n},Qe=(e,t)=>{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}},Je=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,Xe=e=>{const t=e.match(Je);if(null===t||t[0].length!==e.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(e)},Ye=e=>(e=>Ke(e,16))("string"==typeof e?Xe(e):e),Ze=e=>String(new TypeError(e).stack||e).split("\n").slice(0,5).filter(e=>!e.includes("stackTraceWarning")).join("\n"),et={warn:console.warn},tt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],nt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function rt(e){const t=e.getUTCFullYear(),n=e.getUTCMonth(),r=e.getUTCDay(),i=e.getUTCDate(),o=e.getUTCHours(),a=e.getUTCMinutes(),s=e.getUTCSeconds(),c=o<10?`0${o}`:`${o}`,l=a<10?`0${a}`:`${a}`,u=s<10?`0${s}`:`${s}`;return`${tt[r]}, ${i<10?`0${i}`:`${i}`} ${nt[n]} ${t} ${c}:${l}:${u} GMT`}new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}:\d{2})|[zZ])$/);const it=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),ot=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),at=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),st=e=>{if(null==e)return;if("string"!=typeof e)throw new TypeError("RFC-7231 date-times must be expressed as strings");let t=it.exec(e);if(t){const[e,n,r,i,o,a,s,c]=t;return ct(Ye(gt(i)),ft(r),mt(n,"day",1,31),{hours:o,minutes:a,seconds:s,fractionalMilliseconds:c})}if(t=ot.exec(e),t){const[e,n,r,i,o,a,s,c]=t;return ut(ct(lt(i),ft(r),mt(n,"day",1,31),{hours:o,minutes:a,seconds:s,fractionalMilliseconds:c}))}if(t=at.exec(e),t){const[e,n,r,i,o,a,s,c]=t;return ct(Ye(gt(c)),ft(n),mt(r.trimLeft(),"day",1,31),{hours:i,minutes:o,seconds:a,fractionalMilliseconds:s})}throw new TypeError("Invalid RFC-7231 date-time value")},ct=(e,t,n,r)=>{const i=t-1;return ht(e,i,n),new Date(Date.UTC(e,i,n,mt(r.hours,"hour",0,23),mt(r.minutes,"minute",0,59),mt(r.seconds,"seconds",0,60),yt(r.fractionalMilliseconds)))},lt=e=>{const t=(new Date).getUTCFullYear(),n=100*Math.floor(t/100)+Ye(gt(e));return n<t?n+100:n},ut=e=>e.getTime()-(new Date).getTime()>15768e8?new Date(Date.UTC(e.getUTCFullYear()-100,e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())):e,ft=e=>{const t=nt.indexOf(e);if(t<0)throw new TypeError(`Invalid month: ${e}`);return t+1}
2,dt=[31,28,31,30,31,30,31,31,30,31,30,31],ht=(e,t,n)=>{let r=dt[t];if(1===t&&pt(e)&&(r=29),n>r)throw new TypeError(`Invalid day for ${nt[t]} in ${e}: ${n}`)},pt=e=>e%4==0&&(e%100!=0||e%400==0),mt=(e,t,n,r)=>{const i=(e=>(e=>Ke(e,8))("string"==typeof e?Xe(e):e))(gt(e));if(i<n||i>r)throw new TypeError(`${t} must be between ${n} and ${r}, inclusive`);return i},yt=e=>null==e?0:1e3*(e=>Ge("string"==typeof e?Xe(e):e))("0."+e),gt=e=>{let t=0;for(;t<e.length-1&&"0"===e.charAt(t);)t++;return 0===t?e:e.slice(t)};const vt=e=>e instanceof Error?e:e instanceof Object?Object.assign(new Error,e):"string"==typeof e?new Error(e):new Error(`AWS SDK error wrapper for ${e}`);function bt(e){return t=>(n,r)=>async i=>{let o=await t.retryStrategy();const a=await t.maxAttempts();if(!xt(o))return o?.mode&&(r.userAgent=[...r.userAgent||[],["cfg/retry-mode",o.mode]]),o.retry(n,i);{let s=await o.acquireInitialRetryToken((r.partition_id??"")+(r.__retryLongPoll?":longpoll":"")),c=new Error,l=0,u=0;const{request:f}=i,d=p.isInstance(f);for(d&&(f.headers["amz-sdk-invocation-id"]=Ue()
2);;)try{d&&(f.headers["amz-sdk-request"]=`attempt=${l+1}; max=${a}`);const{response:e,output:t}=await n(i);return o.recordSuccess(s),t.$metadata.attempts=l+1,t.$metadata.totalRetryDelay=u,{response:e,output:t}}catch(n){const i=St(n,t.logger);if(c=vt(n),d&&e(f))throw(r.logger instanceof Ie?console:r.logger)?.warn("An error was encountered in a non-retryable streaming request."),c;try{s=await o.refreshRetryTokenForRetry(s,i)}catch(e){throw c.$metadata||(c.$metadata={}),c.$metadata.attempts=l+1,c.$metadata.totalRetryDelay=u,c}l=s.getRetryCount();const a=s.getRetryDelay();u+=(s?.$retryLog?.acquisitionDelay??0)+a,a>0&&await wt(a)}}}}const wt=e=>new Promise(t=>setTimeout(t,e)),xt=e=>void 0!==e.acquireInitialRetryToken&&void 0!==e.refreshRetryTokenForRetry&&void 0!==e.recordSuccess,St=(e,t)=>{const n={error:e,errorType:kt(e)},r=function(e,t){if(qe.isInstance(e))for(const n of Object.keys(e.headers)){const r=n.toLowerCase();if("retry-after"===r){const r=e.headers[n];let i=NaN;if(r.endsWith("GMT"))try{i=(st(r).getTime()-Date.now())/1e3}catch(e){t?.trace?.("Failed to parse retry-after header"),t?.trace?.(e)}else r.match(/ GMT, ((\d+)|(\d+\.\d+))$/)?i=Number(r.match(/ GMT, ([\d.]+)$/)?.[1]):r.match(/^((\d+)|(\d+\.\d+))$/)?i=Number(r):Date.parse(r)>=Date.now()&&(i=(Date.parse(r)-Date.now())/1e3);if(isNaN(i))return;return new Date(Date.now()+1e3*i)}if("x-amz-retry-after"===r){const r=e.headers[n],i=Number(r);return isNaN(i)?void t?.trace?.(`Failed to parse x-amz-retry-after=${r}`):new Date(Date.now()+i)}}}(e.$response,t);return r&&(n.retryAfterHint=r),n},kt=e=>Ee(e)?"THROTTLING":_e(e)?"TRANSIENT":(e=>{if(void 0!==e.$metadata?.httpStatusCode){const t=e.$metadata.httpStatusCode;return 500<=t&&t<=599&&!_e(e)}return!1})(e)?"SERVER_ERROR":"CLIENT_ERROR",Et={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};Symbol.for("node-only"),bt(Me);const _t=function(e){const t=bt(e);return e=>({applyToStack:n=>{n.add(t(e),Et)}})}(Me),Ct=(e,t,n,r,i)=>({name:t,namespace:e,traits:n,input:r,output:i}),At=(e,t)=>(t.find(([t])=>t.match(e))||[void 0,void 0])[1],Tt={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},Pt={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};const Ot=function(e){return Mt(e)&&e.expiration.getTime()-Date.now()<3e5};const Mt=e=>void 0!==e.expiration;var It=n(19733);const Rt=e=>e instanceof Uint8Array?e:"string"==typeof e?(0,Fe.a)(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e);class Dt{format(e){const t=[];for(const n of Object.keys(e)){const r=(0,Fe.a)(n);t.push(Uint8Array.from([r.byteLength]),r,this.formatHeaderValue(e[n]))}const n=new Uint8Array(t.reduce((e,t)=>e+t.byteLength,0));let r=0;for(const e of t)n.set(e,r),r+=e.byteLength;return n}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":const t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":const n=new DataView(new ArrayBuffer(5));return n.setUint8(0,4),n.setInt32(1,e.value,!1),new Uint8Array(n.buffer);case"long":const r=new Uint8Array(9);return r[0]=5,r.set(e.value.bytes,1),r;case"binary":const i=new DataView(new ArrayBuffer(3+e.value.byteLength));i.setUint8(0,6),i.setUint16(1,e.value.byteLength,!1);const o=new Uint8Array(i.buffer);return o.set(e.value,3),o;case"string":const a=(0,Fe.a)(e.value),s=new DataView(new ArrayBuffer(3+a.byteLength));s.setUint8(0,7),s.setUint16(1,a.byteLength,!1);const c=new Uint8Array(s.buffer);return c.set(a,3),c;case"timestamp":const l=new Uint8Array(9);return l[0]=8,l.set(Ft.fromNumber(e.value.valueOf()).bytes,1),l;case"uuid":if(!jt.test(e.value))throw new Error(`Invalid UUID received: ${e.value}`);const u=new Uint8Array(17);return u[0]=9,u.set((0,It.a)(e.value.replace(/-/g,"")),1),u}}}var Nt;!function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"}(Nt||(Nt={}));const jt=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class Ft{bytes;constructor(e){if(this.bytes=e,8!==e.byteLength)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);const t=new Uint8Array(8);
vendor: 4,898 bytes, line 2
2for(let n=7,r=Math.abs(Math.round(e));n>-1&&r>0;n--,r/=256)t[n]=r;return e<0&&Lt(t),new Ft(t)}valueOf(){const e=this.bytes.slice(0),t=128&e[0];return t&&Lt(e),parseInt((0,It.n)(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function Lt(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}const Bt=e=>encodeURIComponent(e).replace(/[!'()*]/g,zt),zt=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`,Vt="X-Amz-Date",Ut="X-Amz-Signature",$t="X-Amz-Security-Token",Ht="authorization",qt=Vt.toLowerCase(),Wt=[Ht,qt,"date"],Gt=Ut.toLowerCase(),Kt="x-amz-content-sha256",Qt=$t.toLowerCase(),Jt={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},Xt=/^proxy-/,Yt=/^sec-/,Zt="AWS4-HMAC-SHA256",en="AWS4-HMAC-SHA256-PAYLOAD",tn="aws4_request";class nn{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:n,service:r,sha256:i,uriEscapePath:a=!0}){this.service=r,this.sha256=i,this.uriEscapePath=a,this.applyChecksum="boolean"!=typeof e||e,this.regionProvider=o(n),this.credentialProvider=o(t)}createCanonicalRequest(e,t,n){const r=Object.keys(t).sort();return`${e.method}\n${this.getCanonicalPath(e)}\n${(({query:e={}})=>{const t=[],n={};for(const r of Object.keys(e)){if(r.toLowerCase()===Gt)continue;const i=Bt(r);t.push(i);const o=e[r];"string"==typeof o?n[i]=`${i}=${Bt(o)}`:Array.isArray(o)&&(n[i]=o.slice(0).reduce((e,t)=>e.concat([`${i}=${Bt(t)}`]),[]).sort().join("&"))}return t.sort().map(e=>n[e]).filter(e=>e).join("&")})(e)}\n${r.map(e=>`${e}:${t[e]}`).join("\n")}\n\n${r.join(";")}\n${n}`}async createStringToSign(e,t,n,r){const i=new this.sha256;i.update(Rt(n));const o=await i.digest();return`${r}\n${e}\n${t}\n${(0,It.n)(o)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){const t=[];for(const n of e.split("/"))0!==n?.length&&"."!==n&&(".."===n?t.pop():t.push(n));const n=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`;return Bt(n).replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if("object"!=typeof e||"string"!=typeof e.accessKeyId||"string"!=typeof e.secretAccessKey)throw new Error("Resolved credential object is not valid")}formatDate(e){const t=(e=>(e=>"number"==typeof e?new Date(1e3*e):"string"==typeof e?Number(e)?new Date(1e3*Number(e)):new Date(e):e)(e).toISOString().replace(/\.\d{3}Z$/,"Z"))(e).replace(/[-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}const rn={},on=[],an=(e,t,n)=>`${e}/${t}/${n}/${tn}`,sn=(e,t,n)=>{const r=new e(t);return r.update(Rt(n)),r.digest()},cn=({headers:e},t,n)=>{const r={};for(const i of Object.keys(e).sort()){if(null==e[i])continue;const o=i.toLowerCase();(o in Jt||t?.has(o)||Xt.test(o)||Yt.test(o))&&(!n||n&&!n.has(o))||(r[o]=e[i].trim().replace(/\s+/g," "))}return r},ln=e=>"function"==typeof ArrayBuffer&&e instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(e),un=async({headers:e,body:t},n)=>{for(const t of Object.keys(e))if(t.toLowerCase()===Kt)return e[t];if(null==t)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if("string"==typeof t||ArrayBuffer.isView(t)||ln(t)){const e=new n;return e.update(Rt(t)),(0,It.n)(await e.digest())}return"UNSIGNED-PAYLOAD"},fn=e=>{e=p.clone(e);for(const t of Object.keys(e.headers))Wt.indexOf(t.toLowerCase())>-1&&delete e.headers[t];return e};class dn extends nn{headerFormatter=new Dt;constructor({applyChecksum:e,credentials:t,region:n,service:r,sha256:i,uriEscapePath:o=!0}){super({applyChecksum:e,credentials:t,region:n,service:r,sha256:i,uriEscapePath:o})}async presign(e,t={}){const{signingDate:n=new Date,expiresIn:r=3600,unsignableHeaders:i,unhoistableHeaders:o,signableHeaders:a,hoistableHeaders:s,signingRegion:c,signingService:l}=t,u=await this.credentialProvider();this.validateResolvedCredentials(u);const f=c??await this.regionProvider(),{longDate:d,shortDate:h}=this.formatDate(n);if(r>604800)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");const m=an(h,f,l??this.service),y=((e,t={})=>{const{headers:n,query:r={}}=p.clone(e);for(const e of Object.keys(n)){const i=e.toLowerCase();("x-amz-"===i.slice(0,6)&&!t.unhoistableHeaders?.has(i)||t.hoistableHeaders?.has(i))&&(r[e]=n[e],delete n[e])}return{...e,headers:n,query:r}})(fn(e),{unhoistableHeaders:o,hoistableHeaders:s});u.sessionToken&&(y.query[$t]=u.sessionToken),y.query["X-Amz-Algorithm"]=Zt,y.query["X-Amz-Credential"]=`${u.accessKeyId}/${m}`,y.query[Vt]=d,y.query["X-Amz-Expires"]=r.toString(10);const g=cn(y,i,a);return y.query["X-Amz-SignedHeaders"]=this.getCanonicalHeaderList(g),y.query[Ut]=await this.get
2Signature(d,m,this.getSigningKey(u,f,h,l),this.createCanonicalRequest(y,g,await un(e,this.sha256))),y}async sign(e,t){return"string"==typeof e?this.signString(e,t):e.headers&&e.payload?this.signEvent(e,t):e.message?this.signMessage(e,t):this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:n=new Date,priorSignature:r,signingRegion:i,signingService:o,eventStreamCredentials:a}){const s=i??await this.regionProvider(),{shortDate:c,longDate:l}=this.formatDate(n),u=an(c,s,o??this.service),f=await un({headers:{},body:t},this.sha256),d=new this.sha256;d.update(e);const h=(0,It.n)(await d.digest()),p=[en,l,u,r,h,f].join("\n");return this.signString(p,{signingDate:n,signingRegion:s,signingService:o,eventStreamCredentials:a})}async signMessage(e,{signingDate:t=new Date,signingRegion:n,signingService:r,eventStreamCredentials:i}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:n,signingService:r,priorSignature:e.priorSignature,eventStreamCredentials:i}).then(t=>({message:e.message,signature:t}))}async signString(e,{signingDate:t=new Date,signingRegion:n,signingService:r,eventStreamCredentials:i}={}){const o=i??await this.credentialProvider();this.validateResolvedCredentials(o);const a=n??await this.regionProvider(),{shortDate:s}
2=this.formatDate(t),c=new this.sha256(await this.getSigningKey(o,a,s,r));return c.update(Rt(e)),(0,It.n)(await c.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:n,unsignableHeaders:r,signingRegion:i,signingService:o}={}){const a=await this.credentialProvider();this.validateResolvedCredentials(a);const s=i??await this.regionProvider(),c=fn(e),{longDate:l,shortDate:u}=this.formatDate(t),f=an(u,s,o??this.service);c.headers[qt]=l,a.sessionToken&&(c.headers[Qt]=a.sessionToken);const d=await un(c,this.sha256);!((e,t)=>{e=e.toLowerCase();for(const n of Object.keys(t))if(e===n.toLowerCase())return!0;return!1})(Kt,c.headers)&&this.applyChecksum&&(c.headers[Kt]=d);const h=cn(c,r,n),p=await this.getSignature(l,f,this.getSigningKey(a,s,u,o),this.createCanonicalRequest(c,h,d));return c.headers[Ht]=`${Zt} Credential=${a.accessKeyId}/${f}, SignedHeaders=${this.getCanonicalHeaderList(h)}, Signature=${p}`,c}async getSignature(e,t,n,r){const i=await this.createStringToSign(e,t,r,Zt),o=new this.sha256(await n);return o.update(Rt(i)),(0,It.n)(await o.digest())}getSigningKey(e,t,n,r){return(async(e,t,n,r,i)=>{const o=await sn(e,t.secretAccessKey,t.accessKeyId),a=`${n}:${r}:${i}:${(0,It.n)(o)}:${t.sessionToken}`;if(a in rn)return rn[a];for(on.push(a);on.length>50;)delete rn[on.shift()];let s=`AWS4${t.secretAccessKey}`;for(const t of[n,r,i,tn])s=await sn(e,s,t);return rn[a]=s})(this.sha256,e,n,t,r||this.service)}}Symbol.for("node-only");const hn=e=>{let t,n=e.credentials,r=!!e.credentials;Object.defineProperty(e,"credentials",{set(i){i&&i!==n&&i!==t&&(r=!0),n=i;const o=function(e,{credentials:t,credentialDefaultProvider:n}){let r;return r=t?t?.memoized?t:((e,t,n)=>{if(void 0===e)return;const r="function"!=typeof e?async()=>Promise.resolve(e):e;let i,o,a,s=!1;const c=async e=>{o||(o=r(e));try{i=await o,a=!0,s=!1}finally{o=void 0}return i};return void 0===t?async e=>(a&&!e?.forceRefresh||(i=await c(e)),i):async e=>(a&&!e?.forceRefresh||(i=await c(e)),s?i:n(i)?t(i)?(await c(e),i):i:(s=!0,i))})(t,Ot,Mt):n?h(n(Object.assign({},e,{parentClientConfig:e}))):async()=>{throw new Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")},r.memoized=!0,r}(e,{credentials:n,credentialDefaultProvider:e.credentialDefaultProvider}),a=function(e,t){if(t.configBound)return t;const n=async n=>t({...n,callerClientConfig:e});return n.memoized=t.memoized,n.configBound=!0,n}(e,o);if(r&&!a.attributed){const e="object"==typeof n&&null!==n;t=async t=>{const n=await a(t);return!e||n.$source&&0!==Object.keys(n.$source).length?n:function(e){return e.$source||(e.$source={}),e.$source.CREDENTIALS_CODE="e",e}(n)},t.memoized=a.memoized,t.configBound=a.configBound,t.attributed=!0}else t=a},get:()=>t,enumerable:!0,configurable:!0}),e.credentials=n;const{signingEscapePath:i=!0,systemClockOffset:o=e.systemClockOffset||0,sha256:a}=e;let s;return s=e.signer?h(e.signer):e.regionInfoProvider?()=>h(e.region)().then(async t=>[await e.regionInfoProvider(t,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},t]).then(([t,n])=>{const{signingRegion:r,signingService:o}=t;e.signingRegion=e.signingRegion||r||n,e.signingName=e.signingName||o||e.serviceId;const s={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:a,uriEscapePath:i};return new(e.signerConstructor||dn)(s)}):async t=>{const n=(t=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await h(e.region)(),properties:{}},t)).signingRegion,r=t.signingName;e.signingRegion=e.signingRegion||n,e.signingName=e.signingName||r||e.serviceId;const o={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:a,uriEscapePath:i};return new(e.signerConstructor||dn)(o)},Object.assign(e,{systemClockOffset:o,signingEscapePath:i,signer:s,disableClockSkewCorrection:h(e.disableClockSkewCorrection??false)})};const pn=null,mn="X-Amz-S3session-Token",yn=mn.toLowerCase();class gn extends dn{async signWithCredentials(e,t,n){const r=vn(t);return e.headers[yn]=t.sessionToken,bn(this,r),this.signRequest(e,n??{})}async presignWithCredentials(e,t,n){const r=vn(t);return delete e.headers[yn],e.headers[mn]=t.sessionToken,e.query=e.query??{}
2,e.query[mn]=t.sessionToken,bn(this,r),this.presign(e,n)}}function vn(e){return{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey,expiration:e.expiration}}function bn(e,t){const n=e.credentialProvider;e.credentialProvider=()=>(e.credentialProvider=n,Promise.resolve(t))}class wn{sigv4aSigner;sigv4Signer;signerOptions;static sigv4aDependency(){return"none"}constructor(e){this.sigv4Signer=new gn(e),this.signerOptions=e}async sign(e,t={}){return"*"===t.signingRegion?this.getSigv4aSigner().sign(e,t):this.sigv4Signer.sign(e,t)}async signWithCredentials(e,t,n={}){if("*"===n.signingRegion){this.getSigv4aSigner();throw new Error('signWithCredentials with signingRegion \'*\' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt')}return this.sigv4Signer.signWithCredentials(e,t,n)}async presign(e,t={}){if("*"===t.signingRegion){this.getSigv4aSigner();throw new Error('presign with signingRegion \'*\' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt')}return this.sigv4Signer.presign(e,t)}async presignWithCredentials(e,t,n={}){if("*"===n.signingRegion)throw new Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(e,t,n)}getSigv4aSigner(){if(!this.sigv4aSigner){const e=pn,t=null;if("node"===this.signerOptions.runtime){if(!e&&!t)throw new Error("Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt");if(e&&"function"==typeof e)this.sigv4aSigner=new e({...this.signerOptions,signingAlgorithm:1});else{if(!t||"function"!=typeof t)throw new Error("Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt");this.sigv4aSigner=new t({...this.signerOptions})}}else{if(!t||"function"!=typeof t)throw new Error("JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a");this.sigv4aSigner=new t({...this.signerOptions})}}return this.sigv4aSigner}}const xn={},Sn=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),kn=e=>Sn.test(e)||e.startsWith("[")&&e.endsWith("]"),En=(e,t=!1)=>{if(t){for(const t of e.split("."))if(!En(t))return!1;return!0}return!(!te(e)||e.length<3||e.length>63||e!==e.toLowerCase()||kn(e))},_n={isVirtualHostableS3Bucket:En,parseArn:e=>{const t=e.split(":");if(t.length<6)return null;const[n,r,i,o,a,...s]=t;return"arn"!==n||""===r||""===i||""===s.join(":")?null:{partition:r,service:i,region:o,accountId:a,resourceId:s.map(e=>e.split("/")).flat()}},partition:e=>{const{partitions:t}=y;for(const n of t){const{regions:t,outputs:r}=n;for(const[n,i]of Object.entries(t))if(n===e)return{...r,...i}}for(const n of t){const{regionRegex:t,outputs:r}=n;if(new RegExp(t).test(e))return{...r}}const n=t.find(e=>"aws"===e.id);if(!n)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...n.outputs}}};xn.aws=_n;
2class Cn extends Error{constructor(e){super(e),this.name="EndpointError"}}function An(e){return"object"!=typeof e||null==e?e:"ref"in e?`$${An(e.ref)}`:"fn"in e?`${e.fn}(${(e.argv||[]).map(An).join(", ")})`:JSON.stringify(e,null,2)}const Tn=(e,t)=>(e=>{const t=e.split("."),n=[];for(const r of t){const t=r.indexOf("[");if(-1!==t){if(r.indexOf("]")!==r.length-1)throw new Cn(`Path: '${e}' does not end with ']'`);const i=r.slice(t+1,-1);if(Number.isNaN(parseInt(i)))throw new Cn(`Invalid array index: '${i}' in path: '${e}'`);0!==t&&n.push(r.slice(0,t)),n.push(i)}else n.push(r)}return n})(t).reduce((n,r)=>{if("object"!=typeof n)throw new Cn(`Index '${r}' in '${t}' not found in '${JSON.stringify(e)}'`);if(Array.isArray(n)){const e=parseInt(r);return n[e<0?n.length+e:e]}return n[r]},e);var Pn;!function(e){e.HTTP="http",e.HTTPS="https"}(Pn||(Pn={}));const On={[Pn.HTTP]:80,[Pn.HTTPS]:443},Mn={booleanEquals:(e,t)=>e===t,coalesce:function(...e){for(const t of e)if(null!=t)return t},getAttr:Tn,isSet:e=>null!=e,isValidHostLabel:te,ite:function(e,t,n){return e?t:n},not:e=>!e,parseURL:e=>{const t=(()=>{try{if(e instanceof URL)return e;if("object"==typeof e&&"hostname"in e){const{hostname:t,port:n,protocol:r="",path:i="",query:o={}}=e,a=new URL(`${r}//${t}${n?`:${n}`:""}${i}`);return a.search=Object.entries(o).map(([e,t])=>`${e}=${t}`).join("&"),a}return new URL(e)}catch(e){return null}})();if(!t)return console.error(`Unable to parse ${JSON.stringify(e)} as a whatwg URL.`),null;const n=t.href,{host:r,hostname:i,pathname:o,protocol:a,search:s}=t;if(s)return null;const c=a.slice(0,-1);if(!Object.values(Pn).includes(c))return null;const l=kn(i);return{scheme:c,authority:`${r}${n.includes(`${r}:${On[c]}`)||"string"==typeof e&&e.includes(`${r}:${On[c]}`)?`:${On[c]}`:""}`,path:o,normalizedPath:o.endsWith("/")?o:`${o}/`,isIp:l}},split:function(e,t,n){if(1===n)return[e];if(""===e)return[""];const r=e.split(t);return 0===n?r:r.slice(0,n-1).concat(r.slice(1).join(t))},stringEquals:(e,t)=>e===t,substring:(e,t,n,r)=>null==e||t>=n||e.length<n||/[^\u0000-\u007f]/.test(e)?null:r?e.substring(e.length-n,e.length-t):e.substring(t,n),uriEncode:e=>encodeURIComponent(e).replace(/[!*'()]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},In=(e,t)=>{const n=[],{referenceRecord:r,endpointParams:i}=t;let o=0;for(;o<e.length;){const t=e.indexOf("{",o);if(-1===t){n.push(e.slice(o));break}n.push(e.slice(o,t));const a=e.indexOf("}",t);if(-1===a){n.push(e.slice(t));break}"{"===e[t+1]&&"}"===e[a+1]&&(n.push(e.slice(t+1,a)),o=a+2);const s=e.substring(t+1,a);if(s.includes("#")){const[e,t]=s.split("#");n.push(Tn(r[e]??i[e],t))}else n.push(r[s]??i[s]);o=a+1}return n.join("")},Rn=(e,t,n)=>{if("string"==typeof e)return In(e,n);if(e.fn)return Nn.callFunction(e,n);if(e.ref)return(({ref:e},t)=>t.referenceRecord[e]??t.endpointParams[e])(e,n);throw new Cn(`'${t}': ${String(e)} is not a string, function or reference.`)},Dn=({fn:e,argv:t},n)=>{const r=Array(t.length);for(let e=0;e<r.length;++e){const i=t[e];r[e]="boolean"==typeof i||"number"==typeof i?i:Nn.evaluateExpression(i,"arg",n)}const i=e.indexOf(".");if(-1!==i){const t=xn[e.slice(0,i)],n=t?.[e.slice(i+1)];if("function"==typeof n)return n(...r)}const o=Mn[e];if("function"==typeof o)return o(...r);throw new Error(`function ${e} not loaded in endpointFunctions.`)},Nn={evaluateExpression:Rn,callFunction:Dn},jn=(e,t)=>{const{assign:n}=e;if(n&&n in t.referenceRecord)throw new Cn(`'${n}' is already defined in Reference Record.`);const r=Dn(e,t);t.logger?.debug?.(`endpoints evaluateCondition: ${An(e)} = ${An(r)}`);const i=""===r||!!r;return null!=n?{result:i,toAssign:{name:n,value:r}}:{result:i}},Fn=(e,t)=>Object.entries(e??{}).reduce((e,[n,r])=>(e[n]=r.map(e=>{const r=Rn(e,"Header value entry",t);if("string"!=typeof r)throw new Cn(`Header '${n}' value '${r}' is not a string`);return r}),e),{}),Ln=(e,t)=>Object.entries(e).reduce((e,[n,r])=>(e[n]=zn.getEndpointProperty(r,t),e),{}),Bn=(e,t)=>{if(Array.isArray(e))return e.map(e=>Bn(e,t));switch(typeof e){case"string":return In(e,t);case"object":if(null===e)throw new Cn(`Unexpected endpoint property: ${e}`);return zn.getEndpointProperties(e,t);case"boolean":return e;default:throw new Cn("Unexpected endpoint property type: "+typeof e)}},zn={getEndpointProperty:Bn,getEndpointProperties:Ln},Vn=(e,t)=>{const n=Rn(e,"Endpoint URL",t);if("string"==typeof n)try{return new URL(n)}catch(e){throw console.error(`Failed to construct URL with ${n}`,e),e}throw new Cn("Endpoint URL must be a string, got "+typeof n)},Un=1e8;class $n{nodes;root;conditions;results;constructor(e,t,n,r){this.nodes=e,this.root=t,this.conditions=n,this.results=r}static from(e,t,n,r){return new $n(e,t,n,r)}}const Hn="ref",qn="argv",Wn="backend",Gn="authSchemes",Kn="disableDoubleEncoding",Qn="signingName",Jn="signingRegion",Xn="signingRegionSet",Yn=-1,Zn=!0,er=!1,tr="isSet",nr="booleanEquals",rr="stringEquals",ir="coalesce",or="substring",ar="",sr="aws.partition",cr="partitionResult",lr="accessPointSuffix",ur="regionPrefix",fr=e=>"outpostId_ssa_"+e+ar,dr="hardwareType",hr="ite",pr="isValidHostLabel",mr="sigv4",yr="aws.isVirtualHostableS3Bucket",gr="getAttr",vr="bucketArn",br="--",wr="arnType",xr="accesspoint",Sr=e=>"accessPointName_ssa_"+e+ar,kr="s3-object-lambda",Er="s3-outposts",_r="bucketPartition",Cr="us-east-1",Ar="outpostType",Tr="name",Pr="s3",Or="{url#scheme}://{Bucket}.{url#authority}{url#path}",Mr="{url#scheme}://{url#authority}{url#path}",Ir="{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",Rr="https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",Dr="https://{Bucket}.s3.{partitionResult#dnsSuffix}",Nr=e=>"{url#scheme}://{accessPointName_ssa_"+e+"}-{bucketArn#accountId}.{url#authority}{url#path}",jr=e=>"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName_ssa_"+e+"}`",Fr="sigv4a",Lr="{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",Br="https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",zr="https://s3.{partitionResult#dnsSuffix}",Vr={[Hn]:"UseFIPS"},Ur={[Hn]:"UseDualStack"},$r={[Hn]:"Bucket"},Hr={fn:gr,[qn]:[{[Hn]:cr},Tr]},qr={[Hn]:"url"},Wr={[Hn]:"Region"},Gr={[Hn]:vr},Kr={[Hn]:wr},Qr={[Hn]:"accessPointName_ssa_1"}
2,Jr={fn:gr,[qn]:[Gr,"region"]},Xr={[Hn]:dr},Yr={fn:gr,[qn]:[Gr,"service"]},Zr={fn:gr,[qn]:[Gr,"accountId"]},ei={[Wn]:"S3Express",[Gn]:[{[Kn]:!0,[Tr]:"{_s3e_auth}",[Qn]:"s3express",[Jn]:"{Region}"}]},ti={[Wn]:"S3Express",[Gn]:[{[Kn]:!0,[Tr]:mr,[Qn]:"s3express",[Jn]:"{Region}"}]},ni={[Gn]:[{[Kn]:!0,[Tr]:Fr,[Qn]:Er,[Xn]:["*"]},{[Kn]:!0,[Tr]:mr,[Qn]:Er,[Jn]:"{Region}"}]},ri={[Gn]:[{[Kn]:!0,[Tr]:mr,[Qn]:Pr,[Jn]:Cr}]},ii={[Gn]:[{[Kn]:!0,[Tr]:mr,[Qn]:Pr,[Jn]:"{Region}"}]},oi={[Gn]:[{[Kn]:!0,[Tr]:mr,[Qn]:kr,[Jn]:"{bucketArn#region}"}]},ai={[Gn]:[{[Kn]:!0,[Tr]:mr,[Qn]:Pr,[Jn]:"{bucketArn#region}"}]},si={[Gn]:[{[Kn]:!0,[Tr]:Fr,[Qn]:Er,[Xn]:["*"]},{[Kn]:!0,[Tr]:mr,[Qn]:Er,[Jn]:"{bucketArn#region}"}]},ci={[Gn]:[{[Kn]:!0,[Tr]:mr,[Qn]:kr,[Jn]:"{Region}"}]},li=[Wr],ui=[{[Hn]:"Endpoint"}],fi=[$r],di=[$r,0,7,!0],hi=[Gr,"resourceId[1]"],pi={conditions:[[tr,li],[nr,[{[Hn]:"Accelerate"},Zn]],[nr,[Vr,Zn]],[nr,[Ur,Zn]],[tr,ui],[tr,fi],[rr,[{fn:ir,[qn]:[{fn:or,[qn]:[$r,0,6,Zn]},ar]},"--x-s3"]],[rr,[{fn:ir,[qn]:[{fn:or,[qn]:di},ar]},"--xa-s3"]],[sr,li,cr],[or,di,lr],[rr,[{[Hn]:lr},"--op-s3"]],[or,[$r,8,12,Zn],ur],[or,[$r,32,49,Zn],fr(2)],[or,[$r,49,50,Zn],dr],[nr,[{[Hn]:"ForcePathStyle"},Zn]],[rr,[Hr,"aws-cn"]],[hr,[Ur,".dualstack",ar],"_s3e_ds"],[pr,[{[Hn]:fr(2)},er]],[hr,[Vr,"-fips",ar],"_s3e_fips"],[hr,[{fn:ir,[qn]:[{[Hn]:"DisableS3ExpressSessionAuth"},er]},mr,"sigv4-s3express"],"_s3e_auth"],[yr,[$r,er]],["parseURL",ui,"url"],[nr,[{fn:ir,[qn]:[{[Hn]:"UseS3ExpressControlEndpoint"},er]},Zn]],[yr,[$r,Zn]],[rr,[{fn:gr,[qn]:[qr,"scheme"]},"http"]],[pr,[Wr,er]],["aws.parseArn",fi,vr],[gr,[{fn:"split",[qn]:[$r,br,0]},"[-2]"],"s3expressAvailabilityZoneId"],[rr,[{fn:ir,[qn]:[{fn:or,[qn]:[$r,0,4,er]},ar]},"arn:"]],[rr,[{fn:ir,[qn]:[{fn:or,[qn]:[$r,16,18,Zn]},ar]},br]],[nr,[{fn:gr,[qn]:[qr,"isIp"]},Zn]],[rr,[{fn:ir,[qn]:[{fn:or,[qn]:[$r,21,23,Zn]},ar]},br]],[rr,[{fn:ir,[qn]:[{fn:or,[qn]:[$r,27,29,Zn]},ar]},br]],[rr,[{[Hn]:ur},"beta"]],["uriEncode",fi,"uri_encoded_bucket"],[pr,[Wr,Zn]],[nr,[{fn:ir,[qn]:[{[Hn]:"UseObjectLambdaEndpoint"},er]},Zn]],[gr,[Gr,"resourceId[0]"],wr],[rr,[Kr,ar]],[rr,[Kr,xr]],[gr,hi,Sr(1)],[rr,[Qr,ar]],[rr,[Jr,ar]],[rr,[{fn:ir,[qn]:[{fn:or,[qn]:[$r,14,16,Zn]},ar]},br]],[rr,[Xr,"e"]],[rr,[Xr,"o"]],[rr,[Wr,"aws-global"]],[rr,[{fn:ir,[qn]:[{fn:or,[qn]:[$r,19,21,Zn]},ar]},br]],[rr,[Yr,kr]],[nr,[{fn:ir,[qn]:[{[Hn]:"DisableAccessPoints"},er]},Zn]],[rr,[Yr,Er]],[sr,[Jr],_r],[pr,[Qr,Zn]],[rr,[{fn:ir,[qn]:[{fn:or,[qn]:[$r,26,28,Zn]},ar]},br]],[rr,[{fn:ir,[qn]:[{fn:or,[qn]:[$r,15,17,Zn]},ar]},br]],[gr,[Gr,"resourceId[4]"]],[rr,[{fn:ir,[qn]:[{fn:or,[qn]:[$r,20,22,Zn]},ar]},br]],[nr,[{[Hn]:"UseGlobalEndpoint"},Zn]],[rr,[Wr,Cr]],[gr,hi,fr(1)],[nr,[{fn:ir,[qn]:[{[Hn]:"UseArnRegion"},Zn]},Zn]],[pr,[{[Hn]:fr(1)},er]],[gr,[Gr,"resourceId[2]"],Ar],[rr,[Wr,Jr]],[rr,[{fn:gr,[qn]:[{[Hn]:_r},Tr]},Hr]],[nr,[{[Hn]:"DisableMultiRegionAccessPoints"},Zn]],[pr,[Jr,Zn]],[rr,[{fn:gr,[qn]:[Gr,"partition"]},Hr]],[rr,[Zr,ar]],[rr,[Yr,Pr]],[pr,[Zr,er]],[gr,[Gr,"resourceId[3]"],Sr(2)],[pr,[Qr,er]],[rr,[{[Hn]:Ar},xr]],[pr,[{[Hn]:Sr(2)},er]]],results:[[Yn],[Yn,"Accelerate cannot be used with FIPS"],[Yn,"Cannot set dual-stack in combination with a custom endpoint."],[Yn,"A custom endpoint cannot be combined with FIPS"],[Yn,"A custom endpoint cannot be combined with S3 Accelerate"],[Yn,"Partition does not support FIPS"],[Yn,"S3Express does not support S3 Accelerate."],["{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",ei],[Or,ei],[Yn,"S3Express bucket name is not a valid virtual hostable name."],["https://s3express-control{_s3e_fips}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",ti],["https://{Bucket}.s3express{_s3e_fips}-{s3expressAvailabilityZoneId}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}",ei],[Yn,"Unrecognized S3Express bucket name format."],[Mr,ei],["https://s3express-control{_s3e_fips}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}",ti],[Yn,"Expected a endpoint to be specified but no endpoint was found"],["https://{Bucket}.ec2.{url#authority}",ni],["https://{Bucket}.ec2.s3-outposts.{Region}.{partitionResult#dnsSuffix}",ni],["https://{Bucket}.op-{outpostId_ssa_2}.{url#authority}",ni],["https://{Bucket}.op-{outpostId_ssa_2}.s3-outposts.{Region}.{partitionResult#dnsSuffix}",ni],[Yn,'Unrecognized hardware type: "Expected hardware type o or e but got {hardwareType}"'],[Yn,"Invalid Outposts Bucket alias - it must be a valid bucket name."],[Yn,"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`."],[Yn,"Custom endpoint `{Endpoint}` was not a valid URI"],[Yn,"S3 Accelerate cannot be used in this region"],["https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",ri],["https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",ii],["https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}",ri],["https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}",ii],["https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}",ri],["https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}",ii],["https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",ri],["https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}",ii],[Ir,ri],[Or,ri],[Ir,ii],[Or,ii],[Rr,ri],[Rr,ii],[Dr,ri],[Dr,ii],["https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}",ii],[Yn,"Invalid region: region was not a valid DNS name."],[Yn,"S3 Object Lambda does not support Dual-stack"],[Yn,"S3 Object Lambda does not support S3 Accelerate"],[Yn,"Access points are not supported for this operation"],[Yn,"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`"],[Yn,"Invalid ARN: Missing account id"],[Nr(1),oi],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",oi],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}",oi],[Yn,jr(1)],[Yn,"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`"],[Yn,"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)"],[Yn,"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`"],[Yn,"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`."],[Yn,"Invalid ARN: bucket ARN is missing a regi
2on"],[Yn,"Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided"],[Yn,"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`"],[Yn,"Access Points do not support S3 Accelerate"],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",ai],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",ai],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",ai],[Nr(1),ai],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}",ai],[Yn,"Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}"],[Yn,"S3 MRAP does not support dual-stack"],[Yn,"S3 MRAP does not support FIPS"],[Yn,"S3 MRAP does not support S3 Accelerate"],[Yn,"Invalid configuration: Multi-Region Access Point ARNs are disabled."],["https://{accessPointName_ssa_1}.accesspoint.s3-global.{partitionResult#dnsSuffix}",{[Gn]:[{[Kn]:Zn,name:Fr,[Qn]:Pr,[Xn]:["*"]}]}],[Yn,"Client was configured for partition `{partitionResult#name}` but bucket referred to partition `{bucketArn#partition}`"],[Yn,"Invalid Access Point Name"],[Yn,"S3 Outposts does not support Dual-stack"],[Yn,"S3 Outposts does not support FIPS"],[Yn,"S3 Outposts does not support S3 Accelerate"],[Yn,"Invalid Arn: Outpost Access Point ARN contains sub resources"],["https://{accessPointName_ssa_2}-{bucketArn#accountId}.{outpostId_ssa_1}.{url#authority}",si],["https://{accessPointName_ssa_2}-{bucketArn#accountId}.{outpostId_ssa_1}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}",si],[Yn,jr(2)],[Yn,"Expected an outpost type `accesspoint`, found {outpostType}"],[Yn,"Invalid ARN: expected an access point name"],[Yn,"Invalid ARN: Expected a 4-component resource"],[Yn,"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId_ssa_1}`"],[Yn,"Invalid ARN: The Outpost Id was not set"],[Yn,"Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})"],[Yn,"Invalid ARN: No ARN type specified"],[Yn,"Invalid ARN: `{Bucket}` was not a valid ARN"],[Yn,"Path-style addressing cannot be used with ARN buckets"],["https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",ri],["https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",ii],["https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",ri],["https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",ii],["https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",ri],["https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",ii],[Lr,ri],[Lr,ii],[Br,ri],[Br,ii],["https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",ii],[Yn,"Path-style addressing cannot be used with S3 Accelerate"],[Mr,ci],["https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}",ci],["https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}",ci],["https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",ri],["https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",ii],["https://s3-fips.us-east-1.{partitionResult#dnsSuffix}",ri],["https://s3-fips.{Region}.{partitionResult#dnsSuffix}",ii],["https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",ri],["https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}",ii],[Mr,ri],[Mr,ii],[zr,ri],[zr,ii],["https://s3.{Region}.{partitionResult#dnsSuffix}",ii],[Yn,"A region must be set when sending requests to S3."]]},mi=1e8,yi=new Int32Array([-1,1,-1,0,3,mi+115,1,424,4,2,272,5,3,233,6,4,85,7,5,15,8,8,9,mi+115,16,10,13,18,11,13,19,12,13,22,mi+14,13,35,14,mi+42,36,mi+103,435,6,271,16,7,270,17,8,19,18,14,501,106,9,20,24,10,21,24,11,22,24,12,23,24,13,547,24,14,77,25,20,73,26,26,27,78,37,28,mi+86,38,mi+86,29,39,47,30,48,mi+58,31,50,32,mi+85,51,33,136,55,mi+76,34,59,35,mi+84,60,39,36,61,37,mi+83,62,38,146,63,41,mi+46,61,40,mi+83,62,41,150,64,42,mi+54,66,43,mi+53,70,44,mi+52,71,45,mi+81,73,46,mi+80,74,mi+78,mi+79,40,48,mi+57,41,mi+57,49,42,185,50,48,62,51,49,mi+45,52,51,53,526,60,56,54,62,mi+55,55,63,57,mi+46,62,mi+55,57,64,58,mi+54,66,59,mi+53,69,60,mi+65,70,61,mi+52,72,mi+64,mi+51,49,mi+45,63,51,64,526,60,67,65,62,mi+55,66,63,68,mi+46,62,mi+55,68,64,69,mi+54,66,70,mi+53,68,mi+47,71,70,72,mi+52,72,mi+50,mi+51,25,74,mi+42,46,mi+39,75,57,76,mi+41,58,mi+40,mi+41,26,mi+88,78,28,mi+87,79,34,82,80,35,81,545,36,mi+103,mi+115,46,mi+97,83,57,84,mi+99,58,mi+98,mi+99,5,101,86,8,87,mi+115,16,88,89,18,91,89,19,90,92,21,97,95,19,93,92,21,98,95,21,97,94,22,mi+14,95,35,96,mi+42,36,mi+103,mi+42,22,mi+13,98,35,99,mi+42,36,mi+101,100,46,mi+110,mi+111,6,214,102,7,208,103,8,119,104,14,118,105,21,106,mi+23,26,107,502,37,108,mi+86,38,mi+86,109,39,112,110,48,mi+58,111,50,
2136,mi+85,40,113,mi+57,41,mi+57,114,42,115,500,48,mi+56,116,52,117,mi+72,65,mi+69,mi+72,21,501,mi+23,9,120,124,10,121,124,11,122,124,12,123,124,13,202,124,14,195,125,20,190,126,21,127,mi+23,23,128,129,24,189,129,26,130,197,37,131,mi+86,38,mi+86,132,39,159,133,48,mi+58,134,50,135,mi+85,51,141,136,55,mi+76,137,59,138,mi+84,60,mi+83,139,61,140,mi+83,63,mi+83,mi+46,55,mi+76,142,59,143,mi+84,60,148,144,61,145,mi+83,62,147,146,63,150,mi+46,63,153,mi+46,61,149,mi+83,62,153,150,64,151,mi+54,66,152,mi+53,70,mi+82,mi+52,64,154,mi+54,66,155,mi+53,70,156,mi+52,71,157,mi+81,73,158,mi+80,74,mi+77,mi+79,40,160,mi+57,41,mi+57,161,42,185,162,48,174,163,49,mi+45,164,51,165,526,60,168,166,62,mi+55,167,63,169,mi+46,62,mi+55,169,64,170,mi+54,66,171,mi+53,69,172,mi+65,70,173,mi+52,72,mi+63,mi+51,49,mi+45,175,51,176,526,60,179,177,62,mi+55,178,63,180,mi+46,62,mi+55,180,64,181,mi+54,66,182,mi+53,68,mi+47,183,70,184,mi+52,72,mi+48,mi+51,48,mi+56,186,52,187,mi+72,65,mi+69,188,67,mi+70,mi+71,25,mi+36,mi+42,21,191,mi+23,25,192,mi+42,30,194,193,46,mi+34,mi+36,46,mi+33,mi+35,21,196,mi+23,26,mi+88,197,28,mi+87,198,34,201,199,35,200,545,36,mi+101,mi+115,46,mi+95,mi+96,17,203,mi+22,20,204,mi+21,21,205,550,33,206,550,44,mi+16,207,45,mi+18,mi+20,8,209,215,16,210,220,18,211,220,19,212,224,20,213,227,21,231,401,8,218,215,19,216,mi+9,20,217,227,21,231,mi+9,16,219,220,18,223,220,19,221,224,20,222,227,21,231,mi+12,19,226,224,20,225,mi+9,21,mi+9,mi+12,20,230,227,21,228,mi+9,30,229,mi+9,34,mi+7,mi+9,21,231,415,30,232,mi+8,34,mi+7,mi+8,4,mi+2,234,5,235,480,6,271,236,7,270,237,8,238,491,9,239,243,10,240,243,11,241,243,12,242,243,13,547,243,14,266,244,20,264,245,26,246,267,37,247,mi+86,38,mi+86,248,39,249,518,40,250,mi+57,41,mi+57,251,42,538,252,48,mi+43,253,49,mi+45,254,51,255,526,60,258,256,62,mi+55,257,63,259,mi+46,62,mi+55,259,64,260,mi+54,66,261,mi+53,69,262,mi+65,70,263,mi+52,72,mi+62,mi+51,25,265,mi+42,46,mi+31,mi+32,26,mi+88,267,28,mi+87,268,34,269,544,46,mi+93,mi+94,8,397,mi+9,8,407,mi+9,3,346,273,4,mi+3,274,5,284,275,8,276,mi+115,15,mi+5,277,16,278,281,18,279,281,19,280,281,22,mi+14,281,35,282,mi+42,36,mi+102,283,46,mi+106,mi+107,6,405,285,7,395,286,8,295,287,14,501,288,26,289,502,37,290,mi+86,38,mi+86,291,39,292,307,40,293,mi+57,41,mi+57,294,42,335,500,9,296,300,10,297,300,11,298,300,12,299,300,13,394,300,14,339,301,15,mi+5,302,20,337,303,26,304,341,37,305,mi+86,38,mi+86,306,39,309,307,48,mi+58,308,50,mi+74,mi+85,40,310,mi+57,41,mi+57,311,42,335,312,48,324,313,49,mi+45,314,51,315,526,60,318,316,62,mi+55,317,63,319,mi+46,62,mi+55,319,64,320,mi+54,66,321,mi+53,69,322,mi+65,70,323,mi+52,72,mi+61,mi+51,49,mi+45,325,51,326,526,60,329,327,62,mi+55,328,63,330,mi+46,62,mi+55,330,64,331,mi+54,66,332,mi+53,68,mi+47,333,70,334,mi+52,72,mi+49,mi+51,48,mi+56,336,52,mi+67,mi+72,25,338,mi+42,46,mi+27,mi+28,15,mi+5,340,26,mi+88,341,28,mi+87,342,34,345,343,35,344,545,36,mi+102,mi+115,46,mi+91,mi+92,4,mi+2,347,5,357,348,8,349,mi+115,15,mi+5,350,16,351,354,18,352,354,19,353,354,22,mi+14,354,35,355,mi+42,36,mi+43,356,46,mi+104,mi+105,6,405,358,7,395,359,8,360,491,9,361,365,10,362,365,11,363,365,12,364,365,13,394,365,14,389,366,15,mi+5,367,20,387,368,26,369,391,37,370,mi+86,38,mi+86,371,39,372,518,40,373,mi+57,41,mi+57,374,42,538,375,48,mi+43,376,49,mi+45,377,51,378,526,60,381,379,62,mi+55,380,63,382,mi+46,62,mi+55,382,64,383,mi+54,66,384,mi+53,69,385,mi+65,70,386,mi+52,72,mi+60,mi+51,25,388,mi+42,46,mi+25,mi+26,15,mi+5,390,26,mi+88,391,28,mi+87,392,34,393,544,46,mi+89,mi+90,15,mi+5,547,8,396,mi+9,15,mi+5,397,16,398,410,18,399,410,19,400,410,20,401,mi+9,27,402,mi+12,29,mi+11,403,31,mi+11,404,32,mi+11,422,8,406,mi+9,15,mi+5,407,16,408,410,18,409,410,19,411,410,20,mi+12,mi+9,20,414,412,22,413,mi+9,34,mi+10,mi+9,22,416,415,27,419,mi+12,27,418,417,34,mi+10,mi+12,34,mi+10,419,43,mi+11,420,47,mi+11,421,53,mi+11,422,54,mi+11,423,56,mi+11,mi+12,2,mi+1,425,3,478,426,4,mi+4,427,5,438,428,8,429,mi+115,16,430,433,18,431,433,19,432,433,22,mi+14,433,35,434,mi+42,36,mi+44,435,46,mi+112,436,57,437,mi+114,58,mi+113,mi+114,6,mi+6,439,7,mi+6,440,8,450,441,14,501,442,26,443,502,37,444,mi+86,38,mi+86,445,39,446,465,40,447,mi+57,41,mi+57,448,42,471,449,48,mi+44,500,9,451,455,10,452,455,11,453,455,12,454,455,13,547,455,14,473,456,15,460,457,20,458,461,25,459,mi+42,46,mi+37,mi+38,20,540,461,26,462,474,37,463,mi+86,38,mi+86,464,39,467,465,48,mi+58,466,50,mi+75,mi+85,40,468,mi+57,41,mi+57,469,42,471,470,48,mi+44,524,48,mi+44,472,52,mi+68,mi+72,26,mi+88,474,28,mi+87,475,34,mi+100,476,35,477,545,36,mi+44,mi+115,4,mi+2,479,5,488,480,8,481,mi+115,16,482,485,18,483,485,19,484,485,22,mi+14,485,35,486,mi+42,36,mi+43,487,46,mi+108,mi+109,6,mi+6,489,7,mi+6,490,8,503,491,14,501,492,26,493,502,37,494,mi+86,38,mi+86,495,39,496,518,40,497,mi+57,41,mi+57,498,42,538,499,48,mi+43,500,49,mi+45,526,26,mi+88,502,28,mi+87,mi+115,9,504,508,10,505,508,11,506,508,12,507,508,13,547,508,14,541,509,15,513,510,20,511,514,25,512,mi+42,46,mi+29,mi+30,20,540,514,26,515,542,37,516,mi+86,38,mi+86,517,39,520,518,48,mi+58,519,50,mi+73,mi+85,40,521,mi+57,41,mi+57,522,42,538,523,48,mi+43,524,49,mi+45,525,51,529,526,60,mi+55,527,62,mi+55,528,63,mi+55,mi+46,60,532,530,62,mi+55,531,63,533,mi+46,62,mi+55,533,64,534,mi+54,66,535,mi+53,69,536,mi+65,70,537,mi+52,72,mi+59,mi+51,48,mi+43,539,52,mi+66,mi+72,25,mi+24,mi+42,26,mi+88,542,28,mi+87,543,34,mi+100,544,35,546,545,36,mi+42,mi+115,36,mi+43,mi+115,17,548,mi+22,20,549,mi+21,33,552,550,44,mi+17,551,45,mi+19,mi+20,44,mi+15,553,45,mi+15,mi+20]),gi=$n.from(yi,2,pi.conditions,pi.results),vi=new class{capacity;data=new Map;parameters=[];constructor({size:e,params:t}){this.capacity=e??50,t&&(this.parameters=t)}get(e,t){const n=this.hash(e);if(!1===n)return t();if(!this.data.has(n)){if(this.data.size>this.capacity+10){const e=this.data.keys();let t=0;for(;;){const{value:n,done:r}=e.next();if(this.data.delete(n),r||++t>10)break}}this.data.set(n,t())}return this.data.get(n)}size(){return this.data.size}hash(e){let t="";const{parameters:n}=this;if(0===n.length)return!1;for(const r of n){const n=String(e[r]??"");if(n.includes("|;"))return!1;t+=n+"|;"}return t}}({size:50,params:["Accelerate","Bucket","DisableAccessPoints","DisableMultiRegionAccessPoints","DisableS3ExpressSessionAuth","Endpoint","ForcePathStyle","Region","UseArnRegion","UseDualStack","UseFIPS","UseGlobalEndpoint","UseObjectLambdaEndpoint","UseS3ExpressControlEndpoint"]}),bi=(e,t={})=>vi.get(e,()=>((e,t)=>{const{nodes:n,root:r,results:i,conditions:o}=e;let a=r;const s={},c={referenceRecord:s,endpointParams:t.endpointParams,logger:t.logger};for(;1!==a&&-1!==a&&a<Un;){const e=3*(Math.abs(a)-1),[t,r,i]=[n[e],n[e+1],n[e+2]],[l,u,f]=o[t],d=jn({fn:l,assign:f,argv:u},c);if(d.toAssign){const{name:e,value:t}=d.toAssign;s[e]=t}a=a>=0===d.result?r:i}if(a>=Un){const e=i[a-Un];if(-1===e[0]){const[,t]=e;throw new Cn(Rn(t,"Error",c))}const[t,n,r]=e;return{url:Vn(t,c),properties:Ln(n,c),headers:Fn(r??{},c)}}throw new Cn("No matching endpoint.")})(gi,{endpointParams:e,logger:t.logger}));xn.aws=_n;const wi=(xi=async(e,t,n)=>({operation:z(t).operation,region:await o(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),async(e,t,n)=>{if(!n)throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");const r=await xi(e,t),i=z(t)?.commandInstance?.constructor?.getEndpointParameterInstru
2ctions;if(!i)throw new Error(`getEndpointParameterInstructions() is not defined on '${t.commandName}'`);const o=await de(n,{getEndpointParameterInstructions:i},e);return Object.assign(r,o)});var xi;function Si(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"s3",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}function ki(e){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"s3",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}const Ei=((e,t,n)=>t=>{const r=e(t),i=r.properties?.authSchemes;if(!i)return(e=>{const t=[];return e.operation,t.push(Si(e)),t.push(ki(e)),t})(t);const o=[];for(const e of i){const{name:r,properties:a={},...s}=e,c=r.toLowerCase();let l;if(r!==c&&console.warn(`HttpAuthScheme has been normalized with lowercasing: '${r}' to '${c}'`),"sigv4a"===c){l="aws.auth#sigv4a";const e=i.find(e=>{const t=e.name.toLowerCase();return"sigv4a"!==t&&t.startsWith("sigv4")});if("none"===wn.sigv4aDependency()&&e)continue}else{if(!c.startsWith("sigv4"))throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${c}'`);l="aws.auth#sigv4"}const u=n[l];if(!u)throw new Error(`Could not find HttpAuthOption create function for '${l}'`);const f=u(t);f.schemeId=l,f.signingProperties={...f.signingProperties||{},...s,...a},o.push(f)}return o})(bi,0,{"aws.auth#sigv4":Si,"aws.auth#sigv4a":ki}),_i={name:"flexibleChecksumsInputMiddleware",toMiddleware:"serializerMiddleware",relation:"before",tags:["BODY_CHECKSUM"],override:!0};class Ci{allocByteArray;byteLength=0;byteArrays=[];constructor(e){this.allocByteArray=e}push(e){this.byteArrays.push(e),this.byteLength+=e.byteLength}flush(){if(1===this.byteArrays.length){const e=this.byteArrays[0];return this.reset(),e}const e=this.allocByteArray(this.byteLength);let t=0;for(let n=0;n<this.byteArrays.length;++n){const r=this.byteArrays[n];e.set(r,t),t+=r.byteLength}return this.reset(),e}reset(){this.byteArrays=[],this.byteLength=0}}function Ai(e,t){switch(t){case 0:const n=e[0];return e[0]="",n;case 1:case 2:return e[t].flush()}throw new Error(`@smithy/util-stream - invalid index ${t} given to flush()`)}function Ti(e){return e?.byteLength??e?.length??0}const Pi=e=>e===u.MD5?"content-md5":`x-amz-checksum-${e.toLowerCase()}`,Oi=e=>void 0!==e&&"string"!=typeof e&&!ArrayBuffer.isView(e)&&!ln(e);var Mi=n(72509);const Ii=new Uint32Array(256);for(let e=0;e<256;++e){let t=e;for(let e=0;e<8;++e)t=1&t?2197175160^t>>>1:t>>>1;Ii[e]=t>>>0}class Ri{digestLength=4;crc=4294967295;update(e){let t=this.crc;for(let n=0;n<e.length;++n)t=t>>>8^Ii[255&(t^e[n])];this.crc=t}async digest(){const e=(4294967295^this.crc)>>>0,t=new Uint8Array(4);return t[0]=e>>>24,t[1]=e>>>16&255,t[2]=e>>>8&255,t[3]=255&e,t}reset(){this.crc=4294967295}}let Di,Ni,ji,Fi,Li,Bi,zi,Vi,Ui;class $i{c1=0;c2=0;constructor(){Di||(Di=(()=>{const e=new Array(8);for(let t=0;t<8;t++){const n=new Array(512);for(let e=0;e<256;e++){let r=BigInt(e);for(let e=0;e<8*(t+1);e++)1n&r?r=r>>1n^0x9a6c9329ac4bc9b5n:r>>=1n;n[2*e]=Number(r>>32n&0xffffffffn),n[2*e+1]=Number(0xffffffffn&r)}e[t]=new Uint32Array(n)}return e})(),[Ni,ji,Fi,Li,Bi,zi,Vi,Ui]=Di),this.reset()}update(e){const t=e.length;let n=0,r=this.c1,i=this.c2;for(;n+8<=t;){const t=(255&(i^e[n++]))<<1,o=(255&(i>>>8^e[n++]))<<1,a=(255&(i>>>16^e[n++]))<<1,s=(255&(i>>>24^e[n++]))<<1,c=(255&(r^e[n++]))<<1,l=(255&(r>>>8^e[n++]))<<1,u=(255&(r>>>16^e[n++]))<<1,f=(255&(r>>>24^e[n++]))<<1;r=Ui[t]^Vi[o]^zi[a]^Bi[s]^Li[c]^Fi[l]^ji[u]^Ni[f],i=Ui[t+1]^Vi[o+1]^zi[a+1]^Bi[s+1]^Li[c+1]^Fi[l+1]^ji[u+1]^Ni[f+1]}for(;n<t;){const t=(255&(i^e[n]))<<1;i=(i>>>8|(255&r)<<24)>>>0,r=r>>>8^Ni[t],i^=Ni[t+1],++n}this.c1=r,this.c2=i}async digest(){const e=4294967295^this.c1,t=4294967295^this.c2;return new Uint8Array([e>>>24,e>>>16&255,e>>>8&255,255&e,t>>>24,t>>>16&255,t>>>8&255,255&t])}reset(){this.c1=4294967295,this.c2=4294967295}}const Hi=[u.CRC32,u.CRC32C,u.CRC64NVME,u.SHA1,u.SHA256],qi=[u.SHA256,u.SHA1,u.CRC32,u.CRC32C,u.CRC64NVME],Wi=(e,t)=>{const{checksumAlgorithms:n={}}=t;switch(e){case u.MD5:return n?.MD5??t.md5;case u.CRC32:return n?.CRC32??Mi.v;case u.CRC32C:return n?.CRC32C??Ri;case u.CRC64NVME:return n?.CRC64NVME??$i;case u.SHA1:return n?.SHA1??t.sha1;case u.SHA256:return n?.SHA256??t.sha256;default:if(n?.[e])return n[e];throw new Error(`The checksum algorithm "${e}" is not supported by the client. Select one of ${Hi}, or provide an implementation to the client constructor checksums field.`)}},Gi=(e,t)=>{const n=new e;return n.update(Rt(t||"")),n.digest()},Ki={name:"flexibleChecksumsMiddleware",step:"build",tags:["BODY_CHECKSUM"],override:!0},Qi=(e,t)=>(n,r)=>async i=>{if(!p.isInstance(i.request))return n(i);if(((e,t)=>{const n="x-amz-checksum-".toLowerCase();for(const e of Object.keys(t))if(e.toLowerCase().startsWith(n))return!0;return!1})(0,i.request.headers))return n(i);
2const{request:o,input:s}=i,{body:c,headers:l}=o,{base64Encoder:f,streamHasher:h}=e,{requestChecksumRequired:m,requestAlgorithmMember:y}=t,g=await e.requestChecksumCalculation(),v=y?.name,b=y?.httpHeader;v&&!s[v]&&(g===a||m)&&(s[v]=d,b&&(l[b]=d));const x=((e,{requestChecksumRequired:t,requestAlgorithmMember:n,requestChecksumCalculation:r})=>n?e[n]?e[n]:void 0:r===a||t?d:void 0)(s,{requestChecksumRequired:m,requestAlgorithmMember:y?.name,requestChecksumCalculation:g});let S=c,k=l;if(x){switch(x){case u.CRC32:w(r,"FLEXIBLE_CHECKSUMS_REQ_CRC32","U");break;case u.CRC32C:w(r,"FLEXIBLE_CHECKSUMS_REQ_CRC32C","V");break;case u.CRC64NVME:w(r,"FLEXIBLE_CHECKSUMS_REQ_CRC64","W");break;case u.SHA1:w(r,"FLEXIBLE_CHECKSUMS_REQ_SHA1","X");break;case u.SHA256:w(r,"FLEXIBLE_CHECKSUMS_REQ_SHA256","Y")}const t=Pi(x),n=Wi(x,e);if(Oi(c)){const{getAwsChunkedEncodingStream:i,bodyLengthChecker:o}=e;S=i("number"==typeof e.requestStreamBufferSize&&e.requestStreamBufferSize>=8192?function(e,t,n){const r=e.getReader();let i=!1,o=0;const a=["",new Ci(e=>new Uint8Array(e))];let s=-1;const c=async e=>{const{value:l,done:u}=await r.read(),f=l;if(u){if(-1!==s){const t=Ai(a,s);Ti(t)>0&&e.enqueue(t)}e.close()}else{const r=function(e,t=!0){return t&&"undefined"!=typeof Buffer&&e instanceof Buffer?2:e instanceof Uint8Array?1:"string"==typeof e?0:-1}(f,!1);if(s!==r&&(s>=0&&e.enqueue(Ai(a,s)),s=r),-1===s)return void e.enqueue(f);const l=Ti(f);o+=l;const u=Ti(a[s]);if(l>=t&&0===u)e.enqueue(f);else{const r=function(e,t,n){switch(t){case 0:return e[0]+=n,Ti(e[0]);case 1:case 2:return e[t].push(n),Ti(e[t])}}(a,s,f);!i&&o>2*t&&(i=!0,n?.warn(`@smithy/util-stream - stream chunk size ${l} is below threshold of ${t}, automatically buffering.`)),r>=t?e.enqueue(Ai(a,s)):await c(e)}}};return new ReadableStream({pull:c})}(c,e.requestStreamBufferSize,r.logger):c,{base64Encoder:f,bodyLengthChecker:o,checksumLocationName:t,checksumAlgorithmFn:n,streamHasher:h}),k={...l,"content-encoding":l["content-encoding"]?`${l["content-encoding"]},aws-chunked`:"aws-chunked","transfer-encoding":"chunked","x-amz-decoded-content-length":l["content-length"],"x-amz-content-sha256":"STREAMING-UNSIGNED-PAYLOAD-TRAILER","x-amz-trailer":t},delete k["content-length"]}else if(!((e,t)=>{const n=e.toLowerCase();for(const e of Object.keys(t))if(n===e.toLowerCase())return!0;return!1})(t,l)){const e=await Gi(n,c);k={...l,[t]:f(e)}}}try{return await n({...i,request:{...o,headers:k,body:S}})}catch(e){if(e instanceof Error&&"InvalidChunkSizeError"===e.name)try{e.message.endsWith(".")||(e.message+="."),e.message+=" Set [requestStreamBufferSize=number e.g. 65_536] in client constructor to instruct AWS SDK to buffer your input stream."}catch(e){}throw e}},Ji=(e=[])=>{const t=[];let n=qi.length;for(const r of e){const e=qi.indexOf(r);-1!==e?t[e]=r:t[n++]=r}return t.filter(Boolean)},Xi=e=>"function"==typeof ReadableStream&&(e?.constructor?.name===ReadableStream.name||e instanceof ReadableStream),Yi="function"==typeof ReadableStream?ReadableStream:function(){};class Zi extends Yi{}const eo=({expectedChecksum:e,checksum:t,source:n,checksumSourceLocation:r,base64Encoder:i})=>{if(!Xi(n))throw new Error(`@smithy/util-stream: unsupported source type ${n?.constructor?.name??n} in ChecksumStream.`);const o=i??Le;if("function"!=typeof TransformStream)throw new Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream.");const a=new TransformStream({start(){},async transform(e,n){t.update(e),n.enqueue(e)},async flush(n){const i=await t.digest(),a=o(i);if(e!==a){const t=new Error(`Checksum mismatch: expected "${e}" but received "${a}" in response header "${r}".`);n.error(t)}else n.terminate()}});n.pipeThrough(a);const s=a.readable;return Object.setPrototypeOf(s,Zi.prototype),s},to=async(e,{checksumAlgorithmFn:t,base64Encoder:n})=>n(await Gi(t,e)),no={name:"flexibleChecksumsResponseMiddleware",toMiddleware:"deserializerMiddleware",relation:"after",tags:["BODY_CHECKSUM"],override:!0},ro=(e,t)=>({applyToStack:n=>{n.add(Qi(e,t),Ki),n.addRelativeTo(((e,t)=>(n,r)=>async i=>{const o=i.input,{requestValidationModeMember:s}=t,l=await e.requestChecksumCalculation(),u=await e.responseChecksumValidation();switch(l){case"WHEN_REQUIRED":w(r,"FLEXIBLE_CHECKSUMS_REQ_WHEN_REQUIRED","a");break;case a:w(r,"FLEXIBLE_CHECKSUMS_REQ_WHEN_SUPPORTED","Z")}switch(u){case"WHEN_REQUIRED":w(r,"FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED","c");break;case c:w(r,"FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED","b")}return s&&!o[s]&&u===c&&(o[s]="ENABLED"),n(i)})(e,t),_i),n.addRelativeTo(((e,t)=>(n,r)=>async i=>{if(!p.isInstance(i.request))return n(i);const o=i.input,a=await n(i),s=a.response,{requestValidationModeMember:c,responseAlgorithms:l}=t;if(c&&"ENABLED"===o[c]){const{clientName:t,commandName:n}=r,i=Object.keys(e.checksumAlgorithms??{}).filter(e=>{const t=Pi(e);return void 0!==s.headers[t]}),o=Ji([...l??[],...i]);if("S3Client"===t&&"GetObjectCommand"===n&&o.every(e=>{const t=Pi(e),n=s.headers[t];return!n||(e=>{const t=e.lastIndexOf("-");if(-1!==t){const n=e.slice(t+1);if(!n.startsWith("0")){const e=parseInt(n,10);if(!isNaN(e)&&e>=1&&e<=1e4)return!0}}return!1})(n)}))return a;await(async(e,{config:t,responseAlgorithms:n,logger:r})=>{const i=Ji(n),{body:o,headers:a}=e;for(const n of i){const i=Pi(n),s=a[i];if(s){let a;try{a=Wi(n,t)}catch(e){if(n===u.CRC64NVME){r?.warn(`Skipping ${u.CRC64NVME}
2 checksum validation: ${e.message}`);continue}throw e}const{base64Encoder:c}=t;if(Oi(o))return void(e.body=eo({expectedChecksum:s,checksumSourceLocation:i,checksum:new a,source:o,base64Encoder:c}));const l=await to(o,{checksumAlgorithmFn:a,base64Encoder:c});if(l===s)break;throw new Error(`Checksum mismatch: expected "${l}" but received "${s}" in response header "${i}".`)}}})(s,{config:e,responseAlgorithms:o,logger:r.logger})}return a})(e,t),no)}}),io={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},oo=(e=new Uint8Array,t)=>e instanceof Uint8Array?Promise.resolve(e):t.streamCollector(e)||Promise.resolve(new Uint8Array),ao={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},so=e=>({applyToStack:t=>{t.addRelativeTo((e=>(t,n)=>async r=>{const i=await t(r),{response:o}=i;if(!qe.isInstance(o))return i;const{statusCode:a,body:s}=o;if(a<200||a>=300)return i;const c=await oo(s,e);var l;if(o.body=(l=c,new ReadableStream({start(e){e.enqueue(l),e.close()}})),0===c.length&&io[n.commandName]){const e=new Error("S3 aborted request");throw e.$metadata={httpStatusCode:503},e.name="InternalError",e}const u=e.utf8Encoder(c.subarray(c.length-16));return u&&u.endsWith("</Error>")&&(o.statusCode=503),i})(e),ao)}}),co={name:"ssecMiddleware",step:"initialize",tags:["SSE"],override:!0},lo=e=>({applyToStack:t=>{var n;t.add((n=e,e=>async t=>{const r={...t.input},i=[{target:"SSECustomerKey",hash:"SSECustomerKeyMD5"},{target:"CopySourceSSECustomerKey",hash:"CopySourceSSECustomerKeyMD5"}];for(const e of i){const t=r[e.target];if(t){let i;"string"==typeof t?uo(t,n)?i=n.base64Decoder(t):(i=n.utf8Decoder(t),r[e.target]=n.base64Encoder(i)):(i=ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):new Uint8Array(t),r[e.target]=n.base64Encoder(i));const o=new n.md5;o.update(i),r[e.hash]=n.base64Encoder(await o.digest())}}return e({...t,input:r})}),co)}});function uo(e,t){if(!/^(?:[A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e))return!1;try{return 32===t.base64Decoder(e).length}catch{return!1}}const fo={tags:["S3"],name:"s3ExpiresMiddleware",override:!0,relation:"after",toMiddleware:"deserializerMiddleware"},ho=e=>"function"==typeof e?e():e,po=[];function mo(e){if("object"==typeof e)return e;if(po[e|=0])return po[e];const t={};let n=0;for(const r of["httpLabel","idempotent","idempotencyToken","sensitive","httpPayload","httpResponseCode","httpQueryParams"])1==(e>>n++&1)&&(t[r]=1);return po[e]=t}const yo=Symbol.for("@smithy/nor-struct-it"),go=Symbol.for("@smithy/ns"),vo=[],bo={};class wo{ref;memberName;static symbol=Symbol.for("@smithy/nor");symbol=wo.symbol;name;schema;_isMemberSchema;traits;memberTraits;normalizedTraits;constructor(e,t){this.ref=e,this.memberName=t;const n=[];let r=e,i=e;for(this._isMemberSchema=!1;So(r);)n.push(r[1]),r=r[0],i=ho(r),this._isMemberSchema=!0;if(n.length>0){this.memberTraits={};for(let e=n.length-1;e>=0;--e){const t=n[e];Object.assign(this.memberTraits,mo(t))}}else this.memberTraits=0;if(i instanceof wo){const e=this.memberTraits;return Object.assign(this,i),this.memberTraits=Object.assign({},e,i.getMemberTraits(),this.getMemberTraits()),this.normalizedTraits=void 0,void(this.memberName=t??i.memberName)}if(this.schema=ho(i),ko(this.schema)?(this.name=`${this.schema[1]}#${this.schema[2]}`,this.traits=this.schema[3]):(this.name=this.memberName??String(i),this.traits=0),this._isMemberSchema&&!t)throw new Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(!0)} missing member name.`)}static[Symbol.hasInstance](e){const t=this.prototype.isPrototypeOf(e);return t||"object"!=typeof e||null===e?t:e.symbol===this.symbol}static of(e){const t="function"==typeof e||"object"==typeof e&&null!==e;if("number"==typeof e){if(vo[e])return vo[e]}else if("string"==typeof e){if(bo[e])return bo[e]}else if(t&&e[go])return e[go];const n=ho(e);if(n instanceof wo)return n;if(So(n)){const[t,r]=n;if(t instanceof wo)return Object.assign(t.getMergedTraits(),mo(r)),t;throw new Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(e,null,2)}.`)}const r=new wo(n);return t?e[go]=r:"string"==typeof n?bo[n]=r:"number"==typeof n?vo[n]=r:r}getSchema(){const e=this.schema;return Array.isArray(e)&&0===e[0]?e[4]:e}getName(e=!1){const{name:t}=this;return!e&&t&&t.includes("#")?t.split("#")[1]:t||void 0}getMemberName(){return this.memberName}isMemberSchema(){return this._isMemberSchema}isListSchema(){const e=this.getSchema();return"number"==typeof e?e>=64&&e<128:1===e[0]}isMapSchema(){const e=this.getSchema();return"number"==typeof e?e>=128&&e<=255:2===e[0]}isStructSchema(){const e=this.getSchema();if("object"!=typeof e)return!1;const t=e[0];return 3===t||-3===t||4===t}isUnionSchema(){const e=this.getSchema();return"object"==typeof e&&4===e[0]}isBlobSchema(){const e=this.getSchema();return 21===e||42===e}isTimestampSchema(){const e=this.getSchema();return"number"==typeof e&&e>=4&&e<=7}isUnitSchema(){return"unit"===this.getSchema()}isDocumentSchema(){return 15===this.getSchema()}isStringSchema(){return 0===this.getSchema()}isBooleanSchema(){return 2===this.getSchema()}isNumericSchema(){return 1===this.getSchema()}
vendor: 2,175 bytes, line 2
2isBigIntegerSchema(){return 17===this.getSchema()}isBigDecimalSchema(){return 19===this.getSchema()}isStreaming(){const{streaming:e}=this.getMergedTraits();return!!e||42===this.getSchema()}isIdempotencyToken(){return!!this.getMergedTraits().idempotencyToken}getMergedTraits(){return this.normalizedTraits??(this.normalizedTraits={...this.getOwnTraits(),...this.getMemberTraits()})}getMemberTraits(){return mo(this.memberTraits)}getOwnTraits(){return mo(this.traits)}getKeySchema(){const[e,t]=[this.isDocumentSchema(),this.isMapSchema()];if(!e&&!t)throw new Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(!0)}`);const n=this.getSchema();return xo([e?15:n[4]??0,0],"key")}getValueSchema(){const e=this.getSchema(),[t,n,r]=[this.isDocumentSchema(),this.isMapSchema(),this.isListSchema()],i="number"==typeof e?63&e:e&&"object"==typeof e&&(n||r)?e[3+e[0]]:t?15:void 0;if(null!=i)return xo([i,0],n?"value":"member");throw new Error(`@smithy/core/schema - ${this.getName(!0)} has no value member.`)}getMemberSchema(e){const t=this.getSchema();if(this.isStructSchema()&&t[4].includes(e)){const n=t[4].indexOf(e),r=t[5][n];return xo(So(r)?r:[r,0],e)}if(this.isDocumentSchema())return xo([15,0],e);throw new Error(`@smithy/core/schema - ${this.getName(!0)} has no member=${e}.`)}getMemberSchemas(){const e={};try{for(const[t,n]of this.structIterator())e[t]=n}catch(e){}return e}getEventStreamMember(){if(this.isStructSchema())for(const[e,t]of this.structIterator())if(t.isStreaming()&&t.isStructSchema())return e;return""}*structIterator(){if(this.isUnitSchema())return;if(!this.isStructSchema())throw new Error("@smithy/core/schema - cannot iterate non-struct schema.");const e=this.getSchema(),t=e[4].length;let n=e[yo];if(n&&t===n.length)yield*n;else{n=Array(t);for(let r=0;r<t;++r){const t=e[4][r],i=xo([e[5][r],0],t);yield n[r]=[t,i]}e[yo]=n}}}function xo(e,t){return e instanceof wo?Object.assign(e,{memberName:t,_isMemberSchema:!0}):new wo(e,t)}const So=e=>Array.isArray(e)&&2===e.length,ko=e=>Array.isArray(e)&&e.length>=5,Eo="***SensitiveInformation***";function _o(e,t){if(null==t)return t;const n=wo.of(e);if(n.getMergedTraits().sensitive)return Eo;
2if(n.isListSchema()){if(n.getValueSchema().getMergedTraits().sensitive)return Eo}else if(n.isMapSchema()){if(n.getKeySchema().getMergedTraits().sensitive||n.getValueSchema().getMergedTraits().sensitive)return Eo}else if(n.isStructSchema()&&"object"==typeof t){const e=t,r={};for(const[t,i]of n.structIterator())null!=e[t]&&(r[t]=_o(i,e[t]));return r}return t}class Co{middlewareStack=J();schema;static classBuilder(){return new Ao}resolveMiddlewareWithContext(e,t,n,{middlewareFn:r,clientName:i,commandName:o,inputFilterSensitiveLog:a,outputFilterSensitiveLog:s,smithyContext:c,additionalContext:l,CommandCtor:u}){for(const i of r.bind(this)(u,e,t,n))this.middlewareStack.use(i);const f=e.concat(this.middlewareStack),{logger:d}=t,h={logger:d,clientName:i,commandName:o,inputFilterSensitiveLog:a,outputFilterSensitiveLog:s,[B]:{commandInstance:this,...c},...l},{requestHandler:p}=t;let m=n??{};return c.eventStream&&(m={isEventStream:!0,...m}),f.resolve(e=>p.handle(e.request,m),h)}}class Ao{_init=()=>{};_ep={};_middlewareFn=()=>[];_commandName="";_clientName="";_additionalContext={};_smithyContext={};_inputFilterSensitiveLog=void 0;_outputFilterSensitiveLog=void 0;_serializer=null;_deserializer=null;_operationSchema;init(e){this._init=e}ep(e){return this._ep=e,this}m(e){return this._middlewareFn=e,this}s(e,t,n={}){return this._smithyContext={service:e,operation:t,...n},this}c(e={}){return this._additionalContext=e,this}n(e,t){return this._clientName=e,this._commandName=t,this}f(e=e=>e,t=e=>e){return this._inputFilterSensitiveLog=e,this._outputFilterSensitiveLog=t,this}ser(e){return this._serializer=e,this}de(e){return this._deserializer=e,this}sc(e){return this._operationSchema=e,this._smithyContext.operationSchema=e,this}build(){const e=this;let t;return t=class extends Co{input;static getEndpointParameterInstructions(){return e._ep}constructor(...[t]){super(),this.input=t??{},e._init(this),this.schema=e._operationSchema}resolveMiddleware(n,r,i){const o=e._operationSchema,a=o?.[4]??o?.input,s=o?.[5]??o?.output;return this.resolveMiddlewareWithContext(n,r,i,{CommandCtor:t,middlewareFn:e._middlewareFn,clientName:e._clientName,commandName:e._commandName,inputFilterSensitiveLog:e._inputFilterSensitiveLog??(o?_o.bind(null,a):e=>e),outputFilterSensitiveLog:e._outputFilterSensitiveLog??(o?_o.bind(null,s):e=>e),smithyContext:e._smithyContext,additionalContext:e._additionalContext})}serialize=e._serializer;deserialize=e._deserializer}}}const To=(Po={ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},DisableS3ExpressSessionAuth:{type:"clientContextParams",name:"disableS3ExpressSessionAuth"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},Oo=ye,function(e,t,n,r,i={}){const o=Object.assign({},Po,e);return Co.classBuilder().ep(o).m(function(e,n,r,i){const o=t.call(this,e,n,r,i);return o.unshift(Oo(r,e.getEndpointParameterInstructions())),o}).s("AmazonS3",n,i).n("S3Client",n.charAt(0).toUpperCase()+n.slice(1)+"Command").sc(r).build()});var Po,Oo;const Mo={Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}},Io={DisableS3ExpressSessionAuth:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}},Ro=(e,t,n,r)=>[so(n)],Do=(e,t,n,r)=>[ro(n,{requestChecksumRequired:!1,requestValidationModeMember:"ChecksumMode",responseAlgorithms:["CRC64NVME","CRC32","CRC32C","SHA256","SHA1","SHA512","MD5","XXHASH64","XXHASH3","XXHASH128"]}),lo(n),{applyToStack:e=>{e.addRelativeTo((e,t)=>async n=>{const r=await e(n),{response:i}=r;if(qe.isInstance(i)&&i.headers.expires){i.headers.expiresstring=i.headers.expires;try{st(i.headers.expires)}catch(e){t.logger?.warn(`AWS SDK Warning for ${t.clientName}::${t.commandName} response parsing (${i.headers.expires}): ${e}`),delete i.headers.expires}}return r},fo)}}];var No=n(97870);
2class jo extends Error{$fault;$response;$retryable;$metadata;constructor(e){super(e.message),Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}static isInstance(e){if(!e)return!1;const t=e;return jo.prototype.isPrototypeOf(t)||Boolean(t.$fault)&&Boolean(t.$metadata)&&("client"===t.$fault||"server"===t.$fault)}static[Symbol.hasInstance](e){if(!e)return!1;const t=e;return this===jo?jo.isInstance(e):!!jo.isInstance(e)&&(t.name&&this.name?this.prototype.isPrototypeOf(e)||t.name===this.name:this.prototype.isPrototypeOf(e))}}const Fo=(e,t={})=>{Object.entries(t).filter(([,e])=>void 0!==e).forEach(([t,n])=>{null!=e[t]&&""!==e[t]||(e[t]=n)});const n=e.message||e.Message||"UnknownError";return e.message=n,delete e.Message,e};class Lo extends jo{constructor(e){super(e),Object.setPrototypeOf(this,Lo.prototype)}}class Bo extends Lo{name="NoSuchUpload";$fault="client";constructor(e){super({name:"NoSuchUpload",$fault:"client",...e}),Object.setPrototypeOf(this,Bo.prototype)}}class zo extends Lo{name="AccessDenied";$fault="client";constructor(e){super({name:"AccessDenied",$fault:"client",...e}),Object.setPrototypeOf(this,zo.prototype)}}class Vo extends Lo{name="ObjectNotInActiveTierError";$fault="client";constructor(e){super({name:"ObjectNotInActiveTierError",$fault:"client",...e}),Object.setPrototypeOf(this,Vo.prototype)}}class Uo extends Lo{name="BucketAlreadyExists";$fault="client";constructor(e){super({name:"BucketAlreadyExists",$fault:"client",...e}),Object.setPrototypeOf(this,Uo.prototype)}}class $o extends Lo{name="BucketAlreadyOwnedByYou";$fault="client";constructor(e){super({name:"BucketAlreadyOwnedByYou",$fault:"client",...e}),Object.setPrototypeOf(this,$o.prototype)}}class Ho extends Lo{name="NoSuchBucket";$fault="client";constructor(e){super({name:"NoSuchBucket",$fault:"client",...e}),Object.setPrototypeOf(this,Ho.prototype)}}class qo extends Lo{name="NoSuchKey";$fault="client";constructor(e){super({name:"NoSuchKey",$fault:"client",...e}),Object.setPrototypeOf(this,qo.prototype)}}class Wo extends Lo{name="InvalidObjectState";$fault="client";StorageClass;AccessTier;constructor(e){super({name:"InvalidObjectState",$fault:"client",...e}),Object.setPrototypeOf(this,Wo.prototype),this.StorageClass=e.StorageClass,this.AccessTier=e.AccessTier}}class Go extends Lo{name="NoSuchAnnotation";$fault="client";constructor(e){super({name:"NoSuchAnnotation",$fault:"client",...e}),Object.setPrototypeOf(this,Go.prototype)}}class Ko extends Lo{name="NotFound";$fault="client";constructor(e){super({name:"NotFound",$fault:"client",...e}),Object.setPrototypeOf(this,Ko.prototype)}}class Qo extends Lo{name="InvalidPrefix";$fault="client";constructor(e){super({name:"InvalidPrefix",$fault:"client",...e}),Object.setPrototypeOf(this,Qo.prototype)}}class Jo extends Lo{name="EncryptionTypeMismatch";$fault="client";constructor(e){super({name:"EncryptionTypeMismatch",$fault:"client",...e}),Object.setPrototypeOf(this,Jo.prototype)}}class Xo extends Lo{name="InvalidRequest";$fault="client";constructor(e){super({name:"InvalidRequest",$fault:"client",...e}),Object.setPrototypeOf(this,Xo.prototype)}}class Yo extends Lo{name="InvalidWriteOffset";$fault="client";constructor(e){super({name:"InvalidWriteOffset",$fault:"client",...e}),Object.setPrototypeOf(this,Yo.prototype)}}class Zo extends Lo{name="TooManyParts";$fault="client";constructor(e){super({name:"TooManyParts",$fault:"client",...e}),Object.setPrototypeOf(this,Zo.prototype)}}class ea extends Lo{name="AnnotationLimitExceeded";$fault="client";constructor(e){super({name:"AnnotationLimitExceeded",$fault:"client",...e}),Object.setPrototypeOf(this,ea.prototype)}}class ta extends Lo{name="AnnotationNameTooLong";$fault="client";constructor(e){super({name:"AnnotationNameTooLong",$fault:"client",...e}),Object.setPrototypeOf(this,ta.prototype)}}class na extends Lo{name="InvalidAnnotationName";$fault="client";constructor(e){super({name:"InvalidAnnotationName",$fault:"client",...e}),Object.setPrototypeOf(this,na.prototype)}}class ra extends Lo{name="UnsupportedMediaType";$fault="client";constructor(e){super({name:"UnsupportedMediaType",$fault:"client",...e}),Object.setPrototypeOf(this,ra.prototype)}}class ia extends Lo{name="IdempotencyParameterMismatch";$fault="client";constructor(e){super({name:"IdempotencyParameterMismatch",$fault:"client",...e}),Object.setPrototypeOf(this,ia.prototype)}}class oa extends Lo{name="ObjectAlreadyInActiveTierError";$fault="client";constructor(e){super({name:"ObjectAlreadyInActiveTierError",$fault:"client",...e}),Object.setPrototypeOf(this,oa.prototype)}}const aa="AccessKeyId",sa="Bucket",ca="BucketKeyEnabled",la="Credentials",ua="ExpiresString",fa="ETag",da="Expiration",ha="Expires",pa="Range",ma="SecretAccessKey",ya="StorageClass",ga="ServerSideEncryption",va="SSECustomerAlgorithm",ba="SSECustomerKey",wa="SSECustomerKeyMD5",xa="SSEKMSEncryptionContext",Sa="SSEKMSKeyId",ka="SessionToken",Ea="VersionId",_a="client",Ca="error",Aa="http",Ta="httpChecksum",Pa="httpError",Oa="httpHeader",Ma="httpPrefixHeaders",Ia="httpQuery",Ra="smithy.ts.sdk.synthetic.com.amazonaws.s3",Da="streaming",Na="xmlName",ja="x-amz-server-side-encryption",Fa="x-amz-server-side-encryption-aws-kms-key-id",La="x-amz-server-side-encryption-bucket-key-enabled",Ba="x-amz-server-side-encryption-context",za="x-amz-server-side-encryption-customer-algorithm",Va="x-amz-server-side-encryption-customer-key-MD5",Ua="com.amazonaws.s3",$a=No.O.for(Ra);var Ha=[-3,Ra,"S3ServiceException",0,[],[]];$a.registerError(Ha,Lo);const qa=No.O.for(Ua);var Wa=[-3,Ua,"AccessDenied",{[Ca]:_a,[Pa]:403},[],[]];qa.registerError(Wa,zo);var Ga=[-3,Ua,"AnnotationLimitExceeded",{[Ca]:_a,[Pa]:400},[],[]];qa.registerError(Ga,ea);var Ka=[-3,Ua,"AnnotationNameTooLong",{[Ca]:_a,[Pa]:400},[],[]];qa.registerError(Ka,ta);var Qa=[-3,Ua,"BucketAlreadyExists",{[Ca]:_a,[Pa]:409},[],[]];qa.registerError(Qa,Uo);var Ja=[-3,Ua,"BucketAlreadyOwnedByYou",{[Ca]:_a,[Pa]:409},[],[]];qa.registerError(Ja,$o);var Xa=[-3,Ua,"EncryptionTypeMismatch",{[Ca]:_a,[Pa]:400},[],[]];qa.registerError(Xa,Jo);var Ya=[-3,Ua,"IdempotencyParameterMismatch",{[Ca]:_a,[Pa]:400},[],[]];qa.registerError(Ya,ia);var Za=[-3,Ua,"InvalidAnnotationName",{[Ca]:_a,[Pa]:400},[],[]];qa.registerError(Za,na);var es=[-3,Ua,"InvalidObjectState",{[Ca]:_a,[Pa]:403},[ya,"AccessTier"],[0,0]];qa.registerError(es,Wo);var ts=[-3,Ua,"InvalidPrefix",{[Ca]:_a,[Pa]:400},[],[]];qa.registerError(ts,Qo);var ns=[-3,Ua,"InvalidRequest",{[Ca]:_a,[Pa]:400},[],[]];qa.registerError(ns,Xo);var rs=[-3,Ua,"InvalidWriteOffset",{[Ca]:_a,[Pa]:400},[],[]];qa.registerError(rs,Yo);var is=[-3,Ua,"NoSuchAnnotation",{[Ca]:_a,[Pa]:404},[],[]];qa.registerError(is,Go);var os=[-3,Ua,"NoSuchBucket",{[Ca]:_a,[Pa]:404},[],[]];qa.registerError(os,Ho);var as=[-3,Ua,"NoSuchKey",{[Ca]:_a,[Pa]:404},[],[]];qa.registerError(as,qo);var ss=[-3,Ua,"NoSuchUpload",{[Ca]:_a,[Pa]:404},[],[]];qa.registerError(ss,Bo);var cs=[-3,Ua,"NotFound",{[Ca]:_a},[],[]];qa.registerError(cs,Ko);var ls=[-3,Ua,"ObjectAlreadyInActiveTierError",{[Ca]:_a,[Pa]:403},[],[]];qa.registerError(ls,oa);var us=[-3,Ua,"ObjectNotInActiveTierError",{[Ca]:_a,[Pa]:403},[],[]];qa.registerError(us,Vo);var fs=[-3,Ua,"TooManyParts",{[Ca]:_a,[Pa]:400},[],[]];qa.registerError(fs,Zo);var ds=[-3,Ua,"UnsupportedMediaType",{[Ca]:_a,[Pa]:415},[],[]];qa.registerError(ds,ra);const hs=[$a,qa];var ps=[0,Ua,"SessionCredentialValue",8,0],ms=[0,Ua,ba,8,0],ys=[0,Ua,xa,8,0],gs=[0,Ua,Sa,8,0],vs=[0,Ua,"StreamingBlob",{[Da]:1},42],bs=[3,Ua,"CreateSessionOutput",{[Na]:"CreateSessionResult"},[la,ga,Sa,xa,ca],[[()=>ks,{[Na]:la}],[0,{[Oa]:ja}],[()=>gs,{[Oa]:Fa}],[()=>ys,{[Oa]:Ba}],[2,{[Oa]:La}]],1],ws=[3,Ua,"CreateSessionRequest",0,[sa,"SessionMode",ga,Sa,xa,ca],[[0,1],[0,{[Oa]:"x-amz-create-session-mode"}],[0,{[Oa]:ja}],[()=>gs,{[Oa]:Fa}],[()=>ys,{[Oa]:Ba}],[2,{[Oa]:La}]],1],xs=[3,Ua,"GetObjectOutput",0,["Body","DeleteMarker","AcceptRanges",da,"Restore","LastModified","ContentLength",fa,"ChecksumCRC32","ChecksumCRC32C","ChecksumCRC64NVME","ChecksumSHA1","ChecksumSHA256","ChecksumSHA512","ChecksumMD5","ChecksumXXHASH64","ChecksumXXHASH3","ChecksumXXHASH128","ChecksumType","MissingMeta",Ea,"CacheControl","ContentDisposition","ContentEncoding","ContentLanguage","ContentRange","ContentType",ha,ua,"WebsiteRedirectLocation",ga,"Metadata",va,wa,Sa,ca,ya,"RequestCharged","ReplicationStatus","PartsCount","TagCount","ObjectLockMode","ObjectLockRetainUntilDate","ObjectLockLegalHoldStatus"],[[()=>vs,16],[2,{[Oa]:"x-amz-delete-marker"}],[0,{[Oa]:"accept-ranges"}],[0,{[Oa]:"x-amz-expiration"}],[0,{[Oa]:"x-amz-restore"}],[4,{[Oa]:"Last-Modified"}],[1,{[Oa]:"Content-Length"}],[0,{[Oa]:fa}],[0,{[Oa]:"x-amz-checksum-crc32"}],[0,{[Oa]:"x-amz-checksum-crc32c"}],[0,{[Oa]:"x-amz-checksum-crc64nvme"}],[0,{[Oa]:"x-amz-checksum-sha1"}],[0,{[Oa]:"x-amz-checksum-sha256"}],[0,{[Oa]:"x-amz-checksum-sha512"}],[0,{[Oa]:"x-amz-checksum-md5"}],[0,{[Oa]:"x-amz-checksum-xxhash64"}],[0,{[Oa]:"x-amz-checksum-xxhash3"}],[0,{[Oa]:"x-amz-checksum-xxhash128"}],[0,{[Oa]:"x-amz-checksum-type"}],[1,{[Oa]:"x-amz-missing-meta"}],[0,{[Oa]:"x-amz-version-id"}],[0,{[Oa]:"Cache-Control"}],[0,{[Oa]:"Content-Disposition"}],[0,{[Oa]:"Content-Encoding"}],[0,{[Oa]:"Content-Language"}],[0,{[Oa]:"Content-Range"}],[0,{[Oa]:"Content-Type"}],[4,{[Oa]:ha}],[0,{[Oa]:ua}],[0,{[Oa]:"x-amz-website-redirect-location"}],[0,{[Oa]:ja}],[128,{[Ma]:"x-amz-meta-"}],[0,{[Oa]:za}],[0,{[Oa]:Va}],[()=>gs,{[Oa]:Fa}],[2,{[Oa]:La}],[0,{[Oa]:"x-amz-storage-class"}
2],[0,{[Oa]:"x-amz-request-charged"}],[0,{[Oa]:"x-amz-replication-status"}],[1,{[Oa]:"x-amz-mp-parts-count"}],[1,{[Oa]:"x-amz-tagging-count"}],[0,{[Oa]:"x-amz-object-lock-mode"}],[5,{[Oa]:"x-amz-object-lock-retain-until-date"}],[0,{[Oa]:"x-amz-object-lock-legal-hold"}]]],Ss=[3,Ua,"GetObjectRequest",0,[sa,"Key","IfMatch","IfModifiedSince","IfNoneMatch","IfUnmodifiedSince",pa,"ResponseCacheControl","ResponseContentDisposition","ResponseContentEncoding","ResponseContentLanguage","ResponseContentType","ResponseExpires",Ea,va,ba,wa,"RequestPayer","PartNumber","ExpectedBucketOwner","ChecksumMode"],[[0,1],[0,1],[0,{[Oa]:"If-Match"}],[4,{[Oa]:"If-Modified-Since"}],[0,{[Oa]:"If-None-Match"}],[4,{[Oa]:"If-Unmodified-Since"}],[0,{[Oa]:pa}],[0,{[Ia]:"response-cache-control"}],[0,{[Ia]:"response-content-disposition"}],[0,{[Ia]:"response-content-encoding"}],[0,{[Ia]:"response-content-language"}],[0,{[Ia]:"response-content-type"}],[6,{[Ia]:"response-expires"}],[0,{[Ia]:"versionId"}],[0,{[Oa]:za}],[()=>ms,{[Oa]:"x-amz-server-side-encryption-customer-key"}],[0,{[Oa]:Va}],[0,{[Oa]:"x-amz-request-payer"}],[1,{[Ia]:"partNumber"}],[0,{[Oa]:"x-amz-expected-bucket-owner"}],[0,{[Oa]:"x-amz-checksum-mode"}]],2],ks=[3,Ua,"SessionCredentials",0,[aa,ma,ka,da],[[0,{[Na]:aa}],[()=>ps,{[Na]:ma}],[()=>ps,{[Na]:ka}],[4,{[Na]:da}]],4],Es=[9,Ua,"CreateSession",{[Aa]:["GET","/?session",200]},()=>ws,()=>bs],_s=[9,Ua,"GetObject",{[Ta]:"-",[Aa]:["GET","/{Key+}?x-id=GetObject",200]},()=>Ss,()=>xs];class Cs extends(To(Io,Ro,"CreateSession",Es)){}const As=({serviceId:e,clientVersion:t})=>async n=>{const r="undefined"!=typeof window?window.navigator:void 0,i=r?.userAgent??"",o=r?.userAgentData?.platform??Ts.os(i)??"other",a=r?.userAgentData?.brands??[],s=a[a.length-1],c=s?.brand??Ts.browser(i)??"unknown",l=[["aws-sdk-js",t],["ua","2.1"],[`os/${o}`,void 0],["lang/js"],["md/browser",`${c}_${s?.version??"unknown"}`]];e&&l.push([`api/${e}`,t]);const u=await(n?.userAgentAppId?.());return u&&l.push([`app/${u}`]),l},Ts={os:e=>/iPhone|iPad|iPod/.test(e)?"iOS":/Macintosh|Mac OS X/.test(e)?"macOS":/Windows NT/.test(e)?"Windows":/Android/.test(e)?"Android":/Linux/.test(e)?"Linux":void 0,browser:e=>/EdgiOS|EdgA|Edg\//.test(e)?"Microsoft Edge":/Firefox\//.test(e)?"Firefox":/Chrome\//.test(e)?"Chrome":/Safari\//.test(e)?"Safari":void 0},Ps=async function(e,t){const n=new e;return await async function(e,t,n=1048576){const r=e.size;let i=0;for(;i<r;){const o=e.slice(i,Math.min(r,i+n));t(new Uint8Array(await o.arrayBuffer())),i+=o.size}}(t,e=>{n.update(e)}),n.digest()},Os=e=>{switch(e){case"standard":case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}},Ms=["in-region","cross-region","mobile","standard","legacy"];var Is=n(24629);const Rs="function"==typeof TextEncoder?new TextEncoder:null,Ds=e=>{if("string"==typeof e){if(Rs)return Rs.encode(e).byteLength;let t=e.length;for(let n=t-1;n>=0;n--){const r=e.charCodeAt(n);r>127&&r<=2047?t++:r>2047&&r<=65535&&(t+=2),r>=56320&&r<=57343&&n--}return t}if("number"==typeof e.byteLength)return e.byteLength;if("number"==typeof e.size)return e.size;throw new Error(`Body Length computation failed for ${e}`)};function Ns(e,t){return new Request(e,t)}function js(e=0){return new Promise((t,n)=>{e&&setTimeout(()=>{const t=new Error(`Request did not complete within ${e} ms`);t.name="TimeoutError",n(t)},e)})}const Fs={supported:void 0};class Ls{config;configProvider;static create(e){return"function"==typeof e?.handle?e:new Ls(e)}constructor(e){"function"==typeof e?this.configProvider=e().then(e=>e||{}):(this.config=e??{},this.configProvider=Promise.resolve(this.config)),void 0===Fs.supported&&(Fs.supported=Boolean("undefined"!=typeof Request&&"keepalive"in Ns("https://[::1]")))}destroy(){}async handle(e,{abortSignal:t,requestTimeout:n}={}){this.config||(this.config=await this.configProvider);const r=n??this.config.requestTimeout,i=!0===this.config.keepAlive,o=this.config.credentials;if(t?.aborted){const e=Bs(t);return Promise.reject(e)}let a=e.path;const s=function(e){const t=[];for(let n of Object.keys(e).sort()){const r=e[n];if(n=Bt(n),Array.isArray(r))for(let e=0,i=r.length;e<i;e++)t.push(`${n}=${Bt(r[e])}`);else{let e=n;(r||"string"==typeof r)&&(e+=`=${Bt(r)}
2`),t.push(e)}}return t.join("&")}(e.query||{});s&&(a+=`?${s}`),e.fragment&&(a+=`#${e.fragment}`);let c="";null==e.username&&null==e.password||(c=`${e.username??""}:${e.password??""}@`);const{port:l,method:u}=e,f=`${e.protocol}//${c}${e.hostname}${l?`:${l}`:""}${a}`,d="GET"===u||"HEAD"===u?void 0:e.body,h={body:d,headers:new Headers(e.headers),method:u,credentials:o};this.config?.cache&&(h.cache=this.config.cache),d&&(h.duplex="half"),"undefined"!=typeof AbortController&&(h.signal=t),Fs.supported&&(h.keepalive=i),"function"==typeof this.config.requestInit&&Object.assign(h,this.config.requestInit(e));let p=()=>{};const m=Ns(f,h),y=[fetch(m).then(e=>{const t=e.headers,n={};for(const e of t.entries())n[e[0]]=e[1];return null!=e.body?{response:new qe({headers:n,reason:e.statusText,statusCode:e.status,body:e.body})}:e.blob().then(t=>({response:new qe({headers:n,reason:e.statusText,statusCode:e.status,body:t})}))}),js(r)];return t&&y.push(new Promise((e,n)=>{const r=()=>{const e=Bs(t);n(e)};if("function"==typeof t.addEventListener){const e=t;e.addEventListener("abort",r,{once:!0}),p=()=>e.removeEventListener("abort",r)}else t.onabort=r})),Promise.race(y).finally(p)}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then(n=>(n[e]=t,n))}httpHandlerConfigs(){return this.config??{}}}function Bs(e){const t=e&&"object"==typeof e&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){const e=new Error("Request aborted");return e.name="AbortError",e.cause=t,e}const e=new Error(String(t));return e.name="AbortError",e}const n=new Error("Request aborted");return n.name="AbortError",n}function zs(e,t){if(void 0===t){t=0;for(const n of e)t+=n.byteLength}const n=new Uint8Array(t);let r=0;for(const t of e)n.set(t,r),r+=t.byteLength;return n}const Vs=async e=>{return t=e,"function"==typeof Blob&&(t?.constructor?.name===Blob.name||t instanceof Blob)?async function(e){return e.arrayBuffer().then(e=>new Uint8Array(e))}(e):async function(e){const t=[],n=e.getReader();let r=0;for(;;){const{done:e,value:i}=await n.read();if(i&&(t.push(i),r+=i.length),e)break}return zs(t,r)}(e);var t},Us=64,$s=new Int32Array([1732584193,4023233417,2562383102,271733878,3285377520]),Hs=new Int32Array([1518500249,1859775393,2400959708,3395469782]);class qs{digestLength=20;state=Int32Array.from($s);w;buffer=new Uint8Array(Us);bufferLength=0;bytesHashed=0;finished=!1;inner;outer;constructor(e){if(e){const t=qs.normalizeKey(e);this.inner=new qs,this.outer=new qs;const n=new Uint8Array(128);for(let e=0;e<Us;++e)n[e]=54^t[e],n[e+Us]=92^t[e];this.inner.update(n.subarray(0,Us)),this.outer.update(n.subarray(Us))}}update(e){if(this.finished)throw new Error("Attempted to update an already finished HMAC.");if(this.inner)return void this.inner.update(e);let t=0,{length:n}=e;if(this.bytesHashed+=n,this.bufferLength>0){for(;n>0&&this.bufferLength<Us;)this.buffer[this.bufferLength++]=e[t++],--n;this.bufferLength===Us&&(this.hashBuffer(this.buffer,0),this.bufferLength=0)}for(;n>=Us;)this.hashBuffer(e,t),t+=Us,n-=Us;for(;n>0;)this.buffer[this.bufferLength++]=e[t++],--n}async digest(){if(this.inner&&this.outer){if(this.finished)throw new Error("Attempted to digest an already finished HMAC.");this.finished=!0;const e=this.inner.digestSync();return this.outer.update(e),this.outer.digestSync()}return this.digestSync()}reset(){this.state=Int32Array.from($s),this.buffer=new Uint8Array(Us),this.bufferLength=0,this.bytesHashed=0}digestSync(){const e=this.state.slice(),t=this.buffer.slice();let n=this.bufferLength;const r=this.bytesHashed/536870912|0,i=this.bytesHashed<<3;if(t[n++]=128,n>56){for(let e=n;e<Us;++e)t[e]=0;this.hashBufferWith(e,t,0),n=0}for(let e=n;e<56;++e)t[e]=0;const o=new DataView(t.buffer,t.byteOffset,Us);o.setUint32(56,r,!1),o.setUint32(60,i,!1),this.hashBufferWith(e,t,0);const a=new Uint8Array(20);return a[0]=e[0]>>>24&255,a[1]=e[0]>>>16&255,a[2]=e[0]>>>8&255,a[3]=255&e[0],a[4]=e[1]>>>24&255,a[5]=e[1]>>>16&255,a[6]=e[1]>>>8&255,a[7]=255&e[1],a[8]=e[2]>>>24&255,a[9]=e[2]>>>16&255,a[10]=e[2]>>>8&255,a[11]=255&e[2],a[12]=e[3]>>>24&255,a[13]=e[3]>>>16&255,a[14]=e[3]>>>8&255,a[15]=255&e[3],a[16]=e[4]>>>24&255,a[17]=e[4]>>>16&255,a[18]=e[4]>>>8&255,a[19]=255&e[4],a}static normalizeKey(e){const t=Rt(e);
2if(t.byteLength>Us){const e=new qs;e.update(t);const n=e.digestSync(),r=new Uint8Array(Us);return r.set(n),r}const n=new Uint8Array(Us);return n.set(t),n}hashBuffer(e,t){this.hashBufferWith(this.state,e,t)}hashBufferWith(e,t,n){const r=this.w??=new Int32Array(80);let i=e[0],o=e[1],a=e[2],s=e[3],c=e[4];for(let e=0;e<16;++e)r[e]=(255&t[n+4*e])<<24|(255&t[n+4*e+1])<<16|(255&t[n+4*e+2])<<8|255&t[n+4*e+3];for(let e=16;e<80;++e){const t=r[e-3]^r[e-8]^r[e-14]^r[e-16];r[e]=t<<1|t>>>31}for(let e=0;e<80;++e){const t=e<20?0:e<40?1:e<60?2:3,n=((i<<5|i>>>27)+(0===t?o&a^~o&s:2===t?o&a^o&s^a&s:o^a^s)|0)+(c+(Hs[t]+r[e]|0)|0)|0;c=s,s=a,a=o<<30|o>>>2,o=i,i=n}e[0]=e[0]+i|0,e[1]=e[1]+o|0,e[2]=e[2]+a|0,e[3]=e[3]+s|0,e[4]=e[4]+c|0}}const Ws=e=>new Date(Date.now()+e),Gs=e=>qe.isInstance(e)?e.headers?.date??e.headers?.Date:void 0,Ks=e=>qe.isInstance(e)?e.headers?.age??e.headers?.Age:void 0,Qs=(e,t,n,r)=>{if(void 0!==r)return t;const i=Date.parse(e),o=Date.now();return void 0!==n&&o-n>9e5?t:void 0!==n?i-(n+o)/2:i-o},Js=(e,t)=>{if(!t)throw new Error(`Property \`${e}\` is not resolved for AWS SDK SigV4Auth`);return t},Xs=async e=>{const t=Js("context",e.context),n=Js("config",e.config),r=t.endpointV2?.properties?.authSchemes?.[0],i=Js("signer",n.signer),o=await i(r),a=e?.signingRegion,s=e?.signingRegionSet,c=e?.signingName;return{config:n,signer:o,signingRegion:a,signingRegionSet:s,signingName:c}};class Ys{async sign(e,t,n){if(!p.isInstance(e))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const r=await Xs(n),{config:i,signer:o}=r;let{signingRegion:a,signingName:s}=r;const c=n.context;if(c?.authSchemes?.length){const[e,t]=c.authSchemes;"sigv4a"===e?.name&&"sigv4"===t?.name&&(a=t?.signingRegion??a,s=t?.signingName??s)}const l=!0===await(i.disableClockSkewCorrection?.());return n._disableClockSkewCorrection=l,l||(n._preRequestSystemClockOffset=i.systemClockOffset,n._requestSentAt=Date.now()),await o.sign(e,{signingDate:l?new Date:Ws(i.systemClockOffset),signingRegion:a,signingService:s})}errorHandler(e){return t=>{const n=t;if(!e._disableClockSkewCorrection){const t=n.ServerTime??Gs(n.$response);if(t){const r=Js("config",e.config),i=e._preRequestSystemClockOffset,o=e._requestSentAt,a=Ks(n.$response),s=Qs(t,r.systemClockOffset,o,a);r.systemClockOffset=s,Math.abs(s)>=24e4&&(s!==i||void 0!==i&&i!==s)&&n.$metadata&&(n.$metadata.clockSkewCorrected=!0)}}throw t}}successHandler(e,t){if(t._disableClockSkewCorrection)return;const n=Gs(e);if(n){const r=Js("config",t.config),i=t._requestSentAt,o=Ks(e);r.systemClockOffset=Qs(n,r.systemClockOffset,i,o)}}}class Zs extends Ys{async sign(e,t,n){if(!p.isInstance(e))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const{config:r,signer:i,signingRegion:o,signingRegionSet:a,signingName:s}=await Xs(n),c=(await(r.sigv4aSigningRegionSet?.())??a??[o]).join(","),l=!0===await(r.disableClockSkewCorrection?.());return n._disableClockSkewCorrection=l,l||(n._preRequestSystemClockOffset=r.systemClockOffset,n._requestSentAt=Date.now()),await i.sign(e,{signingDate:l?new Date:Ws(r.systemClockOffset),signingRegion:c,signingService:s})}}const ec="The stream has already been transformed.",tc=e=>{if(!nc(e)&&!Xi(e))throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${e?.__proto__?.constructor?.name||e}`);let t=!1;const n=async()=>{if(t)throw new Error(ec);return t=!0,await Vs(e)};return Object.assign(e,{transformToByteArray:n,transformToString:async e=>{const t=await n();if("base64"===e)return Le(t);if("hex"===e)return(0,It.n)(t);if(void 0===e||"utf8"===e||"utf-8"===e)return(0,Be.P)(t);if("function"==typeof TextDecoder)return new TextDecoder(e).decode(t);throw new Error("TextDecoder is not available, please make sure polyfill is provided.")},transformToWebStream:()=>{if(t)throw new Error(ec);if(t=!0,nc(e))return(e=>{if("function"!=typeof e.stream)throw new Error("Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.\nIf you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body");return e.stream()})(e);if(Xi(e))return e;throw new Error(`Cannot transform payload to web stream, got ${e}`)}})},nc=e=>"function"==typeof Blob&&e instanceof Blob;
2function rc(e,t,n){if(n<=0||!Number.isInteger(n))throw new Error("Invalid number of delimiters ("+n+") for splitEvery.");const r=e.split(t);if(1===n)return r;const i=[];let o="";for(let e=0;e<r.length;e++)""===o?o=r[e]:o+=t+r[e],(e+1)%n===0&&(i.push(o),o="");return""!==o&&i.push(o),i}const ic=e=>{const t=e.length,n=[];let r,i=!1,o=0;for(let a=0;a<t;++a){const t=e[a];switch(t){case'"':"\\"!==r&&(i=!i);break;case",":i||(n.push(e.slice(o,a)),o=a+1)}r=t}return n.push(e.slice(o)),n.map(e=>{const t=(e=e.trim()).length;return t<2?e:('"'===e[0]&&'"'===e[t-1]&&(e=e.slice(1,t-1)),e.replace(/\\"/g,'"'))})};class oc{serdeContext;setSerdeContext(e){this.serdeContext=e}}class ac extends oc{options;compositeErrorRegistry;constructor(e){super(),this.options=e,this.compositeErrorRegistry=No.O.for(e.defaultNamespace);for(const t of e.errorTypeRegistries??[])this.compositeErrorRegistry.copyFrom(t)}getRequestType(){return p}getResponseType(){return qe}setSerdeContext(e){this.serdeContext=e,this.serializer.setSerdeContext(e),this.deserializer.setSerdeContext(e),this.getPayloadCodec()&&this.getPayloadCodec().setSerdeContext(e)}updateServiceEndpoint(e,t){if("url"in t){e.protocol=t.url.protocol,e.hostname=t.url.hostname,e.port=t.url.port?Number(t.url.port):void 0,e.path=t.url.pathname,e.fragment=t.url.hash||void 0,e.username=t.url.username||void 0,e.password=t.url.password||void 0,e.query||(e.query={});for(const[n,r]of t.url.searchParams.entries())e.query[n]=r;if(t.headers)for(const n in t.headers)e.headers[n]=t.headers[n].join(", ");return e}if(e.protocol=t.protocol,e.hostname=t.hostname,e.port=t.port?Number(t.port):void 0,e.path=t.path,e.query={...t.query},t.headers)for(const n in t.headers)e.headers[n]=t.headers[n];return e}setHostPrefix(e,t,n){if(this.serdeContext?.disableHostPrefix)return;const r=wo.of(t.input),i=mo(t.traits??{});if(i.endpoint){let t=i.endpoint?.[0];if("string"==typeof t){for(const[e,i]of r.structIterator()){if(!i.getMergedTraits().hostLabel)continue;const r=n[e];if("string"!=typeof r)throw new Error(`@smithy/core/schema - ${e} in input must be a string as hostLabel.`);t=t.replace(`{${e}}`,r)}if(e.hostname=t+e.hostname,o=e.hostname,!/^[a-z0-9][a-z0-9.-]*[a-z0-9]$/.test(o))throw new Error(`[${e.hostname}] is not a valid hostname.`)}}var o}deserializeMetadata(e){return{httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}}async serializeEventStream({eventStream:e,requestSchema:t,initialRequest:n}){return(await this.loadEventStreamCapability()).serializeEventStream({eventStream:e,requestSchema:t,initialRequest:n})}async deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:n}){return(await this.loadEventStreamCapability()).deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:n})}async loadEventStreamCapability(){const{EventStreamSerde:e,eventStreamSerdeProvider:t}=await n.e(7274).then(n.bind(n,17274));return new e({marshaller:this.resolveEventStreamMarshaller(t),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType(),compositeErrorRegistry:this.compositeErrorRegistry})}resolveEventStreamMarshaller(e){const t=this.serdeContext;return t.eventStreamMarshaller?t.eventStreamMarshaller:e(this.serdeContext)}getDefaultContentType(){throw new Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage(e,t,n,r,i){return[]}getEventStreamMarshaller(){const e=this.serdeContext;if(!e.eventStreamMarshaller)throw new Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");return e.eventStreamMarshaller}}const sc=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return Ve.mutate(e);if(!e)return Ve.mutate(new Uint8Array);const n=t.streamCollector(e);return Ve.mutate(await n)};function cc(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}class lc extends ac{async serializeRequest(e,t,n){const r=t&&"object"==typeof t?t:{},i=this.serializer,o={},a={},s=await n.endpoint(),c=wo.of(e?.input),l=[],u=[];let f,d=!1;const h=new p({protocol:"",hostname:"",port:void 0,path:"",fragment:void 0,query:o,headers:a,body:void 0});if(s){this.updateServiceEndpoint(h,s),this.setHostPrefix(h,e,r);const t=mo(e.traits);if(t.http){h.method=t.http[0];const[e,n]=t.http[1].split("?");"/"==h.path?h.path=e:h.path+=e;
2const r=new URLSearchParams(n??"");for(const[e,t]of r)o[e]=t}}for(const[e,t]of c.structIterator()){const n=t.getMergedTraits()??{},s=r[e];if(null!=s||t.isIdempotencyToken())if(n.httpPayload)t.isStreaming()?t.isStructSchema()?r[e]&&(f=await this.serializeEventStream({eventStream:r[e],requestSchema:c})):f=s:(i.write(t,s),f=i.flush());else if(n.httpLabel){i.write(t,s);const n=i.flush();h.path.includes(`{${e}+}`)?h.path=h.path.replace(`{${e}+}`,n.split("/").map(cc).join("/")):h.path.includes(`{${e}}`)&&(h.path=h.path.replace(`{${e}}`,cc(n)))}else if(n.httpHeader)i.write(t,s),a[n.httpHeader.toLowerCase()]=String(i.flush());else if("string"==typeof n.httpPrefixHeaders)for(const e in s){const r=s[e],o=n.httpPrefixHeaders+e;i.write([t.getValueSchema(),{httpHeader:o}],r),a[o.toLowerCase()]=i.flush()}else n.httpQuery||n.httpQueryParams?this.serializeQuery(t,s,o):(d=!0,l.push(e),u.push(t));else if(n.httpLabel&&(h.path.includes(`{${e}+}`)||h.path.includes(`{${e}}`)))throw new Error(`No value provided for input HTTP label: ${e}.`)}if(d&&r){const[e,t]=(c.getName(!0)??"#Unknown").split("#"),n=c.getSchema()[6],o=[3,e,t,c.getMergedTraits(),l,u,void 0];n?o[6]=n:o.pop(),i.write(o,r),f=i.flush()}return h.headers=a,h.query=o,h.body=f,h}serializeQuery(e,t,n){const r=this.serializer,i=e.getMergedTraits();if(i.httpQueryParams){for(const r in t)if(!(r in n)){const o=t[r],a=e.getValueSchema();Object.assign(a.getMergedTraits(),{...i,httpQuery:r,httpQueryParams:void 0}),this.serializeQuery(a,o,n)}}else if(e.isListSchema()){const o=!!e.getMergedTraits().sparse,a=[];for(const n of t){r.write([e.getValueSchema(),i],n);const t=r.flush();(o||void 0!==t)&&a.push(t)}n[i.httpQuery]=a}else r.write([e,i],t),n[i.httpQuery]=r.flush()}async deserializeResponse(e,t,n){const r=this.deserializer,i=wo.of(e.output),o={};if(n.statusCode>=300){const i=await sc(n.body,t);throw i.byteLength>0&&Object.assign(o,await r.read(15,i)),await this.handleError(e,t,n,o,this.deserializeMetadata(n)),new Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.")}for(const e in n.headers){const t=n.headers[e];delete n.headers[e],n.headers[e.toLowerCase()]=t}const a=await this.deserializeHttpMessage(i,t,n,o);if(a.length){const e=await sc(n.body,t);if(e.byteLength>0){const t=await r.read(i,e);for(const e of a)null!=t[e]&&(o[e]=t[e])}}else a.discardResponseBody&&await sc(n.body,t);return o.$metadata=this.deserializeMetadata(n),o}async deserializeHttpMessage(e,t,n,r,i){let o;o=r instanceof Set?i:r;let a=!0;const s=this.deserializer,c=wo.of(e),l=[];for(const[e,r]of c.structIterator()){const i=r.getMemberTraits();if(i.httpPayload){if(a=!1,r.isStreaming()){const t=r.isStructSchema();o[e]=t?await this.deserializeEventStream({response:n,responseSchema:c}):tc(n.body)}else if(n.body){const i=await sc(n.body,t);i.byteLength>0&&(o[e]=await s.read(r,i))}}else if(i.httpHeader){const t=String(i.httpHeader).toLowerCase(),a=n.headers[t];if(null!=a)if(r.isListSchema()){const n=r.getValueSchema();let i;n.getMergedTraits().httpHeader=t,i=n.isTimestampSchema()&&4===n.getSchema()?rc(a,",",2):ic(a);const c=[];for(const e of i)c.push(await s.read(n,e.trim()));o[e]=c}else o[e]=await s.read(r,a)}else if(void 0!==i.httpPrefixHeaders){o[e]={};for(const t in n.headers)if(t.startsWith(i.httpPrefixHeaders)){const a=n.headers[t],c=r.getValueSchema();c.getMergedTraits().httpHeader=t,o[e][t.slice(i.httpPrefixHeaders.length)]=await s.read(c,a)}}else i.httpResponseCode?o[e]=n.statusCode:l.push(e)}return l.discardResponseBody=a,l}}function uc(e){return(e.includes(",")||e.includes('"'))&&(e=`"${e.replace(/"/g,'\\"')}"`),e}const fc=function(e){return Object.assign(new String(e),{deserializeJSON:()=>JSON.parse(String(e)),toString:()=>String(e),toJSON:()=>String(e)})};function dc(e,t){if(t.timestampFormat.useTrait&&e.isTimestampSchema()&&(5===e.getSchema()||6===e.getSchema()||7===e.getSchema()))return e.getSchema();const{httpLabel:n,httpPrefixHeaders:r,httpHeader:i,httpQuery:o}=e.getMergedTraits();return(t.httpBindings?"string"==typeof r||Boolean(i)?6:Boolean(o)||Boolean(n)?5:void 0:void 0)??t.timestampFormat.default}fc.from=e=>e&&"object"==typeof e&&(e instanceof fc||"deserializeJSON"in e)?e:"string"==typeof e||Object.getPrototypeOf(e)===String.prototype?fc(String(e)):fc(JSON.stringify(e)),fc.fromObject=fc.from;class hc extends oc{settings;stringBuffer="";constructor(e){super(),this.settings=e}write(e,t){const n=wo.of(e);switch(typeof t){case"object":if(null===t)return void(this.stringBuffer="null");
2if(n.isTimestampSchema()){if(!(t instanceof Date))throw new Error(`@smithy/core/protocols - received non-Date value ${t} when schema expected Date in ${n.getName(!0)}`);switch(dc(n,this.settings)){case 5:this.stringBuffer=t.toISOString().replace(".000Z","Z");break;case 6:this.stringBuffer=rt(t);break;case 7:this.stringBuffer=String(t.getTime()/1e3);break;default:console.warn("Missing timestamp format, using epoch seconds",t),this.stringBuffer=String(t.getTime()/1e3)}return}if(n.isBlobSchema()&&"byteLength"in t)return void(this.stringBuffer=(this.serdeContext?.base64Encoder??Le)(t));if(n.isListSchema()&&Array.isArray(t)){let e="";for(const r of t){this.write([n.getValueSchema(),n.getMergedTraits()],r);const t=this.flush();""!==e&&(e+=", "),e+=n.getValueSchema().isTimestampSchema()?t:uc(t)}return void(this.stringBuffer=e)}this.stringBuffer=JSON.stringify(t,null,2);break;case"string":const e=n.getMergedTraits().mediaType;let r=t;if(e&&(("application/json"===e||e.endsWith("+json"))&&(r=fc.from(r)),n.getMergedTraits().httpHeader))return void(this.stringBuffer=(this.serdeContext?.base64Encoder??Le)(r.toString()));this.stringBuffer=t;break;default:n.isIdempotencyToken()?this.stringBuffer=He():this.stringBuffer=String(t)}}flush(){const e=this.stringBuffer;return this.stringBuffer="",e}}class pc{codecSerializer;stringSerializer;buffer;constructor(e,t,n=new hc(t)){this.codecSerializer=e,this.stringSerializer=n}setSerdeContext(e){this.codecSerializer.setSerdeContext(e),this.stringSerializer.setSerdeContext(e)}write(e,t){const n=wo.of(e),r=n.getMergedTraits();return r.httpHeader||r.httpLabel||r.httpQuery?(this.stringSerializer.write(n,t),void(this.buffer=this.stringSerializer.flush())):this.codecSerializer.write(n,t)}flush(){if(void 0!==this.buffer){const e=this.buffer;return this.buffer=void 0,e}return this.codecSerializer.flush()}}const mc="(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?",yc="(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)",gc="(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?",vc="(\\d?\\d)",bc="(\\d{4})",wc=new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/),xc=new RegExp(`^${mc}, ${vc} ${yc} ${bc} ${gc} GMT$`),Sc=new RegExp(`^${mc}, ${vc}-${yc}-(\\d\\d) ${gc} GMT$`),kc=new RegExp(`^${mc} ${yc} ( [1-9]|\\d\\d) ${gc} ${bc}$`),Ec=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function _c(e,t,n){const r=Number(e);if(r<t||r>n)throw new Error(`Value ${r} out of range [${t}, ${n}]`)}const Cc=/^-?((0|[1-9]\d*)(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/;class Ac{string;type;constructor(e,t){if(this.string=e,this.type=t,!Cc.test(e))throw new Error(`@smithy/core/serde - NumericValue string must conform to the Smithy bigDecimal format. Received: "${e}"`)}toString(){return this.string}static[Symbol.hasInstance](e){if(!e||"object"!=typeof e)return!1;const t=e;return Ac.prototype.isPrototypeOf(e)||"bigDecimal"===t.type&&Cc.test(t.string)}}class Tc extends oc{settings;constructor(e){super(),this.settings=e}read(e,t){const n=wo.of(e);if(n.isListSchema())return ic(t).map(e=>this.read(n.getValueSchema(),e));if(n.isBlobSchema())return(this.serdeContext?.base64Decoder??je)(t);if(n.isTimestampSchema())switch(dc(n,this.settings)){case 5:return(e=>{if(null==e)return;if("string"!=typeof e)throw new TypeError("RFC3339 timestamps must be strings");const t=wc.exec(e);if(!t)throw new TypeError(`Invalid RFC3339 timestamp format ${e}`);const[,n,r,i,o,a,s,,c,l]=t;_c(r,1,12),_c(i,1,31),_c(o,0,23),_c(a,0,59),_c(s,0,60);const u=new Date(Date.UTC(Number(n),Number(r)-1,Number(i),Number(o),Number(a),Number(s),Number(c)?Math.round(1e3*parseFloat(`0.${c}`)):0));if(u.setUTCFullYear(Number(n)),"Z"!=l.toUpperCase()){const[,e,t,n]=/([+-])(\d\d):(\d\d)/.exec(l)||[void 0,"+",0,0],r="-"===e?1:-1;u.setTime(u.getTime()+r*(60*Number(t)*60*1e3+60*Number(n)*1e3))}return u})(t);case 6:return(e=>{if(null==e)return;if("string"!=typeof e)throw new TypeError("RFC7231 timestamps must be strings.");let t,n,r,i,o,a,s,c;if((c=xc.exec(e))?[,t,n,r,i,o,a,s]=c:(c=Sc.exec(e))?([,t,n,r,i,o,a,s]=c,r=(Number(r)+1900).toString()):(c=kc.exec(e))&&([,n,t,i,o,a,s,r]=c),r&&a){const e=Date.UTC(Number(r),Ec.indexOf(n),Number(t),Number(i),Number(o),Number(a),s?Math.round(1e3*parseFloat(`0.${s}`)):0);_c(t,1,31),_c(i,0,23),_c(o,0,59),_c(a,0,60);const c=new Date(e);return c.setUTCFullYear(Number(r)),c}throw new TypeError(`Invalid RFC7231 date-time value ${e}.`)})(t);case 7:return(e=>{if(null==e)return;let t=NaN;if("number"==typeof e)t=e;else if("string"==typeof e){if(!/^-?\d*\.?\d+$/.test(e))throw new TypeError("parseEpochTimestamp - numeric string invalid.");t=Number.parseFloat(e)}else"object"==typeof e&&1===e.tag&&(t=e.value);if(isNaN(t)||Math.abs(t)===1/0)throw new TypeError("Epoch timestamps must be valid finite numbers.");return new Date(Math.round(1e3*t))})(t);default:return console.warn("Missing timestamp format, parsing value with Date constructor:",t),new Date(t)}if(n.isStringSchema()){const e=n.getMergedTraits().mediaType;let r=t;if(e)return n.getMergedTraits().httpHeader&&(r=this.base64ToUtf8(r)),("application/json"===e||e.endsWith("+json"))&&(r=fc.from(r)),r}
2return n.isNumericSchema()?Number(t):n.isBigIntegerSchema()?BigInt(t):n.isBigDecimalSchema()?new Ac(t,"bigDecimal"):n.isBooleanSchema()?"true"===String(t).toLowerCase():t}base64ToUtf8(e){return(this.serdeContext?.utf8Encoder??Be.P)((this.serdeContext?.base64Decoder??je)(e))}}class Pc extends oc{codecDeserializer;stringDeserializer;constructor(e,t){super(),this.codecDeserializer=e,this.stringDeserializer=new Tc(t)}setSerdeContext(e){this.stringDeserializer.setSerdeContext(e),this.codecDeserializer.setSerdeContext(e),this.serdeContext=e}read(e,t){const n=wo.of(e),r=n.getMergedTraits(),i=this.serdeContext?.utf8Encoder??Be.P;if(r.httpHeader||r.httpResponseCode)return this.stringDeserializer.read(n,i(t));if(r.httpPayload){if(n.isBlobSchema()){const e=this.serdeContext?.utf8Decoder??Fe.a;return"string"==typeof t?e(t):t}if(n.isStringSchema())return"byteLength"in t?i(t):t}return this.codecDeserializer.read(n,t)}}class Oc{queryCompat;errorRegistry;constructor(e=!1){this.queryCompat=e}resolveRestContentType(e,t){const n=t.getMemberSchemas(),r=Object.values(n).find(e=>!!e.getMergedTraits().httpPayload);if(r){return r.getMergedTraits().mediaType||(r.isStringSchema()?"text/plain":r.isBlobSchema()?"application/octet-stream":e)}if(!t.isUnitSchema()){const t=Object.values(n).find(e=>{const{httpQuery:t,httpQueryParams:n,httpHeader:r,httpLabel:i,httpPrefixHeaders:o}=e.getMergedTraits();return!(t||n||r||i||void 0!==o)});if(t)return e}}async getErrorSchemaOrThrowBaseException(e,t,n,r,i,o){let a=e;e.includes("#")&&([,a]=e.split("#"));const s={$metadata:i,$fault:n.statusCode<500?"client":"server"};if(!this.errorRegistry)throw new Error("@aws-sdk/core/protocols - error handler not initialized.");try{return{errorSchema:o?.(this.errorRegistry,a)??this.errorRegistry.getSchema(e),errorMetadata:s}}catch(e){r.message=r.message??r.Message??"UnknownError";const t=this.errorRegistry,n=t.getBaseException();if(n){const e=t.getErrorCtor(n)??Error;throw this.decorateServiceException(Object.assign(new e({name:a}),s),r)}const i=r,o=i?.message??i?.Message??i?.Error?.Message??i?.Error?.message;throw this.decorateServiceException(Object.assign(new Error(o),{name:a},s),r)}}compose(e,t,n){let r=n;t.includes("#")&&([r]=t.split("#"));const i=No.O.for(r),o=No.O.for("smithy.ts.sdk.synthetic."+n);e.copyFrom(i),e.copyFrom(o),this.errorRegistry=e}decorateServiceException(e,t={}){if(this.queryCompat){const n=e.Message??t.Message,r=Fo(e,t);n&&(r.message=n);const i=r.Error??{};i.Type=r.Error?.Type,i.Code=r.Error?.Code,i.Message=r.Error?.message??r.Error?.Message??n,r.Error=i;const o=r.$metadata.requestId;return o&&(r.RequestId=o),r}return Fo(e,t)}setQueryCompatError(e,t){const n=t.headers?.["x-amzn-query-error"];if(void 0!==e&&null!=n){const[t,r]=n.split(";"),i=Object.keys(e),o={Code:t,Type:r};e.Code=t,e.Type=r;for(let t=0;t<i.length;t++){const n=i[t];o["message"===n?"Message":n]=e[n]}delete o.__type,e.Error=o}}queryCompatOutput(e,t){e.Error&&(t.Error=e.Error),e.Type&&(t.Type=e.Type),e.Code&&(t.Code=e.Code)}findQueryCompatibleError(e,t){try{return e.getSchema(t)}catch(n){return e.find(e=>wo.of(e).getMergedTraits().awsQueryError?.[0]===t)}}}class Mc{serdeContext;setSerdeContext(e){this.serdeContext=e}}let Ic;const Rc=e=>{const t="#text";for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&void 0!==e[n][t]?e[n]=e[n][t]:"object"==typeof e[n]&&null!==e[n]&&(e[n]=Rc(e[n]));return e};class Dc{from;to;keys;constructor(e,t){this.from=e,this.to=t;const n=Object.keys(this.from),r=new Set(n);r.delete("__type"),this.keys=r}mark(e){this.keys.delete(e)}hasUnknown(){return 1===this.keys.size&&0===Object.keys(this.to).length}writeUnknown(){if(this.hasUnknown()){const e=this.keys.values().next().value,t=this.from[e];this.to.$unknown=[e,t]}}}function Nc(e){Object.defineProperty(e,"__proto__",{value:void 0,writable:!0,enumerable:!0,configurable:!0})}class jc extends Mc{settings;stringDeserializer;constructor(e){super(),this.settings=e,this.stringDeserializer=new Tc(e)}setSerdeContext(e){this.serdeContext=e,this.stringDeserializer.setSerdeContext(e)}read(e,t,n){const r=wo.of(e),i=r.getMemberSchemas();if(r.isStructSchema()&&r.isMemberSchema()&&Object.values(i).find(e=>!!e.getMemberTraits().eventPayload)){const e={},n=Object.keys(i)[0];return i[n].isBlobSchema()?e[n]=t:e[n]=this.read(i[n],t),e}const o=(this.serdeContext?.utf8Encoder??Be.P)(t),a=this.parseXml(o);return this.readSchema(e,n?a[n]:a)}readSchema(e,t){const n=wo.of(e);if(n.isUnitSchema())return;const r=n.getMergedTraits();
2if(n.isListSchema()&&!Array.isArray(t))return this.readSchema(n,[t]);if(null==t)return t;if("object"==typeof t){const e=!!r.xmlFlattened;if(n.isListSchema()){const r=n.getValueSchema(),i=[],o=r.getMergedTraits().xmlName??"member",a=e?t:(t[0]??t)[o];if(null==a)return i;const s=Array.isArray(a)?a:[a];for(const e of s)i.push(this.readSchema(r,e));return i}const i={};if(n.isMapSchema()){const r=n.getKeySchema(),o=n.getValueSchema();let a;a=e?Array.isArray(t)?t:[t]:Array.isArray(t.entry)?t.entry:[t.entry];const s=r.getMergedTraits().xmlName??"key",c=o.getMergedTraits().xmlName??"value";for(const e of a){const t=e[s],n=e[c];"__proto__"===t&&Nc(i),i[t]=this.readSchema(o,n)}return i}if(n.isStructSchema()){const e=n.isUnionSchema();let r;e&&(r=new Dc(t,i));for(const[o,a]of n.structIterator()){const n=a.getMergedTraits(),s=n.httpPayload?n.xmlName??a.getName():a.getMemberTraits().xmlName??o;e&&r.mark(s),null!=t[s]&&(i[o]=this.readSchema(a,t[s]))}return e&&r.writeUnknown(),i}if(n.isDocumentSchema())return t;throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${n.getName(!0)}`)}return n.isListSchema()?[]:n.isMapSchema()||n.isStructSchema()?{}:this.stringDeserializer.read(n,t)}parseXml(e){if(e.length){let t;try{t=function(e){Ic||(Ic=new DOMParser);const t=Ic.parseFromString(e,"application/xml");if(t.getElementsByTagName("parsererror").length>0)throw new Error("DOMParser XML parsing error.");const n=e=>{if(e.nodeType===Node.TEXT_NODE&&e.textContent?.trim())return e.textContent;if(e.nodeType===Node.ELEMENT_NODE){const t=e;if(0===t.attributes.length&&0===t.childNodes.length)return"";const r={},i=Array.from(t.attributes);for(const e of i)r[`${e.name}`]=e.value;const o=Array.from(t.childNodes);for(const e of o){const a=n(e);if(null!=a){const t=e.nodeName;if(1===o.length&&0===i.length&&"#text"===t)return a;t in r?Array.isArray(r[t])?r[t].push(a):r[t]=[r[t],a]:r[t]=a}else if(1===o.length&&0===i.length)return t.textContent}return r}return null};return{[t.documentElement.nodeName]:n(t.documentElement)}}(e)}catch(t){throw t&&"object"==typeof t&&Object.defineProperty(t,"$responseBodyText",{value:e}),t}const n="#text",r=Object.keys(t)[0],i=t[r];return i[n]&&(i[r]=i[n],delete i[n]),Rc(i)}return{}}}const Fc=/[&<>"]/g,Lc={"&":"&","<":"<",">":">",'"':"""};function Bc(e){return e.replace(Fc,e=>Lc[e])}const zc=/[&"'<>\r\n\u0085\u2028]/g,Vc={"&":"&",'"':""","'":"'","<":"<",">":">","\r":"
","\n":"
","…":"…","\u2028":"
"};class Uc{value;constructor(e){this.value=e}toString(){return(""+this.value).replace(zc,e=>Vc[e])}}class $c{name;children;attributes={};static of(e,t,n){const r=new $c(e);return void 0!==t&&r.addChildNode(new Uc(t)),void 0!==n&&r.withName(n),r}constructor(e,t=[]){this.name=e,this.children=t}withName(e){return this.name=e,this}addAttribute(e,t){return this.attributes[e]=t,this}addChildNode(e){return this.children.push(e),this}removeAttribute(e){return delete this.attributes[e],this}n(e){return this.name=e,this}c(e){return this.children.push(e),this}a(e,t){return null!=t&&(this.attributes[e]=t),this}cc(e,t,n=t){if(null!=e[t]){const r=$c.of(t,e[t]).withName(n);this.c(r)}}l(e,t,n,r){null!=e[t]&&r().map(e=>{e.withName(n),this.c(e)})}lc(e,t,n,r){if(null!=e[t]){const e=r(),t=new $c(n);e.map(e=>{t.c(e)}),this.c(t)}}toString(){const e=Boolean(this.children.length);let t=`<${this.name}`;const n=this.attributes;for(const e of Object.keys(n)){const r=n[e];null!=r&&(t+=` ${e}="${Bc(""+r)}"`)}return t+(e?`>${this.children.map(e=>e.toString()).join("")}</${this.name}>`:"/>")}}class Hc extends Mc{settings;stringBuffer;byteBuffer;buffer;constructor(e){super(),this.settings=e}write(e,t){const n=wo.of(e);if(n.isStringSchema()&&"string"==typeof t)this.stringBuffer=t;else if(n.isBlobSchema())this.byteBuffer="byteLength"in t?t:(this.serdeContext?.base64Decoder??je)(t);else{this.buffer=this.writeStruct(n,t,void 0);const e=n.getMergedTraits();e.httpPayload&&!e.xmlName&&this.buffer.withName(n.getName())}}flush(){if(void 0!==this.byteBuffer){const e=this.byteBuffer;return delete this.byteBuffer,e}if(void 0!==this.stringBuffer){const e=this.stringBuffer;return delete this.stringBuffer,e}const e=this.buffer;return this.settings.xmlNamespace&&(e?.attributes?.xmlns||e.addAttribute("xmlns",this.settings.xmlNamespace)),delete this.buffer,e.toString()}writeStruct(e,t,n){const r=e.getMergedTraits(),i=e.isMemberSchema()&&
2!r.httpPayload?e.getMemberTraits().xmlName??e.getMemberName():r.xmlName??e.getName();if(!i||!e.isStructSchema())throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${e.getName(!0)}.`);const o=$c.of(i),[a,s]=this.getXmlnsAttribute(e,n);for(const[n,r]of e.structIterator()){const e=t[n];if(null!=e||r.isIdempotencyToken()){if(r.getMergedTraits().xmlAttribute){o.addAttribute(r.getMergedTraits().xmlName??n,this.writeSimple(r,e));continue}if(r.isListSchema())this.writeList(r,e,o,s);else if(r.isMapSchema())this.writeMap(r,e,o,s);else if(r.isStructSchema())o.addChildNode(this.writeStruct(r,e,s));else{const t=$c.of(r.getMergedTraits().xmlName??r.getMemberName());this.writeSimpleInto(r,e,t,s),o.addChildNode(t)}}}const{$unknown:c}=t;if(c&&e.isUnionSchema()&&Array.isArray(c)&&1===Object.keys(t).length){const[e,n]=c,r=$c.of(e);if("string"!=typeof n){if(!(t instanceof $c||t instanceof Uc))throw new Error("@aws-sdk - $unknown union member in XML requires value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.");o.addChildNode(t)}this.writeSimpleInto(0,n,r,s),o.addChildNode(r)}return s&&o.addAttribute(a,s),o}writeList(e,t,n,r){if(!e.isMemberSchema())throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${e.getName(!0)}`);const i=e.getMergedTraits(),o=e.getValueSchema(),a=o.getMergedTraits(),s=!!a.sparse,c=!!i.xmlFlattened,[l,u]=this.getXmlnsAttribute(e,r),f=(t,n)=>{if(o.isListSchema())this.writeList(o,Array.isArray(n)?n:[n],t,u);else if(o.isMapSchema())this.writeMap(o,n,t,u);else if(o.isStructSchema()){const r=this.writeStruct(o,n,u);t.addChildNode(r.withName(c?i.xmlName??e.getMemberName():a.xmlName??"member"))}else{const r=$c.of(c?i.xmlName??e.getMemberName():a.xmlName??"member");this.writeSimpleInto(o,n,r,u),t.addChildNode(r)}};if(c)for(const e of t)(s||null!=e)&&f(n,e);else{const r=$c.of(i.xmlName??e.getMemberName());u&&r.addAttribute(l,u);for(const e of t)(s||null!=e)&&f(r,e);n.addChildNode(r)}}writeMap(e,t,n,r,i=!1){if(!e.isMemberSchema())throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${e.getName(!0)}`);const o=e.getMergedTraits(),a=e.getKeySchema(),s=a.getMergedTraits().xmlName??"key",c=e.getValueSchema(),l=c.getMergedTraits(),u=l.xmlName??"value",f=!!l.sparse,d=!!o.xmlFlattened,[h,p]=this.getXmlnsAttribute(e,r),m=(e,t,n)=>{const r=$c.of(s,t),[i,o]=this.getXmlnsAttribute(a,p);o&&r.addAttribute(i,o),e.addChildNode(r);let l=$c.of(u);c.isListSchema()?this.writeList(c,n,l,p):c.isMapSchema()?this.writeMap(c,n,l,p,!0):c.isStructSchema()?l=this.writeStruct(c,n,p):this.writeSimpleInto(c,n,l,p),e.addChildNode(l)};if(d)for(const r in t){const i=t[r];if(f||null!=i){const t=$c.of(o.xmlName??e.getMemberName());m(t,r,i),n.addChildNode(t)}}else{let r;i||(r=$c.of(o.xmlName??e.getMemberName()),p&&r.addAttribute(h,p),n.addChildNode(r));for(const e in t){const o=t[e];if(f||null!=o){const t=$c.of("entry");m(t,e,o),(i?n:r).addChildNode(t)}}}}writeSimple(e,t){if(null===t)throw new Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value.");const n=wo.of(e);let r=null;if(t&&"object"==typeof t)if(n.isBlobSchema())r=(this.serdeContext?.base64Encoder??Le)(t);else{if(!(n.isTimestampSchema()&&t instanceof Date)){if(n.isBigDecimalSchema()&&t)return t instanceof Ac?t.string:String(t);throw n.isMapSchema()||n.isListSchema()?new Error("@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead."):new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${n.getName(!0)}`)}switch(dc(n,this.settings)){case 5:r=t.toISOString().replace(".000Z","Z");break;case 6:r=rt(t);break;case 7:r=String(t.getTime()/1e3);break;default:console.warn("Missing timestamp format, using http date",t),r=rt(t)}}if((n.isBooleanSchema()||n.isNumericSchema()||n.isBigIntegerSchema()||n.isBigDecimalSchema())&&(r=String(t)),n.isStringSchema()&&(r=void 0===t&&n.isIdempotencyToken()?He():String(t)),null===r)throw new Error(`Unhandled schema-value pair ${n.getName(!0)}=${t}`);return r}writeSimpleInto(e,t,n,r){const i=this.writeSimple(e,t),o=wo.of(e),a=new Uc(i),[s,c]=this.getXmlnsAttribute(o,r);c&&n.addAttribute(s,c),n.addChildNode(a)}getXmlnsAttribute(e,t){const n=e.getMergedTraits(),[r,i]=n.xmlNamespace??[];return i&&i!==t?[r?`xmlns:${r}`:"xmlns",i]:[void 0,void 0]}}class qc extends Mc{settings;constructor(e){super(),this.settings=e}
2createSerializer(){const e=new Hc(this.settings);return e.setSerdeContext(this.serdeContext),e}createDeserializer(){const e=new jc(this.settings);return e.setSerdeContext(this.serdeContext),e}}class Wc extends lc{codec;serializer;deserializer;mixin=new Oc;constructor(e){super(e);const t={timestampFormat:{useTrait:!0,default:5},httpBindings:!0,xmlNamespace:e.xmlNamespace,serviceNamespace:e.defaultNamespace};this.codec=new qc(t),this.serializer=new pc(this.codec.createSerializer(),t),this.deserializer=new Pc(this.codec.createDeserializer(),t)}getPayloadCodec(){return this.codec}getShapeId(){return"aws.protocols#restXml"}async serializeRequest(e,t,n){const r=await super.serializeRequest(e,t,n),i=wo.of(e.input);if(!r.headers["content-type"]){const e=this.mixin.resolveRestContentType(this.getDefaultContentType(),i);e&&(r.headers["content-type"]=e)}return"string"!=typeof r.body||r.headers["content-type"]!==this.getDefaultContentType()||r.body.startsWith("<?xml ")||this.hasUnstructuredPayloadBinding(i)||(r.body='<?xml version="1.0" encoding="UTF-8"?>'+r.body),r}async deserializeResponse(e,t,n){return super.deserializeResponse(e,t,n)}async handleError(e,t,n,r,i){const o=((e,t)=>void 0!==t?.Error?.Code?t.Error.Code:void 0!==t?.Code?t.Code:404==e.statusCode?"NotFound":void 0)(n,r)??"Unknown";if(this.mixin.compose(this.compositeErrorRegistry,o,this.options.defaultNamespace),r.Error&&"object"==typeof r.Error)for(const e of Object.keys(r.Error))r[e]=r.Error[e],"message"===e.toLowerCase()&&(r.message=r.Error[e]);r.RequestId&&!i.requestId&&(i.requestId=r.RequestId);const{errorSchema:a,errorMetadata:s}=await this.mixin.getErrorSchemaOrThrowBaseException(o,this.options.defaultNamespace,n,r,i),c=wo.of(a),l=r.Error?.message??r.Error?.Message??r.message??r.Message??"UnknownError",u=new(this.compositeErrorRegistry.getErrorCtor(a)??Error)({});await this.deserializeHttpMessage(a,t,n,r);const f={},d=this.codec.createDeserializer();for(const[e,t]of c.structIterator()){const n=t.getMergedTraits().xmlName??e,i=r.Error?.[n]??r[n];f[e]=d.readSchema(t,i)}throw this.mixin.decorateServiceException(Object.assign(u,s,{$fault:c.getMergedTraits().error,message:l},f),r)}getDefaultContentType(){return"application/xml"}hasUnstructuredPayloadBinding(e){for(const[,t]of e.structIterator())if(t.getMergedTraits().httpPayload)return!(t.isStructSchema()||t.isMapSchema()||t.isListSchema());return!1}}class Gc extends Wc{async serializeRequest(e,t,n){const r=await super.serializeRequest(e,t,n),i=wo.of(e.input);let o=0;const a=i.getSchema()[6]??0;if(t&&"object"==typeof t)for(const[e,n]of i.structIterator()){if(++o>a)break;if("Bucket"===e){if(!t.Bucket&&n.getMergedTraits().httpLabel)throw new Error("No value provided for input HTTP label: Bucket.");break}}return r}}class Kc{digestLength=16;state=Uint32Array.from(Qc);writeBuffer=new DataView(new ArrayBuffer(64));bufferLength=0;bytesHashed=0;update(e){const t=Rt(e);let n=0,r=t.byteLength;for(this.bytesHashed+=r;r>0;)this.writeBuffer.setUint8(this.bufferLength++,t[n++]),--r,64===this.bufferLength&&(Zc(this.state,this.writeBuffer),this.bufferLength=0)}async digest(){const e=Uint32Array.from(this.state),t=new DataView(this.writeBuffer.buffer.slice(0));let n=this.bufferLength;const r=8*this.bytesHashed;if(t.setUint8(n++,128),this.bufferLength%64>=56){for(let e=n;e<64;++e)t.setUint8(e,0);Zc(e,t),n=0}for(let e=n;e<56;++e)t.setUint8(e,0);t.setUint32(56,r>>>0,!0),t.setUint32(60,Math.floor(r/2**32),!0),Zc(e,t);const i=new Uint8Array(16),o=new DataView(i.buffer);for(let t=0;t<4;++t)o.setUint32(4*t,e[t],!0);return i}reset(){this.state.set(Qc),this.writeBuffer=new DataView(new ArrayBuffer(64)),this.bufferLength=0,this.bytesHashed=0}}const Qc=[1732584193,4023233417,2562383102,271733878],Jc=4294967295,Xc=Uint8Array.of(7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21),Yc=Array.from({length:64},(e,t)=>Math.abs(Math.sin(t+1))*2**32>>>0);function Zc(e,t){let n=e[0],r=e[1],i=e[2],o=e[3];for(let e=0;e<64;++e){let a,s;e<16?(a=r&i|~r&o,s=e):e<32?(a=o&r|i&~o,s=(5*e+1)%16):e<48?(a=r^i^o,s=(3*e+5)%16):(a=i^(r|~o),s=7*e%16);const c=t.getUint32(4*s,!0),l=o;o=i,i=r;const u=Xc[4*(e>>4)+(3&e)],f=(n+a&Jc)+(c+Yc[e]&Jc)&Jc;r=r+((f<<u|f>>>32-u)>>>0)&Jc,n=l}e[0]=e[0]+n&Jc,e[1]=e[1]+r&Jc,e[2]=e[2]+i&Jc,e[3]=e[3]+o&Jc}const el=64,tl=2**53-1;class nl{digestLength=32;state=Int32Array.from(rl);w;buffer=new Uint8Array(64);bufferLength=0;bytesHashed=0;finished=!1;inner;outer;constructor(e){if(e){const t=nl.normalizeKey(e);this.inner=new nl,this.outer=new nl;const{inner:n,outer:r}=this,i=new Uint8Array(128);for(let e=0;e<el;++e)i[e]=54^t[e],i[e+el]=92^t[e];n.update(i.subarray(0,el)),r.update(i.subarray(el))}}update(e){if(this.finished)throw new Error("Attempted to update an already finished HMAC.");if(this.inner)return void this.inner.update(e);const t=Rt(e);let n=0,{byteLength:r}=t;if(this.bytesHashed+=r,8*this.bytesHashed>tl)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=t[n++],r--,this.bufferLength===el&&(this.hashBuffer(),this.bufferLength=0)}async digest(){const{inner:e,outer:t}=this;if(e&&t){if(this.finished)throw new Error("Attempted to digest an already finished HMAC.");this.finished=!0;const n=e.digestSync();return t.update(n),t.digestSync()}return this.digestSync()}reset(){this.state=Int32Array.from(rl),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0}digestSync(){const e=this.state.slice(),t=this.buffer.slice();let n=this.bufferLength;const r=8*this.bytesHashed,i=new DataView(t.buffer,t.byteOffset,t.byteLength);if(i.setUint8(n++,128),(n-1)%el>=56){for(let e=n;e<el;++e)i.setUint8(e,0);this.hashBufferWith(e,t),n=0}for(let e=n;e<56;++e)i.setUint8(e,0);i.setUint32(56,Math.floor(r/4294967296),!1),i.setUint32(60,r,!1),this.hashBufferWith(e,t);const o=new Uint8Array(32);for(let t=0;t<8;++t)o[4*t]=e[t]>>>24&255,o[4*t+1]=e[t]>>>16&255,o[4*t+2]=e[t]>>>8&255,o[4*t+3]=e[t]>>>0&255;return o}static normalizeKey(e){const t=Rt(e);
2if(t.byteLength>el){const e=new nl;e.update(t);const n=e.digestSync(),r=new Uint8Array(el);return r.set(n),r}if(t.byteLength<el){const e=new Uint8Array(el);return e.set(t),e}return t}hashBuffer(){this.hashBufferWith(this.state,this.buffer)}hashBufferWith(e,t){const n=this.w??=new Int32Array(64);let r=e[0],i=e[1],o=e[2],a=e[3],s=e[4],c=e[5],l=e[6],u=e[7];for(let e=0;e<el;++e){if(e<16)n[e]=(255&t[4*e])<<24|(255&t[4*e+1])<<16|(255&t[4*e+2])<<8|255&t[4*e+3];else{let t=n[e-2];const r=(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10;t=n[e-15];const i=(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3;n[e]=(r+n[e-7]|0)+(i+n[e-16]|0)}const f=(((s>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7))+(s&c^~s&l)|0)+(u+(il[e]+n[e]|0)|0)|0,d=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&i^r&o^i&o)|0;u=l,l=c,c=s,s=a+f|0,a=o,o=i,i=r,r=f+d|0}e[0]+=r,e[1]+=i,e[2]+=o,e[3]+=a,e[4]+=s,e[5]+=c,e[6]+=l,e[7]+=u}}const rl=new Int32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),il=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),{digest:ol,sign:al,importKey:sl}=globalThis?.crypto?.subtle??{},cl="function"==typeof ol&&"function"==typeof al&&"function"==typeof sl?globalThis.crypto.subtle:void 0;class ll{digestLength=32;secret;pending=[];pendingBytes=0;fallback;finished=!1;constructor(e){e&&(this.secret=Rt(e))}update(e){if(this.finished)throw new Error("Attempted to update an already finished HMAC.");this.fallback?this.fallback.update(e):(this.pending.push(e.slice()),this.pendingBytes+=e.byteLength,this.pendingBytes>=8388608&&this.switchToFallback())}async digest(){if(this.fallback)return this.fallback.digest();if(this.secret&&this.finished)throw new Error("Attempted to digest an already finished HMAC.");const e=zs(this.pending);if(cl){if(this.secret){this.finished=!0;const t=await cl.importKey("raw",this.secret,{name:"HMAC",hash:"SHA-256"},!1,["sign"]),n=await cl.sign("HMAC",t,e);return new Uint8Array(n)}const t=await cl.digest("SHA-256",e);return new Uint8Array(t)}const t=new nl(this.secret);return t.update(e),t.digest()}reset(){this.pending=[],this.pendingBytes=0,this.fallback=void 0,this.finished=!1}switchToFallback(){const e=new nl(this.secret);for(const t of this.pending)e.update(t);this.fallback=e,this.pending=[],this.pendingBytes=0}}const ul=(e,t)=>{const{base64Encoder:n,bodyLengthChecker:r,checksumAlgorithmFn:i,checksumLocationName:o,streamHasher:a}=t,s=void 0!==n&&void 0!==r&&void 0!==i&&void 0!==o&&void 0!==a,c=s?a(i,e):void 0,l=e.getReader();return new ReadableStream({async pull(e){const{value:t,done:i}=await l.read();if(i){if(e.enqueue("0\r\n"),s){const t=n(await c);e.enqueue(`${o}:${t}\r\n`),e.enqueue("\r\n")}e.close()}else e.enqueue(`${(r(t)||0).toString(16)}\r\n${t}\r\n`)}})},fl=e=>{const t=(({defaultsMode:e}={})=>(()=>{let t,n,r,i=!1;const o=async()=>{n||(n=(async()=>{const t="function"==typeof e?await e():e;switch(t?.toLowerCase()){case"auto":return Promise.resolve((()=>{const e=window?.navigator;if(e?.connection){const{effectiveType:t,rtt:n,downlink:r}=e.connection;if("string"==typeof t&&"4g"!==t||Number(n)>100||Number(r)<10)return!0}return e?.userAgentData?.mobile||"number"==typeof e?.maxTouchPoints&&e?.maxTouchPoints>1})()?"mobile":"standard");case"mobile":case"in-region":case"cross-region":case"standard":case"legacy":return Promise.resolve(t?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${Ms.join(", ")}, got ${t}`)}})());try{t=await n,r=!0,i=!1}finally{n=void 0}return t};return async e=>(r&&!e?.forceRefresh||(t=await o()),t)})())(e),n=()=>
2t().then(Os),r=(e=>({apiVersion:"2006-03-01",base64Decoder:e?.base64Decoder??je,base64Encoder:e?.base64Encoder??Le,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??bi,extensions:e?.extensions??[],getAwsChunkedEncodingStream:e?.getAwsChunkedEncodingStream??ul,httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Ei,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new Ys},{schemeId:"aws.auth#sigv4a",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4a"),signer:new Zs}],logger:e?.logger??new Ie,md5:e?.md5??Kc,protocol:e?.protocol??Gc,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.s3",errorTypeRegistries:hs,xmlNamespace:"http://s3.amazonaws.com/doc/2006-03-01/",version:"2006-03-01",serviceTarget:"AmazonS3"},sdkStreamMixin:e?.sdkStreamMixin??tc,serviceId:e?.serviceId??"S3",sha1:e?.sha1??qs,sha256:e?.sha256??ll,signerConstructor:e?.signerConstructor??wn,signingEscapePath:e?.signingEscapePath??!1,urlParser:e?.urlParser??le,useArnRegion:e?.useArnRegion??void 0,utf8Decoder:e?.utf8Decoder??Fe.a,utf8Encoder:e?.utf8Encoder??Be.P}))(e);return{...r,...e,runtime:"browser",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??Ds,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(new Error("Credential is missing"))),defaultUserAgentProvider:e?.defaultUserAgentProvider??As({serviceId:r.serviceId,clientVersion:"3.1113.0"}),eventStreamSerdeProvider:e?.eventStreamSerdeProvider??Is.J,maxAttempts:e?.maxAttempts??3,region:e?.region??(()=>Promise.reject("Region is missing")),requestHandler:Ls.create(e?.requestHandler??n),retryMode:e?.retryMode??(async()=>(await n()).retryMode||v),streamCollector:e?.streamCollector??Vs,streamHasher:e?.streamHasher??Ps,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}};var dl;!function(e){e.MD5="md5",e.CRC32="crc32",e.CRC32C="crc32c",e.SHA1="sha1",e.SHA256="sha256"}(dl||(dl={}));const hl=Object.values(dl),pl=(e,t)=>{const n=Object.assign((e=>({setRegion(t){e.region=t},region:()=>e.region}))(e),(e=>Object.assign((e=>{const t=[];for(const n in dl){const r=dl[n];void 0!==e[r]&&t.push({algorithmId:()=>r,checksumConstructor:()=>e[r]})}for(const[n,r]of Object.entries(e.checksumAlgorithms??{}))t.push({algorithmId:()=>n,checksumConstructor:()=>r});return{addChecksumAlgorithm(n){e.checksumAlgorithms=e.checksumAlgorithms??{};const r=n.algorithmId(),i=n.checksumConstructor();hl.includes(r)?e.checksumAlgorithms[r.toUpperCase()]=i:e.checksumAlgorithms[r]=i,t.push(n)},checksumAlgorithms:()=>t}})(e),(e=>({setRetryStrategy(t){e.retryStrategy=t},retryStrategy:()=>e.retryStrategy}))(e)))(e),(e=>(e.logger&&"NoOpLogger"!==e.logger.constructor?.name&&e.requestHandler?.updateHttpClientConfig?.(Symbol.for("logger"),e.logger),{setHttpHandler(t){e.requestHandler=t},httpHandler:()=>e.requestHandler,updateHttpClientConfig(t,n){e.requestHandler?.updateHttpClientConfig(t,n)},httpHandlerConfigs:()=>e.requestHandler.httpHandlerConfigs()}))(e),(e=>{const t=e.httpAuthSchemes;let n=e.httpAuthSchemeProvider,r=e.credentials;return{setHttpAuthScheme(e){const n=t.findIndex(t=>t.schemeId===e.schemeId);-1===n?t.push(e):t.splice(n,1,e)},httpAuthSchemes:()=>t,setHttpAuthSchemeProvider(e){n=e},httpAuthSchemeProvider:()=>n,setCredentials(e){r=e},credentials:()=>r}})(e));return t.forEach(e=>e.configure(n)),Object.assign(e,{region:n.region()},(e=>Object.assign((e=>{const t={};return e.checksumAlgorithms().forEach(e=>{const n=e.algorithmId();hl.includes(n)&&(t[n]=e.checksumConstructor())}),t})(e),(e=>{const t={};return t.retryStrategy=e.retryStrategy(),t})(e)))(n),{requestHandler:n.httpHandler()},{httpAuthSchemes:(r=n).httpAuthSchemes(),httpAuthSchemeProvider:r.httpAuthSchemeProvider(),credentials:r.credentials()});var r};class ml extends Z{config;constructor(...[e]){const t=fl(e||{});var n;super(t),this.initConfig=t;const r=function(e){const t=h(e.userAgentAppId??void 0),{customUserAgent:n}=e;return Object.assign(e,{customUserAgent:"string"==typeof n?[[n]]:n,userAgentAppId:async()=>{const n=await t();if(!function(e){return void 0===e||"string"==typeof e&&e.length<=50}(n)){const t="NoOpLogger"!==e.logger?.constructor?.name&&e.logger?e.logger:console;"string"!=typeof n?t?.warn("userAgentAppId must be a string or undefined."):n.length>50&&t?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}return n}})}((n=t,Object.assign(n,{useFipsEndpoint:n.useFipsEndpoint??!1,useDualstackEndpoint:n.useDualstackEndpoint??!1,forcePathStyle:n.forcePathStyle??!1,useAccelerateEndpoint:n.useAccelerateEndpoint??!1,useGlobalEndpoint:n.useGlobalEndpoint??!1,disableMultiregionAccessPoints:n.disableMultiregionAccessPoints??!1,defaultSigningName:"s3",clientContextParams:n.clientContextParams??{}}))),i=(e=>{const{requestChecksumCalculation:t,responseChecksumValidation:n,requestStreamBufferSize:r}=e;return Object.assign(e,{requestChecksumCalculation:o(t??s),responseChecksumValidation:o(n??l),requestStreamBufferSize:Number(r??0),checksumAlgorithms:e.checksumAlgorithms??{}})})(r),a=((e,t)=>{const{retryStrategy:n,retryMode:r}=e,{defaultMaxAttempts:i=3,defaultBaseDelay:a=b.delay()}=t??{},s=o(e.maxAttempts??i);let c=n?Promise.resolve(n):void 0;return Object.assign(e,{maxAttempts:s,retryStrategy:()=>c??=(async()=>{const e=await s();return await o(r)()===g.ADAPTIVE?new Oe(s,{maxAttempts:e,baseDelay:a}):new Pe({maxAttempts:e,baseDelay:a})})()})})(i),c=(e=>{const{region:t,useFipsEndpoint:n}=e;if(!t)throw new Error("Region is missing");return Object.assign(e,{region:async()=>{const e=(e=>re(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e)("function"==typeof t?await t():t);return((e,t=te)=>{if(ne.has(e)||t(e))ne.add(e);else{if("*"!==e)throw new Error(`Region not accepted: region="${e}" is not a valid hostname component.`);console.warn('@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.')}})(e),e},useFipsEndpoint:async()=>{const e="string"==typeof t?t:await t();return!!re(e)||("function"!=typeof n?Promise.resolve(!!n):n())}})})(a);var u;const f=((e,{session:t})=>{const[n,r]=t,{forcePathStyle:i,useAccelerateEndpoint:o,disableMultiregionAccessPoints:a,followRegionRedirects:s,s3ExpressIdentityProvi
2der:c,bucketEndpoint:l,expectContinueHeader:u}=e;return Object.assign(e,{forcePathStyle:i??!1,useAccelerateEndpoint:o??!1,disableMultiregionAccessPoints:a??!1,followRegionRedirects:s??!1,s3ExpressIdentityProvider:c??new M(async e=>n().send(new r({Bucket:e}))),bucketEndpoint:l??!1,expectContinueHeader:u??2097152})})((e=>{const t=(e=>(e.sigv4aSigningRegionSet=h(e.sigv4aSigningRegionSet),e))(hn(e));return Object.assign(t,{authSchemePreference:o(e.authSchemePreference??[])})})((u=me(c),Object.assign(u,{eventStreamMarshaller:u.eventStreamSerdeProvider(u)}))),{session:[()=>this,Cs]}),d=pl(f,e?.extensions||[]);var y,v;this.config=d,this.middlewareStack.use(function(e){return{applyToStack:t=>{t.add((e=>(t,n)=>async r=>{const{operationSchema:i}=z(n),[,o,a,s,c,l]=i??[],u=n.endpointV2?async()=>ue(n.endpointV2):e.endpoint,f=await e.protocol.serializeRequest(Ct(o,a,s,c,l),r.input,{...e,...n,endpoint:u});return t({...r,request:f})})(e),Pt),t.add((e=>(t,n)=>async r=>{const{response:i}=await t(r),{operationSchema:o}=z(n),[,a,s,c,l,u]=o??[];try{return{response:i,output:await e.protocol.deserializeResponse(Ct(a,s,c,l,u),{...e,...n},i)}}catch(e){if(Object.defineProperty(e,"$response",{value:i,enumerable:!1,writable:!1,configurable:!1}),!("$metadata"in e)){const t="Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.";try{e.message+="\n "+t}catch(e){n.logger&&"NoOpLogger"!==n.logger?.constructor?.name?n.logger?.warn?.(t):console.warn(t)}void 0!==e.$responseBodyText&&e.$response&&(e.$response.body=e.$responseBodyText);try{if(qe.isInstance(i)){const{headers:t={},statusCode:n}=i,r=Object.entries(t);e.$metadata={httpStatusCode:n,requestId:At(/^x-[\w-]+-request-?id$/,r),extendedRequestId:At(/^x-[\w-]+-id-2$/,r),cfId:At(/^x-[\w-]+-cf-id$/,r)}}}catch(e){}}throw e}})(e),Tt),e.protocol.setSerdeContext(e)}}}(this.config)),this.middlewareStack.use((y=this.config,{applyToStack:e=>{e.add((e=>(t,n)=>async r=>{const{request:i}=r;if(!p.isInstance(i))return t(r);const{headers:o}=i,a=n?.userAgent?.map(C)||[],s=(await e.defaultUserAgentProvider()).map(C);await async function(e,t,n){const r=n.request;if("rpc-v2-cbor"===r?.headers?.["smithy-protocol"]&&w(e,"PROTOCOL_RPC_V2_CBOR","M"),"function"==typeof t.retryStrategy){const n=await t.retryStrategy();if("string"==typeof n.mode)switch(n.mode){case g.ADAPTIVE:w(e,"RETRY_MODE_ADAPTIVE","F");break;case g.STANDARD:w(e,"RETRY_MODE_STANDARD","E")}}if("function"==typeof t.accountIdEndpointMode){const n=e.endpointV2;switch(String(n?.url?.hostname).match(x)&&w(e,"ACCOUNT_ID_ENDPOINT","O"),await(t.accountIdEndpointMode?.())){case"disabled":w(e,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":w(e,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":w(e,"ACCOUNT_ID_MODE_REQUIRED","R")}}const i=e.__smithy_context?.selectedHttpAuthScheme?.identity;if(i?.$source){const t=i;t.accountId&&w(e,"RESOLVED_ACCOUNT_ID","T");for(const[n,r]of Object.entries(t.$source??{}))w(e,n,r)}}(n,e,r);const c=n;s.push(`m/${function(e){let t="";for(const n in e){const r=e[n];if(!(t.length+r.length+1<=1024))break;t.length?t+=","+r:t+=r}return t}(Object.assign({},n.__smithy_context?.features,c.__aws_sdk_context?.features))}`);const l=e?.customUserAgent?.map(C)||[],u=await e.userAgentAppId();u&&s.push(C(["app",`${u}`]));const f=[].concat([...s,...a,...l]).join(" "),d=[...s.filter(e=>e.startsWith("aws-sdk-")),...l].join(" ");return"browser"!==e.runtime?(d&&(o[k]=o[k]?`${o[S]} ${d}`:d),o[S]=f):o[k]=f,t({...r,request:i})})(y),A)}})),this.middlewareStack.use(_t(this.config)),this.middlewareStack.use((e=>({applyToStack:t=>{var n;t.add((n=e.bodyLengthChecker,e=>async t=>{const r=t.request;if(p.isInstance(r)){const{body:e,headers:t}=r;if(e&&-1===Object.keys(t).map(e=>e.toLowerCase()).indexOf(ge))try{const t=n(e);null!=t&&(r.headers={...r.headers,[ge]:String(t)})}catch(e){}}return e({...t,request:r})}),ve)}}))(this.config)),this.middlewareStack.use((e=>({applyToStack:t=>{t.add((e=>t=>async n=>{if(!p.isInstance(n.request))return t(n);const{request:r}=n,{handlerProtocol:i=""}=e.requestHandler.metadata||{};if(i.indexOf("h2")>=0&&!r.headers[":authority"])delete r.headers.host,r.headers[":authority"]=r.hostname+(r.port?":"+r.port:"");else if(!r.headers.host){let e=r.hostname;null!=r.port&&(e+=`:${r.port}`),r.headers.host=e}return t(n)})(e),m)}}
2))(this.config)),this.middlewareStack.use((this.config,{applyToStack:e=>{e.add((e,t)=>async n=>{try{const r=await e(n),{clientName:i,commandName:o,logger:a,dynamoDbDocumentClientOptions:s={}}=t,{overrideInputFilterSensitiveLog:c,overrideOutputFilterSensitiveLog:l}=s,u=c??t.inputFilterSensitiveLog,f=l??t.outputFilterSensitiveLog,{$metadata:d,...h}=r.output;return a?.info?.({clientName:i,commandName:o,input:u(n.input),output:f(h),metadata:d}),r}catch(e){const{clientName:r,commandName:i,logger:o,dynamoDbDocumentClientOptions:a={}}=t,{overrideInputFilterSensitiveLog:s}=a,c=s??t.inputFilterSensitiveLog;throw o?.error?.({clientName:r,commandName:i,input:c(n.input),error:e,metadata:e.$metadata}),e}},T)}})),this.middlewareStack.use((this.config,{applyToStack:e=>{}})),this.middlewareStack.use(((e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:n})=>({applyToStack:r=>{r.addRelativeTo(((e,t)=>(n,r)=>async i=>{const o=((e,t)=>{if(!t||0===t.length)return e;const n=[];for(const r of t)for(const t of e)t.schemeId.split("#")[1]===r&&n.push(t);for(const t of e)n.find(({schemeId:e})=>e===t.schemeId)||n.push(t);return n})(e.httpAuthSchemeProvider(await t.httpAuthSchemeParametersProvider(e,r,i.input)),e.authSchemePreference?await e.authSchemePreference():[]),a=function(e){const t=new Map;for(const n of e)t.set(n.schemeId,n);return t}(e.httpAuthSchemes),s=z(r),c=[];for(const n of o){const i=a.get(n.schemeId);if(!i){c.push(`HttpAuthScheme \`${n.schemeId}\` was not enabled for this service.`);continue}const o=i.identityProvider(await t.identityProviderConfigProvider(e));if(!o){c.push(`HttpAuthScheme \`${n.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:l={},signingProperties:u={}}=n.propertiesExtractor?.(e,r)||{};n.identityProperties=Object.assign(n.identityProperties||{},l),n.signingProperties=Object.assign(n.signingProperties||{},u),s.selectedHttpAuthScheme={httpAuthOption:n,identity:await o(n.identityProperties),signer:i.signer};break}if(!s.selectedHttpAuthScheme)throw new Error(c.join("\n"));return n(i)})(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:n}),W)}}))(this.config,{httpAuthSchemeParametersProvider:wi,identityProviderConfigProvider:async e=>new G({"aws.auth#sigv4":e.credentials,"aws.auth#sigv4a":e.credentials})})),this.middlewareStack.use((this.config,{applyToStack:e=>{e.addRelativeTo((e,t)=>async n=>{if(!p.isInstance(n.request))return e(n);const r=z(t).selectedHttpAuthScheme;if(!r)throw new Error("No HttpAuthScheme was selected: unable to sign request");const{httpAuthOption:{signingProperties:i={}},identity:o,signer:a}=r,s=await e({...n,request:await a.sign(n.request,o,i)}).catch((a.errorHandler||V)(i));return(a.successHandler||U)(s.response,i),s},$)}})),this.middlewareStack.use((e=>({applyToStack:t=>{t.add(function({bucketEndpoint:e}){return t=>async n=>{const{input:{Bucket:r}}=n;if(!e&&"string"==typeof r&&!("string"==typeof(i=r)&&0===i.indexOf("arn:")&&i.split(":").length>=6)&&r.indexOf("/")>=0){const e=new Error(`Bucket name shouldn't contain '/', received '${r}'`);throw e.name="InvalidBucketName",e}var i;return t({...n})}}(e),R),t.addRelativeTo(function(e){return(t,n)=>async r=>{if(e.bucketEndpoint){const e=n.endpointV2;if(e){const t=r.input.Bucket;if("string"==typeof t)try{const r=new URL(t);n.endpointV2={...e,url:r}}catch(e){const r=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${t} could not be parsed as URL.`;throw"NoOpLogger"===n.logger?.constructor?.name?console.warn(r):n.logger?.warn?.(r),e}}}return t(r)}}(e),I)}}))(this.config)),this.middlewareStack.use((e=>({applyToStack:t=>{t.add(function(e){return t=>async n=>{const{request:r}=n;if(!1!==e.expectContinueHeader&&p.isInstance(r)&&r.body&&"node"===e.runtime&&"FetchHttpHandler"!==e.requestHandler?.constructor?.name){let t=!0;if("number"==typeof e.expectContinueHeader)try{t=(Number(r.headers?.["content-length"])??e.bodyLengthChecker?.(r.body)??1/0)>=e.expectContinueHeader}catch(e){}else t=!!e.expectContinueHeader;t&&(r.headers.Expect="100-continue")}return t({...n,request:r})}}(e),D)}}))(this.config)),this.middlewareStack.use((v=this.config,{applyToStack:e=>{var t;e.add(function(e){return(t,n)=>async r=>{try{return await t(r)}catch(i){if(e.followRegionRedirects){const o=i?.$metadata?.httpStatusCode,a="HeadBucketCommand"===n.commandName,s=i?.$response?.headers?.["x-amz-bucket-region"];
2if(s&&(301===o||400===o&&("IllegalLocationConstraintException"===i?.name||a))){try{const t=s;n.logger?.debug(`Redirecting from ${await e.region()} to ${t}`),n.__s3RegionRedirect=t}catch(e){throw new Error("Region redirect failed: "+e)}return t(r)}}throw i}}}(v),j),e.addRelativeTo((t=v,(e,n)=>async r=>{const i=await t.region(),o=t.region;let a=()=>{};n.__s3RegionRedirect&&(Object.defineProperty(t,"region",{writable:!1,value:async()=>n.__s3RegionRedirect}),a=()=>Object.defineProperty(t,"region",{writable:!0,value:o}));try{const o=await e(r);if(n.__s3RegionRedirect&&(a(),i!==await t.region()))throw new Error("Region was not restored following S3 region redirect.");return o}catch(e){throw a(),e}}),N)}})),this.middlewareStack.use((e=>({applyToStack:t=>{t.add((e=>(t,n)=>async r=>{if(n.endpointV2){const t=n.endpointV2,i="sigv4-s3express"===t.properties?.authSchemes?.[0]?.name;if(("S3Express"===t.properties?.backend||"Directory"===t.properties?.bucketType)&&(w(n,"S3_EXPRESS_BUCKET","J"),n.isS3ExpressBucket=!0),i){const t=r.input.Bucket;if(t){const i=await e.s3ExpressIdentityProvider.getS3ExpressIdentity(await e.credentials(),{Bucket:t});n.s3ExpressIdentity=i,p.isInstance(r.request)&&i.sessionToken&&(r.request.headers[F]=i.sessionToken)}}}return t(r)})(e),L)}}))(this.config)),this.middlewareStack.use((e=>({applyToStack:t=>{t.addRelativeTo((e=>(t,n)=>async r=>{if(!p.isInstance(r.request))return t(r);const i=z(n).selectedHttpAuthScheme;if(!i)throw new Error("No HttpAuthScheme was selected: unable to sign request");const{httpAuthOption:{signingProperties:o={}},identity:a,signer:s}=i;let c;c=n.s3ExpressIdentity?await(async(e,t,n,r)=>{const i=await r.signWithCredentials(n,e,{});if(i.headers["X-Amz-Security-Token"]||i.headers["x-amz-security-token"])throw new Error("X-Amz-Security-Token must not be set for s3-express requests.");return i})(n.s3ExpressIdentity,0,r.request,await e.signer()):await s.sign(r.request,a,o);const l=await t({...r,request:c}).catch((s.errorHandler||H)(o));return(s.successHandler||q)(l.response,o),l})(e),$)}}))(this.config))}destroy(){super.destroy()}}class yl extends(To(Mo,Do,"GetObject",_s)){}function gl(){gl=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,i){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),s=new _(i||[]);return r(a,"_invoke",{value:x(e,n,s)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var f={};function d(){}function h(){}function p(){}var m={};c(m,o,function(){return this});var y=Object.getPrototypeOf,g=y&&y(y(C([])));g&&g!==t&&n.call(g,o)&&(m=g);var v=p.prototype=d.prototype=Object.create(m);function b(e){["next","throw","return"].forEach(function(t){c(e,t,function(e){return this._invoke(t,e)})})}function w(e,t){function i(r,o,a,s){var c=u(e[r],e,o);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then(function(e){i("next",e,a,s)},function(e){i("throw",e,a,s)}):t.resolve(f).then(function(e){l.value=e,a(l)},function(e){return i("throw",e,a,s)})}s(c.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t(function(t,r){i(e,n,t,r)})}return o=o?o.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=u(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&
vendor: 10,462 bytes, line 2
2(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=u(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,f;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:A}}function A(){return{value:void 0,done:!0}}return h.prototype=p,r(v,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:h,configurable:!0}),h.displayName=c(p,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},b(w.prototype),c(w.prototype,a,function(){return this}),e.AsyncIterator=w,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new w(l(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},b(v),c(v,s,"Generator"),c(v,o,function(){return this}),c(v,"toString",function(){return"[object Generator]"}),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=C,_.prototype={constructor:_,reset:function(e){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(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;E(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function vl(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function bl(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){vl(o,r,i,a,s,"next",e)}function s(e){vl(o,r,i,a,s,"throw",e)}a(void 0)})}}function wl(){return wl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wl.apply(this,arguments)}var xl=1e4,Sl={ss:"situation_string",es:"end_of_street",eg:"end_of_game",nc:"num_children",ic:"is_included",tb:"total_probability",tc:"total_combinations"},kl={su:"status",rs:"remaining_stack",bt:"bet"},El={nc:"num_children",ic:"is_included",st:"street",cc:"community_cards"},_l=["AA","KK","QQ","JJ","TT","99","88","77","66","55","44","33","22","AKo","AQo","AJo","ATo","A9o","A8o","A7o","A6o","A5o","A4o","A3o","A2o","KQo","KJo","KTo","K9o","K8o","K7o","K6o","K5o","K4o","K3o","K2o","QJo","QTo","Q9o","Q8o","Q7o","Q6o","Q5o","Q4o","Q3o","Q2o","JTo","J9o","J8o","J7o","J6o","J5o","J4o","J3o","J2o","T9o","T8o","T7o","T6o","T5o","T4o","T3o","T2o","98o","97o","96o","95o","94o","93o","92o","87o","86o","85o","84o","83o","82o","76o","75o","74o","73o","72o","65o","64o","63o","62o","54o","53o","52o","43o","42o","32o","AKs","AQs","AJs","ATs","A9s","A8s","A7s","A6s","A5s","A4s","A3s","A2s","KQs","KJs","KTs","K9s","K8s","K7s","K6s","K5s","K4s","K3s","K2s","QJs","QTs","Q9s","Q8s","Q7s","Q6s","Q5s","Q4s","Q3s","Q2s","JTs","J9s","J8s","J7s","J6s","J5s","J4s","J3s","J2s","T9s","T8s","T7s","T6s","T5s","T4s","T3s","T2s","98s","97s","96s","95s","94s","93s","92s","87s","86s","85s","84s","83s","82s","76s","75s","74s","73s","72s","65s","64s","63s","62s","54s","53s","52s","43s","42s","32s"],Cl={22:["2s2h","2s2d","2s2c","2h2d","2h2c","2d2c"],33:["3s3h","3s3d","3s3c","3h3d","3h3c","3d3c"],44:["4s4h","4s4d","4s4c","4h4d","4h4c","4d4c"],55:["5s5h","5s5d","5s5c","5h5d","5h5c","5d5c"],66:["6s6h","6s6d","6s6c","6h6d","6h6c","6d6c"],77:["7s7h","7s7d","7s7c","7h7d","7h7c","7d7c"],88:["8s8h","8s8d","8s8c","8h8d","8h8c","8d8c"],99:["9s9h","9s9d","9s9c","9h9d","9h9c","9d9c"],"32o":["3s2h","3s2d","3s2c","3h2s","3h2d","3h2c","3d2s","3d2h","3d2c","3c2s","3c2h","3c2d"],"32s":["3s2s","3h2h","3d2d","3c2c"],"42o":["4s2h","4s2d","4s2c","4h2s","4h2d","4h2c","4d2s","4d2h","4d2c","4c2s","4c2h","4c2d"],"42s":["4s2s","4h2h","4d2d","4c2c"],"43o":["4s3h","4s3d","4s3c","4h3s","4h3d","4h3c","4d3s","4d3h","4d3c","4c3s","4c3h","4c3d"],"43s":["4s3s","4h3h","4d3d","4c3c"],"52o":["5s2h","5s2d","5s2c","5h2s","5h2d","5h2c","5d2s","5d2h","5d2c","5c2s","5c2h","5c2d"],"52s":["5s2s","5h2h","5d2d","5c2c"],"53o":["5s3h","5s3d","5s3c","5h3s","5h3d","5h3c","5d3s","5d3h","5d3c","5c3s","5c3h","5c3d"],"53s":["5s3s","5h3h","5d3d","5c3c"],"54o":["5s4h","5s4d","5s4c","5h4s","5h4d","5h4c","5d4s","5d4h","5d4c","5c4s","5c4h","5c4d"],"54s":["5s4s","5h4h","5d4d","5c4c"],"62o":["6s2h","6s2d","6s2c","6h2s","6h2d","6h2c","6d2s","6d2h","6d2c","6c2s","6c2h","6c2d"],"62s":["6s2s","6h2h","6d2d","6c2c"],"63o":["6s3h","6s3d","6s3c","6h3s","6h3d","6h3c","6d3s","6d3h","6d3c","6c3s","6c3h","6c3d"],"63s":["6s3s","6h3h","6d3d","6c3c"],"64o":["6s4h","6s4d","6s4c","6h4s","6h4d","6h4c","6d4s","6d4h","6d4c","6c4s","6c4h","6c4d"],"64s":["6s4s","6h4h","6d4d","6c4c"],"65o":["6s5h","6s5d","6s5c","6h5s","6h5d","6h5c","6d5s","6d5h","6d5c","6c5s","6c5h","6c5d"],"65s":["6s5s","6h5h","6d5d","6c5c"],"72o":["7s2h","7s2d","7s2c","7h2s","7h2d","7h2c","7d2s","7d2h","7d2c","7c2s","7c2h","7c2d"],"72s":["7s2s","7h2h","7d2d","7c2c"],"73o":["7s3h","7s3d","7s3c","7h3s","7h3d","7h3c","7d3s","7d3h","7d3c","7c3s","7c3h","7c3d"],"73s":["7s3s","7h3h","7d3d","7c3c"],"74o":["7s4h","7s4d","7s4c","7h4s","7h4d","7h4c","7d4s","7d4h","7d4c","7c4s","7c4h","7c4d"],"74s":["7s4s","7h4h","7d4d","7c4c"],"75o":["7s5h","7s5d","7s5c","7h5s","7h5d","7h5c","7d5s","7d5h","7d5c","7c5s","7c5h","7c5d"],"75s":["7s5s","7h5h","7d5d","7c5c"],"76o":["7s6h","7s6d","7s6c","7h6s","7h6d","7h6c","7d6s","7d6h","7d6c","7c6s","7c6h","7c6d"],"76s":["7s6s","7h6h","7d6d","7c6c"],"82o":["8s2h","8s2d","8s2c","8h2s","8h2d","8h2c","8d2s","8d2h","8d2c","8c2s","8c2h","8c2d"],"82s":["8s2s","8h2h","8d2d","8c2c"],"83o":["8s3h","8s3d","8s3c","8h3s","8h3d","8h3c","8d3s","8d3h","8d3c","8c3s","8c3h","8c3d"],"83s":["8s3s","8h3h","8d3d","8c3c"],"84o":["8s4h","8s4d","8s4c","8h4s","8h4d","8h4c","8d4s","8d4h","8d4c","8c4s","8c4h","8c4d"],"84s":["8s4s","8h4h","8d4d","8c4c"],"85o":["8s5h","8s5d","8s5c","8h5s","8h5d","8h5c","8d5s","8d5h","8d5c","8c5s","8c5h","8c5d"],"85s":["8s5s","8h5h","8d5d","8c5c"],"86o":["8s6h","8s6d","8s6c","8h6s","8h6d","8h6c","8d6s","8d6h","8d6c","8c6s","8c6h","8c6d"],"86s":["8s6s","8h6h","8d6d","8c6c"],"87o":["8s7h","8s7d","8s7c","8h7s","8h7d","8h7c","8d7s","8d7h","8d7c","8c7s","8c7h","8c7d"],"87s":["8s7s","8h7h","8d7d","8c7c"],"92o":["9s2h","9s2d","9s2c","9h2s","9h2d","9h2c","9d2s","9d2h","9d2c","9c2s","9c2h","9c2d"],"92s":["9s2s","9h2h","9d2d","9c2c"],"93o":["9s3h","9s3d","9s3c","9h3s","9h3d","9h3c","9d3s","9d3h","9d3c","9c3s","9c3h","9c3d"],"93s":["9s3s","9h3h","9d3d","9c3c"],"94o":["9s4h","9s4d","9s4c","9h4s","9h4d","9h4c","9d4s","9d4h","9d4c","9c4s","9c4h","9c4d"],"94s":["9s4s","9h4h","9d4d","9c4c"],"95o":["9s5h","9s5d","9s5c","9h5s","9h5d","9h5c","9d5s","9d5h","9d5c","9c5s","9c5h","9c5d"],"95s":["9s5s","9h5h","9d5d","9c5c"],"96o":["9s6h","9s6d","9s6c","9h6s","9h6d","9h6c","9d6s","9d6h","9d6c","9c6s","9c6h","9c6d"],"96s":["9s6s","9h6h","9d6d","9c6c"],"97o":["9s7h","9s7d","9s7c","9h7s","9h7d","9h7c","9d7s","9d7h","9d7c","9c7s","9c7h","9c7d"],"97s":["9s7s","9h7h","9d7d","9c7c"],"98o":["9s8h","9s8d","9s8c","9h8s","9h8d","9h8c","9d8s","9d8h","9d8c","9c8s","9c8h","9c8d"],"98s":["9s8s","9h8h","9d8d","9c8c"],A2o:["As2h","As2d","As2c","Ah2s","Ah2d","Ah2c","Ad2s","Ad2h","Ad2c","Ac2s","Ac2h","Ac2d"],A2s:["As2s","Ah2h","Ad2d","Ac2c"],A3o:["As3h","As3d","As3c","Ah3s","Ah3d","Ah3c","Ad3s","Ad3h","Ad3c","Ac3s","Ac3h","Ac3d"],A3s:["As3s","Ah3h","Ad3d","Ac3c"],A4o:["As4h","As4d","As4c","Ah4s","Ah4d","Ah4c","Ad4s","Ad4h","Ad4c","Ac4s","Ac4h","Ac4d"],A4s:["As4s","Ah4h","Ad4d","A
2c4c"],A5o:["As5h","As5d","As5c","Ah5s","Ah5d","Ah5c","Ad5s","Ad5h","Ad5c","Ac5s","Ac5h","Ac5d"],A5s:["As5s","Ah5h","Ad5d","Ac5c"],A6o:["As6h","As6d","As6c","Ah6s","Ah6d","Ah6c","Ad6s","Ad6h","Ad6c","Ac6s","Ac6h","Ac6d"],A6s:["As6s","Ah6h","Ad6d","Ac6c"],A7o:["As7h","As7d","As7c","Ah7s","Ah7d","Ah7c","Ad7s","Ad7h","Ad7c","Ac7s","Ac7h","Ac7d"],A7s:["As7s","Ah7h","Ad7d","Ac7c"],A8o:["As8h","As8d","As8c","Ah8s","Ah8d","Ah8c","Ad8s","Ad8h","Ad8c","Ac8s","Ac8h","Ac8d"],A8s:["As8s","Ah8h","Ad8d","Ac8c"],A9o:["As9h","As9d","As9c","Ah9s","Ah9d","Ah9c","Ad9s","Ad9h","Ad9c","Ac9s","Ac9h","Ac9d"],A9s:["As9s","Ah9h","Ad9d","Ac9c"],AA:["AsAh","AsAd","AsAc","AhAd","AhAc","AdAc"],AJo:["AsJh","AsJd","AsJc","AhJs","AhJd","AhJc","AdJs","AdJh","AdJc","AcJs","AcJh","AcJd"],AJs:["AsJs","AhJh","AdJd","AcJc"],AKo:["AsKh","AsKd","AsKc","AhKs","AhKd","AhKc","AdKs","AdKh","AdKc","AcKs","AcKh","AcKd"],AKs:["AsKs","AhKh","AdKd","AcKc"],AQo:["AsQh","AsQd","AsQc","AhQs","AhQd","AhQc","AdQs","AdQh","AdQc","AcQs","AcQh","AcQd"],AQs:["AsQs","AhQh","AdQd","AcQc"],ATo:["AsTh","AsTd","AsTc","AhTs","AhTd","AhTc","AdTs","AdTh","AdTc","AcTs","AcTh","AcTd"],ATs:["AsTs","AhTh","AdTd","AcTc"],J2o:["Js2h","Js2d","Js2c","Jh2s","Jh2d","Jh2c","Jd2s","Jd2h","Jd2c","Jc2s","Jc2h","Jc2d"],J2s:["Js2s","Jh2h","Jd2d","Jc2c"],J3o:["Js3h","Js3d","Js3c","Jh3s","Jh3d","Jh3c","Jd3s","Jd3h","Jd3c","Jc3s","Jc3h","Jc3d"],J3s:["Js3s","Jh3h","Jd3d","Jc3c"],J4o:["Js4h","Js4d","Js4c","Jh4s","Jh4d","Jh4c","Jd4s","Jd4h","Jd4c","Jc4s","Jc4h","Jc4d"],J4s:["Js4s","Jh4h","Jd4d","Jc4c"],J5o:["Js5h","Js5d","Js5c","Jh5s","Jh5d","Jh5c","Jd5s","Jd5h","Jd5c","Jc5s","Jc5h","Jc5d"],J5s:["Js5s","Jh5h","Jd5d","Jc5c"],J6o:["Js6h","Js6d","Js6c","Jh6s","Jh6d","Jh6c","Jd6s","Jd6h","Jd6c","Jc6s","Jc6h","Jc6d"],J6s:["Js6s","Jh6h","Jd6d","Jc6c"],J7o:["Js7h","Js7d","Js7c","Jh7s","Jh7d","Jh7c","Jd7s","Jd7h","Jd7c","Jc7s","Jc7h","Jc7d"],J7s:["Js7s","Jh7h","Jd7d","Jc7c"],J8o:["Js8h","Js8d","Js8c","Jh8s","Jh8d","Jh8c","Jd8s","Jd8h","Jd8c","Jc8s","Jc8h","Jc8d"],J8s:["Js8s","Jh8h","Jd8d","Jc8c"],J9o:["Js9h","Js9d","Js9c","Jh9s","Jh9d","Jh9c","Jd9s","Jd9h","Jd9c","Jc9s","Jc9h","Jc9d"],J9s:["Js9s","Jh9h","Jd9d","Jc9c"],JJ:["JsJh","JsJd","JsJc","JhJd","JhJc","JdJc"],JTo:["JsTh","JsTd","JsTc","JhTs","JhTd","JhTc","JdTs","JdTh","JdTc","JcTs","JcTh","JcTd"],JTs:["JsTs","JhTh","JdTd","JcTc"],K2o:["Ks2h","Ks2d","Ks2c","Kh2s","Kh2d","Kh2c","Kd2s","Kd2h","Kd2c","Kc2s","Kc2h","Kc2d"],K2s:["Ks2s","Kh2h","Kd2d","Kc2c"],K3o:["Ks3h","Ks3d","Ks3c","Kh3s","Kh3d","Kh3c","Kd3s","Kd3h","Kd3c","Kc3s","Kc3h","Kc3d"],K3s:["Ks3s","Kh3h","Kd3d","Kc3c"],K4o:["Ks4h","Ks4d","Ks4c","Kh4s","Kh4d","Kh4c","Kd4s","Kd4h","Kd4c","Kc4s","Kc4h","Kc4d"],K4s:["Ks4s","Kh4h","Kd4d","Kc4c"],K5o:["Ks5h","Ks5d","Ks5c","Kh5s","Kh5d","Kh5c","Kd5s","Kd5h","Kd5c","Kc5s","Kc5h","Kc5d"],K5s:["Ks5s","Kh5h","Kd5d","Kc5c"],K6o:["Ks6h","Ks6d","Ks6c","Kh6s","Kh6d","Kh6c","Kd6s","Kd6h","Kd6c","Kc6s","Kc6h","Kc6d"],K6s:["Ks6s","Kh6h","Kd6d","Kc6c"],K7o:["Ks7h","Ks7d","Ks7c","Kh7s","Kh7d","Kh7c","Kd7s","Kd7h","Kd7c","Kc7s","Kc7h","Kc7d"],K7s:["Ks7s","Kh7h","Kd7d","Kc7c"],K8o:["Ks8h","Ks8d","Ks8c","Kh8s","Kh8d","Kh8c","Kd8s","Kd8h","Kd8c","Kc8s","Kc8h","Kc8d"],K8s:["Ks8s","Kh8h","Kd8d","Kc8c"],K9o:["Ks9h","Ks9d","Ks9c","Kh9s","Kh9d","Kh9c","Kd9s","Kd9h","Kd9c","Kc9s","Kc9h","Kc9d"],K9s:["Ks9s","Kh9h","Kd9d","Kc9c"],KJo:["KsJh","KsJd","KsJc","KhJs","KhJd","KhJc","KdJs","KdJh","KdJc","KcJs","KcJh","KcJd"],KJs:["KsJs","KhJh","KdJd","KcJc"],KK:["KsKh","KsKd","KsKc","KhKd","KhKc","KdKc"],KQo:["KsQh","KsQd","KsQc","KhQs","KhQd","KhQc","KdQs","KdQh","KdQc","KcQs","KcQh","KcQd"],KQs:["KsQs","KhQh","KdQd","KcQc"],KTo:["KsTh","KsTd","KsTc","KhTs","KhTd","KhTc","KdTs","KdTh","KdTc","KcTs","KcTh","KcTd"],KTs:["KsTs","KhTh","KdTd","KcTc"],Q2o:["Qs2h","Qs2d","Qs2c","Qh2s","Qh2d","Qh2c","Qd2s","Qd2h","Qd2c","Qc2s","Qc2h","Qc2d"],Q2s:["Qs2s","Qh2h","Qd2d","Qc2c"],Q3o:["Qs3h","Qs3d","Qs3c","Qh3s","Qh3d","Qh3c","Qd3s","Qd3h","Qd3c","Qc3s","Qc3h","Qc3d"],Q3s:["Qs3s","Qh3h","Qd3d","Qc3c"],Q4o:["Qs4h","Qs4d","Qs4c","Qh4s","Qh4d","Qh4c","Qd4s","Qd4h","Qd4c","Qc4s","Qc4h","Qc4d"],Q4s:["Qs4s","Qh4h","Qd4d","Qc4c"],Q5o:["Qs5h","Qs5d","Qs5c","Qh5s","Qh5d","Qh5c","Qd5s","Qd5h","Qd5c","Qc5s","Qc5h","Qc5d"],Q5s:["Qs5s","Qh5h","Qd5d","Qc5c"],Q6o:["Qs6h","Qs6d","Qs6c","Qh6s","Qh6d","Qh6c","Qd6s","Qd6h","Qd6c","Qc6s","Qc6h","Qc6d"],Q6s:["Qs6s","Qh6h","Qd6d","Qc6c"],Q
27o:["Qs7h","Qs7d","Qs7c","Qh7s","Qh7d","Qh7c","Qd7s","Qd7h","Qd7c","Qc7s","Qc7h","Qc7d"],Q7s:["Qs7s","Qh7h","Qd7d","Qc7c"],Q8o:["Qs8h","Qs8d","Qs8c","Qh8s","Qh8d","Qh8c","Qd8s","Qd8h","Qd8c","Qc8s","Qc8h","Qc8d"],Q8s:["Qs8s","Qh8h","Qd8d","Qc8c"],Q9o:["Qs9h","Qs9d","Qs9c","Qh9s","Qh9d","Qh9c","Qd9s","Qd9h","Qd9c","Qc9s","Qc9h","Qc9d"],Q9s:["Qs9s","Qh9h","Qd9d","Qc9c"],QJo:["QsJh","QsJd","QsJc","QhJs","QhJd","QhJc","QdJs","QdJh","QdJc","QcJs","QcJh","QcJd"],QJs:["QsJs","QhJh","QdJd","QcJc"],QQ:["QsQh","QsQd","QsQc","QhQd","QhQc","QdQc"],QTo:["QsTh","QsTd","QsTc","QhTs","QhTd","QhTc","QdTs","QdTh","QdTc","QcTs","QcTh","QcTd"],QTs:["QsTs","QhTh","QdTd","QcTc"],T2o:["Ts2h","Ts2d","Ts2c","Th2s","Th2d","Th2c","Td2s","Td2h","Td2c","Tc2s","Tc2h","Tc2d"],T2s:["Ts2s","Th2h","Td2d","Tc2c"],T3o:["Ts3h","Ts3d","Ts3c","Th3s","Th3d","Th3c","Td3s","Td3h","Td3c","Tc3s","Tc3h","Tc3d"],T3s:["Ts3s","Th3h","Td3d","Tc3c"],T4o:["Ts4h","Ts4d","Ts4c","Th4s","Th4d","Th4c","Td4s","Td4h","Td4c","Tc4s","Tc4h","Tc4d"],T4s:["Ts4s","Th4h","Td4d","Tc4c"],T5o:["Ts5h","Ts5d","Ts5c","Th5s","Th5d","Th5c","Td5s","Td5h","Td5c","Tc5s","Tc5h","Tc5d"],T5s:["Ts5s","Th5h","Td5d","Tc5c"],T6o:["Ts6h","Ts6d","Ts6c","Th6s","Th6d","Th6c","Td6s","Td6h","Td6c","Tc6s","Tc6h","Tc6d"],T6s:["Ts6s","Th6h","Td6d","Tc6c"],T7o:["Ts7h","Ts7d","Ts7c","Th7s","Th7d","Th7c","Td7s","Td7h","Td7c","Tc7s","Tc7h","Tc7d"],T7s:["Ts7s","Th7h","Td7d","Tc7c"],T8o:["Ts8h","Ts8d","Ts8c","Th8s","Th8d","Th8c","Td8s","Td8h","Td8c","Tc8s","Tc8h","Tc8d"],T8s:["Ts8s","Th8h","Td8d","Tc8c"],T9o:["Ts9h","Ts9d","Ts9c","Th9s","Th9d","Th9c","Td9s","Td9h","Td9c","Tc9s","Tc9h","Tc9d"],T9s:["Ts9s","Th9h","Td9d","Tc9c"],TT:["TsTh","TsTd","TsTc","ThTd","ThTc","TdTc"]},Al=["A","K","Q","J","T","9","8","7","6","5","4","3","2"],Tl=["s","h","d","c"],Pl=function(e,t){return Al.indexOf(e)-Al.indexOf(t)},Ol=function(e,t){return Tl.indexOf(e)-Tl.indexOf(t)},Ml=function(e,t){var n=e[0],r=e[1],i=t[0],o=t[1];return n!==i?Pl(n,i):Ol(r,o)},Il=function(e){return[e.slice(0,2),e.slice(2)].sort(Ml).join("")},Rl=function(e){return e.sort(Ml)},Dl=function(e,t){return t?[e.slice(0,2),e.slice(2)].map(function(e){var n=e[0],r=e[1];return""+n+t[r]}).sort(function(e,t){var n=e[0],r=e[1],i=t[0],o=t[1];return n!==i?Pl(n,i):Ol(r,o)}).join(""):e};function Nl(e,t){return Math.round(e*t/xl)}var jl,Fl,Ll,Bl=function(e){return 2+2*e+4*e},zl=function(e,t){return e+2+2*t},Vl=function(e,t,n,r,i,o){void 0===o&&(o=!1);var a=e.getInt16(r,!1),s=Object.fromEntries(t.map(function(t,n){return[t,e.getInt16(zl(r,n),!1)]})),c=Object.fromEntries(Object.entries(s).map(function(e){var t=e[0],n=e[1];return[t,Nl(a,n)]})),l=Object.fromEntries(t.map(function(n,o){var s=e.getFloat32(function(e,t,n){return e+2+2*t+4*n}(r,t.length,o),!1);return[n,a?s+i:s]})),u=Object.keys(s).reduce(function(e,t){return{strategyEv:e.strategyEv+s[t]*((null==l?void 0:l[t])||0),totalFrequency:e.totalFrequency+s[t]}},{strategyEv:0,totalFrequency:0}),f=u.strategyEv,d=u.totalFrequency;return{key:n,range:a,normalizedStrategy:s,denormalizedStrategy:c,ev:l,strategyEv:o||0===d?void 0:f/d}},Ul=function(){var e=bl(gl().mark(function e(t,n,r,i){var o,a,s,c,l,u,f;return gl().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=new Response(t,{}),e.next=3,o.arrayBuffer();case 3:return a=e.sent,s=new DataView(a),c={},l={},u=0,f=Bl(n.length),_l.forEach(function(e){var t=Vl(s,n,e,u,r);u+=f,Cl[e].forEach(function(e){l[Dl(e,i)]=Vl(s,n,Dl(e,i),u,r),u+=f});var o,a,d=Cl[e].map(function(e){return{strategyEv:l[e].strategyEv,range:l[e].range}});c[e]=wl({},t,{strategyEv:(o=d,a=o.reduce(function(e,t){return t?{strategyEv:(e.strategyEv||0)+(t.strategyEv||0)*t.range,range:e.range+t.range}:e},{range:0,strategyEv:0}),0!==a.range?(a.strategyEv||0)/a.range:0),hands:Cl[e]})}),e.abrupt("return",{handGroups:c,hands:l});case 11:case"end":return e.stop()}},e)}));return function(t,n,r,i){return e.apply(this,arguments)}}(),$l=function(){var e=bl(gl().mark(function e(t,n,r,i){var o,a,s,c,l,u,f;return gl().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=new Response(t,{}),e.next=3,o.arrayBuffer();case 3:return a=e.sent,s=new DataView(a),c={},l={},u=0,f=Bl(n.length),_l.forEach(function(e){var t=Vl(s,n,e,u,r);Cl[e].forEach(function(e){var n=Dl(e,i);l[n]=wl({},t,{key:n})}),u+=f,c[e]=wl({},t,{hands:Cl[e]})}),e.abrupt("return",{handGroups:c,hands:l});case 11:case"end":return e.stop()}},e)}));return function(t,n,r,i){return e.apply(this,arguments)}}(),Hl=function(e){return parseInt(e.substring(1),10)};!function(e){e.FLOP="flop",e.TURN="turn",e.RIVER="river"}(jl||(jl={})),function(e){e.ACTIVE="active",e.FOLDED="folded",e.ALLIN="all-in",e.ALLIN_DEPRECATED="allin"}(Fl||(Fl={})),function(e){e[e.RAW_EV=1]="RAW_EV",e[e.STANDARD_EV=2]="STANDARD_EV",e[e.MAPPED_KEYS=3]="MAPPED_KEYS"}(Ll||(Ll={}));var ql,Wl,Gl=function(e){return e===Fl.ALLIN||e===Fl.ALLIN_DEPRECATED},Kl=function(e){return e!==Fl.FOLDED},Ql=function(e,t,n){var r=n[t];return!!r&&(e===r.bet+r.remainingStack||e===Object.entries(n).filter(function(e){var n=e[0],r=e[1];return Kl(r.status)&&n!==t}).map(function(e){var t=e[1];return t.bet+t.remainingStack}).reduce(function(e,t){return Math.max(e,t)},0))},Jl=[{threshold:250,colorKey:"raise10"},{threshold:150,colorKey:"raise9"},{threshold:100,colorKey:"raise8"},{threshold:80,colorKey:"raise7"},{threshold:65,colorKey:"raise6"},{threshold:50,colorKey:"raise5"},{threshold:35,colorKey:"raise4"},{threshold:25,colorKey:"raise3"},{threshold:15,colorKey:"raise2"},{threshold:0,colorKey:"raise1"}],Xl=function(e,t,n,r){switch(e[0]){case"f":return"fold";case"c":case"x":return"call";case"r":var i=Hl(e);return Ql(i,n,r)?"allin":Yl(t);default:throw new Error("Unable to determine color key for action situation string "+e)}},Yl=function(e){var t;if(!e)return"raise1";var n=Jl.find(function(t){return e>t.threshold});return null!=(t=null==n?void 0:n.colorKey)?t:"raise1"},Zl=function(e){switch(e[0]){case"f":return"fold";case"c":case"x":return"call";case"r":return"raise1";default:throw new Error("Unable to determine color key for action situation string "+e)}};!function(e){e.CHECK="check",e.CALL="call",e.FOLD="fold",e.BET="bet",e.RAISE="raise",e.ALL_IN="allin"}(ql||(ql={})),function(e){e.SB="SB",e.BB="BB",e.LJ="LJ",e.HJ="HJ",e.CO="CO",e.UTG="UTG",e.UTG1="UTG1",e.UTG2="UTG2",e.UTG3="UTG3",e.BTN="BTN"}(Wl||(Wl={}));var eu=/(\[{1}\w*]{1})/g,tu=function(e){var t=/([a-z]{1}[0-9]*)/g;return e.split(eu).filter(function(e){return""!==e}).map(function(e){return e.match(eu)?e:e.match(t)||[]}).flat()},nu=function(e){return null===e.match(eu)},ru=function(e){return e.split(/\[{1}\w*]{1}/g)},iu=function(e){var t=null==e?void 0:e.match(eu);return t?t.flatMap(function(e){return e.slice(1,-1).split(/(..)/g)}).filter(function(e){return e}):[]},ou=function(e,t){return e.split(eu).map(function(e,n){return 1===n&&t.length>=3?"["+t.slice(0,3).join("")+"]":3===n&&t.length>=4?"["+t.slice(3,4).join("")+"]":5===n&&t.length>=5?"["+t.slice(4,5).join("")+"]":e}).join("")},au=function(e){if(nu(e))return!0;var t=ru(e).pop();return!!t&&t.indexOf("r")>-1},su=function(e,t,n,r){switch(e[0]){case"f":return ql.FOLD;case"c":return ql.CALL;case"x":return ql.CHECK;case"r":var i=Hl(e);return Ql(i,t,r)?ql.ALL_IN:au(n)?ql.RAISE:ql.BET;default:throw new Error("Unable to determine label key for action situation string "+e)}},cu=function(e,t){switch(e[0]){case"f":return ql.FOLD;case"c":return ql.CALL;case"x":return ql.CHECK;case"r":return au(t)?ql.RAISE:ql.BET;default:throw new Error("Unable to determine label key for action situation string "+e)}},lu=["r","x","c","f"],uu=function(e,t){return e.startsWith("r")&&t.startsWith("r")?parseInt(t.substring(1),10)-parseInt(e.substring(1),10):lu.indexOf(e[0])-lu.indexOf(t[0])},fu=function(e){return[].concat(e).sort(function(e,t){return uu(e.situationString,t.situationString)})},du=function(e){return/^r[0-9]+$/.test(e)},hu=function(e){var t,n,r=e.action,i=e.situationString,o=e.totalPot,a=e.playersState,s=e.currentPosition;if(!du(r))return null;var c=Hl(r),l=function(e,t){var n=nu(e),r=ru(e).pop();if(!r&&!n)return 0;var i,o=tu(null!=r?r:"").filter(function(e){return du(e)}).slice(-1)[0];return o?Hl(o):n&&null!=(i=Math.max.apply(Math,Object.values(t).map(function(e){return e.bet})))?i:0}(i,a),u=l-(null!=(t=null==(n=a[s])?void 0:n.bet)?t:0);return o+u===0?null:Math.round(100*(c-l)/(o+u))},pu=["A","K","Q","J","T","9","8","7","6","5","4","3","2"],mu=function(e){if(e[0]===e[2])return""+e[0]+e[2];var t=pu.indexOf(e[0])>pu.indexOf(e[2])?""+e[2]+e[3]+e[0]+e[1]:e;return t[1]===t[3]?""+t[0]+t[2]+"s":""+t[0]+t[2]+"o"},yu=function(e){return Object.entries(e.reduce(function(e,t){var n,r=t[1];if(!r||!Tl.includes(r))throw new Error("Invalid community cards");return wl({},e,((n={})[r]=[].concat(e[r],[t[0]]).sort(Pl),n))},{s:[],h:[],d:[],c:[]})).sort(function(e,t){var n=e[0],r=e[1],i=t[0],o=t[1];if(r.length!==o.length)return r.length-o.length;for(var a=0;a<r.length;a++)if(r[a]!==o[a])return Pl(r[a],o[a]);return Ol(n,i)}).map(function(e){return e[0]})},gu=function(e,t,n){if(!e)throw new Error("Postflop metadata header not found");var r=JSON.parse(e),o=t===Ll.MAPPED_KEYS?function(e){var t=e.ss,n=e.ac,r=e.st,o=e.il,a=e.ns,s=e.tp,c=e.po,l=e.ps,u=e.ea,f=Object.fromEntries(Object.entries(null!=l?l:{}).map(function(e){var t=e[0],n=e[1];return[t,i()(Object.entries(n).reduce(function(e,t){var n,r,i=t[0],o=t[1];return wl({},e,((r={})[null!=(n=kl[i])?n:i]=o,r))},{}),{deep:!1})]}));return{solveSituationString:t,actions:n.map(function(e){return Object.entries(e).reduce(function(e,t){var n,r,i=t[0],o=t[1];return wl({},e,((r={})[null!=(n=Sl[i])?n:i]=o,r))},{})}),seat:r,isLeaf:o,nextStreets:a.map(function(e){return Object.entries(e).reduce(function(e,t){var n,r,i=t[0],o=t[1];return wl({},e,((r={})[null!=(n=El[i])?n:i]=o,r))},{})}),totalPot:s,potBeforeStreet:c,playersState:f,extraInfo:u}}(r):function(e){var t=e.situation_string,n=e.actions,r=e.seat,o=e.is_leaf,a=e.next_streets,s=e.total_pot,c=e.pot_before_street,l=e.players_state,u=e.extra_info;return{solveSituationString:t,actions:n,seat:r,isLeaf:o,nextStreets:a,totalPot:s,potBeforeStreet:c,playersState:Object.fromEntries(Object.entries(null!=l?l:{}).map(function(e){var t=e[0],n=e[1];return[t,i()(n,{deep:!1})]})),extraInfo:u}}(r),a=o.solveSituationString,s=o.actions,c=o.seat,l=o.isLeaf,u=o.nextStreets,f=o.totalPot,d=o.potBeforeStreet,h=o.playersState,p=o.extraInfo,m=a,y=void 0,g=iu(a);if(g.length>0){var v=null!=n?n:g;y=function(e,t){for(var n=yu(t),r=yu(e),i={s:"s",h:"h",d:"d",c:"c"},o=0;o<r.length;o++)i[r[o]]=n[o];return i}(g,v),m=ou(a,v)}return{actionOrder:s.map(function(e){return e.situation_string}),metadata:{situationString:m,seat:c,actions:fu(s.map(function(e){return function(e,t,n,r,i,o){var a=hu({action:e.situation_string,situationString:r,totalPot:o,playersState:i,currentPosition:n});return{situationString:e.situation_string,endOfGame:e.end_of_game,endOfStreet:e.end_of_street,isIncluded:e.is_included,betPotPercentage:a,totalProbability:e.total_probability,totalComb
2inations:e.total_combinations,colorKey:Xl(e.situation_string,a,n,i),labelKey:su(e.situation_string,n,r,i)}}(e,s.map(function(e){return e.situation_string}),c,m,h,f)})),isLeaf:l,nextStreets:(null!=u?u:[]).map(function(e){return i()(e,{deep:!1})}).map(function(e){var t;return wl({},e,{communityCards:null!=(t=e.communityCards)?t:[]})}),totalPot:f,potBeforeStreet:d,playersState:h,extraInfo:p,solveCommunityCards:g},suitMap:y}},vu=function(e,t,n,r){var i=ru(r).pop(),o=i?tu(i).filter(function(e){return"f"===e}).length:0;return e/(Object.values(t).reduce(function(e,t){return Kl(t.status)?e+=1:e},0)+o)+(n?t[n].bet:0)},bu=function(e,t){var n=function(e){return e.access_key_id&&e.secret_access_key?new ml({credentials:{accessKeyId:e.access_key_id,secretAccessKey:e.secret_access_key,sessionToken:e.session_token},region:e.region}):new ml({region:e.region,signer:{sign:(t=bl(gl().mark(function e(t){return gl().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t);case 1:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)})}});var t}(e),r=new yl({Bucket:e.bucket_name,Key:e.directory+"/"+t});return n.send(r)},wu=function(){var e=bl(gl().mark(function e(t,n,r){var i,o,a,s,c,l,u,f,d,h,p,m,y;return gl().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=gu(null==(i=t.Metadata)?void 0:i.metadata,r,n),a=o.actionOrder,s=o.metadata,c=o.suitMap,l=nu(s.situationString),u=l?"bb":"chips",!s.isLeaf){e.next=5;break}return e.abrupt("return",wl({},s,{isPreflop:l,handGroups:{},hands:{},evUnit:u}));case 5:if(t.Body){e.next=7;break}throw new Error("Postflop file body is undefined");case 7:if(f=s.potBeforeStreet,d=s.playersState,h=s.seat,p=s.situationString,m=r===Ll.RAW_EV?vu(f,d,h,p):0,!l){e.next=15;break}return e.next=12,$l(t.Body,a,m,c);case 12:y=e.sent,e.next=18;break;case 15:return e.next=17,Ul(t.Body,a,m,c);case 17:y=e.sent;case 18:return e.abrupt("return",wl({isPreflop:l,evUnit:u},s,y));case 19:case"end":return e.stop()}},e)}));return function(t,n,r){return e.apply(this,arguments)}}(),xu=function(){var e=bl(gl().mark(function e(t,n){var r;return gl().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===n&&(n=[]),e.next=3,bu(t,"root");case 3:return r=e.sent,e.abrupt("return",wu(r,n,t.data_format_version));case 5:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),Su=function(){var e=bl(gl().mark(function e(t,n,r){var i,o;return gl().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===r&&(r=[]),i=iu(n),e.next=4,bu(t,ou(n,r));case 4:return o=e.sent,e.abrupt("return",wu(o,i,t.data_format_version));case 6:case"end":return e.stop()}},e)}));return function(t,n,r){return e.apply(this,arguments)}}(),ku=function(e,t,n,r){var i,o;void 0===n&&(n=[]);var a=null!=(i=null==r?void 0:r.minProbability)?i:0,s=null!=(o=null==r?void 0:r.depth)?o:1,c=function(r){var i=r.map(function(e){return function(e){return e.isLeaf?e.nextStreets.filter(function(e){return e.isIncluded}).filter(function(e){return e.communityCards.length>0}).map(function(t){return e.situationString+"["+t.communityCards.join("")+"]"}).filter(function(e){return!n.includes(e)}):e.actions.filter(function(e){return e.isIncluded&&e.totalProbability>=a}).map(function(t){return""+e.situationString+t.situationString}).filter(function(e){return!n.includes(e)})}(e)}).flat().map(function(n){return Su(e,n,t.solveCommunityCards)});return i.length?Promise.all(i):Promise.resolve([])},l=function(){var e=bl(gl().mark(function e(t,n){var r;return gl().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c(t);case 2:if(r=e.sent,!(n>1)){e.next=5;break}return e.abrupt("return",Promise.resolve(l(r,n-1)));case 5:return e.abrupt("return",Promise.resolve([].concat(t,r)));case 6:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}();return l([t],s).then(function(e){return e.filter(function(e){return e.situationString!==t.situationString})})}},6926(e,t,n){"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(e){return"'"+e+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function i(e){return!!e&&!!e[H]}function o(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===q}(e)||Array.isArray(e)||!!e[$]||!!(null===(t=e.constructor)||void 0===t?void 0:t[$])||f(e)||d(e))}function a(e,t,n){void 0===n&&(n=!1),0===s(e)?(n?Object.keys:W)(e).forEach(function(r){n&&"symbol"==typeof r||t(r,e[r],e)}):e.forEach(function(n,r){return t(r,n,e)})}function s(e){var t=e[H];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:f(e)?2:d(e)?3:0}function c(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t,n){var r=s(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function u(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){return B&&e instanceof Map}function d(e){return z&&e instanceof Set}function h(e){return e.o||e.t}function p(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=G(e);delete t[H];for(var n=W(t),r=0;r<n.length;r++){var i=n[r],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function m(e,t){return void 0===t&&(t=!1),g(e)||i(e)||!o(e)||(s(e)>1&&(e.set=e.add=e.clear=e.delete=y),Object.freeze(e),t&&a(e,function(e,t){return m(t,!0)},!0)),e}function y(){r(2)}function g(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function v(e){var t=K[e];return t||r(18,e),t}function b(){return F}function w(e,t){t&&(v("Patches"),e.u=[],e.s=[],e.v=t)}function x(e){S(e),e.p.forEach(E),e.p=null}function S(e){e===F&&(F=e.l)}
vendor: 22,785 bytes, line 2
2function k(e){return F={p:[],l:F,h:e,m:!0,_:0}}function E(e){var t=e[H];0===t.i||1===t.i?t.j():t.g=!0}function _(e,t){t._=t.p.length;var n=t.p[0],i=void 0!==e&&e!==n;return t.h.O||v("ES5").S(t,e,i),i?(n[H].P&&(x(t),r(4)),o(e)&&(e=C(t,e),t.l||T(t,e)),t.u&&v("Patches").M(n[H].t,e,t.u,t.s)):e=C(t,n,[]),x(t),t.u&&t.v(t.u,t.s),e!==U?e:void 0}function C(e,t,n){if(g(t))return t;var r=t[H];if(!r)return a(t,function(i,o){return A(e,r,t,i,o,n)},!0),t;if(r.A!==e)return t;if(!r.P)return T(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=p(r.k):r.o,o=i,s=!1;3===r.i&&(o=new Set(i),i.clear(),s=!0),a(o,function(t,o){return A(e,r,i,t,o,n,s)}),T(e,i,!1),n&&e.u&&v("Patches").N(r,n,e.u,e.s)}return r.o}function A(e,t,n,r,a,s,u){if(i(a)){var f=C(e,a,s&&t&&3!==t.i&&!c(t.R,r)?s.concat(r):void 0);if(l(n,r,f),!i(f))return;e.m=!1}else u&&n.add(a);if(o(a)&&!g(a)){if(!e.h.D&&e._<1)return;C(e,a),t&&t.A.l||T(e,a)}}function T(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&m(t,n)}function P(e,t){var n=e[H];return(n?h(n):e)[t]}function O(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function M(e){e.P||(e.P=!0,e.l&&M(e.l))}function I(e){e.o||(e.o=p(e.t))}function R(e,t,n){var r=f(t)?v("MapSet").F(t,n):d(t)?v("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:b(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},i=r,o=Q;n&&(i=[r],o=J);var a=Proxy.revocable(i,o),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(t,n):v("ES5").J(t,n);return(n?n.A:b()).p.push(r),r}function D(e){return i(e)||r(22,e),function e(t){if(!o(t))return t;var n,r=t[H],i=s(t);if(r){if(!r.P&&(r.i<4||!v("ES5").K(r)))return r.t;r.I=!0,n=N(t,i),r.I=!1}else n=N(t,i);return a(n,function(t,i){r&&function(e,t){return 2===s(e)?e.get(t):e[t]}(r.t,t)===i||l(n,t,e(i))}),3===i?new Set(n):n}(e)}function N(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return p(e)}n.d(t,{U1:()=>Me,zD:()=>Le,Z0:()=>Re});var j,F,L="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),B="undefined"!=typeof Map,z="undefined"!=typeof Set,V="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,U=L?Symbol.for("immer-nothing"):((j={})["immer-nothing"]=!0,j),$=L?Symbol.for("immer-draftable"):"__$immer_draftable",H=L?Symbol.for("immer-state"):"__$immer_state",q=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),W="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,G=Object.getOwnPropertyDescriptors||function(e){var t={};return W(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},K={},Q={get:function(e,t){if(t===H)return e;var n=h(e);if(!c(n,t))return function(e,t,n){var r,i=O(t,n);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!o(r)?r:r===P(e.t,t)?(I(e),e.o[t]=R(e.A.h,r,e)):r},has:function(e,t){return t in h(e)},ownKeys:function(e){return Reflect.ownKeys(h(e))},set:function(e,t,n){var r=O(h(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=P(h(e),t),o=null==i?void 0:i[H];if(o&&o.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(u(n,i)&&(void 0!==n||c(e.t,t)))return!0;I(e),M(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==P(e.t,t)||t in e.t?(e.R[t]=!1,I(e),M(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=h(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},J={};a(Q,function(e,t){J[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),J.deleteProperty=function(e,t){return J.set.call(this,e,t,void 0)},J.set=function(e,t,n){return Q.set.call(this,e[0],t,n,e[0])};var X=function(){function e(e){var t=this;this.O=V,this.D=!0,this.produce=function(e,n,i){if("function"==typeof e&&"function"!=typeof n){var a=n;n=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return s.produce(e,function(e){var r;return(r=n).call.apply(r,[t,e].concat(i))})}}var c;if("function"!=typeof n&&r(6),void 0!==i&&"function"!=typeof i&&r(7),o(e)){var l=k(t),u=R(t,e,void 0),f=!0;try{c=n(u),f=!1}finally{f?x(l):S(l)}return"undefined"!=typeof Promise&&c instanceof Promise?c.then(function(e){return w(l,i),_(e,l)},function(e){throw x(l),e}):(w(l,i),_(c,l))}if(!e||"object"!=typeof e){if(void 0===(c=n(e))&&(c=e),c===U&&(c=void 0),t.D&&m(c,!0),i){var d=[],h=[];v("Patches").M(e,c,d,h),i(d,h)}return c}r(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return t.produceWithPatches(n,function(t){return e.apply(void 0,[t].concat(i))})};var r,i,o=t.produce(e,n,function(e,t){r=e,i=t});return"undefined"!=typeof Promise&&o instanceof Promise?o.then(function(e){return[e,r,i]}):[o,r,i]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){o(e)||r(8),i(e)&&(e=D(e));var t=k(this),n=R(this,e,void 0);return n[H].C=!0,S(t),n},t.finishDraft=function(e,t){var n=(e&&e[H]).A;return w(n,t),_(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!V&&r(20),this.O=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=v("Patches").$;return i(e)?o(e,t):this.produce(e,function(e){return o(e,t)})},e}(),Y=new X,Z=Y.produce;Y.produceWithPatches.bind(Y),Y.setAutoFreeze.bind(Y),Y.setUseProxies.bind(Y),Y.applyPatches.bind(Y),Y.createDraft.bind(Y),Y.finishDraft.bind(Y);const ee=Z;function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach(function(t){te(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ie(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var oe="function"==typeof Symbol&&Symbol.observable||"@@observable",ae=function(){return Math.random().toString(36).substring(7).split("").join(".")},se={INIT:"@@redux/INIT"+ae(),REPLACE:"@@redux/REPLACE"+ae(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ae()}};function ce(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(ie(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(ie(1));return n(ce)(e,t)}if("function"!=typeof e)throw new Error(ie(2));var i=e,o=t,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function u(){if(c)throw new Error(ie(3));return o}function f(e){if("function"!=typeof e)throw new Error(ie(4));if(c)throw new Error(ie(5));var t=!0;return l(),s.push(e),function(){if(t){if(c)throw new Error(ie(6));t=!1,l();var n=s.indexOf(e);s.splice(n,1),a=null}}}function d(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(ie(7));if(void 0===e.type)throw new Error(ie(8));if(c)throw new Error(ie(9));try{c=!0,o=i(o,e)}finally{c=!1}for(var t=a=s,n=0;n<t.length;n++)(0,t[n])();return e}return d({type:se.INIT}),(r={dispatch:d,subscribe:f,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error(ie(10));i=e,d({type:se.REPLACE})}})[oe]=function(){var e,t=f;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(ie(11));function n(){e.next&&e.next(u())}return n(),{unsubscribe:t(n)}}})[oe]=function(){return this},e},r}function le(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}function ue(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(ie(15))},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map(function(e){return e(i)});return r=le.apply(void 0,o)(n.dispatch),re(re({},n),{},{dispatch:r})}}}function fe(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"==typeof i?i(n,r,e):t(i)}}}}var de=fe();de.withExtraArgument=fe;const he=de;var pe,me=(pe=function(e,t){return pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},pe(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}pe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),ye=function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},ge=Object.defineProperty,ve=Object.defineProperties,be=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,ke=function(e,t,n){return t in e?ge(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},Ee=function(e,t){for(var n in t||(t={}))xe.call(t,n)&&ke(e,n,t[n]);if(we)for(var r=0,i=we(t);r<i.length;r++)n=i[r],Se.call(t,n)&&ke(e,n,t[n]);return e},_e=function(e,t){return ve(e,be(t))},Ce="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?le:le.apply(null,arguments)};function Ae(e,t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Ee(Ee({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var Te=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return Object.setPrototypeOf(i,t.prototype),i}return me(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,ye([void 0],e[0].concat(this)))):new(t.bind.apply(t,ye([void 0],e.concat(this))))},t}(Array),Pe=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return Object.setPrototypeOf(i,t.prototype),i}return me(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,ye([void 0],e[0].concat(this)))):new(t.bind.apply(t,ye([void 0],e.concat(this))))},t}(Array);function Oe(e){return o(e)?ee(e,function(){}):e}function Me(e){var t,n=function(e){return function(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t,r=(e.immutableCheck,e.serializableCheck,e.actionCreatorCheck,new Te);return n&&(function(e){return"boolean"==typeof e}(n)?r.push(he):r.push(he.withExtraArgument(n.extraArgument))),r}(e)},r=e||{},i=r.reducer,o=void 0===i?void 0:i,a=r.middleware,s=void 0===a?n():a,c=r.devTools,l=void 0===c||c,u=r.preloadedState,f=void 0===u?void 0:u,d=r.enhancers,h=void 0===d?void 0:d;if("function"==typeof o)t=o;else{if(!function(e){if("object"!=typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n}(o))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];"function"==typeof e[i]&&(n[i]=e[i])}var o,a=Object.keys(n);try{!function(e){Object.keys(e).forEach(function(t){var n=e[t];if(void 0===n(void 0,{type:se.INIT}))throw new Error(ie(12));if(void 0===n(void 0,{type:se.PROBE_UNKNOWN_ACTION()}))throw new Error(ie(13))})}(n)}catch(e){o=e}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=n[c],u=e[c],f=l(u,t);if(void 0===f)throw t&&t.type,new Error(ie(14));i[c]=f,r=r||f!==u}return(r=r||a.length!==Object.keys(e).length)?i:e}}(o)}var p=s;"function"==typeof p&&(p=p(n));var m=ue.apply(void 0,p),y=le;l&&(y=Ce(Ee({trace:!1},"object"==typeof l&&l)));var g=new Pe(m),v=g;return Array.isArray(h)?v=ye([m],h):"function"==typeof h&&(v=h(g)),ce(t,f,y.apply(void 0,v))}function Ie(e){var t,n={},r=[],i={addCase:function(e,t){var r="string"==typeof e?e:e.type;if(!r)throw new Error("`builder.addCase` cannot be called with an empty action type");if(r in n)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return n[r]=t,i},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),i},addDefaultCase:function(e){return t=e,i}};return e(i),[n,r,t]}function Re(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var n,r="function"==typeof e.initialState?e.initialState:Oe(e.initialState),a=e.reducers||{},s=Object.keys(a),c={},l={},u={};function f(){var t="function"==typeof e.extraReducers?Ie(e.extraReducers):[e.extraReducers],n=t[0],a=void 0===n?{}:n,s=t[1],c=void 0===s?[]:s,u=t[2],f=void 0===u?void 0:u,d=Ee(Ee({},a),l);return function(e,t,n){void 0===n&&(n=[]);var r,a=Ie(t),s=a[0],c=a[1],l=a[2];if(function(e){return"function"==typeof e}(e))r=function(){return Oe(e())};else{var u=Oe(e);r=function(){return u}}function f(e,t){void 0===e&&(e=r());var n=ye([s[t.type]],c.filter(function(e){return(0,e.matcher)(t)}).map(function(e){return e.reducer}));return 0===n.filter(function(e){return!!e}).length&&(n=[l]),n.reduce(function(e,n){if(n){var r;if(i(e))return void 0===(r=n(e,t))?e:r;if(o(e))return ee(e,function(e){return n(e,t)});if(void 0===(r=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return e},e)}return f.getInitialState=r,f}(r,function(e){for(var t in d)e.addCase(t,d[t]);for(var n=0,r=c;n<r.length;n++){var i=r[n];e.addMatcher(i.matcher,i.reducer)}f&&e.addDefaultCase(f)})}return s.forEach(function(e){var n,r,i=a[e],o=t+"/"+e;"reducer"in i?(n=i.reducer,r=i.prepare):n=i,c[e]=n,l[o]=n,u[e]=r?Ae(o,r):Ae(o)}),{name:t,reducer:function(e,t){return n||(n=f()),n(e,t)},actions:u,caseReducers:c,getInitialState:function(){return n||(n=f()),n.getInitialState()}}}var De=["name","message","stack","code"],Ne=function(e,t){this.payload=e,this.meta=t},je=function(e,t){this.payload=e,this.meta=t},Fe=function(e){if("object"==typeof e&&null!==e){for(var t={},n=0,r=De;n<r.length;n++){var i=r[n];"string"==typeof e[i]&&(t[i]=e[i])}return t}return{message:String(e)}},Le=function(){function e(e,t,n){var r=Ae(e+"/fulfilled",function(e,t,n,r){return{payload:e,meta:_e(Ee({},r||{}),{arg:n,requestId:t,requestStatus:"fulfilled"})}}),i=Ae(e+"/pending",function(e,t,n){return{payload:void 0,meta:_e(Ee({},n||{}),{arg:t,requestId:e,requestStatus:"pending"})}}),o=Ae(e+"/rejected",function(e,t,r,i,o){return{payload:i,error:(n&&n.serializeError||Fe)(e||"Rejected"),meta:_e(Ee({},o||{}),{arg:r,requestId:t,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==e?void 0:e.name),condition:"ConditionError"===(null==e?void 0:e.name)})}}),a="undefined"!=typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return e.prototype.abort=function(){},e}();return Object.assign(function(e){return function(s,c,l){var u,f=(null==n?void 0:n.idGenerator)?n.idGenerator(e):function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t}(),d=new a;function h(e){u=e,d.abort()}var p=function(){return a=this,p=null,m=function(){var a,p,m,y,g,v;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}(this,function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),null===(w=y=null==(a=null==n?void 0:n.condition)?void 0:a.call(n,e,{getState:c,extra:l}))||"object"!=typeof w||"function"!=typeof w.then?[3,2]:[4,y];case 1:y=b.sent(),b.label=2;case 2:if(!1===y||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return g=new Promise(function(e,t){return d.signal.addEventListener("abort",function(){return t({name:"AbortError",message:u||"Aborted"})})}),s(i(f,e,null==(p=null==n?void 0:n.getPendingMeta)?void 0:p.call(n,{requestId:f,arg:e},{getState:c,extra:l}))),[4,Promise.race([g,Promise.resolve(t(e,{dispatch:s,getState:c,extra:l,requestId:f,signal:d.signal,abort:h,rejectWithValue:function(e,t){return new Ne(e,t)},fulfillWithValue:function(e,t){return new je(e,t)}})).then(function(t){if(t instanceof Ne)throw t;return t instanceof je?r(t.payload,f,e,t.meta):r(t,f,e)})])];case 3:return m=b.sent(),[3,5];case 4:return v=b.sent(),m=v instanceof Ne?o(null,f,e,v.payload,v.meta):o(v,f,e),[3,5];case 5:return n&&!n.dispatchConditionRejection&&o.match(m)&&m.meta.condition||s(m),[2,m]}var w})},new Promise(function(e,t){var n=function(e){try{i(m.next(e))}catch(e){t(e)}},r=function(e){try{i(m.throw(e))}catch(e){t(e)}},i=function(t){return t.done?e(t.value):Promise.resolve(t.value).then(n,r)};i((m=m.apply(a,p)).next())});var a,p,m}();return Object.assign(p,{abort:h,requestId:f,arg:e,unwrap:function(){return p.then(Be)}})}},{pending:i,rejected:o,fulfilled:r,typePrefix:e})}return e.withTypes=function(){return e},e}();function Be(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}Object.assign;var ze="listenerMiddleware";Ae(ze+"/add"),Ae(ze+"/removeAll"),Ae(ze+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:void 0!==n.g?n.g:globalThis);"undefined"!=typeof window&&window.requestAnimationFrame&&window.requestAnimationFrame,function(){function e(e,t){var n=o[e];return n?n.enumerable=t:o[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[H];return Q.get(t,e)},set:function(t){var n=this[H];Q.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var i=e[t][H];if(!i.P)switch(i.i){case 5:r(i)&&M(i);break;case 4:n(i)&&M(i)}}}function n(e){for(var t=e.t,n=e.k,r=W(n),i=r.length-1;i>=0;i--){var o=r[i];if(o!==H){var a=t[o];if(void 0===a&&!c(t,o))return!0;var s=n[o],l=s&&s[H];if(l?l.t!==a:!u(s,a))return!0}}var f=!!t[H];return r.length!==W(t).length+(f?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var o={};!function(e,t){K[e]||(K[e]=t)}("ES5",{J:function(t,n){var r=Array.isArray(t),i=function(t,n){if(t){for(var r=Array(n.length),i=0;i<n.length;i++)Object.defineProperty(r,""+i,e(i,!0));return r}var o=G(n);delete o[H];for(var a=W(o),s=0;s<a.length;s++){var c=a[s];o[c]=e(c,t||!!o[c].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(r,t),o={i:r?5:4,A:n?n.A:b(),P:!1,I:!1,R:{},l:n,t,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,H,{value:o,writable:!0}),i},S:function(e,n,o){o?i(n)&&n[H].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[H];if(n){var i=n.t,o=n.k,s=n.R,l=n.i;if(4===l)a(o,function(t){t!==H&&(void 0!==i[t]||c(i,t)?s[t]||e(o[t]):(s[t]=!0,M(n)))}),a(i,function(e){void 0!==o[e]||c(o,e)||(s[e]=!1,M(n))});else if(5===l){if(r(n)&&(M(n),s.length=!0),o.length<i.length)for(var u=o.length;u<i.length;u++)s[u]=!1;else for(var f=i.length;f<o.length;f++)s[f]=!0;for(var d=Math.min(o.length,i.length),h=0;h<d;h++)o.hasOwnProperty(h)||(s[h]=!0),void 0===s[h]&&e(o[h])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}()},72509(e,t,n){"use strict";n.d(t,{v:()=>o});
2const r=new Uint32Array(256);for(let e=0;e<256;++e){let t=e;for(let e=0;e<8;++e)t=1&t?3988292384^t>>>1:t>>>1;r[e]=t>>>0}const i=4294967295;class o{digestLength=4;checksum=i;update(e){for(let t=0;t<e.length;++t)this.checksum=this.checksum>>>8^r[255&(this.checksum^e[t])]}digestSync(){return(this.checksum^i)>>>0}async digest(){const e=this.digestSync(),t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e,!1),t}reset(){this.checksum=i}}},24629(e,t,n){"use strict";n.d(t,{J:()=>T});var r,i=n(72509),o=n(19733);class a{bytes;constructor(e){if(this.bytes=e,8!==e.byteLength)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);const t=new Uint8Array(8);for(let n=7,r=Math.abs(Math.round(e));n>-1&&r>0;n--,r/=256)t[n]=r;return e<0&&s(t),new a(t)}valueOf(){const e=this.bytes.slice(0),t=128&e[0];return t&&s(e),parseInt((0,o.n)(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function s(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}class c{toUtf8;fromUtf8;constructor(e,t){this.toUtf8=e,this.fromUtf8=t}format(e){const t=[];for(const n of Object.keys(e)){const r=this.fromUtf8(n);t.push(Uint8Array.from([r.byteLength]),r,this.formatHeaderValue(e[n]))}const n=new Uint8Array(t.reduce((e,t)=>e+t.byteLength,0));let r=0;for(const e of t)n.set(e,r),r+=e.byteLength;return n}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":const t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":const n=new DataView(new ArrayBuffer(5));return n.setUint8(0,4),n.setInt32(1,e.value,!1),new Uint8Array(n.buffer);case"long":const r=new Uint8Array(9);return r[0]=5,r.set(e.value.bytes,1),r;case"binary":const i=new DataView(new ArrayBuffer(3+e.value.byteLength));i.setUint8(0,6),i.setUint16(1,e.value.byteLength,!1);const s=new Uint8Array(i.buffer);return s.set(e.value,3),s;case"string":const c=this.fromUtf8(e.value),l=new DataView(new ArrayBuffer(3+c.byteLength));l.setUint8(0,7),l.setUint16(1,c.byteLength,!1);const u=new Uint8Array(l.buffer);return u.set(c,3),u;case"timestamp":const f=new Uint8Array(9);return f[0]=8,f.set(a.fromNumber(e.value.valueOf()).bytes,1),f;case"uuid":if(!v.test(e.value))throw new Error(`Invalid UUID received: ${e.value}`);const d=new Uint8Array(17);return d[0]=9,d.set((0,o.a)(e.value.replace(/-/g,"")),1),d}}parse(e){const t={};let n=0;for(;n<e.byteLength;){const r=e.getUint8(n++),i=this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+n,r));switch(n+=r,e.getUint8(n++)){case 0:t[i]={type:l,value:!0};break;case 1:t[i]={type:l,value:!1};break;case 2:t[i]={type:u,value:e.getInt8(n++)};break;case 3:t[i]={type:f,value:e.getInt16(n,!1)},n+=2;break;case 4:t[i]={type:d,value:e.getInt32(n,!1)},n+=4;break;case 5:t[i]={type:h,value:new a(new Uint8Array(e.buffer,e.byteOffset+n,8))},n+=8;break;case 6:const r=e.getUint16(n,!1);n+=2,t[i]={type:p,value:new Uint8Array(e.buffer,e.byteOffset+n,r)},n+=r;break;case 7:const s=e.getUint16(n,!1);n+=2,t[i]={type:m,value:this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+n,s))},n+=s;break;case 8:t[i]={type:y,value:new Date(new a(new Uint8Array(e.buffer,e.byteOffset+n,8)).valueOf())},n+=8;break;case 9:const c=new Uint8Array(e.buffer,e.byteOffset+n,16);n+=16,t[i]={type:g,value:`${(0,o.n)(c.subarray(0,4))}-${(0,o.n)(c.subarray(4,6))}-${(0,o.n)(c.subarray(6,8))}-${(0,o.n)(c.subarray(8,10))}-${(0,o.n)(c.subarray(10))}`};break;default:throw new Error("Unrecognized header type tag")}}return t}}!function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"}(r||(r={}));const l="boolean",u="byte",f="short",d="integer",h="long",p="binary",m="string",y="timestamp",g="uuid",v=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class b{headerMarshaller;messageBuffer;isEndOfStream;constructor(e,t){this.headerMarshaller=new c(e,t),this.messageBuffer=[],this.isEndOfStream=!1}feed(e){this.messageBuffer.push(this.decode(e))}endOfStream(){this.isEndOfStream=!0}getMessage(){const e=this.messageBuffer.pop(),t=this.isEndOfStream;return{getMessage:()=>
2e,isEndOfStream:()=>t}}getAvailableMessages(){const e=this.messageBuffer;this.messageBuffer=[];const t=this.isEndOfStream;return{getMessages:()=>e,isEndOfStream:()=>t}}encode({headers:e,body:t}){const n=this.headerMarshaller.format(e),r=n.byteLength+t.byteLength+16,o=new Uint8Array(r),a=new DataView(o.buffer,o.byteOffset,o.byteLength),s=new i.v;return a.setUint32(0,r,!1),a.setUint32(4,n.byteLength,!1),s.update(o.subarray(0,8)),a.setUint32(8,s.digestSync(),!1),o.set(n,12),o.set(t,n.byteLength+12),s.update(o.subarray(8,r-4)),a.setUint32(r-4,s.digestSync(),!1),o}decode(e){const{headers:t,body:n}=function({byteLength:e,byteOffset:t,buffer:n}){if(e<16)throw new Error("Provided message too short to accommodate event stream message overhead");const r=new DataView(n,t,e),o=r.getUint32(0,!1);if(e!==o)throw new Error("Reported message length does not match received message length");const a=r.getUint32(4,!1),s=r.getUint32(8,!1),c=r.getUint32(e-4,!1),l=new i.v;if(l.update(new Uint8Array(n,t,8)),s!==l.digestSync())throw new Error(`The prelude checksum specified in the message (${s}) does not match the calculated CRC32 checksum (${l.digestSync()})`);if(l.update(new Uint8Array(n,t+8,e-12)),c!==l.digestSync())throw new Error(`The message checksum (${l.digestSync()}) did not match the expected value of ${c}`);return{headers:new DataView(n,t+8+4,a),body:new Uint8Array(n,t+8+4+a,o-a-16)}}(e);return{headers:this.headerMarshaller.parse(t),body:n}}formatHeaders(e){return this.headerMarshaller.format(e)}}class w{options;constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const e of this.options.inputStream){const t=this.options.decoder.decode(e);yield t}}}class x{options;constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const e of this.options.messageStream){const t=this.options.encoder.encode(e);yield t}this.options.includeEndFrame&&(yield new Uint8Array(0))}}class S{options;constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const e of this.options.messageStream){const t=await this.options.deserializer(e);void 0!==t&&(yield t)}}}class k{options;constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const e of this.options.inputStream){const t=this.options.serializer(e);yield t}}}function E(e,t){return async function(n){const{value:r}=n.headers[":message-type"];if("error"===r){const e=new Error(n.headers[":error-message"].value||"UnknownError");throw e.name=n.headers[":error-code"].value,e}if("exception"===r){const r=n.headers[":exception-type"].value,i={[r]:n},o=await e(i);if(o.$unknown){const e=new Error(t(n.body));throw e.name=r,e}throw o[r]}if("event"===r){const t={[n.headers[":event-type"].value]:n},r=await e(t);if(r.$unknown)return;return r}throw Error(`Unrecognizable event type: ${n.headers[":event-type"].value}`)}}class _{eventStreamCodec;utfEncoder;constructor({utf8Encoder:e,utf8Decoder:t}){this.eventStreamCodec=new b(e,t),this.utfEncoder=e}deserialize(e,t){const n=function(e){let t=0,n=0,r=null,i=null;const o=e=>{if("number"!=typeof e)throw new Error("Attempted to allocate an event message where size was not a number: "+e);t=e,n=4,r=new Uint8Array(e),new DataView(r.buffer).setUint32(0,e,!1)};return{[Symbol.asyncIterator]:async function*(){const a=e[Symbol.asyncIterator]();for(;;){const{value:e,done:s}=await a.next();if(s){if(!t)return;if(t!==n)throw new Error("Truncated event message received.");return void(yield r)}const c=e.length;let l=0;for(;l<c;){if(!r){const t=c-l;i||(i=new Uint8Array(4));const r=Math.min(4-n,t);if(i.set(e.slice(l,l+r),n),n+=r,l+=r,n<4)break;o(new DataView(i.buffer).getUint32(0,!1)),i=null}const a=Math.min(t-n,c-l);r.set(e.slice(l,l+a),n),n+=a,l+=a,t&&t===n&&(yield r,r=null,t=0,n=0)}}}}}(e);return new S({messageStream:new w({inputStream:n,decoder:this.eventStreamCodec}),deserializer:E(t,this.utfEncoder)})}serialize(e,t){return new x({messageStream:new k({inputStream:e,serializer:t}),encoder:this.eventStreamCodec,includeEndFrame:!0})}}class C{universalMarshaller;constructor({utf8Encoder:e,utf8Decoder:t}){this.universalMarshaller=new _({utf8Decoder:t,utf8Encoder:e})}deserialize(e,t){const n=A(e)?(r=e,{[Symbol.asyncIterator]:async function*(){const e=r.getReader();try{for(;;){const{done:t,value:n}=await e.read();if(t)return;yield n}}finally{e.releaseLock()}}}):e;var r;return this.universalMarshaller.deserialize(n,t)}serialize(e,t){const n=this.universalMarshaller.serialize(e,t);return"function"==typeof ReadableStream?(e=>{const t=e[Symbol.asyncIterator]();return new ReadableStream({async pull(e){const{done:n,value:r}=await t.next();if(n)return e.close();e.enqueue(r)}})})(n):n}}const A=e=>"function"==typeof ReadableStream&&e instanceof ReadableStream,T=e=>new C(e)},97870(e,t,n){"use strict";n.d(t,{O:()=>r});class r{namespace;schemas;exceptions;static registries=new Map;constructor(e,t=new Map,n=new Map){this.namespace=e,this.schemas=t,this.exceptions=n}static for(e){return r.registries.has(e)||r.registries.set(e,new r(e)),r.registries.get(e)}copyFrom(e){const{schemas:t,exceptions:n}=this;for(const[n,r]of e.schemas)t.has(n)||t.set(n,r);for(const[t,r]of e.exceptions)n.has(t)||n.set(t,r)}register(e,t){const n=this.normalizeShapeId(e);for(const e of[this,r.for(n.split("#")[0])])e.schemas.set(n,t)}getSchema(e){const t=this.normalizeShapeId(e);if(!this.schemas.has(t)){if(!e.includes("#")){const t="#"+e,n=[];for(const[e,r]of this.schemas.entries())e.endsWith(t)&&n.push(r);if(1===n.length)return n[0]}throw new Error(`@smithy/core/schema - schema not found for ${t}`)}return this.schemas.get(t)}registerError(e,t){const n=e,i=n[1];for(const e of[this,r.for(i)])e.schemas.set(i+"#"+n[2],n),e.exceptions.set(n,t)}getErrorCtor(e){const t=e;return this.exceptions.has(t)?this.exceptions.get(t):r.for(t[1]).exceptions.get(t)}getBaseException(){for(const e of this.exceptions.keys())if(Array.isArray(e)){const[,t,n]=e,r=t+"#"+n;if(r.startsWith("smithy.ts.sdk.synthetic.")&&r.endsWith("ServiceException"))return e}}find(e){for(const t of this.schemas.values())if(e(t))return t}clear(){this.schemas.clear(),this.exceptions.clear()}normalizeShapeId(e){return e.includes("#")?e:this.namespace+"#"+e}}},19733(e,t,n){"use strict";n.d(t,{a:()=>o,n:()=>a});const r={},i={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();1===t.length&&(t=`0${t}`),r[e]=t,i[t]=e}function o(e){if(e.length%2!=0)throw new Error("Hex encoded strings must have an even number length");const t=new Uint8Array(e.length/2);for(let n=0;n<e.length;n+=2){const r=e.slice(n,n+2).toLowerCase();if(!(r in i))throw new Error(`Cannot decode unrecognized sequence ${r} as hexadecimal`);t[n/2]=i[r]}return t}function a(e){let t="";for(let n=0;n<e.byteLength;n++)t+=r[e[n]];return t}},13107(e,t,n){"use strict";n.d(t,["a",0,e=>(new TextEncoder).encode(e)])}
2,36326(e,t,n){"use strict";n.d(t,["P",0,e=>{if("string"==typeof e)return e;if("object"!=typeof e||"number"!=typeof e.byteOffset||"number"!=typeof e.byteLength)throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return new TextDecoder("utf-8").decode(e)}])},58241(e,t,n){"use strict";n.d(t,{Eq:()=>c});var r=new WeakMap,i=new WeakMap,o={},a=0,s=function(e){return e&&(e.host||s(e.parentNode))},c=function(e,t,n){void 0===n&&(n="data-aria-hidden");var c=Array.from(Array.isArray(e)?e:[e]),l=t||function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return l?(c.push.apply(c,Array.from(l.querySelectorAll("[aria-live], script"))),function(e,t,n,c){var l=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=s(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return Boolean(e)})}(t,Array.isArray(e)?e:[e]);o[n]||(o[n]=new WeakMap);var u=o[n],f=[],d=new Set,h=new Set(l),p=function(e){e&&!d.has(e)&&(d.add(e),p(e.parentNode))};l.forEach(p);var m=function(e){e&&!h.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(d.has(e))m(e);else try{var t=e.getAttribute(c),o=null!==t&&"false"!==t,a=(r.get(e)||0)+1,s=(u.get(e)||0)+1;r.set(e,a),u.set(e,s),f.push(e),1===a&&o&&i.set(e,!0),1===s&&e.setAttribute(n,"true"),o||e.setAttribute(c,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(t),d.clear(),a++,function(){f.forEach(function(e){var t=r.get(e)-1,o=u.get(e)-1;r.set(e,t),u.set(e,o),t||(i.has(e)||e.removeAttribute(c),i.delete(e)),o||e.removeAttribute(n)}),--a||(r=new WeakMap,r=new WeakMap,i=new WeakMap,o={})}}(c,l,n,"aria-hidden")):function(){return null}}},23472(e,t,n){"use strict";const r=n(48089),i=n(42714),o=new(n(87392))({maxSize:1e5}),a=e=>!("object"!=typeof e||null===e||e instanceof RegExp||e instanceof Error||e instanceof Date),s=(e,t)=>{if(!a(e))return e;t={deep:!1,pascalCase:!1,...t};const{exclude:n,pascalCase:s,stopPaths:c,deep:l}=t,u=new Set(c),f=e=>(t,c)=>{if(l&&a(c)){const n=void 0===e?t:`${e}.${t}`;u.has(n)||(c=r(c,f(n)))}if(!n||!((e,t)=>e.some(e=>"string"==typeof e?e===t:(e.lastIndex=0,e.test(t))))(n,t)){const e=s?`${t}_`:t;if(o.has(e))t=o.get(e);else{const n=i(t,{pascalCase:s,locale:!1});t.length<100&&o.set(e,n),t=n}}return[t,c]};return r(e,f(void 0))};e.exports=(e,t)=>Array.isArray(e)?Object.keys(e).map(n=>s(e[n],t)):s(e,t)},42714(e){"use strict";const t=/[\p{Lu}]/u,n=/[\p{Ll}]/u,r=/^[\p{Lu}](?![\p{Lu}])/gu,i=/([\p{Alpha}\p{N}_]|$)/u,o=/[_.\- ]+/,a=new RegExp("^"+o.source),s=new RegExp(o.source+i.source,"gu"),c=new RegExp("\\d+"+i.source,"gu"),l=(e,i)=>{if("string"!=typeof e&&!Array.isArray(e))throw new TypeError("Expected the input to be `string | string[]`");if(i={pascalCase:!1,preserveConsecutiveUppercase:!1,...i},0===(e=Array.isArray(e)?e.map(e=>e.trim()).filter(e=>e.length).join("-"):e.trim()).length)return"";const o=!1===i.locale?e=>e.toLowerCase():e=>e.toLocaleLowerCase(i.locale),l=!1===i.locale?e=>e.toUpperCase():e=>e.toLocaleUpperCase(i.locale);return 1===e.length?i.pascalCase?l(e):o(e):(e!==o(e)&&(e=((e,r,i)=>{let o=!1,a=!1,s=!1;for(let c=0;c<e.length;c++){const l=e[c];o&&t.test(l)?(e=e.slice(0,c)+"-"+e.slice(c),o=!1,s=a,a=!0,c++):a&&s&&n.test(l)?(e=e.slice(0,c-1)+"-"+e.slice(c-1),s=a,a=!1,o=!0):(o=r(l)===l&&i(l)!==l,s=a,a=i(l)===l&&r(l)!==l)}return e})(e,o,l)),e=e.replace(a,""),e=i.preserveConsecutiveUppercase?((e,t)=>(r.lastIndex=0,e.replace(r,e=>t(e))))(e,o):o(e),i.pascalCase&&(e=l(e.charAt(0))+e.slice(1)),((e,t)=>(s.lastIndex=0,c.lastIndex=0,e.replace(s,(e,n)=>t(n)).replace(c,e=>t(e))))(e,l))};e.exports=l,e.exports.default=l},32485(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}
2.apply(t,[]))||(e.exports=n)}()},36988(e){var t={px:{px:1,cm:96/2.54,mm:96/25.4,in:96,pt:96/72,pc:16},cm:{px:2.54/96,cm:1,mm:.1,in:2.54,pt:2.54/72,pc:2.54/6},mm:{px:25.4/96,cm:10,mm:1,in:25.4,pt:25.4/72,pc:25.4/6},in:{px:1/96,cm:1/2.54,mm:1/25.4,in:1,pt:1/72,pc:1/6},pt:{px:.75,cm:72/2.54,mm:72/25.4,in:72,pt:1,pc:12},pc:{px:6/96,cm:6/2.54,mm:6/25.4,in:6,pt:6/72,pc:1},deg:{deg:1,grad:.9,rad:180/Math.PI,turn:360},grad:{deg:400/360,grad:1,rad:200/Math.PI,turn:400},rad:{deg:Math.PI/180,grad:Math.PI/200,rad:1,turn:2*Math.PI},turn:{deg:1/360,grad:1/400,rad:.5/Math.PI,turn:1},s:{s:1,ms:.001},ms:{s:1e3,ms:1},Hz:{Hz:1,kHz:1e3},kHz:{Hz:.001,kHz:1},dpi:{dpi:1,dpcm:1/2.54,dppx:1/96},dpcm:{dpi:2.54,dpcm:1,dppx:2.54/96},dppx:{dpi:96,dpcm:96/2.54,dppx:1}};e.exports=function(e,n,r,i){if(!t.hasOwnProperty(r))throw new Error("Cannot convert to "+r);if(!t[r].hasOwnProperty(n))throw new Error("Cannot convert from "+n+" to "+r);var o=t[r][n]*e;return!1!==i?(i=Math.pow(10,parseInt(i)||5),Math.round(o*i)/i):o}},69450(e,t,n){"use strict";const r=Math.PI,i=2*r,o=1e-6,a=i-o;function s(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function c(){return new s}s.prototype=c.prototype={constructor:s,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,o){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(e,t,n,i,a){e=+e,t=+t,n=+n,i=+i,a=+a;var s=this._x1,c=this._y1,l=n-e,u=i-t,f=s-e,d=c-t,h=f*f+d*d;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(h>o)if(Math.abs(d*l-u*f)>o&&a){var p=n-s,m=i-c,y=l*l+u*u,g=p*p+m*m,v=Math.sqrt(y),b=Math.sqrt(h),w=a*Math.tan((r-Math.acos((y+h-g)/(2*v*b)))/2),x=w/b,S=w/v;Math.abs(x-1)>o&&(this._+="L"+(e+x*f)+","+(t+x*d)),this._+="A"+a+","+a+",0,0,"+ +(d*p>f*m)+","+(this._x1=e+S*l)+","+(this._y1=t+S*u)}else this._+="L"+(this._x1=e)+","+(this._y1=t)},arc:function(e,t,n,s,c,l){e=+e,t=+t,l=!!l;var u=(n=+n)*Math.cos(s),f=n*Math.sin(s),d=e+u,h=t+f,p=1^l,m=l?s-c:c-s;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+d+","+h:(Math.abs(this._x1-d)>o||Math.abs(this._y1-h)>o)&&(this._+="L"+d+","+h),n&&(m<0&&(m=m%i+i),m>a?this._+="A"+n+","+n+",0,1,"+p+","+(e-u)+","+(t-f)+"A"+n+","+n+",0,1,"+p+","+(this._x1=d)+","+(this._y1=h):m>o&&(this._+="A"+n+","+n+",0,"+ +(m>=r)+","+p+","+(this._x1=e+n*Math.cos(c))+","+(this._y1=t+n*Math.sin(c))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};const l=c;n.d(t,["A",0,l])},12941(e,t,n){"use strict";function r(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((t-e)/n)),o=new Array(i);++r<i;)o[r]=e+r*n;return o}n.d(t,{A:()=>a,z:()=>c}),n.dn(r);var i=n(25758),o=n(16527);function a(){var e,t,n=(0,o.A)().unknown(void 0),s=n.domain,c=n.range,l=0,u=1,f=!1,d=0,h=0,p=.5;function m(){var n=s().length,i=u<l,o=i?u:l,a=i?l:u;e=(a-o)/Math.max(1,n-d+2*h),f&&(e=Math.floor(e)),o+=(a-o-e*(n-d))*p,t=e*(1-d),f&&(o=Math.round(o),t=Math.round(t));var m=r(n).map(function(t){return o+e*t});return c(i?m.reverse():m)}return delete n.unknown,n.domain=function(e){return arguments.length?(s(e),m()):s()},n.range=function(e){return arguments.length?([l,u]=e,l=+l,u=+u,m()):[l,u]},n.rangeRound=function(e){return[l,u]=e,l=+l,u=+u,f=!0,m()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(f=!!e,m()):f},n.padding=function(e){return arguments.length?(d=Math.min(1,h=+e),m()):d},n.paddingInner=function(e){return arguments.length?(d=Math.min(1,e),m()):d},n.paddingOuter=function(e){return arguments.length?(h=+e,m()):h},n.align=function(e){return arguments.length?(p=Math.max(0,Math.min(1,e)),m()):p},n.copy=function(){return a(s(),[l,u]).round(f).paddingInner(d).paddingOuter(h).align(p)},i.C.apply(m(),arguments)}function s(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return s(t())},e}function c(){return s(a.apply(null,arguments).paddingInner(1))}},25758(e,t,n){"use strict";function r(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function i(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}n.d(t,{C:()=>r,K:()=>i})},16527(e,t,n){"use strict";n.d(t,{A:()=>
2o});var r=n(25758);const i=Symbol("implicit");function o(){var e=new Map,t=[],n=[],a=i;function s(r){var o=r+"",s=e.get(o);if(!s){if(a!==i)return a;e.set(o,s=t.push(r))}return n[(s-1)%n.length]}return s.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new Map;for(const r of n){const n=r+"";e.has(n)||e.set(n,t.push(r))}return s},s.range=function(e){return arguments.length?(n=Array.from(e),s):n.slice()},s.unknown=function(e){return arguments.length?(a=e,s):a},s.copy=function(){return o(t,n).unknown(a)},r.C.apply(s,arguments),s}n.d(t,["h",0,i])},12736(e,t,n){"use strict";function r(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}n.d(t,{A:()=>r}),n.dn(r),Array.prototype.slice},84653(e,t,n){"use strict";function r(e){return function(){return e}}n.d(t,{A:()=>r}),n.dn(r)},70551(e,t,n){"use strict";function r(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{A:()=>r})},51831(e,t,n){"use strict";n.d(t,{u:()=>i});var r={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function i(e){return e?r[e]:r.trunc}},94188(e,t,n){"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,{A:()=>r})},92998(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(94188),i=n(10123),o=n(70551);function a(e,t){(0,o.A)(2,arguments);var n=(0,i.A)(e),a=(0,r.A)(t);return isNaN(a)?new Date(NaN):a?(n.setDate(n.getDate()+a),n):n}},7767(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(94188),i=n(10123),o=n(70551);function a(e,t){(0,o.A)(2,arguments);var n=(0,i.A)(e).getTime(),a=(0,r.A)(t);return new Date(n+a)}},92890(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(94188),i=n(7767),o=n(70551);function a(e,t){(0,o.A)(2,arguments);var n=(0,r.A)(t);return(0,i.A)(e,6e4*n)}},47894(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(94188),i=n(7767),o=n(70551);function a(e,t){(0,o.A)(2,arguments);var n=(0,r.A)(t);return(0,i.A)(e,1e3*n)}},57499(e,t,n){"use strict";n.d(t,{Cg:()=>r,s0:()=>i}),Math.pow(10,8);var r=6e4,i=36e5},81384(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(10123),i=n(70551);function o(e,t){return(0,i.A)(2,arguments),(0,r.A)(e).getTime()-(0,r.A)(t).getTime()}},90063(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(81384),i=n(70551),o=n(51831);function a(e,t,n){(0,i.A)(2,arguments);var a=(0,r.A)(e,t)/1e3;return(0,o.u)(null==n?void 0:n.roundingMethod)(a)}},12660(e,t,n){"use strict";n.d(t,{A:()=>G});var r=n(99768),i={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"}};function o(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const a={date:o({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:o({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:o({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function c(e){return function(t,n){var r,i=n||{};if("formatting"===(i.context?String(i.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=i.width?String(i.width):o;r=e.formattingValues[a]||e.formattingValues[o]}else{var s=e.defaultWidth,c=i.width?String(i.width):e.defaultWidth;r=e.values[c]||e.values[s]}return r[e.argumentCallback?e.argumentCallback(t):t]}}const l={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:c({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:c({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:c({values:{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"]},defaultWidth:"wide"}),day:c({values:{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
2ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:c({values:{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"}},defaultWidth:"wide",formattingValues:{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"}},defaultFormattingWidth:"wide"})};function u(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var a,s=o[0],c=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(c)?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}(c,function(e){return e.test(s)}):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}(c,function(e){return e.test(s)});return a=e.valueCallback?e.valueCallback(l):l,{value:a=n.valueCallback?n.valueCallback(a):a,rest:t.slice(s.length)}}}var f,d={ordinalNumber:(f={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(f.matchPattern);if(!n)return null;var r=n[0],i=e.match(f.parsePattern);if(!i)return null;var o=f.valueCallback?f.valueCallback(i[0]):i[0];return{value:o=t.valueCallback?t.valueCallback(o):o,rest:e.slice(r.length)}}),era:u({matchPatterns:{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},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:u({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:u({matchPatterns:{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},defaultMatchWidth:"wide",parsePatterns:{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]},defaultParseWidth:"any"}),day:u({matchPatterns:{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},defaultMatchWidth:"wide",parsePatterns:{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]},defaultParseWidth:"any"}),dayPeriod:u({matchPatterns:{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},defaultMatchWidth:"any",parsePatterns:{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}},defaultParseWidth:"any"})};const h={code:"en-US",formatDistance:function(e,t,n){var r,o=i[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:a,formatRelative:function(e,t,n,r){return s[e]},localize:l,match:d,options:{weekStartsOn:0,firstWeekContainsDate:1}};var p=n(94188),m=n(7767),y=n(70551),g=n(10123);function v(e){(0,y.A)(1,arguments);var t=(0,g.A)(e),n=t.getUTCDay(),r=(n<1?7:0)+n-1;return t.setUTCDate(t.getUTCDate()-r),t.setUTCHours(0,0,0,0),t}function b(e){(0,y.A)(1,arguments);var t=(0,g.A)(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var i=v(r),o=new Date(0);o.setUTCFullYear(n,0,4),o.setUTCHours(0,0,0,0);var a=v(o);return t.getTime()>=i.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function w(e,t){(0,y.A)(1,arguments);var n=t||{},r=n.locale,i=r&&r.options&&r.options.weekStartsOn,o=null==i?0:(0,p.A)(i),a=null==n.weekStartsOn?o:(0,p.A)(n.weekStartsOn);if(!(a>=0&&a<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=(0,g.A)(e),c=s.getUTCDay(),l=(c<a?7:0)+c-a;return s.setUTCDate(s.getUTCDate()-l),s.setUTCHours(0,0,0,0),s}function x(e,t){(0,y.A)(1,arguments);var n=(0,g.A)(e),r=n.getUTCFullYear(),i=t||{},o=i.locale,a=o&&o.options&&o.options.firstWeekContainsDate,s=null==a?1:(0,p.A)(a),c=null==i.firstWeekContainsDate?s:(0,p.A)(i.firstWeekContainsDate);if(!(c>=1&&c<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var l=new Date(0);l.setUTCFullYear(r+1,0,c),l.setUTCHours(0,0,0,0);var u=w(l,t),f=new Date(0);f.setUTCFullYear(r,0,c),f.setUTCHours(0,0,0,0);var d=w(f,t);return n.getTime()>=u.getTime()?r+1:n.getTime()>=d.getTime()?r:r-1}function S(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}const k=function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return S("yy"===t?r%100:r,t.length)},E=function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):S(n+1,2)},_=function(e,t){return S(e.getUTCDate(),t.length)},C=function(e,t){return S(e.getUTCHours()%12||12,t.length)},A=function(e,t){return S(e.getUTCHours(),t.length)},T=function(e,t){return S(e.getUTCMinutes(),t.length)},P=function(e,t){return S(e.getUTCSeconds(),t.length)},O=function(e,t){var n=t.length,r=e.getUTCMilliseconds();return S(Math.floor(r*Math.pow(10,n-3)),t.length)};var M={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return k(e,t)},Y:function(e,t,n,r){var i=x(e,r),o=i>0?i:1-i;return"YY"===t?S(o%100,2):"Yo"===t?n.ordinalNumber(o,{unit:"year"}):S(o,t.length)},R:function(e,t){return S(b(e),t.length)},u:function(e,t){return S(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return S(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return S(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return E(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return S(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var i=function(e,t){(0,y.A)(1,arguments);var n=(0,g.A)(e),r=w(n,t).getTime()-function(e,t){(0,y.A)(1,arguments);var n=t||{},r=n.locale,i=r&&r.options&&r.options.firstWeekContainsDate,o=null==i?1:(0,p.A)(i),a=null==n.firstWeekContainsDate?o:(0,p.A)(n.firstWeekContainsDate),s=x(e,t),c=new Date(0);return c.setUTCFullYear(s,0,a),c.setUTCHours(0,0,0,0),w(c,t)}(n,t).getTime();return Math.round(r/6048e5)+1}(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):S(i,t.length)},I:function(e,t,n){var r=function(e){(0,y.A)(1,arguments);var t=(0,g.A)(e),n=v(t).getTime()-function(e){(0,y.A)(1,arguments);var t=b(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),v(n)}(t).getTime();return Math.round(n/6048e5)+1}(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):S(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):_(e,t)},D:function(e,t,n){var r=function(e){(0,y.A)(1,arguments);var t=(0,g.A)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=n-t.getTime();return Math.floor(r/864e5)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):S(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var i=e.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return S(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var i=e.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return S(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return S(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,i=e.getUTCHours();switch(r=12===i?"noon":0===i?"midnight":i/12>
vendor: 3,338 bytes, line 2
2=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,i=e.getUTCHours();switch(r=i>=17?"evening":i>=12?"afternoon":i>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return C(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):A(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):S(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):S(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):T(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):P(e,t)},S:function(e,t){return O(e,t)},X:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();if(0===i)return"Z";switch(t){case"X":return R(i);case"XXXX":case"XX":return D(i);default:return D(i,":")}},x:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return R(i);case"xxxx":case"xx":return D(i);default:return D(i,":")}},O:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+I(i,":");default:return"GMT"+D(i,":")}},z:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+I(i,":");default:return"GMT"+D(i,":")}},t:function(e,t,n,r){var i=r._originalDate||e;return S(Math.floor(i.getTime()/1e3),t.length)},T:function(e,t,n,r){return S((r._originalDate||e).getTime(),t.length)}};function I(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;if(0===o)return n+String(i);var a=t||"";return n+String(i)+a+S(o,2)}function R(e,t){return e%60==0?(e>0?"-":"+")+S(Math.abs(e)/60,2):D(e,t)}function D(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e);return r+S(Math.floor(i/60),2)+n+S(i%60,2)}const N=M;function j(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}}function F(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}}const L={p:F,P:function(e,t){var n,r=e.match(/(P+)(p+)?/)||[],i=r[1],o=r[2];if(!o)return j(e,t);switch(i){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",j(i,t)).replace("{{time}}",F(o,t))}};var B=["D","DD"],z=["YY","YYYY"];function V(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").
2concat(n,"`; see: https://git.io/fxCyr"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}var U=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,$=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,H=/^'([^]*?)'?$/,q=/''/g,W=/[a-zA-Z]/;function G(e,t,n){(0,y.A)(2,arguments);var i=String(t),o=n||{},a=o.locale||h,s=a.options&&a.options.firstWeekContainsDate,c=null==s?1:(0,p.A)(s),l=null==o.firstWeekContainsDate?c:(0,p.A)(o.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=a.options&&a.options.weekStartsOn,f=null==u?0:(0,p.A)(u),d=null==o.weekStartsOn?f:(0,p.A)(o.weekStartsOn);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!a.localize)throw new RangeError("locale must contain localize property");if(!a.formatLong)throw new RangeError("locale must contain formatLong property");var v=(0,g.A)(e);if(!(0,r.A)(v))throw new RangeError("Invalid time value");var b=function(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}(v),w=function(e,t){(0,y.A)(2,arguments);var n=(0,p.A)(t);return(0,m.A)(e,-n)}(v,b),x={firstWeekContainsDate:l,weekStartsOn:d,locale:a,_originalDate:v};return i.match($).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,L[t])(e,a.formatLong,x):e}).join("").match(U).map(function(n){if("''"===n)return"'";var r=n[0];if("'"===r)return n.match(H)[1].replace(q,"'");var i,s=N[r];if(s)return o.useAdditionalWeekYearTokens||(i=n,-1===z.indexOf(i))||V(n,t,e),!o.useAdditionalDayOfYearTokens&&function(e){return-1!==B.indexOf(e)}(n)&&V(n,t,e),s(w,n,a.localize,x);if(r.match(W))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");return n}).join("")}},22278(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(10123),i=n(70551);function o(e){return(0,i.A)(1,arguments),Math.floor(function(e){return(0,i.A)(1,arguments),(0,r.A)(e).getTime()}(e)/1e3)}},27813(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(10123),i=n(70551);function o(e,t){(0,i.A)(2,arguments);var n=(0,r.A)(e),o=(0,r.A)(t);return n.getTime()<o.getTime()}},35845(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(10123),i=n(70551);function o(e){(0,i.A)(1,arguments);var t=(0,r.A)(e);return t.setHours(0,0,0,0),t}function a(e,t){(0,i.A)(2,arguments);var n=o(e),r=o(t);return n.getTime()===r.getTime()}},99768(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(70551),i=n(10123);function o(e){if((0,r.A)(1,arguments),!function(e){return(0,r.A)(1,arguments),e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}(e)&&"number"!=typeof e)return!1;var t=(0,i.A)(e);return!isNaN(Number(t))}},1806(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(57499),i=n(70551),o=n(94188);function a(e,t){(0,i.A)(1,arguments);var n=t||{},a=null==n.additionalDigits?2:(0,o.A)(n.additionalDigits);if(2!==a&&1!==a&&0!==a)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var m,y=function(e){var t,n={},r=e.split(s.dateTimeDelimiter);if(r.length>2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],s.timeZoneDelimiter.test(n.date)&&(n.date=e.split(s.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){var i=s.timezone.exec(t);i?(n.time=t.replace(i[1],""),n.timezone=i[1]):n.time=t}return n}(e);if(y.date){var g=function(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:null===o?i:100*o,restDateString:e.slice((r[1]||r[2]).length)}}(y.date,a);m=function(e,t){if(null===t)return new Date(NaN);var n=e.match(c);if(!n)return new Date(NaN);var r=!!n[4],i=f(n[1]),o=f(n[2])-1,a=f(n[3]),s=f(n[4]),l=f(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,s,l)?function(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var i=7*(t-1)+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+i),r}(t,s,l):new Date(NaN);var u=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(h[t]||(p(e)?29:28))}(t,o,a)&&function(e,t){return t>=1&&t<=(p(e)?366:365)}(t,i)?(u.setUTCFullYear(t,o,Math.max(i,a)),u):new Date(NaN)}(g.restDateString,g.year)}if(!m||isNaN(m.getTime()))return new Date(NaN);var v,b=m.getTime(),w=0;if(y.time&&(w=function(e){var t=e.match(l);if(!t)return NaN;var n=d(t[1]),i=d(t[2]),o=d(t[3]);return function(e,t,n){return 24===e?0===t&&0===n:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,i,o)?n*r.s0+i*r.Cg+1e3*o:NaN}(y.time),isNaN(w)))return new Date(NaN);if(!y.timezone){var x=new Date(b+w),S=new Date(0);return S.setFullYear(x.getUTCFullYear(),x.getUTCMonth(),x.getUTCDate()),S.setHours(x.getUTCHours(),x.getUTCMinutes(),x.getUTCSeconds(),x.getUTCMilliseconds()),S}return v=function(e){if("Z"===e)return 0;var t=e.match(u);if(!t)return 0;var n="+"===t[1]?-1:1,i=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;return function(e,t){return t>=0&&t<=59}(0,o)?n*(i*r.s0+o*r.Cg):NaN}(y.timezone),isNaN(v)?new Date(NaN):new Date(b+w+v)}
vendor: 5,460 bytes, line 2
2var s={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},c=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,l=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,u=/^([+-])(\d{2})(?::?(\d{2}))?$/;function f(e){return e?parseInt(e):1}function d(e){return e&&parseFloat(e.replace(",","."))||0}var h=[31,null,31,30,31,30,31,31,30,31,30,31];function p(e){return e%400==0||e%4==0&&e%100!=0}},27827(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(10123),i=n(94188),o=n(70551);function a(e,t){(0,o.A)(1,arguments);var n=t||{},a=n.locale,s=a&&a.options&&a.options.weekStartsOn,c=null==s?0:(0,i.A)(s),l=null==n.weekStartsOn?c:(0,i.A)(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=(0,r.A)(e),f=u.getDay(),d=(f<l?7:0)+f-l;return u.setDate(u.getDate()-d),u.setHours(0,0,0,0),u}},12809(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(94188),i=n(47894),o=n(70551);function a(e,t){(0,o.A)(2,arguments);var n=(0,r.A)(t);return(0,i.A)(e,-n)}},10123(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(70551);function i(e){(0,r.A)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},38351(e,t,n){var r;!function(){"use strict";var i,o=1e9,a={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},s=!0,c="[DecimalError] ",l=c+"Invalid argument: ",u=c+"Exponent out of range: ",f=Math.floor,d=Math.pow,h=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,p=1e7,m=f(1286742750677284.5),y={};function g(e,t){var n,r,i,o,a,c,l,u,f=e.constructor,d=f.precision;if(!e.s||!t.s)return t.s||(t=new f(e)),s?A(t,d):t;if(l=e.d,u=t.d,a=e.e,i=t.e,l=l.slice(),o=a-i){for(o<0?(r=l,o=-o,c=u.length):(r=u,i=a,c=l.length),o>(c=(a=Math.ceil(d/7))>c?a+1:c+1)&&(o=c,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for((c=l.length)-(o=u.length)<0&&(o=c,r=u,u=l,l=r),n=0;o;)n=(l[--o]=l[o]+u[o]+n)/p|0,l[o]%=p;for(n&&(l.unshift(n),++i),c=l.length;0==l[--c];)l.pop();return t.d=l,t.e=i,s?A(t,d):t}function v(e,t,n){if(e!==~~e||e<t||e>n)throw Error(l+e)}function b(e){var t,n,r,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;t<i;t++)(n=7-(r=e[t]+"").length)&&(o+=E(n)),o+=r;(n=7-(r=(a=e[t])+"").length)&&(o+=E(n))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}y.absoluteValue=y.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},y.comparedTo=y.cmp=function(e){var t,n,r,i,o=this;if(e=new o.constructor(e),o.s!==e.s)return o.s||-e.s;if(o.e!==e.e)return o.e>e.e^o.s<0?1:-1;for(t=0,n=(r=o.d.length)<(i=e.d.length)?r:i;t<n;++t)if(o.d[t]!==e.d[t])return o.d[t]>e.d[t]^o.s<0?1:-1;return r===i?0:r>i^o.s<0?1:-1},y.decimalPlaces=y.dp=function(){var e=this,t=e.d.length-1,n=7*(t-e.e);if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},y.dividedBy=y.div=function(e){return w(this,new this.constructor(e))},y.dividedToIntegerBy=y.idiv=function(e){var t=this.constructor;return A(w(this,new t(e),0,1),t.precision)},y.equals=y.eq=function(e){return!this.cmp(e)},y.exponent=function(){return S(this)},y.greaterThan=y.gt=function(e){return this.cmp(e)>0},y.greaterThanOrEqualTo=y.gte=function(e){return this.cmp(e)>=0},y.isInteger=y.isint=function(){return this.e>this.d.length-2},y.isNegative=y.isneg=function(){return this.s<0},y.isPositive=y.ispos=function(){return this.s>0},y.isZero=function(){return 0===this.s},y.lessThan=y.lt=function(e){return this.cmp(e)<0},y.lessThanOrEqualTo=y.lte=function(e){return this.cmp(e)<1},y.logarithm=y.log=function(e){var t,n=this,r=n.constructor,o=r.precision,a=o+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(i))throw Error(c+"NaN");if(n.s<1)throw Error(c+(n.s?"NaN":"-Infinity"));return n.eq(i)?new r(0):(s=!1,t=w(_(n,a),_(e,a),a),s=!0,A(t,o))},y.minus=y.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?T(t,e):g(t,(e.s=-e.s,e))},y.modulo=y.mod=function(e){var t,n=this,r=n.constructor,i=r.precision;if(!(e=new r(e)).s)throw Error(c+"NaN");return n.s?(s=!1,t=w(n,e,0,1).times(e),s=!0,n.minus(t)):A(new r(n),i)},y.naturalExponential=y.exp=function(){return x(this)},y.naturalLogarithm=y.ln=function(){return _(this)},y.negated=y.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},y.plus=y.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?g(t,e):T(t,(e.s=-e.s,e))},y.precision=y.sd=function(e){var t,n,r,i=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(l+e);if(t=S(i)+1,n=7*(r=i.d.length-1)+1,r=i.d[r]){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},y.squareRoot=y.sqrt=function(){var e,t,n,r,i,o,a,l=this,u=l.constructor;if(l.s<1){if(!l.s)return new u(0);throw Error(c+"NaN")}for(e=S(l),s=!1,0==(i=Math.sqrt(+l))||i==1/0?(((t=b(l.d)).length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=f((e+1)/2)-(e<0||e%2),r=new u(t=i==1/0?"5e"+e:(t=i.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new u(i.toString()),i=a=(n=u.precision)+3;;)if(r=(o=r).plus(w(l,o,a+2)).times(.5),b(o.d).slice(0,a)===(t=b(r.d)).slice(0,a)){if
vendor: 9,441 bytes, line 2
2(t=t.slice(a-3,a+1),i==a&&"4999"==t){if(A(o,n+1,0),o.times(o).eq(l)){r=o;break}}else if("9999"!=t)break;a+=4}return s=!0,A(r,n)},y.times=y.mul=function(e){var t,n,r,i,o,a,c,l,u,f=this,d=f.constructor,h=f.d,m=(e=new d(e)).d;if(!f.s||!e.s)return new d(0);for(e.s*=f.s,n=f.e+e.e,(l=h.length)<(u=m.length)&&(o=h,h=m,m=o,a=l,l=u,u=a),o=[],r=a=l+u;r--;)o.push(0);for(r=u;--r>=0;){for(t=0,i=l+r;i>r;)c=o[i]+m[r]*h[i-r-1]+t,o[i--]=c%p|0,t=c/p|0;o[i]=(o[i]+t)%p|0}for(;!o[--a];)o.pop();return t?++n:o.shift(),e.d=o,e.e=n,s?A(e,d.precision):e},y.toDecimalPlaces=y.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(v(e,0,o),void 0===t?t=r.rounding:v(t,0,8),A(n,e+S(n)+1,t))},y.toExponential=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=P(r,!0):(v(e,0,o),void 0===t?t=i.rounding:v(t,0,8),n=P(r=A(new i(r),e+1,t),!0,e+1)),n},y.toFixed=function(e,t){var n,r,i=this,a=i.constructor;return void 0===e?P(i):(v(e,0,o),void 0===t?t=a.rounding:v(t,0,8),n=P((r=A(new a(i),e+S(i)+1,t)).abs(),!1,e+S(r)+1),i.isneg()&&!i.isZero()?"-"+n:n)},y.toInteger=y.toint=function(){var e=this,t=e.constructor;return A(new t(e),S(e)+1,t.rounding)},y.toNumber=function(){return+this},y.toPower=y.pow=function(e){var t,n,r,o,a,l,u=this,d=u.constructor,h=+(e=new d(e));if(!e.s)return new d(i);if(!(u=new d(u)).s){if(e.s<1)throw Error(c+"Infinity");return u}if(u.eq(i))return u;if(r=d.precision,e.eq(i))return A(u,r);if(l=(t=e.e)>=(n=e.d.length-1),a=u.s,l){if((n=h<0?-h:h)<=9007199254740991){for(o=new d(i),t=Math.ceil(r/7+4),s=!1;n%2&&O((o=o.times(u)).d,t),0!==(n=f(n/2));)O((u=u.times(u)).d,t);return s=!0,e.s<0?new d(i).div(o):A(o,r)}}else if(a<0)throw Error(c+"NaN");return a=a<0&&1&e.d[Math.max(t,n)]?-1:1,u.s=1,s=!1,o=e.times(_(u,r+12)),s=!0,(o=x(o)).s=a,o},y.toPrecision=function(e,t){var n,r,i=this,a=i.constructor;return void 0===e?r=P(i,(n=S(i))<=a.toExpNeg||n>=a.toExpPos):(v(e,1,o),void 0===t?t=a.rounding:v(t,0,8),r=P(i=A(new a(i),e,t),e<=(n=S(i))||n<=a.toExpNeg,e)),r},y.toSignificantDigits=y.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(v(e,1,o),void 0===t?t=n.rounding:v(t,0,8)),A(new n(this),e,t)},y.toString=y.valueOf=y.val=y.toJSON=function(){var e=this,t=S(e),n=e.constructor;return P(e,t<=n.toExpNeg||t>=n.toExpPos)};var w=function(){function e(e,t){var n,r=0,i=e.length;for(e=e.slice();i--;)n=e[i]*t+r,e[i]=n%p|0,r=n/p|0;return r&&e.unshift(r),e}function t(e,t,n,r){var i,o;if(n!=r)o=n>r?1:-1;else for(i=o=0;i<n;i++)if(e[i]!=t[i]){o=e[i]>t[i]?1:-1;break}return o}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]<t[n]?1:0,e[n]=r*p+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,i,o,a){var s,l,u,f,d,h,m,y,g,v,b,w,x,k,E,_,C,T,P=r.constructor,O=r.s==i.s?1:-1,M=r.d,I=i.d;if(!r.s)return new P(r);if(!i.s)throw Error(c+"Division by zero");for(l=r.e-i.e,C=I.length,E=M.length,y=(m=new P(O)).d=[],u=0;I[u]==(M[u]||0);)++u;if(I[u]>(M[u]||0)&&--l,(w=null==o?o=P.precision:a?o+(S(r)-S(i))+1:o)<0)return new P(0);if(w=w/7+2|0,u=0,1==C)for(f=0,I=I[0],w++;(u<E||f)&&w--;u++)x=f*p+(M[u]||0),y[u]=x/I|0,f=x%I|0;else{for((f=p/(I[0]+1)|0)>1&&(I=e(I,f),M=e(M,f),C=I.length,E=M.length),k=C,v=(g=M.slice(0,C)).length;v<C;)g[v++]=0;(T=I.slice()).unshift(0),_=I[0],I[1]>=p/2&&++_;do{f=0,(s=t(I,g,C,v))<0?(b=g[0],C!=v&&(b=b*p+(g[1]||0)),(f=b/_|0)>1?(f>=p&&(f=p-1),1==(s=t(d=e(I,f),g,h=d.length,v=g.length))&&(f--,n(d,C<h?T:I,h))):(0==f&&(s=f=1),d=I.slice()),(h=d.length)<v&&d.unshift(0),n(g,d,v),-1==s&&(s=t(I,g,C,v=g.length))<1&&(f++,n(g,C<v?T:I,v)),v=g.length):0===s&&(f++,g=[0]),y[u++]=f,s&&g[0]?g[v++]=M[k]||0:(g=[M[k]],v=1)}while((k++<E||void 0!==g[0])&&w--)}return y[0]||y.shift(),m.e=l,A(m,a?o+S(m)+1:o)}}();function x(e,t){var n,r,o,a,c,l=0,f=0,h=e.constructor,p=h.precision;if(S(e)>16)throw Error(u+S(e));if(!e.s)return new h(i);for(null==t?(s=!1,c=p):c=t,a=new h(.03125);e.abs().gte(.1);)e=e.times(a),f+=5;for(c+=Math.log(d(2,f))/Math.LN10*2+5|0,n=r=o=new h(i),h.precision=c;;){if(r=A(r.times(e),c),n=n.times(++l),b((a=o.plus(w(r,n,c))).d).slice(0,c)===b(o.d).slice(0,c)){for(;f--;)o=A(o.times(o),c);return h.precision=p,null==t?(s=!0,A(o,p)):o}o=a}}function S(e){for(var t=7*e.e,n=e.d[0];n>=10;n/=10)t++;return t}function k(e,t,n){if(t>e.LN10.sd())throw s=!0,n&&(e.precision=n),Error(c+"LN10 precision limit exceeded");return A(new e(e.LN10),t)}function E(e){for(var t="";e--;)t+="0";return t}function _(e,t){var n,r,o,a,l,u,f,d,h,p=1,m=e,y=m.d,g=m.constructor,v=g.precision;if(m.s<1)throw Error(c+(m.s?"NaN":"-Infinity"));if(m.eq(i))return new g(0);if(null==t?(s=!1,d=v):d=t,m.eq(10))return null==t&&(s=!0),k(g,d);if(d+=10,g.precision=d,r=(n=b(y)).charAt(0),a=S(m),!(Math.abs(a)<15e14))return f=k(g,d+2,v).times(a+""),m=_(new g(r+"."+n.slice(1)),d-10).plus(f),g.precision=v,null==t?(s=!0,A(m,v)):m;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=b((m=m.times(e)).d)).charAt(0),p++;for(a=S(m),r>1?(m=new g("0."+n),a++):m=new g(r+"."+n.slice(1)),u=l=m=w(m.minus(i),m.plus(i),d),h=A(m.times(m),d),o=3;;){if(l=A(l.times(h),d),b((f=u.plus(w(l,new g(o),d))).d).slice(0,d)===b(u.d).slice(0,d))return u=u.times(2),0!==a&&(u=u.plus(k(g,d+2,v).times(a+""))),u=w(u,new g(p),d),g.precision=v,null==t?(s=!0,A(u,v)):u;u=f,o+=2}}function C(e,t){var n,r,i;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(i=t.length;48===t.charCodeAt(i-1);)--i;if(t=t.slice(r,i)){if(i-=r,n=n-r-1,e.e=f(n/7),e.d=[],r=(n+1)%7,n<0&&(r+=7),r<i){for(r&&e.d.push(+t.slice(0,r)),i-=7;r<i;)e.d.push(+t.slice(r,r+=7));r=7-(t=t.slice(r)).length}else r-=i;for(;r--;)t+="0";if(e.d.push(+t),s&&(e.e>m||e.e<-m))throw Error(u+n)}else e.s=0,e.e=0,e.d=[0];return e}function A(e,t,n){var r,i,o,a,c,l,h,y,g=e.d;for(a=1,o=g[0];o>=10;o/=10)a++;if((r=t-a)<0)r+=7,i=t,h=g[y=0];else{if((y=Math.ceil((r+1)/7))>=(o=g.length))return e;for(h=o=g[y],a=1;o>=10;o/=10)a++;i=(r%=7)-7+a}if(void 0!==n&&(c=h/(o=d(10,a-i-1))%10|0,l=t<0||void 0!==g[y+1]||h%o,l=n<4?(c||l)&&(0==n||n==(e.s<0?3:2)):c>5||5==c&&(4==n||l||6==n&&(r>0?i>0?h/d(10,a-i):0:g[y-1])%10&1||n==(e.s<0?8:7))),t<1||!g[0])return l?(o=S(e),g.length=1,t=t-o-1,g[0]=d(10,(7-t%7)%7),e.e=f(-t/7)||0):(g.length=1,g[0]=e.e=e.s=0),e;if(0==r?(g.length=y,o=1,y--):(g.length=y+1,o=d(10,7-r),g[y]=i>0?(h/d(10,a-i)%d(10,i)|0)*o:0),l)for(;;){if(0==y){(g[0]+=o)==p&&(g[0]=1,++e.e);break}if(g[y]+=o,g[y]!=p)break;g[y--]=0,o=1}for(r=g.length;0===g[--r];)g.pop();if(s&&(e.e>m||e.e<-m))throw Error(u+S(e));return e}function T(e,t){var n,r,i,o,a,c,l,u,f,d,h=e.constructor,m=h.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new h(e),s?A(t,m):t;if(l=e.d,d=t.d,r=t.e,u=e.e,l=l.slice(),a=u-r){for((f=a<0)?(n=l,a=-a,c=d.length):(n=d,r=u,c=l.length),a>(i=Math.max(Math.ceil(m/7),c)+2)&&(a=i,n.length=1),n.reverse(),i=a;i--;)n.push(0);n.reverse()}else{for((f=(i=l.length)<(c=d.length))&&(c=i),i=0;i<c;i++)if(l[i]!=d[i]){f=l[i]<d[i];break}a=0}for(f&&(n=l,l=d,d=n,t.s=-t.s),c=l.length,i=d.length-c;i>0;--i)l[c++]=0;for(i=d.length;i>a;){if(l[--i]<d[i]){for(o=i;o&&0===l[--o];)l[o]=p-1;--l[o],l[i]+=p}l[i]-=d[i]}for(;0===l[--c];)l.pop();for(;0===l[0];l.shift())--r;return l[0]?(t.d=l,t.e=r,s?A(t,m):t):new h(0)}function P(e,t,n){var r,i=S(e),o=b(e.d),a=o.length;return t?(n&&(r=n-a)>0?o=o.charAt(0)+"."+o.slice(1)+E(r):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+E(-i-1)+o,n&&(r=n-a)>0&&(o+=E(r))):i>=a?(o+=E(i+1-a),n&&(r=n-i-1)>0&&(o=o+"."+E(r))):((r=i+1)<a&&(o=o.slice(0,r)+"."+o.slice(r)),n&&(r=n-a)>0&&(i+1===a&&(o+="."),o+=E(r))),e.s<0?"-"+o:o}function O(e,t){if(e.length>t)return e.length=t,!0}function M(e){if(!e||"object"!=typeof e)throw Error(c+"Object expected");var t,n,r,i=["precision",1,o,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if(void 0!==(r=e[n=i[t]])){if(!(f(r)===r&&r>=i[t+1]&&r<=i[t+2]))throw Error(l+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(l+n+": "+r);this[n]=new this(r)}return this}(a=function e(t){var n,r,i;function o(e){var t=this;if(!(t instanceof o))return new o(e);if(t.constructor=o,e instanceof o)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"==typeof e){if(0*e!=0)throw Error(l+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):C(t,e.toString())}if("string"!=typeof e)throw Error(l+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!h.test(e))throw Error(l+e);C(t,e)}if(o.prototype=y,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=e,o.config=o.set=M,void 0===t&&(t={}),t)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n<i.length;)t.hasOwnProperty(r=i[n++])||(t[r]=this[r]);return o.config(t),o}(a)).default=a.Decimal=a,i=new a(1),void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()},72963(e,t,n){"use strict";var r=n(72515);t.__esModule=!0,t.default=function(e,t){e.classList?e.classList.add(t):(0,i.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))};var i=r(n(50598));e.exports=t.default},50598(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},e.exports=t.default},90788(e){"use strict";
2function t(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,n){e.classList?e.classList.remove(n):"string"==typeof e.className?e.className=t(e.className,n):e.setAttribute("class",t(e.className&&e.className.baseVal||"",n))}},72515(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},50411(e,t,n){var r;!function(){"use strict";var i=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()},51548(e,t){!function(e){"use strict";var t="function"==typeof WeakSet,n=Object.keys;function r(e,t){return e===t||e!=e&&t!=t}function i(e){return e.constructor===Object||null==e.constructor}function o(e){return!!e&&"function"==typeof e.then}function a(e){return!(!e||!e.$$typeof)}var s=t?function(){return new WeakSet}:function(){var e=[];return{add:function(t){e.push(t)},has:function(t){return-1!==e.indexOf(t)}}};function c(e){return function(t){var n=e||t;return function(e,t,r){void 0===r&&(r=s());var i=!!e&&"object"==typeof e,o=!!t&&"object"==typeof t;if(i||o){var a=i&&r.has(e),c=o&&r.has(t);if(a||c)return a&&c;i&&r.add(e),o&&r.add(t)}return n(e,t,r)}}}var l=Function.prototype.bind.call(Function.prototype.call,Object.prototype.hasOwnProperty);
2function u(e,t,r,i){var o=n(e),s=o.length;if(n(t).length!==s)return!1;if(s)for(var c=void 0;s-- >0;){if("_owner"===(c=o[s])){var u=a(e),f=a(t);if((u||f)&&u!==f)return!1}if(!l(t,c)||!r(e[c],t[c],i))return!1}return!0}var f="function"==typeof Map,d="function"==typeof Set;function h(e){var t="function"==typeof e?e(n):n;function n(e,n,a){if(e===n)return!0;if(e&&n&&"object"==typeof e&&"object"==typeof n){if(i(e)&&i(n))return u(e,n,t,a);var s=Array.isArray(e),c=Array.isArray(n);return s||c?s===c&&function(e,t,n,r){var i=e.length;if(t.length!==i)return!1;for(;i-- >0;)if(!n(e[i],t[i],r))return!1;return!0}(e,n,t,a):(s=e instanceof Date,c=n instanceof Date,s||c?s===c&&r(e.getTime(),n.getTime()):(s=e instanceof RegExp,c=n instanceof RegExp,s||c?s===c&&function(e,t){return e.source===t.source&&e.global===t.global&&e.ignoreCase===t.ignoreCase&&e.multiline===t.multiline&&e.unicode===t.unicode&&e.sticky===t.sticky&&e.lastIndex===t.lastIndex}(e,n):o(e)||o(n)?e===n:f&&(s=e instanceof Map,c=n instanceof Map,s||c)?s===c&&function(e,t,n,r){var i=e.size===t.size;if(i&&e.size){var o={};e.forEach(function(e,a){if(i){var s=!1,c=0;t.forEach(function(t,i){s||o[c]||(s=n(a,i,r)&&n(e,t,r))&&(o[c]=!0),c++}),i=s}})}return i}(e,n,t,a):d&&(s=e instanceof Set,c=n instanceof Set,s||c)?s===c&&function(e,t,n,r){var i=e.size===t.size;if(i&&e.size){var o={};e.forEach(function(e){if(i){var a=!1,s=0;t.forEach(function(t){a||o[s]||(a=n(e,t,r))&&(o[s]=!0),s++}),i=a}})}return i}(e,n,t,a):u(e,n,t,a)))}return e!=e&&n!=n}return n}var p=h(),m=h(function(){return r}),y=h(c()),g=h(c(r));e.circularDeepEqual=y,e.circularShallowEqual=g,e.createCustomEqual=h,e.deepEqual=p,e.sameValueZeroEqual=r,e.shallowEqual=m,Object.defineProperty(e,"__esModule",{value:!0})}(t)},4146(e,t,n){"use strict";var r=n(44363),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var i=h(n);i&&i!==p&&e(t,i,r)}var a=u(n);f&&(a=a.concat(f(n)));for(var s=c(t),m=c(n),y=0;y<a.length;++y){var g=a[y];if(!(o[g]||r&&r[g]||m&&m[g]||s&&s[g])){var v=d(n,g);try{l(t,g,v)}catch(e){}}}}return t}},19788(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,c=/^\s+|\s+$/g,l="";function u(e){return e?e.replace(c,l):l}e.exports=function(e,c){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];c=c||{};var f=1,d=1;function h(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function p(){var e={line:f,column:d};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:f,column:d},this.source=c.source}m.prototype.content=e;var y=[];function g(t){var n=new Error(c.source+":"+f+":"+d+": "+t);if(n.reason=t,n.filename=c.source,n.line=f,n.column=d,n.source=e,!c.silent)throw n;y.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return h(r),e=e.slice(r.length),n}}function b(){v(r)}function w(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;l!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,l===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,h(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function S(){var e=p(),n=v(i);if(n){if(x(),!v(o))return g("property missing ':'");var r=v(a),c=e({type:"declaration",property:u(n[0].replace(t,l)),value:r?u(r[0].replace(t,l)):l});return v(s),c}}return b(),function(){var e,t=[];for(w(t);e=S();)!1!==e&&(t.push(e),w(t));return t}()}},74851(e,t,n){"use strict";function r(e){void 0===e&&(e={});var t=e.customPropertyName,n=void 0===t?"innerVh":t,r=e.root,i=void 0===r?document.documentElement:r,o=e.ignoreCollapsibleUi,a=void 0===o||o,s=e.maximumCollapsibleUiHeight,c=void 0===s?100:s,l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["customPropertyName","root","ignoreCollapsibleUi","maximumCollapsibleUiHeight"]),u=[0,0],f=u[0],d=u[1],h=function(){var e,t=[window.innerWidth,window.innerHeight],r=t[0],o=t[1];if(!(a&&r===f&&Math.abs(o-d)<=c)){var s=o/100;n&&i.style.setProperty("--"+n,s+"px"),l.onChangeCallback&&l.onChangeCallback(s),f=(e=[r,o])[0],d=e[1]}};window.addEventListener("resize",h),h()}n.d(t,{z:()=>r})},6147(e){function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function n(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,r,i){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"==typeof r&&(i=r,r={}),r=r||{},i=i||function(){},a.type=r.type||"text/javascript",a.charset=r.charset||"utf8",a.async=!("async"in r)||!!r.async,a.src=e,r.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(a,r.attrs),r.text&&(a.text=""+r.text),("onload"in a?t:n)(a,i),a.onload||t(a,i),o.appendChild(a)}}
2,20181(e,t,n){var r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,l="object"==typeof self&&self&&self.Object===Object&&self,u=c||l||Function("return this")(),f=Object.prototype.toString,d=Math.max,h=Math.min,p=function(){return u.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==f.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=o.test(e);return n||a.test(e)?s(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var r,i,o,a,s,c,l=0,u=!1,f=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=r,o=i;return r=i=void 0,l=t,a=e.apply(o,n)}function b(e){var n=e-c;return void 0===c||n>=t||n<0||f&&e-l>=o}function w(){var e=p();if(b(e))return x(e);s=setTimeout(w,function(e){var n=t-(e-c);return f?h(n,o-(e-l)):n}(e))}function x(e){return s=void 0,g&&r?v(e):(r=i=void 0,a)}function S(){var e=p(),n=b(e);if(r=arguments,i=this,c=e,n){if(void 0===s)return function(e){return l=e,s=setTimeout(w,t),u?v(e):a}(c);if(f)return s=setTimeout(w,t),v(c)}return void 0===s&&(s=setTimeout(w,t)),a}return t=y(t)||0,m(n)&&(u=!!n.leading,o=(f="maxWait"in n)?d(y(n.maxWait)||0,t):o,g="trailing"in n?!!n.trailing:g),S.cancel=function(){void 0!==s&&clearTimeout(s),l=0,r=c=i=s=void 0},S.flush=function(){return void 0===s?a:x(p())},S}},62383(e,t,n){e=n.nmd(e);var r,i,o,a="[object Map]",s="[object Promise]",c="[object Set]",l="[object WeakMap]",u="[object DataView]",f=/^\[object .+?Constructor\]$/,d="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,h="object"==typeof self&&self&&self.Object===Object&&self,p=d||h||Function("return this")(),m=t&&!t.nodeType&&t,y=m&&e&&!e.nodeType&&e,g=y&&y.exports===m,v=Function.prototype,b=Object.prototype,w=p["__core-js_shared__"],x=(r=/[^.]+$/.exec(w&&w.keys&&w.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",S=v.toString,k=b.hasOwnProperty,E=b.toString,_=RegExp("^"+S.call(k).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),C=g?p.Buffer:void 0,A=b.propertyIsEnumerable,T=C?C.isBuffer:void 0,P=(i=Object.keys,o=Object,function(e){return i(o(e))}),O=V(p,"DataView"),M=V(p,"Map"),I=V(p,"Promise"),R=V(p,"Set"),D=V(p,"WeakMap"),N=!A.call({valueOf:1},"valueOf"),j=$(O),F=$(M),L=$(I),B=$(R),z=$(D);function V(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){if(!K(e)||function(e){return!!x&&x in e}(e))return!1;var t=G(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?_:f;return t.test($(e))}(n)?n:void 0}var U=function(e){return E.call(e)};function $(e){if(null!=e){try{return S.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(O&&U(new O(new ArrayBuffer(1)))!=u||M&&U(new M)!=a||I&&U(I.resolve())!=s||R&&U(new R)!=c||D&&U(new D)!=l)&&(U=function(e){var t=E.call(e),n="[object Object]"==t?e.constructor:void 0,r=n?$(n):void 0;if(r)switch(r){case j:return u;case F:return a;case L:return s;case B:return c;case z:return l}return t});var H=Array.isArray;function q(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!G(e)}var W=T||function(){return!1};function G(e){var t=K(e)?E.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function K(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){if(q(e)&&(H(e)||"string"==typeof e||"function"==typeof e.splice||W(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&q(e)}(e)&&k.call(e,"callee")&&(!A.call(e,"callee")||"[object Arguments]"==E.call(e))}(e)))return!e.length;var t=U(e);if(t==a||t==c)return!e.size;if(N||function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||b)}(e))return!P(e).length;for(var n in e)if(k.call(e,n))return!1;return!0}},8142(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Array]",s="[object Boolean]",c="[object Date]",l="[object Error]",u="[object Function]",f="[object Map]",d="[object Number]",h="[object Object]",p="[object Promise]",m="[object RegExp]",y="[object Set]",g="[object String]",v="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",x=/^\[object .+?Constructor\]$/,S=/^(?:0|[1-9]\d*)$/,k={};
vendor: 3,430 bytes, line 2
2k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k[o]=k[a]=k[b]=k[s]=k[w]=k[c]=k[l]=k[u]=k[f]=k[d]=k[h]=k[m]=k[y]=k[g]=k[v]=!1;var E="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,_="object"==typeof self&&self&&self.Object===Object&&self,C=E||_||Function("return this")(),A=t&&!t.nodeType&&t,T=A&&e&&!e.nodeType&&e,P=T&&T.exports===A,O=P&&E.process,M=function(){try{return O&&O.binding&&O.binding("util")}catch(e){}}(),I=M&&M.isTypedArray;function R(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function D(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function N(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var j,F,L,B=Array.prototype,z=Function.prototype,V=Object.prototype,U=C["__core-js_shared__"],$=z.toString,H=V.hasOwnProperty,q=(j=/[^.]+$/.exec(U&&U.keys&&U.keys.IE_PROTO||""))?"Symbol(src)_1."+j:"",W=V.toString,G=RegExp("^"+$.call(H).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),K=P?C.Buffer:void 0,Q=C.Symbol,J=C.Uint8Array,X=V.propertyIsEnumerable,Y=B.splice,Z=Q?Q.toStringTag:void 0,ee=Object.getOwnPropertySymbols,te=K?K.isBuffer:void 0,ne=(F=Object.keys,L=Object,function(e){return F(L(e))}),re=Te(C,"DataView"),ie=Te(C,"Map"),oe=Te(C,"Promise"),ae=Te(C,"Set"),se=Te(C,"WeakMap"),ce=Te(Object,"create"),le=Ie(re),ue=Ie(ie),fe=Ie(oe),de=Ie(ae),he=Ie(se),pe=Q?Q.prototype:void 0,me=pe?pe.valueOf:void 0;function ye(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ge(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ve(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function be(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ve;++t<n;)this.add(e[t])}function we(e){var t=this.__data__=new ge(e);this.size=t.size}function xe(e,t){for(var n=e.length;n--;)if(Re(e[n][0],t))return n;return-1}function Se(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Z&&Z in Object(e)?function(e){var t=H.call(e,Z),n=e[Z];try{e[Z]=void 0;var r=!0}catch(e){}var i=W.call(e);return r&&(t?e[Z]=n:delete e[Z]),i}(e):function(e){return W.call(e)}(e)}function ke(e){return ze(e)&&Se(e)==o}function Ee(e,t,n,r,i){return e===t||(null==e||null==t||!ze(e)&&!ze(t)?e!=e&&t!=t:function(e,t,n,r,i,u){var p=Ne(e),v=Ne(t),x=p?a:Oe(e),S=v?a:Oe(t),k=(x=x==o?h:x)==h,E=(S=S==o?h:S)==h,_=x==S;if(_&&je(e)){if(!je(t))return!1;p=!0,k=!1}if(_&&!k)return u||(u=new we),p||Ve(e)?_e(e,t,n,r,i,u):function(e,t,n,r,i,o,a){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case b:return!(e.byteLength!=t.byteLength||!o(new J(e),new J(t)));case s:case c:case d:return Re(+e,+t);case l:return e.name==t.name&&e.message==t.message;case m:case g:return e==t+"";case f:var u=D;case y:var h=1&r;if(u||(u=N),e.size!=t.size&&!h)return!1;var p=a.get(e);if(p)return p==t;r|=2,a.set(e,t);var v=_e(u(e),u(t),r,i,o,a);return a.delete(e),v;case"[object Symbol]":if(me)return me.call(e)==me.call(t)}return!1}(e,t,x,n,r,i,u);if(!(1&n)){var C=k&&H.call(e,"__wrapped__"),A=E&&H.call(t,"__wrapped__");
vendor: 7,248 bytes, line 2
2if(C||A){var T=C?e.value():e,P=A?t.value():t;return u||(u=new we),i(T,P,n,r,u)}}return!!_&&(u||(u=new we),function(e,t,n,r,i,o){var a=1&n,s=Ce(e),c=s.length;if(c!=Ce(t).length&&!a)return!1;for(var l=c;l--;){var u=s[l];if(!(a?u in t:H.call(t,u)))return!1}var f=o.get(e);if(f&&o.get(t))return f==t;var d=!0;o.set(e,t),o.set(t,e);for(var h=a;++l<c;){var p=e[u=s[l]],m=t[u];if(r)var y=a?r(m,p,u,t,e,o):r(p,m,u,e,t,o);if(!(void 0===y?p===m||i(p,m,n,r,o):y)){d=!1;break}h||(h="constructor"==u)}if(d&&!h){var g=e.constructor,v=t.constructor;g==v||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof v&&v instanceof v||(d=!1)}return o.delete(e),o.delete(t),d}(e,t,n,r,i,u))}(e,t,n,r,Ee,i))}function _e(e,t,n,r,i,o){var a=1&n,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var l=o.get(e);if(l&&o.get(t))return l==t;var u=-1,f=!0,d=2&n?new be:void 0;for(o.set(e,t),o.set(t,e);++u<s;){var h=e[u],p=t[u];if(r)var m=a?r(p,h,u,t,e,o):r(h,p,u,e,t,o);if(void 0!==m){if(m)continue;f=!1;break}if(d){if(!R(t,function(e,t){if(a=t,!d.has(a)&&(h===e||i(h,e,n,r,o)))return d.push(t);var a})){f=!1;break}}else if(h!==p&&!i(h,p,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f}function Ce(e){return function(e,t,n){var r=t(e);return Ne(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,Ue,Pe)}function Ae(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Te(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Be(e)||function(e){return!!q&&q in e}(e))&&(Fe(e)?G:x).test(Ie(e))}(n)?n:void 0}ye.prototype.clear=function(){this.__data__=ce?ce(null):{},this.size=0},ye.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ye.prototype.get=function(e){var t=this.__data__;if(ce){var n=t[e];return n===r?void 0:n}return H.call(t,e)?t[e]:void 0},ye.prototype.has=function(e){var t=this.__data__;return ce?void 0!==t[e]:H.call(t,e)},ye.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ce&&void 0===t?r:t,this},ge.prototype.clear=function(){this.__data__=[],this.size=0},ge.prototype.delete=function(e){var t=this.__data__,n=xe(t,e);return!(n<0||(n==t.length-1?t.pop():Y.call(t,n,1),--this.size,0))},ge.prototype.get=function(e){var t=this.__data__,n=xe(t,e);return n<0?void 0:t[n][1]},ge.prototype.has=function(e){return xe(this.__data__,e)>-1},ge.prototype.set=function(e,t){var n=this.__data__,r=xe(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},ve.prototype.clear=function(){this.size=0,this.__data__={hash:new ye,map:new(ie||ge),string:new ye}},ve.prototype.delete=function(e){var t=Ae(this,e).delete(e);return this.size-=t?1:0,t},ve.prototype.get=function(e){return Ae(this,e).get(e)},ve.prototype.has=function(e){return Ae(this,e).has(e)},ve.prototype.set=function(e,t){var n=Ae(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},be.prototype.add=be.prototype.push=function(e){return this.__data__.set(e,r),this},be.prototype.has=function(e){return this.__data__.has(e)},we.prototype.clear=function(){this.__data__=new ge,this.size=0},we.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},we.prototype.get=function(e){return this.__data__.get(e)},we.prototype.has=function(e){return this.__data__.has(e)},we.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ge){var r=n.__data__;if(!ie||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ve(r)}return n.set(e,t),this.size=n.size,this};var Pe=ee?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a)&&(o[i++]=a)}return o}(ee(e),function(t){return X.call(e,t)}))}:function(){return[]},Oe=Se;function Me(e,t){return!!(t=t??i)&&("number"==typeof e||S.test(e))&&e>-1&&e%1==0&&e<t}function Ie(e){if(null!=e){try{return $.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Re(e,t){return e===t||e!=e&&t!=t}(re&&Oe(new re(new ArrayBuffer(1)))!=w||ie&&Oe(new ie)!=f||oe&&Oe(oe.resolve())!=p||ae&&Oe(new ae)!=y||se&&Oe(new se)!=v)&&(Oe=function(e){var t=Se(e),n=t==h?e.constructor:void 0,r=n?Ie(n):"";if(r)switch(r){case le:return w;case ue:return f;case fe:return p;case de:return y;case he:return v}return t});var De=ke(function(){return arguments}())?ke:function(e){return ze(e)&&H.call(e,"callee")&&!X.call(e,"callee")},Ne=Array.isArray,je=te||function(){return!1};function Fe(e){if(!Be(e))return!1;var t=Se(e);return t==u||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Le(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function Be(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ze(e){return null!=e&&"object"==typeof e}var Ve=I?function(e){return function(t){return e(t)}}(I):function(e){return ze(e)&&Le(e.length)&&!!k[Se(e)]};function Ue(e){return null!=(t=e)&&Le(t.length)&&!Fe(t)?function(e,t){var n=Ne(e),r=!n&&De(e),i=!n&&!r&&je(e),o=!n&&!r&&!i&&Ve(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=s.length;for(var l in e)!t&&!H.call(e,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Me(l,c))||s.push(l);return s}(e):function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||V))return ne(e);var t,n,r=[];for(var i in Object(e))H.call(e,i)&&"constructor"!=i&&r.push(i);return r}(e);var t}e.exports=function(e,t){return Ee(e,t)}},73639(e){var t=Object.prototype.toString;e.exports=function(e){return"number"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Number]"==t.call(e)}},79001(e){var t,n,r=Function.prototype,i=Object.prototype,o=r.toString,a=i.hasOwnProperty,s=o.call(Object),c=i.toString,l=(t=Object.getPrototypeOf,n=Object,function(e){return t(n(e))});e.exports=function(e){if(!function(e){return!!e&&"object"==typeof e}(e)||"[object Object]"!=c.call(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e))return!1;var t=l(e);if(null===t)return!0;var n=a.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&o.call(n)==s}},45931(e){var t=Object.prototype.toString,n=Array.isArray;e.exports=function(e){return"string"==typeof e||!n(e)&&function(e){return!!e&&"object"==typeof e}(e)&&"[object String]"==t.call(e)}},35798(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Array]",s="[object Boolean]",c="[object Date]",l="[object Error]",u="[object Function]",f="[object Map]",d="[object Number]",h="[object Object]",p="[object Promise]",m="[object RegExp]",y="[object Set]",g="[object String]",v="[object Symbol]",b="[object WeakMap]",w="[object ArrayBuffer]",x="[object DataView]",S=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,k=/^\w*$/,E=/^\./,_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,C=/\\(\\)?/g,A=/^\[object .+?Constructor\]$/,T=/^(?:0|[1-9]\d*)$/,P={};
vendor: 4,125 bytes, line 2
2P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P[o]=P[a]=P[w]=P[s]=P[x]=P[c]=P[l]=P[u]=P[f]=P[d]=P[h]=P[m]=P[y]=P[g]=P[b]=!1;var O="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,M="object"==typeof self&&self&&self.Object===Object&&self,I=O||M||Function("return this")(),R=t&&!t.nodeType&&t,D=R&&e&&!e.nodeType&&e,N=D&&D.exports===R&&O.process,j=function(){try{return N&&N.binding("util")}catch(e){}}(),F=j&&j.isTypedArray;function L(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function B(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function z(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function V(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var U,$,H,q=Array.prototype,W=Function.prototype,G=Object.prototype,K=I["__core-js_shared__"],Q=(U=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||""))?"Symbol(src)_1."+U:"",J=W.toString,X=G.hasOwnProperty,Y=G.toString,Z=RegExp("^"+J.call(X).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ee=I.Symbol,te=I.Uint8Array,ne=G.propertyIsEnumerable,re=q.splice,ie=($=Object.keys,H=Object,function(e){return $(H(e))}),oe=Me(I,"DataView"),ae=Me(I,"Map"),se=Me(I,"Promise"),ce=Me(I,"Set"),le=Me(I,"WeakMap"),ue=Me(Object,"create"),fe=Be(oe),de=Be(ae),he=Be(se),pe=Be(ce),me=Be(le),ye=ee?ee.prototype:void 0,ge=ye?ye.valueOf:void 0,ve=ye?ye.toString:void 0;function be(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function we(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function xe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Se(e){var t=-1,n=e?e.length:0;for(this.__data__=new xe;++t<n;)this.add(e[t])}function ke(e){this.__data__=new we(e)}function Ee(e,t){for(var n=e.length;n--;)if(Ve(e[n][0],t))return n;return-1}be.prototype.clear=function(){this.__data__=ue?ue(null):{}},be.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},be.prototype.get=function(e){var t=this.__data__;if(ue){var n=t[e];return n===r?void 0:n}return X.call(t,e)?t[e]:void 0},be.prototype.has=function(e){var t=this.__data__;return ue?void 0!==t[e]:X.call(t,e)},be.prototype.set=function(e,t){return this.__data__[e]=ue&&void 0===t?r:t,this},we.prototype.clear=function(){this.__data__=[]},we.prototype.delete=function(e){var t=this.__data__,n=Ee(t,e);return!(n<0||(n==t.length-1?t.pop():re.call(t,n,1),0))},we.prototype.get=function(e){var t=this.__data__,n=Ee(t,e);return n<0?void 0:t[n][1]},we.prototype.has=function(e){return Ee(this.__data__,e)>-1},we.prototype.set=function(e,t){var n=this.__data__,r=Ee(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},xe.prototype.clear=function(){this.__data__={hash:new be,map:new(ae||we),string:new be}},xe.prototype.delete=function(e){return Oe(this,e).delete(e)},xe.prototype.get=function(e){return Oe(this,e).get(e)},xe.prototype.has=function(e){return Oe(this,e).has(e)},xe.prototype.set=function(e,t){return Oe(this,e).set(e,t),this},Se.prototype.add=Se.prototype.push=function(e){return this.__data__.set(e,r),this},Se.prototype.has=function(e){return this.__data__.has(e)},ke.prototype.clear=function(){this.__data__=new we},ke.prototype.delete=function(e){return this.__data__.delete(e)},ke.prototype.get=function(e){return this.__data__.get(e)},ke.prototype.has=function(e){return this.__data__.has(e)},ke.prototype.set=function(e,t){var n=this.__data__;if(n instanceof we){var r=n.__data__;if(!ae||r.length<199)return r.push([e,t]),this;n=this.__data__=new xe(r)}return n.set(e,t),this};function _e(e,t){for(var n=0,r=(t=De(t,e)?[t]:Te(t)).length;null!=e&&n<r;)e=e[Le(t[n++])];return n&&n==r?e:void 0}function Ce(e,t){return null!=e&&t in Object(e)}function Ae(e,t,n,r,i){return e===t||(null==e||null==t||!Ge(e)&&!Ke(t)?e
vendor: 4,934 bytes, line 2
2!=e&&t!=t:function(e,t,n,r,i,u){var p=$e(e),b=$e(t),S=a,k=a;p||(S=(S=Ie(e))==o?h:S),b||(k=(k=Ie(t))==o?h:k);var E=S==h&&!B(e),_=k==h&&!B(t),C=S==k;if(C&&!E)return u||(u=new ke),p||Je(e)?Pe(e,t,n,r,i,u):function(e,t,n,r,i,o,a){switch(n){case x:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!r(new te(e),new te(t)));case s:case c:case d:return Ve(+e,+t);case l:return e.name==t.name&&e.message==t.message;case m:case g:return e==t+"";case f:var u=z;case y:var h=2&o;if(u||(u=V),e.size!=t.size&&!h)return!1;var p=a.get(e);if(p)return p==t;o|=1,a.set(e,t);var b=Pe(u(e),u(t),r,i,o,a);return a.delete(e),b;case v:if(ge)return ge.call(e)==ge.call(t)}return!1}(e,t,S,n,r,i,u);if(!(2&i)){var A=E&&X.call(e,"__wrapped__"),T=_&&X.call(t,"__wrapped__");if(A||T){var P=A?e.value():e,O=T?t.value():t;return u||(u=new ke),n(P,O,r,i,u)}}return!!C&&(u||(u=new ke),function(e,t,n,r,i,o){var a=2&i,s=Xe(e),c=s.length;if(c!=Xe(t).length&&!a)return!1;for(var l=c;l--;){var u=s[l];if(!(a?u in t:X.call(t,u)))return!1}var f=o.get(e);if(f&&o.get(t))return f==t;var d=!0;o.set(e,t),o.set(t,e);for(var h=a;++l<c;){var p=e[u=s[l]],m=t[u];if(r)var y=a?r(m,p,u,t,e,o):r(p,m,u,e,t,o);if(!(void 0===y?p===m||n(p,m,r,i,o):y)){d=!1;break}h||(h="constructor"==u)}if(d&&!h){var g=e.constructor,v=t.constructor;g==v||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof v&&v instanceof v||(d=!1)}return o.delete(e),o.delete(t),d}(e,t,n,r,i,u))}(e,t,Ae,n,r,i))}function Te(e){return $e(e)?e:Fe(e)}function Pe(e,t,n,r,i,o){var a=2&i,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var l=o.get(e);if(l&&o.get(t))return l==t;var u=-1,f=!0,d=1&i?new Se:void 0;for(o.set(e,t),o.set(t,e);++u<s;){var h=e[u],p=t[u];if(r)var m=a?r(p,h,u,t,e,o):r(h,p,u,e,t,o);if(void 0!==m){if(m)continue;f=!1;break}if(d){if(!L(t,function(e,t){if(!d.has(t)&&(h===e||n(h,e,r,i,o)))return d.add(t)})){f=!1;break}}else if(h!==p&&!n(h,p,r,i,o)){f=!1;break}}return o.delete(e),o.delete(t),f}function Oe(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Me(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Ge(e)||function(e){return!!Q&&Q in e}(e))&&(qe(e)||B(e)?Z:A).test(Be(e))}(n)?n:void 0}var Ie=function(e){return Y.call(e)};function Re(e,t){return!!(t=t??i)&&("number"==typeof e||T.test(e))&&e>-1&&e%1==0&&e<t}function De(e,t){if($e(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Qe(e))||k.test(e)||!S.test(e)||null!=t&&e in Object(t)}function Ne(e){return e==e&&!Ge(e)}function je(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(oe&&Ie(new oe(new ArrayBuffer(1)))!=x||ae&&Ie(new ae)!=f||se&&Ie(se.resolve())!=p||ce&&Ie(new ce)!=y||le&&Ie(new le)!=b)&&(Ie=function(e){var t=Y.call(e),n=t==h?e.constructor:void 0,r=n?Be(n):void 0;if(r)switch(r){case fe:return x;case de:return f;case he:return p;case pe:return y;case me:return b}return t});var Fe=ze(function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(Qe(e))return ve?ve.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return E.test(e)&&n.push(""),e.replace(_,function(e,t,r,i){n.push(r?i.replace(C,"$1"):t||e)}),n});function Le(e){if("string"==typeof e||Qe(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Be(e){if(null!=e){try{return J.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function ze(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(ze.Cache||xe),n}function Ve(e,t){return e===t||e!=e&&t!=t}function Ue(e){return function(e){return Ke(e)&&He(e)}(e)&&X.call(e,"callee")&&(!ne.call(e,"callee")||Y.call(e)==o)}ze.Cache=xe;var $e=Array.isArray;function He(e){return null!=e&&We(e.length)&&!qe(e)}function qe(e){var t=Ge(e)?Y.call(e):"";return t==u||"[object GeneratorFunction]"==t}function We(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function Ge(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ke(e){return!!e&&"object"==typeof e}function Qe(e){return"symbol"==typeof e||Ke(e)&&Y.call(e)==v}var Je=F?function(e){return function(t){return e(t)}}(F):function(e){return Ke(e)&&We(e.length)&&!!P[Y.call(e)]};function Xe(e){return He(e)?function(e,t){var n=$e(e)||Ue(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!t&&!X.call(e,o)||i&&("length"==o||Re(o,r))||n.push(o);return n}(e):function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||G))return ie(e);var t,n,r=[];
2for(var i in Object(e))X.call(e,i)&&"constructor"!=i&&r.push(i);return r}(e)}function Ye(e){return e}e.exports=function(e,t){var n,r,i,o,a,s={};return t="function"==typeof(n=t)?n:null==n?Ye:"object"==typeof n?$e(n)?function(e,t){return De(e)&&Ne(t)?je(Le(e),t):function(n){var r=function(e,t){var n=null==e?void 0:_e(e,t);return void 0===n?void 0:n}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){for(var r,i=-1,o=(t=De(t,e)?[t]:Te(t)).length;++i<o;){var a=Le(t[i]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}return r||!!(o=e?e.length:0)&&We(o)&&Re(a,o)&&($e(e)||Ue(e))}(e,t,Ce)}(n,e):Ae(t,r,void 0,3)}}(n[0],n[1]):(i=function(e){for(var t=Xe(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Ne(i)]}return t}(r=n),1==i.length&&i[0][2]?je(i[0][0],i[0][1]):function(e){return e===r||function(e,t,n,r){var i=n.length,o=i;if(null==e)return!o;for(e=Object(e);i--;){var a=n[i];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var s=(a=n[i])[0],c=e[s],l=a[1];if(a[2]){if(void 0===c&&!(s in e))return!1}else{var u,f=new ke;if(!(void 0===u?Ae(l,c,r,3,f):u))return!1}}return!0}(e,0,i)}):De(o=n)?(a=Le(o),function(e){return null==e?void 0:e[a]}):function(e){return function(t){return _e(t,e)}}(o),function(e,t){e&&function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[++r];if(!1===t(i[s],s,i))break}}(e,t,Xe)}(e,function(e,n,r){s[n]=t(e,n,r)}),s}},30826(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Array]",s="[object Boolean]",c="[object Date]",l="[object Error]",u="[object Function]",f="[object Map]",d="[object Number]",h="[object Object]",p="[object Promise]",m="[object RegExp]",y="[object Set]",g="[object String]",v="[object Symbol]",b="[object WeakMap]",w="[object ArrayBuffer]",x="[object DataView]",S=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,k=/^\w*$/,E=/^\./,_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,C=/\\(\\)?/g,A=/^\[object .+?Constructor\]$/,T=/^(?:0|[1-9]\d*)$/,P={};P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P[o]=P[a]=P[w]=P[s]=P[x]=P[c]=P[l]=P[u]=P[f]=P[d]=P[h]=P[m]=P[y]=P[g]=P[b]=!1;var O="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,M="object"==typeof self&&self&&self.Object===Object&&self,I=O||M||Function("return this")(),R=t&&!t.nodeType&&t,D=R&&e&&!e.nodeType&&e,N=D&&D.exports===R&&O.process,j=function(){try{return N&&N.binding("util")}catch(e){}}(),F=j&&j.isTypedArray;function L(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function B(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function z(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function V(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function U(e,t){return function(n){return e(t(n))}}function $(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var H,q=Array.prototype,W=Function.prototype,G=Object.prototype,K=I["__core-js_shared__"],Q=(H=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||""))?"Symbol(src)_1."+H:"",J=W.toString,X=G.hasOwnProperty,Y=G.toString,Z=RegExp("^"+J.call(X).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ee=I.Symbol,te=I.Uint8Array,ne=U(Object.getPrototypeOf,Object),re=G.propertyIsEnumerable,ie=q.splice,oe=Object.getOwnPropertySymbols,ae=U(Object.keys,Object),se=De(I,"DataView"),ce=De(I,"Map"),le=De(I,"Promise"),ue=De(I,"Set"),fe=De(I,"WeakMap"),de=De(Object,"create"),he=qe(se),pe=qe(ce),me=qe(le),ye=qe(ue),ge=qe(fe),ve=ee?ee.prototype:void 0,be=ve?ve.valueOf:void 0,we=ve?ve.toString:void 0;function xe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Se(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ke(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ee(e){var t=-1,n=e?e.length:0;for(this.__data__=new ke;++t<n;)this.add(e[t])}function _e(e){this.__data__=new Se(e)}function Ce(e,t){var n=Qe(e)||Ke(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!t&&!X.call(e,o)||i&&("length"==o||Le(o,r))||n.push(o);return n}function Ae(e,t){for(var n=e.length;n--;)if(Ge(e[n][0],t))return n;return-1}function Te(e,t){for(var n=0,r=(t=Be(t,e)?[t]:Me(t)).length;null!=e&&n<r;)e=e[He(t[n++])];return n&&n==r?e:void 0}function Pe(e,t){return null!=e&&t in Object(e)}function Oe(e,t,n,r,i){return e===t||(null==e||null==t||!Ze(e)&&!et(t)?e!=e&&t!=t:function(e,t,n,r,i,u){var p=Qe(e),b=Qe(t),S=a,k=a;p||(S=(S=Fe(e))==o?h:S),b||(k=(k=Fe(t))==o?h:k);var E=S==h&&!z(e),_=k==h&&!z(t),C=S==k;if(C&&!E)return u||(u=new _e),p||rt(e)?Ie(e,t,n,r,i,u):function(e,t,n,r,i,o,a){switch(n){case x:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!r(new te(e),new te(t)));case s:case c:case d:return Ge(+e,+t);case l:return e.name==t.name&&e.message==t.message;case m:case g:return e==t+"";case f:var u=V;case y:var h=2&o;if(u||(u=$),e.size!=t.size&&!h)return!1;var p=a.get(e);if(p)return p==t;o|=1,a.set(e,t);var b=Ie(u(e),u(t),r,i,o,a);return a.delete(e),b;case v:if(be)return be.call(e)==be.call(t)}return!1}(e,t,S,n,r,i,u);if(!(2&i)){var A=E&&X.call(e,"__wrapped__"),T=_&&X.call(t,"__wrapped__");
vendor: 4,234 bytes, line 2
2if(A||T){var P=A?e.value():e,O=T?t.value():t;return u||(u=new _e),n(P,O,r,i,u)}}return!!C&&(u||(u=new _e),function(e,t,n,r,i,o){var a=2&i,s=it(e),c=s.length;if(c!=it(t).length&&!a)return!1;for(var l=c;l--;){var u=s[l];if(!(a?u in t:X.call(t,u)))return!1}var f=o.get(e);if(f&&o.get(t))return f==t;var d=!0;o.set(e,t),o.set(t,e);for(var h=a;++l<c;){var p=e[u=s[l]],m=t[u];if(r)var y=a?r(m,p,u,t,e,o):r(p,m,u,e,t,o);if(!(void 0===y?p===m||n(p,m,r,i,o):y)){d=!1;break}h||(h="constructor"==u)}if(d&&!h){var g=e.constructor,v=t.constructor;g==v||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof v&&v instanceof v||(d=!1)}return o.delete(e),o.delete(t),d}(e,t,n,r,i,u))}(e,t,Oe,n,r,i))}function Me(e){return Qe(e)?e:$e(e)}function Ie(e,t,n,r,i,o){var a=2&i,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var l=o.get(e);if(l&&o.get(t))return l==t;var u=-1,f=!0,d=1&i?new Ee:void 0;for(o.set(e,t),o.set(t,e);++u<s;){var h=e[u],p=t[u];if(r)var m=a?r(p,h,u,t,e,o):r(h,p,u,e,t,o);if(void 0!==m){if(m)continue;f=!1;break}if(d){if(!B(t,function(e,t){if(!d.has(t)&&(h===e||n(h,e,r,i,o)))return d.add(t)})){f=!1;break}}else if(h!==p&&!n(h,p,r,i,o)){f=!1;break}}return o.delete(e),o.delete(t),f}function Re(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function De(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Ze(e)||(t=e,Q&&Q in t))&&(Xe(e)||z(e)?Z:A).test(qe(e));var t}(n)?n:void 0}xe.prototype.clear=function(){this.__data__=de?de(null):{}},xe.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},xe.prototype.get=function(e){var t=this.__data__;if(de){var n=t[e];return n===r?void 0:n}return X.call(t,e)?t[e]:void 0},xe.prototype.has=function(e){var t=this.__data__;return de?void 0!==t[e]:X.call(t,e)},xe.prototype.set=function(e,t){return this.__data__[e]=de&&void 0===t?r:t,this},Se.prototype.clear=function(){this.__data__=[]},Se.prototype.delete=function(e){var t=this.__data__,n=Ae(t,e);return!(n<0||(n==t.length-1?t.pop():ie.call(t,n,1),0))},Se.prototype.get=function(e){var t=this.__data__,n=Ae(t,e);return n<0?void 0:t[n][1]},Se.prototype.has=function(e){return Ae(this.__data__,e)>-1},Se.prototype.set=function(e,t){var n=this.__data__,r=Ae(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},ke.prototype.clear=function(){this.__data__={hash:new xe,map:new(ce||Se),string:new xe}},ke.prototype.delete=function(e){return Re(this,e).delete(e)},ke.prototype.get=function(e){return Re(this,e).get(e)},ke.prototype.has=function(e){return Re(this,e).has(e)},ke.prototype.set=function(e,t){return Re(this,e).set(e,t),this},Ee.prototype.add=Ee.prototype.push=function(e){return this.__data__.set(e,r),this},Ee.prototype.has=function(e){return this.__data__.has(e)},_e.prototype.clear=function(){this.__data__=new Se},_e.prototype.delete=function(e){return this.__data__.delete(e)},_e.prototype.get=function(e){return this.__data__.get(e)},_e.prototype.has=function(e){return this.__data__.has(e)},_e.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Se){var r=n.__data__;if(!ce||r.length<199)return r.push([e,t]),this;n=this.__data__=new ke(r)}return n.set(e,t),this};var Ne=oe?U(oe,Object):st,je=oe?function(e){for(var t=[];e;)L(t,Ne(e)),e=ne(e);return t}:st,Fe=function(e){return Y.call(e)};function Le(e,t){return!!(t=t??i)&&("number"==typeof e||T.test(e))&&e>-1&&e%1==0&&e<t}function Be(e,t){if(Qe(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!tt(e))||k.test(e)||!S.test(e)||null!=t&&e in Object(t)}function ze(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||G)}function Ve(e){return e==e&&!Ze(e)}function Ue(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(se&&Fe(new se(new ArrayBuffer(1)))!=x||ce&&Fe(new ce)!=f||le&&Fe(le.resolve())!=p||ue&&Fe(new ue)!=y||fe&&Fe(new fe)!=b)&&(Fe=function(e){var t=Y.call(e),n=t==h?e.constructor:void 0,r=n?qe(n):void 0;if(r)switch(r){case he:return x;case pe:return f;case me:return p;case ye:return y;case ge:return b}return t});var $e=We(function(e){var t;
2e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(tt(e))return we?we.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return E.test(e)&&n.push(""),e.replace(_,function(e,t,r,i){n.push(r?i.replace(C,"$1"):t||e)}),n});function He(e){if("string"==typeof e||tt(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function qe(e){if(null!=e){try{return J.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function We(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(We.Cache||ke),n}function Ge(e,t){return e===t||e!=e&&t!=t}function Ke(e){return function(e){return et(e)&&Je(e)}(e)&&X.call(e,"callee")&&(!re.call(e,"callee")||Y.call(e)==o)}We.Cache=ke;var Qe=Array.isArray;function Je(e){return null!=e&&Ye(e.length)&&!Xe(e)}function Xe(e){var t=Ze(e)?Y.call(e):"";return t==u||"[object GeneratorFunction]"==t}function Ye(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function Ze(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function et(e){return!!e&&"object"==typeof e}function tt(e){return"symbol"==typeof e||et(e)&&Y.call(e)==v}var nt,rt=F?(nt=F,function(e){return nt(e)}):function(e){return et(e)&&Ye(e.length)&&!!P[Y.call(e)]};function it(e){return Je(e)?Ce(e):function(e){if(!ze(e))return ae(e);var t=[];for(var n in Object(e))X.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}function ot(e){return Je(e)?Ce(e,!0):function(e){if(!Ze(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ze(e),n=[];for(var r in e)("constructor"!=r||!t&&X.call(e,r))&&n.push(r);return n}(e)}function at(e){return e}function st(){return[]}e.exports=function(e,t){return null==e?{}:function(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=e[a];n(s,a)&&(o[a]=s)}return o}(e,function(e){return function(e,t,n){var r=t(e);return Qe(e)?r:L(r,n(e))}(e,ot,je)}(e),"function"==typeof(n=t)?n:null==n?at:"object"==typeof n?Qe(n)?function(e,t){return Be(e)&&Ve(t)?Ue(He(e),t):function(n){var r=function(e,t){var n=null==e?void 0:Te(e,t);return void 0===n?void 0:n}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){for(var r,i=-1,o=(t=Be(t,e)?[t]:Me(t)).length;++i<o;){var a=He(t[i]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}return r||!!(o=e?e.length:0)&&Ye(o)&&Le(a,o)&&(Qe(e)||Ke(e))}(e,t,Pe)}(n,e):Oe(t,r,void 0,3)}}(n[0],n[1]):(i=function(e){for(var t=it(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Ve(i)]}return t}(r=n),1==i.length&&i[0][2]?Ue(i[0][0],i[0][1]):function(e){return e===r||function(e,t,n,r){var i=n.length,o=i;if(null==e)return!o;for(e=Object(e);i--;){var a=n[i];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var s=(a=n[i])[0],c=e[s],l=a[1];if(a[2]){if(void 0===c&&!(s in e))return!1}else{var u,f=new _e;if(!(void 0===u?Oe(l,c,r,3,f):u))return!1}}return!0}(e,0,i)}):Be(o=n)?(a=He(o),function(e){return null==e?void 0:e[a]}):function(e){return function(t){return Te(t,e)}}(o));var n,r,i,o,a}},64381(e){function t(e){return e}e.exports=function(e){return e&&e.length?function(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}(e,t):0}},18051(e,t,n){!function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=r(t),o=r(n);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?c(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d=["animationData","loop","autoplay","initialSegment","onComplete","onLoopComplete","onEnterFrame","onSegmentStart","onConfigReady","onDataReady","onDataFailed","onLoadedImages","onDOMLoaded","onDestroy","lottieRef","renderer","name","assetsPath","rendererSettings"],h=function(e,t){var r=e.animationData,a=e.loop,s=e.autoplay,c=e.initialSegment,h=e.onComplete,p=e.onLoopComplete,m=e.onEnterFrame,y=e.onSegmentStart,g=e.onConfigReady,v=e.onDataReady,b=e.onDataFailed,w=e.onLoadedImages,x=e.onDOMLoaded,S=e.onDestroy;e.lottieRef,e.renderer,e.name,e.assetsPath,e.rendererSettings;var k=u(e,d),E=f(n.useState(!1),2),_=E[0],C=E[1],A=n.useRef(),T=n.useRef(null);return n.useEffect(function(){var t=function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(T.current){null===(t=A.current)||void 0===t||t.destroy();var r=l(l(l({},e),n),{},{container:T.current});return A.current=i.default.loadAnimation(r),C(!!A.current),function(){var e;null===(e=A.current)||void 0===e||e.destroy(),A.current=void 0}}}();return function(){return null==t?void 0:t()}},[r,a]),n.useEffect(function(){A.current&&(A.current.autoplay=!!s)},[s]),n.useEffect(function(){A.current&&(c?Array.isArray(c)&&c.length&&((A.current.currentRawFrame<c[0]||A.current.currentRawFrame>c[1])&&(A.current.currentRawFrame=c[0]),A.current.setSegment(c[0],c[1])):A.current.resetSegments(!0))},[c]),n.useEffect(function(){var e=[{name:"complete",handler:h},{name:"loopComplete",handler:p},{name:"enterFrame",handler:m},{name:"segmentStart",handler:y},{name:"config_ready",handler:g},{name:"data_ready",handler:v},{name:"data_failed",handler:b},{name:"loaded_images",handler:w},{name:"DOMLoaded",handler:x},{name:"destroy",handler:S}].filter(function(e){return null!=e.handler});if(e.length){var t=e.map(function(e){var t;return null===(t=A.current)||void 0===t||t.addEventListener(e.name,e.handler),function(){var t;null===(t=A.current)||void 0===t||t.removeEventListener(e.name,e.handler)}});return function(){t.forEach(function(e){return e()})}}},[h,p,m,y,g,v,b,w,x,S]),{View:o.default.createElement("div",l({style:t,ref:T},k)),play:function(){var e;null===(e=A.current)||void 0===e||e.play()},stop:function(){var e;null===(e=A.current)||void 0===e||e.stop()},pause:function(){var e;null===(e=A.current)||void 0===e||e.pause()},setSpeed:function(e){var t;null===(t=A.current)||void 0===t||t.setSpeed(e)},goToAndStop:function(e,t){var n;null===(n=A.current)||void 0===n||n.goToAndStop(e,t)},goToAndPlay:function(e,t){var n;null===(n=A.current)||void 0===n||n.goToAndPlay(e,t)},setDirection:function(e){var t;null===(t=A.current)||void 0===t||t.setDirection(e)},playSegments:function(e,t){var n;null===(n=A.current)||void 0===n||n.playSegments(e,t)},setSubframe:function(e){var t;null===(t=A.current)||void 0===t||t.setSubframe(e)},getDuration:function(e){var t;return null===(t=A.current)||void 0===t?void 0:t.getDuration(e)},destroy:function(){var e;null===(e=A.current)||void 0===e||e.destroy(),A.current=void 0},animationContainerRef:T,animationLoaded:_,animationItem:A.current}};var p=function(e){var t=e.wrapperRef,r=e.animationItem,i=e.mode,o=e.actions;n.useEffect(function(){var e,n,a,s,c,l=t.current;if(l&&r&&o.length){r.stop();switch(i){case"scroll":return s=null,c=function(){var e,t,n,i=(t=(e=l.getBoundingClientRect()).top,n=e.height,(window.innerHeight-t)/(window.innerHeight+n)),a=o.find(function(e){var t=e.visibility;return t&&i>=t[0]&&i<=t[1]});if(a){if("seek"===a.type&&a.visibility&&2===a.frames.length){var c=a.frames[0]+Math.ceil((i-a.visibility[0])/(a.visibility[1]-a.visibility[0])*a.frames[1]);r.goToAndStop(c-r.firstFrame-1,!0)}"loop"===a.type&&(null===s||s!==a.frames||r.isPaused)&&(r.playSegments(a.frames,!0),s=a.frames),"play"===a.type&&r.isPaused&&(r.resetSegments(!0),r.play()),"stop"===a.type&&r.goToAndStop(a.frames[0]-r.firstFrame-1,!0)}},document.addEventListener("scroll",c),function(){document.removeEventListener("scroll",c)};case"cursor":return e=function(e,t){var n,i,a,s,c=e,u=t;if(-1!==c&&-1!==u){var f=(n=c,i=u,s=(a=l.getBoundingClientRect()).top,{x:(n-a.left)/a.width,y:(i-s)/a.height});c=f.x,u=f.y}var d=o.find(function(e){var t=e.position;return t&&Array.isArray(t.x)&&Array.isArray(t.y)?c>=t.x[0]&&c<=t.x[1]&&u>=t.y[0]&&u<=t.y[1]:!(!t||Number.isNaN(t.x)||Number.isNaN(t.y))&&c===t.x&&u===t.y});if(d){if("seek"===d.type&&d.position&&Array.isArray(d.position.x)&&Array.isArray(d.position.y)&&2===d.frames.length){var h=(c-d.position.x[0])/(d.position.x[1]-d.position.x[0]),p=(u-d.position.y[0])/(d.position.y[1]-d.position.y[0]);r.playSegments(d.frames,!0),r.goToAndStop(Math.ceil((h+p)/2*(d.frames[1]-d.frames[0])),!0)}"loop"===d.type&&r.playSegments(d.frames,!0),"play"===d.type&&(r.isPau
vendor: 6,748 bytes, line 2
2sed&&r.resetSegments(!1),r.playSegments(d.frames)),"stop"===d.type&&r.goToAndStop(d.frames[0],!0)}},n=function(t){e(t.clientX,t.clientY)},a=function(){e(-1,-1)},l.addEventListener("mousemove",n),l.addEventListener("mouseout",a),function(){l.removeEventListener("mousemove",n),l.removeEventListener("mouseout",a)}}}},[i,r])},m=function(e){var t=e.actions,n=e.mode,r=e.lottieObj,i=r.animationItem,o=r.View,a=r.animationContainerRef;return p({actions:t,animationItem:i,mode:n,wrapperRef:a}),o},y=["style","interactivity"];Object.defineProperty(e,"LottiePlayer",{enumerable:!0,get:function(){return i.default}}),e.default=function(e){var t,r,i,o=e.style,a=e.interactivity,s=u(e,y),c=h(s,o),l=c.View,f=c.play,d=c.stop,p=c.pause,g=c.setSpeed,v=c.goToAndStop,b=c.goToAndPlay,w=c.setDirection,x=c.playSegments,S=c.setSubframe,k=c.getDuration,E=c.destroy,_=c.animationContainerRef,C=c.animationLoaded,A=c.animationItem;return n.useEffect(function(){e.lottieRef&&(e.lottieRef.current={play:f,stop:d,pause:p,setSpeed:g,goToAndPlay:b,goToAndStop:v,setDirection:w,playSegments:x,setSubframe:S,getDuration:k,destroy:E,animationContainerRef:_,animationLoaded:C,animationItem:A})},[null===(t=e.lottieRef)||void 0===t?void 0:t.current]),m({lottieObj:{View:l,play:f,stop:d,pause:p,setSpeed:g,goToAndStop:v,goToAndPlay:b,setDirection:w,playSegments:x,setSubframe:S,getDuration:k,destroy:E,animationContainerRef:_,animationLoaded:C,animationItem:A},actions:null!==(r=null==a?void 0:a.actions)&&void 0!==r?r:[],mode:null!==(i=null==a?void 0:a.mode)&&void 0!==i?i:"scroll"})},e.useLottie=h,e.useLottieInteractivity=m,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(49891),n(96540))},49891(module,exports,__webpack_require__){var factory;"undefined"!=typeof document&&"undefined"!=typeof navigator&&(factory=function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var n,r,i=e.length;for(n=0;n<i;n+=1)for(var o in r=e[n].prototype)Object.prototype.hasOwnProperty.call(r,o)&&(t.prototype[o]=r[o])}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(e){this.audios.push(e)},pause:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].pause()},resume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].resume()},setRate:function(e){var t,n=this.audios.length;for(t=0;t<n;t+=1)this.audios[t].setRate(e)},createAudio:function(e){return this.audioFactory?this.audioFactory(e):window.Howl?new window.Howl({src:[e]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(e){this.audioFactory=e},setVolume:function(e){this._volume=e,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(e,t){var n,r=0,i=[];switch(e){case"int16":case"uint8c":n=1;break;default:n=1.1}for(r=0;r<t;r+=1)i.push(n);return i}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(t,n){return"float32"===t?new Float32Array(n):"int16"===t?new Int16Array(n):"uint8c"===t?new Uint8ClampedArray(n):e(t,n)}:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){return _typeof$6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}!function(){var e,t=["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"],n=t.length;for(e=0;e<n;e+=1)BMMath[t[e]]=Math[t[e]]}(),BMMath.random=Math.random,BMMath.abs=function(e){if("object"===_typeof$6(e)&&e.length){var t,n=createSizedArray(e.length),r=e.length;for(t=0;t<r;t+=1)n[t]=Math.abs(e[t]);return n}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(e){_shouldRoundValues=!!e}function bmRnd(e){return _shouldRoundValues?Math.round(e):e}function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,n,r){this.type=e,this.currentTime=t,this.totalTime=n,this.direction=r<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,n,r){this.type=e,this.currentLoop=n,this.totalLoops=t,this.direction=r<0?-1:1}function BMSegmentStartEvent(e,t,n){this.type=e,this.firstFrame=t,this.totalFrames=n}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}function BMAnimationConfigErrorEvent(e,t){this.type=e,this.nativeError=t}var createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(e,t,n){var r,i,o,a,s,c,l,u;switch(c=n*(1-t),l=n*(1-(s=6*e-(a=Math.floor(6*e)))*t),u=n*(1-(1-s)*t),a%6){case 0:r=n,i=u,o=c;break;case 1:r=l,i=n,o=c;break;case 2:r=c,i=n,o=u;break;case 3:r=c,i=l,o=n;break;case 4:r=u,i=c,o=n;break;case 5:r=n,i=c,o=l}return[r,i,o]}
vendor: 12,082 bytes, line 2
2function RGBtoHSV(e,t,n){var r,i=Math.max(e,t,n),o=Math.min(e,t,n),a=i-o,s=0===i?0:a/i,c=i/255;switch(i){case o:r=0;break;case e:r=t-n+a*(t<n?6:0),r/=6*a;break;case t:r=n-e+2*a,r/=6*a;break;case n:r=e-t+4*a,r/=6*a}return[r,s,c]}function addSaturationToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[1]+=t,n[1]>1?n[1]=1:n[1]<=0&&(n[1]=0),HSVtoRGB(n[0],n[1],n[2])}function addBrightnessToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[2]+=t,n[2]>1?n[2]=1:n[2]<0&&(n[2]=0),HSVtoRGB(n[0],n[1],n[2])}function addHueToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[0]+=t/360,n[0]>1?n[0]-=1:n[0]<0&&(n[0]+=1),HSVtoRGB(n[0],n[1],n[2])}var rgbToHex=function(){var e,t,n=[];for(e=0;e<256;e+=1)t=e.toString(16),n[e]=1===t.length?"0"+t:t;return function(e,t,r){return e<0&&(e=0),t<0&&(t=0),r<0&&(r=0),"#"+n[e]+n[t]+n[r]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(e){expressionsInterfaces=e},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e},getIdPrefix=function(){return idPrefix$1};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){return _typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$5(e)}var dataManager=function(){var e,t,n=1,r=[],i={onmessage:function(){},postMessage:function(t){e({data:t})}},o={postMessage:function(e){i.onmessage({data:e})}};function a(){t||(t=function(t){if(window.Worker&&window.Blob&&getWebWorker()){var n=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),r=URL.createObjectURL(n);return new Worker(r)}return e=t,i}(function(e){if(o.dataManager||(o.dataManager=function(){function e(i,o){var a,s,c,l,u,d,h=i.length;for(s=0;s<h;s+=1)if("ks"in(a=i[s])&&!a.completed){if(a.completed=!0,a.hasMask){var p=a.masksProperties;for(l=p.length,c=0;c<l;c+=1)if(p[c].pt.k.i)r(p[c].pt.k);else for(d=p[c].pt.k.length,u=0;u<d;u+=1)p[c].pt.k[u].s&&r(p[c].pt.k[u].s[0]),p[c].pt.k[u].e&&r(p[c].pt.k[u].e[0])}0===a.ty?(a.layers=t(a.refId,o),e(a.layers,o)):4===a.ty?n(a.shapes):5===a.ty&&f(a)}}function t(e,t){var n=function(e,t){for(var n=0,r=t.length;n<r;){if(t[n].id===e)return t[n];n+=1}return null}(e,t);return n?n.layers.__used?JSON.parse(JSON.stringify(n.layers)):(n.layers.__used=!0,n.layers):null}function n(e){var t,i,o;for(t=e.length-1;t>=0;t-=1)if("sh"===e[t].ty)if(e[t].ks.k.i)r(e[t].ks.k);else for(o=e[t].ks.k.length,i=0;i<o;i+=1)e[t].ks.k[i].s&&r(e[t].ks.k[i].s[0]),e[t].ks.k[i].e&&r(e[t].ks.k[i].e[0]);else"gr"===e[t].ty&&n(e[t].it)}function r(e){var t,n=e.i.length;for(t=0;t<n;t+=1)e.i[t][0]+=e.v[t][0],e.i[t][1]+=e.v[t][1],e.o[t][0]+=e.v[t][0],e.o[t][1]+=e.v[t][1]}function i(e,t){var n=t?t.split("."):[100,100,100];return e[0]>n[0]||!(n[0]>e[0])&&(e[1]>n[1]||!(n[1]>e[1])&&(e[2]>n[2]||!(n[2]>e[2])&&null))}var o,a=function(){var e=[4,4,14];function t(e){var t=e.t.d;e.t.d={k:[{s:t,t:0}]}}function n(e){var n,r=e.length;for(n=0;n<r;n+=1)5===e[n].ty&&t(e[n])}return function(t){if(i(e,t.v)&&(n(t.layers),t.assets)){var r,o=t.assets.length;for(r=0;r<o;r+=1)t.assets[r].layers&&n(t.assets[r].layers)}}}(),s=(o=[4,7,99],function(e){if(e.chars&&!i(o,e.v)){var t,r=e.chars.length;for(t=0;t<r;t+=1){var a=e.chars[t];a.data&&a.data.shapes&&(n(a.data.shapes),a.data.ip=0,a.data.op=99999,a.data.st=0,a.data.sr=1,a.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}},e.chars[t].t||(a.data.shapes.push({ty:"no"}),a.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"})))}}}),c=function(){var e=[5,7,15];function t(e){var t=e.t.p;"number"==typeof t.a&&(t.a={a:0,k:t.a}),"number"==typeof t.p&&(t.p={a:0,k:t.p}),"number"==typeof t.r&&(t.r={a:0,k:t.r})}function n(e){var n,r=e.length;for(n=0;n<r;n+=1)5===e[n].ty&&t(e[n])}return function(t){if(i(e,t.v)&&(n(t.layers),t.assets)){var r,o=t.assets.length;for(r=0;r<o;r+=1)t.assets[r].layers&&n(t.assets[r].layers)}}}(),l=function(){var e=[4,1,9];function t(e){var n,r,i,o=e.length;for(n=0;n<o;n+=1)if("gr"===e[n].ty)t(e[n].it);else if("fl"===e[n].ty||"st"===e[n].ty)if(e[n].c.k&&e[n].c.k[0].i)for(i=e[n].c.k.length,r=0;r<i;r+=1)e[n].c.k[r].s&&(e[n].c.k[r].s[0]/=255,e[n].c.k[r].s[1]/=255,e[n].c.k[r].s[2]/=255,e[n].c.k[r].s[3]/=255),e[n].c.k[r].e&&(e[n].c.k[r].e[0]/=255,e[n].c.k[r].e[1]/=255,e[n].c.k[r].e[2]/=255,e[n].c.k[r].e[3]/=255);else e[n].c.k[0]/=255,e[n].c.k[1]/=255,e[n].c.k[2]/=255,e[n].c.k[3]/=255}function n(e){var n,r=e.length;for(n=0;n<r;n+=1)4===e[n].ty&&t(e[n].shapes)}return function(t){if(i(e,t.v)&&(n(t.layers),t.assets)){var r,o=t.assets.length;for(r=0;r<o;r+=1)t.assets[r].layers&&n(t.assets[r].layers)}}}(),u=function(){var e=[4,4,18];function t(e){var n,r,i;for(n=e.length-1;n>=0;n-=1)if("sh"===e[n].ty)if(e[n].ks.k.i)e[n].ks.k.c=e[n].closed;else for(i=e[n].ks.k.length,r=0;r<i;r+=1)e[n].ks.k[r].s&&(e[n].ks.k[r].s[0].c=e[n].closed),e[n].ks.k[r].e&&(e[n].ks.k[r].e[0].c=e[n].closed);else"gr"===e[n].ty&&t(e[n].it)}function n(e){var n,r,i,o,a,s,c=e.length;for(r=0;r<c;r+=1){if((n=e[r]).hasMask){var l=n.masksProperties;for(o=l.length,i=0;i<o;i+=1)if(l[i].pt.k.i)l[i].pt.k.c=l[i].cl;else for(s=l[i].pt.k.length,a=0;a<s;a+=1)l[i].pt.k[a].s&&(l[i].pt.k[a].s[0].c=l[i].cl),l[i].pt.k[a].e&&(l[i].pt.k[a].e[0].c=l[i].cl)}4===n.ty&&t(n.shapes)}}return function(t){if(i(e,t.v)&&(n(t.layers),t.assets)){var r,o=t.assets.length;for(r=0;r<o;r+=1)t.assets[r].layers&&n(t.assets[r].layers)}}}();function f(e){0===e.t.a.length&&e.t.p}var d={completeData:function(n){n.__complete||(l(n),a(n),s(n),c(n),u(n),e(n.layers,n.assets),function(n,r){if(n){var i=0,o=n.length;for(i=0;i<o;i+=1)1===n[i].t&&(n[i].data.layers=t(n[i].data.refId,r),e(n[i].data.layers,r))}}(n.chars,n.assets),n.__complete=!0)}};return d.checkColors=l,d.checkChars=s,d.checkPathProperties=c,d.checkShapes=u,d.completeLayers=e,d}()),o.assetLoader||(o.assetLoader=function(){function e(e){var t=e.getResponseHeader("content-type");return t&&"json"===e.responseType&&-1!==t.indexOf("json")||e.response&&"object"===_typeof$5(e.response)?e.response:e.response&&"string"==typeof e.response?JSON.parse(e.response):e.responseText?JSON.parse(e.responseText):null}return{load:function(t,n,r,i){var o,a=new XMLHttpRequest;try{a.responseType="json"}catch(e){}a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status)o=e(a),r(o);else try{o=e(a),r(o)}catch(e){i&&i(e)}};try{a.open(["G","E","T"].join(""),t,!0)}catch(e){a.open(["G","E","T"].join(""),n+"/"+t,!0)}a.send()}}}()),"loadAnimation"===e.data.type)o.assetLoader.load(e.data.path,e.data.fullPath,function(t){o.dataManager.completeData(t),o.postMessage({id:e.data.id,payload:t,status:"success"})},function(){o.postMessage({id:e.data.id,status:"error"})});else if("complete"===e.data.type){var t=e.data.animation;o.dataManager.completeData(t),o.postMessage({id:e.data.id,payload:t,status:"success"})}else"loadData"===e.data.type&&o.assetLoader.load(e.data.path,e.data.fullPath,function(t){o.postMessage({id:e.data.id,payload:t,status:"success"})},function(){o.postMessage({id:e.data.id,status:"error"})})}),t.onmessage=function(e){var t=e.data,n=t.id,i=r[n];r[n]=null,"success"===t.status?i.onComplete(t.payload):i.onError&&i.onError()})}function s(e,t){var i="processId_"+(n+=1);return r[i]={onComplete:e,onError:t},i}return{loadAnimation:function(e,n,r){a();var i=s(n,r);t.postMessage({type:"loadAnimation",path:e,fullPath:window.location.origin+window.location.pathname,id:i})},loadData:function(e,n,r){a();var i=s(n,r);t.postMessage({type:"loadData",path:e,fullPath:window.location.origin+window.location.pathname,id:i})},completeAnimation:function(e,n,r){a();var i=s(n,r);t.postMessage({type:"complete",animation:e,id:i})}}}(),ImagePreloader=function(){var e=function(){var e=createTag("canvas");e.width=1,e.height=1;var t=e.getContext("2d");return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),e}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(e,t,n){var r="";if(e.e)r=e.p;else if(t){var i=e.p;-1!==i.indexOf("images/")&&(i=i.split("/")[1]),r=t+i}else r=n,r+=e.u?e.u:"",r+=e.p;return r}function i(e){var t=0,n=setInterval(function(){(e.getBBox().width||t>500)&&(this._imageLoaded(),clearInterval(n)),t+=1}.bind(this),50)}function o(e){var t={assetData:e},n=r(e,this.assetsPath,this.path);return dataManager.loadData(n,function(e){t.img=e,this._footageLoaded()}.bind(this),function(){t.img={},this._footageLoaded()}.bind(this)),t}function a(){this._imageLoaded=t.bind(this),this._footageLoaded=n.bind(this),this.testImageLoaded=i.bind(this),this.createFootageData=o.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return a.prototype={loadAssets:function(e,t){var n;this.imagesLoadedCb=t;var r=e.length;for(n=0;n<r;n+=1)e[n].layers||(e[n].t&&"seq"!==e[n].t?3===e[n].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(e[n]))):(this.totalImages+=1,this.images.push(this._createImageData(e[n]))))},setAssetsPath:function(e){this.assetsPath=e||""},setPath:function(e){this.path=e||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(e){for(var t=0,n=this.images.length;t<n;){if(this.images[t].assetData===e)return this.images[t].img;t+=1}return null},createImgData:function(t){var n=r(t,this.assetsPath,this.path),i=createTag("img");i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){o.img=e,this._imageLoaded()}.bind(this),!1),i.src=n;var o={img:i,assetData:t};return o},createImageData:function(t){var n=r(t,this.assetsPath,this.path),i=createNS("image");isSafari?this.testImageLoaded(i):i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){o.img=e,this._imageLoaded()}.bind(this),!1),i.setAttributeNS("http://www.w3.org/1999/xlink","href",n),this._elementHelper.append?this._elementHelper.append(i):this._elementHelper.appendChild(i);var o={img:i,assetData:t};return o},imageLoaded:t,footageLoaded:n,setCacheType:function(e,t){"svg"===e?(this._elementHelper=t,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},a}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,t){if(this._cbs[e])for(var n=this._cbs[e],r=0;r<n.length;r+=1)n[r](t)},addEventListener:function(e,t){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(t),function(){this.removeEventListener(e,t)}.bind(this)},removeEventListener:function(e,t){if(t){if(this._cbs[e]){for(var n=0,r=this._cbs[e].length;n<r;)this._cbs[e][n]===t&&(this._cbs[e].splice(n,1),n-=1,r-=1),n+=1;this._cbs[e].length||(this._cbs[e]=null)}}else this._cbs[e]=null}};var markerParser=function(){function e(e){for(var t,n=e.split("\r\n"),r={},i=0,o=0;o<n.length;o+=1)2===(t=n[o].split(":")).length&&(r[t[0]]=t[1].trim(),i+=1);if(0===i)throw new Error;return r}return function(t){for(var n=[],r=0;r<t.length;r+=1){var i=t[r],o={time:i.tm,duration:i.dr};try{o.payload=JSON.parse(t[r].cm)}catch(n){try{o.payload=e(t[r].cm)}catch(e){o.payload={name:t[r].cm}}}n.push(o
vendor: 4,381 bytes, line 2
2)}return n}}(),ProjectInterface=function(){function e(e){this.compositions.push(e)}return function(){function t(e){for(var t=0,n=this.compositions.length;t<n;){if(this.compositions[t].data&&this.compositions[t].data.nm===e)return this.compositions[t].prepareFrame&&this.compositions[t].data.xt&&this.compositions[t].prepareFrame(this.currentFrame),this.compositions[t].compInterface;t+=1}return null}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),renderers={},registerRenderer=function(e,t){renderers[e]=t};function getRenderer(e){return renderers[e]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var e in renderers)if(renderers[e])return e;return""}function _typeof$4(e){return _typeof$4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$4(e)}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(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t="svg";e.animType?t=e.animType:e.renderer&&(t=e.renderer);var n=getRenderer(t);this.renderer=new n(this,e.rendererSettings),this.imagePreloader.setCacheType(t,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=t,""===e.loop||null===e.loop||void 0===e.loop||!0===e.loop?this.loop=!0:!1===e.loop?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay=!("autoplay"in e)||e.autoplay,this.name=e.name?e.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(e,"autoloadSegments")||e.autoloadSegments,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(-1!==e.path.lastIndexOf("\\")?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,t){t&&"object"!==_typeof$4(t)&&(t=JSON.parse(t));var n={wrapper:e,animationData:t},r=e.attributes;n.path=r.getNamedItem("data-animation-path")?r.getNamedItem("data-animation-path").value:r.getNamedItem("data-bm-path")?r.getNamedItem("data-bm-path").value:r.getNamedItem("bm-path")?r.getNamedItem("bm-path").value:"",n.animType=r.getNamedItem("data-anim-type")?r.getNamedItem("data-anim-type").value:r.getNamedItem("data-bm-type")?r.getNamedItem("data-bm-type").value:r.getNamedItem("bm-type")?r.getNamedItem("bm-type").value:r.getNamedItem("data-bm-renderer")?r.getNamedItem("data-bm-renderer").value:r.getNamedItem("bm-renderer")?r.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var i=r.getNamedItem("data-anim-loop")?r.getNamedItem("data-anim-loop").value:r.getNamedItem("data-bm-loop")?r.getNamedItem("data-bm-loop").value:r.getNamedItem("bm-loop")?r.getNamedItem("bm-loop").value:"";"false"===i?n.loop=!1:"true"===i?n.loop=!0:""!==i&&(n.loop=parseInt(i,10));var
vendor: 1,049 bytes, line 2
2o=r.getNamedItem("data-anim-autoplay")?r.getNamedItem("data-anim-autoplay").value:r.getNamedItem("data-bm-autoplay")?r.getNamedItem("data-bm-autoplay").value:!r.getNamedItem("bm-autoplay")||r.getNamedItem("bm-autoplay").value;n.autoplay="false"!==o,n.name=r.getNamedItem("data-name")?r.getNamedItem("data-name").value:r.getNamedItem("data-bm-name")?r.getNamedItem("data-bm-name").value:r.getNamedItem("bm-name")?r.getNamedItem("bm-name").value:"","false"===(r.getNamedItem("data-anim-prerender")?r.getNamedItem("data-anim-prerender").value:r.getNamedItem("data-bm-prerender")?r.getNamedItem("data-bm-prerender").value:r.getNamedItem("bm-prerender")?r.getNamedItem("bm-prerender").value:"")&&(n.prerender=!1),n.path?this.setParams(n):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t,n,r=this.animationData.layers,i=r.length,o=e.layers,a=o.length;for(n=0;n<a;n+=1)for(t=0;t<i;){if(r[t].id===o[n].id){r[t]=o
vendor: 11,271 bytes, line 2
2[n];break}t+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(i=e.assets.length,t=0;t<i;t+=1)this.animationData.assets.push(e.assets[t]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||0===e.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var t=e.shift();this.timeCompleted=t.time*this.frameRate;var n=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(n,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(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(e){if(this.renderer)try{this.animationData=e,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(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},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()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(e,t){var n="number"==typeof e?e:void 0,r="number"==typeof t?t:void 0;this.renderer.updateContainerSize(n,r)},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},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(!1!==this.isLoaded&&this.renderer)try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,n=0;n<this.markers.length;n+=1)if((t=this.markers[n]).payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,n){if(!n||this.name===n){var r=Number(e);if(isNaN(r)){var i=this.getMarkerData(e);i&&this.goToAndStop(i.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,n){if(!n||this.name===n){var r=Number(e);if(isNaN(r)){var i=this.getMarkerData(e);i&&(i.duration?this.playSegments([i.time,i.time+i.duration],!0):this.goToAndStop(i.time,!0))}else this.goToAndStop(r,t,n);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!0!==this.isPaused&&!1!==this.isLoaded){var t=this.currentRawFrame+e*this.frameModifier,n=!1;t>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(n=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(n=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),n&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var n=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?n=e:this.currentRawFrame+this.firstFrame>t&&(n=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,-1!==n&&this.goToAndStop(n,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"===_typeof$4(e[0])){var n,r=e.length;for(n=0;n<r;n+=1)this.segments.push(e[n])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),e),!0)},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!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(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(e){this.loop=e},AnimationItem.prototype.setVolume=function(e,t){t&&this.name!==t||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||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(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var n=e.p;-1!==n.indexOf("images/")&&(n=n.split("/")[1]),t=this.assetsPath+n}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,n=this.assets.length;t<n;){if(e===this.assets[t].id)return this.assets[t];t+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(e,t,n){try{this.renderer.getElementByPath(e).updateDocumentData(t,n)}catch(e){}},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,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(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}"enterFrame"===e&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===e&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),"complete"===e&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),"segmentStart"===e&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),"destroy"===e&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var animationManager=function(){var e={},t=[],n=0,r=0,i=0,
vendor: 1,751 bytes, line 2
2o=!0,a=!1;function s(e){for(var n=0,i=e.target;n<r;)t[n].animation===i&&(t.splice(n,1),n-=1,r-=1,i.isPaused||u()),n+=1}function c(e,n){if(!e)return null;for(var i=0;i<r;){if(t[i].elem===e&&null!==t[i].elem)return t[i].animation;i+=1}var o=new AnimationItem;return f(o,e),o.setData(e,n),o}function l(){i+=1,p()}function u(){i-=1}function f(e,n){e.addEventListener("destroy",s),e.addEventListener("_active",l),e.addEventListener("_idle",u),t.push({elem:n,animation:e}),r+=1}function d(e){var s,c=e-n;for(s=0;s<r;s+=1)t[s].animation.advanceTime(c);n=e,i&&!a?window.requestAnimationFrame(d):o=!0}function h(e){n=e,window.requestAnimationFrame(d)}function p(){!a&&i&&o&&(window.requestAnimationFrame(h),o=!1)}return e.registerAnimation=c,e.loadAnimation=function(e){var t=new AnimationItem;return f(t,null),t.setParams(e),t},e.setSpeed=function(e,n){var i;for(i=0;i<r;i+=1)t[i].animation.setSpeed(e,n)},e.setDirection=function(e,n){var i;for(i=0;i<r;i+=1)t[i].animation.setDirection(e,n)},e.play=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.play(e)},e.pause=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.pause(e)},e.stop=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.stop(e)},e.togglePause=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.togglePause(e)},e.searchAnimations=function(e,t,n){var r,i=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),o=i.length;for(r=0;r<o;r+=1)n&&i[r].setAttribute("data-bm-type",n),c(i[r],e);if(t&&0===o){n||(n="svg");var a=document.getElementsByTagName("body")[0];a.innerText="";var s=createTag("div");s.style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",n),a.appendChild(s),c(s,e)}},e.resize=function(){var e;
vendor: 1,928 bytes, line 2
2for(e=0;e<r;e+=1)t[e].animation.resize()},e.goToAndStop=function(e,n,i){var o;for(o=0;o<r;o+=1)t[o].animation.goToAndStop(e,n,i)},e.destroy=function(e){var n;for(n=r-1;n>=0;n-=1)t[n].animation.destroy(e)},e.freeze=function(){a=!0},e.unfreeze=function(){a=!1,p()},e.setVolume=function(e,n){var i;for(i=0;i<r;i+=1)t[i].animation.setVolume(e,n)},e.mute=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.mute(e)},e.unmute=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.unmute(e)},e.getRegisteredAnimations=function(){var e,n=t.length,r=[];for(e=0;e<n;e+=1)r.push(t[e].animation);return r},e}(),BezierFactory=function(){var e={getBezierEasing:function(e,n,r,i,o){var a=o||("bez_"+e+"_"+n+"_"+r+"_"+i).replace(/\./g,"p");if(t[a])return t[a];var s=new u([e,n,r,i]);return t[a]=s,s}},t={},n=11,r=1/(n-1),i="function"==typeof Float32Array;function o(e,t){return 1-3*t+3*e}function a(e,t){return 3*t-6*e}function s(e){return 3*e}function c(e,t,n){return((o(t,n)*e+a(t,n))*e+s(t))*e}function l(e,t,n){return 3*o(t,n)*e*e+2*a(t,n)*e+s(t)}function u(e){this._p=e,this._mSampleValues=i?new Float32Array(n):new Array(n),this._precomputed=!1,this.get=this.get.bind(this)}return u.prototype={get:function(e){var t=this._p[0],n=this._p[1],r=this._p[2],i=this._p[3];return this._precomputed||this._precompute(),t===n&&r===i?e:0===e?0:1===e?1:c(this._getTForX(e),n,i)},_precompute:function(){var e=this._p[0],t=this._p[1],n=this._p[2],r=this._p[3];this._precomputed=!0,e===t&&n===r||this._calcSampleValues()},_calcSampleValues:function(){for(var e=this._p[0],t=this._p[2],i=0;i<n;++i)this._mSampleValues[i]=c(i*r,e,t)},_getTForX:function(e){for(var t=this._p[0],i=this._p[2],o=this._mSampleValues,a=0,s=1,u=n-1;s!==u&&o[s]<=e;++s)a+=r;var f=a+(e-o[--s])/(o[s+1]-o[s])*r,d=l(f,t,i);return d>=.001?function(e,t,n,r){for(var i=0;i<4;++i){var o=l(t,n,r);if(0===o)return t;t-=(c(t,n,r)-e)/o}return t}(e,f,t,i):0===d?f:function(e,t,n,r,i){var o,a,s=0;
vendor: 4,650 bytes, line 2
2do{(o=c(a=t+(n-t)/2,r,i)-e)>0?n=a:t=a}while(Math.abs(o)>1e-7&&++s<10);return a}(e,a,a+r,t,i)}},e}(),pooling={double:function(e){return e.concat(createSizedArray(e.length))}},poolFactory=function(e,t,n){var r=0,i=e,o=createSizedArray(i);return{newElement:function(){return r?o[r-=1]:t()},release:function(e){r===i&&(o=pooling.double(o),i*=2),n&&n(e),o[r]=e,r+=1}}},bezierLengthPool=poolFactory(8,function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}),segmentsLengthPool=poolFactory(8,function(){return{lengths:[],totalLength:0}},function(e){var t,n=e.lengths.length;for(t=0;t<n;t+=1)bezierLengthPool.release(e.lengths[t]);e.lengths.length=0});function bezFunction(){var e=Math;function t(e,t,n,r,i,o){var a=e*r+t*i+n*o-i*r-o*e-n*t;return a>-.001&&a<.001}var n=function(e,t,n,r){var i,o,a,s,c,l,u=getDefaultCurveSegments(),f=0,d=[],h=[],p=bezierLengthPool.newElement();for(a=n.length,i=0;i<u;i+=1){for(c=i/(u-1),l=0,o=0;o<a;o+=1)s=bmPow(1-c,3)*e[o]+3*bmPow(1-c,2)*c*n[o]+3*(1-c)*bmPow(c,2)*r[o]+bmPow(c,3)*t[o],d[o]=s,null!==h[o]&&(l+=bmPow(d[o]-h[o],2)),h[o]=d[o];l&&(f+=l=bmSqrt(l)),p.percents[i]=c,p.lengths[i]=f}return p.addedLength=f,p};function r(e){this.segmentLength=0,this.points=new Array(e)}function i(e,t){this.partialLength=e,this.point=t}var o,a=(o={},function(e,n,a,s){var c=(e[0]+"_"+e[1]+"_"+n[0]+"_"+n[1]+"_"+a[0]+"_"+a[1]+"_"+s[0]+"_"+s[1]).replace(/\./g,"p");if(!o[c]){var l,u,f,d,h,p,m,y=getDefaultCurveSegments(),g=0,v=null;2===e.length&&(e[0]!==n[0]||e[1]!==n[1])&&t(e[0],e[1],n[0],n[1],e[0]+a[0],e[1]+a[1])&&t(e[0],e[1],n[0],n[1],n[0]+s[0],n[1]+s[1])&&(y=2);var b=new r(y);for(f=a.length,l=0;l<y;l+=1){for(m=createSizedArray(f),h=l/(y-1),p=0,u=0;u<f;u+=1)d=bmPow(1-h,3)*e[u]+3*bmPow(1-h,2)*h*(e[u]+a[u])+3*(1-h)*bmPow(h,2)*(n[u]+s[u])+bmPow(h,3)*n[u],m[u]=d,null!==v&&(p+=bmPow(m[u]-v[u],2));g+=p=bmSqrt(p),b.points[l]=new i(p,m),v=m}b.segmentLength=g,o[c]=b}return o[c]});function s(e,t){var n=t.percents,r=t.lengths,i=n.length,o=bmFloor((i-1)*e),a=e*t.addedLength,s=0;if(o===i-1||0===o||a===r[o])return n[o];for(var c=r[o]>a?-1:1,l=!0;l;)if(r[o]<=a&&r[o+1]>a?(s=(a-r[o])/(r[o+1]-r[o]),l=!1):o+=c,o<0||o>=i-1){if(o===i-1)return n[o];l=!1}return n[o]+(n[o+1]-n[o])*s}var c=createTypedArray("float32",8);return{getSegmentsLength:function(e){var t,r=segmentsLengthPool.newElement(),i=e.c,o=e.v,a=e.o,s=e.i,c=e._length,l=r.lengths,u=0;for(t=0;t<c-1;t+=1)l[t]=n(o[t],o[t+1],a[t],s[t+1]),u+=l[t].addedLength;return i&&c&&(l[t]=n(o[t],o[0],a[t],s[0]),u+=l[t].addedLength),r.totalLength=u,r},getNewSegment:function(t,n,r,i,o,a,l){o<0?o=0:o>1&&(o=1);var u,f=s(o,l),d=s(a=a>1?1:a,l),h=t.length,p=1-f,m=1-d,y=p*p*p,g=f*p*p*3,v=f*f*p*3,b=f*f*f,w=p*p*m,x=f*p*m+p*f*m+p*p*d,S=f*f*m+p*f*d+f*p*d,k=f*f*d,E=p*m*m,_=f*m*m+p*d*m+p*m*d,C=f*d*m+p*d*d+f*m*d,A=f*d*d,T=m*m*m,P=d*m*m+m*d*m+m*m*d,O=d*d*m+m*d*d+d*m*d,M=d*d*d;for(u=0;u<h;u+=1)c[4*u]=e.round(1e3*(y*t[u]+g*r[u]+v*i[u]+b*n[u]))/1e3,c[4*u+1]=e.round(1e3*(w*t[u]+x*r[u]+S*i[u]+k*n[u]))/1e3,c[4*u+2]=e.round(1e3*(E*t[u]+_*r[u]+C*i[u]+A*n[u]))/1e3,c[4*u+3]=e.round(1e3*(T*t[u]+P*r[u]+O*i[u]+M*n[u]))/1e3;return c},getPointInSegment:function(t,n,r,i,o,a){var c=s(o,a),l=1-c;return[e.round(1e3*(l*l*l*t[0]+(c*l*l+l*c*l+l*l*c)*r[0]+(c*c*l+l*c*c+c*l*c)*i[0]+c*c*c*n[0]))/1e3,e.round(1e3*(l*l*l*t[1]+(c*l*l+l*c*l+l*l*c)*r[1]+(c*c*l+l*c*c+c*l*c)*i[1]+c*c*c*n[1]))/1e3]},buildBezierData:a,pointOnLine2D:t,pointOnLine3D:function(n,r,i,o,a,s,c,l,u){if(0===i&&0===s&&0===u)return t(n,r,o,a,c,l);var f,d=e.sqrt(e.pow(o-n,2)+e.pow(a-r,2)+e.pow(s-i,2)),h=e.sqrt(e.pow(c-n,2)+e.pow(l-r,2)+e.pow(u-i,2)),p=e.sqrt(e.pow(c-o,2)+e.pow(l-a,2)+e.pow(u-s,2));return(f=d>h?d>p?d-h-p:p-h-d:p>h?p-h-d:h-d-p)>-1e-4&&f<1e-4}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var n,r=this.offsetTime;"multidimensional"===this.propType&&(n=createTypedArray("float32",this.pv.length));for(var i,o,a,s,c,l,u,f,d,h=t.lastIndex,p=h,m=this.keyframes.length-1,y=!0;y;){if(i=this.keyframes[p],o=this.keyframes[p+1],p===m-1&&e>=o.t-r){i.h&&(i=o),h=0;break}if(o.t-r>e){h=p;break}p<m-1?p+=1:(h=0,y=!1)}a=this.keyframesMetadata[p]||{};var g,v=o.t-r,b=i.t-r;if(i.to){a.bezierData||(a.bezierData=bez.buildBezierData(i.s,o.s||i.e,i.to,i.ti));var w=a.bezierData;if(e>=v||e<b){var x=e>=v?w.points.length-1:0;for(c=w.points[x].point.length,s=0;s<c;s+=1)n[s]=w.points[x].point[s]}else{a.__fnct?d=a.__fnct:(d=BezierFactory.getBezierEasing(i.o.x,i.o.y,i.i.x,i.i.y,i.n).get,a.__fnct=d),l=d((e-b)/(v-b));var S,k=w.segmentLength*l,E=t.lastFrame<e&&t._lastKeyframeIndex===p?t._lastAddedLe
vendor: 7,697 bytes, line 2
2ngth:0;for(f=t.lastFrame<e&&t._lastKeyframeIndex===p?t._lastPoint:0,y=!0,u=w.points.length;y;){if(E+=w.points[f].partialLength,0===k||0===l||f===w.points.length-1){for(c=w.points[f].point.length,s=0;s<c;s+=1)n[s]=w.points[f].point[s];break}if(k>=E&&k<E+w.points[f+1].partialLength){for(S=(k-E)/w.points[f+1].partialLength,c=w.points[f].point.length,s=0;s<c;s+=1)n[s]=w.points[f].point[s]+(w.points[f+1].point[s]-w.points[f].point[s])*S;break}f<u-1?f+=1:y=!1}t._lastPoint=f,t._lastAddedLength=E-w.points[f].partialLength,t._lastKeyframeIndex=p}}else{var _,C,A,T,P;if(m=i.s.length,g=o.s||i.e,this.sh&&1!==i.h)e>=v?(n[0]=g[0],n[1]=g[1],n[2]=g[2]):e<=b?(n[0]=i.s[0],n[1]=i.s[1],n[2]=i.s[2]):quaternionToEuler(n,slerp(createQuaternion(i.s),createQuaternion(g),(e-b)/(v-b)));else for(p=0;p<m;p+=1)1!==i.h&&(e>=v?l=1:e<b?l=0:(i.o.x.constructor===Array?(a.__fnct||(a.__fnct=[]),a.__fnct[p]?d=a.__fnct[p]:(_=void 0===i.o.x[p]?i.o.x[0]:i.o.x[p],C=void 0===i.o.y[p]?i.o.y[0]:i.o.y[p],A=void 0===i.i.x[p]?i.i.x[0]:i.i.x[p],T=void 0===i.i.y[p]?i.i.y[0]:i.i.y[p],d=BezierFactory.getBezierEasing(_,C,A,T).get,a.__fnct[p]=d)):a.__fnct?d=a.__fnct:(_=i.o.x,C=i.o.y,A=i.i.x,T=i.i.y,d=BezierFactory.getBezierEasing(_,C,A,T).get,i.keyframeMetadata=d),l=d((e-b)/(v-b)))),g=o.s||i.e,P=1===i.h?i.s[p]:i.s[p]+(g[p]-i.s[p])*l,"multidimensional"===this.propType?n[p]=P:n=P}return t.lastIndex=h,n}function slerp(e,t,n){var r,i,o,a,s,c=[],l=e[0],u=e[1],f=e[2],d=e[3],h=t[0],p=t[1],m=t[2],y=t[3];return(i=l*h+u*p+f*m+d*y)<0&&(i=-i,h=-h,p=-p,m=-m,y=-y),1-i>1e-6?(r=Math.acos(i),o=Math.sin(r),a=Math.sin((1-n)*r)/o,s=Math.sin(n*r)/o):(a=1-n,s=n),c[0]=a*l+s*h,c[1]=a*u+s*p,c[2]=a*f+s*m,c[3]=a*d+s*y,c}function quaternionToEuler(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=Math.atan2(2*r*o-2*n*i,1-2*r*r-2*i*i),s=Math.asin(2*n*r+2*i*o),c=Math.atan2(2*n*o-2*r*i,1-2*n*n-2*i*i);e[0]=a/degToRads,e[1]=s/degToRads,e[2]=c/degToRads}function createQuaternion(e){var t=e[0]*degToRads,n=e[1]*degToRads,r=e[2]*degToRads,i=Math.cos(t/2),o=Math.cos(n/2),a=Math.cos(r/2),s=Math.sin(t/2),c=Math.sin(n/2),l=Math.sin(r/2);return[s*c*a+i*o*l,s*o*a+i*c*l,i*c*a-s*o*l,i*o*a-s*c*l]}function getValueAtCurrentTime(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=n&&e>=n||this._caching.lastFrame<t&&e<t))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var r=this.interpolateValue(e,this._caching);this.pv=r}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if("unidimensional"===this.propType)t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var n=0,r=this.v.length;n<r;)t=e[n]*this.mult,mathAbs(this.v[n]-t)>1e-5&&(this.v[n]=t,this._mdf=!0),n+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e;this.lock=!0,this._mdf=this._isFirstFrame;var t=this.effectsSequence.length,n=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)n=this.effectsSequence[e](n);this.setVValue(n),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function ValueProperty(e,t,n,r){this.propType="unidimensional",this.mult=n||1,this.data=t,this.v=n?t.k*n:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=r,this.comp=e.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(e,t,n,r){var i;this.propType="multidimensional",this.mult=n||1,this.data=t,this._mdf=!1,this.elem=e,this.container=r,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var o=t.k.length;for(this.v=createTypedArray("float32",o),this.pv=createTypedArray("float32",o),this.vel=createTypedArray("float32",o),i=0;i<o;i+=1)this.v[i]=t.k[i]*this.mult,this.pv[i]=t.k[i];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(e,t,n,r){this.propType="unidimensional",this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=t,this.mult=n||1,this.elem=e,this.container=r,this.comp=e.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(e,t,n,r){var i;this.propType="multidimensional";var o,a,s,c,l=t.k.length;for(i=0;i<l-1;i+=1)t.k[i].to&&t.k[i].s&&t.k[i+1]&&t.k[i+1].s&&(o=t.k[i].s,a=t.k[i+1].s,s=t.k[i].to,c=t.k[i].ti,(2===o.length&&(o[0]!==a[0]||o[1]!==a[1])&&bez.pointOnLine2D(o[0],o[1],a[0],a[1],o[0]+s[0],o[1]+s[1])&&bez.pointOnLine2D(o[0],o[1],a[0],a[1],a[0]+c[0],a[1]+c[1])||3===o.length&&(o[0]!==a[0]||o[1]!==a[1]||o[2]!==a[2])&&bez.pointOnLine3D(o[0],o[1],o[2],a[0],a[1],a[2],o[0]+s[0],o[1]+s[1],o[2]+s[2])&&bez.pointOnLine3D(o[0],o[1],o[2],a[0],a[1],a[2],a[0]+c[0],a[1]+c[1],a[2]+c[2]))&&(t.k[i].to=null,t.k[i].ti=null),o[0]===a[0]&&o[1]===a[1]&&0===s[0]&&0===s[1]&&0===c[0]&&0===c[1]&&(2===o.length||o[2]===a[2]&&0===s[2]&&0===c[2])&&(t.k[i].to=null,t.k[i].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=t,this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=n||1,this.elem=e,this.container=r,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var u=t.k[0].s.length;for(this.v=createTypedArray("float32",u),this.pv=createTypedArray("float32",u),i=0;i<u;i+=1)this.v[i]=initFrame,this.pv[i]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",u)},this.addEffect=addEffect}var PropertyFactory={getProp:function(e,t,n,r,i){var o;if(t.sid&&(t=e.globalData.slotManager.getProp(t)),t.k.length)if("number"==typeof t.k[0])o=new MultiDimensionalProperty(e,t,r,i);else switch(n){case 0:o=new KeyframedValueProperty(e,t,r,i);break;case 1:o=new KeyframedMultidimensionalProperty(e,t,r,i)}else o=new ValueProperty(e,t,r,i);return o.effectsSequence.length&&i.addDynamicProperty(o),o}};function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var e;this._mdf=!1;var t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=poolFactory(8,function(){return createTypedArray("float32",2)});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(e,t){this.c=e,this.setLength(t);for(var n=0;n<t;)this.v[n]=pointPool.newElement(),this.o[n]=pointPool.newElement(),this.i[n]=pointPool.newElement(),n+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;
vendor: 7,625 bytes, line 2
2)this.doubleArrayLength();this._length=e},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(e,t,n,r,i){var o;switch(this._length=Math.max(this._length,r+1),this._length>=this._maxLength&&this.doubleArrayLength(),n){case"v":o=this.v;break;case"i":o=this.i;break;case"o":o=this.o;break;default:o=[]}(!o[r]||o[r]&&!i)&&(o[r]=pointPool.newElement()),o[r][0]=e,o[r][1]=t},ShapePath.prototype.setTripleAt=function(e,t,n,r,i,o,a,s){this.setXYAt(e,t,"v",a,s),this.setXYAt(n,r,"o",a,s),this.setXYAt(i,o,"i",a,s)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,n=this.o,r=this.i,i=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],r[0][0],r[0][1],n[0][0],n[0][1],0,!1),i=1);var o,a=this._length-1,s=this._length;for(o=i;o<s;o+=1)e.setTripleAt(t[a][0],t[a][1],r[a][0],r[a][1],n[a][0],n[a][1],o,!1),a-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=(factory=poolFactory(4,function(){return new ShapePath},function(e){var t,n=e._length;for(t=0;t<n;t+=1)pointPool.release(e.v[t]),pointPool.release(e.i[t]),pointPool.release(e.o[t]),e.v[t]=null,e.i[t]=null,e.o[t]=null;e._length=0,e.c=!1}),factory.clone=function(e){var t,n=factory.newElement(),r=void 0===e._length?e.v.length:e._length;for(n.setLength(r),n.c=e.c,t=0;t<r;t+=1)n.setTripleAt(e.v[t][0],e.v[t][1],e.o[t][0],e.o[t][1],e.i[t][0],e.i[t][1],t);return n},factory),factory;function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=(ob={newShapeCollection:function(){return _length?pool[_length-=1]:new ShapeCollection},release:function(e){var t,n=e._length;for(t=0;t<n;t+=1)shapePool.release(e.shapes[t]);e._length=0,_length===_maxLength&&(pool=pooling.double(pool),_maxLength*=2),pool[_length]=e,_length+=1}},_length=0,_maxLength=4,pool=createSizedArray(_maxLength),ob),ob,_length,_maxLength,pool,ShapePropertyFactory=function(){var e=-999999;function t(e,t,n){var r,i,o,a,s,c,l,u,f,d=n.lastIndex,h=this.keyframes;if(e<h[0].t-this.offsetTime)r=h[0].s[0],o=!0,d=0;else if(e>=h[h.length-1].t-this.offsetTime)r=h[h.length-1].s?h[h.length-1].s[0]:h[h.length-2].e[0],o=!0;else{for(var p,m,y,g=d,v=h.length-1,b=!0;b&&(p=h[g],!((m=h[g+1]).t-this.offsetTime>e));)g<v-1?g+=1:b=!1;if(y=this.keyframesMetadata[g]||{},d=g,!(o=1===p.h)){if(e>=m.t-this.offsetTime)u=1;else if(e<p.t-this.offsetTime)u=0;else{var w;y.__fnct?w=y.__fnct:(w=BezierFactory.getBezierEasing(p.o.x,p.o.y,p.i.x,p.i.y).get,y.__fnct=w),u=w((e-(p.t-this.offsetTime))/(m.t-this.offsetTime-(p.t-this.offsetTime)))}i=m.s?m.s[0]:p.e[0]}r=p.s[0]}for(c=t._length,l=r.i[0].length,n.lastIndex=d,a=0;a<c;a+=1)for(s=0;s<l;s+=1)f=o?r.i[a][s]:r.i[a][s]+(i.i[a][s]-r.i[a][s])*u,t.i[a][s]=f,f=o?r.o[a][s]:r.o[a][s]+(i.o[a][s]-r.o[a][s])*u,t.o[a][s]=f,f=o?r.v[a][s]:r.v[a][s]+(i.v[a][s]-r.v[a][s])*u,t.v[a][s]=f}function n(){var t=this.comp.renderedFrame-this.offsetTime,n=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime,i=this._caching.lastFrame;return i!==e&&(i<n&&t<n||i>r&&t>r)||(this._caching.lastIndex=i<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}function r(){this.paths=this.localShapeCollection}function i(e){(function(e,t){if(e._length!==t._length||e.c!==t.c)return!1;var n,r=e._length;for(n=0;n<r;n+=1)if(e.v[n][0]!==t.v[n][0]||e.v[n][1]!==t.v[n][1]||e.o[n][0]!==t.o[n][0]||e.o[n][1]!==t.o[n][1]||e.i[n][0]!==t.i[n][0]||e.i[n][1]!==t.i[n][1])return!1;return!0})(this.v,e)||(this.v=shapePool.clone(e),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function o(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e,t;this.lock=!0,this._mdf=!1,e=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var n=this.effectsSequence.length;for(t=0;t<n;t+=1)e=this.effectsSequence[t](e);this.setVValue(e),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function a(e,t,n){this.propType="shape",this.comp=e.comp,this.container=e,this.elem=e,this.data=t,this.k=!1,this.kf=!1,this._mdf=!1;var i=3===n?t.pt.k:t.ks.k;this.v=shapePool.clone(i),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=r,this.effectsSequence=[]}function s(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function c(t,i,o){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=3===o?i.pt.k:i.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var a=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,a),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=r,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[n.bind(this)]}a.prototype.interpolateShape=t,a.prototype.getValue=o,a.prototype.setVValue=i,a.prototype.addEffect=s,c.prototype.getValue=o,c.prototype.interpolateShape=t,c.prototype.setVValue=i,c.prototype.addEffect=s;var l=function(){var e=roundCorner;function t(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=t.d,this.elem=e,this.comp=e.comp,this.frameId=-1,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return t.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var t=this.p.v[0],n=this.p.v[1],r=this.s.v[0]/2,i=this.s.v[1]/2,o=3!==this.d,a=this.v;a.v[0][0]=t,a.v[0][1]=n-i,a.v[1][0]=o?t+r:t-r,a.v[1][1]=n,a.v[2][0]=t,a.v[2][1]=n+i,a.v[3][0]=o?t-r:t+r,a.v[3][1]=n,a.i[0][0]=o?t-r*e:t+r*e,a.i[0][1]=n-i,a.i[1][0]=o?t+r:t-r,a.i[1][1]=n-i*e,a.i[2][0]=o?t+r*e:t-r*e,a.i[2][1]=n+i,a.i[3][0]=o?t-r:t+r,a.i[3][1]=n+i*e,a.o[0][0]=o?t+r*e:t-r*e,a.o[0][1]=n-i,a.o[1][0]=o?t+r:t-r,a.o[1][1]=n+i*e,a.o[2][0]=o?t-r*e:t+r*e,a.o[2][1]=n+i,a.o[3][0]=o?t-r:t+r,a.o[3][1]=n-i*e}},extendPrototype([DynamicPropertyContainer],t),t}(),u=function(){function e(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=e,this.comp=e.comp,this.data=t,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),1===t.sy?(this.ir=PropertyFactory.getProp(e,t.ir,0,0,this),this.is=PropertyFactory.getProp(e,t.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=Pro
vendor: 14,333 bytes, line 2
2pertyFactory.getProp(e,t.pt,0,0,this),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,degToRads,this),this.or=PropertyFactory.getProp(e,t.or,0,0,this),this.os=PropertyFactory.getProp(e,t.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 e.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var e,t,n,r,i=2*Math.floor(this.pt.v),o=2*Math.PI/i,a=!0,s=this.or.v,c=this.ir.v,l=this.os.v,u=this.is.v,f=2*Math.PI*s/(2*i),d=2*Math.PI*c/(2*i),h=-Math.PI/2;h+=this.r.v;var p=3===this.data.d?-1:1;for(this.v._length=0,e=0;e<i;e+=1){n=a?l:u,r=a?f:d;var m=(t=a?s:c)*Math.cos(h),y=t*Math.sin(h),g=0===m&&0===y?0:y/Math.sqrt(m*m+y*y),v=0===m&&0===y?0:-m/Math.sqrt(m*m+y*y);m+=+this.p.v[0],y+=+this.p.v[1],this.v.setTripleAt(m,y,m-g*r*n*p,y-v*r*n*p,m+g*r*n*p,y+v*r*n*p,e,!0),a=!a,h+=o*p}},convertPolygonToPath:function(){var e,t=Math.floor(this.pt.v),n=2*Math.PI/t,r=this.or.v,i=this.os.v,o=2*Math.PI*r/(4*t),a=.5*-Math.PI,s=3===this.data.d?-1:1;for(a+=this.r.v,this.v._length=0,e=0;e<t;e+=1){var c=r*Math.cos(a),l=r*Math.sin(a),u=0===c&&0===l?0:l/Math.sqrt(c*c+l*l),f=0===c&&0===l?0:-c/Math.sqrt(c*c+l*l);c+=+this.p.v[0],l+=+this.p.v[1],this.v.setTripleAt(c,l,c-u*o*i*s,l-f*o*i*s,c+u*o*i*s,l+f*o*i*s,e,!0),a+=n*s}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],e),e}(),f=function(){function e(e,t){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=e,this.comp=e.comp,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return e.prototype={convertRectToPath:function(){var e=this.p.v[0],t=this.p.v[1],n=this.s.v[0]/2,r=this.s.v[1]/2,i=bmMin(n,r,this.r.v),o=i*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(e+n,t-r+i,e+n,t-r+i,e+n,t-r+o,0,!0),this.v.setTripleAt(e+n,t+r-i,e+n,t+r-o,e+n,t+r-i,1,!0),0!==i?(this.v.setTripleAt(e+n-i,t+r,e+n-i,t+r,e+n-o,t+r,2,!0),this.v.setTripleAt(e-n+i,t+r,e-n+o,t+r,e-n+i,t+r,3,!0),this.v.setTripleAt(e-n,t+r-i,e-n,t+r-i,e-n,t+r-o,4,!0),this.v.setTripleAt(e-n,t-r+i,e-n,t-r+o,e-n,t-r+i,5,!0),this.v.setTripleAt(e-n+i,t-r,e-n+i,t-r,e-n+o,t-r,6,!0),this.v.setTripleAt(e+n-i,t-r,e+n-o,t-r,e+n-i,t-r,7,!0)):(this.v.setTripleAt(e-n,t+r,e-n+o,t+r,e-n,t+r,2),this.v.setTripleAt(e-n,t-r,e-n,t-r+o,e-n,t-r,3))):(this.v.setTripleAt(e+n,t-r+i,e+n,t-r+o,e+n,t-r+i,0,!0),0!==i?(this.v.setTripleAt(e+n-i,t-r,e+n-i,t-r,e+n-o,t-r,1,!0),this.v.setTripleAt(e-n+i,t-r,e-n+o,t-r,e-n+i,t-r,2,!0),this.v.setTripleAt(e-n,t-r+i,e-n,t-r+i,e-n,t-r+o,3,!0),this.v.setTripleAt(e-n,t+r-i,e-n,t+r-o,e-n,t+r-i,4,!0),this.v.setTripleAt(e-n+i,t+r,e-n+i,t+r,e-n+o,t+r,5,!0),this.v.setTripleAt(e+n-i,t+r,e+n-o,t+r,e+n-i,t+r,6,!0),this.v.setTripleAt(e+n,t+r-i,e+n,t+r-i,e+n,t+r-o,7,!0)):(this.v.setTripleAt(e-n,t-r,e-n+o,t-r,e-n,t-r,1,!0),this.v.setTripleAt(e-n,t+r,e-n,t+r-o,e-n,t+r,2,!0),this.v.setTripleAt(e+n,t+r,e+n-o,t+r,e+n,t+r,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:r},extendPrototype([DynamicPropertyContainer],e),e}();return{getShapeProp:function(e,t,n){var r;return 3===n||4===n?r=(3===n?t.pt:t.ks).k.length?new c(e,t,n):new a(e,t,n):5===n?r=new f(e,t):6===n?r=new l(e,t):7===n&&(r=new u(e,t)),r.k&&e.addDynamicProperty(r),r},getConstructorFunction:function(){return a},getKeyframedConstructorFunction:function(){return c}}}(),Matrix=function(){var e=Math.cos,t=Math.sin,n=Math.tan,r=Math.round;function i(){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 o(n){if(0===n)return this;var r=e(n),i=t(n);return this._t(r,-i,0,0,i,r,0,0,0,0,1,0,0,0,0,1)}function a(n){if(0===n)return this;var r=e(n),i=t(n);return this._t(1,0,0,0,0,r,-i,0,0,i,r,0,0,0,0,1)}function s(n){if(0===n)return this;var r=e(n),i=t(n);return this._t(r,0,i,0,0,1,0,0,-i,0,r,0,0,0,0,1)}function c(n){if(0===n)return this;var r=e(n),i=t(n);return this._t(r,-i,0,0,i,r,0,0,0,0,1,0,0,0,0,1)}function l(e,t){return this._t(1,t,e,1,0,0)}function u(e,t){return this.shear(n(e),n(t))}function f(r,i){var o=e(i),a=t(i);return this._t(o,a,0,0,-a,o,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,n(r),1,0,0,0,0,1,0,0,0,0,1)._t(o,-a,0,0,a,o,0,0,0,0,1,0,0,0,0,1)}function d(e,t,n){return n||0===n||(n=1),1===e&&1===t&&1===n?this:this._t(e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1)}function h(e,t,n,r,i,o,a,s,c,l,u,f,d,h,p,m){return this.props[0]=e,this.props[1]=t,this.props[2]=n,this.props[3]=r,this.props[4]=i,this.props[5]=o,this.props[6]=a,this.props[7]=s,this.props[8]=c,this.props[9]=l,this.props[10]=u,this.props[11]=f,this.props[12]=d,this.props[13]=h,this.props[14]=p,this.props[15]=m,this}function p(e,t,n){return n=n||0,0!==e||0!==t||0!==n?this._t(1,0,0,0,0,1,0,0,0,0,1,0,e,t,n,1):this}function m(e,t,n,r,i,o,a,s,c,l,u,f,d,h,p,m){var y=this.props;if(1===e&&0===t&&0===n&&0===r&&0===i&&1===o&&0===a&&0===s&&0===c&&0===l&&1===u&&0===f)return y[12]=y[12]*e+y[15]*d,y[13]=y[13]*o+y[15]*h,y[14]=y[14]*u+y[15]*p,y[15]*=m,this._identityCalculated=!1,this;var g=y[0],v=y[1],b=y[2],w=y[3],x=y[4],S=y[5],k=y[6],E=y[7],_=y[8],C=y[9],A=y[10],T=y[11],P=y[12],O=y[13],M=y[14],I=y[15];return y[0]=g*e+v*i+b*c+w*d,y[1]=g*t+v*o+b*l+w*h,y[2]=g*n+v*a+b*u+w*p,y[3]=g*r+v*s+b*f+w*m,y[4]=x*e+S*i+k*c+E*d,y[5]=x*t+S*o+k*l+E*h,y[6]=x*n+S*a+k*u+E*p,y[7]=x*r+S*s+k*f+E*m,y[8]=_*e+C*i+A*c+T*d,y[9]=_*t+C*o+A*l+T*h,y[10]=_*n+C*a+A*u+T*p,y[11]=_*r+C*s+A*f+T*m,y[12]=P*e+O*i+M*c+I*d,y[13]=P*t+O*o+M*l+I*h,y[14]=P*n+O*a+M*u+I*p,y[15]=P*r+O*s+M*f+I*m,this._identityCalculated=!1,this}function y(e){var t=e.props;return this.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}function g(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function v(e){for(var t=0;t<16;){if(e.props[t]!==this.props[t])return!1;t+=1}return!0}function b(e){var t;for(t=0;t<16;t+=1)e.props[t]=this.props[t];return e}function w(e){var t;for(t=0;t<16;t+=1)this.props[t]=e[t]}function x(e,t,n){return{x:e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12],y:e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13],z:e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]}}function S(e,t,n){return e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12]}function k(e,t,n){return e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13]}function E(e,t,n){return e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]}function _(){var e=this.props[0]*this.props[5]-this.props[1]*this.props[4],t=this.props[5]/e,n=-this.props[1]/e,r=-this.props[4]/e,i=this.props[0]/e,o=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/e,a=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/e,s=new Matrix;return s.props[0]=t,s.props[1]=n,s.props[4]=r,s.props[5]=i,s.props[12]=o,s.props[13]=a,s}function C(e){return this.getInverseMatrix().applyToPointArray(e[0],e[1],e[2]||0)}function A(e){var t,n=e.length,r=[];for(t=0;t<n;t+=1)r[t]=C(e[t]);return r}function T(e,t,n){var r=createTypedArray("float32",6);if(this.isIdentity())r[0]=e[0],r[1]=e[1],r[2]=t[0],r[3]=t[1],r[4]=n[0],r[5]=n[1];else{var i=this.props[0],o=this.props[1],a=this.props[4],s=this.props[5],c=this.props[12],l=this.props[13];r[0]=e[0]*i+e[1]*a+c,r[1]=e[0]*o+e[1]*s+l,r[2]=t[0]*i+t[1]*a+c,r[3]=t[0]*o+t[1]*s+l,r[4]=n[0]*i+n[1]*a+c,r[5]=n[0]*o+n[1]*s+l}return r}function P(e,t,n){return this.isIdentity()?[e,t,n]:[e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12],e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13],e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]]}function O(e,t){if(this.isIdentity())return e+","+t;var n=this.props;return Math.round(100*(e*n[0]+t*n[4]+n[12]))/100+","+Math.round(100*(e*n[1]+t*n[5]+n[13]))/100}function M(){for(var e=0,t=this.props,n="matrix3d(";e<16;)n+=r(1e4*t[e])/1e4,n+=15===e?")":",",e+=1;return n}function I(e){return e<1e-6&&e>0||e>-1e-6&&e<0?r(1e4*e)/1e4:e}function R(){var e=this.props;return"matrix("+I(e[0])+","+I(e[1])+","+I(e[4])+","+I(e[5])+","+I(e[12])+","+I(e[13])+")"}return function(){this.reset=i,this.rotate=o,this.rotateX=a,this.rotateY=s,this.rotateZ=c,this.skew=u,this.skewFromAxis=f,this.shear=l,this.scale=d,this.setTransform=h,this.translate=p,this.transform=m,this.multiply=y,this.applyToPoint=x,this.applyToX=S,this.applyToY=k,this.applyToZ=E,this.applyToPointArray=P,this.applyToTriplePoints=T,this.applyToPointStringified=O,this.toCSS=M,this.to2dCSS=R,this.clone=b,this.cloneFromProps=w,this.equals=v,this.inversePoints=A,this.inversePoint=C,this.getInverseMatrix=_,this._t=this.transform,this.isIdentity=g,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){return _typeof$3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$3(e)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(e){setLocationHref(e)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return!0===standalone&&(e.animationData=JSON.parse(animationData)),animationManager.loadAnimation(e)}function setQuality(e){if("string"==typeof e)switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(e,t){"expressions"===e&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),n=0;n<t.length;n+=1){var r=t[n].split("=");if(decodeURIComponent(r[0])==e)return decodeURIComponent(r[1])}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";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&__webpack_require__.amdO}catch(e){}var ShapeModifiers=function(){var e={},t={};return e.registerModifier=function(e,n){t[e]||(t[e]=n)},e.getModifier=function(e,n,r){return new t[e](n,r)},e}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),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),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=Pro
vendor: 5,993 bytes, line 2
2pertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,n,r,i){var o=[];t<=1?o.push({s:e,e:t}):e>=1?o.push({s:e-1,e:t-1}):(o.push({s:e,e:1}),o.push({s:0,e:t-1}));var a,s,c=[],l=o.length;for(a=0;a<l;a+=1){var u,f;(s=o[a]).e*i<r||s.s*i>r+n||(u=s.s*i<=r?0:(s.s*i-r)/n,f=s.e*i>=r+n?1:(s.e*i-r)/n,c.push([u,f]))}return c.length||c.push([0,0]),c},TrimModifier.prototype.releasePathsData=function(e){var t,n=e.length;for(t=0;t<n;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,n,r,i;if(this._mdf||e){var o=this.o.v%360/360;if(o<0&&(o+=1),(t=this.s.v>1?1+o:this.s.v<0?0+o:this.s.v+o)>(n=this.e.v>1?1+o:this.e.v<0?0+o:this.e.v+o)){var a=t;t=n,n=a}t=1e-4*Math.round(1e4*t),n=1e-4*Math.round(1e4*n),this.sValue=t,this.eValue=n}else t=this.sValue,n=this.eValue;var s,c,l,u,f,d=this.shapes.length,h=0;if(n===t)for(i=0;i<d;i+=1)this.shapes[i].localShapeCollection.releaseShapes(),this.shapes[i].shape._mdf=!0,this.shapes[i].shape.paths=this.shapes[i].localShapeCollection,this._mdf&&(this.shapes[i].pathsData.length=0);else if(1===n&&0===t||0===n&&1===t){if(this._mdf)for(i=0;i<d;i+=1)this.shapes[i].pathsData.length=0,this.shapes[i].shape._mdf=!0}else{var p,m,y=[];for(i=0;i<d;i+=1)if((p=this.shapes[i]).shape._mdf||this._mdf||e||2===this.m){if(c=(r=p.shape.paths)._length,f=0,!p.shape._mdf&&p.pathsData.length)f=p.totalShapeLength;else{for(l=this.releasePathsData(p.pathsData),s=0;s<c;s+=1)u=bez.getSegmentsLength(r.shapes[s]),l.push(u),f+=u.totalLength;p.totalShapeLength=f,p.pathsData=l}h+=f,p.shape._mdf=!0}else p.shape.paths=p.localShapeCollection;var g,v=t,b=n,w=0;for(i=d-1;i>=0;i-=1)if((p=this.shapes[i]).shape._mdf){for((m=p.localShapeCollection).releaseShapes(),2===this.m&&d>1?(g=this.calculateShapeEdges(t,n,p.totalShapeLength,w,h),w+=p.totalShapeLength):g=[[v,b]],c=g.length,s=0;s<c;s+=1){v=g[s][0],b=g[s][1],y.length=0,b<=1?y.push({s:p.totalShapeLength*v,e:p.totalShapeLength*b}):v>=1?y.push({s:p.totalShapeLength*(v-1),e:p.totalShapeLength*(b-1)}):(y.push({s:p.totalShapeLength*v,e:p.totalShapeLength}),y.push({s:0,e:p.totalShapeLength*(b-1)}));var x=this.addShapes(p,y[0]);if(y[0].s!==y[0].e){if(y.length>1)if(p.shape.paths.shapes[p.shape.paths._length-1].c){var S=x.pop();this.addPaths(x,m),x=this.addShapes(p,y[1],S)}else this.addPaths(x,m),x=this.addShapes(p,y[1]);this.addPaths(x,m)}}p.shape.paths=m}}},TrimModifier.prototype.addPaths=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)t.addShape(e[n])},TrimModifier.prototype.addSegment=function(e,t,n,r,i,o,a){i.setXYAt(t[0],t[1],"o",o),i.setXYAt(n[0],n[1],"i",o+1),a&&i.setXYAt(e[0],e[1],"v",o),i.setXYAt(r[0],r[1],"v",o+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,n,r){t.setXYAt(e[1],e[5],"o",n),t.setXYAt(e[2],e[6],"i",n+1),r&&t.setXYAt(e[0],e[4],"v",n),t.setXYAt(e[3],e[7],"v",n+1)},TrimModifier.prototype.addShapes=function(e,t,n){var r,i,o,a,s,c,l,u,f=e.pathsData,d=e.shape.paths.shapes,h=e.shape.paths._length,p=0,m=[],y=!0;for(n?(s=n._length,u=n._length):(n=shapePool.newElement(),s=0,u=0),m.push(n),r=0;r<h;r+=1){for(c=f[r].lengths,n.c=d[r].c,o=d[r].c?c.length:c.length+1,i=1;i<o;i+=1)if(p+(a=c[i-1]).addedLength<t.s)p+=a.addedLength,n.c=!1;else{if(p>t.e){n.c=!1;break}t.s<=p&&t.e>=p+a.addedLength?(this.addSegment(d[r].v[i-1],d[r].o[i-1],d[r].i[i],d[r].v[i],n,s,y),y=!1):(l=bez.getNewSegment(d[r].v[i-1],d[r].v[i],d[r].o[i-1],d[r].i[i],(t.s-p)/a.addedLength,(t.e-p)/a.addedLength,c[i-1]),this.addSegmentFromArray(l,n,s,y),y=!1,n.c=!1),p+=a.addedLength,s+=1}if(d[r].c&&c.length){if(a=c[i-1],p<=t.e){var g=c[i-1].addedLength;t.s<=p&&t.e>=p+g?(this.addSegment(d[r].v[i-1],d[r].o[i-1],d[r].i[0],d[r].v[0],n,s,y),y=!1):(l=bez.getNewSegment(d[r].v[i-1],d[r].v[0],d[r].o[i-1],d[r].i[0],(t.s-p)/g,(t.e-p)/g,c[i-1]),this.addSegmentFromArray(l,n,s,y),y=!1,n.c=!1)}else n.c=!1;p+=a.addedLength,s+=1}if(n._length&&(n.setXYAt(n.v[u][0],n.v[u][1],"i",u),n.setXYAt(n.v[n._length-1][0],n.v[n._length-1][1],"o",n._length-1)),p>t.e)break;r<h-1&&(n=shapePool.newElement(),y=!0,m.push(n),s=0)}return m},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,t){var n=t/100,r=[0,0],i=e._length,o=0;for(o=0;o<i;o+=1)r[0]+=e.v[o][0],r[1]+=e.v[o][1];r[0]/=i,r[1]/=i;var a,s,c,l,u,f,d=shapePool.newElement();for(d.c=e.c,o=0;o<i;o+=1)a=e.v[o][0]+(r[0]-e.v[o][0])*n,s=e.v[o][1]+(r[1]-e.v[o][1])*n,c=e.o[o][0]+(r[0]-e.o[o][0])*-n,l=e.o[o][1]+(r[1]-e.o[o][1])*-n,u=e.i[o][0]+(r[0]-e.i[o][0])*-n,f=e.i[o][1]+(r[1]-e.i[o][1])*-n,d.setTripleAt(a,s,c,l,u,f,o);return d},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,n,r,i,o,a,s=this.shapes.length,c=this.amount.v;if(0!==c)for(n=0;n<s;n+=1){if(a=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||e)for(a.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,i=o.shape.paths._length,r=0;r<i;r+=1)a.addShape(this.processPath(t[r],c));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(e,t,n){if(this.elem=e,this.frameId=-1,this.propType="transform",this.data=t,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(n||e),t.p&&t.p.s?(this.px=PropertyFactory.getProp(e,t.p.x,0,0,this),this.py=PropertyFactory.getProp(e,t.p.y,0,0,this),t.p.z&&(this.pz=PropertyFactory.getProp(e,t.p.z,0,0,this))):this.p=PropertyFactory.getProp(e,t.p||{k:[0,0,0]}
vendor: 44,340 bytes, line 2
2,1,0,this),t.rx){if(this.rx=PropertyFactory.getProp(e,t.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(e,t.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(e,t.rz,0,degToRads,this),t.or.k[0].ti){var r,i=t.or.k.length;for(r=0;r<i;r+=1)t.or.k[r].to=null,t.or.k[r].ti=null}this.or=PropertyFactory.getProp(e,t.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(e,t.r||{k:0},0,degToRads,this);t.sk&&(this.sk=PropertyFactory.getProp(e,t.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(e,t.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(e,t.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(e,t.s||{k:[100,100,100]},1,.01,this),t.o?this.o=PropertyFactory.getProp(e,t.o,0,.01,e):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return t.prototype={applyToMatrix:function(e){var t=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||t,this.a&&e.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&e.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&e.skewFromAxis(-this.sk.v,this.sa.v),this.r?e.rotate(-this.r.v):e.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?e.translate(this.px.v,this.py.v,-this.pz.v):e.translate(this.px.v,this.py.v,0):e.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(t){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||t){var n;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 r,i;if(n=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(r=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/n,0),i=this.p.getValueAtTime(this.p.keyframes[0].t/n,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(r=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/n,0),i=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/n,0)):(r=this.p.pv,i=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/n,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){r=[],i=[];var o=this.px,a=this.py;o._caching.lastFrame+o.offsetTime<=o.keyframes[0].t?(r[0]=o.getValueAtTime((o.keyframes[0].t+.01)/n,0),r[1]=a.getValueAtTime((a.keyframes[0].t+.01)/n,0),i[0]=o.getValueAtTime(o.keyframes[0].t/n,0),i[1]=a.getValueAtTime(a.keyframes[0].t/n,0)):o._caching.lastFrame+o.offsetTime>=o.keyframes[o.keyframes.length-1].t?(r[0]=o.getValueAtTime(o.keyframes[o.keyframes.length-1].t/n,0),r[1]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/n,0),i[0]=o.getValueAtTime((o.keyframes[o.keyframes.length-1].t-.01)/n,0),i[1]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/n,0)):(r=[o.pv,a.pv],i[0]=o.getValueAtTime((o._caching.lastFrame+o.offsetTime-.01)/n,o.offsetTime),i[1]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/n,a.offsetTime))}else r=i=e;this.v.rotate(-Math.atan2(r[1]-i[1],r[0]-i[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}},precalculateMatrix:function(){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,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}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)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],t),t.prototype.addDynamicProperty=function(e){this._addDynamicProperty(e),this.elem.addDynamicProperty(e),this._isDirty=!0},t.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(e,n,r){return new t(e,n,r)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(e,t){return 1e5*Math.abs(e-t)<=Math.min(Math.abs(e),Math.abs(t))}function floatZero(e){return Math.abs(e)<=1e-5}function lerp(e,t,n){return e*(1-n)+t*n}function lerpPoint(e,t,n){return[lerp(e[0],t[0],n),lerp(e[1],t[1],n)]}function quadRoots(e,t,n){if(0===e)return[];var r=t*t-4*e*n;if(r<0)return[];var i=-t/(2*e);if(0===r)return[i];var o=Math.sqrt(r)/(2*e);return[i-o,i+o]}function polynomialCoefficients(e,t,n,r){return[3*t-e-3*n+r,3*e-6*t+3*n,-3*e+3*t,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,t,n,r,i){i&&pointEqual(e,t)&&(t=lerpPoint(e,r,1/3)),i&&pointEqual(n,r)&&(n=lerpPoint(e,r,2/3));var o=polynomialCoefficients(e[0],t[0],n[0],r[0]),a=polynomialCoefficients(e[1],t[1],n[1],r[1]);this.a=[o[0],a[0]],this.b=[o[1],a[1]],this.c=[o[2],a[2]],this.d=[o[3],a[3]],this.points=[e,t,n,r]}function extrema(e,t){var n=e.points[0][t],r=e.points[e.points.length-1][t];if(n>r){var i=r;r=n,n=i}for(var o=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),a=0;a<o.length;a+=1)if(o[a]>0&&o[a]<1){var s=e.point(o[a])[t];s<n?n=s:s>r&&(r=s)}return{min:n,max:r}}function intersectData(e,t,n){var r=e.boundingBox();return{cx:r.cx,cy:r.cy,width:r.width,height:r.height,bez:e,t:(t+n)/2,t1:t,t2:n}}function splitData(e){var t=e.bez.split(.5);return[intersectData(t[0],e.t1,e.t),intersectData(t[1],e.t,e.t2)]}function boxIntersect(e,t){return 2*Math.abs(e.cx-t.cx)<e.width+t.width&&2*Math.abs(e.cy-t.cy)<e.height+t.height}function intersectsImpl(e,t,n,r,i,o){if(boxIntersect(e,t))if(n>=o||e.width<=r&&e.height<=r&&t.width<=r&&t.height<=r)i.push([e.t,t.t]);else{var a=splitData(e),s=splitData(t);intersectsImpl(a[0],s[0],n+1,r,i,o),intersectsImpl(a[0],s[1],n+1,r,i,o),intersectsImpl(a[1],s[0],n+1,r,i,o),intersectsImpl(a[1],s[1],n+1,r,i,o)}}function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,n,r){var i=[e[0],e[1],1],o=[t[0],t[1],1],a=[n[0],n[1],1],s=[r[0],r[1],1],c=crossProduct(crossProduct(i,o),crossProduct(a,s));return floatZero(c[2])?null:[c[0]/c[2],c[1]/c[2]]}function polarOffset(e,t,n){return[e[0]+Math.cos(t)*n,e[1]-Math.sin(t)*n]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}function setPoint(e,t,n,r,i,o,a){var s=n-Math.PI/2,c=n+Math.PI/2,l=t[0]+Math.cos(n)*r*i,u=t[1]-Math.sin(n)*r*i;e.setTripleAt(l,u,l+Math.cos(s)*o,u-Math.sin(s)*o,l+Math.cos(c)*a,u-Math.sin(c)*a,e.length())}function getPerpendicularVector(e,t){var n=[t[0]-e[0],t[1]-e[1]],r=.5*-Math.PI;return[Math.cos(r)*n[0]-Math.sin(r)*n[1],Math.sin(r)*n[0]+Math.cos(r)*n[1]]}function getProjectingAngle(e,t){var n=0===t?e.length()-1:t-1,r=(t+1)%e.length(),i=getPerpendicularVector(e.v[n],e.v[r]);return Math.atan2(0,1)-Math.atan2(i[1],i[0])}function zigZagCorner(e,t,n,r,i,o,a){var s=getProjectingAngle(t,n),c=t.v[n%t._length],l=t.v[0===n?t._length-1:n-1],u=t.v[(n+1)%t._length],f=2===o?Math.sqrt(Math.pow(c[0]-l[0],2)+Math.pow(c[1]-l[1],2)):0,d=2===o?Math.sqrt(Math.pow(c[0]-u[0],2)+Math.pow(c[1]-u[1],2)):0;setPoint(e,t.v[n%t._length],s,a,r,d/(2*(i+1)),f/(2*(i+1)),o)}function zigZagSegment(e,t,n,r,i,o){for(var a=0;a<r;a+=1){var s=(a+1)/(r+1),c=2===i?Math.sqrt(Math.pow(t.points[3][0]-t.points[0][0],2)+Math.pow(t.points[3][1]-t.points[0][1],2)):0,l=t.normalAngle(s);setPoint(e,t.point(s),l,o,n,c/(2*(r+1)),c/(2*(r+1)),i),o=-o}return o}function linearOffset(e,t,n){var r=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,r,n),polarOffset(t,r,n)]}function offsetSegment(e,t){var n,r,i,o,a,s,c;n=(c=linearOffset(e.points[0],e.points[1],t))[0],r=c[1],i=(c=linearOffset(e.points[1],e.points[2],t))[0],o=c[1],a=(c=linearOffset(e.points[2],e.points[3],t))[0],s=c[1];var l=lineIntersection(n,r,i,o);null===l&&(l=r);var u=lineIntersection(a,s,i,o);return null===u&&(u=a),new PolynomialBezier(n,l,u,s)}function joinLines(e,t,n,r,i){var o=t.points[3],a=n.points[0];if(3===r)return o;if(pointEqual(o,a))return o;if(2===r){var s=-t.tangentAngle(1),c=-n.tangentAngle(0)+Math.PI,l=lineIntersection(o,polarOffset(o,s+Math.PI/2,100),a,polarOffset(a,s+Math.PI/2,100)),u=l?pointDistance(l,o):pointDistance(o,a)/2,f=polarOffset(o,s,2*u*roundCorner);return e.setXYAt(f[0],f[1],"o",e.length()-1),f=polarOffset(a,c,2*u*roundCorner),e.setTripleAt(a[0],a[1],a[0],a[1],f[0],f[1],e.length()),a}var d=lineIntersection(pointEqual(o,t.points[2])?t.points[0]:t.points[2],o,a,pointEqual(a,n.points[1])?n.points[3]:n.points[1]);return d&&pointDistance(d,o)<i?(e.setTripleAt(d[0],d[1],d[0],d[1],d[0],d[1],e.length()),d):o}function getIntersection(e,t){var n=e.intersections(t);return n.length&&floatEqual(n[0][0],1)&&n.shift(),n.length?n[0]:null}function pruneSegmentIntersection(e,t){var n=e.slice(),r=t.slice(),i=getIntersection(e[e.length-1],t[0]);return i&&(n[e.length-1]=e[e.length-1].split(i[0])[0],r[0]=t[0].split(i[1])[1]),e.length>1&&t.length>1&&(i=getIntersection(e[0],t[t.length-1]))?[[e[0].split(i[0])[0]],[t[t.length-1].split(i[1])[1]]]:[n,r]}function pruneIntersections(e){for(var t,n=1;n<e.length;n+=1)t=pruneSegmentIntersection(e[n-1],e[n]),e[n-1]=t[0],e[n]=t[1];return e.length>1&&(t=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=t[0],e[0]=t[1]),e}function offsetSegmentSplit(e,t){var n,r,i,o,a=e.inflectionPoints();if(0===a.length)return[offsetSegment(e,t)];if(1===a.length||floatEqual(a[1],1))return n=(i=e.split(a[0]))[0],r=i[1],[offsetSegment(n,t),offsetSegment(r,t)];n=(i=e.split(a[0]))[0];var s=(a[1]-a[0])/(1-a[0]);return o=(i=i[1].split(s))[0],r=i[1],[offsetSegment(n,t),offsetSegment(o,t),offsetSegment(r,t)]}function OffsetPathModifier(){}function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],n="normal",r="normal",i=t.length,o=0;o<i;o+=1)switch(t[o].toLowerCase()){case"italic":r="italic";break;case"bold":n="700";break;case"black":n="900";break;case"medium":n="500";break;case"regular":case"normal":n="400";break;case"light":case"thin":n="200"}return{style:r,weight:e.fWeight||n}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,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(e,t,n,r,i,o){var a=o?-1:1,s=r.s.v[0]+(1-r.s.v[0])*(1-i),c=r.s.v[1]+(1-r.s.v[1])*(1-i);e.translate(r.p.v[0]*a*i,r.p.v[1]*a*i,r.p.v[2]),t.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),t.rotate(-r.r.v*a*i),t.translate(r.a.v[0],r.a.v[1],r.a.v[2]),n.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),n.scale(o?1/s:s,o?1/c:c),n.translate(r.a.v[0],r.a.v[1],r.a.v[2])},RepeaterModifier.prototype.init=function(e,t,n,r){for(this.elem=e,this.arr=t,this.pos=n,this.elemsData=r,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[n]);n>0;)n-=1,this._elements.unshift(t[n]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,n=e.length;for(t=0;t<n;t+=1)e[t]._processed=!1,"gr"===e[t].ty&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)e[n]._render=t,"gr"===e[n].ty&&this.changeGroupRender(e[n].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,n,r,i,o,a=!1;if(this._mdf||e){var s,c=Math.ceil(this.c.v);if(this._groups.length<c){for(;this._groups.length<c;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.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,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}for(o=0,r=0;r<=this._groups.length-1;r+=1){if(s=o<c,this._groups[r]._render=s,this.changeGroupRender(this._groups[r].it,s),!s){var u=this.elemsData[r].it,f=u[u.length-1];0!==f.transform.op.v?(f.transform.op._mdf=!0,f.transform.op.v=0):f.transform.op._mdf=!1}o+=1}this._currentCopies=c;var d=this.o.v,h=d%1,p=d>0?Math.floor(d):Math.ceil(d),m=this.pMatrix.props,y=this.rMatrix.props,g=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v,b,w=0;if(d>0){for(;w<p;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),w+=1;h&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,h,!1),w+=h)}else if(d<0){for(;w>p;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),w-=1;h&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-h,!0),w-=h)}for(r=1===this.data.m?0:this._currentCopies-1,i=1===this.data.m?1:-1,o=this._currentCopies;o;){if(b=(n=(t=this.elemsData[r].it)[t.length-1].transform.mProps.v.props).length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(r/(this._currentCopies-1)),0!==w){for((0!==r&&1===i||r!==this._currentCopies-1&&-1===i)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),v=0;v<b;v+=1)n[v]=this.matrix.props[v];this.matrix.reset()}else for(this.matrix.reset(),v=0;v<b;v+=1)n[v]=this.matrix.props[v];w+=1,o-=1,r+=i}}else for(o=this._currentCopies,r=0,i=1;o;)n=(t=this.elemsData[r].it)[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,o-=1,r+=i;return a},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var n,r=shapePool.newElement();r.c=e.c;var i,o,a,s,c,l,u,f,d,h,p,m,y=e._length,g=0;for(n=0;n<y;n+=1)i=e.v[n],a=e.o[n],o=e.i[n],i[0]===a[0]&&i[1]===a[1]&&i[0]===o[0]&&i[1]===o[1]?0!==n&&n!==y-1||e.c?(s=0===n?e.v[y-1]:e.v[n-1],l=(c=Math.sqrt(Math.pow(i[0]-s[0],2)+Math.pow(i[1]-s[1],2)))?Math.min(c/2,t)/c:0,u=p=i[0]+(s[0]-i[0])*l,f=m=i[1]-(i[1]-s[1])*l,d=u-(u-i[0])*roundCorner,h=f-(f-i[1])*roundCorner,r.setTripleAt(u,f,d,h,p,m,g),g+=1,s=n===y-1?e.v[0]:e.v[n+1],l=(c=Math.sqrt(Math.pow(i[0]-s[0],2)+Math.pow(i[1]-s[1],2)))?Math.min(c/2,t)/c:0,u=d=i[0]+(s[0]-i[0])*l,f=h=i[1]+(s[1]-i[1])*l,p=u-(u-i[0])*roundCorner,m=f-(f-i[1])*roundCorner,r.setTripleAt(u,f,d,h,p,m,g),g+=1):(r.setTripleAt(i[0],i[1],a[0],a[1],o[0],o[1],g),g+=1):(r.setTripleAt(e.v[n][0],e.v[n][1],e.o[n][0],e.o[n][1],e.i[n][0],e.i[n][1],g),g+=1);return r},RoundCornersModifier.prototype.processShapes=function(e){var t,n,r,i,o,a,s=this.shapes.length,c=this.rd.v;if(0!==c)for(n=0;n<s;n+=1){if(a=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||e)for(a.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,i=o.shape.paths._length,r=0;r<i;r+=1)a.addShape(this.processPath(t[r],c));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},PolynomialBezier.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(e){var t=this.derivative(e);return Math.atan2(t[1],t[0])},PolynomialBezier.prototype.normalAngle=function(e){var t=this.derivative(e);return Math.atan2(t[0],t[1])},PolynomialBezier.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(e))return[];var t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,n=t*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(n<0)return[];var r=Math.sqrt(n);return floatZero(r)?r>0&&r<1?[t]:[]:[t-r,t+r].filter(function(e){return e>0&&e<1})},PolynomialBezier.prototype.split=function(e){if(e<=0)return[singlePoint(this.points[0]),this];if(e>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],e),n=lerpPoint(this.points[1],this.points[2],e),r=lerpPoint(this.points[2],this.points[3],e),i=lerpPoint(t,n,e),o=lerpPoint(n,r,e),a=lerpPoint(i,o,e);return[new PolynomialBezier(this.points[0],t,i,a,!0),new PolynomialBezier(a,o,r,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}},PolynomialBezier.prototype.intersections=function(e,t,n){void 0===t&&(t=2),void 0===n&&(n=7);var r=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,r,n),r},PolynomialBezier.shapeSegment=function(e,t){var n=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[n],e.v[n],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var n=(t+1)%e.length();return new PolynomialBezier(e.v[n],e.i[n],e.o[t],e.v[t],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,t.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},ZigZagModifier.prototype.processPath=function(e,t,n,r){var i=e._length,o=shapePool.newElement();if(o.c=e.c,e.c||(i-=1),0===i)return o;var a=-1,s=PolynomialBezier.shapeSegment(e,0);zigZagCorner(o,e,0,t,n,r,a);for(var c=0;c<i;c+=1)a=zigZagSegment(o,s,t,n,r,-a),s=c!==i-1||e.c?PolynomialBezier.shapeSegment(e,(c+1)%i):null,zigZagCorner(o,e,c+1,t,n,r,a);return o},ZigZagModifier.prototype.processShapes=function(e){var t,n,r,i,o,a,s=this.shapes.length,c=this.amplitude.v,l=Math.max(0,Math.round(this.frequency.v)),u=this.pointsType.v;if(0!==c)for(n=0;n<s;n+=1){if(a=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||e)for(a.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,i=o.shape.paths._length,r=0;r<i;r+=1)a.addShape(this.processPath(t[r],c,l,u));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this.miterLimit=PropertyFactory.getProp(e,t.ml,0,null,this),this.lineJoin=t.lj,this._isAnimated=0!==this.amount.effectsSequence.length},OffsetPathModifier.prototype.processPath=function(e,t,n,r){var i=shapePool.newElement();i.c=e.c;var o,a,s,c=e.length();e.c||(c-=1);var l=[];for(o=0;o<c;o+=1)s=PolynomialBezier.shapeSegment(e,o),l.push(offsetSegmentSplit(s,t));if(!e.c)for(o=c-1;o>=0;o-=1)s=PolynomialBezier.shapeSegmentInverted(e,o),l.push(offsetSegmentSplit(s,t));l=pruneIntersections(l);var u=null,f=null;for(o=0;o<l.length;o+=1){var d=l[o];for(f&&(u=joinLines(i,f,d[0],n,r)),f=d[d.length-1],a=0;a<d.length;a+=1)s=d[a],u&&pointEqual(s.points[0],u)?i.setXYAt(s.points[1][0],s.points[1][1],"o",i.length()-1):i.setTripleAt(s.points[0][0],s.points[0][1],s.points[1][0],s.points[1][1],s.points[0][0],s.points[0][1],i.length()),i.setTripleAt(s.points[3][0],s.points[3][1],s.points[3][0],s.points[3][1],s.points[2][0],s.points[2][1],i.length()),u=s.points[3]}return l.length&&joinLines(i,f,l[0][0],n,r),i},OffsetPathModifier.prototype.processShapes=function(e){var t,n,r,i,o,a,s=this.shapes.length,c=this.amount.v,l=this.miterLimit.v,u=this.lineJoin;if(0!==c)for(n=0;n<s;n+=1){if(a=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||e)for(a.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,i=o.shape.paths._length,r=0;r<i;r+=1)a.addShape(this.processPath(t[r],c,u,l));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var e={w:0,size:0,shapes:[],data:{shapes:[]}},t=[];t=t.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 n=127988,r=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function i(e,t){var n=createTag("span");n.setAttribute("aria-hidden",!0),n.style.fontFamily=t;var r=createTag("span");r.innerText="giItT1WQy@!-/#",n.style.position="absolute",n.style.left="-10000px",n.style.top="-10000px",n.style.fontSize="300px",n.style.fontVariant="normal",n.style.fontStyle="normal",n.style.fontWeight="normal",n.style.letterSpacing="0",n.appendChild(r),document.body.appendChild(n);var i=r.offsetWidth;return r.style.fontFamily=function(e){var t,n=e.split(","),r=n.length,i=[];for(t=0;t<r;t+=1)"sans-serif"!==n[t]&&"monospace"!==n[t]&&i.push(n[t]);return i.join(",")}(e)+", "+t,{node:r,w:i,parent:n}}function o(e,t){var n,r=document.body&&t?"svg":"canvas",i=getFontProperties(e);if("svg"===r){var o=createNS("text");o.style.fontSize="100px",o.setAttribute("font-family",e.fFamily),o.setAttribute("font-style",i.style),o.setAttribute("font-weight",i.weight),o.textContent="1",e.fClass?(o.style.fontFamily="inherit",o.setAttribute("class",e.fClass)):o.style.fontFamily=e.fFamily,t.appendChild(o),n=o}else{var a=new OffscreenCanvas(500,500).getContext("2d");a.font=i.style+" "+i.weight+" 100px "+e.fFamily,n=a}return{measureText:function(e){return"svg"===r?(n.textContent=e,n.getComputedTextLength()):n.measureText(e).width}}}function a(e){var t=0,n=e.charCodeAt(0);if(n>=55296&&n<=56319){var r=e.charCodeAt(1);r>=56320&&r<=57343&&(t=1024*(n-55296)+r-56320+65536)}return t}function s(e){var t=a(e);return t>=127462&&t<=127487}var c=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)};c.isModifier=function(e,t){var n=e.toString(16)+t.toString(16);return-1!==r.indexOf(n)},c.isZeroWidthJoiner=function(e){return 8205===e},c.isFlagEmoji=function(e){return s(e.substr(0,2))&&s(e.substr(2,2))},c.isRegionalCode=s,c.isCombinedCharacter=function(e){return-1!==t.indexOf(e)},c.isRegionalFlag=function(e,t){var r=a(e.substr(t,2));if(r!==n)return!1;var i=0;for(t+=2;i<5;){if((r=a(e.substr(t,2)))<917601||r>917626)return!1;i+=1,t+=2}return 917631===a(e.substr(t,2))},c.isVariationSelector=function(e){return 65039===e},c.BLACK_FLAG_CODE_POINT=n;var l={addChars:function(e){if(e){var t;this.chars||(this.chars=[]);var n,r,i=e.length,o=this.chars.length;for(t=0;t<i;t+=1){for(n=0,r=!1;n<o;)this.chars[n].style===e[t].style&&this.chars[n].fFamily===e[t].fFamily&&this.chars[n].ch===e[t].ch&&(r=!0),n+=1;r||(this.chars.push(e[t]),o+=1)}}},addFonts:function(e,t){if(e){if(this.chars)return this.isLoaded=!0,void(this.fonts=e.list);if(!document.body)return this.isLoaded=!0,e.list.forEach(function(e){e.helper=o(e),e.cache={}}),void(this.fonts=e.list);var n,r=e.list,a=r.length,s=a;for(n=0;n<a;n+=1){var c,l,u=!0;if(r[n].loaded=!1,r[n].monoCase=i(r[n].fFamily,"monospace"),r[n].sansCase=i(r[n].fFamily,"sans-serif"),r[n].fPath){if("p"===r[n].fOrigin||3===r[n].origin){if((c=document.querySelectorAll('style[f-forigin="p"][f-family="'+r[n].fFamily+'"], style[f-origin="3"][f-family="'+r[n].fFamily+'"]')).length>0&&(u=!1),u){var f=createTag("style");f.setAttribute("f-forigin",r[n].fOrigin),f.setAttribute("f-origin",r[n].origin),f.setAttribute("f-family",r[n].fFamily),f.type="text/css",f.innerText="@font-face {font-family: "+r[n].fFamily+"; font-style: normal; src: url('"+r[n].fPath+"');}",t.appendChild(f)}}else if("g"===r[n].fOrigin||1===r[n].origin){for(c=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),l=0;l<c.length;l+=1)-1!==c[l].href.indexOf(r[n].fPath)&&(u=!1);if(u){var d=createTag("link");d.setAttribute("f-forigin",r[n].fOrigin),d.setAttribute("f-origin",r[n].origin),d.type="text/css",d.rel="stylesheet",d.href=r[n].fPath,document.body.appendChild(d)}}else if("t"===r[n].fOrigin||2===r[n].origin){for(c=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),l=0;l<c.length;l+=1)r[n].fPath===c[l].src&&(u=!1);if(u){var h=createTag("link");h.setAttribute("f-forigin",r[n].fOrigin),h.setAttribute("f-origin",r[n].origin),h.setAttribute("rel","stylesheet"),h.setAttribute("href",r[n].fPath),t.appendChild(h)}}}else r[n].loaded=!0,s-=1;r[n].helper=o(r[n],t),r[n].cache={},this.fonts.push(r[n])}0===s?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(t,n,r){for(var i=0,o=this.chars.length;i<o;){if(this.chars[i].ch===t&&this.chars[i].style===n&&this.chars[i].fFamily===r)return this.chars[i];i+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,n,r)),e},getFontByName:function(e){for(var t=0,n=this.fonts.length;t<n;){if(this.fonts[t].fName===e)return this.fonts[t];t+=1}return this.fonts[0]},measureText:function(e,t,n){var r=this.getFontByName(t),i=e;if(!r.cache[i]){var o=r.helper;if(" "===e){var a=o.measureText("|"+e+"|"),s=o.measureText("||");r.cache[i]=(a-s)/100}else r.cache[i]=o.measureText(e)/100}return r.cache[i]*n},checkLoadedFonts:function(){var e,t,n,r=this.fonts.length,i=r;for(e=0;e<r;e+=1)this.fonts[e].loaded?i-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(t=this.fonts[e].monoCase.node,n=this.fonts[e].monoCase.w,t.offsetWidth!==n?(i-=1,this.fonts[e].loaded=!0):(t=this.fonts[e].sansCase.node,n=this.fonts[e].sansCase.w,t.offsetWidth!==n&&(i-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==i&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return c.prototype=l,c}();function SlotManager(e){this.animationData=e}function slotFactory(e){return new SlotManager(e)}function RenderableElement(){}SlotManager.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){-1===this.renderableComponents.indexOf(e)&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){-1!==this.renderableComponents.indexOf(e)&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},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(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,t=this.renderableComponents.length;for(e=0;e<t;e+=1)this.renderableComponents[e].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=(blendModeEnums={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"},function(e){return blendModeEnums[e]||""}),blendModeEnums;function SliderEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function AngleEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function ColorEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,1,0,n)}function PointEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,1,0,n)}function LayerIndexEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function MaskIndexEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function CheckboxEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var n,r=e.ef||[];this.effectElements=[];var i,o=r.length;for(n=0;n<o;n+=1)i=new GroupEffect(r[n],t),this.effectElements.push(i)}function GroupEffect(e,t){this.init(e,t)}function BaseElement(){}function FrameElement(){}function FootageElement(e,t,n){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,n)}function AudioElement(e,t,n){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,n),this._isPlaying=!1,this._canPlay=!1;var r=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(r),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){var n;this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var r,i=this.data.ef.length,o=this.data.ef;for(n=0;n<i;n+=1){switch(r=null,o[n].ty){case 0:r=new SliderEffect(o[n],t,this);break;case 1:r=new AngleEffect(o[n],t,this);break;case 2:r=new ColorEffect(o[n],t,this);break;case 3:r=new PointEffect(o[n],t,this);break;case 4:case 7:r=new CheckboxEffect(o[n],t,this);break;case 10:r=new LayerIndexEffect(o[n],t,this);break;case 11:r=new MaskIndexEffect(o[n],t,this);break;case 5:r=new EffectsManager(o[n],t,this);break;default:r=new NoValueEffect(o[n],t,this)}r&&this.effectElements.push(r)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,t=this.data.masksProperties.length;e<t;){if("n"!==this.data.masksProperties[e].mode&&!1!==this.data.masksProperties[e].cl)return!0;e+=1}return!1},initExpressions:function(){var e=getExpressionInterfaces();if(e){var t=e("layer"),n=e("effects"),r=e("shape"),i=e("text"),o=e("comp");this.layerInterface=t(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var a=n.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(a),0===this.data.ty||this.data.xt?this.compInterface=o(this):4===this.data.ty?(this.layerInterface.shapeInterface=r(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=i(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var e=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=e},initBaseData:function(e,t,n){this.globalData=t,this.comp=n,this.data=e,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(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(e,t){var n,r=this.dynamicProperties.length;for(n=0;n<r;n+=1)(t||this._isParent&&"transform"===this.dynamicProperties[n].propType)&&(this.dynamicProperties[n].getValue(),this.dynamicProperties[n]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&this.dynamicProperties.push(e)}},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 e=getExpressionInterfaces();if(e){var t=e("footage");this.layerInterface=t(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var n=this._volume*this._volumeMultiplier;this._previousVolume!==n&&(this._previousVolume=n,this.audio.volume(n))},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(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*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(){},BaseRenderer.prototype.checkLayers=function(e){var t,n,r=this.layers.length;for(this.completeLayers=!0,t=r-1;t>=0;t-=1)this.elements[t]||(n=this.layers[t]).ip-n.st<=e-this.layers[t].st&&n.op-n.st>e-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:default:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){var t;this.completeLayers=!1;var n,r=e.length,i=this.layers.length;for(t=0;t<r;t+=1)for(n=0;n<i;){if(this.layers[n].id===e[t].id){this.layers[n]=e[t];break}n+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,n){for(var r=this.elements,i=this.layers,o=0,a=i.length;o<a;)i[o].ind==t&&(r[o]&&!0!==r[o]?(n.push(r[o]),r[o].setAsParent(),void 0!==i[o].parent?this.buildElementParenting(e,i[o].parent,n):e.setHierarchy(n)):(this.buildItem(o),this.addPendingElement(e))),o+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,n=e.length;for(t=0;t<n;t+=1)if(e[t].xt){var r=this.createComp(e[t]);r.initExpressions(),this.globalData.projectInterface.registerComposition(r)}},BaseRenderer.prototype.getElementById=function(e){var t,n=this.elements.length;for(t=0;t<n;t+=1)if(this.elements[t].data.ind===e)return this.elements[t];return null},BaseRenderer.prototype.getElementByPath=function(e){var t,n=e.shift();if("number"==typeof n)t=this.elements[n];else{var r,i=this.elements.length;for(r=0;r<i;r+=1)if(this.elements[r].data.nm===n){t=this.elements[r];break}}return 0===e.length?t:t.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),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=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}function MaskElement(e,t,n){this.data=e,this.element=t,this.globalData=n,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var r,i,o=this.globalData.defs,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var s,c,l,u,f,d,h=this.masksProperties,p=0,m=[],y=createElementID(),g="clipPath",v="clip-path";for(r=0;r<a;r+=1)if(("a"!==h[r].mode&&"n"!==h[r].mode||h[r].inv||100!==h[r].o.k||h[r].o.x)&&(g="mask",v="mask"),"s"!==h[r].mode&&"i"!==h[r].mode||0!==p?l=null:((l=createNS("rect")).setAttribute("fill","#ffffff"),l.setAttribute("width",this.element.comp.data.w||0),l.setAttribute("height",this.element.comp.data.h||0),m.push(l)),i=createNS("path"),"n"===h[r].mode)this.viewData[r]={op:PropertyFactory.getProp(this.element,h[r].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,h[r],3),elem:i,lastPath:""},o.appendChild(i);else{var b;if(p+=1,i.setAttribute("fill","s"===h[r].mode?"#000000":"#ffffff"),i.setAttribute("clip-rule","nonzero"),0!==h[r].x.k?(g="mask",v="mask",d=PropertyFactory.getProp(this.element,h[r].x,0,null,this.element),b=createElementID(),(u=createNS("filter")).setAttribute("id",b),(f=createNS("feMorphology")).setAttribute("operator","erode"),f.setAttribute("in","SourceGraphic"),f.setAttribute("radius","0"),u.appendChild(f),o.appendChild(u),i.setAttribute("stroke","s"===h[r].mode?"#000000":"#ffffff")):(f=null,d=null),this.storedData[r]={elem:i,x:d,expan:f,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===h[r].mode){c=m.length;var w=createNS("g");for(s=0;s<c;s+=1)w.appendChild(m[s]);var x=createNS("mask");x.setAttribute("mask-type","alpha"),x.setAttribute("id",y+"_"+p),x.appendChild(i),o.appendChild(x),w.setAttribute("mask","url("+getLocationHref()+"#"+y+"_"+p+")"),m.length=0,m.push(w)}else m.push(i);h[r].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[r]={elem:i,lastPath:"",op:PropertyFactory.getProp(this.element,h[r].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,h[r],3),invRect:l},this.viewData[r].prop.k||this.drawPath(h[r],this.viewData[r].prop.v,this.viewData[r])}for(this.maskElement=createNS(g),a=m.length,r=0;r<a;r+=1)this.maskElement.appendChild(m[r]);p>0&&(this.maskElement.setAttribute("id",y),this.element.maskedElement.setAttribute(v,"url("+getLocationHref()+"#"+y+")"),o.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}TransformElement.prototype={initTransform:function(){var e=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:e,localMat:e,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 e,t=this.finalTransform.mat,n=0,r=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;n<r;){if(this.hierarchy[n].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}n+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,t.cloneFromProps(e),n=0;n<r;n+=1)t.multiply(this.hierarchy[n].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 e=0,t=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;e<t;)this.localTransforms[e]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[e]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),e+=1;if(this.finalTransform._localMatMdf){var n=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(n),e=1;e<t;e+=1){var r=this.localTransforms[e].matrix;n.multiply(r)}n.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var i=this.finalTransform.localOpacity;for(e=0;e<t;e+=1)i*=.01*this.localTransforms[e].opacity;this.finalTransform.localOpacity=i}}}
vendor: 3,933 bytes, line 2
2,searchEffectTransforms:function(){if(this.renderableEffectsManager){var e=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(e.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var t=0,n=e.length;for(t=0;t<n;t+=1)this.localTransforms.push(e[t])}}},globalToLocal:function(e){var t=[];t.push(this.finalTransform);for(var n,r=!0,i=this.comp;r;)i.finalTransform?(i.data.hasMask&&t.splice(0,0,i.finalTransform),i=i.comp):r=!1;var o,a=t.length;for(n=0;n<a;n+=1)o=t[n].mat.applyToPointArray(0,0,0),e=[e[0]-o[0],e[1]-o[1],0];return e},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t,n=this.element.finalTransform.mat,r=this.masksProperties.length;for(t=0;t<r;t+=1)if((this.viewData[t].prop._mdf||e)&&this.drawPath(this.masksProperties[t],this.viewData[t].prop.v,this.viewData[t]),(this.viewData[t].op._mdf||e)&&this.viewData[t].elem.setAttribute("fill-opacity",this.viewData[t].op.v),"n"!==this.masksProperties[t].mode&&(this.viewData[t].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[t].invRect.setAttribute("transform",n.getInverseMatrix().to2dCSS()),this.storedData[t].x&&(this.storedData[t].x._mdf||e))){var i=this.storedData[t].expan;this.storedData[t].x.v<0?("erode"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="erode",this.storedData[t].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[t].filterId+")")),i.setAttribute("radius",-this.storedData[t].x.v)):("dilate"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="dilate",this.storedData[t].elem.setAttribute("filter",null)),this.storedData[t].elem.setAttribute("stroke-width",2*this.storedData[t].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,(e+=" h-"+this.globalData.compSize.w)+" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(e,t,n){var r,i,o=" M"+t.v[0][0]+","+t.v[0][1];for(i=t._length,r=1;r<i;r+=1)o+=" C"+t.o[r-1][0]+","+t.o[r-1][1]+" "+t.i[r][0]+","+t.i[r][1]+" "+t.v[r][0]+","+t.v[r][1];if(t.c&&i>1&&(o+=" C"+t.o[r-1][0]+","+t.o[r-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),n.lastPath!==o){var a="";n.elem&&(t.c&&(a=e.inv?this.solidPath+o:o),n.elem.setAttribute("d",a)),n.lastPath=o}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory={createFilter:function(e,t){var n=createNS("filter");return n.setAttribute("id",e),!0!==t&&(n.setAttribute("filterUnits","objectBoundingBox"),n.setAttribute("x","0%"),n.setAttribute("y","0%"),n.setAttribute("width","100%"),n.setAttribute("height","100%")),n},createAlphaToLuminanceFilter:function(){var e=createNS("feColorMatrix");return e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),e}},featureSupport=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"undefined"!=typeof OffscreenCanvas};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))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(e){var t,n,r="SourceGraphic",i=e.data.ef?e.data.ef.length:0,o=createElementID(),a=filtersFactory.createFilter(o,!0),s=0;for(this.filters=[],t=0;t<i;t+=1){n=null;var c=e.data.ef[t].ty;registeredEffects$1[c]&&(n=new(0,registeredEffects$1[c].effect)(a,e.effectsManager.effectElements[t],e,idPrefix+s,r),r=idPrefix+s,registeredEffects$1[c].c
vendor: 4,333 bytes, line 2
2ountsAsEffect&&(s+=1)),n&&this.filters.push(n)}s&&(e.globalData.defs.appendChild(a),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+o+")")),this.filters.length&&e.addRenderableComponent(this)}function registerEffect$1(e,t,n){registeredEffects$1[e]={effect:t,countsAsEffect:n}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=t.slotManager.getProp(this.assetData)),this.initElement(e,t,n),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(e){var t,n=this.filters.length;for(t=0;t<n;t+=1)this.filters[t].renderFrame(e)},SVGEffects.prototype.getEffects=function(e){var t,n=this.filters.length,r=[];for(t=0;t<n;t+=1)this.filters[t].type===e&&r.push(this.filters[t]);return r},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 e=null;if(this.data.td){this.matteMasks={};var t=createNS("g");t.setAttribute("id",this.layerId),t.appendChild(this.layerElement),e=t,this.globalData.defs.appendChild(t)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),e=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),0===this.data.ty&&!this.data.hd){var n=createNS("clipPath"),r=createNS("path");r.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var i=createElementID();if(n.setAttribute("id",i),n.appendChild(r),this.globalData.defs.appendChild(n),this.checkMasks()){var o=createNS("g");o.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),o.appendChild(this.layerElement),this.transformedElement=o,e?e.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")")}0!==this.data.bm&&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(e){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[e]){var t,n,r,i,o=this.layerId+"_"+e;if(1===e||3===e){var a=createNS("mask");a.setAttribute("id",o),a.setAttribute("mask-type",3===e?"luminance":"alpha"),(r=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),a.appendChild(r),this.globalData.defs.appendChild(a),featureSupport.maskType||1!==e||(a.setAttribute("mask-type","luminance"),t=createElementID(),n=filtersFactory.createFilter(t),this.globalData.defs.appendChild(n),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(i=createNS("g")).appendChild(r),a.appendChild(i),i.setAttribute("filter","url("+getLocationHref()+"#"+t+")"))}else if(2===e){var s=createNS("mask");s.setAttribute("id",o),s.setAttribute("mask-type","alpha");var c=createNS("g");s.appendChild(c),t=createElementID(),n=filtersFactory.createFilter(t);var l=createNS("feComponentTransfer");l.setAttribute("in","SourceGraphic"),n.appendChild(l);var u=createNS("feFuncA");u.setAttribute("type","table"),u.setAttribute("tableValues","1.0 0.0"),l.appendChild(u),this.globalData.defs.appendChild(n);var f=createNS("rect");f.setAttribute("width",this.comp.data.w),f.setAttribute("height",this.comp.data.h),f.setAttribute("x","0"),f.setAttribute("y","0"),f.setAttribute("fill","#ffffff"),f.setAttribute("op
2acity","0"),c.setAttribute("filter","url("+getLocationHref()+"#"+t+")"),c.appendChild(f),(r=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),c.appendChild(r),featureSupport.maskType||(s.setAttribute("mask-type","luminance"),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),i=createNS("g"),c.appendChild(f),i.appendChild(this.layerElement),c.appendChild(i)),this.globalData.defs.appendChild(s)}this.matteMasks[e]=o}return this.matteMasks[e]},setMatte:function(e){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+e+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(e){this.hierarchy=e},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initTransform(e,t,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).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(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=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",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(e){var t,n=this.shapeModifiers.length;for(t=0;t<n;t+=1)this.shapeModifiers[t].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var t=this.shapeModifiers.length;0<t;)if(this.shapeModifiers[0].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var e,t=this.shapes.length;for(e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;e>=0&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);e-=1);}},searchProcessedElement:function(e){for(var t=this.processedElements,n=0,r=t.length;n<r;){if(t[n].elem===e)return t[n].pos;n+=1}return 0},addProcessedElement:function(e,t){for(var n=this.processedElements,r=n.length;r;)if(n[r-=1].elem===e)return void(n[r].pos=t);n.push(new ProcessedElement(e,t))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,t,n){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=n,this.lvl=t,this._isAnimated=!!n.k;for(var r=0,i=e.length;r<i;){if(e[r].mProps.dynamicProperties.length){this._isAnimated=!0;break}r+=1}}function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=!0===e.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(e,t,n,r){var i;this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=n,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(r);var o,a=t.length||0;for(i=0;i<a;i+=1)o=PropertyFactory.getProp(e,t[i].v,0,0,this),this.k=o.k||this.k,this.dataProps[i]={n:t[i].n,p:o};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=n,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=n}function SVGNoStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=n}function GradientProperty(e,t,n){this.data=t,this.c=createTypedArray("uint8c",4*t.p);var r=t.k.k[0].s?t.k.k[0].s.length-4*t.p:t.k.k.length-4*t.p;this.o=createTypedArray("float32",r),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=r,this.initDynamicPropertyContainer(n),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,n)}function SVGGradientStrokeStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,n),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,n){this.transform={mProps:e,op:t,container:n},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(e){if((this.elem.globalData.frameId!==this.frameId||e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,n=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),t=0;t<n;t+=1)"o"!==this.dataProps[t].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(e,t){for(var n=0,r=this.o.length/2;n<r;){if(Math.abs(e[4*n]-e[4*t+2*n])>.01)return!1;n+=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 e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,n,r,i=4*this.data.p;for(t=0;t<i;t+=1)n=t%4==0?100:255,r=Math.round(this.prop.v[t]*n),this.c[t]!==r&&(this.c[t]=r,this._cmdf=!e);if(this.o.length)for(i=this.prop.v.length,t=4*this.data.p;t<i;t+=1)n=t%2==0?100:1,r=t%2==0?Math.round(100*this.prop.v[t]):this.prop.v[t],this.o[t-4*this.data.p]!==r&&(this.o[t-4*this.data.p]=r,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(e,t,n){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=Pro
vendor: 2,676 bytes, line 2
2pertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=n,this.stops=[],this.setGradientData(n.pElem,t),this.setGradientOpacity(t,n),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var n=createElementID(),r=createNS(1===t.t?"linearGradient":"radialGradient");r.setAttribute("id",n),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse");var i,o,a,s=[];for(a=4*t.g.p,o=0;o<a;o+=4)i=createNS("stop"),r.appendChild(i),s.push(i);e.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+n+")"),this.gf=r,this.cst=s},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var n,r,i,o=createNS("mask"),a=createNS("path");o.appendChild(a);var s=createElementID(),c=createElementID();o.setAttribute("id",c);var l=createNS(1===e.t?"linearGradient":"radialGradient");l.setAttribute("id",s),l.setAttribute("spreadMethod","pad"),l.setAttribute("gradientUnits","userSpaceOnUse"),i=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var u=this.stops;for(r=4*e.g.p;r<i;r+=2)(n=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),l.appendChild(n),u.push(n);a.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+s+")"),"gs"===e.ty&&(a.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),a.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),1===e.lj&&a.setAttribute("stroke-miterlimit",e.ml)),this.of=l,this.ms=o,this.ost=u,this.maskId=c,t.msElem=a}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(e,t,n,r){if(0===t)return"";var i,o=e.o,a=e.i,s=e.v,c=" M"+r.applyToPointStringified(s[0][0],s[0][1]);for(i=1;i<t;i+=1)c+=" C"+r.applyToPointStringified(o[i-1][0],o[i-1][1])+" "+r.applyToPointStringified(a[i][0],a[i][1])+" "+r.applyToPointStringified(s[i][0],s[i][1]);return n&&t&&(c+=" C"+r.applyToPointStringified(o[i-1][0],o[i-1][1])+" "+r.applyToPointStringified(a[0][0],a[0][1])+" "+r.applyToPointStringified(s[0][0],s[0][1]),c+="z"),c},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix;function n(e,t,n){(n||t.transform.op._mdf)&&t.transform.container.setAttribute("opacity",t.transform.op.v),(n||t.transform.mProps._mdf)&&t.transform.container.setAttribute("transform",t.transform.mProps.v.to2dCSS())}function r(){}function i(n,r,i){var o,a,s,c,l,u,f,d,h,p,m=r.styles.length,y=r.lvl;for(u=0;
vendor: 5,828 bytes, line 2
2u<m;u+=1){if(c=r.sh._mdf||i,r.styles[u].lvl<y){for(d=t.reset(),h=y-r.styles[u].lvl,p=r.transformers.length-1;!c&&h>0;)c=r.transformers[p].mProps._mdf||c,h-=1,p-=1;if(c)for(h=y-r.styles[u].lvl,p=r.transformers.length-1;h>0;)d.multiply(r.transformers[p].mProps.v),h-=1,p-=1}else d=e;if(a=(f=r.sh.paths)._length,c){for(s="",o=0;o<a;o+=1)(l=f.shapes[o])&&l._length&&(s+=buildShapeString(l,l._length,l.c,d));r.caches[u]=s}else s=r.caches[u];r.styles[u].d+=!0===n.hd?"":s,r.styles[u]._mdf=c||r.styles[u]._mdf}}function o(e,t,n){var r=t.style;(t.c._mdf||n)&&r.pElem.setAttribute("fill","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n)&&r.pElem.setAttribute("fill-opacity",t.o.v)}function a(e,t,n){s(e,t,n),c(0,t,n)}function s(e,t,n){var r,i,o,a,s,c=t.gf,l=t.g._hasOpacity,u=t.s.v,f=t.e.v;if(t.o._mdf||n){var d="gf"===e.ty?"fill-opacity":"stroke-opacity";t.style.pElem.setAttribute(d,t.o.v)}if(t.s._mdf||n){var h=1===e.t?"x1":"cx",p="x1"===h?"y1":"cy";c.setAttribute(h,u[0]),c.setAttribute(p,u[1]),l&&!t.g._collapsable&&(t.of.setAttribute(h,u[0]),t.of.setAttribute(p,u[1]))}if(t.g._cmdf||n){r=t.cst;var m=t.g.c;for(o=r.length,i=0;i<o;i+=1)(a=r[i]).setAttribute("offset",m[4*i]+"%"),a.setAttribute("stop-color","rgb("+m[4*i+1]+","+m[4*i+2]+","+m[4*i+3]+")")}if(l&&(t.g._omdf||n)){var y=t.g.o;for(o=(r=t.g._collapsable?t.cst:t.ost).length,i=0;i<o;i+=1)a=r[i],t.g._collapsable||a.setAttribute("offset",y[2*i]+"%"),a.setAttribute("stop-opacity",y[2*i+1])}if(1===e.t)(t.e._mdf||n)&&(c.setAttribute("x2",f[0]),c.setAttribute("y2",f[1]),l&&!t.g._collapsable&&(t.of.setAttribute("x2",f[0]),t.of.setAttribute("y2",f[1])));else if((t.s._mdf||t.e._mdf||n)&&(s=Math.sqrt(Math.pow(u[0]-f[0],2)+Math.pow(u[1]-f[1],2)),c.setAttribute("r",s),l&&!t.g._collapsable&&t.of.setAttribute("r",s)),t.s._mdf||t.e._mdf||t.h._mdf||t.a._mdf||n){s||(s=Math.sqrt(Math.pow(u[0]-f[0],2)+Math.pow(u[1]-f[1],2)));var g=Math.atan2(f[1]-u[1],f[0]-u[0]),v=t.h.v;v>=1?v=.99:v<=-1&&(v=-.99);var b=s*v,w=Math.cos(g+t.a.v)*b+u[0],x=Math.sin(g+t.a.v)*b+u[1];c.setAttribute("fx",w),c.setAttribute("fy",x),l&&!t.g._collapsable&&(t.of.setAttribute("fx",w),t.of.setAttribute("fy",x))}}function c(e,t,n){var r=t.style,i=t.d;i&&(i._mdf||n)&&i.dashStr&&(r.pElem.setAttribute("stroke-dasharray",i.dashStr),r.pElem.setAttribute("stroke-dashoffset",i.dashoffset[0])),t.c&&(t.c._mdf||n)&&r.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n)&&r.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||n)&&(r.pElem.setAttribute("stroke-width",t.w.v),r.msElem&&r.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty){case"fl":return o;case"gf":return s;case"gs":return a;case"st":return c;case"sh":case"el":case"rc":case"sr":return i;case"tr":return n;case"no":return r;default:return null}}}}();function SVGShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,n),this.prevViewData=[]}function LetterProps(e,t,n,r,i,o){this.o=e,this.sw=t,this.sc=n,this.fc=r,this.m=i,this.p=o,this._mdf={o:!0,sw:!!t,sc:!!n,fc:!!r,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,t.d&&t.d.sid&&(t.d=e.globalData.slotManager.getProp(t.d)),this.data=t,this.elem=e,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)}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 e,t,n,r,i=this.shapes.length,o=this.stylesList.length,a=[],s=!1;for(n=0;n<o;n+=1){for(r=this.stylesList[n],s=!1,a.length=0,e=0;e<i;e+=1)-1!==(t=this.shapes[e]).styles.indexOf(r)&&(a.push(t),s=t._isAnimated||s);a.length>1&&s&&this.setShapesAsAnimated(a)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,n=e.length;for(t=0;t<n;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var n,r=new SVGStyleData(e,t),i=r.pElem;return"st"===e.ty?n=new SVGStrokeStyleData(this,e,r):"fl"===e.ty?n=new SVGFillStyleData(this,e,r):"gf"===e.ty||"gs"===e.ty?(n=new("gf"===e.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,e,r),this.globalData.defs.appendChild(n.gf),n.maskId&&(this.globalData.defs.appendChild(n.ms),this.globalData.defs.appendChild(n.of),i.setAttribute("mask","url("+getLocationHref()+"#"+n.maskId+")"))):"no"===e.ty&&(n=new SVGNoStyleData(this,e,r)),"st"!==e.ty&&"gs"!==e.ty||(i.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),i.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),i.setAttribute("fill-opacity","0"),1===e.lj&&i.setAttribute("stroke-miterlimit",e.ml)),2===e.r&&i.setAttribute("fill-rule","evenodd"),e.ln&&i.setAttribute("id",e.ln),e.cl&&i.setAttribute("class",e.cl),e.bm&&(i.style["mix-blend-mode"]=getBlendM
vendor: 35,095 bytes, line 2
2ode(e.bm)),this.stylesList.push(r),this.addToAnimatedContents(e,n),n},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var n=TransformPropertyFactory.getTransformProperty(this,e,this),r=new SVGTransformData(n,n.o,t);return this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.createShapeElement=function(e,t,n){var r=4;"rc"===e.ty?r=5:"el"===e.ty?r=6:"sr"===e.ty&&(r=7);var i=new SVGShapeData(t,n,ShapePropertyFactory.getShapeProp(this,e,r,this));return this.shapes.push(i),this.addShapeToModifiers(i),this.addToAnimatedContents(e,i),i},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var n=0,r=this.animatedContents.length;n<r;){if(this.animatedContents[n].element===t)return;n+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t,n=e.styles,r=this.stylesList.length;for(t=0;t<r;t+=1)-1!==n.indexOf(this.stylesList[t])||this.stylesList[t].closed||n.push(this.stylesList[t])},SVGShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,n,r,i,o,a){var s,c,l,u,f,d,h=[].concat(o),p=e.length-1,m=[],y=[];for(s=p;s>=0;s-=1){if((d=this.searchProcessedElement(e[s]))?t[s]=n[d-1]:e[s]._render=a,"fl"===e[s].ty||"st"===e[s].ty||"gf"===e[s].ty||"gs"===e[s].ty||"no"===e[s].ty)d?t[s].style.closed=e[s].hd:t[s]=this.createStyleElement(e[s],i),e[s]._render&&t[s].style.pElem.parentNode!==r&&r.appendChild(t[s].style.pElem),m.push(t[s].style);else if("gr"===e[s].ty){if(d)for(l=t[s].it.length,c=0;c<l;c+=1)t[s].prevViewData[c]=t[s].it[c];else t[s]=this.createGroupElement(e[s]);this.searchShapes(e[s].it,t[s].it,t[s].prevViewData,t[s].gr,i+1,h,a),e[s]._render&&t[s].gr.parentNode!==r&&r.appendChild(t[s].gr)}else"tr"===e[s].ty?(d||(t[s]=this.createTransformElement(e[s],r)),u=t[s].transform,h.push(u)):"sh"===e[s].ty||"rc"===e[s].ty||"el"===e[s].ty||"sr"===e[s].ty?(d||(t[s]=this.createShapeElement(e[s],h,i)),this.setElementStyles(t[s])):"tm"===e[s].ty||"rd"===e[s].ty||"ms"===e[s].ty||"pb"===e[s].ty||"zz"===e[s].ty||"op"===e[s].ty?(d?(f=t[s]).closed=!1:((f=ShapeModifiers.getModifier(e[s].ty)).init(this,e[s]),t[s]=f,this.shapeModifiers.push(f)),y.push(f)):"rp"===e[s].ty&&(d?(f=t[s]).closed=!0:(f=ShapeModifiers.getModifier(e[s].ty),t[s]=f,f.init(this,e,s,t),this.shapeModifiers.push(f),a=!1),y.push(f));this.addProcessedElement(e[s],s+1)}for(p=m.length,s=0;s<p;s+=1)m[s].closed=!0;for(p=y.length,s=0;s<p;s+=1)y[s].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var e;this.renderModifiers();var t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t,n=this.animatedContents.length;for(e=0;e<n;e+=1)t=this.animatedContents[e],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(e,t,n,r,i,o){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 a=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,a=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,a=!0),this.sc!==n&&(this.sc=n,this._mdf.sc=!0,a=!0),this.fc!==r&&(this.fc=r,this._mdf.fc=!0,a=!0),this.m!==i&&(this.m=i,this._mdf.m=!0,a=!0),!o.length||this.p[0]===o[0]&&this.p[1]===o[1]&&this.p[4]===o[4]&&this.p[5]===o[5]&&this.p[12]===o[12]&&this.p[13]===o[13]||(this.p=o,this._mdf.p=!0,a=!0),a},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,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(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||e){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,n=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var r;this.lock=!0,this._mdf=!1;var i=this.effectsSequence.length,o=e||this.data.d.k[this.keysIndex].s;for(r=0;r<i;r+=1)o=n!==this.keysIndex?this.effectsSequence[r](o,o.t):this.effectsSequence[r](this.currentData,o.t);t!==o&&this.setCurrentData(o),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,n=0,r=e.length;n<=r-1&&!(n===r-1||e[n+1].t>t);)n+=1;return this.keysIndex!==n&&(this.keysIndex=n),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t,n,r=[],i=0,o=e.length,a=!1,s=!1,c="";i<o;)a=s,s=!1,t=e.charCodeAt(i),c=e.charAt(i),FontManager.isCombinedCharacter(t)?a=!0:t>=55296&&t<=56319?FontManager.isRegionalFlag(e,i)?c=e.substr(i,14):(n=e.charCodeAt(i+1))>=56320&&n<=57343&&(FontManager.isModifier(t,n)?(c=e.substr(i,2),a=!0):c=FontManager.isFlagEmoji(e.substr(i,4))?e.substr(i,4):e.substr(i,2)):t>56319?(n=e.charCodeAt(i+1),FontManager.isVariationSelector(t)&&(a=!0)):FontManager.isZeroWidthJoiner(t)&&(a=!0,s=!0),a?(r[r.length-1]+=c,a=!1):r.push(c),i+=c.length;return r},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,n,r,i,o,a,s,c=this.elem.globalData.fontManager,l=this.data,u=[],f=0,d=l.m.g,h=0,p=0,m=0,y=[],g=0,v=0,b=c.getFontByName(e.f),w=0,x=getFontProperties(b);e.fWeight=x.weight,e.fStyle=x.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),n=e.finalText.length,e.finalLineHeight=e.lh;var S,k=e.tr/1e3*e.finalSize;if(e.sz)for(var E,_,C=!0,A=e.sz[0],T=e.sz[1];C;){E=0,g=0,n=(_=this.buildFinalText(e.t)).length,k=e.tr/1e3*e.finalSize;var P=-1;for(t=0;t<n;t+=1)S=_[t].charCodeAt(0),r=!1," "===_[t]?P=t:13!==S&&3!==S||(g=0,r=!0,E+=e.finalLineHeight||1.2*e.finalSize),c.chars?(s=c.getCharData(_[t],b.fStyle,b.fFamily),w=r?0:s.w*e.finalSize/100):w=c.measureText(_[t],e.f,e.finalSize),g+w>A&&" "!==_[t]?(-1===P?n+=1:t=P,E+=e.finalLineHeight||1.2*e.finalSize,_.splice(t,P===t?1:0,"\r"),P=-1,g=0):(g+=w,g+=k);E+=b.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&T<E?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=_,n=e.finalText.length,C=!1)}g=-k,w=0;var O,M=0;for(t=0;t<n;t+=1)if(r=!1,13===(S=(O=e.finalText[t]).charCodeAt(0))||3===S?(M=0,y.push(g),v=g>v?g:v,g=-2*k,i="",r=!0,m+=1):i=O,c.chars?(s=c.getCharData(O,b.fStyle,c.getFontByName(e.f).fFamily),w=r?0:s.w*e.finalSize/100):w=c.measureText(i,e.f,e.finalSize)," "===O?M+=w+k:(g+=w+k+M,M=0),u.push({l:w,an:w,add:h,n:r,anIndexes:[],val:i,line:m,animatorJustifyOffset:0}),2==d){if(h+=w,""===i||" "===i||t===n-1){for(""!==i&&" "!==i||(h-=w);p<=t;)u[p].an=h,u[p].ind=f,u[p].extra=w,p+=1;f+=1,h=0}}else if(3==d){if(h+=w,""===i||t===n-1){for(""===i&&(h-=w);p<=t;)u[p].an=h,u[p].ind=f,u[p].extra=w,p+=1;h=0,f+=1}}else u[f].ind=f,u[f].extra=0,f+=1;if(e.l=u,v=g>v?g:v,y.push(g),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=v,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=y;var I,R,D,N,j=l.a;a=j.length;var F=[];for(o=0;o<a;o+=1){for((I=j[o]).a.sc&&(e.strokeColorAnim=!0),I.a.sw&&(e.strokeWidthAnim=!0),(I.a.fc||I.a.fh||I.a.fs||I.a.fb)&&(e.fillColorAnim=!0),N=0,D=I.s.b,t=0;t<n;t+=1)(R=u[t]).anIndexes[o]=N,(1==D&&""!==R.val||2==D&&""!==R.val&&" "!==R.val||3==D&&(R.n||" "==R.val||t==n-1)||4==D&&(R.n||t==n-1))&&(1===I.s.rn&&F.push(N),N+=1);l.a[o].s.totalChars=N;var L,B=-1;if(1===I.s.rn)for(t=0;t<n;t+=1)B!=(R=u[t]).anIndexes[o]&&(B=R.anIndexes[o],L=F.splice(Math.floor(Math.random()*F.length),1)[0]),R.anIndexes[o]=L}e.yOffset=e.finalLineHeight||1.2*e.finalSize,e.ls=e.ls||0,e.ascent=b.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=void 0===t?this.keysIndex:t;var n=this.copyData({},this.data.d.k[t].s);n=this.copyData(n,e),this.data.d.k[t].s=n,this.recalculate(t),this.setCurrentData(n),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,n=Math.floor;function r(e,t){this._currentTextLength=-1,this.k=!1,this.data=t,this.elem=e,this.comp=e.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(e),this.s=PropertyFactory.getProp(e,t.s||{k:0},0,0,this),this.e="e"in t?PropertyFactory.getProp(e,t.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(e,t.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(e,t.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(e,t.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(e,t.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(e,t.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return r.prototype={getMult:function(r){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var i=0,o=0,a=1,s=1;this.ne.v>0?i=this.ne.v/100:o=-this.ne.v/100,this.xe.v>0?a=1-this.xe.v/100:s=1+this.xe.v/100;var c=BezierFactory.getBezierEasing(i,o,a,s).get,l=0,u=this.finalS,f=this.finalE,d=this.data.sh;if(2===d)l=c(l=f===u?r>=f?1:0:e(0,t(.5/(f-u)+(r-u)/(f-u),1)));else if(3===d)l=c(l=f===u?r>=f?0:1:1-e(0,t(.5/(f-u)+(r-u)/(f-u),1)));else if(4===d)f===u?l=0:(l=e(0,t(.5/(f-u)+(r-u)/(f-u),1)))<.5?l*=2:l=1-2*(l-.5),l=c(l);else if(5===d){if(f===u)l=0;else{var h=f-u,p=-h/2+(r=t(e(0,r+.5-u),f-u)),m=h/2;l=Math.sqrt(1-p*p/(m*m))}l=c(l)}else 6===d?(f===u?l=0:(r=t(e(0,r+.5-u),f-u),l=(1+Math.cos(Math.PI+2*Math.PI*r/(f-u)))/2),l=c(l)):(r>=n(u)&&(l=e(0,t(r-u<0?t(f,1)-(u-r):f-r,1))),l=c(l));if(100!==this.sm.v){var y=.01*this.sm.v;0===y&&(y=1e-8);var g=.5-.5*y;l<g?l=0:(l=(l-g)/y)>1&&(l=1)}return l*this.a.v},getValue:function(e){this.iterateDynamicProperties(),this._mdf=e||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,e&&2===this.data.r&&(this.e.v=this._currentTextLength);var t=2===this.data.r?1:100/this.data.totalChars,n=this.o.v/t,r=this.s.v/t+n,i=this.e.v/t+n;if(r>i){var o=r;r=i,i=o}this.finalS=r,this.finalE=i}},extendPrototype([DynamicPropertyContainer],r),{getTextSelectorProp:function(e,t,n){return new r(e,t,n)}}}();function TextAnimatorDataProperty(e,t,n){var r={propType:!1},i=PropertyFactory.getProp,o=t.a;this.a={r:o.r?i(e,o.r,0,degToRads,n):r,rx:o.rx?i(e,o.rx,0,degToRads,n):r,ry:o.ry?i(e,o.ry,0,degToRads,n):r,sk:o.sk?i(e,o.sk,0,degToRads,n):r,sa:o.sa?i(e,o.sa,0,degToRads,n):r,s:o.s?i(e,o.s,1,.01,n):r,a:o.a?i(e,o.a,1,0,n):r,o:o.o?i(e,o.o,0,.01,n):r,p:o.p?i(e,o.p,1,0,n):r,sw:o.sw?i(e,o.sw,0,0,n):r,sc:o.sc?i(e,o.sc,1,0,n):r,fc:o.fc?i(e,o.fc,1,0,n):r,fh:o.fh?i(e,o.fh,0,0,n):r,fs:o.fs?i(e,o.fs,0,.01,n):r,fb:o.fb?i(e,o.fb,0,.01,n):r,t:o.t?i(e,o.t,0,0,n):r},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,n),this.s.t=t.s.t}function TextAnimatorProperty(e,t,n){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=n,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(n)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,n=this._textData.a.length,r=PropertyFactory.getProp;for(e=0;e<n;e+=1)t=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,t,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:r(this._elem,this._textData.p.a,0,0,this),f:r(this._elem,this._textData.p.f,0,0,this),l:r(this._elem,this._textData.p.l,0,0,this),r:r(this._elem,this._textData.p.r,0,0,this),p:r(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=r(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,this._mdf||this._isFirstFrame||t||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var n,r,i,o,a,s,c,l,u,f,d,h,p,m,y,g,v,b,w,x=this._moreOptions.alignment.v,S=this._animatorsData,k=this._textData,E=this.mHelper,_=this._renderType,C=this.renderedLetters.length,A=e.l;if(this._hasMaskedPath){if(w=this._pathData.m,!this._pathData.n||this._pathData._mdf){var T,P=w.v;for(this._pathData.r.v&&(P=P.reverse()),a={tLength:0,segments:[]},o=P._length-1,g=0,i=0;i<o;i+=1)T=bez.buildBezierData(P.v[i],P.v[i+1],[P.o[i][0]-P.v[i][0],P.o[i][1]-P.v[i][1]],[P.i[i+1][0]-P.v[i+1][0],P.i[i+1][1]-P.v[i+1][1]]),a.tLength+=T.segmentLength,a.segments.push(T),g+=T.segmentLength;i=o,w.v.c&&(T=bez.buildBezierData(P.v[i],P.v[0],[P.o[i][0]-P.v[i][0],P.o[i][1]-P.v[i][1]],[P.i[0][0]-P.v[0][0],P.i[0][1]-P.v[0][1]]),a.tLength+=T.segmentLength,a.segments.push(T),g+=T.segmentLength),this._pathData.pi=a}if(a=this._pathData.pi,s=this._pathData.f.v,d=0,f=1,l=0,u=!0,m=a.segments,s<0&&w.v.c)for(a.tLength<Math.abs(s)&&(s=-Math.abs(s)%a.tLength),f=(p=m[d=m.length-1].points).length-1;s<0;)s+=p[f].partialLength,(f-=1)<0&&(f=(p=m[d-=1].points).length-1);h=(p=m[d].points)[f-1],y=(c=p[f]).partialLength}o=A.length,n=0,r=0;var O,M,I,R,D,N=1.2*e.finalSize*.714,j=!0;I=S.length;var F,L,B,z,V,U,$,H,q,W,G,K,Q=-1,J=s,X=d,Y=f,Z=-1,ee="",te=this.defaultPropsArray;if(2===e.j||1===e.j){var ne=0,re=0,ie=2===e.j?-.5:-1,oe=0,ae=!0;for(i=0;i<o;i+=1)if(A[i].n){for(ne&&(ne+=re);oe<i;)A[oe].animatorJustifyOffset=ne,oe+=1;ne=0,ae=!0}else{for(M=0;M<I;M+=1)(O=S[M].a).t.propType&&(ae&&2===e.j&&(re+=O.t.v*ie),(D=S[M].s.getMult(A[i].anIndexes[M],k.a[M].s.totalChars)).length?ne+=O.t.v*D[0]*ie:ne+=O.t.v*D*ie);ae=!1}for(ne&&(ne+=re);oe<i;)A[oe].animatorJustifyOffset=ne,oe+=1}for(i=0;i<o;i+=1){if(E.reset(),z=1,A[i].n)n=0,r+=e.yOffset,r+=j?1:0,s=J,j=!1,this._hasMaskedPath&&(f=Y,h=(p=m[d=X].points)[f-1],y=(c=p[f]).partialLength,l=0),ee="",G="",q="",K="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Z!==A[i].line){switch(e.j){case 1:s+=g-e.lineWidths[A[i].line];break;case 2:s+=(g-e.lineWidths[A[i].line])/2}Z=A[i].line}Q!==A[i].ind&&(A[Q]&&(s+=A[Q].extra),s+=A[i].an/2,Q=A[i].ind),s+=x[0]*A[i].an*.005;var se=0;for(M=0;M<I;M+=1)(O=S[M].a).p.propType&&((D=S[M].s.getMult(A[i].anIndexes[M],k.a[M].s.totalChars)).length?se+=O.p.v[0]*D[0]:se+=O.p.v[0]*D),O.a.propType&&((D=S[M].s.getMult(A[i].anIndexes[M],k.a[M].s.totalChars)).length?se+=O.a.v[0]*D[0]:se+=O.a.v[0]*D);for(u=!0,this._pathData.a.v&&(s=.5*A[0].an+(g-this._pathData.f.v-.5*A[0].an-.5*A[A.length-1].an)*Q/(o-1),s+=this._pathData.f.v);u;)l+y>=s+se||!p?(v=(s+se-l)/c.partialLength,L=h.point[0]+(c.point[0]-h.point[0])*v,B=h.point[1]+(c.point[1]-h.point[1])*v,E.translate(-x[0]*A[i].an*.005,-x[1]*N*.01),u=!1):p&&(l+=c.partialLength,(f+=1)>=p.length&&(f=0,m[d+=1]?p=m[d].points:w.v.c?(f=0,p=m[d=0].points):(l-=c.partialLength,p=null)),p&&(h=c,y=(c=p[f]).partialLength));F=A[i].an/2-A[i].add,E.translate(-F,0,0)}else F=A[i].an/2-A[i].add,E.translate(-F,0,0),E.translate(-x[0]*A[i].an*.005,-x[1]*N*.01,0);for(M=0;M<I;M+=1)(O=S[M].a).t.propType&&(D=S[M].s.getMult(A[i].anIndexes[M],k.a[M].s.totalChars),0===n&&0===e.j||(this._hasMaskedPath?D.length?s+=O.t.v*D[0]:s+=O.t.v*D:D.length?n+=O.t.v*D[0]:n+=O.t.v*D));for(e.strokeWidthAnim&&(U=e.sw||0),e.strokeColorAnim&&(V=e.sc?[e.sc[0],e.sc[1],e.sc[2]]:[0,0,0]),e.fillColorAnim&&e.fc&&($=[e.fc[0],e.fc[1],e.fc[2]]),M=0;M<I;M+=1)(O=S[M].a).a.propType&&((D=S[M].s.getMult(A[i].anIndexes[M],k.a[M].s.totalChars)).length?E.translate(-O.a.v[0]*D[0],-O.a.v[1]*D[1],O.a.v[2]*D[2]):E.translate(-O.a.v[0]*D,-O.a.v[1]*D,O.a.v[2]*D));for(M=0;M<I;M+=1)(O=S[M].a).s.propType&&((D=S[M].s.getMult(A[i].anIndexes[M],k.a[M].s.totalChars)).length?E.scale(1+(O.s.v[0]-1)*D[0],1+(O.s.v[1]-1)*D[1],1):E.scale(1+(O.s.v[0]-1)*D,1+(O.s.v[1]-1)*D,1));for(M=0;M<I;M+=1){if(O=S[M].a,D=S[M].s.getMult(A[i].anIndexes[M],k.a[M].s.totalChars),O.sk.propType&&(D.length?E.skewFromAxis(-O.sk.v*D[0],O.sa.v*D[1]):E.skewFromAxis(-O.sk.v*D,O.sa.v*D)),O.r.propType&&(D.length?E.rotateZ(-O.r.v*D[2]):E.rotateZ(-O.r.v*D)),O.ry.propType&&(D.length?E.rotateY(O.ry.v*D[1]):E.rotateY(O.ry.v*D)),O.rx.propType&&(D.length?E.rotateX(O.rx.v*D[0]):E.rotateX(O.rx.v*D)),O.o.propType&&(D.length?z+=(O.o.v*D[0]-z)*D[0]:z+=(O.o.v*D-z)*D),e.strokeWidthAnim&&O.sw.propType&&(D.length?U+=O.sw.v*D[0]:U+=O.sw.v*D),e.strokeColorAnim&&O.sc.propType)for(H=0;H<3;H+=1)D.length?V[H]+=(O.sc.v[H]-V[H])*D[0]:V[H]+=(O.sc.v[H]-V[H])*D;if(e.fillColorAnim&&e.fc){if(O.fc.propType)for(H=0;H<3;H+=1)D.length?$[H]+=(O.fc.v[H]-$[H])*D[0]:$[H]+=(O.fc.v[H]-$[H])*D;O.fh.propType&&($=D.length?addHueToRGB($,O.fh.v*D[0]):addHueToRGB($,O.fh.v*D)),O.fs.propType&&($=D.length?addSaturationToRGB($,O.fs.v*D[0]):addSaturationToRGB($,O.fs.v*D)),O.fb.propType&&($=D.length?addBrightnessToRGB($,O.fb.v*D[0]):addBrightnessToRGB($,O.fb.v*D))}}for(M=0;M<I;M+=1)(O=S[M].a).p.propType&&(D=S[M].s.getMult(A[i].anIndexes[M],k.a[M].s.totalChars),this._hasMaskedPath?D.length?E.translate(0,O.p.v[1]*D[0],-O.p.v[2]*D[1]):E.translate(0,O.p.v[1]*D,-O.p.v[2]*D):D.length?E.translate(O.p.v[0]*D[0],O.p.v[1]*D[1],-O.p.v[2]*D[2]):E.translate(O.p.v[0]*D,O.p.v[1]*D,-O.p.v[2]*D));if(e.strokeWidthAnim&&(q=U<0?0:U),e.strokeColorAnim&&(W="rgb("+Math.round(255*V[0])+","+Math.round(255*V[1])+","+Math.round(255*V[2])+")"),e.fillColorAnim&&e.fc&&(G="rgb("+Math.round(255*$[0])+","+Math.round(255*$[1])+","+Math.round(255*$[2])+")"),this._hasMaskedPath){if(E.translate(0,-e.ls),E.translate(0,x[1]*N*.01+r,0),this._pathData.p.v){b=(c.point[1]-h.point[1])/(c.point[0]-h.point[0]);var ce=180*Math.atan(b)/Math.PI;c.point[0]<h.point[0]&&(ce+=180),E.rotate(-ce*Math.PI/180)}E.translate(L,B,0),s-=x[0]*A[i].an*.005,A[i+1]&&Q!==A[i+1].ind&&(s+=A[i].an/2,s+=.001*e.tr*e.finalSize)}else{switch(E.translate(n,r,0),e.ps&&E.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:E.translate(A[i].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[A[i].line]),0,0);break;case 2:E.translate(A[i].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[A[i].line])/2,0,0)}E.translate(0,-e.ls),E.translate(F,0,0),E.translate(x[0]*A[i].an*.005,x[1]*N*.01,0),n+=A[i].l+.001*e.tr*e.finalSize}"html"===_?ee=E.toCSS():"svg"===_?ee=E.to2dCSS():te=[E.props[0],E.props[1],E.props[2],E.props[3],E.props[4],E.props[5],E.props[6],E.props[7],E.props[8],E.props[9],E.props[10],E.props[11],E.props[12],E.props[13],E.props[14],E.props[15]],K=z}C<=i?(R=new LetterProps(K,q,W,G,ee,te),this.renderedLetters.push(R),C+=1,this.lettersChangedFlag=!0):(R=this.renderedLetters[i],this.lettersChangedFlag=R.update(K,q,W,G,ee,te)||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),ITextElement.prototype.initElement=function(e,t,n){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,n),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},ITextElement.prototype.createPathShape=function(e,t){var n,r,i=t.length,o="";for(n=0;n<i;n+=1)"sh"===t[n].ty&&(r=t[n].ks.k,o+=buildShapeString(r,r.i.length,!0,e));return o},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,n,r,i){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[n]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[n])/2,0,0)}t.translate(r,i,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(255*e[0])+","+Math.round(255*e[1])+","+Math.round(255*e[2])+")"},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(e,t,n){this.textSpans=[],this.renderType="svg",this.initElement(e,t,n)}function ISolidElement(e,t,n){this.initElement(e,t,n)}function NullElement(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initFrame(),this.initTransform(e,t,n),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(e,t,n){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,n),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var n="";if(t&&t.title){var r=createNS("title"),i=createElementID();r.setAttribute("id",i),r.textContent=t.title,this.svgElement.appendChild(r),n+=i}if(t&&t.description){var o=createNS("desc"),a=createElementID();o.setAttribute("id",a),o.textContent=t.description,this.svgElement.appendChild(o),n+=" "+a}n&&this.svgElement.setAttribute("aria-labelledby",n);var s=createNS("defs");this.svgElement.appendChild(s);var c=createNS("g");this.svgElement.appendChild(c),this.layerElement=c,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&!1===t.hideOnTransparent),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"},width:t&&t.width,height:t&&t.height,runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:s,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}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(e){for(var t=0,n=e.length,r=[],i="";t<n;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(r.push(i),i=""):i+=e[t],t+=1;return r.push(i),r},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var n=e.shapes[0];if(n.it){var r=n.it[n.it.length-1];r.s&&(r.s.k[0]=t,r.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){var e,t;this.addDynamicProperty(this);var n=this.textProperty.currentData;this.renderedLetters=createSizedArray(n?n.l.length:0),n.fc?this.layerElement.setAttribute("fill",this.buildColor(n.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),n.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(n.sc)),this.layerElement.setAttribute("stroke-width",n.sw)),this.layerElement.setAttribute("font-size",n.finalSize);var r=this.globalData.fontManager.getFontByName(n.f);if(r.fClass)this.layerElement.setAttribute("class",r.fClass);else{this.layerElement.setAttribute("font-family",r.fFamily);var i=n.fWeight,o=n.fStyle;this.layerElement.setAttribute("font-style",o),this.layerElement.setAttribute("font-weight",i)}this.layerElement.setAttribute("aria-label",n.t);var a,s=n.l||[],c=!!this.globalData.fontManager.chars;t=s.length;var l=this.mHelper,u=this.data.singleShape,f=0,d=0,h=!0,p=.001*n.tr*n.finalSize;if(!u||c||n.sz){var m,y=this.textSpans.length;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!c||!u||0===e){if(a=y>e?this.textSpans[e].span:createNS(c?"g":"text"),y<=e){if(a.setAttribute("stroke-linecap","butt"),a.setAttribute("stroke-linejoin","round"),a.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=a,c){var g=createNS("g");a.appendChild(g),this.textSpans[e].childSpan=g}this.textSpans[e].span=a,this.layerElement.appendChild(a)}a.style.display="inherit"}if(l.reset(),u&&(s[e].n&&(f=-p,d+=n.yOffset,d+=h?1:0,h=!1),this.applyTextPropertiesToMatrix(n,l,s[e].line,f,d),f+=s[e].l||0,f+=p),c){var v;if(1===(m=this.globalData.fontManager.getCharData(n.finalText[e],r.fStyle,this.globalData.fontManager.getFontByName(n.f).fFamily)).t)v=new SVGCompElement(m.data,this.globalData,this);else{var b=emptyShapeData;m.data&&m.data.shapes&&(b=this.buildShapeData(m.data,n.finalSize)),v=new SVGShapeElement(b,this.globalData,this)}if(this.textSpans[e].glyph){var w=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(w.layerElement),w.destroy()}this.textSpans[e].glyph=v,v._debug=!0,v.prepareFrame(0),v.renderFrame(),this.textSpans[e].childSpan.appendChild(v.layerElement),1===m.t&&this.textSpans[e].childSpan.setAttribute("transform","scale("+n.finalSize/100+","+n.finalSize/100+")")}else u&&a.setAttribute("transform","translate("+l.props[12]+","+l.props[13]+")"),a.textContent=s[e].val,a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}u&&a&&a.setAttribute("d","")}else{var x=this.textContainer,S="start";switch(n.j){case 1:S="end";break;case 2:S="middle";break;default:S="start"}x.setAttribute("text-anchor",S),x.setAttribute("letter-spacing",p);var k=this.buildTextContents(n.finalText);for(t=k.length,d=n.ps?n.ps[1]+n.ascent:0,e=0;e<t;e+=1)(a=this.textSpans[e].span||createNS("tspan")).textContent=k[e],a.setAttribute("x",0),a.setAttribute("y",d),a.style.display="inherit",x.appendChild(a),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=a,d+=n.finalLineHeight;this.layerElement.appendChild(x)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=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 e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,t,n=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<n;e+=1)(t=this.textSpans[e].glyph)&&(t.prepareFrame(this.comp.renderedFrame-this.data.st),t._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)){var e,t;this._sizeChanged=!0;var n,r,i,o=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(t=a.length,e=0;e<t;e+=1)a[e].n||(n=o[e],r=this.textSpans[e].span,(i=this.textSpans[e].glyph)&&i.renderFrame(),n._mdf.m&&r.setAttribute("transform",n.m),n._mdf.o&&r.setAttribute("opacity",n.o),n._mdf.sw&&r.setAttribute("stroke-width",n.sw),n._mdf.sc&&r.setAttribute("stroke",n.sc),n._mdf.fc&&r.setAttribute("fill",n.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)},NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!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),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){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 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,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),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var n=createNS("clipPath"),r=createNS("rect");r.setAttribute("width",e.w),r.setAttribute("height",e.h),r.setAttribute("x",0),r.setAttribute("y",0);var i=createElementID();n.setAttribute("id",i),n.appendChild(r),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),t.appendChild(n),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(e){var t=0,n=this.layers.length;for(t=0;t<n;t+=1)if(this.layers[t].ind===e)return t;return-1},SVGRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){t[e]=!0;var n=this.createItem(this.layers[e]);if(t[e]=n,getExpressionsPlugin()&&(0===this.layers[e].ty&&this.globalData.projectInterface.registerComposition(n),n.initExpressions()),this.appendElementInPos(n,e),this.layers[e].tt){var r="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(-1===r)return;if(this.elements[r]&&!0!==this.elements[r]){var i=t[r].getMatte(this.layers[e].tt);n.setMatte(i)}else this.buildItem(r),this.addPendingElement(n)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,n=this.elements.length;t<n;){if(this.elements[t]===e){var r="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,i=this.elements[r].getMatte(this.layers[t].tt);e.setMatte(i);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(this.renderedFrame!==e&&!this.destroyed){var t;null===e?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var n=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=n-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<n;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var n=e.getBaseElement();if(n){for(var r,i=0;i<t;)this.elements[i]&&!0!==this.elements[i]&&this.elements[i].getBaseElement()&&
vendor: 6,379 bytes, line 2
2(r=this.elements[i].getBaseElement()),i+=1;r?this.layerElement.insertBefore(n,r):this.layerElement.appendChild(n)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initTransform(e,t,n),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&t.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var n,r=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&(this.elements[n].prepareFrame(this.renderedFrame-this.layers[n].st),this.elements[n]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},ShapeTransformManager.prototype={addTransformSequence:function(e){var t,n=e.length,r="_";for(t=0;t<n;t+=1)r+=e[t].transform.key+"_";var i=this.sequences[r];return i||(i={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[r]=i,this.sequenceList.push(i)),i},processSequence:function(e,t){for(var n=0,r=e.transforms.length,i=t;n<r&&!t;){if(e.transforms[n].transform.mProps._mdf){i=!0;break}n+=1}if(i)for(e.finalTransform.reset(),n=r-1;n>=0;n-=1)e.finalTransform.multiply(e.transforms[n].transform.mProps.v);e._mdf=i},processSequences:function(e){var t,n=this.sequenceList.length;for(t=0;t<n;t+=1)this.processSequence(this.sequenceList[t],e)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var e="__lottie_element_luma_buffer",t=null,n=null,r=null;function i(){var i,o,a;t||(i=createNS("svg"),o=createNS("filter"),a=createNS("feColorMatrix"),o.setAttribute("id",e),a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.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"),o.appendChild(a),i.appendChild(o),i.setAttribute("id",e+"_svg"),featureSupport.svgLumaHidden&&(i.style.display="none"),r=i,document.body.appendChild(r),t=createTag("canvas"),(n=t.getContext("2d")).filter="url(#"+e+")",n.fillStyle="rgba(0,0,0,0)",n.fillRect(0,0,1,1))}return{load:i,get:function(r){return t||i(),t.width=r.width,t.height=r.height,n.filter="url(#"+e+")",t}}};function createCanvas(e,t){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(e,t);var n=createTag("canvas");return n.width=e,n.height=t,n}var assetLoader={loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas},registeredEffects={};function CVEffects(e){var t,n,r=e.data.ef?e.data.ef.length:0;for(this.filters=[],t=0;t<r;t+=1){n=null;var i=e.data.ef[t].ty;registeredEffects[i]&&(n=new(0,registeredEffects[i].effect)(e.effectsManager.effectElements[t],e)),n&&this.filters.push(n)}this.filters.length&&e.addRenderableComponent(this)}function registerEffect(e,t){registeredEffects[e]={effect:t}}function CVMaskElement(e,t){var n;this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r=this.masksProperties.length,i=!1;for(n=0;n<r;n+=1)"n"!==this.masksProperties[n].mode&&(i=!0),this.viewData[n]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[n],3);this.hasMasks=i,i&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(e){var t,n=this.filters.length;for(t=0;t<n;t+=1)this.filters[t].renderFrame(e)},CVEffects.prototype.getEffects=function(e){var t,n=this.filters.length,r=[];for(t=0;t<n;t+=1)this.filters[t].type===e&&r.push(this.filters[t]);return r},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e,t,n,r,i=this.element.finalTransform.mat,o=this.element.canvasContext,a=this.masksProperties.length;for(o.beginPath(),e=0;e<a;e+=1)if("n"!==this.masksProperties[e].mode){var s;this.masksProperties[e].inv&&(o.moveTo(0,0),o.lineTo(this.element.globalData.compSize.w,0),o.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),o.lineTo(0,this.element.globalData.compSize.h),o.lineTo(0,0)),r=this.viewData[e].v,t=i.applyToPointArray(r.v[0][0],r.v[0][1],0),o.moveTo(t[0],t[1]);var c=r._length;for(s=1;s<c;s+=1)n=i.applyToTriplePoints(r.o[s-1],r.i[s],r.v[s]),o.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);n=i.applyToTriplePoints(r.o[s-1],r.i[0],r.v[0]),o.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5])}this.element.globalData.renderer.save(!0),o.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};function CVShapeData(e,t,n,r){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var i,o=4;"rc"===t.ty?o=5:"el"===t.ty?o=6:"sr"===t.ty&&(o=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,o,e);var a,s=n.length;for(i=0;i<s;i+=1)n[i].closed||(a={transforms:r.addTransformSequence(n[i].transforms),trNodes:[]},this.styledShapes.push(a),n[i
vendor: 4,468 bytes, line 2
2].elements.push(a))}function CVShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,n)}function CVTextElement(e,t,n){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(e,t,n)}function CVImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,n)}function CVSolidElement(e,t,n){this.initElement(e,t,n)}function CanvasRendererBase(){}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(){var e;for(this.stack=[],this.cArrPos=0,this.cTr=new Matrix,e=0;e<15;e+=1){var t=new CanvasContext;this.stack[e]=t}this._length=15,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=""}function CVCompElement(e,t,n){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,n),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||"",runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.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))}function HBaseElement(){}function HSolidElement(e,t,n){this.initElement(e,t,n)}function HShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,n),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(e,t,n){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,n)}function HCameraElement(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initHierarchy();var r=PropertyFactory.getProp;if(this.pe=r(this,e.pe,0,0,this),e.ks.p.s?(this.px=r(this,e.ks.p.x,1,0,this),this.py=r(this,e.ks.p.y,1,0,this),this.pz=r(this,e.ks.p.z,1,0,this)):this.p=r(this,e.ks.p,1,0,this),e.ks.a&&(this.a=r(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var
2i,o=e.ks.or.k.length;for(i=0;i<o;i+=1)e.ks.or.k[i].to=null,e.ks.or.k[i
vendor: 7,056 bytes, line 2
2].ti=null}this.or=r(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=r(this,e.ks.rx,0,degToRads,this),this.ry=r(this,e.ks.ry,0,degToRads,this),this.rz=r(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,n)}function HybridRendererBase(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&!1===t.hideOnTransparent),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.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"}function HCompElement(e,t,n){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,n),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&!1===t.hideOnTransparent),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"},runExpressions:!t||void 0===t.runExpressions||t.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"}CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var e=this.globalData.canvasContext,t=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(t);var n=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(n),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 e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var t=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=t}},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(e){e.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 e=this.buffers[0].getContext("2d");this.clearCanvas(e),e.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 e=this.buffers[1],t=e.getContext("2d");if(this.clearCanvas(t),t.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform),this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1).renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var n=assetLoader.getLumaCanvas(this.canvasContext.canvas);n.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(n,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(e,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(e){if(!this.hidden&&!this.data.hd&&(1!==this.data.td||e)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var t=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(t),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,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,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(e,t){var n={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:!0===e.hd},r={};if("fl"===e.ty||"st"===e.ty?(r.c=PropertyFactory.getProp(this,e.c,1,255,this),r.c.k||(n.co="rgb("+bmFloor(r.c.v[0])+","+bmFloor(r.c.v[1])+","+bmFloor(r.c.v[2])+")")):"gf"!==e.ty&&"gs"!==e.ty||(r.s=PropertyFactory.getProp(this,e.s,1,null,this),r.e=PropertyFactory.getProp(this,e.e,1,null,this),r.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),r.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),r.g=new GradientProperty(this,e.g,this)),r.o=PropertyFactory.getProp(this,e.o,0,.01,this),"st"===e.ty||"gs"===e.ty){if(n.lc=lineCapEnum[e.lc||2],n.lj=lineJoinEnum[e.lj||2],1==e.lj&&(n.ml=e.ml),r.w=PropertyFactory.getProp(this,e.w,0,null,this),r.w.k||(n.wi=r.w.v),e.d){var
vendor: 16,773 bytes, line 2
2i=new DashProperty(this,e.d,"canvas",this);r.d=i,r.d.k||(n.da=r.d.dashArray,n.do=r.d.dashoffset[0])}}else n.r=2===e.r?"evenodd":"nonzero";return this.stylesList.push(n),r.style=n,r},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(e){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}}},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,n=this.stylesList.length;for(t=0;t<n;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,n=e.length;for(t=0;t<n;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,n,r,i){var o,a,s,c,l,u,f=e.length-1,d=[],h=[],p=[].concat(i);for(o=f;o>=0;o-=1){if((c=this.searchProcessedElement(e[o]))?t[o]=n[c-1]:e[o]._shouldRender=r,"fl"===e[o].ty||"st"===e[o].ty||"gf"===e[o].ty||"gs"===e[o].ty)c?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],p),d.push(t[o].style);else if("gr"===e[o].ty){if(c)for(s=t[o].it.length,a=0;a<s;a+=1)t[o].prevViewData[a]=t[o].it[a];else t[o]=this.createGroupElement(e[o]);this.searchShapes(e[o].it,t[o].it,t[o].prevViewData,r,p)}else"tr"===e[o].ty?(c||(u=this.createTransformElement(e[o]),t[o]=u),p.push(t[o]),this.addTransformToStyleList(t[o])):"sh"===e[o].ty||"rc"===e[o].ty||"el"===e[o].ty||"sr"===e[o].ty?c||(t[o]=this.createShapeElement(e[o])):"tm"===e[o].ty||"rd"===e[o].ty||"pb"===e[o].ty||"zz"===e[o].ty||"op"===e[o].ty?(c?(l=t[o]).closed=!1:((l=ShapeModifiers.getModifier(e[o].ty)).init(this,e[o]),t[o]=l,this.shapeModifiers.push(l)),h.push(l)):"rp"===e[o].ty&&(c?(l=t[o]).closed=!0:(l=ShapeModifiers.getModifier(e[o].ty),t[o]=l,l.init(this,e,o,t),this.shapeModifiers.push(l),r=!1),h.push(l));this.addProcessedElement(e[o],o+1)}for(this.removeTransformFromStyleList(),this.closeStyles(d),f=h.length,o=0;o<f;o+=1)h[o].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(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t,n,r,i,o,a,s,c,l=this.stylesList.length,u=this.globalData.renderer,f=this.globalData.canvasContext;for(e=0;e<l;e+=1)if(("st"!==(s=(c=this.stylesList[e]).type)&&"gs"!==s||0!==c.wi)&&c.data._shouldRender&&0!==c.coOp&&0!==this.globalData.currentGlobalAlpha){for(u.save(),o=c.elements,"st"===s||"gs"===s?(u.ctxStrokeStyle("st"===s?c.co:c.grd),u.ctxLineWidth(c.wi),u.ctxLineCap(c.lc),u.ctxLineJoin(c.lj),u.ctxMiterLimit(c.ml||0)):u.ctxFillStyle("fl"===s?c.co:c.grd),u.ctxOpacity(c.coOp),"st"!==s&&"gs"!==s&&f.beginPath(),u.ctxTransform(c.preTransforms.finalTransform.props),n=o.length,t=0;t<n;t+=1){for("st"!==s&&"gs"!==s||(f.beginPath(),c.da&&(f.setLineDash(c.da),f.lineDashOffset=c.do)),i=(a=o[t].trNodes).length,r=0;r<i;r+=1)"m"===a[r].t?f.moveTo(a[r].p[0],a[r].p[1]):"c"===a[r].t?f.bezierCurveTo(a[r].pts[0],a[r].pts[1],a[r].pts[2],a[r].pts[3],a[r].pts[4],a[r].pts[5]):f.closePath();"st"!==s&&"gs"!==s||(u.ctxStroke(),c.da&&f.setLineDash(this.dashResetter))}"st"!==s&&"gs"!==s&&this.globalData.renderer.ctxFill(c.r),u.restore()}},CVShapeElement.prototype.renderShape=function(e,t,n,r){var i,o;for(o=e,i=t.length-1;i>=0;i-=1)"tr"===t[i].ty?(o=n[i].transform,this.renderShapeTransform(e,o)):"sh"===t[i].ty||"el"===t[i].ty||"rc"===t[i].ty||"sr"===t[i].ty?this.renderPath(t[i],n[i]):"fl"===t[i].ty?this.renderFill(t[i],n[i],o):"st"===t[i].ty?this.renderStroke(t[i],n[i],o):"gf"===t[i].ty||"gs"===t[i].ty?this.renderGradientFill(t[i],n[i],o):"gr"===t[i].ty?this.renderShape(o,t[i].it,n[i].it):t[i].ty;r&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var n,r,i,o=e.trNodes,a=t.paths,s=a._length;o.length=0;var c=e.transforms.finalTransform;for(i=0;i<s;i+=1){var l=a.shapes[i];if(l&&l.v){for(r=l._length,n=1;n<r;n+=1)1===n&&o.push({t:"m",p:c.applyToPointArray(l.v[0][0],l.v[0][1],0)}),o.push({t:"c",pts:c.applyToTriplePoints(l.o[n-1],l.i[n],l.v[n])});1===r&&o.push({t:"m",p:c.applyToPointArray(l.v[0][0],l.v[0][1],0)}),l.c&&r&&(o.push({t:"c",pts:c.applyToTriplePoints(l.o[n-1],l.i[0],l.v[0])}),o.push({t:"z"}))}}e.trNodes=o}},CVShapeElement.prototype.renderPath=function(e,t){if(!0!==e.hd&&e._shouldRender){var n,r=t.styledShapes.length;for(n=0;n<r;n+=1)this.renderStyledShape(t.styledShapes[n],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,n){var r=t.style;(t.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n._opMdf||this._isFirstFrame)&&(r.coOp=t.o.v*n.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,n){var r,i=t.style;if(!i.grd||t.g._mdf||t.s._mdf||t.e._mdf||1!==e.t&&(t.h._mdf||t.a._mdf)){var o,a=this.globalData.canvasContext,s=t.s.v,c=t.e.v;if(1===e.t)r=a.createLinearGradient(s[0],s[1],c[0],c[1]);else{var l=Math.sqrt(Math.pow(s[0]-c[0],2)+Math.pow(s[1]-c[1],2)),u=Math.atan2(c[1]-s[1],c[0]-s[0]),f=t.h.v;f>=1?f=.99:f<=-1&&(f=-.99);var d=l*f,h=Math.cos(u+t.a.v)*d+s[0],p=Math.sin(u+t.a.v)*d+s[1];r=a.createRadialGradient(h,p,0,s[0],s[1],l)}var m=e.g.p,y=t.g.c,g=1;for(o=0;o<m;o+=1)t.g._hasOpacity&&t.g._collapsable&&(g=t.g.o[2*o+1]),r.addColorStop(y[4*o]/100,"rgba("+y[4*o+1]+","+y[4*o+2]+","+y[4*o+3]+","+g+")");i.grd=r}i.coOp=t.o.v*n.opacity},CVShapeElement.prototype.renderStroke=function(e,t,n){var r=t.style,i=t.d;i&&(i._mdf||this._isFirstFrame)&&(r.da=i.dashArray,r.do=i.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n._opMdf||this._isFirstFrame)&&(r.coOp=t.o.v*n.opacity),(t.w._mdf||this._isFirstFrame)&&(r.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var n=!1;e.sc&&(n=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var r,i,o,a,s,c,l,u,f,d,h,p,m=this.globalData.fontManager.getFontByName(e.f),y=e.l,g=this.mHelper;this.stroke=n,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,i=e.finalText.length;var v=this.data.singleShape,b=.001*e.tr*e.finalSize,w=0,x=0,S=!0,k=0;for(r=0;r<i;r+=1){a=(o=this.globalData.fontManager.getCharData(e.finalText[r],m.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))&&o.data||{},g.reset(),v&&y[r].n&&(w=-b,x+=e.yOffset,x+=S?1:0,S=!1),f=(l=a.shapes?a.shapes[0].it:[]).length,g.scale(e.finalSize/100,e.finalSize/100),v&&this.applyTextPropertiesToMatrix(e,g,y[r].line,w,x),h=createSizedArray(f-1);var E=0;for(u=0;u<f;u+=1)if("sh"===l[u].ty){for(c=l[u].ks.k.i.length,d=l[u].ks.k,p=[],s=1;s<c;s+=1)1===s&&p.push(g.applyToX(d.v[0][0],d.v[0][1],0),g.applyToY(d.v[0][0],d.v[0][1],0)),p.push(g.applyToX(d.o[s-1][0],d.o[s-1][1],0),g.applyToY(d.o[s-1][0],d.o[s-1][1],0),g.applyToX(d.i[s][0],d.i[s][1],0),g.applyToY(d.i[s][0],d.i[s][1],0),g.applyToX(d.v[s][0],d.v[s][1],0),g.applyToY(d.v[s][0],d.v[s][1],0));p.push(g.applyToX(d.o[s-1][0],d.o[s-1][1],0),g.applyToY(d.o[s-1][0],d.o[s-1][1],0),g.applyToX(d.i[0][0],d.i[0][1],0),g.applyToY(d.i[0][0],d.i[0][1],0),g.applyToX(d.v[0][0],d.v[0][1],0),g.applyToY(d.v[0][0],d.v[0][1],0)),h[E]=p,E+=1}v&&(w+=y[r].l,w+=b),this.textSpans[k]?this.textSpans[k].elem=h:this.textSpans[k]={elem:h},k+=1}},CVTextElement.prototype.renderInnerContent=function(){var e,t,n,r,i,o;this.validateText(),this.canvasContext.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 a,s=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;t=c.length;var l,u,f=null,d=null,h=null,p=this.globalData.renderer;for(e=0;e<t;e+=1)if(!c[e].n){if((a=s[e])&&(p.save(),p.ctxTransform(a.p),p.ctxOpacity(a.o)),this.fill){for(a&&a.fc?f!==a.fc&&(p.ctxFillStyle(a.fc),f=a.fc):f!==this.values.fill&&(f=this.values.fill,p.ctxFillStyle(this.values.fill)),r=(l=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),n=0;n<r;n+=1)for(o=(u=l[n]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),i=2;i<o;i+=6)this.globalData.canvasContext.bezierCurveTo(u[i],u[i+1],u[i+2],u[i+3],u[i+4],u[i+5]);this.globalData.canvasContext.closePath(),p.ctxFill()}if(this.stroke){for(a&&a.sw?h!==a.sw&&(h=a.sw,p.ctxLineWidth(a.sw)):h!==this.values.sWidth&&(h=this.values.sWidth,p.ctxLineWidth(this.values.sWidth)),a&&a.sc?d!==a.sc&&(d=a.sc,p.ctxStrokeStyle(a.sc)):d!==this.values.stroke&&(d=this.values.stroke,p.ctxStrokeStyle(this.values.stroke)),r=(l=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),n=0;n<r;n+=1)for(o=(u=l[n]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),i=2;i<o;i+=6)this.globalData.canvasContext.bezierCurveTo(u[i],u[i+1],u[i+2],u[i+3],u[i+4],u[i+5]);this.globalData.canvasContext.closePath(),p.ctxStroke()}a&&this.globalData.renderer.restore()}},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 e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t,n,r=e.getContext("2d"),i=this.img.width,o=this.img.height,a=i/o,s=this.assetData.w/this.assetData.h,c=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;a>s&&"xMidYMid slice"===c||a<s&&"xMidYMid slice"!==c?t=(n=o)*s:n=(t=i)/s,r.drawImage(this.img,(i-t)/2,(o-n)/2,t,n,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},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)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){1===e[0]&&0===e[1]&&0===e[4]&&1===e[5]&&0===e[12]&&0===e[13]||this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){this.canvasContext.globalAlpha*=e<0?0:e},CanvasRendererBase.prototype.ctxFillStyle=function(e){this.canvasContext.fillStyle=e},CanvasRendererBase.prototype.ctxStrokeStyle=function(e){this.canvasContext.strokeStyle=e},CanvasRendererBase.prototype.ctxLineWidth=function(e){this.canvasContext.lineWidth=e},CanvasRendererBase.prototype.ctxLineCap=function(e){this.canvasContext.lineCap=e},CanvasRendererBase.prototype.ctxLineJoin=function(e){this.canvasContext.lineJoin=e},CanvasRendererBase.prototype.ctxMiterLimit=function(e){this.canvasContext.miterLimit=e},CanvasRendererBase.prototype.ctxFill=function(e){this.canvasContext.fill(e)},CanvasRendererBase.prototype.ctxFillRect=function(e,t,n,r){this.canvasContext.fillRect(e,t,n,r)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){this.renderConfig.clearCanvas?(e&&(this.globalData.blendMode="source-over"),this.contextData.restore(e)):this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var t=this.animationItem.container.style;t.width="100%",t.height="100%";var n="0px 0px 0px";t.transformOrigin=n,t.mozTransformOrigin=n,t.webkitTransformOrigin=n,t["-webkit-transform"]=n,t.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=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,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(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(e,t){var n,r,i,o;if(this.reset(),e?(n=e,r=t,this.canvasContext.canvas.width=n,this.canvasContext.canvas.height=r):(this.animationItem.wrapper&&this.animationItem.container?(n=this.animationItem.wrapper.offsetWidth,r=this.animationItem.wrapper.offsetHeight):(n=this.canvasContext.canvas.width,r=this.canvasContext.canvas.height),this.canvasContext.canvas.width=n*this.renderConfig.dpr,this.canvasContext.canvas.height=r*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var a=this.renderConfig.preserveAspectRatio.split(" "),s=a[1]||"meet",c=a[0]||"xMidYMid",l=c.substr(0,4),u=c.substr(4);i=n/r,(o=this.transformCanvas.w/this.transformCanvas.h)>i&&"meet"===s||o<i&&"slice"===s?(this.transformCanvas.sx=n/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=r/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===l&&(o<i&&"meet"===s||o>i&&"slice"===s)?(n-this.transformCanvas.w*(r/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===l&&(o<i&&"meet"===s||o>i&&"slice"===s)?(n-this.transformCanvas.w*(r/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===u&&(
vendor: 22,886 bytes, line 2
2o>i&&"meet"===s||o<i&&"slice"===s)?(r-this.transformCanvas.h*(n/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===u&&(o>i&&"meet"===s||o<i&&"slice"===s)?(r-this.transformCanvas.h*(n/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=n/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(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(){var e;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),e=(this.layers?this.layers.length:0)-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if((this.renderedFrame!==e||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==e){var n;this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var r=this.layers.length;for(this.completeLayers||this.checkLayers(e),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&this.elements[n].prepareFrame(e-this.layers[n].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&this.elements[n].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){var n=this.createItem(this.layers[e],this,this.globalData);t[e]=n,n.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},CVContextData.prototype.duplicate=function(){var e=2*this._length,t=0;for(t=this._length;t<e;t+=1)this.stack[t]=new CanvasContext;this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(e){this.cArrPos-=1;var t,n=this.stack[this.cArrPos],r=n.transform,i=this.cTr.props;for(t=0;t<16;t+=1)i[t]=r[t];if(e){this.nativeContext.restore();var o=this.stack[this.cArrPos+1];this.appliedFillStyle=o.fillStyle,this.appliedStrokeStyle=o.strokeStyle,this.appliedLineWidth=o.lineWidth,this.appliedLineCap=o.lineCap,this.appliedLineJoin=o.lineJoin,this.appliedMiterLimit=o.miterLimit}this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),(e||-1!==n.opacity&&this.currentOpacity!==n.opacity)&&(this.nativeContext.globalAlpha=n.opacity,this.currentOpacity=n.opacity),this.currentFillStyle=n.fillStyle,this.currentStrokeStyle=n.strokeStyle,this.currentLineWidth=n.lineWidth,this.currentLineCap=n.lineCap,this.currentLineJoin=n.lineJoin,this.currentMiterLimit=n.miterLimit},CVContextData.prototype.save=function(e){e&&this.nativeContext.save();var t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var n,r=this.stack[this.cArrPos];for(n=0;n<16;n+=1)r.transform[n]=t[n];this.cArrPos+=1;var i=this.stack[this.cArrPos];i.opacity=r.opacity,i.fillStyle=r.fillStyle,i.strokeStyle=r.strokeStyle,i.lineWidth=r.lineWidth,i.lineCap=r.lineCap,i.lineJoin=r.lineJoin,i.miterLimit=r.miterLimit},CVContextData.prototype.setOpacity=function(e){this.stack[this.cArrPos].opacity=e},CVContextData.prototype.setContext=function(e){this.nativeContext=e},CVContextData.prototype.fillStyle=function(e){this.stack[this.cArrPos].fillStyle!==e&&(this.currentFillStyle=e,this.stack[this.cArrPos].fillStyle=e)},CVContextData.prototype.strokeStyle=function(e){this.stack[this.cArrPos].strokeStyle!==e&&(this.currentStrokeStyle=e,this.stack[this.cArrPos].strokeStyle=e)},CVContextData.prototype.lineWidth=function(e){this.stack[this.cArrPos].lineWidth!==e&&(this.currentLineWidth=e,this.stack[this.cArrPos].lineWidth=e)},CVContextData.prototype.lineCap=function(e){this.stack[this.cArrPos].lineCap!==e&&(this.currentLineCap=e,this.stack[this.cArrPos].lineCap=e)},CVContextData.prototype.lineJoin=function(e){this.stack[this.cArrPos].lineJoin!==e&&(this.currentLineJoin=e,this.stack[this.cArrPos].lineJoin=e)},CVContextData.prototype.miterLimit=function(e){this.stack[this.cArrPos].miterLimit!==e&&(this.currentMiterLimit=e,this.stack[this.cArrPos].miterLimit=e)},CVContextData.prototype.transform=function(e){this.transformMat.cloneFromProps(e);var t=this.cTr;this.transformMat.multiply(t),t.cloneFromProps(this.transformMat.props);var n=t.props;this.nativeContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13])},CVContextData.prototype.opacity=function(e){var t=this.stack[this.cArrPos].opacity;t*=e<0?0:e,this.stack[this.cArrPos].opacity!==t&&(this.currentOpacity!==e&&(this.nativeContext.globalAlpha=e,this.currentOpacity=e),this.stack[this.cArrPos].opacity=t)},CVContextData.prototype.fill=function(e){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(e)},CVContextData.prototype.fillRect=function(e,t,n,r){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(e,t,n,r)},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()},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e,t=this.canvasContext;for(t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip(),e=this.layers.length-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var e;for(e=this.layers.length-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},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),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var t=this.finalTransform.mat.toCSS();e.transform=t,e.webkitTransform=t}this.finalTransform._opMdf&&(e.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,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?((e=createNS("rect")).setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((e=createTag("div")).style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)t=e[n].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var n,r,i,o,a,s=e.sh.v,c=e.transformers,l=s._length;if(!(l<=1)){for(n=0;n<l-1;n+=1)r=this.getTransformedPoint(c,s.v[n]),i=this.getTransformedPoint(c,s.o[n]),o=this.getTransformedPoint(c,s.i[n+1]),a=this.getTransformedPoint(c,s.v[n+1]),this.checkBounds(r,i,o,a,t);s.c&&(r=this.getTransformedPoint(c,s.v[n]),i=this.getTransformedPoint(c,s.o[n]),o=this.getTransformedPoint(c,s.i[0]),a=this.getTransformedPoint(c,s.v[0]),this.checkBounds(r,i,o,a,t))}},HShapeElement.prototype.checkBounds=function(e,t,n,r,i){this.getBoundsOfCurve(e,t,n,r);var o=this.shapeBoundingBox;i.x=bmMin(o.left,i.x),i.xMax=bmMax(o.right,i.xMax),i.y=bmMin(o.top,i.y),i.yMax=bmMax(o.bottom,i.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(e,t,n,r){for(var i,o,a,s,c,l,u,f=[[e[0],r[0]],[e[1],r[1]]],d=0;d<2;++d)o=6*e[d]-12*t[d]+6*n[d],i=-3*e[d]+9*t[d]-9*n[d]+3*r[d],a=3*t[d]-3*e[d],o|=0,a|=0,0==(i|=0)&&0===o||(0===i?(s=-a/o)>0&&s<1&&f[d].push(this.calculateF(s,e,t,n,r,d)):(c=o*o-4*a*i)>=0&&((l=(-o+bmSqrt(c))/(2*i))>0&&l<1&&f[d].push(this.calculateF(l,e,t,n,r,d)),(u=(-o-bmSqrt(c))/(2*i))>0&&u<1&&f[d].push(this.calculateF(u,e,t,n,r,d))));this.shapeBoundingBox.left=bmMin.apply(null,f[0]),this.shapeBoundingBox.top=bmMin.apply(null,f[1]),this.shapeBoundingBox.right=bmMax.apply(null,f[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,f[1])},HShapeElement.prototype.calculateF=function(e,t,n,r,i,o){return bmPow(1-e,3)*t[o]+3*bmPow(1-e,2)*e*n[o]+3*(1-e)*bmPow(e,2)*r[o]+bmPow(e,3)*i[o]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)e[n]&&e[n].sh?this.calculateShapeBoundingBox(e[n],t):e[n]&&e[n].it?this.calculateBoundingBox(e[n].it,t):e[n]&&e[n].style&&e[n].w&&this.expandStrokeBoundingBox(e[n].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var n=0;if(e.keyframes){for(var r=0;r<e.keyframes.length;r+=1){var i=e.keyframes[r].s;i>n&&(n=i)}n*=e.mult}else n=e.v*e.mult;t.x-=n,t.xMax+=n,t.y-=n,t.yMax+=n},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var n=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),n=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),n=!0),n||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y){this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var r=this.shapeCont.style,i="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";r.transform=i,r.webkitTransform=i}}},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 e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,n=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=n,t.color=n,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var r,i,o=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",o.fClass)this.innerElem.className=o.fClass;else{t.fontFamily=o.fFamily;var a=e.fWeight,s=e.fStyle;t.fontStyle=s,t.fontWeight=a}var c,l,u,f=e.l;i=f.length;var d,h=this.mHelper,p="",m=0;for(r=0;r<i;r+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?c=this.textPaths[m]:((c=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),c.setAttribute("stroke-linejoin",lineJoinEnum[2]),c.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?u=(l=this.textSpans[m]).children[0]:((l=createTag("div")).style.lineHeight=0,(u=createNS("svg")).appendChild(c),styleDiv(l)))):this.isMasked?c=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(l=this.textSpans[m],c=this.textPaths[m]):(styleDiv(l=createTag("span")),styleDiv(c=createTag("span")),l.appendChild(c)),this.globalData.fontManager.chars){var y,g=this.globalData.fontManager.getCharData(e.finalText[r],o.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);if(y=g?g.data:null,h.reset(),y&&y.shapes&&y.shapes.length&&(d=y.shapes[0].it,h.scale(e.finalSize/100,e.finalSize/100),p=this.createPathShape(h,d),c.setAttribute("d",p)),this.isMasked)this.innerElem.appendChild(c);else{if(this.innerElem.appendChild(l),y&&y.shapes){document.body.appendChild(u);var v=u.getBBox();u.setAttribute("width",v.width+2),u.setAttribute("height",v.height+2),u.setAttribute("viewBox",v.x-1+" "+(v.y-1)+" "+(v.width+2)+" "+(v.height+2));var b=u.style,w="translate("+(v.x-1)+"px,"+(v.y-1)+"px)";b.transform=w,b.webkitTransform=w,f[r].yOffset=v.y-1}else u.setAttribute("width",1),u.setAttribute("height",1);l.appendChild(u)}}else if(c.textContent=f[r].val,c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(c);else{this.innerElem.appendChild(l);var x=c.style,S="translate3d(0,"+-e.finalSize/1.2+"px,0)";x.transform=S,x.webkitTransform=S}this.isMasked?this.textSpans[m]=c:this.textSpans[m]=l,this.textSpans[m].style.display="block",this.textPaths[m]=c,m+=1}for(;m<this.textSpans.length;)this.textSpans[m].style.display="none",m+=1},HTextElement.prototype.renderInnerContent=function(){var e;if(this.validateText(),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),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var n,r,i,o,a,s=0,c=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;for(r=l.length,n=0;n<r;n+=1)l[n].n?s+=1:(o=this.textSpans[n],a=this.textPaths[n],i=c[s],s+=1,i._mdf.m&&(this.isMasked?o.setAttribute("transform",i.m):(o.style.webkitTransform=i.m,o.style.transform=i.m)),o.style.opacity=i.o,i.sw&&i._mdf.sw&&a.setAttribute("stroke-width",i.sw),i.sc&&i._mdf.sc&&a.setAttribute("stroke",i.sc),i.fc&&i._mdf.fc&&(a.setAttribute("fill",i.fc),a.style.color=i.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var u=this.innerElem.getBBox();if(this.currentBBox.w!==u.width&&(this.currentBBox.w=u.width,this.svgElement.setAttribute("width",u.width)),this.currentBBox.h!==u.height&&(this.currentBBox.h=u.height,this.svgElement.setAttribute("height",u.height)),this.currentBBox.w!==u.width+2||this.currentBBox.h!==u.height+2||this.currentBBox.x!==u.x-1||this.currentBBox.y!==u.y-1){this.currentBBox.w=u.width+2,this.currentBBox.h=u.height+2,this.currentBBox.x=u.x-1,this.currentBBox.y=u.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var f="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=f,e.webkitTransform=f}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t,n,r,i=this.comp.threeDElements.length;for(e=0;e<i;e+=1)if("3d"===(t=this.comp.threeDElements[e]).type){n=t.perspectiveElem.style,r=t.container.style;var o=this.pe.v+"px",a="0px 0px 0px",s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";n.perspective=o,n.webkitPerspective=o,r.transformOrigin=a,r.mozTransformOrigin=a,r.webkitTransformOrigin=a,n.transform=s,n.webkitTransform=s}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e,t,n=this._isFirstFrame;if(this.hierarchy)for(t=this.hierarchy.length,e=0;e<t;e+=1)n=this.hierarchy[e].finalTransform.mProp._mdf||n;if(n||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(e=t=this.hierarchy.length-1;e>=0;e-=1){var r=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-r.p.v[0],-r.p.v[1],r.p.v[2]),this.mat.rotateX(-r.or.v[0]).rotateY(-r.or.v[1]).rotateZ(r.or.v[2]),this.mat.rotateX(-r.rx.v).rotateY(-r.ry.v).rotateZ(r.rz.v),this.mat.scale(1/r.s.v[0],1/r.s.v[1],1/r.s.v[2]),this.mat.translate(r.a.v[0],r.a.v[1],r.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 i;i=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var o=Math.sqrt(Math.pow(i[0],2)+Math.pow(i[1],2)+Math.pow(i[2],2)),a=[i[0]/o,i[1]/o,i[2]/o],s=Math.sqrt(a[2]*a[2]+a[0]*a[0]),c=Math.atan2(a[1],s),l=Math.atan2(a[0],-a[2]);this.mat.rotateY(l).rotateX(-c)}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 u=!this._prevMat.equals(this.mat);if((u||this.pe._mdf)&&this.comp.threeDElements){var f,d,h;for(t=this.comp.threeDElements.length,e=0;e<t;e+=1)if("3d"===(f=this.comp.threeDElements[e]).type){if(u){var p=this.mat.toCSS();(h=f.container.style).transform=p,h.webkitTransform=p}this.pe._mdf&&((d=f.perspectiveElem.style).perspective=this.pe.v+"px",d.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=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",e),this.layerElement.appendChild(this.imageElem),this.baseE
vendor: 9,795 bytes, line 2
2lement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.crossOrigin="anonymous",t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRendererBase.prototype.appendElementInPos=function(e,t){var n=e.getBaseElement();if(n){var r=this.layers[t];if(r.ddd&&this.supports3d)this.addTo3dContainer(n,t);else if(this.threeDElements)this.addTo3dContainer(n,t);else{for(var i,o,a=0;a<t;)this.elements[a]&&!0!==this.elements[a]&&this.elements[a].getBaseElement&&(o=this.elements[a],i=(this.layers[a].ddd?this.getThreeDContainerByPos(a):o.getBaseElement())||i),a+=1;i?r.ddd&&this.supports3d||this.layerElement.insertBefore(n,i):r.ddd&&this.supports3d||this.layerElement.appendChild(n)}}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var t=0,n=this.threeDElements.length;t<n;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var n,r,i=createTag("div");styleDiv(i);var o=createTag("div");if(styleDiv(o),"3d"===t){(n=i.style).width=this.globalData.compSize.w+"px",n.height=this.globalData.compSize.h+"px";var a="50% 50%";n.webkitTransformOrigin=a,n.mozTransformOrigin=a,n.transformOrigin=a;var s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(r=o.style).transform=s,r.webkitTransform=s}i.appendChild(o);var c={container:o,perspectiveElem:i,startPos:e,endPos:e,type:t};return this.threeDElements.push(c),c},HybridRendererBase.prototype.build3dContainers=function(){var e,t,n=this.layers.length,r="";for(e=0;e<n;e+=1)this.layers[e].ddd&&3!==this.layers[e].ty?("3d"!==r&&(r="3d",t=this.createThreeDContainer(e,"3d")),t.endPos=Math.max(t.endPos,e)):("2d"!==r&&(r="2d",t=this.createThreeDContainer(e,"2d")),t.endPos=Math.max(t.endPos,e));for(e=(n=this.threeDElements.length)-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var n=0,r=this.threeDElements.length;n<r;){if(t<=this.threeDElements[n].endPos){for(var i,o=this.threeDElements[n].startPos;o<t;)this.elements[o]&&this.elements[o].getBaseElement&&(i=this.elements[o].getBaseElement()),o+=1;i?this.threeDElements[n].container.insertBefore(e,i):this.threeDElements[n].container.appendChild(e);break}n+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),n=this.animationItem.wrapper,r=t.style;r.width=e.w+"px",r.height=e.h+"px",this.resizerElem=t,styleDiv(t),r.transformStyle="flat",r.mozTransformStyle="flat",r.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),n.appendChild(t),r.overflow="hidden";var i=createNS("svg");i.setAttribute("width","1"),i.setAttribute("height","1"),styleDiv(i),this.resizerElem.appendChild(i);var o=createNS("defs");i.appendChild(o),this.data=e,this.setupGlobalData(e,i),this.globalData.defs=o,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e,t,n,r,i=this.animationItem.wrapper.offsetWidth,o=this.animationItem.wrapper.offsetHeight,a=i/o;this.globalData.compSize.w/this.globalData.compSize.h>a?(e=i/this.globalData.compSize.w,t=i/this.globalData.compSize.w,n=0,r=(o-this.globalData.compSize.h*(i/this.globalData.compSize.w))/2):(e=o/this.globalData.compSize.h,t=o/this.globalData.compSize.h,n=(i-this.globalData.compSize.w*(o/this.globalData.compSize.h))/2,r=0);var s=this.resizerElem.style;s.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+n+","+r+",0,1)",s.transform=s.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 e,t=this.globalData.compSize.w,n=this.globalData.compSize.h,r=this.threeDElements.length;for(e=0;e<r;e+=1){var i=this.threeDElements[e].perspectiveElem.style;i.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(n,2))+"px",i.perspective=i.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,n=e.length,r=createTag("div");for(t=0;t<n;t+=1)if(e[t].xt){var i=this.createComp(e[t],r,this.globalData.comp,null);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},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(e,t){for(var n,r=0;r<t;)this.elements[r]&&this.elements[r].getBaseElement&&(n=this.elements[r].getBaseElement()),r+=1;n?this.layerElement.insertBefore(e,n):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};var CompExpressionInterface=function(e){function t(t){for(var n=0,r=e.layers.length;n<r;){if(e.layers[n].nm===t||e.layers[n].ind===t)return e.elements[n].layerInterface;n+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t};function _typeof$2(e){return _typeof$2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$2(e)}function seedRandom(e,t){var n=this,r=256,i="random",o=t.pow(r,6),a=t.pow(2,52),s=2*a,c=255;function l(e){var t,n=e.length,i=this,o=0,a=i.i=i.j=0,s=i.S=[];for(n||(e=[n++]);o<r;)s[o]=o++;for(o=0;o<r;o++)s[o]=s[a=c&a+e[o%n]+(t=s[o])],s[a]=t;i.g=function(e){for(var t,n=0,o=i.i,a=i.j,s=i.S;e--;)t=s[o=c&o+1],n=n*r+s[c&(s[o]=s[a=c&a+t])+(s[a]=t)];return i.i=o,i.j=a,n}}function u(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function f(e,t){var n,r=[],i=_typeof$2(e);if(t&&"object"==i)for(n in e)try{r.push(f(e[n],t-1))}catch(e){}return r.length?r:"string"==i?e:e+"\0"}function d(e,t){for(var n,r=e+"",i=0;i<r.length;)t[c&i]=c&(n^=19*t[c&i])+r.charCodeAt(i++);return h(t)}function h(e){return String.fromCharCode.apply(0,e)}t["seed"+i]=function(c,p,m){var y=[],g=d(f((p=!0===p?{entropy:!0}:p||{}).entropy?[c,h(e)]:null===c?function(){try{var t=new Uint8Array(r);return(n.crypto||n.msCrypto).getRandomValues(t),h(t)}catch(t){var i=n.navigator,o=i&&i.plugins;return[+new Date,n,o,n.screen,h(e)]}}():c,3),y),v=new l(y),b=function(){for(var e=v.g(6),t=o,n=0;e<a;)e=(e+n)*r,t*=r,n=v.g(1);for(;e>=s;)e/=2,t/=2,n>>>=1;return(e+n)/t};return b.int32=function(){return 0|v.g(4)},b.quick=function(){return v.g(4)/4294967296},b.double=b,d(h(v.S),e),(p.pass||m||function(e,n,r,o){return o&&(o.S&&u(o,v),e.state=function(){return u(v,{})}),r?(t[i]=e,n):e})(b,g,"global"in p?p.global:this==t,p.state)},d(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof$1(e){return _typeof$1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$1(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};
vendor: 6,703 bytes, line 2
2function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||t instanceof Number||"boolean"===e||"string"===e}function $bm_neg(e){var t=_typeof$1(e);if("number"===t||e instanceof Number||"boolean"===t)return-e;if($bm_isInstanceOfArray(e)){var n,r=e.length,i=[];for(n=0;n<r;n+=1)i[n]=-e[n];return i}return e.propType?e.v:-e}initialize$2(BMMath);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(e,t){var n=_typeof$1(e),r=_typeof$1(t);if(isNumerable(n,e)&&isNumerable(r,t)||"string"===n||"string"===r)return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(r,t))return(e=e.slice(0))[0]+=t,e;if(isNumerable(n,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var i=0,o=e.length,a=t.length,s=[];i<o||i<a;)("number"==typeof e[i]||e[i]instanceof Number)&&("number"==typeof t[i]||t[i]instanceof Number)?s[i]=e[i]+t[i]:s[i]=void 0===t[i]?e[i]:e[i]||t[i],i+=1;return s}return 0}var add=sum;function sub(e,t){var n=_typeof$1(e),r=_typeof$1(t);if(isNumerable(n,e)&&isNumerable(r,t))return"string"===n&&(e=parseInt(e,10)),"string"===r&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(r,t))return(e=e.slice(0))[0]-=t,e;if(isNumerable(n,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var i=0,o=e.length,a=t.length,s=[];i<o||i<a;)("number"==typeof e[i]||e[i]instanceof Number)&&("number"==typeof t[i]||t[i]instanceof Number)?s[i]=e[i]-t[i]:s[i]=void 0===t[i]?e[i]:e[i]||t[i],i+=1;return s}return 0}function mul(e,t){var n,r,i,o=_typeof$1(e),a=_typeof$1(t);if(isNumerable(o,e)&&isNumerable(a,t))return e*t;if($bm_isInstanceOfArray(e)&&isNumerable(a,t)){for(i=e.length,n=createTypedArray("float32",i),r=0;r<i;r+=1)n[r]=e[r]*t;return n}if(isNumerable(o,e)&&$bm_isInstanceOfArray(t)){for(i=t.length,n=createTypedArray("float32",i),r=0;r<i;r+=1)n[r]=e*t[r];return n}return 0}function div(e,t){var n,r,i,o=_typeof$1(e),a=_typeof$1(t);if(isNumerable(o,e)&&isNumerable(a,t))return e/t;if($bm_isInstanceOfArray(e)&&isNumerable(a,t)){for(i=e.length,n=createTypedArray("float32",i),r=0;r<i;r+=1)n[r]=e[r]/t;return n}if(isNumerable(o,e)&&$bm_isInstanceOfArray(t)){for(i=t.length,n=createTypedArray("float32",i),r=0;r<i;r+=1)n[r]=e/t[r];return n}return 0}function mod(e,t){return"string"==typeof e&&(e=parseInt(e,10)),"string"==typeof t&&(t=parseInt(t,10)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,n){if(t>n){var r=n;n=t,t=r}return Math.min(Math.max(e,t),n)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if("number"==typeof e||e instanceof Number)return t=t||0,Math.abs(e-t);var n;t||(t=helperLengthArray);var r=Math.min(e.length,t.length),i=0;for(n=0;n<r;n+=1)i+=Math.pow(t[n]-e[n],2);return Math.sqrt(i)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t,n,r=e[0],i=e[1],o=e[2],a=Math.max(r,i,o),s=Math.min(r,i,o),c=(a+s)/2;if(a===s)t=0,n=0;else{var l=a-s;switch(n=c>.5?l/(2-a-s):l/(a+s),a){case r:t=(i-o)/l+(i<o?6:0);break;case i:t=(o-r)/l+2;break;case o:t=(r-i)/l+4}t/=6}return[t,n,c,e[3]]}function hue2rgb(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function hslToRgb(e){var t,n,r,i=e[0],o=e[1],a=e[2];if(0===o)t=a,r=a,n=a;else{var s=a<.5?a*(1+o):a+o-a*o,c=2*a-s;t=hue2rgb(c,s,i+1/3),n=hue2rgb(c,s,i),r=hue2rgb(c,s,i-1/3)}return[t,n,r,e[3]]}function linear(e,t,n,r,i){if(void 0!==r&&void 0!==i||(r=t,i=n,t=0,n=1),n<t){var o=n;n=t,t=o}if(e<=t)return r;if(e>=n)return i;var a,s=n===t?0:(e-t)/(n-t);if(!r.length)return r+(i-r)*s;var c=r.length,l=createTypedArray("float32",c);for(a=0;a<c;a+=1)l[a]=r[a]+(i[a]-r[a])*s;return l}function random(e,t){if(void 0===t&&(void 0===e?(e=0,t=1):(t=e,e=void 0)),t.length){var n,r=t.length;e||(e=createTypedArray("float32",r));var i=createTypedArray("float32",r),o=BMMath.random();for(n=0;n<r;n+=1)i[n]=e[n]+o*(t[n]-e[n]);return i}return void 0===e&&(e=0),e+BMMath.random()*(t-e)}function createPath(e,t,n,r){var i,o=e.length,a=shapePool.newElement();a.setPathData(!!r,o);var s,c,l=[0,0];for(i=0;i<o;i+=1)s=t&&t[i]?t[i]:l,c=n&&n[i]?n[i]:l,a.setTripleAt(e[i][0],e[i][1],c[0]+e[i][0],c[1]+e[i][1],s[0]+e[i][0],s[1]+e[i][1],i,!0);return a}function initiateExpression(elem,data,property){function noOp(e){return e}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),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||!0!==this.data.hd,wiggle=function(e,t){var n,r,i=this.pv.length?this.pv.length:1,o=createTypedArray("float32",i),a=Math.floor(5*time);for(n=0,r=0;n<a;){for(r=0;r<i;r+=1)o[r]+=-t+2*t*BMMath.random();n+=1}var s=5*time,c=s-Math.floor(s),l=createTypedArray("float32",i);if(i>1){for(r=0;r<i;r+=1)l[r]=this.pv[r]+o[r]+(-t+2*t*BMMath.random())*c;return l}return this.pv+o[0]+(-t+2*t*BMMath.random())*c}.bind(this);function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}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)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));
vendor: 11,681 bytes, line 2
2var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(e,t){var n=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],r=Math.atan2(n[0],Math.sqrt(n[1]*n[1]+n[2]*n[2]))/degToRads;return[-Math.atan2(n[1],n[2])/degToRads,r,0]}function easeOut(e,t,n,r,i){return applyEase(easeOutBez,e,t,n,r,i)}function easeIn(e,t,n,r,i){return applyEase(easeInBez,e,t,n,r,i)}function ease(e,t,n,r,i){return applyEase(easeInOutBez,e,t,n,r,i)}function applyEase(e,t,n,r,i,o){void 0===i?(i=n,o=r):t=(t-n)/(r-n),t>1?t=1:t<0&&(t=0);var a=e(t);if($bm_isInstanceOfArray(i)){var s,c=i.length,l=createTypedArray("float32",c);for(s=0;s<c;s+=1)l[s]=(o[s]-i[s])*a+i[s];return l}return(o-i)*a+i}function nearestKey(e){var t,n,r,i=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(n=-1,(e*=elem.comp.globalData.frameRate)<data.k[0].t)n=1,r=data.k[0].t;else{for(t=0;t<i-1;t+=1){if(e===data.k[t].t){n=t+1,r=data.k[t].t;break}if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(n=t+2,r=data.k[t+1].t):(n=t+1,r=data.k[t].t);break}}-1===n&&(n=t+1,r=data.k[t].t)}else n=0,r=0;var o={};return o.index=n,o.time=r/elem.comp.globalData.frameRate,o}function key(e){var t,n,r;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var i=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(r=i.length,n=0;n<r;n+=1)t[n]=i[n],t.value[n]=i[n];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return e||0===e||(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return"string"==typeof value?void 0===t?value.substring(e):value.substring(e,t):""}function substr(e,t){return"string"==typeof value?void 0===t?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=0===e?0:Math.floor(time*e)/e,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(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)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!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)}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 e={initExpressions:function(e){var t=0,n=[];e.renderer.compInterface=CompExpressionInterface(e.renderer),e.renderer.globalData.projectInterface.registerComposition(e.renderer),e.renderer.globalData.pushExpression=function(){t+=1},e.renderer.globalData.popExpression=function(){0==(t-=1)&&function(){var e,t=n.length;for(e=0;e<t;e+=1)n[e].release();n.length=0}()},e.renderer.globalData.registerExpressionProperty=function(e){-1===n.indexOf(e)&&n.push(e)}}};return e.resetFrame=ExpressionManager.resetFrame,e}(),MaskManagerInterface=function(){function e(e,t){this._mask=e,this._data=t}return Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(t){var n,r=createSizedArray(t.viewData.length),i=t.viewData.length;for(n=0;n<i;n+=1)r[n]=new e(t.viewData[n],t.masksProperties[n]);return function(e){for(n=0;n<i;){if(t.masksProperties[n].nm===e)return r[n];n+=1}return null}}}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function n(e,t,n){Object.defineProperty(e,"velocity",{get:function(){return t.getVelocityAtTime(t.comp.currentFrame)}}),e.numKeys=t.keyframes?t.keyframes.length:0,e.key=function(r){if(!e.numKeys)return 0;var i;i="s"in t.keyframes[r-1]?t.keyframes[r-1].s:"e"in t.keyframes[r-2]?t.keyframes[r-2].e:t.keyframes[r-2].s;var o="unidimensional"===n?new Number(i):Object.assign({},i);return o.time=t.keyframes[r-1].t/t.elem.comp.globalData.frameRate,o.value="unidimensional"===n?i[0]:i,o},e.valueAtTime=t.getValueAtTime,e.speedAtTime=t.getSpeedAtTime,e.velocityAtTime=t.getVelocityAtTime,e.propertyGroup=t.propertyGroup}function r(){return e}return function(i){return i?"unidimensional"===i.propType?function(t){t&&"pv"in t||(t=e);var r=1/t.mult,i=t.pv*r,o=new Number(i);return o.value=i,n(o,t,"unidimensional"),function(){return t.k&&t.getValue(),i=t.v*r,o.value!==i&&((o=new Number(i)).value=i,o[0]=i,n(o,t,"unidimensional")),o}}(i):function(e){e&&"pv"in e||(e=t);var r=1/e.mult,i=e.data&&e.data.l||e.pv.length,o=createTypedArray("float32",i),a=createTypedArray("float32",i);return o.value=a,n(o,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<i;t+=1)a[t]=e.v[t]*r,o[t]=a[t];return o}}(i):r}}(),TransformExpressionInterface=function(e){function t(e){switch(e){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity;default:return null}}var n,r,i,o;return Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)}),e.p?o=ExpressionPropertyInterface(e.p):(n=ExpressionPropertyInterface(e.px),r=ExpressionPropertyInterface(e.py),e.pz&&(i=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?o():[n(),r(),i?i():0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t},LayerExpressionInterface=function(){function e(e){var t=new Matrix;return void 0!==e?this._elem.finalTransform.mProp.getValueAtTime(e).clone(t):this._elem.finalTransform.mProp.applyToMatrix(t),t}function t(e,t){var n=this.getMatrix(t);return n.props[12]=0,n.props[13]=0,n.props[14]=0,this.applyPoint(n,e)}function n(e,t){var n=this.getMatrix(t);return this.applyPoint(n,e)}function r(e,t){var n=this.getMatrix(t);return n.props[12]=0,n.props[13]=0,n.props[14]=0,this.invertPoint(n,e)}function i(e,t){var n=this.getMatrix(t);return this.invertPoint(n,e)}function o(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var n,r=this._elem.hierarchy.length;for(n=0;n<r;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e)}return e.applyToPointArray(t[0],t[1],t[2]||0)}function a(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var n,r=this._elem.hierarchy.length;for(n=0;n<r;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e)}return e.inversePoint(t)}function s(e){var t=new Matrix;if(t.reset(),this._elem.finalTransform.mProp.applyToMatrix(t),this._elem.hierarchy&&this._elem.hierarchy.length){var n,r=this._elem.hierarchy.length;for(n=0;n<r;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}return t.inversePoint(e)}function c(){return[1,1,1,1]}return function(l){var u;function f(e){switch(e){case"ADBE Root Vectors Group":case"Contents":case 2:return f.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return u;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return f.effect;case"ADBE Text Properties":return f.textInterface;default:return null}}f.getMatrix=e,f.invertPoint=a,f.applyPoint=o,f.toWorld=n,f.toWorldVec=t,f.fromWorld=i,f.fromWorldVec=r,f.toComp=n,f.fromComp=s,f.sampleImage=c,f.sourceRectAtTime=l.sourceRectAtTime.bind(l),f._elem=l;var d=getDescriptor(u=TransformExpressionInterface(l.finalTransform.mProp),"anchorPoint");return Object.defineProperties(f,{hasParent:{get:function(){return l.hierarchy.length}},parent:{get:function(){return l.hierarchy[0].layerInterface}},rotation:getDescriptor(u,"rotation"),scale:getDescriptor(u,"scale"),position:getDescriptor(u,"position"),opacity:getDescriptor(u,"opacity"),anchorPoint:d,anchor_point:d,transform:{get:function(){return u}},active:{get:function(){return l.isInRange}}}),f.startTime=l.data.st,f.index=l.data.ind,f.source=l.data.refId,f.height=0===l.data.ty?l.data.h:100,f.width=0===l.data.ty?l.data.w:100,f.inPoint=l.data.ip/l.comp.globalData.frameRate,f.outPoint=l.data.op/l.comp.globalData.frameRate,f._name=l.data.nm,f.registerMaskInterface=function(e){f.mask=new MaskManagerInterface(e,l)},f.registerEffectsInterface=function(e){f.effect=e},f}}(),propertyGroupFactory=function(e,t){return function(n){return(n=void 0===n?1:n)<=0?e:t(n-1)}},PropertyInterface=function(e,t){var n={_name:e};return function(e){return(e=void 0===e?1:e)<=0?n:t(e-1)}}
vendor: 23,031 bytes, line 2
2,EffectsExpressionInterface=function(){function e(n,r,i,o){function a(e){for(var t=n.ef,r=0,i=t.length;r<i;){if(e===t[r].nm||e===t[r].mn||e===t[r].ix)return 5===t[r].ty?l[r]:l[r]();r+=1}throw new Error}var s,c=propertyGroupFactory(a,i),l=[],u=n.ef.length;for(s=0;s<u;s+=1)5===n.ef[s].ty?l.push(e(n.ef[s],r.effectElements[s],r.effectElements[s].propertyGroup,o)):l.push(t(r.effectElements[s],n.ef[s].ty,o,c));return"ADBE Color Control"===n.mn&&Object.defineProperty(a,"color",{get:function(){return l[0]()}}),Object.defineProperties(a,{numProperties:{get:function(){return n.np}},_name:{value:n.nm},propertyGroup:{value:c}}),a.enabled=0!==n.en,a.active=a.enabled,a}function t(e,t,n,r){var i=ExpressionPropertyInterface(e.p);return e.p.setGroupProperty&&e.p.setGroupProperty(PropertyInterface("",r)),function(){return 10===t?n.comp.compInterface(e.p.v):i()}}return{createEffectsInterface:function(t,n){if(t.effectsManager){var r,i=[],o=t.data.ef,a=t.effectsManager.effectElements.length;for(r=0;r<a;r+=1)i.push(e(o[r],t.effectsManager.effectElements[r],n,t));var s=t.data.ef||[],c=function(e){for(r=0,a=s.length;r<a;){if(e===s[r].nm||e===s[r].mn||e===s[r].ix)return i[r];r+=1}return null};return Object.defineProperty(c,"numProperties",{get:function(){return s.length}}),c}return null}}}(),ShapePathInterface=function(e,t,n){var r=t.sh;function i(e){return"Shape"===e||"shape"===e||"Path"===e||"path"===e||"ADBE Vector Shape"===e||2===e?i.path:null}var o=propertyGroupFactory(i,n);return r.setGroupProperty(PropertyInterface("Path",o)),Object.defineProperties(i,{path:{get:function(){return r.k&&r.getValue(),r}},shape:{get:function(){return r.k&&r.getValue(),r}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn},propertyGroup:{value:n}}),i},ShapeExpressionInterface=function(){function e(e,s,h){var p,m=[],y=e?e.length:0;for(p=0;p<y;p+=1)"gr"===e[p].ty?m.push(t(e[p],s[p],h)):"fl"===e[p].ty?m.push(n(e[p],s[p],h)):"st"===e[p].ty?m.push(o(e[p],s[p],h)):"tm"===e[p].ty?m.push(a(e[p],s[p],h)):"tr"===e[p].ty||("el"===e[p].ty?m.push(c(e[p],s[p],h)):"sr"===e[p].ty?m.push(l(e[p],s[p],h)):"sh"===e[p].ty?m.push(ShapePathInterface(e[p],s[p],h)):"rc"===e[p].ty?m.push(u(e[p],s[p],h)):"rd"===e[p].ty?m.push(f(e[p],s[p],h)):"rp"===e[p].ty?m.push(d(e[p],s[p],h)):"gf"===e[p].ty?m.push(r(e[p],s[p],h)):m.push(i(e[p],s[p])));return m}function t(t,n,r){var i=function(e){switch(e){case"ADBE Vectors Group":case"Contents":case 2:return i.content;default:return i.transform}};i.propertyGroup=propertyGroupFactory(i,r);var o=function(t,n,r){var i,o=function(e){for(var t=0,n=i.length;t<n;){if(i[t]._name===e||i[t].mn===e||i[t].propertyIndex===e||i[t].ix===e||i[t].ind===e)return i[t];t+=1}return"number"==typeof e?i[e-1]:null};o.propertyGroup=propertyGroupFactory(o,r),i=e(t.it,n.it,o.propertyGroup),o.numProperties=i.length;var a=s(t.it[t.it.length-1],n.it[n.it.length-1],o.propertyGroup);return o.transform=a,o.propertyIndex=t.cix,o._name=t.nm,o}(t,n,i.propertyGroup),a=s(t.it[t.it.length-1],n.it[n.it.length-1],i.propertyGroup);return i.content=o,i.transform=a,Object.defineProperty(i,"_name",{get:function(){return t.nm}}),i.numProperties=t.np,i.propertyIndex=t.ix,i.nm=t.nm,i.mn=t.mn,i}function n(e,t,n){function r(e){return"Color"===e||"color"===e?r.color:"Opacity"===e||"opacity"===e?r.opacity:null}return Object.defineProperties(r,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",n)),t.o.setGroupProperty(PropertyInterface("Opacity",n)),r}function r(e,t,n){function r(e){return"Start Point"===e||"start point"===e?r.startPoint:"End Point"===e||"end point"===e?r.endPoint:"Opacity"===e||"opacity"===e?r.opacity:null}return Object.defineProperties(r,{startPoint:{get:ExpressionPropertyInterface(t.s)},endPoint:{get:ExpressionPropertyInterface(t.e)},opacity:{get:ExpressionPropertyInterface(t.o)},type:{get:function(){return"a"}},_name:{value:e.nm},mn:{value:e.mn}}),t.s.setGroupProperty(PropertyInterface("Start Point",n)),t.e.setGroupProperty(PropertyInterface("End Point",n)),t.o.setGroupProperty(PropertyInterface("Opacity",n)),r}function i(){return function(){return null}}function o(e,t,n){var r,i=propertyGroupFactory(l,n),o=propertyGroupFactory(c,i);function a(n){Object.defineProperty(c,e.d[n].nm,{get:ExpressionPropertyInterface(t.d.dataProps[n].p)})}var s=e.d?e.d.length:0,c={};for(r=0;r<s;r+=1)a(r),t.d.dataProps[r].p.setGroupProperty(o);function l(e){return"Color"===e||"color"===e?l.color:"Opacity"===e||"opacity"===e?l.opacity:"Stroke Width"===e||"stroke width"===e?l.strokeWidth:null}return Object.defineProperties(l,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},strokeWidth:{get:ExpressionPropertyInterface(t.w)},dash:{get:function(){return c}},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",i)),t.o.setGroupProperty(PropertyInterface("Opacity",i)),t.w.setGroupProperty(PropertyInterface("Stroke Width",i)),l}function a(e,t,n){function r(t){return t===e.e.ix||"End"===t||"end"===t?r.end:t===e.s.ix?r.start:t===e.o.ix?r.offset:null}var i=propertyGroupFactory(r,n);return r.propertyIndex=e.ix,t.s.setGroupProperty(PropertyInterface("Start",i)),t.e.setGroupProperty(PropertyInterface("End",i)),t.o.setGroupProperty(PropertyInterface("Offset",i)),r.propertyIndex=e.ix,r.propertyGroup=n,Object.defineProperties(r,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),r.mn=e.mn,r}function s(e,t,n){function r(t){return e.a.ix===t||"Anchor Point"===t?r.anchorPoint:e.o.ix===t||"Opacity"===t?r.opacity:e.p.ix===t||"Position"===t?r.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?r.rotation:e.s.ix===t||"Scale"===t?r.scale:e.sk&&e.sk.ix===t||"Skew"===t?r.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?r.skewAxis:null}var i=propertyGroupFactory(r,n);return t.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",i)),t.transform.mProps.p.setGroupProperty(PropertyInterface("Position",i)),t.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",i)),t.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",i)),t.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",i)),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",i)),t.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",i))),t.transform.op.setGroupProperty(PropertyInterface("Opacity",i)),Object.defineProperties(r,{opacity:{get:ExpressionPropertyInterface(t.transform.mProps.o)},position:{get:ExpressionPropertyInterface(t.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(t.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(t.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(t.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(t.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(t.transform.mProps.sa)},_name:{value:e.nm}}),r.ty="tr",r.mn=e.mn,r.propertyGroup=n,r}function c(e,t,n){function r(t){return e.p.ix===t?r.position:e.s.ix===t?r.size:null}var i=propertyGroupFactory(r,n);r.propertyIndex=e.ix;var o="tm"===t.sh.ty?t.sh.prop:t.sh;return o.s.setGroupProperty(PropertyInterface("Size",i)),o.p.setGroupProperty(PropertyInterface("Position",i)),Object.defineProperties(r,{size:{get:ExpressionPropertyInterface(o.s)},position:{get:ExpressionPropertyInterface(o.p)},_name:{value:e.nm}}),r.mn=e.mn,r}function l(e,t,n){function r(t){return e.p.ix===t?r.position:e.r.ix===t?r.rotation:e.pt.ix===t?r.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?r.outerRadius:e.os.ix===t?r.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?r.innerRoundness:null:r.innerRadius}var i=propertyGroupFactory(r,n),o="tm"===t.sh.ty?t.sh.prop:t.sh;return r.propertyIndex=e.ix,o.or.setGroupProperty(PropertyInterface("Outer Radius",i)),o.os.setGroupProperty(PropertyInterface("Outer Roundness",i)),o.pt.setGroupProperty(PropertyInterface("Points",i)),o.p.setGroupProperty(PropertyInterface("Position",i)),o.r.setGroupProperty(PropertyInterface("Rotation",i)),e.ir&&(o.ir.setGroupProperty(PropertyInterface("Inner Radius",i)),o.is.setGroupProperty(PropertyInterface("Inner Roundness",i))),Object.defineProperties(r,{position:{get:ExpressionPropertyInterface(o.p)},rotation:{get:ExpressionPropertyInterface(o.r)},points:{get:ExpressionPropertyInterface(o.pt)},outerRadius:{get:ExpressionPropertyInterface(o.or)},outerRoundness:{get:ExpressionPropertyInterface(o.os)},innerRadius:{get:ExpressionPropertyInterface(o.ir)},innerRoundness:{get:ExpressionPropertyInterface(o.is)},_name:{value:e.nm}}),r.mn=e.mn,r}function u(e,t,n){function r(t){return e.p.ix===t?r.position:e.r.ix===t?r.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?r.size:null}var i=propertyGroupFactory(r,n),o="tm"===t.sh.ty?t.sh.prop:t.sh;return r.propertyIndex=e.ix,o.p.setGroupProperty(PropertyInterface("Position",i)),o.s.setGroupProperty(PropertyInterface("Size",i)),o.r.setGroupProperty(PropertyInterface("Rotation",i)),Object.defineProperties(r,{position:{get:ExpressionPropertyInterface(o.p)},roundness:{get:ExpressionPropertyInterface(o.r)},size:{get:ExpressionPropertyInterface(o.s)},_name:{value:e.nm}}),r.mn=e.mn,r}function f(e,t,n){function r(t){return e.r.ix===t||"Round Corners 1"===t?r.radius:null}var i=propertyGroupFactory(r,n),o=t;return r.propertyIndex=e.ix,o.rd.setGroupProperty(PropertyInterface("Radius",i)),Object.defineProperties(r,{radius:{get:ExpressionPropertyInterface(o.rd)},_name:{value:e.nm}}),r.mn=e.mn,r}function d(e,t,n){function r(t){return e.c.ix===t||"Copies"===t?r.copies:e.o.ix===t||"Offset"===t?r.offset:null}var i=propertyGroupFactory(r,n),o=t;return r.propertyIndex=e.ix,o.c.setGroupProperty(PropertyInterface("Copies",i)),o.o.setGroupProperty(PropertyInterface("Offset",i)),Object.defineProperties(r,{copies:{get:ExpressionPropertyInterface(o.c)},offset:{get:ExpressionPropertyInterface(o.o)},_name:{value:e.nm}}),r.mn=e.mn,r}return function(t,n,r){var i;function o(e){if("number"==typeof e)return 0===(e=void 0===e?1:e)?r:i[e-1];for(var t=0,n=i.length;t<n;){if(i[t]._name===e)return i[t];t+=1}return null}return o.propertyGroup=propertyGroupFactory(o,function(){return r}),i=e(t,n,o.propertyGroup),o.numProperties=i.length,o._name="Contents",o}}(),TextExpressionInterface=function(e){var t;function n(e){return"ADBE Text Document"===e?n.sourceText:null}return Object.defineProperty(n,"sourceText",{get:function(){e.textProperty.getValue();var n=e.textProperty.currentData.t;return t&&n===t.value||((t=new String(n)).value=n||new String(n),Object.defineProperty(t,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),t}}),n};function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}var FootageInterface=(dataInterfaceFactory=function(e){function t(e){return"Outline"===e?t.outlineInterface():null}return t._name="Outline",t.outlineInterface=function(e){var t="",n=e.getFootageData();function r(e){if(n[e])return t=e,"object"===_typeof(n=n[e])?r:n;var i=e.indexOf(t);if(-1!==i){var o=parseInt(e.substr(i+t.length),10);return"object"===_typeof(n=n[o])?r:n}return""}return function(){return t="",n=e.getFootageData(),r}}(e),t},function(e){function t(e){return"Data"===e?t.dataInterface:null}return t._name="Data",t.dataInterface=dataInterfaceFactory(e),t}),dataInterfaceFactory,interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(e){return interfaces[e]||null}var expressionHelpers={searchExpressions:function(e,t,n){t.x&&(n.k=!0,n.x=!0,n.initiateExpression=ExpressionManager.initiateExpression,n.effectsSequence.push(n.initiateExpression(e,t,n).bind(n)))},getSpeedAtTime:function(e){var t=this.getValueAtTime(e),n=this.getValueAtTime(e+-.01),r=0;if(t.length){var i;for(i=0;i<t.length;i+=1)r+=Math.pow(n[i]-t[i],2);r=100*Math.sqrt(r)}else r=0;return r},getVelocityAtTime:function(e){if(void 0!==this.vel)return this.vel;var t,n,r=-.001,i=this.getValueAtTime(e),o=this.getValueAtTime(e+r);if(i.length)for(t=createTypedArray("float32",i.length),n=0;n<i.length;n+=1)t[n]=(o[n]-i[n])/r;else t=(o-i)/r;return t},getValueAtTime:function(e){return e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<e?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(e,this._cachingAtTime),this._cachingAtTime.lastFrame=e),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(e){this.propertyGroup=e}};function addPropertyDecorator(){function e(e,t,n){if(!this.k||!this.keyframes)return this.pv;e=e?e.toLowerCase():"";var r,i,o,a,s,c=this.comp.renderedFrame,l=this.keyframes,u=l[l.length-1].t;if(c<=u)return this.pv;if(n?i=u-(r=t?Math.abs(u-this.elem.comp.globalData.frameRate*t):Math.max(0,u-this.elem.data.ip)):((!t||t>l.length-1)&&(t=l.length-1),r=u-(i=l[l.length-1-t].t)),"pingpong"===e){if(Math.floor((c-i)/r)%2!=0)return this.getValueAtTime((r-(c-i)%r+i)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var f=this.getValueAtTime(i/this.comp.globalData.frameRate,0),d=this.getValueAtTime(u/this.comp.globalData.frameRate,0),h=this.getValueAtTime(((c-i)%r+i)/this.comp.globalData.frameRate,0),p=Math.floor((c-i)/r);if(this.pv.length){for(a=(s=new Array(f.length)).length,o=0;o<a;o+=1)s[o]=(d[o]-f[o])*p+h[o];return s}return(d-f)*p+h}if("continue"===e){var m=this.getValueAtTime(u/this.comp.globalData.frameRate,0),y=this.getValueAtTime((u-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(s=new Array(m.length)).length,o=0;o<a;o+=1)s[o]=m[o]+(m[o]-y[o])*((c-u)/this.comp.globalData.frameRate)/5e-4;return s}return m+(c-u)/.001*(m-y)}}return this.getValueAtTime(((c-i)%r+i)/this.comp.globalData.frameRate,0)}function t(e,t,n){if(!this.k)return this.pv;e=e?e.toLowerCase():"";var r,i,o,a,s,c=this.comp.renderedFrame,l=this.keyframes,u=l[0].t;if(c>=u)return this.pv;if(n?i=u+(r=t?Math.abs(this.elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-u)):((!t||t>l.length-1)&&(t=l.length-1),r=(i=l[t].t)-u),"pingpong"===e){if(Math.floor((u-c)/r)%2==0)return this.getValueAtTime(((u-c)%r+u)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var f=this.getValueAtTime(u/this.comp.globalData.frameRate,0),d=this.getValueAtTime(i/this.comp.globalData.frameRate,0),h=this.getValueAtTime((r-(u-c)%r+u)/this.comp.globalData.frameRate,0),p=Math.floor((u-c)/r)+1;if(this.pv.length){for(a=(s=new Array(f.length)).length,o=0;o<a;o+=1)s[o]=h[o]-(d[o]-f[o])*p;return s}return h-(d-f)*p}if("continue"===e){var m=this.getValueAtTime(u/this.comp.globalData.frameRate,0),y=this.getValueAtTime((u+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(s=new Array(m.length)).length,o=0;o<a;o+=1)s[o]=m[o]+(m[o]-y[o])*(u-c)/.001;return s}return m+(m-y)*(u-c)/.001}}return this.getValueAtTime((r-((u-c)%r+u))/this.comp.globalData.frameRate,0)}function n(e,t){if(!this.k)return this.pv;if(e=.5*(e||.4),(t=Math.floor(t||5))<=1)return this.pv;var n,r,i=this.comp.renderedFrame/this.comp.globalData.frameRate,o=i-e,a=t>1?(i+e-o)/(t-1):1,s=0,c=0;for(n=this.pv.length?createTypedArray("float32",this.pv.length):0;s<t;){if(r=this.getValueAtTime(o+s*a),this.pv.length)for(c=0;c<this.pv.length;c+=1)n[c]+=r[c];else n+=r;s+=1}if(this.pv.length)for(c=0;c<this.pv.length;c+=1)n[c]/=t;else n/=t;return n}function r(e){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var t=this._transformCachingAtTime.v;if(t.cloneFromProps(this.pre.props),this.appliedTransformations<1){var n=this.a.getValueAtTime(e);t.translate(-n[0]*this.a.mult,-n[1]*this.a.mult,n[2]*this.a.mult)}if(this.appliedTransformations<2){var r=this.s.getValueAtTime(e);t.scale(r[0]*this.s.mult,r[1]*this.s.mult,r[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var i=this.sk.getValueAtTime(e),o=this.sa.getValueAtTime(e);t.skewFromAxis(-i*this.sk.mult,o*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var a=this.r.getValueAtTime(e);t.rotate(-a*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var s=this.rz.getValueAtTime(e),c=this.ry.getValueAtTime(e),l=this.rx.getValueAtTime(e),u=this.or.getValueAtTime(e);t.rotateZ(-s*this.rz.mult).rotateY(c*this.ry.mult).rotateX(l*this.rx.mult).rotateZ(-u[2]*this.or.mult).rotateY(u[1]*this.or.mult).rotateX(u[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var f=this.px.getValueAtTime(e),d=this.py.getValueAtTime(e);if(this.data.p.z){var h=this.pz.getValueAtTime(e);t.translate(f*this.px.mult,d*this.py.mult,-h*this.pz.mult)}else t.translate(f*this.px.mult,d*this.py.mult,0)}else{var p=this.p.getValueAtTime(e);t.translate(p[0]*this.p.mult,p[1]*this.p.mult,-p[2]*this.p.mult)}return t}function i(){return this.v.clone(new Matrix)}var o=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(e,t,n){var a=o(e,t,n);return a.dynamicProperties.length?a.getValueAtTime=r.bind(a):a.getValueAtTime=i.bind(a),a.setGroupProperty=expressionHelpers.setGroupProperty,a};var a=PropertyFactory.getProp;PropertyFactory.getProp=function(r,i,o,s,c){var l=a(r,i,o,s,c);l.kf?l.getValueAtTime=expressionHelpers.getValueAtTime.bind(l):l.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(l),l.setGroupProperty=expressionHelpers.setGroupProperty,l.loopOut=e,l.loopIn=t,l.smooth=n,l.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(l),l.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(l),l.numKeys=1===i.a?i.k.length:0,l.propertyIndex=i.ix;var u=0;return 0!==o&&(u=createTypedArray("float32",1===i.a?i.k[0].s.length:i.k.length)),l._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:u},expressionHelpers.searchExpressions(r,i,l),l.k&&c.addDynamicProperty(l),l};var s=ShapePropertyFactory.getConstructorFunction(),c=ShapePropertyFactory.getKeyframedConstructorFunction();function l(){}l.prototype={vertices:function(e,t){this.k&&this.getValue();var n,r=this.v;void 0!==t&&(r=this.getValueAtTime(t,0));var i=r._length,o=r[e],a=r.v,s=createSizedArray(i);for(n=0;n<i;n+=1)s[n]="i"===e||"o"===e?[o[n][0]-a[n][0],o[n][1]-a[n][1]]:[o[n][0],o[n][1]];return s},points:function(e){return this.vertices("v",e)},inTangents:function(e){return this.vertices("i",e)},outTangents:function(e){return this.vertices("o",e)},isClosed:function(){return this.v.c},pointOnPath:function(e,t){var n=this.v;void 0!==t&&(n=this.getValueAtTime(t,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(n));for(var r,i=this._segmentsLength,o=i.lengths,a=i.totalLength*e,s=0,c=o.length,l=0;s<c;){if(l+o[s].addedLength>a){var u=s,f=n.c&&s===c-1?0:s+1,d=(a-l)/o[s].addedLength;r=bez.getPointInSegment(n.v[u],n.v[f],n.o[u],n.i[f],d,o[s]);break}l+=o[s].addedLength,s+=1}return r||(r=n.c?[n.v[0][0],n.v[0][1]]:[n.v[n._length-1][0],n.v[n._length-1][1]]),r},vectorOnPath:function(e,t,n){1==e?e=this.v.c:0==e&&(e=.999);var r=this.pointOnPath(e,t),i=this.pointOnPath(e+.001,t),o=i[0]-r[0],a=i[1]-r[1],s=Math.sqrt(Math.pow(o,2)+Math.pow(a,2));return 0===s?[0,0]:"tangent"===n?[o/s,a/s]:[-a/s,o/s]},tangentOnPath:function(e,t){return this.vectorOnPath(e,t,"tangent")},normalOnPath:function(e,t){return this.vectorOnPath(e,t,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([l],s),extendPrototype([l],c),c.prototype.getValueAtTime=function(e){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<e?this._caching.lastIndex:0,this._cachingAtTime.lastTime=e,this.interpolateShape(e,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},c.prototype.initiateExpression=ExpressionManager.initiateExpression;var u=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(e,t,n,r,i){var o=u(e,t,n,r,i);return o.propertyIndex=t.ix,o.lock=!1,3===n?expressionHelpers.searchExpressions(e,t.pt,o):4===n&&expressionHelpers.searchExpressions(e,t.ks,o),o.k&&e.addDynamicProperty(o),o}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(e,t){var n=this.calculateExpression(t);if(e.t!==n){var r={};return this.copyData(r,e),r.t=n.toString(),r.__complete=!1,r}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),t=this.searchExpressions();return this.kf=e||t,this.kf},TextProperty.prototype.searchExpressions=function(){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}}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function(e,t){var n,r,i=createNS("feMerge");for(i.setAttribute("result",e),r=0;r<t.length;r+=1)(n=createNS("feMergeNode")).setAttribute("in",t[r]),i.appendChild(n),i.appendChild(n);return i}};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(e,t,n,r,i){this.filterManager=t;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","linearRGB"),o.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=o,o.setAttribute("result",r+"_tint_1"),e.appendChild(o),(o=createNS("feColorMatrix")).setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),o.setAttribute("result",r+"_tint_2"),e.appendChild(o),this.matrixFilter=o;var a=this.createMergeNode(r,[i,r+"_tint_1",r+"_tint_2"]);e.appendChild(a)}function SVGFillFilter(e,t,n,r){this.filterManager=t;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),i.setAttribute("result",r),e.appendChild(i),this.matrixFilter=i}function SVGStrokeEffect(e,t,n){this.initialized=!1,this.filterManager=t,this.elem=n,this.paths=[]}function SVGTritoneFilter(e,t,n,r){this.filterManager=t;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","linearRGB"),i.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"),e.a
vendor: 5,131 bytes, line 2
2ppendChild(i);var o=createNS("feComponentTransfer");o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",r),this.matrixFilter=o;var a=createNS("feFuncR");a.setAttribute("type","table"),o.appendChild(a),this.feFuncR=a;var s=createNS("feFuncG");s.setAttribute("type","table"),o.appendChild(s),this.feFuncG=s;var c=createNS("feFuncB");c.setAttribute("type","table"),o.appendChild(c),this.feFuncB=c,e.appendChild(o)}function SVGProLevelsFilter(e,t,n,r){this.filterManager=t;var i=this.filterManager.effectElements,o=createNS("feComponentTransfer");(i[10].p.k||0!==i[10].p.v||i[11].p.k||1!==i[11].p.v||i[12].p.k||1!==i[12].p.v||i[13].p.k||0!==i[13].p.v||i[14].p.k||1!==i[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",o)),(i[17].p.k||0!==i[17].p.v||i[18].p.k||1!==i[18].p.v||i[19].p.k||1!==i[19].p.v||i[20].p.k||0!==i[20].p.v||i[21].p.k||1!==i[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",o)),(i[24].p.k||0!==i[24].p.v||i[25].p.k||1!==i[25].p.v||i[26].p.k||1!==i[26].p.v||i[27].p.k||0!==i[27].p.v||i[28].p.k||1!==i[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",o)),(i[31].p.k||0!==i[31].p.v||i[32].p.k||1!==i[32].p.v||i[33].p.k||1!==i[33].p.v||i[34].p.k||0!==i[34].p.v||i[35].p.k||1!==i[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",o)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(o.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(o)),(i[3].p.k||0!==i[3].p.v||i[4].p.k||1!==i[4].p.v||i[5].p.k||1!==i[5].p.v||i[6].p.k||0!==i[6].p.v||i[7].p.k||1!==i[7].p.v)&&((o=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",r),e.appendChild(o),this.feFuncRComposed=this.createFeFunc("feFuncR",o),this.feFuncGComposed=this.createFeFunc("feFuncG",o),this.feFuncBComposed=this.createFeFunc("feFuncB",o))}function SVGDropShadowEffect(e,t,n,r,i){var o=t.container.globalData.renderConfig.filterSize,a=t.data.fs||o;e.setAttribute("x",a.x||o.x),e.setAttribute("y",a.y||o.y),e.setAttribute("width",a.width||o.width),e.setAttribute("height",a.height||o.height),this.filterManager=t;var s=createNS("feGaussianBlur");s.setAttribute("in","SourceAlpha"),s.setAttribute("result",r+"_drop_shadow_1"),s.setAttribute("stdDeviation","0"),this.feGaussianBlur=s,e.appendChild(s);var c=createNS("feOffset");c.setAttribute("dx","25"),c.setAttribute("dy","0"),c.setAttribute("in",r+"_drop_shadow_1"),c.setAttribute("result",r+"_drop_shadow_2"),this.feOffset=c,e.appendChild(c);var l=createNS("feFlood");l.setAttribute("flood-color","#00ff00"),l.setAttribute("flood-opacity","1"),l.setAttribute("result",r+"_drop_shadow_3"),this.feFlood=l,e.appendChild(l);var u=createNS("feComposite");u.setAttribute("in",r+"_drop_shadow_3"),u.setAttribute("in2",r+"_drop_shadow_2"),u.setAttribute("operator","in"),u.setAttribute("result",r+"_drop_shadow_4"),e.appendChild(u);var f=this.createMergeNode(r,[r+"_drop_shadow_4",i]);e.appendChild(f)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+r+" 0"),this.matrixFilter.setAttribute("values",n[0]-t[0]+" 0 0 0 "+t[0]+" "+(n[1]-t[1])+" 0 0 0 "+t[1]+" "+(n[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 1 0")}},SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,n=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+n+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var e,t,n,r,i=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(r=this.elem.maskManager.masksProperties.length,n=0):r=1+(n=this.filterManager.effectElements[0].p.v-1),(t=createNS("g")).setAttribute("fill","none"),t.setAttribute("stroke-linecap","round"),t.setAttribute("stroke-dashoffset",1);n<r;n+=1)e=createNS("path"),t.appendChild(e),this.paths.push({p:e,m:n});if(3===this.filterManager.effectElements[10].p.v){var o=createNS("mask"),a=createElementID();o.setAttribute("id",a),o.setAttribute("mask-type","alpha"),o.appendChild(t),this.elem.globalData.defs.appendChild(o);var s=createNS("g");for(s.setAttribute("mask","url("+getLocationHref()+"#"+a+")");i[0];)s.appendChild(i[0]);this.elem.layerElement.appendChild(s),this.masker=o,t.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(i=this.elem.layerElement.children||this.elem.layerElement.childNodes;i.length;)this.elem.layerElement.removeChild(i[0]);this.elem.layerElement.appendChild(t),this.elem.layerElement.removeAttribute("mask"),t.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=t},SVGStrokeEffect.prototype.renderFrame=function(e){var t;this.initialized||this.initialize();var n,r,i=this.paths.length;for(t=0;t<i;
vendor: 4,652 bytes, line 2
2t+=1)if(-1!==this.paths[t].m&&(n=this.elem.maskManager.viewData[this.paths[t].m],r=this.paths[t].p,(e||this.filterManager._mdf||n.prop._mdf)&&r.setAttribute("d",n.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||n.prop._mdf)){var o;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var a=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),s=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),c=r.getTotalLength();o="0 0 0 "+c*a+" ";var l,u=c*(s-a),f=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,d=Math.floor(u/f);for(l=0;l<d;l+=1)o+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";o+="0 "+10*c+" 0 0"}else o="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;r.setAttribute("stroke-dasharray",o)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(e||this.filterManager.effectElements[3].p._mdf)){var h=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*h[0])+","+bmFloor(255*h[1])+","+bmFloor(255*h[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v,i=r[0]+" "+n[0]+" "+t[0],o=r[1]+" "+n[1]+" "+t[1],a=r[2]+" "+n[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",i),this.feFuncG.setAttribute("tableValues",o),this.feFuncB.setAttribute("tableValues",a)}},SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var n=createNS(e);return n.setAttribute("type","table"),t.appendChild(n),n},SVGProLevelsFilter.prototype.getTableValue=function(e,t,n,r,i){for(var o,a,s=0,c=Math.min(e,t),l=Math.max(e,t),u=Array.call(null,{length:256}),f=0,d=i-r,h=t-e;s<=256;)a=(o=s/256)<=c?h<0?i:r:o>=l?h<0?r:i:r+d*Math.pow((o-e)/h,1/n),u[f]=a,f+=1,s+=256/255;return u.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,n=this.filterManager.effectElements;this.feFuncRComposed&&(e||n[3].p._mdf||n[4].p._mdf||n[5].p._mdf||n[6].p._mdf||n[7].p._mdf)&&(t=this.getTableValue(n[3].p.v,n[4].p.v,n[5].p.v,n[6].p.v,n[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||n[10].p._mdf||n[11].p._mdf||n[12].p._mdf||n[13].p._mdf||n[14].p._mdf)&&(t=this.getTableValue(n[10].p.v,n[11].p.v,n[12].p.v,n[13].p.v,n[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||n[17].p._mdf||n[18].p._mdf||n[19].p._mdf||n[20].p._mdf||n[21].p._mdf)&&(t=this.getTableValue(n[17].p.v,n[18].p.v,n[19].p.v,n[20].p.v,n[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||n[24].p._mdf||n[25].p._mdf||n[26].p._mdf||n[27].p._mdf||n[28].p._mdf)&&(t=this.getTableValue(n[24].p.v,n[25].p.v,n[26].p.v,n[27].p.v,n[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||n[31].p._mdf||n[32].p._mdf||n[33].p._mdf||n[34].p._mdf||n[35].p._mdf)&&(t=this.getTableValue(n[31].p.v,n[32].p.v,n[33].p.v,n[34].p.v,n[35].p.v),this.feFuncA.setAttribute("tableValues",t))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*t[0]),Math.round(255*t[1]),Math.round(255*t[2])))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var n=this.filterManager.effectElements[3].p.v,r=(this.filterManager.effectElements[2].p.v-90)*degToRads,i=n*Math.cos(r),o=n*Math.sin(r);
vendor: 4,202 bytes, line 2
2this.feOffset.setAttribute("dx",i),this.feOffset.setAttribute("dy",o)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,n){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=n,n.matteElement=createNS("g"),n.matteElement.appendChild(n.layerElement),n.matteElement.appendChild(n.transformedElement),n.baseElement=n.matteElement}function SVGGaussianBlurEffect(e,t,n,r){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var i=createNS("feGaussianBlur");i.setAttribute("result",r),e.appendChild(i),this.feGaussianBlur=i}function TransformEffect(){}function SVGTransformEffect(e,t){this.init(t)}function CVTransformEffect(e){this.init(e)}return SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,n=_svgMatteSymbols.length;t<n;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var n=e.layerElement.parentNode;if(n){for(var r,i=n.children,o=0,a=i.length;o<a&&i[o]!==e.layerElement;)o+=1;o<=a-2&&(r=i[o+1]);var s=createNS("use");s.setAttribute("href","#"+t),r?n.insertBefore(s,r):n.appendChild(s)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var n=createElementID(),r=createNS("mask");r.setAttribute("id",t.layerId),r.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var i=e.globalData.defs;i.appendChild(r);var o=createNS("symbol");o.setAttribute("id",n),this.replaceInParent(t,n),o.appendChild(t.layerElement),i.appendChild(o);var a=createNS("use");a.setAttribute("href","#"+n),r.appendChild(a),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,n=0,r=t.length;n<r;)t[n]&&t[n].data.ind===e&&this.setElementAsMask(this.elem,t[n]),n+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3*this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=3==n?0:t,i=2==n?0:t;this.feGaussianBlur.setAttribute("stdDeviation",r+" "+i);var o=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",o)}},TransformEffect.prototype.init=function(e){this.effectsManager=e,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(e){if(this._opMdf=!1,this._mdf=!1,e||this.effectsManager._mdf){var t=this.effectsManager.effectElements,n=t[0].p.v,r=t[1].p.v,i=1===t[2].p.v,o=t[3].p.v,a=i?o:t[4].p.v,s=t[5].p.v,c=t[6].p.v,l=t[7].p.v;this.matrix.reset(),this.matrix.translate(-n[0],-n[1],n[2]),this.matrix.scale(.01*a,.01*o,1),this.matrix.rotate(-l*degToRads),this.matrix.skewFromAxis(-s*degToRads,(c+90)*degToRads),this.matrix.translate(r[0],r[1],0),this._mdf=!0,this.opacity!==t[8].p.v&&(this.opacity=t[8].p.v,this._opMdf=!0)}},extendPrototype([TransformEffect],SVGTransformEffect),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},module.exports=factory())}
2,9407(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(96540);const i=e=>{const t=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()))(e);return t.charAt(0).toUpperCase()+t.slice(1)},o=(...e)=>e.filter((e,t,n)=>Boolean(e)&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim(),a=e=>{for(const t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0};var s={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"};const c=(0,r.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:i,className:c="",children:l,iconNode:u,...f},d)=>(0,r.createElement)("svg",{ref:d,...s,width:t,height:t,stroke:e,strokeWidth:i?24*Number(n)/Number(t):n,className:o("lucide",c),...!l&&!a(f)&&{"aria-hidden":"true"},...f},[...u.map(([e,t])=>(0,r.createElement)(e,t)),...Array.isArray(l)?l:[l]])),l=(e,t)=>{const n=(0,r.forwardRef)(({className:n,...a},s)=>{return(0,r.createElement)(c,{ref:s,iconNode:t,className:o(`lucide-${l=i(e),l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,n),...a}
2);var l});return n.displayName=i(e),n}},43241(e,t,n){"use strict";const r=(0,n(9407).A)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);n.d(t,["A",0,r])},90232(e,t,n){"use strict";const r=(0,n(9407).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);n.d(t,["A",0,r])},48635(e,t,n){"use strict";const r=(0,n(9407).A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);n.d(t,["A",0,r])},33167(e,t,n){"use strict";const r=(0,n(9407).A)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);n.d(t,["A",0,r])},41316(e,t,n){"use strict";const r=(0,n(9407).A)("check-check",[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]]);n.d(t,["A",0,r])},45773(e,t,n){"use strict";const r=(0,n(9407).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);n.d(t,["A",0,r])},75107(e,t,n){"use strict";const r=(0,n(9407).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);n.d(t,["A",0,r])},60250(e,t,n){"use strict";const r=(0,n(9407).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);n.d(t,["A",0,r])},72102(e,t,n){"use strict";const r=(0,n(9407).A)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);n.d(t,["A",0,r])},37946(e,t,n){"use strict";const r=(0,n(9407).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);n.d(t,["A",0,r])},44471(e,t,n){"use strict";const r=(0,n(9407).A)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);n.d(t,["A",0,r])},93610(e,t,n){"use strict";const r=(0,n(9407).A)("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);n.d(t,["A",0,r])},50180(e,t,n){"use strict";const r=(0,n(9407).A)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);n.d(t,["A",0,r])},68309(e,t,n){"use strict";const r=(0,n(9407).A)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);n.d(t,["A",0,r])},30684(e,t,n){"use strict";const r=(0,n(9407).A)("globe",[["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"}]]);n.d(t,["A",0,r])},97213(e,t,n){"use strict";const r=(0,n(9407).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);n.d(t,["A",0,r])},82853(e,t,n){"use strict";const r=(0,n(9407).A)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);n.d(t,["A",0,r])},55042(e,t,n){"use strict";const r=(0,n(9407).A)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);n.d(t,["A",0,r])},63775(e,t,n){"use strict";const r=(0,n(9407).A)("octagon-minus",[["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"M8 12h8",key:"1wcyev"}]]);n.d(t,["A",0,r])},28117(e,t,n){"use strict";const r=(0,n(9407).A)("paperclip",[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]]);n.d(t,["A",0,r])},14060(e,t,n){"use strict";const r=(0,n(9407).A)("refresh-ccw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]]);n.d(t,["A",0,r])},80964(e,t,n){"use strict";const r=(0,n(9407).A)("settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);n.d(t,["A",0,r])},418(e,t,n){"use strict";const r=(0,n(9407).A)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);n.d(t,["A",0,r])},48697(e,t,n){"use strict";const r=(0,n(9407).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
2],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);n.d(t,["A",0,r])},48089(e){"use strict";const t=e=>"object"==typeof e&&null!==e,n=Symbol("skip"),r=e=>t(e)&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),i=(e,t,o,a=new WeakMap)=>{if(o={deep:!1,target:{},...o},a.has(e))return a.get(e);a.set(e,o.target);const{target:s}=o;delete o.target;const c=e=>e.map(e=>r(e)?i(e,t,o,a):e);if(Array.isArray(e))return c(e);for(const[l,u]of Object.entries(e)){const f=t(l,u,e);if(f===n)continue;let[d,h,{shouldRecurse:p=!0}={}]=f;"__proto__"!==d&&(o.deep&&p&&r(h)&&(h=Array.isArray(h)?c(h):i(h,t,o,a)),s[d]=h)}return s};e.exports=(e,n,r)=>{if(!t(e))throw new TypeError(`Expected an object, got \`${e}\` (${typeof e})`);return i(e,n,r)},e.exports.mapObjectSkip=n},41811(e,t,n){"use strict";n.r(t);var r=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function i(e,t){return e===t||!(!r(e)||!r(t))}function o(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!i(e[n],t[n]))return!1;return!0}n.d(t,["default",0,function(e,t){var n;void 0===t&&(t=o);var r,i=[],a=!1;return function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return a&&n===this&&t(o,i)||(r=e.apply(this,o),a=!0,n=this,i=o),r}}])},59983(){},99771(e,t){!function(){"use strict";var e=["1","2","3","4","5","6","7","8","9","T","J","Q","K","A"];class n{constructor(t){this.value=t.substr(0,1),this.suit=t.substr(1,1).toLowerCase(),this.rank=e.indexOf(this.value),this.wildValue=t.substr(0,1)}toString(){return this.wildValue.replace("T","10")+this.suit}static sort(e,t){return e.rank>t.rank?-1:e.rank<t.rank?1:0}}
2class r{constructor(e,t,r,i){if(this.cardPool=[],this.cards=[],this.suits={},this.values=[],this.wilds=[],this.name=t,this.game=r,this.sfLength=0,this.alwaysQualifies=!0,i&&this.game.lowestQualified&&(this.alwaysQualifies=!1),"standard"===r.descr&&new Set(e).size!==e.length)throw new Error("Duplicate cards");for(var o,a,s,c,l,u=this.game.handValues.length,f=0;f<this.game.handValues.length&&this.game.handValues[f]!==this.constructor;f++);for(this.rank=u-f,this.cardPool=e.map(function(e){return"string"==typeof e?new n(e):e}),f=0;f<this.cardPool.length;f++)(l=this.cardPool[f]).value===this.game.wildValue&&(l.rank=-1);for(this.cardPool=this.cardPool.sort(n.sort),f=0;f<this.cardPool.length;f++)-1===(l=this.cardPool[f]).rank?this.wilds.push(l):((o=this.suits)[s=l.suit]||(o[s]=[]),(a=this.values)[c=l.rank]||(a[c]=[]),this.suits[l.suit].push(l),this.values[l.rank].push(l));this.values.reverse(),this.isPossible=this.solve()}compare(e){if(this.rank<e.rank)return 1;if(this.rank>e.rank)return-1;for(var t=0,n=0;n<=4;n++){if(this.cards[n]&&e.cards[n]&&this.cards[n].rank<e.cards[n].rank){t=1;break}if(this.cards[n]&&e.cards[n]&&this.cards[n].rank>e.cards[n].rank){t=-1;break}}return t}loseTo(e){return this.compare(e)>0}getNumCardsByRank(t){for(var n=this.values[t],r=n?n.length:0,i=0;i<this.wilds.length;i++)this.wilds[i].rank>-1||(n?1!==this.game.wildStatus&&n[0].rank!==e.length-1||(r+=1):1!==this.game.wildStatus&&t!==e.length-1||(r+=1));return r}getCardsForFlush(t,r){for(var i=(this.suits[t]||[]).sort(n.sort),o=0;o<this.wilds.length;o++){var a=this.wilds[o];if(r){for(var s=0;s<e.length&&s<i.length&&i[s].rank===e.length-1-s;)s+=1;a.rank=e.length-1-s,a.wildValue=e[a.rank]}i.push(a),i=i.sort(n.sort)}return i}resetWildCards(){for(var e=0;e<this.wilds.length;e++)this.wilds[e].rank=-1,this.wilds[e].wildValue=this.wilds[e].value}nextHighest(){var t,r=[];if(r=r.concat(this.cards),t=this.cardPool.filter(function(e){if(r.indexOf(e)<0)return!0}),0===this.game.wildStatus){for(var i=0;i<t.length;i++){var o=t[i];-1===o.rank&&(o.wildValue="A",o.rank=e.length-1)}t=t.sort(n.sort)}return t}toString(){return this.cards.map(function(e){return e.toString()}).join(", ")}toArray(){return this.cards.map(function(e){return e.toString()})}qualifiesHigh(){return!(this.game.lowestQualified&&!this.alwaysQualifies)||this.compare(r.solve(this.game.lowestQualified,this.game))<=0}static winners(e){e=e.filter(function(e){return e.qualifiesHigh()});var t=Math.max.apply(Math,e.map(function(e){return e.rank}));return e=(e=e.filter(function(e){return e.rank===t})).filter(function(t){for(var n=!1,r=0;r<e.length&&!(n=t.loseTo(e[r]));r++);return!n})}static solve(e,t,n){e=e||[""];for(var r=(t="string"==typeof(t=t||"standard")?new E(t):t).handValues,i=null,o=0;o<r.length&&!(i=new r[o](e,t,n)).isPossible;o++);return i}static stripWilds(e,t){var n,r;e=e||[""],n=[],r=[];for(var i=0;i<e.length;i++)-1===e[i].rank?n.push(e[i]):r.push(e[i]);return[n,r]}}class i extends r{constructor(e,t,n){super(e,"Straight Flush",t,n)}solve(){var e;this.resetWildCards();var t=null,n=[];for(var i in this.suits)if((e=this.getCardsForFlush(i,!1))&&e.length>=this.game.sfQualify){t=e;break}if(t){if("standard"!==this.game.descr)for(var i in this.suits)t[0].suit!==i&&(n=n.concat(this.suits[i]||[]),n=r.stripWilds(n,this.game)[1]);var o=new m(t,this.game);o.isPossible&&(this.cards=o.cards,this.cards=this.cards.concat(n),this.sfLength=o.sfLength)}return this.cards[0]&&13===this.cards[0].rank?this.descr="Royal Flush":this.cards.length>=this.game.sfQualify&&(this.descr=this.name+", "+this.cards[0].toString().slice(0,-1)+i+" High"),this.cards.length>=this.game.sfQualify}}class o extends i{constructor(e,t,n){super(e,t,n)}solve(){return this.resetWildCards(),super.solve()&&"Royal Flush"===this.descr}}class a extends o{constructor(e,t,n){super(e,t,n)}solve(){var e=0;this.resetWildCards();var t=super.solve();if(t&&this.cards){for(e=0;e<this.game.sfQualify&&e<this.cards.length;e++)if(this.cards[e].value===this.game.wildValue){t=!1,this.descr="Wild Royal Flush";break}e===this.game.sfQualify&&(this.descr="Royal Flush")}return t}}class s extends o{constructor(e,t,n){super(e,t,n)}solve(){var e=0;this.resetWildCards();var t=super.solve();if(t&&this.cards){for(e=0;e<this.game.sfQualify&&e<this.cards.length;e++)if(this.cards[e].value===this.game.wildValue){this.descr="Wild Royal Flush";break}e===this.game.sfQualify&&(t=!1,this.descr="Royal Flush")}return t}}class c extends r{constructor(e,t,n){super(e,"Five of a Kind",t,n)}solve(){this.resetWildCards();for(var t=0;t<this.values.length;t++)if(5===this.getNumCardsByRank(t)){this.cards=this.values[t]||[];for(var n=0;n<this.wilds.length&&this.cards.length<5;n++){var r=this.wilds[n];this.cards?r.rank=this.cards[0].rank:r.rank=e.length-1,r.wildValue=e[r.rank],this.cards.push(r)}
2this.cards=this.cards.concat(this.nextHighest().slice(0,this.game.cardsInHand-5));break}return this.cards.length>=5&&(this.descr=this.name+", "+this.cards[0].toString().slice(0,-1)+"'s"),this.cards.length>=5}}class l extends r{constructor(e,t,n){super(e,"Four of a Kind with Pair or Better",t,n)}solve(){var t;this.resetWildCards();for(var n=0;n<this.values.length;n++)if(4===this.getNumCardsByRank(n)){this.cards=this.values[n]||[];for(var r=0;r<this.wilds.length&&this.cards.length<4;r++){var i=this.wilds[r];this.cards?i.rank=this.cards[0].rank:i.rank=e.length-1,i.wildValue=e[i.rank],this.cards.push(i)}break}if(4===this.cards.length)for(n=0;n<this.values.length;n++)if((!(t=this.values[n])||this.cards[0].wildValue!==t[0].wildValue)&&this.getNumCardsByRank(n)>=2){for(this.cards=this.cards.concat(t||[]),r=0;r<this.wilds.length;r++)-1===(i=this.wilds[r]).rank&&(t?i.rank=t[0].rank:this.cards[0].rank===e.length-1&&1===this.game.wildStatus?i.rank=e.length-2:i.rank=e.length-1,i.wildValue=e[i.rank],this.cards.push(i));this.cards=this.cards.concat(this.nextHighest().slice(0,this.game.cardsInHand-6));break}if(this.cards.length>=6){var o=this.cards[0].toString().slice(0,-1)+"'s over "+this.cards[4].toString().slice(0,-1)+"'s";this.descr=this.name+", "+o}return this.cards.length>=6}}class u extends r{constructor(e,t,n){super(e,"Four of a Kind",t,n)}solve(){this.resetWildCards();for(var t=0;t<this.values.length;t++)if(4===this.getNumCardsByRank(t)){this.cards=this.values[t]||[];for(var n=0;n<this.wilds.length&&this.cards.length<4;n++){var r=this.wilds[n];this.cards?r.rank=this.cards[0].rank:r.rank=e.length-1,r.wildValue=e[r.rank],this.cards.push(r)}this.cards=this.cards.concat(this.nextHighest().slice(0,this.game.cardsInHand-4));break}return this.cards.length>=4&&(this.game.noKickers&&(this.cards.length=4),this.descr=this.name+", "+this.cards[0].toString().slice(0,-1)+"'s"),this.cards.length>=4}}class f extends r{constructor(e,t,n){super(e,"Four Wild Cards",t,n)}solve(){return 4===this.wilds.length&&(this.cards=this.wilds,this.cards=this.cards.concat(this.nextHighest().slice(0,this.game.cardsInHand-4))),this.cards.length>=4&&(this.game.noKickers&&(this.cards.length=4),this.descr=this.name),this.cards.length>=4}}class d extends r{constructor(e,t,n){super(e,"Three of a Kind with Two Pair",t,n)}solve(){this.resetWildCards();for(var t=0;t<this.values.length;t++)if(3===this.getNumCardsByRank(t)){this.cards=this.values[t]||[];for(var n=0;n<this.wilds.length&&this.cards.length<3;n++){var r=this.wilds[n];this.cards?r.rank=this.cards[0].rank:r.rank=e.length-1,r.wildValue=e[r.rank],this.cards.push(r)}break}if(3===this.cards.length)for(t=0;t<this.values.length;t++){var i;if(!(i=this.values[t])||this.cards[0].wildValue!==i[0].wildValue){if(this.cards.length>5&&2===this.getNumCardsByRank(t)){for(this.cards=this.cards.concat(i||[]),n=0;n<this.wilds.length;n++)-1===(r=this.wilds[n]).rank&&(i?r.rank=i[0].rank:this.cards[0].rank===e.length-1&&1===this.game.wildStatus?r.rank=e.length-2:r.rank=e.length-1,r.wildValue=e[r.rank],this.cards.push(r));this.cards=this.cards.concat(this.nextHighest().slice(0,this.game.cardsInHand-4));break}if(2===this.getNumCardsByRank(t))for(this.cards=this.cards.concat(i),n=0;n<this.wilds.length;n++)-1===(r=this.wilds[n]).rank&&(i?r.rank=i[0].rank:this.cards[0].rank===e.length-1&&1===this.game.wildStatus?r.rank=e.length-2:r.rank=e.length-1,r.wildValue=e[r.rank],this.cards.push(r))}}if(this.cards.length>=7){var o=this.cards[0].toString().slice(0,-1)+"'s over "+this.cards[3].toString().slice(0,-1)+"'s & "+this.cards[5].value+"'s";this.descr=this.name+", "+o}return this.cards.length>=7}}class h extends r{constructor(e,t,n){super(e,"Full House",t,n)}solve(){var t;this.resetWildCards();for(var n=0;n<this.values.length;n++)if(3===this.getNumCardsByRank(n)){this.cards=this.values[n]||[];for(var r=0;r<this.wilds.length&&this.cards.length<3;r++){var i=this.wilds[r];this.cards?i.rank=this.cards[0].rank:i.rank=e.length-1,i.wildValue=e[i.rank],this.cards.push(i)}break}if(3===this.cards.length)for(n=0;n<this.values.length;n++)if((!(t=this.values[n])||this.cards[0].wildValue!==t[0].wildValue)&&this.getNumCardsByRank(n)>=2){for(this.cards=this.cards.concat(t||[]),r=0;r<this.wilds.length;r++)-1===(i=this.wilds[r]).rank&&(t?i.rank=t[0].rank:this.cards[0].rank===e.length-1&&1===this.game.wildStatus?i.rank=e.length-2:i.rank=e.length-1,i.wildValue=e[i.rank],this.cards.push(i));
2this.cards=this.cards.concat(this.nextHighest().slice(0,this.game.cardsInHand-5));break}if(this.cards.length>=5){var o=this.cards[0].toString().slice(0,-1)+"'s over "+this.cards[3].toString().slice(0,-1)+"'s";this.descr=this.name+", "+o}return this.cards.length>=5}}class p extends r{constructor(e,t,n){super(e,"Flush",t,n)}solve(){for(var e in this.sfLength=0,this.resetWildCards(),this.suits){var t=this.getCardsForFlush(e,!0);if(t.length>=this.game.sfQualify){this.cards=t;break}}return this.cards.length>=this.game.sfQualify&&(this.descr=this.name+", "+this.cards[0].toString().slice(0,-1)+e+" High",this.sfLength=this.cards.length,this.cards.length<this.game.cardsInHand&&(this.cards=this.cards.concat(this.nextHighest().slice(0,this.game.cardsInHand-this.cards.length)))),this.cards.length>=this.game.sfQualify}}class m extends r{constructor(e,t,n){super(e,"Straight",t,n)}solve(){var t,r;if(this.resetWildCards(),1===this.game.wheelStatus){if(this.cards=this.getWheel(),this.cards.length){for(var i=0,o=0;o<this.cards.length;o++)(t=this.cards[o]).value===this.game.wildValue&&(i+=1),0===t.rank&&(t.rank=e.indexOf("A"),t.wildValue="A","1"===t.value&&(t.value="A"));for(this.cards=this.cards.sort(n.sort);i<this.wilds.length&&this.cards.length<this.game.cardsInHand;i++)(t=this.wilds[i]).rank=e.indexOf("A"),t.wildValue="A",this.cards.push(t);return this.descr=this.name+", Wheel",this.sfLength=this.sfQualify,"A"===this.cards[0].value?this.cards=this.cards.concat(this.nextHighest().slice(1,this.game.cardsInHand-this.cards.length+1)):this.cards=this.cards.concat(this.nextHighest().slice(0,this.game.cardsInHand-this.cards.length)),!0}this.resetWildCards()}for(this.cards=this.getGaps(),o=0;o<this.wilds.length;o++){if(t=this.wilds[o],r=this.getGaps(this.cards.length),this.cards.length===r.length)this.cards[0].rank<e.length-1?(t.rank=this.cards[0].rank+1,t.wildValue=e[t.rank],this.cards.push(t)):(t.rank=this.cards[this.cards.length-1].rank-1,t.wildValue=e[t.rank],this.cards.push(t));else for(var a=1;a<this.cards.length;a++)if(this.cards[a-1].rank-this.cards[a].rank>1){t.rank=this.cards[a-1].rank-1,t.wildValue=e[t.rank],this.cards.push(t);break}this.cards=this.cards.sort(n.sort)}return this.cards.length>=this.game.sfQualify&&(this.descr=this.name+", "+this.cards[0].toString().slice(0,-1)+" High",this.cards=this.cards.slice(0,this.game.cardsInHand),this.sfLength=this.cards.length,this.cards.length<this.game.cardsInHand&&(0===this.cards[this.sfLength-1].rank?this.cards=this.cards.concat(this.nextHighest().slice(1,this.game.cardsInHand-this.cards.length+1)):this.cards=this.cards.concat(this.nextHighest().slice(0,this.game.cardsInHand-this.cards.length)))),this.cards.length>=this.game.sfQualify}getGaps(t){var i,o,a,s,c,l,u,f,d,h=r.stripWilds(this.cardPool,this.game);for(i=h[0],o=h[1],a=0;a<o.length;a++)"A"===(s=o[a]).wildValue&&o.push(new n("1"+s.suit));for(o=o.sort(n.sort),t?a=o[0].rank+1:(t=this.game.sfQualify,a=e.length),c=[];a>0;a--){l=[],u=0;for(var p=0;p<o.length;p++)if(!((s=o[p]).rank>a))if(null===(d=(f=l[l.length-1])?f.rank-s.rank:a-s.rank))l.push(s);else{if(t<u+d+l.length)break;d>0&&(l.push(s),u+=d-1)}if(l.length>c.length&&(c=l.slice()),this.game.sfQualify-c.length<=i.length)break}return c}getWheel(){var t,i,o,a,s,c,l,u=r.stripWilds(this.cardPool,this.game);for(t=u[0],i=u[1],o=0;o<i.length;o++)"A"===(a=i[o]).wildValue&&i.push(new n("1"+a.suit));for(i=i.sort(n.sort),s=[],c=0,o=this.game.sfQualify-1;o>=0;o--){l=!1;for(var f=0;f<i.length;f++)if(!((a=i[f]).rank>o)){if(a.rank<o)break;s.push(a),l=!0;break}if(!l){if(!(c<t.length))return[];t[c].rank=o,t[c].wildValue=e[o],s.push(t[c]),c+=1}}return s}}class y extends r{constructor(e,t,n){super(e,"Two Three Of a Kind",t,n)}solve(){this.resetWildCards();for(var t=0;t<this.values.length;t++){var n=this.values[t];if(this.cards.length>0&&3===this.getNumCardsByRank(t)){this.cards=this.cards.concat(n||[]);for(var r=0;r<this.wilds.length;r++)-1===(i=this.wilds[r]).rank&&(n?i.rank=n[0].rank:this.cards[0].rank===e.length-1&&1===this.game.wildStatus?i.rank=e.length-2:i.rank=e.length-1,i.wildValue=e[i.rank],this.cards.push(i));
2this.cards=this.cards.concat(this.nextHighest().slice(0,this.game.cardsInHand-6));break}if(3===this.getNumCardsByRank(t))for(this.cards=this.cards.concat(n),r=0;r<this.wilds.length;r++){var i;-1===(i=this.wilds[r]).rank&&(n?i.rank=n[0].rank:this.cards[0].rank===e.length-1&&1===this.game.wildStatus?i.rank=e.length-2:i.rank=e.length-1,i.wildValue=e[i.rank],this.cards.push(i))}}if(this.cards.length>=6){var o=this.cards[0].toString().slice(0,-1)+"'s & "+this.cards[3].toString().slice(0,-1)+"'s";this.descr=this.name+", "+o}return this.cards.length>=6}}class g extends r{constructor(e,t,n){super(e,"Three of a Kind",t,n)}solve(){this.resetWildCards();for(var t=0;t<this.values.length;t++)if(3===this.getNumCardsByRank(t)){this.cards=this.values[t]||[];for(var n=0;n<this.wilds.length&&this.cards.length<3;n++){var r=this.wilds[n];this.cards?r.rank=this.cards[0].rank:r.rank=e.length-1,r.wildValue=e[r.rank],this.cards.push(r)}this.cards=this.cards.concat(this.nextHighest().slice(0,this.game.cardsInHand-3));break}return this.cards.length>=3&&(this.game.noKickers&&(this.cards.length=3),this.descr=this.name+", "+this.cards[0].toString().slice(0,-1)+"'s"),this.cards.length>=3}}class v extends r{constructor(e,t,n){super(e,"Three Pair",t,n)}solve(){this.resetWildCards();for(var t=0;t<this.values.length;t++){var n=this.values[t];if(this.cards.length>2&&2===this.getNumCardsByRank(t)){this.cards=this.cards.concat(n||[]);for(var r=0;r<this.wilds.length;r++)-1===(i=this.wilds[r]).rank&&(n?i.rank=n[0].rank:this.cards[0].rank===e.length-1&&1===this.game.wildStatus?i.rank=e.length-2:i.rank=e.length-1,i.wildValue=e[i.rank],this.cards.push(i));this.cards=this.cards.concat(this.nextHighest().slice(0,this.game.cardsInHand-6));break}if(this.cards.length>0&&2===this.getNumCardsByRank(t))for(this.cards=this.cards.concat(n||[]),r=0;r<this.wilds.length;r++)-1===(i=this.wilds[r]).rank&&(n?i.rank=n[0].rank:this.cards[0].rank===e.length-1&&1===this.game.wildStatus?i.rank=e.length-2:i.rank=e.length-1,i.wildValue=e[i.rank],this.cards.push(i));else if(2===this.getNumCardsByRank(t))for(this.cards=this.cards.concat(n),r=0;r<this.wilds.length;r++){var i;-1===(i=this.wilds[r]).rank&&(n?i.rank=n[0].rank:this.cards[0].rank===e.length-1&&1===this.game.wildStatus?i.rank=e.length-2:i.rank=e.length-1,i.wildValue=e[i.rank],this.cards.push(i))}}if(this.cards.length>=6){var o=this.cards[0].toString().slice(0,-1)+"'s & "+this.cards[2].toString().slice(0,-1)+"'s & "+this.cards[4].toString().slice(0,-1)+"'s";this.descr=this.name+", "+o}return this.cards.length>=6}}class b extends r{constructor(e,t,n){super(e,"Two Pair",t,n)}solve(){this.resetWildCards();for(var t=0;t<this.values.length;t++){var n=this.values[t];if(this.cards.length>0&&2===this.getNumCardsByRank(t)){this.cards=this.cards.concat(n||[]);for(var r=0;r<this.wilds.length;r++)-1===(i=this.wilds[r]).rank&&(n?i.rank=n[0].rank:this.cards[0].rank===e.length-1&&1===this.game.wildStatus?i.rank=e.length-2:i.rank=e.length-1,i.wildValue=e[i.rank],this.cards.push(i));this.cards=this.cards.concat(this.nextHighest().slice(0,this.game.cardsInHand-4));break}if(2===this.getNumCardsByRank(t))for(this.cards=this.cards.concat(n),r=0;r<this.wilds.length;r++){var i;-1===(i=this.wilds[r]).rank&&(n?i.rank=n[0].rank:this.cards[0].rank===e.length-1&&1===this.game.wildStatus?i.rank=e.length-2:i.rank=e.length-1,i.wildValue=e[i.rank],this.cards.push(i))}}if(this.cards.length>=4){this.game.noKickers&&(this.cards.length=4);var o=this.cards[0].toString().slice(0,-1)+"'s & "+this.cards[2].toString().slice(0,-1)+"'s";this.descr=this.name+", "+o}return this.cards.length>=4}}class w extends r{constructor(e,t,n){super(e,"Pair",t,n)}solve(){this.resetWildCards();for(var t=0;t<this.values.length;t++)if(2===this.getNumCardsByRank(t)){this.cards=this.cards.concat(this.values[t]||[]);for(var n=0;n<this.wilds.length&&this.cards.length<2;n++){var r=this.wilds[n];this.cards?r.rank=this.cards[0].rank:r.rank=e.length-1,r.wildValue=e[r.rank],this.cards.push(r)}this.cards=this.cards.concat(this.nextHighest().slice(0,this.game.cardsInHand-2));break}return this.cards.length>=2&&(this.game.noKickers&&(this.cards.length=2),this.descr=this.name+", "+this.cards[0].toString().slice(0,-1)+"'s"),this.cards.length>=2}}class x extends r{constructor(e,t,n){super(e,"High Card",t,n)}solve(){this.cards=this.cardPool.slice(0,this.game.cardsInHand);for(var t=0;t<this.cards.length;t++)this.cards[t],this.cards[t].value===this.game.wildValue&&(this.cards[t].wildValue="A",this.cards[t].rank=e.indexOf("A"));return this.game.noKickers&&(this.cards.length=1),this.cards=this.cards.sort(n.sort),this.descr=this.cards[0].toString().slice(0,-1)+" High",!0}}class S{constructor(e){this.baseHand=null,this.hiHand=null,this.loHand=null,this.game=null,this.loGame=new E("paigowpokerlo"),this.hiGame=new E("paigowpokerhi"),Array.isArray(e)?this.baseHand=r.solve(e,new E("paigowpokerfull")):this.baseHand=e,this.game=this.baseHand.game}
2splitHouseWay(){var t,n,o=this.game.handValues.length-this.baseHand.rank,a=this.game.handValues[o];if(a===c)"K"===this.baseHand.cards[5].value&&"K"===this.baseHand.cards[6].value?(n=this.baseHand.cards.slice(5,7),t=this.baseHand.cards.slice(0,5)):(n=this.baseHand.cards.slice(0,2),t=this.baseHand.cards.slice(2,7));else if(a===l)"A"===this.baseHand.cards[0].wildValue&&"K"!==this.baseHand.cards[4].value?(t=this.baseHand.cards.slice(0,2),n=this.baseHand.cards.slice(2,4),t=t.concat(this.baseHand.cards.slice(4,7))):(t=this.baseHand.cards.slice(0,4),n=this.baseHand.cards.slice(4,6),t.push(this.baseHand.cards[6]));else if(a===i||a===p||a===m){var s,f=new E("paigowpokeralt"),x=r.solve(this.baseHand.cards,f),S=f.handValues.length-x.rank;if(f.handValues[S]===u)t=(s=this.getSFData(x.cards))[0],n=s[1];else if(f.handValues[S]===h)t=x.cards.slice(0,3),n=x.cards.slice(3,5),t=t.concat(x.cards.slice(5,7));else if(f.handValues[S]===g)t=(s=this.getSFData(x.cards))[0],n=s[1];else if(f.handValues[S]===v)n=x.cards.slice(0,2),t=x.cards.slice(2,7);else if(f.handValues[S]===b)x.cards[0].rank<6?"A"===x.cards[4].wildValue?(t=x.cards.slice(0,4),n=x.cards.slice(4,6),t.push(x.cards[6])):(t=(s=this.getSFData(x.cards))[0],n=s[1]):x.cards[0].rank<10?"A"===x.cards[4].wildValue?(t=x.cards.slice(0,4),n=x.cards.slice(4,6),t.push(x.cards[6])):(t=x.cards.slice(0,2),n=x.cards.slice(2,4),t=t.concat(x.cards.slice(4,7))):"A"!==x.cards[0].wildValue&&x.cards[2].rank<6&&"A"===x.cards[4].wildValue?(t=x.cards.slice(0,4),n=x.cards.slice(4,6),t.push(x.cards[6])):(t=x.cards.slice(0,2),n=x.cards.slice(2,4),t=t.concat(x.cards.slice(4,7)));else if(f.handValues[S]===w)if(x.cards[0].rank>=e.indexOf("T")&&x.cards[0].rank<=e.indexOf("K")&&"A"===x.cards[2].wildValue){var k=x.cards.slice(0,2);k=k.concat(x.cards.slice(3,7)),(s=this.getSFData(k))[0]?(t=s[0],(n=s[1]).push(x.cards[2])):(t=x.cards.slice(0,2),n=x.cards.slice(2,4),t=t.concat(x.cards.slice(4,7)))}else(s=this.getSFData(x.cards.slice(2,7)))[0]?(t=s[0],n=x.cards.slice(0,2)):(t=(s=this.getSFData(x.cards))[0],n=s[1]);else t=(s=this.getSFData(x.cards))[0],n=s[1]}else a===u?this.baseHand.cards[0].rank<6||this.baseHand.cards[0].rank<10&&"A"===this.baseHand.cards[4].wildValue?(t=this.baseHand.cards.slice(0,4),n=this.baseHand.cards.slice(4,6),t.push(this.baseHand.cards[6])):(t=this.baseHand.cards.slice(0,2),n=this.baseHand.cards.slice(2,4),t=t.concat(this.baseHand.cards.slice(4,7))):a===y?(n=this.baseHand.cards.slice(0,2),(t=this.baseHand.cards.slice(3,6)).push(this.baseHand.cards[2]),t.push(this.baseHand.cards[6])):a===d?(t=this.baseHand.cards.slice(0,3),n=this.baseHand.cards.slice(3,5),t=t.concat(this.baseHand.cards.slice(5,7))):a===h?"2"===this.baseHand.cards[3].wildValue&&"A"===this.baseHand.cards[5].wildValue&&"K"===this.baseHand.cards[6].wildValue?(t=this.baseHand.cards.slice(0,5),n=this.baseHand.cards.slice(5,7)):(t=this.baseHand.cards.slice(0,3),n=this.baseHand.cards.slice(3,5),t=t.concat(this.baseHand.cards.slice(5,7))):a===g?"A"===this.baseHand.cards[0].wildValue?(t=this.baseHand.cards.slice(0,2),n=this.baseHand.cards.slice(2,4),t=t.concat(this.baseHand.cards.slice(4,7))):(t=this.baseHand.cards.slice(0,3),n=this.baseHand.cards.slice(3,5),t=t.concat(this.baseHand.cards.slice(5,7))):a===v?(n=this.baseHand.cards.slice(0,2),t=this.baseHand.cards.slice(2,7)):a===b?this.baseHand.cards[0].rank<6?(t=this.baseHand.cards.slice(0,4),n=this.baseHand.cards.slice(4,6),t.push(this.baseHand.cards[6])):this.baseHand.cards[0].rank<10?"A"===this.baseHand.cards[4].wildValue?(t=this.baseHand.cards.slice(0,4),n=this.baseHand.cards.slice(4,6),t.push(this.baseHand.cards[6])):(t=this.baseHand.cards.slice(0,2),n=this.baseHand.cards.slice(2,4),t=t.concat(this.baseHand.cards.slice(4,7))):"A"!==this.baseHand.cards[0].wildValue&&this.baseHand.cards[2].rank<6&&"A"===this.baseHand.cards[4].wildValue?(t=this.baseHand.cards.slice(0,4),n=this.baseHand.cards.slice(4,6),t.push(this.baseHand.cards[6])):(t=this.baseHand.cards.slice(0,2),n=this.baseHand.cards.slice(2,4),t=t.concat(this.baseHand.cards.slice(4,7))):a===w?(t=this.baseHand.cards.slice(0,2),n=this.baseHand.cards.slice(2,4),t=t.concat(this.baseHand.cards.slice(4,7))):(t=[this.baseHand.cards[0]],n=this.baseHand.cards.slice(1,3),t=t.concat(this.baseHand.cards.slice(3,7)));this.hiHand=r.solve(t,this.hiGame),this.loHand=r.solve(n,this.loGame)}getSFData(e){for(var t,r,o,a,s=[new i(e,new E("paigowpokersf7")),new i(e,new E("paigowpokersf6")),new i(e,this.game),new p(e,new E("paigowpokersf7")),new p(e,new E("paigowpokersf6")),new p(e,this.game),new m(e,new E("paigowpokersf7")),new m(e,new E("paigowpokersf6")),new m(e,this.game)],c=0;c<s.length;c++){var l=s[c];if(l.isPossible)if(7===l.sfLength?r=[l.cards[0],l.cards[1]]:6===l.sfLength?(r=[l.cards[0]],e.length>6&&r.push(l.cards[6])):e.length>5&&(r=[l.cards[5]],e.length>6&&r.push(l.cards[6])),r)r=r.sort(n.sort),(!o||o[0].rank<r[0].rank||o.length>1&&o[0].rank===r[0].rank&&o[1].rank<r[1].rank)&&(o=r,a=l);else if(!a){a=l;break}}return a&&(t=7===a.sfLength?a.cards.slice(2,7):6===a.sfLength?a.cards.slice(1,6):a.cards.slice(0,5)),[t,o]}qualifiesValid(){var e=r.winners([this.hiHand,this.loHand]);return!(1===e.length&&e[0]===this.loHand)}static winners(e,t){if(!e.qualifiesValid())return t.qualifiesValid()?-1:0;if(!t.qualifiesValid())return 1;var n=r.winners([e.hiHand,t.hiHand]),i=r.winners([e.loHand,t.loHand]);return 1===n.length&&n[0]===e.hiHand?1===i.length&&i[0]===e.loHand?1:0:1===i.length&&i[0]===e.loHand?0:-1}static setHands(e,t){var n=[];Array.isArray(e)&&(e=r.solve(e,new E("paigowpokerhi"))),n=n.concat(e.cardPool),Array.isArray(t)&&(t=r.solve(t,new E("paigowpokerlo"))),n=n.concat(t.cardPool);var i=new S(n);return i.hiHand=e,i.loHand=t,i}static solve(e){var t=new S(e=e||[""]);return t.splitHouseWay(),t}}var k={standard:{cardsInHand:5,handValues:[i,u,h,p,m,g,b,w,x],wildValue:null,wildStatus:1,wheelStatus:0,sfQualify:5,lowestQualified:null,noKickers:!1},jacksbetter:{cardsInHand:5,handValues:[i,u,h,p,m,g,b,w,x],wildValue:null,wildStatus:1,wheelStatus:0,sfQualify:5,lowestQualified:["Jc","Jd","4h","3s","2c"],noKickers:!0},joker:{cardsInHand:5,handValues:[a,c,s,i,u,h,p,m,g,b,x],wildValue:"O",wildStatus:1,wheelStatus:0,sfQualify:5,lowestQualified:["4c","3d","3h","2s","2c"],noKickers:!0},deuceswild:{cardsInHand:5,handValues:[a,f,s,c,i,u,h,p,m,g,x],wildValue:"2",wildStatus:1,wheelStatus:0,sfQualify:5,lowestQualified:["5c","4d","3h","3s","3c"],noKickers:!0},threecard:{cardsInHand:3,handValues:[i,g,m,p,w,x],wildValue:null,wildStatus:1,wheelStatus:0,sfQualify:3,lowestQualified:["Qh","3s","2c"],noKickers:!1},fourcard:{cardsInHand:4,handValues:[u,i,g,p,m,b,w,x],wildValue:null,wildStatus:1,wheelStatus:0,sfQualify:4,lowestQualified:null,noKickers:!0},fourcardbonus:{cardsInHand:4,handValues:[u,i,g,p,m,b,w,x],wildValue:null,wildStatus:1,wheelStatus:0,sfQualify:4,lowestQualified:["Ac","Ad","3h","2s"],noKickers:!0},paigowpokerfull:{cardsInHand:7,handValues:[c,l,i,p,m,u,y,d,h,g,v,b,w,x],wildValue:"O",wildStatus:0,wheelStatus:1,sfQualify:5,lowestQualified:null},paigowpokeralt:{cardsInHand:7,handValues:[u,h,g,v,b,w,x],wildValue:"O",wildStatus:0,wheelStatus:1,sfQualify:5,lowestQualified:null},paigowpokersf6:{cardsInHand:7,handValues:[i,p,m],wildValue:"O",wildStatus:0,wheelStatus:1,sfQualify:6,lowestQualified:null},paigowpokersf7:{cardsInHand:7,handValues:[i,p,m],wildValue:"O",wildStatus:0,wheelStatus:1,sfQualify:7,lowestQualified:null},paigowpokerhi:{cardsInHand:5,handValues:[c,i,u,h,p,m,g,b,w,x],wildValue:"O",wildStatus:0,wheelStatus:1,sfQualify:5,lowestQualified:null},paigowpokerlo:{cardsInHand:2,handValues:[w,x],wildValue:"O",wildStatus:0,wheelStatus:1,sfQualify:5,lowestQualified:null}};class E{constructor(e){this.descr=e,this.cardsInHand=0,this.handValues=[],this.wildValue=null,this.wildStatus=0,this.wheelStatus=0,this.sfQualify=5,this.lowestQualified=null,this.noKickers=null,this.descr&&k[this.descr]||(this.descr="standard"),this.cardsInHand=k[this.descr].cardsInHand,this.handValues=k[this.descr].handValues,this.wildValue=k[this.descr].wildValue,this.wildStatus=k[this.descr].wildStatus,this.wheelStatus=k[this.descr].wheelStatus,this.sfQualify=k[this.descr].sfQualify,this.lowestQualified=k[this.descr].lowestQualified,this.noKickers=k[this.descr].noKickers}}function _(e){e.Card=n,e.Hand=r,e.Game=E,e.RoyalFlush=o,e.NaturalRoyalFlush=a,e.WildRoyalFlush=s,e.FiveOfAKind=c,e.StraightFlush=i,e.FourOfAKindPairPlus=l,e.FourOfAKind=u,e.FourWilds=f,e.TwoThreeOfAKind=y,e.ThreeOfAKindTwoPair=d,e.FullHouse=h,e.Flush=p,e.Straight=m,e.ThreeOfAKind=g,e.ThreePair=v,e.TwoPair=b,e.OnePair=w,e.HighCard=x,e.PaiGowPokerHelper=S}_(t),"undefined"!=typeof window&&_(window)}()},2694(e,t,n){"use strict";var r=n(6925);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;
2var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},5556(e,t,n){e.exports=n(2694)()},6925(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},87392(e){"use strict";class t{constructor(e={}){if(!(e.maxSize&&e.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");this.maxSize=e.maxSize,this.onEviction=e.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_set(e,t){if(this.cache.set(e,t),this._size++,this._size>=this.maxSize){if(this._size=0,"function"==typeof this.onEviction)for(const[e,t]of this.oldCache.entries())this.onEviction(e,t);this.oldCache=this.cache,this.cache=new Map}}get(e){if(this.cache.has(e))return this.cache.get(e);if(this.oldCache.has(e)){const t=this.oldCache.get(e);return this.oldCache.delete(e),this._set(e,t),t}}set(e,t){return this.cache.has(e)?this.cache.set(e,t):this._set(e,t),this}has(e){return this.cache.has(e)||this.oldCache.has(e)}peek(e){return this.cache.has(e)?this.cache.get(e):this.oldCache.has(e)?this.oldCache.get(e):void 0}delete(e){const t=this.cache.delete(e);return t&&this._size--,this.oldCache.delete(e)||t}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}*keys(){for(const[e]of this)yield e}*values(){for(const[,e]of this)yield e}*[Symbol.iterator](){for(const e of this.cache)yield e;for(const e of this.oldCache){const[t]=e;this.cache.has(t)||(yield e)}}get size(){let e=0;for(const t of this.oldCache.keys())this.cache.has(t)||e++;return Math.min(this._size+e,this.maxSize)}}e.exports=t},40801(e,t,n){"use strict";var r=n(96540);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var o=["cdnSuffix","cdnUrl","countryCode","style","svg"];n.d(t,["A",0,function(e){var t=e.cdnSuffix,n=void 0===t?"svg":t,a=e.cdnUrl,s=void 0===a?"https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/4x3/":a,c=e.countryCode,l=e.style,u=e.svg,f=void 0!==u&&u,d=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,o);if("string"!=typeof c)return null;if(f){var h=""+s+c.toLowerCase()+"."+n;return(0,r.createElement)("img",Object.assign({},d,{src:h,style:i({display:"inline-block",width:"1em",height:"1em",verticalAlign:"middle"},l)}))}var p=c.toUpperCase().replace(/./g,function(e){return String.fromCodePoint(e.charCodeAt(0)+127397)});return(0,r.createElement)("span",Object.assign({role:"img"},d,{style:i({display:"inline-block",fontSize:"1em",lineHeight:"1em",verticalAlign:"middle"},l)}),p)}])},22551(e,t,n){"use strict";var r=n(96540),i=n(69982);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function c(e,t){l(e,t),l(e+"Capture",t)}function l(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),f=Object.prototype.hasOwnProperty,d=/^[: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]*$/,h={},p={};function m(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){y[e]=new m(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEac
vendor: 10,560 bytes, line 2
2h(function(e){var t=e[0];y[t]=new m(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){y[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){y[e]=new m(e,2,!1,e,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(e){y[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){y[e]=new m(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){y[e]=new m(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){y[e]=new m(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){y[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)});var g=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function b(e,t,n,r){var i=y.hasOwnProperty(t)?y[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!f.call(p,e)||!f.call(h,e)&&(d.test(e)?p[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"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(e){var t=e.replace(g,v);y[t]=new m(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(g,v);y[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(g,v);y[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){y[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)}),y.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){y[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)});var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),S=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),A=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),I=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var R=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var D=Symbol.iterator;function N(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=D&&e[D]||e["@@iterator"])?e:null}var j,F=Object.assign;function L(e){if(void 0===j)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);j=t&&t[1]||""}return"\n"+j+e}var B=!1;function z(e,t){if(!e||B)return"";B=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s]){var c="\n"+i[a].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=a&&0<=s);break}}}finally{B=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?L(e):""}function V(e){switch(e.tag){case 5:return L(e.type);case 16:return L("Lazy");case 13:return L("Suspense");case 19:return L("SuspenseList");case 0:case 2:case 15:return z(e.type,!1);case 11:return z(e.type.render,!1);case 1:return z(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case k:return"Fragment";case S:return"Portal";case _:return"Profiler";case E:return"StrictMode";case P:return"Suspense";case O:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case A:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case M:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case I:t=e._payload,e=e._init;try{return U(e(t))}catch(e){}}return null}function $(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===E?"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("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function W(e){e._valueTracker||(e._valueTracker=function(e){var t=q(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function G(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=q(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var n=t.checked;return F({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function J(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function X(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Y(e,t){X(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Z(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&K(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return F({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));
vendor: 3,305 bytes, line 2
2if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function oe(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){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 ce(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var le,ue,fe=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((le=le||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=le.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return ue(e,t)})}:ue);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var he={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},pe=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function ye(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(he).forEach(function(e){pe.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]})});var ge=F({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 ve(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){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 we=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.n
vendor: 5,916 bytes, line 2
2odeType?e.parentNode:e}var Se=null,ke=null,Ee=null;function _e(e){if(e=bi(e)){if("function"!=typeof Se)throw Error(o(280));var t=e.stateNode;t&&(t=xi(t),Se(e.stateNode,e.type,t))}}function Ce(e){ke?Ee?Ee.push(e):Ee=[e]:ke=e}function Ae(){if(ke){var e=ke,t=Ee;if(Ee=ke=null,_e(e),t)for(e=0;e<t.length;e++)_e(t[e])}}function Te(e,t){return e(t)}function Pe(){}var Oe=!1;function Me(e,t,n){if(Oe)return e(t,n);Oe=!0;try{return Te(e,t,n)}finally{Oe=!1,(null!==ke||null!==Ee)&&(Pe(),Ae())}}function Ie(e,t){var n=e.stateNode;if(null===n)return null;var r=xi(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Re=!1;if(u)try{var De={};Object.defineProperty(De,"passive",{get:function(){Re=!0}}),window.addEventListener("test",De,De),window.removeEventListener("test",De,De)}catch(ue){Re=!1}function Ne(e,t,n,r,i,o,a,s,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var je=!1,Fe=null,Le=!1,Be=null,ze={onError:function(e){je=!0,Fe=e}};function Ve(e,t,n,r,i,o,a,s,c){je=!1,Fe=null,Ne.apply(ze,arguments)}function Ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function $e(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function He(e){if(Ue(e)!==e)throw Error(o(188))}function qe(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return He(i),e;if(a===r)return He(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,c=i.child;c;){if(c===n){s=!0,n=i,r=a;break}if(c===r){s=!0,r=i,n=a;break}c=c.sibling}if(!s){for(c=a.child;c;){if(c===n){s=!0,n=a,r=i;break}if(c===r){s=!0,r=a,n=i;break}c=c.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling}return null}var Ge=i.unstable_scheduleCallback,Ke=i.unstable_cancelCallback,Qe=i.unstable_shouldYield,Je=i.unstable_requestPaint,Xe=i.unstable_now,Ye=i.unstable_getCurrentPriorityLevel,Ze=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,nt=i.unstable_LowPriority,rt=i.unstable_IdlePriority,it=null,ot=null,at=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(st(e)/ct|0)|0},st=Math.log,ct=Math.LN2,lt=64,ut=4194304;function ft(e){switch(e&-e){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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~i;0!==s?r=ft(s):0!==(o&=a)&&(r=ft(o))}else 0!==(a=n&~i)?r=ft(a):0!==o&&(r=ft(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&4194240&o))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-at(t)),r|=e[n],t&=~i;return r}function ht(e,t){switch(e){case 1:case 2:case 4:return t+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 t+5e3;default:return-1}}function pt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=lt;return!(4194240&(lt<<=1))&&(lt=64),e}function yt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var xt,St,kt,Et,_t,Ct=!1,At=[],Tt=null,Pt=null,Ot=null,Mt=new Map,It=new Map,Rt=[],Dt="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 Nt(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":Pt=null;break;case"mouseover":case"mouseout":Ot=null;break;case"pointerover":case"pointerout":Mt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":It.delete(t.pointerId)}}function jt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&null!==(t=bi(t))&&St(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Ft(e){var t=vi(e.target);if(null!==t){var n=Ue(t);
vendor: 5,368 bytes, line 2
2if(null!==n)if(13===(t=n.tag)){if(null!==(t=$e(n)))return e.blockedOn=t,void _t(e.priority,function(){kt(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Lt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=bi(n))&&St(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Bt(e,t,n){Lt(e)&&n.delete(t)}function zt(){Ct=!1,null!==Tt&&Lt(Tt)&&(Tt=null),null!==Pt&&Lt(Pt)&&(Pt=null),null!==Ot&&Lt(Ot)&&(Ot=null),Mt.forEach(Bt),It.forEach(Bt)}function Vt(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,zt)))}function Ut(e){function t(t){return Vt(t,e)}if(0<At.length){Vt(At[0],e);for(var n=1;n<At.length;n++){var r=At[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&Vt(Tt,e),null!==Pt&&Vt(Pt,e),null!==Ot&&Vt(Ot,e),Mt.forEach(t),It.forEach(t),n=0;n<Rt.length;n++)(r=Rt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Rt.length&&null===(n=Rt[0]).blockedOn;)Ft(n),null===n.blockedOn&&Rt.shift()}var $t=w.ReactCurrentBatchConfig,Ht=!0;function qt(e,t,n,r){var i=bt,o=$t.transition;$t.transition=null;try{bt=1,Gt(e,t,n,r)}finally{bt=i,$t.transition=o}}function Wt(e,t,n,r){var i=bt,o=$t.transition;$t.transition=null;try{bt=4,Gt(e,t,n,r)}finally{bt=i,$t.transition=o}}function Gt(e,t,n,r){if(Ht){var i=Qt(e,t,n,r);if(null===i)Hr(e,t,r,Kt,n),Nt(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Tt=jt(Tt,e,t,n,r,i),!0;case"dragenter":return Pt=jt(Pt,e,t,n,r,i),!0;case"mouseover":return Ot=jt(Ot,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Mt.set(o,jt(Mt.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,It.set(o,jt(It.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Nt(e,r),4&t&&-1<Dt.indexOf(e)){for(;null!==i;){var o=bi(i);if(null!==o&&xt(o),null===(o=Qt(e,t,n,r))&&Hr(e,t,r,Kt,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var Kt=null;function Qt(e,t,n,r){if(Kt=null,null!==(e=vi(e=xe(r))))if(null===(t=Ue(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=$e(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Kt=e,null}function Jt(e){switch(e){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(Ye()){case Ze:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Xt=null,Yt=null,Zt=null;function en(){if(Zt)return Zt;var e,t,n=Yt,r=n.length,i="value"in Xt?Xt.value:Xt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Zt=i.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return F(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,cn,ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(ln),fn=F({},ln,{view:0,detail:0}),dn=on(fn),hn=F({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_n,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 9,168 bytes, line 2
2Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==cn&&(cn&&"mousemove"===e.type?(an=e.screenX-cn.screenX,sn=e.screenY-cn.screenY):sn=an=0,cn=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),pn=on(hn),mn=on(F({},hn,{dataTransfer:0})),yn=on(F({},fn,{relatedTarget:0})),gn=on(F({},ln,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=F({},ln,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(vn),wn=on(F({},ln,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={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"},kn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kn[e])&&!!t[e]}function _n(){return En}var Cn=F({},fn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_n,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),An=on(Cn),Tn=on(F({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pn=on(F({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_n})),On=on(F({},ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),Mn=F({},hn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),In=on(Mn),Rn=[9,13,27,32],Dn=u&&"CompositionEvent"in window,Nn=null;u&&"documentMode"in document&&(Nn=document.documentMode);var jn=u&&"TextEvent"in window&&!Nn,Fn=u&&(!Dn||Nn&&8<Nn&&11>=Nn),Ln=String.fromCharCode(32),Bn=!1;function zn(e,t){switch(e){case"keyup":return-1!==Rn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1,$n={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 Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!$n[e.type]:"textarea"===t}function qn(e,t,n,r){Ce(r),0<(t=Wr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,Gn=null;function Kn(e){Lr(e,0)}function Qn(e){if(G(wi(e)))return e}function Jn(e,t){if("change"===e)return t}var Xn=!1;if(u){var Yn;if(u){var Zn="oninput"in document;if(!Zn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zn="function"==typeof er.oninput}Yn=Zn}else Yn=!1;Xn=Yn&&(!document.documentMode||9<document.documentMode)}function tr(){Wn&&(Wn.detachEvent("onpropertychange",nr),Gn=Wn=null)}function nr(e){if("value"===e.propertyName&&Qn(Gn)){var t=[];qn(t,Gn,e,xe(e)),Me(Kn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Gn=n,(Wn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(Gn)}function or(e,t){if("click"===e)return Qn(t)}function ar(e,t){if("input"===e||"change"===e)return Qn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function cr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!f.call(t,i)||!sr(e[i],t[i]))return!1}return!0}function lr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=lr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=lr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=K((e=t.contentWindow).document)}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=ur(n,o);var a=ur(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=u&&"documentMode"in document&&11>=document.documentMode,yr=null,gr=null,vr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==yr||yr!==K(r)||(r="selectionStart"in(r=yr)&&hr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&cr(vr,r)||(vr=r,0<(r=Wr(gr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},kr={},Er={};function _r(e){if(kr[e])return kr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return kr[e]=n[t];return e}u&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Cr=_r("animationend"),Ar=_r("animationiteration"),Tr=_r("animationstart"),Pr=_r("transitionend"),Or=new Map,Mr="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 Ir(e,t){Or.set(e,t),c(t,[e])}for(var Rr=0;Rr<Mr.length;Rr++){var Dr=Mr[Rr];Ir(Dr.toLowerCase(),"on"+(Dr[0].toUpperCase()+Dr.slice(1)))}Ir(Cr,"onAnimationEnd"),Ir(Ar,"onAnimationIteration"),Ir(Tr,"onAnimationStart"),Ir("dblclick","onDoubleClick"),Ir("focusin","onFocus"),Ir("focusout","onBlur"),Ir(Pr,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focu
2sin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Nr="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(" "),jr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Nr));function Fr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,a,s,c,l){if(Ve.apply(this,arguments),je){if(!je)throw Error(o(198));var u=Fe;je=!1,Fe=null,Le||(Le=!0,Be=u)}}(r,t,void 0,e),e.currentTarget=null}function Lr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==o&&i.isPropagationStopped())break e;Fr(i,s,l),o=c}else for(a=0;a<r.length;a++){if(c=(s=r[a]).instance,l=s.currentTarget,s=s.listener,c!==o&&i.isPropagationStopped())break e;Fr(i,s,l),o=c}}}if(Le)throw e=Be,Le=!1,Be=null,e}function Br(e,t){var n=t[mi];void 0===n&&(n=t[mi]=new Set);var r=e+"__bubble";n.has(r)||($r(t,e,2,!1),n.add(r))}function zr(e,t,n){var r=0;t&&(r|=4),$r(n,e,r,t)}var Vr="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[Vr]){e[Vr]=!0,a.forEach(function(t){"selectionchange"!==t&&(jr.has(t)||zr(t,!1,e),zr(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Vr]||(t[Vr]=!0,zr("selectionchange",!1,t))}}function $r(e,t,n,r){switch(Jt(t)){case 1:var i=qt;break;case 4:i=Wt;break;default:i=Gt}n=i.bind(null,t,n,e),i=void 0,!Re||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,i){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var c=a.tag;if((3===c||4===c)&&((c=a.stateNode.containerInfo)===i||8===c.nodeType&&c.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=vi(s)))return;if(5===(c=a.tag)||6===c){r=o=a;continue e}s=s.parentNode}}r=r.return}Me(function(){var r=o,i=xe(n),a=[];e:{var s=Or.get(e);if(void 0!==s){var c=un,l=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":c=An;break;case"focusin":l="focus",c=yn;break;case"focusout":l="blur",c=yn;break;case"beforeblur":case"afterblur":c=yn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=Pn;break;case Cr:case Ar:case Tr:c=gn;break;case Pr:c=On;break;case"scroll":c=dn;break;case"wheel":c=In;break;case"copy":case"cut":case"paste":c=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=Tn}var u=!!(4&t),f=!u&&"scroll"===e,d=u?null!==s?s+"Capture":null:s;u=[];for(var h,p=r;null!==p;){var m=(h=p).stateNode;if(5===h.tag&&null!==m&&(h=m,null!==d&&null!=(m=Ie(p,d))&&u.push(qr(p,m,h))),f)break;p=p.return}0<u.length&&(s=new c(s,l,null,n,i),a.push({event:s,listeners:u}))}}if(!(7&t)){if(c="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===we||!(l=n.relatedTarget||n.fromElement)||!vi(l)&&!l[pi])&&(c||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,c?(c=r,null!==(l=(l=n.relatedTarget||n.toElement)?vi(l):null)&&(l!==(f=Ue(l))||5!==l.tag&&6!==l.tag)&&(l=null)):(c=null,l=r),c!==l)){if(u=pn,m="onMouseLeave",d="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(u=Tn,m="onPointerLeave",d="onPointerEnter",p="pointer"),f=null==c?s:wi(c),h=null==l?s:wi(l),(s=new u(m,p+"leave",c,n,i)).target=f,s.relatedTarget=h,m=null,vi(i)===r&&((u=new u(d,p+"enter",l,n,i)).target=h,u.relatedTarget=f,m=u),f=m,c&&l)e:{for(d=l,p=0,h=u=c;h;h=Gr(h))p++;for(h=0,m=d;m;m=Gr(m))h++;for(;0<p-h;)u=Gr(u),p--;for(;0<h-p;)d=Gr(d),h--;for(;p--;){if(u===d||null!==d&&u===d.alternate)break e;u=Gr(u),d=Gr(d)}u=null}else u=null;null!==c&&Kr(a,s,c,u,!1),null!==l&&null!==f&&Kr(a,f,l,u,!0)}if("select"===(c=(s=r?wi(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===c&&"file"===s.type)var y=Jn;else if(Hn(s))if(Xn)y=ar;else{y=ir;var g=rr}else(c=s.nodeName)&&"input"===c.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(y=or);switch(y&&(y=y(e,r))?qn(a,y,n,i):(g&&g(e,s,r),"focusout"===e&&(g=s._wrapperState)&&g.controlled&&"number"===s.type&&ee(s,"number",s.value)),g=r?wi(r):window,e){case"focusin":(Hn(g)||"true"===g.contentEditable)&&(yr=g,gr=r,vr=null);break;case"focusout":vr=gr=yr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(a,n,i);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(a,n,i)}var v;if(Dn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Un?zn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Fn&&"ko"!==n.locale&&(Un||"onCompositionStart"!==b?"onCompositionEnd"===b&&Un&&(v=en()):(Yt="value"in(Xt=i)?Xt.value:Xt.textContent,Un=!0)),0<(g=Wr(r,b)).length&&(b=new wn(b,e,null,n,i),a.push({event:b,listeners:g}),(v||null!==(v=Vn(n)))&&(b.data=v))),(v=jn?function(e,t){switch(e){case"compositionend":return Vn(t);case"keypress":return 32!==t.which?null:(Bn=!0,Ln);case"textInput":return(e=t.data)===Ln&&Bn?null:e;default:return null}}(e,n):function(e,t){if(Un)return"compositionend"===e||!Dn&&zn(e,t)?(e=en(),Zt=Yt=Xt=null,Un=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;
vendor: 4,224 bytes, line 2
2case"compositionend":return Fn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=Wr(r,"onBeforeInput")).length&&(i=new wn("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=v)}Lr(a,t)})}function qr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Ie(e,n))&&r.unshift(qr(e,o,i)),null!=(o=Ie(e,t))&&r.push(qr(e,o,i))),e=e.return}return r}function Gr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Kr(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(null!==c&&c===r)break;5===s.tag&&null!==l&&(s=l,i?null!=(c=Ie(n,o))&&a.unshift(qr(n,c,s)):i||null!=(c=Ie(n,o))&&a.push(qr(n,c,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Qr=/\r\n?/g,Jr=/\u0000|\uFFFD/g;function Xr(e){return("string"==typeof e?e:""+e).replace(Qr,"\n").replace(Jr,"")}function Yr(e,t,n){if(t=Xr(t),Xr(e)!==t&&n)throw Error(o(425))}function Zr(){}var ei=null,ti=null;function ni(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ri="function"==typeof setTimeout?setTimeout:void 0,ii="function"==typeof clearTimeout?clearTimeout:void 0,oi="function"==typeof Promise?Promise:void 0,ai="function"==typeof queueMicrotask?queueMicrotask:void 0!==oi?function(e){return oi.resolve(null).then(e).catch(si)}:ri;function si(e){setTimeout(function(){throw e})}function ci(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void Ut(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);Ut(t)}function li(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ui(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fi=Math.random().toString(36).slice(2),di="__reactFiber$"+fi,hi="__reactProps$"+fi,pi="__reactContainer$"+fi,mi="__reactEvents$"+fi,yi="__reactListeners$"+fi,gi="__reactHandles$"+fi;function vi(e){var t=e[di];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pi]||n[di]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ui(e);null!==e;){if(n=e[di])return n;e=ui(e)}return t}n=(e=n).parentNode}return null}function bi(e){return!(e=e[di]||e[pi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function xi(e){return e[hi]||null}var Si=[],ki=-1;function Ei(e){return{current:e}}function _i(e){0>ki||(e.current=Si[ki],Si[ki]=null,ki--)}function Ci(e,t){ki++,Si[ki]=e.current,e.current=t}var Ai={},Ti=Ei(Ai),Pi=Ei(!1),Oi=Ai;function Mi(e,t){var n=e.type.contextTypes;if(!n)return Ai;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ii(e){return null!=e.childContextTypes}function Ri(){_i(Pi),_i(Ti)}function Di(e,t,n){if(Ti.current!==Ai)throw Error(o(168));Ci(Ti,t),Ci(Pi,n)}function Ni(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(o(108,$(e)||"Unknown",i));return F({},n,r)}function ji(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ai,Oi=Ti.current,Ci(Ti,e),Ci(Pi,Pi.current),!0}function Fi(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Ni(e,t,Oi),r.__reactInternalMemoizedMergedChildContext=e,_i(Pi),_i(Ti),Ci(Ti,e)):_i(Pi),Ci(Pi,n)}var Li=null,Bi=!1,zi=!1;function Vi(e){null===Li?Li=[e]:Li.push(e)}function Ui(){if(!zi&&null!==Li){zi=!0;var e=0,t=bt;try{var n=Li;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Li=null,Bi=!1}
vendor: 5,647 bytes, line 2
2catch(t){throw null!==Li&&(Li=Li.slice(e+1)),Ge(Ze,Ui),t}finally{bt=t,zi=!1}}return null}var $i=[],Hi=0,qi=null,Wi=0,Gi=[],Ki=0,Qi=null,Ji=1,Xi="";function Yi(e,t){$i[Hi++]=Wi,$i[Hi++]=qi,qi=e,Wi=t}function Zi(e,t,n){Gi[Ki++]=Ji,Gi[Ki++]=Xi,Gi[Ki++]=Qi,Qi=e;var r=Ji;e=Xi;var i=32-at(r)-1;r&=~(1<<i),n+=1;var o=32-at(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Ji=1<<32-at(t)+i|n<<i|r,Xi=o+e}else Ji=1<<o|n<<i|r,Xi=e}function eo(e){null!==e.return&&(Yi(e,1),Zi(e,1,0))}function to(e){for(;e===qi;)qi=$i[--Hi],$i[Hi]=null,Wi=$i[--Hi],$i[Hi]=null;for(;e===Qi;)Qi=Gi[--Ki],Gi[Ki]=null,Xi=Gi[--Ki],Gi[Ki]=null,Ji=Gi[--Ki],Gi[Ki]=null}var no=null,ro=null,io=!1,oo=null;function ao(e,t){var n=Ol(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function so(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=li(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Qi?{id:Ji,overflow:Xi}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ol(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function co(e){return!(!(1&e.mode)||128&e.flags)}function lo(e){if(io){var t=ro;if(t){var n=t;if(!so(e,t)){if(co(e))throw Error(o(418));t=li(n.nextSibling);var r=no;t&&so(e,t)?ao(r,n):(e.flags=-4097&e.flags|2,io=!1,no=e)}}else{if(co(e))throw Error(o(418));e.flags=-4097&e.flags|2,io=!1,no=e}}}function uo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function fo(e){if(e!==no)return!1;if(!io)return uo(e),io=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ni(e.type,e.memoizedProps)),t&&(t=ro)){if(co(e))throw ho(),Error(o(418));for(;t;)ao(e,t),t=li(t.nextSibling)}if(uo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=li(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?li(e.stateNode.nextSibling):null;return!0}function ho(){for(var e=ro;e;)e=li(e.nextSibling)}function po(){ro=no=null,io=!1}function mo(e){null===oo?oo=[e]:oo.push(e)}var yo=w.ReactCurrentBatchConfig;function go(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=i.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function vo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function bo(e){return(0,e._init)(e._payload)}function wo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Il(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function c(e,t,n,r){return null===t||6!==t.tag?((t=jl(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function l(e,t,n,r){var o=n.type;return o===k?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===I&&bo(o)===t.type)?((r=i(t,n.props)).ref=go(e,t,n),r.return=e,r):((r=Rl(n.type,n.key,n.props,null,e.mode,r)).ref=go(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Fl(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=Dl(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=jl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case x:return(n=Rl(t.type,t.key,t.props,null,e.mode,n)).ref=go(e,null,t),n.return=e,n;case S:return(t=Fl(t,e.mode,n)).return=e,t;case I:return d(e,(0,t._init)(t._payload),n)}if(te(t)||N(t))return(t=Dl(t,e.mode,n,null)).return=e,t;vo(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:c(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===i?l(e,t,n,r):null;case S:return n.key===i?u(e,t,n,r):null;case I:return h(e,t,(i=n._init)(n._payload),r)}if(te(n)||N(n))return null!==i?null:f(e,t,n,r,null);vo(e,n)}return null}function p(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return c(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case x:return l(t,e=e.get(null===r.key?n:r.key)||null,r,i);case S:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case I:return p(e,t,n,(0,r._init)(r._payload),i)}if(te(r)||N(r))return f(t,e=e.get(n)||null,r,i,null);vo(t,r)}return null}function m(i,o,s,c){for(var l=null,u=null,f=o,m=o=0,y=null;null!==f&&m<s.length;m++){f.index>
vendor: 4,297 bytes, line 2
2m?(y=f,f=null):y=f.sibling;var g=h(i,f,s[m],c);if(null===g){null===f&&(f=y);break}e&&f&&null===g.alternate&&t(i,f),o=a(g,o,m),null===u?l=g:u.sibling=g,u=g,f=y}if(m===s.length)return n(i,f),io&&Yi(i,m),l;if(null===f){for(;m<s.length;m++)null!==(f=d(i,s[m],c))&&(o=a(f,o,m),null===u?l=f:u.sibling=f,u=f);return io&&Yi(i,m),l}for(f=r(i,f);m<s.length;m++)null!==(y=p(f,i,m,s[m],c))&&(e&&null!==y.alternate&&f.delete(null===y.key?m:y.key),o=a(y,o,m),null===u?l=y:u.sibling=y,u=y);return e&&f.forEach(function(e){return t(i,e)}),io&&Yi(i,m),l}function y(i,s,c,l){var u=N(c);if("function"!=typeof u)throw Error(o(150));if(null==(c=u.call(c)))throw Error(o(151));for(var f=u=null,m=s,y=s=0,g=null,v=c.next();null!==m&&!v.done;y++,v=c.next()){m.index>y?(g=m,m=null):g=m.sibling;var b=h(i,m,v.value,l);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(i,m),s=a(b,s,y),null===f?u=b:f.sibling=b,f=b,m=g}if(v.done)return n(i,m),io&&Yi(i,y),u;if(null===m){for(;!v.done;y++,v=c.next())null!==(v=d(i,v.value,l))&&(s=a(v,s,y),null===f?u=v:f.sibling=v,f=v);return io&&Yi(i,y),u}for(m=r(i,m);!v.done;y++,v=c.next())null!==(v=p(m,i,y,v.value,l))&&(e&&null!==v.alternate&&m.delete(null===v.key?y:v.key),s=a(v,s,y),null===f?u=v:f.sibling=v,f=v);return e&&m.forEach(function(e){return t(i,e)}),io&&Yi(i,y),u}return function e(r,o,a,c){if("object"==typeof a&&null!==a&&a.type===k&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case x:e:{for(var l=a.key,u=o;null!==u;){if(u.key===l){if((l=a.type)===k){if(7===u.tag){n(r,u.sibling),(o=i(u,a.props.children)).return=r,r=o;break e}}else if(u.elementType===l||"object"==typeof l&&null!==l&&l.$$typeof===I&&bo(l)===u.type){n(r,u.sibling),(o=i(u,a.props)).ref=go(r,u,a),o.return=r,r=o;break e}n(r,u);break}t(r,u),u=u.sibling}a.type===k?((o=Dl(a.props.children,r.mode,c,a.key)).return=r,r=o):((c=Rl(a.type,a.key,a.props,null,r.mode,c)).ref=go(r,o,a),c.return=r,r=c)}return s(r);case S:e:{for(u=a.key;null!==o;){if(o.key===u){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){n(r,o.sibling),(o=i(o,a.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Fl(a,r.mode,c)).return=r,r=o}return s(r);case I:return e(r,o,(u=a._init)(a._payload),c)}if(te(a))return m(r,o,a,c);if(N(a))return y(r,o,a,c);vo(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,a)).return=r,r=o):(n(r,o),(o=jl(a,r.mode,c)).return=r,r=o),s(r)):n(r,o)}}var xo=wo(!0),So=wo(!1),ko=Ei(null),Eo=null,_o=null,Co=null;function Ao(){Co=_o=Eo=null}function To(e){var t=ko.current;_i(ko),e._currentValue=t}function Po(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Oo(e,t){Eo=e,Co=_o=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(bs=!0),e.firstContext=null)}function Mo(e){var t=e._currentValue;if(Co!==e)if(e={context:e,memoizedValue:t,next:null},null===_o){if(null===Eo)throw Error(o(308));_o=e,Eo.dependencies={lanes:0,firstContext:e}}else _o=_o.next=e;return t}var Io=null;function Ro(e){null===Io?Io=[e]:Io.push(e)}function Do(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,Ro(t)):(n.next=i.next,i.next=n),t.interleaved=n,No(e,r)}function No(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var jo=!1;function Fo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Lo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Bo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function zo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Ac){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,No(e,n)}return null===(i=r.interleaved)?(t.next=t,Ro(r)):(t.next=i.next,i.next=t),r.interleaved=t,No(e,n)}
vendor: 25,839 bytes, line 2
2function Vo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function Uo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function $o(e,t,n,r){var i=e.updateQueue;jo=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var c=s,l=c.next;c.next=null,null===a?o=l:a.next=l,a=c;var u=e.alternate;null!==u&&(s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c)}if(null!==o){var f=i.baseState;for(a=0,u=l=c=null,s=o;;){var d=s.lane,h=s.eventTime;if((r&d)===d){null!==u&&(u=u.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,m=s;switch(d=t,h=n,m.tag){case 1:if("function"==typeof(p=m.payload)){f=p.call(h,f,d);break e}f=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(d="function"==typeof(p=m.payload)?p.call(h,f,d):p))break e;f=F({},f,d);break e;case 2:jo=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(d=i.effects)?i.effects=[s]:d.push(s))}else h={eventTime:h,lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(l=u=h,c=f):u=u.next=h,a|=d;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(d=s).next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}if(null===u&&(c=f),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,null!==(t=i.shared.interleaved)){i=t;do{a|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);Nc|=a,e.lanes=a,e.memoizedState=f}}function Ho(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(o(191,i));i.call(r)}}}var qo={},Wo=Ei(qo),Go=Ei(qo),Ko=Ei(qo);function Qo(e){if(e===qo)throw Error(o(174));return e}function Jo(e,t){switch(Ci(Ko,t),Ci(Go,e),Ci(Wo,qo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ce(null,"");break;default:t=ce(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}_i(Wo),Ci(Wo,t)}function Xo(){_i(Wo),_i(Go),_i(Ko)}function Yo(e){Qo(Ko.current);var t=Qo(Wo.current),n=ce(t,e.type);t!==n&&(Ci(Go,e),Ci(Wo,n))}function Zo(e){Go.current===e&&(_i(Wo),_i(Go))}var ea=Ei(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var na=[];function ra(){for(var e=0;e<na.length;e++)na[e]._workInProgressVersionPrimary=null;na.length=0}var ia=w.ReactCurrentDispatcher,oa=w.ReactCurrentBatchConfig,aa=0,sa=null,ca=null,la=null,ua=!1,fa=!1,da=0,ha=0;function pa(){throw Error(o(321))}function ma(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function ya(e,t,n,r,i,a){if(aa=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ia.current=null===e||null===e.memoizedState?Za:es,e=n(r,i),fa){a=0;do{if(fa=!1,da=0,25<=a)throw Error(o(301));a+=1,la=ca=null,t.updateQueue=null,ia.current=ts,e=n(r,i)}while(fa)}if(ia.current=Ya,t=null!==ca&&null!==ca.next,aa=0,la=ca=sa=null,ua=!1,t)throw Error(o(300));return e}function ga(){var e=0!==da;return da=0,e}function va(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===la?sa.memoizedState=la=e:la=la.next=e,la}function ba(){if(null===ca){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=ca.next;var t=null===la?sa.memoizedState:la.next;if(null!==t)la=t,ca=e;else{if(null===e)throw Error(o(310));e={memoizedState:(ca=e).memoizedState,baseState:ca.baseState,baseQueue:ca.baseQueue,queue:ca.queue,next:null},null===la?sa.memoizedState=la=e:la=la.next=e}return la}function wa(e,t){return"function"==typeof t?t(e):t}function xa(e){var t=ba(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=ca,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(null!==i){a=i.next,r=r.baseState;var c=s=null,l=null,u=a;do{var f=u.lane;if((aa&f)===f)null!==l&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:f,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===l?(c=l=d,s=r):l=l.next=d,sa.lanes|=f,Nc|=f}u=u.next}while(null!==u&&u!==a);null===l?s=r:l.next=c,sr(r,t.memoizedState)||(bs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{a=i.lane,sa.lanes|=a,Nc|=a,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Sa(e){var t=ba(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{a=e(a,s.action),s=s.next}while(s!==i);sr(a,t.memoizedState)||(bs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function ka(){}function Ea(e,t){var n=sa,r=ba(),i=t(),a=!sr(r.memoizedState,i);if(a&&(r.memoizedState=i,bs=!0),r=r.queue,ja(Aa.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==la&&1&la.memoizedState.tag){if(n.flags|=2048,Ma(9,Ca.bind(null,n,r,i,t),void 0,null),null===Tc)throw Error(o(349));30&aa||_a(n,t,i)}return i}function _a(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ca(e,t,n,r){t.value=n,t.getSnapshot=r,Ta(t)&&Pa(e)}function Aa(e,t,n){return n(function(){Ta(t)&&Pa(e)})}function Ta(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(e){return!0}}function Pa(e){var t=No(e,1);null!==t&&tl(t,e,1,-1)}function Oa(e){var t=va();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:e},t.queue=e,e=e.dispatch=Ka.bind(null,sa,e),[t.memoizedState,e]}function Ma(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ia(){return ba().memoizedState}function Ra(e,t,n,r){var i=va();sa.flags|=e,i.memoizedState=Ma(1|t,n,void 0,void 0===r?null:r)}function Da(e,t,n,r){var i=ba();r=void 0===r?null:r;var o=void 0;if(null!==ca){var a=ca.memoizedState;if(o=a.destroy,null!==r&&ma(r,a.deps))return void(i.memoizedState=Ma(t,n,o,r))}sa.flags|=e,i.memoizedState=Ma(1|t,n,o,r)}function Na(e,t){return Ra(8390656,8,e,t)}function ja(e,t){return Da(2048,8,e,t)}function Fa(e,t){return Da(4,2,e,t)}function La(e,t){return Da(4,4,e,t)}function Ba(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function za(e,t,n){return n=null!=n?n.concat([e]):null,Da(4,4,Ba.bind(null,t,e),n)}function Va(){}function Ua(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function $a(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ha(e,t,n){return 21&aa?(sr(n,t)||(n=mt(),sa.lanes|=n,Nc|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,bs=!0),e.memoizedState=n)}function qa(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=oa.transition;oa.transition={};try{e(!1),t()}finally{bt=n,oa.transition=r}}function Wa(){return ba().memoizedState}function Ga(e,t,n){var r=el(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qa(e)?Ja(t,n):null!==(n=Do(e,t,n,r))&&(tl(n,e,r,Zc()),Xa(n,t,r))}function Ka(e,t,n){var r=el(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qa(e))Ja(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,sr(s,a)){var c=t.interleaved;return null===c?(i.next=i,Ro(t)):(i.next=c.next,c.next=i),void(t.interleaved=i)}}catch(e){}null!==(n=Do(e,t,i,r))&&(tl(n,e,r,i=Zc()),Xa(n,t,r))}}function Qa(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Ja(e,t){fa=ua=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Xa(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var Ya={readContext:Mo,useCallback:pa,useContext:pa,useEffect:pa,useImperativeHandle:pa,useInsertionEffect:pa,useLayoutEffect:pa,useMemo:pa,useReducer:pa,useRef:pa,useState:pa,useDebugValue:pa,useDeferredValue:pa,useTransition:pa,useMutableSource:pa,useSyncExternalStore:pa,useId:pa,unstable_isNewReconciler:!1},Za={readContext:Mo,useCallback:function(e,t){return va().memoizedState=[e,void 0===t?null:t],e},useContext:Mo,useEffect:Na,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ra(4194308,4,Ba.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ra(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ra(4,2,e,t)},useMemo:function(e,t){var n=va();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=va();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Ga.bind(null,sa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},va().memoizedState=e},useState:Oa,useDebugValue:Va,useDeferredValue:function(e){return va().memoizedState=e},useTransition:function(){var e=Oa(!1),t=e[0];return e=qa.bind(null,e[1]),va().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=sa,i=va();if(io){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Tc)throw Error(o(349));30&aa||_a(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,Na(Aa.bind(null,r,a,e),[e]),r.flags|=2048,Ma(9,Ca.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=va(),t=Tc.identifierPrefix;if(io){var n=Xi;t=":"+t+"R"+(n=(Ji&~(1<<32-at(Ji)-1)).toString(32)+n),0<(n=da++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ha++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Mo,useCallback:Ua,useContext:Mo,useEffect:ja,useImperativeHandle:za,useInsertionEffect:Fa,useLayoutEffect:La,useMemo:$a,useReducer:xa,useRef:Ia,useState:function(){return xa(wa)},useDebugValue:Va,useDeferredValue:function(e){return Ha(ba(),ca.memoizedState,e)},useTransition:function(){return[xa(wa)[0],ba().memoizedState]},useMutableSource:ka,useSyncExternalStore:Ea,useId:Wa,unstable_isNewReconciler:!1},ts={readContext:Mo,useCallback:Ua,useContext:Mo,useEffect:ja,useImperativeHandle:za,useInsertionEffect:Fa,useLayoutEffect:La,useMemo:$a,useReducer:Sa,useRef:Ia,useState:function(){return Sa(wa)},useDebugValue:Va,useDeferredValue:function(e){var t=ba();return null===ca?t.memoizedState=e:Ha(t,ca.memoizedState,e)},useTransition:function(){return[Sa(wa)[0],ba().memoizedState]},useMutableSource:ka,useSyncExternalStore:Ea,useId:Wa,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=F({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:F({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var is={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Zc(),i=el(e),o=Bo(r,i);o.payload=t,null!=n&&(o.callback=n),null!==(t=zo(e,o,i))&&(tl(t,e,i,r),Vo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Zc(),i=el(e),o=Bo(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=zo(e,o,i))&&(tl(t,e,i,r),Vo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Zc(),r=el(e),i=Bo(n,r);i.tag=2,null!=t&&(i.callback=t),null!==(t=zo(e,i,r))&&(tl(t,e,r,n),Vo(t,e,r))}};function os(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&cr(n,r)&&cr(i,o))}function as(e,t,n){var r=!1,i=Ai,o=t.contextType;return"object"==typeof o&&null!==o?o=Mo(o):(i=Ii(t)?Oi:Ti.current,o=(r=null!=(r=t.contextTypes))?Mi(e,i):Ai),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=is,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function ss(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&is.enqueueReplaceState(t,t.state,null)}function cs(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Fo(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=Mo(o):(o=Ii(t)?Oi:Ti.current,i.context=Mi(e,o)),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(rs(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&is.enqueueReplaceState(i,i.state,null),$o(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}function ls(e,t){try{var n="",r=t;do{n+=V(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i,digest:null}}function us(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fs(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var ds="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=Bo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$c||($c=!0,Hc=r),fs(0,t)},n}function ps(e,t,n){(n=Bo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){fs(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){fs(0,t),"function"!=typeof r&&(null===qc?qc=new Set([this]):qc.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ds;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=El.bind(null,e,t,n),t.then(e,e))}function ys(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function gs(e,t,n,r,i){return 1&e.mode?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Bo(-1,1)).tag=2,zo(n,t,1))),n.lanes|=1),e)}var vs=w.ReactCurrentOwner,bs=!1;function ws(e,t,n,r){t.child=null===e?So(t,null,n,r):xo(t,e.child,n,r)}function xs(e,t,n,r,i){n=n.render;var o=t.ref;return Oo(t,i),r=ya(e,t,n,r,o,i),n=ga(),null===e||bs?(io&&n&&eo(t),t.flags|=1,ws(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,$s(e,t,i))}function Ss(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||Ml(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Rl(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,ks(e,t,o,r,i))}if(o=e.child,0===(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:cr)(a,r)&&e.ref===t.ref)return $s(e,t,i)}return t.flags|=1,(e=Il(o,r)).ref=t.ref,e.return=t,t.child=e}function ks(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(cr(o,r)&&e.ref===t.ref){if(bs=!1,t.pendingProps=r=o,0===(e.lanes&i))return t.lanes=e.lanes,$s(e,t,i);131072&e.flags&&(bs=!0)}}return Cs(e,t,n,r,i)}function Es(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ci(Ic,Mc),Mc|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ci(Ic,Mc),Mc|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ci(Ic,Mc),Mc|=n;else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ci(Ic,Mc),Mc|=r;return ws(e,t,i,n),t.child}function _s(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Cs(e,t,n,r,i){var o=Ii(n)?Oi:Ti.current;return o=Mi(t,o),Oo(t,i),n=ya(e,t,n,r,o,i),r=ga(),null===e||bs?(io&&r&&eo(t),t.flags|=1,ws(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,$s(e,t,i))}function As(e,t,n,r,i){if(Ii(n)){var o=!0;ji(t)}else o=!1;if(Oo(t,i),null===t.stateNode)Us(e,t),as(t,n,r),cs(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var c=a.context,l=n.contextType;l="object"==typeof l&&null!==l?Mo(l):Mi(t,l=Ii(n)?Oi:Ti.current);var u=n.getDerivedStateFromProps,f="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||c!==l)&&ss(t,a,r,l),jo=!1;var d=t.memoizedState;a.state=d,$o(t,r,a,i),c=t.memoizedState,s!==r||d!==c||Pi.current||jo?("function"==typeof u&&(rs(t,n,u,r),c=t.memoizedState),(s=jo||os(t,n,s,r,d,c,l))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=l,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Lo(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:ns(t.type,s),a.props=l,f=t.pendingProps,d=a.context,c="object"==typeof(c=n.contextType)&&null!==c?Mo(c):Mi(t,c=Ii(n)?Oi:Ti.current);var h=n.getDerivedStateFromProps;(u="function"==typeof h||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==f||d!==c)&&ss(t,a,r,c),jo=!1,d=t.memoizedState,a.state=d,$o(t,r,a,i);var p=t.memoizedState;s!==f||d!==p||Pi.current||jo?("function"==typeof h&&(rs(t,n,h,r),p=t.memoizedState),(l=jo||os(t,n,l,r,d,p,c)||!1)?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,c),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,c)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=l):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Ts(e,t,n,r,o,i)}function Ts(e,t,n,r,i,o){_s(e,t);var a=!!(128&t.flags);if(!r&&!a)return i&&Fi(t,n,!1),$s(e,t,o);r=t.stateNode,vs.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=xo(t,e.child,null,o),t.child=xo(t,null,s,o)):ws(e,t,s,o),t.memoizedState=r.state,i&&Fi(t,n,!0),t.child}function Ps(e){var t=e.stateNode;t.pendingContext?Di(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Di(0,t.context,!1),Jo(e,t.containerInfo)}function Os(e,t,n,r,i){return po(),mo(i),t.flags|=256,ws(e,t,n,r),t.child}var Ms,Is,Rs,Ds={dehydrated:null,treeContext:null,retryLane:0};function Ns(e){return{baseLanes:e,cachePool:null,transitions:null}}function js(e,t,n){var r,i=t.pendingProps,a=ea.current,s=!1,c=!!(128&t.flags);if((r=c)||(r=(null===e||null!==e.memoizedState)&&!!(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Ci(ea,1&a),null===e)return lo(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(c=i.children,e=i.fallback,s?(i=t.mode,s=t.child,c={mode:"hidden",children:c},1&i||null===s?s=Nl(c,i,0,null):(s.childLanes=0,s.pendingProps=c),e=Dl(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ns(n),t.memoizedState=Ds,e):Fs(t,c));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,i,a,s){if(n)return 256&t.flags?(t.flags&=-257,Ls(e,t,s,r=us(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=Nl({mode:"visible",children:r.children},i,0,null),(a=Dl(a,i,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,1&t.mode&&xo(t,e.child,null,s),t.child.memoizedState=Ns(s),t.memoizedState=Ds,a);if(!(1&t.mode))return Ls(e,t,s,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var c=r.dgst;return r=c,Ls(e,t,s,r=us(a=Error(o(419)),r,void 0))}if(c=0!==(s&e.childLanes),bs||c){if(null!==(r=Tc)){switch(s&-s){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!==(i&(r.suspendedLanes|s))?0:i)&&i!==a.retryLane&&(a.retryLane=i,No(e,i),tl(r,e,i,-1))}return pl(),Ls(e,t,s,r=us(Error(o(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=Cl.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,ro=li(i.nextSibling),no=t,io=!0,oo=null,null!==e&&(Gi[Ki++]=Ji,Gi[Ki++]=Xi,Gi[Ki++]=Qi,Ji=e.id,Xi=e.overflow,Qi=t),(t=Fs(t,r.children)).flags|=4096,t)}(e,t,c,i,r,a,n);if(s){s=i.fallback,c=t.mode,r=(a=e.child).sibling;var l={mode:"hidden",children:i.children};return 1&c||t.child===a?(i=Il(a,l)).subtreeFlags=14680064&a.subtreeFlags:((i=t.child).childLanes=0,i.pendingProps=l,t.deletions=null),null!==r?s=Il(r,s):(s=Dl(s,c,n,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,c=null===(c=e.child.memoizedState)?Ns(n):{baseLanes:c.baseLanes|n,cachePool:null,transitions:c.transitions},s.memoizedState=c,s.childLanes=e.childLanes&~n,t.memoizedState=Ds,i}return e=(s=e.child).sibling,i=Il(s,{mode:"visible",children:i.children}),!(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Fs(e,t){return(t=Nl({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ls(e,t,n,r){return null!==r&&mo(r),xo(t,e.child,null,n),(e=Fs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Po(e.return,t,n)}function zs(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Vs(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(ws(e,t,r.children,n),2&(r=ea.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Bs(e,n,t);else if(19===e.tag)Bs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ci(ea,r),1&t.mode)switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===ta(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),zs(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ta(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}zs(t,!0,n,null,o);break;case"together":zs(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Us(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function $s(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Nc|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Il(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;
vendor: 4,564 bytes, line 2
2)e=e.sibling,(n=n.sibling=Il(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Hs(e,t){if(!io)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function qs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ws(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qs(t),null;case 1:case 17:return Ii(t.type)&&Ri(),qs(t),null;case 3:return r=t.stateNode,Xo(),_i(Pi),_i(Ti),ra(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==oo&&(ol(oo),oo=null))),qs(t),null;case 5:Zo(t);var i=Qo(Ko.current);if(n=t.type,null!==e&&null!=t.stateNode)Is(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return qs(t),null}if(e=Qo(Wo.current),fo(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[di]=t,r[hi]=a,e=!!(1&t.mode),n){case"dialog":Br("cancel",r),Br("close",r);break;case"iframe":case"object":case"embed":Br("load",r);break;case"video":case"audio":for(i=0;i<Nr.length;i++)Br(Nr[i],r);break;case"source":Br("error",r);break;case"img":case"image":case"link":Br("error",r),Br("load",r);break;case"details":Br("toggle",r);break;case"input":J(r,a),Br("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Br("invalid",r);break;case"textarea":ie(r,a),Br("invalid",r)}for(var c in ve(n,a),i=null,a)if(a.hasOwnProperty(c)){var l=a[c];"children"===c?"string"==typeof l?r.textContent!==l&&(!0!==a.suppressHydrationWarning&&Yr(r.textContent,l,e),i=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(!0!==a.suppressHydrationWarning&&Yr(r.textContent,l,e),i=["children",""+l]):s.hasOwnProperty(c)&&null!=l&&"onScroll"===c&&Br("scroll",r)}switch(n){case"input":W(r),Z(r,a,!0);break;case"textarea":W(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Zr)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{c=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[di]=t,e[hi]=r,Ms(e,t),t.stateNode=e;e:{switch(c=be(n,r),n){case"dialog":Br("cancel",e),Br("close",e),i=r;break;case"iframe":case"object":case"embed":Br("load",e),i=r;break;case"video":case"audio":for(i=0;i<Nr.length;i++)Br(Nr[i],e);i=r;break;case"source":Br("error",e),i=r;break;case"img":case"image":case"link":Br("error",e),Br("load",e),i=r;break;case"details":Br("toggle",e),i=r;break;case"input":J(e,r),i=Q(e,r),Br("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=F({},r,{value:void 0}),Br("invalid",e);break;case"textarea":ie(e,r),i=re(e,r),Br("invalid",e)}for(a in ve(n,i),l=i)if(l.hasOwnProperty(a)){var u=l[a];"style"===a?ye(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&fe(e,u):"children"===a?"string"==typeof u?("textarea"!==n||""!==u)&&de(e,u):"number"==typeof u&&de(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Br("scroll",e):null!=u&&b(e,a,u,c))}switch(n){case"input":W(e),Z(e,r,!1);break;case"textarea":W(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Zr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}
vendor: 9,673 bytes, line 2
2return qs(t),null;case 6:if(e&&null!=t.stateNode)Rs(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=Qo(Ko.current),Qo(Wo.current),fo(t)){if(r=t.stateNode,n=t.memoizedProps,r[di]=t,(a=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Yr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Yr(r.nodeValue,n,!!(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[di]=t,t.stateNode=r}return qs(t),null;case 13:if(_i(ea),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(io&&null!==ro&&1&t.mode&&!(128&t.flags))ho(),po(),t.flags|=98560,a=!1;else if(a=fo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(o(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(o(317));a[di]=t}else po(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;qs(t),a=!1}else null!==oo&&(ol(oo),oo=null),a=!0;if(!a)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ea.current?0===Rc&&(Rc=3):pl())),null!==t.updateQueue&&(t.flags|=4),qs(t),null);case 4:return Xo(),null===e&&Ur(t.stateNode.containerInfo),qs(t),null;case 10:return To(t.type._context),qs(t),null;case 19:if(_i(ea),null===(a=t.memoizedState))return qs(t),null;if(r=!!(128&t.flags),null===(c=a.rendering))if(r)Hs(a,!1);else{if(0!==Rc||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(c=ta(e))){for(t.flags|=128,Hs(a,!1),null!==(r=c.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(c=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=c.childLanes,a.lanes=c.lanes,a.child=c.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=c.memoizedProps,a.memoizedState=c.memoizedState,a.updateQueue=c.updateQueue,a.type=c.type,e=c.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ci(ea,1&ea.current|2),t.child}e=e.sibling}null!==a.tail&&Xe()>Vc&&(t.flags|=128,r=!0,Hs(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ta(c))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Hs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!c.alternate&&!io)return qs(t),null}else 2*Xe()-a.renderingStartTime>Vc&&1073741824!==n&&(t.flags|=128,r=!0,Hs(a,!1),t.lanes=4194304);a.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=a.last)?n.sibling=c:t.child=c,a.last=c)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Xe(),t.sibling=null,n=ea.current,Ci(ea,r?1&n|2:1&n),t):(qs(t),null);case 22:case 23:return ul(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Mc)&&(qs(t),6&t.subtreeFlags&&(t.flags|=8192)):qs(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Gs(e,t){switch(to(t),t.tag){case 1:return Ii(t.type)&&Ri(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Xo(),_i(Pi),_i(Ti),ra(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Zo(t),null;case 13:if(_i(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));po()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return _i(ea),null;case 4:return Xo(),null;case 10:return To(t.type._context),null;case 22:case 23:return ul(),null;default:return null}}Ms=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Is=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Qo(Wo.current);var o,a=null;switch(n){case"input":i=Q(e,i),r=Q(e,r),a=[];break;case"select":i=F({},i,{value:void 0}),r=F({},r,{value:void 0}),a=[];break;case"textarea":i=re(e,i),r=re(e,r),a=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Zr)}for(u in ve(n,r),n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u])if("style"===u){var c=i[u];for(o in c)c.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var l=r[u];if(c=null!=i?i[u]:void 0,r.hasOwnProperty(u)&&l!==c&&(null!=l||null!=c))if("style"===u)if(c){for(o in c)!c.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&c[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(a||(a=[]),a.push(u,n)),n=l;else"dangerouslySetInnerHTML"===u?(l=l?l.__html:void 0,c=c?c.__html:void 0,null!=l&&c!==l&&(a=a||[]).push(u,l)):"children"===u?"string"!=typeof l&&"number"!=typeof l||(a=a||[]).push(u,""+l):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=l&&"onScroll"===u&&Br("scroll",e),a||c===l||(a=[])):(a=a||[]).push(u,l))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Rs=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ks=!1,Qs=!1,Js="function"==typeof WeakSet?WeakSet:Set,Xs=null;function Ys(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){kl(e,t,n)}else n.current=null}function Zs(e,t,n){try{n()}catch(n){kl(e,t,n)}}var ec=!1;function tc(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&Zs(t,n,o)}i=i.next}while(i!==r)}}function nc(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function rc(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function ic(e){var t=e.alternate;null!==t&&(e.alternate=null,ic(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[di],delete t[hi],delete t[mi],delete t[yi],delete t[gi]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function oc(e){return 5===e.tag||3===e.tag||4===e.tag}function ac(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||oc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function sc(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Zr));else if(4!==r&&null!==(e=e.child))for(sc(e,t,n),e=e.sibling;null!==e;)sc(e,t,n),e=e.sibling}function cc(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cc(e,t,n),e=e.sibling;null!==e;)cc(e,t,n),e=e.sibling}var lc=null,uc=!1;function fc(e,t,n){for(n=n.child;null!==n;)dc(e,t,n),n=n.sibling}function dc(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(it,n)}catch(e){}switch(n.tag){case 5:Qs||Ys(n,t);case 6:var r=lc,i=uc;lc=null,fc(e,t,n),uc=i,null!==(lc=r)&&(uc?(e=lc,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):lc.removeChild(n.stateNode));break;case 18:null!==lc&&(uc?(e=lc,n=n.stateNode,8===e.nodeType?ci(e.parentNode,n):1===e.nodeType&&ci(e,n),Ut(e)):ci(lc,n.stateNode));break;case 4:r=lc,i=uc,lc=n.stateNode.containerInfo,uc=!0,fc(e,t,n),lc=r,uc=i;break;case 0:case 11:case 14:case 15:if(!Qs&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(2&o||4&o)&&Zs(n,t,a),i=i.next}while(i!==r)}fc(e,t,n);break;case 1:if(!Qs&&(Ys(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){kl(n,t,e)}fc(e,t,n);break;case 21:fc(e,t,n);break;case 22:1&n.mode?(Qs=(r=Qs)||null!==n.memoizedState,fc(e,t,n),Qs=r):fc(e,t,n);break;default:fc(e,t,n)}}function hc(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Js),t.forEach(function(t){var r=Al.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function pc(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e,s=t,c=s;e:for(;null!==c;){switch(c.tag){case 5:lc=c.stateNode,uc=!1;break e;case 3:case 4:lc=c.stateNode.containerInfo,uc=!0;break e}c=c.return}if(null===lc)throw Error(o(160));dc(a,s,i),lc=null,uc=!1;var l=i.alternate;null!==l&&(l.return=null),i.return=null}catch(e){kl(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)mc(t,e),t=t.sibling}function mc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(pc(t,e),yc(e),4&r){try{tc(3,e,e.return),nc(3,e)}catch(t){kl(e,e.return,t)}try{tc(5,e,e.return)}catch(t){kl(e,e.return,t)}}break;case 1:pc(t,e),yc(e),512&r&&null!==n&&Ys(n,n.return);break;case 5:if(pc(t,e),yc(e),512&r&&null!==n&&Ys(n,n.return),32&e.flags){var i=e.stateNode;try{de(i,"")}catch(t){kl(e,e.return,t)}}if(4&r&&null!=(i=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,c=e.type,l=e.updateQueue;
vendor: 3,918 bytes, line 2
2if(e.updateQueue=null,null!==l)try{"input"===c&&"radio"===a.type&&null!=a.name&&X(i,a),be(c,s);var u=be(c,a);for(s=0;s<l.length;s+=2){var f=l[s],d=l[s+1];"style"===f?ye(i,d):"dangerouslySetInnerHTML"===f?fe(i,d):"children"===f?de(i,d):b(i,f,d,u)}switch(c){case"input":Y(i,a);break;case"textarea":oe(i,a);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var p=a.value;null!=p?ne(i,!!a.multiple,p,!1):h!==!!a.multiple&&(null!=a.defaultValue?ne(i,!!a.multiple,a.defaultValue,!0):ne(i,!!a.multiple,a.multiple?[]:"",!1))}i[hi]=a}catch(t){kl(e,e.return,t)}}break;case 6:if(pc(t,e),yc(e),4&r){if(null===e.stateNode)throw Error(o(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(t){kl(e,e.return,t)}}break;case 3:if(pc(t,e),yc(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ut(t.containerInfo)}catch(t){kl(e,e.return,t)}break;case 4:default:pc(t,e),yc(e);break;case 13:pc(t,e),yc(e),8192&(i=e.child).flags&&(a=null!==i.memoizedState,i.stateNode.isHidden=a,!a||null!==i.alternate&&null!==i.alternate.memoizedState||(zc=Xe())),4&r&&hc(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Qs=(u=Qs)||f,pc(t,e),Qs=u):pc(t,e),yc(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!f&&1&e.mode)for(Xs=e,f=e.child;null!==f;){for(d=Xs=f;null!==Xs;){switch(p=(h=Xs).child,h.tag){case 0:case 11:case 14:case 15:tc(4,h,h.return);break;case 1:Ys(h,h.return);var m=h.stateNode;if("function"==typeof m.componentWillUnmount){r=h,n=h.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){kl(r,n,e)}}break;case 5:Ys(h,h.return);break;case 22:if(null!==h.memoizedState){wc(d);continue}}null!==p?(p.return=h,Xs=p):wc(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{i=d.stateNode,u?"function"==typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none":(c=d.stateNode,s=null!=(l=d.memoizedProps.style)&&l.hasOwnProperty("display")?l.display:null,c.style.display=me("display",s))}catch(t){kl(e,e.return,t)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(t){kl(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:pc(t,e),yc(e),4&r&&hc(e);case 21:}}function yc(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(oc(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(de(i,""),r.flags&=-33),cc(e,ac(e),i);break;case 3:case 4:var a=r.stateNode.containerInfo;sc(e,ac(e),a);break;default:throw Error(o(161))}}catch(t){kl(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function gc(e,t,n){Xs=e,vc(e,t,n)}function vc(e,t,n){for(var r=!!(1&e.mode);null!==Xs;){var i=Xs,o=i.child;if(22===i.tag&&r){var a=null!==i.memoizedState||Ks;if(!a){var s=i.alternate,c=null!==s&&null!==s.memoizedState||Qs;s=Ks;var l=Qs;if(Ks=a,(Qs=c)&&!l)for(Xs=i;null!==Xs;)c=(a=Xs).child,22===a.tag&&null!==a.memoizedState?xc(i):null!==c?(c.return=a,Xs=c):xc(i);for(;null!==o;)Xs=o,vc(o,t,n),o=o.sibling;Xs=i,Ks=s,Qs=l}bc(e)}else 8772&i.subtreeFlags&&null!==o?(o.return=i,Xs=o):bc(e)}}function bc(e){for(;null!==Xs;){var t=Xs;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Qs||nc(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Qs)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Ho(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}
vendor: 11,444 bytes, line 2
2Ho(t,s,n)}break;case 5:var c=t.stateNode;if(null===n&&4&t.flags){n=c;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var f=u.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&Ut(d)}}}break;default:throw Error(o(163))}Qs||512&t.flags&&rc(t)}catch(e){kl(t,t.return,e)}}if(t===e){Xs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Xs=n;break}Xs=t.return}}function wc(e){for(;null!==Xs;){var t=Xs;if(t===e){Xs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Xs=n;break}Xs=t.return}}function xc(e){for(;null!==Xs;){var t=Xs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{nc(4,t)}catch(e){kl(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(e){kl(t,i,e)}}var o=t.return;try{rc(t)}catch(e){kl(t,o,e)}break;case 5:var a=t.return;try{rc(t)}catch(e){kl(t,a,e)}}}catch(e){kl(t,t.return,e)}if(t===e){Xs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Xs=s;break}Xs=t.return}}var Sc,kc=Math.ceil,Ec=w.ReactCurrentDispatcher,_c=w.ReactCurrentOwner,Cc=w.ReactCurrentBatchConfig,Ac=0,Tc=null,Pc=null,Oc=0,Mc=0,Ic=Ei(0),Rc=0,Dc=null,Nc=0,jc=0,Fc=0,Lc=null,Bc=null,zc=0,Vc=1/0,Uc=null,$c=!1,Hc=null,qc=null,Wc=!1,Gc=null,Kc=0,Qc=0,Jc=null,Xc=-1,Yc=0;function Zc(){return 6&Ac?Xe():-1!==Xc?Xc:Xc=Xe()}function el(e){return 1&e.mode?2&Ac&&0!==Oc?Oc&-Oc:null!==yo.transition?(0===Yc&&(Yc=mt()),Yc):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Jt(e.type):1}function tl(e,t,n,r){if(50<Qc)throw Qc=0,Jc=null,Error(o(185));gt(e,n,r),2&Ac&&e===Tc||(e===Tc&&(!(2&Ac)&&(jc|=n),4===Rc&&al(e,Oc)),nl(e,r),1===n&&0===Ac&&!(1&t.mode)&&(Vc=Xe()+500,Bi&&Ui()))}function nl(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-at(o),s=1<<a,c=i[a];-1===c?0!==(s&n)&&0===(s&r)||(i[a]=ht(s,t)):c<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=dt(e,e===Tc?Oc:0);if(0===r)null!==n&&Ke(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ke(n),1===t)0===e.tag?function(e){Bi=!0,Vi(e)}(sl.bind(null,e)):Vi(sl.bind(null,e)),ai(function(){!(6&Ac)&&Ui()}),n=null;else{switch(wt(r)){case 1:n=Ze;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Tl(n,rl.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function rl(e,t){if(Xc=-1,Yc=0,6&Ac)throw Error(o(327));var n=e.callbackNode;if(xl()&&e.callbackNode!==n)return null;var r=dt(e,e===Tc?Oc:0);if(0===r)return null;if(30&r||0!==(r&e.expiredLanes)||t)t=ml(e,r);else{t=r;var i=Ac;Ac|=2;var a=hl();for(Tc===e&&Oc===t||(Uc=null,Vc=Xe()+500,fl(e,t));;)try{gl();break}catch(t){dl(e,t)}Ao(),Ec.current=a,Ac=i,null!==Pc?t=0:(Tc=null,Oc=0,t=Rc)}if(0!==t){if(2===t&&0!==(i=pt(e))&&(r=i,t=il(e,i)),1===t)throw n=Dc,fl(e,0),al(e,r),nl(e,Xe()),n;if(6===t)al(e,r);else{if(i=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!sr(o(),i))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)||(t=ml(e,r),2===t&&(a=pt(e),0!==a&&(r=a,t=il(e,a))),1!==t)))throw n=Dc,fl(e,0),al(e,r),nl(e,Xe()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:wl(e,Bc,Uc);break;case 3:if(al(e,r),(130023424&r)===r&&10<(t=zc+500-Xe())){if(0!==dt(e,0))break;if(((i=e.suspendedLanes)&r)!==r){Zc(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ri(wl.bind(null,e,Bc,Uc),t);break}wl(e,Bc,Uc);break;case 4:if(al(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>i&&(i=s),r&=~a}if(r=i,10<(r=(120>(r=Xe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*kc(r/1960))-r)){e.timeoutHandle=ri(wl.bind(null,e,Bc,Uc),r);break}wl(e,Bc,Uc);break;default:throw Error(o(329))}}}return nl(e,Xe()),e.callbackNode===n?rl.bind(null,e):null}function il(e,t){var n=Lc;return e.current.memoizedState.isDehydrated&&(fl(e,t).flags|=256),2!==(e=ml(e,t))&&(t=Bc,Bc=n,null!==t&&ol(t)),e}function ol(e){null===Bc?Bc=e:Bc.push.apply(Bc,e)}function al(e,t){for(t&=~Fc,t&=~jc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function sl(e){if(6&Ac)throw Error(o(327));xl();var t=dt(e,0);if(!(1&t))return nl(e,Xe()),null;var n=ml(e,t);if(0!==e.tag&&2===n){var r=pt(e);0!==r&&(t=r,n=il(e,r))}if(1===n)throw n=Dc,fl(e,0),al(e,t),nl(e,Xe()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wl(e,Bc,Uc),nl(e,Xe()),null}function cl(e,t){var n=Ac;Ac|=1;try{return e(t)}finally{0===(Ac=n)&&(Vc=Xe()+500,Bi&&Ui())}}function ll(e){null!==Gc&&0===Gc.tag&&!(6&Ac)&&xl();var t=Ac;Ac|=1;var n=Cc.transition,r=bt;try{if(Cc.transition=null,bt=1,e)return e()}finally{bt=r,Cc.transition=n,!(6&(Ac=t))&&Ui()}}function ul(){Mc=Ic.current,_i(Ic)}function fl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ii(n)),null!==Pc)for(n=Pc.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ri();break;case 3:Xo(),_i(Pi),_i(Ti),ra();break;case 5:Zo(r);break;case 4:Xo();break;case 13:case 19:_i(ea);break;case 10:To(r.type._context);break;case 22:case 23:ul()}n=n.return}if(Tc=e,Pc=e=Il(e.current,null),Oc=Mc=t,Rc=0,Dc=null,Fc=jc=Nc=0,Bc=Lc=null,null!==Io){for(t=0;t<Io.length;t++)if(null!==(r=(n=Io[t]).interleaved)){n.interleaved=null;var i=r.next,o=n.pending;if(null!==o){var a=o.next;o.next=i,r.next=a}n.pending=r}Io=null}return e}function dl(e,t){for(;;){var n=Pc;try{if(Ao(),ia.current=Ya,ua){for(var r=sa.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}ua=!1}if(aa=0,la=ca=sa=null,fa=!1,da=0,_c.current=null,null===n||null===n.return){Rc=1,Dc=t,Pc=null;break}e:{var a=e,s=n.return,c=n,l=t;if(t=Oc,c.flags|=32768,null!==l&&"object"==typeof l&&"function"==typeof l.then){var u=l,f=c,d=f.tag;if(!(1&f.mode||0!==d&&11!==d&&15!==d)){var h=f.alternate;h?(f.updateQueue=h.updateQueue,f.memoizedState=h.memoizedState,f.lanes=h.lanes):(f.updateQueue=null,f.memoizedState=null)}var p=ys(s);if(null!==p){p.flags&=-257,gs(p,s,c,0,t),1&p.mode&&ms(a,u,t),l=u;var m=(t=p).updateQueue;if(null===m){var y=new Set;y.add(l),t.updateQueue=y}else m.add(l);break e}if(!(1&t)){ms(a,u,t),pl();break e}l=Error(o(426))}else if(io&&1&c.mode){var g=ys(s);if(null!==g){!(65536&g.flags)&&(g.flags|=256),gs(g,s,c,0,t),mo(ls(l,c));break e}}a=l=ls(l,c),4!==Rc&&(Rc=2),null===Lc?Lc=[a]:Lc.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Uo(a,hs(0,l,t));break e;case 1:c=l;var v=a.type,b=a.stateNode;if(!(128&a.flags||"function"!=typeof v.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==qc&&qc.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Uo(a,ps(a,c,t));break e}}a=a.return}while(null!==a)}bl(n)}catch(e){t=e,Pc===n&&null!==n&&(Pc=n=n.return);continue}break}}function hl(){var e=Ec.current;return Ec.current=Ya,null===e?Ya:e}function pl(){0!==Rc&&3!==Rc&&2!==Rc||(Rc=4),null===Tc||!(268435455&Nc)&&!(268435455&jc)||al(Tc,Oc)}function ml(e,t){var n=Ac;Ac|=2;var r=hl();for(Tc===e&&Oc===t||(Uc=null,fl(e,t));;)try{yl();break}catch(t){dl(e,t)}if(Ao(),Ac=n,Ec.current=r,null!==Pc)throw Error(o(261));return Tc=null,Oc=0,Rc}function yl(){for(;null!==Pc;)vl(Pc)}function gl(){for(;null!==Pc&&!Qe();)vl(Pc)}function vl(e){var t=Sc(e.alternate,e,Mc);e.memoizedProps=e.pendingProps,null===t?bl(e):Pc=t,_c.current=null}function bl(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Gs(n,t)))return n.flags&=32767,void(Pc=n);if(null===e)return Rc=6,void(Pc=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Ws(n,t,Mc)))return void(Pc=n);if(null!==(t=t.sibling))return void(Pc=t);Pc=t=e}while(null!==t);0===Rc&&(Rc=5)}function wl(e,t,n){var r=bt,i=Cc.transition;try{Cc.transition=null,bt=1,function(e,t,n,r){do{xl()}while(null!==Gc);if(6&Ac)throw Error(o(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-at(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}(e,a),e===Tc&&(Pc=Tc=null,Oc=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Wc||(Wc=!0,Tl(tt,function(){return xl(),null})),a=!!(15990&n.flags),15990&n.subtreeFlags||a){a=Cc.transition,Cc.transition=null;var s=bt;bt=1;var c=Ac;Ac|=4,_c.current=null,function(e,t){if(ei=Ht,hr(e=dr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,c=-1,l=-1,u=0,f=0,d=e,h=null;t:for(;;){for(var p;d!==n||0!==i&&3!==d.nodeType||(c=s+i),d!==a||0!==r&&3!==d.nodeType||(l=s+r),3===d.nodeType&&(s+=d.nodeValue.length),null!==(p=d.firstChild);)h=d,d=p;for(;;){if(d===e)break t;if(h===n&&++u===i&&(c=s),h===a&&++f===r&&(l=s),null!==(p=d.nextSibling))break;h=(d=h).parentNode}d=p}n=-1===c||-1===l?null:{start:c,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(ti={focusedElem:e,selectionRange:n},Ht=!1,Xs=t;null!==Xs;)if(e=(t=Xs).child,1028&t.subtreeFlags&&null!==e)e.return=t,Xs=e;else for(;null!==Xs;){t=Xs;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var y=m.memoizedProps,g=m.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?y:ns(t.type,y),g);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(o(163))}}catch(e){kl(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Xs=e;break}Xs=t.return}m=ec,ec=!1}(e,n),mc(n,e),pr(ti),Ht=!!ei,ti=ei=null,e.current=n,gc(n,e,i),Je(),Ac=c,bt=s,Cc.transition=a}else e.current=n;if(Wc&&(Wc=!1,Gc=e,Kc=i),0===(a=e.pendingLanes)&&(qc=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(it,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),nl(e,Xe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((i=t[n]).value,{componentStack:i.stack,digest:i.digest});if($c)throw $c=!1,e=Hc,Hc=null,e;!!(1&Kc)&&0!==e.tag&&xl(),1&(a=e.pendingLanes)?e===Jc?Qc++:(Qc=0,Jc=e):Qc=0,Ui()}(e,t,n,r)}finally{Cc.transition=i,bt=r}return null}function xl(){if(null!==Gc){var e=wt(Kc),t=Cc.transition,n=bt;try{if(Cc.transition=null,bt=16>e?16:e,null===Gc)var r=!1;else{if(e=Gc,Gc=null,Kc=0,6&Ac)throw Error(o(331));var i=Ac;for(Ac|=4,Xs=e.current;null!==Xs;){var a=Xs,s=a.child;
vendor: 16,951 bytes, line 2
2if(16&Xs.flags){var c=a.deletions;if(null!==c){for(var l=0;l<c.length;l++){var u=c[l];for(Xs=u;null!==Xs;){var f=Xs;switch(f.tag){case 0:case 11:case 15:tc(8,f,a)}var d=f.child;if(null!==d)d.return=f,Xs=d;else for(;null!==Xs;){var h=(f=Xs).sibling,p=f.return;if(ic(f),f===u){Xs=null;break}if(null!==h){h.return=p,Xs=h;break}Xs=p}}}var m=a.alternate;if(null!==m){var y=m.child;if(null!==y){m.child=null;do{var g=y.sibling;y.sibling=null,y=g}while(null!==y)}}Xs=a}}if(2064&a.subtreeFlags&&null!==s)s.return=a,Xs=s;else e:for(;null!==Xs;){if(2048&(a=Xs).flags)switch(a.tag){case 0:case 11:case 15:tc(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,Xs=v;break e}Xs=a.return}}var b=e.current;for(Xs=b;null!==Xs;){var w=(s=Xs).child;if(2064&s.subtreeFlags&&null!==w)w.return=s,Xs=w;else e:for(s=b;null!==Xs;){if(2048&(c=Xs).flags)try{switch(c.tag){case 0:case 11:case 15:nc(9,c)}}catch(e){kl(c,c.return,e)}if(c===s){Xs=null;break e}var x=c.sibling;if(null!==x){x.return=c.return,Xs=x;break e}Xs=c.return}}if(Ac=i,Ui(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(it,e)}catch(e){}r=!0}return r}finally{bt=n,Cc.transition=t}}return!1}function Sl(e,t,n){e=zo(e,t=hs(0,t=ls(n,t),1),1),t=Zc(),null!==e&&(gt(e,1,t),nl(e,t))}function kl(e,t,n){if(3===e.tag)Sl(e,e,n);else for(;null!==t;){if(3===t.tag){Sl(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===qc||!qc.has(r))){t=zo(t,e=ps(t,e=ls(n,e),1),1),e=Zc(),null!==t&&(gt(t,1,e),nl(t,e));break}}t=t.return}}function El(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Zc(),e.pingedLanes|=e.suspendedLanes&n,Tc===e&&(Oc&n)===n&&(4===Rc||3===Rc&&(130023424&Oc)===Oc&&500>Xe()-zc?fl(e,0):Fc|=n),nl(e,t)}function _l(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1);var n=Zc();null!==(e=No(e,t))&&(gt(e,t,n),nl(e,n))}function Cl(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),_l(e,n)}function Al(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),_l(e,n)}function Tl(e,t){return Ge(e,t)}function Pl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ol(e,t,n,r){return new Pl(e,t,n,r)}function Ml(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Il(e,t){var n=e.alternate;return null===n?((n=Ol(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Rl(e,t,n,r,i,a){var s=2;if(r=e,"function"==typeof e)Ml(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case k:return Dl(n.children,i,a,t);case E:s=8,i|=8;break;case _:return(e=Ol(12,n,t,2|i)).elementType=_,e.lanes=a,e;case P:return(e=Ol(13,n,t,i)).elementType=P,e.lanes=a,e;case O:return(e=Ol(19,n,t,i)).elementType=O,e.lanes=a,e;case R:return Nl(n,i,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:s=10;break e;case A:s=9;break e;case T:s=11;break e;case M:s=14;break e;case I:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Ol(s,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function Dl(e,t,n,r){return(e=Ol(7,e,r,t)).lanes=n,e}function Nl(e,t,n,r){return(e=Ol(22,e,r,t)).elementType=R,e.lanes=n,e.stateNode={isHidden:!1},e}function jl(e,t,n){return(e=Ol(6,e,null,t)).lanes=n,e}function Fl(e,t,n){return(t=Ol(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ll(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=yt(0),this.expirationTimes=yt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=yt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Bl(e,t,n,r,i,o,a,s,c){return e=new Ll(e,t,n,s,c),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Ol(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fo(o),e}function zl(e){if(!e)return Ai;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ii(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Ii(n))return Ni(e,n,t)}return t}function Vl(e,t,n,r,i,o,a,s,c){return(e=Bl(n,r,!0,e,0,o,0,s,c)).context=zl(null),n=e.current,(o=Bo(r=Zc(),i=el(n))).callback=null!=t?t:null,zo(n,o,i),e.current.lanes=i,gt(e,i,r),nl(e,r),e}function Ul(e,t,n,r){var i=t.current,o=Zc(),a=el(i);return n=zl(n),null===t.context?t.context=n:t.pendingContext=n,(t=Bo(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=zo(i,t,a))&&(tl(e,i,a,o),Vo(e,i,a)),a}function $l(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Hl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function ql(e,t){Hl(e,t),(e=e.alternate)&&Hl(e,t)}Sc=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Pi.current)bs=!0;else{if(0===(e.lanes&n)&&!(128&t.flags))return bs=!1,function(e,t,n){switch(t.tag){case 3:Ps(t),po();break;case 5:Yo(t);break;case 1:Ii(t.type)&&ji(t);break;case 4:Jo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Ci(ko,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ci(ea,1&ea.current),t.flags|=128,null):0!==(n&t.child.childLanes)?js(e,t,n):(Ci(ea,1&ea.current),null!==(e=$s(e,t,n))?e.sibling:null);Ci(ea,1&ea.current);break;case 19:if(r=0!==(n&t.childLanes),128&e.flags){if(r)return Vs(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ci(ea,ea.current),r)break;return null;case 22:case 23:return t.lanes=0,Es(e,t,n)}return $s(e,t,n)}(e,t,n);bs=!!(131072&e.flags)}else bs=!1,io&&1048576&t.flags&&Zi(t,Wi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Us(e,t),e=t.pendingProps;var i=Mi(t,Ti.current);Oo(t,n),i=ya(null,t,r,e,i,n);var a=ga();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ii(r)?(a=!0,ji(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Fo(t),i.updater=is,t.stateNode=i,i._reactInternals=t,cs(t,r,e,n),t=Ts(null,t,r,!0,a,n)):(t.tag=0,io&&a&&eo(t),ws(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Us(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"==typeof e)return Ml(e)?1:0;if(null!=e){if((e=e.$$typeof)===T)return 11;if(e===M)return 14}return 2}(r),e=ns(r,e),i){case 0:t=Cs(null,t,r,e,n);break e;case 1:t=As(null,t,r,e,n);break e;case 11:t=xs(null,t,r,e,n);break e;case 14:t=Ss(null,t,r,ns(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,Cs(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 1:return r=t.type,i=t.pendingProps,As(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 3:e:{if(Ps(t),null===e)throw Error(o(387));r=t.pendingProps,i=(a=t.memoizedState).element,Lo(e,t),$o(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Os(e,t,r,n,i=ls(Error(o(423)),t));break e}if(r!==i){t=Os(e,t,r,n,i=ls(Error(o(424)),t));break e}for(ro=li(t.stateNode.containerInfo.firstChild),no=t,io=!0,oo=null,n=So(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(po(),r===i){t=$s(e,t,n);break e}ws(e,t,r,n)}t=t.child}return t;case 5:return Yo(t),null===e&&lo(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,s=i.children,ni(r,i)?s=null:null!==a&&ni(r,a)&&(t.flags|=32),_s(e,t),ws(e,t,s,n),t.child;case 6:return null===e&&lo(t),null;case 13:return js(e,t,n);case 4:return Jo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=xo(t,null,r,n):ws(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,xs(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 7:return ws(e,t,t.pendingProps,n),t.child;case 8:case 12:return ws(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,s=i.value,Ci(ko,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===i.children&&!Pi.current){t=$s(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var c=a.dependencies;if(null!==c){s=a.child;for(var l=c.firstContext;null!==l;){if(l.context===r){if(1===a.tag){(l=Bo(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var f=(u=u.shared).pending;null===f?l.next=l:(l.next=f.next,f.next=l),u.pending=l}}a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),Po(a.return,n,t),c.lanes|=n;break}l=l.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(o(341));s.lanes|=n,null!==(c=s.alternate)&&(c.lanes|=n),Po(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}ws(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Oo(t,n),r=r(i=Mo(i)),t.flags|=1,ws(e,t,r,n),t.child;case 14:return i=ns(r=t.type,t.pendingProps),Ss(e,t,r,i=ns(r.type,i),n);case 15:return ks(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ns(r,i),Us(e,t),t.tag=1,Ii(r)?(e=!0,ji(t)):e=!1,Oo(t,n),as(t,r,i),cs(t,r,i,n),Ts(null,t,r,!0,e,n);case 19:return Vs(e,t,n);case 22:return Es(e,t,n)}throw Error(o(156,t.tag))};var Wl="function"==typeof reportError?reportError:function(e){console.error(e)};function Gl(e){this._internalRoot=e}function Kl(e){this._internalRoot=e}function Ql(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Jl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xl(){}function Yl(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if("function"==typeof i){var s=i;i=function(){var e=$l(a);s.call(e)}}Ul(t,a,e,i)}else a=function(e,t,n,r,i){if(i){if("function"==typeof r){var o=r;r=function(){var e=$l(a);o.call(e)}}var a=Vl(t,r,e,0,null,!1,0,"",Xl);return e._reactRootContainer=a,e[pi]=a.current,Ur(8===e.nodeType?e.parentNode:e),ll(),a}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof r){var s=r;r=function(){var e=$l(c);s.call(e)}}var c=Bl(e,0,!1,null,0,!1,0,"",Xl);return e._reactRootContainer=c,e[pi]=c.current,Ur(8===e.nodeType?e.parentNode:e),ll(function(){Ul(t,c,n,r)}),c}(n,t,e,i,r);return $l(a)}Kl.prototype.render=Gl.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Ul(e,t,null,null)},Kl.prototype.unmount=Gl.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ll(function(){Ul(null,e,null,null)}),t[pi]=null}},Kl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Rt.length&&0!==t&&t<Rt[n].priority;n++);Rt.splice(n,0,e),0===n&&Ft(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(vt(t,1|n),nl(t,Xe()),!(6&Ac)&&(Vc=Xe()+500,Ui()))}break;case 13:ll(function(){var t=No(e,1);if(null!==t){var n=Zc();tl(t,e,1,n)}}),ql(e,1)}},St=function(e){if(13===e.tag){var t=No(e,134217728);null!==t&&tl(t,e,134217728,Zc()),ql(e,134217728)}},kt=function(e){if(13===e.tag){var t=el(e),n=No(e,t);null!==n&&tl(n,e,t,Zc()),ql(e,t)}},Et=function(){return bt},_t=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Se=function(e,t,n){switch(t){case"input":if(Y(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=xi(r);if(!i)throw Error(o(90));G(r),Y(r,i)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Te=cl,Pe=ll;var Zl={usingClientEntryPoint:!1,Events:[bi,wi,xi,Ce,Ae,cl]},eu={findFiberByHostInstance:vi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},tu={bundleType:eu.bundleType,version:eu.version,rendererPackageName:eu.rendererPackageName,rendererConfig:eu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=qe(e))?null:e.stateNode},findFiberByHostInstance:eu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var nu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nu.isDisabled&&nu.supportsFiber)try{it=nu.inject(tu),ot=nu}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Zl,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ql(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Ql(e))throw Error(o(299));var n=!1,r="",i=Wl;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Bl(e,1,!1,null,0,n,0,r,i),e[pi]=t.current,Ur(8===e.nodeType?e.parentNode:e),new Gl(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return null===(e=qe(t))?null:e.stateNode},t.flushSync=function(e){return ll(e)},t.hydrate=function(e,t,n){if(!Jl(t))throw Error(o(200));return Yl(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Ql(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,i=!1,a="",s=Wl;if(null!=n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Vl(t,null,e,1,null!=n?n:null,i,0,a,s),e[pi]=t.current,Ur(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Kl(t)},t.render=function(e,t,n){if(!Jl(t))throw Error(o(200));return Yl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Jl(e))throw Error(o(40));return!!e._reactRootContainer&&(ll(function(){Yl(null,null,e,!1,function(){e._reactRootContainer=null,e[pi]=null})}),!0)},t.unstable_batchedUpdates=cl,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Jl(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return Yl(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},5338(e,t,n){"use strict";var r=n(40961);t.H=r.createRoot,t.c=r.hydrateRoot},40961(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(22551)},30115(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,a){if(e===a)return!0;
2if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,c,l,u;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(c=s;0!==c--;)if(!o(e[c],a[c]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!a.has(c.value[0]))return!1;for(u=e.entries();!(c=u.next()).done;)if(!o(c.value[1],a.get(c.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(c=s;0!==c--;)if(e[c]!==a[c])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===a.toString();if((s=(l=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(c=s;0!==c--;)if(!Object.prototype.hasOwnProperty.call(a,l[c]))return!1;if(t&&e instanceof Element)return!1;for(c=s;0!==c--;)if(("_owner"!==l[c]&&"__v"!==l[c]&&"__o"!==l[c]||!e.$$typeof)&&!o(e[l[c]],a[l[c]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},86354(e,t,n){"use strict";n.d(t,{PJ:()=>u,hD:()=>l});var r=n(41176),i=n(96540);function o(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})}function a(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}var s=function(){return s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},s.apply(this,arguments)},c=function(e){return{loading:null==e,value:e}},l=function(e,t){var n=function(e){var t=e?e():void 0,n=(0,i.useReducer)(function(e,t){switch(t.type){case"error":return s(s({},e),{error:t.error,loading:!1,value:void 0});case"reset":return c(t.defaultValue);case"value":return s(s({},e),{error:void 0,loading:!1,value:t.value});default:return e}},c(t)),r=n[0],o=n[1],a=function(){var t=e?e():void 0;o({type:"reset",defaultValue:t})},l=function(e){o({type:"error",error:e})},u=function(e){o({type:"value",value:e})};return(0,i.useMemo)(function(){return{error:r.error,loading:r.loading,reset:a,setError:l,setValue:u,value:r.value}},[r.error,r.loading,a,l,u,r.value])}(function(){return e.currentUser}),l=n.error,u=n.loading,f=n.setError,d=n.setValue,h=n.value;(0,i.useEffect)(function(){var n=(0,r.hg)(e,function(e){return o(void 0,void 0,void 0,function(){var n;return a(this,function(r){switch(r.label){case 0:if(!(null==t?void 0:t.onUserChanged))return[3,4];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,t.onUserChanged(e)];case 2:return r.sent(),[3,4];case 3:return n=r.sent(),f(n),[3,4];case 4:return d(e),[2]}})})},f);return function(){n()}},[e]);var p=[h,u,l];return(0,i.useMemo)(function(){return p},p)},u=function(e){var t=(0,i.useState)(),n=t[0],s=t[1],c=(0,i.useState)(!1),l=c[0],u=c[1],f=[function(){return o(void 0,void 0,void 0,function(){var t;return a(this,function(n){switch(n.label){case 0:u(!0),s(void 0),n.label=1;case 1:return n.trys.push([1,5,6,7]),e.currentUser?[4,(0,r.gA)(e.currentUser)]:[3,3];case 2:return n.sent(),[3,4];case 3:s(new Error("No user is logged in")),n.label=4;case 4:return[3,7];case 5:return t=n.sent(),s(t),[3,7];case 6:return u(!1),[7];case 7:return[2]}})})},l,n];return(0,i.useMemo)(function(){return f},f)}},61960(e,t,n){"use strict";n.d(t,{mg:()=>Z,vd:()=>q});var r=n(96540),i=n(5556),o=n.n(i),a=n(59773),s=n.n(a),c=n.cjs(function(e,t){e.exports=function(e,t,n,r,i,o,a,s){if
2(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,o,a,s],u=0;(c=new Error(t.replace(/%s/g,function(){return l[u++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}}),l=n.n(c),u=n(2833),f=n.n(u);function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}function h(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,p(e,t)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function m(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}var y={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},g={rel:["amphtml","canonical","alternate"]},v={type:["application/ld+json"]},b={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(y).map(function(e){return y[e]}),x={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},S=Object.keys(x).reduce(function(e,t){return e[x[t]]=t,e},{}),k=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},E=function(e){var t=k(e,y.TITLE),n=k(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,function(){return t});var r=k(e,"defaultTitle");return t||r||void 0},_=function(e){return k(e,"onChangeClientState")||function(){}},C=function(e,t){return t.filter(function(t){return void 0!==t[e]}).map(function(t){return t[e]}).reduce(function(e,t){return d({},e,t)},{})},A=function(e,t){return t.filter(function(e){return void 0!==e[y.BASE]}).map(function(e){return e[y.BASE]}).reverse().reduce(function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i+=1){var o=r[i].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t},[])},T=function(e,t,n){var r={};return n.filter(function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)}).map(function(t){return t[e]}).reverse().reduce(function(e,n){var i={};n.filter(function(e){for(var n,o=Object.keys(e),a=0;a<o.length;a+=1){var s=o[a],c=s.toLowerCase();-1===t.indexOf(c)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===c&&"stylesheet"===e[c].toLowerCase()||(n=c),-1===t.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(n=s)}if(!n||!e[n])return!1;var l=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][l]&&(i[n][l]=!0,!0)}).reverse().forEach(function(t){return e.push(t)});for(var o=Object.keys(i),a=0;a<o.length;a+=1){var s=o[a],c=d({},r[s],i[s]);r[s]=c}return e},[]).reverse()},P=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},O=function(e){return Array.isArray(e)?e.join(""):e},M=function(e,t){return Array.isArray(e)?e.reduce(function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e},{priority:[],default:[]}):{default:e}},I=function(e,t){var n;return d({},e,((n={})[t]=void 0,n))},R=[y.NOSCRIPT,y.SCRIPT,y.STYLE],D=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},N=function(e){return Object.keys(e).reduce(function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r},"")},j=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce(function(t,n){return t[x[n]||n]=e[n],t},t)},F=function(e,t){return t.map(function(t,n){var i,o=((i={key:n})["data-rh"]=!0,i);return Object.keys(t).forEach(function(e){var n=x[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]}),r.createElement(e,o)})},L=function(e,t,n){switch(e){case y.TITLE:return{toComponent:function(){return n=t.titleAttributes,(i={key:e=t.title})["data-rh"]=!0,o=j(n,i),[r.createElement(y.TITLE,o,e)];var e,n,i,o},toString:function(){return function(e,t,n,r){var i=N(n),o=O(t);return i?"<"+e+' data-rh="true" '+i+">"+D(o,r)+"</"+e+">":"<"+e+' data-rh="true">'+D(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return j(t)},toString:function(){return N(t)}};default:return{toComponent:function(){return F(e,t)},toString:function(){return function(e,t,n){return t.reduce(function(t,r){var i=Object.keys(r).filter(function(e){return!("innerHTML"===e||"cssText"===e)}).reduce(function(e,t){var i=void 0===r[t]?t:t+'="'+D(r[t],n)+'"';return e?e+" "+i:i},""),o=r.innerHTML||r.cssText||"",a=-1===R.indexOf(e);return t+"<"+e+' data-rh="true" '+i+(a?"/>":">"+o+"</"+e+">")},"")}(e,t,n)}}}},B=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,o=e.noscriptTags,a=e.styleTags,s=e.title,c=void 0===s?"":s,l=e.titleAttributes,u=e.linkTags,f=e.metaTags,d=e.scriptTags,h={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var p=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,i=M(e.metaTags,b),o=M(t,g),a=M(n,v);return{priorityMethods:{toComponent:function(){return[].concat(F(y.META,i.priority),F(y.LINK,o.priority),F(y.SCRIPT,a.priority))},toString:function(){return L(y.META,i.priority,r)+" "+L(y.LINK,o.priority,r)+" "+L(y.SCRIPT,a.priority,r)}},metaTags:i.default,linkTags:o.default,scriptTags:a.default}}(e);h=p.priorityMethods,u=p.linkTags,f=p.metaTags,d=p.scriptTags}return{priority:h,base:L(y.BASE,t,r),bodyAttributes:L("bodyAttributes",n,r),htmlAttributes:L("htmlAttributes",i,r),link:L(y.LINK,u,r),meta:L(y.META,f,r),noscript:L(y.NOSCRIPT,o,r),script:L(y.SCRIPT,d,r),style:L(y.STYLE,a,r),title:L(y.TITLE,{title:c,titleAttributes:l},r)}},z=[],V=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?z:n.instances},add:function(e){(n.canUseDOM?z:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?z:n.instances).indexOf(e);(n.canUseDOM?z:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=B({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},U=r.createContext({}),$=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),H="undefined"!=typeof document,q=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new V(r.props.context,t.canUseDOM),r}return h(t,e),t.prototype.render=function(){return r.createElement(U.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);q.canUseDOM=H,q.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},q.defaultProps={context:{}},q.displayName="HelmetProvider";var W=function(e,t){var n,r=document.head||document.querySelector(y.HEAD),i=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(i),a=[];return t&&t.length&&t.forEach(function(t){var r=document.createElement(e);for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&("innerHTML"===i?r.innerHTML=t.innerHTML:"cssText"===i?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(i,void 0===t[i]?"":t[i]));r.setAttribute("data-rh","true"),o.some(function(e,t){return n=t,r.isEqualNode(e)})?o.splice(n,1):a.push(r)}),o.forEach(function(e){return e.parentNode.removeChild(e)}),a.forEach(function(e){return r.appendChild(e)}),{oldTags:o,newTags:a}},G=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),i=r?r.split(","):[],o=[].concat(i),a=Object.keys(t),s=0;s<a.length;s+=1){var c=a[s],l=t[c]||"";n.getAttribute(c)!==l&&n.setAttribute(c,l),-1===i.indexOf(c)&&i.push(c);var u=o.indexOf(c);-1!==u&&o.splice(u,1)}for(var f=o.length-1;f>=0;f-=1)n.removeAttribute(o[f]);i.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==a.join(",")&&n.setAttribute("data-rh",a.join(","))}},K=function(e,t){var n=e.baseTag,r=e.htmlAttributes,i=e.linkTags,o=e.metaTags,a=e.noscriptTags,s=e.onCh
vendor: 3,197 bytes, line 2
2angeClientState,c=e.scriptTags,l=e.styleTags,u=e.title,f=e.titleAttributes;G(y.BODY,e.bodyAttributes),G(y.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=O(e)),G(y.TITLE,t)}(u,f);var d={baseTag:W(y.BASE,n),linkTags:W(y.LINK,i),metaTags:W(y.META,o),noscriptTags:W(y.NOSCRIPT,a),scriptTags:W(y.SCRIPT,c),styleTags:W(y.STYLE,l)},h={},p={};Object.keys(d).forEach(function(e){var t=d[e],n=t.newTags,r=t.oldTags;n.length&&(h[e]=n),r.length&&(p[e]=d[e].oldTags)}),t&&t(),s(e,h,p)},Q=null,J=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}h(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!f()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,i=null,o=(e=n.helmetInstances.get().map(function(e){var t=d({},e.props);return delete t.context,t}),{baseTag:A(["href"],e),bodyAttributes:C("bodyAttributes",e),defer:k(e,"defer"),encode:k(e,"encodeSpecialCharacters"),htmlAttributes:C("htmlAttributes",e),linkTags:T(y.LINK,["rel","href"],e),metaTags:T(y.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:T(y.NOSCRIPT,["innerHTML"],e),onChangeClientState:_(e),scriptTags:T(y.SCRIPT,["src","innerHTML"],e),styleTags:T(y.STYLE,["cssText"],e),title:E(e),titleAttributes:C("titleAttributes",e),prioritizeSeoTags:P(e,"prioritizeSeoTags")});q.canUseDOM?(t=o,Q&&cancelAnimationFrame(Q),t.defer?Q=requestAnimationFrame(function(){K(t,function(){Q=null})}):(K(t),Q=null)):B&&(i=B(o)),r(i)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);J.propTypes={context:$.isRequired},J.displayName="HelmetDispatcher";var X=["children"],Y=["children"],Z=function(e){function t(){return e.apply(this,arguments)||this}h(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!s()(I(this.props,"helmetData"),I(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case y.SCRIPT:case y.NOSCRIPT:return{innerHTML:t};case y.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return d({},r,((t={})[n.type]=[].concat(r[n.type]||[],[d({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(r.type){case y.TITLE:return d({},i,((t={})[r.type]=a,t.titleAttributes=d({},o),t));case y.BODY:return d({},i,{bodyAttributes:d({},o)});case y.HTML:return d({},i,{htmlAttributes:d({},o)});default:return d({},i,((n={})[r.type]=d({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=d({},t);return Object.keys(e).forEach(function(t){var r;n=d({},n,((r={})[t]=e[t],r))}),n}
2,n.warnOnInvalidChildren=function(e,t){return l()(w.some(function(t){return e.type===t}),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),l()(!t||"string"==typeof t||Array.isArray(t)&&!t.some(function(e){return"string"!=typeof e}),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,i={};return r.Children.forEach(e,function(e){if(e&&e.props){var r=e.props,o=r.children,a=m(r,X),s=Object.keys(a).reduce(function(e,t){return e[S[t]||t]=a[t],e},{}),c=e.type;switch("symbol"==typeof c?c=c.toString():n.warnOnInvalidChildren(e,o),c){case y.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case y.LINK:case y.META:case y.NOSCRIPT:case y.SCRIPT:case y.STYLE:i=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:i,newChildProps:s,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:o})}}}),this.mapArrayTypeChildrenToProps(i,t)},n.render=function(){var e=this.props,t=e.children,n=m(e,Y),i=d({},n),o=n.helmetData;return t&&(i=this.mapChildrenToProps(t,i)),!o||o instanceof V||(o=new V(o.context,o.instances)),o?r.createElement(J,d({},i,{context:o.value,helmetData:void 0})):r.createElement(U.Consumer,null,function(e){return r.createElement(J,d({},i,{context:e}))})},t}(r.Component);Z.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},Z.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Z.displayName="Helmet"},59773(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,c,l,u;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(c=s;0!==c--;)if(!o(e[c],a[c]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!a.has(c.value[0]))return!1;for(u=e.entries();!(c=u.next()).done;)if(!o(c.value[1],a.get(c.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(c=s;0!==c--;)if(e[c]!==a[c])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof a.toString)return e.toString()===a.toString();if((s=(l=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(c=s;0!==c--;)if(!Object.prototype.hasOwnProperty.call(a,l[c]))return!1;if(t&&e instanceof Element)return!1;for(c=s;0!==c--;)if(("_owner"!==l[c]&&"__v"!==l[c]&&"__o"!==l[c]||!e.$$typeof)&&!o(e[l[c]],a[l[c]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},22799(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,y=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case f:case o:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case l:case d:case y:case m:case c:return e;default:return t}}case i:return t}}}function S(e){return x(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=c,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=y,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||x(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===l},t.isContextProvider=function(e){return x(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===y},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===s||e===a||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===m||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===v||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=x},44363(e,t,n){"use strict";e.exports=n(22799)},71345(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function i(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function o(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var c=e.displayName||e.name,l="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+c+" uses "+l+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=i),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=o;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}
vendor: 19,721 bytes, line 2
2n.r(t),n.d(t,{polyfill:()=>a}),r.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},1720(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(96540),a=p(o),s=p(n(40961)),c=p(n(5556)),l=p(n(29090)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(76462)),f=n(60834),d=p(f),h=n(71345);function p(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var y=t.portalClassName="ReactModalPortal",g=t.bodyOpenClassName="ReactModal__Body--open",v=f.canUseDOM&&void 0!==s.default.createPortal,b=function(e){return document.createElement(e)},w=function(){return v?s.default.createPortal:s.default.unstable_renderSubtreeIntoContainer};function x(e){return e()}var S=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,c=Array(o),u=0;u<o;u++)c[u]=arguments[u];return n=i=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),i.removePortal=function(){!v&&s.default.unmountComponentAtNode(i.node);var e=x(i.props.parentSelector);e&&e.contains(i.node)?e.removeChild(i.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},i.portalRef=function(e){i.portal=e},i.renderPortal=function(e){var n=w()(i,a.default.createElement(l.default,r({defaultStyles:t.defaultStyles},e)),i.node);i.portalRef(n)},m(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){f.canUseDOM&&(v||(this.node=b("div")),this.node.className=this.props.portalClassName,x(this.props.parentSelector).appendChild(this.node),!v&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:x(e.parentSelector),nextParent:x(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(f.canUseDOM){var r=this.props,i=r.isOpen,o=r.portalClassName;e.portalClassName!==o&&(this.node.className=o);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||i)&&!v&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(f.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return f.canUseDOM&&v?(!this.node&&v&&(this.node=b("div")),w()(a.default.createElement(l.default,r({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){u.setElement(e)}}]),t}(o.Component);S.propTypes={isOpen:c.default.bool.isRequired,style:c.default.shape({content:c.default.object,overlay:c.default.object}),portalClassName:c.default.string,bodyOpenClassName:c.default.string,htmlOpenClassName:c.default.string,className:c.default.oneOfType([c.default.string,c.default.shape({base:c.default.string.isRequired,afterOpen:c.default.string.isRequired,beforeClose:c.default.string.isRequired})]),overlayClassName:c.default.oneOfType([c.default.string,c.default.shape({base:c.default.string.isRequired,afterOpen:c.default.string.isRequired,beforeClose:c.default.string.isRequired})]),appElement:c.default.oneOfType([c.default.instanceOf(d.default),c.default.instanceOf(f.SafeHTMLCollection),c.default.instanceOf(f.SafeNodeList),c.default.arrayOf(c.default.instanceOf(d.default))]),onAfterOpen:c.default.func,onRequestClose:c.default.func,closeTimeoutMS:c.default.number,ariaHideApp:c.default.bool,shouldFocusAfterRender:c.default.bool,shouldCloseOnOverlayClick:c.default.bool,shouldReturnFocusAfterClose:c.default.bool,preventScroll:c.default.bool,parentSelector:c.default.func,aria:c.default.object,data:c.default.object,role:c.default.string,contentLabel:c.default.string,shouldCloseOnEsc:c.default.bool,overlayRef:c.default.func,contentRef:c.default.func,id:c.default.string,overlayElement:c.default.func,contentElement:c.default.func},S.defaultProps={isOpen:!1,portalClassName:y,bodyOpenClassName:g,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return a.default.createElement("div",e,t)},contentElement:function(e,t){return a.default.createElement("div",e,t)}},S.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,h.polyfill)(S),t.default=S},29090(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(96540),s=y(n(5556)),c=m(n(27791)),l=y(n(57067)),u=m(n(76462)),f=m(n(24838)),d=n(60834),h=y(d),p=y(n(49628));function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function y(e){return e&&e.__esModule?e:{default:e}}n(77727);var g={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},v=0,b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,i=e.htmlOpenClassName,o=e.bodyOpenClassName,a=e.parentSelector,s=a&&a().ownerDocument||document;o&&f.remove(s.body,o),i&&f.remove(s.getElementsByTagName("html")[0],i),r&&v>0&&0==(v-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(c.returnFocus(n.props.preventScroll),c.teardownScopedFocus()):c.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),p.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(c.setupScopedFocus(n.node),c.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,l.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":i(t))?t:{base:g[e],afterOpen:g[e]+"--after-open",beforeClose:g[e]+"--before-close"},o=r.base;return n.state.afterOpen&&(o=o+" "+r.afterOpen),n.state.beforeClose&&(o=o+" "+r.beforeClose),"string"==typeof t&&t?o+" "+t:o},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,r){return n[e+"-"+r]=t[r],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,i=e.bodyOpenClassName,o=e.parentSelector,a=o&&o().ownerDocument||document;i&&f.add(a.body,i),r&&f.add(a.getElementsByTagName("html")[0],r),n&&(v+=1,u.hide(t)),p.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,i=e.overlayClassName,o=e.defaultStyles,a=e.children,s=n?{}:o.content,c=i?{}:o.overlay;if(this.shouldBeClosed())return null;var l={ref:this.setOverlayRef,className:this.buildClassName("overlay",i),style:r({},c,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=r({id:t,ref:this.setContentRef,style:r({},s,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",r({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),f=this.props.contentElement(u,a);return this.props.overlayElement(l,f)}}]),t}(a.Component);b.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},b.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(h.default),s.default.instanceOf(d.SafeHTMLCollection),s.default.instanceOf(d.SafeNodeList),s.default.arrayOf(s.default.instanceOf(h.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=b,e.exports=t.default},76462(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){a&&(a.removeAttribute?a.removeAttribute("aria-hidden"):null!=a.length?a.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(a).forEach(function(e){return e.removeAttribute("aria-hidden")})),a=null},t.log=function(){},t.assertNodeList=s,t.setElement=function(e){var t=e;if("string"==typeof t&&o.canUseDOM){var n=document.querySelectorAll(t);s(n,t),t=n}return a=t||a},t.validateElement=c,t.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var i,o=c(e)[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)i.value.setAttribute("aria-hidden","true")}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}},t.show=function(e){var t=!0,n=!1,r=void 0;try{for(var i,o=c(e)[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)i.value.removeAttribute("aria-hidden")}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}},t.documentNotReadyOrSSRTesting=function(){a=null};var r,i=(r=n(9771))&&r.__esModule?r:{default:r},o=n(60834),a=null;function s(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function c(e){var t=e||a;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,i.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},77727(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[o,a],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}o=a=null,s=[]},t.log=function(){console.log("bodyTrap ----------"),console.log(s.length);for(var e=[o,a],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var r,i=(r=n(49628))&&r.__esModule?r:{default:r},o=void 0,a=void 0,s=[];function c(){0!==s.length&&s[s.length-1].focusContent()}i.default.subscribe(function(e,t){o||a||((o=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),o.style.position="absolute",o.style.opacity="0",o.setAttribute("tabindex","0"),o.addEventListener("focus",c),(a=o.cloneNode()).addEventListener("focus",c)),(s=t).length>0?(document.body.firstChild!==o&&document.body.insertBefore(o,document.body.firstChild),document.body.lastChild!==a&&document.body.appendChild(a)):(o.parentElement&&o.parentElement.removeChild(o),a.parentElement&&a.parentElement.removeChild(a))})},24838(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)i(e,n[t]);var o=document.body;for(var a in r)i(o,r[a]);n={},r={}},t.log=function(){};var n={},r={};function i(e,t){e.classList.remove(t)}t.add=function(e,t){return i=e.classList,o="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(o,e),i.add(e)});var i,o},t.remove=function(e,t){return i=e.classList,o="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(o,e),0===o[e]&&i.remove(e)});var i,o}},27791(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){o=[]},t.log=function(){},t.handleBlur=c,t.handleFocus=l,t.markForFocusLater=function(){o.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==o.length&&(t=o.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){o.length>0&&o.pop()},t.setupScopedFocus=function(e){a=e,window.addEventListener?(window.addEventListener("blur",c,!1),document.addEventListener("focus",l,!0)):(window.attachEvent("onBlur",c),document.attachEvent("onFocus",l))},t.teardownScopedFocus=function(){a=null,window.addEventListener?(window.removeEventListener("blur",c),document.removeEventListener("focus",l)):(window.detachEvent("onBlur",c),document.detachEvent("onFocus",l))};var r,i=(r=n(42411))&&r.__esModule?r:{default:r},o=[],a=null,s=!1;function c(){s=!0}function l(){if(s){if(s=!1,!a)return;setTimeout(function(){a.contains(document.activeElement)||((0,i.default)(a)[0]||a).focus()},0)}}},49628(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(r.openInstances.length),r.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},t.resetState=function(){r=new n};var n=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},r=new n;t.default=r},60834(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r,i=((r=n(50411))&&r.__esModule?r:{default:r}).default,o=i.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=i.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=i.canUseDOM?window.NodeList:{},t.canUseDOM=i.canUseDOM,t.default=o},57067(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,i.default)(e);if(n.length){var r=void 0,a=t.shiftKey,s=n[0],c=n[n.length-1],l=o();if(e===l){if(!a)return;r=c}if(c!==l||a||(r=s),s===l&&a&&(r=c),r)return t.preventDefault(),void r.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=u&&"Chrome"!=u[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var f=n.indexOf(l);if(f>-1&&(f+=a?-1:1),void 0===(r=n[f]))return t.preventDefault(),void(r=a?c:s).focus();t.preventDefault(),r.focus()}}else t.preventDefault()};var r,i=(r=n(42411))&&r.__esModule?r:{default:r};function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?o(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default},42411(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){return[].slice.call(t.querySelectorAll("*"),0).reduce(function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])},[]).filter(i)};var n=/^(input|select|textarea|button|object|iframe)$/;function r(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var n=window.getComputedStyle(e),r=n.getPropertyValue("display");return t?"contents"!==r&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,n):"none"===r}catch(e){return console.warn("Failed to inspect element style"),!1}}function i(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var i=isNaN(t);return(i||t>=0)&&function(e,t){var i=e.nodeName.toLowerCase();return(n.test(i)&&!e.disabled||"a"===i&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),r(t))return!1;t=t.parentNode}return!0}(e)}(e,!i)}e.exports=t.default},20312(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=(r=n(1720))&&r.__esModule?r:{default:r};t.default=i.default,e.exports=t.default},6620(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(96540)),a=(i=n(30115))&&i.__esModule?i:{default:i},s=n(88259),c=n(87032);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(y,e);var t,n,i,s,l=(i=y,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=p(i);if(s){var n=p(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?h(e):t}(this,e)});function y(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return m(h(e=l.call.apply(l,[this].concat(n))),"mounted",!1),m(h(e),"isReady",!1),m(h(e),"isPlaying",!1),m(h(e),"isLoading",!0),m(h(e),"loadOnReady",null),m(h(e),"startOnPlay",!0),m(h(e),"seekOnPlay",null),m(h(e),"onDurationCalled",!1),m(h(e),"handlePlayerMount",function(t){e.player=t,e.player.load(e.props.url),e.progress()}),m(h(e),"getInternalPlayer",function(t){return e.player?e.player[t]:null}),m(h(e),"progress",function(){if(e.props.url&&e.player&&e.isReady){var t=e.getCurrentTime()||0,n=e.getSecondsLoaded(),r=e.getDuration();if(r){var i={playedSeconds:t,played:t/r};null!==n&&(i.loadedSeconds=n,i.loaded=n/r),i.playedSeconds===e.prevPlayed&&i.loadedSeconds===e.prevLoaded||e.props.onProgress(i),e.prevPlayed=i.playedSeconds,e.prevLoaded=i.loadedSeconds}}e.progressTimeout=setTimeout(e.progress,e.props.progressFrequency||e.props.progressInterval)}),m(h(e),"handleReady",function(){if(e.mounted){e.isReady=!0,e.isLoading=!1;var t=e.props,n=t.onReady,r=t.playing,i=t.volume,o=t.muted;n(),o||null===i||e.player.setVolume(i),e.loadOnReady?(e.player.load(e.loadOnReady,!0),e.loadOnReady=null):r&&e.player.play(),e.handleDurationCheck()}}),m(h(e),"handlePlay",function(){e.isPlaying=!0,e.isLoading=!1;var t=e.props,n=t.onStart,r=t.onPlay,i=t.playbackRate;e.startOnPlay&&(e.player.setPlaybackRate&&1!==i&&e.player.setPlaybackRate(i),n(),e.startOnPlay=!1),r(),e.seekOnPlay&&(e.seekTo(e.seekOnPlay),e.seekOnPlay=null),e.handleDurationCheck()}),m(h(e),"handlePause",function(t){e.isPlaying=!1,e.isLoading||e.props.onPause(t)}),m(h(e),"handleEnded",function(){var t=e.props,n=t.activePlayer,r=t.loop,i=t.onEnded;n.loopOnEnded&&r&&e.seekTo(0),r||(e.isPlaying=!1,i())}),m(h(e),"handleError",function(){var t;e.isLoading=!1,(t=e.props).onError.apply(t,arguments)}),m(h(e),"handleDurationCheck",function(){clearTimeout(e.durationCheckTimeout);var t=e.getDuration();t?e.onDurationCalled||(e.props.onDuration(t),e.onDurationCalled=!0):e.durationCheckTimeout=setTimeout(e.handleDurationCheck,100)}),m(h(e),"handleLoaded",function(){e.isLoading=!1}),e}return t=y,n=[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP(
2)),this.mounted=!1}},{key:"componentDidUpdate",value:function(e){var t=this;if(this.player){var n=this.props,r=n.url,i=n.playing,o=n.volume,s=n.muted,l=n.playbackRate,u=n.pip,f=n.loop,d=n.activePlayer,h=n.disableDeferredLoading;if(!(0,a.default)(e.url,r)){if(this.isLoading&&!d.forceLoad&&!h&&!(0,c.isMediaStream)(r))return console.warn("ReactPlayer: the attempt to load ".concat(r," is being deferred until the player has loaded")),void(this.loadOnReady=r);this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(r,this.isReady)}e.playing||!i||this.isPlaying||this.player.play(),e.playing&&!i&&this.isPlaying&&this.player.pause(),!e.pip&&u&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!u&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==o&&null!==o&&this.player.setVolume(o),e.muted!==s&&(s?this.player.mute():(this.player.unmute(),null!==o&&setTimeout(function(){return t.player.setVolume(o)}))),e.playbackRate!==l&&this.player.setPlaybackRate&&this.player.setPlaybackRate(l),e.loop!==f&&this.player.setLoop&&this.player.setLoop(f)}}},{key:"getDuration",value:function(){return this.isReady?this.player.getDuration():null}},{key:"getCurrentTime",value:function(){return this.isReady?this.player.getCurrentTime():null}},{key:"getSecondsLoaded",value:function(){return this.isReady?this.player.getSecondsLoaded():null}},{key:"seekTo",value:function(e,t){var n=this;if(this.isReady){if(t?"fraction"===t:e>0&&e<1){var r=this.player.getDuration();return r?void this.player.seekTo(r*e):void console.warn("ReactPlayer: could not seek using fraction – duration not yet available")}this.player.seekTo(e)}else 0!==e&&(this.seekOnPlay=e,setTimeout(function(){n.seekOnPlay=null},5e3))}},{key:"render",value:function(){var e=this.props.activePlayer;return e?o.default.createElement(e,u({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}],n&&f(t.prototype,n),y}(o.Component);t.default=y,m(y,"displayName","Player"),m(y,"propTypes",s.propTypes),m(y,"defaultProps",s.defaultProps)},74563(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.createReactPlayer=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(96540)),o=f(n(56299)),a=f(n(41811)),s=f(n(30115)),c=n(88259),l=n(87032),u=f(n(6620));function f(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach(function(t){S(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(this,arguments)}function y(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
2function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=(0,i.lazy)(function(){return n.e(6353).then(n.bind(n,33941))}),E="undefined"!=typeof window&&window.document,_=void 0!==n.g&&n.g.window&&n.g.window.document,C=Object.keys(c.propTypes),A=E||_?i.Suspense:function(){return null},T=[];t.createReactPlayer=function(e,t){var n,f;return f=n=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(_,n);var f,d,h,g,E=(h=_,g=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=x(h);if(g){var n=x(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?w(e):t}(this,e)});function _(){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,_);for(var r=arguments.length,s=new Array(r),f=0;f<r;f++)s[f]=arguments[f];return S(w(n=E.call.apply(E,[this].concat(s))),"state",{showPreview:!!n.props.light}),S(w(n),"references",{wrapper:function(e){n.wrapper=e},player:function(e){n.player=e}}),S(w(n),"handleClickPreview",function(e){n.setState({showPreview:!1}),n.props.onClickPreview(e)}),S(w(n),"showPreview",function(){n.setState({showPreview:!0})}),S(w(n),"getDuration",function(){return n.player?n.player.getDuration():null}),S(w(n),"getCurrentTime",function(){return n.player?n.player.getCurrentTime():null}),S(w(n),"getSecondsLoaded",function(){return n.player?n.player.getSecondsLoaded():null}),S(w(n),"getInternalPlayer",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return n.player?n.player.getInternalPlayer(e):null}),S(w(n),"seekTo",function(e,t){if(!n.player)return null;n.player.seekTo(e,t)}),S(w(n),"handleReady",function(){n.props.onReady(w(n))}),S(w(n),"getActivePlayer",(0,a.default)(function(n){for(var r=0,i=[].concat(T,y(e));r<i.length;r++){var o=i[r];if(o.canPlay(n))return o}return t||null})),S(w(n),"getConfig",(0,a.default)(function(e,t){var r=n.props.config;return o.default.all([c.defaultProps.config,c.defaultProps.config[t]||{},r,r[t]||{}])})),S(w(n),"getAttributes",(0,a.default)(function(e){return(0,l.omit)(n.props,C)})),S(w(n),"renderActivePlayer",function(e){if(!e)return null;var t=n.getActivePlayer(e);if(!t)return null;var r=n.getConfig(e,t.key);return i.default.createElement(u.default,m({},n.props,{key:t.key,ref:n.references.player,config:r,activePlayer:t.lazyPlayer||t,onReady:n.handleReady}))}),n}return f=_,d=[{key:"shouldComponentUpdate",value:function(e,t){return!(0,s.default)(this.props,e)||!(0,s.default)(this.state,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props.light;!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}},{key:"renderPreview",value:function(e){if(!e)return null;var t=this.props,n=t.light,r=t.playIcon,o=t.previewTabIndex,a=t.oEmbedUrl;return i.default.createElement(k,{url:e,light:n,playIcon:r,previewTabIndex:o,oEmbedUrl:a,onClick:this.handleClickPreview})}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.style,r=e.width,o=e.height,a=e.fallback,s=e.wrapper,c=this.state.showPreview,l=this.getAttributes(t);return i.default.createElement(s,m({ref:this.references.wrapper,style:p(p({},n),{},{width:r,height:o})},l),i.default.createElement(A,{fallback:a},c?this.renderPreview(t):this.renderActivePlayer(t)))}}],d&&v(f.prototype,d),_}(i.Component),S(n,"displayName","ReactPlayer"),S(n,"propTypes",c.propTypes),S(n,"defaultProps",c.defaultProps),S(n,"addCustomPlayer",function(e){T.push(e)}),S(n,"removeCustomPlayers",function(){T.length=0}),S(n,"canPlay",function(t){for(var n=0,r=[].concat(T,y(e));n<r.length;n++)if(r[n].canPlay(t))return!0;return!1}),S(n,"canEnablePIP",function(t){for(var n=0,r=[].concat(T,y(e));n<r.length;n++){var i=r[n];if(i.canEnablePIP&&i.canEnablePIP(t))return!0}return!1}),f}},98957(e,t,n){"use strict";t.A=void 0;var r,i=(r=n(13820))&&r.__esModule?r:{default:r},o=n(74563),a=i.default[i.default.length-1],s=(0,o.createReactPlayer)(i.default,a);t.A=s},87430(e,t,n){"use strict";
vendor: 10,550 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.canPlay=t.FLV_EXTENSIONS=t.DASH_EXTENSIONS=t.HLS_EXTENSIONS=t.VIDEO_EXTENSIONS=t.AUDIO_EXTENSIONS=t.MATCH_URL_KALTURA=t.MATCH_URL_VIDYARD=t.MATCH_URL_MIXCLOUD=t.MATCH_URL_DAILYMOTION=t.MATCH_URL_TWITCH_CHANNEL=t.MATCH_URL_TWITCH_VIDEO=t.MATCH_URL_WISTIA=t.MATCH_URL_STREAMABLE=t.MATCH_URL_FACEBOOK_WATCH=t.MATCH_URL_FACEBOOK=t.MATCH_URL_VIMEO=t.MATCH_URL_SOUNDCLOUD=t.MATCH_URL_YOUTUBE=void 0;var r=n(87032);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var o=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;t.MATCH_URL_YOUTUBE=o;var a=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;t.MATCH_URL_SOUNDCLOUD=a;var s=/vimeo\.com\/(?!progressive_redirect).+/;t.MATCH_URL_VIMEO=s;var c=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;t.MATCH_URL_FACEBOOK=c;var l=/^https?:\/\/fb\.watch\/.+$/;t.MATCH_URL_FACEBOOK_WATCH=l;var u=/streamable\.com\/([a-z0-9]+)$/;t.MATCH_URL_STREAMABLE=u;var f=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;t.MATCH_URL_WISTIA=f;var d=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;t.MATCH_URL_TWITCH_VIDEO=d;var h=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;t.MATCH_URL_TWITCH_CHANNEL=h;var p=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;t.MATCH_URL_DAILYMOTION=p;var m=/mixcloud\.com\/([^/]+\/[^/]+)/;t.MATCH_URL_MIXCLOUD=m;var y=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;t.MATCH_URL_VIDYARD=y;var g=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_]+)$/;t.MATCH_URL_KALTURA=g;var v=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;t.AUDIO_EXTENSIONS=v;var b=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i;t.VIDEO_EXTENSIONS=b;var w=/\.(m3u8)($|\?)/i;t.HLS_EXTENSIONS=w;var x=/\.(mpd)($|\?)/i;t.DASH_EXTENSIONS=x;var S=/\.(flv)($|\?)/i;t.FLV_EXTENSIONS=S;var k={youtube:function(e){return e instanceof Array?e.every(function(e){return o.test(e)}):o.test(e)},soundcloud:function(e){return a.test(e)&&!v.test(e)},vimeo:function(e){return s.test(e)&&!b.test(e)&&!w.test(e)},facebook:function(e){return c.test(e)||l.test(e)},streamable:function(e){return u.test(e)},wistia:function(e){return f.test(e)},twitch:function(e){return d.test(e)||h.test(e)},dailymotion:function(e){return p.test(e)},mixcloud:function(e){return m.test(e)},vidyard:function(e){return y.test(e)},kaltura:function(e){return g.test(e)},file:function e(t){if(t instanceof Array){var n,o=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}(t);try{for(o.s();!(n=o.n()).done;){var a=n.value;if("string"==typeof a&&e(a))return!0;if(e(a.src))return!0}}catch(e){o.e(e)}finally{o.f()}return!1}return!(!(0,r.isMediaStream)(t)&&!(0,r.isBlobUrl)(t))||v.test(t)||b.test(t)||w.test(t)||x.test(t)||S.test(t)}};t.canPlay=k},13820(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(96540),i=n(87032),o=n(87430),a=[{key:"youtube",name:"YouTube",canPlay:o.canPlay.youtube,lazyPlayer:(0,r.lazy)(function(){return n.e(8446).then(n.bind(n,88645))})},{key:"soundcloud",name:"SoundCloud",canPlay:o.canPlay.soundcloud,lazyPlayer:(0,r.lazy)(function(){return n.e(9979).then(n.bind(n,88698))})},{key:"vimeo",name:"Vimeo",canPlay:o.canPlay.vimeo,lazyPlayer:(0,r.lazy)(function(){return n.e(6173).then(n.bind(n,93868))})},{key:"facebook",name:"Facebook",canPlay:o.canPlay.facebook,lazyPlayer:(0,r.lazy)(function(){return n.e(6887).then(n.bind(n,17862))})},{key:"streamable",name:"Streamable",canPlay:o.canPlay.streamable,lazyPlayer:(0,r.lazy)(function(){return n.e(7627).then(n.bind(n,56146))})},{key:"wistia",name:"Wistia",canPlay:o.canPlay.wistia,lazyPlayer:(0,r.lazy)(function(){return n.e(9340).then(n.bind(n,6771))})},{key:"twitch",name:"Twitch",canPlay:o.canPlay.twitch,lazyPlayer:(0,r.lazy)(function(){return n.e(2042).then(n.bind(n,11721))})},{key:"dailymotion",name:"DailyMotion",canPlay:o.canPlay.dailymotion,lazyPlayer:(0,r.lazy)(function(){return n.e(6328).then(n.bind(n,53903))})},{key:"mixcloud",name:"Mixcloud",canPlay:o.canPlay.mixcloud,lazyPlayer:(0,r.lazy)(function(){return n.e(7570).then(n.bind(n,22385))})},{key:"vidyard",name:"Vidyard",canPlay:o.canPlay.vidyard,lazyPlayer:(0,r.lazy)(function(){return n.e(3392).then(n.bind(n,92519))})},{key:"kaltura",name:"Kaltura",canPlay:o.canPlay.kaltura,lazyPlayer:(0,r.lazy)(function(){return n.e(6463).then(n.bind(n,71326))})},{key:"file",name:"FilePlayer",canPlay:o.canPlay.file,canEnablePIP:function(e){return o.canPlay.file(e)&&(document.pictureInPictureEnabled||(0,i.supportsWebKitPresentationMode)())&&!o.AUDIO_EXTENSIONS.test(e)},lazyPlayer:(0,r.lazy)(function(){return n.e(7458).then(n.bind(n,55825))})}];t.default=a},88259(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultProps=t.propTypes=void 0;var r,i=(r=n(5556))&&r.__esModule?r:{default:r},o=i.default.string,a=i.default.bool,s=i.default.number,c=i.default.array,l=i.default.oneOfType,u=i.default.shape,f=i.default.object,d=i.default.func,h=i.default.node,p={url:l([o,c,f]),playing:a,loop:a,controls:a,volume:s,muted:a,playbackRate:s,width:l([o,s]),height:l([o,s]),style:f,progressInterval:s,playsinline:a,pip:a,stopOnUnmount:a,light:l([a,o]),playIcon:h,previewTabIndex:s,fallback:h,oEmbedUrl:o,wrapper:l([o,d,u({render:d.isRequired})]),config:u({soundcloud:u({options:f}),youtube:u({playerVars:f,embedOptions:f,onUnstarted:d}),facebook:u({appId:o,version:o,playerId:o,attributes:f}),dailymotion:u({params:f}),vimeo:u({playerOptions:f,title:o}),file:u({attributes:f,tracks:c,forceVideo:a,forceAudio:a,forceHLS:a,forceDASH:a,forceFLV:a,hlsOptions:f,hlsVersion:o,dashVersion:o,flvVersion:o}),wistia:u({options:f,playerId:o,customControls:c}),mixcloud:u({options:f}),twitch:u({options:f,playerId:o}),vidyard:u({options:f})}),onReady:d,onStart:d,onPlay:d,onPause:d,onBuffer:d,onBufferEnd:d,onEnded:d,onError:d,onDuration:d,onSeek:d,onPlaybackRateChange:d,onProgress:d,onClickPreview:d,onEnablePIP:d,onDisablePIP:d};t.propTypes=p;var m=function(){},y={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,oEmbedUrl:"https://noembed.com/embed?url={url}",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:m},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",dashVersion:"3.1.3",flvVersion:"1.5.0"},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:m,onStart:m,onPlay:m,onPause:m,onBuffer:m,onBufferEnd:m,onEnded:m,onError:m,onDuration:m,onSeek:m,onPlaybackRateChange:m,onProgress:m,onClickPreview:m,onEnablePIP:m,onDisablePIP:m};t.defaultProps=y},87032(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseStartTime=function(e){return d(e,c)},t.parseEndTime=function(e){return d(e,l)},t.randomString=function(){return Math.random().toString(36).substr(2,5)},t.queryString=function(e){return Object.keys(e).map(function(t){return"".concat(t,"=").concat(e[t])}).join("&")},t.getSDK=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r.default,a=h(t);return a&&i(a)?Promise.resolve(a):new Promise(function(r,i){if(p[e])p[e].push({resolve:r,reject:i});else{p[e]=[{resolve:r,reject:i}];var a=function(t){p[e].forEach(function(e){return e.resolve(t)})};if(n){var s=window[n];window[n]=function(){s&&s(),a(h(t))}}o(e,function(r){r?(p[e].forEach(function(e){return e.reject(r)}),p[e]=null):n||a(h(t))})}})},t.getConfig=function(e,t){return(0,i.default)(t.config,e.config)},t.omit=function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var o=(t=[]).concat.apply(t,r),a={},s=0,c=Object.keys(e);s<c.length;s++){var l=c[s];-1===o.indexOf(l)&&(a[l]=e[l])}return a},t.callPlayer=function(e){var t;if(!this.player||!this.player[e]){var n="ReactPlayer: ".concat(this.constructor.displayName," player could not call %c").concat(e,"%c – ");return this.player?this.player[e]||(n+="The method was not available"):n+="The player was not available",console.warn(n,"font-weight: bold",""),null}for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return(t=this.player)[e].apply(t,i)},t.isMediaStream=function(e){return"undefined"!=typeof window&&void 0!==window.MediaStream&&e instanceof window.MediaStream},t.isBlobUrl=function(e){return/^blob:/.test(e)},t.supportsWebKitPresentationMode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.createElement("video"),t=!1===/iPhone|iPod/.test(navigator.userAgent);return e.webkitSupportsPresentationMode&&"function"==typeof e.webkitSetPresentationMode&&t};var r=o(n(6147)),i=o(n(56299));
2function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=/[?&#](?:start|t)=([0-9hms]+)/,l=/[?&#]end=([0-9hms]+)/,u=/(\d+)(h|m|s)/g,f=/^\d+$/;function d(e,t){if(!(e instanceof Array)){var n=e.match(t);if(n){var r=n[1];if(r.match(u))return function(e){for(var t=0,n=u.exec(e);null!==n;){var r=a(n,3),i=r[1],o=r[2];"h"===o&&(t+=60*parseInt(i,10)*60),"m"===o&&(t+=60*parseInt(i,10)),"s"===o&&(t+=parseInt(i,10)),n=u.exec(e)}return t}(r);if(f.test(r))return parseInt(r)}}}function h(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}var p={}},56299(e){"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function i(e,t,n){return e.concat(t).map(function(e){return r(e,n)})}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,n,c){(c=c||{}).arrayMerge=c.arrayMerge||i,c.isMergeableObject=c.isMergeableObject||t,c.cloneUnlessOtherwiseSpecified=r;var l=Array.isArray(n);return l===Array.isArray(e)?l?c.arrayMerge(e,n,c):function(e,t,n){var i={};return n.isMergeableObject(e)&&o(e).forEach(function(t){i[t]=r(e[t],n)}),o(t).forEach(function(o){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(a(e,o)&&n.isMergeableObject(t[o])?i[o]=function(e,t){if(!t.customMerge)return s;var n=t.customMerge(e);return"function"==typeof n?n:s}(o,n)(e[o],t[o],n):i[o]=r(t[o],n))}),i}(e,n,c):r(n,c)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return s(e,n,t)},{})};var c=s;e.exports=c},71289(e,t,n){"use strict";n.d(t,{m:()=>a});var r=n(25540),i=n(43287),o=n(40941),a=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!o.S$&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),function(){window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}},t}(0,r.A)(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(function(e){"boolean"==typeof e?n.setFocused(e):n.onFocus()})},n.setFocused=function(e){this.focused=e,e&&this.onFocus()},n.onFocus=function(){this.listeners.forEach(function(e){e()})},n.isFocused=function(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},t}(i.Q))},14468(e,t,n){"use strict";n.d(t,{QueryClient:()=>r.E,setLogger:()=>i.B});var r=n(46468),i=n(9690),o=n(76449);n.o(o,"QueryClientProvider")&&n.d(t,{QueryClientProvider:function(){return o.QueryClientProvider}}),n.o(o,"useInfiniteQuery")&&n.d(t,{useInfiniteQuery:function(){return o.useInfiniteQuery}}),n.o(o,"useMutation")&&n.d(t,{useMutation:function(){return o.useMutation}}),n.o(o,"useQuery")&&n.d(t,{useQuery:function(){return o.useQuery}}),n.o(o,"useQueryClient")&&n.d(t,{useQueryClient:function(){return o.useQueryClient}})},95650(e,t,n){"use strict";n.d(t,{PL:()=>o,RQ:()=>l,rB:()=>c});var r=n(36281),i=n(40941);function o(){return{onFetch:function(e){e.fetchFn=function(){var t,n,o,c,l,u,f,d=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,h=null==(o=e.fetchOptions)||null==(c=o.meta)?void 0:c.fetchMore,p=null==h?void 0:h.pageParam,m="forward"===(null==h?void 0:h.direction),y="backward"===(null==h?void 0:h.direction),g=(null==(l=e.state.data)?void 0:l.pages)||[],v=(null==(u=e.state.data)?void 0:u.pageParams)||[],b=(0,i.jY)(),w=null==b?void 0:b.signal,x=v,S=!1,k=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},E=function(e,t,n,r){return x=r?[t].concat(x):[].concat(x,[t]),r?[n].concat(e):[].concat(e,[n])},_=function(t,n,i,o){if(S)return Promise.reject("Cancelled");if(void 0===i&&!n&&t.length)return Promise.resolve(t);var a={queryKey:e.queryKey,signal:w,pageParam:i,meta:e.meta},s=k(a),c=Promise.resolve(s).then(function(e){return E(t,i,e,o)});return(0,r.dd)(s)&&(c.cancel=s.cancel),c};if(g.length)if(m){var C=void 0!==p,A=C?p:a(e.options,g);
2f=_(g,C,A)}else if(y){var T=void 0!==p,P=T?p:s(e.options,g);f=_(g,T,P,!0)}else!function(){x=[];var t=void 0===e.options.getNextPageParam,n=!d||!g[0]||d(g[0],0,g);f=n?_([],t,v[0]):Promise.resolve(E([],v[0],g[0]));for(var r=function(n){f=f.then(function(r){if(!d||!g[n]||d(g[n],n,g)){var i=t?v[n]:a(e.options,r);return _(r,t,i)}return Promise.resolve(E(r,v[n],g[n]))})},i=1;i<g.length;i++)r(i)}();else f=_([]);var O=f.then(function(e){return{pages:e,pageParams:x}});return O.cancel=function(){S=!0,null==b||b.abort(),(0,r.dd)(f)&&f.cancel()},O}}}}function a(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}function s(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}function c(e,t){if(e.getNextPageParam&&Array.isArray(t)){var n=a(e,t);return null!=n&&!1!==n}}function l(e,t){if(e.getPreviousPageParam&&Array.isArray(t)){var n=s(e,t);return null!=n&&!1!==n}}},9690(e,t,n){"use strict";n.d(t,{B:()=>o,t:()=>i});var r=console;function i(){return r}function o(e){r=e}},23465(e,t,n){"use strict";n.d(t,{$:()=>l,s:()=>c});var r=n(58168),i=n(9690),o=n(80428),a=n(36281),s=n(40941),c=function(){function e(e){this.options=(0,r.A)({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},this.meta=e.meta}var t=e.prototype;return t.setState=function(e){this.dispatch({type:"setState",state:e})},t.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},t.removeObserver=function(e){this.observers=this.observers.filter(function(t){return t!==e})},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(s.lQ).catch(s.lQ)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var e,t=this,n="loading"===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:"loading",variables:this.options.variables}),r=r.then(function(){null==t.mutationCache.config.onMutate||t.mutationCache.config.onMutate(t.state.variables,t)}).then(function(){return null==t.options.onMutate?void 0:t.options.onMutate(t.state.variables)}).then(function(e){e!==t.state.context&&t.dispatch({type:"loading",context:e,variables:t.state.variables})})),r.then(function(){return t.executeMutation()}).then(function(n){e=n,null==t.mutationCache.config.onSuccess||t.mutationCache.config.onSuccess(e,t.state.variables,t.state.context,t)}).then(function(){return null==t.options.onSuccess?void 0:t.options.onSuccess(e,t.state.variables,t.state.context)}).then(function(){return null==t.options.onSettled?void 0:t.options.onSettled(e,null,t.state.variables,t.state.context)}).then(function(){return t.dispatch({type:"success",data:e}),e}).catch(function(e){return null==t.mutationCache.config.onError||t.mutationCache.config.onError(e,t.state.variables,t.state.context,t),(0,i.t)().error(e),Promise.resolve().then(function(){return null==t.options.onError?void 0:t.options.onError(e,t.state.variables,t.state.context)}).then(function(){return null==t.options.onSettled?void 0:t.options.onSettled(void 0,e,t.state.variables,t.state.context)}).then(function(){throw t.dispatch({type:"error",error:e}),e})})},t.executeMutation=function(){var e,t=this;return this.retryer=new a.eJ({fn:function(){return t.options.mutationFn?t.options.mutationFn(t.state.variables):Promise.reject("No mutationFn found")},onFail:function(){t.dispatch({type:"failed"})},onPause:function(){t.dispatch({type:"pause"})},onContinue:function(){t.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(e){var t=this;this.state=function(e,t){switch(t.type){case"failed":return(0,r.A)({},e,{failureCount:e.failureCount+1});case"pause":return(0,r.A)({},e,{isPaused:!0});case"continue":return(0,r.A)({},e,{isPaused:!1});case"loading":return(0,r.A)({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return(0,r.A)({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return(0,r.A)({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return(0,r.A)({},e,t.state);default:return e}}
2(this.state,e),o.j.batch(function(){t.observers.forEach(function(t){t.onMutationUpdate(e)}),t.mutationCache.notify(t)})},e}();function l(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}},80428(e,t,n){"use strict";n.d(t,{j:()=>o});var r=n(40941),i=function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(e){e()},this.batchNotifyFn=function(e){e()}}var t=e.prototype;return t.batch=function(e){var t;this.transactions++;try{t=e()}finally{this.transactions--,this.transactions||this.flush()}return t},t.schedule=function(e){var t=this;this.transactions?this.queue.push(e):(0,r.G6)(function(){t.notifyFn(e)})},t.batchCalls=function(e){var t=this;return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.schedule(function(){e.apply(void 0,r)})}},t.flush=function(){var e=this,t=this.queue;this.queue=[],t.length&&(0,r.G6)(function(){e.batchNotifyFn(function(){t.forEach(function(t){e.notifyFn(t)})})})},t.setNotifyFunction=function(e){this.notifyFn=e},t.setBatchNotifyFunction=function(e){this.batchNotifyFn=e},e}(),o=new i},64622(e,t,n){"use strict";n.d(t,{t:()=>a});var r=n(25540),i=n(43287),o=n(40941),a=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!o.S$&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),function(){window.removeEventListener("online",n),window.removeEventListener("offline",n)}}},t}(0,r.A)(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(function(e){"boolean"==typeof e?n.setOnline(e):n.onOnline()})},n.setOnline=function(e){this.online=e,e&&this.onOnline()},n.onOnline=function(){this.listeners.forEach(function(e){e()})},n.isOnline=function(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine},t}(i.Q))},46468(e,t,n){"use strict";n.d(t,{E:()=>g});var r=n(58168),i=n(40941),o=n(25540),a=n(80428),s=n(9690),c=n(36281),l=function(){function e(e){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=e.meta,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(e){var t;this.options=(0,r.A)({},this.defaultOptions,e),this.meta=null==e?void 0:e.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(t=this.options.cacheTime)?t:3e5)},t.setDefaultOptions=function(e){this.defaultOptions=e},t.scheduleGc=function(){var e=this;this.clearGcTimeout(),(0,i.gn)(this.cacheTime)&&(this.gcTimeout=setTimeout(function(){e.optionalRemove()},this.cacheTime))},t.clearGcTimeout=function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)},t.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},t.setData=function(e,t){var n,r,o=this.state.data,a=(0,i.Zw)(e,o);return(null==(n=(r=this.options).isDataEqual)?void 0:n.call(r,o,a))?a=o:!1!==this.options.structuralSharing&&(a=(0,i.BH)(o,a)),this.dispatch({data:a,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt}),a},t.setState=function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})},t.cancel=function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(i.lQ).catch(i.lQ):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some(function(e){return!1!==e.options.enabled})},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(function(e){return e.getCurrentResult().isStale})},t.isStaleByTime=function(e){return void 0===e&&(e=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,i.j3)(this.state.dataUpdatedAt,e)},t.onFocus=function(){var e,t=this.observers.find(function(e){return e.shouldFetchOnWindowFocus()});t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.onOnline=function(){var e,t=this.observers.find(function(e){return e.shouldFetchOnReconnect()});t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.addObserver=function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))},t.removeObserver=function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter(function(t){return t!==e}),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abort
2SignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:e}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},t.fetch=function(e,t){var n,r,o,a=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var l;return null==(l=this.retryer)||l.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var u=this.observers.find(function(e){return e.options.queryFn});u&&this.setOptions(u.options)}var f=(0,i.HN)(this.queryKey),d=(0,i.jY)(),h={queryKey:f,pageParam:void 0,meta:this.meta};Object.defineProperty(h,"signal",{enumerable:!0,get:function(){if(d)return a.abortSignalConsumed=!0,d.signal}});var p,m,y={fetchOptions:t,options:this.options,queryKey:f,state:this.state,fetchFn:function(){return a.options.queryFn?(a.abortSignalConsumed=!1,a.options.queryFn(h)):Promise.reject("Missing queryFn")},meta:this.meta};return(null==(n=this.options.behavior)?void 0:n.onFetch)&&(null==(p=this.options.behavior)||p.onFetch(y)),this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(r=y.fetchOptions)?void 0:r.meta)||this.dispatch({type:"fetch",meta:null==(m=y.fetchOptions)?void 0:m.meta}),this.retryer=new c.eJ({fn:y.fetchFn,abort:null==d||null==(o=d.abort)?void 0:o.bind(d),onSuccess:function(e){a.setData(e),null==a.cache.config.onSuccess||a.cache.config.onSuccess(e,a),0===a.cacheTime&&a.optionalRemove()},onError:function(e){(0,c.wm)(e)&&e.silent||a.dispatch({type:"error",error:e}),(0,c.wm)(e)||(null==a.cache.config.onError||a.cache.config.onError(e,a),(0,s.t)().error(e)),0===a.cacheTime&&a.optionalRemove()},onFail:function(){a.dispatch({type:"failed"})},onPause:function(){a.dispatch({type:"pause"})},onContinue:function(){a.dispatch({type:"continue"})},retry:y.options.retry,retryDelay:y.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(e){var t=this;this.state=this.reducer(this.state,e),a.j.batch(function(){t.observers.forEach(function(t){t.onQueryUpdate(e)}),t.cache.notify({query:t,type:"queryUpdated",action:e})})},t.getDefaultState=function(e){var t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==e.initialData?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,r=void 0!==t;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:r?"success":"idle"}},t.reducer=function(e,t){var n,i;switch(t.type){case"failed":return(0,r.A)({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return(0,r.A)({},e,{isPaused:!0});case"continue":return(0,r.A)({},e,{isPaused:!1});case"fetch":return(0,r.A)({},e,{fetchFailureCount:0,fetchMeta:null!=(n=t.meta)?n:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return(0,r.A)({},e,{data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(i=t.dataUpdatedAt)?i:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var o=t.error;return(0,c.wm)(o)&&o.revert&&this.revertState?(0,r.A)({},this.revertState):(0,r.A)({},e,{error:o,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return(0,r.A)({},e,{isInvalidated:!0});case"setState":return(0,r.A)({},e,t.state);default:return e}},e}(),u=n(43287),f=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.queries=[],n.queriesMap={},n}(0,o.A)(t,e);var n=t.prototype;return n.build=function(e,t,n){var r,o=t.queryKey,a=null!=(r=t.queryHash)?r:(0,i.F$)(o,t),s=this.get(a);return s||(s=new l({cache:this,queryKey:o,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o),meta:t.meta}),this.add(s)),s},n.add=function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"queryAdded",query:e}))},n.remove=function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter(function(t){return t!==e}),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"queryRemoved",query:e}))},n.clear=function(){var e=this;
2a.j.batch(function(){e.queries.forEach(function(t){e.remove(t)})})},n.get=function(e){return this.queriesMap[e]},n.getAll=function(){return this.queries},n.find=function(e,t){var n=(0,i.b_)(e,t)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find(function(e){return(0,i.MK)(n,e)})},n.findAll=function(e,t){var n=(0,i.b_)(e,t)[0];return Object.keys(n).length>0?this.queries.filter(function(e){return(0,i.MK)(n,e)}):this.queries},n.notify=function(e){var t=this;a.j.batch(function(){t.listeners.forEach(function(t){t(e)})})},n.onFocus=function(){var e=this;a.j.batch(function(){e.queries.forEach(function(e){e.onFocus()})})},n.onOnline=function(){var e=this;a.j.batch(function(){e.queries.forEach(function(e){e.onOnline()})})},t}(u.Q),d=n(23465),h=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}(0,o.A)(t,e);var n=t.prototype;return n.build=function(e,t,n){var r=new d.s({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r},n.add=function(e){this.mutations.push(e),this.notify(e)},n.remove=function(e){this.mutations=this.mutations.filter(function(t){return t!==e}),e.cancel(),this.notify(e)},n.clear=function(){var e=this;a.j.batch(function(){e.mutations.forEach(function(t){e.remove(t)})})},n.getAll=function(){return this.mutations},n.find=function(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find(function(t){return(0,i.nJ)(e,t)})},n.findAll=function(e){return this.mutations.filter(function(t){return(0,i.nJ)(e,t)})},n.notify=function(e){var t=this;a.j.batch(function(){t.listeners.forEach(function(t){t(e)})})},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var e=this.mutations.filter(function(e){return e.state.isPau
2sed});return a.j.batch(function(){return e.reduce(function(e,t){return e.then(function(){return t.continue().catch(i.lQ)})},Promise.resolve())})},t}(u.Q),p=n(71289),m=n(64622),y=n(95650),g=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new f,this.mutationCache=e.mutationCache||new h,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=p.m.subscribe(function(){p.m.isFocused()&&m.t.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())}),this.unsubscribeOnline=m.t.subscribe(function(){p.m.isFocused()&&m.t.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())})},t.unmount=function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)},t.isFetching=function(e,t){var n=(0,i.b_)(e,t)[0];return n.fetching=!0,this.queryCache.findAll(n).length},t.isMutating=function(e){return this.mutationCache.findAll((0,r.A)({},e,{fetching:!0})).length},t.getQueryData=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data},t.getQueriesData=function(e){return this.getQueryCache().findAll(e).map(function(e){return[e.queryKey,e.state.data]})},t.setQueryData=function(e,t,n){var r=(0,i.vh)(e),o=this.defaultQueryOptions(r);return this.queryCache.build(this,o).setData(t,n)},t.setQueriesData=function(e,t,n){var r=this;return a.j.batch(function(){return r.getQueryCache().findAll(e).map(function(e){var i=e.queryKey;return[i,r.setQueryData(i,t,n)]})})},t.getQueryState=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state},t.removeQueries=function(e,t){var n=(0,i.b_)(e,t)[0],r=this.queryCache;a.j.batch(function(){r.findAll(n).forEach(function(e){r.remove(e)})})},t.resetQueries=function(e,t,n){var o=this,s=(0,i.b_)(e,t,n),c=s[0],l=s[1],u=this.queryCache,f=(0,r.A)({},c,{active:!0});return a.j.batch(function(){return u.findAll(c).forEach(function(e){e.reset()}),o.refetchQueries(f,l)})},t.cancelQueries=function(e,t,n){var r=this,o=(0,i.b_)(e,t,n),s=o[0],c=o[1],l=void 0===c?{}:c;void 0===l.revert&&(l.revert=!0);var u=a.j.batch(function(){return r.queryCache.findAll(s).map(function(e){return e.cancel(l)})});return Promise.all(u).then(i.lQ).catch(i.lQ)},t.invalidateQueries=function(e,t,n){var o,s,c,l=this,u=(0,i.b_)(e,t,n),f=u[0],d=u[1],h=(0,r.A)({},f,{active:null==(o=null!=(s=f.refetchActive)?s:f.active)||o,inactive:null!=(c=f.refetchInactive)&&c});return a.j.batch(function(){return l.queryCache.findAll(f).forEach(function(e){e.invalidate()}),l.refetchQueries(h,d)})},t.refetchQueries=function(e,t,n){var o=this,s=(0,i.b_)(e,t,n),c=s[0],l=s[1],u=a.j.batch(function(){return o.queryCache.findAll(c).map(function(e){return e.fetch(void 0,(0,r.A)({},l,{meta:{refetchPage:null==c?void 0:c.refetchPage}}))})}),f=Promise.all(u).then(i.lQ);return(null==l?void 0:l.throwOnError)||(f=f.catch(i.lQ)),f},t.fetchQuery=function(e,t,n){var r=(0,i.vh)(e,t,n),o=this.defaultQueryOptions(r);void 0===o.retry&&(o.retry=!1);var a=this.queryCache.build(this,o);return a.isStaleByTime(o.staleTime)?a.fetch(o):Promise.resolve(a.state.data)},t.prefetchQuery=function(e,t,n){return this.fetchQuery(e,t,n).then(i.lQ).catch(i.lQ)},t.fetchInfiniteQuery=function(e,t,n){var r=(0,i.vh)(e,t,n);return r.behavior=(0,y.PL)(),this.fetchQuery(r)},t.prefetchInfiniteQuery=function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(i.lQ).catch(i.lQ)},t.cancelMutations=function(){var e=this,t=a.j.batch(function(){return e.mutationCache.getAll().map(function(e){return e.cancel()})});return Promise.all(t).then(i.lQ).catch(i.lQ)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(e){return this.mutationCache.build(this,e).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(e){this.defaultOptions=e},t.setQueryDefaults=function(e,t){var n=this.queryDefaults.find(function(t){return(0,i.Od)(e)===(0,i.Od)(t.queryKey)});n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})},t.getQueryDefaults=function(e){var t;return e?null==(t=this.queryDefaults.find(function(t){return(0,i.Cp)(e,t.queryKey)}))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var n=this.mutationDefaults.find(function(t){return(0,i.Od)(e)===(0,i.Od)(t.mutationKey)});n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})},t.getMutationDefaults=function(e){var t;return e?null==(t=this.mutationDefaults.find(function(t){return(0,i.Cp)(e,t.mutationKey)}))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=(0,r.A)({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=(0,i.F$)(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:(0,r.A)({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}()},36281(e,t,n){"use strict";n.d(t,{dd:()=>s,eJ:()=>u,wm:()=>l});var r=n(71289),i=n(64622),o=n(40941);function a(e){return Math.min(1e3*Math.pow(2,e),3e4)}function s(e){return"function"==typeof(null==e?void 0:e.cancel)}var c=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function l(e){return e instanceof c}var u=function(e){var t,n,l,u,f=this,d=!1;this.abort=e.abort,this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){d=!0},this.continueRetry=function(){d=!1},this.continue=function(){return null==n?void 0:n()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise(function(e,t){l=e,u=t});var h=function(t){f.isResolved||(f.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==n||n(),l(t))},p=function(t){f.isResolved||(f.isResolved=!0,null==e.onError||e.onError(t),null==n||n(),u(t))};!function l(){if(!f.isResolved){var u;try{u=e.fn()}catch(e){u=Promise.reject(e)}t=function(e){if(!f.isResolved&&(p(new c(e)),null==f.abort||f.abort(),s(u)))try{u.cancel()}catch(e){}}
2,f.isTransportCancelable=s(u),Promise.resolve(u).then(h).catch(function(t){var s,c;if(!f.isResolved){var u=null!=(s=e.retry)?s:3,h=null!=(c=e.retryDelay)?c:a,m="function"==typeof h?h(f.failureCount,t):h,y=!0===u||"number"==typeof u&&f.failureCount<u||"function"==typeof u&&u(f.failureCount,t);!d&&y?(f.failureCount++,null==e.onFail||e.onFail(f.failureCount,t),(0,o.yy)(m).then(function(){if(!r.m.isFocused()||!i.t.isOnline())return new Promise(function(t){n=t,f.isPaused=!0,null==e.onPause||e.onPause()}).then(function(){n=void 0,f.isPaused=!1,null==e.onContinue||e.onContinue()})}).then(function(){d?p(t):l()})):p(t)}})}}()}},43287(e,t,n){"use strict";n.d(t,{Q:()=>r});var r=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(e){var t=this,n=e||function(){};return this.listeners.push(n),this.onSubscribe(),function(){t.listeners=t.listeners.filter(function(e){return e!==n}),t.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}()},76449(){},40941(e,t,n){"use strict";n.d(t,{BH:()=>b,Cp:()=>g,F$:()=>m,G6:()=>_,GR:()=>f,HN:()=>c,MK:()=>h,Od:()=>y,S$:()=>i,Zw:()=>a,b_:()=>d,f8:()=>w,gn:()=>s,j3:()=>l,jY:()=>C,lQ:()=>o,nJ:()=>p,vh:()=>u,yy:()=>E});var r=n(58168),i="undefined"==typeof window;function o(){}function a(e,t){return"function"==typeof e?e(t):e}function s(e){return"number"==typeof e&&e>=0&&e!==1/0}function c(e){return Array.isArray(e)?e:[e]}function l(e,t){return Math.max(e+(t||0)-Date.now(),0)}function u(e,t,n){return k(e)?"function"==typeof t?(0,r.A)({},n,{queryKey:e,queryFn:t}):(0,r.A)({},t,{queryKey:e}):e}function f(e,t,n){return k(e)?"function"==typeof t?(0,r.A)({},n,{mutationKey:e,mutationFn:t}):(0,r.A)({},t,{mutationKey:e}):"function"==typeof e?(0,r.A)({},t,{mutationFn:e}):(0,r.A)({},e)}function d(e,t,n){return k(e)?[(0,r.A)({},t,{queryKey:e}),n]:[e||{},t]}function h(e,t){var n=e.active,r=e.exact,i=e.fetching,o=e.inactive,a=e.predicate,s=e.queryKey,c=e.stale;if(k(s))if(r){if(t.queryHash!==m(s,t.options))return!1}else if(!g(t.queryKey,s))return!1;var l=function(e,t){return!0===e&&!0===t||null==e&&null==t?"all":!1===e&&!1===t?"none":(null!=e?e:!t)?"active":"inactive"}(n,o);if("none"===l)return!1;if("all"!==l){var u=t.isActive();if("active"===l&&!u)return!1;if("inactive"===l&&u)return!1}return!("boolean"==typeof c&&t.isStale()!==c||"boolean"==typeof i&&t.isFetching()!==i||a&&!a(t))}function p(e,t){var n=e.exact,r=e.fetching,i=e.predicate,o=e.mutationKey;if(k(o)){if(!t.options.mutationKey)return!1;if(n){if(y(t.options.mutationKey)!==y(o))return!1}else if(!g(t.options.mutationKey,o))return!1}return!("boolean"==typeof r&&"loading"===t.state.status!==r||i&&!i(t))}function m(e,t){return((null==t?void 0:t.queryKeyHashFn)||y)(e)}function y(e){var t;return t=c(e),JSON.stringify(t,function(e,t){return x(t)?Object.keys(t).sort().reduce(function(e,n){return e[n]=t[n],e},{}):t})}function g(e,t){return v(c(e),c(t))}function v(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some(function(n){return!v(e[n],t[n])})}function b(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||x(e)&&x(t)){for(var r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),o=i.length,a=n?[]:{},s=0,c=0;c<o;c++){var l=n?c:i[c];a[l]=b(e[l],t[l]),a[l]===e[l]&&s++}return r===o&&s===r?e:a}return t}function w(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}function x(e){if(!S(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!S(n)&&!!n.hasOwnProperty("isPrototypeOf")}function S(e){return"[object Object]"===Object.prototype.toString.call(e)}function k(e){return"string"==typeof e||Array.isArray(e)}function E(e){return new Promise(function(t){setTimeout(t,e)})}function _(e){Promise.resolve().then(e).catch(function(e){return setTimeout(function(){throw e})})}function C(){if("function"==typeof AbortController)return new AbortController}},75942(e,t,n){"use strict";n.d(t,{QueryClient:()=>r.QueryClient,QueryClientProvider:()=>i.QueryClientProvider,setLogger:()=>r.setLogger,useInfiniteQuery:()=>i.useInfiniteQuery,useMutation:()=>i.useMutation,useQuery:()=>i.useQuery,useQueryClient:()=>i.useQueryClient});var r=n(14468);n.o(r,"QueryClientProvider")&&n.d(t,{QueryClientProvider:function(){return r.QueryClientProvider}}),n.o(r,"useInfiniteQuery")&&n.d(t,{useInfiniteQuery:function(){return r.useInfiniteQuery}}),n.o(r,"useMutation")&&n.d(t,{useMutation:function(){return r.useMutation}}),n.o(r,"useQuery")&&n.d(t,{useQuery:function(){return r.useQuery}}),n.o(r,"useQueryClient")&&n.d(t,{useQueryClient:function(){return r.useQueryClient}});var i=n(73185)},73185(e,t,n){"use strict";n.d(t,{QueryClientProvider:()=>d,useInfiniteQuery:()=>D,useMutation:()=>w,useQuery:()=>M,useQueryClient:()=>f});var r=n(80428),i=n(40961).unstable_batchedUpdates;r.j.setBatchNotifyFunction(i);var o=n(9690),a=console;(0,o.B)(a);var s=n(96540),c=s.createContext(void 0),l=s.createContext(!1);function u(e){return e&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=c),window.ReactQueryClientContext):c}var f=function(){var e=s.useContext(u(s.useContext(l)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},d=function(e){var t=e.client,n=e.contextSharing,r=void 0!==n&&n,i=e.children;s.useEffect(function(){return t.mount(),function(){t.unmount()}},[t]);var o=u(r);return s.createElement(l.Provider,{value:r},s.createElement(o.Provider,{value:t},i))},h=n(58168),p=n(40941),m=n(25540),y=n(23465),g=n(43287),v=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.setOptions(n),r.bindMethods(),r.updateResult(),r}(0,m.A)(t,e);var n=t.prototype;return n.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},n.setOptions=function(e){this.options=this.client.defaultMutationOptions(e)},n.onUnsubscribe=function(){var e;this.listeners.length||null==(e=this.currentMutation)||e.removeObserver(this)},n.onMutationUpdate=function(e){this.updateResult();var t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)},n.getCurrentResult=function(){return this.currentResult},n.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},n.mutate=function(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,(0,h.A)({},this.options,{variables:void 0!==e?e:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},n.updateResult=function(){var e=this.currentMutation?this.currentMutation.state:(0,y.$)(),t=(0,h.A)({},e,{isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset});this.currentResult=t},n.notify=function(e){var t=this;r.j.batch(function(){t.mutateOptions&&(e.onSuccess?(null==t.mutateOptions.onSuccess||t.mutateOptions.onSuccess(t.currentResult.data,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(t.currentResult.data,null,t.currentResult.variables,t.currentResult.context)):e.onError&&(null==t.mutateOptions.onError||t.mutateOptions.onError(t.currentResult.error,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(void 0,t.currentResult.error,t.currentResult.variables,t.currentResult.context))),e.listeners&&t.listeners.forEac
2h(function(e){e(t.currentResult)})})},t}(g.Q);function b(e,t,n){return"function"==typeof t?t.apply(void 0,n):"boolean"==typeof t?t:!!e}function w(e,t,n){var i=s.useRef(!1),o=s.useState(0)[1],a=(0,p.GR)(e,t,n),c=f(),l=s.useRef();l.current?l.current.setOptions(a):l.current=new v(c,a);var u=l.current.getCurrentResult();s.useEffect(function(){i.current=!0;var e=l.current.subscribe(r.j.batchCalls(function(){i.current&&o(function(e){return e+1})}));return function(){i.current=!1,e()}},[]);var d=s.useCallback(function(e,t){l.current.mutate(e,t).catch(p.lQ)},[]);if(u.error&&b(void 0,l.current.options.useErrorBoundary,[u.error]))throw u.error;return(0,h.A)({},u,{mutate:d,mutateAsync:u.mutate})}var x=n(71289),S=n(36281),k=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.options=n,r.trackedProps=[],r.selectError=null,r.bindMethods(),r.setOptions(n),r}(0,m.A)(t,e);var n=t.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),E(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return _(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return _(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(e,t){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var i=this.hasListeners();i&&C(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!i||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var o=this.computeRefetchInterval();!i||this.currentQuery===r&&this.options.enabled===n.enabled&&o===this.currentRefetchInterval||this.updateRefetchInterval(o)},n.getOptimisticResult=function(e){var t=this.client.defaultQueryObserverOptions(e),n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(e,t){var n=this,r={},i=function(e){n.trackedProps.includes(e)||n.trackedProps.push(e)};return Object.keys(e).forEach(function(t){Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:function(){return i(t),e[t]}})}),(t.useErrorBoundary||t.suspense)&&i("error"),r},n.getNextResult=function(e){var t=this;return new Promise(function(n,r){var i=t.subscribe(function(t){t.isFetching||(i(),t.isError&&(null==e?void 0:e.throwOnError)?r(t.error):n(t))})})},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(e){return this.fetch((0,h.A)({},e,{meta:{refetchPage:null==e?void 0:e.refetchPage}}))},n.fetchOptimistic=function(e){var t=this,n=this.client.defaultQueryObserverOptions(e),r=this.client.getQueryCache().build(this.client,n);return r.fetch().then(function(){return t.createResult(r,n)})},n.fetch=function(e){var t=this;return this.executeFetch(e).then(function(){return t.updateResult(),t.currentResult})},n.executeFetch=function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(p.lQ)),t},n.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!p.S$&&!this.currentResult.isStale&&(0,p.gn)(this.options.staleTime)){var t=(0,p.j3)(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(function(){e.currentResult.isStale||e.updateResult()},t)}},n.computeRefetchInterval=function(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e},n.updateRefetchInterval=function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!p.S$&&!1!==this.options.enabled&&(0,p.gn)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(function(){(t.options.refetchIntervalInBackgroun
vendor: 4,301 bytes, line 2
2d||x.m.isFocused())&&t.executeFetch()},this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},n.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},n.createResult=function(e,t){var n,r=this.currentQuery,i=this.options,a=this.currentResult,s=this.currentResultState,c=this.currentResultOptions,l=e!==r,u=l?e.state:this.currentQueryInitialState,f=l?this.currentResult:this.previousQueryResult,d=e.state,h=d.dataUpdatedAt,m=d.error,y=d.errorUpdatedAt,g=d.isFetching,v=d.status,b=!1,w=!1;if(t.optimisticResults){var x=this.hasListeners(),S=!x&&E(e,t),k=x&&C(e,r,t,i);(S||k)&&(g=!0,h||(v="loading"))}if(t.keepPreviousData&&!d.dataUpdateCount&&(null==f?void 0:f.isSuccess)&&"error"!==v)n=f.data,h=f.dataUpdatedAt,v=f.status,b=!0;else if(t.select&&void 0!==d.data)if(a&&d.data===(null==s?void 0:s.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(d.data),!1!==t.structuralSharing&&(n=(0,p.BH)(null==a?void 0:a.data,n)),this.selectResult=n,this.selectError=null}catch(e){(0,o.t)().error(e),this.selectError=e}else n=d.data;if(void 0!==t.placeholderData&&void 0===n&&("loading"===v||"idle"===v)){var _;if((null==a?void 0:a.isPlaceholderData)&&t.placeholderData===(null==c?void 0:c.placeholderData))_=a.data;else if(_="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==_)try{_=t.select(_),!1!==t.structuralSharing&&(_=(0,p.BH)(null==a?void 0:a.data,_)),this.selectError=null}catch(e){(0,o.t)().error(e),this.selectError=e}void 0!==_&&(v="success",n=_,w=!0)}return this.selectError&&(m=this.selectError,n=this.selectResult,y=Date.now(),v="error"),{status:v,isLoading:"loading"===v,isSuccess:"success"===v,isError:"error"===v,isIdle:"idle"===v,data:n,dataUpdatedAt:h,error:m,errorUpdatedAt:y,failureCount:d.fetchFailureCount,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:g,isRefetching:g&&"loading"!==v,isLoadingError:"error"===v&&0===d.dataUpdatedAt,isPlaceholderData:w,isPreviousData:b,isRefetchError:"error"===v&&0!==d.dataUpdatedAt,isStale:A(e,t),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(e,t){if(!t)return!0;var n=this.options,r=n.notifyOnChangeProps,i=n.notifyOnChangePropsExclusions;if(!r&&!i)return!0;if("tracked"===r&&!this.trackedProps.length)return!0;var o="tracked"===r?this.trackedProps:r;return Object.keys(e).some(function(n){var r=n,a=e[r]!==t[r],s=null==o?void 0:o.some(function(e){return e===n}),c=null==i?void 0:i.some(function(e){return e===n});return a&&!c&&(!o||s)})},n.updateResult=function(e){var t=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!(0,p.f8)(this.currentResult,t)){var n={cache:!0};!1!==(null==e?void 0:e.listeners)&&this.shouldNotifyListeners(this.currentResult,t)&&(n.listeners=!0),this.notify((0,h.A)({},n,e))}},n.updateQuery=function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}},n.onQueryUpdate=function(e){var t={};"success"===e.type?t.onSuccess=!0:"error"!==e.type||(0,S.wm)(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},n.notify=function(e){var t=this;r.j.batch(function(){e.onSuccess?(null==t.options.onSuccess||t.options.onSuccess(t.currentResult.data),null==t.options.onSettled||t.options.onSettled(t.currentResult.data,null)):e.onError&&(null==t.options.onError||t.options.onError(t.currentResult.error),null==t.options.onSettled||t.options.onSettled(void 0,t.currentResult.error)),e.listeners&&t.listeners.forEac
2h(function(e){e(t.currentResult)}),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})})},t}(g.Q);function E(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&_(e,t,t.refetchOnMount)}function _(e,t,n){if(!1!==t.enabled){var r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&A(e,t)}return!1}function C(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&A(e,n)}function A(e,t){return e.isStaleByTime(t.staleTime)}var T,P=s.createContext((T=!1,{clearReset:function(){T=!1},reset:function(){T=!0},isReset:function(){return T}}));function O(e,t){var n=s.useRef(!1),i=s.useState(0)[1],o=f(),a=s.useContext(P),c=o.defaultQueryObserverOptions(e);c.optimisticResults=!0,c.onError&&(c.onError=r.j.batchCalls(c.onError)),c.onSuccess&&(c.onSuccess=r.j.batchCalls(c.onSuccess)),c.onSettled&&(c.onSettled=r.j.batchCalls(c.onSettled)),c.suspense&&("number"!=typeof c.staleTime&&(c.staleTime=1e3),0===c.cacheTime&&(c.cacheTime=1)),(c.suspense||c.useErrorBoundary)&&(a.isReset()||(c.retryOnMount=!1));var l=s.useState(function(){return new t(o,c)})[0],u=l.getOptimisticResult(c);if(s.useEffect(function(){n.current=!0,a.clearReset();var e=l.subscribe(r.j.batchCalls(function(){n.current&&i(function(e){return e+1})}));return l.updateResult(),function(){n.current=!1,e()}},[a,l]),s.useEffect(function(){l.setOptions(c,{listeners:!1})},[c,l]),c.suspense&&u.isLoading)throw l.fetchOptimistic(c).then(function(e){var t=e.data;null==c.onSuccess||c.onSuccess(t),null==c.onSettled||c.onSettled(t,null)}).catch(function(e){a.clearReset(),null==c.onError||c.onError(e),null==c.onSettled||c.onSettled(void 0,e)});if(u.isError&&!a.isReset()&&!u.isFetching&&b(c.suspense,c.useErrorBoundary,[u.error,l.getCurrentQuery()]))throw u.error;return"tracked"===c.notifyOnChangeProps&&(u=l.trackResult(u,c)),u}function M(e,t,n){return O((0,p.vh)(e,t,n),k)}var I=n(95650),R=function(e){function t(t,n){return e.call(this,t,n)||this}(0,m.A)(t,e);var n=t.prototype;return n.bindMethods=function(){e.prototype.bindMethods.call(this),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)},n.setOptions=function(t,n){e.prototype.setOptions.call(this,(0,h.A)({},t,{behavior:(0,I.PL)()}),n)},n.getOptimisticResult=function(t){return t.behavior=(0,I.PL)(),e.prototype.getOptimisticResult.call(this,t)},n.fetchNextPage=function(e){var t;return this.fetch({cancelRefetch:null==(t=null==e?void 0:e.cancelRefetch)||t,throwOnError:null==e?void 0:e.throwOnError,meta:{fetchMore:{direction:"forward",pageParam:null==e?void 0:e.pageParam}}})},n.fetchPreviousPage=function(e){var t;return this.fetch({cancelRefetch:null==(t=null==e?void 0:e.cancelRefetch)||t,throwOnError:null==e?void 0:e.throwOnError,meta:{fetchMore:{direction:"backward",pageParam:null==e?void 0:e.pageParam}}})},n.createResult=function(t,n){var r,i,o,a,s,c,l=t.state,u=e.prototype.createResult.call(this,t,n);return(0,h.A)({},u,{fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,I.rB)(n,null==(r=l.data)?void 0:r.pages),hasPreviousPage:(0,I.RQ)(n,null==(i=l.data)?void 0:i.pages),isFetchingNextPage:l.isFetching&&"forward"===(null==(o=l.fetchMeta)||null==(a=o.fetchMore)?void 0:a.direction),isFetchingPreviousPage:l.isFetching&&"backward"===(null==(s=l.fetchMeta)||null==(c=s.fetchMore)?void 0:c.direction)})},t}(k);function D(e,t,n){return O((0,p.vh)(e,t,n),R)}},59191(e,t,n){"use strict";n.d(t,{Kq:()=>u,wA:()=>m,d4:()=>b});var r=n(96540),i=(n(5556),r.createContext(null)),o=function(e){e()},a=function(){return o},s={notify:function(){},get:function(){return[]}};function c(e,t){var n,r=s;function i(){c.onStateChange&&c.onStateChange()}function o(){n||(n=t?t.addNestedSub(i):e.subscribe(i),r=function(){var e=a(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e(function(){for(var e=t;e;)e.callback(),e=e.next})},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())}var c={addNestedSub:function(e){return o(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(n)},trySubscribe:o,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=s)},getListeners:function(){return r}};return c}var l="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;const u=function(e){var t=e.store,n=e.context,o=e.children,a=(0,r.useMemo)(function(){var e=c(t);return{store:t,subscription:e}},[t]),s=(0,r.useMemo)(function(){return t.getState()},[t]);l(function(){var e=a.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),s!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}},[a,s]);var u=n||i;return r.createElement(u.Provider,{value:a},o)};function f(){return(0,r.useContext)(i)}function d(e){void 0===e&&(e=i);var t=e===i?f:function(){return(0,r.useContext)(e)};return function(){return t().store}}n(4146),n(54737);var h=d();function p(e){void 0===e&&(e=i);var t=e===i?h:d(e);return function(){return t().dispatch}}var m=p(),y=function(e,t){return e===t};function g(e){void 0===e&&(e=i);var t=e===i?f:function(){return(0,r.useContext)(e)};return function(e,n){void 0===n&&(n=y);var i=t(),o=function(e,t,n,i){var o,a=(0,r.useReducer)(function(e){return e+1},0)[1],s=(0,r.useMemo)(function(){return c(n,i)},[n,i]),u=(0,r.useRef)(),f=(0,r.useRef)(),d=(0,r.useRef)(),h=(0,r.useRef)(),p=n.getState();try{if(e!==f.current||p!==d.current||u.current){var m=e(p);o=void 0!==h.current&&t(m,h.current)?h.current:m}else o=h.current}catch(e){throw u.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+u.current.stack+"\n\n"),e}return l(function(){f.current=e,d.current=p,h.current=o,u.current=void 0}),l(function(){function e(){try{var e=n.getState();if(e===d.current)return;var r=f.current(e);
2if(t(r,h.current))return;h.current=r,d.current=e}catch(e){u.current=e}a()}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}},[n,s]),o}(e,n,i.store,i.subscription);return(0,r.useDebugValue)(o),o}}var v,b=g();v=n(40961).unstable_batchedUpdates,o=v},28989(e,t){"use strict";if("function"==typeof Symbol&&Symbol.for){var n=Symbol.for;n("react.element"),n("react.portal"),n("react.fragment"),n("react.strict_mode"),n("react.profiler"),n("react.provider"),n("react.context"),n("react.forward_ref"),n("react.suspense"),n("react.suspense_list"),n("react.memo"),n("react.lazy"),n("react.block"),n("react.server.block"),n("react.fundamental"),n("react.debug_trace_mode"),n("react.legacy_hidden")}},54737(e,t,n){"use strict";n(28989)},7350(e,t,n){"use strict";n.d(t,{A:()=>U});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.create,Object.create;var i=n(96540),o="right-scroll-bar-position",a="width-before-scroll-bar";function s(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var c="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,l=new WeakMap;var u=function(){return u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},u.apply(this,arguments)};function f(e){return e}Object.create,Object.create;var d=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=f);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}}(null);return t.options=u({async:!0,ssr:!1},e),t}(),h=function(){},p=i.forwardRef(function(e,t){var n=i.useRef(null),o=i.useState({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:h}),a=o[0],u=o[1],f=e.forwardProps,p=e.children,m=e.className,y=e.removeScrollBar,g=e.enabled,v=e.shards,b=e.sideCar,w=e.noRelative,x=e.noIsolation,S=e.inert,k=e.allowPinchZoom,E=e.as,_=void 0===E?"div":E,C=e.gapMode,A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),T=b,P=function(e,t){var n,r,o,a=(n=t||null,r=function(t){return e.forEach(function(e){return s(e,t)})},(o=(0,i.useState)(function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}})[0]).callback=r,o.facade);return c(function(){var t=l.get(a);if(t){var n=new Set(t),r=new Set(e),i=a.current;n.forEach(function(e){r.has(e)||s(e,null)}),r.forEach(function(e){n.has(e)||s(e,i)})}l.set(a,e)},[e]),a}([n,t]),O=r(r({},A),a);return i.createElement(i.Fragment,null,g&&i.createElement(T,{sideCar:d,removeScrollBar:y,shards:v,noRelative:w,noIsolation:x,inert:S,setCallbacks:u,allowPinchZoom:!!k,lockRef:n,gapMode:C}),f?i.cloneElement(i.Children.only(p),r(r({},O),{ref:P})):i.createElement(_,r({},O,{className:m,ref:P}),p))});p.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},p.classNames={fullWidth:a,zeroRight:o};var m=function(e){var t=e.sideCar,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return i.createElement(r,u({},n))};
vendor: 4,621 bytes, line 2
2m.isSideCarExport=!0;var y=function(){var e=0,t=null;return{add:function(r){var i,o;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=n.nc;return t&&e.setAttribute("nonce",t),e}())&&(o=r,(i=t).styleSheet?i.styleSheet.cssText=o:i.appendChild(document.createTextNode(o)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},g=function(){var e,t=(e=y(),function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},v={left:0,top:0,right:0,gap:0},b=function(e){return parseInt(e||"",10)||0},w=g(),x="data-scroll-locked",S=function(e,t,n,r){var i=e.left,s=e.top,c=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body[").concat(x,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(s,"px;\n padding-right: ").concat(c,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(o," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(a," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(o," .").concat(o," {\n right: 0 ").concat(r,";\n }\n \n .").concat(a," .").concat(a," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(x,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},k=function(){var e=parseInt(document.body.getAttribute(x)||"0",10);return isFinite(e)?e:0},E=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;i.useEffect(function(){return document.body.setAttribute(x,(k()+1).toString()),function(){var e=k()-1;e<=0?document.body.removeAttribute(x):document.body.setAttribute(x,e.toString())}},[]);var a=i.useMemo(function(){return function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return v;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[b(n),b(r),b(i)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}}(o)},[o]);return i.createElement(w,{styles:S(a,!t,o,n?"":"!important")})},_=!1;if("undefined"!=typeof window)try{var C=Object.defineProperty({},"passive",{get:function(){return _=!0,!0}});window.addEventListener("test",C,C),window.removeEventListener("test",C,C)}catch(e){_=!1}var A=!!_&&{passive:!1},T=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},P=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),O(e,r)){var i=M(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},O=function(e,t){return"v"===e?function(e){return T(e,"overflowY")}(t):function(e){return T(e,"overflowX")}(t)},M=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},I=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},R=function(e){return[e.deltaX,e.deltaY]},D=function(e){return e&&"current"in e?e.current:e},N=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},j=0,F=[];function L(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const B=(z=function(e){var t=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),o=i.useState(j++)[0],a=i.useState(g)[0],s=i.useRef(e);i.useEffect(function(){s.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}
vendor: 4,154 bytes, line 2
2([e.lockRef.current],(e.shards||[]).map(D),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var i,o=I(e),a=n.current,c="deltaX"in e?e.deltaX:a[0]-o[0],l="deltaY"in e?e.deltaY:a[1]-o[1],u=e.target,f=Math.abs(c)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===f&&"range"===u.type)return!1;var d=P(f,u);if(!d)return!0;if(d?i=f:(i="v"===f?"h":"v",d=P(f,u)),!d)return!1;if(!r.current&&"changedTouches"in e&&(c||l)&&(r.current=i),!i)return!0;var h=r.current||i;return function(e,t,n,r){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),o=i*r,a=n.target,s=t.contains(a),c=!1,l=o>0,u=0,f=0;do{if(!a)break;var d=M(e,a),h=d[0],p=d[1]-d[2]-i*h;(h||p)&&O(e,a)&&(u+=p,f+=h);var m=a.parentNode;a=m&&m.nodeType===Node.DOCUMENT_FRAGMENT_NODE?m.host:m}while(!s&&a!==document.body||s&&(t.contains(a)||t===a));return(l&&(Math.abs(u)<1||!1)||!l&&(Math.abs(f)<1||!1))&&(c=!0),c}(h,t,e,"h"===h?c:l)},[]),l=i.useCallback(function(e){var n=e;if(F.length&&F[F.length-1]===a){var r="deltaY"in n?R(n):I(n),i=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&(t=e.delta,i=r,t[0]===i[0]&&t[1]===i[1]);var t,i})[0];if(i&&i.should)n.cancelable&&n.preventDefault();else if(!i){var o=(s.current.shards||[]).map(D).filter(Boolean).filter(function(e){return e.contains(n.target)});(o.length>0?c(n,o[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=i.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i,shadowParent:L(r)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),f=i.useCallback(function(e){n.current=I(e),r.current=void 0},[]),d=i.useCallback(function(t){u(t.type,R(t),t.target,c(t,e.lockRef.current))},[]),h=i.useCallback(function(t){u(t.type,I(t),t.target,c(t,e.lockRef.current))},[]);i.useEffect(function(){return F.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",l,A),document.addEventListener("touchmove",l,A),document.addEventListener("touchstart",f,A),function(){F=F.filter(function(e){return e!==a}),document.removeEventListener("wheel",l,A),document.removeEventListener("touchmove",l,A),document.removeEventListener("touchstart",f,A)}},[]);var p=e.removeScrollBar,m=e.inert;return i.createElement(i.Fragment,null,m?i.createElement(a,{styles:N(o)}):null,p?i.createElement(E,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},d.useMedium(z),m);var z,V=i.forwardRef(function(e,t){return i.createElement(p,r({},e,{ref:t,sideCar:B}))});V.classNames=p.classNames;const U=V},86924(e,t,n){"use strict";n.d(t,{Ay:()=>ue,g6:()=>b});var r=n(96540),i=n(5556),o=n.n(i),a=n(51548);function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1;requestAnimationFrame(function r(i){n<0&&(n=i),i-n>t?(e(i),n=-1):requestAnimationFrame(r)})}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(){var e=function(){return null},t=!1,n=function n(r){if(!t){if(Array.isArray(r)){if(!r.length)return;var i=function(e){if(Array.isArray(e))return e}(u=r)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(u)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}
2(u)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=i[0],a=i.slice(1);return"number"==typeof o?void s(n.bind(null,a),o):(n(o),void s(n.bind(null,a)))}"object"===c(r)&&e(r),"function"==typeof r&&r()}var u};return{stop:function(){t=!0},start:function(e){t=!1,n(e)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=["Webkit","Moz","O","ms"],m=["-webkit-","-moz-","-o-","-ms-"],y=["transform","transformOrigin","transition"],g=function(e){return e},v=function(e,t){return Object.keys(t).reduce(function(n,r){return d(d({},n),{},h({},r,e(r,t[r])))},{})},b=function(e){return Object.keys(e).reduce(function(e,t){return d(d({},e),function(e,t){if(-1===y.indexOf(e))return h({},e,t);var n="transition"===e,r=e.replace(/(\w)/,function(e){return e.toUpperCase()}),i=t;return p.reduce(function(e,o,a){return n&&(i=t.replace(/(transform|transform-origin)/gim,"".concat(m[a],"$1"))),d(d({},e),{},h({},o+r,i))},{})}(t,e[t]))},e)},w=function(e,t,n){return e.map(function(e){return"".concat((r=e,r.replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())}))," ").concat(t,"ms ").concat(n);var r}).join(",")};function x(e,t){if(e){if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?S(e,t):void 0}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var k=1e-4,E=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},_=function(e,t){return e.map(function(e,n){return e*Math.pow(t,n)}).reduce(function(e,t){return e+t})},C=function(e,t){return function(n){var r=E(e,t);return _(r,n)}},A=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i,o=t[0],a=t[1],s=t[2],c=t[3];if(1===t.length)switch(t[0]){case"linear":o=0,a=0,s=1,c=1;break;case"ease":o=.25,a=.1,s=.25,c=1;break;case"ease-in":o=.42,a=0,s=1,c=1;break;case"ease-out":o=.42,a=0,s=.58,c=1;break;case"ease-in-out":o=0,a=0,s=.58,c=1;break;default:var l=t[0].split("(");if("cubic-bezier"===l[0]&&4===l[1].split(")")[0].split(",").length){var u=(r=l[1].split(")")[0].split(",").map(function(e){return parseFloat(e)}),i=4,function(e){if(Array.isArray(e))return e}(r)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(r,i)||x(r,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());o=u[0],a=u[1],s=u[2],c=u[3]}}[o,s,a,c].every(function(e){return"number"==typeof e&&e>=0&&e<=1});var f,d,h=C(o,s),p=C(a,c),m=(f=o,d=s,function(e){var t=E(f,d),n=[].concat(function(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||x(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.map(function(e,t){return e*t}).slice(1)),[0]);return _(n,e)}),y=function(e){return e>1?1:e<0?0:e},g=function(e){for(var t=e>1?1:e,n=t,r=0;r<8;++r){var i=h(n)-t,o=m(n);if(Math.abs(i-t)<k||o<k)return p(n);n=y(n-i/o)}return p(n)};return g.isStepper=!1,g};function T(e){return function(e){if(Array.isArray(e))return R(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||I(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
vendor: 4,666 bytes, line 2
2t%2?P(Object(n),!0).forEach(function(t){M(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function I(e,t){if(e){if("string"==typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(e,t):void 0}}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var D=function(e,t,n){return e+(t-e)*n},N=function(e){return e.from!==e.to},j=function e(t,n,r){var i=v(function(e,n){if(N(n)){var r=(a=t(n.from,n.to,n.velocity),s=2,function(e){if(Array.isArray(e))return e}(a)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(a,s)||I(a,s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=r[0],o=r[1];return O(O({},n),{},{from:i,velocity:o})}var a,s;return n},n);return r<1?v(function(e,t){return N(t)?O(O({},t),{},{velocity:D(t.velocity,i[e].velocity,r),from:D(t.from,i[e].from,r)}):t},n):e(t,i,r-1)};const F=function(e,t,n,r,i){var o,a,s,c,l=(o=e,a=t,[Object.keys(o),Object.keys(a)].reduce(function(e,t){return e.filter(function(e){return t.includes(e)})})),u=l.reduce(function(n,r){return O(O({},n),{},M({},r,[e[r],t[r]]))},{}),f=l.reduce(function(n,r){return O(O({},n),{},M({},r,{from:e[r],velocity:0,to:t[r]}))},{}),d=-1,h=function(){return null};return h=n.isStepper?function(r){s||(s=r);var o=(r-s)/n.dt;f=j(n,f,o),i(O(O(O({},e),t),v(function(e,t){return t.from},f))),s=r,Object.values(f).filter(N).length&&(d=requestAnimationFrame(h))}:function(o){c||(c=o);var a=(o-c)/r,s=v(function(e,t){return D.apply(void 0,T(t).concat([n(a)]))},u);if(i(O(O(O({},e),t),s)),a<1)d=requestAnimationFrame(h);else{var l=v(function(e,t){return D.apply(void 0,T(t).concat([n(1)]))},u);i(O(O(O({},e),t),l))}},function(){return requestAnimationFrame(h),function(){cancelAnimationFrame(d)}}};function L(e){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},L(e)}function B(e){return function(e){if(Array.isArray(e))return z(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?z(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(Object(n),!0).forEach(function(t){$(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function $(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function H(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function q(e,t){return q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},q(e,t)}function W(e,t){return!t||"object"!==L(t)&&"function"!=typeof t?G(e):t}function G(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
2function K(e){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},K(e)}n.dn(F);var Q=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q(e,t)}(c,e);var t,n,i,o,s=(i=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=K(i);if(o){var n=K(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return W(this,e)});function c(e,t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var r=(n=s.call(this,e,t)).props,i=r.isActive,o=r.attributeName,a=r.from,l=r.to,u=r.steps,f=r.children;if(n.handleStyleChange=n.handleStyleChange.bind(G(n)),n.changeStyle=n.changeStyle.bind(G(n)),!i)return n.state={style:{}},"function"==typeof f&&(n.state={style:l}),W(n);if(u&&u.length)n.state={style:u[0].style};else if(a){if("function"==typeof f)return n.state={style:a},W(n);n.state={style:o?$({},o,a):a}}else n.state={style:{}};return n}return t=c,(n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,n=e.canBegin;this.mounted=!0,t&&n&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isActive,r=t.canBegin,i=t.attributeName,o=t.shouldReAnimate;if(r)if(n){if(!((0,a.deepEqual)(e.to,this.props.to)&&e.canBegin&&e.isActive)){var s=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var c=s||o?this.props.from:e.to;if(this.state&&this.state.style){var l={style:i?$({},i,c):c};(i&&this.state.style[i]!==c||!i&&this.state.style!==c)&&this.setState(l)}this.runAnimation(U(U({},this.props),{},{from:c,begin:0}))}}else{var u={style:i?$({},i,this.props.to):this.props.to};this.state&&this.state.style&&(i&&this.state.style[i]!==this.props.to||!i&&this.state.style!==this.props.to)&&this.setState(u)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1,this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation()}},{key:"runJSAnimation",value:function(e){var t=this,n=e.from,r=e.to,i=e.duration,o=e.easing,a=e.begin,s=e.onAnimationEnd,c=e.onAnimationStart,l=F(n,r,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0];if("string"==typeof r)switch(r){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return A(r);case"spring":return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,n=void 0===t?100:t,r=e.damping,i=void 0===r?8:r,o=e.dt,a=void 0===o?17:o,s=function(e,t,r){var o=r+(-(e-t)*n-r*i)*a/1e3,s=r*a/1e3+e;return Math.abs(s-t)<k&&Math.abs(o)<k?[t,0]:[s,o]};return s.isStepper=!0,s.dt=a,s}();default:if("cubic-bezier"===r.split("(")[0])return A(r)}return"function"==typeof r?r:null}(o),i,this.changeStyle);this.manager.start([c,a,function(){t.stopJSAnimation=l()},i,s])}},{key:"runStepAnimation",value:function(e){var t=this,n=e.steps,r=e.begin,i=e.onAnimationStart,o=n[0],a=o.style,s=o.duration,c=void 0===s?0:s;return this.manager.start([i].concat(B(n.reduce(function(e,r,i){if(0===i)return e;var o=r.duration,a=r.easing,s=void 0===a?"ease":a,c=r.style,l=r.properties,u=r.onAnimationEnd,f=i>0?n[i-1]:r,d=l||Object.keys(c);if("function"==typeof s||"spring"===s)return[].concat(B(e),[t.runJSAnimation.bind(t,{from:f.style,to:c,duration:o,easing:s}),o]);var h=w(d,o,s),p=U(U(U({},f.style),c),{},{transition:h});return[].concat(B(e),[p,o,u]).filter(g)},[a,Math.max(c,r)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=u());var t=e.begin,n=e.duration,r=e.attributeName,i=e.to,o=e.easing,a=e.onAnimationStart,s=e.onAnimationEnd,c=e.steps,l=e.children,f=this.manager;if(this.unSubscribe=f.subscribe(this.handleStyleChange),"function"!=typeof o&&"function"!=typeof l&&"spring"!==o)if(c.length>1)this.runStepAnimation(e);else{var d=r?$({},r,i):i,h=w(Object.keys(d),n,o);f.start([a,t,U(U({},d),{},{transition:h}),n,s])}else this.runJSAnimation(e)}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"render",value:function(){var e=this.props,t=e.children,n=(e.begin,e.duration,e.attributeName,e.easing,e.isActive),i=(e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart,function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"])),o=r.Children.count(t),a=b(this.state.style);if("function"==typeof t)return t(a);
2if(!n||0===o)return t;var s=function(e){var t=e.props,n=t.style,o=void 0===n?{}:n,s=t.className;return(0,r.cloneElement)(e,U(U({},i),{},{style:U(U({},o),a),className:s}))};return 1===o?s(r.Children.only(t)):r.createElement("div",null,r.Children.map(t,function(e){return s(e)}))}}])&&H(t.prototype,n),c}(r.PureComponent);Q.displayName="Animate",Q.propTypes={from:o().oneOfType([o().object,o().string]),to:o().oneOfType([o().object,o().string]),attributeName:o().string,duration:o().number,begin:o().number,easing:o().oneOfType([o().string,o().func]),steps:o().arrayOf(o().shape({duration:o().number.isRequired,style:o().object.isRequired,easing:o().oneOfType([o().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),o().func]),properties:o().arrayOf("string"),onAnimationEnd:o().func})),children:o().oneOfType([o().node,o().func]),isActive:o().bool,canBegin:o().bool,onAnimationEnd:o().func,shouldReAnimate:o().bool,onAnimationStart:o().func,onAnimationReStart:o().func},Q.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};const J=Q;var X=n(49790);function Y(e){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y(e)}function Z(){return Z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Z.apply(this,arguments)}function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach(function(t){ne(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function re(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ie(e,t){return ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ie(e,t)}function oe(e){return oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},oe(e)}void 0===Number.isFinite&&(Number.isFinite=function(e){return"number"==typeof e&&isFinite(e)});var ae=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.steps,n=e.duration;return t&&t.length?t.reduce(function(e,t){return e+(Number.isFinite(t.duration)&&t.duration>0?t.duration:0)},0):Number.isFinite(n)?n:0},se=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ie(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=oe(i);if(o){var n=oe(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==Y(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=a.call.apply(a,[this].concat(n))).state={isActive:!1},e.handleEnter=function(t,n){var r=e.props,i=r.appearOptions,o=r.enterOptions;e.handleStyleActive(n?i:o)},e.handleExit=function(){e.handleStyleActive(e.props.leaveOptions)},e}return t=s,(n=[{key:"handleStyleActive",value:function(e){if(e){var t=e.onAnimationEnd?function(){e.onAnimationEnd()}:null;this.setState(te(te({},e),{},{onAnimationEnd:t,isActive:!0}))}}},{key:"parseTimeout",value:function(){var e=this.props,t=e.appearOptions,n=e.enterOptions,r=e.leaveOptions;return ae(t)+ae(n)+ae(r)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,i=(t.appearOptions,t.enterOptions,t.leaveOptions,function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,["children","appearOptions","enterOptions","leaveOptions"]));return r.createElement(X.Transition,Z({},i,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),function(){return r.createElement(J,e.state,r.Children.only(n))})}}])&&re(t.prototype,n),s}(r.Component);
2se.propTypes={appearOptions:o().object,enterOptions:o().object,leaveOptions:o().object,children:o().element};const ce=se;function le(e){var t=e.component,n=e.children,i=e.appear,o=e.enter,a=e.leave;return r.createElement(X.TransitionGroup,{component:t},r.Children.map(n,function(e,t){return r.createElement(ce,{appearOptions:i,enterOptions:o,leaveOptions:a,key:"child-".concat(t)},e)}))}le.propTypes={appear:o().object,enter:o().object,leave:o().object,children:o().oneOfType([o().array,o().element]),component:o().any},le.defaultProps={component:"span"};const ue=J},28514(e,t,n){"use strict";t.__esModule=!0,t.default=void 0,function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}t.default=e}(n(5556));var r=s(n(72963)),i=s(n(90788)),o=s(n(96540)),a=s(n(50495));function s(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}n(554);var l=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,r.default)(e,t)})},u=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,i.default)(e,t)})},f=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).onEnter=function(e,n){var r=t.getClassNames(n?"appear":"enter").className;t.removeClasses(e,"exit"),l(e,r),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.getClassNames(n?"appear":"enter").activeClassName;t.reflowAndAddClass(e,r),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.getClassNames("appear").doneClassName,i=t.getClassNames("enter").doneClassName,o=n?r+" "+i:i;t.removeClasses(e,n?"appear":"enter"),l(e,o),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.getClassNames("exit").className;t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),l(e,n),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.getClassNames("exit").activeClassName;t.reflowAndAddClass(e,n),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.getClassNames("exit").doneClassName;t.removeClasses(e,"exit"),l(e,n),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,i=r?(r&&n?n+"-":"")+e:n[e];return{className:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.removeClasses=function(e,t){var n=this.getClassNames(t),r=n.className,i=n.activeClassName,o=n.doneClassName;r&&u(e,r),i&&u(e,i),o&&u(e,o)},i.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,l(e,t))},i.render=function(){var e=c({},this.props);return delete e.classNames,o.default.createElement(a.default,c({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(o.default.Component);f.defaultProps={classNames:""},f.propTypes={};var d=f;t.default=d,e.exports=t.default},1369(e,t,n){"use strict";t.__esModule=!0,t.default=void 0,a(n(5556));var r=a(n(96540)),i=n(40961),o=a(n(2312));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var t,n;function a(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var s=a.prototype;return s.handleLifecycle=function(e,t,n){var o,a=this.props.children,s=r.default.Children.toArray(a)[t];s.props[e]&&(o=s.props)[e].apply(o,n),this.props[e]&&this.props[e]((0,i.findDOMNode)(this))},s.render=function(){var e=this.props,t=e.children,n=e.in,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,["children","in"]),a=r.default.Children.toArray(t),s=a[0],c=a[1];return delete i.onEnter,delete i.onEntering,delete i.onEntered,delete i.onExit,delete i.onExiting,delete i.onExited,r.default.createElement(o.default,i,n?r.default.cloneElement(s,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):r.default.cloneElement(c,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},a}(r.default.Component);s.propTypes={};var c=s;t.default=c,e.exports=t.default},50495(e,t,n){"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;
2var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(5556)),i=s(n(96540)),o=s(n(40961)),a=n(71345);function s(e){return e&&e.__esModule?e:{default:e}}n(554);var c="unmounted";t.UNMOUNTED=c;var l="exited";t.EXITED=l;var u="entering";t.ENTERING=u;var f="entered";t.ENTERED=f;var d="exiting";t.EXITING=d;var h=function(e){var t,n;function r(t,n){var r;r=e.call(this,t,n)||this;var i,o=n.transitionGroup,a=o&&!o.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(i=l,r.appearStatus=u):i=f:i=t.unmountOnExit||t.mountOnEnter?c:l,r.state={status:i},r.nextCallback=null,r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=r.prototype;return a.getChildContext=function(){return{transitionGroup:null}},r.getDerivedStateFromProps=function(e,t){return e.in&&t.status===c?{status:l}:null},a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==u&&n!==f&&(t=u):n!==u&&n!==f||(t=d)}this.updateStatus(!1,t)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},a.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=o.default.findDOMNode(this);t===u?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===l&&this.setState({status:c})},a.performEnter=function(e,t){var n=this,r=this.props.enter,i=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,o=this.getTimeouts(),a=i?o.appear:o.enter;t||r?(this.props.onEnter(e,i),this.safeSetState({status:u},function(){n.props.onEntering(e,i),n.onTransitionEnd(e,a,function(){n.safeSetState({status:f},function(){n.props.onEntered(e,i)})})})):this.safeSetState({status:f},function(){n.props.onEntered(e)})},a.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();n?(this.props.onExit(e),this.safeSetState({status:d},function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,function(){t.safeSetState({status:l},function(){t.props.onExited(e)})})})):this.safeSetState({status:l},function(){t.props.onExited(e)})},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},a.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},a.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;e&&!r?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},a.render=function(){var e=this.state.status;if(e===c)return null;var t=this.props,n=t.children,r=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return n(e,r);var o=i.default.Children.only(n);return i.default.cloneElement(o,r)},r}(i.default.Component);function p(){}h.contextTypes={transitionGroup:r.object},h.childContextTypes={transitionGroup:function(){}},h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:p,onEntering:p,onEntered:p,onExit:p,onExiting:p,onExited:p},h.UNMOUNTED=0,h.EXITED=1,h.ENTERING=2,h.ENTERED=3,h.EXITING=4;var m=(0,a.polyfill)(h);t.default=m},2312(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=s(n(5556)),i=s(n(96540)),o=n(71345),a=n(52958);
2function s(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var u=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},f=function(e){var t,n;function r(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(l(l(r)));return r.state={handleExited:i,firstRender:!0},r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},o.componentDidMount=function(){this.appeared=!0,this.mounted=!0},o.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?(0,a.getInitialChildMapping)(e,r):(0,a.getNextChildMapping)(e,n,r),firstRender:!1}},o.handleExited=function(e,t){var n=(0,a.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=c({},t.children);return delete n[e.key],{children:n}}))},o.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,["component","childFactory"]),o=u(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?o:i.default.createElement(t,r,o)},r}(i.default.Component);f.childContextTypes={transitionGroup:r.default.object.isRequired},f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};var d=(0,o.polyfill)(f);t.default=d,e.exports=t.default},49790(e,t,n){"use strict";var r=s(n(28514)),i=s(n(1369)),o=s(n(2312)),a=s(n(50495));function s(e){return e&&e.__esModule?e:{default:e}}e.exports={Transition:a.default,TransitionGroup:o.default,ReplaceTransition:i.default,CSSTransition:r.default}},52958(e,t,n){"use strict";t.__esModule=!0,t.getChildMapping=i,t.mergeChildMappings=o,t.getInitialChildMapping=function(e,t){return i(e.children,function(n){return(0,r.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:a(n,"appear",e),enter:a(n,"enter",e),exit:a(n,"exit",e)})})},t.getNextChildMapping=function(e,t,n){var s=i(e.children),c=o(t,s);return Object.keys(c).forEach(function(i){var o=c[i];if((0,r.isValidElement)(o)){var l=i in t,u=i in s,f=t[i],d=(0,r.isValidElement)(f)&&!f.props.in;!u||l&&!d?u||!l||d?u&&l&&(0,r.isValidElement)(f)&&(c[i]=(0,r.cloneElement)(o,{onExited:n.bind(null,o),in:f.props.in,exit:a(o,"exit",e),enter:a(o,"enter",e)})):c[i]=(0,r.cloneElement)(o,{in:!1}):c[i]=(0,r.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:a(o,"exit",e),enter:a(o,"enter",e)})}}),c};var r=n(96540);function i(e,t){var n=Object.create(null);return e&&r.Children.map(e,function(e){return e}).forEach(function(e){n[e.key]=function(e){return t&&(0,r.isValidElement)(e)?t(e):e}(e)}),n}function o(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var c in t){if(i[c])for(r=0;r<i[c].length;r++){var l=i[c][r];s[i[c][r]]=n(l)}s[c]=n(c)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}function a(e,t,n){return null!=n[t]?n[t]:e.props[t]}},554(e,t,n){"use strict";var r;t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0,(r=n(5556))&&r.__esModule,t.timeoutsShape=null,t.classNamesShape=null},44921(e,t,n){"use strict";t.Ay=void 0;var r=n(91380);Object.defineProperty(t,"Ay",{enumerable:!0,get:function(){return r.useWebSocket}});n(47407),n(29800),n(69797),n(81001)},18049(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};
2Object.defineProperty(t,"__esModule",{value:!0}),t.attachListeners=void 0;var i=n(99789),o=n(87889),a=n(29800),s=n(81001);t.attachListeners=function(e,t,n,c,l,u,f){var d,h,p,m=t.setLastMessage,y=t.setReadyState;return n.current.fromSocketIO&&(d=(0,i.setUpSocketIOPing)(f)),function(e,t,n,r){e.onmessage=function(e){var i;t.current.onMessage&&t.current.onMessage(e),"number"==typeof(null==r?void 0:r.current)&&(r.current=Date.now()),"function"==typeof t.current.filter&&!0!==t.current.filter(e)||t.current.heartbeat&&"boolean"!=typeof t.current.heartbeat&&(null===(i=t.current.heartbeat)||void 0===i?void 0:i.returnMessage)===e.data||n(e)}}(e,n,m,u),function(e,t,n,r,i){e.onopen=function(s){if(t.current.onOpen&&t.current.onOpen(s),r.current=0,n(a.ReadyState.OPEN),t.current.heartbeat&&e instanceof WebSocket){var c="boolean"==typeof t.current.heartbeat?void 0:t.current.heartbeat;i.current=Date.now(),(0,o.heartbeat)(e,i,c)}}}(e,n,y,l,u),h=function(e,t,n,r,i){return a.isEventSourceSupported&&e instanceof EventSource?function(){}:((0,s.assertIsWebSocket)(e,t.current.skipAssert),e.onclose=function(e){var s;if(t.current.onClose&&t.current.onClose(e),n(a.ReadyState.CLOSED),t.current.shouldReconnect&&t.current.shouldReconnect(e)){var c=null!==(s=t.current.reconnectAttempts)&&void 0!==s?s:a.DEFAULT_RECONNECT_LIMIT;if(i.current<c){var l="function"==typeof t.current.reconnectInterval?t.current.reconnectInterval(i.current):t.current.reconnectInterval;o=window.setTimeout(function(){i.current++,r()},null!=l?l:a.DEFAULT_RECONNECT_INTERVAL_MS)}else t.current.onReconnectStop&&t.current.onReconnectStop(c),console.warn("Max reconnect attempts of ".concat(c," exceeded"))}},function(){return o&&window.clearTimeout(o)});var o}(e,n,y,c,l),p=function(e,t,n,i,o){var s;return e.onerror=function(c){var l;if(t.current.onError&&t.current.onError(c),a.isEventSourceSupported&&e instanceof EventSource&&(t.current.onClose&&t.current.onClose(r(r({},c),{code:1006,reason:"An error occurred with the EventSource: ".concat(c),wasClean:!1})),n(a.ReadyState.CLOSED),e.close()),t.current.retryOnError)if(o.current<(null!==(l=t.current.reconnectAttempts)&&void 0!==l?l:a.DEFAULT_RECONNECT_LIMIT)){var u="function"==typeof t.current.reconnectInterval?t.current.reconnectInterval(o.current):t.current.reconnectInterval;s=window.setTimeout(function(){o.current++,i()},null!=u?u:a.DEFAULT_RECONNECT_INTERVAL_MS)}else t.current.onReconnectStop&&t.current.onReconnectStop(t.current.reconnectAttempts),console.warn("Max reconnect attempts of ".concat(t.current.reconnectAttempts," exceeded"))},function(){return s&&window.clearTimeout(s)}}(e,n,y,c,l),function(){y(a.ReadyState.CLOSING),h(),p(),e.close(),d&&clearInterval(d)}}},45784(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.attachSharedListeners=void 0;var i=n(18389),o=n(29800),a=n(5984),s=n(99789),c=n(87889);t.attachSharedListeners=function(e,t,n,l){var u;return n.current.fromSocketIO&&(u=(0,s.setUpSocketIOPing)(l)),function(e,t,n){e.onmessage=function(e){(0,a.getSubscribers)(t).forEach(function(t){var r;t.optionsRef.current.onMessage&&t.optionsRef.current.onMessage(e),"number"==typeof(null===(r=null==t?void 0:t.lastMessageTime)||void 0===r?void 0:r.current)&&(t.lastMessageTime.current=Date.now()),"function"==typeof t.optionsRef.current.filter&&!0!==t.optionsRef.current.filter(e)||n&&"boolean"!=typeof n&&(null==n?void 0:n.returnMessage)===e.data||t.setLastMessage(e)})}}(e,t,n.current.heartbeat),function(e,t){e instanceof WebSocket&&(e.onclose=function(e){(0,a.getSubscribers)(t).forEach(function(t){t.optionsRef.current.onClose&&t.optionsRef.current.onClose(e),t.setReadyState(o.ReadyState.CLOSED)}),delete i.sharedWebSockets[t],(0,a.getSubscribers)(t).forEach(function(t){var n;if(t.optionsRef.current.shouldReconnect&&t.optionsRef.current.shouldReconnect(e)){var r=null!==(n=t.optionsRef.current.reconnectAttempts)&&void 0!==n?n:o.DEFAULT_RECONNECT_LIMIT;if(t.reconnectCount.current<r){var i="function"==typeof t.optionsRef.current.reconnectInterval?t.optionsRef.current.reconnectInterval(t.reconnectCount.current):t.optionsRef.current.reconnectInterval;setTimeout(function(){t.reconnectCount.current++,t.reconnect.current()},null!=i?i:o.DEFAULT_RECONNECT_INTERVAL_MS)}else t.optionsRef.current.onReconnectStop&&t.optionsRef.current.onReconnectStop(t.optionsRef.current.reconnectAttempts),console.warn("Max reconnect attempts of ".concat(r," exceeded"))}})})}(e,t),function(e,t,n){e.onopen=function(r){var i=(0,a.getSubscribers)(t);
2i.forEach(function(t){t.reconnectCount.current=0,t.optionsRef.current.onOpen&&t.optionsRef.current.onOpen(r),t.setReadyState(o.ReadyState.OPEN),n&&e instanceof WebSocket&&(t.lastMessageTime.current=Date.now())}),n&&e instanceof WebSocket&&(0,c.heartbeat)(e,i.map(function(e){return e.lastMessageTime}),"boolean"==typeof n?void 0:n)}}(e,t,n.current.heartbeat),function(e,t){e.onerror=function(n){(0,a.getSubscribers)(t).forEach(function(t){t.optionsRef.current.onError&&t.optionsRef.current.onError(n),o.isEventSourceSupported&&e instanceof EventSource&&(t.optionsRef.current.onClose&&t.optionsRef.current.onClose(r(r({},n),{code:1006,reason:"An error occurred with the EventSource: ".concat(n),wasClean:!1})),t.setReadyState(o.ReadyState.CLOSED))}),o.isEventSourceSupported&&e instanceof EventSource&&e.close()}}(e,t),function(){u&&clearInterval(u)}}},29800(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.isEventSourceSupported=t.isReactNative=t.ReadyState=t.DEFAULT_HEARTBEAT=t.UNPARSABLE_JSON_OBJECT=t.DEFAULT_RECONNECT_INTERVAL_MS=t.DEFAULT_RECONNECT_LIMIT=t.SOCKET_IO_PING_CODE=t.SOCKET_IO_PATH=t.SOCKET_IO_PING_INTERVAL=t.DEFAULT_EVENT_SOURCE_OPTIONS=t.EMPTY_EVENT_HANDLERS=t.DEFAULT_OPTIONS=void 0,t.DEFAULT_OPTIONS={},t.EMPTY_EVENT_HANDLERS={},t.DEFAULT_EVENT_SOURCE_OPTIONS={withCredentials:!1,events:t.EMPTY_EVENT_HANDLERS},t.SOCKET_IO_PING_INTERVAL=25e3,t.SOCKET_IO_PATH="/socket.io/?EIO=3&transport=websocket",t.SOCKET_IO_PING_CODE="2",t.DEFAULT_RECONNECT_LIMIT=20,t.DEFAULT_RECONNECT_INTERVAL_MS=5e3,t.UNPARSABLE_JSON_OBJECT={},t.DEFAULT_HEARTBEAT={message:"ping",timeout:6e4,interval:25e3},function(e){e[e.UNINSTANTIATED=-1]="UNINSTANTIATED",e[e.CONNECTING=0]="CONNECTING",e[e.OPEN=1]="OPEN",e[e.CLOSING=2]="CLOSING",e[e.CLOSED=3]="CLOSED"}(n||(t.ReadyState=n={})),t.isReactNative="undefined"!=typeof navigator&&"ReactNative"===navigator.product,t.isEventSourceSupported=!t.isReactNative&&function(){try{return"EventSource"in globalThis}catch(e){return!1}}()},62604(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createOrJoinSocket=void 0;var r=n(18389),i=n(29800),o=n(18049),a=n(45784),s=n(5984);t.createOrJoinSocket=function(e,t,n,c,l,u,f,d,h){if(!i.isEventSourceSupported&&c.current.eventSourceOptions)throw i.isReactNative?new Error("EventSource is not supported in ReactNative"):new Error("EventSource is not supported");if(c.current.share){var p=null;void 0===r.sharedWebSockets[t]?(r.sharedWebSockets[t]=c.current.eventSourceOptions?new EventSource(t,c.current.eventSourceOptions):new WebSocket(t,c.current.protocols),e.current=r.sharedWebSockets[t],n(i.ReadyState.CONNECTING),p=(0,a.attachSharedListeners)(r.sharedWebSockets[t],t,c,h)):(e.current=r.sharedWebSockets[t],n(r.sharedWebSockets[t].readyState));var m={setLastMessage:l,setReadyState:n,optionsRef:c,reconnectCount:f,lastMessageTime:d,reconnect:u};return(0,s.addSubscriber)(t,m),function(e,t,n,o,a){return function(){if((0,s.removeSubscriber)(e,t),!(0,s.hasSubscribers)(e)){try{var c=r.sharedWebSockets[e];c instanceof WebSocket&&(c.onclose=function(e){n.current.onClose&&n.current.onClose(e),o(i.ReadyState.CLOSED)}),c.close()}catch(e){}a&&a(),delete r.sharedWebSockets[e]}}}(t,m,c,n,p)}if(e.current=c.current.eventSourceOptions?new EventSource(t,c.current.eventSourceOptions):new WebSocket(t,c.current.protocols),n(i.ReadyState.CONNECTING),!e.current)throw new Error("WebSocket failed to be created");return(0,o.attachListeners)(e.current,{setLastMessage:l,setReadyState:n},c,u.current,f,d,h)}},16421(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};
2Object.defineProperty(t,"__esModule",{value:!0}),t.getUrl=void 0;var a=n(99789),s=n(29800);t.getUrl=function(e,n){for(var c=[],l=2;l<arguments.length;l++)c[l-2]=arguments[l];return r(void 0,o([e,n],c,!0),void 0,function(e,n,r){var o,c,l,u,f,d,h;return void 0===r&&(r=0),i(this,function(i){switch(i.label){case 0:if("function"!=typeof e)return[3,10];i.label=1;case 1:return i.trys.push([1,3,,9]),[4,e()];case 2:return o=i.sent(),[3,9];case 3:return i.sent(),n.current.retryOnError?(c=null!==(f=n.current.reconnectAttempts)&&void 0!==f?f:s.DEFAULT_RECONNECT_LIMIT,r<c?(l="function"==typeof n.current.reconnectInterval?n.current.reconnectInterval(r):n.current.reconnectInterval,[4,(p=null!=l?l:s.DEFAULT_RECONNECT_INTERVAL_MS,new Promise(function(e){return window.setTimeout(e,p)}))]):[3,5]):[3,7];case 4:return i.sent(),[2,(0,t.getUrl)(e,n,r+1)];case 5:return null===(h=(d=n.current).onReconnectStop)||void 0===h||h.call(d,r),[2,null];case 6:return[3,8];case 7:return[2,null];case 8:return[3,9];case 9:return[3,11];case 10:o=e,i.label=11;case 11:return u=n.current.fromSocketIO?(0,a.parseSocketIOUrl)(o):o,[2,n.current.queryParams?(0,a.appendQueryParams)(u,n.current.queryParams):u]}var p})})}},18389(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetWebSockets=t.sharedWebSockets=void 0,t.sharedWebSockets={},t.resetWebSockets=function(e){if(e&&t.sharedWebSockets.hasOwnProperty(e))delete t.sharedWebSockets[e];else for(var n in t.sharedWebSockets)t.sharedWebSockets.hasOwnProperty(n)&&delete t.sharedWebSockets[n]}},87889(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.heartbeat=function(e,t,n){var i=n||{},o=i.interval,a=void 0===o?r.DEFAULT_HEARTBEAT.interval:o,s=i.timeout,c=void 0===s?r.DEFAULT_HEARTBEAT.timeout:s,l=i.message,u=void 0===l?r.DEFAULT_HEARTBEAT.message:l,f=Math.max(100,a/10),d=Date.now(),h=setInterval(function(){var n=Date.now(),r=function(e){return Array.isArray(e)?e.reduce(function(e,t){return e.current>t.current?e:t}).current:e.current}(t);if(r+c<=n)console.warn("Heartbeat timed out, closing connection, last message received ".concat(n-r,"ms ago, last ping sent ").concat(n-d,"ms ago")),e.close();else if(r+a<=n&&d+a<=n)try{"function"==typeof u?e.send(u()):e.send(u),d=n}catch(t){console.error("Heartbeat failed, closing connection",t instanceof Error?t.message:t),e.close()}},f);return e.addEventListener("close",function(){clearInterval(h)}),function(){}};var r=n(29800)},5984(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetSubscribers=t.removeSubscriber=t.addSubscriber=t.hasSubscribers=t.getSubscribers=void 0;var n={},r=[];t.getSubscribers=function(e){return(0,t.hasSubscribers)(e)?Array.from(n[e]):r},t.hasSubscribers=function(e){var t;return(null===(t=n[e])||void 0===t?void 0:t.size)>0},t.addSubscriber=function(e,t){n[e]=n[e]||new Set,n[e].add(t)},t.removeSubscriber=function(e,t){n[e].delete(t)},t.resetSubscribers=function(e){if(e&&n.hasOwnProperty(e))delete n[e];else for(var t in n)n.hasOwnProperty(t)&&delete n[t]}},21881(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.websocketWrapper=void 0,t.websocketWrapper=function(e,t){return new Proxy(e,{get:function(e,n){var r=e[n];return"reconnect"===n?t:"function"==typeof r?(console.error("Calling methods directly on the websocket is not supported at this moment. You must use the methods returned by useWebSocket."),function(){}):r},set:function(e,t,n){return/^on/.test(t)?(console.warn("The websocket's event handlers should be defined through the options object passed into useWebSocket."),!1):(e[t]=n,!0)}})},t.default=t.websocketWrapper},99789(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setUpSocketIOPing=t.appendQueryParams=t.parseSocketIOUrl=void 0;var r=n(29800);t.parseSocketIOUrl=function(e){if(e){var t=/^https|wss/.test(e),n=e.replace(/^(https?|wss?)(:\/\/)?/,"").replace(/\/$/,"");return"".concat(i=t?"wss":"ws","://").concat(n).concat(r.SOCKET_IO_PATH)}if(""===e){var i=(t=/^https/.test(window.location.protocol))?"wss":"ws",o=window.location.port?":".concat(window.location.port):"";return"".concat(i,"://").concat(window.location.hostname).concat(o).concat(r.SOCKET_IO_PATH)}return e},t.appendQueryParams=function(e,t){void 0===t&&(t={});var n=/\?([\w]+=[\w]+)/.test(e),r="".concat(Object.entries(t).reduce(function(e,t){var n=t[0],r=t[1];return e+"".concat(n,"=").concat(r,"&")},"").slice(0,-1));return"".concat(e).concat(n?"&":"?").concat(r)},t.setUpSocketIOPing=function(e,t){return void 0===t&&(t=r.SOCKET_IO_PING_INTERVAL),window.setInterval(function(){return e(r.SOCKET_IO_PING_CODE)},t)}},69797(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};
2Object.defineProperty(t,"__esModule",{value:!0}),t.useEventSource=void 0;var o=n(96540),a=n(91380),s=n(29800);t.useEventSource=function(e,t,n){void 0===t&&(t=s.DEFAULT_EVENT_SOURCE_OPTIONS);var c=t.withCredentials,l=t.events,u=i(t,["withCredentials","events"]);void 0===n&&(n=!0);var f=r(r({},u),{eventSourceOptions:{withCredentials:c}}),d=(0,o.useRef)(s.EMPTY_EVENT_HANDLERS);l&&(d.current=l);var h=(0,a.useWebSocket)(e,f,n),p=h.lastMessage,m=h.readyState,y=h.getWebSocket;return(0,o.useEffect)(function(){(null==p?void 0:p.type)&&Object.entries(d.current).forEach(function(e){var t=e[0],n=e[1];t===p.type&&n(p)})},[p]),{lastEvent:p,readyState:m,getEventSource:y}}},47407(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.useSocketIO=void 0;var i=n(96540),o=n(91380),a=n(29800),s={type:"empty",payload:null};t.useSocketIO=function(e,t,n){void 0===t&&(t=a.DEFAULT_OPTIONS),void 0===n&&(n=!0);var c=(0,i.useMemo)(function(){return r(r({},t),{fromSocketIO:!0})},[]),l=(0,o.useWebSocket)(e,c,n),u=l.sendMessage,f=l.sendJsonMessage,d=l.lastMessage,h=l.readyState,p=l.getWebSocket,m=(0,i.useMemo)(function(){return function(e){if(!e||!e.data)return s;var t=e.data.match(/\[.*]/);if(!t)return s;var n=JSON.parse(t);return Array.isArray(n)&&n[1]?{type:n[0],payload:n[1]}:s}(d)},[d]);return{sendMessage:u,sendJsonMessage:f,lastMessage:m,lastJsonMessage:m,readyState:h,getWebSocket:p}}},91380(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useWebSocket=void 0;var s=n(96540),c=n(40961),l=n(29800),u=n(62604),f=n(16421),d=a(n(21881)),h=n(81001);t.useWebSocket=function(e,t,n){void 0===t&&(t=l.DEFAULT_OPTIONS),void 0===n&&(n=!0);var a=(0,s.useState)(null),p=a[0],m=a[1],y=(0,s.useState)({}),g=y[0],v=y[1],b=(0,s.useMemo)(function(){if(!t.disableJson&&p)try{return JSON.parse(p.data)}catch(e){return l.UNPARSABLE_JSON_OBJECT}return null},[p,t.disableJson]),w=(0,s.useRef)(null),x=(0,s.useRef)(null),S=(0,s.useRef)(function(){}),k=(0,s.useRef)(0),E=(0,s.useRef)(Date.now()),_=(0,s.useRef)([]),C=(0,s.useRef)(null),A=(0,s.useRef)(t);A.current=t;var T=w.current&&void 0!==g[w.current]?g[w.current]:null!==e&&!0===n?l.ReadyState.CONNECTING:l.ReadyState.UNINSTANTIATED,P=t.queryParams?JSON.stringify(t.queryParams):null,O=(0,s.useCallback)(function(e,t){var n;
2void 0===t&&(t=!0),l.isEventSourceSupported&&x.current instanceof EventSource?console.warn("Unable to send a message from an eventSource"):(null===(n=x.current)||void 0===n?void 0:n.readyState)===l.ReadyState.OPEN?((0,h.assertIsWebSocket)(x.current,A.current.skipAssert),x.current.send(e)):t&&_.current.push(e)},[]),M=(0,s.useCallback)(function(e,t){void 0===t&&(t=!0),O(JSON.stringify(e),t)},[O]),I=(0,s.useCallback)(function(){return!0!==A.current.share||l.isEventSourceSupported&&x.current instanceof EventSource?x.current:(null===C.current&&x.current&&((0,h.assertIsWebSocket)(x.current,A.current.skipAssert),C.current=(0,d.default)(x.current,S)),C.current)},[]);return(0,s.useEffect)(function(){if(null!==e&&!0===n){var t,a=!1,s=!0,d=function(){return i(void 0,void 0,void 0,function(){var n,i,d;return o(this,function(o){switch(o.label){case 0:return n=w,[4,(0,f.getUrl)(e,A)];case 1:return n.current=o.sent(),null===w.current?(console.error("Failed to get a valid URL. WebSocket connection aborted."),w.current="ABORTED",(0,c.flushSync)(function(){return v(function(e){return r(r({},e),{ABORTED:l.ReadyState.CLOSED})})}),[2]):(i=function(e){a||(0,c.flushSync)(function(){return m(e)})},d=function(e){a||(0,c.flushSync)(function(){return v(function(t){var n;return r(r({},t),w.current&&((n={})[w.current]=e,n))})})},s&&(t=(0,u.createOrJoinSocket)(x,w.current,d,A,i,S,k,E,O)),[2])}})})};return S.current=function(){a||(C.current&&(C.current=null),null==t||t(),d())},d(),function(){a=!0,s=!1,C.current&&(C.current=null),null==t||t(),m(null)}}null!==e&&!1!==n||(k.current=0,v(function(e){var t;return r(r({},e),w.current&&((t={})[w.current]=l.ReadyState.CLOSED,t))}))},[e,n,P,O]),(0,s.useEffect)(function(){T===l.ReadyState.OPEN&&_.current.splice(0).forEach(function(e){O(e)})},[T]),{sendMessage:O,sendJsonMessage:M,lastMessage:p,lastJsonMessage:b,readyState:T,getWebSocket:I}}},81001(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertIsWebSocket=function(e,t){if(!t&&e instanceof WebSocket==0)throw new Error("")},t.resetGlobalState=function(e){(0,i.resetSubscribers)(e),(0,r.resetWebSockets)(e)};var r=n(18389),i=n(5984)},21020(e,t,n){"use strict";var r=n(96540),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var r,o={},l=null,u=null;for(r in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!c.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:l,ref:u,props:o,_owner:s.current}}t.Fragment=o,t.jsx=l,t.jsxs=l},15287(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,y={};function g(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||p}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)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,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=g.prototype;var w=b.prototype=new v;w.constructor=b,m(w,g.prototype),w.isPureReactComponent=!0;var x=Array.isArray,S=Object.prototype.hasOwnProperty,k={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function _(e,t,r){var i,o={},a=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,i)&&!E.hasOwnProperty(i)&&(o[i]=t[i]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(i in c=e.defaultProps)void 0===o[i]&&(o[i]=c[i]);return{$$typeof:n,type:e,key:a,ref:s,props:o,_owner:k.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var A=/\/+/g;function T(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function P(e,t,i,o,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var c=!1;if(null===e)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case n:case r:c=!0}}if(c)return a=a(c=e),e=""===o?"."+T(c,0):o,x(a)?(i="",null!=e&&(i=e.replace(A,"$&/")+"/"),P(a,t,i,"",function(e){return e})):null!=a&&(C(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,i+(!a.key||c&&c.key===a.key?"":(""+a.key).replace(A,"$&/")+"/")+e)),t.push(a)),1;if(c=0,o=""===o?".":o+":",x(e))for(var l=0;l<e.length;l++){var u=o+T(s=e[l],l);c+=P(s,t,i,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),l=0;!(s=e.next()).done;)c+=P(s=s.value,t,i,u=o+T(s,l++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return c}function O(e,t,n){if(null==e)return e;var r=[],i=0;return P(e,r,"","",function(e){return t.call(n,e,i++)}),r}function M(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var I={current:null},R={transition:null},D={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:R,ReactCurrentOwner:k};function N(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:O,forEach:function(e,t,n){O(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return O(e,function(){t++}),t},toArray:function(e){return O(e,function(e){return e})||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=i,t.Profiler=a,t.PureComponent=b,t.StrictMode=o,t.Suspense=u,t.__SECRET_INT
2ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,t.act=N,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=m({},e.props),o=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=k.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in t)S.call(t,l)&&!E.hasOwnProperty(l)&&(i[l]=void 0===t[l]&&void 0!==c?c[l]:t[l])}var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){c=Array(l);for(var u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}return{$$typeof:n,type:e.type,key:o,ref:a,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=_,t.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:M}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=R.transition;R.transition={};try{e()}finally{R.transition=t}},t.unstable_act=N,t.useCallback=function(e,t){return I.current.useCallback(e,t)},t.useContext=function(e){return I.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return I.current.useDeferredValue(e)},t.useEffect=function(e,t){return I.current.useEffect(e,t)},t.useId=function(){return I.current.useId()},t.useImperativeHandle=function(e,t,n){return I.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return I.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return I.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return I.current.useMemo(e,t)},t.useReducer=function(e,t,n){return I.current.useReducer(e,t,n)},t.useRef=function(e){return I.current.useRef(e)},t.useState=function(e){return I.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return I.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return I.current.useTransition()},t.version="18.3.1"},96540(e,t,n){"use strict";e.exports=n(15287)},74848(e,t,n){"use strict";e.exports=n(21020)},41723(e,t,n){"use strict";n.d(t,{G:()=>Q});var r=n(23344),i=n.n(r),o=n(56177),a=n.n(o),s=n(43782),c=n.n(s),l=n(37414),u=n.n(l),f=n(29832),d=n.n(f),h=n(34743),p=n.n(h),m=n(22645),y=n.n(m),g=n(96540),v=n(32485),b=n.n(v),w=n(86924),x=n(56110),S=n(66613),k=n(86069),E=n(3073),_=n.n(E),C=n(59270),A=n.n(C),T=n(91706),P=n(94501),O=n(65040),M=n(98940);function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function R(){return R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},R.apply(this,arguments)}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach(function(t){j(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F={valueAccessor:function(e){return y()(e.value)?A()(e.value):e.value}};function L(e){var t=e.data,n=e.valueAccessor,r=e.dataKey,i=e.clockWise,o=e.id,a=e.textBreakAll,s=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["data","valueAccessor","dataKey","clockWise","id","textBreakAll"]);return t&&t.length?g.createElement(k.W,{className:"recharts-label-list"},t.map(function(e,t){var c=p()(r)?n(e,t):(0,O.kr)(e&&e.payload,r),l=p()(o)?{}:{id:"".concat(o,"-").concat(t)};return g.createElement(T.J,R({},(0,M.J9)(e,!0),s,l,{parentViewBox:e.parentViewBox,index:t,value:c,textBreakAll:a,viewBox:T.J.parseViewBox(p()(i)?e:N(N({},e),{},{clockWise:i})),key:"label-".concat(t)}))}
2)):null}L.displayName="LabelList",L.renderCallByParent=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&n&&!e.label)return null;var r,i=e.children,o=(0,P.aS)(i,L.displayName).map(function(e,n){return(0,g.cloneElement)(e,{data:t,key:"labelList-".concat(n)})});return n?[function(e,t){return e?!0===e?g.createElement(L,{key:"labelList-implicit",data:t}):g.isValidElement(e)||u()(e)?g.createElement(L,{key:"labelList-implicit",data:t,content:e}):_()(e)?g.createElement(L,R({data:t},e,{key:"labelList-implicit"})):null:null}(e.label,t)].concat(function(e){if(Array.isArray(e))return I(e)}(r=o)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return I(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?I(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):o},L.defaultProps=F;var B=n(59938),z=n(59744);function V(e){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V(e)}function U(){return U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},U.apply(this,arguments)}function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function H(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(Object(n),!0).forEach(function(t){q(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function G(e,t){return G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},G(e,t)}function K(e){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},K(e)}var Q=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G(e,t)}(f,e);var t,n,r,o,s,l=(o=f,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=K(o);if(s){var n=K(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==V(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,e)});function f(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=l.call.apply(l,[this].concat(n))).state={isAnimationFinished:!0},e.id=(0,z.NF)("recharts-area-"),e.handleAnimationEnd=function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),u()(t)&&t()},e.handleAnimationStart=function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),u()(t)&&t()},e}return t=f,r=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,curBaseLine:e.baseLine,prevPoints:t.curPoints,prevBaseLine:t.curBaseLine}:e.points!==t.curPoints||e.baseLine!==t.curBaseLine?{curPoints:e.points,curBaseLine:e.baseLine}:null}}],(n=[{key:"renderDots",value:function(e,t){var n=this.props.isAnimationActive,r=this.state.isAnimationFinished;if(n&&!r)return null;var i=this.props,o=i.dot,a=i.points,s=i.dataKey,c=(0,M.J9)(this.props),l=(0,M.J9)(o,!0),u=a.map(function(e,t){var n=H(H(H({ke
2y:"dot-".concat(t),r:3},c),l),{},{dataKey:s,cx:e.x,cy:e.y,index:t,value:e.value,payload:e.payload});return f.renderDotItem(o,n)}),d={clipPath:e?"url(#clipPath-".concat(t,")"):null};return g.createElement(k.W,U({className:"recharts-area-dots"},d),u)}},{key:"renderHorizontalRect",value:function(e){var t=this.props,n=t.baseLine,r=t.points,i=t.strokeWidth,o=r[0].x,a=r[r.length-1].x,s=e*Math.abs(o-a),l=c()(r.map(function(e){return e.y||0}));return(0,z.Et)(n)&&"number"==typeof n?l=Math.max(n,l):n&&y()(n)&&n.length&&(l=Math.max(c()(n.map(function(e){return e.y||0})),l)),(0,z.Et)(l)?g.createElement("rect",{x:o<a?o:o-s,y:0,width:s,height:Math.floor(l+(i?parseInt("".concat(i),10):1))}):null}},{key:"renderVerticalRect",value:function(e){var t=this.props,n=t.baseLine,r=t.points,i=t.strokeWidth,o=r[0].y,a=r[r.length-1].y,s=e*Math.abs(o-a),l=c()(r.map(function(e){return e.x||0}));return(0,z.Et)(n)&&"number"==typeof n?l=Math.max(n,l):n&&y()(n)&&n.length&&(l=Math.max(c()(n.map(function(e){return e.x||0})),l)),(0,z.Et)(l)?g.createElement("rect",{x:0,y:o<a?o:o-s,width:l+(i?parseInt("".concat(i),10):1),height:Math.floor(s)}):null}},{key:"renderClipRect",value:function(e){return"vertical"===this.props.layout?this.renderVerticalRect(e):this.renderHorizontalRect(e)}},{key:"renderAreaStatically",value:function(e,t,n,r){var i=this.props,o=i.layout,a=i.type,s=i.stroke,c=i.connectNulls,l=i.isRange,u=(i.ref,function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(i,["layout","type","stroke","connectNulls","isRange","ref"]));return g.createElement(k.W,{clipPath:n?"url(#clipPath-".concat(r,")"):null},g.createElement(x.I,U({},(0,M.J9)(u,!0),{points:e,connectNulls:c,type:a,baseLine:t,layout:o,stroke:"none",className:"recharts-area-area"})),"none"!==s&&g.createElement(x.I,U({},(0,M.J9)(this.props),{className:"recharts-area-curve",layout:o,type:a,connectNulls:c,fill:"none",points:e})),"none"!==s&&l&&g.createElement(x.I,U({},(0,M.J9)(this.props),{className:"recharts-area-curve",layout:o,type:a,connectNulls:c,fill:"none",points:t})))}},{key:"renderAreaWithAnimation",value:function(e,t){var n=this,r=this.props,i=r.points,o=r.baseLine,s=r.isAnimationActive,c=r.animationBegin,l=r.animationDuration,u=r.animationEasing,f=r.animationId,d=this.state,h=d.prevPoints,m=d.prevBaseLine;return g.createElement(w.Ay,{begin:c,duration:l,isActive:s,easing:u,from:{t:0},to:{t:1},key:"area-".concat(f),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(r){var s=r.t;if(h){var c,l=h.length/i.length,u=i.map(function(e,t){var n=Math.floor(t*l);if(h[n]){var r=h[n],i=(0,z.Dj)(r.x,e.x),o=(0,z.Dj)(r.y,e.y);return H(H({},e),{},{x:i(s),y:o(s)})}return e});return c=(0,z.Et)(o)&&"number"==typeof o?(0,z.Dj)(m,o)(s):p()(o)||a()(o)?(0,z.Dj)(m,0)(s):o.map(function(e,t){var n=Math.floor(t*l);if(m[n]){var r=m[n],i=(0,z.Dj)(r.x,e.x),o=(0,z.Dj)(r.y,e.y);return H(H({},e),{},{x:i(s),y:o(s)})}return e}),n.renderAreaStatically(u,c,e,t)}return g.createElement(k.W,null,g.createElement("defs",null,g.createElement("clipPath",{id:"animationClipPath-".concat(t)},n.renderClipRect(s))),g.createElement(k.W,{clipPath:"url(#animationClipPath-".concat(t,")")},n.renderAreaStatically(i,o,e,t)))})}},{key:"renderArea",value:function(e,t){var n=this.props,r=n.points,o=n.baseLine,a=n.isAnimationActive,s=this.state,c=s.prevPoints,l=s.prevBaseLine,u=s.totalLength;return a&&r&&r.length&&(!c&&u>0||!i()(c,r)||!i()(l,o))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(r,o,e,t)}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.dot,r=e.points,i=e.className,o=e.top,a=e.left,s=e.xAxis,c=e.yAxis,l=e.width,u=e.height,f=e.isAnimationActive,d=e.id;if(t||!r||!r.length)return null;var h=this.state.isAnimationFinished,m=1===r.length,y=b()("recharts-area",i),v=s&&s.allowDataOverflow||c&&c.allowDataOverflow,w=p()(d)?this.id:d;return g.createElement(k.W,{className:y},v?g.createElement("defs",null,g.createElement("clipPath",{id:"clipPath-".concat(w)},g.createElement("rect",{x:a,y:o,width:l,height:Math.floor(u)}))):null,m?null:this.renderArea(v,w),(n||m)&&this.renderDots(v,w),(!f||h)&&L.renderCallByParent(this.props,r))}}])&&W(t.prototype,n),r&&W(t,r),f}(g.PureComponent);Q.displayName="Area",Q.defaultProps={stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendT
2ype:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!B.m.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Q.getBaseValue=function(e,t,n,r){var i=e.layout,o=t.props.baseValue;if((0,z.Et)(o)&&"number"==typeof o)return o;var a="horizontal"===i?r:n,s=a.scale.domain();if("number"===a.type){var c=Math.max(s[0],s[1]),l=Math.min(s[0],s[1]);return"dataMin"===o?l:"dataMax"===o||c<0?c:Math.max(Math.min(s[0],s[1]),0)}return"dataMin"===o?s[0]:"dataMax"===o?s[1]:s[0]},Q.getComposedData=function(e){var t,n=e.props,r=e.item,i=e.xAxis,o=e.yAxis,a=e.xAxisTicks,s=e.yAxisTicks,c=e.bandSize,l=e.dataKey,u=e.stackedData,f=e.dataStartIndex,h=e.displayedData,m=e.offset,g=n.layout,v=u&&u.length,b=Q.getBaseValue(n,r,i,o),w=!1,x=h.map(function(e,t){var n,r=(0,O.kr)(e,l);v?n=u[f+t]:(n=r,y()(n)?w=!0:n=[b,n]);var d=p()(n[1])||v&&p()(r);return"horizontal"===g?{x:(0,O.nb)({axis:i,ticks:a,bandSize:c,entry:e,index:t}),y:d?null:o.scale(n[1]),value:n,payload:e}:{x:d?null:i.scale(n[1]),y:(0,O.nb)({axis:o,ticks:s,bandSize:c,entry:e,index:t}),value:n,payload:e}});return t=v||w?x.map(function(e){return"horizontal"===g?{x:e.x,y:p()(d()(e,"value[0]"))||p()(d()(e,"y"))?null:o.scale(d()(e,"value[0]"))}:{x:p()(d()(e,"value[0]"))?null:i.scale(d()(e,"value[0]")),y:e.y}}):"horizontal"===g?o.scale(b):i.scale(b),H({points:x,baseLine:t,layout:g,isRange:w},m)},Q.renderDotItem=function(e,t){return g.isValidElement(e)?g.cloneElement(e,t):u()(e)?e(t):g.createElement(S.c,U({},t,{className:"recharts-area-dot"}))}},69107(e,t,n){"use strict";n.d(t,{d:()=>y});var r=n(37414),i=n.n(r),o=n(96540),a=n(59744),s=n(98940);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(g,e);var t,n,r,u,d,y=(u=g,d=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=m(u);if(d){var n=m(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,e)});function g(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,g),y.apply(this,arguments)}return t=g,r=[{key:"renderLineItem",value:function(e,t){var n;if(o.isValidElement(e))n=o.cloneElement(e,t);else if(i()(e))n=e(t);else{var r=t.x1,a=t.y1,c=t.x2,u=t.y2,f=t.key,d=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,["x1","y1","x2","y2","key"]);n=o.createElement("line",l({},(0,s.J9)(d),{x1:r,y1:a,x2:c,y2:u,fill:"none",key:f}))}return n}}],(n=[{key:"renderHorizontal",value:function(e){var t=this,n=this.props,r=n.x,i=n.width,a=n.horizontal;if(!e||!e.length)return null;var s=e.map(function(e,n){var o=f(f({},t.props),{},{x1:r,y1:e,x2:r+i,y2:e,key:"line-".concat(n),index:n});return g.renderLineItem(a,o)});return o.createElement("g",{className:"recharts-cartesian-grid-horizontal"},s)}},{key:"renderVertical",value:function(e){var t=this,n=this.props,r=n.y,i=n.height,a=n.vertical;if(!e||!e.length)return null;var s=e.map(function(e,n){var o=f(f({},t.props),{},{x1:e,y1:r,x2:e,y2:r+i,key:"line-".concat(n),index:n});return g.renderLineItem(a,o)});return o.createElement("g",{className:"recharts-cartesian-grid-vertical"},s)}},{key:"renderVerticalStripes",value:function(e){var t=this.props.verticalFill;if(!t||!t.length)return null;var n=this.props,r=n.fillOpacity,i=n.x,a=n.y,s=n.width,c=n.height,l=e.slice().sort(function(e,t){return e-t});i!==l[0]&&l.unshift(0);var u=l.map(function(e,n){var u=l[n+1]?l[n+1]-e:i+s-e;if(u<=0)return null;var f=n%t.length;return o.createElement("rect",{key:"react-".concat(n),x:Math.round(e+i-i),y:a,width:u,height:c,stroke:"none",fill:t[f],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return o.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},u)}},{key:"renderHorizontalStripes",value:function(e){var t=this.props.horizontalFill;if(!t||!t.length)return null;var n=this.props,r=n.fillOpacity,i=n.x,a=n.y,s=n.width,c=n.height,l=e.slice().sort(function(e,t){return e-t});a!==l[0]&&l.unshift(0);var u=l.map(function(e,n){var u=l[n+1]?l[n+1]-e:a+c-e;if(u<=0)return null;var f=n%t.length;return o.createElement("rect",{key:"react-".concat(n),y:Math.round(e+a-a),x:i,height:u,width:s,stroke:"none",fill:t[f],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return o.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},u)}}
2,{key:"renderBackground",value:function(){var e=this.props.fill;if(!e||"none"===e)return null;var t=this.props,n=t.fillOpacity,r=t.x,i=t.y,a=t.width,s=t.height;return o.createElement("rect",{x:r,y:i,width:a,height:s,stroke:"none",fill:e,fillOpacity:n,className:"recharts-cartesian-grid-bg"})}},{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,s=e.height,c=e.horizontal,l=e.vertical,u=e.horizontalCoordinatesGenerator,f=e.verticalCoordinatesGenerator,d=e.xAxis,h=e.yAxis,p=e.offset,m=e.chartWidth,y=e.chartHeight;if(!(0,a.Et)(r)||r<=0||!(0,a.Et)(s)||s<=0||!(0,a.Et)(t)||t!==+t||!(0,a.Et)(n)||n!==+n)return null;var g=this.props,v=g.horizontalPoints,b=g.verticalPoints;return v&&v.length||!i()(u)||(v=u({yAxis:h,width:m,height:y,offset:p})),b&&b.length||!i()(f)||(b=f({xAxis:d,width:m,height:y,offset:p})),o.createElement("g",{className:"recharts-cartesian-grid"},this.renderBackground(),c&&this.renderHorizontal(v),l&&this.renderVertical(b),c&&this.renderHorizontalStripes(v),l&&this.renderVerticalStripes(b))}}])&&h(t.prototype,n),r&&h(t,r),g}(o.PureComponent);y.displayName="CartesianGrid",y.defaultProps={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]}},57158(e,t,n){"use strict";n.d(t,{e:()=>S});var r=n(37038),i=n.n(r),o=n(37414),a=n.n(o),s=n(96540),c=n(32485),l=n.n(c),u=n(86069),f=n(91706),d=n(86347),h=n(59744),p=n(15894),m=n(6634),y=n(98940);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){b(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function x(){return x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},x.apply(this,arguments)}function S(e){var t=e.x,n=e.y,r=e.segment,o=e.xAxis,c=e.yAxis,g=e.shape,b=e.className,S=e.alwaysShow,k=e.clipPathId;(0,m.R)(void 0===S,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var E=function(e,t,n,r,o){var a=o.viewBox,s=a.x,c=a.y,l=a.width,u=a.height,f=o.position;if(n){var h=o.y,p=o.yAxis.orientation,m=e.y.apply(h,{position:f});if((0,d.R)(o,"discard")&&!e.y.isInRange(m))return null;var y=[{x:s+l,y:m},{x:s,y:m}];return"left"===p?y.reverse():y}if(t){var g=o.x,v=o.xAxis.orientation,b=e.x.apply(g,{position:f});if((0,d.R)(o,"discard")&&!e.x.isInRange(b))return null;var w=[{x:b,y:c+u},{x:b,y:c}];return"top"===v?w.reverse():w}if(r){var x=o.segment.map(function(t){return e.apply(t,{position:f})});return(0,d.R)(o,"discard")&&i()(x,function(t){return!e.isInRange(t)})?null:x}return null}((0,p.P2)({x:o.scale,y:c.scale}),(0,h.vh)(t),(0,h.vh)(n),r&&2===r.length,e);if(!E)return null;var _,C,A=(C=2,function(e){if(Array.isArray(e))return e}(_=E)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(_,C)||function(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}(_,C)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),T=A[0],P=T.x,O=T.y,M=A[1],I=M.x,R=M.y,D=v(v({clipPath:(0,d.R)(e,"hidden")?"url(#".concat(k,")"):void 0},(0,y.J9)(e,!0)),{},{x1:P,y1:O,x2:I,y2:R});return s.createElement(u.W,{className:l()("recharts-reference-line",b)},function(e,t){return s.isValidElement(e)?s.cloneElement(e,t):a()(e)?e(t):s.createElement("line",x({},t,{className:"recharts-reference-line-line"}))}(g,D),f.J.renderCallByParent(e,(0,p.vh)({x1:P,y1:O,x2:I,y2:R})))}S.displayName="ReferenceLine",S.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"}},77984(e,t,n){"use strict";n.d(t,{W:()=>r});var r=function(){return null};
2r.displayName="XAxis",r.defaultProps={allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",domain:[0,"auto"],padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0}},23495(e,t,n){"use strict";n.d(t,{h:()=>r});var r=function(){return null};r.displayName="YAxis",r.defaultProps={allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",domain:[0,"auto"],padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1}},44175(e,t,n){"use strict";n.d(t,{Q:()=>$t});var r=n(91663),i=n.n(r),o=n(70017),a=n.n(o),s=n(37414),c=n.n(s),l=n(69234),u=n.n(l),f=n(2979),d=n.n(f),h=n(29832),p=n.n(h),m=n(71961),y=n.n(m),g=n(34743),v=n.n(g),b=n(30800),w=n.n(b),x=n(22645),S=n.n(x),k=n(96540),E=n(32485),_=n.n(E),C=n(49303),A=n(86069),T=n(5128),P=n(6580),O=n(56110),M=n(59744),I=n(98940);function R(e){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R(e)}function D(){return D=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},D.apply(this,arguments)}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}
2function j(e,t){return j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},j(e,t)}function F(e){return F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},F(e)}var L=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j(e,t)}(s,e);var t,n,r,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=F(i);if(o){var n=F(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,e)});function s(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),a.apply(this,arguments)}return t=s,r=[{key:"getPath",value:function(e,t,n,r,i,o){return"M".concat(e,",").concat(i,"v").concat(r,"M").concat(o,",").concat(t,"h").concat(n)}}],(n=[{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,i=e.height,o=e.top,a=e.left,c=e.className;return(0,M.Et)(t)&&(0,M.Et)(n)&&(0,M.Et)(r)&&(0,M.Et)(i)&&(0,M.Et)(o)&&(0,M.Et)(a)?k.createElement("path",D({},(0,I.J9)(this.props,!0),{className:_()("recharts-cross",c),d:s.getPath(t,n,r,i,o,a)})):null}}])&&N(t.prototype,n),r&&N(t,r),s}(k.PureComponent);L.defaultProps={x:0,y:0,top:0,left:0,width:0,height:0};var B=n(14040);function z(e){return z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z(e)}function V(){return V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},V.apply(this,arguments)}function U(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $(e,t){return $=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},$(e,t)}function H(e){return H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},H(e)}var q=function(e){var t=e.cx,n=e.cy,r=e.radius,i=e.angle,o=e.sign,a=e.isExternal,s=e.cornerRadius,c=e.cornerIsExternal,l=s*(a?1:-1)+r,u=Math.asin(s/l)/B.Kg,f=c?i:i+o*u,d=c?i-o*u:i;return{center:(0,B.IZ)(t,n,l,f),circleTangency:(0,B.IZ)(t,n,r,f),lineTangency:(0,B.IZ)(t,n,l*Math.cos(u*B.Kg),d),theta:u}},W=function(e){var t=e.cx,n=e.cy,r=e.innerRadius,i=e.outerRadius,o=e.startAngle,a=function(e,t){return(0,M.sA)(t-e)*Math.min(Math.abs(t-e),359.999)}(o,e.endAngle),s=o+a,c=(0,B.IZ)(t,n,i,o),l=(0,B.IZ)(t,n,i,s),u="M ".concat(c.x,",").concat(c.y,"\n A ").concat(i,",").concat(i,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o>s),",\n ").concat(l.x,",").concat(l.y,"\n ");if(r>0){var f=(0,B.IZ)(t,n,r,o),d=(0,B.IZ)(t,n,r,s);u+="L ".concat(d.x,",").concat(d.y,"\n A ").concat(r,",").concat(r,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o<=s),",\n ").concat(f.x,",").concat(f.y," Z")}else u+="L ".concat(t,",").concat(n," Z");return u},G=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=H(r);if(i){var n=H(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==z(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,e)});function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.innerRadius,i=e.outerRadius,o=e.cornerRadius,a=e.forceCornerRadius,s=e.cornerIsExternal,c=e.startAngle,l=e.endAngle,u=e.className;if(i<r||c===l)return null;var f,d=_()("recharts-sector",u),h=i-r,p=(0,M.F4)(o,h,0,!0);return f=p>0&&Math.abs(c-l)<360?function(e){var t=e.cx,n=e.cy,r=e.innerRadius,i=e.outerRadius,o=e.cornerRadius,a=e.forceCornerRadius,s=e.cornerIsExternal,c=e.startAngle,l=e.endAngle,u=(0,M.sA)(l-c),f=q({cx:t,cy:n,radius:i,angle:c,sign:u,cornerRadius:o,cornerIsExternal:s}),d=f.circleTangency,h=f.lineTangency,p=f.theta,m=q({cx:t,cy:n,radius:i,angle:l,sign:-u,cornerRadius:o,cornerIsExternal:s}),y=m.circleTangency,g=m.lineTangency,v=m.theta,b=s?Math.abs(c-l):Math.abs(c-l)-p-v;if(b<0)return a?"M ".concat(h.x,",").concat(h.y,"\n a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n a").concat(o,",").concat(o,",0,0,1,").concat(2*-o,",0\n "):W({cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:c,endAngle:l});var w="M ".concat(h.x,",").concat(h.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(u<0),",").concat(d.x,",").concat(d.y,"\n A").concat(i,",").concat(i,",0,").concat(+(b>180),",").concat(+(u<0),",").concat(y.x,",").concat(y.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(u<0),",").concat(g.x,",").concat(g.y,"\n ");if(r>0){var x=q({cx:t,cy:n,radius:r,angle:c,sign:u,isExternal:!0,cornerRadius:o,cornerIsExternal:s}),S=x.circleTangency,k=x.lineTangency,E=x.theta,_=q({cx:t,cy:n,radius:r,angle:l,sign:-u,isExternal:!0,cornerRadius:o,cornerIsExternal:s}),C=_.circleTangency,A=_.lineTangency,T=_.theta,P=s?Math.abs(c-l):Math.abs(c-l)-E-T;if(P<0&&0===o)return"".concat(w,"L").concat(t,",").concat(n,"Z");w+="L".concat(A.x,",").concat(A.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(u<0),",").concat(C.x,",").concat(C.y,"\n A").concat(r,",").concat(r,",0,").concat(+(P>180),",").concat(+(u>0),",").concat(S.x,",").concat(S.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(u<0),",").concat(k.x,",").concat(k.y,"Z")}else w+="L".concat(t,",").concat(n,"Z");return w}({cx:t,cy:n,innerRadius:r,outerRadius:i,cornerRadius:Math.min(p,h/2),forceCornerRadius:a,cornerIsExternal:s,startAngle:c,endAngle:l}):W({cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:c,endAngle:l}),k.createElement("path",V({},(0,I.J9)(this.props,!0),{className:d,d:f}))}}])&&U(t.prototype,n),a}(k.PureComponent);G.defaultProps={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1};var K=n(66613),Q=n(86924);function J(e){return J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},J(e)}function X(){return X=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},X.apply(this,arguments)}function Y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}
2function Z(e,t){return Z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Z(e,t)}function ee(e){return ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ee(e)}var te=function(e,t,n,r,i){var o,a=Math.min(Math.abs(n)/2,Math.abs(r)/2),s=r>=0?1:-1,c=n>=0?1:-1,l=r>=0&&n>=0||r<0&&n<0?1:0;if(a>0&&i instanceof Array){for(var u=[0,0,0,0],f=0;f<4;f++)u[f]=i[f]>a?a:i[f];o="M".concat(e,",").concat(t+s*u[0]),u[0]>0&&(o+="A ".concat(u[0],",").concat(u[0],",0,0,").concat(l,",").concat(e+c*u[0],",").concat(t)),o+="L ".concat(e+n-c*u[1],",").concat(t),u[1]>0&&(o+="A ".concat(u[1],",").concat(u[1],",0,0,").concat(l,",\n ").concat(e+n,",").concat(t+s*u[1])),o+="L ".concat(e+n,",").concat(t+r-s*u[2]),u[2]>0&&(o+="A ".concat(u[2],",").concat(u[2],",0,0,").concat(l,",\n ").concat(e+n-c*u[2],",").concat(t+r)),o+="L ".concat(e+c*u[3],",").concat(t+r),u[3]>0&&(o+="A ".concat(u[3],",").concat(u[3],",0,0,").concat(l,",\n ").concat(e,",").concat(t+r-s*u[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var d=Math.min(a,i);o="M ".concat(e,",").concat(t+s*d,"\n A ").concat(d,",").concat(d,",0,0,").concat(l,",").concat(e+c*d,",").concat(t,"\n L ").concat(e+n-c*d,",").concat(t,"\n A ").concat(d,",").concat(d,",0,0,").concat(l,",").concat(e+n,",").concat(t+s*d,"\n L ").concat(e+n,",").concat(t+r-s*d,"\n A ").concat(d,",").concat(d,",0,0,").concat(l,",").concat(e+n-c*d,",").concat(t+r,"\n L ").concat(e+c*d,",").concat(t+r,"\n A ").concat(d,",").concat(d,",0,0,").concat(l,",").concat(e,",").concat(t+r-s*d," Z")}else o="M ".concat(e,",").concat(t," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return o},ne=function(e,t){if(!e||!t)return!1;var n=e.x,r=e.y,i=t.x,o=t.y,a=t.width,s=t.height;if(Math.abs(a)>0&&Math.abs(s)>0){var c=Math.min(i,i+a),l=Math.max(i,i+a),u=Math.min(o,o+s),f=Math.max(o,o+s);return n>=c&&n<=l&&r>=u&&r<=f}return!1},re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=ee(r);if(i){var n=ee(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==J(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,e)});function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o.call.apply(o,[this].concat(n))).state={totalLength:-1},e.node=void 0,e}return t=a,(n=[{key:"componentDidMount",value:function(){if(this.node&&this.node.getTotalLength)try{var e=this.node.getTotalLength();e&&this.setState({totalLength:e})}catch(e){}}},{key:"render",value:function(){var e=this,t=this.props,n=t.x,r=t.y,i=t.width,o=t.height,a=t.radius,s=t.className,c=this.state.totalLength,l=this.props,u=l.animationEasing,f=l.animationDuration,d=l.animationBegin,h=l.isAnimationActive,p=l.isUpdateAnimationActive;if(n!==+n||r!==+r||i!==+i||o!==+o||0===i||0===o)return null;var m=_()("recharts-rectangle",s);return p?k.createElement(Q.Ay,{canBegin:c>0,from:{width:i,height:o,x:n,y:r},to:{width:i,height:o,x:n,y:r},duration:f,animationEasing:u,isActive:p},function(t){var n=t.width,r=t.height,i=t.x,o=t.y;return k.createElement(Q.Ay,{canBegin:c>0,from:"0px ".concat(-1===c?1:c,"px"),to:"".concat(c,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:f,isActive:h,easing:u},k.createElement("path",X({},(0,I.J9)(e.props,!0),{className:m,d:te(i,o,n,r,a),ref:function(t){e.node=t}})))}):k.createElement("path",X({},(0,I.J9)(this.props,!0),{className:m,d:te(n,r,i,o,a)}))}}])&&Y(t.prototype,n),a}(k.PureComponent);re.defaultProps={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"};var ie=n(94501),oe=n(23521),ae=n(81636),se=n(20261),ce=n(91706),le=n(59938);function ue(e){return ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ue(e)}function fe(){return fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fe.apply(this,arguments)}function de(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function he(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?de(Object(n),!0).forEach(function(t){pe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):de(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function me(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ye(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ge(e,t){return ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ge(e,t)}function ve(e){return ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ve(e)}var be=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ge(e,t)}(s,e);var t,n,r,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=ve(i);if(o){var n=ve(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==ue(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=a.call(this,e)).layerReference=void 0,t.state={fontSize:"",letterSpacing:""},t}return t=s,r=[{key:"getTicks",value:function(e,t,n){var r=e.tick,i=e.ticks,o=e.viewBox,a=e.minTickGap,c=e.orientation,l=e.interval,u=e.tickFormatter,f=e.unit;return i&&i.length&&r?(0,M.Et)(l)||le.m.isSsr?s.getNumberIntervalTicks(i,"number"==typeof l&&(0,M.Et)(l)?l:0):"preserveStartEnd"===l?s.getTicksStart({ticks:i,tickFormatter:u,viewBox:o,orientation:c,minTickGap:a,unit:f,fontSize:t,letterSpacing:n},!0):"preserveStart"===l?s.getTicksStart({ticks:i,tickFormatter:u,viewBox:o,orientation:c,minTickGap:a,unit:f,fontSize:t,letterSpacing:n}):s.getTicksEnd({ticks:i,tickFormatter:u,viewBox:o,orientation:c,minTickGap:a,unit:f,fontSize:t,letterSpacing:n}):[]}},{key:"getNumberIntervalTicks",value:function(e,t){return e.filter(function(e,n){return n%(t+1)===0})}},{key:"getTicksStart",value:function(e,t){var n,r,i=e.ticks,o=e.tickFormatter,a=e.viewBox,s=e.orientation,l=e.minTickGap,u=e.unit,f=e.fontSize,d=e.letterSpacing,h=a.x,p=a.y,m=a.width,y=a.height,g="top"===s||"bottom"===s?"width":"height",v=(i||[]).slice(),b=u&&"width"===g?(0,ae.Pu)(u,{fontSize:f,letterSpacing:d})[g]:0,w=v.length,x=w>=2?(0,M.sA)(v[1].coordinate-v[0].coordinate):1;if(1===x?(n="width"===g?h:p,r="width"===g?h+m:p+y):(n="width"===g?h+m:p+y,r="width"===g?h:p),t){var S=i[w-1],k=c()(o)?o(S.value,w-1):S.value,E=(0,ae.Pu)(k,{fontSize:f,letterSpacing:d})[g]+b,_=x*(S.coordinate+x*E/2-r);v[w-1]=S=he(he({},S),{},{tickCoord:_>0?S.coordinate-_*x:S.coordinate}),x*(S.tickCoord-x*E/2-n)>=0&&x*(S.tickCoord+x*E/2-r)<=0&&(r=S.tickCoord-x*(E/2+l),v[w-1]=he(he({},S),{},{isShow:!0}))}for(var C=t?w-1:w,A=0;A<C;A++){var T=v[A],P=c()(o)?o(T.value,A):T.value,O=(0,ae.Pu)(P,{fontSize:f,letterSpacing:d})[g]+b;if(0===A){var I=x*(T.coordinate-x*O/2-n);v[A]=T=he(he({},T),{},{tickCoord:I<0?T.coordinate-I*x:T.coordinate})}else v[A]=T=he(he({},T),{},{tickCoord:T.coordinate});x*(T.tickCoord-x*O/2-n)>
2=0&&x*(T.tickCoord+x*O/2-r)<=0&&(n=T.tickCoord+x*(O/2+l),v[A]=he(he({},T),{},{isShow:!0}))}return v.filter(function(e){return e.isShow})}},{key:"getTicksEnd",value:function(e){var t,n,r=e.ticks,i=e.tickFormatter,o=e.viewBox,a=e.orientation,s=e.minTickGap,l=e.unit,u=e.fontSize,f=e.letterSpacing,d=o.x,h=o.y,p=o.width,m=o.height,y="top"===a||"bottom"===a?"width":"height",g=l&&"width"===y?(0,ae.Pu)(l,{fontSize:u,letterSpacing:f})[y]:0,v=(r||[]).slice(),b=v.length,w=b>=2?(0,M.sA)(v[1].coordinate-v[0].coordinate):1;1===w?(t="width"===y?d:h,n="width"===y?d+p:h+m):(t="width"===y?d+p:h+m,n="width"===y?d:h);for(var x=b-1;x>=0;x--){var S=v[x],k=c()(i)?i(S.value,b-x-1):S.value,E=(0,ae.Pu)(k,{fontSize:u,letterSpacing:f})[y]+g;if(x===b-1){var _=w*(S.coordinate+w*E/2-n);v[x]=S=he(he({},S),{},{tickCoord:_>0?S.coordinate-_*w:S.coordinate})}else v[x]=S=he(he({},S),{},{tickCoord:S.coordinate});w*(S.tickCoord-w*E/2-t)>=0&&w*(S.tickCoord+w*E/2-n)<=0&&(n=S.tickCoord-w*(E/2+s),v[x]=he(he({},S),{},{isShow:!0}))}return v.filter(function(e){return e.isShow})}},{key:"renderTickItem",value:function(e,t,n){return k.isValidElement(e)?k.cloneElement(e,t):c()(e)?e(t):k.createElement(se.E,fe({},t,{className:"recharts-cartesian-axis-tick-value"}),n)}}],(n=[{key:"shouldComponentUpdate",value:function(e,t){var n=e.viewBox,r=me(e,["viewBox"]),i=this.props,o=i.viewBox,a=me(i,["viewBox"]);return!(0,oe.b)(n,o)||!(0,oe.b)(r,a)||!(0,oe.b)(t,this.state)}},{key:"componentDidMount",value:function(){var e=this.layerReference;if(e){var t=e.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];t&&this.setState({fontSize:window.getComputedStyle(t).fontSize,letterSpacing:window.getComputedStyle(t).letterSpacing})}}},{key:"getTickLineCoord",value:function(e){var t,n,r,i,o,a,s=this.props,c=s.x,l=s.y,u=s.width,f=s.height,d=s.orientation,h=s.tickSize,p=s.mirror,m=s.tickMargin,y=p?-1:1,g=e.tickSize||h,v=(0,M.Et)(e.tickCoord)?e.tickCoord:e.coordinate;switch(d){case"top":t=n=e.coordinate,a=(r=(i=l+ +!p*f)-y*g)-y*m,o=v;break;case"left":r=i=e.coordinate,o=(t=(n=c+ +!p*u)-y*g)-y*m,a=v;break;case"right":r=i=e.coordinate,o=(t=(n=c+ +p*u)+y*g)+y*m,a=v;break;default:t=n=e.coordinate,a=(r=(i=l+ +p*f)+y*g)+y*m,o=v}return{line:{x1:t,y1:r,x2:n,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var e,t=this.props,n=t.orientation,r=t.mirror;switch(n){case"left":e=r?"start":"end";break;case"right":e=r?"end":"start";break;default:e="middle"}return e}},{key:"getTickVerticalAnchor",value:function(){var e=this.props,t=e.orientation,n=e.mirror,r="end";switch(t){case"left":case"right":r="middle";break;case"top":r=n?"start":"end";break;default:r=n?"end":"start"}return r}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,i=e.height,o=e.orientation,a=e.mirror,s=e.axisLine,c=he(he(he({},(0,I.J9)(this.props)),(0,I.J9)(s)),{},{fill:"none"});if("top"===o||"bottom"===o){var l=+("top"===o&&!a||"bottom"===o&&a);c=he(he({},c),{},{x1:t,y1:n+l*i,x2:t+r,y2:n+l*i})}else{var u=+("left"===o&&!a||"right"===o&&a);c=he(he({},c),{},{x1:t+u*r,y1:n,x2:t+u*r,y2:n+i})}return k.createElement("line",fe({},c,{className:_()("recharts-cartesian-axis-line",p()(s,"className"))}))}},{key:"renderTicks",value:function(e,t,n){var r=this,i=this.props,o=i.tickLine,a=i.stroke,l=i.tick,u=i.tickFormatter,f=i.unit,d=s.getTicks(he(he({},this.props),{},{ticks:e}),t,n),h=this.getTickTextAnchor(),m=this.getTickVerticalAnchor(),y=(0,I.J9)(this.props),g=(0,I.J9)(l),v=he(he({},y),{},{fill:"none"},(0,I.J9)(o)),b=d.map(function(e,t){var n=r.getTickLineCoord(e),i=n.line,b=n.tick,w=he(he(he(he({textAnchor:h,verticalAnchor:m},y),{},{stroke:"none",fill:a},g),b),{},{index:t,payload:e,visibleTicksCount:d.length,tickFormatter:u});return k.createElement(A.W,fe({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t)},(0,I.XC)(r.props,e,t)),o&&k.createElement("line",fe({},v,i,{className:_()("recharts-cartesian-axis-tick-line",p()(o,"className"))})),l&&s.renderTickItem(l,w,"".concat(c()(u)?u(e.value,t):e.value).concat(f||"")))});return k.createElement("g",{className:"recharts-cartesian-axis-ticks"},b)}},{key:"render",value:function(){var e=this,t=this.props,n=t.axisLine,r=t.width,i=t.height,o=t.ticksGenerator,a=t.className;if(t.hide)return null;var s=this.props,l=s.ticks,u=me(s,["ticks"]),f=l;return c()(o)&&(f=l&&l.length>0?o(this.props):o(u)),r<=0||i<=0||!f||!f.length?null:k.createElement(A.W,{className:_()("recharts-cartesian-axis",a),ref:function(t){e.layerReference=t}},n&&this.renderAxisLine(),this.renderTicks(f,this.state.fontSize,this.state.letterSpacing),ce.J.renderCallByParent(this.props))}}])&&ye(t.prototype,n),r&&ye(t,r),s}(k.Component);
2be.displayName="CartesianAxis",be.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"};var we=n(12941),xe=n(65040);function Se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(n),!0).forEach(function(t){Ee(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Se(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _e=["Webkit","Moz","O","ms"];function Ce(e){return Ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ce(e)}function Ae(){return Ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ae.apply(this,arguments)}function Te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Te(Object(n),!0).forEach(function(t){Oe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Te(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Me(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ie(e,t){return Ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ie(e,t)}function Re(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function De(e){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},De(e)}var Ne=function(e){return e.changedTouches&&!!e.changedTouches.length},je=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ie(e,t)}(s,e);var t,n,r,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=De(i);if(o){var n=De(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==Ce(t)&&"function"!=typeof t?Re(e):t}(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=a.call(this,e)).leaveTimer=void 0,t.travellerDragStartHandlers=void 0,t.handleDrag=function(e){t.leaveTimer&&(clearTimeout(t.leaveTimer),t.leaveTimer=null),t.state.isTravellerMoving?t.handleTravellerMove(e):t.state.isSlideMoving&&t.handleSlideDrag(e)},t.handleTouchMove=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleDrag(e.changedTouches[0])},t.handleDragEnd=function(){t.setState({isTravellerMoving:!1,isSlideMoving:!1}),t.detachDragEndListener()},t.handleLeaveWrapper=function(){(t.state.isTravellerMoving||t.state.isSlideMoving)&&(t.leaveTimer=window.setTimeout(t.handleDragEnd,t.props.leaveTimeOut))},t.handleEnterSlideOrTraveller=function(){t.setState({isTextActive:!0})},t.handleLeaveSlideOrTraveller=function(){t.setState({isTextActive:!1})},t.handleSlideDragStart=function(e){var n=Ne(e)?e.changedTouches[0]:e;t.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:n.pageX}),t.attachDragEndListener()},t.travellerDragStartHandlers={startX:t.handleTravellerDragStart.bind(Re(t),"startX"),endX:t.handleTravellerDragStart.bind(Re(t),"endX")},t.state={},t}return t=s,r=[{key:"renderDefaultTraveller",value:function(e){var t=e.x,n=e.y,r=e.width,i=e.he
vendor: 5,703 bytes, line 2
2ight,o=e.stroke,a=Math.floor(n+i/2)-1;return k.createElement(k.Fragment,null,k.createElement("rect",{x:t,y:n,width:r,height:i,fill:o,stroke:"none"}),k.createElement("line",{x1:t+1,y1:a,x2:t+r-1,y2:a,fill:"none",stroke:"#fff"}),k.createElement("line",{x1:t+1,y1:a+2,x2:t+r-1,y2:a+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(e,t){return k.isValidElement(e)?k.cloneElement(e,t):c()(e)?e(t):s.renderDefaultTraveller(t)}},{key:"getDerivedStateFromProps",value:function(e,t){var n=e.data,r=e.width,i=e.x,o=e.travellerWidth,a=e.updateId,s=e.startIndex,c=e.endIndex;if(n!==t.prevData||a!==t.prevUpdateId)return Pe({prevData:n,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:r},n&&n.length?function(e){var t=e.data,n=e.startIndex,r=e.endIndex,i=e.x,o=e.width,a=e.travellerWidth;if(!t||!t.length)return{};var s=t.length,c=(0,we.z)().domain(y()(0,s)).range([i,i+o-a]),l=c.domain().map(function(e){return c(e)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,startX:c(n),endX:c(r),scale:c,scaleValues:l}}({data:n,width:r,x:i,travellerWidth:o,startIndex:s,endIndex:c}):{scale:null,scaleValues:null});if(t.scale&&(r!==t.prevWidth||i!==t.prevX||o!==t.prevTravellerWidth)){t.scale.range([i,i+r-o]);var l=t.scale.domain().map(function(e){return t.scale(e)});return{prevData:n,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:r,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:l}}return null}},{key:"getIndexInRange",value:function(e,t){for(var n=0,r=e.length-1;r-n>1;){var i=Math.floor((n+r)/2);e[i]>t?r=i:n=i}return t>=e[r]?r:n}}],(n=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(e){var t=e.startX,n=e.endX,r=this.state.scaleValues,i=this.props,o=i.gap,a=i.data.length-1,c=Math.min(t,n),l=Math.max(t,n),u=s.getIndexInRange(r,c),f=s.getIndexInRange(r,l);return{startIndex:u-u%o,endIndex:f===a?a:f-f%o}}},{key:"getTextOfTick",value:function(e){var t=this.props,n=t.data,r=t.tickFormatter,i=t.dataKey,o=(0,xe.kr)(n[e],i,e);return c()(r)?r(o,e):o}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0)}},{key:"handleSlideDrag",value:function(e){var t=this.state,n=t.slideMoveStartX,r=t.startX,i=t.endX,o=this.props,a=o.x,s=o.width,c=o.travellerWidth,l=o.startIndex,u=o.endIndex,f=o.onChange,d=e.pageX-n;d>0?d=Math.min(d,a+s-c-i,a+s-c-r):d<0&&(d=Math.max(d,a-r,a-i));var h=this.getIndex({startX:r+d,endX:i+d});h.startIndex===l&&h.endIndex===u||!f||f(h),this.setState({startX:r+d,endX:i+d,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var n=Ne(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:n.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var t,n=this.state,r=n.brushMoveStartX,i=n.movingTravellerId,o=n.endX,a=n.startX,s=this.state[i],c=this.props,l=c.x,u=c.width,f=c.travellerWidth,d=c.onChange,h=c.gap,p=c.data,m={startX:this.state.startX,endX:this.state.endX},y=e.pageX-r;y>0?y=Math.min(y,l+u-f-s):y<0&&(y=Math.max(y,l-s)),m[i]=s+y;var g=this.getIndex(m),v=g.startIndex,b=g.endIndex;this.setState((Oe(t={},i,s+y),Oe(t,"brushMoveStartX",e.pageX),t),function(){var e;d&&(e=p.length-1,("startX"===i&&(o>a?v%h===0:b%h===0)||o<a&&b===e||"endX"===i&&(o>a?b%h===0:v%h===0)||o>a&&b===e)&&d(g))})}},{key:"renderBackground",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,i=e.height,o=e.fill,a=e.stroke;return k.createElement("rect",{stroke:a,fill:o,x:t,y:n,width:r,height:i})}},{key:"renderPanorama",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,i=e.height,o=e.data,a=e.children,s=e.padding,c=k.Children.only(a);return c?k.cloneElement(c,{x:t,y:n,width:r,height:i,margin:s,compact:!0,data:o}):null}},{key:"renderTravellerLayer",value:function(e,t){var n=this.props,r=n.y,i=n.travellerWidth,o=n.height,a=n.traveller,c=Math.max(e,this.props.x),l=Pe(Pe({},(0,I.J9)(this.props)),{},{x:c,y:r,width:i,height:o});return k.createElement(A.W,{className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[t],onTouchStart:this.travellerDragStartHandlers[t],style:{cursor:"col-resize"}},s.renderTraveller(a,l))}},{key:"renderSlide",value:function(e,t){var n=this.props,r=n.y,i=n.height,o=n.stroke,a=n.travellerWidth,s=Math.min(e,t)+a,c=Math.max(Math.abs(t-e)-a,0);return k.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:o,fillOpacity:.2,x:s,y:r,width:c,height:i})}},{key:"renderText",value:function(){var e=this.props,t=e.startIndex,n=e.endIndex,r=e.y,i=e.height,o=e.travellerWidth,a=e.stroke,s=this.state,c=s.startX,l=s.endX,u={pointerEvents:"none",fill:a};return k.createElement(A.W,{className:"recharts-brush-texts"},k.createElement(se.E,Ae({textAnchor:"end",verticalAnchor:"middle",x:Math.min(c,l)-5,y:r+i/2},u),this.getTextOfTick(t)),k.createElement(se.E,Ae({textAnchor:"start",verticalAnchor:"middle",x:Math.max(c,l)+o+5,y:r+i/2},u),this.getTextOfTick(n)))}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.className,r=e.children,i=e.x,o=e.y,a=e.width,s=e.he
2ight,c=e.alwaysShowText,l=this.state,u=l.startX,f=l.endX,d=l.isTextActive,h=l.isSlideMoving,p=l.isTravellerMoving;if(!t||!t.length||!(0,M.Et)(i)||!(0,M.Et)(o)||!(0,M.Et)(a)||!(0,M.Et)(s)||a<=0||s<=0)return null;var m,y,g,v,b=_()("recharts-brush",n),w=1===k.Children.count(r),x=(y="none",g=(m="userSelect").replace(/(\w)/,function(e){return e.toUpperCase()}),(v=_e.reduce(function(e,t){return ke(ke({},e),{},Ee({},t+g,y))},{}))[m]=y,v);return k.createElement(A.W,{className:b,onMouseMove:this.handleDrag,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:x},this.renderBackground(),w&&this.renderPanorama(),this.renderSlide(u,f),this.renderTravellerLayer(u,"startX"),this.renderTravellerLayer(f,"endX"),(d||h||p||c)&&this.renderText())}}])&&Me(t.prototype,n),r&&Me(t,r),s}(k.PureComponent);je.displayName="Brush",je.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 Fe=n(86347),Le=n(15894),Be=n(6634);function ze(){return ze=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ze.apply(this,arguments)}function Ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ve(Object(n),!0).forEach(function(t){$e(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ve(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function $e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function He(e){var t=e.x,n=e.y,r=e.r,i=e.alwaysShow,o=e.clipPathId,a=(0,M.vh)(t),s=(0,M.vh)(n);if((0,Be.R)(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!a||!s)return null;var c=function(e){var t=e.x,n=e.y,r=e.xAxis,i=e.yAxis,o=(0,Le.P2)({x:r.scale,y:i.scale}),a=o.apply({x:t,y:n},{bandAware:!0});return(0,Fe.R)(e,"discard")&&!o.isInRange(a)?null:a}(e);if(!c)return null;var l=c.x,u=c.y,f=e.shape,d=e.className,h=Ue(Ue({clipPath:(0,Fe.R)(e,"hidden")?"url(#".concat(o,")"):void 0},(0,I.J9)(e,!0)),{},{cx:l,cy:u});return k.createElement(A.W,{className:_()("recharts-reference-dot",d)},He.renderDot(f,h),ce.J.renderCallByParent(e,{x:l-r,y:u-r,width:2*r,height:2*r}))}He.displayName="ReferenceDot",He.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},He.renderDot=function(e,t){return k.isValidElement(e)?k.cloneElement(e,t):c()(e)?e(t):k.createElement(K.c,ze({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"}))};var qe=n(57158);function We(){return We=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},We.apply(this,arguments)}function Ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ge(Object(n),!0).forEach(function(t){Qe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ge(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Je(e){var t=e.x1,n=e.x2,r=e.y1,i=e.y2,o=e.className,a=e.alwaysShow,s=e.clipPathId;(0,Be.R)(void 0===a,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var c=(0,M.vh)(t),l=(0,M.vh)(n),u=(0,M.vh)(r),f=(0,M.vh)(i),d=e.shape;if(!(c||l||u||f||d))return null;var h=function(e,t,n,r,i){var o=i.x1,a=i.x2,s=i.y1,c=i.y2,l=i.xAxis,u=i.yAxis;if(!l||!u)return null;var f=(0,Le.P2)({x:l.scale,y:u.scale}),d={x:e?f.x.apply(o,{position:"start"}):f.x.rangeMin,y:n?f.y.apply(s,{position:"start"}):f.y.rangeMin},h={x:t?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:r?f.y.apply(c,{position:"end"}):f.y.rangeMax};return!(0,Fe.R)(i,"discard")||f.isInRange(d)&&f.isInRange(h)?(0,Le.sl)(d,h):null}(c,l,u,f,e);if(!h&&!d)return null;var p=(0,Fe.R)(e,"hidden")?"url(#".concat(s,")"):void 0;return k.createElement(A.W,{className:_()("recharts-reference-area",o)},Je.renderRect(d,Ke(Ke({clipPath:p},(0,I.J9)(e,!0)),h)),ce.J.renderCallByParent(e,h))}Je.displayName="ReferenceArea",Je.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},Je.renderRect=function(e,t){return k.isValidElement(e)?k.cloneElement(e,t):c()(e)?e(t):k.createElement(re,We({},t,{className:"recharts-reference-area-rect"}))};var Xe=function(e,t,n,r,i){var o=(0,ie.aS)(e,qe.e.displayName),a=(0,ie.aS)(e,He.displayName),s=o.concat(a),c=(0,ie.aS)(e,Je.displayName),l="".concat(r,"Id"),u=r[0],f=t;if(s.length&&(f=s.reduce(function(e,t){if(t.props[l]===n&&(0,Fe.R)(t.props,"extendDomain")&&(0,M.Et)(t.props[u])){var r=t.props[u];return[Math.min(e[0],r),Math.max(e[1],r)]}return e},f)),c.length){var d="".concat(u,"1"),h="".concat(u,"2");f=c.reduce(function(e,t){if(t.props[l]===n&&(0,Fe.R)(t.props,"extendDomain")&&(0,M.Et)(t.props[d])&&(0,M.Et)(t.props[h])){var r=t.props[d],i=t.props[h];return[Math.min(e[0],r,i),Math.max(e[1],r,i)]}return e},f)}return i&&i.length&&(f=i.reduce(function(e,t){return(0,M.Et)(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e},f)),f},Ye=n.cjs(function(e,t){var n=Object.prototype.hasOwnProperty,r="~";function i(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(e,t,n,i,a){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new o(n,i||e,a),c=r?r+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function s(e,t){0===--e._eventsCount?e._events=new i:delete e._events[t]}function c(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(r=!1)),c.prototype.eventNames=function(){var e,t,i=[];if(0===this._eventsCount)return i;for(t in e=this._events)n.call(e,t)&&i.push(r?t.slice(1):t);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},c.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,o=n.length,a=new Array(o);i<o;i++)a[i]=n[i].fn;return a},c.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},c.prototype.emit=function(e,t,n,i,o,a){var s=r?r+e:e;if(!this._events[s])return!1;var c,l,u=this._events[s],f=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),f){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,n),!0;case 4:return u.fn.call(u.context,t,n,i),!0;case 5:return u.fn.call(u.context,t,n,i,o),!0;case 6:return u.fn.call(u.context,t,n,i,o,a),!0}for(l=1,c=new Array(f-1);l<f;l++)c[l-1]=arguments[l];u.fn.apply(u.context,c)}else{var d,h=u.length;for(l=0;l<h;l++)switch(u[l].once&&this.removeListener(e,u[l].fn,void 0,!0),f){case 1:u[l].fn.call(u[l].context);break;case 2:u[l].fn.call(u[l].context,t);break;case 3:u[l].fn.call(u[l].context,t,n);break;case 4:u[l].fn.call(u[l].context,t,n,i);break;default:if(!c)for(d=1,c=new Array(f-1);d<f;d++)c[d-1]=arguments[d];u[l].fn.apply(u[l].context,c)}}return!0},c.prototype.on=function(e,t,n){return a(this,e,t,n,!1)},c.prototype.once=function(e,t,n){return a(this,e,t,n,!0)},c.prototype.removeListener=function(e,t,n,i){var o=r?r+e:e;if(!this._events[o])return this;if(!t)return s(this,o),this;var a=this._events[o];if(a.fn)a.fn!==t||i&&!a.once||n&&a.context!==n||s(this,o);else{for(var c=0,l=[],u=a.length;c<u;c++)(a[c].fn!==t||i&&!a[c].once||n&&a[c].context!==n)&&l.push(a[c]);l.length?this._events[o]=1===l.length?l[0]:l:s(this,o)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&s(this,t)):(this._events=new i,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,e.exports=c}),Ze=new(n.n(Ye)());Ze.setMaxListeners&&Ze.setMaxListeners(10);var et="recharts.syncMouseEvents";function tt(e){return tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tt(e)}function nt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||ut(e,t)||function(){throw new TypeError("Invalid attempt to de
2structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rt(){return rt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rt.apply(this,arguments)}function it(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ot(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function at(e,t){return at=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},at(e,t)}function st(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ct(e){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ct(e)}function lt(e){return function(e){if(Array.isArray(e))return ft(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||ut(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ut(e,t){if(e){if("string"==typeof e)return ft(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ft(e,t):void 0}}function ft(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function dt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ht(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dt(Object(n),!0).forEach(function(t){pt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mt,yt,gt,vt,bt,wt,xt,St,kt,Et,_t,Ct,At,Tt,Pt,Ot={xAxis:["bottom","top"],yAxis:["left","right"]},Mt={x:0,y:0},It=Number.isFinite?Number.isFinite:isFinite,Rt="function"==typeof requestAnimationFrame?requestAnimationFrame:"function"==typeof setImmediate?setImmediate:setTimeout,Dt="function"==typeof cancelAnimationFrame?cancelAnimationFrame:"function"==typeof clearImmediate?clearImmediate:clearTimeout,Nt=function(e,t,n){var r=t.graphicalItems,i=t.dataStartIndex,o=t.dataEndIndex,a=(r||[]).reduce(function(e,t){var n=t.props.data;return n&&n.length?[].concat(lt(e),lt(n)):e},[]);return a&&a.length>0?a:n&&n.props&&n.props.data&&n.props.data.length>0?n.props.data:e&&e.length&&(0,M.Et)(i)&&(0,M.Et)(o)?e.slice(i,o+1):[]},jt=function(e,t,n,r){var i=e.graphicalItems,o=e.tooltipAxis,a=Nt(t,e);return n<0||!i||!i.length||n>=a.length?null:i.reduce(function(e,t){if(t.props.hide)return e;var i,s=t.props.data;if(o.dataKey&&!o.allowDuplicatedCategory){var c=void 0===s?a:s;i=(0,M.eP)(c,o.dataKey,r)}else i=s&&s[n]||a[n];return i?[].concat(lt(e),[(0,xe.zb)(t,i)]):e},[])},Ft=function(e,t,n,r){var i=r||{x:e.chartX,y:e.chartY},o=function(e,t){return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}(i,n),a=e.orderedTooltipTicks,s=e.tooltipAxis,c=e.tooltipTicks,l=(0,xe.gH)(o,a,c,s);if(l>=0&&c){var u=c[l]&&c[l].value,f=jt(e,t,l,u),d=function(e,t,n,r){var i=t.find(function(e){return e&&e.index===n});if(i){if("horizontal"===e)return{x:i.coordinate,y:r.y};if("vertical"===e)return{x:r.x,y:i.coordinate};if("centric"===e){var o=i.coordinate,a=r.radius;return ht(ht(ht({},r),(0,B.IZ)(r.cx,r.cy,a,o)),{},{angle:o,radius:a})}var s=i.coordinate,c=r.angle;return ht(ht(ht({},r),(0,B.IZ)(r.cx,r.cy,s,c)),{},{angle:c,radius:s})}return Mt}(n,a,l,i);return{activeTooltipIndex:l,activeLabel:u,activePayload:f,activeCoordinate:d}}return null},Lt=function(e){var t=e.children,n=e.defaultShowTooltip,r=(0,ie.BU)(t,je.displayName);return{chartX:0,chartY:0,dataStartIndex:r&&r.props&&r.props.startIndex||
20,dataEndIndex:r&&r.props&&r.props.endIndex||e.data&&e.data.length-1||0,activeTooltipIndex:-1,isTooltipActive:!v()(n)&&n}},Bt=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},zt=n(41723),Vt=n(77984),Ut=n(23495),$t=(mt={chartName:"AreaChart",GraphicalChild:zt.G,axisComponents:[{axisType:"xAxis",AxisComp:Vt.W},{axisType:"yAxis",AxisComp:Ut.h}],formatAxisMap:Le.pr},vt=mt.chartName,bt=mt.GraphicalChild,xt=void 0===(wt=mt.defaultTooltipEventType)?"axis":wt,kt=void 0===(St=mt.validateTooltipEventTypes)?["axis"]:St,Et=mt.axisComponents,_t=mt.legendContent,Ct=mt.formatAxisMap,At=mt.defaultProps,Tt=function(e,t){var n=t.graphicalItems,r=t.stackGroups,i=t.offset,o=t.updateId,a=t.dataStartIndex,s=t.dataEndIndex,c=e.barSize,l=e.layout,u=e.barGap,f=e.barCategoryGap,d=e.maxBarSize,h=Bt(l),p=h.numericAxisName,m=h.cateAxisName,y=function(e){return!(!e||!e.length)&&e.some(function(e){var t=(0,ie.Mn)(e&&e.type);return t&&t.indexOf("Bar")>=0})}(n),g=y&&(0,xe.tA)({barSize:c,stackGroups:r}),b=[];return n.forEach(function(n,c){var h=Nt(e.data,{dataStartIndex:a,dataEndIndex:s},n),y=n.props,w=y.dataKey,x=y.maxBarSize,S=n.props["".concat(p,"Id")],k=n.props["".concat(m,"Id")],E=Et.reduce(function(e,r){var i,o=t["".concat(r.axisType,"Map")],a=n.props["".concat(r.axisType,"Id")],s=o&&o[a];return ht(ht({},e),{},(pt(i={},r.axisType,s),pt(i,"".concat(r.axisType,"Ticks"),(0,xe.Rh)(s)),i))},{}),_=E[m],C=E["".concat(m,"Ticks")],A=r&&r[S]&&r[S].hasStack&&(0,xe.kA)(n,r[S].stackGroups),T=(0,ie.Mn)(n.type).indexOf("Bar")>=0,P=(0,xe.Hj)(_,C),O=[];if(T){var M,I,R=v()(x)?d:x,D=null!==(M=null!==(I=(0,xe.Hj)(_,C,!0))&&void 0!==I?I:R)&&void 0!==M?M:0;O=(0,xe.BX)({barGap:u,barCategoryGap:f,bandSize:D!==P?D:P,sizeList:g[k],maxBarSize:R}),D!==P&&(O=O.map(function(e){return ht(ht({},e),{},{position:ht(ht({},e.position),{},{offset:e.position.offset-D/2})})}))}var N,j=n&&n.type&&n.type.getComposedData;j&&b.push({props:ht(ht({},j(ht(ht({},E),{},{displayedData:h,props:e,dataKey:w,item:n,bandSize:P,barPosition:O,offset:i,stackedData:A,layout:l,dataStartIndex:a,dataEndIndex:s}))),{},(N={key:n.key||"item-".concat(c)},pt(N,p,E[p]),pt(N,m,E[m]),pt(N,"animationId",o),N)),childIndex:(0,ie.AW)(n,e.children),item:n})}),b},Pt=function(e,t){var n=e.props,r=e.dataStartIndex,i=e.dataEndIndex,o=e.updateId;if(!(0,ie.Me)({props:n}))return null;var a=n.children,s=n.layout,c=n.stackOffset,l=n.data,u=n.reverseStackOrder,f=Bt(s),h=f.numericAxisName,m=f.cateAxisName,g=(0,ie.aS)(a,bt),b=(0,xe.Mn)(l,g,"".concat(h,"Id"),"".concat(m,"Id"),c,u),w=Et.reduce(function(e,t){var o="".concat(t.axisType,"Map");return ht(ht({},e),{},pt({},o,function(e,t){var n=t.axisType,r=void 0===n?"xAxis":n,i=t.AxisComp,o=t.graphicalItems,a=t.stackGroups,s=t.dataStartIndex,c=t.dataEndIndex,l=e.children,u="".concat(r,"Id"),f=(0,ie.aS)(l,i),d={};return f&&f.length?d=function(e,t){var n=t.axes,r=t.graphicalItems,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,s=t.dataStartIndex,c=t.dataEndIndex,l=e.layout,u=e.children,f=e.stackOffset,d=(0,xe._L)(l,i);return n.reduce(function(t,n){var h=n.props,p=h.type,m=h.dataKey,g=h.allowDataOverflow,b=h.allowDuplicatedCategory,w=h.scale,x=h.ticks,S=n.props[o],k=Nt(e.data,{graphicalItems:r.filter(function(e){return e.props[o]===S}),dataStartIndex:s,dataEndIndex:c}),E=k.length;if(!t[S]){var _,C,A;if(m){if(_=(0,xe.Ay)(k,m,p),"category"===p&&d){var T=(0,M.CG)(_);b&&T?(C=_,_=y()(0,E)):b||(_=(0,xe.KC)(n.props.domain,_,n).reduce(function(e,t){return e.indexOf(t)>=0?e:[].concat(lt(e),[t])},[]))}else if("category"===p)_=b?_.filter(function(e){return""!==e&&!v()(e)}):(0,xe.KC)(n.props.domain,_,n).reduce(function(e,t){return e.indexOf(t)>=0||""===t||v()(t)?e:[].concat(lt(e),[t])},[]);else if("number"===p){var P=(0,xe.A1)(k,r.filter(function(e){return e.props[o]===S&&!e.props.hide}),m,i,l);P&&(_=P)}!d||"number"!==p&&"auto"===w||(A=(0,xe.Ay)(k,m,"category"))}else _=d?y()(0,E):a&&a[S]&&a[S].hasStack&&"number"===p?"expand"===f?[0,1]:(0,xe.Mk)(a[S].stackGroups,s,c):(0,xe.vf)(k,r.filter(function(e){return e.props[o]===S&&!e.props.hide}),p,l,!0);if("number"===p)_=Xe(u,_,S,i,x),n.props.domain&&(_=(0,xe.AQ)(n.props.domain,_,g));else if("category"===p&&n.props.domain){var O=n.props.domain;_.every(function(e){return O.indexOf(e)>=0})&&(_=O)}return ht(ht({},t),{},pt({},S,ht(ht({},n.props),{},{axisType:i,domain:_,categoricalDomain:A,duplicateDomain:C,originalDomain:n.props.domain,isCategorical:d,layout:l})))}return t},{})}(e,{axes:f,graphicalItems:o,axisType:r,axisIdKey:u,stackGroups:a,dataStartIndex:s,dataEndIndex:c}):o&&o.length&&(d=function(e,t){var n=t.graphicalItems,r=t.Axis,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,s=t.dataStartIndex,c=t.dataEndIndex,l=e.layout,u=e.children,f=Nt(e.data,{graphicalItems:n,dataStartIndex:s,dataEndIndex:c}),d=f.length,h=(0,xe._L)(l,i),m=-1;return n.reduce(function(e,t){var g,v=t.props[o];return e[v]?e:(m++,h?g=y()(0,d):a&&a[v]&&a[v].hasStack?(g=(0,xe.Mk)(a[v].stackGroups,s,c),g=Xe(u,g,v,i)):(g=(0,xe.AQ)(r.defaultProps.domain,(0,xe.vf)(f,n.filter(function(e){return e.props[o]===v&&!e.props.hide}),"number",l),r.defaultProps.allowDataOverflow),g=Xe(u,g,v,i)),ht(ht({},e),{},pt({},v,ht(ht({axisType:i},r.defaultProps),{},{hide:!0,orientation:p()(Ot,"".concat(i,".").concat(m%2),null),domain:g,originalDomain:r.defaultProps.domain,isCategorical:h,layout:l}))))},{})}(e,{Axis:i,graphicalItems:o,axisType:r,axisIdKey:u,stackGroups:a,dataStartIndex:s,dataEndIndex:c})),d}(n,ht(ht({},t),{},{graphicalItems:g,stackGroups:t.axisType===h&&b,dataStartIndex:r,dataEndIndex:i}))))},{}),x=function(e,t){var n=e.props,r=e.graphicalItems,i=e.xAxisMap,o=void 0===i?{}
2:i,a=e.yAxisMap,s=void 0===a?{}:a,c=n.width,l=n.height,u=n.children,f=n.margin||{},d=(0,ie.BU)(u,je.displayName),h=(0,ie.BU)(u,P.s.displayName),m=Object.keys(s).reduce(function(e,t){var n=s[t],r=n.orientation;return n.mirror||n.hide?e:ht(ht({},e),{},pt({},r,e[r]+n.width))},{left:f.left||0,right:f.right||0}),y=Object.keys(o).reduce(function(e,t){var n=o[t],r=n.orientation;return n.mirror||n.hide?e:ht(ht({},e),{},pt({},r,p()(e,"".concat(r))+n.height))},{top:f.top||0,bottom:f.bottom||0}),g=ht(ht({},y),m),v=g.bottom;return d&&(g.bottom+=d.props.height||je.defaultProps.height),h&&t&&(g=(0,xe.s0)(g,r,n,t)),ht(ht({brushBottom:v},g),{},{width:c-g.left-g.right,height:l-g.top-g.bottom})}(ht(ht({},w),{},{props:n,graphicalItems:g}),null==t?void 0:t.legendBBox);Object.keys(w).forEach(function(e){w[e]=Ct(n,w[e],x,e.replace("Map",""),vt)});var S,k,E,_=(S=w["".concat(m,"Map")],k=(0,M.lX)(S),{tooltipTicks:E=(0,xe.Rh)(k,!1,!0),orderedTooltipTicks:d()(E,function(e){return e.coordinate}),tooltipAxis:k,tooltipAxisBandSize:(0,xe.Hj)(k,E)}),C=Tt(n,ht(ht({},w),{},{dataStartIndex:r,dataEndIndex:i,updateId:o,graphicalItems:g,stackGroups:b,offset:x}));return ht(ht({formattedGraphicalItems:C,graphicalItems:g,offset:x,stackGroups:b},_),w)},gt=yt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&at(e,t)}(l,e);var t,n,r,o,s=(r=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=ct(r);if(o){var n=ct(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==tt(t)&&"function"!=typeof t?st(e):t}(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=s.call(this,e)).uniqueChartId=void 0,t.clipPathId=void 0,t.legendInstance=void 0,t.deferId=void 0,t.container=void 0,t.clearDeferId=function(){!v()(t.deferId)&&Dt&&Dt(t.deferId),t.deferId=null},t.handleLegendBBoxUpdate=function(e){if(e){var n=t.state,r=n.dataStartIndex,i=n.dataEndIndex,o=n.updateId;t.setState(ht({legendBBox:e},Pt({props:t.props,dataStartIndex:r,dataEndIndex:i,updateId:o},ht(ht({},t.state),{},{legendBBox:e}))))}},t.handleReceiveSyncEvent=function(e,n,r){t.props.syncId===e&&n!==t.uniqueChartId&&(t.clearDeferId(),t.deferId=Rt&&Rt(t.applySyncEvent.bind(st(t),r)))},t.handleBrushChange=function(e){var n=e.startIndex,r=e.endIndex;if(n!==t.state.dataStartIndex||r!==t.state.dataEndIndex){var i=t.state.updateId;t.setState(function(){return ht({dataStartIndex:n,dataEndIndex:r},Pt({props:t.props,dataStartIndex:n,dataEndIndex:r,updateId:i},t.state))}),t.triggerSyncEvent({dataStartIndex:n,dataEndIndex:r})}},t.handleMouseEnter=function(e){var n=t.props.onMouseEnter,r=t.getMouseInfo(e);if(r){var i=ht(ht({},r),{},{isTooltipActive:!0});t.setState(i),t.triggerSyncEvent(i),c()(n)&&n(i,e)}},t.triggeredAfterMouseMove=function(e){var n=t.props.onMouseMove,r=t.getMouseInfo(e),i=r?ht(ht({},r),{},{isTooltipActive:!0}):{isTooltipActive:!1};t.setState(i),t.triggerSyncEvent(i),c()(n)&&n(i,e)},t.handleItemMouseEnter=function(e){t.setState(function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}})},t.handleItemMouseLeave=function(){t.setState(function(){return{isTooltipActive:!1}})},t.handleMouseMove=function(e){e&&c()(e.persist)&&e.persist(),t.triggeredAfterMouseMove(e)},t.handleMouseLeave=function(e){var n=t.props.onMouseLeave,r={isTooltipActive:!1};t.setState(r),t.triggerSyncEvent(r),c()(n)&&n(r,e),t.cancelThrottledTriggerAfterMouseMove()},t.handleOuterEvent=function(e){var n=(0,ie.X_)(e),r=p()(t.props,"".concat(n));n&&c()(r)&&r(/.*touch.*/i.test(n)?t.getMouseInfo(e.changedTouches[0]):t.getMouseInfo(e),e)},t.handleClick=function(e){var n=t.props.onClick,r=t.getMouseInfo(e);if(r){var i=ht(ht({},r),{},{isTooltipActive:!0});t.setState(i),t.triggerSyncEvent(i),c()(n)&&n(i,e)}},t.handleMouseDown=function(e){var n=t.props.onMouseDown;c()(n)&&n(t.getMouseInfo(e),e)},t.handleMouseUp=function(e){var n=t.props.onMouseUp;c()(n)&&n(t.getMouseInfo(e),e)},t.handleTouchMove=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleMouseMove(e.changedTouches[0])},t.handleTouchStart=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleMouseDown(e.changedTouches[0])},t.handleTouchEnd=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleMouseUp(e.changedTouches[0])},t.verticalCoordinatesGenerator=function(e){var t=e.xAxis,n=e.width,r=e.height,i=e.offset;return(0,xe.PW)(be.getTicks(ht(ht(ht({},be.defaultProps),t),{}
2,{ticks:(0,xe.Rh)(t,!0),viewBox:{x:0,y:0,width:n,height:r}})),i.left,i.left+i.width)},t.horizontalCoordinatesGenerator=function(e){var t=e.yAxis,n=e.width,r=e.height,i=e.offset;return(0,xe.PW)(be.getTicks(ht(ht(ht({},be.defaultProps),t),{},{ticks:(0,xe.Rh)(t,!0),viewBox:{x:0,y:0,width:n,height:r}})),i.top,i.top+i.height)},t.axesTicksGenerator=function(e){return(0,xe.Rh)(e,!0)},t.renderCursor=function(e){var n=t.state,r=n.isTooltipActive,i=n.activeCoordinate,o=n.activePayload,a=n.offset,s=n.activeTooltipIndex,c=t.getTooltipEventType();if(!e||!e.props.cursor||!r||!i||"ScatterChart"!==vt&&"axis"!==c)return null;var l,u=t.props.layout,f=O.I;if("ScatterChart"===vt)l=i,f=L;else if("BarChart"===vt)l=t.getCursorRectangle(),f=re;else if("radial"===u){var d=t.getCursorPoints(),h=d.cx,p=d.cy,m=d.radius;l={cx:h,cy:p,startAngle:d.startAngle,endAngle:d.endAngle,innerRadius:m,outerRadius:m},f=G}else l={points:t.getCursorPoints()},f=O.I;var y=e.key||"_recharts-cursor",g=ht(ht(ht(ht({stroke:"#ccc",pointerEvents:"none"},a),l),(0,I.J9)(e.props.cursor)),{},{payload:o,payloadIndex:s,key:y,className:"recharts-tooltip-cursor"});return(0,k.isValidElement)(e.props.cursor)?(0,k.cloneElement)(e.props.cursor,g):(0,k.createElement)(f,g)},t.renderPolarAxis=function(e,n,r){var i=p()(e,"type.axisType"),o=p()(t.state,"".concat(i,"Map"))[e.props["".concat(i,"Id")]];return(0,k.cloneElement)(e,ht(ht({},o),{},{className:i,key:e.key||"".concat(n,"-").concat(r),ticks:(0,xe.Rh)(o,!0)}))},t.renderXAxis=function(e,n,r){var i=t.state.xAxisMap[e.props.xAxisId];return t.renderAxis(i,e,n,r)},t.renderYAxis=function(e,n,r){var i=t.state.yAxisMap[e.props.yAxisId];return t.renderAxis(i,e,n,r)},t.renderGrid=function(e){var n=t.state,r=n.xAxisMap,o=n.yAxisMap,s=n.offset,c=t.props,l=c.width,u=c.height,f=(0,M.lX)(r),d=a()(o,function(e){return i()(e.domain,It)})||(0,M.lX)(o),h=e.props||{};return(0,k.cloneElement)(e,{key:e.key||"grid",x:(0,M.Et)(h.x)?h.x:s.left,y:(0,M.Et)(h.y)?h.y:s.top,width:(0,M.Et)(h.width)?h.width:s.width,height:(0,M.Et)(h.height)?h.height:s.height,xAxis:f,yAxis:d,offset:s,chartWidth:l,chartHeight:u,verticalCoordinatesGenerator:h.verticalCoordinatesGenerator||t.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:h.horizontalCoordinatesGenerator||t.horizontalCoordinatesGenerator})},t.renderPolarGrid=function(e){var n=e.props,r=n.radialLines,i=n.polarAngles,o=n.polarRadius,a=t.state,s=a.radiusAxisMap,c=a.angleAxisMap,l=(0,M.lX)(s),u=(0,M.lX)(c),f=u.cx,d=u.cy,h=u.innerRadius,p=u.outerRadius;return(0,k.cloneElement)(e,{polarAngles:S()(i)?i:(0,xe.Rh)(u,!0).map(function(e){return e.coordinate}),polarRadius:S()(o)?o:(0,xe.Rh)(l,!0).map(function(e){return e.coordinate}),cx:f,cy:d,innerRadius:h,outerRadius:p,key:e.key||"polar-grid",radialLines:r})},t.renderLegend=function(){var e=t.state.formattedGraphicalItems,n=t.props,r=n.children,i=n.width,o=n.height,a=t.props.margin||{},s=i-(a.left||0)-(a.right||0),c=(0,xe.g1)({children:r,formattedGraphicalItems:e,legendWidth:s,legendContent:_t});if(!c)return null;var l=c.item,u=it(c,["item"]);return(0,k.cloneElement)(l,ht(ht({},u),{},{chartWidth:i,chartHeight:o,margin:a,ref:function(e){t.legendInstance=e},onBBoxUpdate:t.handleLegendBBoxUpdate}))},t.renderTooltip=function(){var e=t.props.children,n=(0,ie.BU)(e,T.m.displayName);if(!n)return null;var r=t.state,i=r.isTooltipActive,o=r.activeCoordinate,a=r.activePayload,s=r.activeLabel,c=r.offset;return(0,k.cloneElement)(n,{viewBox:ht(ht({},c),{},{x:c.left,y:c.top}),active:i,label:s,payload:i?a:[],coordinate:o})},t.renderBrush=function(e){var n=t.props,r=n.margin,i=n.data,o=t.state,a=o.offset,s=o.dataStartIndex,c=o.dataEndIndex,l=o.updateId;return(0,k.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:(0,xe.HQ)(t.handleBrushChange,null,e.props.onChange),data:i,x:(0,M.Et)(e.props.x)?e.props.x:a.left,y:(0,M.Et)(e.props.y)?e.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:(0,M.Et)(e.props.width)?e.props.width:a.width,startIndex:s,endIndex:c,updateId:"brush-".concat(l)})},t.renderReferenceElement=function(e,n,r){if(!e)return null;var i=st(t).clipPathId,o=t.state,a=o.xAxisMap,s=o.yAxisMap,c=o.offset,l=e.props,u=l.xAxisId,f=l.yAxisId;return(0,k.cloneElement)(e,{key:e.key||"".concat(n,"-").concat(r),xAxis:a[u],yAxis:s[f],viewBox:{x:c.left,y:c.top,width:c.width,height:c.height},clipPathId:i})},t.renderActivePoints=function(e){var t=e.item,n=e.activePoint,r=e.basePoint,i=e.childIndex,o=e.isRange,a=[],s=t.props.key,c=t.item.props,u=c.activeDot,f=ht(ht({index:i,dataKey:c.dataKey,cx:n.x,cy:n.y,r:4,fill:(0,xe.Ps)(t.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value,key:"".concat(s,"-activePoint-").concat(i)},(0,I.J9)(u)),(0,I._U)(u));return a.push(l.renderActiveDot(u,f)),r?a.push(l.renderActiveDot(u,ht(ht({},f),{},{cx:r.x,cy:r.y,key:"".concat(s,"-basePoint-").concat(i)}))):o&&a.push(null),a},t.renderGraphicChild=function(e,n,r){var i=t.filterFormatItem(e,n,r);if(!i)return null;var o=t.getTooltipEventType(),a=t.state,s=a.isTooltipActive,c=a.tooltipAxis,l=a.activeTooltipIndex,u=a.activeLabel,f=t.props.children,d=(0,ie.BU)(f,T.m.displayName),h=i.props,p=h.points,m=h.isRange,y=h.baseLine,g=i.item.props,b=g.activeDot,
2w=!g.hide&&s&&d&&b&&l>=0,x={};"axis"!==o&&d&&"click"===d.props.trigger?x={onClick:(0,xe.HQ)(t.handleItemMouseEnter,null,e.props.onCLick)}:"axis"!==o&&(x={onMouseLeave:(0,xe.HQ)(t.handleItemMouseLeave,null,e.props.onMouseLeave),onMouseEnter:(0,xe.HQ)(t.handleItemMouseEnter,null,e.props.onMouseEnter)});var S=(0,k.cloneElement)(e,ht(ht({},i.props),x));if(w){var E,_;if(c.dataKey&&!c.allowDuplicatedCategory){var C="function"==typeof c.dataKey?function(e){return"function"==typeof c.dataKey?c.dataKey(e.payload):null}:"payload.".concat(c.dataKey.toString());E=(0,M.eP)(p,C,u),_=m&&y&&(0,M.eP)(y,C,u)}else E=p[l],_=m&&y&&y[l];if(!v()(E))return[S].concat(lt(t.renderActivePoints({item:i,activePoint:E,basePoint:_,childIndex:l,isRange:m})))}return m?[S,null,null]:[S,null]},t.renderCustomized=function(e,n,r){return(0,k.cloneElement)(e,ht(ht({key:"recharts-customized-".concat(r)},t.props),t.state))},t.uniqueChartId=v()(e.id)?(0,M.NF)("recharts"):e.id,t.clipPathId="".concat(t.uniqueChartId,"-clip"),e.throttleDelay&&(t.triggeredAfterMouseMove=u()(t.triggeredAfterMouseMove,e.throttleDelay)),t.state={},t}return t=l,(n=[{key:"componentDidMount",value:function(){v()(this.props.syncId)||this.addListener()}},{key:"componentDidUpdate",value:function(e){v()(e.syncId)&&!v()(this.props.syncId)&&this.addListener(),!v()(e.syncId)&&v()(this.props.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){this.clearDeferId(),v()(this.props.syncId)||this.removeListener(),this.cancelThrottledTriggerAfterMouseMove()}},{key:"cancelThrottledTriggerAfterMouseMove",value:function(){"function"==typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=(0,ie.BU)(this.props.children,T.m.displayName);if(e&&w()(e.props.shared)){var t=e.props.shared?"axis":"item";return kt.indexOf(t)>=0?t:xt}return xt}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t=(0,ae.A3)(this.container),n=(0,ae.Xk)(e,t),r=this.inRange(n.chartX,n.chartY);if(!r)return null;var i=this.state,o=i.xAxisMap,a=i.yAxisMap;if("axis"!==this.getTooltipEventType()&&o&&a){var s=(0,M.lX)(o).scale,c=(0,M.lX)(a).scale,l=s&&s.invert?s.invert(n.chartX):null,u=c&&c.invert?c.invert(n.chartY):null;return ht(ht({},n),{},{xValue:l,yValue:u})}var f=Ft(this.state,this.props.data,this.props.layout,r);return f?ht(ht({},n),f):null}},{key:"getCursorRectangle",value:function(){var e=this.props.layout,t=this.state,n=t.activeCoordinate,r=t.offset,i=t.tooltipAxisBandSize,o=i/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?n.x-o:r.left+.5,y:"horizontal"===e?r.top+.5:n.y-o,width:"horizontal"===e?i:r.width-1,height:"horizontal"===e?r.height-1:i}}},{key:"getCursorPoints",value:function(){var e,t,n,r,i=this.props.layout,o=this.state,a=o.activeCoordinate,s=o.offset;if("horizontal"===i)n=e=a.x,t=s.top,r=s.top+s.height;else if("vertical"===i)r=t=a.y,e=s.left,n=s.left+s.width;else if(!v()(a.cx)||!v()(a.cy)){if("centric"!==i){var c=a.cx,l=a.cy,u=a.radius,f=a.startAngle,d=a.endAngle;return{points:[(0,B.IZ)(c,l,u,f),(0,B.IZ)(c,l,u,d)],cx:c,cy:l,radius:u,startAngle:f,endAngle:d}}var h=a.cx,p=a.cy,m=a.innerRadius,y=a.outerRadius,g=a.angle,b=(0,B.IZ)(h,p,m,g),w=(0,B.IZ)(h,p,y,g);e=b.x,t=b.y,n=w.x,r=w.y}return[{x:e,y:t},{x:n,y:r}]}},{key:"inRange",value:function(e,t){var n=this.props.layout;if("horizontal"===n||"vertical"===n){var r=this.state.offset;return e>=r.left&&e<=r.left+r.width&&t>=r.top&&t<=r.top+r.height?{x:e,y:t}:null}var i=this.state,o=i.angleAxisMap,a=i.radiusAxisMap;if(o&&a){var s=(0,M.lX)(o);return(0,B.yy)({x:e,y:t},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),n=(0,ie.BU)(e,T.m.displayName),r={};return n&&"axis"===t&&(r="click"===n.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),ht(ht({},(0,I._U)(this.props,this.handleOuterEvent)),r)}},{key:"addListener",value:function(){Ze.on(et,this.handleReceiveSyncEvent),Ze.setMaxListeners&&Ze._maxListeners&&Ze.setMaxListeners(Ze._maxListeners+1)}},{key:"removeListener",value:function(){Ze.removeListener(et,this.handleReceiveSyncEvent),Ze.setMaxListeners&&Ze._maxListeners&&Ze.setMaxListeners(Ze._maxListeners-1)}},{key:"triggerSyncEvent",value:function(e){var t=this.props.syncId;v()(t)||Ze.emit(et,t,this.uniqueChartId,e)}},{key:"applySyncEvent",value:function(e){var t=this.props,n=t.layout,r=t.syncMethod,i=this.state.updateId,o=e.dataStartIndex,a=e.dataEndIndex;if(v()(e.dataStartIndex)&&v()(e.dataEndIndex))if(v()(e.activeTooltipIndex))this.setState(e);else{var s=e.chartX,c=e.chartY,l=e.activeTooltipIndex,u=this.state,f=u.offset,d=u.tooltipTicks;if(!f)return;if("function"==typeof r)l=r(d,e);else if("value"===r){l=-1;for(var h=0;h<d.length;h++)if(d[h].value===e.activeLabel){l=h;break}}var p=ht(ht({},f),{},{x:f.left,y:f.top}),m=Math.min(s,p.x+p.width),y=Math.min(c,p.y+p.height),g=d[l]&&d[l].value,b=jt(this.state,this.props.data,l),w=d[l]?{x:"horizontal"===n?d[l].coordinate:m,y:"horizontal"===n?y:d[l].coordinate}:Mt;this.setState(ht(ht({},e),{},{activeLabel:g,activeCoordinate:w,activePayload:b,activeTooltipIndex:l}))}else this.setState(ht({dataStartIndex:o,dataEndIndex:a},Pt({props:this.props,dataStartIndex:o,dataEndIndex:a,updateId:i},this.state)))}},{key:"filterFormatItem",value:function(e,t,n){for(var r=this.state.formattedGraphicalItems,i=0,o=r.length;i<o;i++){var a=r[i];if(a.item===e||a.props.key===e.key||t===(0,ie.Mn)(a.item.type)&&n===a.childIndex)return a}return null}},{key:"renderAxis",value:function(e,t,n,r){var i=this.props,o=i.width,a=i.height;return k.createElement(be,rt({},e,{className:"recharts-".concat(e.axisType," ").concat(e.axisType),key:t.key||"".concat(n,"-").concat(r),viewBox:{x:0,y:0,width:o,height:a},ticksGenerator:this.axesTicksGenerator}))}},{key:"renderClipPath",value:function(){var e=this.clipPathId,t=this.state.offset,n=t.left,r=t.top,i=t.height,o=t.width;return k.createElement("defs",null,k.createElement("clipPath",{id:e},k.createElement("rect",{x:n,y:r,height:i,width:o})))}},{key:"getXScales",value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce(function(e,t){var n=nt(t,2),r=n[0],i=n[1];return ht(ht({},e),{},pt({},r,i.scale))},{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce(function(e,t){var n=nt(t,2),r=n[0],i=n[1];return ht(ht({},e),{},pt({},r,i.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(e){var t,n;return null===(t=this.state.xAxisMap)||void 0===t||null===(n=t[e])||void 0===n?void 0:n.scale}},{key:"getYScaleByAxisId",value:function(e){var t,n;return null===(t=this.state.yAxisMap)||void 0===t||null===(n=t[e])||void 0===n?void 0:n.scale}},{key:"getItemByXY",value:function(e){var t=this.state.formattedGraphicalItems;if(t&&t.length)for(var n=0,r=t.length;n<r;n++){var i=t[n],o=i.props,a=i.item,s=(0,ie.Mn)(a.type);if("Bar"===s){var c=(o.data||[]).find(function(t){return ne(e,t)});if(c)return{graphicalItem:i,payload:c}}else if("RadialBar"===s){var l=(o.data||[]).find(function(t){return(0,B.yy)(e,t)});if(l)return{graphicalItem:i,payload:l}}}return null}},{key:"render",value:function(){var e=this;if(!(0,ie.Me)(this))return null;var t=this.props,n=t.children,r=t.className,i=t.width,o=t.height,a=t.style,s=t.compact,c=t.title,l=t.desc,u=it(t,["children","className","width","height","style","compact","title","desc"]),f=(0,I.J9)(u),d={CartesianGrid:{handler:this.renderGrid,once:!0},ReferenceArea:{handler:this.renderReferenceElement},ReferenceLine:{handler:this.renderReferenceElement},ReferenceDot:{handler:this.renderReferenceElement},XAxis:{handler:this.renderXAxis},YAxis:{handler:this.renderYAxis},Brush:{handler:this.renderBrush,once:!0},Bar:{handler:this.renderGraphicChild},Line:{handler:this.renderGraphicChild},Area:{handler:this.renderGraphicChild},Radar:{handler:this.renderGraphicChild},RadialBar:{handler:this.renderGraphicChild},Scatter:{handler:this.renderGraphicChild},Pie:{handler:this.renderGraphicChild},Funnel:{handler:this.renderGraphicChild},Tooltip:{handler:this.renderCursor,once:!0},PolarGrid:{handler:this.renderPolarGrid,once:!0},PolarAngleAxis:{handler:this.renderPolarAxis},PolarRadiusAxis:{handler:this.renderPolarAxis},Customized:{handler:this.renderCustomized}};if(s)return k.createElement(C.u,rt({},f,{width:i,height:o,title:c,desc:l}),this.renderClipPath(),(0,ie.ee)(n,d));var h=this.parseEventsOfWrapper();return k.createElement("div",rt({className:_()("recharts-wrapper",r),style:ht({position:"relative",curs
2or:"default",width:i,height:o},a)},h,{ref:function(t){e.container=t}}),k.createElement(C.u,rt({},f,{width:i,height:o,title:c,desc:l}),this.renderClipPath(),(0,ie.ee)(n,d)),this.renderLegend(),this.renderTooltip())}}])&&ot(t.prototype,n),l}(k.Component),yt.displayName=vt,yt.defaultProps=ht({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},At),yt.getDerivedStateFromProps=function(e,t){var n=e.data,r=e.children,i=e.width,o=e.height,a=e.layout,s=e.stackOffset,c=e.margin;if(v()(t.updateId)){var l=Lt(e);return ht(ht(ht({},l),{},{updateId:0},Pt(ht(ht({props:e},l),{},{updateId:0}),t)),{},{prevData:n,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:s,prevMargin:c,prevChildren:r})}if(n!==t.prevData||i!==t.prevWidth||o!==t.prevHeight||a!==t.prevLayout||s!==t.prevStackOffset||!(0,oe.b)(c,t.prevMargin)){var u=Lt(e),f={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},d=ht(ht({},Ft(t,n,a)),{},{updateId:t.updateId+1}),h=ht(ht(ht({},u),f),d);return ht(ht(ht({},h),Pt(ht({props:e},h),t)),{},{prevData:n,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:s,prevMargin:c,prevChildren:r})}if(!(0,ie.OV)(r,t.prevChildren)){var p=v()(n)?t.updateId+1:t.updateId;return ht(ht({updateId:p},Pt(ht(ht({props:e},t),{},{updateId:p}),t)),{},{prevChildren:r})}return null},yt.renderActiveDot=function(e,t){var n;return n=(0,k.isValidElement)(e)?(0,k.cloneElement)(e,t):c()(e)?e(t):k.createElement(K.c,t),k.createElement(A.W,{className:"recharts-active-dot",key:t.key},n)},gt)},91706(e,t,n){"use strict";n.d(t,{J:()=>S});var r=n(3073),i=n.n(r),o=n(37414),a=n.n(o),s=n(34743),c=n.n(s),l=n(96540),u=n(32485),f=n.n(u),d=n(20261),h=n(94501),p=n(59744),m=n(14040),y=n(98940);function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach(function(t){w(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(){return x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},x.apply(this,arguments)}function S(e){var t,n=e.viewBox,r=e.position,o=e.value,s=e.children,u=e.content,h=e.className,g=void 0===h?"":h,v=e.textBreakAll;if(!n||c()(o)&&c()(s)&&!(0,l.isValidElement)(u)&&!a()(u))return null;if((0,l.isValidElement)(u))return(0,l.cloneElement)(u,e);if(a()(u)){if(t=(0,l.createElement)(u,e),(0,l.isValidElement)(t))return t}else t=function(e){var t=e.value,n=e.formatter,r=c()(e.children)?t:e.children;return a()(n)?n(r):r}(e);var w=function(e){return(0,p.Et)(e.cx)}(n),S=(0,y.J9)(e,!0);if(w&&("insideStart"===r||"insideEnd"===r||"end"===r))return function(e,t,n){var r,i,o=e.position,a=e.viewBox,s=e.offset,u=e.className,d=a,h=d.cx,y=d.cy,g=d.innerRadius,v=d.outerRadius,b=d.startAngle,w=d.endAngle,S=d.clockWise,k=(g+v)/2,E=function(e,t){return(0,p.sA)(t-e)*Math.min(Math.abs(t-e),360)}(b,w),_=E>=0?1:-1;"insideStart"===o?(r=b+_*s,i=S):"insideEnd"===o?(r=w-_*s,i=!S):"end"===o&&(r=w+_*s,i=S),i=E<=0?i:!i;var C=(0,m.IZ)(h,y,k,r),A=(0,m.IZ)(h,y,k,r+359*(i?1:-1)),T="M".concat(C.x,",").concat(C.y,"\n A").concat(k,",").concat(k,",0,1,").concat(i?0:1,",\n ").concat(A.x,",").concat(A.y),P=c()(e.id)?(0,p.NF)("recharts-radial-line-"):e.id;return l.createElement("text",x({},n,{dominantBaseline:"central",className:f()("recharts-radial-bar-label",u)}),l.createElement("defs",null,l.createElement("path",{id:P,d:T})),l.createElement("textPath",{xlinkHref:"#".concat(P)},t))}(e,t,S);var k=w?function(e){var t=e.viewBox,n=e.offset,r=e.position,i=t,o=i.cx,a=i.cy,s=i.innerRadius,c=i.outerRadius,l=(i.startAngle+i.endAngle)/2;if("outside"===r){var u=(0,m.IZ)(o,a,c+n,l),f=u.x;return{x:f,y:u.y,textAnchor:f>=o?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"end"};var d=(s+c)/2,h=(0,m.IZ)(o,a,d,l);return{x:h.x,y:h.y,textAnchor:"middle",verticalAnchor:"middle"}}(e):function(e){var t=e.viewBox,n=e.parentViewBox,r=e.offset,o=e.position,a=t,s=a.x,c=a.y,l=a.width,u=a.height,f=u>=0?1:-1,d=f*r,h=f>0?"end":"start",m=f>0?"start":"end",y=l>=0?1:-1,g=y*r,v=y>0?"end":"start",w=y>0?"start":"end";if("top"===o)return b(b({},{x:s+l/2,y:c-f*r,textAnchor:"middle",verticalAnchor:h}),n?{height:Math.max(c-n.y,0),width:l}:{});if("bottom"===o)return b(b({},{x:s+l/2,y:c+u+d,textAnchor:"middle",verticalAnchor:m}),n?{height:Math.max(n.y+n.height-(c+u),0),width:l}:{});if("left"===o){var x={x:s-g,y:c+u/2,textAnchor:v,verticalAnchor:"middle"};return b(b({},x),n?{width:Math.max(x.x-n.x,0),height:u}:{})}if("right"===o){var S={x:s+l+g,y:c+u/2,textAnchor:w,verticalAnchor:"middle"};return b(b({},S),n?{width:Math.max(n.x+n.width-S.x,0),height:u}:{})}var k=n?{width:l,height:u}:{};return"insideLeft"===o?b({x:s+g,y:c+u/2,textAnchor:w,verticalAnchor:"middle"},k):"insideRight"===o?b({x:s+l-g,y:c+u/2,textAnchor:v,verticalAnchor:"middle"},k):"insideTop"===o?b({x:s+l/2,y:c+d,textAnchor:"middle",verticalAnchor:m},k):"insideBottom"===o?b({x:s+l/2,y:c+u-d,textAnchor:"middle",verticalAnchor:h},k):"insideTopLeft"===o?b({x:s+g,y:c+d,textAnchor:w,verticalAnchor:m},k):"insideTopRight"===o?b({x:s+l-g,y:c+d,textAnchor:v,verticalAnchor:m},k):"insideBottomLeft"===o?b({x:s+g,y:c+u-d,textAnchor:w,verticalAnchor:h},k):"insideBottomRight"===o?b({x:s+l-g,y:c+u-d,textAnchor:v,verticalAnchor:h},k):i()(o)&&((0,p.Et)(o.x)||(0,p._3)(o.x))&&((0,p.Et)(o.y)||(0,p._3)(o.y))?b({x:s+(0,p.F4)(o.x,l),y:c+(0,p.F4)(o.y,u),textAnchor:"end",verticalAnchor:"end"},k):b({x:s+l/2,y:c+u/2,textAnchor:"middle",verticalAnchor:"middle"},k)}(e);return l.createElement(d.E,x({className:f()("recharts-label",g)},S,k,{breakAll:v}),t)}S.displayName="Label",S.defaultProps={offset:5};var k=function(e){var t=e.cx,n=e.cy,r=e.angle,i=e.startAngle,o=e.endAngle,a=e.r,s=e.radius,c=e.innerRadius,l=e.outerRadius,u=e.x,f=e.y,d=e.top,h=e.left,m=e.width,y=e.height,g=e.clockWise,v=e.labelViewBox;if(v)return v;if((0,p.Et)(m)&&(0,p.Et)(y)){if((0,p.Et)(u)&&(0,p.Et)(f))return{x:u,y:f,width:m,height:y};if((0,p.Et)(d)&&(0,p.Et)(h))return{x:d,y:h,width:m,height:y}}return(0,p.Et)(u)&&(0,p.Et)(f)?{x:u,y:f,width:0,height:0}:(0,p.Et)(t)&&(0,p.Et)(n)?{cx:t,cy:n,startAngle:i||r||0,endAngle:o||r||0,innerRadius:c||0,outerRadius:l||s||a||0,clockWise:g}:e.viewBox?e.viewBox:{}};S.parseViewBox=k,S.renderCallByParent=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&n&&!e.label)return null;var r=e.children,o=k(e),s=(0,h.aS)(r,S.displayName).map(function(e,n){return(0,l.cloneElement)(e,{viewBox:t||o,key:"label-".concat(n)})});if(!n)return s;var c,u=function(e,t){return e?!0===e?l.createElement(S,{key:"label-implicit",viewBox:t}):(0,p.vh)(e)?l.createElement(S,{key:"label-implicit",viewBox:t,value:e}):(0,l.isValidElement)(e)?e.type===S?(0,l.cloneElement)(e,{key:"label-implicit",viewBox:t}):l.createElement(S,{key:"label-implicit",content:e,viewBox:t}):a()(e)?l.createElement(S,{key:"label-implicit",content:e,viewBox:t}):i()(e)?l.createElement(S,x({viewBox:t},e,{key:"label-implicit"})):null:null}(e.label,t||o);return[u].concat(function(e){if(Array.isArray(e))return g(e)}(c=s)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(c)||function(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}(c)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}}
2,6580(e,t,n){"use strict";n.d(t,{s:()=>le});var r=n(37414),i=n.n(r),o=n(47194),a=n.n(o),s=n(96540),c=n(32485),l=n.n(c),u=n(49303),f=n(27372),d=n.n(f),h=(Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt,Math.PI),p=2*h;const m={draw:function(e,t){var n=Math.sqrt(t/h);e.moveTo(n,0),e.arc(0,0,n,0,p)}},y={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}};var g=Math.sqrt(1/3),v=2*g;const b={draw:function(e,t){var n=Math.sqrt(t/v),r=n*g;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},w={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}};var x=Math.sin(h/10)/Math.sin(7*h/10),S=Math.sin(p/10)*x,k=-Math.cos(p/10)*x;const E={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=S*n,i=k*n;e.moveTo(0,-n),e.lineTo(r,i);for(var o=1;o<5;++o){var a=p*o/5,s=Math.cos(a),c=Math.sin(a);e.lineTo(c*n,-s*n),e.lineTo(s*r-c*i,c*r+s*i)}e.closePath()}};var _=Math.sqrt(3);const C={draw:function(e,t){var n=-Math.sqrt(t/(3*_));e.moveTo(0,2*n),e.lineTo(-_*n,-n),e.lineTo(_*n,-n),e.closePath()}};var A=-.5,T=Math.sqrt(3)/2,P=1/Math.sqrt(12),O=3*(P/2+1);const M={draw:function(e,t){var n=Math.sqrt(t/O),r=n/2,i=n*P,o=r,a=n*P+n,s=-o,c=a;e.moveTo(r,i),e.lineTo(o,a),e.lineTo(s,c),e.lineTo(A*r-T*i,T*r+A*i),e.lineTo(A*o-T*a,T*o+A*a),e.lineTo(A*s-T*c,T*s+A*c),e.lineTo(A*r+T*i,A*i-T*r),e.lineTo(A*o+T*a,A*a-T*o),e.lineTo(A*s+T*c,A*c-T*s),e.closePath()}};var I=n(69450),R=n(84653);function D(e,t){var n=null;function r(){var r;if(n||(n=r=(0,I.A)()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return e="function"==typeof e?e:(0,R.A)(e||m),t="function"==typeof t?t:(0,R.A)(void 0===t?64:+t),r.type=function(t){return arguments.length?(e="function"==typeof t?t:(0,R.A)(t),r):e},r.size=function(e){return arguments.length?(t="function"==typeof e?e:(0,R.A)(+e),r):t},r.context=function(e){return arguments.length?(n=e??null,r):n},r}n.dn(D);var N=n(98940);function j(e){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}function F(){return F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},F.apply(this,arguments)}function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function B(e,t){return B=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},B(e,t)}function z(e){return z=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},z(e)}var V={symbolCircle:m,symbolCross:y,symbolDiamond:b,symbolSquare:w,symbolStar:E,symbolTriangle:C,symbolWye:M},U=Math.PI/180,$=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=z(r);if(i){var n=z(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==j(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,e)});function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"getPath",value:function(){var e=this.props,t=e.size,n=e.sizeType,r=e.type,i=function(e){var t="symbol".concat(d()(e));return V[t]||m}(r),o=D().type(i).size(function(e,t,n){if("area"===t)return e;switch(n){case"cross":return 5*e*e/9;case"diamond":return.5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var r=18*U;return 1.25*e*e*(Math.tan(r)-Math.tan(2*r)*Math.pow(Math.tan(r),2));case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}}(t,n,r));return o()}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.cx,r=e.cy,i=e.size;return n===+n&&r===+r&&i===+i?s.createElement("path",F({}
2,(0,N.J9)(this.props,!0),{className:l()("recharts-symbols",t),transform:"translate(".concat(n,", ").concat(r,")"),d:this.getPath()})):null}}])&&L(t.prototype,n),a}(s.PureComponent);function H(e){return H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},H(e)}function q(){return q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},q.apply(this,arguments)}function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function K(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Q(e,t){return Q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Q(e,t)}function J(e){return J=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},J(e)}$.defaultProps={type:"circle",size:64,sizeType:"area"},$.registerSymbol=function(e,t){V["symbol".concat(d()(e))]=t};var X=32,Y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=J(r);if(i){var n=J(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==H(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,e)});function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),o.apply(this,arguments)}return t=a,n=[{key:"renderIcon",value:function(e){var t=this.props.inactiveColor,n=16,r=X/6,i=X/3,o=e.inactive?t:e.color;if("plainline"===e.type)return s.createElement("line",{strokeWidth:4,fill:"none",stroke:o,strokeDasharray:e.payload.strokeDasharray,x1:0,y1:n,x2:X,y2:n,className:"recharts-legend-icon"});if("line"===e.type)return s.createElement("path",{strokeWidth:4,fill:"none",stroke:o,d:"M0,".concat(n,"h").concat(i,"\n A").concat(r,",").concat(r,",0,1,1,").concat(2*i,",").concat(n,"\n H").concat(X,"M").concat(2*i,",").concat(n,"\n A").concat(r,",").concat(r,",0,1,1,").concat(i,",").concat(n),className:"recharts-legend-icon"});if("rect"===e.type)return s.createElement("path",{stroke:"none",fill:o,d:"M0,".concat(4,"h").concat(X,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(s.isValidElement(e.legendIcon)){var a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(Object(n),!0).forEach(function(t){G(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e);return delete a.legendIcon,s.cloneElement(e.legendIcon,a)}return s.createElement($,{fill:o,cx:n,cy:n,size:X,sizeType:"diameter",type:e.type})}},{key:"renderItems",value:function(){var e=this,t=this.props,n=t.payload,r=t.iconSize,i=t.layout,o=t.formatter,a=t.inactiveColor,c={x:0,y:0,width:X,height:X},f={display:"horizontal"===i?"inline-block":"block",marginRight:10},d={display:"inline-block",verticalAlign:"middle",marginRight:4};return n.map(function(t,n){var i,h=t.formatter||o,p=l()((G(i={"recharts-legend-item":!0},"legend-item-".concat(n),!0),G(i,"inactive",t.inactive),i));if("none"===t.type)return null;var m=t.inactive?a:t.color;return s.createElement("li",q({className:p,style:f,key:"legend-item-".concat(n)},(0,N.XC)(e.props,t,n)),s.createElement(u.u,{width:r,height:r,viewBox:c,style:d},e.renderIcon(t)),s.createElement("span",{className:"recharts-legend-item-text",style:{color:m}},h?h(t.value,t,n):t.value))})}},{key:"render",value:function(){var e=this.props,t=e.payload,n=e.layout,r=e.align;if(!t||!t.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===n?r:"left"};return s.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}],n&&K(t.prototype,n),a}(s.PureComponent);Y.displayName="Legend",Y.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"};var Z=n(59744);function ee(e){return ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ee(e)}function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?te(Object(n),!0).forEach(function(t){re(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ie(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oe(e,t){return oe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},oe(e,t)}function ae(e){return ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ae(e)}function se(e){return e.value}function ce(e,t){return!0===e?a()(t,se):i()(e)?a()(t,e):t}var le=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oe(e,t)}(l,e);var t,n,r,o,a,c=(o=l,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=ae(o);if(a){var n=ae(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==ee(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,e)});function l(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=c.call.apply(c,[this].concat(n))).wrapperNode=void 0,e.state={boxWidth:-1,boxHeight:-1},e}return t=l,r=[{key:"getWithHeight",value:function(e,t){var n=e.props.layout;return"vertical"===n&&(0,Z.Et)(e.props.height)?{height:e.props.height}:"horizontal"===n?{width:e.props.width||t}:null}}],(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){return this.wrapperNode&&this.wrapperNode.getBoundingClientRect?this.wrapperNode.getBoundingClientRect():null}},{key:"getBBoxSnapshot",value:function(){var e=this.state,t=e.boxWidth,n=e.boxHeight;return t>=0&&n>=0?{width:t,height:n}:null}},{key:"getDefaultPosition",value:function(e){var t,n,r=this.props,i=r.layout,o=r.align,a=r.verticalAlign,s=r.margin,c=r.chartWidth,l=r.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===o&&"vertical"===i?{left:((c||0)-(this.getBBoxSnapshot()||{width:0}).width)/2}:"right"===o?{right:s&&s.right||0}:{left:s&&s.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(n="middle"===a?{top:((l||0)-(this.getBBoxSnapshot()||{height:0}).height)/2}:"bottom"===a?{bottom:s&&s.bottom||0}:{top:s&&s.top||0}),ne(ne({},t),n)}},{key:"updateBBox",value:function(){var e=this.state,t=e.boxWidth,n=e.boxHeight,r=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var i=this.wrapperNode.getBoundingClientRect();(Math.abs(i.width-t)>1||Math.abs(i.height-n)>1)&&this.setState({boxWidth:i.width,boxHeight:i.height},function(){r&&r(i)})}else-1===t&&-1===n||this.setState({boxWidth:-1,boxHeight:-1},function(){r&&r(null)})}},{key:"render",value:function(){var e=this,t=this.props,n=t.content,r=t.width,o=t.height,a=t.wrapperStyle,c=t.payloadUniqBy,l=t.payload,u=ne(ne({position:"absolute",width:r||"auto",height:o||"auto"},this.getDefaultPosition(a)),a);return s.createElement("div",{className:"recharts-legend-wrapper",style:u,ref:function(t){e.wrapperNode=t}},function(e,t){if(s.isValidElement(e))return s.cloneElement(e,t);if(i()(e))return s.createElement(e,t);t.ref;var n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,["ref"]);return s.createElement(Y,n)}(n,ne(ne({},this.props),{},{payload:ce(c,l)})))}}])&&ie(t.prototype,n),r&&ie(t,r),l}(s.PureComponent);le.displayName="Legend",le.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"}},79521(e,t,n){"use strict";n.d(t,{u:()=>Y});var r=n(94409),i=n.n(r),o=n(32485),a=n.n(o),s=n(96540),c=n(40961),l=function(e,t){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},l(e,t)};var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},f=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},d="object"==typeof u&&u&&u.Object===Object&&u,h="object"==typeof self&&self&&self.Object===Object&&self,p=d||h||Function("return this")(),m=p,y=/\s/,g=/^\s+/,v=p.Symbol,b=v,w=Object.prototype,x=w.hasOwnProperty,S=w.toString,k=b?b.toStringTag:void 0,E=Object.prototype.toString,_=function(e){var t=x.call(e,k),n=e[k];try{e[k]=void 0;var r=!0}catch(e){}var i=S.call(e);return r&&(t?e[k]=n:delete e[k]),i},C=v?v.toStringTag:void 0,A=function(e){return null==e?void 0===e?"[object Undef
2ined]":"[object Null]":C&&C in Object(e)?_(e):function(e){return E.call(e)}(e)},T=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&y.test(e.charAt(t)););return t}(e)+1).replace(g,""):e},P=f,O=/^[-+]0x[0-9a-f]+$/i,M=/^0b[01]+$/i,I=/^0o[0-7]+$/i,R=parseInt,D=f,N=function(){return m.Date.now()},j=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Symbol]"==A(e)}(e))return NaN;if(P(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=P(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=T(e);var n=M.test(e);return n||I.test(e)?R(e.slice(2),n?2:8):O.test(e)?NaN:+e},F=Math.max,L=Math.min,B=function(e,t,n){var r,i,o,a,s,c,l=0,u=!1,f=!1,d=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(t){var n=r,o=i;return r=i=void 0,l=t,a=e.apply(o,n)}function p(e){var n=e-c;return void 0===c||n>=t||n<0||f&&e-l>=o}function m(){var e=N();if(p(e))return y(e);s=setTimeout(m,function(e){var n=t-(e-c);return f?L(n,o-(e-l)):n}(e))}function y(e){return s=void 0,d&&r?h(e):(r=i=void 0,a)}function g(){var e=N(),n=p(e);if(r=arguments,i=this,c=e,n){if(void 0===s)return function(e){return l=e,s=setTimeout(m,t),u?h(e):a}(c);if(f)return clearTimeout(s),s=setTimeout(m,t),h(c)}return void 0===s&&(s=setTimeout(m,t)),a}return t=j(t)||0,D(n)&&(u=!!n.leading,o=(f="maxWait"in n)?F(j(n.maxWait)||0,t):o,d="trailing"in n?!!n.trailing:d),g.cancel=function(){void 0!==s&&clearTimeout(s),l=0,r=c=i=s=void 0},g.flush=function(){return void 0===s?a:y(N())},g},z=B,V=f,U=function(e,t,n,r){switch(t){case"debounce":return B(e,n,r);case"throttle":return function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return V(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),z(e,t,{leading:r,maxWait:t,trailing:i})}(e,n,r);default:return e}},$=function(e){return"function"==typeof e},H=function(){return"undefined"==typeof window},q=function(e){return e instanceof Element||e instanceof HTMLDocument},W=function(e){function t(t){var n=e.call(this,t)||this;n.cancelHandler=function(){n.resizeHandler&&n.resizeHandler.cancel&&(n.resizeHandler.cancel(),n.resizeHandler=null)},n.attachObserver=function(){var e=n.props,t=e.targetRef,r=e.observerOptions;if(!H()){t&&t.current&&(n.targetRef.current=t.current);var i=n.getElement();i&&(n.observableElement&&n.observableElement===i||(n.observableElement=i,n.resizeObserver.observe(i,r)))}},n.getElement=function(){var e=n.props,t=e.querySelector,r=e.targetDomEl;if(H())return null;if(t)return document.querySelector(t);if(r&&q(r))return r;if(n.targetRef&&q(n.targetRef.current))return n.targetRef.current;var i=(0,c.findDOMNode)(n);if(!i)return null;switch(n.getRenderType()){case"renderProp":case"childFunction":case"child":case"childArray":return i;default:return i.parentElement}},n.createResizeHandler=function(e){var t=n.props,r=t.handleWidth,i=void 0===r||r,o=t.handleHeight,a=void 0===o||o,s=t.onResize;if(i||a){var c=function(e,t,n,r){return function(i){var o=i.width,a=i.height;t(function(t){return t.width===o&&t.height===a||t.width===o&&!r||t.height===a&&!n?t:(e&&$(e)&&e(o,a),{width:o,height:a})})}}(s,n.setState.bind(n),i,a);e.forEach(function(e){var t=e&&e.contentRect||{},r=t.width,i=t.height;!n.skipOnMount&&!H()&&c({width:r,height:i}),n.skipOnMount=!1})}},n.getRenderType=function(){var e=n.props,t=e.render,r=e.children;return $(t)?"renderProp":$(r)?"childFunction":(0,s.isValidElement)(r)?"child":Array.isArray(r)?"childArray":"parent"};var r=t.skipOnMount,i=t.refreshMode,o=t.refreshRate,a=void 0===o?1e3:o,l=t.refreshOptions;return n.state={width:void 0,height:void 0},n.skipOnMount=r,n.targetRef=(0,s.createRef)(),n.observableElement=null,H()||(n.resizeHandler=U(n.createResizeHandler,i,a,l),n.resizeObserver=new window.ResizeObserver(n.resizeHandler)),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.componentDidMount=function(){this.attachObserver()},t.prototype.componentDidUpdate=function(){this.attachObserver()},t.prototype.componentWillUnmount=function(){H()||(this.observableElement=null,this.resizeObserver.disconnect(),this.cancelHandler())},t.prototype.render=function(){var e,t=this.props,n=t.render,r=t.children,i=t.nodeType,o=void 0===i?"div":i,a=this.state,c={width:a.width,height:a.height,targetRef
2:this.targetRef};switch(this.getRenderType()){case"renderProp":return n&&n(c);case"childFunction":return(e=r)(c);case"child":if((e=r).type&&"string"==typeof e.type){var l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(c,["targetRef"]);return(0,s.cloneElement)(e,l)}return(0,s.cloneElement)(e,c);case"childArray":return(e=r).map(function(e){return!!e&&(0,s.cloneElement)(e,c)});default:return s.createElement(o,null)}},t}(s.PureComponent);H()?s.useEffect:s.useLayoutEffect;var G=n(59744),K=n(6634);function Q(){return Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Q.apply(this,arguments)}function J(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return X(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?X(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Y=(0,s.forwardRef)(function(e,t){var n=e.aspect,r=e.width,o=void 0===r?"100%":r,c=e.height,l=void 0===c?"100%":c,u=e.minWidth,f=e.minHeight,d=e.maxHeight,h=e.children,p=e.debounce,m=void 0===p?0:p,y=e.id,g=e.className,v=J((0,s.useState)({containerWidth:-1,containerHeight:-1}),2),b=v[0],w=v[1],x=(0,s.useRef)(null);(0,s.useImperativeHandle)(t,function(){return x},[x]);var S=J((0,s.useState)(!1),2),k=S[0],E=S[1],_=function(){return x.current?{containerWidth:x.current.clientWidth,containerHeight:x.current.clientHeight}:null},C=function(){if(k){var e=_();if(e){var t=b.containerWidth,n=b.containerHeight,r=e.containerWidth,i=e.containerHeight;r===t&&i===n||w({containerWidth:r,containerHeight:i})}}},A=m>0?i()(C,m):C;(0,s.useEffect)(function(){if(k){var e=_();e&&w(e)}},[k]),(0,s.useEffect)(function(){E(!0)},[]);var T={width:o,height:l,minWidth:u,minHeight:f,maxHeight:d};return s.createElement(W,{handleWidth:!0,handleHeight:!0,onResize:A,targetRef:x},s.createElement("div",Q({},null!=y?{id:"".concat(y)}:{},{className:a()("recharts-responsive-container",g),style:T,ref:x}),function(){var e=b.containerWidth,t=b.containerHeight;if(e<0||t<0)return null;(0,K.R)((0,G._3)(o)||(0,G._3)(l),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",o,l),(0,K.R)(!n||n>0,"The aspect(%s) must be greater than zero.",n);var r=(0,G._3)(o)?e:o,i=(0,G._3)(l)?t:l;return n&&n>0&&(r?i=r/n:i&&(r=i*n),d&&i>d&&(i=d)),(0,K.R)(r>0||i>0,"The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.",r,i,o,l,u,f,n),(0,s.cloneElement)(h,{width:r,height:i})}()))})},20261(e,t,n){"use strict";n.d(t,{E:()=>T});var r=n(34743),i=n.n(r),o=n(96540),a=n(25870),s=n.n(a),c=n(32485),l=n.n(c),u=n(59744),f=n(59938),d=n(98940),h=n(81636);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(this,arguments)}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach(function(t){k(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=/[ \f\n\r\t\v\u2028\u2029]+/,_=function(e){try{var t=[];return i()(e.children)||(t=e.breakAll?e.children.toString().split(""):e.children.toString().split(E)),{wordsWithComputedWidth:t.map(function(t){return{word:t,width:(0,h.Pu)(t,e.style).width}}),spaceWidth:e.breakAll?0:(0,h.Pu)(" ",e.style).width}}catch(e){return null}},C=function(e){return[{words:i()(e)?[]:e.toString().split(E)}]},A=function(e,t){if((e.width||e.scaleToFit)&&!f.m.isSsr&&t){var n=_(e);return n?function(e,t,n,r,i){var o=(0,u.Et)(e.maxLines),a=e.children,s=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce(function(e,t){var o=t.word,a=t.width,s=e[e.length-1];if(s&&(null==r||i||s.width+a+n<r))s.words.push(o),s.width+=a+n;else{var c={words:[o],width:a};e.push(c)}return e},[])},c=s(t);if(!o)return c;for(var l,f=function(t){var n=a.slice(0,t),i=_(S(S({},e),{},{children:n+"…"})).wordsWithComputedWidth,o=s(i),c=o.length>e.maxLines||function(e){return e.reduce(function(e,t){return e.width>t.width?e:t})}(o).width>r;return[c,o]},d=0,h=a.length-1,p=0;d<=h&&p<=a.length-1;){var m=Math.floor((d+h)/2),y=b(f(m-1),2),g=y[0],v=y[1],w=b(f(m),1)[0];if(g||w||(d=m+1),g&&w&&(h=m-1),!g&&w){l=v;break}p++}return l||c}(e,n.wordsWithComputedWidth,n.spaceWidth,e.width,e.scaleToFit):C(e.children)}return C(e.children)},T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(f,e);var t,n,r,i,a,c=(i=f,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=v(i);if(a){var n=v(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,e)});function f(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=c.call.apply(c,[this].concat(n))).state={},e}return t=f,r=[{key:"getDerivedStateFromProps",value:function(e,t){if(e.width!==t.prevWidth||e.scaleToFit!==t.prevScaleToFit||e.children!==t.prevChildren||e.style!==t.prevStyle||e.breakAll!==t.prevBreakAll){var n=e.children!==t.prevChildren||e.style!==t.prevStyle||e.breakAll!==t.prevBreakAll;return{prevWidth:e.width,prevScaleToFit:e.scaleToFit,prevChildren:e.children,prevStyle:e.style,wordsByLines:A(e,n)}}return null}}],(n=[{key:"render",value:function(){var e=this.props,t=e.dx,n=e.dy,r=e.textAnchor,i=e.verticalAnchor,a=e.scaleToFit,c=e.angle,f=e.lineHeight,h=e.capHeight,p=e.className,y=e.breakAll,g=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["dx","dy","textAnchor","verticalAnchor","scaleToFit","angle","lineHeight","capHeight","className","breakAll"]),v=this.state.wordsByLine
2s;if(!(0,u.vh)(g.x)||!(0,u.vh)(g.y))return null;var b,w=g.x+((0,u.Et)(t)?t:0),x=g.y+((0,u.Et)(n)?n:0);switch(i){case"start":b=s()("calc(".concat(h,")"));break;case"middle":b=s()("calc(".concat((v.length-1)/2," * -").concat(f," + (").concat(h," / 2))"));break;default:b=s()("calc(".concat(v.length-1," * -").concat(f,")"))}var S=[];if(a){var k=v[0].width,E=this.props.width;S.push("scale(".concat(((0,u.Et)(E)?E/k:1)/k,")"))}return c&&S.push("rotate(".concat(c,", ").concat(w,", ").concat(x,")")),S.length&&(g.transform=S.join(" ")),o.createElement("text",m({},(0,d.J9)(g,!0),{x:w,y:x,className:l()("recharts-text",p),textAnchor:r}),v.map(function(e,t){return o.createElement("tspan",{x:w,dy:0===t?b:f,key:t},e.words.join(y?"":" "))}))}}])&&y(t.prototype,n),r&&y(t,r),f}(o.Component);T.defaultProps={x:0,y:0,lineHeight:"1em",capHeight:"0.71em",scaleToFit:!1,textAnchor:"start",verticalAnchor:"end"}},5128(e,t,n){"use strict";n.d(t,{m:()=>L});var r=n(34743),i=n.n(r),o=n(37414),a=n.n(o),s=n(47194),c=n.n(s),l=n(96540),u=n(86924),f=n(32485),d=n.n(f),h=n(2979),p=n.n(h),m=n(22645),y=n.n(m),g=n(59744);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach(function(t){S(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t){return E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},E(e,t)}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}function C(e){return y()(e)&&(0,g.vh)(e[0])&&(0,g.vh)(e[1])?e.join(" ~ "):e}var A=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E(e,t)}(s,e);var t,n,r,o,a=(r=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=_(r);if(o){var n=_(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==v(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,e)});function s(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),a.apply(this,arguments)}return t=s,(n=[{key:"renderContent",value:function(){var e=this.props,t=e.payload,n=e.separator,r=e.formatter,i=e.itemStyle,o=e.itemSorter;if(t&&t.length){var a=(o?p()(t,o):t).map(function(e,o){if("none"===e.type)return null;var a=x({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"},i),s=e.formatter||r||C,c=e.value,u=e.name;if(s&&null!=c&&null!=u){var f=s(c,u,e,o,t);if(Array.isArray(f)){var d=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(f,2);c=d[0],u=d[1]}else c=f}return l.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(o),style:a},(0,g.vh)(u)?l.createElement("span",{className:"recharts-tooltip-item-name"},u):null,(0,g.vh)(u)?l.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,l.createElement("span",{className:"recharts-tooltip-item-value"},c),l.createElement("span",{className:"recharts-tooltip-item-unit"},e.unit||""))});return l.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},a)}return null}},{key:"render",value:function(){var e=this.props,t=e.wrapperClassName,n=e.contentStyle,r=e.labelClassName,o=e.labelStyle,a=e.label,s=e.labelFormatter,c=e.payload,u=x({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},n),f=x({margin:0},o),h=!i()(a),p=h?a:"",m=d()("recharts-default-tooltip",t),y=d()("recharts-tooltip-label",r);return h&&s&&null!=c&&(p=s(a,c)),l.createElement("div",{className:m,style:u},l.createElement("p",{className:y,style:f},l.isValidElement(p)?p:"".concat(p)),this.renderContent())}}])&&k(t.prototype,n),s}(l.PureComponent);A.displayName="DefaultTooltipContent",A.defaultProps={separator:" : ",contentStyle:{},itemStyle:{},labelStyle:{}};var T=n(59938);function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach(function(t){I(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function D(e,t){return D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},D(e,t)}function N(e){return N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},N(e)}var j="recharts-tooltip-wrapper";function F(e){return e.dataKey}var L=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D(e,t)}(f,e);var t,n,r,o,s=(r=f,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=N(r);if(o){var n=N(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==P(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,e)});function f(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=s.call.apply(s,[this].concat(n))).state={boxWidth:-1,boxHeight:-1,dismissed:!1,dismissedAtCoordinate:{x:0,y:0}},e.wrapperNode=void 0,e.getTranslate=function(t){var n=t.key,r=t.tooltipDimension,i=t.viewBoxDimension,o=e.props,a=o.allowEscapeViewBox,s=o.coordinate,c=o.offset,l=o.position,u=o.viewB
2ox;if(l&&(0,g.Et)(l[n]))return l[n];var f=s[n]-r-c,d=s[n]+c;return a[n]?d:s[n]+r+c>u[n]+i?Math.max(f,u[n]):Math.max(d,u[n])},e}return t=f,(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"updateBBox",value:function(){var e=this.state,t=e.boxWidth,n=e.boxHeight;if(e.dismissed?(this.wrapperNode.blur(),this.props.coordinate.x===this.state.dismissedAtCoordinate.x&&this.props.coordinate.y===this.state.dismissedAtCoordinate.y||this.setState({dismissed:!1})):this.wrapperNode.focus({preventScroll:!0}),this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var r=this.wrapperNode.getBoundingClientRect();(Math.abs(r.width-t)>1||Math.abs(r.height-n)>1)&&this.setState({boxWidth:r.width,boxHeight:r.height})}else-1===t&&-1===n||this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var e,t,n,r=this,o=this.props,s=o.payload,f=o.isAnimationActive,h=o.animationDuration,p=o.animationEasing,m=o.filterNull,y=function(e,t){return!0===e?c()(t,F):a()(e)?c()(t,e):t}(o.payloadUniqBy,m&&s&&s.length?s.filter(function(e){return!i()(e.value)}):s),v=y&&y.length,b=this.props,w=b.content,x=b.viewBox,S=b.coordinate,k=b.position,E=b.active,_=b.wrapperStyle,C=M({pointerEvents:"none",visibility:!this.state.dismissed&&E&&v?"visible":"hidden",position:"absolute",top:0,left:0},_);if(k&&(0,g.Et)(k.x)&&(0,g.Et)(k.y))t=k.x,n=k.y;else{var T=this.state,P=T.boxWidth,O=T.boxHeight;P>0&&O>0&&S?(t=this.getTranslate({key:"x",tooltipDimension:P,viewBoxDimension:x.width}),n=this.getTranslate({key:"y",tooltipDimension:O,viewBoxDimension:x.height})):C.visibility="hidden"}C=M(M({},(0,u.g6)({transform:this.props.useTranslate3d?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")}
vendor: 12,767 bytes, line 2
2)),C),f&&E&&(C=M(M({},(0,u.g6)({transition:"transform ".concat(h,"ms ").concat(p)})),C));var R=d()(j,(I(e={},"".concat(j,"-right"),(0,g.Et)(t)&&S&&(0,g.Et)(S.x)&&t>=S.x),I(e,"".concat(j,"-left"),(0,g.Et)(t)&&S&&(0,g.Et)(S.x)&&t<S.x),I(e,"".concat(j,"-bottom"),(0,g.Et)(n)&&S&&(0,g.Et)(S.y)&&n>=S.y),I(e,"".concat(j,"-top"),(0,g.Et)(n)&&S&&(0,g.Et)(S.y)&&n<S.y),e));return l.createElement("div",{tabIndex:-1,role:"dialog",onKeyDown:function(e){"Escape"===e.key&&r.setState({dismissed:!0,dismissedAtCoordinate:M(M({},r.state.dismissedAtCoordinate),{},{x:r.props.coordinate.x,y:r.props.coordinate.y})})},className:R,style:C,ref:function(e){r.wrapperNode=e}},function(e,t){return l.isValidElement(e)?l.cloneElement(e,t):a()(e)?l.createElement(e,t):l.createElement(A,t)}(w,M(M({},this.props),{},{payload:y})))}}])&&R(t.prototype,n),f}(l.PureComponent);L.displayName="Tooltip",L.defaultProps={active:!1,allowEscapeViewBox:{x:!1,y:!1},offset:10,viewBox:{x1:0,x2:0,y1:0,y2:0},coordinate:{x:0,y:0},cursorStyle:{},separator:" : ",wrapperStyle:{},contentStyle:{},itemStyle:{},labelStyle:{},cursor:!0,trigger:"hover",isAnimationActive:!T.m.isSsr,animationEasing:"ease",animationDuration:400,filterNull:!0,useTranslate3d:!1}},86069(e,t,n){"use strict";n.d(t,{W:()=>c});var r=n(96540),i=n(32485),o=n.n(i),a=n(98940);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}var c=r.forwardRef(function(e,t){var n=e.children,i=e.className,c=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["children","className"]),l=o()("recharts-layer",i);return r.createElement("g",s({className:l},(0,a.J9)(c,!0),{ref:t}),n)})},49303(e,t,n){"use strict";n.d(t,{u:()=>c});var r=n(96540),i=n(32485),o=n.n(i),a=n(98940);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function c(e){var t=e.children,n=e.width,i=e.height,c=e.viewBox,l=e.className,u=e.style,f=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["children","width","height","viewBox","className","style"]),d=c||{width:n,height:i,x:0,y:0},h=o()("recharts-surface",l);return r.createElement("svg",s({},(0,a.J9)(f,!0,!0),{className:h,width:n,height:i,style:u,viewBox:"".concat(d.x," ").concat(d.y," ").concat(d.width," ").concat(d.height),version:"1.1"}),r.createElement("title",null,e.title),r.createElement("desc",null,e.desc),t)}},56110(e,t,n){"use strict";n.d(t,{I:()=>re});var r=n(22645),i=n.n(r),o=n(27372),a=n.n(o),s=n(37414),c=n.n(s),l=n(96540);function u(){}function f(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function d(e){this._context=e}function h(e){return new d(e)}function p(e){this._context=e}function m(e){return new p(e)}function y(e){this._context=e}function g(e){return new y(e)}function v(e){this._context=e}function b(e){return new v(e)}function w(e){this._context=e}function x(e){return new w(e)}function S(e){return e<0?-1:1}function k(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),a=(n-e._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(S(o)+S(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function E(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function _(e,t,n){var r=e._x0,i=e._y0,o=e._x1,a=e._y1,s=(o-r)/3;e._context.bezierCurveTo(r+s,i+s*t,o-s,a-s*n,o,a)}function C(e){this._context=e}function A(e){this._context=new T(e)}function T(e){this._context=e}function P(e){this._context=e}function O(e){var t,n,r=e.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,o[t]=4,a[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/o[t-1],o[t]-=n,a[t]-=n*a[t-1];for(i[r-1]=a[r-1]/o[r-1],t=r-2;t>=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}function M(e){return new P(e)}function I(e,t){this._context=e,this._t=t}function R(e){return new I(e,.5)}n.dn(u),n.dn(h),d.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:f(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);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:f(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},n.dn(m),p.prototype={areaStart:u,areaEnd:u,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)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:f(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},n.dn(g),y.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||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:f(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},n.dn(b),v.prototype={areaStart:u,areaEnd:u,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},n.dn(x),w.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},C.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:_(this,this._t0,E(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,_(this,E(this,n=k(this,e,t)),n);break;default:_(this,this._t0,n=k(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(A.prototype=Object.create(C.prototype)).point=function(e,t){C.prototype.point.call(this,t,e)},T.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,o){this._context.bezierCurveTo(t,e,r,n,o,i)}},n.dn(M),P.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=O(e),i=O(t),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],e[a],t[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},n.dn(R),I.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&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var D=n(69450),N=n(12736),j=n(84653);function F(e){return e[0]}function L(e){return e[1]}function B(e,t){var n=(0,j.A)(!0),r=null,i=x,o=null;function a(a){var s,c,l,u=(a=(0,N.A)(a)).length,f=!1;for(null==r&&(o=i(l=(0,D.A)())),s=0;s<=u;++s)!(s<u&&n(c=a[s],s,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+e(c,s,a),+t(c,s,a));if(l)return o=null,l+""||null}return e="function"==typeof e?e:void 0===e?F:(0,j.A)(e),t="function"==typeof t?t:void 0===t?L:(0,j.A)(t),a.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,j.A)(+t),a):e},a.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,j.A)(+e),a):t},a.defined=function(e){return arguments.length?(n="function"==typeof e?e:(0,j.A)(!!e),a):n},a.curve=function(e){return arguments.length?(i=e,null!=r&&(o=i(r)),a):i},a.context=function(e){return arguments.length?(null==e?r=o=null:o=i(r=e),a):r},a}function z(e,t,n){var r=null,i=(0,j.A)(!0),o=null,a=x,s=null;function c(c){var l,u,f,d,h,p=(c=(0,N.A)(c)).length,m=!1,y=new Array(p),g=new Array(p);for(null==o&&(s=a(h=(0,D.A)())),l=0;l<=p;++l){if(!(l<p&&i(d=c[l],l,c))===m)if(m=!m)u=l,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=l-1;f>=u;--f)s.point(y[f],g[f]);s.lineEnd(),s.areaEnd()}m&&(y[l]=+e(d,l,c),g[l]=+t(d,l,c),s.point(r?+r(d,l,c):y[l],n?+n(d,l,c):g[l]))}if(h)return s=null,h+""||null}function l(){return B().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?F:(0,j.A)(+e),t="function"==typeof t?t:void 0===t?(0,j.A)(0):(0,j.A)(+t),n="function"==typeof n?n:void 0===n?L:(0,j.A)(+n),c.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,j.A)(+t),r=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,j.A)(+t),c):e},c.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:(0,j.A)(+e),c):r},c.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,j.A)(+e),n=null,c):t},c.y0=function(e){return arguments.length?(t="function"==typeof e?e:(0,j.A)(+e),c):t},c.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:(0,j.A)(+e),c):n},c.lineX0=c.lineY0=function(){return l().x(e).y(t)},c.lineY1=function(){return l().x(e).y(n)},c.lineX1=function(){return l().x(r).y(t)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:(0,j.A)(!!e),c):i},c.curve=function(e){return arguments.length?(a=e,null!=o&&(s=a(o)),c):a},c.context=function(e){return arguments.length?(null==e?o=s=null:s=a(o=e),c):o},c}n.dn(B),n.dn(z);
2var V=n(32485),U=n.n(V),$=n(98940),H=n(59744);function q(e){return q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},q(e)}function W(){return W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},W.apply(this,arguments)}function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function K(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G(Object(n),!0).forEach(function(t){Q(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function J(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function X(e,t){return X=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},X(e,t)}function Y(e){return Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Y(e)}var Z={curveBasisClosed:m,curveBasisOpen:g,curveBasis:h,curveLinearClosed:b,curveLinear:x,curveMonotoneX:function(e){return new C(e)},curveMonotoneY:function(e){return new A(e)},curveNatural:M,curveStep:R,curveStepAfter:function(e){return new I(e,1)},curveStepBefore:function(e){return new I(e,0)}},ee=function(e){return e.x===+e.x&&e.y===+e.y},te=function(e){return e.x},ne=function(e){return e.y},re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X(e,t)}(u,e);var t,n,r,o,s=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=Y(r);if(o){var n=Y(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==q(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,e)});function u(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),s.apply(this,arguments)}return t=u,n=[{key:"getPath",value:function(){var e,t=this.props,n=t.type,r=t.points,o=t.baseLine,s=t.layout,l=t.connectNulls,u=function(e,t){if(c()(e))return e;var n="curve".concat(a()(e));return"curveMonotone"===n&&t?Z["".concat(n).concat("vertical"===t?"Y":"X")]:Z[n]||x}(n,s),f=l?r.filter(function(e){return ee(e)}):r;if(i()(o)){var d=l?o.filter(function(e){return ee(e)}):o,h=f.map(function(e,t){return K(K({},e),{},{base:d[t]})});return(e="vertical"===s?z().y(ne).x1(te).x0(function(e){return e.base.x}):z().x(te).y1(ne).y0(function(e){return e.base.y})).defined(ee).curve(u),e(h)}return(e="vertical"===s&&(0,H.Et)(o)?z().y(ne).x1(te).x0(o):(0,H.Et)(o)?z().x(te).y1(ne).y0(o):B().x(te).y(ne)).defined(ee).curve(u),e(f)}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.points,r=e.path,i=e.pathRef;if(!(n&&n.length||r))return null;var o=n&&n.length?this.getPath():r;return l.createElement("path",W({},(0,$.J9)(this.props),(0,$._U)(this.props),{className:U()("recharts-curve",t),d:o,ref:i}))}}],n&&J(t.prototype,n),u}(l.PureComponent);re.defaultProps={type:"linear",points:[],connectNulls:!1}},66613(e,t,n){"use strict";n.d(t,{c:()=>d});var r=n(96540),i=n(32485),o=n.n(i),a=n(98940);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(p,e);var t,n,i,d,h=(i=p,d=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=f(i);if(d){var n=f(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,e)});function p(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),h.apply(this,arguments)}return t=p,(n=[{key:"render",value:function(){var e=this.props,t=e.cx,n=e.cy,i=e.r,s=e.className,l=o()("recharts-dot",s);return t===+t&&n===+n&&i===+i?r.createElement("circle",c({},(0,a.J9)(this.props),(0,a._U)(this.props),{className:l,cx:t,cy:n,r:i})):null}}])&&l(t.prototype,n),p}(r.PureComponent)},15894(e,t,n){"use strict";n.d(t,{P2:()=>v,pr:()=>p,sl:()=>m,vh:()=>y});var r=n(91663),i=n.n(r),o=n(7176),a=n.n(o),s=n(65040),c=n(94501),l=n(59744);function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?f(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(e,t,n,r,i){var o=e.width,a=e.height,u=e.layout,f=e.children,p=Object.keys(t),m={left:n.left,leftMirror:n.left,right:o-n.right,rightMirror:o-n.right,top:n.top,topMirror:n.top,bottom:a-n.bottom,bottomMirror:a-n.bottom},y=!!(0,c.BU)(f,"Bar");return p.reduce(function(o,a){var c,f,p,g,v,b=t[a],w=b.orientation,x=b.domain,S=b.padding,k=void 0===S?{}:S,E=b.mirror,_=b.reversed,C="".concat(w).concat(E?"Mirror":"");if("number"===b.type&&("gap"===b.padding||"no-gap"===b.padding)){var A=x[1]-x[0],T=1/0,P=b.categoricalDomain.sort();P.forEach(function(e,t){t>0&&(T=Math.min((e||0)-(P[t-1]||0),T))});var O=T/A,M="vertical"===b.layout?n.height:n.width;if("gap"===b.padding&&(c=O*M/2),"no-gap"===b.padding){var I=(0,l.F4)(e.barCategoryGap,O*M),R=O*M/2;c=R-I-(R-I)/M*I}}f="xAxis"===r?[n.left+(k.left||0)+(c||0),n.left+n.width-(k.right||0)-(c||0)]:"yAxis"===r?"horizontal"===u?[n.top+n.height-(k.bottom||0),n.top+(k.top||0)]:[n.top+(k.top||0)+(c||0),n.top+n.height-(k.bottom||0)-(c||0)]:b.range,_&&(f=[f[1],f[0]]);var D=(0,s.W7)(b,i,y),N=D.scale,j=D.realScaleType;N.domain(x).range(f),(0,s.YB)(N);var F=(0,s.w7)(N,d(d({},b),{},{realScaleType:j}));"xAxis"===r?(v="top"===w&&!E||"bottom"===w&&E,p=n.left,g=m[C]-v*b.height):"yAxis"===r&&(v="left"===w&&!E||"right"===w&&E,p=m[C]-v*b.width,g=n.top);var L=d(d(d({},b),F),{},{realScaleType:j,x:p,y:g,scale:N,width:"xAxis"===r?n.width:b.width,height:"yAxis"===r?n.height:b.height});return L.bandSize=(0,s.Hj)(L,F),b.hide||"xAxis"!==r?b.hide||(m[C]+=(v?-1:1)*L.width):m[C]+=(v?-1:1)*L.height,d(d({},o),{},h({},a,L))},{})},m=function(e,t){var n=e.x,r=e.y,i=t.x,o=t.y;return{x:Math.min(n,i),y:Math.min(r,o),width:Math.abs(i-n),height:Math.abs(o-r)}},y=function(e){var t=e.x1,n=e.y1,r=e.x2,i=e.y2;return m({x:t,y:n},{x:r,y:i})},g=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scale=void 0,this.scale=t}var t,n,r;return t=e,n=[{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(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.bandAware,r=t.position;if(void 0!==e){if(r)switch(r){case"start":default:return this.scale(e);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(e)+o}if(n){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),n=t[0],r=t[t.length-1];return n<=r?e>=n&&e<=r:e>=r&&e<=n}}],r=[{key:"create",value:function(t){return new e(t)}}],n&&u(t.prototype,n),r&&u(t,r),e}();g.EPS=1e-4;var v=function(e){var t=Object.keys(e).reduce(function(t,n){return d(d({},t),{},h({},n,g.create(e[n])))},{});return d(d({},t),{},{apply:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.bandAware,i=n.position;return a()(e,function(e,n){return t[n].apply(e,{bandAware:r,position:i})})},isInRange:function(e){return i()(e,function(e,n){return t[n].isInRange(e)})}})}},65040(e,t,n){"use strict";n.d(t,{s0:()=>Do,gH:()=>Po,YB:()=>Ho,HQ:()=>Vo,Hj:()=>ta,BX:()=>Ro,tA:()=>Io,nb:()=>Qo,PW:()=>Bo,Ay:()=>To,vf:()=>Fo,Mk:()=>Xo,g1:()=>Mo,Ps:()=>Oo,Mn:()=>Go,kA:()=>Jo,Rh:()=>zo,w7:()=>Ko,zb:()=>ra,kr:()=>Ao,_L:()=>Lo,KC:()=>na,A1:()=>jo,W7:()=>Uo,AQ:()=>ea});var r={};n.r(r),n.d(r,{scaleBand:()=>ee.A,scaleDiverging:()=>no,scaleDivergingLog:()=>ro,scaleDivergingPow:()=>oo,scaleDivergingSqrt:()=>ao,scaleDivergingSymlog:()=>io,scaleIdentity:()=>Ut,scaleImplicit:()=>nn.h,scaleLinear:()=>Vt,scaleLog:()=>Xt,scaleOrdinal:()=>nn.A,scalePoint:()=>ee.z,scalePow:()=>cn,scaleQuantile:()=>vn,scaleQuantize:()=>bn,scaleRadial:()=>fn,scaleSequential:()=>Qi,scaleSequentialLog:()=>Ji,scaleSequentialPow:()=>Yi,scaleSequentialQuantile:()=>eo,scaleSequentialSqrt:()=>Zi,scaleSequentialSymlog:()=>Xi,scaleSqrt:()=>ln,scaleSymlog:()=>tn,scaleThreshold:()=>wn,scaleTime:()=>qi,scaleUtc:()=>Wi,tickFormat:()=>Bt});var i=n(23344),o=n.n(i),a=n(2979),s=n.n(a),c=n(56177),l=n.n(c),u=n(27372),f=n.n(u),d=n(93451),h=n.n(d),p=n(22645),m=n.n(p),y=n(43782),g=n.n(y),v=n(72856),b=n.n(v),w=n(32319),x=n.n(w),S=n(37414),k=n.n(S),E=n(29832),_=n.n(E),C=n(34743),A=n.n(C),T=n(38351),P=n.n(T);function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var M=function(e){return e},I={"@@functional/placeholder":!0},R=function(e){return e===I},D=function(e){return function t(){return 0===arguments.length||1===arguments.length&&R(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},N=function e(t,n){return 1===t?n:D(function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=i.filter(function(e){return e!==I}).length;return a>=t?n.apply(void 0,i):e(t-a,D(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o,a=i.map(function(e){return R(e)?t.shift():e});return n.apply(void 0,(o=a,function(e){if(Array.isArray(e))return O(e)}(o)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(o)||function(e,t){if(e){if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?O(e,t):void 0}}(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat(t))}))})},j=function(e){return N(e.length,e)},F=function(e,t){for(var n=[],r=e;r<t;++r)n[r-e]=r;return n},L=j(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(e){return t[e]}).map(e)}),B=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!t.length)return M;var r=t.reverse(),i=r[0],o=r.slice(1);return function(){return o.reduce(function(e,t){return t(e)},i.apply(void 0,arguments))}},z=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},V=function(e){var t=null,n=null;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return t&&i.every(function(e,n){return e===t[n]})?n:(t=i,n=e.apply(void 0,i))}};const U=function(e,t,n){for(var r=new(P())(e),i=0,o=[];r.lt(t)&&i<1e5;)o.push(r.toNumber()),r=r.add(n),i++;return o},$=function(e){return 0===e?1:Math.floor(new(P())(e).abs().log(10).toNumber())+1};j(function(e,t,n){var r=+e;return r+n*(+t-r)}),j(function(e,t,n){var r=t-+e;return(n-e)/(r||1/0)}),j(function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))});function H(e){return function(e){if(Array.isArray(e))return G(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||W(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function q(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||W(e,t)||function(){throw new TypeError("Invalid attempt to de
2structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e,t){if(e){if("string"==typeof e)return G(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?G(e,t):void 0}}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function K(e){var t=q(e,2),n=t[0],r=t[1],i=n,o=r;return n>r&&(i=r,o=n),[i,o]}function Q(e,t,n){if(e.lte(0))return new(P())(0);var r=$(e.toNumber()),i=new(P())(10).pow(r),o=e.div(i),a=1!==r?.05:.1,s=new(P())(Math.ceil(o.div(a).toNumber())).add(n).mul(a).mul(i);return t?s:new(P())(Math.ceil(s))}function J(e,t,n){var r=1,i=new(P())(e);if(!i.isint()&&n){var o=Math.abs(e);o<1?(r=new(P())(10).pow($(e)-1),i=new(P())(Math.floor(i.div(r).toNumber())).mul(r)):o>1&&(i=new(P())(Math.floor(e)))}else 0===e?i=new(P())(Math.floor((t-1)/2)):n||(i=new(P())(Math.floor(e)));var a=Math.floor((t-1)/2);return B(L(function(e){return i.add(new(P())(e-a).mul(r)).toNumber()}),F)(0,t)}function X(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new(P())(0),tickMin:new(P())(0),tickMax:new(P())(0)};var o,a=Q(new(P())(t).sub(e).div(n-1),r,i);o=e<=0&&t>=0?new(P())(0):(o=new(P())(e).add(t).div(2)).sub(new(P())(o).mod(a));var s=Math.ceil(o.sub(e).div(a).toNumber()),c=Math.ceil(new(P())(t).sub(o).div(a).toNumber()),l=s+c+1;return l>n?X(e,t,n,r,i+1):(l<n&&(c=t>0?c+(n-l):c,s=t>0?s:s+(n-l)),{step:a,tickMin:o.sub(new(P())(s).mul(a)),tickMax:o.add(new(P())(c).mul(a))})}var Y=V(function(e){var t=q(e,2),n=t[0],r=t[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),s=q(K([n,r]),2),c=s[0],l=s[1];if(c===-1/0||l===1/0){var u=l===1/0?[c].concat(H(F(0,i-1).map(function(){return 1/0}))):[].concat(H(F(0,i-1).map(function(){return-1/0})),[l]);return n>r?z(u):u}if(c===l)return J(c,i,o);var f=X(c,l,a,o),d=f.step,h=f.tickMin,p=f.tickMax,m=U(h,p.add(new(P())(.1).mul(d)),d);return n>r?z(m):m}),Z=(V(function(e){var t=q(e,2),n=t[0],r=t[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),s=q(K([n,r]),2),c=s[0],l=s[1];if(c===-1/0||l===1/0)return[n,r];if(c===l)return J(c,i,o);var u=Q(new(P())(l).sub(c).div(a-1),o,0),f=B(L(function(e){return new(P())(c).add(new(P())(e).mul(u)).toNumber()}),F)(0,a).filter(function(e){return e>=c&&e<=l});return n>r?z(f):f}),V(function(e,t){var n=q(e,2),r=n[0],i=n[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=q(K([r,i]),2),s=a[0],c=a[1];if(s===-1/0||c===1/0)return[r,i];if(s===c)return[s];var l=Math.max(t,2),u=Q(new(P())(c).sub(s).div(l-1),o,0),f=[].concat(H(U(new(P())(s),new(P())(c).sub(new(P())(.99).mul(u)),u)),[c]);return r>i?z(f):f})),ee=n(12941);n.dn(ie);var te=Math.sqrt(50),ne=Math.sqrt(10),re=Math.sqrt(2);function ie(e,t,n){var r,i,o,a,s=-1;if(n=+n,(e=+e)===(t=+t)&&n>0)return[e];if((r=t<e)&&(i=e,e=t,t=i),0===(a=oe(e,t,n))||!isFinite(a))return[];if(a>0){let n=Math.round(e/a),r=Math.round(t/a);for(n*a<e&&++n,r*a>t&&--r,o=new Array(i=r-n+1);++s<i;)o[s]=(n+s)*a}else{a=-a;let n=Math.round(e*a),r=Math.round(t*a);for(n/a<e&&++n,r/a>t&&--r,o=new Array(i=r-n+1);++s<i;)o[s]=(n+s)/a}return r&&o.reverse(),o}function oe(e,t,n){var r=(t-e)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=te?10:o>=ne?5:o>=re?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=te?10:o>=ne?5:o>=re?2:1)}function ae(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=te?i*=10:o>=ne?i*=5:o>=re&&(i*=2),t<e?-i:i}function se(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function ce(e){let t=e,n=e;function r(e,t,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){const o=r+i>>>1;n(e[o],t)<0?r=o+1:i=o}return r}return 1===e.length&&(t=(t,n)=>e(t)-n,n=function(e){return(t,n)=>se(e(t),n)}(e)),{left:r,center:function(e,n,i,o){null==i&&(i=0),null==o&&(o=e.length);const a=r(e,n,i,o-1);return a>i&&t(e[a-1],n)>-t(e[a],n)?a-1:a},right:function(e,t,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){const o=r+i>>>1;n(e[o],t)>0?i=o:r=o+1}return r}}}function le(e){return null===e?NaN:+e}n.dn(se),n.dn(ce),n.dn(le);const ue=ce(se),fe=ue.right,de=(ue.left,ce(le).center,fe);function he(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function pe(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function me(){}n.dn(he);var ye=.7,ge=1/ye,ve="\\s*([+-]?\\d+)\\s*",be="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",we="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",xe=/^#([0-9a-f]{3,8})$/,Se=new RegExp("^rgb\\("+[ve,ve,ve]+"\\)$"),ke=new RegExp("^rgb\\("+[we,we,we]+"\\)$"),Ee=new RegExp("^rgba\\("+[ve,ve,ve,be]+"\\)$"),_e=new RegExp("^rgba\\("+[we,we,we,be]+"\\)$"),Ce=new RegExp("^hsl\\("+[be,we,we]+"\\)$"),Ae=new RegExp("^hsla\\("+[be,we,we,be]+"\\)$"),Te={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};function Pe(){return this.rgb().formatHex()}function Oe(){return this.rgb().formatRgb()}function Me(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=xe.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Ie(t):3===n?
vendor: 8,813 bytes, line 2
2new Ne(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Re(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Re(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Se.exec(e))?new Ne(t[1],t[2],t[3],1):(t=ke.exec(e))?new Ne(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Ee.exec(e))?Re(t[1],t[2],t[3],t[4]):(t=_e.exec(e))?Re(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ce.exec(e))?Be(t[1],t[2]/100,t[3]/100,1):(t=Ae.exec(e))?Be(t[1],t[2]/100,t[3]/100,t[4]):Te.hasOwnProperty(e)?Ie(Te[e]):"transparent"===e?new Ne(NaN,NaN,NaN,0):null}function Ie(e){return new Ne(e>>16&255,e>>8&255,255&e,1)}function Re(e,t,n,r){return r<=0&&(e=t=n=NaN),new Ne(e,t,n,r)}function De(e,t,n,r){return 1===arguments.length?((i=e)instanceof me||(i=Me(i)),i?new Ne((i=i.rgb()).r,i.g,i.b,i.opacity):new Ne):new Ne(e,t,n,r??1);var i}function Ne(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function je(){return"#"+Le(this.r)+Le(this.g)+Le(this.b)}function Fe(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function Le(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Be(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Ve(e,t,n,r)}function ze(e){if(e instanceof Ve)return new Ve(e.h,e.s,e.l,e.opacity);if(e instanceof me||(e=Me(e)),!e)return new Ve;if(e instanceof Ve)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,s=o-i,c=(o+i)/2;return s?(a=t===o?(n-r)/s+6*(n<r):n===o?(r-t)/s+2:(t-n)/s+4,s/=c<.5?o+i:2-o-i,a*=60):s=c>0&&c<1?0:a,new Ve(a,s,c,e.opacity)}function Ve(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Ue(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function $e(e,t,n,r,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*n+(1+3*e+3*o-3*a)*r+a*i)/6}function He(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],o=e[r+1],a=r>0?e[r-1]:2*i-o,s=r<t-1?e[r+2]:2*o-i;return $e((n-r/t)*t,a,i,o,s)}}function qe(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),i=e[(r+t-1)%t],o=e[r%t],a=e[(r+1)%t],s=e[(r+2)%t];return $e((n-r/t)*t,i,o,a,s)}}he(me,Me,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Pe,formatHex:Pe,formatHsl:function(){return ze(this).formatHsl()},formatRgb:Oe,toString:Oe}),he(Ne,De,pe(me,{brighter:function(e){return e=null==e?ge:Math.pow(ge,e),new Ne(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?ye:Math.pow(ye,e),new Ne(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){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:je,formatHex:je,formatRgb:Fe,toString:Fe})),he(Ve,function(e,t,n,r){return 1===arguments.length?ze(e):new Ve(e,t,n,r??1)},pe(me,{brighter:function(e){return e=null==e?ge:Math.pow(ge,e),new Ve(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?ye:Math.pow(ye,e),new Ve(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Ne(Ue(e>=240?e-240:e+120,i,r),Ue(e,i,r),Ue(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}})),n.dn(He),n.dn(qe);const We=e=>()=>e;function Ge(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):We(isNaN(e)?t:e)}n.dn(We);const Ke=function e(t){var n=function(e){return 1===(e=+e)?Ge:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):We(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=De(e)).r,(t=De(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=Ge(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function Qe(e){return function(t){var n,r,i=t.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n<i;++n)r=De(t[n]),o[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return o=e(o),a=e(a),s=e(s),r.opacity=1,function(e){return r.r=o(e),r.g=a(e),r.b=s(e),r+""}}}function Je(e,t){var n,r=t?t.length:0,i=e?Math.min(r,e.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=it(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<i;++n)a[n]=o[n](e);return a}}function Xe(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Ye(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Ze(e,t){var n,r={},i={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=it(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}Qe(He),Qe(qe),n.dn(function(e,t){return((void 0)(t)?void 0:Je)(e,t)}),n.dn(Xe),n.dn(Ye),n.dn(Ze),n.dn(nt);var et=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,tt=new RegExp(et.source,"g");function nt(e,t){var n,r,i,o=et.lastIndex=tt.lastIndex=0,a=-1,s=[],c=[];for(e+="",t+="";(n=et.exec(e))&&(r=tt.exec(t));)(i=r.index)>o&&(i=t.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,c.push({i:a,x:Ye(n,r)})),o=tt.lastIndex;return o<t.length&&(i=t.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?c[0]?function(e){return function(t){return e(t)+""}}(c[0].x):function(e){return function(){return e}}(t):(t=c.length,function(e){for(var n,r=0;r<t;++r)s[(n=c[r]).i]=n.x(e);return s.join("")})}function rt(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(n=0;n<r;++n)i[n]=e[n]*(1-o)+t[n]*o;return i}}function it(e,t){var n,r,i=typeof t;return null==t||"boolean"===i?We(t):("number"===i?Ye:"string"===i?(n=Me(t))?(t=n,Ke):nt:t instanceof Me?Ke:t instanceof Date?Xe:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?Je:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Ze:Ye:rt))(e,t)}function ot(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function at(e){return+e}n.dn(rt),n.dn(it),n.dn(ot);var st=[0,1];function ct(e){return e}function lt(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function ut(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i<r?(r=lt(i,r),o=n(a,o)):(r=lt(r,i),o=n(o,a)),function(e){return o(r(e))}}function ft(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),o=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)i[a]=lt(e[a],e[a+1]),o[a]=n(t[a],t[a+1]);return function(t){var n=de(e,t,1,r)-1;return o[n](i[n](t))}}function dt(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function ht(){var e,t,n,r,i,o,a=st,s=st,c=it,l=ct;function u(){var e,t,n,c=Math.min(a.length,s.length);return l!==ct&&(e=a[0],t=a[c-1],e>t&&(n=e,e=t,t=n),l=function(n){return Math.max(e,Math.min(t,n))}),r=c>2?ft:ut,i=o=null,f}function f(t){return null==t||isNaN(t=+t)?n:(i||(i=r(a.map(e),s,c)))(e(l(t)))}return f.invert=function(n){return l(t((o||(o=r(s,a.map(e),Ye)))(n)))},f.domain=function(e){return arguments.length?(a=Array.from(e,at),u()):a.slice()},f.range=function(e){return arguments.length?(s=Array.from(e),u()):s.slice()},f.rangeRound=function(e){return s=Array.from(e),c=ot,u()},f.clamp=function(e){return arguments.length?(l=!!e||ct,u()):l!==ct},f.interpolate=function(e){return arguments.length?(c=e,u()):c},f.unknown=function(e){return arguments.length?(n=e,f):n},function(n,r){return e=n,t=r,u()}}function pt(){return ht()(ct,ct)}var mt,yt=n(25758),gt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function vt(e){if(!(t=gt.exec(e)))throw new Error("invalid format: "+e);var t;return new bt({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function bt(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}
vendor: 3,033 bytes, line 2
2function wt(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function xt(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function St(e){return(e=xt(Math.abs(e)))?e[1]:NaN}function kt(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(St(t)/3)))-St(Math.abs(e)))}function Et(e,t){return function(n,r){for(var i=n.length,o=[],a=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),o.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(t)}}function _t(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}function Ct(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}function At(e,t){var n=xt(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(mt=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+xt(e,Math.max(0,t+o-1))[0]}function Tt(e,t){var n=xt(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}vt.prototype=bt.prototype,bt.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type},n.dn(wt),n.dn(St),n.dn(kt),n.dn(Et),n.dn(_t),n.dn(Ct),n.dn(At),n.dn(Tt);const Pt={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:wt,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Tt(100*e,t),r:Tt,s:At,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Ot(e){return e}n.dn(Ot),n.dn(jt);var Mt,It,Rt,Dt=Array.prototype.map,Nt=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function jt(e){var t=void 0===e.grouping||void 0===e.thousands?Ot:Et(Dt.call(e.grouping,Number),e.thousands+""),n=void 0===e.currency?"":e.currency[0]+"",r=void 0===e.currency?"":e.currency[1]+"",i=void 0===e.decimal?".":e.decimal+"",o=void 0===e.numerals?Ot:_t(Dt.call(e.numerals,String)),a=void 0===e.percent?"%":e.percent+"",s=void 0===e.minus?"−":e.minus+"",c=void 0===e.nan?"NaN":e.nan+"";function l(e){var l=(e=vt(e)).fill,u=e.align,f=e.sign,d=e.symbol,h=e.zero,p=e.width,m=e.comma,y=e.precision,g=e.trim,v=e.type;"n"===v?(m=!0,v="g"):Pt[v]||(void 0===y&&(y=12),g=!0,v="g"),(h||"0"===l&&"="===u)&&(h=!0,l="0",u="=");var b="$"===d?n:"#"===d&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",w="$"===d?r:/[%p]/.test(v)?a:"",x=Pt[v],S=/[defgprs%]/.test(v);function k(e){var n,r,a,d=b,k=w;if("c"===v)k=x(e)+k,e="";else{var E=(e=+e)<0||1/e<0;
vendor: 12,072 bytes, line 2
2if(e=isNaN(e)?c:x(Math.abs(e),y),g&&(e=Ct(e)),E&&0===+e&&"+"!==f&&(E=!1),d=(E?"("===f?f:s:"-"===f||"("===f?"":f)+d,k=("s"===v?Nt[8+mt/3]:"")+k+(E&&"("===f?")":""),S)for(n=-1,r=e.length;++n<r;)if(48>(a=e.charCodeAt(n))||a>57){k=(46===a?i+e.slice(n+1):e.slice(n))+k,e=e.slice(0,n);break}}m&&!h&&(e=t(e,1/0));var _=d.length+e.length+k.length,C=_<p?new Array(p-_+1).join(l):"";switch(m&&h&&(e=t(C+e,C.length?p-k.length:1/0),C=""),u){case"<":e=d+e+k+C;break;case"=":e=d+C+e+k;break;case"^":e=C.slice(0,_=C.length>>1)+d+e+k+C.slice(_);break;default:e=C+d+e+k}return o(e)}return y=void 0===y?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),k.toString=function(){return e+""},k}return{format:l,formatPrefix:function(e,t){var n=l(((e=vt(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(St(t)/3))),i=Math.pow(10,-r),o=Nt[8+r/3];return function(e){return n(i*e)+o}}}}function Ft(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,St(t)-St(e))+1}function Lt(e){return Math.max(0,-St(Math.abs(e)))}function Bt(e,t,n,r){var i,o=ae(e,t,n);switch((r=vt(r??",f")).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(i=kt(o,a))||(r.precision=i),Rt(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=Ft(o,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=Lt(o))||(r.precision=i-2*("%"===r.type))}return It(r)}function zt(e){var t=e.domain;return e.ticks=function(e){var n=t();return ie(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return Bt(r[0],r[r.length-1],e??10,n)},e.nice=function(n){null==n&&(n=10);var r,i,o=t(),a=0,s=o.length-1,c=o[a],l=o[s],u=10;for(l<c&&(i=c,c=l,l=i,i=a,a=s,s=i);u-- >0;){if((i=oe(c,l,n))===r)return o[a]=c,o[s]=l,t(o);if(i>0)c=Math.floor(c/i)*i,l=Math.ceil(l/i)*i;else{if(!(i<0))break;c=Math.ceil(c*i)/i,l=Math.floor(l*i)/i}r=i}return e},e}function Vt(){var e=pt();return e.copy=function(){return dt(e,Vt())},yt.C.apply(e,arguments),zt(e)}function Ut(e){var t;function n(e){return null==e||isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,at),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return Ut(e).unknown(t)},e=arguments.length?Array.from(e,at):[0,1],zt(n)}function $t(e,t){var n,r=0,i=(e=e.slice()).length-1,o=e[r],a=e[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),e[r]=t.floor(o),e[i]=t.ceil(a),e}function Ht(e){return Math.log(e)}function qt(e){return Math.exp(e)}function Wt(e){return-Math.log(-e)}function Gt(e){return-Math.exp(-e)}function Kt(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Qt(e){return function(t){return-e(-t)}}function Jt(e){var t,n,r=e(Ht,qt),i=r.domain,o=10;function a(){return t=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}(o),n=function(e){return 10===e?Kt:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}(o),i()[0]<0?(t=Qt(t),n=Qt(n),e(Wt,Gt)):e(Ht,qt),r}return r.base=function(e){return arguments.length?(o=+e,a()):o},r.domain=function(e){return arguments.length?(i(e),a()):i()},r.ticks=function(e){var r,a=i(),s=a[0],c=a[a.length-1];(r=c<s)&&(d=s,s=c,c=d);var l,u,f,d=t(s),h=t(c),p=null==e?10:+e,m=[];if(!(o%1)&&h-d<p){if(d=Math.floor(d),h=Math.ceil(h),s>0){for(;d<=h;++d)for(u=1,l=n(d);u<o;++u)if(!((f=l*u)<s)){if(f>c)break;m.push(f)}}else for(;d<=h;++d)for(u=o-1,l=n(d);u>=1;--u)if(!((f=l*u)<s)){if(f>c)break;m.push(f)}2*m.length<p&&(m=ie(s,c,p))}else m=ie(d,h,Math.min(h-d,p)).map(n);return r?m.reverse():m},r.tickFormat=function(e,i){if(null==i&&(i=10===o?".0e":","),"function"!=typeof i&&(i=It(i)),e===1/0)return i;null==e&&(e=10);var a=Math.max(1,o*e/r.ticks().length);return function(e){var r=e/n(Math.round(t(e)));return r*o<o-.5&&(r*=o),r<=a?i(e):""}},r.nice=function(){return i($t(i(),{floor:function(e){return n(Math.floor(t(e)))},ceil:function(e){return n(Math.ceil(t(e)))}}))},r}function Xt(){var e=Jt(ht()).domain([1,10]);return e.copy=function(){return dt(e,Xt()).base(e.base())},yt.C.apply(e,arguments),e}function Yt(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function Zt(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function en(e){var t=1,n=e(Yt(t),Zt(t));return n.constant=function(n){return arguments.length?e(Yt(t=+n),Zt(t)):t},zt(n)}function tn(){var e=en(ht());return e.copy=function(){return dt(e,tn()).constant(e.constant())},yt.C.apply(e,arguments)}Mt=jt({thousands:",",grouping:[3],currency:["$",""]}),It=Mt.format,Rt=Mt.formatPrefix,n.dn(Ft),n.dn(Lt);var nn=n(16527);function rn(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function on(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function an(e){return e<0?-e*e:e*e}function sn(e){var t=e(ct,ct),n=1;return t.exponent=function(t){return arguments.length?1===(n=+t)?e(ct,ct):.5===n?e(on,an):e(rn(n),rn(1/n)):n},zt(t)}function cn(){var e=sn(ht());return e.copy=function(){return dt(e,cn()).exponent(e.exponent())},yt.C.apply(e,arguments),e}function ln(){return cn.apply(null,arguments).exponent(.5)}function un(e){return Math.sign(e)*e*e}function fn(){var e,t=pt(),n=[0,1],r=!1;function i(n){var i=function(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}(t(n));return isNaN(i)?e:r?Math.round(i):i}return i.invert=function(e){return t.invert(un(e))},i.domain=function(e){return arguments.length?(t.domain(e),i):t.domain()},i.range=function(e){return arguments.length?(t.range((n=Array.from(e,at)).map(un)),i):n.slice()},i.rangeRound=function(e){return i.range(e).round(!0)},i.round=function(e){return arguments.length?(r=!!e,i):r},i.clamp=function(e){return arguments.length?(t.clamp(e),i):t.clamp()},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return fn(t.domain(),n).round(r).clamp(t.clamp()).unknown(e)},yt.C.apply(i,arguments),zt(i)}function dn(e,t){let n;if(void 0===t)for(const t of e)null!=t&&(n<t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}function hn(e,t){let n;if(void 0===t)for(const t of e)null!=t&&(n>t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function pn(e,t,n=0,r=e.length-1,i=se){for(;r>n;){if(r-n>600){const o=r-n+1,a=t-n+1,s=Math.log(o),c=.5*Math.exp(2*s/3),l=.5*Math.sqrt(s*c*(o-c)/o)*(a-o/2<0?-1:1);pn(e,t,Math.max(n,Math.floor(t-a*c/o+l)),Math.min(r,Math.floor(t+(o-a)*c/o+l)),i)}const o=e[t];let a=n,s=r;for(mn(e,n,t),i(e[r],o)>0&&mn(e,n,r);a<s;){for(mn(e,a,s),++a,--s;i(e[a],o)<0;)++a;for(;i(e[s],o)>0;)--s}0===i(e[n],o)?mn(e,n,s):(++s,mn(e,s,r)),s<=t&&(n=s+1),t<=s&&(r=s-1)}return e}function mn(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function yn(e,t,n){if(e=Float64Array.from(function*(e,t){if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&(yield t);else{let n=-1;for(let r of e)null!=(r=t(r,++n,e))&&(r=+r)>=r&&(yield r)}}(e,n)),r=e.length){if((t=+t)<=0||r<2)return hn(e);if(t>=1)return dn(e);var r,i=(r-1)*t,o=Math.floor(i),a=dn(pn(e,o).subarray(0,o+1));return a+(hn(e.subarray(o+1))-a)*(i-o)}}function gn(e,t,n=le){if(r=e.length){if((t=+t)<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,o=Math.floor(i),a=+n(e[o],o,e);return a+(+n(e[o+1],o+1,e)-a)*(i-o)}}function vn(){var e,t=[],n=[],r=[];function i(){var e=0,i=Math.max(1,n.length);for(r=new Array(i-1);++e<i;)r[e-1]=gn(t,e/i);return o}function o(t){return null==t||isNaN(t=+t)?e:n[de(r,t)]}return o.invertExtent=function(e){var i=n.indexOf(e);return i<0?[NaN,NaN]:[i>0?r[i-1]:t[0],i<r.length?r[i]:t[t.length-1]]},o.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let n of e)null==n||isNaN(n=+n)||t.push(n);return t.sort(se),i()},o.range=function(e){return arguments.length?(n=Array.from(e),i()):n.slice()},o.unknown=function(t){return arguments.length?(e=t,o):e},o.quantiles=function(){return r.slice()},o.copy=function(){return vn().domain(t).range(n).unknown(e)},yt.C.apply(o,arguments)}function bn(){var e,t=0,n=1,r=1,i=[.5],o=[0,1];function a(t){return null!=t&&t<=t?o[de(i,t,0,r)]:e}function s(){var e=-1;for(i=new Array(r);++e<r;)i[e]=((e+1)*n-(e-r)*t)/(r+1);return a}return a.domain=function(e){return arguments.length?([t,n]=e,t=+t,n=+n,s()):[t,n]},a.range=function(e){return arguments.length?(r=(o=Array.from(e)).length-1,s()):o.slice()},a.invertExtent=function(e){var a=o.indexOf(e);return a<0?[NaN,NaN]:a<1?[t,i[0]]:a>=r?[i[r-1],n]:[i[a-1],i[a]]},a.unknown=function(t){return arguments.length?(e=t,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return bn().domain([t,n]).range(o).unknown(e)},yt.C.apply(zt(a),arguments)}function wn(){var e,t=[.5],n=[0,1],r=1;function i(i){return null!=i&&i<=i?n[de(t,i,0,r)]:e}return i.domain=function(e){return arguments.length?(t=Array.from(e),r=Math.min(t.length,n.length-1),i):t.slice()},i.range=function(e){return arguments.length?(n=Array.from(e),r=Math.min(t.length,n.length-1),i):n.slice()},i.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return wn().domain(t).range(n).unknown(e)},yt.C.apply(i,arguments)}const xn=36e5,Sn=864e5,kn=6048e5,En=31536e6;var _n=new Date,Cn=new Date;function An(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},i.range=function(n,r,o){var a,s=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return s;do{s.push(a=new Date(+n)),t(n,o),e(n)}while(a<n&&n<r);return s},i.filter=function(n){return An(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(i.count=function(t,r){return _n.setTime(+t),Cn.setTime(+r),e(_n),e(Cn),Math.floor(n(_n,Cn))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e===0}:function(t){return i.count(0,t)%e===0}):i:null}),i}var Tn=An(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});Tn.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?An(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):Tn:null};const Pn=Tn;Tn.range;var On=An(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+1e3*t)},function(e,t){return(t-e)/1e3},function(e){return e.getUTCSeconds()});const Mn=On;On.range;var In=An(function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds())},function(e,t){e.setTime(+e+6e4*t)},function(e,t){return(t-e)/6e4},function(e){return e.getMinutes()});const Rn=In;In.range;var Dn=An(function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds()-6e4*e.getMinutes())},function(e,t){e.setTime(+e+t*xn)},function(e,t){return(t-e)/xn},function(e){return e.getHours()});const Nn=Dn;Dn.range;var jn=An(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/Sn,e=>e.getDate()-1);const Fn=jn;function Ln(e){return An(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/kn})}jn.range;var Bn=Ln(0),zn=Ln(1),Vn=Ln(2),Un=Ln(3),$n=Ln(4),Hn=Ln(5),qn=Ln(6),Wn=(Bn.range,zn.range,Vn.range,Un.range,$n.range,Hn.range,qn.range,An(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()}));const Gn=Wn;Wn.range;var Kn=An(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});
2Kn.every=function(e){return isFinite(e=Math.floor(e))&&e>0?An(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};const Qn=Kn;Kn.range;var Jn=An(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+6e4*t)},function(e,t){return(t-e)/6e4},function(e){return e.getUTCMinutes()});const Xn=Jn;Jn.range;var Yn=An(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*xn)},function(e,t){return(t-e)/xn},function(e){return e.getUTCHours()});const Zn=Yn;Yn.range;var er=An(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/Sn},function(e){return e.getUTCDate()-1});const tr=er;function nr(e){return An(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/kn})}er.range;var rr=nr(0),ir=nr(1),or=nr(2),ar=nr(3),sr=nr(4),cr=nr(5),lr=nr(6),ur=(rr.range,ir.range,or.range,ar.range,sr.range,cr.range,lr.range,An(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()}));const fr=ur;ur.range;var dr=An(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});dr.every=function(e){return isFinite(e=Math.floor(e))&&e>0?An(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};const hr=dr;function pr(e,t,n,r,i,o){const a=[[Mn,1,1e3],[Mn,5,5e3],[Mn,15,15e3],[Mn,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,xn],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,Sn],[r,2,1728e5],[n,1,kn],[t,1,2592e6],[t,3,7776e6],[e,1,En]];function s(t,n,r){const i=Math.abs(n-t)/r,o=ce(([,,e])=>e).right(a,i);if(o===a.length)return e.every(ae(t/En,n/En,r));if(0===o)return Pn.every(Math.max(ae(t,n,r),1));const[s,c]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return s.every(c)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const i=n&&"function"==typeof n.range?n:s(e,t,n),o=i?i.range(e,+t+1):[];return r?o.reverse():o},s]}dr.range;const[mr,yr]=pr(hr,fr,rr,tr,Zn,Xn),[gr,vr]=pr(Qn,Gn,Bn,Fn,Nn,Rn);function br(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function wr(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function xr(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var Sr,kr,Er,_r={"-":"",_:" ",0:"0"},Cr=/^\s*\d+/,Ar=/^%/,Tr=/[\\^$*+?|[\]().{}]/g;function Pr(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(t)+i:i)}function Or(e){return e.replace(Tr,"\\$&")}function Mr(e){return new RegExp("^(?:"+e.map(Or).join("|")+")","i")}function Ir(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function Rr(e,t,n){var r=Cr.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Dr(e,t,n){var r=Cr.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Nr(e,t,n){var r=Cr.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function jr(e,t,n){var r=Cr.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Fr(e,t,n){var r=Cr.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Lr(e,t,n){var r=Cr.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Br(e,t,n){var r=Cr.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function zr(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Vr(e,t,n){var r=Cr.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Ur(e,t,n){var r=Cr.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function $r(e,t,n){var r=Cr.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Hr(e,t,n){var r=Cr.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function qr(e,t,n){var r=Cr.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Wr(e,t,n){var r=Cr.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Gr(e,t,n){var r=Cr.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Kr(e,t,n){var r=Cr.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Qr(e,t,n){var r=Cr.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Jr(e,t,n){var r=Ar.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Xr(e,t,n){var r=Cr.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Yr(e,t,n){var r=Cr.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Zr(e,t){return Pr(e.getDate(),t,2)}function ei(e,t){return Pr(e.getHours(),t,2)}function ti(e,t){return Pr(e.getHours()%12||12,t,2)}function ni(e,t){return Pr(1+Fn.count(Qn(e),e),t,3)}function ri(e,t){return Pr(e.getMilliseconds(),t,3)}function ii(e,t){return ri(e,t)+"000"}function oi(e,t){return Pr(e.getMonth()+1,t,2)}function ai(e,t){return Pr(e.getMinutes(),t,2)}function si(e,t){return Pr(e.getSeconds(),t,2)}function ci(e){var t=e.getDay();return 0===t?7:t}function li(e,t){return Pr(Bn.count(Qn(e)-1,e),t,2)}function ui(e){var t=e.getDay();return t>=4||0===t?$n(e):$n.ceil(e)}function fi(e,t){return e=ui(e),Pr($n.count(Qn(e),e)+(4===Qn(e).getDay()),t,2)}function di(e){return e.getDay()}function hi(e,t){return Pr(zn.count(Qn(e)-1,e),t,2)}function pi(e,t){return Pr(e.getFullYear()%100,t,2)}function mi(e,t){return Pr((e=ui(e)).getFullYear()%100,t,2)}function yi(e,t){return Pr(e.getFullYear()%1e4,t,4)}function gi(e,t){var n=e.getDay();return Pr((e=n>=4||0===n?$n(e):$n.ceil(e)).getFullYear()%1e4,t,4)}function vi(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Pr(t/60|0,"0",2)+Pr(t%60,"0",2)}function bi(e,t){return Pr(e.getUTCDate(),t,2)}function wi(e,t){return Pr(e.getUTCHours(),t,2)}function xi(e,t){return Pr(e.getUTCHours()%12||12,t,2)}function Si(e,t){return Pr(1+tr.count(hr(e),e),t,3)}function ki(e,t){return Pr(e.getUTCMilliseconds(),t,3)}function Ei(e,t){return ki(e,t)+"000"}function _i(e,t){return Pr(e.getUTCMonth()+1,t,2)}function Ci(e,t){return Pr(e.getUTCMinutes(),t,2)}function Ai(e,t){return Pr(e.getUTCSeconds(),t,2)}function Ti(e){var t=e.getUTCDay();return 0===t?7:t}function Pi(e,t){return Pr(rr.count(hr(e)-1,e),t,2)}function Oi(e){var t=e.getUTCDay();return t>=4||0===t?sr(e):sr.ceil(e)}function Mi(e,t){return e=Oi(e),Pr(sr.count(hr(e),e)+(4===hr(e).getUTCDay()),t,2)}function Ii(e){return e.getUTCDay()}function Ri(e,t){return Pr(ir.count(hr(e)-1,e),t,2)}function Di(e,t){return Pr(e.getUTCFullYear()%100,t,2)}function Ni(e,t){return Pr((e=Oi(e)).getUTCFullYear()%100,t,2)}function ji(e,t){return Pr(e.getUTCFullYear()%1e4,t,4)}function Fi(e,t){var n=e.getUTCDay();return Pr((e=n>
vendor: 7,490 bytes, line 2
2=4||0===n?sr(e):sr.ceil(e)).getUTCFullYear()%1e4,t,4)}function Li(){return"+0000"}function Bi(){return"%"}function zi(e){return+e}function Vi(e){return Math.floor(+e/1e3)}function Ui(e){return new Date(e)}function $i(e){return e instanceof Date?+e:+new Date(+e)}function Hi(e,t,n,r,i,o,a,s,c,l){var u=pt(),f=u.invert,d=u.domain,h=l(".%L"),p=l(":%S"),m=l("%I:%M"),y=l("%I %p"),g=l("%a %d"),v=l("%b %d"),b=l("%B"),w=l("%Y");function x(e){return(c(e)<e?h:s(e)<e?p:a(e)<e?m:o(e)<e?y:r(e)<e?i(e)<e?g:v:n(e)<e?b:w)(e)}return u.invert=function(e){return new Date(f(e))},u.domain=function(e){return arguments.length?d(Array.from(e,$i)):d().map(Ui)},u.ticks=function(t){var n=d();return e(n[0],n[n.length-1],t??10)},u.tickFormat=function(e,t){return null==t?x:l(t)},u.nice=function(e){var n=d();return e&&"function"==typeof e.range||(e=t(n[0],n[n.length-1],e??10)),e?d($t(n,e)):u},u.copy=function(){return dt(u,Hi(e,t,n,r,i,o,a,s,c,l))},u}function qi(){return yt.C.apply(Hi(gr,vr,Qn,Gn,Bn,Fn,Nn,Rn,Mn,kr).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Wi(){return yt.C.apply(Hi(mr,yr,hr,fr,rr,tr,Zn,Xn,Mn,Er).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Gi(){var e,t,n,r,i,o=0,a=1,s=ct,c=!1;function l(t){return null==t||isNaN(t=+t)?i:s(0===n?.5:(t=(r(t)-e)*n,c?Math.max(0,Math.min(1,t)):t))}function u(e){return function(t){var n,r;return arguments.length?([n,r]=t,s=e(n,r),l):[s(0),s(1)]}}return l.domain=function(i){return arguments.length?([o,a]=i,e=r(o=+o),t=r(a=+a),n=e===t?0:1/(t-e),l):[o,a]},l.clamp=function(e){return arguments.length?(c=!!e,l):c},l.interpolator=function(e){return arguments.length?(s=e,l):s},l.range=u(it),l.rangeRound=u(ot),l.unknown=function(e){return arguments.length?(i=e,l):i},function(i){return r=i,e=i(o),t=i(a),n=e===t?0:1/(t-e),l}}function Ki(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function Qi(){var e=zt(Gi()(ct));return e.copy=function(){return Ki(e,Qi())},yt.K.apply(e,arguments)}function Ji(){var e=Jt(Gi()).domain([1,10]);return e.copy=function(){return Ki(e,Ji()).base(e.base())},yt.K.apply(e,arguments)}function Xi(){var e=en(Gi());return e.copy=function(){return Ki(e,Xi()).constant(e.constant())},yt.K.apply(e,arguments)}function Yi(){var e=sn(Gi());return e.copy=function(){return Ki(e,Yi()).exponent(e.exponent())},yt.K.apply(e,arguments)}function Zi(){return Yi.apply(null,arguments).exponent(.5)}function eo(){var e=[],t=ct;function n(n){if(null!=n&&!isNaN(n=+n))return t((de(e,n,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)null==n||isNaN(n=+n)||e.push(n);return e.sort(se),n},n.interpolator=function(e){return arguments.length?(t=e,n):t},n.range=function(){return e.map((n,r)=>t(r/(e.length-1)))},n.quantiles=function(t){return Array.from({length:t+1},(n,r)=>yn(e,r/t))},n.copy=function(){return eo(t).domain(e)},yt.K.apply(n,arguments)}function to(){var e,t,n,r,i,o,a,s=0,c=.5,l=1,u=1,f=ct,d=!1;function h(e){return isNaN(e=+e)?a:(e=.5+((e=+o(e))-t)*(u*e<u*t?r:i),f(d?Math.max(0,Math.min(1,e)):e))}function p(e){return function(t){var n,r,i;return arguments.length?([n,r,i]=t,f=function(e,t){void 0===t&&(t=e,e=it);for(var n=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);n<r;)o[n]=e(i,i=t[++n]);return function(e){var t=Math.max(0,Math.min(r-1,Math.floor(e*=r)));return o[t](e-t)}}(e,[n,r,i]),h):[f(0),f(.5),f(1)]}}return h.domain=function(a){return arguments.length?([s,c,l]=a,e=o(s=+s),t=o(c=+c),n=o(l=+l),r=e===t?0:.5/(t-e),i=t===n?0:.5/(n-t),u=t<e?-1:1,h):[s,c,l]},h.clamp=function(e){return arguments.length?(d=!!e,h):d},h.interpolator=function(e){return arguments.length?(f=e,h):f},h.range=p(it),h.rangeRound=p(ot),h.unknown=function(e){return arguments.length?(a=e,h):a},function(a){return o=a,e=a(s),t=a(c),n=a(l),r=e===t?0:.5/(t-e),i=t===n?0:.5/(n-t),u=t<e?-1:1,h}}function no(){var e=zt(to()(ct));return e.copy=function(){return Ki(e,no())},yt.K.apply(e,arguments)}function ro(){var e=Jt(to()).domain([.1,1,10]);return e.copy=function(){return Ki(e,ro()).base(e.base())},yt.K.apply(e,arguments)}function io(){var e=en(to());return e.copy=function(){return Ki(e,io()).constant(e.constant())},yt.K.apply(e,arguments)}function oo(){var e=sn(to());return e.copy=function(){return Ki(e,oo()).exponent(e.exponent())},yt.K.apply(e,arguments)}function ao(){return oo.apply(null,arguments).exponent(.5)}function so(e,t){if((i=e.length)>1)for(var n,r,i,o=1,a=e[t[0]],s=a.length;o<i;++o)for(r=a,a=e[t[o]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function co(e,t){if((r=e.length)>0){for(var n,r,i,o=0,a=e[0].length;o<a;++o){for(i=n=0;n<r;++n)i+=e[n][o][1]||0;if(i)for(n=0;n<r;++n)e[n][o][1]/=i}so(e,t)}}function lo(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],o=i.length;r<o;++r){for(var a=0,s=0;a<n;++a)s+=e[a][r][1]||0;i[r][1]+=i[r][0]=-s/2}so(e,t)}}function uo(e,t){if((i=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,o=0,a=1;a<r;++a){for(var s=0,c=0,l=0;s<i;++s){for(var u=e[t[s]],f=u[a][1]||0,d=(f-(u[a-1][1]||0))/2,h=0;h<s;++h){var p=e[t[h]];d+=(p[a][1]||0)-(p[a-1][1]||0)}c+=f,l+=d*f}n[a-1][1]+=n[a-1][0]=o,c&&(o-=l/c)}n[a-1][1]+=n[a-1][0]=o,so(e,t)}}Sr=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,c=e.shortMonths,l=Mr(i),u=Ir(i),f=Mr(o),d=Ir(o),h=Mr(a),p=Ir(a),m=Mr(s),y=Ir(s),g=Mr(c),v=Ir(c),b={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:Zr,e:Zr,f:ii,g:mi,G:gi,H:ei,I:ti,j:ni,L:ri,m:oi,M:ai,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:zi,s:Vi,S:si,u:ci,U:li,V:fi,w:di,W:hi,x:null,X:null,y:pi,Y:yi,Z:vi,"%":Bi},w={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:bi,e:bi,f:Ei,g:Ni,G:Fi,H:wi,I:xi,j:Si,L:ki,m:_i,M:Ci,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:zi,s:Vi,S:Ai,u:Ti,U:Pi,V:Mi,w:Ii,W:Ri,x:null,X:null,y:Di,Y:ji,Z:Li,"%":Bi},x={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=d.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return E(e,t,n,r)},d:$r,e:$r,f:Qr,g:Br,G:Lr,H:qr,I:qr,j:Hr,L:Kr,m:Ur,M:Wr,p:function(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:Vr,Q:Xr,s:Yr,S:Gr,u:Dr,U:Nr,V:jr,w:Rr,W:Fr,x:function(e,t,r){return E(e,n,t,r)},X:function(e,t,n){return E(e,r,t,n)},y:Br,Y:Lr,Z:zr,"%":Jr};function S(e,t){return function(n){var r,i,o,a=[],s=-1,c=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++s<l;)37===e.charCodeAt(s)&&(a.push(e.slice(c,s)),null!=(i=_r[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(o=t[r])&&(r=o(n,i)),a.push(r),c=s+1);return a.push(e.slice(c,s)),a.join("")}}function k(e,t){return function(n){var r,i,o=xr(1900,void 0,1);if(E(o,e,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){
2if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=wr(xr(o.y,0,1))).getUTCDay(),r=i>4||0===i?ir.ceil(r):ir(r),r=tr.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=br(xr(o.y,0,1))).getDay(),r=i>4||0===i?zn.ceil(r):zn(r),r=Fn.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?wr(xr(o.y,0,1)).getUTCDay():br(xr(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,wr(o)):br(o)}}function E(e,t,n,r){for(var i,o,a=0,s=t.length,c=n.length;a<s;){if(r>=c)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=x[i in _r?t.charAt(a++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return b.x=S(n,b),b.X=S(r,b),b.c=S(t,b),w.x=S(n,w),w.X=S(r,w),w.c=S(t,w),{format:function(e){var t=S(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+="",w);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}({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"]}),kr=Sr.format,Sr.parse,Er=Sr.utcFormat,Sr.utcParse,n.dn(so),n.dn(co),n.dn(lo),n.dn(uo);var fo=n(12736),ho=n(84653);function po(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function mo(e,t){return e[t]}function yo(e){const t=[];return t.key=e,t}function go(){var e=(0,ho.A)([]),t=po,n=so,r=mo;function i(i){var o,a,s=Array.from(e.apply(this,arguments),yo),c=s.length,l=-1;for(const e of i)for(o=0,++l;o<c;++o)(s[o][l]=[0,+r(e,s[o].key,l,i)]).data=e;for(o=0,a=(0,fo.A)(t(s));o<c;++o)s[a[o]].index=o;return n(s,a),s}return i.keys=function(t){return arguments.length?(e="function"==typeof t?t:(0,ho.A)(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r="function"==typeof e?e:(0,ho.A)(+e),i):r},i.order=function(e){return arguments.length?(t=null==e?po:"function"==typeof e?e:(0,ho.A)(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=e??so,i):n},i}n.dn(po),n.dn(go);var vo=n(59744),bo=n(6580),wo=n(94501),xo=n(98940);function So(e){return function(e){if(Array.isArray(e))return ko(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ko(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ko(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ko(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Eo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Eo(Object(n),!0).forEach(function(t){Co(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Co(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ao(e,t,n){return A()(e)||A()(t)?n:(0,vo.vh)(t)?_()(e,t,n):k()(t)?t(e):n}function To(e,t,n,r){var i=x()(e,function(e){return Ao(e,t)});if("number"===n){var o=i.filter(function(e){return(0,vo.Et)(e)||parseFloat(e)});return o.length?[b()(o),g()(o)]:[1/0,-1/0]}return(r?i.filter(function(e){return!A()(e)}):i).map(function(e){return(0,vo.vh)(e)||e instanceof Date?e:""})}var Po=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!==(t=null==n?void 0:n.length)&&void 0!==t?t:0;if(a>1){if(i&&"angleAxis"===i.axisType&&Math.abs(Math.abs(i.range[1]-i.range[0])-360)<=1e-6)for(var s=i.range,c=0;c<a;c++){var l=c>0?r[c-1].coordinate:r[a-1].coordinate,u=r[c].coordinate,f=c>=a-1?r[0].coordinate:r[c+1].coordinate,d=void 0;if((0,vo.sA)(u-l)!==(0,vo.sA)(f-u)){var h=[];if((0,vo.sA)(f-u)===(0,vo.sA)(s[1]-s[0])){d=f;var p=u+s[1]-s[0];h[0]=Math.min(p,(p+l)/2),h[1]=Math.max(p,(p+l)/2)}else{d=l;var m=f+s[1]-s[0];h[0]=Math.min(u,(m+u)/2),h[1]=Math.max(u,(m+u)/2)}var y=[Math.min(u,(d+u)/2),Math.max(u,(d+u)/2)];if(e>y[0]&&e<=y[1]||e>=h[0]&&e<=h[1]){o=r[c].index;break}}else{var g=Math.min(l,f),v=Math.max(l,f);if(e>(g+u)/2&&e<=(v+u)/2){o=r[c].index;break}}}else for(var b=0;b<a;b++)if(0===b&&e<=(n[b].coordinate+n[b+1].coordinate)/2||b>0&&b<a-1&&e>(n[b].coordinate+n[b-1].coordinate)/2&&e<=(n[b].coordinate+n[b+1].coordinate)/2||b===a-1&&e>(n[b].coordinate+n[b-1].coordinate)/2){o=n[b].index;break}}else o=0;return o},Oo=function(e){var t,n=e.type.displayName,r=e.props,i=r.stroke,o=r.fill;switch(n){case"Line":t=i;break;case"Area":case"Radar":t=i&&"none"!==i?i:o;break;default:t=o}return t},Mo=function(e){var t,n=e.children,r=e.formattedGraphicalItems,i=e.legendWidth,o=e.legendContent,a=(0,wo.BU)(n,bo.s.displayName);return a?(t=a.props&&a.props.payload?a.props&&a.props.payload:"children"===o?(r||[]).reduce(function(e,t){var n=t.item,r=t.props,i=r.sectors||r.data||[];return e.concat(i.map(function(e){return{type:a.props.iconType||n.props.legendT
2ype,value:e.name,color:e.fill,payload:e}}))},[]):(r||[]).map(function(e){var t=e.item,n=t.props,r=n.dataKey,i=n.name,o=n.legendType;return{inactive:n.hide,dataKey:r,type:a.props.iconType||o||"square",color:Oo(t),value:i||r,payload:t.props}}),_o(_o(_o({},a.props),bo.s.getWithHeight(a,i)),{},{payload:t,item:a})):null},Io=function(e){var t=e.barSize,n=e.stackGroups,r=void 0===n?{}:n;if(!r)return{};for(var i={},o=Object.keys(r),a=0,s=o.length;a<s;a++)for(var c=r[o[a]].stackGroups,l=Object.keys(c),u=0,f=l.length;u<f;u++){var d=c[l[u]],h=d.items,p=d.cateAxisId,m=h.filter(function(e){return(0,wo.Mn)(e.type).indexOf("Bar")>=0});if(m&&m.length){var y=m[0].props.barSize,g=m[0].props[p];i[g]||(i[g]=[]),i[g].push({item:m[0],stackList:m.slice(1),barSize:A()(y)?t:y})}}return i},Ro=function(e){var t=e.barGap,n=e.barCategoryGap,r=e.bandSize,i=e.sizeList,o=void 0===i?[]:i,a=e.maxBarSize,s=o.length;if(s<1)return null;var c,l=(0,vo.F4)(t,r,0,!0);if(o[0].barSize===+o[0].barSize){var u=!1,f=r/s,d=o.reduce(function(e,t){return e+t.barSize||0},0);(d+=(s-1)*l)>=r&&(d-=(s-1)*l,l=0),d>=r&&f>0&&(u=!0,d=s*(f*=.9));var h={offset:((r-d)/2|0)-l,size:0};c=o.reduce(function(e,t){var n=[].concat(So(e),[{item:t.item,position:{offset:h.offset+h.size+l,size:u?f:t.barSize}}]);return h=n[n.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach(function(e){n.push({item:e,position:h})}),n},[])}else{var p=(0,vo.F4)(n,r,0,!0);r-2*p-(s-1)*l<=0&&(l=0);var m=(r-2*p-(s-1)*l)/s;m>1&&(m>>=0);var y=a===+a?Math.min(m,a):m;c=o.reduce(function(e,t,n){var r=[].concat(So(e),[{item:t.item,position:{offset:p+(m+l)*n+(m-y)/2,size:y}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach(function(e){r.push({item:e,position:r[r.length-1].position})}),r},[])}return c},Do=function(e,t,n,r){var i=n.children,o=n.width,a=n.margin,s=o-(a.left||0)-(a.right||0),c=Mo({children:i,legendWidth:s}),l=e;if(c){var u=r||{},f=c.align,d=c.verticalAlign,h=c.layout;("vertical"===h||"horizontal"===h&&"center"===d)&&(0,vo.Et)(e[f])&&(l=_o(_o({},e),{},Co({},f,l[f]+(u.width||0)))),("horizontal"===h||"vertical"===h&&"center"===f)&&(0,vo.Et)(e[d])&&(l=_o(_o({},e),{},Co({},d,l[d]+(u.height||0))))}return l},No=function(e,t,n,r,i){var o=t.props.children,a=(0,wo.aS)(o,"ErrorBar").filter(function(e){return function(e,t,n){return!!A()(t)||("horizontal"===e?"yAxis"===t:"vertical"===e||"x"===n?"xAxis"===t:"y"!==n||"yAxis"===t)}(r,i,e.props.direction)});if(a&&a.length){var s=a.map(function(e){return e.props.dataKey});return e.reduce(function(e,t){var r=Ao(t,n,0),i=m()(r)?[b()(r),g()(r)]:[r,r],o=s.reduce(function(e,n){var r=Ao(t,n,0),o=i[0]-Math.abs(m()(r)?r[0]:r),a=i[1]+Math.abs(m()(r)?r[1]:r);return[Math.min(o,e[0]),Math.max(a,e[1])]},[1/0,-1/0]);return[Math.min(o[0],e[0]),Math.max(o[1],e[1])]},[1/0,-1/0])}return null},jo=function(e,t,n,r,i){var o=t.map(function(t){return No(e,t,n,i,r)}).filter(function(e){return!A()(e)});return o&&o.length?o.reduce(function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]},[1/0,-1/0]):null},Fo=function(e,t,n,r,i){var o=t.map(function(t){var o=t.props.dataKey;return"number"===n&&o&&No(e,t,o,r)||To(e,o,n,i)});if("number"===n)return o.reduce(function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]},[1/0,-1/0]);var a={};return o.reduce(function(e,t){for(var n=0,r=t.length;n<r;n++)a[t[n]]||(a[t[n]]=!0,e.push(t[n]));return e},[])},Lo=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},Bo=function(e,t,n){var r,i,o=e.map(function(e){return e.coordinate===t&&(r=!0),e.coordinate===n&&(i=!0),e.coordinate});return r||o.push(t),i||o.push(n),o},zo=function(e,t,n){if(!e)return null;var r=e.scale,i=e.duplicateDomain,o=e.type,a=e.range,s="scaleBand"===e.realScaleType?r.bandwidth()/2:2,c=(t||n)&&"category"===o&&r.bandwidth?r.bandwidth()/s:0;return c="angleAxis"===e.axisType?2*(0,vo.sA)(a[0]-a[1])*c:c,t&&(e.ticks||e.niceTicks)?(e.ticks||e.niceTicks).map(function(e){var t=i?i.indexOf(e):e;return{coordinate:r(t)+c,value:e,offset:c}}):e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map(function(e,t){return{coordinate:r(e)+c,value:e,index:t,offset:c}}):r.ticks&&!n?r.ticks(e.tickCount).map(function(e){return{coordinate:r(e)+c,value:e,offset:c}}):r.domain().map(function(e,t){return{coordinate:r(e)+c,value:i?i[e]:e,index:t,offset:c}})},Vo=function(e,t,n){var r;return k()(n)?r=n:k()(t)&&(r=t),k()(e)||r?function(t,n,i,o){k()(e)&&e(t,n,i,o),k()(r)&&r(t,n,i,o)}:null},Uo=function(e,t,n){var i=e.scale,o=e.type,a=e.layout,s=e.axisType;
2if("auto"===i)return"radial"===a&&"radiusAxis"===s?{scale:ee.A(),realScaleType:"band"}:"radial"===a&&"angleAxis"===s?{scale:Vt(),realScaleType:"linear"}:"category"===o&&t&&(t.indexOf("LineChart")>=0||t.indexOf("AreaChart")>=0||t.indexOf("ComposedChart")>=0&&!n)?{scale:ee.z(),realScaleType:"point"}:"category"===o?{scale:ee.A(),realScaleType:"band"}:{scale:Vt(),realScaleType:"linear"};if(h()(i)){var c="scale".concat(f()(i));return{scale:(r[c]||ee.z)(),realScaleType:r[c]?c:"point"}}return k()(i)?{scale:i}:{scale:ee.z(),realScaleType:"point"}},$o=1e-4,Ho=function(e){var t=e.domain();if(t&&!(t.length<=2)){var n=t.length,r=e.range(),i=Math.min(r[0],r[1])-$o,o=Math.max(r[0],r[1])+$o,a=e(t[0]),s=e(t[n-1]);(a<i||a>o||s<i||s>o)&&e.domain([t[0],t[n-1]])}},qo={sign:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var i=0,o=0,a=0;a<t;++a){var s=l()(e[a][n][1])?e[a][n][0]:e[a][n][1];s>=0?(e[a][n][0]=i,e[a][n][1]=i+s,i=e[a][n][1]):(e[a][n][0]=o,e[a][n][1]=o+s,o=e[a][n][1])}},expand:co,none:so,silhouette:lo,wiggle:uo,positive:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var i=0,o=0;o<t;++o){var a=l()(e[o][n][1])?e[o][n][0]:e[o][n][1];a>=0?(e[o][n][0]=i,e[o][n][1]=i+a,i=e[o][n][1]):(e[o][n][0]=0,e[o][n][1]=0)}}},Wo=function(e,t,n){var r=t.map(function(e){return e.props.dataKey});return go().keys(r).value(function(e,t){return+Ao(e,t,0)}).order(po).offset(qo[n])(e)},Go=function(e,t,n,r,i,o){if(!e)return null;var a=(o?t.reverse():t).reduce(function(e,t){var i=t.props,o=i.stackId;if(i.hide)return e;var a=t.props[n],s=e[a]||{hasStack:!1,stackGroups:{}};if((0,vo.vh)(o)){var c=s.stackGroups[o]||{numericAxisId:n,cateAxisId:r,items:[]};c.items.push(t),s.hasStack=!0,s.stackGroups[o]=c}else s.stackGroups[(0,vo.NF)("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[t]};return _o(_o({},e),{},Co({},a,s))},{});return Object.keys(a).reduce(function(t,o){var s=a[o];return s.hasStack&&(s.stackGroups=Object.keys(s.stackGroups).reduce(function(t,o){var a=s.stackGroups[o];return _o(_o({},t),{},Co({},o,{numericAxisId:n,cateAxisId:r,items:a.items,stackedData:Wo(e,a.items,i)}))},{})),_o(_o({},t),{},Co({},o,s))},{})},Ko=function(e,t){var n=t.realScaleType,r=t.type,i=t.tickCount,o=t.originalDomain,a=t.allowDecimals,s=n||t.scale;if("auto"!==s&&"linear"!==s)return null;if(i&&"number"===r&&o&&("auto"===o[0]||"auto"===o[1])){var c=e.domain();if(!c.length)return null;var l=Y(c,i,a);return e.domain(function(e,t){return"number"===t?[b()(e),g()(e)]:e}(l,r)),{niceTicks:l}}if(i&&"number"===r){var u=e.domain();return{niceTicks:Z(u,i,a)}}return null},Qo=function(e){var t=e.axis,n=e.ticks,r=e.bandSize,i=e.entry,o=e.index,a=e.dataKey;if("category"===t.type){if(!t.allowDuplicatedCategory&&t.dataKey&&!A()(i[t.dataKey])){var s=(0,vo.eP)(n,"value",i[t.dataKey]);if(s)return s.coordinate+r/2}return n[o]?n[o].coordinate+r/2:null}var c=Ao(i,A()(a)?t.dataKey:a);return A()(c)?null:t.scale(c)},Jo=function(e,t){var n=e.props.stackId;if((0,vo.vh)(n)){var r=t[n];if(r&&r.items.length){for(var i=-1,o=0,a=r.items.length;o<a;o++)if(r.items[o]===e){i=o;break}return i>=0?r.stackedData[i]:null}}return null},Xo=function(e,t,n){return Object.keys(e).reduce(function(r,i){var o=e[i].stackedData.reduce(function(e,r){var i=r.slice(t,n+1).reduce(function(e,t){return[b()(t.concat([e[0]]).filter(vo.Et)),g()(t.concat([e[1]]).filter(vo.Et))]},[1/0,-1/0]);return[Math.min(e[0],i[0]),Math.max(e[1],i[1])]},[1/0,-1/0]);return[Math.min(o[0],r[0]),Math.max(o[1],r[1])]},[1/0,-1/0]).map(function(e){return e===1/0||e===-1/0?0:e})},Yo=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Zo=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,ea=function(e,t,n){if(k()(e))return e(t,n);if(!m()(e))return t;var r=[];if((0,vo.Et)(e[0]))r[0]=n?e[0]:Math.min(e[0],t[0]);else if(Yo.test(e[0])){var i=+Yo.exec(e[0])[1];r[0]=t[0]-i}else k()(e[0])?r[0]=e[0](t[0]):r[0]=t[0];if((0,vo.Et)(e[1]))r[1]=n?e[1]:Math.max(e[1],t[1]);else if(Zo.test(e[1])){var o=+Zo.exec(e[1])[1];r[1]=t[1]+o}else k()(e[1])?r[1]=e[1](t[1]):r[1]=t[1];return r},ta=function(e,t,n){if(e&&e.scale&&e.scale.bandwidth){var r=e.scale.bandwidth();if(!n||r>0)return r}if(e&&t&&t.length>=2){for(var i=s()(t,function(e){return e.coordinate}),o=1/0,a=1,c=i.length;a<c;a++){var l=i[a],u=i[a-1];o=Math.min((l.coordinate||0)-(u.coordinate||0),o)}return o===1/0?0:o}return n?void 0:0},na=function(e,t,n){return e&&e.length?o()(e,_()(n,"type.defaultProps.domain"))?t:e:t},ra=function(e,t){var n=e.props,r=n.dataKey,i=n.name,o=n.unit,a=n.formatter,s=n.tooltipType,c=n.chartType;return _o(_o({},(0,xo.J9)(e)),{},{dataKey:r,unit:o,formatter:a,name:i||r,color:Oo(e),value:Ao(t,r),type:s,payload:t,chartType:c})}}
2,81636(e,t,n){"use strict";n.d(t,{A3:()=>p,Pu:()=>h,Xk:()=>m});var r=n(59938);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l={widthCache:{},cacheCount:0},u={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},f=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","lineHeight","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"],d="recharts_measurement_span",h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||r.m.isSsr)return{width:0,height:0};var n="".concat(e),i=function(e){return Object.keys(e).reduce(function(t,n){return"".concat(t).concat((o=n,o.split("").reduce(function(e,t){return t===t.toUpperCase()?[].concat(s(e),["-",t.toLowerCase()]):[].concat(s(e),[t])},[]).join("")),":").concat((r=n,i=e[n],f.indexOf(r)>=0&&i===+i?"".concat(i,"px"):i),";");var r,i,o},"")}(t),a="".concat(n,"-").concat(i);if(l.widthCache[a])return l.widthCache[a];try{var c=document.getElementById(d);c||((c=document.createElement("span")).setAttribute("id",d),c.setAttribute("aria-hidden","true"),document.body.appendChild(c));var h=o(o({},u),t);Object.keys(h).map(function(e){return c.style[e]=h[e],e}),c.textContent=n;var p=c.getBoundingClientRect(),m={width:p.width,height:p.height};return l.widthCache[a]=m,++l.cacheCount>2e3&&(l.cacheCount=0,l.widthCache={}),m}catch(e){return{width:0,height:0}}},p=function(e){var t=e.ownerDocument.documentElement,n={top:0,left:0};return void 0!==e.getBoundingClientRect&&(n=e.getBoundingClientRect()),{top:n.top+window.pageYOffset-t.clientTop,left:n.left+window.pageXOffset-t.clientLeft}},m=function(e,t){return{chartX:Math.round(e.pageX-t.left),chartY:Math.round(e.pageY-t.top)}}},59744(e,t,n){"use strict";n.d(t,{CG:()=>x,Dj:()=>S,Et:()=>m,F4:()=>b,NF:()=>v,_3:()=>p,eP:()=>k,lX:()=>w,sA:()=>h,vh:()=>y});var r=n(29832),i=n.n(r),o=n(22645),a=n.n(o),s=n(56177),c=n.n(s),l=n(66419),u=n.n(l),f=n(93451),d=n.n(f),h=function(e){return 0===e?0:e>0?1:-1},p=function(e){return d()(e)&&e.indexOf("%")===e.length-1},m=function(e){return u()(e)&&!c()(e)},y=function(e){return m(e)||d()(e)},g=0,v=function(e){var t=++g;return"".concat(e||"").concat(t)},b=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!m(e)&&!d()(e))return r;if(p(e)){var o=e.indexOf("%");n=t*parseFloat(e.slice(0,o))/100}else n=+e;return c()(n)&&(n=r),i&&n>t&&(n=t),n},w=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},x=function(e){if(!a()(e))return!1;for(var t=e.length,n={},r=0;r<t;r++){if(n[e[r]])return!0;n[e[r]]=!0}return!1},S=function(e,t){return m(e)&&m(t)?function(n){return e+n*(t-e)}:function(){return t}};
2function k(e,t,n){return e&&e.length?e.find(function(e){return e&&("function"==typeof t?t(e):i()(e,t))===n}):null}},59938(e,t,n){"use strict";n.d(t,{m:()=>r});var r={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(e){return r[e]},set:function(e,t){if("string"==typeof e)r[e]=t;else{var n=Object.keys(e);n&&n.length&&n.forEach(function(t){r[t]=e[t]})}}}},86347(e,t,n){"use strict";n.d(t,{R:()=>r});var r=function(e,t){var n=e.alwaysShow,r=e.ifOverflow;return n&&(r="extendDomain"),r===t}},6634(e,t,n){"use strict";n.d(t,{R:()=>r});var r=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i]}},14040(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{IZ:()=>c,Kg:()=>a,yy:()=>u}),n(34743);var a=Math.PI/180,s=function(e){return 180*e/Math.PI},c=function(e,t,n,r){return{x:e+Math.cos(-a*r)*n,y:t+Math.sin(-a*r)*n}},l=function(e,t){var n=t.startAngle,r=t.endAngle,i=Math.floor(n/360),o=Math.floor(r/360);return e+360*Math.min(i,o)},u=function(e,t){var n=function(e,t){var n,r,i,o,a,c,l=e.x,u=e.y,f=t.cx,d=t.cy,h=(i=(n={x:l,y:u}).x,o=n.y,a=(r={x:f,y:d}).x,c=r.y,Math.sqrt(Math.pow(i-a,2)+Math.pow(o-c,2)));if(h<=0)return{radius:h};var p=(l-f)/h,m=Math.acos(p);return u>d&&(m=2*Math.PI-m),{radius:h,angle:s(m),angleInRadian:m}}({x:e.x,y:e.y},t),r=n.radius,o=n.angle,a=t.innerRadius,c=t.outerRadius;if(r<a||r>c)return!1;if(0===r)return!0;var u,f=function(e){var t=e.startAngle,n=e.endAngle,r=Math.floor(t/360),i=Math.floor(n/360),o=Math.min(r,i);return{startAngle:t-360*o,endAngle:n-360*o}}(t),d=f.startAngle,h=f.endAngle,p=o;if(d<=h){for(;p>h;)p-=360;for(;p<d;)p+=360;u=p>=d&&p<=h}else{for(;p>d;)p-=360;for(;p<h;)p+=360;u=p>=h&&p<=d}return u?i(i({},t),{},{radius:r,angle:l(p,t)}):null}},94501(e,t,n){"use strict";n.d(t,{AW:()=>P,BU:()=>S,Me:()=>k,Mn:()=>g,OV:()=>_,X_:()=>T,aS:()=>x,ee:()=>A});var r=n(93451),i=n.n(r),o=n(29832),a=n.n(o),s=n(34743),c=n.n(s),l=n(22645),u=n.n(l),f=n(96540),d=n(44363),h=n(59744),p=n(23521);function m(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var y={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},g=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":""},v=null,b=null,w=function e(t){if(t===v&&u()(b))return b;var n=[];return f.Children.forEach(t,function(t){c()(t)||((0,d.isFragment)(t)?n=n.concat(e(t.props.children)):n.push(t))}),b=n,v=t,n},x=function(e,t){var n=[],r=[];return r=u()(t)?t.map(function(e){return g(e)}):[g(t)],w(e).forEach(function(e){var t=a()(e,"type.displayName")||a()(e,"type.name");-1!==r.indexOf(t)&&n.push(e)}),n},S=function(e,t){var n=x(e,t);return n&&n[0]},k=function(e){if(!e||!e.props)return!1;var t=e.props,n=t.width,r=t.height;return!(!(0,h.Et)(n)||n<=0||!(0,h.Et)(r)||r<=0)},E=["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"],_=function e(t,n){if(t===n)return!0;var r=f.Children.count(t);if(r!==f.Children.count(n))return!1;if(0===r)return!0;
2if(1===r)return C(u()(t)?t[0]:t,u()(n)?n[0]:n);for(var i=0;i<r;i++){var o=t[i],a=n[i];if(u()(o)||u()(a)){if(!e(o,a))return!1}else if(!C(o,a))return!1}return!0},C=function(e,t){if(c()(e)&&c()(t))return!0;if(!c()(e)&&!c()(t)){var n=e.props||{},r=n.children,i=m(n,["children"]),o=t.props||{},a=o.children,s=m(o,["children"]);return r&&a?(0,p.b)(i,s)&&_(r,a):!r&&!a&&(0,p.b)(i,s)}return!1},A=function(e,t){var n=[],r={};return w(e).forEach(function(e,o){if(function(e){return e&&e.type&&i()(e.type)&&E.indexOf(e.type)>=0}(e))n.push(e);else if(e){var a=g(e.type),s=t[a]||{},c=s.handler,l=s.once;if(c&&(!l||!r[a])){var u=c(e,a,o);n.push(u),r[a]=!0}}}),n},T=function(e){var t=e&&e.type;return t&&y[t]?y[t]:null},P=function(e,t){return w(t).indexOf(e)}},23521(e,t,n){"use strict";function r(e,t){for(var n in e)if({}.hasOwnProperty.call(e,n)&&(!{}.hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var r in t)if({}.hasOwnProperty.call(t,r)&&!{}.hasOwnProperty.call(e,r))return!1;return!0}n.d(t,{b:()=>r})},98940(e,t,n){"use strict";n.d(t,{J9:()=>u,XC:()=>d,_U:()=>f});var r=n(3073),i=n.n(r),o=n(96540);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=["viewBox","children"],c=["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","type","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","enableBackground","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","points","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"],l=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onF
2ocus","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"],u=function(e,t,n){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var r=e;if((0,o.isValidElement)(e)&&(r=e.props),!i()(r))return null;var a={};return Object.keys(r).forEach(function(e){(c.includes(e)||n&&s.includes(e)||t&&l.includes(e))&&(a[e]=r[e])}),a},f=function(e,t){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var n=e;if((0,o.isValidElement)(e)&&(n=e.props),!i()(n))return null;var r={};return Object.keys(n).forEach(function(e){l.includes(e)&&(r[e]=t||function(t){return n[e](n,t)})}),r},d=function(e,t,n){if(!i()(e)||"object"!==a(e))return null;var r=null;return Object.keys(e).forEach(function(i){var o=e[i];l.includes(i)&&"function"==typeof o&&(r||(r={}),r[i]=function(e,t,n){return function(r){return e(t,n,r),null}}(o,t,n))}),r}},8064(e,t,n){var r=n(93114)(n(29793),"DataView");e.exports=r},36633(e,t,n){var r=n(59924),i=n(8674),o=n(91005),a=n(29553),s=n(98009);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},89067(e,t,n){var r=n(2794),i=n(1420),o=n(40159),a=n(97699),s=n(31387);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},52475(e,t,n){var r=n(93114)(n(29793),"Map");e.exports=r},9481(e,t,n){var r=n(93412),i=n(81298),o=n(42061),a=n(46625),s=n(10889);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},14368(e,t,n){var r=n(93114)(n(29793),"Promise");e.exports=r}
vendor: 2,172 bytes, line 2
2,18965(e,t,n){var r=n(93114)(n(29793),"Set");e.exports=r},44047(e,t,n){var r=n(9481),i=n(57776),o=n(56879);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},13645(e,t,n){var r=n(89067),i=n(45232),o=n(83862),a=n(89601),s=n(51981),c=n(58629);function l(e){var t=this.__data__=new r(e);this.size=t.size}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=s,l.prototype.set=c,e.exports=l},86965(e,t,n){var r=n(29793).Symbol;e.exports=r},54136(e,t,n){var r=n(29793).Uint8Array;e.exports=r},30651(e,t,n){var r=n(93114)(n(29793),"WeakMap");e.exports=r},35317(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},52881(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}},49454(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}},64697(e,t,n){var r=n(88791);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},24429(e){e.exports=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}},94771(e,t,n){var r=n(6180),i=n(93488),o=n(22645),a=n(47380),s=n(98197),c=n(87667),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),u=!n&&i(e),f=!n&&!u&&a(e),d=!n&&!u&&!f&&c(e),h=n||u||f||d,p=h?r(e.length,String):[],m=p.length;for(var y in e)!t&&!l.call(e,y)||h&&("length"==y||f&&("offset"==y||"parent"==y)||d&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,m))||p.push(y);return p}},64088(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},99500(e){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},12884(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},42110(e){e.exports=function(e){return e.split("")}},68053(e,t,n){var r=n(41756);e.exports=function(e,t){for(var n=e.length;n--;
vendor: 2,365 bytes, line 2
2)if(r(e[n][0],t))return n;return-1}},69084(e,t,n){var r=n(76839);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},63721(e,t,n){var r=n(1245),i=n(23117)(r);e.exports=i},30117(e,t,n){var r=n(63721);e.exports=function(e,t){var n=!0;return r(e,function(e,r,i){return n=!!t(e,r,i)}),n}},96899(e,t,n){var r=n(13966);e.exports=function(e,t,n){for(var i=-1,o=e.length;++i<o;){var a=e[i],s=t(a);if(null!=s&&(void 0===c?s==s&&!r(s):n(s,c)))var c=s,l=a}return l}},41623(e){e.exports=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},41164(e,t,n){var r=n(99500),i=n(70343);e.exports=function e(t,n,o,a,s){var c=-1,l=t.length;for(o||(o=i),s||(s=[]);++c<l;){var u=t[c];n>0&&o(u)?n>1?e(u,n-1,o,a,s):r(s,u):a||(s[s.length]=u)}return s}},28645(e,t,n){var r=n(55577)();e.exports=r},1245(e,t,n){var r=n(28645),i=n(75666);e.exports=function(e,t){return e&&r(e,t,i)}},24402(e,t,n){var r=n(34373),i=n(78449);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},98475(e,t,n){var r=n(99500),i=n(22645);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},32244(e,t,n){var r=n(86965),i=n(89319),o=n(15922),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},57355(e){e.exports=function(e,t){return e>t}},12945(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},88791(e,t,n){var r=n(41623),i=n(63811),o=n(71243);e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,i,n)}},78842(e,t,n){var r=n(32244),i=n(17278);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},8290(e,t,n){var r=n(62344),i=n(17278);e.exports=function e(t,n,o,a,s){return t===n||(null==t||null==n||!i(t)&&!i(n)?t!=t&&n!=n:r(t,n,o,a,e,s))}},62344(e,t,n){var r=n(13645),i=n(63043),o=n(35894),a=n(8013),s=n(69833),c=n(22645),l=n(47380),u=n(87667),f="[object Arguments]",d="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,y,g){var v=c(e),b=c(t),w=v?d:s(e),x=b?d:s(t),S=(w=w==f?h:w)==h,k=(x=x==f?h:x)==h,E=w==x;if(E&&l(e)){if(!l(t))return!1;v=!0,S=!1}if(E&&!S)return g||(g=new r),v||u(e)?i(e,t,n,m,y,g):o(e,t,w,n,m,y,g);if(!(1&n)){var _=S&&p.call(e,"__wrapped__"),C=k&&p.call(t,"__wrapped__");
vendor: 6,676 bytes, line 2
2if(_||C){var A=_?e.value():e,T=C?t.value():t;return g||(g=new r),y(A,T,n,m,g)}}return!!E&&(g||(g=new r),a(e,t,n,m,y,g))}},48755(e,t,n){var r=n(13645),i=n(8290);e.exports=function(e,t,n,o){var a=n.length,s=a,c=!o;if(null==e)return!s;for(e=Object(e);a--;){var l=n[a];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<s;){var u=(l=n[a])[0],f=e[u],d=l[1];if(c&&l[2]){if(void 0===f&&!(u in e))return!1}else{var h=new r;if(o)var p=o(f,d,u,e,t,h);if(!(void 0===p?i(d,f,3,o,h):p))return!1}}return!0}},63811(e){e.exports=function(e){return e!=e}},73039(e,t,n){var r=n(37414),i=n(52132),o=n(3073),a=n(77077),s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,f=l.hasOwnProperty,d=RegExp("^"+u.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?d:s).test(a(e))}},87841(e,t,n){var r=n(32244),i=n(44106),o=n(17278),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[r(e)]}},7273(e,t,n){var r=n(10051),i=n(43510),o=n(45876),a=n(22645),s=n(71995);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):r(e):s(e)}},68148(e,t,n){var r=n(91299),i=n(86054),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},43076(e){e.exports=function(e,t){return e<t}},79164(e,t,n){var r=n(63721),i=n(36706);e.exports=function(e,t){var n=-1,o=i(e)?Array(e.length):[];return r(e,function(e,r,i){o[++n]=t(e,r,i)}),o}},10051(e,t,n){var r=n(48755),i=n(73324),o=n(42217);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},43510(e,t,n){var r=n(8290),i=n(29832),o=n(36355),a=n(98886),s=n(6752),c=n(42217),l=n(78449);e.exports=function(e,t){return a(e)&&s(t)?c(l(e),t):function(n){var a=i(n,e);return void 0===a&&a===t?o(n,e):r(t,a,3)}}},59167(e,t,n){var r=n(64088),i=n(24402),o=n(7273),a=n(79164),s=n(28997),c=n(78417),l=n(41054),u=n(45876),f=n(22645);e.exports=function(e,t,n){t=t.length?r(t,function(e){return f(e)?function(t){return i(t,1===e.length?e[0]:e)}:e}):[u];var d=-1;t=r(t,c(o));var h=a(e,function(e,n,i){return{criteria:r(t,function(t){return t(e)}),index:++d,value:e}});return s(h,function(e,t){return l(e,t,n)})}},93345(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},20171(e,t,n){var r=n(24402);e.exports=function(e){return function(t){return r(t,e)}}},5307(e){var t=Math.ceil,n=Math.max;e.exports=function(e,r,i,o){for(var a=-1,s=n(t((r-e)/(i||1)),0),c=Array(s);s--;)c[o?s:++a]=e,e+=i;return c}},54682(e,t,n){var r=n(45876),i=n(23081),o=n(37405);e.exports=function(e,t){return o(i(e,t,r),e+"")}},38326(e,t,n){var r=n(12506),i=n(76839),o=n(45876),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:o;e.exports=a},8772(e){e.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}},42960(e,t,n){var r=n(63721);e.exports=function(e,t){var n;return r(e,function(e,r,i){return!(n=t(e,r,i))}),!!n}},28997(e){e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},6180(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},82496(e,t,n){var r=n(86965),i=n(64088),o=n(22645),a=n(13966),s=r?r.prototype:void 0,c=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},78068(e,t,n){var r=n(65028),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},78417(e){e.exports=function(e){return function(t){return e(t)}}},681(e,t,n){var r=n(44047),i=n(64697),o=n(24429),a=n(13335),s=n(60865),c=n(38739);e.exports=function(e,t,n){var l=-1,u=i,f=e.length,d=!0,h=[],p=h;if(n)d=!1,u=o;else if(f>=200){var m=t?null:s(e);if(m)return c(m);d=!1,u=a,p=new r}else p=t?[]:h;e:for(;++l<f;){var y=e[l],g=t?t(y):y;if(y=n||0!==y?y:0,d&&g==g){for(var v=p.length;v--;)if(p[v]===g)continue e;t&&p.push(g),h.push(y)}else u(p,g,n)||(p!==h&&p.push(g),h.push(y))}return h}},13335(e){e.exports=function(e,t){return e.has(t)}},34373(e,t,n){var r=n(22645),i=n(98886),o=n(4838),a=n(19162);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},25710(e,t,n){var r=n(8772);e.exports=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}},69822(e,t,n){var r=n(13966);e.exports=function(e,t){if(e!==t){var n=void 0!==e,i=null===e,o=e==e,a=r(e),s=void 0!==t,c=null===t,l=t==t,u=r(t);if(!c&&!u&&!a&&e>t||a&&s&&l&&!c&&!u||i&&s&&l||!n&&l||!o)return 1;if(!i&&!a&&!u&&e<t||u&&n&&o&&!i&&!a||c&&n&&o||!s&&o||!l)return-1}return 0}},41054(e,t,n){var r=n(69822);e.exports=function(e,t,n){for(var i=-1,o=e.criteria,a=t.criteria,s=o.length,c=n.length;++i<s;){var l=r(o[i],a[i]);if(l)return i>=c?l:l*("desc"==n[i]?-1:1)}return e.index-t.index}},47653(e,t,n){var r=n(29793)["__core-js_shared__"];e.exports=r},23117(e,t,n){var r=n(36706);e.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var o=n.length,a=t?o:-1,s=Object(n);(t?a--:++a<o)&&!1!==i(s[a],a,s););return n}}},55577(e){e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++i];if(!1===n(o[c],c,o))break}return t}}},23039(e,t,n){var r=n(25710),i=n(15286),o=n(57540),a=n(19162);e.exports=function(e){return function(t){t=a(t);var n=i(t)?o(t):void 0,s=n?n[0]:t.charAt(0),c=n?r(n,1).join(""):t.slice(1);return s[e]()+c}}},58674(e,t,n){var r=n(7273),i=n(36706),o=n(75666);e.exports=function(e){return function(t,n,a){var s=Object(t);if(!i(t)){var c=r(n,3);t=o(t),n=function(e){return c(s[e],e,s)}}var l=e(t,n,a);return l>-1?s[c?t[l]:l]:void 0}}},20504(e,t,n){var r=n(5307),i=n(72148),o=n(74036);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&i(t,n,a)&&(n=a=void 0),t=o(t),void 0===n?(n=t,t=0):n=o(n),a=void 0===a?t<n?1:-1:o(a),r(t,n,a,e)}}}
vendor: 3,509 bytes, line 2
2,60865(e,t,n){var r=n(18965),i=n(74338),o=n(38739),a=r&&1/o(new r([,-0]))[1]==1/0?function(e){return new r(e)}:i;e.exports=a},76839(e,t,n){var r=n(93114),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},63043(e,t,n){var r=n(44047),i=n(12884),o=n(13335);e.exports=function(e,t,n,a,s,c){var l=1&n,u=e.length,f=t.length;if(u!=f&&!(l&&f>u))return!1;var d=c.get(e),h=c.get(t);if(d&&h)return d==t&&h==e;var p=-1,m=!0,y=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++p<u;){var g=e[p],v=t[p];if(a)var b=l?a(v,g,p,t,e,c):a(g,v,p,e,t,c);if(void 0!==b){if(b)continue;m=!1;break}if(y){if(!i(t,function(e,t){if(!o(y,t)&&(g===e||s(g,e,n,a,c)))return y.push(t)})){m=!1;break}}else if(g!==v&&!s(g,v,n,a,c)){m=!1;break}}return c.delete(e),c.delete(t),m}},35894(e,t,n){var r=n(86965),i=n(54136),o=n(41756),a=n(63043),s=n(1377),c=n(38739),l=r?r.prototype:void 0,u=l?l.valueOf:void 0;e.exports=function(e,t,n,r,l,f,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=s;case"[object Set]":var p=1&r;if(h||(h=c),e.size!=t.size&&!p)return!1;var m=d.get(e);if(m)return m==t;r|=2,d.set(e,t);var y=a(h(e),h(t),r,l,f,d);return d.delete(e),y;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},8013(e,t,n){var r=n(8638),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,s){var c=1&n,l=r(e),u=l.length;if(u!=r(t).length&&!c)return!1;for(var f=u;f--;){var d=l[f];if(!(c?d in t:i.call(t,d)))return!1}var h=s.get(e),p=s.get(t);if(h&&p)return h==t&&p==e;var m=!0;s.set(e,t),s.set(t,e);for(var y=c;++f<u;){var g=e[d=l[f]],v=t[d];if(o)var b=c?o(v,g,d,t,e,s):o(g,v,d,e,t,s);if(!(void 0===b?g===v||a(g,v,n,o,s):b)){m=!1;break}y||(y="constructor"==d)}if(m&&!y){var w=e.constructor,x=t.constructor;w==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(m=!1)}return s.delete(e),s.delete(t),m}},9196(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},8638(e,t,n){var r=n(98475),i=n(16276),o=n(75666);e.exports=function(e){return r(e,o,i)}},26087(e,t,n){var r=n(67366);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},73324(e,t,n){var r=n(6752),i=n(75666);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var o=t[n],a=e[o];t[n]=[o,a,r(a)]}return t}},93114(e,t,n){var r=n(73039),i=n(73260);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},89319(e,t,n){var r=n(86965),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},16276(e,t,n){var r=n(49454),i=n(50437),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),function(t){return o.call(e,t)}))}:i;e.exports=s},69833(e,t,n){var r=n(8064),i=n(52475),o=n(14368),a=n(18965),s=n(30651),c=n(32244),l=n(77077),u="[object Map]",f="[object Promise]",d="[object Set]",h="[object WeakMap]",p="[object DataView]",m=l(r),y=l(i),g=l(o),v=l(a),b=l(s),w=c;
vendor: 4,450 bytes, line 2
2(r&&w(new r(new ArrayBuffer(1)))!=p||i&&w(new i)!=u||o&&w(o.resolve())!=f||a&&w(new a)!=d||s&&w(new s)!=h)&&(w=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?l(n):"";if(r)switch(r){case m:return p;case y:return u;case g:return f;case v:return d;case b:return h}return t}),e.exports=w},73260(e){e.exports=function(e,t){return null==e?void 0:e[t]}},99802(e,t,n){var r=n(34373),i=n(93488),o=n(22645),a=n(98197),s=n(44106),c=n(78449);e.exports=function(e,t,n){for(var l=-1,u=(t=r(t,e)).length,f=!1;++l<u;){var d=c(t[l]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++l!=u?f:!!(u=null==e?0:e.length)&&s(u)&&a(d,u)&&(o(e)||i(e))}},15286(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},59924(e,t,n){var r=n(62998);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},8674(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},91005(e,t,n){var r=n(62998),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},29553(e,t,n){var r=n(62998),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},98009(e,t,n){var r=n(62998);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},70343(e,t,n){var r=n(86965),i=n(93488),o=n(22645),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(a&&e&&e[a])}},98197(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=n??9007199254740991)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},72148(e,t,n){var r=n(41756),i=n(36706),o=n(98197),a=n(3073);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?i(n)&&o(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},98886(e,t,n){var r=n(22645),i=n(13966),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},67366(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},52132(e,t,n){var r,i=n(47653),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},91299(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},6752(e,t,n){var r=n(3073);e.exports=function(e){return e==e&&!r(e)}},2794(e){e.exports=function(){this.__data__=[],this.size=0}},1420(e,t,n){var r=n(68053),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():i.call(t,n,1),--this.size,0))}},40159(e,t,n){var r=n(68053);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},97699(e,t,n){var r=n(68053);e.exports=function(e){return r(this.__data__,e)>-1}},31387(e,t,n){var r=n(68053);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},93412(e,t,n){var r=n(36633),i=n(89067),o=n(52475);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},81298(e,t,n){var r=n(26087);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},42061(e,t,n){var r=n(26087);e.exports=function(e){return r(this,e).get(e)}},46625(e,t,n){var r=n(26087);e.exports=function(e){return r(this,e).has(e)}},10889(e,t,n){var r=n(26087);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},1377(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},42217(e){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},59564(e,t,n){var r=n(38596);e.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},62998(e,t,n){var r=n(93114)(Object,"create");e.exports=r},86054(e,t,n){var r=n(35763)(Object.keys,Object);e.exports=r},70861(e,t,n){e=n.nmd(e);var r=n(9196),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{return o&&o.require&&o.require("util").t
vendor: 4,094 bytes, line 2
2ypes||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},15922(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},35763(e){e.exports=function(e,t){return function(n){return e(t(n))}}},23081(e,t,n){var r=n(35317),i=Math.max;e.exports=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),c=Array(s);++a<s;)c[a]=o[t+a];a=-1;for(var l=Array(t+1);++a<t;)l[a]=o[a];return l[t]=n(c),r(e,this,l)}}},29793(e,t,n){var r=n(9196),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},57776(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},56879(e){e.exports=function(e){return this.__data__.has(e)}},38739(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},37405(e,t,n){var r=n(38326),i=n(85767)(r);e.exports=i},85767(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var i=t(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},45232(e,t,n){var r=n(89067);e.exports=function(){this.__data__=new r,this.size=0}},83862(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},89601(e){e.exports=function(e){return this.__data__.get(e)}},51981(e){e.exports=function(e){return this.__data__.has(e)}},58629(e,t,n){var r=n(89067),i=n(52475),o=n(9481);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},71243(e){e.exports=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}},57540(e,t,n){var r=n(42110),i=n(15286),o=n(80954);e.exports=function(e){return i(e)?o(e):r(e)}},4838(e,t,n){var r=n(59564),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)}),t});e.exports=a},78449(e,t,n){var r=n(13966);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},77077(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},65028(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},80954(e){var t="\\ud800-\\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+r+"|"+i+")?",l="[\\ufe0e\\ufe0f]?",u=l+c+"(?:\\u200d(?:"+[o,a,s].join("|")+")"+l+c+")*",f="(?:"+[o+r+"?",r,a,s,n].join("|")+")",d=RegExp(i+"(?="+i+")|"+f+u,"g");e.exports=function(e){return e.match(d)||[]}},12506(e){e.exports=function(e){return function(){return e}}},94409(e,t,n){var r=n(3073),i=n(33384),o=n(78346),a=Math.max,s=Math.min;e.exports=function(e,t,n){var c,l,u,f,d,h,p=0,m=!1,y=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=c,r=l;return c=l=void 0,p=t,f=e.apply(r,n)}function b(e){var n=e-h;return void 0===h||n>=t||n<0||y&&e-p>=u}function w(){var e=i();if(b(e))return x(e);d=setTimeout(w,function(e){var n=t-(e-h);return y?s(n,u-(e-p)):n}(e))}function x(e){return d=void 0,g&&c?v(e):(c=l=void 0,f)}function S(){var e=i(),n=b(e);if(c=arguments,l=this,h=e,n){if(void 0===d)return function(e){return p=e,d=setTimeout(w,t),m?v(e):f}(h);if(y)return clearTimeout(d),d=setTimeout(w,t),v(h)}return void 0===d&&(d=setTimeout(w,t)),f}return t=o(t)||0,r(n)&&(m=!!n.leading,u=(y="maxWait"in n)?a(o(n.maxWait)||0,t):u,g="trailing"in n?!!n.trailing:g),S.cancel=function(){void 0!==d&&clearTimeout(d),p=0,c=h=l=d=void 0},S.flush=function(){return void 0===d?f:x(i())},S}},41756(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},91663(e,t,n){var r=n(52881),i=n(30117),o=n(7273),a=n(22645),s=n(72
vendor: 3,722 bytes, line 2
2148);e.exports=function(e,t,n){var c=a(e)?r:i;return n&&s(e,t,n)&&(t=void 0),c(e,o(t,3))}},70017(e,t,n){var r=n(58674)(n(58109));e.exports=r},58109(e,t,n){var r=n(41623),i=n(7273),o=n(95133),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var c=null==n?0:o(n);return c<0&&(c=a(s+c,0)),r(e,i(t,3),c)}},32319(e,t,n){var r=n(41164),i=n(12590);e.exports=function(e,t){return r(i(e,t),1)}},29832(e,t,n){var r=n(24402);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},36355(e,t,n){var r=n(12945),i=n(99802);e.exports=function(e,t){return null!=e&&i(e,t,r)}},45876(e){e.exports=function(e){return e}},93488(e,t,n){var r=n(78842),i=n(17278),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},22645(e){var t=Array.isArray;e.exports=t},36706(e,t,n){var r=n(37414),i=n(44106);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},30800(e,t,n){var r=n(32244),i=n(17278);e.exports=function(e){return!0===e||!1===e||i(e)&&"[object Boolean]"==r(e)}},47380(e,t,n){e=n.nmd(e);var r=n(29793),i=n(25275),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||i;e.exports=c},23344(e,t,n){var r=n(8290);e.exports=function(e,t){return r(e,t)}},37414(e,t,n){var r=n(32244),i=n(3073);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},44106(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},56177(e,t,n){var r=n(66419);e.exports=function(e){return r(e)&&e!=+e}},34743(e){e.exports=function(e){return null==e}},66419(e,t,n){var r=n(32244),i=n(17278);e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==r(e)}},3073(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},17278(e){e.exports=function(e){return null!=e&&"object"==typeof e}},93451(e,t,n){var r=n(32244),i=n(22645),o=n(17278);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==r(e)}},13966(e,t,n){var r=n(32244),i=n(17278);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},87667(e,t,n){var r=n(87841),i=n(78417),o=n(70861),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},75666(e,t,n){var r=n(94771),i=n(68148),o=n(36706);e.exports=function(e){return o(e)?r(e):i(e)}},59270(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},12590(e,t,n){var r=n(64088),i=n(7273),o=n(79164),a=n(22645);e.exports=function(e,t){return(a(e)?r:o)(e,i(t,3))}},7176(e,t,n){var r=n(69084),i=n(1245),o=n(7273);e.exports=function(e,t){var n={};return t=o(t,3),i(e,function(e,i,o){r(n,i,t(e,i,o))}),n}},43782(e,t,n){var r=n(96899),i=n(57355),o=n(45876);e.exports=function(e){return e&&e.length?r(e,o,i):void 0}},38596(e,t,n){var r=n(9481);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},72856(e,t,n){var r=n(96899),i=n(43076),o=n(45876);e.exports=function(e){return e&&e.length?r(e,o,i):void 0}},74338(e){e.exports=function(){}},33384(e,t,n){var r=n(29793);e.exports=function(){return r.Date.now()}},71995(e,t,n){var r=n(93345),i=n(20171),o=n(98886),a=n(78449);e.exports=function(e){return o(e)?r(a(e)):i(e)}},71961(e,t,n){var r=n(20504)();e.exports=r},37038(e,t,n){var r=n(12884),i=n(7273),o=n(42960),a=n(22645),s=n(72
2148);e.exports=function(e,t,n){var c=a(e)?r:o;return n&&s(e,t,n)&&(t=void 0),c(e,i(t,3))}},2979(e,t,n){var r=n(41164),i=n(59167),o=n(54682),a=n(72148),s=o(function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),i(e,r(t,1),[])});e.exports=s},50437(e){e.exports=function(){return[]}},25275(e){e.exports=function(){return!1}},69234(e,t,n){var r=n(94409),i=n(3073);e.exports=function(e,t,n){var o=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:o,maxWait:t,trailing:a})}},74036(e,t,n){var r=n(78346),i=1/0;e.exports=function(e){return e?(e=r(e))===i||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},95133(e,t,n){var r=n(74036);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},78346(e,t,n){var r=n(78068),i=n(3073),o=n(13966),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):a.test(e)?NaN:+e}},19162(e,t,n){var r=n(82496);e.exports=function(e){return null==e?"":r(e)}},47194(e,t,n){var r=n(7273),i=n(681);e.exports=function(e,t){return e&&e.length?i(e,r(t,2)):[]}},27372(e,t,n){var r=n(23039)("toUpperCase");e.exports=r},25870(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(85610)),i=n(975),o=s(n(50558)),a=s(n(95612));function s(e){return e&&e.__esModule?e:{default:e}}var c=/((?:\-[a-z]+\-)?calc)/;t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;return(0,r.default)(e).walk(function(e){if("function"===e.type&&c.test(e.value)){var n=r.default.stringify(e.nodes);if(!(n.indexOf("constant")>=0||n.indexOf("env")>=0)){var s=i.parser.parse(n),l=(0,o.default)(s,t);e.type="word",e.value=(0,a.default)(e.value,l,t)}}},!0).toString()},e.exports=t.default},89513(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=(r=n(36988))&&r.__esModule?r:{default:r};t.default=function(e,t,n){switch(e.type){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":return function(e,t,n){return t.type===e.type&&(t={type:e.type,value:(0,i.default)(t.value,t.unit,e.unit,n),unit:e.unit}),{left:e,right:t}}(e,t,n);default:return{left:e,right:t}}},e.exports=t.default},50558(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flip=s;var r,i=(r=n(89513))&&r.__esModule?r:{default:r};function o(e,t){return e.type===t.type&&e.value===t.value}function a(e){switch(e){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":case"EmValue":case"ExValue":case"ChValue":case"RemValue":case"VhValue":case"VwValue":case"VminValue":case"VmaxValue":case"PercentageValue":case"Value":return!0}return!1}function s(e){return"+"===e?"-":"+"}function c(e){return a(e.type)?e.value=-e.value:"MathExpression"==e.type&&(e.left=c(e.left),e.right=c(e.right)),e}t.default=function e(t,n){return"MathExpression"===t.type?function(t,n){switch(t=function(t,n){var r=(0,i.default)(t.left,t.right,n),a=e(r.left,n),s=e(r.right,n);return"MathExpression"===a.type&&"MathExpression"===s.type&&("/"===a.operator&&"*"===s.operator||"-"===a.operator&&"+"===s.operator||"*"===a.operator&&"/"===s.operator||"+"===a.operator&&"-"===s.operator)&&(o(a.right,s.right)?r=(0,i.default)(a.left,s.left,n):o(a.right,s.left)&&(r=(0,i.default)(a.left,s.right,n)),a=e(r.left,n),s=e(r.right,n)),t.left=a,t.right=s,t}(t,n),t.operator){case"+":case"-":return function(t,n){var r=t,i=r.left,o=r.right,l=r.operator;if("CssVariable"===i.type||"CssVariable"===o.type)return t;if(0===o.value)return i;if(0===i.value&&"+"===l)return o;if(0===i.value&&"-"===l)return c(o);if(i.type===o.type&&a(i.type)&&((t=Object.assign({},i)).value="+"===l?i.value+o.value:i.value-o.value),a(i.type)&&("+"===o.operator||"-"===o.operator)&&"MathExpression"===o.type){if(i.type===o.left.type)return(t=Object.assign({},t)).left=e({type:"MathExpression",operator:l,left:i,right:o.left},n),t.right=o.right,t.operator="-"===l?s(o.operator):o.operator,e(t,n);if(i.type===o.right.type)return(t=Object.assign({},t)).left=e({type:"MathExpression",operator:"-"===l?s(o.operator):o.operator,left:i,right:o.right},n),t.right=o.left,e(t,n)}
2if("MathExpression"===i.type&&("+"===i.operator||"-"===i.operator)&&a(o.type)){if(o.type===i.left.type)return(t=Object.assign({},i)).left=e({type:"MathExpression",operator:l,left:i.left,right:o},n),e(t,n);if(o.type===i.right.type)return t=Object.assign({},i),"-"===i.operator?(t.right=e({type:"MathExpression",operator:"-"===l?"+":"-",left:o,right:i.right},n),t.operator="-"===l?"-":"+"):t.right=e({type:"MathExpression",operator:l,left:i.right,right:o},n),t.right.value<0&&(t.right.value*=-1,t.operator="-"===t.operator?"+":"-"),e(t,n)}return t}(t,n);case"/":return function(t,n){if(!a(t.right.type))return t;if("Value"!==t.right.type)throw new Error('Cannot divide by "'+t.right.unit+'", number expected');if(0===t.right.value)throw new Error("Cannot divide by zero");return"MathExpression"===t.left.type?a(t.left.left.type)&&a(t.left.right.type)?(t.left.left.value/=t.right.value,t.left.right.value/=t.right.value,e(t.left,n)):t:a(t.left.type)?(t.left.value/=t.right.value,t.left):t}(t,n);case"*":return function(e){if("MathExpression"===e.left.type&&"Value"===e.right.type){if(a(e.left.left.type)&&a(e.left.right.type))return e.left.left.value*=e.right.value,e.left.right.value*=e.right.value,e.left}else{if(a(e.left.type)&&"Value"===e.right.type)return e.left.value*=e.right.value,e.left;if("Value"===e.left.type&&"MathExpression"===e.right.type){if(a(e.right.left.type)&&a(e.right.right.type))return e.right.left.value*=e.left.value,e.right.right.value*=e.left.value,e.right}else if("Value"===e.left.type&&a(e.right.type))return e.right.value*=e.left.value,e.right}return e}(t)}return t}(t,n):"Calc"===t.type?e(t.value,n):t}},95612(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=a(t,n);return"MathExpression"===t.type&&(r=e+"("+r+")"),r};var r=n(50558),i={"*":0,"/":0,"+":1,"-":1};function o(e,t){if(!1!==t){var n=Math.pow(10,t);return Math.round(e*n)/n}return e}function a(e,t){switch(e.type){case"MathExpression":var n=e.left,s=e.right,c=e.operator,l="";return"MathExpression"===n.type&&i[c]<i[n.operator]?l+="("+a(n,t)+")":l+=a(n,t),l+=" "+e.operator+" ","MathExpression"===s.type&&i[c]<i[s.operator]?l+="("+a(s,t)+")":"MathExpression"===s.type&&"-"===c&&["+","-"].includes(s.operator)?(s.operator=(0,r.flip)(s.operator),l+=a(s,t)):l+=a(s,t),l;case"Value":return o(e.value,t);case"CssVariable":return e.fallback?"var("+e.value+", "+a(e.fallback,t)+")":"var("+e.value+")";case"Calc":return e.prefix?"-"+e.prefix+"-calc("+a(e.value,t)+")":"calc("+a(e.value,t)+")";default:return o(e.value,t)+e.unit}}e.exports=t.default},975(e,t){var n=function(){function e(e,t){var n;if(Object.defineProperty(this,"name",{enumerable:!1,writable:!1,value:"JisonParserError"}),null==e&&(e="???"),Object.defineProperty(this,"message",{enumerable:!1,writable:!0,value:e}),this.hash=t,t&&t.exception instanceof Error){var r=t.exception;this.message=r.message||e,n=r.stack}n||(Error.hasOwnProperty("captureStackTrace")?Error.captureStackTrace(this,this.constructor):n=new Error(e).stack),n&&Object.defineProperty(this,"stack",{enumerable:!1,writable:!1,value:n})}function t(e,t,n){n=n||0;for(var r=0;r<t;r++)this.push(e),e+=n}function n(e,t){for(t+=e=this.length-e;e<t;e++)this.push(this[e])}function r(e){for(var t=[],n=0,r=e.length;n<r;n++){var i=e[n];"function"==typeof i?(n++,i.apply(t,e[n])):t.push(i)}return t}"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(e.prototype,Error.prototype):e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e.prototype.name="JisonParserError";var i={trace:function(){},JisonParserError:e,yy:{},options:{type:"lalr",hasPartialLrUpgradeOnConflict:!0,errorRecoveryTokenDiscardCount:3},symbols_:{$accept:0,$end:1,ADD:3,ANGLE:16,CHS:22,COMMA:14,CSS_CPROP:13,CSS_VAR:12,DIV:6,EMS:20,EOF:1,EXS:21,FREQ:18,LENGTH:15,LPAREN:7,MUL:5,NESTED_CALC:9,NUMBER:11,PERCENTAGE:28,PREFIX:10,REMS:23,RES:19,RPAREN:8,SUB:4,TIME:17,VHS:24,VMAXS:27,VMINS:26,VWS:25,css_value:33,css_variable:32,error:2,expression:29,math_expression:30,value:31},terminals_:{1:"EOF",2:"error",3:"ADD",4:"SUB",5:"MUL",6:"DIV",7:"LPAREN",8:"RPAREN",9:"NESTED_CALC",10:"PREFIX",11:"NUMBER",12:"CSS_VAR",13:"CSS_CPROP",14:"COMMA",15:"LENGTH",16:"ANGLE",17:"TIME",18:"FREQ",19:"RES",20:"EMS",21:"EXS",22:"CHS",23:"REMS",24:"VHS",25:"VWS",26:"VMINS",27:"VMAXS",28:"PERCENTAGE"},TERROR:2,EOF:1,originalQuoteName:null,originalParseError:null,cleanupAfterParse:null,constructParseErrorInfo:null,yyMergeLocationInfo:null,__reentrant_call_depth:0,__error_infos:[],__error_recovery_infos:[],quoteName:function(e){return'"'+e+'"'},getSymbolName:function(e){if(this.terminals_[e])return this.terminals_[e];var t=this.symbols_;for(var n in t)if(t[n]===e)return n;return null},describeSymbol:function(e){if(e!==this.EOF&&this.terminal_descriptions_&&this.terminal_descriptions_[e])return this.terminal_descriptions_[e];
2if(e===this.EOF)return"end of input";var t=this.getSymbolName(e);return t?this.quoteName(t):null},collect_expected_token_set:function(e,t){var n=this.TERROR,r=[],i={};if(!t&&this.state_descriptions_&&this.state_descriptions_[e])return[this.state_descriptions_[e]];for(var o in this.table[e])if((o=+o)!==n){var a=t?o:this.describeSymbol(o);a&&!i[a]&&(r.push(a),i[a]=!0)}return r},productions_:function(e){for(var t=[],n=e.pop,r=e.rule,i=0,o=n.length;i<o;i++)t.push([n[i],r[i]]);return t}({pop:r([29,t,[30,10],31,31,32,32,t,[33,15]]),rule:r([2,t,[3,5],4,7,t,[1,4],2,4,6,t,[1,14],2])}),performAction:function(e,t,n){var r=this.yy;switch(r.parser,r.lexer,e){case 0:case 6:this.$=n[t-1];break;case 1:return this.$=n[t-1],n[t-1];case 2:case 3:case 4:case 5:this.$={type:"MathExpression",operator:n[t-1],left:n[t-2],right:n[t]};break;case 7:this.$={type:"Calc",value:n[t-1]};break;case 8:this.$={type:"Calc",value:n[t-1],prefix:n[t-5]};break;case 9:case 10:case 11:this.$=n[t];break;case 12:this.$={type:"Value",value:parseFloat(n[t])};break;case 13:this.$={type:"Value",value:-1*parseFloat(n[t])};break;case 14:this.$={type:"CssVariable",value:n[t-1]};break;case 15:this.$={type:"CssVariable",value:n[t-3],fallback:n[t-1]};break;case 16:this.$={type:"LengthValue",value:parseFloat(n[t]),unit:/[a-z]+/.exec(n[t])[0]};break;case 17:this.$={type:"AngleValue",value:parseFloat(n[t]),unit:/[a-z]+/.exec(n[t])[0]};break;case 18:this.$={type:"TimeValue",value:parseFloat(n[t]),unit:/[a-z]+/.exec(n[t])[0]};break;case 19:this.$={type:"FrequencyValue",value:parseFloat(n[t]),unit:/[a-z]+/.exec(n[t])[0]};break;case 20:this.$={type:"ResolutionValue",value:parseFloat(n[t]),unit:/[a-z]+/.exec(n[t])[0]};break;case 21:this.$={type:"EmValue",value:parseFloat(n[t]),unit:"em"};break;case 22:this.$={type:"ExValue",value:parseFloat(n[t]),unit:"ex"};break;case 23:this.$={type:"ChValue",value:parseFloat(n[t]),unit:"ch"};break;case 24:this.$={type:"RemValue",value:parseFloat(n[t]),unit:"rem"};break;case 25:this.$={type:"VhValue",value:parseFloat(n[t]),unit:"vh"};break;case 26:this.$={type:"VwValue",value:parseFloat(n[t]),unit:"vw"};break;case 27:this.$={type:"VminValue",value:parseFloat(n[t]),unit:"vmin"};break;case 28:this.$={type:"VmaxValue",value:parseFloat(n[t]),unit:"vmax"};break;case 29:this.$={type:"PercentageValue",value:parseFloat(n[t]),unit:"%"};break;case 30:var i=n[t];i.value*=-1,this.$=i}},table:function(e){for(var t=[],n=e.len,r=e.symbol,i=e.type,o=e.state,a=e.mode,s=e.goto,c=0,l=n.length;c<l;c++){for(var u=n[c],f={},d=0;d<u;d++){var h=r.shift();switch(i.shift()){case 2:f[h]=[a.shift(),s.shift()];break;case 0:f[h]=o.shift();break;default:f[h]=[3]}}t.push(f)}return t}({len:r([24,1,5,23,1,18,t,[0,3],1,t,[0,16],t,[23,4],n,[28,3],0,0,16,1,6,6,t,[0,3],5,1,2,n,[37,3],n,[20,3],5,0,0]),symbol:r([4,7,9,11,12,t,[15,19,1],1,1,t,[3,4,1],n,[30,19],n,[29,4],7,4,10,11,n,[22,14],n,[19,3],n,[43,22],n,[23,69],n,[139,4],8,n,[51,24],4,n,[138,15],13,n,[186,5],8,n,[6,6],n,[5,5],9,8,14,n,[159,47],n,[60,10]]),type:r([t,[2,19],t,[0,5],1,t,[2,24],t,[0,4],n,[22,19],n,[43,42],n,[23,70],n,[28,25],n,[45,25],n,[113,54]]),state:r([1,2,8,6,7,30,n,[4,3],33,37,n,[5,3],38,n,[4,3],39,n,[4,3],40,n,[4,3],42,n,[21,4],50,n,[5,3],51,n,[4,3]]),mode:r([t,[1,179],t,[2,3],n,[5,5],n,[6,4],t,[1,57]]),goto:r([5,3,4,24,t,[9,15,1],t,[25,5,1],n,[24,19],31,35,32,34,n,[18,14],36,n,[38,19],n,[19,57],n,[118,4],41,n,[24,19],43,35,n,[16,14],44,t,[2,3],28,29,2,t,[3,3],28,29,3,n,[53,4],t,[45,5,1],n,[100,42],52,n,[5,4],53])}),defaultActions:function(e){for(var t={},n=e.idx,r=e.goto,i=0,o=n.length;i<o;i++)t[n[i]]=r[i];return t}({idx:r([6,7,8,t,[10,16,1],33,34,39,40,41,45,47,52,53]),goto:r([9,10,11,t,[16,14,1],12,1,30,13,t,[4,4,1],14,15,8])}),parseError:function(e,t,n){if(!t.recoverable)throw"function"==typeof this.trace&&this.trace(e),n||(n=this.JisonParserError),new n(e,t);"function"==typeof this.trace&&this.trace(e),t.destroy()},parse:function(e){var t,n=this,r=new Array(128),i=new Array(128),o=new Array(128),a=this.table,s=0,c=0,l=(this.TERROR,this.EOF),u=(this.options.errorRecoveryTokenDiscardCount,[0,54]);t=this.__lexer__?this.__lexer__:this.__lexer__=Object.create(this.lexer);var f={parseError:void 0,quoteName:void 0,lexer:void 0,parser:void 0,pre_parse:void 0,post_parse:void 0,pre_lex:void 0,post_lex:void 0};"function"!=typeof assert||assert,this.yyGetSharedState=function(){return f},function(e,t){for(var n in t)void 0===e[n]&&Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}(f,this.yy),f.lexer=t,f.parser=this,"function"==typeof f.parseError?this.parseError=function(e,t,n){return n||(n=this.JisonParserError),f.parseError.call(this,e,t,n)}:this.parseError=this.originalParseError,"function"==typeof f.quoteName?this.quoteName=function(e){return f.quoteName.call(this,e)}:this.quoteName=this.originalQuoteName,this.cleanupAfterParse=function(e,n,a){var c,l;if(n&&((f.post_parse||this.post_parse)&&(l=this.constructParseErrorInfo(null,null,null,!1)),f.post_parse&&void 0!==(c=f.post_parse.call(this,f,e,l))&&(e=c),this.post_parse&&void 0!==(c=this.post_parse.call(this,f,e,l))&&(e=c),l&&l.destroy&&l.destroy()),this.__reentrant_call_depth>
21)return e;if(t.cleanupAfterLex&&t.cleanupAfterLex(a),f&&(f.lexer=void 0,f.parser=void 0,t.yy===f&&(t.yy=void 0)),f=void 0,this.parseError=this.originalParseError,this.quoteName=this.originalQuoteName,r.length=0,i.length=0,o.length=0,s=0,!a){for(var u=this.__error_infos.length-1;u>=0;u--){var d=this.__error_infos[u];d&&"function"==typeof d.destroy&&d.destroy()}this.__error_infos.length=0}return e},this.constructParseErrorInfo=function(e,n,a,l){var u={errStr:e,exception:n,text:t.match,value:t.yytext,token:this.describeSymbol(c)||c,token_id:c,line:t.yylineno,expected:a,recoverable:l,state:d,action:h,new_state:b,symbol_stack:r,state_stack:i,value_stack:o,stack_pointer:s,yy:f,lexer:t,parser:this,destroy:function(){var e=!!this.recoverable;for(var t in this)this.hasOwnProperty(t)&&"object"==typeof t&&(this[t]=void 0);this.recoverable=e}};return this.__error_infos.push(u),u};var d,h,p,m,y,g,v,b,w=function(){var e=t.lex();return"number"!=typeof e&&(e=n.symbols_[e]||e),e||l},x={$:!0,_$:void 0,yy:f},S=!1;try{for(this.__reentrant_call_depth++,t.setInput(e,f),"function"==typeof t.canIUse&&t.canIUse().fastLex&&(w=function(){var e=t.fastLex();return"number"!=typeof e&&(e=n.symbols_[e]||e),e||l}),o[s]=null,i[s]=0,r[s]=0,++s,this.pre_parse&&this.pre_parse.call(this,f),f.pre_parse&&f.pre_parse.call(this,f),b=i[s-1];;){if(d=b,this.defaultActions[d])h=2,b=this.defaultActions[d];else if(c||(c=w()),m=a[d]&&a[d][c]||u,b=m[1],!(h=m[0])){var k,E=this.describeSymbol(c)||c,_=this.collect_expected_token_set(d);k="number"==typeof t.yylineno?"Parse error on line "+(t.yylineno+1)+": ":"Parse error: ","function"==typeof t.showPosition&&(k+="\n"+t.showPosition(69,10)+"\n"),_.length?k+="Expecting "+_.join(", ")+", got unexpected "+E:k+="Unexpected "+E,y=this.constructParseErrorInfo(k,null,_,!1),void 0!==(p=this.parseError(y.errStr,y,this.JisonParserError))&&(S=p);break}switch(h){default:if(h instanceof Array){y=this.constructParseErrorInfo("Parse Error: multiple actions possible at state: "+d+", token: "+c,null,null,!1),void 0!==(p=this.parseError(y.errStr,y,this.JisonParserError))&&(S=p);break}y=this.constructParseErrorInfo("Parsing halted. No viable error recovery approach available due to internal system failure.",null,null,!1),void 0!==(p=this.parseError(y.errStr,y,this.JisonParserError))&&(S=p);break;case 1:r[s]=c,o[s]=t.yytext,i[s]=b,++s,c=0;continue;case 2:if(g=(v=this.productions_[b-1])[1],void 0!==(p=this.performAction.call(x,b,s-1,o))){S=p;break}s-=g;var C=v[0];r[s]=C,o[s]=x.$,b=a[i[s-1]][C],i[s]=b,++s;continue;case 3:-2!==s&&(S=!0,s--,void 0!==o[s]&&(S=o[s]))}break}}catch(e){if(e instanceof this.JisonParserError)throw e;if(t&&"function"==typeof t.JisonLexerError&&e instanceof t.JisonLexerError)throw e;y=this.constructParseErrorInfo("Parsing aborted due to exception.",e,null,!1),S=!1,void 0!==(p=this.parseError(y.errStr,y,this.JisonParserError))&&(S=p)}finally{S=this.cleanupAfterParse(S,!0,!0),this.__reentrant_call_depth--}return S}};i.originalParseError=i.parseError,i.originalQuoteName=i.quoteName;var o=function(){function e(e,t){var n;if(Object.defineProperty(this,"name",{enumerable:!1,writable:!1,value:"JisonLexerError"}),null==e&&(e="???"),Object.defineProperty(this,"message",{enumerable:!1,writable:!0,value:e}),this.hash=t,t&&t.exception instanceof Error){var r=t.exception;this.message=r.message||e,n=r.stack}n||(Error.hasOwnProperty("captureStackTrace")?Error.captureStackTrace(this,this.constructor):n=new Error(e).stack),n&&Object.defineProperty(this,"stack",{enumerable:!1,writable:!1,value:n})}"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(e.prototype,Error.prototype):e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e.prototype.name="JisonLexerError";var t={EOF:1,ERROR:2,__currentRuleSet__:null,__error_infos:[],__decompressed:!1,done:!1,_backtrack:!1,_input:"",_more:!1,_signaled_error_token:!1,conditionStack:[],match:"",matched:"",matches:!1,yytext:"",offset:0,yyleng:0,yylineno:0,yylloc:null,constructLexErrorInfo:function(e,t,n){if(e=""+e,null==n&&(n=!(e.indexOf("\n")>0&&e.indexOf("^")>0)),this.yylloc&&n)if("function"==typeof this.prettyPrintRange)this.prettyPrintRange(this.yylloc),/\n\s*$/.test(e)||(e+="\n"),e+="\n Erroneous area:\n"+this.prettyPrintRange(this.yylloc);else if("function"==typeof this.showPosition){var r=this.showPosition();r&&(e.length&&"\n"!==e[e.length-1]&&"\n"!==r[0]?e+="\n"+r:e+=r)}var i={errStr:e,recoverable:!!t,text:this.match,token:null,line:this.yylineno,loc:this.yylloc,yy:this.yy,lexer:this,destroy:function(){var e=!!this.recoverable;for(var t in this)this.hasOwnProperty(t)&&"object"==typeof t&&(this[t]=void 0);this.recoverable=e}};return this.__error_infos.push(i),i},parseError:function(e,t,n){if(n||(n=this.JisonLexerError),this.yy){if(this.yy.parser&&"function"==typeof this.yy.parser.parseError)return this.yy.parser.parseError.call(this,e,t,n)||this.ERROR;if("function"==typeof this.yy.parseError)return this.yy.parseError.call(this,e,t,n)||this.ERROR}throw new n(e,t)},yyerror:function(e){var t="";this.yylloc&&(t=" on line "+(this.yylineno+1));var n=this.constructLexErrorInfo("Lexical error"+t+": "+e,this.options.lexerErrorsAreRecoverable),r=Array.prototype.slice.call(arguments,1
2);return r.length&&(n.extra_error_attributes=r),this.parseError(n.errStr,n,this.JisonLexerError)||this.ERROR},cleanupAfterLex:function(e){if(this.setInput("",{}),!e){for(var t=this.__error_infos.length-1;t>=0;t--){var n=this.__error_infos[t];n&&"function"==typeof n.destroy&&n.destroy()}this.__error_infos.length=0}return this},clear:function(){this.yytext="",this.yyleng=0,this.match="",this.matches=!1,this._more=!1,this._backtrack=!1;var e=this.yylloc?this.yylloc.last_column:0;this.yylloc={first_line:this.yylineno+1,first_column:e,last_line:this.yylineno+1,last_column:e,range:[this.offset,this.offset]}},setInput:function(e,t){if(this.yy=t||this.yy||{},!this.__decompressed){for(var n=this.rules,r=0,i=n.length;r<i;r++)"number"==typeof(d=n[r])&&(n[r]=n[d]);var o=this.conditions;for(var a in o){var s=o[a],c=s.rules,l=(i=c.length,new Array(i+1)),u=new Array(i+1);for(r=0;r<i;r++){var f=c[r],d=n[f];l[r+1]=d,u[r+1]=f}s.rules=u,s.__rule_regexes=l,s.__rule_count=i}this.__decompressed=!0}return this._input=e||"",this.clear(),this._signaled_error_token=!1,this.done=!1,this.yylineno=0,this.matched="",this.conditionStack=["INITIAL"],this.__currentRuleSet__=null,this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0,range:[0,0]},this.offset=0,this},editRemainingInput:function(e,t){var n=e.call(this,this._input,t);return"string"!=typeof n?n&&(this._input=""+n):this._input=n,this},input:function(){if(!this._input)return null;var e=this._input[0];this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e;var t=1,n=!1;if("\n"===e)n=!0;else if("\r"===e){n=!0;var r=this._input[1];"\n"===r&&(t++,e+=r,this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r,this.yylloc.range[1]++)}return n?(this.yylineno++,this.yylloc.last_line++,this.yylloc.last_column=0):this.yylloc.last_column++,this.yylloc.range[1]++,this._input=this._input.slice(t),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);if(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.yyleng=this.yytext.length,this.offset-=t,this.match=this.match.substr(0,this.match.length-t),this.matched=this.matched.substr(0,this.matched.length-t),n.length>1){this.yylineno-=n.length-1,this.yylloc.last_line=this.yylineno+1;var r=this.match,i=r.split(/(?:\r\n?|\n)/g);1===i.length&&(i=(r=this.matched).split(/(?:\r\n?|\n)/g)),this.yylloc.last_column=i[i.length-1].length}else this.yylloc.last_column-=t;return this.yylloc.range[1]=this.yylloc.range[0]+this.yyleng,this.done=!1,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else{var e="";this.yylloc&&(e=" on line "+(this.yylineno+1));var t=this.constructLexErrorInfo("Lexical error"+e+": You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).",!1);this._signaled_error_token=this.parseError(t.errStr,t,this.JisonLexerError)||this.ERROR}return this},less:function(e){return this.unput(this.match.slice(e))},pastInput:function(e,t){var n=this.matched.substring(0,this.matched.length-this.match.length);e<0?e=n.length:e||(e=20),t<0?t=n.length:t||(t=1);var r=(n=n.substr(2*-e-2)).replace(/\r\n|\r/g,"\n").split("\n");return(n=(r=r.slice(-t)).join("\n")).length>e&&(n="..."+n.substr(-e)),n},upcomingInput:function(e,t){var n=this.match;e<0?e=n.length+this._input.length:e||(e=20),t<0?t=e:t||(t=1),n.length<2*e+2&&(n+=this._input.substring(0,2*e+2));var r=n.replace(/\r\n|\r/g,"\n").split("\n");return(n=(r=r.slice(0,t)).join("\n")).length>e&&(n=n.substring(0,e)+"..."),n},showPosition:function(e,t){var n=this.pastInput(e).replace(/\s/g," "),r=new Array(n.length+1).join("-");return n+this.upcomingInput(t).replace(/\s/g," ")+"\n"+r+"^"},deriveLocationInfo:function(e,t,n,r){var i={first_line:1,first_column:0,last_line:1,last_column:0,range:[0,0]};return e&&(i.first_line=0|e.first_line,i.last_line=0|e.last_line,i.first_column=0|e.first_column,i.last_column=0|e.last_column,e.range&&(i.range[0]=0|e.range[0],i.range[1]=0|e.range[1])),(i.first_line<=0||i.last_line<i.first_line)&&(i.first_line<=0&&t&&(i.first_line=0|t.last_line,i.first_column=0|t.last_column,t.range&&(i.range[0]=0|e.range[1])),(i.last_line<=0||i.last_line<i.first_line)&&n&&(i.last_line=0|n.first_line,i.last_column=0|n.first_column,n.range&&(i.range[1]=0|e.range[0])),i.first_line<=0&&r&&(i.last_line<=0||r.last_line<=i.last_line)&&(i.first_line=0|r.first_line,i.first_column=0|r.first_column,r.range&&(i.range[0]=0|r.range[0])),i.last_line<=0&&r&&(i.first_line<=0||r.first_line>=i.first_line)&&(i.last_line=0|r.last_line,i.last_column=0|r.last_column,r.range&&(i.range[1]=0|r.range[1]))),i.last_line<=0&&(i.first_line<=0?(i.first_line=this.yylloc.first_line,i.last_line=this.yylloc.last_line,i.first_column=this.yylloc.first_column,i.last_column=this.yylloc.last_column,i.range[0]=this.yylloc.range[0],i.range[1]=this.yylloc.range[1]):(i.last_line=this.yylloc.last_line,i.last_column=this.yylloc.last_column,i.range[1]=this.yylloc.range[1])),i.first_line<=0&&(i.first_line=i.last_line,i.first_column=0,i.range[1]=i.range[0]),i.first_column<0&&(i.first_column=0),i.last_column<0&&(i.last_column=i.first_column>0?i.first_column:80),i},prettyPrintRange:function(e,t,n){e=this.deriveLocationInfo(e,t,n);var r=(this.matched+this._input).split("\n"),i=Math.max(1,t?t.first_line:e.first_line-3),o=Math.max(1,n?n.last_line:e.last_line+1),a=1+Math.log10(1|o)|0,s=new Array(a).join(" "),c=[],l=r.slice(i-1,o+1).map(function(t,n){var r=n+i,o=(s+r).substr(-a)+": "+t,l=new Array(a+1).join("^"),u=3,f=0;return r===e.first_line?(u+=e.first_column,f=Math.max(2,(r===e.last_line?e.last_column:t.length)-e.first_column+1)):r===e.last_line?f=Math.max(2,e.last_column+1):r>e.first_line&&r<e.last_line&&(f=Math.max(2,t.length+1)),f&&(o+="\n"+l+new Array(u).join(".")+new Array(f).join("^"),t.trim().length>0&&c.push(n)),o.replace(/\t/g," ")});if(c.length>4){var u=c[1]+1,f=c[c.length-2]-1,d=new Array(a+1).join(" ")+" (...continued...)";d+="\n"+new Array(a+1).join("-")+" (---------------)",l.splice(u,f-u+1,d)}return l.join("\n")},describeYYLLOC:function(e,t){var n,r=e.first_line,i=e.last_line,o=e.first_column,a=e.last_column;if(0===i-r?(n="line "+r+", ",n+=a-o<=1?"column "+o:"columns "+o+" .. "+a):n="lines "+r+"(column "+o+") .. "+i+"(column "+a+")",e.range&&t){var s=e.range[0],c=e.range[1]-1;n+=c<=s?" {String Offset: "+s+"}":" {String Offset range: "+s+" .. "+c+"}"}return n},test_match:function(e,t){var n,r,i,o,a;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.yylloc.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column,range:this.yylloc.range.slice(0)},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done}),a=(o=e[0]).length,(r=o.split(/(?:\r\n?|\n)/g)).length>1?(this.yylineno+=r.length-1,this.yylloc.last_line=this.yylineno+1,this.yylloc.last_column=r[r.length-1].length):this.yylloc.last_column+=a,this.yytext+=o,this.match+=o,this.matched+=o,this.matches=e,this.yyleng=this.yytext.length,this.yylloc.range[1]+=a,this.offset+=a,this._more=!1,this._backtrack=!1,this._input=this._input.slice(a),n=this.performAction.call(this,this.yy,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var s in i)this[s]=i[s];return this.__currentRuleSet__=null,!1}return!!this._signaled_error_token&&(n=this._signaled_error_token,this._signaled_error_token=!1,n)},next:function(){if(this.done)return this.clear(),this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||this.clear();var i=this.__currentRuleSet__;if(!(i||(i=this.__currentRuleSet__=this._currentRules())&&i.rules)
2){var o="";this.options.trackPosition&&(o=" on line "+(this.yylineno+1));var a=this.constructLexErrorInfo("Internal lexer engine error"+o+': The lex grammar programmer pushed a non-existing condition name "'+this.topState()+'"; this is a fatal error and should be reported to the application programmer team!',!1);return this.parseError(a.errStr,a,this.JisonLexerError)||this.ERROR}for(var s=i.rules,c=i.__rule_regexes,l=i.__rule_count,u=1;u<=l;u++)if((n=this._input.match(c[u]))&&(!t||n[0].length>t[0].length)){if(t=n,r=u,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,s[u])))return e;if(this._backtrack){t=void 0;continue}return!1}if(!this.options.flex)break}if(t)return!1!==(e=this.test_match(t,s[r]))&&e;if(this._input){o="",this.options.trackPosition&&(o=" on line "+(this.yylineno+1)),a=this.constructLexErrorInfo("Lexical error"+o+": Unrecognized text.",this.options.lexerErrorsAreRecoverable);var f=this._input,d=this.topState(),h=this.conditionStack.length;return(e=this.parseError(a.errStr,a,this.JisonLexerError)||this.ERROR)===this.ERROR&&(this.matches||f!==this._input||d!==this.topState()||h!==this.conditionStack.length||this.input()),e}return this.done=!0,this.clear(),this.EOF},lex:function(){var e;for("function"==typeof this.pre_lex&&(e=this.pre_lex.call(this,0)),"function"==typeof this.options.pre_lex&&(e=this.options.pre_lex.call(this,e)||e),this.yy&&"function"==typeof this.yy.pre_lex&&(e=this.yy.pre_lex.call(this,e)||e);!e;)e=this.next();return this.yy&&"function"==typeof this.yy.post_lex&&(e=this.yy.post_lex.call(this,e)||e),"function"==typeof this.options.post_lex&&(e=this.options.post_lex.call(this,e)||e),"function"==typeof this.post_lex&&(e=this.post_lex.call(this,e)||e),e},fastLex:function(){for(var e;!e;)e=this.next();return e},canIUse:function(){return{fastLex:!("function"==typeof this.pre_lex||"function"==typeof this.options.pre_lex||this.yy&&"function"==typeof this.yy.pre_lex||this.yy&&"function"==typeof this.yy.post_lex||"function"==typeof this.options.post_lex||"function"==typeof this.post_lex)&&"function"==typeof this.fastLex}},begin:function(e){return this.pushState(e)},pushState:function(e){return this.conditionStack.push(e),this.__currentRuleSet__=null,this},popState:function(){return this.conditionStack.length-1>0?(this.__currentRuleSet__=null,this.conditionStack.pop()):this.conditionStack[0]},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]]:this.conditions.INITIAL},stateStackSize:function(){return this.conditionStack.length},options:{trackPosition:!0},JisonLexerError:e,performAction:function(e,t,n){if(1!==t)return this.simpleCaseActionClusters[t]},simpleCaseActionClusters:{0:13,2:5,3:6,4:3,5:4,6:15,7:15,8:15,9:15,10:15,11:15,12:16,13:16,14:16,15:16,16:17,17:17,18:18,19:18,20:19,21:19,22:19,23:20,24:21,25:22,26:23,27:25,28:24,29:26,30:27,31:28,32:11,33:9,34:12,35:10,36:7,37:8,38:14,39:1},rules:[/^(?:(--[\d\-A-Za-z]*))/,/^(?:\s+)/,/^(?:\*)/,/^(?:\/)/,/^(?:\+)/,/^(?:-)/,/^(?:(\d+(\.\d*)?|\.\d+)px\b)/,/^(?:(\d+(\.\d*)?|\.\d+)cm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)mm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)in\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pt\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pc\b)/,/^(?:(\d+(\.\d*)?|\.\d+)deg\b)/,/^(?:(\d+(\.\d*)?|\.\d+)grad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)turn\b)/,/^(?:(\d+(\.\d*)?|\.\d+)s\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ms\b)/,/^(?:(\d+(\.\d*)?|\.\d+)Hz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)kHz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpi\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpcm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dppx\b)/,/^(?:(\d+(\.\d*)?|\.\d+)em\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ex\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ch\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rem\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vw\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vh\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmin\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmax\b)/,/^(?:(\d+(\.\d*)?|\.\d+)%)/,/^(?:(\d+(\.\d*)?|\.\d+)\b)/,/^(?:(calc))/,/^(?:(var))/,/^(?:([a-z]+))/,/^(?:\()/,/^(?:\))/,/^(?:,)/,/^(?:$)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],inclusive:!0}}};return t}();function a(){this.yy={}}return i.lexer=o,a.prototype=i,i.Parser=a,new a}();t.parser=n,t.Parser=n.Parser,t.parse=function(){return n.parse.apply(n,arguments)}},85610(e,t,n){var r=n(59513),i=n(95009),o=n(7671);function a(e){return this instanceof a?(this.nodes=r(e),this):new a(e)}a.prototype.toString=function(){return Array.isArray(this.nodes)?o(this.nodes):""},a.prototype.walk=function(e,t){return i(this.nodes,e,t),this},a.unit=n(42882),a.walk=i,a.stringify=o,e.exports=a},59513(e){var t="(".charCodeAt(0),n=")".charCodeAt(0),r="'".charCodeAt(0),i='"'.charCodeAt(0),o="\\".charCodeAt(0),a="/".charCodeAt(0),s=",".charCodeAt(0),c=":".charCodeAt(0),l="*".charCodeAt(0);e.exports=function(e){for(var u,f,d,h,p,m,y,g,v=[],b=e,w=0,x=b.charCodeAt(w),S=b.length,k=[{nodes:v}],E=0,_="",C="",A="";w<S;)if(x<=32){u=w;do{u+=1,x=b.charCodeAt(u)}while(x<=32);h=b.slice(w,u),d=v[v.length-1],x===n&&E?A=h:d&&"div"===d.type?d.after=h:x===s||x===c||x===a&&b.charCodeAt(u+1)!==l?C=h:v.push({type:"space",sourceIndex:w,value:h}),w=u}else if(x===r||x===i){u=w,h={type:"string",sourceIndex:w,quote:f=x===r?"'":'"'};do{if(p=!1,~(u=b.indexOf(f,u+1)))for(m=u;b.charCodeAt(m-1)===o;)m-=1,p=!p;else u=(b+=f).length-1,h.unclosed=!0}while(p);h.value=b.slice(w+1,u),v.push(h),w=u+1,x=b.charCodeAt(w)}else if(x===a&&b.charCodeAt(w+1)===l)h={type:"comment",sourceIndex:w},-1===(u=b.indexOf("*/",w))&&(h.unclosed=!0,u=b.length),h.value=b.slice(w+2,u),v.push(h),w=u+2,x=b.charCodeAt(w);else if(x===a||x===s||x===c)h=b[w],v.push({type:"div",sourceIndex:w-C.length,value:h,before:C,after:""}),C="",w+=1,x=b.charCodeAt(w);else if(t===x){u=w;do{u+=1,x=b.charCodeAt(u)}while(x<=32);if(h={type:"function",sourceIndex:w-_.length,value:_,before:b.slice(w+1,u)},w=u,"url"===_&&x!==r&&x!==i){u-=1;do{if(p=!1,~(u=b.indexOf(")",u+1)))for(m=u;b.charCodeAt(m-1)===o;)m-=1,p=!p;else u=(b+=")").length-1,h.unclosed=!0}while(p);y=u;do{y-=1,x=b.charCodeAt(y)}while(x<=32);h.nodes=w!==y+1?[{type:"word",sourceIndex:w,value:b.slice(w,y+1)}]:[],h.unclosed&&y+1!==u?(h.after="",h.nodes.push({type:"space",sourceIndex:y+1,value:b.slice(y+1,u)})):h.after=b.slice(y+1,u),w=u+1,x=b.charCodeAt(w),v.push(h)}else E+=1,h.after="",v.push(h),k.push(h),v=h.nodes=[],g=h;_=""}else if(n===x&&E)w+=1,x=b.charCodeAt(w),g.after=A,A="",E-=1,k.pop(),v=(g=k[E]).nodes;else{u=w;do{x===o&&(u+=1),u+=1,x=b.charCodeAt(u)}while(u<S&&!(x<=32||x===r||x===i||x===s||x===c||x===a||x===t||x===n&&E));h=b.slice(w,u),t===x?_=h:v.push({type:"word",sourceIndex:w,value:h}),w=u}for(w=k.length-1;w;w-=1)k[w].unclosed=!0;return k[0].nodes}},7671(e){function t(e,t){var r,i,o=e.type,a=e.value;
2return t&&void 0!==(i=t(e))?i:"word"===o||"space"===o?a:"string"===o?(r=e.quote||"")+a+(e.unclosed?"":r):"comment"===o?"/*"+a+(e.unclosed?"":"*/"):"div"===o?(e.before||"")+a+(e.after||""):Array.isArray(e.nodes)?(r=n(e.nodes),"function"!==o?r:a+"("+(e.before||"")+r+(e.after||"")+(e.unclosed?"":")")):a}function n(e,n){var r,i;if(Array.isArray(e)){for(r="",i=e.length-1;~i;i-=1)r=t(e[i],n)+r;return r}return t(e,n)}e.exports=n},42882(e){var t="-".charCodeAt(0),n="+".charCodeAt(0),r=".".charCodeAt(0),i="e".charCodeAt(0),o="E".charCodeAt(0);e.exports=function(e){for(var a,s=0,c=e.length,l=!1,u=-1,f=!1;s<c;){if((a=e.charCodeAt(s))>=48&&a<=57)f=!0;else if(a===i||a===o){if(u>-1)break;u=s}else if(a===r){if(l)break;l=!0}else{if(a!==n&&a!==t)break;if(0!==s)break}s+=1}return u+1===s&&s--,!!f&&{number:e.slice(0,s),unit:e.slice(s)}}},95009(e){e.exports=function e(t,n,r){var i,o,a,s;for(i=0,o=t.length;i<o;i+=1)a=t[i],r||(s=n(a,i,t)),!1!==s&&"function"===a.type&&Array.isArray(a.nodes)&&e(a.nodes,n,r),r&&n(a,i,t)}},22325(e,t,n){"use strict";n.d(t,{Mz:()=>s});var r="NOT_FOUND",i=function(e,t){return e===t};function o(e,t){var n,o,a="object"==typeof t?t:{equalityCheck:t},s=a.equalityCheck,c=void 0===s?i:s,l=a.maxSize,u=void 0===l?1:l,f=a.resultEqualityCheck,d=function(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,i=0;i<r;i++)if(!e(t[i],n[i]))return!1;return!0}}(c),h=1===u?(n=d,{get:function(e){return o&&n(o.key,e)?o.value:r},put:function(e,t){o={key:e,value:t}},getEntries:function(){return o?[o]:[]},clear:function(){o=void 0}}):function(e,t){var n=[];function i(e){var i=n.findIndex(function(n){return t(e,n.key)});if(i>-1){var o=n[i];return i>0&&(n.splice(i,1),n.unshift(o)),o.value}return r}return{get:i,put:function(t,o){i(t)===r&&(n.unshift({key:t,value:o}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(u,d);function p(){var t=h.get(arguments);if(t===r){if(t=e.apply(null,arguments),f){var n=h.getEntries().find(function(e){return f(e.value,t)});n&&(t=n.value)}h.put(arguments,t)}return t}return p.clearCache=function(){return h.clear()},p}function a(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];var o,a=0,s={memoizeOptions:void 0},c=r.pop();if("object"==typeof c&&(s=c,c=r.pop()),"function"!=typeof c)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof c+"]");var l=s.memoizeOptions,u=void 0===l?n:l,f=Array.isArray(u)?u:[u],d=function(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(e){return"function"==typeof e})){var n=t.map(function(e){return"function"==typeof e?"function "+(e.name||"unnamed")+"()":typeof e}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+n+"]")}return t}(r),h=e.apply(void 0,[function(){return a++,c.apply(null,arguments)}].concat(f)),p=e(function(){for(var e=[],t=d.length,n=0;n<t;n++)e.push(d[n].apply(null,arguments));return o=h.apply(null,e)});return Object.assign(p,{resultFunc:c,memoizedResultFunc:h,dependencies:d,lastResult:function(){return o},recomputations:function(){return a},resetRecomputations:function(){return a=0}}),p}}var s=a(o)},7463(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>o(c,n))l<i&&0>o(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else{if(!(l<i&&0>o(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,c=s.now();t.unstable_now=function(){return s.now()-c}}var l=[],u=[],f=1,d=null,h=3,p=!1,m=!1,y=!1,g="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(u);null!==t;){if(null===t.callback)i(u);else{if(!(t.startTime<=e))break;i(u),t.sortIndex=t.expirationTime,n(l,t)}t=r(u)}}function x(e){if(y=!1,w(e),!m)if(null!==r(l))m=!0,R(S);else{var t=r(u);null!==t&&D(x,t.startTime-e)}}function S(e,n){m=!1,y&&(y=!1,v(C),C=-1),p=!0;var o=h;try{for(w(n),d=r(l);null!==d&&(!(d.expirationTime>n)||e&&!P());){var a=d.callback;if("function"==typeof a){d.callback=null,h=d.priorityLevel;var s=a(d.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?d.callback=s:d===r(l)&&i(l),w(n)}else i(l);d=r(l)}if(null!==d)var c=!0;else{var f=r(u);null!==f&&D(x,f.startTime-n),c=!1}return c}finally{d=null,h=o,p=!1}
2}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,E=!1,_=null,C=-1,A=5,T=-1;function P(){return!(t.unstable_now()-T<A)}function O(){if(null!==_){var e=t.unstable_now();T=e;var n=!0;try{n=_(!0,e)}finally{n?k():(E=!1,_=null)}}else E=!1}if("function"==typeof b)k=function(){b(O)};else if("undefined"!=typeof MessageChannel){var M=new MessageChannel,I=M.port2;M.port1.onmessage=O,k=function(){I.postMessage(null)}}else k=function(){g(O,0)};function R(e){_=e,E||(E=!0,k())}function D(e,n){C=g(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||p||(m=!0,R(S))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(l)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?a+o:a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:f++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(e.sortIndex=o,n(u,e),null===r(l)&&e===r(u)&&(y?(v(C),C=-1):y=!0,D(x,o-a))):(e.sortIndex=s,n(l,e),m||p||(m=!0,R(S))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},69982(e,t,n){"use strict";e.exports=n(7463)},2833(e){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<o.length;c++){var l=o[c];if(!s(l))return!1;var u=e[l],f=t[l];if(!1===(i=n?n.call(r,u,f,l):void 0)||void 0===i&&u!==f)return!1}return!0}},35229(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(51133)),i=n(98917);function o(e,t){var n={};return e&&"string"==typeof e?((0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n):n}o.default=o,e.exports=o},98917(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},c=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||i.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,c):e.replace(o,c)).replace(r,s))}},51133(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,i.default)(e),o="function"==typeof t;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,i=e.value;o?t(r,i,e):i&&((n=n||{})[r]=i)}}),n};var i=r(n(19788))},65129(e,t){t.calcMaxWidth=e=>parseInt(e,10)-.02+"px"},79474(e,t,n){e.exports=n(87915)},87915(e,t,n){const{calcMaxWidth:r}=n(65129);t.createBreakpointsApi=({breakpoints:e})=>{const t={},n=Object.keys(e);return n.forEach((e,n)=>{t[e]=n}),{keys:n,getNextKey:function(e){return n[t[e]+1]},up:i,down:o,between:function(e,t){return{min:i(e),max:o(t)}}};function i(t){return e[t]}function o(t){return r(e[t])}}},19870(e,t){t.memoize=e=>{const t=new Map;return(...n)=>{const r=JSON.stringify(n);return t.has(r)||t.set(r,e(...n)),t.get(r)}}},84824(e,t,n){const{createBreakpointsApi:r}=n(79474),{memoize:i}=n(19870),{withOrientation:o}=n(26252),a={errorPrefix:"[styled-breakpoints]: ",breakpoints:{xs:"0px",sm:"576px",md:"768px",lg:"992px",xl:"1200px",xxl:"1400px"}};function s(e){return`(min-width: ${e})`}function c(e){return`@media ${e}`}function l(e){return`(max-width: ${e})`}function u({min:e,max:t}){return`${c(s(e))} and ${l(t)}`}t.d=({breakpoints:e,errorPrefix:t}=a)=>{const n=r({errorPrefix:t,breakpoints:e});return{breakpoints:{up:i(function(e,t){return f(c(s(n.up(e))),t)}),down:i(function(e,t){return f(c(l(n.down(e))),t)}),between:i(function(e,t,r){return f(u(n.between(e,t)),r)}),only:i(function(e,t){return f(e===n.keys.at(-1)?c(s(n.up(e))):u(n.between(e,n.getNextKey(e))),t)})}};function f(e,t){return t?o({mediaQuery:e,orientation:t,invariant:n.invariant&&n.invariant}):e}}},26252(e,t,n){e.exports=n(56173)}
vendor: 6,004 bytes, line 2
2,56173(e,t){t.withOrientation=({mediaQuery:e,orientation:t})=>`${e} and (orientation: ${t})`},27581(e,t,n){"use strict";n.d(t,{ID:()=>_t,NP:()=>Ft,DU:()=>Gt,AH:()=>Ut,Ay:()=>qt,DP:()=>jt});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};function i(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create;var o=n(96540),a=n(2833),s=n.n(a),c="-ms-",l="-moz-",u="-webkit-",f="comm",d="rule",h="decl",p="@keyframes",m=Math.abs,y=String.fromCharCode,g=Object.assign;function v(e){return e.trim()}function b(e,t){return(e=t.exec(e))?e[0]:e}function w(e,t,n){return e.replace(t,n)}function x(e,t,n){return e.indexOf(t,n)}function S(e,t){return 0|e.charCodeAt(t)}function k(e,t,n){return e.slice(t,n)}function E(e){return e.length}function _(e){return e.length}function C(e,t){return t.push(e),e}function A(e,t){return e.filter(function(e){return!b(e,t)})}var T=1,P=1,O=0,M=0,I=0,R="";function D(e,t,n,r,i,o,a,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:T,column:P,length:a,return:"",siblings:s}}function N(e,t){return g(D("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function j(e){for(;e.root;)e=N(e.root,{children:[e]});C(e,e.siblings)}function F(){return I=M>0?S(R,--M):0,P--,10===I&&(P=1,T--),I}function L(){return I=M<O?S(R,M++):0,P++,10===I&&(P=1,T++),I}function B(){return S(R,M)}function z(){return M}function V(e,t){return k(R,e,t)}function U(e){switch(e){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 $(e){return v(V(M-1,W(91===e?e+2:40===e?e+1:e)))}function H(e){for(;(I=B())&&I<33;)L();return U(e)>2||U(I)>3?"":" "}function q(e,t){for(;--t&&L()&&!(I<48||I>102||I>57&&I<65||I>70&&I<97););return V(e,z()+(t<6&&32==B()&&32==L()))}function W(e){for(;L();)switch(I){case e:return M;case 34:case 39:34!==e&&39!==e&&W(I);break;case 40:41===e&&W(e);break;case 92:L()}return M}function G(e,t){for(;L()&&e+I!==57&&(e+I!==84||47!==B()););return"/*"+V(t,M-1)+"*"+y(47===e?e:L())}function K(e){for(;!U(B());)L();return V(e,M)}function Q(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function J(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case h:return e.return=e.return||e.value;case f:return"";case p:return e.return=e.value+"{"+Q(e.children,r)+"}";case d:if(!E(e.value=e.props.join(",")))return""}return E(n=Q(e.children,r))?e.return=e.value+"{"+n+"}":""}function X(e,t,n){switch(function(e,t){return 45^S(e,0)?(((t<<2^S(e,0))<<2^S(e,1))<<2^S(e,2))<<2^S(e,3):0}(e,t)){case 5103:return u+"print-"+e+e;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 u+e+e;case 4789:return l+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return u+e+l+e+c+e+e;case 5936:switch(S(e,t+11)){case 114:return u+e+c+w(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return u+e+c+w(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return u+e+c+w(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return u+e+c+e+e;case 6165:return u+e+c+"flex-"+e+e;case 5187:return u+e+w(e,/(\w+).+(:[^]+)/,u+"box-$1$2"+c+"flex-$1$2")+e;case 5443:return u+e+c+"flex-item-"+w(e,/flex-|-self/g,"")+(b(e,/flex-|baseline/)?"":c+"grid-row-"+w(e,/flex-|-self/g,""))+e;case 4675:return u+e+c+"flex-line-pack"+w(e,/align-content|flex-|-self/g,"")+e;case 5548:return u+e+c+w(e,"shrink","negative")+e;case 5292:return u+e+c+w(e,"basis","preferred-size")+e;case 6060:return u+"box-"+w(e,"-grow","")+u+e+c+w(e,"grow","positive")+e;case 4554:return u+w(e,/([^-])(transform)/g,"$1"+u+"$2")+e;case 6187:return w(w(w(e,/(zoom-|grab)/,u+"$1"),/(image-set)/,u+"$1"),e,"")+e;case 5495:case 3959:return w(e,/(image-set\([^]*)/,u+"$1$`$1");case 4968:return w(w(e,/(.+:)(flex-)?(.*)/,u+"box-pack:$3"+c+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+u+e+e;case 4200:if(!b(e,/flex-|baseline/))return c+"grid-column-align"+k(e,t)+e;break;case 2592:case 3360:return c+w(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(e,n){return t=n,b(e.props,/grid-\w+-end/)})?~x(e+(n=n[t].value),"span",0)?e:c+w(e,"-start","")+e+c+"grid-row-span:"+(~x(n,"span",0)?b(n,/\d+/):+b(n,/\d+/)-+b(e,/\d+/))+";":c+w(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(e){return b(e.props,/grid-\w+-start/)})?e:c+w(w(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return w(e,/(.+)-inline(.+)/,u+"$1$2")+e;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(E(e)-1-t>6)switch(S(e,t+1)){case 109:if(45!==S(e,t+4))break;case 102:return w(e,/(.+:)(.+)-([^]+)/,"$1"+u+"$2-$3$1"+l+(108==S(e,t+3)?"$3":"$2-$3"))+e;case 115:return~x(e,"stretch",0)?X(w(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return w(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,n,r,i,o,a,s){return c+n+":"+r+s+(i?c+n+"-span:"+(o?a:+a-+r)+s:"")+e});case 4949:if(121===S(e,t+6))return w(e,":",":"+u)+e;break;case 6444:switch(S(e,45===S(e,14)?18:11)){case 120:return w(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+u+(45===S(e,14)?"inline-":"")+"box$3$1"+u+"$2$3$1"+c+"$2box$3")+e;case 100:return w(e,":",":"+c)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return w(e,"scroll-","scroll-snap-")+e}return e}function Y(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case h:return void(e.return=X(e.value,e.length,n));case p:return Q([N(e,{value:w(e.value,"@","@"+u)}
vendor: 16,711 bytes, line 2
2)],r);case d:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,function(t){switch(b(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":j(N(e,{props:[w(t,/:(read-\w+)/,":-moz-$1")]})),j(N(e,{props:[t]})),g(e,{props:A(n,r)});break;case"::placeholder":j(N(e,{props:[w(t,/:(plac\w+)/,":"+u+"input-$1")]})),j(N(e,{props:[w(t,/:(plac\w+)/,":-moz-$1")]})),j(N(e,{props:[w(t,/:(plac\w+)/,c+"input-$1")]})),j(N(e,{props:[t]})),g(e,{props:A(n,r)})}return""})}}function Z(e){return function(e){return R="",e}(ee("",null,null,null,[""],e=function(e){return T=P=1,O=E(R=e),M=0,[]}(e),0,[0],e))}function ee(e,t,n,r,i,o,a,s,c){for(var l=0,u=0,f=a,d=0,h=0,p=0,g=1,v=1,b=1,k=0,_="",A=i,T=o,P=r,O=_;v;)switch(p=k,k=L()){case 40:if(108!=p&&58==S(O,f-1)){-1!=x(O+=w($(k),"&","&\f"),"&\f",m(l?s[l-1]:0))&&(b=-1);break}case 34:case 39:case 91:O+=$(k);break;case 9:case 10:case 13:case 32:O+=H(p);break;case 92:O+=q(z()-1,7);continue;case 47:switch(B()){case 42:case 47:C(ne(G(L(),z()),t,n,c),c);break;default:O+="/"}break;case 123*g:s[l++]=E(O)*b;case 125*g:case 59:case 0:switch(k){case 0:case 125:v=0;case 59+u:-1==b&&(O=w(O,/\f/g,"")),h>0&&E(O)-f&&C(h>32?re(O+";",r,n,f-1,c):re(w(O," ","")+";",r,n,f-2,c),c);break;case 59:O+=";";default:if(C(P=te(O,t,n,l,u,i,s,_,A=[],T=[],f,o),o),123===k)if(0===u)ee(O,t,P,P,A,o,f,s,T);else switch(99===d&&110===S(O,3)?100:d){case 100:case 108:case 109:case 115:ee(e,P,P,r&&C(te(e,P,P,0,0,i,s,_,i,A=[],f,T),T),i,T,f,s,r?A:T);break;default:ee(O,P,P,P,[""],T,0,s,T)}}l=u=h=0,g=b=1,_=O="",f=a;break;case 58:f=1+E(O),h=p;default:if(g<1)if(123==k)--g;else if(125==k&&0==g++&&125==F())continue;switch(O+=y(k),k*g){case 38:b=u>0?1:(O+="\f",-1);break;case 44:s[l++]=(E(O)-1)*b,b=1;break;case 64:45===B()&&(O+=$(L())),d=B(),u=f=E(_=O+=K(z())),k++;break;case 45:45===p&&2==E(O)&&(g=0)}}return o}function te(e,t,n,r,i,o,a,s,c,l,u,f){for(var h=i-1,p=0===i?o:[""],y=_(p),g=0,b=0,x=0;g<r;++g)for(var S=0,E=k(e,h+1,h=m(b=a[g])),C=e;S<y;++S)(C=v(b>0?p[S]+" "+E:w(E,/&\f/g,p[S])))&&(c[x++]=C);return D(e,t,n,0===i?d:s,c,l,u,f)}function ne(e,t,n,r){return D(e,t,n,f,y(I),k(e,2,-2),0,r)}function re(e,t,n,r,i){return D(e,t,n,h,k(e,0,r),k(e,r+1,-1),r,i)}var ie={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,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},oe="undefined"!=typeof process&&("MISSING_ENV_VAR".REACT_APP_SC_ATTR||"MISSING_ENV_VAR".SC_ATTR)||"data-styled",ae="active",se="data-styled-version",ce="6.1.19",le="/*!sc*/\n",ue="undefined"!=typeof window&&"undefined"!=typeof document,fe=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY&&""!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY?"false"!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY&&"MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&""!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&"false"!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&"MISSING_ENV_VAR".SC_DISABLE_SPEEDY),de={},he=(new Set,Object.freeze([])),pe=Object.freeze({});function me(e,t,n){return void 0===n&&(n=pe),e.theme!==n.theme&&e.theme||t||n.theme}var ye=new Set(["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","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","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","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ge=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ve=/(^-|-$)/g;function be(e){return e.replace(ge,"-").replace(ve,"")}var we=/(a)(d)/gi,xe=function(e){return String.fromCharCode(e+(e>25?39:97))};function Se(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=xe(t%52)+n;return(xe(t%52)+n).replace(we,"$1-$2")}var ke,Ee=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},_e=function(e){return Ee(5381,e)};function Ce(e){return Se(_e(e)>>>0)}function Ae(e){return"string"==typeof e&&!0}var Te="function"==typeof Symbol&&Symbol.for,Pe=Te?Symbol.for("react.memo"):60115,Oe=Te?Symbol.for("react.forward_ref"):60112,Me={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ie={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Re={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},De=((ke={})[Oe]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ke[Pe]=Re,ke);function Ne(e){return("type"in(t=e)&&t.type.$$typeof)===Pe?Re:"$$typeof"in e?De[e.$$typeof]:Me;var t}var je=Object.defineProperty,Fe=Object.getOwnPropertyNames,Le=Object.getOwnPropertySymbols,Be=Object.getOwnPropertyDescriptor,ze=Object.getPrototypeOf,Ve=Object.prototype;function Ue(e,t,n){if("string"!=typeof t){if(Ve){var r=ze(t);r&&r!==Ve&&Ue(e,r,n)}var i=Fe(t);Le&&(i=i.concat(Le(t)));for(var o=Ne(e),a=Ne(t),s=0;s<i.length;++s){var c=i[s];if(!(c in Ie||n&&n[c]||a&&c in a||o&&c in o)){var l=Be(t,c);try{je(e,c,l)}catch(e){}}}}return e}function $e(e){return"function"==typeof e}function He(e){return"object"==typeof e&&"styledComponentId"in e}function qe(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function We(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function Ge(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Ke(e,t,n){if(void 0===n&&(n=!1),!n&&!Ge(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=Ke(e[r],t[r]);else if(Ge(t))for(var r in t)e[r]=Ke(e[r],t[r]);return e}function Qe(e,t){Object.defineProperty(e,"toString",{value:t})}function Je(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var Xe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)if((i<<=1)<0)throw Je(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=(o=0,t.length);o<s;o++)this.tag.insertRule(a,t[o])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+="".concat(this.tag.getRule(o)).concat(le);return t},e}(),Ye=new Map,Ze=new Map,et=1,tt=function(e){if(Ye.has(e))return Ye.get(e);for(;Ze.has(et);)et++;var t=et++;return Ye.set(e,t),Ze.set(t,e),t},nt=function(e,t){et=t+1,Ye.set(e,t),Ze.set(t,e)},rt="style[".concat(oe,"][").concat(se,'="').concat(ce,'"]'),it=new RegExp("^".concat(oe,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ot=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},at=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(le),i=[],o=0,a=r.length;o<a;o++){var s=r[o].trim();if(s){var c=s.match(it);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(nt(u,l),ot(e,u,c[3]),e.getTag().insertRules(l,i)),i.length=0}else i.push(s)}}},st=function(e){for(var t=document.querySelectorAll(rt),n=0,r=t.length;n<r;n++){var i=t[n];i&&i.getAttribute(oe)!==ae&&(at(e,i),i.parentNode&&i.parentNode.removeChild(i))}};function ct(){return n.nc}var lt=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){var t=Array.from(e.querySelectorAll("style[".concat(oe,"]")));return t[t.length-1]}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(oe,ae),r.setAttribute(se,ce);var a=ct();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},ut=function(){function e(e){this.element=lt(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}throw Je(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),ft=function(){function e(e){this.element=lt(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),dt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),ht=ue,pt={isServer:!ue,useCSSOMInjection:!fe},mt=function(){function e(e,t,n){void 0===e&&(e=pe),void 0===t&&(t={});var i=this;this.options=r(r({},pt),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&ue&&ht&&(ht=!1,st(this)),Qe(this,function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=function(n){var i=function(e){return Ze.get(e)}(n);if(void 0===i)return"continue";var o=e.names.get(i),a=t.getGroup(n);if(void 0===o||!o.size||0===a.length)return"continue";var s="".concat(oe,".g").concat(n,'[id="').concat(i,'"]'),c="";void 0!==o&&o.forEach(function(e){e.length>0&&(c+="".concat(e,","))}),r+="".concat(a).concat(s,'{content:"').concat(c,'"}').concat(le)},o=0;o<n;o++)i(o);return r}(i)})}return e.registerId=function(e){return tt(e)},e.prototype.rehydrate=function(){!this.server&&ue&&st(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(r(r({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new dt(n):t?new ut(n):new ft(n)}(this.options),new Xe(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tt(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tt(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tt(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),yt=/&/g,gt=/^\s*\/\/.*$/gm;function vt(e,t){return e.map(function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return"".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=vt(e.children,t)),e})}function bt(e){var t,n,r,i=void 0===e?pe:e,o=i.options,a=void 0===o?pe:o,s=i.plugins,c=void 0===s?he:s,l=function(e,r,i){return i.startsWith(n)&&i.endsWith(n)&&i.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===d&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(yt,n).replace(r,l))}),a.prefix&&u.push(Y),u.push(J);var f=function(e,i,o,s){void 0===i&&(i=""),void 0===o&&(o=""),void 0===s&&(s="&"),t=s,n=i,r=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(gt,""),l=Z(o||i?"".concat(o," ").concat(i," { ").concat(c," }"):c);a.namespace&&(l=vt(l,a.namespace));var f,d,h,p=[];return Q(l,(f=u.concat((h=function(e){return p.push(e)},function(e){e.root||(e=e.return)&&h(e)})),d=_(f),function(e,t,n,r){for(var i="",o=0;o<d;o++)i+=f[o](e,t,n,r)||"";return i})),p};return f.hash=c.length?c.reduce(function(e,t){return t.name||Je(15),Ee(e,t.name)},5381).toString():"",f}var wt=new mt,xt=bt(),St=o.createContext({shouldForwardProp:void 0,styleSheet:wt,stylis:xt}),kt=(St.Consumer,o.createContext(void 0));function Et(){return(0,o.useContext)(St)}function _t(e){var t=(0,o.useState)(e.stylisPlugins),n=t[0],r=t[1],i=Et().styleSheet,a=(0,o.useMemo)(function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,i]),c=(0,o.useMemo)(function(){return bt({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);(0,o.useEffect)(function(){s()(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var l=(0,o.useMemo)(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:a,stylis:c}},[e.shouldForwardProp,a,c]);return o.createElement(St.Provider,{value:l},o.createElement(kt.Provider,{value:c},e.children))}var Ct=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=xt);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,Qe(this,function(){throw Je(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=xt),this.name+e.hash},e}(),At=function(e){return e>="A"&&e<="Z"};function Tt(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;At(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Pt=function(e){return null==e||!1===e||""===e},Ot=function(e){var t,n,r=[];for(var o in e){var a=e[o];e.hasOwnProperty(o)&&!Pt(a)&&(Array.isArray(a)&&a.isCss||$e(a)?r.push("".concat(Tt(o),":"),a,";"):Ge(a)?r.push.apply(r,i(i(["".concat(o," {")],Ot(a),!1),["}"],!1)):r.push("".concat(Tt(o),": ").concat((t=o,null==(n=a)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in ie||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Mt(e,t,n,r){return Pt(e)?[]:He(e)?[".".concat(e.styledComponentId)]:$e(e)?!$e(i=e)||i.prototype&&i.prototype.isReactComponent||!t?[e]:Mt(e(t),t,n,r):e instanceof Ct?n?(e.inject(n,r),[e.getName(r)]):[e]:Ge(e)?Ot(e):Array.isArray(e)?Array.prototype.concat.apply(he,e.map(function(e){return Mt(e,t,n,r)})):[e.toString()];var i}function It(e){for(var t=0;t<e.length;t+=1){var n=e[t];if($e(n)&&!He(n))return!1}return!0}var Rt=_e(ce),Dt=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&It(e),this.componentId=t,this.baseHash=Ee(Rt,t),this.baseStyle=n,mt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n
2):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=qe(r,this.staticRulesId);else{var i=We(Mt(this.rules,e,t,n)),o=Se(Ee(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,o)){var a=n(i,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,a)}r=qe(r,o),this.staticRulesId=o}else{for(var s=Ee(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u;else if(u){var f=We(Mt(u,e,t,n));s=Ee(s,f+l),c+=f}}if(c){var d=Se(s>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),r=qe(r,d)}}return r},e}(),Nt=o.createContext(void 0);function jt(){var e=(0,o.useContext)(Nt);if(!e)throw Je(18);return e}function Ft(e){var t=o.useContext(Nt),n=(0,o.useMemo)(function(){return function(e,t){if(!e)throw Je(14);if($e(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw Je(8);return t?r(r({},t),e):e}(e.theme,t)},[e.theme,t]);return e.children?o.createElement(Nt.Provider,{value:n},e.children):null}Nt.Consumer;var Lt={};function Bt(e,t,n){var i=He(e),a=e,s=!Ae(e),c=t.attrs,l=void 0===c?he:c,u=t.componentId,f=void 0===u?function(e,t){var n="string"!=typeof e?"sc":be(e);Lt[n]=(Lt[n]||0)+1;var r="".concat(n,"-").concat(Ce(ce+n+Lt[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):u,d=t.displayName,h=void 0===d?function(e){return Ae(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):d,p=t.displayName&&t.componentId?"".concat(be(t.displayName),"-").concat(t.componentId):t.componentId||f,m=i&&a.attrs?a.attrs.concat(l).filter(
2Boolean):l,y=t.shouldForwardProp;if(i&&a.shouldForwardProp){var g=a.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;y=function(e,t){return g(e,t)&&v(e,t)}}else y=g}var b=new Dt(n,p,i?a.componentStyle:void 0);function w(e,t){return function(e,t,n){var i=e.attrs,a=e.componentStyle,s=e.defaultProps,c=e.foldedComponentIds,l=e.styledComponentId,u=e.target,f=o.useContext(Nt),d=Et(),h=e.shouldForwardProp||d.shouldForwardProp,p=me(t,f,s)||pe,m=function(e,t,n){for(var i,o=r(r({},t),{className:void 0,theme:n}),a=0;a<e.length;a+=1){var s=$e(i=e[a])?i(o):i;for(var c in s)o[c]="className"===c?qe(o[c],s[c]):"style"===c?r(r({},o[c]),s[c]):s[c]}return t.className&&(o.className=qe(o.className,t.className)),o}(i,t,p),y=m.as||u,g={};for(var v in m)void 0===m[v]||"$"===v[0]||"as"===v||"theme"===v&&m.theme===p||("forwardedAs"===v?g.as=m.forwardedAs:h&&!h(v,y)||(g[v]=m[v]));var b=function(e,t){var n=Et();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(a,m),w=qe(c,l);return b&&(w+=" "+b),m.className&&(w+=" "+m.className),g[Ae(y)&&!ye.has(y)?"class":"className"]=w,n&&(g.ref=n),(0,o.createElement)(y,g)}(x,e,t)}w.displayName=h;var x=o.forwardRef(w);return x.attrs=m,x.componentStyle=b,x.displayName=h,x.shouldForwardProp=y,x.foldedComponentIds=i?qe(a.foldedComponentIds,a.styledComponentId):"",x.styledComponentId=p,x.target=i?a.target:e,Object.defineProperty(x,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,i=t;r<i.length;r++)Ke(e,i[r],!0);return e}({},a.defaultProps,e):e}}),Qe(x,function(){return".".concat(x.styledComponentId)}),s&&Ue(x,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),x}function zt(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}new Set;var Vt=function(e){return Object.assign(e,{isCss:!0})};function Ut(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if($e(e)||Ge(e))return Vt(Mt(zt(he,i([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?Mt(r):Vt(Mt(zt(r,t)))}function $t(e,t,n){if(void 0===n&&(n=pe),!t)throw Je(1,t);var o=function(r){for(var o=[],a=1;a<arguments.length;a++)o[a-1]=arguments[a];return e(t,n,Ut.apply(void 0,i([r],o,!1)))};return o.attrs=function(i){return $t(e,t,r(r({},n),{attrs:Array.prototype.concat(n.attrs,i).filter(Boolean)}))},o.withConfig=function(i){return $t(e,t,r(r({},n),i))},o}var Ht=function(e){return $t(Bt,e)},qt=Ht;ye.forEach(function(e){qt[e]=Ht(e)});var Wt=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=It(e),mt.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,r){var i=r(We(Mt(this.rules,t,n,r)),""),o=this.componentId+e;n.insertRules(o,o,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&mt.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function Gt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var a=Ut.apply(void 0,i([e],t,!1)),s="sc-global-".concat(Ce(JSON.stringify(a))),c=new Wt(a,s),l=function(e){var t=Et(),n=o.useContext(Nt),r=o.useRef(t.styleSheet.allocateGSInstance(s)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),o.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,t,n,i,o){if(c.isStatic)c.renderStyles(e,de,n,o);else{var a=r(r({},t),{theme:me(t,i,l.defaultProps)});c.renderStyles(e,a,n,o)}}return o.memo(l)}(function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=ct(),r=We([n&&'nonce="'.concat(n,'"'),"".concat(oe,'="true"'),"".concat(se,'="').concat(ce,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw Je(2);return e._emitSheetCSS()}
2,this.getStyleElement=function(){var t;if(e.sealed)throw Je(2);var n=e.instance.toString();if(!n)return[];var i=((t={})[oe]="",t[se]=ce,t.dangerouslySetInnerHTML={__html:n},t),a=ct();return a&&(i.nonce=a),[o.createElement("style",r({},i,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new mt({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw Je(2);return o.createElement(_t,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw Je(3)}})(),"__sc-".concat(oe,"__")},45714(e){const t=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,n=e=>e.match(t)||[],r=e=>e[0].toUpperCase()+e.slice(1),i=(e,t)=>n(e).join(t).toLowerCase(),o=e=>n(e).reduce((e,t)=>`${e}${e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase()}`,"");e.exports={words:n,upperFirst:r,camelCase:o,pascalCase:e=>r(o(e)),snakeCase:e=>i(e,"_"),kebabCase:e=>i(e,"-"),sentenceCase:e=>r(i(e," ")),titleCase:e=>n(e).map(r).join(" ")}},92981(e){function t(e,t){var n=e.length,r=new Array(n),i={},o=n,a=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var i=e[n];t.has(i[0])||t.set(i[0],new Set),t.has(i[1])||t.set(i[1],new Set),t.get(i[0]).add(i[1])}return t}(t),s=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach(function(e){if(!s.has(e[0])||!s.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});o--;)i[o]||c(e[o],o,new Set);return r;function c(e,t,o){if(o.has(e)){var l;try{l=", node was:"+JSON.stringify(e)}catch(e){l=""}throw new Error("Cyclic dependency"+l)}if(!s.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!i[t]){i[t]=!0;var u=a.get(e)||new Set;if(t=(u=Array.from(u)).length){o.add(e);do{var f=u[--t];c(f,s.get(f),o)}while(t);o.delete(e)}r[--n]=e}}}e.exports=function(e){return t(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var i=e[n];t.add(i[0]),t.add(i[1])}return Array.from(t)}(e),e)},e.exports.array=t},81591(e,t,n){"use strict";n.d(t,{YQ:()=>i,d7:()=>a});var r=n(96540);function i(e,t,n){var i=this,o=(0,r.useRef)(null),a=(0,r.useRef)(0),s=(0,r.useRef)(null),c=(0,r.useRef)([]),l=(0,r.useRef)(),u=(0,r.useRef)(),f=(0,r.useRef)(e),d=(0,r.useRef)(!0);f.current=e;var h="undefined"!=typeof window,p=!t&&0!==t&&h;if("function"!=typeof e)throw new TypeError("Expected a function");t=+t||0;var m=!!(n=n||{}).leading,y=!("trailing"in n)||!!n.trailing,g="maxWait"in n,v="debounceOnServer"in n&&!!n.debounceOnServer,b=g?Math.max(+n.maxWait||0,t):null;(0,r.useEffect)(function(){return d.current=!0,function(){d.current=!1}},[]);var w=(0,r.useMemo)(function(){var e=function(e){var t=c.current,n=l.current;return c.current=l.current=null,a.current=e,u.current=f.current.apply(n,t)},n=function(e,t){p&&cancelAnimationFrame(s.current),s.current=p?requestAnimationFrame(e):setTimeout(e,t)},r=function(e){if(!d.current)return!1;var n=e-o.current;return!o.current||n>=t||n<0||g&&e-a.current>=b},w=function(t){return s.current=null,y&&c.current?e(t):(c.current=l.current=null,u.current)},x=function e(){var i=Date.now();if(r(i))return w(i);if(d.current){var s=t-(i-o.current),c=g?Math.min(s,b-(i-a.current)):s;n(e,c)}},S=function(){if(h||v){var f=Date.now(),p=r(f);if(c.current=[].slice.call(arguments),l.current=i,o.current=f,p){if(!s.current&&d.current)return a.current=o.current,n(x,t),m?e(o.current):u.current;if(g)return n(x,t),e(o.current)}return s.current||n(x,t),u.current}};return S.cancel=function(){s.current&&(p?cancelAnimationFrame(s.current):clearTimeout(s.current)),a.current=0,c.current=o.current=l.current=s.current=null},S.isPending=function(){return!!s.current},S.flush=function(){return s.current?w(Date.now()):u.current},S},[m,g,t,b,y,p,h,v]);return w}function o(e,t){return e===t}function a(e,t,n){var a=n&&n.equalityFn||o,s=(0,r.useRef)(e),c=(0,r.useState)({})[1],l=i((0,r.useCallback)(function(e){s.current=e,c({})},[c]),t,n),u=(0,r.useRef)(e);return a(u.current,e)||(l(e),u.current=e),[s.current,l]}},209(e,t,n){"use strict";n.d(t,{A:()=>s});const r={data:new Map,get(e,t){try{return this.data.has(e)?this.data.get(e):"undefined"===(n=localStorage.getItem(e))?void 0:JSON.parse(null!=n?n:"")}catch(e){return t}var n},set(e,t){try{localStorage.setItem(e,JSON.stringify(t)),this.data.delete(e)}catch(n){this.data.set(e,t)}},remove(e){this.data.delete(e),localStorage.removeItem(e)}};var i=n(40961),o=n(96540);const a=new Set,s=function(e,t){const n=null==t?void 0:t.defaultValue;return"undefined"==typeof window?[n,()=>{},{isPersistent:!0,removeItem:()=>{}}]:function(e,t,n,s){const c=(0,o.useRef)(t).current,[l,u]=(0,o.useReducer)(e=>e+1,0),f=(0,o.useCallback)(()=>{(0,i.unstable_batchedUpdates)(()=>{u();for(const t of a)t.key===e&&t.forceUpdate()})},[e]),d=(0,o.useCallback)(t=>{r.set(e,t instanceof Function?t(r.get(e,c)):t),f()},[e,f,c]);(0,o.useEffect)(()=>
2{if(!s)return;const t=t=>{t.storageArea===localStorage&&t.key===e&&u()};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)},[e,s]),(0,o.useLayoutEffect)(()=>{const t={key:e,forceUpdate:u};return a.add(t),()=>{a.delete(t)}},[e]);const h=(0,o.useRef)(!0),p=n&&h.current;return h.current=!1,p&&(r.data.has(e)||c!==r.get(e,c))&&u(),void 0===c||r.data.has(e)||null!==localStorage.getItem(e)||r.set(e,c),(0,o.useMemo)(()=>[p?c:r.get(e,c),d,{isPersistent:p||!r.data.has(e),removeItem(){r.remove(e),f()}}],[l,e])}(e,n,!0===(null==t?void 0:t.ssr),!1!==(null==t?void 0:t.storageSync))}},9771(e){"use strict";e.exports=function(){}},95611(e,t,n){"use strict";n.d(t,{Ik:()=>ne,Yj:()=>H});var r=n.cjs(function(e,t){function n(e){this._maxSize=e,this.clear()}n.prototype.clear=function(){this._size=0,this._values=Object.create(null)},n.prototype.get=function(e){return this._values[e]},n.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var r=/[^.^\]^[]+|(?=\[\]|\.\.)/g,i=/^\d+$/,o=/^\d/,a=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,s=/^\s*(['"]?)(.*?)(\1)\s*$/,c=new n(512),l=new n(512),u=new n(512);function f(e){return c.get(e)||c.set(e,d(e).map(function(e){return e.replace(s,"$2")}))}function d(e){return e.match(r)||[""]}function h(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function p(e){return!h(e)&&(function(e){return e.match(o)&&!e.match(i)}(e)||function(e){return a.test(e)}(e))}e.exports={Cache:n,split:d,normalizePath:f,setter:function(e){var t=f(e);return l.get(e)||l.set(e,function(e,n){for(var r=0,i=t.length,o=e;r<i-1;){var a=t[r];if("__proto__"===a||"constructor"===a||"prototype"===a)return e;o=o[t[r++]]}o[t[r]]=n})},getter:function(e,t){var n=f(e);return u.get(e)||u.set(e,function(e){for(var r=0,i=n.length;r<i;){if(null==e&&t)return;e=e[n[r++]]}return e})},join:function(e){return e.reduce(function(e,t){return e+(h(t)||i.test(t)?"["+t+"]":(e?".":"")+t)},"")},forEach:function(e,t,n){!function(e,t,n){var r,i,o,a,s=e.length;for(i=0;i<s;i++)(r=e[i])&&(p(r)&&(r='"'+r+'"'),o=!(a=h(r))&&/^\d+$/.test(r),t.call(n,r,a,o,i,e))}(Array.isArray(e)?e:d(e),t,n)}}}),i=n(45714),o=n(92981),a=n.n(o);const s=Object.prototype.toString,c=Error.prototype.toString,l=RegExp.prototype.toString,u="undefined"!=typeof Symbol?Symbol.prototype.toString:()=>"",f=/^Symbol\((.*)\)(.*)$/;function d(e,t=!1){if(null==e||!0===e||!1===e)return""+e;const n=typeof e;if("number"===n)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===n)return t?`"${e}"`:e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return u.call(e).replace(f,"Symbol($1)");const r=s.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+c.call(e)+"]":"RegExp"===r?l.call(e):null}function h(e,t){let n=d(e,t);return null!==n?n:JSON.stringify(e,function(e,n){let r=d(this[e],t);return null!==r?r:n},2)}function p(e){return null==e?[]:[].concat(e)}let m,y,g,v=/\$\{\s*(\w+)\s*\}/g;m=Symbol.toStringTag;class b{constructor(e,t,n,r){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[m]="Error",this.name="ValidationError",this.value=t,this.path=n,this.type=r,this.errors=[],this.inner=[],p(e).forEach(e=>{if(w.isError(e)){this.errors.push(...e.errors);const t=e.inner.length?e.inner:[e];this.inner.push(...t)}else this.errors.push(e)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}y=Symbol.hasInstance,g=Symbol.toStringTag;class w extends Error{static formatError(e,t){const n=t.label||t.path||"this";return t=Object.assign({},t,{path:n,originalPath:t.path}),"string"==typeof e?e.replace(v,(e,n)=>h(t[n])):"function"==typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,n,r,i){const o=new b(e,t,n,r);if(i)return o;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[g]="Error",this.name=o.name,this.message=o.message,this.type=o.type,this.value=o.value,this.path=o.path,this.errors=o.errors,this.inner=o.inner,Error.captureStackTrace&&Error.captureStackTrace(this,w)}static[y](e){return b[Symbol.hasInstance](e)||super[Symbol.hasInstance](e)}}let x={default:"${path}
2 is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const i=null!=r&&r!==n?` (cast from the value \`${h(r,!0)}\`).`:".";return"mixed"!==t?`${e} must be a \`${t}\` type, but the final value was: \`${h(n,!0)}\``+i:`${e} must match the configured type. The validated value was: \`${h(n,!0)}\``+i}},S={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},k={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},E={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"},_={notType:e=>{const{path:t,value:n,spec:r}=e,i=r.types.length;if(Array.isArray(n)){if(n.length<i)return`${t} tuple value has too few items, expected a length of ${i} but got ${n.length} for value: \`${h(n,!0)}\``;if(n.length>i)return`${t} tuple value has too many items, expected a length of ${i} but got ${n.length} for value: \`${h(n,!0)}\``}return w.formatError(x.notType,e)}};Object.assign(Object.create(null),{mixed:x,string:S,number:{min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},date:k,object:E,array:{min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},boolean:{isValue:"${path} field must be ${value}"},tuple:_});const C=e=>e&&e.__isYupSchema__;class A{static fromOptions(e,t){if(!t.then&&!t.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:r,otherwise:i}=t,o="function"==typeof n?n:(...e)=>e.every(e=>e===n);return new A(e,(e,t)=>{var n;let a=o(...e)?r:i;return null!=(n=null==a?void 0:a(t))?n:t})}constructor(e,t){this.fn=void 0,this.refs=e,this.refs=e,this.fn=t}resolve(e,t){let n=this.refs.map(e=>e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context)),r=this.fn(n,e,t);if(void 0===r||r===e)return e;if(!C(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)}}class T{constructor(e,t={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext="$"===this.key[0],this.isValue="."===this.key[0],this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?"$":this.isValue?".":"";this.path=this.key.slice(n.length),this.getter=this.path&&(0,r.getter)(this.path,!0),this.map=t.map}getValue(e,t,n){let r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}cast(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(e){return e&&e.__isYupRef}}T.prototype.__isYupRef=!0;const P=e=>null==e;function O(e){function t({value:t,path:n="",options:r,originalValue:i,schema:o},a,s){const{name:c,test:l,params:u,message:f,skipAbsent:d}=e;let{parent:h,context:p,abortEarly:m=o.spec.abortEarly,disableStackTrace:y=o.spec.disableStackTrace}=r;function g(e){return T.isRef(e)?e.getValue(t,h,p):e}function v(e={}){const r=Object.assign({value:t,originalValue:i,label:o.spec.label,path:e.path||n,spec:o.spec,disableStackTrace:e.disableStackTrace||y},u,e.params);for(const e of Object.keys(r))r[e]=g(r[e]);const a=new w(w.formatError(e.message||f,r),t,r.path,e.type||c,r.disableStackTrace);return a.params=r,a}const b=m?a:s;let x={path:n,parent:h,type:c,from:r.from,createError:v,resolve:g,options:r,originalValue:i,schema:o};const S=e=>{w.isError(e)?b(e):e?s(null):b(v())},k=e=>{w.isError(e)?b(e):a(e)};if(d&&P(t))return S(!0);let E;try{var _;if(E=l.call(x,t,x),"function"==typeof(null==(_=E)?void 0:_.then)){if(r.sync)throw new Error(`Validation test of type: "${x.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(E).then(S,k)}}catch(e){return void k(e)}S(E)}return t.OPTIONS=e,t}function M(e,t,n,i=n){let o,a,s;return t?((0,r.forEach)(t,(r,c,l)=>{let u=c?r.slice(1,r.length-1):r,f="tuple"===(e=e.resolve({context:i,parent:o,value:n})).type,d=l?parseInt(u,10):0;if(e.innerType||f){if(f&&!l)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${s}" must contain an index to the tuple element, e.g. "${s}[0]"`);if(n&&d>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${r}, in the path: ${t}. because there is no value at that index. `);o=n,n=n&&n[d],e=f?e.spec.types[d]:e.innerType}if(!l){if(!e.fields||!e.fields[u])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${s} which is a type: "${e.type}")`);o=n,n=n&&n[u],e=e.fields[u]}a=u,s=c?"["+r+"]":"."+r}),{schema:e,parent:o,parentPath:a}):{parent:o,parentPath:t,schema:e}}class I extends Set{describe(){const e=[];for(const t of this.values())e.push(T.isRef(t)?t.describe():t);return e}resolveAll(e){let t=[];for(const n of this.values())t.push(e(n));return t}clone(){return new I(this.values())}merge(e,t){const n=this.clone();
vendor: 21,197 bytes, line 2
2return e.forEach(e=>n.add(e)),t.forEach(e=>n.delete(e)),n}}function R(e,t=new Map){if(C(e)||!e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r<e.length;r++)n[r]=R(e[r],t)}else if(e instanceof Map){n=new Map,t.set(e,n);for(const[r,i]of e.entries())n.set(r,R(i,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(R(r,t))}else{if(!(e instanceof Object))throw Error(`Unable to clone ${e}`);n={},t.set(e,n);for(const[r,i]of Object.entries(e))n[r]=R(i,t)}return n}class D{constructor(e){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new I,this._blacklist=new I,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(x.notType)}),this.type=e.type,this._typeCheck=e.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},null==e?void 0:e.spec),this.withMutation(e=>{e.nonNullable()})}get _type(){return this.type}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;const t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeCheck=this._typeCheck,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.internalTests=Object.assign({},this.internalTests),t.exclusiveTests=Object.assign({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=R(Object.assign({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}withMutation(e){let t=this._mutate;this._mutate=!0;let n=e(this);return this._mutate=t,n}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`);let t=this,n=e.clone();const r=Object.assign({},t.spec,n.spec);return n.spec=r,n.internalTests=Object.assign({},t.internalTests,n.internalTests),n._whitelist=t._whitelist.merge(e._whitelist,e._blacklist),n._blacklist=t._blacklist.merge(e._blacklist,e._whitelist),n.tests=t.tests,n.exclusiveTests=t.exclusiveTests,n.withMutation(t=>{e.tests.forEach(e=>{t.test(e.OPTIONS)})}),n.transforms=[...t.transforms,...n.transforms],n}isType(e){return null==e?!(!this.spec.nullable||null!==e)||!(!this.spec.optional||void 0!==e):this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let n=t.conditions;t=t.clone(),t.conditions=[],t=n.reduce((t,n)=>n.resolve(t,e),t),t=t.resolve(e)}return t}resolveOptions(e){var t,n,r,i;return Object.assign({},e,{from:e.from||[],strict:null!=(t=e.strict)?t:this.spec.strict,abortEarly:null!=(n=e.abortEarly)?n:this.spec.abortEarly,recursive:null!=(r=e.recursive)?r:this.spec.recursive,disableStackTrace:null!=(i=e.disableStackTrace)?i:this.spec.disableStackTrace})}cast(e,t={}){let n=this.resolve(Object.assign({value:e},t)),r="ignore-optionality"===t.assert,i=n._cast(e,t);if(!1!==t.assert&&!n.isType(i)){if(r&&P(i))return i;let o=h(e),a=h(i);throw new TypeError(`The value of ${t.path||"field"} could not be cast to a value that satisfies the schema type: "${n.type}". \n\nattempted value: ${o} \n`+(a!==o?`result of cast: ${a}`:""))}return i}_cast(e,t){let n=void 0===e?e:this.transforms.reduce((t,n)=>n.call(this,t,e,this),e);return void 0===n&&(n=this.getDefault(t)),n}_validate(e,t={},n,r){let{path:i,originalValue:o=e,strict:a=this.spec.strict}=t,s=e;a||(s=this._cast(s,Object.assign({assert:!1},t)));let c=[];for(let e of Object.values(this.internalTests))e&&c.push(e);this.runTests({path:i,value:s,originalValue:o,options:t,tests:c},n,e=>{if(e.length)return r(e,s);this.runTests({path:i,value:s,originalValue:o,options:t,tests:this.tests},n,r)})}runTests(e,t,n){let r=!1,{tests:i,value:o,originalValue:a,path:s,options:c}=e,l=e=>{r||(r=!0,t(e,o))},u=e=>{r||(r=!0,n(e,o))},f=i.length,d=[];if(!f)return u([]);let h={value:o,originalValue:a,path:s,options:c,schema:this};for(let e=0;e<i.length;e++)(0,i[e])(h,l,function(e){e&&(Array.isArray(e)?d.push(...e):d.push(e)),--f<=0&&u(d)})}asNestedTest({key:e,index:t,parent:n,parentPath:r,originalParent:i,options:o}){const a=null!=e?e:t;if(null==a)throw TypeError("Must include `key` or `index` for nested validations");const s="number"==typeof a;let c=n[a];const l=Object.assign({},o,{strict:!0,parent:n,value:c,originalValue:i[a],key:void 0,[s?"index":"key"]:a,path:s||a.includes(".")?`${r||""}[${s?a:`"${a}"`}]`:(r?`${r}.`:"")+e});return(e,t,n)=>this.resolve(l)._validate(c,l,t,n)}validate(e,t){var n;let r=this.resolve(Object.assign({},t,{value:e})),i=null!=(n=null==t?void 0:t.disableStackTrace)?n:r.spec.disableStackTrace;return new Promise((n,o)=>r._validate(e,t,(e,t)=>{w.isError(e)&&(e.value=t),o(e)},(e,t)=>{e.length?o(new w(e,t,void 0,void 0,i)):n(t)}))}validateSync(e,t){var n;let r,i=this.resolve(Object.assign({},t,{value:e})),o=null!=(n=null==t?void 0:t.disableStackTrace)?n:i.spec.disableStackTrace;return i._validate(e,Object.assign({},t,{sync:!0}),(e,t)=>{throw w.isError(e)&&(e.value=t),e},(t,n)=>{if(t.length)throw new w(t,e,void 0,void 0,o);r=n}),r}isValid(e,t){return this.validate(e,t).then(()=>!0,e=>{if(w.isError(e))return!1;throw e})}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(e){if(w.isError(e))return!1;throw e}}_getDefault(e){let t=this.spec.default;return null==t?t:"function"==typeof t?t.call(this,e):R(t)}getDefault(e){return this.resolve(e||{})._getDefault(e)}default(e){return 0===arguments.length?this._getDefault():this.clone({default:e})}strict(e=!0){return this.clone({strict:e})}nullability(e,t){const n=this.clone({nullable:e});return n.internalTests.nullable=O({message:t,name:"nullable",test(e){return null!==e||this.schema.spec.nullable}}),n}optionality(e,t){const n=this.clone({optional:e});return n.internalTests.optionality=O({message:t,name:"optionality",test(e){return void 0!==e||this.schema.spec.optional}}),n}optional(){return this.optionality(!0)}defined(e=x.defined){return this.optionality(!1,e)}nullable(){return this.nullability(!0)}nonNullable(e=x.notNull){return this.nullability(!1,e)}required(e=x.required){return this.clone().withMutation(t=>t.nonNullable(e).defined(e))}notRequired(){return this.clone().withMutation(e=>e.nullable().optional())}transform(e){let t=this.clone();return t.transforms.push(e),t}test(...e){let t;if(t=1===e.length?"function"==typeof e[0]?{test:e[0]}:e[0]:2===e.length?{name:e[0],test:e[1]}:{name:e[0],message:e[1],test:e[2]},void 0===t.message&&(t.message=x.default),"function"!=typeof t.test)throw new TypeError("`test` is a required parameters");let n=this.clone(),r=O(t),i=t.exclusive||t.name&&!0===n.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(n.exclusiveTests[t.name]=!!t.exclusive),n.tests=n.tests.filter(e=>{if(e.OPTIONS.name===t.name){if(i)return!1;if(e.OPTIONS.test===r.OPTIONS.test)return!1}return!0}),n.tests.push(r),n}when(e,t){Array.isArray(e)||"string"==typeof e||(t=e,e=".");let n=this.clone(),r=p(e).map(e=>new T(e));return r.forEach(e=>{e.isSibling&&n.deps.push(e.key)}),n.conditions.push("function"==typeof t?new A(r,t):A.fromOptions(r,t)),n}typeError(e){let t=this.clone();return t.internalTests.typeError=O({message:e,name:"typeError",skipAbsent:!0,test(e){return!!this.schema._typeCheck(e)||this.createError({params:{type:this.schema.type}})}}),t}oneOf(e,t=x.oneOf){let n=this.clone();return e.forEach(e=>{n._whitelist.add(e),n._blacklist.delete(e)}),n.internalTests.whiteList=O({message:t,name:"oneOf",skipAbsent:!0,test(e){let t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}notOneOf(e,t=x.notOneOf){let n=this.clone();return e.forEach(e=>{n._blacklist.add(e),n._whitelist.delete(e)}),n.internalTests.blacklist=O({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}strip(e=!0){let t=this.clone();return t.spec.strip=e,t}describe(e){const t=(e?this.resolve(e):this).clone(),{label:n,meta:r,optional:i,nullable:o}=t.spec;return{meta:r,label:n,optional:i,nullable:o,default:t.getDefault(e),type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map(e=>({name:e.OPTIONS.name,params:e.OPTIONS.params})).filter((e,t,n)=>n.findIndex(t=>t.name===e.name)===t)}}}D.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])D.prototype[`${e}At`]=function(t,n,r={}){const{parent:i,parentPath:o,schema:a}=M(this,t,n,r.context);return a[e](i&&i[o],Object.assign({},r,{parent:i,path:t}))};for(const e of["equals","is"])D.prototype[e]=D.prototype.oneOf;for(const e of["not","nope"])D.prototype[e]=D.prototype.notOneOf;const N=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function j(e){var t,n;const r=N.exec(e);return r?{year:F(r[1]),month:F(r[2],1)-1,day:F(r[3],1),hour:F(r[4]),minute:F(r[5]),second:F(r[6]),millisecond:r[7]?F(r[7].substring(0,3)):0,precision:null!=(t=null==(n=r[7])?void 0:n.length)?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:F(r[10]),minuteOffset:F(r[11])}:null}function F(e,t=0){return Number(e)||t}let L=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,B=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([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])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,z=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,V=new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"),U=e=>P(e)||e===e.trim(),$={}.toString();function H(){return new q}class q extends D{constructor(){super({type:"string",check:e=>(e instanceof String&&(e=e.valueOf()),"string"==typeof e)}),this.withMutation(()=>{this.transform((e,t,n)=>{if(!n.spec.coerce||n.isType(e))return e;if(Array.isArray(e))return e;const r=null!=e&&e.toString?e.toString():e;return r===$?e:r})})}required(e){return super.required(e).withMutation(t=>t.test({message:e||x.required,name:"required",skipAbsent:!0,test:e=>!!e.length}))}notRequired(){return super.notRequired().withMutation(e=>(e.tests=e.tests.filter(e=>"required"!==e.OPTIONS.name),e))}length(e,t=S.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t=S.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t=S.max){return this.test({name:"max",exclusive:!0,message:t,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}matches(e,t){let n,r,i=!1;return t&&("object"==typeof t?({excludeEmptyString:i=!1,message:n,name:r}=t):n=t),this.test({name:r||"matches",message:n||S.matches,params:{regex:e},skipAbsent:!0,test:t=>""===t&&i||-1!==t.search(e)})}email(e=S.email){return this.matches(L,{name:"email",message:e,excludeEmptyString:!0})}url(e=S.url){return this.matches(B,{name:"url",message:e,excludeEmptyString:!0})}uuid(e=S.uuid){return this.matches(z,{name:"uuid",message:e,excludeEmptyString:!1})}datetime(e){let t,n,r="";return e&&("object"==typeof e?({message:r="",allowOffset:t=!1,precision:n}=e):r=e),this.matches(V,{name:"datetime",message:r||S.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:r||S.datetime_offset,params:{allowOffset:t},skipAbsent:!0,test:e=>{if(!e||t)return!0;const n=j(e);return!!n&&!!n.z}}).test({name:"datetime_precision",message:r||S.datetime_precision,params:{precision:n},skipAbsent:!0,test:e=>{if(!e||null==n)return!0;const t=j(e);return!!t&&t.precision===n}})}ensure(){return this.default("").transform(e=>null===e?"":e)}trim(e=S.trim){return this.transform(e=>null!=e?e.trim():e).test({message:e,name:"trim",test:U})}lowercase(e=S.lowercase){return this.transform(e=>P(e)?e:e.toLowerCase()).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>P(e)||e===e.toLowerCase()})}uppercase(e=S.uppercase){return this.transform(e=>P(e)?e:e.toUpperCase()).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>P(e)||e===e.toUpperCase()})}}H.prototype=q.prototype;let W=new Date("");function G(){return new K}class K extends D{constructor(){super({type:"date",check(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t}}),this.withMutation(()=>{this.transform((e,t,n)=>!n.spec.coerce||n.isType(e)||null===e?e:(e=function(e){const t=j(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(void 0===t.z&&void 0===t.plusMinus)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return"Z"!==t.z&&void 0!==t.plusMinus&&(n=60*t.hourOffset+t.minuteOffset,"+"===t.plusMinus&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}(e),isNaN(e)?K.INVALID_DATE:new Date(e)))})}prepareParam(e,t){let n;if(T.isRef(e))n=e;else{let r=this.cast(e);if(!this._typeCheck(r))throw new TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`);n=r}return n}min(e,t=k.min){let n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(e){return e>=this.resolve(n)}})}max(e,t=k.max){let n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(e){return e<=this.resolve(n)}})}}function Q(e,t){let n=1/0;return e.some((e,r)=>{var i;if(null!=(i=t.path)&&i.includes(e))return n=r,!0}),n}function J(e){return(t,n)=>Q(e,t)-Q(e,n)}K.INVALID_DATE=W,G.prototype=K.prototype,G.INVALID_DATE=W;const X=(e,t,n)=>{if("string"!=typeof e)return e;let r=e;try{r=JSON.parse(e)}catch(e){}return n.isType(r)?r:e};function Y(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=Y(r);return e.setFields(t)}if("array"===e.type){const t=e.optional();return t.innerType&&(t.innerType=Y(t.innerType)),t}return"tuple"===e.type?e.optional().clone({types:e.spec.types.map(Y)}):"optional"in e?e.optional():e}let Z=e=>"[object Object]"===Object.prototype.toString.call(e);function ee(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(e=>-1===n.indexOf(e))}const te=J([]);function ne(e){return new re(e)}class re extends D{constructor(e){super({type:"object",check:e=>Z(e)||"function"==typeof e}),this.fields=Object.create(null),this._sortErrors=te,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{e&&this.shape(e)})}_cast(e,t={}){var n;let r=super._cast(e,t);if(void 0===r)return this.getDefault(t);if(!this._typeCheck(r))return r;let i=this.fields,o=null!=(n=t.stripUnknown)?n:this.spec.noUnknown,a=[].concat(this._nodes,Object.keys(r).filter(e=>!this._nodes.includes(e))),s={},c=Object.assign({},t,{parent:s,__validating:t.__validating||!1}),l=!1;for(const e of a){let n=i[e],a=e in r;if(n){let i,o=r[e];c.path=(t.path?`${t.path}.`:"")+e,n=n.resolve({value:o,context:t.context,parent:s});let a=n instanceof D?n.spec:void 0,u=null==a?void 0:a.strict;if(null!=a&&a.strip){l=l||e in r;continue}i=t.__validating&&u?r[e]:n.cast(r[e],c),void 0!==i&&(s[e]=i)}else a&&!o&&(s[e]=r[e]);a===e in s&&s[e]===r[e]||(l=!0)}return l?s:r}_validate(e,t={},n,r){let{from:i=[],originalValue:o=e,recursive:a=this.spec.recursive}=t;t.from=[{schema:this,value:o},...i],t.__validating=!0,t.originalValue=o,super._validate(e,t,n,(e,i)=>{if(!a||!Z(i))return void r(e,i);o=o||i;let s=[];for(let e of this._nodes){let n=this.fields[e];n&&!T.isRef(n)&&s.push(n.asNestedTest({options:t,key:e,parent:i,parentPath:t.path,originalParent:o}))}this.runTests({tests:s,value:i,originalValue:o,options:t},n,t=>{r(t.sort(this._sortErrors).concat(e),i)})})}clone(e){const t=super.clone(e);return t.fields=Object.assign({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),n=t.fields;for(let[e,t]of Object.entries(this.fields)){const r=n[e];n[e]=void 0===r?t:r}return t.withMutation(t=>t.setFields(n,[...this._excludedEdges,...e._excludedEdges]))}_getDefault(e){if("default"in this.spec)return super._getDefault(e);if(!this._nodes.length)return;let t={};return this._nodes.forEach(n=>{var r;const i=this.fields[n];let o=e;null!=(r=o)&&r.value&&(o=Object.assign({},o,{parent:o.value,value:o.value[n]})),t[n]=i&&"getDefault"in i?i.getDefault(o):void 0}),t}setFields(e,t){let n=this.clone();return n.fields=e,n._nodes=function(e,t=[]){let n=[],i=new Set,o=new Set(t.map(([e,t])=>`${e}-${t}`));function s(e,t){let a=(0,r.split)(e)[0];i.add(a),o.has(`${t}-${a}`)||n.push([t,a])}for(const t of Object.keys(e)){let n=e[t];i.add(t),T.isRef(n)&&n.isSibling?s(n.path,t):C(n)&&"deps"in n&&n.deps.forEach(e=>s(e,t))}return a().array(Array.from(i),n).reverse()}(e,t),n._sortErrors=J(Object.keys(e)),t&&(n._excludedEdges=t),n}shape(e,t=[]){return this.clone().withMutation(n=>{let r=n._excludedEdges;return t.length&&(Array.isArray(t[0])||(t=[t]),r=[...n._excludedEdges,...t]),n.setFields(Object.assign(n.fields,e),r)})}partial(){const e={};for(const[t,n]of Object.entries(this.fields))e[t]="optional"in n&&n.optional instanceof Function?n.optional():n;return this.setFields(e)}deepPartial(){return Y(this)}pick(e){const t={};for(const n of e)this.fields[n]&&(t[n]=this.fields[n]);return this.setFields(t,this._excludedEdges.filter(([t,n])=>e.includes(t)&&e.includes(n)))}omit(e){const t=[];for(const n of Object.keys(this.fields))e.includes(n)||t.push(n);return this.pick(t)}from(e,t,n){let i=(0,r.getter)(e,!0);return this.transform(o=>{if(!o)return o;let a=o;return((e,t)=>{const n=[...(0,r.normalizePath)(t)];if(1===n.length)return n[0]in e;let i=n.pop(),o=(0,r.getter)((0,r.join)(n),!0)(e);return!(!o||!(i in o))})(o,e)&&(a=Object.assign({},o),n||delete a[e],a[t]=i(o)),a})}json(){return this.transform(X)}exact(e){return this.test({name:"exact",exclusive:!0,message:e||E.exact,test(e){if(null==e)return!0;const t=ee(this.schema,e);return 0===t.length||this.createError({params:{properties:t.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(e=!0,t=E.noUnknown){"boolean"!=typeof e&&(t=e,e=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){if(null==t)return!0;const n=ee(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}unknown(e=!0,t=E.noUnknown){return this.noUnknown(!e,t)}transformKeys(e){return this.transform(t=>{if(!t)return t;const n={};for(const r of Object.keys(t))n[e(r)]=t[r];return n})}camelCase(){return this.transformKeys(i.camelCase)}snakeCase(){return this.transformKeys(i.snakeCase)}constantCase(){return this.transformKeys(e=>(0,i.snakeCase)(e).toUpperCase())}describe(e){const t=(e?this.resolve(e):this).clone(),n=super.describe(e);n.fields={};for(const[i,o]of Object.entries(t.fields)){var r;let t=e;null!=(r=t)&&r.value&&(t=Object.assign({},t,{parent:t.value,value:t.value[i]})),n.fields[i]=o.describe(t)}return n}}ne.prototype=re.prototype},58168(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},25540(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:()=>i})}
2,1575(e,t,n){"use strict";n.d(t,{t:()=>l});var r=n(49785);const i=(e,t,n)=>{if(e&&"reportValidity"in e){const i=(0,r.Jt)(n,t);e.setCustomValidity(i&&i.message||""),e.reportValidity()}},o=(e,t)=>{for(const n in t.fields){const r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?i(r.ref,n,e):r&&r.refs&&r.refs.forEach(t=>i(t,n,e))}},a=(e,t)=>{t.shouldUseNativeValidation&&o(e,t);const n={};for(const i in e){const o=(0,r.Jt)(t.fields,i),a=Object.assign(e[i]||{},{ref:o&&o.ref});if(s(t.names||Object.keys(e),i)){const e=Object.assign({},(0,r.Jt)(n,i));(0,r.hZ)(e,"root",a),(0,r.hZ)(n,i,e)}else(0,r.hZ)(n,i,a)}return n},s=(e,t)=>{const n=c(t);return e.some(e=>c(e).match(`^${n}\\.\\d+`))};function c(e){return e.replace(/\]|\[/g,"")}function l(e,t,n){return void 0===n&&(n={}),function(i,s,c){try{return Promise.resolve(function(r,a){try{var l=(null!=t&&t.context,Promise.resolve(e["sync"===n.mode?"validateSync":"validate"](i,Object.assign({abortEarly:!1},t,{context:s}))).then(function(e){return c.shouldUseNativeValidation&&o({},c),{values:n.raw?Object.assign({},i):e,errors:{}}}))}catch(e){return a(e)}return l&&l.then?l.then(void 0,a):l}(0,function(e){if(!e.inner)throw e;return{values:{},errors:a((t=e,n=!c.shouldUseNativeValidation&&"all"===c.criteriaMode,(t.inner||[]).reduce(function(e,t){if(e[t.path]||(e[t.path]={message:t.message,type:t.type}),n){var i=e[t.path].types,o=i&&i[t.type];e[t.path]=(0,r.Gb)(t.path,n,e,t.type,o?[].concat(o,t.message):t.message)}return e},{})),c)};var t,n}))}catch(e){return Promise.reject(e)}}}},47712(e,t,n){"use strict";const r=e=>"string"==typeof e,i=new Map;function o(e){return[...Array.isArray(e)?e:[e],"en"]}function a(e,t,n){const i=o(e);let a;if(n||(n="default"),"string"==typeof n)switch(a={day:"numeric",month:"short",year:"numeric"},n){case"full":a.weekday="long";case"long":a.month="long";break;case"short":a.month="numeric"}else a=n;return l(()=>u("date",i,n),()=>new Intl.DateTimeFormat(i,a)).format(r(t)?new Date(t):t)}function s(e,t,n){const r=o(e);return l(()=>
2u("number",r,n),()=>new Intl.NumberFormat(r,n)).format(t)}function c(e,t,n,{offset:r=0,...i}){const a=o(e),s=t?l(()=>u("plural-ordinal",a),()=>new Intl.PluralRules(a,{type:"ordinal"})):l(()=>u("plural-cardinal",a),()=>new Intl.PluralRules(a,{type:"cardinal"}));return i[n]??i[s.select(n-r)]??i.other}function l(e,t){const n=e();let r=i.get(n);return r||(r=t(),i.set(n,r)),r}function u(e,t,n){return`${e}-${t.join("-")}-${JSON.stringify(n)}`}const f=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/,d=e=>e.replace(/\\u([a-fA-F0-9]{4})|\\x([a-fA-F0-9]{2})/g,(e,t,n)=>{if(t){const e=parseInt(t,16);return String.fromCharCode(e)}{const e=parseInt(n,16);return String.fromCharCode(e)}}),h="%__lingui_octothorpe__%",p=(e,t)=>t[e]??t.other;function m(e,t,n){return(i={},o)=>{const l=((e,t,n={})=>{const r=t||e,i=e=>"object"==typeof e?e:n[e],o=(e,t)=>{const o=Object.keys(n).length?i("number"):void 0,a=s(r,e,o);return t.replace(new RegExp(h,"g"),a)};return{plural:(e,t)=>{const{offset:n=0}=t,i=c(r,!1,e,t);return o(e-n,i)},selectordinal:(e,t)=>{const{offset:n=0}=t,i=c(r,!0,e,t);return o(e-n,i)},select:p,number:(e,t)=>s(r,e,i(t)||{style:t}),date:(e,t)=>a(r,e,i(t)||t),time:(e,t)=>function(e,t,n){let r;if(n||(n="default"),"string"==typeof n)switch(r={second:"numeric",minute:"numeric",hour:"numeric"},n){case"full":case"long":r.timeZoneName="short";break;case"short":delete r.second}else r=n;return a(e,t,r)}(r,e,i(t)||t)}})(t,n,o),u=(e,t=!1)=>Array.isArray(e)?e.reduce((e,n)=>{if("#"===n&&t)return e+h;if(r(n))return e+n;const[o,a,s]=n;let c,f={};return"plural"===a||"selectordinal"===a||"select"===a?Object.entries(s).forEach(([e,t])=>{f[e]=u(t,"plural"===a||"selectordinal"===a)}):f=s,c=a?(0,l[a])(i[o],f):i[o],null==c?e:e+c},""):e,m=u(e);return r(m)&&f.test(m)?d(m):r(m)?m:m?String(m):""}}class y{_events={};on(e,t){return this._events[e]??=new Set,this._events[e].add(t),()=>this.removeListener(e,t)}removeListener(e,t){const n=this._events[e];n?.delete(t),0===n?.size&&delete this._events[e]}emit(e,...t){const n=this._events[e];if(n)for(const e of[...n])e.apply(this,t)}}class g extends y{_locale="";_locales;_messages={};_missing;_messageCompiler;constructor(e){super(),null!=e.missing&&(this._missing=e.missing),null!=e.messages&&this.load(e.messages),("string"==typeof e.locale||e.locales)&&this.activate(e.locale??"en",e.locales)}get locale(){return this._locale}get locales(){return this._locales}get messages(){return this._messages[this._locale]??{}}setMessagesCompiler(e){return this._messageCompiler=e,this}_load(e,t){const n=this._messages[e];n?Object.assign(n,t):this._messages[e]=t}load(e,t){"string"==typeof e&&"object"==typeof t?this._load(e,t):Object.entries(e).forEach(([e,t])=>this._load(e,t)),this.emit("change")}loadAndActivate({locale:e,locales:t,messages:n}){this._locale=e,this._locales=t||void 0,this._messages[this._locale]=n,this.emit("change")}activate(e,t){this._locale=e,this._locales=t,this.emit("change")}_(e,t,n){if(!this.locale)throw new Error("Lingui: Attempted to call a translation function without setting a locale.\nMake sure to call `i18n.activate(locale)` before using Lingui functions.\nThis issue may also occur due to a race condition in your initialization logic.");let i=n?.message;e||(e=""),r(e)||(t=e.values||t,i=e.message,e=e.id);const o=this.messages[e],a=void 0===o,s=this._missing;if(s&&a)return"function"==typeof s?s(this._locale,e):s;a&&this.emit("missing",{id:e,locale:this._locale});let c=o||i||e;return r(c)&&(this._messageCompiler?c=this._messageCompiler(c):console.warn(`Uncompiled message detected! Message:\n\n> ${c}\n\nThat means you use raw catalog or your catalog doesn't have a translation for the message and fallback was used.\nICU features such as interpolation and plurals will not work properly for that message.\n\nPlease compile your catalog first.\n`)),r(c)&&f.test(c)?d(c):r(c)?c:m(c,this._locale,this._locales)(t,n?.formats)}t=this._.bind(this);date(e,t){return a(this._locales||this._locale,e,t)}number(e,t){return s(this._locales||this._locale,e,t)}}const v=function(e={}){return new g(e)}();n.d(t,["Ru",0,v])},85917(e,t,n){"use strict";n.d(t,{CY:()=>y,x6:()=>g,uB:()=>m});var r=n(74848),i=n(96540);const o=/<([a-zA-Z0-9]+)>([\s\S]*?)<\/\1>|<([a-zA-Z0-9]+)\/>/,a={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,menuitem:!0};function s(e,t={}){const n=e.split(o);if(1===n.length)return e;const u=l(0,"$lingui$"),f=[],d=n.shift();d&&f.push(d);for(const[e,o,l]of c(n)){let n=void 0!==e?t[e]:void 0;(!n||a[n.type]&&o)&&(n?console.error(`${n.type} is a void element tag therefore it must have no children`):console.error(`Can't use element at index '${e}' as it is not declared in the original translation`),n=(0,r.jsx)(r.Fragment,{})),Array.isArray(n)&&(n=(0,r.jsx)(r.Fragment,{children:n}
2)),f.push((0,i.cloneElement)(n,{key:u()},o?s(o,t):n.props.children)),l&&f.push(l)}return 1===f.length?f[0]:f}function c(e){if(!e.length)return[];const[t,n,r,i]=e.slice(0,4);return[[t||r,n||"",i]].concat(c(e.slice(4,e.length)))}const l=(e=0,t="")=>()=>`${t}_${e++}`;function u(e){const{render:t,component:n,id:i,message:o,formats:a,lingui:{i18n:c,defaultComponent:l}}=e,{values:u,components:h}=d(e),p=c&&"function"==typeof c._?c._(i,u,{message:o,formats:a}):i,m=p?s(p,h):null;if(null===t||null===n)return m;const y=l||f,g={id:i,message:o,translation:m,children:m};if(t&&n)console.error("You can't use both `component` and `render` prop at the same time. `component` is ignored.");else if(t&&"function"!=typeof t)console.error(`Invalid value supplied to prop \`render\`. It must be a function, provided ${t}`);else if(n&&"function"!=typeof n)return console.error(`Invalid value supplied to prop \`component\`. It must be a React component, provided ${n}`),(0,r.jsx)(y,{...g,children:m});if("function"==typeof t)return t(g);const v=n||y;return(0,r.jsx)(v,{...g,children:m})}const f=({children:e})=>e,d=e=>{if(!e.values)return{values:void 0,components:e.components};const t={...e.values},n={...e.components};return Object.entries(e.values).forEach(([e,i])=>{if("string"==typeof i||"number"==typeof i)return;const o=Object.keys(n).length;n[o]=(0,r.jsx)(r.Fragment,{children:i}),t[e]=`<${o}/>`}),{values:t,components:n}},h=(0,i.createContext)(null),p=e=>(0,i.useContext)(h);function m(){return p()}const y=({i18n:e,defaultComponent:t,children:n})=>{const o=(0,i.useRef)(e.locale||null),a=(0,i.useCallback)(()=>({i18n:new Proxy(e,{}),defaultComponent:t,_:e.t.bind(e)}),[e,t]),[s,c]=(0,i.useState)(a);return(0,i.useEffect)(()=>{const t=()=>{o.current=e.locale||null,c(a())},n=e.on("change",t);return o.current!==e.locale&&t(),n},[e,a]),null===o.current?null:(0,r.jsx)(h.Provider,{value:s,children:n})};function g(e){const t=p();return(0,r.jsx)(u,{...e,lingui:t})}},9957(e,t,n){"use strict";function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{m:()=>r})},1276(e,t,n){"use strict";n.d(t,{UC:()=>ue,Y9:()=>ce,q7:()=>se,bL:()=>ae,l9:()=>le});var r=n(96540),i=n(62133),o=n(16214),a=n(91071);"undefined"==typeof window||!window.document||window.document.createElement;var s=n(81351),c=n(12579);function l(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}"undefined"==typeof window||!window.document||window.document.createElement;var u=n(88200),f=e=>{const{present:t,children:n}=e,i=function(e){const[t,n]=r.useState(),i=r.useRef(null),o=r.useRef(e),a=r.useRef("none"),s=e?"mounted":"unmounted",[c,l]=function(e,t){return r.useReducer((e,n)=>t[e][n]??e,e)}(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return r.useEffect(()=>{const e=d(i.current);a.current="mounted"===c?e:"none"},[c]),(0,u.N)(()=>{const t=i.current,n=o.current;if(n!==e){const r=a.current,i=d(t);l(e?"MOUNT":"none"===i||"none"===t?.display?"UNMOUNT":n&&r!==i?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),(0,u.N)(()=>{if(t){let e;const n=t.ownerDocument.defaultView??window,r=r=>{const a=d(i.current).includes(CSS.escape(r.animationName));if(r.target===t&&a&&(l("ANIMATION_END"),!o.current)){const r=t.style.animationFillMode;t.style.animationFillMode="forwards",e=n.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=r)})}},s=e=>{e.target===t&&(a.current=d(i.current))};return t.addEventListener("animationstart",s),t.addEventListener("animationcancel",r),t.addEventListener("animationend",r),()=>{n.clearTimeout(e),t.removeEventListener("animationstart",s),t.removeEventListener("animationcancel",r),t.removeEventListener("animationend",r)}}l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:r.useCallback(e=>{i.current=e?getComputedStyle(e):null,n(e)},[])}}(t),o="function"==typeof n?n({present:i.isPresent}):r.Children.only(n),s=(0,a.s)(i.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(o));return"function"==typeof n||i.isPresent?r.cloneElement(o,{ref:s}):null};function d(e){return e?.animationName||"none"}f.displayName="Presence";var h=n(18723),p=n(74848),m="Collapsible",[y,g]=(0,i.A)(m),[v,b]=y(m),w=r.forwardRef((e,t)=>
2{const{__scopeCollapsible:n,open:i,defaultOpen:o,disabled:a,onOpenChange:l,...u}=e,[f,d]=(0,s.i)({prop:i,defaultProp:o??!1,onChange:l,caller:m});return(0,p.jsx)(v,{scope:n,disabled:a,contentId:(0,h.B)(),open:f,onOpenToggle:r.useCallback(()=>d(e=>!e),[d]),children:(0,p.jsx)(c.sG.div,{"data-state":C(f),"data-disabled":a?"":void 0,...u,ref:t})})});w.displayName=m;var x="CollapsibleTrigger",S=r.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,i=b(x,n);return(0,p.jsx)(c.sG.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":C(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:l(e.onClick,i.onOpenToggle)})});S.displayName=x;var k="CollapsibleContent",E=r.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=b(k,e.__scopeCollapsible);return(0,p.jsx)(f,{present:n||i.open,children:({present:e})=>(0,p.jsx)(_,{...r,ref:t,present:e})})});E.displayName=k;var _=r.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:i,children:o,...s}=e,l=b(k,n),[f,d]=r.useState(i),h=r.useRef(null),m=(0,a.s)(t,h),y=r.useRef(0),g=y.current,v=r.useRef(0),w=v.current,x=l.open||f,S=r.useRef(x),E=r.useRef(void 0);return r.useEffect(()=>{const e=requestAnimationFrame(()=>S.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,u.N)(()=>{const e=h.current;if(e){E.current=E.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";const t=e.getBoundingClientRect();y.current=t.height,v.current=t.width,S.current||(e.style.transitionDuration=E.current.transitionDuration,e.style.animationName=E.current.animationName),d(i)}},[l.open,i]),(0,p.jsx)(c.sG.div,{"data-state":C(l.open),"data-disabled":l.disabled?"":void 0,id:l.contentId,hidden:!x,...s,ref:m,style:{"--radix-collapsible-content-height":g?`${g}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style},children:x&&o})});function C(e){return e?"open":"closed"}var A=w,T=S,P=E,O=n(71427),M="Accordion",I=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[R,D,N]=(0,o.N)(M),[j,F]=(0,i.A)(M,[N,g]),L=g(),B=r.forwardRef((e,t)=>{const{type:n,...r}=e,i=r,o=r;return(0,p.jsx)(R.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,p.jsx)(q,{...o,ref:t}):(0,p.jsx)(H,{...i,ref:t})})});B.displayName=M;var[z,V]=j(M),[U,$]=j(M,{collapsible:!1}),H=r.forwardRef((e,t)=>{const{value:n,defaultValue:i,onValueChange:o=()=>{},collapsible:a=!1,...c}=e,[l,u]=(0,s.i)({prop:n,defaultProp:i??"",onChange:o,caller:M});return(0,p.jsx)(z,{scope:e.__scopeAccordion,value:r.useMemo(()=>l?[l]:[],[l]),onItemOpen:u,onItemClose:r.useCallback(()=>a&&u(""),[a,u]),children:(0,p.jsx)(U,{scope:e.__scopeAccordion,collapsible:a,children:(0,p.jsx)(K,{...c,ref:t})})})}),q=r.forwardRef((e,t)=>{const{value:n,defaultValue:i,onValueChange:o=()=>{},...a}=e,[c,l]=(0,s.i)({prop:n,defaultProp:i??[],onChange:o,caller:M}),u=r.useCallback(e=>l((t=[])=>[...t,e]),[l]),f=r.useCallback(e=>l((t=[])=>t.filter(t=>t!==e)),[l]);return(0,p.jsx)(z,{scope:e.__scopeAccordion,value:c,onItemOpen:u,onItemClose:f,children:(0,p.jsx)(U,{scope:e.__scopeAccordion,collapsible:!0,children:(0,p.jsx)(K,{...a,ref:t})})})}),[W,G]=j(M),K=r.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:i,dir:o,orientation:s="vertical",...l}=e,u=r.useRef(null),f=(0,a.s)(u,t),d=D(n),h="ltr"===(0,O.jH)(o),m=function(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}(e.onKeyDown,e=>{if(!I.includes(e.key))return;const t=e.target,n=d().filter(e=>!e.ref.current?.disabled),r=n.findIndex(e=>e.ref.current===t),i=n.length;if(-1===r)return;e.preventDefault();let o=r;const a=i-1,c=()=>{o=r+1,o>a&&(o=0)},l=()=>{o=r-1,o<0&&(o=a)};switch(e.key){case"Home":o=0;break;case"End":o=a;break;case"ArrowRight":"horizontal"===s&&(h?c():l());break;case"ArrowDown":"vertical"===s&&c();break;case"ArrowLeft":"horizontal"===s&&(h?l():c());break;case"ArrowUp":"vertical"===s&&l()}const u=o%i;n[u].ref.current?.focus()});return(0,p.jsx)(W,{scope:n,disabled:i,direction:o,orientation:s,children:(0,p.jsx)(R.Slot,{scope:n,children:(0,p.jsx)(c.sG.div,{...l,"data-orientation":s,ref:f,onKeyDown:i?void 0:m})})})}),Q="AccordionItem",[J,X]=j(Q),Y=r.forwardRef((e,t)=>
2{const{__scopeAccordion:n,value:r,...i}=e,o=G(Q,n),a=V(Q,n),s=L(n),c=(0,h.B)(),l=r&&a.value.includes(r)||!1,u=o.disabled||e.disabled;return(0,p.jsx)(J,{scope:n,open:l,disabled:u,triggerId:c,children:(0,p.jsx)(A,{"data-orientation":o.orientation,"data-state":oe(l),...s,...i,ref:t,disabled:u,open:l,onOpenChange:e=>{e?a.onItemOpen(r):a.onItemClose(r)}})})});Y.displayName=Q;var Z="AccordionHeader",ee=r.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=G(M,n),o=X(Z,n);return(0,p.jsx)(c.sG.h3,{"data-orientation":i.orientation,"data-state":oe(o.open),"data-disabled":o.disabled?"":void 0,...r,ref:t})});ee.displayName=Z;var te="AccordionTrigger",ne=r.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=G(M,n),o=X(te,n),a=$(te,n),s=L(n);return(0,p.jsx)(R.ItemSlot,{scope:n,children:(0,p.jsx)(T,{"aria-disabled":o.open&&!a.collapsible||void 0,"data-orientation":i.orientation,id:o.triggerId,...s,...r,ref:t})})});ne.displayName=te;var re="AccordionContent",ie=r.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=G(M,n),o=X(re,n),a=L(n);return(0,p.jsx)(P,{role:"region","aria-labelledby":o.triggerId,"data-orientation":i.orientation,...a,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function oe(e){return e?"open":"closed"}ie.displayName=re;var ae=B,se=Y,ce=ee,le=ne,ue=ie},49263(e,t,n){"use strict";n.d(t,{C1:()=>_,bL:()=>k});var r=n(96540),i=n(91071),o=n(62133);function a(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}"undefined"==typeof window||!window.document||window.document.createElement;var s=n(81351),c=n(85357),l=n(31769),u=n(88200),f=e=>{const{present:t,children:n}=e,o=function(e){const[t,n]=r.useState(),i=r.useRef(null),o=r.useRef(e),a=r.useRef("none"),s=e?"mounted":"unmounted",[c,l]=function(e,t){return r.useReducer((e,n)=>t[e][n]??e,e)}(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return r.useEffect(()=>{const e=d(i.current);a.current="mounted"===c?e:"none"},[c]),(0,u.N)(()=>{const t=i.current,n=o.current;if(n!==e){const r=a.current,i=d(t);l(e?"MOUNT":"none"===i||"none"===t?.display?"UNMOUNT":n&&r!==i?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),(0,u.N)(()=>{if(t){let e;const n=t.ownerDocument.defaultView??window,r=r=>{const a=d(i.current).includes(CSS.escape(r.animationName));if(r.target===t&&a&&(l("ANIMATION_END"),!o.current)){const r=t.style.animationFillMode;t.style.animationFillMode="forwards",e=n.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=r)})}},s=e=>{e.target===t&&(a.current=d(i.current))};return t.addEventListener("animationstart",s),t.addEventListener("animationcancel",r),t.addEventListener("animationend",r),()=>{n.clearTimeout(e),t.removeEventListener("animationstart",s),t.removeEventListener("animationcancel",r),t.removeEventListener("animationend",r)}}l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:r.useCallback(e=>{i.current=e?getComputedStyle(e):null,n(e)},[])}}(t),a="function"==typeof n?n({present:o.isPresent}):r.Children.only(n),s=(0,i.s)(o.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(a));return"function"==typeof n||o.isPresent?r.cloneElement(a,{ref:s}):null};function d(e){return e?.animationName||"none"}f.displayName="Presence";var h=n(12579),p=n(74848),m="Checkbox",[y,g]=(0,o.A)(m),[v,b]=y(m);function w(e){const{__scopeCheckbox:t,checked:n,children:i,defaultChecked:o,disabled:a,form:c,name:l,onCheckedChange:u,required:f,value:d="on",internal_do_not_use_render:h}=e,[y,g]=(0,s.i)({prop:n,defaultProp:o??!1,onChange:u,caller:m}),[b,w]=r.useState(null),[x,S]=r.useState(null),k=r.useRef(!1),E=!b||!!c||!!b.closest("form"),_={checked:y,disabled:a,setChecked:g,control:b,setControl:w,name:l,form:c,value:d,hasConsumerStoppedPropagationRef:k,required:f,defaultChecked:!P(o)&&o,isFormControl:E,bubbleInput:x,setBubbleInput:S};return(0,p.jsx)(v,{scope:t,..._,children:T(h)?h(_):i})}var x="CheckboxTrigger",S=r.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...o},s)=>{const{control:c,value:l,disabled:u,checked:f,required:d,setControl:m,setChecked:y,hasConsumerStoppedPropagationRef:g,isFormControl:v,bubbleInput:w}=b(x,e),S=(0,i.s)(s,m),k=r.useRef(f);return r.useEffect(()=>{const e=c?.form;if(e){const t=()=>y(k.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[c,y]),(0,p.jsx)(h.sG.button,{type:"button",role:"checkbox","aria-checked":P(f)?"mixed":f,"aria-required":d,"data-state":O(f),"data-disabled":u?"":void 0,disabled:u,value:l,...o,ref:S,onKeyDown:a(t,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:a(n,e=>{y(e=>!!P(e)||!e),w&&v&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())})})});S.displayName=x;var k=r.forwardRef((e,t)=>
2{const{__scopeCheckbox:n,name:r,checked:i,defaultChecked:o,required:a,disabled:s,value:c,onCheckedChange:l,form:u,...f}=e;return(0,p.jsx)(w,{__scopeCheckbox:n,checked:i,defaultChecked:o,disabled:s,required:a,onCheckedChange:l,name:r,form:u,value:c,internal_do_not_use_render:({isFormControl:e})=>(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(S,{...f,ref:t,__scopeCheckbox:n}),e&&(0,p.jsx)(A,{__scopeCheckbox:n})]})})});k.displayName=m;var E="CheckboxIndicator",_=r.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...i}=e,o=b(E,n);return(0,p.jsx)(f,{present:r||P(o.checked)||!0===o.checked,children:(0,p.jsx)(h.sG.span,{"data-state":O(o.checked),"data-disabled":o.disabled?"":void 0,...i,ref:t,style:{pointerEvents:"none",...e.style}})})});_.displayName=E;var C="CheckboxBubbleInput",A=r.forwardRef(({__scopeCheckbox:e,...t},n)=>{const{control:o,hasConsumerStoppedPropagationRef:a,checked:s,defaultChecked:u,required:f,disabled:d,name:m,value:y,form:g,bubbleInput:v,setBubbleInput:w}=b(C,e),x=(0,i.s)(n,w),S=(0,c.Z)(s),k=(0,l.X)(o);r.useEffect(()=>{const e=v;if(!e)return;const t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,"checked").set,r=!a.current;if(S!==s&&n){const t=new Event("click",{bubbles:r});e.indeterminate=P(s),n.call(e,!P(s)&&s),e.dispatchEvent(t)}},[v,S,s,a]);const E=r.useRef(!P(s)&&s);return(0,p.jsx)(h.sG.input,{type:"checkbox","aria-hidden":!0,defaultChecked:u??E.current,required:f,disabled:d,name:m,value:y,form:g,...t,tabIndex:-1,ref:x,style:{...t.style,...k,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function T(e){return"function"==typeof e}function P(e){return"indeterminate"===e}function O(e){return P(e)?"indeterminate":e?"checked":"unchecked"}A.displayName=C},16214(e,t,n){"use strict";n.d(t,{N:()=>c});var r=n(96540),i=n(62133),o=n(91071),a=n(33362),s=n(74848);function c(e){const t=e+"CollectionProvider",[n,c]=(0,i.A)(t),[l,u]=n(t,{collectionRef:{current:null},itemMap:new Map}),f=e=>{const{scope:t,children:n}=e,i=r.useRef(null),o=r.useRef(new Map).current;return(0,s.jsx)(l,{scope:t,itemMap:o,collectionRef:i,children:n})};f.displayName=t;const d=e+"CollectionSlot",h=(0,a.TL)(d),p=r.forwardRef((e,t)=>{const{scope:n,children:r}=e,i=u(d,n),a=(0,o.s)(t,i.collectionRef);return(0,s.jsx)(h,{ref:a,children:r})});p.displayName=d;const m=e+"CollectionItemSlot",y="data-radix-collection-item",g=(0,a.TL)(m),v=r.forwardRef((e,t)=>{const{scope:n,children:i,...a}=e,c=r.useRef(null),l=(0,o.s)(t,c),f=u(m,n);return r.useEffect(()=>(f.itemMap.set(c,{ref:c,...a}),()=>{f.itemMap.delete(c)})),(0,s.jsx)(g,{[y]:"",ref:l,children:i})});return v.displayName=m,[{Provider:f,Slot:p,ItemSlot:v},function(t){const n=u(e+"CollectionConsumer",t);return r.useCallback(()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${y}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},c]}Map},91071(e,t,n){"use strict";n.d(t,{s:()=>a,t:()=>o});var r=n(96540);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let n=!1;const r=e.map(e=>{const r=i(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():i(e[t],null)}}}}function a(...e){return r.useCallback(o(...e),e)}},62133(e,t,n){"use strict";n.d(t,{A:()=>a,q:()=>o});var r=n(96540),i=n(74848);function o(e,t){const n=r.createContext(t),o=e=>{const{children:t,...o}=e,a=r.useMemo(()=>o,Object.values(o));return(0,i.jsx)(n.Provider,{value:a,children:t})};return o.displayName=e+"Provider",[o,function(i){const o=r.useContext(n);if(o)return o;if(void 0!==t)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}]}function a(e,t=[]){let n=[];const o=()=>{const t=n.map(e=>r.createContext(e));return function(n){const i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return o.scopeName=e,[function(t,o){const a=r.createContext(o),s=n.length;n=[...n,o];const c=t=>{const{scope:n,children:o,...c}=t,l=n?.[e]?.[s]||a,u=r.useMemo(()=>c,Object.values(c));return(0,i.jsx)(l.Provider,{value:u,children:o})};return c.displayName=t+"Provider",[c,function(n,i){const c=i?.[e]?.[s]||a,l=r.useContext(c);if(l)return l;if(void 0!==o)return o;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},s(o,...t)]}function s(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const i=n.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}},60990(e,t,n){"use strict";n.d(t,{UC:()=>ee,VY:()=>ne,ZL:()=>Y,bL:()=>X,bm:()=>re,hE:()=>te,hJ:()=>Z});var r=n(96540),i=n(9957),o=n(91071),a=n(62133),s=n(18723),c=n(81351),l=n(45056),u=n(18531),f=n(13656),d=n(7971),h=n(12579),p=n(61463),m=n(7350),y=n(58241),g=n(33362),v=n(74848),b="Dialog",[w,x]=(0,a.A)(b),[S,k]=w(b),E=e=>{const{__scopeDialog:t,children:n,open:i,defaultOpen:o,onOpenChange:a,modal:l=!0}=e,u=r.useRef(null),f=r.useRef(null),[d,h]=(0,c.i)({prop:i,defaultProp:o??!1,onChange:a,caller:b});return(0,v.jsx)(S,{scope:t,triggerRef:u,contentRef:f,contentId:(0,s.B)(),titleId:(0,s.B)(),descriptionId:(0,s.B)(),open:d,onOpenChange:h,onOpenToggle:r.useCallback(()=>h(e=>!e),[h]),modal:l,children:n})};E.displayName=b;var _="DialogTrigger";r.forwardRef((e,t)=>
2{const{__scopeDialog:n,...r}=e,a=k(_,n),s=(0,o.s)(t,a.triggerRef);return(0,v.jsx)(h.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":q(a.open),...r,ref:s,onClick:(0,i.m)(e.onClick,a.onOpenToggle)})}).displayName=_;var C="DialogPortal",[A,T]=w(C,{forceMount:void 0}),P=e=>{const{__scopeDialog:t,forceMount:n,children:i,container:o}=e,a=k(C,t);return(0,v.jsx)(A,{scope:t,forceMount:n,children:r.Children.map(i,e=>(0,v.jsx)(d.C,{present:n||a.open,children:(0,v.jsx)(f.Z,{asChild:!0,container:o,children:e})}))})};P.displayName=C;var O="DialogOverlay",M=r.forwardRef((e,t)=>{const n=T(O,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=k(O,e.__scopeDialog);return o.modal?(0,v.jsx)(d.C,{present:r||o.open,children:(0,v.jsx)(R,{...i,ref:t})}):null});M.displayName=O;var I=(0,g.TL)("DialogOverlay.RemoveScroll"),R=r.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=k(O,n);return(0,v.jsx)(m.A,{as:I,allowPinchZoom:!0,shards:[i.contentRef],children:(0,v.jsx)(h.sG.div,{"data-state":q(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),D="DialogContent",N=r.forwardRef((e,t)=>{const n=T(D,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=k(D,e.__scopeDialog);return(0,v.jsx)(d.C,{present:r||o.open,children:o.modal?(0,v.jsx)(j,{...i,ref:t}):(0,v.jsx)(F,{...i,ref:t})})});N.displayName=D;var j=r.forwardRef((e,t)=>{const n=k(D,e.__scopeDialog),a=r.useRef(null),s=(0,o.s)(t,n.contentRef,a);return r.useEffect(()=>{const e=a.current;if(e)return(0,y.Eq)(e)},[]),(0,v.jsx)(L,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.m)(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:(0,i.m)(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,i.m)(e.onFocusOutside,e=>e.preventDefault())})}),F=r.forwardRef((e,t)=>{const n=k(D,e.__scopeDialog),i=r.useRef(!1),o=r.useRef(!1);return(0,v.jsx)(L,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||n.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const r=t.target,a=n.triggerRef.current?.contains(r);a&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),L=r.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:s,...c}=e,f=k(D,n),d=r.useRef(null),h=(0,o.s)(t,d);return(0,p.Oh)(),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(u.n,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:a,onUnmountAutoFocus:s,children:(0,v.jsx)(l.qW,{role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":q(f.open),...c,ref:h,onDismiss:()=>f.onOpenChange(!1)})}),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(Q,{titleId:f.titleId}),(0,v.jsx)(J,{contentRef:d,descriptionId:f.descriptionId})]})]})}),B="DialogTitle",z=r.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=k(B,n);return(0,v.jsx)(h.sG.h2,{id:i.titleId,...r,ref:t})});z.displayName=B;var V="DialogDescription",U=r.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=k(V,n);return(0,v.jsx)(h.sG.p,{id:i.descriptionId,...r,ref:t})});U.displayName=V;var $="DialogClose",H=r.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=k($,n);return(0,v.jsx)(h.sG.button,{type:"button",...r,ref:t,onClick:(0,i.m)(e.onClick,()=>o.onOpenChange(!1))})});function q(e){return e?"open":"closed"}H.displayName=$;var W="DialogTitleWarning",[G,K]=(0,a.q)(W,{contentName:D,titleName:B,docsSlug:"dialog"}),Q=({titleId:e})=>{const t=K(W),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return r.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},J=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${K("DialogDescriptionWarning").contentName}}.`;return r.useEffect(()=>{const r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},X=E,Y=P,Z=M,ee=N,te=z,ne=U,re=H},71427(e,t,n){"use strict";n.d(t,{jH:()=>o});var r=n(96540),i=(n(74848),r.createContext(void 0));function o(e){const t=r.useContext(i);return e||t||"ltr"}},45056(e,t,n){"use strict";n.d(t,{qW:()=>d});var r,i=n(96540),o=n(9957),a=n(12579),s=n(91071),c=n(10263),l=n(74848),u="dismissableLayer.update",f=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),d=i.forwardRef((e,t)=>
2{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:d,onPointerDownOutside:m,onFocusOutside:y,onInteractOutside:g,onDismiss:v,...b}=e,w=i.useContext(f),[x,S]=i.useState(null),k=x?.ownerDocument??globalThis?.document,[,E]=i.useState({}),_=(0,s.s)(t,e=>S(e)),C=Array.from(w.layers),[A]=[...w.layersWithOutsidePointerEventsDisabled].slice(-1),T=C.indexOf(A),P=x?C.indexOf(x):-1,O=w.layersWithOutsidePointerEventsDisabled.size>0,M=P>=T,I=function(e,t=globalThis?.document){const n=(0,c.c)(e),r=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{const e=e=>{if(e.target&&!r.current){let r=function(){p("dismissableLayer.pointerDownOutside",n,i,{discrete:!0})};const i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{const t=e.target,n=[...w.branches].some(e=>e.contains(t));M&&!n&&(m?.(e),g?.(e),e.defaultPrevented||v?.())},k),R=function(e,t=globalThis?.document){const n=(0,c.c)(e),r=i.useRef(!1);return i.useEffect(()=>{const e=e=>{e.target&&!r.current&&p("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{const t=e.target;[...w.branches].some(e=>e.contains(t))||(y?.(e),g?.(e),e.defaultPrevented||v?.())},k);return function(e,t=globalThis?.document){const n=(0,c.c)(e);i.useEffect(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{P===w.layers.size-1&&(d?.(e),!e.defaultPrevented&&v&&(e.preventDefault(),v()))},k),i.useEffect(()=>{if(x)return n&&(0===w.layersWithOutsidePointerEventsDisabled.size&&(r=k.body.style.pointerEvents,k.body.style.pointerEvents="none"),w.layersWithOutsidePointerEventsDisabled.add(x)),w.layers.add(x),h(),()=>{n&&1===w.layersWithOutsidePointerEventsDisabled.size&&(k.body.style.pointerEvents=r)}},[x,k,n,w]),i.useEffect(()=>()=>{x&&(w.layers.delete(x),w.layersWithOutsidePointerEventsDisabled.delete(x),h())},[x,w]),i.useEffect(()=>{const e=()=>E({});return document.addEventListener(u,e),()=>document.removeEventListener(u,e)},[]),(0,l.jsx)(a.sG.div,{...b,ref:_,style:{pointerEvents:O?M?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.m)(e.onFocusCapture,R.onFocusCapture),onBlurCapture:(0,o.m)(e.onBlurCapture,R.onBlurCapture),onPointerDownCapture:(0,o.m)(e.onPointerDownCapture,I.onPointerDownCapture)})});function h(){const e=new CustomEvent(u);document.dispatchEvent(e)}function p(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,a.hO)(i,o):i.dispatchEvent(o)}d.displayName="DismissableLayer",i.forwardRef((e,t)=>{const n=i.useContext(f),r=i.useRef(null),o=(0,s.s)(t,r);return i.useEffect(()=>{const e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,l.jsx)(a.sG.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},81339(e,t,n){"use strict";n.d(t,{UC:()=>dt,q7:()=>ht,VF:()=>yt,ZL:()=>ft,z6:()=>pt,hN:()=>mt,bL:()=>lt,wv:()=>gt,l9:()=>ut});var r=n(96540),i=n(9957),o=n(91071),a=n(62133),s=n(81351),c=n(12579),l=n(16214),u=n(71427),f=n(45056),d=n(61463),h=n(18531),p=n(18723),m=n(69139),y=n(13656),g=n(7971),v=n(76278),b=n(33362),w=n(10263),x=n(58241),S=n(7350),k=n(74848),E=["Enter"," "],_=["ArrowUp","PageDown","End"],C=["ArrowDown","PageUp","Home",..._],A={ltr:[...E,"ArrowRight"],rtl:[...E,"ArrowLeft"]},T={ltr:["ArrowLeft"],rtl:["ArrowRight"]},P="Menu",[O,M,I]=(0,l.N)(P),[R,D]=(0,a.A)(P,[I,m.Bk,v.RG]),N=(0,m.Bk)(),j=(0,v.RG)(),[F,L]=R(P),[B,z]=R(P),V=e=>{const{__scopeMenu:t,open:n=!1,children:i,dir:o,onOpenChange:a,modal:s=!0}=e,c=N(t),[l,f]=r.useState(null),d=r.useRef(!1),h=(0,w.c)(a),p=(0,u.jH)(o);return r.useEffect(()=>{const e=()=>{d.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>d.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,k.jsx)(m.bL,{...c,children:(0,k.jsx)(F,{scope:t,open:n,onOpenChange:h,content:l,onContentChange:f,children:(0,k.jsx)(B,{scope:t,onClose:r.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:d,dir:p,modal:s,children:i})})})};V.displayName=P;var U=r.forwardRef((e,t)=>
2{const{__scopeMenu:n,...r}=e,i=N(n);return(0,k.jsx)(m.Mz,{...i,...r,ref:t})});U.displayName="MenuAnchor";var $="MenuPortal",[H,q]=R($,{forceMount:void 0}),W=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:i}=e,o=L($,t);return(0,k.jsx)(H,{scope:t,forceMount:n,children:(0,k.jsx)(g.C,{present:n||o.open,children:(0,k.jsx)(y.Z,{asChild:!0,container:i,children:r})})})};W.displayName=$;var G="MenuContent",[K,Q]=R(G),J=r.forwardRef((e,t)=>{const n=q(G,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,o=L(G,e.__scopeMenu),a=z(G,e.__scopeMenu);return(0,k.jsx)(O.Provider,{scope:e.__scopeMenu,children:(0,k.jsx)(g.C,{present:r||o.open,children:(0,k.jsx)(O.Slot,{scope:e.__scopeMenu,children:a.modal?(0,k.jsx)(X,{...i,ref:t}):(0,k.jsx)(Y,{...i,ref:t})})})})}),X=r.forwardRef((e,t)=>{const n=L(G,e.__scopeMenu),a=r.useRef(null),s=(0,o.s)(t,a);return r.useEffect(()=>{const e=a.current;if(e)return(0,x.Eq)(e)},[]),(0,k.jsx)(ee,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,i.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Y=r.forwardRef((e,t)=>{const n=L(G,e.__scopeMenu);return(0,k.jsx)(ee,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),Z=(0,b.TL)("MenuContent.ScrollLock"),ee=r.forwardRef((e,t)=>{const{__scopeMenu:n,loop:a=!1,trapFocus:s,onOpenAutoFocus:c,onCloseAutoFocus:l,disableOutsidePointerEvents:u,onEntryFocus:p,onEscapeKeyDown:y,onPointerDownOutside:g,onFocusOutside:b,onInteractOutside:w,onDismiss:x,disableOutsideScroll:E,...A}=e,T=L(G,n),P=z(G,n),O=N(n),I=j(n),R=M(n),[D,F]=r.useState(null),B=r.useRef(null),V=(0,o.s)(t,B,T.onContentChange),U=r.useRef(0),$=r.useRef(""),H=r.useRef(0),q=r.useRef(null),W=r.useRef("right"),Q=r.useRef(0),J=E?S.A:r.Fragment,X=E?{as:Z,allowPinchZoom:!0}:void 0;r.useEffect(()=>()=>window.clearTimeout(U.current),[]),(0,d.Oh)();const Y=r.useCallback(e=>W.current===q.current?.side&&function(e,t){if(!t)return!1;return function(e,t){const{x:n,y:r}=e;let i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){const a=t[e],s=t[o],c=a.x,l=a.y,u=s.x,f=s.y;l>r!=f>r&&n<(u-c)*(r-l)/(f-l)+c&&(i=!i)}return i}({x:e.clientX,y:e.clientY},t)}(e,q.current?.area),[]);return(0,k.jsx)(K,{scope:n,searchRef:$,onItemEnter:r.useCallback(e=>{Y(e)&&e.preventDefault()},[Y]),onItemLeave:r.useCallback(e=>{Y(e)||(B.current?.focus(),F(null))},[Y]),onTriggerLeave:r.useCallback(e=>{Y(e)&&e.preventDefault()},[Y]),pointerGraceTimerRef:H,onPointerGraceIntentChange:r.useCallback(e=>{q.current=e},[]),children:(0,k.jsx)(J,{...X,children:(0,k.jsx)(h.n,{asChild:!0,trapped:s,onMountAutoFocus:(0,i.m)(c,e=>{e.preventDefault(),B.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:(0,k.jsx)(f.qW,{asChild:!0,disableOutsidePointerEvents:u,onEscapeKeyDown:y,onPointerDownOutside:g,onFocusOutside:b,onInteractOutside:w,onDismiss:x,children:(0,k.jsx)(v.bL,{asChild:!0,...I,dir:P.dir,orientation:"vertical",loop:a,currentTabStopId:D,onCurrentTabStopIdChange:F,onEntryFocus:(0,i.m)(p,e=>{P.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,k.jsx)(m.UC,{role:"menu","aria-orientation":"vertical","data-state":Ae(T.open),"data-radix-menu-content":"",dir:P.dir,...O,...A,ref:V,style:{outline:"none",...A.style},onKeyDown:(0,i.m)(A.onKeyDown,e=>{const t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&(e=>{const t=$.current+e,n=R().filter(e=>!e.disabled),r=document.activeElement,i=n.find(e=>e.ref.current===r)?.textValue,o=function(e,t,n){const r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let o=(a=e,s=Math.max(i,0),a.map((e,t)=>a[(s+t)%a.length]));var a,s;1===r.length&&(o=o.filter(e=>e!==n));const c=o.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return c!==n?c:void 0}(n.map(e=>e.textValue),t,i),a=n.find(e=>e.textValue===o)?.ref.current;!function e(t){$.current=t,window.clearTimeout(U.current),""!==t&&(U.current=window.setTimeout(()=>e(""),1e3))}(t),a&&setTimeout(()=>a.focus())})(e.key));const i=B.current;if(e.target!==i)return;
2if(!C.includes(e.key))return;e.preventDefault();const o=R().filter(e=>!e.disabled).map(e=>e.ref.current);_.includes(e.key)&&o.reverse(),function(e){const t=document.activeElement;for(const n of e){if(n===t)return;if(n.focus(),document.activeElement!==t)return}}(o)}),onBlur:(0,i.m)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(U.current),$.current="")}),onPointerMove:(0,i.m)(e.onPointerMove,Oe(e=>{const t=e.target,n=Q.current!==e.clientX;if(e.currentTarget.contains(t)&&n){const t=e.clientX>Q.current?"right":"left";W.current=t,Q.current=e.clientX}}))})})})})})})});J.displayName=G;var te=r.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return(0,k.jsx)(c.sG.div,{role:"group",...r,ref:t})});te.displayName="MenuGroup";var ne=r.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return(0,k.jsx)(c.sG.div,{...r,ref:t})});ne.displayName="MenuLabel";var re="MenuItem",ie="menu.itemSelect",oe=r.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:a,...s}=e,l=r.useRef(null),u=z(re,e.__scopeMenu),f=Q(re,e.__scopeMenu),d=(0,o.s)(t,l),h=r.useRef(!1);return(0,k.jsx)(ae,{...s,ref:d,disabled:n,onClick:(0,i.m)(e.onClick,()=>{const e=l.current;if(!n&&e){const t=new CustomEvent(ie,{bubbles:!0,cancelable:!0});e.addEventListener(ie,e=>a?.(e),{once:!0}),(0,c.hO)(e,t),t.defaultPrevented?h.current=!1:u.onClose()}}),onPointerDown:t=>{e.onPointerDown?.(t),h.current=!0},onPointerUp:(0,i.m)(e.onPointerUp,e=>{h.current||e.currentTarget?.click()}),onKeyDown:(0,i.m)(e.onKeyDown,e=>{const t=""!==f.searchRef.current;n||t&&" "===e.key||E.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});oe.displayName=re;var ae=r.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:a=!1,textValue:s,...l}=e,u=Q(re,n),f=j(n),d=r.useRef(null),h=(0,o.s)(t,d),[p,m]=r.useState(!1),[y,g]=r.useState("");return r.useEffect(()=>{const e=d.current;e&&g((e.textContent??"").trim())},[l.children]),(0,k.jsx)(O.ItemSlot,{scope:n,disabled:a,textValue:s??y,children:(0,k.jsx)(v.q7,{asChild:!0,...f,focusable:!a,children:(0,k.jsx)(c.sG.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":a||void 0,"data-disabled":a?"":void 0,...l,ref:h,onPointerMove:(0,i.m)(e.onPointerMove,Oe(e=>{a?u.onItemLeave(e):(u.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,i.m)(e.onPointerLeave,Oe(e=>u.onItemLeave(e))),onFocus:(0,i.m)(e.onFocus,()=>m(!0)),onBlur:(0,i.m)(e.onBlur,()=>m(!1))})})})}),se=r.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return(0,k.jsx)(me,{scope:e.__scopeMenu,checked:n,children:(0,k.jsx)(oe,{role:"menuitemcheckbox","aria-checked":Te(n)?"mixed":n,...o,ref:t,"data-state":Pe(n),onSelect:(0,i.m)(o.onSelect,()=>r?.(!!Te(n)||!n),{checkForDefaultPrevented:!1})})})});se.displayName="MenuCheckboxItem";var ce="MenuRadioGroup",[le,ue]=R(ce,{value:void 0,onValueChange:()=>{}}),fe=r.forwardRef((e,t)=>{const{value:n,onValueChange:r,...i}=e,o=(0,w.c)(r);return(0,k.jsx)(le,{scope:e.__scopeMenu,value:n,onValueChange:o,children:(0,k.jsx)(te,{...i,ref:t})})});fe.displayName=ce;var de="MenuRadioItem",he=r.forwardRef((e,t)=>{const{value:n,...r}=e,o=ue(de,e.__scopeMenu),a=n===o.value;return(0,k.jsx)(me,{scope:e.__scopeMenu,checked:a,children:(0,k.jsx)(oe,{role:"menuitemradio","aria-checked":a,...r,ref:t,"data-state":Pe(a),onSelect:(0,i.m)(r.onSelect,()=>o.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});he.displayName=de;var pe="MenuItemIndicator",[me,ye]=R(pe,{checked:!1}),ge=r.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...i}=e,o=ye(pe,n);return(0,k.jsx)(g.C,{present:r||Te(o.checked)||!0===o.checked,children:(0,k.jsx)(c.sG.span,{...i,ref:t,"data-state":Pe(o.checked)})})});ge.displayName=pe;var ve=r.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return(0,k.jsx)(c.sG.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});ve.displayName="MenuSeparator";var be=r.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=N(n);return(0,k.jsx)(m.i3,{...i,...r,ref:t})});be.displayName="MenuArrow";var we="MenuSub",[xe,Se]=R(we),ke="MenuSubTrigger",Ee=r.forwardRef((e,t)=>{const n=L(ke,e.__scopeMenu),a=z(ke,e.__scopeMenu),s=Se(ke,e.__scopeMenu),c=Q(ke,e.__scopeMenu),l=r.useRef(null),{pointerGraceTimerRef:u,onPointerGraceIntentChange:f}=c,d={__scopeMenu:e.__scopeMenu},h=r.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return r.useEffect(()=>h,[h]),r.useEffect(()=>{const e=u.current;return()=>{window.clearTimeout(e),f(null)}},[u,f]),(0,k.jsx)(U,{asChild:!0,...d,children:(0,k.jsx)(ae,{id:s.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":s.contentId,"data-state":Ae(n.open),...e,ref:(0,o.t)(t,s.onTriggerChange),onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focu
2s(),n.open||n.onOpenChange(!0))},onPointerMove:(0,i.m)(e.onPointerMove,Oe(t=>{c.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||l.current||(c.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{n.onOpenChange(!0),h()},100))})),onPointerLeave:(0,i.m)(e.onPointerLeave,Oe(e=>{h();const t=n.content?.getBoundingClientRect();if(t){const r=n.content?.dataset.side,i="right"===r,o=i?-5:5,a=t[i?"left":"right"],s=t[i?"right":"left"];c.onPointerGraceIntentChange({area:[{x:e.clientX+o,y:e.clientY},{x:a,y:t.top},{x:s,y:t.top},{x:s,y:t.bottom},{x:a,y:t.bottom}],side:r}),window.clearTimeout(u.current),u.current=window.setTimeout(()=>c.onPointerGraceIntentChange(null),300)}else{if(c.onTriggerLeave(e),e.defaultPrevented)return;c.onPointerGraceIntentChange(null)}})),onKeyDown:(0,i.m)(e.onKeyDown,t=>{const r=""!==c.searchRef.current;e.disabled||r&&" "===t.key||A[a.dir].includes(t.key)&&(n.onOpenChange(!0),n.content?.focus(),t.preventDefault())})})})});Ee.displayName=ke;var _e="MenuSubContent",Ce=r.forwardRef((e,t)=>{const n=q(G,e.__scopeMenu),{forceMount:a=n.forceMount,...s}=e,c=L(G,e.__scopeMenu),l=z(G,e.__scopeMenu),u=Se(_e,e.__scopeMenu),f=r.useRef(null),d=(0,o.s)(t,f);return(0,k.jsx)(O.Provider,{scope:e.__scopeMenu,children:(0,k.jsx)(g.C,{present:a||c.open,children:(0,k.jsx)(O.Slot,{scope:e.__scopeMenu,children:(0,k.jsx)(ee,{id:u.contentId,"aria-labelledby":u.triggerId,...s,ref:d,align:"start",side:"rtl"===l.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{l.isUsingKeyboardRef.current&&f.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,i.m)(e.onFocusOutside,e=>{e.target!==u.trigger&&c.onOpenChange(!1)}),onEscapeKeyDown:(0,i.m)(e.onEscapeKeyDown,e=>{l.onClose(),e.preventDefault()}),onKeyDown:(0,i.m)(e.onKeyDown,e=>{const t=e.currentTarget.contains(e.target),n=T[l.dir].includes(e.key);t&&n&&(c.onOpenChange(!1),u.trigger?.focus(),e.preventDefault())})})})})})});function Ae(e){return e?"open":"closed"}function Te(e){return"indeterminate"===e}function Pe(e){return Te(e)?"indeterminate":e?"checked":"unchecked"}function Oe(e){return t=>"mouse"===t.pointerType?e(t):void 0}Ce.displayName=_e;var Me=V,Ie=U,Re=W,De=J,Ne=te,je=ne,Fe=oe,Le=se,Be=fe,ze=he,Ve=ge,Ue=ve,$e=be,He=Ee,qe=Ce,We="DropdownMenu",[Ge,Ke]=(0,a.A)(We,[D]),Qe=D(),[Je,Xe]=Ge(We),Ye=e=>{const{__scopeDropdownMenu:t,children:n,dir:i,open:o,defaultOpen:a,onOpenChange:c,modal:l=!0}=e,u=Qe(t),f=r.useRef(null),[d,h]=(0,s.i)({prop:o,defaultProp:a??!1,onChange:c,caller:We});return(0,k.jsx)(Je,{scope:t,triggerId:(0,p.B)(),triggerRef:f,contentId:(0,p.B)(),open:d,onOpenChange:h,onOpenToggle:r.useCallback(()=>h(e=>!e),[h]),modal:l,children:(0,k.jsx)(Me,{...u,open:d,onOpenChange:h,dir:i,modal:l,children:n})})};Ye.displayName=We;var Ze="DropdownMenuTrigger",et=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...a}=e,s=Xe(Ze,n),l=Qe(n);return(0,k.jsx)(Ie,{asChild:!0,...l,children:(0,k.jsx)(c.sG.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...a,ref:(0,o.t)(t,s.triggerRef),onPointerDown:(0,i.m)(e.onPointerDown,e=>{r||0!==e.button||!1!==e.ctrlKey||(s.onOpenToggle(),s.open||e.preventDefault())}),onKeyDown:(0,i.m)(e.onKeyDown,e=>{r||(["Enter"," "].includes(e.key)&&s.onOpenToggle(),"ArrowDown"===e.key&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});et.displayName=Ze;var tt=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Qe(t);return(0,k.jsx)(Re,{...r,...n})};tt.displayName="DropdownMenuPortal";var nt="DropdownMenuContent",rt=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,a=Xe(nt,n),s=Qe(n),c=r.useRef(!1);return(0,k.jsx)(De,{id:a.contentId,"aria-labelledby":a.triggerId,...s,...o,ref:t,onCloseAutoFocus:(0,i.m)(e.onCloseAutoFocus,e=>{c.current||a.triggerRef.current?.focus(),c.current=!1,e.preventDefault()}),onInteractOutside:(0,i.m)(e.onInteractOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;a.modal&&!r||(c.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});rt.displayName=nt,r.forwardRef((e,t)=>
2{const{__scopeDropdownMenu:n,...r}=e,i=Qe(n);return(0,k.jsx)(Ne,{...i,...r,ref:t})}).displayName="DropdownMenuGroup",r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qe(n);return(0,k.jsx)(je,{...i,...r,ref:t})}).displayName="DropdownMenuLabel";var it=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qe(n);return(0,k.jsx)(Fe,{...i,...r,ref:t})});it.displayName="DropdownMenuItem",r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qe(n);return(0,k.jsx)(Le,{...i,...r,ref:t})}).displayName="DropdownMenuCheckboxItem";var ot=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qe(n);return(0,k.jsx)(Be,{...i,...r,ref:t})});ot.displayName="DropdownMenuRadioGroup";var at=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qe(n);return(0,k.jsx)(ze,{...i,...r,ref:t})});at.displayName="DropdownMenuRadioItem";var st=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qe(n);return(0,k.jsx)(Ve,{...i,...r,ref:t})});st.displayName="DropdownMenuItemIndicator";var ct=r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qe(n);return(0,k.jsx)(Ue,{...i,...r,ref:t})});ct.displayName="DropdownMenuSeparator",r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qe(n);return(0,k.jsx)($e,{...i,...r,ref:t})}).displayName="DropdownMenuArrow",r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qe(n);return(0,k.jsx)(He,{...i,...r,ref:t})}).displayName="DropdownMenuSubTrigger",r.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Qe(n);return(0,k.jsx)(qe,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}).displayName="DropdownMenuSubContent";var lt=Ye,ut=et,ft=tt,dt=rt,ht=it,pt=ot,mt=at,yt=st,gt=ct},61463(e,t,n){"use strict";n.d(t,{Oh:()=>o});var r=n(96540),i=0;function o(){r.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??a()),document.body.insertAdjacentElement("beforeend",e[1]??a()),i++,()=>{1===i&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),i--}},[])}function a(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},18531(e,t,n){"use strict";n.d(t,{n:()=>f});var r=n(96540),i=n(91071),o=n(12579),a=n(10263),s=n(74848),c="focusScope.autoFocusOnMount",l="focusScope.autoFocusOnUnmount",u={bubbles:!1,cancelable:!0},f=r.forwardRef((e,t)=>{const{loop:n=!1,trapped:f=!1,onMountAutoFocus:p,onUnmountAutoFocus:g,...v}=e,[b,w]=r.useState(null),x=(0,a.c)(p),S=(0,a.c)(g),k=r.useRef(null),E=(0,i.s)(t,e=>w(e)),_=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(f){let e=function(e){if(_.paused||!b)return;const t=e.target;b.contains(t)?k.current=t:m(k.current,{select:!0})},t=function(e){if(_.paused||!b)return;const t=e.relatedTarget;null!==t&&(b.contains(t)||m(k.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&m(b)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return b&&r.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[f,b,_.paused]),r.useEffect(()=>{if(b){y.add(_);const e=document.activeElement;if(!b.contains(e)){const t=new CustomEvent(c,u);b.addEventListener(c,x),b.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(m(r,{select:t}),document.activeElement!==n)return}(d(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(b))}return()=>{b.removeEventListener(c,x),setTimeout(()=>{const t=new CustomEvent(l,u);b.addEventListener(l,S),b.dispatchEvent(t),t.defaultPrevented||m(e??document.body,{select:!0}),b.removeEventListener(l,S),y.remove(_)},0)}}},[b,x,S,_]);const C=r.useCallback(e=>{if(!n&&!f)return;if(_.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){const t=e.currentTarget,[i,o]=function(e){const t=d(e);return[h(t,e),h(t.reverse(),e)]}(t);i&&o?e.shiftKey||r!==o?e.shiftKey&&r===i&&(e.preventDefault(),n&&m(o,{select:!0})):(e.preventDefault(),n&&m(i,{select:!0})):r===t&&e.preventDefault()}},[n,f,_.paused]);return(0,s.jsx)(o.sG.div,{tabIndex:-1,...v,ref:E,onKeyDown:C})});function d(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function h(e,t){for(const n of e)if(!p(n,{upTo:t}))return n}function p(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function m(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}f.displayName="FocusScope";var y=function(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=g(e,t),e.unshift(t)},remove(t){e=g(e,t),e[0]?.resume()}}}();function g(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}},18723(e,t,n){"use strict";let r;n.d(t,{B:()=>c});var i=n(96540),o=n(88200),a=(r||(r=n.t(i,2)))[" useId ".trim().toString()]||(()=>{}),s=0;function c(e){const[t,n]=i.useState(a());return(0,o.N)(()=>{e||n(e=>e??String(s++))},[e]),e||(t?`radix-${t}`:"")}}
2,95920(e,t,n){"use strict";n.d(t,{b:()=>s});var r=n(96540),i=n(12579),o=n(74848),a=r.forwardRef((e,t)=>(0,o.jsx)(i.sG.label,{...e,ref:t,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));a.displayName="Label";var s=a},9823(e,t,n){"use strict";n.d(t,{UC:()=>W,ZL:()=>q,bL:()=>$,bm:()=>G,l9:()=>H});var r=n(96540),i=n(9957),o=n(91071),a=n(62133),s=n(45056),c=n(61463),l=n(18531),u=n(18723),f=n(69139),d=n(13656),h=n(7971),p=n(12579),m=n(33362),y=n(81351),g=n(58241),v=n(7350),b=n(74848),w="Popover",[x,S]=(0,a.A)(w,[f.Bk]),k=(0,f.Bk)(),[E,_]=x(w),C=e=>{const{__scopePopover:t,children:n,open:i,defaultOpen:o,onOpenChange:a,modal:s=!1}=e,c=k(t),l=r.useRef(null),[d,h]=r.useState(!1),[p,m]=(0,y.i)({prop:i,defaultProp:o??!1,onChange:a,caller:w});return(0,b.jsx)(f.bL,{...c,children:(0,b.jsx)(E,{scope:t,contentId:(0,u.B)(),triggerRef:l,open:p,onOpenChange:m,onOpenToggle:r.useCallback(()=>m(e=>!e),[m]),hasCustomAnchor:d,onCustomAnchorAdd:r.useCallback(()=>h(!0),[]),onCustomAnchorRemove:r.useCallback(()=>h(!1),[]),modal:s,children:n})})};C.displayName=w;var A="PopoverAnchor";r.forwardRef((e,t)=>{const{__scopePopover:n,...i}=e,o=_(A,n),a=k(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:c}=o;return r.useEffect(()=>(s(),()=>c()),[s,c]),(0,b.jsx)(f.Mz,{...a,...i,ref:t})}).displayName=A;var T="PopoverTrigger",P=r.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,a=_(T,n),s=k(n),c=(0,o.s)(t,a.triggerRef),l=(0,b.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":U(a.open),...r,ref:c,onClick:(0,i.m)(e.onClick,a.onOpenToggle)});return a.hasCustomAnchor?l:(0,b.jsx)(f.Mz,{asChild:!0,...s,children:l})});P.displayName=T;var O="PopoverPortal",[M,I]=x(O,{forceMount:void 0}),R=e=>{const{__scopePopover:t,forceMount:n,children:r,container:i}=e,o=_(O,t);return(0,b.jsx)(M,{scope:t,forceMount:n,children:(0,b.jsx)(h.C,{present:n||o.open,children:(0,b.jsx)(d.Z,{asChild:!0,container:i,children:r})})})};R.displayName=O;var D="PopoverContent",N=r.forwardRef((e,t)=>{const n=I(D,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,o=_(D,e.__scopePopover);return(0,b.jsx)(h.C,{present:r||o.open,children:o.modal?(0,b.jsx)(F,{...i,ref:t}):(0,b.jsx)(L,{...i,ref:t})})});N.displayName=D;var j=(0,m.TL)("PopoverContent.RemoveScroll"),F=r.forwardRef((e,t)=>{const n=_(D,e.__scopePopover),a=r.useRef(null),s=(0,o.s)(t,a),c=r.useRef(!1);return r.useEffect(()=>{const e=a.current;if(e)return(0,g.Eq)(e)},[]),(0,b.jsx)(v.A,{as:j,allowPinchZoom:!0,children:(0,b.jsx)(B,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.m)(e.onCloseAutoFocus,e=>{e.preventDefault(),c.current||n.triggerRef.current?.focus()}),onPointerDownOutside:(0,i.m)(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;c.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,i.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),L=r.forwardRef((e,t)=>{const n=_(D,e.__scopePopover),i=r.useRef(!1),o=r.useRef(!1);return(0,b.jsx)(B,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||n.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const r=t.target,a=n.triggerRef.current?.contains(r);a&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),B=r.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:a,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:h,onInteractOutside:p,...m}=e,y=_(D,n),g=k(n);return(0,c.Oh)(),(0,b.jsx)(l.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,b.jsx)(s.qW,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:p,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:h,onDismiss:()=>y.onOpenChange(!1),children:(0,b.jsx)(f.UC,{"data-state":U(y.open),role:"dialog",id:y.contentId,...g,...m,ref:t,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),z="PopoverClose",V=r.forwardRef((e,t)=>
vendor: 5,388 bytes, line 2
2{const{__scopePopover:n,...r}=e,o=_(z,n);return(0,b.jsx)(p.sG.button,{type:"button",...r,ref:t,onClick:(0,i.m)(e.onClick,()=>o.onOpenChange(!1))})});function U(e){return e?"open":"closed"}V.displayName=z,r.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=k(n);return(0,b.jsx)(f.i3,{...i,...r,ref:t})}).displayName="PopoverArrow";var $=C,H=P,q=R,W=N,G=V},69139(e,t,n){"use strict";n.d(t,{Mz:()=>bt,i3:()=>xt,UC:()=>wt,bL:()=>vt,Bk:()=>nt});var r=n(96540);const i=["top","right","bottom","left"],o=Math.min,a=Math.max,s=Math.round,c=Math.floor,l=e=>({x:e,y:e}),u={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function d(e,t,n){return a(e,o(t,n))}function h(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function m(e){return e.split("-")[1]}function y(e){return"x"===e?"y":"x"}function g(e){return"y"===e?"height":"width"}const v=new Set(["top","bottom"]);function b(e){return v.has(p(e))?"y":"x"}function w(e){return y(b(e))}function x(e){return e.replace(/start|end/g,e=>f[e])}const S=["left","right"],k=["right","left"],E=["top","bottom"],_=["bottom","top"];function C(e){return e.replace(/left|right|bottom|top/g,e=>u[e])}function A(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function T(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function P(e,t,n){let{reference:r,floating:i}=e;const o=b(t),a=w(t),s=g(a),c=p(t),l="y"===o,u=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[s]/2-i[s]/2;let h;switch(c){case"top":h={x:u,y:r.y-i.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(m(t)){case"start":h[a]-=d*(n&&l?-1:1);break;case"end":h[a]+=d*(n&&l?-1:1)}return h}async function O(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:a,elements:s,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=h(t,e),m=A(p),y=s[d?"floating"===f?"reference":"floating":f],g=T(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(y)))||n?y:y.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:l,rootBoundary:u,strategy:c})),v="floating"===f?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,b=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),w=await(null==o.isElement?void 0:o.isElement(b))&&await(null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},x=T(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:b,strategy:c}):v);return{top:(g.top-x.top+m.top)/w.y,bottom:(x.bottom-g.bottom+m.bottom)/w.y,left:(g.left-x.left+m.left)/w.x,right:(x.right-g.right+m.right)/w.x}}function M(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function I(e){return i.some(t=>e[t]>=0)}const R=new Set(["left","top"]);function D(){return"undefined"!=typeof window}function N(e){return L(e)?(e.nodeName||"").toLowerCase():"#document"}function j(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function F(e){var t;return null==(t=(L(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function L(e){return!!D()&&(e instanceof Node||e instanceof j(e).Node)}function B(e){return!!D()&&(e instanceof Element||e instanceof j(e).Element)}function z(e){return!!D()&&(e instanceof HTMLElement||e instanceof j(e).HTMLElement)}function V(e){return!(!D()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof j(e).ShadowRoot)}const U=new Set(["inline","contents"]);function $(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=te(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!U.has(i)}const H=new Set(["table","td","th"]);function q(e){return H.has(N(e))}const W=[":popover-open",":modal"];function G(e){return W.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const K=["transform","translate","scale","rotate","perspective"],Q=["transform","translate","scale","rotate","perspective","filter"],J=["paint","layout","strict","content"];function X(e){const t=Y(),n=B(e)?te(e):e;return K.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||Q.some(e=>(n.willChange||"").includes(e))||J.some(e=>(n.contain||"").includes(e))}function Y(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Z=new Set(["html","body","#document"]);function ee(e){return Z.has(N(e))}function te(e){return j(e).getComputedStyle(e)}function ne(e){return B(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function re(e){if("html"===N(e))return e;const t=e.assignedSlot||e.parentNode||V(e)&&e.host||F(e);return V(t)?t.host:t}function ie(e){const t=re(e);return ee(t)?e.ownerDocument?e.ownerDocument.body:e.body:z(t)&&$(t)?t:ie(t)}function oe(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=ie(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=j(i);if(o){const e=ae(a);
vendor: 5,879 bytes, line 2
2return t.concat(a,a.visualViewport||[],$(i)?i:[],e&&n?oe(e):[])}return t.concat(i,oe(i,[],n))}function ae(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function se(e){const t=te(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=z(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,c=s(n)!==o||s(r)!==a;return c&&(n=o,r=a),{width:n,height:r,$:c}}function ce(e){return B(e)?e:e.contextElement}function le(e){const t=ce(e);if(!z(t))return l(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=se(t);let a=(o?s(n.width):n.width)/r,c=(o?s(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const ue=l(0);function fe(e){const t=j(e);return Y()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ue}function de(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=ce(e);let a=l(1);t&&(r?B(r)&&(a=le(r)):a=le(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==j(e))&&t}(o,n,r)?fe(o):l(0);let c=(i.left+s.x)/a.x,u=(i.top+s.y)/a.y,f=i.width/a.x,d=i.height/a.y;if(o){const e=j(o),t=r&&B(r)?j(r):r;let n=e,i=ae(n);for(;i&&r&&t!==n;){const e=le(i),t=i.getBoundingClientRect(),r=te(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,u*=e.y,f*=e.x,d*=e.y,c+=o,u+=a,n=j(i),i=ae(n)}}return T({width:f,height:d,x:c,y:u})}function he(e,t){const n=ne(e).scrollLeft;return t?t.left+n:de(F(e)).left+n}function pe(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:he(e,r)),y:r.top+t.scrollTop}}const me=new Set(["absolute","fixed"]);function ye(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=j(e),r=F(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){o=i.width,a=i.height;const e=Y();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:o,height:a,x:s,y:c}}(e,n);else if("document"===t)r=function(e){const t=F(e),n=ne(e),r=e.ownerDocument.body,i=a(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=a(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+he(e);const c=-n.scrollTop;return"rtl"===te(r).direction&&(s+=a(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:c}}(F(e));else if(B(t))r=function(e,t){const n=de(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=z(e)?le(e):l(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{const n=fe(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return T(r)}function ge(e,t){const n=re(e);return!(n===t||!B(n)||ee(n))&&("fixed"===te(n).position||ge(n,t))}function ve(e,t,n){const r=z(t),i=F(t),o="fixed"===n,a=de(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const c=l(0);function u(){c.x=he(i)}if(r||!r&&!o)if(("body"!==N(t)||$(i))&&(s=ne(t)),r){const e=de(t,!0,o,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&u();o&&!r&&i&&u();const f=!i||r||o?l(0):pe(i,s);return{x:a.left+s.scrollLeft-c.x-f.x,y:a.top+s.scrollTop-c.y-f.y,width:a.width,height:a.height}}function be(e){return"static"===te(e).position}function we(e,t){if(!z(e)||"fixed"===te(e).position)return null;if(t)return t(e);let n=e.offsetParent;return F(e)===n&&(n=n.ownerDocument.body),n}function xe(e,t){const n=j(e);if(G(e))return n;if(!z(e)){let t=re(e);for(;t&&!ee(t);){if(B(t)&&!be(t))return t;t=re(t)}return n}let r=we(e,t);for(;r&&q(r)&&be(r);)r=we(r,t);return r&&ee(r)&&be(r)&&!X(r)?n:r||function(e){let t=re(e);for(;z(t)&&!ee(t);){if(X(t))return t;if(G(t))return null;t=re(t)}return null}(e)||n}const Se={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o="fixed"===i,a=F(r),s=!!t&&G(t.floating);if(r===a||s&&o)return n;let c={scrollLeft:0,scrollTop:0},u=l(1);const f=l(0),d=z(r);if((d||!d&&!o)&&(("body"!==N(r)||$(a))&&(c=ne(r)),z(r))){const e=de(r);u=le(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}const h=!a||d||o?l(0):pe(a,c,!0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+f.x+h.x,y:n.y*u.y-c.scrollTop*u.y+f.y+h.y}},getDocumentElement:F,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const s=[..."clippingAncestors"===n?G(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=oe(e,[],!1).filter(e=>B(e)&&"body"!==N(e)),i=null;const o="fixed"===te(e).position;let a=o?re(e):e;for(;B(a)&&!ee(a);){const t=te(a),n=X(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&me.has(i.position)||$(a)&&!n&&ge(e,a))?r=r.filter(e=>e!==a):i=t,a=re(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],c=s[0],l=s.reduce((e,n)=>{const r=ye(t,n,i);return e.top=a(r.top,e.top),e.right=o(r.right,e.right),e.bottom=o(r.bottom,e.bottom),e.left=a(r.left,e.left),e},ye(t,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:xe,getElementRects:async function(e){const t=this.getOffsetParent||xe,n=this.getDimensions,r=await n(e.floating);return{reference:ve(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=se(e);return{width:t,height:n}},getScale:le,isElement:B,isRTL:function(e){return"rtl"===te(e).direction}};function ke(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}const Ee=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:a,middlewareData:s}=t,c=await async function(e,t){const{placement:n,platform:r,elements:i}=e,o=await(null==r.isRTL?void 0:r.isRTL(i.floating)),a=p(n),s=m(n),c="y"===b(n),l=R.has(a)?-1:1,u=o&&c?-1:1,f=h(t,e);let{mainAxis:d,crossAxis:y,alignmentAxis:g}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}
vendor: 5,735 bytes, line 2
2:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&"number"==typeof g&&(y="end"===s?-1*g:g),c?{x:y*u,y:d*l}:{x:d*l,y:y*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+c.x,y:o+c.y,data:{...c,placement:a}}}}},_e=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=h(e,t),l={x:n,y:r},u=await O(t,c),f=b(p(i)),m=y(f);let g=l[m],v=l[f];if(o){const e="y"===m?"bottom":"right";g=d(g+u["y"===m?"top":"left"],g,g-u[e])}if(a){const e="y"===f?"bottom":"right";v=d(v+u["y"===f?"top":"left"],v,v-u[e])}const w=s.fn({...t,[m]:g,[f]:v});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[m]:o,[f]:a}}}}}},Ce=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:a,initialPlacement:s,platform:c,elements:l}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:A=!0,...T}=h(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const P=p(i),M=b(s),I=p(s)===s,R=await(null==c.isRTL?void 0:c.isRTL(l.floating)),D=d||(I||!A?[C(s)]:function(e){const t=C(e);return[x(e),t,x(t)]}(s)),N="none"!==v;!d&&N&&D.push(...function(e,t,n,r){const i=m(e);let o=function(e,t,n){switch(e){case"top":case"bottom":return n?t?k:S:t?S:k;case"left":case"right":return t?E:_;default:return[]}}(p(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(x)))),o}(s,A,v,R));const j=[s,...D],F=await O(t,T),L=[];let B=(null==(r=o.flip)?void 0:r.overflows)||[];if(u&&L.push(F[P]),f){const e=function(e,t,n){void 0===n&&(n=!1);const r=m(e),i=w(e),o=g(i);let a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=C(a)),[a,C(a)]}(i,a,R);L.push(F[e[0]],F[e[1]])}if(B=[...B,{placement:i,overflows:L}],!L.every(e=>e<=0)){var z,V;const e=((null==(z=o.flip)?void 0:z.index)||0)+1,t=j[e];if(t&&("alignment"!==f||M===b(t)||B.every(e=>e.overflows[0]>0&&b(e.placement)===M)))return{data:{index:e,overflows:B},reset:{placement:t}};let n=null==(V=B.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:V.placement;if(!n)switch(y){case"bestFit":{var U;const e=null==(U=B.filter(e=>{if(N){const t=b(e.placement);return t===M||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:U[0];e&&(n=e);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}},Ae=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:s,platform:c,elements:l}=t,{apply:u=()=>{},...f}=h(e,t),d=await O(t,f),y=p(i),g=m(i),v="y"===b(i),{width:w,height:x}=s.floating;let S,k;"top"===y||"bottom"===y?(S=y,k=g===(await(null==c.isRTL?void 0:c.isRTL(l.floating))?"start":"end")?"left":"right"):(k=y,S="end"===g?"top":"bottom");const E=x-d.top-d.bottom,_=w-d.left-d.right,C=o(x-d[S],E),A=o(w-d[k],_),T=!t.middlewareData.shift;let P=C,M=A;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(M=_),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(P=E),T&&!g){const e=a(d.left,0),t=a(d.right,0),n=a(d.top,0),r=a(d.bottom,0);v?M=w-2*(0!==e||0!==t?e+t:a(d.left,d.right)):P=x-2*(0!==n||0!==r?n+r:a(d.top,d.bottom))}await u({...t,availableWidth:M,availableHeight:P});const I=await c.getDimensions(l.floating);return w!==I.width||x!==I.height?{reset:{rects:!0}}:{}}}},Te=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=h(e,t);switch(r){case"referenceHidden":{const e=M(await O(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:I(e)}}}case"escaped":{const e=M(await O(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:I(e)}}}default:return{}}}}},Pe=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:a,platform:s,elements:c,middlewareData:l}=t,{element:u,padding:f=0}=h(e,t)||{};if(null==u)return{};const p=A(f),y={x:n,y:r},v=w(i),b=g(v),x=await s.getDimensions(u),S="y"===v,k=S?"top":"left",E=S?"bottom":"right",_=S?"clientHeight":"clientWidth",C=a.reference[b]+a.reference[v]-y[v]-a.floating[b],T=y[v]-a.reference[v],P=await(null==s.getOffsetParent?void 0:s.getOffsetParent(u));let O=P?P[_]:0;O&&await(null==s.isElement?void 0:s.isElement(P))||(O=c.floating[_]||a.floating[b]);const M=C/2-T/2,I=O/2-x[b]/2-1,R=o(p[k],I),D=o(p[E],I),N=R,j=O-x[b]-D,F=O/2-x[b]/2+M,L=d(N,F,j),B=!l.arrow&&null!=m(i)&&F!==L&&a.reference[b]/2-(F<N?R:D)-x[b]/2<0,z=B?F<N?F-N:F-j:0;return{[v]:y[v]+z,data:{[v]:L,centerOffset:F-L-z,...B&&{alignmentOffset:z}},reset:B}}}),Oe=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:a}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=h(e,t),u={x:n,y:r},f=b(i),d=y(f);let m=u[d],g=u[f];const v=h(s,t),w="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(c){const e="y"===d?"height":"width",t=o.reference[d]-o.floating[e]+w.mainAxis,n=o.reference[d]+o.reference[e]-w.mainAxis;m<t?m=t:m>n&&(m=n)}if(l){var x,S;const e="y"===d?"width":"height",t=R.has(p(i)),n=o.reference[f]-o.floating[e]+(t&&(null==(x=a.offset)?void 0:x[f])||0)+(t?0:w.crossAxis),r=o.reference[f]+o.reference[e]+(t?0:(null==(S=a.offset)?void 0:S[f])||0)-(t?w.crossAxis:0);g<n?g=n:g>r&&(g=r)}return{[d]:m,[f]:g}}}},Me=(e,t,n)=>{const r=new Map,i={platform:Se,...n},o={...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}
vendor: 4,121 bytes, line 2
2=n,s=o.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:f}=P(l,r,c),d=r,h={},p=0;for(let n=0;n<s.length;n++){const{name:o,fn:m}=s[n],{x:y,y:g,data:v,reset:b}=await m({x:u,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:l,platform:a,elements:{reference:e,floating:t}});u=null!=y?y:u,f=null!=g?g:f,h={...h,[o]:{...h[o],...v}},b&&p<=50&&(p++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(l=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):b.rects),({x:u,y:f}=P(l,d,c))),n=-1)}return{x:u,y:f,placement:d,strategy:i,middlewareData:h}})(e,t,{...i,platform:o})};var Ie=n(40961),Re="undefined"!=typeof document?r.useLayoutEffect:function(){};function De(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!De(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!==r--;){const n=i[r];if(!("_owner"===n&&e.$$typeof||De(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function Ne(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function je(e,t){const n=Ne(e);return Math.round(t*n)/n}function Fe(e){const t=r.useRef(e);return Re(()=>{t.current=e}),t}const Le=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(i=n,{}.hasOwnProperty.call(i,"current"))?null!=n.current?Pe({element:n.current,padding:r}).fn(t):{}:n?Pe({element:n,padding:r}).fn(t):{};var i}}),Be=(e,t)=>({..._e(e),options:[e,t]}),ze=(e,t)=>({...Oe(e),options:[e,t]}),Ve=(e,t)=>({...Ce(e),options:[e,t]}),Ue=(e,t)=>({...Ae(e),options:[e,t]}),$e=(e,t)=>({...Te(e),options:[e,t]}),He=(e,t)=>({...Le(e),options:[e,t]});var qe=n(12579),We=n(74848),Ge=r.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...o}=e;return(0,We.jsx)(qe.sG.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,We.jsx)("polygon",{points:"0,0 30,0 15,10"})})});Ge.displayName="Arrow";var Ke=Ge,Qe=n(91071),Je=n(62133),Xe=n(10263),Ye=n(88200),Ze=n(31769),et="Popper",[tt,nt]=(0,Je.A)(et),[rt,it]=tt(et),ot=e=>{const{__scopePopper:t,children:n}=e,[i,o]=r.useState(null);return(0,We.jsx)(rt,{scope:t,anchor:i,onAnchorChange:o,children:n})};ot.displayName=et;var at="PopperAnchor",st=r.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:i,...o}=e,a=it(at,n),s=r.useRef(null),c=(0,Qe.s)(t,s);return r.useEffect(()=>{a.onAnchorChange(i?.current||s.current)}),i?null:(0,We.jsx)(qe.sG.div,{...o,ref:c})});st.displayName=at;var ct="PopperContent",[lt,ut]=tt(ct),ft=r.forwardRef((e,t)=>{const{__scopePopper:n,side:i="bottom",sideOffset:s=0,align:l="center",alignOffset:u=0,arrowPadding:f=0,avoidCollisions:d=!0,collisionBoundary:h=[],collisionPadding:p=0,sticky:m="partial",hideWhenDetached:y=!1,updatePositionStrategy:g="optimized",onPlaced:v,...b}=e,w=it(ct,n),[x,S]=r.useState(null),k=(0,Qe.s)(t,e=>S(e)),[E,_]=r.useState(null),C=(0,Ze.X)(E),A=C?.width??0,T=C?.height??0,P=i+("center"!==l?"-"+l:""),O="number"==typeof p?p:{top:0,right:0,bottom:0,left:0,...p},M=Array.isArray(h)?h:[h],I=M.length>0,R={padding:O,boundary:M.filter(mt),altBoundary:I},{refs:D,floatingStyles:N,placement:j,isPositioned:L,middlewareData:B}=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:o,elements:{reference:a,floating:s}={},transform:c=!0,whileElementsMounted:l,open:u}=e,[f,d]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=r.useState(i);De(h,i)||p(i);const[m,y]=r.useState(null),[g,v]=r.useState(null),b=r.useCallback(e=>{e!==k.current&&(k.current=e,y(e))},[]),w=r.useCallback(e=>{e!==E.current&&(E.current=e,v(e))},[]),x=a||m,S=s||g,k=r.useRef(null),E=r.useRef(null),_=r.useRef(f),C=null!=l,A=Fe(l),T=Fe(o),P=Fe(u),O=r.useCallback(()=>
vendor: 4,245 bytes, line 2
2{if(!k.current||!E.current)return;const e={placement:t,strategy:n,middleware:h};T.current&&(e.platform=T.current),Me(k.current,E.current,e).then(e=>{const t={...e,isPositioned:!1!==P.current};M.current&&!De(_.current,t)&&(_.current=t,Ie.flushSync(()=>{d(t)}))})},[h,t,n,T,P]);Re(()=>{!1===u&&_.current.isPositioned&&(_.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[u]);const M=r.useRef(!1);Re(()=>(M.current=!0,()=>{M.current=!1}),[]),Re(()=>{if(x&&(k.current=x),S&&(E.current=S),x&&S){if(A.current)return A.current(x,S,O);O()}},[x,S,O,A,C]);const I=r.useMemo(()=>({reference:k,floating:E,setReference:b,setFloating:w}),[b,w]),R=r.useMemo(()=>({reference:x,floating:S}),[x,S]),D=r.useMemo(()=>{const e={position:n,left:0,top:0};if(!R.floating)return e;const t=je(R.floating,f.x),r=je(R.floating,f.y);return c?{...e,transform:"translate("+t+"px, "+r+"px)",...Ne(R.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,c,R.floating,f.x,f.y]);return r.useMemo(()=>({...f,update:O,refs:I,elements:R,floatingStyles:D}),[f,O,I,R,D])}({strategy:"fixed",placement:P,whileElementsMounted:(...e)=>function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,d=ce(e),h=i||s?[...d?oe(d):[],...oe(t)]:[];h.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});const p=d&&u?function(e,t){let n,r=null;const i=F(e);function s(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function l(u,f){void 0===u&&(u=!1),void 0===f&&(f=1),s();const d=e.getBoundingClientRect(),{left:h,top:p,width:m,height:y}=d;if(u||t(),!m||!y)return;const g={rootMargin:-c(p)+"px "+-c(i.clientWidth-(h+m))+"px "+-c(i.clientHeight-(p+y))+"px "+-c(h)+"px",threshold:a(0,o(1,f))||1};let v=!0;function b(t){const r=t[0].intersectionRatio;if(r!==f){if(!v)return l();r?l(!1,r):n=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==r||ke(d,e.getBoundingClientRect())||l(),v=!1}try{r=new IntersectionObserver(b,{...g,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(b,g)}r.observe(e)}(!0),s}(d,n):null;let m,y=-1,g=null;l&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===d&&g&&(g.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),d&&!f&&g.observe(d),g.observe(t));let v=f?de(e):null;return f&&function t(){const r=de(e);v&&!ke(v,r)&&n(),v=r,m=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{i&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==p||p(),null==(e=g)||e.disconnect(),g=null,f&&cancelAnimationFrame(m)}}(...e,{animationFrame:"always"===g}),elements:{reference:w.anchor},middleware:[(z={mainAxis:s+T,alignmentAxis:u},{...Ee(z),options:[z,void 0]}),d&&Be({mainAxis:!0,crossAxis:!1,limiter:"partial"===m?ze():void 0,...R}),d&&Ve({...R}),Ue({...R,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:i,height:o}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${i}px`),a.setProperty("--radix-popper-anchor-height",`${o}px`)}}),E&&He({element:E,padding:f}),yt({arrowWidth:A,arrowHeight:T}),y&&$e({strategy:"referenceHidden",...R})]});var z;const[V,U]=gt(j),$=(0,Xe.c)(v);(0,Ye.N)(()=>{L&&$?.()},[L,$]);const H=B.arrow?.x,q=B.arrow?.y,W=0!==B.arrow?.centerOffset,[G,K]=r.useState();return(0,Ye.N)(()=>{x&&K(window.getComputedStyle(x).zIndex)},[x]),(0,We.jsx)("div",{ref:D.setFloating,"data-radix-popper-content-wrapper":"",style:{...N,transform:L?N.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:G,"--radix-popper-transform-origin":[B.transformOrigin?.x,B.transformOrigin?.y].join(" "),...B.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,We.jsx)(lt,{scope:n,placedSide:V,onArrowChange:_,arrowX:H,arrowY:q,shouldHideArrow:W,children:(0,We.jsx)(qe.sG.div,{"data-side":V,"data-align":U,...b,ref:k,style:{...b.style,animation:L?void 0:"none"}})})})});ft.displayName=ct;var dt="PopperArrow",ht={top:"bottom",right:"left",bottom:"top",left:"r
2ight"},pt=r.forwardRef(function(e,t){const{__scopePopper:n,...r}=e,i=ut(dt,n),o=ht[i.placedSide];return(0,We.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,We.jsx)(Ke,{...r,ref:t,style:{...r.style,display:"block"}})})});function mt(e){return null!==e}pt.displayName=dt;var yt=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:i}=t,o=0!==i.arrow?.centerOffset,a=o?0:e.arrowWidth,s=o?0:e.arrowHeight,[c,l]=gt(n),u={start:"0%",center:"50%",end:"100%"}[l],f=(i.arrow?.x??0)+a/2,d=(i.arrow?.y??0)+s/2;let h="",p="";return"bottom"===c?(h=o?u:`${f}px`,p=-s+"px"):"top"===c?(h=o?u:`${f}px`,p=`${r.floating.height+s}px`):"right"===c?(h=-s+"px",p=o?u:`${d}px`):"left"===c&&(h=`${r.floating.width+s}px`,p=o?u:`${d}px`),{data:{x:h,y:p}}}});function gt(e){const[t,n="center"]=e.split("-");return[t,n]}var vt=ot,bt=st,wt=ft,xt=pt},13656(e,t,n){"use strict";n.d(t,{Z:()=>c});var r=n(96540),i=n(40961),o=n(12579),a=n(88200),s=n(74848),c=r.forwardRef((e,t)=>{const{container:n,...c}=e,[l,u]=r.useState(!1);(0,a.N)(()=>u(!0),[]);const f=n||l&&globalThis?.document?.body;return f?i.createPortal((0,s.jsx)(o.sG.div,{...c,ref:t}),f):null});c.displayName="Portal"},7971(e,t,n){"use strict";n.d(t,{C:()=>a});var r=n(96540),i=n(91071),o=n(88200),a=e=>{const{present:t,children:n}=e,a=function(e){const[t,n]=r.useState(),i=r.useRef(null),a=r.useRef(e),c=r.useRef("none"),l=e?"mounted":"unmounted",[u,f]=function(e,t){return r.useReducer((e,n)=>t[e][n]??e,e)}(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return r.useEffect(()=>{const e=s(i.current);c.current="mounted"===u?e:"none"},[u]),(0,o.N)(()=>{const t=i.current,n=a.current;if(n!==e){const r=c.current,i=s(t);f(e?"MOUNT":"none"===i||"none"===t?.display?"UNMOUNT":n&&r!==i?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,f]),(0,o.N)(()=>{if(t){let e;const n=t.ownerDocument.defaultView??window,r=r=>{const o=s(i.current).includes(r.animationName);if(r.target===t&&o&&(f("ANIMATION_END"),!a.current)){const r=t.style.animationFillMode;t.style.animationFillMode="forwards",e=n.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=r)})}},o=e=>{e.target===t&&(c.current=s(i.current))};return t.addEventListener("animationstart",o),t.addEventListener("animationcancel",r),t.addEventListener("animationend",r),()=>{n.clearTimeout(e),t.removeEventListener("animationstart",o),t.removeEventListener("animationcancel",r),t.removeEventListener("animationend",r)}}f("ANIMATION_END")},[t,f]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:r.useCallback(e=>{i.current=e?getComputedStyle(e):null,n(e)},[])}}(t),c="function"==typeof n?n({present:a.isPresent}):r.Children.only(n),l=(0,i.s)(a.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(c));return"function"==typeof n||a.isPresent?r.cloneElement(c,{ref:l}):null};function s(e){return e?.animationName||"none"}a.displayName="Presence"},12579(e,t,n){"use strict";n.d(t,{hO:()=>c,sG:()=>s});var r=n(96540),i=n(40961),o=n(33362),a=n(74848),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{const n=(0,o.TL)(`Primitive.${t}`),i=r.forwardRef((e,r)=>{const{asChild:i,...o}=e,s=i?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(s,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function c(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},86669(e,t,n){"use strict";n.d(t,{C1:()=>x,bL:()=>w});var r=n(96540),i=n(62133),o=n(12579),a=n(74848),s="Progress",[c,l]=(0,i.A)(s),[u,f]=c(s),d=r.forwardRef((e,t)=>
vendor: 4,474 bytes, line 2
2{const{__scopeProgress:n,value:r=null,max:i,getValueLabel:s=m,...c}=e;!i&&0!==i||v(i)||console.error(`Invalid prop \`max\` of value \`${i}\` supplied to \`Progress\`. Only numbers greater than 0 are valid max values. Defaulting to \`100\`.`);const l=v(i)?i:100;null===r||b(r,l)||console.error(`Invalid prop \`value\` of value \`${`${r}`}\` supplied to \`Progress\`. The \`value\` prop must be:\n - a positive number\n - less than the value passed to \`max\` (or 100 if no \`max\` prop is set)\n - \`null\` or \`undefined\` if the progress is indeterminate.\n\nDefaulting to \`null\`.`);const f=b(r,l)?r:null,d=g(f)?s(f,l):void 0;return(0,a.jsx)(u,{scope:n,value:f,max:l,children:(0,a.jsx)(o.sG.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":g(f)?f:void 0,"aria-valuetext":d,role:"progressbar","data-state":y(f,l),"data-value":f??void 0,"data-max":l,...c,ref:t})})});d.displayName=s;var h="ProgressIndicator",p=r.forwardRef((e,t)=>{const{__scopeProgress:n,...r}=e,i=f(h,n);return(0,a.jsx)(o.sG.div,{"data-state":y(i.value,i.max),"data-value":i.value??void 0,"data-max":i.max,...r,ref:t})});function m(e,t){return`${Math.round(e/t*100)}%`}function y(e,t){return null==e?"indeterminate":e===t?"complete":"loading"}function g(e){return"number"==typeof e}function v(e){return g(e)&&!isNaN(e)&&e>0}function b(e,t){return g(e)&&!isNaN(e)&&e<=t&&e>=0}p.displayName=h;var w=d,x=p},73301(e,t,n){"use strict";n.d(t,{C1:()=>se,q7:()=>ae,bL:()=>oe});var r=n(96540);function i(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}"undefined"==typeof window||!window.document||window.document.createElement;var o=n(91071),a=n(62133),s=n(12579),c=n(16214),l=n(18723),u=n(10263),f=n(81351),d=n(71427),h=n(74848),p="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},y="RovingFocusGroup",[g,v,b]=(0,c.N)(y),[w,x]=(0,a.A)(y,[b]),[S,k]=w(y),E=r.forwardRef((e,t)=>(0,h.jsx)(g.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,h.jsx)(g.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,h.jsx)(_,{...e,ref:t})})}));E.displayName=y;var _=r.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:a,loop:c=!1,dir:l,currentTabStopId:g,defaultCurrentTabStopId:b,onCurrentTabStopIdChange:w,onEntryFocus:x,preventScrollOnEntryFocus:k=!1,...E}=e,_=r.useRef(null),C=(0,o.s)(t,_),A=(0,d.jH)(l),[T,O]=(0,f.i)({prop:g,defaultProp:b??null,onChange:w,caller:y}),[M,I]=r.useState(!1),R=(0,u.c)(x),D=v(n),N=r.useRef(!1),[j,F]=r.useState(0);return r.useEffect(()=>{const e=_.current;if(e)return e.addEventListener(p,R),()=>e.removeEventListener(p,R)},[R]),(0,h.jsx)(S,{scope:n,orientation:a,dir:A,loop:c,currentTabStopId:T,onItemFocus:r.useCallback(e=>O(e),[O]),onItemShiftTab:r.useCallback(()=>I(!0),[]),onFocusableItemAdd:r.useCallback(()=>F(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>F(e=>e-1),[]),children:(0,h.jsx)(s.sG.div,{tabIndex:M||0===j?-1:0,"data-orientation":a,...E,ref:C,style:{outline:"none",...e.style},onMouseDown:i(e.onMouseDown,()=>{N.current=!0}),onFocus:i(e.onFocus,e=>{const t=!N.current;if(e.target===e.currentTarget&&t&&!M){const t=new CustomEvent(p,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=D().filter(e=>e.focusable);P([e.find(e=>e.active),e.find(e=>e.id===T),...e].filter(Boolean).map(e=>e.ref.current),k)}}N.current=!1}),onBlur:i(e.onBlur,()=>I(!1))})})}),C="RovingFocusGroupItem",A=r.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:o=!0,active:a=!1,tabStopId:c,children:u,...f}=e,d=(0,l.B)(),p=c||d,m=k(C,n),y=m.currentTabStopId===p,b=v(n),{onFocusableItemAdd:w,onFocusableItemRemove:x,currentTabStopId:S}=m;return r.useEffect(()=>{if(o)return w(),()=>x()},[o,w,x]),(0,h.jsx)(g.ItemSlot,{scope:n,id:p,focusable:o,active:a,children:(0,h.jsx)(s.sG.span,{tabIndex:y?0:-1,"data-orientation":m.orientation,...f,ref:t,onMouseDown:i(e.onMouseDown,e=>{o?m.onItemFocus(p):e.preventDefault()}),onFocus:i(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:i(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)?void 0:T[r]}(e,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=b().filter(e=>
2e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){"prev"===t&&i.reverse();const o=i.indexOf(e.currentTarget);i=m.loop?(r=o+1,(n=i).map((e,t)=>n[(r+t)%n.length])):i.slice(o+1)}setTimeout(()=>P(i))}var n,r}),children:"function"==typeof u?u({isCurrentTabStop:y,hasTabStop:null!=S}):u})})});A.displayName=C;var T={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function P(e,t=!1){const n=document.activeElement;for(const r of e){if(r===n)return;if(r.focus({preventScroll:t}),document.activeElement!==n)return}}var O=E,M=A,I=n(31769),R=n(85357),D=n(88200),N=e=>{const{present:t,children:n}=e,i=function(e){const[t,n]=r.useState(),i=r.useRef(null),o=r.useRef(e),a=r.useRef("none"),s=e?"mounted":"unmounted",[c,l]=function(e,t){return r.useReducer((e,n)=>t[e][n]??e,e)}(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return r.useEffect(()=>{const e=j(i.current);a.current="mounted"===c?e:"none"},[c]),(0,D.N)(()=>{const t=i.current,n=o.current;if(n!==e){const r=a.current,i=j(t);l(e?"MOUNT":"none"===i||"none"===t?.display?"UNMOUNT":n&&r!==i?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),(0,D.N)(()=>{if(t){let e;const n=t.ownerDocument.defaultView??window,r=r=>{const a=j(i.current).includes(CSS.escape(r.animationName));if(r.target===t&&a&&(l("ANIMATION_END"),!o.current)){const r=t.style.animationFillMode;t.style.animationFillMode="forwards",e=n.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=r)})}},s=e=>{e.target===t&&(a.current=j(i.current))};return t.addEventListener("animationstart",s),t.addEventListener("animationcancel",r),t.addEventListener("animationend",r),()=>{n.clearTimeout(e),t.removeEventListener("animationstart",s),t.removeEventListener("animationcancel",r),t.removeEventListener("animationend",r)}}l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:r.useCallback(e=>{i.current=e?getComputedStyle(e):null,n(e)},[])}}(t),a="function"==typeof n?n({present:i.isPresent}):r.Children.only(n),s=(0,o.s)(i.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(a));return"function"==typeof n||i.isPresent?r.cloneElement(a,{ref:s}):null};function j(e){return e?.animationName||"none"}N.displayName="Presence";var F="Radio",[L,B]=(0,a.A)(F),[z,V]=L(F),U=r.forwardRef((e,t)=>{const{__scopeRadio:n,name:a,checked:c=!1,required:l,disabled:u,value:f="on",onCheck:d,form:p,...m}=e,[y,g]=r.useState(null),v=(0,o.s)(t,e=>g(e)),b=r.useRef(!1),w=!y||p||!!y.closest("form");return(0,h.jsxs)(z,{scope:n,checked:c,disabled:u,children:[(0,h.jsx)(s.sG.button,{type:"button",role:"radio","aria-checked":c,"data-state":W(c),"data-disabled":u?"":void 0,disabled:u,value:f,...m,ref:v,onClick:i(e.onClick,e=>{c||d?.(),w&&(b.current=e.isPropagationStopped(),b.current||e.stopPropagation())})}),w&&(0,h.jsx)(q,{control:y,bubbles:!b.current,name:a,value:f,checked:c,required:l,disabled:u,form:p,style:{transform:"translateX(-100%)"}})]})});U.displayName=F;var $="RadioIndicator",H=r.forwardRef((e,t)=>{const{__scopeRadio:n,forceMount:r,...i}=e,o=V($,n);return(0,h.jsx)(N,{present:r||o.checked,children:(0,h.jsx)(s.sG.span,{"data-state":W(o.checked),"data-disabled":o.disabled?"":void 0,...i,ref:t})})});H.displayName=$;var q=r.forwardRef(({__scopeRadio:e,control:t,checked:n,bubbles:i=!0,...a},c)=>{const l=r.useRef(null),u=(0,o.s)(l,c),f=(0,R.Z)(n),d=(0,I.X)(t);return r.useEffect(()=>{const e=l.current;if(!e)return;const t=window.HTMLInputElement.prototype,r=Object.getOwnPropertyDescriptor(t,"checked").set;if(f!==n&&r){const t=new Event("click",{bubbles:i});r.call(e,n),e.dispatchEvent(t)}},[f,n,i]),(0,h.jsx)(s.sG.input,{type:"radio","aria-hidden":!0,defaultChecked:n,...a,tabIndex:-1,ref:u,style:{...a.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function W(e){return e?"checked":"unchecked"}q.displayName="RadioBubbleInput";var G=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],K="RadioGroup",[Q,J]=(0,a.A)(K,[x,B]),X=x(),Y=B(),[Z,ee]=Q(K),te=r.forwardRef((e,t)=>
2{const{__scopeRadioGroup:n,name:r,defaultValue:i,value:o,required:a=!1,disabled:c=!1,orientation:l,dir:u,loop:p=!0,onValueChange:m,...y}=e,g=X(n),v=(0,d.jH)(u),[b,w]=(0,f.i)({prop:o,defaultProp:i??null,onChange:m,caller:K});return(0,h.jsx)(Z,{scope:n,name:r,required:a,disabled:c,value:b,onValueChange:w,children:(0,h.jsx)(O,{asChild:!0,...g,orientation:l,dir:v,loop:p,children:(0,h.jsx)(s.sG.div,{role:"radiogroup","aria-required":a,"aria-orientation":l,"data-disabled":c?"":void 0,dir:v,...y,ref:t})})})});te.displayName=K;var ne="RadioGroupItem",re=r.forwardRef((e,t)=>{const{__scopeRadioGroup:n,disabled:a,...s}=e,c=ee(ne,n),l=c.disabled||a,u=X(n),f=Y(n),d=r.useRef(null),p=(0,o.s)(t,d),m=c.value===s.value,y=r.useRef(!1);return r.useEffect(()=>{const e=e=>{G.includes(e.key)&&(y.current=!0)},t=()=>y.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,h.jsx)(M,{asChild:!0,...u,focusable:!l,active:m,children:(0,h.jsx)(U,{disabled:l,required:c.required,checked:m,...f,...s,name:c.name,ref:p,onCheck:()=>c.onValueChange(s.value),onKeyDown:i(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:i(s.onFocus,()=>{y.current&&d.current?.click()})})})});re.displayName=ne;var ie=r.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...r}=e,i=Y(n);return(0,h.jsx)(H,{...i,...r,ref:t})});ie.displayName="RadioGroupIndicator";var oe=te,ae=re,se=ie},76278(e,t,n){"use strict";n.d(t,{RG:()=>x,bL:()=>O,q7:()=>M});var r=n(96540),i=n(9957),o=n(16214),a=n(91071),s=n(62133),c=n(18723),l=n(12579),u=n(10263),f=n(81351),d=n(71427),h=n(74848),p="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},y="RovingFocusGroup",[g,v,b]=(0,o.N)(y),[w,x]=(0,s.A)(y,[b]),[S,k]=w(y),E=r.forwardRef((e,t)=>(0,h.jsx)(g.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,h.jsx)(g.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,h.jsx)(_,{...e,ref:t})})}));E.displayName=y;var _=r.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:o,loop:s=!1,dir:c,currentTabStopId:g,defaultCurrentTabStopId:b,onCurrentTabStopIdChange:w,onEntryFocus:x,preventScrollOnEntryFocus:k=!1,...E}=e,_=r.useRef(null),C=(0,a.s)(t,_),A=(0,d.jH)(c),[T,O]=(0,f.i)({prop:g,defaultProp:b??null,onChange:w,caller:y}),[M,I]=r.useState(!1),R=(0,u.c)(x),D=v(n),N=r.useRef(!1),[j,F]=r.useState(0);return r.useEffect(()=>{const e=_.current;if(e)return e.addEventListener(p,R),()=>e.removeEventListener(p,R)},[R]),(0,h.jsx)(S,{scope:n,orientation:o,dir:A,loop:s,currentTabStopId:T,onItemFocus:r.useCallback(e=>O(e),[O]),onItemShiftTab:r.useCallback(()=>I(!0),[]),onFocusableItemAdd:r.useCallback(()=>F(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>F(e=>e-1),[]),children:(0,h.jsx)(l.sG.div,{tabIndex:M||0===j?-1:0,"data-orientation":o,...E,ref:C,style:{outline:"none",...e.style},onMouseDown:(0,i.m)(e.onMouseDown,()=>{N.current=!0}),onFocus:(0,i.m)(e.onFocus,e=>{const t=!N.current;if(e.target===e.currentTarget&&t&&!M){const t=new CustomEvent(p,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=D().filter(e=>e.focusable);P([e.find(e=>e.active),e.find(e=>e.id===T),...e].filter(Boolean).map(e=>e.ref.current),k)}}N.current=!1}),onBlur:(0,i.m)(e.onBlur,()=>I(!1))})})}),C="RovingFocusGroupItem",A=r.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:o=!0,active:a=!1,tabStopId:s,children:u,...f}=e,d=(0,c.B)(),p=s||d,m=k(C,n),y=m.currentTabStopId===p,b=v(n),{onFocusableItemAdd:w,onFocusableItemRemove:x,currentTabStopId:S}=m;return r.useEffect(()=>{if(o)return w(),()=>x()},[o,w,x]),(0,h.jsx)(g.ItemSlot,{scope:n,id:p,focusable:o,active:a,children:(0,h.jsx)(l.sG.span,{tabIndex:y?0:-1,"data-orientation":m.orientation,...f,ref:t,onMouseDown:(0,i.m)(e.onMouseDown,e=>{o?m.onItemFocus(p):e.preventDefault()}),onFocus:(0,i.m)(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:(0,i.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)?void 0:T[r]}(e,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=b().filter(e=>
2e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){"prev"===t&&i.reverse();const o=i.indexOf(e.currentTarget);i=m.loop?(r=o+1,(n=i).map((e,t)=>n[(r+t)%n.length])):i.slice(o+1)}setTimeout(()=>P(i))}var n,r}),children:"function"==typeof u?u({isCurrentTabStop:y,hasTabStop:null!=S}):u})})});A.displayName=C;var T={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function P(e,t=!1){const n=document.activeElement;for(const r of e){if(r===n)return;if(r.focus({preventScroll:t}),document.activeElement!==n)return}}var O=E,M=A},33362(e,t,n){"use strict";n.d(t,{DX:()=>s,Dc:()=>u,TL:()=>a});var r=n(96540),i=n(91071),o=n(74848);function a(e){const t=c(e),n=r.forwardRef((e,n)=>{const{children:i,...a}=e,s=r.Children.toArray(i),c=s.find(f);if(c){const e=c.props.children,i=s.map(t=>t===c?r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null:t);return(0,o.jsx)(t,{...a,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,o.jsx)(t,{...a,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}var s=a("Slot");function c(e){const t=r.forwardRef((e,t)=>{const{children:n,...o}=e;if(r.isValidElement(n)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(n),a=function(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{const t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==r.Fragment&&(a.ref=t?(0,i.t)(t,e):e),r.cloneElement(n,a)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var l=Symbol("radix.slottable");function u(e){const t=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=l,t}function f(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}},44514(e,t,n){"use strict";n.d(t,{B8:()=>P,UC:()=>M,bL:()=>T,l9:()=>O});var r=n(96540),i=n(9957),o=n(62133),a=n(76278),s=n(7971),c=n(12579),l=n(71427),u=n(81351),f=n(18723),d=n(74848),h="Tabs",[p,m]=(0,o.A)(h,[a.RG]),y=(0,a.RG)(),[g,v]=p(h),b=r.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:i,defaultValue:o,orientation:a="horizontal",dir:s,activationMode:p="automatic",...m}=e,y=(0,l.jH)(s),[v,b]=(0,u.i)({prop:r,onChange:i,defaultProp:o??"",caller:h});return(0,d.jsx)(g,{scope:n,baseId:(0,f.B)(),value:v,onValueChange:b,orientation:a,dir:y,activationMode:p,children:(0,d.jsx)(c.sG.div,{dir:y,"data-orientation":a,...m,ref:t})})});b.displayName=h;var w="TabsList",x=r.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...i}=e,o=v(w,n),s=y(n);return(0,d.jsx)(a.bL,{asChild:!0,...s,orientation:o.orientation,dir:o.dir,loop:r,children:(0,d.jsx)(c.sG.div,{role:"tablist","aria-orientation":o.orientation,...i,ref:t})})});x.displayName=w;var S="TabsTrigger",k=r.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...s}=e,l=v(S,n),u=y(n),f=C(l.baseId,r),h=A(l.baseId,r),p=r===l.value;return(0,d.jsx)(a.q7,{asChild:!0,...u,focusable:!o,active:p,children:(0,d.jsx)(c.sG.button,{type:"button",role:"tab","aria-selected":p,"aria-controls":h,"data-state":p?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:f,...s,ref:t,onMouseDown:(0,i.m)(e.onMouseDown,e=>{o||0!==e.button||!1!==e.ctrlKey?e.preventDefault():l.onValueChange(r)}),onKeyDown:(0,i.m)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&l.onValueChange(r)}),onFocus:(0,i.m)(e.onFocus,()=>{const e="manual"!==l.activationMode;p||o||!e||l.onValueChange(r)})})})});k.displayName=S;var E="TabsContent",_=r.forwardRef((e,t)=>{const{__scopeTabs:n,value:i,forceMount:o,children:a,...l}=e,u=v(E,n),f=C(u.baseId,i),h=A(u.baseId,i),p=i===u.value,m=r.useRef(p);return r.useEffect(()=>{const e=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,d.jsx)(s.C,{present:o||p,children:({present:n})=>(0,d.jsx)(c.sG.div,{"data-state":p?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":f,hidden:!n,id:h,tabIndex:0,...l,ref:t,style:{...e.style,animationDuration:m.current?"0s":void 0},children:n&&a})})});function C(e,t){return`${e}-trigger-${t}`}function A(e,t){return`${e}-content-${t}`}_.displayName=E;var T=b,P=x,O=k,M=_}
2,9636(e,t,n){"use strict";n.d(t,{i3:()=>K,ZL:()=>G,m_:()=>M,ZI:()=>B,Bc:()=>A,k$:()=>R});var r=n(96540),i=n(9957),o=n(91071),a=n(62133),s=n(45056),c=n(18723),l=n(69139),u=n(13656),f=n(7971),d=n(12579),h=n(33362),p=n(81351),m=n(74848),y=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),g=r.forwardRef((e,t)=>(0,m.jsx)(d.sG.span,{...e,ref:t,style:{...y,...e.style}}));g.displayName="VisuallyHidden";var v=g,[b,w]=(0,a.A)("Tooltip",[l.Bk]),x=(0,l.Bk)(),S="TooltipProvider",k=700,E="tooltip.open",[_,C]=b(S),A=e=>{const{__scopeTooltip:t,delayDuration:n=k,skipDelayDuration:i=300,disableHoverableContent:o=!1,children:a}=e,s=r.useRef(!0),c=r.useRef(!1),l=r.useRef(0);return r.useEffect(()=>{const e=l.current;return()=>window.clearTimeout(e)},[]),(0,m.jsx)(_,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:r.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:r.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,i)},[i]),isPointerInTransitRef:c,onPointerInTransitChange:r.useCallback(e=>{c.current=e},[]),disableHoverableContent:o,children:a})};A.displayName=S;var T="Tooltip",[P,O]=b(T),M=e=>{const{__scopeTooltip:t,children:n,open:i,defaultOpen:o,onOpenChange:a,disableHoverableContent:s,delayDuration:u}=e,f=C(T,e.__scopeTooltip),d=x(t),[h,y]=r.useState(null),g=(0,c.B)(),v=r.useRef(0),b=s??f.disableHoverableContent,w=u??f.delayDuration,S=r.useRef(!1),[k,_]=(0,p.i)({prop:i,defaultProp:o??!1,onChange:e=>{e?(f.onOpen(),document.dispatchEvent(new CustomEvent(E))):f.onClose(),a?.(e)},caller:T}),A=r.useMemo(()=>k?S.current?"delayed-open":"instant-open":"closed",[k]),O=r.useCallback(()=>{window.clearTimeout(v.current),v.current=0,S.current=!1,_(!0)},[_]),M=r.useCallback(()=>{window.clearTimeout(v.current),v.current=0,_(!1)},[_]),I=r.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>{S.current=!0,_(!0),v.current=0},w)},[w,_]);return r.useEffect(()=>()=>{v.current&&(window.clearTimeout(v.current),v.current=0)},[]),(0,m.jsx)(l.bL,{...d,children:(0,m.jsx)(P,{scope:t,contentId:g,open:k,stateAttribute:A,trigger:h,onTriggerChange:y,onTriggerEnter:r.useCallback(()=>{f.isOpenDelayedRef.current?I():O()},[f.isOpenDelayedRef,I,O]),onTriggerLeave:r.useCallback(()=>{b?M():(window.clearTimeout(v.current),v.current=0)},[M,b]),onOpen:O,onClose:M,disableHoverableContent:b,children:n})})};M.displayName=T;var I="TooltipTrigger",R=r.forwardRef((e,t)=>{const{__scopeTooltip:n,...a}=e,s=O(I,n),c=C(I,n),u=x(n),f=r.useRef(null),h=(0,o.s)(t,f,s.onTriggerChange),p=r.useRef(!1),y=r.useRef(!1),g=r.useCallback(()=>p.current=!1,[]);return r.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),(0,m.jsx)(l.Mz,{asChild:!0,...u,children:(0,m.jsx)(d.sG.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...a,ref:h,onPointerMove:(0,i.m)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(y.current||c.isPointerInTransitRef.current||(s.onTriggerEnter(),y.current=!0))}),onPointerLeave:(0,i.m)(e.onPointerLeave,()=>{s.onTriggerLeave(),y.current=!1}),onPointerDown:(0,i.m)(e.onPointerDown,()=>{s.open&&s.onClose(),p.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:(0,i.m)(e.onFocus,()=>{p.current||s.onOpen()}),onBlur:(0,i.m)(e.onBlur,s.onClose),onClick:(0,i.m)(e.onClick,s.onClose)})})});R.displayName=I;var D="TooltipPortal",[N,j]=b(D,{forceMount:void 0}),F=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,o=O(D,t);return(0,m.jsx)(N,{scope:t,forceMount:n,children:(0,m.jsx)(f.C,{present:n||o.open,children:(0,m.jsx)(u.Z,{asChild:!0,container:i,children:r})})})};F.displayName=D;var L="TooltipContent",B=r.forwardRef((e,t)=>{const n=j(L,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,a=O(L,e.__scopeTooltip);return(0,m.jsx)(f.C,{present:r||a.open,children:a.disableHoverableContent?(0,m.jsx)(H,{side:i,...o,ref:t}):(0,m.jsx)(z,{side:i,...o,ref:t})})}),z=r.forwardRef((e,t)=>{const n=O(L,e.__scopeTooltip),i=C(L,e.__scopeTooltip),a=r.useRef(null),s=(0,o.s)(t,a),[c,l]=r.useState(null),{trigger:u,onClose:f}=n,d=a.current,{onPointerInTransitChange:h}=i,p=r.useCallback(()=>
vendor: 4,299 bytes, line 2
2{l(null),h(!1)},[h]),y=r.useCallback((e,t)=>{const n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=function(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,function(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}(r,n.getBoundingClientRect())),o=function(e){const t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const r=e[n];for(;t.length>=2;){const e=t[t.length-1],n=t[t.length-2];if(!((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x)))break;t.pop()}t.push(r)}t.pop();const n=[];for(let t=e.length-1;t>=0;t--){const r=e[t];for(;n.length>=2;){const e=n[n.length-1],t=n[n.length-2];if(!((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x)))break;n.pop()}n.push(r)}return n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}(t)}([...i,...function(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}(t.getBoundingClientRect())]);l(o),h(!0)},[h]);return r.useEffect(()=>()=>p(),[p]),r.useEffect(()=>{if(u&&d){const e=e=>y(e,d),t=e=>y(e,u);return u.addEventListener("pointerleave",e),d.addEventListener("pointerleave",t),()=>{u.removeEventListener("pointerleave",e),d.removeEventListener("pointerleave",t)}}},[u,d,y,p]),r.useEffect(()=>{if(c){const e=e=>{const t=e.target,n={x:e.clientX,y:e.clientY},r=u?.contains(t)||d?.contains(t),i=!function(e,t){const{x:n,y:r}=e;let i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){const a=t[e],s=t[o],c=a.x,l=a.y,u=s.x,f=s.y;l>r!=f>r&&n<(u-c)*(r-l)/(f-l)+c&&(i=!i)}return i}(n,c);r?p():i&&(p(),f())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[u,d,c,f,p]),(0,m.jsx)(H,{...e,ref:s})}),[V,U]=b(T,{isInside:!1}),$=(0,h.Dc)("TooltipContent"),H=r.forwardRef((e,t)=>{const{__scopeTooltip:n,children:i,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:c,...u}=e,f=O(L,n),d=x(n),{onClose:h}=f;return r.useEffect(()=>(document.addEventListener(E,h),()=>document.removeEventListener(E,h)),[h]),r.useEffect(()=>{if(f.trigger){const e=e=>{const t=e.target;t?.contains(f.trigger)&&h()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[f.trigger,h]),(0,m.jsx)(s.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:h,children:(0,m.jsxs)(l.UC,{"data-state":f.stateAttribute,...d,...u,ref:t,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,m.jsx)($,{children:i}),(0,m.jsx)(V,{scope:n,isInside:!0,children:(0,m.jsx)(v,{id:f.contentId,role:"tooltip",children:o||i})})]})})});B.displayName=L;var q="TooltipArrow",W=r.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=x(n);return U(q,n).isInside?null:(0,m.jsx)(l.i3,{...i,...r,ref:t})});W.displayName=q;var G=F,K=W},10263(e,t,n){"use strict";n.d(t,{c:()=>i});var r=n(96540);function i(e){const t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},81351(e,t,n){"use strict";let r;n.d(t,{i:()=>s});var i=n(96540),o=n(88200),a=(r||(r=n.t(i,2)))[" useInsertionEffect ".trim().toString()]||o.N;function s({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,c]=function({defaultProp:e,onChange:t}){const[n,r]=i.useState(e),o=i.useRef(n),s=i.useRef(t);return a(()=>{s.current=t},[t]),i.useEffect(()=>{o.current!==n&&(s.current?.(n),o.current=n)},[n,o]),[n,r,s]}({defaultProp:t,onChange:n}),l=void 0!==e,u=l?e:o;
2{const t=i.useRef(void 0!==e);i.useEffect(()=>{const e=t.current;if(e!==l){const t=e?"controlled":"uncontrolled",n=l?"controlled":"uncontrolled";console.warn(`${r} is changing from ${t} to ${n}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=l},[l,r])}const f=i.useCallback(t=>{if(l){const n=function(e){return"function"==typeof e}(t)?t(e):t;n!==e&&c.current?.(n)}else s(t)},[l,e,s,c]);return[u,f]}Symbol("RADIX:SYNC_STATE")},88200(e,t,n){"use strict";n.d(t,{N:()=>i});var r=n(96540),i=globalThis?.document?r.useLayoutEffect:()=>{}},85357(e,t,n){"use strict";n.d(t,{Z:()=>i});var r=n(96540);function i(e){const t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},31769(e,t,n){"use strict";n.d(t,{X:()=>o});var r=n(96540),i=n(88200);function o(e){const[t,n]=r.useState(void 0);return(0,i.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver(t=>{if(!Array.isArray(t))return;if(!t.length)return;const r=t[0];let i,o;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,o=t.blockSize}else i=e.offsetWidth,o=e.offsetHeight;n({width:i,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},4693(e,t,n){"use strict";const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;n.d(t,["T",0,r])},3594(e,t,n){"use strict";n.d(t,{qd:()=>c,wg:()=>u,y7:()=>l});var r=n(5602),i=n(98822),o=n(4693),a=n(14910);const s={};function c(e){const t=s[e];if(t)return t;let n=a.j[e];if((0,i.a3)(n))return s[e]=n.bind(a.j);const c=a.j.document;if(c&&"function"==typeof c.createElement)try{const t=c.createElement("iframe");t.hidden=!0,c.head.appendChild(t);const r=t.contentWindow;r?.[e]&&(n=r[e]),c.head.removeChild(t)}catch(t){o.T&&r.vF.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?s[e]=n.bind(a.j):n}function l(e){s[e]=void 0}function u(...e){return c("setTimeout")(...e)}},61221(e,t,n){"use strict";n.d(t,{i:()=>u});var r=n(26131),i=n(44910),o=n(40873),a=n(14910);let s,c,l;function u(e){(0,r.s5)("dom",e),(0,r.AS)("dom",f)}function f(){if(!a.j.document)return;const e=r.aj.bind(null,"dom"),t=d(e,!0);a.j.document.addEventListener("click",t,!1),a.j.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{const n=a.j,r=n[t]?.prototype;r?.hasOwnProperty?.("addEventListener")&&((0,o.GS)(r,"addEventListener",function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{const r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=r[n]=r[n]||{refCount:0};if(!o.handler){const r=d(e);o.handler=r,t.call(this,n,r,i)}o.refCount++}catch(e){}return t.call(this,n,r,i)}}),(0,o.GS)(r,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}}))})}function d(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(e){try{return e.target}catch(e){return null}}(n);if(function(e,t){return"keypress"===e&&(!t?.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,r))return;(0,o.my)(n,"_sentryCaptured",!0),r&&!r._sentryId&&(0,o.my)(r,"_sentryId",(0,i.eJ)());const u="keypress"===n.type?"input":n.type;(function(e){if(e.type!==c)return!1;try{if(!e.target||e.target._sentryId!==l)return!1}catch(e){}return!0})(n)||(e({event:n,name:u,global:t}),c=n.type,l=r?r._sentryId:void 0),clearTimeout(s),s=a.j.setTimeout(()=>{l=void 0,c=void 0},1e3)}}},85761(e,t,n){"use strict";n.d(t,{_:()=>c});var r=n(26131),i=n(40873),o=n(98822),a=n(14910);let s;function c(e){const t="history";(0,r.s5)(t,e),(0,r.AS)(t,l)}function l(){function e(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const i=s,o=function(e){try{return new URL(e,a.j.location.origin).toString()}catch{return e}}(String(n));if(s=o,i===o)return e.apply(this,t);const c={from:i,to:o};(0,r.aj)("history",c)}return e.apply(this,t)}}a.j.addEventListener("popstate",()=>{const e=a.j.location.href,t=s;if(s=e,t===e)return;const n={from:t,to:e};(0,r.aj)("history",n)}),(0,o.NJ)()&&((0,i.GS)(a.j.history,"pushState",e),(0,i.GS)(a.j.history,"replaceState",e))}},35947(e,t,n){"use strict";n.d(t,{Mn:()=>c});var r=n(26131),i=n(30690),o=n(90519),a=n(14910);const s="__sentry_xhr_v3__";function c(e){(0,r.s5)("xhr",e),(0,r.AS)("xhr",l)}
2function l(){if(!a.j.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){const a=new Error,c=1e3*(0,o.zf)(),l=(0,i.Kg)(n[0])?n[0].toUpperCase():void 0,u=function(e){if((0,i.Kg)(e))return e;try{return e.toString()}catch{}}(n[1]);if(!l||!u)return e.apply(t,n);t[s]={method:l,url:u,request_headers:{}},"POST"===l&&u.match(/sentry_key/)&&(t.__sentry_own_request__=!0);const f=()=>{const e=t[s];if(e&&4===t.readyState){try{e.status_code=t.status}catch(e){}const n={endTimestamp:1e3*(0,o.zf)(),startTimestamp:c,xhr:t,virtualError:a};(0,r.aj)("xhr",n)}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(f(),e.apply(t,n))}):t.addEventListener("readystatechange",f),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){const[r,o]=n,a=t[s];return a&&(0,i.Kg)(r)&&(0,i.Kg)(o)&&(a.request_headers[r.toLowerCase()]=o),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){const i=t[s];if(!i)return e.apply(t,n);void 0!==n[0]&&(i.body=n[0]);const a={startTimestamp:1e3*(0,o.zf)(),xhr:t};return(0,r.aj)("xhr",a),e.apply(t,n)}})}n.d(t,["Er",0,s])},14910(e,t,n){"use strict";const r=n(92575).O;n.d(t,["j",0,r])},40109(e,t,n){"use strict";n.d(t,{w:()=>fi});var r=n(92575),i=n(51071),o=n(40873),a=n(87320),s=n(90519),c=n(6810),l=n(5602),u=n(22209),f=n(64251),d=n(44910),h=n(57968),p=n(5915),m=n(18710),y=n(63857),g=n(2323),v=n(87202),b=n(45333),w=n(20572),x=n(31857),S=n(74611),k=n(91591);function E(){return"undefined"!=typeof window&&(!(!(0,k.Z)()&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0))||function(){const e=r.O.process;return"renderer"===e?.type}())}var _=n(91773),C=n(3594),A=n(20527),T=n(4693),P=n(14910);const O=(e,t,n,r)=>{let i,o;return a=>{t.value>=0&&(a||r)&&(o=t.value-(i??0),(o||void 0===i)&&(i=t.value,t.delta=o,t.rating=((e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good")(t.value,n),e(t)))}},M=(e=!0)=>{const t=P.j.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},I=()=>{const e=M();return e?.activationStart??0},R=(e,t=-1)=>{const n=M();let r="navigate";return n&&(P.j.document?.prerendering||I()>0?r="prerender":P.j.document?.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},D=new WeakMap;function N(e,t){return D.get(e)||D.set(e,new t),D.get(e)}class j{constructor(){j.prototype.__init.call(this),j.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;const t=this._sessionEntries[0],n=this._sessionEntries.at(-1);this._sessionValue&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}const F=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},L=e=>{let t=!1;return()=>{t||(e(),t=!0)}};let B=-1;const z=e=>{"hidden"===P.j.document.visibilityState&&B>-1&&(B="visibilitychange"===e.type?e.timeStamp:0,V())},V=()=>{removeEventListener("visibilitychange",z,!0),removeEventListener("prerenderingchange",z,!0)},U=()=>{if(P.j.document&&B<0){const e=I(),t=P.j.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime;B=t??("hidden"!==P.j.document?.visibilityState||P.j.document?.prerendering?1/0:0),addEventListener("visibilitychange",z,!0),addEventListener("prerenderingchange",z,!0)}return{get firstHiddenTime(){return B}}},$=e=>{P.j.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},H=[1800,3e3],q=[.1,.25],W=e=>{const t=t=>
2{"pagehide"!==t.type&&"hidden"!==P.j.document?.visibilityState||e(t)};P.j.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},G=[100,300];let K=0,Q=1/0,J=0;const X=e=>{e.forEach(e=>{e.interactionId&&(Q=Math.min(Q,e.interactionId),J=Math.max(J,e.interactionId),K=J?(J-Q)/7+1:0)})};let Y;const Z=()=>Y?K:performance.interactionCount||0,ee=()=>{"interactionCount"in performance||Y||(Y=F("event",X,{type:"event",buffered:!0,durationThreshold:0}))};let te=0;class ne{constructor(){ne.prototype.__init.call(this),ne.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){te=Z(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const e=Math.min(this._longestInteractionList.length-1,Math.floor((Z()-te)/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!e.interactionId&&"first-input"!==e.entryType)return;const t=this._longestInteractionList.at(-1);let n=this._longestInteractionMap.get(e.interactionId);if(n||this._longestInteractionList.length<10||e.duration>t._latency){if(n?e.duration>n._latency?(n.entries=[e],n._latency=e.duration):e.duration===n._latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(n.id,n),this._longestInteractionList.push(n)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>10){const e=this._longestInteractionList.splice(10);for(const t of e)this._longestInteractionMap.delete(t.id)}this._onAfterProcessingINPCandidate?.(n)}}}const re=e=>{const t=P.j.requestIdleCallback||P.j.setTimeout;"hidden"===P.j.document?.visibilityState?e():(t(e=L(e)),W(e))},ie=[200,500];class oe{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}const ae=[2500,4e3],se={},ce={};let le,ue,fe,de;function he(e,t){const n=se[e];if(n?.length)for(const r of n)try{r(t)}catch(t){T.T&&l.vF.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,A.qQ)(r)}\nError:`,t)}}function pe(){return((e,t={})=>{((e,t={})=>{$(()=>{const n=U(),r=R("FCP");let i;const o=F("paint",e=>{for(const t of e)"first-contentful-paint"===t.name&&(o.disconnect(),t.startTime<n.firstHiddenTime&&(r.value=Math.max(t.startTime-I(),0),r.entries.push(t),i(!0)))});o&&(i=O(e,r,H,t.reportAllChanges))})})(L(()=>{const n=R("CLS",0);let r;const i=N(t,j),o=e=>{for(const t of e)i._processEntry(t);i._sessionValue>n.value&&(n.value=i._sessionValue,n.entries=i._sessionEntries,r())},a=F("layout-shift",o);a&&(r=O(e,n,q,t.reportAllChanges),P.j.document?.addEventListener("visibilitychange",()=>{"hidden"===P.j.document?.visibilityState&&(o(a.takeRecords()),r(!0))}),P.j?.setTimeout?.(r))}))})(e=>{he("cls",{metric:e}),le=e},{reportAllChanges:!0})}function me(){return((e,t={})=>{$(()=>{const n=U(),r=R("FID");let i;const o=e=>{e.startTime<n.firstHiddenTime&&(r.value=e.processingStart-e.startTime,r.entries.push(e),i(!0))},a=e=>{e.forEach(o)},s=F("first-input",a);i=O(e,r,G,t.reportAllChanges),s&&W(L(()=>{a(s.takeRecords()),s.disconnect()}))})})(e=>{he("fid",{metric:e}),ue=e})}function ye(){return((e,t={})=>{$(()=>{const n=U(),r=R("LCP");let i;const o=N(t,oe),a=e=>{t.reportAllChanges||(e=e.slice(-1));for(const t of e)o._processEntry(t),t.startTime<n.firstHiddenTime&&(r.value=Math.max(t.startTime-I(),0),r.entries=[t],i())},s=F("largest-contentful-paint",a);if(s){i=O(e,r,ae,t.reportAllChanges);const n=L(()=>{a(s.takeRecords()),s.disconnect(),i(!0)});for(const e of["keydown","click","visibilitychange"])P.j.document&&addEventListener(e,()=>re(n),{capture:!0,once:!0})}})})(e=>{he("lcp",{metric:e}),fe=e},{reportAllChanges:!0})}function ge(){return((e,t={})=>{globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype&&$(()=>{ee();const n=R("INP");let r;const i=N(t,ne),o=e=>{re(()=>{for(const t of e)i._processEntry(t);const t=i._estimateP98LongestInteraction();t&&t._latency!==n.value&&(n.value=t._latency,n.entries=t.entries,r())})},a=F("event",o,{durationThreshold:t.durationThreshold??40});r=O(e,n,ie,t.reportAllChanges),a&&(a.observe({type:"first-input",buffered:!0}),W(()=>{o(a.takeRecords()),r(!0)}))})})(e=>{he("inp",{metric:e}),de=e})}function ve(e,t,n,r,i=!1){let o;return be(e,t),ce[e]||(o=n(),ce[e]=!0),r&&t({metric:r}),we(e,t,i?o:void 0)}function be(e,t){se[e]=se[e]||[],se[e].push(t)}function we(e,t,n){return()=>{n&&n();const r=se[e];
2if(!r)return;const i=r.indexOf(t);-1!==i&&r.splice(i,1)}}function xe(e){return new URLSearchParams(e).toString()}function Se(e,t=l.vF){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[xe(e)];if(!e)return[void 0]}catch(n){return T.T&&t.error(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return T.T&&t.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function ke(e=[]){if(2===e.length&&"object"==typeof e[1])return e[1].body}var Ee=n(35947),_e=n(61221),Ce=n(85761);const Ae=r.O,Te="sentryReplaySession",Pe="Unable to send Replay",Oe=15e4,Me=5e3,Ie=2e7;var Re=Object.defineProperty,De=(e,t,n)=>((e,t,n)=>t in e?Re(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),Ne=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(Ne||{});function je(e){const t=e?.host;return Boolean(t?.shadowRoot===e)}function Fe(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function Le(e){try{const n=e.rules||e.cssRules;return n?((t=Array.from(n,Be).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t):null}catch(e){return null}var t}function Be(e){let t;if(function(e){return"styleSheet"in e}(e))try{t=Le(e.styleSheet)||function(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const n=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}(e)}catch(e){}else if(function(e){return"selectorText"in e}(e)){let t=e.cssText;const n=e.selectorText.includes(":"),r="string"==typeof e.style.all&&e.style.all;if(r&&(t=function(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style,i=r[n],o=r.getPropertyPriority(i);t+=`${i}:${r.getPropertyValue(i)}${o?" !important":""};`}return`${e.selectorText} { ${t} }`}(e)),n&&(t=t.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2")),n||r)return t}return t||e.cssText}class ze{constructor(){De(this,"idNodeMap",new Map),De(this,"nodeMetaMap",new WeakMap)}getId(e){if(!e)return-1;const t=this.getMeta(e)?.id;return t??-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){const n=this.getNode(e);if(n){const e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function Ve({maskInputOptions:e,tagName:t,type:n}){return"OPTION"===t&&(t="SELECT"),Boolean(e[t.toLowerCase()]||n&&e[n]||"password"===n||"INPUT"===t&&!n&&e.text)}function Ue({isMasked:e,element:t,value:n,maskInputFn:r}){let i=n||"";return e?(r&&(i=r(i,t)),"*".repeat(i.length)):i}function $e(e){return e.toLowerCase()}function He(e){return e.toUpperCase()}const qe="__rrweb_original__";function We(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?$e(t):null}function Ge(e,t,n){return"INPUT"!==t||"radio"!==n&&"checkbox"!==n?e.value:e.getAttribute("value")||""}function Ke(e,t){let n;try{n=new URL(e,t??window.location.href)}catch(e){return null}const r=n.pathname.match(/\.([0-9a-z]+)(?:$)/i);return r?.[1]??null}const Qe={};function Je(e){const t=Qe[e];if(t)return t;const n=window.document;let r=window[e];if(n&&"function"==typeof n.createElement)try{const t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);const i=t.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(t)}catch(e){}return Qe[e]=r.bind(window)}function Xe(...e){return Je("setTimeout")(...e)}
2function Ye(...e){return Je("clearTimeout")(...e)}function Ze(e){try{return e.contentDocument}catch(e){}}let et=1;const tt=new RegExp("[^a-z0-9-_:]");function nt(){return et++}let rt,it;const ot=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,at=/^(?:[a-z+]+:)?\/\//i,st=/^www\..*/i,ct=/^(data:)([^,]*),(.*)/i;function lt(e,t){return(e||"").replace(ot,(e,n,r,i,o,a)=>{const s=r||o||a,c=n||i||"";if(!s)return e;if(at.test(s)||st.test(s))return`url(${c}${s}${c})`;if(ct.test(s))return`url(${c}${s}${c})`;if("/"===s[0])return`url(${c}${function(e){let t="";return t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0],t=t.split("?")[0],t}(t)+s}${c})`;const l=t.split("/"),u=s.split("/");l.pop();for(const e of u)"."!==e&&(".."===e?l.pop():l.push(e));return`url(${c}${l.join("/")}${c})`})}const ut=/^[^ \t\n\r\u000c]+/,ft=/^[, \t\n\r\u000c]+/,dt=new WeakMap;function ht(e,t){return t&&""!==t.trim()?pt(e,t):t}function pt(e,t){let n=dt.get(e);if(n||(n=e.createElement("a"),dt.set(e,n)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return n.setAttribute("href",t),n.href}function mt(e,t,n,r,i,o){return r?"src"===n||"href"===n&&("use"!==t||"#"!==r[0])||"xlink:href"===n&&"#"!==r[0]?ht(e,r):"background"!==n||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===n?function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r;const i=e.exec(t.substring(n));return i?(r=i[0],n+=r.length,r):""}const i=[];for(;r(ft),!(n>=t.length);){let o=r(ut);if(","===o.slice(-1))o=ht(e,o.substring(0,o.length-1)),i.push(o);else{let r="";o=ht(e,o);let a=!1;for(;;){const e=t.charAt(n);if(""===e){i.push((o+r).trim());break}if(a)")"===e&&(a=!1);else{if(","===e){n+=1,i.push((o+r).trim());break}"("===e&&(a=!0)}r+=e,n+=1}}}return i.join(", ")}(e,r):"style"===n?lt(r,pt(e)):"object"===t&&"data"===n?ht(e,r):"function"==typeof o?o(n,r,i):r:ht(e,r):r}function yt(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function gt(e,t,n,r){try{if(r&&e.matches(r))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}if(n)return e.matches(n)}catch(e){}return!1}function vt(e,t,n=1/0,r=0){return e?e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:vt(e.parentNode,t,n,r+1):-1}function bt(e,t){return n=>{const r=n;if(null===r)return!1;try{if(e)if("string"==typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}(r,e))return!0;return!(!t||!r.matches(t))}catch{return!1}}}function wt(e,t,n,r,i,o){try{const a=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===a)return!1;if("INPUT"===a.tagName){const e=a.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let s=-1,c=-1;if(o){if(c=vt(a,bt(r,i)),c<0)return!0;s=vt(a,bt(t,n),c>=0?c:1/0)}else{if(s=vt(a,bt(t,n)),s<0)return!1;c=vt(a,bt(r,i),s>=0?s:1/0)}return s>=0?!(c>=0)||s<=c:!(c>=0||!o)}catch(e){}return!!o}function xt(e){return null==e?"":e.toLowerCase()}function St(e,t){const{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:s,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:f,skipChild:d=!1,inlineStylesheet:h=!0,maskInputOptions:p={},maskAttributeFn:m,maskTextFn:y,maskInputFn:g,slimDOMOptions:v,dataURLOptions:b={},inlineImages:w=!1,recordCanvas:x=!1,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:E=5e3,onStylesheetLoad:_,stylesheetLoadTimeout:C=5e3,keepIframeSrcFn:A=()=>!1,newlyAddedElement:T=!1}=t;let{preserveWhiteSpace:P=!0}=t;const O=function(e,t){const{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:s,maskAttributeFn:c,maskTextClass:l,unmaskTextClass:u,maskTextSelector:f,unmaskTextSelector:d,inlineStylesheet:h,maskInputOptions:p={},maskTextFn:m,maskInputFn:y,dataURLOptions:g={},inlineImages:v,recordCanvas:b,keepIframeSrcFn:w,newlyAddedElement:x=!1}=t,S=function(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return 1===n?void 0:n}(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:Ne.Document,childNodes:[],compatMode:e.compatMode}:{type:Ne.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:Ne.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:S};case e.ELEMENT_NODE:return function(e,t){const{doc:n,blockClass:r,blockSelector:i,unblockSelector:o,inlineStylesheet:a,maskInputOptions:s={},maskAttributeFn:c,maskInputFn:l,dataURLOptions:u={},inlineImages:f,recordCanvas:d,keepIframeSrcFn:h,newlyAddedElement:p=!1,rootId:m,maskTextClass:y,unmaskTextClass:g,maskTextSelector:v,unmaskTextSelector:b}=t,w=gt(e,r,i,o),x=function(e){if(e instanceof HTMLFormElement)return"form";const t=$e(e.tagName);return tt.test(t)?"div":t}(e);let S={};const k=e.attributes.length;for(let t=0;t<k;t++){const r=e.attributes[t];r.name&&!yt(x,r.name,r.value)&&(S[r.name]=mt(n,x,$e(r.name),r.value,e,c))}if("link"===x&&a){const t=Array.from(n.styleSheets).find(t=>t.href===e.href);let r=null;t&&(r=Le(t)),r&&(S.rel=null,S.href=null,S.crossorigin=null,S._cssText=lt(r,t.href))}if("style"===x&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const t=Le(e.sheet);t&&(S._cssText=lt(t,pt(n)))}if("input"===x||"textarea"===x||"select"===x||"option"===x){const t=e,n=We(t),r=Ge(t,He(x),n),i=t.checked;if("submit"!==n&&"button"!==n&&r){const e=wt(t,y,v,g,b,Ve({type:n,tagName:He(x),maskInputOptions:s}));S.value=Ue({isMasked:e,element:t,value:r,maskInputFn:l})}i&&(S.checked=i)}if("option"===x&&(e.selected&&!s.select?S.selected=!0:delete S.selected),"canvas"===x&&d)if("2d"===e.__context)(function(e){const t=e.getContext("2d");if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){const i=t.getImageData,o=qe in i?i[qe]:i;
2if(new Uint32Array(o.call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some(e=>0!==e))return!1}return!0})(e)||(S.rr_dataURL=e.toDataURL(u.type,u.quality));else if(!("__context"in e)){const t=e.toDataURL(u.type,u.quality),r=n.createElement("canvas");r.width=e.width,r.height=e.height,t!==r.toDataURL(u.type,u.quality)&&(S.rr_dataURL=t)}if("img"===x&&f){rt||(rt=n.createElement("canvas"),it=rt.getContext("2d"));const t=e,r=t.currentSrc||t.getAttribute("src")||"<unknown-src>",i=t.crossOrigin,o=()=>{t.removeEventListener("load",o);try{rt.width=t.naturalWidth,rt.height=t.naturalHeight,it.drawImage(t,0,0),S.rr_dataURL=rt.toDataURL(u.type,u.quality)}catch(e){if("anonymous"!==t.crossOrigin)return t.crossOrigin="anonymous",void(t.complete&&0!==t.naturalWidth?o():t.addEventListener("load",o));console.warn(`Cannot inline img src=${r}! Error: ${e}`)}"anonymous"===t.crossOrigin&&(i?S.crossOrigin=i:t.removeAttribute("crossorigin"))};t.complete&&0!==t.naturalWidth?o():t.addEventListener("load",o)}if("audio"!==x&&"video"!==x||(S.rr_mediaState=e.paused?"paused":"played",S.rr_mediaCurrentTime=e.currentTime),p||(e.scrollLeft&&(S.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(S.rr_scrollTop=e.scrollTop)),w){const{width:t,height:n}=e.getBoundingClientRect();S={class:S.class,rr_width:`${t}px`,rr_height:`${n}px`}}let E;"iframe"!==x||h(S.src)||(w||Ze(e)||(S.rr_src=S.src),delete S.src);try{customElements.get(x)&&(E=!0)}catch(e){}return{type:Ne.Element,tagName:x,attributes:S,childNodes:[],isSVG:(_=e,Boolean("svg"===_.tagName||_.ownerSVGElement)||void 0),needBlock:w,rootId:m,isCustom:E};var _}(e,{doc:n,blockClass:i,blockSelector:o,unblockSelector:a,inlineStylesheet:h,maskAttributeFn:c,maskInputOptions:p,maskInputFn:y,dataURLOptions:g,inlineImages:v,recordCanvas:b,keepIframeSrcFn:w,newlyAddedElement:x,rootId:S,maskTextClass:l,unmaskTextClass:u,maskTextSelector:f,unmaskTextSelector:d});case e.TEXT_NODE:return function(e,t){const{maskAllText:n,maskTextClass:r,unmaskTextClass:i,maskTextSelector:o,unmaskTextSelector:a,maskTextFn:s,maskInputOptions:c,maskInputFn:l,rootId:u}=t,f=e.parentNode&&e.parentNode.tagName;let d=e.textContent;const h="STYLE"===f||void 0,p="SCRIPT"===f||void 0,m="TEXTAREA"===f||void 0;if(h&&d){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&&(d=Le(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}d=lt(d,pt(t.doc))}p&&(d="SCRIPT_PLACEHOLDER");const y=wt(e,r,o,i,a,n);return h||p||m||!d||!y||(d=s?s(d,e.parentElement):d.replace(/[\S]/g,"*")),m&&d&&(c.textarea||y)&&(d=l?l(d,e.parentNode):d.replace(/[\S]/g,"*")),"OPTION"===f&&d&&(
2d=Ue({isMasked:wt(e,r,o,i,a,Ve({type:null,tagName:f,maskInputOptions:c})),element:e,value:d,maskInputFn:l})),{type:Ne.Text,textContent:d||"",isStyle:h,rootId:u}}(e,{doc:n,maskAllText:s,maskTextClass:l,unmaskTextClass:u,maskTextSelector:f,unmaskTextSelector:d,maskTextFn:m,maskInputOptions:p,maskInputFn:y,rootId:S});case e.CDATA_SECTION_NODE:return{type:Ne.CDATA,textContent:"",rootId:S};case e.COMMENT_NODE:return{type:Ne.Comment,textContent:e.textContent||"",rootId:S};default:return!1}}(e,{doc:n,mirror:r,blockClass:i,blockSelector:o,maskAllText:s,unblockSelector:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:f,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:y,maskInputFn:g,dataURLOptions:b,inlineImages:w,recordCanvas:x,keepIframeSrcFn:A,newlyAddedElement:T});if(!O)return console.warn(e,"not serialized"),null;let M;M=r.hasNode(e)?r.getId(e):!function(e,t){if(t.comment&&e.type===Ne.Comment)return!0;if(e.type===Ne.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===Ke(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(xt(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===xt(e.attributes.name)||"icon"===xt(e.attributes.rel)||"apple-touch-icon"===xt(e.attributes.rel)||"shortcut icon"===xt(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&xt(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(xt(e.attributes.property).match(/^(og|twitter|fb):/)||xt(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===xt(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===xt(e.attributes.name)||"googlebot"===xt(e.attributes.name)||"bingbot"===xt(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===xt(e.attributes.name)||"generator"===xt(e.attributes.name)||"framework"===xt(e.attributes.name)||"publisher"===xt(e.attributes.name)||"progid"===xt(e.attributes.name)||xt(e.attributes.property).match(/^article:/)||xt(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===xt(e.attributes.name)||"yandex-verification"===xt(e.attributes.name)||"csrf-token"===xt(e.attributes.name)||"p:domain_verify"===xt(e.attributes.name)||"verify-v1"===xt(e.attributes.name)||"verification"===xt(e.attributes.name)||"shopify-checkout-api-token"===xt(e.attributes.name)))return!0}}return!1}(O,v)&&(P||O.type!==Ne.Text||O.isStyle||O.textContent.replace(/^\s+|\s+$/gm,"").length)?nt():-2;const I=Object.assign(O,{id:M});if(r.add(e,I),-2===M)return null;S&&S(e);let R=!d;if(I.type===Ne.Element){R=R&&!I.needBlock,delete I.needBlock;const t=e.shadowRoot;t&&Fe(t)&&(I.isShadowHost=!0)}if((I.type===Ne.Document||I.type===Ne.Element)&&R){v.headWhitespace&&I.type===Ne.Element&&"head"===I.tagName&&(P=!1);const t={doc:n,mirror:r,blockClass:i,blockSelector:o,maskAllText:s,unblockSelector:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:f,skipChild:d,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:y,maskInputFn:g,slimDOMOptions:v,dataURLOptions:b,inlineImages:w,recordCanvas:x,preserveWhiteSpace:P,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:E,onStylesheetLoad:_,stylesheetLoadTimeout:C,keepIframeSrcFn:A};for(const n of Array.from(e.childNodes)){const e=St(n,t);e&&I.childNodes.push(e)}if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)&&e.shadowRoot)for(const n of Array.from(e.shadowRoot.childNodes)){const r=St(n,t);r&&(Fe(e.shadowRoot)&&(r.isShadow=!0),I.childNodes.push(r))}}return e.parentNode&&je(e.parentNode)&&Fe(e.parentNode)&&(I.isShadow=!0),I.type!==Ne.Element||"iframe"!==I.tagName||gt(e,i,o,a)||function(e,t,n){const r=e.contentWindow;if(!r)return;let i,o=!1;try{i=r.document.readyState}catch(e){return}if("complete"!==i){const r=Xe(()=>{o||(t(),o=!0)},n);return void e.addEventListener("load",()=>{Ye(r),o=!0,t()})}const a="about:blank";if(r.location.href!==a||e.src===a||""===e.src)return Xe(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,()=>{const t=Ze(e);if(t&&k){const n=St(t,{doc:t,mirror:r,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:s,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:y,maskInputFn:g,slimDOMOptions:v,dataURLOptions:b,inlineImages:w,recordCanvas:x,preserveWhiteSpace:P,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:E,onStylesheetLoad:_,stylesheetLoadTimeout:C,keepIframeSrcFn:A});n&&k(e,n)}},E),I.type===Ne.Element&&"link"===I.tagName&&"string"==typeof I.attributes.rel&&("stylesheet"===I.attributes.rel||"preload"===I.attributes.rel&&"string"==typeof I.attributes.href&&"css"===Ke(I.attributes.href))&&function(e,t,n){let r,i=!1;try{r=e.sheet}catch(e){return}if(r)return;const o=Xe(()=>{i||(t(),i=!0)},n);e.addEventListener("load",()=>{Ye(o),i=!0,t()})}(e,()=>{if(_){const t=St(e,{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:s,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:y,maskInputFn:g,slimDOMOptions:v,dataURLOptions:b,inlineImages:w,recordCanvas:x,preserveWhiteSpace:P,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:E,onStylesheetLoad:_,stylesheetLoadTimeout:C,keepIframeSrcFn:A});t&&_(e,t)}},C),I}function kt(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}const Et="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let _t={map:{},getId:()=>(console.error(Et),-1),getNode:()=>(console.error(Et),null),removeNodeFromMap(){console.error(Et)},has:()=>(console.error(Et),!1),reset(){console.error(Et)}};function Ct(e,t,n={}){let r=null,i=0;return function(...o){const a=Date.now();i||!1!==n.leading||(i=a);const s=t-(a-i),c=this;s<=0||s>t?(r&&(function(...e){qt("clearTimeout")(...e)}
2(r),r=null),i=a,e.apply(c,o)):r||!1===n.trailing||(r=Wt(()=>{i=!1===n.leading?0:Date.now(),r=null,e.apply(c,o)},s))}}function At(e,t,n,r,i=window){const o=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,r?n:{set(e){Wt(()=>{n.set.call(this,e)},0),o&&o.set&&o.set.call(this,e)}}),()=>At(e,t,o||{},!0)}function Tt(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],i=n(r);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch{return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(_t=new Proxy(_t,{get:(e,t,n)=>("map"===t&&console.error(Et),Reflect.get(e,t,n))}));let Pt=Date.now;function Ot(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:t?.documentElement.scrollLeft||t?.body?.parentElement?.scrollLeft||t?.body?.scrollLeft||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:t?.documentElement.scrollTop||t?.body?.parentElement?.scrollTop||t?.body?.scrollTop||0}}function Mt(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function It(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Rt(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(e){return null}}function Dt(e,t,n,r,i){if(!e)return!1;const o=Rt(e);if(!o)return!1;const a=bt(t,n);if(!i){const e=r&&o.matches(r);return a(o)&&!e}const s=vt(o,a);let c=-1;return!(s<0)&&(r&&(c=vt(o,bt(null,r))),s>-1&&c<0||s<c)}function Nt(e,t){return-2===t.getId(e)}function jt(e,t){if(je(e))return!1;const n=t.getId(e);return!t.has(n)||(!e.parentNode||e.parentNode.nodeType!==e.DOCUMENT_NODE)&&(!e.parentNode||jt(e.parentNode,t))}function Ft(e){return Boolean(e.changedTouches)}function Lt(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function Bt(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function zt(e){return Boolean(e?.shadowRoot)}/[1-9][0-9]{12}/.test(Date.now().toString())||(Pt=()=>(new Date).getTime());class Vt{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let n;return n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function Ut(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function $t(e){const t=e.ownerDocument;return!!t&&(t.contains(e)||function(e){const t=e.ownerDocument;if(!t)return!1;const n=function(e){let t,n=e;for(;t=Ut(n);)n=t;return n}(e);return t.contains(n)}(e))}const Ht={};function qt(e){const t=Ht[e];if(t)return t;const n=window.document;let r=window[e];if(n&&"function"==typeof n.createElement)try{const t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);const i=t.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(t)}catch(e){}return Ht[e]=r.bind(window)}function Wt(...e){return qt("setTimeout")(...e)}var Gt=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(Gt||{}),Kt=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(Kt||{}),Qt=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(Qt||{}),Jt=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(Jt||{}),Xt=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(Xt||{});function Yt(e){try{return e.contentDocument}catch(e){}}function Zt(e){return"__ln"in e}class en{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw new Error("Position outside of list range");let t=this.head;for(let n=0;n<e;n++)t=t?.next||null;return t}addNode(e){const t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&Zt(e.previousSibling)){const n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&
2(n.previous=t)}else if(e.nextSibling&&Zt(e.nextSibling)&&e.nextSibling.__ln.previous){const n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){const t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}const tn=(e,t)=>`${e}@${t}`;class nn{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=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const e=[],t=new Set,n=new en,r=e=>{let t=e,n=-2;for(;-2===n;)t=t&&t.nextSibling,n=t&&this.mirror.getId(t);return n},i=i=>{if(!i.parentNode||!$t(i))return;const o=je(i.parentNode)?this.mirror.getId(Ut(i)):this.mirror.getId(i.parentNode),a=r(i);if(-1===o||-1===a)return n.addNode(i);const s=St(i,{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:e=>{Lt(e,this.mirror)&&!Dt(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),Bt(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),zt(i)&&this.shadowDomManager.addShadowRoot(i.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{Dt(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(e,t),e.contentWindow&&this.canvasManager.addWindow(e.contentWindow),this.shadowDomManager.observeAttachShadow(e))},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)}});s&&(e.push({parentId:o,nextId:a,node:s}),t.add(s.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const e of this.movedSet)on(this.removes,e,this.mirror)&&!this.movedSet.has(e.parentNode)||i(e);for(const e of this.addedSet)an(this.droppedSet,e)||on(this.removes,e,this.mirror)?an(this.movedSet,e)?i(e):this.droppedSet.add(e):i(e);let o=null;for(;n.length;){let e=null;if(o){const t=this.mirror.getId(o.value.parentNode),n=r(o.value);-1!==t&&-1!==n&&(e=o)}if(!e){let t=n.tail;for(;t;){const n=t;if(t=t.previous,n){const t=this.mirror.getId(n.value.parentNode);if(-1===r(n.value))continue;if(-1!==t){e=n;break}{const t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const r=t.parentNode.host;if(-1!==this.mirror.getId(r)){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}o=e.previous,n.removeNode(e.value),i(e.value)}const a={texts:this.texts.map(e=>({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{const{attributes:t}=e;if("string"==typeof t.style){const n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length<t.style.length&&(n+r).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}}).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};(a.texts.length||a.attributes.length||a.removes.length||a.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(a))},this.processMutation=e=>{if(!Nt(e.target,this.mirror))switch(e.type){case"characterData":{const t=e.target.textContent;Dt(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:wt(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,Rt(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{const t=e.target;let n=e.attributeName,r=e.target.getAttribute(n);if("value"===n){const n=We(t),i=t.tagName;r=Ge(t,i,n);const o=Ve({maskInputOptions:this.maskInputOptions,tagName:i,type:n});
2r=Ue({isMasked:wt(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,o),element:t,value:r,maskInputFn:this.maskInputFn})}if(Dt(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||r===e.oldValue)return;let i=this.attributeMap.get(e.target);if("IFRAME"===t.tagName&&"src"===n&&!this.keepIframeSrcFn(r)){if(Yt(t))return;n="rr_src"}if(i||(i={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(i),this.attributeMap.set(e.target,i)),"type"===n&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!yt(t.tagName,n)&&(i.attributes[n]=mt(this.doc,$e(t.tagName),$e(n),r,t,this.maskAttributeFn),"style"===n)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(e){this.unattachedDoc=this.doc}const n=this.unattachedDoc.createElement("span");e.oldValue&&n.setAttribute("style",e.oldValue);for(const e of Array.from(t.style)){const r=t.style.getPropertyValue(e),o=t.style.getPropertyPriority(e);r!==n.style.getPropertyValue(e)||o!==n.style.getPropertyPriority(e)?i.styleDiff[e]=""===o?r:[r,o]:i._unchangedStyles[e]=[r,o]}for(const e of Array.from(n.style))""===t.style.getPropertyValue(e)&&(i.styleDiff[e]=!1)}break}case"childList":if(Dt(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{const n=this.mirror.getId(t),r=je(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);Dt(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||Nt(t,this.mirror)||!function(e,t){return-1!==t.getId(e)}(t,this.mirror)||(this.addedSet.has(t)?(rn(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||jt(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[tn(n,r)]?rn(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!(!je(e.target)||!Fe(e.target))||void 0})),this.mapRemoves.push(t))})}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!this.addedSet.has(e)&&!this.movedSet.has(e)){if(this.mirror.hasNode(e)){if(Nt(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&-1!==n&&(this.movedMap[tn(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);Dt(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(e.childNodes.forEach(e=>this.genAdds(e)),zt(e)&&e.shadowRoot.childNodes.forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}}}init(e){["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"].forEach(t=>{this[t]=e[t]})}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 rn(e,t){e.delete(t),t.childNodes.forEach(t=>rn(e,t))}function on(e,t,n){return 0!==e.length&&function(e,t,n){let r=t.parentNode;for(;r;){const t=n.getId(r);if(e.some(e=>e.id===t))return!0;r=r.parentNode}return!1}(e,t,n)}function an(e,t){return 0!==e.size&&sn(e,t)}function sn(e,t){const{parentNode:n}=t;return!!n&&(!!e.has(n)||sn(e,n))}let cn;const ln=e=>cn?(...t)=>{try{return e(...t)}catch(e){if(cn&&!0===cn(e))return()=>{};throw e}}:e,un=[];function fn(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function dn(e,t){const n=new nn;un.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver;const i=window?.Zone?.__symbol__?.("MutationObserver");i&&window[i]&&(r=window[i]);const o=new r(ln(t=>{e.onMutation&&!1===e.onMutation(t)||n.processMutations.bind(n)(t)}));return o.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),o}function hn({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:a}){return kt("scroll",ln(Ct(ln(a=>{const s=fn(a);if(!s||Dt(s,r,i,o,!0))return;const c=n.getId(s);if(s===t&&t.defaultView){const n=Ot(t.defaultView);e({id:c,x:n.left,y:n.top})}else e({id:c,x:s.scrollLeft,y:s.scrollTop})}),a.scroll||100)),t)}const pn=["INPUT","TEXTAREA","SELECT"],mn=new WeakMap;function yn({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,ignoreClass:a,ignoreSelector:s,maskInputOptions:c,maskInputFn:l,sampling:u,userTriggeredOnInput:f,maskTextClass:d,unmaskTextClass:h,maskTextSelector:p,unmaskTextSelector:m}){function y(e){let n=fn(e);const u=e.isTrusted,y=n&&He(n.tagName);if("OPTION"===y&&(n=n.parentElement),!n||!y||pn.indexOf(y)<0||Dt(n,r,i,o,!0))return;const v=n;if(v.classList.contains(a)||s&&v.matches(s))return;const b=We(n);let w=Ge(v,y,b),x=!1;const S=Ve({maskInputOptions:c,tagName:y,type:b}),k=wt(n,d,p,h,m,S);"radio"!==b&&"checkbox"!==b||(x=n.checked),w=Ue({isMasked:k,element:n,value:w,maskInputFn:l}
vendor: 3,759 bytes, line 2
2),g(n,f?{text:w,isChecked:x,userTriggered:u}:{text:w,isChecked:x});const E=n.name;"radio"===b&&E&&x&&t.querySelectorAll(`input[type="radio"][name="${E}"]`).forEach(e=>{if(e!==n){const t=Ue({isMasked:k,element:e,value:Ge(e,y,b),maskInputFn:l});g(e,f?{text:t,isChecked:!x,userTriggered:!1}:{text:t,isChecked:!x})}})}function g(t,r){const i=mn.get(t);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){mn.set(t,r);const i=n.getId(t);ln(e)({...r,id:i})}}const v=("last"===u.input?["change"]:["input","change"]).map(e=>kt(e,ln(y),t)),b=t.defaultView;if(!b)return()=>{v.forEach(e=>e())};const w=b.Object.getOwnPropertyDescriptor(b.HTMLInputElement.prototype,"value"),x=[[b.HTMLInputElement.prototype,"value"],[b.HTMLInputElement.prototype,"checked"],[b.HTMLSelectElement.prototype,"value"],[b.HTMLTextAreaElement.prototype,"value"],[b.HTMLSelectElement.prototype,"selectedIndex"],[b.HTMLOptionElement.prototype,"selected"]];return w&&w.set&&v.push(...x.map(e=>At(e[0],e[1],{set(){ln(y)({target:this,isTrusted:!1})}},!1,b))),ln(()=>{v.forEach(e=>e())})}function gn(e){return function(e,t){if(xn("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||xn("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||xn("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||xn("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){const n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){const n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}(e,[])}function vn(e,t,n){let r,i;return e?(e.ownerNode?r=t.getId(e.ownerNode):i=n.getId(e),{styleId:i,id:r}):{}}function bn({mirror:e,stylesheetManager:t},n){let r=null;r="#document"===n.nodeName?e.getId(n):e.getId(n.host);const i="#document"===n.nodeName?n.defaultView?.Document:n.ownerDocument?.defaultView?.ShadowRoot,o=i?.prototype?Object.getOwnPropertyDescriptor(i?.prototype,"adoptedStyleSheets"):void 0;return null!==r&&-1!==r&&i&&o?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get(){return o.get?.call(this)},set(e){const n=o.set?.call(this,e);if(null!==r&&-1!==r)try{t.adoptStyleSheets(e,r)}catch(e){}return n}}),ln(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get:o.get,set:o.set})})):()=>{}}function wn(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};let r;e.recordDOM&&(r=dn(e,e.doc));const i=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(!1===t.mousemove)return()=>{};const i="number"==typeof t.mousemove?t.mousemove:50,o="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500;let a,s=[];const c=Ct(ln(t=>{const n=Date.now()-a;e(s.map(e=>(e.timeOffset-=n,e)),t),s=[],a=null}),o),l=ln(Ct(ln(e=>{const t=fn(e),{clientX:n,clientY:i}=Ft(e)?e.changedTouches[0]:e;a||(a=Pt()),s.push({x:n,y:i,id:r.getId(t),timeOffset:Pt()-a}),c("undefined"!=typeof DragEvent&&e instanceof DragEvent?Kt.Drag:e instanceof MouseEvent?Kt.MouseMove:Kt.TouchMove)}),i,{trailing:!1})),u=[kt("mousemove",l,n),kt("touchmove",l,n),kt("drag",l,n)];return ln(()=>{u.forEach(e=>e())})}(e),o=function({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:a}){if(!1===a.mouseInteraction)return()=>{};const s=!0===a.mouseInteraction||void 0===a.mouseInteraction?{}:a.mouseInteraction,c=[];let l=null;return Object.keys(Qt).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]).forEach(a=>{let s=$e(a);const u=(t=>a=>{const s=fn(a);if(Dt(s,r,i,o,!0))return;let c=null,u=t;if("pointerType"in a){switch(a.pointerType){case"mouse":c=Jt.Mouse;break;case"touch":c=Jt.Touch;break;case"pen":c=Jt.Pen}c===Jt.Touch?Qt[t]===Qt.MouseDown?u="TouchStart":Qt[t]===Qt.MouseUp&&(u="TouchEnd"):Jt.Pen}
vendor: 4,290 bytes, line 2
2else Ft(a)&&(c=Jt.Touch);null!==c?(l=c,(u.startsWith("Touch")&&c===Jt.Touch||u.startsWith("Mouse")&&c===Jt.Mouse)&&(c=null)):Qt[t]===Qt.Click&&(c=l,l=null);const f=Ft(a)?a.changedTouches[0]:a;if(!f)return;const d=n.getId(s),{clientX:h,clientY:p}=f;ln(e)({type:Qt[u],id:d,x:h,y:p,...null!==c&&{pointerType:c}})})(a);if(window.PointerEvent)switch(Qt[a]){case Qt.MouseDown:case Qt.MouseUp:s=s.replace("mouse","pointer");break;case Qt.TouchStart:case Qt.TouchEnd:return}c.push(kt(s,u,t))}),ln(()=>{c.forEach(e=>e())})}(e),a=hn(e),s=function({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return kt("resize",ln(Ct(ln(()=>{const t=Mt(),i=It();n===t&&r===i||(e({width:Number(i),height:Number(t)}),n=t,r=i)}),200)),t)}(e,{win:n}),c=yn(e),l=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:i,sampling:o,doc:a}){const s=ln(a=>Ct(ln(o=>{const s=fn(o);if(!s||Dt(s,t,n,r,!0))return;const{currentTime:c,volume:l,muted:u,playbackRate:f}=s;e({type:a,id:i.getId(s),currentTime:c,volume:l,muted:u,playbackRate:f})}),o.media||500)),c=[kt("play",s(Xt.Play),a),kt("pause",s(Xt.Pause),a),kt("seeked",s(Xt.Seeked),a),kt("volumechange",s(Xt.VolumeChange),a),kt("ratechange",s(Xt.RateChange),a)];return ln(()=>{c.forEach(e=>e())})}(e);let u=()=>{},f=()=>{},d=()=>{},h=()=>{};e.recordDOM&&(u=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const i=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(i,{apply:ln((r,i,o)=>{const[a,s]=o,{id:c,styleId:l}=vn(i,t,n.styleMirror);return(c&&-1!==c||l&&-1!==l)&&e({id:c,styleId:l,adds:[{rule:a,index:s}]}),r.apply(i,o)})});const o=r.CSSStyleSheet.prototype.deleteRule;let a,s;r.CSSStyleSheet.prototype.deleteRule=new Proxy(o,{apply:ln((r,i,o)=>{const[a]=o,{id:s,styleId:c}=vn(i,t,n.styleMirror);return(s&&-1!==s||c&&-1!==c)&&e({id:s,styleId:c,removes:[{index:a}]}),r.apply(i,o)})}),r.CSSStyleSheet.prototype.replace&&(a=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(a,{apply:ln((r,i,o)=>{const[a]=o,{id:s,styleId:c}=vn(i,t,n.styleMirror);return(s&&-1!==s||c&&-1!==c)&&e({id:s,styleId:c,replace:a}),r.apply(i,o)})})),r.CSSStyleSheet.prototype.replaceSync&&(s=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(s,{apply:ln((r,i,o)=>{const[a]=o,{id:s,styleId:c}=vn(i,t,n.styleMirror);return(s&&-1!==s||c&&-1!==c)&&e({id:s,styleId:c,replaceSync:a}),r.apply(i,o)})}));const c={};Sn("CSSGroupingRule")?c.CSSGroupingRule=r.CSSGroupingRule:(Sn("CSSMediaRule")&&(c.CSSMediaRule=r.CSSMediaRule),Sn("CSSConditionRule")&&(c.CSSConditionRule=r.CSSConditionRule),Sn("CSSSupportsRule")&&(c.CSSSupportsRule=r.CSSSupportsRule));const l={};return Object.entries(c).forEach(([r,i])=>{l[r]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(l[r].insertRule,{apply:ln((r,i,o)=>{const[a,s]=o,{id:c,styleId:l}=vn(i.parentStyleSheet,t,n.styleMirror);return(c&&-1!==c||l&&-1!==l)&&e({id:c,styleId:l,adds:[{rule:a,index:[...gn(i),s||0]}]}),r.apply(i,o)})}),i.prototype.deleteRule=new Proxy(l[r].deleteRule,{apply:ln((r,i,o)=>{const[a]=o,{id:s,styleId:c}=vn(i.parentStyleSheet,t,n.styleMirror);return(s&&-1!==s||c&&-1!==c)&&e({id:s,styleId:c,removes:[{index:[...gn(i),a]}]}),r.apply(i,o)})})}),ln(()=>{r.CSSStyleSheet.prototype.insertRule=i,r.CSSStyleSheet.prototype.deleteRule=o,a&&(r.CSSStyleSheet.prototype.replace=a),s&&(r.CSSStyleSheet.prototype.replaceSync=s),Object.entries(c).forEach(([e,t])=>{t.prototype.insertRule=l[e].insertRule,t.prototype.deleteRule=l[e].deleteRule})})}(e,{win:n}),f=bn(e,e.doc),d=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:i}){const o=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(o,{apply:ln((i,a,s)=>{const[c,l,u]=s;if(n.has(c))return o.apply(a,[c,l,u]);const{id:f,styleId:d}=vn(a.parentRule?.parentStyleSheet,t,r.styleMirror);return(f&&-1!==f||d&&-1!==d)&&e({id:f,styleId:d,set:{property:c,value:l,priority:u},index:gn(a.parentRule)}),i.apply(a,s)})});const a=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(a,{apply:ln((i,o,s)=>{const[c]=s;
vendor: 2,373 bytes, line 2
2if(n.has(c))return a.apply(o,[c]);const{id:l,styleId:u}=vn(o.parentRule?.parentStyleSheet,t,r.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,remove:{property:c},index:gn(o.parentRule)}),i.apply(o,s)})}),ln(()=>{i.CSSStyleDeclaration.prototype.setProperty=o,i.CSSStyleDeclaration.prototype.removeProperty=a})}(e,{win:n}),e.collectFonts&&(h=function({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],i=new WeakMap,o=n.FontFace;n.FontFace=function(e,t,n){const r=new o(e,t,n);return i.set(r,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};const a=Tt(t.fonts,"add",function(t){return function(n){return Wt(ln(()=>{const t=i.get(n);t&&(e(t),i.delete(n))}),0),t.apply(this,[n])}});return r.push(()=>{n.FontFace=o}),r.push(a),ln(()=>{r.forEach(e=>e())})}(e)));const p=function(e){const{doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,selectionCb:a}=e;let s=!0;const c=ln(()=>{const e=t.getSelection();if(!e||s&&e?.isCollapsed)return;s=e.isCollapsed||!1;const c=[],l=e.rangeCount||0;for(let t=0;t<l;t++){const a=e.getRangeAt(t),{startContainer:s,startOffset:l,endContainer:u,endOffset:f}=a;Dt(s,r,i,o,!0)||Dt(u,r,i,o,!0)||c.push({start:n.getId(s),startOffset:l,end:n.getId(u),endOffset:f})}a({ranges:c})});return c(),kt("selectionchange",c)}(e),m=function({doc:e,customElementCb:t}){const n=e.defaultView;return n&&n.customElements?Tt(n.customElements,"define",function(e){return function(n,r,i){try{t({define:{name:n}})}catch(e){}return e.apply(this,[n,r,i])}}):()=>{}}(e),y=[];for(const t of e.plugins)y.push(t.observer(t.callback,n,t.options));return ln(()=>{un.forEach(e=>e.reset()),r?.disconnect(),i(),o(),a(),s(),c(),l(),u(),f(),d(),h(),p(),m(),y.forEach(e=>e())})}function xn(e){return void 0!==window[e]}function Sn(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class kn{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){const i=n||this.getIdToRemoteIdMap(e),o=r||this.getRemoteIdToIdMap(e);let a=i.get(t);return a||(a=this.generateIdFn(),i.set(t,a),o.set(a,t)),a}getIds(e,t){const n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,n,r))}
vendor: 4,457 bytes, line 2
2getRemoteId(e,t,n){const r=n||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;return r.get(t)||-1}getRemoteIds(e,t){const n=this.getRemoteIdToIdMap(e);return t.map(t=>this.getRemoteId(e,t,n))}reset(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}class En{constructor(){this.crossOriginIframeMirror=new kn(nt),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class _n{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new kn(nt),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new kn(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&e.contentWindow?.addEventListener("message",this.handleMessage.bind(this)),this.loadListener?.(e);const n=Yt(e);n&&n.adoptedStyleSheets&&n.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(n.adoptedStyleSheets,this.mirror.getId(n))}handleMessage(e){const t=e;if("rrweb"!==t.data.type||t.origin!==t.data.origin)return;if(!e.source)return;const n=this.crossOriginIframeMap.get(e.source);if(!n)return;const r=this.transformCrossOriginEvent(n,t.data.event);r&&this.wrappedEmit(r,t.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case Gt.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);const n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:Gt.IncrementalSnapshot,data:{source:Kt.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case Gt.Meta:case Gt.Load:case Gt.DomContentLoaded:return!1;case Gt.Plugin:return t;case Gt.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case Gt.IncrementalSnapshot:switch(t.data.source){case Kt.Mutation:return t.data.adds.forEach(t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);const n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)}),t.data.removes.forEach(t=>{this.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(t=>{this.replaceIds(t,e,["id"])}),t.data.texts.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case Kt.Drag:case Kt.TouchMove:case Kt.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case Kt.ViewportResize:return!1;case Kt.MediaInteraction:case Kt.MouseInteraction:case Kt.Scroll:case Kt.CanvasMutation:case Kt.Input:return this.replaceIds(t.data,e,["id"]),t;case Kt.StyleSheetRule:case Kt.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case Kt.Font:return t;case Kt.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,["start","end"])}),t;case Kt.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),t.data.styles?.forEach(t=>{this.replaceStyleIds(t,e,["styleId"])}),t}}return!1}replace(e,t,n,r){for(const i of r)(Array.isArray(t[i])||"number"==typeof t[i])&&(Array.isArray(t[i])?t[i]=e.getIds(n,t[i]):t[i]=e.getId(n,t[i]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEac
2h(e=>{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type===Ne.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(e=>{this.patchRootIdOnNode(e,t)})}}class Cn{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class An{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!Fe(e))return;if(this.shadowDoms.has(e))return;this.shadowDoms.add(e),this.bypassOptions.canvasManager.addShadowRoot(e);const n=dn({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>n.disconnect()),this.restoreHandlers.push(hn({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),Wt(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(bn({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){const t=Yt(e),n=function(e){try{return e.contentWindow}catch(e){}}(e);t&&n&&this.patchAttachShadow(n.Element,t)}patchAttachShadow(e,t){const n=this;this.restoreHandlers.push(Tt(e.prototype,"attachShadow",function(e){return function(r){const i=e.call(this,r);return this.shadowRoot&&$t(this)&&n.addShadowRoot(this.shadowRoot,t),i}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}for(var Tn="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Pn=0;Pn<64;Pn++)Tn["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(Pn)]=Pn;class On{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class Mn{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new Vt,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;const n={id:t,styleIds:[]},r=[];for(const t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),r.push({styleId:e,rules:Array.from(t.rules||CSSRule,(e,t)=>({rule:Be(e),index:t}))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class In{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,t){const n=this.nodeMap.get(e);return n&&Array.from(n).some(e=>e!==t)}add(e,t){this.active||(this.active=!0,function(...e){qt("requestAnimationFrame")(...e)}(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}let Rn,Dn;try{if(2!==Array.from([1],e=>2*e)[0]){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}const Nn=new ze;function jn(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:i="rr-block",blockSelector:o=null,unblockSelector:a=null,ignoreClass:s="rr-ignore",ignoreSelector:c=null,maskAllText:l=!1,maskTextClass:u="rr-mask",unmaskTextClass:f=null,maskTextSelector:d=null,unmaskTextSelector:h=null,inlineStylesheet:p=!0,maskAllInputs:m,maskInputOptions:y,slimDOMOptions:g,maskAttributeFn:v,maskInputFn:b,maskTextFn:w,maxCanvasSize:x=null,packFn:S,sampling:k={},dataURLOptions:E={},mousemoveWait:_,recordDOM:C=!0,recordCanvas:A=!1,recordCrossOriginIframes:T=!1,recordAfter:P=("DOMContentLoaded"===e.recordAfter?e.recordAfter:"load"),userTriggeredOnInput:O=!1,collectFonts:M=!1,inl
2ineImages:I=!1,plugins:R,keepIframeSrcFn:D=()=>!1,ignoreCSSAttributes:N=new Set([]),errorHandler:j,onMutation:F,getCanvasManager:L}=e;cn=j;const B=!T||window.parent===window;let z=!1;if(!B)try{window.parent.document&&(z=!1)}catch(e){z=!0}if(B&&!t)throw new Error("emit function is required");if(!B&&!z)return()=>{};void 0!==_&&void 0===k.mousemove&&(k.mousemove=_),Nn.reset();const V=!0===m?{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}:void 0!==y?y:{},U=!0===g||"all"===g?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===g,headMetaDescKeywords:"all"===g}:g||{};let $;!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw new TypeError("1 argument is required");do{if(this===t)return!0}while(t=t&&t.parentNode);return!1})}();let H=0;const q=e=>{for(const t of R||[])t.eventProcessor&&(e=t.eventProcessor(e));return S&&!z&&(e=S(e)),e};Rn=(e,i)=>{const o=e;if(o.timestamp=Pt(),!un[0]?.isFrozen()||o.type===Gt.FullSnapshot||o.type===Gt.IncrementalSnapshot&&o.data.source===Kt.Mutation||un.forEach(e=>e.unfreeze()),B)t?.(q(o),i);else if(z){const e={type:"rrweb",event:q(o),origin:window.location.origin,isCheckout:i};window.parent.postMessage(e,"*")}if(o.type===Gt.FullSnapshot)$=o,H=0;else if(o.type===Gt.IncrementalSnapshot){if(o.data.source===Kt.Mutation&&o.data.isAttachIframe)return;H++;const e=r&&H>=r,t=n&&$&&o.timestamp-$.timestamp>n;(e||t)&&ee(!0)}};const W=e=>{Rn({type:Gt.IncrementalSnapshot,data:{source:Kt.Mutation,...e}})},G=e=>Rn({type:Gt.IncrementalSnapshot,data:{source:Kt.Scroll,...e}}),K=e=>Rn({type:Gt.IncrementalSnapshot,data:{source:Kt.CanvasMutation,...e}}),Q=new Mn({mutationCb:W,adoptedStyleSheetCb:e=>Rn({type:Gt.IncrementalSnapshot,data:{source:Kt.AdoptedStyleSheet,...e}})}),J="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new En:new _n({mirror:Nn,mutationCb:W,stylesheetManager:Q,recordCrossOriginIframes:T,wrappedEmit:Rn});for(const e of R||[])e.getMirror&&e.getMirror({nodeMirror:Nn,crossOriginIframeMirror:J.crossOriginIframeMirror,crossOriginIframeStyleMirror:J.crossOriginIframeStyleMirror});const X=new In,Y=function(e,t){try{return e?e(t):new On}catch{return console.warn("Unable to initialize CanvasManager"),new On}}(L,{mirror:Nn,win:window,mutationCb:e=>Rn({type:Gt.IncrementalSnapshot,data:{source:Kt.CanvasMutation,...e}}),recordCanvas:A,blockClass:i,blockSelector:o,unblockSelector:a,maxCanvasSize:x,sampling:k.canvas,dataURLOptions:E,errorHandler:j}),Z="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new Cn:new An({mutationCb:W,scrollCb:G,bypassOptions:{onMutation:F,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:l,maskTextClass:u,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:h,inlineStylesheet:p,maskInputOptions:V,dataURLOptions:E,maskAttributeFn:v,maskTextFn:w,maskInputFn:b,recordCanvas:A,inlineImages:I,sampling:k,slimDOMOptions:U,iframeManager:J,stylesheetManager:Q,canvasManager:Y,keepIframeSrcFn:D,processedNodeManager:X},mirror:Nn}),ee=(e=!1)=>{if(!C)return;Rn({type:Gt.Meta,data:{href:window.location.href,width:It(),height:Mt()}},e),Q.reset(),Z.init(),un.forEach(e=>e.lock());const t=function(e,t){const{mirror:n=new ze,blockClass:r="rr-block",blockSelector:i=null,unblockSelector:o=null,maskAllText:a=!1,maskTextClass:s="rr-mask",unmaskTextClass:c=null,maskTextSelector:l=null,unmaskTextSelector:u=null,inlineStylesheet:f=!0,inlineImages:d=!1,recordCanvas:h=!1,maskAllInputs:p=!1,maskAttributeFn:m,maskTextFn:y,maskInputFn:g,slimDOM:v=!1,dataURLOptions:b,preserveWhiteSpace:w,onSerialize:x,onIframeLoad:S,iframeLoadTimeout:k,onStylesheetLoad:E,stylesheetLoadTimeout:_,keepIframeSrcFn:C=()=>!1}=t||{};return St(e,{doc:e,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:s,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:f,maskInputOptions:!0===p?{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}:!1===p?{}:p,maskAttributeFn:m,maskTextFn:y,maskInputFn:g,slimDOMOptions:!0===v||"all"===v?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===v,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}
2:!1===v?{}:v,dataURLOptions:b,inlineImages:d,recordCanvas:h,preserveWhiteSpace:w,onSerialize:x,onIframeLoad:S,iframeLoadTimeout:k,onStylesheetLoad:E,stylesheetLoadTimeout:_,keepIframeSrcFn:C,newlyAddedElement:!1})}(document,{mirror:Nn,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:l,maskTextClass:u,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:h,inlineStylesheet:p,maskAllInputs:V,maskAttributeFn:v,maskInputFn:b,maskTextFn:w,slimDOM:U,dataURLOptions:E,recordCanvas:A,inlineImages:I,onSerialize:e=>{Lt(e,Nn)&&J.addIframe(e),Bt(e,Nn)&&Q.trackLinkElement(e),zt(e)&&Z.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{J.attachIframe(e,t),e.contentWindow&&Y.addWindow(e.contentWindow),Z.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{Q.attachLinkElement(e,t)},keepIframeSrcFn:D});if(!t)return console.warn("Failed to snapshot the document");Rn({type:Gt.FullSnapshot,data:{node:t,initialOffset:Ot(window)}}),un.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Q.adoptStyleSheets(document.adoptedStyleSheets,Nn.getId(document))};Dn=ee;try{const e=[],t=e=>ln(wn)({onMutation:F,mutationCb:W,mousemoveCb:(e,t)=>Rn({type:Gt.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>Rn({type:Gt.IncrementalSnapshot,data:{source:Kt.MouseInteraction,...e}}),scrollCb:G,viewportResizeCb:e=>Rn({type:Gt.IncrementalSnapshot,data:{source:Kt.ViewportResize,...e}}),inputCb:e=>Rn({type:Gt.IncrementalSnapshot,data:{source:Kt.Input,...e}}),mediaInteractionCb:e=>Rn({type:Gt.IncrementalSnapshot,data:{source:Kt.MediaInteraction,...e}}),styleSheetRuleCb:e=>Rn({type:Gt.IncrementalSnapshot,data:{source:Kt.StyleSheetRule,...e}}),styleDeclarationCb:e=>Rn({type:Gt.IncrementalSnapshot,data:{source:Kt.StyleDeclaration,...e}}),canvasMutationCb:K,fontCb:e=>Rn({type:Gt.IncrementalSnapshot,data:{source:Kt.Font,...e}}),selectionCb:e=>{Rn({type:Gt.IncrementalSnapshot,data:{source:Kt.Selection,...e}})},customElementCb:e=>{Rn({type:Gt.IncrementalSnapshot,data:{source:Kt.CustomElement,...e}})},blockClass:i,ignoreClass:s,ignoreSelector:c,maskAllText:l,maskTextClass:u,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:h,maskInputOptions:V,inlineStylesheet:p,sampling:k,recordDOM:C,recordCanvas:A,inlineImages:I,userTriggeredOnInput:O,collectFonts:M,doc:e,maskAttributeFn:v,maskInputFn:b,maskTextFn:w,keepIframeSrcFn:D,blockSelector:o,unblockSelector:a,slimDOMOptions:U,dataURLOptions:E,mirror:Nn,iframeManager:J,stylesheetManager:Q,shadowDomManager:Z,processedNodeManager:X,canvasManager:Y,ignoreCSSAttributes:N,plugins:R?.filter(e=>e.observer)?.map(e=>({observer:e.observer,options:e.options,callback:t=>Rn({type:Gt.Plugin,data:{plugin:e.name,payload:t}})}))||[]},{});J.addLoadListener(n=>{try{e.push(t(n.contentDocument))}catch(e){console.warn(e)}});const n=()=>{ee(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(kt("DOMContentLoaded",()=>{Rn({type:Gt.DomContentLoaded,data:{}}),"DOMContentLoaded"===P&&n()})),e.push(kt("load",()=>{Rn({type:Gt.Load,data:{}}),"load"===P&&n()},window))),()=>{e.forEach(e=>e()),X.destroy(),Dn=void 0,cn=void 0}}catch(e){console.warn(e)}}var Fn,Ln;function Bn(e){return e>9999999999?e:1e3*e}function zn(e){return e>9999999999?e/1e3:e}function Vn(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:Gt.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:(0,i.S8)(t,10,1e3)}}),"console"===t.category)))}function Un(e){return e.closest("button,a")||e}function $n(e){const t=Hn(e);return t&&t instanceof Element?Un(t):t}function Hn(e){return function(e){return"object"==typeof e&&!!e&&"target"in e}(e)?e.target:e}let qn;jn.mirror=Nn,jn.takeFullSnapshot=function(e){if(!Dn)throw new Error("please take full snapshot after start recording");Dn(e)},(Ln=Fn||(Fn={}))[Ln.NotStarted=0]="NotStarted",Ln[Ln.Running=1]="Running",Ln[Ln.Stopped=2]="Stopped";const Wn=new Set([Kt.Mutation,Kt.StyleSheetRule,Kt.StyleDeclaration,Kt.AdoptedStyleSheet,Kt.CanvasMutation,Kt.Selection,Kt.MediaInteraction]);class Gn{constructor(e,t,n=Vn){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scrollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){const e=(t=()=>{this._lastMutation=Qn()},qn||(qn=[],(0,o.GS)(Ae,"open",function(e){return function(...t){if(qn)try{qn.forEac
2h(e=>e())}catch(e){}return e.apply(Ae,t)}})),qn.push(t),()=>{const e=qn?qn.indexOf(t):-1;e>-1&&qn.splice(e,1)});var t;this._teardown=()=>{e(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){if(function(e,t){return!Kn.includes(e.tagName)||("INPUT"===e.tagName&&!["submit","button"].includes(e.getAttribute("type")||"")||(!("A"!==e.tagName||!(e.hasAttribute("download")||e.hasAttribute("target")&&"_self"!==e.getAttribute("target")))||!(!t||!e.matches(t))))}(t,this._ignoreSelector)||!function(e){return!(!e.data||"number"!=typeof e.data.nodeId||!e.timestamp)}(e))return;const n={timestamp:zn(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some(e=>e.node===n.node&&Math.abs(e.timestamp-n.timestamp)<1)||(this._clicks.push(n),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=zn(e)}registerScroll(e=Date.now()){this._lastScroll=zn(e)}registerClick(e){const t=Un(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(t=>t.node===e)}_checkClicks(){const e=[],t=Qn();this._clicks.forEach(n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)});for(const t of e){const e=this._clicks.indexOf(t);e>-1&&(this._generateBreadcrumbs(t),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){const t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scrollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,i=!n&&!r,{clickCount:o,clickBreadcrumb:a}=e;if(i){const n=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",i={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.slowClickDetected",data:{...a.data,url:Ae.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:o||1}};return void this._addBreadcrumbEvent(t,i)}if(o>1){const e={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.multiClick",data:{...a.data,url:Ae.location.href,route:t.getCurrentRoute(),clickCount:o,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=(0,C.wg)(()=>this._checkClicks(),1e3)}}const Kn=["A","BUTTON","INPUT"];function Qn(){return Date.now()/1e3}function Jn(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var Xn=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(Xn||{});const Yn=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function Zn(e){const t={};!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]);for(const n in e)if(Yn.has(n)){let r=n;"data-testid"!==n&&"data-test-id"!==n||(r="testId"),t[r]=e[n]}return t}function er(e,t){const n=jn.mirror.getId(e),r=n&&jn.mirror.getNode(n),i=r&&jn.mirror.getMeta(r),o=i&&function(e){return e.type===Xn.Element}(i)?i:null;return{message:t,data:o?{nodeId:n,node:{id:n,tagName:o.tagName,textContent:Array.from(o.childNodes).map(e=>e.type===Xn.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(""),attributes:Zn(o.attributes)}}:{}}}const tr={resource:function(e){const{entryType:t,initiatorType:n,name:r,responseEnd:i,startTime:o,decodedBodySize:a,encodedBodySize:s,responseStatus:c,transferSize:l}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:ir(o),end:ir(i),name:r,data:{size:l,statusCode:c,decodedBodySize:a,encodedBodySize:s}}},paint:function(e){const{duration:t,entryType:n,name:r,startTime:i}=e,o=ir(i);return{type:n,name:r,start:o,end:o+t,data:void 0}},navigation:function(e){const{entryType:t,name:n,decodedBodySize:r,duration:i,domComplete:o,encodedBodySize:a,domContentLoadedEventStart:s,domContentLoadedEventEnd:c,domInteractive:l,loadEventStart:u,loadEventEnd:f,redirectCount:d,startTime:h,transferSize:p,type:m}=e;return 0===i?null:{type:`${t}.${m}`,start:ir(h),end:ir(o),name:n,data:{size:p,decodedBodySize:r,encodedBodySize:a,duration:i,domInteractive:l,domContentLoadedEventStart:s,domContentLoadedEventEnd:c,loadEventStart:u,loadEventEnd:f,domComplete:o,redirectCount:d}}}};function nr(e,t){return({metric:n})=>{t.replayPerformanceEntries.push(e(n))}}function rr(e){const t=tr[e.entryType];return t?t(e):null}function ir(e){return(((0,s.k3)()||Ae.performance.timeOrigin)+e)/1e3}function or(e){const t=e.entries[e.entries.length-1];return ur(e,"largest-contentful-paint",t?.element?[t.element]:void 0)}function ar(e){return void 0!==e.sources}function sr(e){const t=[],n=[];for(const r of e.entries)if(ar(r)){const e=[];for(const t of r.sources)if(t.node){n.push(t.node);const r=jn.mirror.getId(t.node);r&&e.push(r)}t.push({value:r.value,nodeIds:e.length?e:void 0})}return ur(e,"cumulative-layout-shift",n,t)}function cr(e){const t=e.entries[e.entries.length-1];return ur(e,"first-input-delay",t?.target?[t.target]:void 0)}function lr(e){const t=e.entries[e.entries.length-1];return ur(e,"interaction-to-next-paint",t?.target?[t.target]:void 0)}function ur(e,t,n,r){const i=e.value,o=e.rating,a=ir(i);return{type:"web-vital",name:t,start:a,end:a,data:{value:i,size:i,rating:o,nodeIds:n?n.map(e=>jn.mirror.getId(e)):void 0,attributions:r}}}function fr(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function n({entries:e}){e.forEach(t)}const r=[];
2return["navigation","paint","resource"].forEach(e=>{r.push(function(e,t){return be(e,t),ce[e]||(function(e){const t={};"event"===e&&(t.durationThreshold=0),F(e,t=>{he(e,{entries:t})},t)}(e),ce[e]=!0),we(e,t)}(e,n))}),r.push(function(e,t=!1){return ve("lcp",e,ye,fe,t)}(nr(or,e)),function(e,t=!1){return ve("cls",e,pe,le,t)}(nr(sr,e)),ve("fid",nr(cr,e),me,ue),ve("inp",nr(lr,e),ge,de)),()=>{r.forEach(e=>e())}}const dr="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,hr=["info","warn","error","log"],pr="[Replay] ";function mr(e,t="info"){(0,c.Z)({category:"console",data:{logger:"replay"},level:t,message:`${pr}${e}`},{level:t})}const yr=function(){let e=!1,t=!1;const n={exception:()=>{},infoTick:()=>{},setConfig:n=>{e=!!n.captureExceptions,t=!!n.traceInternals}};return dr?(hr.forEach(e=>{n[e]=(...n)=>{l.vF[e](pr,...n),t&&mr(n.join(""),(0,u.t)(e))}}),n.exception=(r,...i)=>{i.length&&n.error&&n.error(...i),l.vF.error(pr,r),e?(0,f.Cp)(r):t&&mr(r,"error")},n.infoTick=(...e)=>{l.vF.info(pr,...e),t&&setTimeout(()=>mr(e[0]),0)}):hr.forEach(e=>{n[e]=()=>{}}),n}();class gr extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class vr{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(e){const t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>Ie)throw new gr;this.events.push(e)}finish(){return new Promise(e=>{const t=this.events;this.clear(),e(JSON.stringify(t))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){const e=this.events.map(e=>e.timestamp).sort()[0];return e?Bn(e):null}}class br{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((e,t)=>{this._worker.addEventListener("message",({data:n})=>{n.success?e():t()},{once:!0}),this._worker.addEventListener("error",e=>{t(e)},{once:!0})})),this._ensureReadyPromise}destroy(){dr&&yr.info("Destroying compression worker"),this._worker.terminate()}postMessage(e,t){const n=this._getAndIncrementId();return new Promise((r,i)=>{const o=({data:t})=>{const a=t;if(a.method===e&&a.id===n){if(this._worker.removeEventListener("message",o),!a.success)return dr&&yr.error("Error in compression worker: ",a.response),void i(new Error("Error in compression worker"));r(a.response)}};this._worker.addEventListener("message",o),this._worker.postMessage({id:n,method:e,arg:t})})}_getAndIncrementId(){return this._id++}}class wr{constructor(e){this._worker=new br(e),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(e){const t=Bn(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);const n=JSON.stringify(e);return this._totalSize+=n.length,this._totalSize>Ie?Promise.reject(new gr):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{dr&&yr.exception(e,'Sending "clear" message to worker failed',e)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){const e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class xr{constructor(e){this._fallback=new vr,this._compression=new wr(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=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(e){this._used.hasCheckout=e}set waitForCheckout(e){this._used.waitForCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}
2async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){return void(dr&&yr.exception(e,"Failed to load the compression worker, falling back to simple buffer"))}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:e,hasCheckout:t,waitForCheckout:n}=this._fallback,r=[];for(const t of e)r.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._compression.waitForCheckout=n,this._used=this._compression;try{await Promise.all(r),this._fallback.clear()}catch(e){dr&&yr.exception(e,"Failed to add events when switching buffers.")}}}function Sr(){try{return"sessionStorage"in Ae&&!!Ae.sessionStorage}catch{return!1}}function kr(e){return void 0!==e&&Math.random()<e}function Er(e){if(Sr())try{Ae.sessionStorage.setItem(Te,JSON.stringify(e))}catch{}}function _r(e){const t=Date.now();return{id:e.id||(0,d.eJ)(),started:e.started||t,lastActivity:e.lastActivity||t,segmentId:e.segmentId||0,sampled:e.sampled,previousSessionId:e.previousSessionId}}function Cr({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){const i=function(e,t){return kr(e)?"session":!!t&&"buffer"}(e,t),o=_r({sampled:i,previousSessionId:r});return n&&Er(o),o}function Ar(e,t,n=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=n}function Tr(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return Ar(e.started,t,r)||Ar(e.lastActivity,n,r)}function Pr(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!!Tr(e,{sessionIdleExpire:t,maxReplayDuration:n})&&("buffer"!==e.sampled||0!==e.segmentId)}function Or({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){const i=r.stickySession&&function(){if(!Sr())return null;try{const e=Ae.sessionStorage.getItem(Te);if(!e)return null;const t=JSON.parse(e);return dr&&yr.infoTick("Loading existing session"),_r(t)}catch{return null}}();return i?Pr(i,{sessionIdleExpire:e,maxReplayDuration:t})?(dr&&yr.infoTick("Session in sessionStorage is expired, creating new one..."),Cr(r,{previousSessionId:i.id})):i:(dr&&yr.infoTick("Creating new session"),Cr(r,{previousSessionId:n}))}function Mr(e,t,n){return!!Rr(e,t)&&(Ir(e,t,n),!0)}async function Ir(e,t,n){const{eventBuffer:r}=e;if(!r||r.waitForCheckout&&!n)return null;const i="buffer"===e.recordingMode;try{n&&i&&r.clear(),n&&(r.hasCheckout=!0,r.waitForCheckout=!1);const o=function(e,t){try{if("function"==typeof t&&function(e){return e.type===Gt.Custom}(e))return t(e)}catch(e){return dr&&yr.exception(e,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}(t,e.getOptions().beforeAddRecordingEvent);if(!o)return;return await r.addEvent(o)}catch(t){const n=t&&t instanceof gr,o=n?"addEventSizeExceeded":"addEvent";if(n&&i)return r.clear(),r.waitForCheckout=!0,null;e.handleException(t),await e.stop({reason:o});const a=(0,h.KU)();a&&a.recordDroppedEvent("internal_sdk_error","replay")}}function Rr(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const n=Bn(t.timestamp);return!(n+e.timeouts.sessionIdlePause<Date.now()||n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration&&(dr&&yr.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),1))}function Dr(e){return!e.type}function Nr(e){return"transaction"===e.type}function jr(e){return"feedback"===e.type}function Fr(e){return!!e.category}function Lr(){const e=(0,h.o5)().getPropagationContext().dsc;e&&delete e.replay_id;const t=(0,p.Bk)();t&&delete(0,m.k1)(t).replay_id}function Br(e,t){return t.map(({type:t,start:n,end:r,name:i,data:o})=>{const a=e.throttledAddEvent({type:Gt.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:i,startTimestamp:n,endTimestamp:r,data:o}}});return"string"==typeof a?Promise.resolve(null):a})}function zr(e,t){e.isEnabled()&&null!==t&&(function(e,t){return(!dr||!e.getOptions()._experiments.traceInternals)&&(0,y.A)(t,(0,h.KU)())}(e,t.name)||e.addUpdate(()=>(Br(e,[t]),!0)))}function Vr(e){if(!e)return;const t=new TextEncoder;try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){const n=xe(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function Ur(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function $r(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};const n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function Hr(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:i,method:o,statusCode:a,request:s,response:c}=t;return{type:e,start:n/1e3,end:r/1e3,name:i,data:{method:o,statusCode:a,request:s,response:c}}}function qr(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function Wr(e,t,n){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const r={headers:e,size:t},{body:i,warnings:o}=function(e){if(!e||"string"!=typeof e)return{body:e};const t=e.length>Oe,n=function(e){const t=e[0],n=e[e.length-1];return"["===t&&"]"===n||"{"===t&&"}"===n}(e);if(t){const t=e.slice(0,Oe);return n?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}…`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch{}return{body:e}}(n);return r.body=i,o?.length&&(r._meta={warnings:o}),r}function Gr(e,t){return Object.entries(e).reduce((n,[r,i])=>{const o=r.toLowerCase();return t.includes(o)&&e[r]&&(n[o]=i),n},{})}function Kr(e,t){const n=function(e,t=Ae.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(Ae.location.origin))return e;const n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;const r=n.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}(e);return(0,g.Xr)(n,t)}function Qr(e,t){const n={};return t.forEach(t=>{e.get(t)&&(n[t]=e.get(t))}),n}function Jr(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?Qr(n,t):Array.isArray(n)?{}:Gr(n,t):{}}function Xr(e){const t=(0,h.KU)();try{const{networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:i,networkRequestHeaders:o,networkResponseHeaders:a}=e.getOptions(),s={replay:e,networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:i,networkRequestHeaders:o,networkResponseHeaders:a};t&&t.on("beforeAddBreadcrumb",(e,t)=>function(e,t,n){if(t.data)try{(function(e){return"xhr"===e.category})(t)&&function(e){return e?.xhr}(n)&&(function(e,t){const{xhr:n,input:r}=t;if(!n)return;const i=Vr(r),o=n.getResponseHeader("content-length")?Ur(n.getResponseHeader("content-length")):function(e,t){try{return Vr("json"===t&&e&&"object"==typeof e?JSON.stringify(e):e)}catch{return}}(n.response,n.responseType);void 0!==i&&(e.data.request_body_size=i),void 0!==o&&(e.data.response_body_size=o)}(t,n),async function(e,t,n){try{const r=function(e,t,n){const r=Date.now(),{startTimestamp:i=r,endTimestamp:o=r,input:a,xhr:s}=t,{url:c,method:l,status_code:u=0,request_body_size:f,response_body_size:d}=e.data;if(!c)return null;if(!s||!Kr(c,n.networkDetailAllowUrls)||Kr(c,n.networkDetailDenyUrls))return{startTimestamp:i,endTimestamp:o,url:c,method:l,statusCode:u,request:qr(f),response:qr(d)};const h=s[Ee.Er],p=h?Gr(h.request_headers,n.networkRequestHeaders):{},m=Gr(function(e){const t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce((e,t)=>
2{const[n,r]=t.split(": ");return r&&(e[n.toLowerCase()]=r),e},{}):{}}(s),n.networkResponseHeaders),[y,g]=n.networkCaptureBodies?Se(a,yr):[void 0],[v,b]=n.networkCaptureBodies?function(e){const t=[];try{return[e.responseText]}catch(e){t.push(e)}try{return function(e,t){try{if("string"==typeof e)return[e];if(e instanceof Document)return[e.body.outerHTML];if("json"===t&&e&&"object"==typeof e)return[JSON.stringify(e)];if(!e)return[void 0]}catch(t){return dr&&yr.exception(t,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return dr&&yr.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}(e.response,e.responseType)}catch(e){t.push(e)}return dr&&yr.warn("Failed to get xhr response body",...t),[void 0]}(s):[void 0],w=Wr(p,f,y),x=Wr(m,d,v);return{startTimestamp:i,endTimestamp:o,url:c,method:l,statusCode:u,request:g?$r(w,g):w,response:b?$r(x,b):x}}(e,t,n),i=Hr("resource.xhr",r);zr(n.replay,i)}catch(e){dr&&yr.exception(e,"Failed to capture xhr breadcrumb")}}(t,n,e)),function(e){return"fetch"===e.category}(t)&&function(e){return e?.response}(n)&&(function(e,t){const{input:n,response:r}=t,i=Vr(n?ke(n):void 0),o=r?Ur(r.headers.get("content-length")):void 0;void 0!==i&&(e.data.request_body_size=i),void 0!==o&&(e.data.response_body_size=o)}(t,n),async function(e,t,n){try{const r=await async function(e,t,n){const r=Date.now(),{startTimestamp:i=r,endTimestamp:o=r}=t,{url:a,method:s,status_code:c=0,request_body_size:l,response_body_size:u}=e.data,f=Kr(a,n.networkDetailAllowUrls)&&!Kr(a,n.networkDetailDenyUrls),d=f?function({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const i=n?(a=t,1===(o=n).length&&"string"!=typeof o[0]?Jr(o[0],a):2===o.length?Jr(o[1],a):{}):{};var o,a;if(!e)return Wr(i,r,void 0);const s=ke(n),[c,l]=Se(s,yr),u=Wr(i,r,c);return l?$r(u,l):u}(n,t.input,l):qr(l),h=await async function(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,i){if(!e&&void 0!==i)return qr(i);const o=r?Qr(r.headers,n):{};if(!r||!t&&void 0!==i)return Wr(o,i,void 0);const[a,s]=await async function(e){const t=function(e){try{return e.clone()}catch(e){dr&&yr.exception(e,"Failed to clone response body")}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{const e=await function(e){return new Promise((t,n)=>{const r=(0,C.wg)(()=>n(new Error("Timeout while trying to read response body")),500);(async function(e){return await e.text()})(e).then(e=>t(e),e=>n(e)).finally(()=>clearTimeout(r))})}(t);return[e]}catch(e){return e instanceof Error&&e.message.indexOf("Timeout")>-1?(dr&&yr.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"]):(dr&&yr.exception(e,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"])}}(r),c=function(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:i}){try{const o=e?.length&&void 0===n?Vr(e):n;return r?Wr(i,o,t?e:void 0):qr(o)}catch(e){return dr&&yr.exception(e,"Failed to serialize response body"),Wr(i,n,void 0)}}(a,{networkCaptureBodies:t,responseBodySize:i,captureDetails:e,headers:o});return s?$r(c,s):c}(f,n,t.response,u);return{startTimestamp:i,endTimestamp:o,url:a,method:s,statusCode:c,request:d,response:h}}(e,t,n),i=Hr("resource.fetch",r);zr(n.replay,i)}catch(e){dr&&yr.exception(e,"Failed to capture fetch breadcrumb")}}(t,n,e))}catch(e){dr&&yr.exception(e,"Error when enriching network breadcrumb")}}(s,e,t))}catch{}}function Yr(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}const Zr=r.O.navigator;function ei(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession())return void(dr&&yr.warn("Received replay event after session expired."));const i=r||!t;t=!0,e.clickDetector&&function(e,t){try{if(!function(e){return 3===e.type}(t))return;const{source:n}=t.data;if(Wn.has(n)&&e.registerMutation(t.timestamp),n===Kt.Scroll&&e.registerScroll(t.timestamp),function(e){return e.data.source===Kt.MouseInteraction}(t)){const{type:n,id:r}=t.data,i=jn.mirror.getNode(r);i instanceof HTMLElement&&n===Qt.Click&&e.registerClick(i)}}catch{}}(e.clickDetector,n),e.addUpdate(()=>{if("buffer"===e.recordingMode&&i&&e.setInitialState(),!Mr(e,n,i))return!0;
2if(!i)return!1;const t=e.session;if(function(e,t){t&&e.session&&0===e.session.segmentId&&Mr(e,function(e){const t=e.getOptions();return{type:Gt.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}(e),!1)}(e,i),"buffer"===e.recordingMode&&t&&e.eventBuffer){const n=e.eventBuffer.getEarliestTimestamp();n&&(dr&&yr.info(`Updating session start time to earliest event in buffer to ${new Date(n)}`),t.started=n,e.getOptions().stickySession&&Er(t))}return t?.previousSessionId||"session"===e.recordingMode&&e.flush(),!0})}}function ti(e,t,n,r){return(0,v.h4)((0,v.n2)(e,(0,v.Cj)(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:"string"==typeof t?(new TextEncoder).encode(t).length:t.length},t]])}
2class ni extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class ri extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function ii(e,t={count:0,interval:5e3}){const{recordingData:n,onError:r}=e;if(n.length)try{return await async function({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:i,session:o}){const a=function({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)}\n`;if("string"==typeof e)n=`${r}${e}`;else{const t=(new TextEncoder).encode(r);n=new Uint8Array(t.length+e.length),n.set(t),n.set(e,t.length)}return n}({recordingData:e,headers:{segment_id:n}}),{urls:s,errorIds:c,traceIds:l,initialTimestamp:u}=r,f=(0,h.KU)(),d=(0,h.o5)(),p=f?.getTransport(),m=f?.getDsn();if(!(f&&p&&m&&o.sampled))return(0,w.XW)({});const y={type:"replay_event",replay_start_timestamp:u/1e3,timestamp:i/1e3,error_ids:c,trace_ids:l,urls:s,replay_id:t,segment_id:n,replay_type:o.sampled},g=await async function({client:e,scope:t,replayId:n,event:r}){const i={event_id:n,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit("preprocessEvent",r,i);const o=await(0,b.mG)(e.getOptions(),r,i,t,e,(0,h.rm)());if(!o)return null;e.emit("postprocessEvent",o,i),o.platform=o.platform||"javascript";const a=e.getSdkMetadata(),{name:s,version:c}=a?.sdk||{};return o.sdk={...o.sdk,name:s||"sentry.javascript.unknown",version:c||"0.0.0"},o}({scope:d,client:f,replayId:t,event:y});if(!g)return f.recordDroppedEvent("event_processor","replay"),dr&&yr.info("An event processor returned `null`, will not send event."),(0,w.XW)({});delete g.sdkProcessingMetadata;const v=ti(g,a,m,f.getOptions().tunnel);let S;try{S=await p.send(v)}catch(e){const t=new Error(Pe);try{t.cause=e}catch{}throw t}if("number"==typeof S.statusCode&&(S.statusCode<200||S.statusCode>=300))throw new ni(S.statusCode);const k=(0,x.wq)({},S);if((0,x.Jz)(k,"replay"))throw new ri(k);return S}(e),!0}catch(n){if(n instanceof ni||n instanceof ri)throw n;if((0,f.o)("Replays",{_retryCount:t.count}),r&&r(n),t.count>=3){const e=new Error(`${Pe} - max retries exceeded`);try{e.cause=n}catch{}throw e}return t.interval*=++t.count,new Promise((n,r)=>{(0,C.wg)(async()=>{try{await ii(e,t),n(!0)}catch(e){r(e)}},t.interval)})}}const oi="__THROTTLED";class ai{constructor({options:e,recordingOptions:t}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,n){let r,i,o;const a=n?.maxWait?Math.max(n.maxWait,t):0;function s(){return c(),r=e(),r}function c(){void 0!==i&&clearTimeout(i),void 0!==o&&clearTimeout(o),i=o=void 0}function l(){return i&&clearTimeout(i),i=(0,C.wg)(s,t),a&&void 0===o&&(o=(0,C.wg)(s,a)),r}return l.cancel=c,l.flush=function(){return void 0!==i||void 0!==o?s():r},l}(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=function(e,t,n){const r=new Map;let i=!1;return(...o)=>{const a=Math.floor(Date.now()/1e3);if((e=>{const t=e-n;r.forEach((e,n)=>{n<t&&r.delete(n)})})(a),[...r.values()].reduce((e,t)=>e+t,0)>=t){const e=i;return i=!0,e?"__SKIPPED":oi}i=!1;const s=r.get(a)||0;return r.set(a,s+1),e(...o)}}((e,t)=>function(e,t,n){return Rr(e,t)?Ir(e,t,n):Promise.resolve(null)}(this,e,t),300,5);const{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),i=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;if(i&&(this.clickDetector=new Gn(this,i)),dr){const t=e._experiments;yr.setConfig({captureExceptions:!!t.captureExceptions,traceInternals:!!t.traceInternals})}this._handleVisibilityChange=()=>{"visible"===Ae.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroun
2dTasks()},this._handleWindowBlur=()=>{const e=Jn({category:"ui.blur"});this._doChangeToBackgroundTasks(e)},this._handleWindowFocus=()=>{const e=Jn({category:"ui.focus"});this._doChangeToForegroundTasks(e)},this._handleKeyboardEvent=e=>{!function(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=function(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:o,target:s}=e;if(!s||function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable}(s)||!o)return null;const c=t||r||i,l=1===o.length;if(!c&&l)return null;const u=(0,a.Hd)(s,{maxStringLength:200})||"<unknown>";return Jn({category:"ui.keyDown",message:u,data:{...er(s,u).data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:o}})}(t);n&&Vn(e,n)}(this,e)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return Boolean(this._canvas)}getOptions(){return this._options}handleException(e){dr&&yr.exception(e),this._options.onError&&this._options.onError(e)}initializeSampling(e){const{errorSampleRate:t,sessionSampleRate:n}=this._options,r=t<=0&&n<=0;this._requiresManualStart=r,r||(this._initializeSessionForSampling(e),this.session?!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",dr&&yr.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording()):dr&&yr.exception(new Error("Unable to initialize and create session")))}start(){if(this._isEnabled&&"session"===this.recordingMode)return void(dr&&yr.info("Recording is already in progress"));if(this._isEnabled&&"buffer"===this.recordingMode)return void(dr&&yr.info("Buffering is in progress, call `flush()` to save the replay"));dr&&yr.infoTick("Starting replay in session mode"),this._updateUserActivity();const e=Or({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this._initializeRecording()}startBuffering(){if(this._isEnabled)return void(dr&&yr.info("Buffering is in progress, call `flush()` to save the replay"));dr&&yr.infoTick("Starting replay in buffer mode");const e=Or({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const e=this._canvas;this._stopRecording=jn({...this._recordingOptions,..."buffer"===this.recordingMode?{checkoutEveryNms:6e4}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:ei(this),.../iPhone|iPad|iPod/i.test(Zr?.userAgent??"")||/Macintosh/i.test(Zr?.userAgent??"")&&Zr?.maxTouchPoints&&Zr?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{},onMutation:this._onMutationHandler.bind(this),...e?{recordCanvas:e.recordCanvas,getCanvasManager:e.getCanvasManager,sampling:e.sampling,dataURLOptions:e.dataURLOptions}:{}})}catch(e){this.handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this.handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1;try{dr&&yr.info("Stopping Replay"+(t?` triggered by ${t}`:"")),Lr(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,n=this,function(){if(Sr())try{Ae.sessionStorage.removeItem(Te)}catch{}}(),n.session=void 0}catch(e){this.handleException(e)}}var n}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),dr&&yr.info("Pausing replay"))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),dr&&yr.info("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();const t=Date.now();dr&&yr.info("Converting buffer to session"),await this.flushImmediate();const n=this.stopRecording();e&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){const t=e();"buffer"!==this.recordingMode&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),this._stopRecording)this.checkAndHandleExpiredSession(),this._updateSessionActivity();else{if(!this._checkSession())return;this.resume()}}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session?.id}
2checkAndHandleExpiredSession(){if(!(this._lastActivity&&Ar(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled))return!!this._checkSession();this.pause()}setInitialState(){const e=`${Ae.location.pathname}${Ae.location.hash}${Ae.location.search}`,t=`${Ae.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){const n=this._throttledAddEvent(e,t);if(n===oi){const e=Jn({category:"replay.throttled"});this.addUpdate(()=>!Mr(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return n}getCurrentRoute(){const e=this.lastActiveSpan||(0,p.Bk)(),t=e&&(0,p.zU)(e),n=(t&&(0,p.et)(t).data||{})[S.i_];if(t&&n&&["route","custom"].includes(n))return(0,p.et)(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=function({useCompression:e,workerUrl:t}){if(e&&window.Worker){const e=function(e){try{const t=e||("undefined"!=typeof __SENTRY_EXCLUDE_REPLAY_WORKER__&&__SENTRY_EXCLUDE_REPLAY_WORKER__?"":function(){const e=new Blob(['var 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))}
vendor: 4,591 bytes, line 2
2,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;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}}},L=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}}},O=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;
2++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)},j=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},q=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&&j(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)}},B=function(t){return 10+(t.filename?t.filename.length+1:0)},G=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(O(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}();var H=function(){function t(t,n){this.c=L(),this.v=1,G.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),G.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=O(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=L();i.p(n.dictionary),j(t,2,i.d())}}(r,this.o),this.v=0),n&&j(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){G.prototype.flush.call(this)},t}(),J="undefined"!=typeof TextEncoder&&new TextEncoder,K="undefined"!=typeof TextDecoder&&new TextDecoder;try{K.decode(F,{stream:!0})}catch(t){}var N=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(P(t),this.d=n||!1)},t}();function P(n,r){if(J)return J.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)}function Q(t){return function(t,n){n||(n={});var r=S(),e=t.length;r.p(t);var i=O(t,n,B(n),8),s=i.length;return q(i,n),j(i,s-8,r.d()),j(i,s-4,e),i}(P(t))}const R=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 H,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new N(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},V={clear:()=>{R.clear()},addEvent:t=>R.addEvent(t),finish:()=>R.finish(),compress:t=>Q(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in V&&"function"==typeof V[n])try{const t=V[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});']);return URL.createObjectURL(e)}());if(!t)return;dr&&yr.info("Using compression worker"+(e?` from ${e}`:""));const n=new Worker(t);return new xr(n)}catch(e){dr&&yr.exception(e,"Failed to create compression worker")}}(t);if(e)return e}return dr&&yr.info("Using simple buffer"),new vr}({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(e){const t=this._options.errorSampleRate>0,n=Or({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;const e=this.session;return!Pr(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{Ae.document.addEventListener("visibilitychange",this._handleVisibilityChange),Ae.addEventListener("blur",this._handleWindowBlur),Ae.addEventListener("focus",this._handleWindowFocus),Ae.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(function(e,{autoFlushOnFeedback:t}){const n=(0,h.KU)();(0,_e.i)((e=>t=>{if(!e.isEnabled())return;const n=function(e){const{target:t,message:n}=function(e){const t="click"===e.name;let n,r=null;try{r=t?$n(e.event):Hn(e.event),n=(0,a.Hd)(r,{maxStringLength:200})||"<unknown>"}catch(e){n="<unknown>"}return{target:r,message:n}}(e);return Jn({category:`ui.${e.name}`,...er(t,n)})}(t);if(!n)return;const r="click"===t.name,i=r?t.event:void 0;var o,s,c;!(r&&e.clickDetector&&i&&i.target)||i.altKey||i.metaKey||i.ctrlKey||i.shiftKey||(o=e.clickDetector,s=n,c=$n(t.event),o.handleClick(s,c)),Vn(e,n)})(e)),(0,Ce._)(function(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(Br(e,[n]),!1)))}}(e)),function(e){const t=(0,h.KU)();t&&t.on("beforeAddBreadcrumb",t=>function(e,t){if(!e.isEnabled()||!Fr(t))return;const n=function(e){return!Fr(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:"console"===e.category?function(e){const t=e.data?.arguments;if(!Array.isArray(t)||0===t.length)return Jn(e);let n=!1;const r=t.map(e=>{if(!e)return e;if("string"==typeof e)return e.length>Me?(n=!0,`${e.slice(0,Me)}…`):e;if("object"==typeof e)try{const t=(0,i.S8)(e,7);return JSON.stringify(t).length>Me?(n=!0,`${JSON.stringify(t,null,2).slice(0,Me)}…`):t}catch{}return e});return Jn({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(e):Jn(e)}(t);n&&Vn(e,n)}(e,t))}(e),Xr(e);const r=function(e){return Object.assign((t,n)=>
2{if(!e.isEnabled()||e.isPaused())return t;if(function(e){return"replay_event"===e.type}(t))return delete t.breadcrumbs,t;if(!Dr(t)&&!Nr(t)&&!jr(t))return t;if(!e.checkAndHandleExpiredSession())return Lr(),t;if(jr(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),function(e,t){e.triggerUserActivity(),e.addUpdate(()=>!t.timestamp||(e.throttledAddEvent({type:Gt.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1))}(e,t),t;if(function(e,t){return!(e.type||!e.exception||!e.exception.values||!e.exception.values.length||!t.originalException?.__rrweb__)}(t,n)&&!e.getOptions()._experiments.captureExceptions)return dr&&yr.log("Ignoring error from rrweb internals",t),null;const r=function(e,t){return"buffer"===e.recordingMode&&t.message!==Pe&&!(!t.exception||t.type)&&kr(e.getOptions().errorSampleRate)}(e,t);return(r||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),t},{id:"Replay"})}(e);(0,f.SA)(r),n&&(n.on("beforeSendEvent",function(e){return t=>{e.isEnabled()&&Dr(t)&&function(e,t){const n=t.exception?.values?.[0]?.value;"string"==typeof n&&(n.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&Vn(e,Jn({category:"replay.hydrate-error",data:{url:(0,a.$N)()}}))}(e,t)}}(e)),n.on("afterSendEvent",function(e){return(t,n)=>{if(!e.isEnabled()||!Dr(t)&&!Nr(t))return;const r=n?.statusCode;!r||r<200||r>=300||(Nr(t)?function(e,t){const n=e.getContext();t.contexts?.trace?.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}(e,t):function(e,t){const n=e.getContext();if(t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id),"buffer"!==e.recordingMode||!t.tags||!t.tags.replayId)return;const{beforeErrorSampling:r}=e.getOptions();("function"!=typeof r||r(t))&&(0,C.wg)(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(t){e.handleException(t)}})}(e,t))}}(e)),n.on("createDsc",t=>{const n=e.getSessionId();n&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=n)}),n.on("spanStart",t=>{e.lastActiveSpan=t}),n.on("spanEnd",t=>{e.lastActiveSpan=t}),n.on("beforeSendFeedback",async(n,r)=>{const i=e.getSessionId();r?.includeReplay&&e.isEnabled()&&i&&n.contexts?.feedback&&("api"===n.contexts.feedback.source&&t&&await e.flush(),n.contexts.feedback.replay_id=i)}),t&&n.on("openFeedbackWidget",async()=>{await e.flush()}))}(this,{autoFlushOnFeedback:this._options._experiments.autoFlushOnFeedback}),this._hasInitializedCoreListeners=!0)}catch(e){this.handleException(e)}this._performanceCleanupCallback=fr(this)}_removeListeners(){try{Ae.document.removeEventListener("visibilitychange",this._handleVisibilityChange),Ae.removeEventListener("blur",this._handleWindowBlur),Ae.removeEventListener("focus",this._handleWindowFocus),Ae.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this.handleException(e)}}_doChangeToBackgroundTasks(e){this.session&&(Tr(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush()))}_doChangeToForegroundTasks(e){this.session&&(this.checkAndHandleExpiredSession()?e&&this._createCustomBreadcrumb(e):dr&&yr.info("Document has become active, but session has expired"))}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:Gt.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=(t=this.performanceEntries,t.map(rr).filter(Boolean)).concat(this.replayPerformanceEntries);var t;if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){const t=this._context.
2initialTimestamp/1e3;e=e.filter(e=>e.start>=t)}return Promise.all(Br(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:e,eventBuffer:t}=this;if(!e||!t||this._requiresManualStart)return;if(e.segmentId)return;const n=t.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}_popEventContext(){const e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){const e=this.getSessionId();if(this.session&&this.eventBuffer&&e){if(await this._addPerformanceEntries(),this.eventBuffer?.hasEvents&&(await async function(e){try{return Promise.all(Br(e,[Yr(Ae.performance.memory)]))}catch(e){return[]}}(this),this.eventBuffer&&e===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();const i=await this.eventBuffer.finish();await ii({replayId:e,recordingData:i,segmentId:r,eventContext:n,session:this.session,timestamp:t,onError:e=>this.handleException(e)})}catch(e){this.handleException(e),this.stop({reason:"sendReplay"});const t=(0,h.KU)();if(t){const n=e instanceof ri?"ratelimit_backoff":"send_error";t.recordDroppedEvent(n,"replay")}}}else dr&&yr.error("No session or eventBuffer found to flush.")}async _flush({force:e=!1}={}){if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession())return void(dr&&yr.error("Attempting to finish replay event after session expired."));if(!this.session)return;const t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();const r=n<this._options.minReplayDuration,i=n>this._options.maxReplayDuration+5e3;if(r||i)return dr&&yr.info(`Session duration (${Math.floor(n/1e3)}s) is too ${r?"short":"long"}, not sending replay.`),void(r&&this._debouncedFlush());const o=this.eventBuffer;o&&0===this.session.segmentId&&!o.hasCheckout&&dr&&yr.info("Flushing initial segment without checkout.");const a=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(e){this.handleException(e)}finally{this._flushLock=void 0,a&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&Er(this.session)}_onMutationHandler(e){const t=e.length,n=this._options.mutationLimit,r=n&&t>n;if(t>this._options.mutationBreadcrumbLimit||r){const e=Jn({category:"replay.mutations",data:{count:t,limit:r}});this._createCustomBreadcrumb(e)}return!r||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}function si(e,t){return[...e,...t].join(",")}const ci='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',li=["content-length","content-type","accept"];let ui=!1;const fi=e=>new di(e);class di{constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:n=4999,maxReplayDuration:r=36e5,stickySession:i=!0,useCompression:o=!0,workerUrl:a,_experiments:s={},maskAllText:c=!0,maskAllInputs:l=!0,blockAllMedia:u=!0,mutationBreadcrumbLimit:f=750,mutationLimit:d=1e4,slowClickTimeout:h=7e3,slowClickIgnoreSelectors:p=[],networkDetailAllowUrls:m=[],networkDetailDenyUrls:y=[],networkCaptureBodies:g=!0,networkRequestHeaders:v=[],networkResponseHeaders:b=[],mask:w=[],maskAttributes:x=["title","placeholder","aria-label"],unmask:S=[],block:k=[],unblock:_=[],ignore:C=[],maskFn:A,beforeAddRecordingEvent:T,beforeErrorSampling:P,onError:O}={}){this.name="Replay";const M=function({mask:e,unmask:t,block:n,unblock:r,ignore:i}){return{maskTextSelector:si(e,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:si(t,[]),blockSelector:si(n,[".sentry-block","[data-sentry-block]","base","iframe[srcdoc]:not([src])"]),unblockSelector:si(r,[]),ignoreSelector:si(i,[".sentry-ignore","[data-sentry-ignore]",'
2input[type="file"]'])}}({mask:w,unmask:S,block:k,unblock:_,ignore:C});if(this._recordingOptions={maskAllInputs:l,maskAllText:c,maskInputOptions:{password:!0},maskTextFn:A,maskInputFn:A,maskAttributeFn:(e,t,n)=>function({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:i,value:o}){return r?i.unmaskTextSelector&&e.matches(i.unmaskTextSelector)?o:n.includes(t)||"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?o.replace(/[\S]/g,"*"):o:o}({maskAttributes:x,maskAllText:c,privacyOptions:M,key:e,value:t,el:n}),...M,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch(e){}},recordCrossOriginIframes:Boolean(s.recordCrossOriginIframes)},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,15e3),maxReplayDuration:Math.min(r,36e5),stickySession:i,useCompression:o,workerUrl:a,blockAllMedia:u,maskAllInputs:l,maskAllText:c,mutationBreadcrumbLimit:f,mutationLimit:d,slowClickTimeout:h,slowClickIgnoreSelectors:p,networkDetailAllowUrls:m,networkDetailDenyUrls:y,networkCaptureBodies:g,networkRequestHeaders:hi(v),networkResponseHeaders:hi(b),beforeAddRecordingEvent:T,beforeErrorSampling:P,onError:O,_experiments:s},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${ci}`:ci),this._isInitialized&&E())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return ui}set _isInitialized(e){ui=e}afterAllSetup(e){E()&&!this._replay&&(this._setup(e),this._initialize(e))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(e){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(){if(this._replay?.isEnabled())return this._replay.getSessionId()}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}_initialize(e){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){const t=function(e,t){const n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...e},i=(0,_.i)(n.replaysSessionSampleRate),o=(0,_.i)(n.replaysOnErrorSampleRate);return null==i&&null==o&&(0,l.pq)(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),null!=i&&(r.sessionSampleRate=i),null!=o&&(r.errorSampleRate=o),r}(this._initialOptions,e);this._replay=new ai({options:t,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{const t=e.getIntegrationByName("ReplayCanvas");if(!t)return;this._replay._canvas=t.getOptions()}catch{}}}function hi(e){return[...li,...e.map(e=>e.toLowerCase())]}},49431(e,t,n){"use strict";const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;n.d(t,["T",0,r])},90452(e,t,n){"use strict";n.d(t,{AP:()=>h,LV:()=>d,jN:()=>f});var r=n(64251),i=n(57968),o=n(87320),a=n(92575),s=n(44910),c=n(40873);const l=a.O;let u=0;function f(){return u>0}function d(e,t={}){if(!function(e){return"function"==typeof e}(e))return e;try{const t=e.__sentry_wrapped__;if(t)return"function"==typeof t?t:e;if((0,c.sp)(e))return e}catch(t){return e}const n=function(...n){try{const r=n.map(e=>d(e,t));return e.apply(this,r)}catch(e){throw u++,setTimeout(()=>{u--}),(0,i.v4)(i=>{i.addEventProcessor(e=>(t.mechanism&&((0,s.gO)(e,void 0,void 0),(0,s.M6)(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),(0,r.Cp)(e)}),e}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch{}(0,c.pO)(n,e),(0,c.my)(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch{}return n}function h(){const e=(0,o.$N)(),{referrer:t}=l.document||{},{userAgent:n}=l.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}n.d(t,["jf",0,l])},33478(e,t,n){"use strict";var r=n(64251),i=n(57968),o=n(68826),a=n(63857),s=n(92575),c=n(66220),l=n(5602),u=n(44910),f=n(98822),d=n(35947),h=n(49431);const p=(0,o._C)((e={})=>{const t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:"HttpClient",setup(e){!function(e,t){(0,f.m7)()&&(0,c.ur)(n=>{if((0,i.KU)()!==e)return;const{response:o,args:a,error:s,virtualError:c}=n,[l,u]=a;o&&function(e,t,n,i,o){if(v(e,n.status,n.url)){const e=function(e,t){return!t&&e instanceof Request||e instanceof Request&&e.bodyUsed?e:new Request
2(e,t)}(t,i);let a,s,c,l;w()&&([a,c]=m("Cookie",e),[s,l]=m("Set-Cookie",n));const u=b({url:e.url,method:e.method,status:n.status,requestHeaders:a,responseHeaders:s,requestCookies:c,responseCookies:l,error:o});(0,r.r)(u)}}(t,l,o,u,s||c)},!1)}(e,t),function(e,t){"XMLHttpRequest"in s.O&&(0,d.Mn)(n=>{if((0,i.KU)()!==e)return;const{error:o,virtualError:a}=n,s=n.xhr,c=s[d.Er];if(!c)return;const{method:u,request_headers:f}=c;try{!function(e,t,n,i,o){if(v(e,t.status,t.responseURL)){let e,a,s;if(w()){try{const e=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;e&&(a=g(e))}catch{}try{s=function(e){const t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce((e,t)=>{const[n,r]=t.split(": ");return n&&r&&(e[n]=r),e},{}):{}}(t)}catch{}e=i}const c=b({url:t.responseURL,method:n,status:t.status,requestHeaders:e,responseHeaders:s,responseCookies:a,error:o});(0,r.r)(c)}}(t,s,u,f,o||a)}catch(e){h.T&&l.vF.warn("Error while extracting response event form XHR response",e)}})}(e,t)}}});function m(e,t){const n=function(e){const t={};return e.forEach((e,n)=>{t[n]=e}),t}(t.headers);let r;try{const t=n[e]||n[e.toLowerCase()]||void 0;t&&(r=g(t))}catch{}return[n,r]}function y(e){if(e){const t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}function g(e){return e.split("; ").reduce((e,t)=>{const[n,r]=t.split("=");return n&&r&&(e[n]=r),e},{})}function v(e,t,n){return function(e,t){return e.some(e=>"number"==typeof e?e===t:t>=e[0]&&t<=e[1])}(e.failedRequestStatusCodes,t)&&(r=e.failedRequestTargets,o=n,r.some(e=>"string"==typeof e?o.includes(e):e.test(o)))&&!(0,a.A)(n,(0,i.KU)());var r,o}function b(e){const t=(0,i.KU)(),n=t&&e.error&&e.error instanceof Error?e.error.stack:void 0,r=n&&t?t.getOptions().stackParser(n,0,1):void 0,o=`HTTP Client Error with status code: ${e.status}`,a={message:o,exception:{values:[{type:"Error",value:o,stacktrace:r?{frames:r}:void 0}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:y(e.responseHeaders)}}};return(0,u.M6)(a,{type:"http.client",handled:!1}),a}function w(){const e=(0,i.KU)();return!!e&&Boolean(e.getOptions().sendDefaultPii)}n.d(t,["c",0,p])},20144(e,t,n){"use strict";n.d(t,{Z:()=>o,k:()=>a});var r=n(87961);function i(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function o(e,t,n){return t||`${function(e){return`${i(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){const n={sentry_version:"7"};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}(e,n)}`}function a(e,t){const n=(0,r.AD)(e);if(!n)return"";const o=`${i(n)}embed/error-page/`;let a=`dsn=${(0,r.SB)(n)}`;for(const e in t)if("dsn"!==e&&"onClose"!==e)if("user"===e){const e=t.user;if(!e)continue;e.name&&(a+=`&name=${encodeURIComponent(e.name)}`),e.email&&(a+=`&email=${encodeURIComponent(e.email)}`)}else a+=`&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`;return`${o}?${a}`}},92328(e,t,n){"use strict";n.d(t,{h:()=>f});var r=n(95200),i=n(94988),o=n(30690);class a{constructor(e,t){let n,r;n=e||new i.H,r=t||new i.H,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){const t=this._pushScope();let n;try{n=e(t)}catch(e){throw this._popScope(),e}return(0,o.Qg)(n)?n.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1||!this._stack.pop())}}function s(){const e=(0,r.EU)(),t=(0,r.Se)(e);return t.stack=t.stack||new a((0,r.BY)("defaultCurrentScope",()=>new i.H),(0,r.BY)("defaultIsolationScope",()=>new i.H))}function c(e){return s().withScope(e)}function l(e,t){const n=s();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function u(e){return s().withScope(()=>e(s().getIsolationScope()))}function f(e){const t=(0,r.Se)(e);return t.acs?t.acs:{withIsolationScope:u,withScope:c,withSetScope:l,withSetIsolationScope:(e,t)=>u(t),getCurrentScope:()=>s().getScope(),getIsolationScope:()=>s().getIsolationScope()}}},6810(e,t,n){"use strict";n.d(t,{Z:()=>s});var r=n(57968),i=n(5602),o=n(90519);const a=100;function s(e,t){const n=(0,r.KU)(),s=(0,r.rm)();if(!n)return;const{beforeBreadcrumb:c=null,maxBreadcrumbs:l=a}=n.getOptions();if(l<=0)return;const u={timestamp:(0,o.lu)(),...e},f=c?(0,i.pq)(()=>c(u,t)):u;null!==f&&(n.emit&&n.emit("beforeAddBreadcrumb",f,t),s.addBreadcrumb(f,l))}},95200(e,t,n){"use strict";n.d(t,{BY:()=>a,EU:()=>i,Se:()=>o});var r=n(92575);function i(){return o(r.O),r.O}function o(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||"9.30.0",t["9.30.0"]=t["9.30.0"]||{}}function a(e,t,n=r.O){const i=n.__SENTRY__=n.__SENTRY__||{},o=i["9.30.0"]=i["9.30.0"]||{};return o[e]||(o[e]=t())}},7313(e,t,n){"use strict";n.d(t,["U",0,"production"])},57968(e,t,n){"use strict";n.d(t,{KU:()=>f,m6:()=>l,o5:()=>s,rm:()=>c,v4:()=>u,vn:()=>d});var r=n(92328),i=n(95200),o=n(94988),a=n(30243);function s(){const e=(0,i.EU)();return(0,r.h)(e).getCurrentScope()}function c(){const e=(0,i.EU)();return(0,r.h)(e).getIsolationScope()}function l(){return(0,i.BY)("globalScope",()=>new o.H)}function u(...e){const t=(0,i.EU)(),n=(0,r.h)(t);if(2===e.length){const[t,r]=e;return t?n.withSetScope(t,r):n.withScope(r)}return n.withScope(e[0])}function f(){return s().getClient()}function d(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:i}=t,o={trace_id:n,span_id:i||(0,a.Z)()};return r&&(o.parent_span_id=r),o}},26674(e,t,n){"use strict";const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;n.d(t,["T",0,r])},64251(e,t,n){"use strict";n.d(t,{Cp:()=>s,J0:()=>p,J5:()=>g,Q:()=>d,SA:()=>h,gV:()=>f,o:()=>u,r:()=>l,wd:()=>c});var r=n(57968),i=n(59328),o=n(45333),a=n(92575);function s(e,t){return(0,r.o5)().captureException(e,(0,o.li)(t))}function c(e,t){const n="string"==typeof t?t:void 0,i="string"!=typeof t?{captureContext:t}:void 0;return(0,r.o5)().captureMessage(e,n,i)}function l(e,t){return(0,r.o5)().captureEvent(e,t)}function u(e,t){(0,r.rm)().setContext(e,t)}function f(e){(0,r.rm)().setUser(e)}function d(){return(0,r.rm)().lastEventId()}function h(e){(0,r.rm)().addEventProcessor(e)}function p(e){const t=(0,r.rm)(),n=(0,r.o5)(),{userAgent:o}=a.O.navigator||{},s=(0,i.fj)({user:n.getUser()||t.getUser(),...o&&{userAgent:o},...e}),c=t.getSession();return"ok"===c?.status&&(0,i.qO)(c,{status:"exited"}),m(),t.setSession(s),s}function m(){const e=(0,r.rm)(),t=(0,r.o5)().getSession()||e.getSession();t&&(0,i.Vu)(t),y(),e.setSession()}function y(){const e=(0,r.rm)(),t=(0,r.KU)(),n=e.getSession();n&&t&&t.captureSession(n)}function g(e=!1){e?m():y()}}
2,68826(e,t,n){"use strict";n.d(t,{P$:()=>s,_C:()=>u,lc:()=>c,mH:()=>a,qm:()=>l});var r=n(26674),i=n(5602);const o=[];function a(e){const t=e.defaultIntegrations||[],n=e.integrations;let r;if(t.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(n))r=[...t,...n];else if("function"==typeof n){const e=n(t);r=Array.isArray(e)?e:[e]}else r=t;return function(e){const t={};return e.forEach(e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}(r)}function s(e,t){const n={};return t.forEach(t=>{t&&l(e,t,n)}),n}function c(e,t){for(const n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function l(e,t,n){if(n[t.name])r.T&&i.vF.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,-1===o.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),o.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}r.T&&i.vF.log(`Integration installed: ${t.name}`)}}function u(e){return e}},69828(e,t,n){"use strict";var r=n(26674),i=n(68826),o=n(30690),a=n(5602),s=n(51071),c=n(40873),l=n(2323);const u=(0,i._C)((e={})=>{const{depth:t=3,captureErrorCause:n=!0}=e;return{name:"ExtraErrorData",processEvent(e,i,u){const{maxValueLength:f=250}=u.getOptions();return function(e,t={},n,i,u){if(!t.originalException||!(0,o.bJ)(t.originalException))return e;const f=t.originalException.name||t.originalException.constructor.name,d=function(e,t,n){try{const r=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],i={};for(const t of Object.keys(e)){if(-1!==r.indexOf(t))continue;const a=e[t];i[t]=(0,o.bJ)(a)||"string"==typeof a?(0,l.xv)(`${a}`,n):a}if(t&&void 0!==e.cause&&(i.cause=(0,o.bJ)(e.cause)?e.cause.toString():e.cause),"function"==typeof e.toJSON){const t=e.toJSON();for(const e of Object.keys(t)){const n=t[e];i[e]=(0,o.bJ)(n)?n.toString():n}}return i}catch(e){r.T&&a.vF.error("Unable to extract extra data from the Error object:",e)}return null}(t.originalException,i,u);if(d){const t={...e.contexts},r=(0,s.S8)(d,n);return(0,o.Qd)(r)&&((0,c.my)(r,"__sentry_skip_normalization__",!0),t[f]=r),{...e,contexts:t}}return e}(e,i,t,n,f)}}});n.d(t,["X",0,u])},94988(e,t,n){"use strict";n.d(t,{H:()=>d});var r=n(59328),i=n(45734),o=n(70333),a=n(30690),s=n(5602),c=n(44910),l=n(30243),u=n(2323),f=n(90519);class d{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,l.e)(),sampleRand:Math.random()}}clone(){const e=new d;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,(0,o.r)(e,(0,o.f)(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,r.qO)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e,n=t instanceof d?t.getScopeData():(0,a.Qd)(t)?e:void 0,{tags:r,extra:i,user:o,contexts:s,level:c,fingerprint:l=[],propagationContext:u}=n||{};return this._tags={...this._tags,...r},this._extra={...this._extra,...i},this._contexts={...this._contexts,...s},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,(0,o.r)(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,l.e)(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const r={timestamp:(0,f.lu)(),...e,message:e.message?(0,u.xv)(e.message,2048):e.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,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:(0,o.f)(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=(0,i.h)(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}
2captureException(e,t){const n=t?.event_id||(0,c.eJ)();if(!this._client)return s.vF.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){const r=n?.event_id||(0,c.eJ)();if(!this._client)return s.vF.warn("No client configured on scope - will not capture message!"),r;const i=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){const n=t?.event_id||(0,c.eJ)();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(s.vF.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}},74611(e,t,n){"use strict";n.d(t,["E1",0,"sentry.profile_id","Ef",0,"sentry.previous_trace_sample_rate","JD",0,"sentry.origin","i_",0,"sentry.source","jG",0,"sentry.exclusive_time","sy",0,"sentry.sample_rate","uT",0,"sentry.op"])},59328(e,t,n){"use strict";n.d(t,{Vu:()=>s,fj:()=>o,qO:()=>a});var r=n(44910),i=n(90519);function o(e){const t=(0,i.zf)(),n={sid:(0,r.eJ)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}(n)};return e&&a(n,e),n}function a(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,i.zf)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,r.eJ)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function s(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),a(e,n)}},18710(e,t,n){"use strict";n.d(t,{ao:()=>h,k1:()=>p});var r=n(7313),i=n(57968),o=n(74611);var a=n(5915),s=n(30690);const c=/^sentry-/;function l(e){return e.split(",").map(e=>e.split("=").map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}var u=n(87961),f=n(88728);function d(e,t){const n=t.getOptions(),{publicKey:i,host:o}=t.getDsn()||{};let a;n.orgId?a=String(n.orgId):o&&(a=(0,u.ay)(o));const s={environment:n.environment||r.U,release:n.release,public_key:i,trace_id:e,org_id:a};return t.emit("createDsc",s),s}function h(e,t){const n=t.getPropagationContext();return n.dsc||d(n.traceId,e)}function p(e){const t=(0,i.KU)();if(!t)return{};const n=(0,a.zU)(e),r=(0,a.et)(n),u=r.data,h=n.spanContext().traceState,p=h?.get("sentry.sample_rate")??u[o.sy]??u[o.Ef];function m(e){return"number"!=typeof p&&"string"!=typeof p||(e.sample_rate=`${p}`),e}const y=n._frozenDsc;if(y)return m(y);const g=h?.get("sentry.dsc"),v=g&&function(e){const t=function(e){if(e&&((0,s.Kg)(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>{const n=l(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{}):l(e)}(e);if(!t)return;const n=Object.entries(t).reduce((e,[t,n])=>(t.match(c)&&(e[t.slice(7)]=n),e),{});return Object.keys(n).length>0?n:void 0}(g);
2if(v)return m(v);const b=d(e.spanContext().traceId,t),w=u[o.i_],x=r.description;return"url"!==w&&x&&(b.transaction=x),function(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=e||(0,i.KU)()?.getOptions();return!(!t||null==t.tracesSampleRate&&!t.tracesSampler)}()&&(b.sampled=String((0,a.pK)(n)),b.sample_rand=h?.get("sentry.sample_rand")??(0,f.L)(n).scope?.getPropagationContext().sampleRand.toString()),m(b),t.emit("createDsc",b,n),b}},88728(e,t,n){"use strict";n.d(t,{L:()=>r});function r(e){return{scope:e._sentryScope,isolationScope:e._sentryIsolationScope}}},87320(e,t,n){"use strict";n.d(t,{$N:()=>s,Hd:()=>o,xE:()=>c});var r=n(30690);const i=n(92575).O;function o(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,i=[];let o=0,s=0;const c=" > ",l=c.length;let u;const f=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||80;for(;n&&o++<r&&(u=a(n,f),!("html"===u||o>1&&s+i.length*l+u.length>=d));)i.push(u),s+=u.length,n=n.parentNode;return i.reverse().join(c)}catch(e){return"<unknown>"}}function a(e,t){const n=e,o=[];if(!n?.tagName)return"";if(i.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}o.push(n.tagName.toLowerCase());const a=t?.length?t.filter(e=>n.getAttribute(e)).map(e=>[e,n.getAttribute(e)]):null;if(a?.length)a.forEach(e=>{o.push(`[${e[0]}="${e[1]}"]`)});else{n.id&&o.push(`#${n.id}`);const e=n.className;if(e&&(0,r.Kg)(e)){const t=e.split(/\s+/);for(const e of t)o.push(`.${e}`)}}const s=["aria-label","type","name","title","alt"];for(const e of s){const t=n.getAttribute(e);t&&o.push(`[${e}="${t}"]`)}return o.join("")}function s(){try{return i.document.location.href}catch(e){return""}}function c(e){if(!i.HTMLElement)return null;let t=e;for(let e=0;e<5;e++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}},87961(e,t,n){"use strict";n.d(t,{AD:()=>u,SB:()=>s,ay:()=>l});var r=n(26674),i=n(5602);const o=/^o(\d+)\./,a=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function s(e,t=!1){const{host:n,path:r,pass:i,port:o,projectId:a,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${a}`}function c(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function l(e){const t=e.match(o);return t?.[1]}function u(e){const t="string"==typeof e?function(e){const t=a.exec(e);if(!t)return void(0,i.pq)(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});const[n,r,o="",s="",l="",u=""]=t.slice(1);let f="",d=u;const h=d.split("/");if(h.length>1&&(f=h.slice(0,-1).join("/"),d=h.pop()),d){const e=d.match(/^\d+/);e&&(d=e[0])}return c({host:s,pass:o,path:f,projectId:d,port:l,protocol:n,publicKey:r})}(e):c(e);if(t&&function(e){if(!r.T)return!0;const{port:t,projectId:n,protocol:o}=e;return!(["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(i.vF.error(`Invalid Sentry Dsn: ${t} missing`),!0))||(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(o)?t&&isNaN(parseInt(t,10))&&(i.vF.error(`Invalid Sentry Dsn: Invalid port ${t}`),1):(i.vF.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),1):(i.vF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(t))return t}},91591(e,t,n){"use strict";function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function i(){return"npm"}n.d(t,{Z:()=>r,e:()=>i})},87202(e,t,n){"use strict";n.d(t,{Cj:()=>m,W3:()=>c,bN:()=>f,bm:()=>d,h4:()=>s,n2:()=>y,yH:()=>l,zk:()=>p});var r=n(95200),i=n(87961),o=n(51071),a=n(92575);function s(e,t=[]){return[e,t]}function c(e,t){const[n,r]=e;return[n,[...r,t]]}function l(e,t){const n=e[1];for(const e of n)if(t(e,e[0].type))return!0;return!1}function u(e){const t=(0,r.Se)(a.O);return t.encodePolyfill?t.encodePolyfill(e):(new TextEncoder).encode(e)}function f(e){const[t,n]=e;let r=JSON.stringify(t);function i(e){"string"==typeof r?r="string"==typeof e?r+e:[u(r),e]:r.push("string"==typeof e?u(e):e)}for(const e of n){const[t,n]=e;if(i(`\n${JSON.stringify(t)}\n`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify((0,o.S8)(n))}i(e)}}return"string"==typeof r?r:function(e){const t=e.reduce((e,t)=>
2e+t.length,0),n=new Uint8Array(t);let r=0;for(const t of e)n.set(t,r),r+=t.length;return n}(r)}function d(e){const t="string"==typeof e.data?u(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const h={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item"};function p(e){return h[e]}function m(e){if(!e?.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function y(e,t,n,r){const o=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:(0,i.SB)(r)},...o&&{trace:o}}}},66220(e,t,n){"use strict";n.d(t,{ur:()=>l});var r=n(30690),i=n(40873),o=n(98822),a=n(90519),s=n(92575),c=n(26131);function l(e,t){const n="fetch";(0,c.s5)(n,e),(0,c.AS)(n,()=>function(e,t=!1){t&&!(0,o.m7)()||(0,i.GS)(s.O,"fetch",function(t){return function(...n){const o=new Error,{method:l,url:h}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:f(t),method:u(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:f(t),method:u(t,"method")?String(t.method).toUpperCase():"GET"}}(n),p={args:n,fetchData:{method:l,url:h},startTimestamp:1e3*(0,a.zf)(),virtualError:o,headers:d(n)};return e||(0,c.aj)("fetch",{...p}),t.apply(s.O,n).then(async t=>(e?e(t):(0,c.aj)("fetch",{...p,endTimestamp:1e3*(0,a.zf)(),response:t}),t),e=>{if((0,c.aj)("fetch",{...p,endTimestamp:1e3*(0,a.zf)(),error:e}),(0,r.bJ)(e)&&void 0===e.stack&&(e.stack=o.stack,(0,i.my)(e,"framesToPop",1)),e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{const t=new URL(p.fetchData.url);e.message=`${e.message} (${t.host})`}catch{}throw e})}})}(void 0,t))}function u(e,t){return!!e&&"object"==typeof e&&!!e[t]}function f(e){return"string"==typeof e?e:e?u(e,"url")?e.url:e.toString?e.toString():"":""}function d(e){const[t,n]=e;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if((0,r.ks)(t))return new Headers(t.headers)}catch{}}},26131(e,t,n){"use strict";n.d(t,{AS:()=>l,aj:()=>u,s5:()=>c});var r=n(26674),i=n(5602),o=n(20527);const a={},s={};function c(e,t){a[e]=a[e]||[],a[e].push(t)}function l(e,t){if(!s[e]){s[e]=!0;try{t()}catch(t){r.T&&i.vF.error(`Error while instrumenting ${e}`,t)}}}function u(e,t){const n=e&&a[e];if(n)for(const a of n)try{a(t)}catch(t){r.T&&i.vF.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,o.qQ)(a)}\nError:`,t)}}},30690(e,t,n){"use strict";n.d(t,{BD:()=>s,Kg:()=>l,L2:()=>b,NF:()=>u,Qd:()=>d,Qg:()=>y,T2:()=>a,W6:()=>c,bJ:()=>i,gd:()=>m,ks:()=>w,mE:()=>g,sO:()=>f,tH:()=>v,vq:()=>p,xH:()=>h});const r=Object.prototype.toString;function i(e){switch(r.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return v(e,Error)}}function o(e,t){return r.call(e)===`[object ${t}]`}function a(e){return o(e,"ErrorEvent")}function s(e){return o(e,"DOMError")}function c(e){return o(e,"DOMException")}function l(e){return o(e,"String")}function u(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function f(e){return null===e||u(e)||"object"!=typeof e&&"function"!=typeof e}function d(e){return o(e,"Object")}function h(e){return"undefined"!=typeof Event&&v(e,Event)}function p(e){return"undefined"!=typeof Element&&v(e,Element)}function m(e){return o(e,"RegExp")}function y(e){return Boolean(e?.then&&"function"==typeof e.then)}function g(e){return d(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function v(e,t){try{return e instanceof t}catch(e){return!1}}function b(e){return!("object"!=typeof e||null===e||!e.__isVue&&!e._isVue)}function w(e){return"undefined"!=typeof Request&&v(e,Request)}},5602(e,t,n){"use strict";n.d(t,{pq:()=>c});var r=n(95200),i=n(26674),o=n(92575);const a=["debug","info","warn","error","log","assert","trace"],s={};function c(e){if(!("console"in o.O))return e();const t=o.O.console,n={},r=Object.keys(s);
2r.forEach(e=>{const r=s[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}const l=(0,r.BY)("logger",function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return i.T?a.forEach(n=>{t[n]=(...t)=>{e&&c(()=>{o.O.console[n](`Sentry Logger [${n}]:`,...t)})}}):a.forEach(e=>{t[e]=()=>{}}),t});n.d(t,["Ow",0,a,"Z9",0,s,"vF",0,l])},44910(e,t,n){"use strict";n.d(t,{$X:()=>s,GR:()=>u,M6:()=>l,eJ:()=>o,gO:()=>c});var r=n(40873),i=n(92575);function o(e=function(){const e=i.O;return e.crypto||e.msCrypto}()){let t=()=>16*Math.random();try{if(e?.randomUUID)return e.randomUUID().replace(/-/g,"");e?.getRandomValues&&(t=()=>{const t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch(e){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,e=>(e^(15&t())>>e/4).toString(16))}function a(e){return e.exception?.values?.[0]}function s(e){const{message:t,event_id:n}=e;if(t)return t;const r=a(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function c(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function l(e,t){const n=a(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r?.data,...t.data};n.mechanism.data=e}}function u(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{(0,r.my)(e,"__sentry_captured__",!0)}catch(e){}return!1}},51071(e,t,n){"use strict";n.d(t,{S8:()=>a,cd:()=>s});var r=n(30690),i=n(40873),o=n(20527);function a(e,t=100,n=1/0){try{return c("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function s(e,t=3,n=102400){const r=a(e,t);return i=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(i))>n?s(e,t-1,n):r;var i}function c(e,t,a=1/0,s=1/0,l=function(){const e=new WeakSet;return[function(t){return!!e.has(t)||(e.add(t),!1)},function(t){e.delete(t)}]}()){const[u,f]=l;if(null==t||["boolean","string"].includes(typeof t)||"number"==typeof t&&Number.isFinite(t))return t;const d=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if(void 0!==n.g&&t===n.g)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if((0,r.L2)(t))return"[VueViewModel]";if((0,r.mE)(t))return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${(0,o.qQ)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;const i=function(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(i)?`[HTMLElement: ${i}]`:`[object ${i}]`}catch(e){return`**non-serializable** (${e})`}}(e,t);if(!d.startsWith("[object "))return d;if(t.__sentry_skip_normalization__)return t;const h="number"==typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:a;if(0===h)return d.replace("object ","");if(u(t))return"[Circular ~]";const p=t;if(p&&"function"==typeof p.toJSON)try{return c("",p.toJSON(),h-1,s,l)}catch(e){}const m=Array.isArray(t)?[]:{};let y=0;const g=(0,i.W4)(t);for(const e in g){if(!Object.prototype.hasOwnProperty.call(g,e))continue;if(y>=s){m[e]="[MaxProperties ~]";break}const t=g[e];m[e]=c(e,t,h-1,s,l),y++}return f(t),m}},40873(e,t,n){"use strict";n.d(t,{GS:()=>c,HF:()=>m,W4:()=>d,my:()=>l,pO:()=>u,sp:()=>f});var r=n(26674),i=n(87320),o=n(30690),a=n(5602),s=n(2323);function c(e,t,n){if(!(t in e))return;const i=e[t];if("function"!=typeof i)return;const o=n(i);"function"==typeof o&&u(o,i);try{e[t]=o}catch{r.T&&a.vF.log(`Failed to replace method "${t}" in object`,e)}}function l(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){r.T&&a.vF.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function u(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,l(e,"__sentry_original__",t)}catch(e){}}function f(e){return e.__sentry_original__}function d(e){if((0,o.bJ)(e))return{message:e.message,name:e.name,stack:e.stack,...p(e)};if((0,o.xH)(e)){const t={type:e.type,target:h(e.target),currentTarget:h(e.currentTarget),...p(e)};return"undefined"!=typeof CustomEvent&&(0,o.tH)(e,CustomEvent)&&(t.detail=e.detail),t}return e}function h(e){try{return(0,o.vq)(e)?(0,i.Hd)(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function p(e){if("object"==typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function m(e,t=40){const n=Object.keys(d(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return(0,s.xv)(r,t);for(let e=n.length;e>0;e--){const r=n.slice(0,e).join(", ");
2if(!(r.length>t))return e===n.length?r:(0,s.xv)(r,t)}return""}},30243(e,t,n){"use strict";n.d(t,{Z:()=>o,e:()=>i});var r=n(44910);function i(){return(0,r.eJ)()}function o(){return(0,r.eJ)().substring(16)}},31857(e,t,n){"use strict";function r(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}function i(e,{statusCode:t,headers:n},r=Date.now()){const i={...e},o=n?.["x-sentry-rate-limits"],a=n?.["retry-after"];if(o)for(const e of o.trim().split(",")){const[t,n,,,o]=e.split(":",5),a=parseInt(t,10),s=1e3*(isNaN(a)?60:a);if(n)for(const e of n.split(";"))"metric_bucket"===e&&o&&!o.split(";").includes("custom")||(i[e]=r+s);else i.all=r+s}else a?i.all=r+function(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(a,r):429===t&&(i.all=r+6e4);return i}n.d(t,{Jz:()=>r,wq:()=>i})},22209(e,t,n){"use strict";function r(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}n.d(t,{t:()=>r})},20527(e,t,n){"use strict";n.d(t,{RV:()=>u,gd:()=>o,qQ:()=>l,vk:()=>a});const r=/\(error: (.*)\)/,i=/captureMessage|captureException/;function o(...e){const t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,o=0)=>{const a=[],c=e.split("\n");for(let e=n;e<c.length;e++){const n=c[e];if(n.length>1024)continue;const i=r.test(n)?n.replace(r,"$1"):n;if(!i.match(/\S*Error: /)){for(const e of t){const t=e(i);if(t){a.push(t);break}}if(a.length>=50+o)break}}return function(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(s(t).function||"")&&t.pop(),t.reverse(),i.test(s(t).function||"")&&(t.pop(),i.test(s(t).function||"")&&t.pop()),t.slice(0,50).map(e=>({...e,filename:e.filename||s(t).filename,function:e.function||"?"}))}(a.slice(o))}}function a(e){return Array.isArray(e)?o(...e):e}function s(e){return e[e.length-1]||{}}const c="<anonymous>";function l(e){try{return e&&"function"==typeof e&&e.name||c}catch(e){return c}}function u(e){const t=e.exception;if(t){const e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch(e){return}}}},2323(e,t,n){"use strict";n.d(t,{Xr:()=>a,gt:()=>o,xv:()=>i});var r=n(30690);function i(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function o(e,t){if(!Array.isArray(e))return"";const n=[];for(let t=0;t<e.length;t++){const i=e[t];try{(0,r.L2)(i)?n.push("[VueViewModel]"):n.push(String(i))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function a(e,t=[],n=!1){return t.some(t=>function(e,t,n=!1){return!!(0,r.Kg)(e)&&((0,r.gd)(t)?t.test(e):!!(0,r.Kg)(t)&&(n?e===t:e.includes(t)))}(e,t,n))}},98822(e,t,n){"use strict";n.d(t,{NJ:()=>a,a3:()=>s,m7:()=>c});var r=n(26674),i=n(5602);const o=n(92575).O;function a(){return"history"in o&&!!o.history}function s(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function c(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in o))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}())return!1;if(s(o.fetch))return!0;let e=!1;const t=o.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=s(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){r.T&&i.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}},20572(e,t,n){"use strict";n.d(t,{T2:()=>s,XW:()=>o,xg:()=>a});var r,i=n(30690);function o(e){return new s(t=>{t(e)})}function a(e){return new s((t,n)=>{n(e)})}!function(e){e[e.PENDING=0]="PENDING",e[e.RESOLVED=1]="RESOLVED",e[e.REJECTED=2]="REJECTED"}(r||(r={}));class s{constructor(e){this._state=r.PENDING,this._handlers=[],this._runExecutor(e)}then(e,t){return new s((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new s((t,n)=>{let r,i;return this.then(t=>{i=!1,r=t,e&&e()},t=>{i=!0,r=t,e&&e()}).then(()=>{i?n(r):t(r)})})}_executeHandlers(){if(this._state===r.PENDING)return;const e=this._handlers.slice();
2this._handlers=[],e.forEach(e=>{e[0]||(this._state===r.RESOLVED&&e[1](this._value),this._state===r.REJECTED&&e[2](this._value),e[0]=!0)})}_runExecutor(e){const t=(e,t)=>{this._state===r.PENDING&&((0,i.Qg)(t)?t.then(n,o):(this._state=e,this._value=t,this._executeHandlers()))},n=e=>{t(r.RESOLVED,e)},o=e=>{t(r.REJECTED,e)};try{e(n,o)}catch(e){o(e)}}}},90519(e,t,n){"use strict";n.d(t,{k3:()=>s,lu:()=>i});var r=n(92575);function i(){return Date.now()/1e3}const o=function(){const{performance:e}=r.O;if(!e?.now)return i;const t=Date.now()-e.now(),n=null==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/1e3}();let a;function s(){return a||(a=function(){const{performance:e}=r.O;if(!e?.now)return[void 0,"none"];const t=36e5,n=e.now(),i=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-i):t,a=o<t,s=e.timing?.navigationStart,c="number"==typeof s?Math.abs(s+n-i):t;return a||c<t?o<=c?[e.timeOrigin,"timeOrigin"]:[s,"navigationStart"]:[i,"dateNow"]}()),a[0]}n.d(t,["zf",0,o])},92575(e,t,n){"use strict";const r=globalThis;n.d(t,["O",0,r])},63857(e,t,n){"use strict";function r(e,t){const n=t?.getDsn(),r=t?.getOptions().tunnel;return function(e,t){return!!t&&e.includes(t.host)}(e,n)||function(e,t){return!!t&&i(e)===i(t)}(e,r)}function i(e){return"/"===e[e.length-1]?e.slice(0,-1):e}n.d(t,{A:()=>r})},45734(e,t,n){"use strict";function r(e,t,n=2){if(!t||"object"!=typeof t||n<=0)return t;if(e&&0===Object.keys(t).length)return e;const i={...e};for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(i[e]=r(i[e],t[e],n-1));return i}n.d(t,{h:()=>r})},91773(e,t,n){"use strict";function r(e){if("boolean"==typeof e)return Number(e);const t="string"==typeof e?parseFloat(e):e;return"number"!=typeof t||isNaN(t)||t<0||t>1?void 0:t}n.d(t,{i:()=>r})},45333(e,t,n){"use strict";n.d(t,{li:()=>_,mG:()=>E});var r=n(7313),i=n(57968),o=n(26674),a=n(30690),s=n(5602),c=n(20572);function l(e,t,n,r=0){return new c.T2((i,c)=>{const u=e[r];if(null===t||"function"!=typeof u)i(t);else{const f=u({...t},n);o.T&&u.id&&null===f&&s.vF.log(`Event processor "${u.id}" dropped event`),(0,a.Qg)(f)?f.then(t=>l(e,t,n,r+1).then(i)).then(null,c):l(e,f,n,r+1).then(i).then(null,c)}})}var u=n(94988),f=n(92575);let d,h,p;var m=n(44910),y=n(51071),g=n(2323),v=n(90519),b=n(18710),w=n(45734),x=n(5915);function S(e,t){const{extra:n,tags:r,user:i,contexts:o,level:a,sdkProcessingMetadata:s,breadcrumbs:c,fingerprint:l,eventProcessors:u,attachments:f,propagationContext:d,transactionName:h,span:p}=t;k(e,"extra",n),k(e,"tags",r),k(e,"user",i),k(e,"contexts",o),e.sdkProcessingMetadata=(0,w.h)(e.sdkProcessingMetadata,s,2),a&&(e.level=a),h&&(e.transactionName=h),p&&(e.span=p),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...d}}function k(e,t,n){e[t]=(0,w.h)(e[t],n,1)}function E(e,t,n,o,a,s){const{normalizeDepth:c=3,normalizeMaxBreadth:w=1e3}=e,k={...t,event_id:t.event_id||n.event_id||(0,m.eJ)(),timestamp:t.timestamp||(0,v.lu)()},E=n.integrations||e.integrations.map(e=>e.name);!function(e,t){const{environment:n,release:i,dist:o,maxValueLength:a=250}=t;e.environment=e.environment||n||r.U,!e.release&&i&&(e.release=i),!e.dist&&o&&(e.dist=o);const s=e.request;s?.url&&(s.url=(0,g.xv)(s.url,a))}(k,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(k,E),a&&a.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){const n=function(e){const t=f.O._sentryDebugIds;if(!t)return{};const n=Object.keys(t);return p&&n.length===h||(h=n.length,p=n.reduce((n,r)=>{d||(d={});const i=d[r];if(i)n[i[0]]=i[1];else{const i=e(r);for(let e=i.length-1;e>=0;e--){const o=i[e],a=o?.filename,s=t[r];if(a&&s){n[a]=s,d[r]=[a,s];break}}}return n},{})),p}(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}(k,e.stackParser);const _=function(e,t){if(!t)return e;const n=e?e.clone():new u.H;return n.update(t),n}(o,n.captureContext);n.mechanism&&(0,m.M6)(k,n.mechanism);const C=a?a.getEventProcessors():[],A=(0,i.m6)().getScopeData();s&&S(A,s.getScopeData()),_&&S(A,_.getScopeData());const T=[...n.attachments||[],...A.attachments];return T.length&&(n.attachments=T),function(e,t){const{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:o}=t;!function(e,t){const{extra:n,tags:r,user:i,contexts:o,level:a,transactionName:s}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(i).length&&(e.user={...i,...e.user}),Object.keys(o).length&&(e.contexts={...o,...e.contexts}),a&&(e.level=a),s&&"transaction"!==e.type&&(e.transaction=s)}(e,t),r&&function(e,t){e.contexts={trace:(0,x.kX)(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,b.k1)(t),...e.sdkProcessingMetadata};const n=(0,x.zU)(t),r=(0,x.et)(n).description;r&&!e.transaction&&"transaction"===e.type&&(e.transaction=r)}(e,r),function(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,i),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,o)}(k,A),l([...C,...A.eventProcessors],k,n).then(e=>(e&&function(e){const t={};
2if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof c&&c>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,y.S8)(e.data,t,n)}}))},...e.user&&{user:(0,y.S8)(e.user,t,n)},...e.contexts&&{contexts:(0,y.S8)(e.contexts,t,n)},...e.extra&&{extra:(0,y.S8)(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,y.S8)(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:(0,y.S8)(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=(0,y.S8)(e.contexts.flags,3,n)),r}(e,c,w):e))}function _(e){if(e)return function(e){return e instanceof u.H||"function"==typeof e}(e)||function(e){return Object.keys(e).some(e=>C.includes(e))}(e)?{captureContext:e}:e}const C=["user","level","extra","contexts","tags","fingerprint","propagationContext"]},70333(e,t,n){"use strict";n.d(t,{f:()=>a,r:()=>o});var r=n(40873);const i="_sentrySpan";function o(e,t){t?(0,r.my)(e,i,t):delete e[i]}function a(e){return e[i]}},5915(e,t,n){"use strict";n.d(t,{Bk:()=>x,et:()=>g,kX:()=>h,pK:()=>v,xl:()=>S,zU:()=>w});var r=n(92328),i=n(95200),o=n(57968),a=n(74611),s=n(88728),c=n(5602),l=n(30243),u=n(90519),f=n(70333);let d=!1;function h(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:g(e).parent_span_id,o=(0,s.L)(e).scope;return{parent_span_id:i,span_id:r?o?.getPropagationContext().propagationSpanId||(0,l.Z)():t,trace_id:n}}function p(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:i})=>({span_id:e,trace_id:t,sampled:1===n,attributes:i,...r})):void 0}function m(e){return"number"==typeof e?y(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?y(e.getTime()):(0,u.zf)()}function y(e){return e>9999999999?e/1e3:e}function g(e){if(function(e){return"function"==typeof e.getSpanJSON}(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(function(e){const t=e;return!!(t.attributes&&t.startTime&&t.name&&t.endTime&&t.status)}(e)){const{attributes:r,startTime:i,name:o,endTime:s,status:c,links:l}=e;return{span_id:t,trace_id:n,data:r,description:o,parent_span_id:"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0,start_timestamp:m(i),timestamp:m(s)||void 0,status:b(c),op:r[a.uT],origin:r[a.JD],links:p(l)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function v(e){const{traceFlags:t}=e.spanContext();return 1===t}function b(e){if(e&&0!==e.code)return 1===e.code?"ok":e.message||"unknown_error"}function w(e){return e._sentryRootSpan||e}function x(){const e=(0,i.EU)(),t=(0,r.h)(e);return t.getActiveSpan?t.getActiveSpan():(0,f.f)((0,o.o5)())}function S(){d||((0,c.pq)(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly.")}),d=!0)}},75739(e,t,n){"use strict";n.d(t,{tH:()=>p});var r=n(57968),i=n(5602),o=n(64251),a=n(20144),s=n(49431),c=n(90452);function l(e={}){const t=c.jf.document,n=t?.head||t?.body;if(!n)return void(s.T&&i.vF.error("[showReportDialog] Global document not defined"));const l=(0,r.o5)(),u=(0,r.KU)(),f=u?.getDsn();if(!f)return void(s.T&&i.vF.error("[showReportDialog] DSN not configured"));const d={...e,user:{...l.getUser(),...e.user},eventId:e.eventId||(0,o.Q)()},h=c.jf.document.createElement("script");h.async=!0,h.crossOrigin="anonymous",h.src=(0,a.k)(f,d);const{onLoad:p,onClose:m}=d;if(p&&(h.onload=p),m){const e=t=>{if("__sentry_reportdialog_closed__"===t.data)try{m()}finally{c.jf.removeEventListener("message",e)}};c.jf.addEventListener("message",e)}n.appendChild(h)}var u=n(96540);const f="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;var d=n(30690);const h={componentStack:null,error:null,eventId:null};class p extends u.Component{constructor(e){super(e),this.state=h,this._openFallbackReportDialog=!0;const t=(0,r.KU)();t&&e.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=t.on("afterSendEvent",t=>{!t.type&&this._lastEventId&&t.event_id===this._lastEventId&&l({...e.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(e,t){const{componentStack:n}=t,{beforeCapture:i,onError:a,showDialog:s,dialogOptions:c}=this.props;(0,r.v4)(f=>{i&&i(f,e,n);const h=null!=this.props.handled?this.props.handled:!!this.props.fallback,p=function(e,{componentStack:t},n){if(function(e){const t=e.match(/^([^.]+)/);return null!==t&&parseInt(t[0])>=17}(u.version)&&(0,d.bJ)(e)&&t){const n=new Error(e.message);n.name=`React ErrorBoundary ${e.name}`,n.stack=t,function(e,t){const n=new WeakSet;!function e(t,r){if(!n.has(t))return t.cause?(n.add(t),e(t.cause,r)):void(t.cause=r)}(e,t)}(e,n)}return(0,r.v4)(r=>(r.setContext("react",{componentStack:t}),(0,o.Cp)(e,n)))}(e,t,{mechanism:{handled:h}});a&&a(e,n,p),s&&(this._lastEventId=p,this._openFallbackReportDialog&&l({...c,eventId:p})),this.setState({error:e,componentStack:n,eventId:p})})}componentDidMount(){const{onMount:e}=this.props;e&&e()}componentWillUnmount(){const{error:e,componentStack:t,eventId:n}=this.state,{onUnmount:r}=this.props;r&&(this.state===h?r(null,null,null):r(e,t,n)),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}resetErrorBoundary(){const{onReset:e}=this.props,{error:t,componentStack:n,eventId:r}=this.state;e&&e(t,n,r),this.setState(h)}render(){const{fallback:e,children:t}=this.props,n=this.state;if(null===n.componentStack)return"function"==typeof t?t():t;const r="function"==typeof e?u.createElement(e,{error:n.error,componentStack:n.componentStack,resetError:()=>this.resetErrorBoundary(),eventId:n.eventId}):e;return u.isValidElement(r)?r:(e&&f&&i.vF.warn("fallback did not produce a valid ReactElement"),null)}}}
2,93590(e,t,n){"use strict";n.d(t,{t:()=>s});var r=n(57968),i=n(6810),o=n(40873);const a={attachReduxState:!0,actionTransformer:e=>e,stateTransformer:e=>e||null};function s(e){const t={...a,...e};return e=>(n,a)=>{function s(e){return(n,a)=>{const s=e(n,a),c=(0,r.o5)(),l=t.actionTransformer(a);null!=l&&(0,i.Z)({category:"redux.action",data:l,type:"info"});const u=t.stateTransformer(s);if(null!=u){const e=(0,r.KU)(),t=e?.getOptions(),n=t?.normalizeDepth||3,i={state:{type:"redux",value:u}};(0,o.my)(i,"__sentry_override_normalization_depth__",3+n),c.setContext("state",i)}else c.setContext("state",null);const{configureScopeWithState:f}=t;return"function"==typeof f&&f(c,s),s}}t.attachReduxState&&(0,r.m6)().addEventProcessor((e,t)=>{try{void 0===e.type&&"redux"===e.contexts.state.state.type&&(t.attachments=[...t.attachments||[],{filename:"redux_state.json",data:JSON.stringify(e.contexts.state.state.value)}])}catch(e){}return e});const c=e(s(n),a);return c.replaceReducer=new Proxy(c.replaceReducer,{apply:function(e,t,n){e.apply(t,[s(n[0])])}}),c}}},83880(e,t,n){"use strict";n.d(t,{T:()=>st});var r=n(64251),i=n(26674),o=n(68826);function a(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch(e){}return t}var s=n(5602),c=n(44910),l=n(2323);const u=[/^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. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],f=(0,o._C)((e={})=>{let t;return{name:"EventFilters",setup(n){const r=n.getOptions();t=h(e,r)},processEvent(n,r,o){if(!t){const n=o.getOptions();t=h(e,n)}return function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;const n=e.transaction;return!!n&&(0,l.Xr)(n,t)}(e,t.ignoreTransactions))return i.T&&s.vF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,c.$X)(e)}`),!0}else{if(function(e,t){return!!t?.length&&a(e).some(e=>(0,l.Xr)(e,t))}(e,t.ignoreErrors))return i.T&&s.vF.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,c.$X)(e)}`),!0;if(function(e){return!!e.exception?.values?.length&&(!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))}(e))return i.T&&s.vF.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${(0,c.$X)(e)}`),!0;if(function(e,t){if(!t?.length)return!1;const n=p(e);return!!n&&(0,l.Xr)(n,t)}(e,t.denyUrls))return i.T&&s.vF.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,c.$X)(e)}.\nUrl: ${p(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;const n=p(e);return!n||(0,l.Xr)(n,t)}(e,t.allowUrls))return i.T&&s.vF.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,c.$X)(e)}.\nUrl: ${p(e)}`),!0}return!1}(n,t)?null:n}}}),d=(0,o._C)((e={})=>({...f(e),name:"InboundFilters"}));function h(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:u],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function p(e){try{const t=[...e.exception?.values??[]].reverse().find(e=>void 0===e.mechanism?.parent_id&&e.stacktrace?.frames?.length),n=t?.stacktrace?.frames;return n?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch(t){return i.T&&s.vF.error(`Cannot extract url for event ${(0,c.$X)(e)}`),null}}var m=n(57968),y=n(40873);let g;const v=new WeakMap,b=(0,o._C)(()=>({name:"FunctionToString",setupOnce(){g=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=(0,y.sp)(this),n=v.has((0,m.KU)())&&void 0!==t?t:this;return g.apply(n,e)}}catch{}},setup(e){v.set(e,!0)}}));var w=n(20527);const x=(0,o._C)(()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(function(e,t){return!!t&&(!!function(e,t){const n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!k(e,t)&&!!S(e,t))))}(e,t)||!!function(e,t){const n=E(t),r=E(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!k(e,t)&&!!S(e,t)))}(e,t))}(t,e))return i.T&&s.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}});function S(e,t){let n=(0,w.RV)(e),r=(0,w.RV)(t);if(!n&&!r)return!0;
2if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let e=0;e<r.length;e++){const t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function k(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(e){return!1}}function E(e){return e.exception?.values&&e.exception.values[0]}var _=n(20144),C=n(7313),A=n(87961),T=n(87202),P=n(59328),O=n(18710),M=n(45734),I=n(91773),R=n(45333),D=n(5915),N=n(74611),j=n(90519),F=n(30690),L=n(20572);const B="Not capturing exception because it's already been captured.",z="Discarded session because of missing or non-string release",V=Symbol.for("SentryInternalError"),U=Symbol.for("SentryDoNotSendEventError");function $(e){return{message:e,[V]:!0}}function H(e){return{message:e,[U]:!0}}function q(e){return!!e&&"object"==typeof e&&V in e}function W(e){return!!e&&"object"==typeof e&&U in e}class G{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=(0,A.AD)(e.dsn):i.T&&s.vF.warn("No DSN provided, client will not send events."),this._dsn){const t=(0,_.Z)(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){const r=(0,c.eJ)();if((0,c.GR)(e))return i.T&&s.vF.log(B),r;const o={event_id:r,...t};return this._process(this.eventFromException(e,o).then(e=>this._captureEvent(e,o,n))),o.event_id}captureMessage(e,t,n,r){const i={event_id:(0,c.eJ)(),...n},o=(0,F.NF)(e)?e:String(e),a=(0,F.sO)(e)?this.eventFromMessage(o,t,i):this.eventFromException(e,i);return this._process(a.then(e=>this._captureEvent(e,i,r))),i.event_id}captureEvent(e,t,n){const r=(0,c.eJ)();if(t?.originalException&&(0,c.GR)(t.originalException))return i.T&&s.vF.log(B),r;const o={event_id:r,...t},a=e.sdkProcessingMetadata||{},l=a.capturedSpanScope,u=a.capturedSpanIsolationScope;return this._process(this._captureEvent(e,o,l||n,u)),o.event_id}captureSession(e){this.sendSession(e),(0,P.qO)(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;
2return t?(this.emit("flush"),this._isClientDoneProcessing(e).then(n=>t.flush(e).then(e=>n&&e))):(0,L.XW)(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.emit("close"),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const t=this._integrations[e.name];(0,o.qm)(this,e,this._integrations),t||(0,o.lc)(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=function(e,t,n,r){const i=(0,T.Cj)(n),o=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n?.sdk);const a=(0,T.n2)(e,i,r,t);delete e.sdkProcessingMetadata;const s=[{type:o},e];return(0,T.h4)(a,[s])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(const e of t.attachments||[])n=(0,T.W3)(n,(0,T.bm)(e));const r=this.sendEnvelope(n);r&&r.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){const{release:t,environment:n=C.U}=this._options;if("aggregates"in e){const r=e.attrs||{};if(!r.release&&!t)return void(i.T&&s.vF.warn(z));r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t)return void(i.T&&s.vF.warn(z));e.release=e.release||t,e.environment=e.environment||n}this.emit("beforeSendSession",e);const r=function(e,t,n,r){const i=(0,T.Cj)(n),o={sent_at:(new Date).toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:(0,A.SB)(t)}},a="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return(0,T.h4)(o,[a])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){const r=`${e}:${t}`;i.T&&s.vF.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){const n=this._hooks[e]=this._hooks[e]||[];return n.push(t),()=>{const e=n.indexOf(t);e>-1&&n.splice(e,1)}}emit(e,...t){const n=this._hooks[e];n&&n.forEach(e=>e(...t))}sendEnvelope(e){return this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport?this._transport.send(e).then(null,e=>(i.T&&s.vF.error("Error while sending envelope:",e),e)):(i.T&&s.vF.error("Transport disabled"),(0,L.XW)({}))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=(0,o.P$)(this,e),(0,o.lc)(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1;const i=t.exception?.values;if(i){r=!0;for(const e of i){const t=e.mechanism;if(!1===t?.handled){n=!0;break}}}const o="ok"===e.status;(o&&0===e.errors||o&&n)&&((0,P.qO)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new L.T2(t=>{let n=0;const r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r){const i=this.getOptions(),o=Object.keys(this._integrations);return!t.integrations&&o?.length&&(t.integrations=o),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),(0,R.mG)(i,e,t,n,this,r).then(e=>{if(null===e)return e;this.emit("postprocessEvent",e,t),e.contexts={trace:(0,m.vn)(n),...e.contexts};const r=(0,O.ao)(this,n);return e.sdkProcessingMetadata={dynamicSamplingContext:r,...e.sdkProcessingMetadata},e})}_captureEvent(e,t={},n=(0,m.o5)(),r=(0,m.rm)()){return i.T&&K(e)&&s.vF.log(`Captured error event \`${a(e)[0]||"<unknown>"}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{i.T&&(W(e)?s.vF.log(e.message):q(e)?s.vF.warn(e.message):s.vF.warn(e))})}_processEvent(e,t,n,r){const i=this.getOptions(),{sampleRate:o}=i,a=Q(e),s=K(e),c=e.type||"error",l=`before send for type \`${c}\``,u=void 0===o?void 0:(0,I.i)(o);if(s&&"number"==typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error"),(0,L.xg)(H(`Discarding event because it's not included in the random sample (sampling rate = ${o})`));const f="replay_event"===c?"replay":c;return this._prepareEvent(e,t,n,r).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",f),H("An event processor returned `null`, will not send event.");if(t.data&&!0===t.data.__sentry__)return e;const n=function(e,t,n,r){const{beforeSend:i,beforeSendTransaction:o,beforeSendSpan:a}=t;let s=n;if(K(s)&&i)return i(s,r);if(Q(s)){if(a){const e=a(function(e){const{trace_id:t,parent_span_id:n,span_id:r,status:i,origin:o,data:a,op:s}=e.contexts?.trace??{};return{data:a??{},description:e.transaction,op:s,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??"",origin:o,profile_id:a?.[N.E1],exclusive_time:a?.[N.jG],measurements:e.measurements,is_segment:!0}}(s));if(e?s=(0,M.h)(n,{type:"transaction",timestamp:(c=e).timestamp,start_timestamp:c.start_timestamp,transaction:c.description,contexts:{trace:{trace_id:c.trace_id,span_id:c.span_id,parent_span_id:c.parent_span_id,op:c.op,status:c.status,origin:c.origin,data:{...c.data,...c.profile_id&&{[N.E1]:c.profile_id},...c.exclusive_time&&{[N.jG]:c.exclusive_time}}}},measurements:c.measurements}):(0,D.xl)(),s.spans){const e=[];for(const t of s.spans){const n=a(t);n?e.push(n):((0,D.xl)(),e.push(t))}s.spans=e}}if(o){if(s.spans){const e=s.spans.length;s.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return o(s,r)}}var c;return s}(0,i,e,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if((0,F.Qg)(e))return e.then(e=>{if(!(0,F.Qd)(e)&&null!==e)throw $(n);return e},e=>{throw $(`${t} rejected with ${e}`)});if(!(0,F.Qd)(e)&&null!==e)throw $(n);return e}(n,l)}).then(i=>
2{if(null===i){if(this.recordDroppedEvent("before_send",f),a){const t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw H(`${l} returned \`null\`, will not send event.`)}const o=n.getSession()||r.getSession();if(s&&o&&this._updateSessionFromEvent(o,i),a){const e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}const c=i.transaction_info;if(a&&c&&i.transaction!==e.transaction){const e="custom";i.transaction_info={...c,source:e}}return this.sendEvent(i,t),i}).then(null,e=>{if(W(e)||q(e))throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),$(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t}})}_flushOutcomes(){i.T&&s.vF.log("Flushing outcomes...");const e=this._clearOutcomes();if(0===e.length)return void(i.T&&s.vF.log("No outcomes to send"));if(!this._dsn)return void(i.T&&s.vF.log("No dsn provided, will not send outcomes"));i.T&&s.vF.log("Sending outcomes:",e);const t=function(e,t){const n=[{type:"client_report"},{timestamp:(0,j.lu)(),discarded_events:e}];return(0,T.h4)(t?{dsn:t}:{},[n])}(e,this._options.tunnel&&(0,A.SB)(this._dsn));this.sendEnvelope(t)}}function K(e){return void 0===e.type}function Q(e){return"transaction"===e.type}var J=n(91591);function X(e,t,n=[t],r="npm"){const i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map(e=>({name:`${r}:@sentry/${e}`,version:"9.30.0"})),version:"9.30.0"}),e._metadata=i}var Y=n(92575);function Z(e,t){const n=t??function(e){return Y.O._sentryClientToLogBufferMap?.get(e)}(e)??[];if(0===n.length)return;const r=e.getOptions(),i=function(e,t,n,r){const i={};return t?.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(i.dsn=(0,A.SB)(r)),(0,T.h4)(i,[(o=e,[{type:"log",item_count:o.length,content_type:"application/vnd.sentry.items.log+json"},{items:o}])]);var o}(n,r._metadata,r.tunnel,e.getDsn());Y.O._sentryClientToLogBufferMap?.set(e,[]),e.emit("flushLogs"),e.sendEnvelope(i)}function ee(e){void 0===e.user?.ip_address&&(e.user={...e.user,ip_address:"{{auto}}"})}function te(e){"aggregates"in e?void 0===e.attrs?.ip_address&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}Y.O._sentryClientToLogBufferMap=new WeakMap;var ne=n(51071);function re(e,t){const n=oe(e,t),r={type:ce(t),value:le(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function ie(e,t){return{exception:{values:[re(e,t)]}}}function oe(e,t){const n=t.stacktrace||t.stack||"",r=function(e){return e&&ae.test(e.message)?1:0}(t),i=function(e){return"number"==typeof e.framesToPop?e.framesToPop:0}(t);try{return e(n,r,i)}catch(e){}return[]}const ae=/Minified React error #\d+;/i;function se(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function ce(e){const t=e?.name;return!t&&se(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}function le(e){const t=e?.message;return se(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function ue(e,t,n,r,i){let o;if((0,F.T2)(t)&&t.error)return ie(e,t.error);if((0,F.BD)(t)||(0,F.W6)(t)){const i=t;if("stack"in t)o=ie(e,t);else{const t=i.name||((0,F.BD)(i)?"DOMError":"DOMException"),a=i.message?`${t}: ${i.message}`:t;o=fe(e,a,n,r),(0,c.gO)(o,a)}return"code"in i&&(o.tags={...o.tags,"DOMException.code":`${i.code}`}),o}return(0,F.bJ)(t)?ie(e,t):(0,F.Qd)(t)||(0,F.xH)(t)?(o=function(e,t,n,r){const i=(0,m.KU)(),o=i?.getOptions().normalizeDepth,a=function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}(t),s={__serialized__:(0,ne.cd)(t,o)};if(a)return{exception:{values:[re(e,a)]},extra:s};const c={exception:{values:[{type:(0,F.xH)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:de(t,{isUnhandledRejection:r})}]},extra:s};if(n){const t=oe(e,n);t.length&&(c.exception.values[0].stacktrace={frames:t})}return c}(e,t,n,i),(0,c.M6)(o,{synthetic:!0}),o):(o=fe(e,t,n,r),(0,c.gO)(o,`${t}`,void 0),(0,c.M6)(o,{synthetic:!0}),o)}function fe(e,t,n,r){const i={};if(r&&n){const r=oe(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),(0,c.M6)(i,{synthetic:!0})}
2if((0,F.NF)(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function de(e,{isUnhandledRejection:t}){const n=(0,y.HF)(e),r=t?"promise rejection":"exception";return(0,F.T2)(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:(0,F.xH)(e)?`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}var he=n(90452);class pe extends G{constructor(e){const t=(n=e,{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:he.jf.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...n});var n;X(t,"browser",["browser"],he.jf.SENTRY_SDK_SOURCE||(0,J.e)()),super(t);const{sendDefaultPii:r,sendClientReports:i,_experiments:o}=this._options,a=o?.enableLogs;he.jf.document&&(i||a)&&he.jf.document.addEventListener("visibilitychange",()=>{"hidden"===he.jf.document.visibilityState&&(i&&this._flushOutcomes(),a&&Z(this))}),a&&(this.on("flush",()=>{Z(this)}),this.on("afterCaptureLog",()=>{this._logFlushIdleTimeout&&clearTimeout(this._logFlushIdleTimeout),this._logFlushIdleTimeout=setTimeout(()=>{Z(this)},5e3)})),r&&(this.on("postprocessEvent",ee),this.on("beforeSendSession",te))}eventFromException(e,t){return function(e,t,n,r){const i=ue(e,t,n?.syntheticException||void 0,r);return(0,c.M6)(i),i.level="error",n?.event_id&&(i.event_id=n.event_id),(0,L.XW)(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,i){const o=fe(e,t,r?.syntheticException||void 0,i);return o.level=n,r?.event_id&&(o.event_id=r.event_id),(0,L.XW)(o)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,r)}}var me=n(26131);function ye(){"console"in Y.O&&s.Ow.forEach(function(e){e in Y.O.console&&(0,y.GS)(Y.O.console,e,function(t){return s.Z9[e]=t,function(...t){const n={args:t,level:e};(0,me.aj)("console",n);const r=s.Z9[e];r?.apply(Y.O.console,t)}})})}var ge=n(66220),ve=n(6810),be=n(87320),we=n(22209);function xe(e){return void 0===e?void 0:e>=400&&e<500?"warning":e>=500?"error":void 0}function Se(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}var ke=n(61221),Ee=n(35947),_e=n(85761),Ce=n(49431);const Ae=(0,o._C)((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){t.console&&function(e){const t="console";(0,me.s5)(t,e),(0,me.AS)(t,ye)}(function(e){return function(t){if((0,m.KU)()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:(0,we.t)(t.level),message:(0,l.gt)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${(0,l.gt)(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}(0,ve.Z)(n,{input:t.args,level:t.level})}}(e)),t.dom&&(0,ke.i)(function(e,t){return function(n){if((0,m.KU)()!==e)return;let r,i,o="object"==typeof t?t.serializeAttribute:void 0,a="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;a&&a>1024&&(Ce.T&&s.vF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=1024),"string"==typeof o&&(o=[o]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;r=(0,be.Hd)(t,{keyAttrs:o,maxStringLength:a}),i=(0,be.xE)(t)}catch(e){r="<unknown>"}if(0===r.length)return;const c={category:`ui.${n.name}`,message:r};i&&(c.data={"ui.component_name":i}),(0,ve.Z)(c,{event:n.event,name:n.name,global:n.global})}}(e,t.dom)),t.xhr&&(0,Ee.Mn)(function(e){return function(t){if((0,m.KU)()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[Ee.Er];if(!n||!r||!i)return;const{method:o,url:a,status_code:s,body:c}=i,l={method:o,url:a,status_code:s},u={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r},f={category:"xhr",data:l,type:"http",level:xe(s)};e.emit("beforeOutgoingRequestBreadcrumb",f,u),(0,ve.Z)(f,u)}}(e)),t.fetch&&(0,ge.ur)(function(e){return function(t){if((0,m.KU)()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;
2if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.fetchData.method,t.fetchData.url,t.error){const i=t.fetchData,o={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},a={category:"fetch",data:i,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",a,o),(0,ve.Z)(a,o)}else{const i=t.response,o={...t.fetchData,status_code:i?.status};t.fetchData.request_body_size,t.fetchData.response_body_size;const a={input:t.args,response:i,startTimestamp:n,endTimestamp:r},s={category:"fetch",data:o,type:"http",level:xe(o.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",s,a),(0,ve.Z)(s,a)}}}(e)),t.history&&(0,_e._)(function(e){return function(t){if((0,m.KU)()!==e)return;let n=t.from,r=t.to;const i=Se(he.jf.location.href);let o=n?Se(n):void 0;const a=Se(r);o?.path||(o=i),i.protocol===a.protocol&&i.host===a.host&&(r=a.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),(0,ve.Z)({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){(0,m.KU)()===e&&(0,ve.Z)({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,c.$X)(t)},{event:t})}}(e))}}}),Te=["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"],Pe=(0,o._C)((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,y.GS)(he.jf,"setTimeout",Oe),t.setInterval&&(0,y.GS)(he.jf,"setInterval",Oe),t.requestAnimationFrame&&(0,y.GS)(he.jf,"requestAnimationFrame",Me),t.XMLHttpRequest&&"XMLHttpRequest"in he.jf&&(0,y.GS)(XMLHttpRequest.prototype,"send",Ie);const e=t.eventTarget;e&&(Array.isArray(e)?e:Te).forEach(e=>function(e,t){const n=he.jf,r=n[e]?.prototype;r?.hasOwnProperty?.("addEventListener")&&((0,y.GS)(r,"addEventListener",function(n){return function(r,i,o){try{"function"==typeof i.handleEvent&&(i.handleEvent=(0,he.LV)(i.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,w.qQ)(i),target:e},handled:!1,type:"instrument"}}))}catch{}return t.unregisterOriginalCallbacks&&function(e,t,n){e&&"object"==typeof e&&"removeEventListener"in e&&"function"==typeof e.removeEventListener&&e.removeEventListener(t,n)}(this,r,i),n.apply(this,[r,(0,he.LV)(i,{mechanism:{data:{function:"addEventListener",handler:(0,w.qQ)(i),target:e},handled:!1,type:"instrument"}}),o])}}),(0,y.GS)(r,"removeEventListener",function(e){return function(t,n,r){try{const i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch(e){}return e.call(this,t,n,r)}}))}(e,t))}}});function Oe(e){return function(...t){const n=t[0];return t[0]=(0,he.LV)(n,{mechanism:{data:{function:(0,w.qQ)(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function Me(e){return function(t){return e.apply(this,[(0,he.LV)(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,w.qQ)(e)},handled:!1,type:"instrument"}})])}}function Ie(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&(0,y.GS)(n,e,function(t){const n={mechanism:{data:{function:e,handler:(0,w.qQ)(t)},handled:!1,type:"instrument"}},r=(0,y.sp)(t);return r&&(n.mechanism.data.handler=(0,w.qQ)(r)),(0,he.LV)(t,n)})}),e.apply(this,t)}}const Re=(0,o._C)(()=>({name:"BrowserSession",setupOnce(){void 0!==he.jf.document?((0,r.J0)({ignoreDuration:!0}),(0,r.J5)(),(0,_e._)(({from:e,to:t})=>{void 0!==e&&e!==t&&((0,r.J0)({ignoreDuration:!0}),(0,r.J5)())})):Ce.T&&s.vF.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.")}}));let De=null;function Ne(){De=Y.O.onerror,Y.O.onerror=function(e,t,n,r,i){const o={column:r,error:i,line:n,msg:e,url:t};return(0,me.aj)("error",o),!!De&&De.apply(this,arguments)},Y.O.onerror.__SENTRY_INSTRUMENTED__=!0}let je=null;function Fe(){je=Y.O.onunhandledrejection,Y.O.onunhandledrejection=function(e){const t=e;return(0,me.aj)("unhandledrejection",t),!je||je.apply(this,arguments)},Y.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const Le=(0,o._C)((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(function(e){!function(){const t="error";(0,me.s5)(t,t=>{const{stackParser:n,attachStacktrace:i}=ze();if((0,m.KU)()!==e||(0,he.jN)())return;const{msg:o,url:a,line:s,column:c,error:l}=t,u=function(e,t,n,r){const i=e.exception=e.exception||{},o=i.values=i.values||[],a=o[0]=o[0]||{},s=a.stacktrace=a.stacktrace||{},c=s.frames=s.frames||[],l=r,u=n,f=(0,F.Kg)(t)&&t.length>0?t:(0,be.$N)();return 0===c.length&&c.push({colno:l,filename:f,function:"?",in_app:!0,lineno:u}),e}
2(ue(n,l||o,void 0,i,!1),a,s,c);u.level="error",(0,r.r)(u,{originalException:l,mechanism:{handled:!1,type:"onerror"}})}),(0,me.AS)(t,Ne)}()}(e),Be("onerror")),t.onunhandledrejection&&(function(e){!function(){const t="unhandledrejection";(0,me.s5)(t,t=>{const{stackParser:n,attachStacktrace:i}=ze();if((0,m.KU)()!==e||(0,he.jN)())return;const o=function(e){if((0,F.sO)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(t),a=(0,F.sO)(o)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}:ue(n,o,void 0,i,!0);a.level="error",(0,r.r)(a,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})}),(0,me.AS)(t,Fe)}()}(e),Be("onunhandledrejection"))}}});function Be(e){Ce.T&&s.vF.log(`Global Handler attached: ${e}`)}function ze(){const e=(0,m.KU)();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Ve=(0,o._C)(()=>({name:"HttpContext",preprocessEvent(e){if(!he.jf.navigator&&!he.jf.location&&!he.jf.document)return;const t=(0,he.AP)(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}}));function Ue(e,t,n,r,i,o){if(!i.exception?.values||!o||!(0,F.tH)(o.originalException,Error))return;const a=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;a&&(i.exception.values=$e(e,t,r,o.originalException,n,i.exception.values,a,0))}
2function $e(e,t,n,r,i,o,a,s){if(o.length>=n+1)return o;let c=[...o];if((0,F.tH)(r[i],Error)){He(a,s);const o=e(t,r[i]),l=c.length;qe(o,i,l,s),c=$e(e,t,n,r[i],i,[o,...c],o,l)}return Array.isArray(r.errors)&&r.errors.forEach((r,o)=>{if((0,F.tH)(r,Error)){He(a,s);const l=e(t,r),u=c.length;qe(l,`errors[${o}]`,u,s),c=$e(e,t,n,r,i,[l,...c],l,u)}}),c}function He(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function qe(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}const We=(0,o._C)((e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){Ue(re,i.getOptions().stackParser,n,t,e,r)}}});function Ge(e,t,n,r){const i={filename:e,function:"<anonymous>"===t?"?":t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}const Ke=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Qe=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Je=/\((\S*)(?::(\d+))(?::(\d+))\)/,Xe=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Ye=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Ze=[[30,e=>{const t=Ke.exec(e);if(t){const[,e,n,r]=t;return Ge(e,"?",+n,+r)}const n=Qe.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){const e=Je.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}const[e,t]=tt(n[1]||"?",n[2]);return Ge(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],[50,e=>{const t=Xe.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=Ye.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||"?";return[n,e]=tt(n,e),Ge(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]],et=(0,w.gd)(...Ze),tt=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:"?",n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},nt=Symbol.for("SentryBufferFullError");var rt=n(31857),it=n(3594);function ot(e,t=(0,it.qd)("fetch")){let n=0,r=0;return function(e,t,n=function(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return(0,L.xg)(nt);const i=r();return-1===t.indexOf(i)&&t.push(i),i.then(()=>n(i)).then(null,()=>n(i).then(null,()=>{})),i},drain:function(e){return new L.T2((n,r)=>{let i=t.length;if(!i)return n(!0);const o=setTimeout(()=>{e&&e>0&&n(!1)},e);t.forEach(e=>{(0,L.XW)(e).then(()=>{--i||(clearTimeout(o),n(!0))},r)})})}}}(e.bufferSize||64)){let r={};return{send:function(o){const a=[];if((0,T.yH)(o,(t,n)=>{const i=(0,T.zk)(n);(0,rt.Jz)(r,i)?e.recordDroppedEvent("ratelimit_backoff",i):a.push(t)}),0===a.length)return(0,L.XW)({});const c=(0,T.h4)(o[0],a),l=t=>{(0,T.yH)(c,(n,r)=>{e.recordDroppedEvent(t,(0,T.zk)(r))})};return n.add(()=>t({body:(0,T.bN)(c)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&i.T&&s.vF.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=(0,rt.wq)(r,e),e),e=>{throw l("network_error"),i.T&&s.vF.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===nt)return i.T&&s.vF.error("Skipped sending event because buffer is full."),l("queue_overflow"),(0,L.XW)({});throw e})},flush:e=>n.drain(e)}}(e,function(i){const o=i.body.length;n+=o,r++;const a={body:i.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return(0,it.y7)("fetch"),(0,L.xg)("No fetch implementation available");try{return t(e.url,a).then(e=>(n-=o,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return(0,it.y7)("fetch"),n-=o,r--,(0,L.xg)(e)}})}var at=n(96540);function st(e){const t={...e};return X(t,"react"),(0,r.o)("react",{version:at.version}),function(e={}){const t=!e.skipBrowserExtensionCheck&&!!function(){if(void 0===he.jf.window)return!1;const e=he.jf;if(e.nw)return!1;const t=e.chrome||e.browser;if(!t?.runtime?.id)return!1;const n=(0,be.$N)();return!(he.jf===he.jf.top&&["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"].some(e=>n.startsWith(`${e}://`)))}()&&(Ce.T&&(0,s.pq)(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0),n={...e,enabled:!t&&e.enabled,stackParser:(0,w.vk)(e.stackParser||et),integrations:(0,o.mH)({integrations:e.integrations,defaultIntegrations:null==e.defaultIntegrations?[d(),b(),Pe(),Ae(),Le(),We(),x(),Ve(),Re()]:e.defaultIntegrations}),transport:e.transport||ot};return function(e,t){!0===t.debug&&(i.T?s.vF.enable():(0,s.pq)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,m.o5)().update(t.initialScope);const n=new e(t);return function(e){(0,m.o5)().setClient(e)}(n),n.init(),n}(pe,n)}(t)}},38728(e,t,n){"use strict";n.d(t,{A:()=>
2o});var r=n(96540),i={outline:{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"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};const o=(e,t,n,o)=>{const a=(0,r.forwardRef)(({color:n="currentColor",size:a=24,stroke:s=2,title:c,className:l,children:u,...f},d)=>(0,r.createElement)("svg",{ref:d,...i[e],width:a,height:a,className:["tabler-icon",`tabler-icon-${t}`,l].join(" "),..."filled"===e?{fill:n}:{strokeWidth:s,stroke:n},...f},[c&&(0,r.createElement)("title",{key:"svg-title"},c),...o.map(([e,t])=>(0,r.createElement)(e,t)),...Array.isArray(u)?u:[u]]));return a.displayName=`${n}`,a}},11288(e,t,n){"use strict";const r=(0,n(38728).A)("outline","brand-discord","BrandDiscord",[["path",{d:"M8 12a1 1 0 1 0 2 0a1 1 0 0 0 -2 0",key:"svg-0"}],["path",{d:"M14 12a1 1 0 1 0 2 0a1 1 0 0 0 -2 0",key:"svg-1"}],["path",{d:"M15.5 17c0 1 1.5 3 2 3c1.5 0 2.833 -1.667 3.5 -3c.667 -1.667 .5 -5.833 -1.5 -11.5c-1.457 -1.015 -3 -1.34 -4.5 -1.5l-.972 1.923a11.913 11.913 0 0 0 -4.053 0l-.975 -1.923c-1.5 .16 -3.043 .485 -4.5 1.5c-2 5.667 -2.167 9.833 -1.5 11.5c.667 1.333 2 3 3.5 3c.5 0 2 -2 2 -3",key:"svg-2"}],["path",{d:"M7 16.5c3.5 1 6.5 1 10 0",key:"svg-3"}]]);n.d(t,["A",0,r])},14284(e,t,n){"use strict";const r=(0,n(38728).A)("outline","brand-instagram","BrandInstagram",[["path",{d:"M4 8a4 4 0 0 1 4 -4h8a4 4 0 0 1 4 4v8a4 4 0 0 1 -4 4h-8a4 4 0 0 1 -4 -4z",key:"svg-0"}],["path",{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-1"}],["path",{d:"M16.5 7.5v.01",key:"svg-2"}]]);n.d(t,["A",0,r])},10424(e,t,n){"use strict";const r=(0,n(38728).A)("outline","brand-x","BrandX",[["path",{d:"M4 4l11.733 16h4.267l-11.733 -16z",key:"svg-0"}],["path",{d:"M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772",key:"svg-1"}]]);n.d(t,["A",0,r])},25615(e,t,n){"use strict";const r=(0,n(38728).A)("outline","brand-youtube","BrandYoutube",[["path",{d:"M2 8a4 4 0 0 1 4 -4h12a4 4 0 0 1 4 4v8a4 4 0 0 1 -4 4h-12a4 4 0 0 1 -4 -4v-8z",key:"svg-0"}],["path",{d:"M10 9l5 3l-5 3z",key:"svg-1"}]]);n.d(t,["A",0,r])},30357(e,t,n){"use strict";const r=(0,n(38728).A)("outline","chevron-left","ChevronLeft",[["path",{d:"M15 6l-6 6l6 6",key:"svg-0"}]]);n.d(t,["A",0,r])},74192(e,t,n){"use strict";const r=(0,n(38728).A)("outline","chevron-right","ChevronRight",[["path",{d:"M9 6l6 6l-6 6",key:"svg-0"}]]);n.d(t,["A",0,r])},87442(e,t,n){"use strict";const r=(0,n(38728).A)("outline","matrix","Matrix",[["path",{d:"M8 16h.013",key:"svg-0"}],["path",{d:"M12.01 16h.005",key:"svg-1"}],["path",{d:"M16.015 16h.005",key:"svg-2"}],["path",{d:"M16.015 12h.005",key:"svg-3"}],["path",{d:"M8.01 12h.005",key:"svg-4"}],["path",{d:"M12.01 12h.005",key:"svg-5"}],["path",{d:"M16.02 8h.005",key:"svg-6"}],["path",{d:"M8.015 8h.005",key:"svg-7"}],["path",{d:"M12.015 8h.005",key:"svg-8"}],["path",{d:"M7 4h-1a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h1",key:"svg-9"}],["path",{d:"M17 4h1a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-1",key:"svg-10"}]]);n.d(t,["A",0,r])},87337(e,t,n){"use strict";const r=(0,n(38728).A)("outline","puzzle","Puzzle",[["path",{d:"M4 7h3a1 1 0 0 0 1 -1v-1a2 2 0 0 1 4 0v1a1 1 0 0 0 1 1h3a1 1 0 0 1 1 1v3a1 1 0 0 0 1 1h1a2 2 0 0 1 0 4h-1a1 1 0 0 0 -1 1v3a1 1 0 0 1 -1 1h-3a1 1 0 0 1 -1 -1v-1a2 2 0 0 0 -4 0v1a1 1 0 0 1 -1 1h-3a1 1 0 0 1 -1 -1v-3a1 1 0 0 1 1 -1h1a2 2 0 0 0 0 -4h-1a1 1 0 0 1 -1 -1v-3a1 1 0 0 1 1 -1",key:"svg-0"}]]);n.d(t,["A",0,r])},22732(e,t,n){"use strict";var r=n(34164);const i=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,o=r.$;n.d(t,["F",0,(e,t)=>n=>{var r;if(null==(null==t?void 0:t.variants))return o(e,null==n?void 0:n.class,null==n?void 0:n.className);const{variants:a,defaultVariants:s}=t,c=Object.keys(a).map(e=>{const t=null==n?void 0:n[e],r=null==s?void 0:s[e];if(null===t)return null;const o=i(t)||i(r);return a[e][o]}),l=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{}),u=null==t||null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...s,...l}[t]):{...s,...l}[t]===n})?[...e,n,r]:e},[]);return o(e,c,u,null==n?void 0:n.class,null==n?void 0:n.className)}])},34164(e,t,n){"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function i(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i}n.d(t,{$:()=>i})},4293(e,t,n){"use strict";n.d(t,{A:()=>L});var r=n(96540);function i(e){return function(e){return"[object Object]"===Object.prototype.toString.call(e)}(e)||Array.isArray(e)}function o(e,t){const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&(JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{const r=e[n],a=t[n];return"function"==typeof r?`${r}`==`${a}`:i(r)&&i(a)?o(r,a):r===a}))}function a(e){return e.concat().sort((e,t)=>
vendor: 17,293 bytes, line 2
2e.name>t.name?1:-1).map(e=>e.options)}function s(e){return"number"==typeof e}function c(e){return"string"==typeof e}function l(e){return"boolean"==typeof e}function u(e){return"[object Object]"===Object.prototype.toString.call(e)}function f(e){return Math.abs(e)}function d(e){return Math.sign(e)}function h(e,t){return f(e-t)}function p(e){return b(e).map(Number)}function m(e){return e[y(e)]}function y(e){return Math.max(0,e.length-1)}function g(e,t){return t===y(e)}function v(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function b(e){return Object.keys(e)}function w(e,t){return[e,t].reduce((e,t)=>(b(t).forEach(n=>{const r=e[n],i=t[n],o=u(r)&&u(i);e[n]=o?w(r,i):i}),e),{})}function x(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function S(){let e=[];const t={add:function(n,r,i,o={passive:!0}){let a;if("addEventListener"in n)n.addEventListener(r,i,o),a=()=>n.removeEventListener(r,i,o);else{const e=n;e.addListener(i),a=()=>e.removeListener(i)}return e.push(a),t},clear:function(){e=e.filter(e=>e())}};return t}function k(e=0,t=0){const n=f(e-t);function r(t){return t<e}function i(e){return e>t}function o(e){return r(e)||i(e)}return{length:n,max:t,min:e,constrain:function(n){return o(n)?r(n)?e:t:n},reachedAny:o,reachedMax:i,reachedMin:r,removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function E(e,t,n){const{constrain:r}=k(0,e),i=e+1;let o=a(t);function a(e){return n?f((i+e)%i):r(e)}function s(){return o}function c(){return E(e,s(),n)}const l={get:s,set:function(e){return o=a(e),l},add:function(e){return c().set(s()+e)},clone:c};return l}function _(e,t,n,r,i,o,a,s,c,u,p,m,y,g,v,b,w,E,_){const{cross:C,direction:A}=e,T=["INPUT","SELECT","TEXTAREA"],P={passive:!1},O=S(),M=S(),I=k(50,225).constrain(g.measure(20)),R={mouse:300,touch:400},D={mouse:500,touch:600},N=v?43:25;let j=!1,F=0,L=0,B=!1,z=!1,V=!1,U=!1;function $(e){if(!x(e,r)&&e.touches.length>=2)return H(e);const t=o.readPoint(e),n=o.readPoint(e,C),a=h(t,F),c=h(n,L);if(!z&&!U){if(!e.cancelable)return H(e);if(z=a>c,!z)return H(e)}const l=o.pointerMove(e);a>b&&(V=!0),u.useFriction(.3).useDuration(.75),s.start(),i.add(A(l)),e.preventDefault()}function H(e){const t=p.byDistance(0,!1).index!==m.get(),n=o.pointerUp(e)*(v?D:R)[U?"mouse":"touch"],r=function(e,t){const n=m.add(-1*d(e)),r=p.byDistance(e,!v).distance;return v||f(e)<I?r:w&&t?.5*r:p.byIndex(n.get(),0).distance}(A(n),t),i=function(e,t){if(0===e||0===t)return 0;if(f(e)<=f(t))return 0;const n=h(f(e),f(t));return f(n/e)}(n,r),a=N-10*i,s=E+i/50;z=!1,B=!1,M.clear(),u.useDuration(a).useFriction(s),c.distance(r,!v),U=!1,y.emit("pointerUp")}function q(e){V&&(e.stopPropagation(),e.preventDefault(),V=!1)}return{init:function(e){if(!_)return;function s(s){(l(_)||_(e,s))&&function(e){const s=x(e,r);U=s,V=v&&s&&!e.buttons&&j,j=h(i.get(),a.get())>=2,s&&0!==e.button||function(e){const t=e.nodeName||"";return T.includes(t)}(e.target)||(B=!0,o.pointerDown(e),u.useFriction(0).useDuration(0),i.set(a),function(){const e=U?n:t;M.add(e,"touchmove",$,P).add(e,"touchend",H).add(e,"mousemove",$,P).add(e,"mouseup",H)}(),F=o.readPoint(e),L=o.readPoint(e,C),y.emit("pointerDown"))}(s)}const c=t;O.add(c,"dragstart",e=>e.preventDefault(),P).add(c,"touchmove",()=>{},P).add(c,"touchend",()=>{}).add(c,"touchstart",s).add(c,"mousedown",s).add(c,"touchcancel",H).add(c,"contextmenu",H).add(c,"click",q,!0)},destroy:function(){O.clear(),M.clear()},pointerDown:function(){return B}}}function C(e,t){let n,r;function i(e){return e.timeStamp}function o(n,r){const i="client"+("x"===(r||e.scroll)?"X":"Y");return(x(n,t)?n:n.touches[0])[i]}return{pointerDown:function(e){return n=e,r=e,o(e)},pointerMove:function(e){const t=o(e)-o(r),a=i(e)-i(n)>170;return r=e,a&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;const t=o(r)-o(n),a=i(e)-i(n),s=i(e)-i(r)>170,c=t/a;return a&&!s&&f(c)>.1?c:0},readPoint:o}}function A(e,t,n,r,i,o,a){const s=[e].concat(r);let c,u,d=[],h=!1;function p(e){return i.measureSize(a.measure(e))}return{init:function(i){o&&(u=p(e),d=r.map(p),c=new ResizeObserver(n=>{(l(o)||o(i,n))&&function(n){for(const o of n){if(h)return;const n=o.target===e,a=r.indexOf(o.target),s=n?u:d[a];if(f(p(n?e:r[a])-s)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{s.forEach(e=>c.observe(e))}))},destroy:function(){h=!0,c&&c.disconnect()}}}function T(e,t,n,r,i){const o=i.measure(10),a=i.measure(50),s=k(.1,.99);let c=!1;function l(){return!c&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:l,constrain:function(i){if(!l())return;const c=e.reachedMin(t.get())?"min":"max",u=f(e[c]-t.get()),d=n.get()-t.get(),h=s.constrain(u/a);n.subtract(d*h),!i&&f(d)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){c=!e}}}function P(e,t,n,r){const i=t.min+.1,o=t.max+.1,{reachedMin:a,reachedMax:s}=k(i,o);return{loop:function(t){if(!function(e){return 1===e?s(n.get()):-1===e&&a(n.get())}(t))return;const i=e*(-1*t);r.forEach(e=>e.add(i))}}}function O(e){let t=e;function n(e){return s(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function M(e,t){const n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},r=t.style;let i=null,o=!1;return{clear:function(){o||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(o)return;const a=(s=e.direction(t),Math.round(100*s)/100);var s;a!==i&&(r.transform=n(a),i=a)},toggleActive:function(e){o=!e}}}function I(e,t,n,r,i,o,a,s,c){const l=p(i),u=p(i).reverse(),f=function(){const e=a[0];return m(h(u,e),n,!1)}().concat(function(){const e=t-a[0]-1;return m(h(l,e),-n,!0)}());function d(e,t){return e.reduce((e,t)=>e-i[t],t)}function h(e,t){return e.reduce((e,n)=>d(e,t)>0?e.concat([n]):e,[])}function m(i,a,l){const u=function(e){return o.map((n,i)=>({start:n-r[i]+.5+e,end:n+t-.5+e}))}(a);return i.map(t=>{const r=l?0:-n,i=l?n:0,o=l?"end":"start",a=u[t][o];return{index:t,loopPoint:a,slideLocation:O(-1),translate:M(e,c[t]),target:()=>s.get()>a?r:i}})}return{canLoop:function(){return f.every(({index:e})=>d(l.filter(t=>t!==e),t)<=.1)},clear:function(){f.forEach(e=>e.translate.clear())},loop:function(){f.forEach(e=>{const{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:f}}function R(e,t,n){let r,i=!1;return{init:function(o){n&&(r=new MutationObserver(e=>{i||(l(n)||n(o,e))&&function(e){for(const n of e)if("childList"===n.type){o.reInit(),t.emit("slidesChanged");break}}(e)}),r.observe(e,{childList:!0}))},destroy:function(){r&&r.disconnect(),i=!0}}}function D(e,t,n,r,i,o,a){const{align:u,axis:w,direction:x,startIndex:D,loop:N,duration:j,dragFree:F,dragThreshold:L,inViewThreshold:B,slidesToScroll:z,skipSnaps:V,containScroll:U,watchResize:$,watchSlides:H,watchDrag:q,watchFocus:W}=o,G={measure:function(e){const{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}},K=G.measure(t),Q=n.map(G.measure),J=function(e,t){const n="rtl"===t,r="y"===e,i=!r&&n?-1:1;return{scroll:r?"y":"x",cross:r?"x":"y",startEdge:r?"top":n?"right":"left",endEdge:r?"bottom":n?"left":"right",measureSize:function(e){const{height:t,width:n}=e;return r?t:n},direction:function(e){return e*i}}}(w,x),X=J.measureSize(K),Y=function(e){return{measure:function(t){return e*(t/100)}}}(X),Z=function(e,t){const n={start:function(){return 0},center:function(e){return r(e)/2},end:r};function r(e){return t-e}return{measure:function(r,i){return c(e)?n[e](r):e(t,r,i)}}}(u,X),ee=!N&&!!U,te=N||!!U,{slideSizes:ne,slideSizesWithGaps:re,startGap:ie,endGap:oe}=function(e,t,n,r,i,o){const{measureSize:a,startEdge:s,endEdge:c}=e,l=n[0]&&i,u=function(){if(!l)return 0;const e=n[0];return f(t[s]-e[s])}(),d=function(){if(!l)return 0;const e=o.getComputedStyle(m(r));return parseFloat(e.getPropertyValue(`margin-${c}`))}(),h=n.map(a),p=n.map((e,t,n)=>{const r=!t,i=g(n,t);return r?h[t]+u:i?h[t]+d:n[t+1][s]-e[s]}).map(f);return{slideSizes:h,slideSizesWithGaps:p,startGap:u,endGap:d}}(J,K,Q,n,te,i),ae=function(e,t,n,r,i,o,a,c,l){const{startEdge:u,endEdge:d,direction:h}=e,g=s(n);return{groupSlides:function(e){return g?function(e,t){return p(e).filter(e=>e%t===0).map(n=>e.slice(n,n+t))}(e,n):function(e){return e.length?p(e).reduce((n,s,p)=>{const g=m(n)||0,v=0===g,b=s===y(e),w=i[u]-o[g][u],x=i[u]-o[s][d],S=!r&&v?h(a):0,k=f(x-(!r&&b?h(c):0)-(w+S));return p&&k>t+l&&n.push(s),b&&n.push(e.length),n},[]).map((t,n,r)=>{const i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}(e)}}}(J,X,z,N,K,Q,ie,oe,2),{snaps:se,snapsAligned:ce}=function(e,t,n,r,i){const{startEdge:o,endEdge:a}=e,{groupSlides:s}=i,c=s(r).map(e=>m(e)[a]-e[0][o]).map(f).map(t.measure),l=r.map(e=>n[o]-e[o]).map(e=>-f(e)),u=s(l).map(e=>e[0]).map((e,t)=>e+c[t]);return{snaps:l,snapsAligned:u}}(J,Z,K,Q,ae),le=-m(se)+m(re),{snapsContained:ue,scrollContainLimit:fe}=function(e,t,n,r){const i=k(-t+e,0),o=n.map((e,t)=>{const{min:r,max:o}=i,a=i.constrain(e),c=!t,l=g(n,t);return c?o:l||s(r,a)?r:s(o,a)?o:a}).map(e=>parseFloat(e.toFixed(3))),a=function(){const e=o[0],t=m(o);return k(o.lastIndexOf(e),o.indexOf(t)+1)}();function s(e,t){return h(e,t)<=1}return{snapsContained:function(){if(t<=e+2)return[i.max];if("keepSnaps"===r)return o;const{min:n,max:s}=a;return o.slice(n,s)}(),scrollContainLimit:a}}(X,le,ce,U),de=ee?ue:ce,{limit:he}=function(e,t,n){const r=t[0];return{limit:k(n?r-e:m(t),r)}}(le,de,N),pe=E(y(de),D,N),me=pe.clone(),ye=p(n),ge=function(e,t,n,r){const i=S(),o=1e3/60;let a=null,s=0,c=0;function l(e){if(!c)return;a||(a=e,n(),n());const i=e-a;for(a=e,s+=i;s>=o;)n(),s-=o;r(s/o),c&&(c=t.requestAnimationFrame(l))}function u(){t.cancelAnimationFrame(c),a=null,s=0,c=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(a=null,s=0)})},destroy:function(){u(),i.clear()},start:function(){c||(c=t.requestAnimationFrame(l))},stop:u,update:n,render:r}}(r,i,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(Me),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:i,scrollLooper:o,slideLooper:a,dragHandler:s,animation:c,eventHandler:l,scrollBounds:u,options:{loop:f}},d)=>{const h=e.settled(),p=!u.shouldConstrain(),m=f?h:h&&p,y=m&&!s.pointerDown();y&&c.stop();const g=n.get()*d+i.get()*(1-d);r.set(g),f&&(o.loop(e.direction()),a.loop()),t.to(r.get()),y&&l.emit("settle"),m||l.emit("scroll")})(Me,e)),ve=de[pe.get()],be=O(ve),we=O(ve),xe=O(ve),Se=O(ve),ke=function(e,t,n,r,i){let o=0,a=0,s=i,c=.68,l=e.get(),u=0;function h(e){return s=e,m}function p(e){return c=e,m}const m={direction:function(){return a},duration:function(){return s},velocity:function(){return o},seek:function(){const t=r.get()-e.get();let i=0;return s?(n.set(e),o+=t/s,o*=c,l+=o,e.add(o),i=l-u):(o=0,n.set(r),e.set(r),i=t),a=d(i),u=l,m},settled:function(){return f(r.get()-t.get())<.001},useBaseFriction:function(){return p(.68)},useBaseDuration:function(){return h(i)},useFriction:p,useDuration:h};return m}(be,xe,we,Se,j),Ee=function(e,t,n,r,i){const{reachedAny:o,removeOffset:a,constrain:s}=r;function c(e){return e.concat().sort((e,t)=>f(e)-f(t))[0]}function l(t,r){const i=[t,t+n,t-n];if(!e)return t;if(!r)return c(i);const o=i.filter(e=>d(e)===r);return o.length?c(o):m(i)-n}return{byDistance:function(n,r){const c=i.get()+n,{index:u,distance:d}=function(n){const r=e?a(n):s(n),i=t.map((e,t)=>({diff:l(e-r,0),index:t})).sort((e,t)=>f(e.diff)-f(t.diff)),{index:o}=i[0];return{index:o,distance:r}}(c),h=!e&&o(c);return!r||h?{index:u,distance:n}:{index:u,distance:n+l(t[u]-d,0)}},byIndex:function(e,n){return{index:e,distance:l(t[e]-i.get(),n)}},shortcut:l}}(N,de,le,he,Se),_e=function(e,t,n,r,i,o,a){function s(i){const s=i.distance,c=i.index!==t.get();o.add(s),s&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),c&&(n.set(t.get()),t.set(i.index),a.emit("select"))}return{distance:function(e,t){s(i.byDistance(e,t))},index:function(e,n){const r=t.clone().set(e);s(i.byIndex(r.get(),n))}}}(ge,pe,me,ke,Ee,Se,a),Ce=function(e){const{max:t,length:n}=e;return{get:function(e){return n?(e-t)/-n:0}}}(he),Ae=S(),Te=function(e,t,n,r){const i={};let o,a=null,s=null,c=!1;return{init:function(){o=new IntersectionObserver(e=>{c||(e.forEach(e=>{const n=t.indexOf(e.target);i[n]=e}),a=null,s=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(e=>o.observe(e))},destroy:function(){o&&o.disconnect(),c=!0},get:function(e=!0){if(e&&a)return a;if(!e&&s)return s;const t=function(e){return b(i).reduce((t,n)=>{const r=parseInt(n),{isIntersecting:o}=i[r];return(e&&o||!e&&!o)&&t.push(r),t},[])}(e);return e&&(a=t),e||(s=t),t}}}(t,n,a,B),{slideRegistry:Pe}=function(e,t,n,r,i,o){const{groupSlides:a}=i,{min:s,max:c}=r;return{slideRegistry:function(){const r=a(o),i=!e||"keepSnaps"===t;return 1===n.length?[o]:i?r:r.slice(s,c).map((e,t,n)=>{const r=!t,i=g(n,t);return r?v(m(n[0])+1):i?v(y(o)-m(n)[0]+1,m(n)[0]):e})}()}}(ee,U,de,fe,ae,ye),Oe=function(e,t,n,r,i,o,a,c){const u={passive:!0,capture:!0};let f=0;function d(e){"Tab"===e.code&&(f=(new Date).getTime())}return{init:function(h){c&&(o.add(document,"keydown",d,!1),t.forEach((t,d)=>{o.add(t,"focus",t=>{(l(c)||c(h,t))&&function(t){if((new Date).getTime()-f>10)return;a.emit("slideFocusStart"),e.scrollLeft=0;const o=n.findIndex(e=>e.includes(t));s(o)&&(i.useDuration(0),r.index(o,0),a.emit("slideFocus"))}(d)},u)}))}}}(e,n,Pe,_e,ke,Ae,a,W),Me={ownerDocument:r,ownerWindow:i,eventHandler:a,containerRect:K,slideRects:Q,animation:ge,axis:J,dragHandler:_(J,e,r,i,Se,C(J,i),be,ge,_e,ke,Ee,pe,a,Y,F,L,V,.68,q),eventStore:Ae,percentOfView:Y,index:pe,indexPrevious:me,limit:he,location:be,offsetLocation:xe,previousLocation:we,options:o,resizeHandler:A(t,a,i,n,J,$,G),scrollBody:ke,scrollBounds:T(he,xe,Se,ke,Y),scrollLooper:P(le,he,xe,[be,xe,we,Se]),scrollProgress:Ce,scrollSnapList:de.map(Ce.get),scrollSnaps:de,scrollTarget:Ee,scrollTo:_e,slideLooper:I(J,X,le,ne,re,se,de,xe,n),slideFocus:Oe,slidesHandler:R(t,a,H),slidesInView:Te,slideIndexes:ye,slideRegistry:Pe,slidesToScroll:ae,target:Se,translate:M(J,t)};return Me}const N={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function j(e){function t(e,t){return w(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){const r=n.breakpoints||{},i=b(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,i)},optionsMediaQueries:function(t){return t.map(e=>b(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}function F(e,t,n){const r=e.ownerDocument,i=r.defaultView,o=j(i),a=function(e){let t=[];return{init:function(n,r){return t=r.filter(({options:t})=>!1!==e.optionsAtMedia(t).active),t.forEach(t=>t.init(n,e)),r.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){t=t.filter(e=>e.destroy())}}}(o),s=S(),l=function(){let e,t={};function n(e){return t[e]||[]}const r={init:function(t){e=t},emit:function(t){return n(t).forEach(n=>n(e,t)),r},off:function(e,i){return t[e]=n(e).filter(e=>e!==i),r},on:function(e,i){return t[e]=n(e).concat([i]),r},clear:function(){t={}}};return r}(),{mergeOptions:u,optionsAtMedia:f,optionsMediaQueries:d}=o,{on:h,off:p,emit:m}=l,y=T;let g,v,b,w,x=!1,k=u(N,F.globalOptions),E=u(k),_=[];function C(t){const n=D(e,b,w,r,i,t,l);return t.loop&&!n.slideLooper.canLoop()?C(Object.assign({},t,{loop:!1})):n}function A(t,n){x||(k=u(k,t),E=f(k),_=n||_,function(){const{container:t,slides:n}=E,r=c(t)?e.querySelector(t):t;b=r||e.children[0];const i=c(n)?b.querySelectorAll(n):n;w=[].slice.call(i||b.children)}(),g=C(E),d([k,..._.map(({options:e})=>e)]).forEach(e=>s.add(e,"change",T)),E.active&&(g.translate.to(g.location.get()),g.animation.init(),g.slidesInView.init(),g.slideFocus.init(I),g.eventHandler.init(I),g.resizeHandler.init(I),g.slidesHandler.init(I),g.options.loop&&g.slideLooper.loop(),b.offsetParent&&w.length&&g.dragHandler.init(I),v=a.init(I,_)))}function T(e,t){const n=M();P(),A(u({startIndex:n},e),t),l.emit("reInit")}function P(){g.dragHandler.destroy(),g.eventStore.clear(),g.translate.clear(),g.slideLooper.clear(),g.resizeHandler.destroy(),g.slidesHandler.destroy(),g.slidesInView.destroy(),g.animation.destroy(),a.destroy(),s.clear()}function O(e,t,n){E.active&&!x&&(g.scrollBody.useBaseFriction().useDuration(!0===t?0:E.duration),g.scrollTo.index(e,n||0))}function M(){return g.index.get()}const I={canScrollNext:function(){return g.index.add(1).get()!==M()},canScrollPrev:function(){return g.index.add(-1).get()!==M()},containerNode:function(){return b},internalEngine:function(){return g},destroy:function(){x||(x=!0,s.clear(),P(),l.emit("destroy"),l.clear())},off:p,on:h,emit:m,plugins:function(){return v},previousScrollSnap:function(){return g.indexPrevious.get()},reInit:y,rootNode:function(){return e},scrollNext:function(e){O(g.index.add(1).get(),e,-1)},scrollPrev:function(e){O(g.index.add(-1).get(),e,1)},scrollProgress:function(){return g.scrollProgress.get(g.offsetLocation.get())},scrollSnapList:function(){return g.scrollSnapList}
2,scrollTo:O,selectedScrollSnap:M,slideNodes:function(){return w},slidesInView:function(){return g.slidesInView.get()},slidesNotInView:function(){return g.slidesInView.get(!1)}};return A(t,n),setTimeout(()=>l.emit("init"),0),I}function L(e={},t=[]){const n=(0,r.useRef)(e),i=(0,r.useRef)(t),[s,c]=(0,r.useState)(),[l,u]=(0,r.useState)(),f=(0,r.useCallback)(()=>{s&&s.reInit(n.current,i.current)},[s]);return(0,r.useEffect)(()=>{o(n.current,e)||(n.current=e,f())},[e,f]),(0,r.useEffect)(()=>{(function(e,t){if(e.length!==t.length)return!1;const n=a(e),r=a(t);return n.every((e,t)=>o(e,r[t]))})(i.current,t)||(i.current=t,f())},[t,f]),(0,r.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&l){F.globalOptions=L.globalOptions;const e=F(l,n.current,i.current);return c(e),()=>e.destroy()}c(void 0)},[l,c]),[u,s]}F.globalOptions=void 0,L.globalOptions=void 0},96148(e,t,n){"use strict";let r,i;n.d(t,{P2:()=>p});const o=new WeakMap,a=new WeakMap,s=new WeakMap,c=new WeakMap,l=new WeakMap;let u={get(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return a.get(e);if("objectStoreNames"===t)return e.objectStoreNames||s.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return d(e[t])},set:(e,t,n)=>(e[t]=n,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function f(e){return"function"==typeof e?(t=e)!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(i||(i=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...e){return t.apply(h(this),e),d(o.get(this))}:function(...e){return d(t.apply(h(this),e))}:function(e,...n){const r=t.call(h(this),e,...n);return s.set(r,e.sort?e.sort():[e]),d(r)}:(e instanceof IDBTransaction&&function(e){if(a.has(e))return;const t=new Promise((t,n)=>{const r=()=>{e.removeEventListener("complete",i),e.removeEventListener("error",o),e.removeEventListener("abort",o)},i=()=>{t(),r()},o=()=>{n(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",i),e.addEventListener("error",o),e.addEventListener("abort",o)});a.set(e,t)}(e),n=e,(r||(r=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])).some(e=>n instanceof e)?new Proxy(e,u):e);var t,n}function d(e){if(e instanceof IDBRequest)return function(e){const t=new Promise((t,n)=>{const r=()=>{e.removeEventListener("success",i),e.removeEventListener("error",o)},i=()=>{t(d(e.result)),r()},o=()=>{n(e.error),r()};e.addEventListener("success",i),e.addEventListener("error",o)});return t.then(t=>{t instanceof IDBCursor&&o.set(t,e)}).catch(()=>{}),l.set(t,e),t}(e);if(c.has(e))return c.get(e);const t=f(e);return t!==e&&(c.set(e,t),l.set(t,e)),t}const h=e=>l.get(e);function p(e,t,{blocked:n,upgrade:r,blocking:i,terminated:o}={}){const a=indexedDB.open(e,t),s=d(a);return r&&a.addEventListener("upgradeneeded",e=>{r(d(a.result),e.oldVersion,e.newVersion,d(a.transaction),e)}),n&&a.addEventListener("blocked",e=>n(e.oldVersion,e.newVersion,e)),s.then(e=>{o&&e.addEventListener("close",()=>o()),i&&e.addEventListener("versionchange",e=>i(e.oldVersion,e.newVersion,e))}).catch(()=>{}),s}const m=["get","getKey","getAll","getAllKeys","count"],y=["put","add","delete","clear"],g=new Map;function v(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!=typeof t)return;if(g.get(t))return g.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,i=y.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!i&&!m.includes(n))return;const o=async function(e,...t){const o=this.transaction(e,i?"readwrite":"readonly");let a=o.store;return r&&(a=a.index(t.shift())),(await Promise.all([a[n](...t),i&&o.done]))[0]};return g.set(t,o),o}var b;b=u,u={...b,get:(e,t,n)=>v(e,t)||b.get(e,t,n),has:(e,t)=>!!v(e,t)||b.has(e,t)}},18987(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)"__proto__"!==r&&(e[r]=n[r])}return e}n.d(t,{A:()=>i});var i=function e(t,n){function i(e,i,o){if("undefined"!=typeof document){"number"==typeof(o=r({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decode
vendor: 1,348 bytes, line 2
2URIComponent).replace(/[()]/g,escape);var a="";for(var s in o)o[s]&&(a+="; "+s,!0!==o[s]&&(a+="="+o[s].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+a}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var o=n[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(s in r||(r[s]=t.read(a,s)),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){i(e,"",r({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,r({},this.attributes,t))},withConverter:function(t){return e(r({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},75229(e,t,n){"use strict";n.d(t,{A:()=>L});var r=n(98731),i=n(41533),o=n(91833),a=n(5753),s=n(23558),c=n(31530),l=n(77331),u=n(8104),f=n(29746),d=n(27670),h=n(36804),p=n(83202),m=n(69125),y=n(54435);const g={};function v(e,t){const n=(0,y.p)(e);return()=>g[t]??n()}const b=v(()=>{try{document.createElement("div").animate({opacity:0}
2,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing");var w=n(33075);const x=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,S={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:x([0,.65,.55,1]),circOut:x([.55,0,1,.45]),backIn:x([.31,.01,.66,-.59]),backOut:x([.33,1.53,.69,.99])};function k(e,t){return e?"function"==typeof e?b()?(0,w.K)(e,t):"ease-out":(0,m.D)(e)?x(e):Array.isArray(e)?e.map(e=>k(e,t)||S.easeOut):S[e]:void 0}function E(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:a="loop",ease:s="easeOut",times:c}={},l=void 0){const u={[t]:n};c&&(u.offset=c);const f=k(s,i);Array.isArray(f)&&(u.easing=f),p.Q.value&&h.q.waapi++;const d={delay:r,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"};l&&(d.pseudoElement=l);const m=e.animate(u,d);return p.Q.value&&m.finished.finally(()=>{h.q.waapi--}),m}var _=n(63652);class C extends d.q{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:a,onComplete:c}=e;this.isPseudoElement=Boolean(i),this.allowFlatten=o,this.options=e,(0,u.V)("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return(0,_.W)(e)&&b()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=E(t,n,r,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const e=(0,s.X)(r,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(e):function(e,t,n){(e=>e.startsWith("--"))(t)?e.style.setProperty(t,n):e.style[t]=n}(t,n,e),this.animation.cancel()}c?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return(0,l.X)(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+(0,l.X)(e)}get time(){return(0,l.X)(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=(0,l.f)(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:t}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&(0,f.J)()?(this.animation.timeline=e,i.l):t(this)}}var A=n(54456),T=n(84505),P=n(71108),O=n(94312);const M={anticipate:T.b,backInOut:P.ZZ,circInOut:O.tn};class I extends C{constructor(e){var t;"string"==typeof(t=e).ease&&t.ease in M&&(t.ease=M[t.ease]),(0,A.E)(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:t,onUpdate:n,onComplete:r,element:i,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);const s=new a.s({...o,autoplay:!1}),c=(0,l.f)(this.finishedTime??this.time);t.setWithVelocity(s.sample(c-10).value,s.sample(c).value,10),s.stop()}}var R=n(85933);const D=(e,t)=>!("zIndex"===t||"number"!=typeof e&&!Array.isArray(e)&&("string"!=typeof e||!R.f.test(e)&&"0"!==e||e.startsWith("url(")));var N=n(49864);const j=new Set(["opacity","clipPath","filter","transform"]),F=(0,y.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class L extends d.q{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:a="loop",keyframes:s,name:l,motionValue:u,element:f,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=o.k.now();const h={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:l,motionValue:u,element:f,...d},p=f?.KeyframeResolver||c.h;this.keyframeResolver=new p(s,(e,t,n)=>this.onKeyframesResolved(e,t,h,!n),l,u,f),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,c){this.keyframeResolver=void 0;
2const{name:l,type:f,velocity:d,delay:h,isHandoff:p,onUpdate:m}=n;this.resolvedAt=o.k.now(),function(e,t,n,r){const i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;const o=e[e.length-1],a=D(i,t),s=D(o,t);return(0,u.$)(a===s,`You are trying to animate ${t} from "${i}" to "${o}". "${a?o:i}" is not an animatable value.`,"value-not-animatable"),!(!a||!s)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||(0,_.W)(n))&&r)}(e,l,f,d)||(!r.W.instantAnimations&&h||m?.((0,s.X)(e,n,t)),e[0]=e[e.length-1],(0,N._)(n),n.repeat=0);const y={startTime:c?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},g=!p&&function(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:a}=e,s=t?.owner?.current;if(!(s instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:l}=t.owner.getProps();return F()&&n&&j.has(n)&&("transform"!==n||!l)&&!c&&!r&&"mirror"!==i&&0!==o&&"inertia"!==a}(y)?new I({...y,element:y.motionValue.owner.current}):new a.s(y);g.finished.then(()=>this.notifyFinished()).catch(i.l),this.pendingTimeline&&(this.stopTimeline=g.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=g}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,c.q)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}},35242(e,t,n){"use strict";n.d(t,{b:()=>o});class r{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e){const t=this.animations.map(t=>t.attachTimeline(e));return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return i(this.animations,"duration")}get iterationDuration(){return i(this.animations,"iterationDuration")}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function i(e,t){let n=0;for(let r=0;r<e.length;r++){const i=e[r][t];null!==i&&i>n&&(n=i)}return n}class o extends r{then(e,t){return this.finished.finally(e).then(()=>{})}}},5753(e,t,n){"use strict";n.d(t,{s:()=>v});var r=n(80337),i=n(17046),o=n(77331),a=n(91833),s=n(36804),c=n(42365),l=n(1207);const u=e=>{const t=({timestamp:t})=>e(t);return{start:(e=!0)=>l.Gt.update(t,e),stop:()=>(0,l.WG)(t),now:()=>l.uv.isProcessing?l.uv.timestamp:a.k.now()}};var f=n(52720),d=n(53933),h=n(42264),p=n(23558),m=n(54456),y=n(27670);const g=e=>e/100;class v extends y.q{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:e}=this.options;e&&e.updatedAt!==a.k.now()&&this.tick(a.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},s.q.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){const{options:e}=this;(0,m.E)(e);
2const{type:t=d.i,repeat:n=0,repeatDelay:i=0,repeatType:o,velocity:a=0}=e;let{keyframes:s}=e;const l=t||d.i;l!==d.i&&"number"!=typeof s[0]&&(this.mixKeyframes=(0,r.F)(g,(0,c.j)(s[0],s[1])),s=[0,100]);const u=l({...e,keyframes:s});"mirror"===o&&(this.mirroredGenerator=l({...e,keyframes:[...s].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=(0,h.t)(u));const{calculatedDuration:f}=u;this.calculatedDuration=f,this.resolvedDuration=f+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=u}updateTime(e){const t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){const{generator:n,totalDuration:r,mixKeyframes:o,mirroredGenerator:a,resolvedDuration:s,calculatedDuration:c}=this;if(null===this.startTime)return n.next(0);const{delay:l=0,keyframes:u,repeat:d,repeatType:h,repeatDelay:m,type:y,onUpdate:g,finalKeyframe:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);const b=this.currentTime-l*(this.playbackSpeed>=0?1:-1),w=this.playbackSpeed>=0?b<0:b>r;this.currentTime=Math.max(b,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let x=this.currentTime,S=n;if(d){const e=Math.min(this.currentTime,r)/s;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,d+1),Boolean(t%2)&&("reverse"===h?(n=1-n,m&&(n-=m/s)):"mirror"===h&&(S=a)),x=(0,i.q)(0,1,n)*s}const k=w?{done:!1,value:u[0]}:S.next(x);o&&(k.value=o(k.value));let{done:E}=k;w||null===c||(E=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const _=null===this.holdTime&&("finished"===this.state||"running"===this.state&&E);return _&&y!==f.B&&(k.value=(0,p.X)(u,this.options,v,this.speed)),g&&g(k.value),_&&this.finish(),k}then(e,t){return this.finished.then(e,t)}get duration(){return(0,o.X)(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+(0,o.X)(e)}get time(){return(0,o.X)(this.currentTime)}set time(e){e=(0,o.f)(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(a.k.now());const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=(0,o.X)(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=u,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();const n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=t??n),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(a.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,s.q.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}},52720(e,t,n){"use strict";n.d(t,{B:()=>o});var r=n(22654),i=n(35525);function o({keyframes:e,velocity:t=0,power:n=.8,timeConstant:o=325,bounceDamping:a=10,bounceStiffness:s=500,modifyTarget:c,min:l,max:u,restDelta:f=.5,restSpeed:d}){const h=e[0],p={done:!1,value:h},m=e=>void 0===l?u:void 0===u||Math.abs(l-e)<Math.abs(u-e)?l:u;let y=n*t;const g=h+y,v=void 0===c?g:c(g);v!==g&&(y=v-h);const b=e=>-y*Math.exp(-e/o),w=e=>v+b(e),x=e=>{const t=b(e),n=w(e);p.done=Math.abs(t)<=f,p.value=p.done?v:n};let S,k;const E=e=>{var t;t=p.value,(void 0!==l&&t<l||void 0!==u&&t>u)&&(S=e,k=(0,r.o)({keyframes:[p.value,m(p.value)],velocity:(0,i.Y)(w,e,p.value),damping:a,stiffness:s,restDelta:f,restSpeed:d}))};return E(0),{calculatedDuration:null,next:e=>{let t=!1;return k||void 0!==S||(t=!0,x(e),E(e)),void 0!==S&&e>=S?k.next(e-S):(!t&&x(e),p)}}}},53933(e,t,n){"use strict";n.d(t,{i:()=>v});var r=n(74815);const i=(0,r.A)(.42,0,1,1),o=(0,r.A)(0,0,.58,1),a=(0,r.A)(.42,0,.58,1);var s=n(23687),c=n(8104),l=n(41533),u=n(84505),f=n(71108),d=n(94312),h=n(69125);const p={linear:l.l,easeIn:i,easeInOut:a,easeOut:o,circIn:d.po,circInOut:d.tn,circOut:d.yT,backIn:f.dg,backInOut:f.ZZ,backOut:f.Sz,anticipate:u.b},m=e=>{if((0,h.D)(e)){(0,c.V)(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,i,o]=e;return(0,r.A)(t,n,i,o)}return"string"==typeof e?((0,c.V)(void 0!==p[e],`Invalid easing type '${e}
2'`,"invalid-easing-type"),p[e]):e};var y=n(55219),g=n(54779);function v({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=(0,s.h)(r)?r.map(m):m(r),o={done:!1,value:t[0]},c=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:(0,g.Z)(t),e),l=(0,y.G)(c,t,{ease:Array.isArray(i)?i:(u=t,f=i,u.map(()=>f||a).splice(0,u.length-1))});var u,f;return{calculatedDuration:e,next:t=>(o.value=l(t),o.done=t>=e,o)}}},22654(e,t,n){"use strict";n.d(t,{o:()=>v});var r=n(17046),i=n(77331),o=n(33075),a=n(42264),s=n(25994),c=n(35525);const l=.01,u=2,f=.005,d=.5;var h=n(8104);function p(e,t){return e*Math.sqrt(1-t*t)}const m=["duration","bounce"],y=["stiffness","damping","mass"];function g(e,t){return t.some(t=>void 0!==e[t])}function v(e=.3,t=.3){const n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:s,restDelta:v}=n;const b=n.keyframes[0],w=n.keyframes[n.keyframes.length-1],x={done:!1,value:b},{stiffness:S,damping:k,mass:E,duration:_,velocity:C,isResolvedFromDuration:A}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!g(e,y)&&g(e,m))if(e.visualDuration){const n=e.visualDuration,i=2*Math.PI/(1.2*n),o=i*i,a=2*(0,r.q)(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:1,stiffness:o,damping:a}}else{const n=function({duration:e=800,bounce:t=.3,velocity:n=0,mass:o=1}){let a,s;(0,h.$)(e<=(0,i.f)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let c=1-t;c=(0,r.q)(.05,1,c),e=(0,r.q)(.01,10,(0,i.X)(e)),c<1?(a=t=>{const r=t*c,i=r*e;return.001-(r-n)/p(t,c)*Math.exp(-i)},s=t=>{const r=t*c*e,i=r*n+n,o=Math.pow(c,2)*Math.pow(t,2)*e,s=Math.exp(-r),l=p(Math.pow(t,2),c);return(.001-a(t)>0?-1:1)*((i-o)*s)/l}):(a=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,s=t=>Math.exp(-t*e)*(e*e*(n-t)));const l=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(a,s,5/e);if(e=(0,i.f)(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(l,2)*o;return{stiffness:t,damping:2*c*Math.sqrt(o*t),duration:e}}}(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}({...n,velocity:-(0,i.X)(n.velocity||0)}),T=C||0,P=k/(2*Math.sqrt(S*E)),O=w-b,M=(0,i.X)(Math.sqrt(S/E)),I=Math.abs(O)<5;let R;if(s||(s=I?l:u),v||(v=I?f:d),P<1){const e=p(M,P);R=t=>{const n=Math.exp(-P*M*t);return w-n*((T+P*M*O)/e*Math.sin(e*t)+O*Math.cos(e*t))}}else if(1===P)R=e=>w-Math.exp(-M*e)*(O+(T+M*O)*e);else{const e=M*Math.sqrt(P*P-1);R=t=>{const n=Math.exp(-P*M*t),r=Math.min(e*t,300);return w-n*((T+P*M*O)*Math.sinh(r)+e*O*Math.cosh(r))/e}}const D={calculatedDuration:A&&_||null,next:e=>{const t=R(e);if(A)x.done=e>=_;else{let n=0===e?T:0;P<1&&(n=0===e?(0,i.f)(T):(0,c.Y)(R,e,t));const r=Math.abs(n)<=s,o=Math.abs(w-t)<=v;x.done=r&&o}return x.value=x.done?w:t,x},toString:()=>{const e=Math.min((0,a.t)(D),2e4),t=(0,o.K)(t=>D.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return D}v.applyToOptions=e=>{const t=(0,s.X)(e,100,v);return e.ease=t.ease,e.duration=(0,i.f)(t.duration),e.type="keyframes",e}},42264(e,t,n){"use strict";function r(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}n.d(t,{t:()=>r})},25994(e,t,n){"use strict";n.d(t,{X:()=>o});var r=n(77331),i=n(42264);function o(e,t=100,n){const o=n({...e,keyframes:[0,t]}),a=Math.min((0,i.t)(o),2e4);return{type:"keyframes",ease:e=>o.next(a*e).value/t,duration:(0,r.X)(a)}}},63652(e,t,n){"use strict";function r(e){return"function"==typeof e&&"applyToOptions"in e}n.d(t,{W:()=>r})},35525(e,t,n){"use strict";n.d(t,{Y:()=>i});var r=n(16947);function i(e,t,n){const i=Math.max(t-5,0);return(0,r.f)(n-e(i),t-i)}},460(e,t,n){"use strict";n.d(t,{K:()=>g});var r=n(26571),i=n(98008),o=n(8104),a=n(9902),s=n(22846);const c=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function l(e,t,n=1){(0,o.V)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,i]=function(e){const t=c.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}(e);if(!r)return;const u=window.getComputedStyle(t).getPropertyValue(r);if(u){const e=u.trim();return(0,a.i)(e)?parseFloat(e):e}return(0,s.p)(i)?l(i,t,n+1):i}var u=n(31530),f=n(11602);function d(e){return"number"==typeof e?0===e:null===e||"none"===e||"0"===e||(0,f.$)(e)}var h=n(85933),p=n(72881);
2const m=new Set(["auto","none","0"]);var y=n(96488);class g extends u.h{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(r=r.trim(),(0,s.p)(r))){const i=l(r,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!r.$.has(n)||2!==e.length)return;const[o,a]=e,c=(0,i.n)(o),u=(0,i.n)(a);if(c!==u)if((0,y.E4)(c)&&(0,y.E4)(u))for(let t=0;t<e.length;t++){const n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else y.Hr[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(null===e[t]||d(e[t]))&&n.push(t);n.length&&function(e,t,n){let r,i=0;for(;i<e.length&&!r;){const t=e[i];"string"==typeof t&&!m.has(t)&&(0,h.V)(t).values.length&&(r=e[i]),i++}if(r&&n)for(const i of t)e[i]=(0,p.J)(n,r)}(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=y.Hr[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){const{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;const r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);const i=n.length-1,o=n[i];n[i]=y.Hr[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
2h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}},31530(e,t,n){"use strict";n.d(t,{h:()=>d,q:()=>f});var r=n(96488),i=n(1207);const o=new Set;let a=!1,s=!1,c=!1;function l(){if(s){const e=Array.from(o).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{const t=(0,r.W9)(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();const t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}s=!1,a=!1,o.forEach(e=>e.complete(c)),o.clear()}function u(){o.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(s=!0)})}function f(){c=!0,u(),l(),c=!1}class d{constructor(e,t,n,r,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(o.add(this),a||(a=!0,i.Gt.read(u),i.Gt.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(null===e[0]){const i=r?.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){const r=n.readValue(t,o);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=o),r&&void 0===i&&r.set(e[0])}!function(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),o.delete(this)}cancel(){"scheduled"===this.state&&(o.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},23558(e,t,n){"use strict";n.d(t,{X:()=>i});const r=e=>null!==e;function i(e,{repeat:t,repeatType:n="loop"},i,o=1){const a=e.filter(r),s=o<0||t&&"loop"!==n&&t%2==1?0:a.length-1;return s&&void 0!==i?i:a[s]}},54779(e,t,n){"use strict";n.d(t,{Z:()=>i});var r=n(94507);function i(e){const t=[0];return(0,r.f)(t,e.length-1),t}},94507(e,t,n){"use strict";n.d(t,{f:()=>o});var r=n(86896),i=n(65744);function o(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const a=(0,r.q)(0,t,o);e.push((0,i.k)(n,1,a))}}},96488(e,t,n){"use strict";n.d(t,{W9:()=>l});var r=n(32794),i=n(92518),o=n(39223),a=n(20538);const s=new Set(["x","y","z"]),c=i.U.filter(e=>!s.has(e));function l(e){const t=[];return c.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const u={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>(0,r.ry)(t,"x"),y:(e,{transform:t})=>(0,r.ry)(t,"y")};u.translateX=u.x,u.translateY=u.y,n.d(t,["E4",0,e=>e===o.ai||e===a.px,"Hr",0,u])},27670(e,t,n){"use strict";n.d(t,{q:()=>r});class r{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}},35835(e,t,n){"use strict";function r(e,t){return e?.[t]??e?.default??e}n.d(t,{r:()=>r})},22846(e,t,n){"use strict";const r=e=>t=>"string"==typeof t&&t.startsWith(e),i=r("--"),o=r("var(--"),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;n.d(t,["j",0,i,"p",0,e=>!!o(e)&&a.test(e.split("/*")[0].trim())])},49864(e,t,n){"use strict";function r(e){e.duration=0,e.type="keyframes"}n.d(t,{_:()=>r})},54456(e,t,n){"use strict";n.d(t,{E:()=>s});var r=n(52720),i=n(53933),o=n(22654);const a={decay:r.B,inertia:r.B,tween:i.i,keyframes:i.i,spring:o.o};function s(e){"string"==typeof e.type&&(e.type=a[e.type])}},33075(e,t,n){"use strict";n.d(t,["K",0,(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(1e4*e(t/(i-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`}])},58902(e,t,n){"use strict";n.d(t,{I:()=>a});var r=n(98731);const i=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var o=n(83202);function a(e,t){let n=!1,a=!0;const s={delta:0,timestamp:0,isProcessing:!1},c=()=>n=!0,l=i.reduce((e,n)=>(e[n]=function(e,t){let n=new Set,r=new Set,i=!1,a=!1;const s=new WeakSet;let c={delta:0,timestamp:0,isProcessing:!1},l=0;function u(t){s.has(t)&&(f.schedule(t),e()),l++,t(c)}const f={schedule:(e,t=!1,o=!1)=>{const a=o&&i?n:r;return t&&s.add(e),a.has(e)||a.add(e),e},cancel:e=>{r.delete(e),s.delete(e)},process:e=>
2{c=e,i?a=!0:(i=!0,[n,r]=[r,n],n.forEach(u),t&&o.Q.value&&o.Q.value.frameloop[t].push(l),l=0,n.clear(),i=!1,a&&(a=!1,f.process(e)))}};return f}(c,t?n:void 0),e),{}),{setup:u,read:f,resolveKeyframes:d,preUpdate:h,update:p,preRender:m,render:y,postRender:g}=l,v=()=>{const i=r.W.useManualTiming?s.timestamp:performance.now();n=!1,r.W.useManualTiming||(s.delta=a?1e3/60:Math.max(Math.min(i-s.timestamp,40),1)),s.timestamp=i,s.isProcessing=!0,u.process(s),f.process(s),d.process(s),h.process(s),p.process(s),m.process(s),y.process(s),g.process(s),s.isProcessing=!1,n&&t&&(a=!1,e(v))};return{schedule:i.reduce((t,r)=>{const i=l[r];return t[r]=(t,r=!1,o=!1)=>(n||(n=!0,a=!0,s.isProcessing||e(v)),i.schedule(t,r,o)),t},{}),cancel:e=>{for(let t=0;t<i.length;t++)l[i[t]].cancel(e)},state:s,steps:l}}},1207(e,t,n){"use strict";var r=n(41533),i=n(58902);const{schedule:o,cancel:a,state:s,steps:c}=(0,i.I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.l,!0);n.d(t,["Gt",0,o,"PP",0,c,"WG",0,a,"uv",0,s])},66719(e,t,n){"use strict";var r=n(58902);const{schedule:i,cancel:o}=(0,r.I)(queueMicrotask,!1);n.d(t,["k",0,i])},91833(e,t,n){"use strict";var r=n(98731),i=n(1207);let o;function a(){o=void 0}const s={now:()=>(void 0===o&&s.set(i.uv.isProcessing||r.W.useManualTiming?i.uv.timestamp:performance.now()),o),set:e=>{o=e,queueMicrotask(a)}};n.d(t,["k",0,s])},83489(e,t,n){"use strict";n.d(t,{D:()=>i});const r={x:!1,y:!1};function i(){return r.x||r.y}n.d(t,["I",0,r])},56257(e,t,n){"use strict";n.d(t,{W:()=>i});var r=n(83489);function i(e){return"x"===e||"y"===e?r.I[e]?null:(r.I[e]=!0,()=>{r.I[e]=!1}):r.I.x||r.I.y?null:(r.I.x=r.I.y=!0,()=>{r.I.x=r.I.y=!1})}},83979(e,t,n){"use strict";n.d(t,{P:()=>a});var r=n(83489),i=n(7916);function o(e){return!("touch"===e.pointerType||(0,r.D)())}function a(e,t,n={}){const[r,a,s]=(0,i.V)(e,n),c=e=>{if(!o(e))return;const{target:n}=e,r=t(n,e);if("function"!=typeof r||!n)return;const i=e=>{o(e)&&(r(e),n.removeEventListener("pointerleave",i))};n.addEventListener("pointerleave",i,a)};return r.forEach(e=>{e.addEventListener("pointerenter",c,a)}),s}},5(e,t,n){"use strict";n.d(t,{c:()=>h});var r=n(76995),i=n(83489);const o=(e,t)=>!!t&&(e===t||o(e,t.parentElement));var a=n(56228),s=n(7916);const c=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),l=new WeakSet;function u(e){return t=>{"Enter"===t.key&&e(t)}}function f(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function d(e){return(0,a.M)(e)&&!(0,i.D)()}function h(e,t,n={}){const[i,a,h]=(0,s.V)(e,n),p=e=>{const r=e.currentTarget;if(!d(e))return;l.add(r);const i=t(r,e),s=(e,t)=>{window.removeEventListener("pointerup",c),window.removeEventListener("pointercancel",u),l.has(r)&&l.delete(r),d(e)&&"function"==typeof i&&i(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||o(r,e.target))},u=e=>{s(e,!1)};window.addEventListener("pointerup",c,a),window.addEventListener("pointercancel",u,a)};return i.forEach(e=>{var t;(n.useGlobalTarget?window:e).addEventListener("pointerdown",p,a),(0,r.s)(e)&&(e.addEventListener("focus",e=>((e,t)=>{const n=e.currentTarget;if(!n)return;const r=u(()=>{if(l.has(n))return;f(n,"down");const e=u(()=>{f(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>f(n,"cancel"),t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)})(e,a)),t=e,c.has(t.tagName)||-1!==t.tabIndex||e.hasAttribute("tabindex")||(e.tabIndex=0))}),h}},56228(e,t,n){"use strict";n.d(t,["M",0,e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary])},7916(e,t,n){"use strict";n.d(t,{V:()=>i});var r=n(24072);function i(e,t){const n=(0,r.K)(e),i=new AbortController;return[n,{passive:!0,...t,signal:i.signal},()=>i.abort()]}},32794(e,t,n){"use strict";n.d(t,{ry:()=>f,zs:()=>u});const r=e=>180*e/Math.PI,i=e=>{const t=r(Math.atan2(e[1],e[0]));return a(t)},o={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:i,rotateZ:i,skewX:e=>r(Math.atan(e[1])),skewY:e=>r(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},a=e=>((e%=360)<0&&(e+=360),e),s=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),c=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),l={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:s,scaleY:c,scale:e=>(s(e)+c(e))/2,rotateX:e=>a(r(Math.atan2(e[6],e[5]))),rotateY:e=>a(r(Math.atan2(-e[2],e[0]))),rotateZ:i,rotate:i,skewX:e=>r(Math.atan(e[4])),skewY:e=>r(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function u(e){return e.includes("scale")?1:0}function f(e,t){if(!e||"none"===e)return u(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=l,i=n;else{const t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=o,i=t}if(!i)return u(t);const a=r[t],s=i[1].split(",").map(d);return"function"==typeof a?a(s):s[a]}function d(e){return parseFloat(e.trim())}n.d(t,["Ib",0,(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return f(n,t)}])},26571(e,t,n){"use strict";var r=n(92518);const i=new Set(["width","height","top","left","right","bottom",...r.U]);n.d(t,["$",0,i])},92518(e,t,n){"use strict";const r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=(()=>new Set(r))();n.d(t,["U",0,r,"f",0,i])},96451(e,t,n){"use strict";n.d(t,{X:()=>p});var r=n(84872),i=n(24072);const o=new WeakMap;let a;const s=(e,t,n)=>(i,o)=>o&&o[0]?o[0][e+"Size"]:(0,r.x)(i)&&"getBBox"in i?i.getBBox()[t]:i[n],c=s("inline","width","offsetWidth"),l=s("block","height","offsetHeight");function u({target:e,borderBoxSize:t}){o.get(e)?.forEach(n=>
2{n(e,{get width(){return c(e,t)},get height(){return l(e,t)}})})}function f(e){e.forEach(u)}const d=new Set;let h;function p(e,t){return"function"==typeof e?(n=e,d.add(n),h||(h=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};d.forEach(t=>t(e))},window.addEventListener("resize",h)),()=>{d.delete(n),d.size||"function"!=typeof h||(window.removeEventListener("resize",h),h=void 0)}):function(e,t){a||"undefined"!=typeof ResizeObserver&&(a=new ResizeObserver(f));const n=(0,i.K)(e);return n.forEach(e=>{let n=o.get(e);n||(n=new Set,o.set(e,n)),n.add(t),a?.observe(e)}),()=>{n.forEach(e=>{const n=o.get(e);n?.delete(t),n?.size||a?.unobserve(e)})}}(e,t);var n}},57382(e,t,n){"use strict";n.d(t,{y:()=>i});var r=n(1207);function i(e,t){let n;const i=()=>{const{currentTime:r}=t,i=(null===r?0:r.value)/100;n!==i&&e(i),n=i};return r.Gt.preUpdate(i,!0),()=>(0,r.WG)(i)}},36804(e,t,n){"use strict";n.d(t,["q",0,{layout:0,mainThread:0,waapi:0}])},83202(e,t,n){"use strict";n.d(t,["Q",0,{value:null,addProjectionMetrics:null}])},55219(e,t,n){"use strict";n.d(t,{G:()=>u});var r=n(17046),i=n(8104),o=n(98731),a=n(41533),s=n(80337),c=n(86896),l=n(42365);function u(e,t,{clamp:n=!0,ease:u,mixer:f}={}){const d=e.length;if((0,i.V)(d===t.length,"Both input and output ranges must be the same length","range-length"),1===d)return()=>t[0];if(2===d&&t[0]===t[1])return()=>t[1];const h=e[0]===e[1];e[0]>e[d-1]&&(e=[...e].reverse(),t=[...t].reverse());const p=function(e,t,n){const r=[],i=n||o.W.mix||l.j,c=e.length-1;for(let n=0;n<c;n++){let o=i(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||a.l:t;o=(0,s.F)(e,o)}r.push(o)}return r}(t,u,f),m=p.length,y=n=>{if(h&&n<e[0])return t[0];let r=0;if(m>1)for(;r<e.length-2&&!(n<e[r+1]);r++);const i=(0,c.q)(e[r],e[r+1],n);return p[r](i)};return n?t=>y((0,r.q)(e[0],e[d-1],t)):y}},76995(e,t,n){"use strict";n.d(t,{s:()=>i});var r=n(59359);function i(e){return(0,r.G)(e)&&"offsetHeight"in e}},84872(e,t,n){"use strict";n.d(t,{x:()=>i});var r=n(59359);function i(e){return(0,r.G)(e)&&"ownerSVGElement"in e}},31109(e,t,n){"use strict";n.d(t,{h:()=>i});var r=n(84872);function i(e){return(0,r.x)(e)&&"svg"===e.tagName}},42365(e,t,n){"use strict";n.d(t,{j:()=>E});var r=n(80337),i=n(8104),o=n(22846),a=n(85484),s=n(85933),c=n(68671),l=n(47758);function u(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var f=n(72290);function d(e,t){return n=>n>0?t:e}var h=n(65744);const p=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},m=[c.u,f.B,l.V];function y(e){const t=(n=e,m.find(e=>e.test(n)));var n;if((0,i.$)(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!Boolean(t))return!1;let r=t.parse(e);return t===l.V&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=u(s,r,e+1/3),o=u(s,r,e),a=u(s,r,e-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(r)),r}const g=(e,t)=>{const n=y(e),r=y(t);if(!n||!r)return d(e,t);const i={...n};return e=>(i.red=p(n.red,r.red,e),i.green=p(n.green,r.green,e),i.blue=p(n.blue,r.blue,e),i.alpha=(0,h.k)(n.alpha,r.alpha,e),f.B.transform(i))},v=new Set(["none","hidden"]);function b(e,t){return n=>(0,h.k)(e,t,n)}function w(e){return"number"==typeof e?b:"string"==typeof e?(0,o.p)(e)?d:a.y.test(e)?g:k:Array.isArray(e)?x:"object"==typeof e?a.y.test(e)?g:S:d}function x(e,t){const n=[...e],r=n.length,i=e.map((e,n)=>w(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function S(e,t){const n={...e,...t},r={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=w(e[i])(e[i],t[i]));return e=>{for(const t in r)n[t]=r[t](e);return n}}const k=(e,t)=>{const n=s.f.createTransformer(t),o=(0,s.V)(e),a=(0,s.V)(t);return o.indexes.var.length===a.indexes.var.length&&o.indexes.color.length===a.indexes.color.length&&o.indexes.number.length>=a.indexes.number.length?v.has(e)&&!a.values.length||v.has(t)&&!o.values.length?function(e,t){return v.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):(0,r.F)(x(function(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const o=t.types[i],a=e.indexes[o][r[o]],s=e.values[a]??0;n[i]=s,r[o]++}return n}(o,a),a.values),n):((0,i.$)(!0,`Complex values '${e}' and '${t}
2' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),d(e,t))};function E(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?(0,h.k)(e,t,n):w(e)(e,t)}},65744(e,t,n){"use strict";n.d(t,["k",0,(e,t,n)=>e+(t-e)*n])},24072(e,t,n){"use strict";function r(e,t,n){if(e instanceof EventTarget)return[e];if("string"==typeof e){let r=document;t&&(r=t.current);const i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}n.d(t,{K:()=>r})},29746(e,t,n){"use strict";const r=(0,n(54435).p)(()=>void 0!==window.ScrollTimeline);n.d(t,["J",0,r])},65674(e,t,n){"use strict";n.d(t,{p:()=>i});var r=n(55219);function i(...e){const t=!Array.isArray(e[0]),n=t?0:-1,i=e[0+n],o=e[1+n],a=e[2+n],s=e[3+n],c=(0,r.G)(o,a,s);return t?c(i):c}},4766(e,t,n){"use strict";n.d(t,{OQ:()=>l});var r=n(63580),i=n(16947),o=n(91833),a=n(1207);const s={current:void 0};class c{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{const t=o.k.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=o.k.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new r.v);const n=this.events[e].add(t);return"change"===e?()=>{n(),a.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return s.current&&s.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=o.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,i.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function l(e,t){return new c(e,t)}n.d(t,["bt",0,s])},68671(e,t,n){"use strict";var r=n(72290);const i={test:(0,n(54918).$)("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:r.B.transform};n.d(t,["u",0,i])},47758(e,t,n){"use strict";var r=n(39223),i=n(20538),o=n(3223),a=n(54918);const s={test:(0,a.$)("hsl","hue"),parse:(0,a.q)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:a=1})=>"hsla("+Math.round(e)+", "+i.KN.transform((0,o.a)(t))+", "+i.KN.transform((0,o.a)(n))+", "+(0,o.a)(r.X4.transform(a))+")"};n.d(t,["V",0,s])},85484(e,t,n){"use strict";var r=n(68671),i=n(47758),o=n(72290);const a={test:e=>o.B.test(e)||r.u.test(e)||i.V.test(e),parse:e=>o.B.test(e)?o.B.parse(e):i.V.test(e)?i.V.parse(e):r.u.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?o.B.transform(e):i.V.transform(e),getAnimatableNone:e=>{const t=a.parse(e);return t.alpha=0,a.transform(t)}};n.d(t,["y",0,a])},72290(e,t,n){"use strict";var r=n(17046),i=n(39223),o=n(3223),a=n(54918);const s={...i.ai,transform:e=>Math.round((e=>(0,r.q)(0,255,e))(e))},c={test:(0,a.$)("rgb","red"),parse:(0,a.q)("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+s.transform(e)+", "+s.transform(t)+", "+s.transform(n)+", "+(0,o.a)(i.X4.transform(r))+")"};n.d(t,["B",0,c])},54918(e,t,n){"use strict";n.d(t,{$:()=>o,q:()=>a});var r=n(23306);const i=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,o=(e,t)=>n=>Boolean("string"==typeof n&&i.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),a=(e,t,n)=>i=>{if("string"!=typeof i)return i;const[o,a,s,c]=i.match(r.S);return{[e]:parseFloat(o),[t]:parseFloat(a),[n]:parseFloat(s),alpha:void 0!==c?parseFloat(c):1}}},26497(e,t,n){"use strict";var r=n(85933),i=n(23306);const o=new Set(["brightness","contrast","saturate","opacity"]);function a(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(i.S)||[];if(!r)return e;const a=n.replace(r,"");let s=o.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+a+")"}const s=/\b([a-z-]*)\(.*?\)/gu,c={...r.f,getAnimatableNone:e=>{const t=e.match(s);return t?t.map(a).join(" "):e}};n.d(t,["p",0,c])},85933(e,t,n){"use strict";n.d(t,{V:()=>u,f:()=>p});var r=n(85484);const i=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var o=n(23306),a=n(3223);const s="number",c="color",l=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function u(e){const t=e.toString(),n=[],i={color:[],number:[],var:[]},o=[];let a=0;const u=t.replace(l,e=>(r.y.test(e)?(i.color.push(a),o.push(c),n.push(r.y.parse(e))):e.startsWith("var(")?(i.var.push(a),o.push("var"),n.push(e)):(i.number.push(a),o.push(s),n.push(parseFloat(e))),++a,"${}")).split("${}");return{values:n,split:u,indexes:i,types:o}}function f(e){return u(e).values}function d(e){const{split:t,types:n}=u(e),i=t.length;return e=>{let o="";for(let l=0;l<i;l++)if(o+=t[l],void 0!==e[l]){const t=n[l];o+=t===s?(0,a.a)(e[l]):t===c?r.y.transform(e[l]):e[l]}return o}}const h=e=>"number"==typeof e?0:r.y.test(e)?r.y.getAnimatableNone(e):e,p={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(o.S)?.length||0)+(e.match(i)?.length||0)>0},parse:f,createTransformer:d,getAnimatableNone:function(e){const t=f(e);return d(e)(t.map(h))}}},98008(e,t,n){"use strict";n.d(t,{T:()=>a,n:()=>s});var r=n(39223),i=n(20538),o=n(9844);const a=[r.ai,i.px,i.KN,i.uj,i.vw,i.vh,{test:e=>"auto"===e,parse:e=>e}],s=e=>a.find((0,o.w)(e))},54298(e,t,n){"use strict";var r=n(85484),i=n(26497);const o={...n(41822).W,color:r.y,backgroundColor:r.y,outlineColor:r.y,fill:r.y,stroke:r.y,borderColor:r.y,borderTopColor:r.y,borderRightColor:r.y,borderBottomColor:r.y,borderLeftColor:r.y,filter:i.p,WebkitFilter:i.p};n.d(t,["D",0,e=>o[e]])},41822(e,t,n){"use strict";n.d(t,{W:()=>s});var r=n(39223);const i={...r.ai,transform:Math.round};var o=n(20538);const a={rotate:o.uj,rotateX:o.uj,rotateY:o.uj,rotateZ:o.uj,scale:r.hs,scaleX:r.hs,scaleY:r.hs,scaleZ:r.hs,skew:o.uj,skewX:o.uj,skewY:o.uj,distance:o.px,translateX:o.px,translateY:o.px,translateZ:o.px,x:o.px,y:o.px,z:o.px,perspective:o.px,transformPerspective:o.px,opacity:r.X4,originX:o.gQ,originY:o.gQ,originZ:o.px},s={borderWidth:o.px,borderTopWidth:o.px,borderRightWidth:o.px,borderBottomWidth:o.px,borderLeftWidth:o.px,borderRadius:o.px,radius:o.px,borderTopLeftRadius:o.px,borderTopRightRadius:o.px,borderBottomRightRadius:o.px,borderBottomLeftRadius:o.px,width:o.px,maxWidth:o.px,height:o.px,maxHeight:o.px,top:o.px,right:o.px,bottom:o.px,left:o.px,padding:o.px,paddingTop:o.px,paddingRight:o.px,paddingBottom:o.px,paddingLeft:o.px,margin:o.px,marginTop:o.px,marginRight:o.px,marginBottom:o.px,marginLeft:o.px,backgroundPositionX:o.px,backgroundPositionY:o.px,...a,zIndex:i,fillOpacity:r.X4,strokeOpacity:r.X4,numOctaves:i}},39223(e,t,n){"use strict";var r=n(17046);const i={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},o={...i,transform:e=>(0,r.q)(0,1,e)},a={...i,default:1};n.d(t,["X4",0,o,"ai",0,i,"hs",0,a])},20538(e,t,n){"use strict";const r=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),i=r("deg"),o=r("%"),a=r("px"),s=r("vh"),c=r("vw"),l=(()=>({...o,parse:e=>o.parse(e)/100,transform:e=>o.transform(100*e)}))();n.d(t,["KN",0,o,"gQ",0,l,"px",0,a,"uj",0,i,"vh",0,s,"vw",0,c])},9844(e,t,n){"use strict";n.d(t,["w",0,e=>t=>t.test(e)])},72881(e,t,n){"use strict";n.d(t,{J:()=>a});var r=n(85933),i=n(26497),o=n(54298);function a(e,t){let n=(0,o.D)(e);return n!==i.p&&(n=r.f),n.getAnimatableNone?n.getAnimatableNone(t):void 0}},27699(e,t,n){"use strict";var r=n(85484),i=n(85933),o=n(98008),a=n(9844);const s=[...o.T,r.y,i.f];n.d(t,["t",0,e=>s.find((0,a.w)(e))])},23306(e,t,n){"use strict";n.d(t,["S",0,/-?(?:\d+(?:\.\d+)?|\.\d+)/gu])},94072(e,t,n){"use strict";n.d(t,["e",0,(e,t)=>t&&"number"==typeof e?t.transform(e):e])},3223(e,t,n){"use strict";n.d(t,["a",0,e=>Math.round(1e5*e)/1e5])},89495(e,t,n){"use strict";n.d(t,["S",0,e=>Boolean(e&&e.getVelocity)])},32192(e,t,n){"use strict";function r(e,t){-1===e.indexOf(t)&&e.push(t)}function i(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}n.d(t,{Ai:()=>i,Kq:()=>r})},17046(e,t,n){"use strict";n.d(t,["q",0,(e,t,n)=>n>t?t:n<e?e:n])},84505(e,t,n){"use strict";var r=n(71108);n.d(t,["b",0,e=>(e*=2)<1?.5*(0,r.dg)(e):.5*(2-Math.pow(2,-10*(e-1)))])},71108(e,t,n){"use strict";var r=n(74815),i=n(70997),o=n(66814);const a=(0,r.A)(.33,1.53,.69,.99),s=(0,o.G)(a),c=(0,i.V)(s);n.d(t,["Sz",0,a,"ZZ",0,c,"dg",0,s])},94312(e,t,n){"use strict";var r=n(70997);const i=e=>1-Math.sin(Math.acos(e)),o=(0,n(66814).G)(i),a=(0,r.V)(i);n.d(t,["po",0,i,"tn",0,a,"yT",0,o])}
2,74815(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(41533);const i=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function o(e,t,n,o){if(e===t&&n===o)return r.l;return r=>0===r||1===r?r:i(function(e,t,n,r,o){let a,s,c=0;do{s=t+(n-t)/2,a=i(s,r,o)-e,a>0?n=s:t=s}while(Math.abs(a)>1e-7&&++c<12);return s}(r,0,1,e,n),t,o)}},70997(e,t,n){"use strict";n.d(t,["V",0,e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2])},66814(e,t,n){"use strict";n.d(t,["G",0,e=>t=>1-e(1-t)])},6427(e,t,n){"use strict";n.d(t,{S:()=>i});var r=n(23687);function i(e,t){return(0,r.h)(e)?e[((e,t,n)=>{const r=t-0;return((n-0)%r+r)%r+0})(0,e.length,t)]:e}},69125(e,t,n){"use strict";n.d(t,["D",0,e=>Array.isArray(e)&&"number"==typeof e[0]])},23687(e,t,n){"use strict";n.d(t,["h",0,e=>Array.isArray(e)&&"number"!=typeof e[0]])},8104(e,t,n){"use strict";n.d(t,{$:()=>r,V:()=>i});let r=()=>{},i=()=>{}},98731(e,t,n){"use strict";n.d(t,["W",0,{}])},9902(e,t,n){"use strict";n.d(t,["i",0,e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)])},59359(e,t,n){"use strict";function r(e){return"object"==typeof e&&null!==e}n.d(t,{G:()=>r})},11602(e,t,n){"use strict";n.d(t,["$",0,e=>/^0[^.\s]+$/u.test(e)])},54435(e,t,n){"use strict";function r(e){let t;return()=>(void 0===t&&(t=e()),t)}n.d(t,{p:()=>r})},41533(e,t,n){"use strict";n.d(t,["l",0,e=>e])},80337(e,t,n){"use strict";const r=(e,t)=>n=>t(e(n));n.d(t,["F",0,(...e)=>e.reduce(r)])},86896(e,t,n){"use strict";n.d(t,["q",0,(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r}])},63580(e,t,n){"use strict";n.d(t,{v:()=>i});var r=n(32192);class i{constructor(){this.subscriptions=[]}add(e){return(0,r.Kq)(this.subscriptions,e),()=>(0,r.Ai)(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){const r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},77331(e,t,n){"use strict";n.d(t,["X",0,e=>e/1e3,"f",0,e=>1e3*e])},16947(e,t,n){"use strict";function r(e,t){return t?e*(1e3/t):0}n.d(t,{f:()=>r})},49785(e,t,n){"use strict";n.d(t,{Gb:()=>N,Jt:()=>g,hZ:()=>b,lN:()=>O,mN:()=>ve});var r=n(96540),i=e=>"checkbox"===e.type,o=e=>e instanceof Date,a=e=>null==e;const s=e=>"object"==typeof e;var c=e=>!a(e)&&!Array.isArray(e)&&s(e)&&!o(e),l=e=>c(e)&&e.target?i(e.target)?e.target.checked:e.target.value:e,u=(e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)),f="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function d(e){let t;const n=Array.isArray(e),r="undefined"!=typeof FileList&&e instanceof FileList;if(e instanceof Date)t=new Date(e);else{if(f&&(e instanceof Blob||r)||!n&&!c(e))return e;if(t=n?[]:Object.create(Object.getPrototypeOf(e)),n||(e=>{const t=e.constructor&&e.constructor.prototype;return c(t)&&t.hasOwnProperty("isPrototypeOf")})(e))for(const n in e)e.hasOwnProperty(n)&&(t[n]=d(e[n]));else t=e}return t}var h=e=>/^\w*$/.test(e),p=e=>void 0===e,m=e=>Array.isArray(e)?e.filter(Boolean):[],y=e=>m(e.replace(/["|']|\]/g,"").split(/\.|\[/)),g=(e,t,n)=>{if(!t||!c(e))return n;const r=(h(t)?[t]:y(t)).reduce((e,t)=>a(e)?e:e[t],e);return p(r)||r===e?p(e[t])?n:e[t]:r},v=e=>"boolean"==typeof e,b=(e,t,n)=>{let r=-1;const i=h(t)?[t]:y(t),o=i.length,a=o-1;for(;++r<o;){const t=i[r];let o=n;if(r!==a){const n=e[t];o=c(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=o,e=e[t]}};const w="blur",x="onChange",S="onSubmit",k="all",E="pattern",_="required",C=r.createContext(null);C.displayName="HookFormContext";const A=()=>r.useContext(C);var T=(e,t,n,r=!0)=>{const i={defaultValues:t._defaultValues};for(const o in e)Object.defineProperty(i,o,{get:()=>{const i=o;return t._proxyFormState[i]!==k&&(t._proxyFormState[i]=!r||k),n&&(n[i]=!0),e[i]}});return i};const P="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function O(e){const t=A(),{control:n=t.control,disabled:i,name:o,exact:a}=e||{},[s,c]=r.useState(n._formState),l=r.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return P(()=>n._subscribe({name:o,formState:l.current,exact:a,callback:e=>{!i&&c({...n._formState,...e})}}),[o,i,a]),r.useEffect(()=>{l.current.isValid&&n._setValid(!0)},[n]),r.useMemo(()=>T(s,n,l.current,!1),[s,n])}var M=e=>"string"==typeof e,I=(e,t,n,r,i)=>M(e)?(r&&t.watch.add(e),g(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),g(n,e))):(r&&(t.watchAll=!0),n),R=e=>a(e)||!s(e);function D(e,t,n=new WeakSet){if(R(e)||R(t))return e===t;if(o(e)&&o(t))return e.getTime()===t.getTime();const r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;if(n.has(e)||n.has(t))return!0;n.add(e),n.add(t);for(const a of r){const r=e[a];if(!i.includes(a))return!1;if("ref"!==a){const e=t[a];if(o(r)&&o(e)||c(r)&&c(e)||Array.isArray(r)&&Array.isArray(e)?!D(r,e,n):r!==e)return!1}}return!0}var N=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},j=e=>Array.isArray(e)?e:[e],F=()=>{let e=[];return{get observers(){return e},next:t=>{for(const n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},L=e=>c(e)&&!Object.keys(e).length,B=e=>"file"===e.type,z=e=>"function"==typeof e,V=e=>{if(!f)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},U=e=>"select-multiple"===e.type,$=e=>"radio"===e.type,H=e=>V(e)&&e.isConnected;function q(e,t){const n=Array.isArray(t)?t:h(t)?[t]:y(t),r=1===n.length?e:function(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=p(e)?r++:e[t[r++]];return e}(e,n),i=n.length-1,o=n[i];return r&&delete r[o],0!==i&&(c(r)&&L(r)||Array.isArray(r)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!p(e[t]))return!1;return!0}(r))&&q(e,n.slice(0,-1)),e}var W=e=>{for(const t in e)if(z(e[t]))return!0;return!1};function G(e,t={}){const n=Array.isArray(e);if(c(e)||n)for(const n in e)Array.isArray(e[n])||c(e[n])&&!W(e[n])?(t[n]=Array.isArray(e[n])?[]:{}
vendor: 5,279 bytes, line 2
2,G(e[n],t[n])):a(e[n])||(t[n]=!0);return t}function K(e,t,n){const r=Array.isArray(e);if(c(e)||r)for(const r in e)Array.isArray(e[r])||c(e[r])&&!W(e[r])?p(t)||R(n[r])?n[r]=Array.isArray(e[r])?G(e[r],[]):{...G(e[r])}:K(e[r],a(t)?{}:t[r],n[r]):n[r]=!D(e[r],t[r]);return n}var Q=(e,t)=>K(e,t,G(t));const J={value:!1,isValid:!1},X={value:!0,isValid:!0};var Y=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!p(e[0].attributes.value)?p(e[0].value)||""===e[0].value?X:{value:e[0].value,isValid:!0}:X:J}return J},Z=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>p(e)?e:t?""===e?NaN:e?+e:e:n&&M(e)?new Date(e):r?r(e):e;const ee={isValid:!1,value:null};var te=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,ee):ee;function ne(e){const t=e.ref;return B(t)?t.files:$(t)?te(e.refs).value:U(t)?[...t.selectedOptions].map(({value:e})=>e):i(t)?Y(e.refs).value:Z(p(t.value)?e.ref.value:t.value,e)}var re=e=>e instanceof RegExp,ie=e=>p(e)?e:re(e)?e.source:c(e)?re(e.value)?e.value.source:e.value:e,oe=e=>({isOnSubmit:!e||e===S,isOnBlur:"onBlur"===e,isOnChange:e===x,isOnAll:e===k,isOnTouch:"onTouched"===e});const ae="AsyncFunction";var se=e=>!!e&&!!e.validate&&!!(z(e.validate)&&e.validate.constructor.name===ae||c(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===ae)),ce=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));const le=(e,t,n,r)=>{for(const i of n||Object.keys(e)){const n=g(e,i);if(n){const{_f:e,...o}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!r)return!0;if(e.ref&&t(e.ref,e.name)&&!r)return!0;if(le(o,t))break}else if(c(o)&&le(o,t))break}}};function ue(e,t,n){const r=g(e,n);if(r||h(n))return{error:r,name:n};const i=n.split(".");for(;i.length;){const r=i.join("."),o=g(t,r),a=g(e,r);if(o&&!Array.isArray(o)&&n!==r)return{name:n};if(a&&a.type)return{name:r,error:a};if(a&&a.root&&a.root.type)return{name:`${r}.root`,error:a.root};i.pop()}return{name:n}}var fe=(e,t,n)=>{const r=j(g(e,n));return b(r,"root",t[n]),b(e,n,r),e},de=e=>M(e);function he(e,t,n="validate"){if(de(e)||Array.isArray(e)&&e.every(de)||v(e)&&!e)return{type:n,message:de(e)?e:"",ref:t}}var pe=e=>c(e)&&!re(e)?e:{value:e,message:""},me=async(e,t,n,r,o,s)=>{const{ref:l,refs:u,required:f,maxLength:d,minLength:h,min:m,max:y,pattern:b,validate:w,name:x,valueAsNumber:S,mount:k}=e._f,C=g(n,x);if(!k||t.has(x))return{};const A=u?u[0]:l,T=e=>{o&&A.reportValidity&&(A.setCustomValidity(v(e)?"":e||""),A.reportValidity())},P={},O=$(l),I=i(l),R=O||I,D=(S||B(l))&&p(l.value)&&p(C)||V(l)&&""===l.value||""===C||Array.isArray(C)&&!C.length,j=N.bind(null,x,r,P),F=(e,t,n,r="maxLength",i="minLength")=>{const o=e?t:n;P[x]={type:e?r:i,message:o,ref:l,...j(e?r:i,o)}};if(s?!Array.isArray(C)||!C.length:f&&(!R&&(D||a(C))||v(C)&&!C||I&&!Y(u).isValid||O&&!te(u).isValid)){const{value:e,message:t}=de(f)?{value:!!f,message:f}:pe(f);if(e&&(P[x]={type:_,message:t,ref:A,...j(_,t)},!r))return T(t),P}if(!(D||a(m)&&a(y))){let e,t;const n=pe(y),i=pe(m);if(a(C)||isNaN(C)){const r=l.valueAsDate||new Date(C),o=e=>new Date((new Date).toDateString()+" "+e),a="time"==l.type,s="week"==l.type;M(n.value)&&C&&(e=a?o(C)>o(n.value):s?C>n.value:r>new Date(n.value)),M(i.value)&&C&&(t=a?o(C)<o(i.value):s?C<i.value:r<new Date(i.value))}else{const r=l.valueAsNumber||(C?+C:C);a(n.value)||(e=r>n.value),a(i.value)||(t=r<i.value)}if((e||t)&&(F(!!e,n.message,i.message,"max","min"),!r))return T(P[x].message),P}if((d||h)&&!D&&(M(C)||s&&Array.isArray(C))){const e=pe(d),t=pe(h),n=!a(e.value)&&C.length>+e.value,i=!a(t.value)&&C.length<+t.value;if((n||i)&&(F(n,e.message,t.message),!r))return T(P[x].message),P}if(b&&!D&&M(C)){const{value:e,message:t}=pe(b);if(re(e)&&!C.match(e)&&(P[x]={type:E,message:t,ref:l,...j(E,t)},!r))return T(t),P}if(w)if(z(w)){const e=he(await w(C,n),A);if(e&&(P[x]={...e,...j("validate",e.message)},!r))return T(e.message),P}else if(c(w)){let e={};for(const t in w){if(!L(e)&&!r)break;const i=he(await w[t](C,n),A,t);i&&(e={...i,...j(t,i.message)},T(i.message),r&&(P[x]=e))}if(!L(e)&&(P[x]={ref:A,...e},!r))return P}return T(!0),P};const ye={mode:S,reValidateMode:x,shouldFocusError:!0};function ge(e={}){let t,n={...ye,...e},r={submitCount:0,isDirty:!1,isReady:!1,isLoading:z(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},s={},h=(c(n.defaultValues)||c(n.values))&&d(n.defaultValues||n.values)||{},y=n.shouldUnregister?{}:d(h),x={action:!1,mount:!1,watch:!1},S={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},E=0;const _={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let C={..._};const A={array:F(),state:F()},T=n.criteriaMode===k,P=async e=>{if(!n.disabled&&(_.isValid||C.isValid||e)){const e=n.resolver?L((await W()).errors):await G(s,!0);e!==r.isValid&&A.state.next({isValid:e})}},O=(e,t)=>{!n.disabled&&(_.isValidating||_.validatingFields||C.isValidating||C.validatingFields)&&((e||Array.from(S.mount)).forEac
vendor: 12,408 bytes, line 2
2h(e=>{e&&(t?b(r.validatingFields,e,t):q(r.validatingFields,e))}),A.state.next({validatingFields:r.validatingFields,isValidating:!L(r.validatingFields)}))},R=(e,t,n,r)=>{const i=g(s,e);if(i){const o=g(y,e,p(n)?g(h,e):n);p(o)||r&&r.defaultChecked||t?b(y,e,t?o:ne(i._f)):X(e,o),x.mount&&P()}},N=(e,t,i,o,a)=>{let s=!1,c=!1;const l={name:e};if(!n.disabled){if(!i||o){(_.isDirty||C.isDirty)&&(c=r.isDirty,r.isDirty=l.isDirty=K(),s=c!==l.isDirty);const n=D(g(h,e),t);c=!!g(r.dirtyFields,e),n?q(r.dirtyFields,e):b(r.dirtyFields,e,!0),l.dirtyFields=r.dirtyFields,s=s||(_.dirtyFields||C.dirtyFields)&&c!==!n}if(i){const t=g(r.touchedFields,e);t||(b(r.touchedFields,e,i),l.touchedFields=r.touchedFields,s=s||(_.touchedFields||C.touchedFields)&&t!==i)}s&&a&&A.state.next(l)}return s?l:{}},W=async e=>{O(e,!0);const t=await n.resolver(y,n.context,((e,t,n,r)=>{const i={};for(const n of e){const e=g(t,n);e&&b(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}})(e||S.mount,s,n.criteriaMode,n.shouldUseNativeValidation));return O(e),t},G=async(e,t,i={valid:!0})=>{for(const o in e){const a=e[o];if(a){const{_f:e,...s}=a;if(e){const s=S.array.has(e.name),c=a._f&&se(a._f);c&&_.validatingFields&&O([o],!0);const l=await me(a,S.disabled,y,T,n.shouldUseNativeValidation&&!t,s);if(c&&_.validatingFields&&O([o]),l[e.name]&&(i.valid=!1,t))break;!t&&(g(l,e.name)?s?fe(r.errors,l,e.name):b(r.errors,e.name,l[e.name]):q(r.errors,e.name))}!L(s)&&await G(s,t,i)}}return i.valid},K=(e,t)=>!n.disabled&&(e&&t&&b(y,e,t),!D(de(),h)),J=(e,t,n)=>I(e,S,{...x.mount?y:p(t)?h:M(e)?{[e]:t}:t},n,t),X=(e,t,n={})=>{const r=g(s,e);let o=t;if(r){const n=r._f;n&&(!n.disabled&&b(y,e,Z(t,n)),o=V(n.ref)&&a(t)?"":t,U(n.ref)?[...n.ref.options].forEach(e=>e.selected=o.includes(e.value)):n.refs?i(n.ref)?n.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(o)?e.checked=!!o.find(t=>t===e.value):e.checked=o===e.value||!!o)}):n.refs.forEach(e=>e.checked=e.value===o):B(n.ref)?n.ref.value="":(n.ref.value=o,n.ref.type||A.state.next({name:e,values:d(y)})))}(n.shouldDirty||n.shouldTouch)&&N(e,o,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&ae(e)},Y=(e,t,n)=>{for(const r in t){if(!t.hasOwnProperty(r))return;const i=t[r],a=e+"."+r,l=g(s,a);(S.array.has(e)||c(i)||l&&!l._f)&&!o(i)?Y(a,i,n):X(a,i,n)}},ee=(e,t,n={})=>{const i=g(s,e),o=S.array.has(e),c=d(t);b(y,e,c),o?(A.array.next({name:e,values:d(y)}),(_.isDirty||_.dirtyFields||C.isDirty||C.dirtyFields)&&n.shouldDirty&&A.state.next({name:e,dirtyFields:Q(h,y),isDirty:K(e,c)})):!i||i._f||a(c)?X(e,c,n):Y(e,c,n),ce(e,S)&&A.state.next({...r,name:e}),A.state.next({name:x.mount?e:void 0,values:d(y)})},te=async e=>{x.mount=!0;const i=e.target;let a=i.name,c=!0;const u=g(s,a),f=e=>{c=Number.isNaN(e)||o(e)&&isNaN(e.getTime())||D(e,g(y,a,e))},h=oe(n.mode),p=oe(n.reValidateMode);if(u){let o,x;const k=i.type?ne(u._f):l(e),M=e.type===w||"focusout"===e.type,I=!((m=u._f).mount&&(m.required||m.min||m.max||m.maxLength||m.minLength||m.pattern||m.validate)||n.resolver||g(r.errors,a)||u._f.deps)||((e,t,n,r,i)=>!i.isOnAll&&(!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:!(n?r.isOnChange:i.isOnChange)||e))(M,g(r.touchedFields,a),r.isSubmitted,p,h),R=ce(a,S,M);b(y,a,k),M?i&&i.readOnly||(u._f.onBlur&&u._f.onBlur(e),t&&t(0)):u._f.onChange&&u._f.onChange(e);const j=N(a,k,M),F=!L(j)||R;if(!M&&A.state.next({name:a,type:e.type,values:d(y)}),I)return(_.isValid||C.isValid)&&("onBlur"===n.mode?M&&P():M||P()),F&&A.state.next({name:a,...R?{}:j});if(!M&&R&&A.state.next({...r}),n.resolver){const{errors:e}=await W([a]);if(f(k),c){const t=ue(r.errors,s,a),n=ue(e,s,t.name||a);o=n.error,a=n.name,x=L(e)}}else O([a],!0),o=(await me(u,S.disabled,y,T,n.shouldUseNativeValidation))[a],O([a]),f(k),c&&(o?x=!1:(_.isValid||C.isValid)&&(x=await G(s,!0)));c&&(u._f.deps&&ae(u._f.deps),((e,i,o,a)=>{const s=g(r.errors,e),c=(_.isValid||C.isValid)&&v(i)&&r.isValid!==i;var l;if(n.delayError&&o?(l=()=>((e,t)=>{b(r.errors,e,t),A.state.next({errors:r.errors})})(e,o),t=e=>{clearTimeout(E),E=setTimeout(l,e)},t(n.delayError)):(clearTimeout(E),t=null,o?b(r.errors,e,o):q(r.errors,e)),(o?!D(s,o):s)||!L(a)||c){const t={...a,...c&&v(i)?{isValid:i}:{},errors:r.errors,name:e};r={...r,...t},A.state.next(t)}})(a,x,o,j))}var m},re=(e,t)=>{if(g(r.errors,t)&&e.focus)return e.focus(),1},ae=async(e,t={})=>{let i,o;const a=j(e);if(n.resolver){const t=await(async e=>{const{errors:t}=await W(e);if(e)for(const n of e){const e=g(t,n);e?b(r.errors,n,e):q(r.errors,n)}else r.errors=t;return t})(p(e)?e:a);i=L(t),o=e?!a.some(e=>g(t,e)):i}else e?(o=(await Promise.all(a.map(async e=>{const t=g(s,e);return await G(t&&t._f?{[e]:t}:t)}))).every(Boolean),(o||r.isValid)&&P()):o=i=await G(s);return A.state.next({...!M(e)||(_.isValid||C.isValid)&&i!==r.isValid?{}:{name:e},...n.resolver||!e?{isValid:i}:{},errors:r.errors}),t.shouldFocus&&!o&&le(s,re,e?a:S.mount),o},de=e=>{const t={...x.mount?y:h};return p(e)?t:M(e)?g(t,e):e.map(e=>g(t,e))},he=(e,t)=>({invalid:!!g((t||r).errors,e),isDirty:!!g((t||r).dirtyFields,e),error:g((t||r).errors,e),isValidating:!!g(r.validatingFields,e),isTouched:!!g((t||r).touchedFields,e)}),pe=(e,t,n)=>{const i=(g(s,e,{_f:{}})._f||{}).ref,o=g(r.errors,e)||{},{ref:a,message:c,type:l,...u}=o;b(r.errors,e,{...u,...t,ref:i}),A.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&i&&i.focus&&i.focus()},ge=e=>A.state.subscribe({next:t=>{var n,i,o;n=e.name,i=t.name,o=e.exact,n&&i&&n!==i&&!j(n).some(e=>e&&(o?e===i:e.startsWith(i)||i.startsWith(e)))||!((e,t,n,r)=>{n(e);const{name:i,...o}=e;return L(o)||Object.keys(o).length>=Object.keys(t).length||Object.keys(o).find(e=>t[e]===(!r||k))})(t,e.formState||_,_e,e.reRenderRoot)||e.callback({values:{...y},...r,...t,defaultValues:h})}}).unsubscribe,ve=(e,t={})=>{for(const i of e?j(e):S.mount)S.mount.delete(i),S.array.delete(i),t.keepValue||(q(s,i),q(y,i)),!t.keepError&&q(r.errors,i),!t.keepDirty&&q(r.dirtyFields,i),!t.keepTouched&&q(r.touchedFields,i),!t.keepIsValidating&&q(r.validatingFields,i),!n.shouldUnregister&&!t.keepDefaultValue&&q(h,i);A.state.next({values:d(y)}),A.state.next({...r,...t.keepDirty?{isDirty:K()}:{}}),!t.keepIsValid&&P()},be=({disabled:e,name:t})=>{(v(e)&&x.mount||e||S.disabled.has(t))&&(e?S.disabled.add(t):S.disabled.delete(t))},we=(e,t={})=>{let r=g(s,e);const o=v(t.disabled)||v(n.disabled);return b(s,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),S.mount.add(e),r?be({disabled:v(t.disabled)?t.disabled:n.disabled,name:e}):R(e,!0,t.value),{...o?{disabled:t.disabled||n.disabled}:{},...n.progressive?{required:!!t.required,min:ie(t.min),max:ie(t.max),minLength:ie(t.minLength),maxLength:ie(t.maxLength),pattern:ie(t.pattern)}:{},name:e,onChange:te,onBlur:te,ref:o=>{if(o){we(e,t),r=g(s,e);const n=p(o.value)&&o.querySelectorAll&&o.querySelectorAll("input,select,textarea")[0]||o,a=(e=>$(e)||i(e))(n),c=r._f.refs||[];if(a?c.find(e=>e===n):n===r._f.ref)return;b(s,e,{_f:{...r._f,...a?{refs:[...c.filter(H),n,...Array.isArray(g(h,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),R(e,!1,void 0,n)}else r=g(s,e,{}),r._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&(!u(S.array,e)||!x.action)&&S.unMount.add(e)}}},xe=()=>n.shouldFocusError&&le(s,re,S.mount),Se=(e,t)=>async i=>{let o;i&&(i.preventDefault&&i.preventDefault(),i.persist&&i.persist());let a=d(y);if(A.state.next({isSubmitting:!0}),n.resolver){const{errors:e,values:t}=await W();r.errors=e,a=d(t)}else await G(s);if(S.disabled.size)for(const e of S.disabled)q(a,e);if(q(r.errors,"root"),L(r.errors)){A.state.next({errors:{}});try{await e(a,i)}catch(e){o=e}}else t&&await t({...r.errors},i),xe(),setTimeout(xe);if(A.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:L(r.errors)&&!o,submitCount:r.submitCount+1,errors:r.errors}),o)throw o},ke=(e,t={})=>{const i=e?d(e):h,o=d(i),a=L(e),c=a?h:o;if(t.keepDefaultValues||(h=i),!t.keepValues){if(t.keepDirtyValues){const e=new Set([...S.mount,...Object.keys(Q(h,y))]);for(const t of Array.from(e))g(r.dirtyFields,t)?b(c,t,g(y,t)):ee(t,g(c,t))}else{if(f&&p(e))for(const e of S.mount){const t=g(s,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(V(e)){const t=e.closest("form");if(t){t.reset();break}}}}if(t.keepFieldsRef)for(const e of S.mount)ee(e,g(c,e));else s={}}y=n.shouldUnregister?t.keepDefaultValues?d(h):{}:d(c),A.array.next({values:{...c}}),A.state.next({values:{...c}})}S={mount:t.keepDirtyValues?S.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},x.mount=!_.isValid||!!t.keepIsValid||!!t.keepDirtyValues,x.watch=!!n.shouldUnregister,A.state.next({submitCount:t.keepSubmitCount?r.submitCount:0,isDirty:!a&&(t.keepDirty?r.isDirty:!(!t.keepDefaultValues||D(e,h))),isSubmitted:!!t.keepIsSubmitted&&r.isSubmitted,dirtyFields:a?{}:t.keepDirtyValues?t.keepDefaultValues&&y?Q(h,y):r.dirtyFields:t.keepDefaultValues&&e?Q(h,e):t.keepDirty?r.dirtyFields:{},touchedFields:t.keepTouched?r.touchedFields:{},errors:t.keepErrors?r.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1,defaultValues:h})},Ee=(e,t)=>ke(z(e)?e(y):e,t),_e=e=>{r={...r,...e}},Ce={control:{register:we,unregister:ve,getFieldState:he,handleSubmit:Se,setError:pe,_subscribe:ge,_runSchema:W,_focusError:xe,_getWatch:J,_getDirty:K,_setValid:P,_setFieldArray:(e,t=[],i,o,a=!0,c=!0)=>{if(o&&i&&!n.disabled){if(x.action=!0,c&&Array.isArray(g(s,e))){const t=i(g(s,e),o.argA,o.argB);a&&b(s,e,t)}if(c&&Array.isArray(g(r.errors,e))){const t=i(g(r.errors,e),o.argA,o.argB);a&&b(r.errors,e,t),((e,t)=>{!m(g(e,t)).length&&q(e,t)})(r.errors,e)}if((_.touchedFields||C.touchedFields)&&c&&Array.isArray(g(r.touchedFields,e))){const t=i(g(r.touchedFields,e),o.argA,o.argB);a&&b(r.touchedFields,e,t)}(_.dirtyFields||C.dirtyFields)&&(r.dirtyFields=Q(h,y)),A.state.next({name:e,isDirty:K(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else b(y,e,t)},_setDisabledField:be,_setErrors:e=>{r.errors=e,A.state.next({errors:r.errors,isValid:!1})},_getFieldArray:e=>m(g(x.mount?y:h,e,n.shouldUnregister?g(h,e,[]):[])),_reset:ke,_resetDefaultValues:()=>z(n.defaultValues)&&n.defaultValues().then(e=>{Ee(e,n.resetOptions),A.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(const e of S.unMount){const t=g(s,e);t&&(t._f.refs?t._f.refs.every(e=>!H(e)):!H(t._f.ref))&&ve(e)}S.unMount=new Set},_disableForm:e=>{v(e)&&(A.state.next({disabled:e}),le(s,(t,n)=>{const r=g(s,n);r&&(t.disabled=r._f.disabled||e,Array.isArray(r._f.refs)&&r._f.refs.forEach(t=>{t.disabled=r._f.disabled||e}))},0,!1))},_subjects:A,_proxyFormState:_,get _fields(){return s},get _formValues(){return y},get _state(){return x},set _state(e){x=e},get _defaultValues(){return h},get _names(){return S},set _names(e){S=e},get _formState(){return r},get _options(){return n},set _options(e){n={...n,...e}}},subscribe:e=>(x.mount=!0,C={...C,...e.formState},ge({...e,formState:C})),trigger:ae,register:we,handleSubmit:Se,watch:(e,t)=>z(e)?A.state.subscribe({next:n=>"values"in n&&e(J(void 0,t),n)}):J(e,t,!0),setValue:ee,getValues:de,reset:Ee,resetField:(e,t={})=>{g(s,e)&&(p(t.defaultValue)?ee(e,d(g(h,e))):(ee(e,t.defaultValue),b(h,e,d(t.defaultValue))),t.keepTouched||q(r.touchedFields,e),t.keepDirty||(q(r.dirtyFields,e),r.isDirty=t.defaultValue?K(e,d(g(h,e))):K()),t.keepError||(q(r.errors,e),_.isValid&&P()),A.state.next({...r}))},clearErrors:e=>{e&&j(e).forEach(e=>q(r.errors,e)),A.state.next({errors:e?r.errors:{}})},unregister:ve,setError:pe,setFocus:(e,t={})=>{const n=g(s,e),r=n&&n._f;if(r){const e=r.refs?r.refs[0]:r.ref;e.focus&&(e.focus(),t.shouldSelect&&z(e.select)&&e.select())}},getFieldState:he};return{...Ce,formControl:Ce}}function ve(e={}){const t=r.useRef(void 0),n=r.useRef(void 0),[i,o]=r.useState({isDirty:!1,isValidating:!1,isLoading:z(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:z(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:i},e.defaultValues&&!z(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:n,...r}=ge(e);t.current={...r,formState:i}}const a=t.current.control;return a._options=e,P(()=>{const e=a._subscribe({formState:a._proxyFormState,callback:()=>o({...a._formState}
2),reRenderRoot:!0});return o(e=>({...e,isReady:!0})),a._formState.isReady=!0,e},[a]),r.useEffect(()=>a._disableForm(e.disabled),[a,e.disabled]),r.useEffect(()=>{e.mode&&(a._options.mode=e.mode),e.reValidateMode&&(a._options.reValidateMode=e.reValidateMode)},[a,e.mode,e.reValidateMode]),r.useEffect(()=>{e.errors&&(a._setErrors(e.errors),a._focusError())},[a,e.errors]),r.useEffect(()=>{e.shouldUnregister&&a._subjects.state.next({values:a._getWatch()})},[a,e.shouldUnregister]),r.useEffect(()=>{if(a._proxyFormState.isDirty){const e=a._getDirty();e!==i.isDirty&&a._subjects.state.next({isDirty:e})}},[a,i.isDirty]),r.useEffect(()=>{e.values&&!D(e.values,n.current)?(a._reset(e.values,{keepFieldsRef:!0,...a._options.resetOptions}),n.current=e.values,o(e=>({...e}))):a._resetDefaultValues()},[a,e.values]),r.useEffect(()=>{a._state.mount||(a._setValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()}),t.current.formState=T(i,a),t.current}n.d(t,["Op",0,e=>{const{children:t,...n}=e;return r.createElement(C.Provider,{value:n},t)},"xI",0,e=>e.render(function(e){const t=A(),{name:n,disabled:i,control:o=t.control,shouldUnregister:a,defaultValue:s}=e,c=u(o._names.array,n),f=r.useMemo(()=>g(o._formValues,n,g(o._defaultValues,n,s)),[o,n,s]),h=function(e){const t=A(),{control:n=t.control,name:i,defaultValue:o,disabled:a,exact:s,compute:c}=e||{},l=r.useRef(o),u=r.useRef(c),f=r.useRef(void 0);u.current=c;const d=r.useMemo(()=>n._getWatch(i,l.current),[n,i]),[h,p]=r.useState(u.current?u.current(d):d);return P(()=>n._subscribe({name:i,formState:{values:!0},exact:s,callback:e=>{if(!a){const t=I(i,n._names,e.values||n._formValues,!1,l.current);if(u.current){const e=u.current(t);D(e,f.current)||(p(e),f.current=e)}else p(t)}}}),[n,a,i,s]),r.useEffect(()=>n._removeUnmounted()),h}({control:o,name:n,defaultValue:f,exact:!0}),m=O({control:o,name:n,exact:!0}),y=r.useRef(e),x=r.useRef(o.register(n,{...e.rules,value:h,...v(e.disabled)?{disabled:e.disabled}:{}}));y.current=e;const S=r.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!g(m.errors,n)},isDirty:{enumerable:!0,get:()=>!!g(m.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!g(m.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!g(m.validatingFields,n)},error:{enumerable:!0,get:()=>g(m.errors,n)}}),[m,n]),k=r.useCallback(e=>x.current.onChange({target:{value:l(e),name:n},type:"change"}),[n]),E=r.useCallback(()=>x.current.onBlur({target:{value:g(o._formValues,n),name:n},type:w}),[n,o._formValues]),_=r.useCallback(e=>{const t=g(o._fields,n);t&&e&&(t._f.ref={focus:()=>e.focus&&e.focus(),select:()=>e.select&&e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})},[o._fields,n]),C=r.useMemo(()=>({name:n,value:h,...v(i)||m.disabled?{disabled:m.disabled||i}:{},onChange:k,onBlur:E,ref:_}),[n,i,m.disabled,k,E,_,h]);return r.useEffect(()=>{const e=o._options.shouldUnregister||a;o.register(n,{...y.current.rules,...v(y.current.disabled)?{disabled:y.current.disabled}:{}});const t=(e,t)=>{const n=g(o._fields,e);n&&n._f&&(n._f.mount=t)};if(t(n,!0),e){const e=d(g(o._options.defaultValues,n));b(o._defaultValues,n,e),p(g(o._formValues,n))&&b(o._formValues,n,e)}return!c&&o.register(n),()=>{(c?e&&!o._state.action:e)?o.unregister(n):t(n,!1)}},[n,o,c,a]),r.useEffect(()=>{o._setDisabledField({disabled:i,name:n})},[i,n,o]),r.useMemo(()=>({field:C,formState:m,fieldState:S}),[C,m,S])}(e)),"xW",0,A])},15452(e,t,n){"use strict";n.d(t,{oz:()=>Sr});var r={};n.r(r),n.d(r,{boolean:()=>v,booleanish:()=>b,commaOrSpaceSeparated:()=>E,commaSeparated:()=>k,number:()=>x,overloadedBoolean:()=>w,spaceSeparated:()=>S});var i={};function o(){}function a(){}n.r(i),n.d(i,{attentionMarkers:()=>Yt,contentInitial:()=>Wt,disable:()=>Zt,document:()=>qt,flow:()=>Kt,flowInitial:()=>Gt,insideSpan:()=>Xt,string:()=>Qt,text:()=>Jt});const s=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,c=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l={};function u(e,t){return((t||l).jsx?c:s).test(e)}const f=/[ \t\n\f\r]/g;function d(e){return""===e.replace(f,"")}class h{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function p(e,t){const n={},r={};for(const t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new h(n,r,t)}function m(e){return e.toLowerCase()}h.prototype.normal={},h.prototype.property={},h.prototype.space=void 0;class y{constructor(e,t){this.attribute=t,this.property=e}}y.prototype.attribute="",y.prototype.booleanish=!1,y.prototype.boolean=!1,y.prototype.commaOrSpaceSeparated=!1,y.prototype.commaSeparated=!1,y.prototype.defined=!1,y.prototype.mustUseProperty=!1,y.prototype.number=!1,y.prototype.overloadedBoolean=!1,y.prototype.property="",y.prototype.spaceSeparated=!1,y.prototype.space=void 0;let g=0;const v=_(),b=_(),w=_(),x=_(),S=_(),k=_(),E=_();function _(){return 2**++g}const C=Object.keys(r);class A extends y{constructor(e,t,n,i){let o=-1;if(super(e,t),T(this,"space",i),"number"==typeof n)for(;++o<C.length;){const e=C[o];T(this,C[o],(n&r[e])===r[e])}}}function T(e,t,n){n&&(e[t]=n)}function P(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const o=new A(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[m(r)]=r,n[m(o.attribute)]=r}return new h(t,n,e.space)}A.prototype.defined=!0;const O=P({properties:{ariaActiveDescendant:null,ariaAtomic:b,ariaAutoComplete:null,ariaBusy:b,ariaChecked:b,ariaColCount:x,ariaColIndex:x,ariaColSpan:x,ariaControl
vendor: 3,903 bytes, line 2
2s:S,ariaCurrent:null,ariaDescribedBy:S,ariaDetails:null,ariaDisabled:b,ariaDropEffect:S,ariaErrorMessage:null,ariaExpanded:b,ariaFlowTo:S,ariaGrabbed:b,ariaHasPopup:null,ariaHidden:b,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:S,ariaLevel:x,ariaLive:null,ariaModal:b,ariaMultiLine:b,ariaMultiSelectable:b,ariaOrientation:null,ariaOwns:S,ariaPlaceholder:null,ariaPosInSet:x,ariaPressed:b,ariaReadOnly:b,ariaRelevant:null,ariaRequired:b,ariaRoleDescription:S,ariaRowCount:x,ariaRowIndex:x,ariaRowSpan:x,ariaSelected:b,ariaSetSize:x,ariaSort:null,ariaValueMax:x,ariaValueMin:x,ariaValueNow:x,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function M(e,t){return t in e?e[t]:t}function I(e,t){return M(e,t.toLowerCase())}const R=P({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:k,acceptCharset:S,accessKey:S,action:null,allow:null,allowFullScreen:v,allowPaymentRequest:v,allowUserMedia:v,alt:null,as:null,async:v,autoCapitalize:null,autoComplete:S,autoFocus:v,autoPlay:v,blocking:S,capture:null,charSet:null,checked:v,cite:null,className:S,cols:x,colSpan:null,content:null,contentEditable:b,controls:v,controlsList:S,coords:x|k,crossOrigin:null,data:null,dateTime:null,decoding:null,default:v,defer:v,dir:null,dirName:null,disabled:v,download:w,draggable:b,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:v,formTarget:null,headers:S,height:x,hidden:w,high:x,href:null,hrefLang:null,htmlFor:S,httpEquiv:S,id:null,imageSizes:null,imageSrcSet:null,inert:v,inputMode:null,integrity:null,is:null,isMap:v,itemId:null,itemProp:S,itemRef:S,itemScope:v,itemType:S,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:v,low:x,manifest:null,max:null,maxLength:x,media:null,method:null,min:null,minLength:x,multiple:v,muted:v,name:null,nonce:null,noModule:v,noValidate:v,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:v,optimum:x,pattern:null,ping:S,placeholder:null,playsInline:v,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:v,referrerPolicy:null,rel:S,required:v,reversed:v,rows:x,rowSpan:x,sandbox:S,scope:null,scoped:v,seamless:v,selected:v,shadowRootClonable:v,shadowRootDelegatesFocus:v,shadowRootMode:null,shape:null,size:x,sizes:null,slot:null,span:x,spellCheck:b,src:null,
2srcDoc:null,srcLang:null,srcSet:null,start:x,step:null,style:null,tabIndex:x,target:null,title:null,translate:null,type:null,typeMustMatch:v,useMap:null,value:b,width:x,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:S,axis:null,background:null,bgColor:null,border:x,borderColor:null,bottomMargin:x,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:v,declare:v,event:null,face:null,frame:null,frameBorder:null,hSpace:x,leftMargin:x,link:null,longDesc:null,lowSrc:null,marginHeight:x,marginWidth:x,noResize:v,noHref:v,noShade:v,noWrap:v,object:null,profile:null,prompt:null,rev:null,rightMargin:x,rules:null,scheme:null,scrolling:b,standby:null,summary:null,text:null,topMargin:x,valueType:null,version:null,vAlign:null,vLink:null,vSpace:x,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:v,disableRemotePlayback:v,prefix:null,property:null,results:x,security:null,unselectable:null},space:"html",transform:I}),D=P({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
2-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:E,accentHeight:x,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:x,amplitude:x,arabicForm:null,ascent:x,attributeName:null,attributeType:null,azimuth:x,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:x,by:null,calcMode:null,capHeight:x,className:S,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:x,diffuseConstant:x,direction:null,display:null,dur:null,divisor:x,dominantBaseline:null,download:v,dx:null,dy:null,edgeMode:null,editable:null,elevation:x,enableBackground:null,end:null,event:null,exponent:x,externalResourcesRequired:null,fill:null,fillOpacity:x,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:k,g2:k,glyphName:k,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:x,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:x,horizOriginX:x,horizOriginY:x,id:null,ideographic:x,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:
2x,k:x,k1:x,k2:x,k3:x,k4:x,kernelMatrix:E,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:x,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:x,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:x,overlineThickness:x,paintOrder:null,panose1:null,path:null,pathLength:x,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:S,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:x,pointsAtY:x,pointsAtZ:x,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:E,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:E,rev:E,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:E,requiredFeatures:E,requiredFonts:E,requiredFormats:E,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:x,specularExponent:x,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:x,strikethroughThickness:x,string:null,stroke:null,strokeDashArray:E,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:x,strokeOpacity:x,strokeWidth:null,style:null,surfaceScale:x,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:E,tabIndex:x,tableValues:null,target:null,targetX:x,targetY:x,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:E,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:x,underlineThickness:x,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:x,values:null,vAlphabetic:x,vMathematical:x,vectorEffect:null,vHanging:x,vIdeographic:x,version:null,vertAdvY:x,vertOriginX:x,vertOriginY:x,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:x,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:M}),N=P({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>
vendor: 11,839 bytes, line 2
2"xlink:"+t.slice(5).toLowerCase()}),j=P({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:I}),F=P({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),L=p([O,R,N,j,F],"html"),B=p([O,D,N,j,F],"svg"),z=/[A-Z]/g,V=/-[a-z]/g,U=/^data[-\w.:]+$/i;function $(e){return"-"+e.toLowerCase()}function H(e){return e.charAt(1).toUpperCase()}const q={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var W=n(35229);const G=Q("end"),K=Q("start");function Q(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function J(e){return e&&"object"==typeof e?"position"in e||"type"in e?Y(e.position):"start"in e||"end"in e?Y(e):"line"in e||"column"in e?X(e):"":""}function X(e){return Z(e&&e.line)+":"+Z(e&&e.column)}function Y(e){return X(e&&e.start)+"-"+X(e&&e.end)}function Z(e){return e&&"number"==typeof e?e:1}class ee extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},o=!1;if(t&&(i="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!i.cause&&e&&(o=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){const e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}const a=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=a?a.line:void 0,this.name=J(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=o&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}ee.prototype.file="",ee.prototype.name="",ee.prototype.reason="",ee.prototype.message="",ee.prototype.stack="",ee.prototype.column=void 0,ee.prototype.line=void 0,ee.prototype.ancestors=void 0,ee.prototype.cause=void 0,ee.prototype.fatal=void 0,ee.prototype.place=void 0,ee.prototype.ruleId=void 0,ee.prototype.source=void 0;const te={}.hasOwnProperty,ne=new Map,re=/[A-Z]/g,ie=new Set(["table","tbody","thead","tfoot","tr"]),oe=new Set(["td","th"]),ae="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function se(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let i=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(i=B,e.schema=i),e.ancestors.push(t);const o=de(e,t.tagName,!1),a=function(e,t){const n={};let r,i;for(i in t.properties)if("children"!==i&&te.call(t.properties,i)){const o=fe(e,i,t.properties[i]);if(o){const[i,a]=o;e.tableCellAlignToStyle&&"align"===i&&"string"==typeof a&&oe.has(t.tagName)?r=a:n[i]=a}}return r&&((n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r),n}(e,t);let s=ue(e,t);return ie.has(t.tagName)&&(s=s.filter(function(e){return"string"!=typeof e||!("object"==typeof(t=e)?"text"===t.type&&d(t.value):d(t));var t})),ce(e,a,o,t),le(a,s),e.ancestors.pop(),e.schema=r,e.create(t,o,a,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}he(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let i=r;"svg"===t.name&&"html"===r.space&&(i=B,e.schema=i),e.ancestors.push(t);const a=null===t.name?e.Fragment:de(e,t.name,!0),s=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0];o(t.type);const i=t.expression;o(i.type);const a=i.properties[0];o(a.type),Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else he(e,t.position);else{const i=r.name;let a;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];o(t.type),a=e.evaluater.evaluateExpression(t.expression)}else he(e,t.position);else a=null===r.value||r.value;n[i]=a}return n}(e,t),c=ue(e,t);return ce(e,s,a,t),le(s,c),e.ancestors.pop(),e.schema=r,e.create(t,a,s,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);he(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return le(r,ue(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function ce(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function le(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function ue(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:ne;for(;++r<t.children.length;){const o=t.children[r];let a;if(e.passKeys){const e="element"===o.type?o.tagName:"mdxJsxFlowElement"===o.type||"mdxJsxTextElement"===o.type?o.name:void 0;if(e){const t=i.get(e)||0;a=e+"-"+t,i.set(e,t+1)}}const s=se(e,o,a);void 0!==s&&n.push(s)}return n}function fe(e,t,n){const r=function(e,t){const n=m(t);let r=t,i=y;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&U.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(V,H);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!V.test(e)){let n=e.replace(z,$);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=A}return new i(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e){const t={};return(""===e[e.length-1]?[...e,""]:e).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return W(t,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};const n=t,r=new ee("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=ae+"#cannot-parse-style-attribute",r}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)te.call(e,n)&&(t[pe(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?q[r.property]||r.property:r.attribute,n]}}function de(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,i=-1;for(;++i<e.length;){const t=u(e[i])?{type:"Identifier",name:e[i]}:{type:"Literal",value:e[i]};n=n?{type:"MemberExpression",object:n,property:t,computed:Boolean(i&&"Literal"===t.type),optional:!1}:t}r=n}else r=u(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){const t=r.value;return te.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);he(e)}function he(e,t){const n=new ee("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=ae+"#cannot-handle-mdx-estrees-without-createevaluater",n}function pe(e){let t=e.replace(re,me);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function me(e){return"-"+e.toLowerCase()}const ye={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var ge=n(74848);n(96540);const ve={};function be(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return we(e.children,t,n)}return Array.isArray(e)?we(e,t,n):""}function we(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=be(e[i],t,n);return r.join("")}function xe(e,t,n,r){const i=e.length;let o,a=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function Se(e,t){return e.length>0?(xe(e,e.length,0,t),e):t}class ke{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){const n=t??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){const r=t||0;this.setCursor(Math.trunc(e));const i=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&Ee(this.left,n),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),Ee(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),Ee(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&0===this.right.length||e<0&&0===this.left.length))if(e<this.left.length){const t=this.left.splice(e,Number.POSITIVE_INFINITY);Ee(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);Ee(this.left,t.reverse())}}}function Ee(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function _e(e){const t={};let n,r,i,o,a,s,c,l=-1;const u=new ke(e);for(;++l<u.length;){for(;l in t;)l=t[l];if(n=u.get(l),l&&"chunkFlow"===n[1].type&&"listItemPrefix"===u.get(l-1)[1].type&&(s=n[1]._tokenizer.events,i=0,i<s.length&&"lineEndingBlank"===s[i][1].type&&(i+=2),i<s.length&&"content"===s[i][1].type))for(;++i<s.length&&"content"!==s[i][1].type;)"chunkText"===s[i][1].type&&(s[i][1]._isInFirstContentOfListItem=!0,i++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,Ce(u,l)),l=t[l],c=!0);else if(n[1]._container){for(i=l,r=void 0;i--;)if(o=u.get(i),"lineEnding"===o[1].type||"lineEndingBlank"===o[1].type)"enter"===o[0]&&(r&&(u.get(r)[1].type="lineEndingBlank"),o[1].type="lineEnding",r=i);else if("linePrefix"!==o[1].type&&"listItemIndent"!==o[1].type)break;r&&(n[1].end={...u.get(r)[1].start},a=u.slice(r,l),a.unshift(n),u.splice(r,l-r+1,a))}}return xe(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!c}function Ce(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const o=[];let a=n._tokenizer;a||(a=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));const s=a.events,c=[],l={};let u,f,d=-1,h=n,p=0,m=0;const y=[m];for(;h;){for(;e.get(++i)[1]!==h;);o.push(i),h._tokenizer||(u=r.sliceStream(h),h.next||u.push(null),f&&a.defineSki
vendor: 19,892 bytes, line 2
2p(h.start),h._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(u),h._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),f=h,h=h.next}for(h=n;++d<s.length;)"exit"===s[d][0]&&"enter"===s[d-1][0]&&s[d][1].type===s[d-1][1].type&&s[d][1].start.line!==s[d][1].end.line&&(m=d+1,y.push(m),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(a.events=[],h?(h._tokenizer=void 0,h.previous=void 0):y.pop(),d=y.length;d--;){const t=s.slice(y[d],y[d+1]),n=o.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),d=-1;++d<c.length;)l[p+c[d][0]]=p+c[d][1],p+=c[d][1]-c[d][0]-1;return l}const Ae={}.hasOwnProperty;function Te(e,t){let n;for(n in t){const r=(Ae.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let o;if(i)for(o in i){Ae.call(r,o)||(r[o]=[]);const e=i[o];Pe(r[o],Array.isArray(e)?e:e?[e]:[])}}}function Pe(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);xe(e,0,0,r)}const Oe=Ue(/[A-Za-z]/),Me=Ue(/[\dA-Za-z]/),Ie=Ue(/[#-'*+\--9=?A-Z^-~]/);function Re(e){return null!==e&&(e<32||127===e)}const De=Ue(/\d/),Ne=Ue(/[\dA-Fa-f]/),je=Ue(/[!-/:-@[-`{-~]/);function Fe(e){return null!==e&&e<-2}function Le(e){return null!==e&&(e<0||32===e)}function Be(e){return-2===e||-1===e||32===e}const ze=Ue(/\p{P}|\p{S}/u),Ve=Ue(/\s/);function Ue(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function $e(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){return Be(r)?(e.enter(n),a(r)):t(r)};function a(r){return Be(r)&&o++<i?(e.consume(r),a):(e.exit(n),t(r))}}const He={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,function(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),$e(e,t,"linePrefix");e.consume(n)},function(t){return e.enter("paragraph"),r(t)});let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,i(t)}function i(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):Fe(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),i)}}},qe={tokenize:function(e){const t=this,n=[];let r,i,o,a=0;return s;function s(r){if(a<n.length){const i=n[a];return t.containerState=i[1],e.attempt(i[0].continuation,c,l)(r)}return l(r)}function c(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&v();const n=t.events.length;let i,o=n;for(;o--;)if("exit"===t.events[o][0]&&"chunkFlow"===t.events[o][1].type){i=t.events[o][1].end;break}g(a);let s=n;for(;s<t.events.length;)t.events[s][1].end={...i},s++;return xe(t.events,o+1,0,t.events.slice(n)),t.events.length=s,l(e)}return s(e)}function l(i){if(a===n.length){if(!r)return d(i);if(r.currentConstruct&&r.currentConstruct.concrete)return p(i);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(We,u,f)(i)}function u(e){return r&&v(),g(a),d(e)}function f(e){return t.parser.lazy[t.now().line]=a!==n.length,o=t.now().offset,p(e)}function d(n){return t.containerState={},e.attempt(We,h,p)(n)}function h(e){return a++,n.push([t.currentConstruct,t.containerState]),d(e)}function p(n){return null===n?(r&&v(),g(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:i}),m(n))}function m(n){return null===n?(y(e.exit("chunkFlow"),!0),g(0),void e.consume(n)):Fe(n)?(e.consume(n),y(e.exit("chunkFlow")),a=0,t.interrupt=void 0,s):(e.consume(n),m)}function y(e,n){const s=t.sliceStream(e);if(n&&s.push(null),e.previous=i,i&&(i.next=e),i=e,r.defineSkip(e.start),r.write(s),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<o&&(!r.events[e][1].end||r.events[e][1].end.offset>o))return;const n=t.events.length;let i,s,c=n;for(;c--;)if("exit"===t.events[c][0]&&"chunkFlow"===t.events[c][1].type){if(i){s=t.events[c][1].end;break}i=!0}for(g(a),e=n;e<t.events.length;)t.events[e][1].end={...s},e++;xe(t.events,c+1,0,t.events.slice(n)),t.events.length=e}}function g(r){let i=n.length;for(;i-- >r;){const r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),i=void 0,r=void 0,t.containerState._closeFlow=void 0}}},We={tokenize:function(e,t,n){return $e(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},Ge={partial:!0,tokenize:function(e,t,n){return function(t){return Be(t)?$e(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||Fe(e)?t(e):n(e)}}},Ke={resolve:function(e){return _e(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):Fe(t)?e.check(Qe,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},Qe={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),$e(e,i,"linePrefix")};function i(i){if(null===i||Fe(i))return n(i);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},Je={tokenize:function(e){const t=this,n=e.attempt(Ge,function(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n;e.consume(r)},e.attempt(this.parser.constructs.flowInitial,r,$e(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Ke,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}},Xe={resolveAll:tt()},Ye=et("string"),Ze=et("text");function et(e){return{resolveAll:tt("text"===e?nt:void 0),tokenize:function(t){const n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return c(e)?i(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return c(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function c(e){if(null===e)return!0;const t=r[e];let i=-1;if(t)for(;++i<t.length;){const e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function tt(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function nt(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],i=t.sliceStream(r);let o,a=i.length,s=-1,c=0;for(;a--;){const e=i[a];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)c++,s--;if(s)break;s=-1}else if(-2===e)o=!0,c++;else if(-1!==e){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(c=0),c){const i={type:n===e.length||o||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?s:r.start._bufferIndex+s,_index:r.start._index+a,line:r.end.line,column:r.end.column-c,offset:r.end.offset-c},end:{...r.end}};r.end={...i.start},r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,["enter",i,t],["exit",i,t]),n+=2)}n++}return e}const rt={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,o(e)}(t)};function o(o){return o===r?(e.enter("thematicBreakSequence"),a(o)):i>=3&&(null===o||Fe(o))?(e.exit("thematicBreak"),t(o)):n(o)}function a(t){return t===r?(e.consume(t),i++,a):(e.exit("thematicBreakSequence"),Be(t)?$e(e,o,"whitespace")(t):o(t))}}},it={continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Ge,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,$e(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!Be(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(at,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,$e(e,e.attempt(it,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){const i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:De(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(rt,n,c)(t):c(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return De(t)&&++a<10?(e.consume(t),s):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),c(t)):n(t)}function c(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(Ge,r.interrupt?n:l,e.attempt(ot,f,u))}function l(e){return r.containerState.initialBlankLine=!0,o++,f(e)}function u(t){return Be(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),f):n(t)}function f(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},ot={partial:!0,tokenize:function(e,t,n){const r=this;return $e(e,function(e){const i=r.events[r.events.length-1];return!Be(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},at={partial:!0,tokenize:function(e,t,n){const r=this;return $e(e,function(e){const i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},st={continuation:{tokenize:function(e,t,n){const r=this;return function(t){return Be(t)?$e(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(st,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return Be(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function ct(e,t,n,r,i,o,a,s,c){const l=c||Number.POSITIVE_INFINITY;let u=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),f):null===t||32===t||41===t||Re(t)?n(t):(e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),p(t))};function f(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(s),f(t)):null===t||60===t||Fe(t)?n(t):(e.consume(t),92===t?h:d)}function h(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function p(i){return u||null!==i&&41!==i&&!Le(i)?u<l&&40===i?(e.consume(i),u++,p):41===i?(e.consume(i),u--,p):null===i||32===i||40===i||Re(i)?n(i):(e.consume(i),92===i?m:p):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(i))}function m(t){return 40===t||41===t||92===t?(e.consume(t),p):p(t)}}function lt(e,t,n,r,i,o){const a=this;let s,c=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),l};function l(f){return c>999||null===f||91===f||93===f&&!s||94===f&&!c&&"_hiddenFootnoteSupport"in a.parser.constructs?n(f):93===f?(e.exit(o),e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):Fe(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),u(f))}function u(t){return null===t||91===t||93===t||Fe(t)||c++>999?(e.exit("chunkString"),l(t)):(e.consume(t),s||(s=!Be(t)),92===t?f:u)}function f(t){return 91===t||92===t||93===t?(e.consume(t),c++,u):u(t)}}function ut(e,t,n,r,i,o){let a;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,s):n(t)};function s(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),c(n))}function c(t){return t===a?(e.exit(o),s(a)):null===t?n(t):Fe(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),$e(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),l(t))}function l(t){return t===a||null===t||Fe(t)?(e.exit("chunkString"),c(t)):(e.consume(t),92===t?u:l)}function u(t){return t===a||92===t?(e.consume(t),l):l(t)}}function ft(e,t){let n;return function r(i){return Fe(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Be(i)?$e(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function dt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ht={name:"definition",tokenize:function(e,t,n){const r=this;let i;return function(t){return e.enter("definition"),function(t){return lt.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function o(t){return i=dt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return Le(t)?ft(e,s)(t):s(t)}function s(t){return ct(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function c(t){return e.attempt(pt,l,l)(t)}function l(t){return Be(t)?$e(e,u,"whitespace")(t):u(t)}function u(o){return null===o||Fe(o)?(e.exit("definition"),r.parser.defined.push(i),t(o)):n(o)}}},pt={partial:!0,tokenize:function(e,t,n){return function(t){return Le(t)?ft(e,r)(t):n(t)};function r(t){return ut(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return Be(t)?$e(e,o,"whitespace")(t):o(t)}function o(e){return null===e||Fe(e)?t(e):n(e)}}},mt={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),$e(e,i,"linePrefix",5)(t)};function i(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return null===t?s(t):Fe(t)?e.attempt(yt,o,s)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||Fe(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),a)}function s(n){return e.exit("codeIndented"),t(n)}}},yt={partial:!0,tokenize:function(e,t,n){const r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):Fe(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):$e(e,o,"linePrefix",5)(t)}function o(e){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):Fe(e)?i(e):n(e)}}},gt={name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,o=3;return"whitespace"===e[o][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},xe(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),i(t)}(t)};function i(t){return 35===t&&r++<6?(e.consume(t),i):null===t||Le(t)?(e.exit("atxHeadingSequence"),o(t)):n(t)}function o(n){return 35===n?(e.enter("atxHeadingSequence"),a(n)):null===n||Fe(n)?(e.exit("atxHeading"),t(n)):Be(n)?$e(e,o,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),o(t))}function s(t){return null===t||35===t||Le(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),s)}}},vt={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);const a={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=a,e.push(["exit",a,t]),e},tokenize:function(e,t,n){const r=this;let i;return function(t){let a,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){a="paragraph"===r.events[s][1].type;break}return r.parser.lazy[r.now().line]||!r.interrupt&&!a?n(t):(e.enter("setextHeadingLine"),i=t,function(t){return e.enter("setextHeadingLineSequence"),o(t)}(t))};function o(t){return t===i?(e.consume(t),o):(e.exit("setextHeadingLineSequence"),Be(t)?$e(e,a,"lineSuffix")(t):a(t))}function a(r){return null===r||Fe(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},bt=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],wt=["pre","script","style","textarea"],xt={concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){const r=this;let i,o,a,s,c;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),l}(t)};function l(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),o=!0,h):63===s?(e.consume(s),i=3,r.interrupt?t:D):Oe(s)?(e.consume(s),a=String.fromCharCode(s),p):n(s)}function u(o){return 45===o?(e.consume(o),i=2,f):91===o?(e.consume(o),i=5,s=0,d):Oe(o)?(e.consume(o),i=4,r.interrupt?t:D):n(o)}function f(i){return 45===i?(e.consume(i),r.interrupt?t:D):n(i)}function d(i){return i==="CDATA[".charCodeAt(s++)?(e.consume(i),6===s?r.interrupt?t:C:d):n(i)}function h(t){return Oe(t)?(e.consume(t),a=String.fromCharCode(t),p):n(t)}function p(s){if(null===s||47===s||62===s||Le(s)){const c=47===s,l=a.toLowerCase();return c||o||!wt.includes(l)?bt.includes(a.toLowerCase())?(i=6,c?(e.consume(s),m):r.interrupt?t(s):C(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):o?y(s):g(s)):(i=1,r.interrupt?t(s):C(s))}return 45===s||Me(s)?(e.consume(s),a+=String.fromCharCode(s),p):n(s)}function m(i){return 62===i?(e.consume(i),r.interrupt?t:C):n(i)}function y(t){return Be(t)?(e.consume(t),y):E(t)}function g(t){return 47===t?(e.consume(t),E):58===t||95===t||Oe(t)?(e.consume(t),v):Be(t)?(e.consume(t),g):E(t)}function v(t){return 45===t||46===t||58===t||95===t||Me(t)?(e.consume(t),v):b(t)}
vendor: 4,119 bytes, line 2
2function b(t){return 61===t?(e.consume(t),w):Be(t)?(e.consume(t),b):g(t)}function w(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),c=t,x):Be(t)?(e.consume(t),w):S(t)}function x(t){return t===c?(e.consume(t),c=null,k):null===t||Fe(t)?n(t):(e.consume(t),x)}function S(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||Le(t)?b(t):(e.consume(t),S)}function k(e){return 47===e||62===e||Be(e)?g(e):n(e)}function E(t){return 62===t?(e.consume(t),_):n(t)}function _(t){return null===t||Fe(t)?C(t):Be(t)?(e.consume(t),_):n(t)}function C(t){return 45===t&&2===i?(e.consume(t),O):60===t&&1===i?(e.consume(t),M):62===t&&4===i?(e.consume(t),N):63===t&&3===i?(e.consume(t),D):93===t&&5===i?(e.consume(t),R):!Fe(t)||6!==i&&7!==i?null===t||Fe(t)?(e.exit("htmlFlowData"),A(t)):(e.consume(t),C):(e.exit("htmlFlowData"),e.check(St,j,A)(t))}function A(t){return e.check(kt,T,j)(t)}function T(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),P}function P(t){return null===t||Fe(t)?A(t):(e.enter("htmlFlowData"),C(t))}function O(t){return 45===t?(e.consume(t),D):C(t)}function M(t){return 47===t?(e.consume(t),a="",I):C(t)}function I(t){if(62===t){const n=a.toLowerCase();return wt.includes(n)?(e.consume(t),N):C(t)}return Oe(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),I):C(t)}function R(t){return 93===t?(e.consume(t),D):C(t)}function D(t){return 62===t?(e.consume(t),N):45===t&&2===i?(e.consume(t),D):C(t)}function N(t){return null===t||Fe(t)?(e.exit("htmlFlowData"),j(t)):(e.consume(t),N)}function j(n){return e.exit("htmlFlow"),t(n)}}},St={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Ge,t,n)}}},kt={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return Fe(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},Et={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},_t={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){const r=this,i={partial:!0,tokenize:function(e,t,n){let i=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a};function a(t){return e.enter("codeFencedFence"),Be(t)?$e(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)}function c(t){return t===o?(e.enter("codeFencedFenceSequence"),l(t)):n(t)}function l(t){return t===o?(i++,e.consume(t),l):i>=s?(e.exit("codeFencedFenceSequence"),Be(t)?$e(e,u,"whitespace")(t):u(t)):n(t)}function u(r){return null===r||Fe(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}};let o,a=0,s=0;return function(t){return function(t){const n=r.events[r.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,o=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(t)}(t)};function c(t){return t===o?(s++,e.consume(t),c):s<3?n(t):(e.exit("codeFencedFenceSequence"),Be(t)?$e(e,l,"whitespace")(t):l(t))}function l(n){return null===n||Fe(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Et,h,v)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||Fe(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(t)):Be(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),$e(e,f,"whitespace")(t)):96===t&&t===o?n(t):(e.consume(t),u)}function f(t){return null===t||Fe(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||Fe(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(t)):96===t&&t===o?n(t):(e.consume(t),d)}function h(t){return e.attempt(i,v,p)(t)}function p(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return a>0&&Be(t)?$e(e,y,"linePrefix",a+1)(t):y(t)}function y(t){return null===t||Fe(t)?e.check(Et,h,v)(t):(e.enter("co
2deFlowValue"),g(t))}function g(t){return null===t||Fe(t)?(e.exit("codeFlowValue"),y(t)):(e.consume(t),g)}function v(n){return e.exit("codeFenced"),t(n)}}},Ct=document.createElement("i");function At(e){const t="&"+e+";";Ct.innerHTML=t;const n=Ct.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}const Tt={name:"characterReference",tokenize:function(e,t,n){const r=this;let i,o,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),i=31,o=Me,l(t))}function c(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=Ne,l):(e.enter("characterReferenceValue"),i=7,o=De,l(t))}function l(s){if(59===s&&a){const i=e.exit("characterReferenceValue");return o!==Me||At(r.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return o(s)&&a++<i?(e.consume(s),l):n(s)}}},Pt={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return je(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},Ot={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),$e(e,t,"linePrefix")}}};function Mt(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const It={name:"labelEnd",resolveAll:function(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){const e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&xe(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,o,a=e.length,s=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=a);const c={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},l={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},u={type:"labelText",start:{...e[r+s+2][1].end},end:{...e[i-2][1].start}};return o=[["enter",c,t],["enter",l,t]],o=Se(o,e.slice(r+1,r+s+3)),o=Se(o,[["enter",u,t]]),o=Se(o,Mt(t.parser.constructs.insideSpan.null,e.slice(r+s+4,i-3),t)),o=Se(o,[["exit",u,t],e[i-2],e[i-1],["exit",l,t]]),o=Se(o,e.slice(i+1)),o=Se(o,[["exit",c,t]]),xe(e,r,e.length,o),e},tokenize:function(e,t,n){const r=this;let i,o,a=r.events.length;for(;a--;)if(("labelImage"===r.events[a][1].type||"labelLink"===r.events[a][1].type)&&!r.events[a][1]._balanced){i=r.events[a][1];break}return function(t){return i?i._inactive?u(t):(o=r.parser.defined.includes(dt(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):n(t)};function s(t){return 40===t?e.attempt(Rt,l,o?l:u)(t):91===t?e.attempt(Dt,l,o?c:u)(t):o?l(t):u(t)}function c(t){return e.attempt(Nt,l,u)(t)}function l(e){return t(e)}function u(e){return i._balanced=!0,n(e)}}},Rt={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return Le(t)?ft(e,i)(t):i(t)}function i(t){return 41===t?l(t):ct(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return Le(t)?ft(e,s)(t):l(t)}function a(e){return n(e)}function s(t){return 34===t||39===t||40===t?ut(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):l(t)}function c(t){return Le(t)?ft(e,l)(t):l(t)}function l(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},Dt={tokenize:function(e,t,n){const r=this;return function(t){return lt.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};
vendor: 7,601 bytes, line 2
2function i(e){return r.parser.defined.includes(dt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},Nt={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},jt={name:"labelStartImage",resolveAll:It.resolveAll,tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};function Ft(e){return null===e||Le(e)||Ve(e)?1:ze(e)?2:void 0}const Lt={name:"attention",resolveAll:function(e,t){let n,r,i,o,a,s,c,l,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close)for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const f={...e[n][1].end},d={...e[u][1].start};Bt(f,-s),Bt(d,s),o={type:s>1?"strongSequence":"emphasisSequence",start:f,end:{...e[n][1].end}},a={type:s>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:d},i={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[u][1].start}},r={type:s>1?"strong":"emphasis",start:{...o.start},end:{...a.end}},e[n][1].end={...o.start},e[u][1].start={...a.end},c=[],e[n][1].end.offset-e[n][1].start.offset&&(c=Se(c,[["enter",e[n][1],t],["exit",e[n][1],t]])),c=Se(c,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),c=Se(c,Mt(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),c=Se(c,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(l=2,c=Se(c,[["enter",e[u][1],t],["exit",e[u][1],t]])):l=0,xe(e,n-1,u-n+3,c),u=n+c.length-l-2;break}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e},tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Ft(r);let o;return function(t){return o=t,e.enter("attentionSequence"),a(t)};function a(s){if(s===o)return e.consume(s),a;const c=e.exit("attentionSequence"),l=Ft(s),u=!l||2===l&&i||n.includes(s),f=!i||2===i&&l||n.includes(r);return c._open=Boolean(42===o?u:u&&(i||!f)),c._close=Boolean(42===o?f:f&&(l||!u)),t(s)}}};function Bt(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const zt={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return Oe(t)?(e.consume(t),o):64===t?n(t):c(t)}function o(e){return 43===e||45===e||46===e||Me(e)?(r=1,a(e)):c(e)}function a(t){return 58===t?(e.consume(t),r=0,s):(43===t||45===t||46===t||Me(t))&&r++<32?(e.consume(t),a):(r=0,c(t))}function s(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||Re(r)?n(r):(e.consume(r),s)}function c(t){return 64===t?(e.consume(t),l):Ie(t)?(e.consume(t),c):n(t)}function l(e){return Me(e)?u(e):n(e)}function u(n){return 46===n?(e.consume(n),r=0,l):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):f(n)}function f(t){if((45===t||Me(t))&&r++<63){const n=45===t?f:u;return e.consume(t),n}return n(t)}}},Vt={name:"htmlText",tokenize:function(e,t,n){const r=this;let i,o,a;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),c):47===t?(e.consume(t),w):63===t?(e.consume(t),v):Oe(t)?(e.consume(t),k):n(t)}function c(t){return 45===t?(e.consume(t),l):91===t?(e.consume(t),o=0,h):Oe(t)?(e.consume(t),g):n(t)}function l(t){return 45===t?(e.consume(t),d):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),f):Fe(t)?(a=u,I(t)):(e.consume(t),u)}function f(t){return 45===t?(e.consume(t),d):u(t)}function d(e){return 62===e?M(e):45===e?f(e):u(e)}function h(t){return t==="CDATA[".charCodeAt(o++)?(e.consume(t),6===o?p:h):n(t)}function p(t){return null===t?n(t):93===t?(e.consume(t),m):Fe(t)?(a=p,I(t)):(e.consume(t),p)}function m(t){return 93===t?(e.consume(t),y):p(t)}function y(t){return 62===t?M(t):93===t?(e.consume(t),y):p(t)}function g(t){return null===t||62===t?M(t):Fe(t)?(a=g,I(t)):(e.consume(t),g)}function v(t){return null===t?n(t):63===t?(e.consume(t),b):Fe(t)?(a=v,I(t)):(e.consume(t),v)}function b(e){return 62===e?M(e):v(e)}function w(t){return Oe(t)?(e.consume(t),x):n(t)}function x(t){return 45===t||Me(t)?(e.consume(t),x):S(t)}function S(t){return Fe(t)?(a=S,I(t)):Be(t)?(e.consume(t),S):M(t)}function k(t){return 45===t||Me(t)?(e.consume(t),k):47===t||62===t||Le(t)?E(t):n(t)}function E(t){return 47===t?(e.consume(t),M):58===t||95===t||Oe(t)?(e.consume(t),_):Fe(t)?(a=E,I(t)):Be(t)?(e.consume(t),E):M(t)}function _(t){return 45===t||46===t||58===t||95===t||Me(t)?(e.consume(t),_):C(t)}function C(t){return 61===t?(e.consume(t),A):Fe(t)?(a=C,I(t)):Be(t)?(e.consume(t),C):E(t)}function A(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),i=t,T):Fe(t)?(a=A,I(t)):Be(t)?(e.consume(t),A):(e.consume(t),P)}function T(t){return t===i?(e.consume(t),i=void 0,O):null===t?n(t):Fe(t)?(a=T,I(t)):(e.consume(t),T)}function P(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||Le(t)?E(t):(e.consume(t),P)}function O(e){return 47===e||62===e||Le(e)?E(e):n(e)}function M(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function I(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),R}function R(t){return Be(t)?$e(e,D,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):D(t)}function D(t){return e.enter("htmlTextData"),a(t)}}},Ut={name:"labelStartLink",resolveAll:It.resolveAll,tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},$t={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return Fe(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},Ht={name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(!("lineEnding"!==e[i][1].type&&"space"!==e[i][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,o=0;
vendor: 3,733 bytes, line 2
2return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)};function a(t){return 96===t?(e.consume(t),o++,a):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):96===t?(i=e.enter("codeTextSequence"),r=0,l(t)):Fe(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),c(t))}function c(t){return null===t||32===t||96===t||Fe(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),c)}function l(n){return 96===n?(e.consume(n),r++,l):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(i.type="codeTextData",c(n))}}},qt={42:it,43:it,45:it,48:it,49:it,50:it,51:it,52:it,53:it,54:it,55:it,56:it,57:it,62:st},Wt={91:ht},Gt={[-2]:mt,[-1]:mt,32:mt},Kt={35:gt,42:rt,45:[vt,rt],60:xt,61:vt,95:rt,96:_t,126:_t},Qt={38:Tt,92:Pt},Jt={[-5]:Ot,[-4]:Ot,[-3]:Ot,33:jt,38:Tt,42:Lt,60:[zt,Vt],91:Ut,92:[$t,Pt],93:It,95:Lt,96:Ht},Xt={null:[Lt,Xe]},Yt={null:[42,95]},Zt={null:[]};function en(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},o=[];let a=[],s=[],c=!0;const l={attempt:g(function(e,t){v(e,t.from)}),check:g(y),consume:function(e){Fe(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e,c=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=p(),u.events.push(["enter",n,u]),s.push(n),n},exit:function(e){const t=s.pop();return t.end=p(),u.events.push(["exit",t,u]),t},interrupt:g(y,{interrupt:!0})},u={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,b()},events:[],now:p,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let a;if("string"==typeof o)a=o;else switch(o){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&i)continue;a=" ";break;default:a=String.fromCharCode(o)}i=-2===o,r.push(a)}return r.join("")}(h(e),t)},sliceStream:h,write:function(e){return a=Se(a,e),function(){let e;for(;r._index<a.length;){const t=a[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)m(t.charCodeAt(r._bufferIndex));else m(t)}}(),null!==a[a.length-1]?[]:(v(t,0),u.events=Mt(o,u.events,u),u.events)}};let f,d=t.tokenize.call(u,l);return t.resolveAll&&o.push(t),u;function h(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let a;if(n===i)a=[e[n].slice(r,o)];else{if(a=e.slice(n,i),r>-1){const e=a[0];"string"==typeof e?a[0]=e.slice(r):a.shift()}o>0&&a.push(e[i].slice(0,o))}return a}(a,e)}function p(){const{_bufferIndex:e,_index:t,line:n,column:i,offset:o}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:o}}function m(e){c=void 0,f=e,d=d(e)}function y(e,t){t.restore()}function g(e,t){return function(n,i,o){let a,f,d,h;return Array.isArray(n)?y(n):"tokenize"in n?y([n]):(m=n,function(e){const t=null!==e&&m[e],n=null!==e&&m.null;return y([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});var m;function y(e){return a=e,f=0,0===e.length?o:g(e[f])}function g(e){return function(n){return h=function(){const e=p(),t=u.previous,n=u.currentConstruct,i=u.events.length,o=Array.from(s);return{from:i,restore:function(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=i,s=o,b()}}}(),d=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name)?w():e.tokenize.call(t?Object.assign(Object.create(u),t):u,l,v,w)(n)}}function v(t){return c=!0,e(d,h),i}
vendor: 18,884 bytes, line 2
2function w(e){return c=!0,h.restore(),++f<a.length?g(a[f]):o}}}function v(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&xe(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function b(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}const tn=/[\0\t\n\r]/g;function nn(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)}const rn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function on(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return nn(n.slice(t?2:1),t?16:10)}return At(n)||e}const an={}.hasOwnProperty;function sn(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(v),autolinkProtocol:u,autolinkEmail:u,atxHeading:i(m),blockQuote:i(function(){return{type:"blockquote",children:[]}}),characterEscape:u,characterReference:u,codeFenced:i(p),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:i(p,o),codeText:i(function(){return{type:"inlineCode",value:""}},o),codeTextData:u,data:u,codeFlowValue:u,definition:i(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:i(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:i(y),hardBreakTrailing:i(y),htmlFlow:i(g,o),htmlFlowData:u,htmlText:i(g,o),htmlTextData:u,image:i(function(){return{type:"image",title:null,url:"",alt:null}}),label:o,link:i(v),listItem:i(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:i(b,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:i(b),paragraph:i(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:i(m),strong:i(function(){return{type:"strong",children:[]}}),thematicBreak:i(function(){return{type:"thematicBreak"}})},exit:{atxHeading:s(),atxHeadingSequence:function(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}},autolink:s(),autolinkEmail:function(e){f.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){f.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:s(),characterEscapeValue:f,characterReferenceMarkerHexadecimal:h,characterReferenceMarkerNumeric:h,characterReferenceValue:function(e){const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r;n?(r=nn(t,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0):r=At(t);this.stack[this.stack.length-1].value+=r},characterReference:function(e){this.stack.pop().position.end=cn(e.end)},codeFenced:s(function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:f,codeIndented:s(function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:s(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:f,data:f,definition:s(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=dt(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:s(),hardBreakEscape:s(d),hardBreakTrailing:s(d),htmlFlow:s(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:f,htmlText:s(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:f,image:s(function(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t}else n.alt=t},labelText:function(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(rn,on)}(t),n.identifier=dt(t).toLowerCase()},lineEnding:function(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak)return n.children[n.children.length-1].position.end=cn(e.end),void(this.data.atHardBreak=void 0);!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(u.call(this,e),f.call(this,e))},link:s(function(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=dt(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:s(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:s(),thematicBreak:s()}};ln(t,(e||{}).mdastExtensions||[]);const n={};return function(e){let i={type:"root",children:[]};const s={stack:[i],tokenStack:[],config:t,enter:a,exit:c,buffer:o,resume:l,data:n},u=[];let f=-1;for(;++f<e.length;)"listOrdered"!==e[f][1].type&&"listUnordered"!==e[f][1].type||("enter"===e[f][0]?u.push(f):f=r(e,u.pop(),f));for(f=-1;++f<e.length;){const n=t[e[f][0]];an.call(n,e[f][1].type)&&n[e[f][1].type].call(Object.assign({sliceSerialize:e[f][2].sliceSerialize},s),e[f][1])}if(s.tokenStack.length>0){const e=s.tokenStack[s.tokenStack.length-1];(e[1]||fn).call(s,void 0,e[0])}for(i.position={start:cn(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:cn(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},f=-1;++f<t.transforms.length;)i=t.transforms[f](i)||i;return i};function r(e,t,n){let r,i,o,a,s=t-1,c=-1,l=!1;for(;++s<=n;){const t=e[s];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?c++:c--,a=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||a||c||o||(o=s),a=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:a=void 0}if(!c&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===c&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=s;for(i=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",l=!0),t[1].type="lineEnding",i=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||s,0,["exit",r,t[2]]),s++,n++}if("listItemPrefix"===t[1].type){const i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(s,0,["enter",i,t[2]]),s++,n++,o=void 0,a=!0}}}return e[t][1]._spread=l,n}function i(e,t){return function(n){a.call(this,e(n),n),t&&t.call(this,n)}}function o(){this.stack.push({type:"fragment",children:[]})}function a(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:cn(t.start),end:void 0}}function s(e){return function(t){e&&e.call(this,t),c.call(this,t)}}function c(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+J({start:e.start,end:e.end})+"): it’s not open");r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||fn).call(this,e,r[0])),n.position.end=cn(e.end)}function l(){return function(e){return be(e,"boolean"!=typeof ve.includeImageAlt||ve.includeImageAlt,"boolean"!=typeof ve.includeHtml||ve.includeHtml)}(this.stack.pop())}function u(e){const t=this.stack[this.stack.length-1].children;let n=t[t.length-1];n&&"text"===n.type||(n={type:"text",value:""},n.position={start:cn(e.start),end:void 0},t.push(n)),this.stack.push(n)}function f(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=cn(e.end)}function d(){this.data.atHardBreak=!0}function h(e){this.data.characterReferenceType=e.type}function p(){return{type:"code",lang:null,meta:null,value:""}}function m(){return{type:"heading",depth:0,children:[]}}function y(){return{type:"break"}}function g(){return{type:"html",value:""}}function v(){return{type:"link",title:null,url:"",children:[]}}function b(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}}(n)(function(e){for(;!_e(e););return e}(function(e){const t=function(e){const t={};let n=-1;for(;++n<e.length;)Te(t,e[n]);return t}([i,...(e||{}).extensions||[]]),n={constructs:t,content:r(He),defined:[],document:r(qe),flow:r(Je),lazy:{},string:r(Ye),text:r(Ze)};return n;function r(e){return function(t){return en(n,e,t)}}}(n).document().write(function(){let e,t=1,n="",r=!0;return function(i,o,a){const s=[];let c,l,u,f,d;for(i=n+("string"==typeof i?i.toString():new TextDecoder(o||void 0).decode(i)),u=0,n="",r&&(65279===i.charCodeAt(0)&&u++,r=void 0);u<i.length;){if(tn.lastIndex=u,c=tn.exec(i),f=c&&void 0!==c.index?c.index:i.length,d=i.charCodeAt(f),!c){n=i.slice(u);break}if(10===d&&u===f&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),u<f&&(s.push(i.slice(u,f)),t+=f-u),d){case 0:s.push(65533),t++;break;case 9:for(l=4*Math.ceil(t/4),s.push(-2);t++<l;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}u=f+1}return a&&(e&&s.push(-5),n&&s.push(n),s.push(null)),s}}()(e,t,!0))))}function cn(e){return{line:e.line,column:e.column,offset:e.offset}}function ln(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?ln(e,r):un(e,r)}}function un(e,t){let n;for(n in t)if(an.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function fn(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+J({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+J({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+J({start:t.start,end:t.end})+") is still open")}function dn(e){const t=this;t.parser=function(n){return sn(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const hn="object"==typeof self?self:globalThis,pn=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);const[o,a]=t[i];switch(o){case 0:case-1:return n(a,i);case 1:{const e=n([],i);for(const t of a)e.push(r(t));return e}case 2:{const e=n({},i);for(const[t,n]of a)e[r(t)]=r(n);return e}case 3:return n(new Date(a),i);case 4:{const{source:e,flags:t}=a;return n(new RegExp(e,t),i)}case 5:{const e=n(new Map,i);for(const[t,n]of a)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,i);for(const t of a)e.add(r(t));return e}case 7:{const{name:e,message:t}=a;return n(new hn[e](t),i)}case 8:return n(BigInt(a),i);case"BigInt":return n(Object(BigInt(a)),i);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:e}=new Uint8Array(a);return n(new DataView(e),a)}}return n(new hn[o](a),i)};return r})(new Map,e)(0),mn="",{toString:yn}={},{keys:gn}=Object,vn=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=yn.call(e).slice(8,-1);switch(n){case"Array":return[1,mn];case"Object":return[2,mn];case"Date":return[3,mn];case"RegExp":return[4,mn];case"Map":return[5,mn];case"Set":return[6,mn];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},bn=([e,t])=>0===e&&("function"===t||"symbol"===t),wn=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const i=(e,t)=>{const i=r.push(e)-1;return n.set(t,i),i},o=r=>{if(n.has(r))return n.get(r);let[a,s]=vn(r);switch(a){case 0:{let t=r;switch(s){case"bigint":a=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);t=null;break;case"undefined":return i([-1],r)}return i([a,t],r)}case 1:{if(s){let e=r;return"DataView"===s?e=new Uint8Array(r.buffer):"ArrayBuffer"===s&&(e=new Uint8Array(r)),i([s,[...e]],r)}const e=[],t=i([a,e],r);for(const t of r)e.push(o(t));return t}case 2:{if(s)switch(s){case"BigInt":return i([s,r.toString()],r);case"Boolean":case"Number":case"String":return i([s,r.valueOf()],r)}if(t&&"toJSON"in r)return o(r.toJSON());const n=[],c=i([a,n],r);for(const t of gn(r))!e&&bn(vn(r[t]))||n.push([o(t),o(r[t])]);return c}case 3:return i([a,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return i([a,{source:e,flags:t}],r)}case 5:{const t=[],n=i([a,t],r);for(const[n,i]of r)(e||!bn(vn(n))&&!bn(vn(i)))&&t.push([o(n),o(i)]);return n}case 6:{const t=[],n=i([a,t],r);for(const n of r)!e&&bn(vn(n))||t.push(o(n));return n}}const{message:c}=r;return i([a,{name:s,message:c}],r)};return o})(!(t||n),!!t,new Map,r)(e),r},xn="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?pn(wn(e,t)):structuredClone(e):(e,t)=>pn(wn(e,t));function Sn(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let a="";if(37===o&&Me(e.charCodeAt(n+1))&&Me(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){const t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(a=String.fromCharCode(o,t),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function kn(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function En(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const _n=function(e){if(null==e)return An;if("function"==typeof e)return Cn(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=_n(e[n]);return Cn(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):function(e){const t=e;return Cn(function(n){const r=n;let i;for(i in e)if(r[i]!==t[i])return!1;return!0})}(e);if("string"==typeof e)return t=e,Cn(function(e){return e&&e.type===t});var t;throw new Error("Expected function, string, or object as test")};function Cn(e){return function(t,n,r){return Boolean(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function An(){return!0}const Tn=[],Pn=!1;function On(e,t,n,r){let i,o,a;"function"==typeof t&&"function"!=typeof n?(o=void 0,a=t,i=n):(o=t,a=n,i=r),function(e,t,n,r){let i;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):i=t;const o=_n(i),a=r?-1:1;!function e(i,s,c){const l=i&&"object"==typeof i?i:{};if("string"==typeof l.type){const e="string"==typeof l.tagName?l.tagName:"string"==typeof l.name?l.name:void 0;Object.defineProperty(u,"name",{value:"node ("+i.type+(e?"<"+e+">":"")+")"})}return u;function u(){let l,u,f,d=Tn;if((!t||o(i,s,c[c.length-1]||void 0))&&(d=function(e){return Array.isArray(e)?e:"number"==typeof e?[!0,e]:null==e?Tn:[e]}(n(i,c)),d[0]===Pn))return d;if("children"in i&&i.children){const t=i;if(t.children&&"skip"!==d[0])for(u=(r?t.children.length:-1)+a,f=c.concat(t);u>-1&&u<t.children.length;){const n=t.children[u];if(l=e(n,u,f)(),l[0]===Pn)return l;u="number"==typeof l[1]?l[1]:u+a}}return d}}(e,void 0,[])()}(e,o,function(e,t){const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return a(e,r,n)},i)}function Mn(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&"text"===a.type?a.value+=r:i.push({type:"text",value:r}),i}function In(e){return e.spread??e.children.length>1}function Rn(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(Dn(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(Dn(t.slice(i),i>0,!1)),o.join("")}function Dn(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}const Nn={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}
vendor: 4,399 bytes, line 2
2,footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Sn(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let a,s=e.footnoteCounts.get(r);void 0===s?(s=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=o+1,s+=1,e.footnoteCounts.set(r,s);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,c);const l={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Mn(e,t);const i={src:Sn(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){const n={src:Sn(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Mn(e,t);const i={href:Sn(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){const n={href:Sn(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=In(n[r])}return t}(n):In(t),o={},a=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const e=r[s];(i||0!==s||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?a.push(e):a.push(...e.children)}const c=r[r.length-1];c&&(i||"element"!==c.type||"p"!==c.tagName)&&a.push({type:"text",value:"\n"});const l={type:"element",tagName:"li",properties:o,children:a};return e.patch(t,l),e.applyData(t,l)},list:function(e,t){const n={},r=e.all(t);let i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){const e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=K(t.children[1]),a=G(t.children[t.children.length-1]);o&&a&&(r.position={start:o,end:a}),i.push(r)}const o={type:"element",tagName:"table",properties:{}
vendor: 4,640 bytes, line 2
2,children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,a=o?o.length:t.children.length;let s=-1;const c=[];for(;++s<a;){const n=t.children[s],r={},a=o?o[s]:void 0;a&&(r.align=a);let l={type:"element",tagName:i,properties:r,children:[]};n&&(l.children=e.all(n),e.patch(n,l),l=e.applyData(n,l)),c.push(l)}const l={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,l),e.applyData(t,l)},text:function(e,t){const n={type:"text",value:Rn(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:jn,yaml:jn,definition:jn,footnoteDefinition:jn};function jn(){}const Fn={}.hasOwnProperty,Ln={};function Bn(e,t){e.position&&(t.position=function(e){const t=K(e),n=G(e);if(t&&n)return{start:t,end:n}}(e))}function zn(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,xn(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function Vn(e,t){const n=t.data||{},r=!("value"in t)||Fn.call(n,"hProperties")||Fn.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function Un(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function $n(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function Hn(e,t){const n=function(e,t){const n=t||Ln,r=new Map,i=new Map,o=new Map,a={...Nn,...n.handlers},s={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r<n.length;){const i=s.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=$n(i.value)),!Array.isArray(i)&&"element"===i.type)){const e=i.children[0];e&&"text"===e.type&&(e.value=$n(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:zn,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:a,one:function(e,t){const n=e.type,r=s.handlers[n];if(Fn.call(s.handlers,n)&&r)return r(s,e,t);if(s.options.passThrough&&s.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e,r=xn(n);return r.children=s.all(e),r}return xn(e)}return(s.options.unknownHandler||Vn)(s,e,t)},options:n,patch:Bn,wrap:Un};return On(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const t="definition"===e.type?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),s}(e,t),r=n.one(e,void 0),i=function(e){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||kn,r=e.options.footnoteBackLabel||En,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let c=-1;for(;++c<e.footnoteOrder.length;){const i=e.footnoteById.get(e.footnoteOrder[c]);if(!i)continue;const o=e.all(i),a=String(i.identifier).toUpperCase(),l=Sn(a.toLowerCase());let u=0;const f=[],d=e.footnoteCounts.get(a);for(;void 0!==d&&++u<=d;){f.length>0&&f.push({type:"text",value:" "});let e="string"==typeof n?n:n(c,u);"string"==typeof e&&(e={type:"text",value:e}),f.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+l+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(c,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const h=o[o.length-1];if(h&&"element"===h.type&&"p"===h.tagName){const e=h.children[h.children.length-1];e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "}),h.children.push(...f)}else o.push(...f);const p={type:"element",tagName:"li",properties:{id:t+"fn-"+l},children:e.wrap(o,!0)};e.patch(i,p),s.push(p)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...xn(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)}
vendor: 4,439 bytes, line 2
2,{type:"text",value:"\n"}]}}(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:"\n"},i),o}function qn(e,t){return e&&"run"in e?async function(n,r){const i=Hn(n,{file:r,...t});await e.run(i,r)}:function(n,r){return Hn(n,{file:r,...e||t})}}function Wn(e){if(e)throw e}var Gn=n.cjs(function(e,t){var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},s=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var t,i=n.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(t in e);return void 0===t||n.call(e,t)},c=function(e,t){i&&"__proto__"===t.name?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(o)return o(e,t).value}return e[t]};e.exports=function e(){var t,n,r,i,o,u,f=arguments[0],d=1,h=arguments.length,p=!1;for("boolean"==typeof f&&(p=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d<h;++d)if(null!=(t=arguments[d]))for(n in t)r=l(f,n),f!==(i=l(t,n))&&(p&&i&&(s(i)||(o=a(i)))?(o?(o=!1,u=r&&a(r)?r:[]):u=r&&s(r)?r:{},c(f,{name:n,newValue:e(p,u,i)})):void 0!==i&&c(f,{name:n,newValue:i}));return f}});function Kn(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}const Qn=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');er(e);let n,r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let a=-1,s=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),s>-1&&(e.codePointAt(o)===t.codePointAt(s--)?s<0&&(i=o):(s=-1,i=a));return r===i?i=a:i<0&&(i=e.length),e.slice(r,i)},Jn=function(e){if(er(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},Xn=function(e){er(e);let t,n=e.length,r=-1,i=0,o=-1,a=0;for(;n--;){const s=e.codePointAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1);else if(t){i=n+1;break}}return o<0||r<0||0===a||1===a&&o===r-1&&o===i+1?"":e.slice(o,r)},Yn=function(...e){let t,n=-1;for(;++n<e.length;)er(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){er(e);const t=47===e.codePointAt(0);let n=function(e,t){let n,r,i="",o=0,a=-1,s=0,c=-1;for(;++c<=e.length;){if(c<e.length)n=e.codePointAt(c);else{if(47===n)break;n=47}if(47===n){if(a===c-1||1===s);else if(a!==c-1&&2===s){if(i.length<2||2!==o||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2))if(i.length>2){if(r=i.lastIndexOf("/"),r!==i.length-1){r<0?(i="",o=0):(i=i.slice(0,r),o=i.length-1-i.lastIndexOf("/")),a=c,s=0;continue}}else if(i.length>0){i="",o=0,a=c,s=0;continue}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,c):i=e.slice(a+1,c),o=c-a-1;a=c,s=0}else 46===n&&s>-1?s++:s=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},Zn="/";function er(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const tr=function(){return"/"};function nr(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}const rr=["history","path","basename","stem","extname","dirname"];class ir{constructor(e){let t;t=e?nr(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":tr(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,r=-1;for(;++r<rr.length;){const e=rr[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)rr.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?Qn(this.path):void 0}
vendor: 10,024 bytes, line 2
2set basename(e){ar(e,"basename"),or(e,"basename"),this.path=Yn(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?Jn(this.path):void 0}set dirname(e){sr(this.basename,"dirname"),this.path=Yn(e||"",this.basename)}get extname(){return"string"==typeof this.path?Xn(this.path):void 0}set extname(e){if(or(e,"extname"),sr(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Yn(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){nr(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!nr(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){const e=t.codePointAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),ar(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?Qn(this.path,this.extname):void 0}set stem(e){ar(e,"stem"),or(e,"stem"),this.path=Yn(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){const r=new ee(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function or(e,t){if(e&&e.includes(Zn))throw new Error("`"+t+"` cannot be a path: did not expect `"+Zn+"`")}function ar(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function sr(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const cr=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},lr={}.hasOwnProperty;class ur extends cr{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function i(o,...a){const s=e[++n];let c=-1;if(o)r(o);else{for(;++c<t.length;)null!==a[c]&&void 0!==a[c]||(a[c]=t[c]);t=a,s?function(e,t){let n;return function(...t){const o=e.length>t.length;let a;o&&t.push(r);try{a=e.apply(this,t)}catch(e){if(o&&n)throw e;return r(e)}o||(a&&a.then&&"function"==typeof a.then?a.then(i,r):a instanceof Error?r(a):i(a))};function r(e,...r){n||(n=!0,t(e,...r))}function i(e){r(null,e)}}(s,i)(...a):r(null,...a)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){const e=new ur;let t=-1;for(;++t<this.attachers.length;){const n=this.attachers[t];e.use(...n)}return e.data(Gn(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2===arguments.length?(pr("data",this.frozen),this.namespace[e]=t,this):lr.call(this.namespace,e)&&this.namespace[e]||void 0:e?(pr("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const t=gr(e),n=this.parser||this.Parser;return dr("parse",n),n(String(t),t)}process(e,t){const n=this;return this.freeze(),dr("process",this.parser||this.Parser),hr("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){const o=gr(e),a=n.parse(o);function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}n.run(a,o,function(e,t,r){if(e||!t||!r)return s(e);const i=t,o=n.stringify(i,r);var a;"string"==typeof(a=o)||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(a)?r.value=o:r.result=o,s(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),dr("processSync",this.parser||this.Parser),hr("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,Wn(e),t=r}),yr("processSync","process",n),t}run(e,t,n){mr(e),this.freeze();const r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,o){const a=gr(t);r.run(e,a,function(t,r,a){const s=r||e;t?o(t):i?i(s):n(void 0,s,a)})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){Wn(e),n=t,r=!0}),yr("runSync","run",r),n}stringify(e,t){this.freeze();const n=gr(t),r=this.compiler||this.Compiler;return hr("stringify",r),mr(e),r(e,n)}use(e,...t){const n=this.attachers,r=this.namespace;if(pr("use",this.frozen),null==e);else if("function"==typeof e)s(e,t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?a(e):o(e)}return this;function i(e){if("function"==typeof e)s(e,[]);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;s(t,n)}else o(e)}}function o(e){if(!("plugins"in e)&&!("settings"in e))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(e.plugins),e.settings&&(r.settings=Gn(!0,r.settings,e.settings))}function a(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;)i(e[t])}}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[r,...o]=t;const a=n[i][1];Kn(a)&&Kn(r)&&(r=Gn(!0,a,r)),n[i]=[e,r,...o]}}}}const fr=(new ur).freeze();function dr(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function hr(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function pr(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function mr(e){if(!Kn(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function yr(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function gr(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new ir(e)}const vr=[],br={allowDangerousHtml:!0},wr=/^(https?|ircs?|mailto|xmpp)$/i,xr=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Sr(e){const t=function(e){const t=e.rehypePlugins||vr,n=e.remarkPlugins||vr,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...br}:br;return fr().use(dn).use(n).use(qn,r).use(t)}(e),n=function(e){const t=e.children||"",n=new ir;return"string"==typeof t&&(n.value=t),n}(e);return function(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,o=t.disallowedElements,s=t.skipHtml,c=t.unwrapDisallowed,l=t.urlTransform||kr;for(const e of xr)Object.hasOwn(t,e.from)&&a((e.from,e.to&&e.to,e.id));return On(e,function(e,t,i){if("raw"===e.type&&i&&"number"==typeof t)return s?i.children.splice(t,1):i.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in ye)if(Object.hasOwn(ye,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=ye[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=l(String(n||""),t,e))}}if("element"===e.type){let a=n?!n.includes(e.tagName):!!o&&o.includes(e.tagName);if(!a&&r&&"number"==typeof t&&(a=!r(e,t,i)),a&&i&&"number"==typeof t)return c&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}),function(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!=typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return function(n,r,i,o){const a=Array.isArray(i.children),s=K(n);return t(r,i,o,a,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!=typeof t.jsx)throw new TypeError("Expected `jsx` in production options");
2if("function"!=typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");i=t.jsx,o=t.jsxs,r=function(e,t,n,r){const a=Array.isArray(n.children)?o:i;return r?a(t,n,r):a(t,n)}}var i,o;const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?B:L,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},s=se(a,e,void 0);return s&&"string"!=typeof s?s:a.create(e,a.Fragment,{children:s||void 0},void 0)}(e,{Fragment:ge.Fragment,components:i,ignoreInvalidStyle:!0,jsx:ge.jsx,jsxs:ge.jsxs,passKeys:!0,passNode:!0})}(t.runSync(t.parse(n),n),e)}function kr(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return-1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||wr.test(e.slice(0,t))?e:""}},76213(e,t,n){"use strict";let r;n.d(t,{B6:()=>E,BV:()=>Ae,C5:()=>ke,Kd:()=>Xe,N_:()=>Ye,RQ:()=>oe,Zp:()=>ce,g:()=>ue,k2:()=>Ze,qh:()=>_e,sv:()=>Ee,zy:()=>ie});var i=n(96540),o=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,a=/^[\\/]{2}/;var s="popstate";function c(e){return"object"==typeof e&&null!=e&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function l(e={}){return function(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:o=!1}=r,l=i.history,f="POP",m=null,y=g();function g(){return(l.state||{idx:null}).idx}function v(){f="POP";let e=g(),t=null==e?null:e-y;y=e,m&&m({action:f,location:w.location,delta:t})}function b(e){return function(e,t,n=!1){let r="http://localhost";e&&(r="null"!==e.location.origin?e.location.origin:e.location.href),u(r,"No window.location.(origin|href) available to create URL");let i="string"==typeof t?t:p(t);return i=i.replace(/ $/,"%20"),!n&&a.test(i)&&(i=r+i),new URL(i,r)}(i,e)}null==y&&(y=0,l.replaceState({...l.state,idx:y},""));let w={get action(){return f},get location(){return e(i,l)},listen(e){if(m)throw new Error("A history only accepts one active listener");return i.addEventListener(s,v),m=e,()=>{i.removeEventListener(s,v),m=null}},createHref:e=>
2t(i,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){f="PUSH";let r=c(e)?e:h(w.location,e,t);n&&n(r,e),y=g()+1;let a=d(r,y),s=w.createHref(r.mask||r);try{l.pushState(a,"",s)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;i.location.assign(s)}o&&m&&m({action:f,location:w.location,delta:1})},replace:function(e,t){f="REPLACE";let r=c(e)?e:h(w.location,e,t);n&&n(r,e),y=g();let i=d(r,y),a=w.createHref(r.mask||r);l.replaceState(i,"",a),o&&m&&m({action:f,location:w.location,delta:0})},go:e=>l.go(e)};return w}(function(e,t){let n=t.state?.masked,{pathname:r,search:i,hash:o}=n||e.location;return h("",{pathname:r,search:i,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default",n?{pathname:e.location.pathname,search:e.location.search,hash:e.location.hash}:void 0)},function(e,t){return"string"==typeof t?t:p(t)},null,e)}function u(e,t){if(!1===e||null==e)throw new Error(t)}function f(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function d(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function h(e,t,n=null,r,i){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?m(t):t,state:n,key:t&&t.key||r||Math.random().toString(36).substring(2,10),mask:i}}function p({pathname:e="/",search:t="",hash:n=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),n&&"#"!==n&&(e+="#"===n.charAt(0)?n:"#"+n),e}function m(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function y(e,t,n="/"){return g(e,t,n,!1)}function g(e,t,n,r,i){let o=T(("string"==typeof t?m(t):t).pathname||"/",n);if(null==o)return null;let a=i??function(e){let t=v(e);return function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(t),t}(e),s=null,c=A(o);for(let e=0;null==s&&e<a.length;++e)s=k(a[e],c,r);return s}function v(e,t=[],n=[],r="",i=!1){let o=(e,o,a=i,s)=>{let c={relativePath:void 0===s?e.path||"":s,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};if(c.relativePath.startsWith("/")){if(!c.relativePath.startsWith(r)&&a)return;u(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let l=D([r,c.relativePath]),f=n.concat(c);e.children&&e.children.length>0&&(u(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),v(e.children,t,f,l,a)),(null!=e.path||e.index)&&t.push({path:l,score:S(l,e.index),routesMeta:f.map((e,t)=>{let[n,r]=C(e.relativePath,e.caseSensitive,t===f.length-1);return{...e,matcher:n,compiledParams:r}})})};return e.forEach((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let n of b(e.path))o(e,t,!0,n);else o(e,t)}),t}function b(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===r.length)return i?[o,""]:[o];let a=b(r.join("/")),s=[];return s.push(...a.map(e=>""===e?o:[o,e].join("/"))),i&&s.push(...a),s.map(t=>e.startsWith("/")&&""===t?"/":t)}new WeakMap;var w=/^:[\w-]+$/,x=e=>"*"===e;function S(e,t){let n=e.split("/"),r=n.length;return n.some(x)&&(r+=-2),t&&(r+=2),n.filter(e=>!x(e)).reduce((e,t)=>e+(w.test(t)?3:""===t?1:10),r)}function k(e,t,n=!1){let{routesMeta:r}=e,i={},o="/",a=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l="/"===o?t:t.slice(o.length)||"/",u={path:s.relativePath,caseSensitive:s.caseSensitive,end:c},f=s.matcher&&s.compiledParams?_(u,l,s.matcher,s.compiledParams):E(u,l),d=s.route;if(!f&&c&&n&&!r[r.length-1].route.index&&(f=E({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!f)return null;
2Object.assign(i,f.params),a.push({params:i,pathname:D([o,f.pathname]),pathnameBase:j(D([o,f.pathnameBase])),route:d}),"/"!==f.pathnameBase&&(o=D([o,f.pathnameBase]))}return a}function E(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=C(e.path,e.caseSensitive,e.end);return _(e,t,n,r)}function _(e,t,n,r){let i=t.match(n);if(!i)return null;let o=i[0],a=o.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if("*"===t){let e=s[r]||"";a=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const i=s[r];return e[t]=n&&!i?void 0:(i||"").replace(/%2F/g,"/"),e},{}),pathname:o,pathnameBase:a,pattern:e}}function C(e,t=!1,n=!0){f("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n,i,o)=>{if(r.push({paramName:t,isOptional:null!=n}),n){let t=o.charAt(i+e.length);return t&&"/"!==t?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function A(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return f(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function T(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function P(e,t){let n=N(t).split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}function O(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function M(e){let t=function(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function I(e,t,n,r=!1){let i;"string"==typeof e?i=m(e):(i={...e},u(!i.pathname||!i.pathname.includes("?"),O("?","pathname","search",i)),u(!i.pathname||!i.pathname.includes("#"),O("#","pathname","hash",i)),u(!i.search||!i.search.includes("#"),O("#","search","hash",i)));let o,a=""===e||""===i.pathname,s=a?"/":i.pathname;if(null==s)o=n;else{let e=t.length-1;if(!r&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}o=e>=0?t[e]:"/"}let c=function(e,t="/"){let n,{pathname:r,search:i="",hash:o=""}="string"==typeof e?m(e):e;return r?(r=R(r),n=r.startsWith("/")?P(r.substring(1),"/"):P(r,t)):n=t,{pathname:n,search:F(i),hash:L(o)}}(i,o),l=s&&"/"!==s&&s.endsWith("/"),f=(a||"."===s)&&n.endsWith("/");return c.pathname.endsWith("/")||!l&&!f||(c.pathname+="/"),c}var R=e=>e.replace(/[\\/]{2,}/g,"/"),D=e=>R(e.join("/")),N=e=>e.replace(/\/+$/,""),j=e=>N(e).replace(/^\/*/,"/"),F=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",L=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",B=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function z(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}function V(e){let t=e.map(e=>e.route.path).filter(Boolean);return D(t)||"/"}var U="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function $(e,t){let n=e;if("string"!=typeof n||!o.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(U)try{let e=new URL(window.location.href),r=a.test(n)?new URL((s=n,e.protocol+s.replace(/\\/g,"/"))):new URL(n),o=T(r.pathname,t);r.origin===e.origin&&null!=o?n=o+r.search+r.hash:i=!0}catch(e){f(!1,`<Link to="${n}">
2 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}var s;return{absoluteURL:r,isExternal:i,to:n}}Symbol("Uninstrumented"),Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var H=["POST","PUT","PATCH","DELETE"],q=(new Set(H),["GET",...H]);new Set(q),Symbol("ResetLoaderData"),new WeakMap,new WeakMap,new WeakMap,new WeakMap;var W=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];var G=i.createContext(null);G.displayName="DataRouter";var K=i.createContext(null);K.displayName="DataRouterState";var Q=i.createContext(!1);function J(){return i.useContext(Q)}var X=i.createContext({isTransitioning:!1});X.displayName="ViewTransition",i.createContext(new Map).displayName="Fetchers",i.createContext(null).displayName="Await";var Y=i.createContext(null);Y.displayName="Navigation";var Z=i.createContext(null);Z.displayName="Location";var ee=i.createContext({outlet:null,matches:[],isDataRoute:!1});ee.displayName="Route";var te=i.createContext(null);te.displayName="RouteError";var ne="REACT_ROUTER_ERROR";function re(){return null!=i.useContext(Z)}function ie(){return u(re(),"useLocation() may be used only in the context of a <Router> component."),i.useContext(Z).location}function oe(e){u(re(),"useMatch() may be used only in the context of a <Router> component.");let{pathname:t}=ie();return i.useMemo(()=>E(e,A(t)),[t,e])}var ae="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function se(e){i.useContext(Y).static||i.useLayoutEffect(e)}function ce(){let{isDataRoute:e}=i.useContext(ee);return e?function(){let{router:e}=function(e){let t=i.useContext(G);return u(t,be(e)),t}("useNavigate"),t=we("useNavigate"),n=i.useRef(!1);return se(()=>{n.current=!0}),i.useCallback(async(r,i={})=>{f(n.current,ae),n.current&&("number"==typeof r?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...i}))},[e,t])}():function(){u(re(),"useNavigate() may be used only in the context of a <Router> component.");let e=i.useContext(G),{basename:t,navigator:n}=i.useContext(Y),{matches:r}=i.useContext(ee),{pathname:o}=ie(),a=JSON.stringify(M(r)),s=i.useRef(!1);return se(()=>{s.current=!0}),i.useCallback((r,i={})=>{if(f(s.current,ae),!s.current)return;if("number"==typeof r)return void n.go(r);let c=I(r,JSON.parse(a),o,"path"===i.relative);null==e&&"/"!==t&&(c.pathname="/"===c.pathname?t:D([t,c.pathname])),(i.replace?n.replace:n.push)(c,i.state,i)},[t,n,a,o,e])}()}var le=i.createContext(null);function ue(){let{matches:e}=i.useContext(ee),t=e[e.length-1];return t?.params??{}}function fe(e,{relative:t}={}){let{matches:n}=i.useContext(ee),{pathname:r}=ie(),o=JSON.stringify(M(n));return i.useMemo(()=>I(e,JSON.parse(o),r,"path"===t),[e,o,r,t])}function de(e,t,n){u(re(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=i.useContext(Y),{matches:o}=i.useContext(ee),a=o[o.length-1],s=a?a.params:{},c=a?a.pathname:"/",l=a?a.pathnameBase:"/",d=a&&a.route;{let e=d&&d.path||"";Se(c,!d||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}let h,p=ie();if(t){let e="string"==typeof t?m(t):t;u("/"===l||e.pathname?.startsWith(l),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${l}" but pathname "${e.pathname}" was given in the \`location\` prop.`),h=e}else h=p;let g=h.pathname||"/",v=g;if("/"!==l){let e=l.replace(/^\//,"").split("/");v="/"+g.replace(/^\//,"").split("/").slice(e.length).join("/")}let b=n&&n.state.matches.length?n.state.matches.map(e=>Object.assign(e,{route:n.manifest[e.route.id]||e.route})):y(e,{pathname:v});f(d||null!=b,`No routes matched location "${h.pathname}${h.search}${h.hash}" `),f(null==b||void 0!==b[b.length-1].route.element||void 0!==b[b.length-1].route.Component||void 0!==b[b.length-1].route.lazy,`Matched leaf route at location "${h.pathname}${h.search}${h.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let w=function(e,t=[],n){let r=n?.state;if(null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let o=e,a=r?.errors;if(null!=a){let e=o.findIndex(e=>e.route.id&&void 0!==a?.[e.route.id]);u(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),o=o.slice(0,Math.min(o.length,e+1))}let s=!1,c=-1;if(n&&r){s=r.renderFallback;for(let e=0;e<o.length;
2e++){let t=o[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(c=e),t.route.id){let{loaderData:e,errors:i}=r,a=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!i||void 0===i[t.route.id]);if(t.route.lazy||a){n.isStatic&&(s=!0),o=c>=0?o.slice(0,c+1):[o[0]];break}}}}let l=n?.onError,f=r&&l?(e,t)=>{l(e,{location:r.location,params:r.matches?.[0]?.params??{},pattern:V(r.matches),errorInfo:t})}:void 0;return o.reduceRight((e,n,l)=>{let u,d=!1,h=null,p=null;r&&(u=a&&n.route.id?a[n.route.id]:void 0,h=n.route.errorElement||pe,s&&(c<0&&0===l?(Se("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):c===l&&(d=!0,p=n.route.hydrateFallbackElement||null)));let m=t.concat(o.slice(0,l+1)),y=()=>{let t;return t=u?h:d?p:n.route.Component?i.createElement(n.route.Component,null):n.route.element?n.route.element:e,i.createElement(ve,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===l)?i.createElement(me,{location:r.location,revalidation:r.revalidation,component:h,error:u,children:y(),routeC
2ontext:{outlet:null,matches:m,isDataRoute:!0},onError:f}):y()},null)}(b&&b.map(e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:D([l,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?l:D([l,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathnameBase])})),o,n);return t&&w?i.createElement(Z.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...h},navigationType:"POP"}},w):w}function he(){let e=function(){let e=i.useContext(te),t=function(e){let t=i.useContext(K);return u(t,be(e)),t}("useRouteError"),n=we("useRouteError");return void 0!==e?e:t.errors?.[n]}(),t=z(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},a={padding:"2px 4px",backgroundColor:r},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=i.createElement(i.Fragment,null,i.createElement("p",null,"💿 Hey developer 👋"),i.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",i.createElement("code",{style:a},"ErrorBoundary")," or"," ",i.createElement("code",{style:a},"errorElement")," prop on your route.")),i.createElement(i.Fragment,null,i.createElement("h2",null,"Unexpected Application Error!"),i.createElement("h3",{style:{fontStyle:"italic"}},t),n?i.createElement("pre",{style:o},n):null,s)}var pe=i.createElement(he,null),me=class extends i.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&"object"==typeof e&&e&&"digest"in e&&"string"==typeof e.digest){const t=function(e){if(e.startsWith(`${ne}:ROUTE_ERROR_RESPONSE:{`))try{let t=JSON.parse(e.slice(40));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText)return new B(t.status,t.statusText,t.data)}catch{}}(e.digest);t&&(e=t)}let t=void 0!==e?i.createElement(ee.Provider,{value:this.props.routeContext},i.createElement(te.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?i.createElement(ge,{error:e},t):t}};me.contextType=Q;var ye=new WeakMap;function ge({children:e,error:t}){let{basename:n}=i.useContext(Y);if("object"==typeof t&&t&&"digest"in t&&"string"==typeof t.digest){let e=function(e){if(e.startsWith(`${ne}:REDIRECT:{`))try{let t=JSON.parse(e.slice(28));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText&&"string"==typeof t.location&&"boolean"==typeof t.reloadDocument&&"boolean"==typeof t.replace)return t}catch{}}(t.digest);if(e){let r=ye.get(t);if(r)throw r;let o=$(e.location,n),a=o.absoluteURL||o.to;if(function(e){try{return W.includes(new URL(e).protocol)}catch{return!1}}(a))throw new Error("Invalid redirect location");if(U&&!ye.get(t)){if(!o.isExternal&&!e.reloadDocument){const n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(o.to,{replace:e.replace}));throw ye.set(t,n),n}window.location.href=a}return i.createElement("meta",{httpEquiv:"refresh",content:`0;url=${a}`})}}return e}function ve({routeContext:e,match:t,children:n}){let r=i.useContext(G);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),i.createElement(ee.Provider,{value:e},n)}function be(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function we(e){let t=function(e){let t=i.useContext(ee);return u(t,be(e)),t}(e),n=t.matches[t.matches.length-1];return u(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}var xe={};function Se(e,t,n){t||xe[e]||(xe[e]=!0,f(!1,n))}function ke({to:e,replace:t,state:n,relative:r}){u(re(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=i.useContext(Y);f(!o,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:a}=i.useContext(ee),{pathname:s}=ie(),c=ce(),l=I(e,M(a),s,"path"===r),d=JSON.stringify(l);return i.useEffect(()=>{c(JSON.parse(d),{replace:t,state:n,relative:r})},[c,d,r,t,n]),null}function Ee(e){return function(e){let t=i.useContext(ee).outlet;return i.useMemo(()=>t&&i.createElement(le.Provider,{value:e},t),[t,e])}(e.context)}function _e(e){u(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Ce({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:o,static:a=!1,useTransitions:s}){u(!re(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),l=i.useMemo(()=>({basename:c,navigator:o,static:a,useTransitions:s,future:{}}),[c,o,a,s]);"string"==typeof n&&(n=m(n));let{pathname:d="/",search:h="",hash:p="",state:y=null,key:g="default",mask:v}=n,b=i.useMemo(()=>{let e=T(d,c);return null==e?null:{location:{pathname:e,search:h,hash:p,state:y,key:g,mask:v},navigationType:r}},[c,d,h,p,y,g,r,v]);
2return f(null!=b,`<Router basename="${c}"> is not able to match the URL "${d}${h}${p}" because it does not start with the basename, so the <Router> won't render anything.`),null==b?null:i.createElement(Y.Provider,{value:l},i.createElement(Z.Provider,{children:t,value:b}))}function Ae({children:e,location:t}){return de(Te(e),t)}function Te(e,t=[]){let n=[];return i.Children.forEach(e,(e,r)=>{if(!i.isValidElement(e))return;let o=[...t,r];if(e.type===i.Fragment)return void n.push.apply(n,Te(e.props.children,o));u(e.type===_e,`[${"string"==typeof e.type?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),u(!e.props.index||!e.props.children,"An index route cannot have child routes.");let a={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=Te(e.props.children,o)),n.push(a)}),n}(r||(r=n.t(i,2))).useOptimistic,i.memo(function({routes:e,manifest:t,future:n,state:r,isStatic:i,onError:o}){return de(e,void 0,{manifest:t,state:r,isStatic:i,onError:o,future:n})}),i.Component;var Pe="get",Oe="application/x-www-form-urlencoded";function Me(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement}var Ie=null,Re=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function De(e){return null==e||Re.has(e)?e:(f(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Oe}"`),null)}function Ne(e,t){if(!1===e||null==e)throw new Error(t)}function je(e,t,n,r){let i="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return n?i.pathname.endsWith("/")?i.pathname=`${i.pathname}_.${r}`:i.pathname=`${i.pathname}.${r}`:"/"===i.pathname?i.pathname=`_root.${r}`:t&&"/"===T(i.pathname,t)?i.pathname=`${N(t)}/_root.${r}`:i.pathname=`${N(i.pathname)}.${r}`,i}function Fe(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}function Le(e,t,n,r,i,o){let a=(e,t)=>!n[t]||e.route.id!==n[t].route.id,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith("*")&&n[t].params["*"]!==e.params["*"];return"assets"===o?t.filter((e,t)=>a(e,t)||s(e,t)):"data"===o?t.filter((t,o)=>{let c=r.routes[t.route.id];if(!c||!c.hasLoader)return!1;if(a(t,o)||s(t,o))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof r)return r}return!0}):[]}function Be(e,t,{includeHydrateFallback:n}={}){return r=e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.clientActionModule&&(i=i.concat(r.clientActionModule)),r.clientLoaderModule&&(i=i.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(i=i.concat(r.hydrateFallbackModule)),r.imports&&(i=i.concat(r.imports)),i}).flat(1),[...new Set(r)];var r}function ze(){let e=i.useContext(G);return Ne(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Ve(){let e=i.useContext(K);return Ne(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}Object.getOwnPropertyNames(Object.prototype).sort().join("\0"),Symbol("SingleFetchRedirect");var Ue=i.createContext(void 0);function $e(){let e=i.useContext(Ue);return Ne(e,"You must render this element inside a <HydratedRouter> element"),e}function He(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function qe({page:e,...t}){let n=J(),{nonce:r}=$e(),{router:o}=ze(),a=i.useMemo(()=>y(o.routes,e,o.basename),[o.routes,e,o.basename]);return a?(null==t.nonce&&r&&(t={...t,nonce:r}),n?i.createElement(Ge,{page:e,matches:a,...t}):i.createElement(Ke,{page:e,matches:a,...t})):null}function We(e){let{manifest:t,routeModules:n}=$e(),[r,o]=i.useState([]);return i.useEffect(()=>{let r=!1;return async function(e,t,n){return function(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&(null==(o=i)||"string"!=typeof o.page)&&"script"===i.as&&i.href&&r.has(i.href))return e;var o;let a=JSON.stringify(function(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e},[])}((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let n=await(import(e.module));return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.
2isSpaMode,window.location.reload(),new Promise(()=>{})}}(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(Fe).filter(e=>"stylesheet"===e.rel||"preload"===e.rel).map(e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"}))}(e,t,n).then(e=>{r||o(e)}),()=>{r=!0}},[e,t,n]),r}function Ge({page:e,matches:t,...n}){let r=ie(),{future:o}=$e(),{basename:a}=ze(),s=i.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=je(e,a,o.v8_trailingSlashAwareDataRequests,"rsc"),i=!1,s=[];for(let e of t)"function"==typeof e.route.shouldRevalidate?i=!0:s.push(e.route.id);return i&&s.length>0&&n.searchParams.set("_routes",s.join(",")),[n.pathname+n.search]},[a,o.v8_trailingSlashAwareDataRequests,e,r,t]);return i.createElement(i.Fragment,null,s.map(e=>i.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...n})))}function Ke({page:e,matches:t,...n}){let r=ie(),{future:o,manifest:a,routeModules:s}=$e(),{basename:c}=ze(),{loaderData:l,matches:u}=Ve(),f=i.useMemo(()=>Le(e,t,u,a,r,"data"),[e,t,u,a,r]),d=i.useMemo(()=>Le(e,t,u,a,r,"assets"),[e,t,u,a,r]),h=i.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,i=!1;if(t.forEach(e=>{let t=a.routes[e.route.id];t&&t.hasLoader&&(!f.some(t=>t.route.id===e.route.id)&&e.route.id in l&&s[e.route.id]?.shouldRevalidate||t.hasClientLoader?i=!0:n.add(e.route.id))}),0===n.size)return[];let u=je(e,c,o.v8_trailingSlashAwareDataRequests,"data");return i&&n.size>0&&u.searchParams.set("_routes",t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(",")),[u.pathname+u.search]},[c,o.v8_trailingSlashAwareDataRequests,l,r,a,f,t,e,s]),p=i.useMemo(()=>Be(d,a),[d,a]),m=We(d);return i.createElement(i.Fragment,null,h.map(e=>i.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...n})),p.map(e=>i.createElement("link",{key:e,rel:"modulepreload",href:e,...n})),m.map(({key:e,link:t})=>i.createElement("link",{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}Ue.displayName="FrameworkContext";function Qe(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}i.Component;var Je="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{Je&&(window.__reactRouterVersion="7.18.2")}catch(e){}function Xe({basename:e,children:t,useTransitions:n,window:r}){let o=i.useRef();null==o.current&&(o.current=l({window:r,v5Compat:!0}));let a=o.current,[s,c]=i.useState({action:a.action,location:a.location}),u=i.useCallback(e=>{!1===n?c(e):i.startTransition(()=>c(e))},[n]);return i.useLayoutEffect(()=>a.listen(u),[a,u]),i.createElement(Ce,{basename:e,children:t,location:s.location,navigationType:s.action,navigator:a,useTransitions:n})}var Ye=i.forwardRef(function({onClick:e,discover:t="render",prefetch:n="none",relative:r,reloadDocument:a,replace:s,mask:c,state:l,target:f,to:d,preventScrollReset:h,viewTransition:m,defaultShouldRevalidate:y,...g},v){let{basename:b,navigator:w,useTransitions:x}=i.useContext(Y),S="string"==typeof d&&o.test(d),k=$(d,b),E=function(e,{relative:t}={}){u(re(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=i.useContext(Y),{hash:o,pathname:a,search:s}=fe(e,{relative:t}),c=a;return"/"!==n&&(c="/"===a?n:D([n,a])),r.createHref({pathname:c,search:s,hash:o})}(d=k.to,{relative:r}),_=ie(),C=null;if(c){let e=I(c,[],_.mask?_.mask.pathname:"/",!0);"/"!==b&&(e.pathname="/"===e.pathname?b:D([b,e.pathname])),C=w.createHref(e)}let[A,T,P]=function(e,t){let n=i.useContext(Ue),[r,o]=i.useState(!1),[a,s]=i.useState(!1),{onFocus:c,onBlur:l,onMouseEnter:u,onMouseLeave:f,onTouchStart:d}=t,h=i.useRef(null);i.useEffect(()=>{if("render"===e&&s(!0),"viewport"===e){let e=new IntersectionObserver(e=>{e.forEach(e=>{s(e.isIntersecting)})},{threshold:.5});return h.current&&e.observe(h.current),()=>{e.disconnect()}}},[e]),i.useEffect(()=>{if(r){let e=setTimeout(()=>{s(!0)},100);return()=>{clearTimeout(e)}}},[r]);let p=()=>{o(!0)},m=()=>{o(!1),s(!1)};return n?"intent"!==e?[a,h,{}]:[a,h,{onFocus:He(c,p),onBlur:He(l,m),onMouseEnter:He(u,p),onMouseLeave:He(f,m),onTouchStart:He(d,p)}]:[!1,h,{}]}(n,g),O=function(e,{target:t,replace:n,mask:r,state:o,preventScrollReset:a,relative:s,viewTransition:c,defaultShouldRevalidate:l,useTransitions:u}={}){let f=ce(),d=ie(),h=fe(e,{relative:s});return i.useCallback(m=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(m,t)){m.preventDefault();let t=void 0!==n?n:p(d)===p(h),y=()=>f(e,{replace:t,mask:r,state:o,preventScrollReset:a,relative:s,viewTransition:c,defaultShouldRevalidate:l});u?i.startTransition(()=>y()):y()}},[d,f,h,n,r,o,t,e,a,s,c,l,u])}(d,{replace:s,mask:c,state:l,target:f,preventScrollReset:h,relative:r,viewTransition:m,defaultShouldRevalidate:y,useTransitions:x}),M=!(k.isExternal||a),R=i.createElement("a",{...g,...P,href:(M?C:void 0)||k.absoluteURL||E,onClick:M?function(t){e&&e(t),t.defaultPrevented||O(t)}:e,ref:Qe(v,T),target:f,"data-discover":S||"render"!==t?void 0:"true"});return A&&!S?i.createElement(i.Fragment,null,R,i.createElement(qe,{page:E})):R});Ye.displayName="Link";var Ze=i.forwardRef(function({"aria-current":e="page",caseSensitive:t=!1,className:n="",end:r=!1,style:o,to:a,viewTransition:s,children:c,...l},f){let d=fe(a,{relative:l.relative}),h=ie(),p=i.useContext(K),{navigator:m,basename:y}=i.useContext(Y),g=null!=p&&function(e,{relative:t}={}){let n=i.useContext(X);u(null!=n,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=et("useViewTransitionState"),o=fe(e,{relative:t});if(!n.isTransitioning)return!1;let a=T(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=T(n.nextLocation.pathname,r)||n.nextLocation.pathname;return null!=E(o.pathname,s)||null!=E(o.pathname,a)}(d)&&!0===s,v=m.encodeLocation?m.encodeLocation(d).pathname:d.pathname,b=h.pathname,w=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;t||(b=b.toLowerCase(),w=w?w.toLowerCase():null,v=v.toLowerCase()),w&&y&&(w=T(w,y)||w);const x="/"!==v&&v.endsWith("/")?v.length-1:v.length;let S,k=b===v||!r&&b.startsWith(v)&&"/"===b.charAt(x),_=null!=w&&(w===v||!r&&w.startsWith(v)&&"/"===w.charAt(v.length)),C={isActive:k,isPending:_,isTransitioning:g},A=k?e:void 0;S="function"==typeof n?n(C):[n,k?"active":null,_?"pending":null,g?"transitioning":null].filter(
2Boolean).join(" ");let P="function"==typeof o?o(C):o;return i.createElement(Ye,{...l,"aria-current":A,className:S,ref:f,style:P,to:a,viewTransition:s},"function"==typeof c?c(C):c)});function et(e){let t=i.useContext(G);return u(t,function(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}(e)),t}Ze.displayName="NavLink",i.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:a,state:s,method:c=Pe,action:l,onSubmit:f,relative:d,preventScrollReset:h,viewTransition:m,defaultShouldRevalidate:y,...g},v)=>{let{useTransitions:b}=i.useContext(Y),w=function(){let{router:e}=et("useSubmit"),{basename:t}=i.useContext(Y),n=we("useRouteId"),r=e.fetch,o=e.navigate;return i.useCallback(async(e,i={})=>{let{action:a,method:s,encType:c,formData:l,body:u}=function(e,t){let n,r,i,o,a;if(Me(s=e)&&"form"===s.tagName.toLowerCase()){let a=e.getAttribute("action");r=a?T(a,t):null,n=e.getAttribute("method")||Pe,i=De(e.getAttribute("enctype"))||Oe,o=new FormData(e)}else if(function(e){return Me(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return Me(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let a=e.form;if(null==a)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||a.getAttribute("action");if(r=s?T(s,t):null,n=e.getAttribute("formmethod")||a.getAttribute("method")||Pe,i=De(e.getAttribute("formenctype"))||De(a.getAttribute("enctype"))||Oe,o=new FormData(a,e),!function(){if(null===Ie)try{new FormData(document.createElement("form"),0),Ie=!1}catch(e){Ie=!0}return Ie}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?`${t}.`:"";o.append(`${e}x`,"0"),o.append(`${e}y`,"0")}else t&&o.append(t,r)}}else{if(Me(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Pe,r=null,i=Oe,a=e}var s;return o&&"text/plain"===i&&(a=o,o=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:o,body:a}}(e,t);if(!1===i.navigate){let e=i.fetcherKey||`__${String(++tt)}__`;await r(e,n,i.action||a,{defaultShouldRevalidate:i.defaultShouldRevalidate,preventScrollReset:i.preventScrollReset,formData:l,body:u,formMethod:i.method||s,formEncType:i.encType||c,flushSync:i.flushSync})}else await o(i.action||a,{defaultShouldRevalidate:i.defaultShouldRevalidate,preventScrollReset:i.preventScrollReset,formData:l,body:u,formMethod:i.method||s,formEncType:i.encType||c,replace:i.replace,state:i.state,fromRouteId:n,flushSync:i.flushSync,viewTransition:i.viewTransition})},[r,o,t,n])}(),x=function(e,{relative:t}={}){let{basename:n}=i.useContext(Y),r=i.useContext(ee);u(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),a={...fe(e||".",{relative:t})},s=ie();if(null==e){a.search=s.search;let e=new URLSearchParams(a.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();a.search=n?`?${n}`:""}}return e&&"."!==e||!o.route.index||(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),"/"!==n&&(a.pathname="/"===a.pathname?n:D([n,a.pathname])),p(a)}(l,{relative:d}),S="get"===c.toLowerCase()?"get":"post",k="string"==typeof l&&o.test(l);return i.createElement("form",{ref:v,method:S,action:x,onSubmit:r?f:e=>{if(f&&f(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,o=r?.getAttribute("formmethod")||c,l=()=>w(r||e.currentTarget,{fetcherKey:t,method:o,navigate:n,replace:a,state:s,relative:d,preventScrollReset:h,viewTransition:m,defaultShouldRevalidate:y});b&&!1!==n?i.startTransition(()=>l()):l()},...g,"data-discover":k||"render"!==e?void 0:"true"})}).displayName="Form";var tt=0},55446(e,t,n){"use strict";n.d(t,{N9:()=>_,oR:()=>N});var r=n(96540);function i(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=i(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}const o=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=i(e))&&(r&&(r+=" "),r+=t);return r},a=e=>"number"==typeof e&&!isNaN(e),s=e=>"string"==typeof e,c=e=>"function"==typeof e,l=e=>s(e)||c(e)?e:null,u=e=>(0,r.isValidElement)(e)||s(e)||c(e)||a(e);function f(e){let{enter:t,exit:n,appendPosition:i=!1,collapse:o=!0,collapseDuration:a=300}=e;return function(e){let{children:s,position:c,preventExitTransition:l,done:u,nodeRef:f,isIn:d}=e;const h=i?`${t}--${c}`:t,p=i?`${n}--${c}`:n,m=(0,r.useRef)(0);return(0,r.useLayoutEffect)(()=>{const e=f.current,t=h.split(" "),n=r=>
2{r.target===f.current&&(e.dispatchEvent(new Event("d")),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===m.current&&"animationcancel"!==r.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n)},[]),(0,r.useEffect)(()=>{const e=f.current,t=()=>{e.removeEventListener("animationend",t),o?function(e,t,n){void 0===n&&(n=300);const{scrollHeight:r,style:i}=e;requestAnimationFrame(()=>{i.minHeight="initial",i.height=r+"px",i.transition=`all ${n}ms`,requestAnimationFrame(()=>{i.height="0",i.padding="0",i.margin="0",setTimeout(t,n)})})}(e,u,a):u()};d||(l?t():(m.current=1,e.className+=` ${p}`,e.addEventListener("animationend",t)))},[d]),r.createElement(r.Fragment,null,s)}}function d(e,t){return{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}}const h={list:new Map,emitQueue:new Map,on(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off(e,t){if(t){const n=this.list.get(e).filter(e=>e!==t);return this.list.set(e,n),this}return this.list.delete(e),this},cancelEmit(e){const t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit(e){this.list.has(e)&&this.list.get(e).forEach(t=>{const n=setTimeout(()=>{t(...[].slice.call(arguments,1))},0);this.emitQueue.has(e)||this.emitQueue.set(e,[]),this.emitQueue.get(e).push(n)})}},p=e=>{let{theme:t,type:n,...i}=e;return r.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${n})`,...i})},m={info:function(e){return r.createElement(p,{...e},r.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return r.createElement(p,{...e},r.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return r.createElement(p,{...e},r.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return r.createElement(p,{...e},r.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return r.createElement("div",{className:"Toastify__spinner"})}};function y(e){const[,t]=(0,r.useReducer)(e=>e+1,0),[n,i]=(0,r.useState)([]),o=(0,r.useRef)(null),f=(0,r.useRef)(new Map).current,p=e=>-1!==n.indexOf(e),y=(0,r.useRef)({toastKey:1,displayedToast:0,count:0,queue:[],props:e,containerId:null,isToastActive:p,getToast:e=>f.get(e)}).current;function g(e){let{containerId:t}=e;const{limit:n}=y.props;!n||t&&y.containerId!==t||(y.count-=y.queue.length,y.queue=[])}function v(e){i(t=>null==e?[]:t.filter(t=>t!==e))}function b(){const{toastContent:e,toastProps:t,staleId:n}=y.queue.shift();x(e,t,n)}function w(e,n){let{delay:i,staleId:p,...g}=n;if(!u(e)||function(e){return!o.current||y.props.enableMultiContainer&&e.containerId!==y.props.containerId||f.has(e.toastId)&&null==e.updateId}(g))return;const{toastId:w,updateId:S,data:k}=g,{props:E}=y,_=()=>v(w),C=null==S;C&&y.count++;const A={...E,style:E.toastStyle,key:y.toastKey++,...g,toastId:w,updateId:S,data:k,closeToast:_,isIn:!1,className:l(g.className||E.toastClassName),bodyClassName:l(g.bodyClassName||E.bodyClassName),progressClassName:l(g.progressClassName||E.progressClassName),autoClose:!g.isLoading&&(T=g.autoClose,P
2=E.autoClose,!1===T||a(T)&&T>0?T:P),deleteToast(){const e=d(f.get(w),"removed");f.delete(w),h.emit(4,e);const n=y.queue.length;if(y.count=null==w?y.count-y.displayedToast:y.count-1,y.count<0&&(y.count=0),n>0){const e=null==w?y.props.limit:1;if(1===n||1===e)y.displayedToast++,b();else{const t=e>n?n:e;y.displayedToast=t;for(let e=0;e<t;e++)b()}}else t()}};var T,P;A.iconOut=function(e){let{theme:t,type:n,isLoading:i,icon:o}=e,l=null;const u={theme:t,type:n};return!1===o||(c(o)?l=o(u):(0,r.isValidElement)(o)?l=(0,r.cloneElement)(o,u):s(o)||a(o)?l=o:i?l=m.spinner():(e=>e in m)(n)&&(l=m[n](u))),l}(A),c(g.onOpen)&&(A.onOpen=g.onOpen),c(g.onClose)&&(A.onClose=g.onClose),A.closeButton=E.closeButton,!1===g.closeButton||u(g.closeButton)?A.closeButton=g.closeButton:!0===g.closeButton&&(A.closeButton=!u(E.closeButton)||E.closeButton);let O=e;(0,r.isValidElement)(e)&&!s(e.type)?O=(0,r.cloneElement)(e,{closeToast:_,toastProps:A,data:k}):c(e)&&(O=e({closeToast:_,toastProps:A,data:k})),E.limit&&E.limit>0&&y.count>E.limit&&C?y.queue.push({toastContent:O,toastProps:A,staleId:p}):a(i)?setTimeout(()=>{x(O,A,p)},i):x(O,A,p)}function x(e,t,n){const{toastId:r}=t;n&&f.delete(n);const o={content:e,props:t};f.set(r,o),i(e=>[...e,r].filter(e=>e!==n)),h.emit(4,d(o,null==o.props.updateId?"added":"updated"))}return(0,r.useEffect)(()=>(y.containerId=e.containerId,h.cancelEmit(3).on(0,w).on(1,e=>o.current&&v(e)).on(5,g).emit(2,y),()=>{f.clear(),h.emit(3,y)}),[]),(0,r.useEffect)(()=>{y.props=e,y.isToastActive=p,y.displayedToast=n.length}),{getToastToRender:function(t){const n=new Map,r=Array.from(f.values());return e.newestOnTop&&r.reverse(),r.forEach(e=>{const{position:t}=e.props;n.has(t)||n.set(t,[]),n.get(t).push(e)}),Array.from(n,e=>t(e[0],e[1]))},containerRef:o,isToastActive:p}}function g(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function v(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function b(e){const[t,n]=(0,r.useState)(!1),[i,o]=(0,r.useState)(!1),a=(0,r.useRef)(null),s=(0,r.useRef)({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,l=(0,r.useRef)(e),{autoClose:u,pauseOnHover:f,closeToast:d,onClick:h,closeOnClick:p}=e;function m(t){if(e.draggable){"touchstart"===t.nativeEvent.type&&t.nativeEvent.preventDefault(),s.didMove=!1,document.addEventListener("mousemove",x),document.addEventListener("mouseup",S),document.addEventListener("touchmove",x),document.addEventListener("touchend",S);const n=a.current;s.canCloseOnClick=!0,s.canDrag=!0,s.boundingRect=n.getBoundingClientRect(),n.style.transition="",s.x=g(t.nativeEvent),s.y=v(t.nativeEvent),"x"===e.draggableDirection?(s.start=s.x,s.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(s.start=s.y,s.removalDistance=n.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent/100))}}function y(t){if(s.boundingRect){const{top:n,bottom:r,left:i,right:o}=s.boundingRect;"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&s.x>=i&&s.x<=o&&s.y>=n&&s.y<=r?w():b()}}function b(){n(!0)}function w(){n(!1)}function x(n){const r=a.current;s.canDrag&&r&&(s.didMove=!0,t&&w(),s.x=g(n),s.y=v(n),s.delta="x"===e.draggableDirection?s.x-s.start:s.y-s.start,s.start!==s.x&&(s.canCloseOnClick=!1),r.style.transform=`translate${e.draggableDirection}(${s.delta}px)`,r.style.opacity=""+(1-Math.abs(s.delta/s.removalDistance)))}function S(){document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",S),document.removeEventListener("touchmove",x),document.removeEventListener("touchend",S);const t=a.current;if(s.canDrag&&s.didMove&&t){if(s.canDrag=!1,Math.abs(s.delta)>s.removalDistance)return o(!0),void e.closeToast();t.style.transition="transform 0.2s, opacity 0.2s",t.style.transform=`translate${e.draggableDirection}(0)`,t.style.opacity="1"}}(0,r.useEffect)(()=>{l.current=e}),(0,r.useEffect)(()=>(a.current&&a.current.addEventListener("d",b,{once:!0}),c(e.onOpen)&&e.onOpen((0,r.isValidElement)(e.children)&&e.children.props),()=>{const e=l.current;c(e.onClose)&&e.onClose((0,r.isValidElement)(e.children)&&e.children.props)}),[]),(0,r.useEffect)(()=>(e.pauseOnFocusLoss&&(document.hasFocus()||w(),window.addEventListener("focus",b),window.addEventListener("blur",w)),()=>{e.pauseOnFocusLoss&&(window.removeEventListener("focus",b),window.removeEventListener("blur",w))}),[e.pauseOnFocusLoss]);const k={onMouseDown:m,onTouchStart:m,onMouseUp:y,onTouchEnd:y};return u&&f&&(k.onMouseEnter=w,k.onMouseLeave=b),p&&(k.onClick=e=>{h&&h(e),s.canCloseOnClick&&d()}),{playToast:b,pauseToast:w,isRunning:t,preventExitTransition:i,toastRef:a,eventHandlers:k}}function w(e){let{closeToast:t,theme:n,ariaLabel:i="close"}=e;return r.createElement("button",{className:`Toastify__close-button Toastify__close-button--${n}`,type:"button",onClick:e=>{e.stopPropagation(),t(e)},"aria-label":i},r.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},r.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function x(e){let{delay:t,isRunning:n,closeToast:i,type:a="default",hide:s,className:l,style:u,controlledProgress:f,progress:d,rtl:h,isIn:p,theme:m}=e;const y=s||f&&0===d,g={...u,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused",opacity:y?0:1};f&&(g.transform=`scaleX(${d})`);const v=o("Toastify__progress-bar",f?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${m}`,`Toastify__progress-bar--${a}`,{"Toastify__progress-bar--rtl":h}),b=c(l)?l({rtl:h,type:a,defaultClassName:v}):o(v,l);return r.createElement("div",{role:"progressbar","aria-hidden":y?"true":"false","aria-label":"notification timer",className:b,style:g,[f&&d>=1?"onTransitionEnd":"onAnimationEnd"]:f&&d<1?null:()=>{p&&i()}})}const S=e=>{const{isRunning:t,preventExitTransition:n,toastRef:i,eventHandlers:a}=b(e),{closeButton:s,children:l,autoClose:u,onClick:f,type:d,hideProgressBar:h,closeToast:p,transition:m,position:y,className:g,style:v,bodyClassName:S,bodyStyle:k,progressClassName:E,progressStyle:_,updateId:C,role:A,progress:T,rtl:P,toastId:O,deleteToast:M,isIn:I,isLoading:R,iconOut:D,closeOnClick:N,theme:j}=e,F=o("Toastify__toast",`Toastify__toast-theme--${j}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":P},{"Toastify__toast--close-on-click":N}),L=c(g)?g({rtl:P,position:y,type:d,defaultClassName:F}):o(F,g),B=!!T||!u,z={closeToast:p,type:d,theme:j};let V=null;return!1===s||(V=c(s)?s(z):(0,r.isValidElement)(s)?(0,r.cloneElement)(s,z):w(z)),r.createElement(m,{isIn:I,done:M,position:y,preventExitTransition:n,nodeRef:i},r.createElement("div",{id:O,onClick:f,className:L,...a,style:v,ref:i},r.createElement("div",{...I&&{role:A},className:c(S)?S({type:d}):o("Toastify__toast-body",S),style:k},null!=D&&r.createElement("div",{className:o("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter"
2:!R})},D),r.createElement("div",null,l)),V,r.createElement(x,{...C&&!B?{key:`pb-${C}`}:{},rtl:P,theme:j,delay:u,isRunning:t,isIn:I,closeToast:p,hide:h,type:d,style:_,className:E,controlledProgress:B,progress:T||0})))},k=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},E=f(k("bounce",!0)),_=(f(k("slide",!0)),f(k("zoom")),f(k("flip")),(0,r.forwardRef)((e,t)=>{const{getToastToRender:n,containerRef:i,isToastActive:a}=y(e),{className:s,style:u,rtl:f,containerId:d}=e;function h(e){const t=o("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":f});return c(s)?s({position:e,rtl:f,defaultClassName:t}):o(t,l(s))}return(0,r.useEffect)(()=>{t&&(t.current=i.current)},[]),r.createElement("div",{ref:i,className:"Toastify",id:d},n((e,t)=>{const n=t.length?{...u}:{...u,pointerEvents:"none"};return r.createElement("div",{className:h(e),style:n,key:`container-${e}`},t.map((e,n)=>{let{content:i,props:o}=e;return r.createElement(S,{...o,isIn:a(o.toastId),style:{...o.style,"--nth":n+1,"--len":t.length},key:`toast-${o.key}`},i)}))}))}));_.displayName="ToastContainer",_.defaultProps={position:"top-right",transition:E,autoClose:5e3,closeButton:w,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let C,A=new Map,T=[],P=1;function O(){return""+P++}function M(e){return e&&(s(e.toastId)||a(e.toastId))?e.toastId:O()}function I(e,t){return A.size>0?h.emit(0,e,t):T.push({content:e,options:t}),t.toastId}function R(e,t){return{...t,type:t&&t.type||e,toastId:M(t)}}function D(e){return(t,n)=>I(t,R(e,n))}function N(e,t){return I(e,R("default",t))}N.loading=(e,t)=>
2I(e,R("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),N.promise=function(e,t,n){let r,{pending:i,error:o,success:a}=t;i&&(r=s(i)?N.loading(i,n):N.loading(i.render,{...n,...i}));const l={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null,delay:100},u=(e,t,i)=>{if(null==t)return void N.dismiss(r);const o={type:e,...l,...n,data:i},a=s(t)?{render:t}:t;return r?N.update(r,{...o,...a}):N(a.render,{...o,...a}),i},f=c(e)?e():e;return f.then(e=>u("success",a,e)).catch(e=>u("error",o,e)),f},N.success=D("success"),N.info=D("info"),N.error=D("error"),N.warning=D("warning"),N.warn=N.warning,N.dark=(e,t)=>I(e,R("default",{theme:"dark",...t})),N.dismiss=e=>{A.size>0?h.emit(1,e):T=T.filter(t=>null!=e&&t.options.toastId!==e)},N.clearWaitingQueue=function(e){return void 0===e&&(e={}),h.emit(5,e)},N.isActive=e=>{let t=!1;return A.forEach(n=>{n.isToastActive&&n.isToastActive(e)&&(t=!0)}),t},N.update=function(e,t){void 0===t&&(t={}),setTimeout(()=>{const n=function(e,t){let{containerId:n}=t;const r=A.get(n||C);return r&&r.getToast(e)}(e,t);if(n){const{props:r,content:i}=n,o={...r,...t,toastId:t.toastId||e,updateId:O()};o.toastId!==e&&(o.staleId=e);const a=o.render||i;delete o.render,I(a,o)}},0)},N.done=e=>{N.update(e,{progress:1})},N.onChange=e=>(h.on(4,e),()=>{h.off(4,e)}),N.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},N.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},h.on(2,e=>{C=e.containerId||e,A.set(C,e),T.forEach(e=>{h.emit(0,e.content,e.options)}),T=[]}).on(3,e=>{A.delete(e.containerId||e),0===A.size&&h.off(0).off(1).off(5)})},50856(e,t,n){"use strict";const r=e=>{const t=s(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),i(n,t)||a(e)},getConflictingClassGroupIds:(e,t)=>{const i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},i=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?i(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;const a=e.join("-");return t.validators.find(({validator:e})=>e(a))?.classGroupId},o=/^\[(.+)\]$/,a=e=>{if(o.test(e)){const t=o.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},s=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)c(n[e],r,e,t);return r},c=(e,t,n,r)=>{e.forEach(e=>{if("string"!=typeof e)return"function"==typeof e?u(e)?void c(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n}):void Object.entries(e).forEach(([e,i])=>{c(i,l(t,e),n,r)});(""===e?t:l(t,e)).classGroupId=n})},l=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},u=e=>e.isThemeGetter,f=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},d=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,i=0,o=0;for(let a=0;a<e.length;a++){let s=e[a];if(0===r&&0===i){if(":"===s){t.push(e.slice(o,a)),o=a+1;continue}if("/"===s){n=a;continue}}"["===s?r++:"]"===s?r--:"("===s?i++:")"===s&&i--}const a=0===t.length?e:e.substring(o),s=h(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:n&&n>o?n-o:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},h=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,p=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let r=[];
vendor: 4,420 bytes, line 2
2return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},m=/\s+/;function y(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=g(e))&&(r&&(r+=" "),r+=t);return r}const g=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=g(e[r]))&&(n&&(n+=" "),n+=t);return n};function v(e,...t){let n,i,o,a=function(c){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:f(e.cacheSize),parseClassName:d(e),sortModifiers:p(e),...r(e)}))(l),i=n.cache.get,o=n.cache.set,a=s,s(c)};function s(e){const t=i(e);if(t)return t;const r=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,a=[],s=e.trim().split(m);let c="";for(let e=s.length-1;e>=0;e-=1){const t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:f,baseClassName:d,maybePostfixModifierPosition:h}=n(t);if(l){c=t+(c.length>0?" "+c:c);continue}let p=!!h,m=r(p?d.substring(0,h):d);if(!m){if(!p){c=t+(c.length>0?" "+c:c);continue}if(m=r(d),!m){c=t+(c.length>0?" "+c:c);continue}p=!1}const y=o(u).join(":"),g=f?y+"!":y,v=g+m;if(a.includes(v))continue;a.push(v);const b=i(m,p);for(let e=0;e<b.length;++e){const t=b[e];a.push(g+t)}c=t+(c.length>0?" "+c:c)}return c})(e,n);return o(e,r),r}return function(){return a(y.apply(null,arguments))}}const b=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},w=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,x=/^\((?:(\w[\w-]*):)?(.+)\)$/i,S=/^\d+\/\d+$/,k=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,E=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,_=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,C=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,A=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,T=e=>S.test(e),P=e=>!!e&&!Number.isNaN(Number(e)),O=e=>!!e&&Number.isInteger(Number(e)),M=e=>e.endsWith("%")&&P(e.slice(0,-1)),I=e=>k.test(e),R=()=>!0,D=e=>E.test(e)&&!_.test(e),N=()=>!1,j=e=>C.test(e),F=e=>A.test(e),L=e=>!z(e)&&!W(e),B=e=>Z(e,re,N),z=e=>w.test(e),V=e=>Z(e,ie,D),U=e=>Z(e,oe,P),$=e=>Z(e,te,N),H=e=>Z(e,ne,F),q=e=>Z(e,se,j),W=e=>x.test(e),G=e=>ee(e,ie),K=e=>ee(e,ae),Q=e=>ee(e,te),J=e=>ee(e,re),X=e=>ee(e,ne),Y=e=>ee(e,se,!0),Z=(e,t,n)=>{const r=w.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},ee=(e,t,n=!1)=>{const r=x.exec(e);return!!r&&(r[1]?t(r[1]):n)},te=e=>"position"===e||"percentage"===e,ne=e=>"image"===e||"url"===e,re=e=>"length"===e||"size"===e||"bg-size"===e,ie=e=>"length"===e,oe=e=>"number"===e,ae=e=>"family-name"===e,se=e=>"shadow"===e,ce=v((Symbol.toStringTag,()=>{const e=b("color"),t=b("font"),n=b("text"),r=b("font-weight"),i=b("tracking"),o=b("leading"),a=b("breakpoint"),s=b("container"),c=b("spacing"),l=b("radius"),u=b("shadow"),f=b("inset-shadow"),d=b("text-shadow"),h=b("drop-shadow"),p=b("blur"),m=b("perspective"),y=b("aspect"),g=b("ease"),v=b("animate"),w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",W,z],x=()=>[W,z,c],S=()=>[T,"full","auto",...x()],k=()=>[O,"none","subgrid",W,z],E=()=>["auto",{span:["full",O,W,z]},O,W,z],_=()=>[O,"auto",W,z],C=()=>["auto","min","max","fr",W,z],A=()=>["auto",...x()],D=()=>[T,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],N=()=>[e,W,z],j=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Q,$,{position:[W,z]}],F=()=>["auto","cover","contain",J,B,{size:[W,z]}],Z=()=>[M,G,V],ee=()=>["","none","full",l,W,z],te=()=>["",P,G,V],ne=()=>[P,M,Q,$],re=()=>["","none",p,W,z],ie=()=>["none",P,W,z],oe=()=>["none",P,W,z],ae=()=>[P,W,z],se=()=>[T,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[I],breakpoint:[I],color:[R],container:[I],"drop-shadow":[I],ease:["in","out","in-out"],font:[L],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[I],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[I],shadow:[I],spacing:["px",P],text:[I],"text-shadow":[I],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",T,z,W,y]}
vendor: 5,311 bytes, line 2
2],container:["container"],columns:[{columns:[P,z,W,s]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:w()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:S()}],"inset-x":[{"inset-x":S()}],"inset-y":[{"inset-y":S()}],start:[{start:S()}],end:[{end:S()}],top:[{top:S()}],right:[{right:S()}],bottom:[{bottom:S()}],left:[{left:S()}],visibility:["visible","invisible","collapse"],z:[{z:[O,"auto",W,z]}],basis:[{basis:[T,"full","auto",s,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[P,T,"auto","initial","none",z]}],grow:[{grow:["",P,W,z]}],shrink:[{shrink:["",P,W,z]}],order:[{order:[O,"first","last","none",W,z]}],"grid-cols":[{"grid-cols":k()}],"col-start-end":[{col:E()}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":k()}],"row-start-end":[{row:E()}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":C()}],"auto-rows":[{"auto-rows":C()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:D()}],w:[{w:[s,"screen",...D()]}],"min-w":[{"min-w":[s,"screen","none",...D()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...D()]}],h:[{h:["screen","lh",...D()]}],"min-h":[{"min-h":["screen","lh","none",...D()]}],"max-h":[{"max-h":["screen","lh",...D()]}],"font-size":[{text:["base",n,G,V]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,W,U]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",M,z]}],"font-family":[{font:[K,z,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,W,z]}],"line-clamp":[{"line-clamp":[P,"none",W,U]}],leading:[{leading:[o,...x()]}],"list-image":[{"list-image":["none",W,z]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",W,z]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:N()}],"text-color":[{text:N()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","
2wavy"]}],"text-decoration-thickness":[{decoration:[P,"from-font","auto",W,V]}],"text-decoration-color":[{decoration:N()}],"underline-offset":[{"underline-offset":[P,"auto",W,z]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",W,z]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",W,z]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:j()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:F()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},O,W,z],radial:["",W,z],conic:[O,W,z]},X,H]}],"bg-color":[{bg:N()}],"gradient-from-pos":[{from:Z()}],"gradient-via-pos":[{via:Z()}],"gradient-to-pos":[{to:Z()}],"gradient-from":[{from:N()}],"gradient-via":[{via:N()}],"gradient-to":[{to:N()}],rounded:[{rounded:ee()}],"rounded-s":[{"rounded-s":ee()}],"rounded-e":[{"rounded-e":ee()}],"rounded-t":[{"rounded-t":ee()}],"rounded-r":[{"rounded-r":ee()}],"rounded-b":[{"rounded-b":ee()}],"rounded-l":[{"rounded-l":ee()}],"rounded-ss":[{"rounded-ss":ee()}],"rounded-se":[{"rounded-se":ee()}],"rounded-ee":[{"rounded-ee":ee()}],"rounded-es":[{"rounded-es":ee()}],"rounded-tl":[{"rounded-tl":ee()}],"rounded-tr":[{"rounded-tr":ee()}],"rounded-br":[{"rounded-br":ee()}],"rounded-bl":[{"rounded-bl":ee()}],"border-w":[{border:te()}],"border-w-x":[{"border-x":te()}],"border-w-y":[{"border-y":te()}],"border-w-s":[{"border-s":te()}],"border-w-e":[{"border-e":te()}],"border-w-t":[{"border-t":te()}],"border-w-r":[{"border-r":te()}],"border-w-b":[{"border-b":te()}],"border-w-l":[{"border-l":te()}],"divide-x":[{"divide-x":te()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":te()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:N()}],"border-color-x":[{"border-x":N()}],"border-color-y":[{"border-y":N()}],"border-color-s":[{"border-s":N()}],"border-color-e":[{"border-e":N()}],"border-color-t":[{"border-t":N()}],"border-color-r":[{"border-r":N()}],"border-color-b":[{"border-b":N()}],"border-color-l":[{"border-l":N()}],"divide-color":[{divide:N()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[P,W,z]}],"outline-w":[{outline:["",P,G,V]}],"outline-color":[{outline:N()}],shadow:[{shadow:["","none",u,Y,q]}],"shadow-color":[{shadow:N()}],"inset-shadow":[{"inset-shadow":["none",f,Y,q]}],"inset-shadow-color":[{"inset-shadow":N()}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:N()}],"ring-offset-w":[{"ring-offset":[P,V]}],"ring-offset-color":[{"ring-offset":N()}],"inset-ring-w":[{"inset-ring":te()}],"inset-ring-color":[{"inset-ring":N()}],"text-shadow":[{"text-shadow":["none",d,Y,q]}],"text-shadow-color":[{"text-shadow":N()}],opacity:[{opacity:[P,W,z]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[P]}],"mask-image-linear-from-pos":[{"mask-linear-from":ne()}],"mask-image-linear-to-pos":[{"mask-linear-to":ne()}],"mask-image-linear-from-color":[{"mask-linear-from":N()}],"mask-image-linear-to-color":[{"mask-linear-to":N()}],"mask-image-t-from-pos":[{"mask-t-from":ne()}],"mask-image-t-to-pos":[{"mask-t-to":ne()}],"mask-image-t-from-color":[{"mask-t-from":N()}],"mask-image-t-to-color":[{"mask-t-to":N()}],"mask-image-r-from-pos":[{"mask-r-from":ne()}],"mask-image-r-to-pos":[{"mask-r-to":ne()}],"mask-image-r-from-color":[{"mask-r-from":N()}],"mask-image-r-to-color":[{"mask-r-to":N()}],"mask-image-b-from-pos":[{"mask-b-from":ne()}],"mask-image-b-to-pos":[{"mask-b-to":ne()}],"mask-image-b-from-color":[{"mask-b-from":N()}],"mask-image-b-to-color":[{"mask-b-to":N()}],"mask-image-l-from-pos":[{"mask-l-from":ne()}],"mask-image-l-to-pos":[{"mask-l-to":ne()}],"mask-image-l-from-color":[{"mask-l-from":N()}],"mask-image-l-to-color":[{"mask-l-to":N()}],"mask-image-x-from-pos":[{"mask-x-from":ne()}],"mask-image-x-to-pos":[{"mask-x-to":ne()}],"mask-image-x-from-color":[{"mask-x-from":N()}],"mask-image-x-to-color":[{"mask-x-to":N()}],"mask-image-y-from-pos":[{"mask-y-from":ne()}],"mask-image-y-to-pos":[{"mask-y-to":ne()}],"mask-image-y-from-color":[{"mask-y-from":N()}],"mask-image-y-to-color":[{"mask-y-to":N()}],"mask-image-radial":[{"mask-radial":[W,z]}],"mask-image-radial-from-pos":[{"mask-radial-from":ne()}],"mask-image-radial-to-pos":[{"mask-radial-to":ne()}],"mask-image-radial-from-color":[{"mask-radial-from":N()}],"mask-image-radial-to-color":[{"mask-radial-to":N()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[P]}],"mask-image-conic-from-pos":[{"mask-conic-from":ne()}],"mask-image-conic-to-pos":[{"mask-conic-to":ne()}],"mask-image-conic-from-color":[{"mask-conic-from":N()}],"mask-image-conic-to-color":[{"mask-conic-to":N()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:j()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:F()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",W,z]}],filter:[{filter:["","none",W,z]}],blur:[{blur:re()}],brightness:[{brightness:[P,W,z]}],contrast:[{contrast:[P,W,z]}],"drop-shadow":[{"drop-shadow":["","none",h,Y,q]}],"drop-shadow-color":[{"drop-shadow":N()}],grayscale:[{grayscale:["",P,W,z]}],"hue-rotate":[{"hue-rotate":[P,W,z]}],invert:[{invert:["",P,W,z]}],saturate:[{saturate:[P,W,z]}],sepia:[{sepia:["",P,W,z]}],"backdrop-filter":[{"backdrop-filter":["","none",W,z]}],"backdrop-blur":[{"backdrop-blur":re()}],"backdrop-brightness":[{"backdrop-brightness":[P,W,z]}],"backdrop-contrast":[{"backdrop-contrast":[P,W,z]}],"backdrop-grayscale":[{"backdrop-grayscale":["",P,W,z]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[P,W,z]}],"backdrop-invert":[{"backdrop-invert":["",P,W,z]}],"backdrop-opacity":[{"backdrop-opacity":[P,W,z]}],"backdrop-saturate":[{"backdrop-saturate":[P,W,z]}],"backdrop-sepia":[{"backdrop-sepia":["",P,W,z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",W,z]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[P,"initial",W,z]}],ease:[{ease:["linear","initial",g,W,z]}],delay:[{delay:[P,W,z]}],animate:[{animate:["none",v,W,z]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,W,z]}],"perspective-origin":[{"perspective-origin":w()}],rotate:[{rotate:ie()}],"rotate-x":[{"rotate-x":ie()}],"rotate-y":[{"rotate-y":ie()}],"rotate-z":[{"rotate-z":ie()}],scale:[{scale:oe()}],"scale-x":[{"scale-x":oe()}],"scale-y":[{"scale-y":oe()}],"scale-z":[{"scale-z":oe()}],"scale-3d":["scale-3d"],skew:[{skew:ae()}],"skew-x":[{"skew-x":ae()}],"skew-y":[{"skew-y":ae()}],transform:[{transform:[W,z,"","none","gpu","cpu"]}],"transform-origin":[{origin:w()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:se()}],"translate-x":[{"translate-x":se()}],"translate-y":[{"translate-y":se()}],"translate-z":[{"translate-z":se()}],"translate-none":["translate-none"],accent:[{accent:N()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:N()}
2],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",W,z]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",W,z]}],fill:[{fill:["none",...N()]}],"stroke-w":[{stroke:[P,G,V,U]}],stroke:[{stroke:["none",...N()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}}));n.d(t,["QP",0,ce])},25279(e,t,n){"use strict";n.d(t,{A:()=>s});const r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let i;const o=new Uint8Array(16),a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));const s=function(e,t,n){if(r.randomUUID&&!t&&!e)return r.randomUUID();const s=(e=e||{}).random??e.rng?.()??function(){if(!i){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");i=crypto.getRandomValues.bind(crypto)}return i(o)}();if(s.length<16)throw new Error("Random bytes length must be >= 16");if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){if((n=n||0)<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=s[e];return t}
2return function(e,t=0){return(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase()}(s)}}}]);
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.