@tokenflight/swap 0.3.0-rc.2 → 0.3.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ReceiveComponent-4xwyN66k.js +1 -0
- package/dist/SwapComponent-CF2-MzB_.js +1 -0
- package/dist/{errors-BZKSEUy5.js → errors-DXq77OyE.js} +1 -1
- package/dist/iframe-entry.js +1 -1
- package/dist/{rank-offers-Dt1Mvbrr.js → rank-offers-CiA9Nw2C.js} +1 -1
- package/dist/{register-widget-BrN4UxSU.js → register-widget-DHNRTdAz.js} +1 -1
- package/dist/shared.module-2EeBIMep.js +1 -0
- package/dist/swap.css +1 -1
- package/dist/tokenflight-swap.d.ts +10 -17
- package/dist/tokenflight-swap.js +1 -1
- package/dist/tokenflight-swap.umd.cjs +5 -5
- package/dist/usePageRouter-BUKTv1jC.js +1 -0
- package/dist/{widget-DQLVNkNn.js → widget-eUE--Gt1.js} +1 -1
- package/dist/widget.d.ts +10 -17
- package/dist/widget.js +1 -1
- package/package.json +4 -4
- package/dist/ReceiveComponent-DIJ4BGPQ.js +0 -1
- package/dist/ReceiveComponent.module-DpNu0IXq.js +0 -1
- package/dist/SwapComponent-BUaJEHfz.js +0 -1
- package/dist/shared.module-C-kWMzqW.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{D as e,E as t,S as n,T as r,_ as i,d as a,f as o,g as s,h as c,l,m as u,n as d,t as f,u as p,v as m,w as h,x as ee,y as te}from"./solid-iWr5Czxc.js";function g(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function _(e,t){g(e,t),t.add(e)}function v(e,t,n){g(e,t),t.set(e,n)}function y(e,t,n){if(typeof e==`function`?e===t:e.has(t))return arguments.length<3?t:n;throw TypeError(`Private element is not present on this object`)}function b(e,t){return e.get(y(e,t))}function x(e,t,n){return e.set(y(e,t),n),n}var ne=new Set([`className`,`value`,`readOnly`,`noValidate`,`formNoValidate`,`isMap`,`noModule`,`playsInline`,`adAuctionHeaders`,`allowFullscreen`,`browsingTopics`,`defaultChecked`,`defaultMuted`,`defaultSelected`,`disablePictureInPicture`,`disableRemotePlayback`,`preservesPitch`,`shadowRootClonable`,`shadowRootCustomElementRegistry`,`shadowRootDelegatesFocus`,`shadowRootSerializable`,`sharedStorageWritable`,...`allowfullscreen.async.alpha.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.hidden.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.adauctionheaders.browsingtopics.credentialless.defaultchecked.defaultmuted.defaultselected.defer.disablepictureinpicture.disableremoteplayback.preservespitch.shadowrootclonable.shadowrootcustomelementregistry.shadowrootdelegatesfocus.shadowrootserializable.sharedstoragewritable`.split(`.`)]),re=new Set([`innerHTML`,`textContent`,`innerText`,`children`]),ie=Object.assign(Object.create(null),{className:`class`,htmlFor:`for`}),ae=Object.assign(Object.create(null),{class:`className`,novalidate:{$:`noValidate`,FORM:1},formnovalidate:{$:`formNoValidate`,BUTTON:1,INPUT:1},ismap:{$:`isMap`,IMG:1},nomodule:{$:`noModule`,SCRIPT:1},playsinline:{$:`playsInline`,VIDEO:1},readonly:{$:`readOnly`,INPUT:1,TEXTAREA:1},adauctionheaders:{$:`adAuctionHeaders`,IFRAME:1},allowfullscreen:{$:`allowFullscreen`,IFRAME:1},browsingtopics:{$:`browsingTopics`,IMG:1},defaultchecked:{$:`defaultChecked`,INPUT:1},defaultmuted:{$:`defaultMuted`,AUDIO:1,VIDEO:1},defaultselected:{$:`defaultSelected`,OPTION:1},disablepictureinpicture:{$:`disablePictureInPicture`,VIDEO:1},disableremoteplayback:{$:`disableRemotePlayback`,AUDIO:1,VIDEO:1},preservespitch:{$:`preservesPitch`,AUDIO:1,VIDEO:1},shadowrootclonable:{$:`shadowRootClonable`,TEMPLATE:1},shadowrootdelegatesfocus:{$:`shadowRootDelegatesFocus`,TEMPLATE:1},shadowrootserializable:{$:`shadowRootSerializable`,TEMPLATE:1},sharedstoragewritable:{$:`sharedStorageWritable`,IFRAME:1,IMG:1}});function oe(e,t){let n=ae[e];return typeof n==`object`?n[t]?n.$:void 0:n}var se=new Set([`beforeinput`,`click`,`dblclick`,`contextmenu`,`focusin`,`focusout`,`input`,`keydown`,`keyup`,`mousedown`,`mousemove`,`mouseout`,`mouseover`,`mouseup`,`pointerdown`,`pointermove`,`pointerout`,`pointerover`,`pointerup`,`touchend`,`touchmove`,`touchstart`]),ce=new Set(`altGlyph.altGlyphDef.altGlyphItem.animate.animateColor.animateMotion.animateTransform.circle.clipPath.color-profile.cursor.defs.desc.ellipse.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.filter.font.font-face.font-face-format.font-face-name.font-face-src.font-face-uri.foreignObject.g.glyph.glyphRef.hkern.image.line.linearGradient.marker.mask.metadata.missing-glyph.mpath.path.pattern.polygon.polyline.radialGradient.rect.set.stop.svg.switch.symbol.text.textPath.tref.tspan.use.view.vkern`.split(`.`)),le={xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`},ue=e=>u(()=>e());function de(e,t,n){let r=n.length,i=t.length,a=r,o=0,s=0,c=t[i-1].nextSibling,l=null;for(;o<i||s<a;){if(t[o]===n[s]){o++,s++;continue}for(;t[i-1]===n[a-1];)i--,a--;if(i===o){let t=a<r?s?n[s-1].nextSibling:n[a-s]:c;for(;s<a;)e.insertBefore(n[s++],t)}else if(a===s)for(;o<i;)(!l||!l.has(t[o]))&&t[o].remove(),o++;else if(t[o]===n[a-1]&&n[s]===t[i-1]){let r=t[--i].nextSibling;e.insertBefore(n[s++],t[o++].nextSibling),e.insertBefore(n[--a],r),t[i]=n[a]}else{if(!l){l=new Map;let e=s;for(;e<a;)l.set(n[e],e++)}let r=l.get(t[o]);if(r!=null)if(s<r&&r<a){let c=o,u=1,d;for(;++c<i&&c<a&&!((d=l.get(t[c]))==null||d!==r+u);)u++;if(u>r-s){let i=t[o];for(;s<r;)e.insertBefore(n[s++],i)}else e.replaceChild(n[s++],t[o++])}else o++;else t[o++].remove()}}}var fe=`_$DX_DELEGATE`;function pe(e,t,n,r={}){let a;return i(r=>{a=r,t===document?e():Ee(t,e(),t.firstChild?null:void 0,n)},r.owner),()=>{a(),t.textContent=``}}function me(e,n,r,i){let a,o=()=>{let t=i?document.createElementNS(`http://www.w3.org/1998/Math/MathML`,`template`):document.createElement(`template`);return t.innerHTML=e,r?t.content.firstChild.firstChild:i?t.firstChild:t.content.firstChild},s=n?()=>t(()=>document.importNode(a||(a=o()),!0)):()=>(a||(a=o())).cloneNode(!0);return s.cloneNode=s,s}function he(e,t=window.document){let n=t[fe]||(t[fe]=new Set);for(let r=0,i=e.length;r<i;r++){let i=e[r];n.has(i)||(n.add(i),t.addEventListener(i,Me))}}function ge(e,t,n){S(e)||(n==null?e.removeAttribute(t):e.setAttribute(t,n))}function _e(e,t,n,r){S(e)||(r==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r))}function ve(e,t,n){S(e)||(n?e.setAttribute(t,``):e.removeAttribute(t))}function ye(e,t){S(e)||(t==null?e.removeAttribute(`class`):e.className=t)}function be(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){let r=n[0];e.addEventListener(t,n[0]=t=>r.call(e,n[1],t))}else e.addEventListener(t,n,typeof n!=`function`&&n)}function xe(e,t,n={}){let r=Object.keys(t||{}),i=Object.keys(n),a,o;for(a=0,o=i.length;a<o;a++){let r=i[a];!r||r===`undefined`||t[r]||(Ae(e,r,!1),delete n[r])}for(a=0,o=r.length;a<o;a++){let i=r[a],o=!!t[i];!i||i===`undefined`||n[i]===o||!o||(Ae(e,i,!0),n[i]=o)}return n}function Se(e,t,n){if(!t)return n?ge(e,`style`):t;let r=e.style;if(typeof t==`string`)return r.cssText=t;typeof n==`string`&&(r.cssText=n=void 0),n||(n={}),t||(t={});let i,a;for(a in n)t[a]??r.removeProperty(a),delete n[a];for(a in t)i=t[a],i!==n[a]&&(r.setProperty(a,i),n[a]=i);return n}function Ce(e,t,n){n==null?e.style.removeProperty(t):e.style.setProperty(t,n)}function we(e,t={},n,r){let i={};return r||c(()=>i.children=Ne(e,t.children,i.children)),c(()=>typeof t.ref==`function`&&Te(t.ref,e)),c(()=>De(e,t,n,!0,i,!0)),i}function Te(e,n,r){return t(()=>e(n,r))}function Ee(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!=`function`)return Ne(e,t,r,n);c(r=>Ne(e,t(),r,n),r)}function De(e,t,n,r,i={},a=!1){t||(t={});for(let r in i)if(!(r in t)){if(r===`children`)continue;i[r]=je(e,r,null,i[r],n,a,t)}for(let o in t){if(o===`children`){r||Ne(e,t.children);continue}let s=t[o];i[o]=je(e,o,s,i[o],n,a,t)}}function Oe(e){let t,n;return!S()||!(t=h.registry.get(n=Le()))?e():(h.completed&&h.completed.add(t),h.registry.delete(n),t)}function S(e){return!!h.context&&!h.done&&(!e||e.isConnected)}function ke(e){return e.toLowerCase().replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}function Ae(e,t,n){let r=t.trim().split(/\s+/);for(let t=0,i=r.length;t<i;t++)e.classList.toggle(r[t],n)}function je(e,t,n,r,i,a,o){let s,c,l,u,d;if(t===`style`)return Se(e,n,r);if(t===`classList`)return xe(e,n,r);if(n===r)return r;if(t===`ref`)a||n(e);else if(t.slice(0,3)===`on:`){let i=t.slice(3);r&&e.removeEventListener(i,r,typeof r!=`function`&&r),n&&e.addEventListener(i,n,typeof n!=`function`&&n)}else if(t.slice(0,10)===`oncapture:`){let i=t.slice(10);r&&e.removeEventListener(i,r,!0),n&&e.addEventListener(i,n,!0)}else if(t.slice(0,2)===`on`){let i=t.slice(2).toLowerCase(),a=se.has(i);if(!a&&r){let t=Array.isArray(r)?r[0]:r;e.removeEventListener(i,t)}(a||n)&&(be(e,i,n,a),a&&he([i]))}else if(t.slice(0,5)===`attr:`)ge(e,t.slice(5),n);else if(t.slice(0,5)===`bool:`)ve(e,t.slice(5),n);else if((d=t.slice(0,5)===`prop:`)||(l=re.has(t))||!i&&((u=oe(t,e.tagName))||(c=ne.has(t)))||(s=e.nodeName.includes(`-`)||`is`in o)){if(d)t=t.slice(5),c=!0;else if(S(e))return n;t===`class`||t===`className`?ye(e,n):s&&!c&&!l?e[ke(t)]=n:e[u||t]=n}else{let r=i&&t.indexOf(`:`)>-1&&le[t.split(`:`)[0]];r?_e(e,r,t,n):ge(e,ie[t]||t,n)}return n}function Me(e){if(h.registry&&h.events&&h.events.find(([t,n])=>n===e))return;let t=e.target,n=`$$${e.type}`,r=e.target,i=e.currentTarget,a=t=>Object.defineProperty(e,`target`,{configurable:!0,value:t}),o=()=>{let r=t[n];if(r&&!t.disabled){let i=t[`${n}Data`];if(i===void 0?r.call(t,e):r.call(t,i,e),e.cancelBubble)return}return t.host&&typeof t.host!=`string`&&!t.host._$host&&t.contains(e.target)&&a(t.host),!0},s=()=>{for(;o()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,`currentTarget`,{configurable:!0,get(){return t||document}}),h.registry&&!h.done&&(h.done=_$HY.done=!0),e.composedPath){let n=e.composedPath();a(n[0]);for(let e=0;e<n.length-2&&(t=n[e],o());e++){if(t._$host){t=t._$host,s();break}if(t.parentNode===i)break}}else s();a(r)}function Ne(e,t,n,r,i){let a=S(e);if(a){!n&&(n=[...e.childNodes]);let t=[];for(let e=0;e<n.length;e++){let r=n[e];r.nodeType===8&&r.data.slice(0,2)===`!$`?r.remove():t.push(r)}n=t}for(;typeof n==`function`;)n=n();if(t===n)return n;let o=typeof t,s=r!==void 0;if(e=s&&n[0]&&n[0].parentNode||e,o===`string`||o===`number`){if(a||o===`number`&&(t=t.toString(),t===n))return n;if(s){let i=n[0];i&&i.nodeType===3?i.data!==t&&(i.data=t):i=document.createTextNode(t),n=Ie(e,n,r,i)}else n=n!==``&&typeof n==`string`?e.firstChild.data=t:e.textContent=t}else if(t==null||o===`boolean`){if(a)return n;n=Ie(e,n,r)}else if(o===`function`)return c(()=>{let i=t();for(;typeof i==`function`;)i=i();n=Ne(e,i,n,r)}),()=>n;else if(Array.isArray(t)){let o=[],l=n&&Array.isArray(n);if(Pe(o,t,n,i))return c(()=>n=Ne(e,o,n,r,!0)),()=>n;if(a){if(!o.length)return n;if(r===void 0)return n=[...e.childNodes];let t=o[0];if(t.parentNode!==e)return n;let i=[t];for(;(t=t.nextSibling)!==r;)i.push(t);return n=i}if(o.length===0){if(n=Ie(e,n,r),s)return n}else l?n.length===0?Fe(e,o,r):de(e,n,o):(n&&Ie(e),Fe(e,o));n=o}else if(t.nodeType){if(a&&t.parentNode)return n=s?[t]:t;if(Array.isArray(n)){if(s)return n=Ie(e,n,r,t);Ie(e,n,null,t)}else n==null||n===``||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}return n}function Pe(e,t,n,r){let i=!1;for(let a=0,o=t.length;a<o;a++){let o=t[a],s=n&&n[e.length],c;if(!(o==null||o===!0||o===!1))if((c=typeof o)==`object`&&o.nodeType)e.push(o);else if(Array.isArray(o))i=Pe(e,o,s)||i;else if(c===`function`)if(r){for(;typeof o==`function`;)o=o();i=Pe(e,Array.isArray(o)?o:[o],Array.isArray(s)?s:[s])||i}else e.push(o),i=!0;else{let t=String(o);s&&s.nodeType===3&&s.data===t?e.push(s):e.push(document.createTextNode(t))}}return i}function Fe(e,t,n=null){for(let r=0,i=t.length;r<i;r++)e.insertBefore(t[r],n)}function Ie(e,t,n,r){if(n===void 0)return e.textContent=``;let i=r||document.createTextNode(``);if(t.length){let r=!1;for(let a=t.length-1;a>=0;a--){let o=t[a];if(i!==o){let t=o.parentNode===e;!r&&!a?t?e.replaceChild(i,o):e.insertBefore(i,n):t&&o.remove()}else r=!0}}else e.insertBefore(i,n);return[i]}function Le(){return h.getNextContextId()}var Re=`http://www.w3.org/2000/svg`;function ze(e,t=!1,n=void 0){return t?document.createElementNS(Re,e):document.createElement(e,{is:n})}function Be(e,n){let r=u(e);return u(()=>{let e=r();switch(typeof e){case`function`:return t(()=>e(n));case`string`:let r=ce.has(e),i=h.context?Oe():ze(e,r,t(()=>n.is));return we(i,n,r),i}})}function Ve(e){let[,t]=r(e,[`component`]);return Be(()=>e.component,t)}var He=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(){}},C,Ue,We={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},w=new(C=new WeakMap,Ue=new WeakMap,class{constructor(){v(this,C,We),v(this,Ue,!1)}setTimeoutProvider(e){process.env.NODE_ENV!==`production`&&b(Ue,this)&&b(C,this),x(C,this,e),process.env.NODE_ENV!==`production`&&x(Ue,this,!1)}setTimeout(e,t){return process.env.NODE_ENV!==`production`&&x(Ue,this,!0),b(C,this).setTimeout(e,t)}clearTimeout(e){b(C,this).clearTimeout(e)}setInterval(e,t){return process.env.NODE_ENV!==`production`&&x(Ue,this,!0),b(C,this).setInterval(e,t)}clearInterval(e){b(C,this).clearInterval(e)}});function Ge(e){setTimeout(e,0)}var Ke=typeof window>`u`||`Deno`in globalThis;function T(){}function qe(e,t){return typeof e==`function`?e(t):e}function Je(e){return typeof e==`number`&&e>=0&&e!==1/0}function Ye(e,t){return Math.max(e+(t||0)-Date.now(),0)}function E(e,t){return typeof e==`function`?e(t):e}function D(e,t){return typeof e==`function`?e(t):e}function Xe(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==Qe(o,t.options))return!1}else if(!et(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function Ze(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if($e(t.options.mutationKey)!==$e(a))return!1}else if(!et(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Qe(e,t){return(t?.queryKeyHashFn||$e)(e)}function $e(e){return JSON.stringify(e,(e,t)=>at(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function et(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?Object.keys(t).every(n=>et(e[n],t[n])):!1}var tt=Object.prototype.hasOwnProperty;function nt(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=it(e)&&it(t);if(!r&&!(at(e)&&at(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:tt.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=nt(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function rt(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function it(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function at(e){if(!ot(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!ot(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function ot(e){return Object.prototype.toString.call(e)===`[object Object]`}function st(e){return new Promise(t=>{w.setTimeout(t,e)})}function ct(e,t,n){if(typeof n.structuralSharing==`function`)return n.structuralSharing(e,t);if(n.structuralSharing!==!1){if(process.env.NODE_ENV!==`production`)try{return nt(e,t)}catch(e){throw e}return nt(e,t)}return t}function lt(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function ut(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var dt=Symbol();function ft(e,t){return process.env.NODE_ENV!==`production`&&e.queryFn,!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===dt?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function pt(e,t){return typeof e==`function`?e(...t):!!e}function mt(e,t,n){let r=!1,i;return Object.defineProperty(e,`signal`,{enumerable:!0,get:()=>(i??(i=t()),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var ht,O,gt,_t=new(ht=new WeakMap,O=new WeakMap,gt=new WeakMap,class extends He{constructor(){super(),v(this,ht,void 0),v(this,O,void 0),v(this,gt,void 0),x(gt,this,e=>{if(!Ke&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}})}onSubscribe(){b(O,this)||this.setEventListener(b(gt,this))}onUnsubscribe(){this.hasListeners()||(b(O,this)?.call(this),x(O,this,void 0))}setEventListener(e){x(gt,this,e),b(O,this)?.call(this),x(O,this,e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()}))}setFocused(e){b(ht,this)!==e&&(x(ht,this,e),this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof b(ht,this)==`boolean`?b(ht,this):globalThis.document?.visibilityState!==`hidden`}});function vt(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}function yt(e){let t;if(e.then(e=>(t=e,e),T)?.catch(T),t!==void 0)return{data:t}}function bt(e){return e}function xt(e,t,n){if(typeof t!=`object`||!t)return;let r=e.getMutationCache(),i=e.getQueryCache(),a=n?.defaultOptions?.deserializeData??e.getDefaultOptions().hydrate?.deserializeData??bt,o=t.mutations||[],s=t.queries||[];o.forEach(({state:t,...i})=>{r.build(e,{...e.getDefaultOptions().hydrate?.mutations,...n?.defaultOptions?.mutations,...i},t)}),s.forEach(({queryKey:t,state:r,queryHash:o,meta:s,promise:c,dehydratedAt:l})=>{let u=c?yt(c):void 0,d=r.data===void 0?u?.data:r.data,f=d===void 0?d:a(d),p=i.get(o),m=p?.state.status===`pending`,h=p?.state.fetchStatus===`fetching`;if(p){let e=u&&l!==void 0&&l>p.state.dataUpdatedAt;if(r.dataUpdatedAt>p.state.dataUpdatedAt||e){let{fetchStatus:e,...t}=r;p.setState({...t,data:f})}}else p=i.build(e,{...e.getDefaultOptions().hydrate?.queries,...n?.defaultOptions?.queries,queryKey:t,queryHash:o,meta:s},{...r,data:f,fetchStatus:`idle`,status:f===void 0?r.status:`success`});c&&!m&&!h&&(l===void 0||l>p.state.dataUpdatedAt)&&p.fetch(void 0,{initialPromise:Promise.resolve(c).then(a)}).catch(T)})}var St=Ge;function Ct(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=St,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var k=Ct(),wt,A,Tt,Et=new(wt=new WeakMap,A=new WeakMap,Tt=new WeakMap,class extends He{constructor(){super(),v(this,wt,!0),v(this,A,void 0),v(this,Tt,void 0),x(Tt,this,e=>{if(!Ke&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}})}onSubscribe(){b(A,this)||this.setEventListener(b(Tt,this))}onUnsubscribe(){this.hasListeners()||(b(A,this)?.call(this),x(A,this,void 0))}setEventListener(e){x(Tt,this,e),b(A,this)?.call(this),x(A,this,e(this.setOnline.bind(this)))}setOnline(e){b(wt,this)!==e&&(x(wt,this,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return b(wt,this)}});function Dt(e){return Math.min(1e3*2**e,3e4)}function Ot(e){return(e??`online`)===`online`?Et.isOnline():!0}var kt=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function At(e){let t=!1,n=0,r,i=vt(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new kt(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>_t.isFocused()&&(e.networkMode===`always`||Et.isOnline())&&e.canRun(),u=()=>Ot(e.networkMode)&&e.canRun(),d=e=>{a()||(r?.(),i.resolve(e))},f=e=>{a()||(r?.(),i.reject(e))},p=()=>new Promise(t=>{r=e=>{(a()||l())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),m=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(d).catch(r=>{if(a())return;let i=e.retry??(Ke?0:3),o=e.retryDelay??Dt,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){f(r);return}n++,e.onFail?.(n,r),st(s).then(()=>l()?void 0:p()).then(()=>{t?f(r):m()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r?.(),i),cancelRetry:s,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}var jt,Mt=(jt=new WeakMap,class{constructor(){v(this,jt,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Je(this.gcTime)&&x(jt,this,w.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ke?1/0:300*1e3))}clearGcTimeout(){b(jt,this)&&(w.clearTimeout(b(jt,this)),x(jt,this,void 0))}}),Nt,Pt,j,Ft,M,It,Lt,N,Rt=(Nt=new WeakMap,Pt=new WeakMap,j=new WeakMap,Ft=new WeakMap,M=new WeakMap,It=new WeakMap,Lt=new WeakMap,N=new WeakSet,class extends Mt{constructor(e){super(),_(this,N),v(this,Nt,void 0),v(this,Pt,void 0),v(this,j,void 0),v(this,Ft,void 0),v(this,M,void 0),v(this,It,void 0),v(this,Lt,void 0),x(Lt,this,!1),x(It,this,e.defaultOptions),this.setOptions(e.options),this.observers=[],x(Ft,this,e.client),x(j,this,b(Ft,this).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,x(Nt,this,Vt(this.options)),this.state=e.state??b(Nt,this),this.scheduleGc()}get meta(){return this.options.meta}get promise(){return b(M,this)?.promise}setOptions(e){if(this.options={...b(It,this),...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=Vt(this.options);e.data!==void 0&&(this.setState(Bt(e.data,e.dataUpdatedAt)),x(Nt,this,e))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&b(j,this).remove(this)}setData(e,t){let n=ct(this.state.data,e,this.options);return y(N,this,P).call(this,{data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){y(N,this,P).call(this,{type:`setState`,state:e,setStateOptions:t})}cancel(e){let t=b(M,this)?.promise;return b(M,this)?.cancel(e),t?t.then(T).catch(T):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(b(Nt,this))}isActive(){return this.observers.some(e=>D(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===dt||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>E(e.options.staleTime,this)===`static`):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!Ye(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),b(M,this)?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),b(M,this)?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),b(j,this).notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(b(M,this)&&(b(Lt,this)?b(M,this).cancel({revert:!0}):b(M,this).cancelRetry()),this.scheduleGc()),b(j,this).notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||y(N,this,P).call(this,{type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&b(M,this)?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(b(M,this))return b(M,this).continueRetry(),b(M,this).promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}process.env.NODE_ENV!==`production`&&Array.isArray(this.options.queryKey);let n=new AbortController,r=e=>{Object.defineProperty(e,`signal`,{enumerable:!0,get:()=>(x(Lt,this,!0),n.signal)})},i=()=>{let e=ft(this.options,t),n=(()=>{let e={client:b(Ft,this),queryKey:this.queryKey,meta:this.meta};return r(e),e})();return x(Lt,this,!1),this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:b(Ft,this),state:this.state,fetchFn:i};return r(e),e})();this.options.behavior?.onFetch(a,this),x(Pt,this,this.state),(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&y(N,this,P).call(this,{type:`fetch`,meta:a.fetchOptions?.meta}),x(M,this,At({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof kt&&e.revert&&this.setState({...b(Pt,this),fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{y(N,this,P).call(this,{type:`failed`,failureCount:e,error:t})},onPause:()=>{y(N,this,P).call(this,{type:`pause`})},onContinue:()=>{y(N,this,P).call(this,{type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}));try{let e=await b(M,this).start();if(e===void 0)throw process.env.NODE_ENV,Error(`${this.queryHash} data is undefined`);return this.setData(e),b(j,this).config.onSuccess?.(e,this),b(j,this).config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof kt){if(e.silent)return b(M,this).promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw y(N,this,P).call(this,{type:`error`,error:e}),b(j,this).config.onError?.(e,this),b(j,this).config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}});function P(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,...zt(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...Bt(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return x(Pt,this,e.manual?n:void 0),n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}})(this.state),k.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),b(j,this).notify({query:this,type:`updated`,action:e})})}function zt(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Ot(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function Bt(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function Vt(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var F,I,Ht,L,Ut,Wt,R,z,Gt,Kt,qt,Jt,Yt,B,Xt,V,Zt=(F=new WeakMap,I=new WeakMap,Ht=new WeakMap,L=new WeakMap,Ut=new WeakMap,Wt=new WeakMap,R=new WeakMap,z=new WeakMap,Gt=new WeakMap,Kt=new WeakMap,qt=new WeakMap,Jt=new WeakMap,Yt=new WeakMap,B=new WeakMap,Xt=new WeakMap,V=new WeakSet,class extends He{constructor(e,t){super(),_(this,V),v(this,F,void 0),v(this,I,void 0),v(this,Ht,void 0),v(this,L,void 0),v(this,Ut,void 0),v(this,Wt,void 0),v(this,R,void 0),v(this,z,void 0),v(this,Gt,void 0),v(this,Kt,void 0),v(this,qt,void 0),v(this,Jt,void 0),v(this,Yt,void 0),v(this,B,void 0),v(this,Xt,new Set),this.options=t,x(F,this,e),x(z,this,null),x(R,this,vt()),this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(b(I,this).addObserver(this),ln(b(I,this),this.options)?y(V,this,Qt).call(this):this.updateResult(),y(V,this,nn).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return un(b(I,this),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return un(b(I,this),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,y(V,this,rn).call(this),y(V,this,an).call(this),b(I,this).removeObserver(this)}setOptions(e){let t=this.options,n=b(I,this);if(this.options=b(F,this).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof D(this.options.enabled,b(I,this))!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);y(V,this,on).call(this),b(I,this).setOptions(this.options),t._defaulted&&!rt(this.options,t)&&b(F,this).getQueryCache().notify({type:`observerOptionsUpdated`,query:b(I,this),observer:this});let r=this.hasListeners();r&&dn(b(I,this),n,this.options,t)&&y(V,this,Qt).call(this),this.updateResult(),r&&(b(I,this)!==n||D(this.options.enabled,b(I,this))!==D(t.enabled,b(I,this))||E(this.options.staleTime,b(I,this))!==E(t.staleTime,b(I,this)))&&y(V,this,$t).call(this);let i=y(V,this,en).call(this);r&&(b(I,this)!==n||D(this.options.enabled,b(I,this))!==D(t.enabled,b(I,this))||i!==b(B,this))&&y(V,this,tn).call(this,i)}getOptimisticResult(e){let t=b(F,this).getQueryCache().build(b(F,this),e),n=this.createResult(t,e);return pn(this,n)&&(x(L,this,n),x(Wt,this,this.options),x(Ut,this,b(I,this).state)),n}getCurrentResult(){return b(L,this)}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),n===`promise`&&(this.trackProp(`data`),!this.options.experimental_prefetchInRender&&b(R,this).status===`pending`&&b(R,this).reject(Error(`experimental_prefetchInRender feature flag is not enabled`))),Reflect.get(e,n))})}trackProp(e){b(Xt,this).add(e)}getCurrentQuery(){return b(I,this)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=b(F,this).defaultQueryOptions(e),n=b(F,this).getQueryCache().build(b(F,this),t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return y(V,this,Qt).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),b(L,this)))}createResult(e,t){let n=b(I,this),r=this.options,i=b(L,this),a=b(Ut,this),o=b(Wt,this),s=e===n?b(Ht,this):e.state,{state:c}=e,l={...c},u=!1,d;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&ln(e,t),o=i&&dn(e,n,t,r);(a||o)&&(l={...l,...zt(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:f,errorUpdatedAt:p,status:m}=l;d=l.data;let h=!1;if(t.placeholderData!==void 0&&d===void 0&&m===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,h=!0):e=typeof t.placeholderData==`function`?t.placeholderData(b(qt,this)?.state.data,b(qt,this)):t.placeholderData,e!==void 0&&(m=`success`,d=ct(i?.data,e,t),u=!0)}if(t.select&&d!==void 0&&!h)if(i&&d===a?.data&&t.select===b(Gt,this))d=b(Kt,this);else try{x(Gt,this,t.select),d=t.select(d),d=ct(i?.data,d,t),x(Kt,this,d),x(z,this,null)}catch(e){x(z,this,e)}b(z,this)&&(f=b(z,this),d=b(Kt,this),p=Date.now(),m=`error`);let ee=l.fetchStatus===`fetching`,te=m===`pending`,g=m===`error`,_=te&&ee,v=d!==void 0,y={status:m,fetchStatus:l.fetchStatus,isPending:te,isSuccess:m===`success`,isError:g,isInitialLoading:_,isLoading:_,data:d,dataUpdatedAt:l.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:l.dataUpdateCount>0||l.errorUpdateCount>0,isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:ee,isRefetching:ee&&!te,isLoadingError:g&&!v,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:g&&v,isStale:fn(e,t),refetch:this.refetch,promise:b(R,this),isEnabled:D(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){let t=y.data!==void 0,r=y.status===`error`&&!t,i=e=>{r?e.reject(y.error):t&&e.resolve(y.data)},a=()=>{i(x(R,this,y.promise=vt()))},o=b(R,this);switch(o.status){case`pending`:e.queryHash===n.queryHash&&i(o);break;case`fulfilled`:(r||y.data!==o.value)&&a();break;case`rejected`:(!r||y.error!==o.reason)&&a();break}}return y}updateResult(){let e=b(L,this),t=this.createResult(b(I,this),this.options);x(Ut,this,b(I,this).state),x(Wt,this,this.options),b(Ut,this).data!==void 0&&x(qt,this,b(I,this)),!rt(t,e)&&(x(L,this,t),y(V,this,sn).call(this,{listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!b(Xt,this).size)return!0;let r=new Set(n??b(Xt,this));return this.options.throwOnError&&r.add(`error`),Object.keys(b(L,this)).some(t=>{let n=t;return b(L,this)[n]!==e[n]&&r.has(n)})})()}))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&y(V,this,nn).call(this)}});function Qt(e){y(V,this,on).call(this);let t=b(I,this).fetch(this.options,e);return e?.throwOnError||(t=t.catch(T)),t}function $t(){y(V,this,rn).call(this);let e=E(this.options.staleTime,b(I,this));if(Ke||b(L,this).isStale||!Je(e))return;let t=Ye(b(L,this).dataUpdatedAt,e)+1;x(Jt,this,w.setTimeout(()=>{b(L,this).isStale||this.updateResult()},t))}function en(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(b(I,this)):this.options.refetchInterval)??!1}function tn(e){y(V,this,an).call(this),x(B,this,e),!(Ke||D(this.options.enabled,b(I,this))===!1||!Je(b(B,this))||b(B,this)===0)&&x(Yt,this,w.setInterval(()=>{(this.options.refetchIntervalInBackground||_t.isFocused())&&y(V,this,Qt).call(this)},b(B,this)))}function nn(){y(V,this,$t).call(this),y(V,this,tn).call(this,y(V,this,en).call(this))}function rn(){b(Jt,this)&&(w.clearTimeout(b(Jt,this)),x(Jt,this,void 0))}function an(){b(Yt,this)&&(w.clearInterval(b(Yt,this)),x(Yt,this,void 0))}function on(){let e=b(F,this).getQueryCache().build(b(F,this),this.options);if(e===b(I,this))return;let t=b(I,this);x(I,this,e),x(Ht,this,e.state),this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}function sn(e){k.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(b(L,this))}),b(F,this).getQueryCache().notify({query:b(I,this),type:`observerResultsUpdated`})})}function cn(e,t){return D(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status===`error`&&t.retryOnMount===!1)}function ln(e,t){return cn(e,t)||e.state.data!==void 0&&un(e,t,t.refetchOnMount)}function un(e,t,n){if(D(t.enabled,e)!==!1&&E(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&fn(e,t)}return!1}function dn(e,t,n,r){return(e!==t||D(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&fn(e,n)}function fn(e,t){return D(t.enabled,e)!==!1&&e.isStaleByTime(E(t.staleTime,e))}function pn(e,t){return!rt(e.getCurrentResult(),t)}function mn(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{mt(e,()=>t.signal,()=>n=!0)},u=ft(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject();if(r==null&&e.pages.length)return Promise.resolve(e);let a=await u((()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})()),{maxPages:o}=t.options,s=i?ut:lt;return{pages:s(e.pages,a,o),pageParams:s(e.pageParams,r,o)}};if(i&&a.length){let e=i===`backward`,t=e?gn:hn,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:hn(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function hn(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function gn(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var _n,H,U,vn,W,yn=(_n=new WeakMap,H=new WeakMap,U=new WeakMap,vn=new WeakMap,W=new WeakSet,class extends Mt{constructor(e){super(),_(this,W),v(this,_n,void 0),v(this,H,void 0),v(this,U,void 0),v(this,vn,void 0),x(_n,this,e.client),this.mutationId=e.mutationId,x(U,this,e.mutationCache),x(H,this,[]),this.state=e.state||bn(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){b(H,this).includes(e)||(b(H,this).push(e),this.clearGcTimeout(),b(U,this).notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){x(H,this,b(H,this).filter(t=>t!==e)),this.scheduleGc(),b(U,this).notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){b(H,this).length||(this.state.status===`pending`?this.scheduleGc():b(U,this).remove(this))}continue(){return b(vn,this)?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{y(W,this,G).call(this,{type:`continue`})},n={client:b(_n,this),meta:this.options.meta,mutationKey:this.options.mutationKey};x(vn,this,At({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{y(W,this,G).call(this,{type:`failed`,failureCount:e,error:t})},onPause:()=>{y(W,this,G).call(this,{type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>b(U,this).canRun(this)}));let r=this.state.status===`pending`,i=!b(vn,this).canStart();try{if(r)t();else{y(W,this,G).call(this,{type:`pending`,variables:e,isPaused:i}),b(U,this).config.onMutate&&await b(U,this).config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&y(W,this,G).call(this,{type:`pending`,context:t,variables:e,isPaused:i})}let a=await b(vn,this).start();return await b(U,this).config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await b(U,this).config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),y(W,this,G).call(this,{type:`success`,data:a}),a}catch(t){try{await b(U,this).config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await b(U,this).config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw y(W,this,G).call(this,{type:`error`,error:t}),t}finally{b(U,this).runNext(this)}}});function G(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),k.batch(()=>{b(H,this).forEach(t=>{t.onMutationUpdate(e)}),b(U,this).notify({mutation:this,type:`updated`,action:e})})}function bn(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var K,q,xn,Sn=(K=new WeakMap,q=new WeakMap,xn=new WeakMap,class extends He{constructor(e={}){super(),v(this,K,void 0),v(this,q,void 0),v(this,xn,void 0),this.config=e,x(K,this,new Set),x(q,this,new Map),x(xn,this,0)}build(e,t,n){var r;let i=new yn({client:e,mutationCache:this,mutationId:x(xn,this,(r=b(xn,this),++r)),options:e.defaultMutationOptions(t),state:n});return this.add(i),i}add(e){b(K,this).add(e);let t=Cn(e);if(typeof t==`string`){let n=b(q,this).get(t);n?n.push(e):b(q,this).set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(b(K,this).delete(e)){let t=Cn(e);if(typeof t==`string`){let n=b(q,this).get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&b(q,this).delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=Cn(e);if(typeof t==`string`){let n=b(q,this).get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=Cn(e);return typeof t==`string`?(b(q,this).get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){k.batch(()=>{b(K,this).forEach(e=>{this.notify({type:`removed`,mutation:e})}),b(K,this).clear(),b(q,this).clear()})}getAll(){return Array.from(b(K,this))}find(e){let t={exact:!0,...e};return this.getAll().find(e=>Ze(t,e))}findAll(e={}){return this.getAll().filter(t=>Ze(e,t))}notify(e){k.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return k.batch(()=>Promise.all(e.map(e=>e.continue().catch(T))))}});function Cn(e){return e.options.scope?.id}var J,wn=(J=new WeakMap,class extends He{constructor(e={}){super(),v(this,J,void 0),this.config=e,x(J,this,new Map)}build(e,t,n){let r=t.queryKey,i=t.queryHash??Qe(r,t),a=this.get(i);return a||(a=new Rt({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){b(J,this).has(e.queryHash)||(b(J,this).set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=b(J,this).get(e.queryHash);t&&(e.destroy(),t===e&&b(J,this).delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){k.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return b(J,this).get(e)}getAll(){return[...b(J,this).values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>Xe(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>Xe(e,t)):t}notify(e){k.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){k.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){k.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}}),Y,Tn,En,Dn,On,X,kn,An,jn=(Y=new WeakMap,Tn=new WeakMap,En=new WeakMap,Dn=new WeakMap,On=new WeakMap,X=new WeakMap,kn=new WeakMap,An=new WeakMap,class{constructor(e={}){v(this,Y,void 0),v(this,Tn,void 0),v(this,En,void 0),v(this,Dn,void 0),v(this,On,void 0),v(this,X,void 0),v(this,kn,void 0),v(this,An,void 0),x(Y,this,e.queryCache||new wn),x(Tn,this,e.mutationCache||new Sn),x(En,this,e.defaultOptions||{}),x(Dn,this,new Map),x(On,this,new Map),x(X,this,0)}mount(){var e;x(X,this,(e=b(X,this),e++,e)),b(X,this)===1&&(x(kn,this,_t.subscribe(async e=>{e&&(await this.resumePausedMutations(),b(Y,this).onFocus())})),x(An,this,Et.subscribe(async e=>{e&&(await this.resumePausedMutations(),b(Y,this).onOnline())})))}unmount(){var e;x(X,this,(e=b(X,this),e--,e)),b(X,this)===0&&(b(kn,this)?.call(this),x(kn,this,void 0),b(An,this)?.call(this),x(An,this,void 0))}isFetching(e){return b(Y,this).findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return b(Tn,this).findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return b(Y,this).get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=b(Y,this).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(E(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return b(Y,this).findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=b(Y,this).get(r.queryHash)?.state.data,a=qe(t,i);if(a!==void 0)return b(Y,this).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return k.batch(()=>b(Y,this).findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return b(Y,this).get(t.queryHash)?.state}removeQueries(e){let t=b(Y,this);k.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=b(Y,this);return k.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=k.batch(()=>b(Y,this).findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(T).catch(T)}invalidateQueries(e,t={}){return k.batch(()=>(b(Y,this).findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=k.batch(()=>b(Y,this).findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(T)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(T)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=b(Y,this).build(this,t);return n.isStaleByTime(E(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(T).catch(T)}fetchInfiniteQuery(e){return e.behavior=mn(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(T).catch(T)}ensureInfiniteQueryData(e){return e.behavior=mn(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Et.isOnline()?b(Tn,this).resumePausedMutations():Promise.resolve()}getQueryCache(){return b(Y,this)}getMutationCache(){return b(Tn,this)}getDefaultOptions(){return b(En,this)}setDefaultOptions(e){x(En,this,e)}setQueryDefaults(e,t){b(Dn,this).set($e(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...b(Dn,this).values()],n={};return t.forEach(t=>{et(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){b(On,this).set($e(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...b(On,this).values()],n={};return t.forEach(t=>{et(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...b(En,this).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Qe(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===dt&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...b(En,this).mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){b(Y,this).clear(),b(Tn,this).clear()}}),Mn=Symbol(`store-raw`),Nn=Symbol(`store-node`),Z=Symbol(`store-has`),Pn=Symbol(`store-self`);function Fn(e){let t=e[f];if(!t&&(Object.defineProperty(e,f,{value:t=new Proxy(e,Hn)}),!Array.isArray(e))){let n=Object.keys(e),r=Object.getOwnPropertyDescriptors(e);for(let i=0,a=n.length;i<a;i++){let a=n[i];r[a].get&&Object.defineProperty(e,a,{enumerable:r[a].enumerable,get:r[a].get.bind(t)})}}return t}function Q(e){let t;return typeof e==`object`&&!!e&&(e[f]||!(t=Object.getPrototypeOf(e))||t===Object.prototype||Array.isArray(e))}function In(e,t=new Set){let n,r,i,a;if(n=e!=null&&e[Mn])return n;if(!Q(e)||t.has(e))return e;if(Array.isArray(e)){Object.isFrozen(e)?e=e.slice(0):t.add(e);for(let n=0,a=e.length;n<a;n++)i=e[n],(r=In(i,t))!==i&&(e[n]=r)}else{Object.isFrozen(e)?e=Object.assign({},e):t.add(e);let n=Object.keys(e),o=Object.getOwnPropertyDescriptors(e);for(let s=0,c=n.length;s<c;s++)a=n[s],!o[a].get&&(i=e[a],(r=In(i,t))!==i&&(e[a]=r))}return e}function Ln(e,t){let n=e[t];return n||Object.defineProperty(e,t,{value:n=Object.create(null)}),n}function Rn(e,t,n){if(e[t])return e[t];let[r,i]=m(n,{equals:!1,internal:!0});return r.$=i,e[t]=r}function zn(e,t){let n=Reflect.getOwnPropertyDescriptor(e,t);return!n||n.get||!n.configurable||t===f||t===Nn?n:(delete n.value,delete n.writable,n.get=()=>e[f][t],n)}function Bn(e){te()&&Rn(Ln(e,Nn),Pn)()}function Vn(e){return Bn(e),Reflect.ownKeys(e)}var Hn={get(e,t,n){if(t===Mn)return e;if(t===f)return n;if(t===d)return Bn(e),n;let r=Ln(e,Nn),i=r[t],a=i?i():e[t];if(t===Nn||t===Z||t===`__proto__`)return a;if(!i){let n=Object.getOwnPropertyDescriptor(e,t);te()&&(typeof a!=`function`||e.hasOwnProperty(t))&&!(n&&n.get)&&(a=Rn(r,t,a)())}return Q(a)?Fn(a):a},has(e,t){return t===Mn||t===f||t===d||t===Nn||t===Z||t===`__proto__`?!0:(te()&&Rn(Ln(e,Z),t)(),t in e)},set(){return!0},deleteProperty(){return!0},ownKeys:Vn,getOwnPropertyDescriptor:zn};function $(e,t,n,r=!1){if(!r&&e[t]===n)return;let i=e[t],a=e.length;n===void 0?(delete e[t],e[Z]&&e[Z][t]&&i!==void 0&&e[Z][t].$()):(e[t]=n,e[Z]&&e[Z][t]&&i===void 0&&e[Z][t].$());let o=Ln(e,Nn),s;if((s=Rn(o,t,i))&&s.$(()=>n),Array.isArray(e)&&e.length!==a){for(let t=e.length;t<a;t++)(s=o[t])&&s.$();(s=Rn(o,`length`,a))&&s.$(e.length)}(s=o[Pn])&&s.$()}function Un(e,t){let n=Object.keys(t);for(let r=0;r<n.length;r+=1){let i=n[r];$(e,i,t[i])}}function Wn(e,t){if(typeof t==`function`&&(t=t(e)),t=In(t),Array.isArray(t)){if(e===t)return;let n=0,r=t.length;for(;n<r;n++){let r=t[n];e[n]!==r&&$(e,n,r)}$(e,`length`,r)}else Un(e,t)}function Gn(e,t,n=[]){let r,i=e;if(t.length>1){r=t.shift();let a=typeof r,o=Array.isArray(e);if(Array.isArray(r)){for(let i=0;i<r.length;i++)Gn(e,[r[i]].concat(t),n);return}else if(o&&a===`function`){for(let i=0;i<e.length;i++)r(e[i],i)&&Gn(e,[i].concat(t),n);return}else if(o&&a===`object`){let{from:i=0,to:a=e.length-1,by:o=1}=r;for(let r=i;r<=a;r+=o)Gn(e,[r].concat(t),n);return}else if(t.length>1){Gn(e[r],t,[r].concat(n));return}i=e[r],n=[r].concat(n)}let a=t[0];typeof a==`function`&&(a=a(i,n),a===i)||r===void 0&&a==null||(a=In(a),r===void 0||Q(i)&&Q(a)&&!Array.isArray(a)?Un(i,a):$(e,r,a))}function Kn(...[e,t]){let n=In(e||{}),r=Array.isArray(n),i=Fn(n);function a(...e){l(()=>{r&&e.length===1?Wn(n,e[0]):Gn(n,e)})}return[i,a]}var qn=Symbol(`store-root`);function Jn(e,t,n,r,i){let a=t[n];if(e===a)return;let o=Array.isArray(e);if(n!==qn&&(!Q(e)||!Q(a)||o!==Array.isArray(a)||i&&e[i]!==a[i])){$(t,n,e);return}if(o){if(e.length&&a.length&&(!r||i&&e[0]&&e[0][i]!=null)){let t,n,o,s,c,l,u,d;for(o=0,s=Math.min(a.length,e.length);o<s&&(a[o]===e[o]||i&&a[o]&&e[o]&&a[o][i]&&a[o][i]===e[o][i]);o++)Jn(e[o],a,o,r,i);let f=Array(e.length),p=new Map;for(s=a.length-1,c=e.length-1;s>=o&&c>=o&&(a[s]===e[c]||i&&a[s]&&e[c]&&a[s][i]&&a[s][i]===e[c][i]);s--,c--)f[c]=a[s];if(o>c||o>s){for(n=o;n<=c;n++)$(a,n,e[n]);for(;n<e.length;n++)$(a,n,f[n]),Jn(e[n],a,n,r,i);a.length>e.length&&$(a,`length`,e.length);return}for(u=Array(c+1),n=c;n>=o;n--)l=e[n],d=i&&l?l[i]:l,t=p.get(d),u[n]=t===void 0?-1:t,p.set(d,n);for(t=o;t<=s;t++)l=a[t],d=i&&l?l[i]:l,n=p.get(d),n!==void 0&&n!==-1&&(f[n]=a[t],n=u[n],p.set(d,n));for(n=o;n<e.length;n++)n in f?($(a,n,f[n]),Jn(e[n],a,n,r,i)):$(a,n,e[n])}else for(let t=0,n=e.length;t<n;t++)Jn(e[t],a,t,r,i);a.length>e.length&&$(a,`length`,e.length);return}let s=Object.keys(e);for(let t=0,n=s.length;t<n;t++)Jn(e[s[t]],a,s[t],r,i);let c=Object.keys(a);for(let t=0,n=c.length;t<n;t++)e[c[t]]===void 0&&$(a,c[t],void 0)}function Yn(e,t={}){let{merge:n,key:r=`id`}=t,i=In(e);return e=>{if(!Q(e)||!Q(i))return i;let t=Jn(i,{[qn]:e},qn,n,r);return t===void 0?e:t}}var Xn=o(void 0),Zn=t=>{if(t)return t;let n=e(Xn);if(!n)throw Error(`No QueryClient set, use QueryClientProvider to set one`);return n()},Qn=e=>(c(t=>(t?.(),e.client.mount(),e.client.unmount.bind(e.client))),n(()=>e.client.unmount()),p(Xn.Provider,{value:()=>e.client,get children(){return e.children}})),$n=o(()=>!1),er=()=>e($n);$n.Provider;function tr(e,t,n,r){if(n===!1)return t;if(typeof n==`function`){let r=n(e.data,t.data);return{...t,data:r}}let i=t.data;if(e.data===void 0)try{i=structuredClone(i)}catch{}let a=Yn(i,{key:n})(e.data);return{...t,data:a}}var nr=(e,t)=>t;function rr(e,t,r){let i=u(()=>Zn(r?.())),o=er(),c=u(()=>{let t=i().defaultQueryOptions(e());return t._optimisticResults=o()?`isRestoring`:`optimistic`,t.structuralSharing=!1,t}),l=c(),[d,f]=m(new t(i(),c())),p=d().getOptimisticResult(c()),[h,te]=Kn(p),g=()=>d().subscribe(e=>{p=e,queueMicrotask(()=>{y&&ne()})});function _(e){let t=d().options,n=t.reconcile;te(r=>tr(r,e,n===void 0?!1:n,t.queryHash))}function v(){return[()=>h,e=>{let t=In(h);if(typeof e==`function`&&(e=e(t)),e?.hydrationData){let{hydrationData:t,...n}=e;e=n}_(e)}]}let y=null,b=null,[x,{refetch:ne}]=s(()=>{let e=d();return new Promise((t,n)=>{if(b=t,!y&&!o()&&(y=g()),e.updateResult(),p.isError&&!p.isFetching&&!o()&&pt(e.options.throwOnError,[p.error,e.getCurrentQuery()]))return _(p),n(p.error);if(!p.isLoading)return b=null,t(nr(e.getCurrentQuery(),p));_(p)})},{storage:v,get deferStream(){return e().deferStream},onHydrated(e,t){if(t.value&&`hydrationData`in t.value&&xt(i(),{queries:[{...t.value.hydrationData}]}),y)return;let n={...l};(l.staleTime||!l.initialData)&&t.value&&(n.refetchOnMount=!1),d().setOptions(n),_(d().getOptimisticResult(n)),y=g()}});return a(ee(i,e=>{y&&y();let n=new t(e,c());y=g(),f(n)},{defer:!0})),a(ee(o,e=>{e||ne()},{defer:!0})),n(()=>{y&&(y(),y=null),b&&(b(p),b=null)}),a(ee([d,c],([e,t])=>{e.setOptions(t),_(e.getOptimisticResult(t)),ne()},{defer:!0})),new Proxy(h,{get(e,t){return t===`data`?h.data===void 0?x()?.data:x.latest?.data:Reflect.get(e,t)}})}function ir(e,t){return rr(u(()=>e()),Zt,t)}var ar=new class extends jn{constructor(e={}){super(e)}}({defaultOptions:{queries:{retry:1,refetchOnWindowFocus:!1}}}),or=`tf-1ac2ef`,sr=`tf-90e981`,cr=`tf-68a980`,lr=`tf-0c7f16`,ur=`tf-e7b9c7`,dr=`tf-b4f391`,fr=`tf-118b57`,pr=`tf-07225e`,mr=`tf-d01dff`,hr=`tf-5bb68c`,gr=`tf-37ddcc`,_r=`tf-d256dd`,vr=`tf-04e1e2`,yr=`tf-d01908`,br=`tf-1cc72b`,xr=`tf-480f1a`,Sr=`tf-bc7950`,Cr=`tf-d9b7b4`,wr=`tf-9398ea`,Tr=`tf-2d9323`,Er=`tf-4567e1`,Dr=`tf-58881e`,Or=`tf-c7b4d2`,kr=`tf-771a48`,Ar=`tf-e2b7ba`,jr=`tf-6f7fab`,Mr=`tf-b15cde`,Nr=`tf-52678c`,Pr=`tf-25f74d`,Fr=`tf-b385cd`,Ir=`tf-dc46f6`,Lr=`tf-55c652`,Rr=`tf-2ad189`,zr=`tf-192a37`,Br=`tf-44389f`,Vr=`tf-58158c`,Hr=`tf-6f8fbb`,Ur=`tf-2a2ad5`,Wr={skeleton:or,pulse:sr,selectorOverlay:cr,"tf-fade-in":`tf-ed0355`,selectorOverlayDismissing:lr,"tf-overlay-fade-out":`tf-9cad3e`,container:ur,noBg:dr,noBorder:fr,accentLine:pr,ctaWrapper:mr,ctaWrapperReceive:hr,footerSlot:gr,footerSpacer:_r,noOffer:vr,"tf-slide-up":`tf-b61e63`,noOfferIcon:yr,noOfferText:br,explorerLink:xr,explorerLinkReceive:Sr,recipientBadge:Cr,recipientBadgeEmpty:wr,recipientBadgeText:Tr,recipientBadgeLocked:Er,recipientPlaceholder:Dr,flexCenter:Or,flexCol:kr,flexRow:Ar,flexBetween:jr,fadeIn:Mr,idleCard:Nr,idleIcon:Pr,idleTitle:Fr,idleSub:Ir,disabledOpacity:Lr,monoAmount:Rr,dividerLine:zr,providerIconInline:Br,payMethodTabs:Vr,payMethodTab:Hr,payMethodTabActive:Ur};export{x as _,Ve as a,v as b,Ee as c,ge as d,Ce as f,Te as g,me as h,ir as i,ue as l,Se as m,ar as n,be as o,we as p,Qn as r,ye as s,Wr as t,pe as u,b as v,_ as x,y};
|