PageSourceSearch

https://ee0a2c2e-356f-44db-b964-5ce2aee1a08e.netlify.app/_next/static/chunks/613-e4ebf44f0836ec54.js

js ee0a2c2e-356f-44db-b964-5ce2aee1a08e.netlify.app collected 2026-10-03 10:41:10 UTC 92,824 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[613],{1198:t=>{t.exports={style:{fontFamily:"'Geist', 'Geist Fallback'",fontStyle:"normal"},className:"__className_188709",variable:"__variable_188709"}},1452:(t,e,i)=>{"use strict";i.d(e,{E:()=>I});var s="undefined"==typeof window||"Deno"in globalThis;function n(){}function r(t,e){return"function"==typeof t?t(e):t}function a(t,e){let{type:i="all",exact:s,fetchStatus:n,predicate:r,queryKey:a,stale:o}=t;if(a){if(s){if(e.queryHash!==l(a,e.options))return!1}else if(!h(e.queryKey,a))return!1}if("all"!==i){let t=e.isActive();if("active"===i&&!t||"inactive"===i&&t)return!1}return("boolean"!=typeof o||e.isStale()===o)&&(!n||n===e.state.fetchStatus)&&(!r||!!r(e))}function o(t,e){let{exact:i,status:s,predicate:n,mutationKey:r}=t;if(r){if(!e.options.mutationKey)return!1;if(i){if(u(e.options.mutationKey)!==u(r))return!1}else if(!h(e.options.mutationKey,r))return!1}return(!s||e.state.status===s)&&(!n||!!n(e))}function l(t,e){return(e?.queryKeyHashFn||u)(t)}function u(t){return JSON.stringify(t,(t,e)=>d(e)?Object.keys(e).sort().reduce((t,i)=>(t[i]=e[i],t),{}):e)}function h(t,e){return t===e||typeof t==typeof e&&!!t&&!!e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).every(i=>h(t[i],e[i]))}function c(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function d(t){if(!p(t))return!1;let e=t.constructor;if(void 0===e)return!0;let i=e.prototype;return!!p(i)&&!!i.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(t)===Object.prototype}function p(t){return"[object Object]"===Object.prototype.toString.call(t)}function f(t,e,i=0){let s=[...t,e];return i&&s.length>i?s.slice(1):s}function m(t,e,i=0){let s=[e,...t];return i&&s.length>i?s.slice(0,-1):s}var y=Symbol();function g(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:t.queryFn&&t.queryFn!==y?t.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${t.queryHash}'`))}var v=t=>setTimeout(t,0),b=function(){let t=[],e=0,i=t=>{t()},s=t=>{t()},n=v,r=s=>{e?t.push(s):n(()=>{i(s)})};return{batch:r=>{let a;e++;try{a=r()}finally{--e||(()=>{let e=t;t=[],e.length&&n(()=>{s(()=>{e.forEach(t=>{i(t)})})})})()}return a},batchCalls:t=>(...e)=>{r(()=>{t(...e)})},schedule:r,setNotifyFunction:t=>{i=t},setBatchNotifyFunction:t=>{s=t},setScheduler:t=>{n=t}}}(),w=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(){}},S=new class extends w{#t;#e;#i;constructor(){super(),this.#i=t=>{if(!s&&window.addEventListener){let e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#e||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#i=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"}},C=new class extends w{#s=!0;#e;#i;constructor(){super(),this.#i=t=>{if(!s&&window.addEventListener){let e=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",i)}}}}onSubscribe(){this.#e||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#i=t,this.#e?.(),this.#e=t(this.setOnline.bind(this))}setOnline(t){this.#s!==t&&(this.#s=t,this.listeners.forEach(e=>{e(t)}))}isOnline(){return this.#s}};function T(t){return Math.min(1e3*2**t,3e4)}function M(t){return(t??"online")!=="online"||C.isOnline()}var x=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function A(t){return t instanceof x}function O(t){let e,i=!1,n=0,r=!1,a=function(){let t,e,i=new Promise((i,s)=>{t=i,e=s});function s(t){Object.assign(i,t),delete i.resolve,delete i.reject}return i.status="pending",i.catch(()=>{}),i.resolve=e=>{s({status:"fulfilled",value:e}),t(e)},i.reject=t=>{s({status:"rejected",reason:t}),e(t)},i}(),o=()=>S.isFocused()&&("always"===t.networkMode||C.isOnline())&&t.canRun(),l=()=>M(t.networkMode)&&t.canRun(),u=i=>{r||(r=!0,t.onSuccess?.(i),e?.(),a.resolve(i))},h=i=>{r||(r=!0,t.onError?.(i),e?.(),a.reject(i))},c=()=>new Promise(i=>{e=t=>{(r||o())&&i(t)},t.onPause?.()}).then(()=>{e=void 0,r||t.onContinue?.()}),d=()=>{let e;if(r)return;let a=0===n?t.initialPromise:void 0;try{e=a??t.fn()}catch(t){e=Promise.reject(t)}Promise.resolve(e).then(u).catch(e=>{if(r)return;let a=t.retry??3*!s,l=t.retryDelay??T,u="function"==typeof l?l(n,e):l,p=!0===a||"number"==typeof a&&n<a||"function"==typeof a&&a(n,e);if(i||!p)return void h(e);n++,t.onFail?.(n,e),new Promise(t=>{setTimeout(t,u)}).then(()=>o()?void 0:c()).then(()=>{i?h(e):d()})})};return{promise:a,cancel:e=>{r||(h(new x(e)),t.abort?.())},continue:()=>
1(e?.(),a),cancelRetry:()=>{i=!0},continueRetry:()=>{i=!1},canStart:l,start:()=>(l()?d():c().then(d),a)}}var P=class{#n;destroy(){this.clearGcTimeout()}scheduleGc(){var t;this.clearGcTimeout(),"number"==typeof(t=this.gcTime)&&t>=0&&t!==1/0&&(this.#n=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(s?1/0:3e5))}clearGcTimeout(){this.#n&&(clearTimeout(this.#n),this.#n=void 0)}},k=class extends P{#r;#a;#o;#l;#u;#h;#c;constructor(t){super(),this.#c=!1,this.#h=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#l=t.client,this.#o=this.#l.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#r=function(t){let e="function"==typeof t.initialData?t.initialData():t.initialData,i=void 0!==e,s=i?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:i?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=t.state??this.#r,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#u?.promise}setOptions(t){this.options={...this.#h,...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#o.remove(this)}setData(t,e){var i,s;let n=(i=this.state.data,"function"==typeof(s=this.options).structuralSharing?s.structuralSharing(i,t):!1!==s.structuralSharing?function t(e,i){if(e===i)return e;let s=c(e)&&c(i);if(s||d(e)&&d(i)){let n=s?e:Object.keys(e),r=n.length,a=s?i:Object.keys(i),o=a.length,l=s?[]:{},u=new Set(n),h=0;for(let n=0;n<o;n++){let r=s?n:a[n];(!s&&u.has(r)||s)&&void 0===e[r]&&void 0===i[r]?(l[r]=void 0,h++):(l[r]=t(e[r],i[r]),l[r]===e[r]&&void 0!==e[r]&&h++)}return r===o&&h===r?e:l}return i}(i,t):t);return this.#d({data:n,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),n}setState(t,e){this.#d({type:"setState",state:t,setStateOptions:e})}cancel(t){let e=this.#u?.promise;return this.#u?.cancel(t),e?e.then(n).catch(n):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#r)}isActive(){return this.observers.some(t=>{var e;return!1!==(e=t.options.enabled,"function"==typeof e?e(this):e)})}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===y||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(t=>"static"===r(t.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(t=0){return void 0===this.state.data||"static"!==t&&(!!this.state.isInvalidated||!Math.max(this.state.dataUpdatedAt+(t||0)-Date.now(),0))}onFocus(){let t=this.observers.find(t=>t.shouldFetchOnWindowFocus());t?.refetch({cancelRefetch:!1}),this.#u?.continue()}onOnline(){let t=this.observers.find(t=>t.shouldFetchOnReconnect());t?.refetch({cancelRefetch:!1}),this.#u?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#o.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(this.#u&&(this.#c?this.#u.cancel({revert:!0}):this.#u.cancelRetry()),this.scheduleGc()),this.#o.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#d({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.#u)return this.#u.continueRetry(),this.#u.promise}if(t&&this.setOptions(t),!this.options.queryFn){let t=this.observers.find(t=>t.options.queryFn);t&&this.setOptions(t.options)}let i=new AbortController,s=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(this.#c=!0,i.signal)}
1)},n=()=>{let t=g(this.options,e),i=(()=>{let t={client:this.#l,queryKey:this.queryKey,meta:this.meta};return s(t),t})();return(this.#c=!1,this.options.persister)?this.options.persister(t,i,this):t(i)},r=(()=>{let t={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:this.#l,state:this.state,fetchFn:n};return s(t),t})();this.options.behavior?.onFetch(r,this),this.#a=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==r.fetchOptions?.meta)&&this.#d({type:"fetch",meta:r.fetchOptions?.meta});let a=t=>{A(t)&&t.silent||this.#d({type:"error",error:t}),A(t)||(this.#o.config.onError?.(t,this),this.#o.config.onSettled?.(this.state.data,t,this)),this.scheduleGc()};return this.#u=O({initialPromise:e?.initialPromise,fn:r.fetchFn,abort:i.abort.bind(i),onSuccess:t=>{if(void 0===t)return void a(Error(`${this.queryHash} data is undefined`));try{this.setData(t)}catch(t){a(t);return}this.#o.config.onSuccess?.(t,this),this.#o.config.onSettled?.(t,this.state.error,this),this.scheduleGc()},onError:a,onFail:(t,e)=>{this.#d({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#d({type:"pause"})},onContinue:()=>{this.#d({type:"continue"})},retry:r.options.retry,retryDelay:r.options.retryDelay,networkMode:r.options.networkMode,canRun:()=>!0}),this.#u.start()}#d(t){let e=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":var i;return{...e,...(i=e.data,{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:M(this.options.networkMode)?"fetching":"paused",...void 0===i&&{error:null,status:"pending"}}),fetchMeta:t.meta??null};case"success":return this.#a=void 0,{...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 s=t.error;if(A(s)&&s.revert&&this.#a)return{...this.#a,fetchStatus:"idle"};return{...e,error:s,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}};this.state=e(this.state),b.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate()}),this.#o.notify({query:this,type:"updated",action:t})})}},F=class extends w{constructor(t={}){super(),this.config=t,this.#p=new Map}#p;build(t,e,i){let s=e.queryKey,n=e.queryHash??l(s,e),r=this.get(n);return r||(r=new k({client:t,queryKey:s,queryHash:n,options:t.defaultQueryOptions(e),state:i,defaultOptions:t.getQueryDefaults(s)}),this.add(r)),r}add(t){this.#p.has(t.queryHash)||(this.#p.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){let e=this.#p.get(t.queryHash);
1e&&(t.destroy(),e===t&&this.#p.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){b.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#p.get(t)}getAll(){return[...this.#p.values()]}find(t){let e={exact:!0,...t};return this.getAll().find(t=>a(e,t))}findAll(t={}){let e=this.getAll();return Object.keys(t).length>0?e.filter(e=>a(t,e)):e}notify(t){b.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){b.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){b.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},V=class extends P{#f;#m;#u;constructor(t){super(),this.mutationId=t.mutationId,this.#m=t.mutationCache,this.#f=[],this.state=t.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},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.#f.includes(t)||(this.#f.push(t),this.clearGcTimeout(),this.#m.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#f=this.#f.filter(e=>e!==t),this.scheduleGc(),this.#m.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#f.length||("pending"===this.state.status?this.scheduleGc():this.#m.remove(this))}continue(){return this.#u?.continue()??this.execute(this.state.variables)}async execute(t){let e=()=>{this.#d({type:"continue"})};this.#u=O({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(Error("No mutationFn found")),onFail:(t,e)=>{this.#d({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#d({type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#m.canRun(this)});let i="pending"===this.state.status,s=!this.#u.canStart();try{if(i)e();else{this.#d({type:"pending",variables:t,isPaused:s}),await this.#m.config.onMutate?.(t,this);let e=await this.options.onMutate?.(t);e!==this.state.context&&this.#d({type:"pending",context:e,variables:t,isPaused:s})}let n=await this.#u.start();return await this.#m.config.onSuccess?.(n,t,this.state.context,this),await this.options.onSuccess?.(n,t,this.state.context),await this.#m.config.onSettled?.(n,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(n,null,t,this.state.context),this.#d({type:"success",data:n}),n}catch(e){try{throw await this.#m.config.onError?.(e,t,this.state.context,this),await this.options.onError?.(e,t,this.state.context),await this.#m.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.#d({type:"error",error:e})}}finally{this.#m.runNext(this)}}#d(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};case"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),b.batch(()=>{this.#f.forEach(e=>{e.onMutationUpdate(t)}),this.#m.notify({mutation:this,type:"updated",action:t})})}},E=class extends w{constructor(t={}){super(),this.config=t,this.#y=new Set,this.#g=new Map,this.#v=0}#y;#g;#v;build(t,e,i){let s=new V({mutationCache:this,mutationId:++this.#v,options:t.defaultMutationOptions(e),state:i});return this.add(s),s}add(t){this.#y.add(t);let e=q(t);if("string"==typeof e){let i=this.#g.get(e);i?i.push(t):this.#g.set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#y.delete(t)){let e=q(t);if("string"==typeof e){let i=this.#g.get(e);if(i)if(i.length>1){let e=i.indexOf(t);-1!==e&&i.splice(e,1)}else i[0]===t&&this.#g.delete(e)}}this.notify({type:"removed",mutation:t})}canRun(t){let e=q(t);if("string"!=typeof e)return!0;{let i=this.#g.get(e),s=i?.find(t=>"pending"===t.state.status);return!s||s===t}}runNext(t){let e=q(t);if("string"!=typeof e)return Promise.resolve();{let i=this.#g.get(e)?.find(e=>
1e!==t&&e.state.isPaused);return i?.continue()??Promise.resolve()}}clear(){b.batch(()=>{this.#y.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#y.clear(),this.#g.clear()})}getAll(){return Array.from(this.#y)}find(t){let e={exact:!0,...t};return this.getAll().find(t=>o(e,t))}findAll(t={}){return this.getAll().filter(e=>o(t,e))}notify(t){b.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){let t=this.getAll().filter(t=>t.state.isPaused);return b.batch(()=>Promise.all(t.map(t=>t.continue().catch(n))))}};function q(t){return t.options.scope?.id}function R(t){return{onFetch:(e,i)=>{let s=e.options,n=e.fetchOptions?.meta?.fetchMore?.direction,r=e.state.data?.pages||[],a=e.state.data?.pageParams||[],o={pages:[],pageParams:[]},l=0,u=async()=>{let i=!1,u=g(e.options,e.fetchOptions),h=async(t,s,n)=>{if(i)return Promise.reject();if(null==s&&t.pages.length)return Promise.resolve(t);let r=(()=>{let t={client:e.client,queryKey:e.queryKey,pageParam:s,direction:n?"backward":"forward",meta:e.options.meta};return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(e.signal.aborted?i=!0:e.signal.addEventListener("abort",()=>{i=!0}),e.signal)}),t})(),a=await u(r),{maxPages:o}=e.options,l=n?m:f;return{pages:l(t.pages,a,o),pageParams:l(t.pageParams,s,o)}};if(n&&r.length){let t="backward"===n,e={pages:r,pageParams:a},i=(t?function(t,{pages:e,pageParams:i}){return e.length>0?t.getPreviousPageParam?.(e[0],e,i[0],i):void 0}:D)(s,e);o=await h(e,i,t)}else{let e=t??r.length;do{let t=0===l?a[0]??s.initialPageParam:D(s,o);if(l>0&&null==t)break;o=await h(o,t),l++}while(l<e)}return o};e.options.persister?e.fetchFn=()=>e.options.persister?.(u,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},i):e.fetchFn=u}}}function D(t,{pages:e,pageParams:i}){let s=e.length-1;return e.length>0?t.getNextPageParam(e[s],e,i[s],i):void 0}var I=class{#b;#m;#h;#w;#S;#C;#T;#M;constructor(t={}){this.#b=t.queryCache||new F,this.#m=t.mutationCache||new E,this.#h=t.defaultOptions||{},this.#w=new Map,this.#S=new Map,this.#C=0}mount(){this.#C++,1===this.#C&&(this.#T=S.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#b.onFocus())}),this.#M=C.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#b.onOnline())}))}unmount(){this.#C--,0===this.#C&&(this.#T?.(),this.#T=void 0,this.#M?.(),this.#M=void 0)}isFetching(t){return this.#b.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#m.findAll({...t,status:"pending"}).length}getQueryData(t){let e=this.defaultQueryOptions({queryKey:t});return this.#b.get(e.queryHash)?.state.data}ensureQueryData(t){let e=this.defaultQueryOptions(t),i=this.#b.build(this,e),s=i.state.data;return void 0===s?this.fetchQuery(t):(t.revalidateIfStale&&i.isStaleByTime(r(e.staleTime,i))&&this.prefetchQuery(e),Promise.resolve(s))}getQueriesData(t){return this.#b.findAll(t).map(({queryKey:t,state:e})=>[t,e.data])}setQueryData(t,e,i){let s=this.defaultQueryOptions({queryKey:t}),n=this.#b.get(s.queryHash),r=n?.state.data,a="function"==typeof e?e(r):e;if(void 0!==a)return this.#b.build(this,s).setData(a,{...i,manual:!0})}setQueriesData(t,e,i){return b.batch(()=>this.#b.findAll(t).map(({queryKey:t})=>[t,this.setQueryData(t,e,i)]))}getQueryState(t){let e=this.defaultQueryOptions({queryKey:t});return this.#b.get(e.queryHash)?.state}removeQueries(t){let e=this.#b;b.batch(()=>{e.findAll(t).forEach(t=>{e.remove(t)})})}resetQueries(t,e){let i=this.#b;return b.batch(()=>(i.findAll(t).forEach(t=>{t.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){let i={revert:!0,...e};return Promise.all(b.batch(()=>this.#b.findAll(t).map(t=>t.cancel(i)))).then(n).catch(n)}invalidateQueries(t,e={}){return b.batch(()=>(this.#b.findAll(t).forEach(t=>{t.invalidate()}),t?.refetchType==="none")?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},e))}refetchQueries(t,e={}){let i={...e,cancelRefetch:e.cancelRefetch??!0};return Promise.all(b.batch(()=>this.#b.findAll(t).filter(t=>!t.isDisabled()&&!t.isStatic()).map(t=>{let e=t.fetch(void 0,i);return i.throwOnError||(e=e.catch(n)),"paused"===t.state.fetchStatus?Promise.resolve():e}))).then(n)}fetchQuery(t){let e=this.defaultQueryOptions(t);void 0===e.retry&&(e.retry=!1);let i=this.#b.build(this,e);return i.isStaleByTime(r(e.staleTime,i))?i.fetch(e):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(n).catch(n)}fetchInfiniteQuery(t){return t.behavior=R(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(n).catch(n)}ensureInfiniteQueryData(t){return t.behavior=R(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return C.isOnline()?this.#m.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#b}getMutationCache(){return this.#m}getDefaultOptions(){return this.#h}setDefaultOptions(t){this.#h=t}setQueryDefaults(t,e){this.#w.set(u(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){let e=[...this.#w.values()],i={};
1return e.forEach(e=>{h(t,e.queryKey)&&Object.assign(i,e.defaultOptions)}),i}setMutationDefaults(t,e){this.#S.set(u(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){let e=[...this.#S.values()],i={};return e.forEach(e=>{h(t,e.mutationKey)&&Object.assign(i,e.defaultOptions)}),i}defaultQueryOptions(t){if(t._defaulted)return t;let e={...this.#h.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=l(e.queryKey,e)),void 0===e.refetchOnReconnect&&(e.refetchOnReconnect="always"!==e.networkMode),void 0===e.throwOnError&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===y&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#h.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#b.clear(),this.#m.clear()}}},1874:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{default:function(){return g},handleClientScriptLoad:function(){return f},initScriptLoader:function(){return m}});let s=i(5532),n=i(4937),r=i(9835),a=s._(i(3914)),o=n._(i(5931)),l=i(4977),u=i(6833),h=i(3133),c=new Map,d=new Set,p=t=>{let{src:e,id:i,onLoad:s=()=>{},onReady:n=null,dangerouslySetInnerHTML:r,children:o="",strategy:l="afterInteractive",onError:h,stylesheets:p}=t,f=i||e;if(f&&d.has(f))return;if(c.has(e)){d.add(f),c.get(e).then(s,h);return}let m=()=>{n&&n(),d.add(f)},y=document.createElement("script"),g=new Promise((t,e)=>{y.addEventListener("load",function(e){t(),s&&s.call(this,e),m()}),y.addEventListener("error",function(t){e(t)})}).catch(function(t){h&&h(t)});r?(y.innerHTML=r.__html||"",m()):o?(y.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):"",m()):e&&(y.src=e,c.set(e,g)),(0,u.setAttributesFromProps)(y,t),"worker"===l&&y.setAttribute("type","text/partytown"),y.setAttribute("data-nscript",l),p&&(t=>{if(a.default.preinit)return t.forEach(t=>{a.default.preinit(t,{as:"style"})});{let e=document.head;t.forEach(t=>{let i=document.createElement("link");i.type="text/css",i.rel="stylesheet",i.href=t,e.appendChild(i)})}})(p),document.body.appendChild(y)};function f(t){let{strategy:e="afterInteractive"}=t;"lazyOnload"===e?window.addEventListener("load",()=>{(0,h.requestIdleCallback)(()=>p(t))}):p(t)}function m(t){t.forEach(f),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(t=>{let e=t.id||t.getAttribute("src");d.add(e)})}function y(t){let{id:e,src:i="",onLoad:s=()=>{},onReady:n=null,strategy:u="afterInteractive",onError:c,stylesheets:f,...m}=t,{updateScripts:y,scripts:g,getIsSsr:v,appDir:b,nonce:w}=(0,o.useContext)(l.HeadManagerContext);w=m.nonce||w;let S=(0,o.useRef)(!1);(0,o.useEffect)(()=>{let t=e||i;S.current||(n&&t&&d.has(t)&&n(),S.current=!0)},[n,e,i]);let C=(0,o.useRef)(!1);if((0,o.useEffect)(()=>{if(!C.current){if("afterInteractive"===u)p(t);else"lazyOnload"===u&&("complete"===document.readyState?(0,h.requestIdleCallback)(()=>p(t)):window.addEventListener("load",()=>{(0,h.requestIdleCallback)(()=>p(t))}));C.current=!0}},[t,u]),("beforeInteractive"===u||"worker"===u)&&(y?(g[u]=(g[u]||[]).concat([{id:e,src:i,onLoad:s,onReady:n,onError:c,...m,nonce:w}]),y(g)):v&&v()?d.add(e||i):v&&!v()&&p({...t,nonce:w})),b){if(f&&f.forEach(t=>{a.default.preinit(t,{as:"style"})}),"beforeInteractive"===u)if(!i)return m.dangerouslySetInnerHTML&&(m.children=m.dangerouslySetInnerHTML.__html,delete m.dangerouslySetInnerHTML),(0,r.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...m,id:e}])+")"}});else return a.default.preload(i,m.integrity?{as:"script",integrity:m.integrity,nonce:w,crossOrigin:m.crossOrigin}:{as:"script",nonce:w,crossOrigin:m.crossOrigin}),(0,r.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([i,{...m,id:e}])+")"}});"afterInteractive"===u&&i&&a.default.preload(i,m.integrity?{as:"script",integrity:m.integrity,nonce:w,crossOrigin:m.crossOrigin}:{as:"script",nonce:w,crossOrigin:m.crossOrigin})}return null}Object.defineProperty(y,"__nextScript",{value:!0});let g=y;("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esMo
1dule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},3133:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{cancelIdleCallback:function(){return s},requestIdleCallback:function(){return i}});let i="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(t){let e=Date.now();return self.setTimeout(function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})},1)},s="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(t){return clearTimeout(t)};("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},3292:(t,e,i)=>{"use strict";let s;i.d(e,{i:()=>iQ});class n{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t){let e=this.animations.map(e=>e.attachTimeline(t));return()=>{e.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class r extends n{then(t,e){return this.finished.finally(t).then(()=>{})}}function a(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}let o=(t,e,i)=>i>e?e:i<t?t:i,l=t=>1e3*t,u=(t,e,i=10)=>{let s="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)s+=Math.round(1e4*t(e/(n-1)))/1e4+", ";return`linear(${s.substring(0,s.length-2)})`};function h(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function c(t,e=100,i){let s=i({...t,keyframes:[0,e]}),n=Math.min(h(s),2e4);return{type:"keyframes",ease:t=>s.next(n*t).value/e,duration:n/1e3}}function d(t,e,i){var s,n;let r=Math.max(e-5,0);return s=i-t(r),(n=e-r)?1e3/n*s:0}let p={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},f=()=>{},m=()=>{};function y(t,e){return t*Math.sqrt(1-e*e)}let g=["duration","bounce"],v=["stiffness","damping","mass"];function b(t,e){return e.some(e=>void 0!==t[e])}function w(t=p.visualDuration,e=p.bounce){let i,s="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:n,restDelta:r}=s,a=s.keyframes[0],c=s.keyframes[s.keyframes.length-1],m={done:!1,value:a},{stiffness:S,damping:C,mass:T,duration:M,velocity:x,isResolvedFromDuration:A}=function(t){let e={velocity:p.velocity,stiffness:p.stiffness,damping:p.damping,mass:p.mass,isResolvedFromDuration:!1,...t};if(!b(t,v)&&b(t,g))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),s=i*i,n=2*o(.05,1,1-(t.bounce||0))*Math.sqrt(s);e={...e,mass:p.mass,stiffness:s,damping:n}}else{let i=function({duration:t=p.duration,bounce:e=p.bounce,velocity:i=p.velocity,mass:s=p.mass}){let n,r;f(t<=l(p.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-e;a=o(p.minDamping,p.maxDamping,a),t=o(p.minDuration,p.maxDuration,t/1e3),a<1?(n=e=>{let s=e*a,n=s*t;return .001-(s-i)/y(e,a)*Math.exp(-n)},r=e=>{let s=e*a*t,r=Math.pow(a,2)*Math.pow(e,2)*t,o=Math.exp(-s),l=y(Math.pow(e,2),a);return(s*i+i-r)*o*(-n(e)+.001>0?-1:1)/l}):(n=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),r=e=>t*t*(i-e)*Math.exp(-e*t));let u=function(t,e,i){let s=i;for(let i=1;i<12;i++)s-=t(s)/e(s);return s}(n,r,5/t);if(t=l(t),isNaN(u))return{stiffness:p.stiffness,damping:p.damping,duration:t};{let e=Math.pow(u,2)*s;
1return{stiffness:e,damping:2*a*Math.sqrt(s*e),duration:t}}}(t);(e={...e,...i,mass:p.mass}).isResolvedFromDuration=!0}return e}({...s,velocity:-((s.velocity||0)/1e3)}),O=x||0,P=C/(2*Math.sqrt(S*T)),k=c-a,F=Math.sqrt(S/T)/1e3,V=5>Math.abs(k);if(n||(n=V?p.restSpeed.granular:p.restSpeed.default),r||(r=V?p.restDelta.granular:p.restDelta.default),P<1){let t=y(F,P);i=e=>c-Math.exp(-P*F*e)*((O+P*F*k)/t*Math.sin(t*e)+k*Math.cos(t*e))}else if(1===P)i=t=>c-Math.exp(-F*t)*(k+(O+F*k)*t);else{let t=F*Math.sqrt(P*P-1);i=e=>{let i=Math.exp(-P*F*e),s=Math.min(t*e,300);return c-i*((O+P*F*k)*Math.sinh(s)+t*k*Math.cosh(s))/t}}let E={calculatedDuration:A&&M||null,next:t=>{let e=i(t);if(A)m.done=t>=M;else{let s=0===t?O:0;P<1&&(s=0===t?l(O):d(i,t,e));let a=Math.abs(c-e)<=r;m.done=Math.abs(s)<=n&&a}return m.value=m.done?c:e,m},toString:()=>{let t=Math.min(h(E),2e4),e=u(e=>E.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return E}w.applyToOptions=t=>{let e=c(t,100,w);return t.ease=e.ease,t.duration=l(e.duration),t.type="keyframes",t};let S=(t,e,i)=>{let s=e-t;return 0===s?1:(i-t)/s},C=(t,e,i)=>t+(e-t)*i;function T(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let n=S(0,e,s);t.push(C(i,1,n))}}function M(t){let e=[0];return T(e,t.length-1),e}function x(t){return"function"==typeof t&&"applyToOptions"in t}let A=t=>!!(t&&t.getVelocity),O=t=>Array.isArray(t)&&"number"!=typeof t[0];function P(t,e){return O(t)?t[((t,e,i)=>{let s=e-t;return((i-t)%s+s)%s+t})(0,t.length,e)]:t}function k(t){return"object"==typeof t&&!Array.isArray(t)}function F(t,e,i,s){if("string"==typeof t&&k(e)){if(t instanceof EventTarget)return[t];if("string"==typeof t){let e=document;i&&(e=i.current);let n=s?.[t]??e.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t)}return t instanceof NodeList?Array.from(t):Array.isArray(t)?t:[t]}function V(t,e,i,s){return"number"==typeof e?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):"<"===e?i:e.startsWith("<")?Math.max(0,i+parseFloat(e.slice(1))):s.get(e)??t}function E(t,e){return t.at!==e.at?t.at-e.at:null===t.value?1:null===e.value?-1:0}function q(t,e){return e.has(t)||e.set(t,{}),e.get(t)}function R(t,e){return e[t]||(e[t]=[]),e[t]}let D=t=>"number"==typeof t,I=t=>t.every(D),j=new WeakMap;function _(t,e){return t?.[e]??t?.default??t}let U=t=>t,L={},N=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],K={value:null};function B(t,e){let i=!1,s=!0,n={delta:0,timestamp:0,isProcessing:!1},r=()=>i=!0,a=N.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,s=new Set,n=!1,r=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){a.has(e)&&(h.schedule(e),t()),l++,e(o)}let h={schedule:(t,e=!1,r=!1)=>{let o=r&&n?i:s;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{s.delete(t),a.delete(t)},process:t=>{if(o=t,n){r=!0;return}n=!0,[i,s]=[s,i],i.forEach(u),e&&K.value&&K.value.frameloop[e].push(l),l=0,i.clear(),n=!1,r&&(r=!1,h.process(t))}};return h}(r,e?i:void 0),t),{}),{setup:o,read:l,resolveKeyframes:u,preUpdate:h,update:c,preRender:d,render:p,postRender:f}=a,m=()=>{let r=L.useManualTiming?n.timestamp:performance.now();i=!1,L.useManualTiming||(n.delta=s?1e3/60:Math.max(Math.min(r-n.timestamp,40),1)),n.timestamp=r,n.isProcessing=!0,o.process(n),l.process(n),u.process(n),h.process(n),c.process(n),d.process(n),p.process(n),f.process(n),n.isProcessing=!1,i&&e&&(s=!1,t(m))};return{schedule:N.reduce((e,r)=>{let o=a[r];return e[r]=(e,r=!1,a=!1)=>(!i&&(i=!0,s=!0,n.isProcessing||t(m)),o.schedule(e,r,a)),e},{}),cancel:t=>{for(let e=0;e<N.length;e++)a[N[e]].cancel(t)},state:n,steps:a}}let{schedule:$,cancel:Q,state:H}=B("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:U,!0),W=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],G=new Set(W),Y=new Set(["width","height","top","left","right","bottom",...W]);class z{constructor(){this.subscriptions=[]}add(t){var e;return e=this.subscriptions,-1===e.indexOf(t)&&e.push(t),()=>a(this.subscriptions,t)}notify(t,e,i){let s=this.subscriptions.length;if(s)if(1===s)this.subscriptions[0](t,e,i);else for(let n=0;n<s;n++){let s=this.subscriptions[n];s&&s(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function X(){s=void 0}let Z={now:()=>(void 0===s&&Z.set(H.isProcessing||L.useManualTiming?H.timestamp:performance.now()),s),set
1:t=>{s=t,queueMicrotask(X)}},J={current:void 0};class tt{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=Z.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=Z.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new z);let i=this.events[t].add(e);return"change"===t?()=>{i(),$.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return J.current&&J.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=Z.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function te(t,e){return new tt(t,e)}function ti(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function ts(t,e,i,s){if("function"==typeof e){let[n,r]=ti(s);e=e(void 0!==i?i:t.custom,n,r)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[n,r]=ti(s);e=e(void 0!==i?i:t.custom,n,r)}return e}let tn=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),tr="data-"+tn("framerAppearId");function ta(t){t.duration=0,t.type}let to=(t,e)=>i=>e(t(i)),tl=(...t)=>t.reduce(to),tu={mainThread:0,waapi:0},th=t=>e=>"string"==typeof e&&e.startsWith(t),tc=th("--"),td=th("var(--"),tp=t=>!!td(t)&&tf.test(t.split("/*")[0].trim()),tf=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,tm={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},ty={...tm,transform:t=>o(0,1,t)},tg={...tm,default:1},tv=t=>Math.round(1e5*t)/1e5,tb=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,tw=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tS=(t,e)=>i=>!!("string"==typeof i&&tw.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),tC=(t,e,i)=>s=>{if("string"!=typeof s)return s;let[n,r,a,o]=s.match(tb);return{[t]:parseFloat(n),[e]:parseFloat(r),[i]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},tT={...tm,transform:t=>Math.round(o(0,255,t))},tM={test:tS("rgb","red"),parse:tC("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:s=1})=>"rgba("+tT.transform(t)+", "+tT.transform(e)+", "+tT.transform(i)+", "+tv(ty.transform(s))+")"},tx={test:tS("#"),parse:function(t){let e="",i="",s="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,s+=s,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(s,16),alph
1a:n?parseInt(n,16)/255:1}},transform:tM.transform},tA=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),tO=tA("deg"),tP=tA("%"),tk=tA("px"),tF=tA("vh"),tV=tA("vw"),tE={...tP,parse:t=>tP.parse(t)/100,transform:t=>tP.transform(100*t)},tq={test:tS("hsl","hue"),parse:tC("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:s=1})=>"hsla("+Math.round(t)+", "+tP.transform(tv(e))+", "+tP.transform(tv(i))+", "+tv(ty.transform(s))+")"},tR={test:t=>tM.test(t)||tx.test(t)||tq.test(t),parse:t=>tM.test(t)?tM.parse(t):tq.test(t)?tq.parse(t):tx.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?tM.transform(t):tq.transform(t),getAnimatableNone:t=>{let e=tR.parse(t);return e.alpha=0,tR.transform(e)}},tD=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,tI="number",tj="color",t_=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function tU(t){let e=t.toString(),i=[],s={color:[],number:[],var:[]},n=[],r=0,a=e.replace(t_,t=>(tR.test(t)?(s.color.push(r),n.push(tj),i.push(tR.parse(t))):t.startsWith("var(")?(s.var.push(r),n.push("var"),i.push(t)):(s.number.push(r),n.push(tI),i.push(parseFloat(t))),++r,"${}")).split("${}");return{values:i,split:a,indexes:s,types:n}}function tL(t){return tU(t).values}function tN(t){let{split:e,types:i}=tU(t),s=e.length;return t=>{let n="";for(let r=0;r<s;r++)if(n+=e[r],void 0!==t[r]){let e=i[r];e===tI?n+=tv(t[r]):e===tj?n+=tR.transform(t[r]):n+=t[r]}return n}}let tK=t=>"number"==typeof t?0:tR.test(t)?tR.getAnimatableNone(t):t,tB={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(tb)?.length||0)+(t.match(tD)?.length||0)>0},parse:tL,createTransformer:tN,getAnimatableNone:function(t){let e=tL(t);return tN(t)(e.map(tK))}};function t$(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function tQ(t,e){return i=>i>0?e:t}let tH=(t,e,i)=>{let s=t*t,n=i*(e*e-s)+s;return n<0?0:Math.sqrt(n)},tW=[tx,tM,tq];function tG(t){let e=tW.find(e=>e.test(t));if(f(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===tq&&(i=function({hue:t,saturation:e,lightness:i,alpha:s}){t/=360,i/=100;let n=0,r=0,a=0;if(e/=100){let s=i<.5?i*(1+e):i+e-i*e,o=2*i-s;n=t$(o,s,t+1/3),r=t$(o,s,t),a=t$(o,s,t-1/3)}else n=r=a=i;return{red:Math.round(255*n),green:Math.round(255*r),blue:Math.round(255*a),alpha:s}}(i)),i}let tY=(t,e)=>{let i=tG(t),s=tG(e);if(!i||!s)return tQ(t,e);let n={...i};return t=>(n.red=tH(i.red,s.red,t),n.green=tH(i.green,s.green,t),n.blue=tH(i.blue,s.blue,t),n.alpha=C(i.alpha,s.alpha,t),tM.transform(n))},tz=new Set(["none","hidden"]);function tX(t,e){return i=>C(t,e,i)}function tZ(t){return"number"==typeof t?tX:"string"==typeof t?tp(t)?tQ:tR.test(t)?tY:t1:Array.isArray(t)?tJ:"object"==typeof t?tR.test(t)?tY:t0:tQ}function tJ(t,e){let i=[...t],s=i.length,n=t.map((t,i)=>tZ(t)(t,e[i]));return t=>{for(let e=0;e<s;e++)i[e]=n[e](t);return i}}function t0(t,e){let i={...t,...e},s={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(s[n]=tZ(t[n])(t[n],e[n]));return t=>{for(let e in s)i[e]=s[e](t);return i}}let t1=(t,e)=>{let i=tB.createTransformer(e),s=tU(t),n=tU(e);return s.indexes.var.length===n.indexes.var.length&&s.indexes.color.length===n.indexes.color.length&&s.indexes.number.length>=n.indexes.number.length?tz.has(t)&&!n.values.length||tz.has(e)&&!s.values.length?function(t,e){return tz.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):tl(tJ(function(t,e){let i=[],s={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let r=e.types[n],a=t.indexes[r][s[r]],o=t.values[a]??0;i[n]=o,s[r]++}return i}(s,n),n.values),i):(f(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),tQ(t,e))};function t3(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?C(t,e,i):tZ(t)(t,e)}let t2=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>$.update(e,t),stop:()=>Q(e),now:()=>H.isProcessing?H.timestamp:Z.now()}};function t5({keyframes:t,velocity:e=0,power:i=.8,timeConstant:s=325,bounceDamping:n=10,bounceStiffness:r=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:h}){let c,p,f=t[0],m={done:!1,value:f},y=i*e,g=f+y,v=void 0===a?g:a(g);v!==g&&(y=v-f);let b=t=>-y*Math.exp(-t/s),S=t=>v+b(t),C=t=>{let e=b(t),i=S(t);m.done=Math.abs(e)<=u,m.value=m.done?v:i},T=t=>{let e;if(e=m.value,void 0!==o&&e<o||void 0!==l&&e>l){var i;c=t,p=w({keyframes:[m.value,(i=m.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:d(S,t,m.value),damping:n,stiffness:r,restDelta:u,restSpeed:h})}};return T(0),{calculatedDuration:null,next:t=>{let e=!1;return(p||void 0!==c||(e=!0,C(t),T(t)),void 0!==c&&t>=c)?p.next(t-c):(e||C(t),m)}}}let t9=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function t4(t,e,i,s){return t===e&&i===s?U:n=>
10===n||1===n?n:t9(function(t,e,i,s,n){let r,a,o=0;do(r=t9(a=e+(i-e)/2,s,n)-t)>0?i=a:e=a;while(Math.abs(r)>1e-7&&++o<12);return a}(n,0,1,t,i),e,s)}let t6=t4(.42,0,1,1),t8=t4(0,0,.58,1),t7=t4(.42,0,.58,1),et=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ee=t=>e=>1-t(1-e),ei=t4(.33,1.53,.69,.99),es=ee(ei),en=et(es),er=t=>(t*=2)<1?.5*es(t):.5*(2-Math.pow(2,-10*(t-1))),ea=t=>1-Math.sin(Math.acos(t)),eo=ee(ea),el=et(ea),eu=t=>Array.isArray(t)&&"number"==typeof t[0],eh={linear:U,easeIn:t6,easeInOut:t7,easeOut:t8,circIn:ea,circInOut:el,circOut:eo,backIn:es,backInOut:en,backOut:ei,anticipate:er},ec=t=>{if(eu(t)){m(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,s,n]=t;return t4(e,i,s,n)}return"string"==typeof t?(m(void 0!==eh[t],`Invalid easing type '${t}'`,"invalid-easing-type"),eh[t]):t};function ed({duration:t=300,keyframes:e,times:i,ease:s="easeInOut"}){var n;let r=O(s)?s.map(ec):ec(s),a={done:!1,value:e[0]},l=function(t,e,{clamp:i=!0,ease:s,mixer:n}={}){let r=t.length;if(m(r===e.length,"Both input and output ranges must be the same length","range-length"),1===r)return()=>e[0];if(2===r&&e[0]===e[1])return()=>e[1];let a=t[0]===t[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());let l=function(t,e,i){let s=[],n=i||L.mix||t3,r=t.length-1;for(let i=0;i<r;i++){let r=n(t[i],t[i+1]);e&&(r=tl(Array.isArray(e)?e[i]||U:e,r)),s.push(r)}return s}(e,s,n),u=l.length,h=i=>{if(a&&i<t[0])return e[0];let s=0;if(u>1)for(;s<t.length-2&&!(i<t[s+1]);s++);let n=S(t[s],t[s+1],i);return l[s](n)};return i?e=>h(o(t[0],t[r-1],e)):h}((n=i&&i.length===e.length?i:M(e),n.map(e=>e*t)),e,{ease:Array.isArray(r)?r:e.map(()=>r||t7).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=l(e),a.done=e>=t,a)}}let ep=t=>null!==t;function ef(t,{repeat:e,repeatType:i="loop"},s,n=1){let r=t.filter(ep),a=n<0||e&&"loop"!==i&&e%2==1?0:r.length-1;return a&&void 0!==s?s:r[a]}let em={decay:t5,inertia:t5,tween:ed,keyframes:ed,spring:w};function ey(t){"string"==typeof t.type&&(t.type=em[t.type])}class eg{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let ev=t=>t/100;class eb extends eg{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==Z.now()&&this.tick(Z.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},tu.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;ey(t);let{type:e=ed,repeat:i=0,repeatDelay:s=0,repeatType:n,velocity:r=0}=t,{keyframes:a}=t,o=e||ed;o!==ed&&"number"!=typeof a[0]&&(this.mixKeyframes=tl(ev,t3(a[0],a[1])),a=[0,100]);let l=o({...t,keyframes:a});"mirror"===n&&(this.mirroredGenerator=o({...t,keyframes:[...a].reverse(),velocity:-r})),null===l.calculatedDuration&&(l.calculatedDuration=h(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+s,this.totalDuration=this.resolvedDuration*(i+1)-s,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:s,mixKeyframes:n,mirroredGenerator:r,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:u=0,keyframes:h,repeat:c,repeatType:d,repeatDelay:p,type:f,onUpdate:m,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?g<0:g>s;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let b=this.currentTime,w=i;if(c){let t=Math.min(this.currentTime,s)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===d?(i=1-i,p&&(i-=p/a)):"mirror"===d&&(w=r)),b=o(0,1,i)*a}let S=v?{done:!1,value:h[0]}:w.next(b);n&&(S.value=n(S.value));let{done:C}=S;v||null===l||(C=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&C);return T&&f!==t5&&(S.value=ef(h,this.options,y,this.speed)),m&&m(S.value),T&&this.finish(),S}then(t,e){return this.finished.then(t,e)}get duration(){return this.calculatedDuration/1e3}get time(){return this.currentTime/1e3}set time(t){t=l(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Z.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=t2,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Z.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,tu.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}let ew=t=>180*t/Math.PI,eS=t=>eT(ew(Math.atan2(t[1],t[0]))),eC={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:eS,rotateZ:eS,skewX:t=>ew(Math.atan(t[1])),skewY:t=>ew(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},eT=t=>((t%=360)<0&&(t+=360),t),eM=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),ex=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),eA={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:eM,scaleY:ex,scale:t=>(eM(t)+ex(t))/2,rotateX:t=>eT(ew(Math.atan2(t[6],t[5]))),rotateY:t=>eT(ew(Math.atan2(-t[2],t[0]))),rotateZ:eS,rotate:eS,skewX:t=>ew(Math.atan(t[4])),skewY:t=>ew(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function eO(t){return+!!t.includes("scale")}function eP(t,e){let i,s;if(!t||"none"===t)return eO(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=eA,s=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=eC,s=e}if(!s)return eO(e);let r=i[e],a=s[1].split(",").map(ek);return"function"==typeof r?r(a):a[r]}function ek(t){return parseFloat(t.trim())}let eF=t=>t===tm||t===tk,eV=new Set(["x","y","z"]),eE=W.filter(t=>!eV.has(t)),eq={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>eP(e,"x"),y:(t,{transform:e})=>eP(e,"y")};eq.translateX=eq.x,eq.translateY=eq.y;let eR=new Set,eD=!1,eI=!1,ej=!1;function e_(){if(eI){let t=Array.from(eR).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=function(t){let e=[];
1return eE.forEach(i=>{let s=t.getValue(i);void 0!==s&&(e.push([i,s.get()]),s.set(+!!i.startsWith("scale")))}),e}(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}eI=!1,eD=!1,eR.forEach(t=>t.complete(ej)),eR.clear()}function eU(){eR.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(eI=!0)})}class eL{constructor(t,e,i,s,n,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=s,this.element=n,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(eR.add(this),eD||(eD=!0,$.read(eU),$.resolveKeyframes(e_))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:s}=this;if(null===t[0]){let n=s?.get(),r=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let s=i.readValue(e,r);null!=s&&(t[0]=s)}void 0===t[0]&&(t[0]=r),s&&void 0===n&&s.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),eR.delete(this)}cancel(){"scheduled"===this.state&&(eR.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}function eN(t){let e;return()=>(void 0===e&&(e=t()),e)}let eK=eN(()=>void 0!==window.ScrollTimeline),eB={},e$=function(t,e){let i=eN(t);return()=>eB[e]??i()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),eQ=([t,e,i,s])=>`cubic-bezier(${t}, ${e}, ${i}, ${s})`,eH={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:eQ([0,.65,.55,1]),circOut:eQ([.55,0,1,.45]),backIn:eQ([.31,.01,.66,-.59]),backOut:eQ([.33,1.53,.69,.99])};class eW extends eg{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:e,name:i,keyframes:s,pseudoElement:n,allowFlatten:r=!1,finalKeyframe:a,onComplete:o}=t;this.isPseudoElement=!!n,this.allowFlatten=r,this.options=t,m("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:t,...e}){return x(t)&&e$()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:s=0,duration:n=300,repeat:r=0,repeatType:a="loop",ease:o="easeOut",times:l}={},h){let c={[e]:i};l&&(c.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?e$()?u(e,i):"ease-out":eu(e)?eQ(e):Array.isArray(e)?e.map(e=>t(e,i)||eH.easeOut):eH[e]}(o,n);Array.isArray(d)&&(c.easing=d),K.value&&tu.waapi++;let p={delay:s,duration:n,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:r+1,direction:"reverse"===a?"alternate":"normal"};h&&(p.pseudoElement=h);let f=t.animate(c,p);return K.value&&f.finished.finally(()=>{tu.waapi--}),f}(e,i,s,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let t=ef(s,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(t):function(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}(e,i,t),this.animation.cancel()}o?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(t){this.finishedTime=null,this.animation.currentTime=l(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&eK())?(this.animation.timeline=t,U):e(this)}}let eG={anticipate:er,backInOut:en,circInOut:el};class eY extends eW{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in eG&&(t.ease=eG[t.ease])}(t),ey(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:s,element:n,...r}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new eb({...r,autoplay:!1}),o=l(this.finishedTime??this.time);e.setWithVelocity(a.sample(o-10).value,a.sample(o).value,10),a.stop()}}let ez=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tB.test(t)||"0"===t)&&!t.startsWith("url(")),eX=new Set(["opacity","clipPath","filter","transform"]),eZ=eN(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class eJ extends eg{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:s=0,repeatDelay:n=0,repeatType:r="loop",keyframes:a,name:o,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Z.now();let c={autoplay:t,delay:e,type:i,repeat:s,repeatDelay:n,repeatType:r,name:o,motionValue:l,element:u,...h},d=u?.KeyframeResolver||eL;this.keyframeResolver=new d(a,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),o,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,s){this.keyframeResolver=void 0;let{name:n,type:r,velocity:a,delay:o,isHandoff:l,onUpdate:u}=i;
1this.resolvedAt=Z.now(),!function(t,e,i,s){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],a=ez(n,e),o=ez(r,e);return f(a===o,`You are trying to animate ${e} from "${n}" to "${r}". "${a?r:n}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||x(i))&&s)}(t,n,r,a)&&((L.instantAnimations||!o)&&u?.(ef(t,i,e)),t[0]=t[t.length-1],ta(i),i.repeat=0);let h={startTime:s?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},c=!l&&function(t){let{motionValue:e,name:i,repeatDelay:s,repeatType:n,damping:r,type:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:o,transformTemplate:l}=e.owner.getProps();return eZ()&&i&&eX.has(i)&&("transform"!==i||!l)&&!o&&!s&&"mirror"!==n&&0!==r&&"inertia"!==a}(h)?new eY({...h,element:h.motionValue.owner.current}):new eb(h);c.finished.then(()=>this.notifyFinished()).catch(U),this.pendingTimeline&&(this.stopTimeline=c.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=c}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),ej=!0,eU(),e_(),ej=!1),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let e0=t=>null!==t,e1={type:"spring",stiffness:500,damping:25,restSpeed:10},e3={type:"keyframes",duration:.8},e2={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},e5=(t,e,i,s={},n,r)=>a=>{let o=_(s,t)||{},u=o.delay||s.delay||0,{elapsed:h=0}=s;h-=l(u);let c={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...o,delay:-h,onUpdate:t=>{e.set(t),o.onUpdate&&o.onUpdate(t)},onComplete:()=>{a(),o.onComplete&&o.onComplete()},name:t,motionValue:e,element:r?void 0:n};!function({when:t,delay:e,delayChildren:i,staggerChildren:s,staggerDirection:n,repeat:r,repeatType:a,repeatDelay:o,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(o)&&Object.assign(c,((t,{keyframes:e})=>e.length>2?e3:G.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:e1:e2)(t,c)),c.duration&&(c.duration=l(c.duration)),c.repeatDelay&&(c.repeatDelay=l(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(ta(c),0===c.delay&&(d=!0)),(L.instantAnimations||L.skipAnimations)&&(d=!0,ta(c),c.delay=0),c.allowFlatten=!o.type&&!o.ease,d&&!r&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},s){let n=t.filter(e0),r=e&&"loop"!==i&&e%2==1?0:n.length-1;return n[r]}(c.keyframes,o);if(void 0!==t)return void $.update(()=>{c.onUpdate(t),c.onComplete()})}return o.isSync?new eb(c):new eJ(c)};function e9(t){return"object"==typeof t&&null!==t&&"ownerSVGElement"in t}let e4=t=>e=>e.test(t),e6=[tm,tk,tP,tO,tV,tF,{test:t=>"auto"===t,parse:t=>t}],e8=t=>e6.find(e4(t)),e7=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),it=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ie=t=>/^0[^.\s]+$/u.test(t),ii=new Set(["brightness","contrast","saturate","opacity"]);function is(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[s]=i.match(tb)||[];if(!s)return t;let n=i.replace(s,""),r=+!!ii.has(e);return s!==i&&(r*=100),e+"("+r+n+")"}let ir=/\b([a-z-]*)\(.*?\)/gu,ia={...tB,getAnimatableNone:t=>{let e=t.match(ir);return e?e.map(is).join(" "):t}},io={...tm,transform:Math.round},il={borderWidth:tk,borderTopWidth:tk,borderRightWidth:tk,borderBottomWidth:tk,borderLeftWidth:tk,borderRadius:tk,radius:tk,borderTopLeftRadius:tk,borderTopRightRadius:tk,borderBottomRightRadius:tk,borderBottomLeftRadius:tk,width:tk,maxWidth:tk,height:tk,maxHeight:tk,top:t
1k,right:tk,bottom:tk,left:tk,padding:tk,paddingTop:tk,paddingRight:tk,paddingBottom:tk,paddingLeft:tk,margin:tk,marginTop:tk,marginRight:tk,marginBottom:tk,marginLeft:tk,backgroundPositionX:tk,backgroundPositionY:tk,rotate:tO,rotateX:tO,rotateY:tO,rotateZ:tO,scale:tg,scaleX:tg,scaleY:tg,scaleZ:tg,skew:tO,skewX:tO,skewY:tO,distance:tk,translateX:tk,translateY:tk,translateZ:tk,x:tk,y:tk,z:tk,perspective:tk,transformPerspective:tk,opacity:ty,originX:tE,originY:tE,originZ:tk,zIndex:io,fillOpacity:ty,strokeOpacity:ty,numOctaves:io},iu={...il,color:tR,backgroundColor:tR,outlineColor:tR,fill:tR,stroke:tR,borderColor:tR,borderTopColor:tR,borderRightColor:tR,borderBottomColor:tR,borderLeftColor:tR,filter:ia,WebkitFilter:ia},ih=t=>iu[t];function ic(t,e){let i=ih(t);return i!==ia&&(i=tB),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let id=new Set(["auto","none","0"]);class ip extends eL{constructor(t,e,i,s,n){super(t,e,i,s,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let s=t[i];if("string"==typeof s&&tp(s=s.trim())){let n=function t(e,i,s=1){m(s<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,r]=function(t){let e=it.exec(t);if(!e)return[,];let[,i,s,n]=e;return[`--${i??s}`,n]}(e);if(!n)return;let a=window.getComputedStyle(i).getPropertyValue(n);if(a){let t=a.trim();return e7(t)?parseFloat(t):t}return tp(r)?t(r,i,s+1):r}(s,e.current);void 0!==n&&(t[i]=n),i===t.length-1&&(this.finalKeyframe=s)}}if(this.resolveNoneKeyframes(),!Y.has(i)||2!==t.length)return;let[s,n]=t,r=e8(s),a=e8(n);if(r!==a)if(eF(r)&&eF(a))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else eq[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var s;(null===t[e]||("number"==typeof(s=t[e])?0===s:null===s||"none"===s||"0"===s||ie(s)))&&i.push(e)}i.length&&function(t,e,i){let s,n=0;for(;n<t.length&&!s;){let e=t[n];"string"==typeof e&&!id.has(e)&&tU(e).values.length&&(s=t[n]),n++}if(s&&i)for(let n of e)t[n]=ic(i,s)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=eq[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let s=e[e.length-1];void 0!==s&&t.getValue(i,s).jump(s,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let s=t.getValue(e);s&&s.jump(this.measuredOrigin,!1);let n=i.length-1,r=i[n];i[n]=eq[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let im=[...e6,tR,tB],{schedule:iy}=B(queueMicrotask,!1),ig={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},iv={};for(let t in ig)iv[t]={isEnabled:e=>ig[t].some(t=>!!e[t])};let ib=()=>({min:0,max:0}),iw=()=>({x:ib(),y:ib()}),iS="undefined"!=typeof window,iC={current:null},iT={current:!1},iM=["initial","animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"];function ix(t){var e;return null!==(e=t.animate)&&"object"==typeof e&&"function"==typeof e.start||iM.some(e=>{var i;return"string"==typeof(i=t[e])||Array.isArray(i)})}let iA=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class iO{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:n,visualState:r},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eL,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=Z.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,$.render(this.render,!1,!0))};let{latestValues:o,renderState:l}=r;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=a,this.blockInitialAnimation=!!n,this.isControllingVariants=ix(e),this.isVariantNode=function(t){return!!(ix(t)||t.variants)}(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:u,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in h){let e=h[t];void 0!==o[t]&&A(e)&&e.set(o[t])}}mount(t){this.current=t,j.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),iT.current||function(){if(iT.current=!0,iS)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>iC.current=t.matches;t.addEventListener("change",e),e()}else iC.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||iC.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),Q(this.notifyUpdate),Q(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let s=G.has(t);s&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&$.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in iv){let e=iv[t];if(!e)continue;let{isEnabled:i,Feature:s}=e;if(!this.features[t]&&s&&i(this.props)&&(this.features[t]=new s(this)),this.features[t]){let e=this.features[t];
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):iw()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<iA.length;e++){let i=iA[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let s=t["on"+i];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=function(t,e,i){for(let s in e){let n=e[s],r=i[s];if(A(n))t.addValue(s,n);else if(A(r))t.addValue(s,te(n,{owner:t}));else if(r!==n)if(t.hasValue(s)){let e=t.getValue(s);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(s);t.addValue(s,te(void 0!==e?e:n,{owner:t}))}}for(let s in i)void 0===e[s]&&t.removeValue(s);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=te(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){if("string"==typeof i&&(e7(i)||ie(i)))i=parseFloat(i);else{let s;s=i,!im.find(e4(s))&&tB.test(e)&&(i=ic(t,e))}this.setBaseTarget(t,A(i)?i.get():i)}return A(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let s=ts(this.props,i,this.presenceContext?.custom);s&&(e=s[t])}if(i&&void 0!==e)return e;let s=this.getBaseTargetFromProps(this.props,t);return void 0===s||A(s)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new z),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){iy.render(this.render)}}class iP extends iO{constructor(){super(...arguments),this.KeyframeResolver=ip}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;A(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}let ik=(t,e)=>e&&"number"==typeof t?e.transform(t):t,iF={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},iV=W.length;function iE(t,e,i){let{style:s,vars:n,transformOrigin:r}=t,a=!1,o=!1;for(let t in e){let i=e[t];if(G.has(t)){a=!0;continue}if(tc(t)){n[t]=i;continue}{let e=ik(i,il[t]);t.startsWith("origin")?(o=!0,r[t]=e):s[t]=e}}
1if(!e.transform&&(a||i?s.transform=function(t,e,i){let s="",n=!0;for(let r=0;r<iV;r++){let a=W[r],o=t[a];if(void 0===o)continue;let l=!0;if(!(l="number"==typeof o?o===+!!a.startsWith("scale"):0===parseFloat(o))||i){let t=ik(o,il[a]);if(!l){n=!1;let e=iF[a]||a;s+=`${e}(${t}) `}i&&(e[a]=t)}}return s=s.trim(),i?s=i(e,n?"":s):n&&(s="none"),s}(e,t.transform,i):s.transform&&(s.transform="none")),o){let{originX:t="50%",originY:e="50%",originZ:i=0}=r;s.transformOrigin=`${t} ${e} ${i}`}}function iq(t,{style:e,vars:i},s,n){let r,a=t.style;for(r in e)a[r]=e[r];for(r in n?.applyProjectionStyles(a,s),i)a.setProperty(r,i[r])}let iR={};function iD(t,e,i){let{style:s}=t,n={};for(let r in s)(A(s[r])||e.style&&A(e.style[r])||function(t,{layout:e,layoutId:i}){return G.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!iR[t]||"opacity"===t)}(r,t)||i?.getValue(r)?.liveStyle!==void 0)&&(n[r]=s[r]);return n}class iI extends iP{constructor(){super(...arguments),this.type="html",this.renderInstance=iq}readValueFromInstance(t,e){if(G.has(e))return this.projection?.isProjecting?eO(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return eP(i,e)})(t,e);{let i=window.getComputedStyle(t),s=(tc(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof s?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:e}){return function({top:t,left:e,right:i,bottom:s}){return{x:{min:e,max:i},y:{min:t,max:s}}}(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}(t.getBoundingClientRect(),e))}build(t,e,i){iE(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return iD(t,e,i)}}class ij extends iO{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,e){if(e in t){let i=t[e];if("string"==typeof i||"number"==typeof i)return i}}getBaseTargetFromProps(){}removeValueFromRenderState(t,e){delete e.output[t]}measureInstanceViewportBox(){return iw()}build(t,e){Object.assign(t.output,e)}renderInstance(t,{output:e}){Object.assign(t,e)}sortInstanceNodePosition(){return 0}}let i_={offset:"stroke-dashoffset",array:"stroke-dasharray"},iU={offset:"strokeDashoffset",array:"strokeDasharray"},iL=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);class iN extends iP{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=iw}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(G.has(e)){let t=ih(e);return t&&t.default||0}return e=iL.has(e)?e:tn(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){let s=iD(t,e,i);for(let i in t)(A(t[i])||A(e[i]))&&(s[-1!==W.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return s}build(t,e,i){!function(t,{attrX:e,attrY:i,attrScale:s,pathLength:n,pathSpacing:r=1,pathOffset:a=0,...o},l,u,h){if(iE(t,o,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:d}=t;c.transform&&(d.transform=c.transform,delete c.transform),(d.transform||c.transformOrigin)&&(d.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),d.transform&&(d.transformBox=h?.transformBox??"fill-box",delete c.transformBox),void 0!==e&&(c.x=e),void 0!==i&&(c.y=i),void 0!==s&&(c.scale=s),void 0!==n&&function(t,e,i=1,s=0,n=!0){t.pathLength=1;let r=n?i_:iU;t[r.offset]=tk.transform(-s);let a=tk.transform(e),o=tk.transform(i);t[r.array]=`${a} ${o}`}(c,n,r,a,!1)}(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,s){for(let i in iq(t,e,void 0,s),e.attrs)t.setAttribute(iL.has(i)?i:tn(i),e.attrs[i])}mount(t){let e;this.isSVGTag="string"==typeof(e=t.tagName)&&"svg"===e.toLowerCase(),super.mount(t)}}function iK(t){let e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},i=e9(t)&&!(e9(t)&&"svg"===t.tagName)?new iN(e):new iI(e);i.mount(t),j.set(t,i)}function iB(t){let e=new ij({presenceContext:null,props:{}
1,visualState:{renderState:{output:{}},latestValues:{}}});e.mount(t),j.set(t,e)}function i$(t,e,i,s){let n=[];if(A(t)||"number"==typeof t||"string"==typeof t&&!k(e))n.push(function(t,e,i){let s=A(t)?t:te(t);return s.start(e5("",s,e,i)),s.animation}(t,k(e)&&e.default||e,i&&i.default||i));else{let r=F(t,e,s),a=r.length;m(!!a,"No valid elements provided.","no-valid-elements");for(let t=0;t<a;t++){let s=r[t];m(null!==s,"You're trying to perform an animation on null. Ensure that selectors are correctly finding elements and refs are correctly hydrated.","animate-null");let o=s instanceof Element?iK:iB;j.has(s)||o(s);let l=j.get(s),u={...i};"delay"in u&&"function"==typeof u.delay&&(u.delay=u.delay(t,a)),n.push(...function(t,e,{delay:i=0,transitionOverride:s,type:n}={}){let{transition:r=t.getDefaultTransition(),transitionEnd:a,...o}=e;s&&(r=s);let l=[],u=n&&t.animationState&&t.animationState.getState()[n];for(let e in o){let s=t.getValue(e,t.latestValues[e]??null),n=o[e];if(void 0===n||u&&function({protectedKeys:t,needsAnimating:e},i){let s=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,s}(u,e))continue;let a={delay:i,..._(r||{},e)},h=s.get();if(void 0!==h&&!s.isAnimating&&!Array.isArray(n)&&n===h&&!a.velocity)continue;let c=!1;if(window.MotionHandoffAnimation){let i=t.props[tr];if(i){let t=window.MotionHandoffAnimation(i,e,$);null!==t&&(a.startTime=t,c=!0)}}!function(t,e){let i=t.getValue("willChange");if(A(i)&&i.add)return i.add(e);if(!i&&L.WillChange){let i=new L.WillChange("auto");t.addValue("willChange",i),i.add(e)}}(t,e),s.start(e5(e,s,n,t.shouldReduceMotion&&Y.has(e)?{type:!1}:a,t,c));let d=s.animation;d&&l.push(d)}return a&&Promise.all(l).then(()=>{$.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:s={},...n}=function(t,e,i){let s=t.getProps();return ts(s,e,s.custom,t)}(t,e)||{};for(let e in n={...n,...i}){var r;let i=Array.isArray(r=n[e])?r[r.length-1]||0:r;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,te(i))}}(t,a)})}),l}(l,{...e,transition:u},{}))}}return n}let iQ=function(t){return function(e,i,s){let n=[],o=new r(n=Array.isArray(e)&&e.some(Array.isArray)?function(t,e,i){let s=[];return(function(t,{defaultTransition:e={},...i}={},s,n){let r=e.duration||.3,o=new Map,u=new Map,h={},d=new Map,p=0,f=0,y=0;for(let i=0;i<t.length;i++){let o=t[i];if("string"==typeof o){d.set(o,f);continue}if(!Array.isArray(o)){d.set(o.name,V(f,o.at,p,d));continue}let[b,w,S={}]=o;void 0!==S.at&&(f=V(f,S.at,p,d));let O=0,k=(t,i,s,o=0,u=0)=>{var h;let d=Array.isArray(h=t)?h:[h],{delay:p=0,times:g=M(d),type:v="keyframes",repeat:b,repeatType:w,repeatDelay:S=0,...A}=i,{ease:k=e.ease||"easeOut",duration:F}=i,V="function"==typeof p?p(o,u):p,E=d.length,q=x(v)?v:n?.[v||"keyframes"];if(E<=2&&q){let t=100;2===E&&I(d)&&(t=Math.abs(d[1]-d[0]));let e={...A};void 0!==F&&(e.duration=l(F));let i=c(e,t,q);k=i.ease,F=i.duration}F??(F=r);let R=f+V;1===g.length&&0===g[0]&&(g[1]=1);let D=g.length-d.length;if(D>0&&T(g,D),1===d.length&&d.unshift(null),b){m(b<20,"Repeat count too high, must be less than 20","repeat-count-high");F*=b+1;let t=[...d],e=[...g],i=[...k=Array.isArray(k)?[...k]:[k]];for(let s=0;s<b;s++){d.push(...t);for(let n=0;n<t.length;n++)g.push(e[n]+(s+1)),k.push(0===n?"linear":P(i,n-1))}for(let t=0;t<g.length;t++)g[t]=g[t]/(b+1)}let j=R+F;!function(t,e,i,s,n,r){for(let e=0;e<t.length;e++){let i=t[e];i.at>n&&i.at<r&&(a(t,i),e--)}for(let a=0;a<e.length;a++)t.push({value:e[a],at:C(n,r,s[a]),easing:P(i,a)})}(s,d,k,g,R,j),O=Math.max(V+F,O),y=Math.max(j,y)};if(A(b))k(w,S,R("default",q(b,u)));else{let t=F(b,w,s,h),e=t.length;for(let i=0;i<e;i++){let s=q(t[i],u);for(let t in w){var g,v;k(w[t],(g=S,v=t,g&&g[v]?{...g,...g[v]}:{...g}),R(t,s),i,e)}}}p=f,f+=O}return u.forEach((t,s)=>{for(let n in t){let r=t[n];r.sort(E);let a=[],l=[],u=[];for(let t=0;t<r.length;t++){let{at:e,value:i,easing:s}=r[t];a.push(i),l.push(S(0,y,e)),u.push(s||"easeOut")}0!==l[0]&&(l.unshift(0),a.unshift(a[0]),u.unshift("easeInOut")),1!==l[l.length-1]&&(l.push(1),a.push(null)),o.has(s)||o.set(s,{keyframes:{},transition:{}});let h=o.get(s);h.keyframes[n]=a,h.transition[n]={...e,duration:y,ease:u,times:l,...i}}}),o})(t,e,i,{spring:w}
1).forEach(({keyframes:t,transition:e},i)=>{s.push(...i$(i,t,e))}),s}(e,i,void 0):i$(e,i,s,void 0));return t&&(t.animations.push(o),o.finished.then(()=>{a(t.animations,o)})),o}}()},5866:t=>{t.exports={style:{fontFamily:"'Geist Mono', 'Geist Mono Fallback'",fontStyle:"normal"},className:"__className_9a8899",variable:"__variable_9a8899"}},6668:(t,e,i)=>{"use strict";i.d(e,{Ht:()=>a});var s=i(5931),n=i(9835),r=s.createContext(void 0),a=t=>{let{client:e,children:i}=t;return s.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,n.jsx)(r.Provider,{value:e,children:i})}},7363:(t,e,i)=>{"use strict";i.d(e,{xB:()=>d});var s=i(9835),n=i(5931);let r=new WeakMap;function a(t,e,i,s){if(!t&&!r.has(e))return!1;let n=r.get(e)??new WeakMap;r.set(e,n);let a=n.get(i)??new Set;n.set(i,a);let o=a.has(s);return t?a.add(s):a.delete(s),o&&t}let o=function(t,e,i,s={}){let{signal:n,base:r=document}=s;if(n?.aborted)return;let{once:o,...l}=s,u=r instanceof Document?r.documentElement:r,h=!!("object"==typeof s?s.capture:s),c=s=>{let n=function(t,e){let i=t.target;if(i instanceof Text&&(i=i.parentElement),i instanceof Element&&t.currentTarget instanceof Element){let s=i.closest(e);if(s&&t.currentTarget.contains(s))return s}}(s,String(t));if(n){let t=Object.assign(s,{delegateTarget:n});i.call(u,t),o&&(u.removeEventListener(e,c,l),a(!1,u,i,d))}},d=JSON.stringify({selector:t,type:e,capture:h});a(!0,u,i,d)||u.addEventListener(e,c,l),n?.addEventListener("abort",()=>{a(!1,u,i,d)})};var l=i(5604);function u(t,e,i,s,n,r,a){try{var o=t[r](a),l=o.value}catch(t){i(t);return}o.done?e(l):Promise.resolve(l).then(s,n)}function h(t){return function(){var e=this,i=arguments;return new Promise(function(s,n){var r=t.apply(e,i);function a(t){u(r,s,n,a,o,"next",t)}function o(t){u(r,s,n,a,o,"throw",t)}a(void 0)})}}i(9553),i(5123);let c=(0,n.createContext)({stage:"none",navigate:()=>{},isReady:!1});function d(t){let{children:e,leave:i=h(function*(t){return t()}),enter:r=h(function*(t){return t()}),auto:a=!1}=t,u=(0,l.useRouter)(),d=(0,l.usePathname)(),[p,f]=(0,n.useState)("none"),m=(0,n.useRef)(null),y=(0,n.useRef)(null),g=(0,n.useCallback)(h(function*(t,e){let s,n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"push",a=arguments.length>3?arguments[3]:void 0;if("leaving"===p)return Promise.resolve();let o=()=>u[r](t,a);if("back"===r&&(o=()=>u.back()),"back"===r||!t||t.startsWith("#"))return void o();try{n=new URL(window.location.href),s=new URL(t,n)}catch(t){o();return}let l=s.pathname===n.pathname&&s.search===n.search&&s.hash===n.hash,h=s.pathname===n.pathname&&(s.search!==n.search||s.hash!==n.hash);s.origin!==n.origin||l||h?o():(f("leaving"),m.current=yield i(o,e,t))}),[i,u,p]),v=(0,n.useCallback)(t=>{let e=t.delegateTarget,i=null==e?void 0:e.getAttribute("href");(null==e?void 0:e.getAttribute("data-transition-ignore"))||"_blank"===e.target||e.origin!==window.location.origin||"external"===e.rel||e.download||function(t){let e=("delegateTarget"in t?t.delegateTarget:t.currentTarget).getAttribute("target");return e&&"_self"!==e||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||("which"in t?t.which:t.nativeEvent.which)===2}(t)||t.defaultPrevented||(t.preventDefault(),g(i,d))},[g,d]);(0,n.useEffect)(()=>{if(!a)return;let t=new AbortController;return o("a[href]","click",v,{signal:t.signal}),()=>{t.abort()}},[a,v]),(0,n.useEffect)(()=>{"entering"===p&&("function"==typeof m.current&&m.current(),m.current=null,h(function*(){y.current=yield Promise.resolve(r(()=>f("none")))})())},[p,r]),(0,n.useEffect)(()=>()=>{"leaving"===p&&("function"==typeof y.current&&y.current(),y.current=null,f("entering"))},[p,d]);let b=(0,n.useMemo)(()=>({stage:p,navigate:g,isReady:"entering"!==p}),[p,g]);return(0,s.jsx)(c.Provider,{value:b,children:e})}},7841:t=>{!function(){"use strict";var e={815:function(t){t.exports=function(t,i,s,n){i=i||"&",s=s||"=";var r={};if("string"!=typeof t||0===t.length)return r;var a=/\+/g;t=t.split(i);var o=1e3;n&&"number"==typeof n.maxKeys&&(o=n.maxKeys);var l=t.length;o>0&&l>o&&(l=o);for(var u=0;u<l;++u){var h,c,d,p,f=t[u].replace(a,"%20"),m=f.indexOf(s);(m>=0?(h=f.substr(0,m),c=f.substr(m+1)):(h=f,c=""),d=decodeURIComponent(h),p=decodeURIComponent(c),Object.prototype.hasOwnProperty.call(r,d))?e(r[d])?r[d].push(p):r[d
1]=[r[d],p]:r[d]=p}return r};var e=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},577:function(t){var e=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,r,a,o){return(r=r||"&",a=a||"=",null===t&&(t=void 0),"object"==typeof t)?s(n(t),function(n){var o=encodeURIComponent(e(n))+a;return i(t[n])?s(t[n],function(t){return o+encodeURIComponent(e(t))}).join(r):o+encodeURIComponent(e(t[n]))}).join(r):o?encodeURIComponent(e(o))+a+encodeURIComponent(e(t)):""};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function s(t,e){if(t.map)return t.map(e);for(var i=[],s=0;s<t.length;s++)i.push(e(t[s],s));return i}var n=Object.keys||function(t){var e=[];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.push(i);return e}}},i={};function s(t){var n=i[t];if(void 0!==n)return n.exports;var r=i[t]={exports:{}},a=!0;try{e[t](r,r.exports,s),a=!1}finally{a&&delete i[t]}return r.exports}s.ab="//";var n={};n.decode=n.parse=s(815),n.encode=n.stringify=s(577),t.exports=n}()},9553:(t,e,i)=>{!function(){var e={452:function(t){"use strict";t.exports=i(7841)}},s={};function n(t){var i=s[t];if(void 0!==i)return i.exports;var r=s[t]={exports:{}},a=!0;try{e[t](r,r.exports,n),a=!1}finally{a&&delete s[t]}return r.exports}n.ab="//";var r={};!function(){var t,e=(t=n(452))&&"object"==typeof t&&"default"in t?t.default:t,i=/https?|ftp|gopher|file/;function s(t){"string"==typeof t&&(t=g(t));var s,n,r,a,o,l,u,h,c,d=(n=(s=t).auth,r=s.hostname,a=s.protocol||"",o=s.pathname||"",l=s.hash||"",u=s.query||"",h=!1,n=n?encodeURIComponent(n).replace(/%3A/i,":")+"@":"",s.host?h=n+s.host:r&&(h=n+(~r.indexOf(":")?"["+r+"]":r),s.port&&(h+=":"+s.port)),u&&"object"==typeof u&&(u=e.encode(u)),c=s.search||u&&"?"+u||"",a&&":"!==a.substr(-1)&&(a+=":"),s.slashes||(!a||i.test(a))&&!1!==h?(h="//"+(h||""),o&&"/"!==o[0]&&(o="/"+o)):h||(h=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),{protocol:a,host:h,pathname:o=o.replace(/[?#]/g,encodeURIComponent),search:c=c.replace("#","%23"),hash:l});return""+d.protocol+d.host+d.pathname+d.search+d.hash}var a="http://",o=a+"w.w",l=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,u=/https?|ftp|gopher|file/;function h(t,e){var i="string"==typeof t?g(t):t;t="object"==typeof t?s(t):t;var n=g(e),r="";i.protocol&&!i.slashes&&(r=i.protocol,t=t.replace(i.protocol,""),r+="/"===e[0]||"/"===t[0]?"/":""),r&&n.protocol&&(r="",n.slashes||(r=n.protocol,e=e.replace(n.protocol,"")));var h=t.match(l);h&&!n.protocol&&(t=t.substr((r=h[1]+(h[2]||"")).length),/^\/\/[^/]/.test(e)&&(r=r.slice(0,-1)));var c=new URL(t,o+"/"),d=new URL(e,c).toString().replace(o,""),p=n.protocol||i.protocol;return p+=i.slashes||n.slashes?"//":"",!r&&p?d=d.replace(a,p):r&&(d=d.replace(a,"")),u.test(d)||~e.indexOf(".")||"/"===t.slice(-1)||"/"===e.slice(-1)||"/"!==d.slice(-1)||(d=d.slice(0,-1)),r&&(d=r+("/"===d[0]?d.substr(1):d)),d}function c(){}c.prototype.parse=g,c.prototype.format=s,c.prototype.resolve=h,c.prototype.resolveObject=h;var d=/^https?|ftp|gopher|file/,p=/^(.*?)([#?].*)/,f=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,m=/^([a-z0-9.+-]*:)?\/\/\/*/i,y=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function g(t,i,n){if(void 0===i&&(i=!1),void 0===n&&(n=!1),t&&"object"==typeof t&&t instanceof c)return t;var r=(t=t.trim()).match(p);t=r?r[1].replace(/\\/g,"/")+r[2]:t.replace(/\\/g,"/"),y.test(t)&&"/"!==t.slice(-1)&&(t+="/");var a=!/(^javascript)/.test(t)&&t.match(f),l=m.test(t),u="";a&&(d.test(a[1])||(u=a[1].toLowerCase(),t=""+a[2]+a[3]),a[2]||(l=!1,d.test(a[1])?(u=a[1],t=""+a[3]):t="//"+a[3]),3!==a[2].length&&1!==a[2].length||(u=a[1],t="/"+a[3]));var h,g=(r?r[1]:t).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),v=g&&g[1],b=new c,w="",S="";try{h=new URL(t)}catch(e){w=e,u||n||!/^\/\//.test(t)||/^\/\/.+[@.]/.test(t)||(S="/",t=t.substr(1));try{h=new URL(t,o)}catch(t){return b.protocol=u,b.href=u,b}}b.slashes=l&&!S,b.host="w.w"===h.host?"":h.host,b.hostname="w.w"===h.hostname?"":h.hostname.replace(/(\[|\])/g,""),b.protocol=w?u||null:h.protocol,b.search=h.search.replace(/\\/g,"%5C"),b.hash=h.hash.replace(/\\/g,"%5C");var C=t.split("#");!b.search&&~C[0].indexOf("?")&&(b.search="?"),b.hash||""!==C[1]||(b.hash="#"),b.query=i?e.decode(h.search.substr(1)):b.search.substr(1),b.pathname=S+(a?h.pathname.replace(/['^|`]/g,function(t){return"%"+t.charCodeAt().toString(16).toUpperCase()}).replace(/((?:%[0-9A-F]{2})+)/g,function(t,e){try{return decodeURIComponent(e).split("").map(function(t){var e=t.charCodeAt();return e>256||/^[a-z0-9]$/i.test(t)?t:"%"+e.toString(16).toUpperCase()}).join("")}catch(t){return e}}):h.pathname),"about:"===b.protocol&&"blank"===b.pathname&&(b.protocol="",b.pathname=""),w&&"/"!==t[0]&&(b.pathname=b.pathname.substr(1)),u&&!d.test(u)&&"/"!==t.slice(-1)&&"/"===b.pathname&&(b.pathname=""),b.path=b.pathname+b.search,b.auth=[h.username,h.password].map(decodeURIComponent).filter(
1Boolean).join(":"),b.port=h.port,v&&!b.host.endsWith(v)&&(b.host+=v,b.port=v.slice(1)),b.href=S?""+b.pathname+b.search+b.hash:s(b);var T=/^(file)/.test(b.href)?["host","hostname"]:[];return Object.keys(b).forEach(function(t){~T.indexOf(t)||(b[t]=b[t]||null)}),b}r.parse=g,r.format=s,r.resolve=h,r.resolveObject=function(t,e){return g(h(t,e))},r.Url=c}(),t.exports=r}()}}]);

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.