PageSourceSearch

https://quantaste.com/_next/static/chunks/6937-4bd0a32056936c04.js

js quantaste.com collected 2026-10-02 00:55:09 UTC 16,938 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6937],{2564:(e,t,n)=>{"use strict";n.d(t,{Qg:()=>a,bL:()=>d,s6:()=>o});var i=n(12115),r=n(63655),s=n(95155),a=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),o=i.forwardRef((e,t)=>(0,s.jsx)(r.sG.span,{...e,ref:t,style:{...a,...e.style}}));o.displayName="VisuallyHidden";var d=o},17652:(e,t,n)=>{"use strict";n.d(t,{c3:()=>s});var i=n(72797);function r(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let s=r(0,i.c3);r(0,i.kc)},28905:(e,t,n)=>{"use strict";n.d(t,{C:()=>a});var i=n(12115),r=n(6101),s=n(52712),a=e=>{let{present:t,children:n}=e,a=function(e){var t,n;let[r,a]=i.useState(),d=i.useRef(null),l=i.useRef(e),c=i.useRef("none"),[u,h]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},i.useReducer((e,t)=>{let i=n[e][t];return null!=i?i:e},t));return i.useEffect(()=>{let e=o(d.current);c.current="mounted"===u?e:"none"},[u]),(0,s.N)(()=>{let t=d.current,n=l.current;if(n!==e){let i=c.current,r=o(t);e?h("MOUNT"):"none"===r||(null==t?void 0:t.display)==="none"?h("UNMOUNT"):n&&i!==r?h("ANIMATION_OUT"):h("UNMOUNT"),l.current=e}},[e,h]),(0,s.N)(()=>{if(r){var e;let t,n=null!=(e=r.ownerDocument.defaultView)?e:window,i=e=>{let i=o(d.current).includes(CSS.escape(e.animationName));if(e.target===r&&i&&(h("ANIMATION_END"),!l.current)){let e=r.style.animationFillMode;r.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=e)})}},s=e=>{e.target===r&&(c.current=o(d.current))};return r.addEventListener("animationstart",s),r.addEventListener("animationcancel",i),r.addEventListener("animationend",i),()=>{n.clearTimeout(t),r.removeEventListener("animationstart",s),r.removeEventListener("animationcancel",i),r.removeEventListener("animationend",i)}}h("ANIMATION_END")},[r,h]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:i.useCallback(e=>{d.current=e?getComputedStyle(e):null,a(e)},[])}}(t),d="function"==typeof n?n({present:a.isPresent}):i.Children.only(n),l=(0,r.s)(a.ref,function(e){var t,n;let i=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,r=i&&"isReactWarning"in i&&i.isReactWarning;return r?e.ref:(r=(i=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get)&&"isReactWarning"in i&&i.isReactWarning)?e.props.ref:e.props.ref||e.ref}(d));return"function"==typeof n||a.isPresent?i.cloneElement(d,{ref:l}):null};function o(e){return(null==e?void 0:e.animationName)||"none"}a.displayName="Presence"},38637:(e,t,n)=>{e.exports=n(79399)()},46096:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var i=n(72797),r=n(95155);function s(e){let{locale:t,...n}=e;if(!t)throw Error(void 0);return(0,r.jsx)(i.Dk,{locale:t,...n})}},51362:(e,t,n)=>{"use strict";n.d(t,{D:()=>l,N:()=>c});var i=n(12115),r=(e,t,n,i,r,s,a,o)=>{let d=document.documentElement,l=["light","dark"];function c(t){var n;(Array.isArray(e)?e:[e]).forEach(e=>{let n="class"===e,i=n&&s?r.map(e=>s[e]||e):r;n?(d.classList.remove(...i),d.classList.add(s&&s[t]?s[t]:t)):d.setAttribute(e,t)}),n=t,o&&l.includes(n)&&(d.style.colorScheme=n)}if(i)c(i);else try{let e=localStorage.getItem(t)||n,i=a&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;c(i)}catch(e){}},s=["light","dark"],a="(prefers-color-scheme: dark)",o=i.createContext(void 0),d={setTheme:e=>{},themes:[]},l=()=>{var e;return null!=(e=i.useContext(o))?e:d},c=e=>i.useContext(o)?i.createElement(i.Fragment,null,e.children):i.createElement(h,{...e}),u=["light","dark"],h=e=>{let{forcedTheme:t,disableTransitionOnChange:n=!1,enableSystem:r=!0,enableColorScheme:d=!0,storageKey:l="theme",themes:c=u,defaultTheme:h=r?"system":"light",attribute:f="data-theme",value:g,children:C,nonce:v,scriptProps:w}=e,[S,T]=i.useState(()=>m(l,h)),[_,b]=i.useState(()=>"system"===S?I():S),A=g?Object.values(g):c,k=i.useCallback(e=>{let t=e;if(!t)return;"system"===e&&r&&(t=I());let i=g?g[t]:t,a=n?p(v):null,o=document.documentElement,l=e=>{"class"===e?(o.classList.remove(...A),i&&o.classList.add(i)):e.startsWith("data-")&&(i?o.setAttribute(e,i):o.removeAttribute(e))};if(Array.isArray(f)?f.forEach(l):l(f),d){let e=s.includes(h)?h:null,n=s.includes(t)?t:e;o.style.colorScheme=n}null==a||a()},[v]),E=i.useCallback(e=>{let t="function"==typeof e?e(S):e;T(t);try{localStorage.setItem(l,t)}catch(e){}},[S]),O=i.useCallback(e=>{b(I(e)),"system"===S&&r&&!t&&k("system")},[S,t]);i.useEffect(()=>{let e=window.matchMedia(a);
1return e.addListener(O),O(e),()=>e.removeListener(O)},[O]),i.useEffect(()=>{let e=e=>{e.key===l&&(e.newValue?T(e.newValue):E(h))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[E]),i.useEffect(()=>{k(null!=t?t:S)},[t,S]);let x=i.useMemo(()=>({theme:S,setTheme:E,forcedTheme:t,resolvedTheme:"system"===S?_:S,themes:r?[...c,"system"]:c,systemTheme:r?_:void 0}),[S,E,t,_,r,c]);return i.createElement(o.Provider,{value:x},i.createElement(y,{forcedTheme:t,storageKey:l,attribute:f,enableSystem:r,enableColorScheme:d,defaultTheme:h,value:g,themes:c,nonce:v,scriptProps:w}),C)},y=i.memo(e=>{let{forcedTheme:t,storageKey:n,attribute:s,enableSystem:a,enableColorScheme:o,defaultTheme:d,value:l,themes:c,nonce:u,scriptProps:h}=e,y=JSON.stringify([s,n,d,t,c,l,a,o]).slice(1,-1);return i.createElement("script",{...h,suppressHydrationWarning:!0,nonce:"",dangerouslySetInnerHTML:{__html:"(".concat(r.toString(),")(").concat(y,")")}})}),m=(e,t)=>{let n;try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t},p=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},I=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light")},54416:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});let i=(0,n(19946).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},72948:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},76718:(e,t,n)=>{"use strict";function i(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)e[i]=n[i]}return e}n.d(t,{E:()=>q});var r=function e(t,n){function r(e,r,s){if("undefined"!=typeof document){"number"==typeof(s=i({},n,s)).expires&&(s.expires=new Date(Date.now()+864e5*s.expires)),s.expires&&(s.expires=s.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var o in s)s[o]&&(a+="; "+o,!0!==s[o]&&(a+="="+s[o].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+a}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],i={},r=0;r<n.length;r++){var s=n[r].split("="),a=s.slice(1).join("=");try{var o=decodeURIComponent(s[0]);if(i[o]=t.read(a,o),e===o)break}catch(e){}}return e?i[e]:i}},remove:function(e,t){r(e,"",i({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,i({},this.attributes,t))},withConverter:function(t){return e(i({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});class s{constructor(e={}){let{path:t,domain:n,expires:i,sameSite:r,secure:s}=e;if(this.domain=n,this.path=t||"/",this.expires=Object.prototype.hasOwnProperty.call(e,"expires")?i:365,this.secure=!Object.prototype.hasOwnProperty.call(e,"secure")||s,Object.prototype.hasOwnProperty.call(e,"sameSite")){if(!r||!["strict","lax","none"].includes(r))throw Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".');if("none"===r&&!this.secure)throw Error("sameSite = None requires the Secure attribute in latest browser versions.");this.sameSite=r}}async setItem(e,t){r.set(e,t,this.getData())}async getItem(e){return r.get(e)??null}async removeItem(e){r.remove(e,this.getData())}async clear(){let e=Object.keys(r.get()).map(e=>this.removeItem(e));await Promise.all(e)}getData(){return{path:this.path,expires:this.expires,domain:this.domain,secure:this.secure,...this.sameSite&&{sameSite:this.sameSite}}}}var a=n(60319),o=n(57648),d=n(20468),l=n(29293);n(98486),n(37849);var c=n(71416),u=n(8352),h=n(31851),y=n(2954),m=n(43299),p=n(74172);let I="cognito-identity",f={service:I,retryDecider:(0,p.D)(h.F),computeDelay:m.y,cache:"no-store"};var g=n(26141);let C=(0,n(82590).q)(g.F,[()=>e=>async function(t){return t.headers["cache-control"]="no-store",e(t)}]),v=e=>(t,n)=>S(n,w(e),JSON.stringify(t)),w=e=>({"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityService.${e}`}),S=({url:e},t,n)=>({headers:t,url:e,body:n,method:"POST"}),T=e=>(0,y.A)(C,v("GetCredentialsForIdentity"),_,{...f,...e,userAgentValue:(0,c.fE)()}),_=async e=>{if(e.statusCode>=300)throw await (0,h.F)(e);let t=await (0,h.Y)(e);return{IdentityId:t.IdentityId,Credentials:b(t.Credentials),$metadata:(0,u.j)(e)}},b=({Expiration:e,...t}={})=>({...t,Expiration:e&&new Date(1e3*e)});var A=n(98785),k=n(85199),E=n(40002),O=n(89492),x=n(92193),N=n(79096),P=n(99896);let R=({region:e})=>({url:new P.o(`https://${I}.${e}.${(0,N.R)(e)}`)}),L=({endpointOverride:e})=>t=>e?{url:new P.o(e)}:R(t),D=e=>(0,y.A)(C,v("GetId"),K,{...f,...e,userAgentValue:(0,c.fE)()}),K=async e=>{if(e.statusCode>=300)throw await (0,h.F)(e);return{IdentityId:(await (0,h.Y)(e)).IdentityId,$metadata:(0,u.j)(e)}};function M(e){let t=(0,A.Cq)(e).payload.iss,n={};if(!t)throw new k.l({name:"InvalidIdTokenException",message:"Invalid Idtoken."});return n[t.replace(/(^\w+:|^)\/\//,"")]=e,n}async function F({tokens:e,authConfig:t,identityIdStore:n}){n.setAuthConfig({Cognito:t});let i=await n.loadIdentityId();if(i)return i.id;let r=e?.idToken?M(e.idToken.toString()):{},s=await U(r,t);return n.storeIdentityId({id:s,type:e?"primary":"guest"}),s}async function U(e,t){let n,i=t?.identityPoolId,r=(0,O.C)(i),s=D({endpointResolver:L({endpointOverride:t.identityPoolEndpoint})});try{n=(await s({region:r},{IdentityPoolId:i,Logins:e})).IdentityId}catch(e){throw(0,E.e)(e),new k.l(e)}if(!n)throw new k.l({name:"GetIdResponseException",message:"Received undefined response from getId operation",recoverySuggestion:"Make sure to pass a valid identityPoolId in the configuration."});return n}let j=new l.C("CognitoCredentialsProvider");class V{constructor(e){this._nextCredentialsRefresh=0,this._identityIdStore=e}async clearCredentialsAndIdentityId(){j.debug("Clearing out credentials and identityId"),this._credentialsAndIdentityId=void 0,await this._identityIdStore.clearIdentityId()}async clearCredentials(){j.debug("Clearing out in-memory credentials"),this._credentialsAndIdentityId=void 0}async getCredentialsAndIdentityId(e){let t=e.authenticated,{tokens:n}=e,{authConfig:i}=e;try{(0,A.Eh)(i?.Cognito)}catch{return}if(!t&&!i.Cognito.allowGuestAccess)return;let{forceRefresh:r}=e,s=this.hasTokenChanged(n),a=await F({tokens:n,authConfig:i.Cognito,identityIdStore:this._identityIdStore});return((r||s)&&this.clearCredentials(),t)?((0,x.OW)(n),this.credsForOIDCTokens(i.Cognito,n,a)):this.getGuestCredentials(a,i.Cognito)}async getGuestCredentials(e,t){let n;if(this._credentialsAndIdentityId&&!this.isPastTTL()&&!1===this._credentialsAndIdentityId.isAuthenticatedCreds)return j.info("returning stored credentials as they neither past TTL n
1or expired."),this._credentialsAndIdentityId;this.clearCredentials();let i=(0,O.C)(t.identityPoolId),r=T({endpointResolver:L({endpointOverride:t.identityPoolEndpoint})});try{n=await r({region:i},{IdentityId:e})}catch(e){throw(0,E.e)(e),new k.l(e)}if(n?.Credentials?.AccessKeyId&&n?.Credentials?.SecretKey){this._nextCredentialsRefresh=new Date().getTime()+3e6;let t={credentials:{accessKeyId:n.Credentials.AccessKeyId,secretAccessKey:n.Credentials.SecretKey,sessionToken:n.Credentials.SessionToken,expiration:n.Credentials.Expiration},identityId:e};return n.IdentityId&&(t.identityId=n.IdentityId,this._identityIdStore.storeIdentityId({id:n.IdentityId,type:"guest"})),this._credentialsAndIdentityId={...t,isAuthenticatedCreds:!1},t}throw new k.l({name:"CredentialsNotFoundException",message:"Cognito did not respond with either Credentials, AccessKeyId or SecretKey."})}async credsForOIDCTokens(e,t,n){let i;if(this._credentialsAndIdentityId&&!this.isPastTTL()&&!0===this._credentialsAndIdentityId.isAuthenticatedCreds)return j.debug("returning stored credentials as they neither past TTL nor expired."),this._credentialsAndIdentityId;this.clearCredentials();let r=t.idToken?M(t.idToken.toString()):{},s=(0,O.C)(e.identityPoolId),a=T({endpointResolver:L({endpointOverride:e.identityPoolEndpoint})});try{i=await a({region:s},{IdentityId:n,Logins:r})}catch(e){throw(0,E.e)(e),new k.l(e)}if(i?.Credentials?.AccessKeyId&&i?.Credentials?.SecretKey){this._nextCredentialsRefresh=new Date().getTime()+3e6;let e={credentials:{accessKeyId:i.Credentials.AccessKeyId,secretAccessKey:i.Credentials.SecretKey,sessionToken:i.Credentials.SessionToken,expiration:i.Credentials.Expiration},identityId:n};return i.IdentityId&&(e.identityId=i.IdentityId,this._identityIdStore.storeIdentityId({id:i.IdentityId,type:"primary"})),this._credentialsAndIdentityId={...e,isAuthenticatedCreds:!0,associatedIdToken:t.idToken?.toString()},e}throw new k.l({name:"CredentialsException",message:"Cognito did not respond with either Credentials, AccessKeyId or SecretKey."})}isPastTTL(){return void 0===this._nextCredentialsRefresh||this._nextCredentialsRefresh<=Date.now()}hasTokenChanged(e){return!!e&&!!this._credentialsAndIdentityId?.associatedIdToken&&e.idToken?.toString()!==this._credentialsAndIdentityId.associatedIdToken}}var G=n(94886);let W={identityId:"identityId"},H=new l.C("DefaultIdentityIdStore");class B{setAuthConfig(e){(0,A.Eh)(e.Cognito),this.authConfig=e,this._authKeys=$("Cognito",e.Cognito.identityPoolId)}constructor(e){this._authKeys={},this._hasGuestIdentityId=!1,this.keyValueStorage=e}async loadIdentityId(){(0,A.Eh)(this.authConfig?.Cognito);try{if(this._primaryIdentityId)return{id:this._primaryIdentityId,type:"primary"};{let e=await this.keyValueStorage.getItem(this._authKeys.identityId);if(e)return this._hasGuestIdentityId=!0,{id:e,type:"guest"};return null}}catch(e){return H.log("Error getting stored IdentityId.",e),null}}async storeIdentityId(e){(0,A.Eh)(this.authConfig?.Cognito),"guest"===e.type?(this.keyValueStorage.setItem(this._authKeys.identityId,e.id),this._primaryIdentityId=void 0,this._hasGuestIdentityId=!0):(this._primaryIdentityId=e.id,this._hasGuestIdentityId&&(this.keyValueStorage.removeItem(this._authKeys.identityId),this._hasGuestIdentityId=!1))}async clearIdentityId(){this._primaryIdentityId=void 0,await this.keyValueStorage.removeItem(this._authKeys.identityId)}}let $=(e,t)=>(0,G.Qm)(W)(`com.amplify.${e}`,t),z=new V(new B(a.ZL));var Q=n(1760);let q={configure(e,t){let n=(0,d.M)(e),i=new s({sameSite:"lax"}),r=t?.ssr?i:a.ZL,l=t?.ssr?new V(new B(i)):z;if(!n.Auth||t?.Auth)return void o.H.configure(n,t);if(!o.H.libraryOptions.Auth){Q.Q.setAuthConfig(n.Auth),Q.Q.setKeyValueStorage(r),o.H.configure(n,{...t,Auth:{tokenProvider:Q.Q,credentialsProvider:l}});return}if(t){let e=o.H.libraryOptions.Auth;void 0!==t.ssr&&(Q.Q.setKeyValueStorage(r),e.credentialsProvider=l),o.H.configure(n,{Auth:e,...t});return}o.H.configure(n)},getConfig:()=>o.H.getConfig()}},77180:e=>{e.exports={style:{fontFamily:"'Lato', 'Lato Fallback'",fontStyle:"normal"},className:"__className_172376",variable:"__variable_172376"}}
1,79399:(e,t,n)=>{"use strict";var i=n(72948);function r(){}function s(){}s.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,s,a){if(a!==i){var o=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:r};return n.PropTypes=n,n}},81922:e=>{e.exports={style:{fontFamily:"'IBM Plex Mono', 'IBM Plex Mono Fallback'",fontStyle:"normal"},className:"__className_595324",variable:"__variable_595324"}}}]);

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.