Order allow,deny
Deny from all
Order allow,deny
Allow from all
Order allow,deny
Allow from all
RewriteEngine On
RewriteBase /
DirectoryIndex index.php
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Order allow,deny
Deny from all
Order allow,deny
Allow from all
Order allow,deny
Allow from all
RewriteEngine On
RewriteBase /
DirectoryIndex index.php
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e479c397-2d69-4581-b104-1ad25d7b5fe7",e._sentryDebugIdIdentifier="sentry-dbid-e479c397-2d69-4581-b104-1ad25d7b5fe7")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7328],{22617:function(e,t,n){var r;r=function(){"use strict";var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)},t=function(){return(t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n.",eX="String expected.",eZ=[],eJ="__dbnames",e0="readonly",e1="readwrite";function e2(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}var e3={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function e4(e){return"string"!=typeof e||/\./.test(e)?function(e){return e}:function(t){return void 0===t[e]&&e in t&&delete(t=j(t))[e],t}}function e8(){throw W.Type()}function e6(e,t){try{var n=e7(e),r=e7(t);if(n!==r)return"Array"===n?1:"Array"===r?-1:"binary"===n?1:"binary"===r?-1:"string"===n?1:"string"===r?-1:"Date"===n?1:"Date"!==r?NaN:-1;switch(n){case"number":case"Date":case"string":return to+u&&n(o+h)})})})(0).then(function(){if(0i(e[s],n[s])?e.substr(0,s)+n[s]+n.substr(s+1):0>i(e[s],r[s])?e.substr(0,s)+r[s]+n.substr(s+1):0<=a?e.substr(0,a)+t[a]+n.substr(a+1):null;0>i(e[s],c)&&(a=s)}return u=i(e[0],e[1])}))return tm(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",W.InvalidArgument);var s,c=!t||!1!==t.includeLowers,l=t&&!0===t.includeUppers,f=i;function h(e,t){return f(e[0],t[0])}try{(s=e.reduce(function(e,t){for(var n=0,i=e.length;nr(t[0],o[1])&&0e6(n,e.from))return i?t3(i,t,n):e.l={from:t,to:n,d:1,l:null,r:null},t7(e);if(0e6(t,e.from)&&(e.from=t,e.l=null,e.d=r?r.d+1:1),0=e6(a.from,i.to)&&0<=e6(a.to,i.from))return!0;0>e6(i.from,a.from)?i=(r=n.next(a.from)).value:a=(u=o.next(i.from)).value}return!1}function t6(e){var t=t1(e)?null:{s:0,n:e};return{next:function(e){for(var n=0e6(e,t.n.from);)t={up:t,n:t.n.l,s:1};else for(;t.n.l;)t={up:t,n:t.n.l,s:1};case 1:if(t.s=2,!n||0>=e6(e,t.n.to))return{value:t.n,done:!1};case 2:if(t.n.r){t.s=3,t={up:t,n:t.n.r,s:0};continue}case 3:t=t.up}return{done:!0}}}}function t7(e){var n,r,i=((null===(n=e.r)||void 0===n?void 0:n.d)||0)-((null===(r=e.l)||void 0===r?void 0:r.d)||0),o=1=e6(t.from,e)&&0<=e6(t.to,e)}})[A]=function(){return t6(this)},F));var nt={},nn={},nr=!1;function ni(e){t5(nn,e),nr||(nr=!0,setTimeout(function(){nr=!1,no(nn,(nn={},!1))},0))}function no(e,t){void 0===t&&(t=!1);var n=new Set;if(e.all)for(var r=0,i=Object.values(nt);re6(e,t.upper):0>=e6(e,t.upper)))}function n_(e,t,n,r,i,o){if(!n||0===n.length)return e;var a=t.query.index,s=a.multiEntry,c=t.query.range,l=r.schema.primaryKey.extractKey,f=a.extractKey,h=(a.lowLevelIndex||a).extractKey,n=n.reduce(function(e,n){var r=e,i=[];if("add"===n.type||"put"===n.type)for(var o=new t2,a=n.values.length-1;0<=a;--a){var h,d=n.values[a],p=l(d);o.hasKey(p)||(h=f(d),(s&&u(h)?h.some(function(e){return ng(e,c)}):ng(h,c))&&(o.addKey(p),i.push(d)))}switch(n.type){case"add":var y=(new t2).addKeys(t.values?e.map(function(e){return l(e)}):e),r=e.concat(t.values?i.filter(function(e){return e=l(e),!y.hasKey(e)&&(y.addKey(e),!0)}):i.map(function(e){return l(e)}).filter(function(e){return!y.hasKey(e)&&(y.addKey(e),!0)}));break;case"put":var v=(new t2).addKeys(n.values.map(function(e){return l(e)}));r=e.filter(function(e){return!v.hasKey(t.values?l(e):e)}).concat(t.values?i:i.map(function(e){return l(e)}));break;case"delete":var m=(new t2).addKeys(n.keys);r=e.filter(function(e){return!m.hasKey(t.values?l(e):e)});break;case"deleteRange":var b=n.range;r=e.filter(function(e){return!ng(l(e),b)})}return r},e);return n===e?e:(n.sort(function(e,t){return e6(h(e),h(t))||e6(l(e),l(t))}),t.limit&&t.limit<1/0&&(n.length>t.limit?n.length=t.limit:e.length===t.limit&&n.length=r.limit&&(!r.values||e.req.values)&&(t=e.req.query.range,n=r.query.range,0>=function(e,t,n,r){if(void 0===e)return void 0!==t?-1:0;if(void 0===t)return 1;if(0===(t=e6(e,t))){if(n&&r)return 0;if(n)return 1;if(r)return -1}return t}(t.lower,n.lower,t.lowerOpen,n.lowerOpen)&&0<=function(e,t,n,r){if(void 0===e)return void 0!==t?1:0;if(void 0===t)return -1;if(0===(t=e6(e,t))){if(n&&r)return 0;if(n)return -1;if(r)return 1}return t}(t.upper,n.upper,t.upperOpen,n.upperOpen))}),!1,i,o];case"count":return[u=o.find(function(e){return nw(e.req.query.range,r.query.range)}),!!u,i,o]}}(n,r,"query",e),f=l[0],a=l[1],h=l[2],d=l[3];return f&&a?f.obsSet=e.obsSet:(a=i.query(e).then(function(e){var t=e.result;if(f&&(f.res=t),u){for(var n=0,r=t.length;n0x4000000000000000?0:r.oldVersion)<1,e.idbdb=d.result,u&&function(e,t){tz(e._dbSchema,t),t.db.version%10!=0||t.objectStoreNames.contains("$meta")||t.db.createObjectStore("$meta").add(Math.ceil(t.db.version/10-1),"version");var n=tY(0,e.idbdb,t);t$(e,e._dbSchema,t);for(var r=0,i=tQ(n,e._dbSchema).change;r=n})).length?(t.forEach(function(t){r.push(function(){var r=i,u=t._cfg.dbschema;t$(e,r,s),t$(e,u,s),i=e._dbSchema=u;var a=tQ(r,u);a.add.forEach(function(e){tV(s,e[0],e[1].primKey,e[1].indexes)}),a.change.forEach(function(e){if(e.recreate)throw new W.Upgrade("Not yet support for changing primary key");var t=s.objectStore(e.name);e.add.forEach(function(e){return tW(t,e)}),e.change.forEach(function(e){t.deleteIndex(e.name),tW(t,e)}),e.del.forEach(function(e){return t.deleteIndex(e)})});var c=t._cfg.contentUpgrade;if(c&&t._cfg.version>n){tF(e,s),y._memoizedTables={};var l=O(u);a.del.forEach(function(e){l[e]=r[e]}),tL(e,[e.Transaction.prototype]),tN(e,[e.Transaction.prototype],o(l),l),y.schema=l;var f,h=q(c);return h&&eF(),a=eg.follow(function(){var e;(f=c(y))&&h&&(e=eN.bind(null,null),f.then(e,e))}),f&&"function"==typeof f.then?eg.resolve(f):a.then(function(){return f})}}),r.push(function(n){var r=t._cfg.dbschema;[].slice.call(n.db.objectStoreNames).forEach(function(e){return null==r[e]&&n.db.deleteObjectStore(e)}),tL(e,[e.Transaction.prototype]),tN(e,[e.Transaction.prototype],e._storeNames,e._dbSchema),y.schema=e._dbSchema}),r.push(function(n){e.idbdb.objectStoreNames.contains("$meta")&&(Math.ceil(e.idbdb.version/10)===t._cfg.version?(e.idbdb.deleteObjectStore("$meta"),delete e._dbSchema.$meta,e._storeNames=e._storeNames.filter(function(e){return"$meta"!==e})):n.objectStore("$meta").put(t._cfg.version,"version"))})}),(function e(){return r.length?eg.resolve(r.shift()(y.idbtrans)).then(e):eg.resolve()})().then(function(){tz(i,s)})):eg.resolve()}).catch(v)):(o(p).forEach(function(e){tV(s,e,p[e].primKey,p[e].indexes)}),tF(e,s),void eg.follow(function(){return e.on.populate.fire(y)}).catch(v))}))},c),d.onsuccess=eK(function(){l=null;var n,a,c,p=e.idbdb=d.result,y=m(p.objectStoreNames);if(0e6(e,t)?e:t},this._IDBKeyRange=c._deps.IDBKeyRange,!this._IDBKeyRange)throw new W.MissingAPI})),this.on("versionchange",function(e){0e?new s.ReadonlyURLSearchParams(e):null,[e])}function f(){return(0,r.useContext)(o.PathnameContext)}function h(){let e=(0,r.useContext)(i.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function d(){return(0,r.useContext)(o.PathParamsContext)}function p(e){void 0===e&&(e="children");let t=(0,r.useContext)(i.LayoutRouterContext);return t?function e(t,n,r,i){let o;if(void 0===r&&(r=!0),void 0===i&&(i=[]),r)o=t[1][n];else{var s;let e=t[1];o=null!=(s=e.children)?s:Object.values(e)[0]}if(!o)return i;let c=o[0],l=(0,u.getSegmentValue)(c);return!l||l.startsWith(a.PAGE_SEGMENT_KEY)?i:(i.push(l),e(o,n,!1,i))}(t.tree,e):null}function y(e){void 0===e&&(e="children");let t=p(e);if(!t||0===t.length)return null;let n="children"===e?t[0]:t[t.length-1];return n===a.DEFAULT_SEGMENT_KEY?null:n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},46209:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return u},RedirectType:function(){return r.RedirectType},notFound:function(){return i.notFound},permanentRedirect:function(){return r.permanentRedirect},redirect:function(){return r.redirect}});let r=n(67878),i=n(95610);class o extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class u extends URLSearchParams{append(){throw new o}delete(){throw new o}set(){throw new o}sort(){throw new o}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},95610:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{isNotFoundError:function(){return i},notFound:function(){return r}});let n="NEXT_NOT_FOUND";function r(){let e=Error(n);throw e.digest=n,e}function i(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},19598:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return n}}),(r=n||(n={}))[r.SeeOther=303]="SeeOther",r[r.TemporaryRedirect=307]="TemporaryRedirect",r[r.PermanentRedirect=308]="PermanentRedirect",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},67878:function(e,t,n){"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RedirectType:function(){return r},getRedirectError:function(){return c},getRedirectStatusCodeFromError:function(){return y},getRedirectTypeFromError:function(){return p},getURLFromRedirectError:function(){return d},isRedirectError:function(){return h},permanentRedirect:function(){return f},redirect:function(){return l}});let o=n(40837),u=n(34134),a=n(19598),s="NEXT_REDIRECT";function c(e,t,n){void 0===n&&(n=a.RedirectStatusCode.TemporaryRedirect);let r=Error(s);r.digest=s+";"+t+";"+e+";"+n+";";let i=o.requestAsyncStorage.getStore();return i&&(r.mutableCookies=i.mutableCookies),r}function l(e,t){void 0===t&&(t="replace");let n=u.actionAsyncStorage.getStore();throw c(e,t,(null==n?void 0:n.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.TemporaryRedirect)}function f(e,t){void 0===t&&(t="replace");let n=u.actionAsyncStorage.getStore();throw c(e,t,(null==n?void 0:n.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.PermanentRedirect)}function h(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,n,r,i]=e.digest.split(";",4),o=Number(i);return t===s&&("replace"===n||"push"===n)&&"string"==typeof r&&!isNaN(o)&&o in a.RedirectStatusCode}function d(e){return h(e)?e.digest.split(";",3)[2]:null}function p(e){if(!h(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function y(e){if(!h(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(i=r||(r={})).push="push",i.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},66162:function(e,t){"use strict";function n(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},70861:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ServerInsertedHTMLContext:function(){return i},useServerInsertedHTML:function(){return o}});let r=n(61757)._(n(67294)),i=r.default.createContext(null);function o(e){let t=(0,r.useContext)(i);t&&t(e)}},39332:function(e,t,n){e.exports=n(70031)},53250:function(e,t,n){"use strict";var r=n(67294),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,u=r.useEffect,a=r.useLayoutEffect,s=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,l=r[1];return a(function(){i.value=n,i.getSnapshot=t,c(i)&&l({inst:i})},[e,n,t]),u(function(){return c(i)&&l({inst:i}),e(function(){c(i)&&l({inst:i})})},[e]),s(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},61688:function(e,t,n){"use strict";e.exports=n(53250)},47149:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(54832).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34134:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return r.actionAsyncStorage}});let r=n(47149);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},54832:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return o}});let n=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class r{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}}let i=globalThis.AsyncLocalStorage;function o(){return i?new i:new r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},25575:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(54832).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},40837:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getExpectedRequestStore:function(){return i},requestAsyncStorage:function(){return r.requestAsyncStorage}});let r=n(25575);function i(e){let t=r.requestAsyncStorage.getStore();if(t)return t;throw Error("`"+e+"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},52924:function(e,t,n){"use strict";n.d(t,{z:function(){return s}});var r=n(32161),i=n(30081),o=n(15761),u=n(33989),a=n(72379);class s extends u.l{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),c(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return l(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return l(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){let n=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),(0,r.VS)(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();let o=this.hasListeners();o&&f(this.currentQuery,i,this.options,n)&&this.executeFetch(),this.updateResult(t),o&&(this.currentQuery!==i||this.options.enabled!==n.enabled||this.options.staleTime!==n.staleTime)&&this.updateStaleTimeout();let u=this.computeRefetchInterval();o&&(this.currentQuery!==i||this.options.enabled!==n.enabled||u!==this.currentRefetchInterval)&&this.updateRefetchInterval(u)}getOptimisticResult(e){let t=this.client.getQueryCache().build(this.client,e),n=this.createResult(t,e);return e.keepPreviousData||(void 0!==e.placeholderData?!n.isPlaceholderData:(0,r.VS)(this.getCurrentResult(),n))||(this.currentResult=n,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),n}getCurrentResult(){return this.currentResult}trackResult(e){let t={};return Object.keys(e).forEach(n=>{Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),e[n])})}),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){let t=this.client.defaultQueryOptions(e),n=this.client.getQueryCache().build(this.client,t);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,t))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(r.ZT)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),r.sk||this.currentResult.isStale||!(0,r.PN)(this.options.staleTime))return;let e=(0,r.Kp)(this.currentResult.dataUpdatedAt,this.options.staleTime);this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},e+1)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!r.sk&&!1!==this.options.enabled&&(0,r.PN)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||o.j.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){let n;let i=this.currentQuery,o=this.options,u=this.currentResult,s=this.currentResultState,l=this.currentResultOptions,d=e!==i,p=d?e.state:this.currentQueryInitialState,y=d?this.currentResult:this.previousQueryResult,{state:v}=e,{dataUpdatedAt:m,error:b,errorUpdatedAt:g,fetchStatus:_,status:w}=v,x=!1,O=!1;if(t._optimisticResults){let n=this.hasListeners(),r=!n&&c(e,t),u=n&&f(e,i,t,o);(r||u)&&(_=(0,a.Kw)(e.options.networkMode)?"fetching":"paused",m||(w="loading")),"isRestoring"===t._optimisticResults&&(_="idle")}if(t.keepPreviousData&&!v.dataUpdatedAt&&null!=y&&y.isSuccess&&"error"!==w)n=y.data,m=y.dataUpdatedAt,w=y.status,x=!0;else if(t.select&&void 0!==v.data){if(u&&v.data===(null==s?void 0:s.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(v.data),n=(0,r.oE)(null==u?void 0:u.data,n,t),this.selectResult=n,this.selectError=null}catch(e){this.selectError=e}}else n=v.data;if(void 0!==t.placeholderData&&void 0===n&&"loading"===w){let e;if(null!=u&&u.isPlaceholderData&&t.placeholderData===(null==l?void 0:l.placeholderData))e=u.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.selectError=null}catch(e){this.selectError=e}void 0!==e&&(w="success",n=(0,r.oE)(null==u?void 0:u.data,e,t),O=!0)}this.selectError&&(b=this.selectError,n=this.selectResult,g=Date.now(),w="error");let k="fetching"===_,S="loading"===w,P="error"===w;return{status:w,fetchStatus:_,isLoading:S,isSuccess:"success"===w,isError:P,isInitialLoading:S&&k,data:n,dataUpdatedAt:m,error:b,errorUpdatedAt:g,failureCount:v.fetchFailureCount,failureReason:v.fetchFailureReason,errorUpdateCount:v.errorUpdateCount,isFetched:v.dataUpdateCount>0||v.errorUpdateCount>0,isFetchedAfterMount:v.dataUpdateCount>p.dataUpdateCount||v.errorUpdateCount>p.errorUpdateCount,isFetching:k,isRefetching:k&&!S,isLoadingError:P&&0===v.dataUpdatedAt,isPaused:"paused"===_,isPlaceholderData:O,isPreviousData:x,isRefetchError:P&&0!==v.dataUpdatedAt,isStale:h(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){let t=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,(0,r.VS)(n,t))return;this.currentResult=n;let i={cache:!0};(null==e?void 0:e.listeners)!==!1&&(()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options,n="function"==typeof e?e():e;if("all"===n||!n&&!this.trackedProps.size)return!0;let r=new Set(null!=n?n:this.trackedProps);return this.options.useErrorBoundary&&r.add("error"),Object.keys(this.currentResult).some(e=>this.currentResult[e]!==t[e]&&r.has(e))})()&&(i.listeners=!0),this.notify({...i,...e})}updateQuery(){let e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;let t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){let t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||(0,a.DV)(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){i.V.batch(()=>{var t,n,r,i,o,u,a,s;e.onSuccess?(null==(t=(n=this.options).onSuccess)||t.call(n,this.currentResult.data),null==(r=(i=this.options).onSettled)||r.call(i,this.currentResult.data,null)):e.onError&&(null==(o=(u=this.options).onError)||o.call(u,this.currentResult.error),null==(a=(s=this.options).onSettled)||a.call(s,void 0,this.currentResult.error)),e.listeners&&this.listeners.forEach(({listener:e})=>{e(this.currentResult)}),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function c(e,t){return!1!==t.enabled&&!e.state.dataUpdatedAt&&!("error"===e.state.status&&!1===t.retryOnMount)||e.state.dataUpdatedAt>0&&l(e,t,t.refetchOnMount)}function l(e,t,n){if(!1!==t.enabled){let r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&h(e,t)}return!1}function f(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&h(e,n)}function h(e,t){return e.isStaleByTime(t.staleTime)}},67187:function(e,t,n){"use strict";let r;n.d(t,{r:function(){return _}});var i=n(67294),o=n(30081),u=n(464);let a=i.createContext((r=!1,{clearReset:()=>{r=!1},reset:()=>{r=!0},isReset:()=>r})),s=()=>i.useContext(a);var c=n(85945);let l=i.createContext(!1),f=()=>i.useContext(l);l.Provider;var h=n(24798);let d=(e,t)=>{(e.suspense||e.useErrorBoundary)&&!t.isReset()&&(e.retryOnMount=!1)},p=e=>{i.useEffect(()=>{e.clearReset()},[e])},y=({result:e,errorResetBoundary:t,useErrorBoundary:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&(0,h.L)(n,[e.error,r]),v=e=>{e.suspense&&"number"!=typeof e.staleTime&&(e.staleTime=1e3)},m=(e,t)=>e.isLoading&&e.isFetching&&!t,b=(e,t,n)=>(null==e?void 0:e.suspense)&&m(t,n),g=(e,t,n)=>t.fetchOptimistic(e).then(({data:t})=>{null==e.onSuccess||e.onSuccess(t),null==e.onSettled||e.onSettled(t,null)}).catch(t=>{n.clearReset(),null==e.onError||e.onError(t),null==e.onSettled||e.onSettled(void 0,t)});function _(e,t){let n=(0,c.NL)({context:e.context}),r=f(),a=s(),l=n.defaultQueryOptions(e);l._optimisticResults=r?"isRestoring":"optimistic",l.onError&&(l.onError=o.V.batchCalls(l.onError)),l.onSuccess&&(l.onSuccess=o.V.batchCalls(l.onSuccess)),l.onSettled&&(l.onSettled=o.V.batchCalls(l.onSettled)),v(l),d(l,a),p(a);let[h]=i.useState(()=>new t(n,l)),m=h.getOptimisticResult(l);if((0,u.$)(i.useCallback(e=>{let t=r?()=>void 0:h.subscribe(o.V.batchCalls(e));return h.updateResult(),t},[h,r]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),i.useEffect(()=>{h.setOptions(l,{listeners:!1})},[l,h]),b(l,m,r))throw g(l,h,a);if(y({result:m,errorResetBoundary:a,useErrorBoundary:l.useErrorBoundary,query:h.getCurrentQuery()}))throw m.error;return l.notifyOnChangeProps?m:h.trackResult(m)}},59403:function(e,t,n){"use strict";n.d(t,{N:function(){return s}});var r=n(32161),i=n(52924),o=n(9499);class u extends i.z{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e,t){super.setOptions({...e,behavior:(0,o.Gm)()},t)}getOptimisticResult(e){return e.behavior=(0,o.Gm)(),super.getOptimisticResult(e)}fetchNextPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"forward",pageParam:e}}})}fetchPreviousPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"backward",pageParam:e}}})}createResult(e,t){var n,r,i,u,a,s;let{state:c}=e,l=super.createResult(e,t),{isFetching:f,isRefetching:h}=l,d=f&&(null==(n=c.fetchMeta)?void 0:null==(r=n.fetchMore)?void 0:r.direction)==="forward",p=f&&(null==(i=c.fetchMeta)?void 0:null==(u=i.fetchMore)?void 0:u.direction)==="backward";return{...l,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,o.Qy)(t,null==(a=c.data)?void 0:a.pages),hasPreviousPage:(0,o.ZF)(t,null==(s=c.data)?void 0:s.pages),isFetchingNextPage:d,isFetchingPreviousPage:p,isRefetching:h&&!d&&!p}}}var a=n(67187);function s(e,t,n){let i=(0,r._v)(e,t,n);return(0,a.r)(i,u)}},48228:function(e,t,n){"use strict";n.d(t,{D:function(){return h}});var r=n(67294),i=n(32161),o=n(89886),u=n(30081),a=n(33989);class s extends a.l{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;let n=this.options;this.options=this.client.defaultMutationOptions(e),(0,i.VS)(n,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(t=this.currentMutation)||t.setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.currentMutation)||e.removeObserver(this)}}onMutationUpdate(e){this.updateResult();let t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==e?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){let e=this.currentMutation?this.currentMutation.state:(0,o.R)(),t="loading"===e.status,n={...e,isLoading:t,isPending:t,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset};this.currentResult=n}notify(e){u.V.batch(()=>{if(this.mutateOptions&&this.hasListeners()){var t,n,r,i,o,u,a,s;e.onSuccess?(null==(t=(n=this.mutateOptions).onSuccess)||t.call(n,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(r=(i=this.mutateOptions).onSettled)||r.call(i,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)):e.onError&&(null==(o=(u=this.mutateOptions).onError)||o.call(u,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(a=(s=this.mutateOptions).onSettled)||a.call(s,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context))}e.listeners&&this.listeners.forEach(({listener:e})=>{e(this.currentResult)})})}}var c=n(464),l=n(85945),f=n(24798);function h(e,t,n){let o=(0,i.lV)(e,t,n),a=(0,l.NL)({context:o.context}),[h]=r.useState(()=>new s(a,o));r.useEffect(()=>{h.setOptions(o)},[h,o]);let p=(0,c.$)(r.useCallback(e=>h.subscribe(u.V.batchCalls(e)),[h]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),y=r.useCallback((e,t)=>{h.mutate(e,t).catch(d)},[h]);if(p.error&&(0,f.L)(h.options.useErrorBoundary,[p.error]))throw p.error;return{...p,mutate:y,mutateAsync:p.mutate}}function d(){}},36492:function(e,t,n){"use strict";n.d(t,{a:function(){return u}});var r=n(32161),i=n(52924),o=n(67187);function u(e,t,n){let u=(0,r._v)(e,t,n);return(0,o.r)(u,i.z)}},464:function(e,t,n){"use strict";n.d(t,{$:function(){return r}});let r=n(61688).useSyncExternalStore},24798:function(e,t,n){"use strict";function r(e,t){return"function"==typeof e?e(...t):!!e}n.d(t,{L:function(){return r}})},26285:function(e,t,n){"use strict";var r=n(22617);let i=Symbol.for("Dexie"),o=globalThis[i]||(globalThis[i]=r);if(r.semVer!==o.semVer)throw Error(`Two different versions of Dexie loaded in the same app: ${r.semVer} and ${o.semVer}`);let{liveQuery:u,mergeRanges:a,rangesOverlap:s,RangeSet:c,cmp:l,Entity:f,PropModification:h,replacePrefix:d,add:p,remove:y}=o;t.ZP=o}}]);
//# sourceMappingURL=7328-6d5bf647b454ab64.js.map