1(()=>{var Bu={3892(C,k,_){"use strict";var E,j=_(2679);E={value:!0},E=W,E=be,E=void 0,k.e$=le,E=N,E=re,k.eM=ue,E=ie,E=oe,E=se,k.a=pe,E=ge,E=void 0,E=Y,E=Se,E=ve,E=G,E=fe;var B=j(_(6200)),$=j(_(7314));function Q(V,R=0,J=1){return(0,$.default)(V,R,J)}function oe(V){V=V.slice(1);const R=new RegExp(`.{1,${V.length>=6?2:1}}`,"g");let J=V.match(R);return J&&J[0].length===1&&(J=J.map(ne=>ne+ne)),J?`rgb${J.length===4?"a":""}(${J.map((ne,Ee)=>Ee<3?parseInt(ne,16):Math.round(parseInt(ne,16)/255*1e3)/1e3).join(", ")})`:""}function q(V){const R=V.toString(16);return R.length===1?`0${R}`:R}function N(V){if(V.type)return V;if(V.charAt(0)==="#")return N(oe(V));const R=V.indexOf("("),J=V.substring(0,R);if(["rgb","rgba","hsl","hsla","color"].indexOf(J)===-1)throw new Error((0,B.default)(9,V));let ne=V.substring(R+1,V.length-1),Ee;if(J==="color"){if(ne=ne.split(" "),Ee=ne.shift(),ne.length===4&&ne[3].charAt(0)==="/"&&(ne[3]=ne[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(Ee)===-1)throw new Error((0,B.default)(10,Ee))}else ne=ne.split(",");return ne=ne.map(je=>parseFloat(je)),{type:J,values:ne,colorSpace:Ee}}const K=V=>{const R=N(V);return R.values.slice(0,3).map((J,ne)=>R.type.indexOf("hsl")!==-1&&ne!==0?`${J}%`:J).join(" ")};E=K,E=(V,R)=>{try{return K(V)}catch(J){return V}};function G(V){const{type:R,colorSpace:J}=V;let{values:ne}=V;return R.indexOf("rgb")!==-1?ne=ne.map((Ee,je)=>je<3?parseInt(Ee,10):Ee):R.indexOf("hsl")!==-1&&(ne[1]=`${ne[1]}%`,ne[2]=`${ne[2]}%`),R.indexOf("color")!==-1?ne=`${J} ${ne.join(" ")}`:ne=`${ne.join(", ")}`,`${R}(${ne})`}function fe(V){if(V.indexOf("#")===0)return V;const{values:R}=N(V);return`#${R.map((J,ne)=>q(ne===3?Math.round(255*J):J)).join("")}`}function se(V){V=N(V);const{values:R}=V,J=R[0],ne=R[1]/100,Ee=R[2]/100,je=ne*Math.min(Ee,1-Ee),Ce=(Be,ze=(Be+J/30)%12)=>Ee-je*Math.max(Math.min(ze-3,9-ze,1),-1);let ke="rgb";const ct=[Math.round(Ce(0)*255),Math.round(Ce(8)*255),Math.round(Ce(4)*255)];return V.type==="hsla"&&(ke+="a",ct.push(R[3])),G({type:ke,values:ct})}function ie(V){V=N(V);let R=V.type==="hsl"||V.type==="hsla"?N(se(V)).values:V.values;return R=R.map(J=>(V.type!=="color"&&(J/=255),J<=.03928?J/12.92:((J+.055)/1.055)**2.4)),Number((.2126*R[0]+.7152*R[1]+.0722*R[2]).toFixed(3))}function ue(V,R){const J=ie(V),ne=ie(R);return(Math.max(J,ne)+.05)/(Math.min(J,ne)+.05)}function W(V,R){return V=N(V),R=Q(R),(V.type==="rgb"||V.type==="hsl")&&(V.type+="a"),V.type==="color"?V.values[3]=`/${R}`:V.values[3]=R,G(V)}function ge(V,R,J){try{return W(V,R)}catch(ne){return V}}function le(V,R){if(V=N(V),R=Q(R),V.type.indexOf("hsl")!==-1)V.values[2]*=1-R;else if(V.type.indexOf("rgb")!==-1||V.type.indexOf("color")!==-1)for(let J=0;J<3;J+=1)V.values[J]*=1-R;return G(V)}function Y(V,R,J){try{return le(V,R)}catch(ne){return V}}function pe(V,R){if(V=N(V),R=Q(R),V.type.indexOf("hsl")!==-1)V.values[2]+=(100-V.values[2])*R;else if(V.type.indexOf("rgb")!==-1)for(let J=0;J<3;J+=1)V.values[J]+=(255-V.values[J])*R;else if(V.type.indexOf("color")!==-1)for(let J=0;J<3;J+=1)V.values[J]+=(1-V.values[J])*R;return G(V)}function ve(V,R,J){try{return pe(V,R)}catch(ne){return V}}function re(V,R=.15){return ie(V)>.5?le(V,R):pe(V,R)}function Se(V,R,J){try{return re(V,R)}catch(ne){return V}}function be(V,R,J,ne=1){const Ee=(ct,Be)=>Math.round((ct**(1/ne)*(1-J)+Be**(1/ne)*J)**ne),je=N(V),Ce=N(R),ke=[Ee(je.values[0],Ce.values[0]),Ee(je.values[1],Ce.values[1]),Ee(je.values[2],Ce.values[2])];return G({type:"rgb",values:ke})}},4174(C,k,_){"use strict";var E,j=_(2679);E={value:!0},k.Ay=V,E=le,E=void 0;var B=j(_(9787)),$=j(_(866)),Q=ue(_(4083)),oe=_(1335),q=j(_(3893)),N=j(_(9184)),K=j(_(9311)),H=j(_(7096));const G=["ownerState"],fe=["variants"],se=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function ie(R){if(typeof WeakMap!="function")return null;var J=new WeakMap,ne=new WeakMap;return(ie=function(Ee){return Ee?ne:J})(R)}function ue(R,J){if(!J&&R&&R.__esModule)return R;if(R===null||typeof R!="object"&&typeof R!="function")return{default:R};var ne=ie(J);if(ne&&ne.has(R))return ne.get(R);var Ee={__proto__:null},je=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ce in R)if(Ce!=="default"&&Object.prototype.hasOwnProperty.call(R,Ce)){var ke=je?Object.getOwnPropertyDescriptor(R,Ce):null;ke&&(ke.get||ke.set)?Object.defineProperty(Ee,Ce,ke):Ee[Ce]=R[Ce]}return Ee.default=R,ne&&ne.set(R,Ee),Ee}function W(R){return Object.keys(R).length===0}
1function ge(R){return typeof R=="string"&&R.charCodeAt(0)>96}function le(R){return R!=="ownerState"&&R!=="theme"&&R!=="sx"&&R!=="as"}function Y(R,J){return J&&R&&typeof R=="object"&&R.styles&&!R.styles.startsWith("@layer")&&(R.styles=`@layer ${J}{${String(R.styles)}}`),R}const pe=E=(0,K.default)(),ve=R=>R&&R.charAt(0).toLowerCase()+R.slice(1);function re({defaultTheme:R,theme:J,themeId:ne}){return W(J)?R:J[ne]||J}function Se(R){return R?(J,ne)=>ne[R]:null}function be(R,J,ne){let{ownerState:Ee}=J,je=(0,$.default)(J,G);const Ce=typeof R=="function"?R((0,B.default)({ownerState:Ee},je)):R;if(Array.isArray(Ce))return Ce.flatMap(ke=>be(ke,(0,B.default)({ownerState:Ee},je),ne));if(Ce&&typeof Ce=="object"&&Array.isArray(Ce.variants)){const{variants:ke=[]}=Ce;let Be=(0,$.default)(Ce,fe);return ke.forEach(ze=>{let ft=!0;if(typeof ze.props=="function"?ft=ze.props((0,B.default)({ownerState:Ee},je,Ee)):Object.keys(ze.props).forEach(et=>{(Ee==null?void 0:Ee[et])!==ze.props[et]&&je[et]!==ze.props[et]&&(ft=!1)}),ft){Array.isArray(Be)||(Be=[Be]);const et=typeof ze.style=="function"?ze.style((0,B.default)({ownerState:Ee},je,Ee)):ze.style;Be.push(ne?Y((0,Q.internal_serializeStyles)(et),ne):et)}}),Be}return ne?Y((0,Q.internal_serializeStyles)(Ce),ne):Ce}function V(R={}){const{themeId:J,defaultTheme:ne=pe,rootShouldForwardProp:Ee=le,slotShouldForwardProp:je=le}=R,Ce=ke=>(0,H.default)((0,B.default)({},ke,{theme:re((0,B.default)({},ke,{defaultTheme:ne,themeId:J}))}));return Ce.__mui_systemSx=!0,(ke,ct={})=>{(0,Q.internal_processStyles)(ke,qe=>qe.filter(tt=>!(tt!=null&&tt.__mui_systemSx)));const{name:Be,slot:ze,skipVariantsResolver:ft,skipSx:et,overridesResolver:dn=Se(ve(ze))}=ct,pn=(0,$.default)(ct,se),mt=Be&&Be.startsWith("Mui")||ze?"components":"custom",er=ft!==void 0?ft:ze&&ze!=="Root"&&ze!=="root"||!1,Pr=et||!1;let tr,Dr=le;ze==="Root"||ze==="root"?Dr=Ee:ze?Dr=je:ge(ke)&&(Dr=void 0);const hn=(0,Q.default)(ke,(0,B.default)({shouldForwardProp:Dr,label:tr},pn)),rr=qe=>typeof qe=="function"&&qe.__emotion_real!==qe||(0,oe.isPlainObject)(qe)?tt=>{const dt=re({theme:tt.theme,defaultTheme:ne,themeId:J});return be(qe,(0,B.default)({},tt,{theme:dt}),dt.modularCssLayers?mt:void 0)}:qe,He=(qe,...tt)=>{let dt=rr(qe);const _t=tt?tt.map(rr):[];Be&&dn&&_t.push(Ae=>{const Xe=re((0,B.default)({},Ae,{defaultTheme:ne,themeId:J}));if(!Xe.components||!Xe.components[Be]||!Xe.components[Be].styleOverrides)return null;const vt=Xe.components[Be].styleOverrides,Tt={};return Object.entries(vt).forEach(([Mr,js])=>{Tt[Mr]=be(js,(0,B.default)({},Ae,{theme:Xe}),Xe.modularCssLayers?"theme":void 0)}),dn(Ae,Tt)}),Be&&!er&&_t.push(Ae=>{var Xe;const vt=re((0,B.default)({},Ae,{defaultTheme:ne,themeId:J})),Tt=vt==null||(Xe=vt.components)==null||(Xe=Xe[Be])==null?void 0:Xe.variants;return be({variants:Tt},(0,B.default)({},Ae,{theme:vt}),vt.modularCssLayers?"theme":void 0)}),Pr||_t.push(Ce);const zt=_t.length-tt.length;if(Array.isArray(qe)&&zt>0){const Ae=new Array(zt).fill("");dt=[...qe,...Ae],dt.raw=[...qe.raw,...Ae]}const te=hn(dt,..._t);return ke.muiName&&(te.muiName=ke.muiName),te};return hn.withConfig&&(He.withConfig=hn.withConfig),He}}},3558(C,k,_){"use strict";_.d(k,{Vq:()=>Y,t0:()=>Q});var E=_(8704),j=_(3225),B=_(9448),$=_(5793);function Q(re){return typeof re!="number"?re:`${re}px solid`}function oe(re,Se){return(0,E.Ay)({prop:re,themeKey:"borders",transform:Se})}const q=oe("border",Q),N=oe("borderTop",Q),K=oe("borderRight",Q),H=oe("borderBottom",Q),G=oe("borderLeft",Q),fe=oe("borderColor"),se=oe("borderTopColor"),ie=oe("borderRightColor"),ue=oe("borderBottomColor"),W=oe("borderLeftColor"),ge=oe("outline",Q),le=oe("outlineColor"),Y=re=>{if(re.borderRadius!==void 0&&re.borderRadius!==null){const Se=(0,B.MA)(re.theme,"shape.borderRadius",4,"borderRadius"),be=V=>({borderRadius:(0,B._W)(Se,V)});return(0,$.NI)(re,re.borderRadius,be)}return null};Y.propTypes={},Y.filterProps=["borderRadius"];const pe=(0,j.A)(q,N,K,H,G,fe,se,ie,ue,W,Y,ge,le);var ve=null},5793(C,k,_){"use strict";_.d(k,{EU:()=>N,NI:()=>oe,vf:()=>K,zu:()=>$});var E,j,B;const $={xs:0,sm:600,md:900,lg:1200,xl:1536},Q={keys:["xs","sm","md","lg","xl"],up:ie=>`@media (min-width:${$[ie]}px)`};function oe(ie,ue,W){const ge=ie.theme||{};if(Array.isArray(ue)){const Y=ge.breakpoints||Q;return ue.reduce((pe,ve,re)=>(pe[Y.up(Y.keys[re])]=W(ue[re]),pe),{})}if(typeof ue=="object"){const Y=ge.breakpoints||Q;return Object.keys(ue).reduce((pe,ve)=>{if(Object.keys(Y.values||$).indexOf(ve)!==-1){const re=Y.up(ve);pe[re]=W(ue[ve],ve)}else{const re=ve;pe[re]=ue[re]}return pe},{})}return W(ue)}function q(ie){const ue=W=>{const ge=W.theme||{},le=ie(W),Y=ge.breakpoints||Q,pe=Y.keys.reduce((ve,re)=>(W[re]&&(ve=ve||{},ve[Y.up(re)]=ie(E({theme:ge},W[re]))),ve),null);return B(le,pe)};return ue.propTypes={},ue.filterProps=["xs","sm","md","lg","xl",...ie.filterProps],ue}function N(ie={}){var ue;return((ue=ie.keys)==null?void 0:ue.reduce((ge,le)=>{const Y=ie.up(le);return ge[Y]={},ge},{}))||{}}function K(ie,ue){return ie.reduce((W,ge)=>{const le=W[ge];return(!le||Object.keys(le).length===0)&&delete W[ge],W},ue)}function H(ie,...ue){const W=N(ie),ge=[W,...ue].reduce((le,Y)=>j(le,Y),{});return K(Object.keys(W),ge)}function G(ie,ue){if(typeof ie!="object")return{};const W={},ge=Object.keys(ue);return Array.isArray(ie)?ge.forEach((le,Y)=>{Y<ie.length&&(W[le]=!0)}):ge.forEach(le=>{ie[le]!=null&&(W[le]=!0)}),W}function fe({values:ie,breakpoints:ue,base:W}){const ge=W||G(ie,ue),le=Object.keys(ge);if(le.length===0)return ie;let Y;return le.reduce((pe,ve,re)=>(Array.isArray(ie)?(pe[ve]=ie[re]!=null?ie[re]:ie[Y],Y=re):typeof ie=="object"?(pe[ve]=ie[ve]!=null?ie[ve]:ie[Y],Y=ve):pe[ve]=ie,pe),{})}var se=null},3225(C,k,_){"use strict";_.d(k,{A:()=>B});var E=_(2969);function j(...$){const Q=$.reduce((q,N)=>(N.filterProps.forEach(K=>{q[K]=N}),q),{}),oe=q=>Object.keys(q).reduce((N,K)=>Q[K]?(0,E.A)(N,Q[K](q)):N,{});return oe.propTypes={},oe.filterProps=$.reduce((q,N)=>q.concat(N.filterProps),[]),oe}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:()=>oe});var E=_(9244),j=_(8621);const B=["values","unit","step"],$=null,Q=q=>{const N=Object.keys(q).map(K=>({key:K,val:q[K]}))||[];return N.sort((K,H)=>K.val-H.val),N.reduce((K,H)=>(0,j.A)({},K,{[H.key]:H.val}),{})};function oe(q){const{values:N={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:K="px",step:H=5}=q,G=(0,E.A)(q,B),fe=Q(N),se=Object.keys(fe);function ie(Y){return`@media (min-width:${typeof N[Y]=="number"?N[Y]:Y}${K})`}function ue(Y){return`@media (max-width:${(typeof N[Y]=="number"?N[Y]:Y)-H/100}
1${K})`}function W(Y,pe){const ve=se.indexOf(pe);return`@media (min-width:${typeof N[Y]=="number"?N[Y]:Y}${K}) and (max-width:${(ve!==-1&&typeof N[se[ve]]=="number"?N[se[ve]]:pe)-H/100}${K})`}function ge(Y){return se.indexOf(Y)+1<se.length?W(Y,se[se.indexOf(Y)+1]):ie(Y)}function le(Y){const pe=se.indexOf(Y);return pe===0?ie(se[1]):pe===se.length-1?ue(se[pe]):W(Y,se[se.indexOf(Y)+1]).replace("@media","@media not all and")}return(0,j.A)({keys:se,values:fe,up:ie,down:ue,between:W,only:ge,not:le,unit:K},G)}},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}),Q=(...oe)=>(oe.length===0?[1]:oe).map(N=>{const K=$(N);return typeof K=="number"?`${K}px`:K}).join(" ");return Q.mui=!0,Q}},5238(C,k,_){"use strict";_.d(k,{A:()=>fe});var E=_(8621),j=_(9244),B=_(8989),$=_(931),Q=_(4002),oe=_(7402),q=_(5338),N=_(1324),K=_(741);const H=["breakpoints","palette","spacing","shape"];function G(se={},...ie){const{breakpoints:ue={},palette:W={},spacing:ge,shape:le={}}=se,Y=(0,j.A)(se,H),pe=(0,$.A)(ue),ve=(0,oe.A)(ge);let re=(0,B.A)({breakpoints:pe,direction:"ltr",components:{},palette:(0,E.A)({mode:"light"},W),spacing:ve,shape:(0,E.A)({},Q.A,le)},Y);return re.applyStyles=K.A,re=ie.reduce((Se,be)=>(0,B.A)(Se,be),re),re.unstable_sxConfig=(0,E.A)({},N.A,Y==null?void 0:Y.unstable_sxConfig),re.unstable_sx=function(be){return(0,q.A)({sx:be,theme:this})},re}const fe=G},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:()=>oe,pe:()=>q,rQ:()=>Q});var E=_(8704),j=_(3225),B=_(9448),$=_(5793);const Q=Y=>{if(Y.gap!==void 0&&Y.gap!==null){const pe=(0,B.MA)(Y.theme,"spacing",8,"gap"),ve=re=>({gap:(0,B._W)(pe,re)});return(0,$.NI)(Y,Y.gap,ve)}return null};Q.propTypes={},Q.filterProps=["gap"];const oe=Y=>{if(Y.columnGap!==void 0&&Y.columnGap!==null){const pe=(0,B.MA)(Y.theme,"spacing",8,"columnGap"),ve=re=>({columnGap:(0,B._W)(pe,re)});return(0,$.NI)(Y,Y.columnGap,ve)}return null};oe.propTypes={},oe.filterProps=["columnGap"];const q=Y=>{if(Y.rowGap!==void 0&&Y.rowGap!==null){const pe=(0,B.MA)(Y.theme,"spacing",8,"rowGap"),ve=re=>({rowGap:(0,B._W)(pe,re)});return(0,$.NI)(Y,Y.rowGap,ve)}return null};q.propTypes={},q.filterProps=["rowGap"];const N=(0,E.Ay)({prop:"gridColumn"}),K=(0,E.Ay)({prop:"gridRow"}),H=(0,E.Ay)({prop:"gridAutoFlow"}),G=(0,E.Ay)({prop:"gridAutoColumns"}),fe=(0,E.Ay)({prop:"gridAutoRows"}),se=(0,E.Ay)({prop:"gridTemplateColumns"}),ie=(0,E.Ay)({prop:"gridTemplateRows"}),ue=(0,E.Ay)({prop:"gridTemplateAreas"}),W=(0,E.Ay)({prop:"gridArea"}),ge=(0,j.A)(Q,oe,q,N,K,H,G,fe,se,ie,ue,W);var le=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($,Q){return Q?(0,E.A)($,Q,{clone:!1}):$}const B=j},7994(C,k,_){"use strict";_.d(k,{Sm:()=>B});var E=_(8704),j=_(3225);function B(K,H){return H==="grey"?H:K}const $=(0,E.Ay)({prop:"color",themeKey:"palette",transform:B}),Q=(0,E.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:B}),oe=(0,E.Ay)({prop:"backgroundColor",themeKey:"palette",transform:B}),q=(0,j.A)($,Q,oe);var N=null},943(C,k,_){"use strict";_.d(k,{JX:()=>oe,LL:()=>$});var E=_(8704),j=_(3225),B=_(5793);function $(W){return W<=1&&W!==0?`${W*100}%`:W}const Q=(0,E.Ay)({prop:"width",transform:$}),oe=W=>{if(W.maxWidth!==void 0&&W.maxWidth!==null){const ge=le=>{var Y,pe;const ve=((Y=W.theme)==null||(Y=Y.breakpoints)==null||(Y=Y.values)==null?void 0:Y[le])||B.zu[le];return ve?((pe=W.theme)==null||(pe=pe.breakpoints)==null?void 0:pe.unit)!=="px"?{maxWidth:`${ve}${W.theme.breakpoints.unit}`}:{maxWidth:ve}:{maxWidth:$(le)}};return(0,B.NI)(W,W.maxWidth,ge)}return null};oe.filterProps=["maxWidth"];const q=(0,E.Ay)({prop:"minWidth",transform:$}),N=(0,E.Ay)({prop:"height",transform:$}),K=(0,E.Ay)({prop:"maxHeight",transform:$}),H=(0,E.Ay)({prop:"minHeight",transform:$}),G=(0,E.Ay)({prop:"size",cssProperty:"width",transform:$}),fe=(0,E.Ay)({prop:"size",cssProperty:"height",transform:$}),se=(0,E.Ay)({prop:"boxSizing"}),ie=(0,j.A)(Q,oe,q,N,K,H,se);var ue=null},9448(C,k,_){"use strict";_.d(k,{LX:()=>se,Lc:()=>le,MA:()=>fe,Ms:()=>Y,_W:()=>ie});var E=_(5793),j=_(8704),B=_(2969),$=_(5633);const Q={m:"margin",p:"padding"},oe={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},q={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},N=(0,$.A)(re=>{if(re.length>2)if(q[re])re=q[re];else return[re];const[Se,be]=re.split(""),V=Q[Se],R=oe[be]||"";return Array.isArray(R)?R.map(J=>V+J):[V+R]}),K=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],H=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],G=[...K,...H];function fe(re,Se,be,V){var R;const J=(R=(0,j.Yn)(re,Se,!1))!=null?R:be;return typeof J=="number"?ne=>typeof ne=="string"?ne:J*ne:Array.isArray(J)?ne=>typeof ne=="string"?ne:J[ne]:typeof J=="function"?J:()=>{}}function se(re){return fe(re,"spacing",8,"spacing")}function ie(re,Se){if(typeof Se=="string"||Se==null)return Se;const be=Math.abs(Se),V=re(be);return Se>=0?V:typeof V=="number"?-V:`-${V}`}function ue(re,Se){return be=>re.reduce((V,R)=>(V[R]=ie(Se,be),V),{})}function W(re,Se,be,V){if(Se.indexOf(be)===-1)return null;
1const R=N(be),J=ue(R,V),ne=re[be];return(0,E.NI)(re,ne,J)}function ge(re,Se){const be=se(re.theme);return Object.keys(re).map(V=>W(re,Se,V,be)).reduce(B.A,{})}function le(re){return ge(re,K)}le.propTypes={},le.filterProps=K;function Y(re){return ge(re,H)}Y.propTypes={},Y.filterProps=H;function pe(re){return ge(re,G)}pe.propTypes={},pe.filterProps=G;var ve=null},8704(C,k,_){"use strict";_.d(k,{Ay:()=>oe,BO:()=>$,Yn:()=>B});var E=_(2743),j=_(5793);function B(q,N,K=!0){if(!N||typeof N!="string")return null;if(q&&q.vars&&K){const H=`vars.${N}`.split(".").reduce((G,fe)=>G&&G[fe]?G[fe]:null,q);if(H!=null)return H}return N.split(".").reduce((H,G)=>H&&H[G]!=null?H[G]:null,q)}function $(q,N,K,H=K){let G;return typeof q=="function"?G=q(K):Array.isArray(q)?G=q[K]||H:G=B(q,K)||H,N&&(G=N(G,H,q)),G}function Q(q){const{prop:N,cssProperty:K=q.prop,themeKey:H,transform:G}=q,fe=se=>{if(se[N]==null)return null;const ie=se[N],ue=se.theme,W=B(ue,H)||{},ge=le=>{let Y=$(W,G,le);return le===Y&&typeof le=="string"&&(Y=$(W,G,`${N}${le==="default"?"":(0,E.A)(le)}`,le)),K===!1?Y:{[K]:Y}};return(0,j.NI)(se,ie,ge)};return fe.propTypes={},fe.filterProps=[N],fe}const oe=Q},1324(C,k,_){"use strict";_.d(k,{A:()=>q});var E=_(9448),j=_(3558),B=_(722),$=_(7994),Q=_(943);const q={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:N=>({"@media print":{display:N}})},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:Q.LL},maxWidth:{style:Q.JX},minWidth:{transform:Q.LL},height:{transform:Q.LL},maxHeight:{transform:Q.LL},minHeight:{transform:Q.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:()=>q});var E=_(8621),j=_(9244),B=_(8989),$=_(1324);const Q=["sx"],oe=N=>{var K,H;const G={systemProps:{},otherProps:{}},fe=(K=N==null||(H=N.theme)==null?void 0:H.unstable_sxConfig)!=null?K:$.A;
1return Object.keys(N).forEach(se=>{fe[se]?G.systemProps[se]=N[se]:G.otherProps[se]=N[se]}),G};function q(N){const{sx:K}=N,H=(0,j.A)(N,Q),{systemProps:G,otherProps:fe}=oe(H);let se;return Array.isArray(K)?se=[G,...K]:typeof K=="function"?se=(...ie)=>{const ue=K(...ie);return(0,B.Q)(ue)?(0,E.A)({},G,ue):G}:se=(0,E.A)({},G,K),(0,E.A)({},fe,{sx:se})}},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:()=>H,k:()=>N});var E=_(2743),j=_(2969),B=_(8704),$=_(5793),Q=_(1324);function oe(...G){const fe=G.reduce((ie,ue)=>ie.concat(Object.keys(ue)),[]),se=new Set(fe);return G.every(ie=>se.size===Object.keys(ie).length)}function q(G,fe){return typeof G=="function"?G(fe):G}function N(){function G(se,ie,ue,W){const ge={[se]:ie,theme:ue},le=W[se];if(!le)return{[se]:ie};const{cssProperty:Y=se,themeKey:pe,transform:ve,style:re}=le;if(ie==null)return null;if(pe==="typography"&&ie==="inherit")return{[se]:ie};const Se=(0,B.Yn)(ue,pe)||{};if(re)return re(ge);const be=V=>{let R=(0,B.BO)(Se,ve,V);return V===R&&typeof V=="string"&&(R=(0,B.BO)(Se,ve,`${se}${V==="default"?"":(0,E.A)(V)}`,V)),Y===!1?R:{[Y]:R}};return(0,$.NI)(ge,ie,be)}function fe(se){var ie;const{sx:ue,theme:W={},nested:ge}=se||{};if(!ue)return null;const le=(ie=W.unstable_sxConfig)!=null?ie:Q.A;function Y(pe){let ve=pe;if(typeof pe=="function")ve=pe(W);else if(typeof pe!="object")return pe;if(!ve)return null;const re=(0,$.EU)(W.breakpoints),Se=Object.keys(re);let be=re;return Object.keys(ve).forEach(V=>{const R=q(ve[V],W);if(R!=null)if(typeof R=="object")if(le[V])be=(0,j.A)(be,G(V,R,W,le));else{const J=(0,$.NI)({theme:W},R,ne=>({[V]:ne}));oe(J,R)?be[V]=fe({sx:R,theme:W,nested:!0}):be=(0,j.A)(be,J)}else be=(0,j.A)(be,G(V,R,W,le))}),!ge&&W.modularCssLayers?{"@layer sx":(0,$.vf)(Se,be)}:(0,$.vf)(Se,be)}return Array.isArray(ue)?ue.map(Y):Y(ue)}return fe}const K=N();K.filterProps=["sx"];const H=K},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,Q=Number.MAX_SAFE_INTEGER){return Math.max($,Math.min(B,Q))}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:()=>oe,Q:()=>$});var E=_(8621),j=_(1594),B=_.n(j);function $(q){if(typeof q!="object"||q===null)return!1;const N=Object.getPrototypeOf(q);return(N===null||N===Object.prototype||Object.getPrototypeOf(N)===null)&&!(Symbol.toStringTag in q)&&!(Symbol.iterator in q)}function Q(q){if(j.isValidElement(q)||!$(q))return q;const N={};return Object.keys(q).forEach(K=>{N[K]=Q(q[K])}),N}function oe(q,N,K={clone:!0}){const H=K.clone?(0,E.A)({},q):q;return $(q)&&$(N)&&Object.keys(N).forEach(G=>{j.isValidElement(N[G])?H[G]=N[G]:$(N[G])&&Object.prototype.hasOwnProperty.call(q,G)&&$(q[G])?H[G]=oe(q[G],N[G],K):K.clone?H[G]=$(N[G])?Q(N[G]):N[G]:H[G]=N[G]}),H}},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:()=>oe,getFunctionName:()=>B});var E=_(7031);const j=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function B(q){const N=`${q}`.match(j);return N&&N[1]||""}function $(q,N=""){return q.displayName||q.name||B(q)||N}function Q(q,N,K){const H=$(N);return q.displayName||(H!==""?`${K}(${H})`:K)}function oe(q){if(q!=null){if(typeof q=="string")return q;if(typeof q=="function")return $(q,"Component");if(typeof q=="object")switch(q.$$typeof){case E.vM:return Q(q,q.render,"ForwardRef");case E.lD:return Q(q,q.type,"memo");default:return}}}},6186(C,k,_){"use strict";var E=_(2985);function j(){}function B(){}B.resetWarningCache=j,C.exports=function(){function $(q,N,K,H,G,fe){if(fe!==E){var se=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 se.name="Invariant Violation",se}}$.isRequired=$;function Q(){return $}var oe={array:$,bigint:$,bool:$,func:$,number:$,object:$,string:$,symbol:$,any:$,arrayOf:Q,element:$,elementType:$,instanceOf:Q,node:$,objectOf:Q,oneOf:Q,oneOfType:Q,shape:Q,exact:Q,checkPropTypes:B,resetWarningCache:j};return oe.PropTypes=oe,oe}},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"),Q=Symbol.for("react.profiler"),oe=Symbol.for("react.consumer"),q=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),G=Symbol.for("react.memo"),fe=Symbol.for("react.lazy"),se=Symbol.for("react.view_transition"),ie=Symbol.for("react.client.reference");function ue(W){if(typeof W=="object"&&W!==null){var ge=W.$$typeof;switch(ge){case E:switch(W=W.type,W){case B:case Q:case $:case K:case H:case se:return W;default:switch(W=W&&W.$$typeof,W){case q:case N:case fe:case G:return W;case oe:return W;default:return ge}}case j:return ge}}}_=oe,_=q,_=E,k.vM=N,_=B,_=fe,k.lD=G,_=j,_=Q,_=$,_=K,_=H,_=function(W){return ue(W)===oe},_=function(W){return ue(W)===q},_=function(W){return typeof W=="object"&&W!==null&&W.$$typeof===E},_=function(W){return ue(W)===N},_=function(W){return ue(W)===B},_=function(W){return ue(W)===fe},_=function(W){return ue(W)===G},_=function(W){return ue(W)===j},_=function(W){return ue(W)===Q},_=function(W){return ue(W)===$},_=function(W){return ue(W)===K},_=function(W){return ue(W)===H},_=function(W){return typeof W=="string"||typeof W=="function"||W===B||W===Q||W===$||W===K||W===H||typeof W=="object"&&W!==null&&(W.$$typeof===fe||W.$$typeof===G||W.$$typeof===q||W.$$typeof===oe||W.$$typeof===N||W.$$typeof===ie||W.getModuleId!==void 0)},_=ue},7462(C,k,_){"use strict";var E;var j=_(1594),B=Symbol.for("react.element"),$=Symbol.for("react.fragment"),Q=Object.prototype.hasOwnProperty,oe=j.__SECRET_INT
1ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,q={key:!0,ref:!0,__self:!0,__source:!0};function N(K,H,G){var fe,se={},ie=null,ue=null;G!==void 0&&(ie=""+G),H.key!==void 0&&(ie=""+H.key),H.ref!==void 0&&(ue=H.ref);for(fe in H)Q.call(H,fe)&&!q.hasOwnProperty(fe)&&(se[fe]=H[fe]);if(K&&K.defaultProps)for(fe in H=K.defaultProps,H)se[fe]===void 0&&(se[fe]=H[fe]);return{$$typeof:B,type:K,key:ie,ref:ue,props:se,_owner:oe.current}}E=$,k.jsx=N,k.jsxs=N},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 Q=new WeakMap,oe=new WeakMap;return(C.exports=j=function(N,K){if(!K&&N&&N.__esModule)return N;var H,G,fe={__proto__:null,default:N};if(N===null||E(N)!="object"&&typeof N!="function")return fe;if(H=K?oe:Q){if(H.has(N))return H.get(N);H.set(N,fe)}for(var se in N)se!=="default"&&{}.hasOwnProperty.call(N,se)&&((G=(H=Object.defineProperty)&&Object.getOwnPropertyDescriptor(N,se))&&(G.get||G.set)?H(fe,se,G):fe[se]=N[se]);return fe},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 $(q){return q==null||Object.keys(q).length===0}const Q=(0,B.createGlobalStyle)(q=>{const{styles:N,defaultTheme:K={}}=q;return typeof N=="function"?N($(q.theme)?K:q.theme):N});var oe=k.default=Q;Q.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:Q,children:oe}=$;if(Q&&typeof window!="undefined"){const q=document.head;if(!q.querySelector('[data-styled="active"]')){const N=document.createElement("style");N.setAttribute("data-styled","active"),q.insertBefore(N,q.firstChild)}}return oe}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 Q.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=oe,k.internal_mutateStyles=q,k.internal_processStyles=N,k.internal_serializeStyles=K,Object.defineProperty(k,"keyframes",{enumerable:!0,get:function(){return B.keyframes}});var B=j(_(1368)),$=E(_(7244)),Q=E(_(6609));function oe(H,G){let fe;return G?fe=(0,B.default)(H).withConfig({displayName:G.label,shouldForwardProp:G.shouldForwardProp}):fe=(0,B.default)(H),fe}function q(H,G){H.componentStyle&&(H.componentStyle.rules=G(H.componentStyle.rules))}function N(H,G){return q(H,G)}function K(H){return H}},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 Q in $)({}).hasOwnProperty.call($,Q)&&(j[Q]=$[Q])}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 Q in j)if({}.hasOwnProperty.call(j,Q)){if(B.indexOf(Q)!==-1)continue;$[Q]=j[Q]}return $}}},Fs={};function Te(C){var k=Fs[C];if(k!==void 0)return k.exports;var _=Fs[C]={exports:{}};return Bu[C](_,_.exports,Te),_.exports}Te.n=C=>{var k=C&&C.__esModule?()=>C.default:()=>C;return Te.d(k,{a:k}),k},(()=>{var C=Object.getPrototypeOf?_=>Object.getPrototypeOf(_):_=>_.__proto__,k;Te.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);Te.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(Q=>B[Q]=()=>_[Q]);return B.default=()=>_,Te.d(j,B),j}})(),Te.d=(C,k)=>{for(var _ in k)Te.o(k,_)&&!Te.o(C,_)&&Object.defineProperty(C,_,{enumerable:!0,get:k[_]})},Te.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(C){if(typeof window=="object")return window}}(),Te.o=(C,k)=>Object.prototype.hasOwnProperty.call(C,k),Te.r=C=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})};var _y={};(()=>{"use strict";var C=Te(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,785 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 o=t.length-1;o>=0;o--)(a=t[o])&&(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 Q(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 o=n.kind,l=o==="getter"?"get":o==="setter"?"set":"value",u=!e&&t?n.static?t:t.prototype:null,f=e||(u?Object.getOwnPropertyDescriptor(u,n.name):{}),c,d=!1,p=r.length-1;p>=0;p--){var y={};for(var m in n)y[m]=m==="access"?{}:n[m];for(var m in n.access)y.access[m]=n.access[m];y.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])(o==="accessor"?{get:f.get,set:f.set}:f[l],y);if(o==="accessor"){if(v===void 0)continue;if(v===null||typeof v!="object")throw new TypeError("Object expected");(c=a(v.get))&&(f.get=c),(c=a(v.set))&&(f.set=c),(c=a(v.init))&&i.unshift(c)}else(c=a(v))&&(o==="field"?i.unshift(c):f[l]=c)}u&&Object.defineProperty(u,n.name,f),d=!0}function oe(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 q(t){return typeof t=="symbol"?t:"".concat(t)}function N(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 K(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function H(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 o(f){try{u(n.next(f))}catch(c){a(c)}}function l(f){try{u(n.throw(f))}catch(c){a(c)}}function u(f){f.done?s(f.value):i(f.value).then(o,l)}u((n=n.apply(t,e||[])).next())})}function G(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=o(0),a.throw=o(1),a.return=o(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(u){return function(f){return l([u,f])}}function l(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(f){u=[6,f],i=0}finally{n=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}var fe=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 se(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&fe(e,t,r)}function ie(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 ue(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(o){a={error:o}}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(ue(arguments[e]));return t}function ge(){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,o=s.length;a<o;a++,i++)n[i]=s[a];return n}function le(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 Y(t){return this instanceof Y?(this.v=t,this):new Y(t)}function pe(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),o("next"),o("throw"),o("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(p){return function(y){return Promise.resolve(y).then(p,c)}}function o(p,y){n[p]&&(i[p]=function(m){return new Promise(function(v,h){s.push([p,m,v,h])>1||l(p,m)})},y&&(i[p]=y(i[p])))}function l(p,y){try{u(n[p](y))}catch(m){d(s[0][3],m)}}function u(p){p.value instanceof Y?Promise.resolve(p.value.v).then(f,c):d(s[0][2],p)}function f(p){l("next",p)}function c(p){l("throw",p)}function d(p,y){p(y),s.shift(),s.length&&l(s[0][0],s[0][1])}}function ve(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:Y(t[i](a)),done:!1}:s?s(a):a}:s}}function re(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 ie=="function"?ie(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(o,l){a=t[s](a),i(o,l,a.done,a.value)})}}function i(s,a,o,l){Promise.resolve(l).then(function(u){s({value:u,done:o})},a)}}function Se(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var be=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 R(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"&&fe(e,t,r[n]);return be(e,t),e}function J(t){return t&&t.__esModule?t:{default:t}}function ne(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 je(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 Ce(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 ke=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 ct(t){function e(s){t.error=t.hasError?new ke(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 Be(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 ze={__extends:_,__assign:E,__rest:j,__decorate:B,__param:$,__esDecorate:Q,__runInitializers:oe,__propKey:q,__setFunctionName:N,__metadata:K,__awaiter:H,__generator:G,__createBinding:fe,__exportStar:se,__values:ie,__read:ue,__spread:W,__spreadArrays:ge,__spreadArray:le,__await:Y,__asyncGenerator:pe,__asyncDelegator:ve,__asyncValues:re,__makeTemplateOb
1ject:Se,__importStar:R,__importDefault:J,__classPrivateFieldGet:ne,__classPrivateFieldSet:Ee,__classPrivateFieldIn:je,__addDisposableResource:Ce,__disposeResources:ct,__rewriteRelativeImportExtension:Be};var ft="Invariant Violation",et=Object.setPrototypeOf,dn=et===void 0?function(t,e){return t.__proto__=e,t}:et,pn=function(t){_(e,t);function e(r){r===void 0&&(r=ft);var n=t.call(this,typeof r=="number"?ft+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=ft,dn(n,e.prototype),n}return e}(Error);function mt(t,e){if(!t)throw new pn(e)}var er=["debug","log","warn","error","silent"],Pr=er.indexOf("log");function tr(t){return function(){if(er.indexOf(t)>=Pr){var e=console[t]||console.log;return e.apply(console,arguments)}}}(function(t){t.debug=tr("debug"),t.log=tr("log"),t.warn=tr("warn"),t.error=tr("error")})(mt||(mt={}));function Dr(t){var e=er[Pr];return Pr=Math.max(0,er.indexOf(t)),e}const hn=null;var rr="3.14.1";function He(t){try{return t()}catch(e){}}const qe=He(function(){return globalThis})||He(function(){return window})||He(function(){return self})||He(function(){return Te.g})||He(function(){return He.constructor("return this")()});var tt=new Map;function dt(t){var e=tt.get(t)||1;return tt.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=dt("stringifyForDisplay");return JSON.stringify(t,function(n,i){return i===void 0?r:i},e).split(JSON.stringify(r)).join("<undefined>")}function zt(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=Tt(i),e||(e=Mr(i,r),r=[])}t.apply(void 0,[e].concat(r))}}var te=Object.assign(function(e,r){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];e||mt(e,Tt(r,n)||Mr(r,n))},{debug:zt(mt.debug),log:zt(mt.log),warn:zt(mt.warn),error:zt(mt.error)});function Ae(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return new pn(Tt(t,e)||Mr(t,e))}var Xe=Symbol.for("ApolloErrorMessageHandler_"+rr);function vt(t){if(typeof t=="string")return t;try{return _t(t,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function Tt(t,e){if(e===void 0&&(e=[]),!!t)return qe[Xe]&&qe[Xe](t,e.map(vt))}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:rr,message:t,args:e.map(vt)})))}var js=globalThis.__DEV__!==!1,Ve=Te(1983),zs=Te.t(Ve,2),Bs=He(function(){return navigator.product})=="ReactNative",Bt=typeof WeakMap=="function"&&!(Bs&&!Te.g.HermesInternal),Jn=typeof WeakSet=="function",Zn=typeof Symbol=="function"&&typeof Symbol.for=="function",mn=Zn&&Symbol.asyncIterator,Vu=typeof He(function(){return window.document.createElement})=="function",$u=He(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,Wu=(Vu||Bs)&&!$u,Vs=!1,Uu="useSyncExternalStore",qu=zs[Uu],Gu=qu||function(t,e,r){var n=e();globalThis.__DEV__!==!1&&!Vs&&n!==e()&&(Vs=!0,globalThis.__DEV__!==!1&&te.error(91));var i=Ve.useState({inst:{value:n,getSnapshot:e}}),s=i[0].inst,a=i[1];return Wu?Ve.useLayoutEffect(function(){Object.assign(s,{value:n,getSnapshot:e}),ei(s)&&a({inst:s})},[t,n,e]):Object.assign(s,{value:n,getSnapshot:e}),Ve.useEffect(function(){return ei(s)&&a({inst:s}),t(function(){ei(s)&&a({inst:s})})},[t]),n};function ei(t){var e=t.value,r=t.getSnapshot;try{return e!==r()}catch(n){return!0}}const{toString:$s,hasOwnProperty:Qu}=Object.prototype,Ws=Function.prototype.toString,ti=new Map;function De(t,e){try{return ni(t,e)}finally{ti.clear()}}const ri=De;function ni(t,e){if(t===e)return!0;const r=$s.call(t),n=$s.call(e);if(r!==n)return!1;switch(r){case"[object Array]":if(t.length!==e.length)return!1;case"[object Object]":{if(qs(t,e))return!0;const i=Us(t),s=Us(e),a=i.length;if(a!==s.length)return!1;for(let o=0;o<a;++o)if(!Qu.call(e,i[o]))return!1;for(let o=0;o<a;++o){const l=i[o];if(!ni(t[l],e[l]))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(qs(t,e))return!0;const i=t.entries(),s=r==="[object Map]";for(;;){const a=i.next();if(a.done)break;const[o,l]=a.value;if(!e.has(o)||s&&!ni(l,e.get(o)))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=Ws.call(t);return i!==Ws.call(e)?!1:!Xu(i,Hu)}}return!1}function Us(t){return Object.keys(t).filter(Yu,t)}function Yu(t){return this[t]!==void 0}const Hu="{ [native code] }";function Xu(t,e){const r=t.length-e.length;return r>=0&&t.indexOf(e,r)===r}function qs(t,e){let r=ti.get(t);if(r){if(r.has(e))return!0}else ti.set(t,r=new Set);return r.add(e),!1}function Vt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=Object.create(null);
1return t.forEach(function(n){n&&Object.keys(n).forEach(function(i){var s=n[i];s!==void 0&&(r[i]=s)})}),r}function vn(t,e){return Vt(t,e,e.variables&&{variables:Vt(E(E({},t&&t.variables),e.variables))})}var Ku,Gs=Zn?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function gn(){te("createContext"in zs,69);var t=Ve.createContext[Gs];return t||(Object.defineProperty(Ve.createContext,Gs,{value:t=Ve.createContext({}),enumerable:!1,writable:!1,configurable:!0}),t.displayName="ApolloContext"),t}var Ty=function(){return globalThis.__DEV__!==!1&&globalThis.__DEV__!==!1&&Ku.warn(70),gn()};function Le(t){return t!==null&&typeof t=="object"}function Sy(t){return t!==null&&typeof t=="object"&&(Object.getPrototypeOf(t)===Object.prototype||Object.getPrototypeOf(t)===null)}var ii=Symbol();function Ju(t){return t.extensions?Array.isArray(t.extensions[ii]):!1}function Qs(t){return t.hasOwnProperty("graphQLErrors")}var Zu=function(t){var e=le(le(le([],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(` 2`)},gt=function(t){_(e,t);function e(r){var n=r.graphQLErrors,i=r.protocolErrors,s=r.clientErrors,a=r.networkError,o=r.errorMessage,l=r.extraInfo,u=t.call(this,o)||this;return u.name="ApolloError",u.graphQLErrors=n||[],u.protocolErrors=i||[],u.clientErrors=s||[],u.networkError=a||null,u.message=o||Zu(u),u.extraInfo=l,u.cause=le(le(le([a],n||[],!0),i||[],!0),s||[],!0).find(function(f){return!!f})||null,u.__proto__=e.prototype,u}return e}(Error),_e;(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"})(_e||(_e={}));function nr(t){return t?t<7:!1}function xy(t){return t===7||t===8}function yn(t,e){if(!Boolean(t))throw new Error(e)}const ec=10,Ys=2;function si(t){return bn(t,[])}function bn(t,e){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return tc(t,e);default:return String(t)}}function tc(t,e){if(t===null)return"null";if(e.includes(t))return"[Circular]";const r=[...e,t];if(rc(t)){const n=t.toJSON();if(n!==t)return typeof n=="string"?n:bn(n,r)}else if(Array.isArray(t))return ic(t,r);return nc(t,r)}function rc(t){return typeof t.toJSON=="function"}function nc(t,e){const r=Object.entries(t);return r.length===0?"{}":e.length>Ys?"["+sc(t)+"]":"{ "+r.map(([i,s])=>i+": "+bn(s,e)).join(", ")+" }"}function ic(t,e){if(t.length===0)return"[]";if(e.length>Ys)return"[Array]";const r=Math.min(ec,t.length),n=t.length-r,i=[];for(let s=0;s<r;++s)i.push(bn(t[s],e));return n===1?i.push("... 1 more item"):n>1&&i.push(`... ${n} more items`),"["+i.join(", ")+"]"}function sc(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 ac{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 Hs{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 Xs={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"]},oc=new Set(Object.keys(Xs));function Ks(t){const e=t==null?void 0:t.kind;return typeof e=="string"&&oc.has(e)}var ir;(function(t){t.QUERY="query",t.MUTATION="mutation",t.SUBSCRIPTION="subscription"})(ir||(ir={}));var ae;(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"})(ae||(ae={}));var lc;const St=Object.freeze({});function at(t,e,r=Xs){const n=new Map;for(const h of Object.values(ae))n.set(h,ai(e,h));let i,s=Array.isArray(t),a=[t],o=-1,l=[],u=t,f,c;const d=[],p=[];do{o++;const h=o===a.length,g=h&&l.length!==0;if(h){if(f=p.length===0?void 0:d[d.length-1],u=c,c=p.pop(),g)if(s){u=u.slice();let w=0;for(const[S,O]of l){const P=S-w;O===null?(u.splice(P,1),w++):u[P]=O}}else{u={...u};for(const[w,S]of l)u[w]=S}o=i.index,a=i.keys,l=i.edits,s=i.inArray,i=i.prev}else if(c){if(f=s?o:a[o],u=c[f],u==null)continue;d.push(f)}let b;if(!Array.isArray(u)){var y,m;Ks(u)||yn(!1,`Invalid AST Node: ${si(u)}.`);const w=h?(y=n.get(u.kind))===null||y===void 0?void 0:y.leave:(m=n.get(u.kind))===null||m===void 0?void 0:m.enter;if(b=w==null?void 0:w.call(e,u,f,c,d,p),b===St)break;if(b===!1){if(!h){d.pop();continue}}else if(b!==void 0&&(l.push([f,b]),!h))if(Ks(b))u=b;else{d.pop();continue}}if(b===void 0&&g&&l.push([f,u]),h)d.pop();else{var v;i={inArray:s,index:o,keys:a,edits:l,prev:i},s=Array.isArray(u),a=s?u:(v=r[u.kind])!==null&&v!==void 0?v:[],o=-1,l=[],c&&p.push(c),c=u}}while(i!==void 0);return l.length!==0?l[l.length-1][1]:t}function Oy(t){const e=new Array(t.length).fill(null),r=Object.create(null);for(const n of Object.values(lc)){let i=!1;const s=new Array(t.length).fill(void 0),a=new Array(t.length).fill(void 0);for(let l=0;l<t.length;++l){const{enter:u,leave:f}=ai(t[l],n);i||(i=u!=null||f!=null),s[l]=u,a[l]=f}if(!i)continue;const o={enter(...l){const u=l[0];for(let c=0;c<t.length;c++)if(e[c]===null){var f;const d=(f=s[c])===null||f===void 0?void 0:f.apply(t[c],l);if(d===!1)e[c]=u;else if(d===St)e[c]=St;else if(d!==void 0)return d}},leave(...l){const u=l[0];for(let c=0;c<t.length;c++)if(e[c]===null){var f;const d=(f=a[c])===null||f===void 0?void 0:f.apply(t[c],l);if(d===St)e[c]=St;else if(d!==void 0&&d!==!1)return d}else e[c]===u&&(e[c]=null)}};r[n]=o}return r}function ai(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 Cy(t,e,r){const{enter:n,leave:i}=ai(t,e);return r?i:n}function uc(t,e){var r=e,n=[];t.definitions.forEach(function(s){if(s.kind==="OperationDefinition")throw Ae(112,s.operation,s.name?" named '".concat(s.name.value,"'"):"");s.kind==="FragmentDefinition"&&n.push(s)}),typeof r=="undefined"&&(te(n.length===1,113,n.length),r=n[0].name.value);var i=E(E({},t),{definitions:le([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],t.definitions,!0)});return i}function sr(t){t===void 0&&(t=[]);var e={};return t.forEach(function(r){e[r.name.value]=r}),e}function En(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 te(n,114,r),n||null}default:return null}}function cc(t){var e=!0;return at(t,{FragmentSpread:function(r){if(e=!!r.directives&&r.directives.some(function(n){return n.name.value==="unmask"}),!e)return St}}),e}function oi(){}const fc=oi,dc=typeof WeakRef!="undefined"?WeakRef:function(t){return{deref:()=>t}},pc=typeof WeakMap!="undefined"?WeakMap:Map,hc=typeof FinalizationRegistry!="undefined"?FinalizationRegistry:function(){return{register:oi,unregister:oi}},mc=10024;class wn{constructor(e=1/0,r=fc){this.max=e,this.dispose=r,this.map=new pc,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<mc;i++){const s=n.next().value;if(!s)break;this.unfinalizedNodes.delete(s);const a=s.key;delete s.key,s.keyRef=new dc(a),this.registry.register(a,s,s)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new hc(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);
2return 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 vc(){}class li{constructor(e=1/0,r=vc){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 ui=new WeakSet;function Js(t){t.size<=(t.max||-1)||ui.has(t)||(ui.add(t),setTimeout(function(){t.clean(),ui.delete(t)},100))}var ci=function(t,e){var r=new wn(t,e);return r.set=function(n,i){var s=wn.prototype.set.call(this,n,i);return Js(this),s},r},gc=function(t,e){var r=new li(t,e);return r.set=function(n,i){var s=li.prototype.set.call(this,n,i);return Js(this),s},r},yc=Symbol.for("apollo.cacheSize"),pt=E({},qe[yc]),$t={};function fi(t,e){$t[t]=e}var bc=globalThis.__DEV__!==!1?Tc:void 0,Ec=globalThis.__DEV__!==!1?Sc:void 0,wc=globalThis.__DEV__!==!1?Zs:void 0;function _c(){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,pt[r]||n]}))}function Tc(){var t,e,r,n,i;if(globalThis.__DEV__===!1)throw new Error("only supported in development mode");return{limits:_c(),sizes:E({print:(t=$t.print)===null||t===void 0?void 0:t.call($t),parser:(e=$t.parser)===null||e===void 0?void 0:e.call($t),canonicalStringify:(r=$t.canonicalStringify)===null||r===void 0?void 0:r.call($t),links:pi(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:ta(this.queryManager.documentTransform)}},(i=(n=this.cache).getMemoryInternals)===null||i===void 0?void 0:i.call(n))}}function Zs(){return{cache:{fragmentQueryDocuments:xt(this.getFragmentDoc)}}}function Sc(){var t=this.config.fragments;return E(E({},Zs.apply(this)),{addTypenameDocumentTransform:ta(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 xc(t){return!!t&&"dirtyKey"in t}function xt(t){return xc(t)?t.size:void 0}function ea(t){return t!=null}function ta(t){return di(t).map(function(e){return{cache:e}})}function di(t){return t?le(le([xt(t==null?void 0:t.performWork)],di(t==null?void 0:t.left),!0),di(t==null?void 0:t.right),!0).filter(ea):[]}function pi(t){var e;return t?le(le([(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(ea):[]}var Ot=Object.assign(function(e){return JSON.stringify(e,Oc)}
2,{reset:function(){ar=new gc(pt.canonicalStringify||1e3)}});globalThis.__DEV__!==!1&&fi("canonicalStringify",function(){return ar.size});var ar;Ot.reset();function Oc(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(Cc))return e;var i=JSON.stringify(n),s=ar.get(i);if(!s){n.sort();var a=JSON.stringify(n);s=ar.get(a)||n,ar.set(i,s),ar.set(a,s)}var o=Object.create(r);return s.forEach(function(l){o[l]=e[l]}),o}}return e}function Cc(t,e,r){return e===0||r[e-1]<=t}function or(t){return{__ref:String(t)}}function xe(t){return Boolean(t&&typeof t=="object"&&typeof t.__ref=="string")}function Pc(t){return Le(t)&&t.kind==="Document"&&Array.isArray(t.definitions)}function Dc(t){return t.kind==="StringValue"}function Mc(t){return t.kind==="BooleanValue"}function Ac(t){return t.kind==="IntValue"}function Ic(t){return t.kind==="FloatValue"}function kc(t){return t.kind==="Variable"}function Rc(t){return t.kind==="ObjectValue"}function Lc(t){return t.kind==="ListValue"}function Nc(t){return t.kind==="EnumValue"}function Fc(t){return t.kind==="NullValue"}function lr(t,e,r,n){if(Ac(r)||Ic(r))t[e.value]=Number(r.value);else if(Mc(r)||Dc(r))t[e.value]=r.value;else if(Rc(r)){var i={};r.fields.map(function(a){return lr(i,a.name,a.value,n)}),t[e.value]=i}else if(kc(r)){var s=(n||{})[r.name.value];t[e.value]=s}else if(Lc(r))t[e.value]=r.values.map(function(a){var o={};return lr(o,e,a,n),o[e.value]});else if(Nc(r))t[e.value]=r.value;else if(Fc(r))t[e.value]=null;else throw Ae(123,e.value,r.kind)}function jc(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,o=s.value;return lr(r[i.name.value],a,o,e)})}));var n=null;return t.arguments&&t.arguments.length&&(n={},t.arguments.forEach(function(i){var s=i.name,a=i.value;return lr(n,s,a,e)})),ra(t.name.value,n,r)}var zc=["connection","include","skip","client","rest","export","nonreactive"],Ar=Ot,ra=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(o){i[o]=e[o]}),"".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(o){zc.indexOf(o)===-1&&(r[o]&&Object.keys(r[o]).length?s+="@".concat(o,"(").concat(Ar(r[o]),")"):s+="@".concat(o))}),s},{setStringify:function(t){var e=Ar;return Ar=t,e}});function _n(t,e){if(t.arguments&&t.arguments.length){var r={};return t.arguments.forEach(function(n){var i=n.name,s=n.value;return lr(r,i,s,e)}),r}return null}function yt(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[yt(a)]}else n?n.push(a):n=[a]}if(typeof t.__typename=="string")return t.__typename;if(n)for(var o=0,l=n;o<l.length;o++){var a=l[o],u=hi(t,En(a,r).selectionSet,r);if(typeof u=="string")return u}}function Ct(t){return t.kind==="Field"}function Bc(t){return t.kind==="InlineFragment"}function ur(t){te(t&&t.kind==="Document",115);var e=t.definitions.filter(function(r){return r.kind!=="FragmentDefinition"}).map(function(r){if(r.kind!=="OperationDefinition")throw Ae(116,r.kind);return r});return te(e.length<=1,117,e.length),t}function Wt(t){return ur(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 cr(t){return t.definitions.filter(function(e){return e.kind==="FragmentDefinition"})}function na(t){var e=Wt(t);return te(e&&e.operation==="query",118),e}function ia(t){te(t.kind==="Document",119),te(t.definitions.length<=1,120);var e=t.definitions[0];return te(e.kind==="FragmentDefinition",121),e}function kr(t){ur(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 Ae(122)}function mi(t){var e=Object.create(null),r=t&&t.variableDefinitions;return r&&r.length&&r.forEach(function(n){n.defaultValue&&lr(e,n.variable.name,n.defaultValue)}),e}var Vc=Object.prototype.toString;function sa(t){return vi(t)}function vi(t,e){switch(Vc.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]=vi(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]=vi(t[i],e)}),n}default:return t}}function $c(t){return t.catch(function(){}),t}function Rr(t,e,r){var n=[];t.forEach(function(i){return i[e]&&n.push(i)}
2),n.forEach(function(i){return i[e](r)})}function Wc(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=Uc(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. 3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Uc(t,e){if(t){if(typeof t=="string")return aa(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 aa(t,e)}}function aa(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 oa(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 gi(t,e,r){return e&&oa(t.prototype,e),r&&oa(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var yi=function(){return typeof Symbol=="function"},bi=function(t){return yi()&&Boolean(Symbol[t])},Ei=function(t){return bi(t)?Symbol[t]:"@@"+t};yi()&&!bi("observable")&&(Symbol.observable=Symbol("observable"));var qc=Ei("iterator"),wi=Ei("observable"),la=Ei("species");function Tn(t,e){var r=t[e];if(r!=null){if(typeof r!="function")throw new TypeError(r+" is not a function");return r}}function Lr(t){var e=t.constructor;return e!==void 0&&(e=e[la],e===null&&(e=void 0)),e!==void 0?e:Ie}function Gc(t){return t instanceof Ie}function fr(t){fr.log?fr.log(t):setTimeout(function(){throw t})}function Sn(t){Promise.resolve().then(function(){try{t()}catch(e){fr(e)}})}function ua(t){var e=t._cleanup;if(e!==void 0&&(t._cleanup=void 0,!!e))try{if(typeof e=="function")e();else{var r=Tn(e,"unsubscribe");r&&r.call(e)}}catch(n){fr(n)}}function _i(t){t._observer=void 0,t._queue=void 0,t._state="closed"}function Qc(t){var e=t._queue;if(e){t._queue=void 0,t._state="ready";for(var r=0;r<e.length&&(ca(t,e[r].type,e[r].value),t._state!=="closed");++r);}}function ca(t,e,r){t._state="running";var n=t._observer;try{var i=Tn(n,e);switch(e){case"next":i&&i.call(n,r);break;case"error":if(_i(t),i)i.call(n,r);else throw r;break;case"complete":_i(t),i&&i.call(n);break}}catch(s){fr(s)}t._state==="closed"?ua(t):t._state==="running"&&(t._state="ready")}function Ti(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}],Sn(function(){return Qc(t)});return}ca(t,e,r)}}var Yc=function(){function t(r,n){this._cleanup=void 0,this._observer=r,this._queue=void 0,this._state="initializing";var i=new Hc(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"&&(_i(this),ua(this))},gi(t,[{key:"closed",get:function(){return this._state==="closed"}}]),t}(),Hc=function(){function t(r){this._subscription=r}var e=t.prototype;return e.next=function(n){Ti(this._subscription,"next",n)},e.error=function(n){Ti(this._subscription,"error",n)},e.complete=function(){Ti(this._subscription,"complete")},gi(t,[{key:"closed",get:function(){return this._subscription._state==="closed"}}]),t}(),Ie=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 Yc(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 o(){l.unsubscribe(),s()}var l=i.subscribe({next:function(u){try{n(u,o)}catch(f){a(f),l.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=Lr(this);return new s(function(a){return i.subscribe({next:function(o){try{o=n(o)}catch(l){return a.error(l)}a.next(o)},error:function(o){a.error(o)},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=Lr(this);return new s(function(a){return i.subscribe({next:function(o){try{if(!n(o))return}catch(l){return a.error(l)}a.next(o)},error:function(o){a.error(o)},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=Lr(this),a=arguments.length>1,o=!1,l=arguments[1],u=l;return new s(function(f){return i.subscribe({next:function(c){var d=!o;if(o=!0,!d||a)try{u=n(u,c)}catch(p){return f.error(p)}else u=c},error:function(c){f.error(c)},complete:function(){if(!o&&!a)return f.error(new TypeError("Cannot reduce an empty sequence"));f.next(u),f.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 o=Lr(this);return new o(function(l){var u,f=0;function c(d){u=d.subscribe({next:function(p){l.next(p)},error:function(p){l.error(p)},complete:function(){f===s.length?(u=void 0,l.complete()):c(o.from(s[f++]))}})}return c(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=Lr(this);return new s(function(a){var o=[],l=i.subscribe({next:function(f){if(n)try{f=n(f)}catch(d){return a.error(d)}var c=s.from(f).subscribe({next:function(d){a.next(d)},error:function(d){a.error(d)},complete:function(){var d=o.indexOf(c);d>=0&&o.splice(d,1),u()}});o.push(c)},error:function(f){a.error(f)},complete:function(){u()}});function u(){l.closed&&o.length===0&&a.complete()}return function(){o.forEach(function(f){return f.unsubscribe()}),l.unsubscribe()}})},e[wi]=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=Tn(n,wi);if(s){var a=s.call(n);if(Object(a)!==a)throw new TypeError(a+" is not an object");return Gc(a)&&a.constructor===i?a:new i(function(o){return a.subscribe(o)})}if(bi("iterator")&&(s=Tn(n,qc),s))return new i(function(o){Sn(function(){if(!o.closed){for(var l=Wc(s.call(n)),u;!(u=l()).done;){var f=u.value;if(o.next(f),o.closed)return}o.complete()}})});if(Array.isArray(n))return new i(function(o){Sn(function(){if(!o.closed){for(var l=0;l<n.length;++l)if(o.next(n[l]),o.closed)return;o.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(o){Sn(function(){if(!o.closed){for(var l=0;l<i.length;++l)if(o.next(i[l]),o.closed)return;o.complete()}})})},gi(t,null,[{key:la,get:function(){return this}}]),t}();yi()&&Object.defineProperty(Ie,Symbol("extensions"),{value:{symbol:wi,hostReportError:fr},configurable:!0});function fa(t){function e(r){Object.defineProperty(t,r,{value:Ie})}return Zn&&Symbol.species&&e(Symbol.species),e("@@species"),t}var Xc;function Nr(t,e){var r=t.directives;return!r||!r.length?!0:Zc(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],te(a!==void 0,105,i.name.value)):a=s.value.value,i.name.value==="skip"?!a:a})}function Py(t){var e=[];return Xc(t,{Directive:function(r){e.push(r.name.value)}}),e}var Dy=function(t,e){return Ut(t,e,!1)},My=function(t,e){return Ut(t,e,!0)};function Ut(t,e,r){var n=new Set(t),i=n.size;return at(e,{Directive:function(s){if(n.delete(s.name.value)&&(!r||!n.size))return St}}),r?!n.size:n.size<i}function Kc(t){return t&&Ut(["client","export"],t,!0)}
3function Jc(t){var e=t.name.value;return e==="skip"||e==="include"}function Zc(t){var e=[];return t&&t.length&&t.forEach(function(r){if(Jc(r)){var n=r.arguments,i=r.name.value;te(n&&n.length===1,106,i);var s=n[0];te(s.name&&s.name.value==="if",107,i);var a=s.value;te(a&&(a.kind==="Variable"||a.kind==="BooleanValue"),108,i),e.push({directive:r,ifArgument:s})}}),e}function ef(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===ae.VARIABLE?globalThis.__DEV__!==!1&&te.warn(109):i.value.kind!==ae.STRING?globalThis.__DEV__!==!1&&te.warn(110):i.value.value!=="migrate"&&globalThis.__DEV__!==!1&&te.warn(111,i.value.value)),i&&"value"in i.value&&i.value.value==="migrate"?"migrate":"unmask"}function da(t,e,r,n){var i=e.data,s=j(e,["data"]),a=r.data,o=j(r,["data"]);return ri(s,o)&&xn(kr(t).selectionSet,i,a,{fragmentMap:sr(cr(t)),variables:n})}function xn(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),!Nr(s,n.variables))||pa(s))return!0;if(Ct(s)){var a=yt(s),o=e&&e[a],l=r&&r[a],u=s.selectionSet;if(!u)return ri(o,l);var f=Array.isArray(o),c=Array.isArray(l);if(f!==c)return!1;if(f&&c){var d=o.length;if(l.length!==d)return!1;for(var p=0;p<d;++p)if(!xn(u,o[p],l[p],n))return!1;return!0}return xn(u,o,l,n)}else{var y=En(s,n.fragmentMap);if(y)return pa(y)?!0:xn(y.selectionSet,e,r,n)}})}function pa(t){return!!t.directives&&t.directives.some(tf)}function tf(t){return t.name.value==="nonreactive"}const rf=()=>Object.create(null),{forEach:nf,slice:ha}=Array.prototype,{hasOwnProperty:sf}=Object.prototype;class bt{constructor(e=!0,r=rf){this.weakness=e,this.makeData=r}lookup(){return this.lookupArray(arguments)}lookupArray(e){let r=this;return nf.call(e,n=>r=r.getChildTrie(n)),sf.call(r,"data")?r.data:r.data=this.makeData(ha.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(ha.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 bt(this.weakness,this.makeData)),n}mapFor(e,r){return this.weakness&&af(e)?this.weak||(r?this.weak=new WeakMap:void 0):this.strong||(r?this.strong=new Map:void 0)}}function af(t){switch(typeof t){case"object":if(t===null)break;case"function":return!0}return!1}let Ye=null;const ma={};let of=1;const lf=()=>class{constructor(){this.id=["slot",of++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=Ye;e;e=e.parent)if(this.id in e.slots){const r=e.slots[this.id];if(r===ma)break;return e!==Ye&&(Ye.slots[this.id]=r),!0}return Ye&&(Ye.slots[this.id]=ma),!1}getValue(){if(this.hasValue())return Ye.slots[this.id]}withValue(e,r,n,i){const s={__proto__:null,[this.id]:e},a=Ye;Ye={parent:a,slots:s};try{return r.apply(i,n)}finally{Ye=a}}static bind(e){const r=Ye;return function(){const n=Ye;try{return Ye=r,e.apply(this,arguments)}finally{Ye=n}}}static noContext(e,r,n){if(Ye){const i=Ye;try{return Ye=null,e.apply(n,r)}finally{Ye=i}}else return e.apply(n,r)}};function va(t){try{return t()}catch(e){}}const Si="@wry/context:Slot",ga=va(()=>globalThis)||va(()=>Te.g)||Object.create(null),dr=ga[Si]||Array[Si]||function(t){try{Object.defineProperty(ga,Si,{value:t,enumerable:!1,writable:!1,configurable:!0})}finally{return t}}(lf()),{bind:xi,noContext:uf}=dr;function Iy(t,e){return setTimeout(xi(t),e)}function ky(t){return function(){const e=t.apply(this,arguments),r=xi(e.next),n=xi(e.throw);return new Promise((i,s)=>{function a(u,f){try{var c=u.call(e,f)}catch(p){return s(p)}const d=c.done?i:o;cf(c.value)?c.value.then(d,c.done?s:l):d(c.value)}const o=u=>a(r,u),l=u=>a(n,u);o()})}}function cf(t){return t&&typeof t.then=="function"}const ya=null;function Ry(t){if(ya.indexOf(t)<0){const e=(r,n)=>{const i=r[n];r[n]=function(){return uf(i,arguments,this)}};e(t,"yield"),e(t.prototype,"run"),e(t.prototype,"throwInto"),ya.push(t)}return t}const Fr=new dr;function Ly(t){return Fr.withValue(void 0,t)}const{hasOwnProperty:ff}=Object.prototype,Oi=Array.from||function(t){const e=[];return t.forEach(r=>e.push(r)),e};function On(t){const{unsubscribe:e}=t;typeof e=="function"&&(t.unsubscribe=void 0,e())}const jr=[],df=100;function pr(t,e){if(!t)throw new Error(e||"assertion failure")}function ba(t,e){const r=t.length;return r>0&&r===e.length&&t[r-1]===e[r-1]}function Ea(t){switch(t.length){case 0:throw new Error("unknown value");case 1:return t[0];case 2:throw t[1]}}function wa(t){return t.slice(0)}class Cn{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,++Cn.count}peek(){if(this.value.length===1&&!Pt(this))return _a(this),this.value[0]}recompute(e){return pr(!this.recomputing,"already recomputing"),_a(this),Pt(this)?pf(this,e):Ea(this.value)}setDirty(){this.dirty||(this.dirty=!0,Ta(this),On(this))}dispose(){this.setDirty(),Pa(this),Ci(this,(e,r)=>{e.setDirty(),Da(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=jr.pop()||new Set),this.deps.add(e)}
3forgetDeps(){this.deps&&(Oi(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),jr.push(this.deps),this.deps=null)}}Cn.count=0;function _a(t){const e=Fr.getValue();if(e)return t.parents.add(e),e.childValues.has(t)||e.childValues.set(t,[]),Pt(t)?xa(e,t):Oa(e,t),e}function pf(t,e){return Pa(t),Fr.withValue(t,hf,[t,e]),vf(t,e)&&mf(t),Ea(t.value)}function hf(t,e){t.recomputing=!0;const{normalizeResult:r}=t;let n;r&&t.value.length===1&&(n=wa(t.value)),t.value.length=0;try{if(t.value[0]=t.fn.apply(null,e),r&&n&&!ba(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 mf(t){t.dirty=!1,!Pt(t)&&Sa(t)}function Ta(t){Ci(t,xa)}function Sa(t){Ci(t,Oa)}function Ci(t,e){const r=t.parents.size;if(r){const n=Oi(t.parents);for(let i=0;i<r;++i)e(n[i],t)}}function xa(t,e){pr(t.childValues.has(e)),pr(Pt(e));const r=!Pt(t);if(!t.dirtyChildren)t.dirtyChildren=jr.pop()||new Set;else if(t.dirtyChildren.has(e))return;t.dirtyChildren.add(e),r&&Ta(t)}function Oa(t,e){pr(t.childValues.has(e)),pr(!Pt(e));const r=t.childValues.get(e);r.length===0?t.childValues.set(e,wa(e.value)):ba(r,e.value)||t.setDirty(),Ca(t,e),!Pt(t)&&Sa(t)}function Ca(t,e){const r=t.dirtyChildren;r&&(r.delete(e),r.size===0&&(jr.length<df&&jr.push(r),t.dirtyChildren=null))}function Pa(t){t.childValues.size>0&&t.childValues.forEach((e,r)=>{Da(t,r)}),t.forgetDeps(),pr(t.dirtyChildren===null)}function Da(t,e){e.parents.delete(t),t.childValues.delete(e),Ca(t,e)}function vf(t,e){if(typeof t.subscribe=="function")try{On(t),t.unsubscribe=t.subscribe.apply(null,e)}catch(r){return t.setDirty(),!1}return!0}const gf={setDirty:!0,dispose:!0,forget:!0};function Ma(t){const e=new Map,r=t&&t.subscribe;function n(i){const s=Fr.getValue();if(s){let a=e.get(i);a||e.set(i,a=new Set),s.dependOn(a),typeof r=="function"&&(On(a),a.unsubscribe=r(i))}}return n.dirty=function(s,a){const o=e.get(s);if(o){const l=a&&ff.call(gf,a)?a:"setDirty";Oi(o).forEach(u=>u[l]()),e.delete(s),On(o)}},n}let Aa;function yf(...t){return(Aa||(Aa=new bt(typeof WeakMap=="function"))).lookupArray(t)}const Pi=new Set;function zr(t,{max:e=Math.pow(2,16),keyArgs:r,makeCacheKey:n=yf,normalizeResult:i,subscribe:s,cache:a=li}=Object.create(null)){const o=typeof a=="function"?new a(e,d=>d.dispose()):a,l=function(){const d=n.apply(null,r?r.apply(null,arguments):arguments);if(d===void 0)return t.apply(null,arguments);let p=o.get(d);p||(o.set(d,p=new Cn(t)),p.normalizeResult=i,p.subscribe=s,p.forget=()=>o.delete(d));const y=p.recompute(Array.prototype.slice.call(arguments));return o.set(d,p),Pi.add(o),Fr.hasValue()||(Pi.forEach(m=>m.clean()),Pi.clear()),y};Object.defineProperty(l,"size",{get:()=>o.size,configurable:!1,enumerable:!1}),Object.freeze(l.options={max:e,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:s,cache:o});function u(d){const p=d&&o.get(d);p&&p.setDirty()}l.dirtyKey=u,l.dirty=function(){u(n.apply(null,arguments))};function f(d){const p=d&&o.get(d);if(p)return p.peek()}l.peekKey=f,l.peek=function(){return f(n.apply(null,arguments))};function c(d){return d?o.delete(d):!1}return l.forgetKey=c,l.forget=function(){return c(n.apply(null,arguments))},l.makeCacheKey=n,l.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(l)}var Di,bf=Symbol.for("apollo.deprecations"),Ia=Symbol.for("apollo.deprecations.slot"),Mi=qe,Ai=(Di=Mi[Ia])!==null&&Di!==void 0?Di:Mi[Ia]=new dr;function Ef(t){return Mi[bf]||(Ai.getValue()||[]).includes(t)}function Ge(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return Ai.withValue.apply(Ai,le([Array.isArray(t)?t:[t]],e,!1))}function Ne(t,e,r,n){n===void 0&&(n="Please remove this option."),Dt(e,function(){e in t&&globalThis.__DEV__!==!1&&te.warn(103,r,e,n)})}function Dt(t,e){Ef(t)||e()}var ka=Object.assign,wf=Object.hasOwnProperty,Br=function(t){_(e,t);function e(r){var n=r.queryManager,i=r.queryInfo,s=r.options,a=this,o=e.inactiveOnCreation.getValue();a=t.call(this,function(h){a._getOrCreateQuery();try{var g=h._subscription._observer;g&&!g.error&&(g.error=_f)}catch(S){}var b=!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)),b&&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 o&&(n.queries.set(a.queryId,i),o=!1),a.queryManager.getOrCreateQuery(a.queryId)},a.queryInfo=i,a.queryManager=n,a.waitForOwnResult=Ii(s.fetchPolicy),a.isTornDown=!1,a.subscribeToMore=a.subscribeToMore.bind(a),a.maskResult=a.maskResult.bind(a);var l=n.defaultOptions.watchQuery,u=l===void 0?{}:l,f=u.fetchPolicy,c=f===void 0?"cache-first":f,d=s.fetchPolicy,p=d===void 0?c:d,y=s.initialFetchPolicy,m=y===void 0?p==="standby"?c:p:y;a.options=E(E({},s),{initialFetchPolicy:m,fetchPolicy:p}),a.queryId=i.queryId||n.generateQueryId();
3var v=Wt(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&&Dt("observableQuery.result",function(){globalThis.__DEV__!==!1&&te.warn(23)}),new Promise(function(n,i){var s={next:function(o){n(o),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||_e.ready,a=E(E({},i),{loading:nr(s),networkStatus:s}),o=this.options.fetchPolicy,l=o===void 0?"cache-first":o;if(!(Ii(l)||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),De(a.data,{})&&(a.data=void 0),u.complete?(delete a.partial,u.complete&&a.networkStatus===_e.loading&&(l==="cache-first"||l==="cache-only")&&(a.networkStatus=_e.ready,a.loading=!1)):a.partial=!0,a.networkStatus===_e.ready&&(a.error||a.errors)&&(a.networkStatus=_e.error),globalThis.__DEV__!==!1&&!u.complete&&!this.options.partialRefetch&&!a.loading&&!a.data&&!a.error&&Ra(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,o=s||i.hasNonreactiveDirective?!da(a,this.last.result,r,this.variables):!De(this.last.result,r);return o||n&&!De(this.last.variables,n)},e.prototype.getLast=function(r,n){var i=this.last;if(i&&i[r]&&(!n||De(i.variables,this.variables)))return i[r]},e.prototype.getLastResult=function(r){return globalThis.__DEV__!==!1&&Dt("getLastResult",function(){globalThis.__DEV__!==!1&&te.warn(24)}),this.getLast("result",r)},e.prototype.getLastError=function(r){return globalThis.__DEV__!==!1&&Dt("getLastError",function(){globalThis.__DEV__!==!1&&te.warn(25)}),this.getLast("error",r)},e.prototype.resetLastResults=function(){globalThis.__DEV__!==!1&&Dt("resetLastResults",function(){globalThis.__DEV__!==!1&&te.warn(26)}),delete this.last,this.isTornDown=!1},e.prototype.resetQueryStoreErrors=function(){globalThis.__DEV__!==!1&&globalThis.__DEV__!==!1&&te.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&&wf.call(r,"variables")){var a=na(this.query),o=a.variableDefinitions;(!o||!o.some(function(l){return l.variable.name.value==="variables"}))&&globalThis.__DEV__!==!1&&te.warn(28,r,((n=a.name)===null||n===void 0?void 0:n.value)||a)}return r&&!De(this.options.variables,r)&&(i.variables=this.options.variables=E(E({},this.options.variables),r)),this.queryInfo.resetLastWrite(),this.reobserve(i,_e.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,o=a.networkStatus;a.networkStatus=_e.fetchMore,i.notifyOnNetworkStatusChange&&this.observe();var l=new Set,u=r==null?void 0:r.updateQuery,f=this.options.fetchPolicy!=="no-cache";return f||te(u,29),this.queryManager.fetchQuery(s,i,_e.fetchMore).then(function(c){if(n.queryManager.removeQuery(s),a.networkStatus===_e.fetchMore&&(a.networkStatus=o),f)n.queryManager.cache.batch({update:function(y){var m=r.updateQuery;m?y.updateQuery({query:n.query,variables:n.variables,returnPartialData:!0,optimistic:!1},function(v){return m(v,{fetchMoreResult:c.data,variables:i.variables})}):y.writeQuery({query:i.query,variables:i.variables,data:c.data})},onWatchUpdated:function(y){l.add(y.query)}});else{var d=n.getLast("result"),p=u(d.data,{fetchMoreResult:c.data,variables:i.variables});n.reportResult(E(E({},d),{networkStatus:o,loading:nr(o),data:p}),n.variables)}return n.maskResult(c)}).finally(function(){f&&!l.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(o,l){return a(o,E({subscriptionData:s},l))})},error:function(s){if(r.onError){r.onError(s);return}globalThis.__DEV__!==!1&&te.error(30,s)}});return this.subscriptions.add(i),function(){n.subscriptions.delete(i)&&i.unsubscribe()}},e.prototype.setOptions=function(r){return globalThis.__DEV__!==!1&&(Ne(r,"canonizeResults","setOptions"),Dt("setOptions",function(){globalThis.__DEV__!==!1&&te.warn(31)})),this.reobserve(r)},e.prototype.silentSetOptions=function(r){var n=Vt(this.options,r||{});ka(this.options,n)},e.prototype.setVariables=function(r){var n=this;return De(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},_e.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,o=r(s,{variables:this.variables,complete:!!a,previousData:s});o&&(n.cache.writeQuery({query:this.options.query,data:o,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,o=a===void 0?s:a;s==="standby"||(typeof n.nextFetchPolicy=="function"?n.fetchPolicy=n.nextFetchPolicy(s,{reason:r,options:n,observable:this,initialFetchPolicy:o}):r==="variables-changed"?n.fetchPolicy=o: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)){te(s,32);var a=i||(this.pollingInfo={});a.interval=s;var o=function(){var u,f;r.pollingInfo&&(!nr(r.queryInfo.networkStatus)&&!(!((f=(u=r.options).skipPollAttempt)===null||f===void 0)&&f.call(u))?r.reobserve({fetchPolicy:r.options.initialFetchPolicy==="no-cache"?"no-cache":"network-only"}
3,_e.poll).then(l,l):l())},l=function(){var u=r.pollingInfo;u&&(clearTimeout(u.timeout),u.timeout=setTimeout(o,u.interval))};l()}}},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&&!De(n,this.last.variables)&&(s=void 0),this.last=E({result:this.queryManager.assumeImmutableResults?r:sa(r),variables:n},s?{error:s}:null)},e.prototype.reobserveAsConcast=function(r,n){var i=this;this.isTornDown=!1;var s=n===_e.refetch||n===_e.fetchMore||n===_e.poll,a=this.options.variables,o=this.options.fetchPolicy,l=Vt(this.options,r||{}),u=s?l:ka(this.options,l),f=this.transformDocument(u.query);this.lastQuery=f,s||(this.updatePolling(),r&&r.variables&&!De(r.variables,a)&&u.fetchPolicy!=="standby"&&(u.fetchPolicy===o||typeof u.nextFetchPolicy=="function")&&(this.applyNextFetchPolicy("variables-changed",u),n===void 0&&(n=_e.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=Ii(u.fetchPolicy));var c=function(){i.concast===y&&(i.waitForOwnResult=!1)},d=u.variables&&E({},u.variables),p=this.fetch(u,n,f),y=p.concast,m=p.fromLink,v={next:function(h){De(i.variables,d)&&(c(),i.reportResult(h,d))},error:function(h){De(i.variables,d)&&(Qs(h)||(h=new gt({networkError:h})),c(),i.reportError(h,d))}};return!s&&(m||!this.concast)&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=y,this.observer=v),y.addObserver(v),y},e.prototype.reobserve=function(r,n){return $c(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)&&Rr(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:_e.error,loading:!1});this.updateLastResult(s,n),Rr(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"||!nr(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 dr,e}(Ie);fa(Br);function _f(t){globalThis.__DEV__!==!1&&te.error(33,t.message,t.stack)}function Ra(t){globalThis.__DEV__!==!1&&t&&globalThis.__DEV__!==!1&&te.debug(34,t)}function Ii(t){return t==="network-only"||t==="no-cache"||t==="standby"}var Et;(function(t){t[t.Query=0]="Query",t[t.Mutation=1]="Mutation",t[t.Subscription=2]="Subscription"})(Et||(Et={}));var qt;function La(t){var e;switch(t){case Et.Query:e="Query";break;case Et.Mutation:e="Mutation";break;case Et.Subscription:e="Subscription";break}return e}function Na(t){Dt("parser",function(){globalThis.__DEV__!==!1&&te.warn(93)}),qt||(qt=new ci(pt.parser||1e3));var e=qt.get(t);if(e)return e;var r,n,i;te(!!t&&!!t.kind,94,t);for(var s=[],a=[],o=[],l=[],u=0,f=t.definitions;u<f.length;u++){var c=f[u];
3if(c.kind==="FragmentDefinition"){s.push(c);continue}if(c.kind==="OperationDefinition")switch(c.operation){case"query":a.push(c);break;case"mutation":o.push(c);break;case"subscription":l.push(c);break}}te(!s.length||a.length||o.length||l.length,95),te(a.length+o.length+l.length<=1,96,t,a.length,l.length,o.length),n=a.length?Et.Query:Et.Mutation,!a.length&&!o.length&&(n=Et.Subscription);var d=a.length?a:o.length?o:l;te(d.length===1,97,t,d.length);var p=d[0];r=p.variableDefinitions||[],p.name&&p.name.kind==="Name"?i=p.name.value:i="data";var y={name:i,type:n,variables:r};return qt.set(t,y),y}Na.resetCache=function(){qt=void 0},globalThis.__DEV__!==!1&&fi("parser",function(){return qt?qt.size:0});function Tf(t,e){var r=Ge("parser",Na,[t]),n=La(e),i=La(r.type);te(r.type===e,98,n,n,i)}function Fa(t){var e=Ve.useContext(gn()),r=t||e.client;return te(!!r,78),r}var Fe=Array.isArray;function rt(t){return Array.isArray(t)&&t.length>0}function Sf(t){var e=new Set([t]);return e.forEach(function(r){Le(r)&&xf(r)===r&&Object.getOwnPropertyNames(r).forEach(function(n){Le(r[n])&&e.add(r[n])})}),t}function xf(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 hr(t){return globalThis.__DEV__!==!1&&Sf(t),t}var Of=Symbol.for("apollo.hook.wrappers");function Cf(t,e,r){var n=r.queryManager,i=n&&n[Of],s=i&&i[t];return s?s(e):e}function Vr(t,e,r,n){n===void 0&&(n="Please remove this option.");var i=Ve.useRef(!1);globalThis.__DEV__!==!1&&e in t&&!i.current&&(Ne(t,e,r,n),i.current=!0)}var Pf=Object.prototype.hasOwnProperty;function ja(){}var Pn=Symbol();function Df(t,e){return e===void 0&&(e=Object.create(null)),Cf("useQuery",Mf,Fa(e&&e.client))(t,e)}function Mf(t,e){globalThis.__DEV__!==!1&&(Vr(e,"canonizeResults","useQuery"),Vr(e,"partialRefetch","useQuery"),Vr(e,"defaultOptions","useQuery","Pass the options directly to the hook instead."),Vr(e,"onCompleted","useQuery","If your `onCompleted` callback sets local state, switch to use derived state using `data` returned from the hook instead. Use `useEffect` to perform side-effects as a result of updates to `data`."),Vr(e,"onError","useQuery","If your `onError` callback sets local state, switch to use derived state using `data`, `error` or `errors` returned from the hook instead. Use `useEffect` if you need to perform side-effects as a result of updates to `data`, `error` or `errors`."));var r=If(t,e),n=r.result,i=r.obsQueryFields;return Ve.useMemo(function(){return E(E({},n),i)},[n,i])}function Af(t,e,r,n,i){function s(c){var d;Tf(e,Et.Query);var p={client:t,query:e,observable:n&&n.getSSRObservable(i())||Br.inactiveOnCreation.withValue(!n,function(){return Ge(["canonizeResults","partialRefetch"],function(){return t.watchQuery(za(void 0,t,r,i()))})}),resultData:{previousData:(d=c==null?void 0:c.resultData.current)===null||d===void 0?void 0:d.data}};return p}var a=Ve.useState(s),o=a[0],l=a[1];function u(c){var d,p;Object.assign(o.observable,(d={},d[Pn]=c,d));var y=o.resultData;l(E(E({},o),{query:c.query,resultData:Object.assign(y,{previousData:((p=y.current)===null||p===void 0?void 0:p.data)||y.previousData,current:void 0})}))}if(t!==o.client||e!==o.query){var f=s(o);return l(f),[f,u]}return[o,u]}function If(t,e){var r=Fa(e.client),n=Ve.useContext(gn()).renderPromises,i=!!n,s=r.disableNetworkFetches,a=e.ssr!==!1&&!e.skip,o=e.partialRefetch,l=Nf(r,t,e,i),u=Af(r,t,e,n,l),f=u[0],c=f.observable,d=f.resultData,p=u[1],y=l(c);Lf(d,c,r,e,y);var m=Ve.useMemo(function(){return Bf(c)},[c]);Rf(c,n,a);var v=kf(d,c,r,e,y,s,o,i,{onCompleted:e.onCompleted||ja,onError:e.onError||ja});return{result:v,obsQueryFields:m,observable:c,resultData:d,client:r,onQueryExecuted:p}}function kf(t,e,r,n,i,s,a,o,l){var u=Ve.useRef(l);Ve.useEffect(function(){u.current=l});var f=(o||s)&&n.ssr===!1&&!n.skip?Wa:n.skip||i.fetchPolicy==="standby"?Ua:void 0,c=t.previousData,d=Ve.useMemo(function(){return f&&$a(f,c,e,r)},[r,e,f,c]);return Gu(Ve.useCallback(function(p){if(o)return function(){};var y=function(){var h=t.current,g=e.getCurrentResult();h&&h.loading===g.loading&&h.networkStatus===g.networkStatus&&De(h.data,g.data)||ki(g,t,e,r,a,p,u.current)},m=function(h){if(v.current.unsubscribe(),v.current=e.resubscribeAfterError(y,m),!Pf.call(h,"graphQLErrors"))throw h;var g=t.current;(!g||g&&g.loading||!De(h,g.error))&&ki({data:g&&g.data,error:h,loading:!1,networkStatus:_e.error},t,e,r,a,p,u.current)},v={current:e.subscribe(y,m)};return function(){setTimeout(function(){return v.current.unsubscribe()})}},[s,o,e,t,a,r]),function(){return d||Ba(t,e,u.current,a,r)},function(){return d||Ba(t,e,u.current,a,r)})}function Rf(t,e,r){e&&r&&(e.registerSSRObservable(t),t.getCurrentResult().loading&&e.addObservableQueryPromise(t))}function Lf(t,e,r,n,i){var s;
3e[Pn]&&!De(e[Pn],i)&&(e.reobserve(za(e,r,n,i)),t.previousData=((s=t.current)===null||s===void 0?void 0:s.data)||t.previousData,t.current=void 0),e[Pn]=i}function Nf(t,e,r,n){r===void 0&&(r={});var i=r.skip,s=r.ssr,a=r.onCompleted,o=r.onError,l=r.defaultOptions,u=j(r,["skip","ssr","onCompleted","onError","defaultOptions"]);return function(f){var c=Object.assign(u,{query:e});return n&&(c.fetchPolicy==="network-only"||c.fetchPolicy==="cache-and-network")&&(c.fetchPolicy="cache-first"),c.variables||(c.variables={}),i?(c.initialFetchPolicy=c.initialFetchPolicy||c.fetchPolicy||Va(l,t.defaultOptions),c.fetchPolicy="standby"):c.fetchPolicy||(c.fetchPolicy=(f==null?void 0:f.options.initialFetchPolicy)||Va(l,t.defaultOptions)),c}}function za(t,e,r,n){var i=[],s=e.defaultOptions.watchQuery;return s&&i.push(s),r.defaultOptions&&i.push(r.defaultOptions),i.push(Vt(t&&t.options,n)),i.reduce(vn)}function ki(t,e,r,n,i,s,a){var o=e.current;o&&o.data&&(e.previousData=o.data),!t.error&&rt(t.errors)&&(t.error=new gt({graphQLErrors:t.errors})),e.current=$a(zf(t,r,i),e.previousData,r,n),s(),Ff(t,o==null?void 0:o.networkStatus,a)}function Ff(t,e,r){if(!t.loading){var n=jf(t);Promise.resolve().then(function(){n?r.onError(n):t.data&&e!==t.networkStatus&&t.networkStatus===_e.ready&&r.onCompleted(t.data)}).catch(function(i){globalThis.__DEV__!==!1&&te.warn(i)})}}function Ba(t,e,r,n,i){return t.current||ki(e.getCurrentResult(),t,e,i,n,function(){},r),t.current}function Va(t,e){var r;return(t==null?void 0:t.fetchPolicy)||((r=e==null?void 0:e.watchQuery)===null||r===void 0?void 0:r.fetchPolicy)||"cache-first"}function jf(t){return rt(t.errors)?new gt({graphQLErrors:t.errors}):t.error}function $a(t,e,r,n){var i=t.data,s=t.partial,a=j(t,["data","partial"]),o=E(E({data:i},a),{client:n,observable:r,variables:r.variables,called:t!==Wa&&t!==Ua,previousData:e});return o}function zf(t,e,r){return t.partial&&r&&!t.loading&&(!t.data||Object.keys(t.data).length===0)&&e.options.fetchPolicy!=="cache-only"?(e.refetch(),E(E({},t),{loading:!0,networkStatus:_e.refetch})):t}var Wa=hr({loading:!0,data:void 0,error:void 0,networkStatus:_e.loading}),Ua=hr({loading:!1,data:void 0,error:void 0,networkStatus:_e.ready});function Bf(t){return{refetch:t.refetch.bind(t),reobserve:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return globalThis.__DEV__!==!1&&globalThis.__DEV__!==!1&&te.warn(83),t.reobserve.apply(t,e)},fetchMore:t.fetchMore.bind(t),updateQuery:t.updateQuery.bind(t),startPolling:t.startPolling.bind(t),stopPolling:t.stopPolling.bind(t),subscribeToMore:t.subscribeToMore.bind(t)}}function Vf(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 $f(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 Wf(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 Ae(58,i)}return t}function qa(t,e){return e?e(t):Ie.of()}function $r(t){return typeof t=="function"?new Wr(t):t}function Dn(t){return t.request.length<=1}var Wr=function(){function t(e){e&&(this.request=e)}return t.empty=function(){return new t(function(){return Ie.of()})},t.from=function(e){return e.length===0?t.empty():e.map($r).reduce(function(r,n){return r.concat(n)})},t.split=function(e,r,n){var i=$r(r),s=$r(n||new t(qa)),a;return Dn(i)&&Dn(s)?a=new t(function(o){return e(o)?i.request(o)||Ie.of():s.request(o)||Ie.of()}):a=new t(function(o,l){return e(o)?i.request(o,l)||Ie.of():s.request(o,l)||Ie.of()}),Object.assign(a,{left:i,right:s})},t.execute=function(e,r){return e.request(Vf(r.context,$f(Wf(r))))||Ie.of()},t.concat=function(e,r){var n=$r(e);if(Dn(n))return globalThis.__DEV__!==!1&&te.warn(47,n),n;var i=$r(r),s;return Dn(i)?s=new t(function(a){return n.request(a,function(o){return i.request(o)||Ie.of()})||Ie.of()}):s=new t(function(a,o){return n.request(a,function(l){return i.request(l,o)||Ie.of()})||Ie.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(qa)))},t.prototype.concat=function(e){return t.concat(this,e)},t.prototype.request=function(e,r){throw Ae(48)},t.prototype.onError=function(e,r){if(globalThis.__DEV__!==!1&&Dt("onError",function(){globalThis.__DEV__!==!1&&te.warn(49)}),r&&r.error)return r.error(e),!1;throw e},t.prototype.setOnError=function(e){return globalThis.__DEV__!==!1&&globalThis.__DEV__!==!1&&te.warn(50),this.onError=e,this},t}(),Ri=Wr.execute,Li=function(t,e){var r;try{r=JSON.stringify(t)}catch(i){var n=Ae(54,e,i.message);throw n.parseError=i,n}return r},Uf=function(t,e){var r=t.getContext(),n=r.uri;return n||(typeof e=="function"?e(t):e||"/graphql")};function qf(t){var e,r=t[Symbol.asyncIterator]();return e={next:function(){return r.next()}},e[Symbol.asyncIterator]=function(){return this},e}function Gf(t){var e=null,r=null,n=!1,i=[],s=[];function a(c){if(!r){if(s.length){var d=s.shift();if(Array.isArray(d)&&d[0])return d[0]({value:c,done:!1})}i.push(c)}}function o(c){r=c;var d=s.slice();d.forEach(function(p){p[1](c)}),!e||e()}function l(){n=!0;var c=s.slice();
3c.forEach(function(d){d[0]({value:void 0,done:!0})}),!e||e()}e=function(){e=null,t.removeListener("data",a),t.removeListener("error",o),t.removeListener("end",l),t.removeListener("finish",l),t.removeListener("close",l)},t.on("data",a),t.on("error",o),t.on("end",l),t.on("finish",l),t.on("close",l);function u(){return new Promise(function(c,d){if(r)return d(r);if(i.length)return c({value:i.shift(),done:!1});if(n)return c({value:void 0,done:!0});s.push([c,d])})}var f={next:function(){return u()}};return mn&&(f[Symbol.asyncIterator]=function(){return this}),f}function Qf(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 mn&&(r[Symbol.asyncIterator]=function(){return this}),r}function Ga(t){var e={next:function(){return t.read()}};return mn&&(e[Symbol.asyncIterator]=function(){return this}),e}function Yf(t){return!!t.body}function Hf(t){return!!t.getReader}function Xf(t){return!!(mn&&t[Symbol.asyncIterator])}function Kf(t){return!!t.stream}function Jf(t){return!!t.arrayBuffer}function Zf(t){return!!t.pipe}function ed(t){var e=t;if(Yf(t)&&(e=t.body),Xf(e))return qf(e);if(Hf(e))return Ga(e.getReader());if(Kf(e))return Ga(e.stream().getReader());if(Jf(e))return Qf(e.arrayBuffer());if(Zf(e))return Gf(e);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var Qa=function(t,e,r){var n=new Error(r);throw n.name="ServerError",n.response=t,n.statusCode=t.status,n.result=e,n},td=Object.prototype.hasOwnProperty;function Ya(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Mn(t)}function Mn(t){var e=t[0]||{},r=t.length;if(r>1)for(var n=new Mt,i=1;i<r;++i)e=n.merge(e,t[i]);return e}var rd=function(t,e,r){return this.merge(t[r],e[r])},Mt=function(){function t(e){e===void 0&&(e=rd),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(td.call(e,a)){var o=e[a];if(r[a]!==o){var l=n.reconciler.apply(n,le([e,r,a],i,!1));l!==o&&(e=n.shallowCopyForMerge(e),e[a]=l)}}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 mr(t){return"incremental"in t}function nd(t){return"hasNext"in t&&"data"in t}function id(t){return mr(t)||nd(t)}function sd(t){return Le(t)&&"payload"in t}function Ha(t,e){var r=t,n=new Mt;return mr(e)&&rt(e.incremental)&&e.incremental.forEach(function(i){for(var s=i.data,a=i.path,o=a.length-1;o>=0;--o){var l=a[o],u=!isNaN(+l),f=u?[]:{};f[l]=s,s=f}r=n.merge(r,s)}),r}var Xa=Object.prototype.hasOwnProperty;function ad(t,e){return H(this,void 0,void 0,function(){var r,n,i,s,a,o,l,u,f,c,d,p,y,m,v,h,g,b,w,S,O,P,I,x;return G(this,function(Z){switch(Z.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=(x=t.headers)===null||x===void 0?void 0:x.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),o="",l=ed(t),u=!0,Z.label=1;case 1:return u?[4,l.next()]:[3,3];case 2:for(f=Z.sent(),c=f.value,d=f.done,p=typeof c=="string"?c:r.decode(c),y=o.length-a.length+1,u=!d,o+=p,m=o.indexOf(a,y);m>-1;){if(v=void 0,P=[o.slice(0,m),o.slice(m+a.length)],v=P[0],o=P[1],h=v.indexOf(`\r 5\r 6`),g=od(v.slice(0,h)),b=g["content-type"],b&&b.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");if(w=v.slice(h),w){if(S=Ka(t,w),Object.keys(S).length>1||"data"in S||"incremental"in S||"errors"in S||"payload"in S)if(sd(S)){if(O={},"payload"in S){if(Object.keys(S).length===1&&S.payload===null)return[2];O=E({},S.payload)}"errors"in S&&(O=E(E({},O),{extensions:E(E({},"extensions"in O?O.extensions:null),(I={},I[ii]=S.errors,I))})),e(O)}else e(S);else if(Object.keys(S).length===1&&"hasNext"in S&&!S.hasNext)return[2]}m=o.indexOf(a)}return[3,1];case 3:return[2]}})})}function od(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 Ka(t,e){if(t.status>=300){var r=function(){try{return JSON.parse(e)}catch(i){return e}};Qa(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 ld(t,e){t.result&&t.result.errors&&t.result.data&&e.next(t.result),e.error(t)}function ud(t){return function(e){return e.text().then(function(r){return Ka(e,r)}).then(function(r){return!Array.isArray(r)&&!Xa.call(r,"data")&&!Xa.call(r,"errors")&&Qa(e,r,"Server response was missing for query '".concat(Array.isArray(t)?t.map(function(n){return n.operationName}):t.operationName,"'.")),r})}}var cd=function(t){if(!t&&typeof fetch=="undefined")throw Ae(51)};function Ni(t){return t===9||t===32}function Ur(t){return t>=48&&t<=57}function Ja(t){return t>=97&&t<=122||t>=65&&t<=90}function Za(t){return Ja(t)||t===95}function fd(t){return Ja(t)||Ur(t)||t===95}function dd(t){var e;let r=Number.MAX_SAFE_INTEGER,n=null,i=-1;for(let a=0;a<t.length;++a){var s;const o=t[a],l=pd(o);l!==o.length&&(n=(s=n)!==null&&s!==void 0?s:a,i=a,a!==0&&l<r&&(r=l))}return t.map((a,o)=>o===0?a:a.slice(r)).slice((e=n)!==null&&e!==void 0?e:0,i+1)}function pd(t){let e=0;for(;e<t.length&&Ni(t.charCodeAt(e));)++e;return e}function Ny(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 hd(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||Ni(p.charCodeAt(0))),a=r.endsWith('\\"""'),o=t.endsWith('"')&&!a,l=t.endsWith("\\"),u=o||l,f=!(e!=null&&e.minimize)&&(!i||t.length>70||u||s||a);let c="";const d=i&&Ni(t.charCodeAt(0));return(f&&!d||s)&&(c+=` 8`),c+=r,(f||u)&&(c+=` 9`),'"""'+c+'"""'}function md(t){return`"${t.replace(vd,gd)}"`}const vd=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function gd(t){return yd[t.charCodeAt(0)]}const yd=["\\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 bd(t){return at(t,wd)}const Ed=80,wd={Name:{leave:t=>t.value},Variable:{leave:t=>"$"+t.name},Document:{leave:t=>ce(t.definitions,` 10 11`)},OperationDefinition:{leave(t){const e=Fi(t.variableDefinitions)?ye(`( 12`,ce(t.variableDefinitions,` 13`),` 14)`):ye("(",ce(t.variableDefinitions,", "),")"),r=ye("",t.description,` 15`)+ce([t.operation,ce([t.name,e]),ce(t.directives," ")]," ");return(r==="query"?"":r+" ")+t.selectionSet}},VariableDefinition:{leave:({variable:t,type:e,defaultValue:r,directives:n,description:i})=>ye("",i,` 16`)+t+": "+e+ye(" = ",r)+ye(" ",ce(n," "))},SelectionSet:{leave:({selections:t})=>ot(t)},Field:{leave({alias:t,name:e,arguments:r,directives:n,selectionSet:i}){const s=ye("",t,": ")+e;let a=s+ye("(",ce(r,", "),")");return a.length>Ed&&(a=s+ye(`( 17`,An(ce(r,` 18`)),` 19)`)),ce([a,ce(n," "),i]," ")}},Argument:{leave:({name:t,value:e})=>t+": "+e},FragmentSpread:{leave:({name:t,directives:e})=>"..."+t+ye(" ",ce(e," "))},InlineFragment:{leave:({typeCondition:t,directives:e,selectionSet:r})=>ce(["...",ye("on ",t),ce(e," "),r]," ")},FragmentDefinition:{leave:({name:t,typeCondition:e,variableDefinitions:r,directives:n,selectionSet:i,description:s})=>ye("",s,` 20`)+`fragment ${t}${ye("(",ce(r,", "),")")} on ${e} ${ye("",ce(n," ")," ")}`+i},IntValue:{leave:({value:t})=>t},FloatValue:{leave:({value:t})=>t},StringValue:{leave:({value:t,block:e})=>e?hd(t):md(t)},BooleanValue:{leave:({value:t})=>t?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:t})=>t},ListValue:{leave:({values:t})=>"["+ce(t,", ")+"]"},ObjectValue:{leave:({fields:t})=>"{"+ce(t,", ")+"}"},ObjectField:{leave:({name:t,value:e})=>t+": "+e},Directive:{leave:({name:t,arguments:e})=>"@"+t+ye("(",ce(e,", "),")")},NamedType:{leave:({name:t})=>t},ListType:{leave:({type:t})=>"["+t+"]"},NonNullType:{leave:({type:t})=>t+"!"},SchemaDefinition:{leave:({description:t,directives:e,operationTypes:r})=>ye("",t,` 21`)+ce(["schema",ce(e," "),ot(r)]," ")},OperationTypeDefinition:{leave:({operation:t,type:e})=>t+": "+e},ScalarTypeDefinition:{leave:({description:t,name:e,directives:r})=>ye("",t,` 22`)+ce(["scalar",e,ce(r," ")]," ")},ObjectTypeDefinition:{leave:({description:t,name:e,interfaces:r,directives:n,fields:i})=>ye("",t,` 23`)+ce(["type",e,ye("implements ",ce(r," & ")),ce(n," "),ot(i)]," ")},FieldDefinition:{leave:({description:t,name:e,arguments:r,type:n,directives:i})=>ye("",t,` 24`)+e+(Fi(r)?ye(`( 25`,An(ce(r,` 26`)),` 27)`):ye("(",ce(r,", "),")"))+": "+n+ye(" ",ce(i," "))},InputValueDefinition:{leave:({description:t,name:e,type:r,defaultValue:n,directives:i})=>ye("",t,` 28`)+ce([e+": "+r,ye("= ",n),ce(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:t,name:e,interfaces:r,directives:n,fields:i})=>ye("",t,` 29`)+ce(["interface",e,ye("implements ",ce(r," & ")),ce(n," "),ot(i)]," ")},UnionTypeDefinition:{leave:({description:t,name:e,directives:r,types:n})=>ye("",t,` 30`)+ce(["union",e,ce(r," "),ye("= ",ce(n," | "))]," ")},EnumTypeDefinition:{leave:({description:t,name:e,directives:r,values:n})=>ye("",t,` 31`)+ce(["enum",e,ce(r," "),ot(n)]," ")},EnumValueDefinition:{leave:({description:t,name:e,directives:r})=>ye("",t,`
32`)+ce([e,ce(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:t,name:e,directives:r,fields:n})=>ye("",t,` 33`)+ce(["input",e,ce(r," "),ot(n)]," ")},DirectiveDefinition:{leave:({description:t,name:e,arguments:r,directives:n,repeatable:i,locations:s})=>ye("",t,` 34`)+"directive @"+e+(Fi(r)?ye(`( 35`,An(ce(r,` 36`)),` 37)`):ye("(",ce(r,", "),")"))+ye(" ",ce(n," "))+(i?" repeatable":"")+" on "+ce(s," | ")},SchemaExtension:{leave:({directives:t,operationTypes:e})=>ce(["extend schema",ce(t," "),ot(e)]," ")},ScalarTypeExtension:{leave:({name:t,directives:e})=>ce(["extend scalar",t,ce(e," ")]," ")},ObjectTypeExtension:{leave:({name:t,interfaces:e,directives:r,fields:n})=>ce(["extend type",t,ye("implements ",ce(e," & ")),ce(r," "),ot(n)]," ")},InterfaceTypeExtension:{leave:({name:t,interfaces:e,directives:r,fields:n})=>ce(["extend interface",t,ye("implements ",ce(e," & ")),ce(r," "),ot(n)]," ")},UnionTypeExtension:{leave:({name:t,directives:e,types:r})=>ce(["extend union",t,ce(e," "),ye("= ",ce(r," | "))]," ")},EnumTypeExtension:{leave:({name:t,directives:e,values:r})=>ce(["extend enum",t,ce(e," "),ot(r)]," ")},InputObjectTypeExtension:{leave:({name:t,directives:e,fields:r})=>ce(["extend input",t,ce(e," "),ot(r)]," ")},DirectiveExtension:{leave:({name:t,directives:e})=>ce(["extend directive @"+t,ce(e," ")]," ")},TypeCoordinate:{leave:({name:t})=>t},MemberCoordinate:{leave:({name:t,memberName:e})=>ce([t,ye(".",e)])},ArgumentCoordinate:{leave:({name:t,fieldName:e,argumentName:r})=>ce([t,ye(".",e),ye("(",r,":)")])},DirectiveCoordinate:{leave:({name:t})=>ce(["@",t])},DirectiveArgumentCoordinate:{leave:({name:t,argumentName:e})=>ce(["@",t,ye("(",e,":)")])}};function ce(t,e=""){var r;return(r=t==null?void 0:t.filter(n=>n).join(e))!==null&&r!==void 0?r:""}function ot(t){return ye(`{ 38`,An(ce(t,` 39`)),` 40}`)}function ye(t,e,r=""){return e!=null&&e!==""?t+e+r:""}function An(t){return ye(" ",t.replace(/\n/g,` 41 `))}function Fi(t){var e;return(e=t==null?void 0:t.some(r=>r.includes(` 42`)))!==null&&e!==void 0?e:!1}var qr,Gt=Object.assign(function(t){var e=qr.get(t);return e||(e=bd(t),qr.set(t,e)),e},{reset:function(){qr=new ci(pt.print||2e3)}});Gt.reset(),globalThis.__DEV__!==!1&&fi("print",function(){return qr?qr.size:0});var _d,Td={includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},Sd={accept:"*/*","content-type":"application/json"},xd={method:"POST"},Od={http:Td,headers:Sd,options:xd},eo=function(t,e){return e(t)};function Fy(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return r.unshift(e),to.apply(void 0,_d([t,eo],r,!1))}function to(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i={},s={};r.forEach(function(c){i=E(E(E({},i),c.options),{headers:E(E({},i.headers),c.headers)}),c.credentials&&(i.credentials=c.credentials),s=E(E({},s),c.http)}),i.headers&&(i.headers=Cd(i.headers,s.preserveHeaderCase));var a=t.operationName,o=t.extensions,l=t.variables,u=t.query,f={operationName:a,variables:l};return s.includeExtensions&&(f.extensions=o),s.includeQuery&&(f.query=e(u,Gt)),{options:i,body:f}}function Cd(t,e){if(!e){var r={};return 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 Pd(t,e){var r=[],n=function(c,d){r.push("".concat(c,"=").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=Li(e.variables,"Variables map")}catch(c){return{parseError:c}}n("variables",i)}if(e.extensions){var s=void 0;try{s=Li(e.extensions,"Extensions map")}catch(c){return{parseError:c}}n("extensions",s)}var a="",o=t,l=t.indexOf("#");l!==-1&&(a=t.substr(l),o=t.substr(0,l));var u=o.indexOf("?")===-1?"?":"&",f=o+u+r.join("&")+a;return{newURI:f}}function ji(t){return new Ie(function(e){e.error(t)})}function Dd(t,e){var r=E({},t),n=new Set(Object.keys(t));return at(e,{Variable:function(i,s,a){a&&a.kind!=="VariableDefinition"&&n.delete(i.name.value)}}
42),n.forEach(function(i){delete r[i]}),r}var ro,Md,no,Ad,Id,io={kind:ae.FIELD,name:{kind:ae.NAME,value:"__typename"}};function so(t,e){return!t||t.selectionSet.selections.every(function(r){return r.kind===ae.FRAGMENT_SPREAD&&so(e[r.name.value],e)})}function zi(t){return so(Wt(t)||ia(t),sr(cr(t)))?null:t}function ao(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 oo(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 Bi(t,e){ur(e);for(var r=oo(""),n=oo(""),i=function(h){for(var g=0,b=void 0;g<h.length&&(b=h[g]);++g)if(!Fe(b)){if(b.kind===ae.OPERATION_DEFINITION)return r(b.name&&b.name.value);if(b.kind===ae.FRAGMENT_DEFINITION)return n(b.name.value)}return globalThis.__DEV__!==!1&&te.error(124),null},s=0,a=e.definitions.length-1;a>=0;--a)e.definitions[a].kind===ae.OPERATION_DEFINITION&&++s;var o=ao(t),l=function(h){return rt(h)&&h.map(o).some(function(g){return g&&g.remove})},u=new Map,f=!1,c={enter:function(h){if(l(h.directives))return f=!0,null}},d=at(e,{Field:c,InlineFragment:c,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(h,g,b,w,S){var O=i(S);O&&O.variables.add(h.name.value)}},FragmentSpread:{enter:function(h,g,b,w,S){if(l(h.directives))return f=!0,null;var O=i(S);O&&O.fragmentSpreads.add(h.name.value)}},FragmentDefinition:{enter:function(h,g,b,w){u.set(JSON.stringify(w),h)},leave:function(h,g,b,w){var S=u.get(JSON.stringify(w));if(h===S)return h;if(s>0&&h.selectionSet.selections.every(function(O){return O.kind===ae.FIELD&&O.name.value==="__typename"}))return n(h.name.value).removed=!0,f=!0,null}},Directive:{leave:function(h){if(o(h))return f=!0,null}}});if(!f)return e;var p=function(h){return h.transitiveVars||(h.transitiveVars=new Set(h.variables),h.removed||h.fragmentSpreads.forEach(function(g){p(n(g)).transitiveVars.forEach(function(b){h.transitiveVars.add(b)})})),h},y=new Set;d.definitions.forEach(function(h){h.kind===ae.OPERATION_DEFINITION?p(r(h.name&&h.name.value)).fragmentSpreads.forEach(function(g){y.add(g)}):h.kind===ae.FRAGMENT_DEFINITION&&s===0&&!n(h.name.value).removed&&y.add(h.name.value)}),y.forEach(function(h){p(n(h)).fragmentSpreads.forEach(function(g){y.add(g)})});var m=function(h){return!!(!y.has(h)||n(h).removed)},v={enter:function(h){if(m(h.name.value))return null}};return zi(at(d,{FragmentSpread:v,FragmentDefinition:v,OperationDefinition:{leave:function(h){if(h.variableDefinitions){var g=p(r(h.name&&h.name.value)).transitiveVars;if(g.size<h.variableDefinitions.length)return E(E({},h),{variableDefinitions:h.variableDefinitions.filter(function(b){return g.has(b.variable.name.value)})})}}}}))}var Vi=Object.assign(function(t){return at(t,{SelectionSet:{enter:function(e,r,n){if(!(n&&n.kind===ae.OPERATION_DEFINITION)){var i=e.selections;if(i){var s=i.some(function(o){return Ct(o)&&(o.name.value==="__typename"||o.name.value.lastIndexOf("__",0)===0)});if(!s){var a=n;if(!(Ct(a)&&a.directives&&a.directives.some(function(o){return o.name.value==="export"})))return E(E({},e),{selections:le(le([],i,!0),[io],!1)})}}}}}})},{added:function(t){return t===io}}),kd={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&&te.warn(125),e}};function jy(t){return Bi([kd],Ad(t))}function Rd(t,e,r){return r===void 0&&(r=!0),!!e&&e.selections&&e.selections.some(function(n){return Ld(t,n,r)})}function Ld(t,e,r){return r===void 0&&(r=!0),Id(e)?e.directives?e.directives.some(ao(t))||r&&Rd(t,e.selectionSet,r):!1:!0}function Nd(t){return function(r){return t.some(function(n){return r.value&&r.value.kind===Md.VARIABLE&&r.value.name&&(n.name===r.value.name.value||n.test&&n.test(r))})}}function zy(t,e){var r=Nd(t);return zi(no(e,{OperationDefinition:{enter:function(n){return ro(ro({},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;
42if(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 By(t,e){function r(n){if(t.some(function(i){return i.name===n.name.value}))return null}return zi(no(e,{FragmentSpread:{enter:r},FragmentDefinition:{enter:r}}))}function Fd(t){var e=kr(t),r=e.operation;if(r==="query")return t;var n=at(t,{OperationDefinition:{enter:function(i){return E(E({},i),{operation:"query"})}}});return n}function lo(t){ur(t);var e=Bi([{test:function(r){return r.name.value==="client"},remove:!0}],t);return e}function jd(t){return ur(t),at(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:le(le([],e.directives||[],!0),[{kind:ae.DIRECTIVE,name:{kind:ae.NAME,value:"nonreactive"}}],!1)})}})}var uo=He(function(){return fetch}),zd=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?eo:i,a=t.includeExtensions,o=t.preserveHeaderCase,l=t.useGETForQueries,u=t.includeUnusedVariables,f=u===void 0?!1:u,c=j(t,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);globalThis.__DEV__!==!1&&cd(n||uo);var d={http:{includeExtensions:a,preserveHeaderCase:o},options:c.fetchOptions,credentials:c.credentials,headers:c.headers};return new Wr(function(p){var y=Uf(p,r),m=p.getContext(),v={};if(m.clientAwareness){var h=m.clientAwareness,g=h.name,b=h.version;g&&(v["apollographql-client-name"]=g),b&&(v["apollographql-client-version"]=b)}var w=E(E({},v),m.headers),S={http:m.http,options:m.fetchOptions,credentials:m.credentials,headers:w};if(Ut(["client"],p.query)){globalThis.__DEV__!==!1&&globalThis.__DEV__!==!1&&te.warn(52);var O=lo(p.query);if(!O)return ji(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=O}var P=to(p,s,Od,d,S),I=P.options,x=P.body;x.variables&&!f&&(x.variables=Dd(x.variables,p.query));var Z;!I.signal&&typeof AbortController!="undefined"&&(Z=new AbortController,I.signal=Z.signal);var L=function(F){return F.kind==="OperationDefinition"&&F.operation==="mutation"},A=function(F){return F.kind==="OperationDefinition"&&F.operation==="subscription"},D=A(kr(p.query)),T=Ut(["defer"],p.query);if(l&&!p.query.definitions.some(L)&&(I.method="GET"),T||D){I.headers=I.headers||{};var M="multipart/mixed;";D&&T&&globalThis.__DEV__!==!1&&te.warn(53),D?M+="boundary=graphql;subscriptionSpec=1.0,application/json":T&&(M+="deferSpec=20220824,application/json"),I.headers.accept=M}if(I.method==="GET"){var ee=Pd(y,x),z=ee.newURI,X=ee.parseError;if(X)return ji(X);y=z}else try{I.body=Li(x,"Payload")}catch(F){return ji(F)}return new Ie(function(F){var he=n||He(function(){return fetch})||uo,Pe=F.next.bind(F);return he(y,I).then(function(We){var me;p.setContext({response:We});var Oe=(me=We.headers)===null||me===void 0?void 0:me.get("content-type");return Oe!==null&&/^multipart\/mixed/i.test(Oe)?ad(We,Pe):ud(p)(We).then(Pe)}).then(function(){Z=void 0,F.complete()}).catch(function(We){Z=void 0,ld(We,F)}),function(){Z&&Z.abort()}})})},Bd=function(t){_(e,t);function e(r){r===void 0&&(r={});var n=t.call(this,zd(r).request)||this;return n.options=r,n}return e}(Wr);function Vd(t){return t}var co=function(){function t(e,r){r===void 0&&(r=Object.create(null)),this.resultCache=Jn?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(Vd,{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 bt(Bt);this.performWork=zr(t.prototype.performWork.bind(this),{makeCacheKey:function(n){var i=e.getCacheKey(n);if(i)return te(Array.isArray(i),104),r.lookupArray(i)},max:pt["documentTransform.cache"],cache:wn})}},t.prototype.performWork=function(e){return ur(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 $i(t,e,r){return new Ie(function(n){var i={then:function(l){return new Promise(function(u){return u(l())})}};function s(l,u){return function(f){if(l){var c=function(){return n.closed?0:l(f)}
42;i=i.then(c,c).then(function(d){return n.next(d)},function(d){return n.error(d)})}else n[u](f)}}var a={next:s(e,"next"),error:s(r,"error"),complete:function(){i.then(function(){return n.complete()})}},o=t.subscribe(a);return function(){return o.unsubscribe()}})}function In(t){var e=Wi(t);return rt(e)}function Wi(t){var e=rt(t.errors)?t.errors.slice(0):[];return mr(t)&&rt(t.incremental)&&t.incremental.forEach(function(r){r.errors&&e.push.apply(e,r.errors)}),e}function fo(t){return t&&typeof t.then=="function"}var vr=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),Rr(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),Rr(n.observers,"error",i))},complete:function(){var i=n,s=i.sub,a=i.sources,o=a===void 0?[]:a;if(s!==null){var l=o.shift();l?fo(l)?l.then(function(u){return n.sub=u.subscribe(n.handlers)},n.handlers.error):n.sub=l.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"),Rr(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 Ie(r)]),fo(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}(Ie);fa(vr);var gr=new(Bt?WeakMap:Map);function Ui(t,e){var r=t[e];typeof r=="function"&&(t[e]=function(){return gr.set(t,(gr.get(t)+1)%1e15),r.apply(this,arguments)})}var qi=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;gr.has(n)||(gr.set(n,0),Ui(n,"evict"),Ui(n,"modify"),Ui(n,"reset"))}return t.prototype.init=function(e){var r=e.networkStatus||_e.loading;return this.variables&&this.networkStatus!==_e.loading&&!De(this.variables,e.variables)&&(r=_e.setVariables),De(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&&De(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),De(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||!De(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===gr.get(this.cache)&&De(r,n.variables)&&De(e.data,n.result.data))},t.prototype.markResult=function(e,r,n,i){var s=this,a,o=new Mt,l=rt(e.errors)?e.errors.slice(0):[];if((a=this.observableQuery)===null||a===void 0||a.resetNotifications(),"incremental"in e&&rt(e.incremental)){var u=Ha(this.getDiff().result,e);e.data=u}else if("hasNext"in e&&e.hasNext){var f=this.getDiff();e.data=o.merge(f.result,e.data)}this.graphQLErrors=l,n.fetchPolicy==="no-cache"?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(n.variables)):i!==0&&(Gi(e,n.errorPolicy)?this.cache.performTransaction(function(c){if(s.shouldWrite(e,n.variables))c.writeQuery({query:r,data:e.data,variables:n.variables,overwrite:i===1}),s.lastWrite={result:e,variables:n.variables,dmCount:gr.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 c.diff(d)});!s.stopped&&De(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=_e.ready},t.prototype.markError=function(e){var r;return this.networkStatus=_e.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 Gi(t,e){e===void 0&&(e="none");var r=e==="ignore"||e==="all",n=!In(t);return!n&&r&&t.data&&(n=!0),n}var po=Bt?WeakMap:Map,ho=Jn?WeakSet:Set,Qi=new dr,mo=!1;function vo(){mo||(mo=!0,globalThis.__DEV__!==!1&&te.warn(64))}function go(t,e,r){return Qi.withValue(!0,function(){var n=Gr(t,e,r,!1);return Object.isFrozen(t)&&hr(n),n})}function $d(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 Gr(t,e,r,n,i){var s,a=r.knownChanged,o=$d(t,r.mutableTargets);if(Array.isArray(t)){for(var l=0,u=Array.from(t.entries());l<u.length;l++){var f=u[l],c=f[0],d=f[1];if(d===null){o[c]=null;continue}var p=Gr(d,e,r,n,globalThis.__DEV__!==!1?"".concat(i||"","[").concat(c,"]"):void 0);a.has(p)&&a.add(o),o[c]=p}return a.has(o)?o:t}for(var y=0,m=e.selections;y<m.length;y++){var v=m[y],h=void 0;if(n&&a.add(o),v.kind===ae.FIELD){var g=yt(v),b=v.selectionSet;if(h=o[g]||t[g],h===void 0)continue;if(b&&h!==null){var p=Gr(t[g],b,r,n,globalThis.__DEV__!==!1?"".concat(i||"",".").concat(g):void 0);a.has(p)&&(h=p)}globalThis.__DEV__===!1&&(o[g]=h),globalThis.__DEV__!==!1&&(n&&g!=="__typename"&&!(!((s=Object.getOwnPropertyDescriptor(o,g))===null||s===void 0)&&s.value)?Object.defineProperty(o,g,Wd(g,h,i||"",r.operationName,r.operationType)):(delete o[g],o[g]=h))}if(v.kind===ae.INLINE_FRAGMENT&&(!v.typeCondition||r.cache.fragmentMatches(v,t.__typename))&&(h=Gr(t,v.selectionSet,r,n,i)
42),v.kind===ae.FRAGMENT_SPREAD){var w=v.name.value,S=r.fragmentMap[w]||(r.fragmentMap[w]=r.cache.lookupFragment(w));te(S,59,w);var O=ef(v);O!=="mask"&&(h=Gr(t,S.selectionSet,r,O==="migrate",i))}a.has(h)&&a.add(o)}return"__typename"in t&&!("__typename"in o)&&(o.__typename=t.__typename),Object.keys(o).length!==Object.keys(t).length&&a.add(o),a.has(o)?o:t}function Wd(t,e,r,n,i){var s=function(){return Qi.getValue()||(globalThis.__DEV__!==!1&&te.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 Ud(t,e,r){var n;if(!r.fragmentMatches)return globalThis.__DEV__!==!1&&vo(),t;var i=Wt(e);return te(i,63),t==null?t:go(t,i.selectionSet,{operationType:i.operation,operationName:(n=i.name)===null||n===void 0?void 0:n.value,fragmentMap:sr(cr(e)),cache:r,mutableTargets:new po,knownChanged:new ho})}function yo(t,e,r,n){if(!r.fragmentMatches)return globalThis.__DEV__!==!1&&vo(),t;var i=e.definitions.filter(function(a){return a.kind===ae.FRAGMENT_DEFINITION});typeof n=="undefined"&&(te(i.length===1,61,i.length),n=i[0].name.value);var s=i.find(function(a){return a.name.value===n});return te(!!s,62,n),t==null||ri(t,{})?t:go(t,s.selectionSet,{operationType:"fragment",operationName:s.name.value,fragmentMap:sr(cr(e)),cache:r,mutableTargets:new po,knownChanged:new ho})}var qd=Object.prototype.hasOwnProperty,bo=Object.create(null),Gd=function(){function t(e){var r=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new ci(pt["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new bt(!1),this.noCacheWarningsByQueryId=new Set;var n=new co(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(Ae(35))},t.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(r){return r(e)}),this.fetchCancelFns.clear()},t.prototype.mutate=function(e){return H(this,arguments,void 0,function(r){var n,i,s,a,o,l,u,f=r.mutation,c=r.variables,d=r.optimisticResponse,p=r.updateQueries,y=r.refetchQueries,m=y===void 0?[]:y,v=r.awaitRefetchQueries,h=v===void 0?!1:v,g=r.update,b=r.onQueryUpdated,w=r.fetchPolicy,S=w===void 0?((l=this.defaultOptions.mutate)===null||l===void 0?void 0:l.fetchPolicy)||"network-only":w,O=r.errorPolicy,P=O===void 0?((u=this.defaultOptions.mutate)===null||u===void 0?void 0:u.errorPolicy)||"none":O,I=r.keepRootFields,x=r.context;return G(this,function(Z){switch(Z.label){case 0:return te(f,36),te(S==="network-only"||S==="no-cache",37),n=this.generateMutationId(),f=this.cache.transformForLink(this.transform(f)),i=this.getDocumentInfo(f).hasClientExports,c=this.getVariables(f,c),i?[4,this.localState.addExportedVariables(f,c,x)]:[3,2];case 1:c=Z.sent(),Z.label=2;case 2:return s=this.mutationStore&&(this.mutationStore[n]={mutation:f,variables:c,loading:!0,error:null}),a=d&&this.markMutationOptimistic(d,{mutationId:n,document:f,variables:c,fetchPolicy:S,errorPolicy:P,context:x,updateQueries:p,update:g,keepRootFields:I}),this.broadcastQueries(),o=this,[2,new Promise(function(L,A){return $i(o.getObservableFromLink(f,E(E({},x),{optimisticResponse:a?d:void 0}),c,{},!1),function(D){if(In(D)&&P==="none")throw new gt({graphQLErrors:Wi(D)});s&&(s.loading=!1,s.error=null);var T=E({},D);return typeof m=="function"&&(m=m(T)),P==="ignore"&&In(T)&&delete T.errors,o.markMutationResult({mutationId:n,result:T,document:f,variables:c,fetchPolicy:S,errorPolicy:P,context:x,update:g,updateQueries:p,awaitRefetchQueries:h,refetchQueries:m,removeOptimistic:a?n:void 0,onQueryUpdated:b,keepRootFields:I})}).subscribe({next:function(D){o.broadcastQueries(),(!("hasNext"in D)||D.hasNext===!1)&&L(E(E({},D),{data:o.maskOperation({document:f,data:D.data,fetchPolicy:S,id:n})}))},error:function(D){s&&(s.loading=!1,s.error=D),a&&o.cache.removeOptimistic(n),o.broadcastQueries(),A(D instanceof gt?D:new gt({networkError:D}))}})})]}})})},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&&Gi(i,e.errorPolicy)){if(mr(i)||s.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),mr(i)&&rt(i.incremental)){var o=r.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
42),l=void 0;o.result&&(l=Ha(o.result,i)),typeof l!="undefined"&&(i.data=l,s.push({result:l,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var u=e.updateQueries;u&&this.queries.forEach(function(c,d){var p=c.observableQuery,y=p&&p.queryName;if(!(!y||!qd.call(u,y))){var m=u[y],v=n.queries.get(d),h=v.document,g=v.variables,b=r.diff({query:h,variables:g,returnPartialData:!0,optimistic:!1}),w=b.result,S=b.complete;if(S&&w){var O=m(w,{mutationResult:i,queryName:h&&Ir(h)||void 0,queryVariables:g});O&&s.push({result:O,dataId:"ROOT_QUERY",query:h,variables:g})}}})}if(s.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var f=[];if(this.refetchQueries({updateCache:function(c){a||s.forEach(function(m){return c.write(m)});var d=e.update,p=!id(i)||mr(i)&&!i.hasNext;if(d){if(!a){var y=c.diff({id:"ROOT_MUTATION",query:n.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});y.complete&&(i=E(E({},i),{data:y.result}),"incremental"in i&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}p&&d(c,i,{context:e.context,variables:e.variables})}!a&&!e.keepRootFields&&p&&c.modify({id:"ROOT_MUTATION",fields:function(m,v){var h=v.fieldName,g=v.DELETE;return h==="__typename"?m:g}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(c){return f.push(c)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(f).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:bo}):e;return i===bo?!1:(this.cache.recordOptimisticTransaction(function(s){try{n.markMutationResult(E(E({},r),{result:{data:i}}),s)}catch(a){globalThis.__DEV__!==!1&&te.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:Kc(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:Ut(["nonreactive"],e),nonReactiveQuery:jd(e),clientQuery:this.localState.clientQuery(e),serverQuery:Bi([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:mi(Wt(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 qi(this),i=new Br({queryManager:this,queryInfo:n,options:e});return i.lastQuery=r,Br.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()),te(e.query,38),te(e.query.kind==="Document",39),te(!e.returnPartialData,40),te(!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(Ae(42)),this.queries.forEach(function(r){r.observableQuery?r.networkStatus=_e.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(o){if(typeof o=="string")i.set(o,o),s.set(o,!1);else if(Pc(o)){var l=Gt(r.transform(o));i.set(l,Ir(o)),s.set(l,!1)}else Le(o)&&o.query&&a.add(o)}),this.queries.forEach(function(o,l){var u=o.observableQuery,f=o.document;if(u){if(e==="all"){n.set(l,u);return}var c=u.queryName,d=u.options.fetchPolicy;if(d==="standby"||e==="active"&&!u.hasObservers())return;(e==="active"||c&&s.has(c)||f&&s.has(Gt(f)))&&(n.set(l,u),c&&s.set(c,!0),f&&s.set(Gt(f),!0))}}),a.size&&a.forEach(function(o){var l=dt("legacyOneTimeQuery"),u=r.getOrCreateQuery(l).init({document:o.query,variables:o.variables}),f=new Br({queryManager:r,queryInfo:u,options:E(E({},o),{fetchPolicy:"network-only"})});te(f.queryId===l),u.setObservableQuery(f),n.set(l,f)}),globalThis.__DEV__!==!1&&s.size&&s.forEach(function(o,l){if(!o){var u=i.get(l);u?globalThis.__DEV__!==!1&&te.warn(43,u):globalThis.__DEV__!==!1&&te.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,o=a===void 0?"none":a,l=e.context,u=l===void 0?{}:l,f=e.extensions,c=f===void 0?{}:f;n=this.transform(n),i=this.getVariables(n,i);var d=function(y){return r.getObservableFromLink(n,u,y,c).map(function(m){s!=="no-cache"&&(Gi(m,o)&&r.cache.write({query:n,result:m.data,dataId:"ROOT_SUBSCRIPTION",variables:y}),r.broadcastQueries());var v=In(m),h=Ju(m);if(v||h){var g={};if(v&&(g.graphQLErrors=m.errors),h&&(g.protocolErrors=m.extensions[ii]),o==="none"||h)throw new gt(g)}return o==="ignore"&&delete m.errors,m})};if(this.getDocumentInfo(n).hasClientExports){var p=this.localState.addExportedVariables(n,i,u).then(d);return new Ie(function(y){var m=null;return p.then(function(v){return m=v.subscribe(y)},y.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,o;s===void 0&&(s=(o=r==null?void 0:r.queryDeduplication)!==null&&o!==void 0?o:this.queryDeduplication);var l,u=this.getDocumentInfo(e),f=u.serverQuery,c=u.clientQuery;if(f){var d=this,p=d.inFlightLinkObservables,y=d.link,m={query:f,variables:n,operationName:Ir(f)||void 0,context:this.prepareContext(E(E({},r),{forceFetch:!s})),extensions:i};if(r=m.context,s){var v=Gt(f),h=Ot(n),g=p.lookup(v,h);if(l=g.observable,!l){var b=new vr([Ri(y,m)]);l=g.observable=b,b.beforeNext(function w(S,O){S==="next"&&"hasNext"in O&&O.hasNext?b.beforeNext(w):p.remove(v,h)})}}else l=new vr([Ri(y,m)])}else l=new vr([Ie.of({data:{}})]),r=this.prepareContext(r);return c&&(l=$i(l,function(w){return a.localState.runResolvers({document:c,remoteResult:w,context:r,variables:n})})),l},t.prototype.getResultsFromLink=function(e,r,n){var i=e.lastRequestId=this.generateRequestId(),s=this.cache.transformForLink(n.query);return $i(this.getObservableFromLink(s,n.context,n.variables),function(a){var o=Wi(a),l=o.length>0,u=n.errorPolicy;if(i>
42=e.lastRequestId){if(l&&u==="none")throw e.markError(new gt({graphQLErrors:o}));e.markResult(a,s,n,r),e.markReady()}var f={data:a.data,loading:!1,networkStatus:_e.ready};return l&&u==="none"&&(f.data=void 0),l&&u!=="ignore"&&(f.errors=o,f.networkStatus=_e.error),f},function(a){var o=Qs(a)?a:new gt({networkError:a});throw i>=e.lastRequestId&&e.markError(o),o})},t.prototype.fetchConcastWithInfo=function(e,r,n,i){var s=this;n===void 0&&(n=_e.loading),i===void 0&&(i=r.query);var a=this.getVariables(i,r.variables),o=this.defaultOptions.watchQuery,l=r.fetchPolicy,u=l===void 0?o&&o.fetchPolicy||"cache-first":l,f=r.errorPolicy,c=f===void 0?o&&o.errorPolicy||"none":f,d=r.returnPartialData,p=d===void 0?!1:d,y=r.notifyOnNetworkStatusChange,m=y===void 0?!1:y,v=r.context,h=v===void 0?{}:v,g=Object.assign({},r,{query:i,variables:a,fetchPolicy:u,errorPolicy:c,returnPartialData:p,notifyOnNetworkStatusChange:m,context:h}),b=function(I){g.variables=I;var x=s.fetchQueryByPolicy(e,g,n);return g.fetchPolicy!=="standby"&&x.sources.length>0&&e.observableQuery&&e.observableQuery.applyNextFetchPolicy("after-fetch",r),x},w=function(){return s.fetchCancelFns.delete(e.queryId)};this.fetchCancelFns.set(e.queryId,function(I){w(),setTimeout(function(){return S.cancel(I)})});var S,O;if(this.getDocumentInfo(g.query).hasClientExports)S=new vr(this.localState.addExportedVariables(g.query,g.variables,g.context).then(b).then(function(I){return I.sources})),O=!0;else{var P=b(g.variables);O=P.fromLink,S=new vr(P.sources)}return S.promise.then(w,w),{concast:S,fromLink:O}},t.prototype.refetchQueries=function(e){var r=this,n=e.updateCache,i=e.include,s=e.optimistic,a=s===void 0?!1:s,o=e.removeOptimistic,l=o===void 0?a?dt("refetchQueries"):void 0:o,u=e.onQueryUpdated,f=new Map;i&&this.getObservableQueries(i).forEach(function(d,p){f.set(p,{oq:d,lastDiff:(r.queries.get(p)||d.queryInfo).getDiff()})});var c=new Map;return n&&this.cache.batch({update:n,optimistic:a&&l||!1,removeOptimistic:l,onWatchUpdated:function(d,p,y){var m=d.watcher instanceof qi&&d.watcher.observableQuery;if(m){if(u){f.delete(m.queryId);var v=u(m,p,y);return v===!0&&(v=m.refetch()),v!==!1&&c.set(m,v),v}u!==null&&f.set(m.queryId,{oq:m,lastDiff:y,diff:p})}}}),f.size&&f.forEach(function(d,p){var y=d.oq,m=d.lastDiff,v=d.diff,h;u&&(v||(v=Ge("canonizeResults",function(){return r.cache.diff(y.queryInfo.getDiffOptions())})),h=u(y,v,m)),(!u||h===!0)&&(h=y.refetch()),h!==!1&&c.set(y,h),p.indexOf("legacyOneTimeQuery")>=0&&r.stopQueryNoBroadcast(p)}),l&&this.cache.removeOptimistic(l),c},t.prototype.maskOperation=function(e){var r,n,i,s=e.document,a=e.data;if(globalThis.__DEV__!==!1){var o=e.fetchPolicy,l=e.id,u=(r=Wt(s))===null||r===void 0?void 0:r.operation,f=((n=u==null?void 0:u[0])!==null&&n!==void 0?n:"o")+l;this.dataMasking&&o==="no-cache"&&!cc(s)&&!this.noCacheWarningsByQueryId.has(f)&&(this.noCacheWarningsByQueryId.add(f),globalThis.__DEV__!==!1&&te.warn(45,(i=Ir(s))!==null&&i!==void 0?i:"Unnamed ".concat(u!=null?u:"operation")))}return this.dataMasking?Ud(a,s,this.cache):a},t.prototype.maskFragment=function(e){var r=e.data,n=e.fragment,i=e.fragmentName;return this.dataMasking?yo(r,n,this.cache,i):r},t.prototype.fetchQueryByPolicy=function(e,r,n){var i=this,s=r.query,a=r.variables,o=r.fetchPolicy,l=r.refetchWritePolicy,u=r.errorPolicy,f=r.returnPartialData,c=r.context,d=r.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:s,variables:a,networkStatus:n});var y=function(){return e.getDiff()},m=function(w,S){S===void 0&&(S=e.networkStatus||_e.loading);var O=w.result;globalThis.__DEV__!==!1&&!f&&!De(O,{})&&Ra(w.missing);var P=function(I){return Ie.of(E({data:I,loading:nr(S),networkStatus:S},w.complete?null:{partial:!0}))};return O&&i.getDocumentInfo(s).hasForcedResolvers?i.localState.runResolvers({document:s,remoteResult:{data:O},context:c,variables:a,onlyRunForcedResolvers:!0}).then(function(I){return P(I.data||void 0)}):u==="none"&&S===_e.refetch&&Array.isArray(w.missing)?P(void 0):P(O)},v=o==="no-cache"?0:n===_e.refetch&&l!=="merge"?1:2,h=function(){return i.getResultsFromLink(e,v,{query:s,variables:a,context:c,fetchPolicy:o,errorPolicy:u})},g=d&&typeof p=="number"&&p!==n&&nr(n);switch(o){default:case"cache-first":{var b=y();return b.complete?{fromLink:!1,sources:[m(b,e.markReady())]}:f||g?{fromLink:!0,sources:[m(b),h()]}:{fromLink:!0,sources:[h()]}}case"cache-and-network":{var b=y();return b.complete||f||g?{fromLink:!0,sources:[m(b),h()]}:{fromLink:!0,sources:[h()]}}case"cache-only":return{fromLink:!1,sources:[m(y(),e.markReady())]};case"network-only":return g?{fromLink:!0,sources:[m(y()),h()]}:{fromLink:!0,sources:[h()]};case"no-cache":return g?{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 qi(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 Vy(t){return Qd(t)||Hd(t)||Kd(t)}function Qd(t){return t.kind===we.OPERATION_DEFINITION||t.kind===we.FRAGMENT_DEFINITION}function Eo(t){return t.kind===ae.FIELD||t.kind===ae.FRAGMENT_SPREAD||t.kind===ae.INLINE_FRAGMENT}function Yd(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 wo(t){return Yd(t)&&(t.kind===we.LIST?t.values.some(wo):t.kind===we.OBJECT?t.fields.some(e=>wo(e.value)):t.kind!==we.VARIABLE)}function $y(t){return t.kind===we.NAMED_TYPE||t.kind===we.LIST_TYPE||t.kind===we.NON_NULL_TYPE}function Hd(t){return t.kind===we.SCHEMA_DEFINITION||Xd(t)||t.kind===we.DIRECTIVE_DEFINITION}function Xd(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 Kd(t){return t.kind===we.SCHEMA_EXTENSION||t.kind===we.DIRECTIVE_EXTENSION||Jd(t)}function Jd(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 Wy(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 Yi=new dr,_o=new WeakMap;function Qr(t){var e=_o.get(t);return e||_o.set(t,e={vars:new Set,dep:Ma()}),e}
42function To(t){Qr(t).vars.forEach(function(e){return e.forgetCache(t)})}function Zd(t){Qr(t).vars.forEach(function(e){return e.attachCache(t)})}function ep(t){var e=new Set,r=new Set,n=function(s){if(arguments.length>0){if(t!==s){t=s,e.forEach(function(l){Qr(l).dep.dirty(n),tp(l)});var a=Array.from(r);r.clear(),a.forEach(function(l){return l(t)})}}else{var o=Yi.getValue();o&&(i(o),Qr(o).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),Qr(s).vars.add(n),n};return n.forgetCache=function(s){return e.delete(s)},n}function tp(t){t.broadcastWatches&&t.broadcastWatches()}var rp=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=Ya(r.resolvers,n)}):this.resolvers=Ya(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 H(this,arguments,void 0,function(r){var n=r.document,i=r.remoteResult,s=r.context,a=r.variables,o=r.onlyRunForcedResolvers,l=o===void 0?!1:o;return G(this,function(u){return n?[2,this.resolveDocument(n,i.data,s,a,this.fragmentMatcher,l).then(function(f){return E(E({},i),{data:f.result})})]:[2,i]})})},t.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},t.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},t.prototype.clientQuery=function(e){return Ut(["client"],e)&&this.resolvers?e:null},t.prototype.serverQuery=function(e){return lo(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 H(this,arguments,void 0,function(r,n,i){return n===void 0&&(n={}),i===void 0&&(i={}),G(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 at(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 St}}}),r},t.prototype.buildRootValueFromCache=function(e,r){return this.cache.diff({query:Fd(e),variables:r,returnPartialData:!0,optimistic:!1}).result},t.prototype.resolveDocument=function(e,r){return H(this,arguments,void 0,function(n,i,s,a,o,l){var u,f,c,d,p,y,m,v,h,g,b;return s===void 0&&(s={}),a===void 0&&(a={}),o===void 0&&(o=function(){return!0}),l===void 0&&(l=!1),G(this,function(w){return u=kr(n),f=cr(n),c=sr(f),d=this.collectSelectionsToResolve(u,c),p=u.operation,y=p?p.charAt(0).toUpperCase()+p.slice(1):"Query",m=this,v=m.cache,h=m.client,g={fragmentMap:c,context:E(E({},s),{cache:v,client:h}),variables:a,fragmentMatcher:o,defaultOperationType:y,exportedVariables:{},selectionsToResolve:d,onlyRunForcedResolvers:l},b=!1,[2,this.resolveSelectionSet(u.selectionSet,b,i,g).then(function(S){return{result:S,exportedVariables:g.exportedVariables}})]})})},t.prototype.resolveSelectionSet=function(e,r,n,i){return H(this,void 0,void 0,function(){var s,a,o,l,u,f=this;return G(this,function(c){return s=i.fragmentMap,a=i.context,o=i.variables,l=[n],u=function(d){return H(f,void 0,void 0,function(){var p,y;return G(this,function(m){return!r&&!i.selectionsToResolve.has(d)?[2]:Nr(d,o)?Ct(d)?[2,this.resolveField(d,r,n,i).then(function(v){var h;typeof v!="undefined"&&l.push((h={},h[yt(d)]=v,h))})]:(Bc(d)?p=d:(p=s[d.name.value],te(p,21,d.name.value)),p&&p.typeCondition&&(y=p.typeCondition.name.value,i.fragmentMatcher(n,y,a))?[2,this.resolveSelectionSet(p.selectionSet,r,n,i).then(function(v){l.push(v)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(u)).then(function(){return Mn(l)})]})})},t.prototype.resolveField=function(e,r,n,i){return H(this,void 0,void 0,function(){var s,a,o,l,u,f,c,d,p,y=this;return G(this,function(m){return n?(s=i.variables,a=e.name.value,o=yt(e),l=a!==o,u=n[o]||n[a],f=Promise.resolve(u),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(c=n.__typename||i.defaultOperationType,d=this.resolvers&&this.resolvers[c],d&&(p=d[l?a:o],p&&(f=Promise.resolve(Yi.withValue(this.cache,p,[n,_n(e,s),i.context,{field:e,fragmentMap:i.fragmentMap}]))))),[2,f.then(function(v){var h,g;
42if(v===void 0&&(v=u),e.directives&&e.directives.forEach(function(w){w.name.value==="export"&&w.arguments&&w.arguments.forEach(function(S){S.name.value==="as"&&S.value.kind==="StringValue"&&(i.exportedVariables[S.value.value]=v)})}),!e.selectionSet||v==null)return v;var b=(g=(h=e.directives)===null||h===void 0?void 0:h.some(function(w){return w.name.value==="client"}))!==null&&g!==void 0?g:!1;if(Array.isArray(v))return y.resolveSubSelectedArray(e,r||b,v,i);if(e.selectionSet)return y.resolveSelectionSet(e.selectionSet,r||b,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 o=new Set;i.set(a,o),at(a,{Directive:function(l,u,f,c,d){l.name.value==="client"&&d.forEach(function(p){n(p)&&Eo(p)&&o.add(p)})},FragmentSpread:function(l,u,f,c,d){var p=r[l.name.value];te(p,22,l.name.value);var y=s(p);y.size>0&&(d.forEach(function(m){n(m)&&Eo(m)&&o.add(m)}),o.add(l),y.forEach(function(m){o.add(m)}))}})}return i.get(a)}return s(e)},t}(),So=!1,xo=function(){function t(e){var r=this,n,i,s;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw Ae(16);var a=e.uri,o=e.credentials,l=e.headers,u=e.cache,f=e.documentTransform,c=e.ssrMode,d=c===void 0?!1:c,p=e.ssrForceFetchDelay,y=p===void 0?0:p,m=e.connectToDevTools,v=e.queryDeduplication,h=v===void 0?!0:v,g=e.defaultOptions,b=e.defaultContext,w=e.assumeImmutableResults,S=w===void 0?u.assumeImmutableResults:w,O=e.resolvers,P=e.typeDefs,I=e.fragmentMatcher,x=e.clientAwareness,Z=e.name,L=e.version,A=e.devtools,D=e.dataMasking;globalThis.__DEV__!==!1&&(Ne(e,"connectToDevTools","ApolloClient","Please use `devtools.enabled` instead."),Ne(e,"uri","ApolloClient","Please initialize an instance of `HttpLink` with `uri` instead."),Ne(e,"credentials","ApolloClient","Please initialize an instance of `HttpLink` with `credentials` instead."),Ne(e,"headers","ApolloClient","Please initialize an instance of `HttpLink` with `headers` instead."),Ne(e,"name","ApolloClient","Please use the `clientAwareness.name` option instead."),Ne(e,"version","ApolloClient","Please use the `clientAwareness.version` option instead."),Ne(e,"typeDefs","ApolloClient"),e.link||globalThis.__DEV__!==!1&&te.warn(17));var T=e.link;T||(T=a?new Bd({uri:a,credentials:o,headers:l}):Wr.empty()),this.link=T,this.cache=u,this.disableNetworkFetches=d||y>0,this.queryDeduplication=h,this.defaultOptions=g||Object.create(null),this.typeDefs=P,this.devtoolsConfig=E(E({},A),{enabled:(n=A==null?void 0:A.enabled)!==null&&n!==void 0?n:m}),this.devtoolsConfig.enabled===void 0&&(this.devtoolsConfig.enabled=globalThis.__DEV__!==!1),y&&setTimeout(function(){return r.disableNetworkFetches=!1},y),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=rr,this.localState=new rp({cache:u,client:this,resolvers:O,fragmentMatcher:I}),this.queryManager=new Gd({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:b,documentTransform:f,queryDeduplication:h,ssrMode:d,dataMasking:!!D,clientAwareness:{name:(i=x==null?void 0:x.name)!==null&&i!==void 0?i:Z,version:(s=x==null?void 0:x.version)!==null&&s!==void 0?s:L},localState:this.localState,assumeImmutableResults:S,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}
42,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,!So&&globalThis.__DEV__!==!1&&(So=!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&&te.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=vn(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&&(Ne(e,"canonizeResults","client.watchQuery"),Ne(e,"partialRefetch","client.watchQuery")),this.queryManager.watchQuery(e)},t.prototype.query=function(e){return this.defaultOptions.query&&(e=vn(this.defaultOptions.query,e)),te(e.fetchPolicy!=="cache-and-network",18),this.disableNetworkFetches&&e.fetchPolicy==="network-only"&&(e=E(E({},e),{fetchPolicy:"cache-first"})),globalThis.__DEV__!==!1&&(Ne(e,"canonizeResults","client.query"),Ne(e,"notifyOnNetworkStatusChange","client.query","This option does not affect `client.query` and can be safely removed."),e.fetchPolicy==="standby"&&globalThis.__DEV__!==!1&&te.warn(19)),this.queryManager.query(e)},t.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=vn(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 Ri(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,o){n.push(o),i.push(a)});var s=Promise.all(i);return s.queries=n,s.results=i,s.catch(function(a){globalThis.__DEV__!==!1&&te.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&&(xo.prototype.getMemoryInternals=bc);var Oo=function(){function t(){this.assumeImmutableResults=!1,this.getFragmentDoc=zr(uc,{max:pt["cache.fragmentQueryDocuments"]||1e3,cache:wn})}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&&Ne(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,o=a===void 0?!0:a,l=j(e,["fragment","fragmentName","from","optimistic"]),u=this.getFragmentDoc(n,i),f=typeof s=="undefined"||typeof s=="string"?s:this.identify(s),c=!!e[Symbol.for("apollo.dataMasking")];if(globalThis.__DEV__!==!1){var d=i||ia(n).name.value;f||globalThis.__DEV__!==!1&&te.warn(1,d)}var p=E(E({},l),{returnPartialData:!0,id:f,query:u,optimistic:o}),y;return new Ie(function(m){return r.watch(E(E({},p),{immediate:!0,callback:function(v){var h=c?yo(v.result,n,r,i):v.result;if(!(y&&da(u,{data:y.result},{data:h},e.variables))){var g={data:h,complete:!!v.complete};v.missing&&(g.missing=Mn(v.missing.map(function(b){return b.missing}))),y=E(E({},v),{result:h}),m.next(g)}}}))})},t.prototype.readFragment=function(e,r){var n=this;return r===void 0&&(r=!!e.optimistic),globalThis.__DEV__!==!1&&Ne(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&&Ne(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&&Ne(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&&(Oo.prototype.getMemoryInternals=wc);var Co=function(t){_(e,t);function e(r,n,i,s){var a,o=t.call(this,r)||this;if(o.message=r,o.path=n,o.query=i,o.variables=s,Array.isArray(o.path)){o.missing=o.message;for(var l=o.path.length-1;l>=0;--l)o.missing=(a={},a[o.path[l]]=o.missing,a)}else o.missing=o.path;return o.__proto__=e.prototype,o}return e}(Error),Qe=Object.prototype.hasOwnProperty;function Yr(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=Yr(n)?Yr(i)?void 0:{_id:i}:{id:n}),Yr(n)&&!Yr(i)&&(n=i),!Yr(n)))return"".concat(r,":").concat(typeof n=="number"||typeof n=="string"?n:JSON.stringify(n))}var Do={dataIdFromObject:Po,addTypename:!0,resultCaching:!0,canonizeResults:!1};function np(t){return Vt(Do,t)}function Mo(t){var e=t.canonizeResults;return e===void 0?Do.canonizeResults:e}function ip(t,e){return xe(e)?t.get(e.__ref,"__typename"):e&&e.__typename}var Ao=/^[_a-z][_0-9a-z]*/i;function At(t){var e=t.match(Ao);return e?e[0]:t}function Hi(t,e,r){return Le(e)?Fe(e)?e.every(function(n){return Hi(t,n,r)}):t.selections.every(function(n){if(Ct(n)&&Nr(n,r)){var i=yt(n);return Qe.call(e,i)&&(!n.selectionSet||Hi(n.selectionSet,e[i],r))}return!0}):!1}function yr(t){return Le(t)&&!xe(t)&&!Fe(t)}function sp(){return new Mt}function Io(t,e){var r=sr(cr(t));return{fragmentMap:r,lookupFragment:function(n){var i=r[n];return!i&&e&&(i=e.lookup(n)),i||null}}}var kn=Object.create(null),Xi=function(){return kn},ko=Object.create(null),Hr=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 hr(xe(i)?n.get(i.__ref,s):i&&i[s])},this.canRead=function(i){return xe(i)?n.has(i.__ref):typeof i=="object"},this.toReference=function(i,s){if(typeof i=="string")return or(i);if(xe(i))return i;var a=n.policies.identify(i)[0];if(a){var o=or(a);return s&&n.merge(a,i),o}}}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),Qe.call(this.data,e)){var n=this.data[e];if(n&&Qe.call(n,r))return n[r]}if(r==="__typename"&&Qe.call(this.policies.rootTypenamesById,e))return this.policies.rootTypenamesById[e];if(this instanceof It)return this.parent.get(e,r)},t.prototype.lookup=function(e,r){if(r&&this.group.depend(e,"__exists"),Qe.call(this.data,e))return this.data[e];if(this instanceof It)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;xe(e)&&(e=e.__ref),xe(r)&&(r=r.__ref);var s=typeof e=="string"?this.lookup(i=e):e,a=typeof r=="string"?this.lookup(i=r):r;if(a){te(typeof i=="string",2);var o=new Mt(op).merge(s,a);if(this.data[i]=o,o!==s&&(delete this.refs[i],this.group.caching)){var l=Object.create(null);
42s||(l.__exists=1),Object.keys(a).forEach(function(u){if(!s||s[u]!==o[u]){l[u]=1;var f=At(u);f!==u&&!n.policies.hasKeyArgs(o.__typename,f)&&(l[f]=1),o[u]===void 0&&!(n instanceof It)&&delete o[u]}}),l.__typename&&!(s&&s.__typename)&&this.policies.rootTypenamesById[i]===o.__typename&&delete l.__typename,Object.keys(l).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,o=!0,l={DELETE:kn,INVALIDATE:ko,isReference:xe,toReference:this.toReference,canRead:this.canRead,readField:function(u,f){return n.policies.readField(typeof u=="string"?{fieldName:u,from:f||or(e)}:u,{store:n})}};if(Object.keys(i).forEach(function(u){var f=At(u),c=i[u];if(c!==void 0){var d=typeof r=="function"?r:r[u]||r[f];if(d){var p=d===Xi?kn:d(hr(c),E(E({},l),{fieldName:f,storeFieldName:u,storage:n.getStorage(e,u)}));if(p===ko)n.group.dirty(e,u);else if(p===kn&&(p=void 0),p!==c&&(s[u]=p,a=!0,c=p,globalThis.__DEV__!==!1)){var y=function(S){if(n.lookup(S.__ref)===void 0)return globalThis.__DEV__!==!1&&te.warn(3,S),!0};if(xe(p))y(p);else if(Array.isArray(p))for(var m=!1,v=void 0,h=0,g=p;h<g.length;h++){var b=g[h];if(xe(b)){if(m=!0,y(b))break}else if(typeof b=="object"&&b){var w=n.policies.identify(b)[0];w&&(v=b)}if(m&&v!==void 0){globalThis.__DEV__!==!1&&te.warn(4,v);break}}}}c!==void 0&&(o=!1)}}),a)return this.merge(e,s),o&&(this instanceof It?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"),o=r&&n?this.policies.getStoreFieldName({typename:a,fieldName:r,args:n}):r;return this.modify(e,o?(i={},i[o]=Xi,i):Xi)}return!1},t.prototype.evict=function(e,r){var n=!1;return e.id&&(Qe.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof It&&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){Qe.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&&Qe.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 It?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){Qe.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 It;)s=s.parent;i.forEach(function(a){return s.delete(a)})}return i},t.prototype.findChildRefIds=function(e){if(!Qe.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){xe(s)&&(r[s.__ref]=!0),Le(s)&&Object.keys(s).forEach(function(a){var o=s[a];Le(o)&&i.add(o)})})}return this.refs[e]},t.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},t}(),Ro=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 bt(Bt)}
42,t.prototype.depend=function(e,r){if(this.d){this.d(Ki(e,r));var n=At(r);n!==r&&this.d(Ki(e,n)),this.parent&&this.parent.depend(e,r)}},t.prototype.dirty=function(e,r){this.d&&this.d.dirty(Ki(e,r),r==="__exists"?"forget":"setDirty")},t}();function Ki(t,e){return e+"#"+t}function Lo(t,e){Xr(t)&&t.group.depend(e,"__exists")}(function(t){var e=function(r){_(n,r);function n(i){var s=i.policies,a=i.resultCaching,o=a===void 0?!0:a,l=i.seed,u=r.call(this,s,new Ro(o))||this;return u.stump=new ap(u),u.storageTrie=new bt(Bt),l&&u.replace(l),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})(Hr||(Hr={}));var It=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],o=i.lookup(s);o?a?a!==o&&Object.keys(a).forEach(function(l){De(a[l],o[l])||n.group.dirty(s,l)}):(n.group.dirty(s,"__exists"),Object.keys(o).forEach(function(l){n.group.dirty(s,l)})):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 Qe.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}(Hr),ap=function(t){_(e,t);function e(r){return t.call(this,"EntityStore.Stump",r,function(){},new Ro(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}(It);function op(t,e,r){var n=t[r],i=e[r];return De(n,i)?n:i}function Xr(t){return!!(t instanceof Hr&&t.group.caching)}function lp(t){return Le(t)?Fe(t)?t.slice(0):E({__proto__:Object.getPrototypeOf(t)},t):t}var No=function(){function t(){this.known=new(Jn?WeakSet:Set),this.pool=new bt(Bt),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=lp(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 o=Object.getPrototypeOf(e),l=[o],u=this.sortedKeys(e);l.push(u.json);var f=l.length;u.sorted.forEach(function(p){l.push(r.admit(e[p]))});var a=this.pool.lookupArray(l);if(!a.object){var c=a.object=Object.create(o);this.known.add(c),u.sorted.forEach(function(p,y){c[p]=l[f+y]}),globalThis.__DEV__!==!1&&Object.freeze(c)}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 Fo(t){return[t.selectionSet,t.objectOrReference,t.context,t.context.canonizeResults]}var up=function(){function t(e){var r=this;this.knownResults=new(Bt?WeakMap:Map),this.config=Vt(e,{addTypename:e.addTypename!==!1,canonizeResults:Mo(e)}),this.canon=e.canon||new No,this.executeSelectionSet=zr(function(n){var i,s=n.context.canonizeResults,a=Fo(n);a[3]=!s;var o=(i=r.executeSelectionSet).peek.apply(i,a);return o?s?E(E({},o),{result:r.canon.admit(o.result)}):o:(Lo(n.context.store,n.enclosingRef.__ref),r.execSelectionSetImpl(n))},{max:this.config.resultCacheMaxSize||pt["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:Fo,makeCacheKey:function(n,i,s,a){if(Xr(s.store))return s.store.makeCacheKey(n,xe(i)?i.__ref:i,s.varString,a)}}),this.executeSubSelectedArray=zr(function(n){return Lo(n.context.store,n.enclosingRef.__ref),r.execSubSelectedArrayImpl(n)},{max:this.config.resultCacheMaxSize||pt["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(n){var i=n.field,s=n.array,a=n.context;if(Xr(a.store))return a.store.makeCacheKey(i,s,a.varString)}})}return t.prototype.resetCanon=function(){this.canon=new No},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,o=e.returnPartialData,l=o===void 0?!0:o,u=e.canonizeResults,f=u===void 0?this.config.canonizeResults:u,c=this.config.cache.policies;a=E(E({},mi(na(n))),a);var d=or(s),p=this.executeSelectionSet({selectionSet:kr(n).selectionSet,objectOrReference:d,enclosingRef:d,context:E({store:r,query:n,policies:c,variables:a,varString:Ot(a),canonizeResults:f},Io(n,this.config.fragments))}),y;if(p.missing&&(y=[new Co(cp(p.missing),p.missing,n,a)],!l))throw y[0];return{result:p.result,complete:!y,missing:y}},t.prototype.isFresh=function(e,r,n,i){if(Xr(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(xe(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 o=a.variables,l=a.policies,u=a.store,f=u.getFieldValue(i,"__typename"),c=[],d,p=new Mt;this.config.addTypename&&typeof f=="string"&&!l.rootIdsByTypename[f]&&c.push({__typename:f});function y(b,w){var S;return b.missing&&(d=p.merge(d,(S={},S[w]=b.missing,S))),b.result}var m=new Set(n.selections);m.forEach(function(b){var w,S;if(Nr(b,o))if(Ct(b)){var O=l.readField({fieldName:b.name.value,field:b,variables:a.variables,from:i},a),P=yt(b);O===void 0?Vi.added(b)||(d=p.merge(d,(w={},w[P]="Can't find field '".concat(b.name.value,"' on ").concat(xe(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),w))):Fe(O)?O.length>0&&(O=y(r.executeSubSelectedArray({field:b,array:O,enclosingRef:s,context:a}),P)):b.selectionSet?O!=null&&(O=y(r.executeSelectionSet({selectionSet:b.selectionSet,objectOrReference:O,enclosingRef:xe(O)?O:s,context:a}),P)):a.canonizeResults&&(O=r.canon.pass(O)),O!==void 0&&c.push((S={},S[P]=O,S))}else{var I=En(b,a.lookupFragment);if(!I&&b.kind===ae.FRAGMENT_SPREAD)throw Ae(10,b.name.value);I&&l.fragmentMatches(I,f)&&I.selectionSet.selections.forEach(m.add,m)}});var v=Mn(c),h={result:v,missing:d},g=a.canonizeResults?this.canon.admit(h):hr(h);return g.result&&this.knownResults.set(g.result,n),g},t.prototype.execSubSelectedArrayImpl=function(e){var r=this,n=e.field,i=e.array,s=e.enclosingRef,a=e.context,o,l=new Mt;function u(f,c){var d;return f.missing&&(o=l.merge(o,(d={},d[c]=f.missing,d))),f.result}return n.selectionSet&&(i=i.filter(a.store.canRead)),i=i.map(function(f,c){return f===null?null:Fe(f)?u(r.executeSubSelectedArray({field:n,array:f,enclosingRef:s,context:a}),c):n.selectionSet?u(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:f,enclosingRef:xe(f)?f:s,context:a}
42),c):(globalThis.__DEV__!==!1&&fp(a.store,n,f),f)}),{result:a.canonizeResults?this.canon.admit(i):i,missing:o}},t}();function cp(t){try{JSON.stringify(t,function(e,r){if(typeof r=="string")throw r;return r})}catch(e){return e}}function fp(t,e,r){if(!e.selectionSet){var n=new Set([r]);n.forEach(function(i){Le(i)&&(te(!xe(i),11,ip(t,i),e.name.value),Object.values(i).forEach(n.add,n))})}}var jo=Object.create(null);function Ji(t){var e=JSON.stringify(t);return jo[e]||(jo[e]=Object.create(null))}function zo(t){var e=Ji(t);return e.keyFieldsFn||(e.keyFieldsFn=function(r,n){var i=function(a,o){return n.readField(o,a)},s=n.keyObject=Zi(t,function(a){var o=br(n.storeObject,a,i);return o===void 0&&r!==n.storeObject&&Qe.call(r,a[0])&&(o=br(r,a,$o)),te(o!==void 0,5,a.join("."),r),o});return"".concat(n.typename,":").concat(JSON.stringify(s))})}function Bo(t){var e=Ji(t);return e.keyArgsFn||(e.keyArgsFn=function(r,n){var i=n.field,s=n.variables,a=n.fieldName,o=Zi(t,function(u){var f=u[0],c=f.charAt(0);if(c==="@"){if(i&&rt(i.directives)){var d=f.slice(1),p=i.directives.find(function(h){return h.name.value===d}),y=p&&_n(p,s);return y&&br(y,u.slice(1))}return}if(c==="$"){var m=f.slice(1);if(s&&Qe.call(s,m)){var v=u.slice(0);return v[0]=m,br(s,v)}return}if(r)return br(r,u)}),l=JSON.stringify(o);return(r||l!=="{}")&&(a+=":"+l),a})}function Zi(t,e){var r=new Mt;return Vo(t).reduce(function(n,i){var s,a=e(i);if(a!==void 0){for(var o=i.length-1;o>=0;--o)a=(s={},s[i[o]]=a,s);n=r.merge(n,a)}return n},Object.create(null))}function Vo(t){var e=Ji(t);if(!e.paths){var r=e.paths=[],n=[];t.forEach(function(i,s){Fe(i)?(Vo(i).forEach(function(a){return r.push(n.concat(a))}),n.length=0):(n.push(i),Fe(t[s+1])||(r.push(n.slice(0)),n.length=0))})}return e.paths}function $o(t,e){return t[e]}function br(t,e,r){return r=r||$o,Wo(e.reduce(function n(i,s){return Fe(i)?i.map(function(a){return n(a,s)}):i&&r(i,s)},t))}function Wo(t){return Le(t)?Fe(t)?t.map(Wo):Zi(Object.keys(t).sort(),function(e){return br(t,e)}):t}function es(t){return t.args!==void 0?t.args:t.field?_n(t.field,t.variables):null}var dp=function(){},Uo=function(t,e){return e.fieldName},qo=function(t,e,r){var n=r.mergeObjects;return n(t,e)},Go=function(t,e){return e},pp=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,o=E(E({},r),{typename:s,storeObject:a,readField:r&&r.readField||function(){var c=ts(arguments,a);return i.readField(c,{store:i.cache.data,variables:c.variables})}}),l,u=s&&this.getTypePolicy(s),f=u&&u.keyFn||this.config.dataIdFromObject;return Qi.withValue(!0,function(){for(;f;){var c=f(E(E({},e),a),o);if(Fe(c))f=zo(c);else{l=c;break}}}),l=l?String(l):void 0,o.keyObject?[l,o.keyObject]:[l]},t.prototype.addTypePolicies=function(e){var r=this;Object.keys(e).forEach(function(n){var i=e[n],s=i.queryType,a=i.mutationType,o=i.subscriptionType,l=j(i,["queryType","mutationType","subscriptionType"]);s&&r.setRootTypename("Query",n),a&&r.setRootTypename("Mutation",n),o&&r.setRootTypename("Subscription",n),Qe.call(r.toBeAdded,n)?r.toBeAdded[n].push(l):r.toBeAdded[n]=[l]})},t.prototype.updateTypePolicy=function(e,r,n){var i=this.getTypePolicy(e),s=r.keyFields,a=r.fields;function o(l,u){l.merge=typeof u=="function"?u:u===!0?qo:u===!1?Go:l.merge}o(i,r.merge),i.keyFn=s===!1?dp:Fe(s)?zo(s):typeof s=="function"?s:i.keyFn,a&&Object.keys(a).forEach(function(l){var u=n[l];(!u||(u==null?void 0:u.typename)!==e)&&(u=n[l]={typename:e});var f=a[l];if(typeof f=="function")u.read=f;else{var c=f.keyArgs,d=f.read,p=f.merge;u.keyFn=c===!1?Uo:Fe(c)?Bo(c):typeof c=="function"?c:u.keyFn,typeof d=="function"&&(u.read=d),o(u,p)}u.read&&u.merge&&(u.keyFn=u.keyFn||Uo)})},t.prototype.setRootTypename=function(e,r){r===void 0&&(r=e);var n="ROOT_"+e.toUpperCase(),i=this.rootTypenamesById[n];r!==i&&(te(!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].forEac
42h(function(i){r.getSupertypeSet(i,!0).add(n);var s=i.match(Ao);(!s||s[0]!==i)&&r.fuzzySubtypes.set(i,new RegExp(i))})})},t.prototype.getTypePolicy=function(e){var r=this;if(!Qe.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,o){if(a.test(e)){var l=r.supertypeMap.get(o);l&&l.forEach(function(u){return i.add(u)})}})),i&&i.size&&i.forEach(function(a){var o=r.getTypePolicy(a),l=o.fields,u=j(o,["fields"]);Object.assign(n,u),Object.assign(n.fields,l)})}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;if(!r)return!1;var a=e.typeCondition.name.value;if(r===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var o=this.getSupertypeSet(r,!0),l=[o],u=function(y){var m=s.getSupertypeSet(y,!1);
42m&&m.size&&l.indexOf(m)<0&&l.push(m)},f=!!(n&&this.fuzzySubtypes.size),c=!1,d=0;d<l.length;++d){var p=l[d];if(p.has(a))return o.has(a)||(c&&globalThis.__DEV__!==!1&&te.warn(7,r,a),o.add(a)),!0;p.forEach(u),f&&d===l.length-1&&Hi(e.selectionSet,n,i)&&(f=!1,c=!0,this.fuzzySubtypes.forEach(function(y,m){var v=r.match(y);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 o={typename:r,fieldName:n,field:e.field||null,variables:e.variables},l=es(e);a;){var u=a(l,o);if(Fe(u))a=Bo(u);else{s=u||n;break}}return s===void 0&&(s=e.field?jc(e.field,e.variables):ra(n,es(e))),s===!1?n:n===At(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),o=At(a),l=r.store.getFieldValue(n,a),u=this.getFieldPolicy(e.typename,o),f=u&&u.read;if(f){var c=Qo(this,n,e,r,r.store.getStorage(xe(n)?n.__ref:n,a));return Yi.withValue(this.cache,f,[l,c])}return l}}},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,o=n.typename,l=n.merge;return l===qo?Yo(i.store)(e,r):l===Go?r:(i.overwrite&&(e=void 0),l(e,r,Qo(this,void 0,{typename:o,fieldName:a.name.value,field:a,variables:i.variables},i,s||Object.create(null))))},t}();function Qo(t,e,r,n,i){var s=t.getStoreFieldName(r),a=At(s),o=r.variables||n.variables,l=n.store,u=l.toReference,f=l.canRead;return{args:es(r),field:r.field||null,fieldName:a,storeFieldName:s,variables:o,isReference:xe,toReference:u,storage:i,cache:t.cache,canRead:f,readField:function(){return t.readField(ts(arguments,e,o),n)},mergeObjects:Yo(n.store)}}function ts(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),Qe.call(a,"from")||(a.from=e)),globalThis.__DEV__!==!1&&a.from===void 0&&globalThis.__DEV__!==!1&&te.warn(8,_t(Array.from(t))),a.variables===void 0&&(a.variables=r),a}function Yo(t){return function(r,n){if(Fe(r)||Fe(n))throw Ae(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(xe(r)&&yr(n))return t.merge(r.__ref,n),r;if(yr(r)&&xe(n))return t.merge(r,n.__ref),n;if(yr(r)&&yr(n))return E(E({},r),n)}return n}}function rs(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 hp=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,o=r.variables,l=r.overwrite,u=Wt(i),f=sp();o=E(E({},mi(u)),o);var c=E(E({store:e,written:Object.create(null),merge:function(p,y){return f.merge(p,y)},variables:o,varString:Ot(o)},Io(i,this.fragments)),{overwrite:!!l,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:c});if(!xe(d))throw Ae(12,s);return c.incomingById.forEach(function(p,y){var m=p.storeObject,v=p.mergeTree,h=p.fieldNodeSet,g=or(y);if(v&&v.map.size){var b=n.applyMerges(v,g,m,c);if(xe(b))return;m=b}if(globalThis.__DEV__!==!1&&!c.overwrite){var w=Object.create(null);h.forEach(function(P){P.selectionSet&&(w[P.name.value]=!0)});var S=function(P){return w[At(P)]===!0},O=function(P){var I=v&&v.map.get(P);return Boolean(I&&I.info&&I.info.merge)};Object.keys(m).forEach(function(P){S(P)&&!O(P)&&mp(g,m,P,c.store)})}e.merge(y,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,o=e.mergeTree,l=this.cache.policies,u=Object.create(null),f=n&&l.rootTypenamesById[n]||hi(i,s,a.fragmentMap)||n&&a.store.get(n,"__typename");typeof f=="string"&&(u.__typename=f);var c=function(){var b=ts(arguments,u,a.variables);if(xe(b.from)){var w=a.incomingById.get(b.from.__ref);
42if(w){var S=l.readField(E(E({},b),{from:w.storeObject}),a);if(S!==void 0)return S}}return l.readField(b,a)},d=new Set;this.flattenFields(s,i,a,f).forEach(function(b,w){var S,O=yt(w),P=i[O];if(d.add(w),P!==void 0){var I=l.getStoreFieldName({typename:f,fieldName:w.name.value,field:w,variables:b.variables}),x=Xo(o,I),Z=r.processFieldValue(P,w,w.selectionSet?rs(b,!1,!1):b,x),L=void 0;w.selectionSet&&(xe(Z)||yr(Z))&&(L=c("__typename",Z));var A=l.getMergeFunction(f,w.name.value,L);A?x.info={field:w,typename:f,merge:A}:Ko(o,I),u=b.merge(u,(S={},S[I]=Z,S))}else globalThis.__DEV__!==!1&&!b.clientOnly&&!b.deferred&&!Vi.added(w)&&!l.getReadFunction(f,w.name.value)&&globalThis.__DEV__!==!1&&te.error(13,yt(w),i)});try{var p=l.identify(i,{typename:f,selectionSet:s,fragmentMap:a.fragmentMap,storeObject:u,readField:c}),y=p[0],m=p[1];n=n||y,m&&(u=a.merge(u,m))}catch(b){if(!n)throw b}if(typeof n=="string"){var v=or(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 g=a.incomingById.get(n);return g?(g.storeObject=a.merge(g.storeObject,u),g.mergeTree=ns(g.mergeTree,o),d.forEach(function(b){return g.fieldNodeSet.add(b)})):a.incomingById.set(n,{storeObject:u,mergeTree:Rn(o)?void 0:o,fieldNodeSet:d}),v}return u},t.prototype.processFieldValue=function(e,r,n,i){var s=this;return!r.selectionSet||e===null?globalThis.__DEV__!==!1?sa(e):e:Fe(e)?e.map(function(a,o){var l=s.processFieldValue(a,r,n,Xo(i,o));return Ko(i,o),l}):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,o=new bt(!1);return function l(u,f){var c=o.lookup(u,f.clientOnly,f.deferred);c.visited||(c.visited=!0,u.selections.forEach(function(d){if(Nr(d,n.variables)){var p=f.clientOnly,y=f.deferred;if(!(p&&y)&&rt(d.directives)&&d.directives.forEach(function(h){var g=h.name.value;if(g==="client"&&(p=!0),g==="defer"){var b=_n(h,n.variables);(!b||b.if!==!1)&&(y=!0)}}),Ct(d)){var m=s.get(d);m&&(p=p&&m.clientOnly,y=y&&m.deferred),s.set(d,rs(n,p,y))}else{var v=En(d,n.lookupFragment);if(!v&&d.kind===ae.FRAGMENT_SPREAD)throw Ae(14,d.name.value);v&&a.fragmentMatches(v,i,r,n.variables)&&l(v.selectionSet,rs(n,p,y))}}}))}(e,n),s},t.prototype.applyMerges=function(e,r,n,i,s){var a,o=this;if(e.map.size&&!xe(n)){var l=!Fe(n)&&(xe(r)||yr(r))?r:void 0,u=n;l&&!s&&(s=[xe(l)?l.__ref:l]);var f,c=function(d,p){return Fe(d)?typeof p=="number"?d[p]:void 0:i.store.getFieldValue(d,String(p))};e.map.forEach(function(d,p){var y=c(l,p),m=c(u,p);if(m!==void 0){s&&s.push(p);var v=o.applyMerges(d,y,m,i,s);v!==m&&(f=f||new Map,f.set(p,v)),s&&te(s.pop()===p)}}),f&&(n=Fe(u)?u.slice(0):E({},u),f.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}(),Ho=[];function Xo(t,e){var r=t.map;return r.has(e)||r.set(e,Ho.pop()||{map:new Map}),r.get(e)}function ns(t,e){if(t===e||!e||Rn(e))return t;if(!t||Rn(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(o,l){s.map.set(l,ns(o,e.map.get(l))),a.delete(l)}),a.forEach(function(o){s.map.set(o,ns(e.map.get(o),t.map.get(o)))})}return s}function Rn(t){return!t||!(t.info||t.map.size)}function Ko(t,e){var r=t.map,n=r.get(e);n&&Rn(n)&&(Ho.push(n),r.delete(e))}var Jo=new Set;function mp(t,e,r,n){var i=function(c){var d=n.getFieldValue(c,r);return typeof d=="object"&&d},s=i(t);if(s){var a=i(e);if(a&&!xe(s)&&!De(s,a)&&!Object.keys(s).every(function(c){return n.getFieldValue(a,c)!==void 0})){var o=n.getFieldValue(t,"__typename")||n.getFieldValue(e,"__typename"),l=At(r),u="".concat(o,".").concat(l);if(!Jo.has(u)){Jo.add(u);var f=[];!Fe(s)&&!Fe(a)&&[s,a].forEach(function(c){var d=n.getFieldValue(c,"__typename");typeof d=="string"&&!f.includes(d)&&f.push(d)}),globalThis.__DEV__!==!1&&te.warn(15,l,o,f.length?"either ensure all objects of type "+f.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 co(Vi),n.assumeImmutableResults=!0,n.makeVar=ep,n.txCount=0,globalThis.__DEV__!==!1&&(Ne(r,"addTypename","InMemoryCache","Please remove the `addTypename` option when initializing `InMemoryCache`."),Ne(r,"canonizeResults","InMemoryCache","Please remove the `canonizeResults` option when initializing `InMemoryCache`.")),n.config=np(r),n.addTypename=!!n.config.addTypename,n.policies=new pp({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 Hr.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 hp(this,this.storeReader=new up({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=zr(function(a,o){return n.broadcastWatch(a,o)},{max:this.config.resultCacheMaxSize||pt["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(a){var o=a.optimistic?n.optimisticData:n.data;if(Xr(o)){var l=a.optimistic,u=a.id,f=a.variables;return o.makeCacheKey(a.query,a.callback,Ot({optimistic:l,id:u,variables:f}))}}}
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&&Ne(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 Co)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(Qe.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&&Ne(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||Zd(this),this.watches.add(r),r.immediate&&this.maybeBroadcastWatch(r),function(){n.watches.delete(r)&&!n.watches.size&&To(n),n.maybeBroadcastWatch.forget(r)}},e.prototype.gc=function(r){globalThis.__DEV__!==!1&&Ne(r||{},"resetResultIdentities","cache.gc","First ensure all usages of `canonizeResults` are removed, then remove this option."),Ot.reset(),Gt.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(xe(r))return r.__ref;try{return this.policies.identify(r)[0]}catch(n){globalThis.__DEV__!==!1&&te.warn(n)}},e.prototype.evict=function(r){if(!r.id){if(Qe.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(),To(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,o=r.removeOptimistic,l=r.onWatchUpdated,u,f=function(d){var p=n,y=p.data,m=p.optimisticData;++n.txCount,d&&(n.data=n.optimisticData=d);try{return u=i(n)}finally{--n.txCount,n.data=y,n.optimisticData=m}},c=new Set;return l&&!this.txCount&&this.broadcastWatches(E(E({},r),{onWatchUpdated:function(d){return c.add(d),!1}})),typeof a=="string"?this.optimisticData=this.optimisticData.addLayer(a,f):a===!1?f(this.data):f(),typeof o=="string"&&(this.optimisticData=this.optimisticData.removeLayer(o)),l&&c.size?(this.broadcastWatches(E(E({},r),{onWatchUpdated:function(d,p){var y=l.call(this,d,p);return y!==!1&&c.delete(d),y}})),c.size&&c.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||!De(s.result,a.result))&&r.callback(r.lastDiff=a,s)},e}(Oo);globalThis.__DEV__!==!1&&(Zo.prototype.getMemoryInternals=Ec);var vp=function(t){var e=t.client,r=t.children,n=gn(),i=Ve.useContext(n),s=Ve.useMemo(function(){return E(E({},i),{client:e||i.client})},[i,e]);return te(s.client,71),Ve.createElement(n.Provider,{value:s},r)},kt=Te(1368),el=Te.n(kt),Me=Te(8621),Qt=Te(9244),Kr=Te(8789),Jr=Te(8989),gp=Te(1324),yp=Te(5338),tl=Te(5238);function bp(t,e){return(0,Me.A)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},e)}var is=Te(3892);const Zr={black:"#000",white:"#fff"},Ep={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"},Er={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"},wr={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"},en={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"},_r={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"},Tr={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"},Sr={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"},wp=["mode","contrastThreshold","tonalOffset"],rl={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:Zr.white,default:Zr.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}},ss={text:{primary:Zr.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:Zr.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 nl(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,is.a)(t.main,i):e==="dark"&&(t.dark=(0,is.e$)(t.main,s)))}function _p(t="light"){return t==="dark"?{main:_r[200],light:_r[50],dark:_r[400]}:{main:_r[700],light:_r[400],dark:_r[800]}}function Tp(t="light"){return t==="dark"?{main:Er[200],light:Er[50],dark:Er[400]}:{main:Er[500],light:Er[300],dark:Er[700]}}function Sp(t="light"){return t==="dark"?{main:wr[500],light:wr[300],dark:wr[700]}:{main:wr[700],light:wr[400],dark:wr[800]}}function xp(t="light"){return t==="dark"?{main:Tr[400],light:Tr[300],dark:Tr[700]}:{main:Tr[700],light:Tr[500],dark:Tr[900]}}function Op(t="light"){return t==="dark"?{main:Sr[400],light:Sr[3
4200],dark:Sr[700]}:{main:Sr[800],light:Sr[500],dark:Sr[900]}}function Cp(t="light"){return t==="dark"?{main:en[400],light:en[300],dark:en[700]}:{main:"#ed6c02",light:en[500],dark:en[900]}}function Pp(t){const{mode:e="light",contrastThreshold:r=3,tonalOffset:n=.2}=t,i=(0,Qt.A)(t,wp),s=t.primary||_p(e),a=t.secondary||Tp(e),o=t.error||Sp(e),l=t.info||xp(e),u=t.success||Op(e),f=t.warning||Cp(e);function c(m){return(0,is.eM)(m,ss.text.primary)>=r?ss.text.primary:rl.text.primary}const d=({color:m,name:v,mainShade:h=500,lightShade:g=300,darkShade:b=700})=>{if(m=(0,Me.A)({},m),!m.main&&m[h]&&(m.main=m[h]),!m.hasOwnProperty("main"))throw new Error((0,Kr.A)(11,v?` (${v})`:"",h));if(typeof m.main!="string")throw new Error((0,Kr.A)(12,v?` (${v})`:"",JSON.stringify(m.main)));return nl(m,"light",g,n),nl(m,"dark",b,n),m.contrastText||(m.contrastText=c(m.main)),m},p={dark:ss,light:rl};return(0,Jr.A)((0,Me.A)({common:(0,Me.A)({},Zr),mode:e,primary:d({color:s,name:"primary"}),secondary:d({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:o,name:"error"}),warning:d({color:f,name:"warning"}),info:d({color:l,name:"info"}),success:d({color:u,name:"success"}),grey:Ep,contrastThreshold:r,getContrastText:c,augmentColor:d,tonalOffset:n},p[e]),i)}const Dp=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Mp(t){return Math.round(t*1e5)/1e5}const il={textTransform:"uppercase"},sl='"Roboto", "Helvetica", "Arial", sans-serif';function Ap(t,e){const r=typeof e=="function"?e(t):e,{fontFamily:n=sl,fontSize:i=14,fontWeightLight:s=300,fontWeightRegular:a=400,fontWeightMedium:o=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:f,pxToRem:c}=r,d=(0,Qt.A)(r,Dp),p=i/14,y=c||(h=>`${h/u*p}rem`),m=(h,g,b,w,S)=>(0,Me.A)({fontFamily:n,fontWeight:h,fontSize:y(g),lineHeight:b},n===sl?{letterSpacing:`${Mp(w/g)}em`}:{},S,f),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(o,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(o,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(o,14,1.75,.4,il),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,il),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,Jr.A)((0,Me.A)({htmlFontSize:u,pxToRem:y,fontFamily:n,fontSize:i,fontWeightLight:s,fontWeightRegular:a,fontWeightMedium:o,fontWeightBold:l},v),d,{clone:!1})}const Ip=.2,kp=.14,Rp=.12;function Re(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${Ip})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${kp})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${Rp})`].join(",")}const Lp=["none",Re(0,2,1,-1,0,1,1,0,0,1,3,0),Re(0,3,1,-2,0,2,2,0,0,1,5,0),Re(0,3,3,-2,0,3,4,0,0,1,8,0),Re(0,2,4,-1,0,4,5,0,0,1,10,0),Re(0,3,5,-1,0,5,8,0,0,1,14,0),Re(0,3,5,-1,0,6,10,0,0,1,18,0),Re(0,4,5,-2,0,7,10,1,0,2,16,1),Re(0,5,5,-3,0,8,10,1,0,3,14,2),Re(0,5,6,-3,0,9,12,1,0,3,16,2),Re(0,6,6,-3,0,10,14,1,0,4,18,3),Re(0,6,7,-4,0,11,15,1,0,4,20,3),Re(0,7,8,-4,0,12,17,2,0,5,22,4),Re(0,7,8,-4,0,13,19,2,0,5,24,4),Re(0,7,9,-4,0,14,21,2,0,5,26,4),Re(0,8,9,-5,0,15,22,2,0,6,28,5),Re(0,8,10,-5,0,16,24,2,0,6,30,5),Re(0,8,11,-5,0,17,26,2,0,6,32,5),Re(0,9,11,-5,0,18,28,2,0,7,34,6),Re(0,9,12,-6,0,19,29,2,0,7,36,6),Re(0,10,13,-6,0,20,31,3,0,8,38,7),Re(0,10,13,-6,0,21,33,3,0,8,40,7),Re(0,10,14,-6,0,22,35,3,0,8,42,7),Re(0,11,14,-7,0,23,36,3,0,9,44,8),Re(0,11,15,-7,0,24,38,3,0,9,46,8)],Np=["duration","easing","delay"],Fp={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)"},jp={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function al(t){return`${Math.round(t)}ms`}function zp(t){if(!t)return 0;const e=t/36;return Math.round((4+15*e**.25+e/5)*10)}function Bp(t){const e=(0,Me.A)({},Fp,t.easing),r=(0,Me.A)({},jp,t.duration),n=(i=["all"],s={})=>{const{duration:a=r.standard,easing:o=e.easeInOut,delay:l=0}=s,u=(0,Qt.A)(s,Np);return(Array.isArray(i)?i:[i]).map(f=>`${f}
42 ${typeof a=="string"?a:al(a)} ${o} ${typeof l=="string"?l:al(l)}`).join(",")};return(0,Me.A)({getAutoHeightDuration:zp,create:n},t,{easing:e,duration:r})}const Vp={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},$p=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function ol(t={},...e){const{mixins:r={},palette:n={},transitions:i={},typography:s={}}=t,a=(0,Qt.A)(t,$p);if(t.vars&&t.generateCssVars===void 0)throw new Error((0,Kr.A)(18));const o=Pp(n),l=(0,tl.A)(t);let u=(0,Jr.A)(l,{mixins:bp(l.breakpoints,r),palette:o,shadows:Lp.slice(),typography:Ap(o,s),transitions:Bp(i),zIndex:(0,Me.A)({},Vp)});return u=(0,Jr.A)(u,a),u=e.reduce((f,c)=>(0,Jr.A)(f,c),u),u.unstable_sxConfig=(0,Me.A)({},gp.A,a==null?void 0:a.unstable_sxConfig),u.unstable_sx=function(c){return(0,yp.A)({sx:c,theme:this})},u}let e0=!1;function t0(...t){return ol(...t)}const ll=ol;var de=Te(1594);function ul(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=ul(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function Wp(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=ul(t))&&(n&&(n+=" "),n+=e);return n}const Up=Wp;function qp(t,e,r=void 0){const n={};return Object.keys(t).forEach(i=>{n[i]=t[i].reduce((s,a)=>{if(a){const o=e(a);o!==""&&s.push(o),r&&r[a]&&s.push(r[a])}return s},[]).join(" ")}),n}function r0(t){return String(parseFloat(t)).length===String(t).length}function cl(t){return String(t).match(/[\d.\-+]*\s*(.*)/)[1]||""}function Rt(t){return parseFloat(t)}function n0(t){return(e,r)=>{const n=cl(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 i0({size:t,grid:e}){const r=t-t%e,n=r+e;return t-r<n-t?r:n}function s0({lineHeight:t,pixels:e,htmlFontSize:r}){return e/(t*r)}function a0({cssProperty:t,min:e,max:r,unit:n="rem",breakpoints:i=[600,900,1200],transform:s=null}){const a={[t]:`${e}${n}`},o=(r-e)/i[i.length-1];return i.forEach(l=>{let u=e+o*l;s!==null&&(u=s(u)),a[`@media (min-width:${l}px)`]={[t]:`${Math.round(u*1e4)/1e4}${n}`}}),a}var Gp=Te(6989);function as(t,e=0,r=1){return(0,Gp.A)(t,e,r)}function Qp(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 Yp(t){const e=t.toString(16);return e.length===1?`0${e}`:e}function lt(t){if(t.type)return t;if(t.charAt(0)==="#")return lt(Qp(t));const e=t.indexOf("("),r=t.substring(0,e);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error((0,Kr.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,Kr.A)(10,i))}else n=n.split(",");return n=n.map(s=>parseFloat(s)),{type:r,values:n,colorSpace:i}}const Hp=t=>{const e=lt(t);return e.values.slice(0,3).map((r,n)=>e.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")},o0=(t,e)=>{try{return Hp(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 l0(t){if(t.indexOf("#")===0)return t;const{values:e}=lt(t);return`#${e.map((r,n)=>Yp(n===3?Math.round(255*r):r)).join("")}`}function Xp(t){t=lt(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,f=(u+r/30)%12)=>i-s*Math.max(Math.min(f-3,9-f,1),-1);let o="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return t.type==="hsla"&&(o+="a",l.push(e[3])),tn({type:o,values:l})}function os(t){t=lt(t);let e=t.type==="hsl"||t.type==="hsla"?lt(Xp(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 u0(t,e){const r=os(t),n=os(e);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function fl(t,e){return t=lt(t),e=as(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,tn(t)}function c0(t,e,r){try{return fl(t,e)}catch(n){return t}}function dl(t,e){if(t=lt(t),e=as(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 f0(t,e,r){try{return dl(t,e)}catch(n){return t}}function pl(t,e){if(t=lt(t),e=as(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 d0(t,e,r){try{return pl(t,e)}catch(n){return t}}function Kp(t,e=.15){return os(t)>.5?dl(t,e):pl(t,e)}function p0(t,e,r){try{return Kp(t,e)}catch(n){return t}}function h0(t,e,r,n=1){const i=(l,u)=>Math.round((l**(1/n)*(1-r)+u**(1/n)*r)**n),s=lt(t),a=lt(e),o=[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:o})}var Jp=Te(4174);const Zp=ll(),ls="$$material";function eh(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const th=eh,rh=t=>th(t)&&t!=="classes",nh=(0,Jp.Ay)({themeId:ls,defaultTheme:Zp,rootShouldForwardProp:rh});function us(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]=us(i[a],s[a])}))}else r[n]===void 0&&(r[n]=t[n])}),r}const hl=de.createContext(void 0);function ih({value:t,children:e}){return(0,C.jsx)(hl.Provider,{value:t,children:e})}function sh(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?us(i.defaultProps,n):!i.styleOverrides&&!i.variants?us(i,n):n}function ah({props:t,name:e}){const r=de.useContext(hl);return sh({props:t,name:e,theme:{components:r}})}const oh=ih;var lh,uh,ch;function y0(t){return ch(uh,lh({},t))}const b0=null;function fh(t){return ah(t)}const ml=t=>t,dh=(()=>{let t=ml;return{configure(e){t=e},generate(e){return t(e)},reset(){t=ml}}})(),vl={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 gl(t,e,r="Mui"){const n=vl[e];return n?`${r}-${n}`:`${dh.generate(t)}-${e}`}function _0(t){return vl[t]!==void 0}function ph(t,e,r="Mui"){const n={};return e.forEach(i=>{n[i]=gl(t,i,r)}),n}function hh(t){return gl("MuiSkeleton",t)}const T0=ph("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]),S0=null,mh=["animation","className","component","height","style","variant","width"];let Ln=t=>t,yl,bl,El,wl;const vh=t=>{const{classes:e,variant:r,animation:n,hasChildren:i,width:s,height:a}=t;return qp({root:["root",r,n,i&&"withChildren",i&&!s&&"fitContent",i&&!a&&"heightAuto"]},hh,e)},gh=(0,kt.keyframes)(yl||(yl=Ln` 43 0% { 44 opacity: 1; 45 } 46 47 50% { 48 opacity: 0.4; 49 } 50 51 100% { 52 opacity: 1; 53 } 54`)),yh=(0,kt.keyframes)(bl||(bl=Ln` 55 0% { 56 transform: translateX(-100%); 57 } 58 59 50% { 60 /* +0.5s of delay between each loop */ 61 transform: translateX(100%); 62 } 63 64 100% { 65 transform: translateX(100%); 66 } 67`)),bh=nh("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})=>{const r=cl(t.shape.borderRadius)||"px",n=Rt(t.shape.borderRadius);return(0,Me.A)({display:"block",backgroundColor:t.vars?t.vars.palette.Skeleton.bg:fl(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,kt.css)(El||(El=Ln` 68 animation: ${0} 2s ease-in-out 0.5s infinite; 69 `),gh),({ownerState:t,theme:e})=>t.animation==="wave"&&(0,kt.css)(wl||(wl=Ln` 70 position: relative; 71 overflow: hidden; 72 73 /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */ 74 -webkit-mask-image: -webkit-radial-gradient(white, black); 75 76 &::after { 77 animation: ${0} 2s linear 0.5s infinite; 78 background: linear-gradient( 79 90deg, 80 transparent, 81 ${0}, 82 transparent 83 ); 84 content: ''; 85 position: absolute; 86 transform: translateX(-100%); /* Avoid flash during server-side hydration */ 87 bottom: 0; 88 left: 0; 89 right: 0; 90 top: 0; 91 } 92 `),yh,(e.vars||e).palette.action.hover)),nt=de.forwardRef(function(e,r){const n=fh({props:e,name:"MuiSkeleton"}),{animation:i="pulse",className:s,component:a="span",height:o,style:l,variant:u="text",width:f}=n,c=(0,Qt.A)(n,mh),d=(0,Me.A)({},n,{animation:i,component:a,variant:u,hasChildren:Boolean(c.children)}),p=vh(d);return(0,C.jsx)(bh,(0,Me.A)({as:a,ref:r,className:Up(p.root,s),ownerState:d},c,{style:(0,Me.A)({width:f,height:o},l)}))}),_l=de.createContext(null);function Tl(){return de.useContext(_l)}const Eh=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function wh(t,e){return typeof e=="function"?e(t):(0,Me.A)({},t,e)}function _h(t){const{children:e,theme:r}=t,n=Tl(),i=de.useMemo(()=>{const s=n===null?r:wh(n,r);return s!=null&&(s[Eh]=n!==null),s},[r,n]);return(0,C.jsx)(_l.Provider,{value:i,children:e})}const Th=_h;function Sh(t){return Object.keys(t).length===0}function xh(t=null){const e=de.useContext(kt.ThemeContext);return!e||Sh(e)?t:e}const cs=xh;var Oh;const Ch=["value"],Sl=de.createContext();function Ph(t){let{value:e}=t,r=(0,Qt.A)(t,Ch);return(0,C.jsx)(Sl.Provider,(0,Me.A)({value:e!=null?e:!0},r))}const P0=()=>{const t=Oh.useContext(Sl);return t!=null?t:!1},Dh=Ph,Mh=typeof window!="undefined"?de.useLayoutEffect:de.useEffect;let xl=0;function Ah(t){const[e,r]=de.useState(t),n=t||e;return de.useEffect(()=>{e==null&&(xl+=1,r(`mui-${xl}`))},[e]),n}const Ol=de["useId".toString()];function Ih(t){if(Ol!==void 0){const e=Ol();return t!=null?t:e}return Ah(t)}var Cl;function M0(t,e){let r;return e?r=Cl(t).withConfig({displayName:e.label,shouldForwardProp:e.shouldForwardProp}):r=Cl(t),r}function kh(t,e){t.componentStyle&&(t.componentStyle.rules=e(t.componentStyle.rules))}function A0(t,e){return kh(t,e)}function I0(t){return t}var xr=Te(2736);function Rh(t){return t==null||Object.keys(t).length===0}const Pl=(0,kt.createGlobalStyle)(t=>{const{styles:e,defaultTheme:r={}}=t;return typeof e=="function"?e(Rh(t.theme)?r:t.theme):e}),Lh=Pl;Pl.propTypes={defaultTheme:xr.object,styles:xr.oneOfType([xr.array,xr.string,xr.object,xr.func])};const Nh=(0,tl.A)();function Fh(t=Nh){return cs(t)}const jh=Fh;function fs(t){const e=t;return t!==e&&e.styles?(e.styles.match(/^@layer\s+[^{]*$/)||(e.styles=`@layer global{${e.styles}}`),e):t}function zh({styles:t,themeId:e,defaultTheme:r={}}){const n=jh(r),i=e&&n[e]||n;let s=typeof t=="function"?t(i):t;return i.modularCssLayers&&(Array.isArray(s)?s=s.map(a=>fs(typeof a=="function"?a(i):a)):s=fs(s)),(0,C.jsx)(Lh,{styles:s})}const Bh=zh;function Vh(t){const e=cs(),r=Ih()||"",{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};`,Mh(()=>{const s=document.querySelector("head");if(!s)return;const a=s.firstChild;if(i){var o;
92if(a&&(o=a.hasAttribute)!=null&&o.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 l;(l=s.querySelector(`style[data-mui-layer-order="${r}"]`))==null||l.remove()}},[i,r]),i?(0,C.jsx)(Bh,{styles:i}):null}const Dl={};function Ml(t,e,r,n=!1){return de.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 $h(t){const{children:e,theme:r,themeId:n}=t,i=cs(Dl),s=Tl()||Dl,a=Ml(n,i,r),o=Ml(n,s,r,!0),l=a.direction==="rtl",u=Vh(a);return(0,C.jsx)(Th,{theme:o,children:(0,C.jsx)(kt.ThemeContext.Provider,{value:a,children:(0,C.jsx)(Dh,{value:l,children:(0,C.jsxs)(oh,{value:a==null?void 0:a.components,children:[u,e]})})})})}const Wh=$h,Uh=["theme"];function qh(t){let{theme:e}=t,r=(0,Qt.A)(t,Uh);const n=e[ls];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)(Wh,(0,Me.A)({},r,{themeId:n?ls:void 0,theme:i}))}var Al=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,Lt="\\d\\d?",Nt="\\d\\d",Gh="\\d{3}",Qh="\\d{4}",rn="[^\\s]+",Il=/\[([^]*?)\]/gm;function kl(t,e){for(var r=[],n=0,i=t.length;n<i;n++)r.push(t[n].substr(0,e));return r}var Rl=function(t){return function(e,r){var n=r[t].map(function(s){return s.toLowerCase()}),i=n.indexOf(e.toLowerCase());return i>-1?i:null}};function Yt(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];for(var n=0,i=e;n<i.length;n++){var s=i[n];for(var a in s)t[a]=s[a]}return t}var Ll=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Nl=["January","February","March","April","May","June","July","August","September","October","November","December"],Yh=kl(Nl,3),Hh=kl(Ll,3),Fl={dayNamesShort:Hh,dayNames:Ll,monthNamesShort:Yh,monthNames:Nl,amPm:["am","pm"],DoFn:function(t){return t+["th","st","nd","rd"][t%10>3?0:(t-t%10!==10?1:0)*t%10]}},Nn=Yt({},Fl),Xh=function(t){return Nn=Yt(Nn,t)},jl=function(t){return t.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},Ke=function(t,e){for(e===void 0&&(e=2),t=String(t);t.length<e;)t="0"+t;return t},Kh={D:function(t){return String(t.getDate())},DD:function(t){return Ke(t.getDate())},Do:function(t,e){return e.DoFn(t.getDate())},d:function(t){return String(t.getDay())},dd:function(t){return Ke(t.getDay())},ddd:function(t,e){return e.dayNamesShort[t.getDay()]},dddd:function(t,e){return e.dayNames[t.getDay()]},M:function(t){return String(t.getMonth()+1)},MM:function(t){return Ke(t.getMonth()+1)},MMM:function(t,e){return e.monthNamesShort[t.getMonth()]},MMMM:function(t,e){return e.monthNames[t.getMonth()]},YY:function(t){return Ke(String(t.getFullYear()),4).substr(2)},YYYY:function(t){return Ke(t.getFullYear(),4)},h:function(t){return String(t.getHours()%12||12)},hh:function(t){return Ke(t.getHours()%12||12)},H:function(t){return String(t.getHours())},HH:function(t){return Ke(t.getHours())},m:function(t){return String(t.getMinutes())},mm:function(t){return Ke(t.getMinutes())},s:function(t){return String(t.getSeconds())},ss:function(t){return Ke(t.getSeconds())},S:function(t){return String(Math.round(t.getMilliseconds()/100))},SS:function(t){return Ke(Math.round(t.getMilliseconds()/10),2)},SSS:function(t){return Ke(t.getMilliseconds(),3)},a:function(t,e){return t.getHours()<12?e.amPm[0]:e.amPm[1]},A:function(t,e){return t.getHours()<12?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase()},ZZ:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+Ke(Math.floor(Math.abs(e)/60)*100+Math.abs(e)%60,4)},Z:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+Ke(Math.floor(Math.abs(e)/60),2)+":"+Ke(Math.abs(e)%60,2)}},zl=function(t){return+t-1},Bl=[null,Lt],Vl=[null,rn],$l=["isPm",rn,function(t,e){var r=t.toLowerCase();return r===e.amPm[0]?0:r===e.amPm[1]?1:null}],Wl=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(t){var e=(t+"").match(/([+-]|\d\d)/gi);if(e){var r=+e[1]*60+parseInt(e[2],10);
92return e[0]==="+"?r:-r}return 0}],Jh={D:["day",Lt],DD:["day",Nt],Do:["day",Lt+rn,function(t){return parseInt(t,10)}],M:["month",Lt,zl],MM:["month",Nt,zl],YY:["year",Nt,function(t){var e=new Date,r=+(""+e.getFullYear()).substr(0,2);return+(""+(+t>68?r-1:r)+t)}],h:["hour",Lt,void 0,"isPm"],hh:["hour",Nt,void 0,"isPm"],H:["hour",Lt],HH:["hour",Nt],m:["minute",Lt],mm:["minute",Nt],s:["second",Lt],ss:["second",Nt],YYYY:["year",Qh],S:["millisecond","\\d",function(t){return+t*100}],SS:["millisecond",Nt,function(t){return+t*10}],SSS:["millisecond",Gh],d:Bl,dd:Bl,ddd:Vl,dddd:Vl,MMM:["month",rn,Rl("monthNamesShort")],MMMM:["month",rn,Rl("monthNames")],a:$l,A:$l,ZZ:Wl,Z:Wl},Fn={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},Zh=function(t){return Yt(Fn,t)},em=function(t,e,r){if(e===void 0&&(e=Fn.default),r===void 0&&(r={}),typeof t=="number"&&(t=new Date(t)),Object.prototype.toString.call(t)!=="[object Date]"||isNaN(t.getTime()))throw new Error("Invalid Date pass to format");e=Fn[e]||e;var n=[];e=e.replace(Il,function(s,a){return n.push(a),"@@@"});var i=Yt(Yt({},Nn),r);return e=e.replace(Al,function(s){return Kh[s](t,i)}),e.replace(/@@@/g,function(){return n.shift()})};function tm(t,e,r){if(r===void 0&&(r={}),typeof e!="string")throw new Error("Invalid format in fecha parse");if(e=Fn[e]||e,t.length>1e3)return null;var n=new Date,i={year:n.getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},s=[],a=[],o=e.replace(Il,function(w,S){return a.push(jl(S)),"@@@"}),l={},u={};o=jl(o).replace(Al,function(w){var S=Jh[w],O=S[0],P=S[1],I=S[3];if(l[O])throw new Error("Invalid format. "+O+" specified twice in format");return l[O]=!0,I&&(u[I]=!0),s.push(S),"("+P+")"}),Object.keys(u).forEach(function(w){if(!l[w])throw new Error("Invalid format. "+w+" is required in specified format")}),o=o.replace(/@@@/g,function(){return a.shift()});var f=t.match(new RegExp(o,"i"));if(!f)return null;for(var c=Yt(Yt({},Nn),r),d=1;d<f.length;d++){var p=s[d-1],y=p[0],m=p[2],v=m?m(f[d],c):+f[d];if(v==null)return null;i[y]=v}i.isPm===1&&i.hour!=null&&+i.hour!=12?i.hour=+i.hour+12:i.isPm===0&&+i.hour==12&&(i.hour=0);var h;if(i.timezoneOffset==null){h=new Date(i.year,i.month,i.day,i.hour,i.minute,i.second,i.millisecond);for(var g=[["month","getMonth"],["day","getDate"],["hour","getHours"],["minute","getMinutes"],["second","getSeconds"]],d=0,b=g.length;d<b;d++)if(l[g[d][0]]&&i[g[d][0]]!==h[g[d][1]]())return null}else if(h=new Date(Date.UTC(i.year,i.month,i.day,i.hour,i.minute-i.timezoneOffset,i.second,i.millisecond)),i.month>11||i.month<0||i.day>31||i.day<1||i.hour>23||i.hour<0||i.minute>59||i.minute<0||i.second>59||i.second<0)return null;return h}var rm={format:em,parse:tm,defaultI18n:Fl,setGlobalDateI18n:Xh,setGlobalDateMasks:Zh};const nm=rm,im=jQuery;var jn=Te.n(im);const ut=lodash;var sm=Te(9576);function Ul(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function ds(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(r=>{typeof t[r]=="undefined"?t[r]=e[r]:Ul(e[r])&&Ul(t[r])&&Object.keys(e[r]).length>0&&ds(t[r],e[r])})}const ql={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 ds(t,ql),t}const am={document:ql,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(){}
92,clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout=="undefined"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout!="undefined"&&clearTimeout(t)}};function Je(){const t=typeof window!="undefined"?window:{};return ds(t,am),t}var om,lm;function um(t){const e=t;Object.keys(e).forEach(r=>{try{e[r]=null}catch(n){}try{delete e[r]}catch(n){}})}function ps(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function zn(){return Date.now()}function cm(t){const e=Je();let r;return e.getComputedStyle&&(r=e.getComputedStyle(t,null)),!r&&t.currentStyle&&(r=t.currentStyle),r||(r=t.style),r}function fm(t,e){e===void 0&&(e="x");const r=Je();let n,i,s;const a=cm(t);return r.WebKitCSSMatrix?(i=a.transform||a.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(o=>o.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 Bn(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function dm(t){return typeof window!="undefined"&&typeof window.HTMLElement!="undefined"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Ze(){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&&!dm(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 o=i[s],l=Object.getOwnPropertyDescriptor(n,o);l!==void 0&&l.enumerable&&(Bn(t[o])&&Bn(n[o])?n[o].__swiper__?t[o]=n[o]:Ze(t[o],n[o]):!Bn(t[o])&&Bn(n[o])?(t[o]={},n[o].__swiper__?t[o]=n[o]:Ze(t[o],n[o])):t[o]=n[o])}}}return t}function Vn(t,e,r){t.style.setProperty(e,r)}function Gl(t){let{swiper:e,targetPosition:r,side:n}=t;const i=Je(),s=-e.translate;let a=null,o;const l=e.params.speed;e.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(e.cssModeFrameID);const u=r>s?"next":"prev",f=(d,p)=>u==="next"&&d>=p||u==="prev"&&d<=p,c=()=>{o=new Date().getTime(),a===null&&(a=o);const d=Math.max(Math.min((o-a)/l,1),0),p=.5-Math.cos(d*Math.PI)/2;let y=s+p*(r-s);if(f(y,r)&&(y=r),e.wrapperEl.scrollTo({[n]:y}),f(y,r)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:y})}),i.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=i.requestAnimationFrame(c)};c()}function k0(t){return t.querySelector(".swiper-slide-transform")||t.shadowRoot&&t.shadowRoot.querySelector(".swiper-slide-transform")||t}function ht(t,e){return e===void 0&&(e=""),[...t.children].filter(r=>r.matches(e))}function Ql(t,e){e===void 0&&(e=[]);const r=document.createElement(t);return r.classList.add(...Array.isArray(e)?e:[e]),r}function R0(t){const e=om(),r=lm(),n=t.getBoundingClientRect(),i=r.body,s=t.clientTop||i.clientTop||0,a=t.clientLeft||i.clientLeft||0,o=t===e?e.scrollY:t.scrollTop,l=t===e?e.scrollX:t.scrollLeft;return{top:n.top+o-s,left:n.left+l-a}}function pm(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 hm(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 Ft(t,e){return Je().getComputedStyle(t,null).getPropertyValue(e)}function Yl(t){let e=t,r;if(e){for(r=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(r+=1);return r}}function mm(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 L0(t,e){function r(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",r))}e&&t.addEventListener("transitionend",r)}function Hl(t,e,r){const n=Je();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 hs;function vm(){const t=Je(),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 Xl(){return hs||(hs=vm()),hs}let ms;function gm(t){let{userAgent:e}=t===void 0?{}:t;const r=Xl(),n=Je(),i=n.navigator.platform,s=e||n.navigator.userAgent,a={ios:!1,android:!1},o=n.screen.width,l=n.screen.height,u=s.match(/(Android);?[\s\/]+([\d.]+)?/);let f=s.match(/(iPad).*OS\s([\d_]+)/);const c=s.match(/(iPod)(.*OS\s([\d_]+))?/),d=!f&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=i==="Win32";let y=i==="MacIntel";const m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!f&&y&&r.touch&&m.indexOf(`${o}x${l}`)>=0&&(f=s.match(/(Version)\/([\d.]+)/),f||(f=[0,1,"13_0_0"]),y=!1),u&&!p&&(a.os="android",a.android=!0),(f||d||c)&&
92(a.os="ios",a.ios=!0),a}function ym(t){return t===void 0&&(t={}),ms||(ms=gm(t)),ms}let vs;function bm(){const t=Je();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 Em(){return vs||(vs=bm()),vs}function wm(t){let{swiper:e,on:r,emit:n}=t;const i=Je();let s=null,a=null;const o=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},l=()=>{!e||e.destroyed||!e.initialized||(s=new ResizeObserver(c=>{a=i.requestAnimationFrame(()=>{const{width:d,height:p}=e;let y=d,m=p;c.forEach(v=>{let{contentBoxSize:h,contentRect:g,target:b}=v;b&&b!==e.el||(y=g?g.width:(h[0]||h).inlineSize,m=g?g.height:(h[0]||h).blockSize)}),(y!==d||m!==p)&&o()})}),s.observe(e.el))},u=()=>{a&&i.cancelAnimationFrame(a),s&&s.unobserve&&e.el&&(s.unobserve(e.el),s=null)},f=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};r("init",()=>{if(e.params.resizeObserver&&typeof i.ResizeObserver!="undefined"){l();return}i.addEventListener("resize",o),i.addEventListener("orientationchange",f)}),r("destroy",()=>{u(),i.removeEventListener("resize",o),i.removeEventListener("orientationchange",f)})}function _m(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const s=[],a=Je(),o=function(f,c){c===void 0&&(c={});const d=a.MutationObserver||a.WebkitMutationObserver,p=new d(y=>{if(e.__preventObserver__)return;if(y.length===1){i("observerUpdate",y[0]);return}const m=function(){i("observerUpdate",y[0])};a.requestAnimationFrame?a.requestAnimationFrame(m):a.setTimeout(m,0)});p.observe(f,{attributes:typeof c.attributes=="undefined"?!0:c.attributes,childList:typeof c.childList=="undefined"?!0:c.childList,characterData:typeof c.characterData=="undefined"?!0:c.characterData}),s.push(p)},l=()=>{if(e.params.observer){if(e.params.observeParents){const f=mm(e.hostEl);for(let c=0;c<f.length;c+=1)o(f[c])}o(e.hostEl,{childList:e.params.observeSlideChildren}),o(e.wrapperEl,{attributes:!1})}},u=()=>{s.forEach(f=>{f.disconnect()}),s.splice(0,s.length)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",l),n("destroy",u)}var Tm={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),o=0;o<s;o++)a[o]=arguments[o];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(l=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(n,[l,...r])}),t.eventsListeners&&t.eventsListeners[l]&&t.eventsListeners[l].forEach(u=>{u.apply(n,r)})}),t}};function Sm(){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
92-parseInt(Ft(n,"padding-left")||0,10)-parseInt(Ft(n,"padding-right")||0,10),r=r-parseInt(Ft(n,"padding-top")||0,10)-parseInt(Ft(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 xm(){const t=this;function e(L){return t.isHorizontal()?L:{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"}[L]}function r(L,A){return parseFloat(L.getPropertyValue(e(A))||0)}const n=t.params,{wrapperEl:i,slidesEl:s,size:a,rtlTranslate:o,wrongRTL:l}=t,u=t.virtual&&n.virtual.enabled,f=u?t.virtual.slides.length:t.slides.length,c=ht(s,`.${t.params.slideClass}, swiper-slide`),d=u?t.virtual.slides.length:c.length;let p=[];const y=[],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 g=t.snapGrid.length,b=t.slidesGrid.length;let w=n.spaceBetween,S=-v,O=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,c.forEach(L=>{o?L.style.marginLeft="":L.style.marginRight="",L.style.marginBottom="",L.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(Vn(i,"--swiper-centered-offset-before",""),Vn(i,"--swiper-centered-offset-after",""));const I=n.grid&&n.grid.rows>1&&t.grid;I&&t.grid.initSlides(d);let x;const Z=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(L=>typeof n.breakpoints[L].slidesPerView!="undefined").length>0;for(let L=0;L<d;L+=1){x=0;let A;if(c[L]&&(A=c[L]),I&&t.grid.updateSlide(L,A,d,e),!(c[L]&&Ft(A,"display")==="none")){if(n.slidesPerView==="auto"){Z&&(c[L].style[e("width")]="");const D=getComputedStyle(A),T=A.style.transform,M=A.style.webkitTransform;if(T&&(A.style.transform="none"),M&&(A.style.webkitTransform="none"),n.roundLengths)x=t.isHorizontal()?Hl(A,"width",!0):Hl(A,"height",!0);else{const ee=r(D,"width"),z=r(D,"padding-left"),X=r(D,"padding-right"),F=r(D,"margin-left"),he=r(D,"margin-right"),Pe=D.getPropertyValue("box-sizing");if(Pe&&Pe==="border-box")x=ee+F+he;else{const{clientWidth:We,offsetWidth:me}=A;x=ee+z+X+F+he+(me-We)}}T&&(A.style.transform=T),M&&(A.style.webkitTransform=M),n.roundLengths&&(x=Math.floor(x))}else x=(a-(n.slidesPerView-1)*w)/n.slidesPerView,n.roundLengths&&(x=Math.floor(x)),c[L]&&(c[L].style[e("width")]=`${x}px`);c[L]&&(c[L].swiperSlideSize=x),m.push(x),n.centeredSlides?(S=S+x/2+O/2+w,O===0&&L!==0&&(S=S-a/2-w),L===0&&(S=S-a/2-w),Math.abs(S)<1/1e3&&(S=0),n.roundLengths&&(S=Math.floor(S)),P%n.slidesPerGroup===0&&p.push(S),y.push(S)):(n.roundLengths&&(S=Math.floor(S)),(P-Math.min(t.params.slidesPerGroupSkip,P))%t.params.slidesPerGroup===0&&p.push(S),y.push(S),S=S+x+w),t.virtualSize+=x+w,O=x,P+=1}}if(t.virtualSize=Math.max(t.virtualSize,a)+h,o&&l&&(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(x,p,e),!n.centeredSlides){const L=[];for(let A=0;A<p.length;A+=1){let D=p[A];n.roundLengths&&(D=Math.floor(D)),p[A]<=t.virtualSize-a&&L.push(D)}p=L,Math.floor(t.virtualSize-a)-Math.floor(p[p.length-1])>1&&p.push(t.virtualSize-a)}if(u&&n.loop){const L=m[0]+w;if(n.slidesPerGroup>1){const A=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/n.slidesPerGroup),D=L*n.slidesPerGroup;for(let T=0;T<A;T+=1)p.push(p[p.length-1]+D)}for(let A=0;A<t.virtual.slidesBefore+t.virtual.slidesAfter;A+=1)n.slidesPerGroup===1&&p.push(p[p.length-1]+L),y.push(y[y.length-1]+L),t.virtualSize+=L}if(p.length===0&&(p=[0]),w!==0){const L=t.isHorizontal()&&o?"marginLeft":e("marginRight");c.filter((A,D)=>!n.cssMode||n.loop?!0:D!==c.length-1).forEach(A=>{A.style[L]=`${w}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let L=0;m.forEach(D=>{L+=D+(w||0)}),L-=w;const A=L-a;p=p.map(D=>D<=0?-v:D>A?A+h:D)}if(n.centerInsufficientSlides){let L=0;if(m.forEach(A=>{L+=A+(w||0)}),L-=w,L<a){const A=(a-L)/2;p.forEach((D,T)=>{p[T]=D-A}
92),y.forEach((D,T)=>{y[T]=D+A})}}if(Object.assign(t,{slides:c,snapGrid:p,slidesGrid:y,slidesSizesGrid:m}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){Vn(i,"--swiper-centered-offset-before",`${-p[0]}px`),Vn(i,"--swiper-centered-offset-after",`${t.size/2-m[m.length-1]/2}px`);const L=-t.snapGrid[0],A=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(D=>D+L),t.slidesGrid=t.slidesGrid.map(D=>D+A)}if(d!==f&&t.emit("slidesLengthChange"),p.length!==g&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),y.length!==b&&t.emit("slidesGridLengthChange"),n.watchSlidesProgress&&t.updateSlidesOffset(),!u&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const L=`${n.containerModifierClass}backface-hidden`,A=t.el.classList.contains(L);d<=n.maxBackfaceHiddenSlides?A||t.el.classList.add(L):A&&t.el.classList.remove(L)}}function Om(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=o=>n?e.slides[e.getSlideIndexByData(o)]:e.slides[o];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(o=>{r.push(o)});else for(s=0;s<Math.ceil(e.params.slidesPerView);s+=1){const o=e.activeIndex+s;if(o>e.slides.length&&!n)break;r.push(a(o))}else r.push(a(e.activeIndex));for(s=0;s<r.length;s+=1)if(typeof r[s]!="undefined"){const o=r[s].offsetHeight;i=o>i?o:i}(i||i===0)&&(e.wrapperEl.style.height=`${i}px`)}function Cm(){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 Pm(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(l=>{l.classList.remove(r.slideVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let o=r.spaceBetween;typeof o=="string"&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*e.size:typeof o=="string"&&(o=parseFloat(o));for(let l=0;l<n.length;l+=1){const u=n[l];let f=u.swiperSlideOffset;r.cssMode&&r.centeredSlides&&(f-=n[0].swiperSlideOffset);const c=(a+(r.centeredSlides?e.minTranslate():0)-f)/(u.swiperSlideSize+o),d=(a-s[0]+(r.centeredSlides?e.minTranslate():0)-f)/(u.swiperSlideSize+o),p=-(a-f),y=p+e.slidesSizesGrid[l];(p>=0&&p<e.size-1||y>1&&y<=e.size||p<=0&&y>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(l),n[l].classList.add(r.slideVisibleClass)),u.progress=i?-c:c,u.originalProgress=i?-d:d}}function Dm(t){const e=this;if(typeof t=="undefined"){const f=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*f||0}const r=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:i,isBeginning:s,isEnd:a,progressLoop:o}=e;const l=s,u=a;if(n===0)i=0,s=!0,a=!0;else{i=(t-e.minTranslate())/n;const f=Math.abs(t-e.minTranslate())<1,c=Math.abs(t-e.maxTranslate())<1;s=f||i<=0,a=c||i>=1,f&&(i=0),c&&(i=1)}if(r.loop){const f=e.getSlideIndexByData(0),c=e.getSlideIndexByData(e.slides.length-1),d=e.slidesGrid[f],p=e.slidesGrid[c],y=e.slidesGrid[e.slidesGrid.length-1],m=Math.abs(t);m>=d?o=(m-d)/y:o=(m+y-p)/y,o>1&&(o-=1)}Object.assign(e,{progress:i,progressLoop:o,isBeginning:s,isEnd:a}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&e.updateSlidesProgress(t),s&&!l&&e.emit("reachBeginning toEdge"),a&&!u&&e.emit("reachEnd toEdge"),(l&&!s||u&&!a)&&e.emit("fromEdge"),e.emit("progress",i)}function Mm(){const t=this,{slides:e,params:r,slidesEl:n,activeIndex:i}=t,s=t.virtual&&r.virtual.enabled,a=l=>ht(n,`.${r.slideClass}${l}, swiper-slide${l}`)[0];e.forEach(l=>{l.classList.remove(r.slideActiveClass,r.slideNextClass,r.slidePrevClass)});let o;if(s)if(r.loop){let l=i-t.virtual.slidesBefore;l<0&&(l=t.virtual.slides.length+l),l>=t.virtual.slides.length&&(l-=t.virtual.slides.length),o=a(`[data-swiper-slide-index="${l}"]`)}else o=a(`[data-swiper-slide-index="${i}"]`);else o=e[i];if(o){o.classList.add(r.slideActiveClass);let l=hm(o,`.${r.slideClass}, swiper-slide`)[0];r.loop&&!l&&(l=e[0]),l&&l.classList.add(r.slideNextClass);let u=pm(o,`.${r.slideClass}, swiper-slide`)[0];r.loop&&!u===0&&(u=e[e.length-1]),u&&u.classList.add(r.slidePrevClass)}t.emitSlidesClasses()}const $n=(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())}
92)),i&&i.remove()}},gs=(t,e)=>{if(!t.slides[e])return;const r=t.slides[e].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},ys=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,o=[a-e];o.push(...Array.from({length:e}).map((l,u)=>a+n+u)),t.slides.forEach((l,u)=>{o.includes(l.column)&&gs(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 o=(a%r+r)%r;(o<i||o>s)&&gs(t,o)}else for(let a=Math.max(i-e,0);a<=Math.min(s+e,r-1);a+=1)a!==i&&(a>s||a<i)&&gs(t,a)};function Am(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 Im(t){const e=this,r=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:i,activeIndex:s,realIndex:a,snapIndex:o}=e;let l=t,u;const f=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 l=="undefined"&&(l=Am(e)),n.indexOf(r)>=0)u=n.indexOf(r);else{const d=Math.min(i.slidesPerGroupSkip,l);u=d+Math.floor((l-d)/i.slidesPerGroup)}if(u>=n.length&&(u=n.length-1),l===s){u!==o&&(e.snapIndex=u,e.emit("snapIndexChange")),e.params.loop&&e.virtual&&e.params.virtual.enabled&&(e.realIndex=f(l));return}let c;e.virtual&&i.virtual.enabled&&i.loop?c=f(l):e.slides[l]?c=parseInt(e.slides[l].getAttribute("data-swiper-slide-index")||l,10):c=l,Object.assign(e,{previousSnapIndex:o,snapIndex:u,previousRealIndex:a,realIndex:c,previousIndex:s,activeIndex:l}),e.initialized&&ys(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(a!==c&&e.emit("realIndexChange"),e.emit("slideChange"))}function km(t,e){const r=this,n=r.params;let i=t.closest(`.${n.slideClass}, swiper-slide`);!i&&r.isElement&&e&&e.length>
921&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(o=>{!i&&o.matches&&o.matches(`.${n.slideClass}, swiper-slide`)&&(i=o)});let s=!1,a;if(i){for(let o=0;o<r.slides.length;o+=1)if(r.slides[o]===i){s=!0,a=o;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 Rm={updateSize:Sm,updateSlides:xm,updateAutoHeight:Om,updateSlidesOffset:Cm,updateSlidesProgress:Pm,updateProgress:Dm,updateSlidesClasses:Mm,updateActiveIndex:Im,updateClickedSlide:km};function Lm(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=fm(s,t);return a+=e.cssOverflowAdjustment(),n&&(a=-a),a||0}function Nm(t,e){const r=this,{rtlTranslate:n,params:i,wrapperEl:s,progress:a}=r;let o=0,l=0;const u=0;r.isHorizontal()?o=n?-t:t:l=t,i.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),r.previousTranslate=r.translate,r.translate=r.isHorizontal()?o:l,i.cssMode?s[r.isHorizontal()?"scrollLeft":"scrollTop"]=r.isHorizontal()?-o:-l:i.virtualTranslate||(r.isHorizontal()?o-=r.cssOverflowAdjustment():l-=r.cssOverflowAdjustment(),s.style.transform=`translate3d(${o}px, ${l}px, ${u}px)`);let f;const c=r.maxTranslate()-r.minTranslate();c===0?f=0:f=(t-r.minTranslate())/c,f!==a&&r.updateProgress(t),r.emit("setTranslate",r.translate,e)}function Fm(){return-this.snapGrid[0]}function jm(){return-this.snapGrid[this.snapGrid.length-1]}function zm(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:o}=s;if(s.animating&&a.preventInteractionOnTransition)return!1;const l=s.minTranslate(),u=s.maxTranslate();let f;if(n&&t>l?f=l:n&&t<u?f=u:f=t,s.updateProgress(f),a.cssMode){const c=s.isHorizontal();if(e===0)o[c?"scrollLeft":"scrollTop"]=-f;else{if(!s.support.smoothScroll)return Gl({swiper:s,targetPosition:-f,side:c?"left":"top"}),!0;o.scrollTo({[c?"left":"top"]:-f,behavior:"smooth"})}return!0}return e===0?(s.setTransition(0),s.setTranslate(f),r&&(s.emit("beforeTransitionStart",e,i),s.emit("transitionEnd"))):(s.setTransition(e),s.setTranslate(f),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 Bm={getTranslate:Lm,setTranslate:Nm,minTranslate:Fm,maxTranslate:jm,translateTo:zm};function Vm(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 Kl(t){let{swiper:e,runCallbacks:r,direction:n,step:i}=t;const{activeIndex:s,previousIndex:a}=e;let o=n;if(o||(s>a?o="next":s<a?o="prev":o="reset"),e.emit(`transition${i}`),r&&s!==a){if(o==="reset"){e.emit(`slideResetTransition${i}`);return}e.emit(`slideChangeTransition${i}`),o==="next"?e.emit(`slideNextTransition${i}`):e.emit(`slidePrevTransition${i}`)}}function $m(t,e){t===void 0&&(t=!0);const r=this,{params:n}=r;n.cssMode||(n.autoHeight&&r.updateAutoHeight(),Kl({swiper:r,runCallbacks:t,direction:e,step:"Start"}))}function Wm(t,e){t===void 0&&(t=!0);const r=this,{params:n}=r;r.animating=!1,!n.cssMode&&(r.setTransition(0),Kl({swiper:r,runCallbacks:t,direction:e,step:"End"}))}var Um={setTransition:Vm,transitionStart:$m,transitionEnd:Wm};function qm(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:o,snapGrid:l,slidesGrid:u,previousIndex:f,activeIndex:c,rtlTranslate:d,wrapperEl:p,enabled:y}=s;if(s.animating&&o.preventInteractionOnTransition||!y&&!n&&!i)return!1;const m=Math.min(s.params.slidesPerGroupSkip,a);let v=m+Math.floor((a-m)/s.params.slidesPerGroup);v>=l.length&&(v=l.length-1);const h=-l[v];
92if(o.normalizeSlideIndex)for(let b=0;b<u.length;b+=1){const w=-Math.floor(h*100),S=Math.floor(u[b]*100),O=Math.floor(u[b+1]*100);typeof u[b+1]!="undefined"?w>=S&&w<O-(O-S)/2?a=b:w>=S&&w<O&&(a=b+1):w>=S&&(a=b)}if(s.initialized&&a!==c&&(!s.allowSlideNext&&(d?h>s.translate&&h>s.minTranslate():h<s.translate&&h<s.minTranslate())||!s.allowSlidePrev&&h>s.translate&&h>s.maxTranslate()&&(c||0)!==a))return!1;a!==(f||0)&&r&&s.emit("beforeSlideChangeStart"),s.updateProgress(h);let g;if(a>c?g="next":a<c?g="prev":g="reset",d&&-h===s.translate||!d&&h===s.translate)return s.updateActiveIndex(a),o.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),o.effect!=="slide"&&s.setTranslate(h),g!=="reset"&&(s.transitionStart(r,g),s.transitionEnd(r,g)),!1;if(o.cssMode){const b=s.isHorizontal(),w=d?h:-h;if(e===0){const S=s.virtual&&s.params.virtual.enabled;S&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),S&&!s._cssModeVirtualInitialSet&&s.params.initialSlide>0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[b?"scrollLeft":"scrollTop"]=w})):p[b?"scrollLeft":"scrollTop"]=w,S&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1})}else{if(!s.support.smoothScroll)return Gl({swiper:s,targetPosition:w,side:b?"left":"top"}),!0;
92p.scrollTo({[b?"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,g),e===0?s.transitionEnd(r,g):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,g))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0}function Gm(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 Qm(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;if(!i)return n;let o=s.slidesPerGroup;s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(o=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex<s.slidesPerGroupSkip?1:o,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+l,t,e,r)}),!0}return s.rewind&&n.isEnd?n.slideTo(0,t,e,r):n.slideTo(n.activeIndex+l,t,e,r)}function Ym(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:o,enabled:l,animating:u}=n;if(!l)return n;const f=n.virtual&&i.virtual.enabled;if(i.loop){if(u&&!f&&i.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const c=o?n.translate:-n.translate;function d(h){return h<0?-Math.floor(Math.abs(h)):Math.floor(h)}const p=d(c),y=s.map(h=>d(h));let m=s[y.indexOf(p)-1];if(typeof m=="undefined"&&i.cssMode){let h;s.forEach((g,b)=>{p>=g&&(h=b)}),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 Hm(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 Xm(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),o=a+Math.floor((s-a)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[o]){const u=i.snapGrid[o],f=i.snapGrid[o+1];l-u>(f-u)*n&&(s+=i.params.slidesPerGroup)}else{const u=i.snapGrid[o-1],f=i.snapGrid[o];l-u<=(f-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 Km(){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(ht(r,`${a}[data-swiper-slide-index="${s}"]`)[0]),ps(()=>{t.slideTo(i)})):t.slideTo(i):i>t.slides.length-n?(t.loopFix(),i=t.getSlideIndex(ht(r,`${a}[data-swiper-slide-index="${s}"]`)[0]),ps(()=>{t.slideTo(i)})):t.slideTo(i)}else t.slideTo(i)}var Jm={slideTo:qm,slideToLoop:Gm,slideNext:Qm,slidePrev:Ym,slideReset:Hm,slideToClosest:Xm,slideToClickedSlide:Km};function Zm(t){const e=this,{params:r,slidesEl:n}=e;if(!r.loop||e.virtual&&e.params.virtual.enabled)return;ht(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 ev(t){let{slideRealIndex:e,slideTo:r=!0,direction:n,setTranslate:i,activeSlideIndex:s,byController:a,byMousewheel:o}=t===void 0?{}:t;const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:u,allowSlidePrev:f,allowSlideNext:c,slidesEl:d,params:p}=l;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&p.virtual.enabled){r&&(!p.centeredSlides&&l.snapIndex===0?l.slideTo(l.virtual.slides.length,0,!1,!0):p.centeredSlides&&l.snapIndex<p.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0)),l.allowSlidePrev=f,l.allowSlideNext=c,l.emit("loopFix");return}const y=p.slidesPerView==="auto"?l.slidesPerViewDynamic():Math.ceil(parseFloat(p.slidesPerView,10));let m=p.loopedSlides||y;m%p.slidesPerGroup!==0&&(m+=p.slidesPerGroup-m%p.slidesPerGroup),l.loopedSlides=m;const v=[],h=[];let g=l.activeIndex;typeof s=="undefined"?s=l.getSlideIndex(l.slides.filter(P=>P.classList.contains(p.slideActiveClass))[0]):g=s;const b=n==="next"||!n,w=n==="prev"||!n;let S=0,O=0;if(s<m){S=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>l.slides.length-m*2){O=Math.max(s-(l.slides.length-m*2),p.slidesPerGroup);for(let P=0;P<O;P+=1){const I=P-Math.floor(P/u.length)*u.length;h.push(I)}}if(w&&v.forEach(P=>{l.slides[P].swiperLoopMoveDOM=!0,d.prepend(l.slides[P]),l.slides[P].swiperLoopMoveDOM=!1}),b&&h.forEach(P=>{l.slides[P].swiperLoopMoveDOM=!0,d.append(l.slides[P]),l.slides[P].swiperLoopMoveDOM=!1}),l.recalcSlides(),p.slidesPerView==="auto"&&l.updateSlides(),p.watchSlidesProgress&&l.updateSlidesOffset(),r){if(v.length>0&&w)if(typeof e=="undefined"){const P=l.slidesGrid[g],x=l.slidesGrid[g+S]-P;o?l.setTranslate(l.translate-x):(l.slideTo(g+S,0,!1,!0),i&&(l.touches[l.isHorizontal()?"startX":"startY"]+=x,l.touchEventsData.currentTranslate=l.translate))}else i&&(l.slideToLoop(e,0,!1,!0),l.touchEventsData.currentTranslate=l.translate);else if(h.length>0&&b)if(typeof e=="undefined"){const P=l.slidesGrid[g],x=l.slidesGrid[g-O]-P;o?l.setTranslate(l.translate-x):(l.slideTo(g-O,0,!1,!0),i&&(l.touches[l.isHorizontal()?"startX":"startY"]+=x,l.touchEventsData.currentTranslate=l.translate))}else l.slideToLoop(e,0,!1,!0)}if(l.allowSlidePrev=f,l.allowSlideNext=c,l.controller&&l.controller.control&&!a){const P={slideRealIndex:e,direction:n,setTranslate:i,activeSlideIndex:s,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(I=>{!I.destroyed&&I.params.loop&&I.loopFix({...P,slideTo:I.params.slidesPerView===p.slidesPerView?r:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...P,slideTo:l.controller.control.params.slidesPerView===p.slidesPerView?r:!1})}l.emit("loopFix")}function tv(){const t=this,{params:e,slidesEl:r}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];
92t.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 rv={loopCreate:Zm,loopFix:ev,loopDestroy:tv};function nv(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 iv(){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 sv={setGrabCursor:nv,unsetGrabCursor:iv};function av(t,e){e===void 0&&(e=this);function r(n){if(!n||n===Ht()||n===Je())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 ov(t){const e=this,r=Ht(),n=Je(),i=e.touchEventsData;i.evCache.push(t);const{params:s,touches:a,enabled:o}=e;if(!o||!s.simulateTouch&&t.pointerType==="mouse"||e.animating&&s.preventInteractionOnTransition)return;!e.animating&&s.cssMode&&s.loop&&e.loopFix();let l=t;l.originalEvent&&(l=l.originalEvent);let u=l.target;if(s.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(u)||"which"in l&&l.which===3||"button"in l&&l.button>0||i.isTouched&&i.isMoved)return;const f=!!s.noSwipingClass&&s.noSwipingClass!=="",c=t.composedPath?t.composedPath():t.path;f&&l.target&&l.target.shadowRoot&&c&&(u=c[0]);const d=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,p=!!(l.target&&l.target.shadowRoot);if(s.noSwiping&&(p?av(d,u):u.closest(d))){e.allowClick=!0;return}if(s.swipeHandler&&!u.closest(s.swipeHandler))return;a.currentX=l.pageX,a.currentY=l.pageY;const y=a.currentX,m=a.currentY,v=s.edgeSwipeDetection||s.iOSEdgeSwipeDetection,h=s.edgeSwipeThreshold||s.iOSEdgeSwipeThreshold;if(v&&(y<=h||y>=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=y,a.startY=m,i.touchStartTime=zn(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,s.threshold>0&&(i.allowThresholdMove=!1);let g=!0;u.matches(i.focusableElements)&&(g=!1,u.nodeName==="SELECT"&&(i.isTouched=!1)),r.activeElement&&r.activeElement.matches(i.focusableElements)&&r.activeElement!==u&&r.activeElement.blur();const b=g&&e.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||b)&&!u.isContentEditable&&l.preventDefault(),s.freeMode&&s.freeMode.enabled&&e.freeMode&&e.animating&&!s.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",l)}function lv(t){const e=Ht(),r=this,n=r.touchEventsData,{params:i,touches:s,rtlTranslate:a,enabled:o}=r;if(!o||!i.simulateTouch&&t.pointerType==="mouse")return;let l=t;if(l.originalEvent&&(l=l.originalEvent),!n.isTouched){n.startMoving&&n.isScrolling&&r.emit("touchMoveOpposite",l);return}const u=n.evCache.findIndex(P=>P.pointerId===l.pointerId);u>=0&&(n.evCache[u]=l);const f=n.evCache.length>1?n.evCache[0]:l,c=f.pageX,d=f.pageY;if(l.preventedByNestedSwiper){s.startX=c,s.startY=d;return}if(!r.allowTouchMove){l.target.matches(n.focusableElements)||(r.allowClick=!1),n.isTouched&&(Object.assign(s,{startX:c,startY:d,prevX:r.touches.currentX,prevY:r.touches.currentY,currentX:c,currentY:d}),n.touchStartTime=zn());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(c<s.startX&&r.translate<=r.maxTranslate()||c>s.startX&&r.translate>=r.minTranslate())return}if(e.activeElement&&l.target===e.activeElement&&l.target.matches(n.focusableElements)){n.isMoved=!0,r.allowClick=!1;return}if(n.allowTouchCallbacks&&r.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;s.currentX=c,s.currentY=d;const p=s.currentX-s.startX,y=s.currentY-s.startY;if(r.params.threshold&&Math.sqrt(p**2+y**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+y*y>=25&&(P=Math.atan2(Math.abs(y),Math.abs(p))*180/Math.PI,n.isScrolling=r.isH
92orizontal()?P>i.touchAngle:90-P>i.touchAngle)}if(n.isScrolling&&r.emit("touchMoveOpposite",l),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&&l.cancelable&&l.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&l.stopPropagation();let m=r.isHorizontal()?p:y,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 g=r.params.loop&&!i.cssMode,b=r.swipeDirection==="next"&&r.allowSlideNext||r.swipeDirection==="prev"&&r.allowSlidePrev;if(!n.isMoved){if(g&&b&&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",l)}let w;n.isMoved&&h!==r.touchesDirection&&g&&b&&Math.abs(m)>=1&&(r.loopFix({direction:r.swipeDirection,setTranslate:!0}),w=!0),r.emit("sliderMove",l),n.isMoved=!0,n.currentTranslate=m+n.startTranslate;let S=!0,O=i.resistanceRatio;if(i.touchReleaseOnEdges&&(O=0),m>0?(g&&b&&!w&&n.currentTranslate>(i.centeredSlides?r.minTranslate()-r.size/2:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>r.minTranslate()&&(S=!1,i.resistance&&(n.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+n.startTranslate+m)**O))):m<0&&(g&&b&&!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()&&(S=!1,i.resistance&&(n.currentTranslate=r.maxTranslate()+1-(r.maxTranslate()-n.startTranslate-m)**O))),S&&(l.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 uv(t){const e=this,r=e.touchEventsData,n=r.evCache.findIndex(b=>b.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:o,enabled:l}=e;if(!l||!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 f=zn(),c=f-r.touchStartTime;if(e.allowClick){const b=u.path||u.composedPath&&u.composedPath();e.updateClickedSlide(b&&b[0]||u.target,b),e.emit("tap click",u),c<300&&f-r.lastClickTime<300&&e.emit("doubleTap doubleClick",u)}if(r.lastClickTime=zn(),ps(()=>{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,y=e.slidesSizesGrid[0];for(let b=0;b<o.length;b+=b<i.slidesPerGroupSkip?1:i.slidesPerGroup){const w=b<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;typeof o[b+w]!="undefined"?d>=o[b]&&d<o[b+w]&&(p=b,y=o[b+w]-o[b]):d>=o[b]&&(p=b,y=o[o.length-1]-o[o.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-o[p])/y,g=p<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(c>i.longSwipesMs){if(!i.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(h>=i.longSwipesRatio?e.slideTo(i.rewind&&e.isEnd?m:p+g):e.slideTo(p)),e.swipeDirection==="prev"&&(h>1-i.longSwipesRatio?e.slideTo(p+g):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+g):e.slideTo(p):(e.swipeDirection==="next"&&e.slideTo(m!==null?m:p+g),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 o=a&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!o?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()}function cv(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function fv(){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 dv(t){const e=this;$n(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update(
92)}let Zl=!1;function pv(){}const eu=(t,e)=>{const r=Ht(),{params:n,el:i,wrapperEl:s,device:a}=t,o=!!n.nested,l=e==="on"?"addEventListener":"removeEventListener",u=e;i[l]("pointerdown",t.onTouchStart,{passive:!1}),r[l]("pointermove",t.onTouchMove,{passive:!1,capture:o}),r[l]("pointerup",t.onTouchEnd,{passive:!0}),r[l]("pointercancel",t.onTouchEnd,{passive:!0}),r[l]("pointerout",t.onTouchEnd,{passive:!0}),r[l]("pointerleave",t.onTouchEnd,{passive:!0}),r[l]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&i[l]("click",t.onClick,!0),n.cssMode&&s[l]("scroll",t.onScroll),n.updateOnWindowResize?t[u](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",Jl,!0):t[u]("observerUpdate",Jl,!0),i[l]("load",t.onLoad,{capture:!0})};function hv(){const t=this,e=Ht(),{params:r}=t;t.onTouchStart=ov.bind(t),t.onTouchMove=lv.bind(t),t.onTouchEnd=uv.bind(t),r.cssMode&&(t.onScroll=fv.bind(t)),t.onClick=cv.bind(t),t.onLoad=dv.bind(t),Zl||(e.addEventListener("touchstart",pv),Zl=!0),eu(t,"on")}function mv(){eu(this,"off")}var vv={attachEvents:hv,detachEvents:mv};const tu=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function gv(){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 l=(a in s?s[a]:void 0)||t.originalParams,u=tu(t,n),f=tu(t,l),c=n.enabled;u&&!f?(i.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&f&&(i.classList.add(`${n.containerModifierClass}grid`),(l.grid.fill&&l.grid.fill==="column"||!l.grid.fill&&n.grid.fill==="column")&&i.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(h=>{if(typeof l[h]=="undefined")return;const g=n[h]&&n[h].enabled,b=l[h]&&l[h].enabled;g&&!b&&t[h].disable(),!g&&b&&t[h].enable()});const d=l.direction&&l.direction!==n.direction,p=n.loop&&(l.slidesPerView!==n.slidesPerView||d),y=n.loop;d&&r&&t.changeDirection(),Ze(t.params,l);const m=t.params.enabled,v=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),c&&!m?t.disable():!c&&m&&t.enable(),t.currentBreakpoint=a,t.emit("_beforeBreakpoint",l),r&&(p?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!y&&v?(t.loopCreate(e),t.updateSlides()):y&&!v&&t.loopDestroy()),t.emit("breakpoint",l)}function yv(t,e,r){if(e===void 0&&(e="window"),!t||e==="container"&&!r)return;let n=!1;const i=Je(),s=e==="window"?i.innerHeight:r.clientHeight,a=Object.keys(t).map(o=>{if(typeof o=="string"&&o.indexOf("@")===0){const l=parseFloat(o.substr(1));return{value:s*l,point:o}}return{value:o,point:o}});a.sort((o,l)=>
92parseInt(o.value,10)-parseInt(l.value,10));for(let o=0;o<a.length;o+=1){const{point:l,value:u}=a[o];e==="window"?i.matchMedia(`(min-width: ${u}px)`).matches&&(n=l):u<=r.clientWidth&&(n=l)}return n||"max"}var bv={setBreakpoint:gv,getBreakpoint:yv};function Ev(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 wv(){const t=this,{classNames:e,params:r,rtl:n,el:i,device:s}=t,a=Ev(["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 _v(){const t=this,{el:e,classNames:r}=t;e.classList.remove(...r),t.emitContainerClasses()}var Tv={addClasses:wv,removeClasses:_v};function Sv(){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 xv={checkOverflow:Sv},bs={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",spaceBetween: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 Ov(t,e){return function(n){n===void 0&&(n={});const i=Object.keys(n)[0],s=n[i];if(typeof s!="object"||s===null){Ze(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)){Ze(e,n);return}typeof t[i]=="object"&&!("enabled"in t[i])&&(t[i].enabled=!0),t[i]||(t[i]={enabled:!1}),Ze(e,n)}}const Es={eventsEmitter:Tm,update:Rm,translate:Bm,transition:Um,slide:Jm,loop:rv,grabCursor:sv,events:vv,breakpoints:bv,checkOverflow:xv,classes:Tv},ws={};class it{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=Ze({},r),e&&!r.el&&(r.el=e);const a=Ht();if(r.el&&typeof r.el=="string"&&a.querySelectorAll(r.el).length>1){const f=[];return a.querySelectorAll(r.el).forEach(c=>{const d=Ze({},r,{el:c});f.push(new it(d))}),f}const o=this;o.__swiper__=!0,o.support=Xl(),o.device=ym({userAgent:r.userAgent}),o.browser=Em(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],r.modules&&Array.isArray(r.modules)&&o.modules.push(...r.modules);const l={};
92o.modules.forEach(f=>{f({params:r,swiper:o,extendParams:Ov(r,l),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const u=Ze({},bs,l);return o.params=Ze({},u,ws,r),o.originalParams=Ze({},o.params),o.passedParams=Ze({},r),o.params&&o.params.on&&Object.keys(o.params.on).forEach(f=>{o.on(f,o.params.on[f])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return o.params.direction==="horizontal"},isVertical(){return o.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:o.params.allowSlideNext,allowSlidePrev:o.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:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getSlideIndex(e){const{slidesEl:r,params:n}=this,i=ht(r,`.${n.slideClass}, swiper-slide`),s=Yl(i[0]);return Yl(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=ht(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:o,size:l,activeIndex:u}=n;let f=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let c=s[u]?s[u].swiperSlideSize:0,d;for(let p=u+1;p<s.length;p+=1)s[p]&&!d&&(c+=s[p].swiperSlideSize,f+=1,c>l&&(d=!0));for(let p=u-1;p>=0;p-=1)s[p]&&!d&&(c+=s[p].swiperSlideSize,f+=1,c>l&&(d=!0))}else if(e==="current")for(let c=u+1;c<s.length;c+=1)(r?a[c]+o[c]-a[u]<l:a[c]-a[u]<l)&&(f+=1);else for(let c=u-1;c>=0;c-=1)a[u]-a[c]<l&&(f+=1);return f}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&&$n(e,a)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function i(){const a=e.rtlTranslate?e.translate*-1:e.translate,o=Math.min(Math.max(a,e.maxTranslate()),e.minTranslate());e.setTranslate(o),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
92h(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()):ht(n,i())[0])();return!a&&r.params.createElements&&(a=Ql("div",r.params.wrapperClass),n.append(a),ht(n,`.${r.params.slideClass}`).forEach(o=>{a.append(o)})),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"||Ft(n,"direction")==="rtl",rtlTranslate:r.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Ft(n,"direction")==="rtl"),wrongRTL:Ft(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?$n(r,s):s.addEventListener("load",a=>{$n(r,a.target)})}),ys(r),r.initialized=!0,ys(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:o}=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"),o&&o.length&&o.forEach(l=>{l.classList.remove(i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(l=>{n.off(l)}),e!==!1&&(n.el.swiper=null,um(n)),n.destroyed=!0),null}static extendDefaults(e){Ze(ws,e)}static get extendedDefaults(){return ws}static get defaults(){return bs}static installModule(e){it.prototype.__modules__||(it.prototype.__modules__=[]);const r=it.prototype.__modules__;typeof e=="function"&&r.indexOf(e)<0&&r.push(e)}static use(e){return Array.isArray(e)?(e.forEach(r=>it.installModule(r)),it):(it.installModule(e),it)}}Object.keys(Es).forEach(t=>{Object.keys(Es[t]).forEach(e=>{it.prototype[e]=Es[t][e]})}),it.use([wm,_m]);const ru=["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 Xt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function Kt(t,e){const r=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>
92r.indexOf(n)<0).forEach(n=>{typeof t[n]=="undefined"?t[n]=e[n]:Xt(e[n])&&Xt(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:Kt(t[n],e[n]):t[n]=e[n]})}function nu(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl=="undefined"&&typeof t.navigation.prevEl=="undefined"}function iu(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el=="undefined"}function su(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el=="undefined"}function au(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 N0(t){return t===void 0&&(t=""),t.replace(/-[a-z]/g,e=>e.toUpperCase().replace("-",""))}function Cv(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function Pv(t){let{swiper:e,slides:r,passedParams:n,changedParams:i,nextEl:s,prevEl:a,scrollbarEl:o,paginationEl:l}=t;const u=i.filter(x=>x!=="children"&&x!=="direction"&&x!=="wrapperClass"),{params:f,pagination:c,navigation:d,scrollbar:p,virtual:y,thumbs:m}=e;let v,h,g,b,w,S,O,P;i.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&f.thumbs&&!f.thumbs.swiper&&(v=!0),i.includes("controller")&&n.controller&&n.controller.control&&f.controller&&!f.controller.control&&(h=!0),i.includes("pagination")&&n.pagination&&(n.pagination.el||l)&&(f.pagination||f.pagination===!1)&&c&&!c.el&&(g=!0),i.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||o)&&(f.scrollbar||f.scrollbar===!1)&&p&&!p.el&&(b=!0),i.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||s)&&(f.navigation||f.navigation===!1)&&d&&!d.prevEl&&!d.nextEl&&(w=!0);const I=x=>{e[x]&&(e[x].destroy(),x==="navigation"?(e.isElement&&(e[x].prevEl.remove(),e[x].nextEl.remove()),f[x].prevEl=void 0,f[x].nextEl=void 0,e[x].prevEl=void 0,e[x].nextEl=void 0):(e.isElement&&e[x].el.remove(),f[x].el=void 0,e[x].el=void 0))};i.includes("loop")&&e.isElement&&(f.loop&&!n.loop?S=!0:!f.loop&&n.loop?O=!0:P=!0),u.forEach(x=>{if(Xt(f[x])&&Xt(n[x]))Kt(f[x],n[x]),(x==="navigation"||x==="pagination"||x==="scrollbar")&&"enabled"in n[x]&&!n[x].enabled&&I(x);else{const Z=n[x];(Z===!0||Z===!1)&&(x==="navigation"||x==="pagination"||x==="scrollbar")?Z===!1&&I(x):f[x]=n[x]}}),u.includes("controller")&&!h&&e.controller&&e.controller.control&&f.controller&&f.controller.control&&(e.controller.control=f.controller.control),i.includes("children")&&r&&y&&f.virtual.enabled&&(y.slides=r,y.update(!0)),i.includes("children")&&r&&f.loop&&(P=!0),v&&m.init()&&m.update(!0),h&&(e.controller.control=f.controller.control),g&&(e.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),e.el.appendChild(l)),l&&(f.pagination.el=l),c.init(),c.render(),c.update()),b&&(e.isElement&&(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-scrollbar"),o.part.add("scrollbar"),e.el.appendChild(o)),o&&(f.scrollbar.el=o),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&&(f.navigation.nextEl=s),a&&(f.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),(S||P)&&e.loopDestroy(),(O||P)&&e.loopCreate(),e.update()}function Dv(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const r={on:{}},n={},i={};Kt(r,bs),r._emitClasses=!0,r.init=!1;const s={},a=ru.map(l=>l.replace(/_/,"")),o=Object.assign({},t);return Object.keys(o).forEach(l=>{typeof t[l]!="undefined"&&(a.indexOf(l)>=0?Xt(t[l])?(r[l]={},i[l]={},Kt(r[l],t[l]),Kt(i[l],t[l])):(r[l]=t[l],i[l]=t[l]):l.search(/on[A-Z]/)===0&&typeof t[l]=="function"?e?n[`${l[2].toLowerCase()}${l.substr(3)}`]=t[l]:r.on[`${l[2].toLowerCase()}${l.substr(3)}`]=t[l]:s[l]=t[l])}),["navigation","pagination","scrollbar"].forEach(l=>{r[l]===!0&&(r[l]={}),r[l]===!1&&delete r[l]}),{params:r,passedParams:i,rest:s,events:n}}function Mv(t,e){let{el:r,nextEl:n,prevEl:i,paginationEl:s,scrollbarEl:a,swiper:o}=t;nu(e)&&n&&i&&(o.params.navigation.nextEl=n,o.originalParams.navigation.nextEl=n,o.params.navigation.prevEl=i,o.originalParams.navigation.prevEl=i),iu(e)&&s&&(o.params.pagination.el=s,o.originalParams.pagination.el=s),su(e)&&a&&(o.params.scrollbar.el=a,o.originalParams.scrollbar.el=a),o.init(r)}function Av(t,e,r,n,i){const s=[];if(!e)return s;const a=l=>{s.indexOf(l)<0&&s.push(l)};if(r&&n){const l=n.map(i),u=r.map(i);l.join("")!==u.join("")&&a("children"),n.length!==r.length&&a("children")}return ru.filter(l=>l[0]==="_").map(l=>
92l.replace(/_/,"")).forEach(l=>{if(l in t&&l in e)if(Xt(t[l])&&Xt(e[l])){const u=Object.keys(t[l]),f=Object.keys(e[l]);u.length!==f.length?a(l):(u.forEach(c=>{t[l][c]!==e[l][c]&&a(l)}),f.forEach(c=>{t[l][c]!==e[l][c]&&a(l)}))}else t[l]!==e[l]&&a(l)}),s}const Iv=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 ou;function Wn(){return Wn=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},Wn.apply(this,arguments)}function lu(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function uu(t){const e=[];return de.Children.toArray(t).forEach(r=>{lu(r)?e.push(r):r.props&&r.props.children&&uu(r.props.children).forEach(n=>e.push(n))}),e}function kv(t){const e=[],r={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return de.Children.toArray(t).forEach(n=>{if(lu(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=uu(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 Rv(t,e,r){if(!r)return null;const n=f=>{let c=f;return f<0?c=e.length+f:c>=e.length&&(c=c-e.length),c},i=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${r.offset}px`}:{top:`${r.offset}px`},{from:s,to:a}=r,o=t.params.loop?-e.length:0,l=t.params.loop?e.length*2:e.length,u=[];for(let f=o;f<l;f+=1)f>=s&&f<=a&&u.push(e[n(f)]);return u.map((f,c)=>de.cloneElement(f,{swiper:t,style:i,key:`slide-${c}`}))}function nn(t,e){return typeof window=="undefined"?(0,de.useEffect)(t,e):(0,de.useLayoutEffect)(t,e)}const _s=(0,de.createContext)(null),F0=()=>ou(_s),cu=(0,de.createContext)(null),j0=()=>ou(cu),fu=(0,de.forwardRef)(function(t,e){let{className:r,tag:n="div",wrapperTag:i="div",children:s,onSwiper:a,...o}=t===void 0?{}:t,l=!1;const[u,f]=(0,de.useState)("swiper"),[c,d]=(0,de.useState)(null),[p,y]=(0,de.useState)(!1),m=(0,de.useRef)(!1),v=(0,de.useRef)(null),h=(0,de.useRef)(null),g=(0,de.useRef)(null),b=(0,de.useRef)(null),w=(0,de.useRef)(null),S=(0,de.useRef)(null),O=(0,de.useRef)(null),P=(0,de.useRef)(null),{params:I,passedParams:x,rest:Z,events:L}=Dv(o),{slides:A,slots:D}=kv(s),T=()=>{y(!p)};Object.assign(I.on,{_containerClasses(F,he){f(he)}});const M=()=>{Object.assign(I.on,L),l=!0;const F={...I};if(delete F.wrapperClass,h.current=new it(F),h.current.virtual&&h.current.params.virtual.enabled){h.current.virtual.slides=A;const he={cache:!1,slides:A,renderExternal:d,renderExternalUpdate:!1};Kt(h.current.params.virtual,he),Kt(h.current.originalParams.virtual,he)}};v.current||M(),h.current&&h.current.on("_beforeBreakpoint",T);const ee=()=>{l||!L||!h.current||Object.keys(L).forEach(F=>{h.current.on(F,L[F])})},z=()=>{!L||!h.current||Object.keys(L).forEach(F=>{h.current.off(F,L[F])})};(0,de.useEffect)(()=>()=>{h.current&&h.current.off("_beforeBreakpoint",T)}),(0,de.useEffect)(()=>{!m.current&&h.current&&(h.current.emitSlidesClasses(),m.current=!0)}),nn(()=>{if(e&&(e.current=v.current),!!v.current)return h.current.destroyed&&M(),Mv({el:v.current,nextEl:w.current,prevEl:S.current,paginationEl:O.current,scrollbarEl:P.current,swiper:h.current},I),a&&a(h.current),()=>{h.current&&!h.current.destroyed&&h.current.destroy(!0,!1)}},[]),nn(()=>{ee();const F=Av(x,g.current,A,b.current,he=>he.key);return g.current=x,b.current=A,F.length&&h.current&&!h.current.destroyed&&Pv({swiper:h.current,slides:A,passedParams:x,changedParams:F,nextEl:w.current,prevEl:S.current,scrollbarEl:P.current,paginationEl:O.current}),()=>{z()}}),nn(()=>{Iv(h.current)},[c]);function X(){return I.virtual?Rv(h.current,A,c):A.map((F,he)=>de.cloneElement(F,{swiper:h.current,swiperSlideIndex:he}))}return de.createElement(n,Wn({ref:v,className:au(`${u}${r?` ${r}`:""}`)},Z),de.createElement(cu.Provider,{value:h.current},D["container-start"],de.createElement(i,{className:Cv(I.wrapperClass)},D["wrapper-start"],X(),D["wrapper-end"]),nu(I)&&de.createElement(de.Fragment,null,de.createElement("div",{ref:S,className:"swiper-button-prev"}),de.createElement("div",{ref:w,className:"swiper-button-next"})),su(I)&&de.createElement("div",{ref:P,className:"swiper-scrollbar"}),iu(I)&&de.createElement("div",{ref:O,className:"swiper-pagination"}),D["container-end"]))});fu.displayName="Swiper";const du=(0,de.forwardRef)(function(t,e){let{tag:r="div",children:n,className:i="",swiper:s,zoom:a,lazy:o,virtualIndex:l,swiperSlideIndex:u,...f}=t===void 0?{}:t;const c=(0,de.useRef)(null),[d,p]=(0,de.useState)("swiper-slide"),[y,m]=(0,de.useState)(!1);function v(w,S,O){S===c.current&&p(O)}nn(()=>
92{if(typeof u!="undefined"&&(c.current.swiperSlideIndex=u),e&&(e.current=c.current),!(!c.current||!s)){if(s.destroyed){d!=="swiper-slide"&&p("swiper-slide");return}return s.on("_slideClass",v),()=>{s&&s.off("_slideClass",v)}}}),nn(()=>{s&&c.current&&!s.destroyed&&p(s.getSlideClasses(c.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},g=()=>typeof n=="function"?n(h):n,b=()=>{m(!0)};return de.createElement(r,Wn({ref:c,className:au(`${d}${i?` ${i}`:""}`),"data-swiper-slide-index":l,onLoad:b},f),a&&de.createElement(_s.Provider,{value:h},de.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof a=="number"?a:void 0},g(),o&&!y&&de.createElement("div",{className:"swiper-lazy-preloader"}))),!a&&de.createElement(_s.Provider,{value:h},g(),o&&!y&&de.createElement("div",{className:"swiper-lazy-preloader"})))});du.displayName="SwiperSlide";var Lv,pu,Nv,Fv;function z0(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=Lv();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const o=a.createElement("div");function l(y,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,y,m),typeof h=="string"&&(o.innerHTML=h,h=o.children[0])):e.isElement?h=pu("swiper-slide"):h=pu("div",e.params.slideClass),h.setAttribute("data-swiper-slide-index",m),v.render
92Slide||(h.innerHTML=y),v.cache&&(e.virtual.cache[m]=h),h}function u(y){const{slidesPerView:m,slidesPerGroup:v,centeredSlides:h,loop:g}=e.params,{addSlidesBefore:b,addSlidesAfter:w}=e.params.virtual,{from:S,to:O,slides:P,slidesGrid:I,offset:x}=e.virtual;e.params.cssMode||e.updateActiveIndex();const Z=e.activeIndex||0;let L;e.rtlTranslate?L="right":L=e.isHorizontal()?"left":"top";let A,D;h?(A=Math.floor(m/2)+v+w,D=Math.floor(m/2)+v+b):(A=m+(v-1)+w,D=(g?m:v)+b);let T=Z-D,M=Z+A;g||(T=Math.max(T,0),M=Math.min(M,P.length-1));let ee=(e.slidesGrid[T]||0)-(e.slidesGrid[0]||0);g&&Z>=D?(T-=D,h||(ee+=e.slidesGrid[0])):g&&Z<D&&(T=-D,h&&(ee+=e.slidesGrid[0])),Object.assign(e.virtual,{from:T,to:M,offset:ee,slidesGrid:e.slidesGrid,slidesBefore:D,slidesAfter:A});function z(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),i("virtualUpdate")}if(S===T&&O===M&&!y){e.slidesGrid!==I&&ee!==x&&e.slides.forEach(me=>{me.style[L]=`${ee-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),i("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:ee,from:T,to:M,slides:function(){const Oe=[];for(let st=T;st<=M;st+=1)Oe.push(P[st]);return Oe}()}),e.params.virtual.renderExternalUpdate?z():i("virtualUpdate");return}const X=[],F=[],he=me=>{let Oe=me;return me<0?Oe=P.length+me:Oe>=P.length&&(Oe=Oe-P.length),Oe};if(y)e.slides.filter(me=>me.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(me=>{me.remove()});else for(let me=S;me<=O;me+=1)if(me<T||me>M){const Oe=he(me);e.slides.filter(st=>st.matches(`.${e.params.slideClass}[data-swiper-slide-index="${Oe}"], swiper-slide[data-swiper-slide-index="${Oe}"]`)).forEach(st=>{st.remove()})}const Pe=g?-P.length:0,We=g?P.length*2:P.length;for(let me=Pe;me<We;me+=1)if(me>=T&&me<=M){const Oe=he(me);typeof O=="undefined"||y?F.push(Oe):(me>O&&F.push(Oe),me<S&&X.push(Oe))}if(F.forEach(me=>{e.slidesEl.append(l(P[me],me))}),g)for(let me=X.length-1;me>=0;me-=1){const Oe=X[me];e.slidesEl.prepend(l(P[Oe],Oe))}else X.sort((me,Oe)=>Oe-me),X.forEach(me=>{e.slidesEl.prepend(l(P[me],me))});Nv(e.slidesEl,".swiper-slide, swiper-slide").forEach(me=>{me.style[L]=`${ee-Math.abs(e.cssOverflowAdjustment())}px`}),z()}function f(y){if(typeof y=="object"&&"length"in y)for(let m=0;m<y.length;m+=1)y[m]&&e.virtual.slides.push(y[m]);else e.virtual.slides.push(y);u(!0)}function c(y){const m=e.activeIndex;let v=m+1,h=1;if(Array.isArray(y)){for(let g=0;g<y.length;g+=1)y[g]&&e.virtual.slides.unshift(y[g]);v=m+y.length,h=y.length}else e.virtual.slides.unshift(y);if(e.params.virtual.cache){const g=e.virtual.cache,b={};Object.keys(g).forEach(w=>{const S=g[w],O=S.getAttribute("data-swiper-slide-index");O&&S.setAttribute("data-swiper-slide-index",parseInt(O,10)+h),b[parseInt(w,10)+h]=S}),e.virtual.cache=b}u(!0),e.slideTo(v,0)}function d(y){if(typeof y=="undefined"||y===null)return;let m=e.activeIndex;if(Array.isArray(y))for(let v=y.length-1;v>=0;v-=1)e.params.virtual.cache&&(delete e.virtual.cache[y[v]],Object.keys(e.virtual.cache).forEach(h=>{h>y&&(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(y[v],1),y[v]<m&&(m-=1),m=Math.max(m,0);else e.params.virtual.cache&&(delete e.virtual.cache[y],Object.keys(e.virtual.cache).forEach(v=>{v>y&&(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(y,1),y<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 y;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],y=!0,m.forEach((v,h)=>{v.setAttribute("data-swiper-slide-index",h),e.virtual.cache[h]=v,v.remove()}))}y||(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&&Fv(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:f,prependSlide:c,removeSlide:d,removeAllSlides:p,update:u})}var jv,zv,hu,Bv;function B0(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const s=jv(),a=zv();e.keyboard={enabled:!1},r({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function o(f){if(!e.enabled)return;const{rtlTranslate:c}=e;let d=f;d.originalEvent&&(d=d.originalEvent);const p=d.keyCode||d.charCode,y=e.params.keyboard.pageUpDown,m=y&&p===33,v=y&&p===34,h=p===37,g=p===39,b=p===38,w=p===40;if(!e.allowSlideNext&&(e.isHorizontal()&&g||e.isVertical()&&w||v)||!e.allowSlidePrev&&(e.isHorizontal()&&h||e.isVertical()&&b||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||g||b||w)){let S=!1;if(hu(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&hu(e.el,`.${e.params.slideActiveClass}`).length===0)return;const O=e.el,P=O.clientWidth,I=O.clientHeight,x=a.innerWidth,Z=a.innerHeight,L=Bv(O);c&&(L.left-=O.scrollLeft);const A=[[L.left,L.top],[L.left+P,L.top],[L.left,L.top+I],[L.left+P,L.top+I]];for(let D=0;D<A.length;D+=1){const T=A[D];if(T[0]>=0&&T[0]<=x&&T[1]>=0&&T[1]<=Z){if(T[0]===0&&T[1]===0)continue;S=!0}}if(!S)return}e.isHorizontal()?((m||v||h||g)&&(d.preventDefault?d.preventDefault():d.returnValue=!1),((v||g)&&!c||(m||h)&&c)&&e.slideNext(),((m||h)&&!c||(v||g)&&c)&&e.slidePrev()):((m||v||b||w)&&(d.preventDefault?d.preventDefault():d.returnValue=!1),(v||w)&&e.slideNext(),(m||b)&&e.slidePrev()),i("keyPress",p)}}function l(){e.keyboard.enabled||(s.addEventListener("keydown",o),e.keyboard.enabled=!0)}function u(){e.keyboard.enabled&&(s.removeEventListener("keydown",o),e.keyboard.enabled=!1)}n("init",()=>{e.params.keyboard.enabled&&l()}),n("destroy",()=>{e.keyboard.enabled&&u()}),Object.assign(e.keyboard,{enable:l,disable:u})}var Vv,sn,mu;function V0(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const s=Vv();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,o=sn(),l;const u=[];function f(b){let P=0,I=0,x=0,Z=0;return"detail"in b&&(I=b.detail),"wheelDelta"in b&&(I=-b.wheelDelta/120),"wheelDeltaY"in b&&(I=-b.wheelDeltaY/120
vendor: 4,293 bytes, line 92
92),"wheelDeltaX"in b&&(P=-b.wheelDeltaX/120),"axis"in b&&b.axis===b.HORIZONTAL_AXIS&&(P=I,I=0),x=P*10,Z=I*10,"deltaY"in b&&(Z=b.deltaY),"deltaX"in b&&(x=b.deltaX),b.shiftKey&&!x&&(x=Z,Z=0),(x||Z)&&b.deltaMode&&(b.deltaMode===1?(x*=40,Z*=40):(x*=800,Z*=800)),x&&!P&&(P=x<1?-1:1),Z&&!I&&(I=Z<1?-1:1),{spinX:P,spinY:I,pixelX:x,pixelY:Z}}function c(){e.enabled&&(e.mouseEntered=!0)}function d(){e.enabled&&(e.mouseEntered=!1)}function p(b){return e.params.mousewheel.thresholdDelta&&b.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&sn()-o<e.params.mousewheel.thresholdTime?!1:b.delta>=6&&sn()-o<60?!0:(b.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),i("scroll",b.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),i("scroll",b.raw)),o=new s.Date().getTime(),!1)}function y(b){const w=e.params.mousewheel;if(b.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(b){let w=b,S=!0;if(!e.enabled||b.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const O=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&&!O.releaseOnEdges)return!0;w.originalEvent&&(w=w.originalEvent);let x=0;const Z=e.rtlTranslate?-1:1,L=f(w);if(O.forceToAxis)if(e.isHorizontal())if(Math.abs(L.pixelX)>Math.abs(L.pixelY))x=-L.pixelX*Z;else return!0;else if(Math.abs(L.pixelY)>Math.abs(L.pixelX))x=-L.pixelY;else return!0;else x=Math.abs(L.pixelX)>Math.abs(L.pixelY)?-L.pixelX*Z:-L.pixelY;if(x===0)return!0;O.invert&&(x=-x);let A=e.getTranslate()+x*O.sensitivity;if(A>=e.minTranslate()&&(A=e.minTranslate()),A<=e.maxTranslate()&&(A=e.maxTranslate()),S=e.params.loop?!0:!(A===e.minTranslate()||A===e.maxTranslate()),S&&e.params.nested&&w.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const D={time:sn(),delta:Math.abs(x),direction:Math.sign(x),raw:b};u.length>=2&&u.shift();const T=u.length?u[u.length-1]:void 0;if(u.push(D),T?(D.direction!==T.direction||D.delta>T.delta||D.time>T.time+150)&&p(D):p(D),y(D))return!0}else{const D={time:sn(),delta:Math.abs(x),direction:Math.sign(x)},T=l&&D.time<l.time+500&&D.delta<=l.delta&&D.direction===l.direction;if(!T){l=void 0;let M=e.getTranslate()+x*O.sensitivity;const ee=e.isBeginning,z=e.isEnd;if(M>=e.minTranslate()&&(M=e.minTranslate()),M<=e.maxTranslate()&&(M=e.maxTranslate()),e.setTransition(0),e.setTranslate(M),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!ee&&e.isBeginning||!z&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:D.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(a),a=void 0,u.length>=15&&u.shift();const X=u.length?u[u.length-1]:void 0,F=u[0];if(u.push(D),X&&(D.delta>X.delta||D.direction!==X.direction))u.splice(0);else if(u.length>=15&&D.time-F.time<500&&F.delta-D.delta>=1&&D.delta<=6){const he=x>0?.8:.2;l=D,u.splice(0),a=mu(()=>{e.slideToClosest(e.params.speed,!0,void 0,he)},0)}a||(a=mu(()=>{l=D,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(T||i("scroll",w),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),O.releaseOnEdges&&(M===e.minTranslate()||M===e.maxTranslate()))return!0}}return w.preventDefault?w.preventDefault():w.returnValue=!1,!1}function v(b){let w=e.el;e.params.mousewheel.eventsTarget!=="container"&&(w=document.querySelector(e.params.mousewheel.eventsTarget)),w[b]("mouseenter",c),w[b]("mouseleave",d),w[b]("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 g(){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&&g(),e.params.mousewheel.enabled&&h()}),n("destroy",()=>{e.params.cssMode&&h(),e.mousewheel.enabled&&g()}),Object.assign(e.mousewheel,{enable:h,disable:g})}function $v(t,e,r,n){return t.params.createElements&&Object.keys(n).forEac
92h(i=>{if(!r[i]&&r.auto===!0){let s=ht(t.el,`.${n[i]}`)[0];s||(s=Ql("div",n[i]),s.className=n[i],t.el.append(s)),r[i]=s,e[i]=s}}),r}function Wv(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 o(m,v){const h=e.params.navigation;m=s(m),m.forEach(g=>{g&&(g.classList[v?"add":"remove"](...h.disabledClass.split(" ")),g.tagName==="BUTTON"&&(g.disabled=v),e.params.watchOverflow&&e.enabled&&g.classList[e.isLocked?"add":"remove"](h.lockClass))})}function l(){const{nextEl:m,prevEl:v}=e.navigation;if(e.params.loop){o(v,!1),o(m,!1);return}o(v,e.isBeginning&&!e.params.rewind),o(m,e.isEnd&&!e.params.rewind)}function u(m){m.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),i("navigationPrev"))}function f(m){m.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),i("navigationNext"))}function c(){const m=e.params.navigation;if(e.params.navigation=$v(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 g=(b,w)=>{b&&b.addEventListener("click",w==="next"?f:u),!e.enabled&&b&&b.classList.add(...m.lockClass.split(" "))};v.forEach(b=>g(b,"next")),h.forEach(b=>g(b,"prev"))}function d(){let{nextEl:m,prevEl:v}=e.navigation;m=s(m),v=s(v);const h=(g,b)=>{g.removeEventListener("click",b==="next"?f:u),g.classList.remove(...e.params.navigation.disabledClass.split(" "))};m.forEach(g=>h(g,"next")),v.forEach(g=>h(g,"prev"))}n("init",()=>{e.params.navigation.enabled===!1?y():(c(),l())}),n("toEdge fromEdge lock unlock",()=>{l()}),n("destroy",()=>{d()}),n("enable disable",()=>{let{nextEl:m,prevEl:v}=e.navigation;if(m=s(m),v=s(v),e.enabled){l();return}[...m,...v].filter(h=>!!h).forEach(h=>h.classList.add(e.params.navigation.lockClass))}),n("click",(m,v)=>{let{nextEl:h,prevEl:g}=e.navigation;h=s(h),g=s(g);const b=v.target;if(e.params.navigation.hideOnClick&&!g.includes(b)&&!h.includes(b)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===b||e.pagination.el.contains(b)))return;let w;h.length?w=h[0].classList.contains(e.params.navigation.hiddenClass):g.length&&(w=g[0].classList.contains(e.params.navigation.hiddenClass)),i(w===!0?"navigationShow":"navigationHide"),[...h,...g].filter(S=>!!S).forEach(S=>S.classList.toggle(e.params.navigation.hiddenClass))}});const p=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),c(),l()},y=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),d()};Object.assign(e.navigation,{enable:p,disable:y,update:l,init:c,destroy:d})}var an,Uv,vu,qv,Gv;function $0(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:g=>g,formatFractionTotal:g=>g,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,o=0;const l=g=>(Array.isArray(g)?g:[g]).filter(b=>!!b);function u(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function f(g,b){const{bulletActiveClass:w}=e.params.pagination;g&&(g=g[`${b==="prev"?"previous":"next"}ElementSibling`],g&&(g.classList.add(`${w}-${b}`),g=g[`${b==="prev"?"previous":"next"}ElementSibling`],g&&g.classList.add(`${w}-${b}-${b}`)))}function c(g){const b=g.target.closest(an(e.params.pagination.bulletClass));if(!b)return;g.preventDefault();const w=vu(b)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===w)return;const S=e.realIndex,O=e.getSlideIndexByData(w),P=e.getSlideIndexByData(e.realIndex),I=x=>{const Z=e.activeIndex;e.loopFix({direction:x,activeSlideIndex:O,slideTo:!1});const L=e.activeIndex;Z===L&&e.slideToLoop(S,0,!1,!0)};if(O>e.slides.length-e.loopedSlides)I(O>P?"next":"prev");else if(e.params.centeredSlides){const x=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(parseFloat(e.params.slidesPerView,10));O<Math.floor(x/2)&&I("prev")}e.slideToLoop(w)}else e.slideTo(w)}function d(){const g=e.rtl,b=e.params.pagination;if(u())return;let w=e.pagination.el;w=l(w);let S,O;const P=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,I=e.params.loop?Math.
92ceil(P/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(O=e.previousRealIndex||0,S=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex!="undefined"?(S=e.snapIndex,O=e.previousSnapIndex):(O=e.previousIndex||0,S=e.activeIndex||0),b.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const x=e.pagination.bullets;let Z,L,A;if(b.dynamicBullets&&(a=qv(x[0],e.isHorizontal()?"width":"height",!0),w.forEach(D=>{D.style[e.isHorizontal()?"width":"height"]=`${a*(b.dynamicMainBullets+4)}px`}),b.dynamicMainBullets>1&&O!==void 0&&(o+=S-(O||0),o>b.dynamicMainBullets-1?o=b.dynamicMainBullets-1:o<0&&(o=0)),Z=Math.max(S-o,0),L=Z+(Math.min(x.length,b.dynamicMainBullets)-1),A=(L+Z)/2),x.forEach(D=>{const T=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(M=>`${b.bulletActiveClass}${M}`)].map(M=>typeof M=="string"&&M.includes(" ")?M.split(" "):M).flat();D.classList.remove(...T)}),w.length>1)x.forEach(D=>{const T=vu(D);T===S?D.classList.add(...b.bulletActiveClass.split(" ")):e.isElement&&D.setAttribute("part","bullet"),b.dynamicBullets&&(T>=Z&&T<=L&&D.classList.add(...`${b.bulletActiveClass}-main`.split(" ")),T===Z&&f(D,"prev"),T===L&&f(D,"next"))});else{const D=x[S];if(D&&D.classList.add(...b.bulletActiveClass.split(" ")),e.isElement&&x.forEach((T,M)=>{T.setAttribute("part",M===S?"bullet-active":"bullet")}),b.dynamicBullets){const T=x[Z],M=x[L];for(let ee=Z;ee<=L;ee+=1)x[ee]&&x[ee].classList.add(...`${b.bulletActiveClass}-main`.split(" "));f(T,"prev"),f(M,"next")}}if(b.dynamicBullets){const D=Math.min(x.length,b.dynamicMainBullets+4),T=(a*D-a)/2-A*a,M=g?"right":"left";x.forEach(ee=>{ee.style[e.isHorizontal()?M:"top"]=`${T}px`})}}w.forEach((x,Z)=>{if(b.type==="fraction"&&(x.querySelectorAll(an(b.currentClass)).forEach(L=>{L.textContent=b.formatFractionCurrent(S+1)}),x.querySelectorAll(an(b.totalClass)).forEach(L=>{L.textContent=b.formatFractionTotal(I)})),b.type==="progressbar"){let L;b.progressbarOpposite?L=e.isHorizontal()?"vertical":"horizontal":L=e.isHorizontal()?"horizontal":"vertical";const A=(S+1)/I;let D=1,T=1;L==="horizontal"?D=A:T=A,x.querySelectorAll(an(b.progressbarFillClass)).forEach(M=>{M.style.transform=`translate3d(0,0,0) scaleX(${D}) scaleY(${T})`,M.style.transitionDuration=`${e.params.speed}ms`})}b.type==="custom"&&b.renderCustom?(x.innerHTML=b.renderCustom(e,S+1,I),Z===0&&i("paginationRender",x)):(Z===0&&i("paginationRender",x),i("paginationUpdate",x)),e.params.watchOverflow&&e.enabled&&x.classList[e.isLocked?"add":"remove"](b.lockClass)})}function p(){const g=e.params.pagination;if(u())return;const b=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length;let w=e.pagination.el;w=l(w);let S="";if(g.type==="bullets"){let O=e.params.loop?Math.ceil(b/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&O>b&&(O=b);for(let P=0;P<O;P+=1)g.renderBullet?S+=g.renderBullet.call(e,P,g.bulletClass):S+=`<${g.bulletElement} ${e.isElement?'part="bullet"':""} class="${g.bulletClass}"></${g.bulletElement}>`}g.type==="fraction"&&(g.renderFraction?S=g.renderFraction.call(e,g.currentClass,g.totalClass):S=`<span class="${g.currentClass}"></span> / <span class="${g.totalClass}"></span>`),g.type==="progressbar"&&(g.renderProgressbar?S=g.renderProgressbar.call(e,g.progressbarFillClass):S=`<span class="${g.progressbarFillClass}"></span>`),e.pagination.bullets=[],w.forEach(O=>{g.type!=="custom"&&(O.innerHTML=S||""),g.type==="bullets"&&e.pagination.bullets.push(...O.querySelectorAll(an(g.bulletClass)))}),g.type!=="custom"&&i("paginationRender",w[0])}function y(){e.params.pagination=Uv(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const g=e.params.pagination;if(!g.el)return;let b;typeof g.el=="string"&&e.isElement&&(b=e.el.querySelector(g.el)),!b&&typeof g.el=="string"&&(b=[...document.querySelectorAll(g.el)]),b||(b=g.el),!(!b||b.length===0)&&(e.params.uniqueNavElements&&typeof g.el=="string"&&Array.isArray(b)&&b.length>1&&(b=[...e.el.querySelectorAll(g.el)],b.length>1&&(b=b.filter(w=>Gv(w,".swiper")[0]===e.el)[0])),Array.isArray(b)&&b.length===1&&(b=b[0]),Object.assign(e.pagination,{el:b}),b=l(b),b.forEach(w=>{g.type==="bullets"&&g.clickable&&w.classList.add(...(g.clickableClass||"").split(" ")),w.classList.add(g.modifierClass+g.type),w.classList.add(e.isHorizontal()?g.horizontalClass:g.verticalClass),g.type==="bullets"&&g.dynamicBullets&&(w.classList.add(`${g.modifierClass}${g.type}-dynamic`),o=0,g.dynamicMainBullets<1&&(g.dynamicMainBullets=1)),g.type==="progressbar"&&g.progressbarOpposite&&w.classList.add(g.progressbarOppositeClass),g.clickable&&w.addEventListener("click",c),e.enabled||w.classList.add(g.lockClass)}))}function m(){const g=e.params.pagination;if(u())return;let b=e.pagination.el;b&&(b=l(b),b.forEach(w=>{w.classList.remove(g.hiddenClass),w.classList.remove(g.modifierClass+g.type),w.classList.remove(e.isHorizontal()?g.horizontalClass:g.verticalClass),g.clickable&&(w.classList.remove(...(g.clickableClass||"").split(" ")),w.removeEventListener("click",c))}
92)),e.pagination.bullets&&e.pagination.bullets.forEach(w=>w.classList.remove(...g.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const g=e.params.pagination;let{el:b}=e.pagination;b=l(b),b.forEach(w=>{w.classList.remove(g.horizontalClass,g.verticalClass),w.classList.add(e.isHorizontal()?g.horizontalClass:g.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?h():(y(),p(),d())}),n("activeIndexChange",()=>{typeof e.snapIndex=="undefined"&&d()}),n("snapIndexChange",()=>{d()}),n("snapGridLengthChange",()=>{p(),d()}),n("destroy",()=>{m()}),n("enable disable",()=>{let{el:g}=e.pagination;g&&(g=l(g),g.forEach(b=>b.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{d()}),n("click",(g,b)=>{const w=b.target,S=l(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&S&&S.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 O=S[0].classList.contains(e.params.pagination.hiddenClass);i(O===!0?"paginationShow":"paginationHide"),S.forEach(P=>P.classList.toggle(e.params.pagination.hiddenClass))}});const v=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:g}=e.pagination;g&&(g=l(g),g.forEach(b=>b.classList.remove(e.params.pagination.paginationDisabledClass))),y(),p(),d()},h=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:g}=e.pagination;g&&(g=l(g),g.forEach(b=>b.classList.add(e.params.pagination.paginationDisabledClass))),m()};Object.assign(e.pagination,{enable:v,disable:h,render:p,update:d,init:y,destroy:m})}var Qv,Yv,Hv,Xv,Kv;function W0(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const s=Qv();let a=!1,o=null,l=null,u,f,c,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:A,rtlTranslate:D}=e,{dragEl:T,el:M}=A,ee=e.params.scrollbar,z=e.params.loop?e.progressLoop:e.progress;let X=f,F=(c-f)*z;D?(F=-F,F>0?(X=f-F,F=0):-F+f>c&&(X=c+F)):F<0?(X=f+F,F=0):F+f>c&&(X=c-F),e.isHorizontal()?(T.style.transform=`translate3d(${F}px, 0, 0)`,T.style.width=`${X}px`):(T.style.transform=`translate3d(0px, ${F}px, 0)`,T.style.height=`${X}px`),ee.hide&&(clearTimeout(o),M.style.opacity=1,o=setTimeout(()=>{M.style.opacity=0,M.style.transitionDuration="400ms"},1e3))}function y(A){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${A}ms`)}function m(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:A}=e,{dragEl:D,el:T}=A;D.style.width="",D.style.height="",c=e.isHorizontal()?T.offsetWidth:T.offsetHeight,d=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?f=c*d:f=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?D.style.width=`${f}px`:D.style.height=`${f}px`,d>=1?T.style.display="none":T.style.display="",e.params.scrollbar.hide&&(T.style.opacity=0),e.params.watchOverflow&&e.enabled&&A.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function v(A){return e.isHorizontal()?A.clientX:A.clientY}function h(A){const{scrollbar:D,rtlTranslate:T}=e,{el:M}=D;let ee;ee=(v(A)-Yv(M)[e.isHorizontal()?"left":"top"]-(u!==null?u:f/2))/(c-f),ee=Math.max(Math.min(ee,1),0),T&&(ee=1-ee);const z=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*ee;e.updateProgress(z),e.setTranslate(z),e.updateActiveIndex(),e.updateSlidesClasses()}function g(A){const D=e.params.scrollbar,{scrollbar:T,wrapperEl:M}=e,{el:ee,dragEl:z}=T;a=!0,u=A.target===z?v(A)-A.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,A.preventDefault(),A.stopPropagation(),M.style.transitionDuration="100ms",z.style.transitionDuration="100ms",h(A),clearTimeout(l),ee.style.transitionDuration="0ms",D.hide&&(ee.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),i("scrollbarDragStart",A)}function b(A){const{scrollbar:D,wrapperEl:T}=e,{el:M,dragEl:ee}=D;a&&(A.preventDefault?A.preventDefault():A.returnValue=!1,h(A),T.style.transitionDuration="0ms",M.style.transitionDuration="0ms",ee.style.transitionDuration="0ms",i("scrollbarDragMove",A))}function w(A){const D=e.params.scrollbar,{scrollbar:T,wrapperEl:M}=e,{el:ee}=T;a&&(a=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",M.style.transitionDuration=""),D.hide&&(clearTimeout(l),l=Hv(()=>{ee.style.opacity=0,ee.style.transitionDuration="400ms"},1e3)),i("scrollbarDragEnd",A),D.snapOnRelease&&e.slideToClosest())}function S(A){const{scrollbar:D,params:T}=e,M=D.el;if(!M)return;const ee=M,z=T.passiveListeners?{passive:!1,capture:!1}:!1,X=T.passiveListeners?{passive:!0,capture:!1}:!1;if(!ee)return;const F=A==="on"?"addEventListener":"removeEventListener";ee[F]("pointerdown",g,z),s[F]("pointermove",b,z),s[F]("pointerup",w,X)}function O(){!e.params.scrollbar.el||!e.scrollbar.el||S("on")}function P(){!e.params.scrollbar.el||!e.scrollbar.el||S("off")}function I(){const{scrollbar:A,el:D}=e;e.params.scrollbar=Kv(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const T=e.params.scrollbar;if(!T.el)return;let M;typeof T.el=="string"&&e.isElement&&(M=e.el.querySelector(T.el)),!M&&typeof T.el=="string"?M=s.querySelectorAll(T.el):M||(M=T.el),e.params.uniqueNavElements&&typeof T.el=="string"&&M.length>1&&D.querySelectorAll(T.el).length===1&&(M=D.querySelector(T.el)),M.length>0&&(M=M[0]),M.classList.add(e.isHorizontal()?T.horizontalClass:T.verticalClass);let ee;M&&(ee=M.querySelector(`.${e.params.scrollbar.dragClass}`),ee||(ee=Xv("div",e.params.scrollbar.dragClass),M.append(ee))),Object.assign(A,{el:M,dragEl:ee}),T.draggable&&O(),M&&M.classList[e.enabled?"remove":"add"](e.params.scrollbar.lockClass)}function x(){const A=e.params.scrollbar,D=e.scrollbar.el;D&&D.classList.remove(e.isHorizontal()?A.horizontalClass:A.verticalClass),P()}n("init",()=>{e.params.scrollbar.enabled===!1?L():(I(),m(),p())}),n("update resize observerUpdate lock unlock",()=>{m()}),n("setTranslate",()=>{p()}),n("setTransition",(A,D)=>{y(D)}),n("enable disable",()=>{const{el:A}=e.scrollbar;A&&A.classList[e.enabled?"remove":"add"](e.params.scrollbar.lockClass)}),n("destroy",()=>{x()});const Z=()=>{e.el.classList.remove(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.el&&e.scrollbar.el.classList.remove(e.params.scrollbar.scrollbarDisabledClass),I(),m(),p()},L=()=>{e.el.classList.add(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.el&&e.scrollbar.el.classList.add(e.params.scrollbar.scrollbarDisabledClass),x()};Object.assign(e.scrollbar,{enable:Z,disable:L,updateSize:m,setTranslate:p,init:I,destroy:x})}var gu;function U0(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=(l,u)=>{const{rtl:f}=e,c=f?-1:1,d=l.getAttribute("data-swiper-parallax")||"0";let p=l.getAttribute("data-swiper-parallax-x"),y=l.getAttribute("data-swiper-parallax-y");const m=l.getAttribute("data-swiper-parallax-scale"),v=l.getAttribute("data-swiper-parallax-opacity"),h=l.getAttribute("data-swiper-parallax-rotate");if(p||y?(p=p||"0",y=y||"0"):e.isHorizontal()?(p=d,y="0"):(y=d,p="0"),p.indexOf("%")>=0?p=`${parseInt(p,10)*u*c}%`:p=`${p*u*c}px`,y.indexOf("%")>=0?y=`${parseInt(y,10)*u}%`:y=`${y*u}px`,typeof v!="undefined"&&v!==null){const b=v-(v-1)*(1-Math.abs(u));l.style.opacity=b}let g=`translate3d(${p}, ${y}, 0px)`;if(typeof m!="undefined"&&m!==null){const b=m-(m-1)*(1-Math.abs(u));g+=` scale(${b})`}if(h&&typeof h!="undefined"&&h!==null){const b=h*u*-1;g+=` rotate(${b}deg)`}l.style.transform=g},a=()=>{const{el:l,slides:u,progress:f,snapGrid:c,isElement:d}=e,p=gu(l,i);e.isElement&&p.push(...gu(e.hostEl,i)),p.forEach(y=>{s(y,f)}),u.forEach((y,m)=>{let v=y.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(v+=Math.ceil(m/2)-f*(c.length-1)),v=Math.min(Math.max(v,-1),1),y.querySelectorAll(`${i}, [data-swiper-parallax-rotate]`).forEach(h=>{s(h,v)})})},o=function(l){l===void 0&&(l=e.params.speed);const{el:u,hostEl:f}=e,c=[...u.querySelectorAll(i)];
92e.isElement&&c.push(...f.querySelectorAll(i)),c.forEach(d=>{let p=parseInt(d.getAttribute("data-swiper-parallax-duration"),10)||l;l===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",(l,u)=>{e.params.parallax.enabled&&o(u)})}var Jv,Ts,yu,bu,Eu;function q0(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const s=Jv();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,o=!1,l,u;const f=[],c={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 y=1;Object.defineProperty(e.zoom,"scale",{get(){return y},set(z){if(y!==z){const X=c.imageEl,F=c.slideEl;i("zoomChange",z,X,F)}y=z}});function m(){if(f.length<2)return 1;const z=f[0].pageX,X=f[0].pageY,F=f[1].pageX,he=f[1].pageY;return Math.sqrt((F-z)**2+(he-X)**2)}function v(){if(f.length<2)return{x:null,y:null};const z=c.imageEl.getBoundingClientRect();return[(f[0].pageX+(f[1].pageX-f[0].pageX)/2-z.x-s.scrollX)/a,(f[0].pageY+(f[1].pageY-f[0].pageY)/2-z.y-s.scrollY)/a]}function h(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function g(z){const X=h();return!!(z.target.matches(X)||e.slides.filter(F=>F.contains(z.target)).length>0)}function b(z){const X=`.${e.params.zoom.containerClass}`;return!!(z.target.matches(X)||[...e.hostEl.querySelectorAll(X)].filter(F=>F.contains(z.target)).length>0)}function w(z){if(z.pointerType==="mouse"&&f.splice(0,f.length),!g(z))return;const X=e.params.zoom;if(l=!1,u=!1,f.push(z),!(f.length<2)){if(l=!0,c.scaleStart=m(),!c.slideEl){c.slideEl=z.target.closest(`.${e.params.slideClass}, swiper-slide`),c.slideEl||(c.slideEl=e.slides[e.activeIndex]);let F=c.slideEl.querySelector(`.${X.containerClass}`);if(F&&(F=F.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),c.imageEl=F,F?c.imageWrapEl=Ts(c.imageEl,`.${X.containerClass}`)[0]:c.imageWrapEl=void 0,!c.imageWrapEl){c.imageEl=void 0;return}c.maxRatio=c.imageWrapEl.getAttribute("data-swiper-zoom")||X.maxRatio}if(c.imageEl){const[F,he]=v();c.originX=F,c.originY=he,c.imageEl.style.transitionDuration="0ms"}o=!0}}function S(z){if(!g(z))return;const X=e.params.zoom,F=e.zoom,he=f.findIndex(Pe=>Pe.pointerId===z.pointerId);he>=0&&(f[he]=z),!(f.length<2)&&(u=!0,c.scaleMove=m(),c.imageEl&&(F.scale=c.scaleMove/c.scaleStart*a,F.scale>c.maxRatio&&(F.scale=c.maxRatio-1+(F.scale-c.maxRatio+1)**.5),F.scale<X.minRatio&&(F.scale=X.minRatio+1-(X.minRatio-F.scale+1)**.5),c.imageEl.style.transform=`translate3d(0,0,0) scale(${F.scale})`))}function O(z){if(!g(z)||z.pointerType==="mouse"&&z.type==="pointerout")return;const X=e.params.zoom,F=e.zoom,he=f.findIndex(Pe=>Pe.pointerId===z.pointerId);he>=0&&f.splice(he,1),!(!l||!u)&&(l=!1,u=!1,c.imageEl&&(F.scale=Math.max(Math.min(F.scale,c.maxRatio),X.minRatio),c.imageEl.style.transitionDuration=`${e.params.speed}ms`,c.imageEl.style.transform=`translate3d(0,0,0) scale(${F.scale})`,a=F.scale,o=!1,F.scale>1&&c.slideEl?c.slideEl.classList.add(`${X.zoomedSlideClass}`):F.scale<=1&&c.slideEl&&c.slideEl.classList.remove(`${X.zoomedSlideClass}`),F.scale===1&&(c.originX=0,c.originY=0,c.slideEl=void 0)))}function P(z){const X=e.device;if(!c.imageEl||d.isTouched)return;X.android&&z.cancelable&&z.preventDefault(),d.isTouched=!0;const F=f.length>0?f[0]:z;d.touchesStart.x=F.pageX,d.touchesStart.y=F.pageY}function I(z){if(!g(z)||!b(z))return;const X=e.zoom;if(!c.imageEl||!d.isTouched||!c.slideEl)return;d.isMoved||(d.width=c.imageEl.offsetWidth,d.height=c.imageEl.offsetHeight,d.startX=yu(c.imageWrapEl,"x")||0,d.startY=yu(c.imageWrapEl,"y")||0,c.slideWidth=c.slideEl.offsetWidth,c.slideHeight=c.slideEl.offsetHeight,c.imageWrapEl.style.transitionDuration="0ms");const F=d.width*X.scale,he=d.height*X.scale;if(F<c.slideWidth&&he<c.slideHeight)return;if(d.minX=Math.min(c.slideWidth/2-F/2,0),d.maxX=-d.minX,d.minY=Math.min(c.slideHeight/2-he/2,0),d.maxY=-d.minY,d.touchesCurrent.x=f.length>0?f[0].pageX:z.pageX,d.touchesCurrent.y=f.length>0?f[0].pageY:z.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&&!o){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}}z.cancelable&&z.preventDefault(),z.stopPropagation(),d.isMoved=!0;
92const We=(X.scale-a)/(c.maxRatio-e.params.zoom.minRatio),{originX:me,originY:Oe}=c;d.currentX=d.touchesCurrent.x-d.touchesStart.x+d.startX+We*(d.width-me*2),d.currentY=d.touchesCurrent.y-d.touchesStart.y+d.startY+We*(d.height-Oe*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(),c.imageWrapEl.style.transform=`translate3d(${d.currentX}px, ${d.currentY}px,0)`}function x(){const z=e.zoom;if(!c.imageEl)return;if(!d.isTouched||!d.isMoved){d.isTouched=!1,d.isMoved=!1;return}d.isTouched=!1,d.isMoved=!1;let X=300,F=300;const he=p.x*X,Pe=d.currentX+he,We=p.y*F,me=d.currentY+We;p.x!==0&&(X=Math.abs((Pe-d.currentX)/p.x)),p.y!==0&&(F=Math.abs((me-d.currentY)/p.y));const Oe=Math.max(X,F);d.currentX=Pe,d.currentY=me;const st=d.width*z.scale,wt=d.height*z.scale;d.minX=Math.min(c.slideWidth/2-st/2,0),d.maxX=-d.minX,d.minY=Math.min(c.slideHeight/2-wt/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),c.imageWrapEl.style.transitionDuration=`${Oe}ms`,c.imageWrapEl.style.transform=`translate3d(${d.currentX}px, ${d.currentY}px,0)`}function Z(){const z=e.zoom;c.slideEl&&e.activeIndex!==e.slides.indexOf(c.slideEl)&&(c.imageEl&&(c.imageEl.style.transform="translate3d(0,0,0) scale(1)"),c.imageWrapEl&&(c.imageWrapEl.style.transform="translate3d(0,0,0)"),c.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),z.scale=1,a=1,c.slideEl=void 0,c.imageEl=void 0,c.imageWrapEl=void 0,c.originX=0,c.originY=0)}function L(z){const X=e.zoom,F=e.params.zoom;if(!c.slideEl){z&&z.target&&(c.slideEl=z.target.closest(`.${e.params.slideClass}, swiper-slide`)),c.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?c.slideEl=bu(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:c.slideEl=e.slides[e.activeIndex]);let fn=c.slideEl.querySelector(`.${F.containerClass}`);fn&&(fn=fn.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),c.imageEl=fn,fn?c.imageWrapEl=Ts(c.imageEl,`.${F.containerClass}`)[0]:c.imageWrapEl=void 0}if(!c.imageEl||!c.imageWrapEl)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),c.slideEl.classList.add(`${F.zoomedSlideClass}`);let he,Pe,We,me,Oe,st,wt,Zt,Nu,Fu,ju,zu,Xn,Kn,ks,Rs,Ls,Ns;typeof d.touchesStart.x=="undefined"&&z?(he=z.pageX,Pe=z.pageY):(he=d.touchesStart.x,Pe=d.touchesStart.y);const cn=typeof z=="number"?z:null;a===1&&cn&&(he=void 0,Pe=void 0),X.scale=cn||c.imageWrapEl.getAttribute("data-swiper-zoom")||F.maxRatio,a=cn||c.imageWrapEl.getAttribute("data-swiper-zoom")||F.maxRatio,z&&!(a===1&&cn)?(Ls=c.slideEl.offsetWidth,Ns=c.slideEl.offsetHeight,We=Eu(c.slideEl).left+s.scrollX,me=Eu(c.slideEl).top+s.scrollY,Oe=We+Ls/2-he,st=me+Ns/2-Pe,Nu=c.imageEl.offsetWidth,Fu=c.imageEl.offsetHeight,ju=Nu*X.scale,zu=Fu*X.scale,Xn=Math.min(Ls/2-ju/2,0),Kn=Math.min(Ns/2-zu/2,0),ks=-Xn,Rs=-Kn,wt=Oe*X.scale,Zt=st*X.scale,wt<Xn&&(wt=Xn),wt>ks&&(wt=ks),Zt<Kn&&(Zt=Kn),Zt>Rs&&(Zt=Rs)):(wt=0,Zt=0),cn&&X.scale===1&&(c.originX=0,c.originY=0),c.imageWrapEl.style.transitionDuration="300ms",c.imageWrapEl.style.transform=`translate3d(${wt}px, ${Zt}px,0)`,c.imageEl.style.transitionDuration="300ms",c.imageEl.style.transform=`translate3d(0,0,0) scale(${X.scale})`}function A(){const z=e.zoom,X=e.params.zoom;if(!c.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?c.slideEl=bu(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:c.slideEl=e.slides[e.activeIndex];let F=c.slideEl.querySelector(`.${X.containerClass}`);F&&(F=F.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),c.imageEl=F,F?c.imageWrapEl=Ts(c.imageEl,`.${X.containerClass}`)[0]:c.imageWrapEl=void 0}!c.imageEl||!c.imageWrapEl||(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),z.scale=1,a=1,c.imageWrapEl.style.transitionDuration="300ms",c.imageWrapEl.style.transform="translate3d(0,
920,0)",c.imageEl.style.transitionDuration="300ms",c.imageEl.style.transform="translate3d(0,0,0) scale(1)",c.slideEl.classList.remove(`${X.zoomedSlideClass}`),c.slideEl=void 0,c.originX=0,c.originY=0)}function D(z){const X=e.zoom;X.scale&&X.scale!==1?A():L(z)}function T(){const z=e.params.passiveListeners?{passive:!0,capture:!1}:!1,X=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:z,activeListenerWithCapture:X}}function M(){const z=e.zoom;if(z.enabled)return;z.enabled=!0;const{passiveListener:X,activeListenerWithCapture:F}=T();e.wrapperEl.addEventListener("pointerdown",w,X),e.wrapperEl.addEventListener("pointermove",S,F),["pointerup","pointercancel","pointerout"].forEach(he=>{e.wrapperEl.addEventListener(he,O,X)}),e.wrapperEl.addEventListener("pointermove",I,F)}function ee(){const z=e.zoom;if(!z.enabled)return;z.enabled=!1;const{passiveListener:X,activeListenerWithCapture:F}=T();e.wrapperEl.removeEventListener("pointerdown",w,X),e.wrapperEl.removeEventListener("pointermove",S,F),["pointerup","pointercancel","pointerout"].forEach(he=>{e.wrapperEl.removeEventListener(he,O,X)}),e.wrapperEl.removeEventListener("pointermove",I,F)}n("init",()=>{e.params.zoom.enabled&&M()}),n("destroy",()=>{ee()}),n("touchStart",(z,X)=>{e.zoom.enabled&&P(X)}),n("touchEnd",(z,X)=>{e.zoom.enabled&&x()}),n("doubleTap",(z,X)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&D(X)}),n("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&Z()}),n("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&Z()}),Object.assign(e.zoom,{enable:M,disable:ee,in:L,out:A,toggle:D})}var Zv,eg;function G0(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,f){const c=function(){let m,v,h;return(g,b)=>{for(v=-1,m=g.length;m-v>1;)h=m+v>>1,g[h]<=b?v=h:m=h;return m}}();this.x=u,this.y=f,this.lastIndex=u.length-1;let d,p;return this.interpolate=function(m){return m?(p=c(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,f){const c=e.controller.control;let d,p;const y=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(c))for(let v=0;v<c.length;v+=1)c[v]!==f&&c[v]instanceof y&&m(c[v]);else c instanceof y&&f!==c&&m(c)}function o(u,f){const c=e.constructor,d=e.controller.control;let p;function y(m){m.destroyed||(m.setTransition(u,e),u!==0&&(m.transitionStart(),m.params.autoHeight&&Zv(()=>{m.updateAutoHeight()}),eg(m.wrapperEl,()=>{d&&m.transitionEnd()})))}if(Array.isArray(d))for(p=0;p<d.length;p+=1)d[p]!==f&&d[p]instanceof c&&y(d[p]);else d instanceof c&&f!==d&&y(d)}function l(){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 f=c=>{e.controller.control=c.detail[0],e.update(),u.removeEventListener("init",f)};u.addEventListener("init",f)}return}e.controller.control=e.params.controller.control}),n("update",()=>{l()}),n("resize",()=>{l()}),n("observerUpdate",()=>{l()}),n("setTranslate",(u,f,c)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(f,c)}),n("setTransition",(u,f,c)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(f,c)}),Object.assign(e.controller,{setTranslate:a,setTransition:o})}var Ss,tg,rg;function Q0(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(T){const M=i;M.length!==0&&(M.innerHTML="",M.innerHTML=T)}const a=T=>(Array.isArray(T)?T:[T]).filter(M=>!!M);function o(T){T===void 0&&(T=16);const M=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(T).replace(/x/g,M)}function l(T){T=a(T),T.forEach(M=>{M.setAttribute("tabIndex","0")})}function u(T){T=a(T),T.forEach(M=>{M.setAttribute("tabIndex","-1")})}function f(T,M){T=a(T),T.forEach(ee=>{ee.setAttribute("role",M)})}function c(T,M){T=a(T),T.forEach(ee=>{ee.setAttribute("aria-roledescription",M)})}function d(T,M){T=a(T),T.forEach(ee=>{ee.setAttribute("aria-controls",M)})}function p(T,M){T=a(T),T.forEach(ee=>{ee.setAttribute("aria-label",M)})}function y(T,M){T=a(T),T.forEach(ee=>{ee.setAttribute("id",M)})}function m(T,M){T=a(T),T.forEach(ee=>{ee.setAttribute("aria-live",M)})}function v(T){T=a(T),T.forEach(M=>{M.setAttribute("aria-disabled",!0)})}function h(T){T=a(T),T.forEach(M=>{M.setAttribute("aria-disabled",!1)})}function g(T){if(T.keyCode!==13&&T.keyCode!==32)return;const M=e.params.a11y,ee=T.target;e.pagination&&e.pagination.el&&(ee===e.pagination.el||e.pagination.el.contains(T.target))&&!T.target.matches(Ss(e.params.pagination.bulletClass))||(e.navigation&&e.navigation.nextEl&&ee===e.navigation.nextEl&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?s(M.lastSlideMessage):s(M.nextSlideMessage)),e.navigation&&e.navigation.prevEl&&ee===e.navigation.prevEl&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?s(M.firstSlideMessage):s(M.prevSlideMessage)),e.pagination&&ee.matches(Ss(e.params.pagination.bulletClass))&&ee.click())}function b(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:T,prevEl:M}=e.navigation;M&&(e.isBeginning?(v(M),u(M)):(h(M),l(M))),T&&(e.isEnd?(v(T),u(T)):(h(T),l(T)))}function w(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function S(){return w()&&e.params.pagination.clickable}function O(){const T=e.params.a11y;
92w()&&e.pagination.bullets.forEach(M=>{e.params.pagination.clickable&&(l(M),e.params.pagination.renderBullet||(f(M,"button"),p(M,T.paginationBulletMessage.replace(/\{\{index\}\}/,tg(M)+1)))),M.matches(Ss(e.params.pagination.bulletActiveClass))?M.setAttribute("aria-current","true"):M.removeAttribute("aria-current")})}const P=(T,M,ee)=>{l(T),T.tagName!=="BUTTON"&&(f(T,"button"),T.addEventListener("keydown",g)),p(T,ee),d(T,M)},I=()=>{e.a11y.clicked=!0},x=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},Z=T=>{if(e.a11y.clicked)return;const M=T.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!M||!e.slides.includes(M))return;const ee=e.slides.indexOf(M)===e.activeIndex,z=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(M);ee||z||T.sourceCapabilities&&T.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,e.slideTo(e.slides.indexOf(M),0))},L=()=>{const T=e.params.a11y;T.itemRoleDescriptionMessage&&c(e.slides,T.itemRoleDescriptionMessage),T.slideRole&&f(e.slides,T.slideRole);const M=e.slides.length;T.slideLabelMessage&&e.slides.forEach((ee,z)=>{const X=e.params.loop?parseInt(ee.getAttribute("data-swiper-slide-index"),10):z,F=T.slideLabelMessage.replace(/\{\{index\}\}/,X+1).replace(/\{\{slidesLength\}\}/,M);p(ee,F)})},A=()=>{const T=e.params.a11y;e.el.append(i);const M=e.el;T.containerRoleDescriptionMessage&&c(M,T.containerRoleDescriptionMessage),T.containerMessage&&p(M,T.containerMessage);const ee=e.wrapperEl,z=T.id||ee.getAttribute("id")||`swiper-wrapper-${o(16)}`,X=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";y(ee,z),m(ee,X),L();let{nextEl:F,prevEl:he}=e.navigation?e.navigation:{};F=a(F),he=a(he),F&&F.forEach(Pe=>P(Pe,z,T.nextSlideMessage)),he&&he.forEach(Pe=>P(Pe,z,T.prevSlideMessage)),S()&&(Array.isArray(e.pagination.el)?e.pagination.el:[e.pagination.el]).forEach(We=>{We.addEventListener("keydown",g)}),e.el.addEventListener("focus",Z,!0),e.el.addEventListener("pointerdown",I,!0),e.el.addEventListener("pointerup",x,!0)};function D(){i&&i.remove();let{nextEl:T,prevEl:M}=e.navigation?e.navigation:{};T=a(T),M=a(M),T&&T.forEach(ee=>ee.removeEventListener("keydown",g)),M&&M.forEach(ee=>ee.removeEventListener("keydown",g)),S()&&(Array.isArray(e.pagination.el)?e.pagination.el:[e.pagination.el]).forEach(z=>{z.removeEventListener("keydown",g)}),e.el.removeEventListener("focus",Z,!0),e.el.removeEventListener("pointerdown",I,!0),e.el.removeEventListener("pointerup",x,!0)}n("beforeInit",()=>{i=rg("span",e.params.a11y.notificationClass),i.setAttribute("aria-live","assertive"),i.setAttribute("aria-atomic","true")}),n("afterInit",()=>{e.params.a11y.enabled&&A()}),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&L()}),n("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&b()}),n("paginationUpdate",()=>{e.params.a11y.enabled&&O()}),n("destroy",()=>{e.params.a11y.enabled&&D()})}var Un;function Y0(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(/-+$/,""),o=p=>{const y=Un();let m;p?m=new URL(p):m=y.location;const v=m.pathname.slice(1).split("/").filter(w=>w!==""),h=v.length,g=v[h-2],b=v[h-1];return{key:g,value:b}},l=(p,y)=>{const m=Un();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[y];let g=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)),g=`${w}/${p?`${p}/`:""}${g}`}else v.pathname.includes(p)||(g=`${p?`${p}/`:""}${g}`);e.params.history.keepQuery&&(g+=v.search);const b=m.history.state;b&&b.value===g||(e.params.history.replaceState?m.history.replaceState({value:g},null,g):m.history.pushState({value:g},null,g))},u=(p,y,m)=>{if(y)for(let v=0,h=e.slides.length;v<h;v+=1){const g=e.slides[v];if(a(g.getAttribute("data-history"))===y){const w=e.getSlideIndex(g);
92e.slideTo(w,p,m)}}else e.slideTo(0,p,m)},f=()=>{s=o(e.params.url),u(e.params.speed,s.value,!1)},c=()=>{const p=Un();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=o(e.params.url),!s.key&&!s.value){e.params.history.replaceState||p.addEventListener("popstate",f);return}u(0,s.value,e.params.runCallbacksOnInit),e.params.history.replaceState||p.addEventListener("popstate",f)}},d=()=>{const p=Un();e.params.history.replaceState||p.removeEventListener("popstate",f)};n("init",()=>{e.params.history.enabled&&c()}),n("destroy",()=>{e.params.history.enabled&&d()}),n("transitionEnd _freeModeNoMomentumRelease",()=>{i&&l(e.params.history.key,e.activeIndex)}),n("slideChange",()=>{i&&e.params.cssMode&&l(e.params.history.key,e.activeIndex)})}var ng,ig,sg;function H0(t){let{swiper:e,extendParams:r,emit:n,on:i}=t,s=!1;const a=ng(),o=ig();r({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(d,p){if(e.virtual&&e.params.virtual.enabled){const y=e.slides.filter(v=>v.getAttribute("data-hash")===p)[0];return y?parseInt(y.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex(sg(e.slidesEl,`.${e.params.slideClass}[data-hash="${p}"], swiper-slide[data-hash="${p}"]`)[0])}}});const l=()=>{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],y=p?p.getAttribute("data-hash"):"";if(d!==y){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&&o.history&&o.history.replaceState?(o.history.replaceState(null,null,`#${p}`||""),n("hashSet")):(a.location.hash=p||"",n("hashSet"))},f=()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;s=!0;const d=a.location.hash.replace("#","");if(d){const y=e.params.hashNavigation.getSlideIndex(e,d);e.slideTo(y||0,0,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&o.addEventListener("hashchange",l)},c=()=>{e.params.hashNavigation.watchState&&o.removeEventListener("hashchange",l)};i("init",()=>{e.params.hashNavigation.enabled&&f()}),i("destroy",()=>{e.params.hashNavigation.enabled&&c()}),i("transitionEnd _freeModeNoMomentumRelease",()=>{s&&u()}),i("slideChange",()=>{s&&e.params.cssMode&&u()})}var xs;function X0(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,o,l=s&&s.autoplay?s.autoplay.delay:3e3,u=s&&s.autoplay?s.autoplay.delay:3e3,f,c=new Date().getTime,d,p,y,m,v,h;function g(z){!e||e.destroyed||!e.wrapperEl||z.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",g),x())}const b=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?d=!0:d&&(u=f,d=!1);const z=e.autoplay.paused?f:c+u-new Date().getTime();e.autoplay.timeLeft=z,i("autoplayTimeLeft",z,z/l),o=requestAnimationFrame(()=>{b()})},w=()=>{let z;return e.virtual&&e.params.virtual.enabled?z=e.slides.filter(F=>F.classList.contains("swiper-slide-active"))[0]:z=e.slides[e.activeIndex],z?parseInt(z.getAttribute("data-swiper-autoplay"),10):void 0},S=z=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(o),b();let X=typeof z=="undefined"?e.params.autoplay.delay:z;l=e.params.autoplay.delay,u=e.params.autoplay.delay;const F=w();!Number.isNaN(F)&&F>0&&typeof z=="undefined"&&(X=F,l=F,u=F),f=X;const he=e.params.speed,Pe=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(he,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,he,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(he,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,he,!0,!0),i("autoplay")),e.params.cssMode&&(c=new Date().getTime(),requestAnimationFrame(()=>{S()})))};return X>0?(clearTimeout(a),a=setTimeout(()=>{Pe()},X)):requestAnimationFrame(()=>{Pe()}),X},O=()=>{e.autoplay.running=!0,S(),i("autoplayStart")},P=()=>
92{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(o),i("autoplayStop")},I=(z,X)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),z||(h=!0);const F=()=>{i("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",g):x()};if(e.autoplay.paused=!0,X){v&&(f=e.params.autoplay.delay),v=!1,F();return}f=(f||e.params.autoplay.delay)-(new Date().getTime()-c),!(e.isEnd&&f<0&&!e.params.loop)&&(f<0&&(f=0),F())},x=()=>{e.isEnd&&f<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(c=new Date().getTime(),h?(h=!1,S(f)):S(),e.autoplay.paused=!1,i("autoplayResume"))},Z=()=>{if(e.destroyed||!e.autoplay.running)return;const z=xs();z.visibilityState==="hidden"&&(h=!0,I(!0)),z.visibilityState==="visible"&&x()},L=z=>{z.pointerType==="mouse"&&(h=!0,!(e.animating||e.autoplay.paused)&&I(!0))},A=z=>{z.pointerType==="mouse"&&e.autoplay.paused&&x()},D=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",L),e.el.addEventListener("pointerleave",A))},T=()=>{e.el.removeEventListener("pointerenter",L),e.el.removeEventListener("pointerleave",A)},M=()=>{xs().addEventListener("visibilitychange",Z)},ee=()=>{xs().removeEventListener("visibilitychange",Z)};n("init",()=>{e.params.autoplay.enabled&&(D(),M(),c=new Date().getTime(),O())}),n("destroy",()=>{T(),ee(),e.autoplay.running&&P()}),n("beforeTransitionStart",(z,X,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,y=!1,h=!1,m=setTimeout(()=>{h=!0,y=!0,I(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!p)){if(clearTimeout(m),clearTimeout(a),e.params.autoplay.disableOnInteraction){y=!1,p=!1;return}y&&e.params.cssMode&&x(),y=!1,p=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(v=!0)}),Object.assign(e.autoplay,{start:O,stop:P,pause:I,resume:x})}var ag,og,lg;function K0(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 f=u.clickedIndex,c=u.clickedSlide;if(c&&c.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof f=="undefined"||f===null)return;let d;u.params.loop?d=parseInt(u.clickedSlide.getAttribute("data-swiper-slide-index"),10):d=f,e.params.loop?e.slideToLoop(d):e.slideTo(d)}function o(){const{thumbs:u}=e.params;if(i)return!1;i=!0;const f=e.constructor;if(u.swiper instanceof f)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}),e.thumbs.swiper.update();else if(og(u.swiper)){const c=Object.assign({},u.swiper);Object.assign(c,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new f(c),s=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",a),!0}function l(u){const f=e.thumbs.swiper;if(!f||f.destroyed)return;const c=f.params.slidesPerView==="auto"?f.slidesPerViewDynamic():f.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),f.slides.forEach(v=>v.classList.remove(p)),f.params.loop||f.params.virtual&&f.params.virtual.enabled)for(let v=0;v<d;v+=1)lg(f.slidesEl,`[data-swiper-slide-index="${e.realIndex+v}"]`).forEach(h=>{h.classList.add(p)});else for(let v=0;v<d;v+=1)f.slides[e.realIndex+v]&&f.slides[e.realIndex+v].classList.add(p);const y=e.params.thumbs.autoScrollOffset,m=y&&!f.params.loop;if(e.realIndex!==f.realIndex||m){const v=f.activeIndex;let h,g;if(f.params.loop){const b=f.slides.filter(w=>w.getAttribute("data-swiper-slide-index")===`${e.realIndex}`)[0];h=f.slides.indexOf(b),g=e.activeIndex>e.previousIndex?"next":"prev"}else h=e.realIndex,g=h>e.previousIndex?"next":"prev";m&&(h+=g==="next"?y:-1*y),f.visibleSlidesIndexes&&f.visibleSlidesIndexes.indexOf(h)<0&&(f.params.centeredSlides?h>v?h=h-Math.floor(c/2)+1:h=h+Math.floor(c/2)-1:h>v&&f.params.slidesPerGroup,f.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 f=ag(),c=()=>{const p=typeof u.swiper=="string"?f.querySelector(u.swiper):u.swiper;if(p&&p.swiper)u.swiper=p.swiper,o(),l(!0);else if(p){const y=m=>{u.swiper=m.detail[0],p.removeEventListener("init",y),o(),l(!0),u.swiper.update(
92),e.update()};p.addEventListener("init",y)}return p},d=()=>{if(e.destroyed)return;c()||requestAnimationFrame(d)};requestAnimationFrame(d)}else o(),l(!0)}),n("slideChange update resize observerUpdate",()=>{l()}),n("setTransition",(u,f)=>{const c=e.thumbs.swiper;!c||c.destroyed||c.setTransition(f)}),n("beforeDestroy",()=>{const u=e.thumbs.swiper;!u||u.destroyed||s&&u.destroy()}),Object.assign(e.thumbs,{init:o,update:l})}var Os,Cs;function J0(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 l=e.getTranslate();e.setTranslate(l),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:l,touches:u}=e;l.velocities.length===0&&l.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:l.touchStartTime}),l.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:Os()})}function o(l){let{currentPos:u}=l;if(e.params.cssMode)return;const{params:f,wrapperEl:c,rtlTranslate:d,snapGrid:p,touchEventsData:y}=e,v=Os()-y.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(f.freeMode.momentum){if(y.velocities.length>1){const I=y.velocities.pop(),x=y.velocities.pop(),Z=I.position-x.position,L=I.time-x.time;e.velocity=Z/L,e.velocity/=2,Math.abs(e.velocity)<f.freeMode.minimumVelocity&&(e.velocity=0),(L>150||Os()-I.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=f.freeMode.momentumVelocityRatio,y.velocities.length=0;let h=1e3*f.freeMode.momentumRatio;const g=e.velocity*h;let b=e.translate+g;d&&(b=-b);let w=!1,S;const O=Math.abs(e.velocity)*20*f.freeMode.momentumBounceRatio;let P;if(b<e.maxTranslate())f.freeMode.momentumBounce?(b+e.maxTranslate()<-O&&(b=e.maxTranslate()-O),S=e.maxTranslate(),w=!0,y.allowMomentumBounce=!0):b=e.maxTranslate(),f.loop&&f.centeredSlides&&(P=!0);else if(b>e.minTranslate())f.freeMode.momentumBounce?(b-e.minTranslate()>O&&(b=e.minTranslate()+O),S=e.minTranslate(),w=!0,y.allowMomentumBounce=!0):b=e.minTranslate(),f.loop&&f.centeredSlides&&(P=!0);else if(f.freeMode.sticky){let I;for(let x=0;x<p.length;x+=1)if(p[x]>-b){I=x;break}Math.abs(p[I]-b)<Math.abs(p[I-1]-b)||e.swipeDirection==="next"?b=p[I]:b=p[I-1],b=-b}if(P&&i("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(d?h=Math.abs((-b-e.translate)/e.velocity):h=Math.abs((b-e.translate)/e.velocity),f.freeMode.sticky){const I=Math.abs((d?-b:b)-e.translate),x=e.slidesSizesGrid[e.activeIndex];I<x?h=f.speed:I<2*x?h=f.speed*1.5:h=f.speed*2.5}}else if(f.freeMode.sticky){e.slideToClosest();return}f.freeMode.momentumBounce&&w?(e.updateProgress(S),e.setTransition(h),e.setTranslate(b),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Cs(c,()=>{!e||e.destroyed||!y.allowMomentumBounce||(n("momentumBounce"),e.setTransition(f.speed),setTimeout(()=>{e.setTranslate(S),Cs(c,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(b),e.setTransition(h),e.setTranslate(b),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Cs(c,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(b),e.updateActiveIndex(),e.updateSlidesClasses()}else if(f.freeMode.sticky){e.slideToClosest();return}else f.freeMode&&n("_freeModeNoMomentumRelease");(!f.freeMode.momentum||v>=f.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:s,onTouchMove:a,onTouchEnd:o}})}var ug;function Z0(t,e){const r=ug(e);return r!==e&&(r.style.backfaceVisibility="hidden",r.style["-webkit-backface-visibility"]="hidden"),r}var cg;function eb(t){let{swiper:e,duration:r,transformElements:n,allSlides:i}=t;const{activeIndex:s}=e,a=o=>o.parentElement?o.parentElement:e.slides.filter(u=>u.shadowRoot&&u.shadowRoot===o.parentNode)[0];if(e.params.virtualTranslate&&r!==0){let o=!1,l;i?l=n:l=n.filter(u=>{const f=u.classList.contains("swiper-slide-transform")?a(u):u;return e.getSlideIndex(f)===s}),l.forEach(u=>{cg(u,()=>{if(o||!e||e.destroyed)return;o=!0,e.animating=!1;const f=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});
92e.wrapperEl.dispatchEvent(f)})})}}var fg,dg,pg,hg;function tb(t){let{swiper:e,extendParams:r,on:n}=t;r({fadeEffect:{crossFade:!1}}),fg({effect:"fade",swiper:e,on:n,setTranslate:()=>{const{slides:a}=e,o=e.params.fadeEffect;for(let l=0;l<a.length;l+=1){const u=e.slides[l];let c=-u.swiperSlideOffset;e.params.virtualTranslate||(c-=e.translate);let d=0;e.isHorizontal()||(d=c,c=0);const p=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(u.progress),0):1+Math.min(Math.max(u.progress,-1),0),y=dg(o,u);y.style.opacity=p,y.style.transform=`translate3d(${c}px, ${d}px, 0px)`}},setTransition:a=>{const o=e.slides.map(l=>hg(l));o.forEach(l=>{l.style.transitionDuration=`${a}ms`}),pg({swiper:e,duration:a,transformElements:o,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}var mg,qn;function rb(t){let{swiper:e,extendParams:r,on:n}=t;r({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=(l,u,f)=>{let c=f?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),d=f?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");c||(c=qn("div",`swiper-slide-shadow-cube swiper-slide-shadow-${f?"left":"top"}`.split(" ")),l.append(c)),d||(d=qn("div",`swiper-slide-shadow-cube swiper-slide-shadow-${f?"right":"bottom"}`.split(" ")),l.append(d)),c&&(c.style.opacity=Math.max(-u,0)),d&&(d.style.opacity=Math.max(u,0))};mg({effect:"cube",swiper:e,on:n,setTranslate:()=>{const{el:l,wrapperEl:u,slides:f,width:c,height:d,rtlTranslate:p,size:y,browser:m}=e,v=e.params.cubeEffect,h=e.isHorizontal(),g=e.virtual&&e.params.virtual.enabled;let b=0,w;v.shadow&&(h?(w=e.wrapperEl.querySelector(".swiper-cube-shadow"),w||(w=qn("div","swiper-cube-shadow"),e.wrapperEl.append(w)),w.style.height=`${c}px`):(w=l.querySelector(".swiper-cube-shadow"),w||(w=qn("div","swiper-cube-shadow"),l.append(w))));for(let O=0;O<f.length;O+=1){const P=f[O];let I=O;g&&(I=parseInt(P.getAttribute("data-swiper-slide-index"),10));let x=I*90,Z=Math.floor(x/360);p&&(x=-x,Z=Math.floor(-x/360));const L=Math.max(Math.min(P.progress,1),-1);let A=0,D=0,T=0;I%4===0?(A=-Z*4*y,T=0):(I-1)%4===0?(A=0,T=-Z*4*y):(I-2)%4===0?(A=y+Z*4*y,T=y):(I-3)%4===0&&(A=-y,T=3*y+y*4*Z),p&&(A=-A),h||(D=A,A=0);const M=`rotateX(${h?0:-x}deg) rotateY(${h?x:0}deg) translate3d(${A}px, ${D}px, ${T}px)`;L<=1&&L>-1&&(b=I*90+L*90,p&&(b=-I*90-L*90)),P.style.transform=M,v.slideShadows&&i(P,L,h)}if(u.style.transformOrigin=`50% 50% -${y/2}px`,u.style["-webkit-transform-origin"]=`50% 50% -${y/2}px`,v.shadow)if(h)w.style.transform=`translate3d(0px, ${c/2+v.shadowOffset}px, ${-c/2}px) rotateX(90deg) rotateZ(0deg) scale(${v.shadowScale})`;else{const O=Math.abs(b)-Math.floor(Math.abs(b)/90)*90,P=1.5-(Math.sin(O*2*Math.PI/360)/2+Math.cos(O*2*Math.PI/360)/2),I=v.shadowScale,x=v.shadowScale/P,Z=v.shadowOffset;w.style.transform=`scale3d(${I}, 1, ${x}) translate3d(0px, ${d/2+Z}px, ${-d/2/x}px) rotateX(-90deg)`}const S=(m.isSafari||m.isWebView)&&m.needPerspectiveFix?-y/2:0;u.style.transform=`translate3d(0px,0,${S}px) rotateX(${e.isHorizontal()?0:b}deg) rotateY(${e.isHorizontal()?-b:0}deg)`,u.style.setProperty("--swiper-cube-translate-z",`${S}px`)},setTransition:l=>{const{el:u,slides:f}=e;if(f.forEach(c=>{c.style.transitionDuration=`${l}ms`,c.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(d=>{d.style.transitionDuration=`${l}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){const c=u.querySelector(".swiper-cube-shadow");c&&(c.style.transitionDuration=`${l}ms`)}},recreateShadows:()=>{const l=e.isHorizontal();e.slides.forEach(u=>{const f=Math.max(Math.min(u.progress,1),-1);i(u,f,l)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}var vg,gg;function nb(t,e,r){const n=`swiper-slide-shadow${r?`-${r}`:""}${t?` swiper-slide-shadow-${t}`:""}`,i=vg(e);let s=i.querySelector(`.${n.split(" ").join(".")}`);return s||(s=gg("div",n.split(" ")),i.append(s)),s}var wu,yg,bg,Eg,wg;function ib(t){let{swiper:e,extendParams:r,on:n}=t;r({flipEffect:{slideShadows:!0,limitRotation:!0}});const i=(l,u)=>{let f=e.isHorizontal()?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),c=e.isHorizontal()?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");f||(f=wu("flip",l,e.isHorizontal()?"left":"top")),c||(c=wu("flip",l,e.isHorizontal()?"right":"bottom")),f&&(f.style.opacity=Math.max(-u,0)),c&&(c.style.opacity=Math.max(u,0))};yg({effect:"flip",swiper:e,on:n,setTranslate:()=>{const{slides:l,rtlTranslate:u}=e,f=e.params.flipEffect;for(let c=0;c<l.length;c+=1){const d=l[c];let p=d.progress;e.params.flipEffect.limitRotation&&(p=Math.max(Math.min(d.progress,
921),-1));const y=d.swiperSlideOffset;let v=-180*p,h=0,g=e.params.cssMode?-y-e.translate:-y,b=0;e.isHorizontal()?u&&(v=-v):(b=g,g=0,h=-v,v=0),d.style.zIndex=-Math.abs(Math.round(p))+l.length,f.slideShadows&&i(d,p);const w=`translate3d(${g}px, ${b}px, 0px) rotateX(${h}deg) rotateY(${v}deg)`,S=bg(f,d);S.style.transform=w}},setTransition:l=>{const u=e.slides.map(f=>wg(f));u.forEach(f=>{f.style.transitionDuration=`${l}ms`,f.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(c=>{c.style.transitionDuration=`${l}ms`})}),Eg({swiper:e,duration:l,transformElements:u})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(l=>{let u=l.progress;e.params.flipEffect.limitRotation&&(u=Math.max(Math.min(l.progress,1),-1)),i(l,u)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}var _u,_g,Tg,Sg;function sb(t){let{swiper:e,extendParams:r,on:n}=t;r({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),_g({effect:"coverflow",swiper:e,on:n,setTranslate:()=>{const{width:a,height:o,slides:l,slidesSizesGrid:u}=e,f=e.params.coverflowEffect,c=e.isHorizontal(),d=e.translate,p=c?-d+a/2:-d+o/2,y=c?f.rotate:-f.rotate,m=f.depth;for(let v=0,h=l.length;v<h;v+=1){const g=l[v],b=u[v],w=g.swiperSlideOffset,S=(p-w-b/2)/b,O=typeof f.modifier=="function"?f.modifier(S):S*f.modifier;let P=c?y*O:0,I=c?0:y*O,x=-m*Math.abs(O),Z=f.stretch;typeof Z=="string"&&Z.indexOf("%")!==-1&&(Z=parseFloat(f.stretch)/100*b);let L=c?0:Z*O,A=c?Z*O:0,D=1-(1-f.scale)*Math.abs(O);Math.abs(A)<.001&&(A=0),Math.abs(L)<.001&&(L=0),Math.abs(x)<.001&&(x=0),Math.abs(P)<.001&&(P=0),Math.abs(I)<.001&&(I=0),Math.abs(D)<.001&&(D=0);const T=`translate3d(${A}px,${L}px,${x}px) rotateX(${I}deg) rotateY(${P}deg) scale(${D})`,M=Tg(f,g);if(M.style.transform=T,g.style.zIndex=-Math.abs(Math.round(O))+1,f.slideShadows){let ee=c?g.querySelector(".swiper-slide-shadow-left"):g.querySelector(".swiper-slide-shadow-top"),z=c?g.querySelector(".swiper-slide-shadow-right"):g.querySelector(".swiper-slide-shadow-bottom");ee||(ee=_u("coverflow",g,c?"left":"top")),z||(z=_u("coverflow",g,c?"right":"bottom")),ee&&(ee.style.opacity=O>0?O:0),z&&(z.style.opacity=-O>0?-O:0)}}},setTransition:a=>{e.slides.map(l=>
92Sg(l)).forEach(l=>{l.style.transitionDuration=`${a}ms`,l.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 xg,Og,Cg,Pg,Dg;function ab(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=o=>typeof o=="string"?o:`${o}px`;Og({effect:"creative",swiper:e,on:n,setTranslate:()=>{const{slides:o,wrapperEl:l,slidesSizesGrid:u}=e,f=e.params.creativeEffect,{progressMultiplier:c}=f,d=e.params.centeredSlides;if(d){const p=u[0]/2-e.params.slidesOffsetBefore||0;l.style.transform=`translateX(calc(50% - ${p}px))`}for(let p=0;p<o.length;p+=1){const y=o[p],m=y.progress,v=Math.min(Math.max(y.progress,-f.limitProgress),f.limitProgress);let h=v;d||(h=Math.min(Math.max(y.originalProgress,-f.limitProgress),f.limitProgress));const g=y.swiperSlideOffset,b=[e.params.cssMode?-g-e.translate:-g,0,0],w=[0,0,0];let S=!1;e.isHorizontal()||(b[1]=b[0],b[0]=0);let O={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};v<0?(O=f.next,S=!0):v>0&&(O=f.prev,S=!0),b.forEach((D,T)=>{b[T]=`calc(${D}px + (${i(O.translate[T])} * ${Math.abs(v*c)}))`}),w.forEach((D,T)=>{w[T]=O.rotate[T]*Math.abs(v*c)}),y.style.zIndex=-Math.abs(Math.round(m))+o.length;const P=b.join(", "),I=`rotateX(${w[0]}deg) rotateY(${w[1]}deg) rotateZ(${w[2]}deg)`,x=h<0?`scale(${1+(1-O.scale)*h*c})`:`scale(${1-(1-O.scale)*h*c})`,Z=h<0?1+(1-O.opacity)*h*c:1-(1-O.opacity)*h*c,L=`translate3d(${P}) ${I} ${x}`;if(S&&O.shadow||!S){let D=y.querySelector(".swiper-slide-shadow");if(!D&&O.shadow&&(D=xg("creative",y)),D){const T=f.shadowPerProgress?v*(1/f.limitProgress):v;D.style.opacity=Math.min(Math.max(Math.abs(T),0),1)}}const A=Cg(f,y);A.style.transform=L,A.style.opacity=Z,O.origin&&(A.style.transformOrigin=O.origin)}},setTransition:o=>{const l=e.slides.map(u=>Dg(u));l.forEach(u=>{u.style.transitionDuration=`${o}ms`,u.querySelectorAll(".swiper-slide-shadow").forEach(f=>{f.style.transitionDuration=`${o}ms`})}),Pg({swiper:e,duration:o,transformElements:l,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}var Mg,Ag,Ig,kg,Rg;function ob(t){let{swiper:e,extendParams:r,on:n}=t;r({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),Ag({effect:"cards",swiper:e,on:n,setTranslate:()=>{const{slides:a,activeIndex:o,rtlTranslate:l}=e,u=e.params.cardsEffect,{startTranslate:f,isTouched:c}=e.touchEventsData,d=l?-e.translate:e.translate;for(let p=0;p<a.length;p+=1){const y=a[p],m=y.progress,v=Math.min(Math.max(m,-4),4);let h=y.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 g=e.params.cssMode?-h-e.translate:-h,b=0;const w=-100*Math.abs(v);let S=1,O=-u.perSlideRotate*v,P=u.perSlideOffset-Math.abs(v)*.75;const I=e.virtual&&e.params.virtual.enabled?e.virtual.from+p:p,x=(I===o||I===o-1)&&v>0&&v<1&&(c||e.params.cssMode)&&d<f,Z=(I===o||I===o+1)&&v<0&&v>-1&&(c||e.params.cssMode)&&d>f;if(x||Z){const T=(1-Math.abs((Math.abs(v)-.5)/.5))**.5;O+=-28*v*T,S+=-.5*T,P+=96*T,b=`${-25*T*Math.abs(v)}%`}if(v<0?g=`calc(${g}px ${l?"-":"+"} (${P*Math.abs(v)}%))`:v>0?g=`calc(${g}px ${l?"-":"+"} (-${P*Math.abs(v)}%))`:g=`${g}px`,!e.isHorizontal()){const T=b;b=g,g=T}const L=v<0?`${1+(1-S)*v}`:`${1-(1-S)*v}`,A=` 93 translate3d(${g}, ${b}, ${w}px) 94 rotateZ(${u.rotate?l?-O:O:0}deg) 95 scale(${L}) 96 `;if(u.slideShadows){let T=y.querySelector(".swiper-slide-shadow");T||(T=Mg("cards",y)),T&&(T.style.opacity=Math.min(Math.max((Math.abs(v)-.5)/.5,0),1))}y.style.zIndex=-Math.abs(Math.round(m))+a.length;const D=Ig(u,y);D.style.transform=A}},setTransition:a=>{const o=e.slides.map(l=>Rg(l));o.forEach(l=>{l.style.transitionDuration=`${a}ms`,l.querySelectorAll(".swiper-slide-shadow").forEach(u=>{u.style.transitionDuration=`${a}ms`})}),kg({swiper:e,duration:a,transformElements:o})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}const Tu=el().div` 97--swiper-navigation-sides-offset: 0.2rem; 98--swiper-navigation-size: 1.5rem; 99--swiper-navigation-color: #fff; 100width: 2.4rem !important; 101height: 2.4rem !important; 102display: inline-flex; 103flex-flow: y-flex y-flex-row y-flex-wrap wrap;
104justify-content: center; 105align-items: center; 106background-color: rgba(75,85,99,.7); 107border-radius: 9999px; 108@media screen and (min-width: 1024px) { 109 --swiper-navigation-sides-offset: 0.2rem; 110} `,Lg=({children:t})=>{const e=(0,de.useRef)(null),r=(0,de.useRef)(null),n={modules:[Wv],direction:"horizontal",loop:!1,slidesPerView:"auto",autoplay:!0,speed:400,spaceBetween:30,navigation:{enabled:!0,disabledClass:"!y-hidden",nextEl:e==null?void 0:e.current,prevEl:r==null?void 0:r.current},breakpoints:{1:{navigation:{enabled:!0,disabledClass:"!y-hidden",nextEl:e==null?void 0:e.current,prevEl:r==null?void 0:r.current}},1024:{slidesPerView:"auto",spaceBetween:15,navigation:{enabled:!0,disabledClass:"!y-hidden",nextEl:e==null?void 0:e.current,prevEl:r==null?void 0:r.current}}}};return(0,C.jsx)("div",{className:"y-relative y-w-full y-block",children:(0,C.jsxs)(fu,{...n,onBeforeInit:i=>{i.params.navigation.prevEl=r.current,i.params.navigation.nextEl=e.current,i.params.breakpoints[1].navigation.prevEl=r.current,i.params.breakpoints[1].navigation.nextEl=e.current,i.params.breakpoints[1024].navigation.prevEl=r.current,i.params.breakpoints[1024].navigation.nextEl=e.current},onAfterInit:i=>{i.params.navigation.prevEl=r.current,i.params.navigation.nextEl=e.current,i.navigation.prevEl=r.current,i.navigation.nextEl=e.current,i.params.breakpoints[1].navigation.prevEl=r.current,i.params.breakpoints[1].navigation.nextEl=e.current,i.params.breakpoints[1024].navigation.prevEl=r.current,i.params.breakpoints[1024].navigation.nextEl=e.current},onResize:i=>{i.params.navigation.prevEl=r.current,i.params.navigation.nextEl=e.current,i.navigation.prevEl=r.current,i.navigation.nextEl=e.current,i.params.breakpoints[1].navigation.prevEl=r.current,i.params.breakpoints[1].navigation.nextEl=e.current,i.params.breakpoints[1024].navigation.prevEl=r.current,i.params.breakpoints[1024].navigation.nextEl=e.current},children:[(0,ut.map)(t,(i,s)=>(0,C.jsx)(du,{className:"!y-py-4 max-w-xs",children:i},`product-carousel-slide-${s}`)),(0,C.jsx)("div",{slot:"container-start",children:(0,C.jsx)(Tu,{ref:r,className:"swiper-button-prev"})}),(0,C.jsx)("div",{slot:"container-end",children:(0,C.jsx)(Tu,{ref:e,className:"swiper-button-next"})})]})})};function Ng(t){return typeof t=="object"&&t!==null}function Fg(t,e){if(!Boolean(t))throw new Error(e!=null?e:"Unexpected invariant triggered.")}const jg=/\r\n|[\n\r]/g;function Ps(t,e){let r=0,n=1;for(const i of t.body.matchAll(jg)){if(typeof i.index=="number"||Fg(!1),i.index>=e)break;r=i.index+i[0].length,n+=1}return{line:n,column:e+1-r}}function zg(t){return Su(t.source,Ps(t.source,t.start))}function Su(t,e){const r=t.locationOffset.column-1,n="".padStart(r)+t.body,i=e.line-1,s=t.locationOffset.line-1,a=e.line+s,o=e.line===1?r:0,l=e.column+o,u=`${t.name}:${a}:${l} 111`,f=n.split(/\r\n|[\n\r]/g),c=f[i];if(c.length>120){const d=Math.floor(l/80),p=l%80,y=[];for(let m=0;m<c.length;m+=80)y.push(c.slice(m,m+80));return u+xu([[`${a} |`,y[0]],...y.slice(1,d+1).map(m=>["|",m]),["|","^".padStart(p)],["|",y[d+1]]])}return u+xu([[`${a-1} |`,f[i-1]],[`${a} |`,c],["|","^".padStart(l)],[`${a+1} |`,f[i+1]]])}function xu(t){const e=t.filter(([n,i])=>i!==void 0),r=Math.max(...e.map(([n])=>n.length));return e.map(([n,i])=>n.padStart(r)+(i?" "+i:"")).join(` 112`)}function Bg(t){const e=t[0];return e==null||"kind"in e||"length"in e?{nodes:e,source:t[1],positions:t[2],path:t[3],originalError:t[4],extensions:t[5]}:e}class Ds extends Error{constructor(e,...r){var n,i,s;const{nodes:a,source:o,positions:l,path:u,originalError:f,extensions:c}=Bg(r);super(e),this.name="GraphQLError",this.path=u!=null?u:void 0,this.originalError=f!=null?f:void 0,this.nodes=Ou(Array.isArray(a)?a:a?[a]:void 0);const d=Ou((n=this.nodes)===null||n===void 0?void 0:n.map(y=>y.loc).filter(y=>y!=null));this.source=o!=null?o:d==null||(i=d[0])===null||i===void 0?void 0:i.source,this.positions=l!=null?l:d==null?void 0:d.map(y=>y.start),this.locations=l&&o?l.map(y=>Ps(o,y)):d==null?void 0:d.map(y=>Ps(y.source,y.start));const p=Ng(f==null?void 0:f.extensions)?f==null?void 0:f.extensions:void 0;this.extensions=(s=c!=null?c:p)!==null&&s!==void 0?s:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),f!=null&&f.stack?Object.defineProperty(this,"stack",{value:f.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,Ds):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const r of this.nodes)r.loc&&(e+=` 113 114`+zg(r.loc));else if(this.source&&this.locations)for(const r of this.locations)e+=` 115 116`+Su(this.source,r);return e}toJSON(){const e={message:this.message};return this.locations!=null&&(e.locations=this.locations),this.path!=null&&(e.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function Ou(t){return t===void 0||t.length===0?void 0:t}function ub(t){return t.toString()}function cb(t){return t.toJSON()}function Ue(t,e,r){return new Ds(`Syntax Error: ${r}`,{source:t,positions:[e]})}var Ms;(function(t){t.QUERY="QUERY",t.MUTATION="MUTATION",t.SUBSCRIPTION="SUBSCRIPTION",t.FIELD="FIELD",t.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",t.FRAGMENT_SPREAD="FRAGMENT_SPREAD",t.INLINE_FRAGMENT="INLINE_FRAGMENT",t.VARIABLE_DEFINITION="VARIABLE_DEFINITION",t.SCHEMA="SCHEMA",t.SCALAR="SCALAR",t.OBJECT="OBJECT",t.FIELD_DEFINITION="FIELD_DEFINITION",t.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",t.INTERFACE="INTERFACE",t.UNION="UNION",t.ENUM="ENUM",t.ENUM_VALUE="ENUM_VALUE",t.INPUT_OBJECT="INPUT_OBJECT",t.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",t.DIRECTIVE_DEFINITION="DIRECTIVE_DEFINITION"})(Ms||(Ms={}));var U;(function(t){t.SOF="<SOF>",t.EOF="<EOF>",t.BANG="!",t.DOLLAR="$",t.AMP="&",t.PAREN_L="(",t.PAREN_R=")",t.DOT=".",t.SPREAD="...",t.COLON=":",t.EQUALS="=",t.AT="@",t.BRACKET_L="[",t.BRACKET_R="]",t.BRACE_L="{",t.PIPE="|",t.BRACE_R="}
116",t.NAME="Name",t.INT="Int",t.FLOAT="Float",t.STRING="String",t.BLOCK_STRING="BlockString",t.COMMENT="Comment"})(U||(U={}));class Vg{constructor(e){const r=new Hs(U.SOF,0,0,0,0);this.source=e,this.lastToken=r,this.token=r,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==U.EOF)do if(e.next)e=e.next;else{const r=Wg(this,e.end);e.next=r,r.prev=e,e=r}while(e.kind===U.COMMENT);return e}}function $g(t){return t===U.BANG||t===U.DOLLAR||t===U.AMP||t===U.PAREN_L||t===U.PAREN_R||t===U.DOT||t===U.SPREAD||t===U.COLON||t===U.EQUALS||t===U.AT||t===U.BRACKET_L||t===U.BRACKET_R||t===U.BRACE_L||t===U.PIPE||t===U.BRACE_R}function Or(t){return t>=0&&t<=55295||t>=57344&&t<=1114111}function Gn(t,e){return Cu(t.charCodeAt(e))&&Pu(t.charCodeAt(e+1))}function Cu(t){return t>=55296&&t<=56319}function Pu(t){return t>=56320&&t<=57343}function Jt(t,e){const r=t.source.body.codePointAt(e);if(r===void 0)return U.EOF;if(r>=32&&r<=126){const n=String.fromCodePoint(r);return n==='"'?`'"'`:`"${n}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function $e(t,e,r,n,i){const s=t.line,a=1+r-t.lineStart;return new Hs(e,r,n,s,a,i)}function Wg(t,e){const r=t.source.body,n=r.length;let i=e;for(;i<n;){const s=r.charCodeAt(i);switch(s){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++t.line,t.lineStart=i;continue;case 13:r.charCodeAt(i+1)===10?i+=2:++i,++t.line,t.lineStart=i;continue;case 35:return Ug(t,i);case 33:return $e(t,U.BANG,i,i+1);case 36:return $e(t,U.DOLLAR,i,i+1);case 38:return $e(t,U.AMP,i,i+1);case 40:return $e(t,U.PAREN_L,i,i+1);case 41:return $e(t,U.PAREN_R,i,i+1);case 46:if(r.charCodeAt(i+1)===46&&r.charCodeAt(i+2)===46)return $e(t,U.SPREAD,i,i+3);break;case 58:return $e(t,U.COLON,i,i+1);case 61:return $e(t,U.EQUALS,i,i+1);case 64:return $e(t,U.AT,i,i+1);case 91:return $e(t,U.BRACKET_L,i,i+1);case 93:return $e(t,U.BRACKET_R,i,i+1);case 123:return $e(t,U.BRACE_L,i,i+1);case 124:return $e(t,U.PIPE,i,i+1);case 125:return $e(t,U.BRACE_R,i,i+1);case 34:return r.charCodeAt(i+1)===34&&r.charCodeAt(i+2)===34?Xg(t,i):Gg(t,i)}if(Ur(s)||s===45)return qg(t,i,s);if(Za(s))return Kg(t,i);throw Ue(t.source,i,s===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:Or(s)||Gn(r,i)?`Unexpected character: ${Jt(t,i)}.`:`Invalid character: ${Jt(t,i)}.`)}return $e(t,U.EOF,n,n)}function Ug(t,e){const r=t.source.body,n=r.length;let i=e+1;for(;i<n;){const s=r.charCodeAt(i);if(s===10||s===13)break;if(Or(s))++i;else if(Gn(r,i))i+=2;else break}return $e(t,U.COMMENT,e,i,r.slice(e+1,i))}function qg(t,e,r){const n=t.source.body;let i=e,s=r,a=!1;if(s===45&&(s=n.charCodeAt(++i)),s===48){if(s=n.charCodeAt(++i),Ur(s))throw Ue(t.source,i,`Invalid number, unexpected digit after 0: ${Jt(t,i)}.`)}else i=As(t,i,s),s=n.charCodeAt(i);if(s===46&&(a=!0,s=n.charCodeAt(++i),i=As(t,i,s),s=n.charCodeAt(i)),(s===69||s===101)&&(a=!0,s=n.charCodeAt(++i),(s===43||s===45)&&(s=n.charCodeAt(++i)),i=As(t,i,s),s=n.charCodeAt(i)),s===46||Za(s))throw Ue(t.source,i,`Invalid number, expected digit but got: ${Jt(t,i)}.`);return $e(t,a?U.FLOAT:U.INT,e,i,n.slice(e,i))}function As(t,e,r){if(!Ur(r))throw Ue(t.source,e,`Invalid number, expected digit but got: ${Jt(t,e)}.`);const n=t.source.body;let i=e+1;for(;Ur(n.charCodeAt(i));)++i;return i}function Gg(t,e){const r=t.source.body,n=r.length;let i=e+1,s=i,a="";for(;i<n;){const o=r.charCodeAt(i);if(o===34)return a+=r.slice(s,i),$e(t,U.STRING,e,i+1,a);if(o===92){a+=r.slice(s,i);const l=r.charCodeAt(i+1)===117?r.charCodeAt(i+2)===123?Qg(t,i):Yg(t,i):Hg(t,i);a+=l.value,i+=l.size,s=i;continue}if(o===10||o===13)break;if(Or(o))++i;else if(Gn(r,i))i+=2;else throw Ue(t.source,i,`Invalid character within String: ${Jt(t,i)}.`)}throw Ue(t.source,i,"Unterminated string.")}function Qg(t,e){const r=t.source.body;let n=0,i=3;for(;i<12;){const s=r.charCodeAt(e+i++);if(s===125){if(i<5||!Or(n))break;return{value:String.fromCodePoint(n),size:i}}if(n=n<<4|on(s),n<0)break}throw Ue(t.source,e,`Invalid Unicode escape sequence: "${r.slice(e,e+i)}".`)}function Yg(t,e){const r=t.source.body,n=Du(r,e+2);if(Or(n))return{value:String.fromCodePoint(n),size:6};if(Cu(n)&&r.charCodeAt(e+6)===92&&r.charCodeAt(e+7)===117){const i=Du(r,e+8);if(Pu(i))return{value:String.fromCodePoint(n,i),size:12}}throw Ue(t.source,e,`Invalid Unicode escape sequence: "${r.slice(e,e+6)}".`)}function Du(t,e){return on(t.charCodeAt(e))<<12|on(t.charCodeAt(e+1))<<8|on(t.charCodeAt(e+2))<<4|on(t.charCodeAt(e+3))}function on(t){return t>=48&&t<=57?t-48:t>=65&&t<=70?t-55:t>=97&&t<=102?t-87:-1}function Hg(t,e){const r=t.source.body;switch(r.charCodeAt(e+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` 117`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw Ue(t.source,e,`Invalid character escape sequence: "${r.slice(e,e+2)}".`)}function Xg(t,e){const r=t.source.body,n=r.length;let i=t.lineStart,s=e+3,a=s,o="";const l=[];for(;s<n;){const u=r.charCodeAt(s);if(u===34&&r.charCodeAt(s+1)===34&&r.charCodeAt(s+2)===34){o+=r.slice(a,s),l.push(o);const f=$e(t,U.BLOCK_STRING,e,s+3,dd(l).join(` 118`));return t.line+=l.length-1,t.lineStart=i,f}if(u===92&&r.charCodeAt(s+1)===34&&r.charCodeAt(s+2)===34&&r.charCodeAt(s+3)===34){o+=r.slice(a,s),a=s+1,s+=4;continue}if(u===10||u===13){o+=r.slice(a,s),l.push(o),u===13&&r.charCodeAt(s+1)===10?s+=2:++s,o="",a=s,i=s;continue}if(Or(u))++s;else if(Gn(r,s))s+=2;else throw Ue(t.source,s,`Invalid character within String: ${Jt(t,s)}.`)}throw Ue(t.source,s,"Unterminated string.")}function Kg(t,e){const r=t.source.body,n=r.length;let i=e+1;for(;i<n;){const s=r.charCodeAt(i);if(fd(s))++i;else break}return $e(t,U.NAME,e,i,r.slice(e,i))}const Jg=globalThis.process&&!0?function(e,r){return e instanceof r}:function(e,r){if(e instanceof r)return!0;
118if(typeof e=="object"&&e!==null){var n;const i=r.prototype[Symbol.toStringTag],s=Symbol.toStringTag in e?e[Symbol.toStringTag]:(n=e.constructor)===null||n===void 0?void 0:n.name;if(i===s){const a=si(e);throw new Error(`Cannot use ${i} "${a}" from another module or realm. 119 120Ensure that there is only one instance of "graphql" in the node_modules 121directory. If different versions of "graphql" are the dependencies of other 122relied on modules, use "resolutions" to ensure only one version is installed. 123 124https://yarnpkg.com/en/docs/selective-version-resolutions 125 126Duplicate "graphql" modules cannot be used at the same time since different 127versions may have different capabilities and behavior. The data from one 128version used in the function from another could produce confusing and 129spurious results.`)}}return!1};class Mu{constructor(e,r="GraphQL request",n={line:1,column:1}){typeof e=="string"||yn(!1,`Body must be a string. Received: ${si(e)}.`),this.body=e,this.name=r,this.locationOffset=n,this.locationOffset.line>0||yn(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||yn(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function Zg(t){return Jg(t,Mu)}var ey,ty,ry,jt;function ny(t,e){const r=new ln(t,e),n=r.parseDocument();return Object.defineProperty(n,"tokenCount",{enumerable:!1,value:r.tokenCount}),n}function db(t,e){const r=new ln(t,e);r.expectToken(jt.SOF);const n=r.parseValueLiteral(!1);return r.expectToken(jt.EOF),n}function pb(t,e){const r=new ln(t,e);r.expectToken(jt.SOF);const n=r.parseConstValueLiteral();return r.expectToken(jt.EOF),n}function hb(t,e){const r=new ln(t,e);r.expectToken(jt.SOF);const n=r.parseTypeReference();return r.expectToken(jt.EOF),n}function mb(t){const e=ty(t)?t:new ry(t),r=new ey(e),n=new ln(t,{lexer:r});n.expectToken(jt.SOF);const i=n.parseSchemaCoordinate();return n.expectToken(jt.EOF),i}class ln{constructor(e,r={}){const{lexer:n,...i}=r;if(n)this._lexer=n;else{const s=Zg(e)?e:new Mu(e);this._lexer=new Vg(s)}this._options=i,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const e=this.expectToken(U.NAME);return this.node(e,{kind:ae.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:ae.DOCUMENT,definitions:this.many(U.SOF,this.parseDefinition,U.EOF)})}parseDefinition(){if(this.peek(U.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),r=e?this._lexer.lookahead():this._lexer.token;if(e&&r.kind===U.BRACE_L)throw Ue(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(r.kind===U.NAME){switch(r.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(r.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw Ue(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions support descriptions.");switch(r.value){case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(r)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(U.BRACE_L))return this.node(e,{kind:ae.OPERATION_DEFINITION,operation:ir.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const r=this.parseDescription(),n=this.parseOperationType();let i;return this.peek(U.NAME)&&(i=this.parseName()),this.node(e,{kind:ae.OPERATION_DEFINITION,operation:n,description:r,name:i,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(U.NAME);switch(e.value){case"query":return ir.QUERY;case"mutation":return ir.MUTATION;case"subscription":return ir.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(U.PAREN_L,this.parseVariableDefinition,U.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:ae.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(U.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(U.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(U.DOLLAR),this.node(e,{kind:ae.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:ae.SELECTION_SET,selections:this.many(U.BRACE_L,this.parseSelection,U.BRACE_R)})}parseSelection(){return this.peek(U.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,r=this.parseName();let n,i;return this.expectOptionalToken(U.COLON)?(n=r,i=this.parseName()):i=r,this.node(e,{kind:ae.FIELD,alias:n,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(U.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const r=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(U.PAREN_L,r,U.PAREN_R)}parseArgument(e=!1){const r=this._lexer.token,n=this.parseName();return this.expectToken(U.COLON),this.node(r,{kind:ae.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(U.SPREAD);const r=this.expectOptionalKeyword("on");return!r&&this.peek(U.NAME)?this.node(e,{kind:ae.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:ae.INLINE_FRAGMENT,typeCondition:r?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const e=this._lexer.token,r=this.parseDescription();return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(e,{kind:ae.FRAGMENT_DEFINITION,description:r,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:ae.FRAGMENT_DEFINITION,description:r,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(e){const r=this._lexer.token;switch(r.kind){case U.BRACKET_L:return this.parseList(e);case U.BRACE_L:return this.parseObject(e);case U.INT:return this.advanceLexer(),this.node(r,{kind:ae.INT,value:r.value});case U.FLOAT:return this.advanceLexer(),this.node(r,{kind:ae.FLOAT,value:r.value});case U.STRING:case U.BLOCK_STRING:return this.parseStringLiteral();case U.NAME:switch(this.advanceLexer(),r.value){case"true":return this.node(r,{kind:ae.BOOLEAN,value:!0});case"false":return this.node(r,{kind:ae.BOOLEAN,value:!1});case"null":return this.node(r,{kind:ae.NULL});default:return this.node(r,{kind:ae.ENUM,value:r.value})}case U.DOLLAR:if(e)if(this.expectToken(U.DOLLAR),this._lexer.token.kind===U.NAME){const n=this._lexer.token.value;throw Ue(this._lexer.source,r.start,`Unexpected variable "$${n}" in constant value.`)}else throw this.unexpected(r);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:ae.STRING,value:e.value,block:e.kind===U.BLOCK_STRING})}parseList(e){const r=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:ae.LIST,values:this.any(U.BRACKET_L,r,U.BRACKET_R)})}parseObject(e){const r=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:ae.OBJECT,fields:this.any(U.BRACE_L,r,U.BRACE_R)})}parseObjectField(e){const r=this._lexer.token,n=this.parseName();return this.expectToken(U.COLON),this.node(r,{kind:ae.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){const r=[];for(;this.peek(U.AT);)r.push(this.parseDirective(e));return r}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const r=this._lexer.token;return this.expectToken(U.AT),this.node(r,{kind:ae.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let r;if(this.expectOptionalToken(U.BRACKET_L)){const n=this.parseTypeReference();this.expectToken(U.BRACKET_R),r=this.node(e,{kind:ae.LIST_TYPE,type:n})}else r=this.parseNamedType();return this.expectOptionalToken(U.BANG)?this.node(e,{kind:ae.NON_NULL_TYPE,type:r}):r}parseNamedType(){return this.node(this._lexer.token,{kind:ae.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(U.STRING)||this.peek(U.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,r=this.parseDescription();this.expectKeyword("schema");const n=this.parseConstDirectives(),i=this.many(U.BRACE_L,this.parseOperationTypeDefinition,U.BRACE_R);return this.node(e,{kind:ae.SCHEMA_DEFINITION,description:r,directives:n,operationTypes:i})}parseOperationTypeDefinition(){const e=this._lexer.token,r=this.parseOperationType();this.expectToken(U.COLON);const n=this.parseNamedType();return this.node(e,{kind:ae.OPERATION_TYPE_DEFINITION,operation:r,type:n})}parseScalarTypeDefinition(){const e=this._lexer.token,r=this.parseDescription();this.expectKeyword("scalar");const n=this.parseName(),i=this.parseConstDirectives();return this.node(e,{kind:ae.SCALAR_TYPE_DEFINITION,description:r,name:n,directives:i})}parseObjectTypeDefinition(){const e=this._lexer.token,r=this.parseDescription();this.expectKeyword("type");const n=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:ae.OBJECT_TYPE_DEFINITION,description:r,name:n,interfaces:i,directives:s,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(U.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(U.BRACE_L,this.parseFieldDefinition,U.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,r=this.parseDescription(),n=this.parseName(),i=this.parseArgumentDefs();this.expectToken(U.COLON);const s=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(e,{kind:ae.FIELD_DEFINITION,description:r,name:n,arguments:i,type:s,directives:a})}parseArgumentDefs(){return this.optionalMany(U.PAREN_L,this.parseInputValueDef,U.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,r=this.parseDescription(),n=this.parseName();this.expectToken(U.COLON);const i=this.parseTypeReference();let s;this.expectOptionalToken(U.EQUALS)&&(s=this.parseConstValueLiteral());const a=this.parseConstDirectives();return this.node(e,{kind:ae.INPUT_VALUE_DEFINITION,description:r,name:n,type:i,defaultValue:s,directives:a})}parseInterfaceTypeDefinition(){const e=this._lexer.token,r=this.parseDescription();this.expectKeyword("interface");const n=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:ae.INTERFACE_TYPE_DEFINITION,description:r,name:n,interfaces:i,directives:s,fields:a})}parseUnionTypeDefinition(){const e=this._lexer.token,r=this.parseDescription();this.expectKeyword("union");const n=this.parseName(),i=this.parseConstDirectives(),s=this.parseUnionMemberTypes();return this.node(e,{kind:ae.UNION_TYPE_DEFINITION,description:r,name:n,directives:i,types:s})}parseUnionMemberTypes(){return this.expectOptionalToken(U.EQUALS)?this.delimitedMany(U.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,r=this.parseDescription();this.expectKeyword("enum");const n=this.parseName(),i=this.parseConstDirectives(),s=this.parseEnumValuesDefinition();return this.node(e,{kind:ae.ENUM_TYPE_DEFINITION,description:r,name:n,directives:i,values:s})}parseEnumValuesDefinition(){return this.optionalMany(U.BRACE_L,this.parseEnumValueDefinition,U.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,r=this.parseDescription(),n=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(e,{kind:ae.ENUM_VALUE_DEFINITION,description:r,name:n,directives:i})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw Ue(this._lexer.source,this._lexer.token.start,`${Qn(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,r=this.parseDescription();this.expectKeyword("input");const n=this.parseName(),i=this.parseConstDirectives(),s=this.parseInputFieldsDefinition();return this.node(e,{kind:ae.INPUT_OBJECT_TYPE_DEFINITION,description:r,name:n,directives:i,fields:s})}parseInputFieldsDefinition(){return this.optionalMany(U.BRACE_L,this.parseInputValueDef,U.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===U.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension();case"directive":if(this._options.experimentalDirectivesOnDirectiveDefinitions)return this.parseDirectiveDefinitionExtension();break}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const r=this.parseConstDirectives(),n=this.optionalMany(U.BRACE_L,this.parseOperationTypeDefinition,U.BRACE_R);if(r.length===0&&n.length===0)throw this.unexpected();return this.node(e,{kind:ae.SCHEMA_EXTENSION,directives:r,operationTypes:n})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const r=this.parseName(),n=this.parseConstDirectives();if(n.length===0)throw this.unexpected();return this.node(e,{kind:ae.SCALAR_TYPE_EXTENSION,name:r,directives:n})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(n.length===0&&i.length===0&&s.length===0)throw this.unexpected();return this.node(e,{kind:ae.OBJECT_TYPE_EXTENSION,name:r,interfaces:n,directives:i,fields:s})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(n.length===0&&i.length===0&&s.length===0)throw this.unexpected();return this.node(e,{kind:ae.INTERFACE_TYPE_EXTENSION,name:r,interfaces:n,directives:i,fields:s})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const r=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(n.length===0&&i.length===0)throw this.unexpected();return this.node(e,{kind:ae.UNION_TYPE_EXTENSION,name:r,directives:n,types:i})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const r=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(n.length===0&&i.length===0)throw this.unexpected();return this.node(e,{kind:ae.ENUM_TYPE_EXTENSION,name:r,directives:n,values:i})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const r=this.parseName(),n=this.parseConst
129Directives(),i=this.parseInputFieldsDefinition();if(n.length===0&&i.length===0)throw this.unexpected();return this.node(e,{kind:ae.INPUT_OBJECT_TYPE_EXTENSION,name:r,directives:n,fields:i})}parseDirectiveDefinitionExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("directive"),this.expectToken(U.AT);const r=this.parseName(),n=this.parseConstDirectives();if(n.length===0)throw this.unexpected();return this.node(e,{kind:ae.DIRECTIVE_EXTENSION,name:r,directives:n})}parseDirectiveDefinition(){const e=this._lexer.token,r=this.parseDescription();this.expectKeyword("directive"),this.expectToken(U.AT);const n=this.parseName(),i=this.parseArgumentDefs(),s=this._options.experimentalDirectivesOnDirectiveDefinitions?this.parseConstDirectives():[],a=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const o=this.parseDirectiveLocations();return this.node(e,{kind:ae.DIRECTIVE_DEFINITION,description:r,name:n,arguments:i,directives:s,repeatable:a,locations:o})}parseDirectiveLocations(){return this.delimitedMany(U.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,r=this.parseName();if(Object.prototype.hasOwnProperty.call(Ms,r.value))return r;throw this.unexpected(e)}parseSchemaCoordinate(){const e=this._lexer.token,r=this.expectOptionalToken(U.AT),n=this.parseName();let i;!r&&this.expectOptionalToken(U.DOT)&&(i=this.parseName());let s;return(r||i)&&this.expectOptionalToken(U.PAREN_L)&&(s=this.parseName(),this.expectToken(U.COLON),this.expectToken(U.PAREN_R)),r?s?this.node(e,{kind:ae.DIRECTIVE_ARGUMENT_COORDINATE,name:n,argumentName:s}):this.node(e,{kind:ae.DIRECTIVE_COORDINATE,name:n}):i?s?this.node(e,{kind:ae.ARGUMENT_COORDINATE,name:n,fieldName:i,argumentName:s}):this.node(e,{kind:ae.MEMBER_COORDINATE,name:n,memberName:i}):this.node(e,{kind:ae.TYPE_COORDINATE,name:n})}node(e,r){return this._options.noLocation!==!0&&(r.loc=new ac(e,this._lexer.lastToken,this._lexer.source)),r}peek(e){return this._lexer.token.kind===e}expectToken(e){const r=this._lexer.token;if(r.kind===e)return this.advanceLexer(),r;throw Ue(this._lexer.source,r.start,`Expected ${Au(e)}, found ${Qn(r)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e?(this.advanceLexer(),!0):!1}expectKeyword(e){const r=this._lexer.token;if(r.kind===U.NAME&&r.value===e)this.advanceLexer();else throw Ue(this._lexer.source,r.start,`Expected "${e}", found ${Qn(r)}.`)}expectOptionalKeyword(e){const r=this._lexer.token;return r.kind===U.NAME&&r.value===e?(this.advanceLexer(),!0):!1}unexpected(e){const r=e!=null?e:this._lexer.token;return Ue(this._lexer.source,r.start,`Unexpected ${Qn(r)}.`)}any(e,r,n){this.expectToken(e);const i=[];for(;!this.expectOptionalToken(n);)i.push(r.call(this));return i}optionalMany(e,r,n){if(this.expectOptionalToken(e)){const i=[];do i.push(r.call(this));while(!this.expectOptionalToken(n));return i}return[]}many(e,r,n){this.expectToken(e);const i=[];do i.push(r.call(this));while(!this.expectOptionalToken(n));return i}delimitedMany(e,r){this.expectOptionalToken(e);const n=[];do n.push(r.call(this));while(this.expectOptionalToken(e));return n}advanceLexer(){const{maxTokens:e}=this._options,r=this._lexer.advance();if(r.kind!==U.EOF&&(++this._tokenCounter,e!==void 0&&this._tokenCounter>e))throw Ue(this._lexer.source,r.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function Qn(t){const e=t.value;return Au(t.kind)+(e!=null?` "${e}"`:"")}function Au(t){return $g(t)?`"${t}"`:t}var Yn=new Map,Is=new Map,Iu=!0,Hn=!1;function ku(t){return t.replace(/[\s,]+/g," ").trim()}function iy(t){return ku(t.source.body.substring(t.start,t.end))}function sy(t){var e=new Set,r=[];return t.definitions.forEach(function(n){if(n.kind==="FragmentDefinition"){var i=n.name.value,s=iy(n.loc),a=Is.get(i);a&&!a.has(s)?Iu&&console.warn("Warning: fragment with name "+i+` already exists. 130graphql-tag enforces all fragment names across your application to be unique; read more about 131this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a||Is.set(i,a=new Set),a.add(s),e.has(s)||(e.add(s),r.push(n))}else r.push(n)}),E(E({},t),{definitions:r})}function ay(t){var e=new Set(t.definitions);
131e.forEach(function(n){n.loc&&delete n.loc,Object.keys(n).forEach(function(i){var s=n[i];s&&typeof s=="object"&&e.add(s)})});var r=t.loc;return r&&(delete r.startToken,delete r.endToken),t}function oy(t){var e=ku(t);if(!Yn.has(e)){var r=ny(t,{experimentalFragmentVariables:Hn,allowLegacyFragmentVariables:Hn});if(!r||r.kind!=="Document")throw new Error("Not a valid GraphQL document.");Yn.set(e,ay(sy(r)))}return Yn.get(e)}function Cr(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];typeof t=="string"&&(t=[t]);var n=t[0];return e.forEach(function(i,s){i&&i.kind==="Document"?n+=i.loc.source.body:n+=i,n+=t[s+1]}),oy(n)}function ly(){Yn.clear(),Is.clear()}function uy(){Iu=!1}function cy(){Hn=!0}function fy(){Hn=!1}var un={gql:Cr,resetCaches:ly,disableFragmentWarnings:uy,enableExperimentalFragmentVariables:cy,disableExperimentalFragmentVariables:fy};(function(t){t.gql=un.gql,t.resetCaches=un.resetCaches,t.disableFragmentWarnings=un.disableFragmentWarnings,t.enableExperimentalFragmentVariables=un.enableExperimentalFragmentVariables,t.disableExperimentalFragmentVariables=un.disableExperimentalFragmentVariables})(Cr||(Cr={})),Cr.default=Cr;const vb=null;var Ru,Lu;const dy=(Lu=(Ru=window==null?void 0:window.yllasVariables)==null?void 0:Ru.current_lang)!=null?Lu:"fi",py=t=>Cr` 132query allPosts { 133 posts(first:999999,where:{ 134 in:[${(0,ut.join)(t,",")}], 135 language:${(0,ut.upperCase)(dy)} 136 }) { 137 nodes { 138 databaseId 139 date 140 dateGmt 141 uri 142 title 143 featuredImage { 144 node { 145 sourceUrl 146 altText 147 } 148 } 149 tags { 150 nodes { 151 name 152 } 153 } 154 tarinanKentat { 155 season { 156 __typename 157 } 158 } 159 } 160 } 161}`,{yllasVariables:{restnonce:hy,graphqlEndpoint:my}}=window,vy=ll({typography:{fontFamily:"inherit"},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)"}}}}}),gy=()=>(0,C.jsxs)("div",{className:`y-w-full y-grid y-grid-cols-1 lg:y-grid-cols-3 162 y-gap-4 y-px-1`,children:[(0,C.jsxs)("div",{children:[(0,C.jsx)(nt,{height:200}),(0,C.jsx)("div",{style:{height:20}}),(0,C.jsx)(nt,{height:30}),(0,C.jsx)(nt,{height:30}),(0,C.jsx)(nt,{height:30})]}),(0,C.jsxs)("div",{children:[(0,C.jsx)(nt,{height:200}),(0,C.jsx)("div",{style:{height:20}}),(0,C.jsx)(nt,{height:30}),(0,C.jsx)(nt,{height:30}),(0,C.jsx)(nt,{height:30})]}),(0,C.jsxs)("div",{children:[(0,C.jsx)(nt,{height:200}),(0,C.jsx)("div",{style:{height:20}}),(0,C.jsx)(nt,{height:30}),(0,C.jsx)(nt,{height:30}),(0,C.jsx)(nt,{height:30})]})]}),yy=el().p` 163 width: 100%; 164 text-align: left; 165 display: flex; 166 flex-flow: y-flex y-flex-row y-flex-wrap wrap; 167 justify-content: flex-start; 168 align-items: center; 169 gap: 0.25rem; 170 font-size: 1.1rem; 171 font-family: var(--wp--preset--font-family--opensans); 172`,by=({postids:t})=>{var e;const{data:r}=Df(py(t));return(0,C.jsx)("div",{style:{display:"block",width:"100%"},children:(0,ut.isNil)((0,ut.get)(r,"posts.nodes",null))?(0,C.jsx)(gy,{}):(0,C.jsx)(Lg,{children:(0,ut.map)((e=r==null?void 0:r.posts)==null?void 0:e.nodes,(n,i)=>{var s,a,o,l;return(0,C.jsx)("article",{"data-id":n==null?void 0:n.databaseId,className:`y-rounded-lg y-bg-transparent 173 hover:y-scale-105 transition-transform !y-duration-500`,children:(0,C.jsxs)("div",{className:"swiper-slide-inner y-relative y-w-full y-h-full",children:[(0,C.jsx)("a",{href:n==null?void 0:n.uri,className:`y-absolute y-top-0 y-left-0 y-bottom-0 174 y-right-0 y-w-full y-h-full y-z-10`,children:(0,C.jsx)("span",{className:"y-sr-only",children:n==null?void 0:n.title})}),(0,C.jsx)("img",{alt:(0,ut.get)(n,"featuredImage.node.altText",""),width:"300",height:"200",src:(0,ut.get)(n,"featuredImage.node.sourceUrl","#"),loading:"lazy",className:"y-object-cover y-w-full y-h-auto y-aspect-video y-mb-2",style:{height:"auto",aspectRatio:"1 / 1",borderRadius:10,width:300,marginBottom:10,overflow:"hidden",objectFit:"cover"}}),(0,C.jsxs)(yy,{children:[(0,C.jsx)("span",{className:"seasonsvg",style:{display:"inline-flex",flexFlow:"row wrap",justifyContent:"center",alignItems:"center",width:25,height:15,marginRight:"1rem"},children:(0,C.jsx)("svg",{width:"18",height:"15",viewBox:"0 0 18 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{width:25,height:15},children:(0,C.jsx)("path",{d:"M8.66025 0L17.3205 15H0L8.66025 0Z",fill:((o=(a=(s=n.tarinanKentat)==null?void 0:s.season)==null?void 0:a.seasonACF)==null?void 0:o.backgroundColor)||"#41BAC5"})})}),(0,C.jsxs)("span",{style:{flexGrow:1,color:"#878787",maxWidth:"calc(100% - 50px)"},children:[nm.format(new Date(n==null?void 0:n.date),"DD.MM.YYYY"),","," ",(0,ut.join)((0,ut.map)((l=n==null?void 0:n.tags)==null?void 0:l.nodes,u=>u==null?void 0:u.name),", ")]})]}),(0,C.jsx)("h3",{style:{fontSize:"1.2rem"},children:n==null?void 0:n.title})]})},`eventfeed-${i}`)})})})},Ey={watchQuery:{fetchPolicy:"no-cache",errorPolicy:"ignore"},query:{fetchPolicy:"no-cache",errorPolicy:"all"}},wy=new xo({uri:my,cache:new Zo,defaultOptions:Ey,headers:{"X-WP-Nonce":hy}});jn()(()=>{jn()(".yllas-articles-feed").each((t,e)=>{const r=jn()(e).find(".post").map((i,s)=>(0,ut.toInteger)(jn()(s).data("id"))).get();(0,sm.H)(e).render((0,C.jsx)(qh,{theme:vy,children:(0,C.jsx)(vp,{client:wy,children:(0,C.jsx)(by,{postids:r})})}))})})})()})();
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.