PageSourceSearch

https://etarazoo.com/_next/static/chunks/0f650b4-qnooq.js

js etarazoo.com collected 2026-10-02 14:00:41 UTC 30,248 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="eb0a5fb3-cb50-98d5-c6ba-e0b46ec501c8")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,841947,e=>{"use strict";let t=(0,e.i(475254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["default",0,t])},37727,e=>{"use strict";var t=e.i(841947);e.s(["X",()=>t.default])},326999,e=>{"use strict";var t=e.i(271645),r=e.i(981140),s=e.i(820783),i=e.i(30030),n=e.i(610772),a=e.i(369340),o=e.i(726330),l=e.i(765491),u=e.i(774606),c=e.i(296626),h=e.i(248425),d=e.i(303536),p=e.i(934620),f=e.i(985369),y=e.i(186312),g=e.i(991918),v=e.i(843476),m=Object.defineProperty,b=(e,t)=>m(e,"name",{value:t,configurable:!0}),R="Dialog",[S,C]=(0,i.createContextScope)(R),[O,D]=S(R),T=b(e=>{let{__scopeDialog:r,children:s,open:i,defaultOpen:o,onOpenChange:l,modal:u=!0}=e,c=t.useRef(null),h=t.useRef(null),[d,p]=(0,a.useControllableState)({prop:i,defaultProp:o??!1,onChange:l,caller:R}),[f,y]=t.useState(0),[g,m]=t.useState(0);return(0,v.jsx)(O,{scope:r,triggerRef:c,contentRef:h,contentId:(0,n.useId)(),titleId:(0,n.useId)(),descriptionId:(0,n.useId)(),titlePresent:f>0,descriptionPresent:g>0,setTitleCount:y,setDescriptionCount:m,open:d,onOpenChange:p,onOpenToggle:t.useCallback(()=>p(e=>!e),[p]),modal:u,children:s})},"Dialog"),Q=t.forwardRef(b(function(e,t){let{__scopeDialog:i,...n}=e,a=D("DialogTrigger",i),o=(0,s.useComposedRefs)(t,a.triggerRef);return(0,v.jsx)(h.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":L(a.open),...n,ref:o,onClick:(0,r.composeEventHandlers)(e.onClick,a.onOpenToggle)})},"DialogTrigger")),I="DialogPortal",[P,x]=S(I,{forceMount:void 0}),w=b(e=>{let{__scopeDialog:r,forceMount:s,children:i,container:n}=e,a=D(I,r);return(0,v.jsx)(P,{scope:r,forceMount:s,children:t.Children.map(i,e=>(0,v.jsx)(c.Presence,{present:s||a.open,children:(0,v.jsx)(u.Portal,{asChild:!0,container:n,children:e})}))})},"DialogPortal"),F="DialogOverlay",E=t.forwardRef(b(function(e,t){let r=x(F,e.__scopeDialog),{forceMount:s=r.forceMount,...i}=e,n=D(F,e.__scopeDialog);return n.modal?(0,v.jsx)(c.Presence,{present:s||n.open,children:(0,v.jsx)(k,{...i,ref:t})}):null},"DialogOverlay")),j=(0,g.createSlot)("DialogOverlay.RemoveScroll"),k=t.forwardRef(b(function(e,t){let{__scopeDialog:r,...i}=e,n=D(F,r),a=(0,o.useDismissableLayerSurface)(),l=(0,s.useComposedRefs)(t,a);return(0,v.jsx)(f.RemoveScroll,{as:j,allowPinchZoom:!0,shards:[n.contentRef],children:(0,v.jsx)(h.Primitive.div,{"data-state":L(n.open),...i,ref:l,style:{pointerEvents:"auto",...i.style}})})},"DialogOverlayImpl")),U="DialogContent",q=t.forwardRef(b(function(e,t){let r=x(U,e.__scopeDialog),{forceMount:s=r.forceMount,...i}=e,n=D(U,e.__scopeDialog);return(0,v.jsx)(c.Presence,{present:s||n.open,children:n.modal?(0,v.jsx)(M,{...i,ref:t}):(0,v.jsx)(_,{...i,ref:t})})},"DialogContent")),M=t.forwardRef(b(function(e,i){let n=D(U,e.__scopeDialog),a=t.useRef(null),o=(0,s.useComposedRefs)(i,n.contentRef,a);return t.useEffect(()=>{let e=a.current;if(e)return(0,y.hideOthers)(e)},[]),(0,v.jsx)(A,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,onCloseAutoFocus:(0,r.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:(0,r.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,r.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})},"DialogContentModal")),_=t.forwardRef(b(function(e,r){let s=D(U,e.__scopeDialog),i=t.useRef(!1),n=t.useRef(!1);return(0,v.jsx)(A,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||s.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,n.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(n.current=!0));let r=t.target;s.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&n.current&&t.preventDefault()}})},"DialogContentNonModal")),A=t.forwardRef(b(function(e,t){let{__scopeDialog:r,trapFocus:s,onOpenAutoFocus:i,onCloseAutoFocus:n,...a}=e,u=D(U,r);return(0,d.useFocusGuards)(),(0,v.jsx)(v.Fragment,{children:(0,v.jsx)(l.FocusScope,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:i,onUnmountAutoFocus:n,children:(0,v.jsx)(o.DismissableLayer,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionPresent?u.descriptionId:void 0,"aria-labelledby":u.titlePresent?u.titleId:void 0,"data-state":L(u.open),...a,ref:t,deferPointerDownOutside:!0,onDismiss:()=>u.onOpenChange(!1)})})})},"DialogContentImpl")),B=t.forwardRef(b(function(e,t){let{__scopeDialog:r,...s}=e,i=D("DialogTitle",r),{setTitleCount:n}=i;return(0,p.useLayoutEffect)(()=>(n(e=>e+1),()=>n(e=>e-1)),[n]),(0,v.jsx)(h.Primitive.h2,{id:i.titleId,...s,ref:t})},"DialogTitle")),H=t.forwardRef(b(function(e,t){let{__scopeDialog:r,...s}=e,i=D("DialogDescription",r),{setDescriptionCount:n}=i;return(0,p.useLayoutEffect)(()=>(n(e=>e+1),()=>n(e=>e-1)),[n]),(0,v.jsx)(h.Primitive.p,{id:i.descriptionId,...s,ref:t})},"DialogDescription")),N=t.forwardRef(b(function(e,t){let{__scopeDialog:s,...i}
2=e,n=D("DialogClose",s);return(0,v.jsx)(h.Primitive.button,{type:"button",...i,ref:t,onClick:(0,r.composeEventHandlers)(e.onClick,()=>n.onOpenChange(!1))})},"DialogClose"));function L(e){return e?"open":"closed"}b(L,"getState"),e.s(["Close",0,N,"Content",0,q,"Description",0,H,"Overlay",0,E,"Portal",0,w,"Root",0,T,"Title",0,B,"Trigger",0,Q])},995926,e=>{"use strict";var t=e.i(841947);e.s(["XIcon",()=>t.default])},776639,e=>{"use strict";var t=e.i(843476),r=e.i(326999),s=e.i(995926),i=e.i(975157);function n({...e}){return(0,t.jsx)(r.Portal,{"data-slot":"dialog-portal",...e})}function a({className:e,...s}){return(0,t.jsx)(r.Overlay,{"data-slot":"dialog-overlay",className:(0,i.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...s})}e.s(["Dialog",0,function({...e}){return(0,t.jsx)(r.Root,{"data-slot":"dialog",...e})},"DialogClose",0,function({...e}){return(0,t.jsx)(r.Close,{"data-slot":"dialog-close",...e})},"DialogContent",0,function({className:e,children:o,showCloseButton:l=!0,...u}){return(0,t.jsxs)(n,{"data-slot":"dialog-portal",children:[(0,t.jsx)(a,{}),(0,t.jsxs)(r.Content,{"data-slot":"dialog-content",className:(0,i.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200",e),...u,children:[o,l&&(0,t.jsxs)(r.Close,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,t.jsx)(s.XIcon,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})},"DialogDescription",0,function({className:e,...s}){return(0,t.jsx)(r.Description,{"data-slot":"dialog-description",className:(0,i.cn)("text-muted-foreground",e),...s})},"DialogFooter",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"dialog-footer",className:(0,i.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...r})},"DialogHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"dialog-header",className:(0,i.cn)("flex flex-col gap-2",e),...r})},"DialogTitle",0,function({className:e,...s}){return(0,t.jsx)(r.Title,{"data-slot":"dialog-title",className:(0,i.cn)("leading-none",e),...s})}])},716915,(e,t,r)=>{!function(s,i){if("function"==typeof define&&define.amd){let s;void 0!==(s=i(e.r,r,t))&&e.v(s)}else t.exports=i()}(e.e,function(){var e,t,r,s={};s.version="0.2.0";var i=s.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function n(e,t,r){return e<t?t:e>r?r:e}s.configure=function(e){var t,r;for(t in e)void 0!==(r=e[t])&&e.hasOwnProperty(t)&&(i[t]=r);return this},s.status=null,s.set=function(e){var t=s.isStarted();s.status=1===(e=n(e,i.minimum,1))?null:e;var r=s.render(!t),l=r.querySelector(i.barSelector),u=i.speed,c=i.easing;return r.offsetWidth,a(function(t){var n,a,h,d;""===i.positionUsing&&(i.positionUsing=s.getPositioningCSS()),o(l,(n=e,a=u,h=c,(d="translate3d"===i.positionUsing?{transform:"translate3d("+(-1+n)*100+"%,0,0)"}:"translate"===i.positionUsing?{transform:"translate("+(-1+n)*100+"%,0)"}:{"margin-left":(-1+n)*100+"%"}).transition="all "+a+"ms "+h,d)),1===e?(o(r,{transition:"none",opacity:1}),r.offsetWidth,setTimeout(function(){o(r,{transition:"all "+u+"ms linear",opacity:0}),setTimeout(function(){s.remove(),t()},u)},u)):setTimeout(t,u)}),this},s.isStarted=function(){return"number"==typeof s.status},s.start=function(){s.status||s.set(0);var e=function(){setTimeout(function(){s.status&&(s.trickle(),e())},i.trickleSpeed)};return i.trickle&&e(),this},s.done=function(e){return e||s.status?s.inc(.3+.5*Math.random()).set(1):this},s.inc=function(e){var t=s.status;return t?("number"!=typeof e&&(e=(1-t)*n(Math.random()*t,.1,.95)),t=n(t+e,0,.994),s.set(t)):s.start()},s.trickle=function(){return s.inc(Math.random()*i.trickleRate)},e=0,t=0,s.promise=function(r){return r&&"resolved"!==r.state()&&(0===t&&s.start(),e++,t++,r.always(function(){0==--t?(e=0,s.done()):s.set((e-t)/e)})),this},s.render=function(e){if(s.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=i.template;var r,n=t.querySelector(i.barSelector),a=e?"-100":(-1+(s.status||0))*100,l=document.querySelector(i.parent);return o(n,{transition:"all 0 linear",transform:"translate3d("+a+"%,0,0)"}),!i.showSpinner&&(r=t.querySelector(i.spinnerSelector))&&d(r),l!=document.body&&u(l,"nprogress-custom-parent"),l.appendChild(t),t},s.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(i.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&d(e)},s.isRendered=function(){return!!document.getElementById("nprogress")},s.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var a=(r=[],function(e){r.push(e),1==r.length&&function e(){var t=r.shift();t&&t(e)}()}),o=function(){var e=["Webkit","O","Moz","ms"],t={};function r(r,s,i){var n;s=t[n=(n=s).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[n]=function(t){var r=document.body.style;if(t in r)return t;for(var s,i=e.length,n=t.charAt(0).toUpperCase()+t.slice(1);i--;)if((s=e[i]+n)in r)return s;return t}(n)),r.style[s]=i}return function(e,t){var s,i,n=arguments;if(2==n.length)for(s in t)void 0!==(i=t[s])&&t.hasOwnProperty(s)&&r(e,s,i);else r(e,n[1],n[2])}}();function l(e,t){return("string"==typeof e?e:h(e)).indexOf(" "+t+" ")>=0}function u(e,t){var r=h(e),s=r+t;l(r,t)||(e.className=s.substring(1))}function c(e,t){var r,s=h(e);l(e,t)&&(e.className=(r=s.replace(" "+t+" "," ")).substring(1,r.length-1))}function h(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function d(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return s})},959411,e=>{"use strict";var t=e.i(271645),r=e.i(248425),s=e.i(843476),i=Object.defineProperty,n=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),a=t.forwardRef(i(function(e,t){return(0,s.jsx)(r.Primitive.span,{...e,ref:t,style:{...n,...e.style}})},"name",{value:"VisuallyHidden",configurable:!0}));e.s(["VISUALLY_HIDDEN_STYLES",0,n,"VisuallyHidden",0,a])},869230,992571,286491,469637,e=>{"use strict";let t;var r=e.i(175555),s=e.i(273911),i=e.i(540143);e.i(247167);var n=e.i(619273),a=e.i(936553),o=e.i(88587);function l(e){return{onFetch:(t,r)=>
2{let s=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],l={pages:[],pageParams:[]},h=0,d=async()=>{let r=!1,d=(0,n.ensureQueryFn)(t.options,t.fetchOptions),p=async(e,s,i)=>{let a;if(r)return Promise.reject(t.signal.reason);if(null==s&&e.pages.length)return Promise.resolve(e);let o=(a={client:t.client,queryKey:t.queryKey,pageParam:s,direction:i?"backward":"forward",meta:t.options.meta},(0,n.addConsumeAwareSignal)(a,()=>t.signal,()=>r=!0),a),l=await d(o),{maxPages:u}=t.options,c=i?n.addToStart:n.addToEnd;return{pages:c(e.pages,l,u),pageParams:c(e.pageParams,s,u)}};if(i&&a.length){let e="backward"===i,t={pages:a,pageParams:o},r=(e?c:u)(s,t);l=await p(t,r,e)}else{let t=e??a.length;do{let e=0===h?o[0]??s.initialPageParam:u(s,l);if(h>0&&null==e)break;l=await p(l,e),h++}while(h<t)}return l};t.options.persister?t.fetchFn=()=>t.options.persister?.(d,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=d}}}function u(e,{pages:t,pageParams:r}){let s=t.length-1;return t.length>0?e.getNextPageParam(t[s],t,r[s],r):void 0}function c(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}e.s(["hasNextPage",0,function(e,t){return!!t&&null!=u(e,t)},"hasPreviousPage",0,function(e,t){return!!t&&!!e.getPreviousPageParam&&null!=c(e,t)},"infiniteQueryBehavior",0,l],992571);var h=class extends o.Removable{#e;#t;#r;#s;#i;#n;#a;#o;constructor(e){super(),this.#o=!1,this.#a=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#s=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=f(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#n?.promise}setOptions(e){if(this.options={...this.#a,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=f(this.options);void 0!==e.data&&(this.setState(p(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#s.remove(this)}setData(e,t){let r=(0,n.replaceData)(this.state.data,e,this.options);return this.#l({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e){this.#l({type:"setState",state:e})}cancel(e){let t=this.#n?.promise;return this.#n?.cancel(e),t?t.then(n.noop).catch(n.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==(0,n.resolveQueryBoolean)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===n.skipToken||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,n.resolveStaleTime)(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!(0,n.timeUntilStale)(this.state.dataUpdatedAt,e))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#n?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#n?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#n&&(this.#o||this.#u()?this.#n.cancel({revert:!0}):this.#n.cancelRetry()),this.scheduleGc()),this.#s.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#u(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}async fetch(e,t){let r;if("idle"!==this.state.fetchStatus&&this.#n?.status()!=="rejected"){if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#n)return this.#n.continueRetry(),this.#n.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let s=new AbortController,i=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#o=!0,s.signal)}
2)},o=()=>{let e,r=(0,n.ensureQueryFn)(this.options,t),s=(i(e={client:this.#i,queryKey:this.queryKey,meta:this.meta}),e);return(this.#o=!1,this.options.persister)?this.options.persister(r,s,this):r(s)},u=(i(r={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:o}),r),c="infinite"===this.#e?l(this.options.pages):this.options.behavior;c?.onFetch(u,this),this.#r=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==u.fetchOptions?.meta)&&this.#l({type:"fetch",meta:u.fetchOptions?.meta}),this.#n=(0,a.createRetryer)({initialPromise:t?.initialPromise,fn:u.fetchFn,onCancel:e=>{e instanceof a.CancelledError&&e.revert&&this.setState({...this.#r,fetchStatus:"idle"}),s.abort()},onFail:(e,t)=>{this.#l({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0});try{let e=await this.#n.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#s.config.onSuccess?.(e,this),this.#s.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof a.CancelledError){if(e.silent)return this.#n.promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#l({type:"error",error:e}),this.#s.config.onError?.(e,this),this.#s.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#l(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...d(t.data,this.options),fetchMeta:e.meta??null};case"success":let r={...t,...p(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#r=e.manual?r:void 0,r;case"error":let s=e.error;return{...t,error:s,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),i.notifyManager.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#s.notify({query:this,type:"updated",action:e})})}};function d(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,a.canFetch)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function p(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function f(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,s=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}e.s(["Query",0,h,"fetchState",0,d],286491);var y=e.i(915823),g=e.i(793803),v=e.i(180166),m=class extends y.Subscribable{constructor(e,t){super(),this.options=t,this.#i=e,this.#c=null,this.#h=(0,g.pendingThenable)(),this.bindMethods(),this.setOptions(t)}#i;#d=void 0;#p=void 0;#f=void 0;#y;#g;#h;#c;#v;#m;#b;#R;#S;#C;#O=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#d.addObserver(this),b(this.#d,this.options)?this.#D():this.updateResult(),this.#T())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return R(this.#d,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return R(this.#d,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#Q(),this.#I(),this.#d.removeObserver(this)}setOptions(e){let t=this.options,r=this.#d;if(this.options=this.#i.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,n.resolveQueryBoolean)(this.options.enabled,this.#d))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#P(),this.#d.setOptions(this.options),t._defaulted&&!(0,n.shallowEqualObjects)(this.options,t)&&this.#i.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#d,observer:this});let s=this.hasListeners();s&&S(this.#d,r,this.options,t)&&this.#D(),this.updateResult(),s&&(this.#d!==r||(0,n.resolveQueryBoolean)(this.options.enabled,this.#d)!==(0,n.resolveQueryBoolean)(t.enabled,this.#d)||(0,n.resolveStaleTime)(this.options.staleTime,this.#d)!==(0,n.resolveStaleTime)(t.staleTime,this.#d))&&this.#x();let i=this.#w();s&&(this.#d!==r||(0,n.resolveQueryBoolean)(this.options.enabled,this.#d)!==(0,n.resolveQueryBoolean)(t.enabled,this.#d)||i!==this.#C)&&this.#F(i)}getOptimisticResult(e){var t,r;let s=this.#i.getQueryCache().build(this.#i,e),i=this.createResult(s,e);return t=this,r=i,(0,n.shallowEqualObjects)(t.getCurrentResult(),r)||(this.#f=i,this.#g=this.options,this.#y=this.#d.state),i}getCurrentResult(){return this.#f}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),"promise"===r&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#h.status||this.#h.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,r))})}trackProp(e){this.#O.add(e)}getCurrentQuery(){return this.#d}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#i.defaultQueryOptions(e),r=this.#i.getQueryCache().build(this.#i,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#D({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#f))}#D(e){this.#P();let t=this.#d.fetch(this.options,e);return e?.throwOnError||(t=t.catch(n.noop)),t}#x(){this.#Q();let e=(0,n.resolveStaleTime)(this.options.staleTime,this.#d);if(s.environmentManager.isServer()||this.#f.isStale||!(0,n.isValidTimeout)(e))return;let t=(0,n.timeUntilStale)(this.#f.dataUpdatedAt,e);this.#R=v.timeoutManager.setTimeout(()=>{this.#f.isStale||this.updateResult()},t+1)}#w(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#d):this.options.refetchInterval)??!1}#F(e){this.#I(),this.#C=e,!s.environmentManager.isServer()&&!1!==(0,n.resolveQueryBoolean)(this.options.enabled,this.#d)&&(0,n.isValidTimeout)(this.#C)&&0!==this.#C&&(this.#S=v.timeoutManager.setInterval(()=>
2{(this.options.refetchIntervalInBackground||r.focusManager.isFocused())&&this.#D()},this.#C))}#T(){this.#x(),this.#F(this.#w())}#Q(){void 0!==this.#R&&(v.timeoutManager.clearTimeout(this.#R),this.#R=void 0)}#I(){void 0!==this.#S&&(v.timeoutManager.clearInterval(this.#S),this.#S=void 0)}createResult(e,t){let r,s=this.#d,i=this.options,a=this.#f,o=this.#y,l=this.#g,u=e!==s?e.state:this.#p,{state:c}=e,h={...c},p=!1;if(t._optimisticResults){let r=this.hasListeners(),n=!r&&b(e,t),a=r&&S(e,s,t,i);(n||a)&&(h={...h,...d(c.data,e.options)}),"isRestoring"===t._optimisticResults&&(h.fetchStatus="idle")}let{error:f,errorUpdatedAt:y,status:v}=h;r=h.data;let m=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===v){let e;a?.isPlaceholderData&&t.placeholderData===l?.placeholderData?(e=a.data,m=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#b?.state.data,this.#b):t.placeholderData,void 0!==e&&(v="success",r=(0,n.replaceData)(a?.data,e,t),p=!0)}if(t.select&&void 0!==r&&!m)if(a&&r===o?.data&&t.select===this.#v)r=this.#m;else try{this.#v=t.select,r=t.select(r),r=(0,n.replaceData)(a?.data,r,t),this.#m=r,this.#c=null}catch(e){this.#c=e}this.#c&&(f=this.#c,r=this.#m,y=Date.now(),v="error");let R="fetching"===h.fetchStatus,O="pending"===v,D="error"===v,T=O&&R,Q=void 0!==r,I={status:v,fetchStatus:h.fetchStatus,isPending:O,isSuccess:"success"===v,isError:D,isInitialLoading:T,isLoading:T,data:r,dataUpdatedAt:h.dataUpdatedAt,error:f,errorUpdatedAt:y,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:h.dataUpdateCount>u.dataUpdateCount||h.errorUpdateCount>u.errorUpdateCount,isFetching:R,isRefetching:R&&!O,isLoadingError:D&&!Q,isPaused:"paused"===h.fetchStatus,isPlaceholderData:p,isRefetchError:D&&Q,isStale:C(e,t),refetch:this.refetch,promise:this.#h,isEnabled:!1!==(0,n.resolveQueryBoolean)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=void 0!==I.data,r="error"===I.status&&!t,i=e=>{r?e.reject(I.error):t&&e.resolve(I.data)},n=()=>{i(this.#h=I.promise=(0,g.pendingThenable)())},a=this.#h;switch(a.status){case"pending":e.queryHash===s.queryHash&&i(a);break;case"fulfilled":(r||I.data!==a.value)&&n();break;case"rejected":r&&I.error===a.reason||n()}}return I}updateResult(){let e=this.#f,t=this.createResult(this.#d,this.options);if(this.#y=this.#d.state,this.#g=this.options,void 0!==this.#y.data&&(this.#b=this.#d),(0,n.shallowEqualObjects)(t,e))return;this.#f=t;let r=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#O.size)return!0;let s=new Set(r??this.#O);return this.options.throwOnError&&s.add("error"),Object.keys(this.#f).some(t=>this.#f[t]!==e[t]&&s.has(t))};this.#E({listeners:r()})}#P(){let e=this.#i.getQueryCache().build(this.#i,this.options);if(e===this.#d)return;let t=this.#d;this.#d=e,this.#p=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#T()}#E(e){i.notifyManager.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#f)}),this.#i.getQueryCache().notify({query:this.#d,type:"observerResultsUpdated"})})}};function b(e,t){return!1!==(0,n.resolveQueryBoolean)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==(0,n.resolveQueryBoolean)(t.retryOnMount,e))||void 0!==e.state.data&&R(e,t,t.refetchOnMount)}function R(e,t,r){if(!1!==(0,n.resolveQueryBoolean)(t.enabled,e)&&"static"!==(0,n.resolveStaleTime)(t.staleTime,e)){let s="function"==typeof r?r(e):r;return"always"===s||!1!==s&&C(e,t)}return!1}function S(e,t,r,s){return(e!==t||!1===(0,n.resolveQueryBoolean)(s.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&C(e,r)}function C(e,t){return!1!==(0,n.resolveQueryBoolean)(t.enabled,e)&&e.isStaleByTime((0,n.resolveStaleTime)(t.staleTime,e))}e.s(["QueryObserver",0,m],869230);var O=e.i(271645),D=e.i(912598);e.i(843476);var T=O.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t})),Q=O.createContext(!1);Q.Provider;var I=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});e.s(["useBaseQuery",0,function(e,t,r){let a,o=O.useContext(Q),l=O.useContext(T),u=(0,D.useQueryClient)(r),c=u.defaultQueryOptions(e);u.getDefaultOptions().queries?._experimental_beforeQuery?.(c);let h=u.getQueryCache().get(c.queryHash);if(c._optimisticResults=o?"isRestoring":"optimistic",c.suspense){let e=e=>"static"===e?e:Math.max(e??1e3,1e3),t=c.staleTime;c.staleTime="function"==typeof t?(...r)=>e(t(...r)):e(t),"number"==typeof c.gcTime&&(c.gcTime=Math.max(c.gcTime,1e3))}a=h?.state.error&&"function"==typeof c.throwOnError?(0,n.shouldThrowError)(c.throwOnError,[h.state.error,h]):c.throwOnError,(c.suspense||c.experimental_prefetchInRender||a)&&!l.isReset()&&(c.retryOnMount=!1),O.useEffect(()=>{l.clearReset()},[l]);let d=!u.getQueryCache().get(c.queryHash),[p]=O.useState(()=>
2new t(u,c)),f=p.getOptimisticResult(c),y=!o&&!1!==e.subscribed;if(O.useSyncExternalStore(O.useCallback(e=>{let t=y?p.subscribe(i.notifyManager.batchCalls(e)):n.noop;return p.updateResult(),t},[p,y]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),O.useEffect(()=>{p.setOptions(c)},[c,p]),c?.suspense&&f.isPending)throw I(c,p,l);if((({result:e,errorResetBoundary:t,throwOnError:r,query:s,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&s&&(i&&void 0===e.data||(0,n.shouldThrowError)(r,[e.error,s])))({result:f,errorResetBoundary:l,throwOnError:c.throwOnError,query:h,suspense:c.suspense}))throw f.error;if(u.getDefaultOptions().queries?._experimental_afterQuery?.(c,f),c.experimental_prefetchInRender&&!s.environmentManager.isServer()&&f.isLoading&&f.isFetching&&!o){let e=d?I(c,p,l):h?.promise;e?.catch(n.noop).finally(()=>{p.updateResult()})}return c.notifyOnChangeProps?f:p.trackResult(f)}],469637)}]);
3
4//# debugId=eb0a5fb3-cb50-98d5-c6ba-e0b46ec501c8

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.