1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,5270,e=>{"use strict";var t=e.i(91788);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},n=(0,t.createContext)({}),s=(0,t.forwardRef)(({color:e,size:s,width:a,height:o,strokeWidth:u,absoluteStrokeWidth:l,nonScalingStroke:c,className:h="",children:d,iconNode:f=[],icon:p={node:f,aliases:[],size:24},...m},y)=>{let{size:g=24,strokeWidth:v=2,absoluteStrokeWidth:b=!1,nonScalingStroke:w=!1,color:C="currentColor",className:x=""}=(0,t.useContext)(n)??{},O=!!d||(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(m),[P,E,M=[]]=function(e,t={}){return function(e,t={}){let n=t.attributeNames??{},s=e=>n[e]??e,a=e.size??e.width??i.width,o=e.size??e.height??i.height,u=e.aliases?.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>`lucide-${e}`)??[],l=[...e.name?[`lucide-${e.name}`]:[],...u],c=t.className?.split(" ").filter(Boolean)??[],h=!1===t.includeDefaultClasses?r(...c):r("lucide",...l,...c),d=t.absoluteStrokeWidth?Number(t.strokeWidth??i["stroke-width"])*Number(e.size??e.width??i.width)/Number(t.size??t.width??i.width):t.strokeWidth??i["stroke-width"];return["svg",{...Object.entries(i).reduce((e,[t,r])=>(e[s(t)]=r,e),{}),..."color"in t&&t.color&&{[s("stroke")]:t.color},..."size"in t&&null!=t.size&&{[s("width")]:t.size,[s("height")]:t.size},..."width"in t&&null!=t.width&&{[s("width")]:t.width},..."height"in t&&null!=t.height&&{[s("height")]:t.height},[s("stroke-width")]:d,...h&&{[s("class")]:h},[s("viewBox")]:`0 0 ${a} ${o}`,...!1===t.hasA11yProp?{[s("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(e=>{let[r,i,n]=e,a=t.nonScalingStroke?{[s("vector-effect")]:"non-scaling-stroke",...i}:i;return n?[r,a,n]:[r,a]})]}(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(p,{color:e??C,width:a??s??g,height:o??s??g,strokeWidth:u??v,absoluteStrokeWidth:l??b,nonScalingStroke:c??w,className:r(x,h),hasA11yProp:O,attributes:m});return(0,t.createElement)(P,{ref:y,...E},[...M.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(d)?d:[d]])});e.s(["default",0,function(e,r=[],i=[]){let n,a="string"==typeof e?function(e,t,r=[]){if(null==t)throw Error("[lucide]: iconNode is required when icon name is used");return{name:e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:t,...r.length>0?{aliases:r}:{}}}(e,r,i):e,o=(0,t.forwardRef)(({className:e,...r},i)=>(0,t.createElement)(s,{ref:i,icon:a,className:e,...r}));return a.name&&(o.displayName=(n=(e=>{let t="",r=!1;for(let i of e){if("-"===i||"_"===i||i<=" "){r=t.length>0;continue}0===t.length?t+=i.toLowerCase():t+=r?i.toUpperCase():i,r=!1}return t})(a.name)).charAt(0).toUpperCase()+n.slice(1)),o}],5270)},56206,e=>{"use strict";e.s(["clsx",0,function(){for(var e,t,r=0,i="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=function e(t){var r,i,n="";if("string"==typeof t||"number"==typeof t)n+=t;else if("object"==typeof t)if(Array.isArray(t)){var s=t.length;for(r=0;r<s;r++)t[r]&&(i=e(t[r]))&&(n&&(n+=" "),n+=i)}else for(i in t)t[i]&&(n&&(n+=" "),n+=i);return n}(e))&&(i&&(i+=" "),i+=t);return i}])},17549,57006,e=>{"use strict";let t,r,i;var n=e.i(91788);function s(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(...e){return t=>{let r=!1,i=e.map(e=>{let i=s(e,t);return r||"function"!=typeof i||(r=!0),i});if(r)return()=>{for(let t=0;t<i.length;t++){let r=i[t];"function"==typeof r?r():s(e[t],null)}}}}e.s(["composeRefs",0,a,"useComposedRefs",0,function(...e){return n.useCallback(a(...e),e)}],57006);var o=e.i(91398),u=Symbol.for("react.lazy"),l=n[" use ".trim().toString()];function c(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===u&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var h=((i=n.forwardRef((e,t)=>
1{let{children:r,...i}=e;if(c(r)&&"function"==typeof l&&(r=l(r._payload)),n.isValidElement(r)){var s;let e,o,u=(s=r,(o=(e=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.ref:(o=(e=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.props.ref:s.props.ref||s.ref),l=function(e,t){let r={...t};for(let i in t){let n=e[i],s=t[i];/^on[A-Z]/.test(i)?n&&s?r[i]=(...e)=>{let t=s(...e);return n(...e),t}:n&&(r[i]=n):"style"===i?r[i]={...n,...s}:"className"===i&&(r[i]=[n,s].filter(Boolean).join(" "))}return{...e,...r}}(i,r.props);return r.type!==n.Fragment&&(l.ref=t?a(t,u):u),n.cloneElement(r,l)}return n.Children.count(r)>1?n.Children.only(null):null})).displayName="Slot.SlotClone",t=i,(r=n.forwardRef((e,r)=>{let{children:i,...s}=e;c(i)&&"function"==typeof l&&(i=l(i._payload));let a=n.Children.toArray(i),u=a.find(f);if(u){let e=u.props.children,i=a.map(t=>t!==u?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,o.jsx)(t,{...s,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,i):null})}return(0,o.jsx)(t,{...s,ref:r,children:i})})).displayName="Slot.Slot",r),d=Symbol("radix.slottable");function f(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===d}e.s(["Slot",0,h],17549)},48684,e=>{"use strict";var t=e.i(56206);let r=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=t.clsx;e.s(["cva",0,(e,t)=>n=>{var s;if((null==t?void 0:t.variants)==null)return i(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:a,defaultVariants:o}=t,u=Object.keys(a).map(e=>{let t=null==n?void 0:n[e],i=null==o?void 0:o[e];if(null===t)return null;let s=r(t)||r(i);return a[e][s]}),l=n&&Object.entries(n).reduce((e,t)=>{let[r,i]=t;return void 0===i||(e[r]=i),e},{});return i(e,u,null==t||null==(s=t.compoundVariants)?void 0:s.reduce((e,t)=>{let{class:r,className:i,...n}=t;return Object.entries(n).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...l}[t]):({...o,...l})[t]===r})?[...e,r,i]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}])},39310,e=>{"use strict";var t=e.i(91398),r=e.i(70066),i=e.i(17549);let n=(0,e.i(48684).cva)("inline-flex items-center justify-center gap-2 cursor-pointer rounded-md text-sm font-semibold transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 aria-invalid:border-destructive hover:scale-[1.03]",{variants:{variant:{default:"bg-primary bg-linear-to-r from-purple-300 to-purple-500 text-white! hover:bg-purple-500/90 font-semibold border border-purple-500",destructive:"bg-destructive text-white! focus-visible:ring-destructive/20",outline:"border bg-purple-25 border-purple-500 text-purple-500! hover:bg-accent hover:text-accent-foreground font-semibold",secondary:"bg-secondary text-secondary-foreground! hover:bg-gray-50 border border-gray-300 shadow-xs",green:"bg-green-400 bg-linear-to-r from-green-400 to-green-350 text-white!",ghost:"hover:bg-accent hover:text-accent-foreground",link:"bg-transparent border border-transparent text-purple-500! p-[5px]! flex w-auto underline-offset-4 underline hover:scale-none"},size:{default:"py-3 px-6 text-base leading-[150%]",xs:"gap-1 text-xs py-2 px-3.5 [&_svg:not([class*='size-'])]:size-3",sm:"py-2.5 px-4 gap-1.5",lg:"py-4 px-7 text-lg leading-[155%]",icon:"size-9","icon-xs":"size-6 [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});e.s(["Button",0,function({className:e,variant:s="default",size:a="default",asChild:o=!1,...u}){let l=o?i.Slot:"button";return(0,t.jsx)(l,{"data-slot":"button","data-variant":s,"data-size":a,className:(0,r.cn)(n({variant:s,size:a,className:e})),...u,children:u.children})},"buttonVariants",0,n])},71185,e=>{"use strict";"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(i){if(e?.(i),!1===r||!i.defaultPrevented)return t?.(i)}}])},79293,e=>{"use strict";var t=e.i(91788),r=e.i(91398);
1e.s(["createContext",0,function(e,i){let n=t.createContext(i),s=e=>{let{children:i,...s}=e,a=t.useMemo(()=>s,Object.values(s));return(0,r.jsx)(n.Provider,{value:a,children:i})};return s.displayName=e+"Provider",[s,function(r){let s=t.useContext(n);if(s)return s;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${e}\``)}]},"createContextScope",0,function(e,i=[]){let n=[],s=()=>{let r=n.map(e=>t.createContext(e));return function(i){let n=i?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...i,[e]:n}}),[i,n])}};return s.scopeName=e,[function(i,s){let a=t.createContext(s),o=n.length;n=[...n,s];let u=i=>{let{scope:n,children:s,...u}=i,l=n?.[e]?.[o]||a,c=t.useMemo(()=>u,Object.values(u));return(0,r.jsx)(l.Provider,{value:c,children:s})};return u.displayName=i+"Provider",[u,function(r,n){let u=n?.[e]?.[o]||a,l=t.useContext(u);if(l)return l;if(void 0!==s)return s;throw Error(`\`${r}\` must be used within \`${i}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let i=()=>{let i=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=i.reduce((t,{useScope:r,scopeName:i})=>{let n=r(e)[`__scope${i}`];return{...t,...n}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:n}),[n])}};return i.scopeName=r.scopeName,i}(s,...i)]}])},74534,e=>{"use strict";var t=e.i(91788),r=e.i(30943),i=e.i(57006),n=e.i(91398),s=Symbol("radix.slottable");function a(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}var o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{var s,o;let u,l,c,h=(o=s=`Primitive.${r}`,(u=t.forwardRef((e,r)=>{let{children:n,...s}=e;if(t.isValidElement(n)){var a;let e,o,u=(a=n,(o=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(o=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),l=function(e,t){let r={...t};for(let i in t){let n=e[i],s=t[i];/^on[A-Z]/.test(i)?n&&s?r[i]=(...e)=>{let t=s(...e);return n(...e),t}:n&&(r[i]=n):"style"===i?r[i]={...n,...s}:"className"===i&&(r[i]=[n,s].filter(Boolean).join(" "))}return{...e,...r}}(s,n.props);return n.type!==t.Fragment&&(l.ref=r?(0,i.composeRefs)(r,u):u),t.cloneElement(n,l)}return t.Children.count(n)>1?t.Children.only(null):null})).displayName=`${o}.SlotClone`,l=u,(c=t.forwardRef((e,r)=>{let{children:i,...s}=e,o=t.Children.toArray(i),u=o.find(a);if(u){let e=u.props.children,i=o.map(r=>r!==u?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,n.jsx)(l,{...s,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,i):null})}return(0,n.jsx)(l,{...s,ref:r,children:i})})).displayName=`${s}.Slot`,c),d=t.forwardRef((e,t)=>{let{asChild:i,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,n.jsx)(i?h:r,{...s,ref:t})});return d.displayName=`Primitive.${r}`,{...e,[r]:d}},{});e.s(["Primitive",0,o,"dispatchDiscreteCustomEvent",0,function(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}],74534)},76833,e=>{"use strict";var t=e.i(91788),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,r])},64592,e=>{"use strict";var t=e.i(91788),r=e.i(76833),i=t[" useId ".trim().toString()]||(()=>void 0),n=0;e.s(["useId",0,function(e){let[s,a]=t.useState(i());return(0,r.useLayoutEffect)(()=>{e||a(e=>e??String(n++))},[e]),e||(s?`radix-${s}`:"")}])},93953,e=>{"use strict";var t=e.i(91788),r=e.i(57006),i=e.i(76833),n=e=>{var n;let a,o,{present:u,children:l}=e,c=function(e){var r,n;let[a,o]=t.useState(),u=t.useRef(null),l=t.useRef(e),c=t.useRef("none"),[h,d]=(r=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>n[e][t]??e,r));return t.useEffect(()=>{let e=s(u.current);c.current="mounted"===h?e:"none"},[h]),(0,i.useLayoutEffect)(()=>{let t=u.current,r=l.current;if(r!==e){let i=c.current,n=s(t);e?d("MOUNT"):"none"===n||t?.display==="none"?d("UNMOUNT"):r&&i!==n?d("ANIMATION_OUT"):d("UNMOUNT"),l.current=e}},[e,d]),(0,i.useLayoutEffect)(()=>
1{if(a){let e,t=a.ownerDocument.defaultView??window,r=r=>{let i=s(u.current).includes(CSS.escape(r.animationName));if(r.target===a&&i&&(d("ANIMATION_END"),!l.current)){let r=a.style.animationFillMode;a.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===a.style.animationFillMode&&(a.style.animationFillMode=r)})}},i=e=>{e.target===a&&(c.current=s(u.current))};return a.addEventListener("animationstart",i),a.addEventListener("animationcancel",r),a.addEventListener("animationend",r),()=>{t.clearTimeout(e),a.removeEventListener("animationstart",i),a.removeEventListener("animationcancel",r),a.removeEventListener("animationend",r)}}d("ANIMATION_END")},[a,d]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:t.useCallback(e=>{u.current=e?getComputedStyle(e):null,o(e)},[])}}(u),h="function"==typeof l?l({present:c.isPresent}):t.Children.only(l),d=(0,r.useComposedRefs)(c.ref,(n=h,(o=(a=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?n.ref:(o=(a=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?n.props.ref:n.props.ref||n.ref));return"function"==typeof l||c.isPresent?t.cloneElement(h,{ref:d}):null};function s(e){return e?.animationName||"none"}n.displayName="Presence",e.s(["Presence",0,n])},55037,e=>{"use strict";var t=e.i(91788),r=e.i(76833);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var i=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,function({prop:e,defaultProp:r,onChange:n=()=>{},caller:s}){let[a,o,u]=function({defaultProp:e,onChange:r}){let[n,s]=t.useState(e),a=t.useRef(n),o=t.useRef(r);return i(()=>{o.current=r},[r]),t.useEffect(()=>{a.current!==n&&(o.current?.(n),a.current=n)},[n,a]),[n,s,o]}({defaultProp:r,onChange:n}),l=void 0!==e,c=l?e:a;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==l){let t=l?"controlled":"uncontrolled";console.warn(`${s} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}r.current=l},[l,s])}return[c,t.useCallback(t=>{if(l){let r="function"==typeof t?t(e):t;r!==e&&u.current?.(r)}else o(t)},[l,e,o,u])]}],55037)},82353,e=>{"use strict";var t=e.i(5270);let r={name:"x",size:24,node:[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]};r.node;let i=(0,t.default)(r);e.s(["default",0,i])},94182,(e,t,r)=>{t.exports=e.r(61457)},48123,e=>{"use strict";var t=e.i(65235),r=e.i(71585),i=e.i(51415),n=class extends r.Removable{#e;#t;#r;#i;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#r=e.mutationCache,this.#t=[],this.state=e.state||s(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#r.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||("pending"===this.state.status?this.scheduleGc():this.#r.remove(this))}continue(){return this.#i?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#n({type:"continue"})},r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#i=(0,i.createRetryer)({fn:()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#n({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#n({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#r.canRun(this)});let n="pending"===this.state.status,s=!this.#i.canStart();try{if(n)t();else{this.#n({type:"pending",variables:e,isPaused:s}),this.#r.config.onMutate&&await this.#r.config.onMutate(e,this,r);let t=await this.options.onMutate?.(e,r);t!==this.state.context&&this.#n({type:"pending",context:t,variables:e,isPaused:s})}let i=await this.#i.start();return await this.#r.config.onSuccess?.(i,e,this.state.context,this,r),await this.options.onSuccess?.(i,e,this.state.context,r),await this.#r.config.onSettled?.(i,null,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(i,null,e,this.state.context,r),this.#n({type:"success",data:i}),i}catch(t){try{await this.#r.config.onError?.(t,e,this.state.context,this,r)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,r)}catch(e){Promise.reject(e)}try{await this.#r.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,r)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,r)}catch(e){Promise.reject(e)}throw this.#n({type:"error",error:t}),t}finally{this.#r.runNext(this)}}#n(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};
1case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),t.notifyManager.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#r.notify({mutation:this,type:"updated",action:e})})}};function s(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}e.s(["Mutation",0,n,"getDefaultState",0,s])},51773,e=>{"use strict";var t=e.i(56298);function r(e,{pages:t,pageParams:i}){let n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,i[n],i):void 0}function i(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}e.s(["hasNextPage",0,function(e,t){return!!t&&null!=r(e,t)},"hasPreviousPage",0,function(e,t){return!!t&&!!e.getPreviousPageParam&&null!=i(e,t)},"infiniteQueryBehavior",0,function(e){return{onFetch:(n,s)=>{let a=n.options,o=n.fetchOptions?.meta?.fetchMore?.direction,u=n.state.data?.pages||[],l=n.state.data?.pageParams||[],c={pages:[],pageParams:[]},h=0,d=async()=>{let s=!1,d=(0,t.ensureQueryFn)(n.options,n.fetchOptions),f=async(e,r,i)=>{let a;if(s)return Promise.reject();if(null==r&&e.pages.length)return Promise.resolve(e);let o=(a={client:n.client,queryKey:n.queryKey,pageParam:r,direction:i?"backward":"forward",meta:n.options.meta},(0,t.addConsumeAwareSignal)(a,()=>n.signal,()=>s=!0),a),u=await d(o),{maxPages:l}=n.options,c=i?t.addToStart:t.addToEnd;return{pages:c(e.pages,u,l),pageParams:c(e.pageParams,r,l)}};if(o&&u.length){let e="backward"===o,t={pages:u,pageParams:l},n=(e?i:r)(a,t);c=await f(t,n,e)}else{let t=e??u.length;do{let e=0===h?l[0]??a.initialPageParam:r(a,c);if(h>0&&null==e)break;c=await f(c,e),h++}while(h<t)}return c};n.options.persister?n.fetchFn=()=>n.options.persister?.(d,{client:n.client,queryKey:n.queryKey,meta:n.options.meta,signal:n.signal},s):n.fetchFn=d}}}])},70548,e=>{"use strict";var t=e.i(91398);let r={queries:{retry:(e,t)=>t instanceof Error&&"login expirado"===t.message&&0===e,refetchOnWindowFocus:!1,staleTime:6e5,throwOnError:!0}};var i=e.i(56298),n=e.i(84813),s=e.i(65235),a=e.i(95564),o=class extends a.Subscribable{constructor(e={}){super(),this.config=e,this.#s=new Map}#s;build(e,t,r){let s=t.queryKey,a=t.queryHash??(0,i.hashQueryKeyByOptions)(s,t),o=this.get(a);return o||(o=new n.Query({client:e,queryKey:s,queryHash:a,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(s)}),this.add(o)),o}add(e){this.#s.has(e.queryHash)||(this.#s.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#s.get(e.queryHash);t&&(e.destroy(),t===e&&this.#s.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){s.notifyManager.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#s.get(e)}getAll(){return[...this.#s.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,i.matchQuery)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,i.matchQuery)(e,t)):t}notify(e){s.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){s.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){s.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},u=e.i(48123),l=a,c=class extends l.Subscribable{constructor(e={}){super(),this.config=e,this.#a=new Set,this.#o=new Map,this.#u=0}#a;#o;#u;build(e,t,r){let i=new u.Mutation({client:e,mutationCache:this,mutationId:++this.#u,options:e.defaultMutationOptions(t),state:r});return this.add(i),i}add(e){this.#a.add(e);let t=h(e);if("string"==typeof t){let r=this.#o.get(t);r?r.push(e):this.#o.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#a.delete(e)){let t=h(e);if("string"==typeof t){let r=this.#o.get(t);if(r)if(r.length>1){let t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&this.#o.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=h(e);if("string"!=typeof t)return!0;{let r=this.#o.get(t),i=r?.find(e=>"pending"===e.state.status);return!i||i===e}}runNext(e){let t=h(e);if("string"!=typeof t)return Promise.resolve();{let r=this.#o.get(t)?.find(t=>
1t!==e&&t.state.isPaused);return r?.continue()??Promise.resolve()}}clear(){s.notifyManager.batch(()=>{this.#a.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#a.clear(),this.#o.clear()})}getAll(){return Array.from(this.#a)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,i.matchMutation)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,i.matchMutation)(e,t))}notify(e){s.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return s.notifyManager.batch(()=>Promise.all(e.map(e=>e.continue().catch(i.noop))))}};function h(e){return e.options.scope?.id}var d=e.i(79971),f=e.i(90140),p=e.i(51773),m=class{#l;#r;#c;#h;#d;#f;#p;#m;constructor(e={}){this.#l=e.queryCache||new o,this.#r=e.mutationCache||new c,this.#c=e.defaultOptions||{},this.#h=new Map,this.#d=new Map,this.#f=0}mount(){this.#f++,1===this.#f&&(this.#p=d.focusManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#l.onFocus())}),this.#m=f.onlineManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#l.onOnline())}))}unmount(){this.#f--,0===this.#f&&(this.#p?.(),this.#p=void 0,this.#m?.(),this.#m=void 0)}isFetching(e){return this.#l.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#r.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#l.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),r=this.#l.build(this,t),n=r.state.data;return void 0===n?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime((0,i.resolveStaleTime)(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(n))}getQueriesData(e){return this.#l.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,r){let n=this.defaultQueryOptions({queryKey:e}),s=this.#l.get(n.queryHash),a=s?.state.data,o=(0,i.functionalUpdate)(t,a);if(void 0!==o)return this.#l.build(this,n).setData(o,{...r,manual:!0})}setQueriesData(e,t,r){return s.notifyManager.batch(()=>this.#l.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#l.get(t.queryHash)?.state}removeQueries(e){let t=this.#l;s.notifyManager.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let r=this.#l;return s.notifyManager.batch(()=>(r.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let r={revert:!0,...t};return Promise.all(s.notifyManager.batch(()=>this.#l.findAll(e).map(e=>e.cancel(r)))).then(i.noop).catch(i.noop)}invalidateQueries(e,t={}){return s.notifyManager.batch(()=>(this.#l.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let r={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(s.notifyManager.batch(()=>this.#l.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch(i.noop)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(i.noop)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let r=this.#l.build(this,t);return r.isStaleByTime((0,i.resolveStaleTime)(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(i.noop).catch(i.noop)}fetchInfiniteQuery(e){return e.behavior=(0,p.infiniteQueryBehavior)(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(i.noop).catch(i.noop)}ensureInfiniteQueryData(e){return e.behavior=(0,p.infiniteQueryBehavior)(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return f.onlineManager.isOnline()?this.#r.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#l}getMutationCache(){return this.#r}getDefaultOptions(){return this.#c}setDefaultOptions(e){this.#c=e}setQueryDefaults(e,t){this.#h.set((0,i.hashKey)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#h.values()],r={};return t.forEach(t=>{(0,i.partialMatchKey)(e,t.queryKey)&&Object.assign(r,t.defaultOptions)}),r}setMutationDefaults(e,t){this.#d.set((0,i.hashKey)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#d.values()],r={};return t.forEach(t=>{(0,i.partialMatchKey)(e,t.mutationKey)&&Object.assign(r,t.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#c.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,i.hashQueryKeyByOptions)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===i.skipToken&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#c.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#l.clear(),this.#r.clear()}},y=e.i(85700),g=e.i(3828),v=e.i(91788);e.s(["ReactQueryLoader",0,function({children:e}){let[i]=(0,v.useState)(()=>new m({defaultOptions:r,queryCache:new o({onError:e=>{e instanceof Error&&"não autorizado"===e.message&&g.default.asPath.includes("/app")&&g.default.push("/app/entrar")}})}));return(0,t.jsx)(y.QueryClientProvider,{client:i,children:e})}],70548)},65956,e=>{"use strict";var t=e.i(5270);let r={name:"circle-check",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]],aliases:["check-circle-2"]};r.node;let i=(0,t.default)(r);e.s(["CircleCheckIcon",0,i],65956)}]);
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.