HOME


Mini Shell 1.0
DIR: /home/otwalrll/satojafurnitures.com/wp-content/plugins/elementor/assets/js/packages/query/
Upload File :
Current File : //home/otwalrll/satojafurnitures.com/wp-content/plugins/elementor/assets/js/packages/query/query.js
/*! For license information please see query.js.LICENSE.txt */
!function(){"use strict";var e={"./packages/node_modules/@tanstack/query-core/build/modern/focusManager.js":function(e,t,r){r.r(t),r.d(t,{FocusManager:function(){return i},focusManager:function(){return a}});var n=r("./packages/node_modules/@tanstack/query-core/build/modern/subscribable.js"),s=r("./packages/node_modules/@tanstack/query-core/build/modern/utils.js"),i=class extends n.Subscribable{#e;#t;#r;constructor(){super(),this.#r=e=>{if(!s.isServer&&window.addEventListener){const listener=()=>e();return window.addEventListener("visibilitychange",listener,!1),()=>{window.removeEventListener("visibilitychange",listener)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#e?this.#e:"hidden"!==globalThis.document?.visibilityState}},a=new i},"./packages/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js":function(e,t,r){r.r(t),r.d(t,{hasNextPage:function(){return hasNextPage},hasPreviousPage:function(){return hasPreviousPage},infiniteQueryBehavior:function(){return infiniteQueryBehavior}});var n=r("./packages/node_modules/@tanstack/query-core/build/modern/utils.js");function infiniteQueryBehavior(e){return{onFetch:(t,r)=>{const s=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[];let u={pages:[],pageParams:[]},c=0;const fetchFn=async()=>{let r=!1;const l=(0,n.ensureQueryFn)(t.options,t.fetchOptions),fetchPage=async(e,s,i)=>{if(r)return Promise.reject();if(null==s&&e.pages.length)return Promise.resolve(e);const a=(()=>{const e={client:t.client,queryKey:t.queryKey,pageParam:s,direction:i?"backward":"forward",meta:t.options.meta};var n;return n=e,Object.defineProperty(n,"signal",{enumerable:!0,get:()=>(t.signal.aborted?r=!0:t.signal.addEventListener("abort",()=>{r=!0}),t.signal)}),e})(),o=await l(a),{maxPages:u}=t.options,c=i?n.addToStart:n.addToEnd;return{pages:c(e.pages,o,u),pageParams:c(e.pageParams,s,u)}};if(i&&a.length){const e="backward"===i,t={pages:a,pageParams:o},r=(e?getPreviousPageParam:getNextPageParam)(s,t);u=await fetchPage(t,r,e)}else{const t=e??a.length;do{const e=0===c?o[0]??s.initialPageParam:getNextPageParam(s,u);if(c>0&&null==e)break;u=await fetchPage(u,e),c++}while(c<t)}return u};t.options.persister?t.fetchFn=()=>t.options.persister?.(fetchFn,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=fetchFn}}}function getNextPageParam(e,{pages:t,pageParams:r}){const n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function getPreviousPageParam(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}function hasNextPage(e,t){return!!t&&null!=getNextPageParam(e,t)}function hasPreviousPage(e,t){return!(!t||!e.getPreviousPageParam)&&null!=getPreviousPageParam(e,t)}},"./packages/node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.js":function(e,t,r){r.r(t),r.d(t,{InfiniteQueryObserver:function(){return i}});var n=r("./packages/node_modules/@tanstack/query-core/build/modern/queryObserver.js"),s=r("./packages/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js"),i=class extends n.QueryObserver{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:(0,s.infiniteQueryBehavior)()})}getOptimisticResult(e){return e.behavior=(0,s.infiniteQueryBehavior)(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){const{state:r}=e,n=super.createResult(e,t),{isFetching:i,isRefetching:a,isError:o,isRefetchError:u}=n,c=r.fetchMeta?.fetchMore?.direction,l=o&&"forward"===c,d=i&&"forward"===c,h=o&&"backward"===c,f=i&&"backward"===c;return{...n,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,s.hasNextPage)(t,r.data),hasPreviousPage:(0,s.hasPreviousPage)(t,r.data),isFetchNextPageError:l,isFetchingNextPage:d,isFetchPreviousPageError:h,isFetchingPreviousPage:f,isRefetchError:u&&!l&&!h,isRefetching:a&&!d&&!f}}}},"./packages/node_modules/@tanstack/query-core/build/modern/mutation.js":function(e,t,r){r.r(t),r.d(t,{Mutation:function(){return a},getDefaultState:function(){return getDefaultState}});var n=r("./packages/node_modules/@tanstack/query-core/build/modern/notifyManager.js"),s=r("./packages/node_modules/@tanstack/query-core/build/modern/removable.js"),i=r("./packages/node_modules/@tanstack/query-core/build/modern/retryer.js"),a=class extends s.Removable{#n;#s;#i;constructor(e){super(),this.mutationId=e.mutationId,this.#s=e.mutationCache,this.#n=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#n.includes(e)||(this.#n.push(e),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#n=this.#n.filter(t=>t!==e),this.scheduleGc(),this.#s.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#n.length||("pending"===this.state.status?this.scheduleGc():this.#s.remove(this))}continue(){return this.#i?.continue()??this.execute(this.state.variables)}async execute(e){const onContinue=()=>{this.#a({type:"continue"})};this.#i=(0,i.createRetryer)({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{this.#a({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#a({type:"pause"})},onContinue:onContinue,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#s.canRun(this)});const t="pending"===this.state.status,r=!this.#i.canStart();try{if(t)onContinue();else{this.#a({type:"pending",variables:e,isPaused:r}),await(this.#s.config.onMutate?.(e,this));const t=await(this.options.onMutate?.(e));t!==this.state.context&&this.#a({type:"pending",context:t,variables:e,isPaused:r})}const n=await this.#i.start();return await(this.#s.config.onSuccess?.(n,e,this.state.context,this)),await(this.options.onSuccess?.(n,e,this.state.context)),await(this.#s.config.onSettled?.(n,null,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(n,null,e,this.state.context)),this.#a({type:"success",data:n}),n}catch(t){try{throw await(this.#s.config.onError?.(t,e,this.state.context,this)),await(this.options.onError?.(t,e,this.state.context)),await(this.#s.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(void 0,t,e,this.state.context)),t}finally{this.#a({type:"error",error:t})}}finally{this.#s.runNext(this)}}#a(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),n.notifyManager.batch(()=>{this.#n.forEach(t=>{t.onMutationUpdate(e)}),this.#s.notify({mutation:this,type:"updated",action:e})})}};function getDefaultState(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},"./packages/node_modules/@tanstack/query-core/build/modern/mutationCache.js":function(e,t,r){r.r(t),r.d(t,{MutationCache:function(){return o}});var n=r("./packages/node_modules/@tanstack/query-core/build/modern/notifyManager.js"),s=r("./packages/node_modules/@tanstack/query-core/build/modern/mutation.js"),i=r("./packages/node_modules/@tanstack/query-core/build/modern/utils.js"),a=r("./packages/node_modules/@tanstack/query-core/build/modern/subscribable.js"),o=class extends a.Subscribable{constructor(e={}){super(),this.config=e,this.#o=new Set,this.#u=new Map,this.#c=0}#o;#u;#c;build(e,t,r){const n=new s.Mutation({mutationCache:this,mutationId:++this.#c,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){this.#o.add(e);const t=scopeFor(e);if("string"==typeof t){const r=this.#u.get(t);r?r.push(e):this.#u.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#o.delete(e)){const t=scopeFor(e);if("string"==typeof t){const r=this.#u.get(t);if(r)if(r.length>1){const t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&this.#u.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=scopeFor(e);if("string"==typeof t){const r=this.#u.get(t),n=r?.find(e=>"pending"===e.state.status);return!n||n===e}return!0}runNext(e){const t=scopeFor(e);if("string"==typeof t){const r=this.#u.get(t)?.find(t=>t!==e&&t.state.isPaused);return r?.continue()??Promise.resolve()}return Promise.resolve()}clear(){n.notifyManager.batch(()=>{this.#o.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#o.clear(),this.#u.clear()})}getAll(){return Array.from(this.#o)}find(e){const t={exact:!0,...e};return this.getAll().find(e=>(0,i.matchMutation)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,i.matchMutation)(e,t))}notify(e){n.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(e=>e.state.isPaused);return n.notifyManager.batch(()=>Promise.all(e.map(e=>e.continue().catch(i.noop))))}};function scopeFor(e){return e.options.scope?.id}},"./packages/node_modules/@tanstack/query-core/build/modern/mutationObserver.js":function(e,t,r){r.r(t),r.d(t,{MutationObserver:function(){return o}});var n=r("./packages/node_modules/@tanstack/query-core/build/modern/mutation.js"),s=r("./packages/node_modules/@tanstack/query-core/build/modern/notifyManager.js"),i=r("./packages/node_modules/@tanstack/query-core/build/modern/subscribable.js"),a=r("./packages/node_modules/@tanstack/query-core/build/modern/utils.js"),o=class extends i.Subscribable{#l;#d=void 0;#h;#f;constructor(e,t){super(),this.#l=e,this.setOptions(t),this.bindMethods(),this.#p()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){const t=this.options;this.options=this.#l.defaultMutationOptions(e),(0,a.shallowEqualObjects)(this.options,t)||this.#l.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#h,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,a.hashKey)(t.mutationKey)!==(0,a.hashKey)(this.options.mutationKey)?this.reset():"pending"===this.#h?.state.status&&this.#h.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#h?.removeObserver(this)}onMutationUpdate(e){this.#p(),this.#y(e)}getCurrentResult(){return this.#d}reset(){this.#h?.removeObserver(this),this.#h=void 0,this.#p(),this.#y()}mutate(e,t){return this.#f=t,this.#h?.removeObserver(this),this.#h=this.#l.getMutationCache().build(this.#l,this.options),this.#h.addObserver(this),this.#h.execute(e)}#p(){const e=this.#h?.state??(0,n.getDefaultState)();this.#d={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#y(e){s.notifyManager.batch(()=>{if(this.#f&&this.hasListeners()){const t=this.#d.variables,r=this.#d.context;"success"===e?.type?(this.#f.onSuccess?.(e.data,t,r),this.#f.onSettled?.(e.data,null,t,r)):"error"===e?.type&&(this.#f.onError?.(e.error,t,r),this.#f.onSettled?.(void 0,e.error,t,r))}this.listeners.forEach(e=>{e(this.#d)})})}}},"./packages/node_modules/@tanstack/query-core/build/modern/notifyManager.js":function(e,t,r){r.r(t),r.d(t,{createNotifyManager:function(){return createNotifyManager},defaultScheduler:function(){return defaultScheduler},notifyManager:function(){return n}});var defaultScheduler=e=>setTimeout(e,0);function createNotifyManager(){let e=[],t=0,notifyFn=e=>{e()},batchNotifyFn=e=>{e()},r=defaultScheduler;const schedule=n=>{t?e.push(n):r(()=>{notifyFn(n)})};return{batch:n=>{let s;t++;try{s=n()}finally{t--,t||(()=>{const t=e;e=[],t.length&&r(()=>{batchNotifyFn(()=>{t.forEach(e=>{notifyFn(e)})})})})()}return s},batchCalls:e=>(...t)=>{schedule(()=>{e(...t)})},schedule:schedule,setNotifyFunction:e=>{notifyFn=e},setBatchNotifyFunction:e=>{batchNotifyFn=e},setScheduler:e=>{r=e}}}var n=createNotifyManager()},"./packages/node_modules/@tanstack/query-core/build/modern/onlineManager.js":function(e,t,r){r.r(t),r.d(t,{OnlineManager:function(){return i},onlineManager:function(){return a}});var n=r("./packages/node_modules/@tanstack/query-core/build/modern/subscribable.js"),s=r("./packages/node_modules/@tanstack/query-core/build/modern/utils.js"),i=class extends n.Subscribable{#m=!0;#t;#r;constructor(){super(),this.#r=e=>{if(!s.isServer&&window.addEventListener){const onlineListener=()=>e(!0),offlineListener=()=>e(!1);return window.addEventListener("online",onlineListener,!1),window.addEventListener("offline",offlineListener,!1),()=>{window.removeEventListener("online",onlineListener),window.removeEventListener("offline",offlineListener)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#m!==e&&(this.#m=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#m}},a=new i},"./packages/node_modules/@tanstack/query-core/build/modern/query.js":function(e,t,r){r.r(t),r.d(t,{Query:function(){return o},fetchState:function(){return fetchState}});var n=r("./packages/node_modules/@tanstack/query-core/build/modern/utils.js"),s=r("./packages/node_modules/@tanstack/query-core/build/modern/notifyManager.js"),i=r("./packages/node_modules/@tanstack/query-core/build/modern/retryer.js"),a=r("./packages/node_modules/@tanstack/query-core/build/modern/removable.js"),o=class extends a.Removable{#g;#b;#v;#l;#i;#k;#O;constructor(e){super(),this.#O=!1,this.#k=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#l=e.client,this.#v=this.#l.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#g=function getDefaultState(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=e.state??this.#g,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#i?.promise}setOptions(e){this.options={...this.#k,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#v.remove(this)}setData(e,t){const r=(0,n.replaceData)(this.state.data,e,this.options);return this.#a({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#a({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#i?.promise;return this.#i?.cancel(e),t?t.then(n.noop).catch(n.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#g)}isActive(){return this.observers.some(e=>!1!==(0,n.resolveEnabled)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===n.skipToken||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(){const e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){const e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#v.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.#i&&(this.#O?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#v.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#a({type:"invalidate"})}fetch(e,t){if("idle"!==this.state.fetchStatus)if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']");const r=new AbortController,addSignalProperty=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#O=!0,r.signal)})},fetchFn=()=>{const e=(0,n.ensureQueryFn)(this.options,t),r=(()=>{const e={client:this.#l,queryKey:this.queryKey,meta:this.meta};return addSignalProperty(e),e})();return this.#O=!1,this.options.persister?this.options.persister(e,r,this):e(r)},s=(()=>{const e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#l,state:this.state,fetchFn:fetchFn};return addSignalProperty(e),e})();this.options.behavior?.onFetch(s,this),this.#b=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===s.fetchOptions?.meta||this.#a({type:"fetch",meta:s.fetchOptions?.meta});const onError=e=>{(0,i.isCancelledError)(e)&&e.silent||this.#a({type:"error",error:e}),(0,i.isCancelledError)(e)||(this.#v.config.onError?.(e,this),this.#v.config.onSettled?.(this.state.data,e,this)),this.scheduleGc()};return this.#i=(0,i.createRetryer)({initialPromise:t?.initialPromise,fn:s.fetchFn,abort:r.abort.bind(r),onSuccess:e=>{if(void 0===e)return console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),void onError(new Error(`${this.queryHash} data is undefined`));try{this.setData(e)}catch(e){return void onError(e)}this.#v.config.onSuccess?.(e,this),this.#v.config.onSettled?.(e,this.state.error,this),this.scheduleGc()},onError:onError,onFail:(e,t)=>{this.#a({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#a({type:"pause"})},onContinue:()=>{this.#a({type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0}),this.#i.start()}#a(e){this.state=(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,...fetchState(t.data,this.options),fetchMeta:e.meta??null};case"success":return this.#b=void 0,{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const r=e.error;return(0,i.isCancelledError)(r)&&r.revert&&this.#b?{...this.#b,fetchStatus:"idle"}:{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),s.notifyManager.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#v.notify({query:this,type:"updated",action:e})})}};function fetchState(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,i.canFetch)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}},"./packages/node_modules/@tanstack/query-core/build/modern/queryCache.js":function(e,t,r){r.r(t),r.d(t,{QueryCache:function(){return o}});var n=r("./packages/node_modules/@tanstack/query-core/build/modern/utils.js"),s=r("./packages/node_modules/@tanstack/query-core/build/modern/query.js"),i=r("./packages/node_modules/@tanstack/query-core/build/modern/notifyManager.js"),a=r("./packages/node_modules/@tanstack/query-core/build/modern/subscribable.js"),o=class extends a.Subscribable{constructor(e={}){super(),this.config=e,this.#q=new Map}#q;build(e,t,r){const i=t.queryKey,a=t.queryHash??(0,n.hashQueryKeyByOptions)(i,t);let o=this.get(a);return o||(o=new s.Query({client:e,queryKey:i,queryHash:a,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(i)}),this.add(o)),o}add(e){this.#q.has(e.queryHash)||(this.#q.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#q.get(e.queryHash);t&&(e.destroy(),t===e&&this.#q.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){i.notifyManager.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#q.get(e)}getAll(){return[...this.#q.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(e=>(0,n.matchQuery)(t,e))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,n.matchQuery)(e,t)):t}notify(e){i.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){i.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){i.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}}},"./packages/node_modules/@tanstack/query-core/build/modern/queryClient.js":function(e,t,r){r.r(t),r.d(t,{QueryClient:function(){return l}});var n=r("./packages/node_modules/@tanstack/query-core/build/modern/utils.js"),s=r("./packages/node_modules/@tanstack/query-core/build/modern/queryCache.js"),i=r("./packages/node_modules/@tanstack/query-core/build/modern/mutationCache.js"),a=r("./packages/node_modules/@tanstack/query-core/build/modern/focusManager.js"),o=r("./packages/node_modules/@tanstack/query-core/build/modern/onlineManager.js"),u=r("./packages/node_modules/@tanstack/query-core/build/modern/notifyManager.js"),c=r("./packages/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js"),l=class{#C;#s;#k;#_;#S;#w;#R;#j;constructor(e={}){this.#C=e.queryCache||new s.QueryCache,this.#s=e.mutationCache||new i.MutationCache,this.#k=e.defaultOptions||{},this.#_=new Map,this.#S=new Map,this.#w=0}mount(){this.#w++,1===this.#w&&(this.#R=a.focusManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#C.onFocus())}),this.#j=o.onlineManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#C.onOnline())}))}unmount(){this.#w--,0===this.#w&&(this.#R?.(),this.#R=void 0,this.#j?.(),this.#j=void 0)}isFetching(e){return this.#C.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#s.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#C.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),r=this.#C.build(this,t),s=r.state.data;return void 0===s?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime((0,n.resolveStaleTime)(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(s))}getQueriesData(e){return this.#C.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,r){const s=this.defaultQueryOptions({queryKey:e}),i=this.#C.get(s.queryHash),a=i?.state.data,o=(0,n.functionalUpdate)(t,a);if(void 0!==o)return this.#C.build(this,s).setData(o,{...r,manual:!0})}setQueriesData(e,t,r){return u.notifyManager.batch(()=>this.#C.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#C.get(t.queryHash)?.state}removeQueries(e){const t=this.#C;u.notifyManager.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){const r=this.#C;return u.notifyManager.batch(()=>(r.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const r={revert:!0,...t},s=u.notifyManager.batch(()=>this.#C.findAll(e).map(e=>e.cancel(r)));return Promise.all(s).then(n.noop).catch(n.noop)}invalidateQueries(e,t={}){return u.notifyManager.batch(()=>(this.#C.findAll(e).forEach(e=>{e.invalidate()}),"none"===e?.refetchType?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const r={...t,cancelRefetch:t.cancelRefetch??!0},s=u.notifyManager.batch(()=>this.#C.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch(n.noop)),"paused"===e.state.fetchStatus?Promise.resolve():t}));return Promise.all(s).then(n.noop)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const r=this.#C.build(this,t);return r.isStaleByTime((0,n.resolveStaleTime)(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(n.noop).catch(n.noop)}fetchInfiniteQuery(e){return e.behavior=(0,c.infiniteQueryBehavior)(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(n.noop).catch(n.noop)}ensureInfiniteQueryData(e){return e.behavior=(0,c.infiniteQueryBehavior)(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return o.onlineManager.isOnline()?this.#s.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#C}getMutationCache(){return this.#s}getDefaultOptions(){return this.#k}setDefaultOptions(e){this.#k=e}setQueryDefaults(e,t){this.#_.set((0,n.hashKey)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#_.values()],r={};return t.forEach(t=>{(0,n.partialMatchKey)(e,t.queryKey)&&Object.assign(r,t.defaultOptions)}),r}setMutationDefaults(e,t){this.#S.set((0,n.hashKey)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#S.values()],r={};return t.forEach(t=>{(0,n.partialMatchKey)(e,t.mutationKey)&&Object.assign(r,t.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#k.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,n.hashQueryKeyByOptions)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===n.skipToken&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#k.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#C.clear(),this.#s.clear()}}},"./packages/node_modules/@tanstack/query-core/build/modern/queryObserver.js":function(e,t,r){r.r(t),r.d(t,{QueryObserver:function(){return c}});var n=r("./packages/node_modules/@tanstack/query-core/build/modern/focusManager.js"),s=r("./packages/node_modules/@tanstack/query-core/build/modern/notifyManager.js"),i=r("./packages/node_modules/@tanstack/query-core/build/modern/query.js"),a=r("./packages/node_modules/@tanstack/query-core/build/modern/subscribable.js"),o=r("./packages/node_modules/@tanstack/query-core/build/modern/thenable.js"),u=r("./packages/node_modules/@tanstack/query-core/build/modern/utils.js"),c=class extends a.Subscribable{constructor(e,t){super(),this.options=t,this.#l=e,this.#P=null,this.#E=(0,o.pendingThenable)(),this.options.experimental_prefetchInRender||this.#E.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(t)}#l;#Q=void 0;#F=void 0;#d=void 0;#T;#M;#E;#P;#x;#D;#I;#A;#K;#N;#U=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#Q.addObserver(this),shouldFetchOnMount(this.#Q,this.options)?this.#B():this.updateResult(),this.#V())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return shouldFetchOn(this.#Q,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return shouldFetchOn(this.#Q,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#L(),this.#$(),this.#Q.removeObserver(this)}setOptions(e){const t=this.options,r=this.#Q;if(this.options=this.#l.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,u.resolveEnabled)(this.options.enabled,this.#Q))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#H(),this.#Q.setOptions(this.options),t._defaulted&&!(0,u.shallowEqualObjects)(this.options,t)&&this.#l.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#Q,observer:this});const n=this.hasListeners();n&&shouldFetchOptionally(this.#Q,r,this.options,t)&&this.#B(),this.updateResult(),!n||this.#Q===r&&(0,u.resolveEnabled)(this.options.enabled,this.#Q)===(0,u.resolveEnabled)(t.enabled,this.#Q)&&(0,u.resolveStaleTime)(this.options.staleTime,this.#Q)===(0,u.resolveStaleTime)(t.staleTime,this.#Q)||this.#W();const s=this.#G();!n||this.#Q===r&&(0,u.resolveEnabled)(this.options.enabled,this.#Q)===(0,u.resolveEnabled)(t.enabled,this.#Q)&&s===this.#N||this.#z(s)}getOptimisticResult(e){const t=this.#l.getQueryCache().build(this.#l,e),r=this.createResult(t,e);return function shouldAssignObserverCurrentProperties(e,t){if(!(0,u.shallowEqualObjects)(e.getCurrentResult(),t))return!0;return!1}(this,r)&&(this.#d=r,this.#M=this.options,this.#T=this.#Q.state),r}getCurrentResult(){return this.#d}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),Reflect.get(e,r))})}trackProp(e){this.#U.add(e)}getCurrentQuery(){return this.#Q}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#l.defaultQueryOptions(e),r=this.#l.getQueryCache().build(this.#l,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#B({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#d))}#B(e){this.#H();let t=this.#Q.fetch(this.options,e);return e?.throwOnError||(t=t.catch(u.noop)),t}#W(){this.#L();const e=(0,u.resolveStaleTime)(this.options.staleTime,this.#Q);if(u.isServer||this.#d.isStale||!(0,u.isValidTimeout)(e))return;const t=(0,u.timeUntilStale)(this.#d.dataUpdatedAt,e)+1;this.#A=setTimeout(()=>{this.#d.isStale||this.updateResult()},t)}#G(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#Q):this.options.refetchInterval)??!1}#z(e){this.#$(),this.#N=e,!u.isServer&&!1!==(0,u.resolveEnabled)(this.options.enabled,this.#Q)&&(0,u.isValidTimeout)(this.#N)&&0!==this.#N&&(this.#K=setInterval(()=>{(this.options.refetchIntervalInBackground||n.focusManager.isFocused())&&this.#B()},this.#N))}#V(){this.#W(),this.#z(this.#G())}#L(){this.#A&&(clearTimeout(this.#A),this.#A=void 0)}#$(){this.#K&&(clearInterval(this.#K),this.#K=void 0)}createResult(e,t){const r=this.#Q,n=this.options,s=this.#d,a=this.#T,c=this.#M,l=e!==r?e.state:this.#F,{state:d}=e;let h,f={...d},p=!1;if(t._optimisticResults){const s=this.hasListeners(),a=!s&&shouldFetchOnMount(e,t),o=s&&shouldFetchOptionally(e,r,t,n);(a||o)&&(f={...f,...(0,i.fetchState)(d.data,e.options)}),"isRestoring"===t._optimisticResults&&(f.fetchStatus="idle")}let{error:y,errorUpdatedAt:m,status:g}=f;h=f.data;let b=!1;if(void 0!==t.placeholderData&&void 0===h&&"pending"===g){let e;s?.isPlaceholderData&&t.placeholderData===c?.placeholderData?(e=s.data,b=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#I?.state.data,this.#I):t.placeholderData,void 0!==e&&(g="success",h=(0,u.replaceData)(s?.data,e,t),p=!0)}if(t.select&&void 0!==h&&!b)if(s&&h===a?.data&&t.select===this.#x)h=this.#D;else try{this.#x=t.select,h=t.select(h),h=(0,u.replaceData)(s?.data,h,t),this.#D=h,this.#P=null}catch(e){this.#P=e}this.#P&&(y=this.#P,h=this.#D,m=Date.now(),g="error");const v="fetching"===f.fetchStatus,k="pending"===g,O="error"===g,q=k&&v,C=void 0!==h,_={status:g,fetchStatus:f.fetchStatus,isPending:k,isSuccess:"success"===g,isError:O,isInitialLoading:q,isLoading:q,data:h,dataUpdatedAt:f.dataUpdatedAt,error:y,errorUpdatedAt:m,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>l.dataUpdateCount||f.errorUpdateCount>l.errorUpdateCount,isFetching:v,isRefetching:v&&!k,isLoadingError:O&&!C,isPaused:"paused"===f.fetchStatus,isPlaceholderData:p,isRefetchError:O&&C,isStale:isStale(e,t),refetch:this.refetch,promise:this.#E};if(this.options.experimental_prefetchInRender){const finalizeThenableIfPossible=e=>{"error"===_.status?e.reject(_.error):void 0!==_.data&&e.resolve(_.data)},recreateThenable=()=>{const e=this.#E=_.promise=(0,o.pendingThenable)();finalizeThenableIfPossible(e)},t=this.#E;switch(t.status){case"pending":e.queryHash===r.queryHash&&finalizeThenableIfPossible(t);break;case"fulfilled":"error"!==_.status&&_.data===t.value||recreateThenable();break;case"rejected":"error"===_.status&&_.error===t.reason||recreateThenable()}}return _}updateResult(){const e=this.#d,t=this.createResult(this.#Q,this.options);if(this.#T=this.#Q.state,this.#M=this.options,void 0!==this.#T.data&&(this.#I=this.#Q),(0,u.shallowEqualObjects)(t,e))return;this.#d=t;this.#y({listeners:(()=>{if(!e)return!0;const{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#U.size)return!0;const n=new Set(r??this.#U);return this.options.throwOnError&&n.add("error"),Object.keys(this.#d).some(t=>{const r=t;return this.#d[r]!==e[r]&&n.has(r)})})()})}#H(){const e=this.#l.getQueryCache().build(this.#l,this.options);if(e===this.#Q)return;const t=this.#Q;this.#Q=e,this.#F=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#V()}#y(e){s.notifyManager.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#d)}),this.#l.getQueryCache().notify({query:this.#Q,type:"observerResultsUpdated"})})}};function shouldFetchOnMount(e,t){return function shouldLoadOnMount(e,t){return!1!==(0,u.resolveEnabled)(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||void 0!==e.state.data&&shouldFetchOn(e,t,t.refetchOnMount)}function shouldFetchOn(e,t,r){if(!1!==(0,u.resolveEnabled)(t.enabled,e)&&"static"!==(0,u.resolveStaleTime)(t.staleTime,e)){const n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&isStale(e,t)}return!1}function shouldFetchOptionally(e,t,r,n){return(e!==t||!1===(0,u.resolveEnabled)(n.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&isStale(e,r)}function isStale(e,t){return!1!==(0,u.resolveEnabled)(t.enabled,e)&&e.isStaleByTime((0,u.resolveStaleTime)(t.staleTime,e))}},"./packages/node_modules/@tanstack/query-core/build/modern/removable.js":function(e,t,r){r.r(t),r.d(t,{Removable:function(){return s}});var n=r("./packages/node_modules/@tanstack/query-core/build/modern/utils.js"),s=class{#J;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,n.isValidTimeout)(this.gcTime)&&(this.#J=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(n.isServer?1/0:3e5))}clearGcTimeout(){this.#J&&(clearTimeout(this.#J),this.#J=void 0)}}},"./packages/node_modules/@tanstack/query-core/build/modern/retryer.js":function(e,t,r){r.r(t),r.d(t,{CancelledError:function(){return o},canFetch:function(){return canFetch},createRetryer:function(){return createRetryer},isCancelledError:function(){return isCancelledError}});var n=r("./packages/node_modules/@tanstack/query-core/build/modern/focusManager.js"),s=r("./packages/node_modules/@tanstack/query-core/build/modern/onlineManager.js"),i=r("./packages/node_modules/@tanstack/query-core/build/modern/thenable.js"),a=r("./packages/node_modules/@tanstack/query-core/build/modern/utils.js");function defaultRetryDelay(e){return Math.min(1e3*2**e,3e4)}function canFetch(e){return"online"!==(e??"online")||s.onlineManager.isOnline()}var o=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function isCancelledError(e){return e instanceof o}function createRetryer(e){let t,r=!1,u=0,c=!1;const l=(0,i.pendingThenable)(),canContinue=()=>n.focusManager.isFocused()&&("always"===e.networkMode||s.onlineManager.isOnline())&&e.canRun(),canStart=()=>canFetch(e.networkMode)&&e.canRun(),resolve=r=>{c||(c=!0,e.onSuccess?.(r),t?.(),l.resolve(r))},reject=r=>{c||(c=!0,e.onError?.(r),t?.(),l.reject(r))},pause=()=>new Promise(r=>{t=e=>{(c||canContinue())&&r(e)},e.onPause?.()}).then(()=>{t=void 0,c||e.onContinue?.()}),run=()=>{if(c)return;let t;const n=0===u?e.initialPromise:void 0;try{t=n??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(resolve).catch(t=>{if(c)return;const n=e.retry??(a.isServer?0:3),s=e.retryDelay??defaultRetryDelay,i="function"==typeof s?s(u,t):s,o=!0===n||"number"==typeof n&&u<n||"function"==typeof n&&n(u,t);!r&&o?(u++,e.onFail?.(u,t),(0,a.sleep)(i).then(()=>canContinue()?void 0:pause()).then(()=>{r?reject(t):run()})):reject(t)})};return{promise:l,cancel:t=>{c||(reject(new o(t)),e.abort?.())},continue:()=>(t?.(),l),cancelRetry:()=>{r=!0},continueRetry:()=>{r=!1},canStart:canStart,start:()=>(canStart()?run():pause().then(run),l)}}},"./packages/node_modules/@tanstack/query-core/build/modern/subscribable.js":function(e,t,r){r.r(t),r.d(t,{Subscribable:function(){return n}});var n=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},"./packages/node_modules/@tanstack/query-core/build/modern/thenable.js":function(e,t,r){r.r(t),r.d(t,{pendingThenable:function(){return pendingThenable},tryResolveSync:function(){return tryResolveSync}});var n=r("./packages/node_modules/@tanstack/query-core/build/modern/utils.js");function pendingThenable(){let e,t;const r=new Promise((r,n)=>{e=r,t=n});function finalize(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch(()=>{}),r.resolve=t=>{finalize({status:"fulfilled",value:t}),e(t)},r.reject=e=>{finalize({status:"rejected",reason:e}),t(e)},r}function tryResolveSync(e){let t;if(e.then(e=>(t=e,e),n.noop)?.catch(n.noop),void 0!==t)return{data:t}}},"./packages/node_modules/@tanstack/query-core/build/modern/utils.js":function(e,t,r){r.r(t),r.d(t,{addToEnd:function(){return addToEnd},addToStart:function(){return addToStart},ensureQueryFn:function(){return ensureQueryFn},functionalUpdate:function(){return functionalUpdate},hashKey:function(){return hashKey},hashQueryKeyByOptions:function(){return hashQueryKeyByOptions},isPlainArray:function(){return isPlainArray},isPlainObject:function(){return isPlainObject},isServer:function(){return n},isValidTimeout:function(){return isValidTimeout},keepPreviousData:function(){return keepPreviousData},matchMutation:function(){return matchMutation},matchQuery:function(){return matchQuery},noop:function(){return noop},partialMatchKey:function(){return partialMatchKey},replaceData:function(){return replaceData},replaceEqualDeep:function(){return replaceEqualDeep},resolveEnabled:function(){return resolveEnabled},resolveStaleTime:function(){return resolveStaleTime},shallowEqualObjects:function(){return shallowEqualObjects},shouldThrowError:function(){return shouldThrowError},skipToken:function(){return s},sleep:function(){return sleep},timeUntilStale:function(){return timeUntilStale}});var n="undefined"==typeof window||"Deno"in globalThis;function noop(){}function functionalUpdate(e,t){return"function"==typeof e?e(t):e}function isValidTimeout(e){return"number"==typeof e&&e>=0&&e!==1/0}function timeUntilStale(e,t){return Math.max(e+(t||0)-Date.now(),0)}function resolveStaleTime(e,t){return"function"==typeof e?e(t):e}function resolveEnabled(e,t){return"function"==typeof e?e(t):e}function matchQuery(e,t){const{type:r="all",exact:n,fetchStatus:s,predicate:i,queryKey:a,stale:o}=e;if(a)if(n){if(t.queryHash!==hashQueryKeyByOptions(a,t.options))return!1}else if(!partialMatchKey(t.queryKey,a))return!1;if("all"!==r){const e=t.isActive();if("active"===r&&!e)return!1;if("inactive"===r&&e)return!1}return("boolean"!=typeof o||t.isStale()===o)&&((!s||s===t.state.fetchStatus)&&!(i&&!i(t)))}function matchMutation(e,t){const{exact:r,status:n,predicate:s,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(r){if(hashKey(t.options.mutationKey)!==hashKey(i))return!1}else if(!partialMatchKey(t.options.mutationKey,i))return!1}return(!n||t.state.status===n)&&!(s&&!s(t))}function hashQueryKeyByOptions(e,t){return(t?.queryKeyHashFn||hashKey)(e)}function hashKey(e){return JSON.stringify(e,(e,t)=>isPlainObject(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function partialMatchKey(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&Object.keys(t).every(r=>partialMatchKey(e[r],t[r])))}function replaceEqualDeep(e,t){if(e===t)return e;const r=isPlainArray(e)&&isPlainArray(t);if(r||isPlainObject(e)&&isPlainObject(t)){const n=r?e:Object.keys(e),s=n.length,i=r?t:Object.keys(t),a=i.length,o=r?[]:{},u=new Set(n);let c=0;for(let n=0;n<a;n++){const s=r?n:i[n];(!r&&u.has(s)||r)&&void 0===e[s]&&void 0===t[s]?(o[s]=void 0,c++):(o[s]=replaceEqualDeep(e[s],t[s]),o[s]===e[s]&&void 0!==e[s]&&c++)}return s===a&&c===s?e:o}return t}function shallowEqualObjects(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function isPlainArray(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function isPlainObject(e){if(!hasObjectPrototype(e))return!1;const t=e.constructor;if(void 0===t)return!0;const r=t.prototype;return!!hasObjectPrototype(r)&&(!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype)}function hasObjectPrototype(e){return"[object Object]"===Object.prototype.toString.call(e)}function sleep(e){return new Promise(t=>{setTimeout(t,e)})}function replaceData(e,t,r){if("function"==typeof r.structuralSharing)return r.structuralSharing(e,t);if(!1!==r.structuralSharing)try{return replaceEqualDeep(e,t)}catch(e){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${r.queryHash}]: ${e}`),e}return t}function keepPreviousData(e){return e}function addToEnd(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function addToStart(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var s=Symbol();function ensureQueryFn(e,t){return e.queryFn===s&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==s?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}function shouldThrowError(e,t){return"function"==typeof e?e(...t):!!e}},"./packages/node_modules/@tanstack/react-query/build/modern/IsRestoringProvider.js":function(e,t,r){r.r(t),r.d(t,{IsRestoringProvider:function(){return i},useIsRestoring:function(){return useIsRestoring}});var n=r("react"),s=n.createContext(!1),useIsRestoring=()=>n.useContext(s),i=s.Provider},"./packages/node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js":function(e,t,r){r.r(t),r.d(t,{QueryClientContext:function(){return i},QueryClientProvider:function(){return QueryClientProvider},useQueryClient:function(){return useQueryClient}});var n=r("react"),s=r("./packages/node_modules/react/jsx-runtime.js"),i=n.createContext(void 0),useQueryClient=e=>{const t=n.useContext(i);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},QueryClientProvider=({client:e,children:t})=>(n.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,s.jsx)(i.Provider,{value:e,children:t}))},"./packages/node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js":function(e,t,r){r.r(t),r.d(t,{QueryErrorResetBoundary:function(){return QueryErrorResetBoundary},useQueryErrorResetBoundary:function(){return useQueryErrorResetBoundary}});var n=r("react"),s=r("./packages/node_modules/react/jsx-runtime.js");function createValue(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var i=n.createContext(createValue()),useQueryErrorResetBoundary=()=>n.useContext(i),QueryErrorResetBoundary=({children:e})=>{const[t]=n.useState(()=>createValue());return(0,s.jsx)(i.Provider,{value:t,children:"function"==typeof e?e(t):e})}},"./packages/node_modules/@tanstack/react-query/build/modern/errorBoundaryUtils.js":function(e,t,r){r.r(t),r.d(t,{ensurePreventErrorBoundaryRetry:function(){return ensurePreventErrorBoundaryRetry},getHasError:function(){return getHasError},useClearResetErrorBoundary:function(){return useClearResetErrorBoundary}});var n=r("react"),s=r("./packages/node_modules/@tanstack/query-core/build/modern/utils.js"),ensurePreventErrorBoundaryRetry=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},useClearResetErrorBoundary=e=>{n.useEffect(()=>{e.clearReset()},[e])},getHasError=({result:e,errorResetBoundary:t,throwOnError:r,query:n,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&(i&&void 0===e.data||(0,s.shouldThrowError)(r,[e.error,n]))},"./packages/node_modules/@tanstack/react-query/build/modern/suspense.js":function(e,t,r){r.r(t),r.d(t,{defaultThrowOnError:function(){return defaultThrowOnError},ensureSuspenseTimers:function(){return ensureSuspenseTimers},fetchOptimistic:function(){return fetchOptimistic},shouldSuspend:function(){return shouldSuspend},willFetch:function(){return willFetch}});var defaultThrowOnError=(e,t)=>void 0===t.state.data,ensureSuspenseTimers=e=>{if(e.suspense){const clamp=e=>"static"===e?e:Math.max(e??1e3,1e3),t=e.staleTime;e.staleTime="function"==typeof t?(...e)=>clamp(t(...e)):clamp(t),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3))}},willFetch=(e,t)=>e.isLoading&&e.isFetching&&!t,shouldSuspend=(e,t)=>e?.suspense&&t.isPending,fetchOptimistic=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()})},"./packages/node_modules/@tanstack/react-query/build/modern/useBaseQuery.js":function(e,t,r){r.r(t),r.d(t,{useBaseQuery:function(){return useBaseQuery}});var n=r("react"),s=r("./packages/node_modules/@tanstack/query-core/build/modern/notifyManager.js"),i=r("./packages/node_modules/@tanstack/query-core/build/modern/utils.js"),a=r("./packages/node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js"),o=r("./packages/node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js"),u=r("./packages/node_modules/@tanstack/react-query/build/modern/errorBoundaryUtils.js"),c=r("./packages/node_modules/@tanstack/react-query/build/modern/IsRestoringProvider.js"),l=r("./packages/node_modules/@tanstack/react-query/build/modern/suspense.js");function useBaseQuery(e,t,r){if("object"!=typeof e||Array.isArray(e))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const d=(0,c.useIsRestoring)(),h=(0,o.useQueryErrorResetBoundary)(),f=(0,a.useQueryClient)(r),p=f.defaultQueryOptions(e);f.getDefaultOptions().queries?._experimental_beforeQuery?.(p),p.queryFn||console.error(`[${p.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`),p._optimisticResults=d?"isRestoring":"optimistic",(0,l.ensureSuspenseTimers)(p),(0,u.ensurePreventErrorBoundaryRetry)(p,h),(0,u.useClearResetErrorBoundary)(h);const y=!f.getQueryCache().get(p.queryHash),[m]=n.useState(()=>new t(f,p)),g=m.getOptimisticResult(p),b=!d&&!1!==e.subscribed;if(n.useSyncExternalStore(n.useCallback(e=>{const t=b?m.subscribe(s.notifyManager.batchCalls(e)):i.noop;return m.updateResult(),t},[m,b]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),n.useEffect(()=>{m.setOptions(p)},[p,m]),(0,l.shouldSuspend)(p,g))throw(0,l.fetchOptimistic)(p,m,h);if((0,u.getHasError)({result:g,errorResetBoundary:h,throwOnError:p.throwOnError,query:f.getQueryCache().get(p.queryHash),suspense:p.suspense}))throw g.error;if(f.getDefaultOptions().queries?._experimental_afterQuery?.(p,g),p.experimental_prefetchInRender&&!i.isServer&&(0,l.willFetch)(g,d)){const e=y?(0,l.fetchOptimistic)(p,m,h):f.getQueryCache().get(p.queryHash)?.promise;e?.catch(i.noop).finally(()=>{m.updateResult()})}return p.notifyOnChangeProps?g:m.trackResult(g)}},"./packages/node_modules/@tanstack/react-query/build/modern/useInfiniteQuery.js":function(e,t,r){r.r(t),r.d(t,{useInfiniteQuery:function(){return useInfiniteQuery}});var n=r("./packages/node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.js"),s=r("./packages/node_modules/@tanstack/react-query/build/modern/useBaseQuery.js");function useInfiniteQuery(e,t){return(0,s.useBaseQuery)(e,n.InfiniteQueryObserver,t)}},"./packages/node_modules/@tanstack/react-query/build/modern/useMutation.js":function(e,t,r){r.r(t),r.d(t,{useMutation:function(){return useMutation}});var n=r("react"),s=r("./packages/node_modules/@tanstack/query-core/build/modern/mutationObserver.js"),i=r("./packages/node_modules/@tanstack/query-core/build/modern/notifyManager.js"),a=r("./packages/node_modules/@tanstack/query-core/build/modern/utils.js"),o=r("./packages/node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js");function useMutation(e,t){const r=(0,o.useQueryClient)(t),[u]=n.useState(()=>new s.MutationObserver(r,e));n.useEffect(()=>{u.setOptions(e)},[u,e]);const c=n.useSyncExternalStore(n.useCallback(e=>u.subscribe(i.notifyManager.batchCalls(e)),[u]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),l=n.useCallback((e,t)=>{u.mutate(e,t).catch(a.noop)},[u]);if(c.error&&(0,a.shouldThrowError)(u.options.throwOnError,[c.error]))throw c.error;return{...c,mutate:l,mutateAsync:c.mutate}}},"./packages/node_modules/@tanstack/react-query/build/modern/useQuery.js":function(e,t,r){r.r(t),r.d(t,{useQuery:function(){return useQuery}});var n=r("./packages/node_modules/@tanstack/query-core/build/modern/queryObserver.js"),s=r("./packages/node_modules/@tanstack/react-query/build/modern/useBaseQuery.js");function useQuery(e,t){return(0,s.useBaseQuery)(e,n.QueryObserver,t)}},"./packages/node_modules/react/cjs/react-jsx-runtime.development.js":function(e,t,r){(function(){var e=r("react"),n=Symbol.for("react.element"),s=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),m=Symbol.iterator;var g=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function error(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];!function printWarning(e,t,r){var n=g.ReactDebugCurrentFrame,s=n.getStackAddendum();""!==s&&(t+="%s",r=r.concat([s]));var i=r.map(function(e){return String(e)});i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}("error",e,r)}var b;function getContextName(e){return e.displayName||"Context"}function getComponentNameFromType(e){if(null==e)return null;if("number"==typeof e.tag&&error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case i:return"Fragment";case s:return"Portal";case o:return"Profiler";case a:return"StrictMode";case d:return"Suspense";case h:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case c:return getContextName(e)+".Consumer";case u:return getContextName(e._context)+".Provider";case l:return function getWrappedName(e,t,r){var n=e.displayName;if(n)return n;var s=t.displayName||t.name||"";return""!==s?r+"("+s+")":r}(e,e.render,"ForwardRef");case f:var t=e.displayName||null;return null!==t?t:getComponentNameFromType(e.type)||"Memo";case p:var r=e,n=r._payload,y=r._init;try{return getComponentNameFromType(y(n))}catch(e){return null}}return null}b=Symbol.for("react.module.reference");var v,k,O,q,C,_,S,w=Object.assign,R=0;function disabledLog(){}disabledLog.__reactDisabledLog=!0;var j,P=g.ReactCurrentDispatcher;function describeBuiltInComponentFrame(e,t,r){if(void 0===j)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);j=n&&n[1]||""}return"\n"+j+e}var E,Q=!1,F="function"==typeof WeakMap?WeakMap:Map;function describeNativeComponentFrame(e,t){if(!e||Q)return"";var r,n=E.get(e);if(void 0!==n)return n;Q=!0;var s,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,s=P.current,P.current=null,function disableLogs(){if(0===R){v=console.log,k=console.info,O=console.warn,q=console.error,C=console.group,_=console.groupCollapsed,S=console.groupEnd;var e={configurable:!0,enumerable:!0,value:disabledLog,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}R++}();try{if(t){var Fake=function(){throw Error()};if(Object.defineProperty(Fake.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(Fake,[])}catch(e){r=e}Reflect.construct(e,[],Fake)}else{try{Fake.call()}catch(e){r=e}e.call(Fake.prototype)}}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),o=r.stack.split("\n"),u=a.length-1,c=o.length-1;u>=1&&c>=0&&a[u]!==o[c];)c--;for(;u>=1&&c>=0;u--,c--)if(a[u]!==o[c]){if(1!==u||1!==c)do{if(u--,--c<0||a[u]!==o[c]){var l="\n"+a[u].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),"function"==typeof e&&E.set(e,l),l}}while(u>=1&&c>=0);break}}}finally{Q=!1,P.current=s,function reenableLogs(){if(0===--R){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:w({},e,{value:v}),info:w({},e,{value:k}),warn:w({},e,{value:O}),error:w({},e,{value:q}),group:w({},e,{value:C}),groupCollapsed:w({},e,{value:_}),groupEnd:w({},e,{value:S})})}R<0&&error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var d=e?e.displayName||e.name:"",h=d?describeBuiltInComponentFrame(d):"";return"function"==typeof e&&E.set(e,h),h}function describeUnknownElementTypeFrameInDEV(e,t,r){if(null==e)return"";if("function"==typeof e)return describeNativeComponentFrame(e,function shouldConstruct(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return describeBuiltInComponentFrame(e);switch(e){case d:return describeBuiltInComponentFrame("Suspense");case h:return describeBuiltInComponentFrame("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case l:return function describeFunctionComponentFrame(e,t,r){return describeNativeComponentFrame(e,!1)}(e.render);case f:return describeUnknownElementTypeFrameInDEV(e.type,t,r);case p:var n=e,s=n._payload,i=n._init;try{return describeUnknownElementTypeFrameInDEV(i(s),t,r)}catch(e){}}return""}E=new F;var T=Object.prototype.hasOwnProperty,M={},x=g.ReactDebugCurrentFrame;function setCurrentlyValidatingElement(e){if(e){var t=e._owner,r=describeUnknownElementTypeFrameInDEV(e.type,e._source,t?t.type:null);x.setExtraStackFrame(r)}else x.setExtraStackFrame(null)}var D=Array.isArray;function isArray(e){return D(e)}function testStringCoercion(e){return""+e}function checkKeyStringCoercion(e){if(function willCoercionThrow(e){try{return testStringCoercion(e),!1}catch(e){return!0}}(e))return error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function typeName(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),testStringCoercion(e)}var I,A,K,N=g.ReactCurrentOwner,U={key:!0,ref:!0,__self:!0,__source:!0};K={};function jsxDEV(e,t,r,s,i){var a,o={},u=null,c=null;for(a in void 0!==r&&(checkKeyStringCoercion(r),u=""+r),function hasValidKey(e){if(T.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(checkKeyStringCoercion(t.key),u=""+t.key),function hasValidRef(e){if(T.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(c=t.ref,function warnIfStringRefCannotBeAutoConverted(e,t){if("string"==typeof e.ref&&N.current&&t&&N.current.stateNode!==t){var r=getComponentNameFromType(N.current.type);K[r]||(error('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',getComponentNameFromType(N.current.type),e.ref),K[r]=!0)}}(t,i)),t)T.call(t,a)&&!U.hasOwnProperty(a)&&(o[a]=t[a]);if(e&&e.defaultProps){var l=e.defaultProps;for(a in l)void 0===o[a]&&(o[a]=l[a])}if(u||c){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;u&&function defineKeyPropWarningGetter(e,t){var warnAboutAccessingKey=function(){I||(I=!0,error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};warnAboutAccessingKey.isReactWarning=!0,Object.defineProperty(e,"key",{get:warnAboutAccessingKey,configurable:!0})}(o,d),c&&function defineRefPropWarningGetter(e,t){var warnAboutAccessingRef=function(){A||(A=!0,error("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};warnAboutAccessingRef.isReactWarning=!0,Object.defineProperty(e,"ref",{get:warnAboutAccessingRef,configurable:!0})}(o,d)}return function(e,t,r,s,i,a,o){var u={$$typeof:n,type:e,key:t,ref:r,props:o,_owner:a,_store:{}};return Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u}(e,u,c,i,s,N.current,o)}var B,V=g.ReactCurrentOwner,L=g.ReactDebugCurrentFrame;function setCurrentlyValidatingElement$1(e){if(e){var t=e._owner,r=describeUnknownElementTypeFrameInDEV(e.type,e._source,t?t.type:null);L.setExtraStackFrame(r)}else L.setExtraStackFrame(null)}function isValidElement(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}function getDeclarationErrorAddendum(){if(V.current){var e=getComponentNameFromType(V.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}B=!1;var $={};function validateExplicitKey(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var r=function getCurrentComponentErrorInfo(e){var t=getDeclarationErrorAddendum();if(!t){var r="string"==typeof e?e:e.displayName||e.name;r&&(t="\n\nCheck the top-level render call using <"+r+">.")}return t}(t);if(!$[r]){$[r]=!0;var n="";e&&e._owner&&e._owner!==V.current&&(n=" It was passed a child from "+getComponentNameFromType(e._owner.type)+"."),setCurrentlyValidatingElement$1(e),error('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,n),setCurrentlyValidatingElement$1(null)}}}function validateChildKeys(e,t){if("object"==typeof e)if(isArray(e))for(var r=0;r<e.length;r++){var n=e[r];isValidElement(n)&&validateExplicitKey(n,t)}else if(isValidElement(e))e._store&&(e._store.validated=!0);else if(e){var s=function getIteratorFn(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof s&&s!==e.entries)for(var i,a=s.call(e);!(i=a.next()).done;)isValidElement(i.value)&&validateExplicitKey(i.value,t)}}function validatePropTypes(e){var t,r=e.type;if(null!=r&&"string"!=typeof r){if("function"==typeof r)t=r.propTypes;else{if("object"!=typeof r||r.$$typeof!==l&&r.$$typeof!==f)return;t=r.propTypes}if(t){var n=getComponentNameFromType(r);!function checkPropTypes(e,t,r,n,s){var i=Function.call.bind(T);for(var a in e)if(i(e,a)){var o=void 0;try{if("function"!=typeof e[a]){var u=Error((n||"React class")+": "+r+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}o=e[a](t,a,n,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){o=e}!o||o instanceof Error||(setCurrentlyValidatingElement(s),error("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",r,a,typeof o),setCurrentlyValidatingElement(null)),o instanceof Error&&!(o.message in M)&&(M[o.message]=!0,setCurrentlyValidatingElement(s),error("Failed %s type: %s",r,o.message),setCurrentlyValidatingElement(null))}}(t,e.props,"prop",n,e)}else if(void 0!==r.PropTypes&&!B){B=!0,error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",getComponentNameFromType(r)||"Unknown")}"function"!=typeof r.getDefaultProps||r.getDefaultProps.isReactClassApproved||error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var H={};function jsxWithValidation(e,t,r,s,m,g){var v=function isValidElementType(e){return"string"==typeof e||"function"==typeof e||e===i||e===o||e===a||e===d||e===h||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===u||e.$$typeof===c||e.$$typeof===l||e.$$typeof===b||void 0!==e.getModuleId)}(e);if(!v){var k="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(k+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var O,q=function getSourceInfoErrorAddendum(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(m);k+=q||getDeclarationErrorAddendum(),null===e?O="null":isArray(e)?O="array":void 0!==e&&e.$$typeof===n?(O="<"+(getComponentNameFromType(e.type)||"Unknown")+" />",k=" Did you accidentally export a JSX literal instead of a component?"):O=typeof e,error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",O,k)}var C=jsxDEV(e,t,r,m,g);if(null==C)return C;if(v){var _=t.children;if(void 0!==_)if(s)if(isArray(_)){for(var S=0;S<_.length;S++)validateChildKeys(_[S],e);Object.freeze&&Object.freeze(_)}else error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else validateChildKeys(_,e)}if(T.call(t,"key")){var w=getComponentNameFromType(e),R=Object.keys(t).filter(function(e){return"key"!==e}),j=R.length>0?"{key: someKey, "+R.join(": ..., ")+": ...}":"{key: someKey}";if(!H[w+j])error('A props object containing a "key" prop is being spread into JSX:\n  let props = %s;\n  <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n  let props = %s;\n  <%s key={someKey} {...props} />',j,w,R.length>0?"{"+R.join(": ..., ")+": ...}":"{}",w),H[w+j]=!0}return e===i?function validateFragmentProps(e){for(var t=Object.keys(e.props),r=0;r<t.length;r++){var n=t[r];if("children"!==n&&"key"!==n){setCurrentlyValidatingElement$1(e),error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),setCurrentlyValidatingElement$1(null);break}}null!==e.ref&&(setCurrentlyValidatingElement$1(e),error("Invalid attribute `ref` supplied to `React.Fragment`."),setCurrentlyValidatingElement$1(null))}(C):validatePropTypes(C),C}var W=function jsxWithValidationDynamic(e,t,r){return jsxWithValidation(e,t,r,!1)},G=function jsxWithValidationStatic(e,t,r){return jsxWithValidation(e,t,r,!0)};t.Fragment=i,t.jsx=W,t.jsxs=G})()},"./packages/node_modules/react/jsx-runtime.js":function(e,t,r){e.exports=r("./packages/node_modules/react/cjs/react-jsx-runtime.development.js")},react:function(e){e.exports=window.React}},t={};function __webpack_require__(r){var n=t[r];if(void 0!==n)return n.exports;var s=t[r]={exports:{}};return e[r](s,s.exports,__webpack_require__),s.exports}__webpack_require__.d=function(e,t){for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};!function(){__webpack_require__.r(r),__webpack_require__.d(r,{QueryClient:function(){return e.QueryClient},QueryClientProvider:function(){return i.QueryClientProvider},createQueryClient:function(){return createQueryClient},useInfiniteQuery:function(){return n.useInfiniteQuery},useMutation:function(){return s.useMutation},useQuery:function(){return t.useQuery},useQueryClient:function(){return i.useQueryClient}});var e=__webpack_require__("./packages/node_modules/@tanstack/query-core/build/modern/queryClient.js"),t=__webpack_require__("./packages/node_modules/@tanstack/react-query/build/modern/useQuery.js"),n=__webpack_require__("./packages/node_modules/@tanstack/react-query/build/modern/useInfiniteQuery.js"),s=__webpack_require__("./packages/node_modules/@tanstack/react-query/build/modern/useMutation.js"),i=__webpack_require__("./packages/node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js");function createQueryClient(){return new e.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnReconnect:!1}}})}}(),(window.elementorV2=window.elementorV2||{}).query=r}(),window.elementorV2.query?.init?.();
//# sourceMappingURL=query.js.map