@fugood/bricks-cli 2.26.0-beta.4 → 2.26.0-beta.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/1809.js ADDED
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id=1809;export const __rspack_esm_ids=[1809];export const __webpack_modules__={35912(e,r,s){s.r(r),s.d(r,{PASSCODE_PERMISSIONS:()=>l,buildNewPasscode:()=>h,formatImageVersions:()=>E,mediaApiUrl:()=>p,parseDuration:()=>m,parseFileTypes:()=>c,parsePasscodePermissions:()=>u,presentBox:()=>f,presentPasscode:()=>_,runConfirmed:()=>w,scrubSecret:()=>L});var t,o=s(99436),n=s(67996),a=s(58021),i=["code"],l=["ALL","READ_ONLY","POST_ONLY","DELETE"],d={s:1,m:60,h:3600,d:86400,w:604800},p=(e,r=process.env)=>{var s;if(r.BRICKS_MEDIA_API_URL)return r.BRICKS_MEDIA_API_URL.replace(/\/$/,"");try{s=new URL(e)}catch{return null}return"localhost"===s.hostname||"127.0.0.1"===s.hostname?"http://localhost:3002":/^display(-[a-z0-9]+)?\.bricks\.tools$/.test(s.hostname)?`${s.protocol}//${s.hostname.replace(/^display/,"media")}`:null},c=e=>e?e.split(",").map(e=>e.trim().toUpperCase()).filter(Boolean):void 0,m=e=>{var r=String(e).trim().match(/^(\d+)\s*([smhdw]?)$/i),s=r?Number(r[1])*d[(r[2]||"s").toLowerCase()]:0;if(!s||s>31536e7)throw Error(`Invalid duration "${e}". Use seconds or a number with s, m, h, d or w.`);return s},u=e=>{if(!e)return["ALL"];var r=[...new Set(e.split(",").map(e=>e.trim().toUpperCase().replace(/-/g,"_")).filter(Boolean))],s=r.filter(e=>!l.includes(e));if(s.length>0)throw Error(`Unknown passcode permission: ${s.join(", ")}. Use ${l.join(", ")}.`);if(r.includes("ALL")&&r.length>1)throw Error("Passcode permission ALL cannot be combined with other permissions");return r.length>0?r:["ALL"]},h=({name:e,code:r,expiresIn:s,permissions:t})=>{var o=(e||"Passcode").trim();if(2>Buffer.byteLength(o))throw Error("Passcode name must be at least 2 characters");if("string"!=typeof r||6>Buffer.byteLength(r))throw Error("Passcode code must be at least 6 characters");return{name:o,code:r,enableExpired:null!=s,expireSeconds:null!=s?m(s):3600,permissions:u(t)}},_=(e,{showCodes:r=!1,now:s=Date.now()}={})=>{let t;var o=e.code,a={...n(e,i),expired:!!(e.enableExpired&&e.expiredAt&&(t=e.expiredAt,Date.parse(/(?:z|[+-]\d\d:?\d\d)$/i.test(t)?t:`${t}Z`)<s))};return e.enableExpired||(a.expiredAt=null),r&&null!=o&&(a.code=o),a},f=(e,r)=>e&&{...e,...e.passcodes&&{passcodes:e.passcodes.map(e=>_(e,r))}},L=(e,r)=>r?String(e).split(r).join("***"):String(e),w=(t=o(function*({message:e,yes:r,json:s,action:t,confirm:o=a.n}){return(yield o({message:e,autoYes:r,json:s}))?{cancelled:!1,result:yield t()}:{cancelled:!0}}),function(e){return t.apply(this,arguments)}),E=e=>(e.meta?.imageVersions||[]).map(e=>`${e.width}x${e.height} ${e.strategy||""}`.trim()).join(", ")}};
package/lib/1936.js CHANGED
@@ -1 +1 @@
1
- export const __rspack_esm_id=1936;export const __rspack_esm_ids=[1936];export const __webpack_modules__={76627(e,r,a){a.r(r),a.d(r,{BANK_DISABLED_MESSAGE:()=>k.GE,DEFAULT_BANK_KEY_NAME:()=>d,clearStoredBankCredentials:()=>_,issueBankCredentials:()=>y,issueWorkspaceBankKey:()=>u,resolveBankCredentials:()=>f});var n,t,i,o,s=a(99436),c=a(77598),p=a(47988),k=a(31596),d="bricks-cli",l=(e,r,a)=>{var n,t=(0,p.getProfileCredentialSnapshot)(e);if(void 0!==r&&(n=t.fingerprint,n&&r?n.kind!==r.kind||n.workspaceId!==r.workspaceId||n.baseUrl!==r.baseUrl||n.activityLogBaseUrl!==r.activityLogBaseUrl||("oauth"===n.kind?n.oauthSubject!==r.oauthSubject:n.token!==r.token):n!==r))throw Error(`Profile ${e} changed or is no longer logged in. Retry.`);return{fingerprint:void 0===r?t.fingerprint:r,bank:void 0===a?t.bank:a}},u=(n=s(function*(e,{keyName:r,assertWorkspace:a}={}){var n=yield e.workspace();a?.(n);var t=n?.bank;if(!t?.enable_remote_update||!t?.spacename)throw Error(k.GE);var i=new Set((t.keys||[]).map(e=>e.value)),o=`${r||d}-${c.randomUUID()}`,s=yield e.updateWorkspace({newBankKey:{name:o,enableExpired:!1}}),p=(s?.bank?.keys||[]).find(e=>e.name===o&&!i.has(e.value));if(!p)throw Error("Failed to issue a Data Bank space key");return{spacename:s.bank.spacename,spacekey:p.value,keyName:p.name||o,issuedAt:p.createAt||new Date().toISOString()}}),function(e){return n.apply(this,arguments)}),y=(t=s(function*(e,{keyName:r,profile:a=(0,p.getCurrentProfile)(),expectedProfile:n,bank:t}={}){var i=l(a,n,t),o=i.fingerprint,s=i.bank;if(!o)throw Error(`Profile ${a} changed or is no longer logged in. Retry.`);var c=yield u(e,{keyName:r,assertWorkspace:e=>{if(!e?._id||null==o.workspaceId||String(e._id)!==o.workspaceId)throw Error(`Profile ${a} changed or the client targets another workspace. Retry.`)}});if(!(0,p.setBankCredentials)(a,c,{expectedProfile:o}))throw yield e.updateWorkspace({revokeBankKey:c.spacekey}).catch(()=>{}),Error(`Profile ${a} changed while issuing Data Bank credentials. Retry.`);return s?.spacekey&&s.spacekey!==c.spacekey&&(yield e.updateWorkspace({revokeBankKey:s.spacekey}).catch(()=>{})),c}),function(e){return t.apply(this,arguments)}),f=(i=s(function*(e,{profile:r=(0,p.getCurrentProfile)(),expectedProfile:a,bank:n}={}){if(process.env.BRICKS_BANK_SPACENAME&&process.env.BRICKS_BANK_SPACEKEY)return{spacename:process.env.BRICKS_BANK_SPACENAME,spacekey:process.env.BRICKS_BANK_SPACEKEY,source:"env"};var t=l(r,a,n),i=t.fingerprint,o=t.bank;return o?.spacename&&o?.spacekey?{...o,source:"profile"}:{...yield y(e,{profile:r,expectedProfile:i,bank:o}),source:"issued"}}),function(e){return i.apply(this,arguments)}),_=(o=s(function*(e,{revoke:r,profile:a=(0,p.getCurrentProfile)(),expectedProfile:n,bank:t}={}){var i=l(a,n,t),o=i.fingerprint,s=i.bank;if(!s?.spacekey)return{cleared:!1,revoked:!1};var c=!1;if(r){var k=yield e.workspace();if(!k?._id||o?.workspaceId==null||String(k._id)!==o.workspaceId)throw Error(`Profile ${a} changed or the client targets another workspace. Retry.`);yield e.updateWorkspace({revokeBankKey:s.spacekey}),c=!0}return{cleared:(0,p.clearBankCredentials)(a,{expectedProfile:o,expectedSpacekey:s.spacekey}),revoked:c}}),function(e){return o.apply(this,arguments)})}};
1
+ export const __rspack_esm_id=1936;export const __rspack_esm_ids=[1936];export const __webpack_modules__={76627(e,r,a){a.r(r),a.d(r,{BANK_DISABLED_MESSAGE:()=>k.GE,DEFAULT_BANK_KEY_NAME:()=>d,clearStoredBankCredentials:()=>_,issueBankCredentials:()=>y,issueWorkspaceBankKey:()=>u,resolveBankCredentials:()=>f});var n,t,i,o,s=a(99436),c=a(77598),p=a(47988),k=a(31596),d="bricks-cli",l=(e,r,a)=>{var n,t=(0,p.getProfileCredentialSnapshot)(e);if(void 0!==r&&(n=t.fingerprint,n&&r?n.kind!==r.kind||n.workspaceId!==r.workspaceId||n.baseUrl!==r.baseUrl||n.activityLogBaseUrl!==r.activityLogBaseUrl||("oauth"===n.kind?n.oauthSubject!==r.oauthSubject:n.token!==r.token):n!==r))throw Error(`Profile ${e} changed or is no longer logged in. Retry.`);return{fingerprint:void 0===r?t.fingerprint:r,bank:void 0===a?t.bank:a}},u=(n=s(function*(e,{keyName:r,assertWorkspace:a}={}){var n=yield e.workspace();a?.(n);var t=n?.bank;if(!t?.enable_remote_update||!t?.spacename)throw Error(k.GE);var i=new Set((t.keys||[]).map(e=>e.value)),o=`${r||d}-${c.randomUUID()}`,s=yield e.updateWorkspace({newBankKey:{name:o,enableExpired:!1}}),p=(s?.bank?.keys||[]).find(e=>e.name===o&&!i.has(e.value));if(!p)throw Error("Failed to issue a Data Bank space key");return{spacename:s.bank.spacename,spacekey:p.value,keyName:p.name||o,issuedAt:p.createAt||new Date().toISOString()}}),function(e){return n.apply(this,arguments)}),y=(t=s(function*(e,{keyName:r,profile:a=(0,p.getCurrentProfile)(),expectedProfile:n,bank:t}={}){var i=l(a,n,t),o=i.fingerprint,s=i.bank;if(!o)throw Error(`Profile ${a} changed or is no longer logged in. Retry.`);var c=yield u(e,{keyName:r,assertWorkspace:e=>{if(!e?._id||null==o.workspaceId||String(e._id)!==o.workspaceId)throw Error(`Profile ${a} changed or the client targets another workspace. Retry.`)}});try{if(!(0,p.setBankCredentials)(a,c,{expectedProfile:o}))throw Error(`Profile ${a} changed while issuing Data Bank credentials. Retry.`)}catch(r){throw yield e.updateWorkspace({revokeBankKey:c.spacekey}).catch(()=>{}),r}return s?.spacekey&&s.spacekey!==c.spacekey&&(yield e.updateWorkspace({revokeBankKey:s.spacekey}).catch(()=>{})),c}),function(e){return t.apply(this,arguments)}),f=(i=s(function*(e,{profile:r=(0,p.getCurrentProfile)(),expectedProfile:a,bank:n}={}){if(process.env.BRICKS_BANK_SPACENAME&&process.env.BRICKS_BANK_SPACEKEY)return{spacename:process.env.BRICKS_BANK_SPACENAME,spacekey:process.env.BRICKS_BANK_SPACEKEY,source:"env"};var t=l(r,a,n),i=t.fingerprint,o=t.bank;return o?.spacename&&o?.spacekey?{...o,source:"profile"}:{...yield y(e,{profile:r,expectedProfile:i,bank:o}),source:"issued"}}),function(e){return i.apply(this,arguments)}),_=(o=s(function*(e,{revoke:r,profile:a=(0,p.getCurrentProfile)(),expectedProfile:n,bank:t}={}){var i=l(a,n,t),o=i.fingerprint,s=i.bank;if(!s?.spacekey)return{cleared:!1,revoked:!1};var c=!1;if(r){var k=yield e.workspace();if(!k?._id||o?.workspaceId==null||String(k._id)!==o.workspaceId)throw Error(`Profile ${a} changed or the client targets another workspace. Retry.`);yield e.updateWorkspace({revokeBankKey:s.spacekey}),c=!0}return{cleared:(0,p.clearBankCredentials)(a,{expectedProfile:o,expectedSpacekey:s.spacekey}),revoked:c}}),function(e){return o.apply(this,arguments)})}};
package/lib/2486.js CHANGED
@@ -1 +1 @@
1
- export const __rspack_esm_id=2486;export const __rspack_esm_ids=[2486];export const __webpack_modules__={421(e,r,a){a.r(r),a.d(r,{buildDoctorReport:()=>h,renderDoctorReport:()=>v});var i,o,t=a(99436),s=a(85382),n=a(31802),c=a(8479),l=a(7586),p=a(47988),u=(i=t(function*(){try{return yield Promise.all([a.e(1826),a.e(6645),a.e(3781),a.e(7648),a.e(6042),a.e(1010),a.e(7233)]).then(a.bind(a,63288)),{available:!0}}catch(e){return{available:!1,error:e.message}}}),function(){return i.apply(this,arguments)}),k=(e,r,a)=>({severity:e,code:r,message:a}),h=(o=t(function*({version:e="2.26.0-beta.4",mcpCheck:r=u}={}){var a=(0,p.getCurrentProfile)(),i=(0,p.getCurrentProfileSource)(),o=(0,n.getConnectionContext)(a),t=o.tokenInfo,h=o.auth,d=o.baseUrl,v=o.activityLogBaseUrl,m=[],w={ok:!1,timestamp:new Date().toISOString(),cli:{name:"bricks",version:e},profile:{name:a,source:i},config:{path:p.CONFIG_PATH,baseUrl:d,activityLogBaseUrl:v},auth:{available:!!h,source:h?"config":"missing",kind:h?.kind||null,workspaceId:t?.workspaceId||null,workspaceName:t?.workspaceName||null,createdAt:t?.createdAt||null,tokenPreview:h?.kind==="token"?(0,l.$l)(h.token):null},connectivity:{workspace:{ok:!1,skipped:!h,error:null}},capabilities:{zeroArgMode:(0,c.isInteractiveTerminal)()?"interactive":"help",mcp:{available:!1,error:null}},issues:m};if(h)try{var b=yield(0,s.createClient)(d,h).workspace();w.connectivity.workspace={ok:!0,skipped:!1,error:null,id:b?._id||t.workspaceId||null,name:b?.name||t.workspaceName||null},w.auth.workspaceId=b?._id||w.auth.workspaceId,w.auth.workspaceName=b?.name||w.auth.workspaceName}catch(e){w.connectivity.workspace={ok:!1,skipped:!1,error:e.message},m.push(k("error","workspace_unreachable",`Workspace query failed for ${d}: ${e.message}`))}else m.push(k("warning","auth_missing","No usable credential for the current profile."));var f=yield r();return w.capabilities.mcp={available:f.available,error:f.error||null},f.available||m.push(k("warning","mcp_unavailable",`MCP stdio server is unavailable: ${f.error||"Unknown error"}`)),w.ok=0===m.length,w}),function(){return o.apply(this,arguments)}),d=(e,r,a)=>`${e.padEnd(14)} ${r}${a?` ${a}`:""}`,v=e=>{var r=[];if(r.push("BRICKS CLI Doctor"),r.push("─".repeat(60)),r.push(d("CLI","OK",`bricks v${e.cli.version}`)),r.push(d("Profile","OK",`${e.profile.name} (${e.profile.source})`)),r.push(d("BRICKS API","OK",e.config.baseUrl)),r.push(d("Activity Log","OK",e.config.activityLogBaseUrl)),e.auth.available){var a=e.auth.workspaceName||e.auth.workspaceId||"Unknown workspace",i=[e.auth.source,e.auth.kind,e.auth.tokenPreview].filter(Boolean).join(", ");r.push(d("Auth","OK",i?`${a} (${i})`:a))}else r.push(d("Auth","WARN","No usable credential for the current profile"));if(e.connectivity.workspace.skipped)r.push(d("Workspace","WARN","Skipped because no credential is available"));else if(e.connectivity.workspace.ok){var o=e.connectivity.workspace.name||e.connectivity.workspace.id||"Unknown workspace";r.push(d("Workspace","OK",o))}else r.push(d("Workspace","FAIL",e.connectivity.workspace.error));return e.capabilities.mcp.available?r.push(d("MCP","OK","STDIO server import is available")):r.push(d("MCP","WARN",e.capabilities.mcp.error)),r.push(d("Zero-arg mode",((e,r=!1)=>e?"OK":r?"WARN":"FAIL")("interactive"===e.capabilities.zeroArgMode,"help"===e.capabilities.zeroArgMode),"interactive"===e.capabilities.zeroArgMode?"Starts Ink interactive mode on TTY":"Shows help outside TTY contexts")),e.issues.length>0&&(r.push("─".repeat(60)),r.push("Issues"),e.issues.forEach(e=>{r.push(`- [${e.severity}] ${e.message}`)})),r.join("\n")}}};
1
+ export const __rspack_esm_id=2486;export const __rspack_esm_ids=[2486];export const __webpack_modules__={421(e,r,a){a.r(r),a.d(r,{buildDoctorReport:()=>h,renderDoctorReport:()=>v});var i,o,t=a(99436),s=a(85382),n=a(31802),c=a(8479),l=a(7586),p=a(47988),u=(i=t(function*(){try{return yield Promise.all([a.e(1826),a.e(3781),a.e(7281),a.e(1010),a.e(9439)]).then(a.bind(a,70114)),{available:!0}}catch(e){return{available:!1,error:e.message}}}),function(){return i.apply(this,arguments)}),k=(e,r,a)=>({severity:e,code:r,message:a}),h=(o=t(function*({version:e="2.26.0-beta.41",mcpCheck:r=u}={}){var a=(0,p.getCurrentProfile)(),i=(0,p.getCurrentProfileSource)(),o=(0,n.getConnectionContext)(a),t=o.tokenInfo,h=o.auth,d=o.baseUrl,v=o.activityLogBaseUrl,m=[],w={ok:!1,timestamp:new Date().toISOString(),cli:{name:"bricks",version:e},profile:{name:a,source:i},config:{path:p.CONFIG_PATH,baseUrl:d,activityLogBaseUrl:v},auth:{available:!!h,source:h?"config":"missing",kind:h?.kind||null,workspaceId:t?.workspaceId||null,workspaceName:t?.workspaceName||null,createdAt:t?.createdAt||null,tokenPreview:h?.kind==="token"?(0,l.$l)(h.token):null},connectivity:{workspace:{ok:!1,skipped:!h,error:null}},capabilities:{zeroArgMode:(0,c.isInteractiveTerminal)()?"interactive":"help",mcp:{available:!1,error:null}},issues:m};if(h)try{var b=yield(0,s.createClient)(d,h).workspace();w.connectivity.workspace={ok:!0,skipped:!1,error:null,id:b?._id||t.workspaceId||null,name:b?.name||t.workspaceName||null},w.auth.workspaceId=b?._id||w.auth.workspaceId,w.auth.workspaceName=b?.name||w.auth.workspaceName}catch(e){w.connectivity.workspace={ok:!1,skipped:!1,error:e.message},m.push(k("error","workspace_unreachable",`Workspace query failed for ${d}: ${e.message}`))}else m.push(k("warning","auth_missing","No usable credential for the current profile."));var f=yield r();return w.capabilities.mcp={available:f.available,error:f.error||null},f.available||m.push(k("warning","mcp_unavailable",`MCP stdio server is unavailable: ${f.error||"Unknown error"}`)),w.ok=0===m.length,w}),function(){return o.apply(this,arguments)}),d=(e,r,a)=>`${e.padEnd(14)} ${r}${a?` ${a}`:""}`,v=e=>{var r=[];if(r.push("BRICKS CLI Doctor"),r.push("─".repeat(60)),r.push(d("CLI","OK",`bricks v${e.cli.version}`)),r.push(d("Profile","OK",`${e.profile.name} (${e.profile.source})`)),r.push(d("BRICKS API","OK",e.config.baseUrl)),r.push(d("Activity Log","OK",e.config.activityLogBaseUrl)),e.auth.available){var a=e.auth.workspaceName||e.auth.workspaceId||"Unknown workspace",i=[e.auth.source,e.auth.kind,e.auth.tokenPreview].filter(Boolean).join(", ");r.push(d("Auth","OK",i?`${a} (${i})`:a))}else r.push(d("Auth","WARN","No usable credential for the current profile"));if(e.connectivity.workspace.skipped)r.push(d("Workspace","WARN","Skipped because no credential is available"));else if(e.connectivity.workspace.ok){var o=e.connectivity.workspace.name||e.connectivity.workspace.id||"Unknown workspace";r.push(d("Workspace","OK",o))}else r.push(d("Workspace","FAIL",e.connectivity.workspace.error));return e.capabilities.mcp.available?r.push(d("MCP","OK","STDIO server import is available")):r.push(d("MCP","WARN",e.capabilities.mcp.error)),r.push(d("Zero-arg mode",((e,r=!1)=>e?"OK":r?"WARN":"FAIL")("interactive"===e.capabilities.zeroArgMode,"help"===e.capabilities.zeroArgMode),"interactive"===e.capabilities.zeroArgMode?"Starts Ink interactive mode on TTY":"Shows help outside TTY contexts")),e.issues.length>0&&(r.push("─".repeat(60)),r.push("Issues"),e.issues.forEach(e=>{r.push(`- [${e.severity}] ${e.message}`)})),r.join("\n")}}};
package/lib/2499.js ADDED
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id=2499;export const __rspack_esm_ids=[2499];export const __webpack_modules__={5018(e){e.exports=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},44668(e,t,n){var r=n(56347);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,r(i.key),i)}}e.exports=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},23878(e,t,n){var r=n(14319).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},56347(e,t,n){var r=n(14319).default,i=n(23878);e.exports=function(e){var t=i(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},14319(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},42495(e,t,n){n.d(t,{k:()=>v});var r=n(85608),i=n(60837),a=n(2904),o=n(555),s=n(3777),u=n(36054),c=n(30671),l=n(54019),f=n(44114),d=n(55427),p=n(70916),h=n(62959),v=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,i.wrap)(a.ct,{max:o.v["cache.fragmentQueryDocuments"]||1e3,cache:l.l})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,n=this,r="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(n)},r),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,r.__assign)((0,r.__assign)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,n=this,i=e.fragment,a=e.fragmentName,o=e.from,l=e.optimistic,f=(0,r.__rest)(e,["fragment","fragmentName","from","optimistic"]),v=this.getFragmentDoc(i,a),y=void 0===o||"string"==typeof o?o:this.identify(o),m=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var g=a||(0,s.E4)(i).name.value;y||!1===globalThis.__DEV__||p.invariant.warn(1,g)}var _=(0,r.__assign)((0,r.__assign)({},f),{returnPartialData:!0,id:y,query:v,optimistic:void 0===l||l});return new u.c(function(o){return n.watch((0,r.__assign)((0,r.__assign)({},_),{immediate:!0,callback:function(s){var u=m?(0,h.z)(s.result,i,n,a):s.result;if(!(t&&(0,d.a)(v,{data:t.result},{data:u},e.variables))){var l={data:u,complete:!!s.complete};s.missing&&(l.missing=(0,c.IM)(s.missing.map(function(e){return e.missing}))),t=(0,r.__assign)((0,r.__assign)({},s),{result:u}),o.next(l)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,r.__assign)((0,r.__assign)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,n=e.data,i=(0,r.__rest)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:n}))},e.prototype.writeFragment=function(e){var t=e.id,n=e.data,i=e.fragment,a=e.fragmentName,o=(0,r.__rest)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{query:this.getFragmentDoc(i,a),dataId:t,result:n}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(n){var i=n.readQuery(e),a=t(i);return null==a?i:(n.writeQuery((0,r.__assign)((0,r.__assign)({},e),{data:a})),a)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(n){var i=n.readFragment(e),a=t(i);return null==a?i:(n.writeFragment((0,r.__assign)((0,r.__assign)({},e),{data:a})),a)}})},e}();!1!==globalThis.__DEV__&&(v.prototype.getMemoryInternals=f.tQ)},84673(e,t,n){var r;n.d(t,{l:()=>r}),r||(r={})},65702(e,t,n){n.d(t,{Z:()=>i});var r=n(85608),i=function(e){function t(n,r,i,a){var o,s=e.call(this,n)||this;if(s.message=n,s.path=r,s.query=i,s.variables=a,Array.isArray(s.path)){s.missing=s.message;for(var u=s.path.length-1;u>=0;--u)(o={})[s.path[u]]=s.missing,s.missing=o}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,r.__extends)(t,e),t}(Error)},83906(e,t,n){n.d(t,{$7:()=>k,D_:()=>_,M2:()=>E});var r,i,a=n(85608),o=n(70916),s=n(60837),u=n(55888),c=n(44592),l=n(57236),f=n(28907),d=n(30671),p=n(21777),h=n(51360),v=n(35207),y=Object.create(null),m=function(){return y},g=Object.create(null),_=function(){function e(e,t){var n=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,l.G)((0,f.A_)(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,f.A_)(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,f.WU)(e);if((0,f.A_)(e))return e;var r=n.policies.identify(e)[0];if(r){var i=(0,f.WU)(r);return t&&n.merge(r,e),i}}}return e.prototype.toObject=function(){return(0,a.__assign)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),v.$3.call(this.data,e)){var n=this.data[e];if(n&&v.$3.call(n,t))return n[t]}return"__typename"===t&&v.$3.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof w?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),v.$3.call(this.data,e))?this.data[e]:this instanceof w?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,r=this;(0,f.A_)(e)&&(e=e.__ref),(0,f.A_)(t)&&(t=t.__ref);var i="string"==typeof e?this.lookup(n=e):e,a="string"==typeof t?this.lookup(n=t):t;if(a){(0,o.invariant)("string"==typeof n,2);var s=new d.ZI(S).merge(i,a);if(this.data[n]=s,s!==i&&(delete this.refs[n],this.group.caching)){var u=Object.create(null);i||(u.__exists=1),Object.keys(a).forEach(function(e){if(!i||i[e]!==s[e]){u[e]=1;var t=(0,v.iJ)(e);t===e||r.policies.hasKeyArgs(s.__typename,t)||(u[t]=1),void 0!==s[e]||r instanceof w||delete s[e]}}),u.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[n]===s.__typename&&delete u.__typename,Object.keys(u).forEach(function(e){return r.group.dirty(n,e)})}}},e.prototype.modify=function(e,t){var n=this,r=this.lookup(e);if(r){var i=Object.create(null),s=!1,u=!0,c={DELETE:y,INVALIDATE:g,isReference:f.A_,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"==typeof t?{fieldName:t,from:r||(0,f.WU)(e)}:t,{store:n})}};if(Object.keys(r).forEach(function(d){var p=(0,v.iJ)(d),h=r[d];if(void 0!==h){var _="function"==typeof t?t:t[d]||t[p];if(_){var b=_===m?y:_((0,l.G)(h),(0,a.__assign)((0,a.__assign)({},c),{fieldName:p,storeFieldName:d,storage:n.getStorage(e,d)}));if(b===g)n.group.dirty(e,d);else if(b===y&&(b=void 0),b!==h&&(i[d]=b,s=!0,h=b,!1!==globalThis.__DEV__)){var E=function(e){if(void 0===n.lookup(e.__ref))return!1!==globalThis.__DEV__&&o.invariant.warn(3,e),!0};if((0,f.A_)(b))E(b);else if(Array.isArray(b))for(var w=!1,O=void 0,S=0,k=b;S<k.length;S++){var T=k[S];if((0,f.A_)(T)){if(w=!0,E(T))break}else"object"==typeof T&&T&&n.policies.identify(T)[0]&&(O=T);if(w&&void 0!==O){!1!==globalThis.__DEV__&&o.invariant.warn(4,O);break}}}}void 0!==h&&(u=!1)}}),s)return this.merge(e,i),u&&(this instanceof w?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var r,i=this.lookup(e);if(i){var a=this.getFieldValue(i,"__typename"),o=t&&n?this.policies.getStoreFieldName({typename:a,fieldName:t,args:n}):t;return this.modify(e,o?((r={})[o]=m,r):m)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(v.$3.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof w&&this!==t&&(n=this.parent.evict(e,t)||n),(e.fieldName||n)&&this.group.dirty(e.id,e.fieldName||"__exists")),n},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),n=[];return this.getRootIdSet().forEach(function(t){v.$3.call(e.policies.rootTypenamesById,t)||n.push(t)}),n.length&&(t.__META={extraRootIds:n.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(n){e&&v.$3.call(e,n)||t.delete(n)}),e){var n=e.__META,r=(0,a.__rest)(e,["__META"]);Object.keys(r).forEach(function(e){t.merge(e,r[e])}),n&&n.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof w?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach(function(r){v.$3.call(n,r)&&(Object.keys(e.findChildRefIds(r)).forEach(t.add,t),delete n[r])});var r=Object.keys(n);if(r.length){for(var i=this;i instanceof w;)i=i.parent;r.forEach(function(e){return i.delete(e)})}return r},e.prototype.findChildRefIds=function(e){if(!v.$3.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=this.data[e];if(!n)return t;var r=new Set([n]);r.forEach(function(e){(0,f.A_)(e)&&(t[e.__ref]=!0),(0,p.U)(e)&&Object.keys(e).forEach(function(t){var n=e[t];(0,p.U)(n)&&r.add(n)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),b=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,s.dep)():null,this.keyMaker=new c.Trie(h.et)},e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var n=(0,v.iJ)(t);n!==t&&this.d(n+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function E(e,t){k(e)&&e.group.depend(t,"__exists")}i=function(e){function t(t){var n=t.policies,r=t.resultCaching,i=t.seed,a=e.call(this,n,new b(void 0===r||r))||this;return a.stump=new O(a),a.storageTrie=new c.Trie(h.et),i&&a.replace(i),a}return(0,a.__extends)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(r=_||(_={})),r.Root=i;var w=function(e){function t(t,n,r,i){var a=e.call(this,n.policies,i)||this;return a.id=t,a.parent=n,a.replay=r,a.group=i,r(a),a}return(0,a.__extends)(t,e),t.prototype.addLayer=function(e,n){return new t(e,this,n,this.group)},t.prototype.removeLayer=function(e){var t=this,n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var r=t.data[e],i=n.lookup(e);i?r?r!==i&&Object.keys(r).forEach(function(n){(0,u.equal)(r[n],i[n])||t.group.dirty(e,n)}):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(n){t.group.dirty(e,n)})):t.delete(e)}),n):n===this.parent?this:n.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,a.__assign)((0,a.__assign)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return v.$3.call(this.data,t)?(0,a.__assign)((0,a.__assign)({},n),e.prototype.findChildRefIds.call(this,t)):n},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(_),O=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new b(t.group.caching,t.group))||this}return(0,a.__extends)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(w);function S(e,t,n){var r=e[n],i=t[n];return(0,u.equal)(r,i)?r:i}function k(e){return!!(e instanceof _&&e.group.caching)}},35207(e,t,n){n.d(t,{$3:()=>f,I6:()=>v,T9:()=>function e(t,n,r){return!!(0,a.U)(n)&&((0,o.c)(n)?n.every(function(n){return e(t,n,r)}):t.selections.every(function(t){if((0,i.dt)(t)&&(0,s.MS)(t,r)){var a=(0,i.ue)(t);return f.call(n,a)&&(!t.selectionSet||e(t.selectionSet,n[a],r))}return!0}))},Ui:()=>m,Xx:()=>y,d1:()=>b,gk:()=>g,iJ:()=>_,lq:()=>w,mv:()=>E,or:()=>p});var r=n(50492),i=n(28907),a=n(21777),o=n(73767),s=n(82307),u=n(30671),c=n(2904),l=n(3777),f=Object.prototype.hasOwnProperty;function d(e){return null==e}function p(e,t){var n=e.__typename,r=e.id,i=e._id;if("string"==typeof n&&(t&&(t.keyObject=d(r)?d(i)?void 0:{_id:i}:{id:r}),d(r)&&!d(i)&&(r=i),!d(r)))return"".concat(n,":").concat("number"==typeof r||"string"==typeof r?r:JSON.stringify(r))}var h={dataIdFromObject:p,addTypename:!0,resultCaching:!0,canonizeResults:!1};function v(e){return(0,r.o)(h,e)}function y(e){var t=e.canonizeResults;return void 0===t?h.canonizeResults:t}function m(e,t){return(0,i.A_)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var g=/^[_a-z][_0-9a-z]*/i;function _(e){var t=e.match(g);return t?t[0]:e}function b(e){return(0,a.U)(e)&&!(0,i.A_)(e)&&!(0,o.c)(e)}function E(){return new u.ZI}function w(e,t){var n=(0,c.JG)((0,l.zK)(e));return{fragmentMap:n,lookupFragment:function(e){var r=n[e];return!r&&t&&(r=t.lookup(e)),r||null}}}},7068(e,t,n){n.d(t,{D:()=>L});var r=n(85608),i=n(70916),a=n(60837),o=n(55888),s=n(42495),u=n(65702),c=n(9354),l=n(53925),f=n(555),d=n(44214),p=n(38678),h=n(28907),v=n(42455),y=n(51360),m=n(50492),g=n(3777),_=n(30671),b=n(82307),E=n(2904),w=n(57236),O=n(21777),S=n(83906),k=n(35207),T=n(73767),x=n(44592),A=function(){function e(){this.known=new(y.En?WeakSet:Set),this.pool=new x.Trie(y.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,O.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,O.U)(e)){var t=(0,O.U)(e)?(0,T.c)(e)?e.slice(0):(0,r.__assign)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,O.U)(e)){var n=this.passes.get(e);if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var r=e.map(this.admit,this),i=this.pool.lookupArray(r);return i.array||(this.known.add(i.array=r),!1!==globalThis.__DEV__&&Object.freeze(r)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var a=Object.getPrototypeOf(e),o=[a],s=this.sortedKeys(e);o.push(s.json);var u=o.length;s.sorted.forEach(function(n){o.push(t.admit(e[n]))});var i=this.pool.lookupArray(o);if(!i.object){var c=i.object=Object.create(a);this.known.add(c),s.sorted.forEach(function(e,t){c[e]=o[u+t]}),!1!==globalThis.__DEV__&&Object.freeze(c)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),n=this.pool.lookupArray(t);if(!n.keys){t.sort();var r=JSON.stringify(t);(n.keys=this.keysByJSON.get(r))||this.keysByJSON.set(r,n.keys={sorted:t,json:r})}return n.keys},e}();function j(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var I=function(){function e(e){var t=this;this.knownResults=new(y.et?WeakMap:Map),this.config=(0,m.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:(0,k.Xx)(e)}),this.canon=e.canon||new A,this.executeSelectionSet=(0,a.wrap)(function(e){var n,i=e.context.canonizeResults,a=j(e);a[3]=!i;var o=(n=t.executeSelectionSet).peek.apply(n,a);return o?i?(0,r.__assign)((0,r.__assign)({},o),{result:t.canon.admit(o.result)}):o:((0,S.M2)(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||f.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:j,makeCacheKey:function(e,t,n,r){if((0,S.$7)(n.store))return n.store.makeCacheKey(e,(0,h.A_)(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=(0,a.wrap)(function(e){return(0,S.M2)(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||f.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,n=e.array,r=e.context;if((0,S.$7)(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new A},e.prototype.diffQueryAgainstStore=function(e){var t,n=e.store,i=e.query,a=e.rootId,o=e.variables,s=e.returnPartialData,c=e.canonizeResults,l=void 0===c?this.config.canonizeResults:c,f=this.config.cache.policies;o=(0,r.__assign)((0,r.__assign)({},(0,g.wY)((0,g.AT)(i))),o);var p=(0,h.WU)(void 0===a?"ROOT_QUERY":a),v=this.executeSelectionSet({selectionSet:(0,g.Vn)(i).selectionSet,objectOrReference:p,enclosingRef:p,context:(0,r.__assign)({store:n,query:i,policies:f,variables:o,varString:(0,d.M)(o),canonizeResults:l},(0,k.lq)(i,this.config.fragments))});if(v.missing&&(t=[new u.Z(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(v.missing),v.missing,i,o)],!(void 0===s||s)))throw t[0];return{result:v.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,n,r){if((0,S.$7)(r.store)&&this.knownResults.get(e)===n){var i=this.executeSelectionSet.peek(n,t,r,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,n=this,r=e.selectionSet,a=e.objectOrReference,o=e.enclosingRef,s=e.context;if((0,h.A_)(a)&&!s.policies.rootTypenamesById[a.__ref]&&!s.store.has(a.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(a.__ref," object")};var u=s.variables,c=s.policies,f=s.store.getFieldValue(a,"__typename"),d=[],p=new _.ZI;function y(e,n){var r;return e.missing&&(t=p.merge(t,((r={})[n]=e.missing,r))),e.result}this.config.addTypename&&"string"==typeof f&&!c.rootIdsByTypename[f]&&d.push({__typename:f});var m=new Set(r.selections);m.forEach(function(e){var r,g;if((0,b.MS)(e,u))if((0,h.dt)(e)){var _=c.readField({fieldName:e.name.value,field:e,variables:s.variables,from:a},s),w=(0,h.ue)(e);void 0===_?l.XY.added(e)||(t=p.merge(t,((r={})[w]="Can't find field '".concat(e.name.value,"' on ").concat((0,h.A_)(a)?a.__ref+" object":"object "+JSON.stringify(a,null,2)),r))):(0,T.c)(_)?_.length>0&&(_=y(n.executeSubSelectedArray({field:e,array:_,enclosingRef:o,context:s}),w)):e.selectionSet?null!=_&&(_=y(n.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:_,enclosingRef:(0,h.A_)(_)?_:o,context:s}),w)):s.canonizeResults&&(_=n.canon.pass(_)),void 0!==_&&d.push(((g={})[w]=_,g))}else{var O=(0,E.HQ)(e,s.lookupFragment);if(!O&&e.kind===v.b.FRAGMENT_SPREAD)throw(0,i.newInvariantError)(10,e.name.value);O&&c.fragmentMatches(O,f)&&O.selectionSet.selections.forEach(m.add,m)}});var g={result:(0,_.IM)(d),missing:t},O=s.canonizeResults?this.canon.admit(g):(0,w.G)(g);return O.result&&this.knownResults.set(O.result,r),O},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,a=e.array,o=e.enclosingRef,s=e.context,u=new _.ZI;function c(e,n){var r;return e.missing&&(t=u.merge(t,((r={})[n]=e.missing,r))),e.result}return r.selectionSet&&(a=a.filter(s.store.canRead)),a=a.map(function(e,t){return null===e?null:(0,T.c)(e)?c(n.executeSubSelectedArray({field:r,array:e,enclosingRef:o,context:s}),t):r.selectionSet?c(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,enclosingRef:(0,h.A_)(e)?e:o,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach(function(n){(0,O.U)(n)&&((0,i.invariant)(!(0,h.A_)(n),11,(0,k.Ui)(e,n),t.name.value),Object.values(n).forEach(r.add,r))})}}(s.store,r,e),e)}),{result:s.canonizeResults?this.canon.admit(a):a,missing:t}},e}(),D=n(20906),N=n(92610);function R(e,t,n){var i="".concat(t).concat(n),a=e.flavors.get(i);return a||e.flavors.set(i,a=e.clientOnly===t&&e.deferred===n?e:(0,r.__assign)((0,r.__assign)({},e),{clientOnly:t,deferred:n})),a}var F=function(){function e(e,t,n){this.cache=e,this.reader=t,this.fragments=n}return e.prototype.writeToStore=function(e,t){var n=this,a=t.query,s=t.result,u=t.dataId,c=t.variables,l=t.overwrite,f=(0,g.Vu)(a),p=(0,k.mv)();c=(0,r.__assign)((0,r.__assign)({},(0,g.wY)(f)),c);var v=(0,r.__assign)((0,r.__assign)({store:e,written:Object.create(null),merge:function(e,t){return p.merge(e,t)},variables:c,varString:(0,d.M)(c)},(0,k.lq)(a,this.fragments)),{overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),y=this.processSelectionSet({result:s||Object.create(null),dataId:u,selectionSet:f.selectionSet,mergeTree:{map:new Map},context:v});if(!(0,h.A_)(y))throw(0,i.newInvariantError)(12,s);return v.incomingById.forEach(function(t,a){var s=t.storeObject,u=t.mergeTree,c=t.fieldNodeSet,l=(0,h.WU)(a);if(u&&u.map.size){var f=n.applyMerges(u,l,s,v);if((0,h.A_)(f))return;s=f}if(!1!==globalThis.__DEV__&&!v.overwrite){var d=Object.create(null);c.forEach(function(e){e.selectionSet&&(d[e.name.value]=!0)});var p=function(e){var t=u&&u.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(s).forEach(function(e){!0!==d[(0,k.iJ)(e)]||p(e)||function(e,t,n,a){var s=function(e){var t=a.getFieldValue(e,n);return"object"==typeof t&&t},u=s(e);if(u){var c=s(t);if(!(!c||(0,h.A_)(u)||(0,o.equal)(u,c)||Object.keys(u).every(function(e){return void 0!==a.getFieldValue(c,e)}))){var l=a.getFieldValue(e,"__typename")||a.getFieldValue(t,"__typename"),f=(0,k.iJ)(n),d="".concat(l,".").concat(f);if(!P.has(d)){P.add(d);var p=[];(0,T.c)(u)||(0,T.c)(c)||[u,c].forEach(function(e){var t=a.getFieldValue(e,"__typename");"string"!=typeof t||p.includes(t)||p.push(t)}),!1!==globalThis.__DEV__&&i.invariant.warn(15,f,l,p.length?"either ensure all objects of type "+p.join(" and ")+" have an ID or a custom merge function, or ":"",d,(0,r.__assign)({},u),(0,r.__assign)({},c))}}}}(l,s,e,v.store)})}e.merge(a,s)}),e.retain(y.__ref),y},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,a=e.result,o=e.selectionSet,s=e.context,u=e.mergeTree,c=this.cache.policies,f=Object.create(null),d=n&&c.rootTypenamesById[n]||(0,h.D$)(a,o,s.fragmentMap)||n&&s.store.get(n,"__typename");"string"==typeof d&&(f.__typename=d);var p=function(){var e=(0,N.m)(arguments,f,s.variables);if((0,h.A_)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var n=c.readField((0,r.__assign)((0,r.__assign)({},e),{from:t.storeObject}),s);if(void 0!==n)return n}}return c.readField(e,s)},v=new Set;this.flattenFields(o,a,s,d).forEach(function(e,n){var r,o=a[(0,h.ue)(n)];if(v.add(n),void 0!==o){var s=c.getStoreFieldName({typename:d,fieldName:n.name.value,field:n,variables:e.variables}),y=M(u,s),m=t.processFieldValue(o,n,n.selectionSet?R(e,!1,!1):e,y),g=void 0;n.selectionSet&&((0,h.A_)(m)||(0,k.d1)(m))&&(g=p("__typename",m));var _=c.getMergeFunction(d,n.name.value,g);_?y.info={field:n,typename:d,merge:_}:z(u,s),f=e.merge(f,((r={})[s]=m,r))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||l.XY.added(n)||c.getReadFunction(d,n.name.value)||!1===globalThis.__DEV__||i.invariant.error(13,(0,h.ue)(n),a)});try{var y=c.identify(a,{typename:d,selectionSet:o,fragmentMap:s.fragmentMap,storeObject:f,readField:p}),m=y[0],g=y[1];n=n||m,g&&(f=s.merge(f,g))}catch(e){if(!n)throw e}if("string"==typeof n){var _=(0,h.WU)(n),b=s.written[n]||(s.written[n]=[]);if(b.indexOf(o)>=0||(b.push(o),this.reader&&this.reader.isFresh(a,_,o,s)))return _;var E=s.incomingById.get(n);return E?(E.storeObject=s.merge(E.storeObject,f),E.mergeTree=function e(t,n){if(t===n||!n||V(n))return t;if(!t||V(t))return n;var i=t.info&&n.info?(0,r.__assign)((0,r.__assign)({},t.info),n.info):t.info||n.info,a=t.map.size&&n.map.size,o={info:i,map:a?new Map:t.map.size?t.map:n.map};if(a){var s=new Set(n.map.keys());t.map.forEach(function(t,r){o.map.set(r,e(t,n.map.get(r))),s.delete(r)}),s.forEach(function(r){o.map.set(r,e(n.map.get(r),t.map.get(r)))})}return o}(E.mergeTree,u),v.forEach(function(e){return E.fieldNodeSet.add(e)})):s.incomingById.set(n,{storeObject:f,mergeTree:V(u)?void 0:u,fieldNodeSet:v}),_}return f},e.prototype.processFieldValue=function(e,t,n,r){var i=this;return t.selectionSet&&null!==e?(0,T.c)(e)?e.map(function(e,a){var o=i.processFieldValue(e,t,n,M(r,a));return z(r,a),o}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):!1!==globalThis.__DEV__?(0,D.m)(e):e},e.prototype.flattenFields=function(e,t,n,r){void 0===r&&(r=(0,h.D$)(t,e,n.fragmentMap));var a=new Map,o=this.cache.policies,s=new x.Trie(!1);return!function e(u,c){var l=s.lookup(u,c.clientOnly,c.deferred);l.visited||(l.visited=!0,u.selections.forEach(function(s){if((0,b.MS)(s,n.variables)){var u=c.clientOnly,l=c.deferred;if(!(u&&l)&&(0,T.E)(s.directives)&&s.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(u=!0),"defer"===t){var r=(0,h.MB)(e,n.variables);r&&!1===r.if||(l=!0)}}),(0,h.dt)(s)){var f=a.get(s);f&&(u=u&&f.clientOnly,l=l&&f.deferred),a.set(s,R(n,u,l))}else{var d=(0,E.HQ)(s,n.lookupFragment);if(!d&&s.kind===v.b.FRAGMENT_SPREAD)throw(0,i.newInvariantError)(14,s.name.value);d&&o.fragmentMatches(d,r,t,n.variables)&&e(d.selectionSet,R(n,u,l))}}}))}(e,n),a},e.prototype.applyMerges=function(e,t,n,a,o){var s=this;if(e.map.size&&!(0,h.A_)(n)){var u,c,l=!(0,T.c)(n)&&((0,h.A_)(t)||(0,k.d1)(t))?t:void 0,f=n;l&&!o&&(o=[(0,h.A_)(l)?l.__ref:l]);var d=function(e,t){return(0,T.c)(e)?"number"==typeof t?e[t]:void 0:a.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var n=d(l,t),r=d(f,t);if(void 0!==r){o&&o.push(t);var u=s.applyMerges(e,n,r,a,o);u!==r&&(c=c||new Map).set(t,u),o&&(0,i.invariant)(o.pop()===t)}}),c&&(n=(0,T.c)(f)?f.slice(0):(0,r.__assign)({},f),c.forEach(function(e,t){n[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,a,o&&(u=a.store).getStorage.apply(u,o)):n},e}(),C=[];function M(e,t){var n=e.map;return n.has(t)||n.set(t,C.pop()||{map:new Map}),n.get(t)}function V(e){return!e||!(e.info||e.map.size)}function z(e,t){var n=e.map,r=n.get(t);r&&V(r)&&(C.push(r),n.delete(t))}var P=new Set,q=n(777),U=n(44114),L=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new c.c(l.XY),n.assumeImmutableResults=!0,n.makeVar=q.UT,n.txCount=0,n.config=(0,k.I6)(t),n.addTypename=!!n.config.addTypename,n.policies=new N.l({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,r.__extends)(t,e),t.prototype.init=function(){var e=this.data=new S.D_.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,n=this.storeReader,r=this.config.fragments;this.storeWriter=new F(this,this.storeReader=new I({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,k.Xx)(this.config),canon:e?void 0:n&&n.canon,fragments:r}),r),this.maybeBroadcastWatch=(0,a.wrap)(function(e,n){return t.broadcastWatch(e,n)},{max:this.config.resultCacheMaxSize||f.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if((0,S.$7)(n)){var r=e.optimistic,i=e.id,a=e.variables;return n.makeCacheKey(e.query,e.callback,(0,d.M)({optimistic:r,id:i,variables:a}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,r.__assign)((0,r.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof u.Z)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(k.$3.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,r.__assign)((0,r.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,q.MS)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,q.WR)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){d.M.reset(),p.y.reset(),this.addTypenameTransform.resetCache(),null==(t=this.config.fragments)||t.resetCaches();var t,n=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),n},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,h.A_)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&i.invariant.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(k.$3.call(e,"id"))return!1;e=(0,r.__assign)((0,r.__assign)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),d.M.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,q.WR)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,n=this,i=e.update,a=e.optimistic,o=void 0===a||a,s=e.removeOptimistic,u=e.onWatchUpdated,c=function(e){var r=n.data,a=n.optimisticData;++n.txCount,e&&(n.data=n.optimisticData=e);try{return t=i(n)}finally{--n.txCount,n.data=r,n.optimisticData=a}},l=new Set;return u&&!this.txCount&&this.broadcastWatches((0,r.__assign)((0,r.__assign)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof o?this.optimisticData=this.optimisticData.addLayer(o,c):!1===o?c(this.data):c(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),u&&l.size?(this.broadcastWatches((0,r.__assign)((0,r.__assign)({},e),{onWatchUpdated:function(e,t){var n=u.call(this,e,t);return!1!==n&&l.delete(e),n}})),l.size&&l.forEach(function(e){return n.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null==(t=this.config.fragments)?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(n){return t.maybeBroadcastWatch(n,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var n=e.lastDiff,r=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(r.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,r,n)))&&(n&&(0,o.equal)(n.result,r.result)||e.callback(e.lastDiff=r,n))},t}(s.k);!1!==globalThis.__DEV__&&(L.prototype.getMemoryInternals=U.cM)},92610(e,t,n){n.d(t,{l:()=>k,m:()=>x});var r=n(85608),i=n(70916),a=n(28907),o=n(86563),s=n(21777),u=n(35207),c=n(73767),l=n(777),f=n(30671),d=Object.create(null);function p(e){var t=JSON.stringify(e);return d[t]||(d[t]=Object.create(null))}function h(e){var t=p(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var r=function(e,t){return n.readField(t,e)},a=n.keyObject=y(e,function(e){var a=g(n.storeObject,e,r);return void 0===a&&t!==n.storeObject&&u.$3.call(t,e[0])&&(a=g(t,e,m)),(0,i.invariant)(void 0!==a,5,e.join("."),t),a});return"".concat(n.typename,":").concat(JSON.stringify(a))})}function v(e){var t=p(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var r=n.field,i=n.variables,o=n.fieldName,s=JSON.stringify(y(e,function(e){var n=e[0],o=n.charAt(0);if("@"===o){if(r&&(0,c.E)(r.directives)){var s=n.slice(1),l=r.directives.find(function(e){return e.name.value===s}),f=l&&(0,a.MB)(l,i);return f&&g(f,e.slice(1))}return}if("$"===o){var d=n.slice(1);if(i&&u.$3.call(i,d)){var p=e.slice(0);return p[0]=d,g(i,p)}return}if(t)return g(t,e)}));return(t||"{}"!==s)&&(o+=":"+s),o})}function y(e,t){var n=new f.ZI;return(function e(t){var n=p(t);if(!n.paths){var r=n.paths=[],i=[];t.forEach(function(n,a){(0,c.c)(n)?(e(n).forEach(function(e){return r.push(i.concat(e))}),i.length=0):(i.push(n),(0,c.c)(t[a+1])||(r.push(i.slice(0)),i.length=0))})}return n.paths})(e).reduce(function(e,r){var i,a=t(r);if(void 0!==a){for(var o=r.length-1;o>=0;--o)(i={})[r[o]]=a,a=i;e=n.merge(e,a)}return e},Object.create(null))}function m(e,t){return e[t]}function g(e,t,n){return n=n||m,function e(t){return(0,s.U)(t)?(0,c.c)(t)?t.map(e):y(Object.keys(t).sort(),function(e){return g(t,e)}):t}(t.reduce(function e(t,r){return(0,c.c)(t)?t.map(function(t){return e(t,r)}):t&&n(t,r)},e))}var _=n(47150);function b(e){return void 0!==e.args?e.args:e.field?(0,a.MB)(e.field,e.variables):null}var E=function(){},w=function(e,t){return t.fieldName},O=function(e,t,n){return(0,n.mergeObjects)(e,t)},S=function(e,t){return t},k=function(){function e(e){this.config=e,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=(0,r.__assign)({dataIdFromObject:u.or},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var n,i,a=this,o=t&&(t.typename||(null==(n=t.storeObject)?void 0:n.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var s=t&&t.storeObject||e,u=(0,r.__assign)((0,r.__assign)({},t),{typename:o,storeObject:s,readField:t&&t.readField||function(){var e=x(arguments,s);return a.readField(e,{store:a.cache.data,variables:e.variables})}}),l=o&&this.getTypePolicy(o),f=l&&l.keyFn||this.config.dataIdFromObject;return _.yV.withValue(!0,function(){for(;f;){var t=f((0,r.__assign)((0,r.__assign)({},e),s),u);if((0,c.c)(t))f=h(t);else{i=t;break}}}),i=i?String(i):void 0,u.keyObject?[i,u.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(n){var i=e[n],a=i.queryType,o=i.mutationType,s=i.subscriptionType,c=(0,r.__rest)(i,["queryType","mutationType","subscriptionType"]);a&&t.setRootTypename("Query",n),o&&t.setRootTypename("Mutation",n),s&&t.setRootTypename("Subscription",n),u.$3.call(t.toBeAdded,n)?t.toBeAdded[n].push(c):t.toBeAdded[n]=[c]})},e.prototype.updateTypePolicy=function(e,t){var n=this,r=this.getTypePolicy(e),i=t.keyFields,a=t.fields;function o(e,t){e.merge="function"==typeof t?t:!0===t?O:!1===t?S:e.merge}o(r,t.merge),r.keyFn=!1===i?E:(0,c.c)(i)?h(i):"function"==typeof i?i:r.keyFn,a&&Object.keys(a).forEach(function(t){var r=n.getFieldPolicy(e,t,!0),i=a[t];if("function"==typeof i)r.read=i;else{var s=i.keyArgs,u=i.read,l=i.merge;r.keyFn=!1===s?w:(0,c.c)(s)?v(s):"function"==typeof s?s:r.keyFn,"function"==typeof u&&(r.read=u),o(r,l)}r.read&&r.merge&&(r.keyFn=r.keyFn||w)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&((0,i.invariant)(!r||r===e,6,e),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(n){t.getSupertypeSet(n,!0),e[n].forEach(function(e){t.getSupertypeSet(e,!0).add(n);var r=e.match(u.gk);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!u.$3.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(n,r){if(n.test(e)){var a=t.supertypeMap.get(r);a&&a.forEach(function(e){return i.add(e)})}})),i&&i.size&&i.forEach(function(e){var i=t.getTypePolicy(e),a=i.fields;Object.assign(n,(0,r.__rest)(i,["fields"])),Object.assign(n.fields,a)})}var a=this.toBeAdded[e];return a&&a.length&&a.splice(0).forEach(function(n){t.updateTypePolicy(e,n)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,n){if(e){var r=this.getTypePolicy(e).fields;return r[t]||n&&(r[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,r){var a=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var s=this.getSupertypeSet(t,!0),c=[s],l=function(e){var t=a.getSupertypeSet(e,!1);t&&t.size&&0>c.indexOf(t)&&c.push(t)},f=!!(n&&this.fuzzySubtypes.size),d=!1,p=0;p<c.length;++p){var h=c[p];if(h.has(o))return s.has(o)||(d&&!1!==globalThis.__DEV__&&i.invariant.warn(7,t,o),s.add(o)),!0;h.forEach(l),f&&p===c.length-1&&(0,u.T9)(e.selectionSet,n,r)&&(f=!1,d=!0,this.fuzzySubtypes.forEach(function(e,n){var r=t.match(e);r&&r[0]===t&&l(n)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var n=this.getFieldPolicy(e,t,!1);return!!(n&&n.keyFn)},e.prototype.getStoreFieldName=function(e){var t,n=e.typename,r=e.fieldName,i=this.getFieldPolicy(n,r,!1),o=i&&i.keyFn;if(o&&n)for(var s={typename:n,fieldName:r,field:e.field||null,variables:e.variables},l=b(e);o;){var f=o(l,s);if((0,c.c)(f))o=v(f);else{t=f||r;break}}return(void 0===t&&(t=e.field?(0,a.Ii)(e.field,e.variables):(0,a.o5)(r,b(e))),!1===t)?r:r===(0,u.iJ)(t)?t:r+":"+t},e.prototype.readField=function(e,t){var n=e.from;if(n&&(e.field||e.fieldName)){if(void 0===e.typename){var r=t.store.getFieldValue(n,"__typename");r&&(e.typename=r)}var i=this.getStoreFieldName(e),o=(0,u.iJ)(i),s=t.store.getFieldValue(n,i),c=this.getFieldPolicy(e.typename,o,!1),f=c&&c.read;if(f){var d=T(this,n,e,t,t.store.getStorage((0,a.A_)(n)?n.__ref:n,i));return l.bl.withValue(this.cache,f,[s,d])}return s}},e.prototype.getReadFunction=function(e,t){var n=this.getFieldPolicy(e,t,!1);return n&&n.read},e.prototype.getMergeFunction=function(e,t,n){var r=this.getFieldPolicy(e,t,!1),i=r&&r.merge;return!i&&n&&(i=(r=this.getTypePolicy(n))&&r.merge),i},e.prototype.runMergeFunction=function(e,t,n,r,i){var a=n.field,o=n.typename,s=n.merge;return s===O?A(r.store)(e,t):s===S?t:(r.overwrite&&(e=void 0),s(e,t,T(this,void 0,{typename:o,fieldName:a.name.value,field:a,variables:r.variables},r,i||Object.create(null))))},e}();function T(e,t,n,r,i){var o=e.getStoreFieldName(n),s=(0,u.iJ)(o),c=n.variables||r.variables,l=r.store,f=l.toReference,d=l.canRead;return{args:b(n),field:n.field||null,fieldName:s,storeFieldName:o,variables:c,isReference:a.A_,toReference:f,storage:i,cache:e.cache,canRead:d,readField:function(){return e.readField(x(arguments,t,c),r)},mergeObjects:A(r.store)}}function x(e,t,n){var a,s=e[0],c=e[1],l=e.length;return"string"==typeof s?a={fieldName:s,from:l>1?c:t}:(a=(0,r.__assign)({},s),u.$3.call(a,"from")||(a.from=t)),!1!==globalThis.__DEV__&&void 0===a.from&&!1!==globalThis.__DEV__&&i.invariant.warn(8,(0,o.p)(Array.from(e))),void 0===a.variables&&(a.variables=n),a}function A(e){return function(t,n){if((0,c.c)(t)||(0,c.c)(n))throw(0,i.newInvariantError)(9);if((0,s.U)(t)&&(0,s.U)(n)){var o=e.getFieldValue(t,"__typename"),l=e.getFieldValue(n,"__typename");if(o&&l&&o!==l)return n;if((0,a.A_)(t)&&(0,u.d1)(n))return e.merge(t.__ref,n),t;if((0,u.d1)(t)&&(0,a.A_)(n))return e.merge(t,n.__ref),n;if((0,u.d1)(t)&&(0,u.d1)(n))return(0,r.__assign)((0,r.__assign)({},t),n)}return n}}},777(e,t,n){n.d(t,{MS:()=>u,UT:()=>c,WR:()=>s,bl:()=>i});var r=n(60837),i=new r.Slot,a=new WeakMap;function o(e){var t=a.get(e);return t||a.set(e,t={vars:new Set,dep:(0,r.dep)()}),t}function s(e){o(e).vars.forEach(function(t){return t.forgetCache(e)})}function u(e){o(e).vars.forEach(function(t){return t.attachCache(e)})}function c(e){var t=new Set,n=new Set,r=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){var t;o(e).dep.dirty(r),(t=e).broadcastWatches&&t.broadcastWatches()});var u=Array.from(n);n.clear(),u.forEach(function(t){return t(e)})}}else{var c=i.getValue();c&&(a(c),o(c).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var a=r.attachCache=function(e){return t.add(e),o(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}},55427(e,t,n){n.d(t,{a:()=>c});var r=n(85608),i=n(55888),a=n(3777),o=n(2904),s=n(82307),u=n(28907);function c(e,t,n,c){var f=t.data,d=(0,r.__rest)(t,["data"]),p=n.data,h=(0,r.__rest)(n,["data"]);return(0,i.default)(d,h)&&function e(t,n,r,a){if(n===r)return!0;var c=new Set;return t.selections.every(function(t){if(c.has(t)||(c.add(t),!(0,s.MS)(t,a.variables)||l(t)))return!0;if((0,u.dt)(t)){var f=(0,u.ue)(t),d=n&&n[f],p=r&&r[f],h=t.selectionSet;if(!h)return(0,i.default)(d,p);var v=Array.isArray(d),y=Array.isArray(p);if(v!==y)return!1;if(v&&y){var m=d.length;if(p.length!==m)return!1;for(var g=0;g<m;++g)if(!e(h,d[g],p[g],a))return!1;return!0}return e(h,d,p,a)}var _=(0,o.HQ)(t,a.fragmentMap);if(_)return!!l(_)||e(_.selectionSet,n,r,a)})}((0,a.Vn)(e).selectionSet,f,p,{fragmentMap:(0,o.JG)((0,a.zK)(e)),variables:c})}function l(e){return!!e.directives&&e.directives.some(f)}function f(e){return"nonreactive"===e.name.value}},53570(e,t,n){n.r(t),n.d(t,{ApolloError:()=>c,PROTOCOL_ERRORS_SYMBOL:()=>a,graphQLResultHasProtocolErrors:()=>o,isApolloError:()=>s});var r=n(85608);n(70916);var i=n(21777),a=Symbol();function o(e){return!!e.extensions&&Array.isArray(e.extensions[a])}function s(e){return e.hasOwnProperty("graphQLErrors")}var u=function(e){var t=(0,r.__spreadArray)((0,r.__spreadArray)((0,r.__spreadArray)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(e){return(0,i.U)(e)&&e.message||"Error message not found."}).join("\n")},c=function(e){function t(n){var i=n.graphQLErrors,a=n.protocolErrors,o=n.clientErrors,s=n.networkError,c=n.errorMessage,l=n.extraInfo,f=e.call(this,c)||this;return f.name="ApolloError",f.graphQLErrors=i||[],f.protocolErrors=a||[],f.clientErrors=o||[],f.networkError=s||null,f.message=c||u(f),f.extraInfo=l,f.cause=(0,r.__spreadArray)((0,r.__spreadArray)((0,r.__spreadArray)([s],i||[],!0),a||[],!0),o||[],!0).find(function(e){return!!e})||null,f.__proto__=t.prototype,f}return(0,r.__extends)(t,e),t}(Error)},19074(e,t,n){n.d(t,{C:()=>f});var r=n(70916),i=n(36054),a=n(16878),o=n(38414),s=n(46192);function u(e,t){return t?t(e):i.c.of()}function c(e){return"function"==typeof e?new f(e):e}function l(e){return e.request.length<=1}var f=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return i.c.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(c).reduce(function(e,t){return e.concat(t)})},e.split=function(t,n,r){var a=c(n),o=c(r||new e(u));return Object.assign(new e(l(a)&&l(o)?function(e){return t(e)?a.request(e)||i.c.of():o.request(e)||i.c.of()}:function(e,n){return t(e)?a.request(e,n)||i.c.of():o.request(e,n)||i.c.of()}),{left:a,right:o})},e.execute=function(e,t){return e.request((0,a.k)(t.context,(0,o.A)((0,s.K)(t))))||i.c.of()},e.concat=function(t,n){var a=c(t);if(l(a))return!1!==globalThis.__DEV__&&r.invariant.warn(38,a),a;var o=c(n);return Object.assign(new e(l(o)?function(e){return a.request(e,function(e){return o.request(e)||i.c.of()})||i.c.of()}:function(e,t){return a.request(e,function(e){return o.request(e,t)||i.c.of()})||i.c.of()}),{left:a,right:o})},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(u)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,r.newInvariantError)(39)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},25174(e,t,n){n.d(t,{g:()=>r});var r=n(19074).C.execute},4232(e,t,n){n.r(t),n.d(t,{ApolloLink:()=>r.C,concat:()=>s,empty:()=>i,execute:()=>u.g,from:()=>a,split:()=>o}),n(70916);var r=n(19074),i=r.C.empty,a=r.C.from,o=r.C.split,s=r.C.concat,u=n(25174)},49952(e,t,n){n.d(t,{P:()=>o});var r=n(85608),i=n(19074),a=n(79760),o=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,(0,a.$)(t).request)||this;return n.options=t,n}return(0,r.__extends)(t,e),t}(i.C)},67195(e,t,n){n.d(t,{S:()=>i});var r=n(70916),i=function(e){if(!e&&"u"<typeof fetch)throw(0,r.newInvariantError)(40)}},79760(e,t,n){n.d(t,{$:()=>_});var r=n(85608),i=n(70916),a=n(19074),o=n(82307),s=n(36054),u=n(63647),c=n(33068),l=n(90117),f=n(67195),d=n(74559),p=n(11151),h=n(93161),v=n(70783),y=n(53925),m=n(3777),g=(0,i.maybe)(function(){return fetch}),_=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,_=e.fetch,b=e.print,E=void 0===b?d.i1:b,w=e.includeExtensions,O=e.preserveHeaderCase,S=e.useGETForQueries,k=e.includeUnusedVariables,T=void 0!==k&&k,x=(0,r.__rest)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&(0,f.S)(_||g);var A={http:{includeExtensions:w,preserveHeaderCase:O},options:x.fetchOptions,credentials:x.credentials,headers:x.headers};return new a.C(function(e){var t,a,f=(0,c.z)(e,n),b=e.getContext(),w={};if(b.clientAwareness){var O=b.clientAwareness,k=O.name,x=O.version;k&&(w["apollographql-client-name"]=k),x&&(w["apollographql-client-version"]=x)}var j=(0,r.__assign)((0,r.__assign)({},w),b.headers),I={http:b.http,options:b.fetchOptions,credentials:b.credentials,headers:j};if((0,o.d8)(["client"],e.query)){var D=(0,y.er)(e.query);if(!D)return(0,h.N)(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=D}var N=(0,d.HY)(e,E,d.R4,A,I),R=N.options,F=N.body;F.variables&&!T&&(F.variables=(0,v.X)(F.variables,e.query)),!R.signal&&"u">typeof AbortController&&(R.signal=(a=new AbortController).signal);var C="OperationDefinition"===(t=(0,m.Vn)(e.query)).kind&&"subscription"===t.operation,M=(0,o.d8)(["defer"],e.query);if(S&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(R.method="GET"),M||C){R.headers=R.headers||{};var V="multipart/mixed;";C&&M&&!1!==globalThis.__DEV__&&i.invariant.warn(41),C?V+="boundary=graphql;subscriptionSpec=1.0,application/json":M&&(V+="deferSpec=20220824,application/json"),R.headers.accept=V}if("GET"===R.method){var z=(0,p.E)(f,F),P=z.newURI,q=z.parseError;if(q)return(0,h.N)(q);f=P}else try{R.body=(0,u.Y)(F,"Payload")}catch(e){return(0,h.N)(e)}return new s.c(function(t){var n=_||(0,i.maybe)(function(){return fetch})||g,r=t.next.bind(t);return n(f,R).then(function(t){e.setContext({response:t});var n,i=null==(n=t.headers)?void 0:n.get("content-type");return null!==i&&/^multipart\/mixed/i.test(i)?(0,l.tD)(t,r):(0,l.OQ)(e)(t).then(r)}).then(function(){a=void 0,t.complete()}).catch(function(e){a=void 0,(0,l.H4)(e,t)}),function(){a&&a.abort()}})})}},28876(e,t,n){n.r(t),n.d(t,{HttpLink:()=>l.P,parseAndCheckHttpResponse:()=>r.OQ,checkFetcher:()=>o.S,rewriteURIForGET:()=>f.E,serializeFetchParameter:()=>i.Y,createSignalIfSupported:()=>s,selectHttpOptionsAndBodyInternal:()=>a.HY,selectHttpOptionsAndBody:()=>a.Wz,selectURI:()=>u.z,fallbackHttpConfig:()=>a.R4,createHttpLink:()=>c.$,defaultPrinter:()=>a.i1}),n(70916);var r=n(90117),i=n(63647),a=n(74559),o=n(67195),s=function(){if("u"<typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController,t=e.signal;return{controller:e,signal:t}},u=n(33068),c=n(79760),l=n(49952),f=n(11151)},90117(e,t,n){n.d(t,{H4:()=>d,OQ:()=>p,tD:()=>l});var r=n(85608),i=n(51360);function a(e){var t={next:function(){return e.read()}};return i.uJ&&(t[Symbol.asyncIterator]=function(){return this}),t}var o=n(3848),s=n(53570),u=n(37396),c=Object.prototype.hasOwnProperty;function l(e,t){return(0,r.__awaiter)(this,void 0,void 0,function(){var n,o,c,l,d,p,h,v,y,m,g,_,b,E,w,O,S,k,T,x,A,j,I;return(0,r.__generator)(this,function(D){switch(D.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");n=new TextDecoder("utf-8"),o=null==(I=e.headers)?void 0:I.get("content-type"),c="boundary=",l=(null==o?void 0:o.includes(c))?null==o?void 0:o.substring((null==o?void 0:o.indexOf(c))+c.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",d="\r\n--".concat(l),p="",h=function(e){var t,n,r,o,s,u,c=e;if(e.body&&(c=e.body),t=c,i.uJ&&t[Symbol.asyncIterator])return r=c[Symbol.asyncIterator](),(n={next:function(){return r.next()}})[Symbol.asyncIterator]=function(){return this},n;if(c.getReader)return a(c.getReader());if(c.stream)return a(c.stream().getReader());if(c.arrayBuffer)return o=c.arrayBuffer(),s=!1,u={next:function(){return s?Promise.resolve({value:void 0,done:!0}):(s=!0,new Promise(function(e,t){o.then(function(t){e({value:t,done:!1})}).catch(t)}))}},i.uJ&&(u[Symbol.asyncIterator]=function(){return this}),u;if(c.pipe)return function(e){var t=null,n=null,r=!1,a=[],o=[];function s(e){if(!n){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}a.push(e)}}function u(e){n=e,o.slice().forEach(function(t){t[1](e)}),t&&t()}function c(){r=!0,o.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}t=function(){t=null,e.removeListener("data",s),e.removeListener("error",u),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",s),e.on("error",u),e.on("end",c),e.on("finish",c),e.on("close",c);var l={next:function(){return new Promise(function(e,t){return n?t(n):a.length?e({value:a.shift(),done:!1}):r?e({value:void 0,done:!0}):void o.push([e,t])})}};return i.uJ&&(l[Symbol.asyncIterator]=function(){return this}),l}(c);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),v=!0,D.label=1;case 1:if(!v)return[3,3];return[4,h.next()];case 2:for(m=(y=D.sent()).value,g=y.done,_="string"==typeof m?m:n.decode(m),b=p.length-d.length+1,v=!g,p+=_,E=p.indexOf(d,b);E>-1;){if(w=void 0,w=(A=[p.slice(0,E),p.slice(E+d.length)])[0],p=A[1],O=w.indexOf("\r\n\r\n"),(S=function(e){var t={};return e.split("\n").forEach(function(e){var n=e.indexOf(":");if(n>-1){var r=e.slice(0,n).trim().toLowerCase(),i=e.slice(n+1).trim();t[r]=i}}),t}(w.slice(0,O))["content-type"])&&-1===S.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");if(k=w.slice(O)){if(Object.keys(T=f(e,k)).length>1||"data"in T||"incremental"in T||"errors"in T||"payload"in T)if((0,u.Nw)(T)){if(x={},"payload"in T){if(1===Object.keys(T).length&&null===T.payload)return[2];x=(0,r.__assign)({},T.payload)}"errors"in T&&(x=(0,r.__assign)((0,r.__assign)({},x),{extensions:(0,r.__assign)((0,r.__assign)({},"extensions"in x?x.extensions:null),((j={})[s.PROTOCOL_ERRORS_SYMBOL]=T.errors,j))})),t(x)}else t(T);else if(1===Object.keys(T).length&&"hasNext"in T&&!T.hasNext)return[2]}E=p.indexOf(d)}return[3,1];case 3:return[2]}})})}function f(e,t){e.status>=300&&(0,o.A)(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(n){throw n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,n}}function d(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function p(e){return function(t){return t.text().then(function(e){return f(t,e)}).then(function(n){return Array.isArray(n)||c.call(n,"data")||c.call(n,"errors")||(0,o.A)(t,n,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),n})}}},11151(e,t,n){n.d(t,{E:()=>i});var r=n(63647);function i(e,t){var n=[],i=function(e,t){n.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&i("query",t.query),t.operationName&&i("operationName",t.operationName),t.variables){var a=void 0;try{a=(0,r.Y)(t.variables,"Variables map")}catch(e){return{parseError:e}}i("variables",a)}if(t.extensions){var o=void 0;try{o=(0,r.Y)(t.extensions,"Extensions map")}catch(e){return{parseError:e}}i("extensions",o)}var s="",u=e,c=e.indexOf("#");-1!==c&&(s=e.substr(c),u=e.substr(0,c));var l=-1===u.indexOf("?")?"?":"&";return{newURI:u+l+n.join("&")+s}}},74559(e,t,n){n.d(t,{HY:()=>u,R4:()=>a,Wz:()=>s,i1:()=>o});var r=n(85608),i=n(38678),a={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},o=function(e,t){return t(e)};function s(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return n.unshift(t),u.apply(void 0,(0,r.__spreadArray)([e,o],n,!1))}function u(e,t){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];var o={},s={};n.forEach(function(e){o=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},o),e.options),{headers:(0,r.__assign)((0,r.__assign)({},o.headers),e.headers)}),e.credentials&&(o.credentials=e.credentials),s=(0,r.__assign)((0,r.__assign)({},s),e.http)}),o.headers&&(o.headers=function(e,t){if(!t){var n={};return Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]=e[t]}),n}var r={};Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]={originalName:t,value:e[t]}});var i={};return Object.keys(r).forEach(function(e){i[r[e].originalName]=r[e].value}),i}(o.headers,s.preserveHeaderCase));var u=e.operationName,c=e.extensions,l=e.variables,f=e.query,d={operationName:u,variables:l};return s.includeExtensions&&(d.extensions=c),s.includeQuery&&(d.query=t(f,i.y)),{options:o,body:d}}},33068(e,t,n){n.d(t,{z:()=>r});var r=function(e,t){var n=e.getContext().uri;return n||("function"==typeof t?t(e):t||"/graphql")}},63647(e,t,n){n.d(t,{Y:()=>i});var r=n(70916),i=function(e,t){var n;try{n=JSON.stringify(e)}catch(e){var i=(0,r.newInvariantError)(42,t,e.message);throw i.parseError=e,i}return n}},16878(e,t,n){n.d(t,{k:()=>i});var r=n(85608);function i(e,t){var n=(0,r.__assign)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n="function"==typeof e?(0,r.__assign)((0,r.__assign)({},n),e(n)):(0,r.__assign)((0,r.__assign)({},n),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,r.__assign)({},n)}}),t}},70783(e,t,n){n.d(t,{X:()=>a});var r=n(85608),i=n(90424);function a(e,t){var n=(0,r.__assign)({},e),a=new Set(Object.keys(e));return(0,i.YR)(t,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&a.delete(e.name.value)}}),a.forEach(function(e){delete n[e]}),n}},93161(e,t,n){n.d(t,{N:()=>i});var r=n(36054);function i(e){return new r.c(function(t){t.error(e)})}},22594(e,t,n){n.d(t,{S:()=>i});var r=n(36054);function i(e){return new r.c(function(t){e.then(function(e){t.next(e),t.complete()}).catch(t.error.bind(t))})}},3848(e,t,n){n.d(t,{A:()=>r});var r=function(e,t,n){var r=Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r}},60441(e,t,n){n.d(t,{h:()=>i});var r=n(70916);function i(e){var t=!1;return new Promise(function(n,i){e.subscribe({next:function(e){t?!1!==globalThis.__DEV__&&r.invariant.warn(45):(t=!0,n(e))},error:i})})}},38414(e,t,n){n.d(t,{A:()=>i});var r=n(3777);function i(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?(0,r.n4)(t.query)||void 0:""),t}},46192(e,t,n){n.d(t,{K:()=>i});var r=n(70916);function i(e){for(var t=["query","operationName","variables","extensions","context"],n=0,i=Object.keys(e);n<i.length;n++){var a=i[n];if(0>t.indexOf(a))throw(0,r.newInvariantError)(46,a)}return e}},25186(e,t,n){n.d(t,{S:()=>c});var r=n(42455),i=n(57236),a=n(28907),o=n(82307),s=n(47150),u=n(70916);function c(e,t,n){return s.yV.withValue(!0,function(){var c=function e(t,n,i,c,l){var f,d=i.knownChanged,p=function(e,t){if(t.has(e))return t.get(e);var n=Array.isArray(e)?[]:Object.create(null);return t.set(e,n),n}(t,i.mutableTargets);if(Array.isArray(t)){for(var h=0,v=Array.from(t.entries());h<v.length;h++){var y=v[h],m=y[0],g=y[1];if(null===g){p[m]=null;continue}var _=e(g,n,i,c,!1!==globalThis.__DEV__?"".concat(l||"","[").concat(m,"]"):void 0);d.has(_)&&d.add(p),p[m]=_}return d.has(p)?p:t}for(var b=0,E=n.selections;b<E.length;b++){var w=E[b],O=void 0;if(c&&d.add(p),w.kind===r.b.FIELD){var S=(0,a.ue)(w),k=w.selectionSet;if(void 0===(O=p[S]||t[S]))continue;if(k&&null!==O){var _=e(t[S],k,i,c,!1!==globalThis.__DEV__?"".concat(l||"",".").concat(S):void 0);d.has(_)&&(O=_)}!1===globalThis.__DEV__&&(p[S]=O),!1!==globalThis.__DEV__&&(!c||"__typename"===S||(null==(f=Object.getOwnPropertyDescriptor(p,S))?void 0:f.value)?(delete p[S],p[S]=O):Object.defineProperty(p,S,function(e,t,n,r,i){var a=function(){return s.yV.getValue()||(!1!==globalThis.__DEV__&&u.invariant.warn(48,r?"".concat(i," '").concat(r,"'"):"anonymous ".concat(i),"".concat(n,".").concat(e).replace(/^\./,"")),a=function(){return t}),t};return{get:function(){return a()},set:function(e){a=function(){return e}},enumerable:!0,configurable:!0}}(S,O,l||"",i.operationName,i.operationType)))}if(w.kind===r.b.INLINE_FRAGMENT&&(!w.typeCondition||i.cache.fragmentMatches(w,t.__typename))&&(O=e(t,w.selectionSet,i,c,l)),w.kind===r.b.FRAGMENT_SPREAD){var T=w.name.value,x=i.fragmentMap[T]||(i.fragmentMap[T]=i.cache.lookupFragment(T));(0,u.invariant)(x,47,T);var A=(0,o.s7)(w);"mask"!==A&&(O=e(t,x.selectionSet,i,"migrate"===A,l))}d.has(O)&&d.add(p)}return"__typename"in t&&!("__typename"in p)&&(p.__typename=t.__typename),Object.keys(p).length!==Object.keys(t).length&&d.add(p),d.has(p)?p:t}(e,t,n,!1);return Object.isFrozen(e)&&(0,i.G)(c),c})}},62959(e,t,n){n.d(t,{z:()=>l});var r=n(42455),i=n(47150),a=n(70916),o=n(55888),s=n(25186),u=n(2904),c=n(3777);function l(e,t,n,l){if(!n.fragmentMatches)return!1!==globalThis.__DEV__&&(0,i.Ki)(),e;var f=t.definitions.filter(function(e){return e.kind===r.b.FRAGMENT_DEFINITION});void 0===l&&((0,a.invariant)(1===f.length,49,f.length),l=f[0].name.value);var d=f.find(function(e){return e.name.value===l});return((0,a.invariant)(!!d,50,l),null==e||(0,o.default)(e,{}))?e:(0,s.S)(e,d.selectionSet,{operationType:"fragment",operationName:d.name.value,fragmentMap:(0,u.JG)((0,c.zK)(t)),cache:n,mutableTargets:new i.jq,knownChanged:new i.xm})}},28354(e,t,n){n.d(t,{m:()=>u});var r=n(70916),i=n(3777),a=n(2904),o=n(25186),s=n(47150);function u(e,t,n){if(!n.fragmentMatches)return!1!==globalThis.__DEV__&&(0,s.Ki)(),e;var u,c=(0,i.Vu)(t);return((0,r.invariant)(c,51),null==e)?e:(0,o.S)(e,c.selectionSet,{operationType:c.operation,operationName:null==(u=c.name)?void 0:u.value,fragmentMap:(0,a.JG)((0,i.zK)(t)),cache:n,mutableTargets:new s.jq,knownChanged:new s.xm})}},47150(e,t,n){n.d(t,{Ki:()=>l,jq:()=>o,xm:()=>s,yV:()=>u});var r=n(60837),i=n(70916),a=n(51360),o=a.et?WeakMap:Map,s=a.En?WeakSet:Set,u=new r.Slot,c=!1;function l(){c||(c=!0,!1!==globalThis.__DEV__&&i.invariant.warn(52))}},45078(e,t,n){n.d(t,{A:()=>s,V:()=>u});var r=n(54019),i=n(31088),a=new WeakSet;function o(e){!(e.size<=(e.max||-1))&&(a.has(e)||(a.add(e),setTimeout(function(){e.clean(),a.delete(e)},100)))}var s=function(e,t){var n=new r.l(e,t);return n.set=function(e,t){var n=r.l.prototype.set.call(this,e,t);return o(this),n},n},u=function(e,t){var n=new i.C(e,t);return n.set=function(e,t){var n=i.C.prototype.set.call(this,e,t);return o(this),n},n}},44114(e,t,n){n.d(t,{D_:()=>o,cM:()=>u,ep:()=>s,tQ:()=>c});var r=n(85608),i=n(555),a={};function o(e,t){a[e]=t}var s=!1!==globalThis.__DEV__?function(){var e,t,n,o,s;if(!1===globalThis.__DEV__)throw Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({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}).map(function(e){var t=e[0],n=e[1];return[t,i.v[t]||n]})),sizes:(0,r.__assign)({print:null==(e=a.print)?void 0:e.call(a),parser:null==(t=a.parser)?void 0:t.call(a),canonicalStringify:null==(n=a.canonicalStringify)?void 0:n.call(a),links:function e(t){var n;return t?(0,r.__spreadArray)((0,r.__spreadArray)([null==(n=null==t?void 0:t.getMemoryInternals)?void 0:n.call(t)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(d):[]}(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:p(this.queryManager.documentTransform)}},null==(s=(o=this.cache).getMemoryInternals)?void 0:s.call(o))}}:void 0,u=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,r.__assign)((0,r.__assign)({},l.apply(this)),{addTypenameDocumentTransform:p(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:f(this.storeReader.executeSelectionSet),executeSubSelectedArray:f(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:f(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:f(null==e?void 0:e.findFragmentSpreads),lookup:f(null==e?void 0:e.lookup),transform:f(null==e?void 0:e.transform)}})}:void 0,c=!1!==globalThis.__DEV__?l:void 0;function l(){return{cache:{fragmentQueryDocuments:f(this.getFragmentDoc)}}}function f(e){return e&&"dirtyKey"in e?e.size:void 0}function d(e){return null!=e}function p(e){return(function e(t){return t?(0,r.__spreadArray)((0,r.__spreadArray)([f(null==t?void 0:t.performWork)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(d):[]})(e).map(function(e){return{cache:e}})}},555(e,t,n){n.d(t,{v:()=>o});var r=n(85608),i=n(70916),a=Symbol.for("apollo.cacheSize"),o=(0,r.__assign)({},i.global[a])},73767(e,t,n){n.d(t,{E:()=>i,c:()=>r});var r=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},51360(e,t,n){n.d(t,{En:()=>o,JR:()=>f,Sw:()=>c,et:()=>a,ol:()=>s,uJ:()=>u});var r=n(70916),i="ReactNative"==(0,r.maybe)(function(){return navigator.product}),a="function"==typeof WeakMap&&!(i&&!global.HermesInternal),o="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,u=s&&Symbol.asyncIterator,c="function"==typeof(0,r.maybe)(function(){return window.document.createElement}),l=(0,r.maybe)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,f=(c||i)&&!l},44214(e,t,n){n.d(t,{M:()=>s});var r,i=n(45078),a=n(555),o=n(44114),s=Object.assign(function(e){return JSON.stringify(e,u)},{reset:function(){r=new i.V(a.v.canonicalStringify||1e3)}});function u(e,t){if(t&&"object"==typeof t){var n=Object.getPrototypeOf(t);if(n===Object.prototype||null===n){var i=Object.keys(t);if(i.every(c))return t;var a=JSON.stringify(i),o=r.get(a);if(!o){i.sort();var s=JSON.stringify(i);o=r.get(s)||i,r.set(a,o),r.set(s,o)}var u=Object.create(n);return o.forEach(function(e){u[e]=t[e]}),u}}return t}function c(e,t,n){return 0===t||n[t-1]<=e}!1!==globalThis.__DEV__&&(0,o.D_)("canonicalStringify",function(){return r.size}),s.reset()},20906(e,t,n){n.d(t,{m:()=>i});var r=Object.prototype.toString;function i(e){return function e(t,n){switch(r.call(t)){case"[object Array]":if((n=n||new Map).has(t))return n.get(t);var i=t.slice(0);return n.set(t,i),i.forEach(function(t,r){i[r]=e(t,n)}),i;case"[object Object]":if((n=n||new Map).has(t))return n.get(t);var a=Object.create(Object.getPrototypeOf(t));return n.set(t,a),Object.keys(t).forEach(function(r){a[r]=e(t[r],n)}),a;default:return t}}(e)}},50492(e,t,n){n.d(t,{o:()=>r});function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var r=e[t];void 0!==r&&(n[t]=r)})}),n}},32710(e,t,n){n.d(t,{M:()=>o,t:()=>a});var r=n(73767),i=n(37396);function a(e){var t=o(e);return(0,r.E)(t)}function o(e){var t=(0,r.E)(e.errors)?e.errors.slice(0):[];return(0,i.ST)(e)&&(0,r.E)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}},37396(e,t,n){n.d(t,{EQ:()=>s,Nw:()=>c,ST:()=>o,YX:()=>u,bd:()=>l});var r=n(21777),i=n(73767),a=n(30671);function o(e){return"incremental"in e}function s(e){return"hasNext"in e&&"data"in e}function u(e){return o(e)||s(e)}function c(e){return(0,r.U)(e)&&"payload"in e}function l(e,t){var n=e,r=new a.ZI;return o(t)&&(0,i.E)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,a=i.length-1;a>=0;--a){var o=i[a],s=isNaN(+o)?{}:[];s[o]=t,t=s}n=r.merge(n,t)}),n}},21461(e,t,n){n.d(t,{v:()=>i});var r=new Map;function i(e){var t=r.get(e)||1;return r.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},57236(e,t,n){n.d(t,{G:()=>i});var r=n(21777);function i(e){var t;return!1!==globalThis.__DEV__&&(t=new Set([e])).forEach(function(e){(0,r.U)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(n){(0,r.U)(e[n])&&t.add(e[n])})}),e}},30671(e,t,n){n.d(t,{D9:()=>o,IM:()=>s,ZI:()=>c});var r=n(85608),i=n(21777),a=Object.prototype.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new c,i=1;i<n;++i)t=r.merge(t,e[i]);return t}var u=function(e,t,n){return this.merge(e[n],t[n])},c=function(){function e(e){void 0===e&&(e=u),this.reconciler=e,this.isObject=i.U,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,o=[],s=2;s<arguments.length;s++)o[s-2]=arguments[s];return(0,i.U)(t)&&(0,i.U)(e)?(Object.keys(t).forEach(function(i){if(a.call(e,i)){var s=e[i];if(t[i]!==s){var u=n.reconciler.apply(n,(0,r.__spreadArray)([e,t,i],o,!1));u!==s&&((e=n.shallowCopyForMerge(e))[i]=u)}}else(e=n.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.U)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,r.__assign)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}()},31507(e,t,n){n.d(t,{l:()=>a});var r=n(85608),i=n(50492);function a(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,r.__assign)((0,r.__assign)({},e&&e.variables),t.variables))})}},21777(e,t,n){function r(e){return null!==e&&"object"==typeof e}function i(e){return null!==e&&"object"==typeof e&&(Object.getPrototypeOf(e)===Object.prototype||null===Object.getPrototypeOf(e))}n.d(t,{Q:()=>i,U:()=>r})},86563(e,t,n){n.d(t,{p:()=>i});var r=n(21461);function i(e,t){void 0===t&&(t=0);var n=(0,r.v)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?n:t},t).split(JSON.stringify(n)).join("<undefined>")}},70916(e,t,n){n.r(t),n.d(t,{invariant:()=>c,__DEV__:()=>v,DEV:()=>v,global:()=>o,InvariantError:()=>r.InvariantError,newInvariantError:()=>l,maybe:()=>a});var r=n(19371),i=n(73972);function a(e){try{return e()}catch(e){}}let o=a(function(){return globalThis})||a(function(){return window})||a(function(){return self})||a(function(){return global})||a(function(){return a.constructor("return this")()});var s=n(86563);function u(e){return function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if("number"==typeof t){var i=t;(t=p(i))||(t=h(i,n),n=[])}e.apply(void 0,[t].concat(n))}}var c=Object.assign(function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];e||(0,r.invariant)(e,p(t,n)||h(t,n))},{debug:u(r.invariant.debug),log:u(r.invariant.log),warn:u(r.invariant.warn),error:u(r.invariant.error)});function l(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new r.InvariantError(p(e,t)||h(e,t))}var f=Symbol.for("ApolloErrorMessageHandler_"+i.r);function d(e){if("string"==typeof e)return e;try{return(0,s.p)(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function p(e,t){if(void 0===t&&(t=[]),e)return o[f]&&o[f](e,t.map(d))}function h(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:i.r,message:e,args:t.map(d)})))}var v=!1!==globalThis.__DEV__},9354(e,t,n){n.d(t,{c:()=>f});var r=n(44592),i=n(51360),a=n(3777),o=n(70916),s=n(54019),u=n(60837),c=n(555);function l(e){return e}var f=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.En?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(l,{cache:!1})},e.split=function(t,n,r){return void 0===r&&(r=e.identity()),Object.assign(new e(function(e){return(t(e)?n:r).transformDocument(e)},{cache:!1}),{left:n,right:r})},e.prototype.resetCache=function(){var t=this;if(this.cached){var n=new r.Trie(i.et);this.performWork=(0,u.wrap)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var r=t.getCacheKey(e);if(r)return(0,o.invariant)(Array.isArray(r),77),n.lookupArray(r)},max:c.v["documentTransform.cache"],cache:s.l})}},e.prototype.performWork=function(e){return(0,a.sw)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var n=this;return Object.assign(new e(function(e){return t.transformDocument(n.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}()},82307(e,t,n){n.d(t,{I5:()=>c,MS:()=>o,d8:()=>l,f2:()=>f,hE:()=>u,s7:()=>p,sx:()=>s,tY:()=>d});var r=n(70916),i=n(90424),a=n(42455);function o(e,t){var n=e.directives;return!n||!n.length||d(n).every(function(e){var n=e.directive,i=e.ifArgument,a=!1;return"Variable"===i.value.kind?(a=t&&t[i.value.name.value],(0,r.invariant)(void 0!==a,78,n.name.value)):a=i.value.value,"skip"===n.name.value?!a:a})}function s(e){var t=[];return(0,i.YR)(e,{Directive:function(e){t.push(e.name.value)}}),t}var u=function(e,t){return l(e,t,!1)},c=function(e,t){return l(e,t,!0)};function l(e,t,n){var r=new Set(e),a=r.size;return(0,i.YR)(t,{Directive:function(e){if(r.delete(e.name.value)&&(!n||!r.size))return i.sP}}),n?!r.size:r.size<a}function f(e){return e&&l(["client","export"],e,!0)}function d(e){var t=[];return e&&e.length&&e.forEach(function(e){if("skip"===(n=e.name.value)||"include"===n){var n,i=e.arguments,a=e.name.value;(0,r.invariant)(i&&1===i.length,79,a);var o=i[0];(0,r.invariant)(o.name&&"if"===o.name.value,80,a);var s=o.value;(0,r.invariant)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),81,a),t.push({directive:e,ifArgument:o})}}),t}function p(e){var t,n,i=null==(t=e.directives)?void 0:t.find(function(e){return"unmask"===e.name.value});if(!i)return"mask";var o=null==(n=i.arguments)?void 0:n.find(function(e){return"mode"===e.name.value});return(!1!==globalThis.__DEV__&&o&&(o.value.kind===a.b.VARIABLE?!1!==globalThis.__DEV__&&r.invariant.warn(82):o.value.kind!==a.b.STRING?!1!==globalThis.__DEV__&&r.invariant.warn(83):"migrate"!==o.value.value&&!1!==globalThis.__DEV__&&r.invariant.warn(84,o.value.value)),o&&"value"in o.value&&"migrate"===o.value.value)?"migrate":"unmask"}},2904(e,t,n){n.d(t,{HQ:()=>u,JG:()=>s,ct:()=>o,s6:()=>c});var r=n(85608),i=n(70916),a=n(90424);function o(e,t){var n=t,a=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i.newInvariantError)(85,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&a.push(e)}),void 0===n&&((0,i.invariant)(1===a.length,86,a.length),n=a[0].name.value),(0,r.__assign)((0,r.__assign)({},e),{definitions:(0,r.__spreadArray)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function s(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function u(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=e.name.value;if("function"==typeof t)return t(n);var r=t&&t[n];return(0,i.invariant)(r,87,n),r||null;default:return null}}function c(e){var t=!0;return(0,a.YR)(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return a.sP}}),t}},3777(e,t,n){n.d(t,{AT:()=>c,E4:()=>l,Vn:()=>f,Vu:()=>o,n4:()=>s,sw:()=>a,wY:()=>d,zK:()=>u});var r=n(70916),i=n(28907);function a(e){(0,r.invariant)(e&&"Document"===e.kind,88);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,r.newInvariantError)(89,e.kind);return e});return(0,r.invariant)(t.length<=1,90,t.length),e}function o(e){return a(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function s(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function u(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function c(e){var t=o(e);return(0,r.invariant)(t&&"query"===t.operation,91),t}function l(e){(0,r.invariant)("Document"===e.kind,92),(0,r.invariant)(e.definitions.length<=1,93);var t=e.definitions[0];return(0,r.invariant)("FragmentDefinition"===t.kind,94),t}function f(e){a(e);for(var t,n=0,i=e.definitions;n<i.length;n++){var o=i[n];if("OperationDefinition"===o.kind){var s=o.operation;if("query"===s||"mutation"===s||"subscription"===s)return o}"FragmentDefinition"!==o.kind||t||(t=o)}if(t)return t;throw(0,r.newInvariantError)(95)}function d(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach(function(e){e.defaultValue&&(0,i.J)(t,e.variable.name,e.defaultValue)}),t}},38678(e,t,n){n.d(t,{y:()=>u});var r,i=n(95818),a=n(45078),o=n(555),s=n(44114),u=Object.assign(function(e){var t=r.get(e);return t||(t=(0,i.y)(e),r.set(e,t)),t},{reset:function(){r=new a.A(o.v.print||2e3)}});u.reset(),!1!==globalThis.__DEV__&&(0,s.D_)("print",function(){return r?r.size:0})},28907(e,t,n){n.d(t,{A_:()=>u,D$:()=>function e(t,n,r){for(var i,o=0,s=n.selections;o<s.length;o++){var u=s[o];if(m(u)){if("__typename"===u.name.value)return t[y(u)]}else i?i.push(u):i=[u]}if("string"==typeof t.__typename)return t.__typename;if(i)for(var c=0,l=i;c<l.length;c++){var u=l[c],f=e(t,(0,a.HQ)(u,r).selectionSet,r);if("string"==typeof f)return f}},Ii:()=>f,J:()=>l,Kc:()=>c,MB:()=>v,WU:()=>s,dt:()=>m,kd:()=>g,o5:()=>h,ue:()=>y});var r=n(70916),i=n(21777),a=n(2904),o=n(44214);function s(e){return{__ref:String(e)}}function u(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function c(e){return(0,i.U)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function l(e,t,n,i){if("IntValue"===n.kind||"FloatValue"===n.kind)e[t.value]=Number(n.value);else if("BooleanValue"===n.kind||"StringValue"===n.kind)e[t.value]=n.value;else if("ObjectValue"===n.kind){var a={};n.fields.map(function(e){return l(a,e.name,e.value,i)}),e[t.value]=a}else if("Variable"===n.kind){var o=(i||{})[n.name.value];e[t.value]=o}else if("ListValue"===n.kind)e[t.value]=n.values.map(function(e){var n={};return l(n,t,e,i),n[t.value]});else if("EnumValue"===n.kind)e[t.value]=n.value;else if("NullValue"===n.kind)e[t.value]=null;else throw(0,r.newInvariantError)(96,t.value,n.kind)}function f(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach(function(r){var i=r.name,a=r.value;return l(n[e.name.value],i,a,t)})}));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(function(e){var n=e.name,i=e.value;return l(r,n,i,t)})),h(e.name.value,r,n)}var d=["connection","include","skip","client","rest","export","nonreactive"],p=o.M,h=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.connection.key)if(!n.connection.filter||!(n.connection.filter.length>0))return n.connection.key;else{var r=n.connection.filter?n.connection.filter:[];r.sort();var i={};return r.forEach(function(e){i[e]=t[e]}),"".concat(n.connection.key,"(").concat(p(i),")")}var a=e;if(t){var o=p(t);a+="(".concat(o,")")}return n&&Object.keys(n).forEach(function(e){-1===d.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?a+="@".concat(e,"(").concat(p(n[e]),")"):a+="@".concat(e))}),a},{setStringify:function(e){var t=p;return p=e,t}});function v(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(e){return l(n,e.name,e.value,t)}),n}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function g(e){return"InlineFragment"===e.kind}},53925(e,t,n){n.d(t,{TC:()=>_,XY:()=>v,er:()=>E,hX:()=>m,it:()=>g,iz:()=>h,x3:()=>w,zc:()=>b});var r=n(85608),i=n(70916),a=n(42455),o=n(90424),s=n(3777),u=n(28907),c=n(2904),l=n(73767),f={kind:a.b.FIELD,name:{kind:a.b.NAME,value:"__typename"}};function d(e){return!function e(t,n){return!t||t.selectionSet.selections.every(function(t){return t.kind===a.b.FRAGMENT_SPREAD&&e(n[t.name.value],n)})}((0,s.Vu)(e)||(0,s.E4)(e),(0,c.JG)((0,s.zK)(e)))?e:null}function p(e){var t=new Map;return function(n){void 0===n&&(n=e);var r=t.get(n);return r||t.set(n,r={variables:new Set,fragmentSpreads:new Set}),r}}function h(e,t){(0,s.sw)(t);for(var n,u,c=p(""),f=p(""),h=function(e){for(var t=0,n=void 0;t<e.length&&(n=e[t]);++t)if(!(0,l.c)(n)){if(n.kind===a.b.OPERATION_DEFINITION)return c(n.name&&n.name.value);if(n.kind===a.b.FRAGMENT_DEFINITION)return f(n.name.value)}return!1!==globalThis.__DEV__&&i.invariant.error(97),null},v=0,y=t.definitions.length-1;y>=0;--y)t.definitions[y].kind===a.b.OPERATION_DEFINITION&&++v;var m=(n=new Map,u=new Map,e.forEach(function(e){e&&(e.name?n.set(e.name,e):e.test&&u.set(e.test,e))}),function(e){var t=n.get(e.name.value);return!t&&u.size&&u.forEach(function(n,r){r(e)&&(t=n)}),t}),g=function(e){return(0,l.E)(e)&&e.map(m).some(function(e){return e&&e.remove})},_=new Map,b=!1,E={enter:function(e){if(g(e.directives))return b=!0,null}},w=(0,o.YR)(t,{Field:E,InlineFragment:E,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,n,r,i){var a=h(i);a&&a.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,n,r,i){if(g(e.directives))return b=!0,null;var a=h(i);a&&a.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,n,r){_.set(JSON.stringify(r),e)},leave:function(e,t,n,r){return e===_.get(JSON.stringify(r))?e:v>0&&e.selectionSet.selections.every(function(e){return e.kind===a.b.FIELD&&"__typename"===e.name.value})?(f(e.name.value).removed=!0,b=!0,null):void 0}},Directive:{leave:function(e){if(m(e))return b=!0,null}}});if(!b)return t;var O=function(e){return!e.transitiveVars&&(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){O(f(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},S=new Set;w.definitions.forEach(function(e){e.kind===a.b.OPERATION_DEFINITION?O(c(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){S.add(e)}):e.kind!==a.b.FRAGMENT_DEFINITION||0!==v||f(e.name.value).removed||S.add(e.name.value)}),S.forEach(function(e){O(f(e)).fragmentSpreads.forEach(function(e){S.add(e)})});var k={enter:function(e){var t;if(t=e.name.value,!S.has(t)||f(t).removed)return null}};return d((0,o.YR)(w,{FragmentSpread:k,FragmentDefinition:k,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=O(c(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,r.__assign)((0,r.__assign)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}))}var v=Object.assign(function(e){return(0,o.YR)(e,{SelectionSet:{enter:function(e,t,n){if(!n||n.kind!==a.b.OPERATION_DEFINITION){var i=e.selections;if(!(!i||i.some(function(e){return(0,u.dt)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,u.dt)(n)&&n.directives&&n.directives.some(function(e){return"export"===e.name.value})))return(0,r.__assign)((0,r.__assign)({},e),{selections:(0,r.__spreadArray)((0,r.__spreadArray)([],i,!0),[f],!1)})}}}})},{added:function(e){return e===f}}),y={test:function(e){var t="connection"===e.name.value;return!t||e.arguments&&e.arguments.some(function(e){return"key"===e.name.value})||!1===globalThis.__DEV__||i.invariant.warn(98),t}};function m(e){return h([y],(0,s.sw)(e))}function g(e,t){var n=function(t){return e.some(function(e){return t.value&&t.value.kind===a.b.VARIABLE&&t.value.name&&(e.name===t.value.name.value||e.test&&e.test(t))})};return d((0,o.YR)(t,{OperationDefinition:{enter:function(t){return(0,r.__assign)((0,r.__assign)({},t),{variableDefinitions:t.variableDefinitions?t.variableDefinitions.filter(function(t){return!e.some(function(e){return e.name===t.variable.name.value})}):[]})}},Field:{enter:function(t){if(e.some(function(e){return e.remove})){var r=0;if(t.arguments&&t.arguments.forEach(function(e){n(e)&&(r+=1)}),1===r)return null}}},Argument:{enter:function(e){if(n(e))return null}}}))}function _(e,t){function n(t){if(e.some(function(e){return e.name===t.name.value}))return null}return d((0,o.YR)(t,{FragmentSpread:{enter:n},FragmentDefinition:{enter:n}}))}function b(e){return"query"===(0,s.Vn)(e).operation?e:(0,o.YR)(e,{OperationDefinition:{enter:function(e){return(0,r.__assign)((0,r.__assign)({},e),{operation:"query"})}}})}function E(e){return(0,s.sw)(e),h([{test:function(e){return"client"===e.name.value},remove:!0}],e)}function w(e){return(0,s.sw)(e),(0,o.YR)(e,{FragmentSpread:function(e){var t;if(null==(t=e.directives)||!t.some(function(e){return"unmask"===e.name.value}))return(0,r.__assign)((0,r.__assign)({},e),{directives:(0,r.__spreadArray)((0,r.__spreadArray)([],e.directives||[],!0),[{kind:a.b.DIRECTIVE,name:{kind:a.b.NAME,value:"nonreactive"}}],!1)})}})}},45637(e,t,n){n.d(t,{E:()=>u});var r=n(85608),i=n(36054),a=n(87613),o=n(35892);function s(e){return e&&"function"==typeof e.then}var u=function(e){function t(t){var n=e.call(this,function(e){return n.addObserver(e),function(){return n.removeObserver(e)}})||this;return n.observers=new Set,n.promise=new Promise(function(e,t){n.resolve=e,n.reject=t}),n.handlers={next:function(e){null!==n.sub&&(n.latest=["next",e],n.notify("next",e),(0,a.w)(n.observers,"next",e))},error:function(e){var t=n.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),n.sub=null,n.latest=["error",e],n.reject(e),n.notify("error",e),(0,a.w)(n.observers,"error",e))},complete:function(){var e=n.sub,t=n.sources;if(null!==e){var r=(void 0===t?[]:t).shift();r?s(r)?r.then(function(e){return n.sub=e.subscribe(n.handlers)},n.handlers.error):n.sub=r.subscribe(n.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),n.notify("complete"),(0,a.w)(n.observers,"complete"))}}},n.nextResultListeners=new Set,n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.error(e)},n.promise.catch(function(e){}),"function"==typeof t&&(t=[new i.c(t)]),s(t)?t.then(function(e){return n.start(e)},n.handlers.error):n.start(t),n}return(0,r.__extends)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],n=e[t];n&&n.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var n=this.nextResultListeners;n.size&&(this.nextResultListeners=new Set,n.forEach(function(n){return n(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(n,r){t||(t=!0,e(n,r))})},t}(i.c);(0,o.r)(u)},5762(e,t,n){n.d(t,{x:()=>i});var r=n(36054);function i(e,t,n){return new r.c(function(r){var i={then:function(e){return new Promise(function(t){return t(e())})}};function a(e,t){return function(n){if(e){var a=function(){return r.closed?0:e(n)};i=i.then(a,a).then(function(e){return r.next(e)},function(e){return r.error(e)})}else r[t](n)}}var o={next:a(t,"next"),error:a(n,"error"),complete:function(){i.then(function(){return r.complete()})}},s=e.subscribe(o);return function(){return s.unsubscribe()}})}},87613(e,t,n){n.d(t,{w:()=>r});function r(e,t,n){var r=[];e.forEach(function(e){return e[t]&&r.push(e)}),r.forEach(function(e){return e[t](n)})}},35892(e,t,n){n.d(t,{r:()=>a});var r=n(36054),i=n(51360);function a(e){function t(t){Object.defineProperty(e,t,{value:r.c})}return i.ol&&Symbol.species&&t(Symbol.species),t("@@species"),e}},30234(e,t,n){n.d(t,{X:()=>r});function r(e){return e.catch(function(){}),e}},73972(e,t,n){n.d(t,{r:()=>r});var r="3.13.8"},31088(e,t,n){function r(){}n.d(t,{C:()=>i});class i{constructor(e=1/0,t=r){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let t=this.map.get(e);return!!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.map.delete(e),this.dispose(t.value,e),!0)}}},54019(e,t,n){function r(){}n.d(t,{l:()=>s});let i="u">typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},a="u">typeof WeakMap?WeakMap:Map,o="u">typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:r,unregister:r}};class s{constructor(e=1/0,t=r){this.max=e,this.dispose=t,this.map=new a,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let n=t.key;delete t.key,t.keyRef=new i(n),this.registry.register(n,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new o(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.scheduleFinalization(n),this.map.set(e,n),this.size++,n.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},55888(e,t,n){n.r(t),n.d(t,{default:()=>u,equal:()=>s});let{toString:r,hasOwnProperty:i}=Object.prototype,a=Function.prototype.toString,o=new Map;function s(e,t){try{return function e(t,n){if(t===n)return!0;let o=r.call(t);if(o!==r.call(n))return!1;switch(o){case"[object Array]":if(t.length!==n.length)break;case"[object Object]":{if(d(t,n))return!0;let r=c(t),a=c(n),o=r.length;if(o!==a.length)return!1;for(let e=0;e<o;++e)if(!i.call(n,r[e]))return!1;for(let i=0;i<o;++i){let a=r[i];if(!e(t[a],n[a]))return!1}return!0}case"[object Error]":return t.name===n.name&&t.message===n.message;case"[object Number]":if(t!=t)return n!=n;case"[object Boolean]":case"[object Date]":return+t==+n;case"[object RegExp]":case"[object String]":return t==`${n}`;case"[object Map]":case"[object Set]":{if(t.size!==n.size)return!1;if(d(t,n))return!0;let r=t.entries(),i="[object Map]"===o;for(;;){let t=r.next();if(t.done)break;let[a,o]=t.value;if(!n.has(a)||i&&!e(o,n.get(a)))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]":t=new Uint8Array(t),n=new Uint8Array(n);case"[object DataView]":{let e=t.byteLength;if(e===n.byteLength)for(;e--&&t[e]===n[e];);return -1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{var s,u;let e,r=a.call(t);if(r!==a.call(n))return!1;return s=r,u=f,!((e=s.length-u.length)>=0)||s.indexOf(u,e)!==e}}return!1}(e,t)}finally{o.clear()}}let u=s;function c(e){return Object.keys(e).filter(l,e)}function l(e){return void 0!==this[e]}let f="{ [native code] }";function d(e,t){let n=o.get(e);if(n){if(n.has(t))return!0}else o.set(e,n=new Set);return n.add(t),!1}},44592(e,t,n){n.r(t),n.d(t,{Trie:()=>s});let r=()=>Object.create(null),{forEach:i,slice:a}=Array.prototype,{hasOwnProperty:o}=Object.prototype;class s{constructor(e=!0,t=r){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return i.call(e,e=>t=t.getChildTrie(e)),o.call(t,"data")?t.data:t.data=this.makeData(a.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){let r=t.mapFor(e[n],!1);t=r&&r.get(e[n])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let n=e[0],r=this.mapFor(n,!1),i=r&&r.get(n);i&&(t=i.removeArray(a.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||r.delete(n))}else t=this.data,delete this.data;return t}getChildTrie(e){let t=this.mapFor(e,!0),n=t.get(e);return n||t.set(e,n=new s(this.weakness,this.makeData)),n}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}},3420(e,t,n){n.d(t,{MD:()=>i,TZ:()=>function e(t){return s(t)&&(t.kind===r.b.LIST?t.values.some(e):t.kind===r.b.OBJECT?t.fields.some(t=>e(t.value)):t.kind!==r.b.VARIABLE)},VK:()=>o,_m:()=>a,a6:()=>l,aR:()=>s,dI:()=>u,fT:()=>f,gj:()=>p,i7:()=>d,xu:()=>c});var r=n(42455);function i(e){return a(e)||c(e)||f(e)}function a(e){return e.kind===r.b.OPERATION_DEFINITION||e.kind===r.b.FRAGMENT_DEFINITION}function o(e){return e.kind===r.b.FIELD||e.kind===r.b.FRAGMENT_SPREAD||e.kind===r.b.INLINE_FRAGMENT}function s(e){return e.kind===r.b.VARIABLE||e.kind===r.b.INT||e.kind===r.b.FLOAT||e.kind===r.b.STRING||e.kind===r.b.BOOLEAN||e.kind===r.b.NULL||e.kind===r.b.ENUM||e.kind===r.b.LIST||e.kind===r.b.OBJECT}function u(e){return e.kind===r.b.NAMED_TYPE||e.kind===r.b.LIST_TYPE||e.kind===r.b.NON_NULL_TYPE}function c(e){return e.kind===r.b.SCHEMA_DEFINITION||l(e)||e.kind===r.b.DIRECTIVE_DEFINITION}function l(e){return e.kind===r.b.SCALAR_TYPE_DEFINITION||e.kind===r.b.OBJECT_TYPE_DEFINITION||e.kind===r.b.INTERFACE_TYPE_DEFINITION||e.kind===r.b.UNION_TYPE_DEFINITION||e.kind===r.b.ENUM_TYPE_DEFINITION||e.kind===r.b.INPUT_OBJECT_TYPE_DEFINITION}function f(e){return e.kind===r.b.SCHEMA_EXTENSION||d(e)}function d(e){return e.kind===r.b.SCALAR_TYPE_EXTENSION||e.kind===r.b.OBJECT_TYPE_EXTENSION||e.kind===r.b.INTERFACE_TYPE_EXTENSION||e.kind===r.b.UNION_TYPE_EXTENSION||e.kind===r.b.ENUM_TYPE_EXTENSION||e.kind===r.b.INPUT_OBJECT_TYPE_EXTENSION}function p(e){return e.kind===r.b.TYPE_COORDINATE||e.kind===r.b.MEMBER_COORDINATE||e.kind===r.b.ARGUMENT_COORDINATE||e.kind===r.b.DIRECTIVE_COORDINATE||e.kind===r.b.DIRECTIVE_ARGUMENT_COORDINATE}},95818(e,t,n){n.d(t,{y:()=>u});var r=n(67714);let i=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function a(e){return o[e.charCodeAt(0)]}let o=["\\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"];var s=n(90424);function u(e){return(0,s.YR)(e,c)}let c={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>l(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=h(e.variableDefinitions)?d("(\n",l(e.variableDefinitions,"\n"),"\n)"):d("(",l(e.variableDefinitions,", "),")"),n=d("",e.description,"\n")+l([e.operation,l([e.name,t]),l(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r,description:i})=>d("",i,"\n")+e+": "+t+d(" = ",n)+d(" ",l(r," "))},SelectionSet:{leave:({selections:e})=>f(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){let a=d("",e,": ")+t,o=a+d("(",l(n,", "),")");return o.length>80&&(o=a+d("(\n",p(l(n,"\n")),"\n)")),l([o,l(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+d(" ",l(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>l(["...",d("on ",e),l(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i,description:a})=>d("",a,"\n")+`fragment ${e}${d("(",l(n,", "),")")} `+`on ${t} ${d("",l(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,r.yo)(e):`"${e.replace(i,a)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+l(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+l(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+d("(",l(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>d("",e,"\n")+l(["schema",l(t," "),f(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>d("",e,"\n")+l(["scalar",t,l(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>d("",e,"\n")+l(["type",t,d("implements ",l(n," & ")),l(r," "),f(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>d("",e,"\n")+t+(h(n)?d("(\n",p(l(n,"\n")),"\n)"):d("(",l(n,", "),")"))+": "+r+d(" ",l(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>d("",e,"\n")+l([t+": "+n,d("= ",r),l(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>d("",e,"\n")+l(["interface",t,d("implements ",l(n," & ")),l(r," "),f(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>d("",e,"\n")+l(["union",t,l(n," "),d("= ",l(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>d("",e,"\n")+l(["enum",t,l(n," "),f(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>d("",e,"\n")+l([t,l(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>d("",e,"\n")+l(["input",t,l(n," "),f(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>d("",e,"\n")+"directive @"+t+(h(n)?d("(\n",p(l(n,"\n")),"\n)"):d("(",l(n,", "),")"))+(r?" repeatable":"")+" on "+l(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>l(["extend schema",l(e," "),f(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>l(["extend scalar",e,l(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>l(["extend type",e,d("implements ",l(t," & ")),l(n," "),f(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>l(["extend interface",e,d("implements ",l(t," & ")),l(n," "),f(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>l(["extend union",e,l(t," "),d("= ",l(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>l(["extend enum",e,l(t," "),f(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>l(["extend input",e,l(t," "),f(n)]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>l([e,d(".",t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:n})=>l([e,d(".",t),d("(",n,":)")])},DirectiveCoordinate:{leave:({name:e})=>l(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>l(["@",e,d("(",t,":)")])}};function l(e,t=""){var n;return null!=(n=null==e?void 0:e.filter(e=>e).join(t))?n:""}function f(e){return d("{\n",p(l(e,"\n")),"\n}")}function d(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function p(e){return d(" ",e.replace(/\n/g,"\n "))}function h(e){var t;return null!=(t=null==e?void 0:e.some(e=>e.includes("\n")))&&t}},90424(e,t,n){n.d(t,{UY:()=>f,XO:()=>l,YR:()=>u,oP:()=>c,sP:()=>s});var r=n(93217),i=n(35198),a=n(59762),o=n(42455);let s=Object.freeze({});function u(e,t,n=a.aD){let c,f,d,p=new Map;for(let e of Object.values(o.b))p.set(e,l(t,e));let h=Array.isArray(e),v=[e],y=-1,m=[],g=e,_=[],b=[];do{var E,w,O;let e,o=++y===v.length,u=o&&0!==m.length;if(o){if(f=0===b.length?void 0:_[_.length-1],g=d,d=b.pop(),u)if(h){g=g.slice();let e=0;for(let[t,n]of m){let r=t-e;null===n?(g.splice(r,1),e++):g[r]=n}}else for(let[e,t]of(g={...g},m))g[e]=t;y=c.index,v=c.keys,m=c.edits,h=c.inArray,c=c.prev}else if(d){if(null==(g=d[f=h?y:v[y]]))continue;_.push(f)}if(!Array.isArray(g)){(0,a.Ll)(g)||(0,r.U)(!1,`Invalid AST Node: ${(0,i.N)(g)}.`);let n=o?null==(E=p.get(g.kind))?void 0:E.leave:null==(w=p.get(g.kind))?void 0:w.enter;if((e=null==n?void 0:n.call(t,g,f,d,_,b))===s)break;if(!1===e){if(!o){_.pop();continue}}else if(void 0!==e&&(m.push([f,e]),!o))if((0,a.Ll)(e))g=e;else{_.pop();continue}}void 0===e&&u&&m.push([f,g]),o?_.pop():(c={inArray:h,index:y,keys:v,edits:m,prev:c},v=(h=Array.isArray(g))?g:null!=(O=n[g.kind])?O:[],y=-1,m=[],d&&b.push(d),d=g)}while(void 0!==c);return 0!==m.length?m[m.length-1][1]:e}function c(e){let t=Array(e.length).fill(null),n=Object.create(null);for(let r of Object.values(o.b)){let i=!1,a=Array(e.length).fill(void 0),o=Array(e.length).fill(void 0);for(let t=0;t<e.length;++t){let{enter:n,leave:s}=l(e[t],r);i||(i=null!=n||null!=s),a[t]=n,o[t]=s}if(!i)continue;let u={enter(...n){let r=n[0];for(let o=0;o<e.length;o++)if(null===t[o]){var i;let u=null==(i=a[o])?void 0:i.apply(e[o],n);if(!1===u)t[o]=r;else if(u===s)t[o]=s;else if(void 0!==u)return u}},leave(...n){let r=n[0];for(let a=0;a<e.length;a++)if(null===t[a]){var i;let r=null==(i=o[a])?void 0:i.apply(e[a],n);if(r===s)t[a]=s;else if(void 0!==r&&!1!==r)return r}else t[a]===r&&(t[a]=null)}};n[r]=u}return n}function l(e,t){let n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function f(e,t,n){let{enter:r,leave:i}=l(e,t);return n?i:r}},60837(e,t,n){let r;n.r(t),n.d(t,{dep:()=>V,asyncFromGen:()=>y,Slot:()=>d,wrap:()=>q,nonReactive:()=>g,defaultMakeCacheKey:()=>z,bindContext:()=>p,setTimeout:()=>v,KeyTrie:()=>i.Trie,noContext:()=>h});var i=n(44592),a=n(31088);let o=null,s={},u=1;function c(e){try{return e()}catch(e){}}let l="@wry/context:Slot",f=c(()=>globalThis)||c(()=>global)||Object.create(null),d=f[l]||Array[l]||function(e){try{Object.defineProperty(f,l,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",u++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=o;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===s)break;return e!==o&&(o.slots[this.id]=t),!0}return o&&(o.slots[this.id]=s),!1}getValue(){if(this.hasValue())return o.slots[this.id]}withValue(e,t,n,r){let i={__proto__:null,[this.id]:e},a=o;o={parent:a,slots:i};try{return t.apply(r,n)}finally{o=a}}static bind(e){let t=o;return function(){let n=o;try{return o=t,e.apply(this,arguments)}finally{o=n}}}static noContext(e,t,n){if(!o)return e.apply(n,t);{let r=o;try{return o=null,e.apply(n,t)}finally{o=r}}}}),{bind:p,noContext:h}=d;function v(e,t){return setTimeout(p(e),t)}function y(e){return function(){let t=e.apply(this,arguments),n=p(t.next),r=p(t.throw);return new Promise((e,i)=>{function a(n,r){try{var a,u=n.call(t,r)}catch(e){return i(e)}let c=u.done?e:o;(a=u.value)&&"function"==typeof a.then?u.value.then(c,u.done?i:s):c(u.value)}let o=e=>a(n,e),s=e=>a(r,e);o()})}}let m=new d;function g(e){return m.withValue(void 0,e)}let{hasOwnProperty:_}=Object.prototype,b=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function E(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let w=[];function O(e,t){if(!e)throw Error(t||"assertion failure")}function S(e,t){let n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function k(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class T{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++T.count}peek(){if(1===this.value.length&&!j(this))return x(this),this.value[0]}recompute(e){var t,n,r;return O(!this.recomputing,"already recomputing"),x(this),j(this)?(t=this,n=e,F(t),m.withValue(t,A,[t,n]),function(e,t){if("function"==typeof e.subscribe)try{E(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(t,n)&&((r=t).dirty=!1,j(r)||function(e){I(e,N)}(r)),k(t.value)):k(this.value)}setDirty(){var e;this.dirty||(this.dirty=!0,e=this,I(e,D),E(this))}dispose(){this.setDirty(),F(this),I(this,(e,t)=>{e.setDirty(),C(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=w.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(b(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),w.push(this.deps),this.deps=null)}}function x(e){let t=m.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),j(e)?D(t,e):N(t,e),t}function A(e,t){let n;e.recomputing=!0;let{normalizeResult:r}=e;r&&1===e.value.length&&(n=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),r&&n&&!S(n,e.value))try{e.value[0]=r(e.value[0],n[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function j(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}T.count=0;function I(e,t){let n=e.parents.size;if(n){let r=b(e.parents);for(let i=0;i<n;++i)t(r[i],e)}}function D(e,t){O(e.childValues.has(t)),O(j(t));let n=!j(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=w.pop()||new Set;e.dirtyChildren.add(t),n&&I(e,D)}function N(e,t){O(e.childValues.has(t)),O(!j(t));let n=e.childValues.get(t);0===n.length?e.childValues.set(t,t.value.slice(0)):S(n,t.value)||e.setDirty(),R(e,t),j(e)||I(e,N)}function R(e,t){let n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(w.length<100&&w.push(n),e.dirtyChildren=null))}function F(e){e.childValues.size>0&&e.childValues.forEach((t,n)=>{C(e,n)}),e.forgetDeps(),O(null===e.dirtyChildren)}function C(e,t){t.parents.delete(e),e.childValues.delete(t),R(e,t)}let M={setDirty:!0,dispose:!0,forget:!0};function V(e){let t=new Map,n=e&&e.subscribe;function r(e){let r=m.getValue();if(r){let i=t.get(e);i||t.set(e,i=new Set),r.dependOn(i),"function"==typeof n&&(E(i),i.unsubscribe=n(e))}}return r.dirty=function(e,n){let r=t.get(e);if(r){let i=n&&_.call(M,n)?n:"setDirty";b(r).forEach(e=>e[i]()),t.delete(e),E(r)}},r}function z(...e){return(r||(r=new i.Trie("function"==typeof WeakMap))).lookupArray(e)}let P=new Set;function q(e,{max:t=65536,keyArgs:n,makeCacheKey:r=z,normalizeResult:i,subscribe:o,cache:s=a.C}=Object.create(null)){let u="function"==typeof s?new s(t,e=>e.dispose()):s,c=function(){let t=r.apply(null,n?n.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let a=u.get(t);a||(u.set(t,a=new T(e)),a.normalizeResult=i,a.subscribe=o,a.forget=()=>u.delete(t));let s=a.recompute(Array.prototype.slice.call(arguments));return u.set(t,a),P.add(u),m.hasValue()||(P.forEach(e=>e.clean()),P.clear()),s};function l(e){let t=e&&u.get(e);t&&t.setDirty()}function f(e){let t=e&&u.get(e);if(t)return t.peek()}function d(e){return!!e&&u.delete(e)}return Object.defineProperty(c,"size",{get:()=>u.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:t,keyArgs:n,makeCacheKey:r,normalizeResult:i,subscribe:o,cache:u}),c.dirtyKey=l,c.dirty=function(){l(r.apply(null,arguments))},c.peekKey=f,c.peek=function(){return f(r.apply(null,arguments))},c.forgetKey=d,c.forget=function(){return d(r.apply(null,arguments))},c.makeCacheKey=r,c.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(c)}},19371(e,t,n){n.r(t),n.d(t,{InvariantError:()=>u,default:()=>h,invariant:()=>c,setVerbosity:()=>p});var r,i=n(85608),a="Invariant Violation",o=Object.setPrototypeOf,s=void 0===o?function(e,t){return e.__proto__=t,e}:o,u=function(e){function t(n){void 0===n&&(n=a);var r=e.call(this,"number"==typeof n?a+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=a,s(r,t.prototype),r}return(0,i.__extends)(t,e),t}(Error);function c(e,t){if(!e)throw new u(t)}var l=["debug","log","warn","error","silent"],f=l.indexOf("log");function d(e){return function(){if(l.indexOf(e)>=f)return(console[e]||console.log).apply(console,arguments)}}function p(e){var t=l[f];return f=Math.max(0,l.indexOf(e)),t}(r=c||(c={})).debug=d("debug"),r.log=d("log"),r.warn=d("warn"),r.error=d("error");let h=c},36054(e,t,n){function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{c:()=>w});var o=function(){return"function"==typeof Symbol},s=function(e){return o()&&!!Symbol[e]},u=function(e){return s(e)?Symbol[e]:"@@"+e};o()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var c=u("iterator"),l=u("observable"),f=u("species");function d(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw TypeError(n+" is not a function");return n}}function p(e){var t=e.constructor;return void 0!==t&&null===(t=t[f])&&(t=void 0),void 0!==t?t:w}function h(e){h.log?h.log(e):setTimeout(function(){throw e})}function v(e){Promise.resolve().then(function(){try{e()}catch(e){h(e)}})}function y(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var n=d(t,"unsubscribe");n&&n.call(t)}}catch(e){h(e)}}function m(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function g(e,t,n){e._state="running";var r=e._observer;try{var i=d(r,t);switch(t){case"next":i&&i.call(r,n);break;case"error":if(m(e),i)i.call(r,n);else throw n;break;case"complete":m(e),i&&i.call(r)}}catch(e){h(e)}"closed"===e._state?y(e):"running"===e._state&&(e._state="ready")}function _(e,t,n){if("closed"!==e._state){if("buffering"===e._state)return void e._queue.push({type:t,value:n});if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:n}],v(function(){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(g(e,t[n].type,t[n].value),"closed"!==e._state);++n);}});return}g(e,t,n)}}var b=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new E(this);try{this._cleanup=t.call(void 0,n)}catch(e){n.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(m(this),y(this))},a(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),E=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){_(this._subscription,"next",e)},t.error=function(e){_(this._subscription,"error",e)},t.complete=function(){_(this._subscription,"complete")},a(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),w=function(){function e(t){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new b(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(n,r){if("function"!=typeof e)return void r(TypeError(e+" is not a function"));function i(){a.unsubscribe(),n()}var a=t.subscribe({next:function(t){try{e(t,i)}catch(e){r(e),a.unsubscribe()}},error:r,complete:n})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(p(this))(function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(p(this))(function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var n=p(this),r=arguments.length>1,i=!1,a=arguments[1],o=a;return new n(function(n){return t.subscribe({next:function(t){var a=!i;if(i=!0,!a||r)try{o=e(o,t)}catch(e){return n.error(e)}else o=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(TypeError("Cannot reduce an empty sequence"));n.next(o),n.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=p(this);return new i(function(t){var r,a=0;return!function e(o){r=o.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){a===n.length?(r=void 0,t.complete()):e(i.from(n[a++]))}})}(e),function(){r&&(r.unsubscribe(),r=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var n=p(this);return new n(function(r){var i=[],a=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return r.error(e)}var a=n.from(t).subscribe({next:function(e){r.next(e)},error:function(e){r.error(e)},complete:function(){var e=i.indexOf(a);e>=0&&i.splice(e,1),o()}});i.push(a)},error:function(e){r.error(e)},complete:function(){o()}});function o(){a.closed&&0===i.length&&r.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),a.unsubscribe()}})},t[l]=function(){return this},e.from=function(t){var n="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var i=d(t,l);if(i){var a=i.call(t);if(Object(a)!==a)throw TypeError(a+" is not an object");return a instanceof w&&a.constructor===n?a:new n(function(e){return a.subscribe(e)})}if(s("iterator")&&(i=d(t,c)))return new n(function(e){v(function(){if(!e.closed){for(var n,a=function(e){var t="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e){if(e){if("string"==typeof e)return r(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return r(e,void 0)}}(e))){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.call(t));!(n=a()).done;){var o=n.value;if(e.next(o),e.closed)return}e.complete()}})});if(Array.isArray(t))return new n(function(e){v(function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return new("function"==typeof this?this:e)(function(e){v(function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}})})},a(e,null,[{key:f,get:function(){return this}}]),e}();o()&&Object.defineProperty(w,Symbol("extensions"),{value:{symbol:l,hostReportError:h},configurable:!0})}};