vendor: 5,315 bytes, lines 1-9
1(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function yc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var oa={exports:{}},cl={},sa={exports:{}},R={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var tr=Symbol.for("react.element"),wc=Symbol.for("react.portal"),jc=Symbol.for("react.fragment"),Nc=Symbol.for("react.strict_mode"),kc=Symbol.for("react.profiler"),Ac=Symbol.for("react.provider"),_c=Symbol.for("react.context"),Cc=Symbol.for("react.forward_ref"),bc=Symbol.for("react.suspense"),Sc=Symbol.for("react.memo"),Ec=Symbol.for("react.lazy"),Bo=Symbol.iterator;function Pc(e){return e===null||typeof e!="object"?null:(e=Bo&&e[Bo]||e["@@iterator"],typeof e=="function"?e:null)}var aa={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ua=Object.assign,ca={};function mn(e,t,n){this.props=e,this.context=t,this.refs=ca,this.updater=n||aa}mn.prototype.isReactComponent={};mn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};mn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function da(){}da.prototype=mn.prototype;function qi(e,t,n){this.props=e,this.context=t,this.refs=ca,this.updater=n||aa}var Gi=qi.prototype=new da;Gi.constructor=qi;ua(Gi,mn.prototype);Gi.isPureReactComponent=!0;var Wo=Array.isArray,fa=Object.prototype.hasOwnProperty,Ki={current:null},pa={key:!0,ref:!0,__self:!0,__source:!0};function ma(e,t,n){var r,l={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)fa.call(t,r)&&!pa.hasOwnProperty(r)&&(l[r]=t[r]);var a=arguments.length-2;if(a===1)l.children=n;else if(1<a){for(var u=Array(a),f=0;f<a;f++)u[f]=arguments[f+2];l.children=u}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)l[r]===void 0&&(l[r]=a[r]);return{$$typeof:tr,type:e,key:o,ref:s,props:l,_owner:Ki.current}}function Tc(e,t){return{$$typeof:tr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Yi(e){return typeof e=="object"&&e!==null&&e.$$typeof===tr}function Dc(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Ho=/\/+/g;function bl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Dc(""+e.key):t.toString(36)}function Sr(e,t,n,r,l){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case tr:case wc:s=!0}}if(s)return s=e,l=l(s),e=r===""?"."+bl(s,0):r,Wo(l)?(n="",e!=null&&(n=e.replace(Ho,"$&/")+"/"),Sr(l,t,n,"",function(f){return f})):l!=null&&(Yi(l)&&(l=Tc(l,n+(!l.key||s&&s.key===l.key?"":(""+l.key).replace(Ho,"$&/")+"/")+e)),t.push(l)),1;if(s=0,r=r===""?".":r+":",Wo(e))for(var a=0;a<e.length;a++){o=e[a];var u=r+bl(o,a);s+=Sr(o,t,n,u,l)}else if(u=Pc(e),typeof u=="function")for(e=u.call(e),a=0;!(o=e.next()).done;)o=o.value,u=r+bl(o,a++),s+=Sr(o,t,n,u,l);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function ur(e,t,n){if(e==null)return e;var r=[],l=0;return Sr(e,r,"","",function(o){return t.call(n,o,l++)}),r}function Lc(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var fe={current:null},Er={transition:null},Rc={ReactCurrentDispatcher:fe,ReactCurrentBatchConfig:Er,ReactCurrentOwner:Ki};function ha(){throw Error("act(...) is not supported in production builds of React.")}R.Children={map:ur,forEach:function(e,t,n){ur(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ur(e,function(){t++}),t},toArray:function(e){return ur(e,function(t){return t})||[]},only:function(e){if(!Yi(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};R.Component=mn;R.Fragment=jc;R.Profiler=kc;R.PureComponent=qi;R.StrictMode=Nc;R.Suspense=bc;
vendor: 8,978 bytes, lines 9-33
9R.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Rc;R.act=ha;R.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=ua({},e.props),l=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=Ki.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(u in t)fa.call(t,u)&&!pa.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&a!==void 0?a[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){a=Array(u);for(var f=0;f<u;f++)a[f]=arguments[f+2];r.children=a}return{$$typeof:tr,type:e.type,key:l,ref:o,props:r,_owner:s}};R.createContext=function(e){return e={$$typeof:_c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Ac,_context:e},e.Consumer=e};R.createElement=ma;R.createFactory=function(e){var t=ma.bind(null,e);return t.type=e,t};R.createRef=function(){return{current:null}};R.forwardRef=function(e){return{$$typeof:Cc,render:e}};R.isValidElement=Yi;R.lazy=function(e){return{$$typeof:Ec,_payload:{_status:-1,_result:e},_init:Lc}};R.memo=function(e,t){return{$$typeof:Sc,type:e,compare:t===void 0?null:t}};R.startTransition=function(e){var t=Er.transition;Er.transition={};try{e()}finally{Er.transition=t}};R.unstable_act=ha;R.useCallback=function(e,t){return fe.current.useCallback(e,t)};R.useContext=function(e){return fe.current.useContext(e)};R.useDebugValue=function(){};R.useDeferredValue=function(e){return fe.current.useDeferredValue(e)};R.useEffect=function(e,t){return fe.current.useEffect(e,t)};R.useId=function(){return fe.current.useId()};R.useImperativeHandle=function(e,t,n){return fe.current.useImperativeHandle(e,t,n)};R.useInsertionEffect=function(e,t){return fe.current.useInsertionEffect(e,t)};R.useLayoutEffect=function(e,t){return fe.current.useLayoutEffect(e,t)};R.useMemo=function(e,t){return fe.current.useMemo(e,t)};R.useReducer=function(e,t,n){return fe.current.useReducer(e,t,n)};R.useRef=function(e){return fe.current.useRef(e)};R.useState=function(e){return fe.current.useState(e)};R.useSyncExternalStore=function(e,t,n){return fe.current.useSyncExternalStore(e,t,n)};R.useTransition=function(){return fe.current.useTransition()};R.version="18.3.1";sa.exports=R;var D=sa.exports;const Oc=yc(D);/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var Fc=D,zc=Symbol.for("react.element"),Mc=Symbol.for("react.fragment"),Ic=Object.prototype.hasOwnProperty,Vc=Fc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Uc={key:!0,ref:!0,__self:!0,__source:!0};function xa(e,t,n){var r,l={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)Ic.call(t,r)&&!Uc.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)l[r]===void 0&&(l[r]=t[r]);return{$$typeof:zc,type:e,key:o,ref:s,props:l,_owner:Vc.current}}cl.Fragment=Mc;cl.jsx=xa;cl.jsxs=xa;oa.exports=cl;var i=oa.exports,ei={},ga={exports:{}},ke={},va={exports:{}},ya={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */(function(e){function t(b,T){var L=b.length;b.push(T);e:for(;0<L;){var G=L-1>>>1,J=b[G];if(0<l(J,T))b[G]=T,b[L]=J,L=G;else break e}}function n(b){return b.length===0?null:b[0]}function r(b){if(b.length===0)return null;var T=b[0],L=b.pop();if(L!==T){b[0]=L;e:for(var G=0,J=b.length,sr=J>>>1;G<sr;){var At=2*(G+1)-1,Cl=b[At],_t=At+1,ar=b[_t];if(0>l(Cl,L))_t<J&&0>l(ar,Cl)?(b[G]=ar,b[_t]=L,G=_t):(b[G]=Cl,b[At]=L,G=At);else if(_t<J&&0>l(ar,L))b[G]=ar,b[_t]=L,G=_t;else break e}}return T}function l(b,T){var L=b.sortIndex-T.sortIndex;return L!==0?L:b.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var u=[],f=[],g=1,m=null,h=3,y=!1,j=!1,N=!1,P=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(b){for(var T=n(f);T!==null;){if(T.callback===null)r(f);else if(T.startTime<=b)r(f),T.sortIndex=T.expirationTime,t(u,T);else break;T=n(f)}}function v(b){if(N=!1,p(b),!j)if(n(u)!==null)j=!0,M(A);else{var T=n(f);T!==null&&or(v,T.startTime-b)}}function A(b,T){j=!1,N&&(N=!1,d(_),_=-1),y=!0;var L=h;try{for(p(T),m=n(u);m!==null&&(!(m.expirationTime>T)||b&&!I());){var G=m.callback;if(typeof G=="function"){m.callback=null,h=m.priorityLevel;var J=G(m.expirationTime<=T);T=e.unstable_now(),typeof J=="function"?m.callback=J:m===n(u)&&r(u),p(T)}else r(u);m=n(u)}if(m!==null)var sr=!0;else{var At=n(f);At!==null&&or(v,At.startTime-T),sr=!1}return sr}finally{m=null,h=L,y=!1}}var x=!1,k=null,_=-1,z=5,E=-1;function I(){return!(e.unstable_now()-E<z)}function Me(){if(k!==null){var b=e.unstable_now();E=b;var T=!0;try{T=k(!0,b)}finally{T?et():(x=!1,k=null)}}else x=!1}var et;if(typeof c=="function")et=function(){c(Me)};else if(typeof MessageChannel<"u"){var tt=new MessageChannel,S=tt.port2;tt.port1.onmessage=Me,et=function(){S.postMessage(null)}}else et=function(){P(Me,0)};function M(b){k=b,x||(x=!0,et())}function or(b,T){_=P(function(){b(e.unstable_now())},T)}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(b){b.callback=null},e.unstable_continueExecution=function(){j||y||(j=!0,M(A))},e.unstable_forceFrameRate=function(b){0>b||125<b?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):z=0<b?Math.floor(1e3/b):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(b){switch(h){case 1:case 2:case 3:var T=3;break;default:T=h}var L=h;h=T;try{return b()}finally{h=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(b,T){switch(b){case 1:case 2:case 3:case 4:case 5:break;default:b=3}var L=h;h=b;try{return T()}finally{h=L}},e.unstable_scheduleCallback=function(b,T,L){var G=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?G+L:G):L=G,b){case 1:var J=-1;break;case 2:J=250;break;case 5:J=1073741823;break;case 4:J=1e4;break;default:J=5e3}return J=L+J,b={id:g++,callback:T,priorityLevel:b,startTime:L,expirationTime:J,sortIndex:-1},L>G?(b.sortIndex=L,t(f,b),n(u)===null&&b===n(f)&&(N?(d(_),_=-1):N=!0,or(v,L-G))):(b.sortIndex=J,t(u,b),j||y||(j=!0,M(A))),b},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(b){var T=h;return function(){var L=h;h=T;try{return b.apply(this,arguments)}finally{h=L}}}})(ya);va.exports=ya;var $c=va.exports;/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var Bc=D,Ne=$c;function w(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;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."}var wa=new Set,Mn={};function Mt(e,t){sn(e,t),sn(e+"Capture",t)}function sn(e,t){for(Mn[e]=t,e=0;e<t.length;e++)wa.add(t[e])}var Ke=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ti=Object.prototype.hasOwnProperty,Wc=/^[: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][: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]*$/,Qo={},qo={};function Hc(e){return ti.call(qo,e)?!0:ti.call(Qo,e)?!1:Wc.test(e)?qo[e]=!0:(Qo[e]=!0,!1)}function Qc(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function qc(e,t,n,r){if(t===null||typeof t>"u"||Qc(e,t,n,r))return!0;
vendor: 5,199 bytes, lines 33-34
33if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function pe(e,t,n,r,l,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var ie={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ie[e]=new pe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ie[t]=new pe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ie[e]=new pe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ie[e]=new pe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ie[e]=new pe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ie[e]=new pe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ie[e]=new pe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ie[e]=new pe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ie[e]=new pe(e,5,!1,e.toLowerCase(),null,!1,!1)});var Xi=/[\-:]([a-z])/g;function Zi(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Xi,Zi);ie[t]=new pe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Xi,Zi);ie[t]=new pe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Xi,Zi);ie[t]=new pe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ie[e]=new pe(e,1,!1,e.toLowerCase(),null,!1,!1)});ie.xlinkHref=new pe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ie[e]=new pe(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ji(e,t,n,r){var l=ie.hasOwnProperty(t)?ie[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(qc(t,n,l,r)&&(n=null),r||l===null?Hc(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=n===null?l.type===3?!1:"":n:(t=l.attributeName,r=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Je=Bc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,cr=Symbol.for("react.element"),$t=Symbol.for("react.portal"),Bt=Symbol.for("react.fragment"),eo=Symbol.for("react.strict_mode"),ni=Symbol.for("react.profiler"),ja=Symbol.for("react.provider"),Na=Symbol.for("react.context"),to=Symbol.for("react.forward_ref"),ri=Symbol.for("react.suspense"),li=Symbol.for("react.suspense_list"),no=Symbol.for("react.memo"),it=Symbol.for("react.lazy"),ka=Symbol.for("react.offscreen"),Go=Symbol.iterator;function gn(e){return e===null||typeof e!="object"?null:(e=Go&&e[Go]||e["@@iterator"],typeof e=="function"?e:null)}var Q=Object.assign,Sl;function _n(e){if(Sl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Sl=t&&t[1]||""}return` 34`+Sl+e}var El=!1;function Pl(e,t){if(!e||El)return"";El=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(f){var r=f}Reflect.construct(e,[],t)}else{try{t.call()}catch(f){r=f}e.call(t.prototype)}else{try{throw Error()}catch(f){r=f}e()}}
vendor: 16,747 bytes, lines 34-37
34catch(f){if(f&&r&&typeof f.stack=="string"){for(var l=f.stack.split(` 35`),o=r.stack.split(` 36`),s=l.length-1,a=o.length-1;1<=s&&0<=a&&l[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(l[s]!==o[a]){if(s!==1||a!==1)do if(s--,a--,0>a||l[s]!==o[a]){var u=` 37`+l[s].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=s&&0<=a);break}}}finally{El=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?_n(e):""}function Gc(e){switch(e.tag){case 5:return _n(e.type);case 16:return _n("Lazy");case 13:return _n("Suspense");case 19:return _n("SuspenseList");case 0:case 2:case 15:return e=Pl(e.type,!1),e;case 11:return e=Pl(e.type.render,!1),e;case 1:return e=Pl(e.type,!0),e;default:return""}}function ii(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Bt:return"Fragment";case $t:return"Portal";case ni:return"Profiler";case eo:return"StrictMode";case ri:return"Suspense";case li:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Na:return(e.displayName||"Context")+".Consumer";case ja:return(e._context.displayName||"Context")+".Provider";case to:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case no:return t=e.displayName||null,t!==null?t:ii(e.type)||"Memo";case it:t=e._payload,e=e._init;try{return ii(e(t))}catch{}}return null}function Kc(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ii(t);case 8:return t===eo?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function yt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Aa(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Yc(e){var t=Aa(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function dr(e){e._valueTracker||(e._valueTracker=Yc(e))}function _a(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Aa(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Vr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function oi(e,t){var n=t.checked;return Q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ko(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=yt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ca(e,t){t=t.checked,t!=null&&Ji(e,"checked",t,!1)}function si(e,t){Ca(e,t);var n=yt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ai(e,t.type,n):t.hasOwnProperty("defaultValue")&&ai(e,t.type,yt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Yo(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function ai(e,t,n){(t!=="number"||Vr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Cn=Array.isArray;function en(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+yt(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function ui(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(w(91));return Q({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Xo(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(w(92));if(Cn(n)){if(1<n.length)throw Error(w(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:yt(n)}}function ba(e,t){var n=yt(t.value),r=yt(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Zo(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Sa(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ci(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Sa(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var fr,Ea=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,l)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(fr=fr||document.createElement("div"),fr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=fr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function In(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var En={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Xc=["Webkit","ms","Moz","O"];Object.keys(En).forEach(function(e){Xc.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),En[t]=En[e]})});function Pa(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||En.hasOwnProperty(e)&&En[e]?(""+t).trim():t+"px"}function Ta(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Pa(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Zc=Q({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function di(e,t){if(t){if(Zc[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(w(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(w(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(w(61))}if(t.style!=null&&typeof t.style!="object")throw Error(w(62))}}function fi(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 pi=null;function ro(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mi=null,tn=null,nn=null;function Jo(e){if(e=lr(e)){if(typeof mi!="function")throw Error(w(280));var t=e.stateNode;t&&(t=hl(t),mi(e.stateNode,e.type,t))}}function Da(e){tn?nn?nn.push(e):nn=[e]:tn=e}function La(){if(tn){var e=tn,t=nn;if(nn=tn=null,Jo(e),t)for(e=0;e<t.length;e++)Jo(t[e])}}function Ra(e,t){return e(t)}function Oa(){}var Tl=!1;function Fa(e,t,n){if(Tl)return e(t,n);Tl=!0;try{return Ra(e,t,n)}finally{Tl=!1,(tn!==null||nn!==null)&&(Oa(),La())}}function Vn(e,t){var n=e.stateNode;if(n===null)return null;var r=hl(n);if(r===null)return null;n=r[t];e: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 e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(w(231,t,typeof n));return n}var hi=!1;if(Ke)try{var vn={};Object.defineProperty(vn,"passive",{get:function(){hi=!0}}),window.addEventListener("test",vn,vn),window.removeEventListener("test",vn,vn)}catch{hi=!1}function Jc(e,t,n,r,l,o,s,a,u){var f=Array.prototype.slice.call(arguments,3);try{t.apply(n,f)}catch(g){this.onError(g)}}var Pn=!1,Ur=null,$r=!1,xi=null,ed={onError:function(e){Pn=!0,Ur=e}};function td(e,t,n,r,l,o,s,a,u){Pn=!1,Ur=null,Jc.apply(ed,arguments)}function nd(e,t,n,r,l,o,s,a,u){if(td.apply(this,arguments),Pn){if(Pn){var f=Ur;Pn=!1,Ur=null}else throw Error(w(198));$r||($r=!0,xi=f)}}function It(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 za(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 es(e){if(It(e)!==e)throw Error(w(188))}function rd(e){var t=e.alternate;if(!t){if(t=It(e),t===null)throw Error(w(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var o=l.alternate;if(o===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===o.child){for(o=l.child;o;){if(o===n)return es(l),e;if(o===r)return es(l),t;o=o.sibling}throw Error(w(188))}if(n.return!==r.return)n=l,r=o;else{for(var s=!1,a=l.child;a;){if(a===n){s=!0,n=l,r=o;break}if(a===r){s=!0,r=l,n=o;break}a=a.sibling}if(!s){for(a=o.child;a;){if(a===n){s=!0,n=o,r=l;break}if(a===r){s=!0,r=o,n=l;break}a=a.sibling}if(!s)throw Error(w(189))}}if(n.alternate!==r)throw Error(w(190))}if(n.tag!==3)throw Error(w(188));return n.stateNode.current===n?e:t}function Ma(e){return e=rd(e),e!==null?Ia(e):null}function Ia(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Ia(e);if(t!==null)return t;e=e.sibling}return null}var Va=Ne.unstable_scheduleCallback,ts=Ne.unstable_cancelCallback,ld=Ne.unstable_shouldYield,id=Ne.unstable_requestPaint,K=Ne.unstable_now,od=Ne.unstable_getCurrentPriorityLevel,lo=Ne.unstable_ImmediatePriority,Ua=Ne.unstable_UserBlockingPriority,Br=Ne.unstable_NormalPriority,sd=Ne.unstable_LowPriority,$a=Ne.unstable_IdlePriority,dl=null,$e=null;function ad(e){if($e&&typeof $e.onCommitFiberRoot=="function")try{$e.onCommitFiberRoot(dl,e,void 0,(e.current.flags&128)===128)}catch{}}var Oe=Math.clz32?Math.clz32:dd,ud=Math.log,cd=Math.LN2;function dd(e){return e>>>=0,e===0?32:31-(ud(e)/cd|0)|0}var pr=64,mr=4194304;function bn(e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Wr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~l;a!==0?r=bn(a):(o&=s,o!==0&&(r=bn(o)))}else s=n&~l,s!==0?r=bn(s):o!==0&&(r=bn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Oe(t),l=1<<n,r|=e[n],t&=~l;return r}function fd(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function pd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-Oe(o),a=1<<s,u=l[s];u===-1?(!(a&n)||a&r)&&(l[s]=fd(a,t)):u<=t&&(e.expiredLanes|=a),o&=~a}}function gi(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Ba(){var e=pr;return pr<<=1,!(pr&4194240)&&(pr=64),e}function Dl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function nr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Oe(t),e[t]=n}function md(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var l=31-Oe(n),o=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~o}}function io(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Oe(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var F=0;function Wa(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Ha,oo,Qa,qa,Ga,vi=!1,hr=[],dt=null,ft=null,pt=null,Un=new Map,$n=new Map,st=[],hd="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 submit".split(" ");function ns(e,t){switch(e){case"focusin":case"focusout":dt=null;break;case"dragenter":case"dragleave":ft=null;break;case"mouseover":case"mouseout":pt=null;break;case"pointerover":case"pointerout":Un.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":$n.delete(t.pointerId)}}function yn(e,t,n,r,l,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[l]},t!==null&&(t=lr(t),t!==null&&oo(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function xd(e,t,n,r,l){switch(t){case"focusin":return dt=yn(dt,e,t,n,r,l),!0;case"dragenter":return ft=yn(ft,e,t,n,r,l),!0;case"mouseover":return pt=yn(pt,e,t,n,r,l),!0;case"pointerover":var o=l.pointerId;return Un.set(o,yn(Un.get(o)||null,e,t,n,r,l)),!0;case"gotpointercapture":return o=l.pointerId,$n.set(o,yn($n.get(o)||null,e,t,n,r,l)),!0}return!1}function Ka(e){var t=St(e.target);if(t!==null){var n=It(t);if(n!==null){if(t=n.tag,t===13){if(t=za(n),t!==null){e.blockedOn=t,Ga(e.priority,function(){Qa(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 Pr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=yi(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);pi=r,n.target.dispatchEvent(r),pi=null}else return t=lr(n),t!==null&&oo(t),e.blockedOn=n,!1;t.shift()}return!0}function rs(e,t,n){Pr(e)&&n.delete(t)}function gd(){vi=!1,dt!==null&&Pr(dt)&&(dt=null),ft!==null&&Pr(ft)&&(ft=null),pt!==null&&Pr(pt)&&(pt=null),Un.forEach(rs),$n.forEac
vendor: 11,434 bytes, line 37
37h(rs)}function wn(e,t){e.blockedOn===t&&(e.blockedOn=null,vi||(vi=!0,Ne.unstable_scheduleCallback(Ne.unstable_NormalPriority,gd)))}function Bn(e){function t(l){return wn(l,e)}if(0<hr.length){wn(hr[0],e);for(var n=1;n<hr.length;n++){var r=hr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(dt!==null&&wn(dt,e),ft!==null&&wn(ft,e),pt!==null&&wn(pt,e),Un.forEach(t),$n.forEach(t),n=0;n<st.length;n++)r=st[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<st.length&&(n=st[0],n.blockedOn===null);)Ka(n),n.blockedOn===null&&st.shift()}var rn=Je.ReactCurrentBatchConfig,Hr=!0;function vd(e,t,n,r){var l=F,o=rn.transition;rn.transition=null;try{F=1,so(e,t,n,r)}finally{F=l,rn.transition=o}}function yd(e,t,n,r){var l=F,o=rn.transition;rn.transition=null;try{F=4,so(e,t,n,r)}finally{F=l,rn.transition=o}}function so(e,t,n,r){if(Hr){var l=yi(e,t,n,r);if(l===null)$l(e,t,r,Qr,n),ns(e,r);else if(xd(l,e,t,n,r))r.stopPropagation();else if(ns(e,r),t&4&&-1<hd.indexOf(e)){for(;l!==null;){var o=lr(l);if(o!==null&&Ha(o),o=yi(e,t,n,r),o===null&&$l(e,t,r,Qr,n),o===l)break;l=o}l!==null&&r.stopPropagation()}else $l(e,t,r,null,n)}}var Qr=null;function yi(e,t,n,r){if(Qr=null,e=ro(r),e=St(e),e!==null)if(t=It(e),t===null)e=null;else if(n=t.tag,n===13){if(e=za(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 Qr=e,null}function Ya(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(od()){case lo:return 1;case Ua:return 4;case Br:case sd:return 16;case $a:return 536870912;default:return 16}default:return 16}}var ut=null,ao=null,Tr=null;function Xa(){if(Tr)return Tr;var e,t=ao,n=t.length,r,l="value"in ut?ut.value:ut.textContent,o=l.length;for(e=0;e<n&&t[e]===l[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===l[o-r];r++);return Tr=l.slice(e,1<r?1-r:void 0)}function Dr(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 xr(){return!0}function ls(){return!1}function Ae(e){function t(n,r,l,o,s){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?xr:ls,this.isPropagationStopped=ls,this}return Q(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=xr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=xr)},persist:function(){},isPersistent:xr}),t}var hn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},uo=Ae(hn),rr=Q({},hn,{view:0,detail:0}),wd=Ae(rr),Ll,Rl,jn,fl=Q({},rr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:co,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!==jn&&(jn&&e.type==="mousemove"?(Ll=e.screenX-jn.screenX,Rl=e.screenY-jn.screenY):Rl=Ll=0,jn=e),Ll)},movementY:function(e){return"movementY"in e?e.movementY:Rl}}),is=Ae(fl),jd=Q({},fl,{dataTransfer:0}),Nd=Ae(jd),kd=Q({},rr,{relatedTarget:0}),Ol=Ae(kd),Ad=Q({},hn,{animationName:0,elapsedTime:0,pseudoElement:0}),_d=Ae(Ad),Cd=Q({},hn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bd=Ae(Cd),Sd=Q({},hn,{data:0}),os=Ae(Sd),Ed={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Pd={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"},Td={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Dd(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Td[e])?!!t[e]:!1}function co(){return Dd}var Ld=Q({},rr,{key:function(e){if(e.key){var t=Ed[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Dr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Pd[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:co,charCode:function(e){return e.type==="keypress"?Dr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Dr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Rd=Ae(Ld),Od=Q({},fl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ss=Ae(Od),Fd=Q({},rr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:co}),zd=Ae(Fd),Md=Q({},hn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Id=Ae(Md),Vd=Q({},fl,{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}),Ud=Ae(Vd),$d=[9,13,27,32],fo=Ke&&"CompositionEvent"in window,Tn=null;Ke&&"documentMode"in document&&(Tn=document.documentMode);var Bd=Ke&&"TextEvent"in window&&!Tn,Za=Ke&&(!fo||Tn&&8<Tn&&11>=Tn),as=" ",us=!1;function Ja(e,t){switch(e){case"keyup":return $d.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function eu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Wt=!1;function Wd(e,t){switch(e){case"compositionend":return eu(t);case"keypress":return t.which!==32?null:(us=!0,as);case"textInput":return e=t.data,e===as&&us?null:e;default:return null}}function Hd(e,t){if(Wt)return e==="compositionend"||!fo&&Ja(e,t)?(e=Xa(),Tr=ao=ut=null,Wt=!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 Za&&t.locale!=="ko"?null:t.data;default:return null}}var Qd={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 cs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Qd[e.type]:t==="textarea"}function tu(e,t,n,r){Da(r),t=qr(t,"onChange"),0<t.length&&(n=new uo("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Dn=null,Wn=null;function qd(e){fu(e,0)}function pl(e){var t=qt(e);if(_a(t))return e}function Gd(e,t){if(e==="change")return t}var nu=!1;if(Ke){var Fl;if(Ke){var zl="oninput"in document;if(!zl){var ds=document.createElement("div");ds.setAttribute("oninput","return;"),zl=typeof ds.oninput=="function"}Fl=zl}else Fl=!1;nu=Fl&&(!document.documentMode||9<document.documentMode)}function fs(){Dn&&(Dn.detachEvent("onpropertychange",ru),Wn=Dn=null)}function ru(e){if(e.propertyName==="value"&&pl(Wn)){var t=[];tu(t,Wn,e,ro(e)),Fa(qd,t)}}function Kd(e,t,n){e==="focusin"?(fs(),Dn=t,Wn=n,Dn.attachEvent("onpropertychange",ru)):e==="focusout"&&fs()}function Yd(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return pl(Wn)}function Xd(e,t){if(e==="click")return pl(t)}function Zd(e,t){if(e==="input"||e==="change")return pl(t)}function Jd(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ze=typeof Object.is=="function"?Object.is:Jd;function Hn(e,t){if(ze(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)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 l=n[r];if(!ti.call(t,l)||!ze(e[l],t[l]))return!1}return!0}function ps(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ms(e,t){var n=ps(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}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ps(n)}}function lu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?lu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function iu(){for(var e=window,t=Vr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Vr(e.document)}return t}function po(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")}function ef(e){var t=iu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&lu(n.ownerDocument.documentElement,n)){if(r!==null&&po(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=ms(n,o);var s=ms(n,r);l&&s&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var tf=Ke&&"documentMode"in document&&11>
vendor: 4,172 bytes, line 37
37=document.documentMode,Ht=null,wi=null,Ln=null,ji=!1;function hs(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ji||Ht==null||Ht!==Vr(r)||(r=Ht,"selectionStart"in r&&po(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}),Ln&&Hn(Ln,r)||(Ln=r,r=qr(wi,"onSelect"),0<r.length&&(t=new uo("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ht)))}function gr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Qt={animationend:gr("Animation","AnimationEnd"),animationiteration:gr("Animation","AnimationIteration"),animationstart:gr("Animation","AnimationStart"),transitionend:gr("Transition","TransitionEnd")},Ml={},ou={};Ke&&(ou=document.createElement("div").style,"AnimationEvent"in window||(delete Qt.animationend.animation,delete Qt.animationiteration.animation,delete Qt.animationstart.animation),"TransitionEvent"in window||delete Qt.transitionend.transition);function ml(e){if(Ml[e])return Ml[e];if(!Qt[e])return e;var t=Qt[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ou)return Ml[e]=t[n];return e}var su=ml("animationend"),au=ml("animationiteration"),uu=ml("animationstart"),cu=ml("transitionend"),du=new Map,xs="abort auxClick 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(" ");function jt(e,t){du.set(e,t),Mt(t,[e])}for(var Il=0;Il<xs.length;Il++){var Vl=xs[Il],nf=Vl.toLowerCase(),rf=Vl[0].toUpperCase()+Vl.slice(1);jt(nf,"on"+rf)}jt(su,"onAnimationEnd");jt(au,"onAnimationIteration");jt(uu,"onAnimationStart");jt("dblclick","onDoubleClick");jt("focusin","onFocus");jt("focusout","onBlur");jt(cu,"onTransitionEnd");sn("onMouseEnter",["mouseout","mouseover"]);sn("onMouseLeave",["mouseout","mouseover"]);sn("onPointerEnter",["pointerout","pointerover"]);sn("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 Sn="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(" "),lf=new Set("cancel close invalid load scroll toggle".split(" ").concat(Sn));function gs(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,nd(r,t,void 0,e),e.currentTarget=null}function fu(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],u=a.instance,f=a.currentTarget;if(a=a.listener,u!==o&&l.isPropagationStopped())break e;gs(l,a,f),o=u}else for(s=0;s<r.length;s++){if(a=r[s],u=a.instance,f=a.currentTarget,a=a.listener,u!==o&&l.isPropagationStopped())break e;gs(l,a,f),o=u}}}if($r)throw e=xi,$r=!1,xi=null,e}function U(e,t){var n=t[Ci];n===void 0&&(n=t[Ci]=new Set);var r=e+"__bubble";n.has(r)||(pu(t,e,2,!1),n.add(r))}function Ul(e,t,n){var r=0;t&&(r|=4),pu(n,e,r,t)}var vr="_reactListening"+Math.random().toString(36).slice(2);
vendor: 4,514 bytes, line 37
37function Qn(e){if(!e[vr]){e[vr]=!0,wa.forEach(function(n){n!=="selectionchange"&&(lf.has(n)||Ul(n,!1,e),Ul(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[vr]||(t[vr]=!0,Ul("selectionchange",!1,t))}}function pu(e,t,n,r){switch(Ya(t)){case 1:var l=vd;break;case 4:l=yd;break;default:l=so}n=l.bind(null,t,n,e),l=void 0,!hi||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function $l(e,t,n,r,l){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;if(a===l||a.nodeType===8&&a.parentNode===l)break;if(s===4)for(s=r.return;s!==null;){var u=s.tag;if((u===3||u===4)&&(u=s.stateNode.containerInfo,u===l||u.nodeType===8&&u.parentNode===l))return;s=s.return}for(;a!==null;){if(s=St(a),s===null)return;if(u=s.tag,u===5||u===6){r=o=s;continue e}a=a.parentNode}}r=r.return}Fa(function(){var f=o,g=ro(n),m=[];e:{var h=du.get(e);if(h!==void 0){var y=uo,j=e;switch(e){case"keypress":if(Dr(n)===0)break e;case"keydown":case"keyup":y=Rd;break;case"focusin":j="focus",y=Ol;break;case"focusout":j="blur",y=Ol;break;case"beforeblur":case"afterblur":y=Ol;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":y=is;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=Nd;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=zd;break;case su:case au:case uu:y=_d;break;case cu:y=Id;break;case"scroll":y=wd;break;case"wheel":y=Ud;break;case"copy":case"cut":case"paste":y=bd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=ss}var N=(t&4)!==0,P=!N&&e==="scroll",d=N?h!==null?h+"Capture":null:h;N=[];for(var c=f,p;c!==null;){p=c;var v=p.stateNode;if(p.tag===5&&v!==null&&(p=v,d!==null&&(v=Vn(c,d),v!=null&&N.push(qn(c,v,p)))),P)break;c=c.return}0<N.length&&(h=new y(h,j,null,n,g),m.push({event:h,listeners:N}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",h&&n!==pi&&(j=n.relatedTarget||n.fromElement)&&(St(j)||j[Ye]))break e;if((y||h)&&(h=g.window===g?g:(h=g.ownerDocument)?h.defaultView||h.parentWindow:window,y?(j=n.relatedTarget||n.toElement,y=f,j=j?St(j):null,j!==null&&(P=It(j),j!==P||j.tag!==5&&j.tag!==6)&&(j=null)):(y=null,j=f),y!==j)){if(N=is,v="onMouseLeave",d="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(N=ss,v="onPointerLeave",d="onPointerEnter",c="pointer"),P=y==null?h:qt(y),p=j==null?h:qt(j),h=new N(v,c+"leave",y,n,g),h.target=P,h.relatedTarget=p,v=null,St(g)===f&&(N=new N(d,c+"enter",j,n,g),N.target=p,N.relatedTarget=P,v=N),P=v,y&&j)t:{for(N=y,d=j,c=0,p=N;p;p=Vt(p))c++;for(p=0,v=d;v;v=Vt(v))p++;for(;0<c-p;)N=Vt(N),c--;for(;0<p-c;)d=Vt(d),p--;for(;c--;){if(N===d||d!==null&&N===d.alternate)break t;N=Vt(N),d=Vt(d)}N=null}else N=null;y!==null&&vs(m,h,y,N,!1),j!==null&&P!==null&&vs(m,P,j,N,!0)}}e:{if(h=f?qt(f):window,y=h.nodeName&&h.nodeName.toLowerCase(),y==="select"||y==="input"&&h.type==="file")var A=Gd;else if(cs(h))if(nu)A=Zd;else{A=Yd;var x=Kd}else(y=h.nodeName)&&y.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(A=Xd);if(A&&(A=A(e,f))){tu(m,A,n,g);break e}x&&x(e,h,f),e==="focusout"&&(x=h._wrapperState)&&x.controlled&&h.type==="number"&&ai(h,"number",h.value)}switch(x=f?qt(f):window,e){case"focusin":(cs(x)||x.contentEditable==="true")&&(Ht=x,wi=f,Ln=null);break;case"focusout":Ln=wi=Ht=null;break;case"mousedown":ji=!0;break;case"contextmenu":case"mouseup":case"dragend":ji=!1,hs(m,n,g);break;case"selectionchange":if(tf)break;case"keydown":case"keyup":hs(m,n,g)}var k;if(fo)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else Wt?Ja(e,n)&&(_="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(_="onCompositionStart");_&&(Za&&n.locale!=="ko"&&(Wt||_!=="onCompositionStart"?_==="onCompositionEnd"&&Wt&&(k=Xa()):(ut=g,ao="value"in ut?ut.value:ut.textContent,Wt=!0)),x=qr(f,_),0<x.length&&(_=new os(_,e,null,n,g),m.push({event:_,listeners:x}),k?_.data=k:(k=eu(n),k!==null&&(_.data=k)))),(k=Bd?Wd(e,n):Hd(e,n))&&
vendor: 5,068 bytes, lines 37-38
37(f=qr(f,"onBeforeInput"),0<f.length&&(g=new os("onBeforeInput","beforeinput",null,n,g),m.push({event:g,listeners:f}),g.data=k))}fu(m,t)})}function qn(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,o=l.stateNode;l.tag===5&&o!==null&&(l=o,o=Vn(e,n),o!=null&&r.unshift(qn(e,o,l)),o=Vn(e,t),o!=null&&r.push(qn(e,o,l))),e=e.return}return r}function Vt(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function vs(e,t,n,r,l){for(var o=t._reactName,s=[];n!==null&&n!==r;){var a=n,u=a.alternate,f=a.stateNode;if(u!==null&&u===r)break;a.tag===5&&f!==null&&(a=f,l?(u=Vn(n,o),u!=null&&s.unshift(qn(n,u,a))):l||(u=Vn(n,o),u!=null&&s.push(qn(n,u,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var of=/\r\n?/g,sf=/\u0000|\uFFFD/g;function ys(e){return(typeof e=="string"?e:""+e).replace(of,` 38`).replace(sf,"")}function yr(e,t,n){if(t=ys(t),ys(e)!==t&&n)throw Error(w(425))}function Gr(){}var Ni=null,ki=null;function Ai(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var _i=typeof setTimeout=="function"?setTimeout:void 0,af=typeof clearTimeout=="function"?clearTimeout:void 0,ws=typeof Promise=="function"?Promise:void 0,uf=typeof queueMicrotask=="function"?queueMicrotask:typeof ws<"u"?function(e){return ws.resolve(null).then(e).catch(cf)}:_i;function cf(e){setTimeout(function(){throw e})}function Bl(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),Bn(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);Bn(t)}function mt(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==="$?")break;if(t==="/$")return null}}return e}function js(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var xn=Math.random().toString(36).slice(2),Ue="__reactFiber$"+xn,Gn="__reactProps$"+xn,Ye="__reactContainer$"+xn,Ci="__reactEvents$"+xn,df="__reactListeners$"+xn,ff="__reactHandles$"+xn;function St(e){var t=e[Ue];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ye]||n[Ue]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=js(e);e!==null;){if(n=e[Ue])return n;e=js(e)}return t}e=n,n=e.parentNode}return null}function lr(e){return e=e[Ue]||e[Ye],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function qt(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(w(33))}function hl(e){return e[Gn]||null}var bi=[],Gt=-1;function Nt(e){return{current:e}}function $(e){0>Gt||(e.current=bi[Gt],bi[Gt]=null,Gt--)}function V(e,t){Gt++,bi[Gt]=e.current,e.current=t}var wt={},ue=Nt(wt),xe=Nt(!1),Lt=wt;function an(e,t){var n=e.type.contextTypes;if(!n)return wt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function ge(e){return e=e.childContextTypes,e!=null}function Kr(){$(xe),$(ue)}function Ns(e,t,n){if(ue.current!==wt)throw Error(w(168));V(ue,t),V(xe,n)}function mu(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(w(108,Kc(e)||"Unknown",l));return Q({},n,r)}function Yr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||wt,Lt=ue.current,V(ue,e),V(xe,xe.current),!0}function ks(e,t,n){var r=e.stateNode;if(!r)throw Error(w(169));n?(e=mu(e,t,Lt),r.__reactInternalMemoizedMergedChildContext=e,$(xe),$(ue),V(ue,e)):$(xe),V(xe,n)}var He=null,xl=!1,Wl=!1;function hu(e){He===null?He=[e]:He.push(e)}function pf(e){xl=!0,hu(e)}function kt(){if(!Wl&&He!==null){Wl=!0;var e=0,t=F;try{var n=He;for(F=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}He=null,xl=!1}catch(l){throw He!==null&&(He=He.slice(e+1)),Va(lo,kt),l}finally{F=t,Wl=!1}}return null}var Kt=[],Yt=0,Xr=null,Zr=0,_e=[],Ce=0,Rt=null,Qe=1,qe="";function Ct(e,t){Kt[Yt++]=Zr,Kt[Yt++]=Xr,Xr=e,Zr=t}function xu(e,t,n){_e[Ce++]=Qe,_e[Ce++]=qe,_e[Ce++]=Rt,Rt=e;var r=Qe;e=qe;var l=32-Oe(r)-1;r&=~(1<<l),n+=1;var o=32-Oe(t)+l;if(30<o){var s=l-l%5;o=(r&(1<<s)-1).toString(32),r>>=s,l-=s,Qe=1<<32-Oe(t)+l|n<<l|r,qe=o+e}else Qe=1<<o|n<<l|r,qe=e}function mo(e){e.return!==null&&(Ct(e,1),xu(e,1,0))}function ho(e){for(;e===Xr;)Xr=Kt[--Yt],Kt[Yt]=null,Zr=Kt[--Yt],Kt[Yt]=null;for(;e===Rt;)Rt=_e[--Ce],_e[Ce]=null,qe=_e[--Ce],_e[Ce]=null,Qe=_e[--Ce],_e[Ce]=null}var je=null,we=null,B=!1,Re=null;function gu(e,t){var n=be(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function As(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 13,768 bytes, line 38
38return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,je=e,we=mt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,je=e,we=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Rt!==null?{id:Qe,overflow:qe}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=be(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,je=e,we=null,!0):!1;default:return!1}}function Si(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ei(e){if(B){var t=we;if(t){var n=t;if(!As(e,t)){if(Si(e))throw Error(w(418));t=mt(n.nextSibling);var r=je;t&&As(e,t)?gu(r,n):(e.flags=e.flags&-4097|2,B=!1,je=e)}}else{if(Si(e))throw Error(w(418));e.flags=e.flags&-4097|2,B=!1,je=e}}}function _s(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;je=e}function wr(e){if(e!==je)return!1;if(!B)return _s(e),B=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ai(e.type,e.memoizedProps)),t&&(t=we)){if(Si(e))throw vu(),Error(w(418));for(;t;)gu(e,t),t=mt(t.nextSibling)}if(_s(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(w(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){we=mt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}we=null}}else we=je?mt(e.stateNode.nextSibling):null;return!0}function vu(){for(var e=we;e;)e=mt(e.nextSibling)}function un(){we=je=null,B=!1}function xo(e){Re===null?Re=[e]:Re.push(e)}var mf=Je.ReactCurrentBatchConfig;function Nn(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(w(309));var r=n.stateNode}if(!r)throw Error(w(147,e));var l=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var a=l.refs;s===null?delete a[o]:a[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(w(284));if(!n._owner)throw Error(w(290,e))}return e}function jr(e,t){throw e=Object.prototype.toString.call(t),Error(w(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Cs(e){var t=e._init;return t(e._payload)}function yu(e){function t(d,c){if(e){var p=d.deletions;p===null?(d.deletions=[c],d.flags|=16):p.push(c)}}function n(d,c){if(!e)return null;for(;c!==null;)t(d,c),c=c.sibling;return null}function r(d,c){for(d=new Map;c!==null;)c.key!==null?d.set(c.key,c):d.set(c.index,c),c=c.sibling;return d}function l(d,c){return d=vt(d,c),d.index=0,d.sibling=null,d}function o(d,c,p){return d.index=p,e?(p=d.alternate,p!==null?(p=p.index,p<c?(d.flags|=2,c):p):(d.flags|=2,c)):(d.flags|=1048576,c)}function s(d){return e&&d.alternate===null&&(d.flags|=2),d}function a(d,c,p,v){return c===null||c.tag!==6?(c=Xl(p,d.mode,v),c.return=d,c):(c=l(c,p),c.return=d,c)}function u(d,c,p,v){var A=p.type;return A===Bt?g(d,c,p.props.children,v,p.key):c!==null&&(c.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===it&&Cs(A)===c.type)?(v=l(c,p.props),v.ref=Nn(d,c,p),v.return=d,v):(v=Ir(p.type,p.key,p.props,null,d.mode,v),v.ref=Nn(d,c,p),v.return=d,v)}function f(d,c,p,v){return c===null||c.tag!==4||c.stateNode.containerInfo!==p.containerInfo||c.stateNode.implementation!==p.implementation?(c=Zl(p,d.mode,v),c.return=d,c):(c=l(c,p.children||[]),c.return=d,c)}function g(d,c,p,v,A){return c===null||c.tag!==7?(c=Dt(p,d.mode,v,A),c.return=d,c):(c=l(c,p),c.return=d,c)}function m(d,c,p){if(typeof c=="string"&&c!==""||typeof c=="number")return c=Xl(""+c,d.mode,p),c.return=d,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case cr:return p=Ir(c.type,c.key,c.props,null,d.mode,p),p.ref=Nn(d,null,c),p.return=d,p;case $t:return c=Zl(c,d.mode,p),c.return=d,c;case it:var v=c._init;return m(d,v(c._payload),p)}if(Cn(c)||gn(c))return c=Dt(c,d.mode,p,null),c.return=d,c;jr(d,c)}return null}function h(d,c,p,v){var A=c!==null?c.key:null;if(typeof p=="string"&&p!==""||typeof p=="number")return A!==null?null:a(d,c,""+p,v);if(typeof p=="object"&&p!==null){switch(p.$$typeof){case cr:return p.key===A?u(d,c,p,v):null;case $t:return p.key===A?f(d,c,p,v):null;case it:return A=p._init,h(d,c,A(p._payload),v)}if(Cn(p)||gn(p))return A!==null?null:g(d,c,p,v,null);jr(d,p)}return null}function y(d,c,p,v,A){if(typeof v=="string"&&v!==""||typeof v=="number")return d=d.get(p)||null,a(c,d,""+v,A);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case cr:return d=d.get(v.key===null?p:v.key)||null,u(c,d,v,A);case $t:return d=d.get(v.key===null?p:v.key)||null,f(c,d,v,A);case it:var x=v._init;return y(d,c,p,x(v._payload),A)}if(Cn(v)||gn(v))return d=d.get(p)||null,g(c,d,v,A,null);jr(c,v)}return null}function j(d,c,p,v){for(var A=null,x=null,k=c,_=c=0,z=null;k!==null&&_<p.length;_++){k.index>_?(z=k,k=null):z=k.sibling;var E=h(d,k,p[_],v);if(E===null){k===null&&(k=z);break}e&&k&&E.alternate===null&&t(d,k),c=o(E,c,_),x===null?A=E:x.sibling=E,x=E,k=z}if(_===p.length)return n(d,k),B&&Ct(d,_),A;if(k===null){for(;_<p.length;_++)k=m(d,p[_],v),k!==null&&(c=o(k,c,_),x===null?A=k:x.sibling=k,x=k);return B&&Ct(d,_),A}for(k=r(d,k);_<p.length;_++)z=y(k,d,_,p[_],v),z!==null&&(e&&z.alternate!==null&&k.delete(z.key===null?_:z.key),c=o(z,c,_),x===null?A=z:x.sibling=z,x=z);return e&&k.forEach(function(I){return t(d,I)}),B&&Ct(d,_),A}function N(d,c,p,v){var A=gn(p);if(typeof A!="function")throw Error(w(150));if(p=A.call(p),p==null)throw Error(w(151));for(var x=A=null,k=c,_=c=0,z=null,E=p.next();k!==null&&!E.done;_++,E=p.next()){k.index>_?(z=k,k=null):z=k.sibling;var I=h(d,k,E.value,v);if(I===null){k===null&&(k=z);break}e&&k&&I.alternate===null&&t(d,k),c=o(I,c,_),x===null?A=I:x.sibling=I,x=I,k=z}if(E.done)return n(d,k),B&&Ct(d,_),A;if(k===null){for(;!E.done;_++,E=p.next())E=m(d,E.value,v),E!==null&&(c=o(E,c,_),x===null?A=E:x.sibling=E,x=E);return B&&Ct(d,_),A}for(k=r(d,k);!E.done;_++,E=p.next())E=y(k,d,_,E.value,v),E!==null&&(e&&E.alternate!==null&&k.delete(E.key===null?_:E.key),c=o(E,c,_),x===null?A=E:x.sibling=E,x=E);return e&&k.forEach(function(Me){return t(d,Me)}),B&&Ct(d,_),A}function P(d,c,p,v){if(typeof p=="object"&&p!==null&&p.type===Bt&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case cr:e:{for(var A=p.key,x=c;x!==null;){if(x.key===A){if(A=p.type,A===Bt){if(x.tag===7){n(d,x.sibling),c=l(x,p.props.children),c.return=d,d=c;break e}}else if(x.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===it&&Cs(A)===x.type){n(d,x.sibling),c=l(x,p.props),c.ref=Nn(d,x,p),c.return=d,d=c;break e}n(d,x);break}else t(d,x);x=x.sibling}p.type===Bt?(c=Dt(p.props.children,d.mode,v,p.key),c.return=d,d=c):(v=Ir(p.type,p.key,p.props,null,d.mode,v),v.ref=Nn(d,c,p),v.return=d,d=v)}return s(d);case $t:e:{for(x=p.key;c!==null;){if(c.key===x)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(d,c.sibling),c=l(c,p.children||[]),c.return=d,d=c;break e}else{n(d,c);break}else t(d,c);c=c.sibling}c=Zl(p,d.mode,v),c.return=d,d=c}return s(d);case it:return x=p._init,P(d,c,x(p._payload),v)}if(Cn(p))return j(d,c,p,v);if(gn(p))return N(d,c,p,v);jr(d,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(d,c.sibling),c=l(c,p),c.return=d,d=c):(n(d,c),c=Xl(p,d.mode,v),c.return=d,d=c),s(d)):n(d,c)}return P}var cn=yu(!0),wu=yu(!1),Jr=Nt(null),el=null,Xt=null,go=null;function vo(){go=Xt=el=null}function yo(e){var t=Jr.current;$(Jr),e._currentValue=t}function Pi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ln(e,t){el=e,go=Xt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(he=!0),e.firstContext=null)}function Ee(e){var t=e._currentValue;if(go!==e)if(e={context:e,memoizedValue:t,next:null},Xt===null){if(el===null)throw Error(w(308));Xt=e,el.dependencies={lanes:0,firstContext:e}}else Xt=Xt.next=e;return t}var Et=null;function wo(e){Et===null?Et=[e]:Et.push(e)}function ju(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,wo(t)):(n.next=l.next,l.next=n),t.interleaved=n,Xe(e,r)}function Xe(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ot=!1;function jo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Nu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ge(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ht(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,O&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Xe(e,n)}return l=r.interleaved,l===null?(t.next=t,wo(r)):(t.next=l.next,l.next=t),r.interleaved=t,Xe(e,n)}function Lr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,io(e,n)}}function bs(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function tl(e,t,n,r){var l=e.updateQueue;ot=!1;var o=l.firstBaseUpdate,s=l.lastBaseUpdate,a=l.shared.pending;if(a!==null){l.shared.pending=null;var u=a,f=u.next;u.next=null,s===null?o=f:s.next=f,s=u;var g=e.alternate;g!==null&&(g=g.updateQueue,a=g.lastBaseUpdate,a!==s&&(a===null?g.firstBaseUpdate=f:a.next=f,g.lastBaseUpdate=u))}if(o!==null){var m=l.baseState;s=0,g=f=u=null,a=o;do{var h=a.lane,y=a.eventTime;if((r&h)===h){g!==null&&(g=g.next={eventTime:y,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var j=e,N=a;switch(h=t,y=n,N.tag){case 1:if(j=N.payload,typeof j=="function"){m=j.call(y,m,h);break e}m=j;break e;case 3:j.flags=j.flags&-65537|128;case 0:if(j=N.payload,h=typeof j=="function"?j.call(y,m,h):j,h==null)break e;m=Q({},m,h);break e;case 2:ot=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=l.effects,h===null?l.effects=[a]:h.push(a))}else y={eventTime:y,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},g===null?(f=g=y,u=m):g=g.next=y,s|=h;if(a=a.next,a===null){if(a=l.shared.pending,a===null)break;h=a,a=h.next,h.next=null,l.lastBaseUpdate=h,l.shared.pending=null}}while(!0);if(g===null&&(u=m),l.baseState=u,l.firstBaseUpdate=f,l.lastBaseUpdate=g,t=l.shared.interleaved,t!==null){l=t;do s|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);Ft|=s,e.lanes=s,e.memoizedState=m}}function Ss(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(l!==null){if(r.callback=null,r=n,typeof l!="function")throw Error(w(191,l));l.call(r)}}}var ir={},Be=Nt(ir),Kn=Nt(ir),Yn=Nt(ir);function Pt(e){if(e===ir)throw Error(w(174));return e}function No(e,t){switch(V(Yn,t),V(Kn,e),V(Be,ir),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ci(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ci(t,e)}$(Be),V(Be,t)}function dn(){$(Be),$(Kn),$(Yn)}function ku(e){Pt(Yn.current);var t=Pt(Be.current),n=ci(t,e.type);t!==n&&(V(Kn,e),V(Be,n))}function ko(e){Kn.current===e&&($(Be),$(Kn))}var W=Nt(0);function nl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){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 Hl=[];function Ao(){for(var e=0;e<Hl.length;e++)Hl[e]._workInProgressVersionPrimary=null;Hl.length=0}var Rr=Je.ReactCurrentDispatcher,Ql=Je.ReactCurrentBatchConfig,Ot=0,H=null,X=null,ee=null,rl=!1,Rn=!1,Xn=0,hf=0;function oe(){throw Error(w(321))}function _o(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ze(e[n],t[n]))return!1;return!0}function Co(e,t,n,r,l,o){if(Ot=o,H=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Rr.current=e===null||e.memoizedState===null?yf:wf,e=n(r,l),Rn){o=0;do{if(Rn=!1,Xn=0,25<=o)throw Error(w(301));o+=1,ee=X=null,t.updateQueue=null,Rr.current=jf,e=n(r,l)}while(Rn)}if(Rr.current=ll,t=X!==null&&X.next!==null,Ot=0,ee=X=H=null,rl=!1,t)throw Error(w(300));return e}function bo(){var e=Xn!==0;return Xn=0,e}function Ve(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ee===null?H.memoizedState=ee=e:ee=ee.next=e,ee}function Pe(){if(X===null){var e=H.alternate;e=e!==null?e.memoizedState:null}else e=X.next;var t=ee===null?H.memoizedState:ee.next;if(t!==null)ee=t,X=e;else{if(e===null)throw Error(w(310));X=e,e={memoizedState:X.memoizedState,baseState:X.baseState,baseQueue:X.baseQueue,queue:X.queue,next:null},ee===null?H.memoizedState=ee=e:ee=ee.next=e}return ee}function Zn(e,t){return typeof t=="function"?t(e):t}function ql(e){var t=Pe(),n=t.queue;if(n===null)throw Error(w(311));n.lastRenderedReducer=e;var r=X,l=r.baseQueue,o=n.pending;if(o!==null){if(l!==null){var s=l.next;l.next=o.next,o.next=s}
vendor: 5,572 bytes, line 38
38r.baseQueue=l=o,n.pending=null}if(l!==null){o=l.next,r=r.baseState;var a=s=null,u=null,f=o;do{var g=f.lane;if((Ot&g)===g)u!==null&&(u=u.next={lane:0,action:f.action,hasEagerState:f.hasEagerState,eagerState:f.eagerState,next:null}),r=f.hasEagerState?f.eagerState:e(r,f.action);else{var m={lane:g,action:f.action,hasEagerState:f.hasEagerState,eagerState:f.eagerState,next:null};u===null?(a=u=m,s=r):u=u.next=m,H.lanes|=g,Ft|=g}f=f.next}while(f!==null&&f!==o);u===null?s=r:u.next=a,ze(r,t.memoizedState)||(he=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=u,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do o=l.lane,H.lanes|=o,Ft|=o,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Gl(e){var t=Pe(),n=t.queue;if(n===null)throw Error(w(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,o=t.memoizedState;if(l!==null){n.pending=null;var s=l=l.next;do o=e(o,s.action),s=s.next;while(s!==l);ze(o,t.memoizedState)||(he=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Au(){}function _u(e,t){var n=H,r=Pe(),l=t(),o=!ze(r.memoizedState,l);if(o&&(r.memoizedState=l,he=!0),r=r.queue,So(Su.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||ee!==null&&ee.memoizedState.tag&1){if(n.flags|=2048,Jn(9,bu.bind(null,n,r,l,t),void 0,null),te===null)throw Error(w(349));Ot&30||Cu(n,t,l)}return l}function Cu(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=H.updateQueue,t===null?(t={lastEffect:null,stores:null},H.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function bu(e,t,n,r){t.value=n,t.getSnapshot=r,Eu(t)&&Pu(e)}function Su(e,t,n){return n(function(){Eu(t)&&Pu(e)})}function Eu(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ze(e,n)}catch{return!0}}function Pu(e){var t=Xe(e,1);t!==null&&Fe(t,e,1,-1)}function Es(e){var t=Ve();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Zn,lastRenderedState:e},t.queue=e,e=e.dispatch=vf.bind(null,H,e),[t.memoizedState,e]}function Jn(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=H.updateQueue,t===null?(t={lastEffect:null,stores:null},H.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Tu(){return Pe().memoizedState}function Or(e,t,n,r){var l=Ve();H.flags|=e,l.memoizedState=Jn(1|t,n,void 0,r===void 0?null:r)}function gl(e,t,n,r){var l=Pe();r=r===void 0?null:r;var o=void 0;if(X!==null){var s=X.memoizedState;if(o=s.destroy,r!==null&&_o(r,s.deps)){l.memoizedState=Jn(t,n,o,r);return}}H.flags|=e,l.memoizedState=Jn(1|t,n,o,r)}function Ps(e,t){return Or(8390656,8,e,t)}function So(e,t){return gl(2048,8,e,t)}function Du(e,t){return gl(4,2,e,t)}function Lu(e,t){return gl(4,4,e,t)}function Ru(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Ou(e,t,n){return n=n!=null?n.concat([e]):null,gl(4,4,Ru.bind(null,t,e),n)}function Eo(){}function Fu(e,t){var n=Pe();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&_o(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function zu(e,t){var n=Pe();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&_o(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Mu(e,t,n){return Ot&21?(ze(n,t)||(n=Ba(),H.lanes|=n,Ft|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,he=!0),e.memoizedState=n)}function xf(e,t){var n=F;F=n!==0&&4>n?n:4,e(!0);var r=Ql.transition;Ql.transition={};try{e(!1),t()}finally{F=n,Ql.transition=r}}function Iu(){return Pe().memoizedState}function gf(e,t,n){var r=gt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Vu(e))Uu(t,n);else if(n=ju(e,t,n,r),n!==null){var l=de();Fe(n,e,r,l),$u(n,t,r)}}function vf(e,t,n){var r=gt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Vu(e))Uu(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(l.hasEagerState=!0,l.eagerState=a,ze(a,s)){var u=t.interleaved;u===null?(l.next=l,wo(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=ju(e,t,l,r),n!==null&&(l=de(),Fe(n,e,r,l),$u(n,t,r))}}function Vu(e){var t=e.alternate;return e===H||t!==null&&t===H}function Uu(e,t){Rn=rl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function $u(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,io(e,n)}}var ll={readContext:Ee,useCallback:oe,useContext:oe,useEffect:oe,useImperativeHandle:oe,useInsertionEffect:oe,useLayoutEffect:oe,useMemo:oe,useReducer:oe,useRef:oe,useState:oe,useDebugValue:oe,useDeferredValue:oe,useTransition:oe,useMutableSource:oe,useSyncExternalStore:oe,useId:oe,unstable_isNewReconciler:!1},yf={readContext:Ee,useCallback:function(e,t){return Ve().memoizedState=[e,t===void 0?null:t],e},useContext:Ee,useEffect:Ps,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Or(4194308,4,Ru.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Or(4194308,4,e,t)},useInsertionEffect:function(e,t){return Or(4,2,e,t)},useMemo:function(e,t){var n=Ve();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ve();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=gf.bind(null,H,e),[r.memoizedState,e]}
vendor: 7,418 bytes, lines 38-40
38,useRef:function(e){var t=Ve();return e={current:e},t.memoizedState=e},useState:Es,useDebugValue:Eo,useDeferredValue:function(e){return Ve().memoizedState=e},useTransition:function(){var e=Es(!1),t=e[0];return e=xf.bind(null,e[1]),Ve().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=H,l=Ve();if(B){if(n===void 0)throw Error(w(407));n=n()}else{if(n=t(),te===null)throw Error(w(349));Ot&30||Cu(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,Ps(Su.bind(null,r,o,e),[e]),r.flags|=2048,Jn(9,bu.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ve(),t=te.identifierPrefix;if(B){var n=qe,r=Qe;n=(r&~(1<<32-Oe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Xn++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=hf++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},wf={readContext:Ee,useCallback:Fu,useContext:Ee,useEffect:So,useImperativeHandle:Ou,useInsertionEffect:Du,useLayoutEffect:Lu,useMemo:zu,useReducer:ql,useRef:Tu,useState:function(){return ql(Zn)},useDebugValue:Eo,useDeferredValue:function(e){var t=Pe();return Mu(t,X.memoizedState,e)},useTransition:function(){var e=ql(Zn)[0],t=Pe().memoizedState;return[e,t]},useMutableSource:Au,useSyncExternalStore:_u,useId:Iu,unstable_isNewReconciler:!1},jf={readContext:Ee,useCallback:Fu,useContext:Ee,useEffect:So,useImperativeHandle:Ou,useInsertionEffect:Du,useLayoutEffect:Lu,useMemo:zu,useReducer:Gl,useRef:Tu,useState:function(){return Gl(Zn)},useDebugValue:Eo,useDeferredValue:function(e){var t=Pe();return X===null?t.memoizedState=e:Mu(t,X.memoizedState,e)},useTransition:function(){var e=Gl(Zn)[0],t=Pe().memoizedState;return[e,t]},useMutableSource:Au,useSyncExternalStore:_u,useId:Iu,unstable_isNewReconciler:!1};function De(e,t){if(e&&e.defaultProps){t=Q({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ti(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Q({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var vl={isMounted:function(e){return(e=e._reactInternals)?It(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=de(),l=gt(e),o=Ge(r,l);o.payload=t,n!=null&&(o.callback=n),t=ht(e,o,l),t!==null&&(Fe(t,e,l,r),Lr(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=de(),l=gt(e),o=Ge(r,l);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=ht(e,o,l),t!==null&&(Fe(t,e,l,r),Lr(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=de(),r=gt(e),l=Ge(n,r);l.tag=2,t!=null&&(l.callback=t),t=ht(e,l,r),t!==null&&(Fe(t,e,r,n),Lr(t,e,r))}};function Ts(e,t,n,r,l,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!Hn(n,r)||!Hn(l,o):!0}function Bu(e,t,n){var r=!1,l=wt,o=t.contextType;return typeof o=="object"&&o!==null?o=Ee(o):(l=ge(t)?Lt:ue.current,r=t.contextTypes,o=(r=r!=null)?an(e,l):wt),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=vl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=o),t}function Ds(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&&vl.enqueueReplaceState(t,t.state,null)}function Di(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},jo(e);var o=t.contextType;typeof o=="object"&&o!==null?l.context=Ee(o):(o=ge(t)?Lt:ue.current,l.context=an(e,o)),l.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Ti(e,t,o,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&vl.enqueueReplaceState(l,l.state,null),tl(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function fn(e,t){try{var n="",r=t;do n+=Gc(r),r=r.return;while(r);var l=n}catch(o){l=` 39Error generating stack: `+o.message+` 40`+o.stack}return{value:e,source:t,stack:l,digest:null}}function Kl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Li(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Nf=typeof WeakMap=="function"?WeakMap:Map;function Wu(e,t,n){n=Ge(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ol||(ol=!0,Bi=r),Li(e,t)},n}function Hu(e,t,n){n=Ge(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){Li(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Li(e,t),typeof r!="function"&&(xt===null?xt=new Set([this]):xt.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Ls(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Nf;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=Ff.bind(null,e,t,n),t.then(e,e))}function Rs(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Os(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Ge(-1,1),t.tag=2,ht(n,t,1))),n.lanes|=1),e)}var kf=Je.ReactCurrentOwner,he=!1;function ce(e,t,n,r){t.child=e===null?wu(t,null,n,r):cn(t,e.child,n,r)}function Fs(e,t,n,r,l){n=n.render;var o=t.ref;return ln(t,l),r=Co(e,t,n,r,o,l),n=bo(),e!==null&&!he?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Ze(e,t,l)):(B&&n&&mo(t),t.flags|=1,ce(e,t,r,l),t.child)}function zs(e,t,n,r,l){if(e===null){var o=n.type;return typeof o=="function"&&!zo(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Qu(e,t,o,r,l)):(e=Ir(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&l)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:Hn,n(s,r)&&e.ref===t.ref)return Ze(e,t,l)}return t.flags|=1,e=vt(o,r),e.ref=t.ref,e.return=t,t.child=e}function Qu(e,t,n,r,l){if(e!==null){var o=e.memoizedProps;if(Hn(o,r)&&e.ref===t.ref)if(he=!1,t.pendingProps=r=o,(e.lanes&l)!==0)e.flags&131072&&(he=!0);else return t.lanes=e.lanes,Ze(e,t,l)}return Ri(e,t,n,r,l)}function qu(e,t,n){var r=t.pendingProps,l=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},V(Jt,ye),ye|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,V(Jt,ye),ye|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,V(Jt,ye),ye|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,V(Jt,ye),ye|=r;return ce(e,t,l,n),t.child}function Gu(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}
vendor: 6,241 bytes, line 40
40function Ri(e,t,n,r,l){var o=ge(n)?Lt:ue.current;return o=an(t,o),ln(t,l),n=Co(e,t,n,r,o,l),r=bo(),e!==null&&!he?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Ze(e,t,l)):(B&&r&&mo(t),t.flags|=1,ce(e,t,n,l),t.child)}function Ms(e,t,n,r,l){if(ge(n)){var o=!0;Yr(t)}else o=!1;if(ln(t,l),t.stateNode===null)Fr(e,t),Bu(t,n,r),Di(t,n,r,l),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var u=s.context,f=n.contextType;typeof f=="object"&&f!==null?f=Ee(f):(f=ge(n)?Lt:ue.current,f=an(t,f));var g=n.getDerivedStateFromProps,m=typeof g=="function"||typeof s.getSnapshotBeforeUpdate=="function";m||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||u!==f)&&Ds(t,s,r,f),ot=!1;var h=t.memoizedState;s.state=h,tl(t,r,s,l),u=t.memoizedState,a!==r||h!==u||xe.current||ot?(typeof g=="function"&&(Ti(t,n,g,r),u=t.memoizedState),(a=ot||Ts(t,n,a,r,h,u,f))?(m||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),s.props=r,s.state=u,s.context=f,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Nu(e,t),a=t.memoizedProps,f=t.type===t.elementType?a:De(t.type,a),s.props=f,m=t.pendingProps,h=s.context,u=n.contextType,typeof u=="object"&&u!==null?u=Ee(u):(u=ge(n)?Lt:ue.current,u=an(t,u));var y=n.getDerivedStateFromProps;(g=typeof y=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==m||h!==u)&&Ds(t,s,r,u),ot=!1,h=t.memoizedState,s.state=h,tl(t,r,s,l);var j=t.memoizedState;a!==m||h!==j||xe.current||ot?(typeof y=="function"&&(Ti(t,n,y,r),j=t.memoizedState),(f=ot||Ts(t,n,f,r,h,j,u)||!1)?(g||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,j,u),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,j,u)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=j),s.props=r,s.state=j,s.context=u,r=f):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Oi(e,t,n,r,o,l)}function Oi(e,t,n,r,l,o){Gu(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return l&&ks(t,n,!1),Ze(e,t,o);r=t.stateNode,kf.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=cn(t,e.child,null,o),t.child=cn(t,null,a,o)):ce(e,t,a,o),t.memoizedState=r.state,l&&ks(t,n,!0),t.child}function Ku(e){var t=e.stateNode;t.pendingContext?Ns(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ns(e,t.context,!1),No(e,t.containerInfo)}function Is(e,t,n,r,l){return un(),xo(l),t.flags|=256,ce(e,t,n,r),t.child}var Fi={dehydrated:null,treeContext:null,retryLane:0};function zi(e){return{baseLanes:e,cachePool:null,transitions:null}}function Yu(e,t,n){var r=t.pendingProps,l=W.current,o=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(l&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),V(W,l&1),e===null)return Ei(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=jl(s,r,0,null),e=Dt(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=zi(n),t.memoizedState=Fi,e):Po(t,s));if(l=e.memoizedState,l!==null&&(a=l.dehydrated,a!==null))return Af(e,t,s,r,a,l,n);if(o){o=r.fallback,s=t.mode,l=e.child,a=l.sibling;var u={mode:"hidden",children:r.children};return!(s&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=vt(l,u),r.subtreeFlags=l.subtreeFlags&14680064),a!==null?o=vt(a,o):(o=Dt(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?zi(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=Fi,r}return o=e.child,e=o.sibling,r=vt(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Po(e,t){return t=jl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Nr(e,t,n,r){return r!==null&&xo(r),cn(t,e.child,null,n),e=Po(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Af(e,t,n,r,l,o,s){if(n)return t.flags&256?(t.flags&=-257,r=Kl(Error(w(422))),Nr(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,l=t.mode,r=jl({mode:"visible",children:r.children},l,0,null),o=Dt(o,l,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&cn(t,e.child,null,s),t.child.memoizedState=zi(s),t.memoizedState=Fi,o);if(!(t.mode&1))return Nr(e,t,s,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(w(419)),r=Kl(o,r,void 0),Nr(e,t,s,r)}if(a=(s&e.childLanes)!==0,he||a){if(r=te,r!==null){switch(s&-s){case 4:l=2;break;case 16:l=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}
vendor: 6,645 bytes, line 40
40l=l&(r.suspendedLanes|s)?0:l,l!==0&&l!==o.retryLane&&(o.retryLane=l,Xe(e,l),Fe(r,e,l,-1))}return Fo(),r=Kl(Error(w(421))),Nr(e,t,s,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=zf.bind(null,e),l._reactRetry=t,null):(e=o.treeContext,we=mt(l.nextSibling),je=t,B=!0,Re=null,e!==null&&(_e[Ce++]=Qe,_e[Ce++]=qe,_e[Ce++]=Rt,Qe=e.id,qe=e.overflow,Rt=t),t=Po(t,r.children),t.flags|=4096,t)}function Vs(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Pi(e.return,t,n)}function Yl(e,t,n,r,l){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=l)}function Xu(e,t,n){var r=t.pendingProps,l=r.revealOrder,o=r.tail;if(ce(e,t,r.children,n),r=W.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Vs(e,n,t);else if(e.tag===19)Vs(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(V(W,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&nl(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),Yl(t,!1,l,n,o);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&nl(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}Yl(t,!0,n,null,o);break;case"together":Yl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Fr(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ze(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ft|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(w(153));if(t.child!==null){for(e=t.child,n=vt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=vt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function _f(e,t,n){switch(t.tag){case 3:Ku(t),un();break;case 5:ku(t);break;case 1:ge(t.type)&&Yr(t);break;case 4:No(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;V(Jr,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(V(W,W.current&1),t.flags|=128,null):n&t.child.childLanes?Yu(e,t,n):(V(W,W.current&1),e=Ze(e,t,n),e!==null?e.sibling:null);V(W,W.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Xu(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),V(W,W.current),r)break;return null;case 22:case 23:return t.lanes=0,qu(e,t,n)}return Ze(e,t,n)}var Zu,Mi,Ju,ec;Zu=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Mi=function(){};Ju=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Pt(Be.current);var o=null;switch(n){case"input":l=oi(e,l),r=oi(e,r),o=[];break;case"select":l=Q({},l,{value:void 0}),r=Q({},r,{value:void 0}),o=[];break;case"textarea":l=ui(e,l),r=ui(e,r),o=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Gr)}di(n,r);var s;n=null;for(f in l)if(!r.hasOwnProperty(f)&&l.hasOwnProperty(f)&&l[f]!=null)if(f==="style"){var a=l[f];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else f!=="dangerouslySetInnerHTML"&&f!=="children"&&f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(Mn.hasOwnProperty(f)?o||(o=[]):(o=o||[]).push(f,null));for(f in r){var u=r[f];if(a=l!=null?l[f]:void 0,r.hasOwnProperty(f)&&u!==a&&(u!=null||a!=null))if(f==="style")if(a){for(s in a)!a.hasOwnProperty(s)||u&&u.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in u)u.hasOwnProperty(s)&&a[s]!==u[s]&&(n||(n={}),n[s]=u[s])}else n||(o||(o=[]),o.push(f,n)),n=u;else f==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,a=a?a.__html:void 0,u!=null&&a!==u&&(o=o||[]).push(f,u)):f==="children"?typeof u!="string"&&typeof u!="number"||(o=o||[]).push(f,""+u):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&(Mn.hasOwnProperty(f)?(u!=null&&f==="onScroll"&&U("scroll",e),o||a===u||(o=[])):(o=o||[]).push(f,u))}n&&(o=o||[]).push("style",n);var f=o;(t.updateQueue=f)&&(t.flags|=4)}};ec=function(e,t,n,r){n!==r&&(t.flags|=4)};function kn(e,t){if(!B)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 se(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Cf(e,t,n){var r=t.pendingProps;switch(ho(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return se(t),null;case 1:return ge(t.type)&&Kr(),se(t),null;case 3:return r=t.stateNode,dn(),$(xe),$(ue),Ao(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(wr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Re!==null&&(Qi(Re),Re=null))),Mi(e,t),se(t),null;case 5:ko(t);var l=Pt(Yn.current);if(n=t.type,e!==null&&t.stateNode!=null)Ju(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(w(166));return se(t),null}if(e=Pt(Be.current),wr(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Ue]=t,r[Gn]=o,e=(t.mode&1)!==0,n){case"dialog":U("cancel",r),U("close",r);break;case"iframe":case"object":case"embed":U("load",r);break;case"video":case"audio":for(l=0;l<Sn.length;l++)U(Sn[l],r);break;case"source":U("error",r);break;case"img":case"image":case"link":U("error",r),U("load",r);break;case"details":U("toggle",r);break;case"input":Ko(r,o),U("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},U("invalid",r);break;case"textarea":Xo(r,o),U("invalid",r)}di(n,o),l=null;for(var s in o)if(o.hasOwnProperty(s)){var a=o[s];
vendor: 32,260 bytes, line 40
40s==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&yr(r.textContent,a,e),l=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&yr(r.textContent,a,e),l=["children",""+a]):Mn.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&U("scroll",r)}switch(n){case"input":dr(r),Yo(r,o,!0);break;case"textarea":dr(r),Zo(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Gr)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Sa(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Ue]=t,e[Gn]=r,Zu(e,t,!1,!1),t.stateNode=e;e:{switch(s=fi(n,r),n){case"dialog":U("cancel",e),U("close",e),l=r;break;case"iframe":case"object":case"embed":U("load",e),l=r;break;case"video":case"audio":for(l=0;l<Sn.length;l++)U(Sn[l],e);l=r;break;case"source":U("error",e),l=r;break;case"img":case"image":case"link":U("error",e),U("load",e),l=r;break;case"details":U("toggle",e),l=r;break;case"input":Ko(e,r),l=oi(e,r),U("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=Q({},r,{value:void 0}),U("invalid",e);break;case"textarea":Xo(e,r),l=ui(e,r),U("invalid",e);break;default:l=r}di(n,l),a=l;for(o in a)if(a.hasOwnProperty(o)){var u=a[o];o==="style"?Ta(e,u):o==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&Ea(e,u)):o==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&In(e,u):typeof u=="number"&&In(e,""+u):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Mn.hasOwnProperty(o)?u!=null&&o==="onScroll"&&U("scroll",e):u!=null&&Ji(e,o,u,s))}switch(n){case"input":dr(e),Yo(e,r,!1);break;case"textarea":dr(e),Zo(e);break;case"option":r.value!=null&&e.setAttribute("value",""+yt(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?en(e,!!r.multiple,o,!1):r.defaultValue!=null&&en(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Gr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return se(t),null;case 6:if(e&&t.stateNode!=null)ec(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(w(166));if(n=Pt(Yn.current),Pt(Be.current),wr(t)){if(r=t.stateNode,n=t.memoizedProps,r[Ue]=t,(o=r.nodeValue!==n)&&(e=je,e!==null))switch(e.tag){case 3:yr(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&yr(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Ue]=t,t.stateNode=r}return se(t),null;case 13:if($(W),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(B&&we!==null&&t.mode&1&&!(t.flags&128))vu(),un(),t.flags|=98560,o=!1;else if(o=wr(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(w(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(w(317));o[Ue]=t}else un(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;se(t),o=!1}else Re!==null&&(Qi(Re),Re=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||W.current&1?Z===0&&(Z=3):Fo())),t.updateQueue!==null&&(t.flags|=4),se(t),null);case 4:return dn(),Mi(e,t),e===null&&Qn(t.stateNode.containerInfo),se(t),null;case 10:return yo(t.type._context),se(t),null;case 17:return ge(t.type)&&Kr(),se(t),null;case 19:if($(W),o=t.memoizedState,o===null)return se(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)kn(o,!1);else{if(Z!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=nl(e),s!==null){for(t.flags|=128,kn(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return V(W,W.current&1|2),t.child}e=e.sibling}o.tail!==null&&K()>pn&&(t.flags|=128,r=!0,kn(o,!1),t.lanes=4194304)}else{if(!r)if(e=nl(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),kn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!B)return se(t),null}else 2*K()-o.renderingStartTime>pn&&n!==1073741824&&(t.flags|=128,r=!0,kn(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=K(),t.sibling=null,n=W.current,V(W,r?n&1|2:n&1),t):(se(t),null);case 22:case 23:return Oo(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ye&1073741824&&(se(t),t.subtreeFlags&6&&(t.flags|=8192)):se(t),null;case 24:return null;case 25:return null}throw Error(w(156,t.tag))}function bf(e,t){switch(ho(t),t.tag){case 1:return ge(t.type)&&Kr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return dn(),$(xe),$(ue),Ao(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ko(t),null;case 13:if($(W),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(w(340));un()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return $(W),null;case 4:return dn(),null;case 10:return yo(t.type._context),null;case 22:case 23:return Oo(),null;case 24:return null;default:return null}}var kr=!1,ae=!1,Sf=typeof WeakSet=="function"?WeakSet:Set,C=null;function Zt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){q(e,t,r)}else n.current=null}function Ii(e,t,n){try{n()}catch(r){q(e,t,r)}}var Us=!1;function Ef(e,t){if(Ni=Hr,e=iu(),po(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,u=-1,f=0,g=0,m=e,h=null;t:for(;;){for(var y;m!==n||l!==0&&m.nodeType!==3||(a=s+l),m!==o||r!==0&&m.nodeType!==3||(u=s+r),m.nodeType===3&&(s+=m.nodeValue.length),(y=m.firstChild)!==null;)h=m,m=y;for(;;){if(m===e)break t;if(h===n&&++f===l&&(a=s),h===o&&++g===r&&(u=s),(y=m.nextSibling)!==null)break;m=h,h=m.parentNode}m=y}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ki={focusedElem:e,selectionRange:n},Hr=!1,C=t;C!==null;)if(t=C,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,C=e;else for(;C!==null;){t=C;try{var j=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(j!==null){var N=j.memoizedProps,P=j.memoizedState,d=t.stateNode,c=d.getSnapshotBeforeUpdate(t.elementType===t.type?N:De(t.type,N),P);d.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(w(163))}}catch(v){q(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,C=e;break}C=t.return}return j=Us,Us=!1,j}function On(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&Ii(t,n,o)}l=l.next}while(l!==r)}}function yl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Vi(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function tc(e){var t=e.alternate;t!==null&&(e.alternate=null,tc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ue],delete t[Gn],delete t[Ci],delete t[df],delete t[ff])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function nc(e){return e.tag===5||e.tag===3||e.tag===4}function $s(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||nc(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.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ui(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Gr));else if(r!==4&&(e=e.child,e!==null))for(Ui(e,t,n),e=e.sibling;e!==null;)Ui(e,t,n),e=e.sibling}function $i(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&&(e=e.child,e!==null))for($i(e,t,n),e=e.sibling;e!==null;)$i(e,t,n),e=e.sibling}var re=null,Le=!1;function nt(e,t,n){for(n=n.child;n!==null;)rc(e,t,n),n=n.sibling}function rc(e,t,n){if($e&&typeof $e.onCommitFiberUnmount=="function")try{$e.onCommitFiberUnmount(dl,n)}catch{}switch(n.tag){case 5:ae||Zt(n,t);case 6:var r=re,l=Le;re=null,nt(e,t,n),re=r,Le=l,re!==null&&(Le?(e=re,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):re.removeChild(n.stateNode));break;case 18:re!==null&&(Le?(e=re,n=n.stateNode,e.nodeType===8?Bl(e.parentNode,n):e.nodeType===1&&Bl(e,n),Bn(e)):Bl(re,n.stateNode));break;case 4:r=re,l=Le,re=n.stateNode.containerInfo,Le=!0,nt(e,t,n),re=r,Le=l;break;case 0:case 11:case 14:case 15:if(!ae&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&Ii(n,t,s),l=l.next}while(l!==r)}nt(e,t,n);break;case 1:if(!ae&&(Zt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){q(n,t,a)}nt(e,t,n);break;case 21:nt(e,t,n);break;case 22:n.mode&1?(ae=(r=ae)||n.memoizedState!==null,nt(e,t,n),ae=r):nt(e,t,n);break;default:nt(e,t,n)}}function Bs(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Sf),t.forEach(function(r){var l=Mf.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Te(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var o=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:re=a.stateNode,Le=!1;break e;case 3:re=a.stateNode.containerInfo,Le=!0;break e;case 4:re=a.stateNode.containerInfo,Le=!0;break e}a=a.return}if(re===null)throw Error(w(160));rc(o,s,l),re=null,Le=!1;var u=l.alternate;u!==null&&(u.return=null),l.return=null}catch(f){q(l,t,f)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)lc(t,e),t=t.sibling}function lc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Te(t,e),Ie(e),r&4){try{On(3,e,e.return),yl(3,e)}catch(N){q(e,e.return,N)}try{On(5,e,e.return)}catch(N){q(e,e.return,N)}}break;case 1:Te(t,e),Ie(e),r&512&&n!==null&&Zt(n,n.return);break;case 5:if(Te(t,e),Ie(e),r&512&&n!==null&&Zt(n,n.return),e.flags&32){var l=e.stateNode;try{In(l,"")}catch(N){q(e,e.return,N)}}if(r&4&&(l=e.stateNode,l!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,a=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&Ca(l,o),fi(a,s);var f=fi(a,o);for(s=0;s<u.length;s+=2){var g=u[s],m=u[s+1];g==="style"?Ta(l,m):g==="dangerouslySetInnerHTML"?Ea(l,m):g==="children"?In(l,m):Ji(l,g,m,f)}switch(a){case"input":si(l,o);break;case"textarea":ba(l,o);break;case"select":var h=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!o.multiple;var y=o.value;y!=null?en(l,!!o.multiple,y,!1):h!==!!o.multiple&&(o.defaultValue!=null?en(l,!!o.multiple,o.defaultValue,!0):en(l,!!o.multiple,o.multiple?[]:"",!1))}l[Gn]=o}catch(N){q(e,e.return,N)}}break;case 6:if(Te(t,e),Ie(e),r&4){if(e.stateNode===null)throw Error(w(162));l=e.stateNode,o=e.memoizedProps;try{l.nodeValue=o}catch(N){q(e,e.return,N)}}break;case 3:if(Te(t,e),Ie(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Bn(t.containerInfo)}catch(N){q(e,e.return,N)}break;case 4:Te(t,e),Ie(e);break;case 13:Te(t,e),Ie(e),l=e.child,l.flags&8192&&(o=l.memoizedState!==null,l.stateNode.isHidden=o,!o||l.alternate!==null&&l.alternate.memoizedState!==null||(Lo=K())),r&4&&Bs(e);break;case 22:if(g=n!==null&&n.memoizedState!==null,e.mode&1?(ae=(f=ae)||g,Te(t,e),ae=f):Te(t,e),Ie(e),r&8192){if(f=e.memoizedState!==null,(e.stateNode.isHidden=f)&&!g&&e.mode&1)for(C=e,g=e.child;g!==null;){for(m=C=g;C!==null;){switch(h=C,y=h.child,h.tag){case 0:case 11:case 14:case 15:On(4,h,h.return);break;case 1:Zt(h,h.return);var j=h.stateNode;if(typeof j.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,j.props=t.memoizedProps,j.state=t.memoizedState,j.componentWillUnmount()}catch(N){q(r,n,N)}}break;case 5:Zt(h,h.return);break;case 22:if(h.memoizedState!==null){Hs(m);continue}}y!==null?(y.return=h,C=y):Hs(m)}g=g.sibling}e:for(g=null,m=e;;){if(m.tag===5){if(g===null){g=m;try{l=m.stateNode,f?(o=l.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=m.stateNode,u=m.memoizedProps.style,s=u!=null&&u.hasOwnProperty("display")?u.display:null,a.style.display=Pa("display",s))}catch(N){q(e,e.return,N)}}}else if(m.tag===6){if(g===null)try{m.stateNode.nodeValue=f?"":m.memoizedProps}catch(N){q(e,e.return,N)}}else if((m.tag!==22&&m.tag!==23||m.memoizedState===null||m===e)&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===e)break e;for(;m.sibling===null;){if(m.return===null||m.return===e)break e;g===m&&(g=null),m=m.return}g===m&&(g=null),m.sibling.return=m.return,m=m.sibling}}break;case 19:Te(t,e),Ie(e),r&4&&Bs(e);break;case 21:break;default:Te(t,e),Ie(e)}}function Ie(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(nc(n)){var r=n;break e}n=n.return}throw Error(w(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(In(l,""),r.flags&=-33);var o=$s(e);$i(e,o,l);break;case 3:case 4:var s=r.stateNode.containerInfo,a=$s(e);Ui(e,a,s);break;default:throw Error(w(161))}}catch(u){q(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Pf(e,t,n){C=e,ic(e)}function ic(e,t,n){for(var r=(e.mode&1)!==0;C!==null;){var l=C,o=l.child;if(l.tag===22&&r){var s=l.memoizedState!==null||kr;if(!s){var a=l.alternate,u=a!==null&&a.memoizedState!==null||ae;a=kr;var f=ae;if(kr=s,(ae=u)&&!f)for(C=l;C!==null;)s=C,u=s.child,s.tag===22&&s.memoizedState!==null?Qs(l):u!==null?(u.return=s,C=u):Qs(l);for(;o!==null;)C=o,ic(o),o=o.sibling;C=l,kr=a,ae=f}Ws(e)}else l.subtreeFlags&8772&&o!==null?(o.return=l,C=o):Ws(e)}}function Ws(e){for(;C!==null;){var t=C;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ae||yl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ae)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:De(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Ss(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Ss(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var f=t.alternate;if(f!==null){var g=f.memoizedState;if(g!==null){var m=g.dehydrated;m!==null&&Bn(m)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(w(163))}ae||t.flags&512&&Vi(t)}catch(h){q(t,t.return,h)}}if(t===e){C=null;break}if(n=t.sibling,n!==null){n.return=t.return,C=n;break}C=t.return}}function Hs(e){for(;C!==null;){var t=C;if(t===e){C=null;break}var n=t.sibling;if(n!==null){n.return=t.return,C=n;break}C=t.return}}function Qs(e){for(;C!==null;){var t=C;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{yl(4,t)}catch(u){q(t,n,u)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(u){q(t,l,u)}}var o=t.return;try{Vi(t)}catch(u){q(t,o,u)}break;case 5:var s=t.return;try{Vi(t)}catch(u){q(t,s,u)}}}catch(u){q(t,t.return,u)}if(t===e){C=null;break}var a=t.sibling;if(a!==null){a.return=t.return,C=a;break}C=t.return}}var Tf=Math.ceil,il=Je.ReactCurrentDispatcher,To=Je.ReactCurrentOwner,Se=Je.ReactCurrentBatchConfig,O=0,te=null,Y=null,le=0,ye=0,Jt=Nt(0),Z=0,er=null,Ft=0,wl=0,Do=0,Fn=null,me=null,Lo=0,pn=1/0,We=null,ol=!1,Bi=null,xt=null,Ar=!1,ct=null,sl=0,zn=0,Wi=null,zr=-1,Mr=0;function de(){return O&6?K():zr!==-1?zr:zr=K()}function gt(e){return e.mode&1?O&2&&le!==0?le&-le:mf.transition!==null?(Mr===0&&(Mr=Ba()),Mr):(e=F,e!==0||(e=window.event,e=e===void 0?16:Ya(e.type)),e):1}function Fe(e,t,n,r){if(50<zn)throw zn=0,Wi=null,Error(w(185));nr(e,n,r),(!(O&2)||e!==te)&&(e===te&&(!(O&2)&&(wl|=n),Z===4&&at(e,le)),ve(e,r),n===1&&O===0&&!(t.mode&1)&&(pn=K()+500,xl&&kt()))}function ve(e,t){var n=e.callbackNode;pd(e,t);var r=Wr(e,e===te?le:0);if(r===0)n!==null&&ts(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&ts(n),t===1)e.tag===0?pf(qs.bind(null,e)):hu(qs.bind(null,e)),uf(function(){!(O&6)&&kt()}),n=null;else{switch(Wa(r)){case 1:n=lo;break;case 4:n=Ua;break;case 16:n=Br;break;case 536870912:n=$a;break;default:n=Br}n=pc(n,oc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function oc(e,t){if(zr=-1,Mr=0,O&6)throw Error(w(327));var n=e.callbackNode;if(on()&&e.callbackNode!==n)return null;var r=Wr(e,e===te?le:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=al(e,r);else{t=r;var l=O;O|=2;var o=ac();(te!==e||le!==t)&&(We=null,pn=K()+500,Tt(e,t));do try{Rf();break}catch(a){sc(e,a)}while(!0);vo(),il.current=o,O=l,Y!==null?t=0:(te=null,le=0,t=Z)}if(t!==0){if(t===2&&(l=gi(e),l!==0&&(r=l,t=Hi(e,l))),t===1)throw n=er,Tt(e,0),at(e,r),ve(e,K()),n;if(t===6)at(e,r);else{if(l=e.current.alternate,!(r&30)&&!Df(l)&&(t=al(e,r),t===2&&(o=gi(e),o!==0&&(r=o,t=Hi(e,o))),t===1))throw n=er,Tt(e,0),at(e,r),ve(e,K()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(w(345));case 2:bt(e,me,We);break;case 3:if(at(e,r),(r&130023424)===r&&(t=Lo+500-K(),10<t)){if(Wr(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){de(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=_i(bt.bind(null,e,me,We),t);break}bt(e,me,We);break;case 4:if(at(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var s=31-Oe(r);o=1<<s,s=t[s],s>l&&(l=s),r&=~o}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Tf(r/1960))-r,10<r){e.timeoutHandle=_i(bt.bind(null,e,me,We),r);break}bt(e,me,We);break;case 5:bt(e,me,We);break;default:throw Error(w(329))}}}return ve(e,K()),e.callbackNode===n?oc.bind(null,e):null}function Hi(e,t){var n=Fn;return e.current.memoizedState.isDehydrated&&(Tt(e,t).flags|=256),e=al(e,t),e!==2&&(t=me,me=n,t!==null&&Qi(t)),e}function Qi(e){me===null?me=e:me.push.apply(me,e)}function Df(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var l=n[r],o=l.getSnapshot;l=l.value;try{if(!ze(o(),l))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 at(e,t){for(t&=~Do,t&=~wl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Oe(t),r=1<<n;e[n]=-1,t&=~r}}function qs(e){if(O&6)throw Error(w(327));on();var t=Wr(e,0);if(!(t&1))return ve(e,K()),null;var n=al(e,t);if(e.tag!==0&&n===2){var r=gi(e);r!==0&&(t=r,n=Hi(e,r))}if(n===1)throw n=er,Tt(e,0),at(e,t),ve(e,K()),n;if(n===6)throw Error(w(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,bt(e,me,We),ve(e,K()),null}function Ro(e,t){var n=O;O|=1;try{return e(t)}finally{O=n,O===0&&(pn=K()+500,xl&&kt())}}function zt(e){ct!==null&&ct.tag===0&&!(O&6)&&on();var t=O;O|=1;var n=Se.transition,r=F;try{if(Se.transition=null,F=1,e)return e()}finally{F=r,Se.transition=n,O=t,!(O&6)&&kt()}}function Oo(){ye=Jt.current,$(Jt)}function Tt(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,af(n)),Y!==null)for(n=Y.return;n!==null;){var r=n;switch(ho(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Kr();break;case 3:dn(),$(xe),$(ue),Ao();break;case 5:ko(r);break;case 4:dn();break;case 13:$(W);break;case 19:$(W);break;case 10:yo(r.type._context);break;case 22:case 23:Oo()}n=n.return}if(te=e,Y=e=vt(e.current,null),le=ye=t,Z=0,er=null,Do=wl=Ft=0,me=Fn=null,Et!==null){for(t=0;t<Et.length;t++)if(n=Et[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=l,r.next=s}n.pending=r}Et=null}return e}function sc(e,t){do{var n=Y;try{if(vo(),Rr.current=ll,rl){for(var r=H.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}rl=!1}if(Ot=0,ee=X=H=null,Rn=!1,Xn=0,To.current=null,n===null||n.return===null){Z=1,er=t,Y=null;break}e:{var o=e,s=n.return,a=n,u=t;if(t=le,a.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var f=u,g=a,m=g.tag;if(!(g.mode&1)&&(m===0||m===11||m===15)){var h=g.alternate;h?(g.updateQueue=h.updateQueue,g.memoizedState=h.memoizedState,g.lanes=h.lanes):(g.updateQueue=null,g.memoizedState=null)}var y=Rs(s);if(y!==null){y.flags&=-257,Os(y,s,a,o,t),y.mode&1&&Ls(o,f,t),t=y,u=f;var j=t.updateQueue;if(j===null){var N=new Set;N.add(u),t.updateQueue=N}else j.add(u);break e}else{if(!(t&1)){Ls(o,f,t),Fo();break e}u=Error(w(426))}}else if(B&&a.mode&1){var P=Rs(s);if(P!==null){!(P.flags&65536)&&(P.flags|=256),Os(P,s,a,o,t),xo(fn(u,a));break e}}o=u=fn(u,a),Z!==4&&(Z=2),Fn===null?Fn=[o]:Fn.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var d=Wu(o,u,t);bs(o,d);break e;case 1:a=u;var c=o.type,p=o.stateNode;if(!(o.flags&128)&&(typeof c.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(xt===null||!xt.has(p)))){o.flags|=65536,t&=-t,o.lanes|=t;var v=Hu(o,a,t);bs(o,v);break e}}o=o.return}while(o!==null)}cc(n)}catch(A){t=A,Y===n&&n!==null&&(Y=n=n.return);continue}break}while(!0)}function ac(){var e=il.current;return il.current=ll,e===null?ll:e}function Fo(){(Z===0||Z===3||Z===2)&&(Z=4),te===null||!(Ft&268435455)&&!(wl&268435455)||at(te,le)}function al(e,t){var n=O;O|=2;var r=ac();(te!==e||le!==t)&&(We=null,Tt(e,t));do try{Lf();break}catch(l){sc(e,l)}while(!0);if(vo(),O=n,il.current=r,Y!==null)throw Error(w(261));return te=null,le=0,Z}function Lf(){for(;Y!==null;)uc(Y)}function Rf(){for(;Y!==null&&!ld();)uc(Y)}function uc(e){var t=fc(e.alternate,e,ye);e.memoizedProps=e.pendingProps,t===null?cc(e):Y=t,To.current=null}function cc(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=bf(n,t),n!==null){n.flags&=32767,Y=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Z=6,Y=null;return}}else if(n=Cf(n,t,ye),n!==null){Y=n;return}if(t=t.sibling,t!==null){Y=t;return}Y=t=e}while(t!==null);Z===0&&(Z=5)}function bt(e,t,n){var r=F,l=Se.transition;try{Se.transition=null,F=1,Of(e,t,n,r)}finally{Se.transition=l,F=r}return null}function Of(e,t,n,r){do on();while(ct!==null);if(O&6)throw Error(w(327));n=e.finishedWork;var l=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(w(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(md(e,o),e===te&&(Y=te=null,le=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ar||(Ar=!0,pc(Br,function(){return on(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Se.transition,Se.transition=null;var s=F;F=1;var a=O;O|=4,To.current=null,Ef(e,n),lc(n,e),ef(ki),Hr=!!Ni,ki=Ni=null,e.current=n,Pf(n),id(),O=a,F=s,Se.transition=o}else e.current=n;if(Ar&&(Ar=!1,ct=e,sl=l),o=e.pendingLanes,o===0&&(xt=null),ad(n.stateNode),ve(e,K()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],r(l.value,{componentStack:l.stack,digest:l.digest});if(ol)throw ol=!1,e=Bi,Bi=null,e;return sl&1&&e.tag!==0&&on(),o=e.pendingLanes,o&1?e===Wi?zn++:(zn=0,Wi=e):zn=0,kt(),null}function on(){if(ct!==null){var e=Wa(sl),t=Se.transition,n=F;try{if(Se.transition=null,F=16>e?16:e,ct===null)var r=!1;else{if(e=ct,ct=null,sl=0,O&6)throw Error(w(331));var l=O;for(O|=4,C=e.current;C!==null;){var o=C,s=o.child;if(C.flags&16){var a=o.deletions;if(a!==null){for(var u=0;u<a.length;u++){var f=a[u];for(C=f;C!==null;){var g=C;switch(g.tag){case 0:case 11:case 15:On(8,g,o)}var m=g.child;if(m!==null)m.return=g,C=m;else for(;C!==null;){g=C;var h=g.sibling,y=g.return;if(tc(g),g===f){C=null;break}if(h!==null){h.return=y,C=h;break}C=y}}}var j=o.alternate;if(j!==null){var N=j.child;if(N!==null){j.child=null;do{var P=N.sibling;N.sibling=null,N=P}while(N!==null)}}C=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,C=s;else e:for(;C!==null;){if(o=C,o.flags&2048)switch(o.tag){case 0:case 11:case 15:On(9,o,o.return)}var d=o.sibling;if(d!==null){d.return=o.return,C=d;break e}C=o.return}}var c=e.current;for(C=c;C!==null;){s=C;var p=s.child;if(s.subtreeFlags&2064&&p!==null)p.return=s,C=p;else e:for(s=c;C!==null;){if(a=C,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:yl(9,a)}}catch(A){q(a,a.return,A)}if(a===s){C=null;break e}var v=a.sibling;if(v!==null){v.return=a.return,C=v;break e}C=a.return}}if(O=l,kt(),$e&&typeof $e.onPostCommitFiberRoot=="function")try{$e.onPostCommitFiberRoot(dl,e)}catch{}r=!0}return r}finally{F=n,Se.transition=t}}return!1}function Gs(e,t,n){t=fn(n,t),t=Wu(e,t,1),e=ht(e,t,1),t=de(),e!==null&&(nr(e,1,t),ve(e,t))}function q(e,t,n){if(e.tag===3)Gs(e,e,n);else for(;t!==null;){if(t.tag===3){Gs(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(xt===null||!xt.has(r))){e=fn(n,e),e=Hu(t,e,1),t=ht(t,e,1),e=de(),t!==null&&(nr(t,1,e),ve(t,e));break}}t=t.return}}function Ff(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=de(),e.pingedLanes|=e.suspendedLanes&n,te===e&&(le&n)===n&&(Z===4||Z===3&&(le&130023424)===le&&500>K()-Lo?Tt(e,0):Do|=n),ve(e,t)}function dc(e,t){t===0&&(e.mode&1?(t=mr,mr<<=1,!(mr&130023424)&&(mr=4194304)):t=1);var n=de();e=Xe(e,t),e!==null&&(nr(e,t,n),ve(e,n))}function zf(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),dc(e,n)}function Mf(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(w(314))}r!==null&&r.delete(t),dc(e,n)}var fc;fc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||xe.current)he=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return he=!1,_f(e,t,n);he=!!(e.flags&131072)}else he=!1,B&&t.flags&1048576&&xu(t,Zr,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Fr(e,t),e=t.pendingProps;var l=an(t,ue.current);ln(t,n),l=Co(null,t,r,e,l,n);var o=bo();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ge(r)?(o=!0,Yr(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,jo(t),l.updater=vl,t.stateNode=l,l._reactInternals=t,Di(t,r,e,n),t=Oi(null,t,r,!0,o,n)):(t.tag=0,B&&o&&mo(t),ce(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Fr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Vf(r),e=De(r,e),l){case 0:t=Ri(null,t,r,e,n);break e;case 1:t=Ms(null,t,r,e,n);break e;case 11:t=Fs(null,t,r,e,n);break e;case 14:t=zs(null,t,r,De(r.type,e),n);break e}throw Error(w(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),Ri(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),Ms(e,t,r,l,n);case 3:e:{if(Ku(t),e===null)throw Error(w(387));r=t.pendingProps,o=t.memoizedState,l=o.element,Nu(e,t),tl(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=fn(Error(w(423)),t),t=Is(e,t,r,n,l);break e}else if(r!==l){l=fn(Error(w(424)),t),t=Is(e,t,r,n,l);break e}else for(we=mt(t.stateNode.containerInfo.firstChild),je=t,B=!0,Re=null,n=wu(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(un(),r===l){t=Ze(e,t,n);break e}ce(e,t,r,n)}t=t.child}return t;case 5:return ku(t),e===null&&Ei(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,s=l.children,Ai(r,l)?s=null:o!==null&&Ai(r,o)&&(t.flags|=32),Gu(e,t),ce(e,t,s,n),t.child;case 6:return e===null&&Ei(t),null;case 13:return Yu(e,t,n);case 4:return No(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=cn(t,null,r,n):ce(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),Fs(e,t,r,l,n);case 7:return ce(e,t,t.pendingProps,n),t.child;case 8:return ce(e,t,t.pendingProps.children,n),t.child;case 12:return ce(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,s=l.value,V(Jr,r._currentValue),r._currentValue=s,o!==null)if(ze(o.value,s)){if(o.children===l.children&&!xe.current){t=Ze(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=Ge(-1,n&-n),u.tag=2;var f=o.updateQueue;if(f!==null){f=f.shared;var g=f.pending;g===null?u.next=u:(u.next=g.next,g.next=u),f.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Pi(o.return,n,t),a.lanes|=n;break}u=u.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(w(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Pi(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}ce(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,ln(t,n),l=Ee(l),r=r(l),t.flags|=1,ce(e,t,r,n),t.child;case 14:return r=t.type,l=De(r,t.pendingProps),l=De(r.type,l),zs(e,t,r,l,n);case 15:return Qu(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),Fr(e,t),t.tag=1,ge(r)?(e=!0,Yr(t)):e=!1,ln(t,n),Bu(t,r,l),Di(t,r,l,n),Oi(null,t,r,!0,e,n);case 19:return Xu(e,t,n);case 22:return qu(e,t,n)}throw Error(w(156,t.tag))};function pc(e,t){return Va(e,t)}function If(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.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 be(e,t,n,r){return new If(e,t,n,r)}function zo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Vf(e){if(typeof e=="function")return zo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===to)return 11;if(e===no)return 14}return 2}function vt(e,t){var n=e.alternate;return n===null?(n=be(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.deleti
vendor: 6,818 bytes, line 40
40ons=null),n.flags=e.flags&14680064,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}function Ir(e,t,n,r,l,o){var s=2;if(r=e,typeof e=="function")zo(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Bt:return Dt(n.children,l,o,t);case eo:s=8,l|=8;break;case ni:return e=be(12,n,t,l|2),e.elementType=ni,e.lanes=o,e;case ri:return e=be(13,n,t,l),e.elementType=ri,e.lanes=o,e;case li:return e=be(19,n,t,l),e.elementType=li,e.lanes=o,e;case ka:return jl(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ja:s=10;break e;case Na:s=9;break e;case to:s=11;break e;case no:s=14;break e;case it:s=16,r=null;break e}throw Error(w(130,e==null?e:typeof e,""))}return t=be(s,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Dt(e,t,n,r){return e=be(7,e,r,t),e.lanes=n,e}function jl(e,t,n,r){return e=be(22,e,r,t),e.elementType=ka,e.lanes=n,e.stateNode={isHidden:!1},e}function Xl(e,t,n){return e=be(6,e,null,t),e.lanes=n,e}function Zl(e,t,n){return t=be(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Uf(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Dl(0),this.expirationTimes=Dl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Dl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Mo(e,t,n,r,l,o,s,a,u){return e=new Uf(e,t,n,a,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=be(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},jo(o),e}function $f(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:$t,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function mc(e){if(!e)return wt;e=e._reactInternals;e:{if(It(e)!==e||e.tag!==1)throw Error(w(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ge(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(w(171))}if(e.tag===1){var n=e.type;if(ge(n))return mu(e,n,t)}return t}function hc(e,t,n,r,l,o,s,a,u){return e=Mo(n,r,!0,e,l,o,s,a,u),e.context=mc(null),n=e.current,r=de(),l=gt(n),o=Ge(r,l),o.callback=t??null,ht(n,o,l),e.current.lanes=l,nr(e,l,r),ve(e,r),e}function Nl(e,t,n,r){var l=t.current,o=de(),s=gt(l);return n=mc(n),t.context===null?t.context=n:t.pendingContext=n,t=Ge(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=ht(l,t,s),e!==null&&(Fe(e,l,s,o),Lr(e,l,s)),s}function ul(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Ks(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Io(e,t){Ks(e,t),(e=e.alternate)&&Ks(e,t)}function Bf(){return null}var xc=typeof reportError=="function"?reportError:function(e){console.error(e)};function Vo(e){this._internalRoot=e}kl.prototype.render=Vo.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(w(409));Nl(e,t,null,null)};kl.prototype.unmount=Vo.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;zt(function(){Nl(null,e,null,null)}),t[Ye]=null}};function kl(e){this._internalRoot=e}kl.prototype.unstable_scheduleHydration=function(e){if(e){var t=qa();e={blockedOn:null,target:e,priority:t};for(var n=0;n<st.length&&t!==0&&t<st[n].priority;n++);st.splice(n,0,e),n===0&&Ka(e)}};function Uo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Al(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Ys(){}function Wf(e,t,n,r,l){if(l){if(typeof r=="function"){var o=r;r=function(){var f=ul(s);o.call(f)}}var s=hc(t,r,e,0,null,!1,!1,"",Ys);return e._reactRootContainer=s,e[Ye]=s.current,Qn(e.nodeType===8?e.parentNode:e),zt(),s}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var a=r;r=function(){var f=ul(u);a.call(f)}}var u=Mo(e,0,!1,null,null,!1,!1,"",Ys);return e._reactRootContainer=u,e[Ye]=u.current,Qn(e.nodeType===8?e.parentNode:e),zt(function(){Nl(t,u,n,r)}),u}function _l(e,t,n,r,l){var o=n._reactRootContainer;if(o){var s=o;if(typeof l=="function"){var a=l;l=function(){var u=ul(s);a.call(u)}}Nl(t,s,e,l)}else s=Wf(n,t,e,l,r);return ul(s)}Ha=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=bn(t.pendingLanes);n!==0&&(io(t,n|1),ve(t,K()),!(O&6)&&(pn=K()+500,kt()))}break;case 13:zt(function(){var r=Xe(e,1);if(r!==null){var l=de();Fe(r,e,1,l)}}),Io(e,1)}};oo=function(e){if(e.tag===13){var t=Xe(e,134217728);if(t!==null){var n=de();Fe(t,e,134217728,n)}Io(e,134217728)}};Qa=function(e){if(e.tag===13){var t=gt(e),n=Xe(e,t);if(n!==null){var r=de();Fe(n,e,t,r)}Io(e,t)}};qa=function(){return F};Ga=function(e,t){var n=F;try{return F=e,t()}finally{F=n}};mi=function(e,t,n){switch(t){case"input":if(si(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var l=hl(r);if(!l)throw Error(w(90));_a(r),si(r,l)}}}break;case"textarea":ba(e,n);break;case"select":t=n.value,t!=null&&en(e,!!n.multiple,t,!1)}};Ra=Ro;Oa=zt;var Hf={usingClientEntryPoint:!1,Events:[lr,qt,hl,Da,La,Ro]},An={findFiberByHostInstance:St,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Qf={bundleType:An.bundleType,version:An.version,rendererPackageName:An.rendererPackageName,rendererConfig:An.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Je.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ma(e),e===null?null:e.stateNode},findFiberByHostInstance:An.findFiberByHostInstance||Bf,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var _r=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!_r.isDisabled&&_r.supportsFiber)try{dl=_r.inject(Qf),$e=_r}catch{}}ke.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Hf;ke.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Uo(t))throw Error(w(200));return $f(e,t,null,n)};ke.createRoot=function(e,t){if(!Uo(e))throw Error(w(299));var n=!1,r="",l=xc;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=Mo(e,1,!1,null,null,n,!1,r,l),e[Ye]=t.current,Qn(e.nodeType===8?e.parentNode:e),new Vo(t)};ke.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(w(188)):(e=Object.keys(e).join(","),Error(w(268,e)));return e=Ma(t),e=e===null?null:e.stateNode,e};ke.flushSync=function(e){return zt(e)};ke.hydrate=function(e,t,n){if(!Al(t))throw Error(w(200));return _l(null,e,t,!0,n)};ke.hydrateRoot=function(e,t,n){if(!Uo(e))throw Error(w(405));var r=n!=null&&n.hydratedSources||null,l=!1,o="",s=xc;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=hc(t,null,e,1,n??null,l,!1,o,s),e[Ye]=t.current,Qn(e),r)for(e=0;e<r.length;e++)n=r[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new kl(t)};ke.render=function(e,t,n){if(!Al(t))throw Error(w(200));return _l(null,e,t,!1,n)};ke.unmountComponentAtNode=function(e){if(!Al(e))throw Error(w(40));return e._reactRootContainer?(zt(function(){_l(null,null,e,!1,function(){e._reactRootContainer=null,e[Ye]=null})}),!0):!1};ke.unstable_batchedUpdates=Ro;ke.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Al(n))throw Error(w(200));if(e==null||e._reactInternals===void 0)throw Error(w(38));return _l(e,t,n,!1,r)};ke.version="18.3.1-next-f1338f8080-20240426";function gc(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(gc)}catch(e){console.error(e)}}gc(),ga.exports=ke;var qf=ga.exports,Xs=qf;ei.createRoot=Xs.createRoot,ei.hydrateRoot=Xs.hydrateRoot;const Gf="https://asset-registry-api-production.up.railway.app";async function Kf(e,t={}){var l;const n=await fetch(`${Gf}${e}`,{headers:{"Content-Type":"application/json"},...t}),r=await n.json();if(!n.ok){const o=((l=r==null?void 0:r.error)==null?void 0:l.message)||`Request failed: ${n.status}`;throw new Error(o)}return r}async function vc(e={}){const t=new URLSearchParams;e.type&&t.set("type",e.type),e.style&&t.set("style",e.style),e.use_case&&t.set("use_case",e.use_case),e.max_price&&t.set("max_price",e.max_price),e.verified_only&&t.set("verified_only","true");const n=t.toString()?`?${t}`:"";return Kf(`/assets${n}`)}function Yf({page:e,onNav:t}){const[n,r]=D.useState(!1),l=[{label:"How It Works",page:"pricing",href:null},{label:"Source Platforms",page:null,href:"#platforms"},{label:"For Creators & Agents",page:"supply",href:null},{label:"Compliance Docs",page:"docs",href:null},{label:"Enterprise",page:null,href:"#enterprise"}];function o(s,a){s.page&&(a.preventDefault(),t(s.page),r(!1))}return i.jsxs("header",{className:"sticky top-0 z-40 bg-[#0A0A0A]/95 backdrop-blur-sm border-b border-[#1C1C1C]",children:[i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 h-16 flex items-center justify-between",children:[i.jsxs("button",{onClick:()=>t("shortlist"),className:"flex items-center gap-2.5 flex-shrink-0 group",children:[i.jsx("div",{className:"w-8 h-8 rounded bg-brand-600 flex items-center justify-center",children:i.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[i.jsx("rect",{x:"1",y:"1",width:"6",height:"6",rx:"1",fill:"white",fillOpacity:"0.9"}),i.jsx("rect",{x:"9",y:"1",width:"6",height:"6",rx:"1",fill:"white",fillOpacity:"0.5"}),i.jsx("rect",{x:"1",y:"9",width:"6",height:"6",rx:"1",fill:"white",fillOpacity:"0.5"}),i.jsx("rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",fill:"white",fillOpacity:"0.9"})]})}),i.jsx("span",{className:"text-base font-bold tracking-tight text-white group-hover:text-[#CDCDC8] transition-colors",children:"PixelVault"})]}),i.jsx("nav",{className:"hidden md:flex items-center gap-7",children:l.map(s=>s.page?i.jsx("button",{onClick:a=>o(s,a),className:`text-sm font-medium transition-colors tracking-wide 41 ${e===s.page?"text-[#CDCDC8]":"text-[#555] hover:text-[#CDCDC8]"}`,children:s.label},s.label):i.jsx("a",{href:s.href,className:"text-sm font-medium text-[#555] hover:text-[#CDCDC8] transition-colors tracking-wide",children:s.label},s.label))}),i.jsxs("div",{className:"hidden sm:flex items-center gap-3",children:[i.jsx("button",{onClick:()=>t("query"),className:"text-sm font-mono text-[#555] hover:text-brand-500 transition-colors tracking-wide",children:"Agent Query"}),i.jsx("a",{href:"mailto:[email protected]",className:`text-sm font-semibold px-4 py-2 rounded border border-[#2A2A2A] 42 text-[#888] hover:border-brand-700 hover:text-brand-500 transition-all tracking-wide`,children:"Enterprise"})]}),i.jsx("button",{className:"md:hidden text-[#666] hover:text-white p-1",onClick:()=>r(s=>!s),"aria-label":"Toggle menu",children:i.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:n?i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}):i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 12h16M4 18h16"})})})]}),n&&i.jsxs("div",{className:"md:hidden border-t border-[#1C1C1C] bg-[#0A0A0A] px-4 py-4 space-y-3",children:[l.map(s=>s.page?i.jsx("button",{onClick:a=>o(s,a),className:"block w-full text-left text-sm font-medium text-[#666] hover:text-[#CDCDC8] py-1 transition-colors",children:s.label},s.label):i.jsx("a",{href:s.href,onClick:()=>r(!1),className:"block text-sm font-medium text-[#666] hover:text-[#CDCDC8] py-1 transition-colors",children:s.label},s.label)),i.jsx("button",{onClick:()=>{t("query"),r(!1)},className:"block text-sm font-mono text-brand-600 py-1",children:"Agent Query â"})]})]})}function Xf({brief:e,queryId:t,candidateCount:n,approvedCount:r,vertical:l}){const o=(l==null?void 0:l.clearanceLabel)||"Film & TV Commercial · Worldwide",s=(l==null?void 0:l.label)||"Post Production";return i.jsx("div",{className:"border-b border-[#141414] bg-[#080808]",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-5",children:i.jsxs("div",{className:"flex items-start justify-between gap-8",children:[i.jsxs("div",{className:"flex-1 min-w-0",children:[i.jsxs("div",{className:"flex items-center gap-2.5 mb-2",children:[i.jsx("span",{className:"font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest",children:"Agent Query"}),t&&i.jsxs(i.Fragment,{children:[i.jsx("span",{className:"text-[#222]",children:"·"}),i.jsx("span",{className:"font-mono text-[10px] text-[#2A2A2A]",children:t})]}),i.jsx("span",{className:"text-[#1C1C1C]",children:"·"}),i.jsx("span",{className:"font-mono text-[10px] text-[#222] uppercase tracking-widest",children:s})]}),i.jsx("blockquote",{className:"border-l-2 border-[#2A2A2A] pl-4",children:i.jsx("p",{className:"text-sm text-[#666] leading-relaxed font-mono line-clamp-2",children:e||"Scene 4 â late-night urban exterior establishing shot with a sense of isolation. Negative space required on right side for lower-third graphic. Distribution: Netflix · Broadcast. Territory: Worldwide."})})]}),i.jsxs("div",{className:"flex-shrink-0 flex items-center gap-5",children:[i.jsxs("div",{className:"text-center",children:[i.jsx("div",{className:"font-mono text-lg font-bold text-[#EDEDE8]",children:n}),i.jsx("div",{className:"font-mono text-[10px] text-[#333] uppercase tracking-widest",children:"Candidates"})]}),i.jsx("div",{className:"w-px h-8 bg-[#1C1C1C]"}),i.jsxs("div",{className:"text-center",children:[i.jsx("div",{className:`font-mono text-lg font-bold ${r>0?"text-green-400":"text-[#333]"}`,children:r}),i.jsx("div",{className:"font-mono text-[10px] text-[#333] uppercase tracking-widest",children:"Approved"})]}),i.jsx("div",{className:"w-px h-8 bg-[#1C1C1C]"}),i.jsxs("div",{className:"text-right",children:[i.jsx("div",{className:"font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest mb-1",children:"Compliance"}),i.jsxs("div",{className:"flex items-center gap-1.5 justify-end",children:[i.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-green-500"}),i.jsx("span",{className:"font-mono text-[10px] text-green-600",children:"All Clear"})]}),i.jsx("div",{className:"font-mono text-[10px] text-[#222] mt-0.5 max-w-[160px] text-right",children:o})]})]})]})})})}const Zs={Video:["establishing shot","tracking shot","static wide","aerial","handheld","POV"],Image:["static wide","close-up","aerial","establishing shot"],Audio:[],Design:[]},Zf=[{label:"urban exterior · night · practical light",exterior:!0,location:"urban street",timeOfDay:"night",lighting:"practical light"},{label:"corporate interior · day · fluorescent",exterior:!1,location:"corporate lobby",timeOfDay:"day",lighting:"fluorescent"},{label:"hospital corridor · neutral · overhead",exterior:!1,location:"hospital corridor",timeOfDay:"neutral",lighting:"overhead"},{label:"residential kitchen · morning · natural",exterior:!1,location:"residential kitchen",t
42imeOfDay:"morning",lighting:"natural light"},{label:"highway · golden hour · backlit",exterior:!0,location:"highway",timeOfDay:"golden hour",lighting:"backlit"},{label:"industrial exterior · overcast · diffuse",exterior:!0,location:"industrial site",timeOfDay:"day",lighting:"overcast / diffuse"},{label:"forest interior · dusk · low practical",exterior:!0,location:"forest clearing",timeOfDay:"dusk",lighting:"low practical"},{label:"studio · controlled · neutral",exterior:!1,location:"studio environment",timeOfDay:"neutral",lighting:"controlled / neutral"}],Jf=["tense","melancholic","triumphant","intimate","clinical","expansive","nostalgic","urgent"],ep=["establishing","transition","montage","interstitial","cutaway","reaction"],tp=["static","slow motion","handheld","locked off","timelapse","real-time"],np=["warm","cool","desaturated","high contrast","muted","monochromatic"],rp=["solitude","momentum","luxury","grit","community","isolation","velocity","stillness","institutional","domestic","expansive","urban"],lp=["Netflix","Broadcast","Streaming","Theatrical","Digital (worldwide)","SVOD"],Js={Video:[(e,t)=>`Selected for ${t.visual_grammar} with ${t.color_profile} color profile â matches brief requirement for ${t.narrative_function} with negative space ${t.negative_space_position||"confirmed"} for graphics overlay.`,(e,t)=>`Agent confidence HIGH. ${t.setting.label} composition aligns with Scene 4 requirements. Cleared across all approved territories; C2PA provenance verified.`,(e,t)=>`${Cr(t.emotional_tone)} tonal profile and ${t.motion_quality} motion quality match brief specification. Negative space available ${t.negative_space_position?`(${t.negative_space_position})`:""} for lower-third placement.`],Image:[(e,t)=>`Selected for ${t.visual_grammar} framing with ${t.color_profile} palette â text-overlay safe zone ${t.text_overlay_safe?"confirmed":"not available"}, ${t.setting.label}.`,(e,t)=>`Static composition with ${t.emotional_tone} tone matches brief mood board specification. Adobe Firefly provenance; cleared for Film & TV Commercial use worldwide.`,(e,t)=>`${Cr(t.color_profile)} color profile and ${t.setting.lighting} consistent with brief's specified visual grammar. ${t.text_overlay_safe?"Text-overlay safe.":""}`],Audio:[(e,t)=>`Selected for ${t.emotional_tone} tonal profile â tempo and dynamic range consistent with brief pacing requirements for ${t.narrative_function} placement.`,(e,t)=>`Instrumentation maps to brief's specification for ${t.narrative_function} sequence. Cleared for sync licensing across all approved distribution platforms.`,(e,t)=>`Agent confidence HIGH. ${Cr(t.emotional_tone)} timbre and ${t.thematic_keywords.slice(0,2).join(", ")} thematic weight align with scene brief.`],Design:[(e,t)=>`Clean layout with ${t.color_profile} treatment â grid system compatible with motion graphics requirements specified in brief.`,(e,t)=>`Visual hierarchy and ${t.emotional_tone} aesthetic align with brief's brand system specification. Cleared for all approved territories and platforms.`,(e,t)=>`${Cr(t.color_profile)} treatment and compositional structure match brief. Text-overlay safe ${t.text_overlay_safe?"confirmed":"not applicable"}.`]};function Cr(e){return e?e.charAt(0).toUpperCase()+e.slice(1):""}function ip(e){return typeof e=="number"?e:String(e).split("").reduce((t,n)=>t*31+n.charCodeAt(0)|0,7)}function rt(e,t){return e[Math.abs(t)%e.length]}function op(e){const t=ip(e.asset_id),n=e.asset_type||"Video",r=Zs[n]??Zs.Video,l={visual_grammar:r.length?rt(r,t):null,setting:rt(Zf,t+1),emotional_tone:rt(Jf,t+2),narrative_function:rt(ep,t+3),motion_quality:rt(tp,t+4),color_profile:rt(np,t+5),thematic_keywords:Array.from({length:3},(s,a)=>rt(rp,t+6+a)),negative_space_available:t%2===0,negative_space_position:t%2===0?t%4<2?"left":"right":null,text_overlay_safe:t%3!==0,clearance_status:e.verified_creator?"Cleared":"Pending Review",license_type_label:"Film & TV Commercial",cleared_territories:["Worldwide"],clearance_date:"2025-01-15",approved_platforms:Array.from({length:3},(s,a)=>rt(lp,t+a)),usage_restrictions:null},o=Js[n]??Js.Video;return l.agent_rationale=o[t%o.length](e,l),{...e,...l}}const sp={"Adobe Firefly":{color:"text-red-400",border:"border-red-900/60"},Moonvalley:{color:"text-violet-400",border:"border-violet-900/60"},Runway:{color:"text-sky-400",border:"border-sky-900/60"},Pika:{color:"text-pink-400",border:"border-pink-900/60"}},ap={Image:"text-sky-400 border-sky-900/60",Video:"text-violet-400 border-violet-900/60",Audio:"text-amber-400 border-amber-900/60",Design:"text-emerald-400 border-emerald-900/60"};function up(e){var n;const t=(((n=e.content_credentials)==null?void 0:n["c2pa:softwareAgent"])||e.generation_tool||"").toLowerCase();return t.includes("firefly")?"Adobe Firefly":t.includes("moonvalley")?"Moonvalley":t.includes("runway")?"Runway":t.includes("pika")?"Pika":e.generation_tool?e.generation_tool:null}function cp({asset:e}){var n;return e.verified_creator?i.jsx("div",{className:"border-y-2 border-green-700/60 bg-[#011f0d] px-4 py-3",children:i.jsxs("div",{className:"border border-green-900/40 px-3 py-2 flex items-center justify-between gap-3",children:[i.jsxs("div",{className:"flex items-center gap-2.5",children:[i.jsx("svg",{className:"w-5 h-5 text-green-400 flex-shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75L11.25 15 15 9.75M21 12c0 1.268-.63 2.39-1.593 3.068a3.745 3.745 0 01-1.043 3.296 3.745 3.745 0 01-3.296 1.043A3.745 3.745 0 0112 21c-1.268 0-2.39-.63
42-3.068-1.593a3.745 3.745 0 01-3.296-1.043 3.745 3.745 0 01-1.043-3.296A3.745 3.745 0 013 12c0-1.268.63-2.39 1.593-3.068a3.745 3.745 0 011.043-3.296 3.745 3.745 0 013.296-1.043A3.745 3.745 0 0112 3c1.268 0 2.39.63 3.068 1.593a3.745 3.745 0 013.296 1.043 3.745 3.745 0 011.043 3.296A3.745 3.745 0 0121 12z"})}),i.jsxs("div",{children:[i.jsxs("div",{className:"font-mono font-bold text-green-300 uppercase tracking-widest text-xs leading-tight",children:["Cleared: ",e.use_case||e.license_type||"Film & TV Commercial"]}),i.jsxs("div",{className:"font-mono text-green-800 text-[10px] mt-0.5 tracking-wide",children:[((n=e.cleared_territories)==null?void 0:n[0])??"Worldwide"," · C2PA Verified · Perpetual"]})]})]}),i.jsx("div",{className:`flex-shrink-0 w-8 h-8 rounded-full border border-green-700/50 bg-[#012d12] 43 flex items-center justify-center`,children:i.jsx("span",{className:"font-mono text-green-600 text-[7px] font-bold tracking-wider leading-none text-center",children:"C2PA"})})]})}):i.jsx("div",{className:"border-y-2 border-amber-900/40 bg-[#130e01] px-4 py-2.5",children:i.jsxs("div",{className:"border border-amber-900/25 px-3 py-1.5 flex items-center gap-2",children:[i.jsx("svg",{className:"w-4 h-4 text-amber-700 flex-shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"})}),i.jsx("span",{className:"font-mono font-bold text-amber-700/80 uppercase tracking-widest text-xs",children:"Pending Clearance Review"})]})})}function dp({asset:e,status:t="pending",onApprove:n,onReplace:r}){const l=op(e),o=D.useRef(null),s=up(l),a=sp[s]??{color:"text-gray-400",border:"border-gray-700/50"},u=ap[l.asset_type]??"text-gray-400 border-gray-700/50",f=l.asset_type==="Video",g=l.file_format||l.resolution_or_spec||null,m=t==="approved",h=t==="replaced";function y(){f&&o.current&&o.current.play().catch(()=>{})}function j(){f&&o.current&&(o.current.pause(),o.current.currentTime=0)}return i.jsxs("div",{onMouseEnter:y,onMouseLeave:j,className:`relative bg-[#0E0E0E] rounded-xl border overflow-hidden transition-all duration-200 44 ${m?"border-green-700/50 ring-1 ring-green-700/20":h?"border-[#1A1A1A] opacity-35":"border-[#1C1C1C] hover:border-[#282828]"}`,children:[m&&i.jsxs("div",{className:"absolute top-2.5 left-1/2 -translate-x-1/2 z-20 bg-green-700 rounded px-3 py-0.5 flex items-center gap-1.5 shadow-lg",children:[i.jsx("svg",{className:"w-3 h-3 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:3,children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})}),i.jsx("span",{className:"text-white font-mono text-[10px] uppercase tracking-widest font-bold",children:"Approved"})]}),h&&i.jsx("div",{className:"absolute top-2.5 left-1/2 -translate-x-1/2 z-20 bg-[#1C1C1C] border border-[#333] rounded px-2 py-0.5",children:i.jsx("span",{className:"text-[#555] font-mono text-[10px] uppercase tracking-widest",children:"Replacement Requested"})}),i.jsxs("div",{className:"relative aspect-[16/9] bg-[#080808] overflow-hidden",children:[l.preview_url?i.jsxs(i.Fragment,{children:[i.jsx("img",{src:l.preview_url,alt:l.asset_name,className:"w-full h-full object-cover opacity-80",loading:"lazy"}),f&&l.video_url&&i.jsx("video",{ref:o,src:l.video_url,className:"absolute inset-0 w-full h-full object-cover",muted:!0,loop:!0,playsInline:!0,preload:"none"})]}):i.jsx("div",{className:"w-full h-full flex items-center justify-center",children:i.jsx("span",{className:"text-[#222] font-mono text-xs uppercase tracking-widest",children:l.asset_type||"Asset"})}),i.jsx("span",{className:`absolute top-2.5 left-2.5 px-2 py-0.5 rounded border text-xs font-mono 45 bg-[#0A0A0A]/85 backdrop-blur-sm ${u}`,children:l.asset_type}),s&&!m&&!h&&i.jsx("span",{className:`absolute top-2.5 right-2.5 px-2 py-0.5 rounded border text-xs font-mono 46 bg-[#0A0A0A]/85 backdrop-blur-sm ${a.color} ${a.border}`,children:s})]}),i.jsx(cp,{asset:l}),i.jsxs("div",{className:"p-4 space-y-3",children:[i.jsx("h3",{className:"font-semibold text-[#EDEDE8] text-sm leading-snug tracking-tight line-clamp-1",children:l.asset_name}),i.jsxs("div",{className:"border-l-2 border-[#252525] pl-3",children:[i.jsx("div",{className:"text-[10px] font-mono text-[#3A3A3A] uppercase tracking-widest mb-1",children:"Agent Rationale"}),i.jsx("p",{className:"text-xs text-[#666] leading-relaxed line-clamp-3 font-mono",children:l.agent_rationale})]}),i.jsxs("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1",children:[s&&i.jsx("span",{className:`text-xs font-mono font-semibold ${a.color}`,children:s}),i.jsx("span",{className:"text-[#2A2A2A]",children:"·"}),g&&i.jsx("span",{className:"text-xs font-mono text-[#444] bg-[#161616] px-1.5 py-0.5 rounded border border-[#1E1E1E]",children:g}),i.jsx("span",{className:"text-xs font-mono text-[#333] ml-auto",children:l.license_type_label??"Film & TV Commercial"})]}),i.jsxs("div",{className:"flex items-center gap-1.5 flex-wrap",children:[l.visual_grammar&&i.jsx("span",{className:"text-[10px] font-mono text-[#333] bg-[#111] border border-[#1A1A1A] px-1.5 py-0.5 rounded",children:l.visual_grammar}),l.emotional_tone&&i.jsx("span",{className:"text-[10px] font-mono text-[#333] bg-[#111] border border-[#1A1A1A] px-1.5 py-0.5 rounded",children:l.emotional_tone}),l.negative_space_available&&i.jsxs("span",{className:"text-[10px] font-mono text-[#1e3a1e] bg-[#080f08] border border-[#142014] px-1.5 py-0.5 rounded",children:["neg. space ",l.negative_space_position]})]}),i.jsxs("div",{className:"flex gap-2 pt-0.5",children:[i.jsx("button",{onClick:n,className:`flex-1 py-2 rounded text-xs font-mono font-bold uppercase tracking-widest transition-all 47 ${m?"bg-green-900/30 border border-green-700/40 text-green-400 cursor-default":"border border-green-800/50 text-green-600 hover:bg-green-900/20 hover:border-green-600 hover:text-green-400"}`,children:m?"â Approved":"Approve"}),i.jsx("button",{onClick:r,className:`flex-1 py-2 rounded text-xs font-mono font-bold uppercase tracking-widest transition-all 48 ${h?"border border-[#222] text-[#333] cursor-default":"border border-[#252525] text-[#555] hover:border-amber-900/50 hover:text-amber-700"}`,children:h?"Pending":"Replace"})]})]})]})}const fp=["Video","Image","Audio","Design"],pp=["Film & TV","Commercial","Editorial","Broadcast","Games"],mp=["establishing shot","close-up","aerial","POV","tracking","static wide","handheld"],hp=["static","slow motion","handheld","locked off","timelapse","real-time"],xp=["tense","melancholic","triumphant","intimate","clinical","expansive","nostalgic","urgent"],gp=["warm","cool","desaturated","high contrast","muted","monochromatic"],vp=["establishing","transition","montage","interstitial","cutaway","reaction shot"],yp=["Netflix","Broadcast","Streaming","Theatrical","Digital","SVOD"],ea={"Film & TV":[{label:"Urban Night Exterior",brief:"Scene 14B â wide aerial establishing shot transitioning to a street-level POV. Night exterior, desaturated palette with isolated practicals. 4â8 seconds, seamless loop preferred. Negative space right for lower-third super. Distribution: Netflix · Broadcast. Territory: Worldwide. Format: ProRes 4K minimum."},{label:"Documentary B-Roll",brief:"Episodic documentary â need 6 to 8 B-roll clips of industrial machinery in operation. Slow motion or real-time. Neutral, clinical color profile. No identifiable brand marks or faces. Distribution: Streaming · SVOD. Territory: Worldwide. Format: ProRes 4K."},{label:"Transition Montage",brief:"Transition montage sequence â nature-to-city juxtaposition. 3 to 5 clips, 3 seconds each, locked-off or slow push. Warm morning palette shifting to de
48saturated urban. Seamless cut points. Distribution: Theatrical · Broadcast. Territory: Worldwide. Format: ProRes 4K."}],Editorial:[{label:"Urban Infrastructure",brief:"Cover feature on urban infrastructure â need 4 to 6 images depicting empty transit systems, shuttered storefronts, or desolate public spaces during peak hours. Desaturated, documentary aesthetic. No identifiable faces or protected logos. Editorial use only. Publication: print and digital. Territory: North America."},{label:"Climate & Environment",brief:"Long-form editorial on climate displacement â aerial and ground-level imagery of flood-affected or drought-impacted landscapes. Muted, high-contrast palette. No identifiable residential structures. Editorial use only. Publication: digital and print magazine. Territory: Worldwide."},{label:"Technology & AI",brief:"Feature on AI in the workplace â 3 to 5 conceptual images conveying human-machine collaboration, data flow, or automation. Abstract or semi-abstract OK. Neutral, clinical or cool palette. Editorial use only. Publication: digital. Territory: Worldwide."}],Commercial:[{label:"Lifestyle Campaign",brief:"Summer campaign refresh for DTC lifestyle brand. Needs 8 to 12 high-energy lifestyle images â outdoor activities, golden hour, aspirational mood. Clean, warm palette. Full bleed, no required negative space. Commercial digital and social use. Territory: Worldwide."},{label:"Product Environment",brief:"E-commerce product photography backgrounds â 6 to 10 clean, minimal environment shots suitable for product compositing. Neutral or warm palette. No identifiable objects in foreground. Commercial digital use. Territory: Worldwide."},{label:"Social Ad â Motion",brief:"Short-form social ad campaign â 5 to 8 looping motion clips (3 to 6 seconds each) for Meta and TikTok feed. High energy, fast cut points. Warm to vibrant palette. Safe zone for on-screen text top and bottom. Commercial digital and social use. Territory: Worldwide."}]},ta={"Film & TV":{query_id:"q_8f3a1c9d",brief_summary:"Urban exterior establishing shot · night · isolation · negative space right · Netflix · Worldwide · ProRes 4K",candidate_count:3,compliance_summary:"All returned candidates are cleared for Film & TV Commercial use. C2PA provenance verified on all assets. Netflix distribution confirmed.",candidates:[{asset_id:"a_001",title:"Neon Cityscape Panorama",match_confidence:"HIGH",source_platform:"Adobe Firefly",clearance_status:"Cleared",license_type:"Film & TV Commercial",format:"ProRes 4K",duration:"00:15",agent_rationale:"Urban exterior at night with negative space right confirmed â directly matches brief specification. Isolation tone consistent with brief mood profile."},{asset_id:"a_002",title:"Urban Tech Reel",match_confidence:"STRONG",source_platform:"Runway",clearance_status:"Cleared",license_type:"Film & TV Commercial",format:"H.264 4K",duration:"00:28",agent_rationale:"Urban exterior with cinematic framing. Format is H.264 â confirm ProRes transcode acceptable. Negative space available left, not right â flag for supervisor review."},{asset_id:"a_003",title:"Abstract Fluid Gradient Loop",match_confidence:"MODERATE",source_platform:"Adobe Firefly",clearance_status:"Cleared",license_type:"Film & TV Commercial",format:"ProRes 4K",duration:"00:12",agent_rationale:"Included as stylised alternative â abstract urban interpretation. Supervisor to confirm if brief allows for non-literal interpretation of establishing shot requirement."}]},Editorial:{query_id:"q_4e2b7f8a",brief_summary:"Urban infrastructure · desaturated · documentary · no faces · editorial use · North America",candidate_count:3,compliance_summary:"All returned candidates are cleared for Editorial use. No identifiable faces or logos detected. North American territory confirmed.",candidates:[{asset_id:"a_011",title:"Empty Transit Platform",match_confidence:"HIGH",source_platform:"Adobe Firefly",clearance_status:"Cleared",license_type:"Editorial",format:"JPEG 300dpi",duration:null,agent_rationale:"Empty transit platform, desaturated, documentary framing. No faces. Directly matches infrastru
48cture displacement brief. Print and digital editorial use confirmed."},{asset_id:"a_012",title:"Shuttered Storefront Row",match_confidence:"STRONG",source_platform:"Moonvalley",clearance_status:"Cleared",license_type:"Editorial",format:"JPEG 300dpi",duration:null,agent_rationale:"Shuttered commercial storefronts, muted palette. No identifiable brand marks detected. Strong fit for economic or infrastructure editorial angle."},{asset_id:"a_013",title:"Overpass â Dawn",match_confidence:"MODERATE",source_platform:"Adobe Firefly",clearance_status:"Cleared",license_type:"Editorial",format:"JPEG 300dpi",duration:null,agent_rationale:"Urban overpass at dawn, no human figures. Included as atmospheric alternative â reinforces isolation theme. Editor to confirm fit for cover or interior spread."}]},Commercial:{query_id:"q_2c9d4a1e",brief_summary:"Summer lifestyle · golden hour · aspirational · warm palette · full bleed · commercial digital & social · Worldwide",candidate_count:3,compliance_summary:"All returned candidates are cleared for Commercial Digital and Social use. Full commercial license confirmed. Worldwide territory.",candidates:[{asset_id:"a_021",title:"Golden Hour Trail Run",match_confidence:"HIGH",source_platform:"Adobe Firefly",clearance_status:"Cleared",license_type:"Commercial Digital",format:"JPEG 300dpi",duration:null,agent_rationale:"Outdoor lifestyle, warm golden hour palette, aspirational framing. Full bleed composition confirmed. Direct match for summer campaign brief."},{asset_id:"a_022",title:"Coastal Sunset Series",match_confidence:"STRONG",source_platform:"Moonvalley",clearance_status:"Cleared",license_type:"Commercial Digital",format:"MP4 4K",duration:"00:06",agent_rationale:"Short-form looping motion clip â coastal lifestyle, warm palette. 6-second duration fits Meta and TikTok feed placement. Safe zone available at top and bottom."},{asset_id:"a_023",title:"Urban Park â Warm Afternoon",match_confidence:"MODERATE",source_platform:"Adobe Firefly",clearance_status:"Cleared",license_type:"Commercial Digital",format:"JPEG 300dpi",duration:null,agent_rationale:"Aspirational urban lifestyle, warm palette. Included as city-facing alternative for DTC brands with urban audience. Editor to confirm fit with campaign direction."}]}};function wp({level:e}){const t={HIGH:"text-green-400 border-green-800/60 bg-green-900/20",STRONG:"text-sky-400 border-sky-800/60 bg-sky-900/20",MODERATE:"text-amber-400 border-amber-800/60 bg-amber-900/20"};return i.jsx("span",{className:`font-mono text-[10px] uppercase tracking-widest px-2 py-0.5 rounded border ${t[e]||t.MODERATE}`,children:e})}function lt({label:e,options:t,value:n,onChange:r}){return i.jsxs("div",{children:[i.jsx("label",{className:"block font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-1.5",children:e}),i.jsxs("select",{value:n,onChange:l=>r(l.target.value),className:`w-full bg-[#0D0D0D] border border-[#222] text-[#888] font-mono text-xs px-3 py-2 49 rounded focus:outline-none focus:border-brand-700 transition-colors`,children:[i.jsx("option",{value:"",children:"Any"}),t.map(l=>i.jsx("option",{value:l,children:l},l))]})]})}function na({label:e,placeholder:t,value:n,onChange:r}){return i.jsxs("div",{children:[i.jsx("label",{className:"block font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-1.5",children:e}),i.jsx("input",{type:"text",value:n,onChange:l=>r(l.target.value),placeholder:t,className:`w-full bg-[#0D0D0D] border border-[#222] text-[#888] font-mono text-xs px-3 py-2 50 rounded focus:outline-none focus:border-brand-700 placeholder-[#2A2A2A] transition-colors`})]})}function jp({onResults:e,activeVertical:t}){var A;const n=(t==null?void 0:t.id)||"Film & TV",r=ea[n]||ea["Film & TV"],[l,o]=D.useState("A"),[s,a]=D.useState(""),[u,f]=D.useState({type:"",use_case:n,visual_grammar:"",motion_quality:"",emotional_tone:"",color_profile:"",narrative_function:"",distribution_platform:"",territory:"",format_spec:"",negative_space:!1,text_overlay_safe:!1}),[g,m]=D.useState(!1),[h,y]=D.useState(null),[j,N]=D.useState(null);D.useEffect(()=>
50{f(x=>({...x,use_case:n})),y(null),a(""),N(null)},[n]);function P(x,k){f(_=>({..._,[x]:k}))}function d(x){o("A"),a(x.brief),N(x.label),y(null)}function c(x,k){if(!k.length)return"HIGH";const _=[x.title,x.description,x.source_platform,x.visual_grammar,x.emotional_tone,x.color_profile,x.narrative_function,x.tags].filter(Boolean).join(" ").toLowerCase(),E=k.filter(I=>_.includes(I)).length/k.length;return E>=.5?"HIGH":E>=.2?"STRONG":"MODERATE"}function p(x,k){const _=[];x.visual_grammar&&_.push(x.visual_grammar),x.emotional_tone&&_.push(`${x.emotional_tone} tone`),x.color_profile&&_.push(`${x.color_profile} palette`),x.narrative_function&&_.push(`${x.narrative_function} function`);const z=_.length?`${_.join(" · ")}. `:"",E=`Sourced from ${x.source_platform||"approved platform"} â cleared for ${x.use_case||n} use.`,I=k==="MODERATE"?" Moderate keyword overlap with brief â supervisor to confirm fit.":k==="STRONG"?" Strong match across primary parameters.":" Direct match to brief specification.";return z+E+I}async function v(x){x.preventDefault(),m(!0),y(null);try{const k=l==="B"?{use_case:u.use_case||n,type:u.type||void 0}:{use_case:n},z=((await vc(k)).assets||[]).slice(0,8),E=l==="A"?s.toLowerCase().split(/\s+/).filter(S=>S.length>3):[],I={HIGH:3,STRONG:2,MODERATE:1},Me=z.map(S=>({asset:S,score:c(S,E)})).sort((S,M)=>I[M.score]-I[S.score]).slice(0,5),tt={query_id:"q_"+Math.random().toString(36).slice(2,10),brief_summary:l==="A"?s.slice(0,120).replace(/\n/g," ")+(s.length>120?"â¦":""):`${u.use_case||n} · ${u.visual_grammar||"any grammar"} · ${u.emotional_tone||"any tone"} · ${u.distribution_platform||"any platform"}`,candidate_count:Me.length,compliance_summary:`All returned candidates are pre-cleared for ${(t==null?void 0:t.sub)||n} use. C2PA provenance verified on all assets.`,candidates:Me.map(({asset:S,score:M})=>({asset_id:S.asset_id,title:S.title,match_confidence:M,source_platform:S.source_platform,clearance_status:"Cleared",license_type:S.use_case||n,format:S.format||"Available on request",duration:S.duration||null,agent_rationale:p(S,M)}))};y(tt),e&&e(tt)}catch{const _=ta[n]||ta["Film & TV"];y({..._,_fallback:!0}),e&&e(_)}finally{m(!1)}}return i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-10",children:i.jsxs("div",{className:"flex gap-10",children:[i.jsxs("div",{className:"w-[420px] flex-shrink-0 space-y-6",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"font-display text-2xl text-[#EDEDE8] mb-1",children:"Agent Query"}),i.jsx("p",{className:"font-mono text-xs text-[#3A3A3A]",children:"Submit a brief excerpt or structured parameters. PixelVault returns a ranked, pre-cleared shortlist."})]}),i.jsxs("div",{children:[i.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[i.jsxs("span",{className:"font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest",children:[(t==null?void 0:t.label)||"Post Production"," Templates"]}),i.jsx("div",{className:"flex-1 h-px bg-[#1A1A1A]"})]}),i.jsx("div",{className:"space-y-1.5",children:r.map(x=>i.jsx("button",{onClick:()=>d(x),className:`w-full text-left px-3 py-2 rounded border transition-all 51 ${j===x.label?"border-brand-700/60 bg-brand-900/20 text-brand-400":"border-[#1C1C1C] bg-[#0A0A0A] text-[#444] hover:border-[#2A2A2A] hover:text-[#666]"}`,children:i.jsxs("div",{className:"flex items-center justify-between gap-2",children:[i.jsx("span",{className:"font-mono text-[10px] uppercase tracking-wider",children:x.label}),j===x.label?i.jsx("span",{className:"font-mono text-[10px] text-brand-500",children:"loaded"}):i.jsx("span",{className:"font-mono text-[10px] text-[#2A2A2A]",children:"load â"})]})},x.label))})]}),i.jsx("div",{className:"flex gap-px bg-[#111] border border-[#1C1C1C] rounded p-0.5",children:["A","B"].map(x=>i.jsxs("button",{onClick:()=>o(x),className:`flex-1 py-1.5 rounded text-xs font-mono font-semibold uppercase tracking-widest transition-all 52 ${l===x?"bg-[#1C1C1C] text-[#EDEDE8]":"text-[#444] hover:text-[#888]"}`,children:["Format ",x," â ",x==="A"?"Natural Language":"Structured Params"]},x))}),i.jsxs("form",{onSubmit:v,className:"space-y-4",children:[l==="A"?i.jsxs("div",{children:[i.jsx("label",{className:"block font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-1.5",children:"Brief Excerpt"}),i.jsx("textarea",{rows:6,value:s,onChange:x=>{a(x.target.value),N(null)},placeholder:((A=r[0])==null?void 0:A.brief)||"",className:`w-full bg-[#0D0D0D] border border-[#222] text-[#888] font-mono text-xs px-3 py-2.5 53 rounded resize-none focus:outline-none focus:border-brand-700 placeholder-[#1E1E1E] 54 leading-relaxed transition-colors`}),i.jsx("p",{className:"font-mono text-[10px] text-[#2A2A2A] mt-1.5",children:"Paste a section of the creative brief. PixelVault's semantic layer parses it against the metadata schema."})]}):i.jsxs("div",{className:"space-y-3",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[i.jsx(lt,{label:"Asset Type",options:fp,value:u.type,onCh
54ange:x=>P("type",x)}),i.jsx(lt,{label:"Use Case",options:pp,value:u.use_case,onChange:x=>P("use_case",x)}),i.jsx(lt,{label:"Visual Grammar",options:mp,value:u.visual_grammar,onChange:x=>P("visual_grammar",x)}),i.jsx(lt,{label:"Motion Quality",options:hp,value:u.motion_quality,onChange:x=>P("motion_quality",x)}),i.jsx(lt,{label:"Emotional Tone",options:xp,value:u.emotional_tone,onChange:x=>P("emotional_tone",x)}),i.jsx(lt,{label:"Color Profile",options:gp,value:u.color_profile,onChange:x=>P("color_profile",x)}),i.jsx(lt,{label:"Narrative Fn.",options:vp,value:u.narrative_function,onChange:x=>P("narrative_function",x)}),i.jsx(lt,{label:"Distribution",options:yp,value:u.distribution_platform,onChange:x=>P("distribution_platform",x)})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[i.jsx(na,{label:"Territory",placeholder:"Worldwide",value:u.territory,onChange:x=>P("territory",x)}),i.jsx(na,{label:"Format / Spec",placeholder:"ProRes 4K",value:u.format_spec,onChange:x=>P("format_spec",x)})]}),i.jsx("div",{className:"flex gap-4 pt-1",children:[["negative_space","Negative space required"],["text_overlay_safe","Text overlay safe"]].map(([x,k])=>i.jsxs("label",{className:"flex items-center gap-2 cursor-pointer",children:[i.jsx("div",{onClick:()=>P(x,!u[x]),className:`w-3.5 h-3.5 rounded border flex items-center justify-center transition-colors 55 ${u[x]?"bg-brand-600 border-brand-600":"border-[#333]"}`,children:u[x]&&i.jsx("svg",{className:"w-2 h-2 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:3,children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})})}),i.jsx("span",{className:"font-mono text-[10px] text-[#555] uppercase tracking-wider",children:k})]},x))})]}),i.jsx("button",{type:"submit",disabled:g||l==="A"&&!s.trim(),className:`w-full py-3 bg-brand-600 hover:bg-brand-700 disabled:opacity-40 disabled:cursor-not-allowed 56 text-[#0A0A0A] font-mono font-bold text-xs uppercase tracking-widest rounded 57 transition-colors focus:outline-none`,children:g?i.jsxs("span",{className:"flex items-center justify-center gap-2",children:[i.jsxs("svg",{className:"w-3.5 h-3.5 animate-spin",fill:"none",viewBox:"0 0 24 24",children:[i.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),i.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}),"Queryingâ¦"]}):"Submit Query â"})]})]}),i.jsxs("div",{className:"flex-1 min-w-0",children:[!h&&!g&&i.jsx("div",{className:"h-full flex items-start pt-8 justify-center",children:i.jsxs("div",{className:"text-center max-w-sm",children:[i.jsx("div",{className:`w-12 h-12 rounded-xl border border-[#1C1C1C] bg-[#0E0E0E] flex items-center 58 justify-center mx-auto mb-4`,children:i.jsx("svg",{className:"w-5 h-5 text-[#2A2A2A]",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25zM6.75 12h.008v.008H6.75V12zm0 3h.008v.008H6.75V15zm0 3h.008v.008H6.75V18z"})})}),i.jsx("p",{className:"font-mono text-xs text-[#2A2A2A] uppercase tracking-widest",children:"Awaiting query"}),i.jsx("p",{className:"font-mono text-xs text-[#1E1E1E] mt-2 leading-relaxed",children:"Load a template or paste a brief excerpt. PixelVault returns a ranked, pre-cleared shortlist."})]})}),g&&i.jsx("div",{className:"space-y-3 pt-2",children:Array.from({length:3}).map((x,k)=>i.jsxs("div",{className:"border border-[#1A1A1A] rounded-xl p-4 animate-pulse",children:[i.jsxs("div",{className:"flex items-center justify-between mb-3",children:[i.jsx("div",{className:"h-3 bg-[#1A1A1A] rounded w-1/3"}),i.jsx("div",{className:"h-4 bg-[#1A1A1A] rounded w-16"})]}),i.jsx("div",{className:"h-2 bg-[#161616] rounded w-full mb-2"}),i.jsx("div",{className:"h-2 bg-[#161616] rounded w-4/5"})]},k))}),h&&i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"border border-[#1A1A1A] rounded-xl bg-[#0A0A0A] px-4 py-3",children:[i.jsxs("div",{className:"flex items-center justify-between mb-2",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("span",{className:"font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest",children:"Response"}),h._fallback&&i.jsx("span",{className:"font-mono text-[10px] text-amber-700 uppercase tracking-widest",children:"· Preview data"})]}),i.jsx("span",{className:"font-mono text-[10px] text-[#2A2A2A]",children:h.query_id})]}),i.jsx("p",{className:"font-mono text-xs text-[#555] leading-relaxed mb-3",children:h.brief_summary}),i.jsxs("div",{className:"flex items-center gap-2 text-[10px] font-mono",children:[i.jsxs("span",{className:"text-[#3A3A3A]",children:[h.candidate_count," candidates"]}),i.jsx("span",{className:"text-[#222]",children:"·"}),i.jsxs("span",{className:"text-green-700",children:[h.compliance_summary.split(".")[0],"."]})]})]}),h.candidates.map((x,k)=>i.jsxs("div",{className:"border border-[#1C1C1C] rounded-xl bg-[#0C0C0C] p-4 space-y-2.5",children:[i.jsxs("div",{className:"flex items-start justify-between gap-3",children:[i.jsxs("div",{className:"flex items-center gap-2.5",children:[i.jsxs("span",{className:"font-mono text-[10px] text-[#333]",children:["#",k+1]}),i.jsx("h4",{className:"font-semibold text-[#CDCDC8] text-sm",children:x.title})]}),i.jsx(wp,{level:x.match_confidence})]}),i.jsx("div",{className:"border-l-2 border-[#1E1E1E] pl-3",children:i.jsx("p",{className:"font-mono text-xs text-[#555] leading-relaxed",children:x.agent_rationale})}),i.jsxs("div",{className:"flex flex-wrap items-center gap-2 text-[10px] font-mono",children:[i.jsx("span",{className:"text-[#444] bg-[#111] border border-[#1A1A1A] px-2 py-0.5 rounded",children:x.source_platform}),i.jsx("span",{className:"text-[#444] bg-[#111] border border-[#1A1A1A] px-2 py-0.5 rounded",children:x.format}),x.duration&&i.jsx("span",{className:"text-[#333]",children:x.duration}),i.jsx("span",{className:"ml-auto text-green-700",children:x.clearance_status})]}),i.jsxs("div",{className:"text-[10px] font-mono text-[#2A2A2A] flex items-center gap-1",children:[i.jsx("span",{children:"asset_id:"}),i.jsx("span",{className:"text-[#333]",children:x.asset_id}),i.jsx("span",{className:"ml-3",children:"license_type:"}),i.jsx("span",{className:"text-[#333]",children:x.license_type})]})]},x.asset_id)),i.jsxs("div",{className:"border border-[#1A1A1A] rounded-xl bg-[#080808] px-4 py-3",children:[i.jsx("div",{className:"font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest mb-2",children:"Checkout Endpoint"}),i.jsxs("code",{className:"font-mono text-xs text-[#444]",children:["POST /checkout · query_id: ",h.query_id," · assets: [",h.candidates.map(x=>x.asset_id).join(", "),"]"]})]})]})]})]})})}const Np=`{ 59 "format": "A", 60 "brief_excerpt": "Scene 4 requires a late-night urban exterior establishing shot with a sense of isolation and enough negative space on the right side for a lower-third graphic.", 61 "project": { 62 "production_company": "Meridian Films", 63 "project_title": "Threshold", 64 "distribution_platform": "Netflix", 65 "territory": "Worldwide", 66 "air_date": "2025-09-01" 67 } 68}`,ra=`{ 69 "format": "B", 70 "params": { 71 "asset_type": "Video", 72 "use_case": "Film & TV", 73 "visual_grammar": "establishing shot", 74 "setting": { 75 "exterior": true, 76 "location_type": "urban street", 77 "time_of_day": "night", 78 "lighting_quality": "practical light" 79 }, 80 "emotional_tone": "isolation", 81 "narrative_function": "establishing", 82 "motion_quality": "locked off", 83 "color_profile": "desaturated", 84 "compositional": { 85 "negative_space_required": true, 86 "negative_space_position": "right", 87 "text_overlay_safe": true 88 }, 89 "compliance": { 90 "license_type": "Film & TV Commercial", 91 "distribution_platform": "Netflix", 92 "territory": "Worldwide", 93 "format_minimum": "ProRes 4K" 94 } 95 }, 96 "project": { 97 "production_company": "Meridian Films", 98 "project_title": "Threshold", 99 "air_date": "2025-09-01" 100 } 101}`,kp=`{ 102 "query_id": "q_8f3a1c9d", 103 "brief_summary": "Urban exterior establishing · night · isolation · neg. space right · Netflix · Worldwide · ProRes 4K", 104 "candidate_count": 3, 105 "ranked_candidates": [ 106 { 107 "asset_id": "a_001", 108 "title": "Neon Cityscape Panorama", 109 "thumbnail_url": "https://assets.pixelvault.io/thumbs/a_001.jpg", 110 "source_platform": "Adobe Firefly", 111 "clearance_status": "Cleared", 112 "license_type": "Film & TV Commercial", 113 "format": "ProRes 4K", 114 "duration_seconds": 15, 115 "match_confidence": "HIGH", 116 "agent_rationale": "Urban exterior at night with negative space right confirmed. Isolation tone consistent with brief mood profile." 117 }, 118 { 119 "asset_id": "a_002", 120 "title": "Urban Tech Reel", 121 "thumbnail_url": "https://assets.pixelvault.io/thumbs/a_002.jpg", 122 "source_platform": "Runway", 123 "clearance_status": "Cleared", 124 "license_type": "Film & TV Commercial", 125 "format": "H.264 4K", 126 "duration_seconds": 28, 127 "match_confidence": "STRONG", 128 "agent_rationale": "Urban exterior with cinematic framing. Format is H.264 â confirm ProRes transcode acceptable. Negative space available left, not right." 129 } 130 ], 131 "compliance_summary": "All candidates cleared for Film & TV Commercial use. C2PA provenance verified. Netflix distribution confirmed.", 132 "checkout_endpoint": "POST /checkout", 133 "checkout_payload_ref": { 134 "query_id": "q_8f3a1c9d", 135 "asset_ids": ["a_001", "a_002"], 136 "project": { "production_company": "Meridian Films", "project_title": "Threshold" } 137 } 138}`;function Ut({id:e,title:t,children:n}){return i.jsxs("section",{id:e,className:"py-10 border-b border-[#141414]",children:[i.jsx("h2",{className:"font-display text-xl text-[#EDEDE8] mb-6",children:t}),n]})}function br({code:e,lang:t="json"}){const[n,r]=D.useState(!1);function l(){navigator.clipboard.writeText(e).catch(()=>{}),r(!0),setTimeout(()=>r(!1),1500)}return i.jsxs("div",{className:"relative rounded-xl border border-[#1A1A1A] bg-[#080808] overflow-hidden",children:[i.jsxs("div",{className:"flex items-center justify-between px-4 py-2 border-b border-[#141414]",children:[i.jsx("span",{className:"font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest",children:t}),i.jsx("button",{onClick:l,className:"font-mono text-[10px] text-[#333] hover:text-[#666] transition-colors uppercase tracking-widest",children:n?"Copied":"Copy"})]}),i.jsx("pre",{className:"px-4 py-4 overflow-x-auto text-xs font-mono text-[#666] leading-relaxed whitespace-pre",children:e})]})}function ne({field:e,type:t,required:n,description:r}){return i.jsxs("tr",{className:"border-t border-[#141414]",children:[i.jsxs("td",{className:"py-3 pr-4 align-top",children:[i.jsx("code",{className:"font-mono text-xs text-amber-600/80",children:e}),n&&i.jsx("span",{className:"ml-1.5 text-[10px] font-mono text-red-900",children:"*"})]}),i.jsx("td",{className:"py-3 pr-4 align-top",children:i.jsx("code",{className:"font-mono text-[10px] text-[#3A3A3A]",children:t})}),i.jsx("td",{className:"py-3 text-xs font-mono text-[#555] leading-relaxed",children:r})]})}const Ap=[{id:"overview",label:"Overview"},{id:"query",label:"Query Formats"},{id:"response",label:"Response Structure"},{id:"compliance",label:"Compliance Fields"},{id:"agreement",label:"Usage Agreement Generation"},{id:"sample",label:"Sample Query & Response"}];function _p(){return i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-10",children:i.jsxs("div",{className:"flex gap-12",children:[i.jsx("aside",{className:"w-48 flex-shrink-0",children:i.jsxs("div",{className:"sticky top-24 space-y-1",children:[i.jsx("div",{className:"font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest mb-4",children:"Documentation"}),Ap.map(e=>i.jsx("a",{href:`#${e.id}`,className:"block font-mono text-xs text-[#444] hover:text-[#AAAAAA] py-1 transition-colors",children:e.label},e.id)),i.jsxs("div",{className:"border-t border-[#141414] pt-4 mt-4",children:[i.jsx("div",{className:"font-mono text-[10px] text-[#2A2A2A] mb-2",children:"Base URL"}),i.jsx("code",{className:"font-mono text-[10px] text-[#3A3A3A] break-all leading-relaxed",children:"https://asset-registry-api-production.up.railway.app"})]})]})}),i.jsxs("main",{className:"flex-1 min-w-0",children:[i.jsx(Ut,{id:"overview",title:"Overview",children:i.jsxs("div",{className:"space-y-4 font-mono text-sm text-[#666] leading-relaxed",children:[i.jsx("p",{children:"PixelVault is a compliance-first B-roll asset database designed for AI agent workflows in post-production. Every asset is sourced from an approved AI generation platform â Adobe Firefly, Moonvalley, Runway, or equivalent â and cleared for Film & TV Commercial use before entering the database."}),i.jsx("p",{children:"The query surface accepts a brief excerpt or structured parameter object and returns a ranked shortlist with per-asset match confidence scores and agent rationale. The supervisor approval UI presents this shortlist for yes/no decisions. Checkout generates a usage agreement pre-populated with project parameters â no manual clearance memo required."}),i.jsx("div",{className:"border border-[#1A1A1A] rounded-xl bg-[#080808] px-4 py-3 space-y-2",children:[["Authentication","Bearer token â
138contact [email protected]"],["Content-Type","application/json"],["Rate limit","100 req / min per token"],["Response format","JSON"]].map(([e,t])=>i.jsxs("div",{className:"flex items-start gap-4 text-xs",children:[i.jsx("span",{className:"text-[#3A3A3A] w-36 flex-shrink-0",children:e}),i.jsx("code",{className:"text-[#555]",children:t})]},e))})]})}),i.jsx(Ut,{id:"query",title:"Query Formats",children:i.jsxs("div",{className:"space-y-6",children:[i.jsxs("div",{children:[i.jsx("h3",{className:"font-mono text-sm font-semibold text-[#AAAAAA] mb-1",children:"Format A â Natural Language Brief Excerpt"}),i.jsx("p",{className:"font-mono text-xs text-[#555] leading-relaxed mb-3",children:"Paste a section of the creative brief. The semantic search layer parses it against the full metadata schema and returns ranked candidates."}),i.jsx(br,{code:Np})]}),i.jsxs("div",{children:[i.jsx("h3",{className:"font-mono text-sm font-semibold text-[#AAAAAA] mb-1",children:"Format B â Structured Parameter Object"}),i.jsx("p",{className:"font-mono text-xs text-[#555] leading-relaxed mb-3",children:"Submit parameters mapped directly to the metadata schema. All fields are optional; specificity improves match quality and confidence scores."}),i.jsx(br,{code:ra})]}),i.jsxs("div",{children:[i.jsx("h3",{className:"font-mono text-sm font-semibold text-[#AAAAAA] mb-3",children:"Query Parameters"}),i.jsx("div",{className:"border border-[#1A1A1A] rounded-xl overflow-hidden",children:i.jsxs("table",{className:"w-full text-left",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"bg-[#0A0A0A]",children:[i.jsx("th",{className:"px-4 py-2.5 font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest",children:"Field"}),i.jsx("th",{className:"px-4 py-2.5 font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest",children:"Type"}),i.jsx("th",{className:"px-4 py-2.5 font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest",children:"Description"})]})}),i.jsx("tbody",{className:"px-4",children:[["visual_grammar","string","establishing shot · close-up · aerial · POV · tracking · static wide · handheld"],["setting.exterior","bool","Interior or exterior"],["setting.location_type","string","hospital corridor · highway · corporate lobby · residential kitchen"],["setting.time_of_day","string","golden hour · night · day · dusk · neutral"],["setting.lighting_quality","string","practical light · fluorescent · overcast · backlit"],["emotional_tone","string","tense · melancholic · triumphant · intimate · clinical · expansive · nostalgic · urgent"],["narrative_function","string","establishing · transition · montage · interstitial · cutaway · reaction shot"],["motion_quality","string","static ·
138slow motion · handheld · locked off · timelapse · real-time"],["color_profile","string","warm · cool · desaturated · high contrast · muted · monochromatic"],["negative_space_required","bool","Whether negative space for graphics overlay is required"],["negative_space_position","string","left · right · top · bottom"],["text_overlay_safe","bool","Whether the composition supports text overlay"],["license_type","string","Film & TV Commercial · Editorial · Broadcast · Social Media"],["distribution_platform","string","Netflix · Broadcast · Streaming · Theatrical · Digital · SVOD"],["territory","string","Worldwide · US only · EU only · etc."],["format_minimum","string","ProRes 4K · H.264 · H.265 · WAV · AIFF"]].map(([e,t,n])=>i.jsxs("tr",{className:"border-t border-[#111] px-4",children:[i.jsx("td",{className:"px-4 py-2.5",children:i.jsx("code",{className:"font-mono text-xs text-amber-600/70",children:e})}),i.jsx("td",{className:"px-4 py-2.5",children:i.jsx("code",{className:"font-mono text-[10px] text-[#333]",children:t})}),i.jsx("td",{className:"px-4 py-2.5 font-mono text-xs text-[#444] leading-relaxed",children:n})]},e))})]})})]})]})}),i.jsx(Ut,{id:"response",title:"Response Structure",children:i.jsxs("div",{className:"space-y-4 font-mono text-xs text-[#555] leading-relaxed",children:[i.jsx("p",{children:"PixelVault returns a formatted shortlist package, not a raw asset list."}),i.jsx("div",{className:"border border-[#1A1A1A] rounded-xl overflow-hidden",children:i.jsxs("table",{className:"w-full text-left",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"bg-[#0A0A0A]",children:[i.jsx("th",{className:"px-4 py-2.5 font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest",children:"Field"}),i.jsx("th",{className:"px-4 py-2.5 font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest",children:"Type"}),i.jsx("th",{className:"px-4 py-2.5 font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest",children:"Description"})]})}),i.jsxs("tbody",{children:[i.jsx(ne,{field:"query_id",type:"string",description:"Unique query identifier for this shortlist request"}),i.jsx(ne,{field:"brief_summary",type:"string",description:"Compressed summary of the parameters used for matching"}),i.jsx(ne,{field:"candidate_count",type:"integer",description:"Number of candidates returned"}),i.jsx(ne,{field:"ranked_candidates",type:"array",description:"Ordered list of asset candidates â see candidate object below"}),i.jsx(ne,{field:"compliance_summary",type:"string",description:"Plain-language confirmation of clearance status for the full shortlist"}),i.jsx(ne,{field:"checkout_endpoint",type:"string",description:"Endpoint reference for usage agreement generation: POST /checkout"}),i.jsx(ne,{field:"checkout_payload_ref",type:"object",description:"Template payload for the checkout call, pre-populated with query_id and asset_ids"})]})]})}),i.jsx("h3",{className:"font-mono text-sm font-semibold text-[#AAAAAA] mt-6 mb-2",children:"Candidate Object"}),i.jsx("div",{className:"border border-[#1A1A1A] rounded-xl overflow-hidden",children:i.jsxs("table",{className:"w-full text-left",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"bg-[#0A0A0A]",children:[i.jsx("th",{className:"px-4 py-2.5 font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest",children:"Field"}),i.jsx("th",{className:"px-4 py-2.5 font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest",children:"Type"}),i.jsx("th",{className:"px-4 py-2.5 font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest",children:"Description"})]})}),i.jsxs("tbody",{children:[i.jsx(ne,{field:"asset_id",type:"string",description:"Unique asset identifier"}),i.jsx(ne,{field:"title",type:"string",description:"Asset display name"}),i.jsx(ne,{field:"thumbnail_url",type:"string",description:"Preview image URL (signed, 1h TTL)"}),i.jsx(ne,{field:"source_platform",type:"string",description:"Adobe Firefly · Moonvalley · Runway · Pika"}),i.jsx(ne,{field:"clearance_status",type:"string",description:"Cleared · Pending Review · Restricted"}),i.jsx(ne,{field:"license_type",type:"string",description:"Film & TV Commercial · Editorial · Broadcast · Social Media"}),i.jsx(ne,{field:"format",type:"string",description:"ProRes 4K · H.264 · H.265 · WAV · AIFF"}),i.jsx(ne,{field:"duration_seconds",type:"integer",description:"Duration for video and audio assets. Null for image and design."}),i.jsx(ne,{field:"match_confidence",type:"string",description:"HIGH · STRONG · MODERATE â agent confidence in brief alignment"}),i.jsx(ne,{field:"agent_rationale",type:"string",description:"One to two sentence plain-language explanation of why this asset was selected"})]})]})})]})}),i.jsx(Ut,{id:"compliance",title:"Compliance Fields",children:i.jsxs("div",{className:"space-y-4 font-mono text-xs text-[#555] leading-relaxed",children:[i.jsx("p",{children:"Every asset in the PixelVault database is sourced exclusively from compliance-approved AI generation platforms. The compliance question is answered before the asset enters the database â not at the point of use."}),i.jsx("div",{className:"grid grid-cols-2 gap-4",children:[["clearance_status","Cleared · Pending Review · Restricted"],["license_type","Film & TV Commercial · Editorial · Broadcast · Social Media"],["cleared_territories","Worldwide · region-s
138pecific list"],["clearance_date","ISO 8601 date of clearance confirmation"],["approved_platforms","Netflix · Broadcast · Streaming · Theatrical · Digital"],["usage_restrictions","Free-field; null if none apply"],["c2pa_verified","Boolean â Content Credentials provenance confirmed"],["source_platform","Adobe Firefly · Moonvalley · Runway · Pika"]].map(([e,t])=>i.jsxs("div",{className:"border border-[#141414] rounded-xl px-3 py-2.5 bg-[#080808]",children:[i.jsx("code",{className:"text-amber-600/70 text-xs block mb-1",children:e}),i.jsx("span",{className:"text-[#444] text-[10px]",children:t})]},e))}),i.jsxs("div",{className:"border border-[#1A1A1A] rounded-xl bg-[#080808] px-4 py-3 mt-4",children:[i.jsx("div",{className:"font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest mb-2",children:"Platform Approval Status"}),[["Adobe Firefly","Approved â commercial use with enterprise license"],["Moonvalley","Approved â Film & TV Commercial cleared"],["Runway","Approved â reviewed per distribution platform"],["Pika","Approved â editorial and social use; Film & TV case-by-case"]].map(([e,t])=>i.jsxs("div",{className:"flex items-center gap-3 py-1.5 border-t border-[#101010] first:border-0",children:[i.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-green-600 flex-shrink-0"}),i.jsx("span",{className:"text-[#AAAAAA] w-32 flex-shrink-0",children:e}),i.jsx("span",{className:"text-[#444]",children:t})]},e))]})]})}),i.jsx(Ut,{id:"agreement",title:"Usage Agreement Generation",children:i.jsxs("div",{className:"space-y-4 font-mono text-xs text-[#555] leading-relaxed",children:[i.jsx("p",{children:"When the supervisor approves a shortlist, a single checkout call generates a usage agreement pre-populated with project parameters from the original brief. No manual clearance memo. No legal back-and-forth."}),i.jsxs("div",{className:"border border-[#1A1A1A] rounded-xl overflow-hidden",children:[i.jsx("div",{className:"px-4 py-2.5 border-b border-[#141414] bg-[#0A0A0A] font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest",children:"POST /checkout"}),i.jsx("div",{className:"px-4 py-3 space-y-2",children:[["production_company","string","Required â pulled from brief"],["project_title","string","Required â pulled from brief"],["distribution_platform","string","Netflix · Broadcast · Streaming etc."],["territory","string","Worldwide or region-specific"],["air_date","string","ISO 8601 air or release date"],["asset_ids","array","List of approved asset IDs from the shortlist"],["query_id","string","Reference to the originating query"]].map(([e,t,n])=>i.jsxs("div",{className:"flex items-start gap-4",children:[i.jsx("code",{className:"text-amber-600/70 w-44 flex-shrink-0",children:e}),i.jsx("code",{className:"text-[#333] w-16 flex-shrink-0",children:t}),i.jsx("span",{className:"text-[#444]",children:n})]},e))})]}),i.jsx("p",{children:"The response includes a signed PDF usage agreement, a license ID, and a delivery URL for each approved asset. The agreement is valid for filing with networks, studios, and distribution platforms."})]})}),i.jsx(Ut,{id:"sample",title:"Sample Query & Response",children:i.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[i.jsxs("div",{children:[i.jsx("div",{className:"font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest mb-3",children:"Format B â Structured Query"}),i.jsx(br,{code:ra})]}),i.jsxs("div",{children:[i.jsx("div",{className:"font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest mb-3",children:"Response"}),i.jsx(br,{code:kp})]})]})}),i.jsx("div",{className:"py-10",children:i.jsxs("div",{className:"border border-[#1A1A1A] rounded-xl bg-[#080808] px-6 py-5 flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("div",{className:"font-mono text-xs text-[#AAAAAA] mb-1",children:"Enterprise Access"}),i.jsx("p",{className:"font-mono text-xs text-[#444]",children:"API tokens, SLA, bulk licensing, custom metadata schemas, and workflow integration support."})]}),i.jsx("a",{href:"mailto:[email protected]",className:"flex-shrink-0 font-mono text-xs text-brand-600 hover:text-brand-500 transition-colors uppercase tracking-wide",children:"Contact â"})]})})]})]})})}const la=[{id:"post",label:"Post Production",description:"Post-production supervisors, editors, and finishing houses clearing B-roll for Film & TV, broadcast, and streaming.",tiers:[{name:"Single Clip",price:"$29",period:null,cta:"Get License",highlight:!1},{name:"Project Pack",price:"$199",period:null,cta:"Get Pack",highlight:!1},{name:"Post House Monthly",price:"$599",period:"/mo",cta:"Subscribe",highlight:!0},{name:"Studio Enterprise",price:"Custom",period:null,cta:"Contact Us",highlight:!1,enterprise:!0}],features:["Pre-cleared Film & TV Commercial license","Auto-generated usage agreement per project","C2PA provenance on every asset","ProRes 4K delivery","Netflix, broadcast, and streaming cleared"]},{id:"news",label:"News & Editorial",description:"News organizations, editorial teams, and publishers sourcing cleared B-roll for broadcast and digital publication.",tiers:[{name:"Day Pass",price:"$49",period:null,cta:"Get Pass",highlight:!1},{name:"Editorial Monthly",price:"$199",period:"/mo",cta:"Subscribe",highlight:!1},{name:"Newsroom Seat",price:"$399",period:"/mo/seat",cta:"Subscribe",highlight:!0},{name:"Publisher Enterprise",price:"Custom",period:null,cta:"Contact Us",highlight:!1,enterprise:!0}],features:["Editorial and broadcast cleared license","Unlimited queries per subscription period","Auto-generated usage agreement per story","Same-day access â no approval queue","Multi-seat publisher access available"]},{id:"ecom",label:"E-Commerce & Digital",description:"Brand studios, e-commerce teams, and digital agencies sourcing cleared visual assets for campaign and product use.",tiers:[{name:"Campaign Starter",price:"$149",period:null,cta:"Get Started",highlight:!1},{name:"Brand Pack",price:"$349",period:null,cta:"Get Pack",highlight:!1},{name:"Growth Monthly",price:"$799",period:"/mo",cta:"Subscribe",highlight:!0},{name:"Enterprise",price:"Custom",period:null,cta:"Contact Us",highlight:!1,enterprise:!0}],features:["E-Commerce Digital cleared license","Brand-safe compositional filtering","Text-overlay
138safe tagging","Multi-platform distribution cleared","Campaign-level usage agreement generation"]}],Cp=[{step:"01",title:"Agent receives the brief",body:"Your AI agent â or PixelVault's built-in query surface â submits a brief excerpt or structured parameters. The semantic search layer matches against the full metadata database."},{step:"02",title:"Shortlist delivered",body:"PixelVault returns 5 to 10 ranked candidates. Each asset includes compliance status, agent rationale, format, and source platform. Pre-cleared before it ever entered the database."},{step:"03",title:"Supervisor approves",body:"The post supervisor, editor, or brand manager reviews the shortlist and clicks Approve. One decision. Nothing before that decision requires human attention."},{step:"04",title:"Agreement generated",body:"Checkout triggers automatic generation of a usage agreement pre-populated with all project parameters â production company, title, distribution platform, territory, air date. No manual fields."},{step:"05",title:"Asset delivered",body:"A time-limited signed URL delivers the full-resolution file directly from the creator's cloud storage. Files never touch PixelVault servers. The agreement is delivered to both buyer and creator simultaneously."}];function bp({tier:e}){const t=e.price==="Custom";return i.jsxs("div",{className:`rounded-xl border p-5 flex flex-col gap-4 transition-all 139 ${e.highlight?"border-brand-700/60 bg-[#0E0A00]":e.enterprise?"border-[#141414] bg-[#080808]":"border-[#1C1C1C] bg-[#0C0C0C]"}`,children:[e.highlight&&i.jsx("div",{className:"font-mono text-[10px] text-brand-600 uppercase tracking-widest",children:"Most Popular"}),i.jsxs("div",{children:[i.jsx("div",{className:"font-mono text-xs text-[#555] uppercase tracking-widest mb-1",children:e.name}),i.jsxs("div",{className:"flex items-baseline gap-1",children:[i.jsx("span",{className:`font-display text-3xl ${t?"text-[#555]":"text-[#EDEDE8]"}`,children:e.price}),e.period&&i.jsx("span",{className:"font-mono text-xs text-[#333]",children:e.period})]})]}),i.jsx("button",{className:`w-full py-2.5 rounded font-mono text-xs font-bold uppercase tracking-widest transition-colors 140 ${e.highlight?"bg-brand-600 hover:bg-brand-700 text-[#0A0A0A]":e.enterprise?"border border-[#2A2A2A] text-[#555] hover:border-[#3A3A3A] hover:text-[#888]":"border border-[#2A2A2A] text-[#666] hover:border-brand-800 hover:text-brand-600"}`,children:e.cta})]})}function Sp({onNav:e}){const[t,n]=D.useState("post"),r=la.find(l=>l.id===t);return i.jsxs("div",{className:"min-h-screen",children:[i.jsx("section",{id:"how-it-works",className:"border-b border-[#141414] py-20",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"max-w-2xl mb-14",children:[i.jsx("p",{className:"font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-4",children:"How It Works"}),i.jsxs("h2",{className:"font-display text-4xl text-[#EDEDE8] leading-tight mb-4",children:["The buyer says yes once.",i.jsx("br",{}),"Everything else runs."]}),i.jsx("p",{className:"font-mono text-sm text-[#555] leading-relaxed",children:"PixelVault is infrastructure. The search, curation, compliance verification, and usage agreement generation happen before the supervisor sees the screen. The only cognitive load is the approval decision."})]}),i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-px bg-[#141414]",children:Cp.map(l=>i.jsxs("div",{className:"bg-[#0A0A0A] p-6",children:[i.jsx("div",{className:"font-mono text-[10px] text-[#2A2A2A] mb-4",children:l.step}),i.jsx("h3",{className:"font-semibold text-[#CDCDC8] text-sm mb-3 leading-snug",children:l.title}),i.jsx("p",{className:"font-mono text-xs text-[#444] leading-relaxed",children:l.body})]},l.step))})]})}),i.jsx("section",{className:"py-20 border-b border-[#141414]",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"mb-12",children:[i.jsx("p",{className:"font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-4",children:"Pricing"}),i.jsx("h2",{className:"font-display text-3xl text-[#EDEDE8] mb-2",children:"Fixed. Transparent. Self-serve."}),i.jsx("p",{className:"font-mono text-sm text-[#555]",children:"Every transaction is self-serve. No negotiation. No custom quotes below the enterprise tier."})]}),i.jsx("div",{className:"flex gap-px bg-[#141414] rounded-xl overflow-hidden mb-8 w-fit",children:la.map(l=>i.jsx("button",{onClick:()=>n(l.id),className:`px-6 py-3 font-mono text-xs font-semibold uppercase tracking-widest transition-all 141 ${t===l.id?"bg-[#111] text-[#EDEDE8]":"bg-[#080808] text-[#444] hover:text-[#888]"}`,children:l.label},l.id))}),i.jsx("p",{className:"font-mono text-xs text-[#555] mb-8 max-w-xl leading-relaxed",children:r.description}),i.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-3 mb-8",children:r.tiers.map(l=>i.jsx(bp,{tier:l},l.name))}),i.jsxs("div",{className:"border border-[#141414] rounded-xl bg-[#080808] px-6 py-5",children:[i.jsxs("div",{className:"font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest mb-4",children:["Included with all ",r.label," tiers"]}),i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-y-2 gap-x-8",children:r.features.map(l
141=>i.jsxs("div",{className:"flex items-center gap-2.5",children:[i.jsx("span",{className:"w-1 h-1 rounded-full bg-green-600 flex-shrink-0"}),i.jsx("span",{className:"font-mono text-xs text-[#555]",children:l})]},l))})]})]})}),i.jsx("section",{id:"platforms",className:"py-20 border-b border-[#141414]",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"mb-10",children:[i.jsx("p",{className:"font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-4",children:"Source Platforms"}),i.jsx("h2",{className:"font-display text-3xl text-[#EDEDE8] mb-2",children:"Compliance verified at source."}),i.jsx("p",{className:"font-mono text-sm text-[#555] max-w-xl leading-relaxed",children:"Every asset is sourced exclusively from platforms that meet all four compliance criteria. The compliance question is answered before an asset enters the database."})]}),i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4 mb-10",children:[{name:"Adobe Firefly",status:"Approved",description:"Fully commercially licensed. Trained on licensed content and public domain. Enterprise commercial use confirmed.",types:["Image","Video","Design"]},{name:"Moonvalley",status:"Approved",description:"Commercially licensed AI video generation. Film & TV Commercial use confirmed.",types:["Video"]},{name:"Runway",status:"Approved",description:"Enterprise-licensed AI video generation. Cleared for Film & TV and commercial digital use. Reviewed per distribution platform.",types:["Video"]}].map(l=>i.jsxs("div",{className:"border border-[#1C1C1C] rounded-xl bg-[#0C0C0C] p-5",children:[i.jsxs("div",{className:"flex items-center justify-between mb-3",children:[i.jsx("span",{className:"font-semibold text-[#CDCDC8] text-sm",children:l.name}),i.jsxs("span",{className:"flex items-center gap-1.5 font-mono text-[10px] text-green-600 uppercase tracking-widest",children:[i.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-green-600"}),l.status]})]}),i.jsx("p",{className:"font-mono text-xs text-[#555] leading-relaxed mb-3",children:l.description}),i.jsx("div",{className:"flex gap-1.5",children:l.types.map(o=>i.jsx("span",{className:"font-mono text-[10px] text-[#333] bg-[#111] border border-[#1A1A1A] px-2 py-0.5 rounded",children:o},o))})]},l.name))}),i.jsxs("div",{className:"border border-[#141414] rounded-xl bg-[#080808] px-5 py-4",children:[i.jsx("div",{className:"font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest mb-3",children:"Compliance Verification Criteria"}),i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-y-2 gap-x-8",children:["Trained on licensed content, public domain, or proprietary data â not scraped unlicensed web content","Offers a commercial use license for generated outputs","Provides documentation of training data and licensing structure","No unresolved copyright infringement ruling related to training data"].map(l=>i.jsxs("div",{className:"flex items-start gap-2.5",children:[i.jsx("span",{className:"w-1 h-1 rounded-full bg-[#333] flex-shrink-0 mt-1.5"}),i.jsx("span",{className:"font-mono text-xs text-[#444] leading-relaxed",children:l})]},l))})]})]})}),i.jsx("section",{id:"enterprise",className:"py-20",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsxs("div",{className:`border border-[#1C1C1C] rounded-2xl bg-[#0C0C0C] px-8 py-10 142 flex flex-col sm:flex-row items-start sm:items-center justify-between gap-6`,children:[i.jsxs("div",{className:"max-w-lg",children:[i.jsx("div",{className:"font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-3",children:"Enterprise"}),i.jsx("h2",{className:"font-display text-2xl text-[#EDEDE8] mb-3",children:"Custom licensing for studios, networks, and publishers."}),i.jsx("p",{className:"font-mono text-sm text-[#555] leading-relaxed",children:"Volume licensing, SLA, dedicated compliance documentation, custom metadata schemas, and direct API access. Contact us for a conversation."})]}),i.jsxs("div",{className:"flex-shrink-0 flex flex-col gap-3",children:[i.jsx("a",{href:"mailto:[email protected]",className:`px-6 py-3 bg-brand-600 hover:bg-brand-700 text-[#0A0A0A] font-mono font-bold 143 text-xs uppercase tracking-widest rounded-xl transition-colors text-center`,children:"Contact Enterprise"}),i.jsx("button",{onClick:()=>e("docs"),className:`px-6 py-3 border border-[#2A2A2A] text-[#555] font-mono font-bold 144 text-xs uppercase tracking-widest rounded-xl hover:border-[#3A3A3A] hover:text-[#888] transition-all`,children:"View API Docs"})]})]})})})]})}const Ep=[{step:"01",title:"Create your account",body:"Register with your name and email. PixelVault verifies your identity against the platform accounts you connect."},{step:"02",title:"Connect your platform",body:"Link your Adobe Firefly, Moonvalley, or other approved generative platform. PixelVault verifies your commercial license tier automatically."},{step:"03",title:"Connect Stripe",body:"Onboard via Stripe Connect (Express). Payouts are routed directly to your bank account on a 7-day rolling basis. PixelVault retains 30%."},{step:"04",title:"Submit assets",body:"Upload via the submission portal. Each asset is auto-tagged with visual grammar, semantic metadata, motion quality, and negative-space flags. Review and approve tags before publishing."},{step:"05",title:"Assets enter the database",body:"Once published, assets are indexed and available to all buyer verticals. C2PA Content Credentials are embedded automatically."}],Pp=[{step:"01",title:"Register as an operator",body:"Submit your organisation name, technical contact, and intended generation volume. Operators are reviewed within 2 business days."},{step:"02",title:"Verify platform whitelist",body:"Specify which generative platforms your pipeline outputs. Assets sourced from non-whitelisted platforms are rejected at ingestion â no manual review required."},{step:"03",title:"Configure your pipeline",body:"Register a webhook endpoint or use the inbound REST API. Specify per-asset metadata fields your pipeline can populate and which fields PixelVault should auto-generate."},{step:"04",title:"Automated tagging config",body:"Choose your tagging strategy: full auto-tag, partial (your pipeline provides some fields), or passthrough (you supply complete metadata). Tagging config is set per operator account."},{step:"05",title:"Operator dashboard",body:"Monitor query match rate, approval rate, payout velocity, and compliance rejection reasons. API key management and rate limit status are visible in real time."}],$o=[{name:"Adobe Firefly",note:"Image, Video, Design"},{name:"Moonvalley",note:"Video"},{name:"Runway",note:"Video â reviewed per distribution platform"}],Tp=[{label:"Creator / Operator",pct:"70%",note:"Paid out via Stripe Connect on 7-day rolling basis"},{label:"PixelVault Platform",pct:"30%",note:"Covers compliance infrastru
144cture, C2PA, and distribution"}],Dp=["Trained on licensed content, public domain, or proprietary data","Offers a commercial use license for generated outputs","Provides training data documentation and licensing structure","No unresolved copyright infringement ruling related to training data"];function Lp({onBack:e}){const[t,n]=D.useState("form"),[r,l]=D.useState({full_name:"",email:"",platform:"Adobe Firefly",portfolio_url:""}),[o,s]=D.useState({});function a(g,m){l(h=>({...h,[g]:m}))}function u(){const g={};return r.full_name.trim()||(g.full_name="Required"),(!r.email.trim()||!r.email.includes("@"))&&(g.email="Valid email required"),r.portfolio_url.trim()||(g.portfolio_url="Required"),s(g),Object.keys(g).length===0}async function f(){u()&&(n("connecting"),await new Promise(g=>setTimeout(g,1800)),n("done"))}return t==="connecting"?i.jsxs("div",{className:"flex flex-col items-center justify-center py-20 gap-4",children:[i.jsxs("svg",{className:"w-8 h-8 animate-spin text-brand-600",fill:"none",viewBox:"0 0 24 24",children:[i.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),i.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}),i.jsx("p",{className:"font-mono text-xs text-[#666]",children:"Verifying platform licenseâ¦"}),i.jsx("p",{className:"font-mono text-[10px] text-[#2A2A2A]",children:"Confirming commercial tier · Setting up Stripe Connect"})]}):t==="done"?i.jsxs("div",{className:"max-w-md mx-auto text-center py-16",children:[i.jsx("div",{className:"w-12 h-12 rounded-full bg-[#011f0d] border border-green-700/40 flex items-center justify-center mx-auto mb-5",children:i.jsx("svg",{className:"w-5 h-5 text-green-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2.5,children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})})}),i.jsx("h3",{className:"font-display text-xl text-[#EDEDE8] mb-2",children:"Application received"}),i.jsxs("p",{className:"font-mono text-xs text-[#555] leading-relaxed mb-6",children:["We've verified your ",r.platform," commercial license. Next step: connect your Stripe account to enable payouts. You'll receive an email at ",i.jsx("span",{className:"text-[#888]",children:r.email})," with a Stripe Connect link."]}),i.jsx("button",{onClick:e,className:"font-mono text-xs text-[#444] hover:text-[#888] transition-colors uppercase tracking-widest",children:"â Back to overview"})]}):i.jsxs("div",{className:"max-w-md mx-auto",children:[i.jsxs("div",{className:"mb-8",children:[i.jsx("button",{onClick:e,className:"font-mono text-[10px] text-[#3A3A3A] hover:text-[#666] uppercase tracking-widest mb-4 transition-colors",children:"â Back"}),i.jsx("h3",{className:"font-display text-2xl text-[#EDEDE8] mb-1",children:"Creator registration"}),i.jsx("p",{className:"font-mono text-xs text-[#555]",children:"Track A â human creative professionals"})]}),i.jsxs("div",{className:"space-y-4",children:[[{label:"Full name",field:"full_name",placeholder:"Maya Chen",type:"text"},{label:"Email address",field:"email",placeholder:"[email protected]",type:"email"},{label:"Portfolio URL",field:"portfolio_url",placeholder:"https://your-site.com",type:"url"}].map(({label:g,field:m,placeholder:h,type:y})=>i.jsxs("div",{children:[i.jsxs("label",{className:"block font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-1.5",children:[g," ",o[m]&&i.jsxs("span",{className:"text-red-700 normal-case tracking-normal",children:["â ",o[m]]})]}),i.jsx("input",{type:y,value:r[m],onChange:j=>a(m,j.target.value),placeholder:h,className:`w-full bg-[#0D0D0D] border font-mono text-xs text-[#CDCDC8] px-3 py-2.5 rounded 145 focus:outline-none focus:border-brand-700 placeholder-[#2A2A2A] transition-colors 146 ${o[m]?"border-red-900/60":"border-[#222]"}`})]},m)),i.jsxs("div",{children:[i.jsx("label",{className:"block font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-1.5",children:"Primary platform"}),i.jsx("select",{value:r.platform,onChange:g=>a("platform",g.target.value),className:`w-full bg-[#0D0D0D] border border-[#222] font-mono text-xs text-[#888] px-3 py-2.5 rounded 147 focus:outline-none focus:border-brand-700 transition-colors`,children:$o.map(g=>i.jsx("option",{value:g.name,children:g.name},g.name))})]}),i.jsx("div",{className:"border border-[#1A1A1A] rounded-xl bg-[#080808] px-4 py-3",children:i.jsxs("p",{className:"font-mono text-[10px] text-[#3A3A3A] leading-relaxed",children:["PixelVault will verify your commercial license tier on ",r.platform||"your selected platform"," before activation. Stripe Connect is set up separately â you'll receive an onboarding link by email."]})}),i.jsx("button",{onClick:f,className:`w-full py-3 bg-brand-600 hover:bg-brand-700 text-[#0A0A0A] font-mono font-bold 148 text-xs uppercase tracking-widest rounded transition-colors`,children:"Apply as creator â"})]})]})}function Rp({onBack:e}
148){const[t,n]=D.useState("form"),[r,l]=D.useState({org_name:"",tech_contact:"",webhook_url:"",monthly_volume:"1â500",platforms:{"Adobe Firefly":!0,Moonvalley:!1,Runway:!1},tagging_strategy:"full_auto"}),[o,s]=D.useState({});function a(m,h){l(y=>({...y,[m]:h}))}function u(m){l(h=>({...h,platforms:{...h.platforms,[m]:!h.platforms[m]}}))}function f(){const m={};return r.org_name.trim()||(m.org_name="Required"),(!r.tech_contact.trim()||!r.tech_contact.includes("@"))&&(m.tech_contact="Valid email required"),r.webhook_url.trim()||(m.webhook_url="Required"),Object.values(r.platforms).some(Boolean)||(m.platforms="Select at least one"),s(m),Object.keys(m).length===0}async function g(){f()&&(n("reviewing"),await new Promise(m=>setTimeout(m,2e3)),n("done"))}return t==="reviewing"?i.jsxs("div",{className:"flex flex-col items-center justify-center py-20 gap-4",children:[i.jsxs("svg",{className:"w-8 h-8 animate-spin text-brand-600",fill:"none",viewBox:"0 0 24 24",children:[i.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),i.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}),i.jsx("p",{className:"font-mono text-xs text-[#666]",children:"Validating pipeline configâ¦"}),i.jsx("p",{className:"font-mono text-[10px] text-[#2A2A2A]",children:"Checking platform whitelist · Provisioning API credentials"})]}):t==="done"?i.jsxs("div",{className:"max-w-md mx-auto text-center py-16",children:[i.jsx("div",{className:"w-12 h-12 rounded-full bg-[#011f0d] border border-green-700/40 flex items-center justify-center mx-auto mb-5",children:i.jsx("svg",{className:"w-5 h-5 text-green-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2.5,children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})})}),i.jsx("h3",{className:"font-display text-xl text-[#EDEDE8] mb-2",children:"Application under review"}),i.jsxs("p",{className:"font-mono text-xs text-[#555] leading-relaxed mb-2",children:["Operator applications are reviewed within 2 business days. You'll receive your API credentials and webhook signing secret at ",i.jsx("span",{className:"text-[#888]",children:r.tech_contact}),"."]}),i.jsxs("p",{className:"font-mono text-[10px] text-[#333] mb-6",children:["Your tagging strategy: ",i.jsx("span",{className:"text-[#555]",children:r.tagging_strategy.replace("_"," ")})]}),i.jsx("button",{onClick:e,className:"font-mono text-xs text-[#444] hover:text-[#888] transition-colors uppercase tracking-widest",children:"â Back to overview"})]}):i.jsxs("div",{className:"max-w-lg mx-auto",children:[i.jsxs("div",{className:"mb-8",children:[i.jsx("button",{onClick:e,className:"font-mono text-[10px] text-[#3A3A3A] hover:text-[#666] uppercase tracking-widest mb-4 transition-colors",children:"â Back"}),i.jsx("h3",{className:"font-display text-2xl text-[#EDEDE8] mb-1",children:"Operator registration"}),i.jsx("p",{className:"font-mono text-xs text-[#555]",children:"Track B â AI agent pipeline operators"})]}),i.jsxs("div",{className:"space-y-4",children:[[{label:"Organisation name",field:"org_name",placeholder:"Synthesis Labs Inc.",type:"text"},{label:"Technical contact",field:"tech_contact",placeholder:"[email protected]",type:"email"},{label:"Webhook endpoint",field:"webhook_url",placeholder:"https://your-api.com/pv",type:"url"}].map(({label:m,field:h,placeholder:y,type:j})=>i.jsxs("div",{children:[i.jsxs("label",{className:"block font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-1.5",children:[m," ",o[h]&&i.jsxs("span",{className:"text-red-700 normal-case tracking-normal",children:["â ",o[h]]})]}),i.jsx("input",{type:j,value:r[h],onChange:N=>a(h,N.target.value),placeholder:y,className:`w-full bg-[#0D0D0D] border font-mono text-xs text-[#CDCDC8] px-3 py-2.5 rounded 149 focus:outline-none focus:border-brand-700 placeholder-[#2A2A2A] transition-colors 150 ${o[h]?"border-red-900/60":"border-[#222]"}`})]},h)),i.jsxs("div",{children:[i.jsx("label",{className:"block font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-1.5",children:"Expected monthly volume"}),i.jsx("select",{value:r.monthly_volume,onChange:m=>a("monthly_volume",m.target.value),className:`w-full bg-[#0D0D0D] border border-[#222] font-mono text-xs text-[#888] px-3 py-2.5 rounded 151 focus:outline-none focus:border-brand-700 transition-colors`,children:["1â500","501â2,000","2,001â10,000","10,000+"].map(m=>i.jsxs("option",{value:m,children:[m," assets / month"]},m))})]}),i.jsxs("div",{children:[i.jsxs("label",{className:"block font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-2",children:["Platform whitelist ",o.platforms&&i.jsxs("span",{className:"text-red-700 normal-case tracking-normal",children:["â ",o.platforms]})]}),i.jsx("div",{className:"space-y-2",children:$o.map(m=>i.jsxs("label",{className:"flex items-center gap-3 cursor-pointer group",children:[i.jsx("div",{onClick:()=>u(m.name),className:`w-4 h-4 rounded border flex items-center justify-center flex-shrink-0 transition-all cursor-pointer 152 ${r.platforms[m.name]?"bg-brand-600 border-brand-600":"border-[#2A2A2A] bg-[#0A0A0A]"}`,children:r.platforms[m.name]&&i.jsx("svg",{className:"w-2.5 h-2.5 text-[#0A0A0A]",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:3,children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})})}),i.jsx("span",{className:"font-mono text-xs text-[#666] group-hover:text-[#888] transition-colors",children:m.name}),i.jsx("span",{className:"font-mono text-[10px] text-[#2A2A2A]",children:m.note})]},m.name))})]}),i.jsxs("div",{children:[i.jsx("label",{className:"block font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-2",children:"Tagging strategy"}),i.jsx("div",{className:"space-y-2",children:[{val:"full_auto",label:"Full auto-tag",desc:"PixelVault generates all semantic metadata"}
152,{val:"partial",label:"Partial",desc:"Your pipeline provides some fields; PixelVault fills the rest"},{val:"passthrough",label:"Passthrough",desc:"Your pipeline supplies complete metadata per asset"}].map(({val:m,label:h,desc:y})=>i.jsxs("label",{onClick:()=>a("tagging_strategy",m),className:`flex items-start gap-3 cursor-pointer p-3 rounded-lg border transition-all 153 ${r.tagging_strategy===m?"border-brand-800/60 bg-[#0E0A00]":"border-[#1A1A1A] bg-[#080808] hover:border-[#2A2A2A]"}`,children:[i.jsx("div",{className:`w-3.5 h-3.5 rounded-full border flex-shrink-0 mt-0.5 transition-all 154 ${r.tagging_strategy===m?"border-brand-600 bg-brand-600":"border-[#2A2A2A]"}`}),i.jsxs("div",{children:[i.jsx("div",{className:"font-mono text-xs text-[#CDCDC8]",children:h}),i.jsx("div",{className:"font-mono text-[10px] text-[#444] mt-0.5",children:y})]})]},m))})]}),i.jsx("div",{className:"border border-[#1A1A1A] rounded-xl bg-[#080808] px-4 py-3",children:i.jsx("p",{className:"font-mono text-[10px] text-[#3A3A3A] leading-relaxed",children:"Operator applications are reviewed within 2 business days. API credentials and webhook signing secret are issued on approval. Revenue is distributed at 70% to your registered Stripe Connect account."})}),i.jsx("button",{onClick:g,className:`w-full py-3 bg-brand-600 hover:bg-brand-700 text-[#0A0A0A] font-mono font-bold 155 text-xs uppercase tracking-widest rounded transition-colors`,children:"Apply as operator â"})]})]})}function Op({onNav:e}){const[t,n]=D.useState("overview");return t==="creator"?i.jsx("div",{className:"min-h-screen",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20",children:i.jsx(Lp,{onBack:()=>n("overview")})})}):t==="operator"?i.jsx("div",{className:"min-h-screen",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20",children:i.jsx(Rp,{onBack:()=>n("overview")})})}):i.jsxs("div",{className:"min-h-screen",children:[i.jsx("section",{className:"border-b border-[#141414] py-20",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsxs("div",{className:"max-w-2xl",children:[i.jsx("p",{className:"font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-4",children:"For Creators & Agents"}),i.jsxs("h1",{className:"font-display text-5xl text-[#EDEDE8] leading-tight mb-5",children:["Supply the cleared.",i.jsx("br",{}),"Get paid automatically."]}),i.jsx("p",{className:"font-mono text-sm text-[#555] leading-relaxed mb-8",children:"PixelVault accepts assets from human creative professionals and AI agent pipeline operators. Two tracks. One compliance standard. 70% revenue on every transaction."}),i.jsxs("div",{className:"flex flex-wrap gap-3",children:[i.jsx("button",{onClick:()=>n("creator"),className:`px-6 py-3 bg-brand-600 hover:bg-brand-700 text-[#0A0A0A] font-mono font-bold 156 text-xs uppercase tracking-widest rounded-xl transition-colors`,children:"Apply as creator â"}),i.jsx("button",{onClick:()=>n("operator"),className:`px-6 py-3 border border-[#2A2A2A] text-[#666] font-mono font-bold 157 text-xs uppercase tracking-widest rounded-xl hover:border-brand-800 hover:text-brand-500 transition-all`,children:"Apply as operator â"})]})]})})}),i.jsx("section",{className:"border-b border-[#141414] py-16",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"mb-10",children:[i.jsx("p",{className:"font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-3",children:"Revenue Split"}),i.jsx("h2",{className:"font-display text-3xl text-[#EDEDE8] mb-2",children:"70% to you. Always."}),i.jsx("p",{className:"font-mono text-sm text-[#555]",children:"Paid via Stripe Connect on a 7-day rolling basis. No invoicing, no chasing."})]}),i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3 max-w-2xl",children:Tp.map(r=>i.jsxs("div",{className:"border border-[#1C1C1C] rounded-xl bg-[#0C0C0C] p-5",children:[i.jsx("div",{className:"font-display text-4xl text-[#EDEDE8] mb-2",children:r.pct}),i.jsx("div",{className:"font-mono text-xs text-[#555] mb-1 font-semibold",children:r.label}),i.jsx("div",{className:"font-mono text-[10px] text-[#333] leading-relaxed",children:r.note})]},r.label))})]})}),i.jsx("section",{className:"border-b border-[#141414] py-20",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"mb-12",children:[i.jsx("p",{className:"font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-3",children:"Supply Tracks"}),i.jsx("h2",{className:"font-display text-3xl text-[#EDEDE8] mb-2",children:"Two ways to supply."}),i.jsx("p",{className:"font-mono text-sm text-[#555]",children:"Same compliance gate. Same revenue split. Different pipeline."})]}),i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[i.jsxs("div",{className:"border border-[#1C1C1C] rounded-2xl bg-[#0C0C0C] overflow-hidden",children:[i.jsxs("div",{className:"border-b border-[#141414] px-6 py-5 flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("div",{className:"font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-1",children:"Track A"}),i.jsx("h3",{className:"font-display text-xl text-[#EDEDE8]",children:"Human Creatives"})]}),i.jsx("div",{className:"font-mono text-[10px] text-[#2A2A2A] bg-[#0A0A0A] border border-[#141414] px-3 py-1.5 rounded-lg",children:"Self-serve portal"})]}),i.jsxs("div",{className:"p-6",children:[i.jsx("div",{className:"grid grid-cols-1 gap-px bg-[#141414] rounded-xl overflow-hidden mb-6",children:Ep.map(r=>i.jsxs("div",{className:"bg-[#0A0A0A] px-4 py-4 flex gap-4",children:[i.jsx("div",{className:"font-mono text-[10px] text-[#2A2A2A] w-6 flex-shrink-0 pt-0.5",children:r.step}),i.jsxs("div",{children:[i.jsx("div",{className:"font-mono text-xs font-semibold text-[#CDCDC8] mb-1",children:r.title}),i.jsx("div",{className:"font-mono text-[10px] text-[#444] leading-relaxed",children:r.body})]})]},r.step))}),i.jsx("button",{onClick:()=>n("creator"),className:`w-full py-3 bg-brand-600 hover:bg-brand-700 text-[#0A0A0A] font-mono font-bold 158 text-xs uppercase tracking-widest rounded transition-colors`,children:"Apply as creator â"})]})]}),i.jsxs("div",{className:"border border-[#1C1C1C] rounded-2xl bg-[#0C0C0C] overflow-hidden",children:[i.jsxs("div",{className:"border-b border-[#141414] px-6 py-5 flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("div",{className:"font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-1",children:"Track B"}),i.jsx("h3",{className:"font-display text-xl text-[#EDEDE8]",children:"AI Agent Operators"})]}),i.jsx("div",{className:"font-mono text-[10px] text-[#2A2A2A] bg-[#0A0A0A] border border-[#141414] px-3 py-1.5 rounded-lg",children:"API + webhook"})]}),i.jsxs("div",{className:"p-6",children:[i.jsx("div",{className:"grid grid-cols-1 gap-px bg-[#141414] rounded-xl overflow-hidden mb-6",children:Pp.map(r=>i.jsxs("div",{className:"bg-[#0A0A0A] px-4 py-4 flex gap-4",children:[i.jsx("div",{className:"font-mono text-[10px] text-[#2A2A2A] w-6 flex-shrink-0 pt-0.5",children:r.step}),i.jsxs("div",{children:[i.jsx("div",{className:"font-mono text-xs font-semibold text-[#CDCDC8] mb-1",children:r.title}),i.jsx("div",{className:"font-mono text-[10px] text-[#444] leading-relaxed",children:r.body})]})]},r.step))}),i.jsx("button",{onClick:()=>n("operator"),className:`w-full py-3 border border-[#2A2A2A] text-[#666] hover:border-brand-800 hover:text-brand-500 159 font-mono font-bold text-xs uppercase tracking-widest rounded transition-all`,children:"Apply as operator â"})]})]})]})]})}),i.jsx("section",{className:"border-b border-[#141414] py-16",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"mb-10",children:[i.jsx("p",{className:"font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-3",children:"Compliance Gate"}),i.jsx("h2",{className:"font-display text-3xl text-[#EDEDE8] mb-2",children:"One standard. No exceptions."}),i.jsx("p",{className:"font-mono text-sm text-[#555] max-w-xl leading-relaxed",children:"Every asset â from any track â passes the same four-point compliance check before entering the database. Non-compliant assets are rejected at ingestion with a rejection reason. No manual review queue."})]}),i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3 mb-8",children:Dp.map((r,l)=>i.jsxs("div",{className:"flex items-start gap-3 border border-[#1C1C1C] rounded-xl bg-[#0C0C0C] px-4 py-4",children:[i.jsx("span",{className:"w-5 h-5 rounded-full border border-green-800/40 bg-[#011f0d] flex items-center justify-center flex-shrink-0 mt-0.5",children:i.jsx("svg",{className:"w-2.5 h-2.5 text-green-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:3,children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})})}),i.jsx("span",{className:"font-mono text-xs text-[#555] leading-relaxed",children:r})]},l))}),i.jsxs("div",{className:"border border-[#141414] rounded-xl bg-[#080808] px-5 py-4",children:[i.jsx("div",{className:"font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest mb-2",children:"Approved platforms"}),i.jsx("div",{className:"flex flex-wrap gap-3",children:$o.map(r=>i.jsxs("div",{className:"flex items-center gap-2 font-mono text-xs text-[#555]",children:[i.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-green-600"}),r.name,i.jsxs("span",{className:"text-[#2A2A2A]",children:["â ",r.note]})]},r.name))})]})]})}),i.jsx("section",{className:"py-20",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsxs("div",{className:`border border-[#1C1C1C] rounded-2xl bg-[#0C0C0C] px-8 py-10 160 flex flex-col sm:flex-row items-start sm:items-center justify-between gap-6`,children:[i.jsxs("div",{className:"max-w-lg",children:[i.jsx("div",{className:"font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-3",children:"Operator Dashboard"}),i.jsx("h2",{className:"font-display text-2xl text-[#EDEDE8] mb-3",children:"Pipeline visibility, not blind submission."}),i.jsx("p",{className:"font-mono text-sm text-[#555] leading-relaxed",children:"Track query match rate, approval rate, payout velocity, and compliance rejections in real time. API key management, rate limit status, and webhook delivery logs are all surfaced in the operator portal."})]}),i.jsxs("div",{className:"flex-shrink-0 flex flex-col gap-3",children:[i.jsx("button",{onClick:()=>n("operator"),className:`px-6 py-3 bg-brand-600 hover:bg-brand-700 text-[#0A0A0A] font-mono font-bold 161 text-xs uppercase tracking-widest rounded-xl transition-colors text-center`,children:"Apply as operator"}),i.jsx("button",{onClick:()=>e("docs"),className:`px-6 py-3 border border-[#2A2A2A] text-[#555] font-mono font-bold 162 text-xs uppercase tracking-widest rounded-xl hover:border-[#3A3A3A] hover:text-[#888] transition-all`,children:"View API Docs"})]})]})})})]})}const ia={"Film & TV":{licenseType:"Film & TV Commercial",platforms:["Netflix","Broadcast","Streaming","Theatrical","SVOD","Digital (worldwide)"],territories:["Worldwide","United States","European Union","United Kingdom","Asia-Pacific","Custom"],projectLabel:"Project Title",companyLabel:"Production Company",dateLabel:"Air / Release Date",companyPlaceholder:"Meridian Films",projectPlaceholder:"Threshold"},Editorial:{licenseType:"Editorial",platforms:["Print","Digital Publication","Broadcast News","Online Editorial","Social Editorial"],territories:["Worldwide","North America","United States","European Union","United Kingdom","Custom"],projectLabel:"Story / Feature Title",companyLabel:"Publication",dateLabel:"Publication Date",companyPlaceholder:"The Atlantic",projectPlaceholder:"The Infrastru
162cture Crisis"},Commercial:{licenseType:"Commercial Digital",platforms:["Social Media","Paid Digital","Display Advertising","E-Commerce","Website","OOH Digital"],territories:["Worldwide","North America","United States","European Union","Custom"],projectLabel:"Campaign Name",companyLabel:"Brand / Client",dateLabel:"Campaign Launch Date",companyPlaceholder:"Studio E Bloom",projectPlaceholder:"Summer 2026 Campaign"}};function Fp({approvedAssets:e=[],activeVertical:t,onClose:n,onSuccess:r}){const l=(t==null?void 0:t.id)||"Film & TV",o=ia[l]||ia["Film & TV"],[s,a]=D.useState("params"),[u,f]=D.useState({production_company:"",project_title:"",distribution_platform:o.platforms[0],territory:o.territories[0],air_date:"",license_type:o.licenseType}),[g,m]=D.useState({});D.useEffect(()=>{f(d=>({...d,distribution_platform:o.platforms[0],territory:o.territories[0],license_type:o.licenseType}))},[l]),D.useEffect(()=>{function d(c){c.key==="Escape"&&n()}return window.addEventListener("keydown",d),()=>window.removeEventListener("keydown",d)},[n]);function h(d,c){f(p=>({...p,[d]:c}))}function y(){const d={};return u.production_company.trim()||(d.production_company="Required"),u.project_title.trim()||(d.project_title="Required"),u.air_date||(d.air_date="Required"),m(d),Object.keys(d).length===0}async function j(){y()&&(a("generating"),await new Promise(d=>setTimeout(d,1400)),a("complete"),r({params:u,assets:e}))}function N({label:d,field:c,placeholder:p,type:v="text"}){return i.jsxs("div",{children:[i.jsxs("label",{className:"block font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-1.5",children:[d," ",g[c]&&i.jsxs("span",{className:"text-red-700 normal-case tracking-normal",children:["â ",g[c]]})]}),i.jsx("input",{type:v,value:u[c],onChange:A=>h(c,A.target.value),placeholder:p,className:`w-full bg-[#0D0D0D] border font-mono text-xs text-[#CDCDC8] px-3 py-2.5 rounded 163 focus:outline-none focus:border-brand-700 placeholder-[#2A2A2A] transition-colors 164 ${g[c]?"border-red-900/60":"border-[#222]"}`})]})}function P({label:d,field:c,options:p}){return i.jsxs("div",{children:[i.jsx("label",{className:"block font-mono text-[10px] text-[#3A3A3A] uppercase tracking-widest mb-1.5",children:d}),i.jsx("select",{value:u[c],onChange:v=>h(c,v.target.value),className:`w-full bg-[#0D0D0D] border border-[#222] font-mono text-xs text-[#888] px-3 py-2.5 rounded 165 focus:outline-none focus:border-brand-700 transition-colors`,children:p.map(v=>i.jsx("option",{value:v,children:v},v))})]})}return i.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",role:"dialog","aria-modal":"true",children:[i.jsx("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:n}),i.jsxs("div",{className:"relative z-10 bg-[#0D0D0D] border border-[#1C1C1C] rounded-2xl shadow-2xl w-full max-w-lg max-h-[90vh] overflow-y-auto",children:[i.jsxs("div",{className:"flex items-center justify-between px-6 py-5 border-b border-[#141414]",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"font-mono font-bold text-[#EDEDE8] text-sm uppercase tracking-widest",children:"Generate Usage Agreement"}),i.jsxs("p",{className:"font-mono text-[10px] text-[#3A3A3A] mt-0.5",children:[e.length," asset",e.length!==1?"s":""," approved",i.jsx("span",{className:"mx-1.5 text-[#222]",children:"·"}),i.jsx("span",{className:"text-[#333]",children:o.licenseType})]})]}),i.jsx("button",{onClick:n,className:"text-[#333] hover:text-[#888] transition-colors",children:i.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})})]}),i.jsxs("div",{className:"p-6",children:[e.length>0&&i.jsxs("div",{className:"mb-6",children:[i.jsx("div",{className:"font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest mb-3",children:"Approved Assets"}),i.jsx("div",{className:"space-y-1.5",children:e.map(d=>i.jsxs("div",{className:"flex items-center gap-3 px-3 py-2 border border-[#161616] rounded-lg bg-[#0A0A0A]",children:[i.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-green-600 flex-shrink-0"}),i.jsx("span",{className:"font-mono text-xs text-[#666] flex-1 min-w-0 truncate",children:d.asset_name}),i.jsx("span",{className:"font-mono text-[10px] text-[#333]",children:d.file_format||d.asset_type})]},d.asset_id))})]}),s==="params"&&i.jsxs("div",{className:"space-y-4",children:[i.jsx("div",{className:"font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest mb-1",children:"Project Parameters"}),i.jsx(N,{label:o.companyLabel,field:"production_company",placeholder:o.companyPlaceholder}),i.jsx(N,{label:o.projectLabel,field:"project_title",placeholder:o.projectPlaceholder}
165),i.jsx(P,{label:"Distribution Platform",field:"distribution_platform",options:o.platforms}),i.jsx(P,{label:"Territory",field:"territory",options:o.territories}),i.jsx(N,{label:o.dateLabel,field:"air_date",type:"date"}),i.jsx("div",{className:"border border-[#1A1A1A] rounded-xl bg-[#080808] px-4 py-3 mt-2",children:i.jsx("p",{className:"font-mono text-[10px] text-[#3A3A3A] leading-relaxed",children:"The usage agreement will be auto-generated from these parameters â no manual clearance memo required. The document is valid for filing with networks, studios, and distribution platforms."})}),i.jsx("button",{onClick:j,className:`w-full py-3 bg-brand-600 hover:bg-brand-700 text-[#0A0A0A] font-mono font-bold 166 text-xs uppercase tracking-widest rounded transition-colors focus:outline-none mt-2`,children:"Generate Agreement â"})]}),s==="generating"&&i.jsxs("div",{className:"flex flex-col items-center justify-center py-12 gap-4",children:[i.jsxs("svg",{className:"w-8 h-8 animate-spin text-brand-600",fill:"none",viewBox:"0 0 24 24",children:[i.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),i.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}),i.jsxs("div",{className:"text-center space-y-1",children:[i.jsx("p",{className:"font-mono text-xs text-[#666]",children:"Generating usage agreementâ¦"}),i.jsx("p",{className:"font-mono text-[10px] text-[#2A2A2A]",children:"Populating parameters · Confirming clearance · Signing"})]})]})]})]})]})}function zp({params:e,assets:t=[],onClose:n}){const r=`PV-${Date.now().toString(36).toUpperCase()}`,l=new Date().toISOString().split("T")[0];return D.useEffect(()=>{function o(s){s.key==="Escape"&&n()}return window.addEventListener("keydown",o),()=>window.removeEventListener("keydown",o)},[n]),e?i.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",role:"dialog","aria-modal":"true",children:[i.jsx("div",{className:"absolute inset-0 bg-black/70 backdrop-blur-sm",onClick:n}),i.jsxs("div",{className:"relative z-10 bg-[#0D0D0D] border border-[#1C1C1C] rounded-2xl shadow-2xl w-full max-w-lg max-h-[90vh] overflow-y-auto",children:[i.jsx("div",{className:"bg-[#011f0d] border-b-2 border-green-700/50 px-6 py-5",children:i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-9 h-9 rounded-full border border-green-700/60 bg-[#012d12] flex items-center justify-center flex-shrink-0",children:i.jsx("svg",{className:"w-4 h-4 text-green-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2.5,children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})})}),i.jsxs("div",{children:[i.jsx("h2",{className:"font-mono font-bold text-green-300 text-sm uppercase tracking-widest",children:"Agreement Generated"}),i.jsx("p",{className:"font-mono text-[10px] text-green-800 mt-0.5",children:"Usage agreement ready for filing"})]})]})}),i.jsxs("div",{className:"p-6 space-y-5",children:[i.jsxs("div",{className:"border border-[#1A1A1A] rounded-xl bg-[#080808] px-4 py-3 flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("div",{className:"font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest mb-1",children:"Agreement ID"}),i.jsx("code",{className:"font-mono text-sm text-[#AAAAAA]",children:r})]}),i.jsxs("div",{className:"text-right",children:[i.jsx("div",{className:"font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest mb-1",children:"Issued"}),i.jsx("code",{className:"font-mono text-xs text-[#555]",children:l})]})]}),i.jsxs("div",{children:[i.jsx("div",{className:"font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest mb-3",children:"Project"}),i.jsx("div",{className:"space-y-1.5",children:[["Production Company",e.production_company],["Project Title",e.project_title],["Distribution Platform",e.distribution_platform],["Territory",e.territory],["Air / Release Date",e.air_date],["License Type",e.license_type||"Film & TV Commercial"]].map(([o,s])=>i.jsxs("div",{className:"flex items-center gap-3 px-3 py-2 border border-[#141414] rounded-lg bg-[#0A0A0A]",children:[i.jsx("span",{className:"font-mono text-[10px] text-[#333] w-40 flex-shrink-0",children:o}),i.jsx("span",{className:"font-mono text-xs text-[#888]",children:s||"â"})]},o))})]}),t.length>0&&i.jsxs("div",{children:[i.jsxs("div",{className:"font-mono text-[10px] text-[#2A2A2A] uppercase tracking-widest mb-3",children:["Licensed Assets (",t.length,")"]}),i.jsx("div",{className:"space-y-1.5",children:t.map(o=>i.jsxs("div",{className:"flex items-center gap-3 px-3 py-2 border border-[#141414] rounded-lg bg-[#0A0A0A]",children:[i.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-green-600 flex-shrink-0"}),i.jsx("span",{className:"font-mono text-xs text-[#666] flex-1 min-w-0 truncate",children:o.asset_name}),i.jsx("span",{className:"font-mono text-[10px] text-[#333]",children:o.file_format||o.asset_type}),i.jsx("span",{className:"font-mono text-[10px] text-green-800",children:"Cleared"})]},o.asset_id))})]}),i.jsxs("div",{className:"border border-green-900/30 bg-[#010d05] rounded-xl px-4 py-3 flex items-start gap-2.5",children:[i.jsx("svg",{className:"w-4 h-4 text-green-700 flex-shrink-0 mt-0.5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"})}),i.jsx("p",{className:"font-mono text-[10px] text-green-900/80 leading-relaxed",children:"C2PA Content Credentials are embedded in all licensed assets. Provenance records are valid for submission to Netflix, broadcast networks, and streaming platforms. Usage agreement is pre-populated from project parameters â no additional clearance steps required."})]}),i.jsxs("button",{onClick:()=>{alert(`Agreement ${r} â PDF download would initiate here in production.`)},className:`w-full flex items-center justify-center gap-2 py-3 bg-brand-600 hover:bg-brand-700 167 text-[#0A0A0A] font-mono font-bold text-xs uppercase tracking-widest rounded transition-colors`,children:[i.jsx("svg",{className:"w-3.5 h-3.5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2.5,children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"})}),"Download Signed Agreement"]}),i.jsx("button",{onClick:n,className:`w-full py-2.5 border border-[#1E1E1E] text-[#444] font-mono text-xs uppercase 168 tracking-widest rounded hover:border-[#2A2A2A] hover:text-[#666] transition-colors`,children:"Close"})]})]})]}):null}const Mp="Scene 4 â late-night urban exterior establishing shot with a sense of isolation. Negative space required on right side for lower-third graphic. Distribution: Netflix · Broadcast. Territory: Worldwide. Format: ProRes 4K minimum.",Ip="q_8f3a1c9d",Jl=[{id:"Film & TV",label:"Post Production",sub:"Film & TV Commercial",clearanceLabel:"Film & TV Commercial · Worldwide"},{id:"Editorial",label:"Editorial",sub:"News & Magazine",clearanceLabel:"Editorial Use · Worldwide"},{id:"Commercial",label:"E-Commerce",sub:"Brand & Digital",clearanceLabel:"Commercial Digital · Worldwide"}];function Vp(){const[e,t]=D.useState("shortlist"),[n,r]=D.useState("Film & TV"),[l,o]=D.useState(""),[s,a]=D.useState([]),[u,f]=D.useState(!0),[g,m]=D.use
168State(""),[h,y]=D.useState({}),[j,N]=D.useState(Mp),[P,d]=D.useState(!1),[c,p]=D.useState(null),v=Jl.find(S=>S.id===n)||Jl[0],A=D.useCallback(async()=>{f(!0),m(""),y({});try{const S=await vc({use_case:n});a(S.assets||[])}catch(S){m(S.message||"Failed to load assets.")}finally{f(!1)}},[n]);D.useEffect(()=>{A()},[A]);const x=D.useMemo(()=>{if(!l.trim())return s;const S=l.toLowerCase();return s.filter(M=>[M.title,M.description,M.source_platform,M.visual_grammar,M.emotional_tone,M.color_profile,M.narrative_function,M.tags].filter(Boolean).join(" ").toLowerCase().includes(S))},[s,l]);function k(S){y(M=>({...M,[S]:M[S]==="approved"?"pending":"approved"}))}function _(S){y(M=>({...M,[S]:M[S]==="replaced"?"pending":"replaced"}))}function z(){const S={};x.forEach(M=>{S[M.asset_id]="approved"}),y(S)}const E=x.filter(S=>h[S.asset_id]==="approved"),I=E.length;function Me(S){d(!1),p(S)}function et(S){S!=null&&S.brief_summary&&N(S.brief_summary),setTimeout(()=>t("shortlist"),600)}function tt(S){r(S),o(""),t("shortlist")}return i.jsxs("div",{className:"min-h-screen bg-[#0A0A0A] text-[#EDEDE8]",children:[i.jsx(Yf,{page:e,onNav:t}),e==="shortlist"&&i.jsxs(i.Fragment,{children:[i.jsx(Xf,{brief:j,queryId:Ip,candidateCount:x.length,approvedCount:I,vertical:v}),i.jsx("div",{className:"border-b border-[#111] bg-[#080808]",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsxs("div",{className:"flex items-center gap-0 overflow-x-auto",children:[Jl.map(S=>i.jsxs("button",{onClick:()=>tt(S.id),className:`flex-shrink-0 px-5 py-3.5 font-mono text-xs uppercase tracking-widest 169 border-b-2 transition-all whitespace-nowrap 170 ${S.id===n?"border-brand-600 text-[#EDEDE8]":"border-transparent text-[#444] hover:text-[#888]"}`,children:[S.label,i.jsx("span",{className:`ml-2 font-mono text-[9px] ${S.id===n?"text-[#555]":"text-[#2A2A2A]"}`,children:S.sub})]},S.id)),i.jsx("div",{className:"w-px h-5 bg-[#1A1A1A] mx-4 flex-shrink-0"}),i.jsxs("div",{className:"flex-1 min-w-[200px] max-w-xs relative",children:[i.jsx("svg",{className:"absolute left-3 top-1/2 -translate-y-1/2 w-3 h-3 text-[#333]",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-4.35-4.35M17 11A6 6 0 1 1 5 11a6 6 0 0 1 12 0z"})}),i.jsx("input",{type:"text",value:l,onChange:S=>o(S.target.value),placeholder:"Search assetsâ¦",className:`w-full bg-transparent border-0 pl-8 pr-4 py-3.5 171 font-mono text-xs text-[#888] placeholder-[#2A2A2A] 172 focus:outline-none focus:text-[#EDEDE8] transition-colors`}),l&&i.jsx("button",{onClick:()=>o(""),className:`absolute right-3 top-1/2 -translate-y-1/2 text-[#333] 173 hover:text-[#888] transition-colors font-mono text-xs`,children:"Ã"})]}),i.jsxs("button",{onClick:()=>t("query"),className:`flex-shrink-0 ml-auto pl-4 py-3.5 font-mono text-[10px] 174 text-[#333] hover:text-[#888] transition-colors uppercase 175 tracking-widest whitespace-nowrap flex items-center gap-1.5`,children:[i.jsx("svg",{className:"w-3 h-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 9h8M8 13h5m-7 7l4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z"})}),"Agent Query"]})]})})}),i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:[i.jsxs("div",{className:"flex items-center justify-between mb-6",children:[i.jsx("p",{className:"font-mono text-xs text-[#333] uppercase tracking-widest",children:u?"Retrieving shortlistâ¦":l?`${x.length} result${x.length!==1?"s":""} for "${l}" · ${I} approved`:`${x.length} candidate${x.length!==1?"s":""} · ${I} approved`}),!u&&x.length>0&&I<x.length&&i.jsx("button",{onClick:z,className:"font-mono text-xs text-[#3A3A3A] hover:text-[#888] transition-colors uppercase tracking-widest",children:"Approve All"})]}),g&&i.jsxs("div",{className:`bg-red-950/30 border border-red-900/50 text-red-400 176 font-mono text-sm rounded-xl px-5 py-4 mb-6`,children:[g,i.jsx("button",{onClick:A,className:"ml-3 underline hover:no-underline",children:"Retry"})]}),u&&i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 xl:grid-cols-3 gap-4",children:Array.from({length:6}).map((S,M)=>i.jsxs("div",{className:"rounded-xl border border-[#1C1C1C] overflow-hidden animate-pulse",children:[i.jsx("div",{className:"aspect-[16/9] bg-[#111]"}),i.jsx("div",{className:"h-14 bg-[#0A0A0A] border-y border-[#141414]"}),i.jsxs("div",{className:"p-4 space-y-3",children:[i.jsx("div",{className:"h-3 bg-[#1A1A1A] rounded w-3/4"}),i.jsx("div",{className:"h-2 bg-[#161616] rounded w-full"}),i.jsx("div",{className:"h-2 bg-[#161616] rounded w-4/5"})]})]},M))}),!u&&!g&&x.length===0&&l&&i.jsxs("div",{className:"text-center py-24",children:[i.jsx("p",{className:"font-mono text-xs text-[#2A2A2A] uppercase tracking-widest mb-3",children:"No results"}),i.jsxs("h3",{className:"text-[#444] text-base font-semibold mb-1",children:['No assets match "',l,'"']}),i.jsx("p",{className:"text-[#2A2A2A] text-sm font-mono mb-6",children:"Try a different term or submit a brief via Agent Query."}),i.jsxs("div",{className:"flex items-center justify-center gap-4",children:[i.jsx("button",{onClick:()=>o(""),className:"text-sm font-mono text-[#555] hover:text-[#888] transition-colors",children:"Clear search"}),i.jsx("span",{className:"text-[#222]",children:"·"}),i.jsx("button",{onClick:()=>t("query"),className:"text-sm font-mono text-brand-600 hover:text-brand-500 transition-colors uppercase tracking-wide",children:"Agent Query â"})]})]}),!u&&!g&&s.length===0&&!l&&i.jsxs("div",{className:"text-center py-24",children:[i.jsx("p",{className:"font-mono text-xs text-[#2A2A2A] uppercase tracking-widest mb-3",children:"No candidates"}),i.jsx("h3",{className:"text-[#444] text-base font-semibold mb-1",children:"No assets for this vertical yet"}),i.jsx("p",{className:"text-[#2A2A2A] text-sm font-mono mb-6",children:"Submit a brief to queue a search, or check another vertical."}),i.jsx("button",{onClick:()=>t("query"),className:"text-sm font-mono text-brand-600 hover:text-brand-500 transition-colors uppercase tracking-wide",children:"Open Agent Query â"})]}),!u&&x.length>0&&i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 xl:grid-cols-3 gap-4 pb-28",children:x.map(S=>i.jsx(dp,{asset:S,status:h[S.asset_id]||"pending",onApprove:()=>k(S.asset_id),onReplace:()=>_(S.asset_id)},S.asset_id))})]}),I>0&&i.jsxs("div",{className:`fixed bottom-6 left-1/2 -translate-x-1/2 z-30 177 bg-[#0D0D0D] border border-[#282828] rounded-2xl 178 shadow-2xl shadow-black/70 px-6 py-4 179 flex items-center gap-8`,children:[i.jsxs("div",{children:[i.jsxs("div",{className:"font-mono text-sm text-[#EDEDE8] font-bold",children:[I," asset",I!==1?"s":""," approved"]}),i.jsxs("div",{className:"font-mono text-[10px] text-[#3A3A3A] mt-0.5",children:["Cleared · ",v.clearanceLabel]})]}),i.jsx("button",{onClick:()=>d(!0),className:`bg-brand-600 hover:bg-brand-700 text-[#0A0A0A] font-mono font-bold 180 text-xs uppercase tracking-widest px-5 py-2.5 rounded-xl transition-colors 181 flex-shrink-0`,children:"Proceed to Licensing â"})]})]}),e==="query"&&i.jsx(jp,{onResults:et,activeVertical:v,onVerticalChange:tt}),e==="docs"&&i.jsx(_p,{}),e==="pricing"&&i.jsx(Sp,{onNav:t}),e==="supply"&&i.jsx(Op,{onNav:t}),i.jsx("footer",{className:"border-t border-[#141414] mt-20",children:i.jsxs("div",{className:`max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 182 flex flex-col sm:flex-row items-center justify-between 183 gap-3 font-mono text-xs text-[#222]`,children:[i.jsxs("span",{children:["© ",new Date().getFullYear()," PixelVault. Pre-cleared AI assets for post-production, editorial & brand."]}),i.jsx("span",{children:"C2PA Content Credentials · Stripe · Enterprise Licensing"})]})}),P&&i.jsx(Fp,{approvedAssets:E,activeVertical:v,onClose:()=>d(!1),onSuccess:Me}),c&&i.jsx(zp,{params:c.params,assets:c.assets,onClose:()=>{p(null),y({})}})]})}ei.createRoot(document.getElementById("root")).render(i.jsx(Oc.StrictMode,{children:i.jsx(Vp,{})}));
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.