vendor: 17,077 bytes, lines 1-9
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/scouter-CVbtYMNc.js","assets/jsx-runtime-DGeXAQPT.js","assets/group-C6XXX8yX.js","assets/editorial-duo.png.asset-D4AvAS_q.js","assets/LatestNews-CEmv-c-k.js","assets/SmartImage-CubBhrK6.js","assets/react-vt4WmSOl.js","assets/i18n-data-C_pBIs2_.js","assets/link-PrKAHay1.js","assets/useRouter-DjxpDcdu.js","assets/RevealOnView-Bmhv8z0T.js","assets/gallery-CRkpN-e8.js","assets/data-tWUlDiEa.js","assets/fragrance-BZe55MZr.js","assets/contact-C2_VY-P_.js","assets/competitions-DyjWH4en.js","assets/art-D2WZ0ouX.js","assets/art-5-C1xJWc7K.js","assets/art-6-BUoQyo9z.js","assets/fragrance-3-BNQ3Zx_0.js","assets/about-BsO4m10d.js","assets/routes-DvUniFAm.js","assets/notes.index-D9O-o_f5.js","assets/magazine.index-DBejjOHx.js","assets/LangToggle-BBvGqaZz.js","assets/artists.index-teLlbetd.js","assets/writer._id-pj0umqlt.js","assets/writer._id-DaBrADK9.js","assets/writer._id-BaYuPWqA.js","assets/notes._slug-ugr3kTLl.js","assets/notes._slug-CalUVwll.js","assets/notes._slug-CBfD3VBG.js","assets/magazine._slug-B5l2kB6q.js","assets/magazine._slug-CNSs6yhD.js","assets/magazine._slug-Bgp3t5dk.js","assets/curation._key-CCnfAxQW.js","assets/curation._key-UZHDukQ_.js","assets/curation._key-nbiCoaTp.js","assets/artwork._id-D1OQlFFm.js","assets/artists._id-B864sf9Y.js","assets/artists._id-CNSs6yhD.js","assets/artists._id-B6WehHdZ.js","assets/_._lovable.oauth.consent-D9wCN93c.js","assets/_._lovable.oauth.consent-CYVHsCAD.js"])))=>i.map(i=>d[i]); 2import{n as e,r as t,t as n}from"./jsx-runtime-DGeXAQPT.js";import{t as r}from"./react-vt4WmSOl.js";import{A as i,C as a,D as o,E as s,F as c,I as l,L as u,M as d,N as f,O as p,P as m,R as h,S as g,T as _,_ as v,a as y,b,c as x,d as S,f as C,g as ee,h as te,i as ne,j as re,k as ie,l as ae,m as oe,n as w,o as se,p as ce,r as le,s as E,t as D,u as ue,v as de,w as fe,x as pe,y as me}from"./link-PrKAHay1.js";import{n as O,t as he}from"./useRouter-DjxpDcdu.js";import{t as k}from"./preload-helper-zJ_50EbN.js";import{i as ge,n as _e,r as ve,t as ye}from"./art-5-C1xJWc7K.js";import{n as be,t as xe}from"./art-6-BUoQyo9z.js";import{n as Se,t as Ce}from"./fragrance-3-BNQ3Zx_0.js";var we=e((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,S||(S=!0,ie());else{var t=n(l);t!==null&&w(x,t.startTime-e)}}var S=!1,C=-1,ee=5,te=-1;function ne(){return g?!0:!(e.unstable_now()-te<ee)}function re(){if(g=!1,S){var t=e.unstable_now();te=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&ne());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&w(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?ie():S=!1}}}var ie;if(typeof y==`function`)ie=function(){y(re)};else if(typeof MessageChannel<`u`){var ae=new MessageChannel,oe=ae.port2;ae.port1.onmessage=re,ie=function(){oe.postMessage(null)}}else ie=function(){_(re,0)};function w(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):ee=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,w(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,ie()))),r},e.unstable_shouldYield=ne,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),Te=e(((e,t)=>{t.exports=we()})),Ee=e((e=>{var t=Te(),n=r(),i=h();function a(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function s(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function c(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function u(e){if(s(e)!==e)throw Error(a(188))}function d(e){var t=e.alternate;if(!t){if(t=s(e),t===null)throw Error(a(188));return t===e?e:null}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return u(i),e;if(o===r)return u(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var c=!1,l=i.child;l;){if(l===n){c=!0,n=i,r=o;break}if(l===r){c=!0,r=i,n=o;break}l=l.sibling}if(!c){for(l=o.child;l;){if(l===n){c=!0,n=o,r=i;break}if(l===r){c=!0,r=o,n=i;break}l=l.sibling}if(!c)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(n.tag!==3)throw Error(a(188));return n.stateNode.current===n?e:t}function f(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=f(e),t!==null)return t;e=e.sibling}return null}var p=Object.assign,m=Symbol.for(`react.element`),g=Symbol.for(`react.transitional.element`),_=Symbol.for(`react.portal`),v=Symbol.for(`react.fragment`),y=Symbol.for(`react.strict_mode`),b=Symbol.for(`react.profiler`),x=Symbol.for(`react.consumer`),S=Symbol.for(`react.context`),C=Symbol.for(`react.forward_ref`),ee=Symbol.for(`react.suspense`),te=Symbol.for(`react.suspense_list`),ne=Symbol.for(`react.memo`),re=Symbol.for(`react.lazy`),ie=Symbol.for(`react.activity`),ae=Symbol.for(`react.memo_cache_sentinel`),oe=Symbol.iterator;function w(e){return typeof e!=`object`||!e?null:(e=oe&&e[oe]||e[`@@iterator`],typeof e==`function`?e:null)}var se=Symbol.for(`react.client.reference`);function ce(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===se?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case v:return`Fragment`;case b:return`Profiler`;case y:return`StrictMode`;case ee:return`Suspense`;case te:return`SuspenseList`;case ie:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case _:return`Portal`;case S:return e.displayName||`Context`;case x:return(e._context.displayName||`Context`)+`.Consumer`;case C:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ne:return t=e.displayName||null,t===null?ce(e.type)||`Memo`:t;case re:t=e._payload,e=e._init;try{return ce(e(t))}catch{}}return null}var le=Array.isArray,E=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ue={pending:!1,data:null,method:null,action:null},de=[],fe=-1;function pe(e){return{current:e}}function me(e){0>fe||(e.current=de[fe],de[fe]=null,fe--)}function O(e,t){fe++,de[fe]=e.current,e.current=t}var he=pe(null),k=pe(null),ge=pe(null),_e=pe(null);function ve(e,t){switch(O(ge,t),O(k,e),O(he,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Gd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Gd(t),e=Kd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}me(he),O(he,e)}function ye(){me(he),me(k),me(ge)}function be(e){e.memoizedState!==null&&O(_e,e);var t=he.current,n=Kd(t,e.type);t!==n&&(O(k,e),O(he,n))}function xe(e){k.current===e&&(me(he),me(k)),_e.current===e&&(me(_e),tp._currentValue=ue)}var Se,Ce;function we(e){if(Se===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Se=t&&t[1]||``,Ce=-1<e.stack.indexOf(` 3 at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return` 4`+Se+e+Ce}var Ee=!1;function De(e,t){if(!e||Ee)return``;Ee=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(` 5`),l=s.split(` 6`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=` 7`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Ee=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?we(n):``}function Oe(e,t){switch(e.tag){case 26:case 27:case 5:return we(e.type);case 16:return we(`Lazy`);case 13:return e.child!==t&&t!==null?we(`Suspense Fallback`):we(`Suspense`);case 19:return we(`SuspenseList`);case 0:case 15:return De(e.type,!1);case 11:return De(e.type.render,!1);case 1:return De(e.type,!0);case 31:return we(`Activity`);default:return``}}function ke(e){try{var t=``,n=null;do t+=Oe(e,n),n=e,e=e.return;while(e);return t}catch(e){return` 8Error generating stack: `+e.message+` 9`+e.stack}}var Ae=Object.prototype.hasOwnProperty,je=t.unstable_scheduleCallback,Me=t.unstable_cancelCallback,Ne=t.unstable_shouldYield,Pe=t.unstable_requestPaint,Fe=t.unstable_now,Ie=t.unstable_getCurrentPriorityLevel,Le=t.unstable_ImmediatePriority,Re=t.unstable_UserBlockingPriority,ze=t.unstable_NormalPriority,Be=t.unstable_LowPriority,Ve=t.unstable_IdlePriority,He=t.log,Ue=t.unstable_setDisableYieldValue,We=null,Ge=null;function Ke(e){if(typeof He==`function`&&Ue(e),Ge&&typeof Ge.setStrictMode==`function`)try{Ge.setStrictMode(We,e)}catch{}}var qe=Math.clz32?Math.clz32:Xe,Je=Math.log,Ye=Math.LN2;function Xe(e){return e>>>=0,e===0?32:31-(Je(e)/Ye|0)|0}var Ze=256,Qe=262144,$e=4194304;function et(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function tt(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=et(n))):i=et(o):i=et(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=et(n))):i=et(o)):i=et(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function nt(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function rt(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function it(){var e=$e;return $e<<=1,!($e&62914560)&&($e=4194304),e}function at(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ot(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function st(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-qe(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&ct(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function ct(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-qe(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function lt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-qe(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function ut(e,t){var n=t&-t;return n=n&42?1:dt(n),(n&(e.suspendedLanes|t))===0?n:0}function dt(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ft(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function pt(){var e=D.p;return e===0?(e=window.event,e===void 0?32:gp(e.type)):e}function mt(e,t){var n=D.p;try{return D.p=e,t()}finally{D.p=n}}var ht=Math.random().toString(36).slice(2),gt=`__reactFiber$`+ht,_t=`__reactProps$`+ht,vt=`__reactContainer$`+ht,yt=`__reactEvents$`+ht,bt=`__reactListeners$`+ht,xt=`__reactHandles$`+ht,St=`__reactResources$`+ht,Ct=`__reactMarker$`+ht;function wt(e){delete e[gt],delete e[_t],delete e[yt],delete e[bt],delete e[xt]}function Tt(e){var t=e[gt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[vt]||n[gt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=mf(e);e!==null;){if(n=e[gt])return n;e=mf(e)}return t}e=n,n=e.parentNode}return null}function Et(e){if(e=e[gt]||e[vt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Dt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(a(33))}function Ot(e){var t=e[St];return t||=e[St]={hoistableStyles:new Map,hoistableScripts:new Map},t}function kt(e){e[Ct]=!0}var At=new Set,jt={};function Mt(e,t){Nt(e,t),Nt(e+`Capture`,t)}function Nt(e,t){for(jt[e]=t,e=0;e<t.length;e++)At.add(t[e])}var Pt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
9037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),Ft={},It={};function Lt(e){return Ae.call(It,e)?!0:Ae.call(Ft,e)?!1:Pt.test(e)?It[e]=!0:(Ft[e]=!0,!1)}function Rt(e,t,n){if(Lt(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}function zt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function Bt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}function Vt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Ht(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Ut(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Wt(e){if(!e._valueTracker){var t=Ht(e)?`checked`:`value`;e._valueTracker=Ut(e,t,``+e[t])}}function Gt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Ht(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Kt(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var qt=/[\n"\\]/g;function Jt(e){return e.replace(qt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Yt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Vt(t)):e.value!==``+Vt(t)&&(e.value=``+Vt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Zt(e,o,Vt(n)):Zt(e,o,Vt(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Vt(s):e.removeAttribute(`name`)}function Xt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){Wt(e);return}n=n==null?``:``+Vt(n),t=t==null?n:``+Vt(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),Wt(e)}function Zt(e,t,n){t===`number`&&Kt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Qt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+Vt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function $t(e,t,n){if(t!=null&&(t=``+Vt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Vt(n)}function en(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(a(92));if(le(r)){if(1<r.length)throw Error(a(93));r=r[0]}n=r}n??=``,t=n}
vendor: 133,160 bytes, lines 9-10
9n=Vt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Wt(e)}function tn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var nn=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function rn(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||nn.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function an(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(a(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var i in t)r=t[i],t.hasOwnProperty(i)&&n[i]!==r&&rn(e,i,r)}else for(var o in t)t.hasOwnProperty(o)&&rn(e,o,t[o])}function on(e){if(e.indexOf(`-`)===-1)return!1;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var sn=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),cn=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ln(e){return cn.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function un(){}var dn=null;function fn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var pn=null,mn=null;function hn(e){var t=Et(e);if(t&&(e=t.stateNode)){var n=e[_t]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Yt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+Jt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[_t]||null;if(!i)throw Error(a(90));Yt(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&Gt(r)}break a;case`textarea`:$t(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Qt(e,!!n.multiple,t,!1)}}}var gn=!1;function _n(e,t,n){if(gn)return e(t,n);gn=!0;try{return e(t)}finally{if(gn=!1,(pn!==null||mn!==null)&&(wu(),pn&&(t=pn,e=mn,mn=pn=null,hn(t),e)))for(t=0;t<e.length;t++)hn(e[t])}}function vn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[_t]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(a(231,t,typeof n));return n}var yn=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),bn=!1;if(yn)try{var xn={};Object.defineProperty(xn,"passive",{get:function(){bn=!0}}),window.addEventListener(`test`,xn,xn),window.removeEventListener(`test`,xn,xn)}catch{bn=!1}var Sn=null,Cn=null,wn=null;function Tn(){if(wn)return wn;var e,t=Cn,n=t.length,r,i=`value`in Sn?Sn.value:Sn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return wn=i.slice(e,1<r?1-r:void 0)}function En(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Dn(){return!0}function A(){return!1}function On(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?Dn:A,this.isPropagationStopped=A,this}return p(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=Dn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Dn)},persist:function(){},isPersistent:Dn}),t}var kn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},An=On(kn),j=p({},kn,{view:0,detail:0}),jn=On(j),Mn,Nn,Pn,Fn=p({},j,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Kn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==Pn&&(Pn&&e.type===`mousemove`?(Mn=e.screenX-Pn.screenX,Nn=e.screenY-Pn.screenY):Nn=Mn=0,Pn=e),Mn)},movementY:function(e){return`movementY`in e?e.movementY:Nn}}),In=On(Fn),Ln=On(p({},Fn,{dataTransfer:0})),Rn=On(p({},j,{relatedTarget:0})),zn=On(p({},kn,{animationName:0,elapsedTime:0,pseudoElement:0})),Bn=On(p({},kn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Vn=On(p({},kn,{data:0})),Hn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Un={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Wn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Gn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Wn[e])?!!t[e]:!1}function Kn(){return Gn}var qn=On(p({},j,{key:function(e){if(e.key){var t=Hn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=En(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Un[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Kn,charCode:function(e){return e.type===`keypress`?En(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?En(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Jn=On(p({},Fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Yn=On(p({},j,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Kn})),Xn=On(p({},kn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Zn=On(p({},Fn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Qn=On(p({},kn,{newState:0,oldState:0})),$n=[9,13,27,32],er=yn&&`CompositionEvent`in window,tr=null;yn&&`documentMode`in document&&(tr=document.documentMode);var nr=yn&&`TextEvent`in window&&!tr,rr=yn&&(!er||tr&&8<tr&&11>=tr),ir=` `,ar=!1;function or(e,t){switch(e){case`keyup`:return $n.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function sr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var cr=!1;function lr(e,t){switch(e){case`compositionend`:return sr(t);case`keypress`:return t.which===32?(ar=!0,ir):null;case`textInput`:return e=t.data,e===ir&&ar?null:e;default:return null}}function ur(e,t){if(cr)return e===`compositionend`||!er&&or(e,t)?(e=Tn(),wn=Cn=Sn=null,cr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return rr&&t.locale!==`ko`?null:t.data;default:return null}}var dr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!dr[e.type]:t===`textarea`}function pr(e,t,n,r){pn?mn?mn.push(r):mn=[r]:pn=r,t=Ad(t,`onChange`),0<t.length&&(n=new An(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var mr=null,hr=null;function gr(e){Cd(e,0)}function _r(e){if(Gt(Dt(e)))return e}function vr(e,t){if(e===`change`)return t}var yr=!1;if(yn){var br;if(yn){var xr=`oninput`in document;if(!xr){var Sr=document.createElement(`div`);Sr.setAttribute(`oninput`,`return;`),xr=typeof Sr.oninput==`function`}br=xr}else br=!1;yr=br&&(!document.documentMode||9<document.documentMode)}function Cr(){mr&&(mr.detachEvent(`onpropertychange`,wr),hr=mr=null)}function wr(e){if(e.propertyName===`value`&&_r(hr)){var t=[];pr(t,hr,e,fn(e)),_n(gr,t)}}function Tr(e,t,n){e===`focusin`?(Cr(),mr=t,hr=n,mr.attachEvent(`onpropertychange`,wr)):e===`focusout`&&Cr()}function Er(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return _r(hr)}function Dr(e,t){if(e===`click`)return _r(t)}function Or(e,t){if(e===`input`||e===`change`)return _r(t)}function kr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Ar=typeof Object.is==`function`?Object.is:kr;function jr(e,t){if(Ar(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Ae.call(t,i)||!Ar(e[i],t[i]))return!1}return!0}function Mr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Nr(e,t){var n=Mr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Mr(n)}}function Pr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Pr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Fr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Kt(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Kt(e.document)}return t}function Ir(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Lr=yn&&`documentMode`in document&&11>=document.documentMode,Rr=null,zr=null,Br=null,Vr=!1;function Hr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Vr||Rr==null||Rr!==Kt(r)||(r=Rr,`selectionStart`in r&&Ir(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Br&&jr(Br,r)||(Br=r,r=Ad(zr,`onSelect`),0<r.length&&(t=new An(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Rr)))}function Ur(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Wr={animationend:Ur(`Animation`,`AnimationEnd`),animationiteration:Ur(`Animation`,`AnimationIteration`),animationstart:Ur(`Animation`,`AnimationStart`),transitionrun:Ur(`Transition`,`TransitionRun`),transitionstart:Ur(`Transition`,`TransitionStart`),transitioncancel:Ur(`Transition`,`TransitionCancel`),transitionend:Ur(`Transition`,`TransitionEnd`)},Gr={},Kr={};yn&&(Kr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Wr.animationend.animation,delete Wr.animationiteration.animation,delete Wr.animationstart.animation),`TransitionEvent`in window||delete Wr.transitionend.transition);function qr(e){if(Gr[e])return Gr[e];if(!Wr[e])return e;var t=Wr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Kr)return Gr[e]=t[n];return e}var Jr=qr(`animationend`),Yr=qr(`animationiteration`),Xr=qr(`animationstart`),Zr=qr(`transitionrun`),Qr=qr(`transitionstart`),$r=qr(`transitioncancel`),ei=qr(`transitionend`),ti=new Map,ni=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);ni.push(`scrollEnd`);function ri(e,t){ti.set(e,t),Mt(t,[e])}var ii=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},ai=[],oi=0,si=0;function ci(){for(var e=oi,t=si=oi=0;t<e;){var n=ai[t];ai[t++]=null;var r=ai[t];ai[t++]=null;var i=ai[t];ai[t++]=null;var a=ai[t];if(ai[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&fi(n,i,a)}}function li(e,t,n,r){ai[oi++]=e,ai[oi++]=t,ai[oi++]=n,ai[oi++]=r,si|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function ui(e,t,n,r){return li(e,t,n,r),pi(e)}function di(e,t){return li(e,null,null,t),pi(e)}function fi(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-qe(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function pi(e){if(50<hu)throw hu=0,gu=null,Error(a(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var mi={};function hi(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gi(e,t,n,r){return new hi(e,t,n,r)}function _i(e){return e=e.prototype,!(!e||!e.isReactComponent)}function vi(e,t){var n=e.alternate;return n===null?(n=gi(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function yi(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function bi(e,t,n,r,i,o){var s=0;if(r=e,typeof e==`function`)_i(e)&&(s=1);else if(typeof e==`string`)s=Kf(e,n,he.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case ie:return e=gi(31,n,t,i),e.elementType=ie,e.lanes=o,e;case v:return xi(n.children,i,o,t);case y:s=8,i|=24;break;case b:return e=gi(12,n,t,i|2),e.elementType=b,e.lanes=o,e;case ee:return e=gi(13,n,t,i),e.elementType=ee,e.lanes=o,e;case te:return e=gi(19,n,t,i),e.elementType=te,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case S:s=10;break a;case x:s=9;break a;case C:s=11;break a;case ne:s=14;break a;case re:s=16,r=null;break a}s=29,n=Error(a(130,e===null?`null`:typeof e,``)),r=null}return t=gi(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function xi(e,t,n,r){return e=gi(7,e,r,t),e.lanes=n,e}function Si(e,t,n){return e=gi(6,e,null,t),e.lanes=n,e}function Ci(e){var t=gi(18,null,null,0);return t.stateNode=e,t}function wi(e,t,n){return t=gi(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Ti=new WeakMap;function Ei(e,t){if(typeof e==`object`&&e){var n=Ti.get(e);return n===void 0?(t={value:e,source:t,stack:ke(t)},Ti.set(e,t),t):n}return{value:e,source:t,stack:ke(t)}}var Di=[],Oi=0,ki=null,Ai=0,ji=[],Mi=0,Ni=null,Pi=1,Fi=``;function Ii(e,t){Di[Oi++]=Ai,Di[Oi++]=ki,ki=e,Ai=t}function Li(e,t,n){ji[Mi++]=Pi,ji[Mi++]=Fi,ji[Mi++]=Ni,Ni=e;var r=Pi;e=Fi;var i=32-qe(r)-1;r&=~(1<<i),n+=1;var a=32-qe(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Pi=1<<32-qe(t)+i|n<<i|r,Fi=a+e}else Pi=1<<a|n<<i|r,Fi=e}function Ri(e){e.return!==null&&(Ii(e,1),Li(e,1,0))}function zi(e){for(;e===ki;)ki=Di[--Oi],Di[Oi]=null,Ai=Di[--Oi],Di[Oi]=null;for(;e===Ni;)Ni=ji[--Mi],ji[Mi]=null,Fi=ji[--Mi],ji[Mi]=null,Pi=ji[--Mi],ji[Mi]=null}function Bi(e,t){ji[Mi++]=Pi,ji[Mi++]=Fi,ji[Mi++]=Ni,Pi=t.id,Fi=t.overflow,Ni=e}var M=null,Vi=null,N=!1,Hi=null,Ui=!1,Wi=Error(a(519));function Gi(e){throw Zi(Ei(Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Wi}function Ki(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[gt]=e,t[_t]=r,n){case`dialog`:Y(`cancel`,t),Y(`close`,t);break;case`iframe`:case`object`:case`embed`:Y(`load`,t);break;case`video`:case`audio`:for(n=0;n<xd.length;n++)Y(xd[n],t);break;case`source`:Y(`error`,t);break;case`img`:case`image`:case`link`:Y(`error`,t),Y(`load`,t);break;case`details`:Y(`toggle`,t);break;case`input`:Y(`invalid`,t),Xt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:Y(`invalid`,t);break;case`textarea`:Y(`invalid`,t),en(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||Id(t.textContent,n)?(r.popover!=null&&(Y(`beforetoggle`,t),Y(`toggle`,t)),r.onScroll!=null&&Y(`scroll`,t),r.onScrollEnd!=null&&Y(`scrollend`,t),r.onClick!=null&&(t.onclick=un),t=!0):t=!1,t||Gi(e,!0)}function qi(e){for(M=e.return;M;)switch(M.tag){case 5:case 31:case 13:Ui=!1;return;case 27:case 3:Ui=!0;return;default:M=M.return}}function Ji(e){if(e!==M)return!1;if(!N)return qi(e),N=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||qd(e.type,e.memoizedProps)),n=!n),n&&Vi&&Gi(e),qi(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(a(317));Vi=pf(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(a(317));Vi=pf(e)}else t===27?(t=Vi,tf(e.type)?(e=ff,ff=null,Vi=e):Vi=t):Vi=M?df(e.stateNode.nextSibling):null;return!0}function Yi(){Vi=M=null,N=!1}function Xi(){var e=Hi;return e!==null&&(tu===null?tu=e:tu.push.apply(tu,e),Hi=null),e}function Zi(e){Hi===null?Hi=[e]:Hi.push(e)}var Qi=pe(null),$i=null,ea=null;function ta(e,t,n){O(Qi,t._currentValue),t._currentValue=n}function na(e){e._currentValue=Qi.current,me(Qi)}function ra(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function ia(e,t,n,r){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var o=i.dependencies;if(o!==null){var s=i.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=i;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),ra(o.return,n,e),r||(s=null);break a}o=c.next}}else if(i.tag===18){if(s=i.return,s===null)throw Error(a(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),ra(s,n,e),s=null}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===e){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}}function aa(e,t,n,r){e=null;for(var i=t,o=!1;i!==null;){if(!o){if(i.flags&524288)o=!0;else if(i.flags&262144)break}if(i.tag===10){var s=i.alternate;if(s===null)throw Error(a(387));if(s=s.memoizedProps,s!==null){var c=i.type;Ar(i.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(i===_e.current){if(s=i.alternate,s===null)throw Error(a(387));s.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e===null?e=[tp]:e.push(tp))}i=i.return}e!==null&&ia(t,e,n,r),t.flags|=262144}function oa(e){for(e=e.firstContext;e!==null;){if(!Ar(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function sa(e){$i=e,ea=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ca(e){return ua($i,e)}function la(e,t){return $i===null&&sa(e),ua(e,t)}function ua(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},ea===null){if(e===null)throw Error(a(308));ea=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ea=ea.next=t;return n}var da=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},fa=t.unstable_scheduleCallback,pa=t.unstable_NormalPriority,ma={$$typeof:S,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ha(){return{controller:new da,data:new Map,refCount:0}}function ga(e){e.refCount--,e.refCount===0&&fa(pa,function(){e.controller.abort()})}var _a=null,va=0,ya=0,ba=null;function xa(e,t){if(_a===null){var n=_a=[];va=0,ya=hd(),ba={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return va++,t.then(Sa,Sa),t}function Sa(){if(--va===0&&_a!==null){ba!==null&&(ba.status=`fulfilled`);var e=_a;_a=null,ya=0,ba=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Ca(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var wa=E.S;E.S=function(e,t){iu=Fe(),typeof t==`object`&&t&&typeof t.then==`function`&&xa(e,t),wa!==null&&wa(e,t)};var Ta=pe(null);function Ea(){var e=Ta.current;return e===null?W.pooledCache:e}function Da(e,t){t===null?O(Ta,Ta.current):O(Ta,t.pool)}function Oa(){var e=Ea();return e===null?null:{parent:ma._currentValue,pool:e}}var ka=Error(a(460)),Aa=Error(a(474)),ja=Error(a(542)),Ma={then:function(){}};function Na(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Pa(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(un,un),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,P(e),e;default:if(typeof t.status==`string`)t.then(un,un);else{if(e=W,e!==null&&100<e.shellSuspendCounter)throw Error(a(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,P(e),e}throw Ia=t,ka}}function Fa(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Ia=e,ka):e}}var Ia=null;function La(){if(Ia===null)throw Error(a(459));var e=Ia;return Ia=null,e}function P(e){if(e===ka||e===ja)throw Error(a(483))}var Ra=null,za=0;function Ba(e){var t=za;return za+=1,Ra===null&&(Ra=[]),Pa(Ra,e,t)}function Va(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Ha(e,t){throw t.$$typeof===m?Error(a(525)):(e=Object.prototype.toString.call(t),Error(a(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Ua(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function i(e,t){return e=vi(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=Si(n,e.mode,r),t.return=e,t):(t=i(t,n),t.return=e,t)}function l(e,t,n,r){var a=n.type;return a===v?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===a||typeof a==`object`&&a&&a.$$typeof===re&&Fa(a)===t.type)?(t=i(t,n.props),Va(t,n),t.return=e,t):(t=bi(n.type,n.key,n.props,null,e.mode,r),Va(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=wi(n,e.mode,r),t.return=e,t):(t=i(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,a){return t===null||t.tag!==7?(t=xi(n,e.mode,r,a),t.return=e,t):(t=i(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=Si(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case g:return n=bi(t.type,t.key,t.props,null,e.mode,n),Va(n,t),n.return=e,n;case _:return t=wi(t,e.mode,n),t.return=e,t;case re:return t=Fa(t),f(e,t,n)}if(le(t)||w(t))return t=xi(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Ba(t),n);if(t.$$typeof===S)return f(e,la(e,t),n);Ha(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case g:return n.key===i?l(e,t,n,r):null;case _:return n.key===i?u(e,t,n,r):null;case re:return n=Fa(n),p(e,t,n,r)}if(le(n)||w(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Ba(n),r);if(n.$$typeof===S)return p(e,t,la(e,n),r);Ha(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case g:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case _:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case re:return r=Fa(r),m(e,t,n,r,i)}if(le(r)||w(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,Ba(r),i);if(r.$$typeof===S)return m(e,t,n,la(t,r),i);Ha(t,r)}return null}function h(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),N&&Ii(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return N&&Ii(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),N&&Ii(i,h),l}function y(i,s,c,l){if(c==null)throw Error(a(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(i,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(i,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(i,h),N&&Ii(i,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(i,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return N&&Ii(i,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,i,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(i,e)}),N&&Ii(i,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===v&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case g:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===v){if(r.tag===7){n(e,r.sibling),c=i(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===re&&Fa(l)===r.type){n(e,r.sibling),c=i(r,o.props),Va(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===v?(c=xi(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=bi(o.type,o.key,o.props,null,e.mode,c),Va(c,o),c.return=e,e=c)}return s(e);case _:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=i(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=wi(o,e.mode,c),c.return=e,e=c}return s(e);case re:return o=Fa(o),b(e,r,o,c)}if(le(o))return h(e,r,o,c);if(w(o)){if(l=w(o),typeof l!=`function`)throw Error(a(150));return o=l.call(o),y(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,Ba(o),c);if(o.$$typeof===S)return b(e,r,la(e,o),c);Ha(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=i(r,o),c.return=e,e=c):(n(e,r),c=Si(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{za=0;var i=b(e,t,n,r);return Ra=null,i}catch(t){if(t===ka||t===ja)throw t;var a=gi(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Wa=Ua(!0),Ga=Ua(!1),Ka=!1;function qa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ja(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ya(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Xa(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,U&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=pi(e),fi(e,null,n),t}return li(e,r,t,n),pi(e)}function Za(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,lt(e,n)}}function Qa(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var $a=!1;function eo(){if($a){var e=ba;if(e!==null)throw e}}function to(e,t,n,r){$a=!1;var i=e.updateQueue;Ka=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,m=f!==s.lane;if(m?(K&f)===f:(r&f)===f){f!==0&&f===ya&&($a=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;f=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,f);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,f=typeof h==`function`?h.call(_,d,f):h,f==null)break a;d=p({},d,f);break a;case 2:Ka=!0}}f=s.callback,f!==null&&(e.flags|=64,m&&(e.flags|=8192),m=i.callbacks,m===null?i.callbacks=[f]:m.push(f))}else m={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=m,c=d):u=u.next=m,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Yl|=o,e.lanes=o,e.memoizedState=d}}function no(e,t){if(typeof e!=`function`)throw Error(a(191,e));e.call(t)}function ro(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)no(n[e],t)}var io=pe(null),ao=pe(0);function oo(e,t){e=ql,O(ao,e),O(io,t),ql=e|t.baseLanes}function so(){O(ao,ql),O(io,io.current)}function co(){ql=ao.current,me(io),me(ao)}var lo=pe(null),uo=null;function fo(e){var t=e.alternate;O(_o,_o.current&1),O(lo,e),uo===null&&(t===null||io.current!==null||t.memoizedState!==null)&&(uo=e)}function po(e){O(_o,_o.current),O(lo,e),uo===null&&(uo=e)}function mo(e){e.tag===22?(O(_o,_o.current),O(lo,e),uo===null&&(uo=e)):ho(e)}function ho(){O(_o,_o.current),O(lo,lo.current)}function go(e){me(lo),uo===e&&(uo=null),me(_o)}var _o=pe(0);function vo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||cf(n)||lf(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var yo=0,F=null,I=null,bo=null,xo=!1,So=!1,Co=!1,wo=0,To=0,Eo=null,Do=0;function Oo(){throw Error(a(321))}function ko(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ar(e[n],t[n]))return!1;return!0}function Ao(e,t,n,r,i,a){return yo=a,F=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,E.H=e===null||e.memoizedState===null?Us:Ws,Co=!1,a=n(r,i),Co=!1,So&&(a=Mo(t,n,r,i)),jo(e),a}function jo(e){E.H=Hs;var t=I!==null&&I.next!==null;if(yo=0,bo=I=F=null,xo=!1,To=0,Eo=null,t)throw Error(a(300));e===null||sc||(e=e.dependencies,e!==null&&oa(e)&&(sc=!0))}function Mo(e,t,n,r){F=e;var i=0;do{if(So&&(Eo=null),To=0,So=!1,25<=i)throw Error(a(301));if(i+=1,bo=I=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}E.H=Gs,o=t(n,r)}while(So);return o}function No(){var e=E.H,t=e.useState()[0];return t=typeof t.then==`function`?Ro(t):t,e=e.useState()[0],(I===null?null:I.memoizedState)!==e&&(F.flags|=1024),t}function L(){var e=wo!==0;return wo=0,e}function R(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Po(e){if(xo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}xo=!1}yo=0,bo=I=F=null,So=!1,To=wo=0,Eo=null}function Fo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return bo===null?F.memoizedState=bo=e:bo=bo.next=e,bo}function Io(){if(I===null){var e=F.alternate;e=e===null?null:e.memoizedState}else e=I.next;var t=bo===null?F.memoizedState:bo.next;if(t!==null)bo=t,I=e;else{if(e===null)throw F.alternate===null?Error(a(467)):Error(a(310));I=e,e={memoizedState:I.memoizedState,baseState:I.baseState,baseQueue:I.baseQueue,queue:I.queue,next:null},bo===null?F.memoizedState=bo=e:bo=bo.next=e}return bo}function Lo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ro(e){var t=To;return To+=1,Eo===null&&(Eo=[]),e=Pa(Eo,e,t),t=F,(bo===null?t.memoizedState:bo.next)===null&&(t=t.alternate,E.H=t===null||t.memoizedState===null?Us:Ws),e}function zo(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Ro(e);if(e.$$typeof===S)return ca(e)}throw Error(a(438,String(e)))}function Bo(e){var t=null,n=F.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=F.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=Lo(),F.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=ae;return t.index++,n}function Vo(e,t){return typeof t==`function`?t(e):t}function z(e){return Ho(Io(),I,e)}function Ho(e,t,n){var r=e.queue;if(r===null)throw Error(a(311));r.lastRenderedReducer=n;var i=e.baseQueue,o=r.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}t.baseQueue=i=o,r.pending=null}if(o=e.baseState,i===null)e.memoizedState=o;else{t=i.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(yo&f)===f:(K&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===ya&&(d=!0);else if((yo&p)===p){u=u.next,p===ya&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,F.lanes|=p,Yl|=p;f=u.action,Co&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,F.lanes|=f,Yl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!Ar(o,e.memoizedState)&&(sc=!0,d&&(n=ba,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return i===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Uo(e){var t=Io(),n=t.queue;if(n===null)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);Ar(o,t.memoizedState)||(sc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Wo(e,t,n){var r=F,i=Io(),o=N;if(o){if(n===void 0)throw Error(a(407));n=n()}else n=t();var s=!Ar((I||i).memoizedState,n);if(s&&(i.memoizedState=n,sc=!0),i=i.queue,hs(qo.bind(null,r,i,e),[e]),i.getSnapshot!==t||s||bo!==null&&bo.memoizedState.tag&1){if(r.flags|=2048,us(9,{destroy:void 0},Ko.bind(null,r,i,n,t),null),W===null)throw Error(a(349));o||yo&127||Go(r,t,n)}return n}function Go(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=F.updateQueue,t===null?(t=Lo(),F.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ko(e,t,n,r){t.value=n,t.getSnapshot=r,Jo(t)&&Yo(e)}function qo(e,t,n){return n(function(){Jo(t)&&Yo(e)})}function Jo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ar(e,n)}catch{return!0}}function Yo(e){var t=di(e,2);t!==null&&yu(t,e,2)}function Xo(e){var t=Fo();if(typeof e==`function`){var n=e;if(e=n(),Co){Ke(!0);try{n()}finally{Ke(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vo,lastRenderedState:e},t}function Zo(e,t,n,r){return e.baseState=n,Ho(e,I,typeof r==`function`?r:Vo)}function Qo(e,t,n,r,i){if(zs(e))throw Error(a(485));if(e=t.action,e!==null){var o={payload:i,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};E.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,$o(t,o)):(o.next=n.next,t.pending=n.next=o)}}function $o(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=E.T,o={};E.T=o;try{var s=n(i,r),c=E.S;c!==null&&c(o,s),es(e,t,s)}catch(n){ns(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),E.T=a}}else try{a=n(i,r),es(e,t,a)}catch(n){ns(e,t,n)}}function es(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){ts(e,t,n)},function(n){return ns(e,t,n)}):ts(e,t,n)}function ts(e,t,n){t.status=`fulfilled`,t.value=n,rs(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,$o(e,n)))}function ns(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,rs(t),t=t.next;while(t!==r)}e.action=null}function rs(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function is(e,t){return t}function as(e,t){if(N){var n=W.formState;if(n!==null){a:{var r=F;if(N){if(Vi){b:{for(var i=Vi,a=Ui;i.nodeType!==8;){if(!a){i=null;break b}if(i=df(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Vi=df(i.nextSibling),r=i.data===`F!`;break a}}Gi(r)}r=!1}r&&(t=n[0])}}return n=Fo(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:is,lastRenderedState:t},n.queue=r,n=Is.bind(null,F,r),r.dispatch=n,r=Xo(!1),a=Rs.bind(null,F,!1,r.queue),r=Fo(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Qo.bind(null,F,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function os(e){return ss(Io(),I,e)}function ss(e,t,n){if(t=Ho(e,t,is)[0],e=z(Vo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Ro(t)}catch(e){throw e===ka?ja:e}else r=t;t=Io();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(F.flags|=2048,us(9,{destroy:void 0},cs.bind(null,i,n),null)),[r,a,e]}function cs(e,t){e.action=t}function ls(e){var t=Io(),n=I;if(n!==null)return ss(t,n,e);Io(),t=t.memoizedState,n=Io();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function us(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=F.updateQueue,t===null&&(t=Lo(),F.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ds(){return Io().memoizedState}function fs(e,t,n,r){var i=Fo();F.flags|=e,i.memoizedState=us(1|t,{destroy:void 0},n,r===void 0?null:r)}function ps(e,t,n,r){var i=Io();r=r===void 0?null:r;var a=i.memoizedState.inst;I!==null&&r!==null&&ko(r,I.memoizedState.deps)?i.memoizedState=us(t,a,n,r):(F.flags|=e,i.memoizedState=us(1|t,a,n,r))}function ms(e,t){fs(8390656,8,e,t)}function hs(e,t){ps(2048,8,e,t)}function gs(e){F.flags|=4;var t=F.updateQueue;if(t===null)t=Lo(),F.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function _s(e){var t=Io().memoizedState;return gs({ref:t,nextImpl:e}),function(){if(U&2)throw Error(a(440));return t.impl.apply(void 0,arguments)}}function vs(e,t){return ps(4,2,e,t)}function ys(e,t){return ps(4,4,e,t)}function bs(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function B(e,t,n){n=n==null?null:n.concat([e]),ps(4,4,bs.bind(null,t,e),n)}function xs(){}function Ss(e,t){var n=Io();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&ko(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Cs(e,t){var n=Io();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&ko(t,r[1]))return r[0];if(r=e(),Co){Ke(!0);try{e()}finally{Ke(!1)}}return n.memoizedState=[r,t],r}function ws(e,t,n){return n===void 0||yo&1073741824&&!(K&261930)?e.memoizedState=t:(e.memoizedState=n,e=vu(),F.lanes|=e,Yl|=e,n)}function Ts(e,t,n,r){return Ar(n,t)?n:io.current===null?!(yo&42)||yo&1073741824&&!(K&261930)?(sc=!0,e.memoizedState=n):(e=vu(),F.lanes|=e,Yl|=e,t):(e=ws(e,n,r),Ar(e,t)||(sc=!0),e)}function Es(e,t,n,r,i){var a=D.p;D.p=a!==0&&8>a?a:8;var o=E.T,s={};E.T=s,Rs(e,!1,t,n);try{var c=i(),l=E.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Ls(e,t,Ca(c,r),_u(e)):Ls(e,t,r,_u(e))}catch(n){Ls(e,t,{then:function(){},status:`rejected`,reason:n},_u())}finally{D.p=a,o!==null&&s.types!==null&&(o.types=s.types),E.T=o}}function Ds(){}function Os(e,t,n,r){if(e.tag!==5)throw Error(a(476));var i=ks(e).queue;Es(e,i,t,ue,n===null?Ds:function(){return As(e),n(r)})}function ks(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ue,baseState:ue,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vo,lastRenderedState:ue},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function As(e){var t=ks(e);t.next===null&&(t=e.alternate.memoizedState),Ls(e,t.next.queue,{},_u())}function js(){return ca(tp)}function Ms(){return Io().memoizedState}function Ns(){return Io().memoizedState}function Ps(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=_u();e=Ya(n);var r=Xa(t,e,n);r!==null&&(yu(r,t,n),Za(r,t,n)),t={cache:ha()},e.payload=t;return}t=t.return}}function Fs(e,t,n){var r=_u();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},zs(e)?Bs(t,n):(n=ui(e,t,n,r),n!==null&&(yu(n,e,r),Vs(n,t,r)))}function Is(e,t,n){Ls(e,t,n,_u())}function Ls(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(zs(e))Bs(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Ar(s,o))return li(e,t,i,0),W===null&&ci(),!1}catch{}if(n=ui(e,t,i,r),n!==null)return yu(n,e,r),Vs(n,t,r),!0}return!1}function Rs(e,t,n,r){if(r={lane:2,revertLane:hd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},zs(e)){if(t)throw Error(a(479))}else t=ui(e,n,r,2),t!==null&&yu(t,e,2)}function zs(e){var t=e.alternate;return e===F||t!==null&&t===F}function Bs(e,t){So=xo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Vs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,lt(e,n)}}var Hs={readContext:ca,use:zo,useCallback:Oo,useContext:Oo,useEffect:Oo,useImperativeHandle:Oo,useLayoutEffect:Oo,useInsertionEffect:Oo,useMemo:Oo,useReducer:Oo,useRef:Oo,useState:Oo,useDebugValue:Oo,useDeferredValue:Oo,useTransition:Oo,useSyncExternalStore:Oo,useId:Oo,useHostTransitionStatus:Oo,useFormState:Oo,useActionState:Oo,useOptimistic:Oo,useMemoCache:Oo,useCacheRefresh:Oo};Hs.useEffectEvent=Oo;var Us={readContext:ca,use:zo,useCallback:function(e,t){return Fo().memoizedState=[e,t===void 0?null:t],e},useContext:ca,useEffect:ms,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),fs(4194308,4,bs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return fs(4194308,4,e,t)},useInsertionEffect:function(e,t){fs(4,2,e,t)},useMemo:function(e,t){var n=Fo();t=t===void 0?null:t;var r=e();if(Co){Ke(!0);try{e()}finally{Ke(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Fo();if(n!==void 0){var i=n(t);if(Co){Ke(!0);try{n(t)}finally{Ke(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Fs.bind(null,F,e),[r.memoizedState,e]},useRef:function(e){var t=Fo();return e={current:e},t.memoizedState=e},useState:function(e){e=Xo(e);var t=e.queue,n=Is.bind(null,F,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:xs,useDeferredValue:function(e,t){return ws(Fo(),e,t)},useTransition:function(){var e=Xo(!1);return e=Es.bind(null,F,e.queue,!0,!1),Fo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=F,i=Fo();if(N){if(n===void 0)throw Error(a(407));n=n()}else{if(n=t(),W===null)throw Error(a(349));K&127||Go(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,ms(qo.bind(null,r,o,e),[e]),r.flags|=2048,us(9,{destroy:void 0},Ko.bind(null,r,o,n,t),null),n},useId:function(){var e=Fo(),t=W.identifierPrefix;if(N){var n=Fi,r=Pi;n=(r&~(1<<32-qe(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=wo++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=Do++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:js,useFormState:as,useActionState:as,useOptimistic:function(e){var t=Fo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Rs.bind(null,F,!0,n),n.dispatch=t,[e,t]},useMemoCache:Bo,useCacheRefresh:function(){return Fo().memoizedState=Ps.bind(null,F)},useEffectEvent:function(e){var t=Fo(),n={impl:e};return t.memoizedState=n,function(){if(U&2)throw Error(a(440));return n.impl.apply(void 0,arguments)}}},Ws={readContext:ca,use:zo,useCallback:Ss,useContext:ca,useEffect:hs,useImperativeHandle:B,useInsertionEffect:vs,useLayoutEffect:ys,useMemo:Cs,useReducer:z,useRef:ds,useState:function(){return z(Vo)},useDebugValue:xs,useDeferredValue:function(e,t){return Ts(Io(),I.memoizedState,e,t)},useTransition:function(){var e=z(Vo)[0],t=Io().memoizedState;return[typeof e==`boolean`?e:Ro(e),t]},useSyncExternalStore:Wo,useId:Ms,useHostTransitionStatus:js,useFormState:os,useActionState:os,useOptimistic:function(e,t){return Zo(Io(),I,e,t)},useMemoCache:Bo,useCacheRefresh:Ns};Ws.useEffectEvent=_s;var Gs={readContext:ca,use:zo,useCallback:Ss,useContext:ca,useEffect:hs,useImperativeHandle:B,useInsertionEffect:vs,useLayoutEffect:ys,useMemo:Cs,useReducer:Uo,useRef:ds,useState:function(){return Uo(Vo)},useDebugValue:xs,useDeferredValue:function(e,t){var n=Io();return I===null?ws(n,e,t):Ts(n,I.memoizedState,e,t)},useTransition:function(){var e=Uo(Vo)[0],t=Io().memoizedState;return[typeof e==`boolean`?e:Ro(e),t]},useSyncExternalStore:Wo,useId:Ms,useHostTransitionStatus:js,useFormState:ls,useActionState:ls,useOptimistic:function(e,t){var n=Io();return I===null?(n.baseState=e,[e,n.queue.dispatch]):Zo(n,I,e,t)},useMemoCache:Bo,useCacheRefresh:Ns};Gs.useEffectEvent=_s;function Ks(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:p({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var qs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=_u(),i=Ya(r);i.payload=t,n!=null&&(i.callback=n),t=Xa(e,i,r),t!==null&&(yu(t,e,r),Za(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=_u(),i=Ya(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Xa(e,i,r),t!==null&&(yu(t,e,r),Za(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=_u(),r=Ya(n);r.tag=2,t!=null&&(r.callback=t),t=Xa(e,r,n),t!==null&&(yu(t,e,n),Za(t,e,n))}};function Js(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!jr(n,r)||!jr(i,a):!0}function Ys(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&qs.enqueueReplaceState(t,t.state,null)}function Xs(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=p({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Zs(e){ii(e)}function Qs(e){console.error(e)}function $s(e){ii(e)}function ec(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function tc(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function nc(e,t,n){return n=Ya(n),n.tag=3,n.payload={element:null},n.callback=function(){ec(e,t)},n}function rc(e){return e=Ya(e),e.tag=3,e}function ic(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){tc(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){tc(t,n,r),typeof i!=`function`&&(su===null?su=new Set([this]):su.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function ac(e,t,n,r,i){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&aa(t,n,i,!0),n=lo.current,n!==null){switch(n.tag){case 31:case 13:return uo===null?ju():n.alternate===null&&Jl===0&&(Jl=3),n.flags&=-257,n.flags|=65536,n.lanes=i,r===Ma?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Yu(e,r,i)),!1;case 22:return n.flags|=65536,r===Ma?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Yu(e,r,i)),!1}throw Error(a(435,n.tag))}return Yu(e,r,i),ju(),!1}if(N)return t=lo.current,t===null?(r!==Wi&&(t=Error(a(423),{cause:r}),Zi(Ei(t,n))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,r=Ei(r,n),i=nc(e.stateNode,r,i),Qa(e,i),Jl!==4&&(Jl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==Wi&&(e=Error(a(422),{cause:r}),Zi(Ei(e,n)))),!1;var o=Error(a(520),{cause:r});if(o=Ei(o,n),eu===null?eu=[o]:eu.push(o),Jl!==4&&(Jl=2),t===null)return!0;r=Ei(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=nc(n.stateNode,r,e),Qa(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(su===null||!su.has(o))))return n.flags|=65536,i&=-i,n.lanes|=i,i=rc(i),ic(i,e,n,r),Qa(n,i),!1}n=n.return}while(n!==null);return!1}var oc=Error(a(461)),sc=!1;function cc(e,t,n,r){t.child=e===null?Ga(t,null,n,r):Wa(t,e.child,n,r)}function lc(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return sa(t),r=Ao(e,t,n,o,a,i),s=L(),e!==null&&!sc?(R(e,t,i),Nc(e,t,i)):(N&&s&&Ri(t),t.flags|=1,cc(e,t,r,i),t.child)}function uc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!_i(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,dc(e,t,a,r,i)):(e=bi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Pc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?jr:n,n(o,r)&&e.ref===t.ref)return Nc(e,t,i)}return t.flags|=1,e=vi(a,r),e.ref=t.ref,e.return=t,t.child=e}function dc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(jr(a,r)&&e.ref===t.ref)if(sc=!1,t.pendingProps=r=a,Pc(e,i))e.flags&131072&&(sc=!0);else return t.lanes=e.lanes,Nc(e,t,i)}return yc(e,t,n,r,i)}function fc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return mc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Da(t,a===null?null:a.cachePool),a===null?so():oo(t,a),mo(t);else return r=t.lanes=536870912,mc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&Da(t,null),so(),ho(t)):(Da(t,a.cachePool),oo(t,a),ho(t),t.memoizedState=null);return cc(e,t,i,n),t.child}function pc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function mc(e,t,n,r,i){var a=Ea();return a=a===null?null:{parent:ma._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&Da(t,null),so(),mo(t),e!==null&&aa(e,t,r,!0),t.childLanes=i,null}function hc(e,t){return t=Oc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function gc(e,t,n){return Wa(t,e.child,null,n),e=hc(t,t.pendingProps),e.flags|=2,go(t),t.memoizedState=null,e}function _c(e,t,n){var r=t.pendingProps,i=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(N){if(r.mode===`hidden`)return e=hc(t,r),t.lanes=536870912,pc(null,e);if(po(t),(e=Vi)?(e=Z(e,Ui),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ni===null?null:{id:Pi,overflow:Fi},retryLane:536870912,hydrationErrors:null},n=Ci(e),n.return=t,t.child=n,M=t,Vi=null)):e=null,e===null)throw Gi(t);return t.lanes=536870912,null}return hc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(po(t),i)if(t.flags&256)t.flags&=-257,t=gc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(a(558));else if(sc||aa(e,t,n,!1),i=(n&e.childLanes)!==0,sc||i){if(r=W,r!==null&&(s=ut(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,di(e,s),yu(r,e,s),oc;ju(),t=gc(e,t,n)}else e=o.treeContext,Vi=df(s.nextSibling),M=t,N=!0,Hi=null,Ui=!1,e!==null&&Bi(t,e),t=hc(t,r),t.flags|=4096;return t}return e=vi(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function vc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(a(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function yc(e,t,n,r,i){return sa(t),n=Ao(e,t,n,r,void 0,i),r=L(),e!==null&&!sc?(R(e,t,i),Nc(e,t,i)):(N&&r&&Ri(t),t.flags|=1,cc(e,t,n,i),t.child)}function bc(e,t,n,r,i,a){return sa(t),t.updateQueue=null,n=Mo(t,r,n,i),jo(e),r=L(),e!==null&&!sc?(R(e,t,a),Nc(e,t,a)):(N&&r&&Ri(t),t.flags|=1,cc(e,t,n,a),t.child)}function xc(e,t,n,r,i){if(sa(t),t.stateNode===null){var a=mi,o=n.contextType;typeof o==`object`&&o&&(a=ca(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=qs,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},qa(t),o=n.contextType,a.context=typeof o==`object`&&o?ca(o):mi,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Ks(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&qs.enqueueReplaceState(a,a.state,null),to(t,r,a,i),eo(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=Xs(n,s);a.props=c;var l=a.context,u=n.contextType;o=mi,typeof u==`object`&&u&&(o=ca(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Ys(t,a,r,o),Ka=!1;var f=t.memoizedState;a.state=f,to(t,r,a,i),eo(),l=t.memoizedState,s||f!==l||Ka?(typeof d==`function`&&(Ks(t,n,d,r),l=t.memoizedState),(c=Ka||Js(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ja(e,t),o=t.memoizedProps,u=Xs(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=mi,typeof l==`object`&&l&&(c=ca(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Ys(t,a,r,c),Ka=!1,f=t.memoizedState,a.state=f,to(t,r,a,i),eo();var p=t.memoizedState;o!==d||f!==p||Ka||e!==null&&e.dependencies!==null&&oa(e.dependencies)?(typeof s==`function`&&(Ks(t,n,s,r),p=t.memoizedState),(u=Ka||Js(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&oa(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,vc(e,t),r=(t.flags&128)!=0,a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=Wa(t,e.child,null,i),t.child=Wa(t,null,n,i)):cc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Nc(e,t,i),e}function Sc(e,t,n,r){return Yi(),t.flags|=256,cc(e,t,n,r),t.child}var Cc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function wc(e){return{baseLanes:e,cachePool:Oa()}}function Tc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=Ql),e}function Ec(e,t,n){var r=t.pendingProps,i=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(_o.current&2)!=0),s&&(i=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(N){if(i?fo(t):ho(t),(e=Vi)?(e=Z(e,Ui),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ni===null?null:{id:Pi,overflow:Fi},retryLane:536870912,hydrationErrors:null},n=Ci(e),n.return=t,t.child=n,M=t,Vi=null)):e=null,e===null)throw Gi(t);return lf(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,i?(ho(t),i=t.mode,c=Oc({mode:`hidden`,children:c},i),r=xi(r,i,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=wc(n),r.childLanes=Tc(e,s,n),t.memoizedState=Cc,pc(null,r)):(fo(t),Dc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(fo(t),t.flags&=-257,t=kc(e,t,n)):t.memoizedState===null?(ho(t),c=r.fallback,i=t.mode,r=Oc({mode:`visible`,children:r.children},i),c=xi(c,i,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Wa(t,e.child,null,n),r=t.child,r.memoizedState=wc(n),r.childLanes=Tc(e,s,n),t.memoizedState=Cc,t=pc(null,r)):(ho(t),t.child=e.child,t.flags|=128,t=null);else if(fo(t),lf(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(a(419)),r.stack=``,r.digest=s,Zi({value:r,source:null,stack:null}),t=kc(e,t,n)}else if(sc||aa(e,t,n,!1),s=(n&e.childLanes)!==0,sc||s){if(s=W,s!==null&&(r=ut(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,di(e,r),yu(s,e,r),oc;cf(c)||ju(),t=kc(e,t,n)}else cf(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Vi=df(c.nextSibling),M=t,N=!0,Hi=null,Ui=!1,e!==null&&Bi(t,e),t=Dc(t,r.children),t.flags|=4096);return t}return i?(ho(t),c=r.fallback,i=t.mode,l=e.child,u=l.sibling,r=vi(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=xi(c,i,n,null),c.flags|=2):c=vi(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,pc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=wc(n):(i=c.cachePool,i===null?i=Oa():(l=ma._currentValue,i=i.parent===l?i:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:i}),r.memoizedState=c,r.childLanes=Tc(e,s,n),t.memoizedState=Cc,pc(e.child,r)):(fo(t),n=e.child,e=n.sibling,n=vi(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function Dc(e,t){return t=Oc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Oc(e,t){return e=gi(22,e,null,t),e.lanes=0,e}function kc(e,t,n){return Wa(t,e.child,null,n),e=Dc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ac(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ra(e.return,t,n)}function jc(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function Mc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=_o.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,O(_o,o),cc(e,t,r,n),r=N?Ai:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ac(e,n,t);else if(e.tag===19)Ac(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&vo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),jc(t,!1,i,n,a,r);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&vo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}jc(t,!0,n,null,a,r);break;case`together`:jc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Nc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Yl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(aa(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(a(153));if(t.child!==null){for(e=t.child,n=vi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=vi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Pc(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&oa(e))):!0}function Fc(e,t,n){switch(t.tag){case 3:ve(t,t.stateNode.containerInfo),ta(t,ma,e.memoizedState.cache),Yi();break;case 27:case 5:be(t);break;case 4:ve(t,t.stateNode.containerInfo);break;case 10:ta(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,po(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(fo(t),e=Nc(e,t,n),e===null?null:e.sibling):Ec(e,t,n):(fo(t),t.flags|=128,null);fo(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(aa(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Mc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),O(_o,_o.current),r)break;return null;case 22:return t.lanes=0,fc(e,t,n,t.pendingProps);case 24:ta(t,ma,e.memoizedState.cache)}return Nc(e,t,n)}function Ic(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)sc=!0;else{if(!Pc(e,n)&&!(t.flags&128))return sc=!1,Fc(e,t,n);sc=!!(e.flags&131072)}else sc=!1,N&&t.flags&1048576&&Li(t,Ai,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Fa(t.elementType),t.type=e,typeof e==`function`)_i(e)?(r=Xs(e,r),t.tag=1,t=xc(null,t,e,r,n)):(t.tag=0,t=yc(null,t,e,r,n));else{if(e!=null){var i=e.$$typeof;if(i===C){t.tag=11,t=lc(null,t,e,r,n);break a}else if(i===ne){t.tag=14,t=uc(null,t,e,r,n);break a}}throw t=ce(e)||e,Error(a(306,t,``))}}return t;case 0:return yc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,i=Xs(r,t.pendingProps),xc(e,t,r,i,n);case 3:a:{if(ve(t,t.stateNode.containerInfo),e===null)throw Error(a(387));r=t.pendingProps;var o=t.memoizedState;i=o.element,Ja(e,t),to(t,r,null,n);var s=t.memoizedState;if(r=s.cache,ta(t,ma,r),r!==o.cache&&ia(t,[ma],n,!0),eo(),r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=Sc(e,t,r,n);break a}else if(r!==i){i=Ei(Error(a(424)),t),Zi(i),t=Sc(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(Vi=df(e.firstChild),M=t,N=!0,Hi=null,Ui=!0,n=Ga(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Yi(),r===i){t=Nc(e,t,n);break a}cc(e,t,r,n)}t=t.child}return t;case 26:return vc(e,t),e===null?(n=Mf(t.type,null,t.pendingProps,null))?t.memoizedState=n:N||(n=t.type,e=t.pendingProps,r=Wd(ge.current).createElement(n),r[gt]=t,r[_t]=e,Rd(r,n,e),kt(r),t.stateNode=r):t.memoizedState=Mf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return be(t),e===null&&N&&(r=t.stateNode=hf(t.type,t.pendingProps,ge.current),M=t,Ui=!0,i=Vi,tf(t.type)?(ff=i,Vi=df(r.firstChild)):Vi=i),cc(e,t,t.pendingProps.children,n),vc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&N&&((i=r=Vi)&&(r=of(r,t.type,t.pendingProps,Ui),r===null?i=!1:(t.stateNode=r,M=t,Vi=df(r.firstChild),Ui=!1,i=!0)),i||Gi(t)),be(t),i=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,qd(i,o)?r=null:s!==null&&qd(i,s)&&(t.flags|=32),t.memoizedState!==null&&(i=Ao(e,t,No,null,null,n),tp._currentValue=i),vc(e,t),cc(e,t,r,n),t.child;case 6:return e===null&&N&&((e=n=Vi)&&(n=sf(n,t.pendingProps,Ui),n===null?e=!1:(t.stateNode=n,M=t,Vi=null,e=!0)),e||Gi(t)),null;case 13:return Ec(e,t,n);case 4:return ve(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Wa(t,null,r,n):cc(e,t,r,n),t.child;case 11:return lc(e,t,t.type,t.pendingProps,n);case 7:return cc(e,t,t.pendingProps,n),t.child;case 8:return cc(e,t,t.pendingProps.children,n),t.child;case 12:return cc(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,ta(t,t.type,r.value),cc(e,t,r.children,n),t.child;case 9:return i=t.type._context,r=t.pendingProps.children,sa(t),i=ca(i),r=r(i),t.flags|=1,cc(e,t,r,n),t.child;case 14:return uc(e,t,t.type,t.pendingProps,n);case 15:return dc(e,t,t.type,t.pendingProps,n);case 19:return Mc(e,t,n);case 31:return _c(e,t,n);case 22:return fc(e,t,n,t.pendingProps);case 24:return sa(t),r=ca(ma),e===null?(i=Ea(),i===null&&(i=W,o=ha(),i.pooledCache=o,o.refCount++,o!==null&&(i.pooledCacheLanes|=n),i=o),t.memoizedState={parent:r,cache:i},qa(t),ta(t,ma,i)):((e.lanes&n)!==0&&(Ja(e,t),to(t,null,null,n),eo()),i=e.memoizedState,o=t.memoizedState,i.parent===r?(r=o.cache,ta(t,ma,r),r!==i.cache&&ia(t,[ma],n,!0)):(i={parent:r,cache:r},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),ta(t,ma,r))),cc(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(a(156,t.tag))}function Lc(e){e.flags|=4}function Rc(e,t,n,r,i){if((t=(e.mode&32)!=0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(Ou())e.flags|=8192;else throw Ia=Ma,Aa}else e.flags&=-16777217}function zc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!qf(t))if(Ou())e.flags|=8192;else throw Ia=Ma,Aa}function Bc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:it(),e.lanes|=t,$l|=t)}function Vc(e,t){if(!N)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function V(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Hc(e,t,n){var r=t.pendingProps;switch(zi(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return V(t),null;case 1:return V(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),na(ma),ye(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Ji(t)?Lc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Xi())),V(t),null;case 26:var i=t.type,o=t.memoizedState;return e===null?(Lc(t),o===null?(V(t),Rc(t,i,null,r,n)):(V(t),zc(t,o))):o?o===e.memoizedState?(V(t),t.flags&=-16777217):(Lc(t),V(t),zc(t,o)):(e=e.memoizedProps,e!==r&&Lc(t),V(t),Rc(t,i,e,r,n)),null;case 27:if(xe(t),n=ge.current,i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Lc(t);else{if(!r){if(t.stateNode===null)throw Error(a(166));return V(t),null}e=he.current,Ji(t)?Ki(t,e):(e=hf(i,r,n),t.stateNode=e,Lc(t))}return V(t),null;case 5:if(xe(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Lc(t);else{if(!r){if(t.stateNode===null)throw Error(a(166));return V(t),null}if(o=he.current,Ji(t))Ki(t,o);else{var s=Wd(ge.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,i);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,i);break;default:switch(i){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,i);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,i);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(i,{is:r.is}):s.createElement(i)}}o[gt]=t,o[_t]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Rd(o,i,r),i){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Lc(t)}}return V(t),Rc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Lc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(a(166));if(e=ge.current,Ji(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,i=M,i!==null)switch(i.tag){case 27:case 5:r=i.memoizedProps}e[gt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Id(e.nodeValue,n)),e||Gi(t,!0)}else e=Wd(e).createTextNode(r),e[gt]=t,t.stateNode=e}return V(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Ji(t),n!==null){if(e===null){if(!r)throw Error(a(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(a(557));e[gt]=t}else Yi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;V(t),e=!1}else n=Xi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(go(t),t):(go(t),null);if(t.flags&128)throw Error(a(558))}return V(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=Ji(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(a(318));if(i=t.memoizedState,i=i===null?null:i.dehydrated,!i)throw Error(a(317));i[gt]=t}else Yi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;V(t),i=!1}else i=Xi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(go(t),t):(go(t),null)}return go(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,i=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(i=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Bc(t,t.updateQueue),V(t),null);case 4:return ye(),e===null&&Ed(t.stateNode.containerInfo),V(t),null;case 10:return na(t.type),V(t),null;case 19:if(me(_o),r=t.memoizedState,r===null)return V(t),null;if(i=(t.flags&128)!=0,o=r.rendering,o===null)if(i)Vc(r,!1);else{if(Jl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=vo(e),o!==null){for(t.flags|=128,Vc(r,!1),e=o.updateQueue,t.updateQueue=e,Bc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)yi(n,e),n=n.sibling;return O(_o,_o.current&1|2),N&&Ii(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Fe()>au&&(t.flags|=128,i=!0,Vc(r,!1),t.lanes=4194304)}else{if(!i)if(e=vo(o),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Bc(t,e),Vc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!N)return V(t),null}else 2*Fe()-r.renderingStartTime>au&&n!==536870912&&(t.flags|=128,i=!0,Vc(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(V(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Fe(),e.sibling=null,n=_o.current,O(_o,i?n&1|2:n&1),N&&Ii(t,r.treeForkCount),e);case 22:case 23:return go(t),co(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(V(t),t.subtreeFlags&6&&(t.flags|=8192)):V(t),n=t.updateQueue,n!==null&&Bc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&me(Ta),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),na(ma),V(t),null;case 25:return null;case 30:return null}throw Error(a(156,t.tag))}function Uc(e,t){switch(zi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return na(ma),ye(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return xe(t),null;case 31:if(t.memoizedState!==null){if(go(t),t.alternate===null)throw Error(a(340));Yi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(go(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(a(340));Yi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return me(_o),null;case 4:return ye(),null;case 10:return na(t.type),null;case 22:case 23:return go(t),co(),e!==null&&me(Ta),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return na(ma),null;case 25:return null;default:return null}}function Wc(e,t){switch(zi(t),t.tag){case 3:na(ma),ye();break;case 26:case 27:case 5:xe(t);break;case 4:ye();break;case 31:t.memoizedState!==null&&go(t);break;case 13:go(t);break;case 19:me(_o);break;case 10:na(t.type);break;case 22:case 23:go(t),co(),e!==null&&me(Ta);break;case 24:na(ma)}}function Gc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){J(t,t.return,e)}}function Kc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){J(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){J(t,t.return,e)}}function qc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{ro(t,n)}catch(t){J(e,e.return,t)}}}function Jc(e,t,n){n.props=Xs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){J(e,t,n)}}function Yc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){J(e,t,n)}}function Xc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){J(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){J(e,t,n)}else n.current=null}function Zc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){J(e,e.return,t)}}function Qc(e,t,n){try{var r=e.stateNode;zd(r,e.type,n,t),r[_t]=t}catch(t){J(e,e.return,t)}}function $c(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&tf(e.type)||e.tag===4}function el(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||$c(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&tf(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function tl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=un));else if(r!==4&&(r===27&&tf(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(tl(e,t,n),e=e.sibling;e!==null;)tl(e,t,n),e=e.sibling}function nl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&tf(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(nl(e,t,n),e=e.sibling;e!==null;)nl(e,t,n),e=e.sibling}function rl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Rd(t,r,n),t[gt]=e,t[_t]=n}catch(t){J(e,e.return,t)}}var il=!1,al=!1,ol=!1,sl=typeof WeakSet==`function`?WeakSet:Set,cl=null;function ll(e,t){if(e=e.containerInfo,Hd=lp,e=Fr(e),Ir(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||i!==0&&f.nodeType!==3||(c=s+i),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===i&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Ud={focusedElem:e,selectionRange:n},lp=!1,cl=t;cl!==null;)if(t=cl,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,cl=e;else for(;cl!==null;){switch(t=cl,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)i=e[n],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,i=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=Xs(n.type,i);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){J(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)af(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:af(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(a(163))}if(e=t.sibling,e!==null){e.return=t.return,cl=e;break}cl=t.return}}function ul(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:wl(e,n),r&4&&Gc(5,n);break;case 1:if(wl(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){J(n,n.return,e)}else{var i=Xs(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){J(n,n.return,e)}}r&64&&qc(n),r&512&&Yc(n,n.return);break;case 3:if(wl(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{ro(e,t)}catch(e){J(n,n.return,e)}}break;case 27:t===null&&r&4&&rl(n);case 26:case 5:wl(e,n),t===null&&r&4&&Zc(n),r&512&&Yc(n,n.return);break;case 12:wl(e,n);break;case 31:wl(e,n),r&4&&hl(e,n);break;case 13:wl(e,n),r&4&&gl(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Qu.bind(null,n),uf(e,n))));break;case 22:if(r=n.memoizedState!==null||il,!r){t=t!==null&&t.memoizedState!==null||al,i=il;var a=al;il=r,(al=t)&&!a?El(e,n,(n.subtreeFlags&8772)!=0):wl(e,n),il=i,al=a}break;case 30:break;default:wl(e,n)}}function dl(e){var t=e.alternate;t!==null&&(e.alternate=null,dl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&wt(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var fl=null,pl=!1;function H(e,t,n){for(n=n.child;n!==null;)ml(e,t,n),n=n.sibling}function ml(e,t,n){if(Ge&&typeof Ge.onCommitFiberUnmount==`function`)try{Ge.onCommitFiberUnmount(We,n)}catch{}switch(n.tag){case 26:al||Xc(n,t),H(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:al||Xc(n,t);var r=fl,i=pl;tf(n.type)&&(fl=n.stateNode,pl=!1),H(e,t,n),gf(n.stateNode),fl=r,pl=i;break;case 5:al||Xc(n,t);case 6:if(r=fl,i=pl,fl=null,H(e,t,n),fl=r,pl=i,fl!==null)if(pl)try{(fl.nodeType===9?fl.body:fl.nodeName===`HTML`?fl.ownerDocument.body:fl).removeChild(n.stateNode)}catch(e){J(n,t,e)}else try{fl.removeChild(n.stateNode)}catch(e){J(n,t,e)}break;case 18:fl!==null&&(pl?(e=fl,nf(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Fp(e)):nf(fl,n.stateNode));break;case 4:r=fl,i=pl,fl=n.stateNode.containerInfo,pl=!0,H(e,t,n),fl=r,pl=i;break;case 0:case 11:case 14:case 15:Kc(2,n,t),al||Kc(4,n,t),H(e,t,n);break;case 1:al||(Xc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Jc(n,t,r)),H(e,t,n);break;case 21:H(e,t,n);break;case 22:al=(r=al)||n.memoizedState!==null,H(e,t,n),al=r;break;default:H(e,t,n)}}function hl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Fp(e)}catch(e){J(t,t.return,e)}}}function gl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Fp(e)}catch(e){J(t,t.return,e)}}function _l(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new sl),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new sl),t;default:throw Error(a(435,e.tag))}}function vl(e,t){var n=_l(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=$u.bind(null,e,t);t.then(r,r)}})}function yl(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if(tf(c.type)){fl=c.stateNode,pl=!1;break a}break;case 5:fl=c.stateNode,pl=!1;break a;case 3:case 4:fl=c.stateNode.containerInfo,pl=!0;break a}c=c.return}if(fl===null)throw Error(a(160));ml(o,s,i),fl=null,pl=!1,o=i.alternate,o!==null&&(o.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)xl(t,e),t=t.sibling}var bl=null;function xl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:yl(t,e),Sl(e),r&4&&(Kc(3,e,e.return),Gc(3,e),Kc(5,e,e.return));break;case 1:yl(t,e),Sl(e),r&512&&(al||n===null||Xc(n,n.return)),r&64&&il&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var i=bl;if(yl(t,e),Sl(e),r&512&&(al||n===null||Xc(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null)if(r===null)if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,i=i.ownerDocument||i;b:switch(r){case`title`:o=i.getElementsByTagName(`title`)[0],(!o||o[Ct]||o[gt]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=i.createElement(r),i.head.insertBefore(o,i.querySelector(`head > title`))),Rd(o,r,n),o[gt]=e,kt(o),r=o;break a;case`link`:var s=Wf(`link`,`href`,i).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=i.createElement(r),Rd(o,r,n),i.head.appendChild(o);break;case`meta`:if(s=Wf(`meta`,`content`,i).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=i.createElement(r),Rd(o,r,n),i.head.appendChild(o);break;default:throw Error(a(468,r))}o[gt]=e,kt(o),r=o}e.stateNode=r}else Gf(i,e.type,e.stateNode);else e.stateNode=zf(i,r,e.memoizedProps);else o===r?r===null&&e.stateNode!==null&&Qc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Gf(i,e.type,e.stateNode):zf(i,r,e.memoizedProps))}break;case 27:yl(t,e),Sl(e),r&512&&(al||n===null||Xc(n,n.return)),n!==null&&r&4&&Qc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(yl(t,e),Sl(e),r&512&&(al||n===null||Xc(n,n.return)),e.flags&32){i=e.stateNode;try{tn(i,``)}catch(t){J(e,e.return,t)}}r&4&&e.stateNode!=null&&(i=e.memoizedProps,Qc(e,i,n===null?i:n.memoizedProps)),r&1024&&(ol=!0);break;case 6:if(yl(t,e),Sl(e),r&4){if(e.stateNode===null)throw Error(a(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){J(e,e.return,t)}}break;case 3:if(Uf=null,i=bl,bl=yf(t.containerInfo),yl(t,e),bl=i,Sl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Fp(t.containerInfo)}catch(t){J(e,e.return,t)}ol&&(ol=!1,Cl(e));break;case 4:r=bl,bl=yf(e.stateNode.containerInfo),yl(t,e),Sl(e),bl=r;break;case 12:yl(t,e),Sl(e);break;case 31:yl(t,e),Sl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vl(e,r)));break;case 13:yl(t,e),Sl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(ru=Fe()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vl(e,r)));break;case 22:i=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=il,d=al;if(il=u||i,al=d||l,yl(t,e),al=d,il=u,Sl(e),r&8192)a:for(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,i&&(n===null||l||il||al||Tl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,i)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){J(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=i?``:l.memoizedProps}catch(e){J(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;i?rf(m,!0):rf(l.stateNode,!1)}catch(e){J(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,vl(e,n))));break;case 19:yl(t,e),Sl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vl(e,r)));break;case 30:break;case 21:break;default:yl(t,e),Sl(e)}}function Sl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if($c(r)){n=r;break}r=r.return}if(n==null)throw Error(a(160));switch(n.tag){case 27:var i=n.stateNode;nl(e,el(e),i);break;case 5:var o=n.stateNode;n.flags&32&&(tn(o,``),n.flags&=-33),nl(e,el(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;tl(e,el(e),s);break;default:throw Error(a(161))}}catch(t){J(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Cl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Cl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function wl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)ul(e,t.alternate,t),t=t.sibling}function Tl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Kc(4,t,t.return),Tl(t);break;case 1:Xc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Jc(t,t.return,n),Tl(t);break;case 27:gf(t.stateNode);case 26:case 5:Xc(t,t.return),Tl(t);break;case 22:t.memoizedState===null&&Tl(t);break;case 30:Tl(t);break;default:Tl(t)}e=e.sibling}}function El(e,t,n){for(n&&=(t.subtreeFlags&8772)!=0,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:El(i,a,n),Gc(4,a);break;case 1:if(El(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){J(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)no(c[i],s)}catch(e){J(r,r.return,e)}}n&&o&64&&qc(a),Yc(a,a.return);break;case 27:rl(a);case 26:case 5:El(i,a,n),n&&r===null&&o&4&&Zc(a),Yc(a,a.return);break;case 12:El(i,a,n);break;case 31:El(i,a,n),n&&o&4&&hl(i,a);break;case 13:El(i,a,n),n&&o&4&&gl(i,a);break;case 22:a.memoizedState===null&&El(i,a,n),Yc(a,a.return);break;case 30:break;default:El(i,a,n)}t=t.sibling}}function Dl(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&ga(n))}function Ol(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ga(e))}function kl(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Al(e,t,n,r),t=t.sibling}function Al(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:kl(e,t,n,r),i&2048&&Gc(9,t);break;case 1:kl(e,t,n,r);break;case 3:kl(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ga(e)));break;case 12:if(i&2048){kl(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){J(t,t.return,e)}}else kl(e,t,n,r);break;case 31:kl(e,t,n,r);break;case 13:kl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?kl(e,t,n,r):(a._visibility|=2,jl(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?kl(e,t,n,r):Ml(e,t),i&2048&&Dl(o,t);break;case 24:kl(e,t,n,r),i&2048&&Ol(t.alternate,t);break;default:kl(e,t,n,r)}}function jl(e,t,n,r,i){for(i&&=(t.subtreeFlags&10256)!=0||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:jl(a,o,s,c,i),Gc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,jl(a,o,s,c,i)):u._visibility&2?jl(a,o,s,c,i):Ml(a,o),i&&l&2048&&Dl(o.alternate,o);break;case 24:jl(a,o,s,c,i),i&&l&2048&&Ol(o.alternate,o);break;default:jl(a,o,s,c,i)}t=t.sibling}}function Ml(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Ml(n,r),i&2048&&Dl(r.alternate,r);break;case 24:Ml(n,r),i&2048&&Ol(r.alternate,r);break;default:Ml(n,r)}t=t.sibling}}var Nl=8192;function Pl(e,t,n){if(e.subtreeFlags&Nl)for(e=e.child;e!==null;)Fl(e,t,n),e=e.sibling}function Fl(e,t,n){switch(e.tag){case 26:Pl(e,t,n),e.flags&Nl&&e.memoizedState!==null&&Jf(n,bl,e.memoizedState,e.memoizedProps);break;case 5:Pl(e,t,n);break;case 3:case 4:var r=bl;bl=yf(e.stateNode.containerInfo),Pl(e,t,n),bl=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Nl,Nl=16777216,Pl(e,t,n),Nl=r):Pl(e,t,n));break;default:Pl(e,t,n)}}function Il(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ll(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];cl=r,Bl(r,e)}Il(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Rl(e),e=e.sibling}function Rl(e){switch(e.tag){case 0:case 11:case 15:Ll(e),e.flags&2048&&Kc(9,e,e.return);break;case 3:Ll(e);break;case 12:Ll(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,zl(e)):Ll(e);break;default:Ll(e)}}function zl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];cl=r,Bl(r,e)}Il(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Kc(8,t,t.return),zl(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,zl(t));break;default:zl(t)}e=e.sibling}}function Bl(e,t){for(;cl!==null;){var n=cl;switch(n.tag){case 0:case 11:case 15:Kc(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:ga(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,cl=r;else a:for(n=e;cl!==null;){r=cl;var i=r.sibling,a=r.return;if(dl(r),r===n){cl=null;break a}if(i!==null){i.return=a,cl=i;break a}cl=a}}}var Vl={getCacheForType:function(e){var t=ca(ma),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ca(ma).controller.signal}},Hl=typeof WeakMap==`function`?WeakMap:Map,U=0,W=null,G=null,K=0,q=0,Ul=null,Wl=!1,Gl=!1,Kl=!1,ql=0,Jl=0,Yl=0,Xl=0,Zl=0,Ql=0,$l=0,eu=null,tu=null,nu=!1,ru=0,iu=0,au=1/0,ou=null,su=null,cu=0,lu=null,uu=null,du=0,fu=0,pu=null,mu=null,hu=0,gu=null;function _u(){return U&2&&K!==0?K&-K:E.T===null?pt():hd()}function vu(){if(Ql===0)if(!(K&536870912)||N){var e=Qe;Qe<<=1,!(Qe&3932160)&&(Qe=262144),Ql=e}else Ql=536870912;return e=lo.current,e!==null&&(e.flags|=32),Ql}function yu(e,t,n){(e===W&&(q===2||q===9)||e.cancelPendingCommit!==null)&&(Eu(e,0),Cu(e,K,Ql,!1)),ot(e,n),(!(U&2)||e!==W)&&(e===W&&(!(U&2)&&(Xl|=n),Jl===4&&Cu(e,K,Ql,!1)),sd(e))}function bu(e,t,n){if(U&6)throw Error(a(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||nt(e,t),i=r?Pu(e,t):Mu(e,t,!0),o=r;do{if(i===0){Gl&&!r&&Cu(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!Su(n)){i=Mu(e,t,!1),o=!1;continue}if(i===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;i=eu;var l=c.current.memoizedState.isDehydrated;if(l&&(Eu(c,s).flags|=256),s=Mu(c,s,!1),s!==2){if(Kl&&!l){c.errorRecoveryDisabledLanes|=o,Xl|=o,i=4;break a}o=tu,tu=i,o!==null&&(tu===null?tu=o:tu.push.apply(tu,o))}i=s}if(o=!1,i!==2)continue}}if(i===1){Eu(e,0),Cu(e,t,0,!0);break}a:{switch(r=e,o=i,o){case 0:case 1:throw Error(a(345));case 4:if((t&4194048)!==t)break;case 6:Cu(r,t,Ql,!Wl);break a;case 2:tu=null;break;case 3:case 5:break;default:throw Error(a(329))}if((t&62914560)===t&&(i=ru+300-Fe(),10<i)){if(Cu(r,t,Ql,!Wl),tt(r,0,!0)!==0)break a;du=t,r.timeoutHandle=Xd(xu.bind(null,r,n,tu,ou,nu,t,Ql,Xl,$l,Wl,o,`Throttled`,-0,0),i);break a}xu(r,n,tu,ou,nu,t,Ql,Xl,$l,Wl,o,null,-0,0)}}break}while(1);sd(e)}function xu(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)==16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:un},Fl(t,a,d);var m=(a&62914560)===a?ru-Fe():(a&4194048)===a?iu-Fe():0;if(m=Xf(d,m),m!==null){du=a,e.cancelPendingCommit=m(Vu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),Cu(e,a,o,!l);return}}Vu(e,t,a,n,r,i,o,s,c)}function Su(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Ar(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Cu(e,t,n,r){t&=~Zl,t&=~Xl,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-qe(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&ct(e,n,t)}function wu(){return U&6?!0:(cd(0,!1),!1)}function Tu(){if(G!==null){if(q===0)var e=G.return;else e=G,ea=$i=null,Po(e),Ra=null,za=0,e=G;for(;e!==null;)Wc(e.alternate,e),e=e.return;G=null}}function Eu(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Zd(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),du=0,Tu(),W=e,G=n=vi(e.current,null),K=t,q=0,Ul=null,Wl=!1,Gl=nt(e,t),Kl=!1,$l=Ql=Zl=Xl=Yl=Jl=0,tu=eu=null,nu=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-qe(r),a=1<<i;t|=e[i],r&=~a}return ql=t,ci(),n}function Du(e,t){F=null,E.H=Hs,t===ka||t===ja?(t=La(),q=3):t===Aa?(t=La(),q=4):q=t===oc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Ul=t,G===null&&(Jl=1,ec(e,Ei(t,e.current)))}function Ou(){var e=lo.current;return e===null?!0:(K&4194048)===K?uo===null:(K&62914560)===K||K&536870912?e===uo:!1}function ku(){var e=E.H;return E.H=Hs,e===null?Hs:e}function Au(){var e=E.A;return E.A=Vl,e}function ju(){Jl=4,Wl||(K&4194048)!==K&&lo.current!==null||(Gl=!0),!(Yl&134217727)&&!(Xl&134217727)||W===null||Cu(W,K,Ql,!1)}function Mu(e,t,n){var r=U;U|=2;var i=ku(),a=Au();(W!==e||K!==t)&&(ou=null,Eu(e,t)),t=!1;var o=Jl;a:do try{if(q!==0&&G!==null){var s=G,c=Ul;switch(q){case 8:Tu(),o=6;break a;case 3:case 2:case 9:case 6:lo.current===null&&(t=!0);var l=q;if(q=0,Ul=null,Ru(e,s,c,l),n&&Gl){o=0;break a}break;default:l=q,q=0,Ul=null,Ru(e,s,c,l)}}Nu(),o=Jl;break}catch(t){Du(e,t)}while(1);return t&&e.shellSuspendCounter++,ea=$i=null,U=r,E.H=i,E.A=a,G===null&&(W=null,K=0,ci()),o}function Nu(){for(;G!==null;)Iu(G)}function Pu(e,t){var n=U;U|=2;var r=ku(),i=Au();W!==e||K!==t?(ou=null,au=Fe()+500,Eu(e,t)):Gl=nt(e,t);a:do try{if(q!==0&&G!==null){t=G;var o=Ul;b:switch(q){case 1:q=0,Ul=null,Ru(e,t,o,1);break;case 2:case 9:if(Na(o)){q=0,Ul=null,Lu(t);break}t=function(){q!==2&&q!==9||W!==e||(q=7),sd(e)},o.then(t,t);break a;case 3:q=7;break a;case 4:q=5;break a;case 7:Na(o)?(q=0,Ul=null,Lu(t)):(q=0,Ul=null,Ru(e,t,o,7));break;case 5:var s=null;switch(G.tag){case 26:s=G.memoizedState;case 5:case 27:var c=G;if(s?qf(s):c.stateNode.complete){q=0,Ul=null;var l=c.sibling;if(l!==null)G=l;else{var u=c.return;u===null?G=null:(G=u,zu(u))}break b}}q=0,Ul=null,Ru(e,t,o,5);break;case 6:q=0,Ul=null,Ru(e,t,o,6);break;case 8:Tu(),Jl=6;break a;default:throw Error(a(462))}}Fu();break}catch(t){Du(e,t)}while(1);return ea=$i=null,E.H=r,E.A=i,U=n,G===null?(W=null,K=0,ci(),Jl):0}function Fu(){for(;G!==null&&!Ne();)Iu(G)}function Iu(e){var t=Ic(e.alternate,e,ql);e.memoizedProps=e.pendingProps,t===null?zu(e):G=t}function Lu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=bc(n,t,t.pendingProps,t.type,void 0,K);break;case 11:t=bc(n,t,t.pendingProps,t.type.render,t.ref,K);break;case 5:Po(t);default:Wc(n,t),t=G=yi(t,ql),t=Ic(n,t,ql)}e.memoizedProps=e.pendingProps,t===null?zu(e):G=t}function Ru(e,t,n,r){ea=$i=null,Po(t),Ra=null,za=0;var i=t.return;try{if(ac(e,i,t,n,K)){Jl=1,ec(e,Ei(n,e.current)),G=null;return}}catch(t){if(i!==null)throw G=i,t;Jl=1,ec(e,Ei(n,e.current)),G=null;return}t.flags&32768?(N||r===1?e=!0:Gl||K&536870912?e=!1:(Wl=e=!0,(r===2||r===9||r===3||r===6)&&(r=lo.current,r!==null&&r.tag===13&&(r.flags|=16384))),Bu(t,e)):zu(t)}function zu(e){var t=e;do{if(t.flags&32768){Bu(t,Wl);return}e=t.return;var n=Hc(t.alternate,t,ql);if(n!==null){G=n;return}if(t=t.sibling,t!==null){G=t;return}G=t=e}while(t!==null);Jl===0&&(Jl=5)}function Bu(e,t){do{var n=Uc(e.alternate,e);if(n!==null){n.flags&=32767,G=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){G=e;return}G=e=n}while(e!==null);Jl=6,G=null}function Vu(e,t,n,r,i,o,s,c,l){e.cancelPendingCommit=null;do Ku();while(cu!==0);if(U&6)throw Error(a(327));if(t!==null){if(t===e.current)throw Error(a(177));if(o=t.lanes|t.childLanes,o|=si,st(e,n,o,s,c,l),e===W&&(G=W=null,K=0),uu=t,lu=e,du=n,fu=o,pu=i,mu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,ed(ze,function(){return qu(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=E.T,E.T=null,i=D.p,D.p=2,s=U,U|=4;try{ll(e,t,n)}finally{U=s,D.p=i,E.T=r}}cu=1,Hu(),Uu(),Wu()}}function Hu(){if(cu===1){cu=0;var e=lu,t=uu,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=E.T,E.T=null;var r=D.p;D.p=2;var i=U;U|=4;try{xl(t,e);var a=Ud,o=Fr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&Pr(s.ownerDocument.documentElement,s)){if(c!==null&&Ir(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Nr(s,h),v=Nr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}lp=!!Hd,Ud=Hd=null}finally{U=i,D.p=r,E.T=n}}e.current=t,cu=2}}function Uu(){if(cu===2){cu=0;var e=lu,t=uu,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=E.T,E.T=null;var r=D.p;D.p=2;var i=U;U|=4;try{ul(e,t.alternate,t)}finally{U=i,D.p=r,E.T=n}}cu=3}}function Wu(){if(cu===4||cu===3){cu=0,Pe();var e=lu,t=uu,n=du,r=mu;t.subtreeFlags&10256||t.flags&10256?cu=5:(cu=0,uu=lu=null,Gu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(su=null),ft(n),t=t.stateNode,Ge&&typeof Ge.onCommitFiberRoot==`function`)try{Ge.onCommitFiberRoot(We,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=E.T,i=D.p,D.p=2,E.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{E.T=t,D.p=i}}du&3&&Ku(),sd(e),i=e.pendingLanes,n&261930&&i&42?e===gu?hu++:(hu=0,gu=e):hu=0,cd(0,!1)}}function Gu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ga(t)))}function Ku(){return Hu(),Uu(),Wu(),qu()}function qu(){if(cu!==5)return!1;var e=lu,t=fu;fu=0;var n=ft(du),r=E.T,i=D.p;try{D.p=32>n?32:n,E.T=null,n=pu,pu=null;var o=lu,s=du;if(cu=0,uu=lu=null,du=0,U&6)throw Error(a(331));var c=U;if(U|=4,Rl(o.current),Al(o,o.current,s,n),U=c,cd(0,!1),Ge&&typeof Ge.onPostCommitFiberRoot==`function`)try{Ge.onPostCommitFiberRoot(We,o)}catch{}return!0}finally{D.p=i,E.T=r,Gu(e,t)}}function Ju(e,t,n){t=Ei(n,t),t=nc(e.stateNode,t,2),e=Xa(e,t,2),e!==null&&(ot(e,2),sd(e))}function J(e,t,n){if(e.tag===3)Ju(e,e,n);else for(;t!==null;){if(t.tag===3){Ju(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(su===null||!su.has(r))){e=Ei(n,e),n=rc(2),r=Xa(t,n,2),r!==null&&(ic(n,r,t,e),ot(r,2),sd(r));break}}t=t.return}}function Yu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Hl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Kl=!0,i.add(n),e=Xu.bind(null,e,t,n),t.then(e,e))}function Xu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,W===e&&(K&n)===n&&(Jl===4||Jl===3&&(K&62914560)===K&&300>Fe()-ru?!(U&2)&&Eu(e,0):Zl|=n,$l===K&&($l=0)),sd(e)}function Zu(e,t){t===0&&(t=it()),e=di(e,t),e!==null&&(ot(e,t),sd(e))}function Qu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Zu(e,n)}function $u(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(a(314))}r!==null&&r.delete(t),Zu(e,n)}function ed(e,t){return je(e,t)}var td=null,nd=null,rd=!1,id=!1,ad=!1,od=0;function sd(e){e!==nd&&e.next===null&&(nd===null?td=nd=e:nd=nd.next=e),id=!0,rd||(rd=!0,md())}function cd(e,t){if(!ad&&id){ad=!0;do for(var n=!1,r=td;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-qe(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,pd(r,a))}else a=K,a=tt(r,r===W?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||nt(r,a)||(n=!0,pd(r,a));r=r.next}while(n);ad=!1}}function ld(){ud()}function ud(){id=rd=!1;var e=0;od!==0&&Yd()&&(e=od);for(var t=Fe(),n=null,r=td;r!==null;){var i=r.next,a=dd(r,t);a===0?(r.next=null,n===null?td=i:n.next=i,i===null&&(nd=n)):(n=r,(e!==0||a&3)&&(id=!0)),r=i}cu!==0&&cu!==5||cd(e,!1),od!==0&&(od=0)}function dd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-qe(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=rt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=W,n=K,n=tt(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(q===2||q===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Me(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||nt(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Me(r),ft(n)){case 2:case 8:n=Re;break;case 32:n=ze;break;case 268435456:n=Ve;break;default:n=ze}return r=fd.bind(null,e),n=je(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Me(r),e.callbackPriority=2,e.callbackNode=null,2}function fd(e,t){if(cu!==0&&cu!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Ku()&&e.callbackNode!==n)return null;var r=K;return r=tt(e,e===W?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(bu(e,r,t),dd(e,Fe()),e.callbackNode!=null&&e.callbackNode===n?fd.bind(null,e):null)}function pd(e,t){if(Ku())return null;bu(e,t,!0)}function md(){$d(function(){U&6?je(Le,ld):ud()})}function hd(){if(od===0){var e=ya;e===0&&(e=Ze,Ze<<=1,!(Ze&261888)&&(Ze=256)),od=e}return od}function gd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:ln(``+e)}function _d(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function vd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=gd((i[_t]||null).action),o=r.submitter;o&&(t=(t=o[_t]||null)?gd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new An(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(od!==0){var e=o?_d(i,o):new FormData(i);Os(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?_d(i,o):new FormData(i),Os(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var yd=0;yd<ni.length;yd++){var bd=ni[yd];ri(bd.toLowerCase(),`on`+(bd[0].toUpperCase()+bd.slice(1)))}ri(Jr,`onAnimationEnd`),ri(Yr,`onAnimationIteration`),ri(Xr,`onAnimationStart`),ri(`dblclick`,`onDoubleClick`),ri(`focusin`,`onFocus`),ri(`focusout`,`onBlur`),ri(Zr,`onTransitionRun`),ri(Qr,`onTransitionStart`),ri($r,`onTransitionCancel`),ri(ei,`onTransitionEnd`),Nt(`onMouseEnter`,[`mouseout`,`mouseover`]),Nt(`onMouseLeave`,[`mouseout`,`mouseover`]),Nt(`onPointerEnter`,[`pointerout`,`pointerover`]),Nt(`onPointerLeave`,[`pointerout`,`pointerover`]),Mt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Mt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Mt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Mt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Mt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Mt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var xd=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),Sd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(xd));function Cd(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){ii(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){ii(e)}i.currentTarget=null,a=c}}}}function Y(e,t){var n=t[yt];n===void 0&&(n=t[yt]=new Set);var r=e+`__bubble`;n.has(r)||(Dd(t,e,2,!1),n.add(r))}function wd(e,t,n){var r=0;t&&(r|=4),Dd(n,e,r,t)}var Td=`_reactListening`+Math.random().toString(36).slice(2);function Ed(e){if(!e[Td]){e[Td]=!0,At.forEach(function(t){t!==`selectionchange`&&(Sd.has(t)||wd(t,!1,e),wd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Td]||(t[Td]=!0,wd(`selectionchange`,!1,t))}}function Dd(e,t,n,r){switch(gp(t)){case 2:var i=up;break;case 8:i=dp;break;default:i=fp}n=i.bind(null,t,n,e),i=void 0,!bn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function Od(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var c=r.stateNode.containerInfo;if(c===i)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&o.stateNode.containerInfo===i)return;o=o.return}for(;c!==null;){if(o=Tt(c),o===null)return;if(l=o.tag,l===5||l===6||l===26||l===27){r=a=o;continue a}c=c.parentNode}}r=r.return}_n(function(){var r=a,i=fn(n),o=[];a:{var c=ti.get(e);if(c!==void 0){var l=An,u=e;switch(e){case`keypress`:if(En(n)===0)break a;case`keydown`:case`keyup`:l=qn;break;case`focusin`:u=`focus`,l=Rn;break;case`focusout`:u=`blur`,l=Rn;break;case`beforeblur`:case`afterblur`:l=Rn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=In;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Ln;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Yn;break;case Jr:case Yr:case Xr:l=zn;break;case ei:l=Xn;break;case`scroll`:case`scrollend`:l=jn;break;case`wheel`:l=Zn;break;case`copy`:case`cut`:case`paste`:l=Bn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Jn;break;case`toggle`:case`beforetoggle`:l=Qn}var d=(t&4)!=0,f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=vn(m,p),g!=null&&d.push(kd(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),o.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==dn&&(u=n.relatedTarget||n.fromElement)&&(Tt(u)||u[vt]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?Tt(u):null,u!==null&&(f=s(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=In,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Jn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:Dt(l),h=u==null?c:Dt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,Tt(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=jd,p=l,m=u,h=0,g=p;g;g=d(g))h++;g=0;for(var _=m;_;_=d(_))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||m!==null&&p===m.alternate){d=p;break b}p=d(p),m=d(m)}d=null}else d=null;l!==null&&Md(o,c,l,d,!1),u!==null&&f!==null&&Md(o,f,u,d,!0)}}a:{if(c=r?Dt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=vr;else if(fr(c))if(yr)v=Or;else{v=Er;var y=Tr}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&on(r.elementType)&&(v=vr):v=Dr;if(v&&=v(e,r)){pr(o,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Zt(c,`number`,c.value)}switch(y=r?Dt(r):window,e){case`focusin`:(fr(y)||y.contentEditable===`true`)&&(Rr=y,zr=r,Br=null);break;case`focusout`:Br=zr=Rr=null;break;case`mousedown`:Vr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Vr=!1,Hr(o,n,i);break;case`selectionchange`:if(Lr)break;case`keydown`:case`keyup`:Hr(o,n,i)}var b;if(er)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else cr?or(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(rr&&n.locale!==`ko`&&(cr||x!==`onCompositionStart`?x===`onCompositionEnd`&&cr&&(b=Tn()):(Sn=i,Cn=`value`in Sn?Sn.value:Sn.textContent,cr=!0)),y=Ad(r,x),0<y.length&&(x=new Vn(x,e,null,n,i),o.push({event:x,listeners:y}),b?x.data=b:(b=sr(n),b!==null&&(x.data=b)))),(b=nr?lr(e,n):ur(e,n))&&(x=Ad(r,`onBeforeInput`),0<x.length&&(y=new Vn(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:y,listeners:x}),y.data=b)),vd(o,e,r,n,i)}Cd(o,t)})}function kd(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ad(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=vn(e,n),i!=null&&r.unshift(kd(e,i,a)),i=vn(e,t),i!=null&&r.push(kd(e,i,a))),e.tag===3)return r;e=e.return}return[]}function jd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Md(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=vn(n,a),l!=null&&o.unshift(kd(n,l,c))):i||(l=vn(n,a),l!=null&&o.push(kd(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Nd=/\r\n?/g,Pd=/\u0000|\uFFFD/g;function Fd(e){return(typeof e==`string`?e:``+e).replace(Nd,` 10`).replace(Pd,``)}function Id(e,t){return t=Fd(t),Fd(e)===t}function X(e,t,n,r,i,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||tn(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&tn(e,``+r);break;case`className`:zt(e,`class`,r);break;case`tabIndex`:zt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:zt(e,n,r);break;case`style`:an(e,r,o);break;case`data`:if(t!==`object`){zt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=ln(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}else typeof o==`function`&&(n===`formAction`?(t!==`input`&&X(e,t,`name`,i.name,i,null),X(e,t,`formEncType`,i.formEncType,i,null),X(e,t,`formMethod`,i.formMethod,i,null),X(e,t,`formTarget`,i.formTarget,i,null)):(X(e,t,`encType`,i.encType,i,null),X(e,t,`method`,i.method,i,null),X(e,t,`target`,i.target,i,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=ln(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=un);break;case`onScroll`:r!=null&&Y(`scroll`,e);break;case`onScrollEnd`:r!=null&&Y(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(a(61));if(n=r.__html,n!=null){if(i.children!=null)throw Error(a(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=ln(``+r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:Y(`beforetoggle`,e),Y(`toggle`,e),Rt(e,`popover`,r);break;case`xlinkActuate`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Bt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Bt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Bt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:Rt(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=sn.get(n)||n,Rt(e,n,r))}}function Ld(e,t,n,r,i,o){switch(n){case`style`:an(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(a(61));if(n=r.__html,n!=null){if(i.children!=null)throw Error(a(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?tn(e,r):(typeof r==`number`||typeof r==`bigint`)&&tn(e,``+r);break;case`onScroll`:r!=null&&Y(`scroll`,e);break;case`onScrollEnd`:r!=null&&Y(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=un);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!jt.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(i=n.endsWith(`Capture`),t=n.slice(2,i?n.length-7:void 0),o=e[_t]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,i),typeof r==`function`)){typeof o!=`function`&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,i);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):Rt(e,n,r)}}}function Rd(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:Y(`error`,e),Y(`load`,e);var r=!1,i=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:i=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(a(137,t));default:X(e,t,o,s,n,null)}}i&&X(e,t,`srcSet`,n.srcSet,n,null),r&&X(e,t,`src`,n.src,n,null);return;case`input`:Y(`invalid`,e);var c=o=s=i=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:i=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(a(137,t));break;default:X(e,t,r,d,n,null)}}Xt(e,o,c,l,u,s,i,!1);return;case`select`:for(i in Y(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(i)&&(c=n[i],c!=null))switch(i){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:X(e,t,i,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Qt(e,!!r,n,!0):Qt(e,!!r,t,!1);return;case`textarea`:for(s in Y(`invalid`,e),o=i=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:i=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(a(91));break;default:X(e,t,s,c,n,null)}en(e,r,i,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:X(e,t,l,r,n,null)}return;case`dialog`:Y(`beforetoggle`,e),Y(`toggle`,e),Y(`cancel`,e),Y(`close`,e);break;case`iframe`:case`object`:Y(`load`,e);break;case`video`:case`audio`:for(r=0;r<xd.length;r++)Y(xd[r],e);break;case`image`:Y(`error`,e),Y(`load`,e);break;case`details`:Y(`toggle`,e);break;case`embed`:case`source`:case`link`:Y(`error`,e),Y(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(a(137,t));default:X(e,t,u,r,n,null)}return;default:if(on(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Ld(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&X(e,t,c,r,n,null))}function zd(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var i=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||X(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:o=m;break;case`name`:i=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(a(137,t));break;default:m!==f&&X(e,t,p,m,r,f)}}Yt(e,s,c,l,u,d,o,i);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||X(e,t,o,null,r,l)}for(i in r)if(o=r[i],l=n[i],r.hasOwnProperty(i)&&(o!=null||l!=null))switch(i){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&X(e,t,i,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Qt(e,!!n,n?[]:``,!1):Qt(e,!!n,t,!0)):Qt(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(i=n[c],n.hasOwnProperty(c)&&i!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:X(e,t,c,null,r,i)}for(s in r)if(i=r[s],o=n[s],r.hasOwnProperty(s)&&(i!=null||o!=null))switch(s){case`value`:p=i;break;case`defaultValue`:m=i;break;case`children`:break;case`dangerouslySetInnerHTML`:if(i!=null)throw Error(a(91));break;default:i!==o&&X(e,t,s,i,r,o)}$t(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:X(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:X(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&X(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(a(137,t));break;default:X(e,t,u,p,r,m)}return;default:if(on(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Ld(e,t,_,void 0,r,p);
vendor: 4,461 bytes, line 10
10for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||Ld(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&X(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||X(e,t,f,p,r,m)}function Bd(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Vd(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Bd(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Bd(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var Hd=null,Ud=null;function Wd(e){return e.nodeType===9?e:e.ownerDocument}function Gd(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function Kd(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function qd(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Jd=null;function Yd(){var e=window.event;return e&&e.type===`popstate`?e===Jd?!1:(Jd=e,!0):(Jd=null,!1)}var Xd=typeof setTimeout==`function`?setTimeout:void 0,Zd=typeof clearTimeout==`function`?clearTimeout:void 0,Qd=typeof Promise==`function`?Promise:void 0,$d=typeof queueMicrotask==`function`?queueMicrotask:Qd===void 0?Xd:function(e){return Qd.resolve(null).then(e).catch(ef)};function ef(e){setTimeout(function(){throw e})}function tf(e){return e===`head`}function nf(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Fp(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)gf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,gf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[Ct]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&gf(e.ownerDocument.body);n=i}while(n);Fp(t)}function rf(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8)if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++;n=r}while(n)}function af(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:af(n),wt(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function of(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r)if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e;else if(!e[Ct])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=df(e.nextSibling),e===null)break}return null}function sf(e,t,n){if(t===``)return null;for(;
vendor: 20,211 bytes, line 10
10e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=df(e.nextSibling),e===null))return null;return e}function Z(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=df(e.nextSibling),e===null))return null;return e}function cf(e){return e.data===`$?`||e.data===`$~`}function lf(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function uf(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function df(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var ff=null;function pf(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return df(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function mf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function hf(e,t,n){switch(t=Wd(n),e){case`html`:if(e=t.documentElement,!e)throw Error(a(452));return e;case`head`:if(e=t.head,!e)throw Error(a(453));return e;case`body`:if(e=t.body,!e)throw Error(a(454));return e;default:throw Error(a(451))}}function gf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);wt(e)}var _f=new Map,vf=new Set;function yf(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var bf=D.d;D.d={f:xf,r:Sf,D:Tf,C:Ef,L:Df,m:Of,X:Af,S:kf,M:jf};function xf(){var e=bf.f(),t=wu();return e||t}function Sf(e){var t=Et(e);t!==null&&t.tag===5&&t.type===`form`?As(t):bf.r(e)}var Cf=typeof document>`u`?null:document;function wf(e,t,n){var r=Cf;if(r&&typeof t==`string`&&t){var i=Jt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),vf.has(i)||(vf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Rd(t,`link`,e),kt(t),r.head.appendChild(t)))}}function Tf(e){bf.D(e),wf(`dns-prefetch`,e,null)}function Ef(e,t){bf.C(e,t),wf(`preconnect`,e,t)}function Df(e,t,n){bf.L(e,t,n);var r=Cf;if(r&&e&&t){var i=`link[rel="preload"][as="`+Jt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Jt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Jt(n.imageSizes)+`"]`)):i+=`[href="`+Jt(e)+`"]`;var a=i;switch(t){case`style`:a=Nf(e);break;case`script`:a=Lf(e)}_f.has(a)||(e=p({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),_f.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Pf(a))||t===`script`&&r.querySelector(Rf(a))||(t=r.createElement(`link`),Rd(t,`link`,e),kt(t),r.head.appendChild(t)))}}function Of(e,t){bf.m(e,t);var n=Cf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Jt(r)+`"][href="`+Jt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Lf(e)}if(!_f.has(a)&&(e=p({rel:`modulepreload`,href:e},t),_f.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Rf(a)))return}r=n.createElement(`link`),Rd(r,`link`,e),kt(r),n.head.appendChild(r)}}}function kf(e,t,n){bf.S(e,t,n);var r=Cf;if(r&&e){var i=Ot(r).hoistableStyles,a=Nf(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Pf(a)))s.loading=5;else{e=p({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=_f.get(a))&&Vf(e,n);var c=o=r.createElement(`link`);kt(c),Rd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Bf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Af(e,t){bf.X(e,t);var n=Cf;if(n&&e){var r=Ot(n).hoistableScripts,i=Lf(e),a=r.get(i);a||(a=n.querySelector(Rf(i)),a||(e=p({src:e,async:!0},t),(t=_f.get(i))&&Hf(e,t),a=n.createElement(`script`),kt(a),Rd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function jf(e,t){bf.M(e,t);var n=Cf;if(n&&e){var r=Ot(n).hoistableScripts,i=Lf(e),a=r.get(i);a||(a=n.querySelector(Rf(i)),a||(e=p({src:e,async:!0,type:`module`},t),(t=_f.get(i))&&Hf(e,t),a=n.createElement(`script`),kt(a),Rd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Mf(e,t,n,r){var i=(i=ge.current)?yf(i):null;if(!i)throw Error(a(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=Nf(n.href),n=Ot(i).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Nf(n.href);var o=Ot(i).hoistableStyles,s=o.get(e);if(s||(i=i.ownerDocument||i,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=i.querySelector(Pf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),_f.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},_f.set(e,n),o||If(i,e,n,s.state))),t&&r===null)throw Error(a(528,``));return s}if(t&&r!==null)throw Error(a(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=Lf(n),n=Ot(i).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(a(444,e))}}function Nf(e){return`href="`+Jt(e)+`"`}function Pf(e){return`link[rel="stylesheet"][`+e+`]`}function Ff(e){return p({},e,{"data-precedence":e.precedence,precedence:null})}function If(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Rd(t,`link`,n),kt(t),e.head.appendChild(t))}function Lf(e){return`[src="`+Jt(e)+`"]`}function Rf(e){return`script[async]`+e}function zf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Jt(n.href)+`"]`);if(r)return t.instance=r,kt(r),r;var i=p({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),kt(r),Rd(r,`style`,i),Bf(r,n.precedence,e),t.instance=r;case`stylesheet`:i=Nf(n.href);var o=e.querySelector(Pf(i));if(o)return t.state.loading|=4,t.instance=o,kt(o),o;r=Ff(n),(i=_f.get(i))&&Vf(r,i),o=(e.ownerDocument||e).createElement(`link`),kt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Rd(o,`link`,r),t.state.loading|=4,Bf(o,n.precedence,e),t.instance=o;case`script`:return o=Lf(n.src),(i=e.querySelector(Rf(o)))?(t.instance=i,kt(i),i):(r=n,(i=_f.get(o))&&(r=p({},n),Hf(r,i)),e=e.ownerDocument||e,i=e.createElement(`script`),kt(i),Rd(i,`link`,r),e.head.appendChild(i),t.instance=i);case`void`:return null;default:throw Error(a(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Bf(r,n.precedence,e));return t.instance}function Bf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Vf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Hf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Uf=null;function Wf(e,t,n){if(Uf===null){var r=new Map,i=Uf=new Map;i.set(n,r)}else i=Uf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[Ct]||a[gt]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Gf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Kf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function qf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Jf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Nf(r.href),a=t.querySelector(Pf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Zf.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,kt(a);return}a=t.ownerDocument||t,r=Ff(r),(i=_f.get(i))&&Vf(r,i),a=a.createElement(`link`),kt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Rd(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=Zf.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var Yf=0;function Xf(e,t){return e.stylesheets&&e.count===0&&$f(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&$f(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&Yf===0&&(Yf=62500*Vd());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&$f(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>Yf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Zf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)$f(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Qf=null;function $f(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Qf=new Map,t.forEach(ep,e),Qf=null,Zf.call(e))}function ep(e,t){if(!(t.state.loading&4)){var n=Qf.get(e);if(n)var r=n.get(null);else{n=new Map,Qf.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=Zf.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var tp={$$typeof:S,Provider:null,Consumer:null,_currentValue:ue,_currentValue2:ue,_threadCount:0};function np(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=at(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=at(0),this.hiddenUpdates=at(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function rp(e,t,n,r,i,a,o,s,c,l,u,d){return e=new np(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=gi(3,null,null,t),e.current=a,a.stateNode=e,t=ha(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},qa(a),e}function Q(e){return e?(e=mi,e):mi}function ip(e,t,n,r,i,a){i=Q(i),r.context===null?r.context=i:r.pendingContext=i,r=Ya(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Xa(e,r,t),n!==null&&(yu(n,e,t),Za(n,e,t))}function ap(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function op(e,t){ap(e,t),(e=e.alternate)&&ap(e,t)}function sp(e){if(e.tag===13||e.tag===31){var t=di(e,67108864);t!==null&&yu(t,e,67108864),op(e,67108864)}}function cp(e){if(e.tag===13||e.tag===31){var t=_u();t=dt(t);var n=di(e,t);n!==null&&yu(n,e,t),op(e,t)}}var lp=!0;function up(e,t,n,r){var i=E.T;E.T=null;var a=D.p;try{D.p=2,fp(e,t,n,r)}finally{D.p=a,E.T=i}}function dp(e,t,n,r){var i=E.T;E.T=null;var a=D.p;try{D.p=8,fp(e,t,n,r)}finally{D.p=a,E.T=i}}function fp(e,t,n,r){if(lp){var i=pp(r);if(i===null)Od(e,t,r,mp,n),Tp(e,r);else if(Dp(i,e,t,n,r))r.stopPropagation();else if(Tp(e,r),t&4&&-1<wp.indexOf(e)){for(;i!==null;){var a=Et(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=et(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-qe(o);s.entanglements[1]|=c,o&=~c}sd(a),!(U&6)&&(au=Fe()+500,cd(0,!1))}}break;case 31:case 13:s=di(a,2),s!==null&&yu(s,a,2),wu(),op(a,2)}if(a=pp(r),a===null&&Od(e,t,r,mp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else Od(e,t,r,null,n)}}function pp(e){return e=fn(e),hp(e)}var mp=null;function hp(e){if(mp=null,e=Tt(e),e!==null){var t=s(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=c(t),e!==null)return e;e=null}else if(n===31){if(e=l(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return mp=e,null}function gp(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(Ie()){case Le:return 2;case Re:return 8;case ze:case Be:return 32;case Ve:return 268435456;default:return 32}default:return 32}}var _p=!1,vp=null,yp=null,bp=null,xp=new Map,Sp=new Map,Cp=[],wp=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function Tp(e,t){switch(e){case`focusin`:case`focusout`:vp=null;break;case`dragenter`:case`dragleave`:yp=null;break;case`mouseover`:case`mouseout`:bp=null;break;case`pointerover`:case`pointerout`:xp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:Sp.delete(t.pointerId)}}function Ep(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Et(t),t!==null&&sp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Dp(e,t,n,r,i){switch(t){case`focusin`:return vp=Ep(vp,e,t,n,r,i),!0;case`dragenter`:return yp=Ep(yp,e,t,n,r,i),!0;case`mouseover`:return bp=Ep(bp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return xp.set(a,Ep(xp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,Sp.set(a,Ep(Sp.get(a)||null,e,t,n,r,i)),!0}return!1}function Op(e){var t=Tt(e.target);if(t!==null){var n=s(t);if(n!==null){if(t=n.tag,t===13){if(t=c(n),t!==null){e.blockedOn=t,mt(e.priority,function(){cp(n)});return}}else if(t===31){if(t=l(n),t!==null){e.blockedOn=t,mt(e.priority,function(){cp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function kp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=pp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);dn=r,n.target.dispatchEvent(r),dn=null}else return t=Et(n),t!==null&&sp(t),e.blockedOn=n,!1;t.shift()}return!0}function Ap(e,t,n){kp(e)&&n.delete(t)}function jp(){_p=!1,vp!==null&&kp(vp)&&(vp=null),yp!==null&&kp(yp)&&(yp=null),bp!==null&&kp(bp)&&(bp=null),xp.forEach(Ap),Sp.forEach(Ap)}function Mp(e,n){e.blockedOn===n&&(e.blockedOn=null,_p||(_p=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,jp)))}var Np=null;function Pp(e){Np!==e&&(Np=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Np===e&&(Np=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(hp(r||n)===null)continue;break}var a=Et(n);a!==null&&(e.splice(t,3),t-=3,Os(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Fp(e){function t(t){return Mp(t,e)}vp!==null&&Mp(vp,e),yp!==null&&Mp(yp,e),bp!==null&&Mp(bp,e),xp.forEach(t),Sp.forEach(t);for(var n=0;n<Cp.length;n++){var r=Cp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Cp.length&&(n=Cp[0],n.blockedOn===null);)Op(n),n.blockedOn===null&&Cp.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[_t]||null;if(typeof a==`function`)o||Pp(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[_t]||null)s=o.formAction;else if(hp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Pp(n)}}}function Ip(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Lp(e){this._internalRoot=e}Rp.prototype.render=Lp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(a(409));var n=t.current;ip(n,_u(),e,t,null,null)},Rp.prototype.unmount=Lp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;
10ip(e.current,2,null,e,null,null),wu(),t[vt]=null}};function Rp(e){this._internalRoot=e}Rp.prototype.unstable_scheduleHydration=function(e){if(e){var t=pt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Cp.length&&t!==0&&t<Cp[n].priority;n++);Cp.splice(n,0,e),n===0&&Op(e)}};var zp=n.version;if(zp!==`19.2.5`)throw Error(a(527,zp,`19.2.5`));D.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(a(188)):(e=Object.keys(e).join(`,`),Error(a(268,e)));return e=d(t),e=e===null?null:f(e),e=e===null?null:e.stateNode,e};var Bp={bundleType:0,version:`19.2.5`,rendererPackageName:`react-dom`,currentDispatcherRef:E,reconcilerVersion:`19.2.5`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Vp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Vp.isDisabled&&Vp.supportsFiber)try{We=Vp.inject(Bp),Ge=Vp}catch{}}e.hydrateRoot=function(e,t,n){if(!o(e))throw Error(a(299));var r=!1,i=``,s=Zs,c=Qs,l=$s,u=null;return n!=null&&(!0===n.unstable_strictMode&&(r=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(c=n.onCaughtError),n.onRecoverableError!==void 0&&(l=n.onRecoverableError),n.formState!==void 0&&(u=n.formState)),t=rp(e,1,!0,t,n??null,r,i,u,s,c,l,Ip),t.context=Q(null),n=t.current,r=_u(),r=dt(r),i=Ya(r),i.callback=null,Xa(n,i,r),n=r,t.current.lanes=n,ot(t,n),sd(t),e[vt]=t.current,Ed(e),new Rp(t)}})),De=e(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=Ee()})),Oe=`__TSS_CONTEXT`,ke=Symbol.for(`TSS_SERVER_FUNCTION`),Ae=Symbol.for(`TSS_SERVER_FUNCTION_FACTORY`),je=`application/x-tss-framed`,Me={JSON:0,CHUNK:1,END:2,ERROR:3};`${je}`;var Ne=/;\s*v=(\d+)/;function Pe(e){let t=e.match(Ne);return t?parseInt(t[1],10):void 0}function Fe(e){let t=Pe(e);if(t!==void 0&&t!==1)throw Error(`Incompatible framed protocol version: server=${t}, client=1. Please ensure client and server are using compatible versions.`)}var Ie=()=>window.__TSS_START_OPTIONS__;function Le(e={}){if(e.isNotFound=!0,e.throw)throw e;return e}function Re(e){return e?.isNotFound===!0}function ze(){try{return typeof window<`u`&&typeof window.sessionStorage==`object`?window.sessionStorage:void 0}catch{return}}var Be=`tsr-scroll-restoration-v1_3`;function Ve(){let e=ze();if(!e)return null;let t={};try{let n=JSON.parse(e.getItem(`tsr-scroll-restoration-v1_3`)||`{}`);f(n)&&(t=n)}catch{}return{get state(){return t},set:e=>{t=i(e,t)||t},persist:()=>{try{e.setItem(Be,JSON.stringify(t))}catch{}}}}var He=Ve(),Ue=e=>e.state.__TSR_key||e.href;function We(e){let t=[],n;for(;n=e.parentNode;)t.push(`${e.tagName}:nth-child(${Array.prototype.indexOf.call(n.children,e)+1})`),e=n;return`${t.reverse().join(` > `)}`.toLowerCase()}var Ge=!1,Ke=`window`,qe=`data-scroll-restoration-id`;function Je(e,t){if(!He)return;let n=He;if((t??e.options.scrollRestoration??!1)&&(e.isScrollRestoring=!0),e.isScrollRestorationSetup||!n)return;e.isScrollRestorationSetup=!0,Ge=!1;let r=e.options.getScrollRestorationKey||Ue,i=new Map;window.history.scrollRestoration=`manual`;let a=t=>{if(!(Ge||!e.isScrollRestoring))if(t.target===document||t.target===window)i.set(Ke,{scrollX:window.scrollX||0,scrollY:window.scrollY||0});else{let e=t.target;i.set(e,{scrollX:e.scrollLeft||0,scrollY:e.scrollTop||0})}},o=t=>{if(!e.isScrollRestoring||!t||i.size===0||!n)return;let r=n.state[t]||={};for(let[e,t]of i){let n;if(e===Ke)n=Ke;else if(e.isConnected){let t=e.getAttribute(qe);n=t?`[${qe}="${t}"]`:We(e)}n&&(r[n]=t)}};document.addEventListener(`scroll`,a,!0),e.subscribe(`onBeforeLoad`,e=>{o(e.fromLocation?r(e.fromLocation):void 0),i.clear()}),window.addEventListener(`pagehide`,()=>{o(r(e.stores.resolvedLocation.get()??e.stores.location.get())),n.persist()}),e.subscribe(`onRendered`,t=>{let a=r(t.toLocation),o=e.options.scrollRestorationBehavior,s=e.options.scrollToTopSelectors;if(i.clear(),!e.resetNextScroll){e.resetNextScroll=!0;return}if(!(typeof e.options.scrollRestoration==`function`&&!e.options.scrollRestoration({location:e.latestLocation}))){Ge=!0;try{let t=e.isScrollRestoring?n.state[a]:void 0,r=!1;if(t)for(let e in t){let n=t[e];if(!f(n))continue;let{scrollX:i,scrollY:a}=n;
10if(!(!Number.isFinite(i)||!Number.isFinite(a))){if(e===Ke)window.scrollTo({top:a,left:i,behavior:o}),r=!0;else if(e){let t;try{t=document.querySelector(e)}catch{continue}t&&(t.scrollLeft=i,t.scrollTop=a,r=!0)}}}if(!r){let t=e.history.location.hash.slice(1);if(t){let e=window.history.state?.__hashScrollIntoViewOptions??!0;if(e){let n=document.getElementById(t);n&&n.scrollIntoView(e)}}else{let e={top:0,left:0,behavior:o};if(window.scrollTo(e),s)for(let t of s){if(t===Ke)continue;let n=typeof t==`function`?t():document.querySelector(t);n&&n.scrollTo(e)}}}}finally{Ge=!1}e.isScrollRestoring&&n.set(e=>(e[a]||={},e))}})}function Ye(e,t=String){let n=new URLSearchParams;for(let r in e){let i=e[r];i!==void 0&&n.set(r,t(i))}return n.toString()}function Xe(e){return e?e===`false`?!1:e===`true`?!0:e*0==0&&+e+``===e?+e:e:``}function Ze(e){let t=new URLSearchParams(e),n=Object.create(null);for(let[e,r]of t.entries()){let t=n[e];t==null?n[e]=Xe(r):Array.isArray(t)?t.push(Xe(r)):n[e]=[t,Xe(r)]}return n}var Qe=et(JSON.parse),$e=tt(JSON.stringify,JSON.parse);function et(e){return t=>{t[0]===`?`&&(t=t.substring(1));let n=Ze(t);for(let t in n){let r=n[t];if(typeof r==`string`)try{n[t]=e(r)}catch{}}return n}}function tt(e,t){let n=typeof t==`function`;function r(r){if(typeof r==`object`&&r)try{return e(r)}catch{}else if(n&&typeof r==`string`)try{return t(r),e(r)}catch{}return r}return e=>{let t=Ye(e,r);return t?`?${t}`:``}}var nt=`__root__`;function rt(e){if(e.statusCode=e.statusCode||e.code||307,!e._builtLocation&&!e.reloadDocument&&typeof e.href==`string`)try{new URL(e.href),e.reloadDocument=!0}catch{}let t=new Headers(e.headers);e.href&&t.get(`Location`)===null&&t.set(`Location`,e.href);let n=new Response(null,{status:e.statusCode,headers:t});if(n.options=e,e.throw)throw n;return n}function it(e){return e instanceof Response&&!!e.options}function at(e){if(typeof e==`object`&&e&&e.isSerializedRedirect)return rt(e)}function ot(e){return{input:({url:t})=>{for(let n of e)t=ct(n,t);return t},output:({url:t})=>{for(let n=e.length-1;n>=0;n--)t=lt(e[n],t);return t}}}function st(e){let t=ce(e.basepath),n=`/${t}`,r=`${n}/`,i=e.caseSensitive?n:n.toLowerCase(),a=e.caseSensitive?r:r.toLowerCase();return{input:({url:t})=>{let r=e.caseSensitive?t.pathname:t.pathname.toLowerCase();return r===i?t.pathname=`/`:r.startsWith(a)&&(t.pathname=t.pathname.slice(n.length)),t},output:({url:e})=>(e.pathname=S([`/`,t,e.pathname]),e)}}function ct(e,t){let n=e?.input?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function lt(e,t){let n=e?.output?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function ut(e,t){let{createMutableStore:n,createReadonlyStore:r,batch:i,init:a}=t,o=new Map,s=new Map,c=new Map,l=n(e.status),u=n(e.loadedAt),d=n(e.isLoading),f=n(e.isTransitioning),p=n(e.location),m=n(e.resolvedLocation),h=n(e.statusCode),g=n(e.redirect),_=n([]),v=n([]),y=n([]),b=r(()=>dt(o,_.get())),x=r(()=>dt(s,v.get())),S=r(()=>dt(c,y.get())),C=r(()=>_.get()[0]),ee=r(()=>_.get().some(e=>o.get(e)?.get().status===`pending`)),te=r(()=>({locationHref:p.get().href,resolvedLocationHref:m.get()?.href,status:l.get()})),ne=r(()=>({status:l.get(),loadedAt:u.get(),isLoading:d.get(),isTransitioning:f.get(),matches:b.get(),location:p.get(),resolvedLocation:m.get(),statusCode:h.get(),redirect:g.get()})),re=pe(64);function ie(e){let t=re.get(e);return t||(t=r(()=>{let t=_.get();for(let n of t){let t=o.get(n);if(t&&t.routeId===e)return t.get()}}),re.set(e,t)),t}let ae={status:l,loadedAt:u,isLoading:d,isTransitioning:f,location:p,resolvedLocation:m,statusCode:h,redirect:g,matchesId:_,pendingIds:v,cachedIds:y,matches:b,pendingMatches:x,cachedMatches:S,firstId:C,hasPending:ee,matchRouteDeps:te,matchStores:o,pendingMatchStores:s,cachedMatchStores:c,__store:ne,getRouteMatchStore:ie,setMatches:oe,setPending:w,setCached:se};oe(e.matches),a?.(ae);function oe(e){ft(e,o,_,n,i)}function w(e){ft(e,s,v,n,i)}function se(e){ft(e,c,y,n,i)}return ae}function dt(e,t){let n=[];for(let r of t){let t=e.get(r);t&&n.push(t.get())}return n}function ft(e,t,n,r,i){let a=e.map(e=>
10e.id),o=new Set(a);i(()=>{for(let e of t.keys())o.has(e)||t.delete(e);for(let n of e){let e=t.get(n.id);if(!e){let e=r(n);e.routeId=n.routeId,t.set(n.id,e);continue}e.routeId=n.routeId,e.get()!==n&&e.set(n)}fe(n.get(),a)||n.set(a)})}var pt=e=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},mt=e=>e.stores.matchesId.get().some(t=>e.stores.matchStores.get(t)?.get()._forcePending),ht=(e,t)=>!!(e.preload&&!e.router.stores.matchStores.has(t)),gt=(e,t,n=!0)=>{let r={...e.router.options.context??{}},i=n?t:t-1;for(let t=0;t<=i;t++){let n=e.matches[t];if(!n)continue;let i=e.router.getMatch(n.id);i&&Object.assign(r,i.__routeContext,i.__beforeLoadContext)}return r},_t=(e,t)=>{if(!e.matches.length)return;let n=t.routeId,r=e.matches.findIndex(t=>t.routeId===e.router.routeTree.id),i=r>=0?r:0,a=n?e.matches.findIndex(e=>e.routeId===n):e.firstBadMatchIndex??e.matches.length-1;a<0&&(a=i);for(let t=a;t>=0;t--){let n=e.matches[t];if(e.router.looseRoutesById[n.routeId].options.notFoundComponent)return t}return n?a:i},vt=(e,t,n)=>{if(!(!it(n)&&!Re(n)))throw it(n)&&n.redirectHandled&&!n.options.reloadDocument?n:(t&&(t._nonReactive.beforeLoadPromise?.resolve(),t._nonReactive.loaderPromise?.resolve(),t._nonReactive.beforeLoadPromise=void 0,t._nonReactive.loaderPromise=void 0,t._nonReactive.error=n,e.updateMatch(t.id,r=>({...r,status:it(n)?`redirected`:Re(n)?`notFound`:r.status===`pending`?`success`:r.status,context:gt(e,t.index),isFetching:!1,error:n})),Re(n)&&!n.routeId&&(n.routeId=t.routeId),t._nonReactive.loadPromise?.resolve()),it(n)&&(e.rendered=!0,n.options._fromLocation=e.location,n.redirectHandled=!0,n=e.router.resolveRedirect(n)),n)},yt=(e,t)=>{let n=e.router.getMatch(t);return!!(!n||n._nonReactive.dehydrated)},bt=(e,t,n)=>{let r=gt(e,n);e.updateMatch(t,e=>({...e,context:r}))},xt=(e,t,n,r)=>{let{id:i,routeId:a}=e.matches[t],o=e.router.looseRoutesById[a];if(n instanceof Promise)throw n;n.routerCode=r,e.firstBadMatchIndex??=t,vt(e,e.router.getMatch(i),n);try{o.options.onError?.(n)}catch(t){n=t,vt(e,e.router.getMatch(i),n)}e.updateMatch(i,e=>(e._nonReactive.beforeLoadPromise?.resolve(),e._nonReactive.beforeLoadPromise=void 0,e._nonReactive.loadPromise?.resolve(),{...e,error:n,status:`error`,isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!it(n)&&!Re(n)&&(e.serialError??=n)},St=(e,t,n,r)=>{if(r._nonReactive.pendingTimeout!==void 0)return;let i=n.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!ht(e,t)&&(n.options.loader||n.options.beforeLoad||Nt(n))&&typeof i==`number`&&i!==1/0&&(n.options.pendingComponent??e.router.options?.defaultPendingComponent)){let t=setTimeout(()=>{pt(e)},i);r._nonReactive.pendingTimeout=t}},Ct=(e,t,n)=>{let r=e.router.getMatch(t);if(!r._nonReactive.beforeLoadPromise&&!r._nonReactive.loaderPromise)return;St(e,t,n,r);let i=()=>{let n=e.router.getMatch(t);n.preload&&(n.status===`redirected`||n.status===`notFound`)&&vt(e,n,n.error)};return r._nonReactive.beforeLoadPromise?r._nonReactive.beforeLoadPromise.then(i):i()},wt=(e,t,n,r)=>{let i=e.router.getMatch(t),a=i._nonReactive.loadPromise;i._nonReactive.loadPromise=_(()=>{a?.resolve(),a=void 0});let{paramsError:o,searchError:s}=i;o&&xt(e,n,o,`PARSE_PARAMS`),s&&xt(e,n,s,`VALIDATE_SEARCH`),St(e,t,r,i);let c=new AbortController,l=!1,u=()=>{l||(l=!0,e.updateMatch(t,e=>({...e,isFetching:`beforeLoad`,fetchCount:e.fetchCount+1,abortController:c})))},d=()=>{i._nonReactive.beforeLoadPromise?.resolve(),i._nonReactive.beforeLoadPromise=void 0,e.updateMatch(t,e=>({...e,isFetching:!1}))};if(!r.options.beforeLoad){e.router.batch(()=>{u(),d()});return}i._nonReactive.beforeLoadPromise=_();let f={...gt(e,n,!1),...i.__routeContext},{search:p,params:h,cause:g}=i,v=ht(e,t),y={search:p,abortController:c,params:h,preload:v,context:f,location:e.location,navigate:t=>e.router.navigate({...t,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:v?`preload`:g,matches:e.matches,routeId:r.id,...e.router.options.additionalContext},b=r=>{if(r===void 0){e.router.batch(()=>{u(),d()});return}(it(r)||Re(r))&&(u(),xt(e,n,r,`BEFORE_LOAD`)),e.router.batch(()=>{u(),e.updateMatch(t,e=>({...e,__beforeLoadContext:r})),d()})},x;try{if(x=r.options.beforeLoad(y),m(x))return u(),x.catch(t=>{xt(e,n,t,`BEFORE_LOAD`)}).then(b)}catch(t){u(),xt(e,n,t,`BEFORE_LOAD`)}b(x)},Tt=(e,t)=>{let{id:n,routeId:r}=e.matches[t],i=e.router.looseRoutesById[r],a=()=>s(),o=()=>wt(e,n,t,i),s=()=>
10{if(yt(e,n))return;let t=Ct(e,n,i);return m(t)?t.then(o):o()};return a()},Et=(e,t,n)=>{let r=e.router.getMatch(t);if(!r||!n.options.head&&!n.options.scripts&&!n.options.headers)return;let i={ssr:e.router.options.ssr,matches:e.matches,match:r,params:r.params,loaderData:r.loaderData};return Promise.all([n.options.head?.(i),n.options.scripts?.(i),n.options.headers?.(i)]).then(([e,t,n])=>({meta:e?.meta,links:e?.links,headScripts:e?.scripts,headers:n,scripts:t,styles:e?.styles}))},Dt=(e,t,n,r,i)=>{let a=t[r-1],{params:o,loaderDeps:s,abortController:c,cause:l}=e.router.getMatch(n),u=gt(e,r),d=ht(e,n);return{params:o,deps:s,preload:!!d,parentMatchPromise:a,abortController:c,context:u,location:e.location,navigate:t=>e.router.navigate({...t,_fromLocation:e.location}),cause:d?`preload`:l,route:i,...e.router.options.additionalContext}},Ot=async(e,t,n,r,i)=>{try{let a=e.router.getMatch(n);try{Mt(i);let o=i.options.loader,s=typeof o==`function`?o:o?.handler,c=s?.(Dt(e,t,n,r,i)),l=!!s&&m(c);if((l||i._lazyPromise||i._componentsPromise||i.options.head||i.options.scripts||i.options.headers||a._nonReactive.minPendingPromise)&&e.updateMatch(n,e=>({...e,isFetching:`loader`})),s){let t=l?await c:c;vt(e,e.router.getMatch(n),t),t!==void 0&&e.updateMatch(n,e=>({...e,loaderData:t}))}i._lazyPromise&&await i._lazyPromise;let u=a._nonReactive.minPendingPromise;u&&await u,i._componentsPromise&&await i._componentsPromise,e.updateMatch(n,t=>({...t,error:void 0,context:gt(e,r),status:`success`,isFetching:!1,updatedAt:Date.now()}))}catch(t){let o=t;if(o?.name===`AbortError`){if(a.abortController.signal.aborted){a._nonReactive.loaderPromise?.resolve(),a._nonReactive.loaderPromise=void 0;return}e.updateMatch(n,t=>({...t,status:t.status===`pending`?`success`:t.status,isFetching:!1,context:gt(e,r)}));return}let s=a._nonReactive.minPendingPromise;s&&await s,Re(t)&&await i.options.notFoundComponent?.preload?.(),vt(e,e.router.getMatch(n),t);try{i.options.onError?.(t)}catch(t){o=t,vt(e,e.router.getMatch(n),t)}!it(o)&&!Re(o)&&await Mt(i,[`errorComponent`]),e.updateMatch(n,t=>({...t,error:o,context:gt(e,r),status:`error`,isFetching:!1}))}}catch(t){let r=e.router.getMatch(n);r&&(r._nonReactive.loaderPromise=void 0),vt(e,r,t)}},kt=async(e,t,n)=>{async function r(r,a,c,l,d){let f=Date.now()-a.updatedAt,p=r?d.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:d.options.staleTime??e.router.options.defaultStaleTime??0,m=d.options.shouldReload,h=typeof m==`function`?m(Dt(e,t,i,n,d)):m,{status:g,invalid:_}=l,v=f>=p&&(!!e.forceStaleReload||l.cause===`enter`||c!==void 0&&c!==l.id);o=g===`success`&&(_||(h??v)),r&&d.options.preload===!1||(o&&!e.sync&&u?(s=!0,(async()=>{try{await Ot(e,t,i,n,d);let r=e.router.getMatch(i);r._nonReactive.loaderPromise?.resolve(),r._nonReactive.loadPromise?.resolve(),r._nonReactive.loaderPromise=void 0,r._nonReactive.loadPromise=void 0}catch(t){it(t)&&await e.router.navigate(t.options)}})()):g!==`success`||o?await Ot(e,t,i,n,d):bt(e,i,n))}let{id:i,routeId:a}=e.matches[n],o=!1,s=!1,c=e.router.looseRoutesById[a],l=c.options.loader,u=((typeof l==`function`?void 0:l?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!==`blocking`;if(yt(e,i)){if(!e.router.getMatch(i))return e.matches[n];bt(e,i,n)}else{let t=e.router.getMatch(i),o=e.router.stores.matchesId.get()[n],s=(o&&e.router.stores.matchStores.get(o)||null)?.routeId===a?o:e.router.stores.matches.get().find(e=>e.routeId===a)?.id,l=ht(e,i);if(t._nonReactive.loaderPromise){if(t.status===`success`&&!e.sync&&!t.preload&&u)return t;await t._nonReactive.loaderPromise;let n=e.router.getMatch(i),a=n._nonReactive.error||n.error;a&&vt(e,n,a),n.status===`pending`&&await r(l,t,s,n,c)}else{let n=l&&!e.router.stores.matchStores.has(i),a=e.router.getMatch(i);a._nonReactive.loaderPromise=_(),n!==a.preload&&e.updateMatch(i,e=>({...e,preload:n})),await r(l,t,s,a,c)}}let d=e.router.getMatch(i);s||(d._nonReactive.loaderPromise?.resolve(),d._nonReactive.loadPromise?.resolve(),d._nonReactive.loadPromise=void 0),clearTimeout(d._nonReactive.pendingTimeout),d._nonReactive.pendingTimeout=void 0,s||(d._nonReactive.loaderPromise=void 0),d._nonReactive.dehydrated=void 0;let f=s?d.isFetching:!1;return f!==d.isFetching||d.invalid!==!1?(e.updateMatch(i,e=>
10({...e,isFetching:f,invalid:!1})),e.router.getMatch(i)):d};async function At(e){let t=e,n=[];mt(t.router)&&pt(t);let r;for(let e=0;e<t.matches.length;e++){try{let n=Tt(t,e);m(n)&&await n}catch(e){if(it(e))throw e;if(Re(e))r=e;else if(!t.preload)throw e;break}if(t.serialError||t.firstBadMatchIndex!=null)break}let i=t.firstBadMatchIndex??t.matches.length,a=r&&!t.preload?_t(t,r):void 0,o=r&&t.preload?0:a===void 0?i:Math.min(a+1,i),s,c;for(let e=0;e<o;e++)n.push(kt(t,n,e));try{await Promise.all(n)}catch{let e=await Promise.allSettled(n);for(let t of e){if(t.status!==`rejected`)continue;let e=t.reason;if(it(e))throw e;Re(e)?s??=e:c??=e}if(c!==void 0)throw c}let l=s??(r&&!t.preload?r:void 0),u=t.firstBadMatchIndex===void 0?t.matches.length-1:t.firstBadMatchIndex;if(!l&&r&&t.preload)return t.matches;if(l){let e=_t(t,l);e===void 0&&g();let n=t.matches[e],r=t.router.looseRoutesById[n.routeId],i=t.router.options?.defaultNotFoundComponent;!r.options.notFoundComponent&&i&&(r.options.notFoundComponent=i),l.routeId=n.routeId;let a=n.routeId===t.router.routeTree.id;t.updateMatch(n.id,e=>({...e,...a?{status:`success`,globalNotFound:!0,error:void 0}:{status:`notFound`,error:l},isFetching:!1})),u=e,await Mt(r,[`notFoundComponent`])}else if(!t.preload){let e=t.matches[0];e.globalNotFound||t.router.getMatch(e.id)?.globalNotFound&&t.updateMatch(e.id,e=>({...e,globalNotFound:!1,error:void 0}))}if(t.serialError&&t.firstBadMatchIndex!==void 0){let e=t.router.looseRoutesById[t.matches[t.firstBadMatchIndex].routeId];await Mt(e,[`errorComponent`])}for(let e=0;e<=u;e++){let{id:n,routeId:r}=t.matches[e],i=t.router.looseRoutesById[r];try{let e=Et(t,n,i);if(e){let r=await e;t.updateMatch(n,e=>({...e,...r}))}}catch(e){console.error(`Error executing head for route ${r}:`,e)}}let d=pt(t);if(m(d)&&await d,l)throw l;if(t.serialError&&!t.preload&&!t.onReady)throw t.serialError;return t.matches}function jt(e,t){let n=t.map(t=>e.options[t]?.preload?.()).filter(Boolean);if(n.length!==0)return Promise.all(n)}function Mt(e,t=Pt){!e._lazyLoaded&&e._lazyPromise===void 0&&(e.lazyFn?e._lazyPromise=e.lazyFn().then(t=>{let{id:n,...r}=t.options;Object.assign(e.options,r),e._lazyLoaded=!0,e._lazyPromise=void 0}):e._lazyLoaded=!0);let n=()=>e._componentsLoaded?void 0:t===Pt?(()=>{if(e._componentsPromise===void 0){let t=jt(e,Pt);t?e._componentsPromise=t.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():jt(e,t);return e._lazyPromise?e._lazyPromise.then(n):n()}function Nt(e){for(let t of Pt)if(e.options[t]?.preload)return!0;return!1}var Pt=[`component`,`errorComponent`,`pendingComponent`,`notFoundComponent`],Ft=`__TSR_index`,It=`popstate`,Lt=`beforeunload`;function Rt(e){let t=e.getLocation(),n=new Set,r=r=>{t=e.getLocation(),n.forEach(e=>e({location:t,action:r}))},i=n=>{e.notifyOnIndexChange??!0?r(n):t=e.getLocation()},a=async({task:n,navigateOpts:r,...i})=>{if(r?.ignoreBlocker??!1){n();return}let a=e.getBlockers?.()??[],o=i.type===`PUSH`||i.type===`REPLACE`;if(typeof document<`u`&&a.length&&o)for(let n of a){let r=Ht(i.path,i.state);if(await n.blockerFn({currentLocation:t,nextLocation:r,action:i.type})){e.onBlocked?.();return}}n()};return{get location(){return t},get length(){return e.getLength()},subscribers:n,subscribe:e=>(n.add(e),()=>{n.delete(e)}),push:(n,i,o)=>{let s=t.state[Ft];i=zt(s+1,i),a({task:()=>{e.pushState(n,i),r({type:`PUSH`})},navigateOpts:o,type:`PUSH`,path:n,state:i})},replace:(n,i,o)=>{let s=t.state[Ft];i=zt(s,i),a({task:()=>{e.replaceState(n,i),r({type:`REPLACE`})},navigateOpts:o,type:`REPLACE`,path:n,state:i})},go:(t,n)=>{a({task:()=>{e.go(t),i({type:`GO`,index:t})},navigateOpts:n,type:`GO`})},back:t=>{a({task:()=>{e.back(t?.ignoreBlocker??!1),i({type:`BACK`})},navigateOpts:t,type:`BACK`})},forward:t=>{a({task:()=>{e.forward(t?.ignoreBlocker??!1),i({type:`FORWARD`})},navigateOpts:t,type:`FORWARD`})},canGoBack:()=>t.state[Ft]!==0,createHref:t=>e.createHref(t),block:t=>{if(!e.setBlockers)return()=>{};let n=e.getBlockers?.()??[];return e.setBlockers([...n,t]),()=>{let n=e.getBlockers?.()??[];e.setBlockers?.(n.filter(e=>e!==t))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:r}}function zt(e,t){t||={};let n=Ut();return{...t,key:n,__TSR_key:n,[Ft]:e}}function Bt(e){let t=e?.window??(typeof document<`u`?window:void 0),n=t.history.pushState,r=t.history.replaceState,i=[],a=()=>i,o=e=>i=e,s=e?.createHref??(e=>e),c=e?.parseLocation??(()=>Ht(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!t.history.state?.__TSR_key&&!t.history.state?.key){let e=Ut();t.history.replaceState({[Ft]:0,key:e,__TSR_key:e},``)}let l=c(),u,d=!1,f=!1,p=!1,m=!1,h=()=>l,g,_,v=()=>{g&&(C._ignoreSubscribers=!0,(g.isPush?t.history.pushState:t.history.replaceState)(g.state,``,g.href),C._ignoreSubscribers=!1,g=void 0,_=void 0,u=void 0)},y=(e,t,n)=>{let r=s(t);_||(u=l),l=Ht(t,n),g={href:r,state:n,isPush:g?.isPush||e===`push`},_||=Promise.resolve().then(()=>v())},b=e=>{l=c(),C.notify({type:e})},x=async()=>
10{if(f){f=!1;return}let e=c(),n=e.state[Ft]-l.state[Ft],r=n===1,i=n===-1,o=!r&&!i||d;d=!1;let s=o?`GO`:i?`BACK`:`FORWARD`,u=o?{type:`GO`,index:n}:{type:i?`BACK`:`FORWARD`};if(p)p=!1;else{let n=a();if(typeof document<`u`&&n.length){for(let r of n)if(await r.blockerFn({currentLocation:l,nextLocation:e,action:s})){f=!0,t.history.go(1),C.notify(u);return}}}l=c(),C.notify(u)},S=e=>{if(m){m=!1;return}let t=!1,n=a();if(typeof document<`u`&&n.length)for(let e of n){let n=e.enableBeforeUnload??!0;if(n===!0){t=!0;break}if(typeof n==`function`&&n()===!0){t=!0;break}}if(t)return e.preventDefault(),e.returnValue=``},C=Rt({getLocation:h,getLength:()=>t.history.length,pushState:(e,t)=>y(`push`,e,t),replaceState:(e,t)=>y(`replace`,e,t),back:e=>(e&&(p=!0),m=!0,t.history.back()),forward:e=>{e&&(p=!0),m=!0,t.history.forward()},go:e=>{d=!0,t.history.go(e)},createHref:e=>s(e),flush:v,destroy:()=>{t.history.pushState=n,t.history.replaceState=r,t.removeEventListener(Lt,S,{capture:!0}),t.removeEventListener(It,x)},onBlocked:()=>{u&&l!==u&&(l=u)},getBlockers:a,setBlockers:o,notifyOnIndexChange:!1});return t.addEventListener(Lt,S,{capture:!0}),t.addEventListener(It,x),t.history.pushState=function(...e){let r=n.apply(t.history,e);return C._ignoreSubscribers||b(`PUSH`),r},t.history.replaceState=function(...e){let n=r.apply(t.history,e);return C._ignoreSubscribers||b(`REPLACE`),n},C}function Vt(e){let t=e.replace(/[\x00-\x1f\x7f]/g,``);return t.startsWith(`//`)&&(t=`/`+t.replace(/^\/+/,``)),t}function Ht(e,t){let n=Vt(e),r=n.indexOf(`#`),i=n.indexOf(`?`),a=Ut();return{href:n,pathname:n.substring(0,r>0?i>0?Math.min(r,i):r:i>0?i:n.length),hash:r>-1?n.substring(r):``,search:i>-1?n.slice(i,r===-1?void 0:r):``,state:t||{[Ft]:0,key:a,__TSR_key:a}}}function Ut(){return(Math.random()+1).toString(36).substring(7)}function Wt(e){return e instanceof Error?{name:e.name,message:e.message}:{data:e}}function Gt(e,t){let n=t,r=e;return{fromLocation:n,toLocation:r,pathChanged:n?.pathname!==r.pathname,hrefChanged:n?.href!==r.href,hashChanged:n?.hash!==r.hash}}var Kt=class{constructor(e,t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.isScrollRestoring=!1,this.isScrollRestorationSetup=!1,this.startTransition=e=>e(),this.update=e=>{let t=this.options,n=this.basepath??t?.basepath??`/`,r=this.basepath===void 0,i=t?.rewrite;if(this.options={...t,...e},this.isServer=this.options.isServer??typeof document>`u`,this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=ae(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=Bt()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!==`null`?this.origin=window.origin:this.origin=`http://localhost`),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let e;this.resolvePathCache=pe(1e3),e=this.buildRouteTree(),this.setRoutes(e)}if(!this.stores&&this.latestLocation){let e=this.getStoreConfig(this);this.batch=e.batch,this.stores=ut(Yt(this.latestLocation),e),Je(this)}let a=!1,o=this.options.basepath??`/`,s=this.options.rewrite;if(r||n!==o||i!==s){this.basepath=o;let e=[],t=ce(o);t&&t!==`/`&&e.push(st({basepath:o})),s&&e.push(s),this.rewrite=e.length===0?void 0:e.length===1?e[0]:ot(e),this.history&&this.updateLatestLocation(),a=!0}a&&this.stores&&this.stores.location.set(this.latestLocation),typeof window<`u`&&`CSS`in window&&typeof window.CSS?.supports==`function`&&(this.isViewTransitionTypesSupported=window.CSS.supports(`selector(:active-view-transition-type(a)`))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{let e=b(this.routeTree,this.options.caseSensitive,(e,t)=>{e.init({originalIndex:t})});return this.options.routeMasks&&me(this.options.routeMasks,e.processedTree),e},this.subscribe=(e,t)=>
10{let n={eventType:e,fn:t};return this.subscribers.add(n),()=>{this.subscribers.delete(n)}},this.emit=e=>{this.subscribers.forEach(t=>{t.eventType===e.type&&t.fn(e)})},this.parseLocation=(e,t)=>{let n=({pathname:e,search:n,hash:r,href:i,state:a})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(e)){let i=this.options.parseSearch(n),o=this.options.stringifySearch(i);return{href:e+o+r,publicHref:e+o+r,pathname:s(e).path,external:!1,searchStr:o,search:l(t?.search,i),hash:s(r.slice(1)).path,state:u(t?.state,a)}}let o=new URL(i,this.origin),c=ct(this.rewrite,o),d=this.options.parseSearch(c.search),f=this.options.stringifySearch(d);return c.search=f,{href:c.href.replace(c.origin,``),publicHref:i,pathname:s(c.pathname).path,external:!!this.rewrite&&c.origin!==this.origin,searchStr:f,search:l(t?.search,d),hash:s(c.hash.slice(1)).path,state:u(t?.state,a)}},r=n(e),{__tempLocation:i,__tempKey:a}=r.state;if(i&&(!a||a===this.tempLocationKey)){let e=n(i);return e.state.key=r.state.key,e.state.__TSR_key=r.state.__TSR_key,delete e.state.__tempLocation,{...e,maskedLocation:r}}return r},this.resolvePathWithBase=(e,t)=>C({base:e,to:x(t),trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(e,t,n)=>typeof e==`string`?this.matchRoutesInternal({pathname:e,search:t},n):this.matchRoutesInternal(e,t),this.getMatchedRoutes=e=>Zt({pathname:e,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=e=>{let t=this.getMatch(e);t&&(t.abortController.abort(),clearTimeout(t._nonReactive.pendingTimeout),t._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(e=>{this.cancelMatch(e)}),this.stores.matchesId.get().forEach(e=>{if(this.stores.pendingMatchStores.has(e))return;let t=this.stores.matchStores.get(e)?.get();t&&(t.status===`pending`||t.isFetching===`loader`)&&this.cancelMatch(e)})},this.buildLocation=e=>{let t=(t={})=>{let n=t._fromLocation||this.pendingBuiltLocation||this.latestLocation,r=this.matchRoutesLightweight(n);t.from;let a=t.unsafeRelative===`path`?n.pathname:t.from??r.fullPath,o=this.resolvePathWithBase(a,`.`),c=r.search,d=Object.assign(Object.create(null),r.params),f=t.to?this.resolvePathWithBase(o,`${t.to}`):this.resolvePathWithBase(o,`.`),m=t.params===!1||t.params===null?Object.create(null):(t.params??!0)===!0?d:Object.assign(d,i(t.params,d)),h=this.getMatchedRoutes(f),g=h.matchedRoutes;if((!h.foundRoute||h.foundRoute.path!==`/`&&h.routeParams[`**`])&&this.options.notFoundRoute&&(g=[...g,this.options.notFoundRoute]),Object.keys(m).length>0)for(let e of g){let t=e.options.params?.stringify??e.options.stringifyParams;if(t)try{Object.assign(m,t(m))}catch{}}let _=e.leaveParams?f:s(ue({path:f,params:m,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path,v=c;if(e._includeValidateSearch&&this.options.search?.strict){let e={};g.forEach(t=>{if(t.options.validateSearch)try{Object.assign(e,Xt(t.options.validateSearch,{...e,...v}))}catch{}}),v=e}v=Qt({search:v,dest:t,destRoutes:g,_includeValidateSearch:e._includeValidateSearch}),v=l(c,v);let y=this.options.stringifySearch(v),b=t.hash===!0?n.hash:t.hash?i(t.hash,n.hash):void 0,x=b?`#${b}`:``,S=t.state===!0?n.state:t.state?i(t.state,n.state):{};S=u(n.state,S);let C=`${_}${y}${x}`,ee,te,ne=!1;if(this.rewrite){let e=new URL(C,this.origin),t=lt(this.rewrite,e);ee=e.href.replace(e.origin,``),t.origin===this.origin?te=t.pathname+t.search+t.hash:(te=t.href,ne=!0)}else ee=p(C),te=ee;return{publicHref:te,href:ee,pathname:_,search:v,searchStr:y,state:S,hash:b??``,external:ne,unmaskOnReload:t.unmaskOnReload}},n=(n={},r)=>{let a=t(n),o=r?t(r):void 0;if(!o){let n=Object.create(null);if(this.options.routeMasks){let s=ee(a.pathname,this.processedTree);if(s){Object.assign(n,s.rawParams);let{from:a,params:c,...l}=s.route,u=c===!1||c===null?Object.create(null):(c??!0)===!0?n:Object.assign(n,i(c,n));r={from:e.from,...l,params:u},o=t(r)}}}return o&&(a.maskedLocation=o),a};return e.mask?n(e,{from:e.from,...e.mask}):n(e)},this.commitLocation=async({viewTransition:e,ignoreBlocker:t,...n})=>{let r=()=>{let e=[`key`,`__TSR_key`,`__TSR_index`,`__hashScrollIntoViewOptions`];
10e.forEach(e=>{n.state[e]=this.latestLocation.state[e]});let t=o(n.state,this.latestLocation.state);return e.forEach(e=>{delete n.state[e]}),t},i=te(this.latestLocation.href)===te(n.href),a=this.commitLocationPromise;if(this.commitLocationPromise=_(()=>{a?.resolve(),a=void 0}),i&&r())this.load();else{let{maskedLocation:r,hashScrollIntoView:i,...a}=n;r&&(a={...r,state:{...r.state,__tempKey:void 0,__tempLocation:{...a,search:a.searchStr,state:{...a.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(a.unmaskOnReload??this.options.unmaskOnReload??!1)&&(a.state.__tempKey=this.tempLocationKey)),a.state.__hashScrollIntoViewOptions=i??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=e,this.history[n.replace?`replace`:`push`](a.publicHref,a.state,{ignoreBlocker:t})}return this.resetNextScroll=n.resetScroll??!0,this.history.subscribers.size||this.load(),this.commitLocationPromise},this.buildAndCommitLocation=({replace:e,resetScroll:t,hashScrollIntoView:n,viewTransition:r,ignoreBlocker:i,href:a,...o}={})=>{if(a){let t=this.history.location.state.__TSR_index,n=Ht(a,{__TSR_index:e?t:t+1}),r=new URL(n.pathname,this.origin);o.to=ct(this.rewrite,r).pathname,o.search=this.options.parseSearch(n.search),o.hash=n.hash.slice(1)}let s=this.buildLocation({...o,_includeValidateSearch:!0});this.pendingBuiltLocation=s;let c=this.commitLocation({...s,viewTransition:r,replace:e,resetScroll:t,hashScrollIntoView:n,ignoreBlocker:i});return Promise.resolve().then(()=>{this.pendingBuiltLocation===s&&(this.pendingBuiltLocation=void 0)}),c},this.navigate=async({to:e,reloadDocument:t,href:n,publicHref:r,...i})=>{let a=!1;if(n)try{new URL(`${n}`),a=!0}catch{}if(a&&!t&&(t=!0),t){if(e!==void 0||!n){let t=this.buildLocation({to:e,...i});n??=t.publicHref,r??=t.publicHref}let t=!a&&r?r:n;if(re(t,this.protocolAllowlist))return Promise.resolve();if(!i.ignoreBlocker){let e=this.history.getBlockers?.()??[];for(let t of e)if(t?.blockerFn&&await t.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:`PUSH`}))return Promise.resolve()}return i.replace?window.location.replace(t):window.location.href=t,Promise.resolve()}return this.buildAndCommitLocation({...i,href:n,to:e,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();let e=this.matchRoutes(this.latestLocation),t=this.stores.cachedMatches.get().filter(t=>!e.some(e=>e.id===t.id));this.batch(()=>{this.stores.status.set(`pending`),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(e),this.stores.setCached(t)})},this.load=async e=>{let t,n,r,i=this.stores.resolvedLocation.get()??this.stores.location.get();for(r=new Promise(a=>{this.startTransition(async()=>{try{this.beforeLoad();let t=this.latestLocation,n=Gt(t,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:`onBeforeNavigate`,...n}),this.emit({type:`onBeforeLoad`,...n}),await At({router:this,sync:e?.sync,forceStaleReload:i.href===t.href,matches:this.stores.pendingMatches.get(),location:t,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let e=null,t=null,n=null,r=null;this.batch(()=>{let i=this.stores.pendingMatches.get(),a=i.length,o=this.stores.matches.get();e=a?o.filter(e=>!this.stores.pendingMatchStores.has(e.id)):null;let s=new Set;for(let e of this.stores.pendingMatchStores.values())e.routeId&&s.add(e.routeId);let c=new Set;for(let e of this.stores.matchStores.values())e.routeId&&c.add(e.routeId);t=a?o.filter(e=>!s.has(e.routeId)):null,n=a?i.filter(e=>!c.has(e.routeId)):null,r=a?i.filter(e=>c.has(e.routeId)):o,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),a&&(this.stores.setMatches(i),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...e.filter(e=>e.status!==`error`&&e.status!==`notFound`&&e.status!==`redirected`)]),this.clearExpiredCache())});for(let[e,i]of[[t,`onLeave`],[n,`onEnter`],[r,`onStay`]])if(e)for(let t of e)this.looseRoutesById[t.routeId].options[i]?.(t)})})}})}catch(e){it(e)?(t=e,this.navigate({...t.options,replace:!0,ignoreBlocker:!0})):Re(e)&&(n=e);let r=t?t.status:n?404:this.stores.matches.get().some(e=>e.status===`error`)?500:200;this.batch(()=>{this.stores.statusCode.set(r),this.stores.redirect.set(t)})}this.latestLoadPromise===r&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),a()})}),this.latestLoadPromise=r,await r;this.latestLoadPromise&&r!==this.latestLoadPromise;)await this.latestLoadPromise;let a;this.hasNotFoundMatch()?a=404:this.stores.matches.get().some(e=>e.status===`error`)&&(a=500),a!==void 0&&this.stores.statusCode.set(a)},this.startViewTransition=e=>{let t=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,t&&typeof document<`u`&&`startViewTransition`in document&&typeof document.startViewTransition==`function`){let n;if(typeof t==`object`&&this.isViewTransitionTypesSupported){let r=this.latestLocation,i=this.stores.resolvedLocation.get(),a=typeof t.types==`function`?t.types(Gt(r,i)):t.types;if(a===!1){e();return}n={update:e,types:a}}else n=e;document.startViewTransition(n)}else e()},this.updateMatch=(e,t)=>{this.startTransition(()=>
10{let n=this.stores.pendingMatchStores.get(e);if(n){n.set(t);return}let r=this.stores.matchStores.get(e);if(r){r.set(t);return}let i=this.stores.cachedMatchStores.get(e);if(i){let n=t(i.get());n.status===`redirected`?this.stores.cachedMatchStores.delete(e)&&this.stores.cachedIds.set(t=>t.filter(t=>t!==e)):i.set(n)}})},this.getMatch=e=>this.stores.cachedMatchStores.get(e)?.get()??this.stores.pendingMatchStores.get(e)?.get()??this.stores.matchStores.get(e)?.get(),this.invalidate=e=>{let t=t=>e?.filter?.(t)??!0?{...t,invalid:!0,...e?.forcePending||t.status===`error`||t.status===`notFound`?{status:`pending`,error:void 0}:void 0}:t;return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(t)),this.stores.setCached(this.stores.cachedMatches.get().map(t)),this.stores.setPending(this.stores.pendingMatches.get().map(t))}),this.shouldViewTransition=!1,this.load({sync:e?.sync})},this.getParsedLocationHref=e=>e.publicHref||`/`,this.resolveRedirect=e=>{let t=e.headers.get(`Location`);if(!e.options.href||e.options._builtLocation){let t=e.options._builtLocation??this.buildLocation(e.options),n=this.getParsedLocationHref(t);e.options.href=n,e.headers.set(`Location`,n)}else if(t)try{let n=new URL(t);if(this.origin&&n.origin===this.origin){let t=n.pathname+n.search+n.hash;e.options.href=t,e.headers.set(`Location`,t)}}catch{}if(e.options.href&&!e.options._builtLocation&&re(e.options.href,this.protocolAllowlist))throw Error(`Redirect blocked: unsafe protocol`);return e.headers.get(`Location`)||e.headers.set(`Location`,e.options.href),e},this.clearCache=e=>{let t=e?.filter;t===void 0?this.stores.setCached([]):this.stores.setCached(this.stores.cachedMatches.get().filter(e=>!t(e)))},this.clearExpiredCache=()=>{let e=Date.now();this.clearCache({filter:t=>{let n=this.looseRoutesById[t.routeId];if(!n.options.loader)return!0;let r=(t.preload?n.options.preloadGcTime??this.options.defaultPreloadGcTime:n.options.gcTime??this.options.defaultGcTime)??300*1e3;return t.status===`error`?!0:e-t.updatedAt>=r}})},this.loadRouteChunk=Mt,this.preloadRoute=async e=>{let t=e._builtLocation??this.buildLocation(e),n=this.matchRoutes(t,{throwOnError:!0,preload:!0,dest:e}),r=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),i=new Set([...r,...this.stores.cachedIds.get()]),a=n.filter(e=>!i.has(e.id));if(a.length){let e=this.stores.cachedMatches.get();this.stores.setCached([...e,...a])}try{return n=await At({router:this,matches:n,location:t,preload:!0,updateMatch:(e,t)=>{r.has(e)?n=n.map(n=>n.id===e?t(n):n):this.updateMatch(e,t)}}),n}catch(e){if(it(e))return e.options.reloadDocument?void 0:await this.preloadRoute({...e.options,_fromLocation:t});Re(e)||console.error(e);return}},this.matchRoute=(e,t)=>{let n={...e,to:e.to?this.resolvePathWithBase(e.from||``,e.to):void 0,params:e.params||{},leaveParams:!0},r=this.buildLocation(n);if(t?.pending&&this.stores.status.get()!==`pending`)return!1;let i=(t?.pending===void 0?!this.stores.isLoading.get():t.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),a=de(r.pathname,t?.caseSensitive??!1,t?.fuzzy??!1,i.pathname,this.processedTree);return!a||e.params&&!o(a.rawParams,e.params,{partial:!0})?!1:t?.includeSearch??!0?o(i.search,r.search,{partial:!0})?a.rawParams:!1:a.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(e=>e.status===`notFound`||e.globalNotFound),this.getStoreConfig=t,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??`fuzzy`,stringifySearch:e.stringifySearch??$e,parseSearch:e.parseSearch??Qe,protocolAllowlist:e.protocolAllowlist??a}),typeof document<`u`&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:e,routesByPath:t,processedTree:n}){this.routesById=e,this.routesByPath=t,this.processedTree=n;let r=this.options.notFoundRoute;r&&(r.init({originalIndex:99999999999}),this.routesById[r.id]=r)}get looseRoutesById(){return this.routesById}getParentContext(e){return e?.id?e.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(e,t){let n=this.getMatchedRoutes(e.pathname),{foundRoute:r,routeParam
10s:i,parsedParams:a}=n,{matchedRoutes:o}=n,s=!1;(r?r.path!==`/`&&i[`**`]:te(e.pathname))&&(this.options.notFoundRoute?o=[...o,this.options.notFoundRoute]:s=!0);let c=s?en(this.options.notFoundMode,o):void 0,d=Array(o.length),f=new Map;for(let e of this.stores.matchStores.values())e.routeId&&f.set(e.routeId,e.get());for(let n=0;n<o.length;n++){let r=o[n],s=d[n-1],p,m,h;{let n=s?.search??e.search,i=s?._strictSearch??void 0;try{let e=Xt(r.options.validateSearch,{...n})??void 0;p={...n,...e},m={...i,...e},h=void 0}catch(e){let r=e;if(e instanceof qt||(r=new qt(e.message,{cause:e})),t?.throwOnError)throw r;p=n,m={},h=r}}let g=r.options.loaderDeps?.({search:p})??``,v=g?JSON.stringify(g):``,{interpolatedPath:y,usedParams:b}=ue({path:r.fullPath,params:i,decoder:this.pathParamsDecoder,server:this.isServer}),x=r.id+y+v,S=this.getMatch(x),C=f.get(r.id),ee=S?._strictParams??b,te;if(!S)try{tn(r,b,a,ee)}catch(e){if(te=Re(e)||it(e)?e:new Jt(e.message,{cause:e}),t?.throwOnError)throw te}Object.assign(i,ee);let ne=C?`stay`:`enter`,re;if(S)re={...S,cause:ne,params:C?.params??i,_strictParams:ee,search:l(C?C.search:S.search,p),_strictSearch:m};else{let e=r.options.loader||r.options.beforeLoad||r.lazyFn||Nt(r)?`pending`:`success`;re={id:x,ssr:r.options.ssr,index:n,routeId:r.id,params:C?.params??i,_strictParams:ee,pathname:y,updatedAt:Date.now(),search:C?l(C.search,p):p,_strictSearch:m,searchError:void 0,status:e,isFetching:!1,error:void 0,paramsError:te,__routeContext:void 0,_nonReactive:{loadPromise:_()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:ne,loaderDeps:C?u(C.loaderDeps,g):g,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:r.options.staticData||{},fullPath:r.fullPath}}t?.preload||(re.globalNotFound=c===r.id),re.searchError=h;let ie=this.getParentContext(s);re.context={...ie,...re.__routeContext,...re.__beforeLoadContext},d[n]=re}for(let t=0;t<d.length;t++){let n=d[t],r=this.looseRoutesById[n.routeId],a=this.getMatch(n.id),o=f.get(n.routeId);if(n.params=o?l(o.params,i):i,!a){let i=d[t-1],a=this.getParentContext(i);if(r.options.context){let t={deps:n.loaderDeps,params:n.params,context:a??{},location:e,navigate:t=>this.navigate({...t,_fromLocation:e}),buildLocation:this.buildLocation,cause:n.cause,abortController:n.abortController,preload:!!n.preload,matches:d,routeId:r.id};n.__routeContext=r.options.context(t)??void 0}n.context={...a,...n.__routeContext,...n.__beforeLoadContext}}}return d}matchRoutesLightweight(e){let{matchedRoutes:t,routeParams:n,parsedParams:r}=this.getMatchedRoutes(e.pathname),i=c(t),a={...e.search};for(let e of t)try{Object.assign(a,Xt(e.options.validateSearch,a))}catch{}let o=c(this.stores.matchesId.get()),s=o&&this.stores.matchStores.get(o)?.get(),l=s&&s.routeId===i.id&&s.pathname===e.pathname,u;if(l)u=s.params;else{let e=Object.assign(Object.create(null),n);for(let i of t)try{tn(i,n,r??{},e)}catch{}u=e}return{matchedRoutes:t,fullPath:i.fullPath,search:a,params:u}}},qt=class extends Error{},Jt=class extends Error{};function Yt(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:`idle`,resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function Xt(e,t){if(e==null)return{};if(`~standard`in e){let n=e[`~standard`].validate(t);if(n instanceof Promise)throw new qt(`Async validation not supported`);if(n.issues)throw new qt(JSON.stringify(n.issues,void 0,2),{cause:n});return n.value}return`parse`in e?e.parse(t):typeof e==`function`?e(t):{}}function Zt({pathname:e,routesById:t,processedTree:n}){let r=Object.create(null),i=te(e),a,o,s=v(i,n,!0);return s&&(a=s.route,Object.assign(r,s.rawParams),o=Object.assign(Object.create(null),s.parsedParams)),{matchedRoutes:s?.branch||[t.__root__],routeParams:r,foundRoute:a,parsedParams:o}}function Qt({search:e,dest:t,destRoutes:n,_includeValidateSearch:r}){return $t(n)(e,t,r??!1)}function $t(e){let t={dest:null,_includeValidateSearch:!1,middlewares:[]};for(let n of e)`search`in n.options?n.options.search?.middlewares&&t.middlewares.push(...n.options.search.middlewares):(n.options.preSearchFilters||n.options.postSearchFilters)&&t.middlewares.push(({search:e,next:t})=>{let r=e;
10`preSearchFilters`in n.options&&n.options.preSearchFilters&&(r=n.options.preSearchFilters.reduce((e,t)=>t(e),e));let i=t(r);return`postSearchFilters`in n.options&&n.options.postSearchFilters?n.options.postSearchFilters.reduce((e,t)=>t(e),i):i}),n.options.validateSearch&&t.middlewares.push(({search:e,next:r})=>{let i=r(e);if(!t._includeValidateSearch)return i;try{return{...i,...Xt(n.options.validateSearch,i)??void 0}}catch{return i}});t.middlewares.push(({search:e})=>{let n=t.dest;return n.search?n.search===!0?e:i(n.search,e):{}});let n=(e,t,r)=>{if(e>=r.length)return t;let i=r[e];return i({search:t,next:t=>n(e+1,t,r)})};return function(e,r,i){return t.dest=r,t._includeValidateSearch=i,n(0,e,t.middlewares)}}function en(e,t){if(e!==`root`)for(let e=t.length-1;e>=0;e--){let n=t[e];if(n.children)return n.id}return nt}function tn(e,t,n,r){let i=e.options.params?.parse??e.options.parseParams;if(i)if(e.options.skipRouteOnParseError)for(let e in t)e in n&&(r[e]=n[e]);else{let e=i(r);Object.assign(r,e)}}var nn=Symbol.for(`TSR_DEFERRED_PROMISE`);function rn(e,t){let n=e;return n[nn]?n:(n[nn]={status:`pending`},n.then(e=>{n[nn].status=`success`,n[nn].data=e}).catch(e=>{n[nn].status=`error`,n[nn].error={data:(t?.serializeError??Wt)(e),__isServerError:!0}}),n)}function an(e,t){if(e)return typeof e==`string`?e:e[t]}function on(e){return typeof e==`string`?{href:e,crossOrigin:void 0}:e}function sn(e){if(e.tag!==`link`)return;let t=e.attrs?.rel,n=e.attrs?.href;if(typeof n==`string`&&(typeof t==`string`?t.split(/\s+/):[]).includes(`stylesheet`))return n}function cn(e,t){let n=sn(t);return!!n&&e?.inlineCss?.styles[n]!==void 0}var ln=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=e=>{this.originalIndex=e.originalIndex;let t=this.options,n=!t?.path&&!t?.id;this.parentRoute=this.options.getParentRoute?.(),n?this._path=nt:this.parentRoute||g();let r=n?nt:t?.path;r&&r!==`/`&&(r=oe(r));let i=t?.id||r,a=n?nt:S([this.parentRoute.id===`__root__`?``:this.parentRoute.id,i]);r===`__root__`&&(r=`/`),a!==`__root__`&&(a=S([`/`,a]));let o=a===`__root__`?`/`:S([this.parentRoute.fullPath,r]);this._path=r,this._id=a,this._fullPath=o,this._to=te(o)},this.addChildren=e=>this._addFileChildren(e),this._addFileChildren=e=>(Array.isArray(e)&&(this.children=e),typeof e==`object`&&e&&(this.children=Object.values(e)),this),this._addFileTypes=()=>this,this.updateLoader=e=>(Object.assign(this.options,e),this),this.update=e=>(Object.assign(this.options,e),this),this.lazy=e=>(this.lazyFn=e,this),this.redirect=e=>rt({from:this.fullPath,...e}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw Error(`Route cannot have both an 'id' and a 'path' option.`)}},un=class extends ln{constructor(e){super(e)}};function dn(e){if(typeof document<`u`&&document.querySelector){let t=e.stores.location.get(),n=t.state.__hashScrollIntoViewOptions??!0;if(n&&t.hash!==``){let e=document.getElementById(t.hash);e&&e.scrollIntoView(n)}}}var fn=(e=>(e[e.AggregateError=1]=`AggregateError`,e[e.ArrowFunction=2]=`ArrowFunction`,e[e.ErrorPrototypeStack=4]=`ErrorPrototypeStack`,e[e.ObjectAssign=8]=`ObjectAssign`,e[e.BigIntTypedArray=16]=`BigIntTypedArray`,e[e.RegExp=32]=`RegExp`,e))(fn||{}),pn=Symbol.asyncIterator,mn=Symbol.hasInstance,hn=Symbol.isConcatSpreadable,gn=Symbol.iterator,_n=Symbol.match,vn=Symbol.matchAll,yn=Symbol.replace,bn=Symbol.search,xn=Symbol.species,Sn=Symbol.split,Cn=Symbol.toPrimitive,wn=Symbol.toStringTag,Tn=Symbol.unscopables,En={[pn]:0,[mn]:1,[hn]:2,[gn]:3,[_n]:4,[vn]:5,[yn]:6,[bn]:7,[xn]:8,[Sn]:9,[Cn]:10,[wn]:11,[Tn]:12},Dn={0:pn,1:mn,2:hn,3:gn,4:_n,5:vn,6:yn,7:bn,8:xn,9:Sn,10:Cn,11:wn,12:Tn},A=void 0,On={2:!0,3:!1,1:A,0:null,4:-0,5:1/0,6:-1/0,7:NaN},kn={0:`Error`,1:`EvalError`,2:`RangeError`,3:`ReferenceError`,4:`SyntaxError`,5:`TypeError`,6:`URIError`},An={0:Error,1:EvalError,2:RangeError,3:ReferenceError,4:SyntaxError,5:TypeError,6:URIError};function j(e,t,n,r,i,a,o,s,c,l,u,d){return{t:e,i:t,s:n,c:r,m:i,p:a,e:o,a:s,f:c,b:l,o:u,l:d}}function jn(e){return j(2,A,e,A,A,A,A,A,A,A,A,A)}var Mn=jn(2),Nn=jn(3),Pn=jn(1),Fn=jn(0),In=jn(4),Ln=jn(5),Rn=jn(6),zn=jn(7);function Bn(e){switch(e){case`"`:return`\\"`;case`\\`:return`\\\\`;case` 11`:return`\\n`;case`\r`:return`\\r`;case`\b`:return`\\b`;case` `:return`\\t`;case`\f`:return`\\f`;case`<`:return`\\x3C`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`;default:return A}}function Vn(e){let t=``,n=0,r;for(let i=0,a=e.length;i<a;i++)r=Bn(e[i]),r&&(t+=e.slice(n,i)+r,n=i+1);return n===0?t=e:t+=e.slice(n),t}function Hn(e){switch(e){case`\\\\`:return`\\`;case`\\"`:return`"`;case`\\n`:return` 12`;case`\\r`:return`\r`;case`\\b`:return`\b`;case`\\t`:return` `;case`\\f`:return`\f`;case`\\x3C`:return`<`;case`\\u2028`:return`\u2028`;case`\\u2029`:return`\u2029`;default:return e}}function Un(e){return e.replace(/(\\\\|\\"|\\n|\\r|\\b|\\t|\\f|\\u2028|\\u2029|\\x3C)/g,Hn)}var Wn=`__SEROVAL_REFS__`,Gn=new Map,Kn=new Map;function qn(e){return Gn.has(e)}function Jn(e){return Kn.has(e)}function Yn(e){if(qn(e))return Gn.get(e);throw new Lr(e)}function Xn(e){if(Jn(e))return Kn.get(e);throw new Rr(e)}typeof globalThis<`u`?Object.defineProperty(globalThis,Wn,{value:Kn,configurable:!0,writable:!1,enumerable:!1}):typeof window<`u`?Object.defineProperty(window,Wn,{value:Kn,configurable:!0,writable:!1,enumerable:!1}):typeof self<`u`?Object.defineProperty(self,Wn,{value:Kn,configurable:!0,writable:!1,enumerable:!1}):typeof global<`u`&&Object.defineProperty(global,Wn,{value:Kn,configurable:!0,writable:!1,enumerable:!1});function Zn(e){return e instanceof EvalError?1:e instanceof RangeError?2:e instanceof ReferenceError?3:e instanceof SyntaxError?4:e instanceof TypeError?5:e instanceof URIError?6:0}function Qn(e){let t=kn[Zn(e)];return e.name===t?e.constructor.name===t?{}:{name:e.constructor.name}:{name:e.name}}function $n(e,t){let n=Qn(e),r=Object.getOwnPropertyNames(e);for(let i=0,a=r.length,o;i<a;i++)o=r[i],o!==`name`&&o!==`message`&&(o===`stack`?t&4&&(n||={},n[o]=e[o]):(n||={},n[o]=e[o]));return n}function er(e){return Object.isFrozen(e)?3:Object.isSealed(e)?2:+!Object.isExtensible(e)}function tr(e){switch(e){case 1/0:return Ln;case-1/0:return Rn}return e===e?Object.is(e,-0)?In:j(0,A,e,A,A,A,A,A,A,A,A,A):zn}function nr(e){return j(1,A,Vn(e),A,A,A,A,A,A,A,A,A)}function rr(e){return j(3,A,``+e,A,A,A,A,A,A,A,A,A)}function ir(e){return j(4,e,A,A,A,A,A,A,A,A,A,A)}function ar(e,t){let n=t.valueOf();return j(5,e,n===n?t.toISOString():``,A,A,A,A,A,A,A,A,A)}function or(e,t){return j(6,e,A,Vn(t.source),t.flags,A,A,A,A,A,A,A)}function sr(e,t){return j(17,e,En[t],A,A,A,A,A,A,A,A,A)}function cr(e,t){return j(18,e,Vn(Yn(t)),A,A,A,A,A,A,A,A,A)}function lr(e,t,n){return j(25,e,n,Vn(t),A,A,A,A,A,A,A,A)}function ur(e,t,n){return j(9,e,A,A,A,A,A,n,A,A,er(t),A)}function dr(e,t){return j(21,e,A,A,A,A,A,A,t,A,A,A)}function fr(e,t,n){return j(15,e,A,t.constructor.name,A,A,A,A,n,t.byteOffset,A,t.length)}function pr(e,t,n){return j(16,e,A,t.constructor.name,A,A,A,A,n,t.byteOffset,A,t.byteLength)}function mr(e,t,n){return j(20,e,A,A,A,A,A,A,n,t.byteOffset,A,t.byteLength)}function hr(e,t,n){return j(13,e,Zn(t),A,Vn(t.message),n,A,A,A,A,A,A)}function gr(e,t,n){return j(14,e,Zn(t),A,Vn(t.message),n,A,A,A,A,A,A)}function _r(e,t){return j(7,e,A,A,A,A,A,t,A,A,A,A)}function vr(e,t){return j(28,A,A,A,A,A,A,[e,t],A,A,A,A)}function yr(e,t){return j(30,A,A,A,A,A,A,[e,t],A,A,A,A)}function br(e,t,n){return j(31,e,A,A,A,A,A,n,t,A,A,A)}function xr(e,t){return j(32,e,A,A,A,A,A,A,t,A,A,A)}function Sr(e,t){return j(33,e,A,A,A,A,A,A,t,A,A,A)}function Cr(e,t){return j(34,e,A,A,A,A,A,A,t,A,A,A)}function wr(e,t,n,r){return j(35,e,n,A,A,A,A,t,A,A,A,r)}var{toString:Tr}
12=Object.prototype,Er={parsing:1,serialization:2,deserialization:3};function Dr(e){return`Seroval Error (step: ${Er[e]})`}var Or=(e,t)=>Dr(e),kr=class extends Error{constructor(e,t){super(Or(e,t)),this.cause=t}},Ar=class extends kr{constructor(e){super(`parsing`,e)}},jr=class extends kr{constructor(e){super(`deserialization`,e)}};function Mr(e){return`Seroval Error (specific: ${e})`}var Nr=class extends Error{constructor(e){super(Mr(1)),this.value=e}},Pr=class extends Error{constructor(e){super(Mr(2))}},Fr=class extends Error{constructor(e){super(Mr(3))}},Ir=class extends Error{constructor(e){super(Mr(4))}},Lr=class extends Error{constructor(e){super(Mr(5)),this.value=e}},Rr=class extends Error{constructor(e){super(Mr(6))}},zr=class extends Error{constructor(e){super(Mr(7))}},Br=class extends Error{constructor(e){super(Mr(8))}},Vr=class extends Error{constructor(e){super(Mr(9))}},Hr=class{constructor(e,t){this.value=e,this.replacement=t}},Ur=()=>{let e={p:0,s:0,f:0};return e.p=new Promise((t,n)=>{e.s=t,e.f=n}),e};Ur.toString(),((e,t)=>{e.s(t),e.p.s=1,e.p.v=t}).toString(),((e,t)=>{e.f(t),e.p.s=2,e.p.v=t}).toString();var Wr=()=>{let e=[],t=[],n=!0,r=!1,i=0,a=(e,n,r)=>{for(r=0;r<i;r++)t[r]&&t[r][n](e)},o=(t,i,a,o)=>{for(i=0,a=e.length;i<a;i++)o=e[i],!n&&i===a-1?t[r?`return`:`throw`](o):t.next(o)},s=(e,r)=>(n&&(r=i++,t[r]=e),o(e),()=>{n&&(t[r]=t[i],t[i--]=void 0)});return{__SEROVAL_STREAM__:!0,on:e=>s(e),next:t=>{n&&(e.push(t),a(t,`next`))},throw:i=>{n&&(e.push(i),a(i,`throw`),n=!1,r=!1,t.length=0)},return:i=>{n&&(e.push(i),a(i,`return`),n=!1,r=!0,t.length=0)}}};Wr.toString();var Gr=e=>t=>()=>{let n=0,r={[e]:()=>r,next:()=>{if(n>t.d)return{done:!0,value:void 0};let e=n++,r=t.v[e];if(e===t.t)throw r;return{done:e===t.d,value:r}}};return r};Gr.toString();var Kr=(e,t)=>n=>()=>{let r=0,i=-1,a=!1,o=[],s=[],c=(e=0,t=s.length)=>{for(;e<t;e++)s[e].s({done:!0,value:void 0})};n.on({next:e=>{let t=s.shift();t&&t.s({done:!1,value:e}),o.push(e)},throw:e=>{let t=s.shift();t&&t.f(e),c(),i=o.length,a=!0,o.push(e)},return:e=>{let t=s.shift();t&&t.s({done:!0,value:e}),c(),i=o.length,o.push(e)}});let l={[e]:()=>l,next:()=>{if(i===-1){let e=r++;if(e>=o.length){let e=t();return s.push(e),e.p}return{done:!1,value:o[e]}}if(r>i)return{done:!0,value:void 0};let e=r++,n=o[e];if(e!==i)return{done:!1,value:n};if(a)throw n;return{done:!0,value:n}}};return l};Kr.toString();var qr=e=>{let t=atob(e),n=t.length,r=new Uint8Array(n);for(let e=0;e<n;e++)r[e]=t.charCodeAt(e);return r.buffer};qr.toString();function Jr(e){return`__SEROVAL_SEQUENCE__`in e}function Yr(e,t,n){return{__SEROVAL_SEQUENCE__:!0,v:e,t,d:n}}function Xr(e){let t=[],n=-1,r=-1,i=e[gn]();for(;;)try{let e=i.next();if(t.push(e.value),e.done){r=t.length-1;break}}catch(e){n=t.length,t.push(e)}return Yr(t,n,r)}var Zr=Gr(gn);function Qr(e){return Zr(e)}var $r={},ei={},ti={0:{},1:{},2:{},3:{},4:{},5:{}};function ni(e){return`__SEROVAL_STREAM__`in e}function ri(){return Wr()}function ii(e){let t=ri(),n=e[pn]();async function r(){try{let e=await n.next();e.done?t.return(e.value):(t.next(e.value),await r())}catch(e){t.throw(e)}}return r().catch(()=>{}),t}var ai=Kr(pn,Ur);function oi(e){return ai(e)}async function si(e){try{return[1,await e]}catch(e){return[0,e]}}function ci(e,t){return{plugins:t.plugins,mode:e,marked:new Set,features:63^(t.disabledFeatures||0),refs:t.refs||new Map,depthLimit:t.depthLimit||1e3}}function li(e,t){e.marked.add(t)}function ui(e,t){let n=e.refs.size;return e.refs.set(t,n),n}function di(e,t){let n=e.refs.get(t);return n==null?{type:0,value:ui(e,t)}:(li(e,n),{type:1,value:ir(n)})}function fi(e,t){let n=di(e,t);return n.type===1?n:qn(t)?{type:2,value:cr(n.value,t)}:n}function pi(e,t){let n=fi(e,t);if(n.type!==0)return n.value;if(t in En)return sr(n.value,t);throw new Nr(t)}function mi(e,t){let n=di(e,ti[t]);return n.type===1?n.value:j(26,n.value,t,A,A,A,A,A,A,A,A,A)}function hi(e){let t=di(e,$r);return t.type===1?t.value:j(27,t.value,A,A,A,A,A,A,pi(e,gn),A,A,A)}function gi(e){let t=di(e,ei);return t.type===1?t.value:j(29,t.value,A,A,A,A,A,[mi(e,1),pi(e,pn)],A,A,A,A)}function _i(e,t,n,r){return j(n?11:10,e,A,A,A,r,A,A,A,A,er(t),A)}function vi(e,t,n,r){return j(8,t,A,A,A,A,{k:n,v:r},A,mi(e,0),A,A,A)}
12function yi(e,t,n){let r=new Uint8Array(n),i=``;for(let e=0,t=r.length;e<t;e++)i+=String.fromCharCode(r[e]);return j(19,t,Vn(btoa(i)),A,A,A,A,A,mi(e,5),A,A,A)}function bi(e,t){return{base:ci(e,t),child:void 0}}var xi=class{constructor(e,t){this._p=e,this.depth=t}parse(e){return M(this._p,this.depth,e)}};async function Si(e,t,n){let r=[];for(let i=0,a=n.length;i<a;i++)i in n?r[i]=await M(e,t,n[i]):r[i]=0;return r}async function Ci(e,t,n,r){return ur(n,r,await Si(e,t,r))}async function wi(e,t,n){let r=Object.entries(n),i=[],a=[];for(let n=0,o=r.length;n<o;n++)i.push(Vn(r[n][0])),a.push(await M(e,t,r[n][1]));return gn in n&&(i.push(pi(e.base,gn)),a.push(vr(hi(e.base),await M(e,t,Xr(n))))),pn in n&&(i.push(pi(e.base,pn)),a.push(yr(gi(e.base),await M(e,t,ii(n))))),wn in n&&(i.push(pi(e.base,wn)),a.push(nr(n[wn]))),hn in n&&(i.push(pi(e.base,hn)),a.push(n[hn]?Mn:Nn)),{k:i,v:a}}async function Ti(e,t,n,r,i){return _i(n,r,i,await wi(e,t,r))}async function Ei(e,t,n,r){return dr(n,await M(e,t,r.valueOf()))}async function Di(e,t,n,r){return fr(n,r,await M(e,t,r.buffer))}async function Oi(e,t,n,r){return pr(n,r,await M(e,t,r.buffer))}async function ki(e,t,n,r){return mr(n,r,await M(e,t,r.buffer))}async function Ai(e,t,n,r){let i=$n(r,e.base.features);return hr(n,r,i?await wi(e,t,i):A)}async function ji(e,t,n,r){let i=$n(r,e.base.features);return gr(n,r,i?await wi(e,t,i):A)}async function Mi(e,t,n,r){let i=[],a=[];for(let[n,o]of r.entries())i.push(await M(e,t,n)),a.push(await M(e,t,o));return vi(e.base,n,i,a)}async function Ni(e,t,n,r){let i=[];for(let n of r.keys())i.push(await M(e,t,n));return _r(n,i)}async function Pi(e,t,n,r){let i=e.base.plugins;if(i)for(let a=0,o=i.length;a<o;a++){let o=i[a];if(o.parse.async&&o.test(r))return lr(n,o.tag,await o.parse.async(r,new xi(e,t),{id:n}))}return A}async function Fi(e,t,n,r){let[i,a]=await si(r);return j(12,n,i,A,A,A,A,A,await M(e,t,a),A,A,A)}function Ii(e,t,n,r,i){let a=[],o=n.on({next:n=>{li(this.base,t),M(this,e,n).then(e=>{a.push(xr(t,e))},e=>{i(e),o()})},throw:n=>{li(this.base,t),M(this,e,n).then(e=>{a.push(Sr(t,e)),r(a),o()},e=>{i(e),o()})},return:n=>{li(this.base,t),M(this,e,n).then(e=>{a.push(Cr(t,e)),r(a),o()},e=>{i(e),o()})}})}async function Li(e,t,n,r){return br(n,mi(e.base,4),await new Promise(Ii.bind(e,t,n,r)))}async function Ri(e,t,n,r){let i=[];for(let n=0,a=r.v.length;n<a;n++)i[n]=await M(e,t,r.v[n]);return wr(n,i,r.t,r.d)}async function zi(e,t,n,r){if(Array.isArray(r))return Ci(e,t,n,r);if(ni(r))return Li(e,t,n,r);if(Jr(r))return Ri(e,t,n,r);let i=r.constructor;if(i===Hr)return M(e,t,r.replacement);let a=await Pi(e,t,n,r);if(a)return a;switch(i){case Object:return Ti(e,t,n,r,!1);case A:return Ti(e,t,n,r,!0);case Date:return ar(n,r);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return Ai(e,t,n,r);case Number:case Boolean:case String:case BigInt:return Ei(e,t,n,r);case ArrayBuffer:return yi(e.base,n,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return Di(e,t,n,r);case DataView:return ki(e,t,n,r);case Map:return Mi(e,t,n,r);case Set:return Ni(e,t,n,r);default:break}if(i===Promise||r instanceof Promise)return Fi(e,t,n,r);let o=e.base.features;if(o&32&&i===RegExp)return or(n,r);if(o&16)switch(i){case BigInt64Array:case BigUint64Array:return Oi(e,t,n,r);default:break}if(o&1&&typeof AggregateError<`u`&&(i===AggregateError||r instanceof AggregateError))return ji(e,t,n,r);if(r instanceof Error)return Ai(e,t,n,r);if(gn in r||pn in r)return Ti(e,t,n,r,!!i);throw new Nr(r)}async function Bi(e,t,n){let r=fi(e.base,n);if(r.type!==0)return r.value;let i=await Pi(e,t,r.value,n);if(i)return i;throw new Nr(n)}async function M(e,t,n){switch(typeof n){case`boolean`:return n?Mn:Nn;case`undefined`:return Pn;case`string`:return nr(n);case`number`:return tr(n);case`bigint`:return rr(n);case`object`:if(n){let r=fi(e.base,n);return r.type===0?await zi(e,t+1,r.value,n):r.value}return Fn;case`symbol`:return pi(e.base,n);case`function`:return Bi(e,t,n);default:throw new Nr(n)}}async function Vi(e,t){try{return await M(e,0,t)}catch(e){throw e instanceof Ar?e:new Ar(e)}}var N=(e=>(e[e.Vanilla=1]=`Vanilla`,e[e.Cross=2]=`Cross`,e))(N||{});function Hi(e){return e}function Ui(e,t){for(let n=0,r=t.length;n<r;n++){let r=t[n];e.has(r)||(e.add(r),r.extends&&Ui(e,r.extends))}}function Wi(e){if(e){let t=new Set;return Ui(t,e),[...t]}}function Gi(e){switch(e){case`Int8Array`:return Int8Array;case`Int16Array`:return Int16Array;case`Int32Array`:return Int32Array;case`Uint8Array`:return Uint8Array;case`Uint16Array`:return Uint16Array;case`Uint32Array`:return Uint32Array;case`Uint8ClampedArray`:return Uint8ClampedArray;case`Float32Array`:return Float32Array;case`Float64Array`:return Float64Array;case`BigInt64Array`:return BigInt64Array;case`BigUint64Array`:return BigUint64Array;default:throw new zr(e)}}var Ki=1e6,qi=1e4,Ji=2e4;function Yi(e,t){switch(t){case 3:return Object.freeze(e);case 1:return Object.preventExtensions(e);case 2:return Object.seal(e);default:return e}}var Xi=1e3;function Zi(e,t){return{mode:e,plugins:t.plugins,refs:t.refs||new Map,features:t.features??63^(t.disabledFeatures||0),depthLimit:t.depthLimit||Xi}}
12function Qi(e){return{mode:2,base:Zi(2,e),child:A}}var $i=class{constructor(e,t){this._p=e,this.depth=t}deserialize(e){return P(this._p,this.depth,e)}};function ea(e,t){if(t<0||!Number.isFinite(t)||!Number.isInteger(t))throw new Br({t:4,i:t});if(e.refs.has(t))throw Error(`Conflicted ref id: `+t)}function ta(e,t,n){return ea(e.base,t),e.state.marked.has(t)&&e.base.refs.set(t,n),n}function na(e,t,n){return ea(e.base,t),e.base.refs.set(t,n),n}function ra(e,t,n){return e.mode===1?ta(e,t,n):na(e,t,n)}function ia(e,t,n){if(Object.hasOwn(t,n))return t[n];throw new Br(e)}function aa(e,t){return ra(e,t.i,Xn(Un(t.s)))}function oa(e,t,n){let r=n.a,i=r.length,a=ra(e,n.i,Array(i));for(let n=0,o;n<i;n++)o=r[n],o&&(a[n]=P(e,t,o));return Yi(a,n.o),a}function sa(e){switch(e){case`constructor`:case`__proto__`:case`prototype`:case`__defineGetter__`:case`__defineSetter__`:case`__lookupGetter__`:case`__lookupSetter__`:return!1;default:return!0}}function ca(e){switch(e){case pn:case hn:case wn:case gn:return!0;default:return!1}}function la(e,t,n){sa(t)?e[t]=n:Object.defineProperty(e,t,{value:n,configurable:!0,enumerable:!0,writable:!0})}function ua(e,t,n,r,i){if(typeof r==`string`)la(n,Un(r),P(e,t,i));else{let a=P(e,t,r);switch(typeof a){case`string`:la(n,a,P(e,t,i));break;case`symbol`:ca(a)&&(n[a]=P(e,t,i));break;default:throw new Br(r)}}}function da(e,t,n,r){let i=n.k;if(i.length>0)for(let a=0,o=n.v,s=i.length;a<s;a++)ua(e,t,r,i[a],o[a]);return r}function fa(e,t,n){let r=ra(e,n.i,n.t===10?{}:Object.create(null));return da(e,t,n.p,r),Yi(r,n.o),r}function pa(e,t){return ra(e,t.i,new Date(t.s))}function ma(e,t){if(e.base.features&32){let n=Un(t.c);if(n.length>Ji)throw new Br(t);return ra(e,t.i,new RegExp(n,t.m))}throw new Pr(t)}function ha(e,t,n){let r=ra(e,n.i,new Set);for(let i=0,a=n.a,o=a.length;i<o;i++)r.add(P(e,t,a[i]));return r}function ga(e,t,n){let r=ra(e,n.i,new Map);for(let i=0,a=n.e.k,o=n.e.v,s=a.length;i<s;i++)r.set(P(e,t,a[i]),P(e,t,o[i]));return r}function _a(e,t){if(t.s.length>Ki)throw new Br(t);return ra(e,t.i,qr(Un(t.s)))}function va(e,t,n){let r=Gi(n.c),i=P(e,t,n.f),a=n.b??0;if(a<0||a>i.byteLength)throw new Br(n);return ra(e,n.i,new r(i,a,n.l))}function ya(e,t,n){let r=P(e,t,n.f),i=n.b??0;if(i<0||i>r.byteLength)throw new Br(n);return ra(e,n.i,new DataView(r,i,n.l))}function ba(e,t,n,r){if(n.p){let i=da(e,t,n.p,{});Object.defineProperties(r,Object.getOwnPropertyDescriptors(i))}return r}function xa(e,t,n){return ba(e,t,n,ra(e,n.i,AggregateError([],Un(n.m))))}function Sa(e,t,n){let r=ia(n,An,n.s);return ba(e,t,n,ra(e,n.i,new r(Un(n.m))))}function Ca(e,t,n){let r=Ur(),i=ra(e,n.i,r.p),a=P(e,t,n.f);return n.s?r.s(a):r.f(a),i}function wa(e,t,n){return ra(e,n.i,Object(P(e,t,n.f)))}function Ta(e,t,n){let r=e.base.plugins;if(r){let i=Un(n.c);for(let a=0,o=r.length;a<o;a++){let o=r[a];if(o.tag===i)return ra(e,n.i,o.deserialize(n.s,new $i(e,t),{id:n.i}))}}throw new Fr(n.c)}function Ea(e,t){return ra(e,t.i,ra(e,t.s,Ur()).p)}function Da(e,t,n){let r=e.base.refs.get(n.i);if(r)return r.s(P(e,t,n.a[1])),A;throw new Ir(`Promise`)}function Oa(e,t,n){let r=e.base.refs.get(n.i);if(r)return r.f(P(e,t,n.a[1])),A;throw new Ir(`Promise`)}function ka(e,t,n){return P(e,t,n.a[0]),Qr(P(e,t,n.a[1]))}function Aa(e,t,n){return P(e,t,n.a[0]),oi(P(e,t,n.a[1]))}function ja(e,t,n){let r=ra(e,n.i,ri()),i=n.a,a=i.length;if(a)for(let n=0;n<a;n++)P(e,t,i[n]);return r}function Ma(e,t,n){let r=e.base.refs.get(n.i);if(r&&ni(r))return r.next(P(e,t,n.f)),A;throw new Ir(`Stream`)}function Na(e,t,n){let r=e.base.refs.get(n.i);if(r&&ni(r))return r.throw(P(e,t,n.f)),A;throw new Ir(`Stream`)}function Pa(e,t,n){let r=e.base.refs.get(n.i);if(r&&ni(r))return r.return(P(e,t,n.f)),A;throw new Ir(`Stream`)}function Fa(e,t,n){return P(e,t,n.f),A}function Ia(e,t,n){return P(e,t,n.a[1]),A}function La(e,t,n){let r=ra(e,n.i,Yr([],n.s,n.l));for(let i=0,a=n.a.length;i<a;i++)r.v[i]=P(e,t,n.a[i]);return r}function P(e,t,n){if(t>e.base.depthLimit)throw new Vr(e.base.depthLimit);switch(t+=1,n.t){case 2:return ia(n,On,n.s);case 0:return Number(n.s);case 1:return Un(String(n.s));case 3:if(String(n.s).length>qi)throw new Br(n);return BigInt(n.s);case 4:return e.base.refs.get(n.i);case 18:return aa(e,n);
12case 9:return oa(e,t,n);case 10:case 11:return fa(e,t,n);case 5:return pa(e,n);case 6:return ma(e,n);case 7:return ha(e,t,n);case 8:return ga(e,t,n);case 19:return _a(e,n);case 16:case 15:return va(e,t,n);case 20:return ya(e,t,n);case 14:return xa(e,t,n);case 13:return Sa(e,t,n);case 12:return Ca(e,t,n);case 17:return ia(n,Dn,n.s);case 21:return wa(e,t,n);case 25:return Ta(e,t,n);case 22:return Ea(e,n);case 23:return Da(e,t,n);case 24:return Oa(e,t,n);case 28:return ka(e,t,n);case 30:return Aa(e,t,n);case 31:return ja(e,t,n);case 32:return Ma(e,t,n);case 33:return Na(e,t,n);case 34:return Pa(e,t,n);case 27:return Fa(e,t,n);case 29:return Ia(e,t,n);case 35:return La(e,t,n);default:throw new Pr(n)}}function Ra(e,t){try{return P(e,0,t)}catch(e){throw new jr(e)}}var za=(()=>T).toString();/=>/.test(za);function Ba(e,t){return Ra(Qi({plugins:Wi(t.plugins),refs:t.refs,features:t.features,disabledFeatures:t.disabledFeatures,depthLimit:t.depthLimit}),e)}async function Va(e,t={}){let n=bi(1,{plugins:Wi(t.plugins),disabledFeatures:t.disabledFeatures});return{t:await Vi(n,e),f:n.base.features,m:Array.from(n.base.marked)}}function Ha(e){return e}function Ua(e){return Hi({tag:`$TSR/t/`+e.key,test:e.test,parse:{sync(t,n,r){return{v:n.parse(e.toSerializable(t))}},async async(t,n,r){return{v:await n.parse(e.toSerializable(t))}},stream(t,n,r){return{v:n.parse(e.toSerializable(t))}}},serialize:void 0,deserialize(t,n,r){return e.fromSerializable(n.deserialize(t.v))}})}var Wa=class{constructor(e,t){this.stream=e,this.hint=t?.hint??`binary`}},Ga=globalThis.Buffer,Ka=!!Ga&&typeof Ga.from==`function`;function qa(e){if(e.length===0)return``;if(Ka)return Ga.from(e).toString(`base64`);let t=32768,n=[];for(let r=0;r<e.length;r+=t){let i=e.subarray(r,r+t);n.push(String.fromCharCode.apply(null,i))}return btoa(n.join(``))}function Ja(e){if(e.length===0)return new Uint8Array;
12if(Ka){let t=Ga.from(e,`base64`);return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}var Ya=Object.create(null),Xa=Object.create(null),Za=e=>new ReadableStream({start(t){e.on({next(e){try{t.enqueue(Ja(e))}catch{}},throw(e){t.error(e)},return(){try{t.close()}catch{}}})}}),Qa=new TextEncoder,$a=e=>new ReadableStream({start(t){e.on({next(e){try{typeof e==`string`?t.enqueue(Qa.encode(e)):t.enqueue(Ja(e.$b64))}catch{}},throw(e){t.error(e)},return(){try{t.close()}catch{}}})}}),eo=`(s=>new ReadableStream({start(c){s.on({next(b){try{const d=atob(b),a=new Uint8Array(d.length);for(let i=0;i<d.length;i++)a[i]=d.charCodeAt(i);c.enqueue(a)}catch(_){}},throw(e){c.error(e)},return(){try{c.close()}catch(_){}}})}}))`,to=`(s=>{const e=new TextEncoder();return new ReadableStream({start(c){s.on({next(v){try{if(typeof v==='string'){c.enqueue(e.encode(v))}else{const d=atob(v.$b64),a=new Uint8Array(d.length);for(let i=0;i<d.length;i++)a[i]=d.charCodeAt(i);c.enqueue(a)}}catch(_){}},throw(x){c.error(x)},return(){try{c.close()}catch(_){}}})}})})`;function no(e){let t=ri(),n=e.getReader();return(async()=>{try{for(;;){let{done:e,value:r}=await n.read();if(e){t.return(void 0);break}t.next(qa(r))}}catch(e){t.throw(e)}finally{n.releaseLock()}})(),t}function ro(e){let t=ri(),n=e.getReader(),r=new TextDecoder(`utf-8`,{fatal:!0});return(async()=>{try{for(;;){let{done:e,value:i}=await n.read();if(e){try{let e=r.decode();e.length>0&&t.next(e)}catch{}t.return(void 0);break}try{let e=r.decode(i,{stream:!0});e.length>0&&t.next(e)}catch{t.next({$b64:qa(i)})}}}catch(e){t.throw(e)}finally{n.releaseLock()}})(),t}var io=Hi({tag:`tss/RawStream`,extends:[Hi({tag:`tss/RawStreamFactory`,test(e){return e===Ya},parse:{sync(e,t,n){return{}},async async(e,t,n){return{}},stream(e,t,n){return{}}},serialize(e,t,n){return eo},deserialize(e,t,n){return Ya}}),Hi({tag:`tss/RawStreamFactoryText`,test(e){return e===Xa},parse:{sync(e,t,n){return{}},async async(e,t,n){return{}},stream(e,t,n){return{}}},serialize(e,t,n){return to},deserialize(e,t,n){return Xa}})],test(e){return e instanceof Wa},parse:{sync(e,t,n){let r=e.hint===`text`?Xa:Ya;return{hint:t.parse(e.hint),factory:t.parse(r),stream:t.parse(ri())}},async async(e,t,n){let r=e.hint===`text`?Xa:Ya,i=e.hint===`text`?ro(e.stream):no(e.stream);return{hint:await t.parse(e.hint),factory:await t.parse(r),stream:await t.parse(i)}},stream(e,t,n){let r=e.hint===`text`?Xa:Ya,i=e.hint===`text`?ro(e.stream):no(e.stream);return{hint:t.parse(e.hint),factory:t.parse(r),stream:t.parse(i)}}},serialize(e,t,n){return`(`+t.serialize(e.factory)+`)(`+t.serialize(e.stream)+`)`},deserialize(e,t,n){let r=t.deserialize(e.stream);return t.deserialize(e.hint)===`text`?$a(r):Za(r)}});function ao(e){return Hi({tag:`tss/RawStream`,test:()=>!1,parse:{},serialize(){throw Error(`RawStreamDeserializePlugin.serialize should not be called. Client only deserializes.`)},deserialize(t,n,r){return e(typeof n?.deserialize==`function`?n.deserialize(t.streamId):t.streamId)}})}var oo=Hi({tag:`$TSR/Error`,test(e){return e instanceof Error},parse:{sync(e,t){return{message:t.parse(e.message)}},async async(e,t){return{message:await t.parse(e.message)}},stream(e,t){return{message:t.parse(e.message)}}},serialize(e,t){return`new Error(`+t.serialize(e.message)+`)`},deserialize(e,t){return Error(t.deserialize(e.message))}}),so={},co=e=>new ReadableStream({start:t=>{e.on({next:e=>{try{t.enqueue(e)}catch{}},throw:e=>{t.error(e)},return:()=>{try{t.close()}catch{}}})}}),lo=Hi({tag:`seroval-plugins/web/ReadableStreamFactory`,test(e){return e===so},parse:{sync(){return so},async async(){return await Promise.resolve(so)},stream(){return so}},serialize(){return co.toString()},deserialize(){return so}});function uo(e){let t=ri(),n=e.getReader();async function r(){try{let e=await n.read();e.done?t.return(e.value):(t.next(e.value),await r())}catch(e){t.throw(e)}}return r().catch(()=>{}),t}var fo=[oo,io,Hi({tag:`seroval/plugins/web/ReadableStream`,extends:[lo],test(e){return typeof ReadableStream>`u`?!1:e instanceof ReadableStream},parse:{sync(e,t){return{factory:t.parse(so),stream:t.parse(ri())}},async async(e,t){return{factory:await t.parse(so),stream:await t.parse(uo(e))}},stream(e,t){return{factory:t.parse(so),stream:t.parse(uo(e))}}},serialize(e,t){return`(`+t.serialize(e.factory)+`)(`+t.serialize(e.stream)+`)`},deserialize(e,t){return co(t.deserialize(e.stream))}})];function po(){return[...(Ie()?.serializationAdapters)?.map(Ua)??[],...fo]}var mo=new TextDecoder,ho=new Uint8Array,go=16*1024*1024,_o=32*1024*1024,vo=1024,yo=1e5;function F(e){let t=new Map,n=new Map,r=new Set,i=!1,a=null,o=0,s,c=new ReadableStream({start(e){s=e},cancel(){i=!0;try{a?.cancel()}catch{}
12t.forEach(e=>{try{e.error(Error(`Framed response cancelled`))}catch{}}),t.clear(),n.clear(),r.clear()}});function l(e){let i=n.get(e);if(i)return i;if(r.has(e))return new ReadableStream({start(e){e.close()}});if(n.size>=vo)throw Error(`Too many raw streams in framed response (max ${vo})`);let a=new ReadableStream({start(n){t.set(e,n)},cancel(){r.add(e),t.delete(e),n.delete(e)}});return n.set(e,a),a}function u(e){return l(e),t.get(e)}return(async()=>{let n=e.getReader();a=n;let c=[],l=0;function d(){if(l<9)return null;let e=c[0];if(e.length>=9)return{type:e[0],streamId:(e[1]<<24|e[2]<<16|e[3]<<8|e[4])>>>0,length:(e[5]<<24|e[6]<<16|e[7]<<8|e[8])>>>0};let t=new Uint8Array(9),n=0,r=9;for(let e=0;e<c.length&&r>0;e++){let i=c[e],a=Math.min(i.length,r);t.set(i.subarray(0,a),n),n+=a,r-=a}return{type:t[0],streamId:(t[1]<<24|t[2]<<16|t[3]<<8|t[4])>>>0,length:(t[5]<<24|t[6]<<16|t[7]<<8|t[8])>>>0}}function f(e){if(e===0)return ho;let t=new Uint8Array(e),n=0,r=e;for(;r>0&&c.length>0;){let e=c[0];if(!e)break;let i=Math.min(e.length,r);t.set(e.subarray(0,i),n),n+=i,r-=i,i===e.length?c.shift():c[0]=e.subarray(i)}return l-=e,t}try{for(;;){let{done:e,value:a}=await n.read();if(i||e)break;if(a){if(l+a.length>_o)throw Error(`Framed response buffer exceeded ${_o} bytes`);for(c.push(a),l+=a.length;;){let e=d();if(!e)break;let{type:n,streamId:i,length:a}=e;if(n!==Me.JSON&&n!==Me.CHUNK&&n!==Me.END&&n!==Me.ERROR)throw Error(`Unknown frame type: ${n}`);if(n===Me.JSON){if(i!==0)throw Error(`Invalid JSON frame streamId (expected 0)`)}else if(i===0)throw Error(`Invalid raw frame streamId (expected non-zero)`);if(a>go)throw Error(`Frame payload too large: ${a} bytes (max ${go})`);let c=9+a;if(l<c)break;if(++o>yo)throw Error(`Too many frames in framed response (max ${yo})`);f(9);let p=f(a);switch(n){case Me.JSON:try{s.enqueue(mo.decode(p))}catch{}break;case Me.CHUNK:{let e=u(i);e&&e.enqueue(p);break}case Me.END:{let e=u(i);if(r.add(i),e){try{e.close()}catch{}t.delete(i)}break}case Me.ERROR:{let e=u(i);if(r.add(i),e){let n=mo.decode(p);e.error(Error(n)),t.delete(i)}break}}}}}if(l!==0)throw Error(`Incomplete frame at end of framed response`);try{s.close()}catch{}t.forEach(e=>{try{e.close()}catch{}}),t.clear()}catch(e){try{s.error(e)}catch{}t.forEach(t=>{try{t.error(e)}catch{}}),t.clear()}finally{try{n.releaseLock()}catch{}a=null}})(),{getOrCreateStream:l,jsonChunks:c}}var I=null;async function bo(e){e.length>0&&await Promise.allSettled(e)}var xo=Object.prototype.hasOwnProperty;function So(e){for(let t in e)if(xo.call(e,t))return!0;return!1}async function Co(e,t,n){I||=po();let r=t[0],i=r.fetch??n,a=r.data instanceof FormData?`formData`:`payload`,o=r.headers?new Headers(r.headers):new Headers;if(o.set(`x-tsr-serverFn`,`true`),a===`payload`&&o.set(`accept`,`${je}, application/x-ndjson, application/json`),r.method===`GET`){if(a===`formData`)throw Error(`FormData is not supported with GET requests`);let t=await wo(r);if(t!==void 0){let n=Ye({payload:t});e.includes(`?`)?e+=`&${n}`:e+=`?${n}`}}let s;if(r.method===`POST`){let e=await Eo(r);e?.contentType&&o.set(`content-type`,e.contentType),s=e?.body}return await Do(async()=>i(e,{method:r.method,headers:o,signal:r.signal,body:s}))}async function wo(e){let t=!1,n={};if(e.data!==void 0&&(t=!0,n.data=e.data),e.context&&So(e.context)&&(t=!0,n.context=e.context),t)return To(n)}async function To(e){return JSON.stringify(await Promise.resolve(Va(e,{plugins:I})))}async function Eo(e){if(e.data instanceof FormData){let t;return e.context&&So(e.context)&&(t=await To(e.context)),t!==void 0&&e.data.set(Oe,t),{body:e.data}}let t=await wo(e);if(t)return{body:t,contentType:`application/json`}}async function Do(e){let t;try{t=await e()}catch(e){if(e instanceof Response)t=e;else throw console.log(e),e}if(t.headers.get(`x-tss-raw`)===`true`)return t;let n=t.headers.get(`content-type`);if(n||g(),t.headers.get(`x-tss-serialized`)){let e;if(n.includes(`application/x-tss-framed`)){if(Fe(n),!t.body)throw Error(`No response body for framed response`);
12let{getOrCreateStream:r,jsonChunks:i}=F(t.body),a=[ao(r),...I||[]],o=new Map;e=await Oo({jsonStream:i,onMessage:e=>Ba(e,{refs:o,plugins:a}),onError(e,t){console.error(e,t)}})}else if(n.includes(`application/json`)){let n=await t.json(),r=[];try{e=Ba(n,{plugins:I})}finally{}await bo(r)}if(e||g(),e instanceof Error)throw e;return e}if(n.includes(`application/json`)){let e=await t.json(),n=at(e);if(n)throw n;if(Re(e))throw e;return e}if(!t.ok)throw Error(await t.text());return t}async function Oo({jsonStream:e,onMessage:t,onError:n}){let r=e.getReader(),{value:i,done:a}=await r.read();if(a||!i)throw Error(`Stream ended before first object`);let o=JSON.parse(i),s=!1,c=(async()=>{try{for(;;){let{value:e,done:i}=await r.read();if(i)break;if(e)try{let n=[];try{t(JSON.parse(e))}finally{}await bo(n)}catch(t){n?.(`Invalid JSON: ${e}`,t)}}}catch(e){s||n?.(`Stream processing error:`,e)}})(),l,u=[];try{l=t(o)}catch(e){throw s=!0,r.cancel().catch(()=>{}),e}return await bo(u),Promise.resolve(l).catch(()=>{s=!0,r.cancel().catch(()=>{})}),c.finally(()=>{try{r.releaseLock()}catch{}}),l}function ko(e){let t=`/_serverFn/`+e;return Object.assign((...e)=>{let n=Ie()?.serverFns?.fetch;return Co(t,e,n??fetch)},{url:t,serverFnMeta:{id:e},[ke]:!0})}var Ao=Ha({key:`$TSS/serverfn`,test:e=>typeof e!=`function`||!(ke in e)?!1:!!e[ke],toSerializable:({serverFnMeta:e})=>({functionId:e.id}),fromSerializable:({functionId:e})=>ko(e)});function jo(e){return e.replaceAll(`\0`,`/`).replaceAll(`�`,`/`)}function Mo(e,t){e.id=t.i,e.__beforeLoadContext=t.b,e.loaderData=t.l,e.status=t.s,e.ssr=t.ssr,e.updatedAt=t.u,e.error=t.e,t.g!==void 0&&(e.globalNotFound=t.g)}async function No(e){window.$_TSR||g();let t=e.options.serializationAdapters;if(t?.length){let e=new Map;t.forEach(t=>{e.set(t.key,t.fromSerializable)}),window.$_TSR.t=e,window.$_TSR.buffer.forEach(e=>e())}window.$_TSR.initialized=!0,window.$_TSR.router||g();let n=window.$_TSR.router;n.matches.forEach(e=>{e.i=jo(e.i)}),n.lastMatchId&&=jo(n.lastMatchId);let{manifest:r,dehydratedData:i,lastMatchId:a}=n;e.ssr={manifest:r};let o=document.querySelector(`meta[property="csp-nonce"]`)?.content;e.options.ssr={nonce:o};let s=e.matchRoutes(e.stores.location.get()),c=Promise.all(s.map(t=>e.loadRouteChunk(e.looseRoutesById[t.routeId])));function l(t){let n=e.looseRoutesById[t.routeId].options.pendingMinMs??e.options.defaultPendingMinMs;if(n){let r=_();t._nonReactive.minPendingPromise=r,t._forcePending=!0,setTimeout(()=>{r.resolve(),e.updateMatch(t.id,e=>(e._nonReactive.minPendingPromise=void 0,{...e,_forcePending:void 0}))},n)}}function u(t){let n=e.looseRoutesById[t.routeId];n&&(n.options.ssr=t.ssr)}let d;s.forEach(e=>{let t=n.matches.find(t=>t.i===e.id);if(!t){e._nonReactive.dehydrated=!1,e.ssr=!1,u(e);return}Mo(e,t),u(e),e._nonReactive.dehydrated=e.ssr!==!1,(e.ssr===`data-only`||e.ssr===!1)&&d===void 0&&(d=e.index,l(e))}),e.stores.setMatches(s),await e.options.hydrate?.(i);let f=e.stores.matches.get(),p=e.stores.location.get();await Promise.all(f.map(async t=>{try{let n=e.looseRoutesById[t.routeId],r=f[t.index-1]?.context??e.options.context;if(n.options.context){let i={deps:t.loaderDeps,params:t.params,context:r??{},location:p,navigate:t=>e.navigate({...t,_fromLocation:p}),buildLocation:e.buildLocation,cause:t.cause,abortController:t.abortController,preload:!1,matches:s,routeId:n.id};t.__routeContext=n.options.context(i)??void 0}t.context={...r,...t.__routeContext,...t.__beforeLoadContext};let i={ssr:e.options.ssr,matches:f,match:t,params:t.params,loaderData:t.loaderData},a=await n.options.head?.(i),o=await n.options.scripts?.(i);t.meta=a?.meta,t.links=a?.links,t.headScripts=a?.scripts,t.styles=a?.styles,t.scripts=o}catch(e){if(Re(e))t.error={isNotFound:!0},console.error(`NotFound error during hydration for routeId: ${t.routeId}`,e);else throw t.error=e,console.error(`Error during hydration for route ${t.routeId}:`,e),e}}));let m=s[s.length-1].id!==a;if(!s.some(e=>e.ssr===!1)&&!m)return s.forEach(e=>{e._nonReactive.dehydrated=void 0}),e.stores.resolvedLocation.set(e.stores.location.get()),c;let h=Promise.resolve().then(()=>e.load()).catch(e=>{console.error(`Error during router hydration:`,e)});if(m){let t=s[1];t||g(),l(t),t._displayPending=!0,t._nonReactive.displayPendingPromise=h,h.then(()=>{e.batch(()=>
12{e.stores.status.get()===`pending`&&(e.stores.status.set(`idle`),e.stores.resolvedLocation.set(e.stores.location.get())),e.updateMatch(t.id,e=>({...e,_displayPending:void 0,displayPendingPromise:void 0}))})})}return c}var L=t(r(),1),R=n();function Po({promise:e}){if(y)return y(e);let t=rn(e);if(t[nn].status===`pending`)throw t;if(t[nn].status===`error`)throw t[nn].error;return t[nn].data}function Fo(e){let t=(0,R.jsx)(Io,{...e});return e.fallback?(0,R.jsx)(L.Suspense,{fallback:e.fallback,children:t}):t}function Io(e){let t=Po(e);return e.children(t)}function Lo(e){let t=e.errorComponent??zo;return(0,R.jsx)(Ro,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:n,reset:r})=>n?L.createElement(t,{error:n,reset:r}):e.children})}var Ro=class extends L.Component{constructor(...e){super(...e),this.state={error:null}}static getDerivedStateFromProps(e,t){let n=e.getResetKey();return t.error&&t.resetKey!==n?{resetKey:n,error:null}:{resetKey:n}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidCatch(e,t){this.props.onCatch&&this.props.onCatch(e,t)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function zo({error:e}){let[t,n]=L.useState(!1);return(0,R.jsxs)(`div`,{style:{padding:`.5rem`,maxWidth:`100%`},children:[(0,R.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:`.5rem`},children:[(0,R.jsx)(`strong`,{style:{fontSize:`1rem`},children:`Something went wrong!`}),(0,R.jsx)(`button`,{style:{appearance:`none`,fontSize:`.6em`,border:`1px solid currentColor`,padding:`.1rem .2rem`,fontWeight:`bold`,borderRadius:`.25rem`},onClick:()=>n(e=>!e),children:t?`Hide Error`:`Show Error`})]}),(0,R.jsx)(`div`,{style:{height:`.25rem`}}),t?(0,R.jsx)(`div`,{children:(0,R.jsx)(`pre`,{style:{fontSize:`.7em`,border:`1px solid red`,borderRadius:`.25rem`,padding:`.3rem`,color:`red`,overflow:`auto`},children:e.message?(0,R.jsx)(`code`,{children:e.message}):null})}):null]})}var Bo=L.createContext(void 0),Vo=L.createContext(void 0),z=(e=>(e[e.None=0]=`None`,e[e.Mutable=1]=`Mutable`,e[e.Watching=2]=`Watching`,e[e.RecursedCheck=4]=`RecursedCheck`,e[e.Recursed=8]=`Recursed`,e[e.Dirty=16]=`Dirty`,e[e.Pending=32]=`Pending`,e))(z||{});function Ho({update:e,notify:t,unwatched:n}){return{link:r,unlink:i,propagate:a,checkDirty:o,shallowPropagate:s};function r(e,t,n){let r=t.depsTail;if(r!==void 0&&r.dep===e)return;let i=r===void 0?t.deps:r.nextDep;if(i!==void 0&&i.dep===e){i.version=n,t.depsTail=i;return}let a=e.subsTail;if(a!==void 0&&a.version===n&&a.sub===t)return;let o=t.depsTail=e.subsTail={version:n,dep:e,sub:t,prevDep:r,nextDep:i,prevSub:a,nextSub:void 0};i!==void 0&&(i.prevDep=o),r===void 0?t.deps=o:r.nextDep=o,a===void 0?e.subs=o:a.nextSub=o}function i(e,t=e.sub){let r=e.dep,i=e.prevDep,a=e.nextDep,o=e.nextSub,s=e.prevSub;return a===void 0?t.depsTail=i:a.prevDep=i,i===void 0?t.deps=a:i.nextDep=a,o===void 0?r.subsTail=s:o.prevSub=s,s===void 0?(r.subs=o)===void 0&&n(r):s.nextSub=o,a}function a(e){let n=e.nextSub,r;top:do{let i=e.sub,a=i.flags;if(a&60?a&12?a&4?!(a&48)&&c(e,i)?(i.flags=a|40,a&=1):a=0:i.flags=a&-9|32:a=0:i.flags=a|32,a&2&&t(i),a&1){let t=i.subs;if(t!==void 0){let i=(e=t).nextSub;i!==void 0&&(r={value:n,prev:r},n=i);continue}}if((e=n)!==void 0){n=e.nextSub;continue}for(;r!==void 0;)if(e=r.value,r=r.prev,e!==void 0){n=e.nextSub;continue top}break}while(!0)}function o(t,n){let r,i=0,a=!1;top:do{let o=t.dep,c=o.flags;if(n.flags&16)a=!0;else if((c&17)==17){if(e(o)){let e=o.subs;e.nextSub!==void 0&&s(e),a=!0}}else if((c&33)==33){(t.nextSub!==void 0||t.prevSub!==void 0)&&(r={value:t,prev:r}),t=o.deps,n=o,++i;continue}if(!a){let e=t.nextDep;if(e!==void 0){t=e;continue}}for(;i--;){let i=n.subs,o=i.nextSub!==void 0;if(o?(t=r.value,r=r.prev):t=i,a){if(e(n)){o&&s(i),n=t.sub;continue}a=!1}else n.flags&=-33;n=t.sub;let c=t.nextDep;if(c!==void 0){t=c;continue top}}return a}while(!0)}function s(e){do{let n=e.sub,r=n.flags;(r&48)==32&&(n.flags=r|16,(r&6)==2&&t(n))}while((e=e.nextSub)!==void 0)}function c(e,t){let n=t.depsTail;for(;n!==void 0;){if(n===e)return!0;n=n.prevDep}return!1}}function Uo(e,t,n){let r=typeof e==`object`,i=r?e:void 0;return{next:(r?e.next:e)?.bind(i),error:(r?e.error:t)?.bind(i),complete:(r?e.complete:n)?.bind(i)}}var Wo=[],Go=0,{link:Ko,unlink:qo,propagate:Jo,checkDirty:Yo,shallowPropagate:Xo}=Ho({update(e){return e._update()},notify(e){Wo[Qo++]=e,e.flags&=~z.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=z.Mutable|z.Dirty,ns(e))}}),Zo=0,Qo=0,$o,es=0;function ts(e){try{++es,e()}finally{--es||rs()}}function ns(e){let t=e.depsTail,n=t===void 0?e.deps:t.nextDep;for(;n!==void 0;)n=qo(n,e)}function rs(){if(!(es>0)){for(;Zo<Qo;){let e=Wo[Zo];Wo[Zo++]=void 0,e.notify()}Zo=0,Qo=0}}function is(e,t){let n=typeof e==`function`,r=e,i={_snapshot:n?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:n?z.None:z.Mutable,get(){return $o!==void 0&&Ko(i,$o,Go),i._snapshot},subscribe(e){let t=Uo(e),n={current:!1},r=as(()=>{i.get(),n.current?t.next?.(i._snapshot):n.current=!0});return{unsubscribe:()=>{r.stop()}}},_update(e){let a=$o,o=t?.compare??Object.is;if(n)$o=i,++Go,i.depsTail=void 0;else if(e===void 0)return!1;
12n&&(i.flags=z.Mutable|z.RecursedCheck);try{let t=i._snapshot,a=typeof e==`function`?e(t):e===void 0&&n?r(t):e;return t===void 0||!o(t,a)?(i._snapshot=a,!0):!1}finally{$o=a,n&&(i.flags&=~z.RecursedCheck),ns(i)}}};return n?(i.flags=z.Mutable|z.Dirty,i.get=function(){let e=i.flags;if(e&z.Dirty||e&z.Pending&&Yo(i.deps,i)){if(i._update()){let e=i.subs;e!==void 0&&Xo(e)}}else e&z.Pending&&(i.flags=e&~z.Pending);return $o!==void 0&&Ko(i,$o,Go),i._snapshot}):i.set=function(e){if(i._update(e)){let e=i.subs;e!==void 0&&(Jo(e),Xo(e),rs())}},i}function as(e){let t=()=>{let t=$o;$o=n,++Go,n.depsTail=void 0,n.flags=z.Watching|z.RecursedCheck;try{return e()}finally{$o=t,n.flags&=~z.RecursedCheck,ns(n)}},n={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:z.Watching|z.RecursedCheck,notify(){let e=this.flags;e&z.Dirty||e&z.Pending&&Yo(this.deps,this)?t():this.flags=z.Watching},stop(){this.flags=z.None,this.depsTail=void 0,ns(this)}};return t(),n}var os={get:()=>void 0,subscribe:()=>({unsubscribe:()=>{}})};function ss(e){let t=he(),n=L.useContext(e.from?Vo:Bo),r=e.from??n,i=r?e.from?t.stores.getRouteMatchStore(r):t.stores.matchStores.get(r):void 0,a=L.useRef(void 0);return w(i??os,n=>{if((e.shouldThrow??!0)&&!n&&g(),n===void 0)return;let r=e.select?e.select(n):n;if(e.structuralSharing??t.options.defaultStructuralSharing){let e=u(a.current,r);return a.current=e,e}return r})}function cs(e){return ss({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function ls(e){let{select:t,...n}=e;return ss({...n,select:e=>t?t(e.loaderDeps):e.loaderDeps})}function us(e){return ss({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{let n=e.strict===!1?t.params:t._strictParams;return e.select?e.select(n):n}})}function ds(e){return ss({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function fs(e){let t=he();return L.useCallback(n=>t.navigate({...n,from:n.from??e?.from}),[e?.from,t])}function ps(e){return ss({...e,select:t=>e.select?e.select(t.context):t.context})}var ms=class extends ln{constructor(e){super(e),this.useMatch=e=>ss({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>ps({...e,from:this.id}),this.useSearch=e=>ds({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>us({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>ls({...e,from:this.id}),this.useLoaderData=e=>cs({...e,from:this.id}),this.useNavigate=()=>fs({from:this.fullPath}),this.Link=L.forwardRef((e,t)=>(0,R.jsx)(D,{ref:t,from:this.fullPath,...e}))}};function hs(e){return new ms(e)}function gs(){return e=>vs(e)}var _s=class extends un{constructor(e){super(e),this.useMatch=e=>ss({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>ps({...e,from:this.id}),this.useSearch=e=>ds({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>us({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>ls({...e,from:this.id}),this.useLoaderData=e=>cs({...e,from:this.id}),this.useNavigate=()=>fs({from:this.fullPath}),this.Link=L.forwardRef((e,t)=>(0,R.jsx)(D,{ref:t,from:this.fullPath,...e}))}};function vs(e){return new _s(e)}function ys(e){return new bs(e,{silent:!0}).createRoute}var bs=class{constructor(e,t){this.path=e,this.createRoute=e=>{let t=hs(e);return t.isRoot=!1,t},this.silent=t?.silent}};function B(e,t){let n,r,i,a,o=()=>(n||=e().then(e=>{n=void 0,r=e[t??`default`]}).catch(e=>{if(i=e,d(i)&&i instanceof Error&&typeof window<`u`&&typeof sessionStorage<`u`){let e=`tanstack_router_reload:${i.message}`;sessionStorage.getItem(e)||(sessionStorage.setItem(e,`1`),a=!0)}}),n),s=function(e){if(a)throw window.location.reload(),new Promise(()=>{});if(i)throw i;if(!r)if(y)y(o());else throw o();return L.createElement(r,e)};return s.preload=o,s}function xs(e){let t=he(),n=`not-found-${w(t.stores.location,e=>e.pathname)}-${w(t.stores.status,e=>e)}`;return(0,R.jsx)(Lo,{getResetKey:()=>n,onCatch:(t,n)=>{if(Re(t))e.onCatch?.(t,n);else throw t},errorComponent:({error:t})=>{if(Re(t))return e.fallback?.(t);throw t},children:e.children})}function Ss(){return(0,R.jsx)(`p`,{children:`Not Found`})}function Cs(e){return(0,R.jsx)(R.Fragment,{children:e.children})}function ws(e,t,n){return t.options.notFoundComponent?(0,R.jsx)(t.options.notFoundComponent,{...n}):e.options.defaultNotFoundComponent?(0,R.jsx)(e.options.defaultNotFoundComponent,{...n}):(0,R.jsx)(Ss,{})}
12var Ts=L.memo(function({matchId:e}){let t=he(),n=t.stores.matchStores.get(e);n||g();let r=w(t.stores.loadedAt,e=>e),i=w(n,e=>e);return(0,R.jsx)(Es,{router:t,matchId:e,resetKey:r,matchState:L.useMemo(()=>{let e=i.routeId,n=t.routesById[e].parentRoute?.id;return{routeId:e,ssr:i.ssr,_displayPending:i._displayPending,parentRouteId:n}},[i._displayPending,i.routeId,i.ssr,t.routesById])})});function Es({router:e,matchId:t,resetKey:n,matchState:r}){let i=e.routesById[r.routeId],a=i.options.pendingComponent??e.options.defaultPendingComponent,o=a?(0,R.jsx)(a,{}):null,s=i.options.errorComponent??e.options.defaultErrorComponent,c=i.options.onCatch??e.options.defaultOnCatch,l=i.isRoot?i.options.notFoundComponent??e.options.notFoundRoute?.options.component:i.options.notFoundComponent,u=r.ssr===!1||r.ssr===`data-only`,d=(!i.isRoot||i.options.wrapInSuspense||u)&&(i.options.wrapInSuspense??a??(i.options.errorComponent?.preload||u))?L.Suspense:Cs,f=s?Lo:Cs,p=l?xs:Cs;return(0,R.jsxs)(i.isRoot?i.options.shellComponent??Cs:Cs,{children:[(0,R.jsx)(Bo.Provider,{value:t,children:(0,R.jsx)(d,{fallback:o,children:(0,R.jsx)(f,{getResetKey:()=>n,errorComponent:s||zo,onCatch:(e,t)=>{if(Re(e))throw e.routeId??=r.routeId,e;c?.(e,t)},children:(0,R.jsx)(p,{fallback:e=>{if(e.routeId??=r.routeId,!l||e.routeId&&e.routeId!==r.routeId||!e.routeId&&!i.isRoot)throw e;return L.createElement(l,e)},children:u||r._displayPending?(0,R.jsx)(le,{fallback:o,children:(0,R.jsx)(Os,{matchId:t})}):(0,R.jsx)(Os,{matchId:t})})})})}),r.parentRouteId===`__root__`?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(Ds,{resetKey:n}),(e.options.scrollRestoration,null)]}):null]})}function Ds({resetKey:e}){let t=he(),n=L.useRef(void 0);return se(()=>{let e=t.latestLocation.href;(n.current===void 0||n.current!==e)&&(t.emit({type:`onRendered`,...Gt(t.stores.location.get(),t.stores.resolvedLocation.get())}),n.current=e)},[t.latestLocation.state.__TSR_key,e,t]),null}var Os=L.memo(function({matchId:e}){let t=he(),n=(e,n)=>t.getMatch(e.id)?._nonReactive[n]??e._nonReactive[n],r=t.stores.matchStores.get(e);r||g();let i=w(r,e=>e),a=i.routeId,o=t.routesById[a],s=L.useMemo(()=>{let e=(t.routesById[a].options.remountDeps??t.options.defaultRemountDeps)?.({routeId:a,loaderDeps:i.loaderDeps,params:i._strictParams,search:i._strictSearch});return e?JSON.stringify(e):void 0},[a,i.loaderDeps,i._strictParams,i._strictSearch,t.options.defaultRemountDeps,t.routesById]),c=L.useMemo(()=>{let e=o.options.component??t.options.defaultComponent;return e?(0,R.jsx)(e,{},s):(0,R.jsx)(ks,{})},[s,o.options.component,t.options.defaultComponent]);if(i._displayPending)throw n(i,`displayPendingPromise`);if(i._forcePending)throw n(i,`minPendingPromise`);if(i.status===`pending`){let e=o.options.pendingMinMs??t.options.defaultPendingMinMs;if(e){let n=t.getMatch(i.id);if(n&&!n._nonReactive.minPendingPromise){let t=_();n._nonReactive.minPendingPromise=t,setTimeout(()=>{t.resolve(),n._nonReactive.minPendingPromise=void 0},e)}}throw n(i,`loadPromise`)}if(i.status===`notFound`)return Re(i.error)||g(),ws(t,o,i.error);if(i.status===`redirected`)throw it(i.error)||g(),n(i,`loadPromise`);if(i.status===`error`)throw i.error;return c}),ks=L.memo(function(){let e=he(),t=L.useContext(Bo),n,r=!1,i;{let a=t?e.stores.matchStores.get(t):void 0;[n,r]=w(a,e=>[e?.routeId,e?.globalNotFound??!1]),i=w(e.stores.matchesId,e=>e[e.findIndex(e=>e===t)+1])}let a=n?e.routesById[n]:void 0,o=e.options.defaultPendingComponent?(0,R.jsx)(e.options.defaultPendingComponent,{}):null;if(r)return a||g(),ws(e,a,void 0);if(!i)return null;let s=(0,R.jsx)(Ts,{matchId:i});return n===`__root__`?(0,R.jsx)(L.Suspense,{fallback:o,children:s}):s});function As(){let e=he(),t=L.useRef({router:e,mounted:!1}),[n,r]=L.useState(!1),i=w(e.stores.isLoading,e=>e),a=w(e.stores.hasPending,e=>e),o=E(i),s=i||n||a,c=E(s),l=i||a,u=E(l);return e.startTransition=e=>{r(!0),L.startTransition(()=>{e(),r(!1)})},L.useEffect(()=>{let t=e.history.subscribe(e.load),n=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return te(e.latestLocation.publicHref)!==te(n.publicHref)&&e.commitLocation({...n,replace:!0}),()=>{t()}},[e,e.history]),se(()=>{typeof window<`u`&&e.ssr||t.current.router===e&&t.current.mounted||(t.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(e){console.error(e)}})())},[e]),se(()=>{o&&!i&&e.emit({type:`onLoad`,...Gt(e.stores.location.get(),e.stores.resolvedLocation.get())})},[o,e,i]),se(()=>{u&&!l&&e.emit({type:`onBeforeRouteMount`,...Gt(e.stores.location.get(),e.stores.resolvedLocation.get())})},[l,u,e]),se(()=>{if(c&&!s){let t=Gt(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:`onResolved`,...t}),ts(()=>{e.stores.status.set(`idle`),e.stores.resolvedLocation.set(e.stores.location.get())}),t.hrefChanged&&dn(e)}},[s,c,e]),null}function js(){let e=he(),t=e.routesById.__root__.options.pendingComponent??e.options.defaultPendingComponent,n=t?(0,R.jsx)(t,{}):null,r=(0,R.jsxs)(typeof document<`u`&&e.ssr?Cs:L.Suspense,{fallback:n,children:[(0,R.jsx)(As,{}),(0,R.jsx)(Ms,{})]});return e.options.InnerWrap?(0,R.jsx)(e.options.InnerWrap,{children:r}):r}function Ms(){let e=he(),t=w(e.stores.firstId,e=>e),n=w(e.stores.loadedAt,e=>e),r=t?(0,R.jsx)(Ts,{matchId:t}):null;return(0,R.jsx)(Bo.Provider,{value:t,children:e.options.disableGlobalCatchBoundary?r:(0,R.jsx)(Lo,{getResetKey:()=>n,errorComponent:zo,onCatch:void 0,children:r})})}var Ns=e=>({createMutableStore:is,createReadonlyStore:is,batch:ts}),Ps=e=>
12new Fs(e),Fs=class extends Kt{constructor(e){super(e,Ns)}};function Is({router:e,children:t,...n}){Object.keys(n).length>0&&e.update({...e.options,...n,context:{...e.options.context,...n.context}});let r=(0,R.jsx)(O.Provider,{value:e,children:t});return e.options.Wrap?(0,R.jsx)(e.options.Wrap,{children:r}):r}function Ls({router:e,...t}){return(0,R.jsx)(Is,{router:e,...t,children:(0,R.jsx)(js,{})})}function Rs(e){let{attrs:t,children:n,nonce:r}=e;switch(e.tag){case`title`:return(0,R.jsx)(`title`,{...t,suppressHydrationWarning:!0,children:n});case`meta`:return(0,R.jsx)(`meta`,{...t,suppressHydrationWarning:!0});case`link`:return(0,R.jsx)(`link`,{...t,precedence:t?.precedence??(t?.rel===`stylesheet`?`default`:void 0),nonce:r,suppressHydrationWarning:!0});case`style`:return e.inlineCss,(0,R.jsx)(`style`,{...t,dangerouslySetInnerHTML:{__html:n},nonce:r});case`script`:return(0,R.jsx)(zs,{attrs:t,children:n});default:return null}}function zs({attrs:e,children:t}){he();let n=ne(),r=typeof e?.type==`string`&&e.type!==``&&e.type!==`text/javascript`&&e.type!==`module`;if(L.useEffect(()=>{if(!r){if(e?.src){let t=(()=>{try{let t=document.baseURI||window.location.href;return new URL(e.src,t).href}catch{return e.src}})();if(Array.from(document.querySelectorAll(`script[src]`)).find(e=>e.src===t))return;let n=document.createElement(`script`);
12for(let[t,r]of Object.entries(e))t!==`suppressHydrationWarning`&&r!==void 0&&r!==!1&&n.setAttribute(t,typeof r==`boolean`?``:String(r));return document.head.appendChild(n),()=>{n.parentNode&&n.parentNode.removeChild(n)}}if(typeof t==`string`){let n=typeof e?.type==`string`?e.type:`text/javascript`,r=typeof e?.nonce==`string`?e.nonce:void 0;if(Array.from(document.querySelectorAll(`script:not([src])`)).find(e=>{if(!(e instanceof HTMLScriptElement))return!1;let i=e.getAttribute(`type`)??`text/javascript`,a=e.getAttribute(`nonce`)??void 0;return e.textContent===t&&i===n&&a===r}))return;let i=document.createElement(`script`);if(i.textContent=t,e)for(let[t,n]of Object.entries(e))t!==`suppressHydrationWarning`&&n!==void 0&&n!==!1&&i.setAttribute(t,typeof n==`boolean`?``:String(n));return document.head.appendChild(i),()=>{i.parentNode&&i.parentNode.removeChild(i)}}}},[e,t,r]),r&&typeof t==`string`)return(0,R.jsx)(`script`,{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:t}});if(!n){if(e?.src)return(0,R.jsx)(`script`,{...e,suppressHydrationWarning:!0});if(typeof t==`string`)return(0,R.jsx)(`script`,{...e,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0})}return null}var Bs=e=>{let t=he(),n=t.options.ssr?.nonce,r=w(t.stores.matches,e=>e.map(e=>e.meta).filter(Boolean),o),i=L.useMemo(()=>{let e=[],t={},i;for(let a=r.length-1;a>=0;a--){let o=r[a];for(let r=o.length-1;r>=0;r--){let a=o[r];if(a)if(a.title)i||={tag:`title`,children:a.title};else if(`script:ld+json`in a)try{let t=JSON.stringify(a[`script:ld+json`]);e.push({tag:`script`,attrs:{type:`application/ld+json`},children:ie(t)})}catch{}else{let r=a.name??a.property;if(r){if(t[r])continue;t[r]=!0}e.push({tag:`meta`,attrs:{...a,nonce:n}})}}}return i&&e.push(i),n&&e.push({tag:`meta`,attrs:{property:`csp-nonce`,content:n}}),e.reverse(),e},[r,n]),a=w(t.stores.matches,r=>{let i=r.map(e=>e.links).filter(Boolean).flat(1).map(e=>({tag:`link`,attrs:{...e,nonce:n}})),a=t.ssr?.manifest,o=r.map(e=>a?.routes[e.routeId]?.assets??[]).filter(Boolean).flat(1).flatMap(t=>t.tag===`link`?cn(a,t)?[]:[{tag:`link`,attrs:{...t.attrs,crossOrigin:an(e,`stylesheet`)??t.attrs?.crossOrigin,suppressHydrationWarning:!0,nonce:n}}]:t.tag===`style`?[{tag:`style`,attrs:{...t.attrs,nonce:n},children:t.children,...t.inlineCss?{inlineCss:!0}:{}}]:[]);return[...i,...o]},o),s=w(t.stores.matches,r=>{let i=[];return r.map(e=>t.looseRoutesById[e.routeId]).forEach(r=>t.ssr?.manifest?.routes[r.id]?.preloads?.filter(Boolean).forEach(t=>{let r=on(t);i.push({tag:`link`,attrs:{rel:`modulepreload`,href:r.href,crossOrigin:an(e,`modulepreload`)??r.crossOrigin,nonce:n}})})),i},o),c=w(t.stores.matches,e=>e.map(e=>e.styles).flat(1).filter(Boolean).map(({children:e,...t})=>({tag:`style`,attrs:{...t,nonce:n},children:e})),o),l=w(t.stores.matches,e=>e.map(e=>e.headScripts).flat(1).filter(Boolean).map(({children:e,...t})=>({tag:`script`,attrs:{...t,nonce:n},children:e})),o);return Vs([...i,...s,...a,...c,...l],e=>JSON.stringify(e))};function Vs(e,t){let n=new Set;return e.filter(e=>{let r=t(e);return n.has(r)?!1:(n.add(r),!0)})}function Hs(e){let t=Bs(e.assetCrossOrigin),n=he().options.ssr?.nonce;return(0,R.jsx)(R.Fragment,{children:t.map(e=>(0,L.createElement)(Rs,{...e,key:`tsr-meta-${JSON.stringify(e)}`,nonce:n}))})}var Us=()=>{let e=he(),t=e.options.ssr?.nonce,n=n=>{let r=[],i=e.ssr?.manifest;return i?(n.map(t=>e.looseRoutesById[t.routeId]).forEach(e=>i.routes[e.id]?.assets?.filter(e=>e.tag===`script`).forEach(e=>{r.push({tag:`script`,attrs:{...e.attrs,nonce:t},children:e.children})})),r):[]},r=e=>e.map(e=>e.scripts).flat(1).filter(Boolean).map(({children:e,...n})=>({tag:`script`,attrs:{...n,suppressHydrationWarning:!0,nonce:t},children:e})),i=w(e.stores.matches,n,o);return Ws(e,w(e.stores.matches,r,o),i)};function Ws(e,t,n){let r;e.serverSsr&&(r=e.serverSsr.takeBufferedScripts());let i=[...t,...n];return r&&i.unshift(r),(0,R.jsx)(R.Fragment,{children:i.map((e,t)=>(0,L.createElement)(Rs,{...e,key:`tsr-scripts-${e.tag}-${t}`}))})}var Gs=(e,t)=>{let n={type:`request`,...t||e};return{options:n,middleware:e=>Gs({},Object.assign(n,{middleware:e})),inputValidator:e=>Gs({},Object.assign(n,{inputValidator:e})),client:e=>Gs({},Object.assign(n,{client:e})),server:e=>Gs({},Object.assign(n,{server:e}))}};function Ks(e,t){for(let n=0,r=t.length;n<r;n++){let r=t[n];e.has(r)||(e.add(r),r.extends&&Ks(e,r.extends))}}var qs=e=>({getOptions:async()=>{let t=await e();if(t.serializationAdapters){let e=new Set;Ks(e,t.serializationAdapters),t.serializationAdapters=Array.from(e)}return t},createMiddleware:Gs}),Js=Gs(),Ys=qs(()=>({functionMiddleware:[],requestMiddleware:[Js]})),Xs=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Zs=new class extends Xs{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();
12this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},Qs={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},$s=new class{#e=Qs;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function ec(e){setTimeout(e,0)}var tc=typeof window>`u`||`Deno`in globalThis;function nc(){}function rc(e,t){return typeof e==`function`?e(t):e}function ic(e){return typeof e==`number`&&e>=0&&e!==1/0}function ac(e,t){return Math.max(e+(t||0)-Date.now(),0)}function oc(e,t){return typeof e==`function`?e(t):e}function sc(e,t){return typeof e==`function`?e(t):e}function cc(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==uc(o,t.options))return!1}else if(!fc(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function lc(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(dc(t.options.mutationKey)!==dc(a))return!1}else if(!fc(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function uc(e,t){return(t?.queryKeyHashFn||dc)(e)}function dc(e){return JSON.stringify(e,(e,t)=>gc(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function fc(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?Object.keys(t).every(n=>fc(e[n],t[n])):!1}var pc=Object.prototype.hasOwnProperty;function mc(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=hc(e)&&hc(t);if(!r&&!(gc(e)&&gc(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:pc.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=mc(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function hc(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function gc(e){if(!_c(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!_c(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function _c(e){return Object.prototype.toString.call(e)===`[object Object]`}function vc(e){return new Promise(t=>{$s.setTimeout(t,e)})}function yc(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:mc(e,t)}function bc(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function xc(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Sc=Symbol();function Cc(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Sc?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function wc(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var Tc=(()=>{let e=()=>tc;return{isServer(){return e()},setIsServer(t){e=t}}})();function Ec(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var Dc=ec;function Oc(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=Dc,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var kc=Oc(),Ac=new class extends Xs{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}
12setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function jc(e){return Math.min(1e3*2**e,3e4)}function Mc(e){return(e??`online`)===`online`?Ac.isOnline():!0}var Nc=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function Pc(e){let t=!1,n=0,r,i=Ec(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new Nc(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>Zs.isFocused()&&(e.networkMode===`always`||Ac.isOnline())&&e.canRun(),u=()=>Mc(e.networkMode)&&e.canRun(),d=e=>{a()||(r?.(),i.resolve(e))},f=e=>{a()||(r?.(),i.reject(e))},p=()=>new Promise(t=>{r=e=>{(a()||l())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),m=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(d).catch(r=>{if(a())return;let i=e.retry??(Tc.isServer()?0:3),o=e.retryDelay??jc,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){f(r);return}n++,e.onFail?.(n,r),vc(s).then(()=>l()?void 0:p()).then(()=>{t?f(r):m()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r?.(),i),cancelRetry:s,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}var Fc=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ic(this.gcTime)&&(this.#e=$s.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Tc.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&($s.clearTimeout(this.#e),this.#e=void 0)}},Ic=class extends Fc{#e;#t;#n;#r;#i;#a;#o;constructor(e){super(),this.#o=!1,this.#a=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.client,this.#n=this.#r.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=zc(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#i?.promise}setOptions(e){if(this.options={...this.#a,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=zc(this.options);e.data!==void 0&&(this.setState(Rc(e.data,e.dataUpdatedAt)),this.#e=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#n.remove(this)}setData(e,t){let n=yc(this.state.data,e,this.options);return this.#c({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#c({type:`setState`,state:e,setStateOptions:t})}cancel(e){let t=this.#i?.promise;return this.#i?.cancel(e),t?t.then(nc).catch(nc):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>sc(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Sc||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>oc(e.options.staleTime,this)===`static`):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!ac(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#i&&(this.#o||this.#s()?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#n.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}#s(){return this.state.fetchStatus===`paused`&&this.state.status===`pen
12ding`}invalidate(){this.state.isInvalidated||this.#c({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#i?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#o=!0,n.signal)})},i=()=>{let e=Cc(this.options,t),n=(()=>{let e={client:this.#r,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#o=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:i};return r(e),e})();this.options.behavior?.onFetch(a,this),this.#t=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#c({type:`fetch`,meta:a.fetchOptions?.meta}),this.#i=Pc({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof Nc&&e.revert&&this.setState({...this.#t,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#c({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#c({type:`pause`})},onContinue:()=>{this.#c({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#i.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#n.config.onSuccess?.(e,this),this.#n.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof Nc){if(e.silent)return this.#i.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#c({type:`error`,error:e}),this.#n.config.onError?.(e,this),this.#n.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#c(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...Lc(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...Rc(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),kc.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#n.notify({query:this,type:`updated`,action:e})})}};function Lc(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Mc(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function Rc(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function zc(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}function Bc(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{wc(e,()=>t.signal,()=>n=!0)},u=Cc(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject();if(r==null&&e.pages.length)return Promise.resolve(e);let a=await u((()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})()),{maxPages:o}=t.options,s=i?xc:bc;return{pages:s(e.pages,a,o),pageParams:s(e.pageParams,r,o)}};if(i&&a.length){let e=i===`backward`,t=e?V:Vc,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:Vc(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function Vc(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function V(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var Hc=class extends Fc{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||Uc(),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.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}
12optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=Pc({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:i})}let a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#i({type:`success`,data:a}),a}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#n.runNext(this)}}#i(e){let t=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};case`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(this.state),kc.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function Uc(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var Wc=class extends Xs{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new Hc({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=Gc(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=Gc(e);if(typeof t==`string`){let n=this.#t.get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=Gc(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=Gc(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>
12t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){kc.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>lc(t,e))}findAll(e={}){return this.getAll().filter(t=>lc(e,t))}notify(e){kc.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return kc.batch(()=>Promise.all(e.map(e=>e.continue().catch(nc))))}};function Gc(e){return e.options.scope?.id}var Kc=class extends Xs{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??uc(r,t),a=this.get(i);return a||(a=new Ic({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){kc.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>cc(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>cc(e,t)):t}notify(e){kc.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){kc.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){kc.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},qc=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new Kc,this.#t=e.mutationCache||new Wc,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=Zs.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=Ac.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(oc(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=rc(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return kc.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;kc.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return kc.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=kc.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(nc).catch(nc)}invalidateQueries(e,t={}){return kc.batch(()=>(this.#e.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 n={...t,cancelRefetch:t.cancelRefetch??!0},r=kc.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(nc)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(nc)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(oc(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(nc).catch(nc)}fetchInfiniteQuery(e){return e.behavior=Bc(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(nc).catch(nc)}ensureInfiniteQueryData(e){return e.behavior=Bc(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ac.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(dc(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{fc(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(dc(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{fc(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=uc(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===Sc&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},Jc=L.createContext(void 0),Yc=({client:e,children:t})=>(L.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,R.jsx)(Jc.Provider,{value:e,children:t})),Xc=`/assets/styles-C5dT3giH.css`,Zc={version:1,asset_id:`90b9ab5a-ac7f-45b2-8253-9da36b52598e`,project_id:`f3a68454-3c51-4d3d-a73c-6dbfab13851f`,url:`/__l5e/assets-v1/90b9ab5a-ac7f-45b2-8253-9da36b52598e/background-art.png`,r2_key:`a/v1/f3a68454-3c51-4d3d-a73c-6dbfab13851f/90b9ab5a-ac7f-45b2-8253-9da36b52598e/background-art.png`,original_filename:`background-art.png`,size:316610,content_type:`image/jpeg`,created_at:`2026-06-19T14:36:00Z`};function Qc(e,t={}){typeof window>`u`||window.__lovableEvents?.captureException?.(e,{source:`react_error_boundary`,route:window.location.pathname,...t},{mechanism:`react_error_boundary`,handled:!1,severity:`error`})}var $c={version:1,asset_id:`b89891ef-e938-4b8f-8704-cf187e223603`,project_id:`f3a68454-3c51-4d3d-a73c-6dbfab13851f`,url:`/__l5e/assets-v1/b89891ef-e938-4b8f-8704-cf187e223603/instinct-ras-logo.png`,r2_key:`a/v1/f3a68454-3c51-4d3d-a73c-6dbfab13851f/b89891ef-e938-4b8f-8704-cf187e223603/instinct-ras-logo.png`,original_filename:`instinct-ras-logo.png`,size:71480,content_type:`image/png`,created_at:`2026-06-18T09:56:26Z`},el=`ira-lang`,tl=(0,L.createContext)({lang:`ja`,setLang:()=>{},t:e=>typeof e==`string`?e:e.ja});function nl({children:e}
12){let[t,n]=(0,L.useState)(`ja`);(0,L.useEffect)(()=>{try{let e=localStorage.getItem(el);if(e===`ja`||e===`en`||e===`zh`){n(e);return}let t=typeof navigator<`u`?navigator.language.toLowerCase():``;t.startsWith(`zh`)?n(`zh`):t.startsWith(`ja`)||n(`en`)}catch{}},[]);let r=e=>{n(e);try{localStorage.setItem(el,e),document.documentElement.lang=e===`ja`?`ja`:e===`zh`?`zh`:`en`}catch{}},i=(0,L.useMemo)(()=>({lang:t,setLang:r,t:e=>typeof e==`string`?e:t===`en`?e.en??e.ja:t===`zh`?e.zh??e.en??e.ja:e.ja}),[t]);return(0,R.jsx)(tl.Provider,{value:i,children:e})}var rl=()=>(0,L.useContext)(tl),il=[{to:`/scouter`,label:`SCOUTER`},{to:`/about`,label:`ABOUT à AI`},{to:`/art`,label:`ART à CULTURE`},{to:`/magazine`,label:`MAGAZINE`},{to:`/contact`,label:`CONTACT`}];function al(){let{lang:e,setLang:t}=rl(),n=fs(),[r,i]=(0,L.useState)(!1),[a,o]=(0,L.useState)(!1),[s,c]=(0,L.useState)(``),l=[{code:`ja`,label:`æ¥æ¬èª`,tab:`JA`},{code:`en`,label:`English`,tab:`EN`},{code:`zh`,label:`䏿`,tab:`CN`}];function u(e){e.preventDefault(),n({to:`/gallery`}),o(!1),i(!1),c(``)}return(0,R.jsxs)(`header`,{className:`sticky top-0 z-50 border-b border-border bg-background/80 backdrop-blur-xl`,children:[(0,R.jsxs)(`div`,{className:`mx-auto flex max-w-7xl items-center justify-between px-6 py-5 md:px-10`,children:[(0,R.jsxs)(D,{to:`/`,className:`flex items-center gap-3`,children:[(0,R.jsx)(`img`,{src:$c.url,alt:`INSTINCT RAS`,className:`h-9 w-9 object-contain`}),(0,R.jsxs)(`span`,{className:`font-serif text-base font-semibold tracking-[0.14em] text-foreground sm:text-lg`,children:[`INSTINCT `,(0,R.jsx)(`span`,{className:`text-brass`,children:`RAS`})]})]}),(0,R.jsx)(`nav`,{className:`hidden items-center gap-8 lg:flex`,children:il.map(e=>(0,R.jsx)(D,{to:e.to,className:`text-xs tracking-[0.3em] text-muted-foreground transition hover:text-foreground`,activeProps:{className:`text-foreground`},children:e.label},e.to))}),(0,R.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,R.jsx)(`button`,{onClick:()=>o(e=>!e),"aria-label":`æ¤ç´¢`,className:`hidden h-9 w-9 items-center justify-center border border-border text-muted-foreground transition hover:border-brass hover:text-brass sm:flex`,children:(0,R.jsxs)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.6`,children:[(0,R.jsx)(`circle`,{cx:`11`,cy:`11`,r:`7`}),(0,R.jsx)(`path`,{d:`M20 20l-3.5-3.5`})]})}),(0,R.jsx)(`div`,{className:`hidden items-center gap-1 border border-border px-2 py-1 font-mono-num text-[10px] tracking-[0.2em] sm:flex`,children:l.map(n=>(0,R.jsx)(`button`,{onClick:()=>t(n.code),className:`px-1.5 py-0.5 transition ${e===n.code?`text-brass`:`text-muted-foreground hover:text-foreground`}`,"aria-label":`Switch to ${n.label}`,children:n.tab},n.code))}),(0,R.jsx)(`button`,{onClick:()=>i(e=>!e),className:`lg:hidden text-xs tracking-[0.3em] text-foreground`,"aria-label":`Toggle menu`,children:r?`Ã`:`MENU`})]})]}),a&&(0,R.jsx)(`div`,{className:`border-t border-border bg-background/95`,children:(0,R.jsxs)(`form`,{onSubmit:u,className:`mx-auto flex max-w-7xl items-center gap-4 px-6 py-4 md:px-10`,children:[(0,R.jsx)(`span`,{className:`font-mono-num text-[10px] tracking-[0.3em] text-brass`,children:`SEARCH ·`}),(0,R.jsx)(`input`,{autoFocus:!0,value:s,onChange:e=>c(e.target.value),placeholder:`ä½ååã»ä½å®¶åã»å¦æ ¡åã»ææ³ã§æ¤ç´¢ / Search artworks, artists, schoolsâ¦`,className:`flex-1 border-b border-border bg-transparent py-2 font-serif text-lg text-foreground placeholder:text-muted-foreground/60 focus:border-brass focus:outline-none`}),(0,R.jsx)(`button`,{type:`submit`,className:`border border-ember px-5 py-2 text-[10px] tracking-[0.3em] text-ember transition hover:bg-ember hover:text-primary-foreground`,children:`GO â`}),(0,R.jsx)(`button`,{type:`button`,onClick:()=>o(!1),className:`text-xs tracking-[0.3em] text-muted-foreground transition hover:text-foreground`,children:`Ã`})]})}),r&&(0,R.jsx)(`div`,{className:`border-t border-border lg:hidden`,children:(0,R.jsxs)(`nav`,{className:`mx-auto flex max-w-7xl flex-col gap-1 px-6 py-4`,children:[(0,R.jsxs)(`form`,{onSubmit:u,className:`mb-3 flex items-center gap-2 border border-border px-3 py-2`,children:[(0,R.jsxs)(`svg`,{width:`13`,height:`13`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.6`,className:`text-brass`,children:[(0,R.jsx)(`circle`,{cx:`11`,cy:`11`,r:`7`}),(0,R.jsx)(`path`,{d:`M20 20l-3.5-3.5`})]}),(0,R.jsx)(`input`,{value:s,onChange:e=>c(e.target.value),placeholder:`æ¤ç´¢ / Search`,className:`flex-1 bg-transparent text-sm focus:outline-none`})]}),il.map(e=>(0,R.jsx)(D,{to:e.to,onClick:()=>i(!1),className:`block py-3 text-xs tracking-[0.3em] text-muted-foreground`,activeProps:{className:`text-brass`}
12,children:e.label},e.to)),(0,R.jsx)(`div`,{className:`mt-2 flex gap-2 border-t border-border pt-4`,children:l.map(n=>(0,R.jsx)(`button`,{onClick:()=>t(n.code),className:`border border-border px-3 py-1 font-mono-num text-[10px] tracking-[0.2em] ${e===n.code?`border-brass text-brass`:`text-muted-foreground`}`,children:n.tab},n.code))})]})})]})}function ol(){let{t:e}=rl(),t=[{label:e({ja:`About à AI / 伿¥ã»ãµã¼ãã¹`,en:`About à AI`,zh:`å
³äº à AI`}),to:`/about`},{label:e({ja:`Art à Culture / ã¢ã¼ãã»æå`,en:`Art à Culture`,zh:`èºæ¯ à æå`}),to:`/art`},{label:e({ja:`Gallery / ã®ã£ã©ãªã¼`,en:`Gallery`,zh:`ç»å»`}),to:`/gallery`},{label:e({ja:`Artists / ä½å®¶`,en:`Artists`,zh:`èºæ¯å®¶`}),to:`/artists`},{label:e({ja:`Voice / 声`,en:`Voice`,zh:`声`}),to:`/notes`},{label:e({ja:`Magazine / èªã¿ç©`,en:`Magazine`,zh:`æå¿`}),to:`/magazine`},{label:e({ja:`Fragrance / é¦ã`,en:`Fragrance`,zh:`馿°`}),to:`/fragrance`},{label:e({ja:`Contact / ãåãåãã`,en:`Contact`,zh:`èç³»æä»¬`}),to:`/contact`}],n=[{label:e({ja:`STUDIO / HOME`,en:`STUDIO / HOME`,zh:`STUDIO / é¦é¡µ`}),to:`/`},{label:e({ja:`About INSTINCT RAS`,en:`About INSTINCT RAS`,zh:`å
³äº INSTINCT RAS`}),to:`/about`},{label:e({ja:`äºæ¥å
容 / Services`,en:`Services`,zh:`ä¸å¡å
容`}),to:`/about`},{label:e({ja:`æ¡ç¨ã»åæ¥`,en:`Careers & Partners`,zh:`æèä¸åä½`}),to:`/contact`}],r=[{label:`INSTINCT BIOT HOLDINGS`,href:`https://instinct-biot.com`,external:!0},{label:`INSTINCT BROTHERS`,href:`https://instinct-bro.com`,external:!0},{label:`ARTISANS PRODUCTION`,href:`https://apjapan.jp`,external:!0},{label:e({ja:`ã°ã«ã¼ã伿¥ä¸è¦§`,en:`Group Companies`,zh:`éå¢ä¼ä¸`}),href:`/group`,external:!1}];return(0,R.jsx)(`footer`,{className:`mt-32 border-t border-border bg-sumi`,children:(0,R.jsxs)(`div`,{className:`mx-auto max-w-7xl px-6 py-16 md:px-10`,children:[(0,R.jsxs)(`div`,{className:`grid gap-12 md:grid-cols-[2fr_1fr_1fr_1fr]`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,R.jsx)(`img`,{src:$c.url,alt:`INSTINCT RAS`,className:`h-10 w-10 object-contain`}),(0,R.jsxs)(`span`,{className:`font-serif text-lg font-semibold tracking-[0.14em]`,children:[`INSTINCT `,(0,R.jsx)(`span`,{className:`text-brass`,children:`RAS`})]})]}),(0,R.jsx)(`p`,{className:`mt-3 font-mono-num text-[10px] tracking-[0.3em] text-brass`,children:`MARKETING & AI / BIOT GROUP`}),(0,R.jsx)(`p`,{className:`mt-5 font-serif text-2xl italic leading-snug text-foreground/90`,children:e({ja:`ãµã¤ã¨ã³ã¹ããå¸å ´ã«ç¿»è¨³ããã`,en:`Translating science into the market.`,zh:`å°ç§å¦ï¼ç¿»è¯ä¸ºå¸åºã`})}),(0,R.jsx)(`p`,{className:`mt-4 max-w-md text-sm leading-relaxed text-muted-foreground`,children:e({ja:`RAS Art 㨠VOICE ã¯ãINSTINCT RAS ã®æåäºæ¥ã¨ãã¦éå¶ããã¦ãã¾ãã`,en:`RAS Art and VOICE are the cultural practices operated by INSTINCT RAS.`,zh:`RAS Art ä¸ VOICE ç± INSTINCT RAS ä½ä¸ºæåäºä¸è¿è¥ã`})})]}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`p`,{className:`text-[10px] tracking-[0.3em] text-brass`,children:`EXPLORE`}),(0,R.jsx)(`ul`,{className:`mt-4 space-y-2 text-sm text-muted-foreground`,children:t.map(e=>(0,R.jsx)(`li`,{children:(0,R.jsx)(D,{to:e.to,className:`transition hover:text-brass`,children:e.label})},e.label))})]}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`p`,{className:`text-[10px] tracking-[0.3em] text-brass`,children:`STUDIO`}),(0,R.jsx)(`ul`,{className:`mt-4 space-y-2 text-sm text-muted-foreground`,children:n.map(e=>(0,R.jsx)(`li`,{children:(0,R.jsx)(D,{to:e.to,className:`transition hover:text-brass`,children:e.label})},e.label))})]}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`p`,{className:`text-[10px] tracking-[0.3em] text-brass`,children:`BIOT GROUP`}),(0,R.jsx)(`ul`,{className:`mt-4 space-y-2 text-sm text-muted-foreground`,children:r.map(e=>(0,R.jsx)(`li`,{children:e.external?(0,R.jsxs)(`a`,{href:e.href,target:`_blank`,rel:`noopener noreferrer`,className:`transition hover:text-brass`,children:[e.label,` â`]}):(0,R.jsx)(D,{to:`/group`,className:`transition hover:text-brass`,children:e.label})},e.label))}),(0,R.jsx)(`p`,{className:`mt-6 text-[10px] tracking-[0.3em] text-brass`,children:`CONTACT`}),(0,R.jsx)(`p`,{className:`mt-3 text-sm text-muted-foreground`,children:`[email protected]`}),(0,R.jsx)(`p`,{className:`mt-4 text-[10px] tracking-[0.2em] text-muted-foreground
12/70`,children:e({ja:`OPERATED BY INSTINCT RAS Co., Ltd.`,en:`OPERATED BY INSTINCT RAS Co., Ltd.`,zh:`è¿è¥æ¹ï¼æ ªå¼ä¼ç¤¾ INSTINCT RAS`})})]})]}),(0,R.jsxs)(`div`,{className:`mt-16 flex flex-col items-start justify-between gap-3 border-t border-border pt-6 text-[10px] tracking-[0.25em] text-muted-foreground md:flex-row md:items-center`,children:[(0,R.jsxs)(`span`,{children:[`© `,new Date().getFullYear(),` INSTINCT RAS Co., Ltd. ALL RIGHTS RESERVED.`]}),(0,R.jsx)(`span`,{className:`font-mono-num`,children:`IRA · FIRE / BIOT GROUP`})]})]})})}function sl(){let{lang:e}=rl();return e===`ja`?null:(0,R.jsx)(`div`,{className:`border-b border-border bg-sumi/60`,children:(0,R.jsxs)(`p`,{className:`mx-auto max-w-7xl px-6 py-3 text-[11px] tracking-[0.18em] text-muted-foreground md:px-10`,children:[(0,R.jsx)(`span`,{className:`text-brass`,children:e===`en`?`EN ·`:`ZH ·`}),` `,e===`en`?`Full English translation for this page is being prepared. Content below appears in the original language.`:`æ¬é¡µé¢çä¸æç¿»è¯æ£å¨åå¤ä¸ï¼ä»¥ä¸å
容æä»¥åè¯è¨æ¾ç¤ºã`]})})}var cl=new Set([`/`,`/about`,`/fragrance`,`/magazine`,`/artists`,`/gallery`,`/contact`,`/competitions`,`/notes`,`/art`,`/scouter`,`/group`]);function ll(e){return!!(cl.has(e)||/^\/artists\/[^/]+$/.test(e)||/^\/artwork\/[^/]+$/.test(e)||/^\/magazine\/[^/]+$/.test(e)||/^\/curation\/[^/]+$/.test(e)||/^\/notes\/[^/]+$/.test(e)||/^\/writer\/[^/]+$/.test(e))}function ul(){let e=he().state.location.pathname;return ll(e)?null:(0,R.jsx)(sl,{})}function dl(){return(0,R.jsx)(fl,{})}function fl(){let{t:e}=rl();return(0,R.jsx)(`div`,{className:`flex min-h-screen items-center justify-center bg-background px-4`,children:(0,R.jsxs)(`div`,{className:`max-w-md text-center`,children:[(0,R.jsx)(`p`,{className:`font-mono-num text-[10px] tracking-[0.3em] text-brass`,children:`ERROR · 404`}),(0,R.jsx)(`h1`,{className:`mt-4 font-serif text-7xl text-foreground`,children:`404`}),(0,R.jsx)(`p`,{className:`mt-4 text-sm text-muted-foreground`,children:e({ja:`ãã¼ã¸ãè¦ã¤ããã¾ããã§ããã`,en:`Page not found.`,zh:`æªæ¾å°è¯¥é¡µé¢ã`})}
12),(0,R.jsx)(D,{to:`/`,className:`mt-8 inline-block text-xs tracking-[0.3em] text-brass hover:text-ember`,children:`â HOME`})]})})}function pl({error:e,reset:t}){console.error(e);let n=he(),{t:r}=rl();return(0,L.useEffect)(()=>{Qc(e,{boundary:`tanstack_root_error_component`})},[e]),(0,R.jsx)(`div`,{className:`flex min-h-screen items-center justify-center bg-background px-4`,children:(0,R.jsxs)(`div`,{className:`max-w-md text-center`,children:[(0,R.jsx)(`h1`,{className:`font-serif text-3xl`,children:r({ja:`ã¨ã©ã¼ãçºçãã¾ãã`,en:`Something went wrong`,zh:`åçäºé误`})}),(0,R.jsx)(`button`,{onClick:()=>{n.invalidate(),t()},className:`mt-6 border border-ember px-6 py-3 text-xs tracking-[0.3em] text-ember transition hover:bg-ember hover:text-primary-foreground`,children:`RETRY`})]})})}var H=gs()({head:()=>({meta:[{charSet:`utf-8`},{name:`viewport`,content:`width=device-width, initial-scale=1`},{title:`INSTINCT RAS â æè½ã«ãç«ãå
¥ããã`},{name:`description`,content:`INSTINCT RAS â an art platform showcasing and selling work by young artists from Japan's art universities and vocational schools. Igniting talent at the intersection of science and culture.`},{name:`author`,content:`INSTINCT RAS`},{property:`og:title`,content:`INSTINCT RAS â æè½ã«ãç«ãå
¥ããã`},{property:`og:description`,content:`INSTINCT RAS showcases and sells artwork from Japanese art school students globally.`},{property:`og:type`,content:`website`},{property:`og:site_name`,content:`INSTINCT RAS`},{name:`twitter:card`,content:`summary_large_image`},{name:`twitter:title`,content:`INSTINCT RAS â æè½ã«ãç«ãå
¥ããã`},{name:`twitter:description`,content:`INSTINCT RAS showcases and sells artwork from Japanese art school students globally.`},{name:`twitter:image`,content:`https://pub-bb2e103a32db4e198524a2e9ed8f35b4.r2.dev/4c163a96-ecdb-4c0a-b6d7-9a8d09a6a7c4/id-preview-7f15d1b1--f3a68454-3c51-4d3d-a73c-6dbfab13851f.lovable.app-1781847208553.png`}],links:[{rel:`stylesheet`,href:Xc},{rel:`preconnect`,href:`https://fonts.googleapis.com`},{rel:`preconnect`,href:`https://fonts.gstatic.com`,crossOrigin:`anonymous`},{rel:`stylesheet`,href:`https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&family=Noto+Sans+JP:wght@300;400;500;700&family=JetBrains+Mono:wght@400;500&display=swap`}]}),shellComponent:ml,component:hl,notFoundComponent:dl,errorComponent:pl});function ml({children:e}){return(0,R.jsxs)(`html`,{lang:`ja`,children:[(0,R.jsx)(`head`,{children:(0,R.jsx)(Hs,{})}),(0,R.jsxs)(`body`,{children:[e,(0,R.jsx)(Us,{})]})]})}function hl(){let{queryClient:e}=H.useRouteContext();return(0,R.jsx)(Yc,{client:e,children:(0,R.jsx)(nl,{children:(0,R.jsxs)(`div`,{className:`flex min-h-screen flex-col`,children:[(0,R.jsx)(`div`,{"aria-hidden":!0,className:`pointer-events-none fixed inset-0 z-0 bg-cover bg-center bg-no-repeat opacity-[0.15] blur-[2px] saturate-150`,style:{backgroundImage:`url(${Zc.url})`}}),(0,R.jsx)(`div`,{"aria-hidden":!0,className:`pointer-events-none fixed inset-0 z-0 bg-gradient-to-b from-background/55 via-background/25 to-background/60`}),(0,R.jsxs)(`div`,{className:`relative z-10 flex min-h-screen flex-col`,children:[(0,R.jsx)(al,{}),(0,R.jsx)(ul,{}),(0,R.jsx)(`main`,{className:`flex-1`,children:(0,R.jsx)(ks,{})}),(0,R.jsx)(ol,{})]})]})})})}var gl=ys(`/voice`)({beforeLoad:()=>{throw rt({to:`/notes`,replace:!0})}}),_l=ys(`/scouter`)({head:()=>({meta:[{title:`BIOT SCOUTER â ããªãã¨ããæè½ã®è¨è¨å³ããè§£æãã / INSTINCT RAS`},{name:`description`,content:`ä¼çµ±ç®å½å¦Ãç¬èªã¢ã«ã´ãªãºã ã§ãçå¹´ææ¥ã¨ååããâããªãã¨ããè¨è¨å³âãè§£æãANUéåä¹±æ°ã¨IBMéåã³ã³ãã¥ã¼ã¿å®æ©ãå®éç¨ããæè½è§£æãã¼ã«ã`},{property:`og:title`,content:`BIOT SCOUTER â ããªãã¨ããæè½ã®è¨è¨å³ããè§£æãã`},{property:`og:description`,content:`ä¼çµ±ç®å½å¦Ãç¬èªã¢ã«ã´ãªãºã ãANUéåä¹±æ°ï¼IBMéå宿©ã§ã仿¥ç£¨ãã¹ãããªãã®ä¸é¢ãç
§ããã`},{property:`og:url`,content:`https://instinct-ras.com/scouter`},{property:`og:type`,content:`website`},{name:`twitter:card`,content:`summary_large_image`}],links:[{rel:`canonical`,href:`https://instinct-ras.com/scouter`}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`WebPage`,name:`BIOT SCOUTER`,description:`ä¼çµ±ç®å½å¦Ãç¬èªã¢ã«ã´ãªãºã ã§ãçå¹´ææ¥ã¨ååããâããªãã¨ããè¨è¨å³âãè§£æããã¨ã³ã¿ã¼ãã¤ã³ã¡ã³ããã¼ã«ã`,url:`https://instinct-ras.com/scouter`,isPartOf:{"@type":`WebSite`,name:`INSTINCT RAS`,url:`https://instinct-ras.com`}})}]}),component:B(()=>k(()=>import(`./scouter-CVbtYMNc.js`),__vite__mapDeps([0,1])),`component`)}),vl=ys(`/marketing`)({beforeLoad:()=>{throw rt({to:`/about`})}}),yl=ys(`/group`)({head:()=>({meta:[{title:`ã°ã«ã¼ã伿¥ï½INSTINCT RAS`},{name:`description`,content:`INSTINCT RASãéå¶ããINSTINCT BROTHERSã
12®ç´¹ä»ã`},{property:`og:title`,content:`Group Company â INSTINCT RAS`},{property:`og:url`,content:`https://instinct-ras.com/group`}],links:[{rel:`canonical`,href:`https://instinct-ras.com/group`}]}),component:B(()=>k(()=>import(`./group-C6XXX8yX.js`),__vite__mapDeps([2,1,3,4,5,6,7,8,9,10])),`component`)}),bl=[{id:`kasugai-zankyo`,code:`IRA-001`,image:ge,title:`æ®é¿ããããã¯åç`,artistId:`kasugai-ren`,artist:`æ¥æ¥äº è®`,school:`æ¦èµéç¾è¡å¤§å¦`,category:`painting`,technique:`ã¢ã¯ãªã«ã»ãã£ã³ãã¹`,size:`910 à 727 mm (F30)`,widthMm:910,heightMm:727,year:2025,price:128e3,edition:`Unique`,certified:!0,colorTags:[`é»`,`æ±`],description:`é»ã®å°ããç«ã¡ä¸ããæ±ã¯ãæ¶ãããé³ã®è¼ªéã§ãããåçã¨ã¯ãããä¸åº¦çãããã¨ãçè´ã®ã²ã¨ã¤ã²ã¨ã¤ã«ãæ¶ããªãã£ãå¼å¸ã宿ãã`},{id:`takanashi-quantum`,code:`IRA-002`,image:ve,title:`Quantum Garden`,artistId:`takanashi-sayaka`,artist:`髿¢¨ ããã`,school:`夿©ç¾è¡å¤§å¦`,category:`digital`,technique:`ãã¸ã¿ã«ã»ã¸ã¯ã¬ã¼`,size:`594 à 841 mm (A1)`,widthMm:594,heightMm:841,year:2025,price:86e3,edition:`Edition 3 / 12`,certified:!0,colorTags:[`é`,`ç½`],description:`æ°å¼ãå²ãããåºãç²åã®ã²ã¨ã¤ã²ã¨ã¤ã¯ç¢ºçã§ãããåæã«ç¥ãã§ããããã³ã¼ããæãææ©çãªç§©åºããã®æºãããçã«ç¼ãä»ããã`},{id:`mori-shiroki`,code:`IRA-003`,image:_e,title:`ç½ãè¨æ¶`,artistId:`mori-ichigo`,artist:`森 ä¸è·`,school:`æ±äº¬èè¡å¤§å¦`,category:`ceramics`,technique:`é¶ã»éè¬`,size:`H 280 à W 240 à D 220 mm`,widthMm:240,heightMm:280,year:2024,price:24e4,edition:`Unique`,certified:!0,colorTags:[`ç½`],description:`貫å
¥ã®ç´°ãç·ã¯ãå¿ããã¯ãã®æéã®å°å³ãæãããªç½ç£ããéã®ãªãã§éãã«æ¯ããããæã¨åã¨ç«ãä¸è
ã®å
±èã«ããå¨ã`},{id:`hayashi-hidoko`,code:`IRA-004`,image:be,title:`ç«åºã®ãã`,artistId:`hayashi-mio`,artist:`æ ç¾ç·`,school:`京é½ç²¾è¯å¤§å¦`,category:`painting`,technique:`岩絵å
·ã»åç´`,size:`606 à 727 mm (F20)`,widthMm:606,heightMm:727,year:2025,price:64e3,edition:`Unique`,certified:!0,colorTags:[`æ±`,`é`],description:`åç´ãå¸ãè¾¼ãã æ±ã¨å¢¨ãç«ç¨®ã¯éãã«ãããã確ãã«æãã岩絵å
·ã®ç²åã®ç
ããã¯ãéã®ãªãã§æãå°ããªãæãå¤ãç¥ãã§ããã`},{id:`sasaki-neuron`,code:`IRA-005`,image:ye,title:`NEURON / 賦活`,artistId:`sasaki-ryo`,artist:`ä½ã
æ¨ æ¶¼`,school:`æ±äº¬é 形大å¦`,category:`print`,technique:`ã¸ã§ãã©ãã£ãã»ããªã³ã`,size:`500 à 700 mm`,widthMm:500,heightMm:700,year:2025,price:11e4,edition:`Edition 5 / 20`,certified:!0,colorTags:[`é»`,`ç½`,`æ±`],description:`ç¶²æ§ä½è³¦æ´»ç³»ââæ³¨æãå¼ã³è¦ã¾ãç¥çµç¶²ãã¢ã«ã´ãªãºã ãæã䏿¬ä¸æ¬ã®æã¯ãç®è¦ãã®ç¬éãã®ãã®ãè¨è¿°ããã`},{id:`nakamura-shio`,code:`IRA-006`,image:xe,title:`æ½®ã®å¢ç`,artistId:`nakamura-aoi`,artist:`䏿 èµ`,school:`éæ²¢ç¾è¡å·¥è¸å¤§å¦`,category:`painting`,technique:`油彩ã»ããã«`,size:`803 à 1000 mm (F40)`,widthMm:1e3,heightMm:803,year:2024,price:92e3,edition:`Unique`,certified:!0,colorTags:[`é`,`é»`],description:`å¤ã®æµ·ã¨æã®æµ·ããµãã¤ã®ä¸çã交ãã䏿¬ã®ç·ããæ²¹çµµå
·ã®åã¿ã§å®çããããå¢çã¨ã¯ãçµããã§ã¯ãªããã¯ãã¾ãã®å¥åã§ããã`},{id:`okamoto-rin`,code:`IRA-007`,image:`https://loremflickr.com/1200/1500/art,painting,abstract/?lock=67666`,title:`è·¯å°è£ã®ç¯`,artistId:`okamoto-rin`,artist:`å²¡æ¬ å`,school:`æ±äº¬èè¡å¤§å¦`,category:`print`,technique:`é
çã»ã¨ããã³ã°`,size:`303 à 410 mm`,widthMm:303,heightMm:410,year:2025,price:72e3,edition:`Edition 4 / 15`,certified:!0,colorTags:[`é»`,`ç½`],description:`é
¸ãé
ãé£ãæéãã®ãã®ããè·¯å°ã«ç¯ãå°ããªå
ã«ãªã£ãã`},{id:`fujimura-haruki`,code:`IRA-008`,image:`https://loremflickr.com/1200/1500/art,painting,abstract/?lock=84904`,title:`å人ã®èå III`,artistId:`fujimura-haruki`,artist:`è¤æ æ¥æ¨¹`,school:`京é½è¸è¡å¤§å¦`,category:`painting`,technique:`油彩ã»ãã£ã³ãã¹`,size:`530 à 652 mm (F15)`,widthMm:530,heightMm:652,year:2025,price:98e3,edition:`Unique`,certified:!0,colorTags:[`è¶`,`é`],description:`èãä½åº¦ãå¡ãéããé¡ã®å¥¥ã«ãããã²ã¨ã¤ã®å¼å¸ãè¦ãå§ããã`},{id:`shirai-noe`,code:`IRA-009`,image:`https://loremflickr.com/1200/1500/art,painting,abstract/?lock=9751`,title:`NOISE / SILENCE`,artistId:`shirai-noe`,artist:`ç½äº ã®ã`,school:`æ¦èµéç¾è¡å¤§å¦`,category:`print`,technique:`ã·ã«ã¯ã¹ã¯ãªã¼ã³ã»æ´»ç`,size:`515 à 728 mm (B2)`,widthMm:515,heightMm:728,year:2025,price:38e3,edition:`Edition 8 / 30`,certified:!0,colorTags:[`é»`,`æ±`,`é»`],description:`ä½ç½ã¨çãºã¬ããç´ã®ä¸ã§å°ããªé¨ãããèµ·ããã`},{id:`yagi-souta`,code:`IRA-010`,image:`https://loremflickr.com/1200/1500/art,painting,abstract/?lock=15901`,title:`å
ãªãåµ`,artistId:`yagi-souta`,artist:`å
«æ¨ 颯太`,school:`æ±äº¬èè¡å¤§å¦`,category:`ceramics`,technique:`ããã³ãº`,size:`H 320 à W 180 à D 150 mm`,widthMm:180,heightMm:320,year:2024,price:28e4,edition:`Edition 2 / 6`,certified:!0,colorTags:[`é»`,`é`],description:`åãã®ã§ã¯ãªããåãåºãââç³ã®ãªãã«ãã£ãå½¢ãããã å¼ã³æ»ããã`},{id:`matsuda-yuna`,code:`IRA-011`,image:`https://loremflickr.com/1200/1500/art,painting,abstract/?lock=27895`,title:`æ¥è¨ãäºæ`,artistId:`matsuda-yuna`,artist:`æ¾ç° çµè`,school:`女åç¾è¡å¤§å¦`,category:`ceramics`,technique:`èæ¨æã»æç¹ã`,size:`420 à 600 mm`,widthMm:420,heightMm:600,year:2025,price:54e3,edition:`Unique`,certified:!0,colorTags:[`è¶`,`ç½`,`ç·`],description:`糸ã®ä¸æ¬ãã¤ã«ããã®æ¥ã®å¤©æ°ã¨æ°åãçµã³ã¤ããã`},{id:`kobayashi-ren`,code:`IRA-012`,image:`https://loremflickr.com/1200/1500/art,painting,abstract/?lock=91933`,title:`èªè°·ãå¤ã®å£º`,artistId:`kobayashi-ren`,artist:`å°æ è®`,school:`æ²ç¸çç«è¸è¡å¤§å¦`,category:`ceramics`,technique:`é¶ã»ç¼ãç· ã`,size:`H 240 à W 260 à D 260 mm`,widthMm:260,heightMm:240,year:2024,price:18e4,edition:`Unique`,certified:!0,colorTags:[`è¶`,`é»`],description:`ç»ã窯ã®ç«ããåã
12®ä¸ã®æµ·ã®åããå¼ã³è¦ã¾ããã`},{id:`ariga-misaki`,code:`IRA-013`,image:`https://loremflickr.com/1200/1500/art,painting,abstract/?lock=31357`,title:`é§
ãåå¾ä¸æ`,artistId:`ariga-misaki`,artist:`æè³ ç¾å²`,school:`æ±äº¬èè¡å¤§å¦`,category:`print`,technique:`ãªãã°ã©ã`,size:`420 à 594 mm (A2)`,widthMm:420,heightMm:594,year:2025,price:46e3,edition:`Edition 6 / 20`,certified:!0,colorTags:[`é»`,`é`],description:`åãçããå·ã£ã¦ãã䏿ãã¤éãé¡ã«ãªãââãããªåå¾ã®é§
ã`},{id:`elena-park`,code:`IRA-014`,image:`https://loremflickr.com/1200/1500/art,painting,abstract/?lock=66432`,title:`First Word`,artistId:`elena-park`,artist:`ãã¯ã»ã¨ã¬ã`,school:`Parsons School of Design`,category:`painting`,technique:`ã¢ã¯ãªã«ã»ãªãã³`,size:`760 à 760 mm`,widthMm:760,heightMm:760,year:2025,price:18e4,edition:`Unique`,certified:!0,colorTags:[`æ±`,`ç½`,`é`],description:`è²ã¯è¨èã«ãªãåã®æåã®è¨èãä½ç½ãããããè´ãã¦ããã`},{id:`liang-wu`,code:`IRA-015`,image:`https://loremflickr.com/1200/1500/art,painting,abstract/?lock=59944`,title:`åæ¹å±±æ°´ã»æç`,artistId:`liang-wu`,artist:`ãªã¢ã³ã»ã¦ã¼`,school:`Royal College of Art`,category:`print`,technique:`é
çã»ã¢ã¯ã¢ãã³ã`,size:`380 à 560 mm`,widthMm:380,heightMm:560,year:2024,price:88e3,edition:`Edition 7 / 25`,certified:!0,colorTags:[`é»`,`è¶`],description:`ãã¬ã¹ãä¸åº¦å¼ããã¨ã«ãç´ã®ä¸ã«å°ããªå±±ãç«ã¡ä¸ããã`},{id:`sofia-bellini`,code:`IRA-016`,image:`https://loremflickr.com/1200/1500/art,painting,abstract/?lock=57116`,title:`ç¶ãååã®å
`,artistId:`sofia-bellini`,artist:`ã½ãã£ã¢ã»ããªã¼ã`,school:`Ãcole des Beaux-Arts de Paris`,category:`painting`,technique:`æ²¹å½©ã»æ¿`,size:`330 à 410 mm (F6)`,widthMm:330,heightMm:410,year:2025,price:12e4,edition:`Unique`,certified:!0,colorTags:[`è¶`,`ç½`,`ç°`],description:`ã¢ããªã¨ã®ç¶ãããããããçãããããªéãã§æãç¶ãã¦ããã`},{id:`doi-haruka`,code:`IRA-017`,image:`https://loremflickr.com/1200/1500/art,painting,abstract/?lock=99195`,title:`è ã®åã`,artistId:`doi-haruka`,artist:`åäº é¥`,school:`京é½å¸ç«è¸è¡å¤§å¦`,category:`painting`,technique:`岩絵å
·ã»è ã»åç´`,size:`455 à 530 mm (F10)`,widthMm:455,heightMm:530,year:2025,price:76e3,edition:`Unique`,certified:!0,colorTags:[`ç·`,`é`],description:`ç´ æãã®ãã®ã主é¡ã«ãè ã®åãããçµµãéãã«æ¯ãã¦ããã`},{id:`nogami-tetsu`,code:`IRA-018`,image:`https://loremflickr.com/1200/1500/art,painting,abstract/?lock=40745`,title:`å½±ã®ãªãã®èå`,artistId:`nogami-tetsu`,artist:`éä¸ å²`,school:`æç¥çç«è¸è¡å¤§å¦`,category:`painting`,technique:`油彩ã»ãã£ã³ãã¹`,size:`606 à 727 mm (F20)`,widthMm:606,heightMm:727,year:2024,price:84e3,edition:`Unique`,certified:!0,colorTags:[`é»`,`è¶`],description:`å½±ã®ãªãã«ããé¡ã®ã»ãããæ¡å¤ããã®äººãããã`},{id:`aaliyah-khan`,code:`IRA-019`,image:`https://loremflickr.com/1200/1500/art,painting,abstract/?lock=88558`,title:`Karachi Letters`,artistId:`aaliyah-khan`,artist:`ã¢ã¢ãªã¤ã»ã«ã¼ã³`,school:`Central Saint Martins`,category:`painting`,technique:`ã³ã©ã¼ã¸ã¥ã»ãã¯ã¹ãã¡ãã£ã¢`,size:`500 à 700 mm`,widthMm:500,heightMm:700,year:2025,price:96e3,edition:`Unique`,certified:!0,colorTags:[`æ±`,`è¶`,`ç½`],description:`åã£ã¦ãè²¼ã£ã¦ãã¾ãå¥ãããå®¶æã®è¨æ¶ã®æ±ãæ¹ã«ä¼¼ã¦ããã`},{id:`tanigawa-iori`,code:`IRA-020`,image:`https://loremflickr.com/1200/1500/art,painting,abstract/?lock=12580`,title:`Pixel Garden`,artistId:`tanigawa-iori`,artist:`è°·å· ä¼ç¹`,school:`æ±äº¬é 形大å¦`,category:`digital`,technique:`ã¸ã§ãã©ãã£ãã»ãããã+ãªã½`,size:`420 à 594 mm (A2)`,widthMm:420,heightMm:594,year:2025,price:58e3,edition:`Edition 9 / 30`,certified:!0,colorTags:[`é`,`æ±`],description:`ãã¯ã»ã«ãçµµå
·ã®ä¸ç¨®ããã¸ã¿ã«ã®å¶ç¶ã¨æã®ä½æ¥ãæ··ããã`},{id:`hara-kanade`,code:`IRA-021`,image:`https://loremflickr.com/1200/1500/art,painting,abstract/?lock=78165`,title:`éå¤è·¯ã®äºº II`,artistId:`hara-kanade`,artist:`å å¥`,school:`æ±äº¬èè¡å¤§å¦`,category:`ceramics`,technique:`é³éã»ç³è`,size:`H 380 à W 120 à D 120 mm`,widthMm:120,heightMm:380,year:2024,price:22e4,edition:`Edition 1 / 5`,certified:!0,colorTags:[`é»`],description:`彫å»ã®éãã¯ãç½®ããã空éã¸ã®
12å°ããªæ¨æ¶ã®ãããªãã®ã`},{id:`ref-heri-dono-wayang-legenda`,code:`REF-ID-001`,image:`https://loremflickr.com/1200/1500/art,painting,abstract/?lock=94676`,title:`Wayang Legendaï¼åç
§ä½åï¼`,artistId:`heri-dono`,artist:`ããªã»ãã`,school:`â`,category:`painting`,technique:`ãã¯ã¹ãã¡ãã£ã¢ã»ã¤ã³ã¹ã¿ã¬ã¼ã·ã§ã³`,size:`ãµã¤ãºå¯å¤`,widthMm:0,heightMm:0,year:1988,price:0,edition:`Reference`,certified:!1,colorTags:[],description:`ããªã»ãããä¼çµ±å½±çµµã¯ã¤ã³ãç¾ä»£ç¾è¡ã¸ã¨åæ§ç¯ãã代表çã·ãªã¼ãºãã¤ã³ããã·ã¢ç¤¾ä¼ã®æ¿æ²»çå¯è©±ããç¥è©±çãã£ã©ã¯ã¿ã¼ã§ä¸æ¼ãããæ¬ãã¼ã¸ã¯åºå
¸å
ã®æ
å ±ãå¼ç¨ããç´¹ä»ã§ãããä½åã®è²©å£²ã»åæ±ã¯è¡ããªãã`,referenceOnly:!0,country:`Indonesia`,source:`Wikipedia: Heri Dono`,sourceUrl:`https://en.wikipedia.org/wiki/Heri_Dono`},{id:`ref-eko-nugroho-embroidery`,code:`REF-ID-002`,image:`https://loremflickr.com/1200/1500/art,painting,abstract/?lock=14337`,title:`Embroidery Seriesï¼åç
§ä½åï¼`,artistId:`eko-nugroho`,artist:`ã¨ã³ã»ãã°ãã`,school:`â`,category:`painting`,technique:`æ©æ¢°åºç¹ã»ã¬ã¼ã¨ã³`,size:`å¯å¤`,widthMm:0,heightMm:0,year:2015,price:0,edition:`Reference`,certified:!1,colorTags:[],description:`ã¸ã§ã°ã¸ã£ã«ã«ã¿ã®åºç¹å·¥æ¿ã¨ååãã代表ã·ãªã¼ãºãã¹ããªã¼ãã¢ã¼ãã®èªå½ãä¼çµ±å·¥è¸ã®èº«æ¯ãã«ç¿»è¨³ããæ¿æ²»ã»å®æã»ã°ãã¼ããªã¼ã¼ã·ã§ã³ãè«§è¬çã«ç¸«ãè¾¼ãã販売対象å¤ãç´¹ä»ç®çã®ã¿ã`,referenceOnly:!0,country:`Indonesia`,source:`Wikipedia: Eko Nugroho`,sourceUrl:`https://en.wikipedia.org/wiki/Eko_Nugroho`},{id:`ref-ay-tjoe-abstract`,code:`REF-ID-003`,image:`https://loremflickr.com/1200/1500/art,painting,abstract/?lock=43240`,title:`Untitled Abstractionï¼åç
§ä½åï¼`,artistId:`christine-ay-tjoe`,artist:`ã¯ãªã¹ãã£ã¼ãã»ã¢ã¤ã»ãã¥ã¼`,school:`â`,category:`painting`,technique:`油彩ã»ãã¹ãã«ã»ãã£ã³ãã¹`,size:`å¯å¤`,widthMm:0,heightMm:0,year:2018,price:0,edition:`Reference`,certified:!1,colorTags:[],description:`ç·ãå¼å¸ã絡ã¾ãã»ã©ãã¦ããéä¸ã®ç¶æ
ãç»é¢ã«ç½®ããã¢ã¤ã»ãã¥ã¼ã®ä»£è¡¨çãªæ½è±¡çµµç»ãã¢ã¸ã¢ã®ç¾ä»£æ½è±¡ã代表ããä½å®¶ã®ä¸äººã販売対象å¤ãç´¹ä»ç®çã®ã¿ã`,referenceOnly:!0,country:`Indonesia`,source:`Wikipedia: Christine Ay Tjoe`,sourceUrl:`https://en.wikipedia.org/wiki/Christine_Ay_Tjoe`},{id:`ref-entang-wiharso-relief`,code:`REF-ID-004`,image:`https://loremflickr.com/1200/1500/art,painting,abstract/?lock=64415`,title:`Aluminum Relief Worksï¼åç
§ä½åï¼`,artistId:`entang-wiharso`,artist:`ã¨ã³ã¿ã³ã»ã¦ã£ãã«ã½`,school:`â`,category:`ceramics`,technique:`ã¢ã«ãã»çé®ã»ã¬ãªã¼ã`,size:`å¯å¤`,widthMm:0,heightMm:0,year:2013,price:0,edition:`Reference`,certified:!1,colorTags:[],description:`éå±ã¬ãªã¼ãã«ãã£ã¦ãå®¶æã®è¨æ¶ãæ¤æ°å°å²ãç§»åã®çµé¨ã彫ãè¾¼ãã¦ã£ãã«ã½ã®ä»£è¡¨çã·ãªã¼ãºã2013å¹´ã´ã§ããã¢ã»ãã¨ã³ãã¼ã¬ Indonesian Pavilion åºåã販売対象å¤ãç´¹ä»ç®çã®ã¿ã`,referenceOnly:!0,country:`Indonesia`,source:`Wikipedia: Entang Wiharso`,sourceUrl:`https://en.wikipedia.org/wiki/Entang_Wiharso`},{id:`ref-yee-i-lann-tikar`,code:`REF-MY-001`,image:`https://loremflickr.com/1200/1500/art,painting,abstract/?lock=9761`,title:`TIKAR / Mat Weaving Collaborationsï¼åç
§ä½åï¼`,artistId:`yee-i-lann`,artist:`ã¤ã¼ã»ã¤ã©ã³`,school:`â`,category:`ceramics`,technique:`ãã³ããã¹ï¼ç«¹ç·¨ã¿ã»å
±åå¶ä½`,size:`å¯å¤`,widthMm:0,heightMm:0,year:2020,price:0,edition:`Reference`,certified:!1,colorTags:[],description:`ãµãå·ãã¸ã£ã¦ã»ãã¥ã¹ã³çã®å
使°å¥³æ§ãã¡ã¨å
±åå¶ä½ãã大åç·¨ã¿ä½åã·ãªã¼ãºãæµ·æ´å²ã»æ¤æ°å°å²ã»ã¸ã§ã³ãã¼ããç·¨ããè¡çºã«éããã販売対象å¤ãç´¹ä»ç®çã®ã¿ã`,referenceOnly:!0,country:`Malaysia`,source:`Wikipedia: Yee I-Lann`,sourceUrl:`https://en.wikipedia.org/wiki/Yee_I-Lann`}],xl=e=>
12`Â¥${e.toLocaleString(`ja-JP`)}`;Array.from(new Set(bl.map(e=>e.school))).sort(),Array.from(new Set(bl.map(e=>e.technique))).sort(),Array.from(new Set(bl.flatMap(e=>e.colorTags))).sort();var Sl=`https://instinct-ras.com`;function Cl(e){return e?/^https?:\/\//i.test(e)?e:`${Sl}${e.startsWith(`/`)?``:`/`}${e}`:Sl}function wl(e){return!e||/^(data:|blob:)/i.test(e)?null:Cl(e)}function Tl({title:e,description:t,path:n,image:r,type:i=`website`}){let a=Cl(n),o=t.replace(/\s+/g,` `).trim().slice(0,158),s=[{title:e},{name:`description`,content:o},{property:`og:title`,content:e},{property:`og:description`,content:o},{property:`og:type`,content:i},{property:`og:url`,content:a},{property:`og:site_name`,content:`INSTINCT RAS`},{name:`twitter:card`,content:`summary_large_image`},{name:`twitter:title`,content:e},{name:`twitter:description`,content:o}],c=wl(r);return c&&(s.push({property:`og:image`,content:c}),s.push({property:`og:image:alt`,content:e}),s.push({name:`twitter:image`,content:c})),{meta:s,links:[{rel:`canonical`,href:a}]}}var El=ys(`/gallery`)({head:()=>Tl({title:`Gallery â ä½åã³ã¬ã¯ã·ã§ã³ | INSTINCT RAS`,description:`INSTINCT RAS ã®ãªã³ã©ã¤ã³ã®ã£ã©ãªã¼ãæ¥æ¬ã®ç¾è¡å¤§å¦ã»å°é妿 ¡ã«å¦ã¶ä½å®¶ã«ããçµµç»ã»åçã»é¶è¸ã»ç«ä½ä½åã®å¸¸è¨ã³ã¬ã¯ã·ã§ã³ããã«ãã´ãªã¼ãææ³ããæ¢ç´¢ã§ãã¾ãã`,path:`/gallery`,image:bl[0]?.image}),component:B(()=>k(()=>import(`./gallery-CRkpN-e8.js`),__vite__mapDeps([11,1,10,6,5,12,7,8,9])),`component`)}),Dl=`/assets/fragrance-2-Bf0aEx69.jpg`,Ol=`/assets/fragrance-4-BtqhmLyo.jpg`,kl=`/assets/fragrance-5-C02IYosi.jpg`,Al=`/assets/fragrance-6-_TCsSUX5.jpg`,jl=[Se,Dl,Ce,Ol,kl,Al],Ml=new Set([ge,ve,_e,be,ye,xe]),Nl=[ge,ve,_e,be,ye,xe],Pl=[{slug:`ras-the-science-of-attention`,category:`SCIENCE`,title:`RASââæ³¨æãå¼ã³è¦ã¾ããè³ã®ã¹ã¤ããã`,excerpt:`è³å¹¹ã«åå¨ããç¶²æ§ä½è³¦æ´»ç³»ï¼RASï¼ãè¦éã¨æ³¨æã®é¾å¤ãå¸ããã®ç¥çµç¶²ã¯ããªãç§ãã¡ã®ãã©ã³ãã®åç¹ã¨ãªã£ãã®ãã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=89456`,date:`2026.06.10`,readTime:`6 min`,body:[`è³å¹¹ã®å¥¥ã«ãç¶²æ§ä½è³¦æ´»ç³»ï¼Reticular Activating System, ç¥ãã¦RASï¼ã¨å¼ã°ããç¥çµç¶²ããããç¡ç ããè¦éã¸ã¨æèãå¼ãä¸ããå¤çã®ç¡æ°ã®æ
å ±ããããã¾è¦ãã¹ããã®ããé¸ã³åãã¹ã¤ããã§ããã`,`ç§ãã¡ã®ç¼ãè³ã«ã¯ãæ¯ç§ããã1100ä¸ãããã®æ
å ±ãæµãè¾¼ãã¨è¨ããããã ãæèã«ä¸ããã®ã¯ããã®ãã¡40ã60ãããã«éããªããæ®ãã¯RASãããã¾éè¦ã§ã¯ãªããã¨å¤æããéãã«æ£ã¦ã¦ããã`,`INSTINCT RAS ã¯ããã®æ©æ§ãæ¯å©ã¨ãã¦åãããä¸ã®ä¸ã«ã¯ãã¾ã èª°ã®æ³¨æãæµ´ã³ã¦ããªãæè½ãããããããå¯è¦åãã人ã
ã®æ³¨æãå¼ã³è¦ã¾ããã¨ââãã©ãããã©ã¼ã ã®åå¨æç¾©ã¯ããã«ããã`,`ç§å¦ã¯ã¡ã«ããºã ãè¨è¿°ãããæåã¯ãã®æå³ãç©èªãã両è
ã®äº¤ç¹ã«ãããããã®æ¥æ¬ç¾è¡ã®è¼ªéãæãã¦ããã`]},{slug:`dopamine-and-the-first-glance`,category:`SCIENCE`,title:`ãã¼ããã³ã¨ãæåã®ã²ã¨ç®ã`,excerpt:`ããä½åã®åã§è¶³ãæ¢ã¾ãç¬éãè³å
ã§ä½ãèµ·ãã¦ããã®ããå ±é
¬ç³»ã¨ç¾ççµé¨ã®ç¥çµç§å¦ã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=27879`,date:`2026.06.03`,readTime:`5 min`,body:[`ç¾è¡é¤¨ã§ããã䏿ã®çµµã®åã ãè¶³ãæ¢ã¾ããçç±ã¯èª¬æã§ããªããããã©ã確ãã«ãä½ããèµ·ãã¦ããââãã®ãä½ããã¯ãç¥çµä¼éç©è³ªãã¼ããã³ã®æ¾åºã¨ãã¦è¦³æ¸¬ã§ããã`,`è
¹å´è¢«èéããç·æ¡ä½ã¸ã¨èµ°ãä¸è³è¾ºç¸ç³»ã®çµè·¯ã¯ãå ±é
¬ãäºæ¸¬ããç¬éã«çºç«ãããéè¦ãªã®ã¯ãå ±é
¬ãã®ãã®ããããããæ¬¡ã«æ¥ããããããªããã¨ããæå¾
ã§ãããåªããä½åã¯ãè¦ãè
ã«ãã®äºæ¸¬èª¤å·®ããã³ãã³çãã`,`ç§ãã¡ãæ±ãä½å®¶ã¯ãè¦æ
£ããæ§å³ã®ä¸ã«å¿
ãã²ã¨ã¤ã®è£åããä»è¾¼ããè³ããããçºè¦ããç¬éããã¼ããã³ã¯éãã«å¢ãããã³ã¬ã¯ã·ã§ã³ã¨ã¯ããã®å°ããªæ¾åºãçæ´»ã®ä¸ã«ç½®ãç¶ãããã¨ã ã`]},{slug:`mirror-neurons-empathy-in-paint`,category:`SCIENCE`,title:`ãã©ã¼ãã¥ã¼ãã³ââçµµã®ä¸ã§ä»è
ã«ãªãã`,excerpt:`ä»è
ã®åä½ãè¦ã¦ããã ãã§ãèªåã®è³ã®åãé åãçºç«ãããå
±æã®ç¥çµåºç¤ã¨ãçµµç»ä½é¨ã®äº¤å·®ç¹ã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=59032`,date:`2026.05.27`,readTime:`7 min`,body:[`1990年代ãã¤ã¿ãªã¢ã»ãã«ã大å¦ã®ãªã¾ã©ããã£ããçºè¦ãããã©ã¼ãã¥ã¼ãã³ã¯ãçµµç»ä½é¨ã®è§£éã䏿®µæ·±ããããç触ã®èºåãè¦ãã¨ããç§ãã¡ã®éåéã¯å®éã«ãã®çãæ¡ã£ã¦ãããã®ããã«çºç«ããã`,`ã¤ã¾ãéè³ã
12¨ã¯ååã§ã¯ãªããæ¥µãã¦éããªå
±æ¼ã§ãããã¸ã£ã¯ã½ã³ã»ãããã¯ã®ç·ããªããã¨ããç§ãã¡ã¯åä¸ç´åã®å½¼ã®èº«ä½ããèªåã®ä¸ã§çãæéã ãçãç´ãã¦ããã`,`INSTINCT RAS ã䏿¬¡ãã¼ã±ããã«éããç½®ãã®ã¯ãä½å®¶ã®èº«ä½ãä½åã«ã¾ã ç±ãæã£ã¦ããææããããã®å
±æ¼ãæãé®®æã«ãªãããã ã`]},{slug:`color-perception-and-the-japanese-palette`,category:`SCIENCE`,title:`è²ã¯è³ãä½ãââåã®è²åã¨ç¥è¦ã®é¢ä¿ã`,excerpt:`ãèãã¨ãç´ºããå¥ã®è²ã¨ãã¦æã¤è¨èªã¯ãããããå¥ã®è²ã¨ãã¦è¦ããè²å½©èªå½ã¨ç¥è¦ã®ãã£ã¼ãããã¯ã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=89685`,date:`2026.05.20`,readTime:`6 min`,body:[`æ¥æ¬èªã¯é系統ã ãã§ãèã»ç´ºã»ç¸¹ã»æµ
è±ã»ç¾¤éã¨ç´°ããèªãæã¤ãè¨èªäººé¡å¦è
ãã«ãªã³ï¼ã±ã¤ã®ç 究以æ¥ãè²åã®æ°ã¯ç¥è¦ã®è§£å度ã«å½±é¿ãããã¨ãåãã£ã¦ããã`,`fMRI ã§ç¢ºãããã¨ãè²åãè±å¯ãªè©±è
ã»ã©ãè¦è¦éV4 ã®åå¿ãããéãååãããæåã¯è³ã®å°å³ãã®ãã®ãæ¸ãæãã¦ããã`,`åã®ä½å®¶ãæ±ããè²ãã¯ã欧米㮠RGB ã¨ããã³ãã¼ã³ã¨ãéããããã¯è³ã«æ¸ãè¾¼ã¾ãããåå¹´åã®èªå½ãè¦ããæ¯è²ã§ããã`]},{slug:`default-mode-network-and-creativity`,category:`SCIENCE`,title:`ã¼ããããçãçºæ³ââããã©ã«ãã»ã¢ã¼ãã»ãããã¯ã¼ã¯ã`,excerpt:`ä½ããã¦ããªãã¨ãã«æãæ´»çºã«ãªãè³ã®ãããã¯ã¼ã¯ããåµé æ§ã®æºæ³ã ã£ãã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=4657`,date:`2026.05.13`,readTime:`5 min`,body:[`課é¡ã«éä¸ãã¦ããªãã¨ããå
å´åé åéã»å¾é¨å¸¯ç¶åã»æ¥åé¨ãããªãããã©ã«ãã»ã¢ã¼ãã»ãããã¯ã¼ã¯ï¼DMNï¼ã¯éãã«æ´»åãå§ãããè¨æ¶ãç·¨ã¿ç´ããèªå·±ã®ç©èªãåæ§æããæªæ¥ãæ³åããã`,`åµé ã®éãã®å¤ãã¯ããã® DMN ãèæ¯ã§åãã¦ããç¶æ
ââã·ã£ã¯ã¼ãæ£æ©ãã¼ãããããåå¾ââã«è¨ªãããã¹ã¿ã¸ãªã«ç± ããä½å®¶ãã¡ãããã°ãã°æ£æ©ãæ¥èª²ã«ããçç±ã§ãããã`,`ã¢ã¼ããå®¶ã«ç½®ããã¨ã¯ãDMN ãçºç«ãããè£
ç½®ãä¸å°ãçæ´»ã«å¸¸è¨ãããã¨ã«è¿ãã`]},{slug:`neuroaesthetics-zeki-and-the-frontal-cortex`,category:`SCIENCE`,title:`ç¥çµç¾å¦ââãç¾ãããã¨æããè³ã®å ´æã`,excerpt:`ãã³ãã³å¤§å¦ã¼ãã®ç 究室ã示ãããç¾ã®çµé¨ã¨å
å´ç¼çª©åé ç®è³ªã®é¢ä¿ã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=23083`,date:`2026.05.06`,readTime:`6 min`,body:[`ã»ãã¼ã«ã»ã¼ãã¯ãçµµç»ã鳿¥½ãæ°å¼ã«å¯¾ãã¦ãç¾ãããã¨å¤æããç¬éãå
å´ç¼çª©åé ç®è³ªï¼mOFCï¼ã®æ´»åã䏿§ã«ä¸æãããã¨ã示ãããã¸ã£ã³ã«ãè¶
ãããç¾ã®å
±éé貨ã§ããã`,`è峿·±ãã®ã¯ããéããã¨æããã¨ãã«ã¯å対å´ã®ä½æ§éåç®è³ªãæ´»æ§åããç¹ã ãç¾ã¯è¿ã¥ãã®ä¿¡å·ãéã¯å¼ãé¢ãã®ä¿¡å·ã¨ãã¦ã身ä½ã®æºåã«ç´çµãã¦ããã`,`ã³ã¬ã¯ã·ã§ã³ãç·¨ããã¨ã¯ãèªåã® mOFC ãæ¯æ¥ç¹ç¯ãããå ´æããå®¶ã®ã©ãã«ç½®ãããæ±ºãã使¥ã«ä»ãªããªãã`]},{slug:`ai-image-generation-and-the-original-hand`,category:`SCIENCE`,title:`AIã¯ä½å®¶ã®æãè
ãããââçæã¢ãã«æä»£ã®ä¸æ¬¡æ§ã`,excerpt:`æ¡æ£ã¢ãã«ãããããç»åãä½ããæä»£ã人éã®æãæãããã®ã«æ®ãåºæã®æ
å ±éã¨ã¯ã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=65537`,date:`2026.04.29`,readTime:`8 min`,body:[`æ¡æ£ã¢ãã«ã¯ã人é¡ãèç©ããããããç»åã®ç¢ºçåå¸ãå¦ãã§ãã¾ã£ããåºåã¯é©ãã»ã©å·§ã¿ã§ãå®ä¾¡ã§ãéãã`,`ããã©ããä¸äººã®ä½å®¶ã®æã辿ã£ãæéââè¿·ããç·ã®æ»ããçµµå
·ã®éãªãââã¯ã確çåå¸ã«ã¯éå
ã§ããªã䏿¬¡æ
å ±ã§ãããããã¯ä½å®¶ã
12®èº«ä½ã¨ããã®æ¥ã®æ°åãåå¤ã®å¤¢ãæªç·´ã¨ä¸ç·ã«ç«ã¡ä¸ãã£ã¦ããã`,`INSTINCT RAS ã¯ããã®ãéå
ä¸è½ãªä¸æ¬¡æ§ãã«å¤æ®µãä»ããå ´æã ãAI ã¯ææ®µã¨ãã¦ã¯æè¿ããããæ±ºãã¦ä»£æ¿ã¨ãã¦ã¯æ±ããªãã`]},{slug:`hinoeuma-2026-the-year-of-fire`,category:`CULTURE`,title:`ä¸åï¼ã²ã®ããã¾ï¼ââ2026ãç«ã®å¹´ã«ç¯ããã®ã`,excerpt:`60å¹´ã«ä¸åº¦å·¡ãä¸åãäºè¡ã®ãç«ããäºéã«éãªããã®å¹´ã«ãç§ãã¡ã¯ãªãæåã®ç«ãç¯ãã®ãã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=76438`,date:`2026.05.22`,readTime:`5 min`,body:[`å¹²æ¯ã¨äºè¡ã®çµã¿åããã¯60å¹´ã§ã²ã¨å·¡ãããã2026å¹´ã¯ãä¸åï¼ã²ã®ããã¾ï¼ãââä¸ãåããäºè¡ã§ã¯ç«ã«å±ããç«ãäºéã«éãªãå¹´ã¯ãå¤é©ã¨åçã®è±¡æãæã¤ã¨ãããã`,`æ
å ±ã¨AIãä¸çä¸ãé§ãå·¡ãæä»£ã®å
¥å£ã§ãç§ãã¡ã¯ãç«ãããã©ã³ãã®è±¡å¾´ã«æ®ãããçãçãçã§ã¯ãªããæåã®ç«ç¨®ã§ããã誰ãã®æã®ä¸ã§ãããä¸åº¦æ¯ãå¹ãè¿ãããã®ç«ã ã`,`è¥ãä½å®¶ã®æåã®ä¸çãã¾ããç«ç¨®ã§ããããããéããå²ããæªæ¥ã¸æ¸¡ããRAS ART ãå¼ãåããå½¹å²ã¯ããã®çãç«ã®çªäººã«è¿ãã`]},{slug:`five-elements-and-contemporary-art`,category:`CULTURE`,title:`äºè¡ã¨ç¾ä»£ã¢ã¼ãââæ¨ç«åéæ°´ã®ç¾ä»£è§£éã`,excerpt:`å¤ä»£ä¸å½ã®èªç¶è¦³ã¯ããªãä»ãã¢ã¼ãã®ãã¥ã¬ã¼ã·ã§ã³ã«æå¹ãªå°å³ã§ããç¶ããã®ãã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=42288`,date:`2026.05.15`,readTime:`7 min`,body:[`æ¨ã¯ä¼¸é·ã¨åçãç«ã¯å¤å®¹ã¨çºç±ãåã¯å容ã¨å®å®ãéã¯ç²¾é¬ã¨åæãæ°´ã¯æµ¸éã¨è¨æ¶ãäºè¡ã¯åãªã象徴ã§ã¯ãªããä¸çã®ã¨ãã«ã®ã¼åæ¯ãèªãããã®åå§çãªãã¬ã¼ã ã¯ã¼ã¯ã ã£ãã`,`ç¾ä»£ã®ä½å®¶ãäºè¡ã§åé¡ããã¨ã䏿è°ã¨ãã®å¶ä½æ
åº¦ãæµ®ãã³ä¸ãããç«åã®ä½å®¶ã¯ç ´å£ã¨åçã®å¾å¾©ãæãããæ°´åã®ä½å®¶ã¯è¨æ¶ã®å±¤ã浸ã¿è¾¼ã¾ããã`,`ã®ã£ã©ãªã¼ã®å¹´éããã°ã©ã ãäºè¡ã§çµãã¨ãå£ç¯ã®æµãã¨å±ç¤ºãå¼å¿ãããç§ãã¡ã¯2026å¹´ããç«ãããå§ããã`]},{slug:`wabi-sabi-and-the-economy-of-the-imperfect`,category:`CULTURE`,title:`ä¾ã³å¯ã³ââä¸å®å
¨ã®çµæ¸å¦ã`,excerpt:`æ¬ ããè¶ç¢ãå®ç§ãªè¶ç¢ããé«ãå¤ãæã¤ãæ¥æ¬ç¾å¦ãä¸çã«ä¸ããã価å¤ã®è»¢åã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=13294`,date:`2026.05.08`,readTime:`6 min`,body:[`ä¾ã³å¯ã³ã¯ç¦
ã¨è¶ã®æ¹¯ããç«ã¡ä¸ãã£ãç¾å¦ã§ãä¸åä¸ãæªå®ãçµå¹´ã価å¤ã®ä¸å¿ã«æ®ãããããã¯20ä¸ç´ä»¥éã®ãå®å
¨æ§ï¼é«ä¾¡å¤ãã®å¸å ´åçã«å¯¾ãããæãå¤ãåè«ã§ããã`,`éç¶ãã¯æ¬ ããé ãããéã§å¼·èª¿ãããå·ã®æ´å²ãããã¨ã®å¨ã®ä¾¡å¤ãä¸åããã¨ãããããã³ã¬ã¯ã¿ã¼ã¯ãããã§ç©ã®å¤æ®µã®åæãçµã¿æ¿ãã¦ããã`,`INSTINCT RAS ãè¥ãä½å®¶ã®è©¦è¡é¯èª¤ãæè¿ããã®ã¯ããã®ç¾å¦ã«è¿ãã宿ãããçµµã ãã§ãªããæªå®ã®ç·ã«ã夿®µãä»ãããã`]},{slug:`ukiyo-e-and-the-first-ai`,category:`CULTURE`,title:`æµ®ä¸çµµââæ¥æ¬ãçºæããæåã®éç£ã¢ã¼ãã`,excerpt:`è飾åæã¨æå·åºéãæ¯ããæ¨çã®åæ¥ã·ã¹ãã ã¯ãç¾ä»£ã®çæAIããã§ã«äºåãã¦ããã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=24605`,date:`2026.05.01`,readTime:`7 min`,body:[`絵師ãå½«å¸«ãæºå¸«ââæµ®ä¸çµµã¯ä¸ã¤ã®è·è½ã®åæ¥ã«ãã£ã¦ãä¸çã§åãã¦ã®éç£ç¾è¡ã«ãªã£ãã䏿ã®å¤æ®µã¯èéº¦ä¸æ¯ã¨åããæ±æ¸ã®åº¶æ°ã¯ãèªåã®å®¶ã«é¢¨æ¯ç»ãè²¼ã£ãã`,`ãã®æ§é ã¯ãç¾ä»£ã®çæAIã«ããç»åéç£ã¨é©ãã»ã©ä¼¼ã¦ãããéãã®ã¯ãåæãã¡ããèª°ã®æã§èª°ã彫ãèª°ãæºã£ããããå¿
ãçå
ã®å°ã§è¨é²ãã¦ãããã¨ââ䏿¬¡æ§ã
12®ã¡ã¿ãã¼ã¿ããåãããæµéè¨è¨ã«çµã¿è¾¼ã¾ãã¦ããã`,`ç§ãã¡ã¯ããã®ç²¾ç¥ãç¶ãããã¼ã¿ã¯ãªã³ãã§ã¼ã³ã§ãæ¥æ´ã¯æ°¸ç¶ã§ãä½å®¶ã®åã¯æ±ºãã¦æ¶ããªãã`]},{slug:`yohaku-the-power-of-emptiness`,category:`CULTURE`,title:`ä½ç½ââæããªããã¨ã§æãã`,excerpt:`墨絵ããç¾ä»£ã¤ã³ããªã¢ã¾ã§è²«ããæ¥æ¬ã®æ§æåçãä½ç½ãã®åã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=54108`,date:`2026.04.24`,readTime:`5 min`,body:[`é·è°·å·çä¼¯ã®æ¾æå³å±é¢¨ã¯ãç»é¢ã®ä¸å²ãç´ãã®ã¾ã¾ã ãé§ã¨æ¾ã¨ç©ºã®å¢çããç½ãã¾ã¾æ®ããã¨ã§æãã¦ããã`,`ä½ç½ã¯æ æ°ã§ã¯ãªããæãé«åº¦ãªç·¨éã§ããã観ãè
ã«ãè¦ã¦ããªãé¨åãè£ãããââãã®å
±ç¯é¢ä¿ããããçµµã宿ãããã`,`å£ã«ã¢ã¼ããæããã¨ããåãã ãè©°ãè¾¼ã¿ããããä½ç½ãæ®ããå®¶å
¨ä½ããã²ã¨ã¤ã®æè»¸ã«ãªãã`]},{slug:`iki-and-the-edge-of-restraint`,category:`CULTURE`,title:`ãç²ãââæå¶ãçãè²æ°ã®æ§é ã`,excerpt:`ä¹é¬¼å¨é ãããããã®æ§é ãããç¾ä»£ã®ã³ã¬ã¯ã·ã§ã³å²å¦ã¨ãã¦èªã¿ç´ãã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=3796`,date:`2026.04.17`,readTime:`6 min`,body:[`ä¹é¬¼å¨é ã¯1930å¹´ããããããåªæ
ã»ææ°å°ã»è«¦ãã®ä¸ã¤ã§å®ç¾©ãããè²æ°ãè¦ãããããè¯ãæã¡ãå·çãæ®ããªãââãã®ä¸ã¤ã®åè¡¡ããç²ãã§ããã`,`ã³ã¬ã¯ã·ã§ã³ã«ããç²ãããããæãéããã説æãéãããææ¾ããã¨ãæããªããå±ç¤ºãå
¥ãæ¿ãç¶ããæèµè
ã®å®¶ã¯ããã¤ã風ãéã£ã¦ããã`,`INSTINCT RAS ã¯ãææãææã®ã¾ã¾ã§çµããããªããæµéã®ä½ç½ããæåããè¨è¨ã«çµã¿è¾¼ãã`]},{slug:`japonisme-2-the-second-wave`,category:`CULTURE`,title:`ã¸ã£ããã¹ã 2.0ââãã¾ãä¸çãåã³æ¥æ¬ãè¦ã¦ããã`,excerpt:`19ä¸ç´ã®æµ®ä¸çµµãã¼ã ãã150å¹´ãã¢ãã¡ã»ã²ã¼ã ã»ç¾ä»£ç¾è¡ããæ°ããæ¥æ¬è¦³ãä½ã£ã¦ããã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=85710`,date:`2026.04.10`,readTime:`8 min`,body:[`19ä¸ç´å¾åãå°è±¡æ´¾ã¯æµ®ä¸çµµããæ§å³ã¨è²ãå¸åããããããã150å¹´ãã¸ã£ããã¹ã ã®ç¬¬äºæ³¢ãæ¥ã¦ãããä»åº¦ã®è¼¸åºåã¯ãã¢ãã¡ãã²ã¼ã ãæä¸éãå¥è¯ç¾æºã®æèãããã¦ç¡æ°ã®è¥ãä½å®¶ãã¡ã ã`,`Tokyo Gendai ã®ãããªå½éãã§ã¢ã横æµã§å®çããArt Basel Hong Kong ã Frieze Seoul ã®ãµãã©ã¤ãéè¦ãæ±äº¬ãåè©ä¾¡ãå§ãã¦ããã`,`ç§ãã¡ã INSTINCT RAS ãç«ã¡ä¸ããã®ã¯ããã®ç¬¬äºæ³¢ã®çãä¸ã«ãæ¥æ¬çºã®ãã©ãããã©ã¼ã ãç½®ãã¦ããããã ã`]},{slug:`studio-visit-takanashi-sayaka`,category:`STUDIO VISIT`,title:`ã¢ããªã¨è¨ªåï¼é«æ¢¨ããããæ°å¼ãå²ãããåºã`,excerpt:`ã¸ã¯ã¬ã¼çç»ãQuantum Gardenãã·ãªã¼ãºã®ä½å®¶ã»é«æ¢¨ãããã®ã¢ããªã¨ã訪ãããã¹ã¯ãªã¼ã³ã®å¥¥ã«å²ãè±ã®æ£ä½ã¨ã¯ã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=53786`,date:`2026.04.18`,readTime:`8 min`,body:[`é½å
ææã®ç 究室ã訪ãããæºã«ä¸¦ã¶ã®ã¯ã巨大ãªã¢ãã¿ã峿¸ãããã¦ææãã®ã¹ã±ããããã¯ããã³ã¼ããæ¸ãåã«ãã¾ãéçã§ç·ãå¼ãã¾ããã¨å½¼å¥³ã¯è¨ãã`,`ãQuantum Gardenãã¯ãç²åç³»ã·ãã¥ã¬ã¼ã·ã§ã³ã®è»è·¡ãçã«ç¼ãä»ããä½å群ããæ°å¼ã¯ãããã²ã¨ã¤ã®ç¥ãã®å½¢å¼ãââãã®è¨èã®ã¨ãããç»é¢ã«ã¯äºæ¸¬ä¸è½ãªç§©åºãéãã«å²ãã`,`次ã®ã·ãªã¼ãºã¯ãæ°´ãããã¼ãã«ãã¦ããã¨ãããç«ã®å¹´ã®æ¬¡ã«æ¥ããã®ããã§ã«ãæ°ããç«ç¨®ã¯ç¯ã£ã¦ããã`]},{slug:`studio-visit-sweet-sixteen-aoyama`,category:`STUDIO VISIT`,title:`ã¢ããªã¨è¨ªåï¼æ ªå¼ä¼ç¤¾SWEET SIXTEENââã¢ã¼ããææ³ã¨ãã¦ææ¸¡ãã`,excerpt:`INSTINCT RAS ã®å
±åéå¶ãã¼ããã¼ãæ ªå¼ä¼ç¤¾SWEET SIXTEENã®ç念ã¨ã®ã£ã©ãªã¼éå¶ã®ç¾å ´ã訪ããã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=95863`,date:`2026.04.11`,readTime:`9 min`,body:[`æ±äº¬é½æ¸¯åºåéå±±6-1-6 ãã¬ã¹éå±±209å·å®¤ââINSTINCT RAS ã®ãã£ã¸ã«ã«æ ç¹ã§ãããæ ªå¼ä¼ç¤¾SWEET SIXTEEN ã¨å
±ã«éå¶ããã®ã£ã©ãªã¼ãããã`,`SWEET SIXTEEN 代表ã¯èªãããæ¨ä»ãããããã®æ¹ã¨ã話ãããã¦é ãã¨ãæ
å ±æ ¼å·®ã»æèæ ¼å·®ãã¨ã¦ãæãããã¾ãããåå
¥æ ¼å·®ãéãä¸ãã¾ãèªåã®å¹¸ããã©ãã«ããã®ããèªåèªèº«ã§çè§£ãã¦ããªãæ¹ãå¤ãã®ã§ã¯ãªãã§ããããã`,`ãäººã¨æ¯ã¹ã¦ã©ããã人ãããã£ãããç©ãæã£ã¦ããããåã£ããæµè¡ã£ã¦ããããæ¬²ãããé«ä¾¡ãªç©ã身ã«ã¤ãã¦ããããåªã£ã¦ããââãããã䏿ã®ç絡çãªæºè¶³ã§ã¯ãªããæ ¹æ¬çãªå¹¸ç¦åº¦ããã£ã¨æ·±ãæã§ã®æ
12ºè¶³ã幸ãããäººã¯æ¬å½ã¯æ±ãã¦ããã`,`ãæã
ã¯ãããã¢ã¼ãã§ã¯ãªããã¨æãããã確信ãã¦ãããèªåã®çãæ¹ã»èãæ¹ãåæ ãããããªã表é¢çã§ã¯ãªãææ³ã®é¨åã§å
±æãæã¦ãã¢ã¼ãã好ãã®ãã®å
ã«ããæåãã¨ãã«ã®ã¼æº¢ããè±ãããç©ã¨ãã¦ã§ã¯ãªãã¤ã³ããªã¸ã§ã³ã¹ã¨ãã¦èªããã¢ã¼ããææãããã¨ã§ãããæ°¸ç¶çã§ãããå¯è½æ§ã®ããæ¬è³ªçãªè±ãããæã«å
¥ãã`,`ããããããã¨ã§ãã¢ã¼ããèªåããµãã¼ããã¦ããããã¢ã¼ãããã£ã¨èªç±ã«æãã人çã«è±ããã¨ã¢ã¤ãã¢ãæä¾ããããââãã®ç念ã¯ãINSTINCT RAS ã®éå¶ææ³ã®æ ¹ã«ç´æ¥ã¤ãªãã£ã¦ããã`,`æ±äº¬é½å
¬å®å§å¡ä¼ 第307712219295å·ââå¤ç©åã¨ãã¦ä¸æ¬¡ã»äºæ¬¡ã®ä¸¡å¸å ´ãæ±ããä½å¶ããç§ãã¡ã®ä½å®¶ä¿è·ã¨ã³ã¬ã¯ã¿ã¼æ¯æ´ãæ¯ãã¦ããã`]},{slug:`studio-visit-art-basel-basel-2026`,category:`STUDIO VISIT`,title:`ç¾å ´ã¬ãã¼ãï¼Art Basel Basel 2026ââä¸ä»£ãè¶
ãã対話ã`,excerpt:`2026å¹´6æãã¡ãã»ã»ãã¼ã¼ã«ãAlmine Rech ãã¼ã¹ãä¸å¿ã«ã20ä¸ç´ã®å·¨å ã¨ç¾ä»£ã®å£°ãã©ãç·¨ã¾ãã¦ããããè¨é²ããã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=95503`,date:`2026.06.22`,readTime:`10 min`,body:[`Art Basel Basel 2026 㯠6 æ 17æ¥ãã 21æ¥ãMesse Baselï¼Messeplatz 10, 4058 Basel, Switzerlandï¼ã§éå¬ããããç§ãã¡ãç¹ã«æéãå²ããã®ã¯ Booth E2ãAlmine Rech ã®ã°ã«ã¼ãå±ã ã`,`åºåä½å®¶ã¯ãPablo PicassoãLeonora CarringtonãRobert IndianaãTom WesselmannãDe Wain ValentineãMiquel BarcelóãLarry PoonsãRobert MotherwellãMartha JungwirthãHa Chong-HyunãVivian SpringfordãEmily MasonãSerge PoliakoffãKarel AppelãJoseph KosuthãHeinz MackãGeorge CondoãNathaniel Mary QuinnãTaryn SimonãKeita MorimotoãTomokazu MatsuyamaãHans Op de BeeckãOliver BeerãJi XinãChristopher Le BrunãYoungju JoungãJavier Callejaã`,`ãã¤ã©ã¤ãã¯ä¸ç¹ãPicasso ã®ç½é¶ã¦ãã¼ã¯ä½ãVisageãï¼1947, Vallaurisï¼ãRobert Indiana ã® Portoro 大çç³ãLOVEãï¼1966â2006ï¼ããã㦠Leonora Carrington ã®ããã³ãºãMujer con Zorroãï¼2010ï¼ââ女æ§ã¨ããããèã®ä¸ã§éãã«åã空éãå
±æããã彼女ã®ä¸ç観ãã®ãã®ã®ãããªåã ã£ãã`,`éå½ã®åè²ç»ï¼Dansaekhwaï¼ã®ä¸æ ¸ Ha Chong-Hyun ã®ãConjunctionããVivian Springford ã® 1974 å¹´ã®ã¹ãã¤ã³ã»ãã¤ã³ãã£ã³ã°ãLarry Poons ã®ææ°ä½ââ20ä¸ç´ã®æ½è±¡ããä¸ä»£ã¨å¤§é¸ãè¶
ãã¦ç¾ä»£ã¨å¯¾è©±ãã¦ããã`,`森æ¬åå¤ªã¨æ¾å±±æºä¸ãæ¥æ¬äººä½å®¶ã¨ãã¦ä¸¦ãã§ããã®ãå°è±¡çã ãç§ãã¡ INSTINCT RAS ãå½å
ã®ä¸æ¬¡ãã¼ã±ããããæ¬ãä¸ããä½å®¶ãã¡ããããããã®è¦æ¨¡ã®å ´ã«ä¸¦ã¶å§¿ãã確ããªæå¿ãã¨ãã¦æã¡å¸°ã£ãã`]},{slug:`studio-visit-tokyo-gendai-2025`,category:`STUDIO VISIT`,title:`ç¾å ´ã¬ãã¼ãï¼Tokyo Gendai 2025ââæ¨ªæµããä¸çã¸ã`,excerpt:`PACIFICO 横æµã§éå¬ããã Tokyo Gendai 2025ãAlmine Rech ãã¼ã¹ A04 ãèµ·ç¹ã«ãæ±äº¬ã¢ã¼ãã·ã¼ã³ã®ç¾å¨å°ã観測ããã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=25068`,date:`2025.09.16`,readTime:`9 min`,body:[`2025å¹´9æ11æ¥ãã14æ¥ãPACIFICO 横æµï¼ã220-0012 ç¥å¥å·ç横æµå¸è¥¿åºã¿ãªã¨ã¿ãã1-1-1ï¼ã§ Tokyo Gendai 2025 ãéå¬ããããAlmine Rech 㯠Booth A04 ã§ã¤ã³ã¿ã¼ã¸ã§ãã¬ã¼ã·ã§ãã«ãªæ§æã®ã°ã«ã¼ãå±ãçµãã ã`,`åºåã®ä¸å¿ã¯ãLarry Poons ã®ã¨ãã«ã®ãã·ã¥ãªæ½è±¡ãDylan Solomon Kraus ã®å¤¢ã®ãããªè±¡å¾´ä¸»ç¾©ãMehdi Ghadyanloo ã®å¹»æçãªç´ä½åãMarie Laurencin ã®20ä¸ç´åé ã®ç¹ç´°ãªçµµç»ããSam McKinniss ã®ç¾ä»£çãªãã¼ãã¬ã¼ãã Zio Ziegler ã®ç¥è©±çã»å¿ççæ§æã¨å¼å¿ããã`,`ç´ æå®é¨ã®è»¸ã§ã
12¯ãDustin Yellin ã®ä½å±¤ãã®ã¬ã©ã¹å½«å»ãSeed 8ãï¼2025ï¼ã¨ãGregor Hildebrandt ã®ã«ã»ãããã¼ãä½åãããã¦ç¹çãã¹ã㯠John Giorno ã®ãDial-a-Poem (Push-Button Edition)ãââ132人ã®è©©äººã»ã¢ã¼ãã£ã¹ãã«ãã 282æ¬ã®é²é³è©©ããå話å¨ãæã¡ä¸ãã¦è´ãè£
ç½®ã§ãããè¨èªãé³ãè¦è¦ãªãºã ãç価ã«ä¸¦ã¶ãã®ä½åã¯ãã¡ãã£ã¢ã®å¢çãéãã«æº¶ããã¦ããã`,`INSTINCT RAS ã¨ãã¦ã¯ãTokyo Gendai ã®ãããªå½éãã§ã¢ã横æµã«å®çãããã¨ã§ãæ¥æ¬ã®è¥ãä½å®¶ãä¸çã¨ã©ã®è·é¢ã§æ¥ç¶ã§ãããããæç¢ºã«è¦³æ¸¬ã§ããããã«ãªã£ãã`]},{slug:`studio-visit-kawashima-ren`,category:`STUDIO VISIT`,title:`ã¢ããªã¨è¨ªåï¼å·å³¶è®ã油絵å
·ã¨ç«è¬ã®å¢çã`,excerpt:`çç¼ã®çè·¡ãç»é¢ã«ç¼ãä»ããä½å®¶ã»å·å³¶è®ã®ã¢ããªã¨ã訪ããã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=10103`,date:`2026.03.28`,readTime:`7 min`,body:[`è¨åçã®ååº«ãæ¹è£
ããã¢ããªã¨ã¯ããã¤ãå°ãç¦ããåãããããå·å³¶è®ã¯ã油絵å
·ã®ä¸ã«å¾®éã®çºç
å¤ãç½®ããç¬éçã«çããã¦ãã®è·¡ãç»é¢ã«ç¼ãä»ããã`,`ãçããå ´æã¨éã¯ãããã¶äºåã«æ±ºãã¾ããå³èã¯äºæ
ã«ãªããââç«ãæ±ãä½å®¶ã»ã©ãè¨è¨å³ãç¶¿å¯ã«æããç«ã®å¹´ã«æåã«ç´¹ä»ãããã£ãä½å®¶ã®ä¸äººã ã`,`ç¾å¨ã¯ãä¸åã«ã¡ãªãã 12ç¹ã®ã·ãªã¼ãºãå¶ä½ä¸ãINSTINCT RAS ã§é 次å
¬éäºå®ã`]},{slug:`studio-visit-ono-mai`,category:`STUDIO VISIT`,title:`ã¢ããªã¨è¨ªåï¼å°é麻衣ãç´ã®ä¸ã®æ²é»ã`,excerpt:`åç´ã¨å²©çµµå
·ã§ãé³ã®ãªã風æ¯ãæãå°é麻衣ã®å¶ä½ãè¦å±ããã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=38361`,date:`2026.03.21`,readTime:`6 min`,body:[`å°é麻衣ã®ã¢ããªã¨ã¯äº¬é½è¥¿é£ã«ãããæºã®ä¸ã«ã¯ã楮ç´ã群éãç½ç¾¤ãè¡ç²ãããã¦è ãæ¸©ããé»ç±å¨ãæ¥ãè½ã¡ãåã«è ã®æ¸©åº¦ã確ããããã®æ¥ã®æ¹¿åº¦ã«åããã¦é
åãæ±ºããã`,`ãçµµã¯è³ã§æããã¨å½¼å¥³ã¯è¨ããå¤ã®å¸å ´ã®ããããã屿 ¹ã®é¨é³ãè¿æã®ç¬ã®å£°ââããããæ¶ããç¬éã«ãåãã¦çãåãã`,`å½¼å¥³ã®æ²é»ã¯ãç»é¢ã®ä¸ã§ãã¤ã¾ã§ãç¶ãã`]},{slug:`studio-visit-collective-tama`,category:`STUDIO VISIT`,title:`ã¢ããªã¨è¨ªåï¼å¤æ©ã®ã³ã¬ã¯ãã£ããå
±åå¶ä½ã¨ãã第6æã`,excerpt:`åã§ã¯ãªã群ã¨ãã¦å¶ä½ããè¥ãä½å®¶éå£ã®ç¾å ´ãããåµé ã®ç¤¾ä¼æ§ãèããã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=19233`,date:`2026.03.14`,readTime:`8 min`,body:[`夿©å·æ²¿ãã®å庫ãå
±åã§åãã7人ã®ä½å®¶ã°ã«ã¼ãã訪ãããå½¼ãã¯åå¥ã®ä½åãä½ãããæã«ä¸åº¦ãéå£å¶ä½æ¥ããè¨ããã²ã¨ã¤ã®å¤§ããªãã£ã³ãã¹ã«å
¨å¡ã§æãå
¥ããã`,`ãæåã®30åã§ãèªåã®æã®çãã»ã©ãã¦ãããã¨ã¡ã³ãã¼ã®ä¸äººã¯èªããè³ç§å¦çã«ã¯ãéå£çãªããã¼ç¶æ
ã®å
¥å£ã§ãã¼ããã³ã¨ãªãã·ãã·ã³ãåæã«å¢ããã¨ããå ±åãããã`,`ã³ã¬ã¯ãã£ãã®ä½åã¯ãINSTINCT RAS ã§åå¥ä½å®¶åã¨ãã³ã¬ã¯ãã£ãæ¥æ´ãã®ä¸¡æ¹ãä½µè¨ããå½¢ã§æ±ã£ã¦ããã䏿¬¡æ§ã®æ¦å¿µããè¤æ°ã®æã«éãã¦ãã試ã¿ã§ããã`]},{slug:`studio-visit-fukuda-rin`,category:`STUDIO VISIT`,title:`ã¢ããªã¨è¨ªåï¼ç¦ç°åãAIã¨æã®äºéå¥ã`,excerpt:`æ¡æ£ã¢ãã«ã®åºåãä¸çµµã«ã油絵ã§å¡ãç´ããAIæä»£ã®ãæãããåå®ç¾©ããä½å®¶ã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=42975`,date:`2026.03.07`,readTime:`9 min`,body:[`ç¦ç°åã¯ãèªä½ã®ããã³ããã§çæããç»åã A2 ã«ããªã³ããããã®ä¸ããæ²¹çµµã§å®å
¨ã«å¡ãç´ãã宿åããã¯ãAI ãèµ·ç¹ã ã£ããã¨ã¯ã»ã¨ãã©åãããªãã`,`ãAI ã¯ãç§ãæãã¤ããªãã£ãæ§å³ãè¦ãã¦ããããã§ããå¡ã£ã¦ããéã«ãç»é¢ã¯ããã¶ç§ã®ãã®ã«ãªãã`,`彼女ã®ä½åã¯ãAIæä»£ã«ããããæã®å¿
ç¶æ§ãããã£ã¨ãæå¿«ã«èªã£ã¦ããããINSTINCT RAS ã¯ãçæéç¨ã®ã¡ã¿ãã¼ã¿ãæ¥æ´ã«ä½µè¨ã
12ãç¬èªã®ãã©ã¼ãããã§ããããã®ä½åãæ±ãã`]},{slug:`art-therapy-what-it-is`,category:`ART THERAPY`,title:`ã¢ã¼ãã»ã©ãã¼å
¥éââçµµãæããã¨ããå¿ãæ´ããçç±ã`,excerpt:`1940年代ã«è±å½ã®ç»å®¶ã¨ã¤ããªã¢ã³ã»ãã«ãæå±ãã¦ä»¥æ¥ãå»çã¨å¿çã®ç¾å ´ã§çºå±ãã¦ããã¢ã¼ãã»ã©ãã¼ã®åºæ¬ã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=11236`,date:`2026.06.15`,readTime:`7 min`,body:[`ã¢ã¼ãã»ã©ãã¼ã¨ã¯ãçµµç»ã»å½«å»ã»ã³ã©ã¼ã¸ã¥ãªã©ã®é å½¢è¡çºãéãã¦ãè¨èã«ãªããªãææ
ãå¤å¨åããèªå·±ã¨å¯¾è©±ããå¿ççæ³ã§ããã1942å¹´ãè±å½ã®ç»å®¶ã¨ã¤ããªã¢ã³ã»ãã«ãçµæ ¸çé¤æã§æå±ããç±³å½ã§ã¯ãã¼ã¬ã¬ããã»ãã¦ã ãã¼ã°ãç²¾ç¥åæã¨æ¥ç¶ããã`,`è¨èªåãé£ãããã©ã¦ãããæ
¢æ§ç¼çãèªç¥çãçºéé害ã®é åã§ãã¨ããã³ã¹ãã¼ã¹ã®ä»å
¥ã¨ãã¦åºãã£ã¦ãããéè¦ãªã®ã¯ã䏿ãæããã¨ãã§ã¯ãªããæãåãããè²ãé¸ã³ãç»é¢ãçºããââãã®å
¨éç¨ãæ²»çè¦ç´ ã«ãªãã`,`INSTINCT RAS ã¯ã¢ã¼ããææã»éè³ããæåã®å´ã«ãããããã®æ ¹ã«ãçµµãè¦ããã¨èªä½ãè³ã¨å¿ãæ´ãããã¨ããè¨åºçäºå®ããããã¨ããæ¹ãã¦è¨ãã¦ããããã`]},{slug:`art-therapy-cortisol-and-color`,category:`ART THERAPY`,title:`è²ãå¡ã45åã§ãã³ã«ãã¾ã¼ã«ã¯ä¸ããã`,excerpt:`ãã¬ã¯ã»ã«å¤§å¦2016å¹´ã®ç ç©¶ââçµµãæãã被é¨è
ã®75%ã§ã¹ãã¬ã¹ãã«ã¢ã³ãææã«ä½ä¸ããã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=59677`,date:`2026.06.08`,readTime:`5 min`,body:[`Kaimal ãã«ãã2016å¹´ã®ç ç©¶ã§ã¯ãå¥å¸¸æäºº39åã«45åéã®èªç±å¶ä½ï¼ç²åã»ãã¼ã«ã¼ã»ã³ã©ã¼ã¸ã¥ï¼ãè¡ãããåå¾ã§å¾æ¶²ä¸ã³ã«ãã¾ã¼ã«æ¿åº¦ã測å®ããã75%ã®è¢«é¨è
ã§ææãªä½ä¸ãèªããããã`,`è峿·±ãã®ã¯ãç¾è¡çµé¨ã®æç¡ã¨å¹æã«ç¸é¢ããªãã£ããã¨ããæãæè¡ããããæãæéããã®ãã®ããå¯äº¤æç¥çµç³»ãåªä½ã«ãã¦ããã`,`é±ã«ä¸åº¦ãçµµçãæ¡ãç¿æ
£ã¯ãçæ³ãã¨ã¬ã¨åãåã«ä¸¦ã¶èªå·±ã±ã¢ã«ãªãã`]},{slug:`art-therapy-dementia-care`,category:`ART THERAPY`,title:`èªç¥çã±ã¢ã¨ã¢ã¼ãââè¨æ¶ãæ¶ãã¦ããè²ã¯æ®ãã`,excerpt:`MoMA ã® Meet Me ããã°ã©ã ããå½å
ä»è·æ½è¨ã®å®è·µã¾ã§ãçµµãé«é½¢è
ã® QOL ã«ä¸ãã广ã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=18943`,date:`2026.06.01`,readTime:`8 min`,body:[`ãã¥ã¼ã¨ã¼ã¯è¿ä»£ç¾è¡é¤¨ï¼MoMAï¼ã2007å¹´ããç¶ãããMeet Me at MoMAãã¯ãèªç¥çã®äººã¨ãã®å®¶æãã®ã£ã©ãªã¼ã«æãã対話åéè³ãè¡ãããã°ã©ã ãåå è
ã®ä¸å®ã¹ã³ã¢ã¨ä»è·è
ã®è² æ
æã®ä¸¡æ¹ãä½ä¸ãããã¨ã示ãããã`,`å½å
ã§ãã社ä¼ç¦ç¥æ³äººãèªç¥çãã¤ã±ã¢ã§ã¢ã¼ãéè³ã»å¶ä½ããã°ã©ã ãå°å
¥ããå§ãã¦ãããã¨ãã½ã¼ãè¨æ¶ãèãã¦ããææ
è¨æ¶ã¨ç¾çåå¿ã¯æå¾ã¾ã§æ®ãã`,`ã¢ã¼ãã¯ãæå¾ã¾ã§æ¬äººããéè³è
ãã¨ãã¦æ±ãç¶ããæ°å°ãªãææ®µã§ããã`]},{slug:`art-therapy-trauma-and-image`,category:`ART THERAPY`,title:`ãã©ã¦ãã¨ç»åââè¨èã«ãªããªããã®ãæãã`,excerpt:`ããã»ã«ã»ã´ã¡ã³ã»ãã¢ã»ã³ã¼ã¯ã®è¨åºç¥è¦ã¨ãPTSD ã±ã¢ã«ãããã¢ã¼ãã»ã©ãã¼ã®ä½ç½®ã¥ãã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=82958`,date:`2026.05.25`,readTime:`8 min`,body:[`ãã©ã¦ãè¨æ¶ã¯ãè¨èªãå¸ãããã¼ã«éã§ã¯ãªããæè¦ã¨ç»åãæ±ãå³åçã«ä¿åãããããââã´ã¡ã³ã»ãã¢ã»ã³ã¼ã¯ã®èæ¸ã身ä½ã¯ãã©ã¦ããè¨é²ãããã¯ãã®ç¥è¦ãåºããã`,`ã ãããããè¨èã«ããã«ã¦ã³ã»ãªã³ã°ãå±ããªãé åã«ãçµµã¨ããéè¨èªã®çµè·¯ãæå¹ã«ãªããç½å®³æ¯æ´ã»é£æ°æ¯æ´ã»æ§æ´å被害è
ã±ã¢ã®ç¾å ´ã§ãã¢ã¼ãã»ã©ãã¼ã¯æ¨æºçãªé¸æè¢ã«ãªãã¤ã¤ããã`,`ãæããç¬éãèªåã®å¤å´ã«ãããç½®ãããââå¤ãã®å½äºè
ãå
±éãã¦èªãæè¦ã¯ãå¤å¨åï¼externalizationï¼ã¨å¼ã°ããæ²»çæ©åºãã®ãã®ã ã`]},{slug:`art-therapy-children-emotional-literacy`,category:`ART THERAPY`,title:`åã©ãã®æ
åãªãã©ã·ã¼ããçµµã§è²ã¦ãã`,excerpt:`æè²ç¾å ´ã§åºãã SELï¼ç¤¾ä¼æ§ã¨æ
åã®å¦ç¿ï¼ã¨ãçµµç»ã¯ã¼ã¯ã®ç¸æ§ã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=455`,date:`2026.05.18`,readTime:`6 min`,body:[`SELï¼Social and Emotional Learningï¼ã¯ O
12ECD ãæ¨å¥¨ãã21ä¸ç´ã®ã³ã¢ã»ã³ã³ããã³ã·ã¼ãèªåã®ææ
ãèå¥ããä»è
ã®ææ
ãçè§£ããé¢ä¿ãç¯ãââãã®å
¥ãå£ã¨ãã¦ãæããã¯å¼·åãªãã¼ã«ã«ãªãã`,`ããã¾æã£ã¦ããè²ãå¡ã£ã¦ã¿ãããã¨ä¿ãã¨ãåã©ãã¯èµ¤ãé»ã ãã§ãªãããã°ãã°æå¤ãªè²ãé¸ã¶ãè²å½©ã¯ææ
ã®åæã«ãªãã`,`å®¶åºã§ããææ
æ¥è¨ã®ä»£ããã«ãè²ã®æ¥è¨ããç¶ããã ãã§ãåã©ãã¯èªåã®å
å´ãè¦ãçãç²å¾ããã`]},{slug:`art-therapy-collecting-as-self-care`,category:`ART THERAPY`,title:`ã³ã¬ã¯ã·ã§ã³ããã¨ãããã¨ââææã®å¿çå¦ã`,excerpt:`ã¢ã¼ããå®¶ã«ç½®ããã¨ã¯ããªãã»ã«ãã±ã¢ã«ãªãã®ããæççè«ã¨ç°å¢å¿çå¦ããèªã¿è§£ãã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=61728`,date:`2026.05.11`,readTime:`7 min`,body:[`ç°å¢å¿çå¦ã§ã¯ãèªåã§é¸ãã è¦è¦è¦ç´ ã«å²ã¾ãã空éã¯ãã¹ãã¬ã¹åå¿ãææã«ä¸ãããã¨ãç¥ããã¦ãããã¢ã¼ãã®é¸æè¡çºãã®ãã®ããèªå·±ã®å¢çãå¼·åããåå¼ã«ãªãã`,`ã¾ãæççè«ã®è¦³ç¹ã§ã¯ãç¹°ãè¿ãçºããä½åã¯ãç§»è¡å¯¾è±¡ãã¨ãã¦æ©è½ããä¸å®å®ãªæ¥ã
ã«å®å
¨åºå°ãæä¾ãããåã©ãã®ã¬ãããã¿ã大人ã«ã¨ã£ã¦ã®ä¸æã®çµµã«ç½®ãæããã`,`ã³ã¬ã¯ã·ã§ã³ã¯æè³ã§ããåã«ãã¾ãèªå·±æ²»çã§ãããINSTINCT RAS ã䏿¬¡ãã¼ã±ããã大åã«ããçç±ã®ã²ã¨ã¤ã§ãããã`]},{slug:`art-therapy-hospital-walls`,category:`ART THERAPY`,title:`ç
é¢ã®å£ã¨ã¢ã¼ãââæ²»çç°å¢ã¨ãã¦ã®è¦è¦ã`,excerpt:`ãã¸ã£ã¼ã»ã¦ã«ãªããã®å¤å
¸ç ç©¶ãããç¾ä»£ã®ãã«ã¹ã±ã¢ã»ã¢ã¼ãã»ããã°ã©ã ã¾ã§ã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=12354`,date:`2026.05.04`,readTime:`6 min`,body:[`1984å¹´ããã¸ã£ã¼ã»ã¦ã«ãªããã Science èªã§çºè¡¨ããå¤å
¸çç ç©¶ã¯ãè¡å¾ç
室ããæ¨ã
ãè¦ããæ£è
ã®æ¹ããã¬ã³ã¬å£ãè¦ãæ£è
ããå
¥é¢æ¥æ°ãçããé®çå¤ä½¿ç¨éãå°ãªããã¨ã示ããã`,`以éãæ¬§ç±³ã®ä¸»è¦ç
é¢ã¯ãArts in Healthãããã°ã©ã ãæ¡ç¨ããå»ä¸ãå¾
å室ãç·©åã±ã¢ç
æ£ã«æå³çã«ã¢ã¼ããé
ç½®ãã¦ãããèªç¶ã®ã¢ãã¼ããç©ãããªæ½è±¡ãå°åä½å®¶ã®ä½åãå¤ç¨ãããã`,`è¦è¦ç°å¢ã¯æ²»çã®ä¸é¨ã§ããââãã®åæã¯ãä½å®
ã»ãªãã£ã¹ã»å¦æ ¡ã«ãçããå½ã¦ã¯ã¾ãã`]},{slug:`art-therapy-mindful-looking`,category:`ART THERAPY`,title:`ãã¤ã³ããã«ã»ã«ããã³ã°ââ䏿ã10åçºããç·´ç¿ã`,excerpt:`ã¤ã§ã¼ã«å¤§å¦å»å¦é¨ã®è¦³å¯åãã¬ã¼ãã³ã°ãEnhancing Observation Skillsãã«å¦ã¶ãéè³ã¨ããçæ³ã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=30979`,date:`2026.04.27`,readTime:`5 min`,body:[`ã¤ã§ã¼ã«å¤§å¦å»å¦é¨ã¯2001å¹´ãããå»å¦çã«çµµç»éè³ãå¿
ä¿®åãã¦ãããæ£è
ã®çç¶ããè¦è½ã¨ããªãç®ããè²ã¦ãããã ã䏿ã®çµµã10åéãç¡è¨ã§è¦³å¯ãã観å¯äºå®ã ããè¨è¿°ããã`,`ãã®è¨ç·´ã¯ã診æç²¾åº¦ã®åä¸ã ãã§ãªããå
±ææ§ã¹ã³ã¢ã®ä¸æã¨ãã¼ã³ã¢ã¦ãä½ä¸ã«ãå¯ä¸ãããã¨ãå ±åããã¦ããã`,`å®¶ã«ãã䏿ããæã®10åããã çºãããããã ãã§ä¸æ¥ã®è§£å度ãå¤ããââã¢ã¼ãã»ã©ãã¼ã®æãç°¡åãªå®è·µã§ããã`]},{slug:`global-trends-2026-overview`,category:`GLOBAL TRENDS`,title:`2026å¹´ãä¸çã®ã¢ã¼ããã¼ã±ããã®ç¾å¨å°ã`,excerpt:`UBS / Art Basel ã¬ãã¼ããèµ·ç¹ã«ãã°ãã¼ãã«å¸å ´ã®ç¸®å°ã¨ä¸æ¬¡ãã¼ã±ããã®åºå
ããèªãã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=31591`,date:`2026.06.17`,readTime:`8 min`,body:[`Art Basel & UBS Global Art Market Report 2026 ã«ããã°ãä¸çã®ç¾è¡å売ä¸ç·é¡ã¯åå¹´æ¯ã§å¾®æ¸ã䏿¹ã§ 5ä¸ãã«ä»¥ä¸ã®ã»ã°ã¡ã³ãã®åå¼ä»¶æ°ã¯å¢å ããè¥ãã³ã¬ã¯ã¿ã¼å±¤ã¨ä¸æ¬¡ãã¼ã±ããã®æ´»æ³ãå¸å ´å
¨ä½ã䏿¯ããã¦ããã`,`å°åå¥ã§ã¯ãç±³å½ãã·ã§ã¢ãç¶æãä¸å½æ¬åã調æ´å±é¢ãéå½ã¨ã¤ã³ããæé·ãæ¥æ¬ã¯ Tokyo Gendai ã®å®çã§å½éçå¯è¦æ§ãä¸ãããæµ·å¤ãªã¼ã¯ã·ã§ã³ã§ã®æ¥æ¬äººä½å®¶è½æãå¢å å¾åã«ããã`,`ãå·¨é¡ã®äºæ¬¡åå¼ããããæ°å¤ã®ä¸æ¬¡åå¼ãããããããã®å¸å ´ã®è¼ªéãã¤ããââINSTINCT RAS ãç«èããã®ã¯ããã®æ½®ç®ã§ããã`]},{slug:`global-trends-pick-refik-anadol`,category:`GLOBAL TRENDS`,title:`PICKï¼Refik AnadolââAIã§æããæ©æ¢°ã®å¤¢ãã`,excerpt:`MoMA ãç®åãã«ä¸çä¸ã®ç¾è¡é¤¨ã§å¸¸è¨å±ç¤ºãç²å¾ããããã¼ã¿ã»ã¢ã¼ãã®ææã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=143`,date:`2026.06.13`,readTime:`6 min`,body:[`ãã«ã³çã¾ãã»ããµã³ã¼ã«ã¹æ ç¹ã® Refik Anadol ã¯ãè¡æç»åã»èªç¶ãã¼ã¿ã»ç¾è¡é¤¨ã¢ã¼ã«ã¤ããå¦ç¿ãããçæã¢ãã«ã§å·¨å¤§ãªæ å彫å»ãå¶ä½ãããMoMAãUnsupervisedãï¼2022ãï¼ã¯ãè¿ä»£ç¾è¡é¤¨ã®ã³ã¬ã¯ã·ã§ã³å
¨ä½ã AI ã«å¤¢è¦ãããä½åã¨ãã¦è©±é¡ãç¬å ããã`,`å½¼ã®ä½åã¯ãAI ã¨ã¢ã¼ããã®è°è«ã§å¸¸ã«åç
§ç¹ã«ãªããéè¦ãªã®ã¯ãå½¼ãåã«åºåãè¦ããã®ã§ã¯ãªãããã¼ã¿ã»ããã®é¸å®ã»ãã¥ã¬ã¼ã·ã§ã³ã»ç©çè¨ç½®ã¾ã§ãä½åã®å°ç¨ã«å«ãã¦ããç¹ã ã`,`AIæä»£ã®ã¢ã¼ãã£ã¹ãã¯ãããã³ãããæ¸ã人ãã§ã¯ãªããããã¼ã¿ã»ãããç·¨ã人ãã§ããââãã®è¼ªéãæãæç¢ºã«ç¤ºãã¦ããä½å®¶ã®ä¸äººã`]},{slug:`global-trends-pick-flora-yukhnovich`,category:`GLOBAL TRENDS`,title:`PICKï¼Flora Yukhnovichââãã³ã³ã溶ããè±å½ã®æ°æã`,excerpt:`ãµã¶ãã¼ãºã§äºæ³ä¾¡æ ¼ã®10åè¶
ãè¨é²ããã1990å¹´çã¾ãã®è±å½ç»å®¶ã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=28401`,date:`2026.06.06`,readTime:`5 min`,body:[`Flora Yukhnovich ã¯ããã©ã´ãã¼ã«ãã´ã¡ãã¼ã¨ãã£ã18ä¸ç´ãã³ã³ã®æ§å³ããæ½è±¡ã®èªå½ã§æº¶ããç´ãç»å®¶ã2021å¹´ã®ãµã¶ãã¼ãºã§ãI'll Have What She's Havingããç´ 270 ä¸ãã³ãã§è½æãããä¸å¤ã«ãã¦å¸å ´ã®ä¸å¿ã«èºãåºãã`,`彼女ã®ç触ã¯ãã¸ã§ã³ãã¼åãããããã§ããã³ããªè²å½©ââèæ¡ãã¯ãªã¼ã ãè«ââãéæã«åããç·æ§çãªæ½è±¡è¡¨ç¾ä¸»ç¾©ã®èº«æ¯ãã§å¡ãéãããã¢ã¼ããã¹ããªã¼ã¸ã®æ¹è©ã¨ãç´ç²ãªè¦è¦ç快楽ãåå±
ããã`,`ã¤ã³ã°ã»ãã«ã¼ãããä¸ä»£ã®ä»£è¡¨æ ¼ã¨ãã¦ã2026å¹´ãæ³¨ç®åº¦ãè¡°ããå
ãã¯ãªãã`]},{slug:`global-trends-pick-issy-wood`,category:`GLOBAL TRENDS`,title:`PICKï¼Issy Woodââãã«ãããã«æããç§çãªæ¶è²»ç¤¾ä¼ã`,excerpt:`ã¬ã´ã·ã¢ã³æå±ããã¥ã¼ã¸ã·ã£ã³ã§ãããç±³è±ã®ä½å®¶ãéãå
ãç»é¢ã®è³ªæã¯å¯ä¸ç¡äºã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=41728`,date:`2026.05.30`,readTime:`6 min`,body:[`Issy Wood ã¯ãã«ããããåå¡ããã£ã³ãã¹ã«ãéå¨ãæ¯ç®ãè»ã®ããã·ã¥ãã¼ãã人ç©ã®æçãæããè²ã¯éãæ²ã¿ãç»é¢ã¯è§¦è¦çã ãæ¶è²»ç¤¾ä¼ã¸ã®ææããç®èã§ãåçºã§ããªããæ¥è¨ãã¨ãã¦æãç¨æãªãã¸ã·ã§ã³ã`,`鳿¥½æ´»åã§ãç¥ãããMark Ronson ãããã¥ã¼ã¹ã®ã¢ã«ãã ããªãªã¼ã¹ãè¦è¦ã¨é³æ¥½ãç価ã«å¾å¾©ããä½å®¶åã¯ãZ ä¸ä»£ä»¥éã®ãã¼ã«ã¢ãã«ã«ãªã£ã¦ããã`,`ã¬ã´ã·ã¢ã³ãMichael Werner ãªã©ã®å¤§æç»å»ãæ©æã«åãæ±ããéå§ããäºæ¬¡å¸å ´ã§ãå®å®ããéè¦ãæã¤ã`]},{slug:`global-trends-pick-rachel-jones`,category:`GLOBAL TRENDS`,title:`PICKï¼Rachel Jonesââæ¯ã¨å£è
ããç«ã¡ä¸ããæ½è±¡ã`,excerpt:`1991å¹´ãã³ãã³çã¾ããã¯ã¬ã¨ã³ã¨æ²¹å½©ã§ãå
é¢ã®é¢¨æ¯ãã巨大ç»é¢ã«å±éããä½å®¶ã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=12047`,date:`2026.05.23`,readTime:`5 min`,body:[`Rachel Jones ã¯ãæ¯ã»å£ã»èã¨ãã£ã身ä½ã®å
é¨ã¢ãã¼ããæ½è±¡åããæ²¹å½©ã¯ã¬ã¨ã³ã®å¼·ãè²é¢ã§æ§æãããããºã³ãã¼ã«ã»ã®ã£ã©ãªã¼åå±ãããªãã¸ã»ãã¯ãã£ã¼ã»ã®ã£ã©ãªã¼å±ç¤ºã§è±å½ç»å£ã®ä¸å¿ã«èºãåºãã`,`é»äººå¥³æ§ã¢ã¼ãã£ã¹ãã¨ãã¦ãæ´å²çã«ãæãããå´ãã ã£ã身ä½ããæãå´ãã«ç½®ãç´ãââãã®èº«æ¯ãã¯ããã¹ãã»ã³ããã¢ã«æ¹è©ã¨ç´ç²ãªçµµç»ã®åã³ãåæã«æç«ãããã`,`Thaddaeus Ropac ã§ã®æ±ããå§ã¾ããã°ãã¼ãã«ãªè©ä¾¡ãå éãã¦ããã`]},{slug:`global-trends-pick-matthew-wong-legacy`,category:`GLOBAL TRENDS`,title:`PICKï¼Matthew Wongââéºããã風æ¯ç»ã®å¸å ´åè©ä¾¡ã`,excerpt:`2019å¹´ã«æ©éããä¸å½ç³»ã«ãã人ç»å®¶ã没å¾5å¹´ã§äºæ¬¡å¸å ´ä¾¡æ ¼ã10åã«éããç¨æãªä¾ã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=86274`,date:`2026.05.16`,readTime:`7 min`,body:[`Matthew Wong ã¯ç¬å¦ã®ç»å®¶ã§ãã´ãããããã£ã¹ãæãããè²å½©ã¨æ±æ´ã®å±±æ°´ç»çæ§å³ãèåããã風æ¯ç»ãæ®ããã2019å¹´ã35æ³ã§èªãå½ãçµ¶ã¡ããã®å¾äºæ¬¡å¸å ´ã§ä¾¡æ ¼ãæ¥é¨°ã2023å¹´ã¯ãªã¹ãã£ã¼ãºã§ã¯ãThe Realm of Appearancesããç´ 500 ä¸ãã«ã§è½æãããã`,`æ²åã«ããç¨å°æ§ã ããçç±ã§ã¯ãªããå½¼ã®ä½åã¯ãå¤ç¬ã¨æ§ãã¨ããæ®éçãªææ
ããè¦ããã¨ã®ãªãè²ã§èªãââã³ã¬ã¯ã¿ã¼ã¯ãã®åè·¯ã«å¼·ãåå¿ããã`,`ãçãæ´»åæéãå¼·ãä½åãæç¢ºãªç©èªãã®ä¸æåã¯ãäºæ¬¡å¸å ´ã«ãããåè©ä¾¡ã®å
¸åãã¿ã¼ã³ã¨ãã¦ç¹°ãè¿ãåç
§ãããã`]},{slug:`global-trends-asia-rising`,category:`GLOBAL TRENDS`,title:`TRENDï¼ã¢ã¸ã¢ãä¸çã®çºä¿¡æºã«ãªã5ã¤ã®çç±ã`,excerpt:`ã½ã¦ã«ãæ±äº¬ã䏿µ·ã馿¸¯ãã¸ã£ã«ã«ã¿ââ西ããæ±ã¸éå¿ãåãæ§é çèæ¯ãæ´çããã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=65407`,date:`2026.05.09`,readTime:`8 min`,body:[`Frieze SeoulãTokyo GendaiãArt Basel Hong KongãART SGï¼ã·ã³ã¬ãã¼ã«ï¼ãArt Jakartaââã¢ã¸ã¢ã®ãã§ã¢å°å³ã¯ãã®5å¹´ã§å®å
¨ã«æ¸ãæãã£ããAlmine RechãPaceãLehmann MaupinãPerrotin ãªã©æ¬§ç±³ã¡ã¬ã®ã£ã©ãªã¼ã®ã¢ã¸ã¢å¸¸è¨æ ç¹ãå¢ãã¦ããã`,`èæ¯ã«ã¯ã(1) è¥ãã³ã¬ã¯ã¿ã¼å±¤ã®åã¿ã¨è³¼è²·åã(2) ãã¸ã¿ã«ãã¤ãã£ããªéè³æåã(3) å彿¿åºã®æåæ¿çã¨å
ç¨æ ã(4) ç¾è¡é¤¨å»ºè¨ã©ãã·ã¥ã(5) ã¢ã¸ã¢å
ã®ä½å®¶ãããã¯ã¼ã¯å¯åº¦ââã¨ãã5ã¤ã®æ§é è¦å ãããã`,`æ¥æ¬ã®è¥æä½å®¶ã«ã¨ã£ã¦ãããã¯ãæ¥æ¬ã§è©ä¾¡ããã¦ããä¸çã¸ãã§ã¯ãªãããã¢ã¸ã¢ã®é£å½ã¨åæã«ä¸çã¸ãã¨ããå°ç¶ãã®é¸æè¢ãéããããã¨ãæå³ããã`]},{slug:`global-trends-figurative-return`,category:`GLOBAL TRENDS`,title:`TRENDï¼å
·è±¡çµµç»ã®å帰ââãªãä»ã人ç©ç»ãã`,excerpt:`Jenna GribbonãSalman ToorãDoron Langberg ââã親å¯ãªå
·è±¡ããå¸å ´ã®ä¸»å½¹ã«ãªã£ãçç±ã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=66446`,date:`2026.05.02`,readTime:`7 min`,body:[`2020年代ååãããæ¬§ç±³å¸å ´ã§ã¯å
·è±¡çµµç»ââç¹ã«è¦ªå¯ãªäººç©é¢ä¿ãæãçµµââã䏿°ã«å卿ãå¢ãããJenna Gribbon ã®æäººãæããé£ä½ãSalman Toor ã®ã¯ã£ã¢ãªæ¥å¸¸ãDoron Langberg ã®å®¶æã®ãã¼ããããããç§çãªæ
æ¯ããå ã
ã¨å
Œ
±ã®å ´ã«ç½®ã強度ãæã¤ã`,`èæ¯ã«ã¯ãSNS ã§ãä»äººã®ç§çæ´»ããè¦ç¶ãã¦ããä¸ä»£ã®è¦è¦çãªãã©ã·ã¼ããããæ½è±¡ããå
·è±¡ã群è¡ããä¸å¯¾ä¸ãè±éèããæ¥å¸¸ââã¹ã±ã¼ã«ã®è»¢åãèµ·ãã¦ããã`,`æ¥æ¬ã®è¥æã«ã
12ããã®æ½®æµã«å¼å¿ããä½å®¶ã確å®ã«è²ã£ã¦ãããINSTINCT RAS ã䏿¬¡ãã¼ã±ããã§æ¬ãä¸ãããã¬ã¤ã¤ã¼ã§ããã`]},{slug:`global-trends-textile-craft`,category:`GLOBAL TRENDS`,title:`TRENDï¼ããã¹ã¿ã¤ã«ã¨å·¥è¸ã®è¶å¢ââçµµç»ã®é£ã®é åã`,excerpt:`Igshaan AdamsãDiedrick BrackensãPacita Abad åè©ä¾¡ââãå¸ããç¾ä»£ç¾è¡ã®ä¸å¿ã¸ã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=74891`,date:`2026.04.25`,readTime:`7 min`,body:[`ã´ã§ããã¢ã»ãã¨ã³ãã¼ã¬ããã¯ã¡ã³ã¿ã®è¿å¹´çã§ç¹°ãè¿ã主役ã«ãªã£ã¦ããã®ããããã¹ã¿ã¤ã«ä½åã ãåã¢ããªã«ã® Igshaan Adamsãç±³å½ã® Diedrick Brackensããã£ãªãã³ç³»ç±³å½äºº Pacita Abad ã®æ²¡å¾åè©ä¾¡ââãçµµç»ã¨å·¥è¸ã®é層ããè§£ä½ããæµããæ¬æ ¼åãã¦ããã`,`æ´å²çã«ã女æ§çããè£
飾çããé西æ´çãã¨ããå¨ç¸åããã¦ããç´ æããã°ãã¼ãã«ãµã¦ã¹ãã¸ã§ã³ãã¼æ¹è©ã®æèã§ä¸å¿ã«ç½®ãç´ããã¦ããã`,`æ¥æ¬ã®æç¹ã»åºç¹ã»ãã¡ã¤ãã¼ã¢ã¼ãã®ä½å®¶ãã¡ã«ã¨ã£ã¦ããããã¯å¤§ããªè¿½ã風ã«ãªãã`]},{slug:`fragrance-as-art`,category:`FRAGRANCE`,title:`é¦ããã¢ã¼ãã§ããââå
è¦ã¨ãããããã²ã¨ã¤ã®çµµç»ã`,excerpt:`è¦è¦ã¨è´è¦ã®é£ã«ãå
è¦ã®è¸è¡ãããã調é¦å¸«ã·ã»ã«ã»ãã©ã¼ã¹ãã·ã¼ã©ã»ã¸ãªã¨ã®å®è·µããã`,cover:Se,date:`2026.06.16`,readTime:`7 min`,body:[`ãã«ã¦ã§ã¼ã®ã¢ã¼ãã£ã¹ã Sissel Tolaas ã¯ãé½å¸ã®ç©ºæ°ã人éã®æ±ãå»å¢ã®åããæ¡åãã¦ã¤ã³ã¹ã¿ã¬ã¼ã·ã§ã³ã«å¤æãããMoMAããã¼ããã·ã£ãã«ç ç©¶æã¨ååããå
è¦ãç¾ä»£ç¾è¡ã®æ£è¦ã¡ãã£ã¢ã¨ãã¦å®çãããä¸äººã ã`,`ãã©ã³ã¹ã® Cécile Guieu ããã°ãã²ã³ãã¤ã ã§å
è¦å±ç¤ºãè¡ã£ã Sean Raspetââãå
è¦ã¢ã¼ãï¼Olfactory Artï¼ãã¯ãã®10å¹´ã§ç¢ºããªé åã«ãªã£ããé¦ãã¯æé軸ãæã¡ã空éãæºãããè¨æ¶ã«ç´æ¥æ¸ãè¾¼ã¾ãããçµµç»ã¨é³æ¥½ã®ä¸éã«ä½ç½®ããã第ä¸ã®è¸è¡ã§ããã`,`INSTINCT RAS ã¯ãçµµç»ã»ãã¹ã¿ã¼ã»åçã»é¶è¸ã®é£ã«ãé¦ããç½®ããéè³ããã対象ã¨ãã¦ã®ãã¬ã°ã©ã³ã¹ããã¢ã¼ãã¨åãéãã§æ±ã£ã¦ããã`]},{slug:`fragrance-amygdala-and-memory`,category:`FRAGRANCE`,title:`ãã«ã¼ã¹ã广ââãªãé¦ãã¯è¨æ¶ãå¼ã³æ»ãã®ãã`,excerpt:`å
è¦ã¯äºæã®ä¸ã§å¯ä¸ãè¦åºãçµç±ããææ¡ä½ã¨æµ·é¦¬ã«ç´çµãããç¥çµç§å¦ã説æãããé¦ãã®ç¹æ¨©ã`,cover:Dl,date:`2026.06.09`,readTime:`6 min`,body:[`ãã«ã»ã«ã»ãã«ã¼ã¹ãã失ãããæãæ±ãã¦ãã§ãç´
è¶ã«æµ¸ããããã¬ã¼ãã®é¦ãã幼尿ã®è¨æ¶ãå¼ã³æ»ãââãã®æåãªå ´é¢ã¯ãç¥çµç§å¦çã«ãæ£ãããå
è¦æ
å ±ã¯ãä»ã®æè¦ã¨éã£ã¦è¦åºãçµç±ãããææ¡ä½ï¼æ
åï¼ã¨æµ·é¦¬ï¼è¨æ¶ï¼ã«ç´æ¥å±ãã`,`ã ããé¦ãã¯ãè¨èãç»åãããæ·±ããæ¬äººããå¿ãã¦ããè¨æ¶ãä¸ç¬ã§èããããèªç¥çã®åæ³æ³ï¼ãªãããã»ã³ã¹ã»ã»ã©ãã¼ï¼ã§é¦ãã使ãããã®ãããã®çµè·¯ã®å¼·ãã«ç±æ¥ããã`,`ã¢ã¼ãã¨é¦ããåã空éã«ç½®ããã¨ã¯ãè¦è¦è¨æ¶ã¨å
è¦è¨æ¶ãåæã«ä½å®¶ã®æã«å§ããè¡çºã§ããã`]},{slug:`fragrance-aromatherapy-evidence`,category:`FRAGRANCE`,title:`ã¢ããã»ã©ãã¼ã®ã¨ããã³ã¹ââ精油ã¯ãæ¬å½ã«å¹ãã®ãã`,excerpt:`ã©ãã³ãã¼ã®ä¸å®ä½æ¸ãããã¼ãã³ãã®æ³¨æåãææ©ã®æ°å䏿ââè¨åºç ç©¶ã§ç¢ºããããã广ã¨éçã`,cover:Ce,date:`2026.06.02`,readTime:`7 min`,body:[`ã¢ããã»ã©ãã¼ã¯æ°éçæ³ã¨çä»ããããã¡ã ããè¿å¹´ã®ã·ã¹ãããã£ãã¯ã»ã¬ãã¥ã¼ã§ã¯è¤æ°ã®ç²¾æ²¹ã«åç¾æ§ã®ãã广ã示ããã¦ãããã©ãã³ãã¼ç²¾æ²¹ã¯è¡åä¸å®ã¨ç¡ç æ½æãææã«æ¹åãï¼J Clin Nurs, 2019 ã¡ã¿è§£æï¼ãããã¼ãã³ãã¯æç¶çæ
12³¨æèª²é¡ã®ã¹ã³ã¢ãä¸ããã`,`ææ©ç³»ï¼ãã«ã¬ã¢ããã»ã¹ã¤ã¼ããªã¬ã³ã¸ï¼ã¯å¯äº¤æç¥çµæ´»åãé«ããã³ã«ãã¾ã¼ã«ä½ä¸ã¨æ°å䏿ãå ±åããã¦ããã䏿¹ããã£ã¼ããªã¼ãã¦ã¼ã«ãªã®æèä½ç¨ã¯ in vitro 㨠in vivo ã§å·®ããããéä¿¡ã¯ç¦ç©ã ã`,`éè¦ãªã®ã¯ãé¦ããå
ããã¨ããè¡çºèªä½ãå¼å¸ãæ·±ããèªå¾ç¥çµãæ´ããã¨ããåºç¤å¹æã精油ã®é¸æã¯ããã®ä¸ã«ä¹ãå奿é©åã§ããã`]},{slug:`fragrance-and-beauty-medical`,category:`FRAGRANCE`,title:`ç¾å®¹ã¨å»çã®äº¤å·®ç¹ââã¹ãã³ã±ã¢Ãé¦ãã®æ°ããè¨è¨ã`,excerpt:`ç®èç§å¦ã¨ãã¬ã°ã©ã³ã¹ãã¶ã¤ã³ãèåãããæ©è½æ§ãã¼ã¹ã»ãã¼ãã®æä»£ã`,cover:Ol,date:`2026.05.26`,readTime:`7 min`,body:[`è¿å¹´ã®é«æ©è½ã¹ãã³ã±ã¢ã¯ãæå¹æåã¨åãã¬ãã«ã§ãé¦ãã®è¨è¨ããåå価å¤ã«çµã¿è¾¼ããAesopãAÄsopãDiptyqueãSHIRO ã®ãããªå½éãã©ã³ãã¯ã調é¦å¸«ã社å
ã«æã¡ãæ¯æ¥ä½¿ãè¡çºã«ãå礼ããåãè¾¼ãã§ããã`,`è³çå ããã¼ã©ã®ç ç©¶æã¯ãé¦ããç®èã®äº¤æç¥çµæ´»åã¨å¾®å°å¾ªç°ã«ä¸ããå½±é¿ãè¨æ¸¬ãé¦ãã¯ç®èããªã¢æ©è½ã»ç¡ç ã®è³ªã»ãã«ã¢ã³ãã©ã³ã¹ã«ã¾ã§ä½ç¨ãããã¨ãåããå§ãã¦ããã`,`ç¾å®¹ã¨å»çã¨é¦ãã¯ãããããå¥é åã§ã¯ãªããã²ã¨ã¤ã®ã身ä½ã®çæ
ç³»ãã¨ãã¦åç·¨ããã¤ã¤ããã`]},{slug:`fragrance-japanese-incense-kodo`,category:`FRAGRANCE`,title:`é¦éââæ¥æ¬ãåå¹´åã«å®æããããå
è¦ã®éè³ä½æ³ã`,excerpt:`ãèé¦ãã®æåã¯ãä¸çã§å¯ä¸ã®ä½ç³»åãããå
è¦è¸è¡ã室çºããç¶ãæä½ã¨ç¥ã®ããã¡ã`,cover:kl,date:`2026.05.19`,readTime:`8 min`,body:[`è¶éã»è¯éã¨ä¸¦ã¶ãä¸éãã®ã²ã¨ã¤ãé¦éã馿¨ï¼ä¼½ç¾
ã»ç¾
å½ã»çé£è³ãªã©ï¼ãç·ãããã®é¦ãããèããââå
ãã§ã¯ãªãèããã¨ããåè©ã®é¸æã«ãæ¥æ¬äººã®å
è¦è¦³ãå縮ããã¦ããã`,`å®¤çºæä»£ã«ä½ç³»åãããçµé¦ï¼ãã¿ããï¼ã¯ãè¤æ°ã®é¦æ¨ãçµã¿åãããåæãç©èªã®æ§é ã«éãã¦éè³ãã鿝çã»ç¥çå礼ãä¸çã®å
è¦æåã®ä¸ã§ãããã»ã©é«åº¦ãªéè³ä½æ³ãæã¤ä¼çµ±ã¯ä»ã«é¡ä¾ããªãã`,`INSTINCT RAS ãé¦ããã¢ã¼ãã¨ãã¦æ±ãåå£ã¯ããã®å½ã«åå¹´åããæ¢ã«ãã£ããç§ãã¡ã¯ããããç¾ä»£ã®æè¦ã§åèµ·åããã`]},{slug:`fragrance-collecting-as-self-care`,category:`FRAGRANCE`,title:`é¦ããã³ã¬ã¯ã·ã§ã³ããã¨ãããã¨ââææã®å¿çå¦ã»å
è¦ç·¨ã`,excerpt:`çµµãææããããã«ãé¦ããææãããæ¥å¸¸ãå礼ã«å¤ãããå
è¦ã®ãã¥ã¬ã¼ã·ã§ã³ã`,cover:Al,date:`2026.05.12`,readTime:`6 min`,body:[`ãããã»ãã¬ã°ã©ã³ã¹ã®ä¸çã§ã¯ãLe LaboãFrédéric MalleãMaison Francis Kurkdjianãæ¥æ¬ã§ã¯ retaWãJ-Scent ã¨ãã£ããã©ã³ãã®ã³ã¬ã¯ã¿ã¼ãä¸çä¸ã«ãããå½¼ãã¯é¦ããã使ããã®ã§ã¯ãªããæããå³ãããã`,`䏿ã®çµµãæ¯æ¥çºããããã«ã䏿¬ã®é¦æ°´ãæã®åå¼ã«çµã¿è¾¼ãââããã¯æ¶è²»ã§ã¯ãªããèªå·±ã±ã¢ã®è¨è¨ã§ãããã¢ã¼ãã»ã©ãã¼çã«è¨ãã°ãå
è¦ãä»ãããç°å¢ã®ææãã ã`,`INSTINCT RAS ã¯ãçµµç»ã³ã¬ã¯ã·ã§ã³ã¨ä¸¦ãã§ãé¦ãã®ãã¥ã¬ã¼ã·ã§ã³ãææ¡ãã¦ãããè¦è¦ã¨å
è¦ã§ç·¨ããçæ´»ãã®ãã®ã®ä½ååã`]},{slug:`indonesia-contemporary-art-now`,category:`GLOBAL TRENDS`,title:`ã¤ã³ããã·ã¢ç¾ä»£ã¢ã¼ãããã¾ââã¸ã§ã°ã¸ã£ããä¸çã¸ã`,excerpt:`ããªã»ãããã¨ã³ã»ãã°ãããã¯ãªã¹ãã£ã¼ãã»ã¢ã¤ã»ãã¥ã¼ãã¸ã§ã°ã¸ã£ã«ã«ã¿ã¨ãã³ãã³ãä¸å¿ã«ãã¤ã³ããã·ã¢ã¯ä»ãªãå½éçã«æ³¨ç®ããã¦ããã®ãã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=57032`,date:`2026.06.17`,readTime:`7 min`,body:[`ã¸ã§ã°ã¸ã£ã«ã«ã¿ââã¤ã
12³ããã·ã¢ã»ã¸ã£ã¯å³¶ä¸é¨ã®ãã®å¤é½ã¯ããã¾ä¸çã®ç¾ä»£ã¢ã¼ãã·ã¼ã³ãæã注è¦ããé½å¸ã®ã²ã¨ã¤ã ãCemetiãArk GalerieãLanggeng Art Foundation ãªã©ã®ç¬ç«ã¹ãã¼ã¹ã¨ãART JOG ãã¯ããã¨ããæ¯å¹´ã®å¤§åãã§ã¢ããè¥ãä½å®¶ã¨å½éãã¥ã¬ã¼ã¿ã¼ã®äº¤å·®ç¹ã«ãªã£ã¦ããã`,`1990年代ããå½éçè©ä¾¡ã確ç«ããããªã»ããã¯ãä¼çµ±å½±çµµã¯ã¤ã³ãç¾ä»£ç¾è¡ã®è¨èªã«ç¿»è¨³ããå
é§è
ãç¶ãã¨ã³ã»ãã°ããã¯ãã¹ããªã¼ããåºç¹ãã¯ã¤ã³ã横æããLouis Vuitton ã¨ã®ã³ã©ããæ£®ç¾è¡é¤¨ã§ã®åå±ãªã©ã§ã¢ã¸ã¢å¤ã«ãå±ãèªå½ãä½ã£ãã`,`å¸å ´é¢ã§ã¯ããã³ãã³æ ç¹ã®ã¯ãªã¹ãã£ã¼ãã»ã¢ã¤ã»ãã¥ã¼ã Art Basel Hong Kong ã§ã®è½æè¨é²ãæ´æ°ããã¤ã³ããã·ã¢ã®æ½è±¡çµµç»ãã¢ã¸ã¢ç¾ä»£ã¢ã¼ãå¸å ´ã®ä¸»å½¹ã®ä¸è§ãå ããããã«ãªã£ããã¨ã³ã¿ã³ã»ã¦ã£ãã«ã½ã¯2013å¹´ã´ã§ããã¢ã»ãã¨ã³ãã¼ã¬ã® Indonesian Pavilion ãæ
ããæ´å²ã¨å人å²ãéå±ã¬ãªã¼ãã«å»ãã`,`INSTINCT RAS ã¯å½¼ãã®ä½åãåãæ±ããã®ã§ã¯ãªããã ããæ±ã¢ã¸ã¢ã¨æ±åã¢ã¸ã¢ã®ç¾ä»£ç¾è¡ã®å°å³ããæ¥æ¬èªã®èªè
ã«ããå°ãåãããããæããã¨ã¯ãç§ãã¡ã®ç·¨éã®ä»äºã ã¨æã£ã¦ãããæ¬¡ã«æ³¨ç®ãã¹ãã¯ãã¸ã§ã°ã¸ã£ã«ã«ã¿ã® 30 代以ä¸ã®ä¸ä»£ã§ããã`],sources:[{label:`Wikipedia: Heri Dono`,url:`https://en.wikipedia.org/wiki/Heri_Dono`},{label:`Wikipedia: Eko Nugroho`,url:`https://en.wikipedia.org/wiki/Eko_Nugroho`},{label:`Wikipedia: Christine Ay Tjoe`,url:`https://en.wikipedia.org/wiki/Christine_Ay_Tjoe`},{label:`Wikipedia: Entang Wiharso`,url:`https://en.wikipedia.org/wiki/Entang_Wiharso`},{label:`ART JOG (Yogyakarta)`,url:`https://artjog.id/`}]},{slug:`southeast-asia-art-spotlight-2026`,category:`GLOBAL TRENDS`,title:`æ±åã¢ã¸ã¢ç¾ä»£ã¢ã¼ãã»ã¹ãããã©ã¤ã 2026ã`,excerpt:`Singapore BiennaleãArt SGãART JOGãBangkok Art Biennaleãå¸å ´ã¨ãã¨ã³ãã¼ã¬ã両軸ã§åãåºããæ±åã¢ã¸ã¢ã®å
¨ä½åã`,cover:`https://loremflickr.com/1600/1000/art,painting,abstract/?lock=88445`,date:`2026.06.10`,readTime:`8 min`,body:[`ã·ã³ã¬ãã¼ã«ããã³ã³ã¯ãã¸ã§ã°ã¸ã£ã«ã«ã¿ãã¸ã£ã«ã«ã¿ãããã©ãã¯ã¢ã©ã«ã³ãã¼ã«ãæ±åã¢ã¸ã¢ã®ä¸»è¦é½å¸ã¯ã2020年代å¾åã«å
¥ã£ã¦ç¬èªã®ã¢ã¼ãã¨ã³ã·ã¹ãã ãæ¥éã«æçããããArt SGï¼ã·ã³ã¬ãã¼ã«ï¼ãå½éçã¢ã¼ããã§ã¢ã¨ãã¦å®çããBangkok Art Biennale ã大åãã¥ã¬ã¼ã·ã§ã³å±ã§å®ç¸¾ãç©ã¿ãSingapore Biennale ã¯æ¬¡ä¸ä»£ãã¥ã¬ã¼ã¿ã¼ã®ç»ç«éã«ãªã£ã¦ããã`,`ãã¬ã¼ã·ã¢ã§ã¯ããµãå·ã³ã¿ãããã«æ ç¹ã®ã¤ã¼ã»ã¤ã©ã³ï¼Yee I-Lannï¼ããå
使°å¥³æ§ã®ã³ãã¥ããã£ã¨å
±åå¶ä½ãã大åç·¨ã¿ä½åã§å½éçè©ä¾¡ãç²å¾ãæ¤æ°å°å²ã¨æµ·æ´å²ããç·¨ãã身æ¯ãã«éãããã®ä»äºã¯ãã°ãã¼ãã«ã»ãµã¦ã¹ã®æ°ãã彫å»èªå½ã¨ãã¦èªã¾ãã¦ããã`,`ã¤ã³ããã·ã¢ã§ã¯ãããªã»ããï¼ã¨ã³ã»ãã°ããï¼ã¢ã¤ã»ãã¥ã¼ï¼ã¦ã£ãã«ã½ã«ç¶ãä¸ä»£ã¨ãã¦ããã£ã¢ãã¦ã¹ã»ã¢ã³ã¬ã¯ã³ã»ã¯ã¹ãããã¿ãªã¢ã»ã¹ã®ã£ã³ããã¡ãªã¼ã»ãçã30ã40代ã®ä½å®¶ãå½éå±ã«é »åºãã¦ãããã¿ã¤ã§ã¯ã³ã©ã¯ãªããã»ã¢ã«ãã¼ãã³ãã£ã¤ãã´ã§ããã ã§ã¯ã¿ãªã»ãã¨ã³ã»ãã¡ã³ã®ååãç¶ç¶çã«æ³¨è¦ããã¦ããã`,`æ¥æ¬ã®èªè
ã«ã¨ã£ã¦ãæ±åã¢ã¸ã¢ç¾ä»£ã¢ã¼ãã¯ãã¯ããå¨è¾ºãã§ã¯ãªããèªå½ã®æåçä½ç½®ã測ãããã®éè¦ãªæ¯è¼è»¸ã§ãããINSTINCT RAS ã¯ä»å¾ãæ±åã¢ã¸ã¢ã®ååãå®ç¹è¦³æ¸¬ããæ¬ãè¨ããäºå®ã ã`],sources:[{label:`Singapore Biennale`,url:`https://www.singaporebiennale.org/`},{label:`Bangkok Art Biennale`,url:`https://www.bkkartbiennale.com/`},{label:`Art SG`,url:`https://artsg.com/`},{label:`Wikipedia: Yee I-Lann`,url:`https://en.wikipedia.org/wiki/Yee_I-Lann`},{label:`Wikipedia: Contemporary art of Indonesia`,url:`https://en.wikipedia.org/wiki/Indonesian_art`}]},{slug:`798-01-what-is-798`,no:1,series:`798èè¡åºããèãããç¾ã¨ãã©ã³ãã®æªæ¥`,category:`CULTURE & BRAND`,title:`798èè¡åºã¨ã¯ä½ãââè»éå·¥å ´ãä¸ççã¢ã¼ãå°åºã«ãªãã¾ã§`,excerpt:`誰ããã¢ã¼ãã®è¡ãä½ãããã¨è¨è¨ããããã§ã¯ãªãã価å¤ã¯è¨ç»ããã§ã¯ãªããç±éã®é£éããçã¾ããã`,cover:`https://loremflickr.com/1600/1000/beijing,factory,brick,architecture/?lock=70101`,date:`2026.06.22`,readTime:`5 min`,photoNote:`ç¾å°åçï¼798å
¥å£ã»è¡ä¸¦ã¿`,body:[`åäº¬å¸æé½åºã大山åï¼ãã¼ã·ã£ã³ãºï¼ã¨ãªã¢ãå¸ã®ä¸å¿é¨ããè»ã§30åã»ã©èµ°ã£ããã®å ´æã«ãã798èè¡åºãã¨å¼ã°ããä¸è§ãããããã¾ã§ã
12ãä¸çä¸ã®ã¢ã¼ããã¡ã³ã訪ããæåçºä¿¡å°ã ãããã®å§ã¾ãã¯ã1950年代ã«å»ºè¨ãããå½å¶ã®é»åé¨åå·¥å ´ç¾¤ã ã£ãã`,`赤ã¬ã³ã¬ã®å·¥å ´æ£ãããåºãã®é
管ãé«ã天äºããã³ã®ãªå±æ ¹ããå·®ãè¾¼ãèªç¶å
ãç£æ¥ã®ç¾å ´ã¨ãã¦è¨è¨ããã建ç©ç¾¤ã¯ãæä»£ã®å¤åã¨ã¨ãã«ãå·¥å ´ã¨ãã¦ã®å½¹ç®ãå¾ã
ã«çµãã¦ããã`,`転æ©ã¯2000年代åé ã«è¨ªããã使ãããªããªã£ãå·¥å ´ç©ºéã®ãå®¶è³ã®å®ãã¨å¤©äºã®é«ããããã¦ä½ãããä»ã®ã©ãã«ããªã空æ°ãã«æ¹ãããã¢ã¼ãã£ã¹ããã¡ããã²ã¨ããã¾ãã²ã¨ãã¨ã¢ããªã¨ãæ§ãå§ããã®ã ãæåã¯æ°äººã ã£ãä½äººããæ°å人ã«ãªããæ°ç¾äººã«ãªããå½¼ããç®å½ã¦ã«ã®ã£ã©ãªã¼ãéããã®ã£ã©ãªã¼ãç®å½ã¦ã«è¦³å®¢ãæ¥ã¦ã観客ã®ããã«ã«ãã§ãæ¸åºãçã¾ãããæ°ãã¤ãã°798ã¯ãã¢ã¸ã¢ã代表ããç¾ä»£ã¢ã¼ãã®éç©å°ã«ãªã£ã¦ããã`,`ç§ããã®è¡ã®ç©èªã§æãé¢ç½ãã¨æãã®ã¯ã誰ããä¸ãããã¢ã¼ãã®è¡ãä½ãããã¨è¨è¨ããããã§ã¯ãªããã¨ããç¹ã ãé½å¸è¨ç»ããã£ãã
12®ã§ã¯ãªãã空éã®é
åã«äººãéã¾ãã人ã®ç±éãè¡ãå¤ããè¡ã®å¤åãããã«äººãå¼ãã ã価å¤ã¯ãè¨ç»ããã§ã¯ãªããç±éã®é£éããçã¾ããã`,`ãã©ã³ãã¥ããããã¾ã£ããåãã ã¨æããå®ç§ãªäºæ¥è¨ç»ãããå
ã«ãã¾ãå¨ãæ´ãããã¨ãããã¦ç±éã®ãã人ãéã¾ãå ´æãä½ããã¨ããããã§ããã°ã価å¤ã¯èªç¶ã«è²ã£ã¦ãããéã«ãå¨ã¨ç±éã®ãªãã¨ããã«ãã©ãã ãè³æ¬ãæãã¦ããæåã¯çã¾ããªãã`,`ç§ãã¡Instinct Rasã¯ãç¾å®¹ã¨ã¦ã§ã«ãã¹ã®é åã§ãAIã¨ã¯ãªã¨ã¤ãã£ãã®åã使ã£ããã©ã³ãã¥ããã«åãçµãã§ããä¼ç¤¾ã ããã®ç§ãã¡ãããªãããããå京ã®ã¢ã¼ãå°åºãæ©ããã®ããçãã¯ãã®é£è¼ãéãã¦ãå°ããã¤ãä¼ããã¦ããããã`,`ãã®é£è¼ã§ã¯ãç§ãã¡ãå®éã«798ãæ©ãã¦æãããã¨ããç¾å®¹ã»ãã®ã¥ããã»ãã©ã³ãã£ã³ã°ã®è¦ç¹ãããå
¨20åã«ããã£ã¦ãå±ããããã¢ã¼ãã®å°éçãªæ¹è©ã§ã¯ãªãããã®ã¥ããã«æºãã人éããæåã®ç¾å ´ããä½ãå¦ã¹ãããã¨ããè¦ç¹ã®è¨é²ã ããä»ãåãããã ããã°å¹¸ãã§ããã`]},{slug:`798-02-photo-report`,no:2,series:`798èè¡åºããèãããç¾ã¨ãã©ã³ãã®æªæ¥`,category:`CULTURE & BRAND`,title:`ä¼é·ãæ©ãã798ââç¾å°è¦å¯ ãã©ãã¬ãã¼ã`,excerpt:`第ä¸å°è±¡ã¯ãé³ãã ã£ããäºå®ãè©°ãè¾¼ã¾ããè¿·ãæéãæ®ããè¯ãè¡ããè¯ããã©ã³ãããä½ç½ãããã`,cover:`https://loremflickr.com/1600/1000/beijing,street,industrial,architecture/?lock=70102`,date:`2026.06.22`,readTime:`5 min`,photoNote:`ç¾å°åçï¼è¦å¯ã¹ããã3ã5ç¹`,body:[`798ã®ç¬¬ä¸å°è±¡ã¯ãæå¤ã«æããããããããªããããé³ãã ã£ãã`,`ä¸ççãªè¦³å
å°ãªã®ã«ãé¨ããããªããã¬ã³ã¬é ãã®å»ºç©ã®ããã ãæ©ã人ã
ã®è¶³é³ãã«ãã§ããæ¼ããæ§ãããªé³æ¥½ãã©ããã®ã¹ã¿ã¸ãªããèããã使¥ã®æ°é
ã大声ããå¼ã³è¾¼ã¿ããã¹ãã¼ã«ã¼ã®å²ããé³ããªããè¡å
¨ä½ããã²ã¨ã¤ã®éããªéä¸åã«å
ã¾ãã¦ããããã®ãé³ã®è¨è¨ãã ãã§ããæ¥ãç²æããã£ãã¨æã£ãã`,`æ©ãã¦ããã«é©ããããã®ã¯ãã¹ã±ã¼ã«æã ãå·¥å ´ã ã£ã建ç©ã¯ã©ãã天äºãé«ããçªã大ããã人éã®çæ´»ã®ããã§ã¯ãªããæ©æ¢°ã¨çç£ã®ããã«è¨è¨ããã空éã¯ã人éã®å°ºåº¦ãè¶
ãããä½ç½ããæã£ã¦ããããã®ä½ç½ã®ä¸ã§ãã¢ã¼ããå¼å¸ãã¦ããã天äºã®ä½ããã«ã®ä¸å®¤ã§ã¯ã決ãã¦ããã¯ãªããªãã`,`ç§ãã¡ã®è¦å¯ã«ã¯ãããã¦ã²ã¨ã¤ã®ã«ã¼ã«ãè¨ãããäºå®ãè©°ãè¾¼ã¾ãªããã¨ãã®ã£ã©ãªã¼ãããã¤ãå·¡ããè·¯å°ãæ©ããã«ãã§ã§ä¼ã¿ãã¾ãæ©ããå°å³ãéãã¦ããè¿·ãæéããæå³çã«æ®ããã`,`ããã¯éã³ã§ã¯ãªããè¯ãè¡ã¯ãè¿·ããã¨ã楽ããããã«ã§ãã¦ãããæ²ãã£ãå
ã«ä½ããããããããªãæå¾
æããæ©ãé度ãç·©ããè¦ç·ãä¸ãããããå¹çã ããæ±ãããªãæçã«ã¼ããæ©ãã°ããããããã§ã¯è¡ã®ä½æ¸©ã¯ããããªããããã¦ãè¯ããã©ã³ããã¾ãåãã ããã¹ã¦ã説æãå°½ãããªãä½ç½ããããããåãæã®æ³ååãåãåºãã`,`æ©ããªãããåè¡ããã¡ã³ãã¼ã¨äº¤ãããä¼è©±ãå°è±¡ã«æ®ã£ã¦ãããããã®å£ã®è³ªæããã¡ã®ããã±ã¼ã¸ã«ä½¿ããªãããããã®çæ¿ã®æåã®å¤§ãããçµ¶å¦ã ãªããã¢ã¼ããè¦³ã«æ¥ãã¯ããã話é¡ã¯èªç¶ã¨èªåãã¡ã®ãã®ã¥ããã«æ»ã£ã¦ãããè¯ãã¤ã³ãããã¨ã¯ããããããã®ã ã¨æãã`,`åç²§åã®ä¼ç¤¾ãããªãã¢ã¼ãã®è¡ãæ©ãã®ããçãã¯ã·ã³ãã«ã§ãç§ãã¡ãç¾ãæ±ãä»äºã ããã ãç¾æèã¯ãæºã®ä¸ã§ã¯è²ããªã
12ããã¼ã¿ãããè²ããªããæ¬ç©ã®ç©ºéã«èº«ãç½®ããæ©ããè¿·ããé©ããã¨ã§ãããéããããªãçèãããã`,`ãã®æ¥ã®æ°æéã¯ãã©ããªç ä¿®ãããæ¿ãæéã ã£ãã`]},{slug:`798-03-bauhaus-architecture`,no:3,series:`798èè¡åºããèãããç¾ã¨ãã©ã³ãã®æªæ¥`,category:`CULTURE & BRAND`,title:`ãã¦ãã¦ã¹å»ºç¯Ãç¾ä»£ã¢ã¼ãââãå¤ããã®ãå£ããæ´»ããã空éãã¶ã¤ã³è«`,excerpt:`å£ãã®ã¯ä¸ç¬ãéããã®ã¯ä½åå¹´ããã³ã®ãªå±æ ¹ã®å
ãæãã¦ããããæéã®å±¤ã¨ããè³ç£ã`,cover:`https://loremflickr.com/1600/1000/sawtooth,roof,factory,architecture/?lock=70103`,date:`2026.06.25`,readTime:`5 min`,photoNote:`ç¾å°åçï¼å»ºç¯å¤è¦³ã»ãã³ã®ãªå±æ ¹`,body:[`798ã®å»ºç©ç¾¤ã¯ã1950å¹´ä»£ã«æ§æ±ãã¤ãã®è¨è¨ååã§å»ºã¦ãããã¨è¨ããã¦ãããè£
飾ãæããæ©è½ã«å¾¹ããè¨è¨ããã¦ãã¦ã¹ã®ææ³ãè²æ¿ãæãããããæ©è½ä¸»ç¾©å»ºç¯ã®éåä½ã ã`,`ãªãã§ã象徴çãªã®ãããã³ã®ãªå±æ ¹ã ãã®ã¶ã®ã¶ã®å±æ ¹ã®åå´ã ãã«çªãè¨ãã䏿¥ãéãã¦å®å®ããèªç¶å
ã室å
ã«åãè¾¼ããç´å°æ¥å
ã¯å
¥ããªãããã¨ãã¨ã¯å·¥å ´ã®ç²¾å¯ãªä½æ¥ã®ããã«è¨ç®ãããå
ã ãããã®ãåè³ªã§æãããååãã®å
ãã¯ãå¶ç¶ã«ããã¢ã¼ãä½åãç
§ããã
12ãã§çæ³çãªå
ã§ããã£ãã60年以ä¸åã®ç£æ¥è¨è¨ããç¾ä»£ã®å±ç¤ºç©ºéã¨ãã¦å®ç§ã«æ©è½ãã¦ããããã®äºå®ã ãã§ããã°ãã天äºãè¦ä¸ãã¦ãã¾ã£ãã`,`ããã§éè¦ãªã®ã¯ã798ããã®å»ºç¯ããå£ããªãã£ãããã¨ã ã`,`å£ã®ã¬ã³ã¬ãã天äºã®æ¢ããé
管ãã彿ã®ã¹ãã¼ã¬ã³ã®è·¡ããããæ¶ããã«æ®ãã¦ãããæ°ããå£ãç«ã¦ãã¨ãããå¤ãå£ãå¦å®ããªãããã®ä¸ã«ç¾ä»£ã¢ã¼ããéãªããã¨ã§ã1950年代ã¨2020年代ã¨ãããµãã¤ã®æéããã²ã¨ã¤ã®ç©ºéã«åå±
ããããã®ãæéã®å±¤ããããã798ã®ç©ºæ°ã®æ£ä½ã ãæ°ç¯ã®ãã«ã«ã¯ãã©ãã ãéãããã¦ãè¤è£½ã§ããªãã`,`ãã®ã¥ããã®ä¸çã§ããåããã¨ãè¨ããã¨æãã`,`æ°ããã¨ã¯ãéå»ãæ¶ããã¨ã§ã¯ãªããéå»ã«éãããã¨ã ãç§ãã¡ã®ã°ã«ã¼ãã«ã¯ãé·å¹´ã«ããã£ã¦åç²§åãå¥åº·é£åã®è£½é ã«æºãã£ã¦ããç¾å ´ããããããã«ã¯è·äººãã¡ã®æè¡ã¨ãç©ã¿éãããã製é ãã¦ãã¦ããããæ°ããååãä½ãã¨ããç§ãã¡ã¯ãã®èç©ããå¤ããã®ãã¨ãã¦èã«ç½®ãã®ã§ã¯ãªããåå°ã¨ãã¦ããã®ä¸ã«æ°ããçºæ³ãéããã`,`ãã¬ã³ãã ãã§ä½ãããååã¯ããã¬ã³ãã¨ã¨ãã«æ¶ãããããããæéã®å±¤ãæã£ãååã¯ãç°¡åã«ã¯å¤ã³ãªãã798ã®å»ºç¯ãæãã¦ãããã®ã¯ããããããã®ã¥ããã®ååã ã`,`å£ãã®ã¯ä¸ç¬ãéããã®ã¯ä½åå¹´ãã©ã¡ããå¯ä¸ç¡äºã®ä¾¡å¤ã«ãªããã¯ããã®è¡ã証æãã¦ããã`]},{slug:`798-04-gallery-and-space`,no:4,series:`798èè¡åºããèãããç¾ã¨ãã©ã³ãã®æªæ¥`,category:`CULTURE & BRAND`,title:`798ã®ã®ã£ã©ãªã¼å·¡ãââ空éãä½åãçããã¨ãããã¨`,excerpt:`å£²å ´ã¯ãç§ãã¡ã«ã¨ã£ã¦ã®ã®ã£ã©ãªã¼ã ãããã±ã¼ã¸ã¯é¡ç¸ã§ããããã©ã³ãã®ä¸ç観ã¯ç
§æã ã`,cover:`https://loremflickr.com/1600/1000/gallery,building,facade,street/?lock=70104`,date:`2026.06.29`,readTime:`4 min`,photoNote:`ç¾å°åçï¼ã®ã£ã©ãªã¼å¤è¦³ã»è¡è·¯`,body:[`798ã«ã¯ã大å°ãã¾ãã¾ãªã®ã£ã©ãªã¼ããããå½éçãªç¾è¡é¤¨ã¯ã©ã¹ã®å¤§åæ½è¨ãããå人ã¢ã¼ãã£ã¹ãã®å°ããªã¹ã¿ã¸ãªã¾ã§ããã®ãå¯åº¦ã®æ¿æ·¡ããããã®ãããã大ããªå±ç¤ºã§å§åãããå¾ã«ãå°ããªã¹ã¿ã¸ãªã§ä½ãæã®æ¯é£ãã«è§¦ãããæ©ããªãºã ã®ä¸ã«ãå¼·å¼±ãããã`,`ããã¤ãå·¡ã£ã¦ãã¦ãã¯ã£ããã¨æãããã¨ããããã空éãä½åãçããã¦ãããã¨ãããã¨ã ã`,`åãä½åã§ããç½®ãããå ´æãå
ã®è³ªã天äºã®é«ããå¨å²ã®éãããé£ã«ä½ãå±ç¤ºããã¦ãããã§ãã¾ã£ããéã£ã¦è¦ãããåºã空éã«ã½ã¤ãã¨ç½®ãããå°ããªä½åããç°æ§ãªåå¨æãæ¾ã¤ãéã«ã大ããªä½åããããã¦çãé¨å±ã«ç½®ããã¦ãå§è¿«æãã®ãã®ã表ç¾ã«å¤ãã¦ãããå±ç¤ºã¨ã¯ãä½ååä½ã®ä»äºã§ã¯ãªããä½åã¨ç©ºéã®å
±å使¥ãªã®ã ã¨ãä½ã§çè§£ããã`,`ã®ã£ã©ãªã¹ãã®ä»äºã¯ãããã°ãæèã®è¨è¨ãã ãã©ã®é çªã§è¦³ããããã©ãã§ç«ã¡æ¢ã¾ãããããã©ãã«ä½ç½ãç½®ãããåªããã®ã£ã©ãªã¼ã§ã¯ã観客ã¯ç¥ããªããã¡ã«è¨è¨ãããä½é¨ã®ä¸ãæ©ãã¦ããã`,`ããã¯ããã®ã¾ã¾ååã®ä¸çã«ç½®ãæãããããè¯ãååããããåä½ã§ã¯ãè¯ãããä¼ãããããªããã©ããªæ£ã«ç½®ãããããã©ããªããã±ã¼ã¸ã«å
ã¾ããããæã«åã£ãç¬éã«ä½ãæããããéå°ããã¨ãã«ã©ããªä½é¨ãããããä¸èº«ã®å質ã¯å¤§åæã¨ãã¦ããããã©ããªç©ºéã»æèã§å±ãããããä¼ããæ¹ãæ±ºããã`,`ç§ãã¡ã¯ååéçºã«ããã¦ã妿¹ãæåã®è°è«ã«å¤ãã®æéã使ããããã¯å½ç¶ã ãããã798ã®ã®ã£ã©ãªã¹ããã¡ã®ä»äºãè¦ã¦ãåçãè¾¼ãã¦æã£ãããå±ãæ¹ã®è¨è¨ãã«ãåãã ãã®æ
ç±ã注ãã§ããã ããããã¨ã`,`å£²å ´ã¯ãç§ãã¡ã«ã¨ã£ã¦ã®ã®ã£ã©ãªã¼ã ãããã±ã¼ã¸ã¯é¡ç¸ã§ããããã©ã³ãã®ä¸ç観ã¯ç
§æã ãå±ç¤ºã®ææ³ã§ãã®ãå±ããããã®è¦ç¹ã¯ãä»å¾ã®ç§ãã¡ã®ãã©ã³ãã¥ããã®åºæºã®ã²ã¨ã¤ã«ãªãã`]},{slug:`798-05-cafe-and-shop-culture`,no:5,series:`798èè¡åºããèãããç¾ã¨ãã©ã³ãã®æªæ¥`,category:`CULTURE & BRAND`,title:`798ã®ã«ãã§ã»ã·ã§ããæåââã¢ã¼ããæ¥å¸¸ã«æº¶ãè¾¼ãè¡`,excerpt:`æåã¯ç¾è¡é¤¨ã®ä¸ã ãã«ããã®ã§ã¯ãªããã³ã¼ãã¼ã«ããã®ä¸ã«ããåç²§æ°´ã®ããã«ã®ä¸ã«ã宿ãããããã`,cover:`https://loremflickr.com/1600/1000/cafe,street,brick,city/?lock=70105`,date:`2026.07.02`,readTime:`4 min`,photoNote:`ç¾å°åçï¼ã«ãã§ã»ã·ã§ãã`,body:[`798ã®é
åã¯ãã®ã£ã©ãªã¼ã ãã§ã¯ãªãããããè¡ã®ä½æ¸©ãä½ã£ã¦ããã®ã¯ãã«ãã§ãæ¸åºããã¶ã¤ã³é貨ã®åºãå°ããªã·ã§ãããã¡ã ã¨æãã`,`ã¢ã¼ãã観ã¦ãæ©ãç²ãããã³ã¼ãã¼ã飲ããçªã®å¤ã®æ¯è²ãçºããªããããã¾è¦³ã¦ããä½åã®è©±ãããã帰ãéã«ãæ°ã«å
¥ã£ãéè²¨ãæ¬ãã²ã¨ã¤è²·ã£ã¦å¸°ãããã®ã観ãã»ä¼ãã»æã¡å¸°ããã®
12循ç°ããè¡ã®ä¸ã«èªç¶ã«è¨è¨ããã¦ãããã ãã人ã¯é·ãæ»å¨ããããã¾ãæ¥ãããªãã`,`ã«ãã§ã®ã²ã¨ã¤ã«å
¥ã£ã¦ãå°è±¡çã ã£ããã¨ããããããã¯åãªã伿©æã§ã¯ãªããåºãã®ãã®ãå°ããªå±ç¤ºç©ºéã ã£ããå£ã«ã¯ä½åãæãããå®¶å
·ã¯é¸ã³æãããã«ããã²ã¨ã¤ã«ãåºã®ç¾æèã表ãã¦ãããã³ã¼ãã¼ã飲ãã¨ããæ¥å¸¸ã®è¡çºãããã®ã¾ã¾æåã®ä½é¨ã«ãªã£ã¦ããã`,`ããã«ã798ã®ããã²ã¨ã¤ã®çºæãããã¨æããã¢ã¼ãããç¹å¥ãªæ¥ã«ãæ§ãã¦è¦³ããã®ãããããæ¥å¸¸ã®ä¸ã«ãå½ããåã«ãããã®ãã¸ã¨å¤ãããã¨ã ãæ·å±
ãä¸ãããã¨ã§ãã¢ã¼ãã«è©³ãããªã人ãè¡ã楽ããããæ¥½ããã 人ã®ä½å²ãã¯ã次ã¯ã®ã£ã©ãªã¼ã®å¥¥ã¾ã§è¶³ãéã¶ãæ¥å¸¸ããæåã¸ã®å
¥å£ã«ãªã£ã¦ããã`,`ç¾å®¹ããæ¬æ¥ã¯æ¥å¸¸ã®å¶ã¿ã ãç¹å¥ãªæ¥ã®ããã ãã®ãã®ã§ã¯ãªããæ¯æãæ¯æ©ã®æ®ããã®ä¸ã«ãå°ããªå¿å°ãããç©ã¿éãã¦ãããã®ãèãæ´ããæ°åéãã䏿¥ã®å§ã¾ãã®åå¼ã«ãªãã䏿¥ã®çµããã®åºåãã«ãªããç§ãã¡ãååãéãã¦å±ãããã®ã¯ãã¾ãã«ãã®ãè©ã®åã®æããè±ãããã ã`,`798ã®ã«ãã§ã§éãããæéã¯ããã®ãã¨ãå確èªããã¦ããããæåã¯ãç¾è¡é¤¨ã®ä¸ã ãã«ããã®ã§ã¯ãªããã³ã¼ãã¼ã«ããã®ä¸ã«ããåç²§æ°´ã®ããã«ã®ä¸ã«ãã宿ããããã¨ãã§ãããæ¥å¸¸ãå°ãã ãè±ãã«ãããã®ãããããã¡ã°ãé·ãæãããã`,`ç§ãã¡ã®ãã®ã¥ããã®åç¹ããå京ã®ã«ãã§ã§æãåºãã¨ã¯æããªãã£ããæ
ã¨ã¯ããããããã®ãããããªãã`]},{slug:`798-06-why-cosmetics-see-art`,no:6,series:`798èè¡åºããèãããç¾ã¨ãã©ã³ãã®æªæ¥`,category:`CULTURE & BRAND`,title:`ãªãåç²§åãã©ã³ããã¢ã¼ããè¦ãã®ãââç¾æèã¨ãã©ã³ãã£ã³ã°ã®é¢ä¿`,excerpt:`ç¾æèã¯ãæè½ã§ã¯ãªãçèã ã使ãã°è²ã¡ã使ããªããã°è¡°ããã`,cover:`https://loremflickr.com/1600/1000/brick,wall,architecture,city/?lock=70106`,date:`2026.07.06`,readTime:`5 min`,body:[`ãåç²§åä¼ç¤¾ãããªãã¢ã¼ãè¦å¯ãï¼ãã¨èããããã¨ãããããã£ã¨ããªçåã ã¨æããä»åã¯ãã®åãã«ãæ£é¢ããçãã¦ã¿ããã`,`çãã¯ã¯ã£ãããã¦ãããç§ãã¡ã®ä»äºã¯ãçªãè©°ããã°ãç¾ããã¨ã¯ä½ãããåãç¶ããä»äºã ããã ã`,`åç²§åã¥ããã«ã¯ããµãã¤ã®é åããããã²ã¨ã¤ã¯ç§å¦ã®é åã妿¹ã®è¨è¨ãæåã®é¸å®ãå®å®æ§ã®æ¤è¨¼ãå質管çãããã¯ããã¼ã¿ã¨åç¾æ§ã®ä¸çã ãç§ãã¡ã¯AIãæ´»ç¨ãã妿¹è¨è¨ã«ãåãçµãã§ããããã®é åã®ãã¯ããã¸ã¼ã¯æ¥ã
é²åãã¦ããã`,`ããããããã²ã¨ã¤ã®é åãããããã®ååãã誰ã«ãã©ããªæ°æã¡ã§ä½¿ã£ã¦ã»ãããããæ±ºããé åã ãããã«ã®æ²ç·ãè²ã質æãååãè¨èãé¦ããæã«åã£ãç¬éã®å°è±¡ã使ãçµãã£ããã¨ã®ä½é»ãããã«ã¯æ£è§£ã®ãã¼ã¿ããªããæ±ºããã®ã¯ãä½ãæã®ç¾æèã ã`,`ããã¦ç¾æèã«ã¯ãåä»ãªæ§è³ªããããæ¾ã£ã¦ããã¨ãç©ãã¦ããã®ã ãåãæ¥çã®æ
å ±ã ããè¦ã¦ãç«¶åã®å£²ãçã追ãããã¦ããã¨ã夿ã®ããã®ããããã©ãã©ãä¼¼éã£ã¦ãããæ°ãã¤ãã°ãå¸å ´ã«ãããã®ã¨åããããªãã®ããçºæ³ã§ããªããªããããã¯åäººã®æè½ã®åé¡ã§ã¯ãªããã¤ã³ãããã®æ§é ã®åé¡ã ã`,`ã¢ã¼ããè¦ãã¨ã¯ãä»äººã®ç¾æèã«çå£ã«åãåããã¨ã ãçè§£ã§ããä½åããã¯ãèªåã®ã好ããã®è¼ªéãæãããããçè§£ã§ããªãä½åããã¯ãèªåã®ãã®ããã®å¤å´ã«ããä¸çã®åå¨ãæãããããã©ã¡ãããç¾æèã®æ é¤ã«ãªãã`,`798ã§ä¸çä¸ã®è¡¨ç¾ã«è§¦ããæ°æéã¯ãã©ããªå¸å ´èª¿æ»ãã¼ã¿ããããç§ãã¡ã®ãã®ãããéãã¦ãããã
12å¸å ´èª¿æ»ã¯ããã¾ä½ã売ãã¦ãããããæãã¦ããããããæ¬¡ã«ä½ãç¾ããã¨æããããã¯æãã¦ãããªããå¾è
ãæãåãåã¯ãæ¬ç©ã«è§¦ããéã§ããè²ããªãã`,`ç¾æèã¯ãæè½ã§ã¯ãªãçèã ã使ãã°è²ã¡ã使ããªããã°è¡°ãããã ããçµå¶è
ãããã¶ã¤ãã¼ããéçºè
ãã宿çã«èªåã®æ¥çã®å¤ã«ãããæ¬ç©ãã®åã«ç«ã¤ã¹ãã ã¨æããç§ãã¡ã«ã¨ã£ã¦798ã¯ããã®æé«ã®ãã¬ã¼ãã³ã°ã¸ã ã ã£ãã`]},{slug:`798-07-rebranding`,no:7,series:`798èè¡åºããèãããç¾ã¨ãã©ã³ãã®æªæ¥`,category:`CULTURE & BRAND`,title:`798ã«å¦ã¶ããªãã©ã³ãã£ã³ã°ãââå·¥å ´å°å¸¯ãæåçºä¿¡å°ã«å¤ãã£ãæ§é `,excerpt:`è³ç£ã®åå®ç¾©ãæåã®ç±éããä½äººãããã¦æéããã©ã³ãã¯ã建ã¦ããã®ã§ã¯ãªãè²ã¤ãã®ã`,cover:`https://loremflickr.com/1600/1000/industrial,warehouse,brick,urban/?lock=70107`,date:`2026.07.09`,readTime:`5 min`,body:[`798ã®å¤åãããã¸ãã¹ã®è¨èã§è¨ãæãããªããä¸çã§æãæåãããªãã©ã³ãã£ã³ã°ã®ã²ã¨ã¤ã ããå½¹ç®ãçµããå·¥å ´å°å¸¯ãã¨ããèªèãããã¢ã¸ã¢ã代表ããã¢ã¼ãå°åºãã¸ã¨æ¸ãæãã£ããããããè«å¤§ãªåºåè²»ãæããããã§ããæåã³ã³ãµã«ã¿ã³ããçµµãæããããã§ããªãã`,`ãã®å¤åã®æ§é ãåè§£ããã¨ã3ã¤ã®è¦ç´ ãè¦ãã¦ããã`,`ã²ã¨ã¤ç®ã¯ãè³ç£ã®åå®ç¾©ãã ãå¤ãå·¥å ´å»ºç¯ã¯ãé常ã®ä¸åç£ã®ç©å·®ãã§è¦ãã°ãåãå£ãã¹ãè² åµã ã£ãããããè¦æ¹ãå¤ããã°ãé«ã天äºã大ããªçªãé ä¸ãªèº¯ä½ãããã¦æ´å²ã®å»ã¾ãã質æãæã¤ãä»ã«ãªã空éè³ç£ãã ã£ããåããã®ããå®ç¾©æ¬¡ç¬¬ã§è² åµã«ãè³ç£ã«ããªãããªãã©ã³ãã£ã³ã°ã®åºçºç¹ã¯ããã¤ããã®åå®ç¾©ã«ããã`,`ãµãã¤ç®ã¯ãæåã®ç±éããä½äººãã ã798ãå¤ããã®ã¯ãè¡æ¿ã§ã大伿¥ã§ããªããæå¾åå®ããå
ã«ãã®ç©ºéã«æãè¾¼ãã ã¢ã¼ãã£ã¹ããã¡ã ã£ããæåã®ä½äººã®ã質ããããã®å¾ã«éã¾ã人ã®è³ªã決ããããã©ã³ãã§è¨ãã°ãæåã®ãã¡ã³ãæåã®èªãæã誰ãã¨ãããã¨ã ããããåºåã§æ°´å¢ãããã¨ããã®å¾ã®å
¨é¨ãèã¾ãã`,`ã¿ã£ã¤ç®ã¯ãæéãã ã798ã¯ä¸å¤ã«ãã¦çã¾ãã¦ããªãã20年以ä¸ããã¦ãåºãå¢ãã層ãéãªããç©èªãèç©ããã¦ããã䏿°ã«éçºãããè¡ã«ã¯ããã®å±¤ããªããã ããæ·±ã¿ãåºãªãã`,`ãã¦ãããã伿¥ã«ç½®ãæãã¦ã¿ããèªç¤¾ã®æ´å²ãæè¡ããå¤ããã¨åãæ¨ã¦ã¦ãæµè¡ã®è¨èã§ä¸å¡ããããªãã©ã³ãã£ã³ã°ã¯ãããã¦ã失æãããããã¹ããã¨ã¯éã§ãèªç¤¾ãæ¢ã«æã£ã¦ãããã®ãåå®ç¾©ããããã«æåã«å
±æãã¦ãããç±éã®é«ã仲éãè¦ã¤ããæéãããã¦å±¤ãéãããã¨ã ã`,`ç§ãã¡ã®ã°ã«ã¼ãããä¸å ´ã¨ããç¯ç®ãè¶ãã¦ããã©ã³ããæ¬¡ã®æ®µéã«è²ã¦ã¦ããéä¸ã«ããã798ã®20å¹´ã¯ãç§ãã¡ã«ã¨ã£ã¦æé«ã®ã±ã¼ã¹ã¹ã¿ãã£ã ããã©ã³ãã¯ã建ã¦ããã®ã§ã¯ãªããè²ã¤ãã®ãç¦ããããããæ¢ã¾ããã層ãéãã¦ããããã`]},{slug:`798-08-art-and-ai`,no:8,series:`798èè¡åºããèãããç¾ã¨ãã©ã³ãã®æªæ¥`,category:`CULTURE & BRAND`,title:`ã¢ã¼ãã¨AIââåµé æ§ã¯ãã©ã¡ãã®ãã®ã`,excerpt:`åããç«ã¦ã人éã¨ãè§£ãæ¢ãAIãAIã®æ§è½ãä¸ããã»ã©ãå·®ãã¤ãã®ã¯åãã®è³ªã«ãªãã`,cover:`https://loremflickr.com/1600/1000/concrete,architecture,modern,industrial/?lock=70108`,date:`2026.07.13`,readTime:`5 min`,body:[`Instinct Rasã¯AIã軸ã«ããä¼ç¤¾ã ã妿¹è¨è¨ã®èªååï¼F1ï¼ãã¯ããããã¯ããã¸ã¼ã§ç¾å®¹ã®éçºããã»ã¹ãå¤ãããã¨ãã¦ããããããªç§ãã¡ã798ã§ã¢ã¼ããè¦ãªããèãç¶ãã¦ããã®ã¯ããåµé æ§ã¯ã©ãã«å®¿ãã®ããã¨ããåãã ã£ãã`,`AIãçµµãæããæç« ãæ¸ãã鳿¥½ãä½ãæä»£ã ãã人éã®åµé æ§ã¯AIã«ç½®ãæããããã®ããã¨ããè°è«ã¯ãããããæ¥çã§äº¤ãããã¦ããã798ã®ã¢ã¼ãã£ã¹ããã¡ã®ä»äºãç®ã®åã«ãã¦ãç§ãªãã®çãããå°ãã¯ã£ããããã`,`ã¢ã¼ãã£ã¹ãã®ä»äºã®æ ¸å¿ã¯ãçªãè©°ããã°ãåããç«ã¦ããã¨ãã ãä½ãç¾ããã¨ããããä½ã«éåæãæã¤ããä¸çã®ã©ãã«ãã¾ã ååã®ã¤ãã¦ããªãææ
ãããããä½åã¨ã¯ããã®åãã«å½¢ãä¸ãããã®ã ã¨æããæè¡ã¯åãã«ä»ãã¦ããã`,`䏿¹ãAIãå
12§åçã«å¾æãªã®ã¯ãè§£ãæ¢ããã¨ãã ãè¨å¤§ãªçµã¿åããã®ä¸ãããæ¡ä»¶ã«åãæé©ãªãã®ãè¦ã¤ãåºãããã®é度ã¨ç¶²ç¾
æ§ã¯ã人éã«ã¯æ±ºãã¦çä¼¼ã§ããªããç§ãã¡ã®F1ããã¾ãã«ãã®åã使ã£ã¦ãããæ±ããä½¿ç¨æãç¹æ§ãå
¥åããã°ã妿¹ã®åè£ãé«éã§è¨è¨ããã`,`ã¤ã¾ããã¢ã¼ãã¨AIã¯å¯¾ç«ããªããå½¹å²ãéãã®ã ãåããç«ã¦ã人éã¨ãè§£ãæ¢ãAIããã®åæ¥ãæç«ããã¨ããåµé ã®ã¹ãã¼ãã¨æ·±ãã¯åæã«ä¸ãããF1ãã©ãã ãåªç§ã§ããããããã使ãå¿å°ã®ååã§ãããããäººã®æ¯æ¥ãå¤ããããã¨ããåãã¯ã人éã«ããç«ã¦ãããªããåãã®ãªãAIã¯ããã ã®é«éãªè¨ç®æ©ã ã`,`éã«è¨ãã°ãAIã®æ§è½ãä¸ããã°ä¸ããã»ã©ãå·®ãã¤ãã®ã¯ãåãã®è³ªãã«ãªãã誰ã§ãè§£ã«ã¯ãã©ãçããæä»£ã«ãã©ããªåããç«ã¦ãããããã伿¥ã®ç¬èªæ§ãã®ãã®ã«ãªãã`,`798ã®å¸°ãéã確信ãããã¨ããããAIã®æä»£ã«ãããåããç«ã¦ãåââã¤ã¾ãç¾æèã¨ãä¸çã¸ã®éåæã大åã«ããæåæ§ãããã¡ã°ãã®ç«¶äºåã«ãªããã ããç§ãã¡ã¯ãAIã®ä¼ç¤¾ã§ããã¨åæã«ãã¢ã¼ããè¦ãä¼ç¤¾ã§ããããã`]},{slug:`798-09-five-elements`,no:9,series:`798èè¡åºããèãããç¾ã¨ãã©ã³ãã®æªæ¥`,category:`CULTURE & BRAND`,title:`äºè¡ææ³ã¨ç¾ä»£ã¢ã¼ãââBIOTã°ã«ã¼ãã®ãã©ã³ãå²å¦ããè¦ã798`,excerpt:`åãç«ãåãæ¢ããç«ãæ¨ãè²ã¦ãéã価å¤ãå®ããæ°´ã循ç°ããããè¡ãã¾ãã循ç°ã§çãã¦ããã`,cover:`https://loremflickr.com/1600/1000/alley,brick,street,architecture/?lock=70109`,date:`2026.07.16`,readTime:`5 min`,body:[`ç§ãã¡BIOTã°ã«ã¼ãã¯ãæ¨ã»ç«ã»åã»éã»æ°´ã®ãäºè¡ãããã©ã³ãå²å¦ã«æ®ãã¦ãããã°ã«ã¼ãå社ãããããã®elementãæ
ããäºãã«çããåãã循ç°ããªããå
¨ä½ãæããã¨ããèãæ¹ã ãæ±æ´ã«å¤ãããä¼ãããã®ä¸ç観ããç¾ä»£ã®ä¼æ¥ã°ã«ã¼ãã®è¨è¨ææ³ã¨ãã¦æ¡ç¨ãã¦ããã`,`ãã®ç§ãã¡ã®ç®ã§798ãæ©ãã¨ãé¢ç½ããã¨ã«æ°ã¥ãããã®è¡ã«ããäºè¡ã«ããä¼¼ã循ç°ãããã®ã ã`,`ã¾ããåå°ã¨ãªãã®ã¯å¤ãå·¥å ´å»ºç¯ãã¤ã¾ããåãã ããã¹ã¦ã¯ãã®å¨ã®ä¸ã«è¼ã£ã¦ãããããã«ã¢ã¼ãã£ã¹ããã¡ã®ç±éããç«ããç¯ã£ããç«ã¯åãæ¸©ããåµä½ã¨ããå¶ã¿ãçããçã¾ããä½åã¯ãè²ã£ã¦ããå®ãããæ¨ãã ãæ¨ã
ãèãããã«ä½åãå¢ããè¡ã«çå½åãæºã¡ãããããä¸ã«éãåºãã®ã£ã©ãªã¼ãã·ã§ããã®ä»çµã¿ã¯ã価å¤ã磨ãä¸ãããéããããã¦ãä¸çä¸ãã訪ããäººã®æµãããæ°´ãã¨ãªã£ã¦è¡ã潤ãããã®æ°´ãã¾ã次ã®åµä½ã®åå£ãè²ã¦ãã`,`åãç«ãåãæ¢ããç«ãæ¨ãè²ã¦ãéã価å¤ãå®ããæ°´ã循ç°ããããã©ããã²ã¨ã¤ãæ¬ ãã¦ãã798ã¯æç«ããªãã建ç©ã ããã£ã¦ããã¢ã¼ãã£ã¹ãã ããã¦ãã観客ã ãæ¥ã¦ããè¡ã«ã¯ãªããªãã£ããè¦ç´ ã®ã循ç°ãããããè¡ãçããã¦ããã`,`西æ´çãªæèã¯ããã°ãã°ä¸çãã対ç«ãã§æãããæ°æ§ãèä¿ãã¢ã¼ãã¨ãã¸ãã¹ããããæ±æ´ã®ææ³ã¯ãä¸çãã循ç°ãã§è¦ããä¸è¦å¯¾ç«ãããã®ããå®ã¯äºããçããåã£ã¦ãããã¨ããè¦æ¹ã ã`,`ç¾ä»£ã¢ã¼ãã®æåç·ã®è¡ããæ±æ´ææ³ã®ã¬ã³ãºã§æ©ãããã®ä½é¨ã¯ãç§ãã¡ã«ã¨ã£ã¦ç¹å¥ãªæå³ããã£ããäºè¡ã¨ããå²å¦ããæ¥æ¬ã®ä¸ã ãã§éãããã¼ã«ã«ãªé£¾ãã§ã¯ãªããä¸çã®ã©ããªå ´æã®æ§é ããèªã¿è§£ãããè¦æ¹ãã§ãããã¨ãã確ãããããããã ã`,`ãã©ã³ãå²å¦ã¨ã¯ãé¡ã«å
¥ãã¦é£¾ãè¨èã§ã¯ãªããä¸çãèªã¿è§£ãã夿ã®è»¸ã«ãªããå®ç¨ã®éå
·ã ãå京ã®è·¯å°ã§ãèªåãã¡ã®å²å¦ã®æå¿ãã確èªã§ãããã¨ã¯ããã®è¦å¯ã®å¤§ããªåç©«ã®ã²ã¨ã¤ã ã£ãã`]},{slug:`798-10-design-of-negative-space`,no:10,series:`798èè¡åºããèãããç¾ã¨ãã©ã³ãã®æªæ¥`,category:`CULTURE & BRAND`,title:`ãä½ç½ã®ãã¶ã¤ã³ãââ798ã®ç©ºéããå¦ã¶ããã±ã¼ã¸ãã¶ã¤ã³è«`,excerpt:`ä½ç½ã¨ã¯ãä½ãç¡ããã®ã§ã¯ãªãããè¦ããããã®ãé¸ã³æããããã¨ã®ãéããªè¨¼æã ã`,cover:`https://loremflickr.com/1600/1000/minimal,wall,architecture,space/?lock=70110`,date:`2026.07.20`,readTime:`4 min`,body:[`798ã®å±ç¤ºç©ºéã§ãæãè´
æ²¢ã«ä½¿ããã¦ãããã®ãããã¯ä½åã§ãç
§æã§ããªãããä½ç½ãã ã`,`天äºã¾ã§ã®é«ããä½åã¨ä½åã®ããã ã®è·é¢ãä½ãæãããã¦ããªãåºãå£ãæ
å ±ã®ãªã空
12éãããã£ã·ãã¨ç¢ºä¿ããã¦ãããä¸åç£ã®å¹çã§èããã°ããã£ãããªã話ã ãå£ä¸é¢ã«ä½åã並ã¹ãã»ãããä¸åº¦ã«å¤ãè¦ãããããããããåªããã®ã£ã©ãªã¼ã»ã©ãããããªãã`,`çç±ã¯æå¿«ã§ãä½ç½ããããããããã²ã¨ã¤ã®ä½åã«è¦ç·ãéã¾ããè¨æ¶ã«æ®ãããã ã人éã®æ³¨æåã«ã¯éããããããã¹ã¦ãè¦ãããã¨ããã°ããã¹ã¦ãæµãã¦ãããã²ã¨ã¤ã«çµãã°ããã®ã²ã¨ã¤ãåºãããä½ç½ã¨ã¯ãä½ãç¡ããã®ã§ã¯ãªãããè¦ããããã®ãé¸ã³æããããã¨ã®ãéããªè¨¼æãªã®ã ã`,`ç¿»ã£ã¦ãååããã±ã¼ã¸ã®ä¸çã¯ã©ãã ãããä¼ããããã¨ãå¤ãã»ã©ãæåãè¦ç´ ãè©°ãè¾¼ã¿ãããªããæåã®é
åãä½¿ãæ¹ããã©ã³ãã®æ³ããã©ãã大åãªæ
å ±ã ããããããã¹ã¦ãèªã£ãããã±ã¼ã¸ã¯ãåºé ã§ã¯ä½ãèªã£ã¦ããªãã®ã¨åãã«ãªããå£²å ´ã¯æ
å ±ã®æ´ªæ°´ã ããã®ä¸ã§æã«åãããã®ã¯ãå¤ãã®å ´åãéãã§ãä½ç½ã®ãããã¶ã¤ã³ã ã`,`ä½ç½ã®ãããã¶ã¤ã³ã¯ãè¦ã人ã«ãé¸ã³æããèªä¿¡ãã¨ãã¦ä¼ããããã¡ããã¡ãã¨èª¬æããªãã®ã¯ã説æããªãã¦ãä¼ããæ¬è³ªãããããã ãã¨ãéã«ãééãªãåãå°½ãããããã¶ã¤ã³ã¯ãã©ããä¸å®ã®è¡¨ãã¨ãã¦ä¼ãã£ã¦ãã¾ãã`,`798ã®ã®ã£ã©ãªã¼ãä½ç½ã«ãã£ã¦ä½åãçããããã«ãããã±ã¼ã¸ã¯ä½ç½ã«ãã£ã¦ä¸èº«ãçããããã¶ã¤ã³ã®ä»äºã¯ãè¶³ãç®ã§ã¯ãªãå¼ãç®ãä½ãè¼ããããããä½ãè¼ããªãããæ±ºãããã¨ã®ã»ãããã¯ããã«é£ãããã¯ããã«éè¦ã ã`,`ãã®ååããç§ãã¡ã¯èªç¤¾ãã©ã³ãã®ãã¶ã¤ã³ã¬ãã¥ã¼ã®åºæºã«ãã¦ãããããä¼è°ã§ããã®è¦ç´ ãè¶³ãããã¨ãã声ãåºãã¨ãã誰ããã798ã®å£ãæãåºãããã¨è¨ããããããªãã¼ã ã§ããããã¨æãã`]},{slug:`798-11-young-generation`,no:11,series:`798èè¡åºããèãããç¾ã¨ãã©ã³ãã®æªæ¥`,category:`CULTURE & BRAND`,title:`ä¸å½ã®è¥è
ã¨ã¢ã¼ãæ¶è²»ââ798ã«éã¾ãä¸ä»£ã観å¯ãã¦`,excerpt:`ã¢ã¼ãã¯ãéè³ãããã®ããããåå ãããã®ãã¸ãååãã¾ããèªåã表ç¾ããç´ æã«ãªã£ãã`,cover:`https://loremflickr.com/1600/1000/street,people,city,architecture/?lock=70111`,date:`2026.07.23`,readTime:`4 min`,body:[`798ãæ©ãã¦ãå¼·ãå°è±¡ã«æ®ã£ããã¨ã®ã²ã¨ã¤ãã訪ãã¦ãã人ã®è¥ãã ã`,`ã«ã¡ã©ãæããå¦çã®ã°ã«ã¼ãããã ããã®æè£
ã§æ©ãã«ããã«ããã³ãã§ã¹ã±ããããã¯ãéã人ãå人ã®åçãçå£ãªè¡¨æ
ã§æ®ãåã人ãã¡ãå¹³æ¥ã®æ¼éã§ããè¡ã¯è¥ãç±æ°ã§æºã¡ã¦ãããç¾è¡é¤¨ã¨ããã¨è½ã¡çããå¹´é½¢å±¤ãæ³åããã¡ã ãããã®è¡ã®ä¸»å½¹ã¯æããã«20代ã ã£ãã`,`å½¼ãã観å¯ãã¦ãã¦æããã®ã¯ãã¢ã¼ãã¨ã®é¢ããæ¹ãæ ¹æ¬çã«å¤ãã£ã¦ãããã¨ãããã¨ã ãä¸ã®ä¸ä»£ã«ã¨ã£ã¦ãã¢ã¼ãã¯ãéè³ãããã®ãã ã£ããéãã«è¦³ã¦ã解説ãèªã¿ãå¿ã®ä¸ã§å³ãããããã798ã®è¥è
ãã¡ã«ã¨ã£ã¦ãã¢ã¼ãã¯ãåå ãããã®ãã ãä½åã®åã«ç«ã¡ãèªåãªãã®æ§å³ã§åçãæ®ãããã£ãã·ã§ã³ãèãã¦çºä¿¡ãããä½åãç´ æã«ãèªåã®è¡¨ç¾ãéãã¦ãããéè³ã¨åµä½ãæ¶è²»ã¨è¡¨ç¾ã®å¢ç®ããæº¶ãã¦ããã`,`ãã®å¤åã¯ãã¢ã¼ãã®ä¸çã ãã®è©±ã§ã¯ãªããç¾å®¹ã®ä¸çã§ããã¾ã£ããåããã¨ãèµ·ãã¦ãããååã¯ãã¯ãã使ããã®ãã§ããã¨åæã«ããèªåã表ç¾ããç´ æãã ãã©ã®ãã©ã³ããé¸ã¶ãããããã©ãæ®ããã®ä¸ã«ç½®ãããã©ãæ®ã£ã¦èª°ã«è¦ãããã鏿ã®ã²ã¨ã¤ã²ã¨ã¤ãããã®äººã®ä¾¡å¤è¦³ã®è¡¨æã«ãªã£ã¦ããã`,`ã ããè¥ãä¸ä»£ã¯ãã¢ãã®æ©è½ãä¾¡æ ¼ã ãã§ã¯åããªããå½¼ããè²·ã£ã¦ããã®ã¯ãæ©è½ã«å ãã¦ããã®èæ¯ã«ããç©èªã¨ç¾æèã ãããã®ãã©ã³ããé¸ã¶èªåãã«ç´å¾ã§ãããã©ããããã®å¯©ç¾ç¼ã¯ãç§ãã¡ãæã以ä¸ã«éãã`,`798ã®è¥è
ãã¡ãã«ã¡ã©ãåããå
ãè¦ã¦ããã¨ãå½¼ããä½ããèªããããªããã®ããè¦ãã¦ãããå®ç§ã«æ´ã£ããã®ãããæ¬ç©ã®æãããããããã®ã声ã®å¤§ãããã®ãããéãã«èªä¿¡ã®ãããã®ã`,`ããããã®ãã©ã³ãã¥ãããåãåãã¹ãè¦ç·ãããã®è¡ã«ã¯ãã£ããç§ãã¡ã¯ããã®è¦ç·ã«å¿ãããããã®ãä½ã£ã¦ããããã`]},{slug:`798-12-beijing-and-tokyo`,no:12,series:`798èè¡åºããèãããç¾ã¨ãã©ã³ãã®æªæ¥`,category:`CULTURE & BRAND`,title:`ã¢ã¸ã¢ã®ç¾æèã¯ã©ãã¸åãããââåäº¬ã»æ±äº¬ããµãã¤ã®è¡ã®æããã`,excerpt:`åå°ã§ã¤ãªããã表ç¾ã§ããããã®åå°ãå°éãããããããã¢ã¸ã¢ããä¸çã«åãããã©ã³ãã®ä½æ³ã`,cover:`https://loremflickr.com/1600/1000/tokyo,alley,architecture,city/?lock=70112`,date:`2026.07.27`,readTime:`4 min`,body:[`798ãæ©ããªãããç§ã¯ããã£ã¨æ±äº¬ã®ãã¨ãèãã¦ããã`,`å京ã®ã¢ã¼ãã·ã¼ã³ã«ã¯ãã¹ã±ã¼ã«ã®å¤§ããã¨å¢ãããããå·¥å ´ä¸æ£ãã¾ããã¨ä½¿ãå±ç¤ºã大èãªè²å½©ãè¦ãè
ã«è¿·ãã許ããªããç´çã®åãããã空éãã¡ãã»ã¼ã¸ãã大ãããå¼·ããæ©ãã¦ãã¦ãåç´ã«è¡ãé¨ãã`,`䏿¹ãæ±äº¬ã®ç¾æèã¯ãå°ããã¨ç¹ç´°ãã«å®¿ããè·¯å°ã®åºæ§ãã
12å¨ã®æããããéåè¶ãã®å
ã®æããããå¼ãç®ã¨æ°é
ã®æåã ã声ã®å°ãããããããè±ããã®è¨¼ã«ãªãã`,`ã©ã¡ããåªãã¦ãããã¨ãã話ã§ã¯ãªããåå°ã®æ´å²ã¨æ®ãããéãã°ãç¾ã®å½¢ãéããå½ããåã®ãã¨ã ã`,`ãããé¢ç½ãã®ã¯ãããã ã表ç¾ã®å½¢ãéããªãããæ ¹ã£ãã«å
±éãããã®ãã¯ã£ããã¨ãããã¨ãããã¨ã ã£ããç´ æãã®ãã®ã¸ã®æ¬æãæéãéãããã®ã¸ã®æçãä½ç½ãç¾ã¨ããæè¦ãèªç¶ã徿ããã®ã§ã¯ãªããèªç¶ã¨èª¿åãããã¨ããå§¿å¢ã798ã®å±ç¤ºã®ä¸ã«ããæ±äº¬ã®è·¯å°ã«ããã®ã¨åãæåæ§ãã確ãã«æµãã¦ããã`,`ã¢ã¸ã¢ã®ç¾æèã«ã¯ãè¨èã«ããªãã¦ãéãåãåå°ããããç§ã¯ããæããããã®ãã¨ã¯ãã°ãã¼ãã«ã«ãã®ãå±ãããã¨ããç§ãã¡ã«ã¨ã£ã¦ã大ããªç¤ºåãæã£ã¦ãããå½å¢ãè¶ãã¦ååãå±ããã¨ã¯ããã®ãå
±éã®åå°ãã¨ãåå°ãã¨ã®æããããã®ä¸¡æ¹ãçè§£ãããã¨ã ãå
±éã®åå°ããããããããæ¬è³ªã¯ä¼ãããããã表ç¾ã®ä½æ³ã¯åå°ãã¨ã«éããããããå±ãæ¹ã«ã¯æ¬æã¨èª¿æ´ãè¦ãã`,`ã²ã¨ã¤ã®æ£è§£ãå
¨ä¸çã«æ¼ãä»ãããã©ã³ãã¯ãã©ããã§å¿
ãè»ã¿ãçããåå°ã§ã¤ãªããã表ç¾ã§ããããã®åå°ãå°éãããããããã¢ã¸ã¢ããä¸çã«åãããã©ã³ãã®ä½æ³ã ã¨æãã`,`åäº¬ã§æ±äº¬ãæ³ããæ±äº¬ã§åäº¬ãæ³ãããã®å¾å¾©ã®ä¸ã«ããè¦ããªãæ¯è²ãã確ãã«ããã`]},{slug:`798-13-shareable-city`,no:13,series:`798èè¡åºããèãããç¾ã¨ãã©ã³ãã®æªæ¥`,category:`CULTURE & BRAND`,title:`åçãæ®ããããªãè¡ã®è¨è¨ââ798ã¨ã·ã§ã¢ããã空é`,excerpt:`ã·ã§ã¢ãããä½é¨ã¯ãåºåè²»ã§ã¯è²·ãã
12ªããç¥ã£ã¦å¾
ã¤ãã®ã§ããªããè¨è¨ãããã®ã ã`,cover:`https://loremflickr.com/1600/1000/mural,street,brick,city/?lock=70113`,date:`2026.07.30`,readTime:`4 min`,body:[`798ã§ã¯ã誰ããåçãæ®ã£ã¦ããã観å
客ããå°å
ã®è¥è
ããç§ãã¡è¦å¯çµããã§ã¯ãªãããã®è¡ã¯ãããªã«ããæ®ããããªããã®ããæ©ããªããããã®ä»æãã観å¯ãã¦ã¿ãã`,`è¦ãã¦ããã®ã¯ããäºæ³ãå°ãè£åã風æ¯ãããæ©ããªãºã ã®ä¸ã«çµ¶å¦ã«é
ç½®ããã¦ãããã¨ãããã¨ã ãç¡éª¨ãªã¬ã³ã¬å£ã®åã«ãçªç¶ç¾ããé®®ãããªç¾ä»£å½«å»ãå·¥å ´ã®é
管ã®ä¸ãããã£ãå
ã«éãããæããåºå ´ãè·¯å°ã䏿¬æ²ãããã³ã«ãæ¯è²ã®æ§æ ¼ãå¤ããã人ã¯ãäºæ³éãã®ãã®ã«ã¯ã«ã¡ã©ãåããªãããæã£ã¦ããã®ã¨éããããã®çµã¿åããã¯åãã¦è¦ããã¨ããå°ããªé©ãã®ç¬éã«ãã·ã£ãã¿ã¼ãåãã`,`ããã²ã¨ã¤ã®ä»æãã¯ãã³ã³ãã©ã¹ãã ãå¤ããã®ã¨æ°ãããã®ãç¡éª¨ãªãã®ã¨ç¹ç´°ãªãã®ã巨大ãªãã®ã¨å°ããªãã®ã798ã®é¢¨æ¯ã¯ã常ã«ä½ãã¨ä½ãã®å¯¾æ¯ã§ã§ãã¦ããã対æ¯ã¯ãåçã«åããã¨ãã«æãä¼ãããããè¦è¦è¨èªã ããã®è¡ã¯ãæå³ãã¦ãã©ããã¯å¥ã¨ãã¦ããåçã¨ãããã©ã¼ãããã«ä¹ãããã風æ¯ãã§æ§æããã¦ããã`,`ããã¦éè¦ãªã®ã¯ãæ®ãããåçãçºä¿¡ããããããè¦ã人ãè¡ã訪ããã¾ãæ®ããã¨ãã循ç°ãåã£ã¦ãããã¨ã ãè¡ã®é¢¨æ¯ãã®ãã®ããæå¼·ã®åºåã¨ãã¦æ©è½ãã¦ãããåºåè²»ã¯ããã£ã¦ããªãã`,`ããã¯ããã©ã³ãã®ä½é¨è¨è¨ã«ããã®ã¾ã¾å¿ç¨ã§ããèãæ¹ã ãååãåãã¦ç®ã«ããç¬éãç®±ãéããç¬éã使ãçµãã£ã¦èãéããç¬éããã®ä½é¨ã®ã©ããã«ãäºæ³ãå°ãè¶
ããä½ãããä»è¾¼ãã¦ããã ãããã人ã«ä¼ããããªãå°ããªé©ãããè¨è¨ã§ãã¦ããã ãããã`,`ã·ã§ã¢ãããä½é¨ã¯ãåºåè²»ã§ã¯è²·ãã
12ªããç¥ã£ã¦å¾
ã¤ãã®ã§ããªããè¨è¨ãããã®ã ã798ã®è·¯å°ã¯ããã®æé«ã®ææã ã£ããç§ãã¡ã®æ¬¡ã®ååéçºã§ã¯ããéå°ã®ç¬éã«ã©ããªé©ããç½®ããããã妿¹ã¨åãç±éã§è°è«ãããã¨æãã`]},{slug:`798-14-culture-then-commerce`,no:14,series:`798èè¡åºããèãããç¾ã¨ãã©ã³ãã®æªæ¥`,category:`CULTURE & BRAND`,title:`ã¢ã¼ãå°åºãçãçµæ¸ââæåããã¸ãã¹ã«ãªãä»çµã¿`,excerpt:`æåãå
ã§ãå売ãå¾ãæ°åã¯ã価å¤ãå±ãããã¨ã®çµæã§ãã£ã¦ãç®çã§ã¯ãªãã`,cover:`https://loremflickr.com/1600/1000/market,street,shop,architecture/?lock=70114`,date:`2026.08.03`,readTime:`4 min`,body:[`798ã¯ãæåã¨ãã¸ãã¹ãç¾ããå
±åãã¦ããè¡ã ãã®ã£ã©ãªã¼ã¯ä½åã売ããã«ãã§ã¯å¸ã¨æéã売ããã·ã§ããã¯é貨ã売ãããããããå売ã¨ãã¦æç«ãã¦ããããããå°ã観å¯ããã°ãããã®ã¯ã訪ããäººãæ¬å½ã«å¯¾ä¾¡ãæã£ã¦ããã®ã¯ãåã
ã®ã¢ãã§ã¯ãªãããã®è¡ã§éããæéãã ãã¨ãããã¨ã ã`,`ã³ã¼ãã¼ä¸æ¯ã®ä¾¡æ ¼ã«ã¯ã798ã®ç©ºæ°ã®ä¸ã§ããã飲ãä½é¨ãå«ã¾ãã¦ãããé貨ã²ã¨ã¤ã®ä¾¡æ ¼ã«ã¯ããã®è¡ã§è¦ã¤ããã¨ããç©èªãå«ã¾ãã¦ãããè¡å
¨ä½ã®æåçãªä¾¡å¤ããåã
ã®ååã®ä¾¡å¤ãåºä¸ããã¦ããã`,`ããã«ã¯ãæåãçµæ¸ã«ãªãããã®ãæç¢ºãªãé çªãããããã¾ããæ¬ç©ã®æåããããæ¬¡ã«ãããã«æ¹ããã¦äººãéã¾ãã人ãéã¾ãã¨ãæ»å¨æéãçã¾ãããããã¦æ»å¨æéã®ä¸ã«ã飲é£ãè²·ãç©ã¨ãã£ãæ¶è²»ãèªç¶ã«çµã¿è¾¼ã¾ãã¦ãããæåãå
ã§ãå売ãå¾ããã®é çªã ã`,`éã¯ããã¾ããããªããå
ã«åæ¥æ½è¨ãä½ãããã¨ãããæåã£ã½ãè£
飾ããè¶³ãã¦ãã人ã®å¿ã¯åããªããæåã®ç±ã¯ãæå¾ãè¶
ãã¦ä½ãã«æãè¾¼ãã 人ãã¡ããããçã¾ããªãããã ãè£
飾ã¨ãã¦ã®æåã¯ãå¿
ãè¦æãããã`,`ãã®ååã¯ã伿¥æ´»åã«ããã®ã¾ã¾å½ã¦ã¯ã¾ãã¨èãã¦ãããã¾ããå質ã¨å²å¦ã¨ãããæ¬ç©ãããããããã«å
±æãã人ãéã¾ãããã¡ã³ã«ãªããã³ãã¥ããã£ãè²ã¤ãäºæ¥ã®æ°åã¯ããã®é¢ä¿ã®ä¸ãããçµæã¨ãã¦çã¾ãã¦ããã売ä¸ãç®çã«ç½®ãã¦éç®ã ãã§ä½ããããã®ã¯ãã©ããã§å¿
ãç±ã失ãã`,`ãã¡ããã伿¥ã§ãã以ä¸ãæ°åã¸ã®è²¬ä»»ã¯ãããä¸å ´ä¼æ¥ã§ããã°ããªãããã ããããã ãããããé çªãééãã¦ã¯ãããªããæ°åã¯ã価å¤ãå±ãããã¨ã®ãçµæãã§ãã£ã¦ããç®çãã§ã¯ãªãã`,`798ã®è³ããã¯ããã®é çªã®æ£ãããã20å¹´åã®å®ç¸¾ããã£ã¦éãã«è¨¼æãã¦ãããæåãå
ãå売ã¯å¾ãç§ãã¡ãããã®é çªãå®ãç¶ããä¼ç¤¾ã§ããããã`]},{slug:`798-15-can-japan-build-798`,no:15,series:`798èè¡åºããèãããç¾ã¨ãã©ã³ãã®æªæ¥`,category:`CULTURE & BRAND`,title:`æ¥æ¬ã«ã798ã¯ã¤ããããââå·¥å ´ã¨è·äººã®è¡ã®å¯è½æ§`,excerpt:`æãè¾¼ãã 人ãä½ã¿çããã¨ãå£ããéãããã¨ã20å¹´å¾
ã¤è¦æãå¿
è¦ãªã®ã¯å¤§è³æ¬ã§ã¯ãªãã`,cover:`https://loremflickr.com/1600/1000/japan,factory,town,architecture/?lock=70115`,date:`2026.08.06`,readTime:`4 min`,body:[`798ãæ©ããªãããé ã®ä¸ã«æµ®ããã§ããã®ã¯ãæ¥æ¬ã®å°æ¹ã«ããå·¥å ´çºã®é¢¨æ¯ã ã£ãã`,`æ¥æ¬ã«ã¯ãå½¹ç®ãå¤ãã¤ã¤ããå·¥å ´å»ºç¯ããå¾ç¶è
ãæ¢ãã¦ããè·äººã®æè¡ããåå°ã«éãã«ç ã£ã¦ããã天äºã®é«ãç¹ç©å·¥å ´ã使ãè¾¼ã¾ããéå
·ã並ã¶çºå·¥å ´ããã®åå°ã«ãããªã製é ã®è¨æ¶ã¨ããããæ¯ãã¦ãã人ãã¡ãç£æ¥æ§é ã®å¤åã®ä¸ã§ãããããå ´æã®å¤ãããéå»ã®ãã®ãã¨ãã¦æ±ããã¦ããã`,`ããã798ã証æããã
12®ã¯ãã¾ãã«ãããããç£æ¥ã®éºç£ãããããæåã®è³ç£ã«å¤ããå¾ããã¨ãããã¨ã ãæ´å²ã®å»ã¾ãã空éã®è³ªæã¯ãæ°ç¯ã§ã¯çµ¶å¯¾ã«ä½ããªããæ¬ç©ã®éå
·ã¨æè¡ã®å卿ã¯ããã¼ããã¼ã¯ã®æ¼åºã§ã¯åç¾ã§ããªããæã£ã¦ããå½ãå°åã¯ãå®ã¯éããã¦ãããæ¥æ¬ã¯ãééããªããã®çé ã ã`,`ã§ã¯ãä½ãå¿
è¦ãªã®ãã798ããèªã¿åããæ¡ä»¶ã¯ãå¤§è³æ¬ã§ã¯ãªãã3ã¤ã ãã ãã²ã¨ã¤ããã®å ´æã«æãè¾¼ãã 人éãå®éã«ä½ã¿çããæ´»åãå§ãããã¨ããµãã¤ãå¤ããã®ãå£ããããã®ä¸ã«æ°ããå¶ã¿ãéãããã¨ãã¿ã£ã¤ã20å¹´å¾
ã¤è¦æãæã¤ãã¨ãè£ãè¿ãã°ããã®3ã¤ã®ã©ããæ¬ ãã¦ããè¡ã¯è²ããªããç¹ã«3ã¤ç®ã®ãæéãããæ¥æ¬ã®å°åéçºã¯ãã°ãã°æ¥ããããã`,`ç§ãã¡ã®ã°ã«ã¼ãã«ããé岡çæå·å¸ã«ãåç²§åãå¥åº·é£åã®è£½é ã®ç¾å ´ãããããã®ã¥ããã®ç¾å ´ã¯ãæ®æ®
12µã¯éããç®±ã¨ãã¦éå¶ãããããããã798ãæ©ãããã¨ã§ã¯ãéãæªæ¥ãè¦ããã製é ã®ç¾å ´ãã®ãã®ãã人ã訪ããããªãæåã®çºä¿¡å°ã«ãªãæªæ¥ã ãå·¥å ´è¦å¦ã観å
ã«ãªããè·äººã®æè¡ãå±ç¤ºã«ãªãããã®ã¥ããã®çºã«äººãéã¾ãã`,`ããã¯æ±ºãã¦å¤¢ç©èªã§ã¯ãªããå京ã®éå¤ã§ããã¤ã¦ã®å·¥å ´ç¾¤ãä¸çä¸ãã人ãéãã¦ããããã®äºå®ããä½ããã®è¨¼æ ã ã`,`å·¥å ´ã¯ãéããç®±ã§ã¯ãªããéãããç©èªã«ãªãããæ¥æ¬ã®ãã®ã¥ããã®ç¾å ´ãæã¤æ½å¨åããç§ãã¡ã¯ä¿¡ãã¦ããã`]},{slug:`798-16-beauty-crosses-borders`,no:16,series:`798èè¡åºããèãããç¾ã¨ãã©ã³ãã®æªæ¥`,category:`CULTURE & BRAND`,title:`ç¾ã¯å½å¢ãè¶ããââ798ã§æãããå
±éè¨èªã¨ãã¦ã®ã¢ã¼ãã`,excerpt:`ä¸çã«åºãã¨ã¯ãè±èªã話ããã¨ã§ã¯ãªããç¾ã¨ããå
±éè¨èªãã磨ãæããã¨ã ã`,cover:`https://loremflickr.com/1600/1000/plaza,architecture,city,people/?lock=70116`,date:`2026.08.10`,readTime:`4 min`,body:[`798ã®ã®ã£ã©ãªã¼ã«ã¯ãä¸çä¸ã®ä½åã¨ãä¸çä¸ã®è¦³å®¢ããããã¨ã¼ãããããæ¥ããããå¹´é
ã®å¤«å©¦ãã¢ã¸ã¢åå½ããã®è¥ãæ
è¡è
ãå°å
ã®å¦çãã¡ãããã¦æ¥æ¬ããæ¥ãç§ãã¡ã使ãè¨èªããè²ã£ãæåããã¢ã¼ãã®ç¥èéãã°ãã°ããªäººéãã¡ããåã空éã§ãåãä½åã¨åãåã£ã¦ããã`,`ããã¦ãè¯ãä½åã®åã§ã¯ãã¿ãªåãããã«è¶³ãæ¢ãããå°ã身ä½ãå¼ãã¦å
¨ä½ãè¦ã¦ãè¿ã¥ãã¦ç´°é¨ãè¦ã¦ãã¾ãé¢ãããæ¯ãã®ãç¬éã«ãå½ç±ã¯ãªãã誰ãã®æåã®ä»æ¹ããè¨èãããããªãã¦ãä¼ãã£ã¦ããã`,`ç¾ã¯ã翻訳ã®ãããªãè¨èªã ããã®ç©ºéã§ããããä½åº¦ãç®æããã`,`ãã®ä½é¨ã¯ãç§ãã¡ã®äºæ¥ã«ã¨ã£ã¦ãã¨ã¦ã大ããªæå³ãæã¤ãç§ãã¡ã¯åç²§åã»ã¦ã§ã«ãã¹ã®ä¼ç¤¾ã¨ãã¦ãã¢ã¸ã¢ããä¸çã¸ååãå±ãããã¨ãã¦ãããè¨èªããæåããåç¿æ
£ãéãå¸å ´ã«åºã¦ãããã¨ã«ãªããç¾å°ã®è¨èãå¦ã³ãç¾å°ã®ã«ã¼ã«ãå°éããç¾å°ã®ãã¼ããã¼ã¨çµãããã®ãã¹ã¦ãå¿
è¦ã ã`,`ããããæå¾ã®æå¾ã«é ¼ããã®ã¯ã説æã§ã¯ãªãããæã«åã£ãç¬éã«ä¼ããä½ããã ããã¯ã¹ãã£ã¼ã®å¿å°ãããé¦ãã®åã®è¯ããããã«ãæã£ãã¨ãã®éå¿ããã¶ã¤ã³ã®ä½ã¾ãã使ãçµãã£ããã¨ã®ãå°ããªæºè¶³æãããã«å®¿ãç¾æèã¯ãèª¬ææ¸ãèªã¾ãªãã¦ãä¼ãããè¯ãä½åã®åã§ä¸çä¸ã®äººãè¶³ãæ¢ããããã«ãè¯ãååã¯ãå½å¢ãè¶ãã¦äººã®æãæ¢ããããã`,`798ã§ãå¤å½ç±ã®è¦³å®¢ã¨åãä½åã®åã«ç«ã£ãã¨ãããã®ç¢ºä¿¡ã¯ä¸æ®µæ·±ããªã£ãã`,`ä¸çã«åºãã¨ã¯ãè±èªã話ããã¨ã§ã¯ãªãããã¬ã¼ã³è³æãå¢ãããã¨ã§ããªããç¾ã¨ããå
±éè¨èªãã磨ãæããã¨ã ãç§ãã¡ã®ååãããã¤ãä¸çã®ã©ããã®å£²å ´ã§ãè¨èã®éããªã誰ãã®è¶³ãæ¢ããããã®ç¬éã®ããã«ã仿¥ã®ç¾æèãéãã¦ããã`]},{slug:`798-17-craft-and-art`,no:17,series:`798èè¡åºããèãããç¾ã¨ãã©ã³ãã®æªæ¥`,category:`CULTURE & BRAND`,title:`ãã®ã¥ããã¨ã¢ã¼ãã®å¢çç·ââè·äººæã¯ã¢ã¼ãã`,excerpt:`æè¡ã ããªãå·¥è¸åãåãã ããªãæãã¤ãã両æ¹ãæã£ãã¨ããããã¯æä»£ãè¶
ããã`,cover:`https://loremflickr.com/1600/1000/workshop,craft,industrial,building/?lock=70117`,date:`2026.08.13`,readTime:`4 min`,body:[`798ã«ã¯ãçµµç»ã彫å»ã ãã§ãªããé¶è¸ãéå·¥ãæ¨å·¥ãªã©ãå·¥è¸ã®æµããããä½åãæ°å¤ãããããããã®åã«ç«ã£ã¦ãã¦ããµã¨ãæããæ°ã«ãªã£ã¦ããåããé ããããããè·äººæã¨ã¢ã¼ãã®å¢çç·ã¯ãã©ãã«ããã®ã ããã`,`ããè¨ãããæ´çã¯ããã ãè·äººã¯ãæ±ããããå½¢ãå®ç§ã«åç¾ãããã¨ãç®æããã¢ã¼ãã£ã¹ãã¯ã誰ã«ãæ±ãããã¦ããªãæ°ããåããä¸çã«æãããåç¾ã®æã¨ãåµé ã®åãããããã«ãããããããåºå¥ã ã`,`ã ã798ã§è¦ãå·¥è¸ç³»ã®ä½åãã¡ã¯ããã®å¢çç·ã軽ã
ã¨è¶ãã¦ãããåãç¼ããéå±ãå©ããæ¨ãåãã¨ãããä½ç¾å¹´ãç¶ãæè¡ã®ä½ç³»ããã®å®ç§ãªç¿çã®ä¸ã«ãããã®æè¡ã§ãã¾ã 誰ãè¦ããã¨ã®ãªããã®ãä½ããªã
12ããã¨ãããä½ãæå人ã®åããä¹ã£ã¦ãããæè¡ã ããªãå·¥è¸åã§ãåãã ããªãæãã¤ãã ã両æ¹ãæã£ãã¨ããããã¯æä»£ãè¶
ãããã®ã«ãªãã`,`ãã®æ§é ã¯ãç§ãã¡ã®è£½é ç¾å ´ã«ãããã®ã¾ã¾å½ã¦ã¯ã¾ããç§ãã¡ã®ã°ã«ã¼ãã®å·¥å ´ã«ã¯ãè·äººãã¡ããããé
åã®ç²¾åº¦ãå®ãæãæè¡ãå
å¡«ã®ç¾ããã¸ã®ãã ãããæ¤åã®ã¨ãã®ãæ©æ¢°ã§ã¯æ¾ããªãéåæãå¯ç¥ããç®ãæ¯æ¥ãåããã¨ããå®ç§ã«ç¹°ãè¿ãããã®åã¿ã¯ãç¾å ´ã«ç«ã¦ã°ããããããã¯ééããªããç¿çã®æ¥µã¿ã¨ãã¦ã®ãæãã ã`,`ããã«ãããã£ã¨è¯ãå½¢ã¯ãªãããããã®å·¥ç¨ã¯ãã¾ã é²åã§ããã®ã§ã¯ãªãããã¨ããåããå ãã£ãã¨ããä½ãèµ·ãããããã®ã¥ããã¯ãåãªãçç£ãããã¢ã¼ãã®é åã«çè¶³ãè¸ã¿å
¥ãããå®éã製é ç¾å ´ã®å°ããªæ¹åã®ç©ã¿éãããããååã®å質ã®ãç®ã«è¦ããªãæ·±ããä½ã£ã¦ããã`,`æè¡ã¨ãåãã両æ¹ãæã¤ç¾å ´ã ãããæä»£ãè¶
ãããã®ãä½ããã798ã®å·¥è¸ä½åãã¡ã¯ãç§ãã¡ã®ç¾å ´ã®è·äººãã¡ã¸ã®ãæé«ã®è®è¾ã®ããã«ãè¦ããããã®ã¥ããã®èªãããããããã¦è¸ã«å»ãã ã`]},{slug:`798-18-sensibility-management`,no:18,series:`798èè¡åºããèãããç¾ã¨ãã©ã³ãã®æªæ¥`,category:`CULTURE & BRAND`,title:`ææ§ãéããçµå¶ââãªãçµå¶è
ã¯ã¢ã¼ããè¦ãã¹ãã`,excerpt:`çµå¶ã®æ¬å½ã«éè¦ãªå¤æã¯ãæ°åã«ãªããåãã®æ®µéã§æ±ºã¾ã£ã¦ããã`,cover:`https://loremflickr.com/1600/1000/architecture,window,light,building/?lock=70118`,date:`2026.08.17`,readTime:`5 min`,body:[`çµå¶ã®æææ±ºå®ã¯ãæå¾ã¯æ°åã§èªãããã売ä¸ãå©çãæè³ååãæ ªä¾¡ãä¸å ´ä¼æ¥ã®çµå¶è
ã¨ãã¦ãæ°åã¸ã®è²¬ä»»ããéããã¤ããã¯ã¾ã£ãããªããæ°åã¯ãçµå¶ã®å
±éè¨èªã ã`,`ããããæ£ç´ã«è¨ãã°ãçµå¶ã®æ¬å½ã«éè¦ãªå¤æã¯ãæ°åã«ãªããåãã®æ®µéã§æ±ºã¾ã£ã¦ãããä½ãä½ããã誰ã¨çµãããã©ã®å¸å ´ã«ãã©ããªé çªã§åããããããã¦ãããããã©ããªä¼ç¤¾ã§ããããããããããæ±ºããæç¹ã§ã¯ãé ¼ããæ°åã¯ã¾ã åå¨ããªããåå¨ããªãæªæ¥ã«ã¤ãã¦å¤æããã¨ããæå¾ã«åãã¦ããã®ã¯ãçµå¶è
ã®ææ§ã ãæ°åã¯ãææ§ãä¸ãã夿ãããã¨ããæ¤è¨¼ãã¦ãããã«ãããªãã`,`ããã¦ææ§ã«ã¯ãæãããæ§è³ªããããæ¾ã£ã¦ããã¨ãåºã¾ãã®ã ãåãæ¥çã®æ
å ±ãåãé¡ã¶ãã®ä¼è°ãåã種é¡ã®æåä½é¨ããã®ä¸ã«é·ãããã¨ã夿ã®ããã®ããããæ´æ°ãããªããªããéå»ã«å¹ããæã¡æãç¹°ãè¿ããå¤åã®å
ãããä¾å¤ãã¨ãã¦å¦çããããã«ãªããè¡°ãã¯ãæ¬äººã«ã¯èªè¦ã§ããªããããããçµé¨è±å¯ãªçµå¶è
ã»ã©é¥ããããç½ ã ã¨æãã`,`ã ãããæèçã«ãèªåã®å¤å´ã«ãããã®ã«è§¦ããå¿
è¦ããããã¢ã¼ãã¯ããã®ããã®æãå¹ççãªè£
ç½®ã ãçç±ã¯åç´ã§ãã¢ã¼ãã«ã¯ãçè§£ã§ããªããã®ããå«ã¾ãã¦ããããã ããããä½åã¯ãèªåã®ãã®ããã確èªããã¦ããããããããªãä½åã¯ãèªåã®ãã®ããã®éçãçªãã¤ãã¦ããããã®ãµãã¤ãå¾å¾©ã
12ããã¨ããææ§ã®å¯ååãåºããããã¸ãã¹æ¸ã100åèªãã§ãå¾ãããªã種é¡ã®éåã ã`,`798ã§éãããæéã¯ãè¦å¯ã§ããã¨åæã«ãçµå¶è
ã¨ãã¦ã®çãã¬ã ã£ããããã«å£²ä¸ã«ãªãç¥èã¯ãã²ã¨ã¤ããªãããããã5å¹´å¾ã®ã©ããã®ä¼è°å®¤ã§ä¸ã夿ã®è³ªãå¤ããä½ãã¯ã確ãã«æã¡å¸°ã£ãã¨æãã¦ããã`,`æ°åãèªãåã¨ãæ°åã«ãªãåã®ãã®ãæããåãçµå¶ã«ã¯ã両æ¹ãè¦ããåè
ã¯å¦ã¹ãããå¾è
ã¯æ©ãã¦è§¦ãã¦é©ããã¨ã§ããè²ããªããã ããç§ã¯ããããããç¾å ´ã¨æ¬ç©ã®åã«ç«ã¡ç¶ãããã`]},{slug:`798-19-regenerate-not-destroy`,no:19,series:`798èè¡åºããèãããç¾ã¨ãã©ã³ãã®æªæ¥`,category:`CULTURE & BRAND`,title:`ç ´å£ãããåçããââ798ã®å²å¦ã¨ãµã¹ãããã«ãªãã©ã³ãã¥ãã`,excerpt:`ãµã¹ããããªãã£ã®æ¬è³ªã¯ããå£ããã«ãæ´»ããç¶ãããã¨ããå²å¦ã ã`,cover:`https://loremflickr.com/1600/1000/brick,warehouse,restored,architecture/?lock=70119`,date:`2026.08.20`,readTime:`4 min`,body:[`é£è¼ãçµç¤ã«å
¥ã£ããããã§ã798ã¨ããè¡ã®å¨ãæ¹ã®æ ¸å¿ã ã¨ç§ãæãããã¨ãæ¸ãã¦ãããããããã¯ããã®è¡ããå£ããªãã£ãããã¨ã ã`,`çµæ¸åçæ§ã ãã§èããã°ãèæ½åããå·¥å ´ç¾¤ã¯åãå£ãã¦ãæ°ãã忥ãã«ã建ã¦ãã»ããæ£ããã£ããããããªããåå°ã®å¹çã¯ä¸ãããçæã®åçãèªã¿ããããå®éãä¸çä¸ã®é½å¸ã§ããããã£ã¦æ¶ãã¦ãã£ã風æ¯ã¯æ°ããããªãã`,`ããã798ã¯ãå£ããªãã£ããã¬ã³ã¬ããæ¢ããçªããæä»£ã®ã¹ãã¼ã¬ã³ã®è·¡ãããæ®ãããã®ä¸ã«æ°ããæéãéããéãé¸ãã ãæéã¯ããããå¹çãæªããã ãçµæã¨ãã¦ããã®è¡ã¯ä¸çã®ã©ãã«ãè¤è£½ã§ããªãå ´æã«ãªã£ããå¹çãæ¨ã¦ãå ´æã«ãããå¯ä¸ç¡äºã®ä¾¡å¤ãçã¾ããããã®é説ãã798ã®æå¤§ã®æãã ã¨æãã`,`ãµã¹ããããªãã£ã¨ããè¨èã¯ãç°å¢å¯¾å¿ã®æèã§èªããããã¨ãå¤ããçè³æºããªãµã¤ã¯ã«ãæåºåæ¸ãã©ããéè¦ã§ã伿¥ã¨ãã¦çå£ã«åãçµãã¹ããã¼ãã ãããã798ãæ©ãããã¨ã§ã¯ããã®è¨èã®æ¬è³ªããããå°ãæ·±ãã¨ããã«ããã¨æããã`,`ãµã¹ããããªãã£ã®æ¬è³ªã¯ããå£ããã«ãæ´»ããç¶ãããã¨ããå²å¦ã ã建ç©ããæè¡ãã人ããããã¦ãã©ã³ããã`,`ç§ãã¡ã¯ã幹細èå¹é¤ä¸æ¸
æ¶²ã¨ããç´ æãæ±ããèãæ®ããã«å¯ãæ·»ãåç²§åã»ã¦ã§ã«ãã¹ååãä½ã£ã¦ããä¼ç¤¾ã ããã®äºæ¥ã§ç§ãã¡ãç®æãã¦ããã®ã¯ãæµè¡ã追ã£ã¦ãä½ã£ã¦ã¯æ¨ã¦ããµã¤ã¯ã«ã®ä¸ã§æ¦ããã¨ã§ã¯ãªããé·ã使ãç¶ããããé·ãæããã使ãäººã®æ¯æ¥ã«éãã«å®çãã¦ãããã©ã³ããè²ã¦ããã¨ã ã`,`ä½ã£ã¦ã¯å£ãç«¶äºã¯ãä½åã®åè² ã«ãªããä½ã£ã¦ãéãã¦ãè²ã¦ãéã¯ãæéã®åè² ã«ãªããç§ãã¡ã¯å¾è
ãé¸ã¶ã20å¹´ããã¦æåã«ãªã£ãå京ã®å·¥å ´è¡ãããã®é¸æã®æ£ãããä¿è¨¼ãã¦ããã¦ããããã ã£ãã`,`å£ãã®ã¯ä¸ç¬ãéããã®ã¯ä½åå¹´ãã ãããããéãããã®ã¯å¼·ãã`]},{slug:`798-20-next-decade`,no:20,series:`798èè¡åºããèãããç¾ã¨ãã©ã³ãã®æªæ¥`,category:`CULTURE & BRAND`,title:`次ã®10å¹´ãç¾ã¨å¥åº·ã¨ã¢ã¼ãã®äº¤å·®ç¹ã§ââRASãæãæªæ¥`,excerpt:`ããããã®ãã©ã³ãã¯ããæåãã«ãªãããã©ããã§æ±ºã¾ããè¿éã¯ãªããã ããéã¯ç¢ºãã«ããã`,cover:`https://loremflickr.com/1600/1000/sunset,industrial,architecture,city/?lock=70120`,date:`2026.08.24`,readTime:`5 min`,body:[`20åã«ããã£ã¦ã798èè¡åºãæ©ãã¦èãããã¨ãæ¸ãã¦ãããå·¥å ´å»ºç¯ã®è©±ãããä½ç½ã®ãã¶ã¤ã³ãAIã¨åµé æ§ãäºè¡ã®å²å¦ãããã¦çµå¶è
ã®ææ§ã¾ã§ãæçµåã¨ãªãä»åã¯ããã®è¦å¯ããç§ãã¡ãæã¡å¸°ã£ãçµè«ããã¾ã£ããã«è¨ãããã`,`çµè«ã¯ãã²ã¨ã¤ã ãããããã®ãã©ã³ãã¯ããæåãã«ãªãããã©ããã§æ±ºã¾ãã`,`çå±ã¯ãããã ãæ©è½ã§é¸ã°ããååã¯ãããè¯ãæ©è½ãç¾ããç¬éã«ç½®ãæãããããä¾¡æ ¼ã§é¸ã°ããååã¯ãããå®ãä¾¡æ ¼ã®åã«æãããæ©è½ã¨ä¾¡æ ¼ã®ç«¶äºã¯ãçµããã®ãªãæ¶èæ¦ã ãåå ãç¶ãããã¨ã¯ã§ããããåã¡ç¶ãããã¨ã¯é£ããã`,`ããããç¾æèã¨ç©èªã§æããããã©ã³ãã¯ãç°¡åã«ã¯ç½®ãæããããªãã使ãäººã®æ®ããã®ä¸ã«ãè¨æ¶ã®ä¸ã«ãã¢ã¤ãã³ãã£ãã£ã®ä¸ã«ãå±
å ´æãæã£ã¦ãã¾ãããã ãããã¯ãããåãªãååã§ã¯ãªãããã®äººã«ã¨ã£ã¦ã®å°ããªæåã ã798ã20å¹´ããã¦ããã ã®å·¥å ´è·¡ããä¸çã®æåã«ãªã£ãããã«ããã©ã³ããã¾ããæéãããã¦æåã«ãªã£ã¦ãããè¿éã¯ãªããã ããéã¯ç¢ºãã«ããã`,`Instinct Rasã¯ããã®ææ¦ã®ã¨ã³ã¸ã³ã«ãªãä¼ç¤¾ã ãç§ãã¡ã«ã¯ãAIã¨ããæ¦å¨ãããã妿¹è¨è¨ã®èªååãã¯ããããã¯ããã¸ã¼ã¯éçºã®ã¹ãã¼ããåçã«ä¸ãã¦ãããããããããã®é£è¼ã§ç¹°ãè¿ãæ¸ãã¦ããã¨ãããã¹ãã¼ãã¯æ¹åãæãã¦ãããªã
12ãæ¹åãæ±ºããã®ã¯ã人éã®ç¾æèã ããã¯ããã¸ã¼ã§éçºãéãããªããã人éã®ç¾æèã§æ¹åãæ±ºãããå¹çã¨ææ§ã®ä¸¡è¼ªã§ãç¾ã¨å¥åº·ã®æ°ããæåããã¢ã¸ã¢ããä½ã£ã¦ããã`,`798ã®è·¯å°ã§æããããã®éããªç±éãè¦ãã¦ããã大声ã§ã¯ãªãã®ã«ã確ãã«ç±ãããã®æ¸©åº¦ããç§ãã¡ã®ä»äºã®ä¸ã«ç¯ãç¶ããããä¼è°å®¤ã«ãç 究室ã«ã製é ç¾å ´ã«ãããã¦çãã¾ã«å±ãååã²ã¨ã¤ã²ã¨ã¤ã®ä¸ã«ã`,`é·ãé£è¼ã«ãä»ãåãããã ãããããã¨ããããã¾ãããæ¬¡ã¯ãã²ãç§ãã¡ã®ååã¨ããã®å
ã«ç¶ãç©èªã®ä¸ã§ããä¼ããã¾ãããã`]}];function Fl(e){let[t,n,r]=e.split(/[.\-/]/).map(e=>parseInt(e,10));return(t||0)*1e4+(n||0)*100+(r||0)}var Il=864e5;function Ll(e){let[t,n,r]=e.split(/[.\-/]/).map(e=>parseInt(e,10));return!t||!n||!r?NaN:Date.UTC(t,n-1,r)}function Rl(e){let t=new Date(e),n=e=>String(e).padStart(2,`0`);return`${t.getUTCFullYear()}.${n(t.getUTCMonth()+1)}.${n(t.getUTCDate())}`}function zl(e){let t=e.map(e=>Ll(e.date)).filter(e=>!Number.isNaN(e)),n=Math.floor(Date.now()/Il)*Il,r=t.length?Math.max(...t):n,i=r>n?r-n:0,a=t.length?Math.min(...t)-i:n;return e.map(e=>{let t=Ll(e.date);return Number.isNaN(t)?{...e,date:Rl(a-Il)}:{...e,date:Rl(t-i)}})}var Bl=zl(Pl).map((e,t)=>{if(e.category===`FRAGRANCE`){let n=e.cover&&!Ml.has(e.cover)?e.cover:jl[t%jl.length];return{...e,cover:n}}return{...e,cover:e.cover??Nl[t%Nl.length]}}).sort((e,t)=>Fl(t.date)-Fl(e.date)||(t.no??0)-(e.no??0));function Vl(e=4){return Bl.slice(0,e)}function Hl(e){return Bl.find(t=>t.slug===e)}var U=ys(`/fragrance`)({head:()=>Tl({title:`Fragrance â çµµç»ã®é£ã«ãé¦ã | INSTINCT RAS`,description:`INSTINCT RAS ã®å
è¦ãã¥ã¬ã¼ã·ã§ã³ããªã«ãã¡ã¯ããªã¼ã¢ã¼ããé¦éãã¢ãããã©ãã¼ããããããã¥ã¼ããªã¼ââè¦è¦ã¨å
è¦ã§ç·¨ãçæ´»ã`,path:`/fragrance`,image:Bl.find(e=>e.category===`FRAGRANCE`)?.cover??null}),component:B(()=>k(()=>import(`./fragrance-BZe55MZr.js`),__vite__mapDeps([13,1,8,9,6])),`component`)}),W=ys(`/culture`)({beforeLoad:()=>{throw rt({to:`/art`})}}),G=ys(`/contact`)({head:()=>Tl({title:`Contact â ãåãåãã | INSTINCT RAS`,description:`ä½åè³¼å
¥ã»ã³ããã·ã§ã³ã»ä¼æ¥ã³ã©ãã¬ã¼ã·ã§ã³ã»åæã¾ã§ãINSTINCT RAS ã¸ã®ãåãåããã¯ãã¡ããããç«ãç¶ãä¼è©±ããããããã`,path:`/contact`}),component:B(()=>k(()=>import(`./contact-C2_VY-P_.js`),__vite__mapDeps([14,1,6])),`component`)}),K=ys(`/competitions`)({head:()=>Tl({title:`OPEN CALLS â ä½å®¶ã®å¿åã¯ãã¤ã§ã | INSTINCT RAS`,description:`INSTINCT RAS ã¯ãã¤ã§ãä½å®¶ã®å¿åãåãä»ãã¦ãã¾ããBIOTã°ã«ã¼ãå社ããã®ããªã¼ãã伿¥æ¡ä»¶ãã³ããã·ã§ã³ã®ãç¸è«ã¾ã§ã`,path:`/competitions`}),component:B(()=>k(()=>import(`./competitions-DyjWH4en.js`),__vite__mapDeps([15,1,8,9,6])),`component`)}),q=ys(`/art`)({head:()=>({meta:[{title:`ã¢ã¼ãÃã«ã«ãã£ã¼ï½æè½ã«ç«ããææ§ãå¼ã³è¦ã¾ã â INSTINCT RAS`},{name:`description`,content:`INSTINCT RASã®ã¢ã¼ãÃã«ã«ãã£ã¼äºæ¥ãæ¥æ¬ã®ç¾å¤§çã®ä½åãä¸çã¸ãVOICEã¨MAGAZINEã§âæ°ã¥ãâãèç©ãã¾ãã`},{property:`og:title`,content:`ART à CULTURE â Set fire to talent. Awaken the senses.`},{property:`og:url`,content:`https://instinct-ras.com/art`}],links:[{rel:`canonical`,href:`https://instinct-ras.com/art`}]}),component:B(()=>k(()=>import(`./art-D2WZ0ouX.js`),__vite__mapDeps([16,1,17,18,19,10,6,8,9])),`component`)}),Ul=ys(`/about`)({head:()=>({meta:[{title:`INSTINCT RASã¨ã¯ï½ABOUT à MARKETING à AI â ææ³ã¨ãµã¼ãã¹`},{name:`description`,content:`INSTINCT RASã¯ãRASï¼ç¶²æ§ä½è³¦æ´»ç³»ï¼ã®ææ³ã®ãã¨âä¸ã®ä¸ã®æ³¨æãå¼ã³è¦ã¾ãâ3äºæ¥ãå¶ãBIOT Groupã®ã¯ãªã¨ã¤ãã£ã伿¥ã§ãã`},{property:`og:title`,content:`About INSTINCT RAS â Philosophy & Marketing à AI`},{property:`og:description`,content:`The philosophy of RAS, three businesses, and marketing à AI services of INSTINCT RAS (BIOT Group).`},{property:`og:url`,content:`https://instinct-ras.com/about`}],links:[{rel:`canonical`,href:`https://instinct-ras.com/about`}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`Organization`,name:`INSTINCT RAS`,url:`https://instinct-ras.com/`,parentOrganization:{"@type":`Organization`,name:`BIOT Group`}})}]}),component:B(()=>k(()=>import(`./about-BsO4m10d.js`),__vite__mapDeps([20,1,18,3,10,6,8,9])),`component`)}),Wl={version:1,asset_id:`b4212738-16d1-436f-9bcc-a37cb99b51b5`,project_id:`f3a68454-3c51-4d3d-a73c-6dbfab13851f`,url:`/__l5e/assets-v1/b4212738-16d1-436f-9bcc-a37cb99b51b5/hero-value-village.png`,r2_key:`a/v1/f3a68454-3c51-4d3d-a73c-6dbfab13851f/b4212738-16d1-436f-9bcc-a37cb99b51b5/hero-value-village.png`,original_filename:`hero-value-village.png`,size:2667039,content_type:`image/png`,created_at:`2026-07-20T09:41:49Z`},Gl=ys(`/`)({head:()=>({meta:[{title:`INSTINCT RASï½æè½ã«ç«ãå
¥ãã â ã¢ã¼ãçºã®ã¯ãªã¨ã¤ãã£ãï¼ãã¼ã±ãã£ã³ã°ã»ã«ã³ããã¼ï¼BIOT Groupï¼`},{name:`description`,content:`INSTINCT RASã¯ã"ä¸ã®ä¸ã®æ³¨æãå¼ã³è¦ã¾ã"ãã¨ãäºæ¥ã«ãããã¢ã¼ãçºã®ã¯ãªã¨ã¤ãã£ãï¼ãã¼ã±ãã£ã³ã°ã»ã«ã³ããã¼ã§ããï¼BIOT Groupï¼`},{property:`og:title`,content:`INSTINCT RAS â Set fire to talent.`},{property:`og:description`,content:`INSTINCT RAS is a creative and marketing company that awakens the world's attention â born from art. (BIOT Group)`},{property:`og:type`,content:`website`},{property:`og:url`,content:`https://instinct-ras.com/`},{property:`og:site_name`,content:`INSTINCT RAS`},{property:`og:image`,content:`https://instinct-ras.com${Wl.url}`},{property:`og:image:alt`,content:`INSTINCT RAS â æè½ã«ãç«ãå
¥ããã`},{name:`twitter:card`,content:`summary_large_image`},{name:`twitter:title`,content:`INSTINCT RAS â Set fire to talent.`},{name:`twitter:description`,content:`INSTINCT RAS is a creative and marketing company that awakens the world's attention â born from art. (BIOT Group)`},{name:`twitter:image`,content:`https://instinct-ras.com${Wl.url}`}],links:[{rel:`canonical`,href:`https://instinct-ras.com/`}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`Organization`,name:`INSTINCT RAS`,url:`https://instinct-ras.com/`,parentOrganization:{"@type":`Organization`,name:`BIOT Group`},description:`Creative and marketing company that awakens the world's attention â born from art.`})}]}),component:B(()=>k(()=>import(`./routes-DvUniFAm.js`),__vite__mapDeps([21,1,4,5,6,7,8,9])),`component`)}),Kl=ys(`/notes/`)({head:()=>Tl({title:`VOICE â æè½ã«æ°ã¥ããæ¸ãå ´æï½INSTINCT RAS`,description:`INSTINCT RASã®èªè
æç¨¿ã»ã¯ã·ã§ã³VOICEãä½å®¶ãå¦çã誰ã§ãæ¸ãããä½åã¸ã®æ°ã¥ããã¢ããªã¨æ¥è¨ãé¦ãã®è¨æ¶ãéãã¦ãç¡åã®æè½ã«ç«ãå
¥ãã¾ãã`,path:`/notes`}),component:B(()=>k(()=>import(`./notes.index-D9O-o_f5.js`),__vite__mapDeps([22,1,8,9,6])),`component`)}),ql=ys(`/magazine/`)({head:()=>Tl({title:`Magazine â ç§å¦ à æåã®èªã¿ãã® | INSTINCT RAS`,description:`INSTINCT RAS ã®ãã¬ã¸ã³ãä½å®¶ã¤ã³ã¿ãã¥ã¼ãé¦ãã¨å
è¦ã®è¨äºãå京ã»798èè¡åºã
12®é£è¼ãªã©ãæè½ã«ç«ãå
¥ããèªã¿ãã®ãæ¥ã
æ´æ°ãã¦ãã¾ãã`,path:`/magazine`,image:Bl[0]?.cover}),component:B(()=>k(()=>import(`./magazine.index-DBejjOHx.js`),__vite__mapDeps([23,1,24,5,6,7,8,9])),`component`)}),Jl=ys(`/artists/`)({head:()=>Tl({title:`Artists â ä½å®¶ä¸è¦§ | INSTINCT RAS`,description:`INSTINCT RAS ã«éããä¸ä»£ãè¶ããä½å®¶ãã¡ããããã£ã¼ã«ã»ã¹ãã¼ãã¡ã³ãã»ä»£è¡¨ä½ããããã¾ç«ã宿ãæè½ãæ¢ãã¾ãã`,path:`/artists`,image:bl[0]?.image??null}),component:B(()=>k(()=>import(`./artists.index-teLlbetd.js`),__vite__mapDeps([25,1,7,8,9,6])),`component`)}),Yl=ys(`/writer/$id`)({head:({params:e})=>Tl({title:`Writer â VOICE æç¨¿è
ãããã£ã¼ã« | INSTINCT RAS`,description:`INSTINCT RAS VOICE ã«å¯ç¨¿ããæ¸ãæã®ãããã£ã¼ã«ã¨æç¨¿ä¸è¦§ã`,path:`/writer/${e.id}`,type:`profile`}),component:B(()=>k(()=>import(`./writer._id-pj0umqlt.js`),__vite__mapDeps([26,1,8,9,6])),`component`),errorComponent:B(()=>k(()=>import(`./writer._id-DaBrADK9.js`),__vite__mapDeps([27,1])),`errorComponent`),notFoundComponent:B(()=>k(()=>import(`./writer._id-BaYuPWqA.js`),__vite__mapDeps([28,1,8,9,6])),`notFoundComponent`)}),Xl=ys(`/notes/$slug`)({head:({params:e})=>Tl({title:`${e.slug} â VOICE | INSTINCT RAS`,description:`INSTINCT RAS VOICE ã®æç¨¿è¨äºãä½åã¸ã®æ°ã¥ããã¢ããªã¨æ¥è¨ãé¦ãã®è¨æ¶ââã ãã®å£°ããç«ã«ãªãã`,path:`/notes/${e.slug}`,type:`article`}),component:B(()=>k(()=>import(`./notes._slug-ugr3kTLl.js`),__vite__mapDeps([29,1,8,9,6])),`component`),errorComponent:B(()=>k(()=>import(`./notes._slug-CalUVwll.js`),__vite__mapDeps([30,1,9,6])),`errorComponent`),notFoundComponent:B(()=>k(()=>import(`./notes._slug-CBfD3VBG.js`),__vite__mapDeps([31,1,8,9,6])),`notFoundComponent`)}),Zl=()=>k(()=>import(`./magazine._slug-B5l2kB6q.js`),__vite__mapDeps([32,1,24,7,8,9,6])),Ql=()=>k(()=>import(`./magazine._slug-CNSs6yhD.js`),__vite__mapDeps([33,1])),$l=()=>k(()=>import(`./magazine._slug-Bgp3t5dk.js`),__vite__mapDeps([34,1,8,9,6])),eu=`https://instinct-ras.com`,tu=ys(`/magazine/$slug`)({loader:({params:e})=>{let t=Hl(e.slug);if(!t)throw Le();return{article:t}},head:({loaderData:e,params:t})=>{let n=`${eu}/magazine/${t.slug}`;if(!e)return{meta:[{title:`Unavailable â Magazine | INSTINCT RAS`},{name:`robots`,content:`noindex`}]};let r=e.article,i=r.excerpt.slice(0,155),a=r.cover.startsWith(`http`)?r.cover:`${eu}${r.cover}`,o=r.date.replace(/\./g,`-`);return{meta:[{title:`${r.title} â Magazine | INSTINCT RAS`},{name:`description`,content:i},{property:`og:title`,content:r.title},{property:`og:description`,content:i},{property:`og:type`,content:`article`},{property:`og:url`,content:n},{property:`og:site_name`,content:`INSTINCT RAS`},{property:`og:image`,content:a},{property:`article:published_time`,content:o},{property:`article:section`,content:r.category},{name:`twitter:card`,content:`summary_large_image`},{name:`twitter:title`,content:r.title},{name:`twitter:description`,content:i},{name:`twitter:image`,content:a}],links:[{rel:`canonical`,href:n}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`Article`,headline:r.title,description:i,image:[a],datePublished:o,articleSection:r.category,inLanguage:`ja`,mainEntityOfPage:{"@type":`WebPage`,"@id":n},author:{"@type":`Organization`,name:`INSTINCT RAS`,url:`${eu}/`},publisher:{"@type":`Organization`,name:`INSTINCT RAS`,url:`${eu}/`},...r.series?{isPartOf:{"@type":`CreativeWorkSeries`,name:r.series},position:r.no}:{}})},{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`BreadcrumbList`,itemListElement:[{"@type":`ListItem`,position:1,name:`HOME`,item:`${eu}/`},{"@type":`ListItem`,position:2,name:`MAGAZINE`,item:`${eu}/magazine`},{"@type":`ListItem`,position:3,name:r.title,item:n}]})}]}},notFoundComponent:B($l,`notFoundComponent`),errorComponent:B(Ql,`errorComponent`),component:B(Zl,`component`)}),nu=[{key:`vintage-posters`,label:`Vintage Posters`,badge:`01`,accent:`var(--brass)`,body:`ç¾è¡é¤¨ã»ã®ã£ã©ãªã¼ã®å±è¦§ä¼ã®ããã«å¶ä½ãããã彿ã®ãªãªã¸ãã«ãã¹ã¿ã¼ã20ä¸ç´ã®å±ç¤ºè¨æ¶ããç´ãã®ã¾ã¾ã«ã`,items:[{id:`vintage-posters-01`,title:`Picasso â Musée d'Art Moderne`,origin:`Paris`,year:1955,spec:`Lithograph, 70 à 50 cm`,price:18e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=44294`,curationKey:`vintage-posters`},{id:`vintage-posters-02`,title:`Matisse â Galerie Maeght`,origin:`Paris`,year:1953,spec:`Lithograph, 65 à 50 cm`,price:24e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=67411`,curationKey:`vintage-posters`},{id:`vintage-posters-03`,title:`Miró â Fondation Maeght`,origin:`Saint-Paul`,year:1968,spec:`Lithograph, 75 à 55 cm`,price:16e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=80862`,curationKey:`vintage-posters`},{id:`vintage-posters-04`,title:`Chagall â Galerie Maeght`,origin:`Paris`,year:1962,spec:`Lithograph, 70 à 50 cm`,price:22e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=47577`,curationKey:`vintage-posters`},{id:`vintage-posters-05`,title:`Léger â Galerie Louise Leiris`,origin:`Paris`,year:1955,spec:`Lithograph, 65 à 50 cm`,price:14e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=80758`,curationKey:`vintage-posters`},{id:`vintage-posters-06`,title:`Braque â Berggruen`,origin:`Paris`,year:1959,spec:`Lithograph, 65 à 48 cm`,price:13e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=4
120364`,curationKey:`vintage-posters`},{id:`vintage-posters-07`,title:`Calder â Galerie Maeght`,origin:`Paris`,year:1971,spec:`Lithograph, 75 à 55 cm`,price:11e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=30032`,curationKey:`vintage-posters`},{id:`vintage-posters-08`,title:`Dubuffet â Pace Gallery`,origin:`New York`,year:1968,spec:`Offset, 90 à 60 cm`,price:95e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=292`,curationKey:`vintage-posters`},{id:`vintage-posters-09`,title:`Hartung â Galerie de France`,origin:`Paris`,year:1964,spec:`Lithograph, 70 à 50 cm`,price:7e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=54669`,curationKey:`vintage-posters`},{id:`vintage-posters-10`,title:`Vasarely â Denise René`,origin:`Paris`,year:1970,spec:`Silkscreen, 70 à 50 cm`,price:85e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=72706`,curationKey:`vintage-posters`},{id:`vintage-posters-11`,title:`Soulages â Galerie de France`,origin:`Paris`,year:1959,spec:`Lithograph, 70 à 50 cm`,price:12e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=11197`,curationKey:`vintage-posters`},{id:`vintage-posters-12`,title:`Tà pies â Galerie Maeght`,origin:`Barcelona`,year:1972,spec:`Lithograph, 75 à 56 cm`,price:9e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=69939`,curationKey:`vintage-posters`},{id:`vintage-posters-13`,title:`Kandinsky â Centre Pompidou`,origin:`Paris`,year:1984,spec:`Offset, 80 à 60 cm`,price:38e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=12842`,curationKey:`vintage-posters`},{id:`vintage-posters-14`,title:`Klee â Kunsthaus Zürich`,origin:`Zürich`,year:1979,spec:`Offset, 84 à 60 cm`,price:32e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=65790`,curationKey:`vintage-posters`},{id:`vintage-posters-15`,title:`Mondrian â Stedelijk Museum`,origin:`Amsterdam`,year:1980,spec:`Offset, 84 à 60 cm`,price:36e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=22527`,curationKey:`vintage-posters`},{id:`vintage-posters-16`,title:`Bauhaus â Museum für Gestaltung`,origin:`Berlin`,year:1968,spec:`Offset, 90 à 60 cm`,price:48e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=75155`,curationKey:`vintage-posters`},{id:`vintage-posters-17`,title:`Hockney â Tate Gallery`,origin:`London`,year:1988,spec:`Offset, 76 à 51 cm`,price:42e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=8779`,curationKey:`vintage-posters`},{id:`vintage-posters-18`,title:`Magritte â Museum of Modern Art`,origin:`New York`,year:1992,spec:`Offset, 91 à 61 cm`,price:38e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=49620`,curationKey:`vintage-posters`},{id:`vintage-posters-19`,title:`Rothko â National Gallery`,origin:`Washington`,year:1998,spec:`Offset, 84 à 60 cm`,price:3e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=93793`,curationKey:`vintage-posters`},{id:`vintage-posters-20`,title:`Twombly â Gagosian`,origin:`New York`,year:2005,spec:`Offset, 84 à 60 cm`,price:32e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=95922`,curationKey:`vintage-posters`}]},{key:`pop-art`,label:`Pop Art`,badge:`02`,accent:`var(--magenta)`,body:`20ä¸ç´å¾åãå¤§è¡æåã¨ç¾è¡ã®å¢çãå¡ãæ¿ããã ã¼ãã¡ã³ãã®è¨é²ãã·ã«ã¯ã¹ã¯ãªã¼ã³ãã¨ãã£ã·ã§ã³ãåç»ã`,items:[{id:`pop-art-01`,title:`Andy Warhol â Marilyn (After)`,origin:`Edition Print`,year:1987,spec:`Silkscreen, 91 à 91 cm`,price:28e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=60954`,curationKey:`pop-art`},{id:`pop-art-02`,title:`Roy Lichtenstein â Crying Girl`,origin:`Edition Print`,year:1986,spec:`Offset Lithograph, 60 à 45 cm`,price:18e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=44713`,curationKey:`pop-art`},{id:`pop-art-03`,title:`Keith Haring â Pop Shop I`,origin:`Edition Print`,year:1987,spec:`Silkscreen, 30 à 38 cm`,price:22e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=67938`,curationKey:`pop-art`},{id:`pop-art-04`,title:`Jean-Michel Basquiat â Crown (After)`,origin:`Edition Print`,year:2019,spec:`Giclée, 50 à 70 cm`,price:13e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=83779`,curationKey:`pop-art`},{id:`pop-art-05`,title:`Mr. Brainwash â Spray Love`,origin:`Edition Print`,year:2020,spec:`Silkscreen, 56 à 76 cm`,price:9e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=48332`,curationKey:`pop-art`},{id:`pop-art-06`,title:`KAWS â Companion (Print)`,origin:`Edition Print`,year:2019,spec:`Silkscreen, 51 à 41 cm`,price:32e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=94391`,curationKey:`pop-art`},{id:`pop-art-07`,title:`Banksy â Girl with Balloon (Unsigned)`,origin:`Edition Print`,year:2004,spec:`Offset, 50 à 70 cm`,price:24e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=36526`,curationKey:`pop-art`},{id:`pop-art-08`,title:`Yayoi Kusama â Pumpkin (Edition)`,origin:`Edition Print`,year:2004,spec:`Silkscreen, 41 à 31 cm`,price:38e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=99488`,curationKey:`pop-art`},{id:`pop-art-09`,title:`Takashi Murakami â Flower Smile`,origin:`Edition Print`,year:2020,spec:`Offset, 71 à 71 cm`,price:18e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=87864`,curationKey:`pop-art`},{id:`pop-art-10`,title:`Mel Ramos â Bunny`,origin:`Edition Print`,year:1989,spec:`Lithograph, 60 à 76 cm`,price:8e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=83932`,curationKey:`pop-art`},{id:`pop-art-11`,title:`Tom Wesselmann â Nude`,origin:`Edition Print`,year:1981,spec:`Silkscreen, 60 à 76 cm`,price:11e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=65419`,curationKey:`pop-art`},{id:`pop-art-12`,title:`Robert Indiana â LOVE`,origin:`Edition Print`,year:1996,spec:`Silkscreen, 60 à 60 cm`,price:95e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=93626`,curationKey:`pop-art`}
12,{id:`pop-art-13`,title:`James Rosenquist â F-111 (Section)`,origin:`Edition Print`,year:1974,spec:`Lithograph, 60 à 90 cm`,price:7e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=31083`,curationKey:`pop-art`},{id:`pop-art-14`,title:`Claes Oldenburg â Soft Drainpipe`,origin:`Edition Print`,year:1969,spec:`Lithograph, 76 à 56 cm`,price:6e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=25285`,curationKey:`pop-art`},{id:`pop-art-15`,title:`Peter Max â Cosmic Runner`,origin:`Edition Print`,year:1972,spec:`Silkscreen, 75 à 56 cm`,price:48e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=29805`,curationKey:`pop-art`},{id:`pop-art-16`,title:`Mr. â Tokyo Girl`,origin:`Edition Print`,year:2018,spec:`Offset, 60 à 42 cm`,price:7e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=15877`,curationKey:`pop-art`},{id:`pop-art-17`,title:`Aiko â Bunny Girl`,origin:`Edition Print`,year:2019,spec:`Silkscreen, 51 à 41 cm`,price:55e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=22590`,curationKey:`pop-art`},{id:`pop-art-18`,title:`Faile â Print Set`,origin:`Edition Print`,year:2017,spec:`Silkscreen, 56 à 76 cm`,price:65e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=50806`,curationKey:`pop-art`},{id:`pop-art-19`,title:`Shepard Fairey â Obey Print`,origin:`Edition Print`,year:2015,spec:`Silkscreen, 46 à 61 cm`,price:38e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=3388`,curationKey:`pop-art`},{id:`pop-art-20`,title:`INVADER â Rubikcubist`,origin:`Edition Print`,year:2018,spec:`Offset, 50 à 50 cm`,price:9e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=58217`,curationKey:`pop-art`}]},{key:`photography`,label:`Photography`,badge:`03`,accent:`var(--cobalt)`,body:`åç表ç¾ã®è»¢æç¹ã¨ãªã£ãå±è¦§ä¼ã®ãå
¬å¼ã´ã£ã³ãã¼ã¸ãã¹ã¿ã¼ãåã³ç¾ä»£ããªã³ããã¼ã©ãã³ã·ã«ãã¼ãããã¸ã¿ã«ãã°ã¡ã³ãã¾ã§ã`,items:[{id:`photography-01`,title:`Henri Cartier-Bresson â MoMA Exhibition`,origin:`New York`,year:1968,spec:`Offset, 84 à 60 cm`,price:6e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=45377`,curationKey:`photography`},{id:`photography-02`,title:`Robert Frank â The Americans (Reprint)`,origin:`Edition`,year:2009,spec:`Gelatin Silver, 40 à 50 cm`,price:22e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=35470`,curationKey:`photography`},{id:`photography-03`,title:`Daido Moriyama â Stray Dog (Edition)`,origin:`Tokyo`,year:2012,spec:`Gelatin Silver, 50 à 60 cm`,price:28e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=87319`,curationKey:`photography`},{id:`photography-04`,title:`Nobuyoshi Araki â Tokyo Lucky Hole`,origin:`Tokyo`,year:1990,spec:`Offset Book / Print`,price:9e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=8670`,curationKey:`photography`},{id:`photography-05`,title:`Hiroshi Sugimoto â Seascape (Edition)`,origin:`Edition`,year:2015,spec:`Pigment Print, 50 à 70 cm`,price:48e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=54541`,curationKey:`photography`},{id:`photography-06`,title:`Rinko Kawauchi â Illuminance`,origin:`Edition`,year:2011,spec:`Pigment Print, 40 à 50 cm`,price:18e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=90777`,curationKey:`photography`},{id:`photography-07`,title:`Diane Arbus â Aperture Monograph`,origin:`New York`,year:1972,spec:`Offset Poster, 84 à 60 cm`,price:7e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=59318`,curationKey:`photography`},{id:`photography-08`,title:`Saul Leiter â Early Color`,origin:`Edition`,year:2006,spec:`Pigment Print, 40 à 50 cm`,price:2e5,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=80725`,curationKey:`photography`},{id:`photography-09`,title:`William Eggleston â Guide`,origin:`Edition`,year:2002,spec:`Dye Transfer, 40 à 50 cm`,price:32e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=38387`,curationKey:`photography`},{id:`photography-10`,title:`Stephen Shore â Uncommon Places`,origin:`Edition`,year:2004,spec:`Pigment Print, 50 à 60 cm`,price:18e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=97213`,curationKey:`photography`},{id:`photography-11`,title:`Wolfgang Tillmans â Tate Modern`,origin:`London`,year:2017,spec:`Offset, 84 à 60 cm`,price:38e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=82727`,curationKey:`photography`},{id:`photography-12`,title:`Andreas Gursky â Hayward Gallery`,origin:`London`,year:2018,spec:`Offset, 84 à 60 cm`,price:42e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=70322`,curationKey:`photography`},{id:`photography-13`,title:`Thomas Ruff â Portraits`,origin:`Edition`,year:2006,spec:`Pigment Print, 50 à 60 cm`,price:22e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=23879`,curationKey:`photography`},{id:`photography-14`,title:`Cindy Sherman â Untitled Film Stills`,origin:`Edition`,year:1998,spec:`Gelatin Silver, 25 à 20 cm`,price:35e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=97569`,curationKey:`photography`},{id:`photography-15`,title:`Vivian Maier â Self-Portrait Edition`,origin:`Edition`,year:2015,spec:`Gelatin Silver, 30 à 30 cm`,price:24e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=36952`,curationKey:`photography`},{id:`photography-16`,title:`Sebastião Salgado â Genesis`,origin:`Edition`,year:2013,spec:`Gelatin Silver, 50 à 70 cm`,price:28e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=3642`,curationKey:`photography`},{id:`photography-17`,title:`Annie Leibovitz â Pilgrimage`,origin:`Edition`,year:2011,spec:`Pigment Print, 50 à 60 cm`,price:18e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=2962
120`,curationKey:`photography`},{id:`photography-18`,title:`Mario Giacomelli â Scanno`,origin:`Edition`,year:1985,spec:`Gelatin Silver, 40 à 50 cm`,price:22e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=88012`,curationKey:`photography`},{id:`photography-19`,title:`Yamamoto Masao â Small Things`,origin:`Edition`,year:2010,spec:`Gelatin Silver, 12 à 17 cm`,price:95e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=91055`,curationKey:`photography`},{id:`photography-20`,title:`Hiroh Kikai â Persona Tokyo`,origin:`Edition`,year:2003,spec:`Gelatin Silver, 30 à 40 cm`,price:12e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=37338`,curationKey:`photography`}]},{key:`contemporary`,label:`Contemporary`,badge:`04`,accent:`var(--jade)`,body:`ç¾ä»£ä½å®¶ã®ã¨ãã£ã·ã§ã³ã¯ã¼ã¯ã¨ã空éã¸ã®ã¢ã¼ãå°å
¥ã®ææ¡ã䏿¬¡ãã¼ã±ããã®æ¯ã¥ããããæçè·é¢ã§ã`,items:[{id:`contemporary-01`,title:`Ren Kasugai â Resonance Edition`,origin:`Tokyo`,year:2025,spec:`Giclée, 50 à 70 cm`,price:48e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=1337`,curationKey:`contemporary`},{id:`contemporary-02`,title:`Sayaka Takanashi â Quantum Garden II`,origin:`Tokyo`,year:2025,spec:`Digital Pigment, A1`,price:86e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=28788`,curationKey:`contemporary`},{id:`contemporary-03`,title:`Ichigo Mori â White Vessel III`,origin:`Kyoto`,year:2025,spec:`Ceramic, H28cm`,price:24e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=38654`,curationKey:`contemporary`},{id:`contemporary-04`,title:`Mio Hayashi â Fire Hymn (Print)`,origin:`Kyoto`,year:2025,spec:`Giclée, 40 à 50 cm`,price:38e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=78327`,curationKey:`contemporary`},{id:`contemporary-05`,title:`Ryo Sasaki â NEURON Series 03`,origin:`Tokyo`,year:2025,spec:`Generative Print, 50 à 70 cm`,price:95e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=80975`,curationKey:`contemporary`},{id:`contemporary-06`,title:`Aoi Nakamura â Tide Line`,origin:`Kanazawa`,year:2024,spec:`Oil on Panel, F30`,price:92e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=34766`,curationKey:`contemporary`},{id:`contemporary-07`,title:`Studio Visit â Series A`,origin:`Tokyo`,year:2025,spec:`Pigment Print, A2`,price:42e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=67430`,curationKey:`contemporary`},{id:`contemporary-08`,title:`Studio Visit â Series B`,origin:`Tokyo`,year:2025,spec:`Pigment Print, A2`,price:42e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=67431`,curationKey:`contemporary`},{id:`contemporary-09`,title:`RAS Project â Awakening 01`,origin:`Tokyo`,year:2025,spec:`Mixed Media, 60 à 60 cm`,price:13e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=60720`,curationKey:`contemporary`},{id:`contemporary-10`,title:`RAS Project â Awakening 02`,origin:`Tokyo`,year:2025,spec:`Mixed Media, 60 à 60 cm`,price:13e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=60721`,curationKey:`contemporary`},{id:`contemporary-11`,title:`VV Collaboration â Regenerate 01`,origin:`Tokyo`,year:2025,spec:`Acrylic on Canvas, F20`,price:88e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=31951`,curationKey:`contemporary`},{id:`contemporary-12`,title:`VV Collaboration â Revive 02`,origin:`Tokyo`,year:2025,spec:`Acrylic on Canvas, F20`,price:88e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=73059`,curationKey:`contemporary`},{id:`contemporary-13`,title:`VV Collaboration â Reborn 03`,origin:`Tokyo`,year:2025,spec:`Acrylic on Canvas, F20`,price:88e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=17565`,curationKey:`contemporary`},{id:`contemporary-14`,title:`Young Master â Edition I`,origin:`Tokyo`,year:2025,spec:`Silkscreen, 50 à 70 cm`,price:56e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=76290`,curationKey:`contemporary`},{id:`contemporary-15`,title:`Young Master â Edition II`,origin:`Tokyo`,year:2025,spec:`Silkscreen, 50 à 70 cm`,price:56e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=24839`,curationKey:`contemporary`},{id:`contemporary-16`,title:`Young Master â Edition III`,origin:`Tokyo`,year:2025,spec:`Silkscreen, 50 à 70 cm`,price:56e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=2818`,curationKey:`contemporary`},{id:`contemporary-17`,title:`New Voice â Drawing 01`,origin:`Tokyo`,year:2025,spec:`Pencil on Paper, A3`,price:32e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=21014`,curationKey:`contemporary`}
12,{id:`contemporary-18`,title:`New Voice â Drawing 02`,origin:`Tokyo`,year:2025,spec:`Pencil on Paper, A3`,price:32e3,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=21015`,curationKey:`contemporary`},{id:`contemporary-19`,title:`Aoyama Atelier â Object I`,origin:`Tokyo`,year:2025,spec:`Mixed Sculpture, H35cm`,price:18e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=11345`,curationKey:`contemporary`},{id:`contemporary-20`,title:`Aoyama Atelier â Object II`,origin:`Tokyo`,year:2025,spec:`Mixed Sculpture, H35cm`,price:18e4,image:`https://loremflickr.com/800/1100/art,painting,abstract/?lock=46136`,curationKey:`contemporary`}]}],ru=Object.fromEntries(nu.map(e=>[e.key,e])),iu=e=>`Â¥${e.toLocaleString(`ja-JP`)}`,au=ys(`/curation/$key`)({head:({params:e})=>{let t=ru[e.key];return Tl({title:t?`${t.label} â CURATION | INSTINCT RAS`:`CURATION | INSTINCT RAS`,description:t?.body??`INSTINCT RAS ã®ãã¥ã¬ã¼ã·ã§ã³ãåã¤ã®ç·¨é軸ã§ãè¦çãçµã¿ç´ãã`,path:`/curation/${e.key}`,image:t?.items?.[0]?.image??null})},loader:({params:e})=>{let t=ru[e.key];if(!t)throw Le();return{cat:t}},component:B(()=>k(()=>import(`./curation._key-CCnfAxQW.js`),__vite__mapDeps([35,1,8,9,6])),`component`),notFoundComponent:B(()=>k(()=>import(`./curation._key-UZHDukQ_.js`),__vite__mapDeps([36,1,8,9,6])),`notFoundComponent`),errorComponent:B(()=>k(()=>import(`./curation._key-nbiCoaTp.js`),__vite__mapDeps([37,1])),`errorComponent`)}),ou=ys(`/artwork/$id`)({head:({params:e})=>{let t=bl.find(t=>t.id===e.id);return{...Tl({title:t?`${t.title} â ${t.artist} | INSTINCT RAS`:`Artwork â INSTINCT RAS`,description:t?`${t.title}ï¼${t.year}ï¼ ${t.artist}ã${t.technique} / ${t.size}ã${t.description??``}`:`INSTINCT RAS ã®ä½å詳細ãã¼ã¸ãæ¥æ¬ã®ç¾è¡å¤§å¦ã»å°é妿 ¡ã«å¦ã¶ä½å®¶ã«ããä¸ç¹ç©ã®ä½åã`,path:`/artwork/${e.id}`,image:t?.image,type:`article`}),scripts:t?[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`VisualArtwork`,name:t.title,image:Cl(t.image),artform:t.technique,dateCreated:String(t.year),creator:{"@type":`Person`,name:t.artist},url:Cl(`/artwork/${e.id}`)})}]:void 0}},component:B(()=>k(()=>import(`./artwork._id-D1OQlFFm.js`),__vite__mapDeps([38,1,5,6,12,7,8,9])),`component`)});function su(e){let t=cu.find(t=>t.id===e),n=(t?.nameEn||t?.name||e).trim(),r=n.split(/[\sã»]+/).filter(Boolean),i=(r.length>=2?r[0][0]+r[r.length-1][0]:n.slice(0,2)).toUpperCase(),a=2166136261;for(let t=0;t<e.length;t++)a^=e.charCodeAt(t),a=a*16777619>>>0;let o=a%360,s=(o+37+(a>>>8)%80)%360,c=(a>>>4)%14-7,l=90+(a>>>12)%30,u=95+(a>>>16)%30,d=78+(a>>>20)%14,f=`hsl(${o}, 0%, 22%)`,p=`hsl(${o}, 0%, 88%)`,m=`hsl(${s}, 0%, 78%)`,h=e=>{let t=(a^e)>>>0,n=()=>(t=t*1664525+1013904223>>>0,(t&65535)/65535),r=[];for(let e=0;e<=36;e++){let t=e/36*Math.PI*2,i=d+(n()-.5)*6,a=l+Math.cos(t)*i,o=u+Math.sin(t)*i;r.push(`${a.toFixed(1)},${o.toFixed(1)}`)}return`M${r.join(` L`)} Z`},g=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"> 13 <defs> 14 <linearGradient id="bg-${e}" x1="0" y1="0" x2="1" y2="1"> 15 <stop offset="0%" stop-color="${p}"/> 16 <stop offset="100%" stop-color="${m}"/> 17 </linearGradient> 18 </defs> 19 <rect width="200" height="200" fill="#f5f5f5"/> 20 <g transform="rotate(${c} 100 100)"> 21 <path d="${h(1)}" fill="url(#bg-${e})" stroke="${f}" stroke-width="2.2" stroke-linejoin="round"/> 22 <path d="${h(2)}" fill="none" stroke="${f}" stroke-width="1.1" stroke-linejoin="round" opacity="0.7"/> 23 </g> 24 <text x="100" y="100" text-anchor="middle" dominant-baseline="central" font-family="Georgia, 'Times New Roman', serif" font-style="italic" font-size="${i.length>2?56:78}" fill="${f}" letter-spacing="2">${i}</text> 25</svg>`;return`data:image/svg+xml;utf8,${encodeURIComponent(g)}`}var cu=[{id:`kasugai-ren`,name:`æ¥æ¥äº è®`,nameEn:`Ren Kasugai`,born:2001,base:`æ±äº¬`,statement:`é³ãæ¶ãããã¨ã«æ®ããã®ããçµµå ·ã§æ¾ãããã`,bio:`æ±äº¬çã¾ãã墨è²ã®ä¸å°ã«æ±ãä¸çããç¬éã好ãã§ããã®æåã¨åãããè¡ãæ¥ããªããæãã¦ãããæè¿ã¯å¤ãå«è¶åºãé§ ã®ãã¼ã ã§ã¹ã±ãããåããã¨ãå¤ãã`,awards:[`å¦å å¦é·è³ / 2024`,`ART AWARD TOKYO å ¥é¸ / 2024`]}
25,{id:`takanashi-sayaka`,name:`髿¢¨ ããã`,nameEn:`Sayaka Takanashi`,born:2e3,base:`æ±äº¬`,statement:`ã³ã¼ãã§æãç·ã«ããæã§æãç·ã¨åãæ¸©åº¦ãããã¨æã£ã¦ããã`,bio:`ããã°ã©ãã³ã°ã¨ç´ æãè¡ãæ¥ãã¦å¶ä½ãç²åã·ãã¥ã¬ã¼ã·ã§ã³ã®ã¹ã±ãããã¸ã¯ã¬ã¼ã§ç´ã«ç¼ãä»ãããã¨ããããæ¹ãç¶ãã¦ããã`,awards:[`Asia Digital Art Award å
¥é¸ / 2023`]},{id:`mori-ichigo`,name:`森 ä¸è·`,nameEn:`Ichigo Mori`,born:1999,base:`è¨åã»ç¬ é`,statement:`åã¨ç«ã¨èªåã®æãä¸ã¤ã®ç¸è«ã§å¨ãåºæ¥ä¸ãã£ã¦ããã`,bio:`ç¬ éã®å°ããªçª¯ã§èªãçãã¦ãããç½ç£ã®è²«å
¥ãçºããã®ã好ãã§ãéè¬ã®ã¬ã·ãããã¼ãã«ããã¦ããã`,awards:[`èæ± ãã¨ã³ãã¼ã¬ 奨å±è³ / 2024`]},{id:`hayashi-mio`,name:`æ ç¾ç·`,nameEn:`Mio Hayashi`,born:2002,base:`京é½`,statement:`åç´ã®ä¸ã§ã岩絵å
·ã®ç²ãå
ãç¬éã«ãã¤ãé©ãã¦ãã¾ãã`,bio:`京é½ã§æ¥æ¬ç»ãå¦ãã§ãããå¤ãç¤¾å¯ºã®æ±ã®è²ã«æ¹ããã¦ãã¦ãèªåã®çµµã«ãå°ããã¤åãå
¥ãã¦ããã`,awards:[`京é½åºæ°éé¸æå± åºå / 2024`]},{id:`sasaki-ryo`,name:`ä½ã
æ¨ æ¶¼`,nameEn:`Ryo Sasaki`,born:2e3,base:`æ±äº¬`,statement:`è³ããããè¦ãããã¨æããç¬éããçµµã«ç½®ãæãã¦ã¿ããã`,bio:`ã¸ã§ãã©ãã£ãã»ã¢ã¼ãã¨è³ç§å¦ã®æ¬ãè¡ãæ¥ããªããå¶ä½ãRASï¼ç¶²æ§ä½è³¦æ´»ç³»ï¼ã®ä»çµã¿ãã¢ãã¼ãã«ããããã¼ã¤ã³ã°ã·ãªã¼ãºãç¶ãã¦ããã`,awards:[`Generative Art Show Tokyo å
¥é¸ / 2024`]},{id:`nakamura-aoi`,name:`䏿 èµ`,nameEn:`Aoi Nakamura`,born:2001,base:`éæ²¢`,statement:`å¤ã¨æã®ããã ã®æµ·ã®è²ãããã¡ã°ãæãããè²ã§ãã`,bio:`éæ²¢ã§æ²¹çµµãæãã¦ãããæ¥æ¬æµ·ã®æç¼ãã好ãã§ããã®å¢ç®ã®éãçµµå
·ã®åã¿ã§æ®ããã¨ãã¦ããã`,awards:[`éæ²¢ç¾è¡å·¥è¸å¤§å¦ 忥å¶ä½ åªç§è³ / 2024`]},{id:`okamoto-rin`,name:`å²¡æ¬ å`,nameEn:`Rin Okamoto`,born:1998,base:`æ±äº¬`,statement:`é
¸ãé
ãå°ããã¤é£ã¹ã¦ããæéãã好ãã§ãã`,bio:`é
çç»ãä¸å¿ã«å¶ä½ãå¤ãã¨ã¼ãããã®ã¨ããã³ã°ã䏿·ãã«ãæ±äº¬ã®è·¯å°ãé§
ã®é¢¨æ¯ãçã«è½ã¨ãè¾¼ãã§ããã`,awards:[`CWAJ ç¾ä»£çç»å± å
¥é¸ / 2024`]},{id:`fujimura-haruki`,name:`è¤æ æ¥æ¨¹`,nameEn:`Haruki Fujimura`,born:1999,base:`京é½`,statement:`çµµãåãéãã¦ããã¨ã人ã®é¡ãå°ããã¤èªåã«ä¼¼ã¦ããæ°ãããã`,bio:`京é½ã§æ²¹ç»ãå¦ã¶ããã©ã³ãã«çµµç»ã®éãå¡ãã®æè¡ãããã¾ã®å人ãå®¶æã®èåã§è©¦ãã¦ããã`,awards:[`ã·ã§ã«ç¾è¡è³ å
¥é¸ / 2023`]},{id:`shirai-noe`,name:`ç½äº ã®ã`,nameEn:`Noe Shirai`,born:2001,base:`æ±äº¬`,statement:`ä½ç½ã®åãæ¹ã²ã¨ã¤ã§ããã¹ã¿ã¼ã¯éãã«ãé¨ãããããªãã`,bio:`1960年代ã®ã¹ã¤ã¹ã»ãã¼ã©ã³ãã®ãã¹ã¿ã¼ã好ãã§ãã·ã«ã¯ã¹ã¯ãªã¼ã³ã¨æ´»çãçµã¿åããã¦å¶ä½ãã¦ããã`,awards:[`JAGDA æ°äººè³ ãããã¼ã / 2024`]},{id:`yagi-souta`,name:`å
«æ¨ 颯太`,nameEn:`Souta Yagi`,born:2e3,base:`æ±äº¬`,statement:`ç³ãåãã¨ãã¯ãããä¸ã«å½¢ãããã®ãå°ããã¤åãåºãæè¦ã§ãã`,bio:`大çç³ã¨ããã³ãºã®å°åãå¶ä½ããã©ã³ã¯ã¼ã·ã®å½«å»ã¨ã京é½ã®ç³ä»ã®ã©ã¡ãã好ãã§ã両æ¹ãè¡ãæ¥ãã¦ããã`,awards:[`忥å¶ä½ åªç§è³ / 2024`]},{id:`matsuda-yuna`,name:`æ¾ç° çµè`,nameEn:`Yuna Matsuda`,born:2002,base:`ç¥å¥å·`,statement:`糸ã䏿¬ãã¤éãã¦ããã®ã¯ãç§ã«ã¨ã£ã¦æ¥è¨ãã¤ããã®ã«è¿ãã`,bio:`èæ¨æãã¨æç¹ãã§å°ããªã¿ãã¹ããªã¼ãä½ã£ã¦ããã忬§ã®ã´ã£ã³ãã¼ã¸ã»ã¦ã£ã¼ãã³ã°ã®æ¬ããã¤ããã°ã«ããã`,awards:[`å¦é·å¥¨å±è³ / 2024`]},{id:`kobayashi-ren`,name:`å°æ è®`,nameEn:`Ren Kobayashi`,born:1999,base:`æ²ç¸ã»èªè°·`,statement:`æ²ç¸ã®åã触ã£ã¦ããã¨ãæµ·ã®åããããæ¥ãããã¾ãã`,bio:`èªè°·ã®ç»ã窯ã§ç¼ãç· ããä¸å¿ã«å¶ä½ãå°ä¸æµ·ã®ç´ æ´ãªå¨ã¨ãççã®åå¼·ãé¶å¨ã®ä¸¡æ¹ã«æ¹ããã¦ããã`,awards:[`æ²ç¸çå·¥è¸å
¬åå± å¤§è³ / 2024`]},{id:`ariga-misaki`,name:`æè³ ç¾å²`,nameEn:`Misaki Ariga`,born:2001,base:`æ±äº¬`,statement:`åãçããå·ã£ã¦ãã䏿ãã¤éãé¡ã«ãªãã®ãå¬ããã`,bio:`ãªãã°ã©ãã主軸ã«å¶ä½ã19ä¸ç´ã¨ã¼ãããã®ãã¹ã¿ã¼ææ³ãå¦ã³ç´ããªãããç¾ä»£ã®æ®ããã®é¢¨æ¯ãå·ã£ã¦ããã`,awards:[`å
¨å½å¤§å¦çç»å± è²·ãä¸ãè³ / 2024`]},{id:`elena-park`,name:`ãã¯ã»ã¨ã¬ã`,nameEn:`Elena Park`,born:1998,base:`New York / ã½ã¦ã«`,statement:`è²ã¯ãè¨èã«ãªãåã®æåã®è¨èã ã¨æã£ã¦ãã¾ãã`,bio:`ãã¥ã¼ã¨ã¼ã¯å¨ä½ã®éå½ç³»ã®ä½å®¶ãè²é¢ã®çµµç»ããæ±ã¢ã¸ã¢ã®ãä½ç½ãã®æè¦ã§æãç´ããã¨ãã¦ããã`,awards:[`Parsons Dean's List / 2023`,`NYC Emerging Artist Grant / 2024`]},{id:`liang-wu`,name:`ãªã¢ã³ã»ã¦ã¼`,nameEn:`Liang Wu`,born:1997,base:`London`,statement:`ãã¬ã¹ãä¸åº¦å¼ããã¨ã«ãç´ã®ä¸ã«å°ããªæ¯è²ãç«ã¡ä¸ããã¾ãã`,bio:`ãã³ãã³ã§é
çã¨ãªãã°ã©ããå¶ä½ãä¸å½åæ¹ã®å±±æ°´ç»ã¨ãã¨ã¼ãããã®
25å¤çç»ã®ããã ãè¡ãæ¥ãã¦ããã`,awards:[`RCA Print Prize / 2024`]},{id:`sofia-bellini`,name:`ã½ãã£ã¢ã»ããªã¼ã`,nameEn:`Sofia Bellini`,born:1999,base:`Paris`,statement:`çµµãæãã®ã¯ãããããããã£ããçããã¦ãããããªæéã`,bio:`ããªã§çµµç»ãå¦ãã§ãããã¢ã©ã³ãã£ã®éç©ã好ãã§ãèªåã®ã¢ããªã¨ã®ç¶ãå¨ãæ¯æ¥å°ããã¤æãç¶ãã¦ããã`,awards:[`Prix des Beaux-Arts Paris / 2024`]},{id:`doi-haruka`,name:`åäº é¥`,nameEn:`Haruka Doi`,born:2002,base:`京é½`,statement:`è ã®åããå
ãã¨ããªãã ãè½ã¡çããã§ãã`,bio:`è ã¨å²©çµµå
·ã§æ¥æ¬ç»ãæããªãããã¨ã¼ãããã®ãã³ãã©ç»ã並è¡ãã¦ç ç©¶ãã¦ãããç´ æãã®ãã®ã主é¡ã«ãããã`,awards:[`京é½å¸è¸è¡æ°äººè³ æ¨è¦ / 2024`]},{id:`nogami-tetsu`,name:`éä¸ å²`,nameEn:`Tetsu Nogami`,born:2e3,base:`åå¤å±`,statement:`å½±ã®ãªãã«ããé¡ã®ã»ãããæ¡å¤ããã®äººãããæ°ãããã`,bio:`ã«ã©ã´ã¡ãã¸ã§ã®æææ³ã«æ¹ããã¦æ²¹ç»ãæãã¦ãããä½å½©åº¦ã®è²ã®å¹
ã§ã人ã®å
å´ã®ç©ºæ°ãåºãããã¨æã£ã¦ããã`,awards:[`FACEå± å
¥é¸ / 2024`]},{id:`aaliyah-khan`,name:`ã¢ã¢ãªã¤ã»ã«ã¼ã³`,nameEn:`Aaliyah Khan`,born:1998,base:`London / ã«ã©ã`,statement:`åã£ã¦ãè²¼ã£ã¦ãã¾ãå¥ãããç§ã®å®¶æã®è¨æ¶ã®æ±ãæ¹ã«ä¼¼ã¦ããã`,bio:`ãã³ãã³ã¨ã«ã©ããè¡ãæ¥ããªããã³ã©ã¼ã¸ã¥ã¨ãã¯ã¹ãã¡ãã£ã¢ãå¶ä½ã20ä¸ç´åé ã®ããã®ã³ã©ã¼ã¸ã¥ãåç¹ã`,awards:[`CSM Materials Prize / 2024`]},{id:`tanigawa-iori`,name:`è°·å· ä¼ç¹`,nameEn:`Iori Tanigawa`,born:2001,base:`æ±äº¬`,statement:`ãã¯ã»ã«ããçµµå
·ã®ä¸ç¨®ã¨ãã¦ãµã¤ãã«ä½¿ããã¨æã£ã¦ãã¾ãã`,bio:`ã¸ã§ãã©ãã£ãã»ããããã¨ãªã½ã°ã©ããçµã¿åããã¦å¶ä½ããã¸ã¿ã«ã®å¶ç¶æ§ã¨ãçç»ã®æã®ä½æ¥ãæ··ãã¦éãã§ããã`,awards:[`Tokyo Midtown Award å
¥é¸ / 2024`]},{id:`hara-kanade`,name:`å å¥`,nameEn:`Kanade Hara`,born:2e3,base:`æ±äº¬`,statement:`彫å»ã®ãéããã¯ãç½®ããã空éã«æ¨æ¶ããã¦ãããããªãã®ã ã¨æãã`,bio:`é³éã¨ç³èã§å°ããªå½«å»ãä½ã£ã¦ãããã¸ã£ã³ã¡ããã£ã®ç´°ã人ç©åã¨ãæ±äº¬ã®éå¤è·¯ã§è¦ããã人ã®å½±ã両æ¹ãååã«ããã`,awards:[`彫å»å¦ç§è³ / 2024`]},{id:`heri-dono`,name:`ããªã»ãã`,nameEn:`Heri Dono`,born:1960,base:`Yogyakarta, Indonesia`,country:`Indonesia`,statement:`ã¯ã¤ã³ï¼å½±çµµèå±
ï¼ã®èªå½ã§ãä¸çã®æ¿æ²»ã¨ç¥è©±ãåãèå°ã«ç«ãããã`,bio:`ã¸ã§ã°ã¸ã£ã«ã«ã¿ãæ ç¹ã¨ããã¤ã³ããã·ã¢ç¾ä»£ç¾è¡ã®ä»£è¡¨çä½å®¶ãã¸ã£ã¯ã®ä¼çµ±å½±çµµã¯ã¤ã³ã䏿·ãã«ãæ©æ¢°ä»æãã®ã¤ã³ã¹ã¿ã¬ã¼ã·ã§ã³ãçµµç»ãããã©ã¼ãã³ã¹ã横æã1990年代以éãã´ã§ããã¢ã»ãã¨ã³ãã¼ã¬ãªã©å½éå±ã«å¤æ°åºå±ããã¤ã³ããã·ã¢ç¾ä»£ç¾è¡ãä¸çã«ç¥ããããä¸äººã`,awards:[`Prince Claus Award / 1998`,`Venice Biennale Indonesian Pavilion / 2015`],referenceOnly:!0,source:`Wikipedia: Heri Dono`,sourceUrl:`https://en.wikipedia.org/wiki/Heri_Dono`},{id:`eko-nugroho`,name:`ã¨ã³ã»ãã°ãã`,nameEn:`Eko Nugroho`,born:1977,base:`Yogyakarta, Indonesia`,country:`Indonesia`,statement:`ã¹ããªã¼ããåºç¹ãã¯ã¤ã³ââæ°è¡ã®èªå½ã§ãã¾ã®ç¤¾ä¼ã縫ãåãããã`,bio:`ã¸ã§ã°ã¸ã£ã«ã«ã¿åºèº«ãã¹ããªã¼ãã¢ã¼ããåºç¹ã¿ãã¹ããªã¼ãçµµç»ã彫å»ã影絵ããã©ã¼ãã³ã¹ã横æããå®æã»æ¿æ²»ã»ã°ãã¼ããªã¼ã¼ã·ã§ã³ãè«§è¬çã«æããLouis Vuitton ã¨ã®ã³ã©ãã Mori Art Museum ãªã©ã§ã®åå±ã§å½éçã«ç¥ãããã`,awards:[`Prince Claus Award / 2017`],referenceOnly:!0,source:`Wikipedia: Eko Nugroho`,sourceUrl:`https://en.wikipedia.org/wiki/Eko_Nugroho`},{id:`christine-ay-tjoe`,name:`ã¯ãªã¹ãã£ã¼ãã»ã¢ã¤ã»ãã¥ã¼`,nameEn:`Christine Ay Tjoe`,born:1973,base:`Bandung, Indonesia`,country:`Indonesia`,statement:`ç·ãå¼å¸ãã絡ã
25¾ããã»ã©ãã¦ããââãã®éä¸ã®ç¶æ
ãç»é¢ã«ç½®ãã`,bio:`ãã³ãã³æ ç¹ããã©ã¤ãã¤ã³ãçç»ããåºçºããæ²¹å½©ã»ãã¹ãã«ã«ããæ½è±¡çµµç»ã§å½éçè©ä¾¡ã確ç«ãã¢ã¸ã¢ã®ç¾ä»£æ½è±¡ãç½å¼ããä½å®¶ã®ã²ã¨ãã§ãArt Basel Hong Kong ãªã©ã§ä½åãè¨é²çä¾¡æ ¼ãæ´æ°ãã¦ããã`,awards:[`Prudential Eye Award nominee / 2015`],referenceOnly:!0,source:`Wikipedia: Christine Ay Tjoe`,sourceUrl:`https://en.wikipedia.org/wiki/Christine_Ay_Tjoe`},{id:`entang-wiharso`,name:`ã¨ã³ã¿ã³ã»ã¦ã£ãã«ã½`,nameEn:`Entang Wiharso`,born:1967,base:`Yogyakarta / Rhode Island`,country:`Indonesia`,statement:`å®¶æãæ´åãç§»åââ身ä½ã«å»ã¾ããå°æ¿å¦ããéå±ã¨ã¢ã«ãã«å»ãã`,bio:`ã¸ã£ã¯ä¸é¨çã¾ããã¸ã§ã°ã¸ã£ã«ã«ã¿ã¨ç±³ãã¼ãã¢ã¤ã©ã³ããè¡ãæ¥ãã¦å¶ä½ãã¢ã«ãã»çé®ã®ã¬ãªã¼ããçµµç»ãã¤ã³ã¹ã¿ã¬ã¼ã·ã§ã³ã§ã¤ã³ããã·ã¢ã®æ´å²ã¨å人å²ã交差ããããPrague Biennaleãã´ã§ããã¢ã»ãã¨ã³ãã¼ã¬ Indonesian Pavilion (2013) ãªã©ã«åå ã`,awards:[`Venice Biennale Indonesian Pavilion / 2013`],referenceOnly:!0,source:`Wikipedia: Entang Wiharso`,sourceUrl:`https://en.wikipedia.org/wiki/Entang_Wiharso`},{id:`yee-i-lann`,name:`ã¤ã¼ã»ã¤ã©ã³`,nameEn:`Yee I-Lann`,born:1971,base:`Kota Kinabalu, Sabah, Malaysia`,country:`Malaysia`,statement:`æµ·ã¨å³¶ã®è¨æ¶ããåçã¨ããµãã®å¥³æ§ãã¡ã¨ç·¨ã網代ã«ç·¨ã¿è¾¼ãã`,bio:`ãã¬ã¼ã·ã¢ã»ãµãå·ã³ã¿ãããã«æ ç¹ãåçã¨ãã¸ã¿ã«ã³ã©ã¼ã¸ã¥ããåºçºããè¿å¹´ã¯ãµãã®å
使°æã³ãã¥ããã£ã¨ååãã大åã®ç·¨ã¿ï¼ãã³ããã¹ï¼ç«¹ï¼ä½åã§å½éçè©ä¾¡ãå¾ããæ±åã¢ã¸ã¢ã®æ¤æ°å°å²ã»æµ·æ´å²ã»ã¸ã§ã³ãã¼ããã¼ãã«ãã代表çãªãã¬ã¼ã·ã¢ç¾ä»£ç¾è¡å®¶ã`,awards:[`Benesse Prize, Singapore Biennale / 2013`],referenceOnly:!0,source:`Wikipedia: Yee I-Lann`,sourceUrl:`https://en.wikipedia.org/wiki/Yee_I-Lann`},...[[`pablo-picasso`,`Pablo Picasso`,`Spanish · 1881â1973`,1881,`Spain`,`çµµç»`,`20ä¸ç´ç¾è¡ã決å®ã¥ããã¹ãã¤ã³ã®å·¨å ããã¥ãã¹ã ã®åµå§è
ã®ä¸äººã§ãçµµç»ã»å½«å»ã»é¶è¸ã¾ã§å¹
åºãå¶ä½ããã`],[`leonora-carrington`,`Leonora Carrington`,`BritishâMexican · 1917â2011`,1917,`United Kingdom / Mexico`,`彫å»`,`è±å½çã¾ããã¡ãã·ã³ã§æ´»åããã·ã¥ã«ã¬ã¢ãªã¹ã ã®ç»å®¶ã»ä½å®¶ãå¹»æ³çãªç©èªä¸çãããã³ãºå½«å»ã§ãå±éããã`],[`robert-indiana`,`Robert Indiana`,`American · 1928â2018`,1928,`USA`,`ããã`,`ã¢ã¡ãªã«ã®ãããã¢ã¼ãï¼ãã¼ãã¨ãã¸çµµç»ã®ä¸å¿äººç©ãæåã¨è¨å·ãç¨ãããLOVEãã§ä¸ççã«ç¥ãããã`],[`tom-wesselmann`,`Tom Wesselmann`,`American · 1931â2004`,1931,`USA`,`ããã`,`ã¢ã¡ãªã«ã®ãããã¢ã¼ãã代表ããç»å®¶ããã¼ããéç©ã«ã³ã©ã¼ã¸ã¥çææ³ãåãè¾¼ã¿ç¬èªã®æ§å¼ãç¯ããã`],[`de-wain-valentine`,`De Wain Valentine`,`American · 1936â2022`,1936,`USA`,`彫å»`,`å
ã¨ç©ºéï¼Light and Spaceï¼éåã«é£ãªã彫å»å®¶ã樹èãç¨ããéæã§å¤§åã®ä½åã§ç¥ãããã`],[`miquel-barcelo`,`Miquel Barceló`,`Spanish · b.1957`,1957,`Spain`,`çµµç»`,`ã¹ãã¤ã³ã»ãã¨ã«ã«åºèº«ã®ç¾ä»£ç¾è¡å®¶ãåã¿ã¨ç©è³ªæã®ããçµµç»ãã»ã©ããã¯ã§å½éçã«è©ä¾¡ãããã`],[`larry-poons`,`Larry Poons`,`American · b.1937`,1937,`USA`,`æ½è±¡`,`ã¢ã¡ãªã«æ½è±¡çµµç»ã®éè¦ãªä½å®¶ãè²å½©ã¨ãªãºã ãèæã¤ãã¤ãããã¯ãªç»é¢ã追æ±ãç¶ãã¦ããã`],[`robert-motherwell`,`Robert Motherwell`,`American · 1915â1991`,1915,`USA`,`æ½è±¡`,`æ½è±¡è¡¨ç¾ä¸»ç¾©ã代表ããç»å®¶ã§ãããéåã®çè«çæ¯æ±ã§ããã£ãããElegyããOpenãé£ä½ã§ç¥ãããã`],[`martha-jungwirth`,`Martha Jungwirth`,`Austrian · b.1940`,1940,`Austria`,`æ½è±¡`,`ãªã¼ã¹ããªã¢ã®ç»å®¶ãèº«ä½æ§ã«æ ¹ããã奿¾ãªæ½è±¡ãåä¸ç´ä»¥ä¸ã«ãããå±éãã¦ããã`],[`ha-chong-hyun`,`Ha Chong-Hyun`,`Korean · b.1935`,1935,`South Korea`,`æ½è±¡`,`éå½ã¢ãã¯ãã¼ã çµµç»ããã³ãµã¨ã¯ãã¡ãã®ä¸»å°çåå¨ãç´ æã¨å復ã®éç¨ãåããConjunctionãé£ä½ã§ç¥ãããã`],[`vivian-s
25pringford`,`Vivian Springford`,`American · 1913â2003`,1913,`USA`,`æ½è±¡`,`ã¢ã¡ãªã«ã®ã«ã©ã¼ãã£ã¼ã«ãï¼ã¹ãã¤ã³ã»ãã¤ã³ãã£ã³ã°ã®ä½å®¶ãè¿å¹´ãæ¹è©çã«åè©ä¾¡ãé²ãã§ããã`],[`emily-mason`,`Emily Mason`,`American · 1932â2019`,1932,`USA`,`æ½è±¡`,`æ½è±¡è¡¨ç¾ä¸»ç¾©ã¨ã«ã©ã¼ãã£ã¼ã«ããèåãããåæ
çæ½è±¡ã®ç»å®¶ãå
ã¨è²å½©ã®éãªããç¹å¾´ã`],[`serge-poliakoff`,`Serge Poliakoff`,`RussianâFrench · 1900â1969`,1900,`Russia / France`,`æ½è±¡`,`ãã·ã¢çã¾ããããªã§æ´»åããæ½è±¡ç»å®¶ããã¼ã´ã§ã«ã»ã¨ã³ã¼ã«ã»ãã»ããªã«é£ãªãè²é¢æ§æã§ç¥ãããã`],[`karel-appel`,`Karel Appel`,`Dutch · 1921â2006`,1921,`Netherlands`,`çµµç»`,`ãªã©ã³ãã®ç»å®¶ã§åè¡éåãã³ãã©ï¼CoBrAï¼ãã®åµè¨ã¡ã³ãã¼ãæ¿ããè²å½©ã¨ååçãªãã©ã«ã ãç¹å¾´ã`],[`joseph-kosuth`,`Joseph Kosuth`,`American · b.1945`,1945,`USA`,`ã³ã³ã»ããã¥ã¢ã«`,`ã³ã³ã»ããã¥ã¢ã«ã»ã¢ã¼ãã®å
é§è
ãè¨èªã¨æå³ãã®ãã®ãåãä½åã§ç¥ãããã`],[`heinz-mack`,`Heinz Mack`,`German · b.1931`,1931,`Germany`,`æ½è±¡`,`ãã¤ãã®ä½å®¶ã§åè¡ã°ã«ã¼ããZEROãã®å
±ååµè¨è
ãå
ã¨éåã主é¡ã¨ããä½åãå±éããã`],[`george-condo`,`George Condo`,`American · b.1957`,1957,`USA`,`çµµç»`,`ã¢ã¡ãªã«ã®ç»å®¶ãå¤å
¸çµµç»ã¨ããããæ¨ªæããã人工çãªã¢ãªãºã ãã¨ç§°ããç¬èªã®èå表ç¾ã§ç¥ãããã`],[`nathaniel-mary-quinn`,`Nathaniel Mary Quinn`,`American · b.1977`,1977,`USA`,`çµµç»`,`ã¢ã¡ãªã«ã®ç»å®¶ãæçãç¶ãåããããããªã³ã©ã¼ã¸ã¥çèåã§è¨æ¶ã¨äººéåãæãã`]].map(([e,t,n,r,i,a,o])=>({id:e,name:t,nameEn:t,born:r,base:i,country:i,statement:`${n}ï½${a}`,bio:o,awards:[],referenceOnly:!0,source:`å
¬å¼ãµã¤ãï¼ä»® / DRAFTï¼â ${t}`,sourceUrl:`https://www.google.com/search?q=${encodeURIComponent(t)}+artist+official+site`}))];function lu(e){return cu.find(t=>t.id===e)}var uu=ys(`/artists/$id`)({loader:({params:e})=>{let t=lu(e.id);if(!t)throw Le();return{artist:t,works:bl.filter(e=>e.artistId===t.id)}},head:({loaderData:e,params:t})=>Tl({title:e?`${e.artist.name} â ä½å®¶ãããã£ã¼ã« | INSTINCT RAS`:`Artist â INSTINCT RAS`,description:e?.artist.statement||`INSTINCT RAS ã«éãä½å®¶ã®ãããã£ã¼ã«ãã¹ãã¼ãã¡ã³ããä½åä¸è¦§ã`,path:`/artists/${t.id}`,image:e?e.works[0]?.image??su(e.artist.id):null,type:`profile`}),notFoundComponent:B(()=>k(()=>import(`./artists._id-B864sf9Y.js`),__vite__mapDeps([39,1,8,9,6])),`notFoundComponent`),errorComponent:B(()=>k(()=>import(`./artists._id-CNSs6yhD.js`),__vite__mapDeps([40,1])),`errorComponent`),component:B(()=>k(()=>import(`./artists._id-B6WehHdZ.js`),__vite__mapDeps([41,1,7,8,9,6])),`component`)});function du(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function fu(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})}var pu=e=>e?(...t)=>e(...t):(...e)=>fetch(...e),mu=class extends Error{constructor(e,t=`FunctionsError`,n){super(e),this.name=t,this.context=n}toJSON(){return{name:this.name,message:this.message,context:this.context}}},hu=class extends mu{constructor(e){super(`Failed to send a request to the Edge Function`,`FunctionsFetchError`,e)}},gu=class extends mu{constructor(e){super(`Relay Error invoking the Edge Function`,`FunctionsRelayError`,e)}},_u=class extends mu{constructor(e){super(`Edge Function returned a non-2xx status code`,`FunctionsHttpError`,e)}},vu;(function(e){e.Any=`any`,e.ApNortheast1=`ap-northeast-1`,e.ApNortheast2=`ap-northeast-2`,e.ApSouth1=`ap-south-1`,e.ApSoutheast1=`ap-southeast-1`,e.ApSoutheast2=`ap-southeast-2`,e.CaCentral1=`ca-central-1`,e.EuCentral1=`eu-central-1`,e.EuWest1=`eu-west-1`,e.EuWest2=`eu-west-2`,e.EuWest3=`eu-west-3`,e.SaEast1=`sa-east-1`,e.UsEast1=`us-east-1`,e.UsWest1=`us-west-1`,e.UsWest2=`us-west-2`})(vu||={});var yu=class{constructor(e,{headers:t={},customFetch:n,region:r=vu.Any}={}){this.url=e,this.headers=t,this.region=r,this.fetch=pu(n)}setAuth(e){this.headers.Authorization=`Bearer ${e}`}invoke(e){return fu(this,arguments,void 0,function*(e,t={}){let n,r;try{let{headers:i,method:a,body:o,signal:s,timeout:c}=t,l={},{region:u}=t;u||=this.region;let d=new URL(`${this.url}/${e}`);u&&u!==`any`&&(l[`x-region`]=u,d.searchParams.set(`forceFunctionRegion`,u));let f;o&&(i&&!Object.prototype.hasOwnProperty.call(i,`Content-Type`)||!i)?typeof Blob<`u`&&o instanceof Blob||o instanceof ArrayBuffer?(l[`Content-Type`]=`application/octet-stream`,f=o):typeof o==`string`?(l[`Content-Type`]=`text/plain`,f=o):typeof FormData<`u`&&o instanceof FormData?f=o:(l[`Content-Type`]=`application/json`,f=JSON.stringify(o)):f=o&&typeof o!=`string`&&!(typeof Blob<`u`&&o instanceof Blob)&&!(o instanceof ArrayBuffer)&&!(typeof FormData<`u`&&o instanceof FormData)?JSON.stringify(o):o;let p=s;c&&(r=new AbortController,n=setTimeout(()=>r.abort(),c),s?(p=r.signal,s.addEventListener(`abort`,()=>r.abort())):p=r.signal);let m=yield this.fetch(d.toString(),{method:a||`POST`,headers:Object.assign(Object.assign(Object.assign({},l),this.headers),i),body:f,signal:p}).catch(e=>{throw new hu(e)}),h=m.headers.get(`x-relay-error`);if(h&&h===`true`)throw new gu(m);if(!m.ok)throw new _u(m);let g=(m.headers.get(`Content-Type`)??`text/plain`).split(`;`)[0].trim(),_;return _=g===`application/json`?yield m.json():g===`application/octet-stream`||g===`application/pdf`?yield m.blob():g===`text/event-stream`?m:g===`multipart/form-data`?yield m.formData():yield m.text(),{data:_,error:null,response:m}}catch(e){return{data:null,error:e,response:e instanceof _u||e instanceof gu?e.context:void 0}}finally{n&&clearTimeout(n)}})}},bu=3,xu=e=>Math.min(1e3*2**e,3e4),Su=[520,503],Cu=[`GET`,`HEAD`,`OPTIONS`],wu=class extends
25Error{constructor(e){super(e.message),this.name=`PostgrestError`,this.details=e.details,this.hint=e.hint,this.code=e.code}toJSON(){return{name:this.name,message:this.message,details:this.details,hint:this.hint,code:this.code}}};function Tu(e,t){return new Promise(n=>{if(t?.aborted){n();return}let r=setTimeout(()=>{t?.removeEventListener(`abort`,i),n()},e);function i(){clearTimeout(r),n()}t?.addEventListener(`abort`,i)})}function Eu(e,t,n,r){return!(!r||n>=bu||!Cu.includes(e)||!Su.includes(t))}var Du=class{constructor(e){this.shouldThrowOnError=!1,this.retryEnabled=!0,this.method=e.method,this.url=e.url,this.headers=new Headers(e.headers),this.schema=e.schema,this.body=e.body,this.shouldThrowOnError=e.shouldThrowOnError??!1,this.signal=e.signal,this.isMaybeSingle=e.isMaybeSingle??!1,this.shouldStripNulls=e.shouldStripNulls??!1,this.urlLengthLimit=e.urlLengthLimit??8e3,this.retryEnabled=e.retry??!0,e.fetch?this.fetch=e.fetch:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}stripNulls(){if(this.headers.get(`Accept`)===`text/csv`)throw Error(`stripNulls() cannot be used with csv()`);return this.shouldStripNulls=!0,this}setHeader(e,t){return this.headers=new Headers(this.headers),this.headers.set(e,t),this}retry(e){return this.retryEnabled=e,this}then(e,t){var n=this;if(this.schema===void 0||([`GET`,`HEAD`].includes(this.method)?this.headers.set(`Accept-Profile`,this.schema):this.headers.set(`Content-Profile`,this.schema)),this.method!==`GET`&&this.method!==`HEAD`&&this.headers.set(`Content-Type`,`application/json`),this.shouldStripNulls){let e=this.headers.get(`Accept`);e===`application/vnd.pgrst.object+json`?this.headers.set(`Accept`,`application/vnd.pgrst.object+json;nulls=stripped`):(!e||e===`application/json`)&&this.headers.set(`Accept`,`application/vnd.pgrst.array+json;nulls=stripped`)}let r=this.fetch,i=(async()=>{let e=0;for(;;){let t={};n.headers.forEach((e,n)=>{t[n]=e}),e>0&&(t[`X-Retry-Count`]=String(e));let i;try{i=await r(n.url.toString(),{method:n.method,headers:t,body:JSON.stringify(n.body,(e,t)=>typeof t==`bigint`?t.toString():t),signal:n.signal})}catch(t){if(t?.name===`AbortError`||t?.code===`ABORT_ERR`||!Cu.includes(n.method))throw t;if(n.retryEnabled&&e<bu){let t=xu(e);e++,await Tu(t,n.signal);continue}throw t}if(Eu(n.method,i.status,e,n.retryEnabled)){let t=i.headers?.get(`Retry-After`)??null,r=t===null?xu(e):Math.max(0,parseInt(t,10)||0)*1e3;await i.text(),e++,await Tu(r,n.signal);continue}return await n.processResponse(i)}})();return this.shouldThrowOnError||(i=i.catch(e=>{let t=``,n=``,r=``,i=e?.cause;if(i){let n=i?.message??``,r=i?.code??``;t=`${e?.name??`FetchError`}: ${e?.message}`,t+=`\n\nCaused by: ${i?.name??`Error`}: ${n}`,r&&(t+=` (${r})`),i?.stack&&(t+=`\n${i.stack}`)}else t=e?.stack??``;let a=this.url.toString().length;return e?.name===`AbortError`||e?.code===`ABORT_ERR`?(r=``,n=`Request was aborted (timeout or manual cancellation)`,a>this.urlLengthLimit&&(n+=`. Note: Your request URL is ${a} characters, which may exceed server limits. If selecting many fields, consider using views. If filtering with large arrays (e.g., .in('id', [many IDs])), consider using an RPC function to pass values server-side.`)):(i?.name===`HeadersOverflowError`||i?.code===`UND_ERR_HEADERS_OVERFLOW`)&&(r=``,n=`HTTP headers exceeded server limits (typically 16KB)`,a>this.urlLengthLimit&&(n+=`. Your request URL is ${a} characters. If selecting many fields, consider using views. If filtering with large arrays (e.g., .in('id', [200+ IDs])), consider using an RPC function instead.`)),{success:!1,error:{message:`${e?.name??`FetchError`}: ${e?.message}`,details:t,hint:n,code:r},data:null,count:null,status:0,statusText:``}})),i.then(e,t)}async processResponse(e){var t=this;let n=null,r=null,i=null,a=e.status,o=e.statusText;if(e.ok){if(t.method!==`HEAD`){let i=await e.text();if(i!==``)if(t.headers.get(`Accept`)===`text/csv`)r=i;else if(t.headers.get(`Accept`)&&t.headers.get(`Accept`)?.includes(`application/vnd.pgrst.plan+text`))r=i;else try{r=JSON.parse(i)}catch{if(n={message:i},r=null,t.shouldThrowOnError)throw new wu({message:i,details:``,hint:``,code:``})}}let s=t.headers.get(`Prefer`)?.match(/count=(exact|planned|estimated)/),c=e.headers.get(`content-range`)?.split(`/`);s&&c&&c.length>1&&(i=parseInt(c[1])),t.isMaybeSingle&&Array.isArray(r)&&(r.length>1?(n={code:`PGRST116`,details:`Results contain ${r.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:`JSON object requested, multiple (or no) rows returned`},r=null,i=null,a=406,o=`Not Acceptable`):r=r.length===1?r[0]:null)}else{let i=await e.text();try{n=JSON.parse(i),Array.isArray(n)&&e.status===404&&(r=[],n=null,a=200,o=`OK`)}
vendor: 8,609 bytes, line 25
25catch{e.status===404&&i===``?(a=204,o=`No Content`):n={message:i}}if(n&&t.shouldThrowOnError)throw new wu(n)}return{success:n===null,error:n,data:r,count:i,status:a,statusText:o}}returns(){return this}overrideTypes(){return this}},Ou=class extends Du{throwOnError(){return super.throwOnError()}select(e){let t=!1,n=(e??`*`).split(``).map(e=>/\s/.test(e)&&!t?``:(e===`"`&&(t=!t),e)).join(``);return this.url.searchParams.set(`select`,n),this.headers.append(`Prefer`,`return=representation`),this}order(e,{ascending:t=!0,nullsFirst:n,foreignTable:r,referencedTable:i=r}={}){let a=i?`${i}.order`:`order`,o=this.url.searchParams.get(a);return this.url.searchParams.set(a,`${o?`${o},`:``}${e}.${t?`asc`:`desc`}${n===void 0?``:n?`.nullsfirst`:`.nullslast`}`),this}limit(e,{foreignTable:t,referencedTable:n=t}={}){let r=n===void 0?`limit`:`${n}.limit`;return this.url.searchParams.set(r,`${e}`),this}range(e,t,{foreignTable:n,referencedTable:r=n}={}){let i=r===void 0?`offset`:`${r}.offset`,a=r===void 0?`limit`:`${r}.limit`;return this.url.searchParams.set(i,`${e}`),this.url.searchParams.set(a,`${t-e+1}`),this}abortSignal(e){return this.signal=e,this}single(){return this.headers.set(`Accept`,`application/vnd.pgrst.object+json`),this}maybeSingle(){return this.isMaybeSingle=!0,this}csv(){return this.headers.set(`Accept`,`text/csv`),this}geojson(){return this.headers.set(`Accept`,`application/geo+json`),this}explain({analyze:e=!1,verbose:t=!1,settings:n=!1,buffers:r=!1,wal:i=!1,format:a=`text`}={}){let o=[e?`analyze`:null,t?`verbose`:null,n?`settings`:null,r?`buffers`:null,i?`wal`:null].filter(Boolean).join(`|`),s=this.headers.get(`Accept`)??`application/json`;return this.headers.set(`Accept`,`application/vnd.pgrst.plan+${a}; for="${s}"; options=${o};`),this}rollback(){return this.headers.append(`Prefer`,`tx=rollback`),this}returns(){return this}maxAffected(e){return this.headers.append(`Prefer`,`handling=strict`),this.headers.append(`Prefer`,`max-affected=${e}`),this}},ku=RegExp(`[,()]`),Au=class extends Ou{throwOnError(){return super.throwOnError()}eq(e,t){return this.url.searchParams.append(e,`eq.${t}`),this}neq(e,t){return this.url.searchParams.append(e,`neq.${t}`),this}gt(e,t){return this.url.searchParams.append(e,`gt.${t}`),this}gte(e,t){return this.url.searchParams.append(e,`gte.${t}`),this}lt(e,t){return this.url.searchParams.append(e,`lt.${t}`),this}lte(e,t){return this.url.searchParams.append(e,`lte.${t}`),this}like(e,t){return this.url.searchParams.append(e,`like.${t}`),this}likeAllOf(e,t){return this.url.searchParams.append(e,`like(all).{${t.join(`,`)}}`),this}likeAnyOf(e,t){return this.url.searchParams.append(e,`like(any).{${t.join(`,`)}}`),this}ilike(e,t){return this.url.searchParams.append(e,`ilike.${t}`),this}ilikeAllOf(e,t){return this.url.searchParams.append(e,`ilike(all).{${t.join(`,`)}}`),this}ilikeAnyOf(e,t){return this.url.searchParams.append(e,`ilike(any).{${t.join(`,`)}}`),this}regexMatch(e,t){return this.url.searchParams.append(e,`match.${t}`),this}regexIMatch(e,t){return this.url.searchParams.append(e,`imatch.${t}`),this}is(e,t){return this.url.searchParams.append(e,`is.${t}`),this}isDistinct(e,t){return this.url.searchParams.append(e,`isdistinct.${t}`),this}in(e,t){let n=Array.from(new Set(t)).map(e=>typeof e==`string`&&ku.test(e)?`"${e}"`:`${e}`).join(`,`);return this.url.searchParams.append(e,`in.(${n})`),this}notIn(e,t){let n=Array.from(new Set(t)).map(e=>typeof e==`string`&&ku.test(e)?`"${e}"`:`${e}`).join(`,`);return this.url.searchParams.append(e,`not.in.(${n})`),this}contains(e,t){return typeof t==`string`?this.url.searchParams.append(e,`cs.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cs.{${t.join(`,`)}}`):this.url.searchParams.append(e,`cs.${JSON.stringify(t)}`),this}containedBy(e,t){return typeof t==`string`?this.url.searchParams.append(e,`cd.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cd.{${t.join(`,`)}}`):this.url.searchParams.append(e,`cd.${JSON.stringify(t)}`),this}rangeGt(e,t){return this.url.searchParams.append(e,`sr.${t}`),this}rangeGte(e,t){return this.url.searchParams.append(e,`nxl.${t}`),this}rangeLt(e,t){return this.url.searchParams.append(e,`sl.${t}`),this}rangeLte(e,t){return this.url.searchParams.append(e,`nxr.${t}`),this}rangeAdjacent(e,t){return this.url.searchParams.append(e,`adj.${t}`),this}overlaps(e,t){return typeof t==`string`?this.url.searchParams.append(e,`ov.${t}`):this.url.searchParams.append(e,`ov.{${t.join(`,`)}}`),this}textSearch(e,t,{config:n,type:r}={}){let i=``;r===`plain`?i=`pl`:r===`phrase`?i=`ph`:r===`websearch`&&(i=`w`);let a=n===void 0?``:`(${n})`;return this.url.searchParams.append(e,`${i}fts${a}.${t}`),this}match(e){return Object.entries(e).filter(([e,t])=>t!==void 0).forEach(([e,t])=>{this.url.searchParams.append(e,`eq.${t}`)}),this}not(e,t,n){return this.url.searchParams.append(e,`not.${t}.${n}`),this}or(e,{foreignTable:t,referencedTable:n=t}={}){let r=n?`${n}.or`:`or`;return this.url.searchParams.append(r,`(${e})`),this}filter(e,t,n){return this.url.searchParams.append(e,`${t}.${n}`),this}},ju=class{constructor(e,{headers:t={},schema:n,fetch:r,urlLengthLimit:i=8e3,retry:a}){this.url=e,this.headers=new Headers(t),this.schema=n,this.fetch=r,this.urlLengthLimit=i,this.retry=a}cloneRequestState(){return{url:new URL(this.url.toString()),headers:new Headers(this.headers)}}select(e,t){let{head:n=!1,count:r}=t??{},i=n?`HEAD`:`GET`,a=!1,o=(e??`*`).split(``).map(e=>/\s/.test(e)&&!a?``:(e===`"`&&(a=!a),e)).join(``),{url:s,headers:c}=this.cloneRequestState();return s.searchParams.set(`select`,o),r&&c.append(`Prefer`,`count=${r}`),new Au({method:i,url:s,headers:c,schema:this.schema,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}insert(e,{count:t,defaultToNull:n=!0}={}){let{url:r,headers:i}=this.cloneRequestState();if(t&&i.append(`Prefer`,`count=${t}`),n||i.append(`Prefer`,`missing=default`),Array.isArray(e)){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]);if(t.length>0){let e=[...new Set(t)].map(e=>`"${e}"`);r.searchParams.set(`columns`,e.join(`,`))}}return new Au({method:`POST`,url:r,headers:i,schema:this.schema,body:e,fetch:this.fetch??fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}upsert(e,{onConflict:t,ignoreDuplicates:n=!1,count:r,defaultToNull:i=!0}={}){let{url:a,headers:o}=this.cloneRequestState();if(o.append(`Prefer`,`resolution=${n?`ignore`:`merge`}-duplicates`),t!==void 0&&a.searchParams.set(`on_conflict`,t),r&&o.append(`Prefer`,`count=${r}`),i||o.append(`Prefer`,`missing=default`),Array.isArray(e)){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]);if(t.length>0){let e=[...new Set(t)].map(e=>`"${e}"`);a.searchParams.set(`columns`,e.join(`,`))}}return new Au({method:`POST`,url:a,headers:o,schema:this.schema,body:e,fetch:this.fetch??fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}update(e,{count:t}={}){let{url:n,headers:r}=this.cloneRequestState();return t&&r.append(`Prefer`,`count=${t}`),new Au({method:`PATCH`,url:n,headers:r,schema:this.schema,body:e,fetch:this.fetch??fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}delete({count:e}={}){let{url:t,headers:n}=this.cloneRequestState();return e&&n.append(`Prefer`,`count=${e}`),new Au({method:`DELETE`,url:t,headers:n,schema:this.schema,fetch:this.fetch??fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}};function Mu(e){"@babel/helpers - typeof";return Mu=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Mu(e)}function Nu(e,t){if(Mu(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Mu(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Pu(e){var t=Nu(e,`string`);return Mu(t)==`symbol`?t:t+``}function Fu(e,t,n){return(t=Pu(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Iu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Lu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Iu(Object(n),!0).forEach(function(t){Fu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Iu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}
25var Ru=class e{constructor(e,{headers:t={},schema:n,fetch:r,timeout:i,urlLengthLimit:a=8e3,retry:o}={}){this.url=e,this.headers=new Headers(t),this.schemaName=n,this.urlLengthLimit=a;let s=r??globalThis.fetch;i!==void 0&&i>0?this.fetch=(e,t)=>{let n=new AbortController,r=setTimeout(()=>n.abort(),i),a=t?.signal;if(a){if(a.aborted)return clearTimeout(r),s(e,t);let i=()=>{clearTimeout(r),n.abort()};return a.addEventListener(`abort`,i,{once:!0}),s(e,Lu(Lu({},t),{},{signal:n.signal})).finally(()=>{clearTimeout(r),a.removeEventListener(`abort`,i)})}return s(e,Lu(Lu({},t),{},{signal:n.signal})).finally(()=>clearTimeout(r))}:this.fetch=s,this.retry=o}from(e){if(!e||typeof e!=`string`||e.trim()===``)throw Error(`Invalid relation name: relation must be a non-empty string.`);return new ju(new URL(`${this.url}/${e}`),{headers:new Headers(this.headers),schema:this.schemaName,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}schema(t){return new e(this.url,{headers:this.headers,schema:t,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}rpc(e,t={},{head:n=!1,get:r=!1,count:i}={}){let a,o=new URL(`${this.url}/rpc/${e}`),s,c=e=>typeof e==`object`&&!!e&&(!Array.isArray(e)||e.some(c)),l=n&&Object.values(t).some(c);l?(a=`POST`,s=t):n||r?(a=n?`HEAD`:`GET`,Object.entries(t).filter(([e,t])=>t!==void 0).map(([e,t])=>[e,Array.isArray(t)?`{${t.join(`,`)}}`:`${t}`]).forEach(([e,t])=>{o.searchParams.append(e,t)})):(a=`POST`,s=t);let u=new Headers(this.headers);return l?u.set(`Prefer`,i?`count=${i},return=minimal`:`return=minimal`):i&&u.set(`Prefer`,`count=${i}`),new Au({method:a,url:o,headers:u,schema:this.schemaName,body:s,fetch:this.fetch??fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}},zu=class{constructor(){}static detectEnvironment(){if(typeof WebSocket<`u`)return{type:`native`,wsConstructor:WebSocket};let e=globalThis;if(typeof globalThis<`u`&&e.WebSocket!==void 0)return{type:`native`,wsConstructor:e.WebSocket};let t=typeof global<`u`?global:void 0;if(t&&t.WebSocket!==void 0)return{type:`native`,wsConstructor:t.WebSocket};if(typeof globalThis<`u`&&e.WebSocketPair!==void 0&&globalThis.WebSocket===void 0)return{type:`cloudflare`,error:`Cloudflare Workers detected. WebSocket clients are not supported in Cloudflare Workers.`,workaround:`Use Cloudflare Workers WebSocket API for server-side WebSocket handling, or deploy to a different runtime.`};if(typeof globalThis<`u`&&e.EdgeRuntime||typeof navigator<`u`&&navigator.userAgent?.includes(`Vercel-Edge`))return{type:`unsupported`,error:`Edge runtime detected (Vercel Edge/Netlify Edge). WebSockets are not supported in edge functions.`,workaround:`Use serverless functions or a different deployment target for WebSocket functionality.`};let n=globalThis.process;if(n){let e=n.versions;if(e&&e.node){let t=e.node,n=parseInt(t.replace(/^v/,``).split(`.`)[0]);return n>=22?globalThis.WebSocket===void 0?{type:`unsupported`,error:`Node.js ${n} detected but native WebSocket not found.`,workaround:`Provide a WebSocket implementation via the transport option.`}:{type:`native`,wsConstructor:globalThis.WebSocket}:{type:`unsupported`,error:`Node.js ${n} detected without native WebSocket support.`,workaround:`For Node.js < 22, install "ws" package and provide it via the transport option: 26import ws from "ws" 27new RealtimeClient(url, { transport: ws })`}}}return{type:`unsupported`,error:`Unknown JavaScript runtime without WebSocket support.`,workaround:`Ensure you're running in a supported environment (browser, Node.js, Deno) or provide a custom WebSocket implementation.`}}static getWebSocketConstructor(){let e=this.detectEnvironment();if(e.wsConstructor)return e.wsConstructor;let t=e.error||`WebSocket not supported in this environment.`;throw e.workaround&&(t+=`\n\nSuggested solution: ${e.workaround}`),Error(t)}static isWebSocketSupported(){try{let e=this.detectEnvironment();return e.type===`native`||e.type===`ws`}catch{return!1}}},Bu=`realtime-js/2.108.2`,Vu=`1.0.0`,Hu=`2.0.0`,Uu=Hu,Wu=1e4,Gu={closed:`closed`,errored:`errored`,joined:`joined`,joining:`joining`,leaving:`leaving`}
vendor: 14,769 bytes, line 27
27,Ku={close:`phx_close`,error:`phx_error`,join:`phx_join`,reply:`phx_reply`,leave:`phx_leave`,access_token:`access_token`},qu={connecting:`connecting`,open:`open`,closing:`closing`,closed:`closed`},Ju=class{constructor(e){this.HEADER_LENGTH=1,this.USER_BROADCAST_PUSH_META_LENGTH=6,this.KINDS={userBroadcastPush:3,userBroadcast:4},this.BINARY_ENCODING=0,this.JSON_ENCODING=1,this.BROADCAST_EVENT=`broadcast`,this.allowedMetadataKeys=[],this.allowedMetadataKeys=e??[]}encode(e,t){if(e.event===this.BROADCAST_EVENT&&!(e.payload instanceof ArrayBuffer)&&typeof e.payload.event==`string`)return t(this._binaryEncodeUserBroadcastPush(e));let n=[e.join_ref,e.ref,e.topic,e.event,e.payload];return t(JSON.stringify(n))}_binaryEncodeUserBroadcastPush(e){return this._isArrayBuffer(e.payload?.payload)?this._encodeBinaryUserBroadcastPush(e):this._encodeJsonUserBroadcastPush(e)}_encodeBinaryUserBroadcastPush(e){let t=e.payload?.payload??new ArrayBuffer(0);return this._encodeUserBroadcastPush(e,this.BINARY_ENCODING,t)}_encodeJsonUserBroadcastPush(e){let t=e.payload?.payload??{},n=new TextEncoder().encode(JSON.stringify(t)).buffer;return this._encodeUserBroadcastPush(e,this.JSON_ENCODING,n)}_encodeUserBroadcastPush(e,t,n){let r=e.topic,i=e.ref??``,a=e.join_ref??``,o=e.payload.event,s=this.allowedMetadataKeys?this._pick(e.payload,this.allowedMetadataKeys):{},c=Object.keys(s).length===0?``:JSON.stringify(s);if(a.length>255)throw Error(`joinRef length ${a.length} exceeds maximum of 255`);if(i.length>255)throw Error(`ref length ${i.length} exceeds maximum of 255`);if(r.length>255)throw Error(`topic length ${r.length} exceeds maximum of 255`);if(o.length>255)throw Error(`userEvent length ${o.length} exceeds maximum of 255`);if(c.length>255)throw Error(`metadata length ${c.length} exceeds maximum of 255`);let l=this.USER_BROADCAST_PUSH_META_LENGTH+a.length+i.length+r.length+o.length+c.length,u=new ArrayBuffer(this.HEADER_LENGTH+l),d=new DataView(u),f=0;d.setUint8(f++,this.KINDS.userBroadcastPush),d.setUint8(f++,a.length),d.setUint8(f++,i.length),d.setUint8(f++,r.length),d.setUint8(f++,o.length),d.setUint8(f++,c.length),d.setUint8(f++,t),Array.from(a,e=>d.setUint8(f++,e.charCodeAt(0))),Array.from(i,e=>d.setUint8(f++,e.charCodeAt(0))),Array.from(r,e=>d.setUint8(f++,e.charCodeAt(0))),Array.from(o,e=>d.setUint8(f++,e.charCodeAt(0))),Array.from(c,e=>d.setUint8(f++,e.charCodeAt(0)));var p=new Uint8Array(u.byteLength+n.byteLength);return p.set(new Uint8Array(u),0),p.set(new Uint8Array(n),u.byteLength),p.buffer}decode(e,t){if(this._isArrayBuffer(e))return t(this._binaryDecode(e));if(typeof e==`string`){let[n,r,i,a,o]=JSON.parse(e);return t({join_ref:n,ref:r,topic:i,event:a,payload:o})}return t({})}_binaryDecode(e){let t=new DataView(e),n=t.getUint8(0),r=new TextDecoder;switch(n){case this.KINDS.userBroadcast:return this._decodeUserBroadcast(e,t,r)}}_decodeUserBroadcast(e,t,n){let r=t.getUint8(1),i=t.getUint8(2),a=t.getUint8(3),o=t.getUint8(4),s=this.HEADER_LENGTH+4,c=n.decode(e.slice(s,s+r));s+=r;let l=n.decode(e.slice(s,s+i));s+=i;let u=n.decode(e.slice(s,s+a));s+=a;let d=e.slice(s,e.byteLength),f=o===this.JSON_ENCODING?JSON.parse(n.decode(d)):d,p={type:this.BROADCAST_EVENT,event:l,payload:f};return a>0&&(p.meta=JSON.parse(u)),{join_ref:null,ref:null,topic:c,event:this.BROADCAST_EVENT,payload:p}}_isArrayBuffer(e){return e instanceof ArrayBuffer||e?.constructor?.name===`ArrayBuffer`}_pick(e,t){return!e||typeof e!=`object`?{}:Object.fromEntries(Object.entries(e).filter(([e])=>t.includes(e)))}},J;(function(e){e.abstime=`abstime`,e.bool=`bool`,e.date=`date`,e.daterange=`daterange`,e.float4=`float4`,e.float8=`float8`,e.int2=`int2`,e.int4=`int4`,e.int4range=`int4range`,e.int8=`int8`,e.int8range=`int8range`,e.json=`json`,e.jsonb=`jsonb`,e.money=`money`,e.numeric=`numeric`,e.oid=`oid`,e.reltime=`reltime`,e.text=`text`,e.time=`time`,e.timestamp=`timestamp`,e.timestamptz=`timestamptz`,e.timetz=`timetz`,e.tsrange=`tsrange`,e.tstzrange=`tstzrange`})(J||={});var Yu=(e,t,n={})=>{let r=n.skipTypes??[];return t?Object.keys(t).reduce((n,i)=>(n[i]=Xu(i,e,t,r),n),{}):{}},Xu=(e,t,n,r)=>{let i=t.find(t=>t.name===e)?.type,a=n[e];return i&&!r.includes(i)?Zu(i,a):Qu(a)},Zu=(e,t)=>{if(e.charAt(0)===`_`)return nd(t,e.slice(1,e.length));switch(e){case J.bool:return $u(t);case J.float4:case J.float8:case J.int2:case J.int4:case J.int8:case J.numeric:case J.oid:return ed(t);case J.json:case J.jsonb:return td(t);case J.timestamp:return rd(t);case J.abstime:case J.date:case J.daterange:case J.int4range:case J.int8range:case J.money:case J.reltime:case J.text:case J.time:case J.timestamptz:case J.timetz:case J.tsrange:case J.tstzrange:return Qu(t);default:return Qu(t)}},Qu=e=>e,$u=e=>{switch(e){case`t`:return!0;case`f`:return!1;default:return e}},ed=e=>{if(typeof e==`string`){let t=parseFloat(e);if(!Number.isNaN(t))return t}return e},td=e=>{if(typeof e==`string`)try{return JSON.parse(e)}catch{return e}return e},nd=(e,t)=>{if(typeof e!=`string`)return e;let n=e.length-1,r=e[n];if(e[0]===`{`&&r===`}`){let r,i=e.slice(1,n);try{r=JSON.parse(`[`+i+`]`)}catch{r=i?i.split(`,`):[]}return r.map(e=>Zu(t,e))}return e},rd=e=>typeof e==`string`?e.replace(` `,`T`):e,id=e=>{let t=new URL(e);return t.protocol=t.protocol.replace(/^ws/i,`http`),t.pathname=t.pathname.replace(/\/+$/,``).replace(/\/socket\/websocket$/i,``).replace(/\/socket$/i,``).replace(/\/websocket$/i,``),t.pathname===``||t.pathname===`/`?t.pathname=`/api/broadcast`:t.pathname+=`/api/broadcast`,t.href},ad=e=>typeof e==`function`?e:function(){return e},od=typeof self<`u`?self:null,sd=typeof window<`u`?window:null,cd=od||sd||globalThis,ld=`2.0.0`,ud=1e4,dd=1e3,fd={connecting:0,open:1,closing:2,closed:3},pd={closed:`closed`,errored:`errored`,joined:`joined`,joining:`joining`,leaving:`leaving`},md={close:`phx_close`,error:`phx_error`,join:`phx_join`,reply:`phx_reply`,leave:`phx_leave`},hd={longpoll:`longpoll`,websocket:`websocket`},gd={complete:4},_d=`base64url.bearer.phx.`,vd=class{constructor(e,t,n,r){this.channel=e,this.event=t,this.payload=n||function(){return{}},this.receivedResp=null,this.timeout=r,this.timeoutTimer=null,this.recHooks=[],this.sent=!1,this.ref=void 0}resend(e){this.timeout=e,this.reset(),this.send()}send(){this.hasReceived(`timeout`)||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}receive(e,t){return this.hasReceived(e)&&t(this.receivedResp.response),this.recHooks.push({status:e,callback:t}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}destroy(){this.cancelRefEvent(),this.cancelTimeout()}matchReceive({status:e,response:t,_ref:n}){this.recHooks.filter(t=>t.status===e).forEach(e=>e.callback(t))}cancelRefEvent(){this.refEvent&&this.channel.off(this.refEvent)}cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}startTimeout(){this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,e=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=e,this.matchReceive(e)}),this.timeoutTimer=setTimeout(()=>{this.trigger(`timeout`,{})},this.timeout)}hasReceived(e){return this.receivedResp&&this.receivedResp.status===e}trigger(e,t){this.channel.trigger(this.refEvent,{status:e,response:t})}},yd=class{constructor(e,t){this.callback=e,this.timerCalc=t,this.timer=void 0,this.tries=0}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries+=1,this.callback()},this.timerCalc(this.tries+1))}},bd=class{constructor(e,t,n){this.state=pd.closed,this.topic=e,this.params=ad(t||{}),this.socket=n,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new vd(this,md.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new yd(()=>{this.socket.isConnected()&&this.rejoin()},this.socket.rejoinAfterMs),this.stateChangeRefs.push(this.socket.onError(()=>this.rejoinTimer.reset())),this.stateChangeRefs.push(this.socket.onOpen(()=>{this.rejoinTimer.reset(),this.isErrored()&&this.rejoin()})),this.joinPush.receive(`ok`,()=>{this.state=pd.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(e=>e.send()),this.pushBuffer=[]}),this.joinPush.receive(`error`,e=>{this.state=pd.errored,this.socket.hasLogger()&&this.socket.log(`channel`,`error ${this.topic}`,e),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.onClose(()=>{this.rejoinTimer.reset(),this.socket.hasLogger()&&this.socket.log(`channel`,`close ${this.topic}`),this.state=pd.closed,this.socket.remove(this)}),this.onError(e=>{this.socket.hasLogger()&&this.socket.log(`channel`,`error ${this.topic}`,e),this.isJoining()&&this.joinPush.reset(),this.state=pd.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.joinPush.receive(`timeout`,()=>{this.socket.hasLogger()&&this.socket.log(`channel`,`timeout ${this.topic}`,this.joinPush.timeout),new vd(this,md.leave,ad({}),this.timeout).send(),this.state=pd.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(md.reply,(e,t)=>{this.trigger(this.replyEventName(t),e)})}join(e=this.timeout){if(this.joinedOnce)throw Error(`tried to join multiple times. 'join' can only be called a single time per channel instance`);return this.timeout=e,this.joinedOnce=!0,this.rejoin(),this.joinPush}teardown(){this.pushBuffer.forEach(e=>e.destroy()),this.pushBuffer=[],this.rejoinTimer.reset(),this.joinPush.destroy(),this.state=pd.closed,this.bindings=[]}onClose(e){this.on(md.close,e)}onError(e){return this.on(md.error,t=>e(t))}on(e,t){let n=this.bindingRef++;return this.bindings.push({event:e,ref:n,callback:t}),n}off(e,t){this.bindings=this.bindings.filter(n=>!(n.event===e&&(t===void 0||t===n.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(e,t,n=this.timeout){if(t||={},!this.joinedOnce)throw Error(`tried to push '${e}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let r=new vd(this,e,function(){return t},n);return this.canPush()?r.send():(r.startTimeout(),this.pushBuffer.push(r)),r}leave(e=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=pd.leaving;let t=()=>{this.socket.hasLogger()&&this.socket.log(`channel`,`leave ${this.topic}`),this.trigger(md.close,`leave`)},n=new vd(this,md.leave,ad({}),e);return n.receive(`ok`,()=>t()).receive(`timeout`,()=>t()),n.send(),this.canPush()||n.trigger(`ok`,{}),n}onMessage(e,t,n){return t}filterBindings(e,t,n){return!0}isMember(e,t,n,r){return this.topic===e?r&&r!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log(`channel`,`dropping outdated message`,{topic:e,event:t,payload:n,joinRef:r}),!1):!0:!1}joinRef(){return this.joinPush.ref}rejoin(e=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=pd.joining,this.joinPush.resend(e))}trigger(e,t,n,r){let i=this.onMessage(e,t,n,r);if(t&&!i)throw Error(`channel onMessage callbacks must return the payload, modified or unmodified`);let a=this.bindings.filter(r=>r.event===e&&this.filterBindings(r,t,n));for(let e=0;e<a.length;e++)a[e].callback(i,n,r||this.joinRef())}replyEventName(e){return`chan_reply_${e}`}isClosed(){return this.state===pd.closed}isErrored(){return this.state===pd.errored}isJoined(){return this.state===pd.joined}isJoining(){return this.state===pd.joining}isLeaving(){return this.state===pd.leaving}},xd=class{static request(e,t,n,r,i,a,o){if(cd.XDomainRequest){let n=new cd.XDomainRequest;return this.xdomainRequest(n,e,t,r,i,a,o)}else if(cd.XMLHttpRequest){let s=new cd.XMLHttpRequest;return this.xhrRequest(s,e,t,n,r,i,a,o)}else if(cd.fetch&&cd.AbortController)return this.fetchRequest(e,t,n,r,i,a,o);else throw Error(`No suitable XMLHttpRequest implementation found`)}static fetchRequest(e,t,n,r,i,a,o){let s={method:e,headers:n,body:r},c=null;return i&&(c=new AbortController,setTimeout(()=>c.abort(),i),s.signal=c.signal),cd.fetch(t,s).then(e=>e.text()).then(e=>this.parseJSON(e)).then(e=>o&&o(e)).catch(e=>{e.name===`AbortError`&&a?a():o&&o(null)}),c}static xdomainRequest(e,t,n,r,i,a,o){return e.timeout=i,e.open(t,n),e.onload=()=>{let t=this.parseJSON(e.responseText);o&&o(t)},a&&(e.ontimeout=a),e.onprogress=()=>{},e.send(r),e}static xhrRequest(e,t,n,r,i,a,o,s){e.open(t,n,!0),e.timeout=a;for(let[t,n]of Object.entries(r))e.setRequestHeader(t,n);return e.onerror=()=>s&&s(null),e.onreadystatechange=()=>{e.readyState===gd.complete&&s&&s(this.parseJSON(e.responseText))},o&&(e.ontimeout=o),e.send(i),e}static parseJSON(e){if(!e||e===``)return null;try{return JSON.parse(e)}catch{return console&&console.log(`failed to parse JSON response`,e),null}}static serialize(e,t){let n=[];for(var r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=t?`${t}[${r}]`:r,a=e[r];typeof a==`object`?n.push(this.serialize(a,i)):n.push(encodeURIComponent(i)+`=`+encodeURIComponent(a))}return n.join(`&`)}static appendParams(e,t){return Object.keys(t).length===0?e:`${e}${e.match(/\?/)?`&`:`?`}${this.serialize(t)}`}},Sd=e=>{let t=``,n=new Uint8Array(e),r=n.byteLength;for(let e=0;e<r;e++)t+=String.fromCharCode(n[e]);return btoa(t)},Cd=class{constructor(e,t){t&&t.length===2&&t[1].startsWith(_d)&&(this.authToken=atob(t[1].slice(_d.length))),this.endPoint=null,this.token=null,this.skipHeartbeat=!0,this.reqs=new Set,this.awaitingBatchAck=!1,this.currentBatch=null,this.currentBatchTimer=null,this.batchBuffer=[],this.onopen=function(){},this.onerror=function(){},this.onmessage=function(){},this.onclose=function(){},this.pollEndpoint=this.normalizeEndpoint(e),this.readyState=fd.connecting,setTimeout(()=>this.poll(),0)}normalizeEndpoint(e){return e.replace(`ws://`,`http://`).replace(`wss://`,`https://`).replace(RegExp(`(.*)/`+hd.websocket),`$1/`+hd.longpoll)}endpointURL(){return xd.appendParams(this.pollEndpoint,{token:this.token})}closeAndRetry(e,t,n){this.close(e,t,n),this.readyState=fd.connecting}ontimeout(){this.onerror(`timeout`),this.closeAndRetry(1005,`timeout`,!1)}isActive(){return this.readyState===fd.open||this.readyState===fd.connecting}poll(){let e={Accept:`application/json`};this.authToken&&(e[`X-Phoenix-AuthToken`]=this.authToken),this.ajax(`GET`,e,null,()=>this.ontimeout(),e=>{if(e){var{status:t,token:n,messages:r}=e;if(t===410&&this.token!==null){this.onerror(410),this.closeAndRetry(3410,`session_gone`,!1);return}this.token=n}else t=0;switch(t){case 200:r.forEach(e=>{setTimeout(()=>this.onmessage({data:e}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=fd.open,this.onopen({}),this.poll();break;
27case 403:this.onerror(403),this.close(1008,`forbidden`,!1);break;case 0:case 500:this.onerror(500),this.closeAndRetry(1011,`internal server error`,500);break;default:throw Error(`unhandled poll status ${t}`)}})}send(e){typeof e!=`string`&&(e=Sd(e)),this.currentBatch?this.currentBatch.push(e):this.awaitingBatchAck?this.batchBuffer.push(e):(this.currentBatch=[e],this.currentBatchTimer=setTimeout(()=>{this.batchSend(this.currentBatch),this.currentBatch=null},0))}batchSend(e){this.awaitingBatchAck=!0,this.ajax(`POST`,{"Content-Type":`application/x-ndjson`},e.join(` 28`),()=>this.onerror(`timeout`),e=>{this.awaitingBatchAck=!1,!e||e.status!==200?(this.onerror(e&&e.status),this.closeAndRetry(1011,`internal server error`,!1)):this.batchBuffer.length>0&&(this.batchSend(this.batchBuffer),this.batchBuffer=[])})}close(e,t,n){for(let e of this.reqs)e.abort();this.readyState=fd.closed;let r=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:e,reason:t,wasClean:n});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent<`u`?this.onclose(new CloseEvent(`close`,r)):this.onclose(r)}ajax(e,t,n,r,i){let a;a=xd.request(e,this.endpointURL(),t,n,this.timeout,()=>{this.reqs.delete(a),r()},e=>{this.reqs.delete(a),this.isActive()&&i(e)}),this.reqs.add(a)}},Y=class e{constructor(t,n={}){let r=n.events||{state:`presence_state`,diff:`presence_diff`};this.state={},this.pendingDiffs=[],this.channel=t,this.joinRef=null,this.caller={onJoin:function(){},onLeave:function(){},onSync:function(){}},this.channel.on(r.state,t=>{let{onJoin:n,onLeave:r,onSync:i}=this.caller;this.joinRef=this.channel.joinRef(),this.state=e.syncState(this.state,t,n,r),this.pendingDiffs.forEach(t=>{this.state=e.syncDiff(this.state,t,n,r)}),this.pendingDiffs=[],i()}),this.channel.on(r.diff,t=>{let{onJoin:n,onLeave:r,onSync:i}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(t):(this.state=e.syncDiff(this.state,t,n,r),i())})}onJoin(e){this.caller.onJoin=e}onLeave(e){this.caller.onLeave=e}onSync(e){this.caller.onSync=e}list(t){return e.list(this.state,t)}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel.joinRef()}static syncState(e,t,n,r){let i=this.clone(e),a={},o={};return this.map(i,(e,n)=>{t[e]||(o[e]=n)}),this.map(t,(e,t)=>{let n=i[e];if(n){let r=t.metas.map(e=>e.phx_ref),i=n.metas.map(e=>e.phx_ref),s=t.metas.filter(e=>i.indexOf(e.phx_ref)<0),c=n.metas.filter(e=>r.indexOf(e.phx_ref)<0);s.length>0&&(a[e]=t,a[e].metas=s),c.length>0&&(o[e]=this.clone(n),o[e].metas=c)}else a[e]=t}),this.syncDiff(i,{joins:a,leaves:o},n,r)}static syncDiff(e,t,n,r){let{joins:i,leaves:a}=this.clone(t);return n||=function(){},r||=function(){},this.map(i,(t,r)=>{let i=e[t];if(e[t]=this.clone(r),i){let n=e[t].metas.map(e=>e.phx_ref),r=i.metas.filter(e=>n.indexOf(e.phx_ref)<0);e[t].metas.unshift(...r)}n(t,i,r)}),this.map(a,(t,n)=>{let i=e[t];if(!i)return;let a=n.metas.map(e=>e.phx_ref);i.metas=i.metas.filter(e=>a.indexOf(e.phx_ref)<0),r(t,i,n),i.metas.length===0&&delete e[t]}),e}static list(e,t){return t||=function(e,t){return t},this.map(e,(e,n)=>t(e,n))}static map(e,t){return Object.getOwnPropertyNames(e).map(n=>t(n,e[n]))}static clone(e){return JSON.parse(JSON.stringify(e))}},wd={HEADER_LENGTH:1,META_LENGTH:4,KINDS:{push:0,reply:1,broadcast:2},encode(e,t){if(e.payload.constructor===ArrayBuffer)return t(this.binaryEncode(e));{let n=[e.join_ref,e.ref,e.topic,e.event,e.payload];return t(JSON.stringify(n))}},decode(e,t){if(e.constructor===ArrayBuffer)return t(this.binaryDecode(e));{let[n,r,i,a,o]=JSON.parse(e);return t({join_ref:n,ref:r,topic:i,event:a,payload:o})}},binaryEncode(e){let{join_ref:t,ref:n,event:r,topic:i,payload:a}=e,o=this.META_LENGTH+t.length+n.length+i.length+r.length,s=new ArrayBuffer(this.HEADER_LENGTH+o),c=new DataView(s),l=0;c.setUint8(l++,this.KINDS.push),c.setUint8(l++,t.length),c.setUint8(l++,n.length),c.setUint8(l++,i.length),c.setUint8(l++,r.length),Array.from(t,e=>c.setUint8(l++,e.charCodeAt(0))),Array.from(n,e=>c.setUint8(l++,e.charCodeAt(0))),Array.from(i,e=>c.setUint8(l++,e.charCodeAt(0))),Array.from(r,e=>c.setUint8(l++,e.charCodeAt(0)));var u=new Uint8Array(s.byteLength+a.byteLength);return u.set(new Uint8Array(s),0),u.set(new Uint8Array(a),s.byteLength),u.buffer},binaryDecode(e){let t=new DataView(e),n=t.getUint8(0),r=new TextDecoder;switch(n){case this.KINDS.push:return this.decodePush(e,t,r);case this.KINDS.reply:return this.decodeReply(e,t,r);case this.KINDS.broadcast:return this.decodeBroadcast(e,t,r)}}
vendor: 12,505 bytes, line 28
28,decodePush(e,t,n){let r=t.getUint8(1),i=t.getUint8(2),a=t.getUint8(3),o=this.HEADER_LENGTH+this.META_LENGTH-1,s=n.decode(e.slice(o,o+r));o+=r;let c=n.decode(e.slice(o,o+i));o+=i;let l=n.decode(e.slice(o,o+a));return o+=a,{join_ref:s,ref:null,topic:c,event:l,payload:e.slice(o,e.byteLength)}},decodeReply(e,t,n){let r=t.getUint8(1),i=t.getUint8(2),a=t.getUint8(3),o=t.getUint8(4),s=this.HEADER_LENGTH+this.META_LENGTH,c=n.decode(e.slice(s,s+r));s+=r;let l=n.decode(e.slice(s,s+i));s+=i;let u=n.decode(e.slice(s,s+a));s+=a;let d=n.decode(e.slice(s,s+o));s+=o;let f={status:d,response:e.slice(s,e.byteLength)};return{join_ref:c,ref:l,topic:u,event:md.reply,payload:f}},decodeBroadcast(e,t,n){let r=t.getUint8(1),i=t.getUint8(2),a=this.HEADER_LENGTH+2,o=n.decode(e.slice(a,a+r));a+=r;let s=n.decode(e.slice(a,a+i));return a+=i,{join_ref:null,ref:null,topic:o,event:s,payload:e.slice(a,e.byteLength)}}},Td=class{constructor(e,t={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.fallbackRef=null,this.timeout=t.timeout||ud,this.transport=t.transport||cd.WebSocket||Cd,this.conn=void 0,this.primaryPassedHealthCheck=!1,this.longPollFallbackMs=t.longPollFallbackMs,this.fallbackTimer=null;let n=null;try{n=cd&&cd.sessionStorage}catch{}this.sessionStore=t.sessionStorage||n,this.establishedConnections=0,this.defaultEncoder=wd.encode.bind(wd),this.defaultDecoder=wd.decode.bind(wd),this.closeWasClean=!0,this.disconnecting=!1,this.binaryType=t.binaryType||`arraybuffer`,this.connectClock=1,this.pageHidden=!1,this.encode=void 0,this.decode=void 0,this.transport===Cd?(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder):(this.encode=t.encode||this.defaultEncoder,this.decode=t.decode||this.defaultDecoder);let r=null;sd&&sd.addEventListener&&(sd.addEventListener(`pagehide`,e=>{this.conn&&(this.disconnect(),r=this.connectClock)}),sd.addEventListener(`pageshow`,e=>{r===this.connectClock&&(r=null,this.connect())}),sd.addEventListener(`visibilitychange`,()=>{document.visibilityState===`hidden`?this.pageHidden=!0:(this.pageHidden=!1,!this.isConnected()&&!this.closeWasClean&&this.teardown(()=>this.connect()))})),this.heartbeatIntervalMs=t.heartbeatIntervalMs||3e4,this.autoSendHeartbeat=t.autoSendHeartbeat??!0,this.heartbeatCallback=t.heartbeatCallback??(()=>{}),this.rejoinAfterMs=e=>t.rejoinAfterMs?t.rejoinAfterMs(e):[1e3,2e3,5e3][e-1]||1e4,this.reconnectAfterMs=e=>t.reconnectAfterMs?t.reconnectAfterMs(e):[10,50,100,150,200,250,500,1e3,2e3][e-1]||5e3,this.logger=t.logger||null,!this.logger&&t.debug&&(this.logger=(e,t,n)=>{console.log(`${e}: ${t}`,n)}),this.longpollerTimeout=t.longpollerTimeout||2e4,this.params=ad(t.params||{}),this.endPoint=`${e}/${hd.websocket}`,this.vsn=t.vsn||ld,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.heartbeatSentAt=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new yd(()=>{if(this.pageHidden){this.log(`Not reconnecting as page is hidden!`),this.teardown();return}this.teardown(async()=>{t.beforeReconnect&&await t.beforeReconnect(),this.connect()})},this.reconnectAfterMs),this.authToken=t.authToken}getLongPollTransport(){return Cd}replaceTransport(e){this.connectClock++,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.conn&&=(this.conn.close(),null),this.transport=e}protocol(){return location.protocol.match(/^https/)?`wss`:`ws`}endPointURL(){let e=xd.appendParams(xd.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return e.charAt(0)===`/`?e.charAt(1)===`/`?`${this.protocol()}:${e}`:`${this.protocol()}://${location.host}${e}`:e}disconnect(e,t,n){this.connectClock++,this.disconnecting=!0,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.teardown(()=>{this.disconnecting=!1,e&&e()},t,n)}connect(e){e&&(console&&console.log(`passing params to connect is deprecated. Instead pass :params to the Socket constructor`),this.params=ad(e)),!(this.conn&&!this.disconnecting)&&(this.longPollFallbackMs&&this.transport!==Cd?this.connectWithFallback(Cd,this.longPollFallbackMs):this.transportConnect())}log(e,t,n){this.logger&&this.logger(e,t,n)}hasLogger(){return this.logger!==null}onOpen(e){let t=this.makeRef();return this.stateChangeCallbacks.open.push([t,e]),t}onClose(e){let t=this.makeRef();return this.stateChangeCallbacks.close.push([t,e]),t}onError(e){let t=this.makeRef();return this.stateChangeCallbacks.error.push([t,e]),t}onMessage(e){let t=this.makeRef();return this.stateChangeCallbacks.message.push([t,e]),t}onHeartbeat(e){this.heartbeatCallback=e}ping(e){if(!this.isConnected())return!1;let t=this.makeRef(),n=Date.now();this.push({topic:`phoenix`,event:`heartbeat`,payload:{},ref:t});let r=this.onMessage(i=>{i.ref===t&&(this.off([r]),e(Date.now()-n))});return!0}transportName(e){switch(e){case Cd:return`LongPoll`;default:return e.name}}transportConnect(){this.connectClock++,this.closeWasClean=!1;let e;this.authToken&&(e=[`phoenix`,`${_d}${btoa(this.authToken).replace(/=/g,``)}`]),this.conn=new this.transport(this.endPointURL(),e),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=()=>this.onConnOpen(),this.conn.onerror=e=>this.onConnError(e),this.conn.onmessage=e=>this.onConnMessage(e),this.conn.onclose=e=>this.onConnClose(e)}getSession(e){return this.sessionStore&&this.sessionStore.getItem(e)}storeSession(e,t){this.sessionStore&&this.sessionStore.setItem(e,t)}connectWithFallback(e,t=2500){clearTimeout(this.fallbackTimer);let n=!1,r=!0,i,a=this.transportName(e),o=t=>{this.log(`transport`,`falling back to ${a}...`,t),this.off([void 0,i]),r=!1,this.replaceTransport(e),this.transportConnect()};if(this.getSession(`phx:fallback:${a}`))return o(`memorized`);this.fallbackTimer=setTimeout(o,t),i=this.onError(e=>{this.log(`transport`,`error`,e),r&&!n&&(clearTimeout(this.fallbackTimer),o(e))}),this.fallbackRef&&this.off([this.fallbackRef]),this.fallbackRef=this.onOpen(()=>{if(n=!0,!r){let t=this.transportName(e);return this.primaryPassedHealthCheck||this.storeSession(`phx:fallback:${t}`,`true`),this.log(`transport`,`established ${t} fallback`)}clearTimeout(this.fallbackTimer),this.fallbackTimer=setTimeout(o,t),this.ping(e=>{this.log(`transport`,`connected to primary after`,e),this.primaryPassedHealthCheck=!0,clearTimeout(this.fallbackTimer)})}),this.transportConnect()}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log(`transport`,`connected to ${this.endPointURL()}`),this.closeWasClean=!1,this.disconnecting=!1,this.establishedConnections++,this.flushSendBuffer(),this.reconnectTimer.reset(),this.autoSendHeartbeat&&this.resetHeartbeat(),this.triggerStateCallbacks(`open`)}heartbeatTimeout(){if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.heartbeatSentAt=null,this.hasLogger()&&this.log(`transport`,`heartbeat timeout. Attempting to re-establish connection`);try{this.heartbeatCallback(`timeout`)}catch(e){this.log(`error`,`error in heartbeat callback`,e)}this.triggerChanError(Error(`heartbeat timeout`)),this.closeWasClean=!1,this.teardown(()=>this.reconnectTimer.scheduleTimeout(),dd,`heartbeat timeout`)}}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(e,t,n){if(!this.conn)return e&&e();let r=this.conn;this.waitForBufferDone(r,()=>{t?r.close(t,n||``):r.close(),this.waitForSocketClosed(r,()=>{this.conn===r&&(this.conn.onopen=function(){},this.conn.onerror=function(){},this.conn.onmessage=function(){},this.conn.onclose=function(){},this.conn=null),e&&e()})})}waitForBufferDone(e,t,n=1){if(n===5||!e.bufferedAmount){t();return}setTimeout(()=>{this.waitForBufferDone(e,t,n+1)},150*n)}waitForSocketClosed(e,t,n=1){if(n===5||e.readyState===fd.closed){t();return}setTimeout(()=>{this.waitForSocketClosed(e,t,n+1)},150*n)}onConnClose(e){this.conn&&(this.conn.onclose=()=>{}),this.hasLogger()&&this.log(`transport`,`close`,e),this.triggerChanError(e),this.clearHeartbeats(),this.closeWasClean||this.reconnectTimer.scheduleTimeout(),this.triggerStateCallbacks(`close`,e)}onConnError(e){this.hasLogger()&&this.log(`transport`,`error`,e);let t=this.transport,n=this.establishedConnections;this.triggerStateCallbacks(`error`,e,t,n),(t===this.transport||n>0)&&this.triggerChanError(e)}triggerChanError(e){this.channels.forEach(t=>{t.isErrored()||t.isLeaving()||t.isClosed()||t.trigger(md.error,e)})}connectionState(){switch(this.conn&&this.conn.readyState){case fd.connecting:return`connecting`;case fd.open:return`open`;case fd.closing:return`closing`;default:return`closed`}}isConnected(){return this.connectionState()===`open`}remove(e){this.off(e.stateChangeRefs),this.channels=this.channels.filter(t=>t!==e)}off(e){for(let t in this.stateChangeCallbacks)this.stateChangeCallbacks[t]=this.stateChangeCallbacks[t].filter(([t])=>e.indexOf(t)===-1)}channel(e,t={}){let n=new bd(e,t,this);return this.channels.push(n),n}push(e){if(this.hasLogger()){let{topic:t,event:n,payload:r,ref:i,join_ref:a}=e;this.log(`push`,`${t} ${n} (${a}, ${i})`,r)}this.isConnected()?this.encode(e,e=>this.conn.send(e)):this.sendBuffer.push(()=>this.encode(e,e=>this.conn.send(e)))}makeRef(){let e=this.ref+1;return e===this.ref?this.ref=0:this.ref=e,this.ref.toString()}sendHeartbeat(){if(!this.isConnected()){try{this.heartbeatCallback(`disconnected`)}catch(e){this.log(`error`,`error in heartbeat callback`,e)}return}if(this.pendingHeartbeatRef){this.heartbeatTimeout();return}this.pendingHeartbeatRef=this.makeRef(),this.heartbeatSentAt=Date.now(),this.push({topic:`phoenix`,event:`heartbeat`,payload:{},ref:this.pendingHeartbeatRef});try{this.heartbeatCallback(`sent`)}catch(e){this.log(`error`,`error in heartbeat callback`,e)}this.heartbeatTimeoutTimer=setTimeout(()=>this.heartbeatTimeout(),this.heartbeatIntervalMs)}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(e=>e()),this.sendBuffer=[])}onConnMessage(e){this.decode(e.data,e=>{let{topic:t,event:n,payload:r,ref:i,join_ref:a}=e;if(i&&i===this.pendingHeartbeatRef){let e=this.heartbeatSentAt?Date.now()-this.heartbeatSentAt:void 0;this.clearHeartbeats();try{this.heartbeatCallback(r.status===`ok`?`ok`:`error`,e)}catch(e){this.log(`error`,`error in heartbeat callback`,e)}this.pendingHeartbeatRef=null,this.heartbeatSentAt=null,this.autoSendHeartbeat&&(this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}this.hasLogger()&&this.log(`receive`,`${r.status||``} ${t} ${n} ${i&&`(`+i+`)`||``}`.trim(),r);for(let e=0;e<this.channels.length;e++){let o=this.channels[e];o.isMember(t,n,r,a)&&o.trigger(n,r,i,a)}this.triggerStateCallbacks(`message`,e)})}triggerStateCallbacks(e,...t){try{this.stateChangeCallbacks[e].forEach(([n,r])=>{try{r(...t)}catch(t){this.log(`error`,`error in ${e} callback`,t)}})}catch(t){this.log(`error`,`error triggering ${e} callbacks`,t)}}leaveOpenTopic(e){let t=this.channels.find(t=>t.topic===e&&(t.isJoined()||t.isJoining()));t&&(this.hasLogger()&&this.log(`transport`,`leaving duplicate topic "${e}"`),t.leave())}},Ed=class e{constructor(t,n){let r=kd(n);this.presence=new Y(t.getChannel(),r),this.presence.onJoin((n,r,i)=>{let a=e.onJoinPayload(n,r,i);t.getChannel().trigger(`presence`,a)}),this.presence.onLeave((n,r,i)=>{let a=e.onLeavePayload(n,r,i);t.getChannel().trigger(`presence`,a)}),this.presence.onSync(()=>{t.getChannel().trigger(`presence`,{event:`sync`})})}get state(){return e.transformState(this.presence.state)}static transformState(e){return e=Od(e),Object.getOwnPropertyNames(e).reduce((t,n)=>{let r=e[n];return t[n]=Dd(r),t},{})}static onJoinPayload(e,t,n){return{event:`join`,key:e,currentPresences:Ad(t),newPresences:Dd(n)}}static onLeavePayload(e,t,n){return{event:`leave`,key:e,currentPresences:Ad(t),leftPresences:Dd(n)}}};function Dd(e){return e.metas.map(e=>(e.presence_ref=e.phx_ref,delete e.phx_ref,delete e.phx_ref_prev,e))}function Od(e){return JSON.parse(JSON.stringify(e))}function kd(e){return e?.events&&{events:e.events}}function Ad(e){return e?.metas?Dd(e):[]}var jd;(function(e){e.SYNC=`sync`,e.JOIN=`join`,e.LEAVE=`leave`})(jd||={});var Md=class{get state(){return this.presenceAdapter.state}constructor(e,t){this.channel=e,this.presenceAdapter=new Ed(this.channel.channelAdapter,t)}};function Nd(e){if(e instanceof Error)return e;if(typeof e==`string`)return Error(e);
28if(e&&typeof e==`object`){let t=e;if(typeof t.code==`number`){let n=typeof t.reason==`string`&&t.reason?` (${t.reason})`:``;return Error(`socket closed: ${t.code}${n}`,{cause:e})}return Error(`channel error: transport failure`,{cause:e})}return Error(`channel error: connection lost`)}var Pd=class{constructor(e,t,n){let r=Fd(n);this.channel=e.getSocket().channel(t,r),this.socket=e}get state(){return this.channel.state}set state(e){this.channel.state=e}get joinedOnce(){return this.channel.joinedOnce}get joinPush(){return this.channel.joinPush}get rejoinTimer(){return this.channel.rejoinTimer}on(e,t){return this.channel.on(e,t)}off(e,t){this.channel.off(e,t)}subscribe(e){return this.channel.join(e)}unsubscribe(e){return this.channel.leave(e)}teardown(){this.channel.teardown()}onClose(e){this.channel.onClose(e)}onError(e){return this.channel.onError(e)}push(e,t,n){let r;try{r=this.channel.push(e,t,n)}catch{throw Error(`tried to push '${e}' to '${this.channel.topic}' before joining. Use channel.subscribe() before pushing events`)}if(this.channel.pushBuffer.length>100){let e=this.channel.pushBuffer.shift();e.cancelTimeout(),this.socket.log(`channel`,`discarded push due to buffer overflow: ${e.event}`,e.payload())}return r}updateJoinPayload(e){let t=this.channel.joinPush.payload();this.channel.joinPush.payload=()=>Object.assign(Object.assign({},t),e)}canPush(){return this.socket.isConnected()&&this.state===Gu.joined}isJoined(){return this.state===Gu.joined}isJoining(){return this.state===Gu.joining}isClosed(){return this.state===Gu.closed}isLeaving(){return this.state===Gu.leaving}updateFilterBindings(e){this.channel.filterBindings=e}updatePayloadTransform(e){this.channel.onMessage=e}getChannel(){return this.channel}};function Fd(e){return{config:Object.assign({broadcast:{ack:!1,self:!1},presence:{key:``,enabled:!1},private:!1},e.config)}}var Id;(function(e){e.ALL=`*`,e.INSERT=`INSERT`,e.UPDATE=`UPDATE`,e.DELETE=`DELETE`})(Id||={});var X;(function(e){e.BROADCAST=`broadcast`,e.PRESENCE=`presence`,e.POSTGRES_CHANGES=`postgres_changes`,e.SYSTEM=`system`})(X||={});var Ld;(function(e){e.SUBSCRIBED=`SUBSCRIBED`,e.TIMED_OUT=`TIMED_OUT`,e.CLOSED=`CLOSED`,e.CHANNEL_ERROR=`CHANNEL_ERROR`})(Ld||={});var Rd=class e{get state(){return this.channelAdapter.state}set state(e){this.channelAdapter.state=e}get joinedOnce(){return this.channelAdapter.joinedOnce}get timeout(){return this.socket.timeout}get joinPush(){return this.channelAdapter.joinPush}get rejoinTimer(){return this.channelAdapter.rejoinTimer}constructor(e,t={config:{}},n){if(this.topic=e,this.params=t,this.socket=n,this.bindings={},this.subTopic=e.replace(/^realtime:/i,``),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:``,enabled:!1},private:!1},t.config),this.channelAdapter=new Pd(this.socket.socketAdapter,e,this.params),this.presence=new Md(this),this._onClose(()=>{this.socket._remove(this)}),this._updateFilterTransform(),this.broadcastEndpointURL=id(this.socket.socketAdapter.endPointURL()),this.private=this.params.config.private||!1,!this.private&&this.params.config?.broadcast?.replay)throw Error(`tried to use replay on public channel '${this.topic}'. It must be a private channel.`)}subscribe(e,t=this.timeout){if(this.socket.isConnected()||this.socket.connect(),this.channelAdapter.isClosed()){let{config:{broadcast:n,presence:r,private:i}}=this.params,a=this.bindings.postgres_changes?.map(e=>e.filter)??[],o=!!this.bindings[X.PRESENCE]&&this.bindings[X.PRESENCE].length>0||this.params.config.presence?.enabled===!0,s={},c={broadcast:n,presence:Object.assign(Object.assign({},r),{enabled:o}),postgres_changes:a,private:i};this.socket.accessTokenValue&&(s.access_token=this.socket.accessTokenValue),this._onError(t=>{e?.(Ld.CHANNEL_ERROR,Nd(t))}),this._onClose(()=>e?.(Ld.CLOSED)),this.updateJoinPayload(Object.assign({config:c},s)),this._updateFilterMessage(),this.channelAdapter.subscribe(t).receive(`ok`,async({postgres_changes:t})=>{if(this.socket._isManualToken()||this.socket.setAuth(),t===void 0){e?.(Ld.SUBSCRIBED);return}this._updatePostgresBindings(t,e)}).receive(`error`,t=>{this.state=Gu.errored;let n=Object.values(t).join(`, `)||`error`;e?.(Ld.CHANNEL_ERROR,Error(n,{cause:t}))}).receive(`timeout`,()=>{e?.(Ld.TIMED_OUT)})}return this}_updatePostgresBindings(t,n){let r=this.bindings.postgres_changes,i=r?.length??0,a=[];for(let o=0;o<i;o++){let i=r[o],{filter:{event:s,schema:c,table:l,filter:u}}=i,d=t&&t[o];if(d&&d.event===s&&e.isFilterValueEqual(d.schema,c)&&e.isFilterValueEqual(d.table,l)&&e.isFilterValueEqual(d.filter,u))a.push(Object.assign(Object.assign({},i),{id:d.id}));else{this.unsubscribe(),this.state=Gu.errored,n?.(Ld.CHANNEL_ERROR,Error(`mismatch between server and client bindings for postgres changes`));return}}this.bindings.postgres_changes=a,this.state!=Gu.errored&&n&&n(Ld.SUBSCRIBED)}presenceState(){return this.presence.state}async track(e,t={}){return await this.send({type:`presence`,event:`track`,payload:e},t.timeout||this.timeout)}async untrack(e={}){return await this.send({type:`presence`,event:`untrack`},e)}on(e,t,n){let r=this.channelAdapter.isJoined()||this.channelAdapter.isJoining(),i=e===X.PRESENCE||e===X.POSTGRES_CHANGES;if(r&&i)throw this.socket.log(`channel`,`cannot add \`${e}\` callbacks for ${this.topic} after \`subscribe()\`.`),Error(`cannot add \`${e}\` callbacks for ${this.topic} after \`subscribe()\`.`);return this._on(e,t,n)}async httpSend(e,t,n={}){if(t==null)return Promise.reject(Error(`Payload is required for httpSend()`));let r=t instanceof ArrayBuffer||ArrayBuffer.isView(t),i={apikey:this.socket.apiKey?this.socket.apiKey:``,"Content-Type":r?`application/octet-stream`:`application/json`};this.socket.accessTokenValue&&(i.Authorization=`Bearer ${this.socket.accessTokenValue}`);let a=new URL(this.broadcastEndpointURL);a.pathname+=`/${encodeURIComponent(this.subTopic)}/events/${encodeURIComponent(e)}`,this.private&&a.searchParams.set(`private`,`true`);let o={method:`POST`,headers:i,body:r?t:JSON.stringify(t)},s=await this._fetchWithTimeout(a.toString(),o,n.timeout??this.timeout);if(s.status===202)return{success:!0};if(s.status===404)return Promise.reject(Error(`httpSend() requires Realtime server v2.97.0 or newer; the endpoint returned 404. Update your Supabase CLI to a recent version, or upgrade the Realtime server in your self-hosted setup. See https://github.com/supabase/supabase-js/blob/master/packages/core/realt
28ime-js/migrations/httpsend-server-version.md`));let c=s.statusText;try{let e=await s.json();c=e.error||e.message||c}catch{}return Promise.reject(Error(c))}async send(e,t={}){if(!this.channelAdapter.canPush()&&e.type===`broadcast`){console.warn(`Realtime send() is automatically falling back to REST API. This behavior will be deprecated in the future. Please use httpSend() explicitly for REST delivery.`);let{event:n,payload:r}=e,i={apikey:this.socket.apiKey?this.socket.apiKey:``,"Content-Type":`application/json`};this.socket.accessTokenValue&&(i.Authorization=`Bearer ${this.socket.accessTokenValue}`);let a={method:`POST`,headers:i,body:JSON.stringify({messages:[{topic:this.subTopic,event:n,payload:r,private:this.private}]})};try{let e=await this._fetchWithTimeout(this.broadcastEndpointURL,a,t.timeout??this.timeout);return await e.body?.cancel(),e.ok?`ok`:`error`}catch(e){return e instanceof Error&&e.name===`AbortError`?`timed out`:`error`}}else return new Promise(n=>{let r=this.channelAdapter.push(e.type,e,t.timeout||this.timeout);e.type===`broadcast`&&!this.params?.config?.broadcast?.ack&&n(`ok`),r.receive(`ok`,()=>n(`ok`)),r.receive(`error`,()=>n(`error`)),r.receive(`timeout`,()=>n(`timed out`))})}updateJoinPayload(e){this.channelAdapter.updateJoinPayload(e)}async unsubscribe(e=this.timeout){return new Promise(t=>{this.channelAdapter.unsubscribe(e).receive(`ok`,()=>t(`ok`)).receive(`timeout`,()=>t(`timed out`)).receive(`error`,()=>t(`error`))})}teardown(){this.channelAdapter.teardown()}async _fetchWithTimeout(e,t,n){let r=new AbortController,i=setTimeout(()=>r.abort(),n),a=await this.socket.fetch(e,Object.assign(Object.assign({},t),{signal:r.signal}));return clearTimeout(i),a}_on(e,t,n){let r=e.toLocaleLowerCase(),i={type:r,filter:t,callback:n,ref:this.channelAdapter.on(e,n)};return this.bindings[r]?this.bindings[r].push(i):this.bindings[r]=[i],this._updateFilterMessage(),this}_onClose(e){this.channelAdapter.onClose(e)}_onError(e){this.channelAdapter.onError(e)}_updateFilterMessage(){this.channelAdapter.updateFilterBindings((e,t,n)=>{let r=e.event.toLocaleLowerCase();if(this._notThisChannelEvent(r,n))return!1;let i=this.bindings[r]?.find(t=>t.ref===e.ref);if(!i)return!0;if([`broadcast`,`presence`,`postgres_changes`].includes(r))if(`id`in i){let e=i.id,n=i.filter?.event;return e&&t.ids?.includes(e)&&(n===`*`||n?.toLocaleLowerCase()===t.data?.type.toLocaleLowerCase())}else{let e=(i?.filter?.event)?.toLocaleLowerCase();return e===`*`||e===(t?.event)?.toLocaleLowerCase()}else return i.type.toLocaleLowerCase()===r})}_notThisChannelEvent(e,t){let{close:n,error:r,leave:i,join:a}=Ku;return t&&[n,r,i,a].includes(e)&&t!==this.joinPush.ref}_updateFilterTransform(){this.channelAdapter.updatePayloadTransform((e,t,n)=>{if(typeof t==`object`&&`ids`in t){let e=t.data,{schema:n,table:r,commit_timestamp:i,type:a,errors:o}=e;return Object.assign(Object.assign({},{schema:n,table:r,commit_timestamp:i,eventType:a,new:{},old:{},errors:o}),this._getPayloadRecords(e))}return t})}copyBindings(e){if(this.joinedOnce)throw Error(`cannot copy bindings into joined channel`);for(let t in e.bindings)for(let n of e.bindings[t])this._on(n.type,n.filter,n.callback)}static isFilterValueEqual(e,t){return(e??void 0)===(t??void 0)}_getPayloadRecords(e){let t={new:{},old:{}};return(e.type===`INSERT`||e.type===`UPDATE`)&&(t.new=Yu(e.columns,e.record)),(e.type===`UPDATE`||e.type===`DELETE`)&&(t.old=Yu(e.columns,e.old_record)),t}},zd=class{constructor(e,t){this.socket=new Td(e,t)}get timeout(){return this.socket.timeout}get endPoint(){return this.socket.endPoint}get transport(){return this.socket.transport}get heartbeatIntervalMs(){return this.socket.heartbeatIntervalMs}get heartbeatCallback(){return this.socket.heartbeatCallback}set heartbeatCallback(e){this.socket.heartbeatCallback=e}get heartbeatTimer(){return this.socket.heartbeatTimer}get pendingHeartbeatRef(){return this.socket.pendingHeartbeatRef}get reconnectTimer(){return this.socket.reconnectTimer}get vsn(){return this.socket.vsn}get encode(){return this.socket.encode}get decode(){return this.socket.decode}get reconnectAfterMs(){return this.socket.reconnectAfterMs}get sendBuffer(){return this.socket.sendBuffer}get stateChangeCallbacks(){return this.socket.stateChangeCallbacks}connect(){this.socket.connect()}disconnect(e,t,n,r=1e4){return new Promise(i=>{setTimeout(()=>i(`timeout`),r),this.socket.disconnect(()=>{e(),i(`ok`)},t,n)})}push(e){this.socket.push(e)}log(e,t,n){this.socket.log(e,t,n)}makeRef(){return this.socket.makeRef()}onOpen(e){this.socket.onOpen(e)}onClose(e){this.socket.onClose(e)}onError(e){this.socket.onError(e)}onMessage(e){this.socket.onMessage(e)}isConnected(){return this.socket.isConnected()}isConnecting(){return this.socket.connectionState()==qu.connecting}isDisconnecting(){return this.socket.connectionState()==qu.closing}connectionState(){return this.socket.connectionState()}endPointURL(){return this.socket.endPointURL()}sendHeartbeat(){this.socket.sendHeartbeat()}getSocket(){return this.socket}},Bd={HEARTBEAT_INTERVAL:25e3,RECONNECT_DELAY:10,HEARTBEAT_TIMEOUT_FALLBACK:100},Vd=[1e3,2e3,5e3,1e4],Hd=1e4;function Ud(){let e=new Map;return{get length(){return e.size},clear(){e.clear()},getItem(t){return e.has(t)?e.get(t):null},key(t){return Array.from(e.keys())[t]??null},removeItem(t){e.delete(t)},setItem(t,n){e.set(t,String(n))}}}function Wd(){try{if(typeof globalThis<`u`&&globalThis.sessionStorage)return globalThis.sessionStorage}catch{}return Ud()}var Gd=` 29 addEventListener("message", (e) => { 30 if (e.data.event === "start") { 31 setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval); 32 } 33 });`,Kd=class{get endPoint(){return this.socketAdapter.endPoint}get timeout(){return this.socketAdapter.timeout}get transport(){return this.socketAdapter.transport}get heartbeatCallback(){return this.socketAdapter.heartbeatCallback}get heartbeatIntervalMs(){return this.socketAdapter.heartbeatIntervalMs}get heartbeatTimer(){return this.worker?this._workerHeartbeatTimer:this.socketAdapter.heartbeatTimer}get pendingHeartbeatRef(){return this.worker?this._pendingWorkerHeartbeatRef:this.socketAdapter.pendingHeartbeatRef}get reconnectTimer(){return this.socketAdapter.reconnectTimer}get vsn(){return this.socketAdapter.vsn}get encode(){return this.socketAdapter.encode}get decode(){return this.socketAdapter.decode}get reconnectAfterMs(){return this.socketAdapter.reconnectAfterMs}get sendBuffer(){return this.socketAdapter.sendBuffer}get stateChangeCallbacks(){return this.socketAdapter.stateChangeCallbacks}constructor(e,t){if(this.channels=[],this.accessTokenValue=null,this.accessToken=null,this.apiKey=null,this.httpEndpoint=``,this.headers={},this.params={}
33,this.ref=0,this.serializer=new Ju,this._manuallySetToken=!1,this._authPromise=null,this._workerHeartbeatTimer=void 0,this._pendingWorkerHeartbeatRef=null,this._pendingDisconnectTimer=null,this._disconnectOnEmptyChannelsAfterMs=0,this._resolveFetch=e=>e?(...t)=>e(...t):(...e)=>fetch(...e),!t?.params?.apikey)throw Error(`API key is required to connect to Realtime`);this.apiKey=t.params.apikey;let n=this._initializeOptions(t);this.socketAdapter=new zd(e,n),this.httpEndpoint=id(e),this.fetch=this._resolveFetch(t?.fetch)}connect(){if(!(this.isConnecting()||this.isDisconnecting()||this.isConnected())){this.accessToken&&!this._authPromise&&this._setAuthSafely(`connect`),this._setupConnectionHandlers();try{this.socketAdapter.connect()}catch(e){let t=e.message;throw t.includes(`Node.js`)?Error(`${t}\n\nTo use Realtime in Node.js, you need to provide a WebSocket implementation: 34 35Option 1: Use Node.js 22+ which has native WebSocket support 36Option 2: Install and provide the "ws" package: 37 38 npm install ws 39 40 import ws from "ws" 41 const client = new RealtimeClient(url, { 42 ...options, 43 transport: ws 44 })`):Error(`WebSocket not available: ${t}`)}this._handleNodeJsRaceCondition()}}endpointURL(){return this.socketAdapter.endPointURL()}async disconnect(e,t){return this._cancelPendingDisconnect(),this.isDisconnecting()?`ok`:await this.socketAdapter.disconnect(()=>{clearInterval(this._workerHeartbeatTimer),this._terminateWorker()},e,t)}getChannels(){return this.channels}async removeChannel(e){let t=await e.unsubscribe();return t===`ok`&&e.teardown(),t}async removeAllChannels(){let e=this.channels.map(async e=>{let t=await e.unsubscribe();return e.teardown(),t}),t=await Promise.all(e);return await this.disconnect(),t}log(e,t,n){this.socketAdapter.log(e,t,n)}connectionState(){return this.socketAdapter.connectionState()||qu.closed}isConnected(){return this.socketAdapter.isConnected()}isConnecting(){return this.socketAdapter.isConnecting()}isDisconnecting(){return this.socketAdapter.isDisconnecting()}channel(e,t={config:{}}){let n=`realtime:${e}`,r=this.getChannels().find(e=>e.topic===n);if(r)return r;{let n=new Rd(`realtime:${e}`,t,this);return this._cancelPendingDisconnect(),this.channels.push(n),n}}push(e){this.socketAdapter.push(e)}async setAuth(e=null){this._authPromise=this._performAuth(e);try{await this._authPromise}finally{this._authPromise=null}}_isManualToken(){return this._manuallySetToken}async sendHeartbeat(){this.socketAdapter.sendHeartbeat()}onHeartbeat(e){this.socketAdapter.heartbeatCallback=this._wrapHeartbeatCallback(e)}_makeRef(){return this.socketAdapter.makeRef()}_remove(e){this.channels=this.channels.filter(t=>t.topic!==e.topic),this.channels.length===0&&(this.log(`transport`,`no channels remaining, scheduling disconnect`),this._schedulePendingDisconnect())}_schedulePendingDisconnect(){if(this._cancelPendingDisconnect(),this._disconnectOnEmptyChannelsAfterMs===0){this.log(`transport`,`disconnecting immediately - no channels`),this.disconnect();return}
44this._pendingDisconnectTimer=setTimeout(()=>{this._pendingDisconnectTimer=null,this.channels.length===0&&(this.log(`transport`,`deferred disconnect fired - no channels, disconnecting`),this.disconnect())},this._disconnectOnEmptyChannelsAfterMs),this.log(`transport`,`deferred disconnect scheduled in ${this._disconnectOnEmptyChannelsAfterMs}ms`)}_cancelPendingDisconnect(){this._pendingDisconnectTimer!==null&&(this.log(`transport`,`pending disconnect cancelled - channel activity detected`),clearTimeout(this._pendingDisconnectTimer),this._pendingDisconnectTimer=null)}async _performAuth(e=null){let t,n=!1;if(e)t=e,n=!0;else if(this.accessToken)try{t=await this.accessToken()}catch(e){this.log(`error`,`Error fetching access token from callback`,e),t=this.accessTokenValue}else t=this.accessTokenValue;n?this._manuallySetToken=!0:this.accessToken&&(this._manuallySetToken=!1),this.accessTokenValue!=t&&(this.accessTokenValue=t,this.channels.forEach(e=>{let n={access_token:t,version:Bu};t&&e.updateJoinPayload(n),e.joinedOnce&&e.channelAdapter.isJoined()&&e.channelAdapter.push(Ku.access_token,{access_token:t})}))}async _waitForAuthIfNeeded(){this._authPromise&&await this._authPromise}_setAuthSafely(e=`general`){this._isManualToken()||this.setAuth().catch(t=>{this.log(`error`,`Error setting auth in ${e}`,t)})}_setupConnectionHandlers(){this.socketAdapter.onOpen(()=>{(this._authPromise||(this.accessToken&&!this.accessTokenValue?this.setAuth():Promise.resolve())).catch(e=>{this.log(`error`,`error waiting for auth on connect`,e)}),this.worker&&!this.workerRef&&this._startWorkerHeartbeat()}),this.socketAdapter.onClose(()=>{this.worker&&this.workerRef&&this._terminateWorker()}),this.socketAdapter.onMessage(e=>{e.ref&&e.ref===this._pendingWorkerHeartbeatRef&&(this._pendingWorkerHeartbeatRef=null)})}_handleNodeJsRaceCondition(){this.socketAdapter.isConnected()&&this.socketAdapter.getSocket().onConnOpen()}_wrapHeartbeatCallback(e){return(t,n)=>{t==`sent`&&this._setAuthSafely(),e&&e(t,n)}}_startWorkerHeartbeat(){this.workerUrl?this.log(`worker`,`starting worker for from ${this.workerUrl}`):this.log(`worker`,`starting default worker`);let e=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(e),this.workerRef.onerror=e=>{this.log(`worker`,`worker error`,e.message),this._terminateWorker(),this.disconnect()},this.workerRef.onmessage=e=>{e.data.event===`keepAlive`&&this.sendHeartbeat()},this.workerRef.postMessage({event:`start`,interval:this.heartbeatIntervalMs})}_terminateWorker(){this.workerRef&&=(this.log(`worker`,`terminating worker`),this.workerRef.terminate(),void 0)}_workerObjectUrl(e){let t;if(e)t=e;else{let e=new Blob([Gd],{type:`application/javascript`});t=URL.createObjectURL(e)}return t}_initializeOptions(e){this.worker=e?.worker??!1,this.accessToken=e?.accessToken??null;let t={};t.timeout=e?.timeout??Wu,t.heartbeatIntervalMs=e?.heartbeatIntervalMs??Bd.HEARTBEAT_INTERVAL,this._disconnectOnEmptyChannelsAfterMs=e?.disconnectOnEmptyChannelsAfterMs??2*(e?.heartbeatIntervalMs??Bd.HEARTBEAT_INTERVAL),t.transport=e?.transport??zu.getWebSocketConstructor(),t.params=e?.params,t.logger=e?.logger,t.heartbeatCallback=this._wrapHeartbeatCallback(e?.heartbeatCallback),t.sessionStorage=e?.sessionStorage??Wd(),t.reconnectAfterMs=e?.reconnectAfterMs??(e=>Vd[e-1]||Hd);let n,r,i=e?.vsn??Uu;switch(i){case Vu:n=(e,t)=>t(JSON.stringify(e)),r=(e,t)=>t(JSON.parse(e));break;case Hu:n=this.serializer.encode.bind(this.serializer),r=this.serializer.decode.bind(this.serializer);break;default:throw Error(`Unsupported serializer version: ${t.vsn}`)}if(t.vsn=i,t.encode=e?.encode??n,t.decode=e?.decode??r,t.beforeReconnect=this._reconnectAuth.bind(this),(e?.logLevel||e?.log_level)&&(this.logLevel=e.logLevel||e.log_level,t.params=Object.assign(Object.assign({},t.params),{log_level:this.logLevel})),this.worker){if(typeof window<`u`&&!window.Worker)throw Error(`Web Worker is not supported`);this.workerUrl=e?.workerUrl,t.autoSendHeartbeat=!this.worker}return t}async _reconnectAuth(){await this._waitForAuthIfNeeded(),this.isConnected()||this.connect()}}
vendor: 4,836 bytes, line 44
44,qd=class extends Error{constructor(e,t){super(e),this.name=`IcebergError`,this.status=t.status,this.icebergType=t.icebergType,this.icebergCode=t.icebergCode,this.details=t.details,this.isCommitStateUnknown=t.icebergType===`CommitStateUnknownException`||[500,502,504].includes(t.status)&&t.icebergType?.includes(`CommitState`)===!0}isNotFound(){return this.status===404}isConflict(){return this.status===409}isAuthenticationTimeout(){return this.status===419}};function Jd(e,t,n){let r=new URL(t,e);if(n)for(let[e,t]of Object.entries(n))t!==void 0&&r.searchParams.set(e,t);return r.toString()}async function Yd(e){return!e||e.type===`none`?{}:e.type===`bearer`?{Authorization:`Bearer ${e.token}`}:e.type===`header`?{[e.name]:e.value}:e.type===`custom`?await e.getHeaders():{}}function Xd(e){let t=e.fetchImpl??globalThis.fetch;return{async request({method:n,path:r,query:i,body:a,headers:o}){let s=Jd(e.baseUrl,r,i),c=await Yd(e.auth),l=await t(s,{method:n,headers:{...a?{"Content-Type":`application/json`}:{},...c,...o},body:a?JSON.stringify(a):void 0}),u=await l.text(),d=(l.headers.get(`content-type`)||``).includes(`application/json`),f=d&&u?JSON.parse(u):u;if(!l.ok){let e=d?f:void 0,t=e?.error;throw new qd(t?.message??`Request failed with status ${l.status}`,{status:l.status,icebergType:t?.type,icebergCode:t?.code,details:e})}return{status:l.status,headers:l.headers,data:f}}}}function Zd(e){return e.join(`�`)}var Qd=class{constructor(e,t=``){this.client=e,this.prefix=t}async listNamespaces(e){let t=e?{parent:Zd(e.namespace)}:void 0;return(await this.client.request({method:`GET`,path:`${this.prefix}/namespaces`,query:t})).data.namespaces.map(e=>({namespace:e}))}async createNamespace(e,t){let n={namespace:e.namespace,properties:t?.properties};return(await this.client.request({method:`POST`,path:`${this.prefix}/namespaces`,body:n})).data}async dropNamespace(e){await this.client.request({method:`DELETE`,path:`${this.prefix}/namespaces/${Zd(e.namespace)}`})}async loadNamespaceMetadata(e){return{properties:(await this.client.request({method:`GET`,path:`${this.prefix}/namespaces/${Zd(e.namespace)}`})).data.properties}}async namespaceExists(e){try{return await this.client.request({method:`HEAD`,path:`${this.prefix}/namespaces/${Zd(e.namespace)}`}),!0}catch(e){if(e instanceof qd&&e.status===404)return!1;throw e}}async createNamespaceIfNotExists(e,t){try{return await this.createNamespace(e,t)}catch(e){if(e instanceof qd&&e.status===409)return;throw e}}};function $d(e){return e.join(`�`)}var ef=class{constructor(e,t=``,n){this.client=e,this.prefix=t,this.accessDelegation=n}async listTables(e){return(await this.client.request({method:`GET`,path:`${this.prefix}/namespaces/${$d(e.namespace)}/tables`})).data.identifiers}async createTable(e,t){let n={};return this.accessDelegation&&(n[`X-Iceberg-Access-Delegation`]=this.accessDelegation),(await this.client.request({method:`POST`,path:`${this.prefix}/namespaces/${$d(e.namespace)}/tables`,body:t,headers:n})).data.metadata}async updateTable(e,t){let n=await this.client.request({method:`POST`,path:`${this.prefix}/namespaces/${$d(e.namespace)}/tables/${e.name}`,body:t});return{"metadata-location":n.data[`metadata-location`],metadata:n.data.metadata}}async dropTable(e,t){await this.client.request({method:`DELETE`,path:`${this.prefix}/namespaces/${$d(e.namespace)}/tables/${e.name}`,query:{purgeRequested:String(t?.purge??!1)}})}async loadTable(e){let t={};return this.accessDelegation&&(t[`X-Iceberg-Access-Delegation`]=this.accessDelegation),(await this.client.request({method:`GET`,path:`${this.prefix}/namespaces/${$d(e.namespace)}/tables/${e.name}`,headers:t})).data.metadata}async tableExists(e){let t={};this.accessDelegation&&(t[`X-Iceberg-Access-Delegation`]=this.accessDelegation);try{return await this.client.request({method:`HEAD`,path:`${this.prefix}/namespaces/${$d(e.namespace)}/tables/${e.name}`,headers:t}),!0}catch(e){if(e instanceof qd&&e.status===404)return!1;throw e}}async createTableIfNotExists(e,t){try{return await this.createTable(e,t)}catch(n){if(n instanceof qd&&n.status===409)return await this.loadTable({namespace:e.namespace,name:t.name});throw n}}},tf=class{constructor(e){let t=`v1`;e.catalogName&&(t+=`/${e.catalogName}`);let n=e.baseUrl.endsWith(`/`)?e.baseUrl:`${e.baseUrl}/`;this.client=Xd({baseUrl:n,auth:e.auth,fetchImpl:e.fetch}),this.accessDelegation=e.accessDelegation?.join(`,`),this.namespaceOps=new Qd(this.client,t),this.tableOps=new ef(this.client,t,this.accessDelegation)}async listNamespaces(e){return this.namespaceOps.listNamespaces(e)}async createNamespace(e,t){return this.namespaceOps.createNamespace(e,t)}async dropNamespace(e){await this.namespaceOps.dropNamespace(e)}async loadNamespaceMetadata(e){return this.namespaceOps.loadNamespaceMetadata(e)}async listTables(e){return this.tableOps.listTables(e)}
44async createTable(e,t){return this.tableOps.createTable(e,t)}async updateTable(e,t){return this.tableOps.updateTable(e,t)}async dropTable(e,t){await this.tableOps.dropTable(e,t)}async loadTable(e){return this.tableOps.loadTable(e)}async namespaceExists(e){return this.namespaceOps.namespaceExists(e)}async tableExists(e){return this.tableOps.tableExists(e)}async createNamespaceIfNotExists(e,t){return this.namespaceOps.createNamespaceIfNotExists(e,t)}async createTableIfNotExists(e,t){return this.tableOps.createTableIfNotExists(e,t)}};function nf(e){"@babel/helpers - typeof";return nf=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},nf(e)}function rf(e,t){if(nf(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(nf(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function af(e){var t=rf(e,`string`);return nf(t)==`symbol`?t:t+``}function of(e,t,n){return(t=af(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?sf(Object(n),!0).forEach(function(t){of(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sf(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var cf=class extends Error{constructor(e,t=`storage`,n,r){super(e),this.__isStorageError=!0,this.namespace=t,this.name=t===`vectors`?`StorageVectorsError`:`StorageError`,this.status=n,this.statusCode=r}toJSON(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}}};function lf(e){return typeof e==`object`&&!!e&&`__isStorageError`in e}var uf=class extends cf{constructor(e,t,n,r=`storage`){super(e,r,t,n),this.name=r===`vectors`?`StorageVectorsApiError`:`StorageApiError`,this.status=t,this.statusCode=n}toJSON(){return Z({},super.toJSON())}},df=class extends cf{constructor(e,t,n=`storage`){super(e,n),this.name=n===`vectors`?`StorageVectorsUnknownError`:`StorageUnknownError`,this.originalError=t}};function ff(e,t,n){let r=Z({},e),i=t.toLowerCase();for(let e of Object.keys(r))e.toLowerCase()===i&&delete r[e];return r[i]=n,r}function pf(e){let t={};for(let[n,r]of Object.entries(e))t[n.toLowerCase()]=r;return t}var mf=e=>e?(...t)=>e(...t):(...e)=>fetch(...e),hf=e=>{if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},gf=e=>{if(Array.isArray(e))return e.map(e=>gf(e));if(typeof e==`function`||e!==Object(e))return e;let t={};return Object.entries(e).forEach(([e,n])=>{let r=e.replace(/([-_][a-z])/gi,e=>e.toUpperCase().replace(/[-_]/g,``));t[r]=gf(n)}),t},_f=e=>!e||typeof e!=`string`||e.length===0||e.length>100||e.trim()!==e||e.includes(`/`)||e.includes(`\\`)?!1:/^[\w!.\*'() &$@=;:+,?-]+$/.test(e),vf=e=>{if(typeof e==`object`&&e){let t=e;if(typeof t.msg==`string`)return t.msg;if(typeof t.message==`string`)return t.message;if(typeof t.error_description==`string`)return t.error_description;if(typeof t.error==`string`)return t.error;if(typeof t.error==`object`&&t.error!==null){let e=t.error;if(typeof e.message==`string`)return e.message}}return JSON.stringify(e)},yf=async(e,t,n,r)=>{if(typeof e==`object`&&e&&`json`in e&&typeof e.json==`function`){let n=e,i=parseInt(String(n.status),10);Number.isFinite(i)||(i=500),n.json().then(e=>{let n=e?.statusCode||e?.code||i+``;t(new uf(vf(e),i,n,r))}).catch(()=>{let e=i+``;t(new uf(n.statusText||`HTTP ${i} error`,i,e,r))})}else t(new df(vf(e),e,r))},bf=(e,t,n,r)=>{let i={method:e,headers:t?.headers||{}};if(e===`GET`||e===`HEAD`||!r)return Z(Z({},i),n);if(hf(r)){let e=t?.headers||{},n;for(let[t,r]of Object.entries(e))t.toLowerCase()===`content-type`&&(n=r);i.headers=ff(e,`Content-Type`,n??`application/json`),i.body=JSON.stringify(r)}else i.body=r;return t?.duplex&&(i.duplex=t.duplex),Z(Z({},i),n)};async function xf(e,t,n,r,i,a,o){return new Promise((s,c)=>{e(n,bf(t,r,i,a)).then(e=>{if(!e.ok)throw e;if(r?.noResolveJson)return e;if(o===`vectors`){let t=e.headers.get(`content-type`);if(e.headers.get(`content-length`)===`0`||e.status===204||!t||!t.includes(`application/json`))return{}}return e.json()}).then(e=>s(e)).catch(e=>yf(e,c,r,o))})}function Sf(e=`storage`){return{get:async(t,n,r,i)=>xf(t,`GET`,n,r,i,void 0,e),post:async(t,n,r,i,a)=>xf(t,`POST`,n,i,a,r,e),put:async(t,n,r,i,a)=>xf(t,`PUT`,n,i,a,r,e),head:async(t,n,r,i)=>xf(t,`HEAD`,n,Z(Z({},r),{},{noResolveJson:!0}),i,void 0,e),remove:async(t,n,r,i,a)=>xf(t,`DELETE`,n,i,a,r,e)}}var{get:Cf,post:wf,put:Tf,head:Ef,remove:Df}=Sf(`storage`),Of=Sf(`vectors`),kf=class{constructor(e,t={},n,r=`storage`){this.shouldThrowOnError=!1,this.url=e,this.headers=pf(t),this.fetch=mf(n),this.namespace=r}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(e,t){return this.headers=ff(this.headers,e,t),this}async handleOperation(e){var t=this;try{return{data:await e(),error:null}}catch(e){if(t.shouldThrowOnError)throw e;if(lf(e))return{data:null,error:e};throw e}}},Af=Symbol.toStringTag,jf=class{constructor(e,t){this.downloadFn=e,this.shouldThrowOnError=t,this[Af]=`StreamDownloadBuilder`,this.promise=null}
44then(e,t){return this.getPromise().then(e,t)}catch(e){return this.getPromise().catch(e)}finally(e){return this.getPromise().finally(e)}getPromise(){return this.promise||=this.execute(),this.promise}async execute(){var e=this;try{return{data:(await e.downloadFn()).body,error:null}}catch(t){if(e.shouldThrowOnError)throw t;if(lf(t))return{data:null,error:t};throw t}}},Mf=Symbol.toStringTag,Nf=class{constructor(e,t){this.downloadFn=e,this.shouldThrowOnError=t,this[Mf]=`BlobDownloadBuilder`,this.promise=null}asStream(){return new jf(this.downloadFn,this.shouldThrowOnError)}then(e,t){return this.getPromise().then(e,t)}catch(e){return this.getPromise().catch(e)}finally(e){return this.getPromise().finally(e)}getPromise(){return this.promise||=this.execute(),this.promise}async execute(){var e=this;try{return{data:await(await e.downloadFn()).blob(),error:null}}catch(t){if(e.shouldThrowOnError)throw t;if(lf(t))return{data:null,error:t};throw t}}},Pf={limit:100,offset:0,sortBy:{column:`name`,order:`asc`}},Ff={cacheControl:`3600`,contentType:`text/plain;charset=UTF-8`,upsert:!1},If=class extends kf{constructor(e,t={},n,r){super(e,t,r,`storage`),this.bucketId=n}async uploadOrUpdate(e,t,n,r){var i=this;return i.handleOperation(async()=>{let a,o=Z(Z({},Ff),r),s=Z(Z({},i.headers),e===`POST`&&{"x-upsert":String(o.upsert)}),c=o.metadata;if(typeof Blob<`u`&&n instanceof Blob?(a=new FormData,a.append(`cacheControl`,o.cacheControl),c&&a.append(`metadata`,i.encodeMetadata(c)),a.append(``,n)):typeof FormData<`u`&&n instanceof FormData?(a=n,a.has(`cacheControl`)||a.append(`cacheControl`,o.cacheControl),c&&!a.has(`metadata`)&&a.append(`metadata`,i.encodeMetadata(c))):(a=n,s[`cache-control`]=`max-age=${o.cacheControl}`,s[`content-type`]=o.contentType,c&&(s[`x-metadata`]=i.toBase64(i.encodeMetadata(c))),(typeof ReadableStream<`u`&&a instanceof ReadableStream||a&&typeof a==`object`&&`pipe`in a&&typeof a.pipe==`function`)&&!o.duplex&&(o.duplex=`half`)),r?.headers)for(let[e,t]of Object.entries(r.headers))s=ff(s,e,t);let l=i._removeEmptyFolders(t),u=i._getFinalPath(l),d=await(e==`PUT`?Tf:wf)(i.fetch,`${i.url}/object/${u}`,a,Z({headers:s},o?.duplex?{duplex:o.duplex}:{}));return{path:l,id:d.Id,fullPath:d.Key}})}async upload(e,t,n){return this.uploadOrUpdate(`POST`,e,t,n)}async uploadToSignedUrl(e,t,n,r){var i=this;let a=i._removeEmptyFolders(e),o=i._getFinalPath(a),s=new URL(i.url+`/object/upload/sign/${o}`);return s.searchParams.set(`token`,t),i.handleOperation(async()=>{let e,t=Z(Z({},Ff),r),o=Z(Z({},i.headers),{"x-upsert":String(t.upsert)}),c=t.metadata;if(typeof Blob<`u`&&n instanceof Blob?(e=new FormData,e.append(`cacheControl`,t.cacheControl),c&&e.append(`metadata`,i.encodeMetadata(c)),e.append(``,n)):typeof FormData<`u`&&n instanceof FormData?(e=n,e.has(`cacheControl`)||e.append(`cacheControl`,t.cacheControl),c&&!e.has(`metadata`)&&e.append(`metadata`,i.encodeMetadata(c))):(e=n,o[`cache-control`]=`max-age=${t.cacheControl}`,o[`content-type`]=t.contentType,c&&(o[`x-metadata`]=i.toBase64(i.encodeMetadata(c))),(typeof ReadableStream<`u`&&e instanceof ReadableStream||e&&typeof e==`object`&&`pipe`in e&&typeof e.pipe==`function`)&&!t.duplex&&(t.duplex=`half`)),r?.headers)for(let[e,t]of Object.entries(r.headers))o=ff(o,e,t);return{path:a,fullPath:(await Tf(i.fetch,s.toString(),e,Z({headers:o},t?.duplex?{duplex:t.duplex}:{}))).Key}})}async createSignedUploadUrl(e,t){var n=this;return n.handleOperation(async()=>{let r=n._getFinalPath(e),i=Z({},n.headers);t?.upsert&&(i[`x-upsert`]=`true`);let a=await wf(n.fetch,`${n.url}/object/upload/sign/${r}`,{},{headers:i}),o=new URL(n.url+a.url),s=o.searchParams.get(`token`);if(!s)throw new cf(`No token returned by API`);return{signedUrl:o.toString(),path:e,token:s}})}async update(e,t,n){return this.uploadOrUpdate(`PUT`,e,t,n)}async move(e,t,n){var r=this;return r.handleOperation(async()=>await wf(r.fetch,`${r.url}/object/move`,{bucketId:r.bucketId,sourceKey:e,destinationKey:t,de
44stinationBucket:n?.destinationBucket},{headers:r.headers}))}async copy(e,t,n){var r=this;return r.handleOperation(async()=>({path:(await wf(r.fetch,`${r.url}/object/copy`,{bucketId:r.bucketId,sourceKey:e,destinationKey:t,destinationBucket:n?.destinationBucket},{headers:r.headers})).Key}))}async createSignedUrl(e,t,n){var r=this;return r.handleOperation(async()=>{let i=r._getFinalPath(e),a=typeof n?.transform==`object`&&n.transform!==null&&Object.keys(n.transform).length>0,o=await wf(r.fetch,`${r.url}/object/sign/${i}`,Z({expiresIn:t},a?{transform:n.transform}:{}),{headers:r.headers}),s=new URLSearchParams;n?.download&&s.set(`download`,n.download===!0?``:n.download),n?.cacheNonce!=null&&s.set(`cacheNonce`,String(n.cacheNonce));let c=s.toString();return{signedUrl:encodeURI(`${r.url}${o.signedURL}${c?`&${c}`:``}`)}})}async createSignedUrls(e,t,n){var r=this;return r.handleOperation(async()=>{let i=await wf(r.fetch,`${r.url}/object/sign/${r.bucketId}`,{expiresIn:t,paths:e},{headers:r.headers}),a=new URLSearchParams;n?.download&&a.set(`download`,n.download===!0?``:n.download),n?.cacheNonce!=null&&a.set(`cacheNonce`,String(n.cacheNonce));let o=a.toString();return i.map(e=>Z(Z({},e),{},{signedUrl:e.signedURL?encodeURI(`${r.url}${e.signedURL}${o?`&${o}`:``}`):null}))})}download(e,t,n){let r=typeof t?.transform==`object`&&t.transform!==null&&Object.keys(t.transform).length>0?`render/image/authenticated`:`object`,i=new URLSearchParams;t?.transform&&this.applyTransformOptsToQuery(i,t.transform),t?.cacheNonce!=null&&i.set(`cacheNonce`,String(t.cacheNonce));let a=i.toString(),o=this._getFinalPath(e);return new Nf(()=>Cf(this.fetch,`${this.url}/${r}/${o}${a?`?${a}`:``}`,{headers:this.headers,noResolveJson:!0},n),this.shouldThrowOnError)}async info(e){var t=this;let n=t._getFinalPath(e);return t.handleOperation(async()=>gf(await Cf(t.fetch,`${t.url}/object/info/${n}`,{headers:t.headers})))}async exists(e){var t=this;let n=t._getFinalPath(e);try{return await Ef(t.fetch,`${t.url}/object/${n}`,{headers:t.headers}),{data:!0,error:null}}catch(e){if(t.shouldThrowOnError)throw e;if(lf(e)){let t=e instanceof uf?e.status:e instanceof df?e.originalError?.status:void 0;if(t!==void 0&&[400,404].includes(t))return{data:!1,error:e}}throw e}}getPublicUrl(e,t){let n=this._getFinalPath(e),r=new URLSearchParams;t?.download&&r.set(`download`,t.download===!0?``:t.download),t?.transform&&this.applyTransformOptsToQuery(r,t.transform),t?.cacheNonce!=null&&r.set(`cacheNonce`,String(t.cacheNonce));let i=r.toString(),a=typeof t?.transform==`object`&&t.transform!==null&&Object.keys(t.transform).length>0?`render/image`:`object`;return{data:{publicUrl:encodeURI(`${this.url}/${a}/public/${n}`)+(i?`?${i}`:``)}}}async remove(e){var t=this;return t.handleOperation(async()=>await Df(t.fetch,`${t.url}/object/${t.bucketId}`,{prefixes:e},{headers:t.headers}))}async list(e,t,n){var r=this;return r.handleOperation(async()=>{let i=Z(Z(Z({},Pf),t),{},{prefix:e||``});return await wf(r.fetch,`${r.url}/object/list/${r.bucketId}`,i,{headers:r.headers},n)})}async listV2(e,t){var n=this;return n.handleOperation(async()=>{let r=Z({},e);return await wf(n.fetch,`${n.url}/object/list-v2/${n.bucketId}`,r,{headers:n.headers},t)})}encodeMetadata(e){return JSON.stringify(e)}toBase64(e){return typeof Buffer<`u`?Buffer.from(e).toString(`base64`):btoa(e)}_getFinalPath(e){return`${this.bucketId}/${e.replace(/^\/+/,``)}`}_removeEmptyFolders(e){return e.replace(/^\/|\/$/g,``).replace(/\/+/g,`/`)}applyTransformOptsToQuery(e,t){return t.width&&e.set(`width`,t.width.toString()),t.height&&e.set(`height`,t.height.toString()),t.resize&&e.set(`resize`,t.resize),t.format&&e.set(`format`,t.format),t.quality&&e.set(`quality`,t.quality.toString()),e}},Lf={"X-Client-Info":`storage-js/2.108.2`},Rf=class extends kf{constructor(e,t={},n,r){let i=new URL(e);r?.useNewHostname&&/supabase\.(co|in|red)$/.test(i.hostname)&&!i.hostname.includes(`storage.supabase.`)&&(i.hostname=i.hostname.replace(`supabase.`,`storage.supabase.`));let a=i.href.replace(/\/$/,``),o=Z(Z({},Lf),t);super(a,o,n,`storage`)}async listBuckets(e){var t=this;return t.handleOperation(async()=>{let n=t.listBucketOptionsToQueryString(e);return await Cf(t.fetch,`${t.url}/bucket${n}`,{headers:t.headers})})}async getBucket(e){var t=this;return t.handleOperation(async()=>await Cf(t.fetch,`${t.url}/bucket/${e}`,{headers:t.headers}))}async createBucket(e,t={public:!1}){var n=this;return n.handleOperation(async()=>await wf(n.fetch,`${n.url}/bucket`,{id:e,name:e,type:t.type,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:n.headers}))}async updateBucket(e,t){var n=this;return n.handleOperation(async()=>await Tf(n.fetch,`${n.url}/bucket/${e}`,{id:e,name:e,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:n.headers}))}async emptyBucket(e){var t=this;return t.handleOperation(async()=>await wf(t.fetch,`${t.url}/bucket/${e}/empty`,{},{headers:t.headers}))}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await Df(t.fetch,`${t.url}/bucket/${e}`,{},{headers:t.headers}))}listBucketOptionsToQueryString(e){let t={};return e&&(`limit`in e&&(t.limit=String(e.limit)),`offset`in e&&(t.offset=String(e.offset)),e.search&&(t.search=e.search),e.sortColumn&&(t.sortColumn=e.sortColumn),e.sortOrder&&(t.sortOrder=e.sortOrder)),Object.keys(t).length>
440?`?`+new URLSearchParams(t).toString():``}},zf=class extends kf{constructor(e,t={},n){let r=e.replace(/\/$/,``),i=Z(Z({},Lf),t);super(r,i,n,`storage`)}async createBucket(e){var t=this;return t.handleOperation(async()=>await wf(t.fetch,`${t.url}/bucket`,{name:e},{headers:t.headers}))}async listBuckets(e){var t=this;return t.handleOperation(async()=>{let n=new URLSearchParams;e?.limit!==void 0&&n.set(`limit`,e.limit.toString()),e?.offset!==void 0&&n.set(`offset`,e.offset.toString()),e?.sortColumn&&n.set(`sortColumn`,e.sortColumn),e?.sortOrder&&n.set(`sortOrder`,e.sortOrder),e?.search&&n.set(`search`,e.search);let r=n.toString(),i=r?`${t.url}/bucket?${r}`:`${t.url}/bucket`;return await Cf(t.fetch,i,{headers:t.headers})})}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await Df(t.fetch,`${t.url}/bucket/${e}`,{},{headers:t.headers}))}from(e){var t=this;if(!_f(e))throw new cf(`Invalid bucket name: File, folder, and bucket names must follow AWS object key naming guidelines and should avoid the use of any other characters.`);let n=new tf({baseUrl:this.url,catalogName:e,auth:{type:`custom`,getHeaders:async()=>t.headers},fetch:this.fetch}),r=this.shouldThrowOnError;return new Proxy(n,{get(e,t){let n=e[t];return typeof n==`function`?async(...t)=>{try{return{data:await n.apply(e,t),error:null}}catch(e){if(r)throw e;return{data:null,error:e}}}:n}})}},Bf=class extends kf{constructor(e,t={},n){let r=e.replace(/\/$/,``),i=Z(Z({},Lf),{},{"Content-Type":`application/json`},t);super(r,i,n,`vectors`)}async createIndex(e){var t=this;return t.handleOperation(async()=>await Of.post(t.fetch,`${t.url}/CreateIndex`,e,{headers:t.headers})||{})}async getIndex(e,t){var n=this;return n.handleOperation(async()=>await Of.post(n.fetch,`${n.url}/GetIndex`,{vectorBucketName:e,indexName:t},{headers:n.headers}))}async listIndexes(e){var t=this;return t.handleOperation(async()=>await Of.post(t.fetch,`${t.url}/ListIndexes`,e,{headers:t.headers}))}async deleteIndex(e,t){var n=this;return n.handleOperation(async()=>await Of.post(n.fetch,`${n.url}/DeleteIndex`,{vectorBucketName:e,indexName:t},{headers:n.headers})||{})}},Vf=class extends kf{constructor(e,t={},n){let r=e.replace(/\/$/,``),i=Z(Z({},Lf),{},{"Content-Type":`application/json`},t);super(r,i,n,`vectors`)}async putVectors(e){var t=this;if(e.vectors.length<1||e.vectors.length>500)throw Error(`Vector batch size must be between 1 and 500 items`);return t.handleOperation(async()=>await Of.post(t.fetch,`${t.url}/PutVectors`,e,{headers:t.headers})||{})}async getVectors(e){var t=this;return t.handleOperation(async()=>await Of.post(t.fetch,`${t.url}/GetVectors`,e,{headers:t.headers}))}async listVectors(e){var t=this;if(e.segmentCount!==void 0){if(e.segmentCount<1||e.segmentCount>16)throw Error(`segmentCount must be between 1 and 16`);if(e.segmentIndex!==void 0&&(e.segmentIndex<0||e.segmentIndex>=e.segmentCount))throw Error(`segmentIndex must be between 0 and ${e.segmentCount-1}`)}return t.handleOperation(async()=>await Of.post(t.fetch,`${t.url}/ListVectors`,e,{headers:t.headers}))}async queryVectors(e){var t=this;return t.handleOperation(async()=>await Of.post(t.fetch,`${t.url}/QueryVectors`,e,{headers:t.headers}))}async deleteVectors(e){var t=this;if(e.keys.length<1||e.keys.length>500)throw Error(`Keys batch size must be between 1 and 500 items`);return t.handleOperation(async()=>await Of.post(t.fetch,`${t.url}/DeleteVectors`,e,{headers:t.headers})||{})}},Hf=class extends kf{constructor(e,t={},n){let r=e.replace(/\/$/,``),i=Z(Z({},Lf),{},{"Content-Type":`application/json`},t);super(r,i,n,`vectors`)}async createBucket(e){var t=this;return t.handleOperation(async()=>await Of.post(t.fetch,`${t.url}/CreateVectorBucket`,{vectorBucketName:e},{headers:t.headers})||{})}async getBucket(e){var t=this;return t.handleOperation(async()=>await Of.post(t.fetch,`${t.url}/GetVectorBucket`,{vectorBucketName:e},{headers:t.headers}))}async listBuckets(e={}){var t=this;return t.handleOperation(async()=>await Of.post(t.fetch,`${t.url}/ListVectorBuckets`,e,{headers:t.headers}))}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await Of.post(t.fetch,`${t.url}/DeleteVectorBucket`,{vectorBucketName:e},{headers:t.headers})||{})}},Uf=class extends Hf{constructor(e,t={}){super(e,t.headers||{},t.fetch)}from(e){return new Wf(this.url,this.headers,e,this.fetch)}async createBucket(e){var t=()=>super.createBucket,n=this;return t().call(n,e)}async getBucket(e){var t=()=>super.getBucket,n=this;return t().call(n,e)}async listBuckets(e={}){var t=()=>super.listBuckets,n=this;return t().call(n,e)}async deleteBucket(e){var t=()=>super.deleteBucket,n=this;return t().call(n,e)}},Wf=class extends Bf{constructor(e,t,n,r){super(e,t,r),this.vectorBucketName=n}async createIndex(e){var t=()=>super.createIndex,n=this;return t().call(n,Z(Z({},e),{},{vectorBucketName:n.vectorBucketName}))}
44async listIndexes(e={}){var t=()=>super.listIndexes,n=this;return t().call(n,Z(Z({},e),{},{vectorBucketName:n.vectorBucketName}))}async getIndex(e){var t=()=>super.getIndex,n=this;return t().call(n,n.vectorBucketName,e)}async deleteIndex(e){var t=()=>super.deleteIndex,n=this;return t().call(n,n.vectorBucketName,e)}index(e){return new Gf(this.url,this.headers,this.vectorBucketName,e,this.fetch)}},Gf=class extends Vf{constructor(e,t,n,r,i){super(e,t,i),this.vectorBucketName=n,this.indexName=r}async putVectors(e){var t=()=>super.putVectors,n=this;return t().call(n,Z(Z({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async getVectors(e){var t=()=>super.getVectors,n=this;return t().call(n,Z(Z({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async listVectors(e={}){var t=()=>super.listVectors,n=this;return t().call(n,Z(Z({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async queryVectors(e){var t=()=>super.queryVectors,n=this;return t().call(n,Z(Z({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async deleteVectors(e){var t=()=>super.deleteVectors,n=this;return t().call(n,Z(Z({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}},Kf=class extends Rf{constructor(e,t={},n,r){super(e,t,n,r)}from(e){return new If(this.url,this.headers,e,this.fetch)}get vectors(){return new Uf(this.url+`/vector`,{headers:this.headers,fetch:this.fetch})}get analytics(){return new zf(this.url+`/iceberg`,this.headers,this.fetch)}},qf=`2.108.2`,Jf=30*1e3,Yf=3*Jf,Xf=2*Jf,Zf=`http://localhost:9999`,Qf=`supabase.auth.token`,$f={"X-Client-Info":`gotrue-js/${qf}`},ep=`X-Supabase-Api-Version`,tp={"2024-01-01":{timestamp:Date.parse(`2024-01-01T00:00:00.0Z`),name:`2024-01-01`}},np=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i,rp=class extends Error{constructor(e,t,n){super(e),this.__isAuthError=!0,this.name=`AuthError`,this.status=t,this.code=n}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code}}};function Q(e){return typeof e==`object`&&!!e&&`__isAuthError`in e}var ip=class extends rp{constructor(e,t,n){super(e,t,n),this.name=`AuthApiError`,this.status=t,this.code=n}};function ap(e){return Q(e)&&e.name===`AuthApiError`}var op=class extends rp{constructor(e,t){super(e),this.name=`AuthUnknownError`,this.originalError=t}},sp=class extends rp{constructor(e,t,n,r){super(e,n,r),this.name=t,this.status=n}},cp=class extends sp{constructor(){super(`Auth session missing!`,`AuthSessionMissingError`,400,void 0)}};function lp(e){return Q(e)&&e.name===`AuthSessionMissingError`}var up=class extends sp{constructor(){super(`Auth session or user missing`,`AuthInvalidToken
44ResponseError`,500,void 0)}},dp=class extends sp{constructor(e){super(e,`AuthInvalidCredentialsError`,400,void 0)}},fp=class extends sp{constructor(e,t=null){super(e,`AuthImplicitGrantRedirectError`,500,void 0),this.details=null,this.details=t}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{details:this.details})}};function pp(e){return Q(e)&&e.name===`AuthImplicitGrantRedirectError`}var mp=class extends sp{constructor(e,t=null){super(e,`AuthPKCEGrantCodeExchangeError`,500,void 0),this.details=null,this.details=t}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{details:this.details})}},hp=class extends sp{constructor(){super(`PKCE code verifier not found in storage. This can happen if the auth flow was initiated in a different browser or device, or if the storage was cleared. For SSR frameworks (Next.js, SvelteKit, etc.), use @supabase/ssr on both the server and client to store the code verifier in cookies.`,`AuthPKCECodeVerifierMissingError`,400,`pkce_code_verifier_not_found`)}},gp=class extends sp{constructor(e,t){super(e,`AuthRetryableFetchError`,t,void 0)}};function _p(e){return Q(e)&&e.name===`AuthRetryableFetchError`}var vp=class extends sp{constructor(e=`Refresh result discarded: session state changed mid-flight (e.g., concurrent signOut)`){super(e,`AuthRefreshDiscardedError`,409,void 0)}};function yp(e){return Q(e)&&e.name===`AuthRefreshDiscardedError`}var bp=class extends sp{constructor(e,t,n){super(e,`AuthWeakPasswordError`,t,`weak_password`),this.reasons=n}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{reasons:this.reasons})}},xp=class extends sp{constructor(e){super(e,`AuthInvalidJwtError`,400,`invalid_jwt`)}},Sp=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_`.split(``),Cp=` 45\r=`.split(``),wp=(()=>{let e=Array(128);for(let t=0;t<e.length;t+=1)e[t]=-1;for(let t=0;t<Cp.length;t+=1)e[Cp[t].charCodeAt(0)]=-2;for(let t=0;t<Sp.length;t+=1)e[Sp[t].charCodeAt(0)]=t;return e})();function Tp(e,t,n){if(e!==null)for(t.queue=t.queue<<8|e,t.queuedBits+=8;t.queuedBits>=6;)n(Sp[t.queue>>t.queuedBits-6&63]),t.queuedBits-=6;else if(t.queuedBits>0)for(t.queue<<=6-t.queuedBits,t.queuedBits=6;t.queuedBits>=6;)n(Sp[t.queue>>t.queuedBits-6&63]),t.queuedBits-=6}function Ep(e,t,n){let r=wp[e];if(r>-1)for(t.queue=t.queue<<6|r,t.queuedBits+=6;t.queuedBits>=8;)n(t.queue>>t.queuedBits-8&255),t.queuedBits-=8;else if(r===-2)return;else throw Error(`Invalid Base64-URL character "${String.fromCharCode(e)}"`)}function Dp(e){let t=[],n=e=>{t.push(String.fromCodePoint(e))},r={utf8seq:0,codepoint:0},i={queue:0,queuedBits:0},a=e=>{Ap(e,r,n)};for(let t=0;t<e.length;t+=1)Ep(e.charCodeAt(t),i,a);return t.join(``)}function Op(e,t){if(e<=127){t(e);return}else if(e<=2047){t(192|e>>6),t(128|e&63);return}else if(e<=65535){t(224|e>>12),t(128|e>>6&63),t(128|e&63);return}else if(e<=1114111){t(240|e>>18),t(128|e>>12&63),t(128|e>>6&63),t(128|e&63);return}throw Error(`Unrecognized Unicode codepoint: ${e.toString(16)}`)}function kp(e,t){for(let n=0;n<e.length;n+=1){let r=e.charCodeAt(n);if(r>55295&&r<=56319){let t=(r-55296)*1024&65535;r=(e.charCodeAt(n+1)-56320&65535|t)+65536,n+=1}Op(r,t)}}function Ap(e,t,n){if(t.utf8seq===0){if(e<=127){n(e);return}for(let n=1;n<6;n+=1)if(!(e>>7-n&1)){t.utf8seq=n;break}if(t.utf8seq===2)t.codepoint=e&31;else if(t.utf8seq===3)t.codepoint=e&15;else if(t.utf8seq===4)t.codepoint=e&7;else throw Error(`Invalid UTF-8 sequence`);--t.utf8seq}else if(t.utf8seq>0){if(e<=127)throw Error(`Invalid UTF-8 sequence`);t.codepoint=t.codepoint<<6|e&63,--t.utf8seq,t.utf8seq===0&&n(t.codepoint)}}function jp(e){let t=[],n={queue:0,queuedBits:0},r=e=>{t.push(e)};for(let t=0;t<e.length;t+=1)Ep(e.charCodeAt(t),n,r);return new Uint8Array(t)}function Mp(e){let t=[];return kp(e,e=>t.push(e)),new Uint8Array(t)}function Np(e){let t=[],n={queue:0,queuedBits:0},r=e=>{t.push(e)};return e.forEach(e=>Tp(e,n,r)),Tp(null,n,r),t.join(``)}function Pp(e){return Math.round(Date.now()/1e3)+e}function Fp(){return Symbol(`auth-callback`)}var Ip=()=>typeof window<`u`&&typeof document<`u`,Lp={tested:!1,writable:!1},Rp=()=>
45{if(!Ip())return!1;try{if(typeof globalThis.localStorage!=`object`)return!1}catch{return!1}if(Lp.tested)return Lp.writable;let e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),Lp.tested=!0,Lp.writable=!0}catch{Lp.tested=!0,Lp.writable=!1}return Lp.writable};function zp(e){let t={},n=new URL(e);if(n.hash&&n.hash[0]===`#`)try{new URLSearchParams(n.hash.substring(1)).forEach((e,n)=>{t[n]=e})}catch{}return n.searchParams.forEach((e,n)=>{t[n]=e}),t}var Bp=e=>e?(...t)=>e(...t):(...e)=>fetch(...e),Vp=e=>typeof e==`object`&&!!e&&`status`in e&&`ok`in e&&`json`in e&&typeof e.json==`function`,Hp=async(e,t,n)=>{await e.setItem(t,JSON.stringify(n))},Up=async(e,t)=>{let n=await e.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch{return null}},Wp=async(e,t)=>{await e.removeItem(t)},Gp=class e{constructor(){this.promise=new e.promiseConstructor((e,t)=>{this.resolve=e,this.reject=t})}};Gp.promiseConstructor=Promise;function Kp(e){let t=e.split(`.`);if(t.length!==3)throw new xp(`Invalid JWT structure`);for(let e=0;e<t.length;e++)if(!np.test(t[e]))throw new xp(`JWT not in base64url format`);return{header:JSON.parse(Dp(t[0])),payload:JSON.parse(Dp(t[1])),signature:jp(t[2]),raw:{header:t[0],payload:t[1]}}}async function qp(e){return await new Promise(t=>{setTimeout(()=>t(null),e)})}function Jp(e,t){return new Promise((n,r)=>{(async()=>{for(let i=0;i<1/0;i++)try{let r=await e(i);if(!t(i,null,r)){n(r);return}}catch(e){if(!t(i,e)){r(e);return}}})()})}function Yp(e){return(`0`+e.toString(16)).substr(-2)}function Xp(){let e=new Uint32Array(56);if(typeof crypto>`u`){let e=``;for(let t=0;t<56;t++)e+=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~`.charAt(Math.floor(Math.random()*66));return e}return crypto.getRandomValues(e),Array.from(e,Yp).join(``)}async function Zp(e){let t=new TextEncoder().encode(e),n=await crypto.subtle.digest(`SHA-256`,t),r=new Uint8Array(n);return Array.from(r).map(e=>String.fromCharCode(e)).join(``)}async function Qp(e){if(!(typeof crypto<`u`&&crypto.subtle!==void 0&&typeof TextEncoder<`u`))return console.warn(`WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256.`),e;let t=await Zp(e);return btoa(t).replace(/\+/g,`-`).replace(/\//g,`_`).replace(/=+$/,``)}async function $p(e,t,n=!1){let r=Xp(),i=r;n&&(i+=`/recovery`),await Hp(e,`${t}-code-verifier`,i);let a=await Qp(r);return[a,r===a?`plain`:`s256`]}var em=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function tm(e){let t=e.headers.get(ep);if(!t||!t.match(em))return null;try{return new Date(`${t}T00:00:00.0Z`)}catch{return null}}function nm(e){if(!e)throw Error(`Missing exp claim`);if(e<=Math.floor(Date.now()/1e3))throw Error(`JWT has expired`)}function rm(e){switch(e){case`RS256`:return{name:`RSASSA-PKCS1-v1_5`,hash:{name:`SHA-256`}};case`ES256`:return{name:`ECDSA`,namedCurve:`P-256`,hash:{name:`SHA-256`}};default:throw Error(`Invalid alg claim`)}}var im=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function am(e){if(!im.test(e))throw Error(`@supabase/auth-js: Expected parameter to be UUID but is not`)}function om(e){if(!e.passkey)throw Error("@supabase/auth-js: the passkey API is experimental and disabled by default. Enable it by passing `auth: { experimental: { passkey: true } }` to createClient (or to the GoTrueClient constructor).")}function sm(){return new Proxy({},{get:(e,t)=>{if(t===`__isUserNotAvailableProxy`)return!0;if(typeof t==`symbol`){let e=t.toString();if(e===`Symbol(Symbol.toPrimitive)`||e===`Symbol(Symbol.toStringTag)`||e===`Symbol(util.inspect.custom)`)return}throw Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Accessing the "${t}" property of the session object is not supported. Please use getUser() instead.`)},set:(e,t)=>{throw Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Setting the "${t}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)},deleteProperty:(e,t)=>{throw Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Deleting the "${t}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)}})}function cm(e,t){return new Proxy(e,{get:(e,n,r)=>{if(n===`__isInsecureUserWarningProxy`)return!0;
45if(typeof n==`symbol`){let t=n.toString();if(t===`Symbol(Symbol.toPrimitive)`||t===`Symbol(Symbol.toStringTag)`||t===`Symbol(util.inspect.custom)`||t===`Symbol(nodejs.util.inspect.custom)`)return Reflect.get(e,n,r)}return!t.value&&typeof n==`string`&&(console.warn(`Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and may not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server.`),t.value=!0),Reflect.get(e,n,r)}})}function lm(e){return JSON.parse(JSON.stringify(e))}var um=e=>{if(typeof e==`object`&&e){let t=e;if(typeof t.msg==`string`)return t.msg;if(typeof t.message==`string`)return t.message;if(typeof t.error_description==`string`)return t.error_description;if(typeof t.error==`string`)return t.error}return JSON.stringify(e)},dm=[500,501,502,503,504,520,521,522,523,524,525,526,527,528,529,530];async function fm(e){if(!Vp(e))throw new gp(um(e),0);if(dm.includes(e.status))throw new gp(um(e),e.status);let t;try{t=await e.json()}catch(e){throw new op(um(e),e)}let n,r=tm(e);if(r&&r.getTime()>=tp[`2024-01-01`].timestamp&&typeof t==`object`&&t&&typeof t.code==`string`?n=t.code:typeof t==`object`&&t&&typeof t.error_code==`string`&&(n=t.error_code),!n){if(typeof t==`object`&&t&&typeof t.weak_password==`object`&&t.weak_password&&Array.isArray(t.weak_password.reasons)&&t.weak_password.reasons.length&&t.weak_password.reasons.reduce((e,t)=>e&&typeof t==`string`,!0))throw new bp(um(t),e.status,t.weak_password.reasons)}else if(n===`weak_password`)throw new bp(um(t),e.status,t.weak_password?.reasons||[]);else if(n===`session_not_found`)throw new cp;throw new ip(um(t),e.status||500,n)}var pm=(e,t,n,r)=>{let i={method:e,headers:t?.headers||{}};return e===`GET`?i:(i.headers=Object.assign({"Content-Type":`application/json;charset=UTF-8`},t?.headers),i.body=JSON.stringify(r),Object.assign(Object.assign({},i),n))};async function $(e,t,n,r){let i=Object.assign({},r?.headers);i[`X-Supabase-Api-Version`]||(i[ep]=tp[`2024-01-01`].name),r?.jwt&&(i.Authorization=`Bearer ${r.jwt}`);let a=r?.query??{};r?.redirectTo&&(a.redirect_to=r.redirectTo);let o=await mm(e,t,n+(Object.keys(a).length?`?`+new URLSearchParams(a).toString():``),{headers:i,noResolveJson:r?.noResolveJson},{},r?.body);return r?.xform?r?.xform(o):{data:Object.assign({},o),error:null}}async function mm(e,t,n,r,i,a){let o=pm(t,r,i,a),s;try{s=await e(n,Object.assign({},o))}catch(e){throw console.error(e),new gp(um(e),0)}if(s.ok||await fm(s),r?.noResolveJson)return s;try{return await s.json()}catch(e){await fm(e)}}function hm(e){let t=null;xm(e)&&(t=Object.assign({},e),e.expires_at||(t.expires_at=Pp(e.expires_in)));let n=e.user??(typeof e?.id==`string`?e:null);return{data:{session:t,user:n},error:null}}function gm(e){let t=hm(e);return!t.error&&e.weak_password&&typeof e.weak_password==`object`&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&typeof e.weak_password.message==`string`&&e.weak_password.reasons.reduce((e,t)=>e&&typeof t==`string`,!0)&&(t.data.weak_password=e.weak_password),t}function _m(e){return{data:{user:e.user??e},error:null}}function vm(e){return{data:e,error:null}}function ym(e){let{action_link:t,email_otp:n,hashed_token:r,redirect_to:i,verification_type:a}=e,o=du(e,[`action_link`,`email_otp`,`hashed_token`,`redirect_to`,`verification_type`]);return{data:{properties:{action_link:t,email_otp:n,hashed_token:r,redirect_to:i,verification_type:a},user:Object.assign({},o)},error:null}}function bm(e){return e}function xm(e){return!!e.access_token&&!!e.refresh_token&&!!e.expires_in}var Sm=[`global`,`local`,`others`],Cm=class{constructor({url:e=``,headers:t={},fetch:n,experimental:r}){this.url=e,this.headers=t,this.fetch=Bp(n),this.experimental=r??{},this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)},this.oauth={listClients:this._listOAuthClients.bind(this),createClient:this._createOAuthClient.bind(this),getClient:this._getOAuthClient.bind(this),updateClient:this._updateOAuthClient.bind(this),deleteClient:this._deleteOAuthClient.bind(this),regenerateClientSecret:this._regenerateOAuthClientSecret.bind(this)},this.customProviders={listProviders:this._listCustomProviders.bind(this),createProvider:this._createCustomProvider.bind(this),getProvider:this._getCustomProvider.bind(this),updateProvider:this._updateCustomProvider.bind(this),deleteProvider:this._deleteCustomProvider.bind(this)},this.passkey={listPasskeys:this._adminListPasskeys.bind(this),deletePasskey:this._adminDeletePasskey.bind(this)}}async signOut(e,t=Sm[0]){if(Sm.indexOf(t)<0)throw Error(`@supabase/auth-js: Parameter scope must be one of ${Sm.join(`, `)}`);try{return await $(this.fetch,`POST`,`${this.url}/logout?scope=${t}`,{headers:this.headers,jwt:e,noResolveJson:!0}),{data:null,error:null}}catch(e){if(Q(e))return{data:null,error:e};throw e}}async inviteUserByEmail(e,t={}){try{return await $(this.fetch,`POST`,`${this.url}/invite`,{body:{email:e,data:t.data},headers:this.headers,redirectTo:t.redirectTo,xform:_m})}catch(e){if(Q(e))return{data:{user:null},error:e};throw e}}async generateLink(e){try{let{options:t}=e,n=du(e,[`options`]),r=Object.assign(Object.assign({},n),t);
45return`newEmail`in n&&(r.new_email=n?.newEmail,delete r.newEmail),await $(this.fetch,`POST`,`${this.url}/admin/generate_link`,{body:r,headers:this.headers,xform:ym,redirectTo:t?.redirectTo})}catch(e){if(Q(e))return{data:{properties:null,user:null},error:e};throw e}}async createUser(e){try{return await $(this.fetch,`POST`,`${this.url}/admin/users`,{body:e,headers:this.headers,xform:_m})}catch(e){if(Q(e))return{data:{user:null},error:e};throw e}}async listUsers(e){try{let t={nextPage:null,lastPage:0,total:0},n=await $(this.fetch,`GET`,`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:(e?.page)?.toString()??``,per_page:(e?.perPage)?.toString()??``},xform:bm});if(n.error)throw n.error;let r=await n.json(),i=n.headers.get(`x-total-count`)??0,a=n.headers.get(`link`)?.split(`,`)??[];return a.length>0&&(a.forEach(e=>{let n=parseInt(e.split(`;`)[0].split(`=`)[1].substring(0,1)),r=JSON.parse(e.split(`;`)[1].split(`=`)[1]);t[`${r}Page`]=n}),t.total=parseInt(i)),{data:Object.assign(Object.assign({},r),t),error:null}}catch(e){if(Q(e))return{data:{users:[]},error:e};throw e}}async getUserById(e){am(e);try{return await $(this.fetch,`GET`,`${this.url}/admin/users/${e}`,{headers:this.headers,xform:_m})}catch(e){if(Q(e))return{data:{user:null},error:e};throw e}}async updateUserById(e,t){am(e);try{return await $(this.fetch,`PUT`,`${this.url}/admin/users/${e}`,{body:t,headers:this.headers,xform:_m})}catch(e){if(Q(e))return{data:{user:null},error:e};throw e}}async deleteUser(e,t=!1){am(e);try{return await $(this.fetch,`DELETE`,`${this.url}/admin/users/${e}`,{headers:this.headers,body:{should_soft_delete:t},xform:_m})}catch(e){if(Q(e))return{data:{user:null},error:e};throw e}}async _listFactors(e){am(e.userId);try{let{data:t,error:n}=await $(this.fetch,`GET`,`${this.url}/admin/users/${e.userId}/factors`,{headers:this.headers,xform:e=>({data:{factors:e},error:null})});return{data:t,error:n}}catch(e){if(Q(e))return{data:null,error:e};throw e}}async _deleteFactor(e){am(e.userId),am(e.id);try{return{data:await $(this.fetch,`DELETE`,`${this.url}/admin/users/${e.userId}/factors/${e.id}`,{headers:this.headers}),error:null}}catch(e){if(Q(e))return{data:null,error:e};throw e}}async _listOAuthClients(e){try{let t={nextPage:null,lastPage:0,total:0},n=await $(this.fetch,`GET`,`${this.url}/admin/oauth/clients`,{headers:this.headers,noResolveJson:!0,query:{page:(e?.page)?.toString()??``,per_page:(e?.perPage)?.toString()??``},xform:bm});if(n.error)throw n.error;let r=await n.json(),i=n.headers.get(`x-total-count`)??0,a=n.headers.get(`link`)?.split(`,`)??[];return a.length>0&&(a.forEach(e=>{let n=parseInt(e.split(`;`)[0].split(`=`)[1].substring(0,1)),r=JSON.parse(e.split(`;`)[1].split(`=`)[1]);t[`${r}Page`]=n}),t.total=parseInt(i)),{data:Object.assign(Object.assign({},r),t),error:null}}catch(e){if(Q(e))return{data:{clients:[]},error:e};throw e}}async _createOAuthClient(e){try{return await $(this.fetch,`POST`,`${this.url}/admin/oauth/clients`,{body:e,headers:this.headers,xform:e=>({data:e,error:null})})}catch(e){if(Q(e))return{data:null,error:e};throw e}}async _getOAuthClient(e){try{return await $(this.fetch,`GET`,`${this.url}/admin/oauth/clients/${e}`,{headers:this.headers,xform:e=>({data:e,error:null})})}catch(e){if(Q(e))return{data:null,error:e};throw e}}async _updateOAuthClient(e,t){try{return await $(this.fetch,`PUT`,`${this.url}/admin/oauth/clients/${e}`,{body:t,headers:this.headers,xform:e=>({data:e,error:null})})}catch(e){if(Q(e))return{data:null,error:e};throw e}}async _deleteOAuthClient(e){try{return await $(this.fetch,`DELETE`,`${this.url}/admin/oauth/clients/${e}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(e){if(Q(e))return{data:null,error:e};throw e}}async _regenerateOAuthClientSecret(e){try{return await $(this.fetch,`POST`,`${this.url}/admin/oauth/clients/${e}/regenerate_secret`,{headers:this.headers,xform:e=>({data:e,error:null})})}catch(e){if(Q(e))return{data:null,error:e};throw e}}async _listCustomProviders(e){try{let t={};return e?.type&&(t.type=e.type),await $(this.fetch,`GET`,`${this.url}/admin/custom-providers`,{headers:this.headers,query:t,xform:e=>({data:{providers:e?.providers??[]},error:null})})}catch(e){if(Q(e))return{data:{providers:[]},error:e};throw e}}async _createCustomProvider(e){try{return await $(this.fetch,`POST`,`${this.url}/admin/custom-providers`,{body:e,headers:this.headers,xform:e=>({data:e,error:null})})}catch(e){if(Q(e))return{data:null,error:e};throw e}}async _getCustomProvider(e){try{return await $(this.fetch,`GET`,`${this.url}/admin/custom-providers/${e}`,{headers:this.headers,xform:e=>({data:e,error:null})})}catch(e){if(Q(e))return{data:null,error:e};throw e}}async _updateCustomProvider(e,t){try{return await $(this.fetch,`PUT`,`${this.url}/admin/custom-providers/${e}`,{body:t,headers:this.headers,xform:e=>({data:e,error:null})})}catch(e){if(Q(e))return{data:null,error:e};throw e}}async _deleteCustomProvider(e){try{return await $(this.fetch,`DELETE`,`${this.url}/admin/custom-providers/${e}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(e){if(Q(e))return{data:null,error:e};throw e}}async _adminListPasskeys(e){om(this.experimental),am(e.userId);try{return await $(this.fetch,`GET`,`${this.url}/admin/users/${e.userId}/passkeys`,{headers:this.headers,xform:e=>({data:e,error:null})})}catch(e){if(Q(e))return{data:null,error:e};throw e}}async _adminDeletePasskey(e){om(this.experimental),am(e.userId),am(e.passkeyId);try{return await $(this.fetch,`DELETE`,`${this.url}/admin/users/${e.userId}/passkeys/${e.passkeyId}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(e){if(Q(e))return{data:null,error:e};throw e}}};function wm(e={}){return{getItem:t=>
45e[t]||null,setItem:(t,n)=>{e[t]=n},removeItem:t=>{delete e[t]}}}globalThis&&Rp()&&globalThis.localStorage&&globalThis.localStorage.getItem(`supabase.gotrue-js.locks.debug`);var Tm=class extends Error{constructor(e){super(e),this.isAcquireTimeout=!0}};function Em(){if(typeof globalThis!=`object`)try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<`u`&&(self.globalThis=self)}}function Dm(e){if(!/^0x[a-fA-F0-9]{40}$/.test(e))throw Error(`@supabase/auth-js: Address "${e}" is invalid.`);return e.toLowerCase()}function Om(e){return parseInt(e,16)}function km(e){let t=new TextEncoder().encode(e);return`0x`+Array.from(t,e=>e.toString(16).padStart(2,`0`)).join(``)}function Am(e){let{chainId:t,domain:n,expirationTime:r,issuedAt:i=new Date,nonce:a,notBefore:o,requestId:s,resources:c,scheme:l,uri:u,version:d}=e;if(!Number.isInteger(t))throw Error(`@supabase/auth-js: Invalid SIWE message field "chainId". Chain ID must be a EIP-155 chain ID. Provided value: ${t}`);if(!n)throw Error(`@supabase/auth-js: Invalid SIWE message field "domain". Domain must be provided.`);if(a&&a.length<8)throw Error(`@supabase/auth-js: Invalid SIWE message field "nonce". Nonce must be at least 8 characters. Provided value: ${a}`);if(!u)throw Error(`@supabase/auth-js: Invalid SIWE message field "uri". URI must be provided.`);if(d!==`1`)throw Error(`@supabase/auth-js: Invalid SIWE message field "version". Version must be '1'. Provided value: ${d}`);if(e.statement?.includes(` 46`))throw Error(`@supabase/auth-js: Invalid SIWE message field "statement". Statement must not include '\\n'. Provided value: ${e.statement}`);let f=Dm(e.address),p=`${l?`${l}://${n}`:n} wants you to sign in with your Ethereum account:\n${f}\n\n${e.statement?`${e.statement}\n`:``}`,m=`URI: ${u}\nVersion: ${d}\nChain ID: ${t}${a?`\nNonce: ${a}`:``}\nIssued At: ${i.toISOString()}`;if(r&&(m+=`\nExpiration Time: ${r.toISOString()}`),o&&(m+=`\nNot Before: ${o.toISOString()}`),s&&(m+=`\nRequest ID: ${s}`),c){let e=` 47Resources:`;for(let t of c){if(!t||typeof t!=`string`)throw Error(`@supabase/auth-js: Invalid SIWE message field "resources". Every resource must be a valid string. Provided value: ${t}`);e+=`\n- ${t}`}m+=e}return`${p}\n${m}`}var jm=class extends Error{constructor({message:e,code:t,cause:n,name:r}){super(e,{cause:n}),this.__isWebAuthnError=!0,this.name=r??(n instanceof Error?n.name:void 0)??`Unknown Error`,this.code=t}toJSON(){return{name:this.name,message:this.message,code:this.code}}},Mm=class extends jm{constructor(e,t){super({code:`ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY`,cause:t,message:e}),this.name=`WebAuthnUnknownError`,this.originalError=t}};function Nm({error:e,options:t}){let{publicKey:n}=t;if(!n)throw Error(`options was missing required publicKey property`);if(e.name===`AbortError`){if(t.signal instanceof AbortSignal)return new jm({message:`Registration ceremony was sent an abort signal`,code:`ERROR_CEREMONY_ABORTED`,cause:e})}else if(e.name===`ConstraintError`){if(n.authenticatorSelection?.requireResidentKey===!0)return new jm({message:`Discoverable credentials were required but no available authenticator supported it`,code:`ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT`,cause:e});if(t.mediation===`conditional`&&n.authenticatorSelection?.userVerification===`required`)return new jm({message:`User verification was required during automatic registration but it could not be performed`,code:`ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE`,cause:e});if(n.authenticatorSelection?.userVerification===`required`)return new jm({message:`User verification was required but no available authenticator supported it`,code:`ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT`,cause:e})}else if(e.name===`InvalidStateError`)return new jm({message:`The authenticator was previously registered`,code:`ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED`,cause:e});else if(e.name===`NotAllowedError`)return new jm({message:e.message,code:`ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY`,cause:e});else if(e.name===`NotSupportedError`)return n.pubKeyCredParams.filter(e=>e.type===`public-key`).length===0?new jm({message:`No entry in pubKeyCredParams was of type "public-key"`,code:`ERROR_MALFORMED_PUBKEYCREDPARAMS`,cause:e}):new jm({message:`No available authenticator supported any of the specified pubKeyCredParams algorithms`,code:`ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG`,cause:e});else if(e.name===`SecurityError`){let t=window.location.hostname;if(!Bm(t))return new jm({message:`${window.location.hostname}
47 is an invalid domain`,code:`ERROR_INVALID_DOMAIN`,cause:e});if(n.rp.id!==t)return new jm({message:`The RP ID "${n.rp.id}" is invalid for this domain`,code:`ERROR_INVALID_RP_ID`,cause:e})}else if(e.name===`TypeError`){if(n.user.id.byteLength<1||n.user.id.byteLength>64)return new jm({message:`User ID was not between 1 and 64 characters`,code:`ERROR_INVALID_USER_ID_LENGTH`,cause:e})}else if(e.name===`UnknownError`)return new jm({message:`The authenticator was unable to process the specified options, or could not create a new credential`,code:`ERROR_AUTHENTICATOR_GENERAL_ERROR`,cause:e});return new jm({message:`a Non-Webauthn related error has occurred`,code:`ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY`,cause:e})}function Pm({error:e,options:t}){let{publicKey:n}=t;if(!n)throw Error(`options was missing required publicKey property`);if(e.name===`AbortError`){if(t.signal instanceof AbortSignal)return new jm({message:`Authentication ceremony was sent an abort signal`,code:`ERROR_CEREMONY_ABORTED`,cause:e})}else if(e.name===`NotAllowedError`)return new jm({message:e.message,code:`ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY`,cause:e});else if(e.name===`SecurityError`){let t=window.location.hostname;if(!Bm(t))return new jm({message:`${window.location.hostname} is an invalid domain`,code:`ERROR_INVALID_DOMAIN`,cause:e});if(n.rpId!==t)return new jm({message:`The RP ID "${n.rpId}" is invalid for this domain`,code:`ERROR_INVALID_RP_ID`,cause:e})}else if(e.name===`UnknownError`)return new jm({message:`The authenticator was unable to process the specified options, or could not create a new assertion signature`,code:`ERROR_AUTHENTICATOR_GENERAL_ERROR`,cause:e});return new jm({message:`a Non-Webauthn related error has occurred`,code:`ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY`,cause:e})}var Fm=new class{createNewAbortSignal(){if(this.controller){let e=Error(`Cancelling existing WebAuthn API call for new one`);e.name=`AbortError`,this.controller.abort(e)}let e=new AbortController;return this.controller=e,e.signal}cancelCeremony(){if(this.controller){let e=Error(`Manually cancelling existing WebAuthn API call`);e.name=`AbortError`,this.controller.abort(e),this.controller=void 0}}};function Im(e){if(!e)throw Error(`Credential creation options are required`);if(typeof PublicKeyCredential<`u`&&`parseCreationOptionsFromJSON`in PublicKeyCredential&&typeof PublicKeyCredential.parseCreationOptionsFromJSON==`function`)return PublicKeyCredential.parseCreationOptionsFromJSON(e);let{challenge:t,user:n,excludeCredentials:r}=e,i=du(e,[`challenge`,`user`,`excludeCredentials`]),a=jp(t).buffer,o=Object.assign(Object.assign({},n),{id:jp(n.id).buffer}),s=Object.assign(Object.assign({},i),{challenge:a,user:o});if(r&&r.length>0){s.excludeCredentials=Array(r.length);for(let e=0;e<r.length;e++){let t=r[e];s.excludeCredentials[e]=Object.assign(Object.assign({},t),{id:jp(t.id).buffer,type:t.type||`public-key`,transports:t.transports})}}return s}function Lm(e){if(!e)throw Error(`Credential request options are required`);if(typeof PublicKeyCredential<`u`&&`parseRequestOptionsFromJSON`in PublicKeyCredential&&typeof PublicKeyCredential.parseRequestOptionsFromJSON==`function`)return PublicKeyCredential.parseRequestOptionsFromJSON(e);let{challenge:t,allowCredentials:n}=e,r=du(e,[`challenge`,`allowCredentials`]),i=jp(t).buffer,a=Object.assign(Object.assign({},r),{challenge:i});if(n&&n.length>0){a.allowCredentials=Array(n.length);for(let e=0;e<n.length;e++){let t=n[e];a.allowCredentials[e]=Object.assign(Object.assign({},t),{id:jp(t.id).buffer,type:t.type||`public-key`,transports:t.transports})}}return a}function Rm(e){if(`toJSON`in e&&typeof e.toJSON==`function`)return e.toJSON();let t=e;return{id:e.id,rawId:e.id,response:{attestationObject:Np(new Uint8Array(e.response.attestationObject)),clientDataJSON:Np(new Uint8Array(e.response.clientDataJSON))},type:`public-key`,clientExtensionResults:e.getClientExtensionResults(),authenticatorAttachment:t.authenticatorAttachment??void 0}}function zm(e){if(`toJSON`in e&&typeof e.toJSON==`function`)return e.toJSON();let t=e,n=e.getClientExtensionResults(),r=e.response;return{id:e.id,rawId:e.id,response:{authenticatorData:Np(new Uint8Array(r.authenticatorData)),clientDataJSON:Np(new Uint8Array(r.clientDataJSON)),signature:Np(new Uint8Array(r.signature)),userHandle:r.userHandle?Np(new Uint8Array(r.userHandle)):void 0},type:`public-key`,clientExtensionResults:n,authenticatorAttachment:t.authenticatorAttachment??void 0}}function Bm(e){return e===`localhost`||/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(e)}function Vm(){return!!(Ip()&&`PublicKeyCredential`in window&&window.PublicKeyCredential&&`credentials`in navigator&&typeof(navigator==null?void 0:navigator.credentials)?.create==`function`&&typeof(navigator==null?void 0:navigator.credentials)?.get==`function`)}async function Hm(e){try{let t=await navigator.credentials.create(e);return t?t instanceof PublicKeyCredential?{data:t,error:null}:{data:null,error:new Mm(`Browser returned unexpected credential type`,t)}:{data:null,error:new Mm(`Empty credential response`,t)}}
47catch(t){return{data:null,error:Nm({error:t,options:e})}}}async function Um(e){try{let t=await navigator.credentials.get(e);return t?t instanceof PublicKeyCredential?{data:t,error:null}:{data:null,error:new Mm(`Browser returned unexpected credential type`,t)}:{data:null,error:new Mm(`Empty credential response`,t)}}catch(t){return{data:null,error:Pm({error:t,options:e})}}}var Wm={hints:[`security-key`],authenticatorSelection:{authenticatorAttachment:`cross-platform`,requireResidentKey:!1,userVerification:`preferred`,residentKey:`discouraged`},attestation:`direct`},Gm={userVerification:`preferred`,hints:[`security-key`],attestation:`direct`};function Km(...e){let t=e=>typeof e==`object`&&!!e&&!Array.isArray(e),n=e=>e instanceof ArrayBuffer||ArrayBuffer.isView(e),r={};for(let i of e)if(i)for(let e in i){let a=i[e];if(a!==void 0)if(Array.isArray(a))r[e]=a;else if(n(a))r[e]=a;else if(t(a)){let n=r[e];t(n)?r[e]=Km(n,a):r[e]=Km(a)}else r[e]=a}return r}function qm(e,t){return Km(Wm,e,t||{})}function Jm(e,t){return Km(Gm,e,t||{})}var Ym=class{constructor(e){this.client=e,this.enroll=this._enroll.bind(this),this.challenge=this._challenge.bind(this),this.verify=this._verify.bind(this),this.authenticate=this._authenticate.bind(this),this.register=this._register.bind(this)}async _enroll(e){return this.client.mfa.enroll(Object.assign(Object.assign({},e),{factorType:`webauthn`}))}async _challenge({factorId:e,webauthn:t,friendlyName:n,signal:r},i){try{let{data:a,error:o}=await this.client.mfa.challenge({factorId:e,webauthn:t});if(!a)return{data:null,error:o};let s=r??Fm.createNewAbortSignal();if(a.webauthn.type===`create`){let{user:e}=a.webauthn.credential_options.publicKey;if(!e.name){let t=n;if(t)e.name=`${e.id}:${t}`;else{let t=(await this.client.getUser()).data.user,n=t?.user_metadata?.name||t?.email||t?.id||`User`;e.name=`${e.id}:${n}`}}e.displayName||=e.name}switch(a.webauthn.type){case`create`:{let{data:t,error:n}=await Hm({publicKey:qm(a.webauthn.credential_options.publicKey,i?.create),signal:s});return t?{data:{factorId:e,challengeId:a.id,webauthn:{type:a.webauthn.type,credential_response:t}},error:null}:{data:null,error:n}}case`request`:{let t=Jm(a.webauthn.credential_options.publicKey,i?.request),{data:n,error:r}=await Um(Object.assign(Object.assign({},a.webauthn.credential_options),{publicKey:t,signal:s}));return n?{data:{factorId:e,challengeId:a.id,webauthn:{type:a.webauthn.type,credential_response:n}},error:null}:{data:null,error:r}}}}catch(e){return Q(e)?{data:null,error:e}:{data:null,error:new op(`Unexpected error in challenge`,e)}}}async _verify({challengeId:e,factorId:t,webauthn:n}){return this.client.mfa.verify({factorId:t,challengeId:e,webauthn:n})}async _authenticate({factorId:e,webauthn:{rpId:t=typeof window<`u`?window.location.hostname:void 0,rpOrigins:n=typeof window<`u`?[window.location.origin]:void 0,signal:r}={}},i){if(!t)return{data:null,error:new rp(`rpId is required for WebAuthn authentication`)};try{if(!Vm())return{data:null,error:new op(`Browser does not support WebAuthn`,null)};let{data:a,error:o}=await this.challenge({factorId:e,webauthn:{rpId:t,rpOrigins:n},signal:r},{request:i});if(!a)return{data:null,error:o};let{webauthn:s}=a;return this._verify({factorId:e,challengeId:a.challengeId,webauthn:{type:s.type,rpId:t,rpOrigins:n,credential_response:s.credential_response}})}catch(e){return Q(e)?{data:null,error:e}:{data:null,error:new op(`Unexpected error in authenticate`,e)}}}async _register({friendlyName:e,webauthn:{rpId:t=typeof window<`u`?window.location.hostname:void 0,rpOrigins:n=typeof window<`u`?[window.location.origin]:void 0,signal:r}={}},i){if(!t)return{data:null,error:new rp(`rpId is required for WebAuthn registration`)};try{if(!Vm())return{data:null,error:new op(`Browser does not support WebAuthn`,null)};let{data:a,error:o}=await this._enroll({friendlyName:e});if(!a)return await this.client.mfa.listFactors().then(t=>t.data?.all.find(t=>t.factor_type===`webauthn`&&t.friendly_name===e&&t.status!==`unverified`)).then(e=>e?this.client.mfa.unenroll({factorId:e?.id}):void 0),{data:null,error:o};let{data:s,error:c}=await this._challenge({factorId:a.id,friendlyName:a.friendly_name,webauthn:{rpId:t,rpOrigins:n},signal:r},{create:i});return s?this._verify({factorId:a.id,challengeId:s.challengeId,webauthn:{rpId:t,rpOrigins:n,type:s.webauthn.type,credential_response:s.webauthn.credential_response}}):{data:null,error:c}}catch(e){return Q(e)?{data:null,error:e}:{data:null,error:new op(`Unexpected error in register`,e)}}}};Em();var Xm={url:Zf,storageKey:Qf,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:$f,flowType:`implicit`,debug:!1,hasCustomAuthorizationHeader:!1,throwOnError:!1,lockAcquireTimeout:5e3,skipAutoInitialize:!1,experimental:{}},Zm={},Qm=class e{get jwks(){return Zm[this.storageKey]?.jwks??{keys:[]}}set jwks(e){Zm[this.storageKey]=Object.assign(Object.assign({},Zm[this.storageKey]),{jwks:e})}get jwks_cached_at(){return Zm[this.storageKey]?.cachedAt??-(2**53-1)}set jwks_cached_at(e){Zm[this.storageKey]=Object.assign(Object.assign({},Zm[this.storageKey]),{cachedAt:e})}constructor(t){var n;this.userStorage=null,this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.autoRefreshTickTimeout=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.lastRefreshFailure=null,this._sessionRemovalEpoch=0,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lock=null,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log;let r=Object.assign(Object.assign({}
47,Xm),t);if(this.storageKey=r.storageKey,this.instanceID=e.nextInstanceID[this.storageKey]??0,e.nextInstanceID[this.storageKey]=this.instanceID+1,this.logDebugMessages=!!r.debug,typeof r.debug==`function`&&(this.logger=r.debug),this.instanceID>0&&Ip()){let e=`${this._logPrefix()} Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.`;console.warn(e),this.logDebugMessages&&console.trace(e)}if(this.persistSession=r.persistSession,this.autoRefreshToken=r.autoRefreshToken,this.experimental=r.experimental??{},this.admin=new Cm({url:r.url,headers:r.headers,fetch:r.fetch,experimental:this.experimental}),this.url=r.url,this.headers=r.headers,this.fetch=Bp(r.fetch),this.detectSessionInUrl=r.detectSessionInUrl,this.flowType=r.flowType,this.hasCustomAuthorizationHeader=r.hasCustomAuthorizationHeader,this.throwOnError=r.throwOnError,this.lockAcquireTimeout=r.lockAcquireTimeout,r.lock!=null&&(this.lock=r.lock),this.jwks||(this.jwks={keys:[]},this.jwks_cached_at=-(2**53-1)),this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this),webauthn:new Ym(this)},this.oauth={getAuthorizationDetails:this._getAuthorizationDetails.bind(this),approveAuthorization:this._approveAuthorization.bind(this),denyAuthorization:this._denyAuthorization.bind(this),listGrants:this._listOAuthGrants.bind(this),revokeGrant:this._revokeOAuthGrant.bind(this)},this.passkey={startRegistration:this._startPasskeyRegistration.bind(this),verifyRegistration:this._verifyPasskeyRegistration.bind(this),startAuthentication:this._startPasskeyAuthentication.bind(this),verifyAuthentication:this._verifyPasskeyAuthentication.bind(this),list:this._listPasskeys.bind(this),update:this._updatePasskey.bind(this),delete:this._deletePasskey.bind(this)},this.persistSession?(r.storage?this.storage=r.storage:Rp()?this.storage=globalThis.localStorage:(this.memoryStorage={},this.storage=wm(this.memoryStorage)),r.userStorage&&(this.userStorage=r.userStorage)):(this.memoryStorage={},this.storage=wm(this.memoryStorage)),Ip()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(e){console.error(`Failed to create a new BroadcastChannel, multi-tab state changes will not be available`,e)}(n=this.broadcastChannel)==null||n.addEventListener(`message`,async e=>{this._debug(`received broadcast notification from other tab or client`,e),(e.data.event===`TOKEN_REFRESHED`||e.data.event===`SIGNED_IN`)&&(this.lastRefreshFailure=null);try{await this._notifyAllSubscribers(e.data.event,e.data.session,!1)}catch(e){this._debug(`#broadcastChannel`,`error`,e)}})}r.skipAutoInitialize||this.initialize().catch(e=>{this._debug(`#initialize()`,`error`,e)})}isThrowOnErrorEnabled(){return this.throwOnError}_returnResult(e){if(this.throwOnError&&e&&e.error)throw e.error;return e}_logPrefix(){return`GoTrueClient@${this.storageKey}:${this.instanceID} (${qf}) ${new Date().toISOString()}`}_debug(...e){return this.logDebugMessages&&this.logger(this._logPrefix(),...e),this}async initialize(){return this.initializePromise||=(async()=>this.lock==null?await this._initialize():await this._acquireLock(this.lockAcquireTimeout,async()=>await this._initialize()))(),await this.initializePromise}async _initialize(){try{let e={},t=`none`;if(Ip()&&(e=zp(window.location.href),this._isImplicitGrantCallback(e)?t=`implicit`:await this._isPKCECallback(e)&&(t=`pkce`)),Ip()&&this.detectSessionInUrl&&t!==`none`){let{data:n,error:r}=await this._getSessionFromURL(e,t);if(r){if(this._debug(`#_initialize()`,`error detecting session from URL`,r),pp(r)){let e=r.details?.code;if(e===`identity_already_exists`||e===`identity_not_found`||e===`single_identity_not_deletable`)return{error:r}}return{error:r}}let{session:i,redirectType:a}=n;return this._debug(`#_initialize()`,`detected session in URL`,i,`redirect type`,a),await this._saveSession(i),setTimeout(async()=>{a===`recovery`?await this._notifyAllSubscribers(`PASSWORD_RECOVERY`,i):await this._notifyAllSubscribers(`SIGNED_IN`,i)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(e){return Q(e)?this._returnResult({error:e}):this._returnResult({error:new op(`Unexpected error during initialization`,e)})}finally{await this._handleVisibilityChange(),this._debug(`#_initialize()`,`end`)}}async signInAnonymously(e){try{let{data:t,error:n}=await $(this.fetch,`POST`,`${this.url}/signup`,{headers:this.headers,body:{data:e?.options?.data??{},gotrue_meta_security:{captcha_token:e?.options?.captchaToken}},xform:hm});if(n||!t)return this._returnResult({data:{user:null,session:null},error:n});let r=t.session,i=t.user;return t.session&&(await this._saveSession(t.session),await this._notifyAllSubscribers(`SIGNED_IN`,r)),this._returnResult({data:{user:i,session:r},error:null})}catch(e){if(Q(e))return this._returnResult({data:{user:null,session:null},error:e});throw e}}async signUp(e){try{let t;if(`email`in e){let{email:n,password:r,options:i}=e,a=null,o=null;this.flowType===`pkce`&&([a,o]=await $p(this.storage,this.storageKey)),t=await $(this.fetch,`POST`,`${this.url}/signup`,{headers:this.headers,redirectTo:i?.emailRedirectTo,body:{email:n,password:r,data:i?.data??{},gotrue_meta_security:{captcha_token:i?.captchaToken},code_challenge:a,code_challenge_method:o},xform:hm})}else if(`phone`in e){let{phone:n,password:r,options:i}=e;t=await $(this.fetch,`POST`,`${this.url}/signup`,{headers:this.headers,body:{phone:n,password:r,data:i?.data??{},channel:i?.channel??`sms`,gotrue_meta_security:{captcha_token:i?.captchaToken}},xform:hm})}else throw new dp(`You must provide either an email or phone number and a password`);let{data:n,error:r}=t;if(r||!n)return await Wp(this.storage,`${this.storageKey}-code-verifier`),this._returnResult({data:{user:null,session:null},error:r});let i=n.session,a=n.user;return n.session&&(await this._saveSession(n.session),await this._notifyAllSubscribers(`SIGNED_IN`,i)),this._returnResult({data:{user:a,session:i},error:null})}catch(e){if(await Wp(this.storage,`${this.storageKey}-code-verifier`),Q(e))return this._returnResult({data:{user:null,session:null},error:e});throw e}}async signInWithPassword(e){try{let t;if(`email`in e){let{email:n,password:r,options:i}=e;t=await $(this.fetch,`POST`,`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:n,password:r,gotrue_meta_security:{captcha_token:i?.captchaToken}},xform:gm})}else if(`phone`in e){let{phone:n,password:r,options:i}=e;t=await $(this.fetch,`POST`,`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:n,password:r,gotrue_meta_security:{captcha_token:i?.captchaToken}},xform:gm})}else throw new dp(`You must provide either an email or phone number and a password`);let{data:n,error:r}=t;if(r)return this._returnResult({data:{user:null,session:null},error:r});if(!n||!n.session||!n.user){let e=new up;return this._returnResult({data:{user:null,session:null},error:e})}return n.session&&(await this._saveSession(n.session),await this._notifyAllSubscribers(`SIGNED_IN`,n.session)),this._returnResult({data:Object.assign({user:n.user,session:n.session},n.weak_password?{weakPassword:n.weak_password}:null),error:r})}catch(e){if(Q(e))return this._returnResult({data:{user:null,session:null},error:e});throw e}}async signInWithOAuth(e){return await this._handleProviderSignIn(e.provider,{redirectTo:e.options?.redirectTo,scopes:e.options?.scopes,queryParams:e.options?.queryParams,skipBrowserRedirect:e.options?.skipBrowserRedirect})}async exchangeCodeForSession(e){return await this.initializePromise,this.lock==null?this._exchangeCodeForSession(e):this._acquireLock(this.lockAcquireTimeout,async()=>this._exchangeCodeForSession(e))}async signInWithWeb3(e){let{chain:t}=e;switch(t){case`ethereum`:return await this.signInWithEthereum(e);case`solana`:return await this.signInWithSolana(e);default:throw Error(`@supabase/auth-js: Unsupported chain "${t}"`)}}async signInWithEthereum(e){let t,n;if(`message`in e)t=e.message,n=e.signature;else{let{chain:r,wallet:i,statement:a,options:o}=e,s;if(!Ip()){if(typeof i!=`object`||!o?.url)throw Error(`@supabase/auth-js: Both wallet and url must be specified in non-browser environments.`);s=i}else if(typeof i==`object`)s=i;else{let e=window;if(`ethereum`in e&&typeof e.ethereum==`object`&&`request`in e.ethereum&&typeof e.ethereum.request==`function`)s=e.ethereum;else throw Error(`@supabase/auth-js: No compatible Ethereum wallet interface on the window object (window.ethereum) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'ethereum', wallet: resolvedUserWallet }) instead.`)}let c=new URL(o?.url??window.location.href),l=await s.request({method:`eth_requestAccounts`}).then(e=>e).catch(()=>{throw Error(`@supabase/auth-js: Wallet method eth_requestAccounts is missing or invalid`)});if(!l||l.length===0)throw Error(`@supabase/auth-js: No accounts available. Please ensure the wallet is connected.`);let u=Dm(l[0]),d=o?.signInWithEthereum?.chainId;d||=Om(await s.request({method:`eth_chainId`})),t=Am({domain:c.host,address:u,statement:a,uri:c.href,version:`1`,chainId:d,nonce:o?.signInWithEthereum?.nonce,issuedAt:o?.signInWithEthereum?.issuedAt??new Date,expirationTime:o?.signInWithEthereum?.expirationTime,notBefore:o?.signInWithEthereum?.notBefore,requestId:o?.signInWithEthereum?.requestId,resources:o?.signInWithEthereum?.resources}),n=await s.request({method:`personal_sign`,params:[km(t),u]})}try{let{data:r,error:i}=await $(this.fetch,`POST`,`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:`ethereum`,message:t,signature:n},e.options?.captchaToken?{gotrue_meta_security:{captcha_token:e.options?.captchaToken}}:null),xform:hm});if(i)throw i;if(!r||!r.session||!r.user){let e=new up;return this._returnResult({data:{user:null,session:null},error:e})}return r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers(`SIGNED_IN`,r.session)),this._returnResult({data:Object.assign({},r),error:i})}catch(e){if(Q(e))return this._returnResult({data:{user:null,session:null},error:e});throw e}}async signInWithSolana(e){let t,n;if(`message`in e)t=e.message,n=e.signature;else{let{chain:r,wallet:i,statement:a,options:o}=e,s;if(!Ip()){if(typeof i!=`object`||!o?.url)throw Error(`@supabase/auth-js: Both wallet and url must be specified in non-browser environments.`);s=i}else if(typeof i==`object`)s=i;else{let e=window;if(`solana`in e&&typeof e.solana==`object`&&(`signIn`in e.solana&&typeof e.solana.signIn==`function`||`signMessage`in e.
47solana&&typeof e.solana.signMessage==`function`))s=e.solana;else throw Error(`@supabase/auth-js: No compatible Solana wallet interface on the window object (window.solana) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'solana', wallet: resolvedUserWallet }) instead.`)}let c=new URL(o?.url??window.location.href);if(`signIn`in s&&s.signIn){let e=await s.signIn(Object.assign(Object.assign(Object.assign({issuedAt:new Date().toISOString()},o?.signInWithSolana),{version:`1`,domain:c.host,uri:c.href}),a?{statement:a}:null)),r;if(Array.isArray(e)&&e[0]&&typeof e[0]==`object`)r=e[0];else if(e&&typeof e==`object`&&`signedMessage`in e&&`signature`in e)r=e;else throw Error(`@supabase/auth-js: Wallet method signIn() returned unrecognized value`);if(`signedMessage`in r&&`signature`in r&&(typeof r.signedMessage==`string`||r.signedMessage instanceof Uint8Array)&&r.signature instanceof Uint8Array)t=typeof r.signedMessage==`string`?r.signedMessage:new TextDecoder().decode(r.signedMessage),n=r.signature;else throw Error(`@supabase/auth-js: Wallet method signIn() API returned object without signedMessage and signature fields`)}else{if(!(`signMessage`in s)||typeof s.signMessage!=`function`||!(`publicKey`in s)||typeof s!=`object`||!s.publicKey||!(`toBase58`in s.publicKey)||typeof s.publicKey.toBase58!=`function`)throw Error(`@supabase/auth-js: Wallet does not have a compatible signMessage() and publicKey.toBase58() API`);t=[`${c.host} wants you to sign in with your Solana account:`,s.publicKey.toBase58(),...a?[``,a,``]:[``],`Version: 1`,`URI: ${c.href}`,`Issued At: ${o?.signInWithSolana?.issuedAt??new Date().toISOString()}`,...o?.signInWithSolana?.notBefore?[`Not Before: ${o.signInWithSolana.notBefore}`]:[],...o?.signInWithSolana?.expirationTime?[`Expiration Time: ${o.signInWithSolana.expirationTime}`]:[],...o?.signInWithSolana?.chainId?[`Chain ID: ${o.signInWithSolana.chainId}`]:[],...o?.signInWithSolana?.nonce?[`Nonce: ${o.signInWithSolana.nonce}`]:[],...o?.signInWithSolana?.requestId?[`Request ID: ${o.signInWithSolana.requestId}`]:[],...o?.signInWithSolana?.resources?.length?[`Resources`,...o.signInWithSolana.resources.map(e=>`- ${e}`)]:[]].join(` 48`);let e=await s.signMessage(new TextEncoder().encode(t),`utf8`);if(!e||!(e instanceof Uint8Array))throw Error(`@supabase/auth-js: Wallet signMessage() API returned an recognized value`);n=e}}try{let{data:r,error:i}=await $(this.fetch,`POST`,`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:`solana`,message:t,signature:Np(n)},e.options?.captchaToken?{gotrue_meta_security:{captcha_token:e.options?.captchaToken}}:null),xform:hm});if(i)throw i;if(!r||!r.session||!r.user){let e=new up;return this._returnResult({data:{user:null,session:null},error:e})}return r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers(`SIGNED_IN`,r.session)),this._returnResult({data:Object.assign({},r),error:i})}catch(e){if(Q(e))return this._returnResult({data:{user:null,session:null},error:e});throw e}}async _exchangeCodeForSession(e){let[t,n]=(await Up(this.storage,`${this.storageKey}-code-verifier`)??``).split(`/`);try{if(!t&&this.flowType===`pkce`)throw new hp;let{data:r,error:i}=await $(this.fetch,`POST`,`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:e,code_verifier:t},xform:hm});if(await Wp(this.storage,`${this.storageKey}-code-verifier`),i)throw i;if(!r||!r.session||!r.user){let e=new up;return this._returnResult({data:{user:null,session:null,redirectType:null},error:e})}return r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers(n===`recovery`?`PASSWORD_RECOVERY`:`SIGNED_IN`,r.session)),this._returnResult({data:Object.assign(Object.assign({},r),{redirectType:n??null}),error:i})}catch(e){if(await Wp(this.storage,`${this.storageKey}-code-verifier`),Q(e))return this._returnResult({data:{user:null,session:null,redirectType:null},error:e});throw e}}async signInWithIdToken(e){try{let{options:t,provider:n,token:r,access_token:i,nonce:a}=e,{data:o,error:s}=await $(this.fetch,`POST`,`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:n,id_token:r,access_token:i,nonce:a,gotrue_meta_security:{captcha_token:t?.captchaToken}},xform:hm});if(s)return this._returnResult({data:{user:null,session:null},error:s});if(!o||!o.session||!o.user){let e=new up;return this._returnResult({data:{user:null,session:null},error:e})}return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers(`SIGNED_IN`,o.session)),this._returnResult({data:o,error:s})}catch(e){if(Q(e))return this._returnResult({data:{user:null,session:null},error:e});throw e}}async signInWithOtp(e){try{if(`email`in e){let{email:t,options:n}=e,r=null,i=null;this.flowType===`pkce`&&([r,i]=await $p(this.storage,this.storageKey));let{error:a}=await $(this.fetch,`POST`,`${this.url}/otp`,{headers:this.headers,body:{email:t,data:n?.data??{},create_user:n?.shouldCreateUser??!0,gotrue_meta_security:{captcha_token:n?.captchaToken},code_challenge:r,code_challenge_method:i},redirectTo:n?.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:a})}if(`phone`in e){let{phone:t,options:n}=e,{data:r,error:i}=await $(this.fetch,`POST`,`${this.url}/otp`,{headers:this.headers,body:{phone:t,data:n?.data??{},create_user:n?.shouldCreateUser??!0,gotrue_meta_security:{captcha_token:n?.captchaToken},channel:n?.channel??`sms`}});return this._returnResult({data:{user:null,session:null,messageId:r?.message_id},error:i})}throw new dp(`You must provide either an email or phone number.`)}catch(e){if(await Wp(this.storage,`${this.storageKey}-code-verifier`),Q(e))return this._returnResult({data:{user:null,session:null},error:e});throw e}}async verifyOtp(e){try{let t,n;`options`in e&&(t=e.options?.redirectTo,n=e.options?.captchaToken);let{data:r,error:i}=await $(this.fetch,`POST`,`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},e),{gotrue_meta_security:{captcha_token:n}}),redirectTo:t,xform:hm});if(i)throw i;if(!r)throw Error(`An error occurred on token verification.`);let a=r.session,o=r.user;return a?.access_token&&(await this._saveSession(a),await this._notifyAllSubscribers(e.type==`recovery`?`PASSWORD_RECOVERY`:`SIGNED_IN`,a)),this._returnResult({data:{user:o,session:a},error:null})}catch(e){if(Q(e))return this._returnResult({data:{user:null,session:null},error:e});throw e}}async signInWithSSO(e){try{let t=null,n=null;this.flowType===`pkce`&&([t,n]=await $p(this.storage,this.storageKey));let r=await $(this.fetch,`POST`,`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},`providerId`in e?{provider_id:e.providerId}:null),`domain`in e?{domain:e.domain}:null),{redirect_to:e.options?.redirectTo??void 0}),e?.options?.captchaToken?{gotrue_meta_security:{captcha_token:e.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:t,code_challenge_method:n}),headers:this.headers,xform:vm});return r.data?.url&&Ip()&&!e.options?.skipBrowserRedirect&&window.location.assign(r.data.url),this._returnResult(r)}catch(e){if(await Wp(this.storage,`${this.storageKey}-code-verifier`),Q(e))return this._returnResult({data:null,error:e});throw e}}async reauthenticate(){return await this.initializePromise,this.lock==null?await this._reauthenticate():await this._acquireLock(this.lockAcquireTimeout,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async e=>{let{data:{session:t},error:n}=e;if(n)throw n;if(!t)throw new cp;let{error:r}=await $(this.fetch,`GET`,`${this.url}/reauthenticate`,{headers:this.headers,jwt:t.access_token});return this._returnResult({data:{user:null,session:null},error:r})})}catch(e){if(Q(e))return this._returnResult({data:{user:null,session:null},error:e});throw e}}async resend(e){try{let t=`${this.url}/resend`;if(`email`in e){let{email:n,type:r,options:i}=e,a=null,o=null;this.flowType===`pkce`&&([a,o]=await $p(this.storage,this.storageKey));let{error:s}=await $(this.fetch,`POST`,t,{headers:this.headers,body:{email:n,type:r,gotrue_meta_security:{captcha_token:i?.captchaToken},code_challenge:a,code_challenge_method:o},redirectTo:i?.emailRedirectTo});return s&&await Wp(this.storage,`${this.storageKey}-code-verifier`),this._returnResult({data:{user:null,session:null},error:s})}else if(`phone`in e){let{phone:n,type:r,options:i}=e,{data:a,error:o}=await $(this.fetch,`POST`,t,{headers:this.headers,body:{phone:n,type:r,gotrue_meta_security:{captcha_token:i?.captchaToken}}});return this._returnResult({data:{user:null,session:null,messageId:a?.message_id},error:o})}throw new dp(`You must provide either an email or phone number and a type`)}catch(e){if(await Wp(this.storage,`${this.storageKey}-code-verifier`),Q(e))return this._returnResult({data:{user:null,session:null},error:e});throw e}}async getSession(){return await this.initializePromise,this.lock==null?await this._useSession(async e=>e):await this._acquireLock(this.lockAcquireTimeout,async()=>this._useSession(async e=>e))}async _acquireLock(e,t){this._debug(`#_acquireLock`,`begin`,e);try{if(this.lockAcquired){let e=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),n=(async()=>(await e,await t()))();return this.pendingInLock.push((async()=>{try{await n}catch{}})()),n}return await this.lock(`lock:${this.storageKey}`,e,async()=>{this._debug(`#_acquireLock`,`lock acquired for storage key`,this.storageKey);try{this.lockAcquired=!0;let e=t();for(this.pendingInLock.push((async()=>{try{await e}catch{}})()),await e;this.pendingInLock.length;){let e=[...this.pendingInLock];await Promise.all(e),this.pendingInLock.splice(0,e.length)}return await e}finally{this._debug(`#_acquireLock`,`lock released for storage key`,this.storageKey),this.lockAcquired=!1}})}finally{this._debug(`#_acquireLock`,`end`)}}async _useSession(e){this._debug(`#_useSession`,`begin`);try{return await e(await this.__loadSession())}finally{this._debug(`#_useSession`,`end`)}}async __loadSession(){this._debug(`#__loadSession()`,`begin`),this.lock!=null&&!this.lockAcquired&&this._debug(`#__loadSession()`,`used outside of an acquired lock!`,Error().stack);try{let e=null,t=await Up(this.storage,this.storageKey);if(this._debug(`#getSession()`,`session from storage`,t),t!==null&&(this._isValidSession(t)?e=t:(this._debug(`#getSession()`,`session from storage is not val
48id`),await this._removeSession())),!e)return{data:{session:null},error:null};let n=e.expires_at?e.expires_at*1e3-Date.now()<Yf:!1;if(this._debug(`#__loadSession()`,`session has${n?``:` not`} expired`,`expires_at`,e.expires_at),!n){if(this.userStorage){let t=await Up(this.userStorage,this.storageKey+`-user`);t?.user?e.user=t.user:e.user=sm()}if(this.storage.isServer&&e.user&&!e.user.__isUserNotAvailableProxy){let t={value:this.suppressGetSessionWarning};e.user=cm(e.user,t),t.value&&(this.suppressGetSessionWarning=!0)}return{data:{session:e},error:null}}let{data:r,error:i}=await this._callRefreshToken(e.refresh_token);if(i){if(e.expires_at&&e.expires_at*1e3>Date.now()){let t=await Up(this.storage,this.storageKey);if(t&&t.refresh_token===e.refresh_token)return this._returnResult({data:{session:e},error:null})}return this._returnResult({data:{session:null},error:i})}return this._returnResult({data:{session:r},error:null})}finally{this._debug(`#__loadSession()`,`end`)}}async getUser(e){if(e)return await this._getUser(e);await this.initializePromise;let t;return t=this.lock==null?await this._getUser():await this._acquireLock(this.lockAcquireTimeout,async()=>await this._getUser()),t.data.user&&(this.suppressGetSessionWarning=!0),t}async _getUser(e){try{return e?await $(this.fetch,`GET`,`${this.url}/user`,{headers:this.headers,jwt:e,xform:_m}):await this._useSession(async e=>{let{data:t,error:n}=e;if(n)throw n;return!t.session?.access_token&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new cp}:await $(this.fetch,`GET`,`${this.url}/user`,{headers:this.headers,jwt:t.session?.access_token??void 0,xform:_m})})}catch(e){if(Q(e))return lp(e)&&(await this._removeSession(),await Wp(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({data:{user:null},error:e});throw e}}async updateUser(e,t={}){return await this.initializePromise,this.lock==null?await this._updateUser(e,t):await this._acquireLock(this.lockAcquireTimeout,async()=>await this._updateUser(e,t))}async _updateUser(e,t={}){try{return await this._useSession(async n=>{let{data:r,error:i}=n;if(i)throw i;if(!r.session)throw new cp;let a=r.session,o=null,s=null;this.flowType===`pkce`&&e.email!=null&&([o,s]=await $p(this.storage,this.storageKey));let{data:c,error:l}=await $(this.fetch,`PUT`,`${this.url}/user`,{headers:this.headers,redirectTo:t?.emailRedirectTo,body:Object.assign(Object.assign({},e),{code_challenge:o,code_challenge_method:s}),jwt:a.access_token,xform:_m});if(l)throw l;return a.user=c.user,await this._saveSession(a),await this._notifyAllSubscribers(`USER_UPDATED`,a),this._returnResult({data:{user:a.user},error:null})})}catch(e){if(await Wp(this.storage,`${this.storageKey}-code-verifier`),Q(e))return this._returnResult({data:{user:null},error:e});throw e}}async setSession(e){return await this.initializePromise,this.lock==null?await this._setSession(e):await this._acquireLock(this.lockAcquireTimeout,async()=>await this._setSession(e))}async _setSession(e){try{if(!e.access_token||!e.refresh_token)throw new cp;let t=Date.now()/1e3,n=t,r=!0,i=null,{payload:a}=Kp(e.access_token);if(a.exp&&(n=a.exp,r=n<=t),r){let{data:t,error:n}=await this._callRefreshToken(e.refresh_token);if(n)return this._returnResult({data:{user:null,session:null},error:n});if(!t)return{data:{user:null,session:null},error:null};i=t}else{let{data:r,error:a}=await this._getUser(e.access_token);if(a)return this._returnResult({data:{user:null,session:null},error:a});i={access_token:e.access_token,refresh_token:e.refresh_token,user:r.user,token_type:`bearer`,expires_in:n-t,expires_at:n},await this._saveSession(i),await this._notifyAllSubscribers(`SIGNED_IN`,i)}return this._returnResult({data:{user:i.user,session:i},error:null})}catch(e){if(Q(e))return this._returnResult({data:{session:null,user:null},error:e});throw e}}async refreshSession(e){return await this.initializePromise,this.lock==null?await this._refreshSession(e):await this._acquireLock(this.lockAcquireTimeout,async()=>await this._refreshSession(e))}async _refreshSession(e){try{return await this._useSession(async t=>{if(!e){let{data:n,error:r}=t;if(r)throw r;e=n.session??void 0}if(!e?.refresh_token)throw new cp;let{data:n,error:r}=await this._callRefreshToken(e.refresh_token);return r?this._returnResult({data:{user:null,session:null},error:r}):n?this._returnResult({data:{user:n.user,session:n},error:null}):this._returnResult({data:{user:null,session:null},error:null})})}catch(e){if(Q(e))return this._returnResult({data:{user:null,session:null},error:e});throw e}}async _getSessionFromURL(e,t){try{if(!Ip())throw new fp(`No browser detected.`);if(e.error||e.error_description||e.error_code)throw new fp(e.error_description||`Error in URL with unspecified error_description`,{error:e.error||`unspecified_error`,code:e.error_code||`unspecified_code`});switch(t){case`implicit`:if(this.flowType===`pkce`)throw new mp(`Not a valid PKCE flow url.`);break;case`pkce`:if(this.flowType===`implicit`)throw new fp(`Not a valid implicit grant flow url.`);break;default:}if(t===`pkce`){if(this._debug(`#_initialize()`,`begin`,`is PKCE flow`,!0),!e.code)throw new mp(`No code detected.`);let{data:t,error:n}=await this._exchangeCodeForSession(e.code);
48if(n)throw n;let r=new URL(window.location.href);return r.searchParams.delete(`code`),window.history.replaceState(window.history.state,``,r.toString()),{data:{session:t.session,redirectType:t.redirectType??null},error:null}}let{provider_token:n,provider_refresh_token:r,access_token:i,refresh_token:a,expires_in:o,expires_at:s,token_type:c}=e;if(!i||!o||!a||!c)throw new fp(`No session defined in URL`);let l=Math.round(Date.now()/1e3),u=parseInt(o),d=l+u;s&&(d=parseInt(s));let f=d-l;f*1e3<=3e4&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${f}s, should have been closer to ${u}s`);let p=d-u;l-p>=120?console.warn(`@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale`,p,d,l):l-p<0&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew`,p,d,l);let{data:m,error:h}=await this._getUser(i);if(h)throw h;let g={provider_token:n,provider_refresh_token:r,access_token:i,expires_in:u,expires_at:d,refresh_token:a,token_type:c,user:m.user};return window.location.hash=``,this._debug(`#_getSessionFromURL()`,`clearing window.location.hash`),this._returnResult({data:{session:g,redirectType:e.type},error:null})}catch(e){if(Q(e))return this._returnResult({data:{session:null,redirectType:null},error:e});throw e}}_isImplicitGrantCallback(e){return typeof this.detectSessionInUrl==`function`?this.detectSessionInUrl(new URL(window.location.href),e):!!(e.access_token||e.error||e.error_description||e.error_code)}async _isPKCECallback(e){let t=await Up(this.storage,`${this.storageKey}-code-verifier`);return!!(e.code&&t)}async signOut(e={scope:`global`}){return await this.initializePromise,this.lock==null?await this._signOut(e):await this._acquireLock(this.lockAcquireTimeout,async()=>await this._signOut(e))}async _signOut({scope:e}={scope:`global`}){return await this._useSession(async t=>{let{data:n,error:r}=t;if(r&&!lp(r))return this._returnResult({error:r});let i=n.session?.access_token;if(i){let{error:t}=await this.admin.signOut(i,e);if(t&&!(ap(t)&&(t.status===404||t.status===401||t.status===403)||lp(t)))return this._returnResult({error:t})}return e!==`others`&&(await this._removeSession(),await Wp(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({error:null})})}onAuthStateChange(e){let t=Fp(),n={id:t,callback:e,unsubscribe:()=>{this._debug(`#unsubscribe()`,`state change callback with id removed`,t),this.stateChangeEmitters.delete(t)}};return this._debug(`#onAuthStateChange()`,`registered callback with id`,t),this.stateChangeEmitters.set(t,n),(async()=>{await this.initializePromise,this.lock==null?await this._emitInitialSession(t):await this._acquireLock(this.lockAcquireTimeout,async()=>{this._emitInitialSession(t)})})(),{data:{subscription:n}}}async _emitInitialSession(e){return await this._useSession(async t=>{try{let{data:{session:n},error:r}=t;if(r)throw r;await this.stateChangeEmitters.get(e)?.callback(`INITIAL_SESSION`,n),this._debug(`INITIAL_SESSION`,`callback id`,e,`session`,n)}catch(t){await this.stateChangeEmitters.get(e)?.callback(`INITIAL_SESSION`,null),this._debug(`INITIAL_SESSION`,`callback id`,e,`error`,t),lp(t)?console.warn(t):console.error(t)}})}async resetPasswordForEmail(e,t={}){let n=null,r=null;this.flowType===`pkce`&&([n,r]=await $p(this.storage,this.storageKey,!0));try{return await $(this.fetch,`POST`,`${this.url}/recover`,{body:{email:e,code_challenge:n,code_challenge_method:r,gotrue_meta_security:{captcha_token:t.captchaToken}},headers:this.headers,redirectTo:t.redirectTo})}catch(e){if(await Wp(this.storage,`${this.storageKey}-code-verifier`),Q(e))return this._returnResult({data:null,error:e});throw e}}async getUserIdentities(){try{let{data:e,error:t}=await this.getUser();if(t)throw t;return this._returnResult({data:{identities:e.user.identities??[]},error:null})}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}}async linkIdentity(e){return`token`in e?this.linkIdentityIdToken(e):this.linkIdentityOAuth(e)}async linkIdentityOAuth(e){try{let{data:t,error:n}=await this._useSession(async t=>{let{data:n,error:r}=t;if(r)throw r;let i=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,e.provider,{redirectTo:e.options?.redirectTo,scopes:e.options?.scopes,queryParams:e.options?.queryParams,skipBrowserRedirect:!0});return await $(this.fetch,`GET`,i,{headers:this.headers,jwt:n.session?.access_token??void 0})});if(n)throw n;return Ip()&&!e.options?.skipBrowserRedirect&&window.location.assign(t?.url),this._returnResult({data:{provider:e.provider,url:t?.url},error:null})}catch(t){if(Q(t))return this._returnResult({data:{provider:e.provider,url:null},error:t});throw t}}async linkIdentityIdToken(e){return await this._useSession(async t=>{try{let{error:n,data:{session:r}}=t;if(n)throw n;let{options:i,provider:a,token:o,access_token:s,nonce:c}=e,{data:l,error:u}=await $(this.fetch,`POST`,`${this.url}/token?grant_type=id_token`,{headers:this.headers,jwt:r?.access_token??void 0,body:{provider:a,id_token:o,access_token:s,nonce:c,link_identity:!0,gotrue_meta_security:{captcha_token:i?.captchaToken}},xform:hm});return u?this._returnResult({data:{user:null,session:null},error:u}):!l||!l.session||!l.user?this._returnResult({data:{user:null,session:null},error:new up}):(l.session&&(await this._saveSession(l.session),await this._notifyAllSubscribers(`USER_UPDATED`,l.session)),this._returnResult({data:l,error:u}))}catch(e){if(await Wp(this.storage,`${this.storageKey}-code-verifier`),Q(e))return this._returnResult({data:{user:null,session:null},error:e});throw e}})}async unlinkIdentity(e){try{return await this._useSession(async t=>{let{data:n,error:r}=t;if(r)throw r;return await $(this.fetch,`DELETE`,`${this.url}/user/identities/${e.identity_id}`,{headers:this.headers,jwt:n.session?.access_token??void 0})})}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}}async _refreshAccessToken(e){let t=`#_refreshAccessToken()`;this._debug(t,`begin`);try{let n=Date.now();return await Jp(async n=>(n>0&&await qp(200*2**(n-1)),this._debug(t,`refreshing attempt`,n),await $(this.fetch,`POST`,`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:e},headers:this.headers,xform:hm})),(e,t)=>{let r=200*2**e;return t&&_p(t)&&Date.now()+r-n<3e4})}catch(e){if(this._debug(t,`error`,e),Q(e))return this._returnResult({data:{session:null,user:null},error:e});throw e}finally{this._debug(t,`end`)}}_isValidSession(e){return typeof e==`object`&&!!e&&`access_token`in e&&`refresh_token`in e&&`expires_at`in e}async _handleProviderSignIn(e,t){let n=await this._getUrlForProvider(`${this.url}/authorize`,e,{redirectTo:t.redirectTo,scopes:t.scopes,queryParams:t.queryParams});return this._debug(`#_handleProviderSignIn()`,`provider`,e,`options`,t,`url`,n),Ip()&&!t.skipBrowserRedirect&&window.location.assign(n),{data:{provider:e,url:n},error:null}}async _recoverAndRefresh(){let e=`#_recoverAndRefresh()`;this._debug(e,`begin`);try{let t=await Up(this.storage,this.storageKey);if(t&&this.userStorage){let e=await Up(this.userStorage,this.storageKey+`-user`);!this.storage.isServer&&Object.is(this.storage,this.userStorage)&&!e&&(e={user:t.user},await Hp(this.userStorage,this.storageKey+`-user`,e)),t.user=e?.user??sm()}else if(t&&!t.user&&!t.user){let e=await Up(this.storage,this.storageKey+`-user`);e&&e?.user?(t.user=e.user,await Wp(this.storage,this.storageKey+`-user`),await Hp(this.storage,this.storageKey,t)):t.user=sm()}if(this._debug(e,`session from storage`,t),!this._isValidSession(t)){this._debug(e,`session is not val
48id`),t!==null&&await this._removeSession();return}let n=(t.expires_at??1/0)*1e3-Date.now()<Yf;if(this._debug(e,`session has${n?``:` not`} expired with margin of ${Yf}s`),n){if(this.autoRefreshToken&&t.refresh_token){let{error:n}=await this._callRefreshToken(t.refresh_token);n&&(yp(n)?this._debug(e,`refresh discarded by commit guard`,n):this._debug(e,`refresh failed`,n))}}else if(t.user&&t.user.__isUserNotAvailableProxy===!0)try{let{data:n,error:r}=await this._getUser(t.access_token);!r&&n?.user?(t.user=n.user,await this._saveSession(t),await this._notifyAllSubscribers(`SIGNED_IN`,t)):this._debug(e,`could not get user data, skipping SIGNED_IN notification`)}catch(t){console.error(`Error getting user data:`,t),this._debug(e,`error getting user data, skipping SIGNED_IN notification`,t)}else await this._notifyAllSubscribers(`SIGNED_IN`,t)}catch(t){this._debug(e,`error`,t),console.error(t);return}finally{this._debug(e,`end`)}}async _callRefreshToken(e){var t,n;if(!e)throw new cp;if(this.refreshingDeferred)return this.refreshingDeferred.promise;if(this.lastRefreshFailure&&this.lastRefreshFailure.refreshToken===e&&Date.now()<this.lastRefreshFailure.expiresAt)return this._debug(`#_callRefreshToken()`,`returning cached failure (cooldown active)`),this.lastRefreshFailure.result;let r=`#_callRefreshToken()`;this._debug(r,`begin`);try{this.refreshingDeferred=new Gp;let t=await Up(this.storage,this.storageKey),{data:n,error:i}=await this._refreshAccessToken(e);if(i)throw i;if(!n.session)throw new cp;let a=await Up(this.storage,this.storageKey);if(t!==null&&(a===null||a.refresh_token!==t.refresh_token)){this._debug(r,`commit guard: storage changed since refresh started, discarding rotated tokens`,{startedWith:`present`,nowHolds:a?`replaced`:`cleared`});let e={data:null,error:new vp};return this.refreshingDeferred.resolve(e),e}let o=this._sessionRemovalEpoch;if(await this._saveSession(n.session),this._sessionRemovalEpoch!==o){this._debug(r,`commit guard (post-save): _removeSession ran during _saveSession, undoing write`),await Wp(this.storage,this.storageKey),this.userStorage&&await Wp(this.userStorage,this.storageKey+`-user`);let e={data:null,error:new vp};return this.refreshingDeferred.resolve(e),e}await this._notifyAllSubscribers(`TOKEN_REFRESHED`,n.session);let s={data:n.session,error:null};return this.lastRefreshFailure=null,this.refreshingDeferred.resolve(s),s}catch(i){if(this._debug(r,`error`,i),Q(i)){let n={data:null,error:i};if(!_p(i)){let e=await Up(this.storage,this.storageKey);e?.expires_at&&e.expires_at*1e3>Date.now()?this._debug(r,`proactive refresh failed, access token still valid â preserving session`):await this._removeSession()}return this.lastRefreshFailure={refreshToken:e,result:n,expiresAt:Date.now()+Xf},(t=this.refreshingDeferred)==null||t.resolve(n),n}throw(n=this.refreshingDeferred)==null||n.reject(i),i}finally{this.refreshingDeferred=null,this._debug(r,`end`)}}async _notifyAllSubscribers(e,t,n=!0){let r=`#_notifyAllSubscribers(${e})`;this._debug(r,`begin`,t,`broadcast = ${n}`);try{this.broadcastChannel&&n&&this.broadcastChannel.postMessage({event:e,session:t});let r=[],i=Array.from(this.stateChangeEmitters.values()).map(async n=>{try{await n.callback(e,t)}catch(e){r.push(e)}});if(await Promise.all(i),r.length>0){for(let e=0;e<r.length;e+=1)console.error(r[e]);throw r[0]}}finally{this._debug(r,`end`)}}async _saveSession(e){this._debug(`#_saveSession()`,e),this.suppressGetSessionWarning=!0,await Wp(this.storage,`${this.storageKey}-code-verifier`);let t=Object.assign({},e),n=t.user&&t.user.__isUserNotAvailableProxy===!0;if(this.userStorage){!n&&t.user&&await Hp(this.userStorage,this.storageKey+`-user`,{user:t.user});let e=Object.assign({},t);delete e.user;let r=lm(e);await Hp(this.storage,this.storageKey,r)}else{let e=lm(t);await Hp(this.storage,this.storageKey,e)}}async _removeSession(){this._sessionRemovalEpoch+=1,this._debug(`#_removeSession()`),this.lastRefreshFailure=null,this.suppressGetSessionWarning=!1,await Wp(this.storage,this.storageKey),await Wp(this.storage,this.storageKey+`-code-verifier`),await Wp(this.storage,this.storageKey+`-user`),this.userStorage&&await Wp(this.userStorage,this.storageKey+`-user`),await this._notifyAllSubscribers(`SIGNED_OUT`,null)}_removeVisibilityChangedCallback(){this._debug(`#_removeVisibilityChangedCallback()`);let e=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{e&&Ip()&&window!=null&&window.removeEventListener&&window.removeEventListener(`visibilitychange`,e)}
48catch(e){console.error(`removing visibilitychange callback failed`,e)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug(`#_startAutoRefresh()`);let e=setInterval(()=>this._autoRefreshTokenTick(),Jf);this.autoRefreshTicker=e,e&&typeof e==`object`&&typeof e.unref==`function`?e.unref():typeof Deno<`u`&&typeof Deno.unrefTimer==`function`&&Deno.unrefTimer(e);let t=setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0);this.autoRefreshTickTimeout=t,t&&typeof t==`object`&&typeof t.unref==`function`?t.unref():typeof Deno<`u`&&typeof Deno.unrefTimer==`function`&&Deno.unrefTimer(t)}async _stopAutoRefresh(){this._debug(`#_stopAutoRefresh()`);let e=this.autoRefreshTicker;this.autoRefreshTicker=null,e&&clearInterval(e);let t=this.autoRefreshTickTimeout;this.autoRefreshTickTimeout=null,t&&clearTimeout(t)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async dispose(){var e;this._removeVisibilityChangedCallback(),await this._stopAutoRefresh(),(e=this.broadcastChannel)==null||e.close(),this.broadcastChannel=null,this.stateChangeEmitters.clear()}async _autoRefreshTokenTick(){if(this._debug(`#_autoRefreshTokenTick()`,`begin`),this.lock!=null){try{await this._acquireLock(0,async()=>{try{let e=Date.now();try{return await this._useSession(async t=>{let{data:{session:n}}=t;if(!n||!n.refresh_token||!n.expires_at){this._debug(`#_autoRefreshTokenTick()`,`no session`);return}let r=Math.floor((n.expires_at*1e3-e)/Jf);this._debug(`#_autoRefreshTokenTick()`,`access token expires in ${r} ticks, a tick lasts ${Jf}ms, refresh threshold is 3 ticks`),r<=3&&await this._callRefreshToken(n.refresh_token)})}catch(e){console.error(`Auto refresh tick failed with error. This is likely a transient error.`,e)}}finally{this._debug(`#_autoRefreshTokenTick()`,`end`)}})}catch(e){if(e instanceof Tm)this._debug(`auto refresh token tick lock not available`);else throw e}return}if(this.refreshingDeferred!==null){this._debug(`#_autoRefreshTokenTick()`,`refresh already in flight, skipping`);return}try{let e=Date.now();try{await this._useSession(async t=>{let{data:{session:n}}=t;if(!n||!n.refresh_token||!n.expires_at){this._debug(`#_autoRefreshTokenTick()`,`no session`);return}let r=Math.floor((n.expires_at*1e3-e)/Jf);this._debug(`#_autoRefreshTokenTick()`,`access token expires in ${r} ticks, a tick lasts ${Jf}ms, refresh threshold is 3 ticks`),r<=3&&await this._callRefreshToken(n.refresh_token)})}catch(e){console.error(`Auto refresh tick failed with error. This is likely a transient error.`,e)}}finally{this._debug(`#_autoRefreshTokenTick()`,`end`)}}async _handleVisibilityChange(){if(this._debug(`#_handleVisibilityChange()`),!Ip()||!(window!=null&&window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>{try{await this._onVisibilityChanged(!1)}catch(e){this._debug(`#visibilityChangedCallback`,`error`,e)}},window==null||window.addEventListener(`visibilitychange`,this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(e){console.error(`_handleVisibilityChange`,e)}}async _onVisibilityChanged(e){let t=`#_onVisibilityChanged(${e})`;if(this._debug(t,`visibilityState`,document.visibilityState),document.visibilityState===`visible`){if(this.autoRefreshToken&&this._startAutoRefresh(),!e)if(await this.initializePromise,this.lock!=null)await this._acquireLock(this.lockAcquireTimeout,async()=>{if(document.visibilityState!==`visible`){this._debug(t,`acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting`);return}await this._recoverAndRefresh()});else{if(document.visibilityState!==`visible`){this._debug(t,`visibilityState is no longer visible, skipping recovery`);return}await this._recoverAndRefresh()}}else document.visibilityState===`hidden`&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(e,t,n){let r=[`provider=${encodeURIComponent(t)}`];if(n?.redirectTo&&r.push(`redirect_to=${encodeURIComponent(n.redirectTo)}`),n?.scopes&&r.push(`scopes=${encodeURIComponent(n.scopes)}`),this.flowType===`pkce`){let[e,t]=await $p(this.storage,this.storageKey),n=new URLSearchParams({code_challenge:`${encodeURIComponent(e)}`,code_challenge_method:`${encodeURIComponent(t)}`});
48r.push(n.toString())}if(n?.queryParams){let e=new URLSearchParams(n.queryParams);r.push(e.toString())}return n?.skipBrowserRedirect&&r.push(`skip_http_redirect=${n.skipBrowserRedirect}`),`${e}?${r.join(`&`)}`}async _unenroll(e){try{return await this._useSession(async t=>{let{data:n,error:r}=t;return r?this._returnResult({data:null,error:r}):await $(this.fetch,`DELETE`,`${this.url}/factors/${e.factorId}`,{headers:this.headers,jwt:n?.session?.access_token})})}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}}async _enroll(e){try{return await this._useSession(async t=>{let{data:n,error:r}=t;if(r)return this._returnResult({data:null,error:r});let i=Object.assign({friendly_name:e.friendlyName,factor_type:e.factorType},e.factorType===`phone`?{phone:e.phone}:e.factorType===`totp`?{issuer:e.issuer}:{}),{data:a,error:o}=await $(this.fetch,`POST`,`${this.url}/factors`,{body:i,headers:this.headers,jwt:n?.session?.access_token});return o?this._returnResult({data:null,error:o}):(e.factorType===`totp`&&a.type===`totp`&&a?.totp?.qr_code&&(a.totp.qr_code=`data:image/svg+xml;utf-8,${a.totp.qr_code}`),this._returnResult({data:a,error:null}))})}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}}async _verify(e){let t=async()=>{try{return await this._useSession(async t=>{let{data:n,error:r}=t;if(r)return this._returnResult({data:null,error:r});let i=Object.assign({challenge_id:e.challengeId},`webauthn`in e?{webauthn:Object.assign(Object.assign({},e.webauthn),{credential_response:e.webauthn.type===`create`?Rm(e.webauthn.credential_response):zm(e.webauthn.credential_response)})}:{code:e.code}),{data:a,error:o}=await $(this.fetch,`POST`,`${this.url}/factors/${e.factorId}/verify`,{body:i,headers:this.headers,jwt:n?.session?.access_token});return o?this._returnResult({data:null,error:o}):(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+a.expires_in},a)),await this._notifyAllSubscribers(`MFA_CHALLENGE_VERIFIED`,a),this._returnResult({data:a,error:o}))})}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}};return this.lock==null?t():this._acquireLock(this.lockAcquireTimeout,t)}async _challenge(e){let t=async()=>{try{return await this._useSession(async t=>{let{data:n,error:r}=t;if(r)return this._returnResult({data:null,error:r});let i=await $(this.fetch,`POST`,`${this.url}/factors/${e.factorId}/challenge`,{body:e,headers:this.headers,jwt:n?.session?.access_token});if(i.error)return i;let{data:a}=i;if(a.type!==`webauthn`)return{data:a,error:null};switch(a.webauthn.type){case`create`:return{data:Object.assign(Object.assign({},a),{webauthn:Object.assign(Object.assign({},a.webauthn),{credential_options:Object.assign(Object.assign({},a.webauthn.credential_options),{publicKey:Im(a.webauthn.credential_options.publicKey)})})}),error:null};case`request`:return{data:Object.assign(Object.assign({},a),{webauthn:Object.assign(Object.assign({},a.webauthn),{credential_options:Object.assign(Object.assign({},a.webauthn.credential_options),{publicKey:Lm(a.webauthn.credential_options.publicKey)})})}),error:null}}})}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}};return this.lock==null?t():this._acquireLock(this.lockAcquireTimeout,t)}async _challengeAndVerify(e){let{data:t,error:n}=await this._challenge({factorId:e.factorId});return n?this._returnResult({data:null,error:n}):await this._verify({factorId:e.factorId,challengeId:t.id,code:e.code})}async _listFactors(){let{data:{user:e},error:t}=await this.getUser();if(t)return{data:null,error:t};let n={all:[],phone:[],totp:[],webauthn:[]};for(let t of e?.factors??[])n.all.push(t),t.status===`verified`&&n[t.factor_type].push(t);return{data:n,error:null}}async _getAuthenticatorAssuranceLevel(e){if(e)try{let{payload:t}=Kp(e),n=null;t.aal&&(n=t.aal);let r=n,{data:{user:i},error:a}=await this.getUser(e);if(a)return this._returnResult({data:null,error:a});((i?.factors)?.filter(e=>e.status===`verified`)??[]).length>0&&(r=`aal2`);let o=t.amr||[];return{data:{currentLevel:n,nextLevel:r,currentAuthenticationMethods:o},error:null}}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}let{data:{session:t},error:n}
48=await this.getSession();if(n)return this._returnResult({data:null,error:n});if(!t)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};let{payload:r}=Kp(t.access_token),i=null;r.aal&&(i=r.aal);let a=i;(t.user.factors?.filter(e=>e.status===`verified`)??[]).length>0&&(a=`aal2`);let o=r.amr||[];return{data:{currentLevel:i,nextLevel:a,currentAuthenticationMethods:o},error:null}}async _getAuthorizationDetails(e){try{return await this._useSession(async t=>{let{data:{session:n},error:r}=t;return r?this._returnResult({data:null,error:r}):n?await $(this.fetch,`GET`,`${this.url}/oauth/authorizations/${e}`,{headers:this.headers,jwt:n.access_token,xform:e=>({data:e,error:null})}):this._returnResult({data:null,error:new cp})})}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}}async _approveAuthorization(e,t){try{return await this._useSession(async n=>{let{data:{session:r},error:i}=n;if(i)return this._returnResult({data:null,error:i});if(!r)return this._returnResult({data:null,error:new cp});let a=await $(this.fetch,`POST`,`${this.url}/oauth/authorizations/${e}/consent`,{headers:this.headers,jwt:r.access_token,body:{action:`approve`},xform:e=>({data:e,error:null})});return a.data&&a.data.redirect_url&&Ip()&&!t?.skipBrowserRedirect&&window.location.assign(a.data.redirect_url),a})}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}}async _denyAuthorization(e,t){try{return await this._useSession(async n=>{let{data:{session:r},error:i}=n;if(i)return this._returnResult({data:null,error:i});if(!r)return this._returnResult({data:null,error:new cp});let a=await $(this.fetch,`POST`,`${this.url}/oauth/authorizations/${e}/consent`,{headers:this.headers,jwt:r.access_token,body:{action:`deny`},xform:e=>({data:e,error:null})});return a.data&&a.data.redirect_url&&Ip()&&!t?.skipBrowserRedirect&&window.location.assign(a.data.redirect_url),a})}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}}async _listOAuthGrants(){try{return await this._useSession(async e=>{let{data:{session:t},error:n}=e;return n?this._returnResult({data:null,error:n}):t?await $(this.fetch,`GET`,`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:t.access_token,xform:e=>({data:e,error:null})}):this._returnResult({data:null,error:new cp})})}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}}async _revokeOAuthGrant(e){try{return await this._useSession(async t=>{let{data:{session:n},error:r}=t;return r?this._returnResult({data:null,error:r}):n?(await $(this.fetch,`DELETE`,`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:n.access_token,query:{client_id:e.clientId},noResolveJson:!0}),{data:{},error:null}):this._returnResult({data:null,error:new cp})})}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}}async fetchJwk(e,t={keys:[]}){let n=t.keys.find(t=>t.kid===e);if(n)return n;let r=Date.now();if(n=this.jwks.keys.find(t=>t.kid===e),n&&this.jwks_cached_at+6e5>r)return n;let{data:i,error:a}=await $(this.fetch,`GET`,`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(a)throw a;return!i.keys||i.keys.length===0||(this.jwks=i,this.jwks_cached_at=r,n=i.keys.find(t=>t.kid===e),!n)?null:n}async getClaims(e,t={}){try{let n=e;if(!n){let{data:e,error:t}
48=await this.getSession();if(t||!e.session)return this._returnResult({data:null,error:t});n=e.session.access_token}let{header:r,payload:i,signature:a,raw:{header:o,payload:s}}=Kp(n);if(!t?.allowExpired)try{nm(i.exp)}catch(e){throw new xp(e instanceof Error?e.message:`JWT validation failed`)}let c=!r.alg||r.alg.startsWith(`HS`)||!r.kid||!(`crypto`in globalThis&&`subtle`in globalThis.crypto)?null:await this.fetchJwk(r.kid,t?.keys?{keys:t.keys}:t?.jwks);if(!c){let{error:e}=await this.getUser(n);if(e)throw e;return{data:{claims:i,header:r,signature:a},error:null}}let l=rm(r.alg),u=await crypto.subtle.importKey(`jwk`,c,l,!0,[`verify`]);if(!await crypto.subtle.verify(l,u,a,Mp(`${o}.${s}`)))throw new xp(`Invalid JWT signature`);return{data:{claims:i,header:r,signature:a},error:null}}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}}async signInWithPasskey(e){om(this.experimental);try{if(!Vm())return this._returnResult({data:null,error:new op(`Browser does not support WebAuthn`,null)});let{data:t,error:n}=await this._startPasskeyAuthentication({options:{captchaToken:e?.options?.captchaToken}});if(n||!t)return this._returnResult({data:null,error:n});let{data:r,error:i}=await Um({publicKey:Lm(t.options),signal:e?.options?.signal??Fm.createNewAbortSignal()});if(i||!r)return this._returnResult({data:null,error:i??new op(`WebAuthn ceremony failed`,null)});let a=zm(r);return this._verifyPasskeyAuthentication({challengeId:t.challenge_id,credential:a})}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}}async registerPasskey(e){om(this.experimental);try{if(!Vm())return this._returnResult({data:null,error:new op(`Browser does not support WebAuthn`,null)});let{data:t,error:n}=await this._startPasskeyRegistration();if(n||!t)return this._returnResult({data:null,error:n});let{data:r,error:i}=await Hm({publicKey:Im(t.options),signal:e?.options?.signal??Fm.createNewAbortSignal()});if(i||!r)return this._returnResult({data:null,error:i??new op(`WebAuthn ceremony failed`,null)});let a=Rm(r);return this._verifyPasskeyRegistration({challengeId:t.challenge_id,credential:a})}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}}async _startPasskeyRegistration(){om(this.experimental);try{return await this._useSession(async e=>{let{data:{session:t},error:n}=e;if(n)return this._returnResult({data:null,error:n});if(!t)return this._returnResult({data:null,error:new cp});let{data:r,error:i}=await $(this.fetch,`POST`,`${this.url}/passkeys/registration/options`,{headers:this.headers,jwt:t.access_token,body:{}});return i?this._returnResult({data:null,error:i}):this._returnResult({data:r,error:null})})}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}}async _verifyPasskeyRegistration(e){om(this.experimental);try{return await this._useSession(async t=>{let{data:{session:n},error:r}=t;if(r)return this._returnResult({data:null,error:r});if(!n)return this._returnResult({data:null,error:new cp});let{data:i,error:a}=await $(this.fetch,`POST`,`${this.url}/passkeys/registration/verify`,{headers:this.headers,jwt:n.access_token,body:{challenge_id:e.challengeId,credential:e.credential}});return a?this._returnResult({data:null,error:a}):this._returnResult({data:i,error:null})})}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}}async _startPasskeyAuthentication(e){om(this.experimental);try{let{data:t,error:n}=await $(this.fetch,`POST`,`${this.url}/passkeys/authentication/options`,{headers:this.headers,body:{gotrue_meta_security:{captcha_token:e?.options?.captchaToken}}});return n?this._returnResult({data:null,error:n}):this._returnResult({data:t,error:null})}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}}async _verifyPasskeyAuthentication(e){om(this.experimental);try{let{data:t,error:n}=await $(this.fetch,`POST`,`${this.url}/passkeys/authentication/verify`,{headers:this.headers,body:{challenge_id:e.challengeId,credential:e.credential},xform:hm});return n?this._returnResult({data:null,error:n}):(t.session&&(await this._saveSession(t.session),await this._notifyAllSubscribers(`SIGNED_IN`,t.session)),this._returnResult({data:t,error:null}))}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}}async _listPasskeys(){om(this.experimental);try{return await this._useSession(async e=>{let{data:{session:t},error:n}=e;if(n)return this._returnResult({data:null,error:n});if(!t)return this._returnResult({data:null,error:new cp});let{data:r,error:i}=await $(this.fetch,`GET`,`${this.url}/passkeys`,{headers:this.headers,jwt:t.access_token,xform:e=>({data:e,error:null})});return i?this._returnResult({data:null,error:i}):this._returnResult({data:r,error:null})})}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}}async _updatePasskey(e){om(this.experimental);try{return await this._useSession(async t=>{let{data:{session:n},error:r}=t;if(r)return this._returnResult({data:null,error:r});if(!n)return this._returnResult({data:null,error:new cp});let{data:i,error:a}=await $(this.fetch,`PATCH`,`${this.url}/passkeys/${e.passkeyId}`,{headers:this.headers,jwt:n.access_token,body:{friendly_name:e.friendlyName}});return a?this._returnResult({data:null,error:a}):this._returnResult({data:i,error:null})})}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}}async _deletePasskey(e){om(this.experimental);try{return await this._useSession(async t=>{let{data:{session:n},error:r}=t;if(r)return this._returnResult({data:null,error:r});if(!n)return this._returnResult({data:null,error:new cp});let{error:i}=await $(this.fetch,`DELETE`,`${this.url}/passkeys/${e.passkeyId}`,{headers:this.headers,jwt:n.access_token,noResolveJson:!0});return i?this._returnResult({data:null,error:i}):this._returnResult({data:null,error:null})})}catch(e){if(Q(e))return this._returnResult({data:null,error:e});throw e}}};Qm.nextInstanceID={};var $m=Qm,eh=`2.108.2`,th=``,nh;typeof Deno<`u`?(th=`deno`,nh=Deno.version?.deno):typeof document<`u`?th=`web`:typeof navigator<`u`&&navigator.product===`ReactNative`?th=`react-native`:(th=`no
48de`,nh=typeof process<`u`?process.version?.replace(/^v/,``):void 0);var rh=[`runtime=${th}`];nh&&rh.push(`runtime-version=${nh}`);var ih={headers:{"X-Client-Info":`supabase-js/${eh}; ${rh.join(`; `)}`}},ah={schema:`public`},oh={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:`implicit`},sh={},ch={enabled:!1,respectSamplingDecision:!0};function lh(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})}var uh=null,dh=`@opentelemetry/api`;function fh(){return uh===null&&(uh=k(()=>import(dh),[]).catch(()=>null)),uh}function ph(){return lh(this,void 0,void 0,function*(){try{let e=yield fh();if(!e||!e.propagation||!e.context)return null;let t={};e.propagation.inject(e.context.active(),t);let n=t.traceparent;return n?{traceparent:n,tracestate:t.tracestate,baggage:t.baggage}:null}catch{return null}})}function mh(e){if(!e||typeof e!=`string`)return null;let t=e.split(`-`);if(t.length!==4)return null;let[n,r,i,a]=t;if(n.length!==2||r.length!==32||i.length!==16||a.length!==2)return null;let o=/^[0-9a-f]+$/i;return!o.test(n)||!o.test(r)||!o.test(i)||!o.test(a)||r===`00000000000000000000000000000000`||i===`0000000000000000`?null:{version:n,traceId:r,parentId:i,traceFlags:a,isSampled:(parseInt(a,16)&1)==1}}function hh(e,t){if(!e||!t||t.length===0)return!1;let n;if(e instanceof URL)n=e;else try{n=new URL(e)}catch{return!1}for(let e of t)try{if(typeof e==`string`){if(gh(n.hostname,e))return!0}else if(e instanceof RegExp){if(e.test(n.hostname))return!0}else if(typeof e==`function`&&e(n))return!0}catch{continue}return!1}function gh(e,t){if(t===e)return!0;if(t.startsWith(`*.`)){let n=t.slice(2);if(e.endsWith(n)&&(e===n||e.endsWith(`.`+n)))return!0}return!1}function _h(e){let t=[];try{let n=new URL(e);t.push(n.hostname)}catch{}return t.push(`*.supabase.co`,`*.supabase.in`),t.push(`localhost`,`127.0.0.1`,`[::1]`),t}function vh(e){"@babel/helpers - typeof";return vh=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},vh(e)}function yh(e,t){if(vh(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(vh(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function bh(e){var t=yh(e,`string`);return vh(t)==`symbol`?t:t+``}function xh(e,t,n){return(t=bh(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ch(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Sh(Object(n),!0).forEach(function(t){xh(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sh(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var wh=e=>e?(...t)=>e(...t):(...e)=>fetch(...e),Th=()=>Headers,Eh=(e,t,n,r,i)=>{let a=wh(r),o=Th(),s=i?.enabled===!0,c=i?.respectSamplingDecision!==!1,l=s?_h(t):null;return async(t,r)=>{let i=await n()??e,s=new o(r?.headers);if(s.has(`apikey`)||s.set(`apikey`,e),s.has(`Authorization`)||s.set(`Authorization`,`Bearer ${i}`),l){let e=await Dh(t,l,c);e&&(e.traceparent&&!s.has(`traceparent`)&&s.set(`traceparent`,e.traceparent),e.tracestate&&!s.has(`tracestate`)&&s.set(`tracestate`,e.tracestate),e.baggage&&!s.has(`baggage`)&&s.set(`baggage`,e.baggage))}return a(t,Ch(Ch({},r),{},{headers:s}))}};async function Dh(e,t,n){if(!hh(typeof e==`string`||e instanceof URL?e:e.url,t))return null;let r=await ph();if(!r||!r.traceparent)return null;if(n){let e=mh(r.traceparent);if(e&&!e.isSampled)return null}return r}function Oh(e){return typeof e==`boolean`?{enabled:e}:e}function kh(e){return e.endsWith(`/`)?e:e+`/`}function Ah(e,t){let{db:n,auth:r,realtime:i,global:a}=e,{db:o,auth:s,realtime:c,global:l}=t,u=Oh(e.tracePropagation),d=Oh(t.tracePropagation),f={db:Ch(Ch({},o),n),auth:Ch(Ch({},s),r),realtime:Ch(Ch({},c),i),storage:{},global:Ch(Ch(Ch({},l),a),{},{headers:Ch(Ch({},l?.headers??{}),a?.headers??{})}),tracePropagation:{enabled:u?.enabled??d?.enabled??!1,respectSamplingDecision:u?.respectSamplingDecision??d?.respectSamplingDecision??!0},accessToken:async()=>``};return e.accessToken?f.accessToken=e.accessToken:delete f.accessToken,f}function jh(e){let t=e?.trim();if(!t)throw Error(`supabaseUrl is required.`);if(!t.match(/^https?:\/\//i))throw Error(`Invalid supabaseUrl: Must be a valid HTTP or HTTPS URL.`);try{return new URL(kh(t))}catch{throw Error(`Invalid supabaseUrl: Provided URL is malformed.`)}}var Mh=class extends $m{constructor(e){super(e)}},Nh=class{constructor(e,t,n){this.supabaseUrl=e,this.supabaseKey=t;let r=jh(e);if(!t)throw Error(`supabaseKey is required.`);this.realtimeUrl=new URL(`realtime/v1`,r),this.realtimeUrl.protocol=this.realtimeUrl.protocol.replace(`http`,`ws`),this.authUrl=new URL(`auth/v1`,r),this.storageUrl=new URL(`storage/v1`,r),this.functionsUrl=new URL(`functions/v1`,r);let i=`sb-${r.hostname.split(`.`)[0]}-auth-token`,a={db:ah,realtime:sh,auth:Ch(Ch({},oh),{},{storageKey:i}),global:ih,tracePropagation:ch},o=Ah(n??{},a);this.settings=o,this.storageKey=o.auth.storageKey??``,this.headers=o.global.headers??{},o.accessToken?(this.accessToken=o.accessToken,this.auth=new Proxy({},{get:(e,t)=>{throw Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(t)} is not possible`)}})):this.auth=this._initSupabaseAuthClient(o.auth??{},this.headers,o.global.fetch),this.fetch=Eh(t,e,this._getAccessToken.bind(this),o.global.fetch,o.tracePropagation),this.realtime=this._initRealtimeClient(Ch({headers:this.headers,accessToken:this._getAccessToken.bind(this),fetch:this.fetch},o.realtime)),this.accessToken&&Promise.resolve(this.accessToken()).then(e=>this.realtime.setAuth(e)).catch(e=>console.warn(`Failed to set initial Realtime auth token:`,e)),this.rest=new Ru(new URL(`rest/v1`,r).href,{headers:this.headers,schema:o.db.schema,fetch:this.fetch,timeout:o.db.timeout,urlLengthLimit:o.db.urlLengthLimit}),this.storage=new Kf(this.storageUrl.href,this.headers,this.fetch,n?.storage),o.accessToken||this._listenForAuthEvents()}get functions(){return new yu(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}from(e){return this.rest.from(e)}schema(e){return this.rest.schema(e)}rpc(e,t={},n={head:!1,get:!1,count:void 0}){return this.rest.rpc(e,t,n)}
48channel(e,t={config:{}}){return this.realtime.channel(e,t)}getChannels(){return this.realtime.getChannels()}removeChannel(e){return this.realtime.removeChannel(e)}removeAllChannels(){return this.realtime.removeAllChannels()}async _getAccessToken(){var e=this;if(e.accessToken)return await e.accessToken();let{data:t}=await e.auth.getSession();return t.session?.access_token??e.supabaseKey}_initSupabaseAuthClient({autoRefreshToken:e,persistSession:t,detectSessionInUrl:n,storage:r,userStorage:i,storageKey:a,flowType:o,lock:s,debug:c,throwOnError:l,experimental:u,lockAcquireTimeout:d,skipAutoInitialize:f},p,m){let h={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new Mh({url:this.authUrl.href,headers:Ch(Ch({},h),p),storageKey:a,autoRefreshToken:e,persistSession:t,detectSessionInUrl:n,storage:r,userStorage:i,flowType:o,lock:s,debug:c,throwOnError:l,experimental:u,fetch:m,lockAcquireTimeout:d,skipAutoInitialize:f,hasCustomAuthorizationHeader:Object.keys(this.headers).some(e=>e.toLowerCase()===`authorization`)})}_initRealtimeClient(e){return new Kd(this.realtimeUrl.href,Ch(Ch({},e),{},{params:Ch(Ch({},{apikey:this.supabaseKey}),e?.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((e,t)=>{this._handleTokenChanged(e,`CLIENT`,t?.access_token)})}_handleTokenChanged(e,t,n){(e===`TOKEN_REFRESHED`||e===`SIGNED_IN`)&&this.changedAccessToken!==n?(this.changedAccessToken=n,this.realtime.setAuth(n)):e===`SIGNED_OUT`&&(this.realtime.setAuth(),t==`STORAGE`&&this.auth.signOut(),this.changedAccessToken=void 0)}},Ph=(e,t,n)=>new Nh(e,t,n);function Fh(){if(typeof window<`u`)return!1;let e=globalThis.process;if(!e)return!1;let t=e.version;if(t==null)return!1;let n=t.match(/^v(\d+)\./);return n?parseInt(n[1],10)<=18:!1}Fh()&&console.warn(`â ï¸ Node.js 18 and below are deprecated and will no longer be supported in future versions of @supabase/supabase-js. Please upgrade to Node.js 20 or later. For more information, visit: https://github.com/orgs/supabase/discussions/37217`);function Ih(){if(typeof window>`u`)return;let e=location.hostname,t=[`lovableproject.com`,`lovableproject-dev.com`,`lovable.app`,`gpt-eng.com`,`gptengineer.run`].some(t=>e===t||e.endsWith(`.`+t))?e.match(RegExp(`^(?:id-preview(?:-[a-z0-9]+)?|project)--([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})(?:-dev)?(?=\\.|$)`,`i`))?.[1]??e.match(RegExp(`^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})(?=[.-])`,`i`))?.[1]:void 0,n=window.parent&&window.parent!==window;if(!t||!n)return localStorage;let r=e.endsWith(`.lovableproject-dev.com`)||e.endsWith(`.gpt-eng.com`),i=r?/^https:\/\/([a-z0-9-]+\.)*(lovable\.dev|gptengineer\.app)$|^http:\/\/localhost:3000$/:/^https:\/\/([a-z0-9-]+\.)*(lovable\.dev|gptengineer\.app)$/,a=location.ancestorOrigins&&location.ancestorOrigins[0]||(document.referrer?new URL(document.referrer).origin:``),o=a&&i.test(a)?[a]:r?[`https://lovable.dev`,`http://localhost:3000`]:[`https://lovable.dev`],s=()=>Math.random().toString(36).slice(2)+Date.now().toString(36),c=(e,n,r)=>new Promise(i=>{let a=s(),c=!1,l,u=e=>{c||(c=!0,clearTimeout(l),window.removeEventListener(`message`,d),i(e))},d=e=>{if(o.indexOf(e.origin)<0)return;let t=e.data;t&&t.type===`lovable-preview-auth:result`&&t.requestId===a&&u(t)};window.addEventListener(`message`,d);let f={type:e,requestId:a,projectId:t,key:n};r!==void 0&&(f.value=r);for(let e of o)window.parent.postMessage(f,e);l=setTimeout(()=>u(null),2e3)}),l=!0;return{getItem:async e=>{let t=await c(`lovable-preview-auth:get`,e);return!t&&l&&(await new Promise(e=>setTimeout(e,250)),t=await c(`lovable-preview-auth:get`,e)),l=!1,t&&t.ok&&typeof t.value==`string`?t.value===``?(localStorage.removeItem(e),null):t.value:localStorage.getItem(e)},setItem:(e,t)=>(localStorage.setItem(e,t),c(`lovable-preview-auth:set`,e,t).then(()=>void 0)),removeItem:e=>(localStorage.removeItem(e),c(`lovable-preview-auth:remove`,e).then(()=>void 0))}}function Lh(){return Ph(`https://pkcipwgsgidtbhsqospb.supabase.co`,`eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InBrY2lwd2dzZ2lkdGJoc3Fvc3BiIiwicm9sZSI6ImFub24iLCJpYXQiOjE3ODE3NjQ2MjksImV4cCI6MjA5NzM0MDYyOX0.MLR0yM9OfQUh_CNFF-kXbbDSWSBUVnanrNzH8brGr2A`,{auth:{storage:Ih(),persistSession:!0,autoRefreshToken:!0}})}var Rh,zh=new Proxy({},{get(e,t,n){return Rh||=Lh(),Reflect.get(Rh,t,n)}});function Bh(){return zh.auth.oauth}var Vh=ys(`/.lovable/oauth/consent`)({validateSearch:e=>
48({authorization_id:typeof e.authorization_id==`string`?e.authorization_id:``}),beforeLoad:async({search:e})=>{if(!e.authorization_id)throw Error(`Missing authorization_id`);let{data:t}=await zh.auth.getSession();if(!t.session)throw rt({to:`/`})},loader:async({location:e})=>{let t=new URLSearchParams(e.search).get(`authorization_id`),{data:n,error:r}=await Bh().getAuthorizationDetails(t);if(r)throw r;let i=n?.redirect_url??n?.redirect_to;if(i&&!n?.client)throw rt({href:i});return n},component:B(()=>k(()=>import(`./_._lovable.oauth.consent-D9wCN93c.js`),__vite__mapDeps([42,1,6])),`component`),errorComponent:B(()=>k(()=>import(`./_._lovable.oauth.consent-CYVHsCAD.js`),__vite__mapDeps([43,1])),`errorComponent`)}),Hh=gl.update({id:`/voice`,path:`/voice`,getParentRoute:()=>H}),Uh=_l.update({id:`/scouter`,path:`/scouter`,getParentRoute:()=>H}),Wh=vl.update({id:`/marketing`,path:`/marketing`,getParentRoute:()=>H}),Gh=yl.update({id:`/group`,path:`/group`,getParentRoute:()=>H}),Kh=El.update({id:`/gallery`,path:`/gallery`,getParentRoute:()=>H}),qh=U.update({id:`/fragrance`,path:`/fragrance`,getParentRoute:()=>H}),Jh=W.update({id:`/culture`,path:`/culture`,getParentRoute:()=>H}),Yh=G.update({id:`/contact`,path:`/contact`,getParentRoute:()=>H}),Xh=K.update({id:`/competitions`,path:`/competitions`,getParentRoute:()=>H}),Zh=q.update({id:`/art`,path:`/art`,getParentRoute:()=>H}),Qh=Ul.update({id:`/about`,path:`/about`,getParentRoute:()=>H}),$h=Gl.update({id:`/`,path:`/`,getParentRoute:()=>H}),eg=Kl.update({id:`/notes/`,path:`/notes/`,getParentRoute:()=>H}),tg=ql.update({id:`/magazine/`,path:`/magazine/`,getParentRoute:()=>H}),ng=Jl.update({id:`/artists/`,path:`/artists/`,getParentRoute:()=>H}),rg=Yl.update({id:`/writer/$id`,path:`/writer/$id`,getParentRoute:()=>H}),ig=Xl.update({id:`/notes/$slug`,path:`/notes/$slug`,getParentRoute:()=>H}),ag=tu.update({id:`/magazine/$slug`,path:`/magazine/$slug`,getParentRoute:()=>H}),og=au.update({id:`/curation/$key`,path:`/curation/$key`,getParentRoute:()=>H}),sg=ou.update({id:`/artwork/$id`,path:`/artwork/$id`,getParentRoute:()=>H}),cg={IndexRoute:$h,AboutRoute:Qh,ArtRoute:Zh,CompetitionsRoute:Xh,ContactRoute:Yh,CultureRoute:Jh,FragranceRoute:qh,GalleryRoute:Kh,GroupRoute:Gh,MarketingRoute:Wh,ScouterRoute:Uh,VoiceRoute:Hh,ArtistsIdRoute:uu.update({id:`/artists/$id`,path:`/artists/$id`,getParentRoute:()=>H}),ArtworkIdRoute:sg,CurationKeyRoute:og,MagazineSlugRoute:ag,NotesSlugRoute:ig,WriterIdRoute:rg,ArtistsIndexRoute:ng,MagazineIndexRoute:tg,NotesIndexRoute:eg,DotlovableOauthConsentRoute:Vh.update({id:`/.lovable/oauth/consent`,path:`/.lovable/oauth/consent`,getParentRoute:()=>H})},lg=H._addFileChildren(cg),ug=()=>Ps({routeTree:lg,context:{queryClient:new qc},scrollRestoration:!0,defaultPreloadStaleTime:0});async function dg(){let e=await ug(),t;if(Ys){let n=await Ys.getOptions();n.serializationAdapters=n.serializationAdapters??[],window.__TSS_START_OPTIONS__=n,t=n.serializationAdapters,e.options.defaultSsr=n.defaultSsr}else t=[],window.__TSS_START_OPTIONS__={serializationAdapters:t};return t.push(Ao),e.options.serializationAdapters&&t.push(...e.options.serializationAdapters),e.update({basepath:``,serializationAdapters:t}),e.stores.matchesId.get().length||await No(e),e}async function fg(){let e=await dg();return window.$_TSR?.h(),e}var pg;function mg(){return pg||=fg(),(0,R.jsx)(Fo,{promise:pg,children:e=>(0,R.jsx)(Ls,{router:e})})}var hg=De();(0,L.startTransition)(()=>{(0,hg.hydrateRoot)(document,(0,R.jsx)(L.StrictMode,{children:(0,R.jsx)(mg,{})}))});export{it as C,Ae as D,Ie as E,ko as S,Le as T,kl as _,cu as a,rl as b,au as c,tu as d,Xl as f,Vl as g,Bl as h,uu as i,nu as l,Wl as m,Bh as n,su as o,Yl as p,zh as r,ou as s,Vh as t,iu as u,bl as v,at as w,Zc as x,xl as y};
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.