PageSourceSearch

https://giq.ae/_next/static/chunks/0e22uki0.sd78.js

js giq.ae collected 2026-10-07 00:36:23 UTC 40,060 bytes, 2 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,721570,698576,t=>{"use strict";var e=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(){}};t.s(["Subscribable",0,e],698576);var i=new class extends e{#t=!0;#e;#i;constructor(){super(),this.#i=t=>{if("u">typeof window&&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.#t!==t&&(this.#t=t,this.listeners.forEach(e=>{e(t)}))}isOnline(){return this.#t}};t.s(["onlineManager",0,i],721570)},70549,t=>{"use strict";let e=Symbol.for("constructDateFrom");t.s(["constructFromSymbol",0,e,"daysInWeek",0,7,"millisecondsInDay",0,864e5,"millisecondsInHour",0,36e5,"millisecondsInMinute",0,6e4,"millisecondsInSecond",0,1e3,"millisecondsInWeek",0,6048e5,"minutesInDay",0,1440,"minutesInMonth",0,43200,"secondsInHour",0,3600,"secondsInMinute",0,60])},861634,435901,t=>{"use strict";t.i(688390);var e=t.i(416340),i=t.i(197649),r=t.i(754699),n=t.i(791933),s=t.i(371194),a=t.i(56888),o=t.i(181656),u=t.i(653450),l=t.i(136019),c=t.i(722291),h=t.i(983612),d=t.i(726454),f=t.i(973792);function p(t){return(0,f.default)("MuiIconButton",t)}let m=(0,d.default)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]);t.s(["default",0,m,"getIconButtonUtilityClass",0,p],435901);var y=t.i(221628);let E=(0,s.styled)(l.default,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:i}=t;return[e.root,i.loading&&e.loading,"default"!==i.color&&e[`color${(0,h.default)(i.color)}`],i.edge&&e[`edge${(0,h.default)(i.edge)}`],e[`size${(0,h.default)(i.size)}`]]}})((0,a.default)(({theme:t})=>({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":t.alpha((t.vars||t).palette.action.active,(t.vars||t).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),(0,a.default)(({theme:t})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(t.palette).filter((0,o.default)()).map(([e])=>({props:{color:e},style:{color:(t.vars||t).palette[e].main}})),...Object.entries(t.palette).filter((0,o.default)()).map(([e])=>({props:{color:e},style:{"--IconButton-hoverBg":t.alpha((t.vars||t).palette[e].main,(t.vars||t).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:t.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:t.typography.pxToRem(28)}}],[`&.${m.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled},[`&.${m.loading}`]:{color:"transparent"}}))),v=(0,s.styled)("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:t})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(t.vars||t).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),b=e.forwardRef(function(t,e){let s=(0,u.useDefaultProps)({props:t,name:"MuiIconButton"}),{edge:a=!1,children:o,className:l,color:d="default",disabled:f=!1,disableFocusRipple:m=!1,size:b="medium",id:_,loading:g=null,loadingIndicator:O,...I}=s,T=(0,n.unstable_useId)(_),S=O??(0,y.jsx)(c.default,{"aria-labelledby":T,color:"inherit",size:16}
1),P={...s,edge:a,color:d,disabled:f,disableFocusRipple:m,loading:g,loadingIndicator:S,size:b},w=(t=>{let{classes:e,disabled:i,color:n,edge:s,size:a,loading:o}=t,u={root:["root",o&&"loading",i&&"disabled","default"!==n&&`color${(0,h.default)(n)}`,s&&`edge${(0,h.default)(s)}`,`size${(0,h.default)(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return(0,r.default)(u,p,e)})(P);return(0,y.jsxs)(E,{id:g?T:_,className:(0,i.default)(w.root,l),centerRipple:!0,focusRipple:!m,disabled:f||g,ref:e,...I,ownerState:P,children:["boolean"==typeof g&&(0,y.jsx)("span",{className:w.loadingWrapper,style:{display:"contents"},children:(0,y.jsx)(v,{className:w.loadingIndicator,ownerState:P,children:g&&S})}),o]})});t.s(["default",0,b],861634)},913444,t=>{"use strict";var e=t.i(688390);if(window.CESIUM_BASE_URL="/Cesium","__ENV__"in window)try{e.default.env=JSON.parse(atob(window.__ENV__)),delete window.__ENV__}catch(t){console.error(t)}let i={releaseDate:e.default.env.RELEASE_DATE,version:e.default.env.NEXT_PUBLIC_ENV_VERSION??window.ENV_VERSION,isDev:!1,isProduction:!0,frontendUrl:e.default.env.NEXTAUTH_URL||"",appEndpoint:e.default.env.NEXT_PUBLIC_APP_ENDPOINT||"",outfallEndpoint:e.default.env.NEXT_PUBLIC_OUTFALL_ENDPOINT||"",tileServer:{default:{url:e.default.env.NEXT_PUBLIC_TILE_SERVER_URL||"",provider:e.default.env.NEXT_PUBLIC_TILE_SERVER_PROVIDER,layers:e.default.env.NEXT_PUBLIC_TILE_SERVER_LAYERS,thumbnailUrl:e.default.env.NEXT_PUBLIC_THUMBNAIL_URL,copyright:e.default.env.NEXT_PUBLIC_TILE_SERVER_COPYRIGHT},alternate:{url:e.default.env.NEXT_PUBLIC_ALT_TILE_SERVER_URL||"",provider:e.default.env.NEXT_PUBLIC_ALT_TILE_SERVER_PROVIDER,layers:e.default.env.NEXT_PUBLIC_ALT_TILE_SERVER_LAYERS,thumbnailUrl:e.default.env.NEXT_PUBLIC_ALT_THUMBNAIL_URL,copyright:e.default.env.NEXT_PUBLIC_ALT_TILE_SERVER_COPYRIGHT},vectorDark:{url:e.default.env.NEXT_PUBLIC_TILE_SERVER_VECTOR_DARK_URL||"",provider:e.default.env.NEXT_PUBLIC_TILE_SERVER_VECTOR_DARK_PROVIDER,thumbnailUrl:e.default.env.NEXT_PUBLIC_THUMBNAIL_VECTOR_DARK_URL}},appTitle:e.default.env.NEXT_PUBLIC_APP_TITLE,chunkSize:e.default.env.NEXT_PUBLIC_CHUNK_SIZE,concurrentConnection:e.default.env.NEXT_PUBLIC_CONCURRENT_CONNECTION,isWindDemoEnabled:"enabled"===e.default.env.NEXT_PUBLIC_WIND_DEMO_ENABLED,showUaesa:"enabled"===e.default.env.NEXT_PUBLIC_SHOW_UAESA,showGidLogo:"enabled"===e.default.env.NEXT_PUBLIC_GID_LOGO,showUaePass:"enabled"===e.default.env.NEXT_PUBLIC_SHOW_UAE_PASS,isGuestAccountEnabled:"enabled"===e.default.env.NEXT_PUBLIC_GUEST_ACCOUNT_ENABLED,isSuperResolutionEnabled:"enabled"===e.default.env.NEXT_PUBLIC_SUPER_RESOLUTION_ENABLED,uaePassEndpoint:e.default.env.NEXT_PUBLIC_UAE_PASS_ENDPOINT,uaePassClient:e.default.env.NEXT_PUBLIC_UAE_PASS_CLIENT_ID,fileServerUrl:e.default.env.NEXT_PUBLIC_FILE_SERVER_URL,defaultColorScheme:e.default.env.NEXT_PUBLIC_DEFAULT_COLOR_SCHEME??"dark",defaultProduct:e.default.env.NEXT_PUBLIC_DEFAULT_PRODUCT??"giq",documentationUrl:e.default.env.NEXT_PUBLIC_DOCUMENTATION_URL,wsUrl:e.default.env.NEXT_PUBLIC_WS_URL,wsAuthUrl:e.default.env.NEXT_PUBLIC_WS_AUTH_URL,cesiumAccessToken:e.default.env.NEXT_PUBLIC_CESIUM_ACCESS_TOKEN,heightmapTileSize:Number(e.default.env.NEXT_PUBLIC_HEIGHTMAP_TILE_SIZE)||96,nominatimUrl:e.default.env.NEXT_PUBLIC_NOMINATIM_URL,publicUrl:e.default.env.NEXT_PUBLIC_PUBLIC_URL||"",homeUrl:e.default.env.NEXT_PUBLIC_HOME_URL||"/overview",mapFontUrl:e.default.env.NEXT_PUBLIC_MAP_FONT_URL||"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf",landSubsidence:{minSources:Number(e.default.env.NEXT_PUBLIC_LAND_SUBSIDENCE_ANALYSIS_MIN_SOURCES),maxSources:Number(e.default.env.NEXT_PUBLIC_LAND_SUBSIDENCE_ANALYSIS_MAX_SOURCES),maxTimeGap:Number(e.default.env.NEXT_PUBLIC_LAND_SUBSIDENCE_ANALYSIS_MAX_TIME_GAP_DAY)},mosaickingLayersLimit:Number(e.default.env.NEXT_PUBLIC_MOSAICKING_LAYERS_LIMIT)||2};t.s(["envConfig",0,i])},899730,t=>{"use strict";var e={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},i=new class{#r=e;#n=!1;setTimeoutProvider(t){this.#r=t}setTimeout(t,e){return this.#r.setTimeout(t,e)}clearTimeout(t){this.#r.clearTimeout(t)}setInterval(t,e){return this.#r.setInterval(t,e)}clearInterval(t){this.#r.clearInterval(t)}};t.s(["systemSetTimeoutZero",0,function(t){setTimeout(t,0)},"timeoutManager",0,i])},122538,t=>{"use strict";var e=t.i(899730),i="u"<typeof window||"Deno"in globalThis;function r(t,e){return(e?.queryKeyHashFn||n)(t)}function n(t){return JSON.stringify(t,(t,e)=>l(e)?Object.keys(e).sort().reduce((t,i)=>(t[i]=e[i],t),{}):e)}function s(t,e){return t===e||typeof t==typeof e&&!!t&&!!e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).every(i=>s(t[i],e[i]))}var a=Object.prototype.hasOwnProperty;function o(t,e,i=0){if(t===e)return t;if(i>500)return e;let r=u(t)&&u(e);if(!r&&!(l(t)&&l(e)))return e;let n=(r?t:Object.keys(t)).length,s=r?e:Object.keys(e),c=s.length,h=r?Array(c):{},d=0;for(let u=0;u<c;u++){let l=r?u:s[u],c=t[l],f=e[l];if(c===f){h[l]=c,(r?u<n:a.call(t,l))&&d++;continue}if(null===c||null===f||"object"!=typeof c||"object"!=typeof f){h[l]=f;continue}let p=o(c,f,i+1);h[l]=p,p===c&&d++}return n===c&&d===n?t:h}function u(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function l(t){if(!c(t))return!1;let e=t.constructor;if(void 0===e)return!0;let i=e.prototype;return!!c(i)&&!!i.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(t)===Object.prototype}function c(t){return"[object Object]"===Object.prototype.toString.call(t)}var h=Symbol();
1t.s(["addConsumeAwareSignal",0,function(t,e,i){let r,n=!1;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(r??=e(),n||(n=!0,r.aborted?i():r.addEventListener("abort",i,{once:!0})),r)}),t},"addToEnd",0,function(t,e,i=0){let r=[...t,e];return i&&r.length>i?r.slice(1):r},"addToStart",0,function(t,e,i=0){let r=[e,...t];return i&&r.length>i?r.slice(0,-1):r},"ensureQueryFn",0,function(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:t.queryFn&&t.queryFn!==h?t.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${t.queryHash}'`))},"functionalUpdate",0,function(t,e){return"function"==typeof t?t(e):t},"hashKey",0,n,"hashQueryKeyByOptions",0,r,"isServer",0,i,"isValidTimeout",0,function(t){return"number"==typeof t&&t>=0&&t!==1/0},"keepPreviousData",0,function(t){return t},"matchMutation",0,function(t,e){let{exact:i,status:r,predicate:a,mutationKey:o}=t;if(o){if(!e.options.mutationKey)return!1;if(i){if(n(e.options.mutationKey)!==n(o))return!1}else if(!s(e.options.mutationKey,o))return!1}return(!r||e.state.status===r)&&(!a||!!a(e))},"matchQuery",0,function(t,e){let{type:i="all",exact:n,fetchStatus:a,predicate:o,queryKey:u,stale:l}=t;if(u){if(n){if(e.queryHash!==r(u,e.options))return!1}else if(!s(e.queryKey,u))return!1}if("all"!==i){let t=e.isActive();if("active"===i&&!t||"inactive"===i&&t)return!1}return("boolean"!=typeof l||e.isStale()===l)&&(!a||a===e.state.fetchStatus)&&(!o||!!o(e))},"noop",0,function(){},"partialMatchKey",0,s,"replaceData",0,function(t,e,i){return"function"==typeof i.structuralSharing?i.structuralSharing(t,e):!1!==i.structuralSharing?o(t,e):e},"replaceEqualDeep",0,o,"resolveQueryBoolean",0,function(t,e){return"function"==typeof t?t(e):t},"resolveStaleTime",0,function(t,e){return"function"==typeof t?t(e):t},"shallowEqualObjects",0,function(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(let i in t)if(t[i]!==e[i])return!1;return!0},"shouldThrowError",0,function(t,e){return"function"==typeof t?t(...e):!!t},"skipToken",0,h,"sleep",0,function(t){return new Promise(i=>{e.timeoutManager.setTimeout(i,t)})},"timeUntilStale",0,function(t,e){return Math.max(t+(e||0)-Date.now(),0)}])},289780,t=>{"use strict";let e,i,r,n,s,a;var o=t.i(899730).systemSetTimeoutZero,u=(e=[],i=0,r=t=>{t()},n=t=>{t()},s=o,{batch:t=>{let a;i++;try{a=t()}finally{let t;--i||(t=e,e=[],t.length&&s(()=>{n(()=>{t.forEach(t=>{r(t)})})}))}return a},batchCalls:t=>(...e)=>{a(()=>{t(...e)})},schedule:a=t=>{i?e.push(t):s(()=>{r(t)})},setNotifyFunction:t=>{r=t},setBatchNotifyFunction:t=>{n=t},setScheduler:t=>{s=t}});t.s(["notifyManager",0,u])},351117,t=>{"use strict";var e=t.i(698576),i=new class extends e.Subscribable{#s;#e;#i;constructor(){super(),this.#i=t=>{if("u">typeof window&&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.#s!==t&&(this.#s=t,this.onFocus())}onFocus(){let t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return"boolean"==typeof this.#s?this.#s:globalThis.document?.visibilityState!=="hidden"}};t.s(["focusManager",0,i])},934518,t=>{"use strict";var e=t.i(122538);t.s(["pendingThenable",0,function(){let t,e,i=new Promise((i,r)=>{t=i,e=r});function r(t){Object.assign(i,t),delete i.resolve,delete i.reject}return i.status="pending",i.catch(()=>{}),i.resolve=e=>{r({status:"fulfilled",value:e}),t(e)},i.reject=t=>{r({status:"rejected",reason:t}),e(t)},i},"tryResolveSync",0,function(t){let i;if(t.then(t=>(i=t,t),e.noop)?.catch(e.noop),void 0!==i)return{data:i}}])},639843,t=>{"use strict";let e;var i=t.i(122538),r=(e=()=>i.isServer,{isServer:()=>e(),setIsServer(t){e=t}});t.s(["environmentManager",0,r])},756013,t=>{"use strict";var e=t.i(351117),i=t.i(721570),r=t.i(934518),n=t.i(639843),s=t.i(122538);function a(t){return Math.min(1e3*2**t,3e4)}function o(t){return(t??"online")!=="online"||i.onlineManager.isOnline()}
1var u=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};t.s(["CancelledError",0,u,"canFetch",0,o,"createRetryer",0,function(t){let l,c=!1,h=0,d=(0,r.pendingThenable)(),f=()=>e.focusManager.isFocused()&&("always"===t.networkMode||i.onlineManager.isOnline())&&t.canRun(),p=()=>o(t.networkMode)&&t.canRun(),m=t=>{"pending"===d.status&&(l?.(),d.resolve(t))},y=t=>{"pending"===d.status&&(l?.(),d.reject(t))},E=()=>new Promise(e=>{l=t=>{("pending"!==d.status||f())&&e(t)},t.onPause?.()}).then(()=>{l=void 0,"pending"===d.status&&t.onContinue?.()}),v=()=>{let e;if("pending"!==d.status)return;let i=0===h?t.initialPromise:void 0;try{e=i??t.fn()}catch(t){e=Promise.reject(t)}Promise.resolve(e).then(m).catch(e=>{if("pending"!==d.status)return;let i=t.retry??3*!n.environmentManager.isServer(),r=t.retryDelay??a,o="function"==typeof r?r(h,e):r,u=!0===i||"number"==typeof i&&h<i||"function"==typeof i&&i(h,e);c||!u?y(e):(h++,t.onFail?.(h,e),(0,s.sleep)(o).then(()=>f()?void 0:E()).then(()=>{c?y(e):v()}))})};return{promise:d,status:()=>d.status,cancel:e=>{if("pending"===d.status){let i=new u(e);y(i),t.onCancel?.(i)}},continue:()=>(l?.(),d),cancelRetry:()=>{c=!0},continueRetry:()=>{c=!1},canStart:p,start:()=>(p()?v():E().then(v),d)}}])},698157,t=>{"use strict";var e=t.i(899730),i=t.i(639843),r=t.i(122538),n=class{#a;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,r.isValidTimeout)(this.gcTime)&&(this.#a=e.timeoutManager.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(i.environmentManager.isServer()?1/0:3e5))}clearGcTimeout(){void 0!==this.#a&&(e.timeoutManager.clearTimeout(this.#a),this.#a=void 0)}};t.s(["Removable",0,n])},796112,96922,t=>{"use strict";t.i(688390);var e=t.i(122538),i=t.i(289780),r=t.i(756013),n=t.i(698157);function s(t){return{onFetch:(i,r)=>{let n=i.options,s=i.fetchOptions?.meta?.fetchMore?.direction,u=i.state.data?.pages||[],l=i.state.data?.pageParams||[],c={pages:[],pageParams:[]},h=0,d=async()=>{let r=!1,d=(0,e.ensureQueryFn)(i.options,i.fetchOptions),f=async(t,n,s)=>{let a;if(r)return Promise.reject(i.signal.reason);if(null==n&&t.pages.length)return Promise.resolve(t);let o=(a={client:i.client,queryKey:i.queryKey,pageParam:n,direction:s?"backward":"forward",meta:i.options.meta},(0,e.addConsumeAwareSignal)(a,()=>i.signal,()=>r=!0),a),u=await d(o),{maxPages:l}=i.options,c=s?e.addToStart:e.addToEnd;return{pages:c(t.pages,u,l),pageParams:c(t.pageParams,n,l)}};if(s&&u.length){let t="backward"===s,e={pages:u,pageParams:l},i=(t?o:a)(n,e);c=await f(e,i,t)}else{let e=t??u.length;do{let t=0===h?l[0]??n.initialPageParam:a(n,c);if(h>0&&null==t)break;c=await f(c,t),h++}while(h<e)}return c};i.options.persister?i.fetchFn=()=>i.options.persister?.(d,{client:i.client,queryKey:i.queryKey,meta:i.options.meta,signal:i.signal},r):i.fetchFn=d}}}function a(t,{pages:e,pageParams:i}){let r=e.length-1;return e.length>0?t.getNextPageParam(e[r],e,i[r],i):void 0}function o(t,{pages:e,pageParams:i}){return e.length>0?t.getPreviousPageParam?.(e[0],e,i[0],i):void 0}t.s(["hasNextPage",0,function(t,e){return!!e&&null!=a(t,e)},"hasPreviousPage",0,function(t,e){return!!e&&!!t.getPreviousPageParam&&null!=o(t,e)},"infiniteQueryBehavior",0,s],96922);var u=class extends n.Removable{#o;#u;#l;#c;#h;#d;#f;#p;constructor(t){super(),this.#p=!1,this.#f=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#h=t.client,this.#c=this.#h.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#u=h(this.options),this.state=t.state??this.#u,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#o}get promise(){return this.#d?.promise}setOptions(t){if(this.options={...this.#f,...t},t?._type&&(this.#o=t._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let t=h(this.options);void 0!==t.data&&(this.setState(c(t.data,t.dataUpdatedAt)),this.#u=t)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#c.remove(this)}setData(t,i){let r=(0,e.replaceData)(this.state.data,t,this.options);return this.#m({data:r,type:"success",dataUpdatedAt:i?.updatedAt,manual:i?.manual}),r}setState(t){this.#m({type:"setState",state:t})}cancel(t){let i=this.#d?.promise;return this.#d?.cancel(t),i?i.then(e.noop).catch(e.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#u}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>!1!==(0,e.resolveQueryBoolean)(t.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===e.skipToken||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
1Count>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(t=>"static"===(0,e.resolveStaleTime)(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||!(0,e.timeUntilStale)(this.state.dataUpdatedAt,t))}onFocus(){let t=this.observers.find(t=>t.shouldFetchOnWindowFocus());t?.refetch({cancelRefetch:!1}),this.#d?.continue()}onOnline(){let t=this.observers.find(t=>t.shouldFetchOnReconnect());t?.refetch({cancelRefetch:!1}),this.#d?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#c.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.#d&&(this.#p||this.#y()?this.#d.cancel({revert:!0}):this.#d.cancelRetry()),this.scheduleGc()),this.#c.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}#y(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}invalidate(){this.state.isInvalidated||this.#m({type:"invalidate"})}async fetch(t,i){let n;if("idle"!==this.state.fetchStatus&&this.#d?.status()!=="rejected"){if(void 0!==this.state.data&&i?.cancelRefetch)this.cancel({silent:!0});else if(this.#d)return this.#d.continueRetry(),this.#d.promise}if(t&&this.setOptions(t),!this.options.queryFn){let t=this.observers.find(t=>t.options.queryFn);t&&this.setOptions(t.options)}let a=new AbortController,o=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(this.#p=!0,a.signal)})},u=()=>{let t,r=(0,e.ensureQueryFn)(this.options,i),n=(o(t={client:this.#h,queryKey:this.queryKey,meta:this.meta}),t);return(this.#p=!1,this.options.persister)?this.options.persister(r,n,this):r(n)},l=(o(n={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:this.#h,state:this.state,fetchFn:u}),n),c="infinite"===this.#o?s(this.options.pages):this.options.behavior;c?.onFetch(l,this),this.#l=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#m({type:"fetch",meta:l.fetchOptions?.meta}),this.#d=(0,r.createRetryer)({initialPromise:i?.initialPromise,fn:l.fetchFn,onCancel:t=>{t instanceof r.CancelledError&&t.revert&&this.setState({...this.#l,fetchStatus:"idle"}),a.abort()},onFail:(t,e)=>{this.#m({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#m({type:"pause"})},onContinue:()=>{this.#m({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{let t=await this.#d.start();if(void 0===t)throw Error(`${this.queryHash} data is undefined`);return this.setData(t),this.#c.config.onSuccess?.(t,this),this.#c.config.onSettled?.(t,this.state.error,this),t}catch(t){if(t instanceof r.CancelledError){if(t.silent)return this.#d.promise;else if(t.revert){if(void 0===this.state.data)throw t;return this.state.data}}throw this.#m({type:"error",error:t}),this.#c.config.onError?.(t,this),this.#c.config.onSettled?.(this.state.data,t,this),t}finally{this.scheduleGc()}}#m(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":return{...e,...l(e.data,this.options),fetchMeta:t.meta??null};case"success":let i={...e,...c(t.data,t.dataUpdatedAt),dataUpdateCount:e.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#l=t.manual?i:void 0,i;case"error":let r=t.error;return{...e,error:r,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}};this.state=e(this.state),i.notifyManager.batch(()=>
1{this.observers.forEach(t=>{t.onQueryUpdate()}),this.#c.notify({query:this,type:"updated",action:t})})}};function l(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,r.canFetch)(e.networkMode)?"fetching":"paused",...void 0===t&&{error:null,status:"pending"}}}function c(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function h(t){let e="function"==typeof t.initialData?t.initialData():t.initialData,i=void 0!==e,r=i?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:i?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}t.s(["Query",0,u,"fetchState",0,l],796112)},473026,612648,t=>{"use strict";var e,i,r,n=((e={}).UNDEFINED="undefined",e.STRING="string",e.INTEGER="integer",e.BIGINT="bigint",e.FLOAT="float",e.BOOLEAN="boolean",e.OBJECT="object",e.ARRAY="array",e.FUNCTION="function",e.SYMBOL="symbol",e.NULL="null",e.NAN="nan",e),s=((i={}).OLLAMA="ollama",i.OPENAI_COMPATIBLE="openai_compatible",i);t.s(["AI_PROVIDERS",()=>s,"Type",()=>n],612648);let a=(t,e,i=!0)=>{if(i){let i={};return e.forEach(e=>e in t&&(i[e]=t[e])),i}{let i=structuredClone(t);return e.forEach(t=>delete i[t]),i}};var o=((r={})[r.NONE=0]="NONE",r[r.EMPTY_ARRAY=1]="EMPTY_ARRAY",r[r.EMPTY_OBJECT=2]="EMPTY_OBJECT",r);let u=[void 0,null,""];[...u];let l=(t,e=u)=>e.includes(t),c=(t,e=0,i=u)=>{let r=d(t);if(!t||![n.ARRAY,n.OBJECT].includes(r))return;let s=r===n.ARRAY,a=s?[]:{};return(s?[...Array(t.length)].map((t,e)=>e):Object.keys(t)).forEach(r=>{l(t[r],i)||1&e&&Array.isArray(t[r])&&0===t[r].length||2&e&&f(t[r])||(s?a.push(t[r]):a[r]=t[r])}),a},h=t=>Object.keys(t),d=t=>{let e=typeof t;switch(e){case"undefined":case"string":case"boolean":case"function":case"bigint":case"symbol":return e;case"number":if(Number.isInteger(t))return n.INTEGER;if(isNaN(t))return n.NAN;return n.FLOAT;case"object":if(null===t)return n.NULL;if(Array.isArray(t))return n.ARRAY;return n.OBJECT}},f=t=>"object"==typeof t&&0===Object.keys(t).length&&Object.getPrototypeOf(t)===Object.prototype,p=(t,e,i=!0)=>{let r=h(i?t:c(t,void 0,[void 0])),n=h(i?e:c(e,void 0,[void 0]));return r.length===n.length&&!r.find(i=>!m(t[i],e[i]))},m=(t,e)=>{if(Array.isArray(t)&&Array.isArray(e))return 0===t.length&&0===e.length||t.length===e.length&&0>t.findIndex((i,r)=>!m(t[r],e[r]));return d(t)===n.OBJECT&&d(e)===n.OBJECT?p(t,e):t===e};t.s(["RemoveOption",()=>o,"castType",0,(t,e,i=!0)=>{switch(e){case n.NULL:return i?t:null;case n.NAN:return i?t:NaN;case n.UNDEFINED:return i?t:void 0;case n.BOOLEAN:if("string"==typeof t&&["false","true"].includes(t))return"true"===t;return!!t;case n.SYMBOL:return Symbol(t);case n.STRING:return String(t);case n.BIGINT:return BigInt(t);case n.OBJECT:return Object(t);case n.FUNCTION:return"function"==typeof t?t:Function(t);case n.ARRAY:return Array.isArray(t)?t:Array(t);case n.FLOAT:return parseFloat(t);case n.INTEGER:return parseInt(t)}},"clearObject",0,a,"getChangedProperties",0,(t,e)=>a(t,h(t).filter(i=>t[i]!==e?.[i]),!0),"getHash",0,t=>{let e,i;if(!t)return 0;let r="string"==typeof t?t:JSON.stringify((i={},h(t).sort().forEach(e=>i[e]=t[e]),i)),n=0;if(0===r.length)return n;for(e=0;e<r.length;e++)n=(n<<5)-n+r.charCodeAt(e)|0;return n},"getObjectKeys",0,h,"getObjectValues",0,t=>Object.values(t),"getType",0,d,"isEmpty",0,l,"isEmptyObject",0,f,"isObjectSameAs",0,p,"isSameAs",0,m,"random",0,(t=1,e=!1,i)=>{i="boolean"==typeof i?i:"boolean"!=typeof e||e;let r="number"==typeof e?t:0,n="number"==typeof e?e:t,s=crypto.getRandomValues(new Uint32Array(1))[0];if(void 0!==s){let t=s/0x100000000;return i?Math.floor(t*(n-r+1))+r:t*(n-r)+r}return 0},"removeEmpty",0,c,"replaceSpacesToUnderscore",0,t=>t.replaceAll(" ","_")],473026)},933902,t=>{"use strict";var e=t.i(385639);class i extends e.Api{static _instance;static getInstance(){return this._instance||(this._instance=new this),this._instance}static clearInstance(){this._instance=null}}t.s(["SingletonApi",0,i])},318594,t=>{"use strict";var e=t.i(416340),i=t.i(221628),r=e.createContext(void 0);t.s(["QueryClientProvider",0,({client:t,children:n})=>(e.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),(0,i.jsx)(r.Provider,{value:t,children:n})),"useQueryClient",0,t=>{let i=e.useContext(r);if(t)return t;if(!i)throw Error("No QueryClient set, use QueryClientProvider to set one");return i}])},788338,(t,e,i)=>{var r=function(t){void 0==t&&(t=new Date().getTime()),this.N=624,this.M=397,this.MATRIX_A=0x9908b0df,this.UPPER_MASK=0x80000000,this.LOWER_MASK=0x7fffffff,this.mt=Array(this.N),this.mti=this.N+1,t.constructor==Array?this.init_by_array(t,t.length):this.init_seed(t)};r.prototype.init_seed=function(t){for(this.mt[0]=t>>>0,this.mti=1;this.mti<this.N;this.mti++){var t=this.mt[this.mti-1]^this.mt[this.mti-1]>>>30;this.mt[this.mti]=(((0xffff0000&t)>>>16)*0x6c078965<<16)+(65535&t)*0x6c078965+this.mti,this.mt[this.mti]>>>=0}},r.prototype.init_by_array=function(t,e){var i,r,n;for(this.init_seed(0x12bd6aa),i=1,r=0,n=this.N>e?this.N:e;n;n--){var s=this.mt[i-1]^this.mt[i-1]>>>30;this.mt[i]=(this.mt[i]^(((0xffff0000&s)>>>16)*1664525<<16)+(65535&s)*1664525)+t[r]+r,this.mt[i]>>>=0,i++,r++,i>=this.N&&(this.mt[0]=this.mt[this.N-1],i=1),r>=e&&(r=0)}for(n=this.N-1;n;n--){var s=this.mt[i-1]^this.mt[i-1]>>>30;this.mt[i]=(this.mt[i]^(((0xffff0000&s)>>>16)*0x5d588b65<<16)+(65535&s)*0x5d588b65)-i,this.mt[i]>>>=0,++i>=this.N&&(this.mt[0]=this.mt[this.N-1],i=1)}this.mt[0]=0x80000000},r.prototype.random_int=function(){var t,e,i=[0,this.MATRIX_A];if(this.mti>=this.N){for(this.mti==this.N+1&&this.init_seed(5489),e=0;e<this.N-this.M;e++)t=this.mt[e]&this.UPPER_MASK|this.mt[e+1]&this.LOWER_MASK,this.mt[e]=this.mt[e+this.M]^t>>>1^i[1&t];for(;e<this.N-1;e++)t=this.mt[e]&this.UPPER_MASK|this.mt[e+1]&this.LOWER_MASK,this.mt[e]=this.mt[e+(this.M-this.N)]^t>>>1^i[1&t];t=this.mt[this.N-1]&this.UPPER_MASK|this.mt[0]&this.LOWER_MASK,this.mt[this.N-1]=this.mt[this.M-1]^t>>>1^i[1&t],this.mti=0}return t=this.mt[this.mti++],t^=t>>>11,t^=t<<7&0x9d2c5680,t^=t<<15&0xefc60000,(t^=t>>>18)>>>0},r.prototype.random_int31=function(){return this.random_int()>>>1},r.prototype.random_incl=function(){return this.random_int()*(1/0xffffffff)},r.prototype.random=function(){return this.random_int()*(1/0x100000000)},r.prototype.random_excl=function(){return(this.random_int()+.5)*(1/0x100000000)},r.prototype.random_long=function(){return 1/0x20000000000000*(0x4000000*(this.random_int()>>>5)+(this.random_int()>>>6))},e.exports=r},249281,799897,134590,174347,20820,t=>{"use strict";var e=t.i(788338);let i=function(t){return null!=t};function r(t){let e;this.name="DeveloperError",this.message=t;try{throw Error()}
1catch(t){e=t.stack}this.stack=e}t.s(["default",0,i],799897),i(Object.create)&&(r.prototype=Object.create(Error.prototype),r.prototype.constructor=r),r.prototype.toString=function(){let t=`${this.name}: ${this.message}`;return i(this.stack)&&(t+=`
2${this.stack.toString()}`),t},r.throwInstantiationError=function(){throw new r("This function defines an interface and should not be called directly.")},t.s(["default",0,r],134590);let n={};function s(t,e,i){return`Expected ${i} to be typeof ${e}, actual typeof was ${t}`}n.typeOf={},n.defined=function(t,e){if(!i(e))throw new r(`${t} is required, actual value was undefined`)},n.typeOf.func=function(t,e){if("function"!=typeof e)throw new r(s(typeof e,"function",t))},n.typeOf.string=function(t,e){if("string"!=typeof e)throw new r(s(typeof e,"string",t))},n.typeOf.number=function(t,e){if("number"!=typeof e)throw new r(s(typeof e,"number",t))},n.typeOf.number.lessThan=function(t,e,i){if(n.typeOf.number(t,e),e>=i)throw new r(`Expected ${t} to be less than ${i}, actual value was ${e}`)},n.typeOf.number.lessThanOrEquals=function(t,e,i){if(n.typeOf.number(t,e),e>i)throw new r(`Expected ${t} to be less than or equal to ${i}, actual value was ${e}`)},n.typeOf.number.greaterThan=function(t,e,i){if(n.typeOf.number(t,e),e<=i)throw new r(`Expected ${t} to be greater than ${i}, actual value was ${e}`)},n.typeOf.number.greaterThanOrEquals=function(t,e,i){if(n.typeOf.number(t,e),e<i)throw new r(`Expected ${t} to be greater than or equal to ${i}, actual value was ${e}`)},n.typeOf.object=function(t,e){if("object"!=typeof e)throw new r(s(typeof e,"object",t))},n.typeOf.bool=function(t,e){if("boolean"!=typeof e)throw new r(s(typeof e,"boolean",t))},n.typeOf.bigint=function(t,e){if("bigint"!=typeof e)throw new r(s(typeof e,"bigint",t))},n.typeOf.number.equals=function(t,e,i,s){if(n.typeOf.number(t,i),n.typeOf.number(e,s),i!==s)throw new r(`${t} must be equal to ${e}, the actual values are ${i} and ${s}`)},t.s(["default",0,n],174347);let a={};a.EPSILON1=.1,a.EPSILON2=.01,a.EPSILON3=.001,a.EPSILON4=1e-4,a.EPSILON5=1e-5,a.EPSILON6=1e-6,a.EPSILON7=1e-7,a.EPSILON8=1e-8,a.EPSILON9=1e-9,a.EPSILON10=1e-10,a.EPSILON11=1e-11,a.EPSILON12=1e-12,a.EPSILON13=1e-13,a.EPSILON14=1e-14,a.EPSILON15=1e-15,a.EPSILON16=1e-16,a.EPSILON17=1e-17,a.EPSILON18=1e-18,a.EPSILON19=1e-19,a.EPSILON20=1e-20,a.EPSILON21=1e-21,a.GRAVITATIONALPARAMETER=3986004418e5,a.SOLAR_RADIUS=6955e5,a.LUNAR_RADIUS=1737400,a.SIXTY_FOUR_KILOBYTES=65536,a.FOUR_GIGABYTES=0x100000000,a.sign=Math.sign??function(t){return 0==(t*=1)||t!=t?t:t>0?1:-1},a.signNotZero=function(t){return t<0?-1:1},a.toSNorm=function(t,e){return e=e??255,Math.round((.5*a.clamp(t,-1,1)+.5)*e)},a.fromSNorm=function(t,e){return e=e??255,a.clamp(t,0,e)/e*2-1},a.normalize=function(t,e,i){return 0===(i=Math.max(i-e,0))?0:a.clamp((t-e)/i,0,1)},a.sinh=Math.sinh??function(t){return(Math.exp(t)-Math.exp(-t))/2},a.cosh=Math.cosh??function(t){return(Math.exp(t)+Math.exp(-t))/2},a.lerp=function(t,e,i){return(1-i)*t+i*e},a.PI=Math.PI,a.ONE_OVER_PI=1/Math.PI,a.PI_OVER_TWO=Math.PI/2,a.PI_OVER_THREE=Math.PI/3,a.PI_OVER_FOUR=Math.PI/4,a.PI_OVER_SIX=Math.PI/6,a.THREE_PI_OVER_TWO=3*Math.PI/2,a.TWO_PI=2*Math.PI,a.ONE_OVER_TWO_PI=1/(2*Math.PI),a.RADIANS_PER_DEGREE=Math.PI/180,a.DEGREES_PER_RADIAN=180/Math.PI,a.RADIANS_PER_ARCSECOND=a.RADIANS_PER_DEGREE/3600,a.toRadians=function(t){if(!i(t))throw new r("degrees is required.");return t*a.RADIANS_PER_DEGREE},a.toDegrees=function(t){if(!i(t))throw new r("radians is required.");return t*a.DEGREES_PER_RADIAN},a.convertLongitudeRange=function(t){if(!i(t))throw new r("angle is required.");let e=a.TWO_PI,n=t-Math.floor(t/e)*e;return n<-Math.PI?n+e:n>=Math.PI?n-e:n},a.clampToLatitudeRange=function(t){if(!i(t))throw new r("angle is required.");return a.clamp(t,-1*a.PI_OVER_TWO,a.PI_OVER_TWO)},a.negativePiToPi=function(t){if(!i(t))throw new r("angle is required.");return t>=-a.PI&&t<=a.PI?t:a.zeroToTwoPi(t+a.PI)-a.PI},a.zeroToTwoPi=function(t){if(!i(t))throw new r("angle is required.");if(t>=0&&t<=a.TWO_PI)return t;let e=a.mod(t,a.TWO_PI);return Math.abs(e)<a.EPSILON14&&Math.abs(t)>a.EPSILON14?a.TWO_PI:e},a.mod=function(t,e){if(!i(t))throw new r("m is required.");
2if(!i(e))throw new r("n is required.");if(0===e)throw new r("divisor cannot be 0.");return a.sign(t)===a.sign(e)&&Math.abs(t)<Math.abs(e)?t:(t%e+e)%e},a.equalsEpsilon=function(t,e,n,s){if(!i(t))throw new r("left is required.");if(!i(e))throw new r("right is required.");n=n??0;let a=Math.abs(t-e);return a<=(s=s??n)||a<=n*Math.max(Math.abs(t),Math.abs(e))},a.lessThan=function(t,e,n){if(!i(t))throw new r("first is required.");if(!i(e))throw new r("second is required.");if(!i(n))throw new r("absoluteEpsilon is required.");return t-e<-n},a.lessThanOrEquals=function(t,e,n){if(!i(t))throw new r("first is required.");if(!i(e))throw new r("second is required.");if(!i(n))throw new r("absoluteEpsilon is required.");return t-e<n},a.greaterThan=function(t,e,n){if(!i(t))throw new r("first is required.");if(!i(e))throw new r("second is required.");if(!i(n))throw new r("absoluteEpsilon is required.");return t-e>n},a.greaterThanOrEquals=function(t,e,n){if(!i(t))throw new r("first is required.");if(!i(e))throw new r("second is required.");if(!i(n))throw new r("absoluteEpsilon is required.");return t-e>-n};let o=[1];a.factorial=function(t){if("number"!=typeof t||t<0)throw new r("A number greater than or equal to 0 is required.");let e=o.length;if(t>=e){let i=o[e-1];for(let r=e;r<=t;r++){let t=i*r;o.push(t),i=t}}return o[t]},a.incrementWrap=function(t,e,n){if(n=n??0,!i(t))throw new r("n is required.");if(e<=n)throw new r("maximumValue must be greater than minimumValue.");return++t>e&&(t=n),t},a.isPowerOfTwo=function(t){if("number"!=typeof t||t<0||t>0xffffffff)throw new r("A number between 0 and (2^32)-1 is required.");return 0!==t&&(t&t-1)==0},a.nextPowerOfTwo=function(t){if("number"!=typeof t||t<0||t>0x80000000)throw new r("A number between 0 and 2^31 is required.");return--t,t|=t>>1,t|=t>>2,t|=t>>4,t|=t>>8,t|=t>>16,++t},a.previousPowerOfTwo=function(t){if("number"!=typeof t||t<0||t>0xffffffff)throw new r("A number between 0 and (2^32)-1 is required.");return t|=t>>1,t|=t>>2,t|=t>>4,t|=t>>8,t|=t>>16,t|=t>>32,t=(t>>>0)-(t>>>1)},a.clamp=function(t,e,i){return n.typeOf.number("value",t),n.typeOf.number("min",e),n.typeOf.number("max",i),t<e?e:t>i?i:t};let u=new e.default;a.setRandomNumberSeed=function(t){if(!i(t))throw new r("seed is required.");u=new e.default(t)},a.nextRandomNumber=function(){return u.random()},a.randomBetween=function(t,e){return a.nextRandomNumber()*(e-t)+t},a.acosClamped=function(t){if(!i(t))throw new r("value is required.");return Math.acos(a.clamp(t,-1,1))},a.asinClamped=function(t){if(!i(t))throw new r("value is required.");return Math.asin(a.clamp(t,-1,1))},a.chordLength=function(t,e){if(!i(t))throw new r("angle is required.");if(!i(e))throw new r("radius is required.");return 2*e*Math.sin(.5*t)},a.logBase=function(t,e){if(!i(t))throw new r("number is required.");if(!i(e))throw new r("base is required.");return Math.log(t)/Math.log(e)},a.cbrt=Math.cbrt??function(t){let e=Math.pow(Math.abs(t),1/3);return t<0?-e:e},a.log2=Math.log2??function(t){return Math.log(t)*Math.LOG2E},a.fog=function(t,e){let i=t*e;return 1-Math.exp(-(i*i))},a.fastApproximateAtan=function(t){return n.typeOf.number("x",t),t*(-.1784*Math.abs(t)-.0663*t*t+1.0301)},a.fastApproximateAtan2=function(t,e){let i;n.typeOf.number("x",t),n.typeOf.number("y",e);let s=Math.abs(t),o=Math.max(s,i=Math.abs(e)),u=(i=Math.min(s,i))/o;if(isNaN(u))throw new r("either x or y must be nonzero");return s=a.fastApproximateAtan(u),s=Math.abs(e)>Math.abs(t)?a.PI_OVER_TWO-s:s,s=t<0?a.PI-s:s,s=e<0?-s:s},t.s(["default",0,a],20820),t.s(["Math",0,a],249281)},601550,t=>{"use strict";var e=t.i(416340),i=t.i(68126),r=t.i(289780),n=t.i(698576),s=t.i(122538),a=class extends n.Subscribable{#h;#E=void 0;#v;#b;constructor(t,e){super(),this.#h=t,this.setOptions(e),this.bindMethods(),this.#_()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){let e=this.options;this.options=this.#h.defaultMutationOptions(t),(0,s.shallowEqualObjects)(this.options,e)||this.#h.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#v,observer:this}),e?.mutationKey&&this.options.mutationKey&&(0,s.hashKey)(e.mutationKey)!==(0,s.hashKey)(this.options.mutationKey)?this.reset():this.#v?.state.status==="pending"&&this.#v.
2setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#v?.removeObserver(this)}onMutationUpdate(t){this.#_(),this.#g(t)}getCurrentResult(){return this.#E}reset(){this.#v?.removeObserver(this),this.#v=void 0,this.#_(),this.#g()}mutate(t,e){return this.#b=e,this.#v?.removeObserver(this),this.#v=this.#h.getMutationCache().build(this.#h,this.options),this.#v.addObserver(this),this.#v.execute(t)}#_(){let t=this.#v?.state??(0,i.getDefaultState)();this.#E={...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset}}#g(t){r.notifyManager.batch(()=>{if(this.#b&&this.hasListeners()){let e=this.#E.variables,i=this.#E.context,r={client:this.#h,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#b.onSuccess?.(t.data,e,i,r)}catch(t){Promise.reject(t)}try{this.#b.onSettled?.(t.data,null,e,i,r)}catch(t){Promise.reject(t)}}else if(t?.type==="error"){try{this.#b.onError?.(t.error,e,i,r)}catch(t){Promise.reject(t)}try{this.#b.onSettled?.(void 0,t.error,e,i,r)}catch(t){Promise.reject(t)}}}this.listeners.forEach(t=>{t(this.#E)})})}},o=t.i(318594);t.s(["useMutation",0,function(t,i){let n=(0,o.useQueryClient)(i),[u]=e.useState(()=>new a(n,t));e.useEffect(()=>{u.setOptions(t)},[u,t]);let l=e.useSyncExternalStore(e.useCallback(t=>u.subscribe(r.notifyManager.batchCalls(t)),[u]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),c=e.useCallback((t,e)=>{u.mutate(t,e).catch(s.noop)},[u]);if(l.error&&(0,s.shouldThrowError)(u.options.throwOnError,[l.error]))throw l.error;return{...l,mutate:c,mutateAsync:l.mutate}}],601550)}]);

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.