1var GS=(i,t)=>()=>(t||i((t={exports:{}}).exports,t),t.exports);var FN=GS((YN,Rf)=>{function IS(i,t){for(var a=0;a<t.length;a++){const l=t[a];if(typeof l!="string"&&!Array.isArray(l)){for(const s in l)if(s!=="default"&&!(s in i)){const o=Object.getOwnPropertyDescriptor(l,s);o&&Object.defineProperty(i,s,o.get?o:{enumerable:!0,get:()=>l[s]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))l(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const f of o.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&l(f)}).observe(document,{childList:!0,subtree:!0});function a(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function l(s){if(s.ep)return;s.ep=!0;const o=a(s);fetch(s.href,o)}})();function Lm(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Cc={exports:{}},Gr={};/** 2 * @license React 3 * react-jsx-runtime.production.js 4 * 5 * Copyright (c) Meta Platforms, Inc. and affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var Wv;function HS(){if(Wv)return Gr;Wv=1;var i=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function a(l,s,o){var f=null;if(o!==void 0&&(f=""+o),s.key!==void 0&&(f=""+s.key),"key"in s){o={};for(var h in s)h!=="key"&&(o[h]=s[h])}else o=s;return s=o.ref,{$$typeof:i,type:l,key:f,ref:s!==void 0?s:null,props:o}}return Gr.Fragment=t,Gr.jsx=a,Gr.jsxs=a,Gr}var ey;function YS(){return ey||(ey=1,Cc.exports=HS()),Cc.exports}var P=YS(),tf=function(i,t){return tf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,l){a.__proto__=l}||function(a,l){for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(a[s]=l[s])},tf(i,t)};function hn(i,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");tf(i,t);function a(){this.constructor=i}i.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}var w=function(){return w=Object.assign||function(t){for(var a,l=1,s=arguments.length;l<s;l++){a=arguments[l];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(t[o]=a[o])}return t},w.apply(this,arguments)};function Yt(i,t){var a={};for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&t.indexOf(l)<0&&(a[l]=i[l]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,l=Object.getOwnPropertySymbols(i);s<l.length;s++)t.indexOf(l[s])<0&&Object.prototype.propertyIsEnumerable.call(i,l[s])&&(a[l[s]]=i[l[s]]);return a}function aa(i,t,a,l){function s(o){return o instanceof a?o:new a(function(f){f(o)})}return new(a||(a=Promise))(function(o,f){function h(y){try{p(l.next(y))}catch(g){f(g)}}function v(y){try{p(l.throw(y))}catch(g){f(g)}}function p(y){y.done?o(y.value):s(y.value).then(h,v)}p((l=l.apply(i,t||[])).next())})}function ia(i,t){var a={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},l,s,o,f=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return f.next=h(0),f.throw=h(1),f.return=h(2),typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function h(p){return function(y){return v([p,y])}}function v(p){if(l)throw new TypeError("Generator is already executing.");for(;f&&(f=0,p[0]&&(a=0)),a;)try{if(l=1,s&&(o=p[0]&2?s.return:p[0]?s.throw||((o=s.return)&&o.call(s),0):s.next)&&!(o=o.call(s,p[1])).done)return o;switch(s=0,o&&(p=[p[0]&2,o.value]),p[0]){case 0:case 1:o=p;break;case 4:return a.label++,{value:p[1],done:!1};case 5:a.label++,s=p[1],p=[0];continue;case 7:p=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(p[0]===6||p[0]===2)){a=0;continue}if(p[0]===3&&(!o||p[1]>o[0]&&p[1]<o[3])){a.label=p[1];break}if(p[0]===6&&a.label<o[1]){a.label=o[1],o=p;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(p);break}o[2]&&a.ops.pop(),a.trys.pop();continue}p=t.call(i,a)}catch(y){p=[6,y],s=0}finally{l=o=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}}function mt(i,t,a){if(a||arguments.length===2)for(var l=0,s=t.length,o;l<s;l++)(o||!(l in t))&&(o||(o=Array.prototype.slice.call(t,0,l)),o[l]=t[l]);return i.concat(o||Array.prototype.slice.call(t))}
9var wc="Invariant Violation",ty=Object.setPrototypeOf,PS=ty===void 0?function(i,t){return i.__proto__=t,i}:ty,zm=function(i){hn(t,i);function t(a){a===void 0&&(a=wc);var l=i.call(this,typeof a=="number"?wc+": "+a+" (see https://github.com/apollographql/invariant-packages)":a)||this;return l.framesToPop=1,l.name=wc,PS(l,t.prototype),l}return t}(Error);function Ra(i,t){if(!i)throw new zm(t)}var jm=["debug","log","warn","error","silent"],XS=jm.indexOf("log");function Ms(i){return function(){if(jm.indexOf(i)>=XS){var t=console[i]||console.log;return t.apply(console,arguments)}}}(function(i){i.debug=Ms("debug"),i.log=Ms("log"),i.warn=Ms("warn"),i.error=Ms("error")})(Ra||(Ra={}));var Mf="3.13.8";function en(i){try{return i()}catch{}}const nf=en(function(){return globalThis})||en(function(){return window})||en(function(){return self})||en(function(){return global})||en(function(){return en.constructor("return this")()});var ny=new Map;function af(i){var t=ny.get(i)||1;return ny.set(i,t+1),"".concat(i,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function Um(i,t){t===void 0&&(t=0);var a=af("stringifyForDisplay");return JSON.stringify(i,function(l,s){return s===void 0?a:s},t).split(JSON.stringify(a)).join("<undefined>")}function ks(i){return function(t){for(var a=[],l=1;l<arguments.length;l++)a[l-1]=arguments[l];if(typeof t=="number"){var s=t;t=kf(s),t||(t=Lf(s,a),a=[])}i.apply(void 0,[t].concat(a))}}var te=Object.assign(function(t,a){for(var l=[],s=2;s<arguments.length;s++)l[s-2]=arguments[s];t||Ra(t,kf(a,l)||Lf(a,l))},{debug:ks(Ra.debug),log:ks(Ra.log),warn:ks(Ra.warn),error:ks(Ra.error)});function Et(i){for(var t=[],a=1;a<arguments.length;a++)t[a-1]=arguments[a];return new zm(kf(i,t)||Lf(i,t))}var ay=Symbol.for("ApolloErrorMessageHandler_"+Mf);function qm(i){if(typeof i=="string")return i;try{return Um(i,2).slice(0,1e3)}catch{return"<non-serializable>"}}function kf(i,t){if(t===void 0&&(t=[]),!!i)return nf[ay]&&nf[ay](i,t.map(qm))}function Lf(i,t){if(t===void 0&&(t=[]),!!i)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:Mf,message:i,args:t.map(qm)})))}function qs(i,t){if(!!!i)throw new Error(t)}function KS(i){return typeof i=="object"&&i!==null}function ZS(i,t){if(!!!i)throw new Error("Unexpected invariant triggered.")}const JS=/\r\n|[\n\r]/g;function rf(i,t){let a=0,l=1;for(const s of i.body.matchAll(JS)){if(typeof s.index=="number"||ZS(!1),s.index>=t)break;a=s.index+s[0].length,l+=1}return{line:l,column:t+1-a}}function $S(i){return Vm(i.source,rf(i.source,i.start))}function Vm(i,t){const a=i.locationOffset.column-1,l="".padStart(a)+i.body,s=t.line-1,o=i.locationOffset.line-1,f=t.line+o,h=t.line===1?a:0,v=t.column+h,p=`${i.name}:${f}:${v} 10`,y=l.split(/\r\n|[\n\r]/g),g=y[s];if(g.length>120){const b=Math.floor(v/80),E=v%80,O=[];for(let A=0;A<g.length;A+=80)O.push(g.slice(A,A+80));return p+iy([[`${f} |`,O[0]],...O.slice(1,b+1).map(A=>["|",A]),["|","^".padStart(E)],["|",O[b+1]]])}return p+iy([[`${f-1} |`,y[s-1]],[`${f} |`,g],["|","^".padStart(v)],[`${f+1} |`,y[s+1]]])}function iy(i){const t=i.filter(([l,s])=>s!==void 0),a=Math.max(...t.map(([l])=>l.length));return t.map(([l,s])=>l.padStart(a)+(s?" "+s:"")).join(` 11`)}function WS(i){const t=i[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:i[1],positions:i[2],path:i[3],originalError:i[4],extensions:i[5]}:t}class zf extends Error{constructor(t,...a){var l,s,o;const{nodes:f,source:h,positions:v,path:p,originalError:y,extensions:g}=WS(a);super(t),this.name="GraphQLError",this.path=p??void 0,this.originalError=y??void 0,this.nodes=ry(Array.isArray(f)?f:f?[f]:void 0);const b=ry((l=this.nodes)===null||l===void 0?void 0:l.map(O=>O.loc).filter(O=>O!=null));this.source=h??(b==null||(s=b[0])===null||s===void 0?void 0:s.source),this.positions=v??b?.map(O=>O.start),this.locations=v&&h?v.map(O=>rf(h,O)):b?.map(O=>rf(O.source,O.start));const E=KS(y?.extensions)?y?.extensions:void 0;this.extensions=(o=g??E)!==null&&o!==void 0?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),y!=null&&y.stack?Object.defineProperty(this,"stack",{value:y.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,zf):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(const a of this.nodes)a.loc&&(t+=` 12 13`+$S(a.loc));else if(this.source&&this.locations)for(const a of this.locations)t+=` 14 15`+Vm(this.source,a);return t}toJSON(){const t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}}function ry(i){return i===void 0||i.length===0?void 0:i}function ut(i,t,a){return new zf(`Syntax Error: ${a}`,{source:i,positions:[t]})}class eE{constructor(t,a,l){this.start=t.start,this.end=a.end,this.startToken=t,this.endToken=a,this.source=l}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class Bm{constructor(t,a,l,s,o,f){this.kind=t,this.start=a,this.end=l,this.line=s,this.column=o,this.value=f,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const Fm={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],Float
vendor: 4,380 bytes, line 15
15Value:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},tE=new Set(Object.keys(Fm));function ly(i){const t=i?.kind;return typeof t=="string"&&tE.has(t)}var Ai;(function(i){i.QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription"})(Ai||(Ai={}));var lf;(function(i){i.QUERY="QUERY",i.MUTATION="MUTATION",i.SUBSCRIPTION="SUBSCRIPTION",i.FIELD="FIELD",i.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",i.FRAGMENT_SPREAD="FRAGMENT_SPREAD",i.INLINE_FRAGMENT="INLINE_FRAGMENT",i.VARIABLE_DEFINITION="VARIABLE_DEFINITION",i.SCHEMA="SCHEMA",i.SCALAR="SCALAR",i.OBJECT="OBJECT",i.FIELD_DEFINITION="FIELD_DEFINITION",i.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",i.INTERFACE="INTERFACE",i.UNION="UNION",i.ENUM="ENUM",i.ENUM_VALUE="ENUM_VALUE",i.INPUT_OBJECT="INPUT_OBJECT",i.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(lf||(lf={}));var W;(function(i){i.NAME="Name",i.DOCUMENT="Document",i.OPERATION_DEFINITION="OperationDefinition",i.VARIABLE_DEFINITION="VariableDefinition",i.SELECTION_SET="SelectionSet",i.FIELD="Field",i.ARGUMENT="Argument",i.FRAGMENT_SPREAD="FragmentSpread",i.INLINE_FRAGMENT="InlineFragment",i.FRAGMENT_DEFINITION="FragmentDefinition",i.VARIABLE="Variable",i.INT="IntValue",i.FLOAT="FloatValue",i.STRING="StringValue",i.BOOLEAN="BooleanValue",i.NULL="NullValue",i.ENUM="EnumValue",i.LIST="ListValue",i.OBJECT="ObjectValue",i.OBJECT_FIELD="ObjectField",i.DIRECTIVE="Directive",i.NAMED_TYPE="NamedType",i.LIST_TYPE="ListType",i.NON_NULL_TYPE="NonNullType",i.SCHEMA_DEFINITION="SchemaDefinition",i.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",i.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",i.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",i.FIELD_DEFINITION="FieldDefinition",i.INPUT_VALUE_DEFINITION="InputValueDefinition",i.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",i.UNION_TYPE_DEFINITION="UnionTypeDefinition",i.ENUM_TYPE_DEFINITION="EnumTypeDefinition",i.ENUM_VALUE_DEFINITION="EnumValueDefinition",i.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",i.DIRECTIVE_DEFINITION="DirectiveDefinition",i.SCHEMA_EXTENSION="SchemaExtension",i.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",i.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",i.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",i.UNION_TYPE_EXTENSION="UnionTypeExtension",i.ENUM_TYPE_EXTENSION="EnumTypeExtension",i.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(W||(W={}));function sf(i){return i===9||i===32}function sl(i){return i>=48&&i<=57}function Qm(i){return i>=97&&i<=122||i>=65&&i<=90}function Gm(i){return Qm(i)||i===95}function nE(i){return Qm(i)||sl(i)||i===95}function aE(i){var t;let a=Number.MAX_SAFE_INTEGER,l=null,s=-1;for(let f=0;f<i.length;++f){var o;const h=i[f],v=iE(h);v!==h.length&&(l=(o=l)!==null&&o!==void 0?o:f,s=f,f!==0&&v<a&&(a=v))}return i.map((f,h)=>h===0?f:f.slice(a)).slice((t=l)!==null&&t!==void 0?t:0,s+1)}function iE(i){let t=0;for(;t<i.length&&sf(i.charCodeAt(t));)++t;return t}function rE(i,t){const a=i.replace(/"""/g,'\\"""'),l=a.split(/\r\n|[\n\r]/g),s=l.length===1,o=l.length>1&&l.slice(1).every(E=>
vendor: 20,765 bytes, lines 15-30
15E.length===0||sf(E.charCodeAt(0))),f=a.endsWith('\\"""'),h=i.endsWith('"')&&!f,v=i.endsWith("\\"),p=h||v,y=!s||i.length>70||p||o||f;let g="";const b=s&&sf(i.charCodeAt(0));return(y&&!b||o)&&(g+=` 16`),g+=a,(y||p)&&(g+=` 17`),'"""'+g+'"""'}var Y;(function(i){i.SOF="<SOF>",i.EOF="<EOF>",i.BANG="!",i.DOLLAR="$",i.AMP="&",i.PAREN_L="(",i.PAREN_R=")",i.SPREAD="...",i.COLON=":",i.EQUALS="=",i.AT="@",i.BRACKET_L="[",i.BRACKET_R="]",i.BRACE_L="{",i.PIPE="|",i.BRACE_R="}",i.NAME="Name",i.INT="Int",i.FLOAT="Float",i.STRING="String",i.BLOCK_STRING="BlockString",i.COMMENT="Comment"})(Y||(Y={}));class lE{constructor(t){const a=new Bm(Y.SOF,0,0,0,0);this.source=t,this.lastToken=a,this.token=a,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let t=this.token;if(t.kind!==Y.EOF)do if(t.next)t=t.next;else{const a=uE(this,t.end);t.next=a,a.prev=t,t=a}while(t.kind===Y.COMMENT);return t}}function sE(i){return i===Y.BANG||i===Y.DOLLAR||i===Y.AMP||i===Y.PAREN_L||i===Y.PAREN_R||i===Y.SPREAD||i===Y.COLON||i===Y.EQUALS||i===Y.AT||i===Y.BRACKET_L||i===Y.BRACKET_R||i===Y.BRACE_L||i===Y.PIPE||i===Y.BRACE_R}function Bi(i){return i>=0&&i<=55295||i>=57344&&i<=1114111}function eu(i,t){return Im(i.charCodeAt(t))&&Hm(i.charCodeAt(t+1))}function Im(i){return i>=55296&&i<=56319}function Hm(i){return i>=56320&&i<=57343}function La(i,t){const a=i.source.body.codePointAt(t);if(a===void 0)return Y.EOF;if(a>=32&&a<=126){const l=String.fromCodePoint(a);return l==='"'?`'"'`:`"${l}"`}return"U+"+a.toString(16).toUpperCase().padStart(4,"0")}function We(i,t,a,l,s){const o=i.line,f=1+a-i.lineStart;return new Bm(t,a,l,o,f,s)}function uE(i,t){const a=i.source.body,l=a.length;let s=t;for(;s<l;){const o=a.charCodeAt(s);switch(o){case 65279:case 9:case 32:case 44:++s;continue;case 10:++s,++i.line,i.lineStart=s;continue;case 13:a.charCodeAt(s+1)===10?s+=2:++s,++i.line,i.lineStart=s;continue;case 35:return oE(i,s);case 33:return We(i,Y.BANG,s,s+1);case 36:return We(i,Y.DOLLAR,s,s+1);case 38:return We(i,Y.AMP,s,s+1);case 40:return We(i,Y.PAREN_L,s,s+1);case 41:return We(i,Y.PAREN_R,s,s+1);case 46:if(a.charCodeAt(s+1)===46&&a.charCodeAt(s+2)===46)return We(i,Y.SPREAD,s,s+3);break;case 58:return We(i,Y.COLON,s,s+1);case 61:return We(i,Y.EQUALS,s,s+1);case 64:return We(i,Y.AT,s,s+1);case 91:return We(i,Y.BRACKET_L,s,s+1);case 93:return We(i,Y.BRACKET_R,s,s+1);case 123:return We(i,Y.BRACE_L,s,s+1);case 124:return We(i,Y.PIPE,s,s+1);case 125:return We(i,Y.BRACE_R,s,s+1);case 34:return a.charCodeAt(s+1)===34&&a.charCodeAt(s+2)===34?vE(i,s):fE(i,s)}if(sl(o)||o===45)return cE(i,s,o);if(Gm(o))return yE(i,s);throw ut(i.source,s,o===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:Bi(o)||eu(a,s)?`Unexpected character: ${La(i,s)}.`:`Invalid character: ${La(i,s)}.`)}return We(i,Y.EOF,l,l)}function oE(i,t){const a=i.source.body,l=a.length;let s=t+1;for(;s<l;){const o=a.charCodeAt(s);if(o===10||o===13)break;if(Bi(o))++s;else if(eu(a,s))s+=2;else break}return We(i,Y.COMMENT,t,s,a.slice(t+1,s))}function cE(i,t,a){const l=i.source.body;let s=t,o=a,f=!1;if(o===45&&(o=l.charCodeAt(++s)),o===48){if(o=l.charCodeAt(++s),sl(o))throw ut(i.source,s,`Invalid number, unexpected digit after 0: ${La(i,s)}.`)}else s=Rc(i,s,o),o=l.charCodeAt(s);if(o===46&&(f=!0,o=l.charCodeAt(++s),s=Rc(i,s,o),o=l.charCodeAt(s)),(o===69||o===101)&&(f=!0,o=l.charCodeAt(++s),(o===43||o===45)&&(o=l.charCodeAt(++s)),s=Rc(i,s,o),o=l.charCodeAt(s)),o===46||Gm(o))throw ut(i.source,s,`Invalid number, expected digit but got: ${La(i,s)}.`);return We(i,f?Y.FLOAT:Y.INT,t,s,l.slice(t,s))}function Rc(i,t,a){if(!sl(a))throw ut(i.source,t,`Invalid number, expected digit but got: ${La(i,t)}.`);const l=i.source.body;let s=t+1;for(;sl(l.charCodeAt(s));)++s;return s}function fE(i,t){const a=i.source.body,l=a.length;let s=t+1,o=s,f="";for(;s<l;){const h=a.charCodeAt(s);if(h===34)return f+=a.slice(o,s),We(i,Y.STRING,t,s+1,f);if(h===92){f+=a.slice(o,s);const v=a.charCodeAt(s+1)===117?a.charCodeAt(s+2)===123?dE(i,s):hE(i,s):pE(i,s);f+=v.value,s+=v.size,o=s;continue}if(h===10||h===13)break;if(Bi(h))++s;else if(eu(a,s))s+=2;else throw ut(i.source,s,`Invalid character within String: ${La(i,s)}.`)}throw ut(i.source,s,"Unterminated string.")}function dE(i,t){const a=i.source.body;let l=0,s=3;for(;s<12;){const o=a.charCodeAt(t+s++);if(o===125){if(s<5||!Bi(l))break;return{value:String.fromCodePoint(l),size:s}}if(l=l<<4|Jr(o),l<0)break}throw ut(i.source,t,`Invalid Unicode escape sequence: "${a.slice(t,t+s)}".`)}function hE(i,t){const a=i.source.body,l=sy(a,t+2);if(Bi(l))return{value:String.fromCodePoint(l),size:6};if(Im(l)&&a.charCodeAt(t+6)===92&&a.charCodeAt(t+7)===117){const s=sy(a,t+8);if(Hm(s))return{value:String.fromCodePoint(l,s),size:12}}throw ut(i.source,t,`Invalid Unicode escape sequence: "${a.slice(t,t+6)}".`)}function sy(i,t){return Jr(i.charCodeAt(t))<<12|Jr(i.charCodeAt(t+1))<<8|Jr(i.charCodeAt(t+2))<<4|Jr(i.charCodeAt(t+3))}function Jr(i){return i>=48&&i<=57?i-48:i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:-1}function pE(i,t){const a=i.source.body;switch(a.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` 18`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw ut(i.source,t,`Invalid character escape sequence: "${a.slice(t,t+2)}".`)}function vE(i,t){const a=i.source.body,l=a.length;let s=i.lineStart,o=t+3,f=o,h="";const v=[];for(;o<l;){const p=a.charCodeAt(o);if(p===34&&a.charCodeAt(o+1)===34&&a.charCodeAt(o+2)===34){h+=a.slice(f,o),v.push(h);const y=We(i,Y.BLOCK_STRING,t,o+3,aE(v).join(` 19`));return i.line+=v.length-1,i.lineStart=s,y}if(p===92&&a.charCodeAt(o+1)===34&&a.charCodeAt(o+2)===34&&a.charCodeAt(o+3)===34){h+=a.slice(f,o),f=o+1,o+=4;continue}if(p===10||p===13){h+=a.slice(f,o),v.push(h),p===13&&a.charCodeAt(o+1)===10?o+=2:++o,h="",f=o,s=o;continue}if(Bi(p))++o;else if(eu(a,o))o+=2;else throw ut(i.source,o,`Invalid character within String: ${La(i,o)}.`)}throw ut(i.source,o,"Unterminated string.")}function yE(i,t){const a=i.source.body,l=a.length;let s=t+1;for(;s<l;){const o=a.charCodeAt(s);if(nE(o))++s;else break}return We(i,Y.NAME,t,s,a.slice(t,s))}const mE=10,Ym=2;function jf(i){return tu(i,[])}function tu(i,t){switch(typeof i){case"string":return JSON.stringify(i);case"function":return i.name?`[function ${i.name}]`:"[function]";case"object":return gE(i,t);default:return String(i)}}function gE(i,t){if(i===null)return"null";if(t.includes(i))return"[Circular]";const a=[...t,i];if(bE(i)){const l=i.toJSON();if(l!==i)return typeof l=="string"?l:tu(l,a)}else if(Array.isArray(i))return EE(i,a);return SE(i,a)}function bE(i){return typeof i.toJSON=="function"}function SE(i,t){const a=Object.entries(i);return a.length===0?"{}":t.length>Ym?"["+OE(i)+"]":"{ "+a.map(([s,o])=>s+": "+tu(o,t)).join(", ")+" }"}function EE(i,t){if(i.length===0)return"[]";if(t.length>Ym)return"[Array]";const a=Math.min(mE,i.length),l=i.length-a,s=[];for(let o=0;o<a;++o)s.push(tu(i[o],t));return l===1?s.push("... 1 more item"):l>1&&s.push(`... ${l} more items`),"["+s.join(", ")+"]"}function OE(i){const t=Object.prototype.toString.call(i).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof i.constructor=="function"){const a=i.constructor.name;if(typeof a=="string"&&a!=="")return a}return t}const TE=globalThis.process&&!0,_E=TE?function(t,a){return t instanceof a}:function(t,a){if(t instanceof a)return!0;if(typeof t=="object"&&t!==null){var l;const s=a.prototype[Symbol.toStringTag],o=Symbol.toStringTag in t?t[Symbol.toStringTag]:(l=t.constructor)===null||l===void 0?void 0:l.name;if(s===o){const f=jf(t);throw new Error(`Cannot use ${s} "${f}" from another module or realm. 20 21Ensure that there is only one instance of "graphql" in the node_modules 22directory. If different versions of "graphql" are the dependencies of other 23relied on modules, use "resolutions" to ensure only one version is installed. 24 25https://yarnpkg.com/en/docs/selective-version-resolutions 26 27Duplicate "graphql" modules cannot be used at the same time since different 28versions may have different capabilities and behavior. The data from one 29version used in the function from another could produce confusing and 30spurious results.`)}}return!1};class Pm{constructor(t,a="GraphQL request",l={line:1,column:1}){typeof t=="string"||qs(!1,`Body must be a string. Received: ${jf(t)}.`),this.body=t,this.name=a,this.locationOffset=l,this.locationOffset.line>0||qs(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||qs(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function NE(i){return _E(i,Pm)}function xE(i,t){const a=new AE(i,t),l=a.parseDocument();return Object.defineProperty(l,"tokenCount",{enumerable:!1,value:a.tokenCount}),l}class AE{constructor(t,a={}){const l=NE(t)?t:new Pm(t);this._lexer=new lE(l),this._options=a,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const t=this.expectToken(Y.NAME);return this.node(t,{kind:W.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:W.DOCUMENT,definitions:this.many(Y.SOF,this.parseDefinition,Y.EOF)})}parseDefinition(){if(this.peek(Y.BRACE_L))return this.parseOperationDefinition();const t=this.peekDescription(),a=t?this._lexer.lookahead():this._lexer.token;if(a.kind===Y.NAME){switch(a.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(t)throw ut(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(a.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(a)}parseOperationDefinition(){const t=this._lexer.token;if(this.peek(Y.BRACE_L))return this.node(t,{kind:W.OPERATION_DEFINITION,operation:Ai.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const a=this.parseOperationType();let l;return this.peek(Y.NAME)&&(l=this.parseName()),this.node(t,{kind:W.OPERATION_DEFINITION,operation:a,name:l,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const t=this.expectToken(Y.NAME);switch(t.value){case"query":return Ai.QUERY;case"mutation":return Ai.MUTATION;case"subscription":return Ai.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(Y.PAREN_L,this.parseVariableDefinition,Y.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:W.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(Y.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(Y.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const t=this._lexer.token;return this.expectToken(Y.DOLLAR),this.node(t,{kind:W.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:W.SELECTION_SET,selections:this.many(Y.BRACE_L,this.parseSelection,Y.BRACE_R)})}parseSelection(){return this.peek(Y.SPREAD)?this.parseFragment():this.parseField()}parseField(){const t=this._lexer.token,a=this.parseName();let l,s;return this.expectOptionalToken(Y.COLON)?(l=a,s=this.parseName()):s=a,this.node(t,{kind:W.FIELD,alias:l,name:s,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(Y.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){const a=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(Y.PAREN_L,a,Y.PAREN_R)}parseArgument(t=!1){const a=this._lexer.token,l=this.parseName();return this.expectToken(Y.COLON),this.node(a,{kind:W.ARGUMENT,name:l,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const t=this._lexer.token;this.expectToken(Y.SPREAD);const a=this.expectOptionalKeyword("on");return!a&&this.peek(Y.NAME)?this.node(t,{kind:W.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:W.INLINE_FRAGMENT,typeCondition:a?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const t=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:W.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:W.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){const a=this._lexer.token;switch(a.kind){case Y.BRACKET_L:return this.parseList(t);case Y.BRACE_L:return this.parseObject(t);case Y.INT:return this.advanceLexer(),this.node(a,{kind:W.INT,value:a.value});case Y.FLOAT:return this.advanceLexer(),this.node(a,{kind:W.FLOAT,value:a.value});case Y.STRING:case Y.BLOCK_STRING:return this.parseStringLiteral();case Y.NAME:switch(this.advanceLexer(),a.value){case"true":return this.node(a,{kind:W.BOOLEAN,value:!0});case"false":return this.node(a,{kind:W.BOOLEAN,value:!1});case"null":return this.node(a,{kind:W.NULL});default:return this.node(a,{kind:W.ENUM,value:a.value})}case Y.DOLLAR:if(t)if(this.expectToken(Y.DOLLAR),this._lexer.token.kind===Y.NAME){const l=this._lexer.token.value;throw ut(this._lexer.source,a.start,`Unexpected variable "$${l}" in constant value.`)}else throw this.unexpected(a);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:W.STRING,value:t.value,block:t.kind===Y.BLOCK_STRING})}parseList(t){const a=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:W.LIST,values:this.any(Y.BRACKET_L,a,Y.BRACKET_R)})}parseObject(t){const a=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:W.OBJECT,fields:this.any(Y.BRACE_L,a,Y.BRACE_R)})}parseObjectField(t){const a=this._lexer.token,l=this.parseName();return this.expectToken(Y.COLON),this.node(a,{kind:W.OBJECT_FIELD,name:l,value:this.parseValueLiteral(t)})}parseDirectives(t){const a=[];for(;this.peek(Y.AT);)a.push(this.parseDirective(t));return a}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){const a=this._lexer.token;return this.expectToken(Y.AT),this.node(a,{kind:W.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){const t=this._lexer.token;let a;if(this.expectOptionalToken(Y.BRACKET_L)){const l=this.parseTypeReference();this.expectToken(Y.BRACKET_R),a=this.node(t,{kind:W.LIST_TYPE,type:l})}else a=this.parseNamedType();return this.expectOptionalToken(Y.BANG)?this.node(t,{kind:W.NON_NULL_TYPE,type:a}):a}parseNamedType(){return this.node(this._lexer.token,{kind:W.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(Y.STRING)||this.peek(Y.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const t=this._lexer.token,a=this.parseDescription();this.expectKeyword("schema");const l=this.parseConstDirectives(),s=this.many(Y.BRACE_L,this.parseOperationTypeDefinition,Y.BRACE_R);return this.node(t,{kind:W.SCHEMA_DEFINITION,description:a,directives:l,operationTypes:s})}parseOperationTypeDefinition(){const t=this._lexer.token,a=this.parseOperationType();this.expectToken(Y.COLON);const l=this.parseNamedType();return this.node(t,{kind:W.OPERATION_TYPE_DEFINITION,operation:a,type:l})}parseScalarTypeDefinition(){const t=this._lexer.token,a=this.parseDescription();this.expectKeyword("scalar");const l=this.parseName(),s=this.parseConstDirectives();return this.node(t,{kind:W.SCALAR_TYPE_DEFINITION,description:a,name:l,directives:s})}parseObjectTypeDefinition(){const t=this._lexer.token,a=this.parseDescription();this.expectKeyword("type");const l=this.parseName(),s=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),f=this.parseFieldsDefinition();return this.node(t,{kind:W.OBJECT_TYPE_DEFINITION,description:a,name:l,interfaces:s,directives:o,fields:f})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(Y.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(Y.BRACE_L,this.parseFieldDefinition,Y.BRACE_R)}parseFieldDefinition(){const t=this._lexer.token,a=this.parseDescription(),l=this.parseName(),s=this.parseArgumentDefs();this.expectToken(Y.COLON);const o=this.parseTypeReference(),f=this.parseConstDirectives();return this.node(t,{kind:W.FIELD_DEFINITION,description:a,name:l,arguments:s,type:o,directives:f})}parseArgumentDefs(){return this.optionalMany(Y.PAREN_L,this.parseInputValueDef,Y.PAREN_R)}parseInputValueDef(){const t=this._lexer.token,a=this.parseDescription(),l=this.parseName();this.expectToken(Y.COLON);const s=this.parseTypeReference();let o;this.expectOptionalToken(Y.EQUALS)&&(o=this.parseConstValueLiteral());const f=this.parseConstDirectives();return this.node(t,{kind:W.INPUT_VALUE_DEFINITION,description:a,name:l,type:s,defaultValue:o,directives:f})}parseInterfaceTypeDefinition(){const t=this._lexer.token,a=this.parseDescription();this.expectKeyword("interface");const l=this.parseName(),s=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),f=this.parseFieldsDefinition();return this.node(t,{kind:W.INTERFACE_TYPE_DEFINITION,description:a,name:l,interfaces:s,directives:o,fields:f})}parseUnionTypeDefinition(){const t=this._lexer.token,a=this.parseDescription();this.expectKeyword("union");const l=this.parseName(),s=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(t,{kind:W.UNION_TYPE_DEFINITION,description:a,name:l,directives:s,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(Y.EQUALS)?this.delimitedMany(Y.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const t=this._lexer.token,a=this.parseDescription();this.expectKeyword("enum");const l=this.parseName(),s=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(t,{kind:W.ENUM_TYPE_DEFINITION,description:a,name:l,directives:s,values:o})}parseEnumValuesDefinition(){return this.optionalMany(Y.BRACE_L,this.parseEnumValueDefinition,Y.BRACE_R)}parseEnumValueDefinition(){const t=this._lexer.token,a=this.parseDescription(),l=this.parseEnumValueName(),s=this.parseConstDirectives();return this.node(t,{kind:W.ENUM_VALUE_DEFINITION,description:a,name:l,directives:s})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw ut(this._lexer.source,this._lexer.token.start,`${Ls(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const t=this._lexer.token,a=this.parseDescription();this.expectKeyword("input");const l=this.parseName(),s=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(t,{kind:W.INPUT_OBJECT_TYPE_DEFINITION,description:a,name:l,directives:s,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(Y.BRACE_L,this.parseInputValueDef,Y.BRACE_R)}parseTypeSystemExtension(){const t=this._lexer.lookahead();if(t.kind===Y.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){const t=this._lexer.token;this.expectKeyword("extend
30"),this.expectKeyword("schema");const a=this.parseConstDirectives(),l=this.optionalMany(Y.BRACE_L,this.parseOperationTypeDefinition,Y.BRACE_R);if(a.length===0&&l.length===0)throw this.unexpected();return this.node(t,{kind:W.SCHEMA_EXTENSION,directives:a,operationTypes:l})}parseScalarTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const a=this.parseName(),l=this.parseConstDirectives();if(l.length===0)throw this.unexpected();return this.node(t,{kind:W.SCALAR_TYPE_EXTENSION,name:a,directives:l})}parseObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const a=this.parseName(),l=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(l.length===0&&s.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:W.OBJECT_TYPE_EXTENSION,name:a,interfaces:l,directives:s,fields:o})}parseInterfaceTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const a=this.parseName(),l=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(l.length===0&&s.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:W.INTERFACE_TYPE_EXTENSION,name:a,interfaces:l,directives:s,fields:o})}parseUnionTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const a=this.parseName(),l=this.parseConstDirectives(),s=this.parseUnionMemberTypes();if(l.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:W.UNION_TYPE_EXTENSION,name:a,directives:l,types:s})}parseEnumTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const a=this.parseName(),l=this.parseConstDirectives(),s=this.parseEnumValuesDefinition();if(l.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:W.ENUM_TYPE_EXTENSION,name:a,directives:l,values:s})}parseInputObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const a=this.parseName(),l=this.parseConstDirectives(),s=this.parseInputFieldsDefinition();if(l.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:W.INPUT_OBJECT_TYPE_EXTENSION,name:a,directives:l,fields:s})}parseDirectiveDefinition(){const t=this._lexer.token,a=this.parseDescription();this.expectKeyword("directive"),this.expectToken(Y.AT);const l=this.parseName(),s=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const f=this.parseDirectiveLocations();return this.node(t,{kind:W.DIRECTIVE_DEFINITION,description:a,name:l,arguments:s,repeatable:o,locations:f})}parseDirectiveLocations(){return this.delimitedMany(Y.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const t=this._lexer.token,a=this.parseName();if(Object.prototype.hasOwnProperty.call(lf,a.value))return a;throw this.unexpected(t)}node(t,a){return this._options.noLocation!==!0&&(a.loc=new eE(t,this._lexer.lastToken,this._lexer.source)),a}peek(t){return this._lexer.token.kind===t}expectToken(t){const a=this._lexer.token;if(a.kind===t)return this.advanceLexer(),a;throw ut(this._lexer.source,a.start,`Expected ${Xm(t)}, found ${Ls(a)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){const a=this._lexer.token;if(a.kind===Y.NAME&&a.value===t)this.advanceLexer();else throw ut(this._lexer.source,a.start,`Expected "${t}", found ${Ls(a)}.`)}expectOptionalKeyword(t){const a=this._lexer.token;return a.kind===Y.NAME&&a.value===t?(this.advanceLexer(),!0):!1}unexpected(t){const a=t??this._lexer.token;return ut(this._lexer.source,a.start,`Unexpected ${Ls(a)}.`)}any(t,a,l){this.expectToken(t);const s=[];for(;!this.expectOptionalToken(l);)s.push(a.call(this));return s}optionalMany(t,a,l){if(this.expectOptionalToken(t)){const s=[];do s.push(a.call(this));while(!this.expectOptionalToken(l));return s}return[]}many(t,a,l){this.expectToken(t);const s=[];do s.push(a.call(this));while(!this.expectOptionalToken(l));return s}delimitedMany(t,a){this.expectOptionalToken(t);const l=[];do l.push(a.call(this));while(this.expectOptionalToken(t));return l}advanceLexer(){const{maxTokens:t}=this._options,a=this._lexer.advance();if(a.kind!==Y.EOF&&(++this._tokenCounter,t!==void 0&&this._tokenCounter>t))throw ut(this._lexer.source,a.start,`Document contains more that ${t} tokens. Parsing aborted.`)}}function Ls(i){const t=i.value;return Xm(i.kind)+(t!=null?` "${t}"`:"")}function Xm(i){return sE(i)?`"${i}"`:i}function DE(i){return`"${i.replace(CE,wE)}"`}const CE=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;
vendor: 4,297 bytes, lines 30-37
30function wE(i){return RE[i.charCodeAt(0)]}const RE=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],nu=Object.freeze({});function tn(i,t,a=Fm){const l=new Map;for(const T of Object.values(W))l.set(T,ME(t,T));let s,o=Array.isArray(i),f=[i],h=-1,v=[],p=i,y,g;const b=[],E=[];do{h++;const T=h===f.length,C=T&&v.length!==0;if(T){if(y=E.length===0?void 0:b[b.length-1],p=g,g=E.pop(),C)if(o){p=p.slice();let j=0;for(const[U,F]of v){const B=U-j;F===null?(p.splice(B,1),j++):p[B]=F}}else{p={...p};for(const[j,U]of v)p[j]=U}h=s.index,f=s.keys,v=s.edits,o=s.inArray,s=s.prev}else if(g){if(y=o?h:f[h],p=g[y],p==null)continue;b.push(y)}let R;if(!Array.isArray(p)){var O,A;ly(p)||qs(!1,`Invalid AST Node: ${jf(p)}.`);const j=T?(O=l.get(p.kind))===null||O===void 0?void 0:O.leave:(A=l.get(p.kind))===null||A===void 0?void 0:A.enter;if(R=j?.call(t,p,y,g,b,E),R===nu)break;if(R===!1){if(!T){b.pop();continue}}else if(R!==void 0&&(v.push([y,R]),!T))if(ly(R))p=R;else{b.pop();continue}}if(R===void 0&&C&&v.push([y,p]),T)b.pop();else{var x;s={inArray:o,index:h,keys:f,edits:v,prev:s},o=Array.isArray(p),f=o?p:(x=a[p.kind])!==null&&x!==void 0?x:[],h=-1,v=[],g&&E.push(g),g=p}}while(s!==void 0);return v.length!==0?v[v.length-1][1]:i}function ME(i,t){const a=i[t];return typeof a=="object"?a:typeof a=="function"?{enter:a,leave:void 0}:{enter:i.enter,leave:i.leave}}function kE(i){return tn(i,zE)}const LE=80,zE={Name:{leave:i=>i.value},Variable:{leave:i=>"$"+i.name},Document:{leave:i=>ae(i.definitions,` 31 32`)},OperationDefinition:{leave(i){const t=Ne("(",ae(i.variableDefinitions,", "),")"),a=ae([i.operation,ae([i.name,t]),ae(i.directives," ")]," ");return(a==="query"?"":a+" ")+i.selectionSet}},VariableDefinition:{leave:({variable:i,type:t,defaultValue:a,directives:l})=>i+": "+t+Ne(" = ",a)+Ne(" ",ae(l," "))},SelectionSet:{leave:({selections:i})=>Wt(i)},Field:{leave({alias:i,name:t,arguments:a,directives:l,selectionSet:s}){const o=Ne("",i,": ")+t;let f=o+Ne("(",ae(a,", "),")");return f.length>LE&&(f=o+Ne(`( 33`,Vs(ae(a,` 34`)),` 35)`)),ae([f,ae(l," "),s]," ")}},Argument:{leave:({name:i,value:t})=>i+": "+t},FragmentSpread:{leave:({name:i,directives:t})=>"..."+i+Ne(" ",ae(t," "))},InlineFragment:{leave:({typeCondition:i,directives:t,selectionSet:a})=>ae(["...",Ne("on ",i),ae(t," "),a]," ")},FragmentDefinition:{leave:({name:i,typeCondition:t,variableDefinitions:a,directives:l,selectionSet:s})=>`fragment ${i}${Ne("(",ae(a,", "),")")} on ${t} ${Ne("",ae(l," ")," ")}`+s},IntValue:{leave:({value:i})=>i},FloatValue:{leave:({value:i})=>i},StringValue:{leave:({value:i,block:t})=>t?rE(i):DE(i)},BooleanValue:{leave:({value:i})=>i?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:i})=>i},ListValue:{leave:({values:i})=>"["+ae(i,", ")+"]"},ObjectValue:{leave:({fields:i})=>"{"+ae(i,", ")+"}"},ObjectField:{leave:({name:i,value:t})=>i+": "+t},Directive:{leave:({name:i,arguments:t})=>"@"+i+Ne("(",ae(t,", "),")")},NamedType:{leave:({name:i})=>i},ListType:{leave:({type:i})=>"["+i+"]"},NonNullType:{leave:({type:i})=>i+"!"},SchemaDefinition:{leave:({description:i,directives:t,operationTypes:a})=>Ne("",i,` 36`)+ae(["schema",ae(t," "),Wt(a)]," ")},OperationTypeDefinition:{leave:({operation:i,type:t})=>i+": "+t},ScalarTypeDefinition:{leave:({description:i,name:t,directives:a})=>Ne("",i,` 37`)+ae(["scalar",t,ae(a," ")]," ")},ObjectTypeDefinition:{leave:({description:i,name:t,interfaces:a,directives:l,fields:s})=>Ne("",i,`
38`)+ae(["type",t,Ne("implements ",ae(a," & ")),ae(l," "),Wt(s)]," ")},FieldDefinition:{leave:({description:i,name:t,arguments:a,type:l,directives:s})=>Ne("",i,` 39`)+t+(uy(a)?Ne(`( 40`,Vs(ae(a,` 41`)),` 42)`):Ne("(",ae(a,", "),")"))+": "+l+Ne(" ",ae(s," "))},InputValueDefinition:{leave:({description:i,name:t,type:a,defaultValue:l,directives:s})=>Ne("",i,` 43`)+ae([t+": "+a,Ne("= ",l),ae(s," ")]," ")},InterfaceTypeDefinition:{leave:({description:i,name:t,interfaces:a,directives:l,fields:s})=>Ne("",i,` 44`)+ae(["interface",t,Ne("implements ",ae(a," & ")),ae(l," "),Wt(s)]," ")},UnionTypeDefinition:{leave:({description:i,name:t,directives:a,types:l})=>Ne("",i,` 45`)+ae(["union",t,ae(a," "),Ne("= ",ae(l," | "))]," ")},EnumTypeDefinition:{leave:({description:i,name:t,directives:a,values:l})=>Ne("",i,` 46`)+ae(["enum",t,ae(a," "),Wt(l)]," ")},EnumValueDefinition:{leave:({description:i,name:t,directives:a})=>Ne("",i,` 47`)+ae([t,ae(a," ")]," ")},InputObjectTypeDefinition:{leave:({description:i,name:t,directives:a,fields:l})=>Ne("",i,` 48`)+ae(["input",t,ae(a," "),Wt(l)]," ")},DirectiveDefinition:{leave:({description:i,name:t,arguments:a,repeatable:l,locations:s})=>Ne("",i,` 49`)+"directive @"+t+(uy(a)?Ne(`( 50`,Vs(ae(a,` 51`)),` 52)`):Ne("(",ae(a,", "),")"))+(l?" repeatable":"")+" on "+ae(s," | ")},SchemaExtension:{leave:({directives:i,operationTypes:t})=>ae(["extend schema",ae(i," "),Wt(t)]," ")},ScalarTypeExtension:{leave:({name:i,directives:t})=>ae(["extend scalar",i,ae(t," ")]," ")},ObjectTypeExtension:{leave:({name:i,interfaces:t,directives:a,fields:l})=>ae(["extend type",i,Ne("implements ",ae(t," & ")),ae(a," "),Wt(l)]," ")},InterfaceTypeExtension:{leave:({name:i,interfaces:t,directives:a,fields:l})=>ae(["extend interface",i,Ne("implements ",ae(t," & ")),ae(a," "),Wt(l)]," ")},UnionTypeExtension:{leave:({name:i,directives:t,types:a})=>ae(["extend union",i,ae(t," "),Ne("= ",ae(a," | "))]," ")},EnumTypeExtension:{leave:({name:i,directives:t,values:a})=>ae(["extend enum",i,ae(t," "),Wt(a)]," ")},InputObjectTypeExtension:{leave:({name:i,directives:t,fields:a})=>ae(["extend input",i,ae(t," "),Wt(a)]," ")}};function ae(i,t=""){var a;return(a=i?.filter(l=>l).join(t))!==null&&a!==void 0?a:""}function Wt(i){return Ne(`{ 53`,Vs(ae(i,` 54`)),` 55}`)}function Ne(i,t,a=""){return t!=null&&t!==""?i+t+a:""}function Vs(i){return Ne(" ",i.replace(/\n/g,` 56 `))}function uy(i){var t;return(t=i?.some(a=>a.includes(` 57`)))!==null&&t!==void 0?t:!1}function oy(i){return i.kind===W.FIELD||i.kind===W.FRAGMENT_SPREAD||i.kind===W.INLINE_FRAGMENT}function vl(i,t){var a=i.directives;return!a||!a.length?!0:qE(a).every(function(l){var s=l.directive,o=l.ifArgument,f=!1;return o.value.kind==="Variable"?(f=t&&t[o.value.name.value],te(f!==void 0,78,s.name.value)):f=o.value.value,s.name.value==="skip"?!f:f})}function ul(i,t,a){var l=new Set(i),s=l.size;return tn(t,{Directive:function(o){if(l.delete(o.name.value)&&(!a||!l.size))return nu}}),a?!l.size:l.size<s}function jE(i){return i&&ul(["client","export"],i,!0)}function UE(i){var t=i.name.value;return t==="skip"||t==="include"}function qE(i){var t=[];return i&&i.length&&i.forEach(function(a){if(UE(a)){var l=a.arguments,s=a.name.value;te(l&&l.length===1,79,s);var o=l[0];te(o.name&&o.name.value==="if",80,s);var f=o.value;te(f&&(f.kind==="Variable"||f.kind==="BooleanValue"),81,s),t.push({directive:a,ifArgument:o})}}),t}function VE(i){var t,a,l=(t=i.directives)===null||t===void 0?void 0:t.find(function(o){var f=o.name;return f.value==="unmask"});if(!l)return"mask";var s=(a=l.arguments)===null||a===void 0?void 0:a.find(function(o){var f=o.name;return f.value==="mode"});return globalThis.__DEV__!==!1&&s&&(s.value.kind===W.VARIABLE?globalThis.__DEV__!==!1&&te.warn(82):s.value.kind!==W.STRING?globalThis.__DEV__!==!1&&te.warn(83):s.value.value!=="migrate"&&globalThis.__DEV__!==!1&&te.warn(84,s.value.value)),s&&"value"in s.value&&s.value.value==="migrate"?"migrate":"unmask"}const BE=()=>Object.create(null),{forEach:FE,slice:cy}=Array.prototype,{hasOwnProperty:QE}=Object.prototype;class wn{constructor(t=!0,a=BE){this.weakness=t,this.makeData=a}lookup(){return this.lookupArray(arguments)}lookupArray(t){let a=this;return FE.call(t,l=>a=a.getChildTrie(l)),QE.call(a,"data")?a.data:a.data=this.makeData(cy.call(t))}peek(){return this.peekArray(arguments)}peekArray(t){let a=this;for(let l=0,s=t.length;a&&l<s;++l){const o=a.mapFor(t[l],!1);a=o&&o.get(t[l])}return a&&a.data}remove(){return this.removeArray(arguments)}removeArray(t){let a;if(t.length){const l=t[0],s=this.mapFor(l,!1),o=s&&s.get(l);o&&(a=o.removeArray(cy.call(t,1)),!o.data&&!o.weak&&!(o.strong&&o.strong.size)&&s.delete(l))}else a=this.data,delete this.data;return a}getChildTrie(t){const a=this.mapFor(t,!0);let l=a.get(t);return l||a.set(t,l=new wn(this.weakness,this.makeData)),l}mapFor(t,a){return this.weakness&&GE(t)?this.weak||(a?this.weak=new WeakMap:void 0):this.strong||(a?this.strong=new Map:void 0)}}function GE(i){switch(typeof i){case"object":if(i===null)break;case"function":return!0}return!1}var Km=en(function(){return navigator.product})=="ReactNative",Ua=typeof WeakMap=="function"&&!(Km&&!global.HermesInternal),Uf=typeof WeakSet=="function",qf=typeof Symbol=="function"&&typeof Symbol.for=="function",au=qf&&Symbol.asyncIterator,Zm=typeof en(function(){return window.document.createElement})=="function",IE=en(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,HE=(Zm||Km)&&!IE;function Pe(i){return i!==null&&typeof i=="object"}function YE(i,t){var a=t,l=[];
57i.definitions.forEach(function(o){if(o.kind==="OperationDefinition")throw Et(85,o.operation,o.name?" named '".concat(o.name.value,"'"):"");o.kind==="FragmentDefinition"&&l.push(o)}),typeof a>"u"&&(te(l.length===1,86,l.length),a=l[0].name.value);var s=w(w({},i),{definitions:mt([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:a}}]}}],i.definitions,!0)});return s}function Fi(i){i===void 0&&(i=[]);var t={};return i.forEach(function(a){t[a.name.value]=a}),t}function iu(i,t){switch(i.kind){case"InlineFragment":return i;case"FragmentSpread":{var a=i.name.value;if(typeof t=="function")return t(a);var l=t&&t[a];return te(l,87,a),l||null}default:return null}}function PE(i){var t=!0;return tn(i,{FragmentSpread:function(a){if(t=!!a.directives&&a.directives.some(function(l){return l.name.value==="unmask"}),!t)return nu}}),t}function XE(){}class uf{constructor(t=1/0,a=XE){this.max=t,this.dispose=a,this.map=new Map,this.newest=null,this.oldest=null}has(t){return this.map.has(t)}get(t){const a=this.getNode(t);return a&&a.value}get size(){return this.map.size}getNode(t){const a=this.map.get(t);if(a&&a!==this.newest){const{older:l,newer:s}=a;s&&(s.older=l),l&&(l.newer=s),a.older=this.newest,a.older.newer=a,a.newer=null,this.newest=a,a===this.oldest&&(this.oldest=s)}return a}set(t,a){let l=this.getNode(t);return l?l.value=a:(l={key:t,value:a,newer:null,older:this.newest},this.newest&&(this.newest.newer=l),this.newest=l,this.oldest=this.oldest||l,this.map.set(t,l),l.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(t){const a=this.map.get(t);return a?(a===this.newest&&(this.newest=a.older),a===this.oldest&&(this.oldest=a.newer),a.newer&&(a.newer.older=a.older),a.older&&(a.older.newer=a.newer),this.map.delete(t),this.dispose(a.value,t),!0):!1}}function of(){}const KE=of,ZE=typeof WeakRef<"u"?WeakRef:function(i){return{deref:()=>i}},JE=typeof WeakMap<"u"?WeakMap:Map,$E=typeof FinalizationRegistry<"u"?FinalizationRegistry:function(){return{register:of,unregister:of}},WE=10024;class Ps{constructor(t=1/0,a=KE){this.max=t,this.dispose=a,this.map=new JE,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const l=this.unfinalizedNodes.values();for(let s=0;s<WE;s++){const o=l.next().value;if(!o)break;this.unfinalizedNodes.delete(o);const f=o.key;delete o.key,o.keyRef=new ZE(f),this.registry.register(f,o,o)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new $E(this.deleteNode.bind(this))}has(t){return this.map.has(t)}get(t){const a=this.getNode(t);return a&&a.value}getNode(t){const a=this.map.get(t);if(a&&a!==this.newest){const{older:l,newer:s}=a;s&&(s.older=l),l&&(l.newer=s),a.older=this.newest,a.older.newer=a,a.newer=null,this.newest=a,a===this.oldest&&(this.oldest=s)}return a}set(t,a){let l=this.getNode(t);return l?l.value=a:(l={key:t,value:a,newer:null,older:this.newest},this.newest&&(this.newest.newer=l),this.newest=l,this.oldest=this.oldest||l,this.scheduleFinalization(l),this.map.set(t,l),this.size++,l.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(t){t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.size--;const a=t.key||t.keyRef&&t.keyRef.deref();this.dispose(t.value,a),t.keyRef?this.registry.unregister(t):this.unfinalizedNodes.delete(t),a&&this.map.delete(a)}delete(t){const a=this.map.get(t);return a?(this.deleteNode(a),!0):!1}scheduleFinalization(t){this.unfinalizedNodes.add(t),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}var Mc=new WeakSet;function Jm(i){i.size<=(i.max||-1)||Mc.has(i)||(Mc.add(i),setTimeout(function(){i.clean(),Mc.delete(i)},100))}var Vf=function(i,t){var a=new Ps(i,t);return a.set=function(l,s){var o=Ps.prototype.set.call(this,l,s);return Jm(this),o},a},eO=function(i,t){var a=new uf(i,t);return a.set=function(l,s){var o=uf.prototype.set.call(this,l,s);return Jm(this),o},a},tO=Symbol.for("apollo.cacheSize"),dn=w({},nf[tO]),wa={};function Bf(i,t){wa[i]=t}var nO=globalThis.__DEV__!==!1?lO:void 0,aO=globalThis.__DEV__!==!1?sO:void 0,iO=globalThis.__DEV__!==!1?$m:void 0;function rO(){var i={parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4};return Object.fromEntries(Object.entries(i).map(function(t){var a=t[0],l=t[1];return[a,dn[a]||l]}))}function lO(){var i,t,a,l,s;if(globalThis.__DEV__===!1)throw new Error("only supported in development mode");return{limits:rO(),sizes:w({print:(i=wa.print)===null||i===void 0?void 0:i.call(wa),parser:(t=wa.parser)===null||t===void 0?void 0:t.call(wa),canonicalStringify:(a=wa.canonicalStringify)===null||a===void 0?void 0:a.call(wa),links:ff(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:eg(this.queryManager.documentTransform)}},(s=(l=this.cache).getMemoryInternals)===null||s===void 0?void 0:s.call(l))}}function $m(){return{cache:{fragmentQueryDocuments:ra(this.getFragmentDoc)}}}function sO(){var i=this.config.fragments;return w(w({},$m.apply(this)),{addTypenameDocumentTransform:eg(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:ra(this.storeReader.executeSelectionSet),executeSubSelectedArray:ra(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:ra(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:ra(i?.findFragmentSpreads),lookup:ra(i?.lookup),transform:ra(i?.transform)}})}function uO(i){return!!i&&"dirtyKey"in i}function ra(i){return uO(i)?i.size:void 0}function Wm(i){return i!=null}function eg(i){return cf(i).map(function(t){return{cache:t}})}
57function cf(i){return i?mt(mt([ra(i?.performWork)],cf(i?.left),!0),cf(i?.right),!0).filter(Wm):[]}function ff(i){var t;return i?mt(mt([(t=i?.getMemoryInternals)===null||t===void 0?void 0:t.call(i)],ff(i?.left),!0),ff(i?.right),!0).filter(Wm):[]}var sa=Object.assign(function(t){return JSON.stringify(t,oO)},{reset:function(){Di=new eO(dn.canonicalStringify||1e3)}});globalThis.__DEV__!==!1&&Bf("canonicalStringify",function(){return Di.size});var Di;sa.reset();function oO(i,t){if(t&&typeof t=="object"){var a=Object.getPrototypeOf(t);if(a===Object.prototype||a===null){var l=Object.keys(t);if(l.every(cO))return t;var s=JSON.stringify(l),o=Di.get(s);if(!o){l.sort();var f=JSON.stringify(l);o=Di.get(f)||l,Di.set(s,o),Di.set(f,o)}var h=Object.create(a);return o.forEach(function(v){h[v]=t[v]}),h}}return t}function cO(i,t,a){return t===0||a[t-1]<=i}function ki(i){return{__ref:String(i)}}function Me(i){return!!(i&&typeof i=="object"&&typeof i.__ref=="string")}function fO(i){return Pe(i)&&i.kind==="Document"&&Array.isArray(i.definitions)}function dO(i){return i.kind==="StringValue"}function hO(i){return i.kind==="BooleanValue"}function pO(i){return i.kind==="IntValue"}function vO(i){return i.kind==="FloatValue"}function yO(i){return i.kind==="Variable"}function mO(i){return i.kind==="ObjectValue"}function gO(i){return i.kind==="ListValue"}function bO(i){return i.kind==="EnumValue"}function SO(i){return i.kind==="NullValue"}function ji(i,t,a,l){if(pO(a)||vO(a))i[t.value]=Number(a.value);else if(hO(a)||dO(a))i[t.value]=a.value;else if(mO(a)){var s={};a.fields.map(function(f){return ji(s,f.name,f.value,l)}),i[t.value]=s}else if(yO(a)){var o=(l||{})[a.name.value];i[t.value]=o}else if(gO(a))i[t.value]=a.values.map(function(f){var h={};return ji(h,t,f,l),h[t.value]});else if(bO(a))i[t.value]=a.value;else if(SO(a))i[t.value]=null;else throw Et(96,t.value,a.kind)}function EO(i,t){var a=null;i.directives&&(a={},i.directives.forEach(function(s){a[s.name.value]={},s.arguments&&s.arguments.forEach(function(o){var f=o.name,h=o.value;return ji(a[s.name.value],f,h,t)})}));var l=null;return i.arguments&&i.arguments.length&&(l={},i.arguments.forEach(function(s){var o=s.name,f=s.value;return ji(l,o,f,t)})),tg(i.name.value,l,a)}var OO=["connection","include","skip","client","rest","export","nonreactive"],Ir=sa,tg=Object.assign(function(i,t,a){if(t&&a&&a.connection&&a.connection.key)if(a.connection.filter&&a.connection.filter.length>0){var l=a.connection.filter?a.connection.filter:[];l.sort();var s={};return l.forEach(function(h){s[h]=t[h]}),"".concat(a.connection.key,"(").concat(Ir(s),")")}else return a.connection.key;var o=i;if(t){var f=Ir(t);o+="(".concat(f,")")}return a&&Object.keys(a).forEach(function(h){OO.indexOf(h)===-1&&(a[h]&&Object.keys(a[h]).length?o+="@".concat(h,"(").concat(Ir(a[h]),")"):o+="@".concat(h))}),o},{setStringify:function(i){var t=Ir;return Ir=i,t}});function ru(i,t){if(i.arguments&&i.arguments.length){var a={};return i.arguments.forEach(function(l){var s=l.name,o=l.value;return ji(a,s,o,t)}),a}return null}function Cn(i){return i.alias?i.alias.value:i.name.value}function df(i,t,a){for(var l,s=0,o=t.selections;s<o.length;s++){var f=o[s];if(ua(f)){if(f.name.value==="__typename")return i[Cn(f)]}else l?l.push(f):l=[f]}if(typeof i.__typename=="string")return i.__typename;if(l)for(var h=0,v=l;h<v.length;h++){var f=v[h],p=df(i,iu(f,a).selectionSet,a);if(typeof p=="string")return p}}function ua(i){return i.kind==="Field"}function TO(i){return i.kind==="InlineFragment"}function Qi(i){te(i&&i.kind==="Document",88);var t=i.definitions.filter(function(a){return a.kind!=="FragmentDefinition"}).map(function(a){if(a.kind!=="OperationDefinition")throw Et(89,a.kind);return a});return te(t.length<=1,90,t.length),i}function za(i){return Qi(i),i.definitions.filter(function(t){return t.kind==="OperationDefinition"})[0]}function $r(i){return i.definitions.filter(function(t){return t.kind==="OperationDefinition"&&!!t.name}).map(function(t){return t.name.value})[0]||null}function Gi(i){return i.definitions.filter(function(t){return t.kind==="FragmentDefinition"})}function ng(i){var t=za(i);return te(t&&t.operation==="query",91),t}function ag(i){te(i.kind==="Document",92),te(i.definitions.length<=1,93);var t=i.definitions[0];return te(t.kind==="FragmentDefinition",94),t}function yl(i){Qi(i);for(var t,a=0,l=i.definitions;a<l.length;a++){var s=l[a];if(s.kind==="OperationDefinition"){var o=s.operation;if(o==="query"||o==="mutation"||o==="subscription")return s}s.kind==="FragmentDefinition"&&!t&&(t=s)}if(t)return t;throw Et(95)}function Ff(i){var t=Object.create(null),a=i&&i.variableDefinitions;return a&&a.length&&a.forEach(function(l){l.defaultValue&&ji(t,l.variable.name,l.defaultValue)}),t}let dt=null;const fy={};let _O=1;const NO=()=>class{constructor(){this.id=["slot",_O++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let t=dt;t;t=t.parent)if(this.id in t.slots){const a=t.slots[this.id];if(a===fy)break;return t!==dt&&(dt.slots[this.id]=a),!0}return dt&&(dt.slots[this.id]=fy),!1}getValue(){if(this.hasValue())return dt.slots[this.id]}withValue(t,a,l,s){const o={__proto__:null,[this.id]:t},f=dt;dt={parent:f,slots:o};try{return a.apply(s,l)}finally{dt=f}}static bind(t){const a=dt;return function(){const l=dt;try{return dt=a,t.apply(this,arguments)}finally{dt=l}}}static noContext(t,a,l){if(dt){const s=dt;try{return dt=null,t.apply(l,a)}finally{dt=s}}else return t.apply(l,a)}};function dy(i){try{return i()}catch{}}const kc="@wry/context:Slot",xO=dy(()=>globalThis)||dy(()=>global)||Object.create(null),hy=xO,ml=hy[kc]||Array[kc]||function(i){try{Object.defineProperty(hy,kc,{value:i,enumerable:!1,writable:!1,
57configurable:!0})}finally{return i}}(NO()),{bind:IN,noContext:HN}=ml,lu=new ml,{hasOwnProperty:AO}=Object.prototype,Qf=Array.from||function(i){const t=[];return i.forEach(a=>t.push(a)),t};function Gf(i){const{unsubscribe:t}=i;typeof t=="function"&&(i.unsubscribe=void 0,t())}const ol=[],DO=100;function Ui(i,t){if(!i)throw new Error(t||"assertion failure")}function ig(i,t){const a=i.length;return a>0&&a===t.length&&i[a-1]===t[a-1]}function rg(i){switch(i.length){case 0:throw new Error("unknown value");case 1:return i[0];case 2:throw i[1]}}function lg(i){return i.slice(0)}class su{constructor(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++su.count}peek(){if(this.value.length===1&&!oa(this))return py(this),this.value[0]}recompute(t){return Ui(!this.recomputing,"already recomputing"),py(this),oa(this)?CO(this,t):rg(this.value)}setDirty(){this.dirty||(this.dirty=!0,sg(this),Gf(this))}dispose(){this.setDirty(),dg(this),If(this,(t,a)=>{t.setDirty(),hg(t,this)})}forget(){this.dispose()}dependOn(t){t.add(this),this.deps||(this.deps=ol.pop()||new Set),this.deps.add(t)}forgetDeps(){this.deps&&(Qf(this.deps).forEach(t=>t.delete(this)),this.deps.clear(),ol.push(this.deps),this.deps=null)}}su.count=0;function py(i){const t=lu.getValue();if(t)return i.parents.add(t),t.childValues.has(i)||t.childValues.set(i,[]),oa(i)?og(t,i):cg(t,i),t}function CO(i,t){return dg(i),lu.withValue(i,wO,[i,t]),MO(i,t)&&RO(i),rg(i.value)}function wO(i,t){i.recomputing=!0;const{normalizeResult:a}=i;let l;a&&i.value.length===1&&(l=lg(i.value)),i.value.length=0;try{if(i.value[0]=i.fn.apply(null,t),a&&l&&!ig(l,i.value))try{i.value[0]=a(i.value[0],l[0])}catch{}}catch(s){i.value[1]=s}i.recomputing=!1}function oa(i){return i.dirty||!!(i.dirtyChildren&&i.dirtyChildren.size)}function RO(i){i.dirty=!1,!oa(i)&&ug(i)}function sg(i){If(i,og)}function ug(i){If(i,cg)}function If(i,t){const a=i.parents.size;if(a){const l=Qf(i.parents);for(let s=0;s<a;++s)t(l[s],i)}}function og(i,t){Ui(i.childValues.has(t)),Ui(oa(t));const a=!oa(i);if(!i.dirtyChildren)i.dirtyChildren=ol.pop()||new Set;else if(i.dirtyChildren.has(t))return;i.dirtyChildren.add(t),a&&sg(i)}function cg(i,t){Ui(i.childValues.has(t)),Ui(!oa(t));const a=i.childValues.get(t);a.length===0?i.childValues.set(t,lg(t.value)):ig(a,t.value)||i.setDirty(),fg(i,t),!oa(i)&&ug(i)}function fg(i,t){const a=i.dirtyChildren;a&&(a.delete(t),a.size===0&&(ol.length<DO&&ol.push(a),i.dirtyChildren=null))}function dg(i){i.childValues.size>0&&i.childValues.forEach((t,a)=>{hg(i,a)}),i.forgetDeps(),Ui(i.dirtyChildren===null)}function hg(i,t){t.parents.delete(i),i.childValues.delete(t),fg(i,t)}function MO(i,t){if(typeof i.subscribe=="function")try{Gf(i),i.unsubscribe=i.subscribe.apply(null,t)}catch{return i.setDirty(),!1}return!0}const kO={setDirty:!0,dispose:!0,forget:!0};function pg(i){const t=new Map;function a(l){const s=lu.getValue();if(s){let o=t.get(l);o||t.set(l,o=new Set),s.dependOn(o)}}return a.dirty=function(s,o){const f=t.get(s);if(f){const h=o&&AO.call(kO,o)?o:"setDirty";Qf(f).forEach(v=>v[h]()),t.delete(s),Gf(f)}},a}let vy;function LO(...i){return(vy||(vy=new wn(typeof WeakMap=="function"))).lookupArray(i)}const Lc=new Set;function cl(i,{max:t=Math.pow(2,16),keyArgs:a,makeCacheKey:l=LO,normalizeResult:s,subscribe:o,cache:f=uf}=Object.create(null)){const h=typeof f=="function"?new f(t,b=>b.dispose()):f,v=function(){const b=l.apply(null,a?a.apply(null,arguments):arguments);if(b===void 0)return i.apply(null,arguments);let E=h.get(b);E||(h.set(b,E=new su(i)),E.normalizeResult=s,E.subscribe=o,E.forget=()=>h.delete(b));const O=E.recompute(Array.prototype.slice.call(arguments));return h.set(b,E),Lc.add(h),lu.hasValue()||(Lc.forEach(A=>A.clean()),Lc.clear()),O};Object.defineProperty(v,"size",{get:()=>h.size,configurable:!1,enumerable:!1}),Object.freeze(v.options={max:t,keyArgs:a,makeCacheKey:l,normalizeResult:s,subscribe:o,cache:h});function p(b){const E=b&&h.get(b);E&&E.setDirty()}v.dirtyKey=p,v.dirty=function(){p(l.apply(null,arguments))};function y(b){const E=b&&h.get(b);if(E)return E.peek()}v.peekKey=y,v.peek=function(){return y(l.apply(null,arguments))};function g(b){return b?h.delete(b):!1}return v.forgetKey=g,v.forget=function(){return g(l.apply(null,arguments))},v.makeCacheKey=l,v.getKey=a?function(){return l.apply(null,a.apply(null,arguments))}:l,Object.freeze(v)}function zO(i){return i}var vg=function(){function i(t,a){a===void 0&&(a=Object.create(null)),this.resultCache=Uf?new WeakSet:new Set,this.transform=t,a.getCacheKey&&(this.getCacheKey=a.getCacheKey),this.cached=a.cache!==!1,this.resetCache()}return i.prototype.getCacheKey=function(t){return[t]},i.identity=function(){return new i(zO,{cache:!1})},i.split=function(t,a,l){return l===void 0&&(l=i.identity()),Object.assign(new i(function(s){var o=t(s)?a:l;return o.transformDocument(s)},{cache:!1}),{left:a,right:l})},i.prototype.resetCache=function(){var t=this;if(this.cached){var a=new wn(Ua);this.performWork=cl(i.prototype.performWork.bind(this),{makeCacheKey:function(l){var s=t.getCacheKey(l);if(s)return te(Array.isArray(s),77),a.lookupArray(s)},max:dn["documentTransform.cache"],cache:Ps})}},i.prototype.performWork=function(t){return Qi(t),this.transform(t)},i.prototype.transformDocument=function(t){if(this.resultCache.has(t))return t;var a=this.performWork(t);return this.resultCache.add(a),a},i.prototype.concat=function(t){var a=this;return Object.assign(new i(function(l){return t.transformDocument(a.transformDocument(l))},{cache:!1}),{left:this,right:t})},i}(),el,Ma=Object.assign(function(i){var t=el.get(i);return t||(t=kE(i),el.set(i,t)),t},{reset:function(){el=new Vf(dn.print||2e3)}});Ma.reset();globalThis.__DEV__!==!1&&Bf("print",function(){return el?el.size:0});var Xe=Array.isArray;function Xt(i){return Array.isArray(i)&&i.length>0}var yy={kind:W.FIELD,name:{kind:W.NAME,value:"__typename"}};function yg(i,t){return!i||i.selectionSet.selections.every(function(a){return a.kind===W.FRAGMENT_SPREAD&&yg(t[a.name.value],t)})}function jO(i){return yg(za(i)||ag(i),Fi(Gi(i)))?null:i}function UO(i){var t=new Map,a=new Map;
57return i.forEach(function(l){l&&(l.name?t.set(l.name,l):l.test&&a.set(l.test,l))}),function(l){var s=t.get(l.name.value);return!s&&a.size&&a.forEach(function(o,f){f(l)&&(s=o)}),s}}function my(i){var t=new Map;return function(l){l===void 0&&(l=i);var s=t.get(l);return s||t.set(l,s={variables:new Set,fragmentSpreads:new Set}),s}}function mg(i,t){Qi(t);for(var a=my(""),l=my(""),s=function(T){for(var C=0,R=void 0;C<T.length&&(R=T[C]);++C)if(!Xe(R)){if(R.kind===W.OPERATION_DEFINITION)return a(R.name&&R.name.value);if(R.kind===W.FRAGMENT_DEFINITION)return l(R.name.value)}return globalThis.__DEV__!==!1&&te.error(97),null},o=0,f=t.definitions.length-1;f>=0;--f)t.definitions[f].kind===W.OPERATION_DEFINITION&&++o;var h=UO(i),v=function(T){return Xt(T)&&T.map(h).some(function(C){return C&&C.remove})},p=new Map,y=!1,g={enter:function(T){if(v(T.directives))return y=!0,null}},b=tn(t,{Field:g,InlineFragment:g,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(T,C,R,j,U){var F=s(U);F&&F.variables.add(T.name.value)}},FragmentSpread:{enter:function(T,C,R,j,U){if(v(T.directives))return y=!0,null;var F=s(U);F&&F.fragmentSpreads.add(T.name.value)}},FragmentDefinition:{enter:function(T,C,R,j){p.set(JSON.stringify(j),T)},leave:function(T,C,R,j){var U=p.get(JSON.stringify(j));if(T===U)return T;if(o>0&&T.selectionSet.selections.every(function(F){return F.kind===W.FIELD&&F.name.value==="__typename"}))return l(T.name.value).removed=!0,y=!0,null}},Directive:{leave:function(T){if(h(T))return y=!0,null}}});if(!y)return t;var E=function(T){return T.transitiveVars||(T.transitiveVars=new Set(T.variables),T.removed||T.fragmentSpreads.forEach(function(C){E(l(C)).transitiveVars.forEach(function(R){T.transitiveVars.add(R)})})),T},O=new Set;b.definitions.forEach(function(T){T.kind===W.OPERATION_DEFINITION?E(a(T.name&&T.name.value)).fragmentSpreads.forEach(function(C){O.add(C)}):T.kind===W.FRAGMENT_DEFINITION&&o===0&&!l(T.name.value).removed&&O.add(T.name.value)}),O.forEach(function(T){E(l(T)).fragmentSpreads.forEach(function(C){O.add(C)})});var A=function(T){return!!(!O.has(T)||l(T).removed)},x={enter:function(T){if(A(T.name.value))return null}};return jO(tn(b,{FragmentSpread:x,FragmentDefinition:x,OperationDefinition:{leave:function(T){if(T.variableDefinitions){var C=E(a(T.name&&T.name.value)).transitiveVars;if(C.size<T.variableDefinitions.length)return w(w({},T),{variableDefinitions:T.variableDefinitions.filter(function(R){return C.has(R.variable.name.value)})})}}}}))}var Hf=Object.assign(function(i){return tn(i,{SelectionSet:{enter:function(t,a,l){if(!(l&&l.kind===W.OPERATION_DEFINITION)){var s=t.selections;if(s){var o=s.some(function(h){return ua(h)&&(h.name.value==="__typename"||h.name.value.lastIndexOf("__",0)===0)});if(!o){var f=l;if(!(ua(f)&&f.directives&&f.directives.some(function(h){return h.name.value==="export"})))return w(w({},t),{selections:mt(mt([],s,!0),[yy],!1)})}}}}}})},{added:function(i){return i===yy}});function qO(i){var t=yl(i),a=t.operation;if(a==="query")return i;var l=tn(i,{OperationDefinition:{enter:function(s){return w(w({},s),{operation:"query"})}}});return l}function gg(i){Qi(i);var t=mg([{test:function(a){return a.name.value==="client"},remove:!0}],i);return t}function VO(i){return Qi(i),tn(i,{FragmentSpread:function(t){var a;if(!(!((a=t.directives)===null||a===void 0)&&a.some(function(l){return l.name.value==="unmask"})))return w(w({},t),{directives:mt(mt([],t.directives||[],!0),[{kind:W.DIRECTIVE,name:{kind:W.NAME,value:"nonreactive"}}
vendor: 8,985 bytes, lines 57-58
57],!1)})}})}var BO=Object.prototype.hasOwnProperty;function gy(){for(var i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];return uu(i)}function uu(i){var t=i[0]||{},a=i.length;if(a>1)for(var l=new ca,s=1;s<a;++s)t=l.merge(t,i[s]);return t}var FO=function(i,t,a){return this.merge(i[a],t[a])},ca=function(){function i(t){t===void 0&&(t=FO),this.reconciler=t,this.isObject=Pe,this.pastCopies=new Set}return i.prototype.merge=function(t,a){for(var l=this,s=[],o=2;o<arguments.length;o++)s[o-2]=arguments[o];return Pe(a)&&Pe(t)?(Object.keys(a).forEach(function(f){if(BO.call(t,f)){var h=t[f];if(a[f]!==h){var v=l.reconciler.apply(l,mt([t,a,f],s,!1));v!==h&&(t=l.shallowCopyForMerge(t),t[f]=v)}}else t=l.shallowCopyForMerge(t),t[f]=a[f]}),t):a},i.prototype.shallowCopyForMerge=function(t){return Pe(t)&&(this.pastCopies.has(t)||(Array.isArray(t)?t=t.slice(0):t=w({__proto__:Object.getPrototypeOf(t)},t),this.pastCopies.add(t))),t},i}();function QO(i,t){var a=typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(a)return(a=a.call(i)).next.bind(a);if(Array.isArray(i)||(a=GO(i))||t){a&&(i=a);var l=0;return function(){return l>=i.length?{done:!0}:{done:!1,value:i[l++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 58In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function GO(i,t){if(i){if(typeof i=="string")return by(i,t);var a=Object.prototype.toString.call(i).slice(8,-1);if(a==="Object"&&i.constructor&&(a=i.constructor.name),a==="Map"||a==="Set")return Array.from(i);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return by(i,t)}}function by(i,t){(t==null||t>i.length)&&(t=i.length);for(var a=0,l=new Array(t);a<t;a++)l[a]=i[a];return l}function Sy(i,t){for(var a=0;a<t.length;a++){var l=t[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(i,l.key,l)}}function Yf(i,t,a){return t&&Sy(i.prototype,t),a&&Sy(i,a),Object.defineProperty(i,"prototype",{writable:!1}),i}var Pf=function(){return typeof Symbol=="function"},Xf=function(i){return Pf()&&!!Symbol[i]},Kf=function(i){return Xf(i)?Symbol[i]:"@@"+i};Pf()&&!Xf("observable")&&(Symbol.observable=Symbol("observable"));var IO=Kf("iterator"),hf=Kf("observable"),bg=Kf("species");function Xs(i,t){var a=i[t];if(a!=null){if(typeof a!="function")throw new TypeError(a+" is not a function");return a}}function Hr(i){var t=i.constructor;return t!==void 0&&(t=t[bg],t===null&&(t=void 0)),t!==void 0?t:Ve}function HO(i){return i instanceof Ve}function qi(i){qi.log?qi.log(i):setTimeout(function(){throw i})}function Bs(i){Promise.resolve().then(function(){try{i()}catch(t){qi(t)}})}function Sg(i){var t=i._cleanup;if(t!==void 0&&(i._cleanup=void 0,!!t))try{if(typeof t=="function")t();else{var a=Xs(t,"unsubscribe");a&&a.call(t)}}catch(l){qi(l)}}function pf(i){i._observer=void 0,i._queue=void 0,i._state="closed"}function YO(i){var t=i._queue;if(t){i._queue=void 0,i._state="ready";for(var a=0;a<t.length&&(Eg(i,t[a].type,t[a].value),i._state!=="closed");++a);}}function Eg(i,t,a){i._state="running";var l=i._observer;try{var s=Xs(l,t);switch(t){case"next":s&&s.call(l,a);break;case"error":if(pf(i),s)s.call(l,a);else throw a;break;case"complete":pf(i),s&&s.call(l);break}}catch(o){qi(o)}i._state==="closed"?Sg(i):i._state==="running"&&(i._state="ready")}function zc(i,t,a){if(i._state!=="closed"){if(i._state==="buffering"){i._queue.push({type:t,value:a});return}if(i._state!=="ready"){i._state="buffering",i._queue=[{type:t,value:a}],Bs(function(){return YO(i)});return}Eg(i,t,a)}}var PO=function(){function i(a,l){this._cleanup=void 0,this._observer=a,this._queue=void 0,this._state="initializing";var s=new XO(this);try{this._cleanup=l.call(void 0,s)}catch(o){s.error(o)}this._state==="initializing"&&(this._state="ready")}var t=i.prototype;return t.unsubscribe=function(){this._state!=="closed"&&(pf(this),Sg(this))},Yf(i,[{key:"closed",get:function(){return this._state==="closed"}}]),i}(),XO=function(){function i(a){this._subscription=a}var t=i.prototype;return t.next=function(l){zc(this._subscription,"next",l)},t.error=function(l){zc(this._subscription,"error",l)},t.complete=function(){zc(this._subscription,"complete")},Yf(i,[{key:"closed",get:function(){return this._subscription._state==="closed"}}]),i}(),Ve=function(){function i(a){if(!(this instanceof i))throw new TypeError("Observable cannot be called as a function");if(typeof a!="function")throw new TypeError("Observable initializer must be a function");this._subscriber=a}var t=i.prototype;return t.subscribe=function(l){return(typeof l!="object"||l===null)&&(l={next:l,error:arguments[1],complete:arguments[2]}),new PO(l,this._subscriber)},t.forEach=function(l){var s=this;return new Promise(function(o,f){if(typeof l!="function"){f(new TypeError(l+" is not a function"));return}function h(){v.unsubscribe(),o()}var v=s.subscribe({next:function(p){try{l(p,h)}catch(y){f(y),v.unsubscribe()}},error:f,complete:o})})},t.map=function(l){var s=this;if(typeof l!="function")throw new TypeError(l+" is not a function");var o=Hr(this);return new o(function(f){return s.subscribe({next:function(h){try{h=l(h)}catch(v){return f.error(v)}f.next(h)},error:function(h){f.error(h)},complete:function(){f.complete()}})})},t.filter=function(l){var s=this;if(typeof l!="function")throw new TypeError(l+" is not a function");var o=Hr(this);return new o(function(f){return s.subscribe({next:function(h){try{if(!l(h))return}catch(v){return f.error(v)}f.next(h)},error:function(h){f.error(h)},complete:function(){f.complete()}})})},t.reduce=function(l){var s=this;if(typeof l!="function")throw new TypeError(l+" is not a function");var o=Hr(this),f=arguments.length>1,h=!1,v=arguments[1],p=v;return new o(function(y){return s.subscribe({next:function(g){var b=!h;if(h=!0,!b||f)try{p=l(p,g)}catch(E){return y.error(E)}else p=g},error:function(g){y.error(g)},complete:function(){if(!h&&!f)return y.error(new TypeError("Cannot reduce an empty sequence"));y.next(p),y.complete()}})})},t.concat=function(){for(var l=this,s=arguments.length,o=new Array(s),f=0;f<s;f++)o[f]=arguments[f];var h=Hr(this);return new h(function(v){var p,y=0;function g(b){p=b.subscribe({next:function(E){v.next(E)},error:function(E){v.error(E)},complete:function(){y===o.length?(p=void 0,v.complete()):g(h.from(o[y++]))}})}return g(l),function(){p&&(p.unsubscribe(),p=void 0)}})},t.flatMap=function(l){var s=this;if(typeof l!="function")throw new TypeError(l+" is not a function");var o=Hr(this);return new o(function(f){var h=[],v=s.subscribe({next:function(y){if(l)try{y=l(y)}catch(b){return f.error(b)}var g=o.from(y).subscribe({next:function(b){f.next(b)},error:function(b){f.error(b)},complete:function(){var b=h.indexOf(g);b>=0&&h.splice(b,1),p()}});h.push(g)},error:function(y){f.error(y)},complete:function(){p()}});function p(){v.closed&&h.length===0&&f.complete()}return function(){h.forEach(function(y){return y.unsubscribe()}),v.unsubscribe()}})},t[hf]=function(){return this},i.from=function(l){var s=typeof this=="function"?this:i;if(l==null)throw new TypeError(l+" is not an object");var o=Xs(l,hf);if(o){var f=o.call(l);if(Object(f)!==f)throw new TypeError(f+" is not an object");return HO(f)&&f.constructor===s?f:new s(function(h){return f.subscribe(h)})}if(Xf("iterator")&&(o=Xs(l,IO),o))return new s(function(h){Bs(function(){if(!h.closed){for(var v=QO(o.call(l)),p;!(p=v()).done;){var y=p.value;if(h.next(y),h.closed)return}h.complete()}})});if(Array.isArray(l))return new s(function(h){Bs(function(){if(!h.closed){for(var v=0;v<l.length;++v)if(h.next(l[v]),h.closed)return;h.complete()}})});throw new TypeError(l+" is not observable")},i.of=function(){for(var l=arguments.length,s=new Array(l),o=0;o<l;o++)s[o]=arguments[o];var f=typeof this=="function"?this:i;return new f(function(h){Bs(function(){if(!h.closed){for(var v=0;v<s.length;++v)if(h.next(s[v]),h.closed)return;h.complete()}})})},Yf(i,null,[{key:bg,get:function(){return this}}]),i}();Pf()&&Object.defineProperty(Ve,Symbol("extensions"),{value:{symbol:hf,hostReportError:qi},configurable:!0});function KO(i){var t,a=i.Symbol;if(typeof a=="function")if(a.observable)t=a.observable;else{typeof a.for=="function"?t=a.for("https://github.com/benlesh/symbol-observable"):t=a("https://github.com/benlesh/symbol-observable");try{a.observable=t}catch{}}else t="@@observable";return t}var Ni;typeof self<"u"?Ni=self:typeof window<"u"?Ni=window:typeof global<"u"?Ni=global:typeof Rf<"u"?Ni=Rf:Ni=Function("return this")();KO(Ni);var Ey=Ve.prototype,Oy="@@observable";Ey[Oy]||(Ey[Oy]=function(){return this});function ZO(i){return i.catch(function(){}),i}var JO=Object.prototype.toString;function Og(i){return vf(i)}function vf(i,t){switch(JO.call(i)){case"[object Array]":{if(t=t||new Map,t.has(i))return t.get(i);var a=i.slice(0);return t.set(i,a),a.forEach(function(s,o){a[o]=vf(s,t)}),a}case"[object Object]":{if(t=t||new Map,t.has(i))return t.get(i);var l=Object.create(Object.getPrototypeOf(i));
58return t.set(i,l),Object.keys(i).forEach(function(s){l[s]=vf(i[s],t)}),l}default:return i}}function $O(i){var t=new Set([i]);return t.forEach(function(a){Pe(a)&&WO(a)===a&&Object.getOwnPropertyNames(a).forEach(function(l){Pe(a[l])&&t.add(a[l])})}),i}function WO(i){if(globalThis.__DEV__!==!1&&!Object.isFrozen(i))try{Object.freeze(i)}catch(t){if(t instanceof TypeError)return null;throw t}return i}function Vi(i){return globalThis.__DEV__!==!1&&$O(i),i}function tl(i,t,a){var l=[];i.forEach(function(s){return s[t]&&l.push(s)}),l.forEach(function(s){return s[t](a)})}function jc(i,t,a){return new Ve(function(l){var s={then:function(v){return new Promise(function(p){return p(v())})}};function o(v,p){return function(y){if(v){var g=function(){return l.closed?0:v(y)};s=s.then(g,g).then(function(b){return l.next(b)},function(b){return l.error(b)})}else l[p](y)}}var f={next:o(t,"next"),error:o(a,"error"),complete:function(){s.then(function(){return l.complete()})}},h=i.subscribe(f);return function(){return h.unsubscribe()}})}function Tg(i){function t(a){Object.defineProperty(i,a,{value:Ve})}return qf&&Symbol.species&&t(Symbol.species),t("@@species"),i}function Ty(i){return i&&typeof i.then=="function"}var xi=function(i){hn(t,i);function t(a){var l=i.call(this,function(s){return l.addObserver(s),function(){return l.removeObserver(s)}})||this;return l.observers=new Set,l.promise=new Promise(function(s,o){l.resolve=s,l.reject=o}),l.handlers={next:function(s){l.sub!==null&&(l.latest=["next",s],l.notify("next",s),tl(l.observers,"next",s))},error:function(s){var o=l.sub;o!==null&&(o&&setTimeout(function(){return o.unsubscribe()}),l.sub=null,l.latest=["error",s],l.reject(s),l.notify("error",s),tl(l.observers,"error",s))},complete:function(){var s=l,o=s.sub,f=s.sources,h=f===void 0?[]:f;if(o!==null){var v=h.shift();v?Ty(v)?v.then(function(p){return l.sub=p.subscribe(l.handlers)},l.handlers.error):l.sub=v.subscribe(l.handlers):(o&&setTimeout(function(){return o.unsubscribe()}),l.sub=null,l.latest&&l.latest[0]==="next"?l.resolve(l.latest[1]):l.resolve(),l.notify("complete"),tl(l.observers,"complete"))}}},l.nextResultListeners=new Set,l.cancel=function(s){l.reject(s),l.sources=[],l.handlers.error(s)},l.promise.catch(function(s){}),typeof a=="function"&&(a=[new Ve(a)]),Ty(a)?a.then(function(s){return l.start(s)},l.handlers.error):l.start(a),l}return t.prototype.start=function(a){this.sub===void 0&&(this.sources=Array.from(a),this.handlers.complete())},t.prototype.deliverLastMessage=function(a){if(this.latest){var l=this.latest[0],s=a[l];s&&s.call(a,this.latest[1]),this.sub===null&&l==="next"&&a.complete&&a.complete()}},t.prototype.addObserver=function(a){this.observers.has(a)||(this.deliverLastMessage(a),this.observers.add(a))},t.prototype.removeObserver=function(a){this.observers.delete(a)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(a,l){var s=this.nextResultListeners;s.size&&(this.nextResultListeners=new Set,s.forEach(function(o){return o(a,l)}))},t.prototype.beforeNext=function(a){var l=!1;this.nextResultListeners.add(function(s,o){l||(l=!0,a(s,o))})},t}(Ve);Tg(xi);function Li(i){return"incremental"in i}function eT(i){return"hasNext"in i&&"data"in i}function tT(i){return Li(i)||eT(i)}function nT(i){return Pe(i)&&"payload"in i}function _g(i,t){var a=i,l=new ca;return Li(t)&&Xt(t.incremental)&&t.incremental.forEach(function(s){for(var o=s.data,f=s.path,h=f.length-1;h>=0;--h){var v=f[h],p=!isNaN(+v),y=p?[]:{};y[v]=o,o=y}a=l.merge(a,o)}),a}function Fs(i){var t=yf(i);return Xt(t)}function yf(i){var t=Xt(i.errors)?i.errors.slice(0):[];return Li(i)&&Xt(i.incremental)&&i.incremental.forEach(function(a){a.errors&&t.push.apply(t,a.errors)}),t}function ja(){for(var i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];var a=Object.create(null);return i.forEach(function(l){l&&Object.keys(l).forEach(function(s){var o=l[s];o!==void 0&&(a[s]=o)})}),a}function nl(i,t){return ja(i,t,t.variables&&{variables:ja(w(w({},i&&i.variables),t.variables))})}function Uc(i){return new Ve(function(t){t.error(i)})}var Ng=function(i,t,a){var l=new Error(a);throw l.name="ServerError",l.response=i,l.statusCode=i.status,l.result=t,l};function aT(i){for(var t=["query","operationName","variables","extensions","context"],a=0,l=Object.keys(i);a<l.length;a++){var s=l[a];if(t.indexOf(s)<0)throw Et(46,s)}return i}function iT(i,t){var a=w({},i),l=function(o){typeof o=="function"?a=w(w({},a),o(a)):a=w(w({},a),o)},s=function(){return w({},a)};return Object.defineProperty(t,"setContext",{enumerable:!1,value:l}),Object.defineProperty(t,"getContext",{enumerable:!1,value:s}),t}function rT(i){var t={variables:i.variables||{},extensions:i.extensions||{},operationName:i.operationName,query:i.query};return t.operationName||(t.operationName=typeof t.query!="string"?$r(t.query)||void 0:""),t}function lT(i,t){var a=w({},i),l=new Set(Object.keys(i));return tn(t,{Variable:function(s,o,f){f&&f.kind!=="VariableDefinition"&&l.delete(s.name.value)}}),l.forEach(function(s){delete a[s]}),a}function _y(i,t){return t?t(i):Ve.of()}function Yr(i){return typeof i=="function"?new Ii(i):i}function zs(i){return i.request.length<=1}var Ii=function(){function i(t){t&&(this.request=t)}return i.empty=function(){return new i(function(){return Ve.of()})},i.from=function(t){return t.length===0?i.empty():t.map(Yr).reduce(function(a,l){return a.concat(l)})},i.split=function(t,a,l){var s=Yr(a),o=Yr(l||new i(_y)),f;return zs(s)&&zs(o)?f=new i(function(h){return t(h)?s.request(h)||Ve.of():o.request(h)||Ve.of()}):f=new i(function(h,v){return t(h)?s.request(h,v)||Ve.of():o.request(h,v)||Ve.of()}),Object.assign(f,{left:s,right:o})},i.execute=function(t,a){return t.request(iT(a.context,rT(aT(a))))||Ve.of()},i.concat=function(t,a){var l=Yr(t);if(zs(l))return globalThis.__DEV__!==!1&&te.warn(38,l),l;var s=Yr(a),o;return zs(s)?o=new i(function(f){return l.request(f,function(h){return s.request(h)||Ve.of()})||Ve.of()}):o=new i(function(f,h){return l.request(f,function(v){return s.request(v,h)||Ve.of()})||Ve.of()}),Object.assign(o,{left:l,right:s})},i.prototype.split=function(t,a,l){return this.concat(i.split(t,a,l||new i(_y)))},i.prototype.concat=function(t){return i.concat(this,t)},i.prototype.request=function(t,a){throw Et(39)},i.prototype.onError=function(t,a){if(a&&a.error)return a.error(t),!1;throw t},i.prototype.setOnError=function(t){return this.onError=t,this},i}(),mf=Ii.execute;function sT(i){var t,a=i[Symbol.asyncIterator]();return t={next:function(){return a.next()}},t[Symbol.asyncIterator]=function(){return this},t}function uT(i){var t=null,a=null,l=!1,s=[],o=[];function f(g){if(!a){if(o.length){var b=o.shift();if(Array.isArray(b)&&b[0])return b[0]({value:g,done:!1})}s.push(g)}}function h(g){a=g;var b=o.slice();b.forEach(function(E){E[1](g)}),!t||t()}function v(){l=!0;var g=o.slice();g.forEach(function(b){b[0]({value:void 0,done:!0})}),!t||t()}t=function(){t=null,i.removeListener("data",f),i.removeListener("error",h),i.removeListener("end",v),i.removeListener("finish",v),i.removeListener("close",v)},i.on("data",f),i.on("error",h),i.on("end",v),i.on("finish",v),i.on("close",v);function p(){return new Promise(function(g,b){if(a)return b(a);if(s.length)return g({value:s.shift(),done:!1});if(l)return g({value:void 0,done:!0});o.push([g,b])})}var y={next:function(){return p()}};return au&&(y[Symbol.asyncIterator]=function(){return this}),y}function oT(i){var t=!1,a={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise(function(l,s){i.then(function(o){l({value:o,done:!1})}).catch(s)}))}};return au&&(a[Symbol.asyncIterator]=function(){return this}),a}function Ny(i){var t={next:function(){return i.read()}};return au&&(t[Symbol.asyncIterator]=function(){return this}),t}function cT(i){return!!i.body}function fT(i){return!!i.getReader}function dT(i){return!!(au&&i[Symbol.asyncIterator])}function hT(i){return!!i.stream}function pT(i){return!!i.arrayBuffer}function vT(i){return!!i.pipe}function yT(i){var t=i;if(cT(i)&&(t=i.body),dT(t))return sT(t);if(fT(t))return Ny(t.getReader());if(hT(t))return Ny(t.stream().getReader());if(pT(t))return oT(t.arrayBuffer());if(vT(t))return uT(t);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var Zf=Symbol();function mT(i){return i.extensions?Array.isArray(i.extensions[Zf]):!1}function xg(i){return i.hasOwnProperty("graphQLErrors")}var gT=function(i){var t=mt(mt(mt([],i.graphQLErrors,!0),i.clientErrors,!0),i.protocolErrors,!0);return i.networkError&&t.push(i.networkError),t.map(function(a){return Pe(a)&&a.message||"Error message not found."}).join(` 59`)},on=function(i){hn(t,i);function t(a){var l=a.graphQLErrors,s=a.protocolErrors,o=a.clientErrors,f=a.networkError,h=a.errorMessage,v=a.extraInfo,p=i.call(this,h)||this;return p.name="ApolloError",p.graphQLErrors=l||[],p.protocolErrors=s||[],p.clientErrors=o||[],p.networkError=f||null,p.message=h||gT(p),p.extraInfo=v,p.cause=mt(mt(mt([f],l||[],!0),s||[],!0),o||[],!0).find(function(y){return!!y})||null,p.__proto__=t.prototype,p}return t}(Error),xy=Object.prototype.hasOwnProperty;function bT(i,t){return aa(this,void 0,void 0,function(){var a,l,s,o,f,h,v,p,y,g,b,E,O,A,x,T,C,R,j,U,F,B,J,ie;return ia(this,function(se){switch(se.label){case 0:if(TextDecoder===void 0)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");a=new TextDecoder("utf-8"),l=(ie=i.headers)===null||ie===void 0?void 0:ie.get("
59content-type"),s="boundary=",o=l?.includes(s)?l?.substring(l?.indexOf(s)+s.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",f=`\r 60--`.concat(o),h="",v=yT(i),p=!0,se.label=1;case 1:return p?[4,v.next()]:[3,3];case 2:for(y=se.sent(),g=y.value,b=y.done,E=typeof g=="string"?g:a.decode(g),O=h.length-f.length+1,p=!b,h+=E,A=h.indexOf(f,O);A>-1;){if(x=void 0,B=[h.slice(0,A),h.slice(A+f.length)],x=B[0],h=B[1],T=x.indexOf(`\r 61\r 62`),C=ST(x.slice(0,T)),R=C["content-type"],R&&R.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");if(j=x.slice(T),j){if(U=Ag(i,j),Object.keys(U).length>1||"data"in U||"incremental"in U||"errors"in U||"payload"in U)if(nT(U)){if(F={},"payload"in U){if(Object.keys(U).length===1&&U.payload===null)return[2];F=w({},U.payload)}"errors"in U&&(F=w(w({},F),{extensions:w(w({},"extensions"in F?F.extensions:null),(J={},J[Zf]=U.errors,J))})),t(F)}else t(U);else if(Object.keys(U).length===1&&"hasNext"in U&&!U.hasNext)return[2]}A=h.indexOf(f)}return[3,1];case 3:return[2]}})})}function ST(i){var t={};return i.split(` 63`).forEach(function(a){var l=a.indexOf(":");if(l>-1){var s=a.slice(0,l).trim().toLowerCase(),o=a.slice(l+1).trim();t[s]=o}}),t}function Ag(i,t){if(i.status>=300){var a=function(){try{return JSON.parse(t)}catch{return t}};Ng(i,a(),"Response not successful: Received status code ".concat(i.status))}try{return JSON.parse(t)}catch(s){var l=s;throw l.name="ServerParseError",l.response=i,l.statusCode=i.status,l.bodyText=t,l}}function ET(i,t){i.result&&i.result.errors&&i.result.data&&t.next(i.result),t.error(i)}function OT(i){return function(t){return t.text().then(function(a){return Ag(t,a)}).then(function(a){return!Array.isArray(a)&&!xy.call(a,"data")&&!xy.call(a,"errors")&&Ng(t,a,"Server response was missing for query '".concat(Array.isArray(i)?i.map(function(l){return l.operationName}):i.operationName,"'.")),a})}}var gf=function(i,t){var a;try{a=JSON.stringify(i)}catch(s){var l=Et(42,t,s.message);throw l.parseError=s,l}return a},TT={includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},_T={accept:"*/*","content-type":"application/json"},NT={method:"POST"},xT={http:TT,headers:_T,options:NT},AT=function(i,t){return t(i)};function DT(i,t){for(var a=[],l=2;l<arguments.length;l++)a[l-2]=arguments[l];var s={},o={};a.forEach(function(g){s=w(w(w({},s),g.options),{headers:w(w({},s.headers),g.headers)}),g.credentials&&(s.credentials=g.credentials),o=w(w({},o),g.http)}),s.headers&&(s.headers=CT(s.headers,o.preserveHeaderCase));var f=i.operationName,h=i.extensions,v=i.variables,p=i.query,y={operationName:f,variables:v};return o.includeExtensions&&(y.extensions=h),o.includeQuery&&(y.query=t(p,Ma)),{options:s,body:y}}function CT(i,t){if(!t){var a={};return Object.keys(Object(i)).forEach(function(o){a[o.toLowerCase()]=i[o]}),a}var l={};Object.keys(Object(i)).forEach(function(o){l[o.toLowerCase()]={originalName:o,value:i[o]}});var s={};return Object.keys(l).forEach(function(o){s[l[o].originalName]=l[o].value}),s}var wT=function(i){if(!i&&typeof fetch>"u")throw Et(40)},RT=function(i,t){var a=i.getContext(),l=a.uri;return l||(typeof t=="function"?t(i):t||"/graphql")};function MT(i,t){var a=[],l=function(g,b){a.push("".concat(g,"=").concat(encodeURIComponent(b)))};if("query"in t&&l("query",t.query),t.operationName&&l("operationName",t.operationName),t.variables){var s=void 0;try{s=gf(t.variables,"Variables map")}catch(g){return{parseError:g}}l("variables",s)}if(t.extensions){var o=void 0;try{o=gf(t.extensions,"Extensions map")}catch(g){return{parseError:g}}l("extensions",o)}var f="",h=i,v=i.indexOf("#");v!==-1&&(f=i.substr(v),h=i.substr(0,v));var p=h.indexOf("?")===-1?"?":"&",y=h+p+a.join("&")+f;return{newURI:y}}var Ay=en(function(){return fetch}),Dg=function(i){i===void 0&&(i={});var t=i.uri,a=t===void 0?"/graphql":t,l=i.fetch,s=i.print,o=s===void 0?AT:s,f=i.includeExtensions,h=i.preserveHeaderCase,v=i.useGETForQueries,p=i.includeUnusedVariables,y=p===void 0?!1:p,g=Yt(i,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);globalThis.__DEV__!==!1&&wT(l||Ay);var b={http:{includeExtensions:f,preserveHeaderCase:h},options:g.fetchOptions,credentials:g.credentials,headers:g.headers};return new Ii(function(E){var O=RT(E,a),A=E.getContext(),x={};if(A.clientAwareness){var T=A.clientAwareness,C=T.name,R=T.version;C&&(x["apollographql-client-name"]=C),R&&(x["apollographql-client-version"]=R)}var j=w(w({},x),A.headers),U={http:A.http,options:A.fetchOptions,credentials:A.credentials,headers:j};if(ul(["client"],E.query)){var F=gg(E.query);if(!F)return Uc(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));E.query=F}var B=DT(E,o,xT,b,U),J=B.options,ie=B.body;ie.variables&&!y&&(ie.variables=lT(ie.variables,E.query));var se;!J.signal&&typeof AbortController<"u"&&(se=new AbortController,J.signal=se.signal);var pe=function(fe){return fe.kind==="OperationDefinition"&&fe.operation==="mutation"},_e=function(fe){return fe.kind==="OperationDefinition"&&fe.operation==="subscription"},oe=_e(yl(E.query)),$=ul(["defer"],E.query);if(v&&!E.query.definitions.some(pe)&&(J.method="GET"),$||oe){J.headers=J.headers||{};var ye="multipart/mixed;";oe&&$&&globalThis.__DEV__!==!1&&te.warn(41),oe?ye+="boundary=graphql;subscriptionSpec=1.0,application/json":$&&(ye+="deferSpec=20220824,application/json"),J.headers.accept=ye}if(J.method==="GET"){var k=MT(O,ie),X=k.newURI,re=k.parseError;if(re)return Uc(re);O=X}else try{J.body=gf(ie,"Payload")}catch(fe){return Uc(fe)}return new Ve(function(fe){var N=l||en(function(){return fetch})||Ay,G=fe.next.bind(fe);return N(O,J).then(function(K){var Z;E.setContext({response:K});var le=(Z=K.headers)===null||Z===void 0?void 0:Z.get("content-type");return le!==null&&/^multipart\/mixed/i.test(le)?bT(K,G):OT(E)(K).then(G)}).then(function(){se=void 0,fe.complete()}).catch(function(K){se=void 0,ET(K,fe)}),function(){se&&se.abort()}})})},kT=function(i){hn(t,i);function t(a){a===void 0&&(a={});var l=i.call(this,Dg(a).request)||this;return l.options=a,l}return t}(Ii);const{toString:Dy,hasOwnProperty:LT}=Object.prototype,Cy=Function.prototype.toString,bf=new Map;function Re(i,t){try{return Sf(i,t)}finally{bf.clear()}}function Sf(i,t){if(i===t)return!0;const a=Dy.call(i),l=Dy.call(t);if(a!==l)return!1;switch(a){case"[object Array]":if(i.length!==t.length)return!1;case"[object Object]":{if(Ry(i,t))return!0;const s=wy(i),o=wy(t),f=s.length;if(f!==o.length)return!1;for(let h=0;h<f;++h)if(!LT.call(t,s[h]))return!1;for(let h=0;h<f;++h){const v=s[h];if(!Sf(i[v],t[v]))return!1}return!0}case"[object Error]":return i.name===t.name&&i.message===t.message;case"[object Number]":if(i!==i)return t!==t;case"[object Boolean]":case"[object Date]":return+i==+t;case"[object RegExp]":case"[object String]":return i==`${t}`;case"[object Map]":case"[object Set]":{if(i.size!==t.size)return!1;if(Ry(i,t))return!0;const s=i.entries(),o=a==="[object Map]";for(;;){const f=s.next();if(f.done)break;const[h,v]=f.value;
63if(!t.has(h)||o&&!Sf(v,t.get(h)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":i=new Uint8Array(i),t=new Uint8Array(t);case"[object DataView]":{let s=i.byteLength;if(s===t.byteLength)for(;s--&&i[s]===t[s];);return s===-1}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const s=Cy.call(i);return s!==Cy.call(t)?!1:!UT(s,jT)}}return!1}function wy(i){return Object.keys(i).filter(zT,i)}function zT(i){return this[i]!==void 0}const jT="{ [native code] }";function UT(i,t){const a=i.length-t.length;return a>=0&&i.indexOf(t,a)===a}function Ry(i,t){let a=bf.get(i);if(a){if(a.has(t))return!0}else bf.set(i,a=new Set);return a.add(t),!1}function Cg(i,t,a,l){var s=t.data,o=Yt(t,["data"]),f=a.data,h=Yt(a,["data"]);return Re(o,h)&&Qs(yl(i).selectionSet,s,f,{fragmentMap:Fi(Gi(i)),variables:l})}function Qs(i,t,a,l){if(t===a)return!0;var s=new Set;return i.selections.every(function(o){if(s.has(o)||(s.add(o),!vl(o,l.variables))||My(o))return!0;if(ua(o)){var f=Cn(o),h=t&&t[f],v=a&&a[f],p=o.selectionSet;if(!p)return Re(h,v);var y=Array.isArray(h),g=Array.isArray(v);if(y!==g)return!1;if(y&&g){var b=h.length;if(v.length!==b)return!1;for(var E=0;E<b;++E)if(!Qs(p,h[E],v[E],l))return!1;return!0}return Qs(p,h,v,l)}else{var O=iu(o,l.fragmentMap);if(O)return My(O)?!0:Qs(O.selectionSet,t,a,l)}})}function My(i){return!!i.directives&&i.directives.some(qT)}function qT(i){return i.name.value==="nonreactive"}var wg=Ua?WeakMap:Map,Rg=Uf?WeakSet:Set,Jf=new ml,ky=!1;function Mg(){ky||(ky=!0,globalThis.__DEV__!==!1&&te.warn(52))}function kg(i,t,a){return Jf.withValue(!0,function(){var l=Wr(i,t,a,!1);return Object.isFrozen(i)&&Vi(l),l})}function VT(i,t){if(t.has(i))return t.get(i);var a=Array.isArray(i)?[]:Object.create(null);return t.set(i,a),a}function Wr(i,t,a,l,s){var o,f=a.knownChanged,h=VT(i,a.mutableTargets);if(Array.isArray(i)){for(var v=0,p=Array.from(i.entries());v<p.length;v++){var y=p[v],g=y[0],b=y[1];if(b===null){h[g]=null;continue}var E=Wr(b,t,a,l,globalThis.__DEV__!==!1?"".concat(s||"","[").concat(g,"]"):void 0);f.has(E)&&f.add(h),h[g]=E}return f.has(h)?h:i}for(var O=0,A=t.selections;O<A.length;O++){var x=A[O],T=void 0;if(l&&f.add(h),x.kind===W.FIELD){var C=Cn(x),R=x.selectionSet;if(T=h[C]||i[C],T===void 0)continue;if(R&&T!==null){var E=Wr(i[C],R,a,l,globalThis.__DEV__!==!1?"".concat(s||"",".").concat(C):void 0);f.has(E)&&(T=E)}globalThis.__DEV__===!1&&(h[C]=T),globalThis.__DEV__!==!1&&(l&&C!=="__typename"&&!(!((o=Object.getOwnPropertyDescriptor(h,C))===null||o===void 0)&&o.value)?Object.defineProperty(h,C,BT(C,T,s||"",a.operationName,a.operationType)):(delete h[C],h[C]=T))}if(x.kind===W.INLINE_FRAGMENT&&(!x.typeCondition||a.cache.fragmentMatches(x,i.__typename))&&(T=Wr(i,x.selectionSet,a,l,s)),x.kind===W.FRAGMENT_SPREAD){var j=x.name.value,U=a.fragmentMap[j]||(a.fragmentMap[j]=a.cache.lookupFragment(j));te(U,47,j);var F=VE(x);F!=="mask"&&(T=Wr(i,U.selectionSet,a,F==="migrate",s))}f.has(T)&&f.add(h)}return"__typename"in i&&!("__typename"in h)&&(h.__typename=i.__typename),Object.keys(h).length!==Object.keys(i).length&&f.add(h),f.has(h)?h:i}function BT(i,t,a,l,s){var o=function(){return Jf.getValue()||(globalThis.__DEV__!==!1&&te.warn(48,l?"".concat(s," '").concat(l,"'"):"anonymous ".concat(s),"".concat(a,".").concat(i).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(f){o=function(){return f}},enumerable:!0,configurable:!0}}function Lg(i,t,a,l){if(!a.fragmentMatches)return globalThis.__DEV__!==!1&&Mg(),i;var s=t.definitions.filter(function(f){return f.kind===W.FRAGMENT_DEFINITION});typeof l>"u"&&(te(s.length===1,49,s.length),l=s[0].name.value);var o=s.find(function(f){return f.name.value===l});return te(!!o,50,l),i==null||Re(i,{})?i:kg(i,o.selectionSet,{operationType:"fragment",operationName:o.name.value,fragmentMap:Fi(Gi(t)),cache:a,mutableTargets:new wg,knownChanged:new Rg})}function FT(i,t,a){var l;if(!a.fragmentMatches)return globalThis.__DEV__!==!1&&Mg(),i;var s=za(t);return te(s,51),i==null?i:kg(i,s.selectionSet,{operationType:s.operation,operationName:(l=s.name)===null||l===void 0?void 0:l.value,fragmentMap:Fi(Gi(t)),cache:a,mutableTargets:new wg,knownChanged:new Rg})}var zg=function(){function i(){this.assumeImmutableResults=!1,this.getFragmentDoc=cl(YE,{max:dn["cache.fragmentQueryDocuments"]||1e3,cache:Ps})}return i.prototype.lookupFragment=function(t){return null},i.prototype.batch=function(t){var a=this,l=typeof t.optimistic=="string"?t.optimistic:t.optimistic===!1?null:void 0,s;return this.performTransaction(function(){return s=t.update(a)},l),s},i.prototype.recordOptimisticTransaction=function(t,a){this.performTransaction(t,a)},i.prototype.transformDocument=function(t){return t},i.prototype.transformForLink=function(t){return t},i.prototype.identify=function(t){},i.prototype.gc=function(){return[]},i.prototype.modify=function(t){return!1},i.prototype.readQuery=function(t,a){return a===void 0&&(a=!!t.optimistic),this.read(w(w({},t),{rootId:t.id||"ROOT_QUERY",optimistic:a}))},i.prototype.watchFragment=function(t){var a=this,l=t.fragment,s=t.fragmentName,o=t.from,f=t.optimistic,h=f===void 0?!0:f,v=Yt(t,["fragment","fragmentName","from","optimistic"]),p=this.getFragmentDoc(l,s),y=typeof o>
63"u"||typeof o=="string"?o:this.identify(o),g=!!t[Symbol.for("apollo.dataMasking")];if(globalThis.__DEV__!==!1){var b=s||ag(l).name.value;y||globalThis.__DEV__!==!1&&te.warn(1,b)}var E=w(w({},v),{returnPartialData:!0,id:y,query:p,optimistic:h}),O;return new Ve(function(A){return a.watch(w(w({},E),{immediate:!0,callback:function(x){var T=g?Lg(x.result,l,a,s):x.result;if(!(O&&Cg(p,{data:O.result},{data:T},t.variables))){var C={data:T,complete:!!x.complete};x.missing&&(C.missing=uu(x.missing.map(function(R){return R.missing}))),O=w(w({},x),{result:T}),A.next(C)}}}))})},i.prototype.readFragment=function(t,a){return a===void 0&&(a=!!t.optimistic),this.read(w(w({},t),{query:this.getFragmentDoc(t.fragment,t.fragmentName),rootId:t.id,optimistic:a}))},i.prototype.writeQuery=function(t){var a=t.id,l=t.data,s=Yt(t,["id","data"]);return this.write(Object.assign(s,{dataId:a||"ROOT_QUERY",result:l}))},i.prototype.writeFragment=function(t){var a=t.id,l=t.data,s=t.fragment,o=t.fragmentName,f=Yt(t,["id","data","fragment","fragmentName"]);return this.write(Object.assign(f,{query:this.getFragmentDoc(s,o),dataId:a,result:l}))},i.prototype.updateQuery=function(t,a){return this.batch({update:function(l){var s=l.readQuery(t),o=a(s);return o==null?s:(l.writeQuery(w(w({},t),{data:o})),o)}})},i.prototype.updateFragment=function(t,a){return this.batch({update:function(l){var s=l.readFragment(t),o=a(s);return o==null?s:(l.writeFragment(w(w({},t),{data:o})),o)}})},i}();globalThis.__DEV__!==!1&&(zg.prototype.getMemoryInternals=iO);var jg=function(i){hn(t,i);function t(a,l,s,o){var f,h=i.call(this,a)||this;if(h.message=a,h.path=l,h.query=s,h.variables=o,Array.isArray(h.path)){h.missing=h.message;for(var v=h.path.length-1;v>=0;--v)h.missing=(f={},f[h.path[v]]=h.missing,f)}else h.missing=h.path;return h.__proto__=t.prototype,h}return t}(Error),st=Object.prototype.hasOwnProperty;function Pr(i){return i==null}function Ug(i,t){var a=i.__typename,l=i.id,s=i._id;if(typeof a=="string"&&(t&&(t.keyObject=Pr(l)?Pr(s)?void 0:{_id:s}:{id:l}),Pr(l)&&!Pr(s)&&(l=s),!Pr(l)))return"".concat(a,":").concat(typeof l=="number"||typeof l=="string"?l:JSON.stringify(l))}var qg={dataIdFromObject:Ug,addTypename:!0,resultCaching:!0,canonizeResults:!1};function QT(i){return ja(qg,i)}function Vg(i){var t=i.canonizeResults;return t===void 0?qg.canonizeResults:t}function GT(i,t){return Me(t)?i.get(t.__ref,"__typename"):t&&t.__typename}var Bg=/^[_a-z][_0-9a-z]*/i;function fa(i){var t=i.match(Bg);return t?t[0]:i}function Ef(i,t,a){return Pe(t)?Xe(t)?t.every(function(l){return Ef(i,l,a)}):i.selections.every(function(l){if(ua(l)&&vl(l,a)){var s=Cn(l);return st.call(t,s)&&(!l.selectionSet||Ef(l.selectionSet,t[s],a))}return!0}):!1}function Ci(i){return Pe(i)&&!Me(i)&&!Xe(i)}function IT(){return new ca}function Fg(i,t){var a=Fi(Gi(i));return{fragmentMap:a,lookupFragment:function(l){var s=a[l];return!s&&t&&(s=t.lookup(l)),s||null}}}var Gs=Object.create(null),qc=function(){return Gs},Ly=Object.create(null),fl=function(){function i(t,a){var l=this;this.policies=t,this.group=a,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(s,o){return Vi(Me(s)?l.get(s.__ref,o):s&&s[o])},this.canRead=function(s){return Me(s)?l.has(s.__ref):typeof s=="object"},this.toReference=function(s,o){if(typeof s=="string")return ki(s);if(Me(s))return s;var f=l.policies.identify(s)[0];if(f){var h=ki(f);return o&&l.merge(f,s),h}}}return i.prototype.toObject=function(){return w({},this.data)},i.prototype.has=function(t){return this.lookup(t,!0)!==void 0},i.prototype.get=function(t,a){if(this.group.depend(t,a),st.call(this.data,t)){var l=this.data[t];if(l&&st.call(l,a))return l[a]}if(a==="__typename"&&st.call(this.policies.rootTypenamesById,t))return this.policies.rootTypenamesById[t];if(this instanceof na)return this.parent.get(t,a)},i.prototype.lookup=function(t,a){if(a&&this.group.depend(t,"__exists"),st.call(this.data,t))return this.data[t];if(this instanceof na)return this.parent.lookup(t,a);if(this.policies.rootTypenamesById[t])return Object.create(null)},i.prototype.merge=function(t,a){var l=this,s;Me(t)&&(t=t.__ref),Me(a)&&(a=a.__ref);
63var o=typeof t=="string"?this.lookup(s=t):t,f=typeof a=="string"?this.lookup(s=a):a;if(f){te(typeof s=="string",2);var h=new ca(YT).merge(o,f);if(this.data[s]=h,h!==o&&(delete this.refs[s],this.group.caching)){var v=Object.create(null);o||(v.__exists=1),Object.keys(f).forEach(function(p){if(!o||o[p]!==h[p]){v[p]=1;var y=fa(p);y!==p&&!l.policies.hasKeyArgs(h.__typename,y)&&(v[y]=1),h[p]===void 0&&!(l instanceof na)&&delete h[p]}}),v.__typename&&!(o&&o.__typename)&&this.policies.rootTypenamesById[s]===h.__typename&&delete v.__typename,Object.keys(v).forEach(function(p){return l.group.dirty(s,p)})}}},i.prototype.modify=function(t,a){var l=this,s=this.lookup(t);if(s){var o=Object.create(null),f=!1,h=!0,v={DELETE:Gs,INVALIDATE:Ly,isReference:Me,toReference:this.toReference,canRead:this.canRead,readField:function(p,y){return l.policies.readField(typeof p=="string"?{fieldName:p,from:y||ki(t)}:p,{store:l})}};if(Object.keys(s).forEach(function(p){var y=fa(p),g=s[p];if(g!==void 0){var b=typeof a=="function"?a:a[p]||a[y];if(b){var E=b===qc?Gs:b(Vi(g),w(w({},v),{fieldName:y,storeFieldName:p,storage:l.getStorage(t,p)}));if(E===Ly)l.group.dirty(t,p);else if(E===Gs&&(E=void 0),E!==g&&(o[p]=E,f=!0,g=E,globalThis.__DEV__!==!1)){var O=function(U){if(l.lookup(U.__ref)===void 0)return globalThis.__DEV__!==!1&&te.warn(3,U),!0};if(Me(E))O(E);else if(Array.isArray(E))for(var A=!1,x=void 0,T=0,C=E;T<C.length;T++){var R=C[T];if(Me(R)){if(A=!0,O(R))break}else if(typeof R=="object"&&R){var j=l.policies.identify(R)[0];j&&(x=R)}if(A&&x!==void 0){globalThis.__DEV__!==!1&&te.warn(4,x);break}}}}g!==void 0&&(h=!1)}}),f)return this.merge(t,o),h&&(this instanceof na?this.data[t]=void 0:delete this.data[t],this.group.dirty(t,"__exists")),!0}return!1},i.prototype.delete=function(t,a,l){var s,o=this.lookup(t);if(o){var f=this.getFieldValue(o,"__typename"),h=a&&l?this.policies.getStoreFieldName({typename:f,fieldName:a,args:l}):a;return this.modify(t,h?(s={},s[h]=qc,s):qc)}return!1},i.prototype.evict=function(t,a){var l=!1;return t.id&&(st.call(this.data,t.id)&&(l=this.delete(t.id,t.fieldName,t.args)),this instanceof na&&this!==a&&(l=this.parent.evict(t,a)||l),(t.fieldName||l)&&this.group.dirty(t.id,t.fieldName||"__exists")),l},i.prototype.clear=function(){this.replace(null)},i.prototype.extract=function(){var t=this,a=this.toObject(),l=[];return this.getRootIdSet().forEach(function(s){st.call(t.policies.rootTypenamesById,s)||l.push(s)}),l.length&&(a.__META={extraRootIds:l.sort()}),a},i.prototype.replace=function(t){var a=this;if(Object.keys(this.data).forEach(function(o){t&&st.call(t,o)||a.delete(o)}),t){var l=t.__META,s=Yt(t,["__META"]);Object.keys(s).forEach(function(o){a.merge(o,s[o])}),l&&l.extraRootIds.forEach(this.retain,this)}},i.prototype.retain=function(t){return this.rootIds[t]=(this.rootIds[t]||0)+1},i.prototype.release=function(t){if(this.rootIds[t]>0){var a=--this.rootIds[t];return a||delete this.rootIds[t],a}return 0},i.prototype.getRootIdSet=function(t){return t===void 0&&(t=new Set),Object.keys(this.rootIds).forEach(t.add,t),this instanceof na?this.parent.getRootIdSet(t):Object.keys(this.policies.rootTypenamesById).forEach(t.add,t),t},i.prototype.gc=function(){var t=this,a=this.getRootIdSet(),l=this.toObject();a.forEach(function(f){st.call(l,f)&&(Object.keys(t.findChildRefIds(f)).forEach(a.add,a),delete l[f])});var s=Object.keys(l);if(s.length){for(var o=this;o instanceof na;)o=o.parent;s.forEach(function(f){return o.delete(f)})}return s},i.prototype.findChildRefIds=function(t){if(!st.call(this.refs,t)){var a=this.refs[t]=Object.create(null),l=this.data[t];if(!l)return a;var s=new Set([l]);s.forEach(function(o){Me(o)&&(a[o.__ref]=!0),Pe(o)&&Object.keys(o).forEach(function(f){var h=o[f];Pe(h)&&s.add(h)})})}return this.refs[t]},i.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},i}(),Qg=function(){function i(t,a){a===void 0&&(a=null),this.caching=t,this.parent=a,this.d=null,this.resetCaching()}return i.prototype.resetCaching=function(){this.d=this.caching?pg():null,this.keyMaker=new wn(Ua)}
63,i.prototype.depend=function(t,a){if(this.d){this.d(Vc(t,a));var l=fa(a);l!==a&&this.d(Vc(t,l)),this.parent&&this.parent.depend(t,a)}},i.prototype.dirty=function(t,a){this.d&&this.d.dirty(Vc(t,a),a==="__exists"?"forget":"setDirty")},i}();function Vc(i,t){return t+"#"+i}function zy(i,t){al(i)&&i.group.depend(t,"__exists")}(function(i){var t=function(a){hn(l,a);function l(s){var o=s.policies,f=s.resultCaching,h=f===void 0?!0:f,v=s.seed,p=a.call(this,o,new Qg(h))||this;return p.stump=new HT(p),p.storageTrie=new wn(Ua),v&&p.replace(v),p}return l.prototype.addLayer=function(s,o){return this.stump.addLayer(s,o)},l.prototype.removeLayer=function(){return this},l.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},l}(i);i.Root=t})(fl||(fl={}));var na=function(i){hn(t,i);function t(a,l,s,o){var f=i.call(this,l.policies,o)||this;return f.id=a,f.parent=l,f.replay=s,f.group=o,s(f),f}return t.prototype.addLayer=function(a,l){return new t(a,this,l,this.group)},t.prototype.removeLayer=function(a){var l=this,s=this.parent.removeLayer(a);return a===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(o){var f=l.data[o],h=s.lookup(o);h?f?f!==h&&Object.keys(f).forEach(function(v){Re(f[v],h[v])||l.group.dirty(o,v)}):(l.group.dirty(o,"__exists"),Object.keys(h).forEach(function(v){l.group.dirty(o,v)})):l.delete(o)}),s):s===this.parent?this:s.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return w(w({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(a){var l=this.parent.findChildRefIds(a);return st.call(this.data,a)?w(w({},l),i.prototype.findChildRefIds.call(this,a)):l},t.prototype.getStorage=function(){for(var a=this.parent;a.parent;)a=a.parent;return a.getStorage.apply(a,arguments)},t}(fl),HT=function(i){hn(t,i);function t(a){return i.call(this,"EntityStore.Stump",a,function(){},new Qg(a.group.caching,a.group))||this}return t.prototype.removeLayer=function(){return this},t.prototype.merge=function(a,l){return this.parent.merge(a,l)},t}(na);function YT(i,t,a){var l=i[a],s=t[a];return Re(l,s)?l:s}function al(i){return!!(i instanceof fl&&i.group.caching)}function PT(i){return Pe(i)?Xe(i)?i.slice(0):w({__proto__:Object.getPrototypeOf(i)},i):i}var jy=function(){function i(){this.known=new(Uf?WeakSet:Set),this.pool=new wn(Ua),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return i.prototype.isKnown=function(t){return Pe(t)&&this.known.has(t)},i.prototype.pass=function(t){if(Pe(t)){var a=PT(t);return this.passes.set(a,t),a}return t},i.prototype.admit=function(t){var a=this;if(Pe(t)){var l=this.passes.get(t);if(l)return l;var s=Object.getPrototypeOf(t);switch(s){case Array.prototype:{if(this.known.has(t))return t;var o=t.map(this.admit,this),f=this.pool.lookupArray(o);return f.array||(this.known.add(f.array=o),globalThis.__DEV__!==!1&&Object.freeze(o)),f.array}case null:case Object.prototype:{if(this.known.has(t))return t;var h=Object.getPrototypeOf(t),v=[h],p=this.sortedKeys(t);v.push(p.json);var y=v.length;p.sorted.forEach(function(E){v.push(a.admit(t[E]))});var f=this.pool.lookupArray(v);if(!f.object){var g=f.object=Object.create(h);this.known.add(g),p.sorted.forEach(function(E,O){g[E]=v[y+O]}),globalThis.__DEV__!==!1&&Object.freeze(g)}return f.object}}}return t},i.prototype.sortedKeys=function(t){var a=Object.keys(t),l=this.pool.lookupArray(a);if(!l.keys){a.sort();var s=JSON.stringify(a);(l.keys=this.keysByJSON.get(s))||this.keysByJSON.set(s,l.keys={sorted:a,json:s})}return l.keys},i}();function Uy(i){return[i.selectionSet,i.objectOrReference,i.context,i.context.canonizeResults]}var XT=function(){function i(t){var a=this;this.knownResults=new(Ua?WeakMap:Map),this.config=ja(t,{addTypename:t.addTypename!==!1,canonizeResults:Vg(t)}),this.canon=t.canon||new jy,this.executeSelectionSet=cl(function(l){var s,o=l.context.canonizeResults,f=Uy(l);f[3]=!o;var h=(s=a.executeSelectionSet).peek.apply(s,f);return h?o?w(w({},h),{result:a.canon.admit(h.result)}):h:(zy(l.context.store,l.enclosingRef.__ref),a.execSelectionSetImpl(l))},{max:this.config.resultCacheMaxSize||dn["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:Uy,makeCacheKey:function(l,s,o,f){if(al(o.store))return o.store.makeCacheKey(l,Me(s)?s.__ref:s,o.varString,f)}}),this.executeSubSelectedArray=cl(function(l){return zy(l.context.store,l.enclosingRef.__ref),a.execSubSelectedArrayImpl(l)},{max:this.config.resultCacheMaxSize||dn["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(l){var s=l.field,o=l.array,f=l.context;
63if(al(f.store))return f.store.makeCacheKey(s,o,f.varString)}})}return i.prototype.resetCanon=function(){this.canon=new jy},i.prototype.diffQueryAgainstStore=function(t){var a=t.store,l=t.query,s=t.rootId,o=s===void 0?"ROOT_QUERY":s,f=t.variables,h=t.returnPartialData,v=h===void 0?!0:h,p=t.canonizeResults,y=p===void 0?this.config.canonizeResults:p,g=this.config.cache.policies;f=w(w({},Ff(ng(l))),f);var b=ki(o),E=this.executeSelectionSet({selectionSet:yl(l).selectionSet,objectOrReference:b,enclosingRef:b,context:w({store:a,query:l,policies:g,variables:f,varString:sa(f),canonizeResults:y},Fg(l,this.config.fragments))}),O;if(E.missing&&(O=[new jg(KT(E.missing),E.missing,l,f)],!v))throw O[0];return{result:E.result,complete:!O,missing:O}},i.prototype.isFresh=function(t,a,l,s){if(al(s.store)&&this.knownResults.get(t)===l){var o=this.executeSelectionSet.peek(l,a,s,this.canon.isKnown(t));if(o&&t===o.result)return!0}return!1},i.prototype.execSelectionSetImpl=function(t){var a=this,l=t.selectionSet,s=t.objectOrReference,o=t.enclosingRef,f=t.context;if(Me(s)&&!f.policies.rootTypenamesById[s.__ref]&&!f.store.has(s.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(s.__ref," object")};var h=f.variables,v=f.policies,p=f.store,y=p.getFieldValue(s,"__typename"),g=[],b,E=new ca;this.config.addTypename&&typeof y=="string"&&!v.rootIdsByTypename[y]&&g.push({__typename:y});function O(R,j){var U;return R.missing&&(b=E.merge(b,(U={},U[j]=R.missing,U))),R.result}var A=new Set(l.selections);A.forEach(function(R){var j,U;if(vl(R,h))if(ua(R)){var F=v.readField({fieldName:R.name.value,field:R,variables:f.variables,from:s},f),B=Cn(R);F===void 0?Hf.added(R)||(b=E.merge(b,(j={},j[B]="Can't find field '".concat(R.name.value,"' on ").concat(Me(s)?s.__ref+" object":"object "+JSON.stringify(s,null,2)),j))):Xe(F)?F.length>0&&(F=O(a.executeSubSelectedArray({field:R,array:F,enclosingRef:o,context:f}),B)):R.selectionSet?F!=null&&(F=O(a.executeSelectionSet({selectionSet:R.selectionSet,objectOrReference:F,enclosingRef:Me(F)?F:o,context:f}),B)):f.canonizeResults&&(F=a.canon.pass(F)),F!==void 0&&g.push((U={},U[B]=F,U))}else{var J=iu(R,f.lookupFragment);if(!J&&R.kind===W.FRAGMENT_SPREAD)throw Et(10,R.name.value);J&&v.fragmentMatches(J,y)&&J.selectionSet.selections.forEach(A.add,A)}});var x=uu(g),T={result:x,missing:b},C=f.canonizeResults?this.canon.admit(T):Vi(T);return C.result&&this.knownResults.set(C.result,l),C},i.prototype.execSubSelectedArrayImpl=function(t){var a=this,l=t.field,s=t.array,o=t.enclosingRef,f=t.context,h,v=new ca;function p(y,g){var b;return y.missing&&(h=v.merge(h,(b={},b[g]=y.missing,b))),y.result}return l.selectionSet&&(s=s.filter(f.store.canRead)),s=s.map(function(y,g){return y===null?null:Xe(y)?p(a.executeSubSelectedArray({field:l,array:y,enclosingRef:o,context:f}),g):l.selectionSet?p(a.executeSelectionSet({selectionSet:l.selectionSet,objectOrReference:y,enclosingRef:Me(y)?y:o,context:f}),g):(globalThis.__DEV__!==!1&&ZT(f.store,l,y),y)}),{result:f.canonizeResults?this.canon.admit(s):s,missing:h}},i}();function KT(i){try{JSON.stringify(i,function(t,a){if(typeof a=="string")throw a;return a})}catch(t){return t}}function ZT(i,t,a){if(!t.selectionSet){var l=new Set([a]);l.forEach(function(s){Pe(s)&&(te(!Me(s),11,GT(i,s),t.name.value),Object.values(s).forEach(l.add,l))})}}var $f=new ml,qy=new WeakMap;function il(i){var t=qy.get(i);return t||qy.set(i,t={vars:new Set,dep:pg()}),t}function Vy(i){il(i).vars.forEach(function(t){return t.forgetCache(i)})}function JT(i){il(i).vars.forEach(function(t){return t.attachCache(i)})}function $T(i){var t=new Set,a=new Set,l=function(o){if(arguments.length>0){if(i!==o){i=o,t.forEach(function(v){il(v).dep.dirty(l),WT(v)});var f=Array.from(a);a.clear(),f.forEach(function(v){return v(i)})}}else{var h=$f.getValue();h&&(s(h),il(h).dep(l))}return i};l.onNextChange=function(o){return a.add(o),function(){a.delete(o)}};var s=l.attachCache=function(o){return t.add(o),il(o).vars.add(l),l};return l.forgetCache=function(o){return t.delete(o)},l}function WT(i){i.broadcastWatches&&i.broadcastWatches()}var By=Object.create(null);function Wf(i){var t=JSON.stringify(i);return By[t]||(By[t]=Object.create(null))}function Fy(i){var t=Wf(i);return t.keyFieldsFn||(t.keyFieldsFn=function(a,l){var s=function(f,h){return l.readField(h,f)},o=l.keyObject=ed(i,function(f){var h=zi(l.storeObject,f,s);return h===void 0&&a!==l.storeObject&&st.call(a,f[0])&&(h=zi(a,f,Ig)),te(h!==void 0,5,f.join("."),a),h});return"".concat(l.typename,":").concat(JSON.stringify(o))})}function Qy(i){var t=Wf(i);return t.keyArgsFn||(t.keyArgsFn=function(a,l){var s=l.field,o=l.variables,f=l.fieldName,h=ed(i,function(p){var y=p[0],g=y.charAt(0);if(g==="@"){if(s&&Xt(s.directives)){var b=y.slice(1),E=s.directives.find(function(T){return T.name.value===b}),O=E&&ru(E,o);return O&&zi(O,p.slice(1))}return}if(g==="$"){var A=y.slice(1);if(o&&st.call(o,A)){var x=p.slice(0);return x[0]=A,zi(o,x)}return}if(a)return zi(a,p)}),v=JSON.stringify(h);return(a||v!=="{}")&&(f+=":"+v),f})}function ed(i,t){var a=new ca;return Gg(i).reduce(function(l,s){var o,f=t(s);if(f!==void 0){for(var h=s.length-1;h>=0;--h)f=(o={},o[s[h]]=f,o);l=a.merge(l,f)}return l},Object.create(null))}function Gg(i){var t=Wf(i);if(!t.paths){var a=t.paths=[],l=[];
63i.forEach(function(s,o){Xe(s)?(Gg(s).forEach(function(f){return a.push(l.concat(f))}),l.length=0):(l.push(s),Xe(i[o+1])||(a.push(l.slice(0)),l.length=0))})}return t.paths}function Ig(i,t){return i[t]}function zi(i,t,a){return a=a||Ig,Hg(t.reduce(function l(s,o){return Xe(s)?s.map(function(f){return l(f,o)}):s&&a(s,o)},i))}function Hg(i){return Pe(i)?Xe(i)?i.map(Hg):ed(Object.keys(i).sort(),function(t){return zi(i,t)}):i}function Of(i){return i.args!==void 0?i.args:i.field?ru(i.field,i.variables):null}var e_=function(){},Gy=function(i,t){return t.fieldName},Iy=function(i,t,a){var l=a.mergeObjects;return l(i,t)},Hy=function(i,t){return t},t_=function(){function i(t){this.config=t,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=w({dataIdFromObject:Ug},t),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),t.possibleTypes&&this.addPossibleTypes(t.possibleTypes),t.typePolicies&&this.addTypePolicies(t.typePolicies)}return i.prototype.identify=function(t,a){var l,s=this,o=a&&(a.typename||((l=a.storeObject)===null||l===void 0?void 0:l.__typename))||t.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var f=a&&a.storeObject||t,h=w(w({},a),{typename:o,storeObject:f,readField:a&&a.readField||function(){var g=td(arguments,f);return s.readField(g,{store:s.cache.data,variables:g.variables})}}),v,p=o&&this.getTypePolicy(o),y=p&&p.keyFn||this.config.dataIdFromObject;return Jf.withValue(!0,function(){for(;y;){var g=y(w(w({},t),f),h);if(Xe(g))y=Fy(g);else{v=g;break}}}),v=v?String(v):void 0,h.keyObject?[v,h.keyObject]:[v]},i.prototype.addTypePolicies=function(t){var a=this;Object.keys(t).forEach(function(l){var s=t[l],o=s.queryType,f=s.mutationType,h=s.subscriptionType,v=Yt(s,["queryType","mutationType","subscriptionType"]);o&&a.setRootTypename("Query",l),f&&a.setRootTypename("Mutation",l),h&&a.setRootTypename("Subscription",l),st.call(a.toBeAdded,l)?a.toBeAdded[l].push(v):a.toBeAdded[l]=[v]})},i.prototype.updateTypePolicy=function(t,a){var l=this,s=this.getTypePolicy(t),o=a.keyFields,f=a.fields;function h(v,p){v.merge=typeof p=="function"?p:p===!0?Iy:p===!1?Hy:v.merge}h(s,a.merge),s.keyFn=o===!1?e_:Xe(o)?Fy(o):typeof o=="function"?o:s.keyFn,f&&Object.keys(f).forEach(function(v){var p=l.getFieldPolicy(t,v,!0),y=f[v];if(typeof y=="function")p.read=y;else{var g=y.keyArgs,b=y.read,E=y.merge;p.keyFn=g===!1?Gy:Xe(g)?Qy(g):typeof g=="function"?g:p.keyFn,typeof b=="function"&&(p.read=b),h(p,E)}p.read&&p.merge&&(p.keyFn=p.keyFn||Gy)})},i.prototype.setRootTypename=function(t,a){a===void 0&&(a=t);var l="ROOT_"+t.toUpperCase(),s=this.rootTypenamesById[l];a!==s&&(te(!s||s===t,6,t),s&&delete this.rootIdsByTypename[s],this.rootIdsByTypename[a]=l,this.rootTypenamesById[l]=a)},i.prototype.addPossibleTypes=function(t){var a=this;this.usingPossibleTypes=!0,Object.keys(t).forEach(function(l){a.getSupertypeSet(l,!0),t[l].forEach(function(s){a.getSupertypeSet(s,!0).add(l);var o=s.match(Bg);(!o||o[0]!==s)&&a.fuzzySubtypes.set(s,new RegExp(s))})})},i.prototype.getTypePolicy=function(t){var a=this;if(!st.call(this.typePolicies,t)){var l=this.typePolicies[t]=Object.create(null);l.fields=Object.create(null);var s=this.supertypeMap.get(t);!s&&this.fuzzySubtypes.size&&(s=this.getSupertypeSet(t,!0),this.fuzzySubtypes.forEach(function(f,h){if(f.test(t)){var v=a.supertypeMap.get(h);v&&v.forEach(function(p){return s.add(p)})}})),s&&s.size&&s.forEach(function(f){var h=a.getTypePolicy(f),v=h.fields,p=Yt(h,["fields"]);Object.assign(l,p),Object.assign(l.fields,v)})}var o=this.toBeAdded[t];return o&&o.length&&o.splice(0).forEach(function(f){a.updateTypePolicy(t,f)}),this.typePolicies[t]},i.prototype.getFieldPolicy=function(t,a,l){if(t){var s=this.getTypePolicy(t).fields;return s[a]||l&&(s[a]=Object.create(null))}},i.prototype.getSupertypeSet=function(t,a){var l=this.supertypeMap.get(t);return!l&&a&&this.supertypeMap.set(t,l=new Set),l}
vendor: 1,747 bytes, line 63
63,i.prototype.fragmentMatches=function(t,a,l,s){var o=this;if(!t.typeCondition)return!0;if(!a)return!1;var f=t.typeCondition.name.value;if(a===f)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(f))for(var h=this.getSupertypeSet(a,!0),v=[h],p=function(O){var A=o.getSupertypeSet(O,!1);A&&A.size&&v.indexOf(A)<0&&v.push(A)},y=!!(l&&this.fuzzySubtypes.size),g=!1,b=0;b<v.length;++b){var E=v[b];if(E.has(f))return h.has(f)||(g&&globalThis.__DEV__!==!1&&te.warn(7,a,f),h.add(f)),!0;E.forEach(p),y&&b===v.length-1&&Ef(t.selectionSet,l,s)&&(y=!1,g=!0,this.fuzzySubtypes.forEach(function(O,A){var x=a.match(O);x&&x[0]===a&&p(A)}))}return!1},i.prototype.hasKeyArgs=function(t,a){var l=this.getFieldPolicy(t,a,!1);return!!(l&&l.keyFn)},i.prototype.getStoreFieldName=function(t){var a=t.typename,l=t.fieldName,s=this.getFieldPolicy(a,l,!1),o,f=s&&s.keyFn;if(f&&a)for(var h={typename:a,fieldName:l,field:t.field||null,variables:t.variables},v=Of(t);f;){var p=f(v,h);if(Xe(p))f=Qy(p);else{o=p||l;break}}return o===void 0&&(o=t.field?EO(t.field,t.variables):tg(l,Of(t))),o===!1?l:l===fa(o)?o:l+":"+o},i.prototype.readField=function(t,a){var l=t.from;if(l){var s=t.field||t.fieldName;if(s){if(t.typename===void 0){var o=a.store.getFieldValue(l,"__typename");o&&(t.typename=o)}var f=this.getStoreFieldName(t),h=fa(f),v=a.store.getFieldValue(l,f),p=this.getFieldPolicy(t.typename,h,!1),y=p&&p.read;if(y){var g=Yy(this,l,t,a,a.store.getStorage(Me(l)?l.__ref:l,f));return $f.withValue(this.cache,y,[v,g])}return v}}},i.prototype.getReadFunction=function(t,a){var l=this.getFieldPolicy(t,a,!1);return l&&l.read},i.prototype.getMergeFunction=function(t,a,l){var s=this.getFieldPolicy(t,a,!1),o=s&&s.merge;return!o&&l&&(s=this.getTypePolicy(l),o=s&&s.merge),o}
63,i.prototype.runMergeFunction=function(t,a,l,s,o){var f=l.field,h=l.typename,v=l.merge;return v===Iy?Yg(s.store)(t,a):v===Hy?a:(s.overwrite&&(t=void 0),v(t,a,Yy(this,void 0,{typename:h,fieldName:f.name.value,field:f,variables:s.variables},s,o||Object.create(null))))},i}();function Yy(i,t,a,l,s){var o=i.getStoreFieldName(a),f=fa(o),h=a.variables||l.variables,v=l.store,p=v.toReference,y=v.canRead;return{args:Of(a),field:a.field||null,fieldName:f,storeFieldName:o,variables:h,isReference:Me,toReference:p,storage:s,cache:i.cache,canRead:y,readField:function(){return i.readField(td(arguments,t,h),l)},mergeObjects:Yg(l.store)}}function td(i,t,a){var l=i[0],s=i[1],o=i.length,f;return typeof l=="string"?f={fieldName:l,from:o>1?s:t}:(f=w({},l),st.call(f,"from")||(f.from=t)),globalThis.__DEV__!==!1&&f.from===void 0&&globalThis.__DEV__!==!1&&te.warn(8,Um(Array.from(i))),f.variables===void 0&&(f.variables=a),f}function Yg(i){return function(a,l){if(Xe(a)||Xe(l))throw Et(9);if(Pe(a)&&Pe(l)){var s=i.getFieldValue(a,"__typename"),o=i.getFieldValue(l,"__typename"),f=s&&o&&s!==o;if(f)return l;if(Me(a)&&Ci(l))return i.merge(a.__ref,l),a;if(Ci(a)&&Me(l))return i.merge(a,l.__ref),l;if(Ci(a)&&Ci(l))return w(w({},a),l)}return l}}function Bc(i,t,a){var l="".concat(t).concat(a),s=i.flavors.get(l);return s||i.flavors.set(l,s=i.clientOnly===t&&i.deferred===a?i:w(w({},i),{clientOnly:t,deferred:a})),s}var n_=function(){function i(t,a,l){this.cache=t,this.reader=a,this.fragments=l}return i.prototype.writeToStore=function(t,a){var l=this,s=a.query,o=a.result,f=a.dataId,h=a.variables,v=a.overwrite,p=za(s),y=IT();h=w(w({},Ff(p)),h);var g=w(w({store:t,written:Object.create(null),merge:function(E,O){return y.merge(E,O)},variables:h,varString:sa(h)},Fg(s,this.fragments)),{overwrite:!!v,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),b=this.processSelectionSet({result:o||Object.create(null),dataId:f,selectionSet:p.selectionSet,mergeTree:{map:new Map},context:g});if(!Me(b))throw Et(12,o);return g.incomingById.forEach(function(E,O){var A=E.storeObject,x=E.mergeTree,T=E.fieldNodeSet,C=ki(O);if(x&&x.map.size){var R=l.applyMerges(x,C,A,g);if(Me(R))return;A=R}if(globalThis.__DEV__!==!1&&!g.overwrite){var j=Object.create(null);T.forEach(function(B){B.selectionSet&&(j[B.name.value]=!0)});var U=function(B){return j[fa(B)]===!0},F=function(B){var J=x&&x.map.get(B);return!!(J&&J.info&&J.info.merge)};Object.keys(A).forEach(function(B){U(B)&&!F(B)&&a_(C,A,B,g.store)})}t.merge(O,A)}),t.retain(b.__ref),b},i.prototype.processSelectionSet=function(t){var a=this,l=t.dataId,s=t.result,o=t.selectionSet,f=t.context,h=t.mergeTree,v=this.cache.policies,p=Object.create(null),y=l&&v.rootTypenamesById[l]||df(s,o,f.fragmentMap)||l&&f.store.get(l,"__typename");typeof y=="string"&&(p.__typename=y);var g=function(){var R=td(arguments,p,f.variables);if(Me(R.from)){var j=f.incomingById.get(R.from.__ref);if(j){var U=v.readField(w(w({},R),{from:j.storeObject}),f);if(U!==void 0)return U}}return v.readField(R,f)},b=new Set;this.flattenFields(o,s,f,y).forEach(function(R,j){var U,F=Cn(j),B=s[F];if(b.add(j),B!==void 0){var J=v.getStoreFieldName({typename:y,fieldName:j.name.value,field:j,variables:R.variables}),ie=Py(h,J),se=a.processFieldValue(B,j,j.selectionSet?Bc(R,!1,!1):R,ie),pe=void 0;j.selectionSet&&(Me(se)||Ci(se))&&(pe=g("__typename",se));var _e=v.getMergeFunction(y,j.name.value,pe);_e?ie.info={field:j,typename:y,merge:_e}:Xy(h,J),p=R.merge(p,(U={},U[J]=se,U))}else globalThis.__DEV__!==!1&&!R.clientOnly&&!R.deferred&&!Hf.added(j)&&!v.getReadFunction(y,j.name.value)&&globalThis.__DEV__!==!1&&te.error(13,Cn(j),s)});try{var E=v.identify(s,{typename:y,selectionSet:o,fragmentMap:f.fragmentMap,storeObject:p,readField:g}),O=E[0],A=E[1];l=l||O,A&&(p=f.merge(p,A))}catch(R){if(!l)throw R}if(typeof l=="string"){var x=ki(l),T=f.written[l]||(f.written[l]=[]);if(T.indexOf(o)>=0||(T.push(o),this.reader&&this.reader.isFresh(s,x,o,f)))return x;var C=f.incomingById.get(l);return C?(C.storeObject=f.merge(C.storeObject,p),C.mergeTree=Tf(C.mergeTree,h),b.forEach(function(R){return C.fieldNodeSet.add(R)})):f.incomingById.set(l,{storeObject:p,mergeTree:Ks(h)?void 0:h,fieldNodeSet:b}),x}
63return p},i.prototype.processFieldValue=function(t,a,l,s){var o=this;return!a.selectionSet||t===null?globalThis.__DEV__!==!1?Og(t):t:Xe(t)?t.map(function(f,h){var v=o.processFieldValue(f,a,l,Py(s,h));return Xy(s,h),v}):this.processSelectionSet({result:t,selectionSet:a.selectionSet,context:l,mergeTree:s})},i.prototype.flattenFields=function(t,a,l,s){s===void 0&&(s=df(a,t,l.fragmentMap));var o=new Map,f=this.cache.policies,h=new wn(!1);return function v(p,y){var g=h.lookup(p,y.clientOnly,y.deferred);g.visited||(g.visited=!0,p.selections.forEach(function(b){if(vl(b,l.variables)){var E=y.clientOnly,O=y.deferred;if(!(E&&O)&&Xt(b.directives)&&b.directives.forEach(function(T){var C=T.name.value;if(C==="client"&&(E=!0),C==="defer"){var R=ru(T,l.variables);(!R||R.if!==!1)&&(O=!0)}}),ua(b)){var A=o.get(b);A&&(E=E&&A.clientOnly,O=O&&A.deferred),o.set(b,Bc(l,E,O))}else{var x=iu(b,l.lookupFragment);if(!x&&b.kind===W.FRAGMENT_SPREAD)throw Et(14,b.name.value);x&&f.fragmentMatches(x,s,a,l.variables)&&v(x.selectionSet,Bc(l,E,O))}}}))}(t,l),o}
63,i.prototype.applyMerges=function(t,a,l,s,o){var f,h=this;if(t.map.size&&!Me(l)){var v=!Xe(l)&&(Me(a)||Ci(a))?a:void 0,p=l;v&&!o&&(o=[Me(v)?v.__ref:v]);var y,g=function(b,E){return Xe(b)?typeof E=="number"?b[E]:void 0:s.store.getFieldValue(b,String(E))};t.map.forEach(function(b,E){var O=g(v,E),A=g(p,E);if(A!==void 0){o&&o.push(E);var x=h.applyMerges(b,O,A,s,o);x!==A&&(y=y||new Map,y.set(E,x)),o&&te(o.pop()===E)}}),y&&(l=Xe(p)?p.slice(0):w({},p),y.forEach(function(b,E){l[E]=b}))}return t.info?this.cache.policies.runMergeFunction(a,l,t.info,s,o&&(f=s.store).getStorage.apply(f,o)):l},i}(),Pg=[];function Py(i,t){var a=i.map;return a.has(t)||a.set(t,Pg.pop()||{map:new Map}),a.get(t)}function Tf(i,t){if(i===t||!t||Ks(t))return i;if(!i||Ks(i))return t;var a=i.info&&t.info?w(w({},i.info),t.info):i.info||t.info,l=i.map.size&&t.map.size,s=l?new Map:i.map.size?i.map:t.map,o={info:a,map:s};if(l){var f=new Set(t.map.keys());i.map.forEach(function(h,v){o.map.set(v,Tf(h,t.map.get(v))),f.delete(v)}),f.forEach(function(h){o.map.set(h,Tf(t.map.get(h),i.map.get(h)))})}return o}function Ks(i){return!i||!(i.info||i.map.size)}function Xy(i,t){var a=i.map,l=a.get(t);l&&Ks(l)&&(Pg.push(l),a.delete(t))}var Ky=new Set;function a_(i,t,a,l){var s=function(g){var b=l.getFieldValue(g,a);return typeof b=="object"&&b},o=s(i);if(o){var f=s(t);
63if(f&&!Me(o)&&!Re(o,f)&&!Object.keys(o).every(function(g){return l.getFieldValue(f,g)!==void 0})){var h=l.getFieldValue(i,"__typename")||l.getFieldValue(t,"__typename"),v=fa(a),p="".concat(h,".").concat(v);if(!Ky.has(p)){Ky.add(p);var y=[];!Xe(o)&&!Xe(f)&&[o,f].forEach(function(g){var b=l.getFieldValue(g,"__typename");typeof b=="string"&&!y.includes(b)&&y.push(b)}),globalThis.__DEV__!==!1&&te.warn(15,v,h,y.length?"either ensure all objects of type "+y.join(" and ")+" have an ID or a custom merge function, or ":"",p,w({},o),w({},f))}}}}var Xg=function(i){hn(t,i);function t(a){a===void 0&&(a={});var l=i.call(this)||this;return l.watches=new Set,l.addTypenameTransform=new vg(Hf),l.assumeImmutableResults=!0,l.makeVar=$T,l.txCount=0,l.config=QT(a),l.addTypename=!!l.config.addTypename,l.policies=new t_({cache:l,dataIdFromObject:l.config.dataIdFromObject,possibleTypes:l.config.possibleTypes,typePolicies:l.config.typePolicies}),l.init(),l}return t.prototype.init=function(){var a=this.data=new fl.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=a.stump,this.resetResultCache()},t.prototype.resetResultCache=function(a){var l=this,s=this.storeReader,o=this.config.fragments;this.storeWriter=new n_(this,this.storeReader=new XT({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:Vg(this.config),canon:a?void 0:s&&s.canon,fragments:o}),o),this.maybeBroadcastWatch=cl(function(f,h){return l.broadcastWatch(f,h)},{max:this.config.resultCacheMaxSize||dn["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(f){var h=f.optimistic?l.optimisticData:l.data;if(al(h)){var v=f.optimistic,p=f.id,y=f.variables;return h.makeCacheKey(f.query,f.callback,sa({optimistic:v,id:p,variables:y}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(f){return f.resetCaching()})},t.prototype.restore=function(a){return this.init(),a&&this.data.replace(a),this},t.prototype.extract=function(a){return a===void 0&&(a=!1),(a?this.optimisticData:this.data).extract()},t.prototype.read=function(a){var l=a.returnPartialData,s=l===void 0?!1:l;try{return this.storeReader.diffQueryAgainstStore(w(w({},a),{store:a.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:s})).result||null}catch(o){if(o instanceof jg)return null;throw o}},t.prototype.write=function(a){try{return++this.txCount,this.storeWriter.writeToStore(this.data,a)}finally{!--this.txCount&&a.broadcast!==!1&&this.broadcastWatches()}},t.prototype.modify=function(a){if(st.call(a,"id")&&!a.id)return!1;var l=a.optimistic?this.optimisticData:this.data;try{return++this.txCount,l.modify(a.id||"ROOT_QUERY",a.fields)}finally{!--this.txCount&&a.broadcast!==!1&&this.broadcastWatches()}},t.prototype.diff=function(a){return this.storeReader.diffQueryAgainstStore(w(w({},a),{store:a.optimistic?this.optimisticData:this.data,rootId:a.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(a){var l=this;return this.watches.size||JT(this),this.watches.add(a),a.immediate&&this.maybeBroadcastWatch(a),function(){l.watches.delete(a)&&!l.watches.size&&Vy(l),l.maybeBroadcastWatch.forget(a)}},t.prototype.gc=function(a){var l;sa.reset(),Ma.reset(),this.addTypenameTransform.resetCache(),(l=this.config.fragments)===null||l===void 0||l.resetCaches();var s=this.optimisticData.gc();return a&&!this.txCount&&(a.resetResultCache?this.resetResultCache(a.resetResultIdentities):a.resetResultIdentities&&this.storeReader.resetCanon()),s},t.prototype.retain=function(a,l){return(l?this.optimisticData:this.data).retain(a)},t.prototype.release=function(a,l){return(l?this.optimisticData:this.data).release(a)},t.prototype.identify=function(a){if(Me(a))return a.__ref;try{return this.policies.identify(a)[0]}catch(l){globalThis.__DEV__!==!1&&te.warn(l)}},t.prototype.evict=function(a){if(!a.id){if(st.call(a,"id"))return!1;a=w(w({},a),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(a,this.data)}finally{!--this.txCount&&a.broadcast!==!1&&this.broadcastWatches()}},t.prototype.reset=function(a){var l=this;return this.init(),sa.reset(),a&&a.discardWatches?(this.watches.forEac
63h(function(s){return l.maybeBroadcastWatch.forget(s)}),this.watches.clear(),Vy(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(a){var l=this.optimisticData.removeLayer(a);l!==this.optimisticData&&(this.optimisticData=l,this.broadcastWatches())},t.prototype.batch=function(a){var l=this,s=a.update,o=a.optimistic,f=o===void 0?!0:o,h=a.removeOptimistic,v=a.onWatchUpdated,p,y=function(b){var E=l,O=E.data,A=E.optimisticData;++l.txCount,b&&(l.data=l.optimisticData=b);try{return p=s(l)}finally{--l.txCount,l.data=O,l.optimisticData=A}},g=new Set;return v&&!this.txCount&&this.broadcastWatches(w(w({},a),{onWatchUpdated:function(b){return g.add(b),!1}})),typeof f=="string"?this.optimisticData=this.optimisticData.addLayer(f,y):f===!1?y(this.data):y(),typeof h=="string"&&(this.optimisticData=this.optimisticData.removeLayer(h)),v&&g.size?(this.broadcastWatches(w(w({},a),{onWatchUpdated:function(b,E){var O=v.call(this,b,E);return O!==!1&&g.delete(b),O}})),g.size&&g.forEach(function(b){return l.maybeBroadcastWatch.dirty(b)})):this.broadcastWatches(a),p},t.prototype.performTransaction=function(a,l){return this.batch({update:a,optimistic:l||l!==null})},t.prototype.transformDocument=function(a){return this.addTypenameToDocument(this.addFragmentsToDocument(a))},t.prototype.fragmentMatches=function(a,l){return this.policies.fragmentMatches(a,l)},t.prototype.lookupFragment=function(a){var l;return((l=this.config.fragments)===null||l===void 0?void 0:l.lookup(a))||null},t.prototype.broadcastWatches=function(a){var l=this;this.txCount||this.watches.forEach(function(s){return l.maybeBroadcastWatch(s,a)})},t.prototype.addFragmentsToDocument=function(a){var l=this.config.fragments;return l?l.transform(a):a},t.prototype.addTypenameToDocument=function(a){return this.addTypename?this.addTypenameTransform.transformDocument(a):a},t.prototype.broadcastWatch=function(a,l){var s=a.lastDiff,o=this.diff(a);l&&(a.optimistic&&typeof l.optimistic=="string"&&(o.fromOptimisticTransaction=!0),l.onWatchUpdated&&l.onWatchUpdated.call(this,a,o,s)===!1)||(!s||!Re(s.result,o.result))&&a.callback(a.lastDiff=o,s)},t}(zg);globalThis.__DEV__!==!1&&(Xg.prototype.getMemoryInternals=aO);var Ae;(function(i){i[i.loading=1]="loading",i[i.setVariables=2]="setVariables",i[i.fetchMore=3]="fetchMore",i[i.refetch=4]="refetch",i[i.poll=6]="poll",i[i.ready=7]="ready",i[i.error=8]="error"})(Ae||(Ae={}));function wi(i){return i?i<7:!1}var Zy=Object.assign,i_=Object.hasOwnProperty,rl=function(i){hn(t,i);function t(a){var l=a.queryManager,s=a.queryInfo,o=a.options,f=this,h=t.inactiveOnCreation.getValue();f=i.call(this,function(T){h&&(l.queries.set(f.queryId,s),h=!1);try{var C=T._subscription._observer;C&&!C.error&&(C.error=r_)}catch{}var R=!f.observers.size;f.observers.add(T);var j=f.last;return j&&j.error?T.error&&T.error(j.error):j&&j.result&&T.next&&T.next(f.maskResult(j.result)),R&&f.reobserve().catch(function(){}),function(){f.observers.delete(T)&&!f.observers.size&&f.tearDownQuery()}})||this,f.observers=new Set,f.subscriptions=new Set,f.dirty=!1,f.queryInfo=s,f.queryManager=l,f.waitForOwnResult=Fc(o.fetchPolicy),f.isTornDown=!1,f.subscribeToMore=f.subscribeToMore.bind(f),f.maskResult=f.maskResult.bind(f);var v=l.defaultOptions.watchQuery,p=v===void 0?{}:v,y=p.fetchPolicy,g=y===void 0?"cache-first":y,b=o.fetchPolicy,E=b===void 0?g:b,O=o.initialFetchPolicy,A=O===void 0?E==="standby"?g:E:O;f.options=w(w({},o),{initialFetchPolicy:A,fetchPolicy:E}),f.queryId=s.queryId||l.generateQueryId();var x=za(f.query);return f.queryName=x&&x.name&&x.name.value,f}return Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var a=this;return new Promise(function(l,s){var o={next:function(h){l(h),a.observers.delete(o),a.observers.size||a.queryManager.removeQuery(a.queryId),setTimeout(function(){f.unsubscribe()},0)},error:s},f=a.subscribe(o)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(a){a===void 0&&(a=!0);var l=this.getLastResult(!0),s=this.queryInfo.networkStatus||l&&l.networkStatus||Ae.ready,o=w(w({},l),{loading:wi(s),networkStatus:s}),f=this.options.fetchPolicy,h=f===void 0?"cache-first":f;if(!(Fc(h)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers))if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var v=this.queryInfo.getDiff();(v.complete||this.options.returnPartialData)&&(o.data=v.result),Re(o.data,{})&&(o.data=void 0),v.complete?(delete o.partial,v.complete&&o.networkStatus===Ae.loading&&(h==="cache-first"||h==="cache-only")&&(o.networkStatus=Ae.ready,o.loading=!1)):o.partial=!0,o.networkStatus===Ae.ready&&(o.error||o.errors)&&(o.networkStatus=Ae.error),globalThis.__DEV__!==!1&&!v.complete&&!this.options.partialRefetch&&!o.loading&&!o.data&&!o.error&&Kg(v.missing)}return a&&this.updateLastResult(o),o},t.prototype.getCurrentResult=function(a){return a===void 0&&(a=!0),this.maskResult(this.getCurrentFullResult(a))},t.prototype.isDifferentFromLastResult=function(a,l){if(!this.last)return!0;var s=this.queryManager.getDocumentInfo(this.query),o=this.queryManager.dataMasking,f=o?s.nonReactiveQuery:this.query,h=o||s.hasNonreactiveDirective?!Cg(f,this.last.result,a,this.variables):!Re(this.last.result,a);return h||l&&!Re(this.last.variables,l)},t.prototype.getLast=function(a,l){var s=this.last;if(s&&s[a]&&(!l||Re(s.variables,this.variables)))return s[a]},t.prototype.getLastResult=function(a){return this.getLast("result",a)},t.prototype.getLastError=function(a){return this.getLast("error",a)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(a){var l,s={pollInterval:0},o=this.options.fetchPolicy;if(o==="no-cache"?s.fetchPolicy="no-cache":s.fetchPolicy="network-only",globalThis.__DEV__!==!1&&a&&i_.call(a,"variables")){var f=ng(this.query),h=f.variableDefinitions;(!h||!h.some(function(v){return v.variable.name.value==="variables"}))&&globalThis.__DEV__!==!1&&te.warn(21,a,((l=f.name)===null||l===void 0?void 0:l.value)||f)}return a&&!Re(this.options.variables,a)&&(s.variables=this.options.variables=w(w({},this.options.variables),a)),this.queryInfo.resetLastWrite(),this.reobserve(s,Ae.refetch)},t.prototype.fetchMore=function(a){var l=this,s=w(w({},a.query?a:w(w(w(w({},this.options),{query:this.options.query}),a),{variables:w(w({},this.options.variables),a.variables)})),{fetchPolicy:"no-cache"});s.query=this.transformDocument(s.query);var o=this.queryManager.generateQueryId();this.lastQuery=a.query?this.transformDocument(this.options.query):s.query;var f=this.queryInfo,h=f.networkStatus;f.networkStatus=Ae.fetchMore,s.notifyOnNetworkStatusChange&&this.observe();var v=new Set,p=a?.updateQuery,y=this.options.fetchPolicy!=="no-cache";return y||te(p,22),this.queryManager.fetchQuery(o,s,Ae.fetchMore).then(function(g){if(l.queryManager.removeQuery(o),f.networkStatus===Ae.fetchMore&&(f.networkStatus=h),y)l.queryManager.cache.batch({update:function(O){var A=a.updateQuery;A?O.updateQuery({query:l.query,variables:l.variables,returnPartialData:!0,optimistic:!1},function(x){return A(x,{fetchMoreResult:g.data,variables:s.variables})}):O.writeQuery({query:s.query,variables:s.variables,data:g.data})},onWatchUpdated:function(O){v.add(O.query)}});else{var b=l.getLast("result"),E=p(b.data,{fetchMoreResult:g.data,variables:s.variables});l.reportResult(w(w({},b),{networkStatus:h,loading:wi(h),data:E}),l.variables)}return l.maskResult(g)}).finally(function(){y&&!v.has(l.query)&&l.reobserveCacheFirst()})},t.prototype.subscribeToMore=function(a){var l=this,s=this.queryManager.startGraphQLSubscription({query:a.document,variables:a.variables,context:a.context}).subscribe({next:function(o){var f=a.updateQuery;f&&l.updateQuery(function(h,v){return f(h,w({subscriptionData:o},v))})}
63,error:function(o){if(a.onError){a.onError(o);return}globalThis.__DEV__!==!1&&te.error(23,o)}});return this.subscriptions.add(s),function(){l.subscriptions.delete(s)&&s.unsubscribe()}},t.prototype.setOptions=function(a){return this.reobserve(a)},t.prototype.silentSetOptions=function(a){var l=ja(this.options,a||{});Zy(this.options,l)},t.prototype.setVariables=function(a){return Re(this.variables,a)?this.observers.size?this.result():Promise.resolve():(this.options.variables=a,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:a},Ae.setVariables):Promise.resolve())},t.prototype.updateQuery=function(a){var l=this.queryManager,s=l.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),o=s.result,f=s.complete,h=a(o,{variables:this.variables,complete:!!f,previousData:o});h&&(l.cache.writeQuery({query:this.options.query,data:h,variables:this.variables}),l.broadcastQueries())},t.prototype.startPolling=function(a){this.options.pollInterval=a,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(a,l){if(l.nextFetchPolicy){var s=l.fetchPolicy,o=s===void 0?"cache-first":s,f=l.initialFetchPolicy,h=f===void 0?o:f;o==="standby"||(typeof l.nextFetchPolicy=="function"?l.fetchPolicy=l.nextFetchPolicy(o,{reason:a,options:l,observable:this,initialFetchPolicy:h}):a==="variables-changed"?l.fetchPolicy=h:l.fetchPolicy=l.nextFetchPolicy)}return l.fetchPolicy},t.prototype.fetch=function(a,l,s){var o=this.queryManager.getOrCreateQuery(this.queryId);return o.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(o,a,l,s)},t.prototype.updatePolling=function(){var a=this;if(!this.queryManager.ssrMode){var l=this,s=l.pollingInfo,o=l.options.pollInterval;if(!o||!this.hasObservers()){s&&(clearTimeout(s.timeout),delete this.pollingInfo);return}if(!(s&&s.interval===o)){te(o,24);var f=s||(this.pollingInfo={});f.interval=o;var h=function(){var p,y;a.pollingInfo&&(!wi(a.queryInfo.networkStatus)&&!(!((y=(p=a.options).skipPollAttempt)===null||y===void 0)&&y.call(p))?a.reobserve({fetchPolicy:a.options.initialFetchPolicy==="no-cache"?"no-cache":"network-only"},Ae.poll).then(v,v):v())},v=function(){var p=a.pollingInfo;p&&(clearTimeout(p.timeout),p.timeout=setTimeout(h,p.interval))};v()}}},t.prototype.updateLastResult=function(a,l){l===void 0&&(l=this.variables);var s=this.getLastError();return s&&this.last&&!Re(l,this.last.variables)&&(s=void 0),this.last=w({result:this.queryManager.assumeImmutableResults?a:Og(a),variables:l},s?{error:s}:null)},t.prototype.reobserveAsConcast=function(a,l){var s=this;this.isTornDown=!1;var o=l===Ae.refetch||l===Ae.fetchMore||l===Ae.poll,f=this.options.variables,h=this.options.fetchPolicy,v=ja(this.options,a||{}),p=o?v:Zy(this.options,v),y=this.transformDocument(p.query);this.lastQuery=y,o||(this.updatePolling(),a&&a.variables&&!Re(a.variables,f)&&p.fetchPolicy!=="standby"&&(p.fetchPolicy===h||typeof p.nextFetchPolicy=="function")&&(this.applyNextFetchPolicy("variables-changed",p),l===void 0&&(l=Ae.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=Fc(p.fetchPolicy));var g=function(){s.concast===O&&(s.waitForOwnResult=!1)},b=p.variables&&w({},p.variables),E=this.fetch(p,l,y),O=E.concast,A=E.fromLink,x={next:function(T){Re(s.variables,b)&&(g(),s.reportResult(T,b))},error:function(T){Re(s.variables,b)&&(xg(T)||(T=new on({networkError:T})),g(),s.reportError(T,b))}};return!o&&(A||!this.concast)&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=O,this.observer=x),O.addObserver(x),O},t.prototype.reobserve=function(a,l){return ZO(this.reobserveAsConcast(a,l).promise.then(this.maskResult))},t.prototype.resubscribeAfterError=function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var s=this.last;this.resetLastResults();var o=this.subscribe.apply(this,a);return this.last=s,o},t.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},t.prototype.reportResult=function(a,l){var s=this.getLastError(),o=this.isDifferentFromLastResult(a,l);(s||!a.partial||this.options.returnPartialData)&&this.updateLastResult(a,l),(s||o)&&tl(this.observers,"next",this.maskResult(a))},t.prototype.reportError=function(a,l){var s=w(w({},this.getLastResult()),{error:a,errors:a.graphQLErrors,networkStatus:Ae.error,loading:!1});this.updateLastResult(s,l),tl(this.observers,"error",this.last.error=a)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(a){return a.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(a){return this.queryManager.transform(a)},t.prototype.maskResult=function(a){return a&&"data"in a?w(w({},a),{data:this.queryManager.maskOperation({document:this.query,data:a.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):a},t.prototype.resetNotifications=function(){this.cancelNotifyTimeout(),this.dirty=!1},t.prototype.cancelNotifyTimeout=function(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0)},t.prototype.scheduleNotify=function(){var a=this;this.dirty||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return a.notify()},0)))},t.prototype.notify=function(){if(this.cancelNotifyTimeout(),this.dirty&&(this.options.fetchPolicy=="cache-only"||this.options.fetchPolicy=="cache-and-network"||!wi(this.queryInfo.networkStatus))){var a=this.queryInfo.getDiff();a.fromOptimisticTransaction?this.observe():this.reobserveCacheFirst()}this.dirty=!1},t.prototype.reobserveCacheFirst=function(){var a=this.options,l=a.fetchPolicy,s=a.nextFetchPolicy;return l==="cache-and-network"||l==="network-only"?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(o,f){return this.nextFetchPolicy=s,typeof this.nextFetchPolicy=="function"?this.nextFetchPolicy(o,f):l}}):this.reobserve()},t.inactiveOnCreation=new ml,t}(Ve);Tg(rl);function r_(i){globalThis.__DEV__!==!1&&te.error(25,i.message,i.stack)}function Kg(i){globalThis.__DEV__!==!1&&i&&globalThis.__DEV__!==!1&&te.debug(26,i)}function Fc(i){return i==="network-only"||i==="no-cache"||i==="standby"}var Ri=new(Ua?WeakMap:Map);function Qc(i,t){var a=i[t];typeof a=="function"&&(i[t]=function(){return Ri.set(i,(Ri.get(i)+1)%1e15),a.apply(this,arguments)})}var Gc=function(){function i(t,a){a===void 0&&(a=t.generateQueryId()),this.queryId=a,this.document=null,this.lastRequestId=1,this.stopped=!1,this.observableQuery=null;var l=this.cache=t.cache;Ri.has(l)||(Ri.set(l,0),Qc(l,"evict"),Qc(l,"modify"),Qc(l,"reset"))}return i.prototype.init=function(t){var a=t.networkStatus||Ae.loading;return this.variables&&this.networkStatus!==Ae.loading&&!Re(this.variables,t.variables)&&(a=Ae.setVariables),Re(t.variables,this.variables)||(this.lastDiff=void 0,this.cancel()),Object.assign(this,{document:t.document,variables:t.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:a}),t.observableQuery&&this.setObservableQuery(t.observableQuery),t.lastRequestId&&(this.lastRequestId=t.lastRequestId),this},i.prototype.resetDiff=function(){this.lastDiff=void 0},i.prototype.getDiff=function(){var t=this.getDiffOptions();if(this.lastDiff&&Re(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var a=this.observableQuery;if(a&&a.options.fetchPolicy==="no-cache")return{complete:!1};var l=this.cache.diff(t);return this.updateLastDiff(l,t),l},i.prototype.updateLastDiff=function(t,a){this.lastDiff=t?{diff:t,options:a||this.getDiffOptions()}:void 0},i.prototype.getDiffOptions=function(t){var a;return t===void 0&&(t=this.variables),{query:this.document,variables:t,returnPartialData:!0,optimistic:!0,canonizeResults:(a=this.observableQuery)===null||a===void 0?void 0:a.options.canonizeResults}},i.prototype.setDiff=function(t){var a,l,s=this.lastDiff&&this.lastDiff.diff;t&&!t.complete&&(!((a=this.observableQuery)===null||a===void 0)&&a.getLastError())||(this.updateLastDiff(t),Re(s&&s.result,t&&t.result)||(l=this.observableQuery)===null||l===void 0||l.scheduleNotify())},i.prototype.setObservableQuery=function(t){t!==this.observableQuery&&(this.observableQuery=t,t&&(t.queryInfo=this))},i.prototype.stop=function(){var t;if(!this.stopped){this.stopped=!0,(t=this.observableQuery)===null||t===void 0||t.resetNotifications(),this.cancel();var a=this.observableQuery;a&&a.stopPolling()}},i.prototype.cancel=function(){var t;(t=this.cancelWatch)===null||t===void 0||t.call(this),this.cancelWatch=void 0},i.prototype.updateWatch=function(t){var a=this;t===void 0&&(t=this.variables);var l=this.observableQuery;if(!(l&&l.options.fetchPolicy==="no-cache")){var s=w(w({},this.getDiffOptions(t)),{watcher:this,callback:function(o){return a.setDiff(o)}});(!this.lastWatch||!Re(s,this.lastWatch))&&(this.cancel(),this.cancelWatch=this.cache.watch(this.lastWatch=s))}},i.prototype.resetLastWrite=function(){this.lastWrite=void 0},i.prototype.shouldWrite=function(t,a){var l=this.lastWrite;return!(l&&l.dmCount===Ri.get(this.cache)&&Re(a,l.variables)&&Re(t.data,l.result.data))}
63,i.prototype.markResult=function(t,a,l,s){var o=this,f,h=new ca,v=Xt(t.errors)?t.errors.slice(0):[];if((f=this.observableQuery)===null||f===void 0||f.resetNotifications(),"incremental"in t&&Xt(t.incremental)){var p=_g(this.getDiff().result,t);t.data=p}else if("hasNext"in t&&t.hasNext){var y=this.getDiff();t.data=h.merge(y.result,t.data)}this.graphQLErrors=v,l.fetchPolicy==="no-cache"?this.updateLastDiff({result:t.data,complete:!0},this.getDiffOptions(l.variables)):s!==0&&(_f(t,l.errorPolicy)?this.cache.performTransaction(function(g){if(o.shouldWrite(t,l.variables))g.writeQuery({query:a,data:t.data,variables:l.variables,overwrite:s===1}),o.lastWrite={result:t,variables:l.variables,dmCount:Ri.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete){t.data=o.lastDiff.diff.result;return}var b=o.getDiffOptions(l.variables),E=g.diff(b);!o.stopped&&Re(o.variables,l.variables)&&o.updateWatch(l.variables),o.updateLastDiff(E,b),E.complete&&(t.data=E.result)}):this.lastWrite=void 0)},i.prototype.markReady=function(){return this.networkError=null,this.networkStatus=Ae.ready},i.prototype.markError=function(t){var a;return this.networkStatus=Ae.error,this.lastWrite=void 0,(a=this.observableQuery)===null||a===void 0||a.resetNotifications(),t.graphQLErrors&&(this.graphQLErrors=t.graphQLErrors),t.networkError&&(this.networkError=t.networkError),t},i}();function _f(i,t){t===void 0&&(t="none");var a=t==="ignore"||t==="all",l=!Fs(i);return!l&&a&&i.data&&(l=!0),l}var l_=Object.prototype.hasOwnProperty,Jy=Object.create(null),s_=function(){function i(t){var a=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new Vf(dn["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new wn(!1),this.noCacheWarningsByQueryId=new Set;var l=new vg(function(o){return a.cache.transformDocument(o)},{cache:!1});this.cache=t.cache,this.link=t.link,this.defaultOptions=t.defaultOptions,this.queryDeduplication=t.queryDeduplication,this.clientAwareness=t.clientAwareness,this.localState=t.localState,this.ssrMode=t.ssrMode,this.assumeImmutableResults=t.assumeImmutableResults,this.dataMasking=t.dataMasking;var s=t.documentTransform;this.documentTransform=s?l.concat(s).concat(l):l,this.defaultContext=t.defaultContext||Object.create(null),(this.onBroadcast=t.onBroadcast)&&(this.mutationStore=Object.create(null))}return i.prototype.stop=function(){var t=this;this.queries.forEach(function(a,l){t.stopQueryNoBroadcast(l)}),this.cancelPendingFetches(Et(27))},i.prototype.cancelPendingFetches=function(t){this.fetchCancelFns.forEach(function(a){return a(t)}),this.fetchCancelFns.clear()},i.prototype.mutate=function(t){return aa(this,arguments,void 0,function(a){var l,s,o,f,h,v,p,y=a.mutation,g=a.variables,b=a.optimisticResponse,E=a.updateQueries,O=a.refetchQueries,A=O===void 0?[]:O,x=a.awaitRefetchQueries,T=x===void 0?!1:x,C=a.update,R=a.onQueryUpdated,j=a.fetchPolicy,U=j===void 0?((v=this.defaultOptions.mutate)===null||v===void 0?void 0:v.fetchPolicy)||"network-only":j,F=a.errorPolicy,B=F===void 0?((p=this.defaultOptions.mutate)===null||p===void 0?void 0:p.errorPolicy)||"none":F,J=a.keepRootFields,ie=a.context;return ia(this,function(se){switch(se.label){case 0:return te(y,28),te(U==="network-only"||U==="no-cache",29),l=this.generateMutationId(),y=this.cache.transformForLink(this.transform(y)),s=this.getDocumentInfo(y).hasClientExports,g=this.getVariables(y,g),s?[4,this.localState.addExportedVariables(y,g,ie)]:[3,2];case 1:g=se.sent(),se.label=2;case 2:return o=this.mutationStore&&(this.mutationStore[l]={mutation:y,variables:g,loading:!0,error:null}),f=b&&this.markMutationOptimistic(b,{mutationId:l,document:y,variables:g,fetchPolicy:U,errorPolicy:B,context:ie,updateQueries:E,update:C,keepRootFields:J}),this.broadcastQueries(),h=this,[2,new Promise(function(pe,_e){return jc(h.getObservableFromLink(y,w(w({},ie),{optimisticResponse:f?b:void 0}),g,{},!1),function(oe){if(Fs(oe)&&B==="none")throw new on({graphQLErrors:yf(oe)});o&&(o.loading=!1,o.error=null);var $=w({},oe);return typeof A=="function"&&(A=A($)),B==="ignore"&&Fs($)&&delete $.errors,h.markMutationResult({mutationId:l,result:$,document:y,variables:g,fetchPolicy:U,errorPolicy:B,context:ie,update:C,updateQueries:E,awaitRefetchQueries:T,refetchQueries:A,removeOptimistic:f?l:void 0,onQueryUpdated:R,keepRootFields:J})}).subscribe({next:function(oe){h.broadcastQueries(),(!("hasNext"in oe)||oe.hasNext===!1)&&pe(w(w({},oe),{data:h.maskOperation({document:y,data:oe.data,fetchPolicy:U,id:l})}))},error:function(oe){o&&(o.loading=!1,o.error=oe),f&&h.cache.removeOptimistic(l),h.broadcastQueries(),_e(oe instanceof on?oe:new on({networkError:oe}))}})})]}})})},i.prototype.markMutationResult=function(t,a){var l=this;a===void 0&&(a=this.cache);var s=t.result,o=[],f=t.fetchPolicy==="no-cache";if(!f&&_f(s,t.errorPolicy)){if(Li(s)||o.push({result:s.data,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}),Li(s)&&Xt(s.incremental)){var h=a.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0}
63),v=void 0;h.result&&(v=_g(h.result,s)),typeof v<"u"&&(s.data=v,o.push({result:v,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}))}var p=t.updateQueries;p&&this.queries.forEach(function(g,b){var E=g.observableQuery,O=E&&E.queryName;if(!(!O||!l_.call(p,O))){var A=p[O],x=l.queries.get(b),T=x.document,C=x.variables,R=a.diff({query:T,variables:C,returnPartialData:!0,optimistic:!1}),j=R.result,U=R.complete;if(U&&j){var F=A(j,{mutationResult:s,queryName:T&&$r(T)||void 0,queryVariables:C});F&&o.push({result:F,dataId:"ROOT_QUERY",query:T,variables:C})}}})}if(o.length>0||(t.refetchQueries||"").length>0||t.update||t.onQueryUpdated||t.removeOptimistic){var y=[];if(this.refetchQueries({updateCache:function(g){f||o.forEach(function(A){return g.write(A)});var b=t.update,E=!tT(s)||Li(s)&&!s.hasNext;if(b){if(!f){var O=g.diff({id:"ROOT_MUTATION",query:l.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0});O.complete&&(s=w(w({},s),{data:O.result}),"incremental"in s&&delete s.incremental,"hasNext"in s&&delete s.hasNext)}E&&b(g,s,{context:t.context,variables:t.variables})}!f&&!t.keepRootFields&&E&&g.modify({id:"ROOT_MUTATION",fields:function(A,x){var T=x.fieldName,C=x.DELETE;return T==="__typename"?A:C}})},include:t.refetchQueries,optimistic:!1,removeOptimistic:t.removeOptimistic,onQueryUpdated:t.onQueryUpdated||null}).forEach(function(g){return y.push(g)}),t.awaitRefetchQueries||t.onQueryUpdated)return Promise.all(y).then(function(){return s})}return Promise.resolve(s)},i.prototype.markMutationOptimistic=function(t,a){var l=this,s=typeof t=="function"?t(a.variables,{IGNORE:Jy}):t;return s===Jy?!1:(this.cache.recordOptimisticTransaction(function(o){try{l.markMutationResult(w(w({},a),{result:{data:s}}),o)}catch(f){globalThis.__DEV__!==!1&&te.error(f)}},a.mutationId),!0)},i.prototype.fetchQuery=function(t,a,l){return this.fetchConcastWithInfo(this.getOrCreateQuery(t),a,l).concast.promise},i.prototype.getQueryStore=function(){var t=Object.create(null);return this.queries.forEach(function(a,l){t[l]={variables:a.variables,networkStatus:a.networkStatus,networkError:a.networkError,graphQLErrors:a.graphQLErrors}}),t},i.prototype.resetErrors=function(t){var a=this.queries.get(t);a&&(a.networkError=void 0,a.graphQLErrors=[])},i.prototype.transform=function(t){return this.documentTransform.transformDocument(t)},i.prototype.getDocumentInfo=function(t){var a=this.transformCache;if(!a.has(t)){var l={hasClientExports:jE(t),hasForcedResolvers:this.localState.shouldForceResolvers(t),hasNonreactiveDirective:ul(["nonreactive"],t),nonReactiveQuery:VO(t),clientQuery:this.localState.clientQuery(t),serverQuery:mg([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],t),defaultVars:Ff(za(t)),asQuery:w(w({},t),{definitions:t.definitions.map(function(s){return s.kind==="OperationDefinition"&&s.operation!=="query"?w(w({},s),{operation:"query"}):s})})};a.set(t,l)}return a.get(t)},i.prototype.getVariables=function(t,a){return w(w({},this.getDocumentInfo(t).defaultVars),a)},i.prototype.watchQuery=function(t){var a=this.transform(t.query);t=w(w({},t),{variables:this.getVariables(a,t.variables)}),typeof t.notifyOnNetworkStatusChange>"u"&&(t.notifyOnNetworkStatusChange=!1);var l=new Gc(this),s=new rl({queryManager:this,queryInfo:l,options:t});return s.lastQuery=a,rl.inactiveOnCreation.getValue()||this.queries.set(s.queryId,l),l.init({document:a,observableQuery:s,variables:s.variables}),s},i.prototype.query=function(t,a){var l=this;a===void 0&&(a=this.generateQueryId()),te(t.query,30),te(t.query.kind==="Document",31),te(!t.returnPartialData,32),te(!t.pollInterval,33);var s=this.transform(t.query);return this.fetchQuery(a,w(w({},t),{query:s})).then(function(o){return o&&w(w({},o),{data:l.maskOperation({document:s,data:o.data,fetchPolicy:t.fetchPolicy,id:a})})}).finally(function(){return l.stopQuery(a)})},i.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},i.prototype.generateRequestId=function(){return this.requestIdCounter++},i.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},i.prototype.stopQueryInStore=function(t){this.stopQueryInStoreNoBroadcast(t),this.broadcastQueries()},i.prototype.stopQueryInStoreNoBroadcast=function(t){var a=this.queries.get(t);a&&a.stop()},i.prototype.clearStore=function(t){return t===void 0&&(t={discardWatches:!0}
63),this.cancelPendingFetches(Et(34)),this.queries.forEach(function(a){a.observableQuery?a.networkStatus=Ae.loading:a.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(t)},i.prototype.getObservableQueries=function(t){var a=this;t===void 0&&(t="active");var l=new Map,s=new Map,o=new Map,f=new Set;return Array.isArray(t)&&t.forEach(function(h){if(typeof h=="string")s.set(h,h),o.set(h,!1);else if(fO(h)){var v=Ma(a.transform(h));s.set(v,$r(h)),o.set(v,!1)}else Pe(h)&&h.query&&f.add(h)}),this.queries.forEach(function(h,v){var p=h.observableQuery,y=h.document;if(p){if(t==="all"){l.set(v,p);return}var g=p.queryName,b=p.options.fetchPolicy;if(b==="standby"||t==="active"&&!p.hasObservers())return;(t==="active"||g&&o.has(g)||y&&o.has(Ma(y)))&&(l.set(v,p),g&&o.set(g,!0),y&&o.set(Ma(y),!0))}}),f.size&&f.forEach(function(h){var v=af("legacyOneTimeQuery"),p=a.getOrCreateQuery(v).init({document:h.query,variables:h.variables}),y=new rl({queryManager:a,queryInfo:p,options:w(w({},h),{fetchPolicy:"network-only"})});te(y.queryId===v),p.setObservableQuery(y),l.set(v,y)}),globalThis.__DEV__!==!1&&o.size&&o.forEach(function(h,v){if(!h){var p=s.get(v);p?globalThis.__DEV__!==!1&&te.warn(35,p):globalThis.__DEV__!==!1&&te.warn(36)}}),l},i.prototype.reFetchObservableQueries=function(t){var a=this;t===void 0&&(t=!1);var l=[];return this.getObservableQueries(t?"all":"active").forEach(function(s,o){var f=s.options.fetchPolicy;s.resetLastResults(),(t||f!=="standby"&&f!=="cache-only")&&l.push(s.refetch()),(a.queries.get(o)||s.queryInfo).setDiff(null)}),this.broadcastQueries(),Promise.all(l)},i.prototype.startGraphQLSubscription=function(t){var a=this,l=t.query,s=t.variables,o=t.fetchPolicy,f=t.errorPolicy,h=f===void 0?"none":f,v=t.context,p=v===void 0?{}:v,y=t.extensions,g=y===void 0?{}:y;l=this.transform(l),s=this.getVariables(l,s);var b=function(O){return a.getObservableFromLink(l,p,O,g).map(function(A){o!=="no-cache"&&(_f(A,h)&&a.cache.write({query:l,result:A.data,dataId:"ROOT_SUBSCRIPTION",variables:O}),a.broadcastQueries());var x=Fs(A),T=mT(A);if(x||T){var C={};if(x&&(C.graphQLErrors=A.errors),T&&(C.protocolErrors=A.extensions[Zf]),h==="none"||T)throw new on(C)}return h==="ignore"&&delete A.errors,A})};if(this.getDocumentInfo(l).hasClientExports){var E=this.localState.addExportedVariables(l,s,p).then(b);return new Ve(function(O){var A=null;return E.then(function(x){return A=x.subscribe(O)},O.error),function(){return A&&A.unsubscribe()}})}return b(s)},i.prototype.stopQuery=function(t){this.stopQueryNoBroadcast(t),this.broadcastQueries()},i.prototype.stopQueryNoBroadcast=function(t){this.stopQueryInStoreNoBroadcast(t),this.removeQuery(t)},i.prototype.removeQuery=function(t){var a;this.fetchCancelFns.delete(t),this.queries.has(t)&&((a=this.queries.get(t))===null||a===void 0||a.stop(),this.queries.delete(t))},i.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(t){var a;return(a=t.observableQuery)===null||a===void 0?void 0:a.notify()})},i.prototype.getLocalState=function(){return this.localState}
63,i.prototype.getObservableFromLink=function(t,a,l,s,o){var f=this,h;o===void 0&&(o=(h=a?.queryDeduplication)!==null&&h!==void 0?h:this.queryDeduplication);var v,p=this.getDocumentInfo(t),y=p.serverQuery,g=p.clientQuery;if(y){var b=this,E=b.inFlightLinkObservables,O=b.link,A={query:y,variables:l,operationName:$r(y)||void 0,context:this.prepareContext(w(w({},a),{forceFetch:!o})),extensions:s};if(a=A.context,o){var x=Ma(y),T=sa(l),C=E.lookup(x,T);if(v=C.observable,!v){var R=new xi([mf(O,A)]);v=C.observable=R,R.beforeNext(function j(U,F){U==="next"&&"hasNext"in F&&F.hasNext?R.beforeNext(j):E.remove(x,T)})}}else v=new xi([mf(O,A)])}else v=new xi([Ve.of({data:{}})]),a=this.prepareContext(a);return g&&(v=jc(v,function(j){return f.localState.runResolvers({document:g,remoteResult:j,context:a,variables:l})})),v},i.prototype.getResultsFromLink=function(t,a,l){var s=t.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(l.query);return jc(this.getObservableFromLink(o,l.context,l.variables),function(f){var h=yf(f),v=h.length>0,p=l.errorPolicy;if(s>=t.lastRequestId){if(v&&p==="none")throw t.markError(new on({graphQLErrors:h}));t.markResult(f,o,l,a),t.markReady()}var y={data:f.data,loading:!1,networkStatus:Ae.ready};return v&&p==="none"&&(y.data=void 0),v&&p!=="ignore"&&(y.errors=h,y.networkStatus=Ae.error),y},function(f){var h=xg(f)?f:new on({networkError:f});throw s>=t.lastRequestId&&t.markError(h),h})}
63,i.prototype.fetchConcastWithInfo=function(t,a,l,s){var o=this;l===void 0&&(l=Ae.loading),s===void 0&&(s=a.query);var f=this.getVariables(s,a.variables),h=this.defaultOptions.watchQuery,v=a.fetchPolicy,p=v===void 0?h&&h.fetchPolicy||"cache-first":v,y=a.errorPolicy,g=y===void 0?h&&h.errorPolicy||"none":y,b=a.returnPartialData,E=b===void 0?!1:b,O=a.notifyOnNetworkStatusChange,A=O===void 0?!1:O,x=a.context,T=x===void 0?{}:x,C=Object.assign({},a,{query:s,variables:f,fetchPolicy:p,errorPolicy:g,returnPartialData:E,notifyOnNetworkStatusChange:A,context:T}),R=function(J){C.variables=J;var ie=o.fetchQueryByPolicy(t,C,l);return C.fetchPolicy!=="standby"&&ie.sources.length>0&&t.observableQuery&&t.observableQuery.applyNextFetchPolicy("after-fetch",a),ie},j=function(){return o.fetchCancelFns.delete(t.queryId)};this.fetchCancelFns.set(t.queryId,function(J){j(),setTimeout(function(){return U.cancel(J)})});var U,F;if(this.getDocumentInfo(C.query).hasClientExports)U=new xi(this.localState.addExportedVariables(C.query,C.variables,C.context).then(R).then(function(J){return J.sources})),F=!0;else{var B=R(C.variables);F=B.fromLink,U=new xi(B.sources)}return U.promise.then(j,j),{concast:U,fromLink:F}},i.prototype.refetchQueries=function(t){var a=this,l=t.updateCache,s=t.include,o=t.optimistic,f=o===void 0?!1:o,h=t.removeOptimistic,v=h===void 0?f?af("refetchQueries"):void 0:h,p=t.onQueryUpdated,y=new Map;s&&this.getObservableQueries(s).forEach(function(b,E){y.set(E,{oq:b,lastDiff:(a.queries.get(E)||b.queryInfo).getDiff()})});var g=new Map;return l&&this.cache.batch({update:l,optimistic:f&&v||!1,removeOptimistic:v,onWatchUpdated:function(b,E,O){var A=b.watcher instanceof Gc&&b.watcher.observableQuery;if(A){if(p){y.delete(A.queryId);var x=p(A,E,O);return x===!0&&(x=A.refetch()),x!==!1&&g.set(A,x),x}p!==null&&y.set(A.queryId,{oq:A,lastDiff:O,diff:E})}}}),y.size&&y.forEach(function(b,E){var O=b.oq,A=b.lastDiff,x=b.diff,T;p&&(x||(x=a.cache.diff(O.queryInfo.getDiffOptions())),T=p(O,x,A)),(!p||T===!0)&&(T=O.refetch()),T!==!1&&g.set(O,T),E.indexOf("legacyOneTimeQuery")>=0&&a.stopQueryNoBroadcast(E)}),v&&this.cache.removeOptimistic(v),g},i.prototype.maskOperation=function(t){var a,l,s,o=t.document,f=t.data;if(globalThis.__DEV__!==!1){var h=t.fetchPolicy,v=t.id,p=(a=za(o))===null||a===void 0?void 0:a.operation,y=((l=p?.[0])!==null&&l!==void 0?l:"o")+v;this.dataMasking&&h==="no-cache"&&!PE(o)&&!this.noCacheWarningsByQueryId.has(y)&&(this.noCacheWarningsByQueryId.add(y),globalThis.__DEV__!==!1&&te.warn(37,(s=$r(o))!==null&&s!==void 0?s:"Unnamed ".concat(p??"operation")))}return this.dataMasking?FT(f,o,this.cache):f},i.prototype.maskFragment=function(t){var a=t.data,l=t.fragment,s=t.fragmentName;return this.dataMasking?Lg(a,l,this.cache,s):a},i.prototype.fetchQueryByPolicy=function(t,a,l){var s=this,o=a.query,f=a.variables,h=a.fetchPolicy,v=a.refetchWritePolicy,p=a.errorPolicy,y=a.returnPartialData,g=a.context,b=a.notifyOnNetworkStatusChange,E=t.networkStatus;t.init({document:o,variables:f,networkStatus:l});var O=function(){return t.getDiff()},A=function(j,U){U===void 0&&(U=t.networkStatus||Ae.loading);var F=j.result;globalThis.__DEV__!==!1&&!y&&!Re(F,{})&&Kg(j.missing);var B=function(J){return Ve.of(w({data:J,loading:wi(U),networkStatus:U},j.complete?null:{partial:!0}))};return F&&s.getDocumentInfo(o).hasForcedResolvers?s.localState.runResolvers({document:o,remoteResult:{data:F},context:g,variables:f,onlyRunForcedResolvers:!0}).then(function(J){return B(J.data||void 0)}):p==="none"&&U===Ae.refetch&&Array.isArray(j.missing)?B(void 0):B(F)},x=h==="no-cache"?0:l===Ae.refetch&&v!=="merge"?1:2,T=function(){return s.getResultsFromLink(t,x,{query:o,variables:f,context:g,fetchPolicy:h,errorPolicy:p})},C=b&&typeof E=="number"&&E!==l&&wi(l);switch(h){default:case"cache-first":{var R=O();return R.complete?{fromLink:!1,sources:[A(R,t.markReady())]}:y||C?{fromLink:!0,sources:[A(R),T()]}:{fromLink:!0,sources:[T()]}}case"cache-and-network":{var R=O();return R.complete||y||C?{fromLink:!0,sources:[A(R),T()]}:{fromLink:!0,sources:[T()]}}case"cache-only":return{fromLink:!1,sources:[A(O(),t.markReady())]};case"network-only":return C?{fromLink:!0,sources:[A(O()),T()]}:{fromLink:!0,sources:[T()]};case"no-cache":return C?{fromLink:!0,sources:[A(t.getDiff()),T()]}:{fromLink:!0,sources:[T()]};case"standby":return{fromLink:!1,sources:[]}}},i.prototype.getOrCreateQuery=function(t){return t&&!this.queries.has(t)&&this.queries.set(t,new Gc(this,t)),this.queries.get(t)},i.prototype.prepareContext=function(t){t===void 0&&(t={});var a=this.localState.prepareContext(t);return w(w(w({},this.defaultContext),a),{clientAwareness:this.clientAwareness})},i}(),u_=function(){function i(t){var a=t.cache,l=t.client,s=t.resolvers,o=t.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=a,l&&(this.client=l),s&&this.addResolvers(s),o&&this.setFragmentMatcher(o)}return i.prototype.addResolvers=function(t){var a=this;this.resolvers=this.resolvers||{},Array.isArray(t)?t.forEach(function(l){a.resolvers=gy(a.resolvers,l)}):this.resolvers=gy(this.resolvers,t)},i.prototype.setResolvers=function(t){this.resolvers={},this.addResolvers(t)},i.prototype.getResolvers=function(){return this.resolvers||{}},i.prototype.runResolvers=function(t){return aa(this,arguments,void 0,function(a){var l=a.document,s=a.remoteResult,o=a.context,f
vendor: 2,086 bytes, line 63
63=a.variables,h=a.onlyRunForcedResolvers,v=h===void 0?!1:h;return ia(this,function(p){return l?[2,this.resolveDocument(l,s.data,o,f,this.fragmentMatcher,v).then(function(y){return w(w({},s),{data:y.result})})]:[2,s]})})},i.prototype.setFragmentMatcher=function(t){this.fragmentMatcher=t},i.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},i.prototype.clientQuery=function(t){return ul(["client"],t)&&this.resolvers?t:null},i.prototype.serverQuery=function(t){return gg(t)},i.prototype.prepareContext=function(t){var a=this.cache;return w(w({},t),{cache:a,getCacheKey:function(l){return a.identify(l)}})},i.prototype.addExportedVariables=function(t){return aa(this,arguments,void 0,function(a,l,s){return l===void 0&&(l={}),s===void 0&&(s={}),ia(this,function(o){return a?[2,this.resolveDocument(a,this.buildRootValueFromCache(a,l)||{},this.prepareContext(s),l).then(function(f){return w(w({},l),f.exportedVariables)})]:[2,w({},l)]})})},i.prototype.shouldForceResolvers=function(t){var a=!1;return tn(t,{Directive:{enter:function(l){if(l.name.value==="client"&&l.arguments&&(a=l.arguments.some(function(s){return s.name.value==="always"&&s.value.kind==="BooleanValue"&&s.value.value===!0}),a))return nu}}}),a},i.prototype.buildRootValueFromCache=function(t,a){return this.cache.diff({query:qO(t),variables:a,returnPartialData:!0,optimistic:!1}).result},i.prototype.resolveDocument=function(t,a){return aa(this,arguments,void 0,function(l,s,o,f,h,v){var p,y,g,b,E,O,A,x,T,C,R;return o===void 0&&(o={}),f===void 0&&(f={}),h===void 0&&(h=function(){return!0}),v===void 0&&(v=!1),ia(this,function(j){return p=yl(l),y=Gi(l),g=Fi(y),b=this.collectSelectionsToResolve(p,g),E=p.operation,O=E?E.charAt(0).toUpperCase()+E.slice(1):"Query",A=this,x=A.cache,T=A.client,C={fragmentMap:g,context:w(w({},o),{cache:x,client:T}),variables:f,fragmentMatcher:h,defaultOperationType:O,exportedVariables:{},selectionsToResolve:b,onlyRunForcedResolvers:v},R=!1,[2,this.resolveSelectionSet(p.selectionSet,R,s,C).then(function(U){return{result:U,exportedVariables:C.exportedVariables}})]})})}
63,i.prototype.resolveSelectionSet=function(t,a,l,s){return aa(this,void 0,void 0,function(){var o,f,h,v,p,y=this;return ia(this,function(g){return o=s.fragmentMap,f=s.context,h=s.variables,v=[l],p=function(b){return aa(y,void 0,void 0,function(){var E,O;return ia(this,function(A){return!a&&!s.selectionsToResolve.has(b)?[2]:vl(b,h)?ua(b)?[2,this.resolveField(b,a,l,s).then(function(x){var T;typeof x<"u"&&v.push((T={},T[Cn(b)]=x,T))})]:(TO(b)?E=b:(E=o[b.name.value],te(E,19,b.name.value)),E&&E.typeCondition&&(O=E.typeCondition.name.value,s.fragmentMatcher(l,O,f))?[2,this.resolveSelectionSet(E.selectionSet,a,l,s).then(function(x){v.push(x)})]:[2]):[2]})})},[2,Promise.all(t.selections.map(p)).then(function(){return uu(v)})]})})},i.prototype.resolveField=function(t,a,l,s){return aa(this,void 0,void 0,function(){var o,f,h,v,p,y,g,b,E,O=this;return ia(this,function(A){return l?(o=s.variables,f=t.name.value,h=Cn(t),v=f!==h,p=l[h]||l[f],y=Promise.resolve(p),(!s.onlyRunForcedResolvers||this.shouldForceResolvers(t))&&(g=l.__typename||s.defaultOperationType,b=this.resolvers&&this.resolvers[g],b&&(E=b[v?f:h],E&&(y=Promise.resolve($f.withValue(this.cache,E,[l,ru(t,o),s.context,{field:t,fragmentMap:s.fragmentMap}]))))),[2,y.then(function(x){var T,C;if(x===void 0&&(x=p),t.directives&&t.directives.forEach(function(j){j.name.value==="export"&&j.arguments&&j.arguments.forEach(function(U){U.name.value==="as"&&U.value.kind==="StringValue"&&(s.exportedVariables[U.value.value]=x)})}),!t.selectionSet||x==null)return x;var R=(C=(T=t.directives)===null||T===void 0?void 0:T.some(function(j){return j.name.value==="client"}))!==null&&C!==void 0?C:!1;if(Array.isArray(x))return O.resolveSubSelectedArray(t,a||R,x,s);if(t.selectionSet)return O.resolveSelectionSet(t.selectionSet,a||R,x,s)})]):[2,null]})})}
63,i.prototype.resolveSubSelectedArray=function(t,a,l,s){var o=this;return Promise.all(l.map(function(f){if(f===null)return null;if(Array.isArray(f))return o.resolveSubSelectedArray(t,a,f,s);if(t.selectionSet)return o.resolveSelectionSet(t.selectionSet,a,f,s)}))},i.prototype.collectSelectionsToResolve=function(t,a){var l=function(f){return!Array.isArray(f)},s=this.selectionsToResolveCache;function o(f){if(!s.has(f)){var h=new Set;s.set(f,h),tn(f,{Directive:function(v,p,y,g,b){v.name.value==="client"&&b.forEach(function(E){l(E)&&oy(E)&&h.add(E)})},FragmentSpread:function(v,p,y,g,b){var E=a[v.name.value];te(E,20,v.name.value);var O=o(E);O.size>0&&(b.forEach(function(A){l(A)&&oy(A)&&h.add(A)}),h.add(v),O.forEach(function(A){h.add(A)}))}})}return s.get(f)}return o(t)},i}(),$y=!1,Zg=function(){function i(t){var a=this,l;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!t.cache)throw Et(16);var s=t.uri,o=t.credentials,f=t.headers,h=t.cache,v=t.documentTransform,p=t.ssrMode,y=p===void 0?!1:p,g=t.ssrForceFetchDelay,b=g===void 0?0:g,E=t.connectToDevTools,O=t.queryDeduplication,A=O===void 0?!0:O,x=t.defaultOptions,T=t.defaultContext,C=t.assumeImmutableResults,R=C===void 0?h.assumeImmutableResults:C,j=t.resolvers,U=t.typeDefs,F=t.fragmentMatcher,B=t.name,J=t.version,ie=t.devtools,se=t.dataMasking,pe=t.link;pe||(pe=s?new kT({uri:s,credentials:o,headers:f}):Ii.empty()),this.link=pe,this.cache=h,this.disableNetworkFetches=y||b>0,this.queryDeduplication=A,this.defaultOptions=x||Object.create(null),this.typeDefs=U,this.devtoolsConfig=w(w({},ie),{enabled:(l=ie?.enabled)!==null&&l!==void 0?l:E}),this.devtoolsConfig.enabled===void 0&&(this.devtoolsConfig.enabled=globalThis.__DEV__!==!1),b&&setTimeout(function(){return a.disableNetworkFetches=!1},b),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=Mf,this.localState=new u_({cache:h,client:this,resolvers:j,fragmentMatcher:F}),this.queryManager=new s_({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:T,documentTransform:v,queryDeduplication:A,ssrMode:y,dataMasking:!!se,clientAwareness:{name:B,version:J},localState:this.localState,assumeImmutableResults:R,onBroadcast:this.devtoolsConfig.enabled?function(){a.devToolsHookCb&&a.devToolsHookCb({action:{},state:{queries:a.queryManager.getQueryStore(),mutations:a.queryManager.mutationStore||{}},dataWithOptimisticResults:a.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return i.prototype.connectToDevTools=function(){if(!(typeof window>"u")){var t=window,a=Symbol.for("apollo.devtools");(t[a]=t[a]||[]).push(this),t.__APOLLO_CLIENT__=this,!$y&&globalThis.__DEV__!==!1&&($y=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var l=window.navigator,s=l&&l.userAgent,o=void 0;typeof s=="string"&&(s.indexOf("Chrome/")>-1?o="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":s.indexOf("Firefox/")>-1&&(o="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),o&&globalThis.__DEV__!==!1&&te.log("Download the Apollo DevTools for a better development experience: %s",o)}},1e4))}},Object.defineProperty(i.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),i.prototype.stop=function(){this.queryManager.stop()},i.prototype.watchQuery=function(t){return this.defaultOptions.watchQuery&&(t=nl(this.defaultOptions.watchQuery,t)),this.disableNetworkFetches&&(t.fetchPolicy==="network-only"||t.fetchPolicy==="cache-and-network")&&(t=w(w({},t),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(t)},i.prototype.query=function(t){return this.defaultOptions.query&&(t=nl(this.defaultOptions.query,t)),te(t.fetchPolicy!=="cache-and-network",17),this.disableNetworkFetches&&t.fetchPolicy==="network-only"&&(t=w(w({},t),{fetchPolicy:"cache-first"})),this.queryManager.query(t)},i.prototype.mutate=function(t){return this.defaultOptions.mutate&&(t=nl(this.defaultOptions.mutate,t)),this.queryManager.mutate(t)},i.prototype.subscribe=function(t){var a=this,l=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(t).map(function(s){return w(w({},s),{data:a.queryManager.maskOperation({document:t.query,data:s.data,fetchPolicy:t.fetchPolicy,id:l})})})},i.prototype.readQuery=function(t,a){return a===void 0&&(a=!1),this.cache.readQuery(t,a)},i.prototype.watchFragment=function(t){var a;return this.cache.watchFragment(w(w({},t),(a={},a[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,a)))},i.prototype.readFragment=function(t,a){return a===void 0&&(a=!1),this.cache.readFragment(t,a)},i.prototype.writeQuery=function(t){var a=this.cache.writeQuery(t);return t.broadcast!==!1&&this.queryManager.broadcastQueries(),a},i.prototype.writeFragment=function(t){var a=this.cache.writeFragment(t);return t.broadcast!==!1&&this.queryManager.broadcastQueries(),a},i.prototype.__actionHookForDevTools=function(t){this.devToolsHookCb=t},i.prototype.__requestRaw=function(t){return mf(this.link,t)},i.prototype.resetStore=function(){var t=this;return Promise.resolve().then(function(){return t.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(t.resetStoreCallbacks.map(function(a){return a()}))}).then(function(){return t.reFetchObservableQueries()})},i.prototype.clearStore=function(){var t=this;return Promise.resolve().then(function(){return t.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(t.clearStoreCallbacks.map(function(a){return a()}))})},i.prototype.onResetStore=function(t){var a=this;return this.resetStoreCallbacks.push(t),function(){a.resetStoreCallbacks=a.resetStoreCallbacks.filter(function(l){return l!==t})}},i.prototype.onClearStore=function(t){var a=this;return this.clearStoreCallbacks.push(t),function(){a.clearStoreCallbacks=a.clearStoreCallbacks.filter(function(l){return l!==t})}},i.prototype.reFetchObservableQueries=function(t){return this.queryManager.reFetchObservableQueries(t)},i.prototype.refetchQueries=function(t){var a=this.queryManager.refetchQueries(t),l=[],s=[];a.forEach(function(f,h){l.push(h),s.push(f)});var o=Promise.all(s);return o.queries=l,o.results=s,o.catch(function(f){globalThis.__DEV__!==!1&&te.debug(18,f)}),o},i.prototype.getObservableQueries=function(t){return t===void 0&&(t="active"),this.queryManager.getObservableQueries(t)},i.prototype.extract=function(t){return this.cache.extract(t)},i.prototype.restore=function(t){return this.cache.restore(t)},i.prototype.addResolvers=function(t){this.localState.addResolvers(t)},i.prototype.setResolvers=function(t){this.localState.setResolvers(t)},i.prototype.getResolvers=function(){return this.localState.getResolvers()},i.prototype.setLocalStateFragmentMatcher=function(t){this.localState.setFragmentMatcher(t)},i.prototype.setLink=function(t){this.link=this.queryManager.link=t},Object.defineProperty(i.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext}
vendor: 9,985 bytes, lines 63-73
63,enumerable:!1,configurable:!0}),i}();globalThis.__DEV__!==!1&&(Zg.prototype.getMemoryInternals=nO);var Is=new Map,Nf=new Map,Jg=!0,Zs=!1;function $g(i){return i.replace(/[\s,]+/g," ").trim()}function o_(i){return $g(i.source.body.substring(i.start,i.end))}function c_(i){var t=new Set,a=[];return i.definitions.forEach(function(l){if(l.kind==="FragmentDefinition"){var s=l.name.value,o=o_(l.loc),f=Nf.get(s);f&&!f.has(o)?Jg&&console.warn("Warning: fragment with name "+s+` already exists. 64graphql-tag enforces all fragment names across your application to be unique; read more about 65this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):f||Nf.set(s,f=new Set),f.add(o),t.has(o)||(t.add(o),a.push(l))}else a.push(l)}),w(w({},i),{definitions:a})}function f_(i){var t=new Set(i.definitions);t.forEach(function(l){l.loc&&delete l.loc,Object.keys(l).forEach(function(s){var o=l[s];o&&typeof o=="object"&&t.add(o)})});var a=i.loc;return a&&(delete a.startToken,delete a.endToken),i}function d_(i){var t=$g(i);if(!Is.has(t)){var a=xE(i,{experimentalFragmentVariables:Zs,allowLegacyFragmentVariables:Zs});if(!a||a.kind!=="Document")throw new Error("Not a valid GraphQL document.");Is.set(t,f_(c_(a)))}return Is.get(t)}function Kt(i){for(var t=[],a=1;a<arguments.length;a++)t[a-1]=arguments[a];typeof i=="string"&&(i=[i]);var l=i[0];return t.forEach(function(s,o){s&&s.kind==="Document"?l+=s.loc.source.body:l+=s,l+=i[o+1]}),d_(l)}function h_(){Is.clear(),Nf.clear()}function p_(){Jg=!1}function v_(){Zs=!0}function y_(){Zs=!1}var Xr={gql:Kt,resetCaches:h_,disableFragmentWarnings:p_,enableExperimentalFragmentVariables:v_,disableExperimentalFragmentVariables:y_};(function(i){i.gql=Xr.gql,i.resetCaches=Xr.resetCaches,i.disableFragmentWarnings=Xr.disableFragmentWarnings,i.enableExperimentalFragmentVariables=Xr.enableExperimentalFragmentVariables,i.disableExperimentalFragmentVariables=Xr.disableExperimentalFragmentVariables})(Kt||(Kt={}));Kt.default=Kt;var Ic={exports:{}},Hc={exports:{}},ge={};/** 66 * @license React 67 * react.production.js 68 * 69 * Copyright (c) Meta Platforms, Inc. and affiliates. 70 * 71 * This source code is licensed under the MIT license found in the 72 * LICENSE file in the root directory of this source tree. 73 */var Wy;function m_(){if(Wy)return ge;Wy=1;var i=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),f=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),g=Symbol.iterator;function b(N){return N===null||typeof N!="object"?null:(N=g&&N[g]||N["@@iterator"],typeof N=="function"?N:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,A={};function x(N,G,K){this.props=N,this.context=G,this.refs=A,this.updater=K||E}x.prototype.isReactComponent={},x.prototype.setState=function(N,G){if(typeof N!="object"&&typeof N!="function"&&N!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,N,G,"setState")},x.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};function T(){}T.prototype=x.prototype;function C(N,G,K){this.props=N,this.context=G,this.refs=A,this.updater=K||E}var R=C.prototype=new T;R.constructor=C,O(R,x.prototype),R.isPureReactComponent=!0;var j=Array.isArray,U={H:null,A:null,T:null,S:null,V:null},F=Object.prototype.hasOwnProperty;function B(N,G,K,Z,le,xe){return K=xe.ref,{$$typeof:i,type:N,key:G,ref:K!==void 0?K:null,props:xe}}function J(N,G){return B(N.type,G,void 0,void 0,void 0,N.props)}function ie(N){return typeof N=="object"&&N!==null&&N.$$typeof===i}function se(N){var G={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(K){return G[K]})}var pe=/\/+/g;function _e(N,G){return typeof N=="object"&&N!==null&&N.key!=null?se(""+N.key):G.toString(36)}function oe(){}function $(N){switch(N.status){case"fulfilled":return N.value;case"rejected":throw N.reason;default:switch(typeof N.status=="string"?N.then(oe,oe):(N.status="pending",N.then(function(G){N.status==="pending"&&(N.status="fulfilled",N.value=G)},function(G){N.status==="pending"&&(N.status="rejected",N.reason=G)})),N.status){case"fulfilled":return N.value;case"rejected":throw N.reason}}throw N}function ye(N,G,K,Z,le){var xe=typeof N;(xe==="undefined"||xe==="boolean")&&(N=null);var ve=!1;if(N===null)ve=!0;else switch(xe){case"bigint":case"string":case"number":ve=!0;break;case"object":switch(N.$$typeof){case i:case t:ve=!0;break;case y:return ve=N._init,ye(ve(N._payload),G,K,Z,le)}}if(ve)return le=le(N),ve=Z===""?"."+_e(N,0):Z,j(le)?(K="",ve!=null&&(K=ve.replace(pe,"$&/")+"/"),ye(le,G,K,"",function(nn){return nn})):le!=null&&(ie(le)&&(le=J(le,K+(le.key==null||N&&N.key===le.key?"":(""+le.key).replace(pe,"$&/")+"/")+ve)),G.push(le)),1;ve=0;var bt=Z===""?".":Z+":";if(j(N))for(var Fe=0;Fe<N.length;Fe++)Z=N[Fe],xe=bt+_e(Z,Fe),ve+=ye(Z,G,K,xe,le);else if(Fe=b(N),typeof Fe=="function")for(N=Fe.call(N),Fe=0;!(Z=N.next()).done;)Z=Z.value,xe=bt+_e(Z,Fe++),ve+=ye(Z,G,K,xe,le);else if(xe==="object"){if(typeof N.then=="function")return ye($(N),G,K,Z,le);throw G=String(N),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return ve}function k(N,G,K){if(N==null)return N;var Z=[],le=0;return ye(N,Z,"","",function(xe){return G.call(K,xe,le++)}),Z}function X(N){if(N._status===-1){var G=N._result;G=G(),G.then(function(K){(N._status===0||N._status===-1)&&(N._status=1,N._result=K)},function(K){(N._status===0||N._status===-1)&&(N._status=2,N._result=K)}),N._status===-1&&(N._status=0,N._result=G)}if(N._status===1)return N._result.default;throw N._result}var re=typeof reportError=="function"?reportError:function(N){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof N=="object"&&N!==null&&typeof N.message=="string"?String(N.message):String(N),error:N});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",N);return}console.error(N)};function fe(){}return ge.Children={map:k,forEach:function(N,G,K){k(N,function(){G.apply(this,arguments)},K)},count:function(N){var G=0;return k(N,function(){G++}),G},toArray:function(N){return k(N,function(G){return G})||[]},only:function(N){if(!ie(N))throw Error("React.Children.only expected to receive a single React element child.");return N}},ge.Component=x,ge.Fragment=a,ge.Profiler=s,ge.PureComponent=C,ge.StrictMode=l,ge.Suspense=v,ge.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=U,ge.__COMPILER_RUNTIME={__proto__:null,c:function(N){return U.H.useMemoCache(N)}},ge.cache=function(N){return function(){return N.apply(null,arguments)}},ge.cloneElement=function(N,G,K){if(N==null)throw Error("The argument must be a React element, but you passed "+N+".");var Z=O({},N.props),le=N.key,xe=void 0;if(G!=null)for(ve in G.ref!==void 0&&(xe=void 0),G.key!==void 0&&(le=""+G.key),G)!F.call(G,ve)||ve==="key"||ve==="__self"||ve==="__source"||ve==="ref"&&G.ref===void 0||(Z[ve]=G[ve]);var ve=arguments.length-2;if(ve===1)Z.children=K;else if(1<ve){for(var bt=Array(ve),Fe=0;Fe<ve;Fe++)bt[Fe]=arguments[Fe+2];Z.children=bt}return B(N.type,le,void 0,void 0,xe,Z)},ge.createContext=function(N){return N={$$typeof:f,_currentValue:N,_currentValue2:N,_threadCount:0,Provider:null,Consumer:null},N.Provider=N,N.Consumer={$$typeof:o,_context:N},N},ge.createElement=function(N,G,K){var Z,le={},xe=null;if(G!=null)for(Z in G.key!==void 0&&(xe=""+G.key),G)F.call(G,Z)&&Z!=="key"&&Z!=="__self"&&Z!=="__source"&&(le[Z]=G[Z]);var ve=arguments.length-2;if(ve===1)le.children=K;else if(1<ve){for(var bt=Array(ve),Fe=0;Fe<ve;Fe++)bt[Fe]=arguments[Fe+2];le.children=bt}if(N&&N.defaultProps)for(Z in ve=N.defaultProps,ve)le[Z]===void 0&&(le[Z]=ve[Z]);return B(N,xe,void 0,void 0,null,le)},ge.createRef=function(){return{current:null}},ge.forwardRef=function(N){return{$$typeof:h,render:N}},ge.isValidElement=ie,ge.lazy=function(N){return{$$typeof:y,_payload:{_status:-1,_result:N},_init:X}},ge.memo=function(N,G){return{$$typeof:p,type:N,compare:G===void 0?null:G}},ge.startTransition=function(N){var G=U.T,K={};U.T=K;try{var Z=N(),le=U.S;le!==null&&le(K,Z),typeof Z=="object"&&Z!==null&&typeof Z.then=="function"&&Z.then(fe,re)}catch(xe){re(xe)}finally{U.T=G}},ge.unstable_useCacheRefresh=function(){return U.H.useCacheRefresh()},ge.use=function(N){return U.H.use(N)},ge.useActionState=function(N,G,K){return U.H.useActionState(N,G,K)},ge.useCallback=function(N,G){return U.H.useCallback(N,G)},ge.useContext=function(N){return U.H.useContext(N)},ge.useDebugValue=function(){},ge.useDeferredValue=function(N,G){return U.H.useDeferredValue(N,G)},ge.useEffect=function(N,G,K){var Z=U.H;if(typeof K=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return Z.useEffect(N,G)},ge.useId=function(){return U.H.useId()},ge.useImperativeHandle=function(N,G,K){return U.H.useImperativeHandle(N,G,K)},ge.useInsertionEffect=function(N,G){return U.H.useInsertionEffect(N,G)},ge.useLayoutEffect=function(N,G){return U.H.useLayoutEffect(N,G)},ge.useMemo=function(N,G){return U.H.useMemo(N,G)},ge.useOptimistic=function(N,G){return U.H.useOptimistic(N,G)},ge.useReducer=function(N,G,K){return U.H.useReducer(N,G,K)},ge.useRef=function(N){return U.H.useRef(N)},ge.useState=function(N){return U.H.useState(N)},ge.useSyncExternalStore=function(N,G,K){return U.H.useSyncExternalStore(N,G,K)},ge.useTransition=function(){return U.H.useTransition()},ge.version="19.1.0",ge}var em;
73function ou(){return em||(em=1,Hc.exports=m_()),Hc.exports}var tm;function g_(){return tm||(tm=1,function(i){i.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,i.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,i.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(i.exports,ou())}(Ic)),Ic.exports}var Be=g_();const b_=Lm(Be),Wg=IS({__proto__:null,default:b_},[Be]);var nm=qf?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function nd(){te("createContext"in Wg,54);var i=Be.createContext[nm];return i||(Object.defineProperty(Be.createContext,nm,{value:i=Be.createContext({}),enumerable:!1,writable:!1,configurable:!0}),i.displayName="ApolloContext"),i}var cu=function(i){var t=i.client,a=i.children,l=nd(),s=Be.useContext(l),o=Be.useMemo(function(){return w(w({},s),{client:t||s.client})},[s,t]);return te(o.client,55),Be.createElement(l.Provider,{value:o},a)};function ad(i){var t=Be.useContext(nd()),a=i||t.client;return te(!!a,58),a}var am=!1,S_="useSyncExternalStore",E_=Wg[S_],O_=E_||function(i,t,a){var l=t();globalThis.__DEV__!==!1&&!am&&l!==t()&&(am=!0,globalThis.__DEV__!==!1&&te.error(68));var s=Be.useState({inst:{value:l,getSnapshot:t}}),o=s[0].inst,f=s[1];return HE?Be.useLayoutEffect(function(){Object.assign(o,{value:l,getSnapshot:t}),Yc(o)&&f({inst:o})},[i,l,t]):Object.assign(o,{value:l,getSnapshot:t}),Be.useEffect(function(){return Yc(o)&&f({inst:o}),i(function(){Yc(o)&&f({inst:o})})},[i]),l};
73function Yc(i){var t=i.value,a=i.getSnapshot;try{return t!==a()}catch{return!0}}var fn;(function(i){i[i.Query=0]="Query",i[i.Mutation=1]="Mutation",i[i.Subscription=2]="Subscription"})(fn||(fn={}));var ka;function im(i){var t;switch(i){case fn.Query:t="Query";break;case fn.Mutation:t="Mutation";break;case fn.Subscription:t="Subscription";break}return t}function e0(i){ka||(ka=new Vf(dn.parser||1e3));var t=ka.get(i);if(t)return t;var a,l,s;te(!!i&&!!i.kind,70,i);for(var o=[],f=[],h=[],v=[],p=0,y=i.definitions;p<y.length;p++){var g=y[p];if(g.kind==="FragmentDefinition"){o.push(g);continue}if(g.kind==="OperationDefinition")switch(g.operation){case"query":f.push(g);break;case"mutation":h.push(g);break;case"subscription":v.push(g);break}}te(!o.length||f.length||h.length||v.length,71),te(f.length+h.length+v.length<=1,72,i,f.length,v.length,h.length),l=f.length?fn.Query:fn.Mutation,!f.length&&!h.length&&(l=fn.Subscription);var b=f.length?f:h.length?h:v;te(b.length===1,73,i,b.length);var E=b[0];a=E.variableDefinitions||[],E.name&&E.name.kind==="Name"?s=E.name.value:s="data";var O={name:s,type:l,variables:a};return ka.set(i,O),O}e0.resetCache=function(){ka=void 0};globalThis.__DEV__!==!1&&Bf("parser",function(){return ka?ka.size:0});function t0(i,t){var a=e0(i),l=im(t),s=im(a.type);te(a.type===t,74,l,l,s)}var T_=Zm?Be.useLayoutEffect:Be.useEffect,__=Symbol.for("apollo.hook.wrappers");function N_(i,t,a){var l=a.queryManager,s=l&&l[__],o=s&&s[i];return o?o(t):t}var x_=Object.prototype.hasOwnProperty;function rm(){}var Hs=Symbol();function id(i,t){return t===void 0&&(t=Object.create(null)),N_("useQuery",A_,ad(t&&t.client))(i,t)}function A_(i,t){var a=C_(i,t),l=a.result,s=a.obsQueryFields;return Be.useMemo(function(){return w(w({},l),s)},[l,s])}function D_(i,t,a,l,s){function o(g){var b;t0(t,fn.Query);var E={client:i,query:t,observable:l&&l.getSSRObservable(s())||rl.inactiveOnCreation.withValue(!l,function(){return i.watchQuery(n0(void 0,i,a,s()))}),resultData:{previousData:(b=g?.resultData.current)===null||b===void 0?void 0:b.data}};return E}var f=Be.useState(o),h=f[0],v=f[1];function p(g){var b,E;Object.assign(h.observable,(b={},b[Hs]=g,b));var O=h.resultData;v(w(w({},h),{query:g.query,resultData:Object.assign(O,{previousData:((E=O.current)===null||E===void 0?void 0:E.data)||O.previousData,current:void 0})}))}if(i!==h.client||t!==h.query){var y=o(h);return v(y),[y,p]}return[h,p]}function C_(i,t){var a=ad(t.client),l=Be.useContext(nd()).renderPromises,s=!!l,o=a.disableNetworkFetches,f=t.ssr!==!1&&!t.skip,h=t.partialRefetch,v=k_(a,i,t,s),p=D_(a,i,t,l,v),y=p[0],g=y.observable,b=y.resultData,E=p[1],O=v(g);M_(b,g,a,t,O);var A=Be.useMemo(function(){return U_(g)},[g]);R_(g,l,f);var x=w_(b,g,a,t,O,o,h,s,{onCompleted:t.onCompleted||rm,onError:t.onError||rm});return{result:x,obsQueryFields:A,observable:g,resultData:b,client:a,onQueryExecuted:E}}function w_(i,t,a,l,s,o,f,h,v){var p=Be.useRef(v);Be.useEffect(function(){p.current=v});var y=(h||o)&&l.ssr===!1&&!l.skip?i0:l.skip||s.fetchPolicy==="standby"?r0:void 0,g=i.previousData,b=Be.useMemo(function(){return y&&a0(y,g,t,a)},[a,t,y,g]);return O_(Be.useCallback(function(E){if(h)return function(){};var O=function(){var T=i.current,C=t.getCurrentResult();T&&T.loading===C.loading&&T.networkStatus===C.networkStatus&&Re(T.data,C.data)||xf(C,i,t,a,f,E,p.current)},A=function(T){if(x.current.unsubscribe(),x.current=t.resubscribeAfterError(O,A),!x_.call(T,"graphQLErrors"))throw T;var C=i.current;(!C||C&&C.loading||!Re(T,C.error))&&xf({data:C&&C.data,error:T,loading:!1,networkStatus:Ae.error},i,t,a,f,E,p.current)},x={current:t.subscribe(O,A)};return function(){setTimeout(function(){return x.current.unsubscribe()})}},[o,h,t,i,f,a]),function(){return b||lm(i,t,p.current,f,a)},function(){return b||lm(i,t,p.current,f,a)})}function R_(i,t,a){t&&a&&(t.registerSSRObservable(i),i.getCurrentResult().loading&&t.addObservableQueryPromise(i))}function M_(i,t,a,l,s){var o;t[Hs]&&!Re(t[Hs],s)&&(t.reobserve(n0(t,a,l,s)),i.previousData=((o=i.current)===null||o===void 0?void 0:o.data)||i.previousData,i.current=void 0),t[Hs]=s}function k_(i,t,a,l){a===void 0&&(a={});var s=a.skip;a.ssr,a.onCompleted,a.onError;var o=a.defaultOptions,f=Yt(a,["skip","ssr","onCompleted","onError","defaultOptions"]);return function(h){var v=Object.assign(f,{query:t});return l&&(v.fetchPolicy==="network-only"||v.fetchPolicy==="cache-and-network")&&(v.fetchPolicy="cache-first"),v.variables||(v.variables={}),s?(v.initialFetchPolicy=v.initialFetchPolicy||v.fetchPolicy||sm(o,i.defaultOptions),v.fetchPolicy="standby"):v.fetchPolicy||(v.fetchPolicy=h?.options.initialFetchPolicy||sm(o,i.defaultOptions)),v}}function n0(i,t,a,l){var s=[],o=t.defaultOptions.watchQuery;return o&&s.push(o),a.defaultOptions&&s.push(a.defaultOptions),s.push(ja(i&&i.options,l)),s.reduce(nl)}function xf(i,t,a,l,s,o,f){var h=t.current;h&&h.data&&(t.previousData=h.data),!i.error&&Xt(i.errors)&&(i.error=new on({graphQLErrors:i.errors})),t.current=a0(j_(i,a,s),t.previousData,a,l),o(),L_(i,h?.networkStatus,f)}function L_(i,t,a){if(!i.loading){var l=z_(i);Promise.resolve().then(function(){l?a.onError(l):i.data&&t!==i.networkStatus&&i.networkStatus===Ae.ready&&a.onCompleted(i.data)}).catch(function(s){globalThis.__DEV__!==!1&&te.warn(s)})}}function lm(i,t,a,l,s){return i.current||xf(t.getCurrentResult(),i,t,s,l,function(){},a),i.current}function sm(i,t){var a;
vendor: 6,990 bytes, lines 73-81
73return i?.fetchPolicy||((a=t?.watchQuery)===null||a===void 0?void 0:a.fetchPolicy)||"cache-first"}function z_(i){return Xt(i.errors)?new on({graphQLErrors:i.errors}):i.error}function a0(i,t,a,l){var s=i.data;i.partial;var o=Yt(i,["data","partial"]),f=w(w({data:s},o),{client:l,observable:a,variables:a.variables,called:i!==i0&&i!==r0,previousData:t});return f}function j_(i,t,a){return i.partial&&a&&!i.loading&&(!i.data||Object.keys(i.data).length===0)&&t.options.fetchPolicy!=="cache-only"?(t.refetch(),w(w({},i),{loading:!0,networkStatus:Ae.refetch})):i}var i0=Vi({loading:!0,data:void 0,error:void 0,networkStatus:Ae.loading}),r0=Vi({loading:!1,data:void 0,error:void 0,networkStatus:Ae.ready});function U_(i){return{refetch:i.refetch.bind(i),reobserve:i.reobserve.bind(i),fetchMore:i.fetchMore.bind(i),updateQuery:i.updateQuery.bind(i),startPolling:i.startPolling.bind(i),stopPolling:i.stopPolling.bind(i),subscribeToMore:i.subscribeToMore.bind(i)}}function q_(i,t){var a=ad(void 0);t0(i,fn.Mutation);var l=Be.useState({called:!1,loading:!1,client:a}),s=l[0],o=l[1],f=Be.useRef({result:s,mutationId:0,isMounted:!0,client:a,mutation:i,options:t});T_(function(){Object.assign(f.current,{client:a,options:t,mutation:i})});var h=Be.useCallback(function(p){p===void 0&&(p={});var y=f.current,g=y.options,b=y.mutation,E=w(w({},g),{mutation:b}),O=p.client||f.current.client;!f.current.result.loading&&!E.ignoreResults&&f.current.isMounted&&o(f.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:O});var A=++f.current.mutationId,x=nl(E,p);return O.mutate(x).then(function(T){var C,R,j=T.data,U=T.errors,F=U&&U.length>0?new on({graphQLErrors:U}):void 0,B=p.onError||((C=f.current.options)===null||C===void 0?void 0:C.onError);if(F&&B&&B(F,x),A===f.current.mutationId&&!x.ignoreResults){var J={called:!0,loading:!1,data:j,error:F,client:O};f.current.isMounted&&!Re(f.current.result,J)&&o(f.current.result=J)}var ie=p.onCompleted||((R=f.current.options)===null||R===void 0?void 0:R.onCompleted);return F||ie?.(T.data,x),T},function(T){var C;if(A===f.current.mutationId&&f.current.isMounted){var R={loading:!1,error:T,data:void 0,called:!0,client:O};Re(f.current.result,R)||o(f.current.result=R)}var j=p.onError||((C=f.current.options)===null||C===void 0?void 0:C.onError);if(j)return j(T,x),{data:void 0,errors:T};throw T})},[]),v=Be.useCallback(function(){if(f.current.isMounted){var p={called:!1,loading:!1,client:f.current.client};Object.assign(f.current,{mutationId:0,result:p}),o(p)}},[]);return Be.useEffect(function(){var p=f.current;return p.isMounted=!0,function(){p.isMounted=!1}},[]),[h,w({reset:v},s)]}function V_(i){return new Ii(function(t,a){var l=Yt(t,[]);return new Ve(function(s){var o,f=!1;return Promise.resolve(l).then(function(h){return i(h,t.getContext())}).then(t.setContext).then(function(){f||(o=a(t).subscribe({next:s.next.bind(s),error:s.error.bind(s),complete:s.complete.bind(s)}))}).catch(s.error.bind(s)),function(){f=!0,o&&o.unsubscribe()}})})}var ee=ou(),Pc={exports:{}},Kr={},Xc={exports:{}},Kc={};/** 74 * @license React 75 * scheduler.production.js 76 * 77 * Copyright (c) Meta Platforms, Inc. and affiliates. 78 * 79 * This source code is licensed under the MIT license found in the 80 * LICENSE file in the root directory of this source tree. 81 */var um;function B_(){return um||(um=1,function(i){function t(k,X){var re=k.length;k.push(X);e:for(;0<re;){var fe=re-1>>>1,N=k[fe];if(0<s(N,X))k[fe]=X,k[re]=N,re=fe;else break e}}function a(k){return k.length===0?null:k[0]}function l(k){if(k.length===0)return null;var X=k[0],re=k.pop();if(re!==X){k[0]=re;e:for(var fe=0,N=k.length,G=N>>>1;fe<G;){var K=2*(fe+1)-1,Z=k[K],le=K+1,xe=k[le];if(0>s(Z,re))le<N&&0>s(xe,Z)?(k[fe]=xe,k[le]=re,fe=le):(k[fe]=Z,k[K]=re,fe=K);else if(le<N&&0>s(xe,re))k[fe]=xe,k[le]=re,fe=le;else break e}}return X}function s(k,X){var re=k.sortIndex-X.sortIndex;return re!==0?re:k.id-X.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;i.unstable_now=function(){return o.now()}}else{var f=Date,h=f.now();i.unstable_now=function(){return f.now()-h}}var v=[],p=[],y=1,g=null,b=3,E=!1,O=!1,A=!1,x=!1,T=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;function j(k){for(var X=a(p);X!==null;){if(X.callback===null)l(p);else if(X.startTime<=k)l(p),X.sortIndex=X.expirationTime,t(v,X);else break;X=a(p)}}function U(k){if(A=!1,j(k),!O)if(a(v)!==null)O=!0,F||(F=!0,_e());else{var X=a(p);X!==null&&ye(U,X.startTime-k)}}var F=!1,B=-1,J=5,ie=-1;function se(){return x?!0:!(i.unstable_now()-ie<J)}function pe(){if(x=!1,F){var k=i.unstable_now();ie=k;var X=!0;try{e:{O=!1,A&&(A=!1,C(B),B=-1),E=!0;var re=b;try{t:{for(j(k),g=a(v);g!==null&&!(g.expirationTime>k&&se());){var fe=g.callback;if(typeof fe=="function"){g.callback=null,b=g.priorityLevel;var N=fe(g.expirationTime<=k);if(k=i.unstable_now(),typeof N=="function"){g.callback=N,j(k),X=!0;break t}g===a(v)&&l(v),j(k)}else l(v);g=a(v)}if(g!==null)X=!0;else{var G=a(p);G!==null&&ye(U,G.startTime-k),X=!1}}break e}finally{g=null,b=re,E=!1}X=void 0}}finally{X?_e():F=!1}}}var _e;if(typeof R=="function")_e=function(){R(pe)};else if(typeof MessageChannel<"u"){var oe=new MessageChannel,$=oe.port2;oe.port1.onmessage=pe,_e=function(){$.postMessage(null)}}else _e=function(){T(pe,0)};function ye(k,X){B=T(function(){k(i.unstable_now())},X)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(k){k.callback=null},i.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):J=0<k?Math.floor(1e3/k):5},i.unstable_getCurrentPriorityLevel=function(){return b},i.unstable_next=function(k){switch(b){case 1:case 2:case 3:var X=3;break;default:X=b}var re=b;b=X;try{return k()}finally{b=re}},i.unstable_requestPaint=function(){x=!0},i.unstable_runWithPriority=function(k,X){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var re=b;b=k;try{return X()}finally{b=re}},i.unstable_scheduleCallback=function(k,X,re){var fe=i.unstable_now();switch(typeof re=="object"&&re!==null?(re=re.delay,re=typeof re=="number"&&0<re?fe+re:fe):re=fe,k){case 1:var N=-1;break;case 2:N=250;break;case 5:N=1073741823;break;case 4:N=1e4;break;default:N=5e3}return N=re+N,k={id:y++,callback:X,priorityLevel:k,startTime:re,expirationTime:N,sortIndex:-1},re>fe?(k.sortIndex=re,t(p,k),a(v)===null&&k===a(p)&&(A?(C(B),B=-1):A=!0,ye(U,re-fe))):(k.sortIndex=N,t(v,k),O||E||(O=!0,F||(F=!0,_e()))),k},i.unstable_shouldYield=se,i.unstable_wrapCallback=function(k){var X=b;return function(){var re=b;b=X;try{return k.apply(this,arguments)}finally{b=re}}}}(Kc)),Kc}var om;function F_(){return om||(om=1,Xc.exports=B_()),Xc.exports}var Zc={exports:{}},yt={};
vendor: 5,475 bytes, lines 81-97
81/** 82 * @license React 83 * react-dom.production.js 84 * 85 * Copyright (c) Meta Platforms, Inc. and affiliates. 86 * 87 * This source code is licensed under the MIT license found in the 88 * LICENSE file in the root directory of this source tree. 89 */var cm;function Q_(){if(cm)return yt;cm=1;var i=ou();function t(v){var p="https://react.dev/errors/"+v;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)p+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+v+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var l={d:{f:a,r:function(){throw Error(t(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},s=Symbol.for("react.portal");function o(v,p,y){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:g==null?null:""+g,children:v,containerInfo:p,implementation:y}}var f=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(v,p){if(v==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return yt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,yt.createPortal=function(v,p){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(t(299));return o(v,p,null,y)},yt.flushSync=function(v){var p=f.T,y=l.p;try{if(f.T=null,l.p=2,v)return v()}finally{f.T=p,l.p=y,l.d.f()}},yt.preconnect=function(v,p){typeof v=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,l.d.C(v,p))},yt.prefetchDNS=function(v){typeof v=="string"&&l.d.D(v)},yt.preinit=function(v,p){if(typeof v=="string"&&p&&typeof p.as=="string"){var y=p.as,g=h(y,p.crossOrigin),b=typeof p.integrity=="string"?p.integrity:void 0,E=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;y==="style"?l.d.S(v,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:g,integrity:b,fetchPriority:E}):y==="script"&&l.d.X(v,{crossOrigin:g,integrity:b,fetchPriority:E,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},yt.preinitModule=function(v,p){if(typeof v=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var y=h(p.as,p.crossOrigin);l.d.M(v,{crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&l.d.M(v)},yt.preload=function(v,p){if(typeof v=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var y=p.as,g=h(y,p.crossOrigin);l.d.L(v,y,{crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},yt.preloadModule=function(v,p){if(typeof v=="string")if(p){var y=h(p.as,p.crossOrigin);l.d.m(v,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else l.d.m(v)},yt.requestFormReset=function(v){l.d.r(v)},yt.unstable_batchedUpdates=function(v,p){return v(p)},yt.useFormState=function(v,p,y){return f.H.useFormState(v,p,y)},yt.useFormStatus=function(){return f.H.useHostTransitionStatus()},yt.version="19.1.0",yt}var fm;function G_(){if(fm)return Zc.exports;fm=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(t){console.error(t)}}return i(),Zc.exports=Q_(),Zc.exports}/** 90 * @license React 91 * react-dom-client.production.js 92 * 93 * Copyright (c) Meta Platforms, Inc. and affiliates. 94 * 95 * This source code is licensed under the MIT license found in the 96 * LICENSE file in the root directory of this source tree. 97 */var dm;function I_(){if(dm)return Kr;dm=1;var i=F_(),t=ou(),a=G_();function l(e){var n="https://react.dev/errors/"+e;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)n+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var n=e,r=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(r=n.return),e=n.return;while(e)}return n.tag===3?r:null}function f(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function h(e){if(o(e)!==e)throw Error(l(188))}function v(e){var n=e.alternate;if(!n){if(n=o(e),n===null)throw Error(l(188));return n!==e?null:e}for(var r=e,u=n;;){var c=r.return;if(c===null)break;var d=c.alternate;if(d===null){if(u=c.return,u!==null){r=u;continue}break}if(c.child===d.child){for(d=c.child;d;){if(d===r)return h(c),e;if(d===u)return h(c),n;d=d.sibling}throw Error(l(188))}if(r.return!==u.return)r=c,u=d;else{for(var m=!1,S=c.child;S;){if(S===r){m=!0,r=c,u=d;break}if(S===u){m=!0,u=c,r=d;break}S=S.sibling}if(!m){for(S=d.child;S;){if(S===r){m=!0,r=d,u=c;break}
vendor: 14,151 bytes, lines 97-104
97if(S===u){m=!0,u=d,r=c;break}S=S.sibling}if(!m)throw Error(l(189))}}if(r.alternate!==u)throw Error(l(190))}if(r.tag!==3)throw Error(l(188));return r.stateNode.current===r?e:n}function p(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e;for(e=e.child;e!==null;){if(n=p(e),n!==null)return n;e=e.sibling}return null}var y=Object.assign,g=Symbol.for("react.element"),b=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),T=Symbol.for("react.provider"),C=Symbol.for("react.consumer"),R=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),ie=Symbol.for("react.activity"),se=Symbol.for("react.memo_cache_sentinel"),pe=Symbol.iterator;function _e(e){return e===null||typeof e!="object"?null:(e=pe&&e[pe]||e["@@iterator"],typeof e=="function"?e:null)}var oe=Symbol.for("react.client.reference");function $(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===oe?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case O:return"Fragment";case x:return"Profiler";case A:return"StrictMode";case U:return"Suspense";case F:return"SuspenseList";case ie:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case E:return"Portal";case R:return(e.displayName||"Context")+".Provider";case C:return(e._context.displayName||"Context")+".Consumer";case j:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case B:return n=e.displayName||null,n!==null?n:$(e.type)||"Memo";case J:n=e._payload,e=e._init;try{return $(e(n))}catch{}}return null}var ye=Array.isArray,k=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,re={pending:!1,data:null,method:null,action:null},fe=[],N=-1;function G(e){return{current:e}}function K(e){0>N||(e.current=fe[N],fe[N]=null,N--)}function Z(e,n){N++,fe[N]=e.current,e.current=n}var le=G(null),xe=G(null),ve=G(null),bt=G(null);function Fe(e,n){switch(Z(ve,n),Z(xe,e),Z(le,null),n.nodeType){case 9:case 11:e=(e=n.documentElement)&&(e=e.namespaceURI)?Av(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)n=Av(n),e=Dv(n,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}K(le),Z(le,e)}function nn(){K(le),K(xe),K(ve)}function Hi(e){e.memoizedState!==null&&Z(bt,e);var n=le.current,r=Dv(n,e.type);n!==r&&(Z(xe,e),Z(le,r))}function Ee(e){xe.current===e&&(K(le),K(xe)),bt.current===e&&(K(bt),qr._currentValue=re)}var ht=Object.prototype.hasOwnProperty,Rn=i.unstable_scheduleCallback,qa=i.unstable_cancelCallback,pu=i.unstable_shouldYield,vu=i.unstable_requestPaint,jt=i.unstable_now,yu=i.unstable_getCurrentPriorityLevel,sd=i.unstable_ImmediatePriority,ud=i.unstable_UserBlockingPriority,gl=i.unstable_NormalPriority,_0=i.unstable_LowPriority,od=i.unstable_IdlePriority,N0=i.log,x0=i.unstable_setDisableYieldValue,Yi=null,At=null;function Mn(e){if(typeof N0=="function"&&x0(e),At&&typeof At.setStrictMode=="function")try{At.setStrictMode(Yi,e)}catch{}}var Dt=Math.clz32?Math.clz32:C0,A0=Math.log,D0=Math.LN2;function C0(e){return e>>>=0,e===0?32:31-(A0(e)/D0|0)|0}var bl=256,Sl=4194304;function da(e){var n=e&42;if(n!==0)return n;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:return 64;case 128:return 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 e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function El(e,n,r){var u=e.pendingLanes;if(u===0)return 0;var c=0,d=e.suspendedLanes,m=e.pingedLanes;e=e.warmLanes;var S=u&134217727;return S!==0?(u=S&~d,u!==0?c=da(u):(m&=S,m!==0?c=da(m):r||(r=S&~e,r!==0&&(c=da(r))))):(S=u&~d,S!==0?c=da(S):m!==0?c=da(m):r||(r=u&~e,r!==0&&(c=da(r)))),c===0?0:n!==0&&n!==c&&(n&d)===0&&(d=c&-c,r=n&-n,d>=r||d===32&&(r&4194048)!==0)?n:c}function Pi(e,n){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)===0}function w0(e,n){switch(e){case 1:case 2:case 4:case 8:case 64:return n+250;case 16:case 32: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 n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function cd(){var e=bl;return bl<<=1,(bl&4194048)===0&&(bl=256),e}function fd(){var e=Sl;return Sl<<=1,(Sl&62914560)===0&&(Sl=4194304),e}function mu(e){for(var n=[],r=0;31>r;r++)n.push(e);return n}function Xi(e,n){e.pendingLanes|=n,n!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function R0(e,n,r,u,c,d){var m=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var S=e.entanglements,_=e.expirationTimes,z=e.hiddenUpdates;for(r=m&~r;0<r;){var Q=31-Dt(r),H=1<<Q;S[Q]=0,_[Q]=-1;var q=z[Q];if(q!==null)for(z[Q]=null,Q=0;Q<q.length;Q++){var V=q[Q];V!==null&&(V.lane&=-536870913)}r&=~H}u!==0&&dd(e,u,0),d!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=d&~(m&~n))}function dd(e,n,r){e.pendingLanes|=n,e.suspendedLanes&=~n;var u=31-Dt(n);e.entangledLanes|=n,e.entanglements[u]=e.entanglements[u]|1073741824|r&4194090}function hd(e,n){var r=e.entangledLanes|=n;for(e=e.entanglements;r;){var u=31-Dt(r),c=1<<u;c&n|e[u]&n&&(e[u]|=n),r&=~c}}function gu(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function bu(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function pd(){var e=X.p;return e!==0?e:(e=window.event,e===void 0?32:Pv(e.type))}function M0(e,n){var r=X.p;try{return X.p=e,n()}finally{X.p=r}}var kn=Math.random().toString(36).slice(2),pt="__reactFiber$"+kn,Ot="__reactProps$"+kn,Va="__reactContainer$"+kn,Su="__reactEvents$"+kn,k0="__reactListeners$"+kn,L0="__reactHandles$"+kn,vd="__reactResources$"+kn,Ki="__reactMarker$"+kn;function Eu(e){delete e[pt],delete e[Ot],delete e[Su],delete e[k0],delete e[L0]}function Ba(e){var n=e[pt];if(n)return n;for(var r=e.parentNode;r;){if(n=r[Va]||r[pt]){if(r=n.alternate,n.child!==null||r!==null&&r.child!==null)for(e=Mv(e);e!==null;){if(r=e[pt])return r;e=Mv(e)}return n}e=r,r=e.parentNode}return null}function Fa(e){if(e=e[pt]||e[Va]){var n=e.tag;if(n===5||n===6||n===13||n===26||n===27||n===3)return e}return null}function Zi(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e.stateNode;throw Error(l(33))}function Qa(e){var n=e[vd];return n||(n=e[vd]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function at(e){e[Ki]=!0}var yd=new Set,md={};function ha(e,n){Ga(e,n),Ga(e+"Capture",n)}function Ga(e,n){for(md[e]=n,e=0;e<n.length;e++)yd.add(n[e])}var z0=RegExp("^[: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]*$"),gd={},bd={};function j0(e){return ht.call(bd,e)?!0:ht.call(gd,e)?!1:z0.test(e)?bd[e]=!0:(gd[e]=!0,!1)}function Ol(e,n,r){if(j0(n))if(r===null)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":e.removeAttribute(n);return;case"boolean":var u=n.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){e.removeAttribute(n);return}}e.setAttribute(n,""+r)}}function Tl(e,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttribute(n,""+r)}}function pn(e,n,r,u){if(u===null)e.removeAttribute(r);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttributeNS(n,r,""+u)}}var Ou,Sd;function Ia(e){if(Ou===void 0)try{throw Error()}catch(r){var n=r.stack.trim().match(/\n( *(at )?)/);Ou=n&&n[1]||"",Sd=-1<r.stack.indexOf(` 98 at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return` 99`+Ou+e+Sd}var Tu=!1;function _u(e,n){if(!e||Tu)return"";Tu=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(n){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(V){var q=V}Reflect.construct(e,[],H)}else{try{H.call()}catch(V){q=V}e.call(H.prototype)}}else{try{throw Error()}catch(V){q=V}(H=e())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(V){if(V&&q&&typeof V.stack=="string")return[V.stack,q.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=u.DetermineComponentFrameRoot(),m=d[0],S=d[1];if(m&&S){var _=m.split(` 100`),z=S.split(` 101`);for(c=u=0;u<_.length&&!_[u].includes("DetermineComponentFrameRoot");)u++;for(;c<z.length&&!z[c].includes("DetermineComponentFrameRoot");)c++;if(u===_.length||c===z.length)for(u=_.length-1,c=z.length-1;1<=u&&0<=c&&_[u]!==z[c];)c--;for(;1<=u&&0<=c;u--,c--)if(_[u]!==z[c]){if(u!==1||c!==1)do if(u--,c--,0>c||_[u]!==z[c]){var Q=` 102`+_[u].replace(" at new "," at ");return e.displayName&&Q.includes("<anonymous>")&&(Q=Q.replace("<anonymous>",e.displayName)),Q}while(1<=u&&0<=c);break}}}finally{Tu=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?Ia(r):""}function U0(e){switch(e.tag){case 26:case 27:case 5:return Ia(e.type);case 16:return Ia("Lazy");case 13:return Ia("Suspense");case 19:return Ia("SuspenseList");case 0:case 15:return _u(e.type,!1);case 11:return _u(e.type.render,!1);case 1:return _u(e.type,!0);case 31:return Ia("Activity");default:return""}}function Ed(e){try{var n="";do n+=U0(e),e=e.return;while(e);return n}catch(r){return` 103Error generating stack: `+r.message+` 104`+r.stack}}function Ut(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Od(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function q0(e){var n=Od(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),u=""+e[n];if(!e.hasOwnProperty(n)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var c=r.get,d=r.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return c.call(this)},set:function(m){u=""+m,d.call(this,m)}}),Object.defineProperty(e,n,{enumerable:r.enumerable}),{getValue:function(){return u},setValue:function(m){u=""+m},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function _l(e){e._valueTracker||(e._valueTracker=q0(e))}function Td(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var r=n.getValue(),u="";return e&&(u=Od(e)?e.checked?"true":"false":e.value),e=u,e!==r?(n.setValue(e),!0):!1}function Nl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var V0=/[\n"\\]/g;function qt(e){return e.replace(V0,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function Nu(e,n,r,u,c,d,m,S){e.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.type=m:e.removeAttribute("type"),n!=null?m==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+Ut(n)):e.value!==""+Ut(n)&&(e.value=""+Ut(n)):m!=="submit"&&m!=="reset"||e.removeAttribute("value"),n!=null?xu(e,m,Ut(n)):r!=null?xu(e,m,Ut(r)):u!=null&&e.removeAttribute("value"),c==null&&d!=null&&(e.defaultChecked=!!d),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?e.name=""+Ut(S):e.removeAttribute("name")}function _d(e,n,r,u,c,d,m,S){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),n!=null||r!=null){if(!(d!=="submit"&&d!=="reset"||n!=null))return;r=r!=null?""+Ut(r):"",n=n!=null?""+Ut(n):r,S||n===e.value||(e.value=n),e.defaultValue=n}u=u??c,u=typeof u!="function"&&typeof u!="symbol"&&!!u,e.checked=S?e.checked:!!u,e.defaultChecked=!!u,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(e.name=m)}function xu(e,n,r){n==="number"&&Nl(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function Ha(e,n,r,u){if(e=e.options,n){n={};for(var c=0;c<r.length;c++)n["$"+r[c]]=!0;for(r=0;r<e.length;r++)c=n.hasOwnProperty("$"+e[r].value),e[r].selected!==c&&(e[r].selected=c),c&&u&&(e[r].defaultSelected=!0)}else{for(r=""+Ut(r),n=null,c=0;c<e.length;c++){if(e[c].value===r){e[c].selected=!0,u&&(e[c].defaultSelected=!0);return}n!==null||e[c].disabled||(n=e[c])}n!==null&&(n.selected=!0)}}function Nd(e,n,r){if(n!=null&&(n=""+Ut(n),n!==e.value&&(e.value=n),r==null)){e.defaultValue!==n&&(e.defaultValue=n);return}e.defaultValue=r!=null?""+Ut(r):""}function xd(e,n,r,u){if(n==null){if(u!=null){if(r!=null)throw Error(l(92));if(ye(u)){if(1<u.length)throw Error(l(93));u=u[0]}r=u}r==null&&(r=""),n=r}r=Ut(n),e.defaultValue=r,u=e.textContent,u===r&&u!==""&&u!==null&&(e.value=u)}function Ya(e,n){if(n){var r=e.firstChild;
vendor: 4,140 bytes, line 104
104if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=n;return}}e.textContent=n}var B0=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Ad(e,n,r){var u=n.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?u?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="":u?e.setProperty(n,r):typeof r!="number"||r===0||B0.has(n)?n==="float"?e.cssFloat=r:e[n]=(""+r).trim():e[n]=r+"px"}function Dd(e,n,r){if(n!=null&&typeof n!="object")throw Error(l(62));if(e=e.style,r!=null){for(var u in r)!r.hasOwnProperty(u)||n!=null&&n.hasOwnProperty(u)||(u.indexOf("--")===0?e.setProperty(u,""):u==="float"?e.cssFloat="":e[u]="");for(var c in n)u=n[c],n.hasOwnProperty(c)&&r[c]!==u&&Ad(e,c,u)}else for(var d in n)n.hasOwnProperty(d)&&Ad(e,d,n[d])}function Au(e){if(e.indexOf("-")===-1)return!1;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 F0=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["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"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["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"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
104-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"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Q0=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function xl(e){return Q0.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Du=null;function Cu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Pa=null,Xa=null;function Cd(e){var n=Fa(e);if(n&&(e=n.stateNode)){var r=e[Ot]||null;e:switch(e=n.stateNode,n.type){case"input":if(Nu(e,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),n=r.name,r.type==="radio"&&n!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+qt(""+n)+'"][type="radio"]'),n=0;n<r.length;n++){var u=r[n];if(u!==e&&u.form===e.form){var c=u[Ot]||null;if(!c)throw Error(l(90));Nu(u,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(n=0;n<r.length;n++)u=r[n],u.form===e.form&&Td(u)}break e;case"textarea":Nd(e,r.value,r.defaultValue);break e;case"select":n=r.value,n!=null&&Ha(e,!!r.multiple,n,!1)}}}var wu=!1;function wd(e,n,r){if(wu)return e(n,r);wu=!0;try{var u=e(n);return u}finally{if(wu=!1,(Pa!==null||Xa!==null)&&(fs(),Pa&&(n=Pa,e=Xa,Xa=Pa=null,Cd(n),e)))for(n=0;n<e.length;n++)Cd(e[n])}}function Ji(e,n){var r=e.stateNode;if(r===null)return null;var u=r[Ot]||null;if(u===null)return null;r=u[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(l(231,n,typeof r));return r}var vn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ru=!1;if(vn)try{var $i={};Object.defineProperty($i,"passive",{get:function(){Ru=!0}}),window.addEventListener("test",$i,$i),window.removeEventListener("test",$i,$i)}catch{Ru=!1}var Ln=null,Mu=null,Al=null;function Rd(){if(Al)return Al;var e,n=Mu,r=n.length,u,c="value"in Ln?Ln.value:Ln.textContent,d=c.length;for(e=0;e<r&&n[e]===c[e];e++);var m=r-e;for(u=1;u<=m&&n[r-u]===c[d-u];u++);return Al=c.slice(e,1<u?1-u:void 0)}function Dl(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function Cl(){return!0}function Md(){return!1}function Tt(e){function n(r,u,c,d,m){this._reactName=r,this._targetInst=c,this.type=u,this.nativeEvent=d,this.target=m,this.currentTarget=null;for(var S in e)e.hasOwnProperty(S)&&(r=e[S],this[S]=r?r(d):d[S]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Cl:Md,this.isPropagationStopped=Md,this}return y(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Cl)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Cl)},persist:function(){},isPersistent:Cl}),n}var pa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},wl=Tt(pa),Wi=y({},pa,{view:0,detail:0}),G0=Tt(Wi),ku,Lu,er,Rl=y({},Wi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ju,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==er&&(er&&e.type==="mousemove"?(ku=e.screenX-er.screenX,Lu=e.screenY-er.screenY):Lu=ku=0,er=e),ku)},movementY:function(e){return"movementY"in e?e.movementY:Lu}}),kd=Tt(Rl),I0=y({},Rl,{dataTransfer:0}
vendor: 4,719 bytes, line 104
104),H0=Tt(I0),Y0=y({},Wi,{relatedTarget:0}),zu=Tt(Y0),P0=y({},pa,{animationName:0,elapsedTime:0,pseudoElement:0}),X0=Tt(P0),K0=y({},pa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Z0=Tt(K0),J0=y({},pa,{data:0}),Ld=Tt(J0),$0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},W0={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"},eb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function tb(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=eb[e])?!!n[e]:!1}function ju(){return tb}var nb=y({},Wi,{key:function(e){if(e.key){var n=$0[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=Dl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?W0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ju,charCode:function(e){return e.type==="keypress"?Dl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Dl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ab=Tt(nb),ib=y({},Rl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zd=Tt(ib),rb=y({},Wi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ju}),lb=Tt(rb),sb=y({},pa,{propertyName:0,elapsedTime:0,pseudoElement:0}),ub=Tt(sb),ob=y({},Rl,{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}),cb=Tt(ob),fb=y({},pa,{newState:0,oldState:0}),db=Tt(fb),hb=[9,13,27,32],Uu=vn&&"CompositionEvent"in window,tr=null;vn&&"documentMode"in document&&(tr=document.documentMode);var pb=vn&&"TextEvent"in window&&!tr,jd=vn&&(!Uu||tr&&8<tr&&11>=tr),Ud=" ",qd=!1;function Vd(e,n){switch(e){case"keyup":return hb.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ka=!1;function vb(e,n){switch(e){case"compositionend":return Bd(n);case"keypress":return n.which!==32?null:(qd=!0,Ud);case"textInput":return e=n.data,e===Ud&&qd?null:e;default:return null}}function yb(e,n){if(Ka)return e==="compositionend"||!Uu&&Vd(e,n)?(e=Rd(),Al=Mu=Ln=null,Ka=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return jd&&n.locale!=="ko"?null:n.data;default:return null}}var mb={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 Fd(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!mb[e.type]:n==="textarea"}function Qd(e,n,r,u){Pa?Xa?Xa.push(u):Xa=[u]:Pa=u,n=ms(n,"onChange"),0<n.length&&(r=new wl("onChange","change",null,r,u),e.push({event:r,listeners:n}))}var nr=null,ar=null;function gb(e){Ov(e,0)}function Ml(e){var n=Zi(e);if(Td(n))return e}function Gd(e,n){if(e==="change")return n}var Id=!1;if(vn){var qu;if(vn){var Vu="oninput"in document;if(!Vu){var Hd=document.createElement("div");Hd.setAttribute("oninput","return;"),Vu=typeof Hd.oninput=="function"}qu=Vu}else qu=!1;Id=qu&&(!document.documentMode||9<document.documentMode)}function Yd(){nr&&(nr.detachEvent("onpropertychange",Pd),ar=nr=null)}function Pd(e){if(e.propertyName==="value"&&Ml(ar)){var n=[];Qd(n,ar,e,Cu(e)),wd(gb,n)}}function bb(e,n,r){e==="focusin"?(Yd(),nr=n,ar=r,nr.attachEvent("onpropertychange",Pd)):e==="focusout"&&Yd()}function Sb(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ml(ar)}function Eb(e,n){if(e==="click")return Ml(n)}function Ob(e,n){if(e==="input"||e==="change")return Ml(n)}function Tb(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Ct=typeof Object.is=="function"?Object.is:Tb;function ir(e,n){if(Ct(e,n))return!0;
vendor: 109,486 bytes, lines 104-105
104if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var r=Object.keys(e),u=Object.keys(n);if(r.length!==u.length)return!1;for(u=0;u<r.length;u++){var c=r[u];if(!ht.call(n,c)||!Ct(e[c],n[c]))return!1}return!0}function Xd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Kd(e,n){var r=Xd(e);e=0;for(var u;r;){if(r.nodeType===3){if(u=e+r.textContent.length,e<=n&&u>=n)return{node:r,offset:n-e};e=u}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Xd(r)}}function Zd(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Zd(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Jd(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var n=Nl(e.document);n instanceof e.HTMLIFrameElement;){try{var r=typeof n.contentWindow.location.href=="string"}catch{r=!1}if(r)e=n.contentWindow;else break;n=Nl(e.document)}return n}function Bu(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}var _b=vn&&"documentMode"in document&&11>=document.documentMode,Za=null,Fu=null,rr=null,Qu=!1;function $d(e,n,r){var u=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Qu||Za==null||Za!==Nl(u)||(u=Za,"selectionStart"in u&&Bu(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),rr&&ir(rr,u)||(rr=u,u=ms(Fu,"onSelect"),0<u.length&&(n=new wl("onSelect","select",null,n,r),e.push({event:n,listeners:u}),n.target=Za)))}function va(e,n){var r={};return r[e.toLowerCase()]=n.toLowerCase(),r["Webkit"+e]="webkit"+n,r["Moz"+e]="moz"+n,r}var Ja={animationend:va("Animation","AnimationEnd"),animationiteration:va("Animation","AnimationIteration"),animationstart:va("Animation","AnimationStart"),transitionrun:va("Transition","TransitionRun"),transitionstart:va("Transition","TransitionStart"),transitioncancel:va("Transition","TransitionCancel"),transitionend:va("Transition","TransitionEnd")},Gu={},Wd={};vn&&(Wd=document.createElement("div").style,"AnimationEvent"in window||(delete Ja.animationend.animation,delete Ja.animationiteration.animation,delete Ja.animationstart.animation),"TransitionEvent"in window||delete Ja.transitionend.transition);function ya(e){if(Gu[e])return Gu[e];if(!Ja[e])return e;var n=Ja[e],r;for(r in n)if(n.hasOwnProperty(r)&&r in Wd)return Gu[e]=n[r];return e}var eh=ya("animationend"),th=ya("animationiteration"),nh=ya("animationstart"),Nb=ya("transitionrun"),xb=ya("transitionstart"),Ab=ya("transitioncancel"),ah=ya("transitionend"),ih=new Map,Iu="abort auxClick beforeToggle 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(" ");Iu.push("scrollEnd");function Zt(e,n){ih.set(e,n),ha(n,[e])}var rh=new WeakMap;function Vt(e,n){if(typeof e=="object"&&e!==null){var r=rh.get(e);return r!==void 0?r:(n={value:e,source:n,stack:Ed(n)},rh.set(e,n),n)}return{value:e,source:n,stack:Ed(n)}}var Bt=[],$a=0,Hu=0;function kl(){for(var e=$a,n=Hu=$a=0;n<e;){var r=Bt[n];Bt[n++]=null;var u=Bt[n];Bt[n++]=null;var c=Bt[n];Bt[n++]=null;var d=Bt[n];if(Bt[n++]=null,u!==null&&c!==null){var m=u.pending;m===null?c.next=c:(c.next=m.next,m.next=c),u.pending=c}d!==0&&lh(r,c,d)}}function Ll(e,n,r,u){Bt[$a++]=e,Bt[$a++]=n,Bt[$a++]=r,Bt[$a++]=u,Hu|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function Yu(e,n,r,u){return Ll(e,n,r,u),zl(e)}function Wa(e,n){return Ll(e,null,null,n),zl(e)}function lh(e,n,r){e.lanes|=r;var u=e.alternate;u!==null&&(u.lanes|=r);for(var c=!1,d=e.return;d!==null;)d.childLanes|=r,u=d.alternate,u!==null&&(u.childLanes|=r),d.tag===22&&(e=d.stateNode,e===null||e._visibility&1||(c=!0)),e=d,d=d.return;return e.tag===3?(d=e.stateNode,c&&n!==null&&(c=31-Dt(r),e=d.hiddenUpdates,u=e[c],u===null?e[c]=[n]:u.push(n),n.lane=r|536870912),d):null}function zl(e){if(50<wr)throw wr=0,Wo=null,Error(l(185));for(var n=e.return;n!==null;)e=n,n=e.return;return e.tag===3?e.stateNode:null}var ei={};function Db(e,n,r,u){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function wt(e,n,r,u){return new Db(e,n,r,u)}function Pu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function yn(e,n){var r=e.alternate;return r===null?(r=wt(e.tag,n,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=n,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&65011712,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,n=e.dependencies,r.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.refCleanup=e.refCleanup,r}function sh(e,n){e.flags&=65011714;var r=e.alternate;return r===null?(e.childLanes=0,e.lanes=n,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type,n=r.dependencies,e.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),e}function jl(e,n,r,u,c,d){var m=0;if(u=e,typeof e=="function")Pu(e)&&(m=1);else if(typeof e=="string")m=wS(e,r,le.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ie:return e=wt(31,r,n,c),e.elementType=ie,e.lanes=d,e;case O:return ma(r.children,c,d,n);case A:m=8,c|=24;break;case x:return e=wt(12,r,n,c|2),e.elementType=x,e.lanes=d,e;case U:return e=wt(13,r,n,c),e.elementType=U,e.lanes=d,e;case F:return e=wt(19,r,n,c),e.elementType=F,e.lanes=d,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case T:case R:m=10;break e;case C:m=9;break e;case j:m=11;break e;case B:m=14;break e;case J:m=16,u=null;break e}m=29,r=Error(l(130,e===null?"null":typeof e,"")),u=null}return n=wt(m,r,n,c),n.elementType=e,n.type=u,n.lanes=d,n}function ma(e,n,r,u){return e=wt(7,e,u,n),e.lanes=r,e}function Xu(e,n,r){return e=wt(6,e,null,n),e.lanes=r,e}function Ku(e,n,r){return n=wt(4,e.children!==null?e.children:[],e.key,n),n.lanes=r,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}var ti=[],ni=0,Ul=null,ql=0,Ft=[],Qt=0,ga=null,mn=1,gn="";function ba(e,n){ti[ni++]=ql,ti[ni++]=Ul,Ul=e,ql=n}function uh(e,n,r){Ft[Qt++]=mn,Ft[Qt++]=gn,Ft[Qt++]=ga,ga=e;var u=mn;e=gn;var c=32-Dt(u)-1;u&=~(1<<c),r+=1;var d=32-Dt(n)+c;if(30<d){var m=c-c%5;d=(u&(1<<m)-1).toString(32),u>>=m,c-=m,mn=1<<32-Dt(n)+c|r<<c|u,gn=d+e}else mn=1<<d|r<<c|u,gn=e}function Zu(e){e.return!==null&&(ba(e,1),uh(e,1,0))}function Ju(e){for(;e===Ul;)Ul=ti[--ni],ti[ni]=null,ql=ti[--ni],ti[ni]=null;for(;e===ga;)ga=Ft[--Qt],Ft[Qt]=null,gn=Ft[--Qt],Ft[Qt]=null,mn=Ft[--Qt],Ft[Qt]=null}var St=null,He=null,we=!1,Sa=null,an=!1,$u=Error(l(519));function Ea(e){var n=Error(l(418,""));throw ur(Vt(n,e)),$u}function oh(e){var n=e.stateNode,r=e.type,u=e.memoizedProps;switch(n[pt]=e,n[Ot]=u,r){case"dialog":Te("cancel",n),Te("close",n);break;case"iframe":case"object":case"embed":Te("load",n);break;case"video":case"audio":for(r=0;r<Mr.length;r++)Te(Mr[r],n);break;case"source":Te("error",n);break;case"img":case"image":case"link":Te("error",n),Te("load",n);break;case"details":Te("toggle",n);break;case"input":Te("invalid",n),_d(n,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0),_l(n);break;case"select":Te("invalid",n);break;case"textarea":Te("invalid",n),xd(n,u.value,u.defaultValue,u.children),_l(n)}r=u.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||n.textContent===""+r||u.suppressHydrationWarning===!0||xv(n.textContent,r)?(u.popover!=null&&(Te("beforetoggle",n),Te("toggle",n)),u.onScroll!=null&&Te("scroll",n),u.onScrollEnd!=null&&Te("scrollend",n),u.onClick!=null&&(n.onclick=gs),n=!0):n=!1,n||Ea(e)}function ch(e){for(St=e.return;St;)switch(St.tag){case 5:case 13:an=!1;return;case 27:case 3:an=!0;return;default:St=St.return}}function lr(e){if(e!==St)return!1;if(!we)return ch(e),we=!0,!1;var n=e.tag,r;if((r=n!==3&&n!==27)&&((r=n===5)&&(r=e.type,r=!(r!=="form"&&r!=="button")||vc(e.type,e.memoizedProps)),r=!r),r&&He&&Ea(e),ch(e),n===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8)if(r=e.data,r==="/$"){if(n===0){He=$t(e.nextSibling);break e}n--}else r!=="$"&&r!=="$!"&&r!=="$?"||n++;e=e.nextSibling}He=null}}else n===27?(n=He,Zn(e.type)?(e=bc,bc=null,He=e):He=n):He=St?$t(e.stateNode.nextSibling):null;return!0}function sr(){He=St=null,we=!1}function fh(){var e=Sa;return e!==null&&(xt===null?xt=e:xt.push.apply(xt,e),Sa=null),e}function ur(e){Sa===null?Sa=[e]:Sa.push(e)}var Wu=G(null),Oa=null,bn=null;function zn(e,n,r){Z(Wu,n._currentValue),n._currentValue=r}function Sn(e){e._currentValue=Wu.current,K(Wu)}function eo(e,n,r){for(;e!==null;){var u=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,u!==null&&(u.childLanes|=n)):u!==null&&(u.childLanes&n)!==n&&(u.childLanes|=n),e===r)break;e=e.return}}function to(e,n,r,u){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var d=c.dependencies;if(d!==null){var m=c.child;d=d.firstContext;e:for(;d!==null;){var S=d;d=c;for(var _=0;_<n.length;_++)if(S.context===n[_]){d.lanes|=r,S=d.alternate,S!==null&&(S.lanes|=r),eo(d.return,r,e),u||(m=null);break e}d=S.next}}else if(c.tag===18){if(m=c.return,m===null)throw Error(l(341));m.lanes|=r,d=m.alternate,d!==null&&(d.lanes|=r),eo(m,r,e),m=null}else m=c.child;if(m!==null)m.return=c;else for(m=c;m!==null;){if(m===e){m=null;break}if(c=m.sibling,c!==null){c.return=m.return,m=c;break}m=m.return}c=m}}function or(e,n,r,u){e=null;for(var c=n,d=!1;c!==null;){if(!d){if((c.flags&524288)!==0)d=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var m=c.alternate;if(m===null)throw Error(l(387));if(m=m.memoizedProps,m!==null){var S=c.type;Ct(c.pendingProps.value,m.value)||(e!==null?e.push(S):e=[S])}}else if(c===bt.current){if(m=c.alternate,m===null)throw Error(l(387));m.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(qr):e=[qr])}c=c.return}e!==null&&to(n,e,r,u),n.flags|=262144}function Vl(e){for(e=e.firstContext;e!==null;){if(!Ct(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ta(e){Oa=e,bn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function vt(e){return dh(Oa,e)}function Bl(e,n){return Oa===null&&Ta(e),dh(e,n)}function dh(e,n){var r=n._currentValue;if(n={context:n,memoizedValue:r,next:null},bn===null){if(e===null)throw Error(l(308));bn=n,e.dependencies={lanes:0,firstContext:n},e.flags|=524288}else bn=bn.next=n;return r}var Cb=typeof AbortController<"u"?AbortController:function(){var e=[],n=this.signal={aborted:!1,addEventListener:function(r,u){e.push(u)}};this.abort=function(){n.aborted=!0,e.forEach(function(r){return r()})}},wb=i.unstable_scheduleCallback,Rb=i.unstable_NormalPriority,et={$$typeof:R,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function no(){return{controller:new Cb,data:new Map,refCount:0}}function cr(e){e.refCount--,e.refCount===0&&wb(Rb,function(){e.controller.abort()})}var fr=null,ao=0,ai=0,ii=null;function Mb(e,n){if(fr===null){var r=fr=[];ao=0,ai=lc(),ii={status:"pending",value:void 0,then:function(u){r.push(u)}}}return ao++,n.then(hh,hh),n}function hh(){if(--ao===0&&fr!==null){ii!==null&&(ii.status="fulfilled");var e=fr;fr=null,ai=0,ii=null;for(var n=0;n<e.length;n++)(0,e[n])()}}function kb(e,n){var r=[],u={status:"pending",value:null,reason:null,then:function(c){r.push(c)}};return e.then(function(){u.status="fulfilled",u.value=n;for(var c=0;c<r.length;c++)(0,r[c])(n)},function(c){for(u.status="rejected",u.reason=c,c=0;c<r.length;c++)(0,r[c])(void 0)}),u}var ph=k.S;k.S=function(e,n){typeof n=="object"&&n!==null&&typeof n.then=="function"&&Mb(e,n),ph!==null&&ph(e,n)};var _a=G(null);function io(){var e=_a.current;return e!==null?e:Qe.pooledCache}function Fl(e,n){n===null?Z(_a,_a.current):Z(_a,n.pool)}function vh(){var e=io();return e===null?null:{parent:et._currentValue,pool:e}}var dr=Error(l(460)),yh=Error(l(474)),Ql=Error(l(542)),ro={then:function(){}};function mh(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Gl(){}function gh(e,n,r){switch(r=e[r],r===void 0?e.push(n):r!==n&&(n.then(Gl,Gl),n=r),n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,Sh(e),e;default:if(typeof n.status=="string")n.then(Gl,Gl);else{if(e=Qe,e!==null&&100<e.shellSuspendCounter)throw Error(l(482));e=n,e.status="pending",e.then(function(u){if(n.status==="pending"){var c=n;c.status="fulfilled",c.value=u}},function(u){if(n.status==="pending"){var c=n;c.status="rejected",c.reason=u}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,Sh(e),e}throw hr=n,dr}}var hr=null;function bh(){if(hr===null)throw Error(l(459));var e=hr;return hr=null,e}function Sh(e){if(e===dr||e===Ql)throw Error(l(483))}var jn=!1;function lo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function so(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Un(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function qn(e,n,r){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,(ke&2)!==0){var c=u.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),u.pending=n,n=zl(e),lh(e,null,r),n}return Ll(e,u,n,r),zl(e)}function pr(e,n,r){if(n=n.updateQueue,n!==null&&(n=n.shared,(r&4194048)!==0)){var u=n.lanes;u&=e.pendingLanes,r|=u,n.lanes=r,hd(e,r)}}function uo(e,n){var r=e.updateQueue,u=e.alternate;if(u!==null&&(u=u.updateQueue,r===u)){var c=null,d=null;if(r=r.firstBaseUpdate,r!==null){do{var m={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};d===null?c=d=m:d=d.next=m,r=r.next}while(r!==null);d===null?c=d=n:d=d.next=n}else c=d=n;r={baseState:u.baseState,firstBaseUpdate:c,lastBaseUpdate:d,shared:u.shared,callbacks:u.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=n:e.next=n,r.lastBaseUpdate=n}var oo=!1;function vr(){if(oo){var e=ii;if(e!==null)throw e}}function yr(e,n,r,u){oo=!1;var c=e.updateQueue;jn=!1;var d=c.firstBaseUpdate,m=c.lastBaseUpdate,S=c.shared.pending;if(S!==null){c.shared.pending=null;var _=S,z=_.next;_.next=null,m===null?d=z:m.next=z,m=_;var Q=e.alternate;Q!==null&&(Q=Q.updateQueue,S=Q.lastBaseUpdate,S!==m&&(S===null?Q.firstBaseUpdate=z:S.next=z,Q.lastBaseUpdate=_))}if(d!==null){var H=c.baseState;m=0,Q=z=_=null,S=d;do{var q=S.lane&-536870913,V=q!==S.lane;if(V?(De&q)===q:(u&q)===q){q!==0&&q===ai&&(oo=!0),Q!==null&&(Q=Q.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});e:{var he=e,ce=S;q=n;var Ue=r;switch(ce.tag){case 1:if(he=ce.payload,typeof he=="function"){H=he.call(Ue,H,q);break e}H=he;break e;case 3:he.flags=he.flags&-65537|128;case 0:if(he=ce.payload,q=typeof he=="function"?he.call(Ue,H,q):he,q==null)break e;H=y({},H,q);break e;case 2:jn=!0}}q=S.callback,q!==null&&(e.flags|=64,V&&(e.flags|=8192),V=c.callbacks,V===null?c.callbacks=[q]:V.push(q))}else V={lane:q,tag:S.tag,payload:S.payload,callback:S.callback,next:null},Q===null?(z=Q=V,_=H):Q=Q.next=V,m|=q;if(S=S.next,S===null){if(S=c.shared.pending,S===null)break;V=S,S=V.next,V.next=null,c.lastBaseUpdate=V,c.shared.pending=null}}while(!0);Q===null&&(_=H),c.baseState=_,c.firstBaseUpdate=z,c.lastBaseUpdate=Q,d===null&&(c.shared.lanes=0),Yn|=m,e.lanes=m,e.memoizedState=H}}function Eh(e,n){if(typeof e!="function")throw Error(l(191,e));e.call(n)}function Oh(e,n){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;e<r.length;e++)Eh(r[e],n)}var ri=G(null),Il=G(0);function Th(e,n){e=An,Z(Il,e),Z(ri,n),An=e|n.baseLanes}function co(){Z(Il,An),Z(ri,ri.current)}function fo(){An=Il.current,K(ri),K(Il)}var Vn=0,be=null,ze=null,Je=null,Hl=!1,li=!1,Na=!1,Yl=0,mr=0,si=null,Lb=0;function Ke(){throw Error(l(321))}function ho(e,n){if(n===null)return!1;for(var r=0;r<n.length&&r<e.length;r++)if(!Ct(e[r],n[r]))return!1;return!0}function po(e,n,r,u,c,d){return Vn=d,be=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,k.H=e===null||e.memoizedState===null?lp:sp,Na=!1,d=r(u,c),Na=!1,li&&(d=Nh(n,r,u,c)),_h(e),d}function _h(e){k.H=$l;var n=ze!==null&&ze.next!==null;if(Vn=0,Je=ze=be=null,Hl=!1,mr=0,si=null,n)throw Error(l(300));e===null||it||(e=e.dependencies,e!==null&&Vl(e)&&(it=!0))}function Nh(e,n,r,u){be=e;var c=0;do{if(li&&(si=null),mr=0,li=!1,25<=c)throw Error(l(301));if(c+=1,Je=ze=null,e.updateQueue!=null){var d=e.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}k.H=Fb,d=n(r,u)}while(li);return d}function zb(){var e=k.H,n=e.useState()[0];return n=typeof n.then=="function"?gr(n):n,e=e.useState()[0],(ze!==null?ze.memoizedState:null)!==e&&(be.flags|=1024),n}function vo(){var e=Yl!==0;return Yl=0,e}function yo(e,n,r){n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~r}function mo(e){if(Hl){for(e=e.memoizedState;e!==null;){var n=e.queue;n!==null&&(n.pending=null),e=e.next}Hl=!1}Vn=0,Je=ze=be=null,li=!1,mr=Yl=0,si=null}function _t(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Je===null?be.memoizedState=Je=e:Je=Je.next=e,Je}function $e(){if(ze===null){var e=be.alternate;e=e!==null?e.memoizedState:null}else e=ze.next;var n=Je===null?be.memoizedState:Je.next;if(n!==null)Je=n,ze=e;else{if(e===null)throw be.alternate===null?Error(l(467)):Error(l(310));ze=e,e={memoizedState:ze.memoizedState,baseState:ze.baseState,baseQueue:ze.baseQueue,queue:ze.queue,next:null},Je===null?be.memoizedState=Je=e:Je=Je.next=e}return Je}function go(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function gr(e){var n=mr;return mr+=1,si===null&&(si=[]),e=gh(si,e,n),n=be,(Je===null?n.memoizedState:Je.next)===null&&(n=n.alternate,k.H=n===null||n.memoizedState===null?lp:sp),e}function Pl(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return gr(e);if(e.$$typeof===R)return vt(e)}throw Error(l(438,String(e)))}function bo(e){var n=null,r=be.updateQueue;if(r!==null&&(n=r.memoCache),n==null){var u=be.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(n={data:u.data.map(function(c){return c.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),r===null&&(r=go(),be.updateQueue=r),r.memoCache=n,r=n.data[n.index],r===void 0)for(r=n.data[n.index]=Array(e),u=0;u<e;u++)r[u]=se;return n.index++,r}function En(e,n){return typeof n=="function"?n(e):n}function Xl(e){var n=$e();return So(n,ze,e)}function So(e,n,r){var u=e.queue;if(u===null)throw Error(l(311));u.lastRenderedReducer=r;var c=e.baseQueue,d=u.pending;if(d!==null){if(c!==null){var m=c.next;c.next=d.next,d.next=m}n.baseQueue=c=d,u.pending=null}if(d=e.baseState,c===null)e.memoizedState=d;else{n=c.next;var S=m=null,_=null,z=n,Q=!1;do{var H=z.lane&-536870913;if(H!==z.lane?(De&H)===H:(Vn&H)===H){var q=z.revertLane;if(q===0)_!==null&&(_=_.next={lane:0,revertLane:0,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),H===ai&&(Q=!0);else if((Vn&q)===q){z=z.next,q===ai&&(Q=!0);continue}else H={lane:0,revertLane:z.revertLane,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},_===null?(S=_=H,m=d):_=_.next=H,be.lanes|=q,Yn|=q;H=z.action,Na&&r(d,H),d=z.hasEagerState?z.eagerState:r(d,H)}else q={lane:H,revertLane:z.revertLane,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},_===null?(S=_=q,m=d):_=_.next=q,be.lanes|=H,Yn|=H;z=z.next}while(z!==null&&z!==n);if(_===null?m=d:_.next=S,!Ct(d,e.memoizedState)&&(it=!0,Q&&(r=ii,r!==null)))throw r;e.memoizedState=d,e.baseState=m,e.baseQueue=_,u.lastRenderedState=d}return c===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function Eo(e){var n=$e(),r=n.queue;if(r===null)throw Error(l(311));r.lastRenderedReducer=e;var u=r.dispatch,c=r.pending,d=n.memoizedState;if(c!==null){r.pending=null;var m=c=c.next;do d=e(d,m.action),m=m.next;while(m!==c);Ct(d,n.memoizedState)||(it=!0),n.memoizedState=d,n.baseQueue===null&&(n.baseState=d),r.lastRenderedState=d}return[d,u]}function xh(e,n,r){var u=be,c=$e(),d=we;if(d){if(r===void 0)throw Error(l(407));r=r()}else r=n();var m=!Ct((ze||c).memoizedState,r);m&&(c.memoizedState=r,it=!0),c=c.queue;var S=Ch.bind(null,u,c,e);if(br(2048,8,S,[e]),c.getSnapshot!==n||m||Je!==null&&Je.memoizedState.tag&1){if(u.flags|=2048,ui(9,Kl(),Dh.bind(null,u,c,r,n),null),Qe===null)throw Error(l(349));d||(Vn&124)!==0||Ah(u,n,r)}return r}function Ah(e,n,r){e.flags|=16384,e={getSnapshot:n,value:r},n=be.updateQueue,n===null?(n=go(),be.updateQueue=n,n.stores=[e]):(r=n.stores,r===null?n.stores=[e]:r.push(e))}function Dh(e,n,r,u){n.value=r,n.getSnapshot=u,wh(n)&&Rh(e)}function Ch(e,n,r){return r(function(){wh(n)&&Rh(e)})}function wh(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!Ct(e,r)}catch{return!0}}function Rh(e){var n=Wa(e,2);n!==null&&zt(n,e,2)}function Oo(e){var n=_t();if(typeof e=="function"){var r=e;if(e=r(),Na){Mn(!0);try{r()}finally{Mn(!1)}}}return n.memoizedState=n.baseState=e,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:En,lastRenderedState:e},n}function Mh(e,n,r,u){return e.baseState=r,So(e,ze,typeof u=="function"?u:En)}function jb(e,n,r,u,c){if(Jl(e))throw Error(l(485));if(e=n.action,e!==null){var d={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){d.listeners.push(m)}};k.T!==null?r(!0):d.isTransition=!1,u(d),r=n.pending,r===null?(d.next=n.pending=d,kh(n,d)):(d.next=r.next,n.pending=r.next=d)}}function kh(e,n){var r=n.action,u=n.payload,c=e.state;if(n.isTransition){var d=k.T,m={};k.T=m;try{var S=r(c,u),_=k.S;_!==null&&_(m,S),Lh(e,n,S)}catch(z){To(e,n,z)}finally{k.T=d}}else try{d=r(c,u),Lh(e,n,d)}catch(z){To(e,n,z)}}function Lh(e,n,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(u){zh(e,n,u)},function(u){return To(e,n,u)}):zh(e,n,r)}function zh(e,n,r){n.status="fulfilled",n.value=r,jh(n),e.state=r,n=e.pending,n!==null&&(r=n.next,r===n?e.pending=null:(r=r.next,n.next=r,kh(e,r)))}function To(e,n,r){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do n.status="rejected",n.reason=r,jh(n),n=n.next;while(n!==u)}e.action=null}function jh(e){e=e.listeners;for(var n=0;n<e.length;n++)(0,e[n])()}function Uh(e,n){return n}function qh(e,n){if(we){var r=Qe.formState;if(r!==null){e:{var u=be;if(we){if(He){t:{for(var c=He,d=an;c.nodeType!==8;){if(!d){c=null;break t}if(c=$t(c.nextSibling),c===null){c=null;break t}}d=c.data,c=d==="F!"||d==="F"?c:null}if(c){He=$t(c.nextSibling),u=c.data==="F!";break e}}Ea(u)}u=!1}u&&(n=r[0])}}return r=_t(),r.memoizedState=r.baseState=n,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Uh,lastRenderedState:n},r.queue=u,r=ap.bind(null,be,u),u.dispatch=r,u=Oo(!1),d=Do.bind(null,be,!1,u.queue),u=_t(),c={state:n,dispatch:null,action:e,pending:null},u.queue=c,r=jb.bind(null,be,c,d,r),c.dispatch=r,u.memoizedState=e,[n,r,!1]}function Vh(e){var n=$e();return Bh(n,ze,e)}function Bh(e,n,r){if(n=So(e,n,Uh)[0],e=Xl(En)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var u=gr(n)}catch(m){throw m===dr?Ql:m}else u=n;n=$e();var c=n.queue,d=c.dispatch;return r!==n.memoizedState&&(be.flags|=2048,ui(9,Kl(),Ub.bind(null,c,r),null)),[u,d,e]}function Ub(e,n){e.action=n}function Fh(e){var n=$e(),r=ze;if(r!==null)return Bh(n,r,e);$e(),n=n.memoizedState,r=$e();var u=r.queue.dispatch;return r.memoizedState=e,[n,u,!1]}function ui(e,n,r,u){return e={tag:e,create:r,deps:u,inst:n,next:null},n=be.updateQueue,n===null&&(n=go(),be.updateQueue=n),r=n.lastEffect,r===null?n.lastEffect=e.next=e:(u=r.next,r.next=e,e.next=u,n.lastEffect=e),e}function Kl(){return{destroy:void 0,resource:void 0}}function Qh(){return $e().memoizedState}function Zl(e,n,r,u){var c=_t();u=u===void 0?null:u,be.flags|=e,c.memoizedState=ui(1|n,Kl(),r,u)}function br(e,n,r,u){var c=$e();u=u===void 0?null:u;var d=c.memoizedState.inst;ze!==null&&u!==null&&ho(u,ze.memoizedState.deps)?c.memoizedState=ui(n,d,r,u):(be.flags|=e,c.memoizedState=ui(1|n,d,r,u))}function Gh(e,n){Zl(8390656,8,e,n)}function Ih(e,n){br(2048,8,e,n)}function Hh(e,n){return br(4,2,e,n)}function Yh(e,n){return br(4,4,e,n)}function Ph(e,n){if(typeof n=="function"){e=e();var r=n(e);return function(){typeof r=="function"?r():n(null)}}if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function Xh(e,n,r){r=r!=null?r.concat([e]):null,br(4,4,Ph.bind(null,n,e),r)}function _o(){}function Kh(e,n){var r=$e();n=n===void 0?null:n;var u=r.memoizedState;return n!==null&&ho(n,u[1])?u[0]:(r.memoizedState=[e,n],e)}function Zh(e,n){var r=$e();n=n===void 0?null:n;var u=r.memoizedState;if(n!==null&&ho(n,u[1]))return u[0];if(u=e(),Na){Mn(!0);try{e()}finally{Mn(!1)}}return r.memoizedState=[u,n],u}function No(e,n,r){return r===void 0||(Vn&1073741824)!==0?e.memoizedState=n:(e.memoizedState=r,e=Wp(),be.lanes|=e,Yn|=e,r)}function Jh(e,n,r,u){return Ct(r,n)?r:ri.current!==null?(e=No(e,r,u),Ct(e,n)||(it=!0),e):(Vn&42)===0?(it=!0,e.memoizedState=r):(e=Wp(),be.lanes|=e,Yn|=e,n)}function $h(e,n,r,u,c){var d=X.p;X.p=d!==0&&8>d?d:8;var m=k.T,S={};k.T=S,Do(e,!1,n,r);try{var _=c(),z=k.S;if(z!==null&&z(S,_),_!==null&&typeof _=="object"&&typeof _.then=="function"){var Q=kb(_,u);Sr(e,n,Q,Lt(e))}else Sr(e,n,u,Lt(e))}catch(H){Sr(e,n,{then:function(){},status:"rejected",reason:H},Lt())}finally{X.p=d,k.T=m}}function qb(){}function xo(e,n,r,u){if(e.tag!==5)throw Error(l(476));var c=Wh(e).queue;$h(e,c,n,re,r===null?qb:function(){return ep(e),r(u)})}function Wh(e){var n=e.memoizedState;if(n!==null)return n;n={memoizedState:re,baseState:re,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:En,lastRenderedState:re},next:null};var r={};return n.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:En,lastRenderedState:r},next:null},e.memoizedState=n,e=e.alternate,e!==null&&(e.memoizedState=n),n}function ep(e){var n=Wh(e).next.queue;Sr(e,n,{},Lt())}function Ao(){return vt(qr)}function tp(){return $e().memoizedState}function np(){return $e().memoizedState}function Vb(e){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var r=Lt();e=Un(r);var u=qn(n,e,r);u!==null&&(zt(u,n,r),pr(u,n,r)),n={cache:no()},e.payload=n;return}n=n.return}}function Bb(e,n,r){var u=Lt();r={lane:u,revertLane:0,action:r,hasEagerState:!1,eagerState:null,next:null},Jl(e)?ip(n,r):(r=Yu(e,n,r,u),r!==null&&(zt(r,e,u),rp(r,n,u)))}function ap(e,n,r){var u=Lt();Sr(e,n,r,u)}function Sr(e,n,r,u){var c={lane:u,revertLane:0,action:r,hasEagerState:!1,eagerState:null,next:null};if(Jl(e))ip(n,c);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=n.lastRenderedReducer,d!==null))try{var m=n.lastRenderedState,S=d(m,r);if(c.hasEagerState=!0,c.eagerState=S,Ct(S,m))return Ll(e,n,c,0),Qe===null&&kl(),!1}catch{}finally{}if(r=Yu(e,n,c,u),r!==null)return zt(r,e,u),rp(r,n,u),!0}return!1}function Do(e,n,r,u){if(u={lane:2,revertLane:lc(),action:u,hasEagerState:!1,eagerState:null,next:null},Jl(e)){if(n)throw Error(l(479))}else n=Yu(e,r,u,2),n!==null&&zt(n,e,2)}function Jl(e){var n=e.alternate;return e===be||n!==null&&n===be}function ip(e,n){li=Hl=!0;var r=e.pending;r===null?n.next=n:(n.next=r.next,r.next=n),e.pending=n}function rp(e,n,r){if((r&4194048)!==0){var u=n.lanes;u&=e.pendingLanes,r|=u,n.lanes=r,hd(e,r)}}var $l={readContext:vt,use:Pl,useCallback:Ke,useContext:Ke,useEffect:Ke,useImperativeHandle:Ke,useLayoutEffect:Ke,useInsertionEffect:Ke,useMemo:Ke,useReducer:Ke,useRef:Ke,useState:Ke,useDebugValue:Ke,useDeferredValue:Ke,useTransition:Ke,useSyncExternalStore:Ke,useId:Ke,useHostTransitionStatus:Ke,useFormState:Ke,useActionState:Ke,useOptimistic:Ke,useMemoCache:Ke,useCacheRefresh:Ke},lp={readContext:vt,use:Pl,useCallback:function(e,n){return _t().memoizedState=[e,n===void 0?null:n],e},useContext:vt,useEffect:Gh,useImperativeHandle:function(e,n,r){r=r!=null?r.concat([e]):null,Zl(4194308,4,Ph.bind(null,n,e),r)},useLayoutEffect:function(e,n){return Zl(4194308,4,e,n)},useInsertionEffect:function(e,n){Zl(4,2,e,n)},useMemo:function(e,n){var r=_t();n=n===void 0?null:n;var u=e();if(Na){Mn(!0);try{e()}finally{Mn(!1)}}return r.memoizedState=[u,n],u},useReducer:function(e,n,r){var u=_t();if(r!==void 0){var c=r(n);if(Na){Mn(!0);try{r(n)}finally{Mn(!1)}}}else c=n;return u.memoizedState=u.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},u.queue=e,e=e.dispatch=Bb.bind(null,be,e),[u.memoizedState,e]},useRef:function(e){var n=_t();return e={current:e},n.memoizedState=e},useState:function(e){e=Oo(e);var n=e.queue,r=ap.bind(null,be,n);return n.dispatch=r,[e.memoizedState,r]},useDebugValue:_o,useDeferredValue:function(e,n){var r=_t();return No(r,e,n)},useTransition:function(){var e=Oo(!1);return e=$h.bind(null,be,e.queue,!0,!1),_t().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,n,r){var u=be,c=_t();if(we){if(r===void 0)throw Error(l(407));r=r()}else{if(r=n(),Qe===null)throw Error(l(349));(De&124)!==0||Ah(u,n,r)}c.memoizedState=r;var d={value:r,getSnapshot:n};return c.queue=d,Gh(Ch.bind(null,u,d,e),[e]),u.flags|=2048,ui(9,Kl(),Dh.bind(null,u,d,r,n),null),r},useId:function(){var e=_t(),n=Qe.identifierPrefix;if(we){var r=gn,u=mn;r=(u&~(1<<32-Dt(u)-1)).toString(32)+r,n="«"+n+"R"+r,r=Yl++,0<r&&(n+="H"+r.toString(32)),n+="»"}else r=Lb++,n="«"+n+"r"+r.toString(32)+"»";return e.memoizedState=n},useHostTransitionStatus:Ao,useFormState:qh,useActionState:qh,useOptimistic:function(e){var n=_t();n.memoizedState=n.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=r,n=Do.bind(null,be,!0,r),r.dispatch=n,[e,n]},useMemoCache:bo,useCacheRefresh:function(){return _t().memoizedState=Vb.bind(null,be)}},sp={readContext:vt,use:Pl,useCallback:Kh,useContext:vt,useEffect:Ih,useImperativeHandle:Xh,useInsertionEffect:Hh,useLayoutEffect:Yh,useMemo:Zh,useReducer:Xl,useRef:Qh,useState:function(){return Xl(En)},useDebugValue:_o,useDeferredValue:function(e,n){var r=$e();return Jh(r,ze.memoizedState,e,n)},useTransition:function(){var e=Xl(En)[0],n=$e().memoizedState;return[typeof e=="boolean"?e:gr(e),n]},useSyncExternalStore:xh,useId:tp,useHostTransitionStatus:Ao,useFormState:Vh,useActionState:Vh,useOptimistic:function(e,n){var r=$e();return Mh(r,ze,e,n)},useMemoCache:bo,useCacheRefresh:np},Fb={readContext:vt,use:Pl,useCallback:Kh,useContext:vt,useEffect:Ih,useImperativeHandle:Xh,useInsertionEffect:Hh,useLayoutEffect:Yh,useMemo:Zh,useReducer:Eo,useRef:Qh,useState:function(){return Eo(En)},useDebugValue:_o,useDeferredValue:function(e,n){var r=$e();return ze===null?No(r,e,n):Jh(r,ze.memoizedState,e,n)},useTransition:function(){var e=Eo(En)[0],n=$e().memoizedState;return[typeof e=="boolean"?e:gr(e),n]},useSyncExternalStore:xh,useId:tp,useHostTransitionStatus:Ao,useFormState:Fh,useActionState:Fh,useOptimistic:function(e,n){var r=$e();return ze!==null?Mh(r,ze,e,n):(r.baseState=e,[e,r.queue.dispatch])},useMemoCache:bo,useCacheRefresh:np},oi=null,Er=0;function Wl(e){var n=Er;return Er+=1,oi===null&&(oi=[]),gh(oi,e,n)}function Or(e,n){n=n.props.ref,e.ref=n!==void 0?n:null}function es(e,n){throw n.$$typeof===g?Error(l(525)):(e=Object.prototype.toString.call(n),Error(l(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e)))}function up(e){var n=e._init;return n(e._payload)}function op(e){function n(M,D){if(e){var L=M.deletions;L===null?(M.deletions=[D],M.flags|=16):L.push(D)}}function r(M,D){if(!e)return null;for(;D!==null;)n(M,D),D=D.sibling;return null}function u(M){for(var D=new Map;M!==null;)M.key!==null?D.set(M.key,M):D.set(M.index,M),M=M.sibling;return D}function c(M,D){return M=yn(M,D),M.index=0,M.sibling=null,M}function d(M,D,L){return M.index=L,e?(L=M.alternate,L!==null?(L=L.index,L<D?(M.flags|=67108866,D):L):(M.flags|=67108866,D)):(M.flags|=1048576,D)}function m(M){return e&&M.alternate===null&&(M.flags|=67108866),M}function S(M,D,L,I){return D===null||D.tag!==6?(D=Xu(L,M.mode,I),D.return=M,D):(D=c(D,L),D.return=M,D)}function _(M,D,L,I){var ne=L.type;return ne===O?Q(M,D,L.props.children,I,L.key):D!==null&&(D.elementType===ne||typeof ne=="object"&&ne!==null&&ne.$$typeof===J&&up(ne)===D.type)?(D=c(D,L.props),Or(D,L),D.return=M,D):(D=jl(L.type,L.key,L.props,null,M.mode,I),Or(D,L),D.return=M,D)}function z(M,D,L,I){return D===null||D.tag!==4||D.stateNode.containerInfo!==L.containerInfo||D.stateNode.implementation!==L.implementation?(D=Ku(L,M.mode,I),D.return=M,D):(D=c(D,L.children||[]),D.return=M,D)}function Q(M,D,L,I,ne){return D===null||D.tag!==7?(D=ma(L,M.mode,I,ne),D.return=M,D):(D=c(D,L),D.return=M,D)}function H(M,D,L){if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return D=Xu(""+D,M.mode,L),D.return=M,D;if(typeof D=="object"&&D!==null){switch(D.$$typeof){case b:return L=jl(D.type,D.key,D.props,null,M.mode,L),Or(L,D),L.return=M,L;case E:return D=Ku(D,M.mode,L),D.return=M,D;case J:var I=D._init;return D=I(D._payload),H(M,D,L)}if(ye(D)||_e(D))return D=ma(D,M.mode,L,null),D.return=M,D;if(typeof D.then=="function")return H(M,Wl(D),L);if(D.$$typeof===R)return H(M,Bl(M,D),L);es(M,D)}return null}function q(M,D,L,I){var ne=D!==null?D.key:null;if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return ne!==null?null:S(M,D,""+L,I);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case b:return L.key===ne?_(M,D,L,I):null;case E:return L.key===ne?z(M,D,L,I):null;case J:return ne=L._init,L=ne(L._payload),q(M,D,L,I)}if(ye(L)||_e(L))return ne!==null?null:Q(M,D,L,I,null);if(typeof L.then=="function")return q(M,D,Wl(L),I);if(L.$$typeof===R)return q(M,D,Bl(M,L),I);es(M,L)}return null}function V(M,D,L,I,ne){if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return M=M.get(L)||null,S(D,M,""+I,ne);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case b:return M=M.get(I.key===null?L:I.key)||null,_(D,M,I,ne);case E:return M=M.get(I.key===null?L:I.key)||null,z(D,M,I,ne);case J:var Se=I._init;return I=Se(I._payload),V(M,D,L,I,ne)}if(ye(I)||_e(I))return M=M.get(L)||null,Q(D,M,I,ne,null);if(typeof I.then=="function")return V(M,D,L,Wl(I),ne);if(I.$$typeof===R)return V(M,D,L,Bl(D,I),ne);es(D,I)}return null}function he(M,D,L,I){for(var ne=null,Se=null,ue=D,de=D=0,lt=null;ue!==null&&de<L.length;de++){ue.index>de?(lt=ue,ue=null):lt=ue.sibling;var Ce=q(M,ue,L[de],I);if(Ce===null){ue===null&&(ue=lt);break}e&&ue&&Ce.alternate===null&&n(M,ue),D=d(Ce,D,de),Se===null?ne=Ce:Se.sibling=Ce,Se=Ce,ue=lt}if(de===L.length)return r(M,ue),we&&ba(M,de),ne;if(ue===null){for(;de<L.length;de++)ue=H(M,L[de],I),ue!==null&&(D=d(ue,D,de),Se===null?ne=ue:Se.sibling=ue,Se=ue);return we&&ba(M,de),ne}for(ue=u(ue);de<L.length;de++)lt=V(ue,M,de,L[de],I),lt!==null&&(e&<.alternate!==null&&ue.delete(lt.key===null?de:lt.key),D=d(lt,D,de),Se===null?ne=lt:Se.sibling=lt,Se=lt);return e&&ue.forEach(function(ta){return n(M,ta)}),we&&ba(M,de),ne}function ce(M,D,L,I){if(L==null)throw Error(l(151));for(var ne=null,Se=null,ue=D,de=D=0,lt=null,Ce=L.next();ue!==null&&!Ce.done;de++,Ce=L.next()){ue.index>de?(lt=ue,ue=null):lt=ue.sibling;var ta=q(M,ue,Ce.value,I);if(ta===null){ue===null&&(ue=lt);break}e&&ue&&ta.alternate===null&&n(M,ue),D=d(ta,D,de),Se===null?ne=ta:Se.sibling=ta,Se=ta,ue=lt}if(Ce.done)return r(M,ue),we&&ba(M,de),ne;if(ue===null){for(;!Ce.done;de++,Ce=L.next())Ce=H(M,Ce.value,I),Ce!==null&&(D=d(Ce,D,de),Se===null?ne=Ce:Se.sibling=Ce,Se=Ce);return we&&ba(M,de),ne}for(ue=u(ue);!Ce.done;de++,Ce=L.next())Ce=V(ue,M,de,Ce.value,I),Ce!==null&&(e&&Ce.alternate!==null&&ue.delete(Ce.key===null?de:Ce.key),D=d(Ce,D,de),Se===null?ne=Ce:Se.sibling=Ce,Se=Ce);return e&&ue.forEach(function(QS){return n(M,QS)}),we&&ba(M,de),ne}function Ue(M,D,L,I){if(typeof L=="object"&&L!==null&&L.type===O&&L.key===null&&(L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case b:e:{for(var ne=L.key;D!==null;){if(D.key===ne){if(ne=L.type,ne===O){if(D.tag===7){r(M,D.sibling),I=c(D,L.props.children),I.return=M,M=I;break e}}else if(D.elementType===ne||typeof ne=="object"&&ne!==null&&ne.$$typeof===J&&up(ne)===D.type){r(M,D.sibling),I=c(D,L.props),Or(I,L),I.return=M,M=I;break e}r(M,D);break}else n(M,D);D=D.sibling}L.type===O?(I=ma(L.props.children,M.mode,I,L.key),I.return=M,M=I):(I=jl(L.type,L.key,L.props,null,M.mode,I),Or(I,L),I.return=M,M=I)}return m(M);case E:e:{for(ne=L.key;D!==null;){if(D.key===ne)if(D.tag===4&&D.stateNode.containerInfo===L.containerInfo&&D.stateNode.implementation===L.implementation){r(M,D.sibling),I=c(D,L.children||[]),I.return=M,M=I;break e}else{r(M,D);break}else n(M,D);D=D.sibling}I=Ku(L,M.mode,I),I.return=M,M=I}return m(M);case J:return ne=L._init,L=ne(L._payload),Ue(M,D,L,I)}if(ye(L))return he(M,D,L,I);if(_e(L)){if(ne=_e(L),typeof ne!="function")throw Error(l(150));return L=ne.call(L),ce(M,D,L,I)}if(typeof L.then=="function")return Ue(M,D,Wl(L),I);if(L.$$typeof===R)return Ue(M,D,Bl(M,L),I);es(M,L)}return typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint"?(L=""+L,D!==null&&D.tag===6?(r(M,D.sibling),I=c(D,L),I.return=M,M=I):(r(M,D),I=Xu(L,M.mode,I),I.return=M,M=I),m(M)):r(M,D)}return function(M,D,L,I){try{Er=0;var ne=Ue(M,D,L,I);return oi=null,ne}catch(ue){if(ue===dr||ue===Ql)throw ue;var Se=wt(29,ue,null,M.mode);return Se.lanes=I,Se.return=M,Se}finally{}}}var ci=op(!0),cp=op(!1),Gt=G(null),rn=null;function Bn(e){var n=e.alternate;Z(tt,tt.current&1),Z(Gt,e),rn===null&&(n===null||ri.current!==null||n.memoizedState!==null)&&(rn=e)}function fp(e){if(e.tag===22){if(Z(tt,tt.current),Z(Gt,e),rn===null){var n=e.alternate;n!==null&&n.memoizedState!==null&&(rn=e)}}else Fn()}function Fn(){Z(tt,tt.current),Z(Gt,Gt.current)}function On(e){K(Gt),rn===e&&(rn=null),K(tt)}var tt=G(0);function ts(e){for(var n=e;n!==null;){if(n.tag===13){var r=n.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||gc(r)))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}function Co(e,n,r,u){n=e.memoizedState,r=r(u,n),r=r==null?n:y({},n,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var wo={enqueueSetState:function(e,n,r){e=e._reactInternals;var u=Lt(),c=Un(u);c.payload=n,r!=null&&(c.callback=r),n=qn(e,c,u),n!==null&&(zt(n,e,u),pr(n,e,u))},enqueueReplaceState:function(e,n,r){e=e._reactInternals;var u=Lt(),c=Un(u);c.tag=1,c.payload=n,r!=null&&(c.callback=r),n=qn(e,c,u),n!==null&&(zt(n,e,u),pr(n,e,u))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var r=Lt(),u=Un(r);u.tag=2,n!=null&&(u.callback=n),n=qn(e,u,r),n!==null&&(zt(n,e,r),pr(n,e,r))}};function dp(e,n,r,u,c,d,m){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(u,d,m):n.prototype&&n.prototype.isPureReactComponent?!ir(r,u)||!ir(c,d):!0}function hp(e,n,r,u){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(r,u),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(r,u),n.state!==e&&wo.enqueueReplaceState(n,n.state,null)}function xa(e,n){var r=n;if("ref"in n){r={};for(var u in n)u!=="ref"&&(r[u]=n[u])}if(e=e.defaultProps){r===n&&(r=y({},r));for(var c in e)r[c]===void 0&&(r[c]=e[c])}return r}var ns=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function pp(e){ns(e)}function vp(e){console.error(e)}function yp(e){ns(e)}function as(e,n){try{var r=e.onUncaughtError;r(n.value,{componentStack:n.stack})}catch(u){setTimeout(function(){throw u})}}function mp(e,n,r){try{var u=e.onCaughtError;u(r.value,{componentStack:r.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function Ro(e,n,r){return r=Un(r),r.tag=3,r.payload={element:null},r.callback=function(){as(e,n)},r}function gp(e){return e=Un(e),e.tag=3,e}function bp(e,n,r,u){var c=r.type.getDerivedStateFromError;if(typeof c=="function"){var d=u.value;e.payload=function(){return c(d)},e.callback=function(){mp(n,r,u)}}var m=r.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(e.callback=function(){mp(n,r,u),typeof c!="function"&&(Pn===null?Pn=new Set([this]):Pn.add(this));var S=u.stack;this.componentDidCatch(u.value,{componentStack:S!==null?S:""})})}function Qb(e,n,r,u,c){if(r.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(n=r.alternate,n!==null&&or(n,r,c,!0),r=Gt.current,r!==null){switch(r.tag){case 13:return rn===null?tc():r.alternate===null&&Ye===0&&(Ye=3),r.flags&=-257,r.flags|=65536,r.lanes=c,u===ro?r.flags|=16384:(n=r.updateQueue,n===null?r.updateQueue=new Set([u]):n.add(u),ac(e,u,c)),!1;case 22:return r.flags|=65536,u===ro?r.flags|=16384:(n=r.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([u])},r.updateQueue=n):(r=n.retryQueue,r===null?n.retryQueue=new Set([u]):r.add(u)),ac(e,u,c)),!1}throw Error(l(435,r.tag))}return ac(e,u,c),tc(),!1}if(we)return n=Gt.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=c,u!==$u&&(e=Error(l(422),{cause:u}),ur(Vt(e,r)))):(u!==$u&&(n=Error(l(423),{cause:u}),ur(Vt(n,r))),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,u=Vt(u,r),c=Ro(e.stateNode,u,c),uo(e,c),Ye!==4&&(Ye=2)),!1;var d=Error(l(520),{cause:u});if(d=Vt(d,r),Cr===null?Cr=[d]:Cr.push(d),Ye!==4&&(Ye=2),n===null)return!0;u=Vt(u,r),r=n;do{switch(r.tag){case 3:return r.flags|=65536,e=c&-c,r.lanes|=e,e=Ro(r.stateNode,u,e),uo(r,e),!1;case 1:if(n=r.type,d=r.stateNode,(r.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(Pn===null||!Pn.has(d))))return r.flags|=65536,c&=-c,r.lanes|=c,c=gp(c),bp(c,e,r,u),uo(r,c),!1}r=r.return}while(r!==null);return!1}var Sp=Error(l(461)),it=!1;function ot(e,n,r,u){n.child=e===null?cp(n,null,r,u):ci(n,e.child,r,u)}function Ep(e,n,r,u,c){r=r.render;var d=n.ref;if("ref"in u){var m={};for(var S in u)S!=="ref"&&(m[S]=u[S])}else m=u;return Ta(n),u=po(e,n,r,m,d,c),S=vo(),e!==null&&!it?(yo(e,n,c),Tn(e,n,c)):(we&&S&&Zu(n),n.flags|=1,ot(e,n,u,c),n.child)}function Op(e,n,r,u,c){if(e===null){var d=r.type;return typeof d=="function"&&!Pu(d)&&d.defaultProps===void 0&&r.compare===null?(n.tag=15,n.type=d,Tp(e,n,d,u,c)):(e=jl(r.type,null,u,n,n.mode,c),e.ref=n.ref,e.return=n,n.child=e)}if(d=e.child,!Vo(e,c)){var m=d.memoizedProps;if(r=r.compare,r=r!==null?r:ir,r(m,u)&&e.ref===n.ref)return Tn(e,n,c)}return n.flags|=1,e=yn(d,u),e.ref=n.ref,e.return=n,n.child=e}function Tp(e,n,r,u,c){if(e!==null){var d=e.memoizedProps;if(ir(d,u)&&e.ref===n.ref)if(it=!1,n.pendingProps=u=d,Vo(e,c))(e.flags&131072)!==0&&(it=!0);else return n.lanes=e.lanes,Tn(e,n,c)}return Mo(e,n,r,u,c)}function _p(e,n,r){var u=n.pendingProps,c=u.children,d=e!==null?e.memoizedState:null;if(u.mode==="hidden"){if((n.flags&128)!==0){if(u=d!==null?d.baseLanes|r:r,e!==null){for(c=n.child=e.child,d=0;c!==null;)d=d|c.lanes|c.childLanes,c=c.sibling;n.childLanes=d&~u}else n.childLanes=0,n.child=null;return Np(e,n,u,r)}if((r&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},e!==null&&Fl(n,d!==null?d.cachePool:null),d!==null?Th(n,d):co(),fp(n);else return n.lanes=n.childLanes=536870912,Np(e,n,d!==null?d.baseLanes|r:r,r)}else d!==null?(Fl(n,d.cachePool),Th(n,d),Fn(),n.memoizedState=null):(e!==null&&Fl(n,null),co(),Fn());return ot(e,n,c,r),n.child}function Np(e,n,r,u){var c=io();return c=c===null?null:{parent:et._currentValue,pool:c},n.memoizedState={baseLanes:r,cachePool:c},e!==null&&Fl(n,null),co(),fp(n),e!==null&&or(e,n,u,!0),null}function is(e,n){var r=n.ref;if(r===null)e!==null&&e.ref!==null&&(n.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(l(284));(e===null||e.ref!==r)&&(n.flags|=4194816)}}function Mo(e,n,r,u,c){return Ta(n),r=po(e,n,r,u,void 0,c),u=vo(),e!==null&&!it?(yo(e,n,c),Tn(e,n,c)):(we&&u&&Zu(n),n.flags|=1,ot(e,n,r,c),n.child)}function xp(e,n,r,u,c,d){return Ta(n),n.updateQueue=null,r=Nh(n,u,r,c),_h(e),u=vo(),e!==null&&!it?(yo(e,n,d),Tn(e,n,d)):(we&&u&&Zu(n),n.flags|=1,ot(e,n,r,d),n.child)}function Ap(e,n,r,u,c){if(Ta(n),n.stateNode===null){var d=ei,m=r.contextType;typeof m=="object"&&m!==null&&(d=vt(m)),d=new r(u,d),n.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=wo,n.stateNode=d,d._reactInternals=n,d=n.stateNode,d.props=u,d.state=n.memoizedState,d.refs={},lo(n),m=r.contextType,d.context=typeof m=="object"&&m!==null?vt(m):ei,d.state=n.memoizedState,m=r.getDerivedStateFromProps,typeof m=="function"&&(Co(n,r,m,u),d.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(m=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),m!==d.state&&wo.enqueueReplaceState(d,d.state,null),yr(n,u,d,c),vr(),d.state=n.memoizedState),typeof d.componentDidMount=="function"&&(n.flags|=4194308),u=!0}else if(e===null){d=n.stateNode;var S=n.memoizedProps,_=xa(r,S);d.props=_;var z=d.context,Q=r.contextType;m=ei,typeof Q=="object"&&Q!==null&&(m=vt(Q));var H=r.getDerivedStateFromProps;Q=typeof H=="function"||typeof d.getSnapshotBeforeUpdate=="function",S=n.pendingProps!==S,Q||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(S||z!==m)&&hp(n,d,u,m),jn=!1;var q=n.memoizedState;d.state=q,yr(n,u,d,c),vr(),z=n.memoizedState,S||q!==z||jn?(typeof H=="function"&&(Co(n,r,H,u),z=n.memoizedState),(_=jn||dp(n,r,_,u,q,z,m))?(Q||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(n.flags|=4194308)):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=u,n.memoizedState=z),d.props=u,d.state=z,d.context=m,u=_):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),u=!1)}else{d=n.stateNode,so(e,n),m=n.memoizedProps,Q=xa(r,m),d.props=Q,H=n.pendingProps,q=d.context,z=r.contextType,_=ei,typeof z=="object"&&z!==null&&(_=vt(z)),S=r.getDerivedStateFromProps,(z=typeof S=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(m!==H||q!==_)&&hp(n,d,u,_),jn=!1,q=n.memoizedState,d.state=q,yr(n,u,d,c),vr();var V=n.memoizedState;m!==H||q!==V||jn||e!==null&&e.dependencies!==null&&Vl(e.dependencies)?(typeof S=="function"&&(Co(n,r,S,u),V=n.memoizedState),(Q=jn||dp(n,r,Q,u,q,V,_)||e!==null&&e.dependencies!==null&&Vl(e.dependencies))?(z||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(u,V,_),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(u,V,_)),typeof d.componentDidUpdate=="function"&&(n.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof d.componentDidUpdate!="function"||m===e.memoizedProps&&q===e.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&q===e.memoizedState||(n.flags|=1024),n.memoizedProps=u,n.memoizedState=V),d.props=u,d.state=V,d.context=_,u=Q):(typeof d.componentDidUpdate!="function"||m===e.memoizedProps&&q===e.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&q===e.memoizedState||(n.flags|=1024),u=!1)}return d=u,is(e,n),u=(n.flags&128)!==0,d||u?(d=n.stateNode,r=u&&typeof r.getDerivedStateFromError!="function"?null:d.render(),n.flags|=1,e!==null&&u?(n.child=ci(n,e.child,null,c),n.child=ci(n,null,r,c)):ot(e,n,r,c),n.memoizedState=d.state,e=n.child):e=Tn(e,n,c),e}function Dp(e,n,r,u){return sr(),n.flags|=256,ot(e,n,r,u),n.child}var ko={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Lo(e){return{baseLanes:e,cachePool:vh()}}function zo(e,n,r){return e=e!==null?e.childLanes&~r:0,n&&(e|=It),e}function Cp(e,n,r){var u=n.pendingProps,c=!1,d=(n.flags&128)!==0,m;if((m=d)||(m=e!==null&&e.memoizedState===null?!1:(tt.current&2)!==0),m&&(c=!0,n.flags&=-129),m=(n.flags&32)!==0,n.flags&=-33,e===null){if(we){if(c?Bn(n):Fn(),we){var S=He,_;if(_=S){e:{for(_=S,S=an;_.nodeType!==8;){if(!S){S=null;break e}if(_=$t(_.nextSibling),_===null){S=null;break e}}S=_}S!==null?(n.memoizedState={dehydrated:S,treeContext:ga!==null?{id:mn,overflow:gn}:null,retryLane:536870912,hydrationErrors:null},_=wt(18,null,null,0),_.stateNode=S,_.return=n,n.child=_,St=n,He=null,_=!0):_=!1}_||Ea(n)}if(S=n.memoizedState,S!==null&&(S=S.dehydrated,S!==null))return gc(S)?n.lanes=32:n.lanes=536870912,null;On(n)}return S=u.children,u=u.fallback,c?(Fn(),c=n.mode,S=rs({mode:"hidden",children:S},c),u=ma(u,c,r,null),S.return=n,u.return=n,S.sibling=u,n.child=S,c=n.child,c.memoizedState=Lo(r),c.childLanes=zo(e,m,r),n.memoizedState=ko,u):(Bn(n),jo(n,S))}if(_=e.memoizedState,_!==null&&(S=_.dehydrated,S!==null)){if(d)n.flags&256?(Bn(n),n.flags&=-257,n=Uo(e,n,r)):n.memoizedState!==null?(Fn(),n.child=e.child,n.flags|=128,n=null):(Fn(),c=u.fallback,S=n.mode,u=rs({mode:"visible",children:u.children},S),c=ma(c,S,r,null),c.flags|=2,u.return=n,c.return=n,u.sibling=c,n.child=u,ci(n,e.child,null,r),u=n.child,u.memoizedState=Lo(r),u.childLanes=zo(e,m,r),n.memoizedState=ko,n=c);else if(Bn(n),gc(S)){if(m=S.nextSibling&&S.nextSibling.dataset,m)var z=m.dgst;m=z,u=Error(l(419)),u.stack="",u.digest=m,ur({value:u,source:null,stack:null}),n=Uo(e,n,r)}else if(it||or(e,n,r,!1),m=(r&e.childLanes)!==0,it||m){if(m=Qe,m!==null&&(u=r&-r,u=(u&42)!==0?1:gu(u),u=(u&(m.suspendedLanes|r))!==0?0:u,u!==0&&u!==_.retryLane))throw _.retryLane=u,Wa(e,u),zt(m,e,u),Sp;S.data==="$?"||tc(),n=Uo(e,n,r)}else S.data==="$?"?(n.flags|=192,n.child=e.child,n=null):(e=_.treeContext,He=$t(S.nextSibling),St=n,we=!0,Sa=null,an=!1,e!==null&&(Ft[Qt++]=mn,Ft[Qt++]=gn,Ft[Qt++]=ga,mn=e.id,gn=e.overflow,ga=n),n=jo(n,u.children),n.flags|=4096);return n}return c?(Fn(),c=u.fallback,S=n.mode,_=e.child,z=_.sibling,u=yn(_,{mode:"hidden",children:u.children}),u.subtreeFlags=_.subtreeFlags&65011712,z!==null?c=yn(z,c):(c=ma(c,S,r,null),c.flags|=2),c.return=n,u.return=n,u.sibling=c,n.child=u,u=c,c=n.child,S=e.child.memoizedState,S===null?S=Lo(r):(_=S.cachePool,_!==null?(z=et._currentValue,_=_.parent!==z?{parent:z,pool:z}:_):_=vh(),S={baseLanes:S.baseLanes|r,cachePool:_}),c.memoizedState=S,c.childLanes=zo(e,m,r),n.memoizedState=ko,u):(Bn(n),r=e.child,e=r.sibling,r=yn(r,{mode:"visible",children:u.children}),r.return=n,r.sibling=null,e!==null&&(m=n.deletions,m===null?(n.deletions=[e],n.flags|=16):m.push(e)),n.child=r,n.memoizedState=null,r)}function jo(e,n){return n=rs({mode:"visible",children:n},e.mode),n.return=e,e.child=n}function rs(e,n){return e=wt(22,e,null,n),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Uo(e,n,r){return ci(n,e.child,null,r),e=jo(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function wp(e,n,r){e.lanes|=n;var u=e.alternate;u!==null&&(u.lanes|=n),eo(e.return,n,r)}function qo(e,n,r,u,c){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:u,tail:r,tailMode:c}:(d.isBackwards=n,d.rendering=null,d.renderingStartTime=0,d.last=u,d.tail=r,d.tailMode=c)}function Rp(e,n,r){var u=n.pendingProps,c=u.revealOrder,d=u.tail;if(ot(e,n,u.children,r),u=tt.current,(u&2)!==0)u=u&1|2,n.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&wp(e,r,n);else if(e.tag===19)wp(e,r,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}u&=1}switch(Z(tt,u),c){case"forwards":for(r=n.child,c=null;r!==null;)e=r.alternate,e!==null&&ts(e)===null&&(c=r),r=r.sibling;r=c,r===null?(c=n.child,n.child=null):(c=r.sibling,r.sibling=null),qo(n,!1,c,r,d);break;case"backwards":for(r=null,c=n.child,n.child=null;c!==null;){if(e=c.alternate,e!==null&&ts(e)===null){n.child=c;break}e=c.sibling,c.sibling=r,r=c,c=e}qo(n,!0,r,null,d);break;case"together":qo(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Tn(e,n,r){if(e!==null&&(n.dependencies=e.dependencies),Yn|=n.lanes,(r&n.childLanes)===0)if(e!==null){if(or(e,n,r,!1),(r&n.childLanes)===0)return null}else return null;if(e!==null&&n.child!==e.child)throw Error(l(153));if(n.child!==null){for(e=n.child,r=yn(e,e.pendingProps),n.child=r,r.return=n;e.sibling!==null;)e=e.sibling,r=r.sibling=yn(e,e.pendingProps),r.return=n;r.sibling=null}return n.child}function Vo(e,n){return(e.lanes&n)!==0?!0:(e=e.dependencies,!!(e!==null&&Vl(e)))}function Gb(e,n,r){switch(n.tag){case 3:Fe(n,n.stateNode.containerInfo),zn(n,et,e.memoizedState.cache),sr();break;case 27:case 5:Hi(n);break;case 4:Fe(n,n.stateNode.containerInfo);break;case 10:zn(n,n.type,n.memoizedProps.value);break;case 13:var u=n.memoizedState;if(u!==null)return u.dehydrated!==null?(Bn(n),n.flags|=128,null):(r&n.child.childLanes)!==0?Cp(e,n,r):(Bn(n),e=Tn(e,n,r),e!==null?e.sibling:null);Bn(n);break;case 19:var c=(e.flags&128)!==0;if(u=(r&n.childLanes)!==0,u||(or(e,n,r,!1),u=(r&n.childLanes)!==0),c){if(u)return Rp(e,n,r);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Z(tt,tt.current),u)break;return null;case 22:case 23:return n.lanes=0,_p(e,n,r);case 24:zn(n,et,e.memoizedState.cache)}return Tn(e,n,r)}function Mp(e,n,r){if(e!==null)if(e.memoizedProps!==n.pendingProps)it=!0;else{if(!Vo(e,r)&&(n.flags&128)===0)return it=!1,Gb(e,n,r);it=(e.flags&131072)!==0}else it=!1,we&&(n.flags&1048576)!==0&&uh(n,ql,n.index);switch(n.lanes=0,n.tag){case 16:e:{e=n.pendingProps;var u=n.elementType,c=u._init;if(u=c(u._payload),n.type=u,typeof u=="function")Pu(u)?(e=xa(u,e),n.tag=1,n=Ap(null,n,u,e,r)):(n.tag=0,n=Mo(null,n,u,e,r));else{if(u!=null){if(c=u.$$typeof,c===j){n.tag=11,n=Ep(null,n,u,e,r);break e}else if(c===B){n.tag=14,n=Op(null,n,u,e,r);break e}}throw n=$(u)||u,Error(l(306,n,""))}}return n;case 0:return Mo(e,n,n.type,n.pendingProps,r);case 1:return u=n.type,c=xa(u,n.pendingProps),Ap(e,n,u,c,r);case 3:e:{if(Fe(n,n.stateNode.containerInfo),e===null)throw Error(l(387));u=n.pendingProps;var d=n.memoizedState;c=d.element,so(e,n),yr(n,u,null,r);var m=n.memoizedState;if(u=m.cache,zn(n,et,u),u!==d.cache&&to(n,[et],r,!0),vr(),u=m.element,d.isDehydrated)if(d={element:u,isDehydrated:!1,cache:m.cache},n.updateQueue.baseState=d,n.memoizedState=d,n.flags&256){n=Dp(e,n,u,r);break e}else if(u!==c){c=Vt(Error(l(424)),n),ur(c),n=Dp(e,n,u,r);break e}else{switch(e=n.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(He=$t(e.firstChild),St=n,we=!0,Sa=null,an=!0,r=cp(n,null,u,r),n.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling}else{if(sr(),u===c){n=Tn(e,n,r);break e}ot(e,n,u,r)}n=n.child}return n;case 26:return is(e,n),e===null?(r=jv(n.type,null,n.pendingProps,null))?n.memoizedState=r:we||(r=n.type,e=n.pendingProps,u=bs(ve.current).createElement(r),u[pt]=n,u[Ot]=e,ft(u,r,e),at(u),n.stateNode=u):n.memoizedState=jv(n.type,e.memoizedProps,n.pendingProps,e.memoizedState),null;case 27:return Hi(n),e===null&&we&&(u=n.stateNode=kv(n.type,n.pendingProps,ve.current),St=n,an=!0,c=He,Zn(n.type)?(bc=c,He=$t(u.firstChild)):He=c),ot(e,n,n.pendingProps.children,r),is(e,n),e===null&&(n.flags|=4194304),n.child;case 5:return e===null&&we&&((c=u=He)&&(u=mS(u,n.type,n.pendingProps,an),u!==null?(n.stateNode=u,St=n,He=$t(u.firstChild),an=!1,c=!0):c=!1),c||Ea(n)),Hi(n),c=n.type,d=n.pendingProps,m=e!==null?e.memoizedProps:null,u=d.children,vc(c,d)?u=null:m!==null&&vc(c,m)&&(n.flags|=32),n.memoizedState!==null&&(c=po(e,n,zb,null,null,r),qr._currentValue=c),is(e,n),ot(e,n,u,r),n.child;case 6:return e===null&&we&&((e=r=He)&&(r=gS(r,n.pendingProps,an),r!==null?(n.stateNode=r,St=n,He=null,e=!0):e=!1),e||Ea(n)),null;case 13:return Cp(e,n,r);case 4:return Fe(n,n.stateNode.containerInfo),u=n.pendingProps,e===null?n.child=ci(n,null,u,r):ot(e,n,u,r),n.child;case 11:return Ep(e,n,n.type,n.pendingProps,r);case 7:return ot(e,n,n.pendingProps,r),n.child;case 8:return ot(e,n,n.pendingProps.children,r),n.child;case 12:return ot(e,n,n.pendingProps.children,r),n.child;case 10:return u=n.pendingProps,zn(n,n.type,u.value),ot(e,n,u.children,r),n.child;case 9:return c=n.type._context,u=n.pendingProps.children,Ta(n),c=vt(c),u=u(c),n.flags|=1,ot(e,n,u,r),n.child;case 14:return Op(e,n,n.type,n.pendingProps,r);case 15:return Tp(e,n,n.type,n.pendingProps,r);case 19:return Rp(e,n,r);case 31:return u=n.pendingProps,r=n.mode,u={mode:u.mode,children:u.children},e===null?(r=rs(u,r),r.ref=n.ref,n.child=r,r.return=n,n=r):(r=yn(e.child,u),r.ref=n.ref,n.child=r,r.return=n,n=r),n;case 22:return _p(e,n,r);case 24:return Ta(n),u=vt(et),e===null?(c=io(),c===null&&(c=Qe,d=no(),c.pooledCache=d,d.refCount++,d!==null&&(c.pooledCacheLanes|=r),c=d),n.memoizedState={parent:u,cache:c},lo(n),zn(n,et,c)):((e.lanes&r)!==0&&(so(e,n),yr(n,null,null,r),vr()),c=e.memoizedState,d=n.memoizedState,c.parent!==u?(c={parent:u,cache:u},n.memoizedState=c,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=c),zn(n,et,u)):(u=d.cache,zn(n,et,u),u!==c.cache&&to(n,[et],r,!0))),ot(e,n,n.pendingProps.children,r),n.child;case 29:throw n.pendingProps}throw Error(l(156,n.tag))}function _n(e){e.flags|=4}function kp(e,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Fv(n)){if(n=Gt.current,n!==null&&((De&4194048)===De?rn!==null:(De&62914560)!==De&&(De&536870912)===0||n!==rn))throw hr=ro,yh;e.flags|=8192}}function ls(e,n){n!==null&&(e.flags|=4),e.flags&16384&&(n=e.tag!==22?fd():536870912,e.lanes|=n,pi|=n)}function Tr(e,n){if(!we)switch(e.tailMode){case"hidden":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var u=null;r!==null;)r.alternate!==null&&(u=r),r=r.sibling;u===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function Ie(e){var n=e.alternate!==null&&e.alternate.child===e.child,r=0,u=0;if(n)for(var c=e.child;c!==null;)r|=c.lanes|c.childLanes,u|=c.subtreeFlags&65011712,u|=c.flags&65011712,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)r|=c.lanes|c.childLanes,u|=c.subtreeFlags,u|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=u,e.childLanes=r,n}function Ib(e,n,r){var u=n.pendingProps;switch(Ju(n),n.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ie(n),null;case 1:return Ie(n),null;case 3:return r=n.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),n.memoizedState.cache!==u&&(n.flags|=2048),Sn(et),nn(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(lr(n)?_n(n):e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,fh())),Ie(n),null;case 26:return r=n.memoizedState,e===null?(_n(n),r!==null?(Ie(n),kp(n,r)):(Ie(n),n.flags&=-16777217)):r?r!==e.memoizedState?(_n(n),Ie(n),kp(n,r)):(Ie(n),n.flags&=-16777217):(e.memoizedProps!==u&&_n(n),Ie(n),n.flags&=-16777217),null;case 27:Ee(n),r=ve.current;var c=n.type;if(e!==null&&n.stateNode!=null)e.memoizedProps!==u&&_n(n);else{if(!u){if(n.stateNode===null)throw Error(l(166));return Ie(n),null}e=le.current,lr(n)?oh(n):(e=kv(c,u,r),n.stateNode=e,_n(n))}return Ie(n),null;case 5:if(Ee(n),r=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==u&&_n(n);else{if(!u){if(n.stateNode===null)throw Error(l(166));return Ie(n),null}if(e=le.current,lr(n))oh(n);else{switch(c=bs(ve.current),e){case 1:e=c.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:e=c.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":e=c.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":e=c.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":e=c.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof u.is=="string"?c.createElement("select",{is:u.is}):c.createElement("select"),u.multiple?e.multiple=!0:u.size&&(e.size=u.size);break;default:e=typeof u.is=="string"?c.createElement(r,{is:u.is}):c.createElement(r)}}e[pt]=n,e[Ot]=u;e:for(c=n.child;c!==null;){if(c.tag===5||c.tag===6)e.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===n)break e;for(;c.sibling===null;){if(c.return===null||c.return===n)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}n.stateNode=e;e:switch(ft(e,r,u),r){case"button":case"input":case"select":case"textarea":e=!!u.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&_n(n)}}return Ie(n),n.flags&=-16777217,null;case 6:if(e&&n.stateNode!=null)e.memoizedProps!==u&&_n(n);else{if(typeof u!="string"&&n.stateNode===null)throw Error(l(166));if(e=ve.current,lr(n)){if(e=n.stateNode,r=n.memoizedProps,u=null,c=St,c!==null)switch(c.tag){case 27:case 5:u=c.memoizedProps}e[pt]=n,e=!!(e.nodeValue===r||u!==null&&u.suppressHydrationWarning===!0||xv(e.nodeValue,r)),e||Ea(n)}else e=bs(e).createTextNode(u),e[pt]=n,n.stateNode=e}return Ie(n),null;case 13:if(u=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=lr(n),u!==null&&u.dehydrated!==null){if(e===null){if(!c)throw Error(l(318));if(c=n.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(l(317));c[pt]=n}else sr(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ie(n),c=!1}else c=fh(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return n.flags&256?(On(n),n):(On(n),null)}if(On(n),(n.flags&128)!==0)return n.lanes=r,n;if(r=u!==null,e=e!==null&&e.memoizedState!==null,r){u=n.child,c=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(c=u.alternate.memoizedState.cachePool.pool);var d=null;u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(d=u.memoizedState.cachePool.pool),d!==c&&(u.flags|=2048)}return r!==e&&r&&(n.child.flags|=8192),ls(n,n.updateQueue),Ie(n),null;case 4:return nn(),e===null&&cc(n.stateNode.containerInfo),Ie(n),null;case 10:return Sn(n.type),Ie(n),null;case 19:if(K(tt),c=n.memoizedState,c===null)return Ie(n),null;if(u=(n.flags&128)!==0,d=c.rendering,d===null)if(u)Tr(c,!1);else{if(Ye!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(d=ts(e),d!==null){for(n.flags|=128,Tr(c,!1),e=d.updateQueue,n.updateQueue=e,ls(n,e),n.subtreeFlags=0,e=r,r=n.child;r!==null;)sh(r,e),r=r.sibling;return Z(tt,tt.current&1|2),n.child}e=e.sibling}c.tail!==null&&jt()>os&&(n.flags|=128,u=!0,Tr(c,!1),n.lanes=4194304)}else{if(!u)if(e=ts(d),e!==null){if(n.flags|=128,u=!0,e=e.updateQueue,n.updateQueue=e,ls(n,e),Tr(c,!0),c.tail===null&&c.tailMode==="hidden"&&!d.alternate&&!we)return Ie(n),null}else 2*jt()-c.renderingStartTime>os&&r!==536870912&&(n.flags|=128,u=!0,Tr(c,!1),n.lanes=4194304);c.isBackwards?(d.sibling=n.child,n.child=d):(e=c.last,e!==null?e.sibling=d:n.child=d,c.last=d)}return c.tail!==null?(n=c.tail,c.rendering=n,c.tail=n.sibling,c.renderingStartTime=jt(),n.sibling=null,e=tt.current,Z(tt,u?e&1|2:e&1),n):(Ie(n),null);case 22:case 23:return On(n),fo(),u=n.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(n.flags|=8192):u&&(n.flags|=8192),u?(r&536870912)!==0&&(n.flags&128)===0&&(Ie(n),n.subtreeFlags&6&&(n.flags|=8192)):Ie(n),r=n.updateQueue,r!==null&&ls(n,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),u=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(u=n.memoizedState.cachePool.pool),u!==r&&(n.flags|=2048),e!==null&&K(_a),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),n.memoizedState.cache!==r&&(n.flags|=2048),Sn(et),Ie(n),null;case 25:return null;case 30:return null}throw Error(l(156,n.tag))}function Hb(e,n){switch(Ju(n),n.tag){case 1:return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return Sn(et),nn(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 26:case 27:case 5:return Ee(n),null;case 13:if(On(n),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(l(340));sr()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return K(tt),null;case 4:return nn(),null;case 10:return Sn(n.type),null;case 22:case 23:return On(n),fo(),e!==null&&K(_a),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 24:return Sn(et),null;case 25:return null;default:return null}}function Lp(e,n){switch(Ju(n),n.tag){case 3:Sn(et),nn();break;case 26:case 27:case 5:Ee(n);break;case 4:nn();break;case 13:On(n);break;case 19:K(tt);break;case 10:Sn(n.type);break;case 22:case 23:On(n),fo(),e!==null&&K(_a);break;case 24:Sn(et)}}function _r(e,n){try{var r=n.updateQueue,u=r!==null?r.lastEffect:null;if(u!==null){var c=u.next;r=c;do{if((r.tag&e)===e){u=void 0;var d=r.create,m=r.inst;u=d(),m.destroy=u}r=r.next}while(r!==c)}}catch(S){qe(n,n.return,S)}}function Qn(e,n,r){try{var u=n.updateQueue,c=u!==null?u.lastEffect:null;if(c!==null){var d=c.next;u=d;do{if((u.tag&e)===e){var m=u.inst,S=m.destroy;if(S!==void 0){m.destroy=void 0,c=n;var _=r,z=S;try{z()}catch(Q){qe(c,_,Q)}}}u=u.next}while(u!==d)}}catch(Q){qe(n,n.return,Q)}}function zp(e){var n=e.updateQueue;if(n!==null){var r=e.stateNode;try{Oh(n,r)}catch(u){qe(e,e.return,u)}}}function jp(e,n,r){r.props=xa(e.type,e.memoizedProps),r.state=e.memoizedState;try{r.componentWillUnmount()}catch(u){qe(e,n,u)}}function Nr(e,n){try{var r=e.ref;if(r!==null){switch(e.tag){case 26:case 27:case 5:var u=e.stateNode;break;case 30:u=e.stateNode;break;default:u=e.stateNode}typeof r=="function"?e.refCleanup=r(u):r.current=u}}catch(c){qe(e,n,c)}}function ln(e,n){var r=e.ref,u=e.refCleanup;if(r!==null)if(typeof u=="function")try{u()}catch(c){qe(e,n,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(c){qe(e,n,c)}else r.current=null}function Up(e){var n=e.type,r=e.memoizedProps,u=e.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":r.autoFocus&&u.focus();break e;case"img":r.src?u.src=r.src:r.srcSet&&(u.srcset=r.srcSet)}}catch(c){qe(e,e.return,c)}}function Bo(e,n,r){try{var u=e.stateNode;dS(u,e.type,r,n),u[Ot]=n}catch(c){qe(e,e.return,c)}}function qp(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Zn(e.type)||e.tag===4}function Fo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||qp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Zn(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Qo(e,n,r){var u=e.tag;if(u===5||u===6)e=e.stateNode,n?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,n):(n=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,n.appendChild(e),r=r._reactRootContainer,r!=null||n.onclick!==null||(n.onclick=gs));else if(u!==4&&(u===27&&Zn(e.type)&&(r=e.stateNode,n=null),e=e.child,e!==null))for(Qo(e,n,r),e=e.sibling;e!==null;)Qo(e,n,r),e=e.sibling}function ss(e,n,r){var u=e.tag;if(u===5||u===6)e=e.stateNode,n?r.insertBefore(e,n):r.appendChild(e);else if(u!==4&&(u===27&&Zn(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(ss(e,n,r),e=e.sibling;e!==null;)ss(e,n,r),e=e.sibling}function Vp(e){var n=e.stateNode,r=e.memoizedProps;try{for(var u=e.type,c=n.attributes;c.length;)n.removeAttributeNode(c[0]);ft(n,u,r),n[pt]=e,n[Ot]=r}catch(d){qe(e,e.return,d)}}var Nn=!1,Ze=!1,Go=!1,Bp=typeof WeakSet=="function"?WeakSet:Set,rt=null;function Yb(e,n){if(e=e.containerInfo,hc=Ns,e=Jd(e),Bu(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var u=r.getSelection&&r.getSelection();if(u&&u.rangeCount!==0){r=u.anchorNode;var c=u.anchorOffset,d=u.focusNode;u=u.focusOffset;try{r.nodeType,d.nodeType}catch{r=null;break e}var m=0,S=-1,_=-1,z=0,Q=0,H=e,q=null;t:for(;;){for(var V;H!==r||c!==0&&H.nodeType!==3||(S=m+c),H!==d||u!==0&&H.nodeType!==3||(_=m+u),H.nodeType===3&&(m+=H.nodeValue.length),(V=H.firstChild)!==null;)q=H,H=V;for(;;){if(H===e)break t;if(q===r&&++z===c&&(S=m),q===d&&++Q===u&&(_=m),(V=H.nextSibling)!==null)break;H=q,q=H.parentNode}H=V}r=S===-1||_===-1?null:{start:S,end:_}}else r=null}r=r||{start:0,end:0}}else r=null;for(pc={focusedElem:e,selectionRange:r},Ns=!1,rt=n;rt!==null;)if(n=rt,e=n.child,(n.subtreeFlags&1024)!==0&&e!==null)e.return=n,rt=e;else for(;rt!==null;){switch(n=rt,d=n.alternate,e=n.flags,n.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&d!==null){e=void 0,r=n,c=d.memoizedProps,d=d.memoizedState,u=r.stateNode;try{var he=xa(r.type,c,r.elementType===r.type);e=u.getSnapshotBeforeUpdate(he,d),u.__reactInternalSnapshotBeforeUpdate=e}catch(ce){qe(r,r.return,ce)}}break;case 3:if((e&1024)!==0){if(e=n.stateNode.containerInfo,r=e.nodeType,r===9)mc(e);else if(r===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":mc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(l(163))}if(e=n.sibling,e!==null){e.return=n.return,rt=e;break}rt=n.return}}function Fp(e,n,r){var u=r.flags;switch(r.tag){case 0:case 11:case 15:Gn(e,r),u&4&&_r(5,r);break;case 1:if(Gn(e,r),u&4)if(e=r.stateNode,n===null)try{e.componentDidMount()}catch(m){qe(r,r.return,m)}else{var c=xa(r.type,n.memoizedProps);n=n.memoizedState;try{e.componentDidUpdate(c,n,e.__reactInternalSnapshotBeforeUpdate)}catch(m){qe(r,r.return,m)}}u&64&&zp(r),u&512&&Nr(r,r.return);break;case 3:if(Gn(e,r),u&64&&(e=r.updateQueue,e!==null)){if(n=null,r.child!==null)switch(r.child.tag){case 27:case 5:n=r.child.stateNode;break;case 1:n=r.child.stateNode}try{Oh(e,n)}catch(m){qe(r,r.return,m)}}break;case 27:n===null&&u&4&&Vp(r);case 26:case 5:Gn(e,r),n===null&&u&4&&Up(r),u&512&&Nr(r,r.return);break;case 12:Gn(e,r);break;case 13:Gn(e,r),u&4&&Ip(e,r),u&64&&(e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(r=tS.bind(null,r),bS(e,r))));break;case 22:if(u=r.memoizedState!==null||Nn,!u){n=n!==null&&n.memoizedState!==null||Ze,c=Nn;var d=Ze;Nn=u,(Ze=n)&&!d?In(e,r,(r.subtreeFlags&8772)!==0):Gn(e,r),Nn=c,Ze=d}break;case 30:break;default:Gn(e,r)}}function Qp(e){var n=e.alternate;n!==null&&(e.alternate=null,Qp(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&Eu(n)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ge=null,Nt=!1;function xn(e,n,r){for(r=r.child;r!==null;)Gp(e,n,r),r=r.sibling}function Gp(e,n,r){if(At&&typeof At.onCommitFiberUnmount=="function")try{At.onCommitFiberUnmount(Yi,r)}catch{}switch(r.tag){case 26:Ze||ln(r,n),xn(e,n,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:Ze||ln(r,n);var u=Ge,c=Nt;Zn(r.type)&&(Ge=r.stateNode,Nt=!1),xn(e,n,r),Lr(r.stateNode),Ge=u,Nt=c;break;case 5:Ze||ln(r,n);case 6:if(u=Ge,c=Nt,Ge=null,xn(e,n,r),Ge=u,Nt=c,Ge!==null)if(Nt)try{(Ge.nodeType===9?Ge.body:Ge.nodeName==="HTML"?Ge.ownerDocument.body:Ge).removeChild(r.stateNode)}catch(d){qe(r,n,d)}else try{Ge.removeChild(r.stateNode)}catch(d){qe(r,n,d)}break;case 18:Ge!==null&&(Nt?(e=Ge,Rv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,r.stateNode),Qr(e)):Rv(Ge,r.stateNode));break;case 4:u=Ge,c=Nt,Ge=r.stateNode.containerInfo,Nt=!0,xn(e,n,r),Ge=u,Nt=c;break;case 0:case 11:case 14:case 15:Ze||Qn(2,r,n),Ze||Qn(4,r,n),xn(e,n,r);break;case 1:Ze||(ln(r,n),u=r.stateNode,typeof u.componentWillUnmount=="function"&&jp(r,n,u)),xn(e,n,r);break;case 21:xn(e,n,r);break;case 22:Ze=(u=Ze)||r.memoizedState!==null,xn(e,n,r),Ze=u;break;default:xn(e,n,r)}}function Ip(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Qr(e)}catch(r){qe(n,n.return,r)}}function Pb(e){switch(e.tag){case 13:case 19:var n=e.stateNode;return n===null&&(n=e.stateNode=new Bp),n;case 22:return e=e.stateNode,n=e._retryCache,n===null&&(n=e._retryCache=new Bp),n;default:throw Error(l(435,e.tag))}}function Io(e,n){var r=Pb(e);n.forEach(function(u){var c=nS.bind(null,e,u);r.has(u)||(r.add(u),u.then(c,c))})}function Rt(e,n){var r=n.deletions;if(r!==null)for(var u=0;u<r.length;u++){var c=r[u],d=e,m=n,S=m;e:for(;S!==null;){switch(S.tag){case 27:if(Zn(S.type)){Ge=S.stateNode,Nt=!1;break e}break;case 5:Ge=S.stateNode,Nt=!1;break e;case 3:case 4:Ge=S.stateNode.containerInfo,Nt=!0;break e}S=S.return}if(Ge===null)throw Error(l(160));Gp(d,m,c),Ge=null,Nt=!1,d=c.alternate,d!==null&&(d.return=null),c.return=null}if(n.subtreeFlags&13878)for(n=n.child;n!==null;)Hp(n,e),n=n.sibling}var Jt=null;function Hp(e,n){var r=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Rt(n,e),Mt(e),u&4&&(Qn(3,e,e.return),_r(3,e),Qn(5,e,e.return));break;case 1:Rt(n,e),Mt(e),u&512&&(Ze||r===null||ln(r,r.return)),u&64&&Nn&&(e=e.updateQueue,e!==null&&(u=e.callbacks,u!==null&&(r=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=r===null?u:r.concat(u))));break;case 26:var c=Jt;if(Rt(n,e),Mt(e),u&512&&(Ze||r===null||ln(r,r.return)),u&4){var d=r!==null?r.memoizedState:null;if(u=e.memoizedState,r===null)if(u===null)if(e.stateNode===null){e:{u=e.type,r=e.memoizedProps,c=c.ownerDocument||c;t:switch(u){case"title":d=c.getElementsByTagName("title")[0],(!d||d[Ki]||d[pt]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=c.createElement(u),c.head.insertBefore(d,c.querySelector("head > title"))),ft(d,u,r),d[pt]=e,at(d),u=d;break e;case"link":var m=Vv("link","href",c).get(u+(r.href||""));if(m){for(var S=0;S<m.length;S++)if(d=m[S],d.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&d.getAttribute("rel")===(r.rel==null?null:r.rel)&&d.getAttribute("title")===(r.title==null?null:r.title)&&d.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){m.splice(S,1);break t}}d=c.createElement(u),ft(d,u,r),c.head.appendChild(d);break;case"meta":if(m=Vv("meta","content",c).get(u+(r.content||""))){for(S=0;S<m.length;S++)if(d=m[S],d.getAttribute("content")===(r.content==null?null:""+r.content)&&d.getAttribute("name")===(r.name==null?null:r.name)&&d.getAttribute("property")===(r.property==null?null:r.property)&&d.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&d.getAttribute("charset")===(r.charSet==null?null:r.charSet)){m.splice(S,1);break t}}d=c.createElement(u),ft(d,u,r),c.head.appendChild(d);break;default:throw Error(l(468,u))}d[pt]=e,at(d),u=d}e.stateNode=u}else Bv(c,e.type,e.stateNode);else e.stateNode=qv(c,u,e.memoizedProps);else d!==u?(d===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):d.count--,u===null?Bv(c,e.type,e.stateNode):qv(c,u,e.memoizedProps)):u===null&&e.stateNode!==null&&Bo(e,e.memoizedProps,r.memoizedProps)}break;case 27:Rt(n,e),Mt(e),u&512&&(Ze||r===null||ln(r,r.return)),r!==null&&u&4&&Bo(e,e.memoizedProps,r.memoizedProps);break;case 5:if(Rt(n,e),Mt(e),u&512&&(Ze||r===null||ln(r,r.return)),e.flags&32){c=e.stateNode;try{Ya(c,"")}catch(V){qe(e,e.return,V)}}u&4&&e.stateNode!=null&&(c=e.memoizedProps,Bo(e,c,r!==null?r.memoizedProps:c)),u&1024&&(Go=!0);break;case 6:if(Rt(n,e),Mt(e),u&4){if(e.stateNode===null)throw Error(l(162));u=e.memoizedProps,r=e.stateNode;try{r.nodeValue=u}catch(V){qe(e,e.return,V)}}break;case 3:if(Os=null,c=Jt,Jt=Ss(n.containerInfo),Rt(n,e),Jt=c,Mt(e),u&4&&r!==null&&r.memoizedState.isDehydrated)try{Qr(n.containerInfo)}catch(V){qe(e,e.return,V)}Go&&(Go=!1,Yp(e));break;case 4:u=Jt,Jt=Ss(e.stateNode.containerInfo),Rt(n,e),Mt(e),Jt=u;break;case 12:Rt(n,e),Mt(e);break;case 13:Rt(n,e),Mt(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(Zo=jt()),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Io(e,u)));break;case 22:c=e.memoizedState!==null;var _=r!==null&&r.memoizedState!==null,z=Nn,Q=Ze;if(Nn=z||c,Ze=Q||_,Rt(n,e),Ze=Q,Nn=z,Mt(e),u&8192)e:for(n=e.stateNode,n._visibility=c?n._visibility&-2:n._visibility|1,c&&(r===null||_||Nn||Ze||Aa(e)),r=null,n=e;;){if(n.tag===5||n.tag===26){if(r===null){_=r=n;try{if(d=_.stateNode,c)m=d.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none";else{S=_.stateNode;var H=_.memoizedProps.style,q=H!=null&&H.hasOwnProperty("display")?H.display:null;S.style.display=q==null||typeof q=="boolean"?"":(""+q).trim()}}catch(V){qe(_,_.return,V)}}}else if(n.tag===6){if(r===null){_=n;try{_.stateNode.nodeValue=c?"":_.memoizedProps}catch(V){qe(_,_.return,V)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===e)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break e;for(;n.sibling===null;){if(n.return===null||n.return===e)break e;r===n&&(r=null),n=n.return}r===n&&(r=null),n.sibling.return=n.return,n=n.sibling}u&4&&(u=e.updateQueue,u!==null&&(r=u.retryQueue,r!==null&&(u.retryQueue=null,Io(e,r))));break;case 19:Rt(n,e),Mt(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Io(e,u)));break;case 30:break;case 21:break;default:Rt(n,e),Mt(e)}}function Mt(e){var n=e.flags;if(n&2){try{for(var r,u=e.return;u!==null;){if(qp(u)){r=u;break}u=u.return}if(r==null)throw Error(l(160));switch(r.tag){case 27:var c=r.stateNode,d=Fo(e);ss(e,d,c);break;case 5:var m=r.stateNode;r.flags&32&&(Ya(m,""),r.flags&=-33);var S=Fo(e);ss(e,S,m);break;case 3:case 4:var _=r.stateNode.containerInfo,z=Fo(e);Qo(e,z,_);break;default:throw Error(l(161))}}catch(Q){qe(e,e.return,Q)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function Yp(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var n=e;Yp(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),e=e.sibling}}function Gn(e,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)Fp(e,n.alternate,n),n=n.sibling}function Aa(e){for(e=e.child;e!==null;){var n=e;switch(n.tag){case 0:case 11:case 14:case 15:Qn(4,n,n.return),Aa(n);break;case 1:ln(n,n.return);var r=n.stateNode;typeof r.componentWillUnmount=="function"&&jp(n,n.return,r),Aa(n);break;case 27:Lr(n.stateNode);case 26:case 5:ln(n,n.return),Aa(n);break;case 22:n.memoizedState===null&&Aa(n);break;case 30:Aa(n);break;default:Aa(n)}e=e.sibling}}function In(e,n,r){for(r=r&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var u=n.alternate,c=e,d=n,m=d.flags;switch(d.tag){case 0:case 11:case 15:In(c,d,r),_r(4,d);break;case 1:if(In(c,d,r),u=d,c=u.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(z){qe(u,u.return,z)}if(u=d,c=u.updateQueue,c!==null){var S=u.stateNode;try{var _=c.shared.hiddenCallbacks;if(_!==null)for(c.shared.hiddenCallbacks=null,c=0;c<_.length;c++)Eh(_[c],S)}catch(z){qe(u,u.return,z)}}r&&m&64&&zp(d),Nr(d,d.return);break;case 27:Vp(d);case 26:case 5:In(c,d,r),r&&u===null&&m&4&&Up(d),Nr(d,d.return);break;case 12:In(c,d,r);break;case 13:In(c,d,r),r&&m&4&&Ip(c,d);break;case 22:d.memoizedState===null&&In(c,d,r),Nr(d,d.return);break;case 30:break;default:In(c,d,r)}n=n.sibling}}function Ho(e,n){var r=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),e=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(e=n.memoizedState.cachePool.pool),e!==r&&(e!=null&&e.refCount++,r!=null&&cr(r))}function Yo(e,n){e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&cr(e))}function sn(e,n,r,u){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Pp(e,n,r,u),n=n.sibling}function Pp(e,n,r,u){var c=n.flags;switch(n.tag){case 0:case 11:case 15:sn(e,n,r,u),c&2048&&_r(9,n);break;case 1:sn(e,n,r,u);break;case 3:sn(e,n,r,u),c&2048&&(e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&cr(e)));break;case 12:if(c&2048){sn(e,n,r,u),e=n.stateNode;try{var d=n.memoizedProps,m=d.id,S=d.onPostCommit;typeof S=="function"&&S(m,n.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(_){qe(n,n.return,_)}}else sn(e,n,r,u);break;case 13:sn(e,n,r,u);break;case 23:break;case 22:d=n.stateNode,m=n.alternate,n.memoizedState!==null?d._visibility&2?sn(e,n,r,u):xr(e,n):d._visibility&2?sn(e,n,r,u):(d._visibility|=2,fi(e,n,r,u,(n.subtreeFlags&10256)!==0)),c&2048&&Ho(m,n);break;case 24:sn(e,n,r,u),c&2048&&Yo(n.alternate,n);break;default:sn(e,n,r,u)}}function fi(e,n,r,u,c){for(c=c&&(n.subtreeFlags&10256)!==0,n=n.child;n!==null;){var d=e,m=n,S=r,_=u,z=m.flags;switch(m.tag){case 0:case 11:case 15:fi(d,m,S,_,c),_r(8,m);break;case 23:break;case 22:var Q=m.stateNode;m.memoizedState!==null?Q._visibility&2?fi(d,m,S,_,c):xr(d,m):(Q._visibility|=2,fi(d,m,S,_,c)),c&&z&2048&&Ho(m.alternate,m);break;case 24:fi(d,m,S,_,c),c&&z&2048&&Yo(m.alternate,m);break;default:fi(d,m,S,_,c)}n=n.sibling}}function xr(e,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var r=e,u=n,c=u.flags;switch(u.tag){case 22:xr(r,u),c&2048&&Ho(u.alternate,u);break;case 24:xr(r,u),c&2048&&Yo(u.alternate,u);break;default:xr(r,u)}n=n.sibling}}var Ar=8192;function di(e){if(e.subtreeFlags&Ar)for(e=e.child;e!==null;)Xp(e),e=e.sibling}function Xp(e){switch(e.tag){case 26:di(e),e.flags&Ar&&e.memoizedState!==null&&MS(Jt,e.memoizedState,e.memoizedProps);break;case 5:di(e);break;case 3:case 4:var n=Jt;Jt=Ss(e.stateNode.containerInfo),di(e),Jt=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=Ar,Ar=16777216,di(e),Ar=n):di(e));break;default:di(e)}}function Kp(e){var n=e.alternate;if(n!==null&&(e=n.child,e!==null)){n.child=null;do n=e.sibling,e.sibling=null,e=n;while(e!==null)}}function Dr(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var r=0;r<n.length;r++){var u=n[r];rt=u,Jp(u,e)}Kp(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Zp(e),e=e.sibling}function Zp(e){switch(e.tag){case 0:case 11:case 15:Dr(e),e.flags&2048&&Qn(9,e,e.return);break;case 3:Dr(e);break;case 12:Dr(e);break;case 22:var n=e.stateNode;e.memoizedState!==null&&n._visibility&2&&(e.return===null||e.return.tag!==13)?(n._visibility&=-3,us(e)):Dr(e);break;default:Dr(e)}}function us(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var r=0;r<n.length;r++){var u=n[r];rt=u,Jp(u,e)}Kp(e)}for(e=e.child;e!==null;){switch(n=e,n.tag){case 0:case 11:case 15:Qn(8,n,n.return),us(n);break;case 22:r=n.stateNode,r._visibility&2&&(r._visibility&=-3,us(n));break;default:us(n)}e=e.sibling}}function Jp(e,n){for(;rt!==null;){var r=rt;switch(r.tag){case 0:case 11:case 15:Qn(8,r,n);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var u=r.memoizedState.cachePool.pool;u!=null&&u.refCount++}break;case 24:cr(r.memoizedState.cache)}if(u=r.child,u!==null)u.return=r,rt=u;else e:for(r=e;rt!==null;){u=rt;var c=u.sibling,d=u.return;if(Qp(u),u===r){rt=null;break e}if(c!==null){c.return=d,rt=c;break e}rt=d}}}var Xb={getCacheForType:function(e){var n=vt(et),r=n.data.get(e);return r===void 0&&(r=e(),n.data.set(e,r)),r}},Kb=typeof WeakMap=="function"?WeakMap:Map,ke=0,Qe=null,Oe=null,De=0,Le=0,kt=null,Hn=!1,hi=!1,Po=!1,An=0,Ye=0,Yn=0,Da=0,Xo=0,It=0,pi=0,Cr=null,xt=null,Ko=!1,Zo=0,os=1/0,cs=null,Pn=null,ct=0,Xn=null,vi=null,yi=0,Jo=0,$o=null,$p=null,wr=0,Wo=null;function Lt(){if((ke&2)!==0&&De!==0)return De&-De;if(k.T!==null){var e=ai;return e!==0?e:lc()}return pd()}function Wp(){It===0&&(It=(De&536870912)===0||we?cd():536870912);var e=Gt.current;return e!==null&&(e.flags|=32),It}function zt(e,n,r){(e===Qe&&(Le===2||Le===9)||e.cancelPendingCommit!==null)&&(mi(e,0),Kn(e,De,It,!1)),Xi(e,r),((ke&2)===0||e!==Qe)&&(e===Qe&&((ke&2)===0&&(Da|=r),Ye===4&&Kn(e,De,It,!1)),un(e))}function ev(e,n,r){if((ke&6)!==0)throw Error(l(327));var u=!r&&(n&124)===0&&(n&e.expiredLanes)===0||Pi(e,n),c=u?$b(e,n):nc(e,n,!0),d=u;do{if(c===0){hi&&!u&&Kn(e,n,0,!1);break}else{if(r=e.current.alternate,d&&!Zb(r)){c=nc(e,n,!1),d=!1;continue}if(c===2){if(d=n,e.errorRecoveryDisabledLanes&d)var m=0;else m=e.pendingLanes&-536870913,m=m!==0?m:m&536870912?536870912:0;if(m!==0){n=m;e:{var S=e;c=Cr;var _=S.current.memoizedState.isDehydrated;if(_&&(mi(S,m).flags|=256),m=nc(S,m,!1),m!==2){if(Po&&!_){S.errorRecoveryDisabledLanes|=d,Da|=d,c=4;break e}d=xt,xt=c,d!==null&&(xt===null?xt=d:xt.push.apply(xt,d))}c=m}if(d=!1,c!==2)continue}}if(c===1){mi(e,0),Kn(e,n,0,!0);break}e:{switch(u=e,d=c,d){case 0:case 1:throw Error(l(345));case 4:if((n&4194048)!==n)break;case 6:Kn(u,n,It,!Hn);break e;case 2:xt=null;break;case 3:case 5:break;default:throw Error(l(329))}if((n&62914560)===n&&(c=Zo+300-jt(),10<c)){if(Kn(u,n,It,!Hn),El(u,0,!0)!==0)break e;u.timeoutHandle=Cv(tv.bind(null,u,r,xt,cs,Ko,n,It,Da,pi,Hn,d,2,-0,0),c);break e}tv(u,r,xt,cs,Ko,n,It,Da,pi,Hn,d,0,-0,0)}}break}while(!0);un(e)}function tv(e,n,r,u,c,d,m,S,_,z,Q,H,q,V){if(e.timeoutHandle=-1,H=n.subtreeFlags,(H&8192||(H&16785408)===16785408)&&(Ur={stylesheets:null,count:0,unsuspend:RS},Xp(n),H=kS(),H!==null)){e.cancelPendingCommit=H(uv.bind(null,e,n,d,r,u,c,m,S,_,Q,1,q,V)),Kn(e,d,m,!z);return}uv(e,n,d,r,u,c,m,S,_)}function Zb(e){for(var n=e;;){var r=n.tag;if((r===0||r===11||r===15)&&n.flags&16384&&(r=n.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var u=0;u<r.length;u++){var c=r[u],d=c.getSnapshot;c=c.value;try{if(!Ct(d(),c))return!1}catch{return!1}}if(r=n.child,n.subtreeFlags&16384&&r!==null)r.return=n,n=r;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function Kn(e,n,r,u){n&=~Xo,n&=~Da,e.suspendedLanes|=n,e.pingedLanes&=~n,u&&(e.warmLanes|=n),u=e.expirationTimes;for(var c=n;0<c;){var d=31-Dt(c),m=1<<d;u[d]=-1,c&=~m}r!==0&&dd(e,r,n)}function fs(){return(ke&6)===0?(Rr(0),!1):!0}function ec(){if(Oe!==null){if(Le===0)var e=Oe.return;else e=Oe,bn=Oa=null,mo(e),oi=null,Er=0,e=Oe;for(;e!==null;)Lp(e.alternate,e),e=e.return;Oe=null}}function mi(e,n){var r=e.timeoutHandle;r!==-1&&(e.timeoutHandle=-1,pS(r)),r=e.cancelPendingCommit,r!==null&&(e.cancelPendingCommit=null,r()),ec(),Qe=e,Oe=r=yn(e.current,null),De=n,Le=0,kt=null,Hn=!1,hi=Pi(e,n),Po=!1,pi=It=Xo=Da=Yn=Ye=0,xt=Cr=null,Ko=!1,(n&8)!==0&&(n|=n&32);var u=e.entangledLanes;if(u!==0)for(e=e.entanglements,u&=n;0<u;){var c=31-Dt(u),d=1<<c;n|=e[c],u&=~d}return An=n,kl(),r}function nv(e,n){be=null,k.H=$l,n===dr||n===Ql?(n=bh(),Le=3):n===yh?(n=bh(),Le=4):Le=n===Sp?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,kt=n,Oe===null&&(Ye=1,as(e,Vt(n,e.current)))}function av(){var e=k.H;return k.H=$l,e===null?$l:e}function iv(){var e=k.A;return k.A=Xb,e}function tc(){Ye=4,Hn||(De&4194048)!==De&&Gt.current!==null||(hi=!0),(Yn&134217727)===0&&(Da&134217727)===0||Qe===null||Kn(Qe,De,It,!1)}function nc(e,n,r){var u=ke;ke|=2;var c=av(),d=iv();(Qe!==e||De!==n)&&(cs=null,mi(e,n)),n=!1;var m=Ye;e:do try{if(Le!==0&&Oe!==null){var S=Oe,_=kt;switch(Le){case 8:ec(),m=6;break e;case 3:case 2:case 9:case 6:Gt.current===null&&(n=!0);var z=Le;if(Le=0,kt=null,gi(e,S,_,z),r&&hi){m=0;break e}break;default:z=Le,Le=0,kt=null,gi(e,S,_,z)}}Jb(),m=Ye;break}catch(Q){nv(e,Q)}while(!0);return n&&e.shellSuspendCounter++,bn=Oa=null,ke=u,k.H=c,k.A=d,Oe===null&&(Qe=null,De=0,kl()),m}function Jb(){for(;Oe!==null;)rv(Oe)}function $b(e,n){var r=ke;ke|=2;var u=av(),c=iv();Qe!==e||De!==n?(cs=null,os=jt()+500,mi(e,n)):hi=Pi(e,n);e:do try{if(Le!==0&&Oe!==null){n=Oe;var d=kt;t:switch(Le){case 1:Le=0,kt=null,gi(e,n,d,1);break;case 2:case 9:if(mh(d)){Le=0,kt=null,lv(n);break}n=function(){Le!==2&&Le!==9||Qe!==e||(Le=7),un(e)},d.then(n,n);break e;case 3:Le=7;break e;case 4:Le=5;break e;case 7:mh(d)?(Le=0,kt=null,lv(n)):(Le=0,kt=null,gi(e,n,d,7));break;case 5:var m=null;switch(Oe.tag){case 26:m=Oe.memoizedState;case 5:case 27:var S=Oe;if(!m||Fv(m)){Le=0,kt=null;var _=S.sibling;if(_!==null)Oe=_;else{var z=S.return;z!==null?(Oe=z,ds(z)):Oe=null}break t}}Le=0,kt=null,gi(e,n,d,5);break;case 6:Le=0,kt=null,gi(e,n,d,6);break;case 8:ec(),Ye=6;break e;default:throw Error(l(462))}}Wb();break}catch(Q){nv(e,Q)}while(!0);return bn=Oa=null,k.H=u,k.A=c,ke=r,Oe!==null?0:(Qe=null,De=0,kl(),Ye)}function Wb(){for(;Oe!==null&&!pu();)rv(Oe)}function rv(e){var n=Mp(e.alternate,e,An);e.memoizedProps=e.pendingProps,n===null?ds(e):Oe=n}function lv(e){var n=e,r=n.alternate;switch(n.tag){case 15:case 0:n=xp(r,n,n.pendingProps,n.type,void 0,De);break;case 11:n=xp(r,n,n.pendingProps,n.type.render,n.ref,De);break;case 5:mo(n);default:Lp(r,n),n=Oe=sh(n,An),n=Mp(r,n,An)}e.memoizedProps=e.pendingProps,n===null?ds(e):Oe=n}function gi(e,n,r,u){bn=Oa=null,mo(n),oi=null,Er=0;var c=n.return;try{if(Qb(e,c,n,r,De)){Ye=1,as(e,Vt(r,e.current)),Oe=null;return}}catch(d){if(c!==null)throw Oe=c,d;Ye=1,as(e,Vt(r,e.current)),Oe=null;return}n.flags&32768?(we||u===1?e=!0:hi||(De&536870912)!==0?e=!1:(Hn=e=!0,(u===2||u===9||u===3||u===6)&&(u=Gt.current,u!==null&&u.tag===13&&(u.flags|=16384))),sv(n,e)):ds(n)}function ds(e){var n=e;do{if((n.flags&32768)!==0){sv(n,Hn);return}e=n.return;var r=Ib(n.alternate,n,An);if(r!==null){Oe=r;return}if(n=n.sibling,n!==null){Oe=n;return}Oe=n=e}while(n!==null);Ye===0&&(Ye=5)}function sv(e,n){do{var r=Hb(e.alternate,e);if(r!==null){r.flags&=32767,Oe=r;return}if(r=e.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!n&&(e=e.sibling,e!==null)){Oe=e;return}Oe=e=r}while(e!==null);Ye=6,Oe=null}function uv(e,n,r,u,c,d,m,S,_){e.cancelPendingCommit=null;do hs();while(ct!==0);if((ke&6)!==0)throw Error(l(327));if(n!==null){if(n===e.current)throw Error(l(177));if(d=n.lanes|n.childLanes,d|=Hu,R0(e,r,d,m,S,_),e===Qe&&(Oe=Qe=null,De=0),vi=n,Xn=e,yi=r,Jo=d,$o=c,$p=u,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,aS(gl,function(){return hv(),null})):(e.callbackNode=null,e.callbackPriority=0),u=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||u){u=k.T,k.T=null,c=X.p,X.p=2,m=ke,ke|=4;try{Yb(e,n,r)}finally{ke=m,X.p=c,k.T=u}}ct=1,ov(),cv(),fv()}}function ov(){if(ct===1){ct=0;var e=Xn,n=vi,r=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||r){r=k.T,k.T=null;var u=X.p;X.p=2;var c=ke;ke|=4;try{Hp(n,e);var d=pc,m=Jd(e.containerInfo),S=d.focusedElem,_=d.selectionRange;if(m!==S&&S&&S.ownerDocument&&Zd(S.ownerDocument.documentElement,S)){if(_!==null&&Bu(S)){var z=_.start,Q=_.end;if(Q===void 0&&(Q=z),"selectionStart"in S)S.selectionStart=z,S.selectionEnd=Math.min(Q,S.value.length);else{var H=S.ownerDocument||document,q=H&&H.defaultView||window;if(q.getSelection){var V=q.getSelection(),he=S.textContent.length,ce=Math.min(_.start,he),Ue=_.end===void 0?ce:Math.min(_.end,he);!V.extend&&ce>Ue&&(m=Ue,Ue=ce,ce=m);var M=Kd(S,ce),D=Kd(S,Ue);if(M&&D&&(V.rangeCount!==1||V.anchorNode!==M.node||V.anchorOffset!==M.offset||V.focusNode!==D.node||V.focusOffset!==D.offset)){var L=H.createRange();L.setStart(M.node,M.offset),V.removeAllRanges(),ce>Ue?(V.addRange(L),V.extend(D.node,D.offset)):(L.setEnd(D.node,D.offset),V.addRange(L))}}}}for(H=[],V=S;V=V.parentNode;)V.nodeType===1&&H.push({element:V,left:V.scrollLeft,top:V.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<H.length;S++){var I=H[S];I.element.scrollLeft=I.left,I.element.scrollTop=I.top}}Ns=!!hc,pc=hc=null}finally{ke=c,X.p=u,k.T=r}}e.current=n,ct=2}}function cv(){if(ct===2){ct=0;var e=Xn,n=vi,r=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||r){r=k.T,k.T=null;var u=X.p;X.p=2;var c=ke;ke|=4;try{Fp(e,n.alternate,n)}finally{ke=c,X.p=u,k.T=r}}ct=3}}function fv(){if(ct===4||ct===3){ct=0,vu();var e=Xn,n=vi,r=yi,u=$p;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?ct=5:(ct=0,vi=Xn=null,dv(e,e.pendingLanes));var c=e.pendingLanes;if(c===0&&(Pn=null),bu(r),n=n.stateNode,At&&typeof At.onCommitFiberRoot=="function")try{At.onCommitFiberRoot(Yi,n,void 0,(n.current.flags&128)===128)}catch{}if(u!==null){n=k.T,c=X.p,X.p=2,k.T=null;try{for(var d=e.onRecoverableError,m=0;m<u.length;m++){var S=u[m];d(S.value,{componentStack:S.stack})}}finally{k.T=n,X.p=c}}(yi&3)!==0&&hs(),un(e),c=e.pendingLanes,(r&4194090)!==0&&(c&42)!==0?e===Wo?wr++:(wr=0,Wo=e):wr=0,Rr(0)}}function dv(e,n){(e.pooledCacheLanes&=n)===0&&(n=e.pooledCache,n!=null&&(e.pooledCache=null,cr(n)))}function hs(e){return ov(),cv(),fv(),hv()}function hv(){if(ct!==5)return!1;var e=Xn,n=Jo;Jo=0;var r=bu(yi),u=k.T,c=X.p;try{X.p=32>r?32:r,k.T=null,r=$o,$o=null;var d=Xn,m=yi;if(ct=0,vi=Xn=null,yi=0,(ke&6)!==0)throw Error(l(331));var S=ke;if(ke|=4,Zp(d.current),Pp(d,d.current,m,r),ke=S,Rr(0,!1),At&&typeof At.onPostCommitFiberRoot=="function")try{At.onPostCommitFiberRoot(Yi,d)}catch{}return!0}finally{X.p=c,k.T=u,dv(e,n)}}function pv(e,n,r){n=Vt(r,n),n=Ro(e.stateNode,n,2),e=qn(e,n,2),e!==null&&(Xi(e,2),un(e))}function qe(e,n,r){if(e.tag===3)pv(e,e,r);else for(;n!==null;){if(n.tag===3){pv(n,e,r);break}else if(n.tag===1){var u=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Pn===null||!Pn.has(u))){e=Vt(r,e),r=gp(2),u=qn(n,r,2),u!==null&&(bp(r,u,n,e),Xi(u,2),un(u));break}}n=n.return}}function ac(e,n,r){var u=e.pingCache;if(u===null){u=e.pingCache=new Kb;var c=new Set;u.set(n,c)}else c=u.get(n),c===void 0&&(c=new Set,u.set(n,c));c.has(r)||(Po=!0,c.add(r),e=eS.bind(null,e,n,r),n.then(e,e))}function eS(e,n,r){var u=e.pingCache;u!==null&&u.delete(n),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,Qe===e&&(De&r)===r&&(Ye===4||Ye===3&&(De&62914560)===De&&300>jt()-Zo?(ke&2)===0&&mi(e,0):Xo|=r,pi===De&&(pi=0)),un(e)}function vv(e,n){n===0&&(n=fd()),e=Wa(e,n),e!==null&&(Xi(e,n),un(e))}function tS(e){var n=e.memoizedState,r=0;n!==null&&(r=n.retryLane),vv(e,r)}function nS(e,n){var r=0;switch(e.tag){case 13:var u=e.stateNode,c=e.memoizedState;c!==null&&(r=c.retryLane);break;case 19:u=e.stateNode;break;case 22:u=e.stateNode._retryCache;break;default:throw Error(l(314))}u!==null&&u.delete(n),vv(e,r)}function aS(e,n){return Rn(e,n)}var ps=null,bi=null,ic=!1,vs=!1,rc=!1,Ca=0;function un(e){e!==bi&&e.next===null&&(bi===null?ps=bi=e:bi=bi.next=e),vs=!0,ic||(ic=!0,rS())}function Rr(e,n){if(!rc&&vs){rc=!0;do for(var r=!1,u=ps;u!==null;){if(e!==0){var c=u.pendingLanes;if(c===0)var d=0;else{var m=u.suspendedLanes,S=u.pingedLanes;d=(1<<31-Dt(42|e)+1)-1,d&=c&~(m&~S),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(r=!0,bv(u,d))}else d=De,d=El(u,u===Qe?d:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(d&3)===0||Pi(u,d)||(r=!0,bv(u,d));u=u.next}while(r);rc=!1}}function iS(){yv()}function yv(){vs=ic=!1;var e=0;Ca!==0&&(hS()&&(e=Ca),Ca=0);for(var n=jt(),r=null,u=ps;u!==null;){var c=u.next,d=mv(u,n);d===0?(u.next=null,r===null?ps=c:r.next=c,c===null&&(bi=r)):(r=u,(e!==0||(d&3)!==0)&&(vs=!0)),u=c}Rr(e)}function mv(e,n){for(var r=e.suspendedLanes,u=e.pingedLanes,c=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var m=31-Dt(d),S=1<<m,_=c[m];_===-1?((S&r)===0||(S&u)!==0)&&(c[m]=w0(S,n)):_<=n&&(e.expiredLanes|=S),d&=~S}if(n=Qe,r=De,r=El(e,e===n?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u=e.callbackNode,r===0||e===n&&(Le===2||Le===9)||e.cancelPendingCommit!==null)return u!==null&&u!==null&&qa(u),e.callbackNode=null,e.callbackPriority=0;if((r&3)===0||Pi(e,r)){if(n=r&-r,n===e.callbackPriority)return n;switch(u!==null&&qa(u),bu(r)){case 2:case 8:r=ud;break;case 32:r=gl;break;case 268435456:r=od;break;default:r=gl}return u=gv.bind(null,e),r=Rn(r,u),e.callbackPriority=n,e.callbackNode=r,n}return u!==null&&u!==null&&qa(u),e.callbackPriority=2,e.callbackNode=null,2}function gv(e,n){if(ct!==0&&ct!==5)return e.callbackNode=null,e.callbackPriority=0,null;var r=e.callbackNode;if(hs()&&e.callbackNode!==r)return null;var u=De;return u=El(e,e===Qe?u:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u===0?null:(ev(e,u,n),mv(e,jt()),e.callbackNode!=null&&e.callbackNode===r?gv.bind(null,e):null)}function bv(e,n){if(hs())return null;ev(e,n,!0)}function rS(){vS(function(){(ke&6)!==0?Rn(sd,iS):yv()})}function lc(){return Ca===0&&(Ca=cd()),Ca}function Sv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:xl(""+e)}function Ev(e,n){var r=n.ownerDocument.createElement("input");return r.name=n.name,r.value=n.value,e.id&&r.setAttribute("form",e.id),n.parentNode.insertBefore(r,n),e=new FormData(e),r.parentNode.removeChild(r),e}function lS(e,n,r,u,c){if(n==="submit"&&r&&r.stateNode===c){var d=Sv((c[Ot]||null).action),m=u.submitter;m&&(n=(n=m[Ot]||null)?Sv(n.formAction):m.getAttribute("formAction"),n!==null&&(d=n,m=null));var S=new wl("action","action",null,u,c);e.push({event:S,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(Ca!==0){var _=m?Ev(c,m):new FormData(c);xo(r,{pending:!0,data:_,method:c.method,action:d},null,_)}}else typeof d=="function"&&(S.preventDefault(),_=m?Ev(c,m):new FormData(c),xo(r,{pending:!0,data:_,method:c.method,action:d},d,_))},currentTarget:c}]})}}for(var sc=0;sc<Iu.length;sc++){var uc=Iu[sc],sS=uc.toLowerCase(),uS=uc[0].toUpperCase()+uc.slice(1);Zt(sS,"on"+uS)}Zt(eh,"onAnimationEnd"),Zt(th,"onAnimationIteration"),Zt(nh,"onAnimationStart"),Zt("dblclick","onDoubleClick"),Zt("focusin","onFocus"),Zt("focusout","onBlur"),Zt(Nb,"onTransitionRun"),Zt(xb,"onTransitionStart"),Zt(Ab,"onTransitionCancel"),Zt(ah,"onTransitionEnd"),Ga("onMouseEnter",["mouseout","mouseover"]),Ga("onMouseLeave",["mouseout","mouseover"]),Ga("onPointerEnter",["pointerout","pointerover"]),Ga("onPointerLeave",["pointerout","pointerover"]),ha("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ha("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ha("onBeforeInput",["compositionend","keypress","textInput","paste"]),ha("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ha("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ha("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mr="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(" "),oS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Mr));function Ov(e,n){n=(n&4)!==0;for(var r=0;r<e.length;r++){var u=e[r],c=u.event;u=u.listeners;e:{var d=void 0;if(n)for(var m=u.length-1;0<=m;m--){var S=u[m],_=S.instance,z=S.currentTarget;if(S=S.listener,_!==d&&c.isPropagationStopped())break e;d=S,c.currentTarget=z;try{d(c)}catch(Q){ns(Q)}c.currentTarget=null,d=_}else for(m=0;m<u.length;m++){if(S=u[m],_=S.instance,z=S.currentTarget,S=S.listener,_!==d&&c.isPropagationStopped())break e;d=S,c.currentTarget=z;try{d(c)}catch(Q){ns(Q)}c.currentTarget=null,d=_}}}}function Te(e,n){var r=n[Su];r===void 0&&(r=n[Su]=new Set);var u=e+"__bubble";r.has(u)||(Tv(n,e,2,!1),r.add(u))}function oc(e,n,r){var u=0;n&&(u|=4),Tv(r,e,u,n)}var ys="_reactListening"+Math.random().toString(36).slice(2);function cc(e){if(!e[ys]){e[ys]=!0,yd.forEach(function(r){r!=="selectionchange"&&(oS.has(r)||oc(r,!1,e),oc(r,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[ys]||(n[ys]=!0,oc("selectionchange",!1,n))}}function Tv(e,n,r,u){switch(Pv(n)){case 2:var c=jS;break;case 8:c=US;break;default:c=_c}r=c.bind(null,n,r,e),c=void 0,!Ru||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(c=!0),u?c!==void 0?e.addEventListener(n,r,{capture:!0,passive:c}):e.addEventListener(n,r,!0):c!==void 0?e.addEventListener(n,r,{passive:c}):e.addEventListener(n,r,!1)}function fc(e,n,r,u,c){var d=u;if((n&1)===0&&(n&2)===0&&u!==null)e:for(;;){if(u===null)return;var m=u.tag;if(m===3||m===4){var S=u.stateNode.containerInfo;if(S===c)break;if(m===4)for(m=u.return;m!==null;){var _=m.tag;if((_===3||_===4)&&m.stateNode.containerInfo===c)return;m=m.return}for(;S!==null;){if(m=Ba(S),m===null)return;if(_=m.tag,_===5||_===6||_===26||_===27){u=d=m;continue e}S=S.parentNode}}u=u.return}wd(function(){var z=d,Q=Cu(r),H=[];e:{var q=ih.get(e);if(q!==void 0){var V=wl,he=e;switch(e){case"keypress":if(Dl(r)===0)break e;case"keydown":case"keyup":V=ab;break;case"focusin":he="focus",V=zu;break;case"focusout":he="blur",V=zu;break;case"beforeblur":case"afterblur":V=zu;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":V=kd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":V=H0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":V=lb;break;case eh:case th:case nh:V=X0;break;case ah:V=ub;break;case"scroll":case"scrollend":V=G0;break;case"wheel":V=cb;break;case"copy":case"cut":case"paste":V=Z0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":V=zd;break;case"toggle":case"beforetoggle":V=db}var ce=(n&4)!==0,Ue=!ce&&(e==="scroll"||e==="scrollend"),M=ce?q!==null?q+"Capture":null:q;ce=[];for(var D=z,L;D!==null;){var I=D;if(L=I.stateNode,I=I.tag,I!==5&&I!==26&&I!==27||L===null||M===null||(I=Ji(D,M),I!=null&&ce.push(kr(D,I,L))),Ue)break;D=D.return}0<ce.length&&(q=new V(q,he,null,r,Q),H.push({event:q,listeners:ce}))}}if((n&7)===0){e:{if(q=e==="mouseover"||e==="pointerover",V=e==="mouseout"||e==="pointerout",q&&r!==Du&&(he=r.relatedTarget||r.fromElement)&&(Ba(he)||he[Va]))break e;if((V||q)&&(q=Q.window===Q?Q:(q=Q.ownerDocument)?q.defaultView||q.parentWindow:window,V?(he=r.relatedTarget||r.toElement,V=z,he=he?Ba(he):null,he!==null&&(Ue=o(he),ce=he.tag,he!==Ue||ce!==5&&ce!==27&&ce!==6)&&(he=null)):(V=null,he=z),V!==he)){if(ce=kd,I="onMouseLeave",M="onMouseEnter",D="mouse",(e==="pointerout"||e==="pointerover")&&(ce=zd,I="onPointerLeave",M="onPointerEnter",D="pointer"),Ue=V==null?q:Zi(V),L=he==null?q:Zi(he),q=new ce(I,D+"leave",V,r,Q),q.target=Ue,q.relatedTarget=L,I=null,Ba(Q)===z&&(ce=new ce(M,D+"enter",he,r,Q),ce.target=L,ce.relatedTarget=Ue,I=ce),Ue=I,V&&he)t:{for(ce=V,M=he,D=0,L=ce;L;L=Si(L))D++;for(L=0,I=M;I;I=Si(I))L++;for(;0<D-L;)ce=Si(ce),D--;for(;0<L-D;)M=Si(M),L--;for(;D--;){if(ce===M||M!==null&&ce===M.alternate)break t;ce=Si(ce),M=Si(M)}ce=null}else ce=null;V!==null&&_v(H,q,V,ce,!1),he!==null&&Ue!==null&&_v(H,Ue,he,ce,!0)}}e:{if(q=z?Zi(z):window,V=q.nodeName&&q.nodeName.toLowerCase(),V==="select"||V==="input"&&q.type==="file")var ne=Gd;else if(Fd(q))if(Id)ne=Ob;else{ne=Sb;var Se=bb}else V=q.nodeName,!V||V.toLowerCase()!=="input"||q.type!=="checkbox"&&q.type!=="radio"?z&&Au(z.elementType)&&(ne=Gd):ne=Eb;if(ne&&(ne=ne(e,z))){Qd(H,ne,r,Q);break e}Se&&Se(e,q,z),e==="focusout"&&z&&q.type==="number"&&z.memoizedProps.value!=null&&xu(q,"number",q.value)}switch(Se=z?Zi(z):window,e){case"focusin":(Fd(Se)||Se.contentEditable==="true")&&(Za=Se,Fu=z,rr=null);break;case"focusout":rr=Fu=Za=null;break;case"mousedown":Qu=!0;break;case"contextmenu":case"mouseup":case"dragend":Qu=!1,$d(H,r,Q);break;case"selectionchange":if(_b)break;case"keydown":case"keyup":$d(H,r,Q)}var ue;if(Uu)e:{switch(e){case"compositionstart":var de="onCompositionStart";break e;case"compositionend":de="onCompositionEnd";break e;case"compositionupdate":de="onCompositionUpdate";break e}de=void 0}else Ka?Vd(e,r)&&(de="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(de="onCompositionStart");de&&(jd&&r.locale!=="ko"&&(Ka||de!=="onCompositionStart"?de==="onCompositionEnd"&&Ka&&(ue=Rd()):(Ln=Q,Mu="value"in Ln?Ln.value:Ln.textContent,Ka=!0)),Se=ms(z,de),0<Se.length&&(de=new Ld(de,e,null,r,Q),H.push({event:de,listeners:Se}),ue?de.data=ue:(ue=Bd(r),ue!==null&&(de.data=ue)))),(ue=pb?vb(e,r):yb(e,r))&&(de=ms(z,"onBeforeInput"),0<de.length&&(Se=new Ld("onBeforeInput","beforeinput",null,r,Q),H.push({event:Se,listeners:de}),Se.data=ue)),lS(H,e,z,r,Q)}Ov(H,n)})}function kr(e,n,r){return{instance:e,listener:n,currentTarget:r}}function ms(e,n){for(var r=n+"Capture",u=[];e!==null;){var c=e,d=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||d===null||(c=Ji(e,r),c!=null&&u.unshift(kr(e,c,d)),c=Ji(e,n),c!=null&&u.push(kr(e,c,d))),e.tag===3)return u;e=e.return}return[]}function Si(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function _v(e,n,r,u,c){for(var d=n._reactName,m=[];r!==null&&r!==u;){var S=r,_=S.alternate,z=S.stateNode;if(S=S.tag,_!==null&&_===u)break;S!==5&&S!==26&&S!==27||z===null||(_=z,c?(z=Ji(r,d),z!=null&&m.unshift(kr(r,z,_))):c||(z=Ji(r,d),z!=null&&m.push(kr(r,z,_)))),r=r.return}m.length!==0&&e.push({event:n,listeners:m})}var cS=/\r\n?/g,fS=/\u0000|\uFFFD/g;function Nv(e){return(typeof e=="string"?e:""+e).replace(cS,` 105`).replace(fS,"")}function xv(e,n){return n=Nv(n),Nv(e)===n}function gs(){}function je(e,n,r,u,c,d){switch(r){case"children":typeof u=="string"?n==="body"||n==="textarea"&&u===""||Ya(e,u):(typeof u=="number"||typeof u=="bigint")&&n!=="body"&&Ya(e,""+u);break;case"className":Tl(e,"class",u);break;case"tabIndex":Tl(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":Tl(e,r,u);break;case"style":Dd(e,u,d);break;case"data":if(n!=="object"){Tl(e,"data",u);break}case"src":case"href":if(u===""&&(n!=="a"||r!=="href")){e.removeAttribute(r);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(r);break}u=xl(""+u),e.setAttribute(r,u);break;case"action":case"formAction":if(typeof u=="function"){e.setAttribute(r,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof d=="function"&&(r==="formAction"?(n!=="input"&&je(e,n,"name",c.name,c,null),je(e,n,"formEncType",c.formEncType,c,null),je(e,n,"formMethod",c.formMethod,c,null),je(e,n,"formTarget",c.formTarget,c,null)):(je(e,n,"encType",c.encType,c,null),je(e,n,"method",c.method,c,null),je(e,n,"target",c.target,c,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(r);break}u=xl(""+u),e.setAttribute(r,u);break;case"onClick":u!=null&&(e.onclick=gs);break;case"onScroll":u!=null&&Te("scroll",e);break;case"onScrollEnd":u!=null&&Te("scrollend",e);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(l(61));if(r=u.__html,r!=null){if(c.children!=null)throw Error(l(60));e.innerHTML=r}}break;case"multiple":e.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":e.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){e.removeAttribute("xlink:href");break}r=xl(""+u),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(r,""+u):e.removeAttribute(r);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
105ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":u&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":u===!0?e.setAttribute(r,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(r,u):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?e.setAttribute(r,u):e.removeAttribute(r);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?e.removeAttribute(r):e.setAttribute(r,u);break;case"popover":Te("beforetoggle",e),Te("toggle",e),Ol(e,"popover",u);break;case"xlinkActuate":pn(e,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":pn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":pn(e,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":pn(e,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":pn(e,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":pn(e,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":pn(e,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":pn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":pn(e,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":Ol(e,"is",u);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=F0.get(r)||r,Ol(e,r,u))}}function dc(e,n,r,u,c,d){switch(r){case"style":Dd(e,u,d);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(l(61));if(r=u.__html,r!=null){if(c.children!=null)throw Error(l(60));e.innerHTML=r}}break;case"children":typeof u=="string"?Ya(e,u):(typeof u=="number"||typeof u=="bigint")&&Ya(e,""+u);break;case"onScroll":u!=null&&Te("scroll",e);break;case"onScrollEnd":u!=null&&Te("scrollend",e);break;case"onClick":u!=null&&(e.onclick=gs);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!md.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(c=r.endsWith("Capture"),n=r.slice(2,c?r.length-7:void 0),d=e[Ot]||null,d=d!=null?d[r]:null,typeof d=="function"&&e.removeEventListener(n,d,c),typeof u=="function")){typeof d!="function"&&d!==null&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(n,u,c);break e}r in e?e[r]=u:u===!0?e.setAttribute(r,""):Ol(e,r,u)}}}function ft(e,n,r){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Te("error",e),Te("load",e);var u=!1,c=!1,d;for(d in r)if(r.hasOwnProperty(d)){var m=r[d];if(m!=null)switch(d){case"src":u=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,n));default:je(e,n,d,m,r,null)}}c&&je(e,n,"srcSet",r.srcSet,r,null),u&&je(e,n,"src",r.src,r,null);return;case"input":Te("invalid",e);var S=d=m=c=null,_=null,z=null;for(u in r)if(r.hasOwnProperty(u)){var Q=r[u];if(Q!=null)switch(u){case"name":c=Q;break;case"type":m=Q;break;case"checked":_=Q;break;case"defaultChecked":z=Q;break;case"value":d=Q;break;case"defaultValue":S=Q;break;case"children":case"dangerouslySetInnerHTML":if(Q!=null)throw Error(l(137,n));break;default:je(e,n,u,Q,r,null)}}_d(e,d,S,_,z,m,c,!1),_l(e);return;case"select":Te("invalid",e),u=m=d=null;for(c in r)if(r.hasOwnProperty(c)&&(S=r[c],S!=null))switch(c){case"value":d=S;break;case"defaultValue":m=S;break;case"multiple":u=S;default:je(e,n,c,S,r,null)}n=d,r=m,e.multiple=!!u,n!=null?Ha(e,!!u,n,!1):r!=null&&Ha(e,!!u,r,!0);return;case"textarea":Te("invalid",e),d=c=u=null;for(m in r)if(r.hasOwnProperty(m)&&(S=r[m],S!=null))switch(m){case"value":u=S;break;case"defaultValue":c=S;break;case"children":d=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(l(91));break;default:je(e,n,m,S,r,null)}xd(e,u,c,d),_l(e);return;case"option":for(_ in r)if(r.hasOwnProperty(_)&&(u=r[_],u!=null))switch(_){case"selected":e.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:je(e,n,_,u,r,null)}return;case"dialog":Te("beforetoggle",e),Te("toggle",e),Te("cancel",e),Te("close",e);break;case"iframe":case"object":Te("load",e);break;case"video":case"audio":for(u=0;
vendor: 30,464 bytes, lines 105-279
105u<Mr.length;u++)Te(Mr[u],e);break;case"image":Te("error",e),Te("load",e);break;case"details":Te("toggle",e);break;case"embed":case"source":case"link":Te("error",e),Te("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(z in r)if(r.hasOwnProperty(z)&&(u=r[z],u!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,n));default:je(e,n,z,u,r,null)}return;default:if(Au(n)){for(Q in r)r.hasOwnProperty(Q)&&(u=r[Q],u!==void 0&&dc(e,n,Q,u,r,void 0));return}}for(S in r)r.hasOwnProperty(S)&&(u=r[S],u!=null&&je(e,n,S,u,r,null))}function dS(e,n,r,u){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,d=null,m=null,S=null,_=null,z=null,Q=null;for(V in r){var H=r[V];if(r.hasOwnProperty(V)&&H!=null)switch(V){case"checked":break;case"value":break;case"defaultValue":_=H;default:u.hasOwnProperty(V)||je(e,n,V,null,u,H)}}for(var q in u){var V=u[q];if(H=r[q],u.hasOwnProperty(q)&&(V!=null||H!=null))switch(q){case"type":d=V;break;case"name":c=V;break;case"checked":z=V;break;case"defaultChecked":Q=V;break;case"value":m=V;break;case"defaultValue":S=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(l(137,n));break;default:V!==H&&je(e,n,q,V,u,H)}}Nu(e,m,S,_,z,Q,d,c);return;case"select":V=m=S=q=null;for(d in r)if(_=r[d],r.hasOwnProperty(d)&&_!=null)switch(d){case"value":break;case"multiple":V=_;default:u.hasOwnProperty(d)||je(e,n,d,null,u,_)}for(c in u)if(d=u[c],_=r[c],u.hasOwnProperty(c)&&(d!=null||_!=null))switch(c){case"value":q=d;break;case"defaultValue":S=d;break;case"multiple":m=d;default:d!==_&&je(e,n,c,d,u,_)}n=S,r=m,u=V,q!=null?Ha(e,!!r,q,!1):!!u!=!!r&&(n!=null?Ha(e,!!r,n,!0):Ha(e,!!r,r?[]:"",!1));return;case"textarea":V=q=null;for(S in r)if(c=r[S],r.hasOwnProperty(S)&&c!=null&&!u.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:je(e,n,S,null,u,c)}for(m in u)if(c=u[m],d=r[m],u.hasOwnProperty(m)&&(c!=null||d!=null))switch(m){case"value":q=c;break;case"defaultValue":V=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(l(91));break;default:c!==d&&je(e,n,m,c,u,d)}Nd(e,q,V);return;case"option":for(var he in r)if(q=r[he],r.hasOwnProperty(he)&&q!=null&&!u.hasOwnProperty(he))switch(he){case"selected":e.selected=!1;break;default:je(e,n,he,null,u,q)}for(_ in u)if(q=u[_],V=r[_],u.hasOwnProperty(_)&&q!==V&&(q!=null||V!=null))switch(_){case"selected":e.selected=q&&typeof q!="function"&&typeof q!="symbol";break;default:je(e,n,_,q,u,V)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ce in r)q=r[ce],r.hasOwnProperty(ce)&&q!=null&&!u.hasOwnProperty(ce)&&je(e,n,ce,null,u,q);for(z in u)if(q=u[z],V=r[z],u.hasOwnProperty(z)&&q!==V&&(q!=null||V!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(l(137,n));break;default:je(e,n,z,q,u,V)}return;default:if(Au(n)){for(var Ue in r)q=r[Ue],r.hasOwnProperty(Ue)&&q!==void 0&&!u.hasOwnProperty(Ue)&&dc(e,n,Ue,void 0,u,q);for(Q in u)q=u[Q],V=r[Q],!u.hasOwnProperty(Q)||q===V||q===void 0&&V===void 0||dc(e,n,Q,q,u,V);return}}for(var M in r)q=r[M],r.hasOwnProperty(M)&&q!=null&&!u.hasOwnProperty(M)&&je(e,n,M,null,u,q);for(H in u)q=u[H],V=r[H],!u.hasOwnProperty(H)||q===V||q==null&&V==null||je(e,n,H,q,u,V)}var hc=null,pc=null;function bs(e){return e.nodeType===9?e:e.ownerDocument}function Av(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Dv(e,n){if(e===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&n==="foreignObject"?0:e}function vc(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var yc=null;function hS(){var e=window.event;return e&&e.type==="popstate"?e===yc?!1:(yc=e,!0):(yc=null,!1)}var Cv=typeof setTimeout=="function"?setTimeout:void 0,pS=typeof clearTimeout=="function"?clearTimeout:void 0,wv=typeof Promise=="function"?Promise:void 0,vS=typeof queueMicrotask=="function"?queueMicrotask:typeof wv<"u"?function(e){return wv.resolve(null).then(e).catch(yS)}:Cv;function yS(e){setTimeout(function(){throw e})}function Zn(e){return e==="head"}function Rv(e,n){var r=n,u=0,c=0;do{var d=r.nextSibling;if(e.removeChild(r),d&&d.nodeType===8)if(r=d.data,r==="/$"){if(0<u&&8>u){r=u;var m=e.ownerDocument;if(r&1&&Lr(m.documentElement),r&2&&Lr(m.body),r&4)for(r=m.head,Lr(r),m=r.firstChild;m;){var S=m.nextSibling,_=m.nodeName;m[Ki]||_==="SCRIPT"||_==="STYLE"||_==="LINK"&&m.rel.toLowerCase()==="stylesheet"||r.removeChild(m),m=S}}if(c===0){e.removeChild(d),Qr(n);return}c--}else r==="$"||r==="$?"||r==="$!"?c++:u=r.charCodeAt(0)-48;else u=0;r=d}while(r);Qr(n)}function mc(e){var n=e.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var r=n;switch(n=n.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":mc(r),Eu(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}e.removeChild(r)}}function mS(e,n,r,u){for(;e.nodeType===1;){var c=r;if(e.nodeName.toLowerCase()!==n.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[Ki])switch(n){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==c.rel||e.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||e.getAttribute("title")!==(c.title==null?null:c.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(d=e.getAttribute("src"),(d!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(n==="input"&&e.type==="hidden"){var d=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=$t(e.nextSibling),e===null)break}return null}function gS(e,n,r){if(n==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r||(e=$t(e.nextSibling),e===null))return null;return e}function gc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function bS(e,n){var r=e.ownerDocument;if(e.data!=="$?"||r.readyState==="complete")n();else{var u=function(){n(),r.removeEventListener("DOMContentLoaded",u)};r.addEventListener("DOMContentLoaded",u),e._reactRetry=u}}function $t(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?"||n==="F!"||n==="F")break;if(n==="/$")return null}}return e}var bc=null;function Mv(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(n===0)return e;n--}else r==="/$"&&n++}e=e.previousSibling}return null}function kv(e,n,r){switch(n=bs(r),e){case"html":if(e=n.documentElement,!e)throw Error(l(452));return e;case"head":if(e=n.head,!e)throw Error(l(453));return e;case"body":if(e=n.body,!e)throw Error(l(454));return e;default:throw Error(l(451))}}function Lr(e){for(var n=e.attributes;n.length;)e.removeAttributeNode(n[0]);Eu(e)}var Ht=new Map,Lv=new Set;function Ss(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Dn=X.d;X.d={f:SS,r:ES,D:OS,C:TS,L:_S,m:NS,X:AS,S:xS,M:DS};function SS(){var e=Dn.f(),n=fs();return e||n}function ES(e){var n=Fa(e);n!==null&&n.tag===5&&n.type==="form"?ep(n):Dn.r(e)}var Ei=typeof document>"u"?null:document;function zv(e,n,r){var u=Ei;if(u&&typeof n=="string"&&n){var c=qt(n);c='link[rel="'+e+'"][href="'+c+'"]',typeof r=="string"&&(c+='[crossorigin="'+r+'"]'),Lv.has(c)||(Lv.add(c),e={rel:e,crossOrigin:r,href:n},u.querySelector(c)===null&&(n=u.createElement("link"),ft(n,"link",e),at(n),u.head.appendChild(n)))}}function OS(e){Dn.D(e),zv("dns-prefetch",e,null)}function TS(e,n){Dn.C(e,n),zv("preconnect",e,n)}function _S(e,n,r){Dn.L(e,n,r);var u=Ei;if(u&&e&&n){var c='link[rel="preload"][as="'+qt(n)+'"]';n==="image"&&r&&r.imageSrcSet?(c+='[imagesrcset="'+qt(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(c+='[imagesizes="'+qt(r.imageSizes)+'"]')):c+='[href="'+qt(e)+'"]';var d=c;switch(n){case"style":d=Oi(e);break;case"script":d=Ti(e)}Ht.has(d)||(e=y({rel:"preload",href:n==="image"&&r&&r.imageSrcSet?void 0:e,as:n},r),Ht.set(d,e),u.querySelector(c)!==null||n==="style"&&u.querySelector(zr(d))||n==="script"&&u.querySelector(jr(d))||(n=u.createElement("link"),ft(n,"link",e),at(n),u.head.appendChild(n)))}}function NS(e,n){Dn.m(e,n);var r=Ei;if(r&&e){var u=n&&typeof n.as=="string"?n.as:"script",c='link[rel="modulepreload"][as="'+qt(u)+'"][href="'+qt(e)+'"]',d=c;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=Ti(e)}if(!Ht.has(d)&&(e=y({rel:"modulepreload",href:e},n),Ht.set(d,e),r.querySelector(c)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(jr(d)))return}u=r.createElement("link"),ft(u,"link",e),at(u),r.head.appendChild(u)}}}function xS(e,n,r){Dn.S(e,n,r);var u=Ei;if(u&&e){var c=Qa(u).hoistableStyles,d=Oi(e);n=n||"default";var m=c.get(d);if(!m){var S={loading:0,preload:null};if(m=u.querySelector(zr(d)))S.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":n},r),(r=Ht.get(d))&&Sc(e,r);var _=m=u.createElement("link");at(_),ft(_,"link",e),_._p=new Promise(function(z,Q){_.onload=z,_.onerror=Q}),_.addEventListener("load",function(){S.loading|=1}),_.addEventListener("error",function(){S.loading|=2}),S.loading|=4,Es(m,n,u)}m={type:"stylesheet",instance:m,count:1,state:S},c.set(d,m)}}}function AS(e,n){Dn.X(e,n);var r=Ei;if(r&&e){var u=Qa(r).hoistableScripts,c=Ti(e),d=u.get(c);d||(d=r.querySelector(jr(c)),d||(e=y({src:e,async:!0},n),(n=Ht.get(c))&&Ec(e,n),d=r.createElement("script"),at(d),ft(d,"link",e),r.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},u.set(c,d))}}function DS(e,n){Dn.M(e,n);var r=Ei;if(r&&e){var u=Qa(r).hoistableScripts,c=Ti(e),d=u.get(c);d||(d=r.querySelector(jr(c)),d||(e=y({src:e,async:!0,type:"module"},n),(n=Ht.get(c))&&Ec(e,n),d=r.createElement("script"),at(d),ft(d,"link",e),r.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},u.set(c,d))}}function jv(e,n,r,u){var c=(c=ve.current)?Ss(c):null;if(!c)throw Error(l(446));switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(n=Oi(r.href),r=Qa(c).hoistableStyles,u=r.get(n),u||(u={type:"style",instance:null,count:0,state:null},r.set(n,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=Oi(r.href);var d=Qa(c).hoistableStyles,m=d.get(e);if(m||(c=c.ownerDocument||c,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,m),(d=c.querySelector(zr(e)))&&!d._p&&(m.instance=d,m.state.loading=5),Ht.has(e)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},Ht.set(e,r),d||CS(c,e,r,m.state))),n&&u===null)throw Error(l(528,""));return m}if(n&&u!==null)throw Error(l(529,""));return null;case"script":return n=r.async,r=r.src,typeof r=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=Ti(r),r=Qa(c).hoistableScripts,u=r.get(n),u||(u={type:"script",instance:null,count:0,state:null},r.set(n,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,e))}}function Oi(e){return'href="'+qt(e)+'"'}function zr(e){return'link[rel="stylesheet"]['+e+"]"}function Uv(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function CS(e,n,r,u){e.querySelector('link[rel="preload"][as="style"]['+n+"]")?u.loading=1:(n=e.createElement("link"),u.preload=n,n.addEventListener("load",function(){return u.loading|=1}),n.addEventListener("error",function(){return u.loading|=2}),ft(n,"link",r),at(n),e.head.appendChild(n))}function Ti(e){return'[src="'+qt(e)+'"]'}function jr(e){return"script[async]"+e}function qv(e,n,r){if(n.count++,n.instance===null)switch(n.type){case"style":var u=e.querySelector('style[data-href~="'+qt(r.href)+'"]');if(u)return n.instance=u,at(u),u;var c=y({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),at(u),ft(u,"style",c),Es(u,r.precedence,e),n.instance=u;case"stylesheet":c=Oi(r.href);var d=e.querySelector(zr(c));if(d)return n.state.loading|=4,n.instance=d,at(d),d;u=Uv(r),(c=Ht.get(c))&&Sc(u,c),d=(e.ownerDocument||e).createElement("link"),at(d);var m=d;return m._p=new Promise(function(S,_){m.onload=S,m.onerror=_}),ft(d,"link",u),n.state.loading|=4,Es(d,r.precedence,e),n.instance=d;case"script":return d=Ti(r.src),(c=e.querySelector(jr(d)))?(n.instance=c,at(c),c):(u=r,(c=Ht.get(d))&&(u=y({},r),Ec(u,c)),e=e.ownerDocument||e,c=e.createElement("script"),at(c),ft(c,"link",u),e.head.appendChild(c),n.instance=c);case"void":return null;default:throw Error(l(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(u=n.instance,n.state.loading|=4,Es(u,r.precedence,e));return n.instance}function Es(e,n,r){for(var u=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=u.length?u[u.length-1]:null,d=c,m=0;m<u.length;m++){var S=u[m];if(S.dataset.precedence===n)d=S;else if(d!==c)break}d?d.parentNode.insertBefore(e,d.nextSibling):(n=r.nodeType===9?r.head:r,n.insertBefore(e,n.firstChild))}function Sc(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.title==null&&(e.title=n.title)}function Ec(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.integrity==null&&(e.integrity=n.integrity)}var Os=null;function Vv(e,n,r){if(Os===null){var u=new Map,c=Os=new Map;c.set(r,u)}else c=Os,u=c.get(r),u||(u=new Map,c.set(r,u));if(u.has(e))return u;for(u.set(e,null),r=r.getElementsByTagName(e),c=0;c<r.length;c++){var d=r[c];if(!(d[Ki]||d[pt]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var m=d.getAttribute(n)||"";m=e+m;var S=u.get(m);S?S.push(d):u.set(m,[d])}}return u}function Bv(e,n,r){e=e.ownerDocument||e,e.head.insertBefore(r,n==="title"?e.querySelector("head > title"):null)}function wS(e,n,r){if(r===1||n.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;switch(n.rel){case"stylesheet":return e=n.disabled,typeof n.precedence=="string"&&e==null;default:return!0}case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function Fv(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var Ur=null;function RS(){}function MS(e,n,r){if(Ur===null)throw Error(l(475));var u=Ur;if(n.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var c=Oi(r.href),d=e.querySelector(zr(c));if(d){e=d._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(u.count++,u=Ts.bind(u),e.then(u,u)),n.state.loading|=4,n.instance=d,at(d);return}d=e.ownerDocument||e,r=Uv(r),(c=Ht.get(c))&&Sc(r,c),d=d.createElement("link"),at(d);var m=d;m._p=new Promise(function(S,_){m.onload=S,m.onerror=_}),ft(d,"link",r),n.instance=d}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(u.count++,n=Ts.bind(u),e.addEventListener("load",n),e.addEventListener("error",n))}}function kS(){if(Ur===null)throw Error(l(475));var e=Ur;return e.stylesheets&&e.count===0&&Oc(e,e.stylesheets),0<e.count?function(n){var r=setTimeout(function(){if(e.stylesheets&&Oc(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r)}}:null}function Ts(){if(this.count--,this.count===0){if(this.stylesheets)Oc(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var _s=null;function Oc(e,n){e.stylesheets=null,e.unsuspend!==null&&(e.count++,_s=new Map,n.forEach(LS,e),_s=null,Ts.call(e))}function LS(e,n){if(!(n.state.loading&4)){var r=_s.get(e);if(r)var u=r.get(null);else{r=new Map,_s.set(e,r);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<c.length;d++){var m=c[d];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(r.set(m.dataset.precedence,m),u=m)}u&&r.set(null,u)}c=n.instance,m=c.getAttribute("data-precedence"),d=r.get(m)||u,d===u&&r.set(null,c),r.set(m,c),this.count++,u=Ts.bind(this),c.addEventListener("load",u),c.addEventListener("error",u),d?d.parentNode.insertBefore(c,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),n.state.loading|=4}}var qr={$$typeof:R,Provider:null,Consumer:null,_currentValue:re,_currentValue2:re,_threadCount:0};function zS(e,n,r,u,c,d,m,S){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=mu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mu(0),this.hiddenUpdates=mu(null),this.identifierPrefix=u,this.onUncaughtError=c,this.onCaughtError=d,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=S,this.incompleteTransitions=new Map}function Qv(e,n,r,u,c,d,m,S,_,z,Q,H){return e=new zS(e,n,r,m,S,_,z,H),n=1,d===!0&&(n|=24),d=wt(3,null,null,n),e.current=d,d.stateNode=e,n=no(),n.refCount++,e.pooledCache=n,n.refCount++,d.memoizedState={element:u,isDehydrated:r,cache:n},lo(d),e}function Gv(e){return e?(e=ei,e):ei}function Iv(e,n,r,u,c,d){c=Gv(c),u.context===null?u.context=c:u.pendingContext=c,u=Un(n),u.payload={element:r},d=d===void 0?null:d,d!==null&&(u.callback=d),r=qn(e,u,n),r!==null&&(zt(r,e,n),pr(r,e,n))}function Hv(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<n?r:n}}function Tc(e,n){Hv(e,n),(e=e.alternate)&&Hv(e,n)}function Yv(e){if(e.tag===13){var n=Wa(e,67108864);n!==null&&zt(n,e,67108864),Tc(e,67108864)}}var Ns=!0;function jS(e,n,r,u){var c=k.T;k.T=null;var d=X.p;try{X.p=2,_c(e,n,r,u)}finally{X.p=d,k.T=c}}function US(e,n,r,u){var c=k.T;k.T=null;var d=X.p;try{X.p=8,_c(e,n,r,u)}finally{X.p=d,k.T=c}}function _c(e,n,r,u){if(Ns){var c=Nc(u);if(c===null)fc(e,n,u,xs,r),Xv(e,u);else if(VS(c,e,n,r,u))u.stopPropagation();else if(Xv(e,u),n&4&&-1<qS.indexOf(e)){for(;c!==null;){var d=Fa(c);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var m=da(d.pendingLanes);if(m!==0){var S=d;for(S.pendingLanes|=2,S.entangledLanes|=2;m;){var _=1<<31-Dt(m);S.entanglements[1]|=_,m&=~_}un(d),(ke&6)===0&&(os=jt()+500,Rr(0))}}break;case 13:S=Wa(d,2),S!==null&&zt(S,d,2),fs(),Tc(d,2)}if(d=Nc(u),d===null&&fc(e,n,u,xs,r),d===c)break;c=d}c!==null&&u.stopPropagation()}else fc(e,n,u,null,r)}}function Nc(e){return e=Cu(e),xc(e)}var xs=null;function xc(e){if(xs=null,e=Ba(e),e!==null){var n=o(e);if(n===null)e=null;else{var r=n.tag;if(r===13){if(e=f(n),e!==null)return e;e=null}else if(r===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null)}}return xs=e,null}function Pv(e){switch(e){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(yu()){case sd:return 2;case ud:return 8;case gl:case _0:return 32;case od:return 268435456;default:return 32}default:return 32}}var Ac=!1,Jn=null,$n=null,Wn=null,Vr=new Map,Br=new Map,ea=[],qS="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".split(" ");function Xv(e,n){switch(e){case"focusin":case"focusout":Jn=null;break;case"dragenter":case"dragleave":$n=null;break;case"mouseover":case"mouseout":Wn=null;break;case"pointerover":case"pointerout":Vr.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Br.delete(n.pointerId)}}function Fr(e,n,r,u,c,d){return e===null||e.nativeEvent!==d?(e={blockedOn:n,domEventName:r,eventSystemFlags:u,nativeEvent:d,targetContainers:[c]},n!==null&&(n=Fa(n),n!==null&&Yv(n)),e):(e.eventSystemFlags|=u,n=e.targetContainers,c!==null&&n.indexOf(c)===-1&&n.push(c),e)}function VS(e,n,r,u,c){switch(n){case"focusin":return Jn=Fr(Jn,e,n,r,u,c),!0;case"dragenter":return $n=Fr($n,e,n,r,u,c),!0;case"mouseover":return Wn=Fr(Wn,e,n,r,u,c),!0;case"pointerover":var d=c.pointerId;return Vr.set(d,Fr(Vr.get(d)||null,e,n,r,u,c)),!0;case"gotpointercapture":return d=c.pointerId,Br.set(d,Fr(Br.get(d)||null,e,n,r,u,c)),!0}return!1}function Kv(e){var n=Ba(e.target);if(n!==null){var r=o(n);if(r!==null){if(n=r.tag,n===13){if(n=f(r),n!==null){e.blockedOn=n,M0(e.priority,function(){if(r.tag===13){var u=Lt();u=gu(u);var c=Wa(r,u);c!==null&&zt(c,r,u),Tc(r,u)}});return}}else if(n===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function As(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var r=Nc(e.nativeEvent);if(r===null){r=e.nativeEvent;var u=new r.constructor(r.type,r);Du=u,r.target.dispatchEvent(u),Du=null}else return n=Fa(r),n!==null&&Yv(n),e.blockedOn=r,!1;n.shift()}return!0}function Zv(e,n,r){As(e)&&r.delete(n)}function BS(){Ac=!1,Jn!==null&&As(Jn)&&(Jn=null),$n!==null&&As($n)&&($n=null),Wn!==null&&As(Wn)&&(Wn=null),Vr.forEach(Zv),Br.forEach(Zv)}function Ds(e,n){e.blockedOn===n&&(e.blockedOn=null,Ac||(Ac=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,BS)))}var Cs=null;function Jv(e){Cs!==e&&(Cs=e,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){Cs===e&&(Cs=null);for(var n=0;n<e.length;n+=3){var r=e[n],u=e[n+1],c=e[n+2];if(typeof u!="function"){if(xc(u||r)===null)continue;break}var d=Fa(r);d!==null&&(e.splice(n,3),n-=3,xo(d,{pending:!0,data:c,method:r.method,action:u},u,c))}}))}function Qr(e){function n(_){return Ds(_,e)}Jn!==null&&Ds(Jn,e),$n!==null&&Ds($n,e),Wn!==null&&Ds(Wn,e),Vr.forEach(n),Br.forEach(n);for(var r=0;r<ea.length;r++){var u=ea[r];u.blockedOn===e&&(u.blockedOn=null)}for(;0<ea.length&&(r=ea[0],r.blockedOn===null);)Kv(r),r.blockedOn===null&&ea.shift();if(r=(e.ownerDocument||e).$$reactFormReplay,r!=null)for(u=0;u<r.length;u+=3){var c=r[u],d=r[u+1],m=c[Ot]||null;if(typeof d=="function")m||Jv(r);else if(m){var S=null;if(d&&d.hasAttribute("formAction")){if(c=d,m=d[Ot]||null)S=m.formAction;else if(xc(c)!==null)continue}else S=m.action;typeof S=="function"?r[u+1]=S:(r.splice(u,3),u-=3),Jv(r)}}}function Dc(e){this._internalRoot=e}ws.prototype.render=Dc.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(l(409));var r=n.current,u=Lt();Iv(r,u,e,n,null,null)},ws.prototype.unmount=Dc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Iv(e.current,2,null,e,null,null),fs(),n[Va]=null}};function ws(e){this._internalRoot=e}ws.prototype.unstable_scheduleHydration=function(e){if(e){var n=pd();e={blockedOn:null,target:e,priority:n};for(var r=0;r<ea.length&&n!==0&&n<ea[r].priority;r++);ea.splice(r,0,e),r===0&&Kv(e)}};var $v=t.version;if($v!=="19.1.0")throw Error(l(527,$v,"19.1.0"));X.findDOMNode=function(e){var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(l(188)):(e=Object.keys(e).join(","),Error(l(268,e)));return e=v(n),e=e!==null?p(e):null,e=e===null?null:e.stateNode,e};var FS={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:k,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Rs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Rs.isDisabled&&Rs.supportsFiber)try{Yi=Rs.inject(FS),At=Rs}catch{}}return Kr.createRoot=function(e,n){if(!s(e))throw Error(l(299));var r=!1,u="",c=pp,d=vp,m=yp,S=null;return n!=null&&(n.unstable_strictMode===!0&&(r=!0),n.identifierPrefix!==void 0&&(u=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(m=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(S=n.unstable_transitionCallbacks)),n=Qv(e,1,!1,null,null,r,u,c,d,m,S,null),e[Va]=n.current,cc(e),new Dc(n)},Kr.hydrateRoot=function(e,n,r){if(!s(e))throw Error(l(299));var u=!1,c="",d=pp,m=vp,S=yp,_=null,z=null;return r!=null&&(r.unstable_strictMode===!0&&(u=!0),r.identifierPrefix!==void 0&&(c=r.identifierPrefix),r.onUncaughtError!==void 0&&(d=r.onUncaughtError),r.onCaughtError!==void 0&&(m=r.onCaughtError),r.onRecoverableError!==void 0&&(S=r.onRecoverableError),r.unstable_transitionCallbacks!==void 0&&(_=r.unstable_transitionCallbacks),r.formState!==void 0&&(z=r.formState)),n=Qv(e,1,!0,n,r??null,u,c,d,m,S,_,z),n.context=Gv(null),r=n.current,u=Lt(),u=gu(u),c=Un(u),c.callback=null,qn(r,c,u),r=u,n.current.lanes=r,Xi(n,r),un(n),e[Va]=n.current,cc(e),new ws(n)},Kr.version="19.1.0",Kr}var hm;function H_(){if(hm)return Pc.exports;hm=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(t){console.error(t)}}return i(),Pc.exports=I_(),Pc.exports}var fu=H_();const Y_=Kt` 106query { 107 localization { 108 availableCountries { 109 currency { 110 isoCode 111 name 112 symbol 113 } 114 isoCode 115 name 116 } 117 } 118} 119`,P_=Kt` 120query Policy($languageCode: LanguageCode!) @inContext(language:$languageCode) { 121 shop { 122 refundPolicy { 123 body 124 } 125 privacyPolicy { 126 body 127 } 128 termsOfService { 129 body 130 } 131 shippingPolicy { 132 body 133 } 134 } 135} 136`,X_=Kt` 137query ProductById($productId: ID!, $countryCode: CountryCode!) @inContext(country: $countryCode) { 138 product(id: $productId) { 139 title, 140 availableForSale, 141 variants(first: 1) { 142 edges { 143 node { 144 id 145 price { 146 amount 147 currencyCode 148 } 149 compareAtPrice { 150 amount 151 currencyCode 152 } 153 } 154 } 155 } 156 } 157} 158`,K_=Kt` 159mutation CreateCart($cartInput: CartInput!, $languageCode: LanguageCode!) @inContext(language:$languageCode) { 160 cartCreate(input: $cartInput) { 161 cart { 162 id 163 checkoutUrl 164 cost { 165 totalAmount { 166 amount 167 currencyCode 168 } 169 } 170 lines(first: 5) { 171 edges { 172 node { 173 id 174 merchandise { 175 ... on ProductVariant { 176 id 177 title 178 } 179 } 180 quantity 181 attributes { 182 key 183 value 184 } 185 } 186 } 187 } 188 attributes { 189 key 190 value 191 } 192 buyerIdentity { 193 countryCode 194 } 195 } 196 } 197} 198`;Kt` 199mutation CartLinesAdd($cartId: ID!, $lines: [CartLineInput!]!) { 200 cartLinesAdd(cartId: $cartId, lines: $lines) { 201 cart { 202 id 203 checkoutUrl 204 cost { 205 totalAmount { 206 amount 207 currencyCode 208 } 209 } 210 lines(first: 5) { 211 edges { 212 node { 213 id 214 merchandise { 215 ... on ProductVariant { 216 id 217 title 218 } 219 } 220 quantity 221 } 222 } 223 } 224 attributes { 225 key 226 value 227 } 228 } 229 userErrors { 230 field 231 message 232 } 233 warnings { 234 message 235 } 236 } 237} 238`;Kt` 239mutation CartLinesRemove($cartId: ID!, $lineIds: [ID!]!) { 240 cartLinesRemove(cartId: $cartId, lineIds: $lineIds) { 241 cart { 242 id 243 checkoutUrl 244 cost { 245 totalAmount { 246 amount 247 currencyCode 248 } 249 } 250 lines(first: 5) { 251 edges { 252 node { 253 id 254 merchandise { 255 ... on ProductVariant { 256 id 257 title 258 } 259 } 260 quantity 261 } 262 } 263 } 264 attributes { 265 key 266 value 267 } 268 } 269 userErrors { 270 field 271 message 272 } 273 warnings { 274 message 275 } 276 } 277} 278`;Kt` 279mutation CartAttributesUpdate($cartId: ID!, $attributes: [AttributeInput!]!) {
280 cartAttributesUpdate(attributes: $attributes, cartId: $cartId) { 281 cart { 282 id 283 checkoutUrl 284 cost { 285 totalAmount { 286 amount 287 currencyCode 288 } 289 } 290 lines(first: 5) { 291 edges { 292 node { 293 id 294 merchandise { 295 ... on ProductVariant { 296 id 297 title 298 } 299 } 300 quantity 301 } 302 } 303 } 304 attributes { 305 key 306 value 307 } 308 } 309 userErrors { 310 field 311 message 312 } 313 warnings { 314 message 315 } 316 } 317} 318`;function l0(){const[i,{loading:t,error:a}]=q_(K_);return{cartCreate:ee.useCallback(async(s,o,f,h=[])=>{const{data:v}=await i({variables:{cartInput:{lines:[{quantity:1,merchandiseId:f,attributes:h}],buyerIdentity:{countryCode:s}},languageCode:o.replace(/-/g,"_").toUpperCase()}});return v?.cartCreate?.cart},[i]),loading:t,error:a}}function s0(){const{data:i,loading:t,error:a}=id(Y_);return{data:i?.localization.availableCountries,loading:t,error:a}}function u0(i,t,a){const l=!i,{data:s,loading:o,error:f}=id(X_,{skip:l,variables:{productId:a,countryCode:i}});return{data:ee.useMemo(()=>{if(o||l)return null;const v={availableInCountry:!1,availableForSale:!1,title:null,price:null,compareAtPrice:null};if(!s?.product)return v;const p=s.product.variants.edges?.[0]?.node;if(!p)return v;const y=pm(p.price,i,t),g=pm(p.compareAtPrice,i,t);return{availableInCountry:!0,availableForSale:s.product.availableForSale,title:s.product.title,price:y,compareAtPrice:g}},[s,o,l,i,t]),loading:o,error:f}}function Z_(i,t){const{data:a,loading:l,error:s}=id(P_,{variables:{languageCode:t.replace(/-/g,"_").toUpperCase()}});var o;switch(i){case"refund":o=a?.shop.refundPolicy?.body;break;case"terms":o=a?.shop.termsOfService?.body;break;case"privacy":o=a?.shop.privacyPolicy?.body;break;case"shipping":o=a?.shop.shippingPolicy?.body;break;default:o=null}return{data:o,loading:l,error:s}}const J_=(i,t)=>new Intl.Locale(t.replace(/_/g,"-"),{region:i.toUpperCase()}),pm=(i,t,a)=>{const{amount:l,currencyCode:s}=i??{};return l&&s?new Intl.NumberFormat(J_(t,a),{style:"currency",currency:s}).format(l):null};function $_({title:i,subtitle:t,placeholderTitle:a,placeholderSubtitle:l,productId:s,variantId:o,checkoutLanguage:f,userCountryCode:h}){const[v,p]=ee.useState(null),[y,g]=ee.useState(null),{cartCreate:b}=l0(),{data:E,loading:O,error:A}=s0(),{data:x,loading:T,error:C}=u0(y,f,s),R=A||C,j=T||O;if(R&&(C&&console.error(C?.message??""),A&&console.error(A?.message??"")),ee.useEffect(()=>{if(E&&h){const B=W_(E,h);B.isoCode!==y&&g(B.isoCode)}},[E,h,y]),ee.useEffect(()=>{let B=!0;return p(null),y&&f&&b(y,f,o).then(J=>{if(B){if(!J?.checkoutUrl)throw new Error("No checkout URL returned.");p(J.checkoutUrl)}}).catch(J=>{B&&console.error(J)}),()=>{B=!1}},[b,y,f,o]),j||R)return P.jsxs("a",{className:"btn btn-outline-primary btn-lg btn-download disabled",href:"#",role:"button",children:[P.jsx("i",{className:"fas fa-shopping-cart fa-sm"})," ",a,P.jsx("div",{className:"subline",children:l})]});const U=i.replace("{price}",x?.price),F=t.replace("{price}",x?.price);return y==null||v==null?P.jsxs("a",{className:"btn btn-outline-primary btn-lg btn-download disabled",href:"#",role:"button",children:[P.jsx("i",{className:"fas fa-shopping-cart fa-sm"})," ",a,P.jsx("div",{className:"subline",children:l})]}):P.jsxs("a",{className:"btn btn-outline-primary btn-lg btn-download",href:v,target:"_blank",role:"button",children:[P.jsx("i",{className:"fas fa-shopping-cart fa-sm"})," ",U,P.jsx("div",{className:"subline",children:F})]})}const W_=(i,t)=>{const a={currency:{isoCode:"USD",name:"United States Dollar",symbol:"$"},isoCode:"US",name:"United States"};if(i&&t){const l=i.find(s=>s.isoCode===t);return l===void 0?a:l}return a};var Jc,vm;function e1(){return vm||(vm=1,Jc={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),Jc}var t1=e1();const n1=Lm(t1);var a1=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function ym(i){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},a=i.match(/<\/?([^\s]+?)[/\s>]/);if(a&&(t.name=a[1],(n1[a[1]]||i.charAt(i.length-2)==="/")&&(t.voidElement=!0),t.name.startsWith("!--"))){var l=i.indexOf("-->");return{type:"comment",comment:l!==-1?i.slice(4,l):""}}for(var s=new RegExp(a1),o=null;(o=s.exec(i))!==null;)if(o[0].trim())if(o[1]){var f=o[1].trim(),h=[f,""];f.indexOf("=")>-1&&(h=f.split("=")),t.attrs[h[0]]=h[1],s.lastIndex--}else o[2]&&(t.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return t}var i1=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,r1=/^\s*$/,l1=Object.create(null);function o0(i,t){switch(t.type){case"text":return i+t.content;case"tag":return i+="<"+t.name+(t.attrs?function(a){var l=[];for(var s in a)l.push(s+'="'+a[s]+'"');return l.length?" "+l.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?i:i+t.children.reduce(o0,"")+"</"+t.name+">";
vendor: 5,759 bytes, line 318
318case"comment":return i+"<!--"+t.comment+"-->"}}var s1={parse:function(i,t){t||(t={}),t.components||(t.components=l1);var a,l=[],s=[],o=-1,f=!1;if(i.indexOf("<")!==0){var h=i.indexOf("<");l.push({type:"text",content:h===-1?i:i.substring(0,h)})}return i.replace(i1,function(v,p){if(f){if(v!=="</"+a.name+">")return;f=!1}var y,g=v.charAt(1)!=="/",b=v.startsWith("<!--"),E=p+v.length,O=i.charAt(E);if(b){var A=ym(v);return o<0?(l.push(A),l):((y=s[o]).children.push(A),l)}if(g&&(o++,(a=ym(v)).type==="tag"&&t.components[a.name]&&(a.type="component",f=!0),a.voidElement||f||!O||O==="<"||a.children.push({type:"text",content:i.slice(E,i.indexOf("<",E))}),o===0&&l.push(a),(y=s[o-1])&&y.children.push(a),s[o]=a),(!g||a.voidElement)&&(o>-1&&(a.voidElement||a.name===v.slice(2,-1))&&(o--,a=o===-1?l:s[o]),!f&&O!=="<"&&O)){y=o===-1?l:s[o].children;var x=i.indexOf("<",E),T=i.slice(E,x===-1?void 0:x);r1.test(T)&&(T=" "),(x>-1&&o+y.length>=0||T!==" ")&&y.push({type:"text",content:T})}}),l},stringify:function(i){return i.reduce(function(t,a){return t+o0("",a)},"")}};const Ys=(i,t,a,l)=>{const s=[a,{code:t,...l||{}}];if(i?.services?.logger?.forward)return i.services.logger.forward(s,"warn","react-i18next::",!0);Pt(s[0])&&(s[0]=`react-i18next:: ${s[0]}`),i?.services?.logger?.warn?i.services.logger.warn(...s):console?.warn&&console.warn(...s)},mm={},dl=(i,t,a,l)=>{Pt(a)&&mm[a]||(Pt(a)&&(mm[a]=new Date),Ys(i,t,a,l))},c0=(i,t)=>()=>{if(i.isInitialized)t();else{const a=()=>{setTimeout(()=>{i.off("initialized",a)},0),t()};i.on("initialized",a)}},Af=(i,t,a)=>{i.loadNamespaces(t,c0(i,a))},gm=(i,t,a,l)=>{if(Pt(a)&&(a=[a]),i.options.preload&&i.options.preload.indexOf(t)>-1)return Af(i,a,l);a.forEach(s=>{i.options.ns.indexOf(s)<0&&i.options.ns.push(s)}),i.loadLanguages(t,c0(i,l))},u1=(i,t,a={})=>!t.languages||!t.languages.length?(dl(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(i,{lng:a.lng,precheck:(l,s)=>{if(a.bindI18n?.indexOf("languageChanging")>-1&&l.services.backendConnector.backend&&l.isLanguageChangingTo&&!s(l.isLanguageChangingTo,i))return!1}}),Pt=i=>typeof i=="string",la=i=>typeof i=="object"&&i!==null,o1=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,c1={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"â¦","…":"â¦","/":"/","/":"/"},f1=i=>c1[i],d1=i=>i.replace(o1,f1);let Df={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:d1};const h1=(i={})=>{Df={...Df,...i}},f0=()=>Df;let d0;const p1=i=>{d0=i},rd=()=>d0,$c=(i,t)=>{if(!i)return!1;const a=i.props?.children??i.children;return t?a.length>0:!!a},Wc=i=>{if(!i)return[];const t=i.props?.children??i.children;return i.props?.i18nIsDynamicList?Mi(t):t},v1=i=>Array.isArray(i)&&i.every(ee.isValidElement),Mi=i=>Array.isArray(i)?i:[i],y1=(i,t)=>{const a={...t};return a.props=Object.assign(i.props,t.props),a},h0=(i,t,a,l)=>{if(!i)return"";let s="";const o=Mi(i),f=t?.transSupportBasicHtmlNodes?t.transKeepBasicHtmlNodesFor??[]:[];return o.forEach((h,v)=>{if(Pt(h)){s+=`${h}`;return}if(ee.isValidElement(h)){const{props:p,type:y}=h,g=Object.keys(p).length,b=f.indexOf(y)>-1,E=p.children;if(!E&&b&&!g){s+=`<${y}/>`;return}if(!E&&(!b||g)||p.i18nIsDynamicList){s+=`<${v}></${v}>`;return}if(b&&g===1&&Pt(E)){s+=`<${y}>${E}</${y}>`;return}const O=h0(E,t,a,l);s+=`<${v}>${O}</${v}>`;return}if(h===null){Ys(a,"TRANS_NULL_VALUE","Passed in a null value as child",{i18nKey:l});return}if(la(h)){const{format:p,...y}=h,g=Object.keys(y);if(g.length===1){const b=p?`${g[0]}, ${p}`:g[0];s+=`{{${b}}}`;return}Ys(a,"TRANS_INVALID_OBJ","Invalid child - Object should only have keys {{ value, format }} (format is optional).",{i18nKey:l,child:h});return}Ys(a,"TRANS_INVALID_VAR","Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.",{i18nKey:l,child:h})}),s},m1=(i,t,a,l,s,o,f)=>{if(a==="")return[];const h=s.transKeepBasicHtmlNodesFor||[],v=a&&new RegExp(h.map(T=>`<${T}`).join("|")).test(a);if(!i&&!t&&!v&&!f)return[a];const p=t??{},y=T=>{Mi(T).forEach(R=>{Pt(R)||($c(R)?y(Wc(R)):la(R)&&!ee.isValidElement(R)&&Object.assign(p,R))})};y(i);const g=s1.parse(`<0>${a}</0>`),b={...p,...o},E=(T,C,R)=>{const j=Wc(T),U=A(j,C.children,R);return v1(j)&&U.length===0||T.props?.i18nIsDynamicList?j:U},O=(T,C,R,j,U)=>{T.dummy?(T.children=C,R.push(ee.cloneElement(T,{key:j},U?void 0:C))):R.push(...ee.Children.map([T],F=>{const B={...F.props};return delete B.i18nIsDynamicList,ee.createElement(F.type,{...B,key:j,ref:F.props.ref??F.ref},U?null:C)}))},A=(T,C,R)=>{const j=Mi(T);return Mi(C).reduce((F,B,J)=>{const ie=B.children?.[0]?.content&&l.services.interpolator.interpolate(B.children[0].content,b,l.language);if(B.type==="tag"){let se=j[parseInt(B.name,10)];!se&&t&&(se=t[B.name]),R.length===1&&!se&&(se=R[0][B.name]),se||(se={});const pe=Object.keys(B.attrs).length!==0?y1({props:B.attrs},se):se,_e=ee.isValidElement(pe),oe=_e&&$c(B,!0)&&!B.voidElement,$=v&&la(pe)&&pe.dummy&&!_e,ye=la(t)&&Object.hasOwnProperty.call(t,B.name);if(Pt(pe)){const k=l.services.interpolator.interpolate(pe,b,l.language);F.push(k)}else if($c(pe)||oe){const k=E(pe,B,R);O(pe,k,F,J)}else if($){const k=A(j,B.children,R);O(pe,k,F,J)}else if(Number.isNaN(parseFloat(B.name)))if(ye){const k=E(pe,B,R);O(pe,k,F,J,B.voidElement)}else if(s.transSupportBasicHtmlNodes&&h.indexOf(B.name)>-1)if(B.voidElement)F.push(ee.createElement(B.name,{key:`${B.name}-${J}`}));
318else{const k=A(j,B.children,R);F.push(ee.createElement(B.name,{key:`${B.name}-${J}`},k))}else if(B.voidElement)F.push(`<${B.name} />`);else{const k=A(j,B.children,R);F.push(`<${B.name}>${k}</${B.name}>`)}else if(la(pe)&&!_e){const k=B.children[0]?ie:null;k&&F.push(k)}else O(pe,ie,F,J,B.children.length!==1||!ie)}else if(B.type==="text"){const se=s.transWrapTextNodes,pe=f?s.unescape(l.services.interpolator.interpolate(B.content,b,l.language)):l.services.interpolator.interpolate(B.content,b,l.language);se?F.push(ee.createElement(se,{key:`${B.name}-${J}`},pe)):F.push(pe)}return F},[])},x=A([{dummy:!0,children:i||[]}],g,Mi(i||[]));return Wc(x[0])},p0=(i,t,a)=>{const l=i.key||t,s=ee.cloneElement(i,{key:l});if(!s.props||!s.props.children||a.indexOf(`${t}/>`)<0&&a.indexOf(`${t} />`)<0)return s;function o(){return ee.createElement(ee.Fragment,null,s)}return ee.createElement(o,{key:l})},g1=(i,t)=>i.map((a,l)=>p0(a,l,t)),b1=(i,t)=>{const a={};return Object.keys(i).forEach(l=>{Object.assign(a,{[l]:p0(i[l],l,t)})}),a},S1=(i,t,a,l)=>i?Array.isArray(i)?g1(i,t):la(i)?b1(i,t):(dl(a,"TRANS_INVALID_COMPONENTS",'<Trans /> "components" prop expects an object or array',{i18nKey:l}),null):null,E1=i=>!la(i)||Array.isArray(i)?!1:Object.keys(i).reduce((t,a)=>t&&Number.isNaN(Number.parseFloat(a)),!0);function O1({children:i,count:t,parent:a,i18nKey:l,context:s,tOptions:o={},values:f,defaults:h,components:v,ns:p,i18n:y,t:g,shouldUnescape:b,...E}){const O=y||rd();if(!O)return dl(O,"NO_I18NEXT_INSTANCE","Trans: You need to pass in an i18next instance using i18nextReactModule",{i18nKey:l}),i;const A=g||O.t.bind(O)||($=>$),x={...f0(),...O.options?.react};let T=p||A.ns||O.options?.defaultNS;T=Pt(T)?[T]:T||["translation"];const C=h0(i,x,O,l),R=h||C||x.transEmptyNodeValue||l,{hashTransKey:j}=x,U=l||(j?j(C||R):C||R);O.options?.interpolation?.defaultVariables&&(f=f&&Object.keys(f).length>0?{...f,...O.options.interpolation.defaultVariables}:{...O.options.interpolation.defaultVariables});const F=f||t!==void 0&&!O.options?.interpolation?.alwaysFormat||!i?o.interpolation:{interpolation:{...o.interpolation,prefix:"#$?",suffix:"?$#"}},B={...o,context:s||o.context,count:t,...f,...F,defaultValue:R,ns:T},J=U?A(U,B):R,ie=S1(v,J,O,l);let se=ie||i,pe=null;E1(ie)&&(pe=ie,se=i);const _e=m1(se,pe,J,O,x,B,b),oe=a??x.defaultTransParent;return oe?ee.createElement(oe,E,_e):_e}const T1={type:"3rdParty",init(i){h1(i.options.react),p1(i)}},v0=ee.createContext();class _1{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(a=>{this.usedNamespaces[a]||(this.usedNamespaces[a]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function N1({children:i,count:t,parent:a,i18nKey:l,context:s,tOptions:o={},values:f,defaults:h,components:v,ns:p,i18n:y,t:g,shouldUnescape:b,...E}){const{i18n:O,defaultNS:A}=ee.useContext(v0)||{},x=y||O||rd(),T=g||x?.t.bind(x);return O1({children:i,count:t,parent:a,i18nKey:l,context:s,tOptions:o,values:f,defaults:h,components:v,ns:p||T?.ns||A||x?.options?.defaultNS,i18n:x,t:g,shouldUnescape:b,...E})}const x1=(i,t)=>{const a=ee.useRef();return ee.useEffect(()=>{a.current=i},[i,t]),a.current},y0=(i,t,a,l)=>i.getFixedT(t,a,l),A1=(i,t,a,l)=>ee.useCallback(y0(i,t,a,l),[i,t,a,l]),ld=(i,t={})=>{const{i18n:a}=t,{i18n:l,defaultNS:s}=ee.useContext(v0)||{},o=a||l||rd();if(o&&!o.reportNamespaces&&(o.reportNamespaces=new _1),!o){dl(o,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const j=(F,B)=>Pt(B)?B:la(B)&&Pt(B.defaultValue)?B.defaultValue:Array.isArray(F)?F[F.length-1]:F,U=[j,{},!1];return U.t=j,U.i18n={},U.ready=!1,U}o.options.react?.wait&&dl(o,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const f={...f0(),...o.options.react,...t},{useSuspense:h,keyPrefix:v}=f;let p=s||o.options?.defaultNS;p=Pt(p)?[p]:p||["translation"],o.reportNamespaces.addUsedNamespaces?.(p);const y=(o.isInitialized||o.initializedStoreOnce)&&p.every(j=>u1(j,o,f)),g=A1(o,t.lng||null,f.nsMode==="fallback"?p:p[0],v),b=()=>g,E=()=>y0(o,t.lng||null,f.nsMode==="fallback"?p:p[0],v),[O,A]=ee.useState(b);let x=p.join();t.lng&&(x=`${t.lng}${x}`);const T=x1(x),C=ee.useRef(!0);ee.useEffect(()=>{const{bindI18n:j,bindI18nStore:U}=f;C.current=!0,!y&&!h&&(t.lng?gm(o,t.lng,p,()=>{C.current&&A(E)}):Af(o,p,()=>{C.current&&A(E)})),y&&T&&T!==x&&C.current&&A(E);const F=()=>{C.current&&A(E)};return j&&o?.on(j,F),U&&o?.store.on(U,F),()=>{C.current=!1,o&&j?.split(" ").forEach(B=>o.off(B,F)),U&&o&&U.split(" ").forEach(B=>o.store.off(B,F))}},[o,x]),ee.useEffect(()=>{C.current&&y&&A(b)},[o,v,y]);const R=[O,o,y];if(R.t=O,R.i18n=o,R.ready=y,y||!y&&!h)return R;throw new Promise(j=>{t.lng?gm(o,t.lng,p,()=>j()):Af(o,p,()=>j())})},D1="gid://shopify/Product/9720530633033",C1="gid://shopify/ProductVariant/53746044272969",w1=` 319 .btn.mc-buy-button { 320 transition: width 250ms ease, color 150ms ease-in-out, 321 background-color 150ms ease-in-out, border-color 150ms ease-in-out, 322 box-shadow 150ms ease-in-out; 323 } 324 .mc-buy-button-label { 325 display: inline-block; 326 white-space: nowrap; 327 } 328 @media (prefers-reduced-motion: reduce) { 329 .btn.mc-buy-button { transition: none; } 330 } 331`,m0="https://item.rakuten.co.jp/junostradingstore/motorcom-bmw-exv/",g0="https://autotopnl.shop/products/motorcom-bmw-plug-play-exhaust-valve-controller",R1=new Set(["JP"]),b0=new Set(["AT","BE","BG","HR","CY","CZ","DE","DK","EE","FI","FR","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE"]),M1=new Set([...b0].filter(i=>i!=="DE")),k1=i=>{const t=i?.trim().toUpperCase();return R1.has(t)?m0:M1.has(t)?g0:null},S0=({apiEndpoint:i,userLanguage:t,series:a,fullWidth:l=!1,displayShippingInfo:s=!1})=>{const{t:o}=ld(),f=`/${o("legalGuaranteeNoticeImage")}`,h=ee.useId().replace(/:/g,"_"),v=`modalConsent_${h}`,p=`modalUnavailable_${h}`,y=`checkboxConsent_${h}`,g=`warrantyNotice_${h}`,[b,E]=ee.useState(null),[O,A]=ee.useState(null),x=k1(O),T=b0.has(O?.trim().toUpperCase()),[C,R]=ee.useState(!1),[j,U]=ee.useState("F"),F=a===void 0,B=F?j:a,J=ee.useRef(null),ie=ee.useRef(null),se=ee.useRef(null),[pe,_e]=ee.useState(null),oe=ee.useRef(null),$=ee.useRef(null),{cartCreate:ye,error:k}=l0(),{data:X,loading:re,error:fe}=s0(),{data:N,loading:G,error:K}
331=u0(b,t,D1);ee.useEffect(()=>{const Ee=document.getElementById(v),ht=document.getElementById(p);return Ee&&(oe.current=bootstrap.Modal.getOrCreateInstance(Ee)),ht&&($.current=bootstrap.Modal.getOrCreateInstance(ht)),()=>{oe.current?.dispose?.(),$.current?.dispose?.()}},[v,p]),ee.useEffect(()=>{const Ee=document.getElementById(y);if(!Ee)return;const ht=new bootstrap.Tooltip(Ee);return J.current=ht,()=>ht.dispose()},[y]),ee.useEffect(()=>{fetch(i).then(Ee=>Ee.json()).then(Ee=>A(Ee.userCountryCode)).catch(Ee=>console.error("Error loading user country data:",Ee))},[i]),ee.useEffect(()=>{if(X&&O){const Ee=bm(X,O);Ee.isoCode!==b&&E(Ee.isoCode)}},[X,O,b]),ee.useEffect(()=>{K&&console.error(K?.message),k&&console.error(k?.message),fe&&console.error(fe?.message)},[K,k,fe]);const Z=!x&&N?.availableInCountry&&!N?.availableForSale,le=!!(O&&b&&X&&N&&!re&&!G&&!fe&&!K),xe=o(x||!le?"buyNow":Z?"soldOut":"buyNowPrice"),ve=s&&!x&&le&&N?.availableInCountry&&N?.availableForSale;ee.useLayoutEffect(()=>{if(l)return;const Ee=ie.current,ht=se.current;if(!Ee||!ht)return;const Rn=()=>{const pu=window.getComputedStyle(Ee),vu=["paddingLeft","paddingRight","borderLeftWidth","borderRightWidth"].reduce((jt,yu)=>jt+(parseFloat(pu[yu])||0),0);_e(Math.ceil(ht.getBoundingClientRect().width+vu))};Rn();const qa=new ResizeObserver(Rn);return qa.observe(ht),window.addEventListener("resize",Rn),()=>{qa.disconnect(),window.removeEventListener("resize",Rn)}},[xe,l]);const bt=ee.useMemo(()=>{const Ee=bm(X,b);return Ee?Ee.isoCode==="US"?o("unavailableTitleUS"):o("unavailableTitle",{country:Ee.name}):o("unavailableTitleGeneral")},[X,b,o]),Fe=!!B&&!Z,nn=()=>{if(x){window.open(x,"_blank","noopener,noreferrer");return}N?.availableInCountry===!1?$.current?.show():oe.current?.show()},Hi=ee.useMemo(()=>B==="F"?o("optionF"):B==="G"?o("optionG"):B??"",[B,o]);return P.jsxs(P.Fragment,{children:[P.jsx("style",{children:w1}),P.jsx("a",{ref:ie,role:"button",className:`btn btn-primary btn-lg mc-buy-button ${l?"w-100":""} ${Z?"disabled":""}`,style:l||pe===null?void 0:{width:pe},onClick:nn,children:P.jsx("span",{ref:se,className:l?void 0:"mc-buy-button-label",children:xe})}),x===m0&&P.jsx("div",{className:`d-flex align-items-center mt-4 text-secondary small ${l?"justify-content-center text-center":"justify-content-start text-start"}`,children:P.jsx("span",{children:o("partnerJPNotice")})}),x===g0&&P.jsx("div",{className:`d-flex align-items-center mt-4 text-secondary small ${l?"justify-content-center text-center":"justify-content-start text-start"}`,children:P.jsx("span",{children:o("partnerEUNotice")})}),P.jsxs("div",{className:`d-flex align-items-center mt-2 text-success small ${l?"justify-content-center text-center":"justify-content-start text-start"}`,style:{minHeight:"1lh"},children:[P.jsx("span",{className:"me-2 rounded-circle flex-shrink-0 bg-success",style:{width:10,height:10,visibility:ve?"visible":"hidden"},"aria-hidden":"true"}),P.jsx("span",{className:"text-nowrap",children:ve?o("stockText"):""})]}),P.jsx("div",{className:"modal fade",id:v,"aria-hidden":"true",tabIndex:"1",children:P.jsx("div",{className:"modal-dialog modal-dialog-centered",children:P.jsxs("div",{className:"modal-content text-start",children:[P.jsx("div",{className:"modal-header",children:P.jsx("h5",{children:o(F?"consentTitle":"legalNotice")})}),P.jsxs("div",{className:"modal-body",children:[F?P.jsxs("div",{className:"mb-4",children:[P.jsx("div",{className:"pt-2 mb-3 fw-semibold",children:o("seriesSelect")}),P.jsx("div",{className:"btn-group w-100",role:"group",children:["F","G"].map(Ee=>P.jsxs(ee.Fragment,{children:[P.jsx("input",{type:"radio",className:"btn-check",name:`bmwSeries_${h}`,id:`bmwSeries${Ee}_${h}`,autoComplete:"off",checked:j===Ee,onChange:()=>U(Ee)}),P.jsx("label",{className:"btn btn-outline-primary w-50 py-3",htmlFor:`bmwSeries${Ee}_${h}`,children:o(Ee==="F"?"productFSeries":"productGSeries")})]},Ee))})]}):P.jsx("p",{className:"mb-3",children:o("consentText")}),P.jsx("div",{className:"alert alert-secondary p-2 mb-2",children:P.jsxs("div",{className:"form-check",children:[P.jsx("input",{className:"form-check-input",type:"checkbox",id:y,checked:C,onChange:()=>R(!C),"data-bs-toggle":"tooltip","data-bs-trigger":"manual","data-bs-title":o("consentTooltip")}),P.jsx("label",{className:"form-check-label",htmlFor:y,children:o("consentMessage")})]})}),!B&&P.jsx("div",{className:"alert alert-warning p-2 mb-0",children:"series fehlt in compatibility.json für diese Generation."}),T&&P.jsxs("div",{className:"border rounded p-3 mt-3",children:[P.jsxs("button",{type:"button",className:"btn p-0 border-0 text-start w-100 collapsed","data-bs-toggle":"collapse","data-bs-target":`#${g}`,"aria-expanded":"false","aria-controls":g,children:[P.jsx("span",{className:"fw-semibold",children:o("legalGuaranteeTitle")}),P.jsx("span",{className:"d-block mt-1",children:o("legalGuaranteeSummary")}
331),P.jsx("span",{className:"d-block mt-2 text-primary text-decoration-underline",children:o("legalGuaranteeLearnMore")})]}),P.jsx("div",{className:"collapse",id:g,children:P.jsx("a",{href:f,target:"_blank",rel:"noopener noreferrer",className:"d-block pt-3",children:P.jsx("img",{src:f,alt:o("legalGuaranteeNoticeAlt"),className:"img-fluid w-100",width:1240,height:1753})})})]})]}),P.jsxs("div",{className:"modal-footer",children:[P.jsx("button",{type:"button",className:"btn btn-secondary",onClick:()=>{R(!1),oe.current?.hide()},children:o("consentNegativeButton")}),P.jsx("button",{type:"button",className:"btn btn-primary",disabled:!Fe,onClick:async()=>{if(B){if(!C){J.current?.show();return}try{const Ee=[{key:o("option"),value:Hi}],ht=await ye(b,t,C1,Ee);if(!ht?.checkoutUrl)throw new Error("No checkout URL returned.");window.location.assign(ht.checkoutUrl)}catch(Ee){console.error(Ee)}}},children:o("checkout")})]})]})})}),P.jsx("div",{className:"modal fade",id:p,"aria-hidden":"true",tabIndex:"1",children:P.jsx("div",{className:"modal-dialog modal-dialog-centered",children:P.jsxs("div",{className:"modal-content",children:[P.jsx("div",{className:"modal-header",children:P.jsx("h5",{children:bt})}),P.jsxs("div",{className:"modal-body",children:[P.jsx("div",{className:"mb-3",children:o("unavailableMessage_1")}),P.jsx(N1,{i18nKey:"unavailableMessage_2",components:{reference:P.jsx("a",{})}})]}),P.jsx("div",{className:"modal-footer",style:{borderTop:0},children:P.jsx("button",{type:"button",className:"btn btn-primary",onClick:()=>$.current?.hide(),children:o("ok")})})]})})})]})},bm=(i,t)=>{const a={currency:{isoCode:"USD",name:"United States Dollar",symbol:"$"},isoCode:"US",name:"United States"};return i&&t?i.find(s=>s.isoCode===t)??a:a},L1="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='%23980C26'%20class='bi%20bi-x-circle'%20viewBox='0%200%2016%2016'%3e%3ccircle%20cx='8'%20cy='8'%20r='8'%20fill='%232C0B0E'%20/%3e%3cpath%20d='M8%2015A7%207%200%201%201%208%201a7%207%200%200%201%200%2014m0%201A8%208%200%201%200%208%200a8%208%200%200%200%200%2016'/%3e%3cpath%20d='M4.646%204.646a.5.5%200%200%201%20.708%200L8%207.293l2.646-2.647a.5.5%200%200%201%20.708.708L8.707%208l2.647%202.646a.5.5%200%200%201-.708.708L8%208.707l-2.646%202.647a.5.5%200%200%201-.708-.708L7.293%208%204.646%205.354a.5.5%200%200%201%200-.708'/%3e%3c/svg%3e",z1="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20fill='%23157448'%20class='bi%20bi-check-circle'%20viewBox='0%200%2016%2016'%3e%3ccircle%20cx='8'%20cy='8'%20r='8'%20fill='%23051B11'%20/%3e%3cpath%20d='M8%2015A7%207%200%201%201%208%201a7%207%200%200%201%200%2014m0%201A8%208%200%201%200%208%200a8%208%200%200%200%200%2016'/%3e%3cpath%20d='m10.97%204.97-.02.022-3.473%204.425-2.093-2.094a.75.75%200%200%200-1.06%201.06L6.97%2011.03a.75.75%200%200%200%201.079-.02l3.992-4.99a.75.75%200%200%200-1.071-1.05'/%3e%3c/svg%3e",nt="placeholder",j1=({apiEndpoint:i="/api/",displayShippingInfo:t=!1})=>{const{t:a,i18n:{language:l}}=ld(),[s,o]=ee.useState([]),[f,h]=ee.useState(nt),[v,p]=ee.useState(nt),[y,g]=ee.useState(nt),[b,E]=ee.useState(nt);ee.useEffect(()=>{fetch("/compatibility.json").then($=>$.json()).then($=>o($)).catch($=>console.error("Error loading compatibility data:",$))},[]);const O=$=>{const ye=document.getElementById("compatibility_result");if(!ye)return;const k=new bootstrap.Collapse(ye,{toggle:!1});$?k.show():k.hide()},A=ee.useMemo(()=>[...new Set(s.map($=>$.brand))].sort(($,ye)=>$.localeCompare(ye)),[s]),x=ee.useMemo(()=>s.find($=>$.brand===f)??null,[s,f]),T=ee.useMemo(()=>[...x?.models??[]].sort((ye,k)=>(ye.label?.[l]??ye.key).localeCompare(k.label?.[l]??k.label?.en??k.key)),[x,l]),C=ee.useMemo(()=>(x?.models??[]).find($=>String($.key)===String(v))??null,[x,v]),R=ee.useMemo(()=>[...C?.generations??[]].sort((ye,k)=>(ye.label?.[l]??ye.key).localeCompare(k.label?.[l]??k.label?.en??k.key)),[C,l]),j=ee.useMemo(()=>(C?.generations??[]).find($=>String($.key)===String(y))??null,[C,y]),U=ee.useMemo(()=>[...j?.variants??[]].sort((ye,k)=>(ye.label?.[l]??ye.key).localeCompare(k.label?.[l]??k.label?.en??k.
331key)),[j,l]),F=U.length>0,B=ee.useMemo(()=>(j?.variants??[]).find($=>String($.key)===String(b))??null,[j,b]),J=ee.useMemo(()=>y===nt?null:F?b===nt?null:B?.supported??!1:typeof j?.supported=="boolean"?j.supported:null,[y,F,b,B,j]),ie=j?.series??null;ee.useEffect(()=>{O(J!==null)},[J]);const se=()=>{p(nt),g(nt),E(nt)},pe=()=>{g(nt),E(nt)},_e=()=>{E(nt)},oe=$=>{const{name:ye,value:k}=$.target;if(ye==="brand"){h(k),se();return}if(ye==="model"){p(k),pe();return}if(ye==="generation"){g(k),_e();return}if(ye==="variant"){E(k);return}};return P.jsxs(P.Fragment,{children:[P.jsxs("select",{name:"brand",className:"form-select form-select-lg mb-3",value:f,onChange:oe,children:[P.jsx("option",{value:nt,disabled:!0,children:a("brand")}),A.map($=>P.jsx("option",{value:$,children:$},$))]}),P.jsxs("select",{name:"model",className:"form-select form-select-lg mb-3",value:v,onChange:oe,disabled:f===nt,children:[P.jsx("option",{value:nt,disabled:!0,children:a("model")}),T.map($=>P.jsx("option",{value:$.key,children:$.label?.[l]??$.label?.en??$.key},$.key))]}),P.jsxs("select",{name:"generation",className:"form-select form-select-lg mb-3",value:y,onChange:oe,disabled:v===nt,children:[P.jsx("option",{value:nt,disabled:!0,children:a("generation")}),R.map($=>P.jsx("option",{value:$.key,children:$.label?.[l]??$.label?.en??$.key},$.key))]}),F&&P.jsxs("select",{name:"variant",className:"form-select form-select-lg mb-3",value:b,onChange:oe,disabled:y===nt,children:[P.jsx("option",{value:nt,disabled:!0,children:a("variant")}),U.map($=>P.jsx("option",{value:$.key,children:$.label?.[l]??$.label?.en??$.key},$.key))]}),P.jsxs("div",{className:"collapse",id:"compatibility_result",children:[P.jsx(U1,{supported:J}),J===!0&&P.jsx("div",{className:"mt-3",children:P.jsx(S0,{apiEndpoint:i,userLanguage:l,series:ie,displayShippingInfo:t,fullWidth:!0})})]})]})},U1=({supported:i})=>{const{t}=ld();return i===null?P.jsx("div",{className:"alert alert-dark d-flex align-items-center mt-4 mb-4",role:"alert",children:P.jsx("div",{className:"mx-2 text-center w-100 lead"})}):i?P.jsxs("div",{className:"alert alert-success d-flex align-items-center mt-4 mb-4",role:"alert",children:[P.jsx("img",{src:z1,width:30,alt:""}),P.jsx("div",{className:"mx-2 text-center w-100 lead",style:{color:"#157448"},children:t("isCompatible")})]}):P.jsxs("div",{className:"alert alert-danger d-flex align-items-center mt-4 mb-4",role:"alert",children:[P.jsx("img",{src:L1,width:30,alt:""}),P.jsx("div",{className:"mx-2 text-center w-100 lead",style:{color:"#980C26"},children:t("isNotCompatible")})]})},me=i=>typeof i=="string",Zr=()=>{let i,t;const a=new Promise((l,s)=>{i=l,t=s});return a.resolve=i,a.reject=t,a},Sm=i=>i==null?"":""+i,q1=(i,t,a)=>{i.forEach(l=>{t[l]&&(a[l]=t[l])})},V1=/###/g,Em=i=>i&&i.indexOf("###")>-1?i.replace(V1,"."):i,Om=i=>!i||me(i),ll=(i,t,a)=>{const l=me(t)?t.split("."):t;let s=0;for(;s<l.length-1;){if(Om(i))return{};const o=Em(l[s]);!i[o]&&a&&(i[o]=new a),Object.prototype.hasOwnProperty.call(i,o)?i=i[o]:i={},++s}return Om(i)?{}:{obj:i,k:Em(l[s])}},Tm=(i,t,a)=>{const{obj:l,k:s}=ll(i,t,Object);if(l!==void 0||t.length===1){l[s]=a;return}let o=t[t.length-1],f=t.slice(0,t.length-1),h=ll(i,f,Object);for(;h.obj===void 0&&f.length;)o=`${f[f.length-1]}.${o}`,f=f.slice(0,f.length-1),h=ll(i,f,Object),h?.obj&&typeof h.obj[`${h.k}.${o}`]<"u"&&(h.obj=void 0);h.obj[`${h.k}.${o}`]=a},B1=(i,t,a,l)=>{const{obj:s,k:o}=ll(i,t,Object);s[o]=s[o]||[],s[o].push(a)},Js=(i,t)=>{const{obj:a,k:l}=ll(i,t);if(a&&Object.prototype.hasOwnProperty.call(a,l))return a[l]},F1=(i,t,a)=>{const l=Js(i,a);return l!==void 0?l:Js(t,a)},E0=(i,t,a)=>{for(const l in t)l!=="__proto__"&&l!=="constructor"&&(l in i?me(i[l])||i[l]instanceof String||me(t[l])||t[l]instanceof String?a&&(i[l]=t[l]):E0(i[l],t[l],a):i[l]=t[l]);return i},_i=i=>i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Q1={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const G1=i=>me(i)?i.replace(/[&<>"'\/]/g,t=>Q1[t]):i;class I1{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const a=this.regExpMap.get(t);if(a!==void 0)return a;const l=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,l),this.regExpQueue.push(t),l}}const H1=[" ",",","?","!",";"],Y1=new I1(20),P1=(i,t,a)=>{t=t||"",a=a||"";const l=H1.filter(f=>t.indexOf(f)<0&&a.indexOf(f)<0);if(l.length===0)return!0;const s=Y1.getRegExp(`(${l.map(f=>f==="?"?"\\?":f).join("|")})`);let o=!s.test(i);if(!o){const f=i.indexOf(a);f>0&&!s.test(i.substring(0,f))&&(o=!0)}return o},Cf=(i,t,a=".")=>
vendor: 4,179 bytes, line 331
331{if(!i)return;if(i[t])return Object.prototype.hasOwnProperty.call(i,t)?i[t]:void 0;const l=t.split(a);let s=i;for(let o=0;o<l.length;){if(!s||typeof s!="object")return;let f,h="";for(let v=o;v<l.length;++v)if(v!==o&&(h+=a),h+=l[v],f=s[h],f!==void 0){if(["string","number","boolean"].indexOf(typeof f)>-1&&v<l.length-1)continue;o+=v-o+1;break}s=f}return s},hl=i=>i?.replace("_","-"),X1={type:"logger",log(i){this.output("log",i)},warn(i){this.output("warn",i)},error(i){this.output("error",i)},output(i,t){console?.[i]?.apply?.(console,t)}};class $s{constructor(t,a={}){this.init(t,a)}init(t,a={}){this.prefix=a.prefix||"i18next:",this.logger=t||X1,this.options=a,this.debug=a.debug}log(...t){return this.forward(t,"log","",!0)}warn(...t){return this.forward(t,"warn","",!0)}error(...t){return this.forward(t,"error","")}deprecate(...t){return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(t,a,l,s){return s&&!this.debug?null:(me(t[0])&&(t[0]=`${l}${this.prefix} ${t[0]}`),this.logger[a](t))}create(t){return new $s(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new $s(this.logger,t)}}var cn=new $s;class du{constructor(){this.observers={}}on(t,a){return t.split(" ").forEach(l=>{this.observers[l]||(this.observers[l]=new Map);const s=this.observers[l].get(a)||0;this.observers[l].set(a,s+1)}),this}off(t,a){if(this.observers[t]){if(!a){delete this.observers[t];return}this.observers[t].delete(a)}}emit(t,...a){this.observers[t]&&Array.from(this.observers[t].entries()).forEach(([s,o])=>{for(let f=0;f<o;f++)s(...a)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([s,o])=>{for(let f=0;f<o;f++)s.apply(s,[t,...a])})}}class _m extends du{constructor(t,a={ns:["translation"],defaultNS:"translation"}){super(),this.data=t||{},this.options=a,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const a=this.options.ns.indexOf(t);a>-1&&this.options.ns.splice(a,1)}getResource(t,a,l,s={}){const o=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,f=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let h;t.indexOf(".")>-1?h=t.split("."):(h=[t,a],l&&(Array.isArray(l)?h.push(...l):me(l)&&o?h.push(...l.split(o)):h.push(l)));const v=Js(this.data,h);return!v&&!a&&!l&&t.indexOf(".")>-1&&(t=h[0],a=h[1],l=h.slice(2).join(".")),v||!f||!me(l)?v:Cf(this.data?.[t]?.[a],l,o)}addResource(t,a,l,s,o={silent:!1}){const f=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let h=[t,a];l&&(h=h.concat(f?l.split(f):l)),t.indexOf(".")>-1&&(h=t.split("."),s=a,a=h[1]),this.addNamespaces(a),Tm(this.data,h,s),o.silent||this.emit("added",t,a,l,s)}addResources(t,a,l,s={silent:!1}){for(const o in l)(me(l[o])||Array.isArray(l[o]))&&this.addResource(t,a,o,l[o],{silent:!0});s.silent||this.emit("added",t,a,l)}addResourceBundle(t,a,l,s,o,f={silent:!1,skipCopy:!1}){let h=[t,a];t.indexOf(".")>-1&&(h=t.split("."),s=l,l=a,a=h[1]),this.addNamespaces(a);let v=Js(this.data,h)||{};f.skipCopy||(l=JSON.parse(JSON.stringify(l))),s?E0(v,l,o):v={...v,...l},Tm(this.data,h,v),f.silent||this.emit("added",t,a,l)}removeResourceBundle(t,a){this.hasResourceBundle(t,a)&&delete this.data[t][a],this.removeNamespaces(a),this.emit("removed",t,a)}hasResourceBundle(t,a){return this.getResource(t,a)!==void 0}getResourceBundle(t,a){return a||(a=this.options.defaultNS),this.getResource(t,a)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const a=this.getDataByLanguage(t);return!!(a&&Object.keys(a)||[]).find(s=>a[s]&&Object.keys(a[s]).length>0)}toJSON(){return this.data}}var O0={processors:{},addPostProcessor(i){this.processors[i.name]=i},handle(i,t,a,l,s){return i.forEach(o=>{t=this.processors[o]?.process(t,a,l,s)??t}),t}};const Nm={},xm=i=>!me(i)&&typeof i!="boolean"&&typeof i!="number";class Ws extends du{constructor(t,a={}){super(),q1(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
331i18nFormat","utils"],t,this),this.options=a,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=cn.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t,a={interpolation:{}}){const l={...a};return t==null?!1:this.resolve(t,l)?.res!==void 0}extractFromKey(t,a){let l=a.nsSeparator!==void 0?a.nsSeparator:this.options.nsSeparator;l===void 0&&(l=":");const s=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let o=a.ns||this.options.defaultNS||[];const f=l&&t.indexOf(l)>-1,h=!this.options.userDefinedKeySeparator&&!a.keySeparator&&!this.options.userDefinedNsSeparator&&!a.nsSeparator&&!P1(t,l,s);if(f&&!h){const v=t.match(this.interpolator.nestingRegexp);if(v&&v.length>0)return{key:t,namespaces:me(o)?[o]:o};const p=t.split(l);(l!==s||l===s&&this.options.ns.indexOf(p[0])>-1)&&(o=p.shift()),t=p.join(s)}return{key:t,namespaces:me(o)?[o]:o}}translate(t,a,l){let s=typeof a=="object"?{...a}:a;if(typeof s!="object"&&this.options.overloadTranslationOptionHandler&&(s=this.options.overloadTranslationOptionHandler(arguments)),typeof options=="object"&&(s={...s}),s||(s={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const o=s.returnDetails!==void 0?s.returnDetails:this.options.returnDetails,f=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,{key:h,namespaces:v}=this.extractFromKey(t[t.length-1],s),p=v[v.length-1];let y=s.nsSeparator!==void 0?s.nsSeparator:this.options.nsSeparator;y===void 0&&(y=":");const g=s.lng||this.language,b=s.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(g?.toLowerCase()==="cimode")return b?o?{res:`${p}${y}${h}`,usedKey:h,exactUsedKey:h,usedLng:g,usedNS:p,usedParams:this.getUsedParamsDetails(s)}:`${p}${y}${h}`:o?{res:h,usedKey:h,exactUsedKey:h,usedLng:g,usedNS:p,usedParams:this.getUsedParamsDetails(s)}:h;const E=this.resolve(t,s);let O=E?.res;const A=E?.usedKey||h,x=E?.exactUsedKey||h,T=["[object Number]","[object Function]","[object RegExp]"],C=s.joinArrays!==void 0?s.joinArrays:this.options.joinArrays,R=!this.i18nFormat||this.i18nFormat.handleAsObject,j=s.count!==void 0&&!me(s.count),U=Ws.hasDefaultValue(s),F=j?this.pluralResolver.getSuffix(g,s.count,s):"",B=s.ordinal&&j?this.pluralResolver.getSuffix(g,s.count,{ordinal:!1}):"",J=j&&!s.ordinal&&s.count===0,ie=J&&s[`defaultValue${this.options.pluralSeparator}zero`]||s[`defaultValue${F}`]||s[`defaultValue${B}`]||s.defaultValue;let se=O;R&&!O&&U&&(se=ie);const pe=xm(se),_e=Object.prototype.toString.apply(se);if(R&&se&&pe&&T.indexOf(_e)<0&&!(me(C)&&Array.isArray(se))){if(!s.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const oe=this.options.returnedObjectHandler?this.options.returnedObjectHandler(A,se,{...s,ns:v}):`key '${h} (${this.language})' returned an object instead of string.`;return o?(E.res=oe,E.usedParams=this.getUsedParamsDetails(s),E):oe}if(f){const oe=Array.isArray(se),$=oe?[]:{},ye=oe?x:A;for(const k in se)if(Object.prototype.hasOwnProperty.call(se,k)){const X=`${ye}${f}${k}`;U&&!O?$[k]=this.translate(X,{...s,defaultValue:xm(ie)?ie[k]:void 0,joinArrays:!1,ns:v}):$[k]=this.translate(X,{...s,joinArrays:!1,ns:v}),$[k]===X&&($[k]=se[k])}O=$}}else if(R&&me(C)&&Array.isArray(O))O=O.join(C),O&&(O=this.extendTranslation(O,t,s,l));else{let oe=!1,$=!1;!this.isValidLookup(O)&&U&&(oe=!0,O=ie),this.isValidLookup(O)||($=!0,O=h);const k=(s.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&$?void 0:O,X=U&&ie!==O&&this.options.updateMissing;if($||oe||X){if(this.logger.log(X?"updateKey":"missingKey",g,p,h,X?ie:O),f){const G=this.resolve(h,{...s,keySeparator:!1});G&&G.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let re=[];const fe=this.languageUtils.getFallbackCodes(this.options.fallbackLng,s.lng||this.language);if(this.options.saveMissingTo==="fallback"&&fe&&fe[0])for(let G=0;G<fe.length;G++)re.push(fe[G]);else this.options.saveMissingTo==="all"?re=this.languageUtils.toResolveHierarchy(s.lng||this.language):re.push(s.lng||this.language);const N=(G,K,Z)=>{const le=U&&Z!==O?Z:k;this.options.missingKeyHandler?this.options.missingKeyHandler(G,p,K,le,X,s):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(G,p,K,le,X,s),this.emit
vendor: 27,572 bytes, line 331
331("missingKey",G,p,K,O)};this.options.saveMissing&&(this.options.saveMissingPlurals&&j?re.forEach(G=>{const K=this.pluralResolver.getSuffixes(G,s);J&&s[`defaultValue${this.options.pluralSeparator}zero`]&&K.indexOf(`${this.options.pluralSeparator}zero`)<0&&K.push(`${this.options.pluralSeparator}zero`),K.forEach(Z=>{N([G],h+Z,s[`defaultValue${Z}`]||ie)})}):N(re,h,ie))}O=this.extendTranslation(O,t,s,E,l),$&&O===h&&this.options.appendNamespaceToMissingKey&&(O=`${p}${y}${h}`),($||oe)&&this.options.parseMissingKeyHandler&&(O=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${p}${y}${h}`:h,oe?O:void 0,s))}return o?(E.res=O,E.usedParams=this.getUsedParamsDetails(s),E):O}extendTranslation(t,a,l,s,o){if(this.i18nFormat?.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...l},l.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!l.skipInterpolation){l.interpolation&&this.interpolator.init({...l,interpolation:{...this.options.interpolation,...l.interpolation}});const v=me(t)&&(l?.interpolation?.skipOnVariables!==void 0?l.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let p;if(v){const g=t.match(this.interpolator.nestingRegexp);p=g&&g.length}let y=l.replace&&!me(l.replace)?l.replace:l;if(this.options.interpolation.defaultVariables&&(y={...this.options.interpolation.defaultVariables,...y}),t=this.interpolator.interpolate(t,y,l.lng||this.language||s.usedLng,l),v){const g=t.match(this.interpolator.nestingRegexp),b=g&&g.length;p<b&&(l.nest=!1)}!l.lng&&s&&s.res&&(l.lng=this.language||s.usedLng),l.nest!==!1&&(t=this.interpolator.nest(t,(...g)=>o?.[0]===g[0]&&!l.context?(this.logger.warn(`It seems you are nesting recursively key: ${g[0]} in key: ${a[0]}`),null):this.translate(...g,a),l)),l.interpolation&&this.interpolator.reset()}const f=l.postProcess||this.options.postProcess,h=me(f)?[f]:f;return t!=null&&h?.length&&l.applyPostProcessor!==!1&&(t=O0.handle(h,t,a,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...s,usedParams:this.getUsedParamsDetails(l)},...l}:l,this)),t}resolve(t,a={}){let l,s,o,f,h;return me(t)&&(t=[t]),t.forEach(v=>{if(this.isValidLookup(l))return;const p=this.extractFromKey(v,a),y=p.key;s=y;let g=p.namespaces;this.options.fallbackNS&&(g=g.concat(this.options.fallbackNS));const b=a.count!==void 0&&!me(a.count),E=b&&!a.ordinal&&a.count===0,O=a.context!==void 0&&(me(a.context)||typeof a.context=="number")&&a.context!=="",A=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);g.forEach(x=>{this.isValidLookup(l)||(h=x,!Nm[`${A[0]}-${x}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(h)&&(Nm[`${A[0]}-${x}`]=!0,this.logger.warn(`key "${s}" for languages "${A.join(", ")}" won't get resolved as namespace "${h}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),A.forEach(T=>{if(this.isValidLookup(l))return;f=T;const C=[y];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(C,y,T,x,a);else{let j;b&&(j=this.pluralResolver.getSuffix(T,a.count,a));const U=`${this.options.pluralSeparator}zero`,F=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(b&&(C.push(y+j),a.ordinal&&j.indexOf(F)===0&&C.push(y+j.replace(F,this.options.pluralSeparator)),E&&C.push(y+U)),O){const B=`${y}${this.options.contextSeparator}${a.context}`;C.push(B),b&&(C.push(B+j),a.ordinal&&j.indexOf(F)===0&&C.push(B+j.replace(F,this.options.pluralSeparator)),E&&C.push(B+U))}}let R;for(;R=C.pop();)this.isValidLookup(l)||(o=R,l=this.getResource(T,x,R,a))}))})}),{res:l,usedKey:s,exactUsedKey:o,usedLng:f,usedNS:h}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,a,l,s={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(t,a,l,s):this.resourceStore.getResource(t,a,l,s)}getUsedParamsDetails(t={}){const a=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],l=t.replace&&!me(t.replace);let s=l?t.replace:t;if(l&&typeof t.count<"u"&&(s.count=t.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!l){s={...s};for(const o of a)delete s[o]}return s}static hasDefaultValue(t){const a="defaultValue";for(const l in t)if(Object.prototype.hasOwnProperty.call(t,l)&&a===l.substring(0,a.length)&&t[l]!==void 0)return!0;return!1}}class Am{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=cn.create("languageUtils")}getScriptPartFromCode(t){if(t=hl(t),!t||t.indexOf("-")<0)return null;const a=t.split("-");return a.length===2||(a.pop(),a[a.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(a.join("-"))}getLanguagePartFromCode(t){if(t=hl(t),!t||t.indexOf("-")<0)return t;const a=t.split("-");return this.formatLanguageCode(a[0])}formatLanguageCode(t){if(me(t)&&t.indexOf("-")>-1){let a;try{a=Intl.getCanonicalLocales(t)[0]}catch{}return a&&this.options.lowerCaseLng&&(a=a.toLowerCase()),a||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let a;return t.forEach(l=>{if(a)return;const s=this.formatLanguageCode(l);(!this.options.supportedLngs||this.isSupportedCode(s))&&(a=s)}),!a&&this.options.supportedLngs&&t.forEach(l=>{if(a)return;const s=this.getScriptPartFromCode(l);if(this.isSupportedCode(s))return a=s;const o=this.getLanguagePartFromCode(l);if(this.isSupportedCode(o))return a=o;a=this.options.supportedLngs.find(f=>{if(f===o)return f;if(!(f.indexOf("-")<0&&o.indexOf("-")<0)&&(f.indexOf("-")>0&&o.indexOf("-")<0&&f.substring(0,f.indexOf("-"))===o||f.indexOf(o)===0&&o.length>1))return f})}),a||(a=this.getFallbackCodes(this.options.fallbackLng)[0]),a}getFallbackCodes(t,a){if(!t)return[];if(typeof t=="function"&&(t=t(a)),me(t)&&(t=[t]),Array.isArray(t))return t;if(!a)return t.default||[];let l=t[a];return l||(l=t[this.getScriptPartFromCode(a)]),l||(l=t[this.formatLanguageCode(a)]),l||(l=t[this.getLanguagePartFromCode(a)]),l||(l=t.default),l||[]}toResolveHierarchy(t,a){const l=this.getFallbackCodes((a===!1?[]:a)||this.options.fallbackLng||[],t),s=[],o=f=>{f&&(this.isSupportedCode(f)?s.push(f):this.logger.warn(`rejecting language code not found in supportedLngs: ${f}`))};return me(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(t))):me(t)&&o(this.formatLanguageCode(t)),l.forEach(f=>{s.indexOf(f)<0&&o(this.formatLanguageCode(f))}),s}}const Dm={zero:0,one:1,two:2,few:3,many:4,other:5},Cm={select:i=>i===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class K1{constructor(t,a={}){this.languageUtils=t,this.options=a,this.logger=cn.create("pluralResolver"),this.pluralRulesCache={}}addRule(t,a){this.rules[t]=a}clearCache(){this.pluralRulesCache={}}getRule(t,a={}){const l=hl(t==="dev"?"en":t),s=a.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:l,type:s});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let f;try{f=new Intl.PluralRules(l,{type:s})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),Cm;if(!t.match(/-|_/))return Cm;const v=this.languageUtils.getLanguagePartFromCode(t);f=this.getRule(v,a)}return this.pluralRulesCache[o]=f,f}needsPlural(t,a={}){let l=this.getRule(t,a);return l||(l=this.getRule("dev",a)),l?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(t,a,l={}){return this.getSuffixes(t,l).map(s=>`${a}${s}`)}getSuffixes(t,a={}){let l=this.getRule(t,a);return l||(l=this.getRule("dev",a)),l?l.resolvedOptions().pluralCategories.sort((s,o)=>Dm[s]-Dm[o]).map(s=>`${this.options.prepend}${a.ordinal?`ordinal${this.options.prepend}`:""}${s}`):[]}getSuffix(t,a,l={}){const s=this.getRule(t,l);return s?`${this.options.prepend}${l.ordinal?`ordinal${this.options.prepend}`:""}${s.select(a)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",a,l))}}const wm=(i,t,a,l=".",s=!0)=>{let o=F1(i,t,a);return!o&&s&&me(a)&&(o=Cf(i,a,l),o===void 0&&(o=Cf(t,a,l))),o},ef=i=>i.replace(/\$/g,"$$$$");class Z1{constructor(t={}){this.logger=cn.create("interpolator"),this.options=t,this.format=t?.interpolation?.format||(a=>a),this.init(t)}init(t={}){t.interpolation||(t.interpolation={escapeValue:!0});const{escape:a,escapeValue:l,useRawValueToEscape:s,prefix:o,prefixEscaped:f,suffix:h,suffixEscaped:v,formatSeparator:p,unescapeSuffix:y,unescapePrefix:g,nestingPrefix:b,nestingPrefixEscaped:E,nestingSuffix:O,nestingSuffixEscaped:A,nestingOptionsSeparator:x,maxReplaces:T,alwaysFormat:C}=t.interpolation;this.escape=a!==void 0?a:G1,this.escapeValue=l!==void 0?l:!0,this.useRawValueToEscape=s!==void 0?s:!1,this.prefix=o?_i(o):f||"{{",this.suffix=h?_i(h):v||"}}",this.formatSeparator=p||",",this.unescapePrefix=y?"":g||"-",this.unescapeSuffix=this.unescapePrefix?"":y||"",this.nestingPrefix=b?_i(b):E||_i("$t("),this.nestingSuffix=O?_i(O):A||_i(")"),this.nestingOptionsSeparator=x||",",this.maxReplaces=T||1e3,this.alwaysFormat=C!==void 0?C:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(a,l)=>a?.source===l?(a.lastIndex=0,a):new RegExp(l,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,a,l,s){let o,f,h;const v=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},p=E=>{if(E.indexOf(this.formatSeparator)<0){const T=wm(a,v,E,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(T,void 0,l,{...s,...a,interpolationkey:E}):T}const O=E.split(this.formatSeparator),A=O.shift().trim(),x=O.join(this.formatSeparator).trim();return this.format(wm(a,v,A,this.options.keySeparator,this.options.ignoreJSONStructure),x,l,{...s,...a,interpolationkey:A})};this.resetRegExp();const y=s?.missingInterpolationHandler||this.options.missingInterpolationHandler,g=s?.interpolation?.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:E=>ef(E)},{regex:this.regexp,safeValue:E=>this.escapeValue?ef(this.escape(E)):ef(E)}].forEach(E=>{for(h=0;o=E.regex.exec(t);){const O=o[1].trim();if(f=p(O),f===void 0)if(typeof y=="function"){const x=y(t,o,s);f=me(x)?x:""}else if(s&&Object.prototype.hasOwnProperty.call(s,O))f="";else if(g){f=o[0];continue}else this.logger.warn(`missed to pass in variable ${O} for interpolating ${t}`),f="";else!me(f)&&!this.useRawValueToEscape&&(f=Sm(f));const A=E.safeValue(f);if(t=t.replace(o[0],A),g?(E.regex.lastIndex+=f.length,E.regex.lastIndex-=o[0].length):E.regex.lastIndex=0,h++,h>=this.maxReplaces)break}}),t}nest(t,a,l={}){let s,o,f;const h=(v,p)=>{const y=this.nestingOptionsSeparator;if(v.indexOf(y)<0)return v;const g=v.split(new RegExp(`${y}[ ]*{`));let b=`{${g[1]}`;v=g[0],b=this.interpolate(b,f);const E=b.match(/'/g),O=b.match(/"/g);((E?.length??0)%2===0&&!O||O.length%2!==0)&&(b=b.replace(/'/g,'"'));try{f=JSON.parse(b),p&&(f={...p,...f})}catch(A){return this.logger.warn(`failed parsing options string in nesting for key ${v}`,A),`${v}${y}${b}`}return f.defaultValue&&f.defaultValue.indexOf(this.prefix)>-1&&delete f.defaultValue,v};for(;s=this.nestingRegexp.exec(t);){let v=[];f={...l},f=f.replace&&!me(f.replace)?f.replace:f,f.applyPostProcessor=!1,delete f.defaultValue;const p=/{.*}/.test(s[1])?s[1].lastIndexOf("}")+1:s[1].indexOf(this.formatSeparator);if(p!==-1&&(v=s[1].slice(p).split(this.formatSeparator).map(y=>y.trim()).filter(Boolean),s[1]=s[1].slice(0,p)),o=a(h.call(this,s[1].trim(),f),f),o&&s[0]===t&&!me(o))return o;me(o)||(o=Sm(o)),o||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${t}`),o=""),v.length&&(o=v.reduce((y,g)=>this.format(y,g,l.lng,{...l,interpolationkey:s[1].trim()}),o.trim())),t=t.replace(s[0],o),this.regexp.lastIndex=0}return t}}const J1=i=>{let t=i.toLowerCase().trim();const a={};if(i.indexOf("(")>-1){const l=i.split("(");t=l[0].toLowerCase().trim();const s=l[1].substring(0,l[1].length-1);t==="currency"&&s.indexOf(":")<0?a.currency||(a.currency=s.trim()):t==="relativetime"&&s.indexOf(":")<0?a.range||(a.range=s.trim()):s.split(";").forEach(f=>{if(f){const[h,...v]=f.split(":"),p=v.join(":").trim().replace(/^'+|'+$/g,""),y=h.trim();a[y]||(a[y]=p),p==="false"&&(a[y]=!1),p==="true"&&(a[y]=!0),isNaN(p)||(a[y]=parseInt(p,10))}})}return{formatName:t,formatOptions:a}},Rm=i=>{const t={};return(a,l,s)=>{let o=s;s&&s.interpolationkey&&s.formatParams&&s.formatParams[s.interpolationkey]&&s[s.interpolationkey]&&(o={...o,[s.interpolationkey]:void 0});const f=l+JSON.stringify(o);let h=t[f];return h||(h=i(hl(l),s),t[f]=h),h(a)}},$1=i=>(t,a,l)=>i(hl(a),l)(t);class W1{constructor(t={}){this.logger=cn.create("formatter"),this.options=t,this.init(t)}init(t,a={interpolation:{}}){this.formatSeparator=a.interpolation.formatSeparator||",";const l=a.cacheInBuiltFormats?Rm:$1;this.formats={number:l((s,o)=>{const f=new Intl.NumberFormat(s,{...o});return h=>f.format(h)}),currency:l((s,o)=>{const f=new Intl.NumberFormat(s,{...o,style:"currency"});return h=>f.format(h)}),datetime:l((s,o)=>{const f=new Intl.DateTimeFormat(s,{...o});return h=>f.format(h)}),relativetime:l((s,o)=>{const f=new Intl.RelativeTimeFormat(s,{...o});return h=>f.format(h,o.range||"day")}),list:l((s,o)=>{const f=new Intl.ListFormat(s,{...o});return h=>f.format(h)})}}add(t,a){this.formats[t.toLowerCase().trim()]=a}addCached(t,a){this.formats[t.toLowerCase().trim()]=Rm(a)}format(t,a,l,s={}){const o=a.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(h=>h.indexOf(")")>-1)){const h=o.findIndex(v=>v.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,h)].join(this.formatSeparator)}return o.reduce((h,v)=>{const{formatName:p,formatOptions:y}=J1(v);if(this.formats[p]){let g=h;try{const b=s?.formatParams?.[s.interpolationkey]||{},E=b.locale||b.lng||s.locale||s.lng||l;g=this.formats[p](h,E,{...y,...s,...b})}catch(b){this.logger.warn(b)}return g}else this.logger.warn(`there was no format function for ${p}`);return h},t)}}const eN=(i,t)=>{i.pending[t]!==void 0&&(delete i.pending[t],i.pendingCount--)};class tN extends du{constructor(t,a,l,s={}){super(),this.backend=t,this.store=a,this.services=l,this.languageUtils=l.languageUtils,this.options=s,this.logger=cn.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=s.maxParallelReads||10,this.readingCalls=0,this.maxRetries=s.maxRetries>=0?s.maxRetries:5,this.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(l,s.backend,s)}queueLoad(t,a,l,s){const o={},f={},h={},v={};return t.forEach(p=>{let y=!0;a.forEach(g=>{const b=`${p}|${g}`;!l.reload&&this.store.hasResourceBundle(p,g)?this.state[b]=2:this.state[b]<0||(this.state[b]===1?f[b]===void 0&&(f[b]=!0):(this.state[b]=1,y=!1,f[b]===void 0&&(f[b]=!0),o[b]===void 0&&(o[b]=!0),v[g]===void 0&&(v[g]=!0)))}),y||(h[p]=!0)}),(Object.keys(o).length||Object.keys(f).length)&&this.queue.push({pending:f,pendingCount:Object.keys(f).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(o),pending:Object.keys(f),toLoadLanguages:Object.keys(h),toLoadNamespaces:Object.keys(v)}}loaded(t,a,l){const s=t.split("|"),o=s[0],f=s[1];a&&this.emit("failedLoading",o,f,a),!a&&l&&this.store.addResourceBundle(o,f,l,void 0,void 0,{skipCopy:!0}),this.state[t]=a?-1:2,a&&l&&(this.state[t]=0);const h={};this.queue.forEach(v=>{B1(v.loaded,[o],f),eN(v,t),a&&v.errors.push(a),v.pendingCount===0&&!v.done&&(Object.keys(v.loaded).forEach(p=>{h[p]||(h[p]={});const y=v.loaded[p];y.length&&y.forEach(g=>{h[p][g]===void 0&&(h[p][g]=!0)})}),v.done=!0,v.errors.length?v.callback(v.errors):v.callback())}),this.emit("loaded",h),this.queue=this.queue.filter(v=>!v.done)}read(t,a,l,s=0,o=this.retryTimeout,f){if(!t.length)return f(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:a,fcName:l,tried:s,wait:o,callback:f});return}this.readingCalls++;const h=(p,y)=>{if(this.readingCalls--,this.waitingReads.length>0){const g=this.waitingReads.shift();this.read(g.lng,g.ns,g.fcName,g.tried,g.wait,g.callback)}if(p&&y&&s<this.maxRetries){setTimeout(()=>{this.read.call(this,t,a,l,s+1,o*2,f)},o);return}f(p,y)},v=this.backend[l].bind(this.backend);if(v.length===2){try{const p=v(t,a);p&&typeof p.then=="function"?p.then(y=>h(null,y)).catch(h):h(null,p)}catch(p){h(p)}return}return v(t,a,h)}prepareLoading(t,a,l={},s){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();me(t)&&(t=this.languageUtils.toResolveHierarchy(t)),me(a)&&(a=[a]);const o=this.queueLoad(t,a,l,s);if(!o.toLoad.length)return o.pending.length||s(),null;o.toLoad.forEach(f=>{this.loadOne(f)})}load(t,a,l){this.prepareLoading(t,a,{},l)}reload(t,a,l){this.prepareLoading(t,a,{reload:!0},l)}loadOne(t,a=""){const l=t.split("|"),s=l[0],o=l[1];this.read(s,o,"read",void 0,void 0,(f,h)=>{f&&this.logger.warn(`${a}loading namespace ${o} for language ${s} failed`,f),!f&&h&&this.logger.log(`${a}loaded namespace ${o} for language ${s}`,h),this.loaded(t,f,h)})}saveMissing(t,a,l,s,o,f={},h=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(a)){this.logger.warn(`did not save key "${l}" as the namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(l==null||l==="")){if(this.backend?.create){const v={...f,isUpdate:o},p=this.backend.create.bind(this.backend);if(p.length<6)try{let y;p.length===5?y=p(t,a,l,s,v):y=p(t,a,l,s),y&&typeof y.then=="function"?y.then(g=>h(null,g)).catch(h):h(null,y)}catch(y){h(y)}else p(t,a,l,s,h,v)}!t||!t[0]||this.store.addResource(t[0],a,l,s)}}}const Mm=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:i=>{let t={};if(typeof i[1]=="object"&&(t=i[1]),me(i[1])&&(t.defaultValue=i[1]),me(i[2])&&(t.tDescription=i[2]),typeof i[2]=="object"||typeof i[3]=="object"){const a=i[3]||i[2];Object.keys(a).forEach(l=>{t[l]=a[l]})}return t},interpolation:{escapeValue:!0,format:i=>i,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),km=i=>(me(i.ns)&&(i.ns=[i.ns]),me(i.fallbackLng)&&(i.fallbackLng=[i.fallbackLng]),me(i.fallbackNS)&&(i.fallbackNS=[i.fallbackNS]),i.supportedLngs?.indexOf?.("cimode")<0&&(i.supportedLngs=i.supportedLngs.concat(["cimode"])),typeof i.initImmediate=="boolean"&&(i.initAsync=i.initImmediate),i),js=()=>{},nN=i=>{Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach(a=>{typeof i[a]=="function"&&(i[a]=i[a].bind(i))})};class pl extends du{constructor(t={},a){if(super(),this.options=km(t),this.services={},this.logger=cn,this.modules={external:[]},nN(this),a&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,a),this;setTimeout(()=>{this.init(t,a)},0)}}init(t={},a){this.isInitializing=!0,typeof t=="function"&&(a=t,t={}),t.defaultNS==null&&t.ns&&(me(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const l=Mm();this.options={...l,...this.options,...km(t)},this.options.interpolation={...l.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator);const s=p=>p?typeof p=="function"?new p:p:null;if(!this.options.isClone){this.modules.logger?cn.init(s(this.modules.logger),this.options):cn.init(null,this.options);let p;this.modules.formatter?p=this.modules.formatter:p=W1;const y=new Am(this.options);this.store=new _m(this.options.resources,this.options);const g=this.services;g.logger=cn,g.resourceStore=this.store,g.languageUtils=y,g.pluralResolver=new K1(y,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==l.interpolation.format&&this.logger.warn("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),p&&(!this.options.interpolation.format||this.options.interpolation.format===l.interpolation.format)&&(g.formatter=s(p),g.formatter.init&&g.formatter.init(g,this.options),this.options.interpolation.format=g.formatter.format.bind(g.formatter)),g.interpolator=new Z1(this.options),g.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},g.backendConnector=new tN(s(this.modules.backend),g.resourceStore,g,this.options),g.backendConnector.on("*",(E,...O)=>{this.emit(E,...O)}),this.modules.languageDetector&&(g.languageDetector=s(this.modules.languageDetector),g.languageDetector.init&&g.languageDetector.init(g,this.options.detection,this.options)),this.modules.i18nFormat&&(g.i18nFormat=s(this.modules.i18nFormat),g.i18nFormat.init&&g.i18nFormat.init(this)),this.translator=new Ws(this.services,this.options),this.translator.on("*",(E,...O)=>{this.emit(E,...O)}),this.modules.external.forEach(E=>{E.init&&E.init(this)})}if(this.format=this.options.interpolation.format,a||(a=js),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const p=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);p.length>0&&p[0]!=="dev"&&(this.options.lng=p[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(p=>{this[p]=(...y)=>this.store[p](...y)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(p=>{this[p]=(...y)=>(this.store[p](...y),this)});const h=Zr(),v=()=>{const p=(y,g)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),h.resolve(g),a(y,g)};if(this.languages&&!this.isInitialized)return p(null,this.t.bind(this));this.changeLanguage(this.options.lng,p)};return this.options.resources||!this.options.initAsync?v():setTimeout(v,0),h}loadResources(t,a=js){let l=a;const s=me(t)?t:this.language;if(typeof t=="function"&&(l=t),!this.options.resources||this.options.partialBundledLanguages){if(s?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return l();const o=[],f=h=>{if(!h||h==="cimode")return;this.services.languageUtils.toResolveHierarchy(h).forEach(p=>{p!=="cimode"&&o.indexOf(p)<0&&o.push(p)})};s?f(s):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(v=>f(v)),this.options.preload?.forEach?.(h=>f(h)),this.services.backendConnector.load(o,this.options.ns,h=>{!h&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),l(h)})}else l(null)}reloadResources(t,a,l){const s=Zr();return typeof t=="function"&&(l=t,t=void 0),typeof a=="function"&&(l=a,a=void 0),t||(t=this.languages),a||(a=this.options.ns),l||(l=js),this.services.backendConnector.reload(t,a,o=>{s.resolve(),l(o)}),s}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&O0.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1)){for(let a=0;a<this.languages.length;a++){const l=this.languages[a];if(!(["cimode","dev"].indexOf(l)>-1)&&this.store.hasLanguageSomeTranslations(l)){this.resolvedLanguage=l;break}}!this.resolvedLanguage&&this.languages.indexOf(t)<0&&this.store.hasLanguageSomeTranslations(t)&&(this.resolvedLanguage=t,this.languages.unshift(t))}}changeLanguage(t,a){this.isLanguageChangingTo=t;const l=Zr();this.emit("languageChanging",t);const s=h=>{this.language=h,this.languages=this.services.languageUtils.toResolveHierarchy(h),this.resolvedLanguage=void 0,this.setResolvedLanguage(h)},o=(h,v)=>{v?this.isLanguageChangingTo===t&&(s(v),this.translator.changeLanguage(v),this.isLanguageChangingTo=void 0,this.emit("languageChanged",v),this.logger.log("languageChanged",v)):this.isLanguageChangingTo=void 0,l.resolve((...p)=>this.t(...p)),a&&a(h,(...p)=>this.t(...p))},f=h=>{!t&&!h&&this.services.languageDetector&&(h=[]);const v=me(h)?h:h&&h[0],p=this.store.hasLanguageSomeTranslations(v)?v:this.services.languageUtils.getBestMatchFromCodes(me(h)?[h]:h);p&&(this.language||s(p),this.translator.language||this.translator.changeLanguage(p),this.services.languageDetector?.cacheUserLanguage?.(p)),this.loadResources(p,y=>{o(y,p)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?f(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(f):this.services.languageDetector.detect(f):f(t),l}getFixedT(t,a,l){const s=(o,f,...h)=>{let v;typeof f!="object"?v=this.options.overloadTranslationOptionHandler([o,f].concat(h)):v={...f},v.lng=v.lng||s.lng,v.lngs=v.lngs||s.lngs,v.ns=v.ns||s.ns,v.keyPrefix!==""&&(v.keyPrefix=v.keyPrefix||l||s.keyPrefix);const p=this.options.keySeparator||".";let y;return v.keyPrefix&&Array.isArray(o)?y=o.map(g=>`${v.keyPrefix}${p}${g}
331`):y=v.keyPrefix?`${v.keyPrefix}${p}${o}`:o,this.t(y,v)};return me(t)?s.lng=t:s.lngs=t,s.ns=a,s.keyPrefix=l,s}t(...t){return this.translator?.translate(...t)}exists(...t){return this.translator?.exists(...t)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t,a={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const l=a.lng||this.resolvedLanguage||this.languages[0],s=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(l.toLowerCase()==="cimode")return!0;const f=(h,v)=>{const p=this.services.backendConnector.state[`${h}|${v}`];return p===-1||p===0||p===2};if(a.precheck){const h=a.precheck(this,f);if(h!==void 0)return h}return!!(this.hasResourceBundle(l,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||f(l,t)&&(!s||f(o,t)))}loadNamespaces(t,a){const l=Zr();return this.options.ns?(me(t)&&(t=[t]),t.forEach(s=>{this.options.ns.indexOf(s)<0&&this.options.ns.push(s)}),this.loadResources(s=>{l.resolve(),a&&a(s)}),l):(a&&a(),Promise.resolve())}loadLanguages(t,a){const l=Zr();me(t)&&(t=[t]);const s=this.options.preload||[],o=t.filter(f=>s.indexOf(f)<0&&this.services.languageUtils.isSupportedCode(f));return o.length?(this.options.preload=s.concat(o),this.loadResources(f=>{l.resolve(),a&&a(f)}),l):(a&&a(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!t)return"rtl";try{const s=new Intl.Locale(t);if(s&&s.getTextInfo){const o=s.getTextInfo();if(o&&o.direction)return o.direction}}catch{}const a=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],l=this.services?.languageUtils||new Am(Mm());return t.toLowerCase().indexOf("-latn")>1?"ltr":a.indexOf(l.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(t={},a){return new pl(t,a)}cloneInstance(t={},a=js){const l=t.forkResourceStore;l&&delete t.forkResourceStore;const s={...this.options,...t,isClone:!0},o=new pl(s);if((t.debug!==void 0||t.prefix!==void 0)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(h=>{o[h]=this[h]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},l){const h=Object.keys(this.store.data).reduce((v,p)=>(v[p]={...this.store.data[p]},v[p]=Object.keys(v[p]).reduce((y,g)=>(y[g]={...v[p][g]},y),v[p]),v),{});o.store=new _m(h,s),o.services.resourceStore=o.store}return o.translator=new Ws(o.services,s),o.translator.on("*",(h,...v)=>{o.emit(h,...v)}),o.init(s,a),o.translator.options=s,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const gt=pl.createInstance();gt.createInstance=pl.createInstance;gt.createInstance;gt.dir;gt.init;gt.loadResources;gt.reloadResources;gt.use;gt.changeLanguage;gt.getFixedT;gt.t;gt.exists;gt.setDefaultNamespace;gt.hasLoadedNamespace;gt.loadNamespaces;gt.loadLanguages;const aN={stockText:"In stock â Ships within 1â2 business days",legalGuaranteeTitle:"Legal guarantee",legalGuaranteeSummary:"All goods are covered by a legal guarantee of at least 2 years in the EU.",legalGuaranteeLearnMore:"Learn more",legalGuaranteeNoticeImage:"Legal_guarantee_notice_EN.png",legalGuaranteeNoticeAlt:"EU legal guarantee notice. Open the full-size image for details.",buyNow:"Buy Now",buyNowPrice:"Buy Now from $149",brand:"Brand",model:"Model",generation:"Vehicle Series",variant:"Engine",isCompatible:"Good news: your vehicle is compatible!",isNotCompatible:"Your vehicle is not compatible.",requiresNonPHEV:"Not compatible with plug-in hybrid vehicles.",requiresExhaustFlap:"Requires the vehicle to be factory-equipped with an exhaust flap.",requiresActiveSoundDesign:"Requires the vehicle to be factory-equipped with Active Sound Design.",skillAutoStartStopOff:"Auto Start Stop Control",skillExhaustFlapControl:"Exhaust Flap Control",skillActiveSoundDesignOff:"Active Sound Design",skillSafetyCarMode:"Safety Car Mode",soldOut:"Sold out",consentMessage:"I understand that this product is intended for motorsport use only on non-public tracks.",consentTooltip:"
331Confirm the disclaimer first to continue.",consentNegativeButton:"Cancel",unavailableTitle:"Currently Unavailable in {{ country }}",unavailableTitleUS:"Currently Unavailable in the U.S.",unavailableTitleGeneral:"Currently Unavailable in Your Country",unavailableMessage_1:"The MotorCom isn't available for purchase in your country yet â but we're working on it!",unavailableMessage_2:`Sign up for our <reference href="https://app.us21.list-manage.com/subscribe?u=c78b3e392e87345170038c737&id=807248ad77&f_id=001fa7e6f0" target="_blank">newsletter</reference>, and we'll let you know as soon as it becomes available.`,ok:"Ok",consentTitle:"Prepare Your Order",seriesSelect:"Select Vehicle Series",series:"Vehicle Series",productFSeries:"F Series",productGSeries:"G Series",checkout:"Checkout",option:"Option",optionF:"F",optionG:"G",legalNotice:"Legal Notice",consentText:"Before we redirect you to checkout, we need your consent.",partnerJPNotice:"Sold and shipped by our partner in Japan, JUNOS TRADING Co., Ltd.",partnerEUNotice:"Sold and shipped by our EU partner, AutoTopNL."},iN={translation:aN},rN={stockText:"Sofort lieferbar â Versand in 1â2 Werktagen",legalGuaranteeNoticeImage:"Legal_guarantee_notice_DE.png",legalGuaranteeTitle:"Gesetzliche Gewährleistung",legalGuaranteeSummary:"Für alle Waren gelten mindestens 2 Jahre gesetzliche Gewährleistung in der EU.",legalGuaranteeLearnMore:"Mehr erfahren",legalGuaranteeNoticeAlt:"Hinweis zur gesetzlichen Gewährleistung in der EU. Für Details das Bild in voller GröÃe öffnen.",buyNow:"Jetzt kaufen",buyNowPrice:"Jetzt kaufen ab 149 â¬",brand:"Marke",model:"Modell",generation:"Baureihe",variant:"Motorisierung",isCompatible:"Gute Nachrichten: Dein Fahrzeug ist kompatibel!",isNotCompatible:"Dein Fahrzeug ist leider nicht kompatibel.",requiresNonPHEV:"Nicht kompatibel mit Plug-in-Hybridfahrzeugen.",requiresExhaustFlap:"Erfordert ein werkseitig verbautes Abgasklappensystem.",requiresActiveSoundDesign:"Erfordert ein werkseitig verbautes Active Sound Design.",skillAutoStartStopOff:"Auto Start Stopp",skillExhaustFlapControl:"Abgasklappensteuerung",skillActiveSoundDesignOff:"Active Sound Design",skillSafetyCarMode:"Safety Car Modus",soldOut:"Ausverkauft",consentMessage:"Ich habe verstanden, dass dieses Produkt ausschlieÃlich für den Motorsport auf nicht öffentlichen Strecken vorgesehen ist.",consentTooltip:"Bestätigen Sie zuerst den Hinweis.",consentNegativeButton:"Abbrechen",unavailableTitle:"Derzeit nicht in {{ country }} verfügbar",unavailableTitleUS:"Derzeit nicht in den USA verfügbar",unavailableTitleGeneral:"Derzeit nicht in deinem Land verfügbar",unavailableMessage_1:"Der MotorCom ist in deinem Land derzeit noch nicht erhältlich â aber wir arbeiten daran!",unavailableMessage_2:'Melde dich für unseren <reference href="https://app.us21.list-manage.com/subscribe?u=c78b3e392e87345170038c737&id=807248ad77&f_id=001fa7e6f0" target="_blank">Newsletter</reference> an, und wir informieren dich, sobald er verfügbar ist.',ok:"Ok",consentTitle:"Bestellung vorbereiten",seriesSelect:"Baureihe auswählen",series:"Baureihe",productFSeries:"F-Baureihe",productGSeries:"G-Baureihe",checkout:"Zum Checkout",option:"Option",optionF:"F",optionG:"G",legalNotice:"Rechtlicher Hinweis",consentText:"Bevor wir dich zum Checkout weiterleiten, benötigen wir deine Zustimmung.",partnerJPNotice:"Verkauf und Versand erfolgen durch unseren Partner in Japan, JUNOS TRADING Co., Ltd.",partnerEUNotice:"Verkauf und Versand erfolgen durch unseren EU-Partner AutoTopNL."},lN={translation:rN},sN={stockText:"å¨åº«ãã â 1ï½2å¶æ¥æ¥ä»¥å
ã«çºé",legalGuaranteeTitle:"æ³å®ä¿è¨¼",legalGuaranteeSummary:"EUã§ã¯ããã¹ã¦ã®ååã«æä½2å¹´éã®æ³å®ä¿è¨¼ãé©ç¨ããã¾ãã",legalGuaranteeLearnMore:"詳ããè¦ã",legalGuaranteeNoticeImage:"Legal_guarantee_notice_EN.png",legalGuaranteeNoticeAlt:"EUã®æ³å®ä¿è¨¼ã«é¢ããæ¡å
ï¼è±èªï¼ã詳細ã¯ç»åãå寸大ã§éãã¦ã確èªãã ããã",buyNow:"ä»ããè³¼å
¥",buyNowPrice:"ä»ããè³¼å
¥ ï¿¥23,900ãã",brand:"ãã©ã³ã",model:"ã¢ãã«",generation:"è»ä¸¡ã·ãªã¼ãº",variant:"ã¨ã³ã¸ã³",isCompatible:"æå ±ã§ãï¼ã客æ§ã®è»ä¸¡ã¯å¯¾å¿ãã¦ãã¾ãï¼",isNotCompatible:"ã客æ§ã®è»ä¸¡ã¯å¯¾å¿ãã¦ãã¾ããã",requiresNonPHEV:"ãã©ã°ã¤ã³ ãã¤ããªããè»ä¸¡ã«ã¯å¯¾å¿ãã¦ãã¾ããã",requiresExhaustFlap:"è»ä¸¡ã«ã¨ãã¾ã¼ã¹ã ãã©ãããå·¥å ´åºè·æã«è£
åããã¦ããå¿
è¦ãããã¾ãã",requiresActiveSoundDesign:"è»ä¸¡ã«ã¢ã¯ãã£ã ãµã¦ã³ã ãã¶ã¤ã³ãå·¥å ´åºè·æã«è£
åããã¦ããå¿
è¦ãããã¾ãã",skillAutoStartStopOff:"ãªã¼ã ã¹ã¿ã¼ã ã¹ããã ã³ã³ããã¼ã«",skillExhaustFlapControl:"ã¨ãã¾ã¼ã¹ã ãã©ãã ã³ã³ããã¼ã«",skillActiveSoundDesignOff:"ã¢ã¯ãã£ã ãµã¦ã³ã ãã¶ã¤ã³",skillSafetyCarMode:"ã»ã¼ãã㣠ã«ã¼ ã¢ã¼ã",soldOut:"売ãåã",consentMessage:"ãã®è£½åã¯ãå
¬éã§ã¯ãªãã¯ãã¼ãºãã³ã¼ã¹ã§ã®ã¢ã¼ã¿ã¼ã¹ãã¼ãç¨éã®ã¿ãç®çã¨ãã製åã§ãããã¨ãçè§£ãã¦ãã¾ãã",consentTooltip:"ç¶è¡ããã«ã¯ãã¾ãå
責äºé
ã«åæãã¦ãã ããã",consentNegativeButton:"ãã£ã³ã»ã«",unavailableTitle:"ç¾å¨ã{{ country }}ã§ã¯ãè³¼å
¥ããã ãã¾ãã",unavailableTitleUS:"ç¾å¨ãç±³å½ã§ã¯ãè³¼å
¥ããã ãã¾ãã",unavailableTitleGeneral:"ç¾å¨ããä½ã¾ãã®å½ã§ã¯ãè³¼å
¥ããã ãã¾ãã",unavailableMessage_1:"MotorComã¯ããä½ã¾ãã®å½ã§ã¯ã¾ã è³¼å
¥ã§ãã¾ããããç¾å¨å¯¾å¿ã«åãã¦åãçµãã§ãã¾ãï¼",unavailableMessage_2:'å¼ç¤¾ã®<reference href="https://app.us21.list-manage.com/subscribe?u=c78b3e392e87345170038c737&id=807248ad77&f_id=001fa7e6f0" target="_blank">ãã¥ã¼ã¹ã¬ã¿ã¼</reference>ã«ãç»é²ããã ãã¨ãè³¼å
¥å¯è½ã«ãªã次第ãç¥ãããã¾ãã',ok:"OK",consentTitle:"ãæ³¨æã®æºå",seriesSelect:"è»ä¸¡ã·ãªã¼ãºã鏿",series:"è»ä¸¡ã·ãªã¼ãº",productFSeries:"Fã·ãªã¼ãº",productGSeries:"Gã·ãªã¼ãº",checkout:"è³¼å
¥æç¶ã",option:"ãªãã·ã§ã³",optionF:"F",optionG:"G",legalNotice:"æ³çéç¥",consentText:"è³¼å
¥æç¶ãã«é²ãåã«ãã客æ§ã®åæãå¿
è¦ã§ãã",partnerJPNotice:"æ¥æ¬å½å
ã®ãã¼ããã¼ã§ããæ ªå¼ä¼ç¤¾JUNOS TRADINGã販売ã»çºéãã¾ãã",partnerEUNotice:"EUã®ãã¼ããã¼ã§ããAutoTopNLã販売ã»çºéãã¾ãã"},uN={translation:sN},oN={stockText:"En stock â EnvÃo en 1â2 dÃas laborables",legalGuaranteeTitle:"GarantÃa legal",legalGuaranteeSummary:"Todos los productos cuentan con una garantÃa legal mÃnima de 2 años en la UE.",legalGuaranteeLearnMore:"Más información",legalGuaranteeNoticeImage:"Legal_guarantee_notice_EN.png",legalGuaranteeNoticeAlt:"Aviso sobre la garantÃa legal en la UE (en inglés). Abre la imagen a tamaño completo para ver los detalles.",buyNow:"Comprar ahora",buyNowPrice:"Comprar ahora desde 149 US$",brand:"Marca",model:"Modelo",generation:"Serie del vehÃculo",variant:"Motor",isCompatible:"¡Buenas noticias: tu vehÃculo es compatible!",isNotCompatible:"Tu vehÃculo no es compatible.",requiresNonPHEV:"No compatible con vehÃculos hÃbridos enchufables.",requiresExhaustFlap:"Requiere que el vehÃculo esté equipado de fábrica con una válvula de escape.",requiresActiveSoundDesign:"Requiere que el vehÃculo esté equipado de fábrica con Active Sound Design.",skillAutoStartStopOff:"Control de arranque y parada automáticos",skillExhaustFlapControl:"Control de la válvula de escape",skillActiveSoundDesignOff:"Desactivar Active Sound Design",skillSafetyCarMode:"Modo Safety Car",soldOut:"Agotado",consentMessage:"Entiendo que este producto está destinado exclusivamente al automovilismo deportivo en circuitos cerrados al tráfico público.",consentTooltip:"
331Confirma primero el aviso para continuar.",consentNegativeButton:"Cancelar",unavailableTitle:"Actualmente no disponible en {{ country }}",unavailableTitleUS:"Actualmente no disponible en EE. UU.",unavailableTitleGeneral:"Actualmente no disponible en tu paÃs",unavailableMessage_1:"MotorCom aún no está disponible para comprar en tu paÃs, ¡pero estamos trabajando en ello!",unavailableMessage_2:'SuscrÃbete a nuestro <reference href="https://app.us21.list-manage.com/subscribe?u=c78b3e392e87345170038c737&id=807248ad77&f_id=001fa7e6f0" target="_blank">boletÃn</reference> y te avisaremos en cuanto esté disponible.',ok:"Aceptar",consentTitle:"Prepara tu pedido",seriesSelect:"Selecciona la serie del vehÃculo",series:"Serie del vehÃculo",productFSeries:"Serie F",productGSeries:"Serie G",checkout:"Finalizar compra",option:"Opción",optionF:"F",optionG:"G",legalNotice:"Aviso legal",consentText:"Antes de continuar con el pago, necesitamos tu consentimiento.",partnerJPNotice:"Vendido y enviado por nuestro socio en Japón, JUNOS TRADING Co., Ltd.",partnerEUNotice:"Vendido y enviado por nuestro socio en la UE, AutoTopNL."},cN={translation:oN},fN={stockText:"W magazynie â WysyÅka w ciÄ
gu 1â2 dni roboczych",legalGuaranteeTitle:"Gwarancja prawna",legalGuaranteeSummary:"Wszystkie towary sÄ
objÄte co najmniej 2-letniÄ
gwarancjÄ
prawnÄ
w UE.",legalGuaranteeLearnMore:"Dowiedz siÄ wiÄcej",legalGuaranteeNoticeImage:"Legal_guarantee_notice_EN.png",legalGuaranteeNoticeAlt:"Informacja o gwarancji prawnej w UE (po angielsku). Otwórz obraz w peÅnym rozmiarze, aby poznaÄ szczegóÅy.",buyNow:"Kup teraz",buyNowPrice:"Kup teraz od 149 USD",brand:"Marka",model:"Model",generation:"Seria pojazdu",variant:"Silnik",isCompatible:"Dobra wiadomoÅÄ: Twój pojazd jest kompatybilny!",isNotCompatible:"Twój pojazd nie jest kompatybilny.",requiresNonPHEV:"Produkt nie jest kompatybilny z pojazdami hybrydowymi typu plug-in.",requiresExhaustFlap:"Pojazd musi byÄ fabrycznie wyposażony w klapÄ ukÅadu wydechowego.",requiresActiveSoundDesign:"Pojazd musi byÄ fabrycznie wyposażony w Active Sound Design.",skillAutoStartStopOff:"Sterowanie automatycznym systemem Start-Stop",skillExhaustFlapControl:"Sterowanie klapÄ
ukÅadu wydechowego",skillActiveSoundDesignOff:"WyÅÄ
czenie Active Sound Design",skillSafetyCarMode:"Tryb Safety Car",soldOut:"Wyprzedane",consentMessage:"Rozumiem, że ten produkt jest przeznaczony wyÅÄ
cznie do sportów motorowych na torach zamkniÄtych dla ruchu publicznego.",consentTooltip:"Najpierw potwierdź zapoznanie siÄ z informacjÄ
, aby kontynuowaÄ.",consentNegativeButton:"Anuluj",unavailableTitle:"Obecnie niedostÄpne w kraju: {{ country }}",unavailableTitleUS:"Obecnie niedostÄpne w USA",unavailableTitleGeneral:"Obecnie niedostÄpne w Twoim kraju",unavailableMessage_1:"MotorCom nie jest jeszcze dostÄpny w sprzedaży w Twoim kraju, ale pracujemy nad tym!",unavailableMessage_2:'Zapisz siÄ do naszego <reference href="https://app.us21.list-manage.com/subscribe?u=c78b3e392e87345170038c737&id=807248ad77&f_id=001fa7e6f0" target="_blank">newslettera</reference>, a powiadomimy CiÄ, gdy produkt bÄdzie dostÄpny.',ok:"OK",consentTitle:"Przygotuj zamówienie",seriesSelect:"Wybierz seriÄ pojazdu",series:"Seria pojazdu",productFSeries:"Seria F",productGSeries:"Seria G",checkout:"Przejdź do kasy",option:"Opcja",optionF:"F",optionG:"G",legalNotice:"Informacja prawna",consentText:"Zanim przekierujemy CiÄ do kasy, potrzebujemy Twojej zgody.",partnerJPNotice:"Sprzedaż i wysyÅkÄ realizuje nasz partner w Japonii, JUNOS TRADING Co., Ltd.",partnerEUNotice:"Sprzedaż i wysyÅkÄ realizuje nasz partner w UE, AutoTopNL."},dN={translation:fN},hN={stockText:"ì¬ê³ ìì â ìì
ì¼ ê¸°ì¤ 1~2ì¼ ì´ë´ ë°ì¡",legalGuaranteeTitle:"ë²ì ë³´ì¦",legalGuaranteeSummary:"EUììë 모ë ìíì ìµì 2ë
ì ë²ì ë³´ì¦ì´ ì ì©ë©ëë¤.",legalGuaranteeLearnMore:"ìì¸í ìì보기",legalGuaranteeNoticeImage:"Legal_guarantee_notice_EN.png",legalGuaranteeNoticeAlt:"EU ë²ì ë³´ì¦ ìë´(ì문). ìì¸í ë´ì©ì ì´ë¯¸ì§ë¥¼ ì본 í¬ê¸°ë¡ ì´ì´ íì¸íì¸ì.",buyNow:"ì§ê¸ 구매",buyNowPrice:"ì§ê¸ 구매 US$149ë¶í°",brand:"ë¸ëë",model:"모ë¸",generation:"ì°¨ë ì리ì¦",variant:"ìì§",isCompatible:"ì¢ì ììì
ëë¤! ê³ ê°ëì ì°¨ëê³¼ í¸íë©ëë¤.",isNotCompatible:"ê³ ê°ëì ì°¨ëê³¼ í¸íëì§ ììµëë¤.",requiresNonPHEV:"íë¬ê·¸ì¸ íì´ë¸ë¦¬ë ì°¨ëê³¼ í¸íëì§ ììµëë¤.",requiresExhaustFlap:"ì°¨ëì ì¶ê³ ì 배기 ë°¸ë¸ê° ì¥ì°©ëì´ ìì´ì¼ í©ëë¤.",requiresActiveSoundDesign:"ì°¨ëì ì¶ê³ ì Active Sound Designì´ ì¥ì°©ëì´ ìì´ì¼ í©ëë¤.",skillAutoStartStopOff:"ìë ìë ë° ì ì§ ì ì´",skillExhaustFlapControl:"배기 ë°¸ë¸ ì ì´",skillActiveSoundDesignOff:"Active Sound Design ë기",skillSafetyCarMode:"ì¸ì´íí° ì¹´ 모ë",soldOut:"íì ",consentMessage:"ì´ ì íì ì¼ë° ëë¡ê° ìë íìë í¸ëìì 모í°ì¤í¬ì¸ ì©ëë¡ë§ ì¬ì©íëë¡ ì ìëììì ì´í´í©ëë¤.",consentTooltip:"ê³ìíë ¤ë©´ 먼ì ìë´ ì¬íì íì¸í´ 주ì¸ì.",consentNegativeButton:"ì·¨ì",unavailableTitle:"íì¬ {{ country }}ììë 구매í ì ììµëë¤",unavailableTitleUS:"íì¬ ë¯¸êµììë 구매í ì ììµëë¤",unavailableTitleGeneral:"íì¬ ê³ ê°ëì êµê°ììë 구매í ì ììµëë¤",unavailableMessage_1:"MotorComì ìì
331§ ê³ ê°ëì êµê°ìì 구매í ì ìì§ë§, í매를 ì¤ë¹íê³ ììµëë¤!",unavailableMessage_2:'<reference href="https://app.us21.list-manage.com/subscribe?u=c78b3e392e87345170038c737&id=807248ad77&f_id=001fa7e6f0" target="_blank">ë´ì¤ë í°</reference>를 구ë
íìë©´ êµ¬ë§¤ê° ê°ë¥í´ì§ë ì¦ì ìë ¤ëë¦¬ê² ìµëë¤.',ok:"íì¸",consentTitle:"주문 ì¤ë¹",seriesSelect:"ì°¨ë ìë¦¬ì¦ ì í",series:"ì°¨ë ì리ì¦",productFSeries:"F ì리ì¦",productGSeries:"G ì리ì¦",checkout:"ê²°ì í기",option:"ìµì
",optionF:"F",optionG:"G",legalNotice:"ë²ì ê³ ì§",consentText:"ê²°ì íì´ì§ë¡ ì´ëí기 ì ì ê³ ê°ëì ëìê° íìí©ëë¤.",partnerJPNotice:"ì¼ë³¸ íí¸ëì¸ JUNOS TRADING Co., Ltd.ìì í매 ë° ë°°ì¡í©ëë¤.",partnerEUNotice:"EU íí¸ëì¸ AutoTopNLìì í매 ë° ë°°ì¡í©ëë¤."},pN={translation:hN},vN={stockText:"Disponibile â Spedizione entro 1â2 giorni lavorativi",legalGuaranteeTitle:"Garanzia legale",legalGuaranteeSummary:"Tutti i beni sono coperti da una garanzia legale di almeno 2 anni nellâUE.",legalGuaranteeLearnMore:"Scopri di più",legalGuaranteeNoticeImage:"Legal_guarantee_notice_EN.png",legalGuaranteeNoticeAlt:"Avviso sulla garanzia legale nellâUE (in inglese). Apri lâimmagine a dimensione intera per i dettagli.",buyNow:"Acquista ora",buyNowPrice:"Acquista ora a partire da 149 USD",brand:"Marca",model:"Modello",generation:"Serie del veicolo",variant:"Motore",isCompatible:"Buone notizie: il tuo veicolo è compatibile!",isNotCompatible:"Il tuo veicolo non è compatibile.",requiresNonPHEV:"Non compatibile con i veicoli ibridi plug-in.",requiresExhaustFlap:"Il veicolo deve essere dotato di una valvola di scarico installata in fabbrica.",requiresActiveSoundDesign:"Il veicolo deve essere dotato di Active Sound Design installato in fabbrica.",skillAutoStartStopOff:"Controllo Start-Stop automatico",skillExhaustFlapControl:"Controllo della valvola di scarico",skillActiveSoundDesignOff:"Disattivazione di Active Sound Design",skillSafetyCarMode:"Modalità Safety Car",soldOut:"Esaurito",consentMessage:"Ho compreso che questo prodotto è destinato esclusivamente allâuso negli sport motoristici su circuiti chiusi al traffico pubblico.",consentTooltip:"
331Conferma prima lâavvertenza per continuare.",consentNegativeButton:"Annulla",unavailableTitle:"Attualmente non disponibile in {{ country }}",unavailableTitleUS:"Attualmente non disponibile negli Stati Uniti",unavailableTitleGeneral:"Attualmente non disponibile nel tuo paese",unavailableMessage_1:"MotorCom non è ancora acquistabile nel tuo paese, ma ci stiamo lavorando!",unavailableMessage_2:'Iscriviti alla nostra <reference href="https://app.us21.list-manage.com/subscribe?u=c78b3e392e87345170038c737&id=807248ad77&f_id=001fa7e6f0" target="_blank">newsletter</reference> e ti avviseremo non appena sarà disponibile.',ok:"OK",consentTitle:"Prepara il tuo ordine",seriesSelect:"Seleziona la serie del veicolo",series:"Serie del veicolo",productFSeries:"Serie F",productGSeries:"Serie G",checkout:"Procedi al pagamento",option:"Opzione",optionF:"F",optionG:"G",legalNotice:"Avviso legale",consentText:"Prima di reindirizzarti al pagamento, abbiamo bisogno del tuo consenso.",partnerJPNotice:"Venduto e spedito dal nostro partner in Giappone, JUNOS TRADING Co., Ltd.",partnerEUNotice:"Venduto e spedito dal nostro partner nellâUE, AutoTopNL."},yN={translation:vN},mN={stockText:"æè´§ â 1â2ä¸ªå·¥ä½æ¥å
åè´§",legalGuaranteeTitle:"æ³å®æ
ä¿",legalGuaranteeSummary:"卿¬§çï¼ææååå享æè³å°2å¹´çæ³å®æ
ä¿ã",legalGuaranteeLearnMore:"äºè§£æ´å¤",legalGuaranteeNoticeImage:"Legal_guarantee_notice_EN.png",legalGuaranteeNoticeAlt:"æ¬§çæ³å®æ
ä¿è¯´æï¼è±æï¼ãæå¼å尺寸å¾ç以æ¥ç详æ
ã",buyNow:"ç«å³è´ä¹°",buyNowPrice:"ç«å³è´ä¹° 149ç¾å
èµ·",brand:"åç",model:"车å",generation:"车系",variant:"å卿º",isCompatible:"å¥½æ¶æ¯ï¼æ¨ç车è¾å
¼å®¹ï¼",isNotCompatible:"æ¨ç车è¾ä¸å
¼å®¹ã",requiresNonPHEV:"ä¸å
¼å®¹æçµå¼æ··åå¨å车è¾ã",requiresExhaustFlap:"车è¾å¿
é¡»é
å¤ååææ°éé¨ã",requiresActiveSoundDesign:"车è¾å¿
é¡»é
å¤åå Active Sound Designã",skillAutoStartStopOff:"èªå¨å¯åæ§å¶",skillExhaustFlapControl:"ææ°é鍿§å¶",skillActiveSoundDesignOff:"å
³é Active Sound Design",skillSafetyCarMode:"å®å
¨è½¦æ¨¡å¼",soldOut:"å·²å®ç½",consentMessage:"æçè§£æ¬äº§åä»
éäºå¨éå
Œ
±éè·¯çå°éèµéä¸ç¨äºèµè½¦è¿å¨ã",consentTooltip:"请å
确认å
责声æä»¥ç»§ç»ã",consentNegativeButton:"åæ¶",unavailableTitle:"ç®åå¨{{ country }}æ æ³è´ä¹°",unavailableTitleUS:"ç®åå¨ç¾å½æ æ³è´ä¹°",unavailableTitleGeneral:"ç®å卿¨æå¨çå½å®¶æ æ³è´ä¹°",unavailableMessage_1:"MotorCom ç®åå°æªå¨æ¨æå¨çå½å®¶éå®ï¼ä½æä»¬æ£å¨åªåæ¨è¿ï¼",unavailableMessage_2:'订é
æä»¬ç<reference href="https://app.us21.list-manage.com/subscribe?u=c78b3e392e87345170038c737&id=807248ad77&f_id=001fa7e6f0" target="_blank">çµåç®æ¥</reference>ï¼äº§åä¸å¸åæä»¬ä¼ç¬¬ä¸æ¶é´éç¥æ¨ã',ok:"ç¡®å®",consentTitle:"åå¤è®¢å",seriesSelect:"éæ©è½¦ç³»",series:"车系",productFSeries:"Fç³»",productGSeries:"Gç³»",checkout:"ç»è´¦",option:"é项",optionF:"F",optionG:"G",legalNotice:"æ³å¾å£°æ",consentText:"å¨è·³è½¬è³ç»è´¦é¡µé¢ä¹åï¼æä»¬éè¦æ¨çåæã",partnerJPNotice:"ç±æä»¬çæ¥æ¬åä½ä¼ä¼´ JUNOS TRADING Co., Ltd. éå®ååè´§ã",partnerEUNotice:"ç±æä»¬çæ¬§çåä½ä¼ä¼´ AutoTopNL éå®ååè´§ã"},gN={translation:mN},bN={stockText:"Op voorraad â Verzending binnen 1â2 werkdagen",legalGuaranteeTitle:"Wettelijke garantie",legalGuaranteeSummary:"Voor alle goederen geldt in de EU een wettelijke garantie van minimaal 2 jaar.",legalGuaranteeLearnMore:"Meer informatie",legalGuaranteeNoticeImage:"Legal_guarantee_notice_EN.png",legalGuaranteeNoticeAlt:"Informatie over de wettelijke garantie in de EU (in het Engels). Open de afbeelding op volledige grootte voor meer informatie.",buyNow:"Nu kopen",buyNowPrice:"Nu kopen vanaf US$ 149",brand:"Merk",model:"Model",generation:"Voertuigserie",variant:"Motor",isCompatible:"Goed nieuws: je voertuig is compatibel!",isNotCompatible:"Je voertuig is niet compatibel.",requiresNonPHEV:"Niet compatibel met plug-inhybride voertuigen.",requiresExhaustFlap:"Het voertuig moet af fabriek zijn uitgerust met een uitlaatklep.",requiresActiveSoundDesign:"Het voertuig moet af fabriek zijn uitgerust met Active Sound Design.",skillAutoStartStopOff:"Automatische start-stopbediening",skillExhaustFlapControl:"Uitlaatklepbediening",skillActiveSoundDesignOff:"Active Sound Design uitschakelen",skillSafetyCarMode:"Safety Car-modus",soldOut:"Uitverkocht",consentMessage:"Ik begrijp dat dit product uitsluitend bedoeld is voor motorsportgebruik op circuits die zijn afgesloten voor openbaar verkeer.",consentTooltip:"Bevestig eerst de waarschuwing om door te gaan.",consentNegativeButton:"Annuleren",unavailableTitle:"Momenteel niet beschikbaar in {{ country }}",unavailableTitleUS:"Momenteel niet beschikbaar in de VS",unavailableTitleGeneral:"Momenteel niet beschikbaar in jouw land",unavailableMessage_1:"MotorCom is nog niet te koop in jouw land, maar we werken eraan!",unavailableMessage_2:'Schrijf je in voor onze <reference href="https://app.us21.list-manage.com/subscribe?u=c78b3e392e87345170038c737&id=807248ad77&f_id=001fa7e6f0" target="_blank">nieuwsbrief</reference> en we laten je weten zodra het product beschikbaar is.',ok:"OK",consentTitle:"Bereid je bestelling voor",seriesSelect:"Selecteer de voertuigserie",series:"Voertuigserie",productFSeries:"F-serie",productGSeries:"G-serie",checkout:"Afrekenen",option:"Optie",optionF:"F",optionG:"G",legalNotice:"Juridische informatie",consentText:"Voordat we je doorsturen naar de kassa, hebben we je toestemming nodig.",partnerJPNotice:"Verkocht en verzonden door onze partner in Japan, JUNOS TRADING Co., Ltd.",partnerEUNotice:"Verkocht en verzonden door onze EU-partner AutoTopNL."},SN={translation:bN},EN={stockText:"Em estoque â Envio em 1â2 dias úteis",legalGuaranteeTitle:"Garantia legal",legalGuaranteeSummary:"Na UE, todos os produtos têm garantia legal de pelo menos 2 anos.",legalGuaranteeLearnMore:"Saiba mais",legalGuaranteeNoticeImage:"Legal_guarantee_notice_EN.png",legalGuaranteeNoticeAlt:"Aviso sobre a garantia legal na UE (em inglês). Abra a imagem em tamanho original para ver os detalhes.",buyNow:"Comprar agora",buyNowPrice:"Comprar agora a partir de US$ 149",brand:"Marca",model:"Modelo",generation:"Série do veÃculo",variant:"Motor",isCompatible:"Boa notÃcia: seu veÃculo é
331compatÃvel!",isNotCompatible:"Seu veÃculo não é compatÃvel.",requiresNonPHEV:"Não compatÃvel com veÃculos hÃbridos plug-in.",requiresExhaustFlap:"O veÃculo deve estar equipado de fábrica com uma válvula de escapamento.",requiresActiveSoundDesign:"O veÃculo deve estar equipado de fábrica com Active Sound Design.",skillAutoStartStopOff:"Controle de partida e parada automáticas",skillExhaustFlapControl:"Controle da válvula de escapamento",skillActiveSoundDesignOff:"Desativar Active Sound Design",skillSafetyCarMode:"Modo Safety Car",soldOut:"Esgotado",consentMessage:"Entendo que este produto se destina exclusivamente ao uso no automobilismo em pistas fechadas ao tráfego público.",consentTooltip:"Confirme primeiro o aviso para continuar.",consentNegativeButton:"Cancelar",unavailableTitle:"Atualmente indisponÃvel em {{ country }}",unavailableTitleUS:"Atualmente indisponÃvel nos EUA",unavailableTitleGeneral:"Atualmente indisponÃvel no seu paÃs",unavailableMessage_1:"O MotorCom ainda não está disponÃvel para compra no seu paÃs, mas estamos trabalhando nisso!",unavailableMessage_2:'Assine nossa <reference href="https://app.us21.list-manage.com/subscribe?u=c78b3e392e87345170038c737&id=807248ad77&f_id=001fa7e6f0" target="_blank">newsletter</reference> e avisaremos assim que o produto estiver disponÃvel.',ok:"OK",consentTitle:"Prepare seu pedido",seriesSelect:"Selecione a série do veÃculo",series:"Série do veÃculo",productFSeries:"Série F",productGSeries:"Série G",checkout:"Finalizar compra",option:"Opção",optionF:"F",optionG:"G",legalNotice:"Aviso legal",consentText:"Antes de encaminhar você para o pagamento, precisamos do seu consentimento.",partnerJPNotice:"Vendido e enviado pelo nosso parceiro no Japão, JUNOS TRADING Co., Ltd.",partnerEUNotice:"Vendido e enviado pelo nosso parceiro na UE, AutoTopNL."},ON={translation:EN},TN={stockText:"Stokta â 1â2 iÅ günü içinde kargoya verilir",legalGuaranteeTitle:"Yasal garanti",legalGuaranteeSummary:"ABâde tüm ürünler en az 2 yıl yasal garanti kapsamındadır.",legalGuaranteeLearnMore:"Daha fazla bilgi",legalGuaranteeNoticeImage:"Legal_guarantee_notice_EN.png",legalGuaranteeNoticeAlt:"AB yasal garanti bildirimi (İngilizce). Ayrıntılar için görseli tam boyutta açın.",buyNow:"Åimdi satın al",buyNowPrice:"Åimdi satın al 149 ABD dolarından baÅlayan fiyatlarla",brand:"Marka",model:"Model",generation:"Araç serisi",variant:"Motor",isCompatible:"İyi haber: aracınız uyumlu!",isNotCompatible:"Aracınız uyumlu deÄil.",requiresNonPHEV:"Åarj edilebilir hibrit araçlarla uyumlu deÄildir.",requiresExhaustFlap:"Araçta fabrika çıkıÅlı bir egzoz klapesi bulunmalıdır.",requiresActiveSoundDesign:"Araçta fabrika çıkıÅlı Active Sound Design bulunmalıdır.",skillAutoStartStopOff:"Otomatik Start-Stop kontrolü",skillExhaustFlapControl:"Egzoz klapesi kontrolü",skillActiveSoundDesignOff:"Active Sound Designâı kapatma",skillSafetyCarMode:"Güvenlik aracı modu",soldOut:"Tükendi",consentMessage:"Bu ürünün yalnızca kamu trafiÄine kapalı pistlerde motor sporları için tasarlandıÄını anlıyorum.",consentTooltip:"Devam etmek için önce uyarıyı onaylayın.",consentNegativeButton:"İptal",unavailableTitle:"Åu anda {{ country }} için mevcut deÄil",unavailableTitleUS:"Åu anda ABDâde mevcut deÄil",unavailableTitleGeneral:"Åu anda ülkenizde mevcut deÄil",unavailableMessage_1:"MotorCom henüz ülkenizde satıÅa sunulmadı, ancak bunun için çalıÅıyoruz!",unavailableMessage_2:'<reference href="https://app.us21.list-manage.com/subscribe?u=c78b3e392e87345170038c737&id=807248ad77&f_id=001fa7e6f0" target="_blank">Bültenimize</reference> abone olun, ürün satıÅa sunulduÄunda size haber verelim.',ok:"Tamam",consentTitle:"SipariÅinizi hazırlayın",seriesSelect:"Araç serisini seçin",series:"Araç serisi",productFSeries:"F serisi",productGSeries:"G serisi",checkout:"Ãdemeye geç",option:"Seçenek",optionF:"F",optionG:"G",legalNotice:"Yasal bildirim",consentText:"Sizi ödeme sayfasına yönlendirmeden önce onayınıza ihtiyacımız var.",partnerJPNotice:"Japonyaâdaki iÅ ortaÄımız JUNOS TRADING Co., Ltd. tarafından satılır ve gönderilir.",partnerEUNotice:"ABâdeki iÅ ortaÄımız AutoTo
331pNL tarafından satılır ve gönderilir."},_N={translation:TN},NN={stockText:"РналиÑии â оÑпÑавка в ÑеÑение 1â2 ÑабоÑиÑ
дней",legalGuaranteeTitle:"ÐÐ°ÐºÐ¾Ð½Ð½Ð°Ñ Ð³Ð°ÑанÑиÑ",legalGuaranteeSummary:"Ð ÐС на вÑе ÑоваÑÑ ÑаÑпÑоÑÑÑанÑеÑÑÑ Ð·Ð°ÐºÐ¾Ð½Ð½Ð°Ñ Ð³Ð°ÑанÑÐ¸Ñ ÑÑоком не менее 2 леÑ.",legalGuaranteeLearnMore:"ÐодÑобнее",legalGuaranteeNoticeImage:"Legal_guarantee_notice_EN.png",legalGuaranteeNoticeAlt:"ÐнÑоÑмаÑÐ¸Ñ Ð¾ законной гаÑанÑии в ÐС (на английÑком ÑзÑке). ÐÑкÑойÑе изобÑажение в полном ÑазмеÑе, ÑÑÐ¾Ð±Ñ Ð¾Ð·Ð½Ð°ÐºÐ¾Ð¼Ð¸ÑÑÑÑ Ñ Ð¿Ð¾Ð´ÑобноÑÑÑми.",buyNow:"ÐÑпиÑÑ ÑейÑаÑ",buyNowPrice:"ÐÑпиÑÑ ÑейÑÐ°Ñ Ð¾Ñ 149 доллаÑов СШÐ",brand:"ÐаÑка",model:"ÐоделÑ",generation:"СеÑÐ¸Ñ Ð°Ð²ÑомобилÑ",variant:"ÐвигаÑелÑ",isCompatible:"ХоÑоÑие новоÑÑи: Ð²Ð°Ñ Ð°Ð²ÑÐ¾Ð¼Ð¾Ð±Ð¸Ð»Ñ ÑовмеÑÑим!",isNotCompatible:"ÐÐ°Ñ Ð°Ð²ÑÐ¾Ð¼Ð¾Ð±Ð¸Ð»Ñ Ð½ÐµÑовмеÑÑим.",requiresNonPHEV:"Ðе ÑовмеÑÑимо Ñ Ð¿Ð¾Ð´ÐºÐ»ÑÑаемÑми гибÑиднÑми авÑомобилÑми.",requiresExhaustFlap:"ÐвÑÐ¾Ð¼Ð¾Ð±Ð¸Ð»Ñ Ð´Ð¾Ð»Ð¶ÐµÐ½ бÑÑÑ Ð¾ÑнаÑÑн заводÑкой заÑлонкой вÑÑ
лопной ÑиÑÑемÑ.",requiresActiveSoundDesign:"ÐвÑÐ¾Ð¼Ð¾Ð±Ð¸Ð»Ñ Ð´Ð¾Ð»Ð¶ÐµÐ½ бÑÑÑ Ð¾ÑнаÑÑн заводÑкой ÑиÑÑемой Active Sound Design.",skillAutoStartStopOff:"УпÑавление ÑиÑÑемой авÑомаÑиÑеÑкого запÑÑка и оÑÑановки двигаÑелÑ",skillExhaustFlapControl:"УпÑавление заÑлонкой вÑÑ
лопной ÑиÑÑемÑ",skillActiveSoundDesignOff:"ÐÑклÑÑение Active Sound Design",skillSafetyCarMode:"Режим Safety Car",soldOut:"ÐÐµÑ Ð² налиÑии",consentMessage:"Я понимаÑ, ÑÑо ÑÑÐ¾Ñ Ð¿ÑодÑÐºÑ Ð¿ÑедназнаÑен иÑклÑÑиÑелÑно Ð´Ð»Ñ Ð°Ð²ÑоÑпоÑÑа на ÑÑаÑÑаÑ
, закÑÑÑÑÑ
Ð´Ð»Ñ Ð¾Ð±Ñего движениÑ.",consentTooltip:"ÐÐ»Ñ Ð¿ÑÐ¾Ð´Ð¾Ð»Ð¶ÐµÐ½Ð¸Ñ ÑнаÑала подÑвеÑдиÑе ознакомление Ñ Ð¿ÑедÑпÑеждением.",consentNegativeButton:"ÐÑмена",unavailableTitle:"СейÑÐ°Ñ Ð½ÐµÐ´Ð¾ÑÑÑпно в ÑÑÑане: {{ country }}",unavailableTitleUS:"СейÑÐ°Ñ Ð½ÐµÐ´Ð¾ÑÑÑпно в СШÐ",unavailableTitleGeneral:"СейÑÐ°Ñ Ð½ÐµÐ´Ð¾ÑÑÑпно в ваÑей ÑÑÑане",unavailableMessage_1:"MotorCom пока нелÑÐ·Ñ ÐºÑпиÑÑ Ð² ваÑей ÑÑÑане, но Ð¼Ñ ÑабоÑаем над ÑÑим!",unavailableMessage_2:'ÐодпиÑиÑеÑÑ Ð½Ð° наÑÑ <reference href="https://app.us21.list-manage.com/subscribe?u=c78b3e392e87345170038c737&id=807248ad77&f_id=001fa7e6f0" target="_blank">ÑаÑÑÑлкÑ</reference>, и Ð¼Ñ ÑообÑим вам, как ÑолÑко пÑодÑÐºÑ ÑÑÐ°Ð½ÐµÑ Ð´Ð¾ÑÑÑпен.',ok:"ÐÐ",consentTitle:"ÐодгоÑовÑÑе заказ",seriesSelect:"ÐÑбеÑиÑе ÑеÑÐ¸Ñ Ð°Ð²ÑомобилÑ",series:"СеÑÐ¸Ñ Ð°Ð²ÑомобилÑ",productFSeries:"СеÑÐ¸Ñ F",productGSeries:"СеÑÐ¸Ñ G",checkout:"ÐеÑейÑи к оплаÑе",option:"ÐпÑиÑ",optionF:"F",optionG:"G",legalNotice:"ÐÑÐ°Ð²Ð¾Ð²Ð°Ñ Ð¸Ð½ÑоÑмаÑиÑ",consentText:"ÐÑежде Ñем пеÑенапÑавиÑÑ Ð²Ð°Ñ Ðº оплаÑе, нам необÑ
одимо ваÑе ÑоглаÑие.",partnerJPNotice:"ÐÑÐ¾Ð´Ð°Ð¶Ñ Ð¸ оÑпÑÐ°Ð²ÐºÑ Ð¾ÑÑÑеÑÑвлÑÐµÑ Ð½Ð°Ñ Ð¿Ð°ÑÑнÑÑ Ð² Японии, JUNOS TRADING Co., Ltd.",partnerEUNotice:"ÐÑÐ¾Ð´Ð°Ð¶Ñ Ð¸ оÑпÑÐ°Ð²ÐºÑ Ð¾ÑÑÑеÑÑвлÑÐµÑ Ð½Ð°Ñ Ð¿Ð°ÑÑнÑÑ Ð² ÐС, AutoTopNL."},xN={translation:NN},AN={stockText:"En stock â Expédition sous 1 à 2 jours ouvrés",legalGuaranteeTitle:"Garantie légale",legalGuaranteeSummary:"Dans lâUE, tous les biens bénéficient dâune garantie légale dâau moins 2 ans.",legalGuaranteeLearnMore:"En savoir plus",legalGuaranteeNoticeImage:"Legal_guarantee_notice_EN.png",legalGuaranteeNoticeAlt:"Notice sur la garantie légale dans lâUE (en anglais). Ouvrez lâimage en taille réelle pour consulter les détails.",buyNow:"Acheter maintenant",buyNowPrice:"Acheter maintenant à partir de 149 $ US",brand:"Marque",model:"Modèle",generation:"Série du véhicule",variant:"Moteur",isCompatible:"Bonne nouvelle : votre véhicule est compatible !",isNotCompatible:"Votre véhicule nâest pas compatible.",requiresNonPHEV:"Non compatible avec les véhicules hybrides rechargeables.",requiresExhaustFlap:"Le véhicule doit être équipé dâorigine dâun clapet dâéchappement.",requiresActiveSoundDesign:"Le véhicule doit être équipé dâorigine du système Active Sound Design.",skillAutoStartStopOff:"Commande du Start-Stop automatique",skillExhaustFlapControl:"Commande du clapet dâéchappement",skillActiveSoundDesignOff:"Désactivation dâActive Sound Design",skillSafetyCarMode:"Mode Safety Car",soldOut:"Rupture de stock",consentMessage:"Je comprends que ce produit est exclusivement destiné à une utilisation en sport automobile sur des cir
331cuits fermés à la circulation publique.",consentTooltip:"Veuillez dâabord confirmer lâavertissement pour continuer.",consentNegativeButton:"Annuler",unavailableTitle:"Actuellement indisponible dans ce pays : {{ country }}",unavailableTitleUS:"Actuellement indisponible aux Ãtats-Unis",unavailableTitleGeneral:"Actuellement indisponible dans votre pays",unavailableMessage_1:"MotorCom nâest pas encore disponible à lâachat dans votre pays, mais nous y travaillons !",unavailableMessage_2:'Inscrivez-vous à notre <reference href="https://app.us21.list-manage.com/subscribe?u=c78b3e392e87345170038c737&id=807248ad77&f_id=001fa7e6f0" target="_blank">newsletter</reference> et nous vous informerons dès que le produit sera disponible.',ok:"OK",consentTitle:"Préparez votre commande",seriesSelect:"Sélectionnez la série du véhicule",series:"Série du véhicule",productFSeries:"Série F",productGSeries:"Série G",checkout:"Passer au paiement",option:"Option",optionF:"F",optionG:"G",legalNotice:"Mentions légales",consentText:"Avant de vous rediriger vers le paiement, nous avons besoin de votre consentement.",partnerJPNotice:"Vendu et expédié par notre partenaire au Japon, JUNOS TRADING Co., Ltd.",partnerEUNotice:"Vendu et expédié par notre partenaire dans lâUE, AutoTopNL."},DN={translation:AN},wf={en:iN,de:lN,ja:uN,es:cN,pl:dN,ko:pN,it:yN,"zh-CN":gN,nl:SN,"pt-BR":ON,tr:_N,ru:xN,fr:DN},CN=(i="en")=>{const t=i.trim().replace(/_/g,"-").toLowerCase(),a=Object.keys(wf).find(s=>s.toLowerCase()===t);if(a)return a;if(t==="pt")return"pt-BR";if(["zh","zh-sg","zh-hans","zh-hans-cn","zh-hans-sg"].includes(t))return"zh-CN";const l=t.split("-")[0];return wf[l]?l:"en"},wN=i=>{const t=CN(i);return gt.use(T1).init({resources:wf,lng:t,fallbackLng:"en"}),t},RN=({type:i,userLanguage:t})=>{const{data:a}=Z_(i,t);return P.jsx("div",{dangerouslySetInnerHTML:{__html:a}})},MN="2025-07",kN="store.sgsoftware.io",LN="74338592c9c099460e2c300dc5482044",zN=Dg({uri:`https://${kN}/api/${MN}/graphql.json`}),jN=V_((i,{headers:t})=>({headers:{...t,"X-Shopify-Storefront-Access-Token":LN}})),hu=new Zg({cache:new Xg,link:jN.concat(zN),defaultOptions:{watchQuery:{fetchPolicy:"no-cache"}}}),UN=document.documentElement.getAttribute("lang")?.toLowerCase()??"en",T0=wN(UN),qN=document.getElementsByClassName("bc-buy-button-root");
331[...qN].forEach((i,t)=>{const a=i.dataset,l=a.title??"",s=a.subtitle??"",o=a.placeholderTitle??"",f=a.placeholderSubtitle??"",h=a.productId??"",v=a.variantId??"",p=a.checkoutLanguage??"EN",y=a.userCountryCode??"US";fu.createRoot(i).render(P.jsx(ee.StrictMode,{children:P.jsx(cu,{client:hu,children:P.jsx($_,{title:l,subtitle:s,productId:h,variantId:v,placeholderTitle:o,placeholderSubtitle:f,checkoutLanguage:p,userCountryCode:y})})},t))});const VN=document.getElementsByClassName("mc-buy-button-root");[...VN].forEach((i,t)=>{const a=i.dataset.apiEndpoint??"/api",l=i.dataset.displayShippingInfo==="true";fu.createRoot(i).render(P.jsx(ee.StrictMode,{children:P.jsx(cu,{client:hu,children:P.jsx(S0,{apiEndpoint:a,userLanguage:T0,displayShippingInfo:l})})},t))});const Us=document.getElementById("mc-compatibility-root");if(Us){const i=Us.dataset.apiEndpoint??"/api",t=Us.dataset.displayShippingInfo==="true";fu.createRoot(Us).render(P.jsx(ee.StrictMode,{children:P.jsx(cu,{client:hu,children:P.jsx(j1,{apiEndpoint:i,displayShippingInfo:t})})}))}const BN=document.getElementsByClassName("policy-root");[...BN].forEach((i,t)=>{const a=i.dataset.type??"terms";fu.createRoot(i).render(P.jsx(ee.StrictMode,{children:P.jsx(cu,{client:hu,children:P.jsx(RN,{type:a,userLanguage:T0})})},t))})});export default FN();
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.