1(()=>{var hu={3892(C,k,_){"use strict";var E,j=_(2679);E={value:!0},k.X4=W,E=ye,E=void 0,k.e$=oe,E=z,E=te,k.eM=le,E=ne,E=ae,E=ie,k.a=de,E=ve,E=void 0,E=K,E=Te,E=he,E=Q,E=ce;var B=j(_(6200)),$=j(_(7314));function Y(V,L=0,ee=1){return(0,$.default)(V,L,ee)}function ae(V){V=V.slice(1);const L=new RegExp(`.{1,${V.length>=6?2:1}}`,"g");let ee=V.match(L);return ee&&ee[0].length===1&&(ee=ee.map(re=>re+re)),ee?`rgb${ee.length===4?"a":""}(${ee.map((re,Ee)=>Ee<3?parseInt(re,16):Math.round(parseInt(re,16)/255*1e3)/1e3).join(", ")})`:""}function U(V){const L=V.toString(16);return L.length===1?`0${L}`:L}function z(V){if(V.type)return V;if(V.charAt(0)==="#")return z(ae(V));const L=V.indexOf("("),ee=V.substring(0,L);if(["rgb","rgba","hsl","hsla","color"].indexOf(ee)===-1)throw new Error((0,B.default)(9,V));let re=V.substring(L+1,V.length-1),Ee;if(ee==="color"){if(re=re.split(" "),Ee=re.shift(),re.length===4&&re[3].charAt(0)==="/"&&(re[3]=re[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(Ee)===-1)throw new Error((0,B.default)(10,Ee))}else re=re.split(",");return re=re.map(ze=>parseFloat(ze)),{type:ee,values:re,colorSpace:Ee}}const Z=V=>{const L=z(V);return L.values.slice(0,3).map((ee,re)=>L.type.indexOf("hsl")!==-1&&re!==0?`${ee}%`:ee).join(" ")};E=Z,E=(V,L)=>{try{return Z(V)}catch(ee){return V}};function Q(V){const{type:L,colorSpace:ee}=V;let{values:re}=V;return L.indexOf("rgb")!==-1?re=re.map((Ee,ze)=>ze<3?parseInt(Ee,10):Ee):L.indexOf("hsl")!==-1&&(re[1]=`${re[1]}%`,re[2]=`${re[2]}%`),L.indexOf("color")!==-1?re=`${ee} ${re.join(" ")}`:re=`${re.join(", ")}`,`${L}(${re})`}function ce(V){if(V.indexOf("#")===0)return V;const{values:L}=z(V);return`#${L.map((ee,re)=>U(re===3?Math.round(255*ee):ee)).join("")}`}function ie(V){V=z(V);const{values:L}=V,ee=L[0],re=L[1]/100,Ee=L[2]/100,ze=re*Math.min(Ee,1-Ee),Pe=(Ve,je=(Ve+ee/30)%12)=>Ee-ze*Math.max(Math.min(je-3,9-je,1),-1);let Ie="rgb";const ft=[Math.round(Pe(0)*255),Math.round(Pe(8)*255),Math.round(Pe(4)*255)];return V.type==="hsla"&&(Ie+="a",ft.push(L[3])),Q({type:Ie,values:ft})}function ne(V){V=z(V);let L=V.type==="hsl"||V.type==="hsla"?z(ie(V)).values:V.values;return L=L.map(ee=>(V.type!=="color"&&(ee/=255),ee<=.03928?ee/12.92:((ee+.055)/1.055)**2.4)),Number((.2126*L[0]+.7152*L[1]+.0722*L[2]).toFixed(3))}function le(V,L){const ee=ne(V),re=ne(L);return(Math.max(ee,re)+.05)/(Math.min(ee,re)+.05)}function W(V,L){return V=z(V),L=Y(L),(V.type==="rgb"||V.type==="hsl")&&(V.type+="a"),V.type==="color"?V.values[3]=`/${L}`:V.values[3]=L,Q(V)}function ve(V,L,ee){try{return W(V,L)}catch(re){return V}}function oe(V,L){if(V=z(V),L=Y(L),V.type.indexOf("hsl")!==-1)V.values[2]*=1-L;else if(V.type.indexOf("rgb")!==-1||V.type.indexOf("color")!==-1)for(let ee=0;ee<3;ee+=1)V.values[ee]*=1-L;return Q(V)}function K(V,L,ee){try{return oe(V,L)}catch(re){return V}}function de(V,L){if(V=z(V),L=Y(L),V.type.indexOf("hsl")!==-1)V.values[2]+=(100-V.values[2])*L;else if(V.type.indexOf("rgb")!==-1)for(let ee=0;ee<3;ee+=1)V.values[ee]+=(255-V.values[ee])*L;else if(V.type.indexOf("color")!==-1)for(let ee=0;ee<3;ee+=1)V.values[ee]+=(1-V.values[ee])*L;return Q(V)}function he(V,L,ee){try{return de(V,L)}catch(re){return V}}function te(V,L=.15){return ne(V)>.5?oe(V,L):de(V,L)}function Te(V,L,ee){try{return te(V,L)}catch(re){return V}}function ye(V,L,ee,re=1){const Ee=(ft,Ve)=>Math.round((ft**(1/re)*(1-ee)+Ve**(1/re)*ee)**re),ze=z(V),Pe=z(L),Ie=[Ee(ze.values[0],Pe.values[0]),Ee(ze.values[1],Pe.values[1]),Ee(ze.values[2],Pe.values[2])];return Q({type:"rgb",values:Ie})}},4174(C,k,_){"use strict";var E,j=_(2679);E={value:!0},k.Ay=V,E=oe,E=void 0;var B=j(_(9787)),$=j(_(866)),Y=le(_(4083)),ae=_(1335),U=j(_(3893)),z=j(_(9184)),Z=j(_(9311)),J=j(_(7096));const Q=["ownerState"],ce=["variants"],ie=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function ne(L){if(typeof WeakMap!="function")return null;var ee=new WeakMap,re=new WeakMap;return(ne=function(Ee){return Ee?re:ee})(L)}function le(L,ee){if(!ee&&L&&L.__esModule)return L;if(L===null||typeof L!="object"&&typeof L!="function")return{default:L};var re=ne(ee);if(re&&re.has(L))return re.get(L);var Ee={__proto__:null},ze=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Pe in L)if(Pe!=="default"&&Object.prototype.hasOwnProperty.call(L,Pe)){var Ie=ze?Ob
1ject.getOwnPropertyDescriptor(L,Pe):null;Ie&&(Ie.get||Ie.set)?Object.defineProperty(Ee,Pe,Ie):Ee[Pe]=L[Pe]}return Ee.default=L,re&&re.set(L,Ee),Ee}function W(L){return Object.keys(L).length===0}function ve(L){return typeof L=="string"&&L.charCodeAt(0)>96}function oe(L){return L!=="ownerState"&&L!=="theme"&&L!=="sx"&&L!=="as"}function K(L,ee){return ee&&L&&typeof L=="object"&&L.styles&&!L.styles.startsWith("@layer")&&(L.styles=`@layer ${ee}{${String(L.styles)}}`),L}const de=E=(0,Z.default)(),he=L=>L&&L.charAt(0).toLowerCase()+L.slice(1);function te({defaultTheme:L,theme:ee,themeId:re}){return W(ee)?L:ee[re]||ee}function Te(L){return L?(ee,re)=>re[L]:null}function ye(L,ee,re){let{ownerState:Ee}=ee,ze=(0,$.default)(ee,Q);const Pe=typeof L=="function"?L((0,B.default)({ownerState:Ee},ze)):L;if(Array.isArray(Pe))return Pe.flatMap(Ie=>ye(Ie,(0,B.default)({ownerState:Ee},ze),re));if(Pe&&typeof Pe=="object"&&Array.isArray(Pe.variants)){const{variants:Ie=[]}=Pe;let Ve=(0,$.default)(Pe,ce);return Ie.forEach(je=>{let dt=!0;if(typeof je.props=="function"?dt=je.props((0,B.default)({ownerState:Ee},ze,Ee)):Object.keys(je.props).forEach(rt=>{(Ee==null?void 0:Ee[rt])!==je.props[rt]&&ze[rt]!==je.props[rt]&&(dt=!1)}),dt){Array.isArray(Ve)||(Ve=[Ve]);const rt=typeof je.style=="function"?je.style((0,B.default)({ownerState:Ee},ze,Ee)):je.style;Ve.push(re?K((0,Y.internal_serializeStyles)(rt),re):rt)}}),Ve}return re?K((0,Y.internal_serializeStyles)(Pe),re):Pe}function V(L={}){const{themeId:ee,defaultTheme:re=de,rootShouldForwardProp:Ee=oe,slotShouldForwardProp:ze=oe}=L,Pe=Ie=>(0,J.default)((0,B.default)({},Ie,{theme:te((0,B.default)({},Ie,{defaultTheme:re,themeId:ee}))}));return Pe.__mui_systemSx=!0,(Ie,ft={})=>{(0,Y.internal_processStyles)(Ie,$e=>$e.filter(nt=>!(nt!=null&&nt.__mui_systemSx)));const{name:Ve,slot:je,skipVariantsResolver:dt,skipSx:rt,overridesResolver:dn=Te(he(je))}=ft,pn=(0,$.default)(ft,ie),vt=Ve&&Ve.startsWith("Mui")||je?"components":"custom",Jt=dt!==void 0?dt:je&&je!=="Root"&&je!=="root"||!1,Cr=rt||!1;let Zt,Pr=oe;je==="Root"||je==="root"?Pr=Ee:je?Pr=ze:ve(Ie)&&(Pr=void 0);const hn=(0,Y.default)(Ie,(0,B.default)({shouldForwardProp:Pr,label:Zt},pn)),er=$e=>typeof $e=="function"&&$e.__emotion_real!==$e||(0,ae.isPlainObject)($e)?nt=>{const pt=te({theme:nt.theme,defaultTheme:re,themeId:ee});return ye($e,(0,B.default)({},nt,{theme:pt}),pt.modularCssLayers?vt:void 0)}:$e,Ye=($e,...nt)=>{let pt=er($e);const _t=nt?nt.map(er):[];Ve&&dn&&_t.push(De=>{const Xe=te((0,B.default)({},De,{defaultTheme:re,themeId:ee}));if(!Xe.components||!Xe.components[Ve]||!Xe.components[Ve].styleOverrides)return null;const gt=Xe.components[Ve].styleOverrides,St={};return Object.entries(gt).forEach(([Mr,ks])=>{St[Mr]=ye(ks,(0,B.default)({},De,{theme:Xe}),Xe.modularCssLayers?"theme":void 0)}),dn(De,St)}),Ve&&!Jt&&_t.push(De=>{var Xe;const gt=te((0,B.default)({},De,{defaultTheme:re,themeId:ee})),St=gt==null||(Xe=gt.components)==null||(Xe=Xe[Ve])==null?void 0:Xe.variants;return ye({variants:St},(0,B.default)({},De,{theme:gt}),gt.modularCssLayers?"theme":void 0)}),Cr||_t.push(Pe);const Nt=_t.length-nt.length;if(Array.isArray($e)&&Nt>0){const De=new Array(Nt).fill("");pt=[...$e,...De],pt.raw=[...$e.raw,...De]}const se=hn(pt,..._t);return Ie.muiName&&(se.muiName=Ie.muiName),se};return hn.withConfig&&(Ye.withConfig=hn.withConfig),Ye}}},3558(C,k,_){"use strict";_.d(k,{Vq:()=>K,t0:()=>Y});var E=_(8704),j=_(3225),B=_(9448),$=_(5793);function Y(te){return typeof te!="number"?te:`${te}px solid`}function ae(te,Te){return(0,E.Ay)({prop:te,themeKey:"borders",transform:Te})}const U=ae("border",Y),z=ae("borderTop",Y),Z=ae("borderRight",Y),J=ae("borderBottom",Y),Q=ae("borderLeft",Y),ce=ae("borderColor"),ie=ae("borderTopColor"),ne=ae("borderRightColor"),le=ae("borderBottomColor"),W=ae("borderLeftColor"),ve=ae("outline",Y),oe=ae("outlineColor"),K=te=>{if(te.borderRadius!==void 0&&te.borderRadius!==null){const Te=(0,B.MA)(te.theme,"shape.borderRadius",4,"borderRadius"),ye=V=>({borderRadius:(0,B._W)(Te,V)});return(0,$.NI)(te,te.borderRadius,ye)}return null};K.propTypes={},K.filterProps=["borderRadius"];const de=(0,j.A)(U,z,Z,J,Q,ce,ie,ne,le,W,K,ve,oe);var he=null},5793(C,k,_){"use strict";_.d(k,{EU:()=>z,NI:()=>ae,vf:()=>Z,zu:()=>$});var E,j,B;const $={xs:0,sm:600,md:900,lg:1200,xl:1536},Y={keys:["xs","sm","md","lg","xl"],up:ne=>`@media (min-width:${$[ne]}px)`};function ae(ne,le,W){const ve=ne.theme||{};if(Array.isArray(le)){const K=ve.breakpoints||Y;return le.reduce((de,he,te)=>(de[K.up(K.keys[te])]=W(le[te]),de),{})}if(typeof le=="object"){const K=ve.breakpoints||Y;return Object.keys(le).reduce((de,he)=>{if(Object.keys(K.values||$).indexOf(he)!==-1){const te=K.up(he);de[te]=W(le[he],he)}else{const te=he;de[te]=le[te]}return de},{})}return W(le)}function U(ne){const le=W=>{const ve=W.theme||{},oe=ne(W),K=ve.breakpoints||Y,de=K.keys.reduce((he,te)=>(W[te]&&(he=he||{},he[K.up(te)]=ne(E({theme:ve},W[te]))),he),null);return B(oe,de)};return le.propTypes={},le.filterProps=["xs","sm","md","lg","xl",...ne.filterProps],le}function z(ne={}){var le;return((le=ne.keys)==null?void 0:le.reduce((ve,oe)=>{const K=ne.up(oe);return ve[K]={},ve},{}))||{}}function Z(ne,le){return ne.reduce((W,ve)=>{const oe=W[ve];return(!oe||Object.keys(oe).length===0)&&delete W[ve],W},le)}function J(ne,...le){const W=z(ne),ve=[W,...le].reduce((oe,K)=>j(oe,K),{});return Z(Object.keys(W),ve)}function Q(ne,le){if(typeof ne!="object")return{};const W={},ve=Object.keys(le);return Array.isArray(ne)?ve.forEach((oe,K)=>{K<ne.length&&(W[oe]=!0)}):ve.forEach(oe=>{ne[oe]!=null&&(W[oe]=!0)}),W}function ce({values:ne,breakpoints:le,base:W}){const ve=W||Q(ne,le),oe=Object.keys(ve);if(oe.length===0)return ne;let K;return oe.reduce((de,he,te)=>(Array.isArray(ne)?(de[he]=ne[te]!=null?ne[te]:ne[K],K=te):typeof ne=="object"?(de[he]=ne[he]!=null?ne[he]:ne[K],K=he):de[he]=ne,de),{})}var ie=null},3225(C,k,_){"use strict";_.d(k,{A:()=>B});var E=_(2969);function j(...$){const Y=$.reduce((U,z)=>(z.filterProps.forEach(Z=>{U[Z]=z}),U),{}),ae=U=>Object.keys(U).reduce((z,Z)=>Y[Z]?(0,E.A)(z,Y[Z](U)):z,{});return ae.propTypes={},ae.filterProps=$.reduce((U,z)=>U.concat(z.filterProps),[]),ae}const B=j},741(C,k,_){"use strict";_.d(k,{A:()=>E});function E(j,B){const $=this;return $.vars&&typeof $.getColorSchemeSelector=="function"?{[$.getColorSchemeSelector(j).replace(/(\[[^\]]+\])/,"*:where($1)")]:B}:$.palette.mode===j?B:{}}},931(C,k,_){"use strict";_.d(k,{A:()=>ae});var E=_(9244),j=_(8621);const B=["values","unit","step"],$=null,Y=U=>{const z=Object.keys(U).map(Z=>({key:Z,val:U[Z]}))||[];return z.sort((Z,J)=>Z.val-J.val),z.reduce((Z,J)=>(0,j.A)({},Z,{[J.key]:J.val}),{})};function ae(U){const{values:z={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:Z="px",step:J=5}=U,Q=(0,E.A)(U,B),ce=Y(z),ie=Object.keys(ce);function ne(K){return`@media (min-width:${typeof z[K]=="number"?z[K]:K}${Z})`}function le(K){return`@media (max-width:${(typeof z[K]=="number"?z[K]:K)-J/100}${Z})`}function W(K,de){const he=ie.indexOf(de);return`@media (min-width:${typeof z[K]=="number"?z[K]:K}${Z}) and (max-width:${(he!==-1&&typeof z[ie[he]]=="number"?z[ie[he]]:de)-J/100}${Z})`}function ve(K){return ie.indexOf(K)+1<ie.length?W(K,ie[ie.indexOf(K)+1]):ne(K)}function oe(K){const de=ie.indexOf(K);return de===0?ne(ie[1]):de===ie.length-1?le(ie[de]):W(K,ie[ie.indexOf(K)+1]).replace("@media","@media not all and")}return(0,j.A)({keys:ie,values:ce,up:ne,down:le,between:W,only:ve,not:oe,unit:Z},Q)}},7402(C,k,_){"use strict";_.d(k,{A:()=>j});var E=_(9448);function j(B=8){if(B.mui)return B;const $=(0,E.LX)({spacing:B}),Y=(...ae)=>(ae.length===0?[1]:ae).map(z=>{const Z=$(z);return typeof Z=="number"?`${Z}px`:Z}).join(" ");return Y.mui=!0,Y}},5238(C,k,_){"use strict";_.d(k,{A:()=>ce});var E=_(8621),j=_(9244),B=_(8989),$=_(931),Y=_(4002),ae=_(7402),U=_(5338),z=_(1324),Z=_(741);const J=["breakpoints","palette","spacing","shape"];function Q(ie={},...ne){const{breakpoints:le={},palette:W={},spacing:ve,shape:oe={}}=ie,K=(0,j.A)(ie,J),de=(0,$.A)(le),he=(0,ae.A)(ve);let te=(0,B.A)({breakpoints:de,direction:"ltr",components:{},palette:(0,E.A)({mode:"light"},W),spacing:he,shape:(0,E.A)({},Y.A,oe)},K);return te.applyStyles=Z.A,te=ne.reduce((Te,ye)=>(0,B.A)(Te,ye),te),te.unstable_sxConfig=(0,E.A)({},z.A,K==null?void 0:K.unstable_sxConfig),te.unstable_sx=function(ye){return(0,U.A)({sx:ye,theme:this})},te}const ce=Q},9311(C,k,_){"use strict";_.r(k),_.d(k,{default:()=>E.A,private_createBreakpoints:()=>j.A,unstable_applyStyles:()=>B.A});var E=_(5238),j=_(931),B=_(741)},4002(C,k,_){"use strict";_.d(k,{A:()=>j});const j={borderRadius:4}},722(C,k,_){"use strict";_.d(k,{Dv:()=>ae,pe:()=>U,rQ:()=>Y});var E=_(8704),j=_(3225),B=_(9448),$=_(5793);const Y=K=>{if(K.gap!==void 0&&K.gap!==null){const de=(0,B.MA)(K.theme,"spacing",8,"gap"),he=te=>({gap:(0,B._W)(de,te)});return(0,$.NI)(K,K.gap,he)}return null};Y.propTypes={},Y.filterProps=["gap"];const ae=K=>{if(K.columnGap!==void 0&&K.columnGap!==null){const de=(0,B.MA)(K.theme,"spacing",8,"columnGap"),he=te=>({columnGap:(0,B._W)(de,te)});return(0,$.NI)(K,K.columnGap,he)}return null};ae.propTypes={},ae.filterProps=["columnGap"];const U=K=>{if(K.rowGap!==void 0&&K.rowGap!==null){const de=(0,B.MA)(K.theme,"spacing",8,"rowGap"),he=te=>({rowGap:(0,B._W)(de,te)});return(0,$.NI)(K,K.rowGap,he)}return null};U.propTypes={},U.filterProps=["rowGap"];const z=(0,E.Ay)({prop:"gridColumn"}),Z=(0,E.Ay)({prop:"gridRow"}),J=(0,E.Ay)({prop:"gridAutoFlow"}),Q=(0,E.Ay)({prop:"gridAutoColumns"}),ce=(0,E.Ay)({prop:"gridAutoRows"}),ie=(0,E.Ay)({prop:"gridTemplateColumns"}),ne=(0,E.Ay)({prop:"gridTemplateRows"}),le=(0,E.Ay)({prop:"gridTemplateAreas"}),W=(0,E.Ay)({prop:"gridArea"}),ve=(0,j.A)(Y,ae,U,z,Z,J,Q,ce,ie,ne,le,W);var oe=null},5633(C,k,_){"use strict";_.d(k,{A:()=>E});function E(j){const B={};return $=>(B[$]===void 0&&(B[$]=j($)),B[$])}},2969(C,k,_){"use strict";_.d(k,{A:()=>B});var E=_(8989);function j($,Y){return Y?(0,E.A)($,Y,{clone:!1}):$}const B=j},7994(C,k,_){"use strict";_.d(k,{Sm:()=>B});var E=_(8704),j=_(3225);function B(Z,J){return J==="grey"?J:Z}const $=(0,E.Ay)({prop:"color",themeKey:"palette",transform:B}),Y=(0,E.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:B}),ae=(0,E.Ay)({prop:"backgroundColor",themeKey:"palette",transform:B}),U=(0,j.A)($,Y,ae);var z=null},943(C,k,_){"use strict";_.d(k,{JX:()=>ae,LL:()=>$});var E=_(8704),j=_(3225),B=_(5793);function $(W){return W<=1&&W!==0?`${W*100}%`:W}const Y=(0,E.Ay)({prop:"width",transform:$}),ae=W=>{if(W.maxWidth!==void 0&&W.maxWidth!==null){const ve=oe=>{var K,de;const he=((K=W.theme)==null||(K=K.breakpoints)==null||(K=K.values)==null?void 0:K[oe])||B.zu[oe];return he?((de=W.theme)==null||(de=de.breakpoints)==null?void 0:de.unit)!=="px"?{maxWidth:`${he}${W.theme.breakpoints.unit}`}:{maxWidth:he}:{maxWidth:$(oe)}};return(0,B.NI)(W,W.maxWidth,ve)}return null};ae.filterProps=["maxWidth"];const U=(0,E.Ay)({prop:"minWidth",transform:$}),z=(0,E.Ay)({prop:"height",transform:$}),Z=(0,E.Ay)({prop:"maxHeight",transform:$}),J=(0,E.Ay)({prop:"minHeight",transform:$}),Q=(0,E.Ay)({prop:"size",cssProperty:"width",transform:$}),ce=(0,E.Ay)({prop:"size",cssProperty:"height",transform:$}),ie=(0,E.Ay)({prop:"boxSizing"}),ne=(0,j.A)(Y,ae,U,z,Z,J,ie);var le=null},9448(C,k,_){"use strict";_.d(k,{LX:()=>ie,Lc:()=>oe,MA:()=>ce,Ms:()=>K,_W:()=>ne});var E=_(5793),j=_(8704),B=_(2969),$=_(5633);const Y={m:"margin",p:"padding"},ae={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},U={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},z=(0,$.A)(te=>{if(te.length>2)if(U[te])te=U[te];else return[te];const[Te,ye]=te.split(""),V=Y[Te],L=ae[ye]||"";return Array.isArray(L)?L.map(ee=>V+ee):[V+L]}),Z=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],J=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Q=[...Z,...J];function ce(te,Te,ye,V){var L;const ee=(L=(0,j.Yn)(te,Te,!1))!=null?L:ye;return typeof ee=="number"?re=>typeof re=="string"?re:ee*re:Array.isArray(ee)?re=>typeof re=="string"?re:ee[re]:typeof ee=="function"?ee:()=>{}}function ie(te){return ce(te,"spacing",8,"spacing")}function ne(te,Te){if(typeof Te=="string"||Te==null)return Te;const ye=Math.abs(Te),V=te(ye);return Te>=0?V:typeof V=="number"?-V:`-${V}`}function le(te,Te){return ye=>te.reduce((V,L)=>
1(V[L]=ne(Te,ye),V),{})}function W(te,Te,ye,V){if(Te.indexOf(ye)===-1)return null;const L=z(ye),ee=le(L,V),re=te[ye];return(0,E.NI)(te,re,ee)}function ve(te,Te){const ye=ie(te.theme);return Object.keys(te).map(V=>W(te,Te,V,ye)).reduce(B.A,{})}function oe(te){return ve(te,Z)}oe.propTypes={},oe.filterProps=Z;function K(te){return ve(te,J)}K.propTypes={},K.filterProps=J;function de(te){return ve(te,Q)}de.propTypes={},de.filterProps=Q;var he=null},8704(C,k,_){"use strict";_.d(k,{Ay:()=>ae,BO:()=>$,Yn:()=>B});var E=_(2743),j=_(5793);function B(U,z,Z=!0){if(!z||typeof z!="string")return null;if(U&&U.vars&&Z){const J=`vars.${z}`.split(".").reduce((Q,ce)=>Q&&Q[ce]?Q[ce]:null,U);if(J!=null)return J}return z.split(".").reduce((J,Q)=>J&&J[Q]!=null?J[Q]:null,U)}function $(U,z,Z,J=Z){let Q;return typeof U=="function"?Q=U(Z):Array.isArray(U)?Q=U[Z]||J:Q=B(U,Z)||J,z&&(Q=z(Q,J,U)),Q}function Y(U){const{prop:z,cssProperty:Z=U.prop,themeKey:J,transform:Q}=U,ce=ie=>{if(ie[z]==null)return null;const ne=ie[z],le=ie.theme,W=B(le,J)||{},ve=oe=>{let K=$(W,Q,oe);return oe===K&&typeof oe=="string"&&(K=$(W,Q,`${z}${oe==="default"?"":(0,E.A)(oe)}`,oe)),Z===!1?K:{[Z]:K}};return(0,j.NI)(ie,ne,ve)};return ce.propTypes={},ce.filterProps=[z],ce}const ae=Y},1324(C,k,_){"use strict";_.d(k,{A:()=>U});var E=_(9448),j=_(3558),B=_(722),$=_(7994),Y=_(943);const U={border:{themeKey:"borders",transform:j.t0},borderTop:{themeKey:"borders",transform:j.t0},borderRight:{themeKey:"borders",transform:j.t0},borderBottom:{themeKey:"borders",transform:j.t0},borderLeft:{themeKey:"borders",transform:j.t0},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:j.t0},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:j.Vq},color:{themeKey:"palette",transform:$.Sm},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:$.Sm},backgroundColor:{themeKey:"palette",transform:$.Sm},p:{style:E.Ms},pt:{style:E.Ms},pr:{style:E.Ms},pb:{style:E.Ms},pl:{style:E.Ms},px:{style:E.Ms},py:{style:E.Ms},padding:{style:E.Ms},paddingTop:{style:E.Ms},paddingRight:{style:E.Ms},paddingBottom:{style:E.Ms},paddingLeft:{style:E.Ms},paddingX:{style:E.Ms},paddingY:{style:E.Ms},paddingInline:{style:E.Ms},paddingInlineStart:{style:E.Ms},paddingInlineEnd:{style:E.Ms},paddingBlock:{style:E.Ms},paddingBlockStart:{style:E.Ms},paddingBlockEnd:{style:E.Ms},m:{style:E.Lc},mt:{style:E.Lc},mr:{style:E.Lc},mb:{style:E.Lc},ml:{style:E.Lc},mx:{style:E.Lc},my:{style:E.Lc},margin:{style:E.Lc},marginTop:{style:E.Lc},marginRight:{style:E.Lc},marginBottom:{style:E.Lc},marginLeft:{style:E.Lc},marginX:{style:E.Lc},marginY:{style:E.Lc},marginInline:{style:E.Lc},marginInlineStart:{style:E.Lc},marginInlineEnd:{style:E.Lc},marginBlock:{style:E.Lc},marginBlockStart:{style:E.Lc},marginBlockEnd:{style:E.Lc},displayPrint:{cssProperty:!1,transform:z=>({"@media print":{display:z}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:B.rQ},rowGap:{style:B.pe},columnGap:{style:B.Dv},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Y.LL},maxWidth:{style:Y.JX},minWidth:{transform:Y.LL},height:{transform:Y.LL},maxHeight:{transform:Y.LL},minHeight:{transform:Y.LL},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},2680(C,k,_){"use strict";_.d(k,{A:()=>U});var E=_(8621),j=_(9244),B=_(8989),$=_(1324);const Y=["sx"],ae=z=>{var Z,J;const Q={systemProps:{},otherProps:{}},ce=(Z=z==null||(J=z.theme)==null?void 0:J.unstable_sxConfig)!=null?Z:$.A;return Object.keys(z).forEach(ie=>{ce[ie]?Q.systemProps[ie]=z[ie]:Q.otherProps[ie]=z[ie]}),Q};function U(z){const{sx:Z}=z,J=(0,j.A)(z,Y),{systemProps:Q,otherProps:ce}=ae(J);let ie;return Array.isArray(Z)?ie=[Q,...Z]:typeof Z=="function"?ie=(...ne)=>{const le=Z(...ne);return(0,B.Q)(le)?(0,E.A)({},Q,le):Q}:ie=(0,E.A)({},Q,Z),(0,E.A)({},ce,{sx:ie})}},7096(C,k,_){"use strict";_.r(k),_.d(k,{default:()=>E.A,extendSxProp:()=>j.A,unstable_createStyleFunctionSx:()=>E.k,unstable_defaultSxConfig:()=>B.A});var E=_(5338),j=_(2680),B=_(1324)},5338(C,k,_){"use strict";_.d(k,{A:()=>J,k:()=>z});var E=_(2743),j=_(2969),B=_(8704),$=_(5793),Y=_(1324);function ae(...Q){const ce=Q.reduce((ne,le)=>ne.concat(Object.keys(le)),[]),ie=new Set(ce);return Q.every(ne=>ie.size===Object.keys(ne).length)}function U(Q,ce){return typeof Q=="function"?Q(ce):Q}function z(){function Q(ie,ne,le,W){const ve={[ie]:ne,theme:le},oe=W[ie];if(!oe)return{[ie]:ne};const{cssProperty:K=ie,themeKey:de,transform:he,style:te}=oe;if(ne==null)return null;if(de==="typography"&&ne==="inherit")return{[ie]:ne};const Te=(0,B.Yn)(le,de)||{};if(te)return te(ve);const ye=V=>{let L=(0,B.BO)(Te,he,V);return V===L&&typeof V=="string"&&(L=(0,B.BO)(Te,he,`${ie}${V==="default"?"":(0,E.A)(V)}`,V)),K===!1?L:{[K]:L}};return(0,$.NI)(ve,ne,ye)}function ce(ie){var ne;const{sx:le,theme:W={},nested:ve}=ie||{};if(!le)return null;const oe=(ne=W.unstable_sxConfig)!=null?ne:Y.A;function K(de){let he=de;if(typeof de=="function")he=de(W);else if(typeof de!="object")return de;if(!he)return null;const te=(0,$.EU)(W.breakpoints),Te=Object.keys(te);let ye=te;return Object.keys(he).forEach(V=>{const L=U(he[V],W);
1if(L!=null)if(typeof L=="object")if(oe[V])ye=(0,j.A)(ye,Q(V,L,W,oe));else{const ee=(0,$.NI)({theme:W},L,re=>({[V]:re}));ae(ee,L)?ye[V]=ce({sx:L,theme:W,nested:!0}):ye=(0,j.A)(ye,ee)}else ye=(0,j.A)(ye,Q(V,L,W,oe))}),!ve&&W.modularCssLayers?{"@layer sx":(0,$.vf)(Te,ye)}:(0,$.vf)(Te,ye)}return Array.isArray(le)?le.map(K):K(le)}return ce}const Z=z();Z.filterProps=["sx"];const J=Z},2743(C,k,_){"use strict";_.d(k,{A:()=>j});var E=_(8789);function j(B){if(typeof B!="string")throw new Error((0,E.A)(7));return B.charAt(0).toUpperCase()+B.slice(1)}},3893(C,k,_){"use strict";_.r(k),_.d(k,{default:()=>E.A});var E=_(2743)},6989(C,k,_){"use strict";_.d(k,{A:()=>j});function E(B,$=Number.MIN_SAFE_INTEGER,Y=Number.MAX_SAFE_INTEGER){return Math.max($,Math.min(B,Y))}const j=E},7314(C,k,_){"use strict";_.r(k),_.d(k,{default:()=>E.A});var E=_(6989)},8989(C,k,_){"use strict";_.d(k,{A:()=>ae,Q:()=>$});var E=_(8621),j=_(1594),B=_.n(j);function $(U){if(typeof U!="object"||U===null)return!1;const z=Object.getPrototypeOf(U);return(z===null||z===Object.prototype||Object.getPrototypeOf(z)===null)&&!(Symbol.toStringTag in U)&&!(Symbol.iterator in U)}function Y(U){if(j.isValidElement(U)||!$(U))return U;const z={};return Object.keys(U).forEach(Z=>{z[Z]=Y(U[Z])}),z}function ae(U,z,Z={clone:!0}){const J=Z.clone?(0,E.A)({},U):U;return $(U)&&$(z)&&Object.keys(z).forEach(Q=>{j.isValidElement(z[Q])?J[Q]=z[Q]:$(z[Q])&&Object.prototype.hasOwnProperty.call(U,Q)&&$(U[Q])?J[Q]=ae(U[Q],z[Q],Z):Z.clone?J[Q]=$(z[Q])?Y(z[Q]):z[Q]:J[Q]=z[Q]}),J}},1335(C,k,_){"use strict";_.r(k),_.d(k,{default:()=>E.A,isPlainObject:()=>E.Q});var E=_(8989)},8789(C,k,_){"use strict";_.d(k,{A:()=>E});function E(j){let B="https://mui.com/production-error/?code="+j;for(let $=1;$<arguments.length;$+=1)B+="&args[]="+encodeURIComponent(arguments[$]);return"Minified MUI error #"+j+"; visit "+B+" for the full message."}},6200(C,k,_){"use strict";_.r(k),_.d(k,{default:()=>E.A});var E=_(8789)},9184(C,k,_){"use strict";_.r(k),_.d(k,{default:()=>ae,getFunctionName:()=>B});var E=_(7031);const j=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function B(U){const z=`${U}`.match(j);return z&&z[1]||""}function $(U,z=""){return U.displayName||U.name||B(U)||z}function Y(U,z,Z){const J=$(z);return U.displayName||(J!==""?`${Z}(${J})`:Z)}function ae(U){if(U!=null){if(typeof U=="string")return U;if(typeof U=="function")return $(U,"Component");if(typeof U=="object")switch(U.$$typeof){case E.vM:return Y(U,U.render,"ForwardRef");case E.lD:return Y(U,U.type,"memo");default:return}}}},6186(C,k,_){"use strict";var E=_(2985);function j(){}function B(){}B.resetWarningCache=j,C.exports=function(){function $(U,z,Z,J,Q,ce){if(ce!==E){var ie=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw ie.name="Invariant Violation",ie}}$.isRequired=$;function Y(){return $}var ae={array:$,bigint:$,bool:$,func:$,number:$,object:$,string:$,symbol:$,any:$,arrayOf:Y,element:$,elementType:$,instanceOf:Y,node:$,objectOf:Y,oneOf:Y,oneOfType:Y,shape:Y,exact:Y,checkPropTypes:B,resetWarningCache:j};return ae.PropTypes=ae,ae}},2736(C,k,_){if(!1)var E,j;else C.exports=_(6186)()},2985(C){"use strict";var k="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";C.exports=k},9576(C,k,_){"use strict";var E,j=_(5206);if(!0)k.H=j.createRoot,E=j.hydrateRoot;else var B},7031(C,k){"use strict";var _;var E=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),B=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),ae=Symbol.for("react.consumer"),U=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),ce=Symbol.for("react.lazy"),ie=Symbol.for("react.view_transition"),ne=Symbol.for("react.client.reference");function le(W){if(typeof W=="object"&&W!==null){var ve=W.$$typeof;switch(ve){case E:switch(W=W.type,W){case B:case Y:case $:case Z:case J:case ie:return W;default:switch(W=W&&W.$$typeof,W){case U:case z:case ce:case Q:return W;case ae:return W;default:return ve}}case j:return ve}}}_=ae,_=U,_=E,k.vM=z,_=B,_=ce,k.lD=Q,_=j,_=Y,_=$,_=Z,_=J,_=function(W){return le(W)===ae},_=function(W){return le(W)===U},_=function(W){return typeof W=="object"&&W!==null&&W.$$typeof===E},_=function(W){return le(W)===z},_=function(W){return le(W)===B},_=function(W){return le(W)===ce},_=function(W){return le(W)===Q},_=function(W){return le(W)===j},_=function(W){return le(W)===Y},_=function(W){return le(W)===$},_=function(W){return le(W)===Z},_=function(W){return le(W)===J},_=function(W){return typeof W=="string"||typeof W=="function"||W===B||W===Y||W===$||W===Z||W===J||typeof W=="object"&&W!==null&&(W.$$typeof===ce||W.$$typeof===Q||W.$$typeof===U||W.$$typeof===ae||W.$$typeof===z||W.$$typeof===ne||W.getModuleId!==void 0)},_=le},7462(C,k,_){"use strict";var E;var j=_(1594),B=Symbol.for("react.element"),$=Symbol.for("react.fragment"),Y=Object.prototype.hasOwnProperty,ae=j.__SECRET_INT
1ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,U={key:!0,ref:!0,__self:!0,__source:!0};function z(Z,J,Q){var ce,ie={},ne=null,le=null;Q!==void 0&&(ne=""+Q),J.key!==void 0&&(ne=""+J.key),J.ref!==void 0&&(le=J.ref);for(ce in J)Y.call(J,ce)&&!U.hasOwnProperty(ce)&&(ie[ce]=J[ce]);if(Z&&Z.defaultProps)for(ce in J=Z.defaultProps,J)ie[ce]===void 0&&(ie[ce]=J[ce]);return{$$typeof:B,type:Z,key:ne,ref:le,props:ie,_owner:ae.current}}E=$,k.jsx=z,k.jsxs=z},6070(C,k,_){"use strict";C.exports=_(7462)},1983(C,k,_){"use strict";C.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,C.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,C.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(C.exports,_(1594))},1594(C){"use strict";C.exports=React},5206(C){"use strict";C.exports=ReactDOM},1368(C){"use strict";C.exports=styled},9787(C){function k(){return C.exports=k=Object.assign?Object.assign.bind():function(_){for(var E=1;E<arguments.length;E++){var j=arguments[E];for(var B in j)({}).hasOwnProperty.call(j,B)&&(_[B]=j[B])}return _},C.exports.__esModule=!0,C.exports.default=C.exports,k.apply(null,arguments)}C.exports=k,C.exports.__esModule=!0,C.exports.default=C.exports},2679(C){function k(_){return _&&_.__esModule?_:{default:_}}C.exports=k,C.exports.__esModule=!0,C.exports.default=C.exports},6582(C,k,_){var E=_(2285).default;function j(B,$){if(typeof WeakMap=="function")var Y=new WeakMap,ae=new WeakMap;return(C.exports=j=function(z,Z){if(!Z&&z&&z.__esModule)return z;var J,Q,ce={__proto__:null,default:z};if(z===null||E(z)!="object"&&typeof z!="function")return ce;if(J=Z?ae:Y){if(J.has(z))return J.get(z);J.set(z,ce)}for(var ie in z)ie!=="default"&&{}.hasOwnProperty.call(z,ie)&&((Q=(J=Object.defineProperty)&&Object.getOwnPropertyDescriptor(z,ie))&&(Q.get||Q.set)?J(ce,ie,Q):ce[ie]=z[ie]);return ce},C.exports.__esModule=!0,C.exports.default=C.exports)(B,$)}C.exports=j,C.exports.__esModule=!0,C.exports.default=C.exports},866(C){function k(_,E){if(_==null)return{};var j={};for(var B in _)if({}.hasOwnProperty.call(_,B)){if(E.indexOf(B)!==-1)continue;j[B]=_[B]}return j}C.exports=k,C.exports.__esModule=!0,C.exports.default=C.exports},2285(C){function k(_){return C.exports=k=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(E){return typeof E}:function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},C.exports.__esModule=!0,C.exports.default=C.exports,k(_)}C.exports=k,C.exports.__esModule=!0,C.exports.default=C.exports},7900(C,k,_){"use strict";var E=_(2679).default;Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0;var j=E(_(2736)),B=_(1368);function $(U){return U==null||Object.keys(U).length===0}const Y=(0,B.createGlobalStyle)(U=>{const{styles:z,defaultTheme:Z={}}=U;return typeof z=="function"?z($(U.theme)?Z:U.theme):z});var ae=k.default=Y;Y.propTypes={defaultTheme:j.default.object,styles:j.default.oneOfType([j.default.array,j.default.string,j.default.object,j.default.func])}},6609(C,k,_){"use strict";var E=_(2679).default;Object.defineProperty(k,"__esModule",{value:!0}),Object.defineProperty(k,"default",{enumerable:!0,get:function(){return j.default}});var j=E(_(7900))},2774(C,k,_){"use strict";var E=_(2679).default;Object.defineProperty(k,"__esModule",{value:!0}),k.default=B;var j=E(_(2736));function B($){const{injectFirst:Y,children:ae}=$;if(Y&&typeof window!="undefined"){const U=document.head;if(!U.querySelector('[data-styled="active"]')){const z=document.createElement("style");z.setAttribute("data-styled","active"),U.insertBefore(z,U.firstChild)}}return ae}B.propTypes={children:j.default.node,injectFirst:j.default.bool}},7244(C,k,_){"use strict";var E=_(2679).default;Object.defineProperty(k,"__esModule",{value:!0}),Object.defineProperty(k,"default",{enumerable:!0,get:function(){return j.default}});var j=E(_(2774))},4083(C,k,_){"use strict";var E=_(2679).default,j=_(6582).default;Object.defineProperty(k,"__esModule",{value:!0}),Object.defineProperty(k,"GlobalStyles",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(k,"StyledEngineProvider",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(k,"ThemeContext",{enumerable:!0,get:function(){return B.ThemeContext}}),Object.defineProperty(k,"css",{enumerable:!0,get:function(){return B.css}}),k.default=ae,k.internal_mutateStyles=U,k.internal_processStyles=z,k.internal_serializeStyles=Z,Object.defineProperty(k,"keyframes",{enumerable:!0,get:function(){return B.keyframes}});var B=j(_(1368)),$=E(_(7244)),Y=E(_(6609));function ae(J,Q){let ce;return Q?ce=(0,B.default)(J).withConfig({displayName:Q.label,shouldForwardProp:Q.shouldForwardProp}):ce=(0,B.default)(J),ce}function U(J,Q){J.componentStyle&&(J.componentStyle.rules=Q(J.componentStyle.rules))}function z(J,Q){return U(J,Q)}function Z(J){return J}},8621(C,k,_){"use strict";_.d(k,{A:()=>E});function E(){return E=Object.assign?Object.assign.bind():function(j){for(var B=1;B<arguments.length;B++){var $=arguments[B];for(var Y in $)({}).hasOwnProperty.call($,Y)&&(j[Y]=$[Y])}return j},E.apply(null,arguments)}},9244(C,k,_){"use strict";_.d(k,{A:()=>E});function E(j,B){if(j==null)return{};var $={};for(var Y in j)if({}.hasOwnProperty.call(j,Y)){if(B.indexOf(Y)!==-1)continue;$[Y]=j[Y]}return $}}},Rs={};function Se(C){var k=Rs[C];if(k!==void 0)return k.exports;var _=Rs[C]={exports:{}};return hu[C](_,_.exports,Se),_.exports}Se.n=C=>{var k=C&&C.__esModule?()=>C.default:()=>C;return Se.d(k,{a:k}),k},(()=>{var C=Object.getPrototypeOf?_=>Object.getPrototypeOf(_):_=>_.__proto__,k;Se.t=function(_,E){if(E&1&&(_=this(_)),E&8||typeof _=="object"&&_&&(E&4&&_.__esMo
1dule||E&16&&typeof _.then=="function"))return _;var j=Object.create(null);Se.r(j);var B={};k=k||[null,C({}),C([]),C(C)];for(var $=E&2&&_;(typeof $=="object"||typeof $=="function")&&!~k.indexOf($);$=C($))Object.getOwnPropertyNames($).forEach(Y=>B[Y]=()=>_[Y]);return B.default=()=>_,Se.d(j,B),j}})(),Se.d=(C,k)=>{for(var _ in k)Se.o(k,_)&&!Se.o(C,_)&&Object.defineProperty(C,_,{enumerable:!0,get:k[_]})},Se.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(C){if(typeof window=="object")return window}}(),Se.o=(C,k)=>Object.prototype.hasOwnProperty.call(C,k),Se.r=C=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})};var ry={};(()=>{"use strict";var C=Se(6070),k=function(t,e){return k=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},k(t,e)};function _(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");k(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var E=function(){return E=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];
vendor: 9,786 bytes, line 1
1for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},E.apply(this,arguments)};function j(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function B(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function $(t,e){return function(r,n){e(r,n,t)}}function Y(t,e,r,n,i,s){function a(h){if(h!==void 0&&typeof h!="function")throw new TypeError("Function expected");return h}for(var l=n.kind,o=l==="getter"?"get":l==="setter"?"set":"value",u=!e&&t?n.static?t:t.prototype:null,c=e||(u?Object.getOwnPropertyDescriptor(u,n.name):{}),f,d=!1,p=r.length-1;p>=0;p--){var b={};for(var m in n)b[m]=m==="access"?{}:n[m];for(var m in n.access)b.access[m]=n.access[m];b.addInitializer=function(h){if(d)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(h||null))};var v=(0,r[p])(l==="accessor"?{get:c.get,set:c.set}:c[o],b);if(l==="accessor"){if(v===void 0)continue;if(v===null||typeof v!="object")throw new TypeError("Object expected");(f=a(v.get))&&(c.get=f),(f=a(v.set))&&(c.set=f),(f=a(v.init))&&i.unshift(f)}else(f=a(v))&&(l==="field"?i.unshift(f):c[o]=f)}u&&Object.defineProperty(u,n.name,c),d=!0}function ae(t,e,r){for(var n=arguments.length>2,i=0;i<e.length;i++)r=n?e[i].call(t,r):e[i].call(t);return n?r:void 0}function U(t){return typeof t=="symbol"?t:"".concat(t)}function z(t,e,r){return typeof e=="symbol"&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:r?"".concat(r," ",e):e})}function Z(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function J(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return new(r||(r=Promise))(function(s,a){function l(c){try{u(n.next(c))}catch(f){a(f)}}function o(c){try{u(n.throw(c))}catch(f){a(f)}}function u(c){c.done?s(c.value):i(c.value).then(l,o)}u((n=n.apply(t,e||[])).next())})}function Q(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=l(0),a.throw=l(1),a.return=l(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(u){return function(c){return o([u,c])}}function o(u){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(r=0)),r;)try{if(n=1,i&&(s=u[0]&2?i.return:u[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,u[1])).done)return s;switch(i=0,s&&(u=[u[0]&2,s.value]),u[0]){case 0:case 1:s=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){r.label=u[1];break}if(u[0]===6&&r.label<s[1]){r.label=s[1],s=u;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(u);break}s[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(c){u=[6,c],i=0}finally{n=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}var ce=Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]};function ie(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&ce(e,t,r)}function ne(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function le(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],a;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function W(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(le(arguments[e]));return t}function ve(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var n=Array(t),i=0,e=0;e<r;e++)for(var s=arguments[e],a=0,l=s.length;a<l;a++,i++)n[i]=s[a];return n}function oe(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n<i;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))}function K(t){return this instanceof K?(this.v=t,this):new K(t)}function de(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(p){return function(b){return Promise.resolve(b).then(p,f)}}function l(p,b){n[p]&&(i[p]=function(m){return new Promise(function(v,h){s.push([p,m,v,h])>1||o(p,m)})},b&&(i[p]=b(i[p])))}function o(p,b){try{u(n[p](b))}catch(m){d(s[0][3],m)}}function u(p){p.value instanceof K?Promise.resolve(p.value.v).then(c,f):d(s[0][2],p)}function c(p){o("next",p)}function f(p){o("throw",p)}function d(p,b){p(b),s.shift(),s.length&&o(s[0][0],s[0][1])}}function he(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(a){return(r=!r)?{value:K(t[i](a)),done:!1}:s?s(a):a}:s}}function te(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof ne=="function"?ne(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(l,o){a=t[s](a),i(l,o,a.done,a.value)})}}function i(s,a,l,o){Promise.resolve(o).then(function(u){s({value:u,done:l})},a)}}function Te(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var ye=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},V=function(t){return V=Object.getOwnPropertyNames||function(e){var r=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[r.length]=n);return r},V(t)};function L(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=V(t),n=0;n<r.length;n++)r[n]!=="default"&&ce(e,t,r[n]);return ye(e,t),e}function ee(t){return t&&t.__esModule?t:{default:t}}function re(t,e,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(t):n?n.value:e.get(t)}function Ee(t,e,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(t,r):i?i.value=r:e.set(t,r),r}function ze(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}function Pe(t,e,r){if(e!=null){if(typeof e!="object"&&typeof e!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=e[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=e[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(s){return Promise.reject(s)}}),t.stack.push({value:e,dispose:n,async:r})}else r&&t.stack.push({async:!0});return e}var Ie=typeof SuppressedError=="function"?SuppressedError:function(t,e,r){var n=new Error(r);return n.name="SuppressedError",n.error=t,n.suppressed=e,n};function ft(t){function e(s){t.error=t.hasError?new Ie(s,t.error,"An error was suppressed during disposal."):s,t.hasError=!0}var r,n=0;function i(){for(;r=t.stack.pop();)try{if(!r.async&&n===1)return n=0,t.stack.push(r),Promise.resolve().then(i);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(s).then(i,function(a){return e(a),i()})}else n|=1}catch(a){e(a)}if(n===1)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}return i()}function Ve(t,e){return typeof t=="string"&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,s,a){return n?e?".jsx":".js":i&&(!s||!a)?r:i+s+"."+a.toLowerCase()+"js"}):t}const je={__extends:_,__assign:E,__rest:j,__decorate:B,__param:$,__esDecorate:Y,__runInitializers:ae,__propKey:U,__setFunctionName:z,__metadata:Z,__awaiter:J,__generator:Q,__createBinding:ce,__exportStar:ie,__values:ne,__read:le,__spread:W,__spreadArrays:ve,__spreadArray:oe,__await:K,__asyncGenerator:de,__asyncDelegator:he,__asyncValues:te,__makeTemplateOb
1ject:Te,__importStar:L,__importDefault:ee,__classPrivateFieldGet:re,__classPrivateFieldSet:Ee,__classPrivateFieldIn:ze,__addDisposableResource:Pe,__disposeResources:ft,__rewriteRelativeImportExtension:Ve};var dt="Invariant Violation",rt=Object.setPrototypeOf,dn=rt===void 0?function(t,e){return t.__proto__=e,t}:rt,pn=function(t){_(e,t);function e(r){r===void 0&&(r=dt);var n=t.call(this,typeof r=="number"?dt+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=dt,dn(n,e.prototype),n}return e}(Error);function vt(t,e){if(!t)throw new pn(e)}var Jt=["debug","log","warn","error","silent"],Cr=Jt.indexOf("log");function Zt(t){return function(){if(Jt.indexOf(t)>=Cr){var e=console[t]||console.log;return e.apply(console,arguments)}}}(function(t){t.debug=Zt("debug"),t.log=Zt("log"),t.warn=Zt("warn"),t.error=Zt("error")})(vt||(vt={}));function Pr(t){var e=Jt[Cr];return Cr=Math.max(0,Jt.indexOf(t)),e}const hn=null;var er="3.14.1";function Ye(t){try{return t()}catch(e){}}const $e=Ye(function(){return globalThis})||Ye(function(){return window})||Ye(function(){return self})||Ye(function(){return Se.g})||Ye(function(){return Ye.constructor("return this")()});var nt=new Map;function pt(t){var e=nt.get(t)||1;return nt.set(t,e+1),"".concat(t,":").concat(e,":").concat(Math.random().toString(36).slice(2))}function _t(t,e){e===void 0&&(e=0);var r=pt("stringifyForDisplay");return JSON.stringify(t,function(n,i){return i===void 0?r:i},e).split(JSON.stringify(r)).join("<undefined>")}function Nt(t){return function(e){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if(typeof e=="number"){var i=e;e=St(i),e||(e=Mr(i,r),r=[])}t.apply(void 0,[e].concat(r))}}var se=Object.assign(function(e,r){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];e||vt(e,St(r,n)||Mr(r,n))},{debug:Nt(vt.debug),log:Nt(vt.log),warn:Nt(vt.warn),error:Nt(vt.error)});function De(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return new pn(St(t,e)||Mr(t,e))}var Xe=Symbol.for("ApolloErrorMessageHandler_"+er);function gt(t){if(typeof t=="string")return t;try{return _t(t,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function St(t,e){if(e===void 0&&(e=[]),!!t)return $e[Xe]&&$e[Xe](t,e.map(gt))}function Mr(t,e){if(e===void 0&&(e=[]),!!t)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:er,message:t,args:e.map(gt)})))}var ks=globalThis.__DEV__!==!1;function mu(t,e){var r=typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=vu(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vu(t,e){if(t){if(typeof t=="string")return Ls(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ls(t,e)}}function Ls(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Ns(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ti(t,e,r){return e&&Ns(t.prototype,e),r&&Ns(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var ri=function(){return typeof Symbol=="function"},ni=function(t){return ri()&&Boolean(Symbol[t])},ii=function(t){return ni(t)?Symbol[t]:"@@"+t};ri()&&!ni("observable")&&(Symbol.observable=Symbol("observable"));var gu=ii("iterator"),si=ii("observable"),Fs=ii("species");function mn(t,e){var r=t[e];if(r!=null){if(typeof r!="function")throw new TypeError(r+" is not a function");return r}}function Dr(t){var e=t.constructor;return e!==void 0&&(e=e[Fs],e===null&&(e=void 0)),e!==void 0?e:Ae}function yu(t){return t instanceof Ae}function tr(t){tr.log?tr.log(t):setTimeout(function(){throw t})}function vn(t){Promise.resolve().then(function(){try{t()}catch(e){tr(e)}})}function zs(t){var e=t._cleanup;if(e!==void 0&&(t._cleanup=void 0,!!e))try{if(typeof e=="function")e();else{var r=mn(e,"unsubscribe");r&&r.call(e)}}catch(n){tr(n)}}function ai(t){t._observer=void 0,t._queue=void 0,t._state="closed"}function bu(t){var e=t._queue;if(e){t._queue=void 0,t._state="ready";for(var r=0;r<e.length&&(js(t,e[r].type,e[r].value),t._state!=="closed");++r);}}function js(t,e,r){t._state="running";var n=t._observer;try{var i=mn(n,e);switch(e){case"next":i&&i.call(n,r);break;case"error":if(ai(t),i)i.call(n,r);else throw r;break;case"complete":ai(t),i&&i.call(n);break}}catch(s){tr(s)}t._state==="closed"?zs(t):t._state==="running"&&(t._state="ready")}function oi(t,e,r){if(t._state!=="closed"){if(t._state==="buffering"){t._queue.push({type:e,value:r});return}if(t._state!=="ready"){t._state="buffering",t._queue=[{type:e,value:r}],vn(function(){return bu(t)});return}js(t,e,r)}}var Eu=function(){function t(r,n){this._cleanup=void 0,this._observer=r,this._queue=void 0,this._state="initializing";var i=new wu(this);try{this._cleanup=n.call(void 0,i)}catch(s){i.error(s)}this._state==="initializing"&&(this._state="ready")}var e=t.prototype;return e.unsubscribe=function(){this._state!=="closed"&&(ai(this),zs(this))},ti(t,[{key:"closed",get:function(){return this._state==="closed"}}]),t}(),wu=function(){function t(r){this._subscription=r}var e=t.prototype;return e.next=function(n){oi(this._subscription,"next",n)},e.error=function(n){oi(this._subscription,"error",n)},e.complete=function(){oi(this._subscription,"complete")},ti(t,[{key:"closed",get:function(){return this._subscription._state==="closed"}}]),t}(),Ae=function(){function t(r){if(!(this instanceof t))throw new TypeError("Observable cannot be called as a function");if(typeof r!="function")throw new TypeError("Observable initializer must be a function");this._subscriber=r}var e=t.prototype;return e.subscribe=function(n){return(typeof n!="object"||n===null)&&(n={next:n,error:arguments[1],complete:arguments[2]}),new Eu(n,this._subscriber)},e.forEach=function(n){var i=this;return new Promise(function(s,a){if(typeof n!="function"){a(new TypeError(n+" is not a function"));return}function l(){o.unsubscribe(),s()}var o=i.subscribe({next:function(u){try{n(u,l)}catch(c){a(c),o.unsubscribe()}},error:a,complete:s})})},e.map=function(n){var i=this;if(typeof n!="function")throw new TypeError(n+" is not a function");var s=Dr(this);return new s(function(a){return i.subscribe({next:function(l){try{l=n(l)}catch(o){return a.error(o)}a.next(l)},error:function(l){a.error(l)},complete:function(){a.complete()}})})},e.filter=function(n){var i=this;if(typeof n!="function")throw new TypeError(n+" is not a function");var s=Dr(this);return new s(function(a){return i.subscribe({next:function(l){try{if(!n(l))return}catch(o){return a.error(o)}a.next(l)},error:function(l){a.error(l)},complete:function(){a.complete()}})})},e.reduce=function(n){var i=this;if(typeof n!="function")throw new TypeError(n+" is not a function");var s=Dr(this),a=arguments.length>1,l=!1,o=arguments[1],u=o;return new s(function(c){return i.subscribe({next:function(f){var d=!l;if(l=!0,!d||a)try{u=n(u,f)}catch(p){return c.error(p)}else u=f},error:function(f){c.error(f)},complete:function(){if(!l&&!a)return c.error(new TypeError("Cannot reduce an empty sequence"));c.next(u),c.complete()}})})},e.concat=function(){for(var n=this,i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];var l=Dr(this);return new l(function(o){var u,c=0;function f(d){u=d.subscribe({next:function(p){o.next(p)},error:function(p){o.error(p)},complete:function(){c===s.length?(u=void 0,o.complete()):f(l.from(s[c++]))}})}return f(n),function(){u&&(u.unsubscribe(),u=void 0)}})},e.flatMap=function(n){var i=this;if(typeof n!="function")throw new TypeError(n+" is not a function");var s=Dr(this);return new s(function(a){var l=[],o=i.subscribe({next:function(c){if(n)try{c=n(c)}catch(d){return a.error(d)}var f=s.from(c).subscribe({next:function(d){a.next(d)},error:function(d){a.error(d)},complete:function(){var d=l.indexOf(f);d>=0&&l.splice(d,1),u()}});l.push(f)},error:function(c){a.error(c)},complete:function(){u()}});function u(){o.closed&&l.length===0&&a.complete()}return function(){l.forEach(function(c){return c.unsubscribe()}),o.unsubscribe()}})},e[si]=function(){return this},t.from=function(n){var i=typeof this=="function"?this:t;if(n==null)throw new TypeError(n+" is not an object");var s=mn(n,si);if(s){var a=s.call(n);if(Object(a)!==a)throw new TypeError(a+" is not an object");return yu(a)&&a.constructor===i?a:new i(function(l){return a.subscribe(l)})}if(ni("iterator")&&(s=mn(n,gu),s))return new i(function(l){vn(function(){if(!l.closed){for(var o=mu(s.call(n)),u;!(u=o()).done;){var c=u.value;if(l.next(c),l.closed)return}l.complete()}})});if(Array.isArray(n))return new i(function(l){vn(function(){if(!l.closed){for(var o=0;o<n.length;++o)if(l.next(n[o]),l.closed)return;l.complete()}})});throw new TypeError(n+" is not observable")},t.of=function(){for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];var a=typeof this=="function"?this:t;return new a(function(l){vn(function(){if(!l.closed){for(var o=0;o<i.length;++o)if(l.next(i[o]),l.closed)return;l.complete()}})})},ti(t,null,[{key:Fs,get:function(){return this}}]),t}();ri()&&Object.defineProperty(Ae,Symbol("extensions"),{value:{symbol:si,hostReportError:tr},configurable:!0});function _u(t,e){var r=E({},t),n=function(s){typeof s=="function"?r=E(E({},r),s(r)):r=E(E({},r),s)},i=function(){return E({},r)};return Object.defineProperty(e,"setContext",{enumerable:!1,value:n}),Object.defineProperty(e,"getContext",{enumerable:!1,value:i}),e}function Le(t){return t!==null&&typeof t=="object"}function ny(t){return t!==null&&typeof t=="object"&&(Object.getPrototypeOf(t)===Object.prototype||Ob
2ject.getPrototypeOf(t)===null)}function Su(t,e){if(!Boolean(t))throw new Error(e)}const Tu=10,Bs=2;function xu(t){return gn(t,[])}function gn(t,e){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return Ou(t,e);default:return String(t)}}function Ou(t,e){if(t===null)return"null";if(e.includes(t))return"[Circular]";const r=[...e,t];if(Cu(t)){const n=t.toJSON();if(n!==t)return typeof n=="string"?n:gn(n,r)}else if(Array.isArray(t))return Mu(t,r);return Pu(t,r)}function Cu(t){return typeof t.toJSON=="function"}function Pu(t,e){const r=Object.entries(t);return r.length===0?"{}":e.length>Bs?"["+Du(t)+"]":"{ "+r.map(([i,s])=>i+": "+gn(s,e)).join(", ")+" }"}function Mu(t,e){if(t.length===0)return"[]";if(e.length>Bs)return"[Array]";const r=Math.min(Tu,t.length),n=t.length-r,i=[];for(let s=0;s<r;++s)i.push(gn(t[s],e));return n===1?i.push("... 1 more item"):n>1&&i.push(`... ${n} more items`),"["+i.join(", ")+"]"}function Du(t){const e=Object.prototype.toString.call(t).replace(/^\[object /,"").replace(/]$/,"");if(e==="Object"&&typeof t.constructor=="function"){const r=t.constructor.name;if(typeof r=="string"&&r!=="")return r}return e}class iy{constructor(e,r,n){this.start=e.start,this.end=r.end,this.startToken=e,this.endToken=r,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class sy{constructor(e,r,n,i,s,a){this.kind=e,this.start=r,this.end=n,this.line=i,this.column=s,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const Vs={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","directives","locations"],SchemaExtension:["directives","operationTypes"],DirectiveExtension:["name","directives"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},Au=new Set(Object.keys(Vs));function $s(t){const e=t==null?void 0:t.kind;return typeof e=="string"&&Au.has(e)}var Ws;(function(t){t.QUERY="query",t.MUTATION="mutation",t.SUBSCRIPTION="subscription"})(Ws||(Ws={}));var Me;(function(t){t.NAME="Name",t.DOCUMENT="Document",t.OPERATION_DEFINITION="OperationDefinition",t.VARIABLE_DEFINITION="VariableDefinition",t.SELECTION_SET="SelectionSet",t.FIELD="Field",t.ARGUMENT="Argument",t.FRAGMENT_SPREAD="FragmentSpread",t.INLINE_FRAGMENT="InlineFragment",t.FRAGMENT_DEFINITION="FragmentDefinition",t.VARIABLE="Variable",t.INT="IntValue",t.FLOAT="FloatValue",t.
2STRING="StringValue",t.BOOLEAN="BooleanValue",t.NULL="NullValue",t.ENUM="EnumValue",t.LIST="ListValue",t.OBJECT="ObjectValue",t.OBJECT_FIELD="ObjectField",t.DIRECTIVE="Directive",t.NAMED_TYPE="NamedType",t.LIST_TYPE="ListType",t.NON_NULL_TYPE="NonNullType",t.SCHEMA_DEFINITION="SchemaDefinition",t.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",t.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",t.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",t.FIELD_DEFINITION="FieldDefinition",t.INPUT_VALUE_DEFINITION="InputValueDefinition",t.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",t.UNION_TYPE_DEFINITION="UnionTypeDefinition",t.ENUM_TYPE_DEFINITION="EnumTypeDefinition",t.ENUM_VALUE_DEFINITION="EnumValueDefinition",t.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",t.DIRECTIVE_DEFINITION="DirectiveDefinition",t.SCHEMA_EXTENSION="SchemaExtension",t.DIRECTIVE_EXTENSION="DirectiveExtension",t.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",t.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",t.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",t.UNION_TYPE_EXTENSION="UnionTypeExtension",t.ENUM_TYPE_EXTENSION="EnumTypeExtension",t.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",t.TYPE_COORDINATE="TypeCoordinate",t.MEMBER_COORDINATE="MemberCoordinate",t.ARGUMENT_COORDINATE="ArgumentCoordinate",t.DIRECTIVE_COORDINATE="DirectiveCoordinate",t.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"})(Me||(Me={}));var Iu;const Tt=Object.freeze({});function lt(t,e,r=Vs){const n=new Map;for(const h of Object.values(Me))n.set(h,li(e,h));let i,s=Array.isArray(t),a=[t],l=-1,o=[],u=t,c,f;const d=[],p=[];do{l++;const h=l===a.length,y=h&&o.length!==0;if(h){if(c=p.length===0?void 0:d[d.length-1],u=f,f=p.pop(),y)if(s){u=u.slice();let w=0;for(const[T,x]of o){const P=T-w;x===null?(u.splice(P,1),w++):u[P]=x}}else{u={...u};for(const[w,T]of o)u[w]=T}l=i.index,a=i.keys,o=i.edits,s=i.inArray,i=i.prev}else if(f){if(c=s?l:a[l],u=f[c],u==null)continue;d.push(c)}let g;if(!Array.isArray(u)){var b,m;$s(u)||Su(!1,`Invalid AST Node: ${xu(u)}.`);const w=h?(b=n.get(u.kind))===null||b===void 0?void 0:b.leave:(m=n.get(u.kind))===null||m===void 0?void 0:m.enter;if(g=w==null?void 0:w.call(e,u,c,f,d,p),g===Tt)break;if(g===!1){if(!h){d.pop();continue}}else if(g!==void 0&&(o.push([c,g]),!h))if($s(g))u=g;else{d.pop();continue}}if(g===void 0&&y&&o.push([c,u]),h)d.pop();else{var v;i={inArray:s,index:l,keys:a,edits:o,prev:i},s=Array.isArray(u),a=s?u:(v=r[u.kind])!==null&&v!==void 0?v:[],l=-1,o=[],f&&p.push(f),f=u}}while(i!==void 0);return o.length!==0?o[o.length-1][1]:t}function ay(t){const e=new Array(t.length).fill(null),r=Object.create(null);for(const n of Object.values(Iu)){let i=!1;const s=new Array(t.length).fill(void 0),a=new Array(t.length).fill(void 0);for(let o=0;o<t.length;++o){const{enter:u,leave:c}=li(t[o],n);i||(i=u!=null||c!=null),s[o]=u,a[o]=c}if(!i)continue;const l={enter(...o){const u=o[0];for(let f=0;f<t.length;f++)if(e[f]===null){var c;const d=(c=s[f])===null||c===void 0?void 0:c.apply(t[f],o);if(d===!1)e[f]=u;else if(d===Tt)e[f]=Tt;else if(d!==void 0)return d}},leave(...o){const u=o[0];for(let f=0;f<t.length;f++)if(e[f]===null){var c;const d=(c=a[f])===null||c===void 0?void 0:c.apply(t[f],o);if(d===Tt)e[f]=Tt;else if(d!==void 0&&d!==!1)return d}else e[f]===u&&(e[f]=null)}};r[n]=l}return r}function li(t,e){const r=t[e];return typeof r=="object"?r:typeof r=="function"?{enter:r,leave:void 0}:{enter:t.enter,leave:t.leave}}function oy(t,e,r){const{enter:n,leave:i}=li(t,e);return r?i:n}function Ru(t,e){var r=e,n=[];t.definitions.forEach(function(s){if(s.kind==="OperationDefinition")throw De(112,s.operation,s.name?" named '".concat(s.name.value,"'"):"");s.kind==="FragmentDefinition"&&n.push(s)}),typeof r=="undefined"&&(se(n.length===1,113,n.length),r=n[0].name.value);var i=E(E({},t),{definitions:oe([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],t.definitions,!0)});return i}function rr(t){t===void 0&&(t=[]);var e={};return t.forEach(function(r){e[r.name.value]=r}),e}function yn(t,e){switch(t.kind){case"InlineFragment":return t;case"FragmentSpread":{var r=t.name.value;if(typeof e=="function")return e(r);var n=e&&e[r];return se(n,114,r),n||null}default:return null}}function ku(t){var e=!0;return lt(t,{FragmentSpread:function(r){if(e=!!r.directives&&r.directives.some(function(n){return n.name.value==="unmask"}),!e)return Tt}}),e}function ui(){}const Lu=ui,Nu=typeof WeakRef!="undefined"?WeakRef:function(t){return{deref:()=>t}},Fu=typeof WeakMap!="undefined"?WeakMap:Map,zu=typeof FinalizationRegistry!="undefined"?FinalizationRegistry:function(){return{register:ui,unregister:ui}},ju=10024;
2class bn{constructor(e=1/0,r=Lu){this.max=e,this.dispose=r,this.map=new Fu,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const n=this.unfinalizedNodes.values();for(let i=0;i<ju;i++){const s=n.next().value;if(!s)break;this.unfinalizedNodes.delete(s);const a=s.key;delete s.key,s.keyRef=new Nu(a),this.registry.register(a,s,s)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new zu(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){const r=this.getNode(e);return r&&r.value}getNode(e){const r=this.map.get(e);if(r&&r!==this.newest){const{older:n,newer:i}=r;i&&(i.older=n),n&&(n.newer=i),r.older=this.newest,r.older.newer=r,r.newer=null,this.newest=r,r===this.oldest&&(this.oldest=i)}return r}set(e,r){let n=this.getNode(e);return n?n.value=r:(n={key:e,value:r,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.scheduleFinalization(n),this.map.set(e,n),this.size++,n.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;const r=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,r),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),r&&this.map.delete(r)}delete(e){const r=this.map.get(e);return r?(this.deleteNode(r),!0):!1}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}function Bu(){}class ci{constructor(e=1/0,r=Bu){this.max=e,this.dispose=r,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){const r=this.getNode(e);return r&&r.value}get size(){return this.map.size}getNode(e){const r=this.map.get(e);if(r&&r!==this.newest){const{older:n,newer:i}=r;i&&(i.older=n),n&&(n.newer=i),r.older=this.newest,r.older.newer=r,r.newer=null,this.newest=r,r===this.oldest&&(this.oldest=i)}return r}set(e,r){let n=this.getNode(e);return n?n.value=r:(n={key:e,value:r,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){const r=this.map.get(e);return r?(r===this.newest&&(this.newest=r.older),r===this.oldest&&(this.oldest=r.newer),r.newer&&(r.newer.older=r.older),r.older&&(r.older.newer=r.newer),this.map.delete(e),this.dispose(r.value,e),!0):!1}}var fi=new WeakSet;function Us(t){t.size<=(t.max||-1)||fi.has(t)||(fi.add(t),setTimeout(function(){t.clean(),fi.delete(t)},100))}var qs=function(t,e){var r=new bn(t,e);return r.set=function(n,i){var s=bn.prototype.set.call(this,n,i);return Us(this),s},r},Vu=function(t,e){var r=new ci(t,e);return r.set=function(n,i){var s=ci.prototype.set.call(this,n,i);return Us(this),s},r},$u=Symbol.for("apollo.cacheSize"),yt=E({},$e[$u]),Ft={};function Gs(t,e){Ft[t]=e}var Wu=globalThis.__DEV__!==!1?Hu:void 0,Uu=globalThis.__DEV__!==!1?Qu:void 0,qu=globalThis.__DEV__!==!1?Hs:void 0;function Gu(){var t={parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4};return Object.fromEntries(Object.entries(t).map(function(e){var r=e[0],n=e[1];return[r,yt[r]||n]}))}function Hu(){var t,e,r,n,i;if(globalThis.__DEV__===!1)throw new Error("only supported in development mode");return{limits:Gu(),sizes:E({print:(t=Ft.print)===null||t===void 0?void 0:t.call(Ft),parser:(e=Ft.parser)===null||e===void 0?void 0:e.call(Ft),canonicalStringify:(r=Ft.canonicalStringify)===null||r===void 0?void 0:r.call(Ft),links:pi(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:Ys(this.queryManager.documentTransform)}},(i=(n=this.cache).getMemoryInternals)===null||i===void 0?void 0:i.call(n))}}function Hs(){return{cache:{fragmentQueryDocuments:xt(this.getFragmentDoc)}}}function Qu(){var t=this.config.fragments;return E(E({},Hs.apply(this)),{addTypenameDocumentTransform:Ys(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:xt(this.storeReader.executeSelectionSet),executeSubSelectedArray:xt(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:xt(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:xt(t==null?void 0:t.findFragmentSpreads),lookup:xt(t==null?void 0:t.lookup),transform:xt(t==null?void 0:t.transform)}})}function Yu(t){return!!t&&"dirtyKey"in t}function xt(t){return Yu(t)?t.size:void 0}function Qs(t){return t!=null}function Ys(t){return di(t).map(function(e){return{cache:e}})}function di(t){return t?oe(oe([xt(t==null?void 0:t.performWork)],di(t==null?void 0:t.left),!0),di(t==null?void 0:t.right),!0).filter(Qs):[]}function pi(t){var e;return t?oe(oe([(e=t==null?void 0:t.getMemoryInternals)===null||e===void 0?void 0:e.call(t)],pi(t==null?void 0:t.left),!0),pi(t==null?void 0:t.right),!0).filter(Qs):[]}var Ot=Object.assign(function(e){return JSON.stringify(e,Xu)},{reset:function(){nr=new Vu(yt.canonicalStringify||1e3)}});globalThis.__DEV__!==!1&&Gs("canonicalStringify",function(){return nr.size});var nr;Ot.reset();function Xu(t,e){if(e&&typeof e=="object"){var r=Object.getPrototypeOf(e);if(r===Object.prototype||r===null){var n=Object.keys(e);if(n.every(Ku))return e;var i=JSON.stringify(n),s=nr.get(i);if(!s){n.sort();var a=JSON.stringify(n);s=nr.get(a)||n,nr.set(i,s),nr.set(a,s)}var l=Object.create(r);
2return s.forEach(function(o){l[o]=e[o]}),l}}return e}function Ku(t,e,r){return e===0||r[e-1]<=t}function ir(t){return{__ref:String(t)}}function Oe(t){return Boolean(t&&typeof t=="object"&&typeof t.__ref=="string")}function Ju(t){return Le(t)&&t.kind==="Document"&&Array.isArray(t.definitions)}function Zu(t){return t.kind==="StringValue"}function ec(t){return t.kind==="BooleanValue"}function tc(t){return t.kind==="IntValue"}function rc(t){return t.kind==="FloatValue"}function nc(t){return t.kind==="Variable"}function ic(t){return t.kind==="ObjectValue"}function sc(t){return t.kind==="ListValue"}function ac(t){return t.kind==="EnumValue"}function oc(t){return t.kind==="NullValue"}function sr(t,e,r,n){if(tc(r)||rc(r))t[e.value]=Number(r.value);else if(ec(r)||Zu(r))t[e.value]=r.value;else if(ic(r)){var i={};r.fields.map(function(a){return sr(i,a.name,a.value,n)}),t[e.value]=i}else if(nc(r)){var s=(n||{})[r.name.value];t[e.value]=s}else if(sc(r))t[e.value]=r.values.map(function(a){var l={};return sr(l,e,a,n),l[e.value]});else if(ac(r))t[e.value]=r.value;else if(oc(r))t[e.value]=null;else throw De(123,e.value,r.kind)}function lc(t,e){var r=null;t.directives&&(r={},t.directives.forEach(function(i){r[i.name.value]={},i.arguments&&i.arguments.forEach(function(s){var a=s.name,l=s.value;return sr(r[i.name.value],a,l,e)})}));var n=null;return t.arguments&&t.arguments.length&&(n={},t.arguments.forEach(function(i){var s=i.name,a=i.value;return sr(n,s,a,e)})),Xs(t.name.value,n,r)}var uc=["connection","include","skip","client","rest","export","nonreactive"],Ar=Ot,Xs=Object.assign(function(t,e,r){if(e&&r&&r.connection&&r.connection.key)if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach(function(l){i[l]=e[l]}),"".concat(r.connection.key,"(").concat(Ar(i),")")}else return r.connection.key;var s=t;if(e){var a=Ar(e);s+="(".concat(a,")")}return r&&Object.keys(r).forEach(function(l){uc.indexOf(l)===-1&&(r[l]&&Object.keys(r[l]).length?s+="@".concat(l,"(").concat(Ar(r[l]),")"):s+="@".concat(l))}),s},{setStringify:function(t){var e=Ar;return Ar=t,e}});function En(t,e){if(t.arguments&&t.arguments.length){var r={};return t.arguments.forEach(function(n){var i=n.name,s=n.value;return sr(r,i,s,e)}),r}return null}function bt(t){return t.alias?t.alias.value:t.name.value}function hi(t,e,r){for(var n,i=0,s=e.selections;i<s.length;i++){var a=s[i];if(Ct(a)){if(a.name.value==="__typename")return t[bt(a)]}else n?n.push(a):n=[a]}if(typeof t.__typename=="string")return t.__typename;if(n)for(var l=0,o=n;l<o.length;l++){var a=o[l],u=hi(t,yn(a,r).selectionSet,r);if(typeof u=="string")return u}}function Ct(t){return t.kind==="Field"}function cc(t){return t.kind==="InlineFragment"}function ar(t){se(t&&t.kind==="Document",115);var e=t.definitions.filter(function(r){return r.kind!=="FragmentDefinition"}).map(function(r){if(r.kind!=="OperationDefinition")throw De(116,r.kind);return r});return se(e.length<=1,117,e.length),t}function zt(t){return ar(t),t.definitions.filter(function(e){return e.kind==="OperationDefinition"})[0]}function Ir(t){return t.definitions.filter(function(e){return e.kind==="OperationDefinition"&&!!e.name}).map(function(e){return e.name.value})[0]||null}function or(t){return t.definitions.filter(function(e){return e.kind==="FragmentDefinition"})}function Ks(t){var e=zt(t);return se(e&&e.operation==="query",118),e}function Js(t){se(t.kind==="Document",119),se(t.definitions.length<=1,120);var e=t.definitions[0];return se(e.kind==="FragmentDefinition",121),e}function Rr(t){ar(t);for(var e,r=0,n=t.definitions;r<n.length;r++){var i=n[r];if(i.kind==="OperationDefinition"){var s=i.operation;if(s==="query"||s==="mutation"||s==="subscription")return i}i.kind==="FragmentDefinition"&&!e&&(e=i)}if(e)return e;throw De(122)}function mi(t){var e=Object.create(null),r=t&&t.variableDefinitions;return r&&r.length&&r.forEach(function(n){n.defaultValue&&sr(e,n.variable.name,n.defaultValue)}),e}function fc(t){var e={variables:t.variables||{},extensions:t.extensions||{},operationName:t.operationName,query:t.query};return e.operationName||(e.operationName=typeof e.query!="string"?Ir(e.query)||void 0:""),e}function dc(t){for(var e=["query","operationName","variables","extensions","context"],r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];if(e.indexOf(i)<0)throw De(58,i)}return t}const pc=()=>Object.create(null),{forEach:hc,slice:Zs}=Array.prototype,{hasOwnProperty:mc}=Object.prototype;class Et{constructor(e=!0,r=pc){this.weakness=e,this.makeData=r}lookup(){return this.lookupArray(arguments)}lookupArray(e){let r=this;return hc.call(e,n=>r=r.getChildTrie(n)),mc.call(r,"data")?r.data:r.data=this.makeData(Zs.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let r=this;for(let n=0,i=e.length;r&&n<i;++n){const s=r.mapFor(e[n],!1);r=s&&s.get(e[n])}return r&&r.data}remove(){return this.removeArray(arguments)}removeArray(e){let r;if(e.length){const n=e[0],i=this.mapFor(n,!1),s=i&&i.get(n);s&&(r=s.removeArray(Zs.call(e,1)),!s.data&&!s.weak&&!(s.strong&&s.strong.size)&&i.delete(n))}else r=this.data,delete this.data;return r}getChildTrie(e){const r=this.mapFor(e,!0);let n=r.get(e);return n||r.set(e,n=new Et(this.weakness,this.makeData)),n}mapFor(e,r){return this.weakness&&vc(e)?this.weak||(r?this.weak=new WeakMap:void 0):this.strong||(r?this.strong=new Map:void 0)}}function vc(t){switch(typeof t){case"object":if(t===null)break;case"function":return!0}return!1}let Ue=null;const ea={};let gc=1;const yc=()=>class{constructor(){this.id=["slot",gc++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=Ue;e;e=e.parent)if(this.id in e.slots){const r=e.slots[this.id];if(r===ea)break;return e!==Ue&&(Ue.slots[this.id]=r),!0}return Ue&&(Ue.slots[this.id]=ea),!1}getValue(){if(this.hasValue())return Ue.slots[this.id]}withValue(e,r,n,i){const s={__proto__:null,[this.id]:e},a=Ue;Ue={parent:a,slots:s};try{return r.apply(i,n)}finally{Ue=a}}static bind(e){const r=Ue;return function(){const n=Ue;try{return Ue=r,e.apply(this,arguments)}finally{Ue=n}}}static noContext(e,r,n){if(Ue){const i=Ue;try{return Ue=null,e.apply(n,r)}finally{Ue=i}}else return e.apply(n,r)}};function ta(t){try{return t()}catch(e){}}const vi="@wry/context:Slot",ra=ta(()=>globalThis)||ta(()=>Se.g)||Object.create(null),lr=ra[vi]||Array[vi]||function(t){try{Object.defineProperty(ra,vi,{value:t,enumerable:!1,writable:!1,
2configurable:!0})}finally{return t}}(yc()),{bind:gi,noContext:bc}=lr;function uy(t,e){return setTimeout(gi(t),e)}function cy(t){return function(){const e=t.apply(this,arguments),r=gi(e.next),n=gi(e.throw);return new Promise((i,s)=>{function a(u,c){try{var f=u.call(e,c)}catch(p){return s(p)}const d=f.done?i:l;Ec(f.value)?f.value.then(d,f.done?s:o):d(f.value)}const l=u=>a(r,u),o=u=>a(n,u);l()})}}function Ec(t){return t&&typeof t.then=="function"}const na=null;function fy(t){if(na.indexOf(t)<0){const e=(r,n)=>{const i=r[n];r[n]=function(){return bc(i,arguments,this)}};e(t,"yield"),e(t.prototype,"run"),e(t.prototype,"throwInto"),na.push(t)}return t}const kr=new lr;function dy(t){return kr.withValue(void 0,t)}const{hasOwnProperty:wc}=Object.prototype,yi=Array.from||function(t){const e=[];return t.forEach(r=>e.push(r)),e};function wn(t){const{unsubscribe:e}=t;typeof e=="function"&&(t.unsubscribe=void 0,e())}const Lr=[],_c=100;function ur(t,e){if(!t)throw new Error(e||"assertion failure")}function ia(t,e){const r=t.length;return r>0&&r===e.length&&t[r-1]===e[r-1]}function sa(t){switch(t.length){case 0:throw new Error("unknown value");case 1:return t[0];case 2:throw t[1]}}function aa(t){return t.slice(0)}class _n{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++_n.count}peek(){if(this.value.length===1&&!Pt(this))return oa(this),this.value[0]}recompute(e){return ur(!this.recomputing,"already recomputing"),oa(this),Pt(this)?Sc(this,e):sa(this.value)}setDirty(){this.dirty||(this.dirty=!0,la(this),wn(this))}dispose(){this.setDirty(),pa(this),bi(this,(e,r)=>{e.setDirty(),ha(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=Lr.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(yi(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),Lr.push(this.deps),this.deps=null)}}_n.count=0;function oa(t){const e=kr.getValue();if(e)return t.parents.add(e),e.childValues.has(t)||e.childValues.set(t,[]),Pt(t)?ca(e,t):fa(e,t),e}function Sc(t,e){return pa(t),kr.withValue(t,Tc,[t,e]),Oc(t,e)&&xc(t),sa(t.value)}function Tc(t,e){t.recomputing=!0;const{normalizeResult:r}=t;let n;r&&t.value.length===1&&(n=aa(t.value)),t.value.length=0;try{if(t.value[0]=t.fn.apply(null,e),r&&n&&!ia(n,t.value))try{t.value[0]=r(t.value[0],n[0])}catch(i){}}catch(i){t.value[1]=i}t.recomputing=!1}function Pt(t){return t.dirty||!!(t.dirtyChildren&&t.dirtyChildren.size)}function xc(t){t.dirty=!1,!Pt(t)&&ua(t)}function la(t){bi(t,ca)}function ua(t){bi(t,fa)}function bi(t,e){const r=t.parents.size;if(r){const n=yi(t.parents);for(let i=0;i<r;++i)e(n[i],t)}}function ca(t,e){ur(t.childValues.has(e)),ur(Pt(e));const r=!Pt(t);if(!t.dirtyChildren)t.dirtyChildren=Lr.pop()||new Set;else if(t.dirtyChildren.has(e))return;t.dirtyChildren.add(e),r&&la(t)}function fa(t,e){ur(t.childValues.has(e)),ur(!Pt(e));const r=t.childValues.get(e);r.length===0?t.childValues.set(e,aa(e.value)):ia(r,e.value)||t.setDirty(),da(t,e),!Pt(t)&&ua(t)}function da(t,e){const r=t.dirtyChildren;r&&(r.delete(e),r.size===0&&(Lr.length<_c&&Lr.push(r),t.dirtyChildren=null))}function pa(t){t.childValues.size>0&&t.childValues.forEach((e,r)=>{ha(t,r)}),t.forgetDeps(),ur(t.dirtyChildren===null)}function ha(t,e){e.parents.delete(t),t.childValues.delete(e),da(t,e)}function Oc(t,e){if(typeof t.subscribe=="function")try{wn(t),t.unsubscribe=t.subscribe.apply(null,e)}catch(r){return t.setDirty(),!1}return!0}const Cc={setDirty:!0,dispose:!0,forget:!0};function ma(t){const e=new Map,r=t&&t.subscribe;function n(i){const s=kr.getValue();if(s){let a=e.get(i);a||e.set(i,a=new Set),s.dependOn(a),typeof r=="function"&&(wn(a),a.unsubscribe=r(i))}}return n.dirty=function(s,a){const l=e.get(s);if(l){const o=a&&wc.call(Cc,a)?a:"setDirty";yi(l).forEach(u=>u[o]()),e.delete(s),wn(l)}},n}let va;function Pc(...t){return(va||(va=new Et(typeof WeakMap=="function"))).lookupArray(t)}const Ei=new Set;function Nr(t,{max:e=Math.pow(2,16),keyArgs:r,makeCacheKey:n=Pc,normalizeResult:i,subscribe:s,cache:a=ci}=Object.create(null)){const l=typeof a=="function"?new a(e,d=>d.dispose()):a,o=function(){const d=n.apply(null,r?r.apply(null,arguments):arguments);if(d===void 0)return t.apply(null,arguments);let p=l.get(d);p||(l.set(d,p=new _n(t)),p.normalizeResult=i,p.subscribe=s,p.forget=()=>l.delete(d));const b=p.recompute(Array.prototype.slice.call(arguments));return l.set(d,p),Ei.add(l),kr.hasValue()||(Ei.forEach(m=>m.clean()),Ei.clear()),b};Object.defineProperty(o,"size",{get:()=>l.size,configurable:!1,enumerable:!1}),Object.freeze(o.options={max:e,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:s,cache:l});function u(d){const p=d&&l.get(d);p&&p.setDirty()}o.dirtyKey=u,o.dirty=function(){u(n.apply(null,arguments))};function c(d){const p=d&&l.get(d);if(p)return p.peek()}o.peekKey=c,o.peek=function(){return c(n.apply(null,arguments))};function f(d){return d?l.delete(d):!1}return o.forgetKey=f,o.forget=function(){return f(n.apply(null,arguments))},o.makeCacheKey=n,o.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(o)}var wi,Mc=Symbol.for("apollo.deprecations"),ga=Symbol.for("apollo.deprecations.slot"),_i=$e,Si=(wi=_i[ga])!==null&&wi!==void 0?wi:_i[ga]=new lr;
2function Dc(t){return _i[Mc]||(Si.getValue()||[]).includes(t)}function Ge(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return Si.withValue.apply(Si,oe([Array.isArray(t)?t:[t]],e,!1))}function Be(t,e,r,n){n===void 0&&(n="Please remove this option."),jt(e,function(){e in t&&globalThis.__DEV__!==!1&&se.warn(103,r,e,n)})}function jt(t,e){Dc(t)||e()}function ya(t,e){return e?e(t):Ae.of()}function Fr(t){return typeof t=="function"?new zr(t):t}function Sn(t){return t.request.length<=1}var zr=function(){function t(e){e&&(this.request=e)}return t.empty=function(){return new t(function(){return Ae.of()})},t.from=function(e){return e.length===0?t.empty():e.map(Fr).reduce(function(r,n){return r.concat(n)})},t.split=function(e,r,n){var i=Fr(r),s=Fr(n||new t(ya)),a;return Sn(i)&&Sn(s)?a=new t(function(l){return e(l)?i.request(l)||Ae.of():s.request(l)||Ae.of()}):a=new t(function(l,o){return e(l)?i.request(l,o)||Ae.of():s.request(l,o)||Ae.of()}),Object.assign(a,{left:i,right:s})},t.execute=function(e,r){return e.request(_u(r.context,fc(dc(r))))||Ae.of()},t.concat=function(e,r){var n=Fr(e);if(Sn(n))return globalThis.__DEV__!==!1&&se.warn(47,n),n;var i=Fr(r),s;return Sn(i)?s=new t(function(a){return n.request(a,function(l){return i.request(l)||Ae.of()})||Ae.of()}):s=new t(function(a,l){return n.request(a,function(o){return i.request(o,l)||Ae.of()})||Ae.of()}),Object.assign(s,{left:n,right:i})},t.prototype.split=function(e,r,n){return this.concat(t.split(e,r,n||new t(ya)))},t.prototype.concat=function(e){return t.concat(this,e)},t.prototype.request=function(e,r){throw De(48)},t.prototype.onError=function(e,r){if(globalThis.__DEV__!==!1&&jt("onError",function(){globalThis.__DEV__!==!1&&se.warn(49)}),r&&r.error)return r.error(e),!1;throw e},t.prototype.setOnError=function(e){return globalThis.__DEV__!==!1&&globalThis.__DEV__!==!1&&se.warn(50),this.onError=e,this},t}(),Ti=zr.execute,Ac;function jr(t,e){var r=t.directives;return!r||!r.length?!0:kc(r).every(function(n){var i=n.directive,s=n.ifArgument,a=!1;return s.value.kind==="Variable"?(a=e&&e[s.value.name.value],se(a!==void 0,105,i.name.value)):a=s.value.value,i.name.value==="skip"?!a:a})}function py(t){var e=[];return Ac(t,{Directive:function(r){e.push(r.name.value)}}),e}var hy=function(t,e){return Bt(t,e,!1)},my=function(t,e){return Bt(t,e,!0)};function Bt(t,e,r){var n=new Set(t),i=n.size;return lt(e,{Directive:function(s){if(n.delete(s.name.value)&&(!r||!n.size))return Tt}}),r?!n.size:n.size<i}function Ic(t){return t&&Bt(["client","export"],t,!0)}function Rc(t){var e=t.name.value;return e==="skip"||e==="include"}function kc(t){var e=[];return t&&t.length&&t.forEach(function(r){if(Rc(r)){var n=r.arguments,i=r.name.value;se(n&&n.length===1,106,i);var s=n[0];se(s.name&&s.name.value==="if",107,i);var a=s.value;se(a&&(a.kind==="Variable"||a.kind==="BooleanValue"),108,i),e.push({directive:r,ifArgument:s})}}),e}function Lc(t){var e,r,n=(e=t.directives)===null||e===void 0?void 0:e.find(function(s){var a=s.name;return a.value==="unmask"});if(!n)return"mask";var i=(r=n.arguments)===null||r===void 0?void 0:r.find(function(s){var a=s.name;return a.value==="mode"});return globalThis.__DEV__!==!1&&i&&(i.value.kind===Me.VARIABLE?globalThis.__DEV__!==!1&&se.warn(109):i.value.kind!==Me.STRING?globalThis.__DEV__!==!1&&se.warn(110):i.value.value!=="migrate"&&globalThis.__DEV__!==!1&&se.warn(111,i.value.value)),i&&"value"in i.value&&i.value.value==="migrate"?"migrate":"unmask"}var xi=function(t,e){var r;try{r=JSON.stringify(t)}catch(i){var n=De(54,e,i.message);throw n.parseError=i,n}return r},Nc=function(t,e){var r=t.getContext(),n=r.uri;return n||(typeof e=="function"?e(t):e||"/graphql")},ba=Ye(function(){return navigator.product})=="ReactNative",Vt=typeof WeakMap=="function"&&!(ba&&!Se.g.HermesInternal),Oi=typeof WeakSet=="function",Ci=typeof Symbol=="function"&&typeof Symbol.for=="function",Tn=Ci&&Symbol.asyncIterator,Fc=typeof Ye(function(){return window.document.createElement})=="function",zc=Ye(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,vy=(Fc||ba)&&!zc;function jc(t){var e,r=t[Symbol.asyncIterator]();return e={next:function(){return r.next()}},e[Symbol.asyncIterator]=function(){return this},e}function Bc(t){var e=null,r=null,n=!1,i=[],s=[];function a(f){if(!r){if(s.length){var d=s.shift();if(Array.isArray(d)&&d[0])return d[0]({value:f,done:!1})}i.push(f)}}function l(f){r=f;var d=s.slice();d.forEach(function(p){p[1](f)}),!e||e()}function o(){n=!0;var f=s.slice();f.forEach(function(d){d[0]({value:void 0,done:!0})}),!e||e()}e=function(){e=null,t.removeListener("data",a),t.removeListener("error",l),t.removeListener("end",o),t.removeListener("finish",o),t.removeListener("close",o)},t.on("data",a),t.on("error",l),t.on("end",o),t.on("finish",o),t.on("close",o);function u(){return new Promise(function(f,d){if(r)return d(r);if(i.length)return f({value:i.shift(),done:!1});if(n)return f({value:void 0,done:!0});s.push([f,d])})}var c={next:function(){return u()}};return Tn&&(c[Symbol.asyncIterator]=function(){return this}),c}function Vc(t){var e=!1,r={next:function(){return e?Promise.resolve({value:void 0,done:!0}):(e=!0,new Promise(function(n,i){t.then(function(s){n({value:s,done:!1})}).catch(i)}))}};return Tn&&(r[Symbol.asyncIterator]=function(){return this}),r}function Ea(t){var e={next:function(){return t.read()}};return Tn&&(e[Symbol.asyncIterator]=function(){return this}),e}function $c(t){return!!t.body}function Wc(t){return!!t.getReader}function Uc(t){return!!(Tn&&t[Symbol.asyncIterator])}function qc(t){return!!t.stream}function Gc(t){return!!t.arrayBuffer}function Hc(t){return!!t.pipe}function Qc(t){var e=t;if($c(t)&&(e=t.body),Uc(e))return jc(e);if(Wc(e))return Ea(e.getReader());if(qc(e))return Ea(e.stream().getReader());if(Gc(e))return Vc(e.arrayBuffer());if(Hc(e))return Bc(e);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var wa=function(t,e,r){var n=new Error(r);throw n.name="ServerError",n.response=t,n.statusCode=t.status,n.result=e,n},Pi=Symbol();function Yc(t){return t.extensions?Array.isArray(t.extensions[Pi]):!1}function _a(t){return t.hasOwnProperty("graphQLErrors")}var Xc=function(t){var e=oe(oe(oe([],t.graphQLErrors,!0),t.clientErrors,!0),t.protocolErrors,!0);return t.networkError&&e.push(t.networkError),e.map(function(r){return Le(r)&&r.message||"Error message not found."}).join(` 3`)},$t=function(t){_(e,t);function e(r){var n=r.graphQLErrors,i=r.protocolErrors,s=r.clientErrors,a=r.networkError,l=r.errorMessage,o=r.extraInfo,u=t.call(this,l)||this;return u.name="ApolloError",u.graphQLErrors=n||[],u.protocolErrors=i||[],u.clientErrors=s||[],u.networkError=a||null,u.message=l||Xc(u),u.extraInfo=o,u.cause=oe(oe(oe([a],n||[],!0),i||[],!0),s||[],!0).find(function(c){return!!c})||null,u.__proto__=e.prototype,u}return e}(Error),Ne=Array.isArray;function ht(t){return Array.isArray(t)&&t.length>0}var Kc=Object.prototype.hasOwnProperty;function Sa(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return xn(t)}function xn(t){var e=t[0]||{},r=t.length;if(r>1)for(var n=new Mt,i=1;i<r;
3++i)e=n.merge(e,t[i]);return e}var Jc=function(t,e,r){return this.merge(t[r],e[r])},Mt=function(){function t(e){e===void 0&&(e=Jc),this.reconciler=e,this.isObject=Le,this.pastCopies=new Set}return t.prototype.merge=function(e,r){for(var n=this,i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];return Le(r)&&Le(e)?(Object.keys(r).forEach(function(a){if(Kc.call(e,a)){var l=e[a];if(r[a]!==l){var o=n.reconciler.apply(n,oe([e,r,a],i,!1));o!==l&&(e=n.shallowCopyForMerge(e),e[a]=o)}}else e=n.shallowCopyForMerge(e),e[a]=r[a]}),e):r},t.prototype.shallowCopyForMerge=function(e){return Le(e)&&(this.pastCopies.has(e)||(Array.isArray(e)?e=e.slice(0):e=E({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},t}();function cr(t){return"incremental"in t}function Zc(t){return"hasNext"in t&&"data"in t}function ef(t){return cr(t)||Zc(t)}function tf(t){return Le(t)&&"payload"in t}function Ta(t,e){var r=t,n=new Mt;return cr(e)&&ht(e.incremental)&&e.incremental.forEach(function(i){for(var s=i.data,a=i.path,l=a.length-1;l>=0;--l){var o=a[l],u=!isNaN(+o),c=u?[]:{};c[o]=s,s=c}r=n.merge(r,s)}),r}var xa=Object.prototype.hasOwnProperty;function rf(t,e){return J(this,void 0,void 0,function(){var r,n,i,s,a,l,o,u,c,f,d,p,b,m,v,h,y,g,w,T,x,P,I,O;return Q(this,function(H){switch(H.label){case 0:if(TextDecoder===void 0)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");r=new TextDecoder("utf-8"),n=(O=t.headers)===null||O===void 0?void 0:O.get("content-type"),i="boundary=",s=n!=null&&n.includes(i)?n==null?void 0:n.substring((n==null?void 0:n.indexOf(i))+i.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",a=`\r 4--`.concat(s),l="",o=Qc(t),u=!0,H.label=1;case 1:return u?[4,o.next()]:[3,3];case 2:for(c=H.sent(),f=c.value,d=c.done,p=typeof f=="string"?f:r.decode(f),b=l.length-a.length+1,u=!d,l+=p,m=l.indexOf(a,b);m>-1;){if(v=void 0,P=[l.slice(0,m),l.slice(m+a.length)],v=P[0],l=P[1],h=v.indexOf(`\r 5\r 6`),y=nf(v.slice(0,h)),g=y["content-type"],g&&g.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");if(w=v.slice(h),w){if(T=Oa(t,w),Object.keys(T).length>1||"data"in T||"incremental"in T||"errors"in T||"payload"in T)if(tf(T)){if(x={},"payload"in T){if(Object.keys(T).length===1&&T.payload===null)return[2];x=E({},T.payload)}"errors"in T&&(x=E(E({},x),{extensions:E(E({},"extensions"in x?x.extensions:null),(I={},I[Pi]=T.errors,I))})),e(x)}else e(T);else if(Object.keys(T).length===1&&"hasNext"in T&&!T.hasNext)return[2]}m=l.indexOf(a)}return[3,1];case 3:return[2]}})})}function nf(t){var e={};return t.split(` 7`).forEach(function(r){var n=r.indexOf(":");if(n>-1){var i=r.slice(0,n).trim().toLowerCase(),s=r.slice(n+1).trim();e[i]=s}}),e}function Oa(t,e){if(t.status>=300){var r=function(){try{return JSON.parse(e)}catch(i){return e}};wa(t,r(),"Response not successful: Received status code ".concat(t.status))}try{return JSON.parse(e)}catch(i){var n=i;throw n.name="ServerParseError",n.response=t,n.statusCode=t.status,n.bodyText=e,n}}function sf(t,e){t.result&&t.result.errors&&t.result.data&&e.next(t.result),e.error(t)}function af(t){return function(e){return e.text().then(function(r){return Oa(e,r)}).then(function(r){return!Array.isArray(r)&&!xa.call(r,"data")&&!xa.call(r,"errors")&&wa(e,r,"Server response was missing for query '".concat(Array.isArray(t)?t.map(function(n){return n.operationName}):t.operationName,"'.")),r})}}var of=function(t){if(!t&&typeof fetch=="undefined")throw De(51)};function Ca(t){return t===9||t===32}function lf(t){return t>=48&&t<=57}function Pa(t){return t>=97&&t<=122||t>=65&&t<=90}function gy(t){return Pa(t)||t===95}function yy(t){return Pa(t)||lf(t)||t===95}var uf;function by(t){var e;let r=Number.MAX_SAFE_INTEGER,n=null,i=-1;for(let a=0;a<t.length;++a){var s;const l=t[a],o=cf(l);o!==l.length&&(n=(s=n)!==null&&s!==void 0?s:a,i=a,a!==0&&o<r&&(r=o))}return t.map((a,l)=>l===0?a:a.slice(r)).slice((e=n)!==null&&e!==void 0?e:0,i+1)}function cf(t){let e=0;for(;e<t.length&&uf(t.charCodeAt(e));)++e;return e}function Ey(t){if(t==="")return!0;let e=!0,r=!1,n=!0,i=!1;for(let s=0;s<t.length;++s)switch(t.codePointAt(s)){case 0:case 1:case 2:case 3:case 4:case 5:case
76:case 7:case 8:case 11:case 12:case 14:case 15:return!1;case 13:return!1;case 10:if(e&&!i)return!1;i=!0,e=!0,r=!1;break;case 9:case 32:r||(r=e);break;default:n&&(n=r),e=!1}return!(e||n&&i)}function ff(t,e){const r=t.replace(/"""/g,'\\"""'),n=r.split(/\r\n|[\n\r]/g),i=n.length===1,s=n.length>1&&n.slice(1).every(p=>p.length===0||Ca(p.charCodeAt(0))),a=r.endsWith('\\"""'),l=t.endsWith('"')&&!a,o=t.endsWith("\\"),u=l||o,c=!(e!=null&&e.minimize)&&(!i||t.length>70||u||s||a);let f="";const d=i&&Ca(t.charCodeAt(0));return(c&&!d||s)&&(f+=` 8`),f+=r,(c||u)&&(f+=` 9`),'"""'+f+'"""'}function df(t){return`"${t.replace(pf,hf)}"`}const pf=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function hf(t){return mf[t.charCodeAt(0)]}const mf=["\\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"];function vf(t){return lt(t,yf)}const gf=80,yf={Name:{leave:t=>t.value},Variable:{leave:t=>"$"+t.name},Document:{leave:t=>ue(t.definitions,` 10 11`)},OperationDefinition:{leave(t){const e=Mi(t.variableDefinitions)?ge(`( 12`,ue(t.variableDefinitions,` 13`),` 14)`):ge("(",ue(t.variableDefinitions,", "),")"),r=ge("",t.description,` 15`)+ue([t.operation,ue([t.name,e]),ue(t.directives," ")]," ");return(r==="query"?"":r+" ")+t.selectionSet}},VariableDefinition:{leave:({variable:t,type:e,defaultValue:r,directives:n,description:i})=>ge("",i,` 16`)+t+": "+e+ge(" = ",r)+ge(" ",ue(n," "))},SelectionSet:{leave:({selections:t})=>ut(t)},Field:{leave({alias:t,name:e,arguments:r,directives:n,selectionSet:i}){const s=ge("",t,": ")+e;let a=s+ge("(",ue(r,", "),")");return a.length>gf&&(a=s+ge(`( 17`,On(ue(r,` 18`)),` 19)`)),ue([a,ue(n," "),i]," ")}},Argument:{leave:({name:t,value:e})=>t+": "+e},FragmentSpread:{leave:({name:t,directives:e})=>"..."+t+ge(" ",ue(e," "))},InlineFragment:{leave:({typeCondition:t,directives:e,selectionSet:r})=>ue(["...",ge("on ",t),ue(e," "),r]," ")},FragmentDefinition:{leave:({name:t,typeCondition:e,variableDefinitions:r,directives:n,selectionSet:i,description:s})=>ge("",s,` 20`)+`fragment ${t}${ge("(",ue(r,", "),")")} on ${e} ${ge("",ue(n," ")," ")}`+i},IntValue:{leave:({value:t})=>t},FloatValue:{leave:({value:t})=>t},StringValue:{leave:({value:t,block:e})=>e?ff(t):df(t)},BooleanValue:{leave:({value:t})=>t?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:t})=>t},ListValue:{leave:({values:t})=>"["+ue(t,", ")+"]"},ObjectValue:{leave:({fields:t})=>"{"+ue(t,", ")+"}"},ObjectField:{leave:({name:t,value:e})=>t+": "+e},Directive:{leave:({name:t,arguments:e})=>"@"+t+ge("(",ue(e,", "),")")},NamedType:{leave:({name:t})=>t},ListType:{leave:({type:t})=>"["+t+"]"},NonNullType:{leave:({type:t})=>t+"!"},SchemaDefinition:{leave:({description:t,directives:e,operationTypes:r})=>ge("",t,` 21`)+ue(["schema",ue(e," "),ut(r)]," ")},OperationTypeDefinition:{leave:({operation:t,type:e})=>t+": "+e},ScalarTypeDefinition:{leave:({description:t,name:e,directives:r})=>ge("",t,` 22`)+ue(["scalar",e,ue(r," ")]," ")},ObjectTypeDefinition:{leave:({description:t,name:e,interfaces:r,directives:n,fields:i})=>ge("",t,` 23`)+ue(["type",e,ge("implements ",ue(r," & ")),ue(n," "),ut(i)]," ")},FieldDefinition:{leave:({description:t,name:e,arguments:r,type:n,directives:i})=>ge("",t,` 24`)+e+(Mi(r)?ge(`( 25`,On(ue(r,` 26`)),` 27)`):ge("(",ue(r,", "),")"))+": "+n+ge(" ",ue(i," "))},InputValueDefinition:{leave:({description:t,name:e,type:r,defaultValue:n,directives:i})=>ge("",t,` 28`)+ue([e+": "+r,ge("= ",n),ue(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:t,name:e,interfaces:r,directives:n,fields:i})=>ge("",t,` 29`)+ue(["interface",e,ge("implements ",ue(r," & ")),ue(n," "),ut(i)]," ")},UnionTypeDefinition:{leave:({description:t,name:e,directives:r,types:n})=>ge("",t,` 30`)+ue(["union",e,ue(r," "),ge("= ",ue(n," | "))]," ")},EnumTypeDefinition:{leave:({description:t,name:e,directives:r,values:n})=>ge("",t,` 31`)+ue(["enum",e,ue(r," "),ut(n)]," ")},EnumValueDefinition:{leave:({description:t,name:e,directives:r})=>ge("",t,` 32`)+ue([e,ue(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:t,name:e,directives:r,fields:n})=>ge("",t,` 33`)+ue(["input",e,ue(r," "),ut(n)]," ")},DirectiveDefinition:{leave:({description:t,name:e,arguments:r,directives:n,repeatable:i,locations:s})=>ge("",t,` 34`)+"directive @"+e+(Mi(r)?ge(`( 35`,On(ue(r,` 36`)),` 37)`):ge("(",ue(r,", "),")"))+ge(" ",ue(n," "))+(i?" repeatable":"")+" on "+ue(s," | ")},SchemaExtension:{leave:({directives:t,operationTypes:e})=>ue(["extend schema",ue(t," "),ut(e)]," ")},ScalarTypeExtension:{leave:({name:t,directives:e})=>ue(["extend scalar",t,ue(e," ")]," ")},ObjectTypeExtension:{leave:({name:t,interfaces:e,directives:r,fields:n})=>ue(["extend type",t,ge("implements ",ue(e," & ")),ue(r," "),ut(n)]," ")},InterfaceTypeExtension:{leave:({name:t,interfaces:e,directives:r,fields:n})=>ue(["extend interface",t,ge("implements ",ue(e," & ")),ue(r," "),ut(n)]," ")},UnionTypeExtension:{leave:({name:t,directives:e,types:r})=>ue(["extend union",t,ue(e," "),ge("= ",ue(r," | "))]," ")},EnumTypeExtension:{leave:({name:t,directives:e,values:r})=>ue(["extend enum",t,ue(e," "),ut(r)]," ")},InputObjectTypeExtension:{leave:({name:t,directives:e,fields:r})=>ue(["extend input",t,ue(e," "),ut(r)]," ")},DirectiveExtension:{leave:({name:t,directives:e})=>ue(["extend directive @"+t,ue(e," ")]," ")},TypeCoordinate:{leave:({name:t})=>t},MemberCoordinate:{leave:({name:t,memberName:e})=>ue([t,ge(".",e)])},ArgumentCoordinate:{leave:({name:t,fieldName:e,argumentName:r})=>ue([t,ge(".",e),ge("(",r,":)")])},DirectiveCoordinate:{leave:({name:t})=>ue(["@",t])},DirectiveArgumentCoordinate:{leave:({name:t,argumentName:e})=>ue(["@",t,ge("(",e,":)")])}};function ue(t,e=""){var r;return(r=t==null?void 0:t.filter(n=>n).join(e))!==null&&r!==void 0?r:""}function ut(t){return ge(`{ 38`,On(ue(t,` 39`)),` 40}`)}function ge(t,e,r=""){return e!=null&&e!==""?t+e+r:""}function On(t){return ge(" ",t.replace(/\n/g,` 41 `))}function Mi(t){var e;return(e=t==null?void 0:t.some(r=>r.includes(` 42`)))!==null&&e!==void 0?e:!1}var Br,Wt=Object.assign(function(t){var e=Br.get(t);return e||(e=vf(t),Br.set(t,e)),e},{reset:function(){Br=new qs(yt.print||2e3)}});Wt.reset(),globalThis.__DEV__!==!1&&Gs("print",function(){return Br?Br.size:0});var bf,Ef={includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},wf={accept:"*/*","content-type":"application/json"},_f={method:"POST"},Sf={http:Ef,headers:wf,options:_f},Ma=function(t,e){return e(t)};function wy(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return r.unshift(e),Da.apply(void 0,bf([t,Ma],r,!1))}function Da(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i={},s={};r.forEach(function(f){i=E(E(E({},i),f.options),{headers:E(E({},i.headers),f.headers)}),f.credentials&&(i.credentials=f.credentials),s=E(E({},s),f.http)}),i.headers&&(i.headers=Tf(i.headers,s.preserveHeaderCase));var a=t.operationName,l=t.extensions,o=t.variables,u=t.query,c={operationName:a,variables:o};return s.includeExtensions&&(c.extensions=l),s.includeQuery&&(c.query=e(u,Wt)),{options:i,body:c}}function Tf(t,e){if(!e){var r={};
42return Object.keys(Object(t)).forEach(function(s){r[s.toLowerCase()]=t[s]}),r}var n={};Object.keys(Object(t)).forEach(function(s){n[s.toLowerCase()]={originalName:s,value:t[s]}});var i={};return Object.keys(n).forEach(function(s){i[n[s].originalName]=n[s].value}),i}function xf(t,e){var r=[],n=function(f,d){r.push("".concat(f,"=").concat(encodeURIComponent(d)))};if("query"in e&&n("query",e.query),e.operationName&&n("operationName",e.operationName),e.variables){var i=void 0;try{i=xi(e.variables,"Variables map")}catch(f){return{parseError:f}}n("variables",i)}if(e.extensions){var s=void 0;try{s=xi(e.extensions,"Extensions map")}catch(f){return{parseError:f}}n("extensions",s)}var a="",l=t,o=t.indexOf("#");o!==-1&&(a=t.substr(o),l=t.substr(0,o));var u=l.indexOf("?")===-1?"?":"&",c=l+u+r.join("&")+a;return{newURI:c}}function Di(t){return new Ae(function(e){e.error(t)})}function Of(t,e){var r=E({},t),n=new Set(Object.keys(t));return lt(e,{Variable:function(i,s,a){a&&a.kind!=="VariableDefinition"&&n.delete(i.name.value)}}),n.forEach(function(i){delete r[i]}),r}var Aa,Cf,Ia,Pf,Mf,Ra={kind:Me.FIELD,name:{kind:Me.NAME,value:"__typename"}};function ka(t,e){return!t||t.selectionSet.selections.every(function(r){return r.kind===Me.FRAGMENT_SPREAD&&ka(e[r.name.value],e)})}function Ai(t){return ka(zt(t)||Js(t),rr(or(t)))?null:t}function La(t){var e=new Map,r=new Map;return t.forEach(function(n){n&&(n.name?e.set(n.name,n):n.test&&r.set(n.test,n))}),function(n){var i=e.get(n.name.value);return!i&&r.size&&r.forEach(function(s,a){a(n)&&(i=s)}),i}}function Na(t){var e=new Map;return function(n){n===void 0&&(n=t);var i=e.get(n);return i||e.set(n,i={variables:new Set,fragmentSpreads:new Set}),i}}function Ii(t,e){ar(e);for(var r=Na(""),n=Na(""),i=function(h){for(var y=0,g=void 0;y<h.length&&(g=h[y]);++y)if(!Ne(g)){if(g.kind===Me.OPERATION_DEFINITION)return r(g.name&&g.name.value);if(g.kind===Me.FRAGMENT_DEFINITION)return n(g.name.value)}return globalThis.__DEV__!==!1&&se.error(124),null},s=0,a=e.definitions.length-1;a>=0;--a)e.definitions[a].kind===Me.OPERATION_DEFINITION&&++s;var l=La(t),o=function(h){return ht(h)&&h.map(l).some(function(y){return y&&y.remove})},u=new Map,c=!1,f={enter:function(h){if(o(h.directives))return c=!0,null}},d=lt(e,{Field:f,InlineFragment:f,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(h,y,g,w,T){var x=i(T);x&&x.variables.add(h.name.value)}},FragmentSpread:{enter:function(h,y,g,w,T){if(o(h.directives))return c=!0,null;var x=i(T);x&&x.fragmentSpreads.add(h.name.value)}},FragmentDefinition:{enter:function(h,y,g,w){u.set(JSON.stringify(w),h)},leave:function(h,y,g,w){var T=u.get(JSON.stringify(w));if(h===T)return h;if(s>0&&h.selectionSet.selections.every(function(x){return x.kind===Me.FIELD&&x.name.value==="__typename"}))return n(h.name.value).removed=!0,c=!0,null}},Directive:{leave:function(h){if(l(h))return c=!0,null}}});if(!c)return e;var p=function(h){return h.transitiveVars||(h.transitiveVars=new Set(h.variables),h.removed||h.fragmentSpreads.forEach(function(y){p(n(y)).transitiveVars.forEach(function(g){h.transitiveVars.add(g)})})),h},b=new Set;d.definitions.forEach(function(h){h.kind===Me.OPERATION_DEFINITION?p(r(h.name&&h.name.value)).fragmentSpreads.forEach(function(y){b.add(y)}):h.kind===Me.FRAGMENT_DEFINITION&&s===0&&!n(h.name.value).removed&&b.add(h.name.value)}),b.forEach(function(h){p(n(h)).fragmentSpreads.forEach(function(y){b.add(y)})});var m=function(h){return!!(!b.has(h)||n(h).removed)},v={enter:function(h){if(m(h.name.value))return null}};return Ai(lt(d,{FragmentSpread:v,FragmentDefinition:v,OperationDefinition:{leave:function(h){if(h.variableDefinitions){var y=p(r(h.name&&h.name.value)).transitiveVars;if(y.size<h.variableDefinitions.length)return E(E({},h),{variableDefinitions:h.variableDefinitions.filter(function(g){return y.has(g.variable.name.value)})})}}}}))}var Ri=Object.assign(function(t){return lt(t,{SelectionSet:{enter:function(e,r,n){if(!(n&&n.kind===Me.OPERATION_DEFINITION)){var i=e.selections;if(i){var s=i.some(function(l){return Ct(l)&&(l.name.value==="__typename"||l.name.value.lastIndexOf("__",0)===0)});if(!s){var a=n;if(!(Ct(a)&&a.directives&&a.directives.some(function(l){return l.name.value==="export"})))return E(E({},e),{selections:oe(oe([],i,!0),[Ra],!1)})}}}}}})},{added:function(t){return t===Ra}}),Df={test:function(t){var e=t.name.value==="connection";return e&&(!t.arguments||!t.arguments.some(function(r){return r.name.value==="key"}))&&globalThis.__DEV__!==!1&&se.warn(125),e}};function _y(t){return Ii([Df],Pf(t))}function Af(t,e,r){return r===void 0&&(r=!0),!!e&&e.selections&&e.selections.some(function(n){return If(t,n,r)})}function If(t,e,r){return r===void 0&&(r=!0),Mf(e)?e.directives?e.directives.some(La(t))||r&&Af(t,e.
42selectionSet,r):!1:!0}function Rf(t){return function(r){return t.some(function(n){return r.value&&r.value.kind===Cf.VARIABLE&&r.value.name&&(n.name===r.value.name.value||n.test&&n.test(r))})}}function Sy(t,e){var r=Rf(t);return Ai(Ia(e,{OperationDefinition:{enter:function(n){return Aa(Aa({},n),{variableDefinitions:n.variableDefinitions?n.variableDefinitions.filter(function(i){return!t.some(function(s){return s.name===i.variable.name.value})}):[]})}},Field:{enter:function(n){var i=t.some(function(a){return a.remove});if(i){var s=0;if(n.arguments&&n.arguments.forEach(function(a){r(a)&&(s+=1)}),s===1)return null}}},Argument:{enter:function(n){if(r(n))return null}}}))}function Ty(t,e){function r(n){if(t.some(function(i){return i.name===n.name.value}))return null}return Ai(Ia(e,{FragmentSpread:{enter:r},FragmentDefinition:{enter:r}}))}function kf(t){var e=Rr(t),r=e.operation;if(r==="query")return t;var n=lt(t,{OperationDefinition:{enter:function(i){return E(E({},i),{operation:"query"})}}});return n}function Fa(t){ar(t);var e=Ii([{test:function(r){return r.name.value==="client"},remove:!0}],t);return e}function Lf(t){return ar(t),lt(t,{FragmentSpread:function(e){var r;if(!(!((r=e.directives)===null||r===void 0)&&r.some(function(n){return n.name.value==="unmask"})))return E(E({},e),{directives:oe(oe([],e.directives||[],!0),[{kind:Me.DIRECTIVE,name:{kind:Me.NAME,value:"nonreactive"}}
42],!1)})}})}var za=Ye(function(){return fetch}),Nf=function(t){t===void 0&&(t={});var e=t.uri,r=e===void 0?"/graphql":e,n=t.fetch,i=t.print,s=i===void 0?Ma:i,a=t.includeExtensions,l=t.preserveHeaderCase,o=t.useGETForQueries,u=t.includeUnusedVariables,c=u===void 0?!1:u,f=j(t,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);globalThis.__DEV__!==!1&&of(n||za);var d={http:{includeExtensions:a,preserveHeaderCase:l},options:f.fetchOptions,credentials:f.credentials,headers:f.headers};return new zr(function(p){var b=Nc(p,r),m=p.getContext(),v={};if(m.clientAwareness){var h=m.clientAwareness,y=h.name,g=h.version;y&&(v["apollographql-client-name"]=y),g&&(v["apollographql-client-version"]=g)}var w=E(E({},v),m.headers),T={http:m.http,options:m.fetchOptions,credentials:m.credentials,headers:w};if(Bt(["client"],p.query)){globalThis.__DEV__!==!1&&globalThis.__DEV__!==!1&&se.warn(52);var x=Fa(p.query);if(!x)return Di(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));p.query=x}var P=Da(p,s,Sf,d,T),I=P.options,O=P.body;O.variables&&!c&&(O.variables=Of(O.variables,p.query));var H;!I.signal&&typeof AbortController!="undefined"&&(H=new AbortController,I.signal=H.signal);var R=function(F){return F.kind==="OperationDefinition"&&F.operation==="mutation"},D=function(F){return F.kind==="OperationDefinition"&&F.operation==="subscription"},M=D(Rr(p.query)),S=Bt(["defer"],p.query);if(o&&!p.query.definitions.some(R)&&(I.method="GET"),S||M){I.headers=I.headers||{};var A="multipart/mixed;";M&&S&&globalThis.__DEV__!==!1&&se.warn(53),M?A+="boundary=graphql;subscriptionSpec=1.0,application/json":S&&(A+="deferSpec=20220824,application/json"),I.headers.accept=A}if(I.method==="GET"){var X=xf(b,O),N=X.newURI,G=X.parseError;if(G)return Di(G);b=N}else try{I.body=xi(O,"Payload")}catch(F){return Di(F)}return new Ae(function(F){var fe=n||Ye(function(){return fetch})||za,xe=F.next.bind(F);return fe(b,I).then(function(Fe){var pe;p.setContext({response:Fe});var _e=(pe=Fe.headers)===null||pe===void 0?void 0:pe.get("content-type");return _e!==null&&/^multipart\/mixed/i.test(_e)?rf(Fe,xe):af(p)(Fe).then(xe)}).then(function(){H=void 0,F.complete()}).catch(function(Fe){H=void 0,sf(Fe,F)}),function(){H&&H.abort()}})})},Ff=function(t){_(e,t);function e(r){r===void 0&&(r={});var n=t.call(this,Nf(r).request)||this;return n.options=r,n}return e}(zr);const{toString:ja,hasOwnProperty:zf}=Object.prototype,Ba=Function.prototype.toString,ki=new Map;function Re(t,e){try{return Ni(t,e)}finally{ki.clear()}}const Li=Re;function Ni(t,e){if(t===e)return!0;const r=ja.call(t),n=ja.call(e);if(r!==n)return!1;switch(r){case"[object Array]":if(t.length!==e.length)return!1;case"[object Object]":{if($a(t,e))return!0;const i=Va(t),s=Va(e),a=i.length;if(a!==s.length)return!1;for(let l=0;l<a;++l)if(!zf.call(e,i[l]))return!1;for(let l=0;l<a;++l){const o=i[l];if(!Ni(t[o],e[o]))return!1}return!0}case"[object Error]":return t.name===e.name&&t.message===e.message;case"[object Number]":if(t!==t)return e!==e;case"[object Boolean]":case"[object Date]":return+t==+e;case"[object RegExp]":case"[object String]":return t==`${e}`;case"[object Map]":case"[object Set]":{if(t.size!==e.size)return!1;if($a(t,e))return!0;const i=t.entries(),s=r==="[object Map]";for(;;){const a=i.next();if(a.done)break;const[l,o]=a.value;if(!e.has(l)||s&&!Ni(o,e.get(l)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":t=new Uint8Array(t),e=new Uint8Array(e);case"[object DataView]":{let i=t.byteLength;if(i===e.byteLength)for(;i--&&t[i]===e[i];);return i===-1}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const i=Ba.call(t);return i!==Ba.call(e)?!1:!Vf(i,Bf)}}return!1}function Va(t){return Object.keys(t).filter(jf,t)}function jf(t){return this[t]!==void 0}const Bf="{ [native code] }";function Vf(t,e){const r=t.length-e.length;return r>=0&&t.indexOf(e,r)===r}function $a(t,e){let r=ki.get(t);if(r){if(r.has(e))return!0}else ki.set(t,r=new Set);return r.add(e),!1}function $f(t){return t}var Wa=function(){function t(e,r){r===void 0&&(r=Object.create(null)),this.resultCache=Oi?new WeakSet:new Set,this.transform=e,r.getCacheKey&&(this.getCacheKey=r.getCacheKey),this.cached=r.cache!==!1,this.resetCache()}return t.prototype.getCacheKey=function(e){return[e]},t.identity=function(){return new t($f,{cache:!1})},t.split=function(e,r,n){return n===void 0&&(n=t.identity()),Object.assign(new t(function(i){var s=e(i)?r:n;return s.transformDocument(i)},{cache:!1}),{left:r,right:n})},t.prototype.resetCache=function(){var e=this;if(this.cached){var r=new Et(Vt);this.performWork=Nr(t.prototype.performWork.bind(this),{makeCacheKey:function(n){var i=e.getCacheKey(n);if(i)return se(Array.isArray(i),104),r.lookupArray(i)},max:yt["documentTransform.cache"],cache:bn})}},t.prototype.performWork=function(e){return ar(e),this.transform(e)},t.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var r=this.performWork(e);return this.resultCache.add(r),r},t.prototype.concat=function(e){var r=this;return Object.assign(new t(function(n){return e.transformDocument(r.transformDocument(n))},{cache:!1}),{left:this,right:e})},t}();function Fi(t,e,r){return new Ae(function(n){var i={then:function(o){return new Promise(function(u){return u(o())})}};function s(o,u){return function(c){if(o){var f=function(){return n.closed?0:o(c)};i=i.then(f,f).then(function(d){return n.next(d)},function(d){return n.error(d)})}else n[u](c)}}var a={next:s(e,"next"),error:s(r,"error"),complete:function(){i.then(function(){return n.complete()})}},l=t.subscribe(a);return function(){return l.unsubscribe()}})}function Cn(t){var e=zi(t);return ht(e)}function zi(t){var e=ht(t.errors)?t.errors.slice(0):[];return cr(t)&&ht(t.incremental)&&t.incremental.forEach(function(r){r.errors&&e.push.apply(e,r.errors)}),e}function Vr(t,e,r){var n=[];t.forEach(function(i){return i[e]&&n.push(i)}
42),n.forEach(function(i){return i[e](r)})}function Ua(t){function e(r){Object.defineProperty(t,r,{value:Ae})}return Ci&&Symbol.species&&e(Symbol.species),e("@@species"),t}function qa(t){return t&&typeof t.then=="function"}var fr=function(t){_(e,t);function e(r){var n=t.call(this,function(i){return n.addObserver(i),function(){return n.removeObserver(i)}})||this;return n.observers=new Set,n.promise=new Promise(function(i,s){n.resolve=i,n.reject=s}),n.handlers={next:function(i){n.sub!==null&&(n.latest=["next",i],n.notify("next",i),Vr(n.observers,"next",i))},error:function(i){var s=n.sub;s!==null&&(s&&setTimeout(function(){return s.unsubscribe()}),n.sub=null,n.latest=["error",i],n.reject(i),n.notify("error",i),Vr(n.observers,"error",i))},complete:function(){var i=n,s=i.sub,a=i.sources,l=a===void 0?[]:a;if(s!==null){var o=l.shift();o?qa(o)?o.then(function(u){return n.sub=u.subscribe(n.handlers)},n.handlers.error):n.sub=o.subscribe(n.handlers):(s&&setTimeout(function(){return s.unsubscribe()}),n.sub=null,n.latest&&n.latest[0]==="next"?n.resolve(n.latest[1]):n.resolve(),n.notify("complete"),Vr(n.observers,"complete"))}}},n.nextResultListeners=new Set,n.cancel=function(i){n.reject(i),n.sources=[],n.handlers.error(i)},n.promise.catch(function(i){}),typeof r=="function"&&(r=[new Ae(r)]),qa(r)?r.then(function(i){return n.start(i)},n.handlers.error):n.start(r),n}return e.prototype.start=function(r){this.sub===void 0&&(this.sources=Array.from(r),this.handlers.complete())},e.prototype.deliverLastMessage=function(r){if(this.latest){var n=this.latest[0],i=r[n];i&&i.call(r,this.latest[1]),this.sub===null&&n==="next"&&r.complete&&r.complete()}},e.prototype.addObserver=function(r){this.observers.has(r)||(this.deliverLastMessage(r),this.observers.add(r))},e.prototype.removeObserver=function(r){this.observers.delete(r)&&this.observers.size<1&&this.handlers.complete()},e.prototype.notify=function(r,n){var i=this.nextResultListeners;i.size&&(this.nextResultListeners=new Set,i.forEach(function(s){return s(r,n)}))},e.prototype.beforeNext=function(r){var n=!1;this.nextResultListeners.add(function(i,s){n||(n=!0,r(i,s))})},e}(Ae);Ua(fr);var Ce;(function(t){t[t.loading=1]="loading",t[t.setVariables=2]="setVariables",t[t.fetchMore=3]="fetchMore",t[t.refetch=4]="refetch",t[t.poll=6]="poll",t[t.ready=7]="ready",t[t.error=8]="error"})(Ce||(Ce={}));function dr(t){return t?t<7:!1}function xy(t){return t===7||t===8}function pr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=Object.create(null);return t.forEach(function(n){n&&Object.keys(n).forEach(function(i){var s=n[i];s!==void 0&&(r[i]=s)})}),r}var Wf=Object.prototype.toString;function Ga(t){return ji(t)}function ji(t,e){switch(Wf.call(t)){case"[object Array]":{if(e=e||new Map,e.has(t))return e.get(t);var r=t.slice(0);return e.set(t,r),r.forEach(function(i,s){r[s]=ji(i,e)}),r}case"[object Object]":{if(e=e||new Map,e.has(t))return e.get(t);var n=Object.create(Object.getPrototypeOf(t));return e.set(t,n),Object.keys(t).forEach(function(i){n[i]=ji(t[i],e)}),n}default:return t}}function Uf(t){return t.catch(function(){}),t}function Ha(t,e,r,n){var i=e.data,s=j(e,["data"]),a=r.data,l=j(r,["data"]);return Li(s,l)&&Pn(Rr(t).selectionSet,i,a,{fragmentMap:rr(or(t)),variables:n})}function Pn(t,e,r,n){if(e===r)return!0;var i=new Set;return t.selections.every(function(s){if(i.has(s)||(i.add(s),!jr(s,n.variables))||Qa(s))return!0;if(Ct(s)){var a=bt(s),l=e&&e[a],o=r&&r[a],u=s.selectionSet;if(!u)return Li(l,o);var c=Array.isArray(l),f=Array.isArray(o);if(c!==f)return!1;if(c&&f){var d=l.length;if(o.length!==d)return!1;for(var p=0;p<d;++p)if(!Pn(u,l[p],o[p],n))return!1;return!0}return Pn(u,l,o,n)}else{var b=yn(s,n.fragmentMap);if(b)return Qa(b)?!0:Pn(b.selectionSet,e,r,n)}})}function Qa(t){return!!t.directives&&t.directives.some(qf)}function qf(t){return t.name.value==="nonreactive"}var Ya=Object.assign,Gf=Object.hasOwnProperty,Mn=function(t){_(e,t);function e(r){var n=r.queryManager,i=r.queryInfo,s=r.options,a=this,l=e.inactiveOnCreation.getValue();a=t.call(this,function(h){a._getOrCreateQuery();try{var y=h._subscription._observer;y&&!y.error&&(y.error=Hf)}catch(T){}var g=!a.observers.size;a.observers.add(h);var w=a.last;return w&&w.error?h.error&&h.error(w.error):w&&w.result&&h.next&&h.next(a.maskResult(w.result)),g&&a.reobserve().catch(function(){}),function(){a.observers.delete(h)&&!a.observers.size&&a.tearDownQuery()}})||this,a.observers=new Set,a.subscriptions=new Set,a.dirty=!1,a._getOrCreateQuery=function(){return l&&(n.queries.set(a.queryId,i),l=!1),a.queryManager.getOrCreateQuery(a.queryId)},a.queryInfo=i,a.queryManager=n,a.waitForOwnResult=Bi(s.fetchPolicy),a.isTornDown=!1,a.subscribeToMore=a.subscribeToMore.bind(a),a.maskResult=a.maskResult.bind(a);var o=n.defaultOptions.watchQuery,u=o===void 0?{}:o,c=u.fetchPolicy,f=c===void 0?"cache-first":c,d=s.fetchPolicy,p=d===void 0?f:d,b=s.initialFetchPolicy,m=b===void 0?p==="standby"?f:p:b;a.options=E(E({},s),{initialFetchPolicy:m,fetchPolicy:p}),a.queryId=i.queryId||n.generateQueryId();
42var v=zt(a.query);return a.queryName=v&&v.name&&v.name.value,a}return Object.defineProperty(e.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),e.prototype.result=function(){var r=this;return globalThis.__DEV__!==!1&&jt("observableQuery.result",function(){globalThis.__DEV__!==!1&&se.warn(23)}),new Promise(function(n,i){var s={next:function(l){n(l),r.observers.delete(s),r.observers.size||r.queryManager.removeQuery(r.queryId),setTimeout(function(){a.unsubscribe()},0)},error:i},a=r.subscribe(s)})},e.prototype.resetDiff=function(){this.queryInfo.resetDiff()},e.prototype.getCurrentFullResult=function(r){var n=this;r===void 0&&(r=!0);var i=Ge("getLastResult",function(){return n.getLastResult(!0)}),s=this.queryInfo.networkStatus||i&&i.networkStatus||Ce.ready,a=E(E({},i),{loading:dr(s),networkStatus:s}),l=this.options.fetchPolicy,o=l===void 0?"cache-first":l;if(!(Bi(o)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers))if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var u=this.queryInfo.getDiff();(u.complete||this.options.returnPartialData)&&(a.data=u.result),Re(a.data,{})&&(a.data=void 0),u.complete?(delete a.partial,u.complete&&a.networkStatus===Ce.loading&&(o==="cache-first"||o==="cache-only")&&(a.networkStatus=Ce.ready,a.loading=!1)):a.partial=!0,a.networkStatus===Ce.ready&&(a.error||a.errors)&&(a.networkStatus=Ce.error),globalThis.__DEV__!==!1&&!u.complete&&!this.options.partialRefetch&&!a.loading&&!a.data&&!a.error&&Xa(u.missing)}return r&&this.updateLastResult(a),a},e.prototype.getCurrentResult=function(r){return r===void 0&&(r=!0),this.maskResult(this.getCurrentFullResult(r))},e.prototype.isDifferentFromLastResult=function(r,n){if(!this.last)return!0;var i=this.queryManager.getDocumentInfo(this.query),s=this.queryManager.dataMasking,a=s?i.nonReactiveQuery:this.query,l=s||i.hasNonreactiveDirective?!Ha(a,this.last.result,r,this.variables):!Re(this.last.result,r);return l||n&&!Re(this.last.variables,n)},e.prototype.getLast=function(r,n){var i=this.last;if(i&&i[r]&&(!n||Re(i.variables,this.variables)))return i[r]},e.prototype.getLastResult=function(r){return globalThis.__DEV__!==!1&&jt("getLastResult",function(){globalThis.__DEV__!==!1&&se.warn(24)}),this.getLast("result",r)},e.prototype.getLastError=function(r){return globalThis.__DEV__!==!1&&jt("getLastError",function(){globalThis.__DEV__!==!1&&se.warn(25)}),this.getLast("error",r)},e.prototype.resetLastResults=function(){globalThis.__DEV__!==!1&&jt("resetLastResults",function(){globalThis.__DEV__!==!1&&se.warn(26)}),delete this.last,this.isTornDown=!1},e.prototype.resetQueryStoreErrors=function(){globalThis.__DEV__!==!1&&globalThis.__DEV__!==!1&&se.warn(27),this.queryManager.resetErrors(this.queryId)},e.prototype.refetch=function(r){var n,i={pollInterval:0},s=this.options.fetchPolicy;if(s==="no-cache"?i.fetchPolicy="no-cache":i.fetchPolicy="network-only",globalThis.__DEV__!==!1&&r&&Gf.call(r,"variables")){var a=Ks(this.query),l=a.variableDefinitions;(!l||!l.some(function(o){return o.variable.name.value==="variables"}))&&globalThis.__DEV__!==!1&&se.warn(28,r,((n=a.name)===null||n===void 0?void 0:n.value)||a)}return r&&!Re(this.options.variables,r)&&(i.variables=this.options.variables=E(E({},this.options.variables),r)),this.queryInfo.resetLastWrite(),this.reobserve(i,Ce.refetch)},e.prototype.fetchMore=function(r){var n=this,i=E(E({},r.query?r:E(E(E(E({},this.options),{query:this.options.query}),r),{variables:E(E({},this.options.variables),r.variables)})),{fetchPolicy:"no-cache"});i.query=this.transformDocument(i.query);var s=this.queryManager.generateQueryId();this.lastQuery=r.query?this.transformDocument(this.options.query):i.query;var a=this.queryInfo,l=a.networkStatus;a.networkStatus=Ce.fetchMore,i.notifyOnNetworkStatusChange&&this.observe();var o=new Set,u=r==null?void 0:r.updateQuery,c=this.options.fetchPolicy!=="no-cache";return c||se(u,29),this.queryManager.fetchQuery(s,i,Ce.fetchMore).then(function(f){if(n.queryManager.removeQuery(s),a.networkStatus===Ce.fetch
42More&&(a.networkStatus=l),c)n.queryManager.cache.batch({update:function(b){var m=r.updateQuery;m?b.updateQuery({query:n.query,variables:n.variables,returnPartialData:!0,optimistic:!1},function(v){return m(v,{fetchMoreResult:f.data,variables:i.variables})}):b.writeQuery({query:i.query,variables:i.variables,data:f.data})},onWatchUpdated:function(b){o.add(b.query)}});else{var d=n.getLast("result"),p=u(d.data,{fetchMoreResult:f.data,variables:i.variables});n.reportResult(E(E({},d),{networkStatus:l,loading:dr(l),data:p}),n.variables)}return n.maskResult(f)}).finally(function(){c&&!o.has(n.query)&&n.reobserveCacheFirst()})},e.prototype.subscribeToMore=function(r){var n=this,i=this.queryManager.startGraphQLSubscription({query:r.document,variables:r.variables,context:r.context}).subscribe({next:function(s){var a=r.updateQuery;a&&n.updateQuery(function(l,o){return a(l,E({subscriptionData:s},o))})},error:function(s){if(r.onError){r.onError(s);return}globalThis.__DEV__!==!1&&se.error(30,s)}});return this.subscriptions.add(i),function(){n.subscriptions.delete(i)&&i.unsubscribe()}},e.prototype.setOptions=function(r){return globalThis.__DEV__!==!1&&(Be(r,"canonizeResults","setOptions"),jt("setOptions",function(){globalThis.__DEV__!==!1&&se.warn(31)})),this.reobserve(r)},e.prototype.silentSetOptions=function(r){var n=pr(this.options,r||{});Ya(this.options,n)},e.prototype.setVariables=function(r){var n=this;return Re(this.variables,r)?this.observers.size?Ge("observableQuery.result",function(){return n.result()}):Promise.resolve():(this.options.variables=r,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:r},Ce.setVariables):Promise.resolve())},e.prototype.updateQuery=function(r){var n=this.queryManager,i=n.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),s=i.result,a=i.complete,l=r(s,{variables:this.variables,complete:!!a,previousData:s});l&&(n.cache.writeQuery({query:this.options.query,data:l,variables:this.variables}),n.broadcastQueries())},e.prototype.startPolling=function(r){this.options.pollInterval=r,this.updatePolling()},e.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},e.prototype.applyNextFetchPolicy=function(r,n){if(n.nextFetchPolicy){var i=n.fetchPolicy,s=i===void 0?"cache-first":i,a=n.initialFetchPolicy,l=a===void 0?s:a;s==="standby"||(typeof n.nextFetchPolicy=="function"?n.fetchPolicy=n.nextFetchPolicy(s,{reason:r,options:n,observable:this,initialFetchPolicy:l}):r==="variables-changed"?n.fetchPolicy=l:n.fetchPolicy=n.nextFetchPolicy)}return n.fetchPolicy},e.prototype.fetch=function(r,n,i){var s=this._getOrCreateQuery();return s.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(s,r,n,i)},e.prototype.updatePolling=function(){var r=this;if(!this.queryManager.ssrMode){var n=this,i=n.pollingInfo,s=n.options.pollInterval;if(!s||!this.hasObservers()){i&&(clearTimeout(i.timeout),delete this.pollingInfo);return}if(!(i&&i.interval===s)){se(s,32);var a=i||(this.pollingInfo={});a.interval=s;var l=function(){var u,c;r.pollingInfo&&(!dr(r.queryInfo.networkStatus)&&!(!((c=(u=r.options).skipPollAttempt)===null||c===void 0)&&c.call(u))?r.reobserve({fetchPolicy:r.options.initialFetchPolicy==="no-cache"?"no-cache":"network-only"},Ce.poll).then(o,o):o())},o=function(){var u=r.pollingInfo;u&&(clearTimeout(u.timeout),u.timeout=setTimeout(l,u.interval))};o()}}},e.prototype.updateLastResult=function(r,n){var i=this;n===void 0&&(n=this.variables);var s=Ge("getLastError",function(){return i.getLastError()});return s&&this.last&&!Re(n,this.last.variables)&&(s=void 0),this.last=E({result:this.queryManager.assumeImmutableResults?r:Ga(r),variables:n},s?{error:s}:null)},e.prototype.reobserveAsConcast=function(r,n){var i=this;this.isTornDown=!1;
42var s=n===Ce.refetch||n===Ce.fetchMore||n===Ce.poll,a=this.options.variables,l=this.options.fetchPolicy,o=pr(this.options,r||{}),u=s?o:Ya(this.options,o),c=this.transformDocument(u.query);this.lastQuery=c,s||(this.updatePolling(),r&&r.variables&&!Re(r.variables,a)&&u.fetchPolicy!=="standby"&&(u.fetchPolicy===l||typeof u.nextFetchPolicy=="function")&&(this.applyNextFetchPolicy("variables-changed",u),n===void 0&&(n=Ce.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=Bi(u.fetchPolicy));var f=function(){i.concast===b&&(i.waitForOwnResult=!1)},d=u.variables&&E({},u.variables),p=this.fetch(u,n,c),b=p.concast,m=p.fromLink,v={next:function(h){Re(i.variables,d)&&(f(),i.reportResult(h,d))},error:function(h){Re(i.variables,d)&&(_a(h)||(h=new $t({networkError:h})),f(),i.reportError(h,d))}};return!s&&(m||!this.concast)&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=b,this.observer=v),b.addObserver(v),b},e.prototype.reobserve=function(r,n){return Uf(this.reobserveAsConcast(r,n).promise.then(this.maskResult))},e.prototype.resubscribeAfterError=function(){for(var r=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var s=this.last;Ge("resetLastResults",function(){return r.resetLastResults()});var a=this.subscribe.apply(this,n);return this.last=s,a},e.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},e.prototype.reportResult=function(r,n){var i=this,s=Ge("getLastError",function(){return i.getLastError()}),a=this.isDifferentFromLastResult(r,n);(s||!r.partial||this.options.returnPartialData)&&this.updateLastResult(r,n),(s||a)&&Vr(this.observers,"next",this.maskResult(r))},e.prototype.reportError=function(r,n){var i=this,s=E(E({},Ge("getLastResult",function(){return i.getLastResult()})),{error:r,errors:r.graphQLErrors,networkStatus:Ce.error,loading:!1});this.updateLastResult(s,n),Vr(this.observers,"error",this.last.error=r)},e.prototype.hasObservers=function(){return this.observers.size>0},e.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(r){return r.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},e.prototype.transformDocument=function(r){return this.queryManager.transform(r)},e.prototype.maskResult=function(r){return r&&"data"in r?E(E({},r),{data:this.queryManager.maskOperation({document:this.query,data:r.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):r},e.prototype.resetNotifications=function(){this.cancelNotifyTimeout(),this.dirty=!1},e.prototype.cancelNotifyTimeout=function(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0)},e.prototype.scheduleNotify=function(){var r=this;this.dirty||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return r.notify()},0)))},e.prototype.notify=function(){if(this.cancelNotifyTimeout(),this.dirty&&(this.options.fetchPolicy=="cache-only"||this.options.fetchPolicy=="cache-and-network"||!dr(this.queryInfo.networkStatus))){var r=this.queryInfo.getDiff();r.fromOptimisticTransaction?this.observe():this.reobserveCacheFirst()}this.dirty=!1},e.prototype.reobserveCacheFirst=function(){var r=this.options,n=r.fetchPolicy,i=r.nextFetchPolicy;return n==="cache-and-network"||n==="network-only"?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(s,a){return this.nextFetchPolicy=i,typeof this.nextFetchPolicy=="function"?this.nextFetchPolicy(s,a):n}}):this.reobserve()},e.inactiveOnCreation=new lr,e}(Ae);Ua(Mn);function Hf(t){globalThis.__DEV__!==!1&&se.error(33,t.message,t.stack)}function Xa(t){globalThis.__DEV__!==!1&&t&&globalThis.__DEV__!==!1&&se.debug(34,t)}function Bi(t){return t==="network-only"||t==="no-cache"||t==="standby"}var hr=new(Vt?WeakMap:Map);function Vi(t,e){var r=t[e];typeof r=="function"&&(t[e]=function(){return hr.set(t,(hr.get(t)+1)%1e15),r.apply(this,arguments)})}var $i=function(){function t(e,r){r===void 0&&(r=e.generateQueryId()),this.queryId=r,this.document=null,this.lastRequestId=1,this.stopped=!1,this.observableQuery=null;var n=this.cache=e.cache;hr.has(n)||(hr.set(n,0),Vi(n,"evict"),Vi(n,"modify"),Vi(n,"reset"))}return t.prototype.init=function(e){var r=e.networkStatus||Ce.loading;return this.variables&&this.networkStatus!==Ce.loading&&!Re(this.variables,e.variables)&&(r=Ce.setVariables),Re(e.variables,this.variables)||(this.lastDiff=void 0,this.cancel()),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:r}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},t.prototype.resetDiff=function(){this.lastDiff=void 0},t.prototype.getDiff=function(){var e=this,r=this.getDiffOptions();if(this.lastDiff&&Re(r,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var n=this.observableQuery;if(n&&n.options.fetchPolicy==="no-cache")return{complete:!1};var i=Ge("canonizeResults",function(){return e.cache.diff(r)});return this.updateLastDiff(i,r),i},t.prototype.updateLastDiff=function(e,r){this.lastDiff=e?{diff:e,options:r||this.getDiffOptions()}:void 0},t.prototype.getDiffOptions=function(e){var r;return e===void 0&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:(r=this.observableQuery)===null||r===void 0?void 0:r.options.canonizeResults}},t.prototype.setDiff=function(e){var r=this,n,i=this.lastDiff&&this.lastDiff.diff;e&&!e.complete&&Ge("getLastError",function(){var s;return(s=r.observableQuery)===null||s===void 0?void 0:s.getLastError()})||(this.updateLastDiff(e),Re(i&&i.result,e&&e.result)||(n=this.observableQuery)===null||n===void 0||n.scheduleNotify())},t.prototype.setObservableQuery=function(e){e!==this.observableQuery&&(this.observableQuery=e,e&&(e.queryInfo=this))},t.prototype.stop=function(){var e;if(!this.stopped){this.stopped=!0,(e=this.observableQuery)===null||e===void 0||e.resetNotifications(),this.cancel();var r=this.observableQuery;r&&r.stopPolling()}},t.prototype.cancel=function(){var e;(e=this.cancelWatch)===null||e===void 0||e.call(this),this.cancelWatch=void 0},t.prototype.updateWatch=function(e){var r=this;e===void 0&&(e=this.variables);var n=this.observableQuery;if(!(n&&n.options.fetchPolicy==="no-cache")){var i=E(E({},this.getDiffOptions(e)),{watcher:this,callback:function(s){return r.setDiff(s)}});(!this.lastWatch||!Re(i,this.lastWatch))&&(this.cancel(),this.cancelWatch=this.cache.watch(this.lastWatch=i))}},t.prototype.resetLastWrite=function(){this.lastWrite=void 0},t.prototype.shouldWrite=function(e,r){var n=this.lastWrite;return!(n&&n.dmCount===hr.get(this.cache)&&Re(r,n.variables)&&Re(e.data,n.result.data))},t.prototype.markResult=function(e,r,n,i){var s=this,a,l=new Mt,o=ht(e.errors)?e.errors.slice(0):[];if((a=this.observableQuery)===null||a===void 0||a.resetNotifications(),"incremental"in e&&ht(e.incremental)){var u=Ta(this.getDiff().result,e);e.data=u}else if("hasNext"in e&&e.hasNext){var c=this.getDiff();e.data=l.merge(c.result,e.data)}this.graphQLErrors=o,n.fetchPolicy==="no-cache"?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(n.variables)):i!==0&&(Wi(e,n.errorPolicy)?this.cache.performTransaction(function(f){if(s.shouldWrite(e,n.variables))f.writeQuery({query:r,data:e.data,variables:n.variables,overwrite:i===1}),s.lastWrite={result:e,variables:n.variables,dmCount:hr.get(s.cache)};else if(s.lastDiff&&s.lastDiff.diff.complete){e.data=s.lastDiff.diff.result;return}var d=s.getDiffOptions(n.variables),p=Ge("canonizeResults",function(){return f.diff(d)});!s.stopped&&Re(s.variables,n.variables)&&s.updateWatch(n.variables),s.updateLastDiff(p,d),p.complete&&(e.data=p.result)}):this.lastWrite=void 0)},t.prototype.markReady=function(){return this.networkError=null,this.networkStatus=Ce.ready},t.prototype.markError=function(e){var r;return this.networkStatus=Ce.error,this.lastWrite=void 0,(r=this.observableQuery)===null||r===void 0||r.resetNotifications(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},t}();function Wi(t,e){e===void 0&&(e="none");var r=e==="ignore"||e==="all",n=!Cn(t);return!n&&r&&t.data&&(n=!0),n}function Qf(t){var e=new Set([t]);return e.forEach(function(r){Le(r)&&Yf(r)===r&&Object.getOwnPropertyNames(r).forEach(function(n){Le(r[n])&&e.add(r[n])})}),t}function Yf(t){if(globalThis.__DEV__!==!1&&!Object.isFrozen(t))try{Object.freeze(t)}catch(e){if(e instanceof TypeError)return null;throw e}return t}function Dn(t){return globalThis.__DEV__!==!1&&Qf(t),t}var Ka=Vt?WeakMap:Map,Ja=Oi?WeakSet:Set,Ui=new lr,Za=!1;function eo(){Za||(Za=!0,globalThis.__DEV__!==!1&&se.warn(64))}function to(t,e,r){return Ui.withValue(!0,function(){var n=$r(t,e,r,!1);return Object.isFrozen(t)&&Dn(n),n})}function Xf(t,e){if(e.has(t))return e.get(t);var r=Array.isArray(t)?[]:Object.create(null);return e.set(t,r),r}function $r(t,e,r,n,i){var s,a=r.knownChanged,l=Xf(t,r.mutableTargets);if(Array.isArray(t)){for(var o=0,u=Array.from(t.entries());o<u.length;o++){var c=u[o],f=c[0],d=c[1];if(d===null){l[f]=null;continue}var p=$r(d,e,r,n,globalThis.__DEV__!==!1?"".concat(i||"","[").concat(f,"]"):void 0);a.has(p)&&a.add(l),l[f]=p}return a.has(l)?l:t}for(var b=0,m=e.selections;b<m.length;b++){var v=m[b],h=void 0;if(n&&a.add(l),v.kind===Me.FIELD){var y=bt(v),g=v.selectionSet;if(h=l[y]||t[y],h===void 0)continue;if(g&&h!==null){var p=$r(t[y],g,r,n,globalThis.__DEV__!==!1?"".concat(i||"",".").concat(y):void 0);a.has(p)&&(h=p)}globalThis.__DEV__===!1&&(l[y]=h),globalThis.__DEV__!==!1&&(n&&y!=="__typename"&&!(!((s=Object.getOwnPropertyDescriptor(l,y))===null||s===void 0)&&s.value)?Object.defineProperty(l,y,Kf(y,h,i||"",r.operationName,r.operationType)):(delete l[y],l[y]=h))}if(v.kind===Me.INLINE_FRAGMENT&&(!v.typeCondition||r.cache.fragmentMatches(v,t.__typename))&&(h=$r(t,v.selectionSet,r,n,i)
42),v.kind===Me.FRAGMENT_SPREAD){var w=v.name.value,T=r.fragmentMap[w]||(r.fragmentMap[w]=r.cache.lookupFragment(w));se(T,59,w);var x=Lc(v);x!=="mask"&&(h=$r(t,T.selectionSet,r,x==="migrate",i))}a.has(h)&&a.add(l)}return"__typename"in t&&!("__typename"in l)&&(l.__typename=t.__typename),Object.keys(l).length!==Object.keys(t).length&&a.add(l),a.has(l)?l:t}function Kf(t,e,r,n,i){var s=function(){return Ui.getValue()||(globalThis.__DEV__!==!1&&se.warn(60,n?"".concat(i," '").concat(n,"'"):"anonymous ".concat(i),"".concat(r,".").concat(t).replace(/^\./,"")),s=function(){return e}),e};return{get:function(){return s()},set:function(a){s=function(){return a}},enumerable:!0,configurable:!0}}function Jf(t,e,r){var n;if(!r.fragmentMatches)return globalThis.__DEV__!==!1&&eo(),t;var i=zt(e);return se(i,63),t==null?t:to(t,i.selectionSet,{operationType:i.operation,operationName:(n=i.name)===null||n===void 0?void 0:n.value,fragmentMap:rr(or(e)),cache:r,mutableTargets:new Ka,knownChanged:new Ja})}function ro(t,e,r,n){if(!r.fragmentMatches)return globalThis.__DEV__!==!1&&eo(),t;var i=e.definitions.filter(function(a){return a.kind===Me.FRAGMENT_DEFINITION});typeof n=="undefined"&&(se(i.length===1,61,i.length),n=i[0].name.value);var s=i.find(function(a){return a.name.value===n});return se(!!s,62,n),t==null||Li(t,{})?t:to(t,s.selectionSet,{operationType:"fragment",operationName:s.name.value,fragmentMap:rr(or(e)),cache:r,mutableTargets:new Ka,knownChanged:new Ja})}var Zf=Object.prototype.hasOwnProperty,no=Object.create(null),ed=function(){function t(e){var r=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new qs(yt["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Et(!1),this.noCacheWarningsByQueryId=new Set;var n=new Wa(function(s){return r.cache.transformDocument(s)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking;var i=e.documentTransform;this.documentTransform=i?n.concat(i).concat(n):n,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return t.prototype.stop=function(){var e=this;this.queries.forEach(function(r,n){e.stopQueryNoBroadcast(n)}),this.cancelPendingFetches(De(35))},t.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(r){return r(e)}),this.fetchCancelFns.clear()},t.prototype.mutate=function(e){return J(this,arguments,void 0,function(r){var n,i,s,a,l,o,u,c=r.mutation,f=r.variables,d=r.optimisticResponse,p=r.updateQueries,b=r.refetchQueries,m=b===void 0?[]:b,v=r.awaitRefetchQueries,h=v===void 0?!1:v,y=r.update,g=r.onQueryUpdated,w=r.fetchPolicy,T=w===void 0?((o=this.defaultOptions.mutate)===null||o===void 0?void 0:o.fetchPolicy)||"network-only":w,x=r.errorPolicy,P=x===void 0?((u=this.defaultOptions.mutate)===null||u===void 0?void 0:u.errorPolicy)||"none":x,I=r.keepRootFields,O=r.context;return Q(this,function(H){switch(H.label){case 0:return se(c,36),se(T==="network-only"||T==="no-cache",37),n=this.generateMutationId(),c=this.cache.transformForLink(this.transform(c)),i=this.getDocumentInfo(c).hasClientExports,f=this.getVariables(c,f),i?[4,this.localState.addExportedVariables(c,f,O)]:[3,2];case 1:f=H.sent(),H.label=2;case 2:return s=this.mutationStore&&(this.mutationStore[n]={mutation:c,variables:f,loading:!0,error:null}),a=d&&this.markMutationOptimistic(d,{mutationId:n,document:c,variables:f,fetchPolicy:T,errorPolicy:P,context:O,updateQueries:p,update:y,keepRootFields:I}),this.broadcastQueries(),l=this,[2,new Promise(function(R,D){return Fi(l.getObservableFromLink(c,E(E({},O),{optimisticResponse:a?d:void 0}),f,{},!1),function(M){if(Cn(M)&&P==="none")throw new $t({graphQLErrors:zi(M)});s&&(s.loading=!1,s.error=null);var S=E({},M);return typeof m=="function"&&(m=m(S)),P==="ignore"&&Cn(S)&&delete S.errors,l.markMutationResult({mutationId:n,result:S,document:c,variables:f,fetchPolicy:T,errorPolicy:P,context:O,update:y,updateQueries:p,awaitRefetchQueries:h,refetchQueries:m,removeOptimistic:a?n:void 0,onQueryUpdated:g,keepRootFields:I})}).subscribe({next:function(M){l.broadcastQueries(),(!("hasNext"in M)||M.hasNext===!1)&&R(E(E({},M),{data:l.maskOperation({document:c,data:M.data,fetchPolicy:T,id:n})}))},error:function(M){s&&(s.loading=!1,s.error=M),a&&l.cache.removeOptimistic(n),l.broadcastQueries(),D(M instanceof $t?M:new $t({networkError:M}))}})})]}})})},t.prototype.markMutationResult=function(e,r){var n=this;r===void 0&&(r=this.cache);var i=e.result,s=[],a=e.fetchPolicy==="no-cache";if(!a&&Wi(i,e.errorPolicy)){if(cr(i)||s.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),cr(i)&&ht(i.incremental)){var l=r.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
42),o=void 0;l.result&&(o=Ta(l.result,i)),typeof o!="undefined"&&(i.data=o,s.push({result:o,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var u=e.updateQueries;u&&this.queries.forEach(function(f,d){var p=f.observableQuery,b=p&&p.queryName;if(!(!b||!Zf.call(u,b))){var m=u[b],v=n.queries.get(d),h=v.document,y=v.variables,g=r.diff({query:h,variables:y,returnPartialData:!0,optimistic:!1}),w=g.result,T=g.complete;if(T&&w){var x=m(w,{mutationResult:i,queryName:h&&Ir(h)||void 0,queryVariables:y});x&&s.push({result:x,dataId:"ROOT_QUERY",query:h,variables:y})}}})}if(s.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var c=[];if(this.refetchQueries({updateCache:function(f){a||s.forEach(function(m){return f.write(m)});var d=e.update,p=!ef(i)||cr(i)&&!i.hasNext;if(d){if(!a){var b=f.diff({id:"ROOT_MUTATION",query:n.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});b.complete&&(i=E(E({},i),{data:b.result}),"incremental"in i&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}p&&d(f,i,{context:e.context,variables:e.variables})}!a&&!e.keepRootFields&&p&&f.modify({id:"ROOT_MUTATION",fields:function(m,v){var h=v.fieldName,y=v.DELETE;return h==="__typename"?m:y}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(f){return c.push(f)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(c).then(function(){return i})}return Promise.resolve(i)},t.prototype.markMutationOptimistic=function(e,r){var n=this,i=typeof e=="function"?e(r.variables,{IGNORE:no}):e;return i===no?!1:(this.cache.recordOptimisticTransaction(function(s){try{n.markMutationResult(E(E({},r),{result:{data:i}}),s)}catch(a){globalThis.__DEV__!==!1&&se.error(a)}},r.mutationId),!0)},t.prototype.fetchQuery=function(e,r,n){return this.fetchConcastWithInfo(this.getOrCreateQuery(e),r,n).concast.promise},t.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(r,n){e[n]={variables:r.variables,networkStatus:r.networkStatus,networkError:r.networkError,graphQLErrors:r.graphQLErrors}}),e},t.prototype.resetErrors=function(e){var r=this.queries.get(e);r&&(r.networkError=void 0,r.graphQLErrors=[])},t.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},t.prototype.getDocumentInfo=function(e){var r=this.transformCache;if(!r.has(e)){var n={hasClientExports:Ic(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:Bt(["nonreactive"],e),nonReactiveQuery:Lf(e),clientQuery:this.localState.clientQuery(e),serverQuery:Ii([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:mi(zt(e)),asQuery:E(E({},e),{definitions:e.definitions.map(function(i){return i.kind==="OperationDefinition"&&i.operation!=="query"?E(E({},i),{operation:"query"}):i})})};r.set(e,n)}return r.get(e)},t.prototype.getVariables=function(e,r){return E(E({},this.getDocumentInfo(e).defaultVars),r)},t.prototype.watchQuery=function(e){var r=this.transform(e.query);e=E(E({},e),{variables:this.getVariables(r,e.variables)}),typeof e.notifyOnNetworkStatusChange=="undefined"&&(e.notifyOnNetworkStatusChange=!1);var n=new $i(this),i=new Mn({queryManager:this,queryInfo:n,options:e});return i.lastQuery=r,Mn.inactiveOnCreation.getValue()||this.queries.set(i.queryId,n),n.init({document:r,observableQuery:i,variables:i.variables}),i},t.prototype.query=function(e,r){var n=this;r===void 0&&(r=this.generateQueryId()),se(e.query,38),se(e.query.kind==="Document",39),se(!e.returnPartialData,40),se(!e.pollInterval,41);var i=this.transform(e.query);return this.fetchQuery(r,E(E({},e),{query:i})).then(function(s){return s&&E(E({},s),{data:n.maskOperation({document:i,data:s.data,fetchPolicy:e.fetchPolicy,id:r})})}).finally(function(){return n.stopQuery(r)})},t.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},t.prototype.generateRequestId=function(){return this.requestIdCounter++},t.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},t.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},t.prototype.stopQueryInStoreNoBroadcast=function(e){var r=this.queries.get(e);r&&r.stop()},t.prototype.clearStore=function(e){return e===void 0&&(e={discardWatches:!0}
42),this.cancelPendingFetches(De(42)),this.queries.forEach(function(r){r.observableQuery?r.networkStatus=Ce.loading:r.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},t.prototype.getObservableQueries=function(e){var r=this;e===void 0&&(e="active");var n=new Map,i=new Map,s=new Map,a=new Set;return Array.isArray(e)&&e.forEach(function(l){if(typeof l=="string")i.set(l,l),s.set(l,!1);else if(Ju(l)){var o=Wt(r.transform(l));i.set(o,Ir(l)),s.set(o,!1)}else Le(l)&&l.query&&a.add(l)}),this.queries.forEach(function(l,o){var u=l.observableQuery,c=l.document;if(u){if(e==="all"){n.set(o,u);return}var f=u.queryName,d=u.options.fetchPolicy;if(d==="standby"||e==="active"&&!u.hasObservers())return;(e==="active"||f&&s.has(f)||c&&s.has(Wt(c)))&&(n.set(o,u),f&&s.set(f,!0),c&&s.set(Wt(c),!0))}}),a.size&&a.forEach(function(l){var o=pt("legacyOneTimeQuery"),u=r.getOrCreateQuery(o).init({document:l.query,variables:l.variables}),c=new Mn({queryManager:r,queryInfo:u,options:E(E({},l),{fetchPolicy:"network-only"})});se(c.queryId===o),u.setObservableQuery(c),n.set(o,c)}),globalThis.__DEV__!==!1&&s.size&&s.forEach(function(l,o){if(!l){var u=i.get(o);u?globalThis.__DEV__!==!1&&se.warn(43,u):globalThis.__DEV__!==!1&&se.warn(44)}}),n},t.prototype.reFetchObservableQueries=function(e){var r=this;e===void 0&&(e=!1);var n=[];return this.getObservableQueries(e?"all":"active").forEach(function(i,s){var a=i.options.fetchPolicy;Ge("resetLastResults",function(){return i.resetLastResults()}),(e||a!=="standby"&&a!=="cache-only")&&n.push(i.refetch()),(r.queries.get(s)||i.queryInfo).setDiff(null)}),this.broadcastQueries(),Promise.all(n)},t.prototype.startGraphQLSubscription=function(e){var r=this,n=e.query,i=e.variables,s=e.fetchPolicy,a=e.errorPolicy,l=a===void 0?"none":a,o=e.context,u=o===void 0?{}:o,c=e.extensions,f=c===void 0?{}:c;n=this.transform(n),i=this.getVariables(n,i);var d=function(b){return r.getObservableFromLink(n,u,b,f).map(function(m){s!=="no-cache"&&(Wi(m,l)&&r.cache.write({query:n,result:m.data,dataId:"ROOT_SUBSCRIPTION",variables:b}),r.broadcastQueries());var v=Cn(m),h=Yc(m);if(v||h){var y={};if(v&&(y.graphQLErrors=m.errors),h&&(y.protocolErrors=m.extensions[Pi]),l==="none"||h)throw new $t(y)}return l==="ignore"&&delete m.errors,m})};if(this.getDocumentInfo(n).hasClientExports){var p=this.localState.addExportedVariables(n,i,u).then(d);return new Ae(function(b){var m=null;return p.then(function(v){return m=v.subscribe(b)},b.error),function(){return m&&m.unsubscribe()}})}return d(i)},t.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},t.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},t.prototype.removeQuery=function(e){var r;this.fetchCancelFns.delete(e),this.queries.has(e)&&((r=this.queries.get(e))===null||r===void 0||r.stop(),this.queries.delete(e))},t.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){var r;return(r=e.observableQuery)===null||r===void 0?void 0:r.notify()})},t.prototype.getLocalState=function(){return this.localState},t.prototype.getObservableFromLink=function(e,r,n,i,s){var a=this,l;s===void 0&&(s=(l=r==null?void 0:r.queryDeduplication)!==null&&l!==void 0?l:this.queryDeduplication);var o,u=this.getDocumentInfo(e),c=u.serverQuery,f=u.clientQuery;if(c){var d=this,p=d.inFlightLinkObservables,b=d.link,m={query:c,variables:n,operationName:Ir(c)||void 0,context:this.prepareContext(E(E({},r),{forceFetch:!s})),extensions:i};if(r=m.context,s){var v=Wt(c),h=Ot(n),y=p.lookup(v,h);if(o=y.observable,!o){var g=new fr([Ti(b,m)]);o=y.observable=g,g.beforeNext(function w(T,x){T==="next"&&"hasNext"in x&&x.hasNext?g.beforeNext(w):p.remove(v,h)})}}else o=new fr([Ti(b,m)])}else o=new fr([Ae.of({data:{}})]),r=this.prepareContext(r);return f&&(o=Fi(o,function(w){return a.localState.runResolvers({document:f,remoteResult:w,context:r,variables:n})})),o},t.prototype.getResultsFromLink=function(e,r,n){var i=e.lastRequestId=this.generateRequestId(),s=this.cache.transformForLink(n.query);return Fi(this.getObservableFromLink(s,n.context,n.variables),function(a){var l=zi(a),o=l.length>0,u=n.errorPolicy;if(i>
42=e.lastRequestId){if(o&&u==="none")throw e.markError(new $t({graphQLErrors:l}));e.markResult(a,s,n,r),e.markReady()}var c={data:a.data,loading:!1,networkStatus:Ce.ready};return o&&u==="none"&&(c.data=void 0),o&&u!=="ignore"&&(c.errors=l,c.networkStatus=Ce.error),c},function(a){var l=_a(a)?a:new $t({networkError:a});throw i>=e.lastRequestId&&e.markError(l),l})},t.prototype.fetchConcastWithInfo=function(e,r,n,i){var s=this;n===void 0&&(n=Ce.loading),i===void 0&&(i=r.query);var a=this.getVariables(i,r.variables),l=this.defaultOptions.watchQuery,o=r.fetchPolicy,u=o===void 0?l&&l.fetchPolicy||"cache-first":o,c=r.errorPolicy,f=c===void 0?l&&l.errorPolicy||"none":c,d=r.returnPartialData,p=d===void 0?!1:d,b=r.notifyOnNetworkStatusChange,m=b===void 0?!1:b,v=r.context,h=v===void 0?{}:v,y=Object.assign({},r,{query:i,variables:a,fetchPolicy:u,errorPolicy:f,returnPartialData:p,notifyOnNetworkStatusChange:m,context:h}),g=function(I){y.variables=I;var O=s.fetchQueryByPolicy(e,y,n);return y.fetchPolicy!=="standby"&&O.sources.length>0&&e.observableQuery&&e.observableQuery.applyNextFetchPolicy("after-fetch",r),O},w=function(){return s.fetchCancelFns.delete(e.queryId)};this.fetchCancelFns.set(e.queryId,function(I){w(),setTimeout(function(){return T.cancel(I)})});var T,x;if(this.getDocumentInfo(y.query).hasClientExports)T=new fr(this.localState.addExportedVariables(y.query,y.variables,y.context).then(g).then(function(I){return I.sources})),x=!0;else{var P=g(y.variables);x=P.fromLink,T=new fr(P.sources)}return T.promise.then(w,w),{concast:T,fromLink:x}},t.prototype.refetchQueries=function(e){var r=this,n=e.updateCache,i=e.include,s=e.optimistic,a=s===void 0?!1:s,l=e.removeOptimistic,o=l===void 0?a?pt("refetchQueries"):void 0:l,u=e.onQueryUpdated,c=new Map;i&&this.getObservableQueries(i).forEach(function(d,p){c.set(p,{oq:d,lastDiff:(r.queries.get(p)||d.queryInfo).getDiff()})});var f=new Map;return n&&this.cache.batch({update:n,optimistic:a&&o||!1,removeOptimistic:o,onWatchUpdated:function(d,p,b){var m=d.watcher instanceof $i&&d.watcher.observableQuery;if(m){if(u){c.delete(m.queryId);var v=u(m,p,b);return v===!0&&(v=m.refetch()),v!==!1&&f.set(m,v),v}u!==null&&c.set(m.queryId,{oq:m,lastDiff:b,diff:p})}}}),c.size&&c.forEach(function(d,p){var b=d.oq,m=d.lastDiff,v=d.diff,h;u&&(v||(v=Ge("canonizeResults",function(){return r.cache.diff(b.queryInfo.getDiffOptions())})),h=u(b,v,m)),(!u||h===!0)&&(h=b.refetch()),h!==!1&&f.set(b,h),p.indexOf("legacyOneTimeQuery")>=0&&r.stopQueryNoBroadcast(p)}),o&&this.cache.removeOptimistic(o),f},t.prototype.maskOperation=function(e){var r,n,i,s=e.document,a=e.data;if(globalThis.__DEV__!==!1){var l=e.fetchPolicy,o=e.id,u=(r=zt(s))===null||r===void 0?void 0:r.operation,c=((n=u==null?void 0:u[0])!==null&&n!==void 0?n:"o")+o;this.dataMasking&&l==="no-cache"&&!ku(s)&&!this.noCacheWarningsByQueryId.has(c)&&(this.noCacheWarningsByQueryId.add(c),globalThis.__DEV__!==!1&&se.warn(45,(i=Ir(s))!==null&&i!==void 0?i:"Unnamed ".concat(u!=null?u:"operation")))}return this.dataMasking?Jf(a,s,this.cache):a},t.prototype.maskFragment=function(e){var r=e.data,n=e.fragment,i=e.fragmentName;return this.dataMasking?ro(r,n,this.cache,i):r},t.prototype.fetchQueryByPolicy=function(e,r,n){var i=this,s=r.query,a=r.variables,l=r.fetchPolicy,o=r.refetchWritePolicy,u=r.errorPolicy,c=r.returnPartialData,f=r.context,d=r.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:s,variables:a,networkStatus:n});var b=function(){return e.getDiff()},m=function(w,T){T===void 0&&(T=e.networkStatus||Ce.loading);var x=w.result;globalThis.__DEV__!==!1&&!c&&!Re(x,{})&&Xa(w.missing);var P=function(I){return Ae.of(E({data:I,loading:dr(T),networkStatus:T},w.complete?null:{partial:!0}))};return x&&i.getDocumentInfo(s).hasForcedResolvers?i.localState.runResolvers({document:s,remoteResult:{data:x},context:f,variables:a,onlyRunForcedResolvers:!0}).then(function(I){return P(I.data||void 0)}):u==="none"&&T===Ce.refetch&&Array.isArray(w.missing)?P(void 0):P(x)},v=l==="no-cache"?0:n===Ce.refetch&&o!=="merge"?1:2,h=function(){return i.getResultsFromLink(e,v,{query:s,variables:a,context:f,fetchPolicy:l,errorPolicy:u})},y=d&&typeof p=="number"&&p!==n&&dr(n);switch(l){default:case"cache-first":{var g=b();return g.complete?{fromLink:!1,sources:[m(g,e.markReady())]}:c||y?{fromLink:!0,sources:[m(g),h()]}:{fromLink:!0,sources:[h()]}}case"cache-and-network":{var g=b();return g.complete||c||y?{fromLink:!0,sources:[m(g),h()]}:{fromLink:!0,sources:[h()]}}case"cache-only":return{fromLink:!1,sources:[m(b(),e.markReady())]};case"network-only":return y?{fromLink:!0,sources:[m(b()),h()]}:{fromLink:!0,sources:[h()]};case"no-cache":return y?{fromLink:!0,sources:[m(e.getDiff()),h()]}:{fromLink:!0,sources:[h()]};case"standby":return{fromLink:!1,sources:[]}}},t.prototype.getOrCreateQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new $i(this,e)),this.queries.get(e)},t.prototype.prepareContext=function(e){e===void 0&&(e={});var r=this.localState.prepareContext(e);return E(E(E({},this.defaultContext),r),{clientAwareness:this.clientAwareness})},t}(),we;function Oy(t){return td(t)||nd(t)||sd(t)}function td(t){return t.kind===we.OPERATION_DEFINITION||t.kind===we.FRAGMENT_DEFINITION}function io(t){return t.kind===Me.FIELD||t.kind===Me.FRAGMENT_SPREAD||t.kind===Me.INLINE_FRAGMENT}function rd(t){return t.kind===we.VARIABLE||t.kind===we.INT||t.kind===we.FLOAT||t.kind===we.STRING||t.kind===we.BOOLEAN||t.kind===we.NULL||t.kind===we.ENUM||t.kind===we.LIST||t.kind===we.OBJECT}function so(t){return rd(t)&&(t.kind===we.LIST?t.values.some(so):t.kind===we.OBJECT?t.fields.some(e=>so(e.value)):t.kind!==we.VARIABLE)}function Cy(t){return t.kind===we.NAMED_TYPE||t.kind===we.LIST_TYPE||t.kind===we.NON_NULL_TYPE}
42function nd(t){return t.kind===we.SCHEMA_DEFINITION||id(t)||t.kind===we.DIRECTIVE_DEFINITION}function id(t){return t.kind===we.SCALAR_TYPE_DEFINITION||t.kind===we.OBJECT_TYPE_DEFINITION||t.kind===we.INTERFACE_TYPE_DEFINITION||t.kind===we.UNION_TYPE_DEFINITION||t.kind===we.ENUM_TYPE_DEFINITION||t.kind===we.INPUT_OBJECT_TYPE_DEFINITION}function sd(t){return t.kind===we.SCHEMA_EXTENSION||t.kind===we.DIRECTIVE_EXTENSION||ad(t)}function ad(t){return t.kind===we.SCALAR_TYPE_EXTENSION||t.kind===we.OBJECT_TYPE_EXTENSION||t.kind===we.INTERFACE_TYPE_EXTENSION||t.kind===we.UNION_TYPE_EXTENSION||t.kind===we.ENUM_TYPE_EXTENSION||t.kind===we.INPUT_OBJECT_TYPE_EXTENSION}function Py(t){return t.kind===we.TYPE_COORDINATE||t.kind===we.MEMBER_COORDINATE||t.kind===we.ARGUMENT_COORDINATE||t.kind===we.DIRECTIVE_COORDINATE||t.kind===we.DIRECTIVE_ARGUMENT_COORDINATE}var qi=new lr,ao=new WeakMap;function Wr(t){var e=ao.get(t);return e||ao.set(t,e={vars:new Set,dep:ma()}),e}function oo(t){Wr(t).vars.forEach(function(e){return e.forgetCache(t)})}function od(t){Wr(t).vars.forEach(function(e){return e.attachCache(t)})}function ld(t){var e=new Set,r=new Set,n=function(s){if(arguments.length>0){if(t!==s){t=s,e.forEach(function(o){Wr(o).dep.dirty(n),ud(o)});var a=Array.from(r);r.clear(),a.forEach(function(o){return o(t)})}}else{var l=qi.getValue();l&&(i(l),Wr(l).dep(n))}return t};n.onNextChange=function(s){return r.add(s),function(){r.delete(s)}};var i=n.attachCache=function(s){return e.add(s),Wr(s).vars.add(n),n};return n.forgetCache=function(s){return e.delete(s)},n}function ud(t){t.broadcastWatches&&t.broadcastWatches()}var cd=function(){function t(e){var r=e.cache,n=e.client,i=e.resolvers,s=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=r,n&&(this.client=n),i&&this.addResolvers(i),s&&this.setFragmentMatcher(s)}return t.prototype.addResolvers=function(e){var r=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(n){r.resolvers=Sa(r.resolvers,n)}):this.resolvers=Sa(this.resolvers,e)},t.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},t.prototype.getResolvers=function(){return this.resolvers||{}},t.prototype.runResolvers=function(e){return J(this,arguments,void 0,function(r){var n=r.document,i=r.remoteResult,s=r.context,a=r.variables,l=r.onlyRunForcedResolvers,o=l===void 0?!1:l;return Q(this,function(u){return n?[2,this.resolveDocument(n,i.data,s,a,this.fragmentMatcher,o).then(function(c){return E(E({},i),{data:c.result})})]:[2,i]})})},t.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},t.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},t.prototype.clientQuery=function(e){return Bt(["client"],e)&&this.resolvers?e:null},t.prototype.serverQuery=function(e){return Fa(e)},t.prototype.prepareContext=function(e){var r=this.cache;return E(E({},e),{cache:r,getCacheKey:function(n){return r.identify(n)}})},t.prototype.addExportedVariables=function(e){return J(this,arguments,void 0,function(r,n,i){return n===void 0&&(n={}),i===void 0&&(i={}),Q(this,function(s){return r?[2,this.resolveDocument(r,this.buildRootValueFromCache(r,n)||{},this.prepareContext(i),n).then(function(a){return E(E({},n),a.exportedVariables)})]:[2,E({},n)]})})},t.prototype.shouldForceResolvers=function(e){var r=!1;return lt(e,{Directive:{enter:function(n){if(n.name.value==="client"&&n.arguments&&(r=n.arguments.some(function(i){return i.name.value==="always"&&i.value.kind==="BooleanValue"&&i.value.value===!0}),r))return Tt}}}),r},t.prototype.buildRootValueFromCache=function(e,r){return this.cache.diff({query:kf(e),variables:r,returnPartialData:!0,optimistic:!1}).result},t.prototype.resolveDocument=function(e,r){return J(this,arguments,void 0,function(n,i,s,a,l,o){var u,c,f,d,p,b,m,v,h,y,g;return s===void 0&&(s={}),a===void 0&&(a={}),l===void 0&&(l=function(){return!0}),o===void 0&&(o=!1),Q(this,function(w){return u=Rr(n),c=or(n),f=rr(c),d=this.collectSelectionsToResolve(u,f),p=u.operation,b=p?p.charAt(0).toUpperCase()+p.slice(1):"Query",m=this,v=m.cache,h=m.client,y={fragmentMap:f,context:E(E({}
42,s),{cache:v,client:h}),variables:a,fragmentMatcher:l,defaultOperationType:b,exportedVariables:{},selectionsToResolve:d,onlyRunForcedResolvers:o},g=!1,[2,this.resolveSelectionSet(u.selectionSet,g,i,y).then(function(T){return{result:T,exportedVariables:y.exportedVariables}})]})})},t.prototype.resolveSelectionSet=function(e,r,n,i){return J(this,void 0,void 0,function(){var s,a,l,o,u,c=this;return Q(this,function(f){return s=i.fragmentMap,a=i.context,l=i.variables,o=[n],u=function(d){return J(c,void 0,void 0,function(){var p,b;return Q(this,function(m){return!r&&!i.selectionsToResolve.has(d)?[2]:jr(d,l)?Ct(d)?[2,this.resolveField(d,r,n,i).then(function(v){var h;typeof v!="undefined"&&o.push((h={},h[bt(d)]=v,h))})]:(cc(d)?p=d:(p=s[d.name.value],se(p,21,d.name.value)),p&&p.typeCondition&&(b=p.typeCondition.name.value,i.fragmentMatcher(n,b,a))?[2,this.resolveSelectionSet(p.selectionSet,r,n,i).then(function(v){o.push(v)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(u)).then(function(){return xn(o)})]})})},t.prototype.resolveField=function(e,r,n,i){return J(this,void 0,void 0,function(){var s,a,l,o,u,c,f,d,p,b=this;return Q(this,function(m){return n?(s=i.variables,a=e.name.value,l=bt(e),o=a!==l,u=n[l]||n[a],c=Promise.resolve(u),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(f=n.__typename||i.defaultOperationType,d=this.resolvers&&this.resolvers[f],d&&(p=d[o?a:l],p&&(c=Promise.resolve(qi.withValue(this.cache,p,[n,En(e,s),i.context,{field:e,fragmentMap:i.fragmentMap}]))))),[2,c.then(function(v){var h,y;if(v===void 0&&(v=u),e.directives&&e.directives.forEach(function(w){w.name.value==="export"&&w.arguments&&w.arguments.forEach(function(T){T.name.value==="as"&&T.value.kind==="StringValue"&&(i.exportedVariables[T.value.value]=v)})}),!e.selectionSet||v==null)return v;var g=(y=(h=e.directives)===null||h===void 0?void 0:h.some(function(w){return w.name.value==="client"}))!==null&&y!==void 0?y:!1;if(Array.isArray(v))return b.resolveSubSelectedArray(e,r||g,v,i);if(e.selectionSet)return b.resolveSelectionSet(e.selectionSet,r||g,v,i)})]):[2,null]})})},t.prototype.resolveSubSelectedArray=function(e,r,n,i){var s=this;return Promise.all(n.map(function(a){if(a===null)return null;if(Array.isArray(a))return s.resolveSubSelectedArray(e,r,a,i);if(e.selectionSet)return s.resolveSelectionSet(e.selectionSet,r,a,i)}))},t.prototype.collectSelectionsToResolve=function(e,r){var n=function(a){return!Array.isArray(a)},i=this.selectionsToResolveCache;function s(a){if(!i.has(a)){var l=new Set;i.set(a,l),lt(a,{Directive:function(o,u,c,f,d){o.name.value==="client"&&d.forEach(function(p){n(p)&&io(p)&&l.add(p)})},FragmentSpread:function(o,u,c,f,d){var p=r[o.name.value];se(p,22,o.name.value);var b=s(p);b.size>0&&(d.forEach(function(m){n(m)&&io(m)&&l.add(m)}),l.add(o),b.forEach(function(m){l.add(m)}))}})}return i.get(a)}return s(e)},t}();function Gi(t,e){return pr(t,e,e.variables&&{variables:pr(E(E({},t&&t.variables),e.variables))})}var lo=!1,uo=function(){function t(e){var r=this,n,i,s;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw De(16);var a=e.uri,l=e.credentials,o=e.headers,u=e.cache,c=e.documentTransform,f=e.ssrMode,d=f===void 0?!1:f,p=e.ssrForceFetchDelay,b=p===void 0?0:p,m=e.connectToDevTools,v=e.queryDeduplication,h=v===void 0?!0:v,y=e.defaultOptions,g=e.defaultContext,w=e.assumeImmutableResults,T=w===void 0?u.assumeImmutableResults:w,x=e.resolvers,P=e.typeDefs,I=e.fragmentMatcher,O=e.clientAwareness,H=e.name,R=e.version,D=e.devtools,M=e.dataMasking;globalThis.__DEV__!==!1&&(Be(e,"connectToDevTools","ApolloClient","Please use `devtools.enabled` instead."),Be(e,"uri","ApolloClient","Please initialize an instance of `HttpLink` with `uri` instead."),Be(e,"credentials","ApolloClient","Please initialize an instance of `HttpLink` with `credentials` instead."),Be(e,"headers","ApolloClient","Please initialize an instance of `HttpLink` with `headers` instead."),Be(e,"name","ApolloClient","Please use the `clientAwareness.name` option instead."),Be(e,"version","ApolloClient","Please use the `clientAwareness.version` option instead."),Be(e,"typeDefs","ApolloClient"),e.link||globalThis.__DEV__!==!1&&se.warn(17));var S=e.link;S||(S=a?new Ff({uri:a,credentials:l,headers:o}):zr.empty()),this.link=S,this.cache=u,this.disableNetworkFetches=d||b>0,this.queryDeduplication=h,this.defaultOptions=y||Object.create(null),this.typeDefs=P,this.devtoolsConfig=E(E({},D),{enabled:(n=D==null?void 0:D.enabled)!==null&&n!==void 0?n:m}),this.devtoolsConfig.enabled===void 0&&(this.devtoolsConfig.enabled=globalThis.__DEV__!==!1),b&&setTimeout(function(){return r.disableNetworkFetches=!1},b),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=er,this.localState=new cd({cache:u,client:this,resolvers:x,fragmentMatcher:I}
42),this.queryManager=new ed({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:g,documentTransform:c,queryDeduplication:h,ssrMode:d,dataMasking:!!M,clientAwareness:{name:(i=O==null?void 0:O.name)!==null&&i!==void 0?i:H,version:(s=O==null?void 0:O.version)!==null&&s!==void 0?s:R},localState:this.localState,assumeImmutableResults:T,onBroadcast:this.devtoolsConfig.enabled?function(){r.devToolsHookCb&&r.devToolsHookCb({action:{},state:{queries:r.queryManager.getQueryStore(),mutations:r.queryManager.mutationStore||{}},dataWithOptimisticResults:r.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return Object.defineProperty(t.prototype,"prioritizeCacheValues",{get:function(){return this.disableNetworkFetches},set:function(e){this.disableNetworkFetches=e},enumerable:!1,configurable:!0}),t.prototype.connectToDevTools=function(){if(typeof window!="undefined"){var e=window,r=Symbol.for("apollo.devtools");(e[r]=e[r]||[]).push(this),e.__APOLLO_CLIENT__=this,!lo&&globalThis.__DEV__!==!1&&(lo=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var n=window.navigator,i=n&&n.userAgent,s=void 0;typeof i=="string"&&(i.indexOf("Chrome/")>-1?s="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":i.indexOf("Firefox/")>-1&&(s="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),s&&globalThis.__DEV__!==!1&&se.log("Download the Apollo DevTools for a better development experience: %s",s)}},1e4))}},Object.defineProperty(t.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),t.prototype.stop=function(){this.queryManager.stop()},t.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Gi(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&(e.fetchPolicy==="network-only"||e.fetchPolicy==="cache-and-network")&&(e=E(E({},e),{fetchPolicy:"cache-first"})),globalThis.__DEV__!==!1&&(Be(e,"canonizeResults","client.watchQuery"),Be(e,"partialRefetch","client.watchQuery")),this.queryManager.watchQuery(e)},t.prototype.query=function(e){return this.defaultOptions.query&&(e=Gi(this.defaultOptions.query,e)),se(e.fetchPolicy!=="cache-and-network",18),this.disableNetworkFetches&&e.fetchPolicy==="network-only"&&(e=E(E({},e),{fetchPolicy:"cache-first"})),globalThis.__DEV__!==!1&&(Be(e,"canonizeResults","client.query"),Be(e,"notifyOnNetworkStatusChange","client.query","This option does not affect `client.query` and can be safely removed."),e.fetchPolicy==="standby"&&globalThis.__DEV__!==!1&&se.warn(19)),this.queryManager.query(e)},t.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Gi(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},t.prototype.subscribe=function(e){var r=this,n=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map(function(i){return E(E({},i),{data:r.queryManager.maskOperation({document:e.query,data:i.data,fetchPolicy:e.fetchPolicy,id:n})})})},t.prototype.readQuery=function(e,r){return r===void 0&&(r=!1),this.cache.readQuery(e,r)},t.prototype.watchFragment=function(e){var r;return this.cache.watchFragment(E(E({},e),(r={},r[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,r)))},t.prototype.readFragment=function(e,r){return r===void 0&&(r=!1),this.cache.readFragment(e,r)},t.prototype.writeQuery=function(e){var r=this.cache.writeQuery(e);return e.broadcast!==!1&&this.queryManager.broadcastQueries(),r},t.prototype.writeFragment=function(e){var r=this.cache.writeFragment(e);return e.broadcast!==!1&&this.queryManager.broadcastQueries(),r},t.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},t.prototype.__requestRaw=function(e){return Ti(this.link,e)},t.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(r){return r()}))}).then(function(){return e.reFetchObservableQueries()})},t.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(r){return r()}))})},t.prototype.onResetStore=function(e){var r=this;return this.resetStoreCallbacks.push(e),function(){r.resetStoreCallbacks=r.resetStoreCallbacks.filter(function(n){return n!==e})}},t.prototype.onClearStore=function(e){var r=this;return this.clearStoreCallbacks.push(e),function(){r.clearStoreCallbacks=r.clearStoreCallbacks.filter(function(n){return n!==e})}},t.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},t.prototype.refetchQueries=function(e){var r=this.queryManager.refetchQueries(e),n=[],i=[];r.forEach(function(a,l){n.push(l),i.push(a)});var s=Promise.all(i);return s.queries=n,s.results=i,s.catch(function(a){globalThis.__DEV__!==!1&&se.debug(20,a)}),s},t.prototype.getObservableQueries=function(e){return e===void 0&&(e="active"),this.queryManager.getObservableQueries(e)},t.prototype.extract=function(e){return this.cache.extract(e)},t.prototype.restore=function(e){return this.cache.restore(e)},t.prototype.addResolvers=function(e){this.localState.addResolvers(e)},t.prototype.setResolvers=function(e){this.localState.setResolvers(e)},t.prototype.getResolvers=function(){return this.localState.getResolvers()},t.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},t.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(t.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext}
42,enumerable:!1,configurable:!0}),t}();globalThis.__DEV__!==!1&&(uo.prototype.getMemoryInternals=Wu);var co=function(){function t(){this.assumeImmutableResults=!1,this.getFragmentDoc=Nr(Ru,{max:yt["cache.fragmentQueryDocuments"]||1e3,cache:bn})}return t.prototype.lookupFragment=function(e){return null},t.prototype.batch=function(e){var r=this,n=typeof e.optimistic=="string"?e.optimistic:e.optimistic===!1?null:void 0,i;return this.performTransaction(function(){return i=e.update(r)},n),i},t.prototype.recordOptimisticTransaction=function(e,r){this.performTransaction(e,r)},t.prototype.transformDocument=function(e){return e},t.prototype.transformForLink=function(e){return e},t.prototype.identify=function(e){},t.prototype.gc=function(){return[]},t.prototype.modify=function(e){return!1},t.prototype.readQuery=function(e,r){var n=this;return r===void 0&&(r=!!e.optimistic),globalThis.__DEV__!==!1&&Be(e,"canonizeResults","cache.readQuery"),Ge("canonizeResults",function(){return n.read(E(E({},e),{rootId:e.id||"ROOT_QUERY",optimistic:r}))})},t.prototype.watchFragment=function(e){var r=this,n=e.fragment,i=e.fragmentName,s=e.from,a=e.optimistic,l=a===void 0?!0:a,o=j(e,["fragment","fragmentName","from","optimistic"]),u=this.getFragmentDoc(n,i),c=typeof s=="undefined"||typeof s=="string"?s:this.identify(s),f=!!e[Symbol.for("apollo.dataMasking")];if(globalThis.__DEV__!==!1){var d=i||Js(n).name.value;c||globalThis.__DEV__!==!1&&se.warn(1,d)}var p=E(E({},o),{returnPartialData:!0,id:c,query:u,optimistic:l}),b;return new Ae(function(m){return r.watch(E(E({},p),{immediate:!0,callback:function(v){var h=f?ro(v.result,n,r,i):v.result;if(!(b&&Ha(u,{data:b.result},{data:h},e.variables))){var y={data:h,complete:!!v.complete};v.missing&&(y.missing=xn(v.missing.map(function(g){return g.missing}))),b=E(E({},v),{result:h}),m.next(y)}}}))})},t.prototype.readFragment=function(e,r){var n=this;return r===void 0&&(r=!!e.optimistic),globalThis.__DEV__!==!1&&Be(e,"canonizeResults","cache.readFragment"),Ge("canonizeResults",function(){return n.read(E(E({},e),{query:n.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:r}))})},t.prototype.writeQuery=function(e){var r=e.id,n=e.data,i=j(e,["id","data"]);return this.write(Object.assign(i,{dataId:r||"ROOT_QUERY",result:n}))},t.prototype.writeFragment=function(e){var r=e.id,n=e.data,i=e.fragment,s=e.fragmentName,a=j(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,s),dataId:r,result:n}))},t.prototype.updateQuery=function(e,r){return globalThis.__DEV__!==!1&&Be(e,"canonizeResults","cache.updateQuery"),this.batch({update:function(n){var i=Ge("canonizeResults",function(){return n.readQuery(e)}),s=r(i);return s==null?i:(n.writeQuery(E(E({},e),{data:s})),s)}})},t.prototype.updateFragment=function(e,r){return globalThis.__DEV__!==!1&&Be(e,"canonizeResults","cache.updateFragment"),this.batch({update:function(n){var i=Ge("canonizeResults",function(){return n.readFragment(e)}),s=r(i);return s==null?i:(n.writeFragment(E(E({},e),{data:s})),s)}})},t}();globalThis.__DEV__!==!1&&(co.prototype.getMemoryInternals=qu);var fo=function(t){_(e,t);function e(r,n,i,s){var a,l=t.call(this,r)||this;if(l.message=r,l.path=n,l.query=i,l.variables=s,Array.isArray(l.path)){l.missing=l.message;for(var o=l.path.length-1;o>=0;--o)l.missing=(a={},a[l.path[o]]=l.missing,a)}else l.missing=l.path;return l.__proto__=e.prototype,l}return e}(Error),We=Object.prototype.hasOwnProperty;function Ur(t){return t==null}function po(t,e){var r=t.__typename,n=t.id,i=t._id;if(typeof r=="string"&&(e&&(e.keyObject=Ur(n)?Ur(i)?void 0:{_id:i}:{id:n}),Ur(n)&&!Ur(i)&&(n=i),!Ur(n)))return"".concat(r,":").concat(typeof n=="number"||typeof n=="string"?n:JSON.stringify(n))}var ho={dataIdFromObject:po,addTypename:!0,resultCaching:!0,canonizeResults:!1};function fd(t){return pr(ho,t)}function mo(t){var e=t.canonizeResults;return e===void 0?ho.canonizeResults:e}function dd(t,e){return Oe(e)?t.get(e.__ref,"__typename"):e&&e.__typename}var vo=/^[_a-z][_0-9a-z]*/i;function Dt(t){var e=t.match(vo);return e?e[0]:t}function Hi(t,e,r){return Le(e)?Ne(e)?e.every(function(n){return Hi(t,n,r)}):t.selections.every(function(n){if(Ct(n)&&jr(n,r)){var i=bt(n);return We.call(e,i)&&(!n.selectionSet||Hi(n.selectionSet,e[i],r))}return!0}):!1}function mr(t){return Le(t)&&!Oe(t)&&!Ne(t)}function pd(){return new Mt}function go(t,e){var r=rr(or(t));return{fragmentMap:r,lookupFragment:function(n){var i=r[n];return!i&&e&&(i=e.lookup(n)),i||null}}}var An=Object.create(null),Qi=function(){return An},yo=Object.create(null),qr=function(){function t(e,r){var n=this;this.policies=e,this.group=r,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(i,s){return Dn(Oe(i)?n.get(i.__ref,s):i&&i[s])},this.canRead=function(i){return Oe(i)?n.has(i.__ref):typeof i=="object"},this.toReference=function(i,s){if(typeof i=="string")return ir(i);if(Oe(i))return i;var a=n.policies.identify(i)[0];if(a){var l=ir(a);return s&&n.merge(a,i),l}}}return t.prototype.toObject=function(){return E({},this.data)},t.prototype.has=function(e){return this.lookup(e,!0)!==void 0},t.prototype.get=function(e,r){if(this.group.depend(e,r),We.call(this.data,e)){var n=this.data[e];if(n&&We.call(n,r))return n[r]}if(r==="__typename"&&We.call(this.policies.rootTypenamesById,e))return this.policies.rootTypenamesById[e];if(this instanceof At)return this.parent.get(e,r)},t.prototype.lookup=function(e,r){if(r&&this.group.depend(e,"__exists"),We.call(this.data,e))return this.data[e];if(this instanceof At)return this.parent.lookup(e,r);if(this.policies.rootTypenamesById[e])return Object.create(null)},t.prototype.merge=function(e,r){var n=this,i;Oe(e)&&(e=e.__ref),Oe(r)&&(r=r.__ref);var s=typeof e=="string"?this.lookup(i=e):e,a=typeof r=="string"?this.lookup(i=r):r;
42if(a){se(typeof i=="string",2);var l=new Mt(md).merge(s,a);if(this.data[i]=l,l!==s&&(delete this.refs[i],this.group.caching)){var o=Object.create(null);s||(o.__exists=1),Object.keys(a).forEach(function(u){if(!s||s[u]!==l[u]){o[u]=1;var c=Dt(u);c!==u&&!n.policies.hasKeyArgs(l.__typename,c)&&(o[c]=1),l[u]===void 0&&!(n instanceof At)&&delete l[u]}}),o.__typename&&!(s&&s.__typename)&&this.policies.rootTypenamesById[i]===l.__typename&&delete o.__typename,Object.keys(o).forEach(function(u){return n.group.dirty(i,u)})}}},t.prototype.modify=function(e,r){var n=this,i=this.lookup(e);if(i){var s=Object.create(null),a=!1,l=!0,o={DELETE:An,INVALIDATE:yo,isReference:Oe,toReference:this.toReference,canRead:this.canRead,readField:function(u,c){return n.policies.readField(typeof u=="string"?{fieldName:u,from:c||ir(e)}:u,{store:n})}};if(Object.keys(i).forEach(function(u){var c=Dt(u),f=i[u];if(f!==void 0){var d=typeof r=="function"?r:r[u]||r[c];if(d){var p=d===Qi?An:d(Dn(f),E(E({},o),{fieldName:c,storeFieldName:u,storage:n.getStorage(e,u)}));if(p===yo)n.group.dirty(e,u);else if(p===An&&(p=void 0),p!==f&&(s[u]=p,a=!0,f=p,globalThis.__DEV__!==!1)){var b=function(T){if(n.lookup(T.__ref)===void 0)return globalThis.__DEV__!==!1&&se.warn(3,T),!0};if(Oe(p))b(p);else if(Array.isArray(p))for(var m=!1,v=void 0,h=0,y=p;h<y.length;h++){var g=y[h];if(Oe(g)){if(m=!0,b(g))break}else if(typeof g=="object"&&g){var w=n.policies.identify(g)[0];w&&(v=g)}if(m&&v!==void 0){globalThis.__DEV__!==!1&&se.warn(4,v);break}}}}f!==void 0&&(l=!1)}}),a)return this.merge(e,s),l&&(this instanceof At?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},t.prototype.delete=function(e,r,n){var i,s=this.lookup(e);if(s){var a=this.getFieldValue(s,"__typename"),l=r&&n?this.policies.getStoreFieldName({typename:a,fieldName:r,args:n}):r;return this.modify(e,l?(i={},i[l]=Qi,i):Qi)}return!1},t.prototype.evict=function(e,r){var n=!1;return e.id&&(We.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof At&&this!==r&&(n=this.parent.evict(e,r)||n),(e.fieldName||n)&&this.group.dirty(e.id,e.fieldName||"__exists")),n},t.prototype.clear=function(){this.replace(null)},t.prototype.extract=function(){var e=this,r=this.toObject(),n=[];return this.getRootIdSet().forEach(function(i){We.call(e.policies.rootTypenamesById,i)||n.push(i)}),n.length&&(r.__META={extraRootIds:n.sort()}),r},t.prototype.replace=function(e){var r=this;if(Object.keys(this.data).forEach(function(s){e&&We.call(e,s)||r.delete(s)}),e){var n=e.__META,i=j(e,["__META"]);
42Object.keys(i).forEach(function(s){r.merge(s,i[s])}),n&&n.extraRootIds.forEach(this.retain,this)}},t.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},t.prototype.release=function(e){if(this.rootIds[e]>0){var r=--this.rootIds[e];return r||delete this.rootIds[e],r}return 0},t.prototype.getRootIdSet=function(e){return e===void 0&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof At?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},t.prototype.gc=function(){var e=this,r=this.getRootIdSet(),n=this.toObject();r.forEach(function(a){We.call(n,a)&&(Object.keys(e.findChildRefIds(a)).forEach(r.add,r),delete n[a])});var i=Object.keys(n);if(i.length){for(var s=this;s instanceof At;)s=s.parent;i.forEach(function(a){return s.delete(a)})}return i},t.prototype.findChildRefIds=function(e){if(!We.call(this.refs,e)){var r=this.refs[e]=Object.create(null),n=this.data[e];if(!n)return r;var i=new Set([n]);i.forEach(function(s){Oe(s)&&(r[s.__ref]=!0),Le(s)&&Object.keys(s).forEach(function(a){var l=s[a];Le(l)&&i.add(l)})})}return this.refs[e]},t.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},t}(),bo=function(){function t(e,r){r===void 0&&(r=null),this.caching=e,this.parent=r,this.d=null,this.resetCaching()}return t.prototype.resetCaching=function(){this.d=this.caching?ma():null,this.keyMaker=new Et(Vt)}
42,t.prototype.depend=function(e,r){if(this.d){this.d(Yi(e,r));var n=Dt(r);n!==r&&this.d(Yi(e,n)),this.parent&&this.parent.depend(e,r)}},t.prototype.dirty=function(e,r){this.d&&this.d.dirty(Yi(e,r),r==="__exists"?"forget":"setDirty")},t}();function Yi(t,e){return e+"#"+t}function Eo(t,e){Gr(t)&&t.group.depend(e,"__exists")}(function(t){var e=function(r){_(n,r);function n(i){var s=i.policies,a=i.resultCaching,l=a===void 0?!0:a,o=i.seed,u=r.call(this,s,new bo(l))||this;return u.stump=new hd(u),u.storageTrie=new Et(Vt),o&&u.replace(o),u}return n.prototype.addLayer=function(i,s){return this.stump.addLayer(i,s)},n.prototype.removeLayer=function(){return this},n.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},n}(t);t.Root=e})(qr||(qr={}));var At=function(t){_(e,t);function e(r,n,i,s){var a=t.call(this,n.policies,s)||this;return a.id=r,a.parent=n,a.replay=i,a.group=s,i(a),a}return e.prototype.addLayer=function(r,n){return new e(r,this,n,this.group)},e.prototype.removeLayer=function(r){var n=this,i=this.parent.removeLayer(r);return r===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(s){var a=n.data[s],l=i.lookup(s);l?a?a!==l&&Object.keys(a).forEach(function(o){Re(a[o],l[o])||n.group.dirty(s,o)}):(n.group.dirty(s,"__exists"),Object.keys(l).forEach(function(o){n.group.dirty(s,o)})):n.delete(s)}),i):i===this.parent?this:i.addLayer(this.id,this.replay)},e.prototype.toObject=function(){return E(E({},this.parent.toObject()),this.data)},e.prototype.findChildRefIds=function(r){var n=this.parent.findChildRefIds(r);return We.call(this.data,r)?E(E({},n),t.prototype.findChildRefIds.call(this,r)):n},e.prototype.getStorage=function(){for(var r=this.parent;r.parent;)r=r.parent;return r.getStorage.apply(r,arguments)},e}(qr),hd=function(t){_(e,t);function e(r){return t.call(this,"EntityStore.Stump",r,function(){},new bo(r.group.caching,r.group))||this}return e.prototype.removeLayer=function(){return this},e.prototype.merge=function(r,n){return this.parent.merge(r,n)},e}(At);function md(t,e,r){var n=t[r],i=e[r];return Re(n,i)?n:i}function Gr(t){return!!(t instanceof qr&&t.group.caching)}function vd(t){return Le(t)?Ne(t)?t.slice(0):E({__proto__:Object.getPrototypeOf(t)},t):t}var wo=function(){function t(){this.known=new(Oi?WeakSet:Set),this.pool=new Et(Vt),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return t.prototype.isKnown=function(e){return Le(e)&&this.known.has(e)},t.prototype.pass=function(e){if(Le(e)){var r=vd(e);return this.passes.set(r,e),r}return e},t.prototype.admit=function(e){var r=this;if(Le(e)){var n=this.passes.get(e);if(n)return n;var i=Object.getPrototypeOf(e);switch(i){case Array.prototype:{if(this.known.has(e))return e;var s=e.map(this.admit,this),a=this.pool.lookupArray(s);return a.array||(this.known.add(a.array=s),globalThis.__DEV__!==!1&&Object.freeze(s)),a.array}case null:case Object.prototype:{if(this.known.has(e))return e;var l=Object.getPrototypeOf(e),o=[l],u=this.sortedKeys(e);o.push(u.json);var c=o.length;u.sorted.forEach(function(p){o.push(r.admit(e[p]))});var a=this.pool.lookupArray(o);if(!a.object){var f=a.object=Object.create(l);this.known.add(f),u.sorted.forEach(function(p,b){f[p]=o[c+b]}),globalThis.__DEV__!==!1&&Object.freeze(f)}return a.object}}}return e},t.prototype.sortedKeys=function(e){var r=Object.keys(e),n=this.pool.lookupArray(r);if(!n.keys){r.sort();var i=JSON.stringify(r);(n.keys=this.keysByJSON.get(i))||this.keysByJSON.set(i,n.keys={sorted:r,json:i})}return n.keys},t}();function _o(t){return[t.selectionSet,t.objectOrReference,t.context,t.context.canonizeResults]}var gd=function(){function t(e){var r=this;this.knownResults=new(Vt?WeakMap:Map),this.config=pr(e,{addTypename:e.addTypename!==!1,canonizeResults:mo(e)}),this.canon=e.canon||new wo,this.executeSelectionSet=Nr(function(n){var i,s=n.context.canonizeResults,a=_o(n);a[3]=!s;var l=(i=r.executeSelectionSet).peek.apply(i,a);return l?s?E(E({},l),{result:r.canon.admit(l.result)}):l:(Eo(n.context.store,n.enclosingRef.__ref),r.execSelectionSetImpl(n))},{max:this.config.resultCacheMaxSize||yt["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:_o,makeCacheKey:function(n,i,s,a){if(Gr(s.store))return s.store.makeCacheKey(n,Oe(i)?i.__ref:i,s.varString,a)}}),this.executeSubSelectedArray=Nr(function(n){return Eo(n.context.store,n.enclosingRef.__ref),r.execSubSelectedArrayImpl(n)},{max:this.config.resultCacheMaxSize||yt["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(n){var i=n.field,s=n.array,a=n.context;if(Gr(a.store))return a.store.makeCacheKey(i,s,a.varString)}})}return t.prototype.resetCanon=function(){this.canon=new wo},t.prototype.diffQueryAgainstStore=function(e){var r=e.store,n=e.query,i=e.rootId,s=i===void 0?"ROOT_QUERY":i,a=e.variables,l=e.returnPartialData,o=l===void 0?!0:l,u=e.canonizeResults,c=u===void 0?this.config.canonizeResults:u,f=this.config.cache.policies;a=E(E({},mi(Ks(n))),a);
42var d=ir(s),p=this.executeSelectionSet({selectionSet:Rr(n).selectionSet,objectOrReference:d,enclosingRef:d,context:E({store:r,query:n,policies:f,variables:a,varString:Ot(a),canonizeResults:c},go(n,this.config.fragments))}),b;if(p.missing&&(b=[new fo(yd(p.missing),p.missing,n,a)],!o))throw b[0];return{result:p.result,complete:!b,missing:b}},t.prototype.isFresh=function(e,r,n,i){if(Gr(i.store)&&this.knownResults.get(e)===n){var s=this.executeSelectionSet.peek(n,r,i,this.canon.isKnown(e));if(s&&e===s.result)return!0}return!1},t.prototype.execSelectionSetImpl=function(e){var r=this,n=e.selectionSet,i=e.objectOrReference,s=e.enclosingRef,a=e.context;if(Oe(i)&&!a.policies.rootTypenamesById[i.__ref]&&!a.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var l=a.variables,o=a.policies,u=a.store,c=u.getFieldValue(i,"__typename"),f=[],d,p=new Mt;this.config.addTypename&&typeof c=="string"&&!o.rootIdsByTypename[c]&&f.push({__typename:c});function b(g,w){var T;return g.missing&&(d=p.merge(d,(T={},T[w]=g.missing,T))),g.result}var m=new Set(n.selections);m.forEach(function(g){var w,T;if(jr(g,l))if(Ct(g)){var x=o.readField({fieldName:g.name.value,field:g,variables:a.variables,from:i},a),P=bt(g);x===void 0?Ri.added(g)||(d=p.merge(d,(w={},w[P]="Can't find field '".concat(g.name.value,"' on ").concat(Oe(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),w))):Ne(x)?x.length>0&&(x=b(r.executeSubSelectedArray({field:g,array:x,enclosingRef:s,context:a}),P)):g.selectionSet?x!=null&&(x=b(r.executeSelectionSet({selectionSet:g.selectionSet,objectOrReference:x,enclosingRef:Oe(x)?x:s,context:a}),P)):a.canonizeResults&&(x=r.canon.pass(x)),x!==void 0&&f.push((T={},T[P]=x,T))}else{var I=yn(g,a.lookupFragment);if(!I&&g.kind===Me.FRAGMENT_SPREAD)throw De(10,g.name.value);I&&o.fragmentMatches(I,c)&&I.selectionSet.selections.forEach(m.add,m)}});var v=xn(f),h={result:v,missing:d},y=a.canonizeResults?this.canon.admit(h):Dn(h);return y.result&&this.knownResults.set(y.result,n),y},t.prototype.execSubSelectedArrayImpl=function(e){var r=this,n=e.field,i=e.array,s=e.enclosingRef,a=e.context,l,o=new Mt;function u(c,f){var d;return c.missing&&(l=o.merge(l,(d={},d[f]=c.missing,d))),c.result}return n.selectionSet&&(i=i.filter(a.store.canRead)),i=i.map(function(c,f){return c===null?null:Ne(c)?u(r.executeSubSelectedArray({field:n,array:c,enclosingRef:s,context:a}),f):n.selectionSet?u(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:c,enclosingRef:Oe(c)?c:s,context:a}),f):(globalThis.__DEV__!==!1&&bd(a.store,n,c),c)}),{result:a.canonizeResults?this.canon.admit(i):i,missing:l}},t}();function yd(t){try{JSON.stringify(t,function(e,r){if(typeof r=="string")throw r;return r})}catch(e){return e}}function bd(t,e,r){if(!e.selectionSet){var n=new Set([r]);n.forEach(function(i){Le(i)&&(se(!Oe(i),11,dd(t,i),e.name.value),Object.values(i).forEach(n.add,n))})}}var So=Object.create(null);function Xi(t){var e=JSON.stringify(t);return So[e]||(So[e]=Object.create(null))}function To(t){var e=Xi(t);return e.keyFieldsFn||(e.keyFieldsFn=function(r,n){var i=function(a,l){return n.readField(l,a)},s=n.keyObject=Ki(t,function(a){var l=vr(n.storeObject,a,i);return l===void 0&&r!==n.storeObject&&We.call(r,a[0])&&(l=vr(r,a,Co)),se(l!==void 0,5,a.join("."),r),l});return"".concat(n.typename,":").concat(JSON.stringify(s))})}function xo(t){var e=Xi(t);return e.keyArgsFn||(e.keyArgsFn=function(r,n){var i=n.field,s=n.variables,a=n.fieldName,l=Ki(t,function(u){var c=u[0],f=c.charAt(0);if(f==="@"){if(i&&ht(i.directives)){var d=c.slice(1),p=i.directives.find(function(h){return h.name.value===d}),b=p&&En(p,s);return b&&vr(b,u.slice(1))}return}if(f==="$"){var m=c.slice(1);if(s&&We.call(s,m)){var v=u.slice(0);return v[0]=m,vr(s,v)}return}if(r)return vr(r,u)}),o=JSON.stringify(l);return(r||o!=="{}")&&(a+=":"+o),a})}function Ki(t,e){var r=new Mt;return Oo(t).reduce(function(n,i){var s,a=e(i);if(a!==void 0){for(var l=i.length-1;l>=0;--l)a=(s={},s[i[l]]=a,s);n=r.merge(n,a)}return n},Object.create(null))}function Oo(t){var e=Xi(t);if(!e.paths){var r=e.paths=[],n=[];
42t.forEach(function(i,s){Ne(i)?(Oo(i).forEach(function(a){return r.push(n.concat(a))}),n.length=0):(n.push(i),Ne(t[s+1])||(r.push(n.slice(0)),n.length=0))})}return e.paths}function Co(t,e){return t[e]}function vr(t,e,r){return r=r||Co,Po(e.reduce(function n(i,s){return Ne(i)?i.map(function(a){return n(a,s)}):i&&r(i,s)},t))}function Po(t){return Le(t)?Ne(t)?t.map(Po):Ki(Object.keys(t).sort(),function(e){return vr(t,e)}):t}function Ji(t){return t.args!==void 0?t.args:t.field?En(t.field,t.variables):null}var Ed=function(){},Mo=function(t,e){return e.fieldName},Do=function(t,e,r){var n=r.mergeObjects;return n(t,e)},Ao=function(t,e){return e},wd=function(){function t(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=E({dataIdFromObject:po},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return t.prototype.identify=function(e,r){var n,i=this,s=r&&(r.typename||((n=r.storeObject)===null||n===void 0?void 0:n.__typename))||e.__typename;if(s===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var a=r&&r.storeObject||e,l=E(E({},r),{typename:s,storeObject:a,readField:r&&r.readField||function(){var f=Zi(arguments,a);return i.readField(f,{store:i.cache.data,variables:f.variables})}}),o,u=s&&this.getTypePolicy(s),c=u&&u.keyFn||this.config.dataIdFromObject;return Ui.withValue(!0,function(){for(;c;){var f=c(E(E({},e),a),l);if(Ne(f))c=To(f);else{o=f;break}}}),o=o?String(o):void 0,l.keyObject?[o,l.keyObject]:[o]},t.prototype.addTypePolicies=function(e){var r=this;Object.keys(e).forEach(function(n){var i=e[n],s=i.queryType,a=i.mutationType,l=i.subscriptionType,o=j(i,["queryType","mutationType","subscriptionType"]);s&&r.setRootTypename("Query",n),a&&r.setRootTypename("Mutation",n),l&&r.setRootTypename("Subscription",n),We.call(r.toBeAdded,n)?r.toBeAdded[n].push(o):r.toBeAdded[n]=[o]})},t.prototype.updateTypePolicy=function(e,r,n){var i=this.getTypePolicy(e),s=r.keyFields,a=r.fields;function l(o,u){o.merge=typeof u=="function"?u:u===!0?Do:u===!1?Ao:o.merge}l(i,r.merge),i.keyFn=s===!1?Ed:Ne(s)?To(s):typeof s=="function"?s:i.keyFn,a&&Object.keys(a).forEach(function(o){var u=n[o];(!u||(u==null?void 0:u.typename)!==e)&&(u=n[o]={typename:e});var c=a[o];if(typeof c=="function")u.read=c;else{var f=c.keyArgs,d=c.read,p=c.merge;u.keyFn=f===!1?Mo:Ne(f)?xo(f):typeof f=="function"?f:u.keyFn,typeof d=="function"&&(u.read=d),l(u,p)}u.read&&u.merge&&(u.keyFn=u.keyFn||Mo)})},t.prototype.setRootTypename=function(e,r){r===void 0&&(r=e);var n="ROOT_"+e.toUpperCase(),i=this.rootTypenamesById[n];r!==i&&(se(!i||i===e,6,e),i&&delete this.rootIdsByTypename[i],this.rootIdsByTypename[r]=n,this.rootTypenamesById[n]=r)},t.prototype.addPossibleTypes=function(e){var r=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(n){r.getSupertypeSet(n,!0),e[n].forEach(function(i){r.getSupertypeSet(i,!0).add(n);var s=i.match(vo);(!s||s[0]!==i)&&r.fuzzySubtypes.set(i,new RegExp(i))})})},t.prototype.getTypePolicy=function(e){var r=this;if(!We.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(a,l){if(a.test(e)){var o=r.supertypeMap.get(l);o&&o.forEach(function(u){return i.add(u)})}})),i&&i.size&&i.forEach(function(a){var l=r.getTypePolicy(a),o=l.fields,u=j(l,["fields"]);Object.assign(n,u),Object.assign(n.fields,o)})}var s=this.toBeAdded[e];return s&&s.length&&s.splice(0).forEach(function(a){r.updateTypePolicy(e,a,r.typePolicies[e].fields)}),this.typePolicies[e]},t.prototype.getFieldPolicy=function(e,r){if(e)return this.getTypePolicy(e).fields[r]},t.prototype.getSupertypeSet=function(e,r){var n=this.supertypeMap.get(e);return!n&&r&&this.supertypeMap.set(e,n=new Set),n},t.prototype.fragmentMatches=function(e,r,n,i){var s=this;if(!e.typeCondition)return!0;
42if(!r)return!1;var a=e.typeCondition.name.value;if(r===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var l=this.getSupertypeSet(r,!0),o=[l],u=function(b){var m=s.getSupertypeSet(b,!1);m&&m.size&&o.indexOf(m)<0&&o.push(m)},c=!!(n&&this.fuzzySubtypes.size),f=!1,d=0;d<o.length;++d){var p=o[d];if(p.has(a))return l.has(a)||(f&&globalThis.__DEV__!==!1&&se.warn(7,r,a),l.add(a)),!0;p.forEach(u),c&&d===o.length-1&&Hi(e.selectionSet,n,i)&&(c=!1,f=!0,this.fuzzySubtypes.forEach(function(b,m){var v=r.match(b);v&&v[0]===r&&u(m)}))}return!1},t.prototype.hasKeyArgs=function(e,r){var n=this.getFieldPolicy(e,r);return!!(n&&n.keyFn)},t.prototype.getStoreFieldName=function(e){var r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n),s,a=i&&i.keyFn;if(a&&r)for(var l={typename:r,fieldName:n,field:e.field||null,variables:e.variables},o=Ji(e);a;){var u=a(o,l);if(Ne(u))a=xo(u);else{s=u||n;break}}return s===void 0&&(s=e.field?lc(e.field,e.variables):Xs(n,Ji(e))),s===!1?n:n===Dt(s)?s:n+":"+s},t.prototype.readField=function(e,r){var n=e.from;if(n){var i=e.field||e.fieldName;if(i){if(e.typename===void 0){var s=r.store.getFieldValue(n,"__typename");s&&(e.typename=s)}var a=this.getStoreFieldName(e),l=Dt(a),o=r.store.getFieldValue(n,a),u=this.getFieldPolicy(e.typename,l),c=u&&u.read;if(c){var f=Io(this,n,e,r,r.store.getStorage(Oe(n)?n.__ref:n,a));return qi.withValue(this.cache,c,[o,f])}return o}}},t.prototype.getReadFunction=function(e,r){var n=this.getFieldPolicy(e,r);return n&&n.read},t.prototype.getMergeFunction=function(e,r,n){var i=this.getFieldPolicy(e,r),s=i&&i.merge;return!s&&n&&(i=this.getTypePolicy(n),s=i&&i.merge),s},t.prototype.runMergeFunction=function(e,r,n,i,s){var a=n.field,l=n.typename,o=n.merge;return o===Do?Ro(i.store)(e,r):o===Ao?r:(i.overwrite&&(e=void 0),o(e,r,Io(this,void 0,{typename:l,fieldName:a.name.value,field:a,variables:i.variables},i,s||Object.create(null))))},t}();function Io(t,e,r,n,i){var s=t.getStoreFieldName(r),a=Dt(s),l=r.variables||n.variables,o=n.store,u=o.toReference,c=o.canRead;return{args:Ji(r),field:r.field||null,fieldName:a,storeFieldName:s,variables:l,isReference:Oe,toReference:u,storage:i,cache:t.cache,canRead:c,readField:function(){return t.readField(Zi(arguments,e,l),n)},mergeObjects:Ro(n.store)}}function Zi(t,e,r){var n=t[0],i=t[1],s=t.length,a;return typeof n=="string"?a={fieldName:n,from:s>1?i:e}:(a=E({},n),We.call(a,"from")||(a.from=e)),globalThis.__DEV__!==!1&&a.from===void 0&&globalThis.__DEV__!==!1&&se.warn(8,_t(Array.from(t))),a.variables===void 0&&(a.variables=r),a}function Ro(t){return function(r,n){if(Ne(r)||Ne(n))throw De(9);if(Le(r)&&Le(n)){var i=t.getFieldValue(r,"__typename"),s=t.getFieldValue(n,"__typename"),a=i&&s&&i!==s;if(a)return n;if(Oe(r)&&mr(n))return t.merge(r.__ref,n),r;if(mr(r)&&Oe(n))return t.merge(r,n.__ref),n;if(mr(r)&&mr(n))return E(E({},r),n)}return n}}function es(t,e,r){var n="".concat(e).concat(r),i=t.flavors.get(n);return i||t.flavors.set(n,i=t.clientOnly===e&&t.deferred===r?t:E(E({},t),{clientOnly:e,deferred:r})),i}var _d=function(){function t(e,r,n){this.cache=e,this.reader=r,this.fragments=n}return t.prototype.writeToStore=function(e,r){var n=this,i=r.query,s=r.result,a=r.dataId,l=r.variables,o=r.overwrite,u=zt(i),c=pd();l=E(E({},mi(u)),l);var f=E(E({store:e,written:Object.create(null),merge:function(p,b){return c.merge(p,b)},variables:l,varString:Ot(l)},go(i,this.fragments)),{overwrite:!!o,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),d=this.processSelectionSet({result:s||Object.create(null),dataId:a,selectionSet:u.selectionSet,mergeTree:{map:new Map},context:f});if(!Oe(d))throw De(12,s);return f.incomingById.forEach(function(p,b){var m=p.storeObject,v=p.mergeTree,h=p.fieldNodeSet,y=ir(b);if(v&&v.map.size){var g=n.applyMerges(v,y,m,f);if(Oe(g))return;m=g}if(globalThis.__DEV__!==!1&&!f.overwrite){var w=Object.create(null);h.forEach(function(P){P.selectionSet&&(w[P.name.value]=!0)});var T=function(P){return w[Dt(P)]===!0},x=function(P){var I=v&&v.map.get(P);return Boolean(I&&I.info&&I.info.merge)};Object.keys(m).forEach(function(P){T(P)&&!x(P)&&Sd(y,m,P,f.store)})}e.merge(b,m)}),e.retain(d.__ref),d},t.prototype.processSelectionSet=function(e){var r=this,n=e.dataId,i=e.result,s=e.selectionSet,a=e.context,l=e.mergeTree,o=this.cache.policies,u=Object.create(null),c=n&&o.rootTypenamesById[n]||hi(i,s,a.fragmentMap)||n&&a.store.get(n,"__typename");typeof c=="string"&&(u.__typename=c);var f=function(){var g=Zi(arguments,u,a.variables);if(Oe(g.from)){var w=a.incomingById.get(g.from.__ref);
42if(w){var T=o.readField(E(E({},g),{from:w.storeObject}),a);if(T!==void 0)return T}}return o.readField(g,a)},d=new Set;this.flattenFields(s,i,a,c).forEach(function(g,w){var T,x=bt(w),P=i[x];if(d.add(w),P!==void 0){var I=o.getStoreFieldName({typename:c,fieldName:w.name.value,field:w,variables:g.variables}),O=Lo(l,I),H=r.processFieldValue(P,w,w.selectionSet?es(g,!1,!1):g,O),R=void 0;w.selectionSet&&(Oe(H)||mr(H))&&(R=f("__typename",H));var D=o.getMergeFunction(c,w.name.value,R);D?O.info={field:w,typename:c,merge:D}:No(l,I),u=g.merge(u,(T={},T[I]=H,T))}else globalThis.__DEV__!==!1&&!g.clientOnly&&!g.deferred&&!Ri.added(w)&&!o.getReadFunction(c,w.name.value)&&globalThis.__DEV__!==!1&&se.error(13,bt(w),i)});try{var p=o.identify(i,{typename:c,selectionSet:s,fragmentMap:a.fragmentMap,storeObject:u,readField:f}),b=p[0],m=p[1];n=n||b,m&&(u=a.merge(u,m))}catch(g){if(!n)throw g}if(typeof n=="string"){var v=ir(n),h=a.written[n]||(a.written[n]=[]);if(h.indexOf(s)>=0||(h.push(s),this.reader&&this.reader.isFresh(i,v,s,a)))return v;var y=a.incomingById.get(n);return y?(y.storeObject=a.merge(y.storeObject,u),y.mergeTree=ts(y.mergeTree,l),d.forEach(function(g){return y.fieldNodeSet.add(g)})):a.incomingById.set(n,{storeObject:u,mergeTree:In(l)?void 0:l,fieldNodeSet:d}),v}return u},t.prototype.processFieldValue=function(e,r,n,i){var s=this;return!r.selectionSet||e===null?globalThis.__DEV__!==!1?Ga(e):e:Ne(e)?e.map(function(a,l){var o=s.processFieldValue(a,r,n,Lo(i,l));return No(i,l),o}):this.processSelectionSet({result:e,selectionSet:r.selectionSet,context:n,mergeTree:i})},t.prototype.flattenFields=function(e,r,n,i){i===void 0&&(i=hi(r,e,n.fragmentMap));var s=new Map,a=this.cache.policies,l=new Et(!1);return function o(u,c){var f=l.lookup(u,c.clientOnly,c.deferred);f.visited||(f.visited=!0,u.selections.forEach(function(d){if(jr(d,n.variables)){var p=c.clientOnly,b=c.deferred;if(!(p&&b)&&ht(d.directives)&&d.directives.forEach(function(h){var y=h.name.value;if(y==="client"&&(p=!0),y==="defer"){var g=En(h,n.variables);(!g||g.if!==!1)&&(b=!0)}}),Ct(d)){var m=s.get(d);m&&(p=p&&m.clientOnly,b=b&&m.deferred),s.set(d,es(n,p,b))}else{var v=yn(d,n.lookupFragment);if(!v&&d.kind===Me.FRAGMENT_SPREAD)throw De(14,d.name.value);v&&a.fragmentMatches(v,i,r,n.variables)&&o(v.selectionSet,es(n,p,b))}}}))}(e,n),s},t.prototype.applyMerges=function(e,r,n,i,s){var a,l=this;if(e.map.size&&!Oe(n)){var o=!Ne(n)&&(Oe(r)||mr(r))?r:void 0,u=n;o&&!s&&(s=[Oe(o)?o.__ref:o]);var c,f=function(d,p){return Ne(d)?typeof p=="number"?d[p]:void 0:i.store.getFieldValue(d,String(p))};e.map.forEach(function(d,p){var b=f(o,p),m=f(u,p);if(m!==void 0){s&&s.push(p);var v=l.applyMerges(d,b,m,i,s);v!==m&&(c=c||new Map,c.set(p,v)),s&&se(s.pop()===p)}}),c&&(n=Ne(u)?u.slice(0):E({},u),c.forEach(function(d,p){n[p]=d}))}return e.info?this.cache.policies.runMergeFunction(r,n,e.info,i,s&&(a=i.store).getStorage.apply(a,s)):n},t}(),ko=[];function Lo(t,e){var r=t.map;return r.has(e)||r.set(e,ko.pop()||{map:new Map}),r.get(e)}function ts(t,e){if(t===e||!e||In(e))return t;if(!t||In(t))return e;var r=t.info&&e.info?E(E({},t.info),e.info):t.info||e.info,n=t.map.size&&e.map.size,i=n?new Map:t.map.size?t.map:e.map,s={info:r,map:i};if(n){var a=new Set(e.map.keys());t.map.forEach(function(l,o){s.map.set(o,ts(l,e.map.get(o))),a.delete(o)}),a.forEach(function(l){s.map.set(l,ts(e.map.get(l),t.map.get(l)))})}return s}function In(t){return!t||!(t.info||t.map.size)}function No(t,e){var r=t.map,n=r.get(e);n&&In(n)&&(ko.push(n),r.delete(e))}var Fo=new Set;function Sd(t,e,r,n){var i=function(f){var d=n.getFieldValue(f,r);return typeof d=="object"&&d},s=i(t);if(s){var a=i(e);if(a&&!Oe(s)&&!Re(s,a)&&!Object.keys(s).every(function(f){return n.getFieldValue(a,f)!==void 0})){var l=n.getFieldValue(t,"__typename")||n.getFieldValue(e,"__typename"),o=Dt(r),u="".concat(l,".").concat(o);if(!Fo.has(u)){Fo.add(u);var c=[];!Ne(s)&&!Ne(a)&&[s,a].forEach(function(f){var d=n.getFieldValue(f,"__typename");typeof d=="string"&&!c.includes(d)&&c.push(d)}),globalThis.__DEV__!==!1&&se.warn(15,o,l,c.length?"either ensure all objects of type "+c.join(" and ")+" have an ID or a custom merge function, or ":"",u,E({},s),E({},a))}}}}var zo=function(t){_(e,t);function e(r){r===void 0&&(r={});var n=t.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new Wa(Ri),n.assumeImmutableResults=!0,n.makeVar=ld,n.txCount=0,globalThis.__DEV__!==!1&&(Be(r,"addTypename","InMemoryCache","Please remove the `addTypename` option when initializing `InMemoryCache`."),Be(r,"canonizeResults","InMemoryCache","Please remove the `canonizeResults` option when initializing `InMemoryCache`.")),n.config=fd(r),n.addTypename=!!n.config.addTypename,n.policies=new wd({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return e.prototype.init=function(){var r=this.data=new qr.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=r.stump,this.resetResultCache()},e.prototype.resetResultCache=function(r){var n=this,i=this.storeReader,s=this.config.fragments;this.addTypenameTransform.resetCache(),s==null||s.resetCaches(),this.storeWriter=new _d(this,this.storeReader=new gd({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:mo(this.config),canon:r?void 0:i&&i.canon,fragments:s}),s),this.maybeBroadcastWatch=Nr(function(a,l){return n.broadcastWatch(a,l)},{max:this.config.resultCacheMaxSize||yt["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(a){var l=a.optimistic?n.optimisticData:n.data;if(Gr(l)){var o=a.optimistic,u=a.id,c=a.variables;return l.makeCacheKey(a.query,a.callback,Ot({optimistic:o,id:u,variables:c}))}}}
42),new Set([this.data.group,this.optimisticData.group]).forEach(function(a){return a.resetCaching()})},e.prototype.restore=function(r){return this.init(),r&&this.data.replace(r),this},e.prototype.extract=function(r){return r===void 0&&(r=!1),(r?this.optimisticData:this.data).extract()},e.prototype.read=function(r){globalThis.__DEV__!==!1&&Be(r,"canonizeResults","cache.read");var n=r.returnPartialData,i=n===void 0?!1:n;try{return this.storeReader.diffQueryAgainstStore(E(E({},r),{store:r.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:i})).result||null}catch(s){if(s instanceof fo)return null;throw s}},e.prototype.write=function(r){try{return++this.txCount,this.storeWriter.writeToStore(this.data,r)}finally{!--this.txCount&&r.broadcast!==!1&&this.broadcastWatches()}},e.prototype.modify=function(r){if(We.call(r,"id")&&!r.id)return!1;var n=r.optimistic?this.optimisticData:this.data;try{return++this.txCount,n.modify(r.id||"ROOT_QUERY",r.fields)}finally{!--this.txCount&&r.broadcast!==!1&&this.broadcastWatches()}},e.prototype.diff=function(r){return globalThis.__DEV__!==!1&&Be(r,"canonizeResults","cache.diff"),this.storeReader.diffQueryAgainstStore(E(E({},r),{store:r.optimistic?this.optimisticData:this.data,rootId:r.id||"ROOT_QUERY",config:this.config}))},e.prototype.watch=function(r){var n=this;return this.watches.size||od(this),this.watches.add(r),r.immediate&&this.maybeBroadcastWatch(r),function(){n.watches.delete(r)&&!n.watches.size&&oo(n),n.maybeBroadcastWatch.forget(r)}},e.prototype.gc=function(r){globalThis.__DEV__!==!1&&Be(r||{},"resetResultIdentities","cache.gc","First ensure all usages of `canonizeResults` are removed, then remove this option."),Ot.reset(),Wt.reset();var n=this.optimisticData.gc();return r&&!this.txCount&&(r.resetResultCache?this.resetResultCache(r.resetResultIdentities):r.resetResultIdentities&&this.storeReader.resetCanon()),n},e.prototype.retain=function(r,n){return(n?this.optimisticData:this.data).retain(r)},e.prototype.release=function(r,n){return(n?this.optimisticData:this.data).release(r)},e.prototype.identify=function(r){if(Oe(r))return r.__ref;try{return this.policies.identify(r)[0]}catch(n){globalThis.__DEV__!==!1&&se.warn(n)}},e.prototype.evict=function(r){if(!r.id){if(We.call(r,"id"))return!1;r=E(E({},r),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(r,this.data)}finally{!--this.txCount&&r.broadcast!==!1&&this.broadcastWatches()}},e.prototype.reset=function(r){var n=this;return this.init(),Ot.reset(),r&&r.discardWatches?(this.watches.forEach(function(i){return n.maybeBroadcastWatch.forget(i)}),this.watches.clear(),oo(this)):this.broadcastWatches(),Promise.resolve()},e.prototype.removeOptimistic=function(r){var n=this.optimisticData.removeLayer(r);n!==this.optimisticData&&(this.optimisticData=n,this.broadcastWatches())},e.prototype.batch=function(r){var n=this,i=r.update,s=r.optimistic,a=s===void 0?!0:s,l=r.removeOptimistic,o=r.onWatchUpdated,u,c=function(d){var p=n,b=p.data,m=p.optimisticData;++n.txCount,d&&(n.data=n.optimisticData=d);try{return u=i(n)}finally{--n.txCount,n.data=b,n.optimisticData=m}},f=new Set;return o&&!this.txCount&&this.broadcastWatches(E(E({},r),{onWatchUpdated:function(d){return f.add(d),!1}})),typeof a=="string"?this.optimisticData=this.optimisticData.addLayer(a,c):a===!1?c(this.data):c(),typeof l=="string"&&(this.optimisticData=this.optimisticData.removeLayer(l)),o&&f.size?(this.broadcastWatches(E(E({},r),{onWatchUpdated:function(d,p){var b=o.call(this,d,p);return b!==!1&&f.delete(d),b}})),f.size&&f.forEach(function(d){return n.maybeBroadcastWatch.dirty(d)})):this.broadcastWatches(r),u},e.prototype.performTransaction=function(r,n){return this.batch({update:r,optimistic:n||n!==null})},e.prototype.transformDocument=function(r){return this.addTypenameToDocument(this.addFragmentsToDocument(r))},e.prototype.fragmentMatches=function(r,n){return this.policies.fragmentMatches(r,n)},e.prototype.lookupFragment=function(r){var n;return((n=this.config.fragments)===null||n===void 0?void 0:n.lookup(r))||null},e.prototype.broadcastWatches=function(r){var n=this;
42this.txCount||this.watches.forEach(function(i){return n.maybeBroadcastWatch(i,r)})},e.prototype.addFragmentsToDocument=function(r){var n=this.config.fragments;return n?n.transform(r):r},e.prototype.addTypenameToDocument=function(r){return this.addTypename?this.addTypenameTransform.transformDocument(r):r},e.prototype.broadcastWatch=function(r,n){var i=this,s=r.lastDiff,a=Ge("canonizeResults",function(){return i.diff(r)});n&&(r.optimistic&&typeof n.optimistic=="string"&&(a.fromOptimisticTransaction=!0),n.onWatchUpdated&&n.onWatchUpdated.call(this,r,a,s)===!1)||(!s||!Re(s.result,a.result))&&r.callback(r.lastDiff=a,s)},e}(co);globalThis.__DEV__!==!1&&(zo.prototype.getMemoryInternals=Uu);var Ut=Se(1983),Td=Se.t(Ut,2),xd,jo=Ci?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function Bo(){se("createContext"in Td,69);var t=Ut.createContext[jo];return t||(Object.defineProperty(Ut.createContext,jo,{value:t=Ut.createContext({}),enumerable:!1,writable:!1,configurable:!0}),t.displayName="ApolloContext"),t}var My=function(){return globalThis.__DEV__!==!1&&globalThis.__DEV__!==!1&&xd.warn(70),Bo()},Od=function(t){var e=t.client,r=t.children,n=Bo(),i=Ut.useContext(n),s=Ut.useMemo(function(){return E(E({},i),{client:e||i.client})},[i,e]);return se(s.client,71),Ut.createElement(n.Provider,{value:s},r)},Ke=Se(1368),Vo=Se.n(Ke),me=Se(8621),He=Se(9244),Hr=Se(8789),Qr=Se(8989),Cd=Se(1324),$o=Se(5338),Wo=Se(5238);function Pd(t,e){return(0,me.A)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},e)}var qt=Se(3892);const Yr={black:"#000",white:"#fff"},Md={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},gr={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},yr={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Xr={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},br={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Er={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},wr={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Dd=["mode","contrastThreshold","tonalOffset"],Uo={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Yr.white,default:Yr.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},rs={text:{primary:Yr.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Yr.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function qo(t,e,r,n){const i=n.light||n,s=n.dark||n*1.5;t[e]||(t.hasOwnProperty(r)?t[e]=t[r]:e==="light"?t.light=(0,qt.a)(t.main,i):e==="dark"&&(t.dark=(0,qt.e$)(t.main,s)))}function Ad(t="light"){return t==="dark"?{main:br[200],light:br[50],dark:br[400]}:{main:br[700],light:br[400],dark:br[800]}}function Id(t="light"){return t==="dark"?{main:gr[200],light:gr[50],dark:gr[400]}:{main:gr[500],light:gr[300],dark:gr[700]}}function Rd(t="light"){return t==="dark"?{main:yr[500],light:yr[3
4200],dark:yr[700]}:{main:yr[700],light:yr[400],dark:yr[800]}}function kd(t="light"){return t==="dark"?{main:Er[400],light:Er[300],dark:Er[700]}:{main:Er[700],light:Er[500],dark:Er[900]}}function Ld(t="light"){return t==="dark"?{main:wr[400],light:wr[300],dark:wr[700]}:{main:wr[800],light:wr[500],dark:wr[900]}}function Nd(t="light"){return t==="dark"?{main:Xr[400],light:Xr[300],dark:Xr[700]}:{main:"#ed6c02",light:Xr[500],dark:Xr[900]}}function Fd(t){const{mode:e="light",contrastThreshold:r=3,tonalOffset:n=.2}=t,i=(0,He.A)(t,Dd),s=t.primary||Ad(e),a=t.secondary||Id(e),l=t.error||Rd(e),o=t.info||kd(e),u=t.success||Ld(e),c=t.warning||Nd(e);function f(m){return(0,qt.eM)(m,rs.text.primary)>=r?rs.text.primary:Uo.text.primary}const d=({color:m,name:v,mainShade:h=500,lightShade:y=300,darkShade:g=700})=>{if(m=(0,me.A)({},m),!m.main&&m[h]&&(m.main=m[h]),!m.hasOwnProperty("main"))throw new Error((0,Hr.A)(11,v?` (${v})`:"",h));if(typeof m.main!="string")throw new Error((0,Hr.A)(12,v?` (${v})`:"",JSON.stringify(m.main)));return qo(m,"light",y,n),qo(m,"dark",g,n),m.contrastText||(m.contrastText=f(m.main)),m},p={dark:rs,light:Uo};return(0,Qr.A)((0,me.A)({common:(0,me.A)({},Yr),mode:e,primary:d({color:s,name:"primary"}),secondary:d({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:l,name:"error"}),warning:d({color:c,name:"warning"}),info:d({color:o,name:"info"}),success:d({color:u,name:"success"}),grey:Md,contrastThreshold:r,getContrastText:f,augmentColor:d,tonalOffset:n},p[e]),i)}const zd=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function jd(t){return Math.round(t*1e5)/1e5}const Go={textTransform:"uppercase"},Ho='"Roboto", "Helvetica", "Arial", sans-serif';function Bd(t,e){const r=typeof e=="function"?e(t):e,{fontFamily:n=Ho,fontSize:i=14,fontWeightLight:s=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:o=700,htmlFontSize:u=16,allVariants:c,pxToRem:f}=r,d=(0,He.A)(r,zd),p=i/14,b=f||(h=>`${h/u*p}rem`),m=(h,y,g,w,T)=>(0,me.A)({fontFamily:n,fontWeight:h,fontSize:b(y),lineHeight:g},n===Ho?{letterSpacing:`${jd(w/y)}em`}:{},T,c),v={h1:m(s,96,1.167,-1.5),h2:m(s,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(l,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(l,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(l,14,1.75,.4,Go),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,Go),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,Qr.A)((0,me.A)({htmlFontSize:u,pxToRem:b,fontFamily:n,fontSize:i,fontWeightLight:s,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:o},v),d,{clone:!1})}const Vd=.2,$d=.14,Wd=.12;function ke(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${Vd})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${$d})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${Wd})`].join(",")}const Ud=["none",ke(0,2,1,-1,0,1,1,0,0,1,3,0),ke(0,3,1,-2,0,2,2,0,0,1,5,0),ke(0,3,3,-2,0,3,4,0,0,1,8,0),ke(0,2,4,-1,0,4,5,0,0,1,10,0),ke(0,3,5,-1,0,5,8,0,0,1,14,0),ke(0,3,5,-1,0,6,10,0,0,1,18,0),ke(0,4,5,-2,0,7,10,1,0,2,16,1),ke(0,5,5,-3,0,8,10,1,0,3,14,2),ke(0,5,6,-3,0,9,12,1,0,3,16,2),ke(0,6,6,-3,0,10,14,1,0,4,18,3),ke(0,6,7,-4,0,11,15,1,0,4,20,3),ke(0,7,8,-4,0,12,17,2,0,5,22,4),ke(0,7,8,-4,0,13,19,2,0,5,24,4),ke(0,7,9,-4,0,14,21,2,0,5,26,4),ke(0,8,9,-5,0,15,22,2,0,6,28,5),ke(0,8,10,-5,0,16,24,2,0,6,30,5),ke(0,8,11,-5,0,17,26,2,0,6,32,5),ke(0,9,11,-5,0,18,28,2,0,7,34,6),ke(0,9,12,-6,0,19,29,2,0,7,36,6),ke(0,10,13,-6,0,20,31,3,0,8,38,7),ke(0,10,13,-6,0,21,33,3,0,8,40,7),ke(0,10,14,-6,0,22,35,3,0,8,42,7),ke(0,11,14,-7,0,23,36,3,0,9,44,8),ke(0,11,15,-7,0,24,38,3,0,9,46,8)],qd=["duration","easing","delay"],Gd={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Hd={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Qo(t){return`${Math.round(t)}ms`}function Qd(t){if(!t)return 0;const e=t/36;return Math.round((4+15*e**.25+e/5)*10)}function Yd(t){const e=(0,me.A)({},Gd,t.easing),r=(0,me.A)({},Hd,t.duration),n=(i=["all"],s={})=>{const{duration:a=r.standard,easing:l=e.easeInOut,delay:o=0}=s,u=(0,He.A)(s,qd);return(Array.isArray(i)?i:[i]).map(c=>`${c}
42 ${typeof a=="string"?a:Qo(a)} ${l} ${typeof o=="string"?o:Qo(o)}`).join(",")};return(0,me.A)({getAutoHeightDuration:Qd,create:n},t,{easing:e,duration:r})}const Xd={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Kd=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Yo(t={},...e){const{mixins:r={},palette:n={},transitions:i={},typography:s={}}=t,a=(0,He.A)(t,Kd);if(t.vars&&t.generateCssVars===void 0)throw new Error((0,Hr.A)(18));const l=Fd(n),o=(0,Wo.A)(t);let u=(0,Qr.A)(o,{mixins:Pd(o.breakpoints,r),palette:l,shadows:Ud.slice(),typography:Bd(l,s),transitions:Yd(i),zIndex:(0,me.A)({},Xd)});return u=(0,Qr.A)(u,a),u=e.reduce((c,f)=>(0,Qr.A)(c,f),u),u.unstable_sxConfig=(0,me.A)({},Cd.A,a==null?void 0:a.unstable_sxConfig),u.unstable_sx=function(f){return(0,$o.A)({sx:f,theme:this})},u}let By=!1;function Vy(...t){return Yo(...t)}const ns=Yo;var q=Se(1594),Kr=Se.n(q);function Xo(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(r=Xo(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function Jd(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=Xo(t))&&(n&&(n+=" "),n+=e);return n}const Qe=Jd;function Jr(t,e){const r=(0,me.A)({},e);return Object.keys(t).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=(0,me.A)({},t[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const i=t[n]||{},s=e[n];r[n]={},!s||!Object.keys(s)?r[n]=i:!i||!Object.keys(i)?r[n]=s:(r[n]=(0,me.A)({}
42,s),Object.keys(i).forEach(a=>{r[n][a]=Jr(i[a],s[a])}))}else r[n]===void 0&&(r[n]=t[n])}),r}function Rn(t,e,r=void 0){const n={};return Object.keys(t).forEach(i=>{n[i]=t[i].reduce((s,a)=>{if(a){const l=e(a);l!==""&&s.push(l),r&&r[a]&&s.push(r[a])}return s},[]).join(" ")}),n}var Zd=Se(4174);const Ko=ns(),Zr="$$material";function ep(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const tp=ep,Jo=t=>tp(t)&&t!=="classes",It=(0,Zd.Ay)({themeId:Zr,defaultTheme:Ko,rootShouldForwardProp:Jo}),Zo=q.createContext(void 0);function rp({value:t,children:e}){return(0,C.jsx)(Zo.Provider,{value:t,children:e})}function np(t){const{theme:e,name:r,props:n}=t;if(!e||!e.components||!e.components[r])return n;const i=e.components[r];return i.defaultProps?Jr(i.defaultProps,n):!i.styleOverrides&&!i.variants?Jr(i,n):n}function ip({props:t,name:e}){const r=q.useContext(Zo);return np({props:t,name:e,theme:{components:r}})}const sp=rp;var ap,op,lp;function qy(t){return lp(op,ap({},t))}const Gy=null;function kn(t){return ip(t)}function up(t,e){typeof t=="function"?t(e):t&&(t.current=e)}function cp(...t){return q.useMemo(()=>t.every(e=>e==null)?null:e=>{t.forEach(r=>{up(r,e)})},t)}const el=cp,Ln=typeof window!="undefined"?q.useLayoutEffect:q.useEffect;function fp(t){const e=q.useRef(t);return Ln(()=>{e.current=t}),q.useRef((...r)=>(0,e.current)(...r)).current}const Nn=fp,tl={};function dp(t,e){const r=q.useRef(tl);return r.current===tl&&(r.current=t(e)),r}const pp=[];function hp(t){q.useEffect(t,pp)}class Fn{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Fn}start(e,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},e)}}function mp(){const t=dp(Fn.create).current;return hp(t.disposeEffect),t}let zn=!0,is=!1;const vp=new Fn,gp={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function yp(t){const{type:e,tagName:r}=t;return!!(r==="INPUT"&&gp[e]&&!t.readOnly||r==="TEXTAREA"&&!t.readOnly||t.isContentEditable)}function rl(t){t.metaKey||t.altKey||t.ctrlKey||(zn=!0)}function _r(){zn=!1}function nl(){this.visibilityState==="hidden"&&is&&(zn=!0)}function bp(t){t.addEventListener("keydown",rl,!0),t.addEventListener("mousedown",_r,!0),t.addEventListener("pointerdown",_r,!0),t.addEventListener("touchstart",_r,!0),t.addEventListener("visibilitychange",nl,!0)}function Yy(t){t.removeEventListener("keydown",rl,!0),t.removeEventListener("mousedown",_r,!0),t.removeEventListener("pointerdown",_r,!0),t.removeEventListener("touchstart",_r,!0),t.removeEventListener("visibilitychange",nl,!0)}function Ep(t){const{target:e}=t;try{return e.matches(":focus-visible")}catch(r){}return zn||yp(e)}function wp(){const t=q.useCallback(i=>{i!=null&&bp(i.ownerDocument)},[]),e=q.useRef(!1);function r(){return e.current?(is=!0,vp.start(100,()=>{is=!1}),e.current=!1,!0):!1}function n(i){return Ep(i)?(e.current=!0,!0):!1}return{isFocusVisibleRef:e,onFocus:n,onBlur:r,ref:t}}const _p=wp;function Sp(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ss(t,e){return ss=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},ss(t,e)}function Tp(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,ss(t,e)}const il=Kr().createContext(null);function as(t,e){var r=function(s){return e&&(0,q.isValidElement)(s)?e(s):s},n=Object.create(null);return t&&q.Children.map(t,function(i){return i}).forEach(function(i){n[i.key]=r(i)}),n}function xp(t,e){t=t||{},e=e||{};function r(c){return c in e?e[c]:t[c]}var n=Object.create(null),i=[];for(var s in t)s in e?i.length&&(n[s]=i,i=[]):i.push(s);var a,l={};for(var o in e){if(n[o])for(a=0;a<n[o].length;a++){var u=n[o][a];l[n[o][a]]=r(u)}l[o]=r(o)}for(a=0;a<i.length;a++)l[i[a]]=r(i[a]);return l}function Gt(t,e,r){return r[e]!=null?r[e]:t.props[e]}function Op(t,e){return as(t.children,function(r){return(0,q.cloneElement)(r,{onExited:e.bind(null,r),in:!0,appear:Gt(r,"appear",t),enter:Gt(r,"enter",t),exit:Gt(r,"exit",t)})})}function Cp(t,e,r){var n=as(t.children),i=xp(e,n);
42return Object.keys(i).forEach(function(s){var a=i[s];if((0,q.isValidElement)(a)){var l=s in e,o=s in n,u=e[s],c=(0,q.isValidElement)(u)&&!u.props.in;o&&(!l||c)?i[s]=(0,q.cloneElement)(a,{onExited:r.bind(null,a),in:!0,exit:Gt(a,"exit",t),enter:Gt(a,"enter",t)}):!o&&l&&!c?i[s]=(0,q.cloneElement)(a,{in:!1}):o&&l&&(0,q.isValidElement)(u)&&(i[s]=(0,q.cloneElement)(a,{onExited:r.bind(null,a),in:u.props.in,exit:Gt(a,"exit",t),enter:Gt(a,"enter",t)}))}}),i}var Pp=Object.values||function(t){return Object.keys(t).map(function(e){return t[e]})},Mp={component:"div",childFactory:function(e){return e}},os=function(t){Tp(e,t);function e(n,i){var s;s=t.call(this,n,i)||this;var a=s.handleExited.bind(Sp(s));return s.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},s}var r=e.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(i,s){var a=s.children,l=s.handleExited,o=s.firstRender;return{children:o?Op(i,l):Cp(i,a,l),firstRender:!1}},r.handleExited=function(i,s){var a=as(this.props.children);i.key in a||(i.props.onExited&&i.props.onExited(s),this.mounted&&this.setState(function(l){var o=(0,me.A)({},l.children);return delete o[i.key],{children:o}}))},r.render=function(){var i=this.props,s=i.component,a=i.childFactory,l=(0,He.A)(i,["component","childFactory"]),o=this.state.contextValue,u=Pp(this.state.children).map(a);return delete l.appear,delete l.enter,delete l.exit,s===null?Kr().createElement(il.Provider,{value:o},u):Kr().createElement(il.Provider,{value:o},Kr().createElement(s,l,u))},e}(Kr().Component);os.propTypes={},os.defaultProps=Mp;const Dp=os;function Ap(t){const{className:e,classes:r,pulsate:n=!1,rippleX:i,rippleY:s,rippleSize:a,in:l,onExited:o,timeout:u}=t,[c,f]=q.useState(!1),d=Qe(e,r.ripple,r.rippleVisible,n&&r.ripplePulsate),p={width:a,height:a,top:-(a/2)+s,left:-(a/2)+i},b=Qe(r.child,c&&r.childLeaving,n&&r.childPulsate);return!l&&!c&&f(!0),q.useEffect(()=>{if(!l&&o!=null){const m=setTimeout(o,u);return()=>{clearTimeout(m)}}},[o,l,u]),(0,C.jsx)("span",{className:d,style:p,children:(0,C.jsx)("span",{className:b})})}const Ip=Ap,sl=t=>t,al=(()=>{let t=sl;return{configure(e){t=e},generate(e){return t(e)},reset(){t=sl}}})(),ol={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function en(t,e,r="Mui"){const n=ol[e];return n?`${r}-${n}`:`${al.generate(t)}-${e}`}function Jy(t){return ol[t]!==void 0}function Sr(t,e,r="Mui"){const n={};return e.forEach(i=>{n[i]=en(t,i,r)}),n}var Rp;function Zy(t){return Rp("MuiTouchRipple",t)}const it=Sr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),kp=["center","classes","className"];let jn=t=>t,ll,ul,cl,fl;const ls=550,Lp=80,Np=(0,Ke.keyframes)(ll||(ll=jn` 43 0% { 44 transform: scale(0); 45 opacity: 0.1; 46 } 47 48 100% { 49 transform: scale(1); 50 opacity: 0.3; 51 } 52`)),Fp=(0,Ke.keyframes)(ul||(ul=jn` 53 0% { 54 opacity: 1; 55 } 56 57 100% { 58 opacity: 0; 59 } 60`)),zp=(0,Ke.keyframes)(cl||(cl=jn` 61 0% { 62 transform: scale(1); 63 } 64 65 50% { 66 transform: scale(0.92); 67 } 68 69 100% { 70 transform: scale(1); 71 } 72`)),jp=It("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Bp=It(Ip,{name:"MuiTouchRipple",slot:"Ripple"})(fl||(fl=jn` 73 opacity: 0; 74 position: absolute; 75 76 &.${0} { 77 opacity: 0.3; 78 transform: scale(1); 79 animation-name: ${0}; 80 animation-duration: ${0}ms; 81 animation-timing-function: ${0}; 82 } 83 84 &.${0} { 85 animation-duration: ${0}ms; 86 } 87 88 & .${0} { 89 opacity: 1; 90 display: block; 91 width: 100%; 92 height: 100%; 93 border-radius: 50%; 94 background-color: currentColor; 95 } 96 97 & .${0} { 98 opacity: 0; 99 animation-name: ${0}; 100 animation-duration: ${0}ms; 101 animation-timing-function: ${0}; 102 } 103 104 & .${0} { 105 position: absolute; 106 /* @noflip */ 107 left: 0px; 108 top: 0; 109 animation-name: ${0}; 110 animation-duration: 2500ms; 111 animation-timing-function: ${0}; 112 animation-iteration-count: infinite; 113 animation-delay: 200ms; 114 } 115`),it.rippleVisible,Np,ls,({theme:t})=>t.transitions.easing.easeInOut,it.ripplePulsate,({theme:t})=>t.transitions.duration.shorter,it.child,it.childLeaving,Fp,ls,({theme:t})=>t.transitions.easing.easeInOut,it.childPulsate,zp,({theme:t})=>t.transitions.easing.easeInOut),Vp=q.forwardRef(function(e,r){const n=kn({props:e,name:"MuiTouchRipple"}),{center:i=!1,classes:s={},className:a}=n,l=(0,He.A)(n,kp),[o,u]=q.useState([]),c=q.useRef(0),f=q.useRef(null);q.useEffect(()=>{f.current&&(f.current(),f.current=null)},[o]);const d=q.useRef(!1),p=mp(),b=q.useRef(null),m=q.useRef(null),v=q.useCallback(w=>{const{pulsate:T,rippleX:x,rippleY:P,rippleSize:I,cb:O}=w;u(H=>[...H,(0,C.jsx)(Bp,{classes:{ripple:Qe(s.ripple,it.ripple),rippleVisible:Qe(s.rippleVisible,it.rippleVisible),ripplePulsate:Qe(s.ripplePulsate,it.ripplePulsate),
115child:Qe(s.child,it.child),childLeaving:Qe(s.childLeaving,it.childLeaving),childPulsate:Qe(s.childPulsate,it.childPulsate)},timeout:ls,pulsate:T,rippleX:x,rippleY:P,rippleSize:I},c.current)]),c.current+=1,f.current=O},[s]),h=q.useCallback((w={},T={},x=()=>{})=>{const{pulsate:P=!1,center:I=i||T.pulsate,fakeElement:O=!1}=T;if((w==null?void 0:w.type)==="mousedown"&&d.current){d.current=!1;return}(w==null?void 0:w.type)==="touchstart"&&(d.current=!0);const H=O?null:m.current,R=H?H.getBoundingClientRect():{width:0,height:0,left:0,top:0};let D,M,S;if(I||w===void 0||w.clientX===0&&w.clientY===0||!w.clientX&&!w.touches)D=Math.round(R.width/2),M=Math.round(R.height/2);else{const{clientX:A,clientY:X}=w.touches&&w.touches.length>0?w.touches[0]:w;D=Math.round(A-R.left),M=Math.round(X-R.top)}if(I)S=Math.sqrt((2*R.width**2+R.height**2)/3),S%2===0&&(S+=1);else{const A=Math.max(Math.abs((H?H.clientWidth:0)-D),D)*2+2,X=Math.max(Math.abs((H?H.clientHeight:0)-M),M)*2+2;S=Math.sqrt(A**2+X**2)}w!=null&&w.touches?b.current===null&&(b.current=()=>{v({pulsate:P,rippleX:D,rippleY:M,rippleSize:S,cb:x})},p.start(Lp,()=>{b.current&&(b.current(),b.current=null)})):v({pulsate:P,rippleX:D,rippleY:M,rippleSize:S,cb:x})},[i,v,p]),y=q.useCallback(()=>{h({},{pulsate:!0})},[h]),g=q.useCallback((w,T)=>{if(p.clear(),(w==null?void 0:w.type)==="touchend"&&b.current){b.current(),b.current=null,p.start(0,()=>{g(w,T)});return}b.current=null,u(x=>x.length>0?x.slice(1):x),f.current=T},[p]);return q.useImperativeHandle(r,()=>({pulsate:y,start:h,stop:g}),[y,h,g]),(0,C.jsx)(jp,(0,me.A)({className:Qe(it.root,s.root,a),ref:m},l,{children:(0,C.jsx)(Dp,{component:null,exit:!0,children:o})}))});function $p(t){return en("MuiButtonBase",t)}const Wp=Sr("MuiButtonBase",["root","disabled","focusVisible"]),Up=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],qp=t=>{const{disabled:e,focusVisible:r,focusVisibleClassName:n,classes:i}=t,a=Rn({root:["root",e&&"disabled",r&&"focusVisible"]},$p,i);return r&&n&&(a.root+=` ${n}`),a},Gp=It("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Wp.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Hp=q.forwardRef(function(e,r){const n=kn({props:e,name:"MuiButtonBase"}),{action:i,centerRipple:s=!1,children:a,className:l,component:o="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:f=!1,focusRipple:d=!1,LinkComponent:p="a",onBlur:b,onClick:m,onContextMenu:v,onDragLeave:h,onFocus:y,onFocusVisible:g,onKeyDown:w,onKeyUp:T,onMouseDown:x,onMouseLeave:P,onMouseUp:I,onTouchEnd:O,onTouchMove:H,onTouchStart:R,tabIndex:D=0,TouchRippleProps:M,touchRippleRef:S,type:A}=n,X=(0,He.A)(n,Up),N=q.useRef(null),G=q.useRef(null),F=el(G,S),{isFocusVisibleRef:fe,onFocus:xe,onBlur:Fe,ref:pe}=_p(),[_e,qe]=q.useState(!1);u&&_e&&qe(!1),q.useImperativeHandle(i,()=>({focusVisible:()=>{qe(!0),N.current.focus()}}),[]);const[tt,wt]=q.useState(!1);q.useEffect(()=>{wt(!0)},[]);const Kn=tt&&!c&&!u;q.useEffect(()=>{_e&&d&&!c&&tt&&G.current.pulsate()},[c,d,_e,tt]);function ot(be,du,ty=f){return Nn(pu=>(du&&du(pu),!ty&&G.current&&G.current[be](pu),!0))}const Jn=ot("start",x),Zn=ot("stop",v),xr=ot("stop",h),Or=ot("stop",I),on=ot("stop",be=>{_e&&be.preventDefault(),P&&P(be)}),ln=ot("start",R),un=ot("stop",O),cn=ot("stop",H),Xt=ot("stop",be=>{Fe(be),fe.current===!1&&qe(!1),b&&b(be)},!1),Kt=Nn(be=>{N.current||(N.current=be.currentTarget),xe(be),fe.current===!0&&(qe(!0),g&&g(be)),y&&y(be)}),As=()=>{const be=N.current;return o&&o!=="button"&&!(be.tagName==="A"&&be.href)},Is=q.useRef(!1),Kg=Nn(be=>{d&&!Is.current&&_e&&G.current&&be.key===" "&&(Is.current=!0,G.current.stop(be,()=>{G.current.start(be)})),be.target===be.currentTarget&&As()&&be.key===" "&&be.preventDefault(),w&&w(be),be.target===be.currentTarget&&As()&&be.key==="Enter"&&!u&&(be.preventDefault(),m&&m(be))}),Jg=Nn(be=>{d&&be.key===" "&&G.current&&_e&&!be.defaultPrevented&&(Is.current=!1,G.current.stop(be,()=>{G.current.pulsate(be)})),T&&T(be),m&&be.target===be.currentTarget&&As()&&be.key===" "&&!be.defaultPrevented&&m(be)});let ei=o;ei==="button"&&(X.href||X.to)&&(ei=p);const fn={};ei==="button"?(fn.type=A===void 0?"button":A,fn.disabled=u):(!X.href&&!X.to&&(fn.role="button"),u&&(fn["aria-disabled"]=u));const Zg=el(r,pe,N),fu=(0,me.A)({},n,{centerRipple:s,component:o,disabled:u,disableRipple:c,disableTouchRipple:f,focusRipple:d,tabIndex:D,focusVisible:_e}),ey=qp(fu);return(0,C.jsxs)(Gp,(0,me.A)({as:ei,className:Qe(ey.root,l),ownerState:fu,onBlur:Xt,onClick:m,onContextMenu:Zn,onFocus:Kt,onKeyDown:Kg,onKeyUp:Jg,onMouseDown:Jn,onMouseLeave:on,onMouseUp:Or,onDragLeave:xr,onTouchEnd:un,onTouchMove:cn,onTouchStart:ln,ref:Zg,tabIndex:u?-1:D,type:A},fn,X,{children:[a,Kn?(0,C.jsx)(Vp,(0,me.A)({ref:F,center:s},M)):null]}))});var Qp=Se(2743);const Je=Qp.A;function Yp(t){return en("MuiButton",t)}const Bn=Sr("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Xp=q.createContext({}),Kp=q.createContext(void 0),Jp=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Zp=t=>{const{color:e,disableElevation:r,fullWidth:n,size:i,variant:s,classes:a}=t,l={root:["root",s,`${s}${Je(e)}`,`size${Je(i)}`,`${s}Size${Je(i)}`,`color${Je(e)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Je(i)}`],endIcon:["icon","endIcon",`iconSize${Je(i)}`]},o=Rn(l,Yp,a);return(0,me.A)({},a,o)},dl=t=>(0,me.A)({},t.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},t.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},t.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),eh=It(Hp,{shouldForwardProp:t=>Jo(t)||t==="classes",name:"MuiButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],e[`${r.variant}${Je(r.color)}`],e[`size${Je(r.size)}`],e[`${r.variant}Size${Je(r.size)}`],r.color==="inherit"&&e.colorInherit,r.disableElevation&&e.disableElevation,r.fullWidth&&e.fullWidth]}})(({theme:t,ownerState:e})=>{var r,n;const i=t.palette.mode==="light"?t.palette.grey[300]:t.palette.grey[800],s=t.palette.mode==="light"?t.palette.grey.A100:t.palette.grey[700];return(0,me.A)({},t.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":(0,me.A)({textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,qt.X4)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="text"&&e.color!=="inherit"&&{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainCh
115annel} / ${t.vars.palette.action.hoverOpacity})`:(0,qt.X4)(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="outlined"&&e.color!=="inherit"&&{border:`1px solid ${(t.vars||t).palette[e.color].main}`,backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,qt.X4)(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="contained"&&{backgroundColor:t.vars?t.vars.palette.Button.inheritContainedHoverBg:s,boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2],backgroundColor:(t.vars||t).palette.grey[300]}},e.variant==="contained"&&e.color!=="inherit"&&{backgroundColor:(t.vars||t).palette[e.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[e.color].main}}),"&:active":(0,me.A)({},e.variant==="contained"&&{boxShadow:(t.vars||t).shadows[8]}),[`&.${Bn.focusVisible}`]:(0,me.A)({},e.variant==="contained"&&{boxShadow:(t.vars||t).shadows[6]}),[`&.${Bn.disabled}`]:(0,me.A)({color:(t.vars||t).palette.action.disabled},e.variant==="outlined"&&{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},e.variant==="contained"&&{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground})},e.variant==="text"&&{padding:"6px 8px"},e.variant==="text"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main},e.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},e.variant==="outlined"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main,border:t.vars?`1px solid rgba(${t.vars.palette[e.color].mainChannel} / 0.5)`:`1px solid ${(0,qt.X4)(t.palette[e.color].main,.5)}`},e.variant==="contained"&&{color:t.vars?t.vars.palette.text.primary:(r=(n=t.palette).getContrastText)==null?void 0:r.call(n,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:i,boxShadow:(t.vars||t).shadows[2]},e.variant==="contained"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].contrastText,backgroundColor:(t.vars||t).palette[e.color].main},e.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},e.size==="small"&&e.variant==="text"&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="text"&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},e.size==="small"&&e.variant==="outlined"&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="outlined"&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},e.size==="small"&&e.variant==="contained"&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="contained"&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},e.fullWidth&&{width:"100%"})},({ownerState:t})=>t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Bn.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Bn.disabled}`]:{boxShadow:"none"}}),th=It("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.startIcon,e[`iconSize${Je(r.size)}`]]}})(({ownerState:t})=>(0,me.A)({display:"inherit",marginRight:8,marginLeft:-4},t.size==="small"&&{marginLeft:-2},dl(t))),rh=It("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.endIcon,e[`iconSize${Je(r.size)}`]]}})(({ownerState:t})=>(0,me.A)({display:"inherit",marginRight:-4,marginLeft:8},t.size==="small"&&{marginRight:-2},dl(t))),us=q.forwardRef(function(e,r){const n=q.useContext(Xp),i=q.useContext(Kp),s=Jr(n,e),a=kn({props:s,name:"MuiButton"}),{children:l,color:o="primary",component:u="button",className:c,disabled:f=!1,disableElevation:d=!1,disableFocusRipple:p=!1,endIcon:b,focusVisibleClassName:m,fullWidth:v=!1,size:h="medium",startIcon:y,type:g,variant:w="text"}=a,T=(0,He.A)(a,Jp),x=(0,me.A)({},a,{color:o,component:u,disabled:f,disableElevation:d,disableFocusRipple:p,fullWidth:v,size:h,type:g,variant:w}),P=Zp(x),I=y&&(0,C.jsx)(th,{className:P.startIcon,ownerState:x,children:y}),O=b&&(0,C.jsx)(rh,{className:P.endIcon,ownerState:x,children:b}),H=i||"";return(0,C.jsxs)(eh,(0,me.A)({ownerState:x,className:Qe(n.className,P.root,c,H),component:u,disabled:f,focusRipple:!p,focusVisibleClassName:Qe(P.focusVisible,m),ref:r,type:g},T,{classes:P,children:[I,l,O]}))});function nh(t,e){let r;return e?r=Ke(t).withConfig({displayName:e.label,shouldForwardProp:e.shouldForwardProp}):r=Ke(t),r}function ih(t,e){t.componentStyle&&(t.componentStyle.rules=e(t.componentStyle.rules))}function l0(t,e){return ih(t,e)}function u0(t){return t}var sh=Se(2680);function ah(t){return Object.keys(t).length===0}function oh(t=null){const e=q.useContext(Ke.ThemeContext);return!e||ah(e)?t:e}const Vn=oh,lh=(0,Wo.A)();function uh(t=lh){return Vn(t)}const cs=uh,ch=["className","component"];function fh(t={}){const{themeId:e,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:i}=t,s=nh("div",{shouldForwardProp:l=>l!=="theme"&&l!=="sx"&&l!=="as"})($o.A);
115return q.forwardRef(function(o,u){const c=cs(r),f=(0,sh.A)(o),{className:d,component:p="div"}=f,b=(0,He.A)(f,ch);return(0,C.jsx)(s,(0,me.A)({as:p,ref:u,className:Qe(d,i?i(n):n),theme:e&&c[e]||c},b))})}const dh=Sr("MuiBox",["root"]),ph=ns(),hh=fh({themeId:Zr,defaultTheme:ph,defaultClassName:dh.root,generateClassName:al.generate});function d0(t){return String(parseFloat(t)).length===String(t).length}function pl(t){return String(t).match(/[\d.\-+]*\s*(.*)/)[1]||""}function Rt(t){return parseFloat(t)}function p0(t){return(e,r)=>{const n=pl(e);if(n===r)return e;let i=Rt(e);n!=="px"&&(n==="em"||n==="rem")&&(i=Rt(e)*Rt(t));let s=i;if(r!=="px")if(r==="em")s=i/Rt(t);else if(r==="rem")s=i/Rt(t);else return e;return parseFloat(s.toFixed(5))+r}}function h0({size:t,grid:e}){const r=t-t%e,n=r+e;return t-r<n-t?r:n}function m0({lineHeight:t,pixels:e,htmlFontSize:r}){return e/(t*r)}function v0({cssProperty:t,min:e,max:r,unit:n="rem",breakpoints:i=[600,900,1200],transform:s=null}){const a={[t]:`${e}${n}`},l=(r-e)/i[i.length-1];return i.forEach(o=>{let u=e+l*o;s!==null&&(u=s(u)),a[`@media (min-width:${o}px)`]={[t]:`${Math.round(u*1e4)/1e4}${n}`}}),a}var mh=Se(6989);function fs(t,e=0,r=1){return(0,mh.A)(t,e,r)}function vh(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let r=t.match(e);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,i)=>i<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function gh(t){const e=t.toString(16);return e.length===1?`0${e}`:e}function ct(t){if(t.type)return t;if(t.charAt(0)==="#")return ct(vh(t));const e=t.indexOf("("),r=t.substring(0,e);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error((0,Hr.A)(9,t));let n=t.substring(e+1,t.length-1),i;if(r==="color"){if(n=n.split(" "),i=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error((0,Hr.A)(10,i))}else n=n.split(",");return n=n.map(s=>parseFloat(s)),{type:r,values:n,colorSpace:i}}const yh=t=>{const e=ct(t);return e.values.slice(0,3).map((r,n)=>e.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")},g0=(t,e)=>{try{return yh(t)}catch(r){return t}};function tn(t){const{type:e,colorSpace:r}=t;let{values:n}=t;return e.indexOf("rgb")!==-1?n=n.map((i,s)=>s<3?parseInt(i,10):i):e.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),e.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${e}(${n})`}function y0(t){if(t.indexOf("#")===0)return t;const{values:e}=ct(t);return`#${e.map((r,n)=>gh(n===3?Math.round(255*r):r)).join("")}`}function bh(t){t=ct(t);const{values:e}=t,r=e[0],n=e[1]/100,i=e[2]/100,s=n*Math.min(i,1-i),a=(u,c=(u+r/30)%12)=>i-s*Math.max(Math.min(c-3,9-c,1),-1);let l="rgb";const o=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return t.type==="hsla"&&(l+="a",o.push(e[3])),tn({type:l,values:o})}function ds(t){t=ct(t);let e=t.type==="hsl"||t.type==="hsla"?ct(bh(t)).values:t.values;return e=e.map(r=>(t.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function b0(t,e){const r=ds(t),n=ds(e);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function hl(t,e){return t=ct(t),e=fs(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,tn(t)}function E0(t,e,r){try{return hl(t,e)}catch(n){return t}}function ml(t,e){if(t=ct(t),e=fs(e),t.type.indexOf("hsl")!==-1)t.values[2]*=1-e;else if(t.type.indexOf("rgb")!==-1||t.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)t.values[r]*=1-e;return tn(t)}function w0(t,e,r){try{return ml(t,e)}catch(n){return t}}function vl(t,e){if(t=ct(t),e=fs(e),t.type.indexOf("hsl")!==-1)t.values[2]+=(100-t.values[2])*e;else if(t.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)t.values[r]+=(255-t.values[r])*e;else if(t.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)t.values[r]+=(1-t.values[r])*e;return tn(t)}function _0(t,e,r){try{return vl(t,e)}catch(n){return t}}function Eh(t,e=.15){return ds(t)>.5?ml(t,e):vl(t,e)}function S0(t,e,r){try{return Eh(t,e)}catch(n){return t}}function T0(t,e,r,n=1){const i=(o,u)=>Math.round((o**(1/n)*(1-r)+u**(1/n)*r)**n),s=ct(t),a=ct(e),l=[i(s.values[0],a.values[0]),i(s.values[1],a.values[1]),i(s.values[2],a.values[2])];return tn({type:"rgb",values:l})}function wh(t){return en("MuiSkeleton",t)}const x0=Sr("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]),O0=null,_h=["animation","className","component","height","style","variant","width"];let $n=t=>t,gl,yl,bl,El;const Sh=t=>{const{classes:e,variant:r,animation:n,hasChildren:i,width:s,height:a}=t;return Rn({root:["root",r,n,i&&"withChildren",i&&!s&&"fitContent",i&&!a&&"heightAuto"]},wh,e)},Th=(0,Ke.keyframes)(gl||(gl=$n` 116 0% { 117 opacity: 1; 118 } 119 120 50% { 121 opacity: 0.4; 122 } 123 124 100% { 125 opacity: 1; 126 } 127`)),xh=(0,Ke.keyframes)(yl||(yl=$n` 128 0% { 129 transform: translateX(-100%); 130 } 131 132 50% { 133 /* +0.5s of delay between each loop */ 134 transform: translateX(100%); 135 } 136 137 100% { 138 transform: translateX(100%); 139 } 140`)),Oh=It("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],r.animation!==!1&&e[r.animation],r.hasChildren&&e.withChildren,r.hasChildren&&!r.width&&e.fitContent,r.hasChildren&&!r.height&&e.heightAuto]}})(({theme:t,ownerState:e})=>
140{const r=pl(t.shape.borderRadius)||"px",n=Rt(t.shape.borderRadius);return(0,me.A)({display:"block",backgroundColor:t.vars?t.vars.palette.Skeleton.bg:hl(t.palette.text.primary,t.palette.mode==="light"?.11:.13),height:"1.2em"},e.variant==="text"&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${n}${r}/${Math.round(n/.6*10)/10}${r}`,"&:empty:before":{content:'"\\00a0"'}},e.variant==="circular"&&{borderRadius:"50%"},e.variant==="rounded"&&{borderRadius:(t.vars||t).shape.borderRadius},e.hasChildren&&{"& > *":{visibility:"hidden"}},e.hasChildren&&!e.width&&{maxWidth:"fit-content"},e.hasChildren&&!e.height&&{height:"auto"})},({ownerState:t})=>t.animation==="pulse"&&(0,Ke.css)(bl||(bl=$n` 141 animation: ${0} 2s ease-in-out 0.5s infinite; 142 `),Th),({ownerState:t,theme:e})=>t.animation==="wave"&&(0,Ke.css)(El||(El=$n` 143 position: relative; 144 overflow: hidden; 145 146 /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */ 147 -webkit-mask-image: -webkit-radial-gradient(white, black); 148 149 &::after { 150 animation: ${0} 2s linear 0.5s infinite; 151 background: linear-gradient( 152 90deg, 153 transparent, 154 ${0}, 155 transparent 156 ); 157 content: ''; 158 position: absolute; 159 transform: translateX(-100%); /* Avoid flash during server-side hydration */ 160 bottom: 0; 161 left: 0; 162 right: 0; 163 top: 0; 164 } 165 `),xh,(e.vars||e).palette.action.hover)),Wn=q.forwardRef(function(e,r){const n=kn({props:e,name:"MuiSkeleton"}),{animation:i="pulse",className:s,component:a="span",height:l,style:o,variant:u="text",width:c}=n,f=(0,He.A)(n,_h),d=(0,me.A)({},n,{animation:i,component:a,variant:u,hasChildren:Boolean(f.children)}),p=Sh(d);return(0,C.jsx)(Oh,(0,me.A)({as:a,ref:r,className:Qe(p.root,s),ownerState:d},f,{style:(0,me.A)({width:c,height:l},o)}))});function wl(t){const{theme:e,name:r,props:n}=t;return!e||!e.components||!e.components[r]||!e.components[r].defaultProps?n:Jr(e.components[r].defaultProps,n)}function ps(){const t=cs(Ko);return t[Zr]||t}const Ch=Ln;function Ph(t,e,r,n,i){const[s,a]=q.useState(()=>i&&r?r(t).matches:n?n(t).matches:e);return Ln(()=>{let l=!0;if(!r)return;const o=r(t),u=()=>{l&&a(o.matches)};return u(),o.addListener(u),()=>{l=!1,o.removeListener(u)}},[t,r]),s}const _l=q["useSyncExternalStore"];function Mh(t,e,r,n,i){const s=q.useCallback(()=>e,[e]),a=q.useMemo(()=>{if(i&&r)return()=>r(t).matches;if(n!==null){const{matches:c}=n(t);return()=>c}return s},[s,t,n,i,r]),[l,o]=q.useMemo(()=>{if(r===null)return[s,()=>()=>{}];const c=r(t);return[()=>c.matches,f=>(c.addListener(f),()=>{c.removeListener(f)})]},[s,r,t]);return _l(o,l,a)}function Dh(t,e={}){const r=Vn(),n=typeof window!="undefined"&&typeof window.matchMedia!="undefined",{defaultMatches:i=!1,matchMedia:s=n?window.matchMedia:null,ssrMatchMedia:a=null,noSsr:l=!1}=wl({name:"MuiUseMediaQuery",props:e,theme:r});let o=typeof t=="function"?t(r):t;return o=o.replace(/^@media( ?)/m,""),(_l!==void 0?Mh:Ph)(o,i,s,a,l)}const Ah=["initialWidth","width"],kt=["xs","sm","md","lg","xl"],Ih=(t,e,r=!0)=>r?kt.indexOf(t)<=kt.indexOf(e):kt.indexOf(t)<kt.indexOf(e),Rh=(t,e,r=!1)=>r?kt.indexOf(e)<=kt.indexOf(t):kt.indexOf(e)<kt.indexOf(t),kh=(t={})=>e=>{const{withTheme:r=!1,noSSR:n=!1,initialWidth:i}=t;function s(a){const l=ps(),o=a.theme||l,u=wl({theme:o,name:"MuiWithWidth",props:a}),{initialWidth:c,width:f}=u,d=(0,He.A)(u,Ah),[p,b]=q.useState(!1);Ch(()=>{b(!0)},[]);const v=o.breakpoints.keys.slice().reverse().reduce((y,g)=>{const w=Dh(o.breakpoints.up(g));return!y&&w?g:y},null),h=(0,me.A)({width:f||(p||n?v:void 0)||c||i},r?{theme:o}:{},d);return h.width===void 0?null:(0,C.jsx)(e,(0,me.A)({},h))}return s};function Lh(t){const{children:e,only:r,width:n}=t,i=ps();let s=!0;if(r)if(Array.isArray(r))for(let a=0;a<r.length;a+=1){const l=r[a];if(n===l){s=!1;break}}else r&&n===r&&(s=!1);if(s)for(let a=0;a<i.breakpoints.keys.length;a+=1){const l=i.breakpoints.keys[a],o=t[`${l}Up`],u=t[`${l}Down`];if(o&&Ih(l,n)||u&&Rh(l,n)){s=!1;break}}return s?(0,C.jsx)(q.Fragment,{children:e}):null}const Nh=kh()(Lh);function Fh(t){return en("PrivateHiddenCss",t)}const M0=Sr("PrivateHiddenCss",["root","xlDown","xlUp","onlyXl","lgDown","lgUp","onlyLg","mdDown","mdUp","onlyMd","smDown","smUp","onlySm","xsDown","xsUp","onlyXs"]),D0=null,zh=["children","className","only"],jh=t=>{const{classes:e,breakpoints:r}=t,n={root:["root",...r.map(({breakpoint:i,dir:s})=>s==="only"?`${s}${Je(i)}`:`${i}${Je(s)}`)]};return Rn(n,Fh,e)},Bh=It("div",{name:"PrivateHiddenCss",slot:"Root"})(({theme:t,ownerState:e})=>{const r={display:"none"};return(0,me.A)({},e.breakpoints.map(({breakpoint:n,dir:i})=>i==="only"?{[t.breakpoints.only(n)]:r}:i==="up"?{[t.breakpoints.up(n)]:r}:{[t.breakpoints.down(n)]:r}).reduce((n,i)=>
165(Object.keys(i).forEach(s=>{n[s]=i[s]}),n),{}))});function Vh(t){const{children:e,className:r,only:n}=t,i=(0,He.A)(t,zh),s=ps(),a=[];for(let u=0;u<s.breakpoints.keys.length;u+=1){const c=s.breakpoints.keys[u],f=i[`${c}Up`],d=i[`${c}Down`];f&&a.push({breakpoint:c,dir:"up"}),d&&a.push({breakpoint:c,dir:"down"})}n&&(Array.isArray(n)?n:[n]).forEach(c=>{a.push({breakpoint:c,dir:"only"})});const l=(0,me.A)({},t,{breakpoints:a}),o=jh(l);return(0,C.jsx)(Bh,{className:Qe(o.root,r),ownerState:l,children:e})}const $h=Vh,Wh=["implementation","lgDown","lgUp","mdDown","mdUp","smDown","smUp","xlDown","xlUp","xsDown","xsUp"];function Uh(t){const{implementation:e="js",lgDown:r=!1,lgUp:n=!1,mdDown:i=!1,mdUp:s=!1,smDown:a=!1,smUp:l=!1,xlDown:o=!1,xlUp:u=!1,xsDown:c=!1,xsUp:f=!1}=t,d=(0,He.A)(t,Wh);return e==="js"?(0,C.jsx)(Nh,(0,me.A)({lgDown:r,lgUp:n,mdDown:i,mdUp:s,smDown:a,smUp:l,xlDown:o,xlUp:u,xsDown:c,xsUp:f},d)):(0,C.jsx)($h,(0,me.A)({lgDown:r,lgUp:n,mdDown:i,mdUp:s,smDown:a,smUp:l,xlDown:o,xlUp:u,xsDown:c,xsUp:f},d))}const qh=Uh,Sl=q.createContext(null);function Tl(){return q.useContext(Sl)}const Gh=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Hh(t,e){return typeof e=="function"?e(t):(0,me.A)({},t,e)}function Qh(t){const{children:e,theme:r}=t,n=Tl(),i=q.useMemo(()=>{const s=n===null?r:Hh(n,r);return s!=null&&(s[Gh]=n!==null),s},[r,n]);return(0,C.jsx)(Sl.Provider,{value:i,children:e})}const Yh=Qh;var Xh;const Kh=["value"],xl=q.createContext();function Jh(t){let{value:e}=t,r=(0,He.A)(t,Kh);return(0,C.jsx)(xl.Provider,(0,me.A)({value:e!=null?e:!0},r))}const R0=()=>{const t=Xh.useContext(xl);return t!=null?t:!1},Zh=Jh;let Ol=0;function em(t){const[e,r]=q.useState(t),n=t||e;return q.useEffect(()=>{e==null&&(Ol+=1,r(`mui-${Ol}`))},[e]),n}const Cl=q["useId".toString()];function tm(t){if(Cl!==void 0){const e=Cl();return t!=null?t:e}return em(t)}var Tr=Se(2736);function rm(t){return t==null||Object.keys(t).length===0}const Pl=(0,Ke.createGlobalStyle)(t=>{const{styles:e,defaultTheme:r={}}=t;return typeof e=="function"?e(rm(t.theme)?r:t.theme):e}),nm=Pl;Pl.propTypes={defaultTheme:Tr.object,styles:Tr.oneOfType([Tr.array,Tr.string,Tr.object,Tr.func])};function hs(t){const e=t;return t!==e&&e.styles?(e.styles.match(/^@layer\s+[^{]*$/)||(e.styles=`@layer global{${e.styles}}`),e):t}function im({styles:t,themeId:e,defaultTheme:r={}}){const n=cs(r),i=e&&n[e]||n;let s=typeof t=="function"?t(i):t;return i.modularCssLayers&&(Array.isArray(s)?s=s.map(a=>hs(typeof a=="function"?a(i):a)):s=hs(s)),(0,C.jsx)(nm,{styles:s})}const sm=im;function am(t){const e=Vn(),r=tm()||"",{modularCssLayers:n}=t;let i="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!n||e!==null?i="":typeof n=="string"?i=n.replace(/mui(?!\.)/g,i):i=`@layer ${i};`,Ln(()=>{const s=document.querySelector("head");if(!s)return;const a=s.firstChild;if(i){var l;if(a&&(l=a.hasAttribute)!=null&&l.call(a,"data-mui-layer-order")&&a.getAttribute("data-mui-layer-order")===r)return;const u=document.createElement("style");u.setAttribute("data-mui-layer-order",r),u.textContent=i,s.prepend(u)}else{var o;(o=s.querySelector(`style[data-mui-layer-order="${r}"]`))==null||o.remove()}},[i,r]),i?(0,C.jsx)(sm,{styles:i}):null}const Ml={};function Dl(t,e,r,n=!1){return q.useMemo(()=>{const i=t&&e[t]||e;if(typeof r=="function"){const s=r(i),a=t?(0,me.A)({},e,{[t]:s}):s;return n?()=>a:a}return t?(0,me.A)({},e,{[t]:r}):(0,me.A)({},e,r)},[t,e,r,n])}function om(t){const{children:e,theme:r,themeId:n}=t,i=Vn(Ml),s=Tl()||Ml,a=Dl(n,i,r),l=Dl(n,s,r,!0),o=a.direction==="rtl",u=am(a);return(0,C.jsx)(Yh,{theme:l,children:(0,C.jsx)(Ke.ThemeContext.Provider,{value:a,children:(0,C.jsx)(Zh,{value:o,children:(0,C.jsxs)(sp,{value:a==null?void 0:a.components,children:[u,e]})})})})}const lm=om,um=["theme"];function cm(t){let{theme:e}=t,r=(0,He.A)(t,um);const n=e[Zr];let i=n||e;return typeof e!="function"&&(n&&!n.vars?i=(0,me.A)({},n,{vars:null}):e&&!e.vars&&(i=(0,me.A)({},e,{vars:null}))),(0,C.jsx)(lm,(0,me.A)({},r,{themeId:n?Zr:void 0,theme:i}))}const fm=jQuery;var rn=Se.n(fm);const st=lodash;var dm=Se(9576);function Al(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function ms(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(r=>{typeof t[r]=="undefined"?t[r]=e[r]:Al(e[r])&&Al(t[r])&&Object.keys(e[r]).length>0&&ms(t[r],e[r])})}const Il={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Ht(){const t=typeof document!="undefined"?document:{};return ms(t,Il),t}const pm={document:Il,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){}
165,clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout=="undefined"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout!="undefined"&&clearTimeout(t)}};function Ze(){const t=typeof window!="undefined"?window:{};return ms(t,pm),t}var hm,mm;function vm(t){const e=t;Object.keys(e).forEach(r=>{try{e[r]=null}catch(n){}try{delete e[r]}catch(n){}})}function vs(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Un(){return Date.now()}function gm(t){const e=Ze();let r;return e.getComputedStyle&&(r=e.getComputedStyle(t,null)),!r&&t.currentStyle&&(r=t.currentStyle),r||(r=t.style),r}function ym(t,e){e===void 0&&(e="x");const r=Ze();let n,i,s;const a=gm(t);return r.WebKitCSSMatrix?(i=a.transform||a.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(l=>l.replace(",",".")).join(", ")),s=new r.WebKitCSSMatrix(i==="none"?"":i)):(s=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=s.toString().split(",")),e==="x"&&(r.WebKitCSSMatrix?i=s.m41:n.length===16?i=parseFloat(n[12]):i=parseFloat(n[4])),e==="y"&&(r.WebKitCSSMatrix?i=s.m42:n.length===16?i=parseFloat(n[13]):i=parseFloat(n[5])),i||0}function qn(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function bm(t){return typeof window!="undefined"&&typeof window.HTMLElement!="undefined"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function et(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let r=1;r<arguments.length;r+=1){const n=r<0||arguments.length<=r?void 0:arguments[r];if(n!=null&&!bm(n)){const i=Object.keys(Object(n)).filter(s=>e.indexOf(s)<0);for(let s=0,a=i.length;s<a;s+=1){const l=i[s],o=Object.getOwnPropertyDescriptor(n,l);o!==void 0&&o.enumerable&&(qn(t[l])&&qn(n[l])?n[l].__swiper__?t[l]=n[l]:et(t[l],n[l]):!qn(t[l])&&qn(n[l])?(t[l]={},n[l].__swiper__?t[l]=n[l]:et(t[l],n[l])):t[l]=n[l])}}}return t}function Gn(t,e,r){t.style.setProperty(e,r)}function Rl(t){let{swiper:e,targetPosition:r,side:n}=t;const i=Ze(),s=-e.translate;let a=null,l;const o=e.params.speed;e.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(e.cssModeFrameID);const u=r>s?"next":"prev",c=(d,p)=>u==="next"&&d>=p||u==="prev"&&d<=p,f=()=>{l=new Date().getTime(),a===null&&(a=l);const d=Math.max(Math.min((l-a)/o,1),0),p=.5-Math.cos(d*Math.PI)/2;let b=s+p*(r-s);if(c(b,r)&&(b=r),e.wrapperEl.scrollTo({[n]:b}),c(b,r)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:b})}),i.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=i.requestAnimationFrame(f)};f()}function k0(t){return t.querySelector(".swiper-slide-transform")||t.shadowRoot&&t.shadowRoot.querySelector(".swiper-slide-transform")||t}function mt(t,e){return e===void 0&&(e=""),[...t.children].filter(r=>r.matches(e))}function kl(t,e){e===void 0&&(e=[]);const r=document.createElement(t);return r.classList.add(...Array.isArray(e)?e:[e]),r}function L0(t){const e=hm(),r=mm(),n=t.getBoundingClientRect(),i=r.body,s=t.clientTop||i.clientTop||0,a=t.clientLeft||i.clientLeft||0,l=t===e?e.scrollY:t.scrollTop,o=t===e?e.scrollX:t.scrollLeft;return{top:n.top+l-s,left:n.left+o-a}}function Em(t,e){const r=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&r.push(n):r.push(n),t=n}return r}function wm(t,e){const r=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&r.push(n):r.push(n),t=n}return r}function Lt(t,e){return Ze().getComputedStyle(t,null).getPropertyValue(e)}function Ll(t){let e=t,r;if(e){for(r=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(r+=1);return r}}function _m(t,e){const r=[];let n=t.parentElement;for(;n;)e?n.matches(e)&&r.push(n):r.push(n),n=n.parentElement;return r}function N0(t,e){function r(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",r))}e&&t.addEventListener("transitionend",r)}function Nl(t,e,r){const n=Ze();return r?t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):t.offsetWidth}let gs;function Sm(){const t=Ze(),e=Ht();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Fl(){return gs||(gs=Sm()),gs}let ys;function Tm(t){let{userAgent:e}=t===void 0?{}:t;const r=Fl(),n=Ze(),i=n.navigator.platform,s=e||n.navigator.userAgent,a={ios:!1,android:!1},l=n.screen.width,o=n.screen.height,u=s.match(/(Android);?[\s\/]+([\d.]+)?/);let c=s.match(/(iPad).*OS\s([\d_]+)/);const f=s.match(/(iPod)(.*OS\s([\d_]+))?/),d=!c&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=i==="Win32";let b=i==="MacIntel";const m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&b&&r.touch&&m.indexOf(`${l}x${o}`)>
165=0&&(c=s.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),b=!1),u&&!p&&(a.os="android",a.android=!0),(c||d||f)&&(a.os="ios",a.ios=!0),a}function xm(t){return t===void 0&&(t={}),ys||(ys=Tm(t)),ys}let bs;function Om(){const t=Ze();let e=!1;function r(){const n=t.navigator.userAgent.toLowerCase();return n.indexOf("safari")>=0&&n.indexOf("chrome")<0&&n.indexOf("android")<0}if(r()){const n=String(t.navigator.userAgent);if(n.includes("Version/")){const[i,s]=n.split("Version/")[1].split(" ")[0].split(".").map(a=>Number(a));e=i<16||i===16&&s<2}}return{isSafari:e||r(),needPerspectiveFix:e,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}function Cm(){return bs||(bs=Om()),bs}function Pm(t){let{swiper:e,on:r,emit:n}=t;const i=Ze();let s=null,a=null;const l=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},o=()=>{!e||e.destroyed||!e.initialized||(s=new ResizeObserver(f=>{a=i.requestAnimationFrame(()=>{const{width:d,height:p}=e;let b=d,m=p;f.forEach(v=>{let{contentBoxSize:h,contentRect:y,target:g}=v;g&&g!==e.el||(b=y?y.width:(h[0]||h).inlineSize,m=y?y.height:(h[0]||h).blockSize)}),(b!==d||m!==p)&&l()})}),s.observe(e.el))},u=()=>{a&&i.cancelAnimationFrame(a),s&&s.unobserve&&e.el&&(s.unobserve(e.el),s=null)},c=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};r("init",()=>{if(e.params.resizeObserver&&typeof i.ResizeObserver!="undefined"){o();return}i.addEventListener("resize",l),i.addEventListener("orientationchange",c)}),r("destroy",()=>{u(),i.removeEventListener("resize",l),i.removeEventListener("orientationchange",c)})}function Mm(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const s=[],a=Ze(),l=function(c,f){f===void 0&&(f={});const d=a.MutationObserver||a.WebkitMutationObserver,p=new d(b=>{if(e.__preventObserver__)return;if(b.length===1){i("observerUpdate",b[0]);return}const m=function(){i("observerUpdate",b[0])};a.requestAnimationFrame?a.requestAnimationFrame(m):a.setTimeout(m,0)});p.observe(c,{attributes:typeof f.attributes=="undefined"?!0:f.attributes,childList:typeof f.childList=="undefined"?!0:f.childList,characterData:typeof f.characterData=="undefined"?!0:f.characterData}),s.push(p)},o=()=>{if(e.params.observer){if(e.params.observeParents){const c=_m(e.hostEl);for(let f=0;f<c.length;f+=1)l(c[f])}l(e.hostEl,{childList:e.params.observeSlideChildren}),l(e.wrapperEl,{attributes:!1})}},u=()=>{s.forEach(c=>{c.disconnect()}),s.splice(0,s.length)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",o),n("destroy",u)}var Dm={on(t,e,r){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const i=r?"unshift":"push";return t.split(" ").forEach(s=>{n.eventsListeners[s]||(n.eventsListeners[s]=[]),n.eventsListeners[s][i](e)}),n},once(t,e,r){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function i(){n.off(t,i),i.__emitterProxy&&delete i.__emitterProxy;for(var s=arguments.length,a=new Array(s),l=0;l<s;l++)a[l]=arguments[l];e.apply(n,a)}return i.__emitterProxy=e,n.on(t,i,r)},onAny(t,e){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;const n=e?"unshift":"push";return r.eventsAnyListeners.indexOf(t)<0&&r.eventsAnyListeners[n](t),r},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const r=e.eventsAnyListeners.indexOf(t);return r>=0&&e.eventsAnyListeners.splice(r,1),e},off(t,e){const r=this;return!r.eventsListeners||r.destroyed||!r.eventsListeners||t.split(" ").forEach(n=>{typeof e=="undefined"?r.eventsListeners[n]=[]:r.eventsListeners[n]&&r.eventsListeners[n].forEach((i,s)=>{(i===e||i.__emitterProxy&&i.__emitterProxy===e)&&r.eventsListeners[n].splice(s,1)})}),r},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,r,n;for(var i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];return typeof s[0]=="string"||Array.isArray(s[0])?(e=s[0],r=s.slice(1,s.length),n=t):(e=s[0].events,r=s[0].data,n=s[0].context||t),r.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(o=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEac
165h(u=>{u.apply(n,[o,...r])}),t.eventsListeners&&t.eventsListeners[o]&&t.eventsListeners[o].forEach(u=>{u.apply(n,r)})}),t}};function Am(){const t=this;let e,r;const n=t.el;typeof t.params.width!="undefined"&&t.params.width!==null?e=t.params.width:e=n.clientWidth,typeof t.params.height!="undefined"&&t.params.height!==null?r=t.params.height:r=n.clientHeight,!(e===0&&t.isHorizontal()||r===0&&t.isVertical())&&(e=e-parseInt(Lt(n,"padding-left")||0,10)-parseInt(Lt(n,"padding-right")||0,10),r=r-parseInt(Lt(n,"padding-top")||0,10)-parseInt(Lt(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(r)&&(r=0),Object.assign(t,{width:e,height:r,size:t.isHorizontal()?e:r}))}function Im(){const t=this;function e(R){return t.isHorizontal()?R:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[R]}function r(R,D){return parseFloat(R.getPropertyValue(e(D))||0)}const n=t.params,{wrapperEl:i,slidesEl:s,size:a,rtlTranslate:l,wrongRTL:o}=t,u=t.virtual&&n.virtual.enabled,c=u?t.virtual.slides.length:t.slides.length,f=mt(s,`.${t.params.slideClass}, swiper-slide`),d=u?t.virtual.slides.length:f.length;let p=[];const b=[],m=[];let v=n.slidesOffsetBefore;typeof v=="function"&&(v=n.slidesOffsetBefore.call(t));let h=n.slidesOffsetAfter;typeof h=="function"&&(h=n.slidesOffsetAfter.call(t));const y=t.snapGrid.length,g=t.slidesGrid.length;let w=n.spaceBetween,T=-v,x=0,P=0;if(typeof a=="undefined")return;typeof w=="string"&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*a:typeof w=="string"&&(w=parseFloat(w)),t.virtualSize=-w,f.forEach(R=>{l?R.style.marginLeft="":R.style.marginRight="",R.style.marginBottom="",R.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(Gn(i,"--swiper-centered-offset-before",""),Gn(i,"--swiper-centered-offset-after",""));const I=n.grid&&n.grid.rows>1&&t.grid;I&&t.grid.initSlides(d);let O;const H=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(R=>typeof n.breakpoints[R].slidesPerView!="undefined").length>0;for(let R=0;R<d;R+=1){O=0;let D;if(f[R]&&(D=f[R]),I&&t.grid.updateSlide(R,D,d,e),!(f[R]&&Lt(D,"display")==="none")){if(n.slidesPerView==="auto"){H&&(f[R].style[e("width")]="");const M=getComputedStyle(D),S=D.style.transform,A=D.style.webkitTransform;if(S&&(D.style.transform="none"),A&&(D.style.webkitTransform="none"),n.roundLengths)O=t.isHorizontal()?Nl(D,"width",!0):Nl(D,"height",!0);else{const X=r(M,"width"),N=r(M,"padding-left"),G=r(M,"padding-right"),F=r(M,"margin-left"),fe=r(M,"margin-right"),xe=M.getPropertyValue("box-sizing");if(xe&&xe==="border-box")O=X+F+fe;else{const{clientWidth:Fe,offsetWidth:pe}=D;O=X+N+G+F+fe+(pe-Fe)}}S&&(D.style.transform=S),A&&(D.style.webkitTransform=A),n.roundLengths&&(O=Math.floor(O))}else O=(a-(n.slidesPerView-1)*w)/n.slidesPerView,n.roundLengths&&(O=Math.floor(O)),f[R]&&(f[R].style[e("width")]=`${O}px`);f[R]&&(f[R].swiperSlideSize=O),m.push(O),n.centeredSlides?(T=T+O/2+x/2+w,x===0&&R!==0&&(T=T-a/2-w),R===0&&(T=T-a/2-w),Math.abs(T)<1/1e3&&(T=0),n.roundLengths&&(T=Math.floor(T)),P%n.slidesPerGroup===0&&p.push(T),b.push(T)):(n.roundLengths&&(T=Math.floor(T)),(P-Math.min(t.params.slidesPerGroupSkip,P))%t.params.slidesPerGroup===0&&p.push(T),b.push(T),T=T+O+w),t.virtualSize+=O+w,x=O,P+=1}}if(t.virtualSize=Math.max(t.virtualSize,a)+h,l&&o&&(n.effect==="slide"||n.effect==="coverflow")&&(i.style.width=`${t.virtualSize+w}px`),n.setWrapperSize&&(i.style[e("width")]=`${t.virtualSize+w}px`),I&&t.grid.updateWrapperSize(O,p,e),!n.centeredSlides){const R=[];for(let D=0;D<p.length;D+=1){let M=p[D];n.roundLengths&&(M=Math.floor(M)),p[D]<=t.virtualSize-a&&R.push(M)}p=R,Math.floor(t.virtualSize-a)-Math.floor(p[p.length-1])>1&&p.push(t.virtualSize-a)}if(u&&n.loop){const R=m[0]+w;if(n.slidesPerGroup>1){const D=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/n.slidesPerGroup),M=R*n.slidesPerGroup;for(let S=0;S<D;S+=1)p.push(p[p.length-1]+M)}for(let D=0;D<t.virtual.slidesBefore+t.virtual.slidesAfter;D+=1)n.slidesPerGroup===1&&p.push(p[p.length-1]+R),b.push(b[b.length-1]+R),t.virtualSize+=R}if(p.length===0&&(p=[0]),w!==0){const R=t.isHorizontal()&&l?"marginLeft":e("marginRight");f.filter((D,M)=>
165!n.cssMode||n.loop?!0:M!==f.length-1).forEach(D=>{D.style[R]=`${w}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let R=0;m.forEach(M=>{R+=M+(w||0)}),R-=w;const D=R-a;p=p.map(M=>M<=0?-v:M>D?D+h:M)}if(n.centerInsufficientSlides){let R=0;if(m.forEach(D=>{R+=D+(w||0)}),R-=w,R<a){const D=(a-R)/2;p.forEach((M,S)=>{p[S]=M-D}),b.forEach((M,S)=>{b[S]=M+D})}}if(Object.assign(t,{slides:f,snapGrid:p,slidesGrid:b,slidesSizesGrid:m}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){Gn(i,"--swiper-centered-offset-before",`${-p[0]}px`),Gn(i,"--swiper-centered-offset-after",`${t.size/2-m[m.length-1]/2}px`);const R=-t.snapGrid[0],D=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(M=>M+R),t.slidesGrid=t.slidesGrid.map(M=>M+D)}if(d!==c&&t.emit("slidesLengthChange"),p.length!==y&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),b.length!==g&&t.emit("slidesGridLengthChange"),n.watchSlidesProgress&&t.updateSlidesOffset(),!u&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const R=`${n.containerModifierClass}backface-hidden`,D=t.el.classList.contains(R);d<=n.maxBackfaceHiddenSlides?D||t.el.classList.add(R):D&&t.el.classList.remove(R)}}function Rm(t){const e=this,r=[],n=e.virtual&&e.params.virtual.enabled;let i=0,s;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const a=l=>n?e.slides[e.getSlideIndexByData(l)]:e.slides[l];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(l=>{r.push(l)});else for(s=0;s<Math.ceil(e.params.slidesPerView);s+=1){const l=e.activeIndex+s;if(l>e.slides.length&&!n)break;r.push(a(l))}else r.push(a(e.activeIndex));for(s=0;s<r.length;s+=1)if(typeof r[s]!="undefined"){const l=r[s].offsetHeight;i=l>i?l:i}(i||i===0)&&(e.wrapperEl.style.height=`${i}px`)}function km(){const t=this,e=t.slides,r=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-r-t.cssOverflowAdjustment()}function Lm(t){t===void 0&&(t=this&&this.translate||0);const e=this,r=e.params,{slides:n,rtlTranslate:i,snapGrid:s}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset=="undefined"&&e.updateSlidesOffset();let a=-t;i&&(a=t),n.forEach(o=>{o.classList.remove(r.slideVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let l=r.spaceBetween;typeof l=="string"&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*e.size:typeof l=="string"&&(l=parseFloat(l));for(let o=0;o<n.length;o+=1){const u=n[o];let c=u.swiperSlideOffset;r.cssMode&&r.centeredSlides&&(c-=n[0].swiperSlideOffset);const f=(a+(r.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+l),d=(a-s[0]+(r.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+l),p=-(a-c),b=p+e.slidesSizesGrid[o];(p>=0&&p<e.size-1||b>1&&b<=e.size||p<=0&&b>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(o),n[o].classList.add(r.slideVisibleClass)),u.progress=i?-f:f,u.originalProgress=i?-d:d}}function Nm(t){const e=this;if(typeof t=="undefined"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const r=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:i,isBeginning:s,isEnd:a,progressLoop:l}=e;const o=s,u=a;if(n===0)i=0,s=!0,a=!0;else{i=(t-e.minTranslate())/n;const c=Math.abs(t-e.minTranslate())<1,f=Math.abs(t-e.maxTranslate())<1;s=c||i<=0,a=f||i>=1,c&&(i=0),f&&(i=1)}if(r.loop){const c=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),d=e.slidesGrid[c],p=e.slidesGrid[f],b=e.slidesGrid[e.slidesGrid.length-1],m=Math.abs(t);m>=d?l=(m-d)/b:l=(m+b-p)/b,l>1&&(l-=1)}Object.assign(e,{progress:i,progressLoop:l,isBeginning:s,isEnd:a}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&e.updateSlidesProgress(t),s&&!o&&e.emit("reachBeginning toEdge"),a&&!u&&e.emit("reachEnd toEdge"),(o&&!s||u&&!a)&&e.emit("fromEdge"),e.emit("progress",i)}function Fm(){const t=this,{slides:e,params:r,slidesEl:n,activeIndex:i}=t,s=t.virtual&&r.virtual.enabled,a=o=>mt(n,`.${r.slideClass}${o}, swiper-slide${o}`)[0];e.forEach(o=>{o.classList.remove(r.slideActiveClass,r.slideNextClass,r.slidePrevClass)});let l;if(s)if(r.loop){let o=i-t.virtual.slidesBefore;o<0&&(o=t.virtual.slides.length+o),o>=t.virtual.slides.length&&(o-=t.virtual.slides.length),l=a(`[data-swiper-slide-index="${o}"]`)}else l=a(`[data-swiper-slide-index="${i}"]`);else l=e[i];if(l){l.classList.add(r.slideActiveClass);let o=wm(l,`.${r.slideClass}, swiper-slide`)[0];r.loop&&!o&&(o=e[0]),o&&o.classList.add(r.slideNextClass);let u=Em(l,`.${r.slideClass}, swiper-slide`)[0];r.loop&&!u===0&&(u=e[e.length-1]),u&&u.classList.add(r.slidePrevClass)}t.emitSlidesClasses()}const Hn=(t,e)=>{if(!t||t.destroyed||!t.params)return;const r=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,n=e.closest(r());if(n){let i=n.querySelector(`.${t.params.lazyPreloaderClass}`);!i&&t.isElement&&(n.shadowRoot?i=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(i=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),i&&i.remove())}
165)),i&&i.remove()}},Es=(t,e)=>{if(!t.slides[e])return;const r=t.slides[e].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},ws=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const r=t.slides.length;if(!r||!e||e<0)return;e=Math.min(e,r);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),i=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const a=i,l=[a-e];l.push(...Array.from({length:e}).map((o,u)=>a+n+u)),t.slides.forEach((o,u)=>{l.includes(o.column)&&Es(t,u)});return}const s=i+n-1;if(t.params.rewind||t.params.loop)for(let a=i-e;a<=s+e;a+=1){const l=(a%r+r)%r;(l<i||l>s)&&Es(t,l)}else for(let a=Math.max(i-e,0);a<=Math.min(s+e,r-1);a+=1)a!==i&&(a>s||a<i)&&Es(t,a)};function zm(t){const{slidesGrid:e,params:r}=t,n=t.rtlTranslate?t.translate:-t.translate;let i;for(let s=0;s<e.length;s+=1)typeof e[s+1]!="undefined"?n>=e[s]&&n<e[s+1]-(e[s+1]-e[s])/2?i=s:n>=e[s]&&n<e[s+1]&&(i=s+1):n>=e[s]&&(i=s);return r.normalizeSlideIndex&&(i<0||typeof i=="undefined")&&(i=0),i}function jm(t){const e=this,r=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:i,activeIndex:s,realIndex:a,snapIndex:l}=e;let o=t,u;const c=d=>{let p=d-e.virtual.slidesBefore;return p<0&&(p=e.virtual.slides.length+p),p>=e.virtual.slides.length&&(p-=e.virtual.slides.length),p};if(typeof o=="undefined"&&(o=zm(e)),n.indexOf(r)>=0)u=n.indexOf(r);else{const d=Math.min(i.slidesPerGroupSkip,o);u=d+Math.floor((o-d)/i.slidesPerGroup)}if(u>=n.length&&(u=n.length-1),o===s){u!==l&&(e.snapIndex=u,e.emit("snapIndexChange")),e.params.loop&&e.virtual&&e.params.virtual.enabled&&(e.realIndex=c(o));return}let f;e.virtual&&i.virtual.enabled&&i.loop?f=c(o):e.slides[o]?f=parseInt(e.slides[o].getAttribute("data-swiper-slide-index")||o,10):f=o,Object.assign(e,{previousSnapIndex:l,snapIndex:u,previousRealIndex:a,realIndex:f,previousIndex:s,activeIndex:o}),e.initialized&&ws(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(a!==f&&e.emit("realIndexChange"),e.emit("slideChange"))}function Bm(t,e){const r=this,n=r.params;let i=t.closest(`.${n.slideClass}, swiper-slide`);!i&&r.isElement&&e&&e.length>
1651&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(l=>{!i&&l.matches&&l.matches(`.${n.slideClass}, swiper-slide`)&&(i=l)});let s=!1,a;if(i){for(let l=0;l<r.slides.length;l+=1)if(r.slides[l]===i){s=!0,a=l;break}}if(i&&s)r.clickedSlide=i,r.virtual&&r.params.virtual.enabled?r.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):r.clickedIndex=a;else{r.clickedSlide=void 0,r.clickedIndex=void 0;return}n.slideToClickedSlide&&r.clickedIndex!==void 0&&r.clickedIndex!==r.activeIndex&&r.slideToClickedSlide()}var Vm={updateSize:Am,updateSlides:Im,updateAutoHeight:Rm,updateSlidesOffset:km,updateSlidesProgress:Lm,updateProgress:Nm,updateSlidesClasses:Fm,updateActiveIndex:jm,updateClickedSlide:Bm};function $m(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:r,rtlTranslate:n,translate:i,wrapperEl:s}=e;if(r.virtualTranslate)return n?-i:i;if(r.cssMode)return i;let a=ym(s,t);return a+=e.cssOverflowAdjustment(),n&&(a=-a),a||0}function Wm(t,e){const r=this,{rtlTranslate:n,params:i,wrapperEl:s,progress:a}=r;let l=0,o=0;const u=0;r.isHorizontal()?l=n?-t:t:o=t,i.roundLengths&&(l=Math.floor(l),o=Math.floor(o)),r.previousTranslate=r.translate,r.translate=r.isHorizontal()?l:o,i.cssMode?s[r.isHorizontal()?"scrollLeft":"scrollTop"]=r.isHorizontal()?-l:-o:i.virtualTranslate||(r.isHorizontal()?l-=r.cssOverflowAdjustment():o-=r.cssOverflowAdjustment(),s.style.transform=`translate3d(${l}px, ${o}px, ${u}px)`);let c;const f=r.maxTranslate()-r.minTranslate();f===0?c=0:c=(t-r.minTranslate())/f,c!==a&&r.updateProgress(t),r.emit("setTranslate",r.translate,e)}function Um(){return-this.snapGrid[0]}function qm(){return-this.snapGrid[this.snapGrid.length-1]}function Gm(t,e,r,n,i){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),r===void 0&&(r=!0),n===void 0&&(n=!0);const s=this,{params:a,wrapperEl:l}=s;if(s.animating&&a.preventInteractionOnTransition)return!1;const o=s.minTranslate(),u=s.maxTranslate();let c;if(n&&t>o?c=o:n&&t<u?c=u:c=t,s.updateProgress(c),a.cssMode){const f=s.isHorizontal();if(e===0)l[f?"scrollLeft":"scrollTop"]=-c;else{if(!s.support.smoothScroll)return Rl({swiper:s,targetPosition:-c,side:f?"left":"top"}),!0;
165l.scrollTo({[f?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(s.setTransition(0),s.setTranslate(c),r&&(s.emit("beforeTransitionStart",e,i),s.emit("transitionEnd"))):(s.setTransition(e),s.setTranslate(c),r&&(s.emit("beforeTransitionStart",e,i),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(d){!s||s.destroyed||d.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,r&&s.emit("transitionEnd"))}),s.wrapperEl.addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd))),!0}var Hm={getTranslate:$m,setTranslate:Wm,minTranslate:Um,maxTranslate:qm,translateTo:Gm};function Qm(t,e){const r=this;r.params.cssMode||(r.wrapperEl.style.transitionDuration=`${t}ms`,r.wrapperEl.style.transitionDelay=t===0?"0ms":""),r.emit("setTransition",t,e)}function zl(t){let{swiper:e,runCallbacks:r,direction:n,step:i}=t;const{activeIndex:s,previousIndex:a}=e;let l=n;if(l||(s>a?l="next":s<a?l="prev":l="reset"),e.emit(`transition${i}`),r&&s!==a){if(l==="reset"){e.emit(`slideResetTransition${i}`);return}e.emit(`slideChangeTransition${i}`),l==="next"?e.emit(`slideNextTransition${i}`):e.emit(`slidePrevTransition${i}`)}}function Ym(t,e){t===void 0&&(t=!0);const r=this,{params:n}=r;n.cssMode||(n.autoHeight&&r.updateAutoHeight(),zl({swiper:r,runCallbacks:t,direction:e,step:"Start"}))}function Xm(t,e){t===void 0&&(t=!0);const r=this,{params:n}=r;r.animating=!1,!n.cssMode&&(r.setTransition(0),zl({swiper:r,runCallbacks:t,direction:e,step:"End"}))}var Km={setTransition:Qm,transitionStart:Ym,transitionEnd:Xm};function Jm(t,e,r,n,i){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),r===void 0&&(r=!0),typeof t=="string"&&(t=parseInt(t,10));const s=this;let a=t;a<0&&(a=0);const{params:l,snapGrid:o,slidesGrid:u,previousIndex:c,activeIndex:f,rtlTranslate:d,wrapperEl:p,enabled:b}=s;if(s.animating&&l.preventInteractionOnTransition||!b&&!n&&!i)return!1;const m=Math.min(s.params.slidesPerGroupSkip,a);let v=m+Math.floor((a-m)/s.params.slidesPerGroup);v>=o.length&&(v=o.length-1);const h=-o[v];if(l.normalizeSlideIndex)for(let g=0;g<u.length;g+=1){const w=-Math.floor(h*100),T=Math.floor(u[g]*100),x=Math.floor(u[g+1]*100);typeof u[g+1]!="undefined"?w>=T&&w<x-(x-T)/2?a=g:w>=T&&w<x&&(a=g+1):w>=T&&(a=g)}if(s.initialized&&a!==f&&(!s.allowSlideNext&&(d?h>s.translate&&h>s.minTranslate():h<s.translate&&h<s.minTranslate())||!s.allowSlidePrev&&h>s.translate&&h>s.maxTranslate()&&(f||0)!==a))return!1;a!==(c||0)&&r&&s.emit("beforeSlideChangeStart"),s.updateProgress(h);let y;if(a>f?y="next":a<f?y="prev":y="reset",d&&-h===s.translate||!d&&h===s.translate)return s.updateActiveIndex(a),l.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),l.effect!=="slide"&&s.setTranslate(h),y!=="reset"&&(s.transitionStart(r,y),s.transitionEnd(r,y)),!1;if(l.cssMode){const g=s.isHorizontal(),w=d?h:-h;if(e===0){const T=s.virtual&&s.params.virtual.enabled;T&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),T&&!s._cssModeVirtualInitialSet&&s.params.initialSlide>0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[g?"scrollLeft":"scrollTop"]=w})):p[g?"scrollLeft":"scrollTop"]=w,T&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1})}else{if(!s.support.smoothScroll)return Rl({swiper:s,targetPosition:w,side:g?"left":"top"}),!0;p.scrollTo({[g?"left":"top"]:w,behavior:"smooth"})}return!0}return s.setTransition(e),s.setTranslate(h),s.updateActiveIndex(a),s.updateSlidesClasses(),s.emit("beforeTransitionStart",e,n),s.transitionStart(r,y),e===0?s.transitionEnd(r,y):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(w){!s||s.destroyed||w.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(r,y))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0}function Zm(t,e,r,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),r===void 0&&(r=!0),typeof t=="string"&&(t=parseInt(t,10));const i=this;let s=t;return i.params.loop&&(i.virtual&&i.params.virtual.enabled?s=s+i.virtual.slidesBefore:s=i.getSlideIndexByData(s)),i.slideTo(s,e,r,n)}function ev(t,e,r){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:i,params:s,animating:a}=n;
165if(!i)return n;let l=s.slidesPerGroup;s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(l=Math.max(n.slidesPerViewDynamic("current",!0),1));const o=n.activeIndex<s.slidesPerGroupSkip?1:l,u=n.virtual&&s.virtual.enabled;if(s.loop){if(a&&!u&&s.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+o,t,e,r)}),!0}return s.rewind&&n.isEnd?n.slideTo(0,t,e,r):n.slideTo(n.activeIndex+o,t,e,r)}function tv(t,e,r){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:i,snapGrid:s,slidesGrid:a,rtlTranslate:l,enabled:o,animating:u}=n;if(!o)return n;const c=n.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const f=l?n.translate:-n.translate;function d(h){return h<0?-Math.floor(Math.abs(h)):Math.floor(h)}const p=d(f),b=s.map(h=>d(h));let m=s[b.indexOf(p)-1];if(typeof m=="undefined"&&i.cssMode){let h;s.forEach((y,g)=>{p>=y&&(h=g)}),typeof h!="undefined"&&(m=s[h>0?h-1:h])}let v=0;if(typeof m!="undefined"&&(v=a.indexOf(m),v<0&&(v=n.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(v=v-n.slidesPerViewDynamic("previous",!0)+1,v=Math.max(v,0))),i.rewind&&n.isBeginning){const h=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(h,t,e,r)}else if(i.loop&&n.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{n.slideTo(v,t,e,r)}),!0;return n.slideTo(v,t,e,r)}function rv(t,e,r){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this;return n.slideTo(n.activeIndex,t,e,r)}function nv(t,e,r,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),n===void 0&&(n=.5);const i=this;let s=i.activeIndex;const a=Math.min(i.params.slidesPerGroupSkip,s),l=a+Math.floor((s-a)/i.params.slidesPerGroup),o=i.rtlTranslate?i.translate:-i.translate;if(o>=i.snapGrid[l]){const u=i.snapGrid[l],c=i.snapGrid[l+1];o-u>(c-u)*n&&(s+=i.params.slidesPerGroup)}else{const u=i.snapGrid[l-1],c=i.snapGrid[l];o-u<=(c-u)*n&&(s-=i.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,i.slidesGrid.length-1),i.slideTo(s,t,e,r)}function iv(){const t=this,{params:e,slidesEl:r}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let i=t.clickedIndex,s;const a=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;s=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?i<t.loopedSlides-n/2||i>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),i=t.getSlideIndex(mt(r,`${a}[data-swiper-slide-index="${s}"]`)[0]),vs(()=>{t.slideTo(i)})):t.slideTo(i):i>t.slides.length-n?(t.loopFix(),i=t.getSlideIndex(mt(r,`${a}[data-swiper-slide-index="${s}"]`)[0]),vs(()=>{t.slideTo(i)})):t.slideTo(i)}else t.slideTo(i)}var sv={slideTo:Jm,slideToLoop:Zm,slideNext:ev,slidePrev:tv,slideReset:rv,slideToClosest:nv,slideToClickedSlide:iv};function av(t){const e=this,{params:r,slidesEl:n}=e;if(!r.loop||e.virtual&&e.params.virtual.enabled)return;mt(n,`.${r.slideClass}, swiper-slide`).forEach((s,a)=>{s.setAttribute("data-swiper-slide-index",a)}),e.loopFix({slideRealIndex:t,direction:r.centeredSlides?void 0:"next"})}function ov(t){let{slideRealIndex:e,slideTo:r=!0,direction:n,setTranslate:i,activeSlideIndex:s,byController:a,byMousewheel:l}=t===void 0?{}:t;const o=this;if(!o.params.loop)return;o.emit("beforeLoopFix");const{slides:u,allowSlidePrev:c,allowSlideNext:f,slidesEl:d,params:p}=o;if(o.allowSlidePrev=!0,o.allowSlideNext=!0,o.virtual&&p.virtual.enabled){r&&(!p.centeredSlides&&o.snapIndex===0?o.slideTo(o.virtual.slides.length,0,!1,!0):p.centeredSlides&&o.snapIndex<p.slidesPerView?o.slideTo(o.virtual.slides.length+o.snapIndex,0,!1,!0):o.snapIndex===o.snapGrid.length-1&&o.slideTo(o.virtual.slidesBefore,0,!1,!0)),o.allowSlidePrev=c,o.allowSlideNext=f,o.emit("loopFix");return}const b=p.slidesPerView==="auto"?o.slidesPerViewDynamic():Math.ceil(parseFloat(p.slidesPerView,10));let m=p.loopedSlides||b;m%p.slidesPerGroup!==0&&(m+=p.slidesPerGroup-m%p.slidesPerGroup),o.loopedSlides=m;const v=[],h=[];let y=o.activeIndex;typeof s=="undefined"?s=o.getSlideIndex(o.slides.filter(P=>P.classList.contains(p.slideActiveClass))[0]):y=s;const g=n==="next"||!n,w=n==="prev"||!n;let T=0,x=0;if(s<m){T=Math.max(m-s,p.slidesPerGroup);for(let P=0;P<m-s;P+=1){const I=P-Math.floor(P/u.length)*u.length;v.push(u.length-I-1)}}else if(s>o.slides.length-m*2){x=Math.max(s-(o.slides.length-m*2),p.slidesPerGroup);for(let P=0;P<x;P+=1){const I=P-Math.floor(P/u.length)*u.length;h.push(I)}}if(w&&v.forEach(P=>{o.slides[P].swiperLoopMoveDOM=!0,d.prepend(o.slides[P]),o.slides[P].swiperLoopMoveDOM=!1}),g&&h.forEach(P=>{o.slides[P].swiperLoopMoveDOM=!0,d.append(o.slides[P]),o.slides[P].swiperLoopMoveDOM=!1}),o.recalcSlides(),p.slidesPerView==="auto"&&o.updateSlides(),p.watchSlidesProgress&&o.updateSlidesOffset(),r){if(v.length>0&&w)if(typeof e=="undefined"){const P=o.slidesGrid[y],O=o.slidesGrid[y+T]-P;l?o.setTranslate(o.translate-O):(o.slideTo(y+T,0,!1,!0),i&&(o.touches[o.isHorizontal()?"startX":"startY"]+=O,o.touchEventsData.currentTranslate=o.translate))}else i&&(o.slideToLoop(e,0,!1,!0),o.touchEventsData.currentTranslate=o.translate);else if(h.length>0&&g)if(typeof e=="undefined"){const P=o.slidesGrid[y],O=o.slidesGrid[y-x]-P;l?o.setTranslate(o.translate-O):(o.slideTo(y-x,0,!1,!0),i&&(o.touches[o.isHorizontal()?"startX":"startY"]+=O,o.touchEventsData.currentTranslate=o.translate))}else o.slideToLoop(e,0,!1,!0)}if(o.allowSlidePrev=c,o.allowSlideNext=f,o.controller&&o.controller.control&&!a){const P={slideRealIndex:e,direction:n,setTranslate:i,activeSlideIndex:s,byController:!0};Array.isArray(o.controller.control)?o.controller.control.forEach(I=>{!I.destroyed&&I.params.loop&&I.loopFix({...P,slideTo:I.params.slidesPerView===p.slidesPerView?r:!1})}):o.controller.control instanceof o.constructor&&o.controller.control.params.loop&&o.controller.control.loopFix({...P,slideTo:o.controller.control.params.slidesPerView===p.slidesPerView?r:!1})}o.emit("loopFix")}function lv(){const t=this,{params:e,slidesEl:r}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];
165t.slides.forEach(i=>{const s=typeof i.swiperSlideIndex=="undefined"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;n[s]=i}),t.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),n.forEach(i=>{r.append(i)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var uv={loopCreate:av,loopFix:ov,loopDestroy:lv};function cv(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const r=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function fv(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var dv={setGrabCursor:cv,unsetGrabCursor:fv};function pv(t,e){e===void 0&&(e=this);function r(n){if(!n||n===Ht()||n===Ze())return null;n.assignedSlot&&(n=n.assignedSlot);const i=n.closest(t);return!i&&!n.getRootNode?null:i||r(n.getRootNode().host)}return r(e)}function hv(t){const e=this,r=Ht(),n=Ze(),i=e.touchEventsData;i.evCache.push(t);const{params:s,touches:a,enabled:l}=e;if(!l||!s.simulateTouch&&t.pointerType==="mouse"||e.animating&&s.preventInteractionOnTransition)return;!e.animating&&s.cssMode&&s.loop&&e.loopFix();let o=t;o.originalEvent&&(o=o.originalEvent);let u=o.target;if(s.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(u)||"which"in o&&o.which===3||"button"in o&&o.button>0||i.isTouched&&i.isMoved)return;const c=!!s.noSwipingClass&&s.noSwipingClass!=="",f=t.composedPath?t.composedPath():t.path;c&&o.target&&o.target.shadowRoot&&f&&(u=f[0]);const d=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,p=!!(o.target&&o.target.shadowRoot);if(s.noSwiping&&(p?pv(d,u):u.closest(d))){e.allowClick=!0;return}if(s.swipeHandler&&!u.closest(s.swipeHandler))return;a.currentX=o.pageX,a.currentY=o.pageY;const b=a.currentX,m=a.currentY,v=s.edgeSwipeDetection||s.iOSEdgeSwipeDetection,h=s.edgeSwipeThreshold||s.iOSEdgeSwipeThreshold;if(v&&(b<=h||b>=n.innerWidth-h))if(v==="prevent")t.preventDefault();else return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=b,a.startY=m,i.touchStartTime=Un(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,s.threshold>0&&(i.allowThresholdMove=!1);let y=!0;u.matches(i.focusableElements)&&(y=!1,u.nodeName==="SELECT"&&(i.isTouched=!1)),r.activeElement&&r.activeElement.matches(i.focusableElements)&&r.activeElement!==u&&r.activeElement.blur();const g=y&&e.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||g)&&!u.isContentEditable&&o.preventDefault(),s.freeMode&&s.freeMode.enabled&&e.freeMode&&e.animating&&!s.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",o)}function mv(t){const e=Ht(),r=this,n=r.touchEventsData,{params:i,touches:s,rtlTranslate:a,enabled:l}=r;if(!l||!i.simulateTouch&&t.pointerType==="mouse")return;let o=t;if(o.originalEvent&&(o=o.originalEvent),!n.isTouched){n.startMoving&&n.isScrolling&&r.emit("touchMoveOpposite",o);return}const u=n.evCache.findIndex(P=>P.pointerId===o.pointerId);u>=0&&(n.evCache[u]=o);const c=n.evCache.length>1?n.evCache[0]:o,f=c.pageX,d=c.pageY;if(o.preventedByNestedSwiper){s.startX=f,s.startY=d;return}if(!r.allowTouchMove){o.target.matches(n.focusableElements)||(r.allowClick=!1),n.isTouched&&(Object.assign(s,{startX:f,startY:d,prevX:r.touches.currentX,prevY:r.touches.currentY,currentX:f,currentY:d}),n.touchStartTime=Un());return}if(i.touchReleaseOnEdges&&!i.loop){if(r.isVertical()){if(d<s.startY&&r.translate<=r.maxTranslate()||d>s.startY&&r.translate>=r.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(f<s.startX&&r.translate<=r.maxTranslate()||f>s.startX&&r.translate>=r.minTranslate())return}if(e.activeElement&&o.target===e.activeElement&&o.target.matches(n.focusableElements)){n.isMoved=!0,r.allowClick=!1;return}if(n.allowTouchCallbacks&&r.emit("touchMove",o),o.targetTouches&&o.targetTouches.length>1)return;s.currentX=f,s.currentY=d;const p=s.currentX-s.startX,b=s.currentY-s.startY;if(r.params.threshold&&Math.sqrt(p**2+b**2)<r.params.threshold)return;if(typeof n.isScrolling=="undefined"){let P;r.isHorizontal()&&s.currentY===s.startY||r.isVertical()&&s.currentX===s.startX?n.isScrolling=!1:p*p+b*b>=25&&(P=Math.atan2(Math.abs(b),Math.abs(p))*180/Math.PI,n.isScrolling=r.isH
165orizontal()?P>i.touchAngle:90-P>i.touchAngle)}if(n.isScrolling&&r.emit("touchMoveOpposite",o),typeof n.startMoving=="undefined"&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(n.startMoving=!0),n.isScrolling||r.zoom&&r.params.zoom&&r.params.zoom.enabled&&n.evCache.length>1){n.isTouched=!1;return}if(!n.startMoving)return;r.allowClick=!1,!i.cssMode&&o.cancelable&&o.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&o.stopPropagation();let m=r.isHorizontal()?p:b,v=r.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;i.oneWayMovement&&(m=Math.abs(m)*(a?1:-1),v=Math.abs(v)*(a?1:-1)),s.diff=m,m*=i.touchRatio,a&&(m=-m,v=-v);const h=r.touchesDirection;r.swipeDirection=m>0?"prev":"next",r.touchesDirection=v>0?"prev":"next";const y=r.params.loop&&!i.cssMode,g=r.swipeDirection==="next"&&r.allowSlideNext||r.swipeDirection==="prev"&&r.allowSlidePrev;if(!n.isMoved){if(y&&g&&r.loopFix({direction:r.swipeDirection}),n.startTranslate=r.getTranslate(),r.setTransition(0),r.animating){const P=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});r.wrapperEl.dispatchEvent(P)}n.allowMomentumBounce=!1,i.grabCursor&&(r.allowSlideNext===!0||r.allowSlidePrev===!0)&&r.setGrabCursor(!0),r.emit("sliderFirstMove",o)}let w;n.isMoved&&h!==r.touchesDirection&&y&&g&&Math.abs(m)>=1&&(r.loopFix({direction:r.swipeDirection,setTranslate:!0}),w=!0),r.emit("sliderMove",o),n.isMoved=!0,n.currentTranslate=m+n.startTranslate;let T=!0,x=i.resistanceRatio;if(i.touchReleaseOnEdges&&(x=0),m>0?(y&&g&&!w&&n.currentTranslate>(i.centeredSlides?r.minTranslate()-r.size/2:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>r.minTranslate()&&(T=!1,i.resistance&&(n.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+n.startTranslate+m)**x))):m<0&&(y&&g&&!w&&n.currentTranslate<(i.centeredSlides?r.maxTranslate()+r.size/2:r.maxTranslate())&&r.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:r.slides.length-(i.slidesPerView==="auto"?r.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),n.currentTranslate<r.maxTranslate()&&(T=!1,i.resistance&&(n.currentTranslate=r.maxTranslate()+1-(r.maxTranslate()-n.startTranslate-m)**x))),T&&(o.preventedByNestedSwiper=!0),!r.allowSlideNext&&r.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!r.allowSlidePrev&&r.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!r.allowSlidePrev&&!r.allowSlideNext&&(n.currentTranslate=n.startTranslate),i.threshold>0)if(Math.abs(m)>i.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,n.currentTranslate=n.startTranslate,s.diff=r.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY;return}}else{n.currentTranslate=n.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&r.freeMode||i.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(n.currentTranslate),r.setTranslate(n.currentTranslate))}function vv(t){const e=this,r=e.touchEventsData,n=r.evCache.findIndex(g=>g.pointerId===t.pointerId);if(n>=0&&r.evCache.splice(n,1),["pointercancel","pointerout","pointerleave","contextmenu"].includes(t.type)&&!(["pointercancel","contextmenu"].includes(t.type)&&(e.browser.isSafari||e.browser.isWebView)))return;const{params:i,touches:s,rtlTranslate:a,slidesGrid:l,enabled:o}=e;if(!o||!i.simulateTouch&&t.pointerType==="mouse")return;let u=t;if(u.originalEvent&&(u=u.originalEvent),r.allowTouchCallbacks&&e.emit("touchEnd",u),r.allowTouchCallbacks=!1,!r.isTouched){r.isMoved&&i.grabCursor&&e.setGrabCursor(!1),r.isMoved=!1,r.startMoving=!1;return}i.grabCursor&&r.isMoved&&r.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const c=Un(),f=c-r.touchStartTime;if(e.allowClick){const g=u.path||u.composedPath&&u.composedPath();e.updateClickedSlide(g&&g[0]||u.target,g),e.emit("tap click",u),f<300&&c-r.lastClickTime<300&&e.emit("doubleTap doubleClick",u)}if(r.lastClickTime=Un(),vs(()=>{e.destroyed||(e.allowClick=!0)}),!r.isTouched||!r.isMoved||!e.swipeDirection||s.diff===0||r.currentTranslate===r.startTranslate){r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;return}r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;let d;if(i.followFinger?d=a?e.translate:-e.translate:d=-r.currentTranslate,i.cssMode)return;if(i.freeMode&&i.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:d});return}let p=0,b=e.slidesSizesGrid[0];for(let g=0;g<l.length;g+=g<i.slidesPerGroupSkip?1:i.slidesPerGroup){const w=g<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;typeof l[g+w]!="undefined"?d>=l[g]&&d<l[g+w]&&(p=g,b=l[g+w]-l[g]):d>=l[g]&&(p=g,b=l[l.length-1]-l[l.length-2])}let m=null,v=null;i.rewind&&(e.isBeginning?v=i.virtual&&i.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(m=0));const h=(d-l[p])/b,y=p<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(f>i.longSwipesMs){if(!i.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(h>=i.longSwipesRatio?e.slideTo(i.rewind&&e.isEnd?m:p+y):e.slideTo(p)),e.swipeDirection==="prev"&&(h>1-i.longSwipesRatio?e.slideTo(p+y):v!==null&&h<0&&Math.abs(h)>i.longSwipesRatio?e.slideTo(v):e.slideTo(p))}else{if(!i.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(u.target===e.navigation.nextEl||u.target===e.navigation.prevEl)?u.target===e.navigation.nextEl?e.slideTo(p+y):e.slideTo(p):(e.swipeDirection==="next"&&e.slideTo(m!==null?m:p+y),e.swipeDirection==="prev"&&e.slideTo(v!==null?v:p))}}function jl(){const t=this,{params:e,el:r}=t;if(r&&r.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:i,snapGrid:s}=t,a=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const l=a&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!l?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!a?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=i,t.allowSlideNext=n,t.params.watchOverflow&&s!==t.snapGrid&&t.checkOverflow()}
165function gv(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function yv(){const t=this,{wrapperEl:e,rtlTranslate:r,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let i;const s=t.maxTranslate()-t.minTranslate();s===0?i=0:i=(t.translate-t.minTranslate())/s,i!==t.progress&&t.updateProgress(r?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function bv(t){const e=this;Hn(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}let Bl=!1;function Ev(){}const Vl=(t,e)=>{const r=Ht(),{params:n,el:i,wrapperEl:s,device:a}=t,l=!!n.nested,o=e==="on"?"addEventListener":"removeEventListener",u=e;i[o]("pointerdown",t.onTouchStart,{passive:!1}),r[o]("pointermove",t.onTouchMove,{passive:!1,capture:l}),r[o]("pointerup",t.onTouchEnd,{passive:!0}),r[o]("pointercancel",t.onTouchEnd,{passive:!0}),r[o]("pointerout",t.onTouchEnd,{passive:!0}),r[o]("pointerleave",t.onTouchEnd,{passive:!0}),r[o]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&i[o]("click",t.onClick,!0),n.cssMode&&s[o]("scroll",t.onScroll),n.updateOnWindowResize?t[u](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",jl,!0):t[u]("observerUpdate",jl,!0),i[o]("load",t.onLoad,{capture:!0})};function wv(){const t=this,e=Ht(),{params:r}=t;t.onTouchStart=hv.bind(t),t.onTouchMove=mv.bind(t),t.onTouchEnd=vv.bind(t),r.cssMode&&(t.onScroll=yv.bind(t)),t.onClick=gv.bind(t),t.onLoad=bv.bind(t),Bl||(e.addEventListener("touchstart",Ev),Bl=!0),Vl(t,"on")}function _v(){Vl(this,"off")}var Sv={attachEvents:wv,detachEvents:_v};const $l=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function Tv(){const t=this,{realIndex:e,initialized:r,params:n,el:i}=t,s=n.breakpoints;if(!s||s&&Object.keys(s).length===0)return;const a=t.getBreakpoint(s,t.params.breakpointsBase,t.el);if(!a||t.currentBreakpoint===a)return;const o=(a in s?s[a]:void 0)||t.originalParams,u=$l(t,n),c=$l(t,o),f=n.enabled;u&&!c?(i.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&c&&(i.classList.add(`${n.containerModifierClass}grid`),(o.grid.fill&&o.grid.fill==="column"||!o.grid.fill&&n.grid.fill==="column")&&i.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(h=>{if(typeof o[h]=="undefined")return;const y=n[h]&&n[h].enabled,g=o[h]&&o[h].enabled;y&&!g&&t[h].disable(),!y&&g&&t[h].enable()});const d=o.direction&&o.direction!==n.direction,p=n.loop&&(o.slidesPerView!==n.slidesPerView||d),b=n.loop;d&&r&&t.changeDirection(),et(t.params,o);const m=t.params.enabled,v=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),f&&!m?t.disable():!f&&m&&t.enable(),t.currentBreakpoint=a,t.emit("_beforeBreakpoint",o),r&&(p?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!b&&v?(t.loopCreate(e),t.updateSlides()):b&&!v&&t.loopDestroy()),t.emit("breakpoint",o)}function xv(t,e,r){if(e===void 0&&(e="window"),!t||e==="container"&&!r)return;let n=!1;const i=Ze(),s=e==="window"?i.innerHeight:r.clientHeight,a=Object.keys(t).map(l=>{if(typeof l=="string"&&l.indexOf("@")===0){const o=parseFloat(l.substr(1));return{value:s*o,point:l}}return{value:l,point:l}});a.sort((l,o)=>parseInt(l.value,10)-parseInt(o.value,10));for(let l=0;l<a.length;l+=1){const{point:o,value:u}=a[l];e==="window"?i.matchMedia(`(min-width: ${u}px)`).matches&&(n=o):u<=r.clientWidth&&(n=o)}return n||"max"}var Ov={setBreakpoint:Tv,getBreakpoint:xv};function Cv(t,e){const r=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(i=>{n[i]&&r.push(e+i)}):typeof n=="string"&&r.push(e+n)}),r}function Pv(){const t=this,{classNames:e,params:r,rtl:n,el:i,device:s}=t,a=Cv(["initialized",r.direction,{"free-mode":t.params.freeMode&&r.freeMode.enabled},{autoheight:r.autoHeight},{rtl:n},{grid:r.grid&&r.grid.rows>1},{"grid-column":r.grid&&r.grid.rows>1&&r.grid.fill==="column"},{android:s.android},{ios:s.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}],r.containerModifierClass);e.push(...a),i.classList.add(...e),t.emitContainerClasses()}function Mv(){const t=this,{el:e,classNames:r}=t;e.classList.remove(...r),t.emitContainerClasses()}var Dv={addClasses:Pv,removeClasses:Mv};function Av(){const t=this,{isLocked:e,params:r}=t,{slidesOffsetBefore:n}=r;if(n){const i=t.slides.length-1,s=t.slidesGrid[i]+t.slidesSizesGrid[i]+n*2;t.isLocked=t.size>s}else t.isLocked=t.snapGrid.length===1;r.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),r.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var Iv={checkOverflow:Av},_s={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",
165spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Rv(t,e){return function(n){n===void 0&&(n={});const i=Object.keys(n)[0],s=n[i];if(typeof s!="object"||s===null){et(e,n);return}if(t[i]===!0&&(t[i]={enabled:!0}),i==="navigation"&&t[i]&&t[i].enabled&&!t[i].prevEl&&!t[i].nextEl&&(t[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&t[i]&&t[i].enabled&&!t[i].el&&(t[i].auto=!0),!(i in t&&"enabled"in s)){et(e,n);return}typeof t[i]=="object"&&!("enabled"in t[i])&&(t[i].enabled=!0),t[i]||(t[i]={enabled:!1}),et(e,n)}}const Ss={eventsEmitter:Dm,update:Vm,translate:Hm,transition:Km,slide:sv,loop:uv,grabCursor:dv,events:Sv,breakpoints:Ov,checkOverflow:Iv,classes:Dv},Ts={};class at{constructor(){let e,r;for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];i.length===1&&i[0].constructor&&Object.prototype.toString.call(i[0]).slice(8,-1)==="Object"?r=i[0]:[e,r]=i,r||(r={}),r=et({},r),e&&!r.el&&(r.el=e);const a=Ht();if(r.el&&typeof r.el=="string"&&a.querySelectorAll(r.el).length>1){const c=[];return a.querySelectorAll(r.el).forEach(f=>{const d=et({},r,{el:f});c.push(new at(d))}),c}const l=this;l.__swiper__=!0,l.support=Fl(),l.device=xm({userAgent:r.userAgent}),l.browser=Cm(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],r.modules&&Array.isArray(r.modules)&&l.modules.push(...r.modules);const o={};l.modules.forEach(c=>{c({params:r,swiper:l,extendParams:Rv(r,o),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})});const u=et({},_s,o);return l.params=et({},u,Ts,r),l.originalParams=et({},l.params),l.passedParams=et({}
165,r),l.params&&l.params.on&&Object.keys(l.params.on).forEach(c=>{l.on(c,l.params.on[c])}),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return l.params.direction==="horizontal"},isVertical(){return l.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}getSlideIndex(e){const{slidesEl:r,params:n}=this,i=mt(r,`.${n.slideClass}, swiper-slide`),s=Ll(i[0]);return Ll(e)-s}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(r=>r.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:r,params:n}=e;e.slides=mt(r,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,r){const n=this;e=Math.min(Math.max(e,0),1);const i=n.minTranslate(),a=(n.maxTranslate()-i)*e+i;n.translateTo(a,typeof r=="undefined"?0:r),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const r=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",r.join(" "))}getSlideClasses(e){const r=this;return r.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(r.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const r=[];e.slides.forEach(n=>{const i=e.getSlideClasses(n);r.push({slideEl:n,classNames:i}),e.emit("_slideClass",n,i)}),e.emit("_slideClasses",r)}slidesPerViewDynamic(e,r){e===void 0&&(e="current"),r===void 0&&(r=!1);const n=this,{params:i,slides:s,slidesGrid:a,slidesSizesGrid:l,size:o,activeIndex:u}=n;let c=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let f=s[u]?s[u].swiperSlideSize:0,d;for(let p=u+1;p<s.length;p+=1)s[p]&&!d&&(f+=s[p].swiperSlideSize,c+=1,f>o&&(d=!0));for(let p=u-1;p>=0;p-=1)s[p]&&!d&&(f+=s[p].swiperSlideSize,c+=1,f>o&&(d=!0))}else if(e==="current")for(let f=u+1;f<s.length;f+=1)(r?a[f]+l[f]-a[u]<o:a[f]-a[u]<o)&&(c+=1);else for(let f=u-1;f>=0;f-=1)a[u]-a[f]<o&&(c+=1);return c}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:r,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(a=>{a.complete&&Hn(e,a)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function i(){const a=e.rtlTranslate?e.translate*-1:e.translate,l=Math.min(Math.max(a,e.maxTranslate()),e.minTranslate());e.setTranslate(l),e.updateActiveIndex(),e.updateSlidesClasses()}let s;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)i(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const a=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;s=e.slideTo(a.length-1,0,!1,!0)}else s=e.slideTo(e.activeIndex,0,!1,!0);s||i()}n.watchOverflow&&r!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,r){r===void 0&&(r=!0);const n=this,i=n.params.direction;return e||(e=i==="horizontal"?"vertical":"horizontal"),e===i||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${i}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEac
165h(s=>{e==="vertical"?s.style.width="":s.style.height=""}),n.emit("changeDirection"),r&&n.update()),n}changeLanguageDirection(e){const r=this;r.rtl&&e==="rtl"||!r.rtl&&e==="ltr"||(r.rtl=e==="rtl",r.rtlTranslate=r.params.direction==="horizontal"&&r.rtl,r.rtl?(r.el.classList.add(`${r.params.containerModifierClass}rtl`),r.el.dir="rtl"):(r.el.classList.remove(`${r.params.containerModifierClass}rtl`),r.el.dir="ltr"),r.update())}mount(e){const r=this;if(r.mounted)return!0;let n=e||r.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=r,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName==="SWIPER-CONTAINER"&&(r.isElement=!0);const i=()=>`.${(r.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=(()=>n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(i()):mt(n,i())[0])();return!a&&r.params.createElements&&(a=kl("div",r.params.wrapperClass),n.append(a),mt(n,`.${r.params.slideClass}`).forEach(l=>{a.append(l)})),Object.assign(r,{el:n,wrapperEl:a,slidesEl:r.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:a,hostEl:r.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||Lt(n,"direction")==="rtl",rtlTranslate:r.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Lt(n,"direction")==="rtl"),wrongRTL:Lt(a,"display")==="-webkit-box"}),!0}init(e){const r=this;if(r.initialized||r.mount(e)===!1)return r;r.emit("beforeInit"),r.params.breakpoints&&r.setBreakpoint(),r.addClasses(),r.updateSize(),r.updateSlides(),r.params.watchOverflow&&r.checkOverflow(),r.params.grabCursor&&r.enabled&&r.setGrabCursor(),r.params.loop&&r.virtual&&r.params.virtual.enabled?r.slideTo(r.params.initialSlide+r.virtual.slidesBefore,0,r.params.runCallbacksOnInit,!1,!0):r.slideTo(r.params.initialSlide,0,r.params.runCallbacksOnInit,!1,!0),r.params.loop&&r.loopCreate(),r.attachEvents();const i=[...r.el.querySelectorAll('[loading="lazy"]')];return r.isElement&&i.push(...r.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(s=>{s.complete?Hn(r,s):s.addEventListener("load",a=>{Hn(r,a.target)})}),ws(r),r.initialized=!0,ws(r),r.emit("init"),r.emit("afterInit"),r}destroy(e,r){e===void 0&&(e=!0),r===void 0&&(r=!0);const n=this,{params:i,el:s,wrapperEl:a,slides:l}=n;return typeof n.params=="undefined"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),r&&(n.removeClasses(),s.removeAttribute("style"),a.removeAttribute("style"),l&&l.length&&l.forEach(o=>{o.classList.remove(i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),o.removeAttribute("style"),o.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(o=>{n.off(o)}),e!==!1&&(n.el.swiper=null,vm(n)),n.destroyed=!0),null}static extendDefaults(e){et(Ts,e)}static get extendedDefaults(){return Ts}static get defaults(){return _s}static installModule(e){at.prototype.__modules__||(at.prototype.__modules__=[]);const r=at.prototype.__modules__;typeof e=="function"&&r.indexOf(e)<0&&r.push(e)}static use(e){return Array.isArray(e)?(e.forEach(r=>at.installModule(r)),at):(at.installModule(e),at)}}Object.keys(Ss).forEach(t=>{Object.keys(Ss[t]).forEach(e=>{at.prototype[e]=Ss[t][e]})}),at.use([Pm,Mm]);const Wl=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopedSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideNextClass","slidePrevClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Qt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function Yt(t,e){const r=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>
165r.indexOf(n)<0).forEach(n=>{typeof t[n]=="undefined"?t[n]=e[n]:Qt(e[n])&&Qt(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:Yt(t[n],e[n]):t[n]=e[n]})}function Ul(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl=="undefined"&&typeof t.navigation.prevEl=="undefined"}function ql(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el=="undefined"}function Gl(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el=="undefined"}function Hl(t){t===void 0&&(t="");const e=t.split(" ").map(n=>n.trim()).filter(n=>!!n),r=[];return e.forEach(n=>{r.indexOf(n)<0&&r.push(n)}),r.join(" ")}function F0(t){return t===void 0&&(t=""),t.replace(/-[a-z]/g,e=>e.toUpperCase().replace("-",""))}function kv(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function Lv(t){let{swiper:e,slides:r,passedParams:n,changedParams:i,nextEl:s,prevEl:a,scrollbarEl:l,paginationEl:o}=t;const u=i.filter(O=>O!=="children"&&O!=="direction"&&O!=="wrapperClass"),{params:c,pagination:f,navigation:d,scrollbar:p,virtual:b,thumbs:m}=e;let v,h,y,g,w,T,x,P;i.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(v=!0),i.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(h=!0),i.includes("pagination")&&n.pagination&&(n.pagination.el||o)&&(c.pagination||c.pagination===!1)&&f&&!f.el&&(y=!0),i.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||l)&&(c.scrollbar||c.scrollbar===!1)&&p&&!p.el&&(g=!0),i.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||s)&&(c.navigation||c.navigation===!1)&&d&&!d.prevEl&&!d.nextEl&&(w=!0);const I=O=>{e[O]&&(e[O].destroy(),O==="navigation"?(e.isElement&&(e[O].prevEl.remove(),e[O].nextEl.remove()),c[O].prevEl=void 0,c[O].nextEl=void 0,e[O].prevEl=void 0,e[O].nextEl=void 0):(e.isElement&&e[O].el.remove(),c[O].el=void 0,e[O].el=void 0))};i.includes("loop")&&e.isElement&&(c.loop&&!n.loop?T=!0:!c.loop&&n.loop?x=!0:P=!0),u.forEach(O=>{if(Qt(c[O])&&Qt(n[O]))Yt(c[O],n[O]),(O==="navigation"||O==="pagination"||O==="scrollbar")&&"enabled"in n[O]&&!n[O].enabled&&I(O);else{const H=n[O];(H===!0||H===!1)&&(O==="navigation"||O==="pagination"||O==="scrollbar")?H===!1&&I(O):c[O]=n[O]}}),u.includes("controller")&&!h&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),i.includes("children")&&r&&b&&c.virtual.enabled&&(b.slides=r,b.update(!0)),i.includes("children")&&r&&c.loop&&(P=!0),v&&m.init()&&m.update(!0),h&&(e.controller.control=c.controller.control),y&&(e.isElement&&(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-pagination"),o.part.add("pagination"),e.el.appendChild(o)),o&&(c.pagination.el=o),f.init(),f.render(),f.update()),g&&(e.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-scrollbar"),l.part.add("scrollbar"),e.el.appendChild(l)),l&&(c.scrollbar.el=l),p.init(),p.updateSize(),p.setTranslate()),w&&(e.isElement&&((!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-next"),s.innerHTML=e.hostEl.constructor.nextButtonSvg,s.part.add("button-next"),e.el.appendChild(s)),(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-prev"),a.innerHTML=e.hostEl.constructor.prevButtonSvg,a.part.add("button-prev"),e.el.appendChild(a))),s&&(c.navigation.nextEl=s),a&&(c.navigation.prevEl=a),d.init(),d.update()),i.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),i.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),i.includes("direction")&&e.changeDirection(n.direction,!1),(T||P)&&e.loopDestroy(),(x||P)&&e.loopCreate(),e.update()}function Nv(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const r={on:{}},n={},i={};Yt(r,_s),r._emitClasses=!0,r.init=!1;const s={},a=Wl.map(o=>o.replace(/_/,"")),l=Object.assign({},t);return Object.keys(l).forEach(o=>{typeof t[o]!="undefined"&&(a.indexOf(o)>=0?Qt(t[o])?(r[o]={},i[o]={},Yt(r[o],t[o]),Yt(i[o],t[o])):(r[o]=t[o],i[o]=t[o]):o.search(/on[A-Z]/)===0&&typeof t[o]=="function"?e?n[`${o[2].toLowerCase()}${o.substr(3)}`]=t[o]:r.on[`${o[2].toLowerCase()}${o.substr(3)}
165`]=t[o]:s[o]=t[o])}),["navigation","pagination","scrollbar"].forEach(o=>{r[o]===!0&&(r[o]={}),r[o]===!1&&delete r[o]}),{params:r,passedParams:i,rest:s,events:n}}function Fv(t,e){let{el:r,nextEl:n,prevEl:i,paginationEl:s,scrollbarEl:a,swiper:l}=t;Ul(e)&&n&&i&&(l.params.navigation.nextEl=n,l.originalParams.navigation.nextEl=n,l.params.navigation.prevEl=i,l.originalParams.navigation.prevEl=i),ql(e)&&s&&(l.params.pagination.el=s,l.originalParams.pagination.el=s),Gl(e)&&a&&(l.params.scrollbar.el=a,l.originalParams.scrollbar.el=a),l.init(r)}function zv(t,e,r,n,i){const s=[];if(!e)return s;const a=o=>{s.indexOf(o)<0&&s.push(o)};if(r&&n){const o=n.map(i),u=r.map(i);o.join("")!==u.join("")&&a("children"),n.length!==r.length&&a("children")}return Wl.filter(o=>o[0]==="_").map(o=>o.replace(/_/,"")).forEach(o=>{if(o in t&&o in e)if(Qt(t[o])&&Qt(e[o])){const u=Object.keys(t[o]),c=Object.keys(e[o]);u.length!==c.length?a(o):(u.forEach(f=>{t[o][f]!==e[o][f]&&a(o)}),c.forEach(f=>{t[o][f]!==e[o][f]&&a(o)}))}else t[o]!==e[o]&&a(o)}),s}const jv=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};var Ql;function Qn(){return Qn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Qn.apply(this,arguments)}function Yl(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function Xl(t){const e=[];return q.Children.toArray(t).forEach(r=>{Yl(r)?e.push(r):r.props&&r.props.children&&Xl(r.props.children).forEach(n=>e.push(n))}),e}function Bv(t){const e=[],r={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return q.Children.toArray(t).forEach(n=>{if(Yl(n))e.push(n);else if(n.props&&n.props.slot&&r[n.props.slot])r[n.props.slot].push(n);else if(n.props&&n.props.children){const i=Xl(n.props.children);i.length>0?i.forEach(s=>e.push(s)):r["container-end"].push(n)}else r["container-end"].push(n)}),{slides:e,slots:r}}function Vv(t,e,r){if(!r)return null;const n=c=>{let f=c;return c<0?f=e.length+c:f>=e.length&&(f=f-e.length),f},i=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${r.offset}px`}:{top:`${r.offset}px`},{from:s,to:a}=r,l=t.params.loop?-e.length:0,o=t.params.loop?e.length*2:e.length,u=[];for(let c=l;c<o;c+=1)c>=s&&c<=a&&u.push(e[n(c)]);return u.map((c,f)=>q.cloneElement(c,{swiper:t,style:i,key:`slide-${f}`}))}function nn(t,e){return typeof window=="undefined"?(0,q.useEffect)(t,e):(0,q.useLayoutEffect)(t,e)}const xs=(0,q.createContext)(null),z0=()=>Ql(xs),Kl=(0,q.createContext)(null),j0=()=>Ql(Kl),Jl=(0,q.forwardRef)(function(t,e){let{className:r,tag:n="div",wrapperTag:i="div",children:s,onSwiper:a,...l}=t===void 0?{}:t,o=!1;const[u,c]=(0,q.useState)("swiper"),[f,d]=(0,q.useState)(null),[p,b]=(0,q.useState)(!1),m=(0,q.useRef)(!1),v=(0,q.useRef)(null),h=(0,q.useRef)(null),y=(0,q.useRef)(null),g=(0,q.useRef)(null),w=(0,q.useRef)(null),T=(0,q.useRef)(null),x=(0,q.useRef)(null),P=(0,q.useRef)(null),{params:I,passedParams:O,rest:H,events:R}=Nv(l),{slides:D,slots:M}=Bv(s),S=()=>{b(!p)};Object.assign(I.on,{_containerClasses(F,fe){c(fe)}});const A=()=>{Object.assign(I.on,R),o=!0;const F={...I};if(delete F.wrapperClass,h.current=new at(F),h.current.virtual&&h.current.params.virtual.enabled){h.current.virtual.slides=D;const fe={cache:!1,slides:D,renderExternal:d,renderExternalUpdate:!1};Yt(h.current.params.virtual,fe),Yt(h.current.originalParams.virtual,fe)}};v.current||A(),h.current&&h.current.on("_beforeBreakpoint",S);const X=()=>{o||!R||!h.current||Object.keys(R).forEach(F=>{h.current.on(F,R[F])})},N=()=>{!R||!h.current||Object.keys(R).forEach(F=>{h.current.off(F,R[F])})};(0,q.useEffect)(()=>()=>{h.current&&h.current.off("_beforeBreakpoint",S)}),(0,q.useEffect)(()=>{!m.current&&h.current&&(h.current.emitSlidesClasses(),m.current=!0)}),nn(()=>{if(e&&(e.current=v.current),!!v.current)return h.current.destroyed&&A(),Fv({el:v.current,nextEl:w.current,prevEl:T.current,paginationEl:x.current,scrollbarEl:P.current,swiper:h.current},I),a&&a(h.current),()=>{h.current&&!h.current.destroyed&&h.current.destroy(!0,!1)}},[]),nn(()=>{X();const F=zv(O,y.current,D,g.current,fe=>fe.key);return y.current=O,g.current=D,F.length&&h.current&&!h.current.destroyed&&Lv({swiper:h.current,slides:D,passedParams:O,changedParams:F,nextEl:w.current,prevEl:T.current,scrollbarEl:P.current,paginationEl:x.current}),()=>{N()}}),nn(()=>{jv(h.current)},[f]);function G(){return I.virtual?Vv(h.current,D,f):D.map((F,fe)=>q.cloneElement(F,{swiper:h.current,swiperSlideIndex:fe}))}return q.createElement(n,Qn({ref:v,className:Hl(`${u}${r?` ${r}`:""}`)},H),q.createElement(Kl.Provider,{value:h.current},M["container-start"],q.createElement(i,{className:kv(I.wrapperClass)},M["wrapper-start"],G(),M["wrapper-end"]),Ul(I)&&q.createElement(q.Fragment,null,q.createElement("div",{ref:T,className:"swiper-button-prev"}),q.createElement("div",{ref:w,className:"swiper-button-next"})),Gl(I)&&q.createElement("div",{ref:P,className:"swiper-scrollbar"}),ql(I)&&q.createElement("div",{ref:x,className:"swiper-pagination"}),M["container-end"]))});Jl.displayName="Swiper";const Zl=(0,q.forwardRef)(function(t,e){let{tag:r="div",children:n,className:i="",swiper:s,zoom:a,lazy:l,virtualIndex:o,swiperSlideIndex:u,...c}=t===void 0?{}:t;const f=(0,q.useRef)(null),[d,p]=(0,q.useState)("swiper-slide"),[b,m]=(0,q.useState)(!1);function v(w,T,x){T===f.current&&p(x)}nn(()=>
165{if(typeof u!="undefined"&&(f.current.swiperSlideIndex=u),e&&(e.current=f.current),!(!f.current||!s)){if(s.destroyed){d!=="swiper-slide"&&p("swiper-slide");return}return s.on("_slideClass",v),()=>{s&&s.off("_slideClass",v)}}}),nn(()=>{s&&f.current&&!s.destroyed&&p(s.getSlideClasses(f.current))},[s]);const h={isActive:d.indexOf("swiper-slide-active")>=0,isVisible:d.indexOf("swiper-slide-visible")>=0,isPrev:d.indexOf("swiper-slide-prev")>=0,isNext:d.indexOf("swiper-slide-next")>=0},y=()=>typeof n=="function"?n(h):n,g=()=>{m(!0)};return q.createElement(r,Qn({ref:f,className:Hl(`${d}${i?` ${i}`:""}`),"data-swiper-slide-index":o,onLoad:g},c),a&&q.createElement(xs.Provider,{value:h},q.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof a=="number"?a:void 0},y(),l&&!b&&q.createElement("div",{className:"swiper-lazy-preloader"}))),!a&&q.createElement(xs.Provider,{value:h},y(),l&&!b&&q.createElement("div",{className:"swiper-lazy-preloader"})))});Zl.displayName="SwiperSlide";const $v=()=>{var t,e;const r=(t=window==null?void 0:window.yllasVariables)==null?void 0:t.translations,n=(e=window==null?void 0:window.yllasVariables)==null?void 0:e.current_lang;return r[n]},eu=Vo().div` 166--swiper-navigation-sides-offset: 0.2rem; 167--swiper-navigation-size: 1.5rem; 168--swiper-navigation-color: #fff; 169width: 2.4rem !important; 170height: 2.4rem !important; 171display: inline-flex; 172flex-flow: y-flex y-flex-row y-flex-wrap wrap; 173justify-content: center; 174align-items: center; 175background-color: rgba(75,85,99,.7); 176border-radius: 9999px; 177@media screen and (min-width: 1024px) { 178 --swiper-navigation-sides-offset: 0.2rem; 179} `;var Wv,tu,Uv,qv;function V0(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;r({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let s;const a=Wv();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const l=a.createElement("div");function o(b,m){const v=e.params.virtual;if(v.cache&&e.virtual.cache[m])return e.virtual.cache[m];let h;return v.renderSlide?(h=v.renderSlide.call(e,b,m),typeof h=="string"&&(l.innerHTML=h,h=l.children[0])):e.isElement?h=tu("swiper-slide"):h=tu("div",e.params.slideClass),h.setAttribute("data-swiper-slide-index",m),v.render
179Slide||(h.innerHTML=b),v.cache&&(e.virtual.cache[m]=h),h}function u(b){const{slidesPerView:m,slidesPerGroup:v,centeredSlides:h,loop:y}=e.params,{addSlidesBefore:g,addSlidesAfter:w}=e.params.virtual,{from:T,to:x,slides:P,slidesGrid:I,offset:O}=e.virtual;e.params.cssMode||e.updateActiveIndex();const H=e.activeIndex||0;let R;e.rtlTranslate?R="right":R=e.isHorizontal()?"left":"top";let D,M;h?(D=Math.floor(m/2)+v+w,M=Math.floor(m/2)+v+g):(D=m+(v-1)+w,M=(y?m:v)+g);let S=H-M,A=H+D;y||(S=Math.max(S,0),A=Math.min(A,P.length-1));let X=(e.slidesGrid[S]||0)-(e.slidesGrid[0]||0);y&&H>=M?(S-=M,h||(X+=e.slidesGrid[0])):y&&H<M&&(S=-M,h&&(X+=e.slidesGrid[0])),Object.assign(e.virtual,{from:S,to:A,offset:X,slidesGrid:e.slidesGrid,slidesBefore:M,slidesAfter:D});function N(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),i("virtualUpdate")}if(T===S&&x===A&&!b){e.slidesGrid!==I&&X!==O&&e.slides.forEach(pe=>{pe.style[R]=`${X-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),i("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:X,from:S,to:A,slides:function(){const _e=[];for(let qe=S;qe<=A;qe+=1)_e.push(P[qe]);return _e}()}),e.params.virtual.renderExternalUpdate?N():i("virtualUpdate");return}const G=[],F=[],fe=pe=>{let _e=pe;return pe<0?_e=P.length+pe:_e>=P.length&&(_e=_e-P.length),_e};if(b)e.slides.filter(pe=>pe.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(pe=>{pe.remove()});else for(let pe=T;pe<=x;pe+=1)if(pe<S||pe>A){const _e=fe(pe);e.slides.filter(qe=>qe.matches(`.${e.params.slideClass}[data-swiper-slide-index="${_e}"], swiper-slide[data-swiper-slide-index="${_e}"]`)).forEach(qe=>{qe.remove()})}const xe=y?-P.length:0,Fe=y?P.length*2:P.length;for(let pe=xe;pe<Fe;pe+=1)if(pe>=S&&pe<=A){const _e=fe(pe);typeof x=="undefined"||b?F.push(_e):(pe>x&&F.push(_e),pe<T&&G.push(_e))}if(F.forEach(pe=>{e.slidesEl.append(o(P[pe],pe))}),y)for(let pe=G.length-1;pe>=0;pe-=1){const _e=G[pe];e.slidesEl.prepend(o(P[_e],_e))}else G.sort((pe,_e)=>_e-pe),G.forEach(pe=>{e.slidesEl.prepend(o(P[pe],pe))});Uv(e.slidesEl,".swiper-slide, swiper-slide").forEach(pe=>{pe.style[R]=`${X-Math.abs(e.cssOverflowAdjustment())}px`}),N()}function c(b){if(typeof b=="object"&&"length"in b)for(let m=0;m<b.length;m+=1)b[m]&&e.virtual.slides.push(b[m]);else e.virtual.slides.push(b);u(!0)}function f(b){const m=e.activeIndex;let v=m+1,h=1;if(Array.isArray(b)){for(let y=0;y<b.length;y+=1)b[y]&&e.virtual.slides.unshift(b[y]);v=m+b.length,h=b.length}else e.virtual.slides.unshift(b);if(e.params.virtual.cache){const y=e.virtual.cache,g={};Object.keys(y).forEach(w=>{const T=y[w],x=T.getAttribute("data-swiper-slide-index");x&&T.setAttribute("data-swiper-slide-index",parseInt(x,10)+h),g[parseInt(w,10)+h]=T}),e.virtual.cache=g}u(!0),e.slideTo(v,0)}function d(b){if(typeof b=="undefined"||b===null)return;let m=e.activeIndex;if(Array.isArray(b))for(let v=b.length-1;v>=0;v-=1)e.params.virtual.cache&&(delete e.virtual.cache[b[v]],Object.keys(e.virtual.cache).forEach(h=>{h>b&&(e.virtual.cache[h-1]=e.virtual.cache[h],e.virtual.cache[h-1].setAttribute("data-swiper-slide-index",h-1),delete e.virtual.cache[h])})),e.virtual.slides.splice(b[v],1),b[v]<m&&(m-=1),m=Math.max(m,0);else e.params.virtual.cache&&(delete e.virtual.cache[b],Object.keys(e.virtual.cache).forEach(v=>{v>b&&(e.virtual.cache[v-1]=e.virtual.cache[v],e.virtual.cache[v-1].setAttribute("data-swiper-slide-index",v-1),delete e.virtual.cache[v])})),e.virtual.slides.splice(b,1),b<m&&(m-=1),m=Math.max(m,0);u(!0),e.slideTo(m,0)}function p(){e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),u(!0),e.slideTo(0,0)}n("beforeInit",()=>{if(!e.params.virtual.enabled)return;let b;if(typeof e.passedParams.virtual.slides=="undefined"){const m=[...e.slidesEl.children].filter(v=>v.matches(`.${e.params.slideClass}, swiper-slide`));m&&m.length&&(e.virtual.slides=[...m],b=!0,m.forEach((v,h)=>{v.setAttribute("data-swiper-slide-index",h),e.virtual.cache[h]=v,v.remove()}))}b||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,u()}),n("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(s),s=setTimeout(()=>{u()},100)):u())}),n("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&qv(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:c,prependSlide:f,removeSlide:d,removeAllSlides:p,update:u})}var Gv,Hv,ru,Qv;function $0(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const s=Gv(),a=Hv();e.keyboard={enabled:!1},r({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function l(c){if(!e.enabled)return;const{rtlTranslate:f}=e;let d=c;d.originalEvent&&(d=d.originalEvent);const p=d.keyCode||d.charCode,b=e.params.keyboard.pageUpDown,m=b&&p===33,v=b&&p===34,h=p===37,y=p===39,g=p===38,w=p===40;if(!e.allowSlideNext&&(e.isHorizontal()&&y||e.isVertical()&&w||v)||!e.allowSlidePrev&&(e.isHorizontal()&&h||e.isVertical()&&g||m))return!1;if(!(d.shiftKey||d.altKey||d.ctrlKey||d.metaKey)&&!(s.activeElement&&s.activeElement.nodeName&&(s.activeElement.nodeName.toLowerCase()==="input"||s.activeElement.nodeName.toLowerCase()==="textarea"))){if(e.params.keyboard.onlyInViewport&&(m||v||h||y||g||w)){let T=!1;if(ru(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&ru(e.el,`.${e.params.slideActiveClass}`).length===0)return;const x=e.el,P=x.clientWidth,I=x.clientHeight,O=a.innerWidth,H=a.innerHeight,R=Qv(x);f&&(R.left-=x.scrollLeft);const D=[[R.left,R.top],[R.left+P,R.top],[R.left,R.top+I],[R.left+P,R.top+I]];for(let M=0;M<D.length;M+=1){const S=D[M];if(S[0]>=0&&S[0]<=O&&S[1]>=0&&S[1]<=H){if(S[0]===0&&S[1]===0)continue;T=!0}}if(!T)return}e.isHorizontal()?((m||v||h||y)&&(d.preventDefault?d.preventDefault():d.returnValue=!1),((v||y)&&!f||(m||h)&&f)&&e.slideNext(),((m||h)&&!f||(v||y)&&f)&&e.slidePrev()):((m||v||g||w)&&(d.preventDefault?d.preventDefault():d.returnValue=!1),(v||w)&&e.slideNext(),(m||g)&&e.slidePrev()),i("keyPress",p)}}function o(){e.keyboard.enabled||(s.addEventListener("keydown",l),e.keyboard.enabled=!0)}function u(){e.keyboard.enabled&&(s.removeEventListener("keydown",l),e.keyboard.enabled=!1)}n("init",()=>{e.params.keyboard.enabled&&o()}),n("destroy",()=>{e.keyboard.enabled&&u()}),Object.assign(e.keyboard,{enable:o,disable:u})}var Yv,sn,nu;function W0(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const s=Yv();r({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let a,l=sn(),o;const u=[];function c(g){let P=0,I=0,O=0,H=0;return"detail"in g&&(I=g.detail),"wheelDelta"in g&&(I=-g.wheelDelta/120),"wheelDeltaY"in g&&(I=-g.wheelDeltaY/120
vendor: 4,291 bytes, line 179
179),"wheelDeltaX"in g&&(P=-g.wheelDeltaX/120),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(P=I,I=0),O=P*10,H=I*10,"deltaY"in g&&(H=g.deltaY),"deltaX"in g&&(O=g.deltaX),g.shiftKey&&!O&&(O=H,H=0),(O||H)&&g.deltaMode&&(g.deltaMode===1?(O*=40,H*=40):(O*=800,H*=800)),O&&!P&&(P=O<1?-1:1),H&&!I&&(I=H<1?-1:1),{spinX:P,spinY:I,pixelX:O,pixelY:H}}function f(){e.enabled&&(e.mouseEntered=!0)}function d(){e.enabled&&(e.mouseEntered=!1)}function p(g){return e.params.mousewheel.thresholdDelta&&g.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&sn()-l<e.params.mousewheel.thresholdTime?!1:g.delta>=6&&sn()-l<60?!0:(g.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),i("scroll",g.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),i("scroll",g.raw)),l=new s.Date().getTime(),!1)}function b(g){const w=e.params.mousewheel;if(g.direction<0){if(e.isEnd&&!e.params.loop&&w.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&w.releaseOnEdges)return!0;return!1}function m(g){let w=g,T=!0;if(!e.enabled||g.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const x=e.params.mousewheel;e.params.cssMode&&w.preventDefault();let P=e.el;e.params.mousewheel.eventsTarget!=="container"&&(P=document.querySelector(e.params.mousewheel.eventsTarget));const I=P&&P.contains(w.target);if(!e.mouseEntered&&!I&&!x.releaseOnEdges)return!0;w.originalEvent&&(w=w.originalEvent);let O=0;const H=e.rtlTranslate?-1:1,R=c(w);if(x.forceToAxis)if(e.isHorizontal())if(Math.abs(R.pixelX)>Math.abs(R.pixelY))O=-R.pixelX*H;else return!0;else if(Math.abs(R.pixelY)>Math.abs(R.pixelX))O=-R.pixelY;else return!0;else O=Math.abs(R.pixelX)>Math.abs(R.pixelY)?-R.pixelX*H:-R.pixelY;if(O===0)return!0;x.invert&&(O=-O);let D=e.getTranslate()+O*x.sensitivity;if(D>=e.minTranslate()&&(D=e.minTranslate()),D<=e.maxTranslate()&&(D=e.maxTranslate()),T=e.params.loop?!0:!(D===e.minTranslate()||D===e.maxTranslate()),T&&e.params.nested&&w.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const M={time:sn(),delta:Math.abs(O),direction:Math.sign(O),raw:g};u.length>=2&&u.shift();const S=u.length?u[u.length-1]:void 0;if(u.push(M),S?(M.direction!==S.direction||M.delta>S.delta||M.time>S.time+150)&&p(M):p(M),b(M))return!0}else{const M={time:sn(),delta:Math.abs(O),direction:Math.sign(O)},S=o&&M.time<o.time+500&&M.delta<=o.delta&&M.direction===o.direction;if(!S){o=void 0;let A=e.getTranslate()+O*x.sensitivity;const X=e.isBeginning,N=e.isEnd;if(A>=e.minTranslate()&&(A=e.minTranslate()),A<=e.maxTranslate()&&(A=e.maxTranslate()),e.setTransition(0),e.setTranslate(A),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!X&&e.isBeginning||!N&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:M.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(a),a=void 0,u.length>=15&&u.shift();const G=u.length?u[u.length-1]:void 0,F=u[0];if(u.push(M),G&&(M.delta>G.delta||M.direction!==G.direction))u.splice(0);else if(u.length>=15&&M.time-F.time<500&&F.delta-M.delta>=1&&M.delta<=6){const fe=O>0?.8:.2;o=M,u.splice(0),a=nu(()=>{e.slideToClosest(e.params.speed,!0,void 0,fe)},0)}a||(a=nu(()=>{o=M,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(S||i("scroll",w),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),x.releaseOnEdges&&(A===e.minTranslate()||A===e.maxTranslate()))return!0}}return w.preventDefault?w.preventDefault():w.returnValue=!1,!1}function v(g){let w=e.el;e.params.mousewheel.eventsTarget!=="container"&&(w=document.querySelector(e.params.mousewheel.eventsTarget)),w[g]("mouseenter",f),w[g]("mouseleave",d),w[g]("wheel",m)}function h(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",m),!0):e.mousewheel.enabled?!1:(v("addEventListener"),e.mousewheel.enabled=!0,!0)}function y(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,m),!0):e.mousewheel.enabled?(v("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&y(),e.params.mousewheel.enabled&&h()}),n("destroy",()=>{e.params.cssMode&&h(),e.mousewheel.enabled&&y()}),Object.assign(e.mousewheel,{enable:h,disable:y})}function Xv(t,e,r,n){return t.params.createElements&&Object.keys(n).forEac
179h(i=>{if(!r[i]&&r.auto===!0){let s=mt(t.el,`.${n[i]}`)[0];s||(s=kl("div",n[i]),s.className=n[i],t.el.append(s)),r[i]=s,e[i]=s}}),r}function Kv(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;r({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};const s=m=>(Array.isArray(m)?m:[m]).filter(v=>!!v);function a(m){let v;return m&&typeof m=="string"&&e.isElement&&(v=e.el.querySelector(m),v)?v:(m&&(typeof m=="string"&&(v=[...document.querySelectorAll(m)]),e.params.uniqueNavElements&&typeof m=="string"&&v.length>1&&e.el.querySelectorAll(m).length===1&&(v=e.el.querySelector(m))),m&&!v?m:v)}function l(m,v){const h=e.params.navigation;m=s(m),m.forEach(y=>{y&&(y.classList[v?"add":"remove"](...h.disabledClass.split(" ")),y.tagName==="BUTTON"&&(y.disabled=v),e.params.watchOverflow&&e.enabled&&y.classList[e.isLocked?"add":"remove"](h.lockClass))})}function o(){const{nextEl:m,prevEl:v}=e.navigation;if(e.params.loop){l(v,!1),l(m,!1);return}l(v,e.isBeginning&&!e.params.rewind),l(m,e.isEnd&&!e.params.rewind)}function u(m){m.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),i("navigationPrev"))}function c(m){m.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),i("navigationNext"))}function f(){const m=e.params.navigation;if(e.params.navigation=Xv(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(m.nextEl||m.prevEl))return;let v=a(m.nextEl),h=a(m.prevEl);Object.assign(e.navigation,{nextEl:v,prevEl:h}),v=s(v),h=s(h);const y=(g,w)=>{g&&g.addEventListener("click",w==="next"?c:u),!e.enabled&&g&&g.classList.add(...m.lockClass.split(" "))};v.forEach(g=>y(g,"next")),h.forEach(g=>y(g,"prev"))}function d(){let{nextEl:m,prevEl:v}=e.navigation;m=s(m),v=s(v);const h=(y,g)=>{y.removeEventListener("click",g==="next"?c:u),y.classList.remove(...e.params.navigation.disabledClass.split(" "))};m.forEach(y=>h(y,"next")),v.forEach(y=>h(y,"prev"))}n("init",()=>{e.params.navigation.enabled===!1?b():(f(),o())}),n("toEdge fromEdge lock unlock",()=>{o()}),n("destroy",()=>{d()}),n("enable disable",()=>{let{nextEl:m,prevEl:v}=e.navigation;if(m=s(m),v=s(v),e.enabled){o();return}[...m,...v].filter(h=>!!h).forEach(h=>h.classList.add(e.params.navigation.lockClass))}),n("click",(m,v)=>{let{nextEl:h,prevEl:y}=e.navigation;h=s(h),y=s(y);const g=v.target;if(e.params.navigation.hideOnClick&&!y.includes(g)&&!h.includes(g)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===g||e.pagination.el.contains(g)))return;let w;h.length?w=h[0].classList.contains(e.params.navigation.hiddenClass):y.length&&(w=y[0].classList.contains(e.params.navigation.hiddenClass)),i(w===!0?"navigationShow":"navigationHide"),[...h,...y].filter(T=>!!T).forEach(T=>T.classList.toggle(e.params.navigation.hiddenClass))}});const p=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),f(),o()},b=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),d()};Object.assign(e.navigation,{enable:p,disable:b,update:o,init:f,destroy:d})}var an,Jv,iu,Zv,eg;function U0(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const s="swiper-pagination";r({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:y=>y,formatFractionTotal:y=>y,bulletClass:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),e.pagination={el:null,bullets:[]};let a,l=0;const o=y=>(Array.isArray(y)?y:[y]).filter(g=>!!g);function u(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(y,g){const{bulletActiveClass:w}=e.params.pagination;y&&(y=y[`${g==="prev"?"previous":"next"}ElementSibling`],y&&(y.classList.add(`${w}-${g}`),y=y[`${g==="prev"?"previous":"next"}ElementSibling`],y&&y.classList.add(`${w}-${g}-${g}`)))}function f(y){const g=y.target.closest(an(e.params.pagination.bulletClass));if(!g)return;y.preventDefault();const w=iu(g)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===w)return;const T=e.realIndex,x=e.getSlideIndexByData(w),P=e.getSlideIndexByData(e.realIndex),I=O=>{const H=e.activeIndex;e.loopFix({direction:O,activeSlideIndex:x,slideTo:!1});const R=e.activeIndex;H===R&&e.slideToLoop(T,0,!1,!0)};if(x>e.slides.length-e.loopedSlides)I(x>P?"next":"prev");else if(e.params.centeredSlides){const O=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(parseFloat(e.params.slidesPerView,10));x<Math.floor(O/2)&&I("prev")}e.slideToLoop(w)}else e.slideTo(w)}function d(){const y=e.rtl,g=e.params.pagination;if(u())return;let w=e.pagination.el;w=o(w);let T,x;const P=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,I=e.params.loop?Math.
179ceil(P/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(x=e.previousRealIndex||0,T=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex!="undefined"?(T=e.snapIndex,x=e.previousSnapIndex):(x=e.previousIndex||0,T=e.activeIndex||0),g.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const O=e.pagination.bullets;let H,R,D;if(g.dynamicBullets&&(a=Zv(O[0],e.isHorizontal()?"width":"height",!0),w.forEach(M=>{M.style[e.isHorizontal()?"width":"height"]=`${a*(g.dynamicMainBullets+4)}px`}),g.dynamicMainBullets>1&&x!==void 0&&(l+=T-(x||0),l>g.dynamicMainBullets-1?l=g.dynamicMainBullets-1:l<0&&(l=0)),H=Math.max(T-l,0),R=H+(Math.min(O.length,g.dynamicMainBullets)-1),D=(R+H)/2),O.forEach(M=>{const S=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(A=>`${g.bulletActiveClass}${A}`)].map(A=>typeof A=="string"&&A.includes(" ")?A.split(" "):A).flat();M.classList.remove(...S)}),w.length>1)O.forEach(M=>{const S=iu(M);S===T?M.classList.add(...g.bulletActiveClass.split(" ")):e.isElement&&M.setAttribute("part","bullet"),g.dynamicBullets&&(S>=H&&S<=R&&M.classList.add(...`${g.bulletActiveClass}-main`.split(" ")),S===H&&c(M,"prev"),S===R&&c(M,"next"))});else{const M=O[T];if(M&&M.classList.add(...g.bulletActiveClass.split(" ")),e.isElement&&O.forEach((S,A)=>{S.setAttribute("part",A===T?"bullet-active":"bullet")}),g.dynamicBullets){const S=O[H],A=O[R];for(let X=H;X<=R;X+=1)O[X]&&O[X].classList.add(...`${g.bulletActiveClass}-main`.split(" "));c(S,"prev"),c(A,"next")}}if(g.dynamicBullets){const M=Math.min(O.length,g.dynamicMainBullets+4),S=(a*M-a)/2-D*a,A=y?"right":"left";O.forEach(X=>{X.style[e.isHorizontal()?A:"top"]=`${S}px`})}}w.forEach((O,H)=>{if(g.type==="fraction"&&(O.querySelectorAll(an(g.currentClass)).forEach(R=>{R.textContent=g.formatFractionCurrent(T+1)}),O.querySelectorAll(an(g.totalClass)).forEach(R=>{R.textContent=g.formatFractionTotal(I)})),g.type==="progressbar"){let R;g.progressbarOpposite?R=e.isHorizontal()?"vertical":"horizontal":R=e.isHorizontal()?"horizontal":"vertical";const D=(T+1)/I;let M=1,S=1;R==="horizontal"?M=D:S=D,O.querySelectorAll(an(g.progressbarFillClass)).forEach(A=>{A.style.transform=`translate3d(0,0,0) scaleX(${M}) scaleY(${S})`,A.style.transitionDuration=`${e.params.speed}ms`})}g.type==="custom"&&g.renderCustom?(O.innerHTML=g.renderCustom(e,T+1,I),H===0&&i("paginationRender",O)):(H===0&&i("paginationRender",O),i("paginationUpdate",O)),e.params.watchOverflow&&e.enabled&&O.classList[e.isLocked?"add":"remove"](g.lockClass)})}function p(){const y=e.params.pagination;if(u())return;const g=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length;let w=e.pagination.el;w=o(w);let T="";if(y.type==="bullets"){let x=e.params.loop?Math.ceil(g/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&x>g&&(x=g);for(let P=0;P<x;P+=1)y.renderBullet?T+=y.renderBullet.call(e,P,y.bulletClass):T+=`<${y.bulletElement} ${e.isElement?'part="bullet"':""} class="${y.bulletClass}"></${y.bulletElement}>`}y.type==="fraction"&&(y.renderFraction?T=y.renderFraction.call(e,y.currentClass,y.totalClass):T=`<span class="${y.currentClass}"></span> / <span class="${y.totalClass}"></span>`),y.type==="progressbar"&&(y.renderProgressbar?T=y.renderProgressbar.call(e,y.progressbarFillClass):T=`<span class="${y.progressbarFillClass}"></span>`),e.pagination.bullets=[],w.forEach(x=>{y.type!=="custom"&&(x.innerHTML=T||""),y.type==="bullets"&&e.pagination.bullets.push(...x.querySelectorAll(an(y.bulletClass)))}),y.type!=="custom"&&i("paginationRender",w[0])}function b(){e.params.pagination=Jv(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const y=e.params.pagination;if(!y.el)return;let g;typeof y.el=="string"&&e.isElement&&(g=e.el.querySelector(y.el)),!g&&typeof y.el=="string"&&(g=[...document.querySelectorAll(y.el)]),g||(g=y.el),!(!g||g.length===0)&&(e.params.uniqueNavElements&&typeof y.el=="string"&&Array.isArray(g)&&g.length>1&&(g=[...e.el.querySelectorAll(y.el)],g.length>1&&(g=g.filter(w=>eg(w,".swiper")[0]===e.el)[0])),Array.isArray(g)&&g.length===1&&(g=g[0]),Object.assign(e.pagination,{el:g}),g=o(g),g.forEach(w=>{y.type==="bullets"&&y.clickable&&w.classList.add(...(y.clickableClass||"").split(" ")),w.classList.add(y.modifierClass+y.type),w.classList.add(e.isHorizontal()?y.horizontalClass:y.verticalClass),y.type==="bullets"&&y.dynamicBullets&&(w.classList.add(`${y.modifierClass}${y.type}-dynamic`),l=0,y.dynamicMainBullets<1&&(y.dynamicMainBullets=1)),y.type==="progressbar"&&y.progressbarOpposite&&w.classList.add(y.progressbarOppositeClass),y.clickable&&w.addEventListener("click",f),e.enabled||w.classList.add(y.lockClass)}))}function m(){const y=e.params.pagination;if(u())return;let g=e.pagination.el;g&&(g=o(g),g.forEach(w=>{w.classList.remove(y.hiddenClass),w.classList.remove(y.modifierClass+y.type),w.classList.remove(e.isHorizontal()?y.horizontalClass:y.verticalClass),y.clickable&&(w.classList.remove(...(y.clickableClass||"").split(" ")),w.removeEventListener("click",f))}
179)),e.pagination.bullets&&e.pagination.bullets.forEach(w=>w.classList.remove(...y.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const y=e.params.pagination;let{el:g}=e.pagination;g=o(g),g.forEach(w=>{w.classList.remove(y.horizontalClass,y.verticalClass),w.classList.add(e.isHorizontal()?y.horizontalClass:y.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?h():(b(),p(),d())}),n("activeIndexChange",()=>{typeof e.snapIndex=="undefined"&&d()}),n("snapIndexChange",()=>{d()}),n("snapGridLengthChange",()=>{p(),d()}),n("destroy",()=>{m()}),n("enable disable",()=>{let{el:y}=e.pagination;y&&(y=o(y),y.forEach(g=>g.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{d()}),n("click",(y,g)=>{const w=g.target,T=o(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&T&&T.length>0&&!w.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&w===e.navigation.nextEl||e.navigation.prevEl&&w===e.navigation.prevEl))return;const x=T[0].classList.contains(e.params.pagination.hiddenClass);i(x===!0?"paginationShow":"paginationHide"),T.forEach(P=>P.classList.toggle(e.params.pagination.hiddenClass))}});const v=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:y}=e.pagination;y&&(y=o(y),y.forEach(g=>g.classList.remove(e.params.pagination.paginationDisabledClass))),b(),p(),d()},h=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:y}=e.pagination;y&&(y=o(y),y.forEach(g=>g.classList.add(e.params.pagination.paginationDisabledClass))),m()};Object.assign(e.pagination,{enable:v,disable:h,render:p,update:d,init:b,destroy:m})}var tg,rg,ng,ig,sg;function q0(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const s=tg();let a=!1,l=null,o=null,u,c,f,d;r({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function p(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:D,rtlTranslate:M}=e,{dragEl:S,el:A}=D,X=e.params.scrollbar,N=e.params.loop?e.progressLoop:e.progress;let G=c,F=(f-c)*N;M?(F=-F,F>0?(G=c-F,F=0):-F+c>f&&(G=f+F)):F<0?(G=c+F,F=0):F+c>f&&(G=f-F),e.isHorizontal()?(S.style.transform=`translate3d(${F}px, 0, 0)`,S.style.width=`${G}px`):(S.style.transform=`translate3d(0px, ${F}px, 0)`,S.style.height=`${G}px`),X.hide&&(clearTimeout(l),A.style.opacity=1,l=setTimeout(()=>{A.style.opacity=0,A.style.transitionDuration="400ms"},1e3))}function b(D){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${D}ms`)}function m(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:D}=e,{dragEl:M,el:S}=D;M.style.width="",M.style.height="",f=e.isHorizontal()?S.offsetWidth:S.offsetHeight,d=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=f*d:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?M.style.width=`${c}px`:M.style.height=`${c}px`,d>=1?S.style.display="none":S.style.display="",e.params.scrollbar.hide&&(S.style.opacity=0),e.params.watchOverflow&&e.enabled&&D.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function v(D){return e.isHorizontal()?D.clientX:D.clientY}function h(D){const{scrollbar:M,rtlTranslate:S}=e,{el:A}=M;let X;
179X=(v(D)-rg(A)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(f-c),X=Math.max(Math.min(X,1),0),S&&(X=1-X);const N=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*X;e.updateProgress(N),e.setTranslate(N),e.updateActiveIndex(),e.updateSlidesClasses()}function y(D){const M=e.params.scrollbar,{scrollbar:S,wrapperEl:A}=e,{el:X,dragEl:N}=S;a=!0,u=D.target===N?v(D)-D.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,D.preventDefault(),D.stopPropagation(),A.style.transitionDuration="100ms",N.style.transitionDuration="100ms",h(D),clearTimeout(o),X.style.transitionDuration="0ms",M.hide&&(X.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),i("scrollbarDragStart",D)}function g(D){const{scrollbar:M,wrapperEl:S}=e,{el:A,dragEl:X}=M;a&&(D.preventDefault?D.preventDefault():D.returnValue=!1,h(D),S.style.transitionDuration="0ms",A.style.transitionDuration="0ms",X.style.transitionDuration="0ms",i("scrollbarDragMove",D))}function w(D){const M=e.params.scrollbar,{scrollbar:S,wrapperEl:A}=e,{el:X}=S;a&&(a=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",A.style.transitionDuration=""),M.hide&&(clearTimeout(o),o=ng(()=>{X.style.opacity=0,X.style.transitionDuration="400ms"},1e3)),i("scrollbarDragEnd",D),M.snapOnRelease&&e.slideToClosest())}function T(D){const{scrollbar:M,params:S}=e,A=M.el;if(!A)return;
179const X=A,N=S.passiveListeners?{passive:!1,capture:!1}:!1,G=S.passiveListeners?{passive:!0,capture:!1}:!1;if(!X)return;const F=D==="on"?"addEventListener":"removeEventListener";X[F]("pointerdown",y,N),s[F]("pointermove",g,N),s[F]("pointerup",w,G)}function x(){!e.params.scrollbar.el||!e.scrollbar.el||T("on")}function P(){!e.params.scrollbar.el||!e.scrollbar.el||T("off")}function I(){const{scrollbar:D,el:M}=e;e.params.scrollbar=sg(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const S=e.params.scrollbar;if(!S.el)return;let A;typeof S.el=="string"&&e.isElement&&(A=e.el.querySelector(S.el)),!A&&typeof S.el=="string"?A=s.querySelectorAll(S.el):A||(A=S.el),e.params.uniqueNavElements&&typeof S.el=="string"&&A.length>1&&M.querySelectorAll(S.el).length===1&&(A=M.querySelector(S.el)),A.length>0&&(A=A[0]),A.classList.add(e.isHorizontal()?S.horizontalClass:S.verticalClass);let X;A&&(X=A.querySelector(`.${e.params.scrollbar.dragClass}`),X||(X=ig("div",e.params.scrollbar.dragClass),A.append(X))),Object.assign(D,{el:A,dragEl:X}),S.draggable&&x(),A&&A.classList[e.enabled?"remove":"add"](e.params.scrollbar.lockClass)}function O(){const D=e.params.scrollbar,M=e.scrollbar.el;M&&M.classList.remove(e.isHorizontal()?D.horizontalClass:D.verticalClass),P()}n("init",()=>{e.params.scrollbar.enabled===!1?R():(I(),m(),p())}),n("update resize observerUpdate lock unlock",()=>{m()}),n("setTranslate",()=>{p()}),n("setTransition",(D,M)=>{b(M)}),n("enable disable",()=>{const{el:D}=e.scrollbar;D&&D.classList[e.enabled?"remove":"add"](e.params.scrollbar.lockClass)}),n("destroy",()=>{O()});const H=()=>{e.el.classList.remove(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.el&&e.scrollbar.el.classList.remove(e.params.scrollbar.scrollbarDisabledClass),I(),m(),p()},R=()=>{e.el.classList.add(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.el&&e.scrollbar.el.classList.add(e.params.scrollbar.scrollbarDisabledClass),O()};Object.assign(e.scrollbar,{enable:H,disable:R,updateSize:m,setTranslate:p,init:I,destroy:O})}var su;function G0(t){let{swiper:e,extendParams:r,on:n}=t;r({parallax:{enabled:!1}});const i="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",s=(o,u)=>{const{rtl:c}=e,f=c?-1:1,d=o.getAttribute("data-swiper-parallax")||"0";let p=o.getAttribute("data-swiper-parallax-x"),b=o.getAttribute("data-swiper-parallax-y");const m=o.getAttribute("data-swiper-parallax-scale"),v=o.getAttribute("data-swiper-parallax-opacity"),h=o.getAttribute("data-swiper-parallax-rotate");if(p||b?(p=p||"0",b=b||"0"):e.isHorizontal()?(p=d,b="0"):(b=d,p="0"),p.indexOf("%")>=0?p=`${parseInt(p,10)*u*f}%`:p=`${p*u*f}px`,b.indexOf("%")>=0?b=`${parseInt(b,10)*u}%`:b=`${b*u}px`,typeof v!="undefined"&&v!==null){const g=v-(v-1)*(1-Math.abs(u));o.style.opacity=g}let y=`translate3d(${p}, ${b}, 0px)`;if(typeof m!="undefined"&&m!==null){const g=m-(m-1)*(1-Math.abs(u));y+=` scale(${g})`}if(h&&typeof h!="undefined"&&h!==null){const g=h*u*-1;y+=` rotate(${g}deg)`}o.style.transform=y},a=()=>{const{el:o,slides:u,progress:c,snapGrid:f,isElement:d}=e,p=su(o,i);e.isElement&&p.push(...su(e.hostEl,i)),p.forEach(b=>{s(b,c)}),u.forEach((b,m)=>{let v=b.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(v+=Math.ceil(m/2)-c*(f.length-1)),v=Math.min(Math.max(v,-1),1),b.querySelectorAll(`${i}, [data-swiper-parallax-rotate]`).forEach(h=>{s(h,v)})})},l=function(o){o===void 0&&(o=e.params.speed);const{el:u,hostEl:c}=e,f=[...u.querySelectorAll(i)];e.isElement&&f.push(...c.querySelectorAll(i)),f.forEach(d=>{let p=parseInt(d.getAttribute("data-swiper-parallax-duration"),10)||o;o===0&&(p=0),d.style.transitionDuration=`${p}ms`})};n("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),n("init",()=>{e.params.parallax.enabled&&a()}),n("setTranslate",()=>{e.params.parallax.enabled&&a()}),n("setTransition",(o,u)=>{e.params.parallax.enabled&&l(u)})}var ag,Os,au,ou,lu;function H0(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const s=ag();r({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let a=1,l=!1,o,u;const c=[],f={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},d={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},p={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let b=1;Object.defineProperty(e.zoom,"scale",{get(){return b},set(N){if(b!==N){const G=f.imageEl,F=f.slideEl;i("zoomChange",N,G,F)}b=N}});function m(){if(c.length<2)return 1;const N=c[0].pageX,G=c[0].pageY,F=c[1].pageX,fe=c[1].pageY;return Math.sqrt((F-N)**2+(fe-G)**2)}function v(){if(c.length<2)return{x:null,y:null};const N=f.imageEl.getBoundingClientRect();return[(c[0].pageX+(c[1].pageX-c[0].pageX)/2-N.x-s.scrollX)/a,(c[0].pageY+(c[1].pageY-c[0].pageY)/2-N.y-s.scrollY)/a]}function h(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function y(N){const G=h();return!!(N.target.matches(G)||e.slides.filter(F=>F.contains(N.target)).length>0)}function g(N){const G=`.${e.params.zoom.containerClass}`;return!!(N.target.matches(G)||[...e.hostEl.querySelectorAll(G)].filter(F=>F.contains(N.target)).length>0)}function w(N){if(N.pointerType==="mouse"&&c.splice(0,c.length),!y(N))return;const G=e.params.zoom;
179if(o=!1,u=!1,c.push(N),!(c.length<2)){if(o=!0,f.scaleStart=m(),!f.slideEl){f.slideEl=N.target.closest(`.${e.params.slideClass}, swiper-slide`),f.slideEl||(f.slideEl=e.slides[e.activeIndex]);let F=f.slideEl.querySelector(`.${G.containerClass}`);if(F&&(F=F.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=F,F?f.imageWrapEl=Os(f.imageEl,`.${G.containerClass}`)[0]:f.imageWrapEl=void 0,!f.imageWrapEl){f.imageEl=void 0;return}f.maxRatio=f.imageWrapEl.getAttribute("data-swiper-zoom")||G.maxRatio}if(f.imageEl){const[F,fe]=v();f.originX=F,f.originY=fe,f.imageEl.style.transitionDuration="0ms"}l=!0}}function T(N){if(!y(N))return;const G=e.params.zoom,F=e.zoom,fe=c.findIndex(xe=>xe.pointerId===N.pointerId);fe>=0&&(c[fe]=N),!(c.length<2)&&(u=!0,f.scaleMove=m(),f.imageEl&&(F.scale=f.scaleMove/f.scaleStart*a,F.scale>f.maxRatio&&(F.scale=f.maxRatio-1+(F.scale-f.maxRatio+1)**.5),F.scale<G.minRatio&&(F.scale=G.minRatio+1-(G.minRatio-F.scale+1)**.5),f.imageEl.style.transform=`translate3d(0,0,0) scale(${F.scale})`))}function x(N){if(!y(N)||N.pointerType==="mouse"&&N.type==="pointerout")return;const G=e.params.zoom,F=e.zoom,fe=c.findIndex(xe=>xe.pointerId===N.pointerId);fe>=0&&c.splice(fe,1),!(!o||!u)&&(o=!1,u=!1,f.imageEl&&(F.scale=Math.max(Math.min(F.scale,f.maxRatio),G.minRatio),f.imageEl.style.transitionDuration=`${e.params.speed}ms`,f.imageEl.style.transform=`translate3d(0,0,0) scale(${F.scale})`,a=F.scale,l=!1,F.scale>1&&f.slideEl?f.slideEl.classList.add(`${G.zoomedSlideClass}`):F.scale<=1&&f.slideEl&&f.slideEl.classList.remove(`${G.zoomedSlideClass}`),F.scale===1&&(f.originX=0,f.originY=0,f.slideEl=void 0)))}function P(N){const G=e.device;if(!f.imageEl||d.isTouched)return;G.android&&N.cancelable&&N.preventDefault(),d.isTouched=!0;const F=c.length>0?c[0]:N;d.touchesStart.x=F.pageX,d.touchesStart.y=F.pageY}function I(N){if(!y(N)||!g(N))return;const G=e.zoom;if(!f.imageEl||!d.isTouched||!f.slideEl)return;d.isMoved||(d.width=f.imageEl.offsetWidth,d.height=f.imageEl.offsetHeight,d.startX=au(f.imageWrapEl,"x")||0,d.startY=au(f.imageWrapEl,"y")||0,f.slideWidth=f.slideEl.offsetWidth,f.slideHeight=f.slideEl.offsetHeight,f.imageWrapEl.style.transitionDuration="0ms");const F=d.width*G.scale,fe=d.height*G.scale;if(F<f.slideWidth&&fe<f.slideHeight)return;if(d.minX=Math.min(f.slideWidth/2-F/2,0),d.maxX=-d.minX,d.minY=Math.min(f.slideHeight/2-fe/2,0),d.maxY=-d.minY,d.touchesCurrent.x=c.length>0?c[0].pageX:N.pageX,d.touchesCurrent.y=c.length>0?c[0].pageY:N.pageY,Math.max(Math.abs(d.touchesCurrent.x-d.touchesStart.x),Math.abs(d.touchesCurrent.y-d.touchesStart.y))>5&&(e.allowClick=!1),!d.isMoved&&!l){if(e.isHorizontal()&&(Math.floor(d.minX)===Math.floor(d.startX)&&d.touchesCurrent.x<d.touchesStart.x||Math.floor(d.maxX)===Math.floor(d.startX)&&d.touchesCurrent.x>d.touchesStart.x)){d.isTouched=!1;return}if(!e.isHorizontal()&&(Math.floor(d.minY)===Math.floor(d.startY)&&d.touchesCurrent.y<d.touchesStart.y||Math.floor(d.maxY)===Math.floor(d.startY)&&d.touchesCurrent.y>d.touchesStart.y)){d.isTouched=!1;return}}N.cancelable&&N.preventDefault(),N.stopPropagation(),d.isMoved=!0;const Fe=(G.scale-a)/(f.maxRatio-e.params.zoom.minRatio),{originX:pe,originY:_e}=f;d.currentX=d.touchesCurrent.x-d.touchesStart.x+d.startX+Fe*(d.width-pe*2),d.currentY=d.touchesCurrent.y-d.touchesStart.y+d.startY+Fe*(d.height-_e*2),d.currentX<d.minX&&(d.currentX=d.minX+1-(d.minX-d.currentX+1)**.8),d.currentX>d.maxX&&(d.currentX=d.maxX-1+(d.currentX-d.maxX+1)**.8),d.currentY<d.minY&&(d.currentY=d.minY+1-(d.minY-d.currentY+1)**.8),d.currentY>d.maxY&&(d.currentY=d.maxY-1+(d.currentY-d.maxY+1)**.8),p.prevPositionX||(p.prevPositionX=d.touchesCurrent.x),p.prevPositionY||(p.prevPositionY=d.touchesCurrent.y),p.prevTime||(p.prevTime=Date.now()),p.x=(d.touchesCurrent.x-p.prevPositionX)/(Date.now()-p.prevTime)/2,p.y=(d.touchesCurrent.y-p.prevPositionY)/(Date.now()-p.prevTime)/2,Math.abs(d.touchesCurrent.x-p.prevPositionX)<2&&(p.x=0),Math.abs(d.touchesCurrent.y-p.prevPositionY)<2&&(p.y=0),p.prevPositionX=d.touchesCurrent.x,p.prevPositionY=d.touchesCurrent.y,p.prevTime=Date.now(),f.imageWrapEl.style.transform=`translate3d(${d.currentX}px, ${d.currentY}px,0)`}function O(){const N=e.zoom;if(!f.imageEl)return;if(!d.isTouched||!d.isMoved){d.isTouched=!1,d.isMoved=!1;return}d.isTouched=!1,d.isMoved=!1;let G=300,F=300;const fe=p.x*G,xe=d.currentX+fe,Fe=p.y*F,pe=d.currentY+Fe;p.x!==0&&(G=Math.abs((xe-d.currentX)/p.x)),p.y!==0&&(F=Math.abs((pe-d.currentY)/p.y));const _e=Math.max(G,F);d.currentX=xe,d.currentY=pe;const qe=d.width*N.scale,tt=d.height*N.scale;d.minX=Math.min(f.slideWidth/2-qe/2,0),d.maxX=-d.minX,d.minY=Math.min(f.slideHeight/2-tt/2,0),d.maxY=-d.minY,d.currentX=Math.max(Math.min(d.currentX,d.maxX),d.minX),d.currentY=Math.max(Math.min(d.currentY,d.maxY),d.minY),f.imageWrapEl.style.transitionDuration=`${_e}ms`,f.imageWrapEl.style.transform=`translate3d(${d.currentX}px, ${d.currentY}px,0)`}function H(){const N=e.zoom;f.slideEl&&e.activeIndex!==e.slides.indexOf(f.slideEl)&&(f.imageEl&&(f.imageEl.style.transform="translate3d(0,
1790,0) scale(1)"),f.imageWrapEl&&(f.imageWrapEl.style.transform="translate3d(0,0,0)"),f.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),N.scale=1,a=1,f.slideEl=void 0,f.imageEl=void 0,f.imageWrapEl=void 0,f.originX=0,f.originY=0)}function R(N){const G=e.zoom,F=e.params.zoom;if(!f.slideEl){N&&N.target&&(f.slideEl=N.target.closest(`.${e.params.slideClass}, swiper-slide`)),f.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?f.slideEl=ou(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:f.slideEl=e.slides[e.activeIndex]);let Kt=f.slideEl.querySelector(`.${F.containerClass}`);Kt&&(Kt=Kt.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=Kt,Kt?f.imageWrapEl=Os(f.imageEl,`.${F.containerClass}`)[0]:f.imageWrapEl=void 0}if(!f.imageEl||!f.imageWrapEl)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),f.slideEl.classList.add(`${F.zoomedSlideClass}`);let fe,xe,Fe,pe,_e,qe,tt,wt,Kn,ot,Jn,Zn,xr,Or,on,ln,un,cn;typeof d.touchesStart.x=="undefined"&&N?(fe=N.pageX,xe=N.pageY):(fe=d.touchesStart.x,xe=d.touchesStart.y);const Xt=typeof N=="number"?N:null;a===1&&Xt&&(fe=void 0,xe=void 0),G.scale=Xt||f.imageWrapEl.getAttribute("data-swiper-zoom")||F.maxRatio,a=Xt||f.imageWrapEl.getAttribute("data-swiper-zoom")||F.maxRatio,N&&!(a===1&&Xt)?(un=f.slideEl.offsetWidth,cn=f.slideEl.offsetHeight,Fe=lu(f.slideEl).left+s.scrollX,pe=lu(f.slideEl).top+s.scrollY,_e=Fe+un/2-fe,qe=pe+cn/2-xe,Kn=f.imageEl.offsetWidth,ot=f.imageEl.offsetHeight,Jn=Kn*G.scale,Zn=ot*G.scale,xr=Math.min(un/2-Jn/2,0),Or=Math.min(cn/2-Zn/2,0),on=-xr,ln=-Or,tt=_e*G.scale,wt=qe*G.scale,tt<xr&&(tt=xr),tt>on&&(tt=on),wt<Or&&(wt=Or),wt>ln&&(wt=ln)):(tt=0,wt=0),Xt&&G.scale===1&&(f.originX=0,f.originY=0),f.imageWrapEl.style.transitionDuration="300ms",f.imageWrapEl.style.transform=`translate3d(${tt}px, ${wt}px,0)`,f.imageEl.style.transitionDuration="300ms",f.imageEl.style.transform=`translate3d(0,0,0) scale(${G.scale})`}function D(){const N=e.zoom,G=e.params.zoom;if(!f.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?f.slideEl=ou(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:f.slideEl=e.slides[e.activeIndex];let F=f.slideEl.querySelector(`.${G.containerClass}`);F&&(F=F.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=F,F?f.imageWrapEl=Os(f.imageEl,`.${G.containerClass}`)[0]:f.imageWrapEl=void 0}!f.imageEl||!f.imageWrapEl||(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),N.scale=1,a=1,f.imageWrapEl.style.transitionDuration="300ms",f.imageWrapEl.style.transform="translate3d(0,0,0)",f.imageEl.style.transitionDuration="300ms",f.imageEl.style.transform="translate3d(0,0,0) scale(1)",f.slideEl.classList.remove(`${G.zoomedSlideClass}`),f.slideEl=void 0,f.originX=0,f.originY=0)}function M(N){const G=e.zoom;G.scale&&G.scale!==1?D():R(N)}function S(){const N=e.params.passiveListeners?{passive:!0,capture:!1}:!1,G=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:N,activeListenerWithCapture:G}}function A(){const N=e.zoom;if(N.enabled)return;N.enabled=!0;const{passiveListener:G,activeListenerWithCapture:F}=S();e.wrapperEl.addEventListener("pointerdown",w,G),e.wrapperEl.addEventListener("pointermove",T,F),["pointerup","pointercancel","pointerout"].forEach(fe=>{e.wrapperEl.addEventListener(fe,x,G)}),e.wrapperEl.addEventListener("pointermove",I,F)}function X(){const N=e.zoom;if(!N.enabled)return;N.enabled=!1;const{passiveListener:G,activeListenerWithCapture:F}=S();e.wrapperEl.removeEventListener("pointerdown",w,G),e.wrapperEl.removeEventListener("pointermove",T,F),["pointerup","pointercancel","pointerout"].forEach(fe=>{e.wrapperEl.removeEventListener(fe,x,G)}),e.wrapperEl.removeEventListener("pointermove",I,F)}n("init",()=>{e.params.zoom.enabled&&A()}),n("destroy",()=>{X()}),n("touchStart",(N,G)=>{e.zoom.enabled&&P(G)}),n("touchEnd",(N,G)=>{e.zoom.enabled&&O()}),n("doubleTap",(N,G)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&M(G)}),n("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&H()}),n("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&H()}),Object.assign(e.zoom,{enable:A,disable:X,in:R,out:D,toggle:M})}var og,lg;function Q0(t){let{swiper:e,extendParams:r,on:n}=t;r({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function i(u,c){const f=function(){let m,v,h;return(y,g)=>{for(v=-1,m=y.length;m-v>1;)h=m+v>>1,y[h]<=g?v=h:m=h;return m}}();this.x=u,this.y=c,this.lastIndex=u.length-1;let d,p;return this.interpolate=function(m){return m?(p=f(this.x,m),d=p-1,(m-this.x[d])*(this.y[p]-this.y[d])/(this.x[p]-this.x[d])+this.y[d]):0},this}function s(u){e.controller.spline=e.params.loop?new i(e.slidesGrid,u.slidesGrid):new i(e.snapGrid,u.snapGrid)}function a(u,c){const f=e.controller.control;let d,p;const b=e.constructor;function m(v){if(v.destroyed)return;const h=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(s(v),p=-e.controller.spline.interpolate(-h)),(!p||e.params.controller.by==="container")&&(d=(v.maxTranslate()-v.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(d)||!Number.isFinite(d))&&(d=1),p=(h-e.minTranslate())*d+v.minTranslate()),e.params.controller.inverse&&(p=v.maxTranslate()-p),v.updateProgress(p),v.setTranslate(p,e),v.updateActiveIndex(),v.updateSlidesClasses()}if(Array.isArray(f))for(let v=0;v<f.length;v+=1)f[v]!==c&&f[v]instanceof b&&m(f[v]);else f instanceof b&&c!==f&&m(f)}function l(u,c){const f=e.constructor,d=e.controller.control;let p;function b(m){m.destroyed||(m.setTransition(u,e),u!==0&&(m.transitionStart(),m.params.autoHeight&&og(()=>{m.updateAutoHeight()}),lg(m.wrapperEl,()=>{d&&m.transitionEnd()})))}if(Array.isArray(d))for(p=0;p<d.length;p+=1)d[p]!==c&&d[p]instanceof f&&b(d[p]);else d instanceof f&&c!==d&&b(d)}function o(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}n("beforeInit",()=>{if(typeof window!="undefined"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){const u=document.querySelector(e.params.controller.control);if(u&&u.swiper)e.controller.control=u.swiper;else if(u){const c=f=>
179{e.controller.control=f.detail[0],e.update(),u.removeEventListener("init",c)};u.addEventListener("init",c)}return}e.controller.control=e.params.controller.control}),n("update",()=>{o()}),n("resize",()=>{o()}),n("observerUpdate",()=>{o()}),n("setTranslate",(u,c,f)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(c,f)}),n("setTransition",(u,c,f)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(c,f)}),Object.assign(e.controller,{setTranslate:a,setTransition:l})}var Cs,ug,cg;function Y0(t){let{swiper:e,extendParams:r,on:n}=t;r({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let i=null;function s(S){const A=i;A.length!==0&&(A.innerHTML="",A.innerHTML=S)}const a=S=>(Array.isArray(S)?S:[S]).filter(A=>!!A);function l(S){S===void 0&&(S=16);const A=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(S).replace(/x/g,A)}function o(S){S=a(S),S.forEach(A=>{A.setAttribute("tabIndex","0")})}function u(S){S=a(S),S.forEach(A=>{A.setAttribute("tabIndex","-1")})}function c(S,A){S=a(S),S.forEach(X=>{X.setAttribute("role",A)})}function f(S,A){S=a(S),S.forEach(X=>{X.setAttribute("aria-roledescription",A)})}function d(S,A){S=a(S),S.forEach(X=>{X.setAttribute("aria-controls",A)})}function p(S,A){S=a(S),S.forEach(X=>{X.setAttribute("aria-label",A)})}function b(S,A){S=a(S),S.forEach(X=>{X.setAttribute("id",A)})}function m(S,A){S=a(S),S.forEach(X=>{X.setAttribute("aria-live",A)})}function v(S){S=a(S),S.forEach(A=>{A.setAttribute("aria-disabled",!0)})}function h(S){S=a(S),S.forEach(A=>{A.setAttribute("aria-disabled",!1)})}function y(S){if(S.keyCode!==13&&S.keyCode!==32)return;const A=e.params.a11y,X=S.target;e.pagination&&e.pagination.el&&(X===e.pagination.el||e.pagination.el.contains(S.target))&&!S.target.matches(Cs(e.params.pagination.bulletClass))||(e.navigation&&e.navigation.nextEl&&X===e.navigation.nextEl&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?s(A.lastSlideMessage):s(A.nextSlideMessage)),e.navigation&&e.navigation.prevEl&&X===e.navigation.prevEl&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?s(A.firstSlideMessage):s(A.prevSlideMessage)),e.pagination&&X.matches(Cs(e.params.pagination.bulletClass))&&X.click())}function g(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:S,prevEl:A}=e.navigation;A&&(e.isBeginning?(v(A),u(A)):(h(A),o(A))),S&&(e.isEnd?(v(S),u(S)):(h(S),o(S)))}function w(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function T(){return w()&&e.params.pagination.clickable}function x(){const S=e.params.a11y;w()&&e.pagination.bullets.forEach(A=>{e.params.pagination.clickable&&(o(A),e.params.pagination.renderBullet||(c(A,"button"),p(A,S.paginationBulletMessage.replace(/\{\{index\}\}/,ug(A)+1)))),A.matches(Cs(e.params.pagination.bulletActiveClass))?A.setAttribute("aria-current","true"):A.removeAttribute("aria-current")})}const P=(S,A,X)=>{o(S),S.tagName!=="BUTTON"&&(c(S,"button"),S.addEventListener("keydown",y)),p(S,X),d(S,A)},I=()=>{e.a11y.clicked=!0},O=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},H=S=>{if(e.a11y.clicked)return;const A=S.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!A||!e.slides.includes(A))return;const X=e.slides.indexOf(A)===e.activeIndex,N=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(A);X||N||S.sourceCapabilities&&S.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,e.slideTo(e.slides.indexOf(A),0))},R=()=>{const S=e.params.a11y;S.itemRoleDescriptionMessage&&f(e.slides,S.itemRoleDescriptionMessage),S.slideRole&&c(e.slides,S.slideRole);const A=e.slides.length;
179S.slideLabelMessage&&e.slides.forEach((X,N)=>{const G=e.params.loop?parseInt(X.getAttribute("data-swiper-slide-index"),10):N,F=S.slideLabelMessage.replace(/\{\{index\}\}/,G+1).replace(/\{\{slidesLength\}\}/,A);p(X,F)})},D=()=>{const S=e.params.a11y;e.el.append(i);const A=e.el;S.containerRoleDescriptionMessage&&f(A,S.containerRoleDescriptionMessage),S.containerMessage&&p(A,S.containerMessage);const X=e.wrapperEl,N=S.id||X.getAttribute("id")||`swiper-wrapper-${l(16)}`,G=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";b(X,N),m(X,G),R();let{nextEl:F,prevEl:fe}=e.navigation?e.navigation:{};F=a(F),fe=a(fe),F&&F.forEach(xe=>P(xe,N,S.nextSlideMessage)),fe&&fe.forEach(xe=>P(xe,N,S.prevSlideMessage)),T()&&(Array.isArray(e.pagination.el)?e.pagination.el:[e.pagination.el]).forEach(Fe=>{Fe.addEventListener("keydown",y)}),e.el.addEventListener("focus",H,!0),e.el.addEventListener("pointerdown",I,!0),e.el.addEventListener("pointerup",O,!0)};function M(){i&&i.remove();let{nextEl:S,prevEl:A}=e.navigation?e.navigation:{};S=a(S),A=a(A),S&&S.forEach(X=>X.removeEventListener("keydown",y)),A&&A.forEach(X=>X.removeEventListener("keydown",y)),T()&&(Array.isArray(e.pagination.el)?e.pagination.el:[e.pagination.el]).forEach(N=>{N.removeEventListener("keydown",y)}),e.el.removeEventListener("focus",H,!0),e.el.removeEventListener("pointerdown",I,!0),e.el.removeEventListener("pointerup",O,!0)}n("beforeInit",()=>{i=cg("span",e.params.a11y.notificationClass),i.setAttribute("aria-live","assertive"),i.setAttribute("aria-atomic","true")}),n("afterInit",()=>{e.params.a11y.enabled&&D()}),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&R()}),n("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&g()}),n("paginationUpdate",()=>{e.params.a11y.enabled&&x()}),n("destroy",()=>{e.params.a11y.enabled&&M()})}var Yn;function X0(t){let{swiper:e,extendParams:r,on:n}=t;r({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,s={};const a=p=>p.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),l=p=>{const b=Yn();let m;p?m=new URL(p):m=b.location;const v=m.pathname.slice(1).split("/").filter(w=>w!==""),h=v.length,y=v[h-2],g=v[h-1];return{key:y,value:g}},o=(p,b)=>{const m=Yn();if(!i||!e.params.history.enabled)return;let v;e.params.url?v=new URL(e.params.url):v=m.location;const h=e.slides[b];let y=a(h.getAttribute("data-history"));if(e.params.history.root.length>0){let w=e.params.history.root;w[w.length-1]==="/"&&(w=w.slice(0,w.length-1)),y=`${w}/${p?`${p}/`:""}${y}`}else v.pathname.includes(p)||(y=`${p?`${p}/`:""}${y}`);e.params.history.keepQuery&&(y+=v.search);const g=m.history.state;g&&g.value===y||(e.params.history.replaceState?m.history.replaceState({value:y},null,y):m.history.pushState({value:y},null,y))},u=(p,b,m)=>{if(b)for(let v=0,h=e.slides.length;v<h;v+=1){const y=e.slides[v];if(a(y.getAttribute("data-history"))===b){const w=e.getSlideIndex(y);e.slideTo(w,p,m)}}else e.slideTo(0,p,m)},c=()=>{s=l(e.params.url),u(e.params.speed,s.value,!1)},f=()=>{const p=Yn();if(e.params.history){if(!p.history||!p.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}if(i=!0,s=l(e.params.url),!s.key&&!s.value){e.params.history.replaceState||p.addEventListener("popstate",c);return}u(0,s.value,e.params.runCallbacksOnInit),e.params.history.replaceState||p.addEventListener("popstate",c)}},d=()=>{const p=Yn();e.params.history.replaceState||p.removeEventListener("popstate",c)};n("init",()=>{e.params.history.enabled&&f()}),n("destroy",()=>{e.params.history.enabled&&d()}),n("transitionEnd _freeModeNoMomentumRelease",()=>{i&&o(e.params.history.key,e.activeIndex)}),n("slideChange",()=>{i&&e.params.cssMode&&o(e.params.history.key,e.activeIndex)})}var fg,dg,pg;function K0(t){let{swiper:e,extendParams:r,emit:n,on:i}=t,s=!1;const a=fg(),l=dg();r({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(d,p){if(e.virtual&&e.params.virtual.enabled){const b=e.slides.filter(v=>v.getAttribute("data-hash")===p)[0];return b?parseInt(b.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex(pg(e.slidesEl,`.${e.params.slideClass}[data-hash="${p}"], swiper-slide[data-hash="${p}"]`)[0])}}});const o=()=>{n("hashChange");const d=a.location.hash.replace("#",""),p=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],b=p?p.getAttribute("data-hash"):"";if(d!==b){const m=e.params.hashNavigation.getSlideIndex(e,d);if(typeof m=="undefined"||Number.isNaN(m))return;e.slideTo(m)}},u=()=>{if(!s||!e.params.hashNavigation.enabled)return;const d=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],p=d?d.getAttribute("data-hash")||d.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&l.history&&l.history.replaceState?(l.history.replaceState(null,null,`#${p}`||""),n("hashSet")):(a.location.hash=p||"",n("hashSet"))},c=()=>
179{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;s=!0;const d=a.location.hash.replace("#","");if(d){const b=e.params.hashNavigation.getSlideIndex(e,d);e.slideTo(b||0,0,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&l.addEventListener("hashchange",o)},f=()=>{e.params.hashNavigation.watchState&&l.removeEventListener("hashchange",o)};i("init",()=>{e.params.hashNavigation.enabled&&c()}),i("destroy",()=>{e.params.hashNavigation.enabled&&f()}),i("transitionEnd _freeModeNoMomentumRelease",()=>{s&&u()}),i("slideChange",()=>{s&&e.params.cssMode&&u()})}var Ps;function J0(t){let{swiper:e,extendParams:r,on:n,emit:i,params:s}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},r({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let a,l,o=s&&s.autoplay?s.autoplay.delay:3e3,u=s&&s.autoplay?s.autoplay.delay:3e3,c,f=new Date().getTime,d,p,b,m,v,h;function y(N){!e||e.destroyed||!e.wrapperEl||N.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",y),O())}const g=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?d=!0:d&&(u=c,d=!1);const N=e.autoplay.paused?c:f+u-new Date().getTime();e.autoplay.timeLeft=N,i("autoplayTimeLeft",N,N/o),l=requestAnimationFrame(()=>{g()})},w=()=>{let N;return e.virtual&&e.params.virtual.enabled?N=e.slides.filter(F=>F.classList.contains("swiper-slide-active"))[0]:N=e.slides[e.activeIndex],N?parseInt(N.getAttribute("data-swiper-autoplay"),10):void 0},T=N=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(l),g();let G=typeof N=="undefined"?e.params.autoplay.delay:N;o=e.params.autoplay.delay,u=e.params.autoplay.delay;const F=w();!Number.isNaN(F)&&F>0&&typeof N=="undefined"&&(G=F,o=F,u=F),c=G;const fe=e.params.speed,xe=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(fe,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,fe,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(fe,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,fe,!0,!0),i("autoplay")),e.params.cssMode&&(f=new Date().getTime(),requestAnimationFrame(()=>{T()})))};return G>0?(clearTimeout(a),a=setTimeout(()=>{xe()},G)):requestAnimationFrame(()=>{xe()}),G},x=()=>{e.autoplay.running=!0,T(),i("autoplayStart")},P=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(l),i("autoplayStop")},I=(N,G)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),N||(h=!0);const F=()=>{i("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",y):O()};if(e.autoplay.paused=!0,G){v&&(c=e.params.autoplay.delay),v=!1,F();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-f),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),F())},O=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(f=new Date().getTime(),h?(h=!1,T(c)):T(),e.autoplay.paused=!1,i("autoplayResume"))},H=()=>{if(e.destroyed||!e.autoplay.running)return;const N=Ps();N.visibilityState==="hidden"&&(h=!0,I(!0)),N.visibilityState==="visible"&&O()},R=N=>{N.pointerType==="mouse"&&(h=!0,!(e.animating||e.autoplay.paused)&&I(!0))},D=N=>{N.pointerType==="mouse"&&e.autoplay.paused&&O()},M=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",R),e.el.addEventListener("pointerleave",D))},S=()=>{e.el.removeEventListener("pointerenter",R),e.el.removeEventListener("pointerleave",D)},A=()=>{Ps().addEventListener("visibilitychange",H)},X=()=>{Ps().removeEventListener("visibilitychange",H)};n("init",()=>{e.params.autoplay.enabled&&(M(),A(),f=new Date().getTime(),x())}),n("destroy",()=>{S(),X(),e.autoplay.running&&P()}),n("beforeTransitionStart",(N,G,F)=>{e.destroyed||!e.autoplay.running||(F||!e.params.autoplay.disableOnInteraction?I(!0,!0):P())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){P();return}p=!0,b=!1,h=!1,m=setTimeout(()=>{h=!0,b=!0,I(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!p)){if(clearTimeout(m),clearTimeout(a),e.params.autoplay.disableOnInteraction){b=!1,p=!1;return}b&&e.params.cssMode&&O(),b=!1,p=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(v=!0)}),Object.assign(e.autoplay,{start:x,stop:P,pause:I,resume:O})}var hg,mg,vg;function Z0(t){let{swiper:e,extendParams:r,on:n}=t;r({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let i=!1,s=!1;e.thumbs={swiper:null};function a(){const u=e.thumbs.swiper;if(!u||u.destroyed)return;const c=u.clickedIndex,f=u.clickedSlide;if(f&&f.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof c=="undefined"||c===null)return;let d;u.params.loop?d=parseInt(u.clickedSlide.getAttribute("data-swiper-slide-index"),10):d=c,e.params.loop?e.slideToLoop(d):e.slideTo(d)}function l(){const{thumbs:u}=e.params;if(i)return!1;i=!0;const c=e.constructor;if(u.swiper instanceof c)e.thumbs.swiper=u.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}
179),e.thumbs.swiper.update();else if(mg(u.swiper)){const f=Object.assign({},u.swiper);Object.assign(f,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new c(f),s=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",a),!0}function o(u){const c=e.thumbs.swiper;if(!c||c.destroyed)return;const f=c.params.slidesPerView==="auto"?c.slidesPerViewDynamic():c.params.slidesPerView;let d=1;const p=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(d=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(d=1),d=Math.floor(d),c.slides.forEach(v=>v.classList.remove(p)),c.params.loop||c.params.virtual&&c.params.virtual.enabled)for(let v=0;v<d;v+=1)vg(c.slidesEl,`[data-swiper-slide-index="${e.realIndex+v}"]`).forEach(h=>{h.classList.add(p)});else for(let v=0;v<d;v+=1)c.slides[e.realIndex+v]&&c.slides[e.realIndex+v].classList.add(p);const b=e.params.thumbs.autoScrollOffset,m=b&&!c.params.loop;if(e.realIndex!==c.realIndex||m){const v=c.activeIndex;let h,y;if(c.params.loop){const g=c.slides.filter(w=>w.getAttribute("data-swiper-slide-index")===`${e.realIndex}`)[0];h=c.slides.indexOf(g),y=e.activeIndex>e.previousIndex?"next":"prev"}else h=e.realIndex,y=h>e.previousIndex?"next":"prev";m&&(h+=y==="next"?b:-1*b),c.visibleSlidesIndexes&&c.visibleSlidesIndexes.indexOf(h)<0&&(c.params.centeredSlides?h>v?h=h-Math.floor(f/2)+1:h=h+Math.floor(f/2)-1:h>v&&c.params.slidesPerGroup,c.slideTo(h,u?0:void 0))}}n("beforeInit",()=>{const{thumbs:u}=e.params;if(!(!u||!u.swiper))if(typeof u.swiper=="string"||u.swiper instanceof HTMLElement){const c=hg(),f=()=>{const p=typeof u.swiper=="string"?c.querySelector(u.swiper):u.swiper;if(p&&p.swiper)u.swiper=p.swiper,l(),o(!0);else if(p){const b=m=>{u.swiper=m.detail[0],p.removeEventListener("init",b),l(),o(!0),u.swiper.update(),e.update()};p.addEventListener("init",b)}return p},d=()=>{if(e.destroyed)return;f()||requestAnimationFrame(d)};requestAnimationFrame(d)}else l(),o(!0)}),n("slideChange update resize observerUpdate",()=>{o()}),n("setTransition",(u,c)=>{const f=e.thumbs.swiper;!f||f.destroyed||f.setTransition(c)}),n("beforeDestroy",()=>{const u=e.thumbs.swiper;!u||u.destroyed||s&&u.destroy()}),Object.assign(e.thumbs,{init:l,update:o})}var Ms,Ds;function eb(t){let{swiper:e,extendParams:r,emit:n,once:i}=t;r({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function s(){if(e.params.cssMode)return;const o=e.getTranslate();e.setTranslate(o),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function a(){if(e.params.cssMode)return;const{touchEventsData:o,touches:u}=e;o.velocities.length===0&&o.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:o.touchStartTime}),o.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:Ms()})}function l(o){let{currentPos:u}=o;if(e.params.cssMode)return;const{params:c,wrapperEl:f,rtlTranslate:d,snapGrid:p,touchEventsData:b}=e,v=Ms()-b.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<p.length?e.slideTo(p.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(b.velocities.length>1){const I=b.velocities.pop(),O=b.velocities.pop(),H=I.position-O.position,R=I.time-O.time;e.velocity=H/R,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(R>150||Ms()-I.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,b.velocities.length=0;let h=1e3*c.freeMode.momentumRatio;const y=e.velocity*h;let g=e.translate+y;d&&(g=-g);let w=!1,T;const x=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let P;if(g<e.maxTranslate())c.freeMode.momentumBounce?(g+e.maxTranslate()<-x&&(g=e.maxTranslate()-x),T=e.maxTranslate(),w=!0,b.allowMomentumBounce=!0):g=e.maxTranslate(),c.loop&&c.centeredSlides&&(P=!0);else if(g>e.minTranslate())c.freeMode.momentumBounce?(g-e.minTranslate()>x&&(g=e.minTranslate()+x),T=e.minTranslate(),w=!0,b.allowMomentumBounce
179=!0):g=e.minTranslate(),c.loop&&c.centeredSlides&&(P=!0);else if(c.freeMode.sticky){let I;for(let O=0;O<p.length;O+=1)if(p[O]>-g){I=O;break}Math.abs(p[I]-g)<Math.abs(p[I-1]-g)||e.swipeDirection==="next"?g=p[I]:g=p[I-1],g=-g}if(P&&i("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(d?h=Math.abs((-g-e.translate)/e.velocity):h=Math.abs((g-e.translate)/e.velocity),c.freeMode.sticky){const I=Math.abs((d?-g:g)-e.translate),O=e.slidesSizesGrid[e.activeIndex];I<O?h=c.speed:I<2*O?h=c.speed*1.5:h=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&w?(e.updateProgress(T),e.setTransition(h),e.setTranslate(g),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Ds(f,()=>{!e||e.destroyed||!b.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(T),Ds(f,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(g),e.setTransition(h),e.setTranslate(g),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Ds(f,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(g),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&n("_freeModeNoMomentumRelease");(!c.freeMode.momentum||v>=c.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:s,onTouchMove:a,onTouchEnd:l}})}var gg;function tb(t,e){const r=gg(e);return r!==e&&(r.style.backfaceVisibility="hidden",r.style["-webkit-backface-visibility"]="hidden"),r}var yg;function rb(t){let{swiper:e,duration:r,transformElements:n,allSlides:i}=t;const{activeIndex:s}=e,a=l=>l.parentElement?l.parentElement:e.slides.filter(u=>u.shadowRoot&&u.shadowRoot===l.parentNode)[0];if(e.params.virtualTranslate&&r!==0){let l=!1,o;i?o=n:o=n.filter(u=>{const c=u.classList.contains("swiper-slide-transform")?a(u):u;return e.getSlideIndex(c)===s}),o.forEach(u=>{yg(u,()=>{if(l||!e||e.destroyed)return;l=!0,e.animating=!1;const c=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(c)})})}}var bg,Eg,wg,_g;function nb(t){let{swiper:e,extendParams:r,on:n}=t;r({fadeEffect:{crossFade:!1}}),bg({effect:"fade",swiper:e,on:n,setTranslate:()=>{const{slides:a}=e,l=e.params.fadeEffect;for(let o=0;o<a.length;o+=1){const u=e.slides[o];let f=-u.swiperSlideOffset;e.params.virtualTranslate||(f-=e.translate);let d=0;e.isHorizontal()||(d=f,f=0);const p=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(u.progress),0):1+Math.min(Math.max(u.progress,-1),0),b=Eg(l,u);b.style.opacity=p,b.style.transform=`translate3d(${f}px, ${d}px, 0px)`}},setTransition:a=>{const l=e.slides.map(o=>_g(o));l.forEach(o=>{o.style.transitionDuration=`${a}ms`}),wg({swiper:e,duration:a,transformElements:l,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}var Sg,Xn;function ib(t){let{swiper:e,extendParams:r,on:n}=t;r({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=(o,u,c)=>{let f=c?o.querySelector(".swiper-slide-shadow-left"):o.querySelector(".swiper-slide-shadow-top"),d=c?o.querySelector(".swiper-slide-shadow-right"):o.querySelector(".swiper-slide-shadow-bottom");f||(f=Xn("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"left":"top"}`.split(" ")),o.append(f)),d||(d=Xn("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"right":"bottom"}`.split(" ")),o.append(d)),f&&(f.style.opacity=Math.max(-u,0)),d&&(d.style.opacity=Math.max(u,0))};Sg({effect:"cube",swiper:e,on:n,setTranslate:()=>{const{el:o,wrapperEl:u,slides:c,width:f,height:d,rtlTranslate:p,size:b,browser:m}=e,v=e.params.cubeEffect,h=e.isHorizontal(),y=e.virtual&&e.params.virtual.enabled;let g=0,w;v.shadow&&(h?(w=e.wrapperEl.querySelector(".swiper-cube-shadow"),w||(w=Xn("div","swiper-cube-shadow"),e.wrapperEl.append(w)),w.style.height=`${f}px`):(w=o.querySelector(".swiper-cube-shadow"),w||(w=Xn("div","swiper-cube-shadow"),o.append(w))));for(let x=0;x<c.length;x+=1){const P=c[x];let I=x;y&&(I=parseInt(P.getAttribute("data-swiper-slide-index"),10));let O=I*90,H=Math.floor(O/360);p&&(O=-O,H=Math.floor(-O/360));
179const R=Math.max(Math.min(P.progress,1),-1);let D=0,M=0,S=0;I%4===0?(D=-H*4*b,S=0):(I-1)%4===0?(D=0,S=-H*4*b):(I-2)%4===0?(D=b+H*4*b,S=b):(I-3)%4===0&&(D=-b,S=3*b+b*4*H),p&&(D=-D),h||(M=D,D=0);const A=`rotateX(${h?0:-O}deg) rotateY(${h?O:0}deg) translate3d(${D}px, ${M}px, ${S}px)`;R<=1&&R>-1&&(g=I*90+R*90,p&&(g=-I*90-R*90)),P.style.transform=A,v.slideShadows&&i(P,R,h)}if(u.style.transformOrigin=`50% 50% -${b/2}px`,u.style["-webkit-transform-origin"]=`50% 50% -${b/2}px`,v.shadow)if(h)w.style.transform=`translate3d(0px, ${f/2+v.shadowOffset}px, ${-f/2}px) rotateX(90deg) rotateZ(0deg) scale(${v.shadowScale})`;else{const x=Math.abs(g)-Math.floor(Math.abs(g)/90)*90,P=1.5-(Math.sin(x*2*Math.PI/360)/2+Math.cos(x*2*Math.PI/360)/2),I=v.shadowScale,O=v.shadowScale/P,H=v.shadowOffset;w.style.transform=`scale3d(${I}, 1, ${O}) translate3d(0px, ${d/2+H}px, ${-d/2/O}px) rotateX(-90deg)`}const T=(m.isSafari||m.isWebView)&&m.needPerspectiveFix?-b/2:0;u.style.transform=`translate3d(0px,0,${T}px) rotateX(${e.isHorizontal()?0:g}deg) rotateY(${e.isHorizontal()?-g:0}deg)`,u.style.setProperty("--swiper-cube-translate-z",`${T}px`)},setTransition:o=>{const{el:u,slides:c}=e;if(c.forEach(f=>{f.style.transitionDuration=`${o}ms`,f.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(d=>{d.style.transitionDuration=`${o}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){const f=u.querySelector(".swiper-cube-shadow");f&&(f.style.transitionDuration=`${o}ms`)}},recreateShadows:()=>{const o=e.isHorizontal();e.slides.forEach(u=>{const c=Math.max(Math.min(u.progress,1),-1);i(u,c,o)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}var Tg,xg;function sb(t,e,r){const n=`swiper-slide-shadow${r?`-${r}`:""}${t?` swiper-slide-shadow-${t}`:""}`,i=Tg(e);let s=i.querySelector(`.${n.split(" ").join(".")}`);return s||(s=xg("div",n.split(" ")),i.append(s)),s}var uu,Og,Cg,Pg,Mg;function ab(t){let{swiper:e,extendParams:r,on:n}=t;r({flipEffect:{slideShadows:!0,limitRotation:!0}});const i=(o,u)=>{let c=e.isHorizontal()?o.querySelector(".swiper-slide-shadow-left"):o.querySelector(".swiper-slide-shadow-top"),f=e.isHorizontal()?o.querySelector(".swiper-slide-shadow-right"):o.querySelector(".swiper-slide-shadow-bottom");c||(c=uu("flip",o,e.isHorizontal()?"left":"top")),f||(f=uu("flip",o,e.isHorizontal()?"right":"bottom")),c&&(c.style.opacity=Math.max(-u,0)),f&&(f.style.opacity=Math.max(u,0))};Og({effect:"flip",swiper:e,on:n,setTranslate:()=>{const{slides:o,rtlTranslate:u}=e,c=e.params.flipEffect;for(let f=0;f<o.length;f+=1){const d=o[f];let p=d.progress;e.params.flipEffect.limitRotation&&(p=Math.max(Math.min(d.progress,1),-1));const b=d.swiperSlideOffset;let v=-180*p,h=0,y=e.params.cssMode?-b-e.translate:-b,g=0;e.isHorizontal()?u&&(v=-v):(g=y,y=0,h=-v,v=0),d.style.zIndex=-Math.abs(Math.round(p))+o.length,c.slideShadows&&i(d,p);const w=`translate3d(${y}px, ${g}px, 0px) rotateX(${h}deg) rotateY(${v}deg)`,T=Cg(c,d);T.style.transform=w}},setTransition:o=>{const u=e.slides.map(c=>Mg(c));u.forEach(c=>{c.style.transitionDuration=`${o}ms`,c.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>{f.style.transitionDuration=`${o}ms`})}),Pg({swiper:e,duration:o,transformElements:u})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(o=>{let u=o.progress;e.params.flipEffect.limitRotation&&(u=Math.max(Math.min(o.progress,1),-1)),i(o,u)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}var cu,Dg,Ag,Ig;function ob(t){let{swiper:e,extendParams:r,on:n}=t;r({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),Dg({effect:"coverflow",swiper:e,on:n,setTranslate:()=>{const{width:a,height:l,slides:o,slidesSizesGrid:u}=e,c=e.params.coverflowEffect,f=e.isHorizontal(),d=e.translate,p=f?-d+a/2:-d+l/2,b=f?c.rotate:-c.rotate,m=c.depth;for(let v=0,h=o.length;v<h;v+=1){const y=o[v],g=u[v],w=y.swiperSlideOffset,T=(p-w-g/2)/g,x=typeof c.modifier=="function"?c.modifier(T):T*c.modifier;let P=f?b*x:0,I=f?0:b*x,O=-m*Math.abs(x),H=c.stretch;typeof H=="string"&&H.indexOf("%")!==-1&&(H=parseFloat(c.stretch)/100*g);let R=f?0:H*x,D=f?H*x:0,M=1-(1-c.scale)*Math.abs(x);Math.abs(D)<.001&&(D=0),Math.abs(R)<.001&&(R=0),Math.abs(O)<.001&&(O=0),Math.abs(P)<.001&&(P=0),Math.abs(I)<.001&&(I=0),Math.abs(M)<.001&&(M=0);const S=`translate3d(${D}px,${R}px,${O}px) rotateX(${I}deg) rotateY(${P}deg) scale(${M})`,A=Ag(c,y);if(A.style.transform=S,y.style.zIndex=-Math.abs(Math.round(x))+1,c.slideShadows){let X=f?y.querySelector(".swiper-slide-shadow-left"):y.querySelector(".swiper-slide-shadow-top"),N=f?y.querySelector(".swiper-slide-shadow-right"):y.querySelector(".swiper-slide-shadow-bottom");
179X||(X=cu("coverflow",y,f?"left":"top")),N||(N=cu("coverflow",y,f?"right":"bottom")),X&&(X.style.opacity=x>0?x:0),N&&(N.style.opacity=-x>0?-x:0)}}},setTransition:a=>{e.slides.map(o=>Ig(o)).forEach(o=>{o.style.transitionDuration=`${a}ms`,o.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>{u.style.transitionDuration=`${a}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}var Rg,kg,Lg,Ng,Fg;function lb(t){let{swiper:e,extendParams:r,on:n}=t;r({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const i=l=>typeof l=="string"?l:`${l}px`;kg({effect:"creative",swiper:e,on:n,setTranslate:()=>{const{slides:l,wrapperEl:o,slidesSizesGrid:u}=e,c=e.params.creativeEffect,{progressMultiplier:f}=c,d=e.params.centeredSlides;if(d){const p=u[0]/2-e.params.slidesOffsetBefore||0;o.style.transform=`translateX(calc(50% - ${p}px))`}for(let p=0;p<l.length;p+=1){const b=l[p],m=b.progress,v=Math.min(Math.max(b.progress,-c.limitProgress),c.limitProgress);let h=v;d||(h=Math.min(Math.max(b.originalProgress,-c.limitProgress),c.limitProgress));const y=b.swiperSlideOffset,g=[e.params.cssMode?-y-e.translate:-y,0,0],w=[0,0,0];let T=!1;e.isHorizontal()||(g[1]=g[0],g[0]=0);let x={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};v<0?(x=c.next,T=!0):v>0&&(x=c.prev,T=!0),g.forEach((M,S)=>{g[S]=`calc(${M}px + (${i(x.translate[S])} * ${Math.abs(v*f)}))`}),w.forEach((M,S)=>{w[S]=x.rotate[S]*Math.abs(v*f)}),b.style.zIndex=-Math.abs(Math.round(m))+l.length;const P=g.join(", "),I=`rotateX(${w[0]}deg) rotateY(${w[1]}deg) rotateZ(${w[2]}deg)`,O=h<0?`scale(${1+(1-x.scale)*h*f})`:`scale(${1-(1-x.scale)*h*f})`,H=h<0?1+(1-x.opacity)*h*f:1-(1-x.opacity)*h*f,R=`translate3d(${P}) ${I} ${O}`;if(T&&x.shadow||!T){let M=b.querySelector(".swiper-slide-shadow");if(!M&&x.shadow&&(M=Rg("creative",b)),M){const S=c.shadowPerProgress?v*(1/c.limitProgress):v;M.style.opacity=Math.min(Math.max(Math.abs(S),0),1)}}const D=Lg(c,b);D.style.transform=R,D.style.opacity=H,x.origin&&(D.style.transformOrigin=x.origin)}},setTransition:l=>{const o=e.slides.map(u=>Fg(u));o.forEach(u=>{u.style.transitionDuration=`${l}ms`,u.querySelectorAll(".swiper-slide-shadow").forEach(c=>{c.style.transitionDuration=`${l}ms`})}),Ng({swiper:e,duration:l,transformElements:o,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}var zg,jg,Bg,Vg,$g;function ub(t){let{swiper:e,extendParams:r,on:n}=t;r({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),jg({effect:"cards",swiper:e,on:n,setTranslate:()=>{const{slides:a,activeIndex:l,rtlTranslate:o}=e,u=e.params.cardsEffect,{startTranslate:c,isTouched:f}=e.touchEventsData,d=o?-e.translate:e.translate;for(let p=0;p<a.length;p+=1){const b=a[p],m=b.progress,v=Math.min(Math.max(m,-4),4);let h=b.swiperSlideOffset;e.params.centeredSlides&&!e.params.cssMode&&(e.wrapperEl.style.transform=`translateX(${e.minTranslate()}px)`),e.params.centeredSlides&&e.params.cssMode&&(h-=a[0].swiperSlideOffset);let y=e.params.cssMode?-h-e.translate:-h,g=0;const w=-100*Math.abs(v);let T=1,x=-u.perSlideRotate*v,P=u.perSlideOffset-Math.abs(v)*.75;const I=e.virtual&&e.params.virtual.enabled?e.virtual.from+p:p,O=(I===l||I===l-1)&&v>0&&v<1&&(f||e.params.cssMode)&&d<c,H=(I===l||I===l+1)&&v<0&&v>-1&&(f||e.params.cssMode)&&d>c;if(O||H){const S=(1-Math.abs((Math.abs(v)-.5)/.5))**.5;x+=-28*v*S,T+=-.5*S,P+=96*S,g=`${-25*S*Math.abs(v)}%`}if(v<0?y=`calc(${y}px ${o?"-":"+"} (${P*Math.abs(v)}%))`:v>0?y=`calc(${y}px ${o?"-":"+"} (-${P*Math.abs(v)}%))`:y=`${y}px`,!e.isHorizontal()){const S=g;g=y,y=S}const R=v<0?`${1+(1-T)*v}`:`${1-(1-T)*v}`,D=` 180 translate3d(${y}, ${g}, ${w}px) 181 rotateZ(${u.rotate?o?-x:x:0}deg) 182 scale(${R}) 183 `;if(u.slideShadows){let S=b.querySelector(".swiper-slide-shadow");S||(S=zg("cards",b)),S&&(S.style.opacity=Math.min(Math.max((Math.abs(v)-.5)/.5,0),1))}b.style.zIndex=-Math.abs(Math.round(m))+a.length;const M=Bg(u,b);M.style.transform=D}},setTransition:a=>{const l=e.slides.map(o=>$g(o));l.forEach(o=>{o.style.transitionDuration=`${a}ms`,o.querySelectorAll(".swiper-slide-shadow").forEach(u=>{u.style.transitionDuration=`${a}ms`})}),Vg({swiper:e,duration:a,transformElements:l})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}const{yllasVariables:{restnonce:Wg,graphqlEndpoint:Ug,postid:cb}}=window,qg={watchQuery:{fetchPolicy:"no-cache",errorPolicy:"ignore"},query:{fetchPolicy:"no-cache",errorPolicy:"all"}},Gg=new uo({uri:Ug,cache:new zo,defaultOptions:qg,headers:{"X-WP-Nonce":Wg}}),Hg=Vo().img` 184 height: 320px; 185 object-fit: cover; 186 @media screen and (min-width: 770px) { 187 height: auto; 188 aspect-ratio: 1 / 1.1; 189 } 190`,Qg=ns({typography:{fontFamily:"inherit"}
190,breakpoints:{values:{xs:0,sm:640,md:770,lg:1024,xl:1200}},components:{MuiButton:{defaultProps:{disableRipple:!0},styleOverrides:{root:{fontWeight:700,fontVariationSettings:"'wght' 700, 'wdth' 110",letterSpacing:"0.07em",fontSize:"1rem",display:"inline-flex",flexFlow:"row wrap",justifyContent:"center",alignItems:"center"},text:{color:"var(--wp--preset--color--accent,#41BAC5)"}}}}}),Yg=()=>{const[t,e]=(0,q.useState)(window.innerWidth);return(0,q.useEffect)(()=>{const r=()=>e(window.innerWidth);return window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}}),t},Xg=({allActivities:t,wintertagid:e,summertagid:r})=>{const[n,i]=(0,q.useState)(0),s=(0,q.useRef)(null),a=Yg(),[l,o]=(0,q.useState)([]),u=$v(),c=(0,q.useRef)(null),f=(0,q.useRef)(null),d={modules:[Kv],direction:"horizontal",loop:!1,slidesPerView:"auto",autoplay:!0,speed:400,spaceBetween:10,navigation:{enabled:!0,disabledClass:"!y-hidden",nextEl:c==null?void 0:c.current,prevEl:f==null?void 0:f.current},breakpoints:{1:{navigation:{enabled:!0,disabledClass:"!y-hidden",nextEl:c==null?void 0:c.current,prevEl:f==null?void 0:f.current}},770:{slidesPerView:"auto",spaceBetween:50,navigation:{enabled:!0,disabledClass:"!y-hidden",nextEl:c==null?void 0:c.current,prevEl:f==null?void 0:f.current}}}};return(0,q.useEffect)(()=>{var p;const b=(0,st.filter)(t,m=>{var v;return n<1?!0:(0,st.some)((v=m==null?void 0:m.seasons)==null?void 0:v.nodes,h=>(h==null?void 0:h.databaseId)==(n==2?e:r))});o(b),(p=s.current)==null||p.slideTo(0)},[n]),(0,C.jsxs)("div",{style:{position:"static",paddingTop:"2rem",paddingBottom:"1rem"},children:[(0,C.jsxs)("div",{className:"season-selector",style:{display:"flex",flexFlow:"row wrap",alignItems:"flex-end",gap:"0.25rem",justifyContent:a>1024?"center":"space-between",paddingBottom:"1rem",fontFamily:'"Open Sans",sans-serif'},children:[a>1024&&(0,C.jsx)("div",{style:{flexGrow:1}}),(0,C.jsx)(us,{sx:{borderRadius:0,px:3,pb:1,":after":{content:'""',position:"absolute",bottom:"0px",left:"25%",width:"50%",height:"4px",backgroundColor:n==0?"var(--wp--preset--color--accent,#41BAC5)":"rgba(0,0,0,0)"}},variant:"text",size:"small",style:{position:"relative",borderBottom:"0",color:n==0?"#454246":"#948d96",fontWeight:600},onClick:p=>{p.preventDefault(),p.stopPropagation(),i(0)},children:(0,st.get)(u,"Kaikki","Kaikki")}),(0,C.jsx)(us,{sx:{borderRadius:0,px:3,pb:1,":after":{content:'""',position:"absolute",bottom:"0px",left:"25%",width:"50%",height:"4px",backgroundColor:n==1?"var(--wp--preset--color--accent,#41BAC5)":"rgba(0,0,0,0)"}},variant:"text",size:"small",style:{position:"relative",borderBottom:"0",color:n==1?"#454246":"#948d96",fontWeight:600},onClick:p=>{p.preventDefault(),p.stopPropagation(),i(1)},children:(0,st.get)(u,"Kes\xE4","Kes\xE4")}),(0,C.jsx)(us,{sx:{borderRadius:0,px:3,pb:1,":after":{content:'""',position:"absolute",bottom:"0px",left:"25%",width:"50%",height:"4px",backgroundColor:n==2?"var(--wp--preset--color--accent,#41BAC5)":"rgba(0,0,0,0)"}},variant:"text",size:"small",style:{position:"relative",borderBottom:"0",color:n==2?"#454246":"#948d96",fontWeight:600},onClick:p=>{p.preventDefault(),p.stopPropagation(),i(2)},children:(0,st.get)(u,"Talvi","Talvi")}),a>1024&&(0,C.jsx)("div",{style:{flexGrow:1}})]}),l&&(0,C.jsxs)(Jl,{...d,onBeforeInit:p=>{p.params.navigation.prevEl=f.current,p.params.navigation.nextEl=c.current,p.params.breakpoints[1].navigation.prevEl=f.current,p.params.breakpoints[1].navigation.nextEl=c.current,p.params.breakpoints[770].navigation.prevEl=f.current,p.params.breakpoints[770].navigation.nextEl=c.current},onAfterInit:p=>{p.params.navigation.prevEl=f.current,p.params.navigation.nextEl=c.current,p.navigation.prevEl=f.current,p.navigation.nextEl=c.current,p.params.breakpoints[1].navigation.prevEl=f.current,p.params.breakpoints[1].navigation.nextEl=c.current,p.params.breakpoints[770].navigation.prevEl=f.current,p.params.breakpoints[770].navigation.nextEl=c.current,s.current=p},onResize:p=>{p.params.navigation.prevEl=f.current,p.params.navigation.nextEl=c.current,p.navigation.prevEl=f.current,p.navigation.nextEl=c.current,p.params.breakpoints[1].navigation.prevEl=f.current,p.params.breakpoints[1].navigation.nextEl=c.current,p.params.breakpoints[770].navigation.prevEl=f.current,p.params.breakpoints[770].navigation.nextEl=c.current},children:[(0,st.map)((0,st.orderBy)(l,p=>p==null?void 0:p.menuOrder,["asc","desc"]),(p,b)=>{var m,v;return(0,C.jsx)(Zl,{className:"y-overflow-hidden y-rounded-lg y-h-full",children:(0,C.jsxs)("div",{className:"swiper-slide-inner y-relative y-w-full y-h-full",children:[(0,C.jsx)("a",{href:p==null?void 0:p.uri,className:"y-absolute y-top-0 y-left-0 y-bottom-0 y-right-0 y-w-full y-h-full y-z-10",children:(0,C.jsx)("span",{className:"y-sr-only",children:p==null?void 0:p.title})}),(0,C.jsx)(Hg,{src:(v=(m=p==null?void 0:p.featuredImage)==null?void 0:m.node)==null?void 0:v.sourceUrl,loading:"eager",width:300,height:300,style:{objectFit:"cover",width:"100%",overflow:"hidden",borderRadius:"1rem"}}),(0,C.jsx)("h3",{style:{width:"100%",display:"block",textAlign:"center",fontSize:"clamp(1.125rem, 1.125rem + ((1vw - 0.48rem) * 0.721), 1.5rem)",color:"var(--wp--preset--color--foreground)",marginBlockStart:0,marginBlockEnd:0,padding:"1rem 0 1rem"},children:p==null?void 0:p.title})]})},"slide-"+(0,st.toString)(p==null?void 0:p.databaseId))}),(0,C.jsx)("div",{slot:"container-start",children:(0,C.jsx)(eu,{ref:f,className:"swiper-button-prev"})}),(0,C.jsx)("div",{slot:"container-end",children:(0,C.jsx)(eu,{ref:c,className:"swiper-button-next"})})]}),!(0,st.isNil)(l)&&(0,st.isEmpty)(l)?(0,C.jsx)("p",{children:(0,st.get)(u,"Aktiviteetteja ei l\xF6ytynyt!","Aktiviteetteja ei l\xF6ytynyt!")}):(0,st.isEmpty)(l)?(0,C.jsxs)(hh,{sx:{width:"100%",maxWidth:1200,mx:"auto",py:2,px:3,display:"grid",gridTemplateColumns:"100%",gap:"0.5rem","@media (min-width:770px)":{gridTemplateColumns:"repeat(4,minmax(0,1fr))"}},children:[(0,C.jsx)(Wn,{width:"100%",height:421}),(0,C.jsxs)(qh,{mdDown:!0,children:[(0,C.jsx)(Wn,{width:"100%",height:421}),(0,C.jsx)(Wn,{width:"100%",height:421}),(0,C.jsx)(Wn,{width:"100%",height:421})]})]}):null]})};rn()(()=>{rn()(".yllas-aktiviteetit-nosto").each((t,e)=>{const r=rn()(e).data("activities"),n=rn()(e).data("wintertagid"),i=rn()(e).data("summertagid");(0,dm.H)(e).render((0,C.jsx)(Od,{client:Gg,children:(0,C.jsx)(cm,{theme:Qg,children:(0,C.jsx)(Xg,{allActivities:r,wintertagid:n,summertagid:i})})}))})})})()})();
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.