PageSourceSearch

https://playslotsforrealmoney.com/_nuxt/CwkRwFWu.js

js playslotsforrealmoney.com collected 2026-10-06 13:16:38 UTC 190,890 bytes, 69 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./HowTo.x1XGuNl0.css","./SmartLink.DudknWF4.css","./DynamicIcon.DWxJLYHa.css","./Brand.CC-Xt7uo.css","./StructurizerColumns.CdaKf2Br.css","./Portal.BPEDMdwM.css","./List.DCa4Zccx.css","./MainBanner.MRKoLSu2.css","./Picture.CiYOKYpY.css","./Jackpots.D80pQGGL.css","./PromoCategories.CwqjvoZA.css","./Rating.CpfuP7KO.css","./Taxonomy.C8-8VrNu.css","./Item.CoIVs6BK.css","./DetailsPanel.Dbm3FZmr.css","./Items.BRVEim4Q.css","./Card.hrcQmeX1.css","./Table.CBunmC9R.css","./UziQuery.C3WbqRrY.css","./Passport.pRnmPv2V.css","./Region.DeGzn1h5.css","./default.BS9CR83Z.css","./full-width.Dcd_4Vyh.css","./left-menu.pDmh82kM.css","./error-404.DjFB7pgG.css","./error-500.BG9pmads.css"])))=>i.map(i=>d[i]);
2import{t as xi}from"./BQ-_32WO.js";import{a as Be,c as En,d as ya,g as va,h as ga,i as Pe,m as ba,n as wa,o as _a,p as ka,r as _e,t as Sa}from"./3yVUN-v7.js";import{$ as Ea,B as Qt,C as Bt,Dt as Oa,Et as ft,F as se,G as Ie,K as Te,L as $t,M as Di,N as Ii,Ot as ee,P as I,R as jr,T as tn,X as Ca,Z as Ta,_ as F,a as Ai,at as Ft,b as Ut,c as M,d as ge,et as qr,f as G,g as te,h as xt,it as dr,j as Ra,l as K,lt as _,nt as J,r as Ve,rt as Pa,tt as Ct,u as H,v as bt,w as Dt,wt as nr,x as $e,z as Fa}from"./C89sYm7w.js";import{i as xa,n as Da,o as Vr,r as Ia,t as Aa}from"./C93sbNpY.js";import{_ as Ma,c as Na,d as La,h as ja,i as qa,r as Va,s as Wa,u as za}from"./D_t1ZTOJ.js";import{a as Qa,b as Ht,c as Ba,f as rn,g as On,h as ir,i as $a,l as Ua,m as Ue,o as Ha,s as Ka,t as Ga,u as Ja,v as Cn,y as Ya}from"./T_KAveaC.js";import{c as Xa,i as Za,l as P,n as eo,o as to,r as Re,s as ro,t as no}from"./B1NkGjfw.js";import{a as io,c as Tn,d as so,i as ao,l as oo,n as lo,o as co,r as uo,s as fo,t as ho,u as Mi}from"./VxO1CeaH.js";import{n as po,t as mo}from"./CONmkIx0.js";import{a as yo,i as Rn,o as vo,r as go,s as bo,t as nn}from"./BN9Ca40y.js";import{_ as wo,a as _o,c as oe,d as Fe,f as Kt,g as it,h as A,i as ko,l as Ni,m as So,n as Li,o as pr,p as Eo,r as It,s as Oo,u as xe,v as Pn,y as Co}from"./BhiMqKcJ.js";import{i as To,r as Ro}from"./CqTykjJu.js";import{t as ji}from"./md4qxx4U.js";import{i as Po,t as Fo}from"./CGp8Lqbk.js";import{t as sn}from"./K9rsuiWd.js";import{n as xo}from"./B7ZUQniG.js";import{t as Do}from"./B2g0tsGi.js";import{n as Io,t as Ao}from"./BQwuBldf.js";"global"in globalThis||(globalThis.global=globalThis);function Mo(e,t){t.push(_a),e.vueApp.use(t);let r=!0;const n=()=>{r=!1,t.render()};t.hooks?.hook("dom:beforeRender",s=>{s.shouldRender=!r}),e.hooks.hook("page:start",()=>{r=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||n()}),e.hooks.hook("app:error",n),e.hooks.hook("app:suspense:resolve",n);const i=t.push.bind(t);t.push=((s,a)=>{const o=i(s,a),l=o.dispose.bind(o);return o.dispose=()=>{const c=e["~transitionPromise"];c?c.finally(l):l()},o})}function qi(e,t){if(typeof t=="function"&&t.key&&e.plugins.has(t.key))return;const r=typeof t=="function"?t(e):t,n=r.key||String(e.plugins.size+1);if(!e.plugins.get(n)){e.plugins.set(n,r);for(const i in r.hooks||{})e.hooks?.hook(i,r.hooks[i])}}function No(e,t={}){const r=!t.document,n=new Map,i={_entryCount:1,_h:0,plugins:new Map,resolvedOptions:t,ssr:r,entries:n,hooks:void 0,render:()=>e(i),use:s=>qi(i,s),push(s,a){const o=a?._index??i._entryCount++,l=a?{...a}:{};delete l.head,delete l.onRendered,delete l._index;const c={_i:o,input:s,options:l};return n.set(o,c),{_i:o,dispose(){n.delete(o)},patch(f){r?(c.input=f,delete c._tags):c._pending=f,n.has(o)||n.set(o,c)}}}};return t.init?.forEach(s=>s&&i.push(s)),i}function Lo(e,t,r){const n=e.push,i=e;return i.ssr=!1,i.hooks=t,i.dirty=!!i.dirty,i.use=s=>qi(i,s),i.render=()=>r(i),i.invalidate=()=>{for(const s of i.entries.values())delete s._tags;i.dirty=!0,t.callHook("entries:updated",i)},i.push=(s,a)=>{const o=a?.onRendered?t.hook("dom:rendered",a.onRendered):void 0,l=n(s,a),c=e.entries.get(l._i);return c&&(c._o=s),i.dirty=!0,t.callHook("entries:updated",i),{_i:l._i,patch(f){l.patch(f),i.dirty=!0,t.callHook("entries:updated",i)},dispose(){o?.(),e.entries.has(l._i)&&(l.dispose(),i.invalidate())}}},t.hook("entries:updated",()=>{i.render()}),i}var jo=/\s+/;function Vi(e={}){return t=>Wi(t,e)}function Fn(e){for(const t of e.entries.values())if(t._pending!==void 0)return!0;return!1}function qo(e){for(const t in e._s)e._s[t]();for(const t in e._p)e._p[t]();e._s={},e._p={},e._e.clear(),e._l.clear()}function Vo(e,t){const r={_d:t,_t:t.title,_e:new Map([["htmlAttrs",t.documentElement],["bodyAttrs",t.body]]),_p:{},_s:{},_l:new Map};for(const n of[...t.body.children,...t.head.children]){const i=n.tagName.toLowerCase();if(!Mi.has(i))continue;const s={innerHTML:n.innerHTML};for(const f of n.getAttributeNames())s[f]=n.getAttribute(f);const a=co({tag:i,props:{}},s);a.key=n.getAttribute("data-hid")||void 0;const o=uo(a)||ao(a);let l=o,c=1;for(;r._e.has(l);
2)l=`${o}:${c++}`;r._e.set(l,n)}for(const n of e.entries.values())if(n._o!==void 0){const i=n._o;for(const s of["bodyAttrs","htmlAttrs"]){const a=i[s]?.class;if(typeof a=="string"){const o=r._e.get(s);for(const l of a.split(jo))l&&(r._p[`${s}:attr:class:${l}`]=()=>o.classList.remove(l))}}}return r}function Wi(e,t={}){const r=t.document||e.resolvedOptions.document,n=e._dom,i=!!n&&n._d!==r;if(!r||!i&&!e.dirty&&!Fn(e)||e._du)return!1;const s=r.defaultView;e._du=!0;let a=!1;try{let o=function(g,b,S,O){const E=`${g}:${b}`;h._s[E]=!O&&h._p[E]||S,delete h._p[E]},l=function(g){const b=h._p[g];return delete h._p[g],b},c=function(g,b,S,O,E,D){const V=`event:${b}`,C=`${g}:${V}`,W=h._l.get(C);if(W&&W[0]===D&&W[1]===S&&W[2]===O){o(g,V,W[4]);return}W?.[4]();const z=`data-${b}`,$=(et=>O.call(E,et)),Z=()=>{D.removeEventListener(S,$),E.getAttribute(z)===""&&E.removeAttribute(z),h._l.get(C)?.[3]===$&&h._l.delete(C)};D.addEventListener(S,$),h._l.set(C,[D,S,O,$,Z]),E.setAttribute(z,""),o(g,V,Z,!0)},f=function({id:g,$el:b,tag:S}){const O=S.tag.endsWith("Attrs");if(h._e.set(g,b),!O){const E=S.textContent;E!=null&&E!==""&&(E!==b.textContent&&(b.textContent=E),o(g,"text",()=>{b.textContent===E&&(b.textContent="")},!0));const D=S.innerHTML;D!=null&&D!==""&&(D!==b.innerHTML&&(b.innerHTML=D),o(g,"html",()=>{b.innerHTML===D&&(b.innerHTML="")},!0));const V=`${g}:el`;h._s[V]=l(V)||(()=>{b?.remove(),h._e.delete(g)})}for(const E in S.props){const D=S.props[E];if(E[0]==="o"&&E[1]==="n"&&typeof D=="function"){const C=E.slice(2);b?.dataset?.[`${E}fired`]&&D.call(b,new(s?.Event||Event)(C)),c(g,E,C,D,b,S.tag==="bodyAttrs"&&s?s:b);continue}const V=`${g}:attr:${E}`;if(E==="class"&&D)for(const C of D){const W=`${V}:${C}`;h._s[W]=l(W)||(()=>b.classList.remove(C)),b.classList.contains(C)||b.classList.add(C)}else if(E==="style"&&D)for(const[C,W]of D){const z=`${V}:${C}`;h._s[z]=l(z)||(()=>b.style.removeProperty(C)),b.style.setProperty(C,W)}else D!==!1&&D!==null&&(b.getAttribute(E)!==D&&b.setAttribute(E,D===!0?"":String(D)),h._s[V]=l(V)||(()=>b.removeAttribute(E)))}};const d={shouldRender:!0,tags:[]};if(Tn(e,"dom:beforeRender",d),!d.shouldRender)return!1;let u=e._dom;u?._d!==r&&(u&&qo(u),u=void 0),u?u._p=u._s:u=Vo(e,r),u._s={};const h=u,p=[],y={};e.dirty=!1;const m=fo(e,t.tagWeight?{tagWeight:t.tagWeight}:void 0),v=[],w={};for(const g of m){const b=w[g._d]||0,S=(b?`${g._d}:${b}`:g._d)||g._h,O={tag:g,id:S,shouldRender:!0};if(g.tag==="meta"&&g._d&&io(g._d)&&(w[g._d]=b+1),v.push(O),g.tag==="title"){r.title=g.textContent,o("title","",()=>r.title=h._t);continue}O.$el=h._e.get(S),O.$el?f(O):Mi.has(g.tag)&&p.push(O)}for(const g of p)g.$el=r.createElement(g.tag.tag),f(g),(y[g.tag.tagPosition||"head"]??=r.createDocumentFragment()).appendChild(g.$el);y.head&&r.head.appendChild(y.head),y.bodyOpen&&r.body.insertBefore(y.bodyOpen,r.body.firstChild),y.bodyClose&&r.body.appendChild(y.bodyClose);for(const g in h._p)h._p[g]();e._dom=h,a=!0,Tn(e,"dom:rendered",{renders:v})}catch(o){throw e.dirty=!0,o}finally{e._du=!1}return a&&(e.dirty||Fn(e))&&Wi(e,t),a}var Wo=e=>typeof e.tagPriority=="number"?e.tagPriority:100+(so[e.tagPriority]||0);function zo(e={}){e.document=e.document||(typeof window<"u"?document:void 0);const t=e.render||Vi({document:e.document}),r=No(t,{document:e.document,propResolvers:e.propResolvers,_tagWeight:Wo,init:[]}),n=oo(e.hooks),i=Lo(r,n,t);return e.plugins?.forEach(s=>i.use(s)),e.init?.forEach(s=>s&&i.push(s)),i}function sr(e,t){return t&&typeof e=="function"&&(e.key=t),e}var Qo=/\\/g,Bo=/</g,$o=/"/g,xn=/%\w+(?:\.\w+)?/g,mr="%separator";function Uo(e,t,r=!1){let n;if(t==="s"||t==="pageTitle")n=e.pageTitle;else if(t.includes(".")){const i=t.indexOf(".");n=e[t.substring(0,i)]?.[t.substring(i+1)]}else n=e[t];if(n!==void 0)return r?(n||"").replace(Qo,"\\\\").replace(Bo,"\\u003C").replace($o,'\\"'):n||""}function Tt(e,t,r,n=!1){if(typeof e!="string"||!e.includes("%"))return e;let i=e;try{i=decodeURI(e)}catch{}const s=i.match(xn);if(!s)return e;const a=e.includes(mr);return e=e.replace(xn,o=>{if(o===mr||!s.includes(o))return o;const l=Uo(t,o.slice(1),n);return l!==void 0?l:o}).trim(),a&&(e=e.split(mr).map(o=>o.trim()).filter(o=>o!=="").join(r?` ${r} `:" ")),e}var Ho=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Dn=e=>e.includes(":key")?e:e.split(":").join(":key:"),Ko=sr({key:"aliasSorting",hooks:{"tags:resolve":e=>{let t=!1;for(const r of e.tags){const n=r.tagPriority;if(!n)continue;const i=String(n);if(i.startsWith("before:")){const s=Dn(i.slice(7)),a=e.tagMap.get(s);a&&(typeof a.tagPriority=="number"&&(r.tagPriority=a.tagPriority),r._p=a._p-1,t=!0)}else if(i.startsWith("after:")){const s=Dn(i.slice(6)),a=e.tagMap.get(s);a&&(typeof a.tagPriority=="number"&&(r.tagPriority=a.tagPriority),r._p=a._p+1,t=!0)}}t&&(e.tags=e.tags.sort(Ho))}}}),Go=sr({key:"deprecations",hooks:{"entries:normalize":({tags:e})=>{for(const t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),"body"in t.props&&(t.props.body&&(t.tagPosition="bodyClose"),delete t.props.body),t.props.renderPri
2ority!=null&&(t.tagPriority=t.props.renderPriority,delete t.props.renderPriority)}}});function At(e){return typeof e?.then=="function"}function Mt(e){if(typeof e=="function")return e;if(At(e))return Promise.resolve(e).then(Mt);if(Array.isArray(e)){const t=e.map(Mt);return t.some(At)?Promise.all(t):e}if(e?.constructor===Object){const t=Object.keys(e),r=t.map(n=>Mt(e[n]));if(r.some(At))return Promise.all(r).then(n=>Object.fromEntries(t.map((i,s)=>[i,n[s]])))}return e}var Jo=sr(e=>{const t=new WeakMap;return{key:"promises",hooks:{"entries:resolve":r=>{for(let n=r.entries.length-1;n>=0;n--){const i=r.entries[n],s=i.input;if(t.get(i)===s){r.entries.splice(n,1);continue}const a=Mt(s);if(!At(a)){t.delete(i);continue}t.set(i,s),r.entries.splice(n,1),Promise.resolve(a).then(o=>{t.get(i)===s&&(t.delete(i),i.input=o,delete i._tags,e.invalidate?.())},()=>{t.get(i)===s&&t.delete(i)})}}}}},"promises"),Yo={meta:"content",link:"href",htmlAttrs:"lang"},Xo=["innerHTML","textContent"],Zo=sr(e=>({key:"template-params",hooks:{"tags:resolve":({tagMap:t,tags:r})=>{const n=t.get("templateParams")?.props||{},i=n.separator||"|";delete n.separator,n.pageTitle=Tt(n.pageTitle||e._title||"",n,i);for(const s of r){if(s.processTemplateParams===!1)continue;const a=Yo[s.tag];if(a&&typeof s.props[a]=="string")s.props[a]=Tt(s.props[a],n,i);else if(s.processTemplateParams||s.tag==="titleTemplate"||s.tag==="title")for(const o of Xo)typeof s[o]=="string"&&(s[o]=Tt(s[o],n,i,s.tag==="script"&&typeof s.props.type=="string"&&s.props.type.endsWith("json")))}e._templateParams=n,e._separator=i},"tags:afterResolve":({tagMap:t})=>{const r=t.get("title");r?.textContent&&r.processTemplateParams!==!1&&(r.textContent=Tt(r.textContent,e._templateParams,e._separator))}}}),"template-params");function el(e={}){const t=Vi();let r,n=0;return r=zo({render:()=>{const s=++n;setTimeout(()=>{s===n&&t(r)},0)},...e}),r.install=lo(r),r}var tl=[Go,Jo,Zo,Ko],rl={disableDefaults:!0,plugins:tl},nl=_e({name:"nuxt:head",enforce:"pre",setup(e){Mo(e,el(rl))}}),il=va({docsBase:ba,reporters:ga}),zi=(()=>{const e={payload:!0,prerender:!1,payload:!0},t={prerender:!1,payload:!0},r={payload:!0};return(n,i)=>{let s=[];
2i.charCodeAt(i.length-1)===47&&(i=i.slice(0,-1)),i===""?s.push({data:e}):i==="/404.html"?s.push({data:e}):i==="/download.stats"?s.push({data:t}):i==="/manifest.webmanifest"?s.push({data:r}):i.charCodeAt(i.length-1)===47&&(i==="/"?s.push({data:e}):i==="/404.html/"?s.push({data:e}):i==="/download.stats/"?s.push({data:t}):i==="/manifest.webmanifest/"&&s.push({data:r}));let a=i.split("/");return a.length>1&&a[a.length-1]===""&&(a.pop(),i=i.slice(0,-1)),a.length,s.push({data:e,params:{_:i.slice(1)}}),s.reverse()}})(),sl=zi,Qi=e=>po.sensitive?On({},...zi("",e).map(t=>t.data).reverse()):On({},...sl("",typeof e=="string"?e.toLowerCase():e).map(t=>t.data).reverse()),al=Qi;function Bi(e){const t=typeof e=="string"?e:e.path;try{return al(t)}catch(r){return il.NUXT_E5003({path:t,cause:r}),{}}}var ol=Ja(e=>{const t=Bi({path:e.path});if(t.redirect){const r=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return Va(r,{acceptRelative:!0})?(window.location.href=r,!1):r}}),ll=[ol];function yr(e){const t=e&&typeof e=="object"?e:{};typeof e=="object"&&(e=za({pathname:e.path||"",search:La(e.query||{}),hash:e.hash||""}));const r=new URL(e.toString(),window.location.href);return{path:r.pathname,fullPath:e,query:Na(r.search),hash:r.hash,params:t.params||{},name:void 0,matched:t.matched||[],redirectedFrom:void 0,meta:t.meta||{},href:e}}var cl=_e({name:"nuxt:router",enforce:"pre",setup(e){const t=ja(window.location.pathname,Be().app.baseURL)+window.location.search+window.location.hash,r=[],n={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},i=(u,h)=>(n[u].push(h),()=>{const p=n[u].indexOf(h);p!==-1&&n[u].splice(p,1)}),s=Be().app.baseURL,a=qr(yr(t));let o=0;async function l(u,h){const p=++o;try{const y=yr(u);for(const m of n["navigate:before"]){const v=await m(y,a);if(p!==o||v===!1||v instanceof Error)return;if(typeof v=="string"&&v.length)return await l(v,!0)}for(const m of n["resolve:before"])if(await m(y,a),p!==o)return;Object.assign(a,y),window.history[h?"replaceState":"pushState"]({},"",Wa(s,y.fullPath)),e.isHydrating||await e.runWithContext(Qa);for(const m of n["navigate:after"])await m(y,a)}catch(y){for(const m of n.error)await m(y)}}const c={currentRoute:M(()=>a),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:u=>l(u,!1),replace:u=>l(u,!0),back:()=>window.history.go(-1),go:u=>window.history.go(u),forward:()=>window.history.go(1),beforeResolve:u=>i("resolve:before",u),beforeEach:u=>i("navigate:before",u),afterEach:u=>i("navigate:after",u),onError:u=>i("error",u),resolve:yr,addRoute:(u,h)=>{r.push(h)},getRoutes:()=>r,hasRoute:u=>r.some(h=>h.name===u),removeRoute:u=>{const h=r.findIndex(p=>p.name===u);h!==-1&&r.splice(h,1)}};e.vueApp.component("RouterLink",bt({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(u,{slots:h})=>{const p=()=>l(u.to,u.replace);return()=>{const y=c.resolve(u.to);return u.custom?h.default?.({href:u.to,navigate:p,route:y}):$e("a",{href:u.to,onClick:m=>(m.preventDefault(),p())},h)}}})),window.addEventListener("popstate",u=>{const h=u.target.location;c.replace(h.href.replace(h.origin,""))}),e._route=a,e._middleware||={global:[],named:{}};const f=e.payload.state._layout,d=e.payload.state._layoutProps;return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(u,h)=>{u.meta=qr(u.meta||{}),e.isHydrating&&f&&!Ta(u.meta.layout)&&(u.meta.layout=f,u.meta.layoutProps=d),e._processingMiddleware=!0;{const p=new Set([...ll,...e._middleware.global]),y=Bi({path:u.path});if(y.appMiddleware)for(const m in y.appMiddleware){const v=e._middleware.named[m];v&&(y.appMiddleware[m]?p.add(v):p.delete(v))}for(const m of p){const v=await e.runWithContext(()=>m(u,h));if(v!==!0&&(v||v===!1))return v}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),qa(a.fullPath,t)||await e.runWithContext(()=>rn(a.fullPath))}),{provide:{route:a,router:c}}}}),ul=_e(()=>{const e=ir();Ga(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),fl=F(()=>P(()=>import("./CnMkeeB92.js").then(e=>e.default||e.default||e),__vite__mapDeps([0]),import.meta.url)),hl=F(()=>P(()=>import("./C85TBSWY2.js").then(e=>e.default||e.default||e),__vite__mapDeps([1,2,3]),import.meta.url)),dl=F(()=>P(()=>import("./CfMvhmb62.js").then(e=>e.default||e.default||e),__vite__mapDeps([1,4,5]),import.meta.url)),pl=F(()=>P(()=>import("./DNb8vUpn2.js").then(e=>e.default||e.default||e),[],import.meta.url)),ml=F(()=>P(()=>import("./C_Pcluxi2.js").then(e=>e.default||e.default||e),__vite__mapDeps([0]),import.meta.url)),yl=F(()=>P(()=>import("./CBG2Tjwb2.js").then(e=>e.default||e.default||e),__vite__mapDeps([1,6]),import.meta.url)),vl=F(()=>P(()=>import("./Cgl90dY_2.js").then(e=>e.default||e.default||e),__vite__mapDeps([1,7]),import.meta.url)),gl=F(()=>P(()=>import("./Bh3txQ7g2.js").then(e=>e.default||e.default||e),__vite__mapDeps([8]),import.meta.url)),bl=F(()=>P(()=>import("./j8m6Izbm2.js").then(e=>e.default||e.default||e),__vite__mapDeps([1,8]),import.meta.url)),wl=F(()=>P(()=>import("./DzHhCHjO2.js").then(e=>e.default||e.default||e),__vite__mapDeps([1,9]),import.meta.url)),_l=F(()=>P(()=>import("./D-3as3tJ2.js").then(e=>e.default||e.default||e),__vite__mapDeps([1,7]),import.meta.url)),kl=F(()=>P(()=>import("./B0oyADj72.js").then(e=>e.default||e.default||e),__vite__mapDeps([1,2,10]),import.meta.url)),Sl=F(()=>P(()=>import("./jDZVy3gi.js").then(e=>e.n).then(e=>e.default||e.default||e),__vite__mapDeps([11]),import.meta.url)),El=F(()=>P(()=>Promise.resolve().then(()=>Ch).then(e=>e.default||e.default||e),void 0,import.meta.url)),Ol=F(()=>P(()=>import("./B7ZUQniG.js").then(e=>e.t).then(e=>e.default||e.default||e),__vite__mapDeps([1]),import.meta.url)),Cl=F(()=>P(()=>import("./C9VeKAVH2.js").then(e=>e.default||e.default||e),__vite__mapDeps([1,4]),import.meta.url)),Tl=F(()=>P(()=>import("./QAvT9QJQ2.js").then(e=>e.n).then(e=>e.default||e.default||e),__vite__mapDeps([1,12]),import.meta.url)),Rl=F(()=>P(()=>import("./CFj2dU4N2.js").then(e=>e.default||e.default||e),[],import.meta.url)),Pl=F(()=>P(()=>import("./6ZbfhYue.js").then(e=>e.default||e.default||e),__vite__mapDeps([1,6,9,13,11,12,14,15,16,17,18]),import.meta.url)),Fl=F(()=>P(()=>import("./B75-Mseo2.js").then(e=>e.default||e.default||e),__vite__mapDeps([1,11,12,16]),import.meta.url)),xl=F(()=>P(()=>import("./BL6Uzggc2.js").then(e=>e.default||e.default||e),[],import.meta.url)),Dl=F(()=>P(()=>import("./C9aBtCws2.js").then(e=>e.default||e.default||e),__vite__mapDeps([13,11,1,12,14,15]),import.meta.url)),Il=F(()=>P(()=>import("./X1scBJmB2.js").then(e=>e.n).then(e=>e.default||e.default||e),__vite__mapDeps([11,1,12,14]),import.meta.url)),Al=F(()=>P(()=>import("./iX6r1FaY2.js").then(e=>e.n).then(e=>e.default||e.default||e),__vite__mapDeps([13]),import.meta.url)),Ml=F(()=>P(()=>import("./DptexEJE2.js").then(e=>e.n).then(e=>e.default||e.default||e),__vite__mapDeps([13,11,1,12,14,15]),import.meta.url)),Nl=F(()=>P(()=>import("./DgWcaD9t2.js").then(e=>e.default||e.default||e),__vite__mapDeps([1,6]),import.meta.url)),Ll=F(()=>P(()=>import("./Co1-bDxa2.js").then(e=>e.default||e.default||e),__vite__mapDeps([13,11,1,12,14,15]),import.meta.url)),jl=F(()=>P(()=>import("./DbmLirao2.js").then(e=>e.default||e.default||e),__vite__mapDeps([11,1,12,17]),import.meta.url)),ql=F(()=>P(()=>Promise.resolve().then(()=>dh).then(e=>e.default||e.default||e),void 0,import.meta.url)),Vl=F(()=>P(()=>import("./BN9Ca40y.js").then(e=>e.n).then(e=>e.default||e.default||e),[],import.meta.url)),Wl=[["Faq",fl],["FooterBrand",hl],["FooterPortal",dl],["Footer",pl],["HowTo",ml],["HubChildren",yl],["ImageBanner",vl],["ImagePicture",gl],["ImageReview",bl],["Jackpots",wl],["MainBanner",_l],["PromoCategories",kl],["Rating",Sl],["ShowImage",El],["SmartLink",Ol],["StructurizerColumns",Cl],["Taxonomy",Tl],["Time",Rl],["UziQuery",Pl],["ViewCard",Fl],["ViewCsv",xl],["ViewGrid",Dl],["ViewItemsDetailsPanel",Il],["ViewItemsItem",Al],["ViewItems",Ml],["ViewList",Nl],["ViewSlider",Ll],["ViewTable",jl],["WinnersMarquee",ql],["Icon",Vl]],zl=_e({name:"nuxt:global-components",setup(e){for(const[t,r]of Wl)e.vueApp.component(t,r),e.vueApp.component("Lazy"+t,r)}}),Ql=_e(()=>({provide:{pwaIcons:{transparent:{},maskable:{},favicon:{},apple:{},appleSplashScreen:{}}}})),Bl=_e({name:"@nuxt/icon",setup(){const e=Be(),t=bo().icon,r=Xa();Rn.setFetch(r.native);const n=[];if(t.provider==="server"){const s=e.app?.baseURL?.replace(/\/$/,"")??"";n.push(s+(t.localApiEndpoint||"/api/_nuxt_icon")),(t.fallbackToApi===!0||t.fallbackToApi==="client-only")&&n.push(t.iconifyApiEndpoint)}else t.provider==="none"?Rn.setFetch(()=>Promise.resolve(new Response)):n.push(t.iconifyApiEndpoint);async function i(s,a){try{const o=await r(n[0]+"/"+a+".json",{query:{icons:s.join(",")}});if(!o||o.prefix!==a||!o.icons)throw new Error("Invalid data"+JSON.stringify(o));return o}catch{return null}}yo("",{resources:n});for(const s of t.customCollections||[])s&&vo(i,s)}});function $l(e){return`"${e.replace(Ul,Hl)}"`}var Ul=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function Hl(e){return Kl[e.charCodeAt(0)]}var Kl=["\\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"],an=Object.freeze({});function ae(e,t,r=wo){const n=new Map;for(const v of Object.values(A))n.set(v,Gl(t,v));let i,s=Array.isArray(e),a=[e],o=-1,l=[],c=e,f,d;const u=[],h=[];do{o++;const v=o===a.length,w=v&&l.length!==0;if(v){if(f=h.length===0?void 0:u[u.length-1],c=d,d=h.pop(),w)if(s){c=c.slice();let b=0;for(const[S,O]of l){const E=S-b;O===null?(c.splice(E,1),b++):c[E]=O}}else{c={...c};for(const[b,S]of l)c[b]=S}o=i.index,a=i.keys,l=i.edits,s=i.inArray,i=i.prev}else if(d){if(f=s?o:a[o],c=d[f],c==null)continue;u.push(f)}let g;if(!Array.isArray(c)){var p,y;Pn(c)||Co(!1,`Invalid AST Node: ${Eo(c)}.`);const b=v?(p=n.get(c.kind))===null||p===void 0?void 0:p.leave:(y=n.get(c.kind))===null||y===void 0?void 0:y.enter;if(g=b?.call(t,c,f,d,u,h),g===an)break;if(g===!1){if(!v){u.pop();continue}}else if(g!==void 0&&(l.push([f,g]),!v))if(Pn(g))c=g;else{u.pop();continue}}if(g===void 0&&w&&l.push([f,c]),v)u.pop();else{var m;i={inArray:s,index:o,keys:a,edits:l,prev:i}
2,s=Array.isArray(c),a=s?c:(m=r[c.kind])!==null&&m!==void 0?m:[],o=-1,l=[],d&&h.push(d),d=c}}while(i!==void 0);return l.length!==0?l[l.length-1][1]:e}function Gl(e,t){const r=e[t];return typeof r=="object"?r:typeof r=="function"?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}function Jl(e){return ae(e,Xl)}var Yl=80,Xl={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>k(e.definitions,`
3
4`)},OperationDefinition:{leave(e){const t=vr(e.variableDefinitions)?R(`(
5`,k(e.variableDefinitions,`
6`),`
7)`):R("(",k(e.variableDefinitions,", "),")"),r=R("",e.description,`
8`)+k([e.operation,k([e.name,t]),k(e.directives," ")]," ");return(r==="query"?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n,description:i})=>R("",i,`
9`)+e+": "+t+R(" = ",r)+R(" ",k(n," "))},SelectionSet:{leave:({selections:e})=>ne(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){const s=R("",e,": ")+t;let a=s+R("(",k(r,", "),")");return a.length>Yl&&(a=s+R(`(
10`,Nt(k(r,`
11`)),`
12)`)),k([a,k(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+R(" ",k(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>k(["...",R("on ",e),k(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i,description:s})=>R("",s,`
13`)+`fragment ${e}${R("(",k(r,", "),")")} on ${t} ${R("",k(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?So(e):$l(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+k(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+k(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+R("(",k(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>R("",e,`
14`)+k(["schema",k(t," "),ne(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>R("",e,`
15`)+k(["scalar",t,k(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>R("",e,`
16`)+k(["type",t,R("implements ",k(r," & ")),k(n," "),ne(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>R("",e,`
17`)+t+(vr(r)?R(`(
18`,Nt(k(r,`
19`)),`
20)`):R("(",k(r,", "),")"))+": "+n+R(" ",k(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>R("",e,`
21`)+k([t+": "+r,R("= ",n),k(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>R("",e,`
22`)+k(["interface",t,R("implements ",k(r," & ")),k(n," "),ne(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>R("",e,`
23`)+k(["union",t,k(r," "),R("= ",k(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>R("",e,`
24`)+k(["enum",t,k(r," "),ne(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>R("",e,`
25`)+k([t,k(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>R("",e,`
26`)+k(["input",t,k(r," "),ne(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,directives:n,repeatable:i,locations:s})=>R("",e,`
27`)+"directive @"+t+(vr(r)?R(`(
28`,Nt(k(r,`
29`)),`
30)`):R("(",k(r,", "),")"))+R(" ",k(n," "))+(i?" repeatable":"")+" on "+k(s," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>k(["extend schema",k(e," "),ne(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>k(["extend scalar",e,k(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>k(["extend type",e,R("implements ",k(t," & ")),k(r," "),ne(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>k(["extend interface",e,R("implements ",k(t," & ")),k(r," "),ne(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>k(["extend union",e,k(t," "),R("= ",k(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>k(["extend enum",e,k(t," "),ne(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>k(["extend input",e,k(t," "),ne(r)]," ")},DirectiveExtension:{leave:({name:e,directives:t})=>k(["extend directive @"+e,k(t," ")]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>k([e,R(".",t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:r})=>k([e,R(".",t),R("(",r,":)")])},DirectiveCoordinate:{leave:({name:e})=>k(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>k(["@",e,R("(",t,":)")])}};function k(e,t=""){var r;return(r=e?.filter(n=>n).join(t))!==null&&r!==void 0?r:""}function ne(e){return R(`{
31`,Nt(k(e,`
32`)),`
33}`)}function R(e,t,r=""){return t!=null&&t!==""?e+t+r:""}function Nt(e){return R("  ",e.replace(/\n/g,`
34  `))}function vr(e){var t;return(t=e?.some(r=>r.includes(`
35`)))!==null&&t!==void 0?t:!1}function q(e){return typeof e=="function"}function on(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var gr=on(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
36`+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
37  `):"",this.name="UnsubscriptionError",this.errors=r}});function Gt(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var wt=(function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,s;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=Kt(a),l=o.next();!l.done;l=o.next())l.value.remove(this)}catch(p){t={error:p}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}else a.remove(this);var c=this.initialTeardown;
vendor: 6,123 bytes, line 37
37if(q(c))try{c()}catch(p){s=p instanceof gr?p.errors:[p]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var d=Kt(f),u=d.next();!u.done;u=d.next()){var h=u.value;try{In(h)}catch(p){s=s??[],p instanceof gr?s=Fe(Fe([],xe(s)),xe(p.errors)):s.push(p)}}}catch(p){n={error:p}}finally{try{u&&!u.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}}if(s)throw new gr(s)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)In(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Gt(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Gt(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=(function(){var t=new e;return t.closed=!0,t})(),e})(),$i=wt.EMPTY;function Ui(e){return e instanceof wt||e&&"closed"in e&&q(e.remove)&&q(e.add)&&q(e.unsubscribe)}function In(e){q(e)?e():e.unsubscribe()}var De={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Jt={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=Jt.delegate;return i?.setTimeout?i.setTimeout.apply(i,Fe([e,t],xe(r))):setTimeout.apply(void 0,Fe([e,t],xe(r)))},clearTimeout:function(e){var t=Jt.delegate;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Hi(e){Jt.setTimeout(function(){var t=De.onUnhandledError;if(t)t(e);else throw e})}function An(){}var Zl=(function(){return ln("C",void 0,void 0)})();function ec(e){return ln("E",void 0,e)}function tc(e){return ln("N",e,void 0)}function ln(e,t,r){return{kind:e,value:t,error:r}}var Ce=null;function Lt(e){if(De.useDeprecatedSynchronousErrorHandling){var t=!Ce;if(t&&(Ce={errorThrown:!1,error:null}),e(),t){var r=Ce,n=r.errorThrown,i=r.error;if(Ce=null,n)throw i}}else e()}function rc(e){De.useDeprecatedSynchronousErrorHandling&&Ce&&(Ce.errorThrown=!0,Ce.error=e)}var cn=(function(e){oe(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Ui(r)&&r.add(n)):n.destination=ac,n}return t.create=function(r,n,i){return new ht(r,n,i)},t.prototype.next=function(r){this.isStopped?wr(tc(r),this):this._next(r)},t.prototype.error=function(r){this.isStopped?wr(ec(r),this):(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped?wr(Zl,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t})(wt),nc=Function.prototype.bind;function br(e,t){return nc.call(e,t)}var ic=(function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){Rt(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Rt(n)}else Rt(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Rt(r)}},e})(),ht=(function(e){oe(t,e);function t(r,n,i){var s=e.call(this)||this,a;if(q(r)||!r)a={next:r??void 0,error:n??void 0,complete:i??void 0};else{var o;s&&De.useDeprecatedNextContext?(o=Object.create(r),o.unsubscribe=function(){return s.unsubscribe()},a={next:r.next&&br(r.next,o),error:r.error&&br(r.error,o),complete:r.complete&&br(r.complete,o)}):a=r}return s.destination=new ic(a),s}return t})(cn);function Rt(e){De.useDeprecatedSynchronousErrorHandling?rc(e):Hi(e)}function sc(e){throw e}function wr(e,t){var r=De.onStoppedNotification;r&&Jt.setTimeout(function(){return r(e,t)})}var ac={closed:!0,next:An,error:sc,complete:An},un=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})();function ar(e){return e}function oc(e){return e.length===0?ar:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var j=(function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,s=cc(t)?t:new ht(t,r,n);return Lt(function(){var a=i,o=a.operator,l=a.source;s.add(o?o.call(s,l):l?i._subscribe(s):i._trySubscribe(s))}),s},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=Mn(r),new r(function(i,s){var a=new ht({next:function(o){try{t(o)}catch(l){s(l),a.unsubscribe()}},error:s,complete:i});n.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[un]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return oc(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Mn(t),new t(function(n,i){var s;r.subscribe(function(a){return s=a},function(a){return i(a)},function(){return n(s)})})},e.create=function(t){return new e(t)},e})();function Mn(e){var t;return(t=e??De.Promise)!==null&&t!==void 0?t:Promise}function lc(e){return e&&q(e.next)&&q(e.error)&&q(e.complete)}function cc(e){return e&&e instanceof cn||lc(e)&&Ui(e)}function uc(e){return q(e?.lift)}function ie(e){return function(t){if(uc(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function ce(e,t,r,n,i){return new fc(e,t,r,n,i)}var fc=(function(e){oe(t,e);function t(r,n,i,s,a,o){var l=e.call(this,r)||this;return l.onFinalize=a,l.shouldUnsubscribe=o,l._next=n?function(c){try{n(c)}catch(f){r.error(f)}}
37:e.prototype._next,l._error=s?function(c){try{s(c)}catch(f){r.error(f)}finally{this.unsubscribe()}}:e.prototype._error,l._complete=i?function(){try{i()}catch(c){r.error(c)}finally{this.unsubscribe()}}:e.prototype._complete,l}return t.prototype.unsubscribe=function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&((r=this.onFinalize)===null||r===void 0||r.call(this))}},t})(cn),hc=on(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Xe=(function(e){oe(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new Nn(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new hc},t.prototype.next=function(r){var n=this;Lt(function(){var i,s;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=Kt(n.currentObservers),o=a.next();!o.done;o=a.next())o.value.next(r)}catch(l){i={error:l}}finally{try{o&&!o.done&&(s=a.return)&&s.call(a)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;Lt(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;Lt(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,s=i.hasError,a=i.isStopped,o=i.observers;return s||a?$i:(this.currentObservers=null,o.push(r),new wt(function(){n.currentObservers=null,Gt(o,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,s=n.thrownError,a=n.isStopped;i?r.error(s):a&&r.complete()},t.prototype.asObservable=function(){var r=new j;return r.source=this,r},t.create=function(r,n){return new Nn(r,n)},t})(j),Nn=(function(e){oe(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:$i},t})(Xe),dc=(function(e){oe(t,e);function t(r){var n=e.call(this)||this;return n._value=r,n}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(r){var n=e.prototype._subscribe.call(this,r);return!n.closed&&r.next(this._value),n},t.prototype.getValue=function(){var r=this,n=r.hasError,i=r.thrownError,s=r._value;if(n)throw i;return this._throwIfClosed(),s},t.prototype.next=function(r){e.prototype.next.call(this,this._value=r)},t})(Xe),fn={now:function(){return(fn.delegate||Date).now()},delegate:void 0},Ki=(function(e){oe(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=fn);var s=e.call(this)||this;return s._bufferSize=r,s._windowTime=n,s._timestampProvider=i,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=n===1/0,s._bufferSize=Math.max(1,r),s._windowTime=Math.max(1,n),s}return t.prototype.next=function(r){var n=this,i=n.isStopped,s=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,l=n._windowTime;i||(s.push(r),!a&&s.push(o.now()+l)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,s=i._infiniteTimeWindow,a=i._buffer.slice(),o=0;o<a.length&&!r.closed;o+=s?1:2)r.next(a[o]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,s=r._buffer,a=r._infiniteTimeWindow,o=(a?1:2)*n;if(n<1/0&&o<s.length&&s.splice(0,s.length-o),!a){for(var l=i.now(),c=0,f=1;f<s.length&&s[f]<=l;f+=2)c=f;c&&s.splice(0,c+1)}},t})(Xe),pc=(function(e){oe(t,e);function t(r,n){return e.call(this)||this}return t.prototype.schedule=function(r,n){return n===void 0&&(n=0),this},t})(wt),Yt={setInterval:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=Yt.delegate;return i?.setInterval?i.setInterval.apply(i,Fe([e,t],xe(r))):setInterval.apply(void 0,Fe([e,t],xe(r)))},clearInterval:function(e){var t=Yt.delegate;return(t?.clearInterval||clearInterval)(e)},delegate:void 0},mc=(function(e){oe(t,e);function t(r,n){var i=e.call(this,r,n)||this;
vendor: 4,700 bytes, line 37
37return i.scheduler=r,i.work=n,i.pending=!1,i}return t.prototype.schedule=function(r,n){var i;if(n===void 0&&(n=0),this.closed)return this;this.state=r;var s=this.id,a=this.scheduler;return s!=null&&(this.id=this.recycleAsyncId(a,s,n)),this.pending=!0,this.delay=n,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(a,this.id,n),this},t.prototype.requestAsyncId=function(r,n,i){return i===void 0&&(i=0),Yt.setInterval(r.flush.bind(r,this),i)},t.prototype.recycleAsyncId=function(r,n,i){if(i===void 0&&(i=0),i!=null&&this.delay===i&&this.pending===!1)return n;n!=null&&Yt.clearInterval(n)},t.prototype.execute=function(r,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(r,n);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(r,n){var i=!1,s;try{this.work(r)}catch(a){i=!0,s=a||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),s},t.prototype.unsubscribe=function(){if(!this.closed){var r=this,n=r.id,i=r.scheduler,s=i.actions;this.work=this.state=this.scheduler=null,this.pending=!1,Gt(s,this),n!=null&&(this.id=this.recycleAsyncId(i,n,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t})(pc),Ln=(function(){function e(t,r){r===void 0&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(t,r,n){return r===void 0&&(r=0),new this.schedulerActionCtor(this,t).schedule(n,r)},e.now=fn.now,e})(),yc=(function(e){oe(t,e);function t(r,n){n===void 0&&(n=Ln.now);var i=e.call(this,r,n)||this;return i.actions=[],i._active=!1,i}return t.prototype.flush=function(r){var n=this.actions;if(this._active){n.push(r);return}var i;this._active=!0;do if(i=r.execute(r.state,r.delay))break;while(r=n.shift());if(this._active=!1,i){for(;r=n.shift();)r.unsubscribe();throw i}},t})(Ln),vc=new yc(mc),gc=vc,dt=new j(function(e){return e.complete()});function Gi(e){return e&&q(e.schedule)}function bc(e){return e[e.length-1]}function Ji(e){return Gi(bc(e))?e.pop():void 0}var Yi=(function(e){return e&&typeof e.length=="number"&&typeof e!="function"});function Xi(e){return q(e?.then)}function Zi(e){return q(e[un])}function es(e){return Symbol.asyncIterator&&q(e?.[Symbol.asyncIterator])}function ts(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function wc(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var rs=wc();function ns(e){return q(e?.[rs])}function is(e){return ko(this,arguments,function(){var r,n,i,s;return Ni(this,function(a){switch(a.label){case 0:r=e.getReader(),a.label=1;case 1:a.trys.push([1,,9,10]),a.label=2;case 2:return[4,pr(r.read())];case 3:return n=a.sent(),i=n.value,s=n.done,s?[4,pr(void 0)]:[3,5];case 4:return[2,a.sent()];case 5:return[4,pr(i)];case 6:return[4,a.sent()];case 7:return a.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}})})}function ss(e){return q(e?.getReader)}function ke(e){if(e instanceof j)return e;if(e!=null){if(Zi(e))return _c(e);if(Yi(e))return kc(e);if(Xi(e))return Sc(e);if(es(e))return as(e);if(ns(e))return Ec(e);if(ss(e))return Oc(e)}throw ts(e)}function _c(e){return new j(function(t){var r=e[un]();if(q(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function kc(e){return new j(function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function Sc(e){return new j(function(t){e.then(function(r){t.closed||(t.next(r),t.complete())},function(r){return t.error(r)}).then(null,Hi)})}function Ec(e){return new j(function(t){var r,n;try{for(var i=Kt(e),s=i.next();!s.done;s=i.next()){var a=s.value;if(t.next(a),t.closed)return}}catch(o){r={error:o}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}t.complete()})}function as(e){return new j(function(t){Cc(e,t).catch(function(r){return t.error(r)})})}function Oc(e){return as(is(e))}function Cc(e,t){var r,n,i,s;return Oo(this,void 0,void 0,function(){var a,o;return Ni(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),r=_o(e),l.label=1;case 1:return[4,r.next()];case 2:if(n=l.sent(),!!n.done)return[3,4];if(a=n.value,t.next(a),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return o=l.sent(),i={error:o},[3,11];case 6:return l.trys.push([6,,9,10]),n&&!n.done&&(s=r.return)?[4,s.call(r)]:[3,8];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];
37case 10:return[7];case 11:return t.complete(),[2]}})})}function ye(e,t,r,n,i){n===void 0&&(n=0),i===void 0&&(i=!1);var s=t.schedule(function(){r(),i?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(s),!i)return s}function os(e,t){return t===void 0&&(t=0),ie(function(r,n){r.subscribe(ce(n,function(i){return ye(n,e,function(){return n.next(i)},t)},function(){return ye(n,e,function(){return n.complete()},t)},function(i){return ye(n,e,function(){return n.error(i)},t)}))})}function ls(e,t){return t===void 0&&(t=0),ie(function(r,n){n.add(e.schedule(function(){return r.subscribe(n)},t))})}function Tc(e,t){return ke(e).pipe(ls(t),os(t))}function Rc(e,t){return ke(e).pipe(ls(t),os(t))}function Pc(e,t){return new j(function(r){var n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}function Fc(e,t){return new j(function(r){var n;return ye(r,t,function(){n=e[rs](),ye(r,t,function(){var i,s,a;try{i=n.next(),s=i.value,a=i.done}catch(o){r.error(o);return}a?r.complete():r.next(s)},0,!0)}),function(){return q(n?.return)&&n.return()}})}function cs(e,t){if(!e)throw new Error("Iterable cannot be null");return new j(function(r){ye(r,t,function(){var n=e[Symbol.asyncIterator]();ye(r,t,function(){n.next().then(function(i){i.done?r.complete():r.next(i.value)})},0,!0)})})}function xc(e,t){return cs(is(e),t)}function Dc(e,t){if(e!=null){if(Zi(e))return Tc(e,t);if(Yi(e))return Pc(e,t);if(Xi(e))return Rc(e,t);if(es(e))return cs(e,t);if(ns(e))return Fc(e,t);if(ss(e))return xc(e,t)}throw ts(e)}function Oe(e,t){return t?Dc(e,t):ke(e)}function Ee(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Ji(e);return Oe(e,r)}function us(e,t){var r=q(e)?e:function(){return e},n=function(i){return i.error(r())};return new j(t?function(i){return t.schedule(n,0,i)}:n)}var jn;(function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"})(jn||(jn={}));var _r=(function(){function e(t,r,n){this.kind=t,this.value=r,this.error=n,this.hasValue=t==="N"}return e.prototype.observe=function(t){return Ic(this,t)},e.prototype.do=function(t,r,n){var i=this,s=i.kind,a=i.value,o=i.error;return s==="N"?t?.(a):s==="E"?r?.(o):n?.()},e.prototype.accept=function(t,r,n){var i;return q((i=t)===null||i===void 0?void 0:i.next)?this.observe(t):this.do(t,r,n)},e.prototype.toObservable=function(){var t=this,r=t.kind,n=t.value,i=t.error,s=r==="N"?Ee(n):r==="E"?us(function(){return i}):r==="C"?dt:0;if(!s)throw new TypeError("Unexpected notification kind "+r);return s},e.createNext=function(t){return new e("N",t)},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e})();function Ic(e,t){var r,n,i,s=e,a=s.kind,o=s.value,l=s.error;if(typeof a!="string")throw new TypeError('Invalid notification, missing "kind"');a==="N"?(r=t.next)===null||r===void 0||r.call(t,o):a==="E"?(n=t.error)===null||n===void 0||n.call(t,l):(i=t.complete)===null||i===void 0||i.call(t)}var Ac=on(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});function Mc(e,t){var r=typeof t=="object";return new Promise(function(n,i){var s=!1,a;e.subscribe({next:function(o){a=o,s=!0},error:i,complete:function(){s?n(a):r?n(t.defaultValue):i(new Ac)}})})}function Nc(e){return e instanceof Date&&!isNaN(e)}function me(e,t){return ie(function(r,n){var i=0;r.subscribe(ce(n,function(s){n.next(e.call(t,s,i++))}))})}function Lc(e,t,r,n,i,s,a,o){var l=[],c=0,f=0,d=!1,u=function(){d&&!l.length&&!c&&t.complete()},h=function(y){return c<n?p(y):l.push(y)},p=function(y){s&&t.next(y),c++;var m=!1;ke(r(y,f++)).subscribe(ce(t,function(v){i?.(v),s?h(v):t.next(v)},function(){m=!0},void 0,function(){if(m)try{c--;for(var v=function(){var w=l.shift();a?ye(t,a,function(){return p(w)}):p(w)};l.length&&c<n;)v();u()}catch(w){t.error(w)}}))};return e.subscribe(ce(t,h,function(){d=!0,u()})),function(){o?.()}}function Ne(e,t,r){return r===void 0&&(r=1/0),q(t)?Ne(function(n,i){return me(function(s,a){return t(n,s,i,a)})(ke(e(n,i)))},r):(typeof t=="number"&&(r=t),ie(function(n,i){return Lc(n,i,e,r)}))}function jc(e){return e===void 0&&(e=1/0),Ne(ar,e)}function qc(){return jc(1)}function kr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return qc()(Oe(e,Ji(e)))}function Vc(e,t,r){e===void 0&&(e=0),r===void 0&&(r=gc);var n=-1;return t!=null&&(Gi(t)?r=t:n=t),new j(function(i){var s=Nc(e)?+e-r.now():e;s<0&&(s=0);var a=0;return r.schedule(function(){i.closed||(i.next(a++),0<=n?this.schedule(void 0,n):i.complete())},s)})}function fs(e,t){return ie(function(r,n){var i=0;r.subscribe(ce(n,function(s){return e.call(t,s,i++)&&n.next(s)}))})}function jt(e){return ie(function(t,r){var n=null,i=!1,s;n=t.subscribe(ce(r,void 0,void 0,function(a){s=ke(e(a,jt(e)(t))),n?(n.unsubscribe(),n=null,s.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,s.subscribe(r))})}function Wc(e,t){return t===void 0&&(t=ar),e=e??zc,ie(function(r,n){var i,s=!0;r.subscribe(ce(n,function(a){var o=t(a);(s||!e(i,o))&&(s=!1,i=o,n.next(a))}
37))})}function zc(e,t){return e===t}function Qc(e){return ie(function(t,r){try{t.subscribe(r)}finally{r.add(e)}})}function Bc(){return ie(function(e,t){e.subscribe(ce(t,function(r){t.next(_r.createNext(r))},function(){t.next(_r.createComplete()),t.complete()},function(r){t.next(_r.createError(r)),t.complete()}))})}function pt(e){e===void 0&&(e={});var t=e.connector,r=t===void 0?function(){return new Xe}:t,n=e.resetOnError,i=n===void 0?!0:n,s=e.resetOnComplete,a=s===void 0?!0:s,o=e.resetOnRefCountZero,l=o===void 0?!0:o;return function(c){var f,d,u,h=0,p=!1,y=!1,m=function(){d?.unsubscribe(),d=void 0},v=function(){m(),f=u=void 0,p=y=!1},w=function(){var g=f;v(),g?.unsubscribe()};return ie(function(g,b){h++,!y&&!p&&m();var S=u=u??r();b.add(function(){h--,h===0&&!y&&!p&&(d=Sr(w,l))}),S.subscribe(b),!f&&h>0&&(f=new ht({next:function(O){return S.next(O)},error:function(O){y=!0,m(),d=Sr(v,i,O),S.error(O)},complete:function(){p=!0,m(),d=Sr(v,a),S.complete()}}),ke(g).subscribe(f))})(c)}}function Sr(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];if(t===!0){e();return}if(t!==!1){var i=new ht({next:function(){i.unsubscribe(),e()}});return ke(t.apply(void 0,Fe([],xe(r)))).subscribe(i)}}function hn(e,t,r){var n,i,s,a,o=!1;return e&&typeof e=="object"?(n=e.bufferSize,a=n===void 0?1/0:n,i=e.windowTime,t=i===void 0?1/0:i,s=e.refCount,o=s===void 0?!1:s,r=e.scheduler):a=e??1/0,pt({connector:function(){return new Ki(a,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function mt(e,t,r){var n=q(e)||t||r?{next:e,error:t,complete:r}:e;return n?ie(function(i,s){var a;(a=n.subscribe)===null||a===void 0||a.call(n);var o=!0;i.subscribe(ce(s,function(l){var c;(c=n.next)===null||c===void 0||c.call(n,l),s.next(l)},function(){var l;o=!1,(l=n.complete)===null||l===void 0||l.call(n),s.complete()},function(l){var c;o=!1,(c=n.error)===null||c===void 0||c.call(n,l),s.error(l)},function(){var l,c;o&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):ar}function pe(e){try{return e()}catch{}}var Wr=pe(()=>globalThis)||pe(()=>window)||pe(()=>self)||pe(()=>global)||pe(function(){return pe.constructor("return this")()}),dn="4.2.8",qn=new Map;function hs(e){const t=qn.get(e)||1;return qn.set(e,t+1),`${e}:${t}:${Math.random().toString(36).slice(2)}`}function $c(e,t=0){const r=hs("stringifyForDisplay");return JSON.stringify(e,(n,i)=>i===void 0?r:i,t).split(JSON.stringify(r)).join("<undefined>")}var Vn="Invariant Violation",Uc=class ds extends Error{constructor(t=Vn){super(t),this.name=Vn,Object.setPrototypeOf(this,ds.prototype)}},ps=["debug","log","warn","error","silent"],Hc=ps.indexOf("silent");function x(e,...t){if(!e)throw re(...t)}function or(e){return function(t,...r){if(ps.indexOf(e)>=Hc){const n=console[e]||console.log;if(typeof t=="number"){const i=t;t=ms(i),t||(t=ys(i,r),r=[])}n(t,...r)}}}x.debug=or("debug");x.log=or("log");x.warn=or("warn");x.error=or("error");function re(e,...t){return new Uc(ms(e,t)||ys(e,t))}var Wn=Symbol.for("ApolloErrorMessageHandler_"+dn);function zr(e){if(typeof e=="string")return e;try{return $c(e,2).slice(0,1e3)}catch{return"<non-serializable>"}}function ms(e,t=[]){if(e)return Wr[Wn]&&Wr[Wn](e,t.map(zr))}function ys(e,t=[]){if(e)return typeof e=="string"?t.reduce((r,n)=>r.replace(/%[sdfo]/,zr(n)),e):`An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#${encodeURIComponent(JSON.stringify({version:dn,message:e,args:t.map(zr)}))}`}function He(e,t,r,n){if(r.kind===A.INT||r.kind===A.FLOAT)e[t.value]=Number(r.value);else if(r.kind===A.BOOLEAN||r.kind===A.STRING)e[t.value]=r.value;else if(r.kind===A.OBJECT){const i={};r.fields.map(s=>He(i,s.name,s.value,n)),e[t.value]=i}else if(r.kind===A.VARIABLE){const i=(n||{})[r.name.value];e[t.value]=i}else if(r.kind===A.LIST)e[t.value]=r.values.map(i=>{const s={};return He(s,t,i,n),s[t.value]});else if(r.kind===A.ENUM)e[t.value]=r.value;else if(r.kind===A.NULL)e[t.value]=null;else throw re(19,t.value,r.kind)}function pn(e,t){if(e.arguments&&e.arguments.length){const r={};
37return e.arguments.forEach(({name:n,value:i})=>He(r,n,i,t)),r}return null}var Kc=Symbol.for("apollo.cacheSize"),ue={...Wr[Kc]};function Ke(e,t){return e.definitions.find(r=>r.kind==="OperationDefinition"&&!!r.name)?.name.value??t}var Gc=()=>Object.create(null),{forEach:Jc,slice:zn}=Array.prototype,{hasOwnProperty:Yc}=Object.prototype,Se=class vs{constructor(t=!0,r=Gc){this.weakness=t,this.makeData=r}lookup(){return this.lookupArray(arguments)}lookupArray(t){let r=this;return Jc.call(t,n=>r=r.getChildTrie(n)),Yc.call(r,"data")?r.data:r.data=this.makeData(zn.call(t))}peek(){return this.peekArray(arguments)}peekArray(t){let r=this;for(let n=0,i=t.length;r&&n<i;++n){const s=r.mapFor(t[n],!1);r=s&&s.get(t[n])}return r&&r.data}remove(){return this.removeArray(arguments)}removeArray(t){let r;if(t.length){const n=t[0],i=this.mapFor(n,!1),s=i&&i.get(n);s&&(r=s.removeArray(zn.call(t,1)),!s.data&&!s.weak&&!(s.strong&&s.strong.size)&&i.delete(n))}else r=this.data,delete this.data;return r}getChildTrie(t){const r=this.mapFor(t,!0);let n=r.get(t);return n||r.set(t,n=new vs(this.weakness,this.makeData)),n}mapFor(t,r){return this.weakness&&Xc(t)?this.weak||(r?this.weak=new WeakMap:void 0):this.strong||(r?this.strong=new Map:void 0)}};function Xc(e){switch(typeof e){case"object":if(e===null)break;case"function":return!0}return!1}function Zc(){}var Qr=class{constructor(e=1/0,t=Zc){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){const t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:r,newer:n}=t;n&&(n.older=r),r&&(r.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 r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){const 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):!1}};function Br(){}var eu=Br,tu=typeof WeakRef<"u"?WeakRef:function(e){return{deref:()=>e}},ru=typeof WeakMap<"u"?WeakMap:Map,nu=typeof FinalizationRegistry<"u"?FinalizationRegistry:function(){return{register:Br,unregister:Br}},iu=10024,Xt=class{constructor(e=1/0,t=eu){this.max=e,this.dispose=t,this.map=new ru,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const r=this.unfinalizedNodes.values();for(let n=0;n<iu;n++){const i=r.next().value;if(!i)break;this.unfinalizedNodes.delete(i);const s=i.key;delete i.key,i.keyRef=new tu(s),this.registry.register(s,i,i)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new nu(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:r,newer:n}=t;n&&(n.older=r),r&&(r.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 r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(e,r),this.size++,r.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--;const 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){const t=this.map.get(e);return t?(this.deleteNode(t),!0):!1}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}},Er=new WeakSet;function gs(e){e.size<=(e.max||-1)||Er.has(e)||(Er.add(e),setTimeout(()=>{e.clean(),Er.delete(e)},100))}var mn=function(e,t){const r=new Xt(e,t);return r.set=function(n,i){const s=Xt.prototype.set.call(this,n,i);return gs(this),s},r},su=function(e,t){const r=new Qr(e,t);return r.set=function(n,i){const s=Qr.prototype.set.call(this,n,i);return gs(this),s},r};function bs(e,{max:t,makeCacheKey:r=n=>n}){const n=new Se(!0),i=new mn(t);return(...s)=>{const a=n.lookupArray(r(s)),o=i.get(a);if(o){if(o.error)throw o.error;return o.result}const l=i.set(a,{});try{return l.result=e(...s)}catch(c){throw l.error=c,c}}}var ve=bs((e,t)=>{x(e&&e.kind==="Document",1);const r=e.definitions.filter(n=>n.kind==="OperationDefinition");t&&x(r.length==1&&r[0].operation===t,4,t,t,r[0].operation),ae(e,{Field(n,i,s,a){if(n.alias&&(n.alias.value==="__typename"||n.alias.value.startsWith("__ac_"))&&n.alias.value!==n.name.value){let o=e,l=[];for(const c of a)o=o[c],o.kind===A.FIELD&&l.push(o.alias?.value||o.name.value);throw l.splice(-1,1,n.name.value),re(5,n.alias.value,l.join("."),r[0].operation,Ke(e,"(anonymous)"))}}})},{max:ue.checkDocument||2e3}),{toString:bd}=Object.prototype;function au(e){return e.length===0?dt:new j(t=>{const{length:r}=e,n=new Array(r),i=new Map;e.forEach((l,c)=>{i.has(l)||i.set(l,new Set),i.get(l).add(c)});let s=i.size,a=i.size,o;
37i.forEach((l,c)=>{let f=!1;const d=c.subscribe({next:u=>{l.forEach(h=>n[h]=u),f||(f=!0,a--),a||(o||=new Set(e.filter(h=>h.dirty)),o.delete(c),o.size||(t.next(n.slice()),o=void 0))},complete:()=>{s--,s||t.complete()},error:t.error.bind(t)});t.add(d)})})}function X(...e){const t={};return e.forEach(r=>{r&&Reflect.ownKeys(r).forEach(n=>{const i=r[n];i!==void 0&&(t[n]=i)})}),t}function _t(e=[]){const t={};return e.forEach(r=>{t[r.name.value]=r}),t}function Y(e){return e!==null&&typeof e=="object"}var{hasOwnProperty:ou}=Object.prototype,lu=function(e,t,r){return this.merge(e[r],t[r])},Qn=e=>isNaN(+e)?{}:[],Ge=class{options;reconciler;constructor(e={}){this.options=e,this.reconciler=e.reconciler||lu}merge(e,t,r={}){const n=r.atPath;if(n?.length){const[i,...s]=n;e===void 0&&(e=Qn(i));let a=e[i];a===void 0&&s.length&&(a=Qn(s[0]));const o=this.merge(a,t,{...r,atPath:s});return a!==o&&(e=this.shallowCopyForMerge(e),e[i]=o),e}return Array.isArray(e)&&Array.isArray(t)&&this.options.arrayMerge==="truncate"&&e.length>t.length&&(e=e.slice(0,t.length),this.pastCopies.add(e)),Y(t)&&Y(e)?(Object.keys(t).forEach(i=>{if(ou.call(e,i)){const s=e[i];if(t[i]!==s){const a=this.reconciler(e,t,i);a!==s&&(e=this.shallowCopyForMerge(e),e[i]=a)}}else e=this.shallowCopyForMerge(e),e[i]=t[i]}),e):t}isObject=Y;pastCopies=new Set;shallowCopyForMerge(e){return Y(e)&&(this.pastCopies.has(e)||(Array.isArray(e)?e=e.slice(0):e={__proto__:Object.getPrototypeOf(e),...e},this.pastCopies.add(e))),e}};function yn(e){const t={},r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(n=>{n.defaultValue&&He(t,n.variable.name,n.defaultValue)}),t}function lr(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":{const r=e.name.value;if(typeof t=="function")return t(r);const n=t&&t[r];return x(n,9,r),n||null}default:return null}}function cu(e,t){let r=t;const n=[];return e.definitions.forEach(i=>{if(i.kind==="OperationDefinition")throw re(10,i.operation,i.name?` named '${i.name.value}'`:"");i.kind==="FragmentDefinition"&&n.push(i)}),typeof r>"u"&&(x(n.length===1,11,n.length),r=n[0].name.value),{...e,definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}},...e.definitions]}}function uu(e){x(e.kind==="Document",6),x(e.definitions.length<=1,7);const t=e.definitions[0];return x(t.kind==="FragmentDefinition",8),t}function kt(e){return e.definitions.filter(t=>t.kind==="FragmentDefinition")}function ws(e){ve(e);let t;for(let r of e.definitions){if(r.kind==="OperationDefinition")return r;r.kind==="FragmentDefinition"&&!t&&(t=r)}if(t)return t;throw re(12)}function fe(e){return ve(e),e.definitions.filter(t=>t.kind==="OperationDefinition")[0]}function fu(e){const t=fe(e);return x(t&&t.operation==="query",13),t}var le=Object.assign(function(t){return JSON.stringify(t,hu)},{reset(){st=new su(ue.canonicalStringify||1e3)}}),st;le.reset();function hu(e,t){if(t&&typeof t=="object"){const r=Object.getPrototypeOf(t);if(r===Object.prototype||r===null){const n=Object.keys(t);if(n.every(du))return t;const i=JSON.stringify(n);let s=st.get(i);if(!s){n.sort();const o=JSON.stringify(n);s=st.get(o)||n,st.set(i,s),st.set(o,s)}const a=Object.create(r);return s.forEach(o=>
37{a[o]=t[o]}),a}}return t}function du(e,t,r){return t===0||r[t-1]<=e}var pu=["connection","include","skip","client","rest","export","nonreactive","stream"],tt=le,_s=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){const i=r.connection.filter?r.connection.filter:[];i.sort();const s={};i.forEach(o=>{s[o]=t[o]});const a=tt(s);if(a!=="{}")return`${r.connection.key}(${a})`}return r.connection.key}let n=e;if(t){const i=tt(t);i!=="{}"&&(n+=`(${i})`)}return r&&Object.keys(r).forEach(i=>{pu.indexOf(i)===-1&&(r[i]&&Object.keys(r[i]).length?n+=`@${i}(${tt(r[i])})`:n+=`@${i}`)}),n},{setStringify(e){const t=tt;return tt=e,t}});function Le(e){return!!e.errors?.length}function at(e,t,r){const n=new Set(e),i=n.size;return ae(t,{Directive(s){if(n.delete(s.name.value)&&(!r||!n.size))return an}}),r?!n.size:n.size<i}function mu(e){let t=!1;return ae(e,{Directive:{enter(r){if(r.name.value==="client"&&r.arguments&&(t=r.arguments.some(n=>n.name.value==="always"&&n.value.kind==="BooleanValue"&&n.value.value===!0),t))return an}}}),t}var Q=Array.isArray;function yu(e){return Y(e)&&e.kind==="Document"&&Array.isArray(e.definitions)}function St(e){return e.kind==="Field"}function vn(e){return Array.isArray(e)&&e.length>0}function We(e){return{__ref:String(e)}}function vu(e){let t=e[0]||{};const r=e.length;if(r>1){const n=new Ge;for(let i=1;i<r;++i)t=n.merge(t,e[i])}return t}function qt(e,t){return X(e,t,t.variables&&{variables:X({...e&&e.variables,...t.variables})})}function Bn(e){return e.catch(()=>{}),e}function gu(e,t){ve(t);const r=$n(""),n=$n(""),i=m=>{for(let v=0,w;v<m.length&&(w=m[v]);++v)if(!Q(w)){if(w.kind===A.OPERATION_DEFINITION)return r(w.name&&w.name.value);if(w.kind===A.FRAGMENT_DEFINITION)return n(w.name.value)}return x.error(14),null};let s=0;for(let m=t.definitions.length-1;m>=0;--m)t.definitions[m].kind===A.OPERATION_DEFINITION&&++s;const a=bu(e),o=m=>vn(m)&&m.map(a).some(v=>v&&v.remove),l=new Map;let c=!1;const f={enter(m){if(o(m.directives))return c=!0,null}},d=ae(t,{Field:f,InlineFragment:f,VariableDefinition:{enter(){return!1}},Variable:{enter(m,v,w,g,b){const S=i(b);S&&S.variables.add(m.name.value)}},FragmentSpread:{enter(m,v,w,g,b){if(o(m.directives))return c=!0,null;const S=i(b);S&&S.fragmentSpreads.add(m.name.value)}},FragmentDefinition:{enter(m,v,w,g){l.set(JSON.stringify(g),m)},leave(m,v,w,g){if(m===l.get(JSON.stringify(g)))return m;if(s>0&&m.selectionSet.selections.every(b=>b.kind===A.FIELD&&b.name.value==="__typename"))return n(m.name.value).removed=!0,c=!0,null}},Directive:{leave(m){if(a(m))return c=!0,null}}});if(!c)return t;const u=m=>(m.transitiveVars||(m.transitiveVars=new Set(m.variables),m.removed||m.fragmentSpreads.forEach(v=>{u(n(v)).transitiveVars.forEach(w=>{m.transitiveVars.add(w)})})),m),h=new Set;d.definitions.forEach(m=>{m.kind===A.OPERATION_DEFINITION?u(r(m.name&&m.name.value)).fragmentSpreads.forEach(v=>{h.add(v)}):m.kind===A.FRAGMENT_DEFINITION&&s===0&&!n(m.name.value).removed&&h.add(m.name.value)}),h.forEach(m=>{u(n(m)).fragmentSpreads.forEach(v=>{h.add(v)})});const p=m=>!!(!h.has(m)||n(m).removed),y={enter(m){if(p(m.name.value))return null}};return wu(ae(d,{FragmentSpread:y,FragmentDefinition:y,OperationDefinition:{leave(m){if(m.variableDefinitions){const v=u(r(m.name&&m.name.value)).transitiveVars;if(v.size<m.variableDefinitions.length)return{...m,variableDefinitions:m.variableDefinitions.filter(w=>v.has(w.variable.name.value))}}}}}))}function $n(e){const t=new Map;return function(n=e){let i=t.get(n);return i||t.set(n,i={variables:new Set,fragmentSpreads:new Set}),i}}function bu(e){const t=new Map,r=new Map;return e.forEach(n=>{n&&(n.name?t.set(n.name,n):n.test&&r.set(n.test,n))}),n=>{let i=t.get(n.name.value);return!i&&r.size&&r.forEach((s,a)=>{a(n)&&(i=s)}),i}}function ks(e,t){return!e||e.selectionSet.selections.every(r=>r.kind===A.FRAGMENT_SPREAD&&ks(t[r.name.value],t))}function wu(e){return ks(fe(e)||uu(e),_t(kt(e)))?null:e}function _u(e){return ae(e,{FragmentSpread(t){if(!t.directives?.some(({name:r})=>r.value==="unmask"))return null}})}function Ze(e){return e.alias?e.alias.value:e.name.value}function cr({directives:e},t){return!e||!e.length?!0:Su(e).every(({directive:r,ifArgument:n})=>{let i=!1;return n.value.kind==="Variable"?(i=t&&t[n.value.name.value],x(i!==void 0,15,r.name.value)):i=n.value.value,r.name.value==="skip"?!i:i})}function ku({name:{value:e}}){return e==="skip"||e==="include"}function Su(e){const t=[];return e&&e.length&&e.forEach(r=>{if(!ku(r))return;const n=r.arguments,i=r.name.value;x(n&&n.length===1,16,i);const s=n[0];x(s.name&&s.name.value==="if",17,i);const a=s.value;x(a&&(a.kind==="Variable"||a.kind==="BooleanValue"),18,i),t.push({directive:r,ifArgument:s})}),t}function Eu(e,t){let r=null;e.directives&&(r={}
37,e.directives.forEach(i=>{r[i.name.value]={},i.arguments&&i.arguments.forEach(({name:s,value:a})=>He(r[i.name.value],s,a,t))}));let n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(({name:i,value:s})=>He(n,i,s,t))),_s(e.name.value,n,r)}function ot(e){const t={data:e.data};return e.error&&(t.error=e.error),t}function $r(e,t=()=>{}){return r=>new j(n=>{let i=t();return r.subscribe({next(s){let a;try{a=e(s,i)}catch(o){n.error(o)}a!==void 0&&n.next(a)},error(s){n.error(s)},complete(){n.complete()}})})}var{toString:Un,hasOwnProperty:Ou}=Object.prototype,Hn=Function.prototype.toString,Ur=new Map;function L(e,t){try{return Hr(e,t)}finally{Ur.clear()}}function Hr(e,t){if(e===t)return!0;const r=Un.call(e);if(r!==Un.call(t))return!1;switch(r){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(Gn(e,t))return!0;const n=Kn(e),i=Kn(t),s=n.length;if(s!==i.length)return!1;for(let a=0;a<s;++a)if(!Ou.call(t,n[a]))return!1;for(let a=0;a<s;++a){const o=n[a];if(!Hr(e[o],t[o]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!==e)return t!==t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e==`${t}`;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(Gn(e,t))return!0;const n=e.entries(),i=r==="[object Map]";for(;;){const s=n.next();if(s.done)break;const[a,o]=s.value;if(!t.has(a)||i&&!Hr(o,t.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]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{let n=e.byteLength;if(n===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const n=Hn.call(e);return n!==Hn.call(t)?!1:!Ru(n,Tu)}}return!1}function Kn(e){return Object.keys(e).filter(Cu,e)}function Cu(e){return this[e]!==void 0}var Tu="{ [native code] }";function Ru(e,t){const r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}function Gn(e,t){let r=Ur.get(e);if(r){if(r.has(t))return!0}else Ur.set(e,r=new Set);return r.add(t),!1}function Ss(e,{data:t,...r},{data:n,...i},s){return L(r,i)&&Vt(ws(e).selectionSet,t,n,{fragmentMap:_t(kt(e)),variables:s})}function Vt(e,t,r,n){if(t===r)return!0;const i=new Set;return e.selections.every(s=>{if(i.has(s)||(i.add(s),!cr(s,n.variables))||Jn(s))return!0;if(St(s)){const a=Ze(s),o=t&&t[a],l=r&&r[a],c=s.selectionSet;if(!c)return L(o,l);const f=Array.isArray(o),d=Array.isArray(l);if(f!==d)return!1;if(f&&d){const u=o.length;if(l.length!==u)return!1;for(let h=0;h<u;++h)if(!Vt(c,o[h],l[h],n))return!1;return!0}return Vt(c,o,l,n)}else{const a=lr(s,n.fragmentMap);if(a)return Jn(a)?!0:Vt(a.selectionSet,t,r,n)}})}function Jn(e){return!!e.directives&&e.directives.some(Pu)}function Pu(e){return e.name.value==="nonreactive"}function Fu(e,t){let r,n;function i(s){return s!==r&&(r=s,n=t(r)),n}return Object.assign(e.pipe(me(i),hn({bufferSize:1,refCount:!0})),{getCurrentResult:()=>i(e.getCurrentResult())})}var xu=bs(function(t,r,n){return Fu(t,n)},{max:1,makeCacheKey:e=>e.slice(0,2)}),Es=Symbol.for("apollo.result.extensions"),be=Symbol.for("apollo.result.streamInfo"),Du=Symbol.for("apollo.observableQuery.variablesUnknown"),U=null,Yn={},Iu=1,Au=()=>class{constructor(){this.id=["slot",Iu++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let t=U;t;t=t.parent)if(this.id in t.slots){const r=t.slots[this.id];if(r===Yn)break;return t!==U&&(U.slots[this.id]=r),!0}return U&&(U.slots[this.id]=Yn),!1}getValue(){if(this.hasValue())return U.slots[this.id]}withValue(t,r,n,i){const s={__proto__:null,[this.id]:t},a=U;U={parent:a,slots:s};try{return r.apply(i,n)}finally{U=a}}static bind(t){const r=U;return function(){const n=U;try{return U=r,t.apply(this,arguments)}finally{U=n}}}static noContext(t,r,n){if(U){const i=U;try{return U=null,t.apply(n,r)}finally{U=i}}else return t.apply(n,r)}};function Xn(e){try{return e()}catch{}}var Or="@wry/context:Slot",Zn=Xn(()=>globalThis)||Xn(()=>global)||Object.create(null),ur=Zn[Or]||Array[Or]||(function(e){try{Object.defineProperty(Zn,Or,{value:e,enumerable:!1,writable:!1,
37configurable:!0})}finally{return e}})(Au()),{bind:_d,noContext:kd}=ur,fr=new ur,{hasOwnProperty:Mu}=Object.prototype,gn=Array.from||function(e){const t=[];return e.forEach(r=>t.push(r)),t};function Zt(e){const{unsubscribe:t}=e;typeof t=="function"&&(e.unsubscribe=void 0,t())}var yt=[],Nu=100;function Je(e,t){if(!e)throw new Error(t||"assertion failure")}function Os(e,t){const r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function Cs(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function Ts(e){return e.slice(0)}var Rs=class Ps{constructor(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++Ps.count}peek(){if(this.value.length===1&&!we(this))return ei(this),this.value[0]}recompute(t){return Je(!this.recomputing,"already recomputing"),ei(this),we(this)?Lu(this,t):Cs(this.value)}setDirty(){this.dirty||(this.dirty=!0,Fs(this),Zt(this))}dispose(){this.setDirty(),Ms(this),bn(this,(t,r)=>{t.setDirty(),Ns(t,this)})}forget(){this.dispose()}dependOn(t){t.add(this),this.deps||(this.deps=yt.pop()||new Set),this.deps.add(t)}forgetDeps(){this.deps&&(gn(this.deps).forEach(t=>t.delete(this)),this.deps.clear(),yt.push(this.deps),this.deps=null)}};Rs.count=0;function ei(e){const t=fr.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),we(e)?Ds(t,e):Is(t,e),t}function Lu(e,t){return Ms(e),fr.withValue(e,ju,[e,t]),Vu(e,t)&&qu(e),Cs(e.value)}function ju(e,t){e.recomputing=!0;const{normalizeResult:r}=e;let n;r&&e.value.length===1&&(n=Ts(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),r&&n&&!Os(n,e.value))try{e.value[0]=r(e.value[0],n[0])}catch{}}catch(i){e.value[1]=i}e.recomputing=!1}function we(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function qu(e){e.dirty=!1,!we(e)&&xs(e)}function Fs(e){bn(e,Ds)}function xs(e){bn(e,Is)}function bn(e,t){const r=e.parents.size;if(r){const n=gn(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function Ds(e,t){Je(e.childValues.has(t)),Je(we(t));const r=!we(e);if(!e.dirtyChildren)e.dirtyChildren=yt.pop()||new Set;else if(e.dirtyChildren.has(t))return;e.dirtyChildren.add(t),r&&Fs(e)}function Is(e,t){Je(e.childValues.has(t)),Je(!we(t));const r=e.childValues.get(t);r.length===0?e.childValues.set(t,Ts(t.value)):Os(r,t.value)||e.setDirty(),As(e,t),!we(e)&&xs(e)}function As(e,t){const r=e.dirtyChildren;r&&(r.delete(t),r.size===0&&(yt.length<Nu&&yt.push(r),e.dirtyChildren=null))}function Ms(e){e.childValues.size>0&&e.childValues.forEach((t,r)=>{Ns(e,r)}),e.forgetDeps(),Je(e.dirtyChildren===null)}function Ns(e,t){t.parents.delete(e),e.childValues.delete(t),As(e,t)}function Vu(e,t){if(typeof e.subscribe=="function")try{Zt(e),e.unsubscribe=e.subscribe.apply(null,t)}catch{return e.setDirty(),!1}return!0}var Wu={setDirty:!0,dispose:!0,forget:!0};function Ls(e){const t=new Map,r=e&&e.subscribe;function n(i){const s=fr.getValue();if(s){let a=t.get(i);a||t.set(i,a=new Set),s.dependOn(a),typeof r=="function"&&(Zt(a),a.unsubscribe=r(i))}}return n.dirty=function(s,a){const o=t.get(s);if(o){const l=a&&Mu.call(Wu,a)?a:"setDirty";gn(o).forEach(c=>c[l]()),t.delete(s),Zt(o)}},n}var ti;function js(...e){return(ti||(ti=new Se(typeof WeakMap=="function"))).lookupArray(e)}var Cr=new Set;function vt(e,{max:t=Math.pow(2,16),keyArgs:r,makeCacheKey:n=js,normalizeResult:i,subscribe:s,cache:a=Qr}=Object.create(null)){const o=typeof a=="function"?new a(t,u=>u.dispose()):a,l=function(){const u=n.apply(null,r?r.apply(null,arguments):arguments);if(u===void 0)return e.apply(null,arguments);let h=o.get(u);h||(o.set(u,h=new Rs(e)),h.normalizeResult=i,h.subscribe=s,h.forget=()=>o.delete(u));const p=h.recompute(Array.prototype.slice.call(arguments));return o.set(u,h),Cr.add(o),fr.hasValue()||(Cr.forEach(y=>y.clean()),Cr.clear()),p};Object.defineProperty(l,"size",{get:()=>o.size,configurable:!1,enumerable:!1}),Object.freeze(l.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:s,cache:o});function c(u){const h=u&&o.get(u);h&&h.setDirty()}l.dirtyKey=c,l.dirty=function(){c(n.apply(null,arguments))};function f(u){const h=u&&o.get(u);if(h)return h.peek()}l.peekKey=f,l.peek=function(){return f(n.apply(null,arguments))};function d(u){return u?o.delete(u):!1}return l.forgetKey=d,l.forget=function(){return d(n.apply(null,arguments))},l.makeCacheKey=n,l.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(l)}function zu(...e){return js.bind(null,...e)}var Qu=class{isIncrementalResult(e){return!1}prepareRequest(e){return x(!at(["defer","stream"],e.query),67),e}extractErrors(){}startRequest=void 0};function Bu(e,{client:t}){const r={query:e.query,variables:e.variables||{},extensions:e.extensions||{},operationName:Ke(e.query),operationType:fe(e.query).operation};let n={...e.context};const i=a=>{typeof a=="function"?n={...n,...a(s())}:n={...n,...a}},s=()=>Object.freeze({...n});return Object.defineProperty(r,"setContext",{enumerable:!1,value:i}),Object.defineProperty(r,"getContext",{enumerable:!1,value:s}),Object.defineProperty(r,"client",{enumerable:!1,value:t}),r}function $u(e,t){const r={...e},n=new Set(Object.keys(e));return ae(t,{Variable(i,s,a){a&&a.kind!=="VariableDefinition"&&n.delete(i.name.value)}}
37),n.forEach(i=>{delete r[i]}),r}var gt=class he{static empty(){return new he(()=>dt)}static from(t){if(t.length===0)return he.empty();const[r,...n]=t;return r.concat(...n)}static split(t,r,n=new he((i,s)=>s(i))){const i=new he((s,a)=>t(s)?r.request(s,a):n.request(s,a));return Object.assign(i,{left:r,right:n})}static execute(t,r,n){return t.request(Bu(r,n),()=>dt)}static concat(...t){return he.from(t)}constructor(t){t&&(this.request=t)}split(t,r,n){return this.concat(he.split(t,r,n))}concat(...t){return t.length===0?this:t.reduce(this.combine.bind(this),this)}combine(t,r){const n=new he((i,s)=>t.request(i,a=>r.request(a,s)));return Object.assign(n,{left:t,right:r})}request(t,r){throw re(65)}left;right},Kr=gt.execute;function Uu(e){return e}var wn=class Me{transform;cached;resultCache=new WeakSet;getCacheKey(t){return[t]}static identity(){return new Me(Uu,{cache:!1})}static split(t,r,n=Me.identity()){return Object.assign(new Me(i=>(t(i)?r:n).transformDocument(i),{cache:!1}),{left:r,right:n})}constructor(t,r={}){this.transform=t,r.getCacheKey&&(this.getCacheKey=r.getCacheKey),this.cached=r.cache!==!1,this.resetCache()}resetCache(){if(this.cached){const t=new Se;this.performWork=vt(Me.prototype.performWork.bind(this),{makeCacheKey:r=>{const n=this.getCacheKey(r);if(n)return x(Array.isArray(n),20),t.lookupArray(n)},max:ue["documentTransform.cache"],cache:Xt})}}performWork(t){return ve(t),this.transform(t)}transformDocument(t){if(this.resultCache.has(t))return t;const r=this.performWork(t);return this.resultCache.add(r),r}concat(t){return Object.assign(new Me(r=>t.transformDocument(this.transformDocument(r)),{cache:!1}),{left:this,right:t})}left;
37right},Tr,ze=Object.assign(e=>{let t=Tr.get(e);return t||(t=Jl(e),Tr.set(e,t)),t},{reset(){Tr=new mn(ue.print||2e3)}});ze.reset();function N(e){return!!(e&&typeof e=="object"&&typeof e.__ref=="string")}var ri={kind:A.FIELD,name:{kind:A.NAME,value:"__typename"}},qs=Object.assign(function(e){return ae(e,{SelectionSet:{enter(t,r,n){if(n&&n.kind===A.OPERATION_DEFINITION)return;const{selections:i}=t;if(!i||i.some(a=>a.kind===A.FIELD&&(a.name.value==="__typename"||a.name.value.lastIndexOf("__",0)===0)))return;const s=n;if(!(s.kind===A.FIELD&&s.directives&&s.directives.some(a=>a.name.value==="export")))return{...t,selections:[...i,ri]}}}})},{added(e){return e===ri}});function Vs(e,t){return fe(e)?.operation===t}function Hu(e){return Vs(e,"mutation")}function Ku(e){return Vs(e,"subscription")}function Ws(e){return e===7||e===8}function Wt(e){return!Ws(e)}var Gu=class{assumeImmutableResults=!1;lookupFragment(e){return null}batch(e){const t=typeof e.optimistic=="string"?e.optimistic:e.optimistic===!1?null:void 0;let r;return this.performTransaction(()=>r=e.update(this),t),r}recordOptimisticTransaction(e,t){this.performTransaction(e,t)}transformDocument(e){return e}transformForLink(e){return e}identify(e){}gc(){return[]}modify(e){return!1}readQuery(e,t=!!e.optimistic){return this.read({...e,rootId:e.id||"ROOT_QUERY",optimistic:t})}fragmentWatches=new Se(!0);watchFragment(e){const{fragment:t,fragmentName:r,from:n}=e,i=this.getFragmentDoc(t,r),s=(Array.isArray(n)?n:[n]).map(d=>d==null?d:this.toCacheId(d));if(!Array.isArray(n)){const d=this.watchSingleFragment(s[0],i,e);return n===null?d:xu(d,Symbol.for("apollo.transform.individualResult"),u=>({...u,data:u.data??{}}))}let a;function o(d){const u=d.reduce((h,p,y)=>(h.data.push(p.data),h.complete&&=p.complete,h.dataState=h.complete?"complete":"partial",p.missing&&(h.missing||={},h.missing[y]=p.missing),h),{data:[],dataState:"complete",complete:!0});return L(a,u)||(a=u),a}if(s.length===0)return Yu;let l=!1;const c=s.map(d=>this.watchSingleFragment(d,i,e)),f=au(c).pipe(me(o),mt({subscribe:()=>l=!0,unsubscribe:()=>l=!1}),hn({bufferSize:1,refCount:!0}));return Object.assign(f,{getCurrentResult:()=>l&&a?a:o(c.map(d=>d.getCurrentResult()))})}onAfterBroadcast=e=>e();watchSingleFragment(e,t,r){if(e===null)return Ju;const{optimistic:n=!0,variables:i}=r,s=[t,le({id:e,optimistic:n,variables:i})],a=this.fragmentWatches.lookupArray(s);if(!a.observable){let c=function(d){const u=d.result;return(!l||!Ss(t,{data:l.data},{data:u},r.variables))&&(l={data:u,dataState:d.complete?"complete":"partial",complete:d.complete},d.missing&&(l.missing=d.missing.missing)),l},o=!1,l;const f=new j(d=>{o=!0;const u=this.watch({variables:i,returnPartialData:!0,id:e,query:t,optimistic:n,immediate:!0,callback:h=>{f.dirty=!0,this.onAfterBroadcast(()=>{d.next(c(h)),f.dirty=!1})}});return()=>{o=!1,u(),this.fragmentWatches.removeArray(s)}}).pipe(Wc(),pt({connector:()=>new Ki(1),resetOnRefCountZero:()=>Vc(0)}));a.observable=Object.assign(f,{dirty:!1,getCurrentResult:()=>o&&l?l:c(this.diff({id:e,query:t,returnPartialData:!0,optimistic:n,variables:i}))})}return a.observable}getFragmentDoc=vt(cu,{max:ue["cache.fragmentQueryDocuments"]||1e3,cache:Xt,makeCacheKey:zu(this)});readFragment(e,t=!!e.optimistic){const r=e.from!==void 0?this.toCacheId(e.from):e.id;return this.read({...e,query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:r,optimistic:t})}writeQuery({id:e,data:t,...r}){return this.write(Object.assign(r,{dataId:e||"ROOT_QUERY",result:t}))}writeFragment({data:e,fragment:t,fragmentName:r,...n}){const i=n.from!==void 0?this.toCacheId(n.from):n.id;return this.write(Object.assign(n,{query:this.getFragmentDoc(t,r),dataId:i,result:e}))}updateQuery(e,t){return this.batch({update(r){const n=r.readQuery(e),i=t(n);return i==null?n:(r.writeQuery({...e,data:i}),i)}})}updateFragment(e,t){return this.batch({update(r){const n=r.readFragment(e),i=t(n);return i==null?n:(r.writeFragment({...e,data:i}),i)}})}toCacheId(e){return typeof e=="string"?e:this.identify(e)}},ni=Object.freeze({data:null,dataState:"complete",complete:!0}),Ju=Object.assign(new j(e=>{e.next(ni)}),{dirty:!1,getCurrentResult:()=>ni}),ii=Object.freeze({data:[],dataState:"complete",complete:!0}),Yu=Object.assign(new j(e=>{e.next(ii)}),{getCurrentResult:()=>ii}
37),Xu=class zs extends Error{message;path;query;variables;constructor(t,r,n,i){if(super(t),this.message=t,this.path=r,this.query=n,this.variables=i,this.name="MissingFieldError",Array.isArray(this.path)){this.missing=this.message;for(let s=this.path.length-1;s>=0;--s)this.missing={[this.path[s]]:this.missing}}else this.missing=this.path;this.__proto__=zs.prototype}missing},{hasOwnProperty:B}=Object.prototype;function Qs({__typename:e,id:t,_id:r},n){if(typeof e=="string"&&(n&&(n.keyObject=t!=null?{id:t}:r!=null?{_id:r}:void 0),t==null&&r!=null&&(t=r),t!=null))return`${e}:${typeof t=="number"||typeof t=="string"?t:JSON.stringify(t)}`}var Zu={dataIdFromObject:Qs,resultCaching:!0};function ef(e){return X(Zu,e)}var Bs=/^[_a-z][_0-9a-z]*/i;function Ye(e){const t=e.match(Bs);return t?t[0]:e}function Gr(e,t,r){return Y(t)?Q(t)?t.every(n=>Gr(e,n,r)):e.selections.every(n=>{if(St(n)&&cr(n,r)){const i=Ze(n);return B.call(t,i)&&(!n.selectionSet||Gr(n.selectionSet,t[i],r))}return!0}):!1}function je(e){return Y(e)&&!N(e)&&!Q(e)}function tf(){return new Ge}function $s(e,t){const r=_t(kt(e));return{fragmentMap:r,lookupFragment(n){let i=r[n];return!i&&t&&(i=t.lookup(n)),i||null}}}var zt={},Rr=()=>zt,si={},hr=class{policies;group;data={};constructor(e,t){this.policies=e,this.group=t}toObject(){return{...this.data}}has(e){return this.lookup(e,!0)!==void 0}get(e,t){if(this.group.depend(e,t),B.call(this.data,e)){const r=this.data[e];if(r&&B.call(r,t))return r[t]}if(t==="__typename"&&B.call(this.policies.rootTypenamesById,e))return this.policies.rootTypenamesById[e];if(this instanceof de)return this.parent.get(e,t)}lookup(e,t){if(t&&this.group.depend(e,"__exists"),B.call(this.data,e))return this.data[e];if(this instanceof de)return this.parent.lookup(e,t);if(this.policies.rootTypenamesById[e])return{}}merge(e,t){let r;N(e)&&(e=e.__ref),N(t)&&(t=t.__ref);const n=typeof e=="string"?this.lookup(r=e):e,i=typeof t=="string"?this.lookup(r=t):t;if(!i)return;x(typeof r=="string",104);const s=new Ge({reconciler:sf}).merge(n,i);if(this.data[r]=s,s!==n&&(delete this.refs[r],this.group.caching)){const a={};
37n||(a.__exists=1),Object.keys(i).forEach(o=>{if(!n||n[o]!==s[o]){a[o]=1;const l=Ye(o);l!==o&&!this.policies.hasKeyArgs(s.__typename,l)&&(a[l]=1),s[o]===void 0&&!(this instanceof de)&&delete s[o]}}),a.__typename&&!(n&&n.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete a.__typename,Object.keys(a).forEach(o=>this.group.dirty(r,o))}}modify(e,t,r){const n=this.lookup(e);if(n){const i={};let s=!1,a=!0;const o={DELETE:zt,INVALIDATE:si,isReference:N,toReference:this.toReference,canRead:this.canRead,readField:(l,c)=>this.policies.readField(typeof l=="string"?{fieldName:l,from:c||We(e)}:l,{store:this})};if(Object.keys(n).forEach(l=>{const c=Ye(l);let f=n[l];if(f===void 0)return;const d=typeof t=="function"?t:t[l]||(r?void 0:t[c]);if(d){let u=d===Rr?zt:d(f,{...o,fieldName:c,storeFieldName:l,storage:this.getStorage(e,l)});u===si?this.group.dirty(e,l):(u===zt&&(u=void 0),u!==f&&(i[l]=u,s=!0,f=u))}f!==void 0&&(a=!1)}),s)return this.merge(e,i),a&&(this instanceof de?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1}delete(e,t,r){const n=this.lookup(e);if(n){const i=this.getFieldValue(n,"__typename"),s=t&&r?this.policies.getStoreFieldName({typename:i,fieldName:t,args:r}):t;return this.modify(e,s?{[s]:Rr}:Rr,!!r)}return!1}evict(e,t){let r=!1;return e.id&&(B.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof de&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r}clear(){this.replace(null)}extract(){const e=this.toObject(),t=[];return this.getRootIdSet().forEach(r=>{B.call(this.policies.rootTypenamesById,r)||t.push(r)}),t.length&&(e.__META={extraRootIds:t.sort()}),e}replace(e){if(Object.keys(this.data).forEach(t=>{e&&B.call(e,t)||this.delete(t)}),e){const{__META:t,...r}=e;Object.keys(r).forEach(n=>{this.merge(n,r[n])}),t&&t.extraRootIds.forEach(this.retain,this)}}rootIds={};retain(e){return this.rootIds[e]=(this.rootIds[e]||0)+1}release(e){if(this.rootIds[e]>0){const t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0}getRootIdSet(e=new Set){return Object.keys(this.rootIds).forEach(e.add,e),this instanceof de?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e}gc(){const e=this.getRootIdSet(),t=this.toObject();e.forEach(n=>{B.call(t,n)&&(Object.keys(this.findChildRefIds(n)).forEach(e.add,e),delete t[n])});const r=Object.keys(t);if(r.length){let n=this;for(;n instanceof de;)n=n.parent;r.forEach(i=>n.delete(i))}return r}refs={};findChildRefIds(e){if(!B.call(this.refs,e)){const t=this.refs[e]={},r=this.data[e];if(!r)return t;const n=new Set([r]);n.forEach(i=>
37{N(i)&&(t[i.__ref]=!0),Y(i)&&Object.keys(i).forEach(s=>{const a=i[s];Y(a)&&n.add(a)})})}return this.refs[e]}makeCacheKey(){return this.group.keyMaker.lookupArray(arguments)}getFieldValue=(e,t)=>N(e)?this.get(e.__ref,t):e&&e[t];canRead=e=>N(e)?this.has(e.__ref):typeof e=="object";toReference=(e,t)=>{if(typeof e=="string")return We(e);if(N(e))return e;const[r]=this.policies.identify(e);if(r){const n=We(r);return t&&this.merge(r,e),n}};get supportsResultCaching(){return this.group.caching}},Us=class{caching;parent;d=null;keyMaker;constructor(e,t=null){this.caching=e,this.parent=t,this.resetCaching()}resetCaching(){this.d=this.caching?Ls():null,this.keyMaker=new Se}depend(e,t){if(this.d){this.d(Pr(e,t));const r=Ye(t);r!==t&&this.d(Pr(e,r)),this.parent&&this.parent.depend(e,t)}}dirty(e,t){this.d&&this.d.dirty(Pr(e,t),t==="__exists"?"forget":"setDirty")}};function Pr(e,t){return t+"#"+e}function ai(e,t){ct(e)&&e.group.depend(t,"__exists")}var rf=class extends hr{constructor({policies:e,resultCaching:t=!0,seed:r}){super(e,new Us(t)),r&&this.replace(r)}stump=new nf(this);addLayer(e,t){return this.stump.addLayer(e,t)}removeLayer(){return this}storageTrie=new Se;getStorage(){return this.storageTrie.lookupArray(arguments)}};hr.Root=rf;var de=class Hs extends hr{id;parent;replay;group;constructor(t,r,n,i){super(r.policies,i),this.id=t,this.parent=r,this.replay=n,this.group=i,n(this)}addLayer(t,r){return new Hs(t,this,r,this.group)}removeLayer(t){const r=this.parent.removeLayer(t);return t===this.id?(this.group.caching&&Object.keys(this.data).forEach(n=>{const i=this.data[n],s=r.lookup(n);
37s?i?i!==s&&Object.keys(i).forEach(a=>{L(i[a],s[a])||this.group.dirty(n,a)}):(this.group.dirty(n,"__exists"),Object.keys(s).forEach(a=>{this.group.dirty(n,a)})):this.delete(n)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)}toObject(){return{...this.parent.toObject(),...this.data}}findChildRefIds(t){const r=this.parent.findChildRefIds(t);return B.call(this.data,t)?{...r,...super.findChildRefIds(t)}:r}getStorage(...t){let r=this.parent;for(;r.parent;)r=r.parent;return r.getStorage(...t)}},nf=class extends de{constructor(e){super("EntityStore.Stump",e,()=>{},new Us(e.group.caching,e.group))}removeLayer(){return this}merge(e,t){return this.parent.merge(e,t)}};function sf(e,t,r){const n=e[r],i=t[r];return L(n,i)?n:i}function ct(e){return!!(e&&e.supportsResultCaching)}var Ks=new ur;function af(e){const t=e.directives?.find(({name:n})=>n.value==="unmask");if(!t)return"mask";const r=t.arguments?.find(({name:n})=>n.value==="mode");return r&&"value"in r.value&&r.value.value==="migrate"?"migrate":"unmask"}function Gs(e,t,r){return Ks.withValue(!0,()=>{const n=lt(e,t,r,!1);return Object.isFrozen(e)&&n,n})}function of(e,t){if(t.has(e))return t.get(e);const r=Array.isArray(e)?[]:{};return t.set(e,r),r}function lt(e,t,r,n,i){const{knownChanged:s}=r,a=of(e,r.mutableTargets);if(Array.isArray(e)){for(const[o,l]of Array.from(e.entries())){if(l===null){a[o]=null;continue}const c=lt(l,t,r,n,void 0);s.has(c)&&s.add(a),a[o]=c}return s.has(a)?a:e}for(const o of t.selections){let l;if(n&&s.add(a),o.kind===A.FIELD){const c=Ze(o),f=o.selectionSet;if(l=a[c]||e[c],l===void 0)continue;if(f&&l!==null){const d=lt(e[c],f,r,n,void 0);s.has(d)&&(l=d)}a[c]=l}if(o.kind===A.INLINE_FRAGMENT&&(!o.typeCondition||r.cache.fragmentMatches(o,e.__typename))&&(l=lt(e,o.selectionSet,r,n,i)),o.kind===A.FRAGMENT_SPREAD){const c=o.name.value,f=r.fragmentMap[c]||(r.fragmentMap[c]=r.cache.lookupFragment(c));x(f,39,c);const d=af(o);d!=="mask"&&(l=lt(e,f.selectionSet,r,d==="migrate",i))}s.has(l)&&s.add(a)}return"__typename"in e&&!("__typename"in a)&&(a.__typename=e.__typename),Object.keys(a).length!==Object.keys(e).length&&s.add(a),s.has(a)?a:e}function lf(e,t,r,n){const i=t.definitions.filter(a=>a.kind===A.FRAGMENT_DEFINITION);typeof n>"u"&&(x(i.length===1,41,i.length),n=i[0].name.value);const s=i.find(a=>a.name.value===n);return x(!!s,42,n),e==null||L(e,{})?e:Gs(e,s.selectionSet,{operationType:"fragment",operationName:s.name.value,fragmentMap:_t(kt(t)),cache:r,mutableTargets:new WeakMap,knownChanged:new WeakSet})}function cf(e,t,r){const n=fe(t);return x(n,43),e==null?e:Gs(e,n.selectionSet,{operationType:n.operation,operationName:n.name?.value,fragmentMap:_t(kt(t)),cache:r,mutableTargets:new WeakMap,knownChanged:new WeakSet})}var oi={};function _n(e){const t=JSON.stringify(e);return oi[t]||(oi[t]={})}function li(e){const t=_n(e);return t.keyFieldsFn||(t.keyFieldsFn=(r,n)=>{const i=(a,o)=>n.readField(o,a),s=n.keyObject=kn(e,a=>{let o=Qe(n.storeObject,a,i);return o===void 0&&r!==n.storeObject&&B.call(r,a[0])&&(o=Qe(r,a,Ys)),x(o!==void 0,107,a.join("."),r),o});return`${n.typename}:${JSON.stringify(s)}`})}function ci(e){const t=_n(e);return t.keyArgsFn||(t.keyArgsFn=(r,{field:n,variables:i,fieldName:s})=>{const a=kn(e,l=>{const c=l[0],f=c.charAt(0);if(f==="@"){if(n&&vn(n.directives)){const d=c.slice(1),u=n.directives.find(p=>p.name.value===d),h=u&&pn(u,i);return h&&Qe(h,l.slice(1))}return}if(f==="$"){const d=c.slice(1);if(i&&B.call(i,d)){const u=l.slice(0);return u[0]=d,Qe(i,u)}return}if(r)return Qe(r,l)}),o=JSON.stringify(a);return(r||o!=="{}")&&(s+=":"+o),s})}function kn(e,t){const r=new Ge;return Js(e).reduce((n,i)=>{let s=t(i);if(s!==void 0){for(let a=i.length-1;a>=0;--a)s={[i[a]]:s};n=r.merge(n,s)}return n},{})}function Js(e){const t=_n(e);if(!t.paths){const r=t.paths=[],n=[];e.forEach((i,s)=>{Q(i)?(Js(i).forEach(a=>r.push(n.concat(a))),n.length=0):(n.push(i),Q(e[s+1])||(r.push(n.slice(0)),n.length=0))})}return t.paths}function Ys(e,t){return e[t]}function Qe(e,t,r){return r=r||Ys,Xs(t.reduce(function n(i,s){return Q(i)?i.map(a=>n(a,s)):i&&r(i,s)},e))}function Xs(e){return Y(e)?Q(e)?e.map(Xs):kn(Object.keys(e).sort(),t=>Qe(e,t)):e}var Zs=new ur,ui=new WeakMap;function ut(e){let t=ui.get(e);return t||ui.set(e,t={vars:new Set,dep:Ls()}),t}
37function fi(e){ut(e).vars.forEach(t=>t.forgetCache(e))}function uf(e){ut(e).vars.forEach(t=>t.attachCache(e))}function ff(e){const t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(o=>{ut(o).dep.dirty(n),hf(o)});const a=Array.from(r);r.clear(),a.forEach(o=>o(e))}}else{const a=Zs.getValue();a&&(i(a),ut(a).dep(n))}return e};n.onNextChange=s=>(r.add(s),()=>{r.delete(s)});const i=n.attachCache=s=>(t.add(s),ut(s).vars.add(n),n);return n.forgetCache=s=>t.delete(s),n}function hf(e){e.broadcastWatches&&e.broadcastWatches()}function Jr(e){return e.args!==void 0?e.args:e.field?pn(e.field,e.variables):null}var df=()=>{},hi=(e,t)=>t.fieldName,di=(e,t,{mergeObjects:r})=>r(e,t),pi=(e,t)=>t,pf=(e,t,{streamFieldInfo:r,existingData:n})=>{if(!e&&!n)return t;const i=[],s=e??n,a=r?.isLastChunk?t.length:Math.max(s.length,t.length);for(let o=0;o<a;o++)i[o]=t[o]===void 0?s[o]:t[o];return i},mf=class{config;typePolicies={};toBeAdded={};supertypeMap=new Map;fuzzySubtypes=new Map;cache;rootIdsByTypename={};rootTypenamesById={};usingPossibleTypes=!1;constructor(e){this.config=e,this.config={dataIdFromObject:Qs,...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)}identify(e,t){const r=this,n=t&&(t.typename||t.storeObject?.__typename)||e.__typename;if(n===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];const i=t&&t.storeObject||e,s={...t,typename:n,storeObject:i,readField:t&&t.readField||((...c)=>{const f=Sn(c,i);return r.readField(f,{store:r.cache.data,variables:f.variables})})};let a;const o=n&&this.getTypePolicy(n);let l=o&&o.keyFn||this.config.dataIdFromObject;return Ks.withValue(!0,()=>{for(;l;){const c=l({...e,...i},s);if(Q(c))l=li(c);else{a=c;break}}}),a=a?String(a):void 0,s.keyObject?[a,s.keyObject]:[a]}addTypePolicies(e){Object.keys(e).forEach(t=>{const{queryType:r,mutationType:n,subscriptionType:i,...s}=e[t];r&&this.setRootTypename("Query",t),n&&this.setRootTypename("Mutation",t),i&&this.setRootTypename("Subscription",t),B.call(this.toBeAdded,t)?this.toBeAdded[t].push(s):this.toBeAdded[t]=[s]})}updateTypePolicy(e,t,r){const n=this.getTypePolicy(e),{keyFields:i,fields:s}=t;function a(o,l){o.merge=typeof l=="function"?l:l===!0?di:l===!1?pi:o.merge}a(n,t.merge),n.keyFn=i===!1?df:Q(i)?li(i):typeof i=="function"?i:n.keyFn,s&&Object.keys(s).forEach(o=>{let l=r[o];(!l||l?.typename!==e)&&(l=r[o]={typename:e});const c=s[o];if(typeof c=="function")l.read=c;else{const{keyArgs:f,read:d,merge:u}=c;l.keyFn=f===!1?hi:Q(f)?ci(f):typeof f=="function"?f:l.keyFn,typeof d=="function"&&(l.read=d),a(l,u)}l.read&&l.merge&&(l.keyFn=l.keyFn||hi)})}setRootTypename(e,t=e){const r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&(x(!n||n===e,108,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)}addPossibleTypes(e){this.usingPossibleTypes=!0,Object.keys(e).forEach(t=>{this.getSupertypeSet(t,!0),e[t].forEach(r=>{this.getSupertypeSet(r,!0).add(t);const n=r.match(Bs);(!n||n[0]!==r)&&this.fuzzySubtypes.set(r,new RegExp(r))})})}getTypePolicy(e){if(!B.call(this.typePolicies,e)){const r=this.typePolicies[e]={};r.fields={};let n=this.supertypeMap.get(e);!n&&this.fuzzySubtypes.size&&(n=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach((i,s)=>{if(i.test(e)){const a=this.supertypeMap.get(s);a&&a.forEach(o=>n.add(o))}})),n&&n.size&&n.forEach(i=>{const{fields:s,...a}=this.getTypePolicy(i);Object.assign(r,a),Object.assign(r.fields,s)})}const t=this.toBeAdded[e];return t&&t.length&&t.splice(0).forEach(r=>{this.updateTypePolicy(e,r,this.typePolicies[e].fields)}),this.typePolicies[e]}getFieldPolicy(e,t){if(e)return this.getTypePolicy(e).fields[t]}getSupertypeSet(e,t){let r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r}fragmentMatches(e,t,r,n){if(!e.typeCondition)return!0;if(!t)return!1;const i=e.typeCondition.name.value;if(t===i)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(i)){const s=this.getSupertypeSet(t,!0),a=[s],o=f=>{const d=this.getSupertypeSet(f,!1);d&&d.size&&a.indexOf(d)<0&&a.push(d)};let l=!!(r&&this.fuzzySubtypes.size),c=!1;for(let f=0;f<a.length;++f){const d=a[f];if(d.has(i))return s.has(i)||s.add(i),!0;d.forEach(o),l&&f===a.length-1&&Gr(e.selectionSet,r,n)&&(l=!1,c=!0,this.fuzzySubtypes.forEac
37h((u,h)=>{const p=t.match(u);p&&p[0]===t&&o(h)}))}}return!1}hasKeyArgs(e,t){const r=this.getFieldPolicy(e,t);return!!(r&&r.keyFn)}getStoreFieldName(e){const{typename:t,fieldName:r}=e,n=this.getFieldPolicy(t,r);let i,s=n&&n.keyFn;if(s&&t){const a={typename:t,fieldName:r,field:e.field||null,variables:e.variables},o=Jr(e);for(;s;){const l=s(o,a);if(Q(l))s=ci(l);else{i=l||r;break}}}return i===void 0&&(i=e.field?Eu(e.field,e.variables):_s(r,Jr(e))),i===!1?r:r===Ye(i)?i:r+":"+i}readField(e,t){const r=e.from;if(!r||!(e.field||e.fieldName))return;if(e.typename===void 0){const l=t.store.getFieldValue(r,"__typename");l&&(e.typename=l)}const n=this.getStoreFieldName(e),i=Ye(n),s=t.store.getFieldValue(r,n),a=this.getFieldPolicy(e.typename,i),o=a&&a.read;if(o){const l=ea(this,r,e,t,t.store.getStorage(N(r)?r.__ref:r,n));return Zs.withValue(this.cache,o,[s,l])}return s}getReadFunction(e,t){const r=this.getFieldPolicy(e,t);return r&&r.read}getMergeFunction(e,t,r){let n=this.getFieldPolicy(e,t),i=n&&n.merge;return!i&&r&&(n=this.getTypePolicy(r),i=n&&n.merge),i}runMergeFunction(e,t,{field:r,typename:n,merge:i,path:s},a,o){const l=e;if(i===di)return ta(a.store)(e,t);if(i===pi)return t;a.overwrite&&(e=void 0);const c=a.extensions?.[be]?.deref()?.peekArray(s);if(c){const{current:d,previous:u}=c;if(u&&L(u.incoming,t)&&L(u.streamFieldInfo,d))return u.result}const f=i(e,t,yf(this,void 0,{typename:n,fieldName:r.name.value,field:r,variables:a.variables,path:s},a,o||{},l));return c&&(c.previous={incoming:t,streamFieldInfo:c.current,result:f}),f}};function ea(e,t,r,n,i){const s=e.getStoreFieldName(r),a=Ye(s),o=r.variables||n.variables,{toReference:l,canRead:c}=n.store;return{args:Jr(r),field:r.field||null,fieldName:a,storeFieldName:s,variables:o,isReference:N,toReference:l,storage:i,cache:e.cache,canRead:c,readField(...f){return e.readField(Sn(f,t,o),n)},mergeObjects:ta(n.store)}}function yf(e,t,r,n,i,s){const a={...ea(e,t,r,n,i),extensions:n.extensions,existingData:s},o=n.extensions;if(o&&be in o){const{[be]:l,...c}=o,f=l?.deref()?.peekArray(r.path);f&&(a.streamFieldInfo=f.current),a.extensions=Object.keys(c).length===0?void 0:c}return a}function Sn(e,t,r){const{0:n,1:i,length:s}=e;let a;return typeof n=="string"?a={fieldName:n,from:s>1?i:t}:(a={...n},B.call(a,"from")||(a.from=t)),a.variables===void 0&&(a.variables=r),a}function ta(e){return function(r,n){if(Q(r)||Q(n))throw re(111);if(Y(r)&&Y(n)){const i=e.getFieldValue(r,"__typename"),s=e.getFieldValue(n,"__typename");if(i&&s&&i!==s)return n;if(N(r)&&je(n))return e.merge(r.__ref,n),r;if(je(r)&&N(n))return e.merge(r,n.__ref),n;if(je(r)&&je(n))return{...r,...n}}return n}}function mi(e){return[e.selectionSet,e.objectOrReference,e.context]}var vf=class{executeSelectionSet;executeSubSelectedArray;config;knownResults=new WeakMap;constructor(e){this.config=e,this.executeSelectionSet=vt(t=>{const r=mi(t),n=this.executeSelectionSet.peek(...r);return n||(ai(t.context.store,t.enclosingRef.__ref),this.execSelectionSetImpl(t))},{max:ue["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:mi,makeCacheKey(t,r,n){if(ct(n.store))return n.store.makeCacheKey(t,N(r)?r.__ref:r,n.varString)}}),this.executeSubSelectedArray=vt(t=>(ai(t.context.store,t.enclosingRef.__ref),this.execSubSelectedArrayImpl(t)),{max:ue["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey({field:t,array:r,context:n}){if(ct(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}diffQueryAgainstStore({store:e,query:t,rootId:r="ROOT_QUERY",variables:n,returnPartialData:i=!0}){const s=this.config.cache.policies;n={...yn(fu(t)),...n};const a=We(r),o=this.executeSelectionSet({selectionSet:ws(t).selectionSet,objectOrReference:a,enclosingRef:a,context:{store:e,query:t,policies:s,variables:n,varString:le(n),...$s(t,this.config.fragments)}});let l;o.missing&&(l=new Xu(gf(o.missing),o.missing,t,n));const c=!l,{result:f}=o;return{result:c?f:i?Object.keys(f).length===0?null:f:null,complete:c,missing:l}}isFresh(e,t,r,n){if(ct(n.store)&&this.knownResults.get(e)===r){const i=this.executeSelectionSet.peek(r,t,n);if(i&&e===i.result)return!0}return!1}execSelectionSetImpl({selectionSet:e,objectOrReference:t,enclosingRef:r,context:n}){if(N(t)&&!n.policies.rootTypenamesById[t.__ref]&&!n.store.has(t.__ref))return{result:{},missing:`Dangling reference to missing ${t.__ref} object`};const{variables:i,policies:s,store:a}=n,o=a.getFieldValue(t,"__typename"),l=[];let c;const f=new Ge;
37typeof o=="string"&&!s.rootIdsByTypename[o]&&l.push({__typename:o});function d(y,m){return y.missing&&(c=f.merge(c,{[m]:y.missing})),y.result}const u=new Set(e.selections);u.forEach(y=>{if(cr(y,i))if(St(y)){let m=s.readField({fieldName:y.name.value,field:y,variables:n.variables,from:t},n);const v=Ze(y);m===void 0?qs.added(y)||(c=f.merge(c,{[v]:`Can't find field '${y.name.value}' on ${N(t)?t.__ref+" object":"object "+JSON.stringify(t,null,2)}`})):Q(m)?m.length>0&&(m=d(this.executeSubSelectedArray({field:y,array:m,enclosingRef:r,context:n}),v)):y.selectionSet&&m!=null&&(m=d(this.executeSelectionSet({selectionSet:y.selectionSet,objectOrReference:m,enclosingRef:N(m)?m:r,context:n}),v)),m!==void 0&&l.push({[v]:m})}else{const m=lr(y,n.lookupFragment);if(!m&&y.kind===A.FRAGMENT_SPREAD)throw re(112,y.name.value);m&&s.fragmentMatches(m,o)&&m.selectionSet.selections.forEach(u.add,u)}});const h={result:vu(l),missing:c},p=h;return p.result&&this.knownResults.set(p.result,e),p}execSubSelectedArrayImpl({field:e,array:t,enclosingRef:r,context:n}){let i,s=new Ge;
37function a(o,l){return o.missing&&(i=s.merge(i,{[l]:o.missing})),o.result}return e.selectionSet&&(t=t.filter(o=>o===void 0||n.store.canRead(o))),t=t.map((o,l)=>o===null?null:Q(o)?a(this.executeSubSelectedArray({field:e,array:o,enclosingRef:r,context:n}),l):e.selectionSet?a(this.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:o,enclosingRef:N(o)?o:r,context:n}),l):o),{result:t,missing:i}}};function gf(e){try{JSON.stringify(e,(t,r)=>{if(typeof r=="string")throw r;return r})}catch(t){return t}}function Fr(e,t,r){const n=`${t}${r}`;let i=e.flavors.get(n);return i||e.flavors.set(n,i=e.clientOnly===t&&e.deferred===r?e:{...e,clientOnly:t,deferred:r}),i}var bf=class{cache;reader;fragments;constructor(e,t,r){this.cache=e,this.reader=t,this.fragments=r}writeToStore(e,{query:t,result:r,dataId:n,variables:i,overwrite:s,extensions:a}){const o=fe(t),l=tf();i={...yn(o),...i};const c={store:e,written:{},merge(d,u){return l.merge(d,u)},variables:i,varString:le(i),...$s(t,this.fragments),overwrite:!!s,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map,extensions:a},f=this.processSelectionSet({result:r||{},dataId:n,selectionSet:o.selectionSet,mergeTree:{map:new Map},context:c,path:[]});if(!N(f))throw re(114,r);return c.incomingById.forEach(({storeObject:d,mergeTree:u,fieldNodeSet:h},p)=>{const y=We(p);if(u&&u.map.size){const m=this.applyMerges(u,y,d,c);if(N(m))return;d=m}e.merge(p,d)}),e.retain(f.__ref),f}processSelectionSet({dataId:e,result:t,selectionSet:r,context:n,mergeTree:i,path:s}){const{policies:a}=this.cache;let o={};const l=e&&a.rootTypenamesById[e]||Xr(t,r,n.fragmentMap)||e&&n.store.get(e,"__typename");typeof l=="string"&&(o.__typename=l);const c=(...d)=>{const u=Sn(d,o,n.variables);if(N(u.from)){const h=n.incomingById.get(u.from.__ref);if(h){const p=a.readField({...u,from:h.storeObject},n);if(p!==void 0)return p}}
37return a.readField(u,n)},f=new Set;this.flattenFields(r,t,n,l).forEach((d,u)=>{const h=t[Ze(u)],p=[...s,u.name.value];if(f.add(u),h!==void 0){const y=a.getStoreFieldName({typename:l,fieldName:u.name.value,field:u,variables:d.variables}),m=yi(i,y);let v=this.processFieldValue(h,u,u.selectionSet?Fr(d,!1,!1):d,m,p),w;u.selectionSet&&(N(v)||je(v))&&(w=c("__typename",v));const g=a.getMergeFunction(l,u.name.value,w);g?m.info={field:u,typename:l,merge:g,path:p}:d.extensions?.[be]&&Array.isArray(v)&&wf(u)?m.info={field:u,typename:l,merge:pf,path:p}:vi(i,y),o=d.merge(o,{[y]:v})}});try{const[d,u]=a.identify(t,{typename:l,selectionSet:r,fragmentMap:n.fragmentMap,storeObject:o,readField:c});e=e||d,u&&(o=n.merge(o,u))}catch(d){if(!e)throw d}if(typeof e=="string"){const d=We(e),u=n.written[e]||(n.written[e]=[]);if(u.indexOf(r)>=0||(u.push(r),this.reader&&this.reader.isFresh(t,d,r,n)))return d;const h=n.incomingById.get(e);return h?(h.storeObject=n.merge(h.storeObject,o),h.mergeTree=Yr(h.mergeTree,i),f.forEach(p=>h.fieldNodeSet.add(p))):n.incomingById.set(e,{storeObject:o,mergeTree:er(i)?void 0:i,fieldNodeSet:f}),d}return o}processFieldValue(e,t,r,n,i){return!t.selectionSet||e===null?e:Q(e)?e.map((s,a)=>{const o=this.processFieldValue(s,t,r,yi(n,a),[...i,a]);return vi(n,a),o}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n,path:i})}flattenFields(e,t,r,n=Xr(t,e,r.fragmentMap)){const i=new Map,{policies:s}=this.cache,a=new Se(!1);return(function o(l,c){const f=a.lookup(l,c.clientOnly,c.deferred);f.visited||(f.visited=!0,l.selections.forEach(d=>{if(!cr(d,r.variables))return;let{clientOnly:u,deferred:h}=c;if(!(u&&h)&&vn(d.directives)&&d.directives.forEach(p=>{const y=p.name.value;if(y==="client"&&(u=!0),y==="defer"){const m=pn(p,r.variables);(!m||m.if!==!1)&&(h=!0)}}),St(d)){const p=i.get(d);p&&(u=u&&p.clientOnly,h=h&&p.deferred),i.set(d,Fr(r,u,h))}else{const p=lr(d,r.lookupFragment);if(!p&&d.kind===A.FRAGMENT_SPREAD)throw re(116,d.name.value);p&&s.fragmentMatches(p,n,t,r.variables)&&o(p.selectionSet,Fr(r,u,h))}}))})(e,r),i}applyMerges(e,t,r,n,i){if(e.map.size&&!N(r)){const s=!Q(r)&&(N(t)||je(t))?t:void 0,a=r;s&&!i&&(i=[N(s)?s.__ref:s]);let o;const l=(c,f)=>Q(c)?typeof f=="number"?c[f]:void 0:n.store.getFieldValue(c,String(f));e.map.forEach((c,f)=>{const d=l(s,f),u=l(a,f);if(u===void 0)return;i&&i.push(f);const h=this.applyMerges(c,d,u,n,i);h!==u&&(o=o||new Map,o.set(f,h)),i&&x(i.pop()===f)}),o&&(r=Q(a)?a.slice(0):{...a},o.forEach((c,f)=>{r[f]=c}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,n,i&&n.store.getStorage(...i)):r}},ra=[];function yi({map:e},t){return e.has(t)||e.set(t,ra.pop()||{map:new Map}),e.get(t)}function Yr(e,t){if(e===t||!t||er(t))return e;if(!e||er(e))return t;const r=e.info&&t.info?{...e.info,...t.info}:e.info||t.info,n=e.map.size&&t.map.size,i={info:r,map:n?new Map:e.map.size?e.map:t.map};if(n){const s=new Set(t.map.keys());e.map.forEach((a,o)=>{i.map.set(o,Yr(a,t.map.get(o))),s.delete(o)}),s.forEach(a=>{i.map.set(a,Yr(t.map.get(a),e.map.get(a)))})}return i}function wf(e){return!!e.directives&&e.directives.some(t=>t.name.value==="stream")}function er(e){return!e||!(e.info||e.map.size)}function vi({map:e},t){const r=e.get(t);r&&er(r)&&(ra.push(r),e.delete(t))}function Xr(e,t,r){let n;for(const i of t.selections)if(St(i)){if(i.name.value==="__typename")return e[Ze(i)]}else n?n.push(i):n=[i];if(typeof e.__typename=="string")return e.__typename;if(n)for(const i of n){const s=Xr(e,lr(i,r).selectionSet,r);if(typeof s=="string")return s}}var _f=class extends Gu{data;optimisticData;config;watches=new Set;storeReader;storeWriter;addTypenameTransform=new wn(qs);maybeBroadcastWatch;assumeImmutableResults=!0;policies;makeVar=ff;constructor(e={}){super(),this.config=ef(e),this.policies=new mf({cache:this,dataIdFromObject:this.config.dataIdFromObject,possibleTypes:this.config.possibleTypes,typePolicies:this.config.typePolicies}),this.init()}init(){const e=this.data=new hr.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()}resetResultCache(){const{fragments:e}=this.config;this.addTypenameTransform.resetCache(),e?.resetCaches(),this.storeWriter=new bf(this,this.storeReader=new vf({cache:this,fragments:e}),e),this.maybeBroadcastWatch=vt((t,r)=>this.broadcastWatch(t,r),{max:ue["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:t=>{const r=t.optimistic?this.optimisticData:this.data;if(ct(r)){const{optimistic:n,id:i,variables:s}=t;return r.makeCacheKey(t.query,t.callback,le({optimistic:n,id:i,variables:s}))}}}
37),new Set([this.data.group,this.optimisticData.group]).forEach(t=>t.resetCaching())}restore(e){return this.init(),e&&this.data.replace(e),this}extract(e=!1){return(e?this.optimisticData:this.data).extract()}read(e){const{returnPartialData:t=!1}=e;return this.storeReader.diffQueryAgainstStore({...e,store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:t}).result}write(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}}modify(e){if(B.call(e,"id")&&!e.id)return!1;const t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields,!1)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}}diff(e){return this.storeReader.diffQueryAgainstStore({...e,store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config})}watch(e){return this.watches.size||uf(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),()=>{this.watches.delete(e)&&!this.watches.size&&fi(this),this.maybeBroadcastWatch.forget(e)}}gc(e){le.reset(),ze.reset();const t=this.optimisticData.gc();return e&&!this.txCount&&e.resetResultCache&&this.resetResultCache(),t}retain(e,t){return(t?this.optimisticData:this.data).retain(e)}release(e,t){return(t?this.optimisticData:this.data).release(e)}identify(e){if(N(e))return e.__ref;try{return this.policies.identify(e)[0]}catch{}}evict(e){if(!e.id){if(B.call(e,"id"))return!1;e={...e,id:"ROOT_QUERY"}}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}}reset(e){return this.init(),le.reset(),e&&e.discardWatches?(this.watches.forEach(t=>this.maybeBroadcastWatch.forget(t)),this.watches.clear(),fi(this)):this.broadcastWatches(),Promise.resolve()}removeOptimistic(e){const t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())}txCount=0;batch(e){const{update:t,optimistic:r=!0,removeOptimistic:n,onWatchUpdated:i}=e;let s;const a=l=>{const{data:c,optimisticData:f}=this;++this.txCount,l&&(this.data=this.optimisticData=l);try{return s=t(this)}finally{--this.txCount,this.data=c,this.optimisticData=f}},o=new Set;return i&&!this.txCount&&this.broadcastWatches({...e,onWatchUpdated(l){return o.add(l),!1}}),typeof r=="string"?this.optimisticData=this.optimisticData.addLayer(r,a):r===!1?a(this.data):a(),typeof n=="string"&&(this.optimisticData=this.optimisticData.removeLayer(n)),i&&o.size?(this.broadcastWatches({...e,onWatchUpdated(l,c){const f=i.call(this,l,c);return f!==!1&&o.delete(l),f}}),o.size&&o.forEach(l=>this.maybeBroadcastWatch.dirty(l))):this.broadcastWatches(e),s}performTransaction(e,t){return this.batch({update:e,optimistic:t||t!==null})}transformDocument(e){return this.addTypenameTransform.transformDocument(this.addFragmentsToDocument(e))}fragmentMatches(e,t){return this.policies.fragmentMatches(e,t)}lookupFragment(e){return this.config.fragments?.lookup(e)||null}resolvesClientField(e,t){return!!this.policies.getReadFunction(e,t)}broadcastWatches(e){if(!this.txCount){const t=this.onAfterBroadcast,r=new Set;this.onAfterBroadcast=n=>{r.add(n)};try{this.watches.forEach(n=>this.maybeBroadcastWatch(n,e)),r.forEach(n=>n())}finally{this.onAfterBroadcast=t}}}addFragmentsToDocument(e){const{fragments:t}=this.config;return t?t.transform(e):e}broadcastWatch(e,t){const{lastDiff:r}=e,n=this.diff(e);t&&(e.optimistic&&typeof t.optimistic=="string"&&(n.fromOptimisticTransaction=!0),t.onWatchUpdated&&t.onWatchUpdated.call(this,e,n,r)===!1)||(!r||!L(r.result,n.result))&&e.callback(e.lastDiff=n,r)}};function Et(e,t){return typeof e=="object"&&e!==null&&e[Symbol.for("apollo.error")]===t}function Ot(e){Object.defineProperty(e,Symbol.for("apollo.error"),{value:e.name,enumerable:!1,writable:!1,configurable:!1})}function gi(e){return e.map(t=>t.message||"Error message not found.").join(`
38`)}var na=class Zr extends Error{static is(t){return Et(t,"CombinedProtocolErrors")}static formatMessage=gi;errors;constructor(t){super(Zr.formatMessage(t,{defaultFormatMessage:gi}
38)),this.name="CombinedProtocolErrors",this.errors=t,Ot(this),Object.setPrototypeOf(this,Zr.prototype)}};function kf(e){return e!==null&&typeof e=="object"&&typeof e.message=="string"&&typeof e.name=="string"&&(typeof e.stack=="string"||typeof e.stack>"u")}var Sf=class ia extends Error{static is(t){return Et(t,"UnconventionalError")}constructor(t){super("An error of unexpected shape occurred.",{cause:t}),this.name="UnconventionalError",Ot(this),Object.setPrototypeOf(this,ia.prototype)}};function bi(e){return e.filter(t=>t).map(t=>t.message||"Error message not found.").join(`
39`)}var rt=class en extends Error{static is(t){return Et(t,"CombinedGraphQLErrors")}static formatMessage=bi;errors;data;extensions;constructor(t,r=t.errors||[]){super(en.formatMessage(r,{result:t,defaultFormatMessage:bi})),this.errors=r,this.data=t.data,this.extensions=t.extensions,this.name="CombinedGraphQLErrors",Ot(this),Object.setPrototypeOf(this,en.prototype)}},Ef=new WeakSet;function Of(e){Ef.add(e)}var sa=class aa extends Error{static is(t){return Et(t,"ServerError")}response;statusCode;bodyText;constructor(t,r){super(t),this.name="ServerError",this.response=r.response,this.statusCode=r.response.status,this.bodyText=r.bodyText,Ot(this),Ob
39ject.setPrototypeOf(this,aa.prototype)}},oa=class la extends Error{static is(t){return Et(t,"ServerParseError")}response;statusCode;bodyText;constructor(t,r){super(t instanceof Error?t.message:"Could not parse server response",{cause:t}),this.name="ServerParseError",this.response=r.response,this.statusCode=r.response.status,this.bodyText=r.bodyText,Ot(this),Object.setPrototypeOf(this,la.prototype)}},tr=Symbol();function Cf(e){return"extensions"in e?na.is(e.extensions[tr]):!1}function Tf(e){return kf(e)?e:typeof e=="string"?new Error(e,{cause:e}):new Sf(e)}var T;(function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error",e[e.streaming=9]="streaming"})(T||(T={}));var{assign:wi,hasOwnProperty:Sd}=Object,Ae={loading:!0,networkStatus:T.loading,data:void 0,dataState:"empty",partial:!0},xr={loading:!1,networkStatus:T.ready,data:void 0,dataState:"empty",partial:!0},Dr=class{options;queryName;variablesUnknown=!1;_lastWrite;get query(){return this.lastQuery}get variables(){return this.options.variables}unsubscribeFromCache;input;subject;isTornDown;queryManager;subscriptions=new Set;waitForNetworkResult;lastQuery;linkSubscription;pollingInfo;get networkStatus(){return this.subject.getValue().result.networkStatus}get cache(){return this.queryManager.cache}constructor({queryManager:e,options:t,transformedQuery:r=e.transform(t.query)}){this.queryManager=e,this.waitForNetworkResult=t.fetchPolicy==="network-only",this.isTornDown=!1,this.subscribeToMore=this.subscribeToMore.bind(this),this.maskResult=this.maskResult.bind(this);const{watchQuery:{fetchPolicy:n="cache-first"}={}}=e.defaultOptions,{fetchPolicy:i=n,initialFetchPolicy:s=i==="standby"?n:i}=t;t[Du]&&(x(i==="standby",82),this.variablesUnknown=!0),this.lastQuery=r,this.options={...t,initialFetchPolicy:s,fetchPolicy:i,variables:this.getVariablesWithDefaults(t.variables)},this.initializeObservablesQueue(),this["@@observable"]=()=>this,Symbol.observable&&(this[Symbol.observable]=()=>this);const a=fe(this.query);this.queryName=a&&a.name&&a.name.value}initializeObservablesQueue(){this.subject=new dc({query:this.query,variables:this.variables,result:Ae,meta:{}});const e=this.subject.pipe(mt({subscribe:()=>{this.subject.observed||(this.reobserve(),setTimeout(()=>this.updatePolling()))},unsubscribe:()=>{this.subject.observed||this.tearDownQuery()}}),$r(({query:t,variables:r,result:n,meta:i},s)=>{const{shouldEmit:a}=i;if(n===Ae&&(s.previous=void 0,s.previousVariables=void 0),this.options.fetchPolicy==="standby"||a===2)return;if(a===1)return c();const{previous:o,previousVariables:l}=s;if(o){const f=this.queryManager.getDocumentInfo(t),d=this.queryManager.dataMasking,u=d?f.nonReactiveQuery:t;if((d||f.hasNonreactiveDirective?Ss(u,o,n,r):L(o,n))&&L(l,r))return}if(a===3&&(!this.options.notifyOnNetworkStatusChange||L(o,n)))return;return c();function c(){return s.previous=n,s.previousVariables=r,n}},()=>({})));this.pipe=e.pipe.bind(e),this.subscribe=e.subscribe.bind(e),this.input=new Xe,this.input.complete=()=>{},this.input.pipe(this.operator).subscribe(this.subject)}subscribe;pipe;[Symbol.observable];"@@observable";getCacheDiff({optimistic:e=!0}={}){return this.cache.diff({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:e})}getInitialResult(e){let t=e||this.options.fetchPolicy;this.queryManager.prioritizeCacheValues&&(t==="network-only"||t==="cache-and-network")&&(t="cache-first");const r=()=>{const n=this.getCacheDiff(),i=this.options.returnPartialData||n.complete?n.result??void 0:void 0;return this.maskResult({data:i,dataState:n.complete?"complete":i===void 0?"empty":"partial",loading:!n.complete,networkStatus:n.complete?T.ready:T.loading,partial:!n.complete})};switch(t){case"cache-only":return{...r(),loading:!1,networkStatus:T.ready};case"cache-first":return r();case"cache-and-network":return{...r(),loading:!0,networkStatus:T.loading};case"standby":return xr;default:return Ae}}resubscribeCache(){const{variables:e,fetchPolicy:t}=this.options,r=this.query,n=t==="standby"||t==="no-cache"||this.waitForNetworkResult,i=!nt({query:r,variables:e},this.unsubscribeFromCache)&&!this.waitForNetworkResult;if((n||i)&&this.unsubscribeFromCache?.(),n||!i)return;const s={query:r,variables:e,optimistic:!0,watcher:this,callback:o=>{const l=this.queryManager.getDocumentInfo(r);
39if((l.hasClientExports||l.hasForcedResolvers)&&(s.lastDiff=void 0),s.lastOwnDiff===o)return;const{result:c}=this.subject.getValue();!o.complete&&(c.error||c===Ae||c===xr)||L(c.data,o.result)||this.scheduleNotify()}},a=this.cache.watch(s);this.unsubscribeFromCache=Object.assign(()=>{this.unsubscribeFromCache=void 0,a()},{query:r,variables:e})}stableLastResult;getCurrentResult(){const{result:e}=this.subject.getValue();let t=e.networkStatus===T.error||this.hasObservers()||this.options.fetchPolicy==="no-cache"?e:this.getInitialResult();return t===Ae&&(t=this.getInitialResult()),L(this.stableLastResult,t)||(this.stableLastResult=t),this.stableLastResult}refetch(e){const{fetchPolicy:t}=this.options,r={pollInterval:0};return t==="no-cache"?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",e&&!L(this.variables,e)&&(r.variables=this.options.variables=this.getVariablesWithDefaults({...this.variables,...e})),this._lastWrite=void 0,this._reobserve(r,{newNetworkStatus:T.refetch})}fetchMore({query:e,variables:t,context:r,errorPolicy:n,updateQuery:i}){x(this.options.fetchPolicy!=="cache-only",84,Ke(this.query,"(anonymous)"));const s={...X(this.options,{errorPolicy:"none"},{query:e,context:r,errorPolicy:n}),variables:e?t:{...this.variables,...t},fetchPolicy:"no-cache",notifyOnNetworkStatusChange:this.options.notifyOnNetworkStatusChange};s.query=this.transformDocument(s.query),this.lastQuery=e?this.transformDocument(this.options.query):s.query;let a=!1;const o=this.options.fetchPolicy!=="no-cache";o||x(i,85);const{finalize:l,pushNotification:c}=this.pushOperation(T.fetchMore);c({source:"newNetworkStatus",kind:"N",value:{}},{shouldEmit:3});const{promise:f,operator:d}=_i(),{observable:u}=this.queryManager.fetchObservableWithInfo(s,{networkStatus:T.fetchMore,exposeExtensions:!0}),h=u.pipe(d,fs(p=>p.kind==="N"&&p.source==="network")).subscribe({next:p=>{a=!1;const y=p.value,m=y[Es];if(Ws(p.value.networkStatus)&&l(),o){const v=this.getCacheDiff();this.cache.batch({update:w=>{i?w.updateQuery({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:!1,extensions:m},g=>i(g,{fetchMoreResult:y.data,variables:s.variables})):w.writeQuery({query:s.query,variables:s.variables,data:y.data,extensions:m})},onWatchUpdated:(w,g)=>{if(w.watcher===this&&!L(g.result,v.result)){a=!0;const b=this.getCurrentResult();Wt(y.networkStatus)&&c({kind:"N",source:"network",value:{...b,networkStatus:y.networkStatus===T.error?T.ready:y.networkStatus,loading:!1,data:g.result,dataState:y.dataState==="streaming"?"streaming":"complete"}})}}})}else{const v=this.getCurrentResult(),w=i(v.data,{fetchMoreResult:y.data,variables:s.variables});c({kind:"N",value:{...v,networkStatus:T.ready,loading:!1,data:w,dataState:v.dataState==="streaming"?"streaming":"complete"},source:"network"})}}});return Bn(f.then(p=>ot(this.maskResult(p))).finally(()=>{if(h.unsubscribe(),l(),o&&!a){const p=this.getCurrentResult();p.dataState==="streaming"?c({kind:"N",source:"network",value:{...p,dataState:"complete",networkStatus:T.ready}}):c({kind:"N",source:"newNetworkStatus",value:{}},{shouldEmit:1})}}))}subscribeToMore(e){const t=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:r=>{const{updateQuery:n,onError:i}=e,{error:s}=r;if(s){i?i(s):x.error(86,s);return}n&&this.updateQuery((a,o)=>n(a,{subscriptionData:r,...o}))}});return this.subscriptions.add(t),()=>{this.subscriptions.delete(t)&&t.unsubscribe()}}applyOptions(e){const t=X(this.options,e||{});wi(this.options,t),this.updatePolling()}async setVariables(e){return e=this.getVariablesWithDefaults(e),L(this.variables,e)?ot(this.getCurrentResult()):(this.options.variables=e,this.hasObservers()?this._reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},{newNetworkStatus:T.setVariables}):ot(this.getCurrentResult()))}updateQuery(e){const{queryManager:t}=this,{result:r,complete:n}=this.getCacheDiff({optimistic:!1}),i=e(r,{variables:this.variables,complete:!!n,previousData:r});i&&(this.cache.writeQuery({query:this.options.query,data:i,variables:this.variables}),t.broadcastQueries())}startPolling(e){this.options.pollInterval=e,this.updatePolling()}stopPolling(){this.options.pollInterval=0,this.updatePolling()}applyNextFetchPolicy(e,t){if(t.nextFetchPolicy){const{fetchPolicy:r="cache-first",initialFetchPolicy:n=r}=t;r==="standby"||(typeof t.nextFetchPolicy=="function"?t.fetchPolicy=t.nextFetchPolicy.call(t,r,{reason:e,options:t,observable:this,initialFetchPolicy:n}):e==="variables-changed"?t.fetchPolicy=n:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy}fetch(e,t,r,n){const i=this.options.fetchPolicy;e.context??={};let s=!1;const a=()=>{s=!0},o=y=>new j(m=>{try{return y.subscribe({next(v){s=!0,m.next(v)},error:v=>m.error(v),complete:()=>m.complete()})}finally{s||(u.override=t,this.input.next({kind:"N",source:"newNetworkStatus",value:{resetError:!0},query:f,variables:d,meta:{shouldEmit:3,fetchPolicy:i}}))}});let{observable:l,fromLink:c}=this.queryManager.fetchObservableWithInfo(e,{networkStatus:t,query:r,onCacheHit:a,fetchQueryOperator:o,observableQuery:this});const{query:f,variables:d}=this,u={abort:()=>{p.unsubscribe()},query:f,variables:d};this.activeOperations.add(u);let h=t==T.refetch||t==T.setVariables;
39l=l.pipe(n,pt());const p=l.pipe(mt({next:y=>{y.source==="newNetworkStatus"||y.kind==="N"&&y.value.loading?u.override=t:delete u.override},finalize:()=>this.activeOperations.delete(u)})).subscribe({next:y=>{const m={};h&&y.kind==="N"&&"loading"in y.value&&!y.value.loading&&(h=!1,m.shouldEmit=1),this.input.next({...y,query:f,variables:d,meta:m})}});return{fromLink:c,subscription:p,observable:l}}didWarnCacheOnlyPolling=!1;updatePolling(){if(this.queryManager.ssrMode)return;const{pollingInfo:e,options:{fetchPolicy:t,pollInterval:r}}=this,n=()=>{const{options:o}=this;return!o.pollInterval||!this.hasObservers()||o.fetchPolicy==="cache-only"||o.fetchPolicy==="standby"};if(n()){this.cancelPolling();return}if(e?.interval===r)return;const i=e||(this.pollingInfo={});i.interval=r;const s=()=>{if(n())return this.cancelPolling();this.pollingInfo&&(!Wt(this.networkStatus)&&!this.options.skipPollAttempt?.()?this._reobserve({fetchPolicy:this.options.initialFetchPolicy==="no-cache"?"no-cache":"network-only"},{newNetworkStatus:T.poll}).then(a,a):a())},a=()=>{const o=this.pollingInfo;o&&(clearTimeout(o.timeout),o.timeout=setTimeout(s,o.interval))};a()}cancelPolling(){this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),delete this.pollingInfo)}reobserve(e){return this._reobserve(e)}_reobserve(e,t){this.isTornDown=!1;let{newNetworkStatus:r}=t||{};this.queryManager.obsQueries.add(this);const n=r===T.refetch||r===T.poll,i=this.variables,s=this.options.fetchPolicy,a=X(this.options,e||{});this.variablesUnknown&&=a.fetchPolicy==="standby";const o=n?a:wi(this.options,a),l=this.transformDocument(o.query);this.lastQuery=l,e&&"variables"in e&&(o.variables=this.getVariablesWithDefaults(e.variables)),n||(this.updatePolling(),e&&e.variables&&!L(e.variables,i)&&o.fetchPolicy!=="standby"&&(o.fetchPolicy===s||typeof o.nextFetchPolicy=="function")&&(this.applyNextFetchPolicy("variables-changed",o),r===void 0&&(r=T.setVariables)));const c=this.networkStatus;r||(r=T.loading,c!==T.loading&&e?.variables&&!L(e.variables,i)&&(r=T.setVariables),o.fetchPolicy==="standby"&&(r=T.ready)),o.fetchPolicy==="standby"&&this.cancelPolling(),this.resubscribeCache();const{promise:f,operator:d}=_i(o.fetchPolicy==="standby"?{data:void 0}:void 0),{subscription:u,observable:h,fromLink:p}=this.fetch(o,r,l,d);!n&&(p||!this.linkSubscription)&&(this.linkSubscription&&this.linkSubscription.unsubscribe(),this.linkSubscription=u);const y=Object.assign(Bn(f.then(m=>ot(this.maskResult(m))).finally(()=>{!this.hasObservers()&&this.activeOperations.size===0&&this.tearDownQuery()})),{retain:()=>{const m=h.subscribe({}),v=()=>m.unsubscribe();return f.then(v,v),y}});return y}hasObservers(){return this.subject.observed}stop(){this.subject.complete(),this.initializeObservablesQueue(),this.tearDownQuery()}tearDownQuery(){this.isTornDown||(this.resetNotifications(),this.unsubscribeFromCache?.(),this.linkSubscription&&(this.linkSubscription.unsubscribe(),delete this.linkSubscription),this.stopPolling(),this.subscriptions.forEach(e=>e.unsubscribe()),this.subscriptions.clear(),this.queryManager.obsQueries.delete(this),this.isTornDown=!0,this.abortActiveOperations(),this._lastWrite=void 0)}transformDocument(e){return this.queryManager.transform(e)}maskResult(e){const t=this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,cause:this});return t===e.data?e:{...e,data:t}}dirty=!1;notifyTimeout;resetNotifications(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0),this.dirty=!1}scheduleNotify(){this.dirty||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(()=>this.notify(!0),0)))}notify(e=!1){if(!e){const r=this.queryManager.getDocumentInfo(this.query);if(r.hasClientExports||r.hasForcedResolvers)return}const{dirty:t}=this;if(this.resetNotifications(),t&&(this.options.fetchPolicy==="cache-only"||this.options.fetchPolicy==="cache-and-network"||!this.activeOperations.size)){const r=this.getCacheDiff();L(r.result,this.getCacheDiff({optimistic:!1}).result)?this.reobserveCacheFirst():this.input.next({kind:"N",value:{data:r.result,dataState:r.complete?"complete":r.result?"partial":"empty",networkStatus:T.ready,loading:!1,error:void 0,partial:!r.complete},source:"cache",query:this.query,variables:this.variables,meta:{}})}}activeOperations=new Set;pushOperation(e){let t=!1;const{query:r,variables:n}=this,i=()=>{this.activeOperations.delete(s)},s={override:e,abort:()=>{t=!0,i()},query:r,variables:n};return this.activeOperations.add(s),{finalize:i,pushNotification:(a,o)=>{t||this.input.next({...a,query:r,variables:n,meta:{...o}})}}}calculateNetworkStatus(e){return e===T.streaming?e:Array.from(this.activeOperations.values()).reverse().find(t=>nt(t,this)&&t.override!==void 0)?.override??e}
39abortActiveOperations(){this.activeOperations.forEach(e=>e.abort())}reset(){const e=this.options.fetchPolicy==="cache-only";this.setResult(e?xr:Ae,{shouldEmit:e?1:2}),this.abortActiveOperations()}setResult(e,t){this.input.next({source:"setResult",kind:"N",value:e,query:this.query,variables:this.variables,meta:{...t}})}operator=$r(e=>{const{query:t,variables:r,meta:n}=e;if(e.source==="setResult")return{query:t,variables:r,result:e.value,meta:n};if(e.kind==="C"||!nt(e,this))return;let i;const s=this.subject.getValue();if(e.source==="cache"){if(i=e.value,i.networkStatus===T.ready&&i.partial&&(!this.options.returnPartialData||s.result.networkStatus===T.error)&&this.options.fetchPolicy!=="cache-only")return}else if(e.source==="network")this.waitForNetworkResult&&(this.waitForNetworkResult=!1,this.resubscribeCache()),i=e.kind==="E"?{...nt(s,e)?s.result:{data:void 0,dataState:"empty",partial:!0},error:e.error,networkStatus:T.error,loading:!1}:e.value,e.kind==="E"&&i.dataState==="streaming"&&(i.dataState="complete"),i.error&&(n.shouldEmit=1);else if(e.source==="newNetworkStatus"){const a=nt(s,e)?s.result:this.getInitialResult(n.fetchPolicy),{resetError:o}=e.value,l=o?void 0:a.error,c=l?T.error:T.ready;i={...a,error:l,networkStatus:c}}return x(i),i.error||delete i.error,i.networkStatus=this.calculateNetworkStatus(i.networkStatus),i.loading=Wt(i.networkStatus),i=this.maskResult(i),s.result.data!==void 0&&i.data!==s.result.data&&L(i.data,s.result.data)&&(i.data=s.result.data),{query:t,variables:r,result:i,meta:n}});reobserveCacheFirst(){const{fetchPolicy:e,nextFetchPolicy:t}=this.options;e==="cache-and-network"||e==="network-only"?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy(r,n){return this.nextFetchPolicy=t,typeof this.nextFetchPolicy=="function"?this.nextFetchPolicy(r,n):e}}):this.reobserve()}getVariablesWithDefaults(e){return this.queryManager.getVariables(this.query,e)}};function nt(e,t){return!!(e&&t&&e.query===t.query&&L(e.variables,t.variables))}function _i(e){let t=e,r,n;return{promise:new Promise((i,s)=>{r=i,n=s}),operator:mt({next(i){if(i.kind==="E")return n(i.error);i.kind==="N"&&i.source!=="newNetworkStatus"&&!i.value.loading&&(t=i.value)},finalize:()=>{if(t)r(t);else{const i="The operation was aborted.",s="AbortError";n(typeof DOMException<"u"?new DOMException(i,s):Object.assign(new Error(i),{name:s}))}}})}}var ki={},qe=new WeakMap;function Ir(e,t){const r=e[t];typeof r=="function"&&(e[t]=function(){return qe.set(e,(qe.get(e)+1)%1e15),r.apply(this,arguments)})}var Si=new WeakMap,Ar=class{cache;queryManager;id;observableQuery;incremental;constructor(e,t){const r=this.cache=e.cache,n=(Si.get(e)||0)+1;Si.set(e,n),this.id=n+"",this.observableQuery=t,this.queryManager=e,qe.has(r)||(qe.set(r,0),Ir(r,"evict"),Ir(r,"modify"),Ir(r,"reset"))}_lastWrite;get lastWrite(){return(this.observableQuery||this)._lastWrite}set lastWrite(e){(this.observableQuery||this)._lastWrite=e}resetLastWrite(){this.lastWrite=void 0}shouldWrite(e,t){const{lastWrite:r}=this;return!(r&&r.dmCount===qe.get(this.cache)&&L(t,r.variables)&&L(e.data,r.result.data)&&e.extensions?.[be]===r.result.extensions?.[be])}get hasNext(){return this.incremental?this.incremental.hasNext:!1}maybeHandleIncrementalResult(e,t,r){const{incrementalHandler:n}=this.queryManager;return n.isIncrementalResult(t)?(this.incremental||=n.startRequest({query:r}),this.incremental.handle(e,t)):t}markQueryResult(e,{document:t,variables:r,errorPolicy:n,cacheWriteBehavior:i}){const s={query:t,variables:r,returnPartialData:!0,optimistic:!0};this.observableQuery?.resetNotifications();const a=i===0,o=a?void 0:this.cache.diff(s);let l=this.maybeHandleIncrementalResult(o?.result,e,t);return a||(Mr(l,n)?this.cache.batch({onWatchUpdated:(c,f)=>{c.watcher===this.observableQuery&&(c.lastOwnDiff=f)},update:c=>{if(this.shouldWrite(l,r))c.writeQuery({query:t,data:l.data,variables:r,overwrite:i===1,extensions:l.extensions}),this.lastWrite={result:l,variables:r,dmCount:qe.get(this.cache)};else if(o&&o.complete){l={...l,data:o.result};return}const f=c.diff(s);f.complete&&(l={...l,data:f.result})}}):this.lastWrite=void 0),l}markMutationResult(e,t,r=this.cache){const n=[],i=t.cacheWriteBehavior===0;let s=this.maybeHandleIncrementalResult(i?void 0:r.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0}
39).result,e,t.document);if(t.errorPolicy==="ignore"&&(s={...s,errors:[]}),Le(s)&&t.errorPolicy==="none")return Promise.resolve(s);const a=()=>({...s,dataState:this.hasNext?"streaming":"complete"});if(!i&&Mr(s,t.errorPolicy)){n.push({result:s.data,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables,extensions:s.extensions});const{updateQueries:l}=t;l&&this.queryManager.getObservableQueries("all").forEach(c=>{const f=c&&c.queryName;if(!f||!Object.hasOwnProperty.call(l,f))return;const d=l[f],{query:u,variables:h}=c,{result:p,complete:y}=c.getCacheDiff({optimistic:!1});if(y&&p){const m=d(p,{mutationResult:a(),queryName:u&&Ke(u)||void 0,queryVariables:h});m&&n.push({result:m,dataId:"ROOT_QUERY",query:u,variables:h})}})}let o=t.refetchQueries;if(typeof o=="function"&&(o=o(a())),n.length>0||(o||"").length>0||t.update||t.onQueryUpdated||t.removeOptimistic){const l=[];if(this.queryManager.refetchQueries({updateCache:c=>{i||n.forEach(d=>c.write(d));const{update:f}=t;if(f){if(!i){const d=c.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0});d.complete&&(s={...s,data:d.result})}this.hasNext||f(c,s,{context:t.context,variables:t.variables})}!i&&!t.keepRootFields&&!this.hasNext&&c.modify({id:"ROOT_MUTATION",fields(d,{fieldName:u,DELETE:h}){return u==="__typename"?d:h}})},include:o,optimistic:!1,removeOptimistic:t.removeOptimistic,onQueryUpdated:t.onQueryUpdated||null}).forEach(c=>l.push(c)),t.awaitRefetchQueries||t.onQueryUpdated)return Promise.all(l).then(()=>s)}return Promise.resolve(s)}markMutationOptimistic(e,t){const r=typeof e=="function"?e(t.variables,{IGNORE:ki}):e;return r===ki?!1:(this.cache.recordOptimisticTransaction(n=>{try{this.markMutationResult({data:r},t,n)}catch(i){x.error(i)}},this.id),!0)}markSubscriptionResult(e,{document:t,variables:r,errorPolicy:n,cacheWriteBehavior:i}){i!==0&&(Mr(e,n)&&this.cache.write({query:t,result:e.data,dataId:"ROOT_SUBSCRIPTION",variables:r,extensions:e.extensions}),this.queryManager.broadcastQueries())}};function Mr(e,t="none"){const r=t==="ignore"||t==="all";let n=!Le(e);return!n&&r&&e.data&&(n=!0),n}var Rf=class{defaultOptions;client;clientOptions;assumeImmutableResults;documentTransform;ssrMode;defaultContext;dataMasking;incrementalHandler;localState;queryDeduplication;prioritizeCacheValues=!1;onBroadcast;mutationStore;obsQueries=new Set;fetchCancelFns=new Map;constructor(e){const t=new wn(n=>this.cache.transformDocument(n),{cache:!1});this.client=e.client,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientOptions=e.clientOptions,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking,this.localState=e.localState,this.incrementalHandler=e.incrementalHandler;const r=e.documentTransform;this.documentTransform=r?t.concat(r).concat(t):t,this.defaultContext=e.defaultContext||{},(this.onBroadcast=e.onBroadcast)&&(this.mutationStore={})}get link(){return this.client.link}get cache(){return this.client.cache}stop(){this.obsQueries.forEach(e=>e.stop()),this.cancelPendingFetches(re(89))}cancelPendingFetches(e){this.fetchCancelFns.forEach(t=>t(e)),this.fetchCancelFns.clear()}async mutate({mutation:e,variables:t,optimisticResponse:r,updateQueries:n,refetchQueries:i=[],awaitRefetchQueries:s=!1,update:a,onQueryUpdated:o,fetchPolicy:l,errorPolicy:c,keepRootFields:f,context:d}){const u=new Ar(this);e=this.cache.transformForLink(this.transform(e));const{hasClientExports:h}=this.getDocumentInfo(e);t=this.getVariables(e,t),h&&(t=await this.localState.getExportedVariables({client:this.client,document:e,variables:t,context:d}));const p=this.mutationStore&&(this.mutationStore[u.id]={mutation:e,variables:t,loading:!0,error:null}),y=r&&u.markMutationOptimistic(r,{document:e,variables:t,cacheWriteBehavior:l==="no-cache"?0:2,errorPolicy:c,context:d,updateQueries:n,update:a,keepRootFields:f});return this.broadcastQueries(),new Promise((m,v)=>{const w={};return this.getObservableFromLink(e,{...d,optimisticResponse:y?r:void 0},t,l,{},!1).observable.pipe(Ei(),Ne(g=>{const b={...g};return Oe(u.markMutationResult(b,{document:e,variables:t,cacheWriteBehavior:l==="no-cache"?0:2,errorPolicy:c,context:d,update:a,updateQueries:n,awaitRefetchQueries:s,refetchQueries:i,removeOptimistic:y?u.id:void 0,onQueryUpdated:o,keepRootFields:f}))})).pipe(me(g=>{if(Le(g)&&c==="none")throw new rt(Nr(g));return p&&(p.loading=!1,p.error=null),g})).subscribe({next:g=>
39{if(this.broadcastQueries(),!u.hasNext){const b={data:this.maskOperation({document:e,data:g.data,fetchPolicy:l,cause:w})};Le(g)&&(b.error=new rt(g)),Object.keys(g.extensions||{}).length&&(b.extensions=g.extensions),m(b)}},error:g=>{if(p&&(p.loading=!1,p.error=g),y&&this.cache.removeOptimistic(u.id),this.broadcastQueries(),c==="ignore")return m({data:void 0});if(c==="all")return m({data:void 0,error:g});v(g)}})})}fetchQuery(e,t){return ve(e.query,it.QUERY),(async()=>Mc(this.fetchObservableWithInfo(e,{networkStatus:t}).observable.pipe($r(r=>{switch(r.kind){case"E":throw r.error;case"N":if(r.source!=="newNetworkStatus")return ot(r.value)}})),{defaultValue:{data:void 0}}))()}transform(e){return this.documentTransform.transformDocument(e)}transformCache=new mn(ue["queryManager.getDocumentInfo"]||2e3);getDocumentInfo(e){const{transformCache:t}=this;if(!t.has(e)){const n=fe(e),i={hasClientExports:at(["client","export"],e,!0),hasForcedResolvers:mu(e),hasNonreactiveDirective:at(["nonreactive"],e),hasIncrementalDirective:at(["defer"],e),nonReactiveQuery:Pf(e),clientQuery:at(["client"],e)?e:null,serverQuery:gu([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),operationType:n?.operation,defaultVars:yn(n),asQuery:{...e,definitions:e.definitions.map(s=>s.kind==="OperationDefinition"&&s.operation!=="query"?{...s,operation:"query"}:s)}};t.set(e,i)}const r=t.get(e);if(r.violation)throw r.violation;return r}getVariables(e,t){const r=this.getDocumentInfo(e).defaultVars,n=Object.entries(t??{}).map(([i,s])=>[i,s===void 0?r[i]:s]);return{...r,...Object.fromEntries(n)}}watchQuery(e){ve(e.query,it.QUERY);const t=this.transform(e.query);return e={...e,variables:this.getVariables(t,e.variables)},typeof e.notifyOnNetworkStatusChange>"u"&&(e.notifyOnNetworkStatusChange=!0),new Dr({queryManager:this,options:e,transformedQuery:t})}query(e){const t=this.transform(e.query);return this.fetchQuery({...e,query:t}).then(r=>({...r,data:this.maskOperation({document:t,data:r?.data,fetchPolicy:e.fetchPolicy})}))}clearStore(e={discardWatches:!0}){return this.cancelPendingFetches(re(91)),this.obsQueries.forEach(t=>{t.reset()}),this.mutationStore&&(this.mutationStore={}),this.cache.reset(e)}getObservableQueries(e="active"){const t=new Set,r=new Map,n=new Map,i=new Set;return Array.isArray(e)&&e.forEach(s=>{if(typeof s=="string")r.set(s,s),n.set(s,!1);else if(yu(s)){const a=ze(this.transform(s));r.set(a,Ke(s)),n.set(a,!1)}else Y(s)&&s.query&&i.add(s)}),this.obsQueries.forEach(s=>{const a=ze(this.transform(s.options.query));if(e==="all"){t.add(s);return}const{queryName:o,options:{fetchPolicy:l}}=s;e==="active"&&l==="standby"||(e==="active"||o&&n.has(o)||a&&n.has(a))&&(t.add(s),o&&n.set(o,!0),a&&n.set(a,!0))}),i.size&&i.forEach(s=>{const a=new Dr({queryManager:this,options:{...qt(this.defaultOptions.watchQuery,s),fetchPolicy:"network-only"}});t.add(a)}),t}refetchObservableQueries(e=!1){const t=[];return this.getObservableQueries(e?"all":"active").forEach(r=>{const{fetchPolicy:n}=r.options;(e||n!=="standby")&&n!=="cache-only"&&t.push(r.refetch())}),this.broadcastQueries(),Promise.all(t)}startGraphQLSubscription(e){let{query:t,variables:r}=e;const{fetchPolicy:n="cache-first",errorPolicy:i="none",context:s={},extensions:a={}}=e;ve(t,it.SUBSCRIPTION),t=this.transform(t),r=this.getVariables(t,r);let o;const l=(this.getDocumentInfo(t).hasClientExports?Oe(this.localState.getExportedVariables({client:this.client,document:t,variables:r,context:s})):Ee(r)).pipe(Ne(c=>{const{observable:f,restart:d}=this.getObservableFromLink(t,s,c,n,a),u=new Ar(this);return o=d,f.pipe(me(h=>{u.markSubscriptionResult(h,{document:t,variables:c,errorPolicy:i,cacheWriteBehavior:n==="no-cache"?0:2});const p={data:h.data??void 0};return Le(h)?p.error=new rt(h):Cf(h)&&(p.error=h.extensions[tr],delete h.extensions[tr]),h.extensions&&Object.keys(h.extensions).length&&(p.extensions=h.extensions),p.error&&i==="none"&&(p.data=void 0),i==="ignore"&&delete p.error,p}),jt(h=>Ee(i==="ignore"?{data:void 0}:{data:void 0,error:h})),fs(h=>!!(h.data||h.error)))}));return Object.assign(l,{restart:()=>o?.()})}broadcastQueries(){this.onBroadcast&&this.onBroadcast(),this.obsQueries.forEac
39h(e=>e.notify())}inFlightLinkObservables=new Se(!1);getObservableFromLink(e,t,r,n,i,s=t?.queryDeduplication??this.queryDeduplication){let a={};const{serverQuery:o,clientQuery:l,operationType:c,hasIncrementalDirective:f}=this.getDocumentInfo(e),d=Ke(e),u={client:this.client};if(o){const{inFlightLinkObservables:h,link:p}=this;try{let m=function(v){return new j(w=>{function g(){return v.subscribe({next:w.next.bind(w),complete:w.complete.bind(w),error:w.error.bind(w)})}let b=g();return a.restart||=()=>{b.unsubscribe(),b=g()},()=>{b.unsubscribe(),a.restart=void 0}})};const y=this.incrementalHandler.prepareRequest({query:o,variables:r,context:{...this.defaultContext,...t,queryDeduplication:s},extensions:i});if(t=y.context,s){const v=ze(o),w=le(r);a=h.lookup(v,w),a.observable||(a.observable=Kr(p,y,u).pipe(m,Qc(()=>{h.peek(v,w)===a&&h.remove(v,w)}),c===it.SUBSCRIPTION?pt():hn({refCount:!0})))}else a.observable=Kr(p,y,u).pipe(m)}catch(y){a.observable=us(()=>y)}}else a.observable=Ee({data:{}});if(l){const{operation:h}=fe(e);x(!f,96,h[0].toUpperCase()+h.slice(1),d??"(anonymous)"),a.observable=a.observable.pipe(Ne(p=>Oe(this.localState.execute({client:this.client,document:l,remoteResult:p,context:t,variables:r,fetchPolicy:n}))))}return{restart:()=>a.restart?.(),observable:a.observable.pipe(jt(h=>{throw h=Tf(h),Of(h),h}))}}getResultsFromLink(e,{queryInfo:t,cacheWriteBehavior:r,observableQuery:n,exposeExtensions:i}){const{errorPolicy:s}=e,a=this.cache.transformForLink(e.query);return this.getObservableFromLink(a,e.context,e.variables,e.fetchPolicy).observable.pipe(me(o=>{const l=t.markQueryResult(o,{...e,document:a,cacheWriteBehavior:r}),c=Le(l);if(c&&s==="none")throw t.resetLastWrite(),n?.resetNotifications(),new rt(Nr(l));const f={data:l.data,...t.hasNext?{loading:!0,networkStatus:T.streaming,dataState:"streaming",partial:!0}:{dataState:l.data?"complete":"empty",loading:!1,networkStatus:T.ready,partial:!l.data}};return i&&"extensions"in l&&(f[Es]=l.extensions),c&&(s==="none"&&(f.data=void 0,f.dataState="empty"),s!=="ignore"&&(f.error=new rt(Nr(l)),f.dataState!=="streaming"&&(f.networkStatus=T.error))),f}),jt(o=>{if(s==="none")throw t.resetLastWrite(),n?.resetNotifications(),o;const l={data:void 0,dataState:"empty",loading:!1,networkStatus:T.ready,partial:!0};return s!=="ignore"&&(l.error=o,l.networkStatus=T.error),Ee(l)}))}fetchObservableWithInfo(e,{networkStatus:t=T.loading,query:r=e.query,fetchQueryOperator:n=o=>o,onCacheHit:i=()=>{},observableQuery:s,exposeExtensions:a}){const o=this.getVariables(r,e.variables);let{fetchPolicy:l="cache-first",errorPolicy:c="none",returnPartialData:f=!1,notifyOnNetworkStatusChange:d=!0,context:u={}}=e;this.prioritizeCacheValues&&(l==="network-only"||l==="cache-and-network")&&(l="cache-first");const h=Object.assign({},e,{query:r,variables:o,fetchPolicy:l,errorPolicy:c,returnPartialData:f,notifyOnNetworkStatusChange:d,context:u}),p=new Ar(this,s),y=b=>{h.variables=b;const S=l==="no-cache"?0:t===T.refetch&&h.refetchWritePolicy!=="merge"?1:2,O=this.fetchQueryByPolicy(h,{queryInfo:p,cacheWriteBehavior:S,onCacheHit:i,observableQuery:s,exposeExtensions:a});return O.observable=O.observable.pipe(n),h.fetchPolicy!=="standby"&&s?.applyNextFetchPolicy("after-fetch",e),O},m=()=>{this.fetchCancelFns.delete(p.id)};this.fetchCancelFns.set(p.id,b=>{v.next({kind:"E",error:b,source:"network"})});const v=new Xe;let w,g;if(this.getDocumentInfo(h.query).hasClientExports)w=Oe(this.localState.getExportedVariables({client:this.client,document:h.query,variables:h.variables,context:h.context})).pipe(Ne(b=>y(b).observable)),g=!0;else{const b=y(h.variables);g=b.fromLink,w=b.observable}return{observable:new j(b=>{b.add(m),w.subscribe(b),v.subscribe(b)}).pipe(pt()),fromLink:g}}refetchQueries({updateCache:e,include:t,optimistic:r=!1,removeOptimistic:n=r?hs("refetchQueries"):void 0,onQueryUpdated:i}){const s=new Map;t&&this.getObservableQueries(t).forEach(o=>{if(o.options.fetchPolicy==="cache-only"||o.variablesUnknown)return;const l=o.getCurrentResult();s.set(o,{oq:o,lastDiff:{result:l?.data,complete:!l?.partial}})});const a=new Map;if(e){const o=new Set;this.cache.batch({update:e,optimistic:r&&n||!1,removeOptimistic:n,onWatchUpdated(l,c,f){const d=l.watcher;
39if(d instanceof Dr&&!o.has(d)){if(o.add(d),i){s.delete(d);let u=i(d,c,f);return u===!0&&(u=d.refetch().retain()),u!==!1&&a.set(d,u),u}i!==null&&d.options.fetchPolicy!=="cache-only"&&s.set(d,{oq:d,lastDiff:f,diff:c})}}})}return s.size&&s.forEach(({oq:o,lastDiff:l,diff:c})=>{let f;i&&(c||(c=o.getCacheDiff()),f=i(o,c,l)),(!i||f===!0)&&(f=o.refetch().retain()),f!==!1&&a.set(o,f)}),n&&this.cache.removeOptimistic(n),a}noCacheWarningsByCause=new WeakSet;maskOperation(e){const{document:t,data:r}=e;return this.dataMasking?cf(r,t,this.cache):r}maskFragment(e){const{data:t,fragment:r,fragmentName:n}=e;return this.dataMasking?lf(t,r,this.cache,n):t}fetchQueryByPolicy({query:e,variables:t,fetchPolicy:r,errorPolicy:n,returnPartialData:i,context:s},{cacheWriteBehavior:a,onCacheHit:o,queryInfo:l,observableQuery:c,exposeExtensions:f}){const d=()=>this.cache.diff({query:e,variables:t,returnPartialData:!0,optimistic:!0}),u=(p,y)=>{const m=p.result,v=g=>(!p.complete&&!i&&(g=void 0),{data:g,dataState:p.complete?"complete":g?"partial":"empty",loading:Wt(y),networkStatus:y,partial:!p.complete}),w=g=>Ee({kind:"N",value:v(g),source:"cache"});return(p.complete||i)&&this.getDocumentInfo(e).hasForcedResolvers?(o(),Oe(this.localState.execute({client:this.client,document:e,remoteResult:m?{data:m}:void 0,context:s,variables:t,onlyRunForcedResolvers:!0,returnPartialData:!0,fetchPolicy:r}).then(g=>({kind:"N",value:v(g.data||void 0),source:"cache"})))):n==="none"&&y===T.refetch&&p.missing?w(void 0):w(m||void 0)},h=()=>this.getResultsFromLink({query:e,variables:t,context:s,fetchPolicy:r,errorPolicy:n},{cacheWriteBehavior:a,queryInfo:l,observableQuery:c,exposeExtensions:f}).pipe(Ei(),Bc(),me(p=>({...p,source:"network"})));switch(r){default:case"cache-first":{const p=d();return p.complete?{fromLink:!1,observable:u(p,T.ready)}:i?{fromLink:!0,observable:kr(u(p,T.loading),h())}:{fromLink:!0,observable:h()}}case"cache-and-network":{const p=d();return p.complete||i?{fromLink:!0,observable:kr(u(p,T.loading),h())}:{fromLink:!0,observable:h()}}case"cache-only":return{fromLink:!1,observable:kr(u(d(),T.ready))};case"network-only":return{fromLink:!0,observable:h()};case"no-cache":return{fromLink:!0,observable:h()};case"standby":return{fromLink:!1,observable:dt}}}};function Ei(){let e=!1;return mt({next(){e=!0},complete(){x(e,100)}})}function Pf(e){return ae(e,{FragmentSpread:t=>{if(!t.directives?.some(r=>r.name.value==="unmask"))return{...t,directives:[...t.directives||[],{kind:A.DIRECTIVE,name:{kind:A.NAME,value:"nonreactive"}}
39]}}})}function Nr(e){if(e.extensions?.[be]==null)return e;const{extensions:{[be]:t,...r},...n}=e;return Object.keys(r).length>0&&(n.extensions=r),n}var Ff=!1,xf=class{link;cache;disableNetworkFetches;set prioritizeCacheValues(e){this.queryManager.prioritizeCacheValues=e}get prioritizeCacheValues(){return this.queryManager.prioritizeCacheValues}version;queryDeduplication;defaultOptions;devtoolsConfig;refetchEventManager;queryManager;devToolsHookCb;resetStoreCallbacks=[];clearStoreCallbacks=[];constructor(e){const{cache:t,documentTransform:r,ssrMode:n=!1,ssrForceFetchDelay:i=0,queryDeduplication:s=!0,defaultOptions:a,defaultContext:o,assumeImmutableResults:l=t.assumeImmutableResults,localState:c,devtools:f,dataMasking:d,link:u,incrementalHandler:h=new Qu,experiments:p=[],refetchEventManager:y}=e;this.link=u,this.cache=t,this.queryDeduplication=s,this.defaultOptions=a||{},this.devtoolsConfig={...f,enabled:f?.enabled??!1},this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.refetchObservableQueries=this.refetchObservableQueries.bind(this),this.version=dn,this.queryManager=new Rf({client:this,defaultOptions:this.defaultOptions,defaultContext:o,documentTransform:r,queryDeduplication:s,ssrMode:n,dataMasking:!!d,clientOptions:e,incrementalHandler:h,assumeImmutableResults:l,onBroadcast:this.devtoolsConfig.enabled?()=>{this.devToolsHookCb&&this.devToolsHookCb()}:void 0,localState:c}),this.prioritizeCacheValues=n||i>0,i&&setTimeout(()=>{this.prioritizeCacheValues=!1},i),this.devtoolsConfig.enabled&&this.connectToDevTools(),p.forEach(m=>m.call(this,e)),this.refetchEventManager=y,this.refetchEventManager?.connect(this)}connectToDevTools(){if(typeof window>"u")return;const e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this}get documentTransform(){return this.queryManager.documentTransform}get localState(){return this.queryManager.localState}set localState(e){this.queryManager.localState=e}stop(){this.queryManager.stop(),this.refetchEventManager?.disconnect(this)}watchQuery(e){const{refetchOn:t}=e;if(this.defaultOptions.watchQuery){const r=this.defaultOptions.watchQuery.refetchOn;let n;t&&typeof t=="object"&&(typeof r=="object"?n={...r,...t}:r!=null&&(n=i=>{const s=t[i.source]??r;return typeof s=="function"?s(i):s})),e=qt(this.defaultOptions.watchQuery,e),n&&(e.refetchOn=n)}return this.queryManager.watchQuery(e)}query=e=>(this.defaultOptions.query&&(e=qt(this.defaultOptions.query,e)),this.queryManager.query(e));mutate=e=>{const t=qt(X({fetchPolicy:"network-only",errorPolicy:"none"},this.defaultOptions.mutate),e);return ve(t.mutation,it.MUTATION),this.queryManager.mutate(t)};subscribe(e){const t={},r=this.queryManager.startGraphQLSubscription(e),n=r.pipe(me(i=>({...i,data:this.queryManager.maskOperation({document:e.query,data:i.data,fetchPolicy:e.fetchPolicy,cause:t})})));return Object.assign(n,{restart:r.restart})}readQuery(e,t=!!e.optimistic){return this.cache.readQuery({...e,query:this.transform(e.query)},t)}watchFragment(e){const t=this.queryManager.dataMasking;return this.cache.watchFragment({...e,fragment:this.transform(e.fragment,t)})}readFragment(e,t=!!e.optimistic){return this.cache.readFragment({...e,fragment:this.transform(e.fragment)},t)}writeQuery(e){const t=this.cache.writeQuery(e);return e.broadcast!==!1&&this.queryManager.broadcastQueries(),t}writeFragment(e){const t=this.cache.writeFragment(e);return e.broadcast!==!1&&this.queryManager.broadcastQueries(),t}__actionHookForDevTools(e){this.devToolsHookCb=e}__requestRaw(e){return Kr(this.link,e,{client:this})}resetStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!1})).then(()=>Promise.all(this.resetStoreCallbacks.map(e=>e()))).then(()=>this.refetchObservableQueries())}clearStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!0})).then(()=>Promise.all(this.clearStoreCallbacks.map(e=>e())))}onResetStore(e){return this.resetStoreCallbacks.push(e),()=>{this.resetStoreCallbacks=this.resetStoreCallbacks.filter(t=>t!==e)}}onClearStore(e){return this.clearStoreCallbacks.push(e),()=>{this.clearStoreCallbacks=this.clearStoreCallbacks.filter(t=>t!==e)}}reFetchObservableQueries;refetchObservableQueries(e){return this.queryManager.refetchObservableQueries(e)}refetchQueries(e){const t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach((s,a)=>{r.push(a),n.push(s)});const i=Promise.all(n);return i.queries=r,i.results=n,i.catch(s=>{}),i}getObservableQueries(e="active"){return this.queryManager.getObservableQueries(e)}extract(e){return this.cache.extract(e)}restore(e){return this.cache.restore(e)}setLink(e){this.link=e}get defaultContext(){return this.queryManager.defaultContext}maskedFragmentTransform=new wn(_u);transform(e,t=!1){const r=this.queryManager.transform(e);return t?this.maskedFragmentTransform.transformDocument(r):r}},{hasOwnProperty:Oi}=Object.prototype;function Df(e){return Y(e)&&"payload"in e}async function*If(e){const t=new TextDecoder("utf-8"),r=e.headers?.get("content-type")?.match(/;\s*boundary=(?:'([^']+)'|"([^"]+)"|([^"'].+?))\s*(?:;|$)/i),n=`\r
40--`+(r?r[1]??r[2]??r[3]??"-":"-");let i="";x(e.body&&typeof e.body.getReader=="function",62);const s=e.body.getReader();let a=!1,o=!1,l;const c=()=>o&&i[0]=="-"&&i[1]=="-";try{for(;!a;){({value:l,done:a}=await s.read());const f=typeof l=="string"?l:t.decode(l),d=i.length-n.length+1;i+=f;let u=i.indexOf(n,d);for(;u>-1&&!c();){o=!0;let h;[h,i]=[i.slice(0,u),i.slice(u+n.length)];const p=h.indexOf(`\r
41\r
42`),y=Mf(h.slice(0,p))["content-type"];if(y&&y.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");const m=h.slice(p);m&&(yield m),u=i.indexOf(n)}if(c())return}throw new Error("premature end of multipart body")}finally{s.cancel()}}async function Af(e,t){for await(const r of If(e)){const n=ca(e,r);
42if(Object.keys(n).length!=0)if(Df(n)){if(Object.keys(n).length===1&&n.payload===null)return;let i={...n.payload};"errors"in n&&(i.extensions={...i.extensions,[tr]:new na(n.errors??[])}),t(i)}else t(n)}}function Mf(e){const t={};return e.split(`
43`).forEach(r=>{const n=r.indexOf(":");if(n>-1){const i=r.slice(0,n).trim().toLowerCase(),s=r.slice(n+1).trim();t[i]=s}}),t}function ca(e,t){if(e.status>=300)throw new sa(`Response not successful: Received status code ${e.status}`,{response:e,bodyText:t});try{return JSON.parse(t)}catch(r){throw new oa(r,{response:e,bodyText:t})}}function Nf(e,t){try{return JSON.parse(t)}catch(r){throw new oa(r,{response:e,bodyText:t})}}function Lf(e,t){return e.headers.get("content-type")?.includes("application/graphql-response+json")?Nf(e,t):ca(e,t)}function jf(e){return t=>t.text().then(r=>{const n=Lf(t,r);if(!Array.isArray(n)&&!Oi.call(n,"data")&&!Oi.call(n,"errors"))throw new sa(`Server response was malformed for query '${Array.isArray(e)?e.map(i=>i.operationName):e.operationName}'.`,{response:t,bodyText:r});return n})}var qf={includeQuery:!0,includeExtensions:!0,preserveHeaderCase:!1},Vf={accept:"application/graphql-response+json,application/json;q=0.9","content-type":"application/json"},Wf={method:"POST"},zf={http:qf,headers:Vf,options:Wf},Qf=(e,t)=>t(e);function Bf(e,t,...r){let n={},i={};r.forEach(f=>{n={...n,...f.options,headers:{...n.headers,...f.headers}},f.credentials&&(n.credentials=f.credentials),n.headers.accept=(f.http?.accept||[]).concat(n.headers.accept).join(","),i={...i,...f.http}}),n.headers=$f(n.headers,i.preserveHeaderCase);const{operationName:s,extensions:a,variables:o,query:l}=e,c={operationName:s,variables:o};return i.includeExtensions&&Object.keys(a||{}).length&&(c.extensions=a),i.includeQuery&&(c.query=t(l,ze)),{options:n,body:c}}function $f(e,t){if(!t){const i={};
43return Object.keys(Object(e)).forEach(s=>{i[s.toLowerCase()]=e[s]}),i}const r={};Object.keys(Object(e)).forEach(i=>{r[i.toLowerCase()]={originalName:i,value:e[i]}});const n={};return Object.keys(r).forEach(i=>{n[r[i].originalName]=r[i].value}),n}var Uf=(e,t)=>{const r=e.getContext().uri;return r||(typeof t=="function"?t(e):t||"/graphql")};function Hf(e,t){const r=[],n=(l,c)=>{r.push(`${l}=${encodeURIComponent(c)}`)};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){let l;try{l=JSON.stringify(t.variables)}catch(c){return{parseError:c}}n("variables",l)}if(t.extensions){let l;try{l=JSON.stringify(t.extensions)}catch(c){return{parseError:c}}n("extensions",l)}let i="",s=e;const a=e.indexOf("#");a!==-1&&(i=e.substr(a),s=e.substr(0,a));const o=s.indexOf("?")===-1?"?":"&";return{newURI:s+o+r.join("&")+i}}var Kf=pe(()=>fetch);function Gf(){}var Jf=class extends gt{constructor(e={}){let{uri:t="/graphql",fetch:r,print:n=Qf,includeExtensions:i,preserveHeaderCase:s,useGETForQueries:a,includeUnusedVariables:o=!1,...l}=e;const c={http:X({includeExtensions:i,preserveHeaderCase:s}),options:l.fetchOptions,credentials:l.credentials,headers:l.headers};super(f=>{let d=Uf(f,t);const u=f.getContext(),h={...u.http};Ku(f.query)&&(h.accept=["multipart/mixed;boundary=graphql;subscriptionSpec=1.0",...h.accept||[]]);const p={http:h,options:u.fetchOptions,credentials:u.credentials,headers:u.headers},{options:y,body:m}=Bf(f,n,zf,c,p);m.variables&&!o&&(m.variables=$u(m.variables,f.query));let v=new AbortController,w=()=>{v=void 0};if(y.signal){const g=y.signal,b=()=>{v?.abort(g.reason)};g.addEventListener("abort",b,{once:!0}),w=()=>{v?.signal.removeEventListener("abort",w),v=void 0,g.removeEventListener("abort",b),w=Gf},v.signal.addEventListener("abort",w,{once:!0})}return y.signal=v.signal,a&&!Hu(f.query)&&(y.method="GET"),new j(g=>{if(y.method==="GET"){const{newURI:O,parseError:E}=Hf(d,m);if(E)throw E;d=O}else y.body=JSON.stringify(m);const b=r||pe(()=>fetch)||Kf,S=g.next.bind(g);return b(d,y).then(O=>{f.setContext({response:O});const E=O.headers?.get("content-type");return E!==null&&/^multipart\/mixed/i.test(E)?Af(O,S):jf(f)(O).then(S)}).then(()=>{w(),g.complete()}).catch(O=>{w(),g.error(O)}),()=>{v&&v.abort()}})})}},Yf=class extends gt{constructor(e={}){super((t,r)=>{const n=t.client,i=n.queryManager.clientOptions,s=t.getContext();{const{name:a,version:o,transport:l="headers"}=X({},i.clientAwareness,e.clientAwareness,s.clientAwareness);l==="headers"&&t.setContext(({headers:c})=>({headers:X({"apollographql-client-name":a,"apollographql-client-version":o},c)}))}{const{transport:a="extensions"}=X({},i.enhancedClientAwareness,e.enhancedClientAwareness);a==="extensions"&&(t.extensions=X({clientLibrary:{name:"@apollo/client",version:n.version}},t.extensions)),a==="headers"&&t.setContext(({headers:o})=>({headers:X({"apollographql-library-name":"@apollo/client","apollographql-library-version":n.version},o)}))}return r(t)})}},Xf=class extends gt{constructor(e={}){const{left:t,right:r,request:n}=gt.from([new Yf(e),new Jf(e)]);super(n),Object.assign(this,{left:t,right:r})}},Zf=_e(e=>{let t=Be().public.graphqlEndpoint||"http://localhost:3020/graphql";const r=new Xf({uri:t}),n=new xf({link:r,cache:new _f,ssrMode:!1});e.provide("apollo",n)}),eh="standalone",th=3600,rh="false",nh="false",Ci=rh==="true",ih=nh==="true";function sh(e={}){const{immediate:t=!1,onNeedReload:r,onNeedRefresh:n,onOfflineReady:i,onRegistered:s,onRegisteredSW:a,onRegisterError:o}=e;let l,c,f;const d=async(h=!0)=>{await c,Ci||f?.()};async function u(){if("serviceWorker"in navigator){if(l=await P(async()=>{const{Workbox:h}=await import("./Dxeuga9-.js");return{Workbox:h}},[],import.meta.url).then(({Workbox:h})=>new h("/sw.js",{scope:"/",type:"classic"})).catch(h=>{o?.(h)}),!l)return;if(f=()=>{l?.messageSkipWaiting()},!ih)if(Ci)l.addEventListener("activated",h=>{(h.isUpdate||h.isExternal)&&(r?r():window.location.reload())}),l.addEventListener("installed",h=>{h.isUpdate||i?.()});else{let h=!1;const p=()=>{h=!0,l?.addEventListener("controlling",y=>{y.isUpdate&&(r?r():window.location.reload())}),n?.()};l.addEventListener("installed",y=>{typeof y.isUpdate>"u"?typeof y.isExternal<"u"&&y.isExternal?p():!h&&i?.():y.isUpdate||i?.()}),l.addEventListener("waiting",p)}l.register({immediate:t}).then(h=>{a?a("/sw.js",h):s?.(h)}).catch(h=>{o?.(h)})}}return c=u(),d}function ah(e={}){const{immediate:t=!0,onNeedReload:r,onNeedRefresh:n,onOfflineReady:i,onRegistered:s,onRegisteredSW:a,onRegisterError:o}=e,l=J(!1),c=J(!1);return{updateServiceWorker:sh({immediate:t,onNeedReload:r,onNeedRefresh(){l.value=!0,n?.()},onOfflineReady(){c.value=!0,i?.()},onRegistered:s,onRegisteredSW:a,onRegisterError:o}),offlineReady:c,needRefresh:l}}var oh=_e({name:"vite-pwa:nuxt:client:plugin",enforce:"post",parallel:!0,setup(e){const t=J(!1),r=J(!1),n=J(!1),i=J(!0),s=navigator.userAgent,a=s.match(/iPhone|iPad|iPod/),o=`${eh}`,l=window.matchMedia(`(display-mode: ${o})`).matches,c=J(!!(l||a&&!s.match(/Safari/))),f=J(c.value);window.matchMedia(`(display-mode: ${o})`).addEventListener("change",b=>{!f.value&&b.matches&&(f.value=!0)});let d;const u=()=>d,h=(b,S,O)=>{setInterval(async()=>{S&&S.installing||"connection"in navigator&&!navigator.onLine||(await fetch(b,{cache:"no-store",headers:{cache:"no-store","cache-control":"no-cache"}}))?.status===200&&await S.update()},O)},{offlineReady:p,needRefresh:y,updateServiceWorker:m}=ah({immediate:!0,onRegisterError(b){e.hooks.callHook("service-worker:registration-failed",{error:b}),t.value=!0},onRegisteredSW(b,S){d=S;const O=th;e.hooks.callHook("service-worker:registered",{url:b,registration:S}
43),S?.active?.state==="activated"?(r.value=!0,O>0&&h(b,S,O*1e3),e.hooks.callHook("service-worker:activated",{url:b,registration:S})):S?.installing&&S.installing.addEventListener("statechange",E=>{const D=E.target;r.value=D.state==="activated",r.value&&(O>0&&h(b,S,O*1e3),e.hooks.callHook("service-worker:activated",{url:b,registration:S}))})}}),v=async()=>{p.value=!1,y.value=!1};let w=()=>Promise.resolve(void 0),g=()=>{};if(!i.value){let b;const S=O=>{O.preventDefault(),b=O,n.value=!0};window.addEventListener("beforeinstallprompt",S),window.addEventListener("appinstalled",()=>{b=void 0,n.value=!1}),g=()=>{b=void 0,n.value=!1,window.removeEventListener("beforeinstallprompt",S),i.value=!0,localStorage.setItem(void 0,"true")},w=async()=>{if(!n.value||!b){n.value=!1;return}return n.value=!1,await tn(),b.prompt(),await b.userChoice}}return{provide:{pwa:qr({isInstalled:c,isPWAInstalled:f,showInstallPrompt:n,cancelInstall:g,install:w,swActivated:r,registrationError:t,offlineReady:p,needRefresh:y,updateServiceWorker:m,cancelPrompt:v,getSWRegistration:u})}}}}),lh=[nl,cl,ul,zl,Ql,Bl,Zf,oh];function ch(e,t){const r=t/e*100;return 2/Math.PI*100*Math.atan(r/50)}function uh(e={}){const{duration:t=2e3,throttle:r=200,hideDelay:n=500,resetDelay:i=400}=e,s=e.estimatedProgress||ch,a=Pe(),o=Ft(0),l=Ft(!1),c=Ft(!1);let f=!1,d,u,h,p;const y=(E={})=>{g(),c.value=!1,m(0,E)};function m(E=0,D={}){if(a.isHydrating)return;if(E>=100)return w({force:D.force});g(),b(),o.value=E<0?0:E;const V=D.force?0:r;V?u=setTimeout(()=>{l.value=!0,S()},V):(l.value=!0,S())}function v(){h=setTimeout(()=>{l.value=!1,p=setTimeout(()=>{o.value=0},i)},n)}function w(E={}){o.value=100,f=!0,b(),g(),E.error&&(c.value=!0),E.force?(o.value=0,l.value=!1):v()}function g(){clearTimeout(h),clearTimeout(p)}function b(){clearTimeout(u),cancelAnimationFrame(d)}function S(){f=!1;let E;function D(V){if(f)return;E??=V;const C=V-E;o.value=Math.max(0,Math.min(100,s(t,C))),d=requestAnimationFrame(D)}d=requestAnimationFrame(D)}let O=()=>{};{const E=a.hook("page:loading:start",()=>{y()}),D=a.hook("page:loading:end",()=>{w()}),V=a.hook("vue:error",()=>w({error:!0}));O=()=>{V(),E(),D(),b(),g()}}return{_cleanup:O,progress:dr(o),isLoading:dr(l),error:dr(c),start:y,set:m,finish:w,clear:b}}function fh(e={}){const t=Pe(),r=t._loadingIndicator||=uh(e);return Ca()&&(t._loadingIndicatorDeps||=0,t._loadingIndicatorDeps++,Ea(()=>{t._loadingIndicatorDeps--,t._loadingIndicatorDeps===0&&(r._cleanup(),delete t._loadingIndicator)})),r}var hh=bt({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},hideDelay:{type:Number,default:500},resetDelay:{type:Number,default:400},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"},errorColor:{type:String,default:"repeating-linear-gradient(to right,#f87171 0%,#ef4444 100%)"},estimatedProgress:{type:Function,required:!1}},setup(e,{slots:t,expose:r}){const{progress:n,isLoading:i,error:s,start:a,finish:o,clear:l}=fh({duration:e.duration,throttle:e.throttle,hideDelay:e.hideDelay,resetDelay:e.resetDelay,estimatedProgress:e.estimatedProgress});return r({progress:n,isLoading:i,error:s,start:a,finish:o,clear:l}),()=>$e("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:i.value?1:0,background:s.value?e.errorColor:e.color||void 0,backgroundSize:`${n.value>0?100/n.value*100:0}% auto`,transform:`scaleX(${n.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}}),dh=xi({default:()=>ua}),ph=["aria-label"],mh={class:"marquee-label"},yh={class:"marquee-track-wrap"},vh={class:"winner-name"},gh={class:"winner-amount"},bh=["onClick"],wh={class:"winner-date"},_h={class:"winner-name"},kh={class:"winner-amount"},Sh=["onClick"],Eh={class:"winner-date"},Oh={__name:"WinnersMarquee",props:{items:{type:Array,default:()=>[]},label:{type:String,default:"Recent Winners"},duration:{type:Number,default:100}},setup(e){xa(d=>({v2c321f68:_(f)}));const t=e,r=Re("card.buttonIcon"),n=Re("jackpotIcon"),i=Re("winnersMarquee.showGame"),s=ji(),{lead:a}=Li(s),o=M(()=>["brand","portal"].includes(s.value?.siteType||"")),l=M(()=>(s.value?.winners?.length?s.value.winners:t.items).map(d=>({name:d.name||d.winner||d.title||"Anonymous",amount:d.amount||d.prize||"",date:Fo(d.date||d.winDate||d.created||""),game:d.game||"",soft:d.soft||""}))),c=M(()=>[...l.value,...l.value,...l.value,...l.value]),f=M(()=>`${t.duration}s`);return(d,u)=>{const h=nn;return _(l).length&&_(o)?(I(),G("div",{key:0,class:"winners-marquee","aria-label":e.label},[K("span",mh,[te(h,{name:_(n),class:"marquee-icon"},null,8,["name"]),xt(" "+ee(e.label),1)]),K("div",yh,[K("ul",{class:"marquee-track",style:Oa({"--item-count":_(c).length})},[(I(!0),G(Ve,null,$t(_(c),(p,y)=>(I(),G("li",{key:y,class:nr(["marquee-item",{"marquee-item--stacked":_(i)}])},[_(i)&&p.game?(I(),G(Ve,{key:0},[K("span",vh,ee(p.name),1),K("span",gh,ee(p.amount),1),K("button",{type:"button",class:"winner-game-btn",onClick:Vr(m=>_(a)(p.soft?null:_(s)?.defaultNick,p.soft||null),["prevent"])},[te(h,{name:_(r),class:"winner-game-icon"},null,8,["name"]),xt(ee(p.game),1)],8,bh),K("span",wh,ee(p.date),1)],64)):(I(),G(Ve,{key:1},[K("span",_h,ee(p.name),1),u[0]||(u[0]=K("span",{class:"winner-sep"},"·",-1)),K("span",kh,ee(p.amount),1),u[1]||(u[1]=K("span",{class:"winner-sep"},"·",-1)),K("button",{type:"button",class:"winner-game-btn",onClick:Vr(m=>_(a)(p.soft?null:_(s)?.defaultNick,p.soft||null),["prevent"])},[te(h,{name:_(r),class:"winner-game-icon"},null,8,["name"]),xt(ee(p.game),1)],8,Sh),K("span",Eh,ee(p.date),1)],64))],2))),128))],4)])],8,ph)):ge("",!0)}}},ua=sn(Oh,[["__scopeId","data-v-99dc3053"]]),Ch=xi({default:()=>fa}
43),Th={key:0},Rh=["srcset","type","width","height"],Ph=["src","height","width","alt"],Fh={key:1},fa=Object.assign({name:"ShowImage",inheritAttrs:!1},{__name:"ShowImage",props:{nid:{type:[Number,String],default:null},type:{type:String,default:""},alt:{type:String,default:""},downloadnick:{type:String,default:""},software:{type:String,default:""},innerlink:{type:String,default:""},innerLink:{type:String,default:""},href:{type:String,default:""},position:{type:String,default:"left"},class:{type:String,default:""},src:{type:String,default:""}},emits:["nodata"],setup(e,{emit:t}){const r=t,n=e;(!n.nid||!n.type)&&r("nodata");const{imageUrl:i}=Do(),s=[{match:"Slots",dir:"slots-review",url:"reels-246x185",ext:"jpg",width:246,height:185},{match:"Brand",dir:"brand-review",url:"logo-157x75",ext:"png",width:157,height:75},{match:"Software",dir:"software-review",url:"logo-157x75",ext:"png",width:157,height:75}],a=M(()=>{const p=s.find(v=>n.type.includes(v.match));if(!p)return null;const{match:y,...m}=p;return m}),o=M(()=>!!n.nid&&!!a.value),l=M(()=>a.value?`/files_default/${a.value.dir}/${String(n.nid).split("").join("/")}/${a.value.url}.${a.value.ext}`:""),c=M(()=>a.value?`/files_default/${a.value.dir}/${a.value.url}.${a.value.ext}`:""),f=M(()=>n.position?`pos-${n.position}`:""),d=M(()=>{if(!a.value)return[];const{ext:p,width:y,height:m}=a.value;return["avif","webp"].map(v=>({url:l.value.replace(p,v),type:`image/${v}`,width:y,height:m}))}),u=p=>i(p),h=p=>{const y=p.target instanceof HTMLImageElement?p.target:void 0;for(;y?.previousElementSibling?.nodeName==="SOURCE"&&y.parentNode;)y.parentNode.removeChild(y.previousElementSibling);y&&(y.src=new URL(u(c.value),y.src).href)};return(p,y)=>{const m=xo;return _(a)?(I(),H(m,{key:0,nick:e.downloadnick,soft:e.software,to:n.innerlink||n.innerLink,href:e.href},{default:Te(()=>[_(o)?(I(),G("picture",Th,[(I(!0),G(Ve,null,$t(_(d),(v,w)=>(I(),G("source",{key:v.url||v.type||w,srcset:u(v.url),type:v.type,width:v.width??void 0,height:v.height??void 0},null,8,Rh))),128)),K("img",{src:u(_(l)||n.src),height:_(a)?.height??void 0,loading:"lazy",decoding:"async",width:_(a)?.width??void 0,class:nr([_(f),n.class].filter(Boolean).join(" ")),style:{filter:"var(--drop-shadow-brand, none)"},alt:n.alt,onErrorOnce:h},null,42,Ph)])):ge("",!0)]),_:1},8,["nick","soft","to","href"])):(I(),G("span",Fh))}}}),xh=["aria-label","disabled"],Dh={__name:"Button",props:{text:{type:String,required:!1,default:"Play Now"},downloadNick:{type:String,default:""},softwareTitle:{type:String,default:""},variant:{type:String,default:"primary",validator:e=>["primary","secondary","tertiary","text","cta"].includes(e)},size:{type:String,default:"medium",validator:e=>["small","medium","large"].includes(e)},disabled:{type:Boolean,default:!1}},setup(e){const t=e,r=Bt("page",null),n=r?Li(r):null,i=M(()=>n?.loading.value??!1),s=Re("icons.loading"),a=()=>{const l=_(r);if(l?.siteType==="civilian"){const c=l?.download?.url;c&&rn(c,{external:!0});return}!t.downloadNick&&!t.softwareTitle||n&&n.lead(t.downloadNick,t.softwareTitle)},o=M(()=>{const l="inline-flex items-center justify-center font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed rounded-lg whitespace-nowrap",c={small:"px-3 py-1.5 text-sm",medium:"px-6 py-3 text-base",large:"px-8 py-4 text-lg"};if(t.variant==="text")return`${l} text-text-button p-0 hover:underline`;const f="bg-button-primary text-button-primary-text hover:bg-button-primary-hover focus:ring-button-primary shadow-md",d={primary:f,secondary:"bg-button-secondary text-button-secondary-text hover:bg-button-secondary-hover focus:ring-button-secondary shadow-sm",tertiary:"bg-button-tertiary text-button-tertiary-text hover:bg-button-tertiary-hover focus:ring-button-tertiary-text border-2 border-button-tertiary-text",cta:"bg-cta-btn text-text-button hover:opacity-90 focus:ring-cta-btn shadow-md"};return`${l} ${c[t.size]||c.medium} ${d[t.variant]||f}`});return(l,c)=>{const f=nn;return I(),G("button",{type:"button",class:nr(_(o)),"aria-label":e.text,disabled:_(i)||e.disabled,onClick:Vr(a,["prevent"])},[_(i)?(I(),H(f,{key:0,name:_(s),class:"w-4 h-4 animate-spin mr-2"},null,8,["name"])):ge("",!0),jr(l.$slots,"default",{},()=>[xt(ee(e.text),1)])],10,xh)}}},Ih={props:{rawText:{type:String,default:""}}};function Ah(e,t,r,n,i,s){return ee(r.rawText)}var Mh=Object.assign(sn(Ih,[["render",Ah]]),{__name:"RawText"}),Lr={img:{component:"img",hasChildren:!1},source:{component:"source",hasChildren:!1},"nuxt-link":{component:mo,hasChildren:!0},ImagePicture:{renderType:"simple"},MainBanner:{component:"ImageBanner",hasChildren:!1}},Ti=e=>!!e&&e.startsWith("Uzi"),Nh=e=>e&&typeof e=="object"&&(e.tagName||e.rawText),Lh=(e={RawText:Mh,Dumb:Ao})=>({resolveElement:n=>{const{tagName:i,isComponent:s,attr:a={}}=n,o=n.childNodes?.filter(Nh);if(i==="RawText")return{renderType:"simple",component:e.RawText||"span",hasChildren:!1,attr:{rawText:n.rawText||""},childs:[]};const l={renderType:"simple",component:i,hasChildren:!!o&&o.length>0,attr:{...a},childs:o};return Lr[i]&&Object.assign(l,Lr[i]),s&&(Ti(i)&&(l.component="UziQuery",l.renderType=a.preloaded?"simple":"lazy"),i==="Faq"&&(l.attr.items=a.faqs||[]),typeof l.component=="string"&&(l.component=e[l.component]||Fa(l.component)||l.component),typeof l.component=="string"&&(l.component=e.Dumb||"span",l.hasChildren=!1,l.attr={tagName:i,...a})),l},getComponentMap:()=>({...Lr}),isUziComponent:Ti}),ha=Object.assign({inheritAttrs:!0},{__name:"Element",props:{tagName:{type:String,default:"RawText"},rawText:{type:String,default:""},isComponent:{type:Boolean,default:!1},attr:{type:Object,default:()=>({})},childNodes:{type:Array,default:()=>[]}},setup(e){const t=e,{resolveElement:r}
43=Lh(),n=M(()=>r(t));return(i,s)=>{const a=ha,o=Io;return n.value.renderType==="lazy"?(I(),H(o,{key:0,"min-height":"50",tag:"div"},{default:Te(()=>[(I(),H(Qt(n.value.component),ft(Ut(n.value.attr)),{default:Te(()=>[n.value.hasChildren?(I(!0),G(Ve,{key:0},$t(n.value.childs,(l,c)=>(I(),H(a,Dt({key:String(c)},{ref_for:!0},l),null,16))),128)):ge("",!0)]),_:1},16))]),_:1})):(I(),H(Qt(n.value.component),ft(Dt({key:1},n.value.attr)),{default:Te(()=>[n.value.hasChildren?(I(!0),G(Ve,{key:0},$t(n.value.childs,(l,c)=>(I(),H(a,Dt({key:String(c)},{ref_for:!0},l),null,16))),128)):ge("",!0)]),_:1},16))}}}),jh={class:"article-title"},qh={key:1,class:"article-media-wrapper"},Vh={class:"button-container"},Wh={__name:"Article",setup(e){const t=ji(),r=Re("exclusiveComponents"),n=F(()=>P(()=>import("./7yoBkn072.js"),__vite__mapDeps([11,2,19]),import.meta.url)),i=M(()=>_(t)?.typename!=="BrandReview"||!(r.value||[]).includes("Passport")?null:n),s=M(()=>t.value?.rels||{}),a=M(()=>Po(t.value?.body?.childNodes?.[0])),o=M(()=>["BrandReview","SlotsGameReview","NewsArticle","SoftwareReview"].includes(t.value?.typename||"")),l=M(()=>!!(s.value.downloadNick||s.value.softwareTitle)),c=M(()=>o.value&&!!s.value.nid&&!a.value&&l.value),f=M(()=>{const d=t.value?.typename;return{nid:s.value.nid,contentType:(d==="NewsArticle"?s.value.contentType:d)||"",nick:s.value.downloadNick||"",soft:(d==="SoftwareReview"?s.value.Title:s.value.softwareTitle)||"",alt:s.value.Title||t.value?.title||"review image"}});return(d,u)=>{const h=ua,p=fa,y=Dh,m=ha;return jr(d.$slots,"article",ft(Ut(d.$attrs)),()=>[te(h),K("h1",jh,ee(_(t)?.title),1),_(i)?(I(),H(Qt(_(i)),{key:0})):ge("",!0),_(c)?(I(),G("div",qh,[te(p,{class:"article-image",nid:_(f).nid,type:_(f).contentType,downloadnick:_(f).nick,alt:_(f).alt,position:"",software:_(f).soft},null,8,["nid","type","downloadnick","alt","software"]),K("div",Vh,[te(y,{variant:"primary","download-nick":_(f).nick,"software-title":_(f).soft,text:_(t)?.download?.title},null,8,["download-nick","software-title","text"])])])):ge("",!0),jr(d.$slots,"default",{},()=>[te(m,ft(Ut(_(t)?.body)),null,16)],!0)],!0)}}},zh=sn(Wh,[["__scopeId","data-v-e23a99f5"]]),Qh=Qi;function da(e,t){return _(t)??e?.meta.layout??Qh(e?.path??"/").appLayout??"default"}var rr={"access-restricted":F(()=>P(()=>import("./CWkbKPXr.js").then(e=>e.default||e),[],import.meta.url)),default:F(()=>P(()=>import("./wGrDhXpG.js").then(e=>e.default||e),__vite__mapDeps([1,20,21]),import.meta.url)),"full-width":F(()=>P(()=>import("./DCC2eyC8.js").then(e=>e.default||e),__vite__mapDeps([1,20,22]),import.meta.url)),"left-menu":F(()=>P(()=>import("./dLDKA5d_.js").then(e=>e.default||e),__vite__mapDeps([1,20,23]),import.meta.url))},Bh=bt({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>$e(rr[e.name],e.layoutProps,t.slots)}}),$h=bt({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const r=Pe(),n=Bt(Ht),i=!n||n===Ue()?Ue():n,s=M(()=>{let c=da(i,e.name);return c&&!(c in rr)&&e.fallback&&(c=_(e.fallback)),c});se(Ya,s);const a=Ft();t.expose({layoutRef:a});const o=r.deferHydration();if(r.isHydrating){const c=r.hooks.hookOnce("app:error",o),f=ir().beforeEach(()=>{c(),f()})}let l;return()=>{const c=!!s.value&&s.value in rr&&!!(i?.meta.layoutTransition??!1),f=c&&Ro([i?.meta.layoutTransition,!1,{onBeforeLeave(){r["~transitionPromise"]=new Promise(u=>{r["~transitionFinish"]=u})},onAfterLeave(){r["~transitionFinish"]?.(),delete r["~transitionFinish"],delete r["~transitionPromise"]}}]),d=l;return l=s.value,To(f,{default:()=>$e(Ai,{suspensible:!0,onResolve:async()=>{await tn(o)}},{default:()=>$e(Uh,{layoutProps:Dt(t.attrs,i.meta.layoutProps??{},{ref:a}),key:s.value||void 0,name:s.value,shouldProvide:!e.name,isRenderingNewLayout:u=>u!==d&&u===s.value,hasTransition:c},t.slots)})}).default()}}}),Uh=bt({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){const r=e.name;e.shouldProvide&&se(Cn,{isCurrent:a=>r===!1||r===da(a)});
43const n=Bt(Ht),i=n&&n===Ue(),s=Bt(Cn,null);if(i){const a=Ue(),o={};for(const l in a){const c=l;Object.defineProperty(o,c,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)&&(!s||s.isCurrent(a))?a[c]:n[c]})}se(Ht,Pa(o))}return()=>!r||typeof r=="string"&&!(r in rr)?t.slots.default?.():$e(Bh,{key:r,layoutProps:e.layoutProps,name:r},t.slots)}}),Hh=Object.assign({name:"BackToTop"},{__name:"BackToTop",props:{scrollThreshold:{type:Number,default:null},icon:{type:String,default:null}},setup(e){const t=e,r=Re("backToTop.icon"),n=Re("backToTop.shape"),i=M(()=>t.icon||r.value||"lucide:arrow-up"),s=M(()=>(n.value||"round")==="round"?"back-to-top--round":"back-to-top--rectangle"),a=J(500),o=()=>{a.value=Math.max(500,window.innerHeight)},l=M(()=>t.scrollThreshold??a.value),c=J(!1),f=()=>{c.value=window.scrollY>l.value},d=()=>{window.scrollTo({top:0,behavior:"smooth"})};return Di(()=>{o(),window.addEventListener("scroll",f),window.addEventListener("resize",o)}),Ii(()=>{window.removeEventListener("scroll",f),window.removeEventListener("resize",o)}),(u,h)=>{const p=nn;return I(),H(Aa,{name:"back-to-top"},{default:Te(()=>[_(c)?(I(),G("button",{key:0,class:nr(["back-to-top",_(s)]),"aria-label":"Back to top",onClick:d},[te(p,{name:_(i),class:"w-5 h-5"},null,8,["name"])],2)):ge("",!0)]),_:1})}}});function Kh(e){return new URL(globalThis.location.href)}var Ri=(e,t={},r)=>{const{$apollo:n}=Pe(),i=typeof e=="string"?It(e):e,s=M(()=>_(t)),a=M(()=>_(r)||`gql-${Gh(JSON.stringify(s.value))}`);return go(a,async()=>{try{const o=await n.query({query:i,variables:s.value});return"errors"in o,o.data}catch(o){throw o}},{server:!0,watch:[s]})};function Gh(e){return typeof e=="string"?e:JSON.stringify(e).split("").reduce((t,r)=>(t=(t<<5)-t+r.charCodeAt(0),t&t),0).toString()}function Pt(e,t,r){const n=structuredClone(_(e)?.pageQuery?.page||{});if(n.meta=n.meta||{},(!n.meta.script||!Array.isArray(n.meta.script))&&(n.meta.script=[]),typeof window>"u"&&n.meta.script.push({type:"text/javascript",id:"conf",innerHTML:`window.hostBase="${n.hostname||t.host}";`}),(!n.meta.link||!Array.isArray(n.meta.link))&&(n.meta.link=[]),n.meta.link.push({rel:"manifest",href:"/api/pwa/manifest.webmanifest"}),typeof window>"u"&&n.blocks){const i=n.blocks.AboveContent?.find(s=>
43s.type==="MainBanner"&&s.props?.preloaded?.sources?.length);if(i){n.meta.link=n.meta.link.filter(o=>!(o?.rel==="preload"&&o?.as==="image"));const s=i.props.preloaded.sources,a=new Set;for(const o of s){const l=o.media||"";o.srcset&&!a.has(l)&&(a.add(l),n.meta.link.push({rel:"preload",as:"image",href:o.srcset,type:o.type,media:o.media?`screen and ${o.media}`:void 0,fetchpriority:"high"}))}}}if(n.meta?.link&&Array.isArray(n.meta.link)){let i="";try{i=Be().public.s3path}catch{}i&&(n.meta.link=n.meta.link.map(s=>s&&typeof s=="object"&&"rel"in s&&(s.rel==="preload"||s.rel==="prefetch")&&"as"in s&&s.as==="image"&&"href"in s&&s.href&&typeof s.href=="string"&&/^https?:\/\//.test(s.href)?{...s,href:s.href.replace(/^https?:\/\/[^/]+/,i)}:s),n.meta.link.push({rel:"preconnect",href:i}))}if(n.anl&&n.hostname&&n.uri&&n.anl.id){if(n.anl.type==="gtm")typeof window<"u"?(window.dataLayer=window.dataLayer??[]).push({event:"content-view","content-name":`https://${n.hostname}/${n.uri==="index.html"?"":n.uri}`,"content-view-name":n.title,page_referrer:r}):n.meta.script.push({async:!0,src:"https://www.googletagmanager.com/gtag/js?id="+n.anl.id},{type:"text/javascript",id:"gtm",innerHTML:`window.dataLayer = window.dataLayer || [];
44function gtag(){dataLayer.push(arguments);}
45gtag('js', new Date());
46gtag('config', '${n.anl.id}', {'send_page_view': true});`});else if(n.anl.type==="matomo")if(typeof window<"u"){const i=window._paq;i&&typeof i.push=="function"&&(r&&i.push(["setReferrerUrl",r]),i.push(["setCustomUrl",`https://${n.hostname}/${n.uri==="index.html"?"":n.uri}`]),i.push(["trackPageView",n.title]))}else n.meta.script.push({type:"text/javascript",async:!0,id:"matomo",innerHTML:`
47  var _paq = window._paq = window._paq || [];
48  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
49  _paq.push(['enableLinkTracking']);
50    (function() {
51    var u="https://piwik4.pcsol.com/piwik/";
52    _paq.push(['setTrackerUrl', u+'matomo.php']);
53    _paq.push(['setSiteId', '${n.anl.id}']);
54    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
55    g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
56  })();`,tagPosition:"head"})}return n}var Jh={__name:"app",async setup(e){let t,r;const n=()=>null,i=()=>null;Be();const s=ir(),a=Ue(),o=Kh(),{$apollo:l}=Pe(),{currentTheme:c,currentLayout:f,currentHostname:d,syncWithPage:u}=eo();Za();const h=M(()=>typeof window<"u"&&"hostBase"in window&&typeof window.hostBase=="string"?window.hostBase:o.host);[t,r]=Ie(()=>no()),await t,r(),a.path==="/index.html"&&([t,r]=Ie(()=>rn("/",{redirectCode:301})),await t,r());const p=It`
57  query pageQuery($hostname: String!, $uri: String!) {
58    pageQuery(hostname: $hostname, uri: $uri)
59  }
60`,y=C=>(C=C.replace(/^[/]+|[/]+$/g,""),(!C||C==="")&&(C="index.html"),decodeURIComponent(C)),m=J(null),{data:v}=([t,r]=Ie(()=>Ri(p,{hostname:h.value,uri:y(a.path)})),t=await t,r(),t);if(v.value){let C=Pt(v.value,o);if(typeof window<"u"&&h.value==="truefortunecasino.com"){const W=It`
61      query UserInfo {
62        UserInfo
63      }
64    `,{data:z}=([t,r]=Ie(()=>l.query({query:W})),t=await t,r(),t),$=_(z)?.UserInfo?.geo;if($?.country?.iso_code==="US"&&$?.subdivisions?.[0]?.iso_code==="MI"){const{anl:Z,design:et,siteType:pa,portal:ma}=v.value?.pageQuery?.page||{};C=Pt({pageQuery:{page:{uri:"access-restricted.html",hostname:h.value,title:"Access Restricted",meta:{title:"Access Restricted"},body:{tagName:"span",childNodes:[{tagName:"p",childNodes:[{rawText:`We're sorry, but access to this content is restricted in your region.
65`}]}]},portal:ma,anl:Z,design:{...et,layout:"access-restricted"},siteType:pa}}},o)}}[t,r]=Ie(()=>u(C)),await t,r(),m.value=C}const w=J("US"),g=J([]),b=J({});if(navigator?.language){g.value=["AL","AR","AT","BA","BE","BG","BR","CH","CZ","DE","DK","EE","ES","FI","FR","GR","HR","HU","ID","IE","IL","IN","IT","JP","LT","LV","MX","MY","NG","NL","NO","PH","PL","PT","RO","RS","SE","SI","SK","TH","TR","UA","VE","VN","KN","BD"];const C=It`
66    query friendlyCountryBrand($country: String!) {
67      friendlyCountryBrand(country: $country)
68    }
69  `,W=navigator?.languages?.filter($=>$.includes("-")),z=W?.length?W[0]:navigator?.language;if(typeof z=="string"&&z.length>0){const[,$]=z.split("-");if(w.value=$?$.toUpperCase():"US",g.value.includes(w.value)){const{data:Z}=([t,r]=Ie(()=>Ri(C,{country:w.value})),t=await t,r(),t);Z.value&&(b.value=Z.value?.friendlyCountryBrand?.banner||{})}}}const S=["theme-demo"].some(C=>a.path===`/${C}`||a.path===`/${C}.html`);
69if(m.value?.uri==="404.html"&&!S){const C=ro();C&&to(C,404)}const O=J(!1),E=Pe();se("page",Ct(m)),se("friendlyCountries",Ct(g)),se("friendlyCountryBanner",Ct(b)),se("navigatorCountry",Ct(w)),se("isNavigating",O),se("refreshPage",async C=>{try{E.callHook("page:loading:start");const W=await l.query({query:p,variables:{hostname:C||h.value,uri:m.value?.uri||y(a.path)},fetchPolicy:"no-cache"}),z=Pt(W.data,o);await u(z),m.value=z,window&&window.scrollTo(0,0)}catch{}finally{E.callHook("page:loading:end")}}),Di(()=>{const C=()=>{document.body.classList.toggle("scrolled",window.scrollY>window.innerHeight*.5)};window.addEventListener("scroll",C,{passive:!0}),Ii(()=>window.removeEventListener("scroll",C))});const V=M(()=>_(m)?.meta??{});return ho(V),s.afterEach((C,W)=>{const z=m.value?.uri?`https://${m.value.hostname}/${m.value.uri==="index.html"?"":m.value.uri}`:void 0;y(C.path)!==m.value?.uri&&(O.value=!0,window&&window.scrollTo(0,0),E.callHook("page:loading:start"),l.query({query:p,variables:{hostname:h.value,uri:y(C.path)}}).then(async $=>{const Z=Pt($.data,o,z);await u(Z),m.value=Z,O.value=!1}).catch($=>{O.value=!1}).finally(()=>{E.callHook("page:loading:end")}))}),(C,W)=>{const z=hh,$=zh,Z=$h,et=Hh;return I(),G("div",null,[te(z,{color:"var(--action-primary)"}),te(_(i)),te(Z,{name:_(f)},{default:Te(()=>[_(a).path==="/theme-demo"||_(a).path==="/theme-demo.html"?(I(),H(_(n),{key:0})):(I(),H($,{key:1}))]),_:1},8,["name"]),te(et)])}}},Yh={__name:"nuxt-error-page",props:{error:Object},setup(e){const t=e.error,r=Number(t.statusCode||500),n=r===404,i=t.statusMessage??(n?"Page Not Found":"Internal Server Error"),s=t.message||t.toString(),a=void 0,o=F(()=>P(()=>import("./KjHFMpaN.js"),__vite__mapDeps([24]),import.meta.url)),l=F(()=>P(()=>import("./rIkSSh70.js"),__vite__mapDeps([25]),import.meta.url)),c=n?o:l;return(f,d)=>(I(),H(_(c),ft(Ut({status:_(r),statusText:_(i),statusCode:_(r),statusMessage:_(i),description:_(s),stack:_(a)})),null,16))}},Xh=()=>null,Zh={key:0},Pi={__name:"nuxt-root",setup(e){const t=Pe(),r=t.deferHydration();if(t.isHydrating){const l=t.hooks.hookOnce("app:error",r),c=ir().beforeEach(()=>{l(),c()})}window.location.pathname;const n=!1;se(Ht,Ue()),t.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup",[]);const i=Ua(),s=!1;function a(l,c,f){const d=t.vueApp.config.errorHandler;if(d&&!d.__nuxt_default)try{d(l,c,f)}catch{}}Ra((l,c,f)=>{if(t.hooks.callHook("vue:error",l,c,f)?.catch(d=>{}),Ma(navigator.userAgent))return $a(t,l),!1;if(Ka(l)&&(l.fatal||l.unhandled))return t.runWithContext(()=>Ba(l)),a(l,c,f),!1});const o=!1;return(l,c)=>(I(),H(Ai,{onResolve:_(r)},{default:Te(()=>[_(s)?(I(),G("div",Zh)):_(i)?(I(),H(_(Yh),{key:1,error:_(i)},null,8,["error"])):_(o)?(I(),H(_(Xh),{key:2,context:_(o)},null,8,["context"])):_(n)?(I(),H(Qt(_(n)),{key:3})):(I(),H(_(Jh),{key:4}))]),_:1},8,["onResolve"]))}},Fi;{let e;Fi=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),n=r?Ia(Pi):Da(Pi),i=wa({vueApp:n});async function s(a){await i.callHook("app:error",a),i.payload.error||=Ha(a)}s.__nuxt_default=!0,n.config.errorHandler=s,i.hook("app:suspense:resolve",()=>{n.config.errorHandler===s&&(n.config.errorHandler=void 0)}),!r&&En.id&&i.hook("app:suspense:resolve",()=>{document.getElementById(En.id)?.remove()});try{await Sa(i,lh)}catch(a){s(a)}try{await i.hooks.callHook("app:created",n),await i.hooks.callHook("app:beforeMount",n),n.mount(ya),await i.hooks.callHook("app:mounted",n),await tn()}catch(a){s(a)}return n},e=Fi().catch(t=>{throw ka.NUXT_E1009({cause:t}),t})}export{fa as i,ha as n,Dh as r,Ri as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.