PageSourceSearch

https://ai-undress.ai/_next/static/chunks/4952-4c10bd3a77d66258.js

js ai-undress.ai collected 2026-10-05 12:35:05 UTC 57,201 bytes, 4 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4952],{97808:function(t,e,r){r.d(e,{j:function(){return s}});var n=r(45204),i=r(78204),s=new class extends n.l{#t;#e;#r;constructor(){super(),this.#r=t=>{if(!i.sk&&window.addEventListener){let e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#e||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#r=t,this.#e?.(),this.#e=t(t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()})}setFocused(t){this.#t!==t&&(this.#t=t,this.onFocus())}onFocus(){let t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return"boolean"==typeof this.#t?this.#t:globalThis.document?.visibilityState!=="hidden"}}},23538:function(t,e,r){r.d(e,{Gm:function(){return i},Qy:function(){return u},ZF:function(){return a}});var n=r(78204);function i(t){return{onFetch:(e,r)=>{let i=e.options,u=e.fetchOptions?.meta?.fetchMore?.direction,a=e.state.data?.pages||[],c=e.state.data?.pageParams||[],l={pages:[],pageParams:[]},h=0,f=async()=>{let r=!1,f=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(e.signal.aborted?r=!0:e.signal.addEventListener("abort",()=>{r=!0}),e.signal)})},d=(0,n.cG)(e.options,e.fetchOptions),p=async(t,i,s)=>{if(r)return Promise.reject();if(null==i&&t.pages.length)return Promise.resolve(t);let o={queryKey:e.queryKey,pageParam:i,direction:s?"backward":"forward",meta:e.options.meta};f(o);let u=await d(o),{maxPages:a}=e.options,c=s?n.Ht:n.VX;return{pages:c(t.pages,u,a),pageParams:c(t.pageParams,i,a)}};if(u&&a.length){let t="backward"===u,e={pages:a,pageParams:c},r=(t?o:s)(i,e);l=await p(e,r,t)}else{let e=t??a.length;do{let t=0===h?c[0]??i.initialPageParam:s(i,l);if(h>0&&null==t)break;l=await p(l,t),h++}while(h<e)}return l};e.options.persister?e.fetchFn=()=>e.options.persister?.(f,{queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},r):e.fetchFn=f}}}function s(t,{pages:e,pageParams:r}){let n=e.length-1;return e.length>0?t.getNextPageParam(e[n],e,r[n],r):void 0}function o(t,{pages:e,pageParams:r}){return e.length>0?t.getPreviousPageParam?.(e[0],e,r[0],r):void 0}function u(t,e){return!!e&&null!=s(t,e)}function a(t,e){return!!e&&!!t.getPreviousPageParam&&null!=o(t,e)}},98089:function(t,e,r){r.d(e,{R:function(){return u},m:function(){return o}});var n=r(9786),i=r(88853),s=r(55550),o=class extends i.F{#n;#i;#s;constructor(t){super(),this.mutationId=t.mutationId,this.#i=t.mutationCache,this.#n=[],this.state=t.state||u(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#n.includes(t)||(this.#n.push(t),this.clearGcTimeout(),this.#i.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#n=this.#n.filter(e=>e!==t),this.scheduleGc(),this.#i.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#n.length||("pending"===this.state.status?this.scheduleGc():this.#i.remove(this))}continue(){return this.#s?.continue()??this.execute(this.state.variables)}async execute(t){this.#s=(0,s.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(Error("No mutationFn found")),onFail:(t,e)=>{this.#o({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#i.canRun(this)});let e="pending"===this.state.status,r=!this.#s.canStart();try{if(!e){this.#o({type:"pending",variables:t,isPaused:r}),await this.#i.config.onMutate?.(t,this);let e=await this.options.onMutate?.(t);e!==this.state.context&&this.#o({type:"pending",context:e,variables:t,isPaused:r})}let n=await this.#s.start();return await this.#i.config.onSuccess?.(n,t,this.state.context,this),await this.options.onSuccess?.(n,t,this.state.context),await this.#i.config.onSettled?.(n,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(n,null,t,this.state.context),this.#o({type:"success",data:n}),n}catch(e){try{throw await this.#i.config.onError?.(e,t,this.state.context,this),await this.options.onError?.(e,t,this.state.context),await this.#i.config.onSettled?.(void 0,e,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,e,t,this.state.context),e}finally{this.#o({type:"error",error:e})}}finally{this.#i.runNext(this)}}#o(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};
1case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"pending":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}})(this.state),n.V.batch(()=>{this.#n.forEach(e=>{e.onMutationUpdate(t)}),this.#i.notify({mutation:this,type:"updated",action:t})})}};function u(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},9786:function(t,e,r){r.d(e,{V:function(){return n}});var n=function(){let t=[],e=0,r=t=>{t()},n=t=>{t()},i=t=>setTimeout(t,0),s=n=>{e?t.push(n):i(()=>{r(n)})},o=()=>{let e=t;t=[],e.length&&i(()=>{n(()=>{e.forEach(t=>{r(t)})})})};return{batch:t=>{let r;e++;try{r=t()}finally{--e||o()}return r},batchCalls:t=>(...e)=>{s(()=>{t(...e)})},schedule:s,setNotifyFunction:t=>{r=t},setBatchNotifyFunction:t=>{n=t},setScheduler:t=>{i=t}}}()},58874:function(t,e,r){r.d(e,{N:function(){return s}});var n=r(45204),i=r(78204),s=new class extends n.l{#u=!0;#e;#r;constructor(){super(),this.#r=t=>{if(!i.sk&&window.addEventListener){let e=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#e||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#r=t,this.#e?.(),this.#e=t(this.setOnline.bind(this))}setOnline(t){this.#u!==t&&(this.#u=t,this.listeners.forEach(e=>{e(t)}))}isOnline(){return this.#u}}},79189:function(t,e,r){r.d(e,{A:function(){return u},z:function(){return a}});var n=r(78204),i=r(9786),s=r(55550),o=r(88853),u=class extends o.F{#a;#c;#l;#s;#h;#f;constructor(t){super(),this.#f=!1,this.#h=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#l=t.cache,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#a=function(t){let e="function"==typeof t.initialData?t.initialData():t.initialData,r=void 0!==e,n=r?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,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=t.state??this.#a,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#s?.promise}setOptions(t){this.options={...this.#h,...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#l.remove(this)}setData(t,e){let r=(0,n.oE)(this.state.data,t,this.options);return this.#o({data:r,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),r}setState(t,e){this.#o({type:"setState",state:t,setStateOptions:e})}cancel(t){let e=this.#s?.promise;return this.#s?.cancel(t),e?e.then(n.ZT).catch(n.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#a)}isActive(){return this.observers.some(t=>!1!==(0,n.Nc)(t.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===n.CN||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):void 0===this.state.data)}isStaleByTime(t=0){return this.state.isInvalidated||void 0===this.state.data||!(0,n.Kp)(this.state.dataUpdatedAt,t)}onFocus(){let t=this.observers.find(t=>t.shouldFetchOnWindowFocus());t?.refetch({cancelRefetch:!1}),this.#s?.continue()}onOnline(){let t=this.observers.find(t=>t.shouldFetchOnReconnect());t?.refetch({cancelRefetch:!1}),this.#s?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#l.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>
1e!==t),this.observers.length||(this.#s&&(this.#f?this.#s.cancel({revert:!0}):this.#s.cancelRetry()),this.scheduleGc()),this.#l.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}fetch(t,e){if("idle"!==this.state.fetchStatus){if(void 0!==this.state.data&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#s)return this.#s.continueRetry(),this.#s.promise}if(t&&this.setOptions(t),!this.options.queryFn){let t=this.observers.find(t=>t.options.queryFn);t&&this.setOptions(t.options)}let r=new AbortController,i=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(this.#f=!0,r.signal)})},o={fetchOptions:e,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>{let t=(0,n.cG)(this.options,e),r={queryKey:this.queryKey,meta:this.meta};return(i(r),this.#f=!1,this.options.persister)?this.options.persister(t,r,this):t(r)}};i(o),this.options.behavior?.onFetch(o,this),this.#c=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#o({type:"fetch",meta:o.fetchOptions?.meta});let u=t=>{(0,s.DV)(t)&&t.silent||this.#o({type:"error",error:t}),(0,s.DV)(t)||(this.#l.config.onError?.(t,this),this.#l.config.onSettled?.(this.state.data,t,this)),this.scheduleGc()};return this.#s=(0,s.Mz)({initialPromise:e?.initialPromise,fn:o.fetchFn,abort:r.abort.bind(r),onSuccess:t=>{if(void 0===t){u(Error(`${this.queryHash} data is undefined`));return}try{this.setData(t)}catch(t){u(t);return}this.#l.config.onSuccess?.(t,this),this.#l.config.onSettled?.(t,this.state.error,this),this.scheduleGc()},onError:u,onFail:(t,e)=>{this.#o({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0}),this.#s.start()}#o(t){this.state=(e=>{switch(t.type){case"failed":return{...e,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...e,fetchStatus:"paused"};case"continue":return{...e,fetchStatus:"fetching"};case"fetch":return{...e,...a(e.data,this.options),fetchMeta:t.meta??null};case"success":return{...e,data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let r=t.error;if((0,s.DV)(r)&&r.revert&&this.#c)return{...this.#c,fetchStatus:"idle"};return{...e,error:r,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}})(this.state),i.V.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate()}),this.#l.notify({query:this,type:"updated",action:t})})}};function a(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,s.Kw)(e.networkMode)?"fetching":"paused",...void 0===t&&{error:null,status:"pending"}}}},88853:function(t,e,r){r.d(e,{F:function(){return i}});var n=r(78204),i=class{#d;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,n.PN)(this.gcTime)&&(this.#d=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(n.sk?1/0:3e5))}clearGcTimeout(){this.#d&&(clearTimeout(this.#d),this.#d=void 0)}}},55550:function(t,e,r){r.d(e,{DV:function(){return l},Kw:function(){return a},Mz:function(){return h}});var n=r(97808),i=r(58874),s=r(39958),o=r(78204);function u(t){return Math.min(1e3*2**t,3e4)}function a(t){return(t??"online")!=="online"||i.N.isOnline()}var c=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function l(t){return t instanceof c}function h(t){let e,r=!1,l=0,h=!1,f=(0,s.O)(),d=()=>n.j.isFocused()&&("always"===t.networkMode||i.N.isOnline())&&t.canRun(),p=()=>a(t.networkMode)&&t.canRun(),y=r=>{h||(h=!0,t.onSuccess?.(r),e?.(),f.resolve(r))},m=r=>{h||(h=!0,t.onError?.(r),e?.(),f.reject(r))},b=()=>new Promise(r=>{e=t=>{(h||d())&&r(t)},t.onPause?.()}).then(()=>{e=void 0,h||t.onContinue?.()}),g=()=>{let e;if(h)return;let n=0===l?t.initialPromise:void 0;try{e=n??t.fn()}catch(t){e=Promise.reject(t)}Promise.resolve(e).then(y).catch(e=>{if(h)return;let n=t.retry??(o.sk?0:3),i=t.retryDelay??u,s="function"==typeof i?i(l,e):i,a=!0===n||"number"==typeof n&&l<n||"function"==typeof n&&n(l,e);if(r||!a){m(e);return}l++,t.onFail?.(l,e),(0,o._v)(s).then(()=>
1d()?void 0:b()).then(()=>{r?m(e):g()})})};return{promise:f,cancel:e=>{h||(m(new c(e)),t.abort?.())},continue:()=>(e?.(),f),cancelRetry:()=>{r=!0},continueRetry:()=>{r=!1},canStart:p,start:()=>(p()?g():b().then(g),f)}}},45204:function(t,e,r){r.d(e,{l:function(){return n}});var n=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},39958:function(t,e,r){r.d(e,{O:function(){return n}});function n(){let t,e;let r=new Promise((r,n)=>{t=r,e=n});function n(t){Object.assign(r,t),delete r.resolve,delete r.reject}return r.status="pending",r.catch(()=>{}),r.resolve=e=>{n({status:"fulfilled",value:e}),t(e)},r.reject=t=>{n({status:"rejected",reason:t}),e(t)},r}},78204:function(t,e,r){r.d(e,{CN:function(){return E},Ht:function(){return S},KC:function(){return a},Kp:function(){return u},Nc:function(){return c},PN:function(){return o},Q$:function(){return y},Rm:function(){return f},SE:function(){return s},VS:function(){return m},VX:function(){return C},Wk:function(){return R},X7:function(){return h},Ym:function(){return d},ZT:function(){return i},_v:function(){return w},_x:function(){return l},cG:function(){return Q},oE:function(){return O},sk:function(){return n},to:function(){return p}});var n="undefined"==typeof window||"Deno"in globalThis;function i(){}function s(t,e){return"function"==typeof t?t(e):t}function o(t){return"number"==typeof t&&t>=0&&t!==1/0}function u(t,e){return Math.max(t+(e||0)-Date.now(),0)}function a(t,e){return"function"==typeof t?t(e):t}function c(t,e){return"function"==typeof t?t(e):t}function l(t,e){let{type:r="all",exact:n,fetchStatus:i,predicate:s,queryKey:o,stale:u}=t;if(o){if(n){if(e.queryHash!==f(o,e.options))return!1}else if(!p(e.queryKey,o))return!1}if("all"!==r){let t=e.isActive();if("active"===r&&!t||"inactive"===r&&t)return!1}return("boolean"!=typeof u||e.isStale()===u)&&(!i||i===e.state.fetchStatus)&&(!s||!!s(e))}function h(t,e){let{exact:r,status:n,predicate:i,mutationKey:s}=t;if(s){if(!e.options.mutationKey)return!1;if(r){if(d(e.options.mutationKey)!==d(s))return!1}else if(!p(e.options.mutationKey,s))return!1}return(!n||e.state.status===n)&&(!i||!!i(e))}function f(t,e){return(e?.queryKeyHashFn||d)(t)}function d(t){return JSON.stringify(t,(t,e)=>g(e)?Object.keys(e).sort().reduce((t,r)=>(t[r]=e[r],t),{}):e)}function p(t,e){return t===e||typeof t==typeof e&&!!t&&!!e&&"object"==typeof t&&"object"==typeof e&&!Object.keys(e).some(r=>!p(t[r],e[r]))}function y(t,e){if(t===e)return t;let r=b(t)&&b(e);if(r||g(t)&&g(e)){let n=r?t:Object.keys(t),i=n.length,s=r?e:Object.keys(e),o=s.length,u=r?[]:{},a=0;for(let i=0;i<o;i++){let o=r?i:s[i];(!r&&n.includes(o)||r)&&void 0===t[o]&&void 0===e[o]?(u[o]=void 0,a++):(u[o]=y(t[o],e[o]),u[o]===t[o]&&void 0!==t[o]&&a++)}return i===o&&a===i?t:u}return e}function m(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(let r in t)if(t[r]!==e[r])return!1;return!0}function b(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function g(t){if(!v(t))return!1;let e=t.constructor;if(void 0===e)return!0;let r=e.prototype;return!!(v(r)&&r.hasOwnProperty("isPrototypeOf"))&&Object.getPrototypeOf(t)===Object.prototype}function v(t){return"[object Object]"===Object.prototype.toString.call(t)}function w(t){return new Promise(e=>{setTimeout(e,t)})}function O(t,e,r){return"function"==typeof r.structuralSharing?r.structuralSharing(t,e):!1!==r.structuralSharing?y(t,e):e}function R(t){return t}function C(t,e,r=0){let n=[...t,e];return r&&n.length>r?n.slice(1):n}function S(t,e,r=0){let n=[e,...t];return r&&n.length>r?n.slice(0,-1):n}var E=Symbol();function Q(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:t.queryFn&&t.queryFn!==E?t.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${t.queryHash}'`))}},86463:function(t,e,r){r.d(e,{NL:function(){return o},aH:function(){return u}});var n=r(57224),i=r(11545),s=n.createContext(void 0),o=t=>{let e=n.useContext(s);if(t)return t;if(!e)throw Error("No QueryClient set, use QueryClientProvider to set one");return e},u=t=>{let{client:e,children:r}=t;return n.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,i.jsx)(s.Provider,{value:e,children:r})}},23049:function(t,e,r){function n(t){let e={subscribe(e){let r=null,n=!1,i=!1,s=!1;function o(){if(null===r){s=!0;return}!i&&(i=!0,"function"==typeof r?r():r&&r.unsubscribe())}return r=t({next(t){n||e.next?.(t)},error(t){n||(n=!0,e.error?.(t),o())},complete(){n||(n=!0,e.complete?.(),o())}}),s&&o(),{unsubscribe:o}},pipe:(...t)=>t.reduce(i,e)};return e}function i(t,e){return e(t)}r.d(e,{ss:function(){return o},NT:function(){return u},Bm:function(){return h},fE:function(){return a},ny:function(){return f},N8:function(){return E}});var s=r(19499);
1class o extends Error{static from(t,e={}){return t instanceof o||t instanceof Error&&"TRPCClientError"===t.name?(e.meta&&(t.meta={...t.meta,...e.meta}),t):(0,s.Kn)(t)&&(0,s.Kn)(t.error)&&"number"==typeof t.error.code&&"string"==typeof t.error.message?new o(t.error.message,{...e,result:t}):new o("string"==typeof t?t:(0,s.Kn)(t)&&"string"==typeof t.message?t.message:"Unknown error",{...e,cause:t})}constructor(t,e){let r=e?.cause;super(t,{cause:r}),this.meta=e?.meta,this.cause=r,this.shape=e?.result?.error,this.data=e?.result?.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,o.prototype)}}class u{$request(t){var e;return(e={links:this.links,op:{...t,context:t.context??{},id:++this.requestId}},n(t=>(function t(r=0,n=e.op){let i=e.links[r];if(!i)throw Error("No more links to execute - did you forget to add an ending link?");return i({op:n,next:e=>t(r+1,e)})})().subscribe(t))).pipe(t=>{let e=0,r=null,i=[];return n(n=>(e++,i.push(n),r||(r=t.subscribe({next(t){for(let e of i)e.next?.(t)},error(t){for(let e of i)e.error?.(t)},complete(){for(let t of i)t.complete?.()}})),{unsubscribe(){e--,function(){if(0===e&&r){let t=r;r=null,t.unsubscribe()}}();let t=i.findIndex(t=>t===n);t>-1&&i.splice(t,1)}}))})}async requestAsPromise(t){try{let e=this.$request(t);return(await function(t){let e=new AbortController;return new Promise((r,n)=>{let i=!1;function s(){i||(i=!0,o.unsubscribe())}e.signal.addEventListener("abort",()=>{n(e.signal.reason)});let o=t.subscribe({next(t){i=!0,r(t),s()},error(t){n(t)},complete(){e.abort(),s()}})})}(e)).result.data}catch(t){throw o.from(t)}}query(t,e,r){return this.requestAsPromise({type:"query",path:t,input:e,context:r?.context,signal:r?.signal})}mutation(t,e,r){return this.requestAsPromise({type:"mutation",path:t,input:e,context:r?.context,signal:r?.signal})}subscription(t,e,r){return this.$request({type:"subscription",path:t,input:e,context:r?.context,signal:r.signal}).subscribe({next(t){"started"===t.result.type?r.onStarted?.({context:t.context}):"stopped"===t.result.type?r.onStopped?.():r.onData?.(t.result.data)},error(t){r.onError?.(t)},complete(){r.onComplete?.()}})}constructor(t){this.requestId=0,this.runtime={},this.links=t.links.map(t=>t(this.runtime))}}function a(t){return new u(t)}let c={query:"query",mutate:"mutation",subscribe:"subscription"},l=t=>c[t];function h(t){let e=(0,s.IX)(({path:e,args:r})=>{let n=[...e],i=l(n.pop()),s=n.join(".");return t[i](s,...r)});return(0,s.yh)(r=>t.hasOwnProperty(r)?t[r]:"__untypedClient"===r?t:e[r])}function f(t){return t.__untypedClient}let d=()=>{throw Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function p(t){let e=null,r=null,n=()=>{clearTimeout(r),r=null,e=null};function i(){let r=function(e){let r=[[]],n=0;for(;;){let i=e[n];if(!i)break;let s=r[r.length-1];if(i.aborted){i.reject?.(Error("Aborted")),n++;continue}if(t.validate(s.concat(i).map(t=>t.key))){s.push(i),n++;continue}if(0===s.length){i.reject?.(Error("Input is too big for a single dispatch")),n++;continue}r.push([])}return r}(e);for(let e of(n(),r)){if(!e.length)continue;let r={items:e};for(let t of e)t.batch=r;t.fetch(r.items.map(t=>t.key)).then(async t=>{for(let e of(await Promise.all(t.map(async(t,e)=>{let n=r.items[e];try{let e=await Promise.resolve(t);n.resolve?.(e)}catch(t){n.reject?.(t)}n.batch=null,n.reject=null,n.resolve=null})),r.items))e.reject?.(Error("Missing result")),e.batch=null}).catch(t=>{for(let e of r.items)e.reject?.(t),e.batch=null})}}return{load:function(t){let n={aborted:!1,key:t,batch:null,resolve:d,reject:d},s=new Promise((t,r)=>{n.reject=r,n.resolve=t,e||(e=[]),e.push(n)});return r||(r=setTimeout(i)),s}}}let y=t=>"function"==typeof t,m={query:"GET",mutation:"POST",subscription:"PATCH"};function b(t){return"input"in t?t.transformer.input.serialize(t.input):function(t){let e={};for(let r=0;r<t.length;r++){let n=t[r];e[r]=n}return e}(t.inputs.map(e=>t.transformer.input.serialize(e)))}let g=t=>{let e=t.url.split("?"),r=e[0].replace(/\/$/,"")+"/"+t.path,n=[];if(e[1]&&n.push(e[1]),"inputs"in t&&n.push("batch=1"),"query"===t.type||"subscription"===t.type){let e=b(t);void 0!==e&&"POST"!==t.methodOverride&&n.push(`input=${encodeURIComponent(JSON.stringify(e))}`)}return n.length&&(r+="?"+n.join("&")),r},v=t=>{if("query"===t.type&&"POST"!==t.methodOverride)return;let e=b(t);return void 0!==e?JSON.stringify(e):void 0},w=t=>S({...t,contentTypeHeader:"application/json",getUrl:g,getBody:v});
1class O extends Error{constructor(){let t="AbortError";super(t),this.name=t,this.message=t}}let R=t=>{if(t?.aborted){if(t.throwIfAborted?.(),"undefined"!=typeof DOMException)throw new DOMException("AbortError","AbortError");throw new O}};async function C(t){R(t.signal);let e=t.getUrl(t),r=t.getBody(t),{type:n}=t,i=await (async()=>{let e=await t.headers();return Symbol.iterator in e?Object.fromEntries(e):e})(),s={...t.contentTypeHeader?{"content-type":t.contentTypeHeader}:{},...t.trpcAcceptHeader?{"trpc-accept":t.trpcAcceptHeader}:void 0,...i};return(function(t){if(t)return t;if("undefined"!=typeof window&&y(window.fetch))return window.fetch;if("undefined"!=typeof globalThis&&y(globalThis.fetch))return globalThis.fetch;throw Error("No fetch implementation found")})(t.fetch)(e,{method:t.methodOverride??m[n],signal:t.signal,body:r,headers:s})}async function S(t){let e={},r=await C(t);e.response=r;let n=await r.json();return e.responseJSON=n,{json:n,meta:e}}function E(t){var e;let r={url:t.url.toString(),fetch:t.fetch,transformer:(e=t.transformer)?"input"in e?e:{input:e,output:e}:{input:{serialize:t=>t,deserialize:t=>t},output:{serialize:t=>t,deserialize:t=>t}},methodOverride:t.methodOverride},i=t.maxURLLength??1/0;return()=>{let e=e=>({validate(t){if(i===1/0)return!0;let n=t.map(t=>t.path).join(","),s=t.map(t=>t.input);return g({...r,type:e,path:n,inputs:s,signal:null}).length<=i},async fetch(n){let i=n.map(t=>t.path).join(","),s=n.map(t=>t.input),o=function(...t){let e=new AbortController,r=t.length,n=0,i=()=>{++n===r&&e.abort()};for(let e of t)e?.aborted?i():e?.addEventListener("abort",i,{once:!0});return e.signal}(...n.map(t=>t.signal)),u=await w({...r,path:i,inputs:s,type:e,headers:()=>t.headers?"function"==typeof t.headers?t.headers({opList:n}):t.headers:{},signal:o});return(Array.isArray(u.json)?u.json:n.map(()=>u.json)).map(t=>({meta:u.meta,json:t}))}}),u={query:p(e("query")),mutation:p(e("mutation"))};return({op:t})=>n(e=>{let n;if("subscription"===t.type)throw Error("Subscriptions are unsupported by `httpLink` - use `httpSubscriptionLink` or `wsLink`");return u[t.type].load(t).then(t=>{n=t;let i=(0,s.F7)(t.json,r.transformer.output);if(!i.ok){e.error(o.from(i.error,{meta:t.meta}));return}e.next({context:t.meta,result:i.result}),e.complete()}).catch(t=>{e.error(o.from(t,{meta:n?.meta}))}),()=>{}})}}},94952:function(t,e,r){let n;r.d(e,{ec:function(){return W}});var i=r(23049),s=r(78204),o=r(19499);function u(t,e,r){let n=t.flatMap(t=>t.split("."));if(!e&&(!r||"any"===r))return n.length?[n]:[];if("infinite"===r&&(0,o.Kn)(e)&&("direction"in e||"cursor"in e)){let{cursor:t,direction:r,...i}=e;return[n,{input:i,type:"infinite"}]}return[n,{...void 0!==e&&e!==s.CN&&{input:e},...r&&"any"!==r&&{type:r}}]}function a(t){return u(t,void 0,"any")}var c=r(57224);let l=["client","ssrContext","ssrState","abortOnUnmount"],h=c.createContext?.(null),f=t=>{switch(t){case"fetch":case"ensureData":case"prefetch":case"getData":case"setData":case"setQueriesData":return"query";case"fetchInfinite":case"prefetchInfinite":case"getInfiniteData":case"setInfiniteData":return"infinite";case"setMutationDefaults":case"getMutationDefaults":case"isMutating":case"cancel":case"invalidate":case"refetch":case"reset":return"any"}};var d=r(97808),p=r(9786),y=r(79189),m=r(45204),b=r(39958),g=class extends m.l{constructor(t,e){super(),this.options=e,this.#p=t,this.#y=null,this.#m=(0,b.O)(),this.options.experimental_prefetchInRender||this.#m.reject(Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(e)}#p;#b=void 0;#g=void 0;#v=void 0;#w;#O;#m;#y;#R;#C;#S;#E;#Q;#P;#q=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#b.addObserver(this),v(this.#b,this.options)?this.#x():this.updateResult(),this.#D())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return w(this.#b,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return w(this.#b,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#I(),this.#F(),this.#b.removeObserver(this)}setOptions(t,e){let r=this.options,n=this.#b;if(this.options=this.#p.defaultQueryOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,s.Nc)(this.options.enabled,this.#b))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#_(),this.#b.setOptions(this.options),r._defaulted&&!(0,s.VS)(this.options,r)&&this.#p.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#b,observer:this});let i=this.hasListeners();i&&O(this.#b,n,this.options,r)&&this.#x(),this.updateResult(e),i&&(this.#b!==n||(0,s.Nc)(this.options.enabled,this.#b)!==(0,s.Nc)(r.enabled,this.#b)||(0,s.KC)(this.options.staleTime,this.#b)!==(0,s.KC)(r.staleTime,this.#b))&&this.#T();let o=this.#M();i&&(this.#b!==n||(0,s.Nc)(this.options.enabled,this.#b)!==(0,s.Nc)(r.enabled,this.#b)||o!==this.#P)&&this.#k(o)}getOptimisticResult(t){let e=this.#p.getQueryCache().build(this.#p,t),r=this.createResult(e,t);return(0,s.VS)(this.getCurrentResult(),r)||(this.#v=r,this.#O=this.options,this.#w=this.#b.state),r}getCurrentResult(){return this.#v}trackResult(t,e){let r={};return Object.keys(t).forEach(n=>{Object.defineProperty(r,n,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(n),e?.(n),t[n])})}),r}trackProp(t){this.#q.add(t)}getCurrentQuery(){return this.#b}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){let e=this.#p.defaultQueryOptions(t),r=this.#p.getQueryCache().build(this.#p,e);return r.fetch().then(()=>this.createResult(r,e))}fetch(t){return this.#x({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#v))}#x(t){this.#_();let e=this.#b.fetch(this.options,t);return t?.throwOnError||(e=e.catch(s.ZT)),e}#T(){this.#I();let t=(0,s.KC)(this.options.staleTime,this.#b);if(s.sk||this.#v.isStale||!(0,s.PN)(t))return;let e=(0,s.Kp)(this.#v.dataUpdatedAt,t);
1this.#E=setTimeout(()=>{this.#v.isStale||this.updateResult()},e+1)}#M(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#b):this.options.refetchInterval)??!1}#k(t){this.#F(),this.#P=t,!s.sk&&!1!==(0,s.Nc)(this.options.enabled,this.#b)&&(0,s.PN)(this.#P)&&0!==this.#P&&(this.#Q=setInterval(()=>{(this.options.refetchIntervalInBackground||d.j.isFocused())&&this.#x()},this.#P))}#D(){this.#T(),this.#k(this.#M())}#I(){this.#E&&(clearTimeout(this.#E),this.#E=void 0)}#F(){this.#Q&&(clearInterval(this.#Q),this.#Q=void 0)}createResult(t,e){let r;let n=this.#b,i=this.options,o=this.#v,u=this.#w,a=this.#O,c=t!==n?t.state:this.#g,{state:l}=t,h={...l},f=!1;if(e._optimisticResults){let r=this.hasListeners(),s=!r&&v(t,e),o=r&&O(t,n,e,i);(s||o)&&(h={...h,...(0,y.z)(l.data,t.options)}),"isRestoring"===e._optimisticResults&&(h.fetchStatus="idle")}let{error:d,errorUpdatedAt:p,status:m}=h;if(e.select&&void 0!==h.data){if(o&&h.data===u?.data&&e.select===this.#R)r=this.#C;else try{this.#R=e.select,r=e.select(h.data),r=(0,s.oE)(o?.data,r,e),this.#C=r,this.#y=null}catch(t){this.#y=t}}else r=h.data;if(void 0!==e.placeholderData&&void 0===r&&"pending"===m){let t;if(o?.isPlaceholderData&&e.placeholderData===a?.placeholderData)t=o.data;else if(t="function"==typeof e.placeholderData?e.placeholderData(this.#S?.state.data,this.#S):e.placeholderData,e.select&&void 0!==t)try{t=e.select(t),this.#y=null}catch(t){this.#y=t}void 0!==t&&(m="success",r=(0,s.oE)(o?.data,t,e),f=!0)}this.#y&&(d=this.#y,r=this.#C,p=Date.now(),m="error");let g="fetching"===h.fetchStatus,w="pending"===m,C="error"===m,S=w&&g,E=void 0!==r,Q={status:m,fetchStatus:h.fetchStatus,isPending:w,isSuccess:"success"===m,isError:C,isInitialLoading:S,isLoading:S,data:r,dataUpdatedAt:h.dataUpdatedAt,error:d,errorUpdatedAt:p,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>c.dataUpdateCount||h.errorUpdateCount>c.errorUpdateCount,isFetching:g,isRefetching:g&&!w,isLoadingError:C&&!E,isPaused:"paused"===h.fetchStatus,isPlaceholderData:f,isRefetchError:C&&E,isStale:R(t,e),refetch:this.refetch,promise:this.#m};if(this.options.experimental_prefetchInRender){let e=t=>{"error"===Q.status?t.reject(Q.error):void 0!==Q.data&&t.resolve(Q.data)},r=()=>{e(this.#m=Q.promise=(0,b.O)())},i=this.#m;switch(i.status){case"pending":t.queryHash===n.queryHash&&e(i);break;case"fulfilled":("error"===Q.status||Q.data!==i.value)&&r();break;case"rejected":("error"!==Q.status||Q.error!==i.reason)&&r()}}return Q}updateResult(t){let e=this.#v,r=this.createResult(this.#b,this.options);if(this.#w=this.#b.state,this.#O=this.options,void 0!==this.#w.data&&(this.#S=this.#b),(0,s.VS)(r,e))return;this.#v=r;let n={};t?.listeners!==!1&&(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#q.size)return!0;let n=new Set(r??this.#q);return this.options.throwOnError&&n.add("error"),Object.keys(this.#v).some(t=>this.#v[t]!==e[t]&&n.has(t))})()&&(n.listeners=!0),this.#j({...n,...t})}#_(){let t=this.#p.getQueryCache().build(this.#p,this.options);if(t===this.#b)return;let e=this.#b;this.#b=t,this.#g=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#D()}#j(t){p.V.batch(()=>{t.listeners&&this.listeners.forEach(t=>{t(this.#v)}),this.#p.getQueryCache().notify({query:this.#b,type:"observerResultsUpdated"})})}};function v(t,e){return!1!==(0,s.Nc)(e.enabled,t)&&void 0===t.state.data&&!("error"===t.state.status&&!1===e.retryOnMount)||void 0!==t.state.data&&w(t,e,e.refetchOnMount)}function w(t,e,r){if(!1!==(0,s.Nc)(e.enabled,t)){let n="function"==typeof r?r(t):r;return"always"===n||!1!==n&&R(t,e)}return!1}function O(t,e,r,n){return(t!==e||!1===(0,s.Nc)(n.enabled,t))&&(!r.suspense||"error"!==t.state.status)&&R(t,r)}function R(t,e){return!1!==(0,s.Nc)(e.enabled,t)&&t.isStaleByTime((0,s.KC)(e.staleTime,t))}var C=r(86463);r(11545);var S=c.createContext((n=!1,{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n})),E=()=>c.useContext(S);function Q(t,e){return"function"==typeof t?t(...e):!!t}function P(){}var q=(t,e)=>
1{(t.suspense||t.throwOnError)&&!e.isReset()&&(t.retryOnMount=!1)},x=t=>{c.useEffect(()=>{t.clearReset()},[t])},D=t=>{let{result:e,errorResetBoundary:r,throwOnError:n,query:i}=t;return e.isError&&!r.isReset()&&!e.isFetching&&i&&Q(n,[e.error,i])},I=c.createContext(!1),F=()=>c.useContext(I);I.Provider;var _=(t,e)=>void 0===e.state.data,T=t=>{t.suspense&&(void 0===t.staleTime&&(t.staleTime=1e3),"number"==typeof t.gcTime&&(t.gcTime=Math.max(t.gcTime,1e3)))},M=(t,e)=>t.isLoading&&t.isFetching&&!e,k=(t,e)=>t?.suspense&&e.isPending,j=(t,e,r)=>e.fetchOptimistic(t).catch(()=>{r.clearReset()});function U(t,e,r){var n,i,o,u,a;let l=(0,C.NL)(r),h=F(),f=E(),d=l.defaultQueryOptions(t);null===(i=l.getDefaultOptions().queries)||void 0===i||null===(n=i._experimental_beforeQuery)||void 0===n||n.call(i,d),d._optimisticResults=h?"isRestoring":"optimistic",T(d),q(d,f),x(f);let y=!l.getQueryCache().get(d.queryHash),[m]=c.useState(()=>new e(l,d)),b=m.getOptimisticResult(d);if(c.useSyncExternalStore(c.useCallback(t=>{let e=h?()=>void 0:m.subscribe(p.V.batchCalls(t));return m.updateResult(),e},[m,h]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),c.useEffect(()=>{m.setOptions(d,{listeners:!1})},[d,m]),k(d,b))throw j(d,m,f);if(D({result:b,errorResetBoundary:f,throwOnError:d.throwOnError,query:l.getQueryCache().get(d.queryHash)}))throw b.error;if(null===(u=l.getDefaultOptions().queries)||void 0===u||null===(o=u._experimental_afterQuery)||void 0===o||o.call(u,d,b),d.experimental_prefetchInRender&&!s.sk&&M(b,h)){let t=y?j(d,m,f):null===(a=l.getQueryCache().get(d.queryHash))||void 0===a?void 0:a.promise;null==t||t.catch(P).finally(()=>{m.hasListeners()||m.updateResult()})}return d.notifyOnChangeProps?b:m.trackResult(b)}var N=r(98089),A=class extends m.l{#p;#v=void 0;#U;#N;constructor(t,e){super(),this.#p=t,this.setOptions(e),this.bindMethods(),this.#A()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){let e=this.options;this.options=this.#p.defaultMutationOptions(t),(0,s.VS)(this.options,e)||this.#p.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#U,observer:this}),e?.mutationKey&&this.options.mutationKey&&(0,s.Ym)(e.mutationKey)!==(0,s.Ym)(this.options.mutationKey)?this.reset():this.#U?.state.status==="pending"&&this.#U.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#U?.removeObserver(this)}onMutationUpdate(t){this.#A(),this.#j(t)}getCurrentResult(){return this.#v}reset(){this.#U?.removeObserver(this),this.#U=void 0,this.#A(),this.#j()}mutate(t,e){return this.#N=e,this.#U?.removeObserver(this),this.#U=this.#p.getMutationCache().build(this.#p,this.options),this.#U.addObserver(this),this.#U.execute(t)}#A(){let t=this.#U?.state??(0,N.R)();this.#v={...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset}}#j(t){p.V.batch(()=>{if(this.#N&&this.hasListeners()){let e=this.#v.variables,r=this.#v.context;t?.type==="success"?(this.#N.onSuccess?.(t.data,e,r),this.#N.onSettled?.(t.data,null,e,r)):t?.type==="error"&&(this.#N.onError?.(t.error,e,r),this.#N.onSettled?.(void 0,t.error,e,r))}this.listeners.forEach(t=>{t(this.#v)})})}},K=r(23538),L=class extends g{constructor(t,e){super(t,e)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(t,e){super.setOptions({...t,behavior:(0,K.Gm)()},e)}getOptimisticResult(t){return t.behavior=(0,K.Gm)(),super.getOptimisticResult(t)}fetchNextPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"backward"}}})}createResult(t,e){let{state:r}=t,n=super.createResult(t,e),{isFetching:i,isRefetching:s,isError:o,isRefetchError:u}=n,a=r.fetchMeta?.fetchMore?.direction,c=o&&"forward"===a,l=i&&"forward"===a,h=o&&"backward"===a,f=i&&"backward"===a;return{...n,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,K.Qy)(e,r.data),hasPreviousPage:(0,K.ZF)(e,r.data),isFetchNextPageError:c,isFetchingNextPage:l,isFetchPreviousPageError:h,isFetchingPreviousPage:f,isRefetchError:u&&!c&&!h,isRefetching:s&&!l&&!f}}};function H(t,e){return t.filter(t=>!e.includes(t))}var V=class extends m.l{#p;#K;#L;#H;#n;#V;#z;#G;constructor(t,e,r){super(),this.#p=t,this.#H=r,this.#L=[],this.#n=[],this.#K=[],this.setQueries(e)}
1onSubscribe(){1===this.listeners.size&&this.#n.forEach(t=>{t.subscribe(e=>{this.#$(t,e)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#n.forEach(t=>{t.destroy()})}setQueries(t,e,r){this.#L=t,this.#H=e,p.V.batch(()=>{let t=this.#n,e=this.#B(this.#L);e.forEach(t=>t.observer.setOptions(t.defaultedQueryOptions,r));let n=e.map(t=>t.observer),i=n.map(t=>t.getCurrentResult()),s=n.some((e,r)=>e!==t[r]);(t.length!==n.length||s)&&(this.#n=n,this.#K=i,this.hasListeners()&&(H(t,n).forEach(t=>{t.destroy()}),H(n,t).forEach(t=>{t.subscribe(e=>{this.#$(t,e)})}),this.#j()))})}getCurrentResult(){return this.#K}getQueries(){return this.#n.map(t=>t.getCurrentQuery())}getObservers(){return this.#n}getOptimisticResult(t,e){let r=this.#B(t),n=r.map(t=>t.observer.getOptimisticResult(t.defaultedQueryOptions));return[n,t=>this.#W(t??n,e),()=>r.map((t,e)=>{let i=n[e];return t.defaultedQueryOptions.notifyOnChangeProps?i:t.observer.trackResult(i,t=>{r.forEach(e=>{e.observer.trackProp(t)})})})]}#W(t,e){return e?(this.#V&&this.#K===this.#G&&e===this.#z||(this.#z=e,this.#G=this.#K,this.#V=(0,s.Q$)(this.#V,e(t))),this.#V):t}#B(t){let e=new Map(this.#n.map(t=>[t.options.queryHash,t])),r=[];return t.forEach(t=>{let n=this.#p.defaultQueryOptions(t),i=e.get(n.queryHash);if(i)r.push({defaultedQueryOptions:n,observer:i});else{let t=this.#n.find(t=>t.options.queryHash===n.queryHash);r.push({defaultedQueryOptions:n,observer:t??new g(this.#p,n)})}}),r.sort((e,r)=>t.findIndex(t=>t.queryHash===e.defaultedQueryOptions.queryHash)-t.findIndex(t=>t.queryHash===r.defaultedQueryOptions.queryHash))}#$(t,e){let r=this.#n.indexOf(t);-1!==r&&(this.#K=function(t,e,r){let n=t.slice(0);return n[e]=r,n}(this.#K,r,e),this.#j())}#j(){this.hasListeners()&&this.#V!==this.#W(this.#K,this.#H?.combine)&&p.V.batch(()=>{this.listeners.forEach(t=>{t(this.#K)})})}};function z(t,e){let{queries:r,...n}=t,i=(0,C.NL)(e),s=F(),o=E(),u=c.useMemo(()=>r.map(t=>{let e=i.defaultQueryOptions(t);return e._optimisticResults=s?"isRestoring":"optimistic",e}),[r,i,s]);u.forEach(t=>{T(t),q(t,o)}),x(o);let[a]=c.useState(()=>new V(i,u,n)),[l,h,f]=a.getOptimisticResult(u,n.combine);c.useSyncExternalStore(c.useCallback(t=>s?()=>void 0:a.subscribe(p.V.batchCalls(t)),[a,s]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),c.useEffect(()=>{a.setQueries(u,n,{listeners:!1})},[u,n,a]);let d=l.some((t,e)=>k(u[e],t))?l.flatMap((t,e)=>{let r=u[e];if(r){let e=new g(i,r);if(k(r,t))return j(r,e,o);M(t,s)&&j(r,e,o)}return[]}):[];if(d.length>0)throw Promise.all(d);let y=l.find((t,e)=>{let r=u[e];return r&&D({result:t,errorResetBoundary:o,throwOnError:r.throwOnError,query:i.getQueryCache().get(r.queryHash)})});if(null==y?void 0:y.error)throw y.error;return h(f())}function G(t,e,r){let n=t[0],i=t[1]?.input;return r&&(i={...i??{},...r.pageParam?{cursor:r.pageParam}:{},direction:r.direction}),[n.join("."),i,e?.trpc]}function $(t){let e=t.path.join(".");return c.useMemo(()=>({path:e}),[e])}function B(t){return(0,o.IX)(e=>{let r=e.path,n=r.join("."),[i,s]=e.args;return{queryKey:u(r,i,"query"),queryFn:()=>t.query(n,i,s?.trpc),...s}})}function W(t){return function(t){let e=(0,o.IX)(({path:e,args:r})=>{let n=[...e],i=n.pop();if("useMutation"===i)return t[i](n,...r);if("_def"===i)return{path:n};let[s,...o]=r,u=o[0]||{};return t[i](n,s,u)});return(0,o.yh)(r=>"useContext"===r||"useUtils"===r?()=>{let e=t.useUtils();return c.useMemo(()=>(function(t){let e=(0,i.Bm)(t.client),r=(0,o.IX)(e=>{let r=[...e.path],n=r.pop(),i=[...e.args],s=i.shift(),o=u(r,s,f(n));return({fetch:()=>t.fetchQuery(o,...i),fetchInfinite:()=>t.fetchInfiniteQuery(o,i[0]),prefetch:()=>t.prefetchQuery(o,...i),prefetchInfinite:()=>t.prefetchInfiniteQuery(o,i[0]),ensureData:()=>t.ensureQueryData(o,...i),invalidate:()=>t.invalidateQueries(o,...i),reset:()=>t.resetQueries(o,...i),refetch:()=>t.refetchQueries(o,...i),cancel:()=>t.cancelQuery(o,...i),setData:()=>{t.setQueryData(o,i[0],i[1])},setQueriesData:()=>t.setQueriesData(o,i[0],i[1],i[2]),setInfiniteData:()=>{t.setInfiniteQueryData(o,i[0],i[1])},getData:()=>t.getQueryData(o),getInfiniteData:()=>t.getInfiniteQueryData(o),setMutationDefaults:()=>t.setMutationDefaults(a(r),s),getMutationDefaults:()=>t.getMutationDefaults(a(r)),isMutating:()=>t.isMutating({mutationKey:a(r)})})[n]()});return(0,o.yh)(n=>"client"===n?e:l.includes(n)?t[n]:r[n])})(e),[e])}:t.hasOwnProperty(r)?t[r]:e[r])}(function(t){let e=t?.overrides?.useMutation?.onSuccess??(t=>t.originalFn()),r=t?.context??h;function n(){let t=c.useContext(r);if(!t)throw Error("Unable to find tRPC Context. Did you forget to wrap your Ap
1p inside `withTRPC` HoC?");return t}function l(t,e){let{queryClient:r,ssrState:i}=n();return i&&"mounted"!==i&&r.getQueryCache().find({queryKey:t})?.state.status==="error"?{retryOnMount:!1,...e}:e}return{Provider:t=>{let{abortOnUnmount:e=!1,client:n,queryClient:s,ssrContext:o}=t,[u,a]=c.useState(t.ssrState??!1),l=c.useMemo(()=>(function(t){let{client:e,queryClient:r}=t,n=e instanceof i.NT?e:(0,i.ny)(e);return{fetchQuery:(t,e)=>r.fetchQuery({...e,queryKey:t,queryFn:()=>n.query(...G(t,e))}),fetchInfiniteQuery:(t,e)=>r.fetchInfiniteQuery({...e,queryKey:t,queryFn:({pageParam:r,direction:i})=>n.query(...G(t,e,{pageParam:r,direction:i})),initialPageParam:e?.initialCursor??null}),prefetchQuery:(t,e)=>r.prefetchQuery({...e,queryKey:t,queryFn:()=>n.query(...G(t,e))}),prefetchInfiniteQuery:(t,e)=>r.prefetchInfiniteQuery({...e,queryKey:t,queryFn:({pageParam:r,direction:i})=>n.query(...G(t,e,{pageParam:r,direction:i})),initialPageParam:e?.initialCursor??null}),ensureQueryData:(t,e)=>r.ensureQueryData({...e,queryKey:t,queryFn:()=>n.query(...G(t,e))}),invalidateQueries:(t,e,n)=>r.invalidateQueries({...e,queryKey:t},n),resetQueries:(t,e,n)=>r.resetQueries({...e,queryKey:t},n),refetchQueries:(t,e,n)=>r.refetchQueries({...e,queryKey:t},n),cancelQuery:(t,e)=>r.cancelQueries({queryKey:t},e),setQueryData:(t,e,n)=>r.setQueryData(t,e,n),setQueriesData:(t,e,n,i)=>r.setQueriesData({...e,queryKey:t},n,i),getQueryData:t=>r.getQueryData(t),setInfiniteQueryData:(t,e,n)=>r.setQueryData(t,e,n),getInfiniteQueryData:t=>r.getQueryData(t),setMutationDefaults:(e,i)=>{let s=e[0];return r.setMutationDefaults(e,"function"==typeof i?i({canonicalMutationFn:e=>n.mutation(...G([s,{input:e}],t))}):i)},getMutationDefaults:t=>r.getMutationDefaults(t),isMutating:t=>r.isMutating({...t,exact:!0})}})({client:n,queryClient:s}),[n,s]),h=c.useMemo(()=>({abortOnUnmount:e,queryClient:s,client:n,ssrContext:o??null,ssrState:u,...l}),[e,n,l,s,o,u]);return c.useEffect(()=>{a(t=>!!t&&"mounted")},[]),c.createElement(r.Provider,{value:h},t.children)},createClient:t=>(0,i.fE)(t),useContext:n,useUtils:n,useQuery:function(e,r,i){let{abortOnUnmount:a,client:c,ssrState:h,queryClient:f,prefetchQuery:d}=n(),p=u(e,r,"query"),y=f.getQueryDefaults(p),m=r===s.CN;"undefined"!=typeof window||"prepass"!==h||i?.trpc?.ssr===!1||(i?.enabled??y?.enabled)===!1||m||f.getQueryCache().find({queryKey:p})||d(p,i);let b=l(p,{...y,...i}),v=i?.trpc?.abortOnUnmount??t?.abortOnUnmount??a,w=U({...b,queryKey:p,queryFn:m?r:async t=>{let e={...b,trpc:{...b?.trpc,...v?{signal:t.signal}:{signal:null}}},r=await c.query(...G(p,e));if((0,o.D0)(r)){let t=f.getQueryCache().build(f,{queryKey:p});t.setState({data:[],status:"success"});let e=[];for await(let n of r)e.push(n),t.setState({data:[...e]});return e}return r}},g,f);return w.trpc=$({path:e}),w},usePrefetchQuery:function(e,r,i){let o=n(),a=u(e,r,"query"),c=r===s.CN,l=i?.trpc?.abortOnUnmount??t?.abortOnUnmount??o.abortOnUnmount;!function(t,e){let r=(0,C.NL)(void 0);r.getQueryState(t.queryKey)||r.prefetchQuery(t)}({...i,queryKey:a,queryFn:c?r:t=>{let e={trpc:{...l?{signal:t.signal}:{}}};return o.client.query(...G(a,e))}})},useSuspenseQuery:function(e,r,i){var s,o;let a=n(),c=u(e,r,"query"),l=i?.trpc?.abortOnUnmount??t?.abortOnUnmount??a.abortOnUnmount,h=(s={...i,queryKey:c,queryFn:t=>{let e={trpc:{...l?{signal:t.signal}:{signal:null}}};return a.client.query(...G(c,e))}},o=a.queryClient,U({...s,enabled:!0,suspense:!0,throwOnError:_,placeholderData:void 0},g,o));return h.trpc=$({path:e}),[h.data,h]},useQueries:t=>{let{ssrState:e,queryClient:r,prefetchQuery:i,client:s}=n(),o=t(B(s));if("undefined"==typeof window&&"prepass"===e)for(let t of o)t.trpc?.ssr===!1||r.getQueryCache().find({queryKey:t.queryKey})||i(t.queryKey,t);return z({queries:o.map(t=>({...t,queryKey:t.queryKey}))},r)},useSuspenseQueries:t=>{var e;let{queryClient:r,client:i}=n(),s=z({...e={queries:t(B(i)).map(t=>({...t,queryKey:t.queryKey}))},queries:e.queries.map(t=>({...t,suspense:!0,throwOnError:_,enabled:!0,placeholderData:void 0}))},r);return[s.map(t=>t.data),s]},useMutation:function(t,r){let{client:i,queryClient:s}=n(),o=a(t),u=s.defaultMutationOptions(s.getMutationDefaults(o)),l=function(t,e){let r=(0,C.NL)(e),[n]=c.useState(()=>new A(r,t));c.useEffect(()=>{n.setOptions(t)},[n,t]);let i=c.useSyncExternalStore(c.useCallback(t=>n.subscribe(p.V.batchCalls(t)),[n]),()=>n.getCurrentResult(),()=>n.getCurrentResult()),s=c.useCallback((t,e)=>{n.mutate(t,e).catch(P)},[n]);if(i.error&&Q(n.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:s,mutateAsync:i.mutate}}({...r,mutationKey:o,mutationFn:e=>
1i.mutation(...G([t,{input:e}],r)),onSuccess:(...t)=>e({originalFn:()=>r?.onSuccess?.(...t)??u?.onSuccess?.(...t),queryClient:s,meta:r?.meta??u?.meta??{}})},s);return l.trpc=$({path:t}),l},useSubscription:function(t,e,r){let i=r?.enabled??e!==s.CN,o=(0,s.Ym)(u(t,e,"any")),{client:a}=n(),l=c.useRef(r);l.current=r,c.useEffect(()=>{if(!i)return;let r=!1,n=a.subscription(t.join("."),e??void 0,{onStarted:()=>{r||l.current.onStarted?.()},onData:t=>{r||l.current.onData(t)},onError:t=>{r||l.current.onError?.(t)}});return()=>{r=!0,n.unsubscribe()}},[o,i])},useInfiniteQuery:function(t,e,r){let{client:i,ssrState:o,prefetchInfiniteQuery:a,queryClient:c,abortOnUnmount:h}=n(),f=u(t,e,"infinite"),d=c.getQueryDefaults(f),p=e===s.CN;"undefined"!=typeof window||"prepass"!==o||r?.trpc?.ssr===!1||(r?.enabled??d?.enabled)===!1||p||c.getQueryCache().find({queryKey:f})||a(f,{...d,...r});let y=l(f,{...d,...r}),m=r?.trpc?.abortOnUnmount??h,b=U({...y,initialPageParam:r.initialCursor??null,persister:r.persister,queryKey:f,queryFn:p?e:t=>{let e={...y,trpc:{...y?.trpc,...m?{signal:t.signal}:{signal:null}}};return i.query(...G(f,e,{pageParam:t.pageParam??r.initialCursor,direction:t.direction}))}},L,c);return b.trpc=$({path:t}),b},usePrefetchInfiniteQuery:function(t,e,r){let i=n(),o=u(t,e,"infinite"),a=i.queryClient.getQueryDefaults(o),c=e===s.CN,h=l(o,{...a,...r}),f=r?.trpc?.abortOnUnmount??i.abortOnUnmount;!function(t,e){let r=(0,C.NL)(void 0);r.getQueryState(t.queryKey)||r.prefetchInfiniteQuery(t)}({...r,initialPageParam:r.initialCursor??null,queryKey:o,queryFn:c?e:t=>{let e={...h,trpc:{...h?.trpc,...f?{signal:t.signal}:{}}};return i.client.query(...G(o,e,{pageParam:t.pageParam??r.initialCursor,direction:t.direction}))}})},useSuspenseInfiniteQuery:function(t,e,r){var i,s;let o=n(),a=u(t,e,"infinite"),c=o.queryClient.getQueryDefaults(a),h=l(a,{...c,...r}),f=r?.trpc?.abortOnUnmount??o.abortOnUnmount,d=(i={...r,initialPageParam:r.initialCursor??null,queryKey:a,queryFn:t=>{let e={...h,trpc:{...h?.trpc,...f?{signal:t.signal}:{}}};return o.client.query(...G(a,e,{pageParam:t.pageParam??r.initialCursor,direction:t.direction}))}},s=o.queryClient,U({...i,enabled:!0,suspense:!0,throwOnError:_},L,s));return d.trpc=$({path:t}),[d.data,d]}}}(t))}},19499:function(t,e,r){var n,i;r.d(e,{yh:function(){return a},IX:function(){return u},D0:function(){return d},Kn:function(){return l},F7:function(){return v}});let s=()=>{},o=t=>{Object.freeze&&Object.freeze(t)},u=t=>(function t(e,r,u){let a=r.join(".");return(n=u)[i=a]??(n[i]=new Proxy(s,{get(n,i){if("string"==typeof i&&"then"!==i)return t(e,[...r,i],u)},apply(t,n,i){let s=r[r.length-1],u={args:i,path:r};return"call"===s?u={args:i.length>=2?[i[1]]:[],path:r.slice(0,-1)}:"apply"===s&&(u={args:i.length>=2?i[1]:[],path:r.slice(0,-1)}),o(u.args),o(u.path),e(u)}})),u[a]})(t,[],Object.create(null)),a=t=>new Proxy(s,{get(e,r){if("string"==typeof r&&"then"!==r)return t(r)}});function c(t,...e){let r=Object.assign(Object.create(null),t);for(let t of e)for(let e in t){if(e in r&&r[e]!==t[e])throw Error(`Duplicate key ${e}`);r[e]=t[e]}return r}function l(t){return!!t&&!Array.isArray(t)&&"object"==typeof t}function h(t){return Object.assign(Object.create(null),t)}Symbol();let f="function"==typeof Symbol&&!!Symbol.asyncIterator;function d(t){return f&&l(t)&&Symbol.asyncIterator in t}
1class p extends Error{}function y(t){if(t instanceof m||t instanceof Error&&"TRPCError"===t.name)return t;let e=new m({code:"INTERNAL_SERVER_ERROR",cause:t});return t instanceof Error&&t.stack&&(e.stack=t.stack),e}class m extends Error{constructor(t){let e=function(t){if(t instanceof Error)return t;let e=typeof t;if("undefined"!==e&&"function"!==e&&null!==t){if("object"!==e)return Error(String(t));if(l(t)){let e=new p;for(let r in t)e[r]=t[r];return e}}}(t.cause);super(t.message??e?.message??t.code,{cause:e}),this.code=t.code,this.name="TRPCError",this.cause||(this.cause=e)}}Symbol(),Symbol(),Symbol("ping");let b={input:{serialize:t=>t,deserialize:t=>t},output:{serialize:t=>t,deserialize:t=>t}};class g extends Error{constructor(){super("Unable to transform response from server")}}function v(t,e){let r;try{r=function(t,e){if("error"in t){let r=e.deserialize(t.error);return{ok:!1,error:{...t,error:r}}}return{ok:!0,result:{...t.result,...(!t.result.type||"data"===t.result.type)&&{type:"data",data:e.deserialize(t.result.data)}}}}(t,e)}catch(t){throw new g}if(!r.ok&&(!l(r.error.error)||"number"!=typeof r.error.error.code)||r.ok&&!l(r.result))throw new g;return r}let w=({shape:t})=>t,O="middlewareMarker";function R(t){if("function"==typeof t&&"function"==typeof t.assert)return t.assert.bind(t);if("function"==typeof t)return t;if("function"==typeof t.parseAsync)return t.parseAsync.bind(t);if("function"==typeof t.parse)return t.parse.bind(t);if("function"==typeof t.validateSync)return t.validateSync.bind(t);if("function"==typeof t.create)return t.create.bind(t);if("function"==typeof t.assert)return e=>(t.assert(e),e);throw Error("Could not find a validator fn")}function C(t,e){let{middlewares:r=[],inputs:n,meta:i,...s}=e;return S({...c(t,s),inputs:[...t.inputs,...n??[]],middlewares:[...t.middlewares,...r],meta:t.meta&&i?{...t.meta,...i}:i??t.meta})}function S(t={}){let e={procedure:!0,inputs:[],middlewares:[],...t};return{_def:e,input(t){let r=R(t);return C(e,{inputs:[t],middlewares:[function(t){let e=async function(e){let r;let n=await e.getRawInput();try{r=await t(n)}catch(t){throw new m({code:"BAD_REQUEST",cause:t})}let i=l(e.input)&&l(r)?{...e.input,...r}:r;return e.next({input:i})};return e._type="input",e}(r)]})},output(t){let r=R(t);return C(e,{output:t,middlewares:[function(t){let e=async function({next:e}){let r=await e();if(!r.ok)return r;try{let e=await t(r.data);return{...r,data:e}}catch(t){throw new m({message:"Output validation failed",code:"INTERNAL_SERVER_ERROR",cause:t})}};return e._type="output",e}(r)]})},meta:t=>C(e,{meta:t}),use:t=>C(e,{middlewares:"_middlewares"in t?t._middlewares:[t]}),unstable_concat:t=>C(e,t._def),query:t=>E({...e,type:"query"},t),mutation:t=>E({...e,type:"mutation"},t),subscription:t=>E({...e,type:"subscription"},t),experimental_caller:t=>C(e,{caller:t})}}function E(t,e){let r=C(t,{resolver:e,middlewares:[async function(t){return{marker:O,ok:!0,data:await e(t),ctx:t.ctx}}]}),n={...r._def,type:t.type,experimental_caller:!!r._def.caller,meta:r._def.meta,$types:null},i=function(t){async function e(e){if(!e||!("getRawInput"in e))throw Error(Q);let r=await P(0,t,e);if(!r)throw new m({code:"INTERNAL_SERVER_ERROR",message:"No result from middlewares - did you forget to `return next()`?"});if(!r.ok)throw r.error;return r.data}return e._def=t,e}(r._def),s=r._def.caller;if(!s)return i;let o=async(...t)=>await s({args:t,invoke:i,_def:n});return o._def=n,o}let Q=`
2This is a client-only function.
3If you want to call this function on the server, see https://trpc.io/docs/v11/server/server-side-calls
4`.trim();async function P(t,e,r){try{let n=e.middlewares[t];return await n({...r,meta:e.meta,input:r.input,next:n=>P(t+1,e,{...r,ctx:n?.ctx?{...r.ctx,...n.ctx}:r.ctx,input:n&&"input"in n?n.input:r.input,getRawInput:n?.getRawInput??r.getRawInput})})}catch(t){return{ok:!1,error:y(t),marker:O}}}let q="undefined"==typeof window||"Deno"in window||globalThis.process?.env?.NODE_ENV==="test"||!!globalThis.process?.env?.JEST_WORKER_ID||!!globalThis.process?.env?.VITEST_WORKER_ID,x={_ctx:null,_errorShape:null,_meta:null,queries:{},mutations:{},subscriptions:{},errorFormatter:w,transformer:b},D=["then","call","apply"];function I(t){return function(e){let r=new Set(Object.keys(e).filter(t=>D.includes(t)));if(r.size>0)throw Error("Reserved words used in `router({})` call: "+Array.from(r).join(", "));let n=h({}),i=function t(e,r=[]){let i=h({});for(let[s,o]of Object.entries(e??{})){if(o._def&&"router"in o._def){i[s]=t(o._def.record,[...r,s]);continue}if("function"!=typeof o){i[s]=t(o,[...r,s]);continue}let e=[...r,s].join(".");if(n[e])throw Error(`Duplicate key: ${e}`);n[e]=o,i[s]=o}return i}
4(e),s={_config:t,router:!0,procedures:n,...x,record:i};return{...i,_def:s,createCaller:F()({_def:s})}}}function F(){return function(t){let e=t._def;return function(t,r){return u(async({path:n,args:i})=>{let s;let o=n.join(".");if(1===n.length&&"_def"===n[0])return e;let u=e.procedures[o];try{return s="function"==typeof t?await Promise.resolve(t()):t,await u({path:o,getRawInput:async()=>i[0],ctx:s,type:u._def.type,signal:r?.signal})}catch(t){throw r?.onError?.({ctx:s,error:y(t),input:i[0],path:o,type:u._def.type}),t}})}}}function _(...t){let e=c({},...t.map(t=>t._def.record));return I({errorFormatter:t.reduce((t,e)=>{if(e._def._config.errorFormatter&&e._def._config.errorFormatter!==w){if(t!==w&&t!==e._def._config.errorFormatter)throw Error("You seem to have several error formatters");return e._def._config.errorFormatter}return t},w),transformer:t.reduce((t,e)=>{if(e._def._config.transformer&&e._def._config.transformer!==b){if(t!==b&&t!==e._def._config.transformer)throw Error("You seem to have several transformers");return e._def._config.transformer}return t},b),isDev:t.every(t=>t._def._config.isDev),allowOutsideOfServer:t.every(t=>t._def._config.allowOutsideOfServer),isServer:t.every(t=>t._def._config.isServer),$types:t[0]?._def._config.$types})(e)}class T{context(){return new T}meta(){return new T}create(t){var e;let r={transformer:"input"in(e=t?.transformer??b)?e:{input:e,output:e},isDev:t?.isDev??globalThis.process?.env.NODE_ENV!=="production",allowOutsideOfServer:t?.allowOutsideOfServer??!1,errorFormatter:t?.errorFormatter??w,isServer:t?.isServer??q,$types:null,experimental:t?.experimental??{}};if(!(t?.isServer??q)&&t?.allowOutsideOfServer!==!0)throw Error("You're trying to use @trpc/server in a non-server environment. This is not supported by default.");return{_config:r,procedure:S({meta:t?.defaultMeta}),middleware:function(t){return function t(e){return{_middlewares:e,unstable_pipe:r=>t([...e,..."_middlewares"in r?r._middlewares:[r]])}}([t])},router:I(r),mergeRouters:_,createCallerFactory:F()}}}new T}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.