1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="224c02cf-1533-39cd-944b-f260fdafc461")}catch(e){}}(); 2(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,903420,e=>{var t=e.i(619177),r=e.i(280649),n=e.i(294237),i=e.i(84239),o=e.i(170275);let a=(0,n.f)("inline-flex cursor-pointer items-center justify-center whitespace-nowrap rounded-md text-xs font-medium transition-[color,background-color,border-color,box-shadow,transform] duration-150 ease-out outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 active:scale-[0.97] motion-reduce:transition-none motion-reduce:active:scale-100 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 select-none shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90",outline:"border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground","outline-solid":"border-2 border-primary text-primary bg-transparent hover:bg-primary hover:text-primary-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-3",sm:"h-7 gap-1 px-2 [&_svg]:size-3.5",xs:"h-6 gap-1 rounded-sm px-2 text-[0.625rem] [&_svg]:size-3",lg:"h-9 gap-1.5 px-3 [&_svg]:size-4",icon:"size-8 [&_svg]:size-4","icon-sm":"size-7 [&_svg]:size-3.5","icon-xs":"size-6 rounded-sm [&_svg]:size-3","icon-2xs":"size-6 rounded-sm [&_svg]:size-3","icon-3xs":"size-5 rounded-sm [&_svg]:size-3"}},defaultVariants:{variant:"default",size:"default"}}),l=i.forwardRef((e,n)=>{let{className:i,variant:l,size:u,asChild:s=!1,...c}=e,d=s?r.M:"button";return(0,t.jsx)(d,{className:(0,o.c)(a({variant:l,size:u,className:i})),ref:n,...c})});l.displayName="Button",e.s(["K",0,l,"i",0,a])},280649,470958,e=>{var t=e.i(84239);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{let n=!1,i=t.map(t=>{let i=r(t,e);return n||"function"!=typeof i||(n=!0),i});if(n)return()=>{for(let e=0;e<i.length;e++){let n=i[e];"function"==typeof n?n():r(t[e],null)}}}}function i(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];return t.useCallback(n(...r),r)}function o(e){let r=t.forwardRef((r,n)=>{var o;let a,s,{children:p,...v}=r,h=null,y=!1,m=[];c(p)&&"function"==typeof g&&(p=g(p._payload)),t.Children.forEach(p,e=>{var r;if(r=e,t.isValidElement(r)&&"function"==typeof r.type&&"__radixId"in r.type&&r.type.__radixId===l){y=!0;let t="child"in e.props?e.props.child:e.props.children;c(t)&&"function"==typeof g&&(t=g(t._payload)),h=u(e,t),m.push(h?.props?.children)}else m.push(e)}),h?h=t.cloneElement(h,void 0,m):!y&&1===t.Children.count(p)&&t.isValidElement(p)&&(h=p);let b=h?(o=h,(s=(a=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?o.ref:(s=(a=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?o.props.ref:o.props.ref||o.ref):void 0,w=i(n,b);if(!h){if(p||0===p)throw Error(y?f(e):d(e));return p}let E=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let n=o(...t);return i(...t),n}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(v,h.props??{});return h.type!==t.Fragment&&(E.ref=n?w:b),t.cloneElement(h,E)});return r.displayName=`${e}.Slot`,r}e.s(["Q",0,n,"j",0,i],470958);var a=o("Slot"),l=Symbol.for("radix.slottable"),u=(e,r)=>{if("child"in e.props){let r=e.props.child;return t.isValidElement(r)?t.cloneElement(r,void 0,e.props.children(r.props.children)):null}return t.isValidElement(r)?r:null},s=Symbol.for("react.lazy");function c(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===s&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var d=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,f=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,g=t[" use ".trim().toString()];e.s(["M",0,a,"B",0,o,"S",0,function(e){let t=e=>"child"in e?e.children(e.child):e.children;return t.displayName=`${e}.Slottable`,t.__radixId=l,t}],280649)},294237,e=>{var t=e.i(7284);let r=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=t.q;e.s(["f",0,(e,t)=>i=>{var o;if((null==t?void 0:t.variants)==null)return n(e,null==i?void 0:i.class,null==i?void 0:i.className);let{variants:a,defaultVariants:l}=t,u=Object.keys(a).map(e=>{let t=null==i?void 0:i[e],n=null==l?void 0:l[e];
2if(null===t)return null;let o=r(t)||r(n);return a[e][o]}),s=i&&Object.entries(i).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return n(e,u,null==t||null==(o=t.compoundVariants)?void 0:o.reduce((e,t)=>{let{class:r,className:n,...i}=t;return Object.entries(i).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...s}[t]):({...l,...s})[t]===r})?[...e,r,n]:e},[]),null==i?void 0:i.class,null==i?void 0:i.className)}])},7284,e=>{function t(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}(e))&&(n&&(n+=" "),n+=t);return n}e.s(["q",0,t,"U",0,t])},310627,e=>{var t=e.i(84239),r=e.i(702730),n=e.i(97096),i=e.i(112530);let o=(0,t.createContext)({}),a=(0,t.forwardRef)((e,a)=>{let{color:l,size:u,strokeWidth:s,absoluteStrokeWidth:c,className:d="",children:f,iconNode:g,...p}=e,{size:v=24,strokeWidth:h=2,absoluteStrokeWidth:y=!1,color:m="currentColor",className:b=""}=(0,t.useContext)(o)??{},w=c??y?24*Number(s??h)/Number(u??v):s??h;return(0,t.createElement)("svg",{ref:a,...r.f,width:u??v??r.f.width,height:u??v??r.f.he
2ight,stroke:l??m,strokeWidth:w,className:(0,i.f)("lucide",b,d),...!f&&!(0,n.f)(p)&&{"aria-hidden":"true"},...p},[...g.map(e=>{let[r,n]=e;return(0,t.createElement)(r,n)}),...Array.isArray(f)?f:[f]])});e.s(["default",0,a],310627)},537020,e=>{var t=e.i(84239),r=e.i(112530);let n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var i=e.i(310627);e.s(["f",0,(e,o)=>{let a=(0,t.forwardRef)((a,l)=>{let{className:u,...s}=a;return(0,t.createElement)(i.default,{ref:l,iconNode:o,className:(0,r.f)(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,u),...s})});return a.displayName=n(e),a}],537020)},702730,97096,e=>{e.s(["f",0,{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}],702730),e.s(["f",0,e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1}],97096)},112530,e=>{e.s(["f",0,function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()}])},921597,112591,e=>{var t=e.i(84239);e.s(["ERROR_REVALIDATE_EVENT",0,3,"FOCUS_EVENT",0,0,"MUTATE_EVENT",0,2,"RECONNECT_EVENT",0,1],112591);var r=Object.prototype.hasOwnProperty;let n=new WeakMap,i=()=>{},o=i(),a=Object,l=e=>e===o,u=e=>"function"==typeof e,s=(e,t)=>({...e,...t}),c=e=>u(e.then),d={},f={},g="undefined",p=typeof window!=g,v=typeof document!=g,h=p&&"Deno"in window,y=(e,t)=>{let r=n.get(e);return[()=>!l(t)&&e.get(t)||d,n=>{if(!l(t)){let i=e.get(t);t in f||(f[t]=i),r[5](t,s(i,n),i||d)}},r[6],()=>!l(t)&&t in f?f[t]:!l(t)&&e.get(t)||d]},m=!0,[b,w]=p&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[i,i],E={initFocus:e=>(v&&document.addEventListener("visibilitychange",e),b("focus",e),()=>{v&&document.removeEventListener("visibilitychange",e),w("focus",e)}),initReconnect:e=>{let t=()=>{m=!0,e()},r=()=>{m=!1};return b("online",t),b("offline",r),()=>{w("online",t),w("offline",r)}}},_=!t.default.useId,O=!p||h,x=O?t.useEffect:t.useLayoutEffect,R="u">typeof navigator&&navigator.connection,S=!O&&R&&(["slow-2g","2g"].includes(R.effectiveType)||R.saveData),T=new WeakMap,A=(e,t)=>e===`[object ${t}]`,k=0,L=e=>{let t,r,n=typeof e,i=a.prototype.toString.call(e),o=A(i,"Date"),u=A(i,"RegExp"),s=A(i,"Object");if(a(e)!==e||o||u)t=o?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=T.get(e))return t;if(t=++k+"~",T.set(e,t),Array.isArray(e)){for(r=0,t="@";r<e.length;r++)t+=L(e[r])+",";T.set(e,t)}if(s){t="#";let n=a.keys(e).sort();for(;!l(r=n.pop());)l(e[r])||(t+=r+":"+L(e[r])+",");T.set(e,t)}}return t},V=e=>{if(u(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?L(e):"",t]},C=0,j=()=>++C;async function N(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[i,a,d,f]=t,g=s({populateCache:!0,throwOnError:!0},"boolean"==typeof f?{revalidate:f}:f||{}),p=g.populateCache,v=g.rollbackOnError,h=g.optimisticData,m=g.throwOnError;if(u(a)){let e=[];for(let t of i.keys())!/^\$(inf|sub)\$/.test(t)&&a(i.get(t)._k)&&e.push(t);return Promise.all(e.map(b))}return b(a);async function b(e){let r,[a]=V(e);if(!a)return;let[s,f]=y(i,a),[b,w,E,_]=n.get(i),O=()=>{let t=b[a];return(u(g.revalidate)?g.revalidate(s().data,e):!1!==g.revalidate)&&(delete E[a],delete _[a],t&&t[0])?t[0](2).then(()=>s().data):s().data};if(t.length<3)return O();let x=d,R=!1,S=j();w[a]=[S,0];let T=!l(h),A=s(),k=A.data,L=A._c,C=l(L)?k:L;if(T&&f({data:h=u(h)?h(C,k):h,_c:C}),u(x))try{x=x(C)}catch(e){r=e,R=!0}if(x&&c(x)){let e;if(x=await x.catch(e=>{r=e,R=!0}),S!==w[a][0]){if(R)throw r;return x}R&&T&&(e=r,"function"==typeof v?v(e):!1!==v)&&(p=!0,f({data:C,_c:o}))}if(p&&!R&&(u(p)?f({data:p(x,C),error:o,_c:o}):f({data:x,error:o,_c:o})),w[a][1]=j(),Promise.resolve(O()).then(()=>{f({_c:o})}),R){if(m)throw r;return}return x}}let I=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},z=(e,t)=>{if(!n.has(e)){let r=s(E,t),a=Object.create(null),l=N.bind(o,e),u=i,c=Object.create(null),d=(e,t)=>{let r=c[e]||[];return c[e]=r,r.push(t),()=>{let e=r.indexOf(t);e>=0&&(r[e]=r[r.length-1],r.pop())}},f=(t,r,n)=>{e.set(t,r);let i=c[t];if(i)for(let e of i)e(r,n)},g=()=>{if(!n.has(e)&&(n.set(e,[a,Object.create(null),Object.create(null),Object.create(null),l,f,d]),!O)){let t=r.initFocus(setTimeout.bind(o,I.bind(o,a,0))),i=r.initReconnect(setTimeout.bind(o,I.bind(o,a,
21)));u=()=>{t&&t(),i&&i(),n.delete(e)}}};return g(),[e,l,g,u]}return[e,n.get(e)[4]]},[D,P]=z(new Map),$=s({onLoadingSlow:i,onSuccess:i,onError:i,onErrorRetry:(e,t,r,n,i)=>{let o=r.errorRetryCount,a=i.retryCount,u=~~((Math.random()+.5)*(1<<(a<8?a:8)))*r.errorRetryInterval;(l(o)||!(a>o))&&setTimeout(n,u,i)},onDiscarded:i,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:S?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:S?5e3:3e3,compare:function e(t,n){var i,o;if(t===n)return!0;if(t&&n&&(i=t.constructor)===n.constructor){if(i===Date)return t.getTime()===n.getTime();if(i===RegExp)return t.toString()===n.toString();if(i===Array){if((o=t.length)===n.length)for(;o--&&e(t[o],n[o]););return -1===o}if(!i||"object"==typeof t){for(i in o=0,t)if(r.call(t,i)&&++o&&!r.call(n,i)||!(i in n)||!e(t[i],n[i]))return!1;return Object.keys(n).length===o}}return t!=t&&n!=n},isPaused:()=>!1,cache:D,mutate:P,fallback:{}},{isOnline:()=>m,isVisible:()=>{let e=v&&document.visibilityState;return l(e)||"hidden"!==e}}),W=(e,t)=>{let r=s(e,t);if(t){let{use:n,fallback:i}=e,{use:o,fallback:a}=t;n&&o&&(r.use=n.concat(o)),i&&a&&(r.fallback=s(i,a))}return r},U=(0,t.createContext)({});e.s(["A",0,i,"B",0,c,"I",0,O,"O",0,a,"S",0,U,"U",0,o,"a",0,u,"b",0,n,"c",0,D,"d",0,$,"e",0,l,"f",0,W,"g",0,e=>{let{value:r}=e,n=(0,t.useContext)(U),i=u(r),a=(0,t.useMemo)(()=>i?r(n):r,[i,n,r]),l=(0,t.useMemo)(()=>i?a:W(n,a),[i,n,a]),c=a&&a.provider,d=(0,t.useRef)(o);c&&!d.current&&(d.current=z(c(l.cache||D),a));let f=d.current;return f&&(l.cache=f[0],l.mutate=f[1]),x(()=>{if(f)return f[2]&&f[2](),f[3]},[]),(0,t.createElement)(U.Provider,s(e,{value:l}))},"i",0,p,"j",0,P,"m",0,s,"n",0,N,"o",0,j,"r",0,_,"s",0,V,"t",0,e=>p&&typeof window.requestAnimationFrame!=g?window.requestAnimationFrame(e):setTimeout(e,1),"u",0,x,"z",0,y],921597)},613414,546689,86640,948023,e=>{var t=e.i(921597);e.s(["f",()=>t.U],613414),e.s(["f",()=>t.O],546689),e.s(["f",()=>t.g],86640),e.s(["f",()=>t.d],948023)},256903,243189,e=>{var t=e.i(921597);e.i(112591);let r="$inf$";e.s(["f",0,r],243189);var n=e.i(84239);let i=t.i&&window.__SWR_DEVTOOLS_USE__,o=i?window.__SWR_DEVTOOLS_USE__:[],a=e=>(0,t.a)(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],l=()=>{let e=(0,n.useContext)(t.S);return(0,n.useMemo)(()=>(0,t.m)(t.d,e),[e])},u=o.concat(e=>(n,i,o)=>{let a=i&&function(){for(var e=arguments.length,o=Array(e),a=0;a<e;a++)o[a]=arguments[a];let[l]=(0,t.s)(n),[,,,u]=t.b.get(t.c);if(l.startsWith(r))return i(...o);let s=u[l];return(0,t.e)(s)?i(...o):(delete u[l],s)};return e(n,a,o)});i&&(window.__SWR_DEVTOOLS_REACT__=n.default),e.s(["O",0,(e,t,r)=>{let n=t[e]||(t[e]=[]);return n.push(r),()=>{let e=n.indexOf(r);e>=0&&(n[e]=n[n.length-1],n.pop())}},"A",0,l,"G",0,e=>function(){for(var r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];let o=l(),[s,c,d]=a(n),f=(0,t.f)(o,d),g=e,{use:p}=f,v=(p||[]).concat(u);for(let e=v.length;e--;)g=v[e](g);return g(s,c||f.fetcher||null,f)},"K",0,(e,t)=>function(){for(var r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];let[o,l,u]=a(n),s=(u.use||[]).concat(t);return e(o,l,{...u,use:s})}],256903)},480704,979438,13800,965083,959997,230652,458815,e=>{var t=e.i(84239),r=e.i(808458),n=e.i(613414),i=e.i(546689),o=e.i(86640),a=e.i(948023),l=e.i(256903),u=e.i(921597);e.s(["f",()=>u.b],979438);var u=u,s=u;e.s(["f",()=>s.s],13800);var s=u,c=u;e.s(["f",()=>c.z],965083);var c=u,d=u;e.s(["f",()=>d.e],959997);var d=u,f=u,g=u,p=u,v=u,h=u;e.s(["f",()=>h.a],230652);var h=u,y=e.i(112591),y=y,m=y,b=y,w=y,E=u,_=u;e.s(["f",()=>_.u],458815);var _=u,O=u,x=u,R=u;let S=()=>{},T=S(),A=(new WeakMap,t.default.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}})),k={dedupe:!0},L=Promise.resolve(n.f);L.status="fulfilled",L.value=n.f;let V=()=>p.A,C=i.f.defineProperty(o.f,"defaultValue",{value:a.f}),j=(0,l.G)((e,i,o)=>{let{cache:a,compare:p,suspense:S,fallbackData:T,revalidateOnMount:C,revalidateIfStale:j,refreshInterval:N,refreshWhenHidden:I,refreshWhenOffline:z,keepPreviousData:D,strictServerPrefetchWarning:P}=o,[$,W,U,M]=u.b.get(a),[F,q]=(0,s.s)(e),B=(0,t.useRef)(!1),K=(0,t.useRef)(!1),G=(0,t.useRef)(F),J=(0,t.useRef)(i),Y=(0,t.useRef)(o),Z=()=>Y.current.isVisible()&&Y.current.isOnline(),[H,Q,X,ee]=(0,c.z)(a,F),et=(0,t.useRef)({}).current,er=(0,d.e)(T)?(0,d.e)(o.fallback)?n.f:o.fallback[F]:T,en=(e,t)=>{for(let r in et)if("data"===r){if(!p(e[r],t[r])&&(!(0,d.e)(e[r])||!p(ef,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},ei=!B.current,eo=(0,t.useMemo)(()=>{let e=H(),t=ee(),r=e=>{let t=(0,R.m)(e);return(delete t._k,(()=>{if(!F||!i||Y.current.isPaused())return!1;if(ei&&!(0,d.e)(C))return C;let e=(0,d.e)(er)?t.data:er;return(0,d.e)(e)||j})())?{isValidating:!0,isLoading:!0,...t}:t},n=r(e),o=e===t?n:r(t),a=n;return[()=>{let e=r(H());return en(e,a)?(a.data=e.data,a.isLoading=e.isLoading,a.isValidating=e.isValidating,a.error=e.error,a):(a=e,e)},()=>o]},[a,F]),ea=(0,r.useSyncExternalStore)((0,t.useCallback)(e=>X(F,(t,r)=>{en(r,t)||e()}),[a,F]),eo[0],eo[1]),el=$[F]&&$[F].length>0,eu=ea.data,es=(0,d.e)(eu)?er&&(0,f.B)(er)?A(er):er:eu,ec=ea.error,ed=(0,t.useRef)(es),ef=D?(0,d.e)(eu)?(0,d.e)(ed.current)?es:ed.current:eu:es,eg=F&&(0,d.e)(es),ep=(0,t.useRef)(null);g.I||(0,r.useSyncExternalStore)(V,()=>(ep.current=!1,ep),()=>(ep.current=!0,ep));let ev=ep.current;P&&ev&&!S&&eg&&console.warn(`Missing pre-initiated data for serialized key "${F}" during server-side rendering. Data fetching should be initiated on the server and provided to SWR via fallback data. You can set "strictServerPrefetchWarning: false" to disable this warning.`);let eh=!(!F||!i||Y.current.isPaused())&&(!el||!!(0,d.e)(ec))&&(ei&&!(0,d.e)(C)?C:S?!(0,d.e)(es)&&j:(0,d.e)(es)||j),ey=ei&&eh,em=(0,d.e)(ea.isValidating)?ey:ea.isValidating,eb=(0,d.e)(ea.isLoading)?ey:ea.isLoading,ew=(0,t.useCallback)(async e=>{let t,r,i=J.current;if(!F||!i||K.current||Y.current.isPaused())return!1;let a=!0,l=e||{},u=!U[F]||!l.dedupe,s=()=>x.r?!K.current&&F===G.current&&B.current:F===G.current,c={isValidating:!1,isLoading:!1},f=()=>{Q(c)},g=()=>{let e=U[F];e&&e[1]===r&&delete U[F]},m={isValidating:!0};(0,d.e)(H().data)&&(m.isLoading=!0);try{if(u&&(Q(m),o.loadingTimeout&&(0,d.e)(H().data)&&setTimeout(()=>{a&&s()&&Y.current.onLoadingSlow(F,o)},o.loadingTimeout),U[F]=[i(q),(0,v.o)()]),[t,r]=U[F],t=await t,u&&setTimeout(g,o.dedupingInterval),!U[F]||U[F][1]!==r)return u&&s()&&Y.current.onDiscarded(F),!1;c.error=n.f;let e=W[F];if(!(0,d.e)(e)&&(r<=e[0]||r<=e[1]||0===e[1]))return f(),u&&s()&&Y.current.onDiscarded(F),!1;let l=H().data;c.data=p(l,t)?l:t,u&&s()&&Y.current.onSuccess(t,F,o)}catch(r){g();let e=Y.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(c.error=r,u&&s()&&(e.onError(r,F,e),(!0===t||(0,h.a)(t)&&t(r))&&(!Y.current.revalidateOnFocus||!Y.current.revalidateOnReconnect||Z())&&e.onErrorRetry(r,F,e,e=>{let t=$[F];t&&t[0]&&t[0](y.ERROR_REVALIDATE_EVENT,e)},{retryCount:(l.retryCount||0)+1,dedupe:!0})))}return a=!1,f(),!0},[F,a]),eE=(0,t.useCallback)(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,E.n)(a,G.current,...t)},[]);if((0,_.u)(()=>{J.current=i,Y.current=o,(0,d.e)(eu)||(ed.current=eu)}),(0,_.u)(()=>
2{if(!F)return;let e=ew.bind(n.f,k),t=0;Y.current.revalidateOnFocus&&(t=Date.now()+Y.current.focusThrottleInterval);let r=(0,l.O)(F,$,function(r){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r==m.FOCUS_EVENT){let r=Date.now();Y.current.revalidateOnFocus&&r>t&&Z()&&(t=r+Y.current.focusThrottleInterval,e())}else if(r==b.RECONNECT_EVENT)Y.current.revalidateOnReconnect&&Z()&&e();else if(r==w.MUTATE_EVENT)return ew();else if(r==y.ERROR_REVALIDATE_EVENT)return ew(n)});return K.current=!1,G.current=F,B.current=!0,Q({_k:q}),eh&&!U[F]&&((0,d.e)(es)||g.I?e():(0,O.t)(e)),()=>{K.current=!0,r()}},[F]),(0,_.u)(()=>{let e;function t(){let t=(0,h.a)(N)?N(H().data):N;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!H().error&&(I||Y.current.isVisible())&&(z||Y.current.isOnline())?ew(k).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[N,I,z,F]),(0,t.useDebugValue)(ef),S){if(!x.r&&g.I&&eg)throw Error("Fallback data is required when using Suspense in SSR.");eg&&(J.current=i,Y.current=o,K.current=!1);let e=M[F];if(A(!(0,d.e)(e)&&eg?eE(e):L),!(0,d.e)(ec)&&eg)throw ec;let t=eg?ew(k):L;!(0,d.e)(ef)&&eg&&(t.status="fulfilled",t.value=!0),A(t)}return{mutate:eE,get data(){return et.data=!0,ef},get error(){return et.error=!0,ec},get isValidating(){return et.isValidating=!0,em},get isLoading(){return et.isLoading=!0,eb}}});e.s(["K",0,C,"U",0,j],480704)},919683,(e,t,r)=>{var n=e.r(84239),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useState,a=n.useEffect,l=n.useLayoutEffect,u=n.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=o({inst:{value:r,getSnapshot:t}}),i=n[0].inst,c=n[1];return l(function(){i.value=r,i.getSnapshot=t,s(i)&&c({inst:i})},[e,r,t]),a(function(){return s(i)&&c({inst:i}),e(function(){s(i)&&c({inst:i})})},[e]),u(r),r};r.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},808458,(e,t,r)=>{t.exports=e.r(919683)},328713,911712,e=>{let t="PAYLOAD_TOO_LARGE";function r(e){if(413!==e.status)return!1;let t=e.headers?.get("x-vercel-error");return!t||"FUNCTION_PAYLOAD_TOO_LARGE"===t}function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Arquivo grande demais para envio direto (limite de 4 MB nesta tela). Reduza o arquivo e tente de novo.";return{success:!1,code:t,message:e,error:{code:t,message:e}}}function i(e){return r(e)?new Response(JSON.stringify(n()),{status:e.status,statusText:e.statusText,headers:{"Content-Type":"application/json"}}):e}function o(e){let t=e.indexOf("#");if(-1===t)return null;let r=new URLSearchParams(e.slice(t+1)),n=r.get("team");if(!n)return null;let i=r.get("store");return{requestInput:e.slice(0,t),teamId:n,storeId:"all"===i||"none"===i?"__all__":i??null}}e.s(["isPayloadTooLargeResponse",0,r,"payloadTooLargeBody",0,n],911712),e.s(["apiFetch",0,function(e,t){let{requestInput:r,teamId:n,storeId:a}=function(e){if("string"==typeof e){let t=o(e);return t||{requestInput:e,teamId:null,storeId:null}}if(e instanceof URL){let t=o(e.toString());return t||{requestInput:e,teamId:null,storeId:null}}return{requestInput:e,teamId:null,storeId:null}}(e);return n?fetch(r,{...t,headers:function(e,t,r){if(e instanceof Headers){let n=new Headers(e);return n.set("x-team-id",t),r&&n.set("x-store-id",r),n}return Array.isArray(e)?[...e.filter(e=>{let t=e[0].toLowerCase();return"x-team-id"!==t&&(null===r||"x-store-id"!==t)}),["x-team-id",t],...r?[["x-store-id",r]]:[]]:{...e??{},"x-team-id":t,...r?{"x-store-id":r}:{}}}(t?.headers,n,a)}).then(i):fetch(r,t).then(i)}],328713)}])})(); 3 4//# debugId=224c02cf-1533-39cd-944b-f260fdafc461
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.